diff --git a/debian/README.debian b/debian/README.debian new file mode 100644 index 0000000000..c96b8657b8 --- /dev/null +++ b/debian/README.debian @@ -0,0 +1,43 @@ +gimp for DEBIAN +---------------------- + +The GNU Image Manipulation Program lets you draw, edit images, and +manipulate them any way you want! + +This is the developers' release of Gimp. It's a full featured, freely +available, non-Motif version of The Gimp. + +Version 0.99 (soon to be 1) has full layers support, tile-based memory +allocation, and a whole bunch of other nifty features. + + *************** NOTE **************** + If you've ever used an older version of The GIMP on your system, + you may have to delete the ~/.gimp directory, as different versions + are not always compatible. + ************************************* + +WARNING: + +GIMP is not finished yet. Most of the functionality that will be in +the final program is there, but please be aware that this is still a +developers' release. + +In other words, don't run it as root and then scream when it blows up +your computer. + +COMPILING PLUGINS: +----------------- + +If you wish to compile your own plug-ins, the easiest way is to: + +gcc -o plug-in plug-in.c -L/usr/X11R6/lib -lgimp -lgimpui -lgtk -lgdk \ +-lglib -lm + +Some plug-ins may require more -l flags, but this should be pretty +standard for most of them. Once you've compiled it, copy your new +plug-in to ~/.gimp/plug-ins, and restart GIMP! + +Ben Gertzfield , Tue, 22 Jul 1997 20:53:20 -0500 + + + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000000..498bfc1003 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,179 @@ +gimp (0.99.22-2) frozen unstable; urgency=low + + * /usr/share/gimp/gfig/ directory was accidentally left out of -1, + re-added it. + * /usr/include/gck/ was accidentally left out of -1's -dev package, + re-added it. + + -- Ben Gertzfield Mon, 23 Mar 1998 18:32:14 -0800 + +gimp (0.99.22-1) unstable; urgency=low + + * New upstream version. + * Replaced libtool with Debian native libtool. + + -- Ben Gertzfield Thu, 19 Mar 1998 23:43:57 -0800 + +gimp (0.99.21-2) frozen unstable; urgency=medium + + * Somehow GIMP didn't get linked with libXi, which MAJORLY broke things. + Fixed. + + -- Ben Gertzfield Mon, 16 Mar 1998 22:40:36 -0800 + +gimp (0.99.21-1) unstable; urgency=low + + * New upstream release. + + -- Ben Gertzfield Sun, 15 Mar 1998 10:53:05 -0800 + +gimp (0.99.20-1) unstable; urgency=low + + * New upstream version. + * Manpage is now included with upstream source, and included ChangeLog, + README, and NOTES in /usr/doc/gimp. + * Patched print plugin to call /usr/sbin/lpc directly instead of + just lpc. + + -- Ben Gertzfield Fri, 13 Mar 1998 23:20:26 -0800 + +gimp (0.99.19-2) unstable; urgency=low + + * Rebuild with gtk+-0.99.4-2 to fix shlib dependancies. + + -- Ben Gertzfield Sun, 8 Mar 1998 00:07:11 -0800 + +gimp (0.99.19-1) unstable; urgency=low + + * New upstream version. + * Removed dh_du calls to remove lintian errors on du control files. + * gimp-data-min has been merged in with the main gimp package and + so is now obsolete. + * Upgraded Standards-Version to 2.4.0.0. + * Made copyrights correct for libgimp and gimp-nonfree. + + -- Ben Gertzfield Mon, 2 Mar 1998 13:38:09 -0800 + +gimp (0.99.18-2) unstable; urgency=low + + * Moved gimp binary back into /usr/X11R6/bin, made menu entry + properly reflect this change. Fixes bug #17554. + + -- Ben Gertzfield Tue, 27 Jan 1998 16:28:54 -0800 + +gimp (0.99.18-1) unstable; urgency=low + + * New upstream version. + + -- Ben Gertzfield Mon, 26 Jan 1998 11:15:12 -0800 + +gimp (0.99.17-3) unstable; urgency=low + + * The menu file was accidentally left out of the package; fixed. + * The /usr/doc/gimp/README.debian was also added back into the package. + + -- Ben Gertzfield Tue, 6 Jan 1998 15:27:36 -0800 + +gimp (0.99.17-2) unstable; urgency=low + + * Recompiled because of shlibs file error in libgtk1 0.99.2-1, + now depends on libgtk1 (>=1:0.99.2) instead of just libgtk1. + + -- Ben Gertzfield Mon, 5 Jan 1998 12:38:11 -0800 + +gimp (0.99.17-1) unstable; urgency=low + + * New upstream version. + + -- Ben Gertzfield Sun, 4 Jan 1998 00:36:42 -0800 + +gimp (0.99.16-2) unstable; urgency=low + + * libgimp-dev did not conflict with and replace gimp-dev; fixed. + * Really used pristine upstream source. + + -- Ben Gertzfield Mon, 29 Dec 1997 13:14:59 -0800 + +gimp (0.99.16-1) unstable; urgency=low + + * New upstream version. + * Converted to use debhelper. + * Split off libgimp package. + + -- Ben Gertzfield Mon, 15 Dec 1997 14:00:19 -0800 + +gimp (0.99.14-1) unstable; urgency=low + + * New upstream version. + * Linked with all libc6 libraries, fixes bug #13505. + * Fixed dumb dependancy error. Fixes bug #13324. + * Put header files in the absolutely proper place. Fixes bug #13247. + * Split off libgtk1 et al from the source package. + * Upgraded to Standards-Version 2.3.0.0. + + -- Ben Gertzfield Wed, 15 Oct 1997 15:49:03 -0700 + +gimp (0.99.10pre11-1) unstable; urgency=low + + * New upstream version. + * Recompiled with libc6 X libraries. + * Removed XInput support, because it depends on XFree86 3.1.1, + which hasn't been made into a Debian package yet. + + -- Ben Gertzfield Sat, 13 Sep 1997 16:28:38 -0700 + +gimp (0.99.10-3) unstable; urgency=low + + * Applied more patches. GIMP now has XInput (tablet pressure/tilt) + extensions! + + -- Ben Gertzfield Sat, 16 Aug 1997 17:55:10 -0500 + +gimp (0.99.10-2) unstable; urgency=low + + * Removed empty documentation files; fixes bug #11491. + * Fixed symbolic links for shared libraries (added links to libname.so in + -dev packages) + * Changed shlibs for libgtk to use = instead of >=; fixes bug #11492 + * Applied patches from http://copper.ucs.indiana.edu/~sgoehrin/gimp/patches/ + + -- Ben Gertzfield Tue, 29 Jul 1997 19:33:41 -0500 + +gimp (0.99.10-1) unstable; urgency=low + + * New maintainer. + * New upstream version. + * Uses the new gtk and gdk libraries instead of Motif. + * Split into gimp, gimp-dev, libgtk, libgtk-dev, gimp-data, and gimp-nonfree. + + -- Ben Gertzfield Tue, 22 Jul 1997 20:53:20 -0500 + +gimp (0.54.1-6) unstable; urgency=low + + * Fixed menu problem. + * Fixed problem with simultaneous gimp-plugins install. + * Added minimal man page. + * Killed README.debian (copyright already had the info). + + -- Rob Browning Sun, 13 Apr 1997 20:49:59 -0500 + +gimp (0.54.1-5) unstable; urgency=low + + * added new gimprc parsing. + * moved /etc/gimprc to /etc/gimp/gimprc + + -- Rob Browning Sun, 2 Feb 1997 03:08:03 -0600 + +gimp (0.54.1-4) unstable; urgency=low + + * Change to new packaging standards. + * Added X menu entry. + * Fixed config file placement and loading (bug #4303) + * Fixed dependencies (bug #6691) + + -- Rob Browning Mon, 27 Jan 1997 01:04:31 -0600 + +Local variables: +mode: debian-changelog +add-log-mailing-address: "che@debian.org" +End: diff --git a/debian/control b/debian/control new file mode 100644 index 0000000000..3e84628eb7 --- /dev/null +++ b/debian/control @@ -0,0 +1,66 @@ +Source: gimp +Priority: optional +Section: graphics +Maintainer: Ben Gertzfield +Standards-Version: 2.4.0.0 + +Package: libgimp1 +Architecture: any +Section: libs +Depends: ${shlibs:Depends} +Description: Libraries necessary to run the GIMP + This package includes the libgimp and libgimpui libraries, necessary + to run The GIMP. + . + It has been split off from the main gimp package in order to + facilitate easy development for packages that use libgimp and libgimpui, + like SANE, the Scanner Access package for GIMP. + +Package: gimp +Architecture: any +Section: graphics +Conflicts: gimp-smotif, gimp-dmotif, gimp099, gimp-data-min +Replaces: gimp-smotif, gimp-dmotif, gimp099, gimp-data-min +Provides: gimp-data-min +Depends: ${shlibs:Depends}, xfnt75, xfnt100 +Suggests: freefont, sharefont, gimp-nonfree, gimp-data-extras (>= 1:0.99) +Description: The layers-based, non-Motif GNU Image Manipulation Program + The GIMP lets you draw, paint, edit images, and much more! GIMP + includes the functionality and plug-ins of other famous image + editing and processing programs. + . + This version is beta software. Most of the functionality of the GIMP + 1.0 is here, but please be aware there that this is still a + developers' release. + . + Version 0.99 of The GIMP is a total re-write of the old 0.54 code. + It's fully layers-based, making it easy to use and more powerful. + . + This version is not based on Motif code, so it is entirely free! + However, GIF and TIFF support have been moved to a separate package + (gimp-nonfree) because of the UNISYS patent. + +Package: gimp-nonfree +Architecture: any +Section: non-free/graphics +Depends: ${shlibs:Depends} +Description: GIF and TIFF support for the GNU Image Manipulation Program + This package includes the gif and tiff support for The GNU Image + Manipulation Program. These files are not freely available; their + use is disallowed by the UNISYS patent on LZW compression. + . + Use at your own legal risk. + +Package: libgimp-dev +Architecture: any +Section: devel +Depends: ${shlibs:Depends} +Conflicts: gimp-dev +Replaces: gimp-dev +Description: Header files for compiling plugins for The GIMP + This package contains the header files for the GNU Image Manipulation + Program, along with the static versions of libgimp and libgimpui. + . + Install this package if you wish to compile your own plugins, + or if you wish to develop packages that use libgimp or libgimpui. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000000..5b99be5cec --- /dev/null +++ b/debian/copyright @@ -0,0 +1,68 @@ +The GIMP source is available at ftp.gimp.org:/pub/gimp. + +Copyrights for GIMP-related packages: + +gimp +--------- + +The GIMP may be redistributed under the terms of the GNU GPL, Version +2 or later, found on Debian systems in the file /usr/doc/copyright/GPL + +libgimp +--------- + +The GIMP libraries may be redistributed under the terms of the GNU +LGPL, Version 2 or later, found on Debian systems in the file +/usr/doc/copyright/LGPL + +gimp-nonfree +--------- + +This package contains proprietary, patented compression algorithms. + +Use at your own legal risk. + +/* ppmtogif.c - read a portable pixmap and produce a GIF file +** +** Based on GIFENCOD by David Rowley .A +** Lempel-Zim compression based on "compress". +** +** Modified by Marcel Wijkstra +** +** +** Copyright (C) 1989 by Jef Poskanzer. +** +** Permission to use, copy, modify, and distribute this software and its +** documentation for any purpose and without fee is hereby granted, provided +** that the above copyright notice appear in all copies and that both that +** copyright notice and this permission notice appear in supporting +** documentation. This software is provided "as is" without express or +** implied warranty. +** +** The Graphics Interchange Format(c) is the Copyright property of +** CompuServe Incorporated. GIF(sm) is a Service Mark property of +** CompuServe Incorporated. +*/ + +/* +** tifftopnm.c - converts a Tagged Image File to a portable anymap +** +** Derived by Jef Poskanzer from tif2ras.c, which is: +** +** Copyright (c) 1990 by Sun Microsystems, Inc. +** +** Author: Patrick J. Naughton +** naughton@wind.sun.com +** +** Permission to use, copy, modify, and distribute this software and its +** documentation for any purpose and without fee is hereby granted, +** provided that the above copyright notice appear in all copies and that +** both that copyright notice and this permission notice appear in +** supporting documentation. +** +** This file is provided AS IS with no warranties of any kind. The author +** shall have no liability with respect to the infringement of copyrights, +** trade secrets or any patents by this file or any part thereof. In no +** event will the author be liable for any lost revenue or profits or +** other special, indirect and consequential damages. +*/ diff --git a/debian/files b/debian/files new file mode 100644 index 0000000000..c19572f1f5 --- /dev/null +++ b/debian/files @@ -0,0 +1,4 @@ +gimp-nonfree_0.99.22-2_i386.deb non-free/graphics optional +gimp_0.99.22-2_i386.deb graphics optional +libgimp-dev_0.99.22-2_i386.deb devel optional +libgimp1_0.99.22-2_i386.deb libs optional diff --git a/debian/gimp-nonfree.files b/debian/gimp-nonfree.files new file mode 100644 index 0000000000..26542b6f41 --- /dev/null +++ b/debian/gimp-nonfree.files @@ -0,0 +1,3 @@ +usr/lib/gimp/0.99/plug-ins/gif +usr/lib/gimp/0.99/plug-ins/tiff + diff --git a/debian/gimp.copyright b/debian/gimp.copyright new file mode 100644 index 0000000000..4a3339524f --- /dev/null +++ b/debian/gimp.copyright @@ -0,0 +1,8 @@ +This package was debianized by Ben Gertzfield che@imsa.edu on +Tue, 22 Jul 1997 20:53:20 -0500. + +It was downloaded from http://www.xcf.berkeley.edu/~gimp/ + +It may be redistributed under the terms of the GNU GPL, Version 2 or +later, found on Debian systems in the file /usr/doc/copyright/GPL + diff --git a/debian/gimp.files b/debian/gimp.files new file mode 100644 index 0000000000..2594b32678 --- /dev/null +++ b/debian/gimp.files @@ -0,0 +1,17 @@ +usr/lib/gimp/0.99/plug-ins/ +usr/share/gimp/scripts/ +usr/share/gimp/user_install +usr/share/gimp/gimprc +usr/share/gimp/gimprc_user +usr/share/gimp/gtkrc +usr/share/gimp/gimp_logo.ppm +usr/share/gimp/gimp_tips.txt +usr/share/gimp/ps-menurc +usr/X11R6/bin/gimp +usr/share/gimp/scripts/ +usr/share/gimp/brushes/ +usr/share/gimp/gradients/ +usr/share/gimp/palettes/ +usr/share/gimp/patterns/ +usr/share/gimp/gimp_splash.ppm +usr/share/gimp/gfig/ diff --git a/debian/gimp.menu b/debian/gimp.menu new file mode 100644 index 0000000000..0c187aef6f --- /dev/null +++ b/debian/gimp.menu @@ -0,0 +1,2 @@ +?package(gimp):command="/usr/X11R6/bin/gimp" icon="none" needs="X11" \ + section="Apps/Graphics" title="The GIMP" diff --git a/debian/libgimp-dev.files b/debian/libgimp-dev.files new file mode 100644 index 0000000000..32249d74ca --- /dev/null +++ b/debian/libgimp-dev.files @@ -0,0 +1,6 @@ +usr/lib/libgimp.so +usr/lib/libgimp.a +usr/lib/libgimpui.so +usr/lib/libgimpui.a +usr/include/libgimp/ +usr/include/gck/ diff --git a/debian/nonfree.copyright b/debian/nonfree.copyright new file mode 100644 index 0000000000..2dae0bc217 --- /dev/null +++ b/debian/nonfree.copyright @@ -0,0 +1,53 @@ +This package was debianized by Ben Gertzfield che@imsa.edu on +Tue, 22 Jul 1997 20:53:20 -0500 + +It was downloaded from http://www.xcf.berkeley.edu/~gimp/ + +This package contains proprietary, patented compression algorithms. + +Use at your own legal risk. + +/* ppmtogif.c - read a portable pixmap and produce a GIF file +** +** Based on GIFENCOD by David Rowley .A +** Lempel-Zim compression based on "compress". +** +** Modified by Marcel Wijkstra +** +** +** Copyright (C) 1989 by Jef Poskanzer. +** +** Permission to use, copy, modify, and distribute this software and its +** documentation for any purpose and without fee is hereby granted, provided +** that the above copyright notice appear in all copies and that both that +** copyright notice and this permission notice appear in supporting +** documentation. This software is provided "as is" without express or +** implied warranty. +** +** The Graphics Interchange Format(c) is the Copyright property of +** CompuServe Incorporated. GIF(sm) is a Service Mark property of +** CompuServe Incorporated. +*/ + +/* +** tifftopnm.c - converts a Tagged Image File to a portable anymap +** +** Derived by Jef Poskanzer from tif2ras.c, which is: +** +** Copyright (c) 1990 by Sun Microsystems, Inc. +** +** Author: Patrick J. Naughton +** naughton@wind.sun.com +** +** Permission to use, copy, modify, and distribute this software and its +** documentation for any purpose and without fee is hereby granted, +** provided that the above copyright notice appear in all copies and that +** both that copyright notice and this permission notice appear in +** supporting documentation. +** +** This file is provided AS IS with no warranties of any kind. The author +** shall have no liability with respect to the infringement of copyrights, +** trade secrets or any patents by this file or any part thereof. In no +** event will the author be liable for any lost revenue or profits or +** other special, indirect and consequential damages. +*/ diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000000..554a08efef --- /dev/null +++ b/debian/postinst @@ -0,0 +1,4 @@ +#!/bin/sh + +ldconfig + diff --git a/debian/prerm b/debian/prerm new file mode 100644 index 0000000000..df85152c0b --- /dev/null +++ b/debian/prerm @@ -0,0 +1,4 @@ +#!/bin/sh + +set -e +ldconfig diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000000..0dfc712952 --- /dev/null +++ b/debian/rules @@ -0,0 +1,151 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: build-stamp +build-stamp: + dh_testdir + # Add here commands to compile the pacckage. + ./configure --prefix=/usr + $(MAKE) + touch build-stamp + +clean: + dh_testdir + dh_testroot + -rm -f build-stamp install-stamp + # Add here commands to clean up after the build process. + -$(MAKE) distclean + rm -rf debian/{gimp,gimp-nonfree,libgimp1,libgimp-dev} + find . -name '*.o' -o -name '_libs' -o -name '*.lo' -o -name '*.a' -o -name '*.P' -o -name 'Makefile' | xargs rm -rf + -rm app/gimp + dh_clean + +# Build architecture-independent files here. +binary-indep: build +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install gimp-nonfree gimp libgimp-dev libgimp1 + +install: install-stamp +install-stamp: build + dh_testdir + dh_testroot + dh_clean + dh_installdirs usr/X11R6/bin + $(MAKE) prefix=`pwd`/debian/tmp/usr install + mv debian/tmp/usr/bin/gimp debian/tmp/usr/X11R6/bin + touch install-stamp + +libgimp1: build install + dh_testdir -plibgimp1 + dh_testroot -plibgimp1 +# dh_clean -k -plibgimp1 + dh_installdirs -plibgimp1 + rm -rf debian/tmp/usr/bin debian/tmp/usr/X11R6 debian/tmp/usr/include \ + debian/tmp/usr/share +# $(MAKE) prefix=`pwd`/debian/tmp/usr install +# dh_movefiles -plibgimp1 +# rm debian/tmp/usr/lib/*.{so,la,a} +# rm -rf debian/tmp/usr/{include,info,share} +# rm -rf debian/tmp/usr/lib/gimp +# rm -rf debian/tmp/usr/bin + dh_installdocs -plibgimp1 + dh_installchangelogs -plibgimp1 + dh_strip -plibgimp1 + dh_compress -plibgimp1 + dh_fixperms -plibgimp1 + dh_installdeb -plibgimp1 + dh_shlibdeps -plibgimp1 + dh_gencontrol -plibgimp1 + dh_makeshlibs -plibgimp1 + dh_md5sums -plibgimp1 + dh_builddeb -plibgimp1 + +gimp: build install + dh_testdir -pgimp + dh_testroot -pgimp + dh_clean -k -pgimp + dh_installdirs -pgimp usr/X11R6/man/man1 + # Add here commands to install the files into debian/tmp + dh_movefiles -pgimp + -rm -f install-stamp + cp docs/gimp.1 debian/gimp/usr/X11R6/man/man1 +# $(MAKE) prefix=`pwd`/debian/gimp/usr install +# install -d debian/gimp/usr/X11R6/bin +# mv debian/gimp/usr/bin/gimp debian/gimp/usr/X11R6/bin/gimp +# install -d debian/gimp-nonfree/usr/lib/gimp/0.99/plug-ins +# rm -rf debian/gimp/usr/{include,info} +# find debian/gimp/usr/lib -maxdepth 1 \( -type f -or -type l \) \ +# | xargs rm +# mv debian/gimp/usr/lib/gimp/0.99/plug-ins/{gif,tiff} \ +# debian/gimp-nonfree/usr/lib/gimp/0.99/plug-ins + dh_installdocs -pgimp debian/README.debian docs/*.txt ChangeLog \ + README NOTES + dh_installchangelogs -pgimp + dh_strip -pgimp + dh_compress -pgimp + dh_fixperms -pgimp + dh_installmenu -pgimp + dh_installdeb -pgimp + LD_LIBRARY_PATH=$(shell pwd)/debian/tmp/usr/lib dh_shlibdeps -pgimp + dh_gencontrol -pgimp + dh_makeshlibs -pgimp + dh_md5sums -pgimp + dh_builddeb -pgimp + + +gimp-nonfree: build install + dh_testdir -pgimp-nonfree + dh_testroot -pgimp-nonfree + dh_clean -k -pgimp-nonfree + dh_movefiles -pgimp-nonfree + -rm -f install-stamp +# -rm debian/gimp-nonfree.substvars +# -find debian/gimp-nonfree -not -type d -and -not \( -name 'gif' -or \ +# -name 'tiff' \) | xargs rm + dh_installdirs -pgimp-nonfree + dh_installdocs -pgimp-nonfree + dh_installchangelogs -pgimp-nonfree + dh_strip -pgimp-nonfree + dh_compress -pgimp-nonfree + dh_fixperms -pgimp-nonfree + dh_installdeb -pgimp-nonfree + LD_LIBRARY_PATH=$(shell pwd)/debian/tmp/usr/lib dh_shlibdeps -pgimp-nonfree + dh_gencontrol -pgimp-nonfree + dh_makeshlibs -pgimp-nonfree + dh_md5sums -pgimp-nonfree + dh_builddeb -pgimp-nonfree + +libgimp-dev: build install + dh_testdir -plibgimp-dev + dh_testroot -plibgimp-dev + dh_clean -plibgimp-dev -k + dh_installdirs -plibgimp-dev + dh_movefiles -plibgimp-dev + -rm -f install-stamp + # Add here commands to install the files into debian/tmp +# $(MAKE) prefix=`pwd`/debian/libgimp-dev/usr install +# rm -rf debian/libgimp-dev/usr/lib/gimp +# find debian/libgimp-dev/usr/lib \( -type f -or -type l \) -and ! \( -name \*.so -or -name \*.a \) | xargs rm +# rm -rf debian/libgimp-dev/usr/{bin,share} + dh_installdocs -plibgimp-dev + dh_installchangelogs -plibgimp-dev + dh_strip -plibgimp-dev + dh_compress -plibgimp-dev + dh_fixperms -plibgimp-dev + dh_installdeb -plibgimp-dev + dh_shlibdeps -plibgimp-dev + dh_gencontrol -plibgimp-dev + dh_makeshlibs -plibgimp-dev + dh_md5sums -plibgimp-dev + dh_builddeb -plibgimp-dev + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary diff --git a/debian/shlibs.local b/debian/shlibs.local new file mode 100644 index 0000000000..e9b3e3f6eb --- /dev/null +++ b/debian/shlibs.local @@ -0,0 +1,2 @@ +libgimp 1 libgimp1 +libgimpui 1 libgimp1