diff options
author | Martin Baulig <martin@src.gnome.org> | 2000-01-14 14:47:53 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 2000-01-14 14:47:53 +0000 |
commit | d8aa36d637163da65dd9c3a30f8c60eec6daba9a (patch) | |
tree | 00a0317804b347294335d73b2d2c96af003fae93 /debian | |
parent | 9deecf345e044bd5a274a7e7a577f91b4ae142ad (diff) | |
download | libgtop-d8aa36d637163da65dd9c3a30f8c60eec6daba9a.tar.gz |
First version of a debian/ directory.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 119 | ||||
-rw-r--r-- | debian/control.in | 33 | ||||
-rwxr-xr-x | debian/debconfigure | 109 | ||||
-rw-r--r-- | debian/libgtop-config.1 | 34 | ||||
-rw-r--r-- | debian/libgtop-dev.files | 60 | ||||
-rw-r--r-- | debian/libgtop-dev.files.in | 60 | ||||
-rw-r--r-- | debian/libgtop2.README.Debian | 5 | ||||
-rw-r--r-- | debian/libgtop2.copyright | 15 | ||||
-rw-r--r-- | debian/libgtop2.docs | 5 | ||||
-rwxr-xr-x | debian/rules.in | 114 |
10 files changed, 554 insertions, 0 deletions
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 <martin@home-of-linux.org> Fri, 14 Jan 2000 15:32:48 +0100 + +libgtop (1.0.6-1) unstable; urgency=low + * New upstream source + + -- Ian Lynagh (wibble) <igloo@debian.org> 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) <igloo@debian.org> 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) <igloo@debian.org> 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 <ian@lynagh.demon.co.uk> 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 <ian@lynagh.demon.co.uk> 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 <jules@debian.org> Thu, 4 Mar 1999 22:34:12 +0000 + +libgtop (0.99.2-0.2) unstable; urgency=low + + * Oops, forgot some files. + + -- Jim Pick <jim@jimpick.com> 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 <jim@jimpick.com> 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 <ian@lynagh.demon.co.uk> 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 <jim@jimpick.com> 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 <ian@lynagh.demon.co.uk> 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 <ian@lynagh.demon.co.uk> Fri, 16 Oct 1998 05:30:16 +0200 + +libgtop (0.26.2-1) unstable; urgency=low + + * New upstream version + * Non-maintainer release + + -- Martin Schulze <joey@finlandia.infodrom.north.de> Fri, 16 Oct 1998 05:30:16 +0200 + +libgtop (0.26.0-1) unstable; urgency=low + + * Initial Release. + + -- Jim Pick <jim@jimpick.com> 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 <martin@home-of-linux.org> +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 <jim@jimpick.com>, GPL'd of course. +# Adjusted for LibGTop by Martin Baulig <martin@home-of-linux.org> +# + +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 <<EOF 1>&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 <<EOF +#! /bin/sh + +set -e +ldconfig + +#DEBHELPER# +EOF + +done + diff --git a/debian/libgtop-config.1 b/debian/libgtop-config.1 new file mode 100644 index 00000000..b58d9689 --- /dev/null +++ b/debian/libgtop-config.1 @@ -0,0 +1,34 @@ +.TH GTOP l "15 September 1999" +.SH NAME +\fBlibgtop-config\fP \- libgtop libraries and component information retrieval. +.SH SYNTAX +.B libgtop-config +.RI [ --version ] +.RI [ --config ] +.RI [ --features-def-file ] +.SH DESCRIPTION +.B libgtop-config +is used to retrieve information from installed libraries in the system. + +This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. +.LP +.SH OPTIONS +.TP +.B \-\-version +.PD +Prints the version of libgtop that you're using. +.TP +.B \-\-config +.PD +Prints the location of libgtopConf.sh. +.TP +.B \-\-version +.PD +Prints the location of libgtop-features.def. +.SH BUGS +None known + +.SH AUTHORS +Martin Baulig (martin@home-of-linux.org) +.TP +Josh Sled (jsled@scam.XCF.Berkeley.EDU) diff --git a/debian/libgtop-dev.files b/debian/libgtop-dev.files new file mode 100644 index 00000000..b5bbc604 --- /dev/null +++ b/debian/libgtop-dev.files @@ -0,0 +1,60 @@ +usr/lib/libgtop.a +usr/lib/libgtop_common.a +usr/lib/libgtop_names.a +usr/lib/libgtop_suid_common.a +usr/lib/libgtop_sysdeps.a +usr/lib/libgtop.la +usr/lib/libgtop_common.la +usr/lib/libgtop_names.la +usr/lib/libgtop_suid_common.la +usr/lib/libgtop_sysdeps.la +usr/lib/libgtopConf.sh +usr/lib/libgtop.so +usr/lib/libgtop_common.so +usr/lib/libgtop_names.so +usr/lib/libgtop_suid_common.so +usr/lib/libgtop_sysdeps.so +usr/include/glibtop/close.h +usr/include/glibtop/command.h +usr/include/glibtop/cpu.h +usr/include/glibtop/error.h +usr/include/glibtop/fsusage.h +usr/include/glibtop/global.h +usr/include/glibtop/gnuserv.h +usr/include/glibtop/inodedb.h +usr/include/glibtop/loadavg.h +usr/include/glibtop/mem.h +usr/include/glibtop/mountlist.h +usr/include/glibtop/msg_limits.h +usr/include/glibtop/netload.h +usr/include/glibtop/open.h +usr/include/glibtop/parameter.h +usr/include/glibtop/ppp.h +usr/include/glibtop/procargs.h +usr/include/glibtop/prockernel.h +usr/include/glibtop/proclist.h +usr/include/glibtop/procmap.h +usr/include/glibtop/procmem.h +usr/include/glibtop/procsegment.h +usr/include/glibtop/procsignal.h +usr/include/glibtop/procstate.h +usr/include/glibtop/proctime.h +usr/include/glibtop/procuid.h +usr/include/glibtop/read.h +usr/include/glibtop/read_data.h +usr/include/glibtop/sem_limits.h +usr/include/glibtop/shm_limits.h +usr/include/glibtop/signal.h +usr/include/glibtop/swap.h +usr/include/glibtop/sysdeps.h +usr/include/glibtop/sysinfo.h +usr/include/glibtop/types.h +usr/include/glibtop/union.h +usr/include/glibtop/uptime.h +usr/include/glibtop/version.h +usr/include/glibtop/write.h +usr/include/glibtop/xmalloc.h +usr/include/glibtop.h +usr/include/glibtop_machine.h +usr/include/glibtop_server.h +usr/bin/libgtop-config diff --git a/debian/libgtop-dev.files.in b/debian/libgtop-dev.files.in new file mode 100644 index 00000000..b5bbc604 --- /dev/null +++ b/debian/libgtop-dev.files.in @@ -0,0 +1,60 @@ +usr/lib/libgtop.a +usr/lib/libgtop_common.a +usr/lib/libgtop_names.a +usr/lib/libgtop_suid_common.a +usr/lib/libgtop_sysdeps.a +usr/lib/libgtop.la +usr/lib/libgtop_common.la +usr/lib/libgtop_names.la +usr/lib/libgtop_suid_common.la +usr/lib/libgtop_sysdeps.la +usr/lib/libgtopConf.sh +usr/lib/libgtop.so +usr/lib/libgtop_common.so +usr/lib/libgtop_names.so +usr/lib/libgtop_suid_common.so +usr/lib/libgtop_sysdeps.so +usr/include/glibtop/close.h +usr/include/glibtop/command.h +usr/include/glibtop/cpu.h +usr/include/glibtop/error.h +usr/include/glibtop/fsusage.h +usr/include/glibtop/global.h +usr/include/glibtop/gnuserv.h +usr/include/glibtop/inodedb.h +usr/include/glibtop/loadavg.h +usr/include/glibtop/mem.h +usr/include/glibtop/mountlist.h +usr/include/glibtop/msg_limits.h +usr/include/glibtop/netload.h +usr/include/glibtop/open.h +usr/include/glibtop/parameter.h +usr/include/glibtop/ppp.h +usr/include/glibtop/procargs.h +usr/include/glibtop/prockernel.h +usr/include/glibtop/proclist.h +usr/include/glibtop/procmap.h +usr/include/glibtop/procmem.h +usr/include/glibtop/procsegment.h +usr/include/glibtop/procsignal.h +usr/include/glibtop/procstate.h +usr/include/glibtop/proctime.h +usr/include/glibtop/procuid.h +usr/include/glibtop/read.h +usr/include/glibtop/read_data.h +usr/include/glibtop/sem_limits.h +usr/include/glibtop/shm_limits.h +usr/include/glibtop/signal.h +usr/include/glibtop/swap.h +usr/include/glibtop/sysdeps.h +usr/include/glibtop/sysinfo.h +usr/include/glibtop/types.h +usr/include/glibtop/union.h +usr/include/glibtop/uptime.h +usr/include/glibtop/version.h +usr/include/glibtop/write.h +usr/include/glibtop/xmalloc.h +usr/include/glibtop.h +usr/include/glibtop_machine.h +usr/include/glibtop_server.h +usr/bin/libgtop-config diff --git a/debian/libgtop2.README.Debian b/debian/libgtop2.README.Debian new file mode 100644 index 00000000..d10dfd1f --- /dev/null +++ b/debian/libgtop2.README.Debian @@ -0,0 +1,5 @@ + +The Debian package of libgtop, a GNOME library. + +-- +Ian Lynagh <ian@lynagh.demon.co.uk> 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 <doulik@karlin.mff.cuni.cz> + Martin Baulig <martin@home-of-linux.org> + +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 <jim@jimpick.com> +Then re-Debianised in October 1998 by Martin Schulze +<joey@finlandia.infodrom.north.de> before being taken over by Ian Lynagh +<ian@lynagh.demon.co.uk> 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 + + |