Author: miriam Date: 2008-05-20 16:17:47 +0000 (Tue, 20 May 2008) New Revision: 7121
Modified: software/thumbnails/debian/changelog software/thumbnails/debian/control software/thumbnails/debian/rules Log: Prepare package for upload in near future Optimize the images in build time Modified: software/thumbnails/debian/changelog =================================================================== --- software/thumbnails/debian/changelog 2008-05-20 15:00:12 UTC (rev 7120) +++ software/thumbnails/debian/changelog 2008-05-20 16:17:47 UTC (rev 7121) @@ -1,11 +1,11 @@ -games-thumbnails (20080227) UNRELEASED; urgency=low +games-thumbnails (20080520) UNRELEASED; urgency=low [ Miriam Ruiz ] * New release. - * Changed Standards-Version from 3.7.2 to 3.7.3. No changes needed. - * Added Vcs-Svn and Vcs-Browser labels. - * Added XS-DM-Upload-Allowed tag to control to allow uploads from Debian - Maintainers. + * Added optipng, advancecomp, jpegoptim to build dependencies + * Added rules to optimize PNG and JPEG images + * Removed XS-DM-Upload-Allowed tag + * New Screenshots. [ Jon Dowland ] * Screenshots for Freedoom, prboom and amphetamine; also einstein and @@ -20,11 +20,21 @@ [ Evgeni Golov ] * New Screenshots: pokerth, vodovod - -- Jon Dowland <[EMAIL PROTECTED]> Mon, 31 Mar 2008 01:08:18 +0200 + -- Miriam Ruiz <[EMAIL PROTECTED]> Tue, 20 May 2008 16:10:25 +0000 +games-thumbnails (20080227) unstable; urgency=low + + [ Miriam Ruiz ] + * New release. + * Changed Standards-Version from 3.7.2 to 3.7.3. No changes needed. + * Added Vcs-Svn and Vcs-Browser labels. + * Added XS-DM-Upload-Allowed tag to control to allow uploads from Debian + Maintainers. + + -- Miriam Ruiz <[EMAIL PROTECTED]> Wed, 27 Feb 2008 17:03:27 +0100 + games-thumbnails (20070824) unstable; urgency=low * Initial release. -- Miriam Ruiz <[EMAIL PROTECTED]> Fri, 24 Aug 2007 11:58:54 +0000 - Modified: software/thumbnails/debian/control =================================================================== --- software/thumbnails/debian/control 2008-05-20 15:00:12 UTC (rev 7120) +++ software/thumbnails/debian/control 2008-05-20 16:17:47 UTC (rev 7121) @@ -3,11 +3,10 @@ Priority: extra Maintainer: Debian Games Team <[EMAIL PROTECTED]> Uploaders: Miriam Ruiz <[EMAIL PROTECTED]> -Build-Depends: debhelper (>= 5) +Build-Depends: debhelper (>= 5), optipng, advancecomp, jpegoptim Standards-Version: 3.7.3 Vcs-Svn: svn://svn.debian.org/svn/pkg-games/software/thumbnails/ Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/software/thumbnails/?op=log -XS-DM-Upload-Allowed: yes Package: games-thumbnails Architecture: all Modified: software/thumbnails/debian/rules =================================================================== --- software/thumbnails/debian/rules 2008-05-20 15:00:12 UTC (rev 7120) +++ software/thumbnails/debian/rules 2008-05-20 16:17:47 UTC (rev 7121) @@ -32,6 +32,26 @@ dh_installchangelogs -i dh_installdocs -i dh_install -i + +ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +# http://lists.debian.org/debian-devel-games/2008/03/msg00123.html + cd "$(CURDIR)/debian/games-thumbnails/" && \ + for i in `find usr/share/games/thumbnails/ -name "*.png"`; do \ + echo "Optimizing image $$i"; \ + optipng -q "$$i" ; \ + advpng -q -z4 "$$i" ; \ + done +endif + +ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + cd "$(CURDIR)/debian/games-thumbnails/" && \ + for i in `find usr/share/games/thumbnails/ -name "*.jpeg"` \ + `find usr/share/games/thumbnails/ -name "*.jpg"` ; do \ + echo "Optimizing image $$i"; \ + jpegoptim -q "$$i" ; \ + done +endif + dh_link dh_compress -i dh_fixperms -i _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

