diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 00000000..a35d33d6 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,119 @@ +libgtop (1.1.4-1) unstable; urgency=low + * New upstream source + * Non-maintainer upload + + -- Martin Baulig Fri, 14 Jan 2000 15:32:48 +0100 + +libgtop (1.0.6-1) unstable; urgency=low + * New upstream source + + -- Ian Lynagh (wibble) Wed, 20 Oct 1999 16:16:27 +0100 + +libgtop (1.0.4.5pre1-1) frozen unstable; urgency=low + * New upstream source (1.0.5 pre release) + * Maintainer e-mail address changed to igloo@debian.org + + -- Ian Lynagh (wibble) Thu, 30 Sep 1999 22:37:33 +0100 + +libgtop (1.0.4-1) frozen unstable; urgency=low + * New upstream source + * Removed nasty sed stuff from the rules in favour of make install prefix=... + * Added .la files to libgtop-dev + * Added info to the copyright file + * Wrote simple man page for libgtop-config. + * Recompiled with later debhelper so docs go to /usr/share/doc as per FHS + * changed infodir to /usr/share/info + + -- Ian Lynagh (wibble) Mon, 20 Sep 1999 00:06:16 +0100 + +libgtop (1.0.1-2) frozen unstable; urgency=low + + * Didn't actually use wildcards in libgtop-dev.files because tar complained + * Set section names properly + + -- Ian Lynagh Sun, 7 Mar 1999 00:53:50 +0000 + +libgtop (1.0.1-1) frozen unstable; urgency=low + + * SONAME changed back to 1. Fun fun fun. + * Added RELNOTES-1.0 to debian/libgtop1.docs and debian/rules + * Changed libgtop1.README.Debian to at least make sense + * Used wildcards in libgtop-dev.files + + -- Ian Lynagh Sun, 7 Mar 1999 00:53:50 +0000 + +libgtop (1.0.1-0.1) unstable; urgency=low + + * Non-maintainer upload for GNOME 1.0 + + -- Jules Bean Thu, 4 Mar 1999 22:34:12 +0000 + +libgtop (0.99.2-0.2) unstable; urgency=low + + * Oops, forgot some files. + + -- Jim Pick Sun, 24 Jan 1999 02:12:24 -0800 + +libgtop (0.99.2-0.1) unstable; urgency=low + + * Non-maintainer upload. + * New upstream source. + * SONAME is now 0 again. Hmmm. + + -- Jim Pick Sat, 23 Jan 1999 20:21:38 -0800 + +libgtop (0.26.2-4) frozen unstable; urgency=low + + * Upstream changelog installed as changelog + * debian/shlibs.local removed in favour of the LD_LIBRARY_PATH line + + -- Ian Lynagh Thu, 26 Nov 1998 17:20:24 +0000 + +libgtop (0.26.2-3.1) frozen unstable; urgency=low + + * Non-maintainer upload. + * Upload to frozen, corrects Bug #29110, Bug #29111, which were + already fixed. + * Noticed that guile option is no longer being used, so I removed + the dependency. + * Added changelog (to fix lintian error). + * Changed control file to use macro substitutions. This is a much + less error-prone way of building dependencies than doing them by + hand. + * Added -V option to dh_makeshlibs to put version number on shlibs + file. + * Added shlibs.local file with null entry for "libgtop 1" (and + others) so libgtop1 doesn't declare a relationship on itself. + + -- Jim Pick Wed, 25 Nov 1998 12:03:12 -0800 + +libgtop (0.26.2-3) frozen unstable; urgency=low + + * libgtop0 changed to libgtop1 + * Added an #ifndef strstr around the prototype of strstr in + sysdeps/common/mountlist.c as this is a macro under glibc 2.1. + + -- Ian Lynagh Sun, 8 Nov 1998 12:06:09 +0000 + +libgtop (0.26.2-2) frozen unstable; urgency=low + + * Fixes minor bugs in debian/rules + + -- Ian Lynagh Fri, 16 Oct 1998 05:30:16 +0200 + +libgtop (0.26.2-1) unstable; urgency=low + + * New upstream version + * Non-maintainer release + + -- Martin Schulze Fri, 16 Oct 1998 05:30:16 +0200 + +libgtop (0.26.0-1) unstable; urgency=low + + * Initial Release. + + -- Jim Pick Thu, 24 Sep 1998 18:42:48 -0700 + +Local variables: +mode: debian-changelog +End: diff --git a/debian/control.in b/debian/control.in new file mode 100644 index 00000000..d50da25e --- /dev/null +++ b/debian/control.in @@ -0,0 +1,33 @@ +Source: libgtop@SUFFIX@ +Maintainer: Martin Baulig +Section: libs +Priority: optional +Standards-Version: 3.0.0 + +Package: libgtop2@SUFFIX@ +Architecture: any +Section: libs +Depends: ${shlibs:Depends} +Description: Portable system access library (part of Gnome) + Gnome is the "GNU Network Object Model Environment" + . + It is a project to build a complete, user-friendly desktop based + entirely on free software. + . + This package contains the gtop libraries which read information about + processes and the running systems. + +Package: libgtop-dev@SUFFIX@ +Architecture: any +Section: devel +Depends: libgtop2@SUFFIX@ (= ${Source-Version}) +Description: Dev libraries for the portable system access library (part of Gnome) + Gnome is the "GNU Network Object Model Environment" + . + It is a project to build a complete, user-friendly desktop based + entirely on free software. + . + This package contains the include files and static library for the + gtop libraries which read information about processes and the running + systems. + diff --git a/debian/debconfigure b/debian/debconfigure new file mode 100755 index 00000000..3cadfcae --- /dev/null +++ b/debian/debconfigure @@ -0,0 +1,109 @@ +#! /bin/sh +# +# debconfigure +# +# A script to generate a debian/rules file, with options. +# +# By Jim Pick , GPL'd of course. +# Adjusted for LibGTop by Martin Baulig +# + +if [ ! -r rules.in ]; then + echo "Please run the debconfigure script in the debian directory" 1>&2 + exit 1 +fi + +debtype='official' +prefix='/usr' +gnomeprefix='/usr' +localstatedir='/var/lib' +pkgsuffix='' + +for dc_option +do + case "$dc_option" in + -*=*) dc_optarg=`echo "$dc_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; + *) dc_optarg= ;; + esac + + case "$dc_option" in + + --clean) + rm -f control rules *~ core *files *menu *substvars *.postinst *.debhelper + exit ;; + + --prefix=*) + prefix="$dc_optarg" ;; + + --localstatedir=*) + prefix="$dc_optarg" ;; + + --pkgsuffix=*) + pkgsuffix="$dc_optarg" ;; + + --gnome-prefix=*) + gnomeprefix="$dc_optarg" ;; + + --debtype=*) + debtype="$dc_optarg" ;; + + *) + cat <&2 +Usage: debconfigure [options] +Options: [defaults in brackets after descriptions] + --help print this message + --clean remove generated files + --prefix=PREFIX install files under under PREFIX dir [/usr] + --gnome-prefix=PREFIX look for GNOME under PREFIX dir [/usr] + --localstatedir=DIR directory for things like game scores [/var/lib] + --pkgsuffix=SUFFIX append SUFFIX onto package names [] + --debtype=DEBTYPE enable macros with the name of DEBTYPE [official] +EOF + exit ;; + + esac +done + +# Strip leading slash +prefix=`expr $prefix : '/\(.*\)'` +gnomeprefix=`expr $gnomeprefix : '/\(.*\)'` +localstatedir=`expr $localstatedir : '/\(.*\)'` + +for infile in `ls control.in rules.in` +do + tofile=`expr $infile : '\(.*\)\.in'` + cat $infile | \ + sed "s,@SUFFIX@,$pkgsuffix,g" | \ + sed "s,@PREFIX@,$prefix,g" | \ + sed "s,@GNOMEPREFIX@,$gnomeprefix,g" | \ + sed "s,@LOCALSTATEDIR@,$localstatedir,g" | \ + sed "s,%$debtype>,," | sed '/^%/d' > $tofile +done +chmod +x rules + +for filesfile in `ls *.files.in` +do + tofile=`expr $filesfile : '\(.*\)\.files\.in'` + tofile=`echo $tofile$pkgsuffix.files` + cat $filesfile | \ + sed "s,@SUFFIX@,$pkgsuffix,g" | \ + sed "s,@PREFIX@,$prefix,g" | \ + sed "s,@GNOMEPREFIX@,$gnomeprefix,g" | \ + sed "s,@LOCALSTATEDIR@,$localstatedir,g" | \ + sed "s,%$debtype>,," | sed '/^%/d' > $tofile +done + +for postinst in libgtop2$pkgsuffix +do + +cat > $postinst.postinst < diff --git a/debian/libgtop2.copyright b/debian/libgtop2.copyright new file mode 100644 index 00000000..6a89b695 --- /dev/null +++ b/debian/libgtop2.copyright @@ -0,0 +1,15 @@ + +libgtop is released under the GPL. +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in /usr/share/common-licenses/GPL + +Original authors: Radek Doulík + Martin Baulig + +The source used was downloaded from +ftp://ftp.gnome.org/pub/GNOME/sources/hidden/gnome-1.0.50pre/libgtop-1.0.5.tar.gz + +Originally Debianised by Jim Pick +Then re-Debianised in October 1998 by Martin Schulze + before being taken over by Ian Lynagh + in November 1998. diff --git a/debian/libgtop2.docs b/debian/libgtop2.docs new file mode 100644 index 00000000..2008e817 --- /dev/null +++ b/debian/libgtop2.docs @@ -0,0 +1,5 @@ +debian/RELNOTES-0.25 +debian/RELNOTES-1.0 +debian/NEWS +debian/AUTHORS +debian/changelog diff --git a/debian/rules.in b/debian/rules.in new file mode 100755 index 00000000..b60375c2 --- /dev/null +++ b/debian/rules.in @@ -0,0 +1,114 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. +# This version is for a hypothetical package that builds an +# architecture-dependant package, as well as an architecture-independent +# package. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +i=$(shell pwd)/debian/tmp +b=$(shell pwd)/debian/build + +configure: configure.in + @echo "--- Making configure script and configuring" + chmod +x autogen.sh + ./autogen.sh --prefix=/@PREFIX@ --with-gnome=/@GNOMEPREFIX@ \ + --localstatedir=/@LOCALSTATEDIR@ + +Makefile: configure + @echo "--- Configuring" + ./configure --prefix=/@PREFIX@ --with-gnome=/@GNOMEPREFIX@ \ + --localstatedir=/@LOCALSTATEDIR@ + +build: configure Makefile build-debstamp +build-debstamp: + @echo "--- Compiling" + dh_testdir + $(MAKE) all + touch build-debstamp + +clean: Makefile + @echo "--- Cleaning" + dh_testdir + -rm -rf static shared + -rm -f build-debstamp install-debstamp + -make distclean + -rm -f `find . -name "*~"` + -rm -rf `find . -name "\.deps"` + -rm -rf `find . -name "\.libs"` + -rm -rf `find . -name "*\.rej"` + -rm -rf debian/tmp `find debian/* -type d ! -name CVS` debian/files* core + -rm -f debian/*substvars + +install: build install-debstamp +install-debstamp: + @echo "--- Installing" + dh_testdir + dh_testroot + dh_clean + rm -rf $(b) + $(MAKE) install prefix=$(i)/@PREFIX@ exec_prefix=$(i)/@PREFIX@ \ + localstatedir=$(i)/@LOCALSTATEDIR@ + touch install-debstamp + +install-save: install + rm -rf $(i).saved + cp -a $(i) $(i).saved + +install-saved: + rm -rf $(i) + cp -a $(i).saved $(i) + rm -rf $(b) + touch install-debstamp + +binary-indep: build install + +binary-arch: build install \ + libgtop2@SUFFIX@ \ + libgtop-dev@SUFFIX@ + +# +# libgtop2@SUFFIX@ +# + +libgnome2@SUFFIX@: install + @echo "--- Building: $@" + dh_installdocs -p$@ -P$(b)/$@ README NEWS AUTHORS + dh_installchangelogs -p$@ -P$(b)/$@ ChangeLog + dh_movefiles -p$@ -P$(b)/$@ + dh_strip -p$@ -P$(b)/$@ + dh_compress -p$@ -P$(b)/$@ + dh_fixperms -p$@ -P$(b)/$@ + dh_installdeb -p$@ -P$(b)/$@ + dh_shlibdeps -p$@ -P$(b)/$@ + dh_gencontrol -p$@ -P$(b)/$@ + dh_makeshlibs -p$@ -P$(b)/$@ -V + dh_md5sums -p$@ -P$(b)/$@ + dh_builddeb -p$@ -P$(b)/$@ + +# +# libgtop-dev +# + +libgtop-dev@SUFFIX@: install + @echo "--- Building: $@" + mkdir -p $(b)/$@/usr/doc + cd $(b)/$@/usr/doc; ln -s libgtop2@SUFFIX@ $@ + dh_movefiles -p$@ -P$(b)/$@ + dh_strip -p$@ -P$(b)/$@ + dh_compress -p$@ -P$(b)/$@ + dh_fixperms -p$@ -P$(b)/$@ + dh_installdeb -p$@ -P$(b)/$@ + dh_shlibdeps -p$@ -P$(b)/$@ + dh_gencontrol -p$@ -P$(b)/$@ + dh_makeshlibs -p$@ -P$(b)/$@ -V + dh_undocumented -p$@ -P$(b)/$@ \ + libgtop-config.1 + dh_md5sums -p$@ -P$(b)/$@ + dh_builddeb -p$@ -P$(b)/$@ + +binary: binary-indep binary-arch +.PHONY: binary clean binary-indep binary-arch build install install-save install-saved + +