debian/0000755000000000000000000000000011730212423007161 5ustar debian/patches/0000755000000000000000000000000011730207065010616 5ustar debian/patches/README0000644000000000000000000000021111212556150011465 0ustar 0xxx: Grabbed from upstream development. 1xxx: Possibly relevant for upstream adoption. 2xxx: Only relevant for official Debian release. debian/patches/1001_hotspotfix.patch0000644000000000000000000000110011730207065014477 0ustar Description: Fix hotspot y coordinate Author: Tim Swast --- a/src/main.c +++ b/src/main.c @@ -103,7 +103,7 @@ if (n_channels == 3) { out->x = start_x; - out->y = start_x; + out->y = start_y; out->width = source->gridsize; out->height = source->gridsize; @@ -137,8 +137,8 @@ { min_x = start_x + i; max_x = start_x + i + 1; - min_y = start_y + i; - max_y = start_y + i + 1; + min_y = start_y + j; + max_y = start_y + j + 1; found = TRUE; } debian/patches/series0000644000000000000000000000002611215001465012023 0ustar 1001_hotspotfix.patch debian/control0000644000000000000000000000320511730212404010563 0ustar Source: icon-slicer Section: graphics Priority: optional Maintainer: Debian OLPC Uploaders: Jonas Smedegaard Build-Depends: cdbs (>= 0.4.70~), devscripts, debhelper, dh-buildinfo, libgtk2.0-dev, libpopt-dev, help2man, x11-apps Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/git/collab-maint/icon-slicer.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/icon-slicer.git Homepage: http://freedesktop.org/wiki/Software/icon-slicer Package: icon-slicer Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${cdbs:Depends} Description: utility for generating icon themes and libXcursor cursor themes The inputs to icon-slicer are conceptually: . - A set of multi-layer images, one for each size - Am XML theme description file . Each image contains all the cursors arranged in a grid; For cursors the layers are: . - A layer with a dot for the hotspot of each cursor - The main image or first animation frame for multi-frame animated cursors - The second animation frame for multi-frame animated cursors - ... . For icons, the layers are: . - A layer with the images - An optional layer with attachment points for emblems - An optional layer with boxes for embedding text into icons . In practice, since loading of multilayer images is not supported by standard image libraries, each layer is input as a separate image file. . The theme description file contains, among other things, information about the source images to read, the location of each named cursor or icon within the grid, and a set of aliases from names to other names. debian/source/0000755000000000000000000000000011712041024010456 5ustar debian/source/format0000644000000000000000000000001411526224772011704 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000547311730212422011043 0ustar icon-slicer (0.3-6) unstable; urgency=low * Modernize CDBS usage: Drop local snippets (all included upstream now). * Use dpkg source format 3.0 (quilt). Stop including patchsys-quilt snippet. * Bump debhelper compat level to 7. * Bump standards-version to 3.9.3. * Use anonscm.debian.org URL in Vcs-Browser field. * Git-ignore quilt .pc dir. * Update package relations: + Build-depend unversioned on libgtk2.0-dev: Needed version satisfied even in oldstable. + Tighten build-dependency on cdbs: Needed for improved copyright- check. + Relax build-depend unversioned on debhelper and devscripts: Needed versions satisfied even in oldstable. + Stop build-depending on quilt or patchutils: Unneeded with source format 3.0 (quilt). + Build-depend (not only depend) on x11-apps: Needed to build example files. * Append (not early-(re)declare) build-dependencies. * Extend copyright years of Debian packaging. * Refresh patch 1001 with shortening quilt options -pab --no-index --no-timestamps. * Suppress copyright-checking binary files, to not upset dpkg-source. * Rewrite copyright file using format 1.0. -- Jonas Smedegaard Wed, 14 Mar 2012 23:00:39 +0100 icon-slicer (0.3-5) unstable; urgency=low * Depend on x11-apps. Related to bug#555963. -- Jonas Smedegaard Fri, 13 Nov 2009 19:20:47 +0100 icon-slicer (0.3-4) unstable; urgency=low * Use section graphics (not devel). * Update CDBS snippets: + Enhance package-relations.mk to support all binary package relations (except -indep ones). + Improve package-relation.mk cleanup to cover debhelper 6 and 7, strip more whitespace and cover mixture of unversioned+versioned dependencies. + Silence applying dependencies in package-relation.mk. + Implement fail-source-not-repackaged rule in upstream-tarball.mk. + Update URL to draft DEP5 format in copyright-check.mk output. * Bump up policy compliance to standards version 3.8.3. * Update debian/control format to DEP5 rev54. -- Jonas Smedegaard Fri, 11 Sep 2009 09:27:49 +0200 icon-slicer (0.3-3) unstable; urgency=low * Use cdbs snippet patchsys-quilt.mk. Build-depend on quilt and patchutils. * Add patch 1001 to fix hotspot y coordinate (x coordinate was bogusly reused). Closes: bug#533020, thanks to Charlie Smotherman and Tim Swast. -- Jonas Smedegaard Sat, 13 Jun 2009 23:03:15 +0200 icon-slicer (0.3-2) unstable; urgency=low * Remove TopGit noise (from merged-in cdbs-skel). * Tighten build-dependency on debhelper. -- Jonas Smedegaard Tue, 05 May 2009 14:29:17 +0200 icon-slicer (0.3-1) unstable; urgency=low * Initial release. Closes: bug#519102. -- Jonas Smedegaard Wed, 08 Apr 2009 01:18:23 +0200 debian/README.source0000644000000000000000000000634111252375134011354 0ustar Building this package for Debian -------------------------------- This source package uses quilt to apply and remove its patches. Please refer to /usr/share/doc/quilt/README.source for information about how to use quilt for source packages. Developing this package for Debian ---------------------------------- The source of this package is developed using git and the helper tool git-buildpackage, with all official releases tagged and signed and binary diffs of tarballs stored using pristine-tar. This is documented below /usr/share/doc/git-buildpackage/manual-html/ . A custom build target shows current upstream and packaging versions: debian/rules print-version Current upstream tarball can be prepared using this other build target: debian/rules get-orig-source To switch to newer upstream source, first add a dummy changelog entry and comment out DEB_UPSTREAM_TARBALL_MD5 before getting the source: dch -v ${new_upstream_version}-1 "Dummy changelog entry" sed -i -e 's/^\(DEB_UPSTREAM_TARBALL_MD5\b\)/#\1/' debian/rules debian/rules get-orig-source Store new md5sum to help ensure identical source is received later. Setting DEB_MAINTAINER_MODE=1 enables additional build routines helpful during development of the package, but unfit for normal builds. This typically includes the CDBS feature of auto-updating debian/control with CDBS-related build-dependencies, which is forbidden by Debian Policy as build environment must not change during automated builds. Developing this package for Debian ---------------------------------- The source of this package is developed using git and the helper tool git-buildpackage, with all official releases tagged and signed and binary diffs of tarballs stored using pristine-tar. This is documented below /usr/share/doc/git-buildpackage/manual-html/ . A custom build target shows current upstream and packaging versions: debian/rules print-version Current upstream tarball can be prepared using this other build target: debian/rules get-orig-source To switch to newer upstream source, first add a dummy changelog entry and comment out DEB_UPSTREAM_TARBALL_MD5 before getting the source: dch -v ${new_upstream_version}-1 "Dummy changelog entry" sed -i -e 's/^\(DEB_UPSTREAM_TARBALL_MD5\b\)/#\1/' debian/rules debian/rules get-orig-source Store new md5sum to help ensure identical source is received later. Setting DEB_MAINTAINER_MODE=1 enables additional build routines helpful during development of the package, but unfit for normal builds. This typically includes the CDBS feature of auto-updating debian/control with CDBS-related build-dependencies, which is forbidden by Debian Policy as build environment must not change during automated builds. Maintaining packaging build routines ------------------------------------ This source package wraps debhelper commands and other tedious parts of the build routines using the CDBS framework. Please refer to the actual makefile snippets included from debian/rules for details on their purpose and ways to override defaults. Additionally, makefile snippets included from below /usr/share/cdbs may also be documented in /usr/share/doc/cdbs/cdbs-doc.pdf.gz . -- Jonas Smedegaard Thu, 26 Feb 2009 21:28:29 +0100 debian/compat0000644000000000000000000000000211730206072010362 0ustar 7 debian/watch0000644000000000000000000000023311166751144010223 0ustar # run the "uscan" command to check for upstream updates and more. version=3 http://freedesktop.org/software/icon-slicer/releases/icon-slicer-(.*)\.tar\.gz debian/copyright_hints0000644000000000000000000000423711730207535012337 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: FIXME Upstream-Contact: FIXME Source: FIXME Disclaimer: Autogenerated by CDBS Files: AUTHORS ChangeLog Makefile.am NEWS TODO config.h.in configure.ac debian/README.source debian/compat debian/control debian/control.in debian/gbp.conf debian/patches/1001_hotspotfix.patch debian/patches/README debian/patches/series debian/source/format debian/watch examples/Makefile.am examples/sample.cursortheme examples/sample.icontheme mkinstalldirs src/Makefile.am Copyright: *No copyright* License: UNKNOWN FIXME Files: Makefile.in configure examples/Makefile.in src/Makefile.in Copyright: 1992-1996, 1998-2001 1992-1996, 1998-2002, 1994-2003 License: UNKNOWN FIXME Files: README src/main.c src/themefile.c src/themefile.h Copyright: 2003, Red Hat, Inc License: UNKNOWN FIXME Files: depcomp missing Copyright: 1996-1997, 1999-2000, 2002 Free Software Foundation, Inc 1999-2000, Free Software Foundation, Inc License: GPL-2+ FIXME Files: aclocal.m4 Copyright: 1996-1997, 2000-2001, Free Software Foundation, Inc 1996-2002, 1996-2003, 1997, 1999-2001, Free Software Foundation, Inc 1997, 2000-2001, Free Software Foundation, Inc 1999-2002, Free Software Foundation, Inc 1999-2003, Free Software Foundation, Inc 2001, Free Software Foundation, Inc 2001-2002, Free Software Foundation, Inc 2002, Free Software Foundation, Inc 2003, Free Software Foundation, Inc License: GPL-2+ FIXME Files: COPYING Copyright: 1989, 1991 Free Software Foundation, Inc HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR HOLDERS AND/OR OTHER PARTIES disclaimer" for the program, if holder saying it may be distributed holder who places the Program under this License interest in the program law: the software, and year name of author License: GPL-2+ FIXME Files: debian/rules Copyright: 2009,2012, Jonas Smedegaard License: GPL-2+ FIXME Files: INSTALL Copyright: 1994-1996, 1999-2002, Free Software License: UNKNOWN FIXME Files: install-sh Copyright: 1991, the Massachusetts Institute of Technology License: UNKNOWN FIXME debian/copyright0000644000000000000000000000775011730210734011130 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: icon-slicer Upstream-Contact: Owen Taylor Source: http://freedesktop.org/software/icon-slicer/releases/ http://webcvs.freedesktop.org/icon-theme/icon-slicer/ Copyright: 2003, Red Hat, Inc. License: MIT~Redhat Files: */Makefile.in Copyright: 1994-2003, Free Software Foundation, Inc. License: GAP~Makefile.in Files: depcomp missing Copyright: 1996-1997, 1999-2000, 2002, Free Software Foundation, Inc License: GPL-2+ with Autoconf exception As a special exception to the GNU General Public License, if you distribute this file as part of a program that contains a configuration script generated by Autoconf, you may include it under the same distribution terms that you use for the rest of that program. Files: aclocal.m4 Copyright: 1996-2003, Free Software Foundation, Inc License: GAP and GPL-2+ Files: configure Copyright: 1992-1996, 1998-2002, Free Software Foundation, Inc License: GAP~configure Files: install-sh Copyright: 1991, the Massachusetts Institute of Technology License: MIT Files: debian/* Copyright: 2009,2012, Jonas Smedegaard License: GPL-2+ License: MIT~Redhat Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of Red Hat not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. Red Hat makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. . RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. License: MIT Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of M.I.T. not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. M.I.T. makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. License: GAP This file is free software; the Free Software Foundation gives unlimited permission to copy and/or distribute it, with or without modifications, as long as this notice is preserved. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by law; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. License: GAP~Makefile.in This Makefile.in is free software; the Free Software Foundation gives unlimited permission to copy and/or distribute it, with or without modifications, as long as this notice is preserved. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by law; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. License: GAP~configure This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. License: GPL-2+ On Debian GNU systems, the complete text of GNU General Public License (GPL) version 2 can be found at "/usr/share/common-licenses/GPL-2". debian/gbp.conf0000644000000000000000000000014611166746437010625 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True debian/rules0000755000000000000000000000412311730212273010244 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright © 2009,2012 Jonas Smedegaard # Description: Main Debian packaging script for icon-slicer # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2, or (at # your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA # 02111-1307 USA. include /usr/share/cdbs/1/rules/upstream-tarball.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/debhelper.mk pkg = icon-slicer cmd = $(pkg) DEB_UPSTREAM_URL = http://freedesktop.org/software/$(pkg)/releases #DEB_UPSTREAM_TARBALL_MD5 = e9997dd73ad5af43aadd49ac89105b33 # suppress checking binary files, to not upset dpkg-source DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^(examples/.*\.png|debian/(changelog|copyright(|_hints|_newhints)))$ LDFLAGS += -Wl,--as-needed DEB_INSTALL_EXAMPLES_$(pkg) = examples/sample* examples/Sample DEB_INSTALL_MANPAGES_$(pkg) = debian/$(cmd).1 # generate manpage based on --help of script itself common-post-build-arch:: debian/$(cmd).1 debian/$(cmd).1: src/$(cmd) chmod +x $< help2man --name="utility for generating icon themes and libXcursor cursor themes" --no-info --output=$@ $< clean:: rm -f debian/$(cmd).1 # Needed by upstream build process CDBS_BUILD_DEPENDS += , libgtk2.0-dev, libpopt-dev # Needed for our packaging CDBS_BUILD_DEPENDS += , help2man # Needed both at build time and (always) at runtime # * x11-apps (xcursorgen) needed by icon-slider binary depends = x11-apps CDBS_BUILD_DEPENDS += , $(depends) CDBS_DEPENDS_DEFAULT = $(depends) debian/control.in0000644000000000000000000000303611730206162011176 0ustar Source: icon-slicer Section: graphics Priority: optional Maintainer: Debian OLPC Uploaders: Jonas Smedegaard Build-Depends: @cdbs@ Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/git/collab-maint/icon-slicer.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/icon-slicer.git Homepage: http://freedesktop.org/wiki/Software/icon-slicer Package: icon-slicer Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${cdbs:Depends} Description: utility for generating icon themes and libXcursor cursor themes The inputs to icon-slicer are conceptually: . - A set of multi-layer images, one for each size - Am XML theme description file . Each image contains all the cursors arranged in a grid; For cursors the layers are: . - A layer with a dot for the hotspot of each cursor - The main image or first animation frame for multi-frame animated cursors - The second animation frame for multi-frame animated cursors - ... . For icons, the layers are: . - A layer with the images - An optional layer with attachment points for emblems - An optional layer with boxes for embedding text into icons . In practice, since loading of multilayer images is not supported by standard image libraries, each layer is input as a separate image file. . The theme description file contains, among other things, information about the source images to read, the location of each named cursor or icon within the grid, and a set of aliases from names to other names.