From 70083671824589998eb60feadb1063f4c5b79931 Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Sun, 16 Sep 2018 22:58:59 +0200 Subject: Debian support. --- debian/README.debian | 13 +++ debian/changelog | 207 ++++++++++++++++++++++++++++++++++ debian/changelog.old | 130 ++++++++++++++++++++++ debian/compat | 1 + debian/compface.files | 4 + debian/control | 38 +++++++ debian/control.common | 38 +++++++ debian/control.libc5 | 21 ++++ debian/control.old | 58 ++++++++++ debian/copyright | 109 ++++++++++++++++++ debian/dirs | 8 ++ debian/libcompface1-altdev.files | 4 + debian/libcompface1.files | 4 + debian/libcompface1.postinst | 8 ++ debian/libcompface1.shlibs | 1 + debian/libcompfaceg1-dev.files | 6 + debian/libcompfaceg1.files | 3 + debian/libcompfaceg1.postinst | 13 +++ debian/libcompfaceg1.shlibs | 1 + debian/p | 57 ++++++++++ debian/rules | 232 +++++++++++++++++++++++++++++++++++++++ debian/semantic.cache | 15 +++ debian/shlibs.local | 1 + 23 files changed, 972 insertions(+) create mode 100644 debian/README.debian create mode 100644 debian/changelog create mode 100644 debian/changelog.old create mode 100644 debian/compat create mode 100644 debian/compface.files create mode 100644 debian/control create mode 100644 debian/control.common create mode 100644 debian/control.libc5 create mode 100644 debian/control.old create mode 100644 debian/copyright create mode 100644 debian/dirs create mode 100644 debian/libcompface1-altdev.files create mode 100644 debian/libcompface1.files create mode 100644 debian/libcompface1.postinst create mode 100644 debian/libcompface1.shlibs create mode 100644 debian/libcompfaceg1-dev.files create mode 100644 debian/libcompfaceg1.files create mode 100644 debian/libcompfaceg1.postinst create mode 100644 debian/libcompfaceg1.shlibs create mode 100644 debian/p create mode 100644 debian/rules create mode 100644 debian/semantic.cache create mode 100644 debian/shlibs.local (limited to 'debian') diff --git a/debian/README.debian b/debian/README.debian new file mode 100644 index 0000000..a2e743b --- /dev/null +++ b/debian/README.debian @@ -0,0 +1,13 @@ +libcompface for DEBIAN +---------------------- + +To generate a X-Face header from an arbitrary sized jpg face.jpg, use: + + djpeg face.jpg | pnmscale -width=48 -height=48 | ppmtopgm | pgmtopbm | pbmtoxbm | compface + +There have been some trouble reported about using the compface lib, se +http://www.debian.org/Bugs/db/12/12302.html, but the utilities provided with +it seems to be working fine. This bug has been forwarde to the upstream +author, but he's not replyed... + +Hakan Ardo , Thu, 18 Sep 1997 12:37:18 +0200 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..df2a5f1 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,207 @@ +libcompface (1:1.5.2-5) unstable; urgency=high + + * Fixed bufferoverflow when reading xbm files (closes: #534973) + + -- Hakan Ardo Mon, 29 Jun 2009 18:49:13 +0200 + +libcompface (1:1.5.2-4) unstable; urgency=low + + * Converted from debmake to debhelper (closes: #372969) + * Changed $(PWD) to $(CURDIR) to build under sudo (closes: #399390) + + -- Hakan Ardo Mon, 20 Nov 2006 21:06:20 +0100 + +libcompface (1:1.5.2-3) unstable; urgency=low + + * Applied patch from Matej Vela fixing XBM input + (closes: #349015) + * Applied patch from Matej Vela fixing include file + problem (closes: #12302) + + -- Hakan Ardo Sat, 4 Feb 2006 16:07:17 +0100 + +libcompface (1:1.5.2-2) unstable; urgency=low + + * compface now works again (closes: #348326) + + -- Hakan Ardo Mon, 16 Jan 2006 21:54:47 +0100 + +libcompface (1:1.5.2-1) unstable; urgency=low + + * Upgraded to v1.5.2 (closes: #261932) + * Fixed make up-to-dateness confusion (closes: #261932) + * Removed /usr/doc symlinks (closes: #322788) + * Added example on how to generate header from jpeg to README.Debian + (closes: #199100) + * Section information included in the control file (closes: #288824) + * libtool or *-config tools are not used (closes: #340392) + + -- Hakan Ardo Tue, 27 Dec 2005 16:53:12 +0100 + +libcompface (1989.11.11-24) unstable; urgency=low + + * Fixed local link path (closes: #147607) + + -- Hakan Ardo Fri, 5 Jul 2002 23:41:21 +0200 + +libcompface (1989.11.11-23) unstable; urgency=low + + * Spelling errors fixed (Bug #124514, #124920, #124921) + + -- Hakan Ardo Sat, 12 Jan 2002 15:00:58 +0100 + +libcompface (1989.11.11-22) unstable; urgency=low + + * Applied Marcus Brinkmans patch removing arch specific libc5 stuff + and fixing the errno handling to be more portable ( Bug #106381, + #104138 ) + + -- Hakan Ardo Thu, 26 Jul 2001 09:49:53 +0200 + +libcompface (1989.11.11-21) unstable; urgency=low + + * Fixed bad manpagelink (Bug #102741) + + -- Hakan Ardo Sat, 7 Jul 2001 21:48:48 +0200 + +libcompface (1989.11.11-20) unstable; urgency=low + + * Readded Build-Depends as they dissapeard (Bug #92477 #98374) + * Rules no longer overwrites LD_LIBRARY_PATH to work with fakeroot + (Bug #98182) + * Added uncompface.3 link (Bug #99558) + + -- Hakan Ardo Sun, 24 Jun 2001 16:01:18 +0200 + +libcompface (1989.11.11-19) unstable; urgency=low + + * compface.o now compiled in (Bug #93269) + + -- Hakan Ardo Sun, 20 May 2001 13:08:18 +0200 + +libcompface (1989.11.11-18) unstable; urgency=low + + * Added Build-Depends (Bug#92477) + * Recompied with stable binutils to fix corrupted libcompface.a + archive (Bug#92904) + * Now uses dh_strip instead of strip + + -- Hakan Ardo Sat, 7 Apr 2001 15:40:49 +0200 + +libcompface (1989.11.11-17.5) unstable; urgency=low + + * Updated the copyright file with another clearfication from the + author + * ldconfig now only called if configure param given + * Walked through the standars updates + + -- Hakan Ardo Fri, 2 Mar 2001 18:04:30 +0100 + +libcompface (1989.11.11-17.4) unstable; urgency=low + + * Fixed manual compresiton to work with build-daemons aswell + + -- Hakan Ardo Sun, 19 Nov 2000 13:13:51 +0100 + +libcompface (1989.11.11-17.3) unstable; urgency=low + + * Updated copright regarding modified versions (Bug #72019) + * compface now depends on libcompfaceg1 (Bug #71954) + + -- Hakan Ardo Sun, 29 Oct 2000 15:36:44 +0100 + +libcompface (1989.11.11-17.2) unstable; urgency=low + + * Manpages now claims xbm images can be handled (Bug #60143) + * Man pages and docs moved to /usr/share + + -- Hakan Ardo Thu, 10 Aug 2000 14:29:52 +0200 + +libcompface (1989.11.11-17.1) unstable; urgency=low + + * compface now uses shlibs:Depends instead of hardcoded depends (Bug #43029) + * Incoperated Tor's changes into the main release stream (Bug#30119) + + -- Hakan Ardo Mon, 30 Nov 1998 14:33:44 +0100 + +libcompface (1989.11.11-16.1) unstable; urgency=low + + * Modified 'rules' to support new ports (such as debian-arm), + without libc5 and 'altdev'. + + -- Tor Slettnes Sat, 28 Nov 1998 12:59:01 -0800 + +libcompface (1989.11.11-16) unstable; urgency=low + + * Added some info in README.debian + * changelog.Debian now included in all packages + * compface should get right dependencis even if not installed (Bug ##17063) + + -- Hakan Ardo Wed, 21 Oct 1998 17:27:03 +0200 + +libcompface (1989.11.11-15) frozen unstable; urgency=low + + * Rerelease to get into frozen too. + + -- Hakan Ardo Mon, 16 Mar 1998 22:43:13 +0100 + +libcompface (1989.11.11-14) unstable; urgency=low + + * Walked through checklist and updated Standards-Version to 2.4.0.0 + * Renamed libcompfaceg1's doc dir to match pkg name + * Removed leading spaces in descriptions + * Applied Richard Braakman 's fixes to the package + descriptions (Bug #18904) + * Order of so lib and links fixed. (Bug #19349) + * Fixed /usr/doc link for libcompface1-altdev. + * Sets LD_LIBRARY_PATH to shared/ before compiling. + * Added a shlibs.local file. + + -- Hakan Ardo Fri, 13 Mar 1998 18:33:44 +0100 + +libcompface (1989.11.11-13) unstable; urgency=low + + * i486 no longer hardcoded in the rules file. Bug #16717. + * Recompiled (again) to get rid of compface's dependencis on libc5 + and libcompface1. Bug #16687. + + -- Hakan Ardo Mon, 12 Jan 1998 11:43:39 +0100 + +libcompface (1989.11.11-12) unstable; urgency=low + + * Man pages now included in altdev package too. + * Provided links in /usr/doc for all the package names + * Moved the /usr/doc stuff from the dev package to the so lib packages. Fixes Bug #15147. + * Copyright file updated to relect the fact that the original package is splited into several debian packages + * The libs are now stripped. Fixes Bug #15670. + * Changed headder into header in the descriptions. + * libcompface1 now depends on libc5 (>= 5.4.0.0). Fixes bug #14790. + * Darren fixed this (Bug #14632): + 1. The Makefile invocation uses LDFLAGS which isn't in the Makefile and + the link doesn't use implicit rules, so it doesn't get used. + 2. '-D_REENTRANT' needs to be passed in CFLAGS for the shared objects. + 3. '-lc' needs to be passed to the link stage of the shared library so + that ldso knows what libc it goes to. + 4. The sequential commands linked by ';' should instead be linked by + '&&'. This ensures that if a command fails, that rule fails. + 5. make install is invoked in the debian/rules binary-arch target when + the install stuff has been done already and the install isn't correct + for the current Makefile. + I where unable to get your patch accepted so I had to apply it by hand. I + hope I got it all right... + + -- Hakan Ardo Mon, 22 Dec 1997 16:25:43 +0100 + +libcompface (1989.11.11-11) unstable; urgency=low + + * Changed verson to be y2k compatible fixes bug #12680 + * Changed name of source package from compface to libcompface. + * Compleatly repacked and splitet into several bin packages: + libcompfaceg1-dev - libc6 devel + libcompfaceg1 - libc6 runtime + libcompface1-altdev - libc5 devel + libcompface1 - libc5 runtime + compface - user tools + This should fix bug #12428 and #13103. + + -- Hakan Ardo Thu, 18 Sep 1997 12:37:18 +0200 diff --git a/debian/changelog.old b/debian/changelog.old new file mode 100644 index 0000000..323ca84 --- /dev/null +++ b/debian/changelog.old @@ -0,0 +1,130 @@ +libcompface (1989.11.11-18) unstable; urgency=low + + * Added Build-Depends (Bug#92477) + * Recompied with stable binutils to fix corrupted + libcompface.a archive (Bug#92904) + + -- Hakan Ardo Sat, 7 Apr 2001 15:01:57 +0200 + +libcompface (1989.11.11-17.5) unstable; urgency=low + + * Updated the copyright file with another clearfication from the + author + * ldconfig now only called if configure param given + * Walked through the standars updates + + -- Hakan Ardo Fri, 2 Mar 2001 18:04:30 +0100 + +libcompface (1989.11.11-17.4) unstable; urgency=low + + * Fixed manual compresiton to work with build-daemons aswell + + -- Hakan Ardo Sun, 19 Nov 2000 13:13:51 +0100 + +libcompface (1989.11.11-17.3) unstable; urgency=low + + * Updated copright regarding modified versions (Bug #72019) + * compface now depends on libcompfaceg1 (Bug #71954) + + -- Hakan Ardo Sun, 29 Oct 2000 15:36:44 +0100 + +libcompface (1989.11.11-17.2) unstable; urgency=low + + * Manpages now claims xbm images can be handled (Bug #60143) + * Man pages and docs moved to /usr/share + + -- Hakan Ardo Thu, 10 Aug 2000 14:29:52 +0200 + +libcompface (1989.11.11-17.1) unstable; urgency=low + + * compface now uses shlibs:Depends instead of hardcoded depends (Bug #43029) + * Incoperated Tor's changes into the main release stream (Bug#30119) + + -- Hakan Ardo Mon, 30 Nov 1998 14:33:44 +0100 + +libcompface (1989.11.11-16.1) unstable; urgency=low + + * Modified 'rules' to support new ports (such as debian-arm), + without libc5 and 'altdev'. + + -- Tor Slettnes Sat, 28 Nov 1998 12:59:01 -0800 + +libcompface (1989.11.11-16) unstable; urgency=low + + * Added some info in README.debian + * changelog.Debian now included in all packages + * compface should get right dependencis even if not installed (Bug ##17063) + + -- Hakan Ardo Wed, 21 Oct 1998 17:27:03 +0200 + +libcompface (1989.11.11-15) frozen unstable; urgency=low + + * Rerelease to get into frozen too. + + -- Hakan Ardo Mon, 16 Mar 1998 22:43:13 +0100 + +libcompface (1989.11.11-14) unstable; urgency=low + + * Walked through checklist and updated Standards-Version to 2.4.0.0 + * Renamed libcompfaceg1's doc dir to match pkg name + * Removed leading spaces in descriptions + * Applied Richard Braakman 's fixes to the package + descriptions (Bug #18904) + * Order of so lib and links fixed. (Bug #19349) + * Fixed /usr/doc link for libcompface1-altdev. + * Sets LD_LIBRARY_PATH to shared/ before compiling. + * Added a shlibs.local file. + + -- Hakan Ardo Fri, 13 Mar 1998 18:33:44 +0100 + +libcompface (1989.11.11-13) unstable; urgency=low + + * i486 no longer hardcoded in the rules file. Bug #16717. + * Recompiled (again) to get rid of compface's dependencis on libc5 + and libcompface1. Bug #16687. + + -- Hakan Ardo Mon, 12 Jan 1998 11:43:39 +0100 + +libcompface (1989.11.11-12) unstable; urgency=low + + * Man pages now included in altdev package too. + * Provided links in /usr/doc for all the package names + * Moved the /usr/doc stuff from the dev package to the so lib packages. Fixes Bug #15147. + * Copyright file updated to relect the fact that the original package is splited into several debian packages + * The libs are now stripped. Fixes Bug #15670. + * Changed headder into header in the descriptions. + * libcompface1 now depends on libc5 (>= 5.4.0.0). Fixes bug #14790. + * Darren fixed this (Bug #14632): + 1. The Makefile invocation uses LDFLAGS which isn't in the Makefile and + the link doesn't use implicit rules, so it doesn't get used. + 2. '-D_REENTRANT' needs to be passed in CFLAGS for the shared objects. + 3. '-lc' needs to be passed to the link stage of the shared library so + that ldso knows what libc it goes to. + 4. The sequential commands linked by ';' should instead be linked by + '&&'. This ensures that if a command fails, that rule fails. + 5. make install is invoked in the debian/rules binary-arch target when + the install stuff has been done already and the install isn't correct + for the current Makefile. + I where unable to get your patch accepted so I had to apply it by hand. I + hope I got it all right... + + -- Hakan Ardo Mon, 22 Dec 1997 16:25:43 +0100 + +libcompface (1989.11.11-11) unstable; urgency=low + + * Changed verson to be y2k compatible fixes bug #12680 + * Changed name of source package from compface to libcompface. + * Compleatly repacked and splitet into several bin packages: + libcompfaceg1-dev - libc6 devel + libcompfaceg1 - libc6 runtime + libcompface1-altdev - libc5 devel + libcompface1 - libc5 runtime + compface - user tools + This should fix bug #12428 and #13103. + + -- Hakan Ardo Thu, 18 Sep 1997 12:37:18 +0200 + +Local variables: +mode: debian-changelog +add-log-mailing-address: "hakan@debian.org" +End: diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/compface.files b/debian/compface.files new file mode 100644 index 0000000..e5738b0 --- /dev/null +++ b/debian/compface.files @@ -0,0 +1,4 @@ +usr/bin/ +usr/share/man/man1/ +usr/share/doc/compface/ + diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..2a142e1 --- /dev/null +++ b/debian/control @@ -0,0 +1,38 @@ +Source: libcompface +Section: mail +Priority: optional +Maintainer: Hakan Ardo +Standards-Version: 3.2.1.0 +Build-Depends: debhelper (>=5) + +Package: libcompfaceg1-dev +Section: devel +Priority: optional +Architecture: any +Depends: libcompfaceg1, libc6-dev +Conflicts: compface (<= 89.11.11-10) +Description: Compress/decompress images for mailheaders, libc6 devel + Converts 48x48 .xbm format (X bitmap) files to a compressed format + that can be placed in your X-Face: mail header. Some mailreaders, + like exmh will then display this image when the user is reading your mail. + +Package: libcompfaceg1 +Section: libs +Priority: optional +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: compface (<= 89.11.11-10) +Description: Compress/decompress images for mailheaders, libc6 runtime + Converts 48x48 .xbm format (X bitmap) files to a compressed format + that can be placed in your X-Face: mail header. Some mailreaders, + like exmh will then display this image when the user is reading your mail. + +Package: compface +Section: mail +Priority: optional +Architecture: any +Depends: ${shlibs:Depends} +Description: Compress/decompress images for mailheaders, user tools + Converts 48x48 .xbm format (X bitmap) files to a compressed format + that can be placed in your X-Face: mail header. Some mailreaders, + like exmh will then display this image when the user is reading your mail. diff --git a/debian/control.common b/debian/control.common new file mode 100644 index 0000000..2a142e1 --- /dev/null +++ b/debian/control.common @@ -0,0 +1,38 @@ +Source: libcompface +Section: mail +Priority: optional +Maintainer: Hakan Ardo +Standards-Version: 3.2.1.0 +Build-Depends: debhelper (>=5) + +Package: libcompfaceg1-dev +Section: devel +Priority: optional +Architecture: any +Depends: libcompfaceg1, libc6-dev +Conflicts: compface (<= 89.11.11-10) +Description: Compress/decompress images for mailheaders, libc6 devel + Converts 48x48 .xbm format (X bitmap) files to a compressed format + that can be placed in your X-Face: mail header. Some mailreaders, + like exmh will then display this image when the user is reading your mail. + +Package: libcompfaceg1 +Section: libs +Priority: optional +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: compface (<= 89.11.11-10) +Description: Compress/decompress images for mailheaders, libc6 runtime + Converts 48x48 .xbm format (X bitmap) files to a compressed format + that can be placed in your X-Face: mail header. Some mailreaders, + like exmh will then display this image when the user is reading your mail. + +Package: compface +Section: mail +Priority: optional +Architecture: any +Depends: ${shlibs:Depends} +Description: Compress/decompress images for mailheaders, user tools + Converts 48x48 .xbm format (X bitmap) files to a compressed format + that can be placed in your X-Face: mail header. Some mailreaders, + like exmh will then display this image when the user is reading your mail. diff --git a/debian/control.libc5 b/debian/control.libc5 new file mode 100644 index 0000000..f3fc56b --- /dev/null +++ b/debian/control.libc5 @@ -0,0 +1,21 @@ + +Package: libcompface1-altdev +Section: devel +Priority: optional +Architecture: any +Depends: libcompface1, libc5-altdev +Description: Compress/decompress images for mailheaders, libc5 devel + Converts 48x48 .xbm format (X bitmap) files to a compressed format + that can be placed in your X-Face: mail header. Some mailreaders, + like exmh will then display this image when the user is reading your mail. + +Package: libcompface1 +Section: libs +Priority: optional +Architecture: any +Depends: libc5 (>= 5.4.0.0) +Conflicts: libc5-dev, compface (<= 89.11.11-10) +Description: Compress/decompress images for mailheaders, libc5 runtime + Converts 48x48 .xbm format (X bitmap) files to a compressed format + that can be placed in your X-Face: mail header. Some mailreaders, + like exmh will then display this image when the user is reading your mail. diff --git a/debian/control.old b/debian/control.old new file mode 100644 index 0000000..1e37b52 --- /dev/null +++ b/debian/control.old @@ -0,0 +1,58 @@ +Source: libcompface +Section: mail +Priority: optional +Maintainer: Hakan Ardo +Standards-Version: 2.4.0.0 + +Package: libcompfaceg1-dev +Section: devel +Priority: optional +Architecture: any +Depends: libcompfaceg1, libc6-dev +Conflicts: compface (<= 89.11.11-10) +Description: Compress/decompress images for mailheaders, libc6 devel + Converts 48x48 .xbm format (X bitmap) files to a compressed format + that can be placed in your X-Face: mail header. Some mailreaders, + like exmh will then display this image when the user is reading your mail. + +Package: libcompfaceg1 +Section: libs +Priority: optional +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: compface (<= 89.11.11-10) +Description: Compress/decompress images for mailheaders, libc6 runtime + Converts 48x48 .xbm format (X bitmap) files to a compressed format + that can be placed in your X-Face: mail header. Some mailreaders, + like exmh will then display this image when the user is reading your mail. + +Package: compface +Section: mail +Priority: optional +Architecture: any +Depends: ${shlibs:Depends} +Description: Compress/decompress images for mailheaders, user tools + Converts 48x48 .xbm format (X bitmap) files to a compressed format + that can be placed in your X-Face: mail header. Some mailreaders, + like exmh will then display this image when the user is reading your mail. + +Package: libcompface1-altdev +Section: devel +Priority: optional +Architecture: any +Depends: libcompface1, libc5-altdev +Description: Compress/decompress images for mailheaders, libc5 devel + Converts 48x48 .xbm format (X bitmap) files to a compressed format + that can be placed in your X-Face: mail header. Some mailreaders, + like exmh will then display this image when the user is reading your mail. + +Package: libcompface1 +Section: libs +Priority: optional +Architecture: any +Depends: libc5 (>= 5.4.0.0) +Conflicts: libc5-dev, compface (<= 89.11.11-10) +Description: Compress/decompress images for mailheaders, libc5 runtime + Converts 48x48 .xbm format (X bitmap) files to a compressed format + that can be placed in your X-Face: mail header. Some mailreaders, + like exmh will then display this image when the user is reading your mail. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..8bbf7d0 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,109 @@ +This is Debian GNU/Linux's prepackaged version of James Ashton's +compface utility, which provides 48x48x1 image compression +and decompression to allow the inclusion of face images within +mail headers using the field name `X-face: '. + +Following the debian policys James Ashton's original package is +split up into several binary debian packages: + + libcompfaceg1-dev - libc6 devel + libcompfaceg1 - libc6 runtime + compface - user tools + +They are all created form a single source package libcompface. + +This package was put together by me, Hakan Ardo + from the sourcecode I originaly obtained from +ftp.cs.indiana.edu:/pub/faces/compface/compface.tar.Z. Later updates to the +library were found at: + + http://ftp.xemacs.org/pub/xemacs/aux/compface-1.5.2.tar.gz + +I have applyed the compface patches found in the exmh-1.6.9-2 package: + +compface.patch: +The compface.patch file has a patch that teaches the compface +and uncompface programs how to read .xbm format (X bitmap) files, +instead of the arcane .ikon files it used before. + +And I have made som changes to the Makefile to compile and link the +library sharead added adding support for the Debian package maintenance +scheme, by adding various debian/* files. + + +Compface - 48x48x1 image compression and decompression +Copyright (c) James Ashton 1990. +Written 89/11/11 + +Feel free to distribute this source at will so long as the above +message and this message are included in full. + +This copyright message dosn't specify whether modified version is allowed, +but the following mail from the author does allow them: + +> From: James Ashton +> Subject: Re: Bug#72019: compface not DFSG +> Date: Wed, 20 Sep 2000 09:48:34 +1100 (EST) +> +> >On Tue, Sep 19, 2000 at 08:58:43AM -0400, Raul Miller wrote: +> >> Package: compface +> >> Version: 1989.11.11-17.1 +> >> Severity: important +> >> +> >> compface's copyright doesn't grant permission to +> >> distribute modified versions +> > +> >The compface copyright says: +> > +> >Feel free to distribute this source at will so long as the above +> >message and this message are included in full. +> > +> > +> >Which could be interpretated as it is allowed to distribute modified +> >versions of it. James Ashton is the original author, would you care to +> >clairify the matter, mr Ashton? +> +> I don't mind modified versions being distributed. Please included the +> original copyright notices as specified and also prominently note, if +> it is a modified version, the nature and author(s) of the +> modifications. +> -- +> James Ashton VK1XJA System Administrator +> http://wwwsyseng.anu.edu.au/~jaa Department of Systems Engineering +> Voice +61 2 6279 8675 Research School of Information Sciences and Engineering +> FAX +61 2 6279 8688 Australian National University +> Email James.Ashton@anu.edu.au Canberra ACT 0200 Australia +> + +Another peoblem with the copyright of this source code is that the +copyright message in the source files and in the readme file is conflicting. +The following mail from the author should clear that up: + +> From: James Ashton +> Subject: Re: libcompface license (again) +> Date: Thu, 22 Feb 2001 09:32:23 +1100 (EST) +> +> >Hi, +> >I'm maintaining the debian pkg of your compface lib, and I've talket to you +> >before about it's license. And now ouer legal people have found another +> >problem. The sourcefiles contains a diffrent copyright notice than the +> >redmefile. They say: +> > +> >> * Permission is given to distribute these sources, as long as the +> >> * copyright messages are not removed, and no monies are exchanged.=20 +> > +> >The problem is the last part "no monies are exchanged". As you probably=20 +> >know we do allow third party companies to produce debian CDs and sell them. +> >So this statement would inmply that we can't have your libcompface in +> debian +> >at all. +> +> I'm happy to remove the phrase no monies are exchanged' from the +> source and allow distribution as per the README file. Do you need more +> from me than just this email? +> -- +> James Ashton VK1XJA System Administrator +> http://wwwsyseng.anu.edu.au/~jaa Department of Systems Engineering +> Voice +61 2 6125 8675 Research School of Information Sciences and Engineering +> FAX +61 2 6125 8660 Australian National University +> Email James.Ashton@anu.edu.au Canberra ACT 0200 Australia diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..5b815f7 --- /dev/null +++ b/debian/dirs @@ -0,0 +1,8 @@ +usr/lib +usr/include +usr/man/man3 +usr/man/man1 +usr/bin +usr/lib/libc5-compat +usr/doc/libcompface +usr/doc/compface diff --git a/debian/libcompface1-altdev.files b/debian/libcompface1-altdev.files new file mode 100644 index 0000000..513af28 --- /dev/null +++ b/debian/libcompface1-altdev.files @@ -0,0 +1,4 @@ +usr/lib/libc5-compat/libcompface.so +usr/*-linuxlibc1/ +usr/doc/libcompface1-altdev + diff --git a/debian/libcompface1.files b/debian/libcompface1.files new file mode 100644 index 0000000..5215caa --- /dev/null +++ b/debian/libcompface1.files @@ -0,0 +1,4 @@ +usr/lib/libc5-compat/libcompface.so.1.0.0 +usr/lib/libc5-compat/libcompface.so.1 +usr/doc/libcompface1 + diff --git a/debian/libcompface1.postinst b/debian/libcompface1.postinst new file mode 100644 index 0000000..9477913 --- /dev/null +++ b/debian/libcompface1.postinst @@ -0,0 +1,8 @@ +#!/bin/sh + +if [ "$1" = "configure" ]; then + ldconfig +end + + +#DEBHELPER# diff --git a/debian/libcompface1.shlibs b/debian/libcompface1.shlibs new file mode 100644 index 0000000..3aa0c0b --- /dev/null +++ b/debian/libcompface1.shlibs @@ -0,0 +1 @@ +libcompface 1 libcompface1 diff --git a/debian/libcompfaceg1-dev.files b/debian/libcompfaceg1-dev.files new file mode 100644 index 0000000..f6af287 --- /dev/null +++ b/debian/libcompfaceg1-dev.files @@ -0,0 +1,6 @@ +usr/lib/libcompface.a +usr/lib/libcompface.so +usr/include/compface.h +usr/share/man/man3 + + diff --git a/debian/libcompfaceg1.files b/debian/libcompfaceg1.files new file mode 100644 index 0000000..215d765 --- /dev/null +++ b/debian/libcompfaceg1.files @@ -0,0 +1,3 @@ +usr/lib/libcompface.so.1.0.0 +usr/lib/libcompface.so.1 +usr/share/doc/libcompfaceg1 diff --git a/debian/libcompfaceg1.postinst b/debian/libcompfaceg1.postinst new file mode 100644 index 0000000..dbd5217 --- /dev/null +++ b/debian/libcompfaceg1.postinst @@ -0,0 +1,13 @@ +#!/bin/sh -e + +PACKAGE="libcompfaceg1" + +# FSSTND compatible symlinks +if [ "$1" = "configure" ]; then + # Fix libs + ldconfig +fi + +#DEBHELPER# + + diff --git a/debian/libcompfaceg1.shlibs b/debian/libcompfaceg1.shlibs new file mode 100644 index 0000000..56225f6 --- /dev/null +++ b/debian/libcompfaceg1.shlibs @@ -0,0 +1 @@ +libcompface 1 libcompfaceg1 diff --git a/debian/p b/debian/p new file mode 100644 index 0000000..d4296c7 --- /dev/null +++ b/debian/p @@ -0,0 +1,57 @@ + +--- controls/libcompface_1989.11.11-13 Sun Jan 25 21:15:01 1998 ++++ patched/libcompface_1989.11.11-13 Sun Feb 1 20:06:15 1998 +@@ -10,8 +10,8 @@ + Architecture: any + Depends: libcompfaceg1, libc6-dev + Conflicts: compface (<= 89.11.11-10) +-Description: Compres/decompres images for mailheaders, libc6 devel +- Converts 48x48 .xbm format (X bitmap) files inte a compressed format ++Description: Compress/decompress images for mailheaders, libc6 devel ++ Converts 48x48 .xbm format (X bitmap) files to a compressed format + that can be placed in your X-Face: mail header. Some mailreaders, + like exmh will then display this image when the user is reading your mail. + +@@ -21,8 +21,8 @@ + Architecture: any + Depends: ${shlibs:Depends} + Conflicts: compface (<= 89.11.11-10) +-Description: Compres/decompres images for mailheaders, libc6 runtime +- Converts 48x48 .xbm format (X bitmap) files inte a compressed format ++Description: Compress/decompress images for mailheaders, libc6 runtime ++ Converts 48x48 .xbm format (X bitmap) files to a compressed format + that can be placed in your X-Face: mail header. Some mailreaders, + like exmh will then display this image when the user is reading your mail. + +@@ -31,8 +31,8 @@ + Priority: optional + Architecture: any + Depends: libcompface1, libc5-altdev +-Description: Compres/decompres images for mailheaders, libc5 devel +- Converts 48x48 .xbm format (X bitmap) files inte a compressed format ++Description: Compress/decompress images for mailheaders, libc5 devel ++ Converts 48x48 .xbm format (X bitmap) files to a compressed format + that can be placed in your X-Face: mail header. Some mailreaders, + like exmh will then display this image when the user is reading your mail. + +@@ -42,8 +42,8 @@ + Architecture: any + Depends: libc5 (>= 5.4.0.0) + Conflicts: libc5-dev, compface (<= 89.11.11-10) +-Description: Compres/decompres images for mailheaders, libc5 runtime +- Converts 48x48 .xbm format (X bitmap) files inte a compressed format ++Description: Compress/decompress images for mailheaders, libc5 runtime ++ Converts 48x48 .xbm format (X bitmap) files to a compressed format + that can be placed in your X-Face: mail header. Some mailreaders, + like exmh will then display this image when the user is reading your mail. + +@@ -52,7 +52,7 @@ + Priority: optional + Architecture: any + Depends: ${shlibs:Depends} +-Description: Compres/decompres images for mailheaders, user tools +- Converts 48x48 .xbm format (X bitmap) files inte a compressed format ++Description: Compress/decompress images for mailheaders, user tools ++ Converts 48x48 .xbm format (X bitmap) files to a compressed format + that can be placed in your X-Face: mail header. Some mailreaders, + like exmh will then display this image when the user is reading your mail. diff --git a/debian/rules b/debian/rules new file mode 100644 index 0000000..6a32cc7 --- /dev/null +++ b/debian/rules @@ -0,0 +1,232 @@ +#!/usr/bin/make -f +# Made with the aid of debmake, by Christoph Lameter, +# based on the sample debian/rules file for GNU hello by Ian Jackson. + +SHELL = /bin/bash + +package=libcompface + +version=1.0.0 #$(shell expr `pwd` : '.*-\([0-9.]*\)') +version_major=1 #$(shell expr `pwd` : '.*-\([0-9]*\).[0-9.]*') +old_libpath := $(LD_LIBRARY_PATH) +LD_LIBRARY_PATH=shared:$(old_libpath) + + +build: build-libc6 + $(checkdir) + @echo '### Building binaries...' + $(MAKE) LDFLAGS="-s -L$(CURDIR)/shared" + touch build + +build-libc6: + $(checkdir) + @echo LD_LIBRARY_PATH = $(LD_LIBRARY_PATH) + @echo '### Building libc6/glibc2 libraries...' + + -mkdir shared static +# +# First build the shared library +# + cd shared && \ + $(MAKE) -f ../Makefile VPATH=".." srcdir=".." \ + LDFLAGS="-lc"\ + CFLAGS="-O2 -fPIC -pipe -D_BSD_SOURCE -D_REENTRANT" shared && \ + ln -sf $(package).so $(package).so.$(version_major) && \ + ln -sf $(package).so.$(version) $(package).so #&& \ +# strip --strip-unneeded $(package).so.$(version) +# +# Build the static library (it does not need Position Independent Code, +# which reserves one register; thus, without -fPIC we get more efficient +# code). +# + cd static && \ + $(MAKE) -f ../Makefile VPATH=".." srcdir=".." \ + CFLAGS="-O2 -pipe -D_BSD_SOURCE" LDFLAGS="-s" static #&& \ +# strip --strip-debug $(package).a + + touch build-libc6 + +build-libc5: + $(checkdir) + @echo LD_LIBRARY_PATH = $(LD_LIBRARY_PATH) + @echo '### Building libc5 libraries...' + + -cat debian/control.libc5 >> debian/control + -mkdir shared5 static5 +# +# First build the shared library +# + cd shared5 && \ + $(MAKE) -f ../Makefile VPATH=".." srcdir=".." \ + CC=$(avar)-linuxlibc1-gcc\ + LDFLAGS="-lc"\ + CFLAGS="-O2 -fPIC -pipe -D_BSD_SOURCE -D_REENTRANT" shared && \ + ln -sf $(package).so $(package).so.$(version_major) && \ + ln -sf $(package).so.$(version) $(package).so && \ + strip --strip-unneeded $(package).so.$(version) + +# +# Build the static library (it does not need Position Independent Code, +# which reserves one register; thus, without -fPIC we get more efficient +# code). +# + cd static5 && \ + $(MAKE) -f ../Makefile VPATH=".." srcdir=".." \ + CC=$(avar)-linuxlibc1-gcc\ + CFLAGS="-O2 -pipe -D_BSD_SOURCE" LDFLAGS="-s" static && \ + strip --strip-debug $(package).a + + touch build-libc5 + +clean: + $(checkdir) + -rm -rf static shared static5 shared5 + -rm -f build build-* + -make clean + -rm -f `find . -name "*~"` + -rm -rf debian/tmp `find debian/* -type d ! -name CVS` debian/files* core + -rm -f debian/*substvars + -cat debian/control.common > debian/control + -dh_clean + + +binary-indep: checkroot build + $(checkdir) +# There are no architecture-independent files to be uploaded +# generated by this package. If there were any they would be +# made here. + +binary-arch: checkroot build binary-common binary-libc6 + @echo '### Installing architecture dependent files...' +#make install DESTDIR=`pwd`/debian/tmp + + mkdir debian/tmp/usr/share + mkdir debian/tmp/usr/share/doc + mv debian/tmp/usr/man debian/tmp/usr/share/ + mv debian/tmp/usr/doc/compface debian/tmp/usr/share/doc/ + mv debian/tmp/usr/doc/libcompfaceg1 debian/tmp/usr/share/doc/ + cp debian/copyright debian/tmp/usr/share/doc/libcompfaceg1 + cp debian/README.debian debian/tmp/usr/share/doc/libcompfaceg1 + cp debian/changelog debian/tmp/usr/share/doc/libcompfaceg1/changelog.Debian + gzip -9 debian/tmp/usr/share/doc/libcompfaceg1/changelog.Debian + mv debian/tmp/usr/doc/libcompfaceg1-dev debian/tmp/usr/share/doc/ + #gzip -9 debian/tmp/usr/share/man/man1/compface.1 + rm debian/tmp/usr/share/man/man1/uncompface.1 + ln -s compface.1.gz debian/tmp/usr/share/man/man1/uncompface.1.gz +# gzip -9 debian/tmp/usr/share/man/man3/compface.3 + -rm debian/tmp/usr/share/man/man3/uncompface.3 + ln -s compface.3.gz debian/tmp/usr/share/man/man3/uncompface.3.gz + + #debstd + + + #-rm -rf debian/tmp/usr/man + #-rm -rf debian/tmp/usr/doc + #-rm -f debian/tmp/usr/share/doc/libcompface + #-rm -rf debian/tmp/usr/share/doc/libcompfaceg1 + #-rm -rf debian/tmp/usr/lib/libc5-compat + #-rm -rf debian/tmp/usr/share/man/man1 + #-rm -rf debian/tmp/usr/bin + #-rm -rf debian/tmp/usr/$(avar)-linuxlibc1 + #-rm -rf debian/tmp/usr/doc/libcompface + #-rm -rf debian/tmp/usr/share/doc/compface + #-rm -f debian/tmp/usr/share/doc/libcompfaceg1 + #-rm -rf debian/tmp/usr/doc/libcompface1 + #-rm -f debian/tmp/usr/doc/libcompface1-altdev + + dh_installdeb + dh_installdocs + dh_installman + + dh_movefiles + dh_installchangelogs + dh_compress + dh_fixperms + dh_strip + + dh_shlibdeps + dh_md5sums + + #dpkg-gencontrol -plibcompfaceg1-dev -isp + #chown -R root.root debian/tmp + #chmod -R go=rX debian/tmp + #dpkg --build debian/tmp .. + + dh_gencontrol + dh_builddeb + +binary-common: + $(checkdir) + @echo '### Installing common components...' + + -rm -rf debian/tmp `find debian/* -type d` + install -d debian/tmp + + cd debian/tmp && install -d usr/man/man3 usr/man/man1 usr/bin usr/doc/libcompface usr/doc/compface + + install -m644 compface.3 debian/tmp/usr/man/man3/ + install -m644 README debian/tmp/usr/doc/compface + install -m644 debian/copyright debian/tmp/usr/doc/compface + install -m644 debian/changelog debian/tmp/usr/doc/compface/changelog.Debian + gzip -9 debian/tmp/usr/doc/compface/changelog.Debian + + install -m644 compface.1 debian/tmp/usr/man/man1/ + ln -s compface.1 debian/tmp/usr/man/man1/uncompface.1 + install -m744 compface debian/tmp/usr/bin/ + install -m744 uncompface debian/tmp/usr/bin/ + + +binary-libc6: + @echo '### Installing libc6 components...' + + cd debian/tmp && install -d usr/lib usr/include + + install -m644 static/$(package).a debian/tmp/usr/lib/ + install -m644 compface.h debian/tmp/usr/include/ + + -ln -s $(package).so.$(version) debian/tmp/usr/lib/$(package).so + -ln -s $(package).so.$(version) debian/tmp/usr/lib/$(package).so.$(version_major) + + cp shared/$(package).so.$(version) debian/tmp/usr/lib + chmod 644 debian/tmp/usr/lib/$(package).so.$(version) + + -rm -r debian/tmp/usr/doc/libcompface + -mkdir debian/tmp/usr/doc/libcompfaceg1 + -ln -s libcompfaceg1 debian/tmp/usr/doc/libcompface + -ln -s libcompfaceg1 debian/tmp/usr/doc/libcompfaceg1-dev + + +binary-libc5: + @echo '### Installing libc5 components...' + + cd debian/tmp && install -d usr/lib/libc5-compat usr/$(avar)-linuxlibc1/{lib,include} + + install -m644 static5/$(package).a debian/tmp/usr/$(avar)-linuxlibc1/lib/ + install -m644 compface.h debian/tmp/usr/$(avar)-linuxlibc1/include/ + + -ln -s $(package).so.$(version) debian/tmp/usr/lib/libc5-compat/$(package).so + -ln -s $(package).so.$(version) debian/tmp/usr/lib/libc5-compat/$(package).so.$(version_major) + + cp shared5/$(package).so.$(version) debian/tmp/usr/lib/libc5-compat + chmod 644 debian/tmp/usr/lib/libc5-compat/$(package).so.$(version) + + -mkdir debian/tmp/usr/doc/libcompface1 + install -m644 debian/copyright debian/tmp/usr/doc/libcompface1 + install -m644 debian/changelog debian/tmp/usr/doc/libcompface1/changelog.Debian + gzip -9 debian/tmp/usr/doc/libcompface1/changelog.Debian + -ln -s libcompface1 debian/tmp/usr/doc/libcompface1-altdev + + +define checkdir + test -f debian/rules +endef + +# Below here is fairly generic really + +binary: binary-indep binary-arch + +checkroot: + $(checkdir) + test root = "`whoami`" + +.PHONY: binary binary-arch binary-indep clean checkroot diff --git a/debian/semantic.cache b/debian/semantic.cache new file mode 100644 index 0000000..4264079 --- /dev/null +++ b/debian/semantic.cache @@ -0,0 +1,15 @@ +;; Object debian/ +;; SEMANTICDB Tags save file +(semanticdb-project-database-file "debian/" + :tables (list + (semanticdb-table "rules" + :major-mode 'makefile-mode + :tags '(("SHELL" variable (:default-value ("/bin/bash")) nil [145 163]) ("package" variable (:default-value ("libcompface")) nil [164 184]) ("version" variable (:default-value ("1.0.0")) nil [185 239]) ("version_major" variable (:default-value ("1")) nil [239 302]) ("old_libpath" variable (:default-value ("$(LD_LIBRARY_PATH)")) nil [302 336]) ("LD_LIBRARY_PATH" variable (:default-value ("shared:$(old_libpath)")) nil [336 374]) ("build" function (:arguments ("build-libc6")) nil [376 498]) ("build-libc6" function nil nil [498 617]) ("build-libc5" function nil nil [1357 1469]) ("clean" function nil nil [2316 2595]) ("binary-indep" function (:arguments ("checkroot" "build")) nil [2597 2701]) ("binary-arch" function (:arguments ("checkroot" "build" "binary-common" "binary-libc6")) nil [2777 2928]) ("binary-common" function nil nil [4680 4754]) ("binary-libc6" function nil nil [5414 5473]) ("binary-libc5" function nil nil [6084 6143]) ("binary" function (:arguments ("binary-indep" "binary-arch")) nil [7079 7114]) ("checkroot" function nil nil [7114 7163])) + :file "rules" + :pointmax 7219 + ) + ) + :file "semantic.cache" + :semantic-tag-version "2.0pre3" + :semanticdb-version "2.0pre3" + ) diff --git a/debian/shlibs.local b/debian/shlibs.local new file mode 100644 index 0000000..56225f6 --- /dev/null +++ b/debian/shlibs.local @@ -0,0 +1 @@ +libcompface 1 libcompfaceg1 -- cgit v1.2.3-70-g09d2