summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorBen Gertzfield <che@src.gnome.org>1998-03-24 04:02:49 +0000
committerBen Gertzfield <che@src.gnome.org>1998-03-24 04:02:49 +0000
commit13fa9d381932ded1b47973e525802ee607fcd0da (patch)
tree6829a463e13abce020e481fdb65b41d0cf273ddb /debian
parent3f5c7acc33d9ed7255958d98295dbb93f7da0f09 (diff)
downloadgtk+-13fa9d381932ded1b47973e525802ee607fcd0da.tar.gz
Added debian/* files for ease in automatic building of Debian packages
Diffstat (limited to 'debian')
-rw-r--r--debian/README.debian18
-rw-r--r--debian/changelog169
-rw-r--r--debian/control41
-rw-r--r--debian/copyright8
-rw-r--r--debian/files3
-rw-r--r--debian/libgtk-dev.files12
-rw-r--r--debian/libgtk-dev.postinst7
-rw-r--r--debian/libgtk-dev.prerm6
-rw-r--r--debian/libgtk-doc.files9
-rw-r--r--debian/libgtk-doc.postinst14
-rw-r--r--debian/libgtk-doc.prerm8
-rw-r--r--debian/libgtk1.files6
-rw-r--r--debian/postinst7
-rwxr-xr-xdebian/rules120
14 files changed, 428 insertions, 0 deletions
diff --git a/debian/README.debian b/debian/README.debian
new file mode 100644
index 0000000000..120d66b526
--- /dev/null
+++ b/debian/README.debian
@@ -0,0 +1,18 @@
+libgtk1 for Debian
+----------------------
+
+The GIMP Tool Kit (gtk) is a set of widgets to help you program
+programs for the X Windowing System easily and powerfully.
+
+gtk is the moving force behind The GNU Image Manipulation Program (The
+GIMP) -- the number one freely-available image editing and creation
+program available.
+
+gtk is rapidly under development, and the source tree has officially
+been separated from The GIMP now, as other teams of programmers
+are beginning to write software using its great widget set -- like
+GNOME, a desktop interface for X, and gzilla, a freely available
+web browser for X.
+
+Ben Gertzfield <che@debian.org>, Mon, 29 Sep 1997 13:11:45 -0700
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000000..8164660b57
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,169 @@
+gtk+ (1:0.99.8-1) unstable; urgency=low
+
+ * New upstream version.
+ * New file included in libgtk-dev: /usr/share/aclocal/gtk.m4,
+ to help autoconf/automake developers use gtk and gtk-config
+ more easily.
+ * New file included in libgtk-doc: /usr/doc/libgtk-doc/gtk-config.txt
+ Please refer to this doc when developing for gtk or compiling
+ and running into odd path-related errors.
+
+ -- Ben Gertzfield <che@debian.org> Thu, 19 Mar 1998 19:58:53 -0800
+
+gtk+ (1:0.99.7-4) frozen unstable; urgency=low
+
+ * Rebuild with native Debian libtool to have libraries properly
+ linked with libc and libX et al.
+
+ -- Ben Gertzfield <che@debian.org> Tue, 17 Mar 1998 16:05:13 -0800
+
+gtk+ (1:0.99.7-3) frozen unstable; urgency=low
+
+ * Accidentally included all the html docs in /usr/doc/libgtk-doc/faq-html;
+ moved the tutorial into /usr/doc/libgtk-doc/tutorial-html.
+ * Included the Italian Gtk+ Tutorial in
+ /usr/doc/libgtk-doc/italian-tutorial-html.
+
+ -- Ben Gertzfield <che@debian.org> Mon, 16 Mar 1998 22:39:57 -0800
+
+gtk+ (1:0.99.7-2) unstable; urgency=low
+
+ * Upstream source added a /usr/lib/glib/ directory that I didn't
+ notice; included this directory in libgtk-dev.
+ * Realized that Xinput support was broken because I was doing
+ ./configure --enable-xinput=xfree instead of ./configure
+ --with-xinput=xfree. Fixed.
+
+ -- Ben Gertzfield <che@debian.org> Sun, 15 Mar 1998 19:17:05 -0800
+
+gtk+ (1:0.99.7-1) unstable; urgency=low
+
+ * New upstream release -- THIS IS INCOMPATIBLE WITH OLDER RELEASES!
+ All Gtk-using packages *will* need patches to work with this Gtk!
+ * Upstream release includes 'gtk-config' script to check installed
+ version of Gtk; included said script in libgtk-dev in /usr/bin.
+
+ -- Ben Gertzfield <che@debian.org> Sun, 15 Mar 1998 11:03:03 -0800
+
+gtk+ (1:0.99.5-2) unstable; urgency=low
+
+ * Modified libgtk-doc to Replace: libgtk-dev (<< 1:0.99.4) to
+ deal with both packages including the same .info files.
+ Fixes bug #19533.
+ * Also noticed that libgtk-dev depended on libgtk1 without
+ an epoch! Fixed.
+
+ -- Ben Gertzfield <che@debian.org> Thu, 12 Mar 1998 13:37:11 -0800
+
+gtk+ (1:0.99.5-1) unstable; urgency=low
+
+ * Wow, that was quick, a new upstream version.
+
+ -- Ben Gertzfield <che@debian.org> Mon, 9 Mar 1998 22:08:08 -0800
+
+gtk+ (1:0.99.4-3) unstable; urgency=low
+
+ * Recompiled with --enable-xinput=xfree to enable Wacom pads
+ and other physical input devices.
+
+ -- Ben Gertzfield <che@debian.org> Mon, 9 Mar 1998 21:26:07 -0800
+
+gtk+ (1:0.99.4-2) unstable; urgency=MEDIUM
+
+ * Ack! The shlibs file makes things depend on libgtk1 (>= 0.99.4)
+ rather than (>= 1:0.99.4)! Fixes bug #19134.
+
+ -- Ben Gertzfield <che@debian.org> Sat, 7 Mar 1998 23:57:33 -0800
+
+gtk+ (1:0.99.4-1) unstable; urgency=low
+
+ * New upstream version.
+ * Recompiled with new debhelper to remove du warnings.
+ * Upstream source is named gtk+, not libgtk1. Changed source name.
+ * Removed --disable-xim in hopes that xim is no longer broken.
+ * Removed testgtk at the behest of the Gtk developers until I can
+ come up with a better solution, probably related to:
+ * the new libgtk-doc package! :) libgtk-doc contains the Gtk FAQ,
+ the Gtk Tutorial, and the Gtk info files.
+
+ -- Ben Gertzfield <che@debian.org> Tue, 3 Mar 1998 22:23:47 -0800
+
+libgtk1 (1:0.99.3-2) unstable; urgency=low
+
+ * Created manpage for testgtk program.
+ * Fixed copyright mention to LGPL.gz to be just LGPL.
+ * This fixes all known lintian errors.
+
+ -- Ben Gertzfield <che@debian.org> Wed, 11 Feb 1998 14:07:17 -0800
+
+libgtk1 (1:0.99.3-1) unstable; urgency=low
+
+ * New upstream version.
+ * Include the testgtk binary in libgtk-dev.
+
+ -- Ben Gertzfield <che@debian.org> Sat, 24 Jan 1998 15:30:09 -0800
+
+libgtk1 (1:0.99.2-2) unstable; urgency=low
+
+ * Fixed shlibs file to specify version >=1:0.99.2.
+ * Renamed debian/postinst.libgtk1 to debian/postinst, so debhelper
+ would actually install it.
+
+ -- Ben Gertzfield <che@debian.org> Mon, 5 Jan 1998 12:22:46 -0800
+
+libgtk1 (1:0.99.2-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Ben Gertzfield <che@debian.org> Sun, 4 Jan 1998 00:21:21 -0800
+
+libgtk1 (1:0.99.0-1) unstable; urgency=medium
+
+ * New upstream version with new numbering scheme, went to epoch :1
+ correspondingly.
+ * Hopefully fixed entry-field bug.
+ * Converted to use debhelper.
+
+ -- Ben Gertzfield <che@debian.org> Mon, 15 Dec 1997 12:02:25 -0800
+
+libgtk1 (971201-1) unstable; urgency=low
+
+ * New upstream version.
+ * Fixed copyright to say LGPL, not GPL. (bug #14867)
+ * Re-added postinst ldconfig call. (bug #14213)
+ * Info files should be correct now. (bugs #14773, #15143)
+
+ -- Ben Gertzfield <che@debian.org> Mon, 1 Dec 1997 16:41:50 -0800
+
+libgtk1 (971109-1) unstable; urgency=low
+
+ * New upstream version.
+ * Name is really 'GIMP Tool Kit', not 'General Tool Kit'.
+
+ -- Ben Gertzfield <che@debian.org> Mon, 10 Nov 1997 16:15:27 -0800
+
+libgtk1 (970925-3) unstable; urgency=low
+
+ * Moved the include files to /usr/include/{gtk,gdk}.
+ * Removed postinst/postrm ldconfig calls, fixes old gimp bug #13773.
+
+ -- Ben Gertzfield <che@debian.org> Fri, 17 Oct 1997 17:06:10 -0700
+
+libgtk1 (970925-2) unstable; urgency=low
+
+ * Added the shlibs file.
+ * Removed the postinst/postrm calls to ldconfig, fixes bug #13733.
+
+ -- Ben Gertzfield <che@debian.org> Fri, 10 Oct 1997 17:55:39 -0700
+
+libgtk1 (970925-1) unstable; urgency=low
+
+ * New upstream version.
+ * Split off source tree from gimp's source tree.
+
+ -- Ben Gertzfield <che@debian.org> Mon, 29 Sep 1997 13:14:45 -0700
+
+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..c34319faa6
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,41 @@
+Source: gtk+
+Priority: optional
+Section: libs
+Maintainer: Ben Gertzfield <che@debian.org>
+Standards-Version: 2.4.0.0
+
+Package: libgtk1
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}
+Description: The GIMP Toolkit set of widgets for X
+ The GIMP Toolkit is a freely available set of widgets for X.
+ GTK is easy to use, and has been implemented in such projects as
+ The GNU Image Manipulation Program (The GIMP), GNOME, a GNU
+ desktop set of utilities for X, and gzilla, a GNU web-browser.
+
+Package: libgtk-dev
+Architecture: any
+Section: devel
+Depends: libgtk1 (>= 1:0.99.8)
+Suggests: libgtk-doc
+Replaces: libgtk1 (<= 0.99.7)
+Description: Header files and static libraries for the GIMP Toolkit
+ This package contains the header files and static libraries for the
+ GIMP Toolkit set of widgets for X.
+ .
+ Install this package if you wish to develop your own X programs using
+ the GIMP Toolkit, or if you wish to compile your own plug-ins for
+ The GIMP.
+
+Package: libgtk-doc
+Architecture: all
+Section: docs
+Replaces: libgtk-dev (<< 1:0.99.4)
+Description: Documentation and example code for the GIMP Toolkit
+ This package contains lots of info-files, HTML docs, FAQs, and
+ other handy documentation about the GIMP Toolkit set of widgets
+ for X.
+ .
+ Install this package if you want to have lots of info about the
+ GIMP toolkit when you're programming.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000000..70d71c281d
--- /dev/null
+++ b/debian/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 ftp.gimp.org.
+
+It 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.
+
diff --git a/debian/files b/debian/files
new file mode 100644
index 0000000000..eddefa42b2
--- /dev/null
+++ b/debian/files
@@ -0,0 +1,3 @@
+libgtk-doc_0.99.8-1_all.deb docs optional
+libgtk-dev_0.99.8-1_i386.deb devel optional
+libgtk1_0.99.8-1_i386.deb libs optional
diff --git a/debian/libgtk-dev.files b/debian/libgtk-dev.files
new file mode 100644
index 0000000000..3459d3ec2c
--- /dev/null
+++ b/debian/libgtk-dev.files
@@ -0,0 +1,12 @@
+usr/lib/libglib.so
+usr/lib/libglib.a
+usr/lib/libgdk.so
+usr/lib/libgdk.a
+usr/lib/libgtk.so
+usr/lib/libgtk.a
+usr/include/glib.h
+usr/include/gdk/
+usr/include/gtk/
+usr/bin/gtk-config
+usr/lib/glib/
+usr/share/aclocal/gtk.m4 \ No newline at end of file
diff --git a/debian/libgtk-dev.postinst b/debian/libgtk-dev.postinst
new file mode 100644
index 0000000000..0cd5f28c97
--- /dev/null
+++ b/debian/libgtk-dev.postinst
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+ldconfig
+
+#DEBHELPER#
diff --git a/debian/libgtk-dev.prerm b/debian/libgtk-dev.prerm
new file mode 100644
index 0000000000..2772ad0aab
--- /dev/null
+++ b/debian/libgtk-dev.prerm
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+set -e
+install-info --quiet --remove gtk
+
+#DEBHELPER#
diff --git a/debian/libgtk-doc.files b/debian/libgtk-doc.files
new file mode 100644
index 0000000000..29218fd967
--- /dev/null
+++ b/debian/libgtk-doc.files
@@ -0,0 +1,9 @@
+usr/info/gdk.info
+usr/info/glib.info
+usr/info/gtk.info
+usr/info/gtk.info-1
+usr/info/gtk.info-2
+usr/info/gtk.info-3
+usr/info/gtk.info-4
+usr/info/gtk.info-5
+
diff --git a/debian/libgtk-doc.postinst b/debian/libgtk-doc.postinst
new file mode 100644
index 0000000000..685d2d1b6f
--- /dev/null
+++ b/debian/libgtk-doc.postinst
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -e
+
+install-info --quiet --description="The GIMP Toolkit." \
+ --section "The GIMP" "The GIMP" /usr/info/gtk.info.gz
+
+install-info --quiet --description="The GIMP Drawing Kit." \
+ --section "The GIMP" "The GIMP" /usr/info/gdk.info.gz
+
+install-info --quiet --description="The GIMP Library." \
+ --section "The GIMP" "The GIMP" /usr/info/glib.info.gz
+
+#DEBHELPER#
diff --git a/debian/libgtk-doc.prerm b/debian/libgtk-doc.prerm
new file mode 100644
index 0000000000..108d943f8e
--- /dev/null
+++ b/debian/libgtk-doc.prerm
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+install-info --quiet --remove gtk
+install-info --quiet --remove glib
+install-info --quiet --remove gdk
+
+#DEBHELPER#
diff --git a/debian/libgtk1.files b/debian/libgtk1.files
new file mode 100644
index 0000000000..cce389e7f8
--- /dev/null
+++ b/debian/libgtk1.files
@@ -0,0 +1,6 @@
+usr/lib/libglib.so.1.0.0
+usr/lib/libglib.so.1
+usr/lib/libgdk.so.1.0.0
+usr/lib/libgdk.so.1
+usr/lib/libgtk.so.1.0.0
+usr/lib/libgtk.so.1
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000000..0cd5f28c97
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+ldconfig
+
+#DEBHELPER#
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000000..58821a606e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,120 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+ # Add here commands to compile the package.
+ ./configure --prefix=/usr --with-xinput=xfree
+ $(MAKE)
+ cd docs && make -f Makefile.sgml
+ cd ..
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+ # Add here commands to clean up after the build process.
+ -$(MAKE) distclean
+ -rm docs/*.html
+ dh_clean
+
+install: install-stamp
+install-stamp: build
+ dh_testdir
+ dh_testroot
+ dh_clean
+ $(MAKE) prefix=`pwd`/debian/tmp/usr install
+ touch install-stamp
+
+# Build architecture-independent files here.
+binary-indep: build install libgtk-doc
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install libgtk-dev libgtk1
+
+libgtk1: build
+ dh_testdir -plibgtk1
+ dh_testroot -plibgtk1
+# dh_clean -plibgtk1
+ dh_installdirs -plibgtk1
+ # Add here commands to install the files into debian/tmp
+ rm -rf debian/tmp/usr/bin debian/tmp/usr/include debian/tmp/usr/info debian/tmp/usr/lib/glib debian/tmp/usr/share
+# dh_movefiles -plibgtk1
+# $(MAKE) prefix=`pwd`/debian/tmp/usr install
+# rmdir debian/tmp/usr/bin
+# rm debian/tmp/usr/lib/*.{so,la,a}
+# rm -rf debian/tmp/usr/{include,info}
+ dh_installdocs -plibgtk1
+ dh_installchangelogs -plibgtk1
+ dh_strip -plibgtk1
+ dh_compress -plibgtk1
+ dh_fixperms -plibgtk1
+ dh_installdeb -plibgtk1
+ dh_shlibdeps -plibgtk1
+ dh_gencontrol -plibgtk1
+ dh_makeshlibs -plibgtk1 -V 'libgtk1 (>= 1:0.99.7)'
+# echo "libglib 1 libgtk1 (>=0.99.4)" >> debian/tmp/DEBIAN/shlibs
+# echo "libgtk 1 libgtk1 (>=0.99.4)" >> debian/tmp/DEBIAN/shlibs
+# echo "libgdk 1 libgtk1 (>=0.99.4)" >> debian/tmp/DEBIAN/shlibs
+ dh_md5sums -plibgtk1
+ dh_builddeb -plibgtk1
+
+libgtk-dev: build
+ dh_testdir -plibgtk-dev
+ dh_testroot -plibgtk-dev
+ dh_clean -plibgtk-dev -k
+ dh_installdirs -plibgtk-dev
+ # Add here commands to install the files into debian/tmp
+ dh_movefiles -plibgtk-dev
+ cp gtk-config debian/tmp/usr/bin
+# $(MAKE) prefix=`pwd`/debian/libgtk-dev/usr install
+# find debian/libgtk-dev/usr/lib \( -type f -or -type l \) -and ! \( -name \*.so -or -name \*.a \) | xargs rm
+# cp gtk/.libs/testgtk debian/libgtk-dev/usr/bin
+# cp debian/testgtk.1 debian/libgtk-dev/usr/man/man1
+ dh_installdocs -plibgtk-dev
+ dh_installchangelogs -plibgtk-dev
+ dh_strip -plibgtk-dev
+ dh_compress -plibgtk-dev
+ dh_fixperms -plibgtk-dev
+ dh_installdeb -plibgtk-dev
+ dh_shlibdeps -plibgtk-dev
+ dh_gencontrol -plibgtk-dev
+ dh_makeshlibs -plibgtk-dev
+ dh_md5sums -plibgtk-dev
+ dh_builddeb -plibgtk-dev
+
+libgtk-doc:
+ dh_testdir -plibgtk-doc
+ dh_testroot -plibgtk-doc
+ dh_clean -plibgtk-doc -k
+ dh_installdirs -plibgtk-doc usr/doc/libgtk-doc/faq-html \
+ usr/doc/libgtk-doc/tutorial-html usr/doc/libgtk-doc/italian-tutorial-html
+ # Add here commands to install the files into debian/tmp
+ dh_movefiles -plibgtk-doc
+ cp docs/gtkfaq*.html debian/libgtk-doc/usr/doc/libgtk-doc/faq-html
+ cp docs/gtk_tut-*.html debian/libgtk-doc/usr/doc/libgtk-doc/tutorial-html
+ cp docs/gtk_tut.html debian/libgtk-doc/usr/doc/libgtk-doc/tutorial-html
+ cp docs/gtk_tut_it*.html debian/libgtk-doc/usr/doc/libgtk-doc/italian-tutorial-html
+ dh_installdocs -plibgtk-doc docs/{debugging,developers,styles,text_widget,widget_system,gtk-config}.txt ChangeLog TODO NEWS
+ dh_installchangelogs -plibgtk-doc
+ dh_strip -plibgtk-doc
+ dh_compress -plibgtk-doc
+ dh_fixperms -plibgtk-doc
+ dh_installdeb -plibgtk-doc
+ dh_shlibdeps -plibgtk-doc
+ dh_gencontrol -plibgtk-doc
+ dh_makeshlibs -plibgtk-doc
+ dh_md5sums -plibgtk-doc
+ dh_builddeb -plibgtk-doc
+
+
+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