debian/0000755000000000000000000000000011773040622007170 5ustar debian/rules0000755000000000000000000000164111773040015010246 0ustar #!/usr/bin/make -f DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) DPKG_EXPORT_BUILDFLAGS = 1 -include /usr/share/dpkg/buildflags.mk %: dh $@ override_dh_auto_build: $(MAKE) COPT_DEFAULT="" \ Y_CFLAGS="$(CFLAGS) $(CPPFLAGS)" \ Y_LDFLAGS="$(LDFLAGS)" override_dh_auto_install-arch: dh_installyorick override_dh_auto_configure: # configuration is done in a patch resulting from: # ./configure --no-avcodec # also make sure yorz.doc is not built (or installed) override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) ifeq (,$(filter $(DEB_HOST_ARCH), ia64)) $(MAKE) check else echo 'check suite deactivated on this architecture' endif else echo 'DEB_BUILD_OPTIONS contains "nocheck": skipping check step.' endif override_dh_auto_clean: touch Makeyorz $(MAKE) Y_MAKEDIR=/usr/lib/yorick Y_EXE=/usr/bin/yorick clean ifeq (,$(shell head -1 Makeyorz)) rm -f Makeyorz *.o endif debian/yorick-z.keywords0000644000000000000000000000002511773025110012520 0ustar compression jpeg png debian/changelog0000644000000000000000000000402611773040143011042 0ustar yorick-z (1.2.0+cvs20080115-5) unstable; urgency=low * Comply with Debian Science Policy * Update copyright to adopted machine-readable format * Minimize debian/rules * Use a patch to configure * Harden -- Thibaut Paumard Thu, 28 Jun 2012 13:30:43 +0200 yorick-z (1.2.0+cvs20080115-4) unstable; urgency=low * deactivate checks on ia64 untill we found out why it failed. -- Thibaut Paumard Wed, 13 Jun 2012 21:51:49 +0200 yorick-z (1.2.0+cvs20080115-3) unstable; urgency=low * Bug fix: "Please Build-Depends on libpng-dev, change from libpng12-dev", thanks to Nobuhiro Iwamatsu (Closes: #662574). * Checked against standards 3.9.3 * Run test suite as part of build process -- Thibaut Paumard Tue, 06 Mar 2012 11:25:17 +0100 yorick-z (1.2.0+cvs20080115-2) unstable; urgency=low * Change section to "science" (package already moved there) * Bug fix: "Please Build-Depends on libjpeg-dev, not libjpeg62-dev", thanks to Bill Allombert (Closes: #647112). * Bumped policy to 3.9.2 * Remove dpatch, move to format "3.0 (quilt)" -- Thibaut Paumard Mon, 19 Dec 2011 21:18:12 +0100 yorick-z (1.2.0+cvs20080115-1) unstable; urgency=low * New upstream release (from cvs) * debian/watch: file added * debian/control: * DM-Upload-Allowed field added * upgraded to Standards-Version: 3.7.3.0 * upgrade build dependency on yorick-dev (>= 2.1.05+dfsg-2~bpo40+1) * debian/rules: converted to dh_installyorick * added debian/ynstall * added debian/yorick-z.{packinfo,keywords} * debian/copyright: updated and converted to the machine-readable format proposed at http://wiki.debian.org/Proposals/CopyrightFormat -- Thibaut Paumard Tue, 15 Jan 2008 16:30:55 +0100 yorick-z (1.2-1) unstable; urgency=low * Initial Release. Closes: #366710 -- Thibaut Paumard Sat, 22 Sep 2007 15:32:20 +0200 debian/yorick-z.packinfo0000644000000000000000000000024111773025110012443 0ustar :newsubsection yorz: support for compression, jpeg and png :yorz read and write support for the JPEG and PNG image formats and file (de)compression using zlib debian/watch0000644000000000000000000000006511773025110010215 0ustar version=3 http://sf.net/yorick/yorick-z-([^-]*)\.tgz debian/control0000644000000000000000000000176511773025255010611 0ustar Source: yorick-z Section: science Priority: extra Maintainer: Debian Science Maintainers Uploaders: Thibaut Paumard Build-Depends: debhelper (>= 7.0.50~), yorick-dev (>= 2.1.05+dfsg-2~bpo40+1), zlib1g (>= 1.1.4), libjpeg-dev, libpng-dev Standards-Version: 3.9.3 DM-Upload-Allowed: yes Vcs-Git: git://git.debian.org/git/debian-science/packages/yorick-z.git Vcs-Browser: http://git.debian.org/?p=debian-science/packages/yorick-z.git Homepage: http://yorick.sourceforge.net Package: yorick-z Architecture: any Depends: yorick (>= 1.6.02), ${shlibs:Depends}, ${misc:Depends} Description: zlib, jpeg and png support for the Yorick language This is a compiled add-on for yorick (an interpreted computer language specialized for numerical and scientific problems). Yorick-z adds support for zlib (the data compression system used by gzip), png (a lossless image compression format), and jpeg (a lossy image compression format). debian/compat0000644000000000000000000000000211773024432010367 0ustar 5 debian/copyright0000644000000000000000000000633411773025573011141 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Contact: David H. Munro Source: YCVSROOT=pserver:anonymous:@yorick.cvs.sourceforge.net:/cvsroot/yorick cvs -d:$YCVSROOT login cvs -d:$YCVSROOT export -D 20080116 yorick-z Files: * Copyright: © 2005-2008, The Regents of the University of California License: BSD-3-clause Produced at the Lawrence Livermore National Laboratory. Written by David H. Munro . UCRL-CODE-155996 All rights reserved. . Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the disclaimer below. . * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the disclaimer (as noted below) in the documentation and/or other materials provided with the distribution. . * Neither the name of the UC/LLNL nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OF THE UNIVERSITY OF CALIFORNIA, THE U.S. DEPARTMENT OF ENERGY OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. . Additional BSD Notice . 1. This notice is required to be provided under our contract with the U.S. Department of Energy (DOE). This work was produced at the University of California, Lawrence Livermore National Laboratory under Contract No. W-7405-ENG-48 with the DOE. . 2. Neither the United States Government nor the University of California nor any of their employees, makes any warranty, express or implied, or assumes any liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately-owned rights. . 3. Also, reference herein to any specific commercial products, process, or services by trade name, trademark, manufacturer or otherwise does not necessarily constitute or imply its endorsement, recommendation, or favoring by the United States Government or the University of California. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or the University of California, and shall not be used for advertising or product endorsement purposes. debian/README.Debian0000644000000000000000000000067311773024432011240 0ustar yorick-z for Debian ------------------- No MPEG support ------------ MPEG output support in Yorick for Debian is not in yorick-z, but in yorick-mpeg. Sample/test files ----------------- Sample/test files are included in /usr/share/doc/yorick-z/examples/. To run them, copy/gunzip them into a directory, then run "yorick -i check.i" from this directory. -- Thibaut Paumard , Mon, 24 Sep 2007 12:10:12 +0200 debian/yorz.info0000644000000000000000000000306011773024432011050 0ustar Package: yorz Kind: plugin Version: 1.2 Revision: 1 Description: Support for compression, jpeg and png License: BSD Author: David Munro Maintainer: Francois Rigaut OS: Depends: yorick(>=1.6.02) Source: http://www.maumae.net/yorick/packages/%o/tarballs/yorz-%v-%o.tgz Source-MD5: Source-Directory: contrib/yorick-z DocFiles: README TODO VERSION NEWS LEGAL doc/README:README.doc doc/FILE_FORMATS doc/*.doc doc/*.pdf doc/*.ps doc/*.tex Homepage: http://www.maumae.net/yorick/doc/plugins.php DescDetail: << This is a compiled add-on for yorick (an interpreted computer language specialized for numerical and scientific problems). Yorick-z adds support for zlib (the data compression system used by gzip), png (a lossless image compression format), and jpeg (a lossy image compression format) The specific dependencies for yorick-z are: libz http://www.zlib.org or http://www.gzip.org/zlib/ - compression scheme used by gzip (.gz files) libpng http://www.libpng.org/pub/png/ also ftp://ftp.uu.net/graphics/png - .png image files, depends on libz libjpeg http://www.ijg.org/ also ftp://ftp.uu.net/graphics/jpeg/ - .jpg image files The yorick-z package supports zlib compression and decompression and both reading and writing of png and jpeg images. << DescUsage: << - << DescPort: << This package will compile Yorick only on MacOSX 10.3.4 or later, because of a bug in the system math library libm (part of /usr/lib/LibSystem.dylib) in earlier versions of MacOSX 10.3. << debian/source/0000755000000000000000000000000011773025116010471 5ustar debian/source/format0000644000000000000000000000001411773025116011677 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011773027644010630 5ustar debian/patches/02_check_i.dpatch0000644000000000000000000000177311773025116013703 0ustar Author: Thibaut Paumard Description: Removing MPEG from check.i Forwarded: not-needed Date: 2007-09-25 diff -ruN orig/check.i debian/check.i --- orig/check.i 2007-09-25 14:30:30.000000000 +0200 +++ debian/check.i 2007-09-25 14:31:20.000000000 +0200 @@ -13,22 +13,5 @@ require, "jpgtest.i"; if (typeof(jpeg_read) == "builtin") jpgtest; else write, "************** no jpeg support in this yorick-z"; -write, "\n\n---------------------------------------checking mpeg.i"; -require, "mpgtest.i"; -func do_mpgtest -{ - if (typeof(mpeg_create) != "builtin") { - write, "************** no mpeg support in this yorick-z"; - return; - } - if (catch(-1)) { - write, "caught interpreted error while checking mpeg.i"; - write, "... libavcodec (ffmpeg) may not be installed"; - return; - } - mpgtest; - write, "************** created test.mpg, check it using mpeg viewer"; -} -do_mpgtest; write, "\n\n---------------------------------------yorick-z tests complete"; quit; debian/patches/configure0000644000000000000000000000407111773027644012536 0ustar Description: configure this package Yorick packages are usually configured by running yorick -batch make.i which modifies Makefile. Modifying source files at build time is not very well supported in the quilt / git workflow, so let's just patch Makefile and not run yorick -batch make.i at build time. Author: Thibaut Paumard Origin: Vendor Forwarded: not-needed Last-Update: 2012-06-28 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/Makefile +++ b/Makefile @@ -3,11 +3,12 @@ # run configure script to create Makeyorz and fill in following macros -Y_MAKEDIR= -Y_EXE= +Y_MAKEDIR=/usr/lib/yorick +Y_EXE=/usr/lib/yorick/bin/yorick Y_EXE_PKGS= -Y_EXE_HOME= -Y_EXE_SITE= +Y_EXE_HOME=/usr/lib/yorick +Y_EXE_SITE=/usr/lib/yorick +Y_HOME_PKG= # ----------------------------------------------------- optimization flags @@ -45,7 +46,7 @@ # the plugin library, archive library, and executable, respectively PKG_I_DEPS=$(PKG_I) Y_DISTMAKE=distmake -ALL_TARGETS=yorz.doc +ALL_TARGETS= include $(Y_MAKEDIR)/Make.cfg include $(Y_MAKEDIR)/Makepkg @@ -78,12 +79,6 @@ yorz.doc: $(PKG_I) $(Y_EXE) -batch ./maked.i $(PKG_I) -install:: yorz.doc - $(YNSTALL) yorz.doc "$(Y_SITE)/doc" - -uninstall:: - rm -f "$(Y_SITE)/doc/yorz.doc" - distclean:: rm -f Makeyorz yorz.i --- /dev/null +++ b/Makeyorz @@ -0,0 +1,14 @@ +# Makeyorz configure results for yorick-z +# generated by yorick-z configure script on jeudi 28 juin 2012, 12:10:00 (UTC+0200) +# Linux etch-wing 3.2.0-2-686-pae #1 SMP Mon Jun 11 18:27:04 UTC 2012 i686 GNU/Linux + +PKG_I=jpeg.i png.i zlib.i +OBJS=yjpeg.o ypng.o spng.o yzlib.o +PKG_DEPLIBS=-ljpeg -lpng -lz +PKG_I_START=yorz.i + +ZLIB_INC= +PNG_INC= +JPEG_INC= +AVCODEC_INC= + --- /dev/null +++ b/yorz.i @@ -0,0 +1,8 @@ +/* + * yorz.i - generated by yorick-z configure script + * autoloads for yorick-z package + */ + +autoload, "zlib.i", z_deflate, z_inflate, z_flush, z_setdict, z_crc32; +autoload, "png.i", png2, png_read, png_write, png_scale, png_map, png_pcal; +autoload, "jpeg.i", jpeg2, jpeg_read, jpeg_write; debian/patches/01_Makefile.dpatch0000644000000000000000000000137711773025116014032 0ustar Author: Thibaut Paumard Description: Don't (un)install yorz.doc Forwarded: not-needed Date: 2006-05-23 --- a/Makefile +++ b/Makefile @@ -8,6 +8,7 @@ Y_EXE_PKGS= Y_EXE_HOME= Y_EXE_SITE= +Y_HOME_PKG= # ----------------------------------------------------- optimization flags @@ -45,7 +46,7 @@ # the plugin library, archive library, and executable, respectively PKG_I_DEPS=$(PKG_I) Y_DISTMAKE=distmake -ALL_TARGETS=yorz.doc +ALL_TARGETS= include $(Y_MAKEDIR)/Make.cfg include $(Y_MAKEDIR)/Makepkg @@ -78,12 +79,6 @@ yorz.doc: $(PKG_I) $(Y_EXE) -batch ./maked.i $(PKG_I) -install:: yorz.doc - $(YNSTALL) yorz.doc "$(Y_SITE)/doc" - -uninstall:: - rm -f "$(Y_SITE)/doc/yorz.doc" - distclean:: rm -f Makeyorz yorz.i debian/patches/series0000644000000000000000000000003411773027414012035 0ustar configure 02_check_i.dpatch debian/examples0000644000000000000000000000004411773024432010730 0ustar jpgtest.i pngtest.i ztest.i check.i debian/ynstall0000644000000000000000000000010311773037100010570 0ustar debian/yorz.info debian/yorick-z.packinfo debian/yorick-z.keywords