From: spiro Date: Sun, 15 Jan 2012 12:52:39 +0000 (+0000) Subject: Update debian package generation. X-Git-Tag: V2.13.3~64 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1b40f35a6138e2fa0d699d1d8a0678fc8eb13fe0;p=cc65 Update debian package generation. Fix and update generation of debian packages to recent SVN versions. git-svn-id: svn://svn.cc65.org/cc65/trunk@5401 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/packages/debian/cc65-apple2.dirs b/packages/debian/cc65-apple2.dirs deleted file mode 100644 index bc5728aa5..000000000 --- a/packages/debian/cc65-apple2.dirs +++ /dev/null @@ -1,2 +0,0 @@ -usr/lib/cc65/include -usr/lib/cc65/lib diff --git a/packages/debian/cc65-apple2.files b/packages/debian/cc65-apple2.files index a0dbfbea4..ae3776d21 100644 --- a/packages/debian/cc65-apple2.files +++ b/packages/debian/cc65-apple2.files @@ -1,2 +1,8 @@ usr/lib/cc65/lib/apple2.lib -usr/lib/cc65/lib/apple2.o +usr/lib/cc65/obj/apple2-*.o +usr/lib/cc65/emd/a2.*.emd +usr/lib/cc65/joy/a2.*.joy +usr/lib/cc65/mou/a2.*.mou +usr/lib/cc65/ser/a2.*.ser +usr/lib/cc65/tgi/a2.*.tgi +usr/lib/cc65/cfg/apple2-*.cfg diff --git a/packages/debian/cc65-apple2enh.docs b/packages/debian/cc65-apple2enh.docs new file mode 100644 index 000000000..687247f75 --- /dev/null +++ b/packages/debian/cc65-apple2enh.docs @@ -0,0 +1 @@ +src/ld65/cfg/apple2enh.cfg diff --git a/packages/debian/cc65-apple2enh.files b/packages/debian/cc65-apple2enh.files new file mode 100644 index 000000000..3099d8efb --- /dev/null +++ b/packages/debian/cc65-apple2enh.files @@ -0,0 +1,8 @@ +usr/lib/cc65/lib/apple2enh.lib +usr/lib/cc65/obj/apple2enh-*.o +usr/lib/cc65/emd/a2e.*.emd +usr/lib/cc65/joy/a2e.*.joy +usr/lib/cc65/mou/a2e.*.mou +usr/lib/cc65/ser/a2e.*.ser +usr/lib/cc65/tgi/a2e.*.tgi +usr/lib/cc65/cfg/apple2enh-*.cfg diff --git a/packages/debian/cc65-atari.dirs b/packages/debian/cc65-atari.dirs deleted file mode 100644 index bc5728aa5..000000000 --- a/packages/debian/cc65-atari.dirs +++ /dev/null @@ -1,2 +0,0 @@ -usr/lib/cc65/include -usr/lib/cc65/lib diff --git a/packages/debian/cc65-atari.files b/packages/debian/cc65-atari.files index 92c05a6a8..42f04ce6f 100644 --- a/packages/debian/cc65-atari.files +++ b/packages/debian/cc65-atari.files @@ -1,2 +1,4 @@ usr/lib/cc65/lib/atari.lib -usr/lib/cc65/lib/atari.o +usr/lib/cc65/tgi/atari*.tgi +usr/lib/cc65/tgi/atr*.tgi +usr/lib/cc65/joy/atari*.joy diff --git a/packages/debian/cc65-atmos.docs b/packages/debian/cc65-atmos.docs new file mode 100644 index 000000000..45c8d0edd --- /dev/null +++ b/packages/debian/cc65-atmos.docs @@ -0,0 +1 @@ +src/ld65/cfg/atmos.cfg diff --git a/packages/debian/cc65-atmos.files b/packages/debian/cc65-atmos.files new file mode 100644 index 000000000..884bdf919 --- /dev/null +++ b/packages/debian/cc65-atmos.files @@ -0,0 +1,3 @@ +usr/lib/cc65/lib/atmos.lib +usr/lib/cc65/tgi/atmos-*.tgi +usr/lib/cc65/joy/atmos-*.joy diff --git a/packages/debian/cc65-c128.dirs b/packages/debian/cc65-c128.dirs deleted file mode 100644 index bc5728aa5..000000000 --- a/packages/debian/cc65-c128.dirs +++ /dev/null @@ -1,2 +0,0 @@ -usr/lib/cc65/include -usr/lib/cc65/lib diff --git a/packages/debian/cc65-c128.files b/packages/debian/cc65-c128.files index 4792dc815..33bbff99a 100644 --- a/packages/debian/cc65-c128.files +++ b/packages/debian/cc65-c128.files @@ -1,2 +1,6 @@ usr/lib/cc65/lib/c128.lib -usr/lib/cc65/lib/c128.o +usr/lib/cc65/emd/c128-*.emd +usr/lib/cc65/joy/c128-*.joy +usr/lib/cc65/mou/c128-*.mou +usr/lib/cc65/ser/c128-*.ser +usr/lib/cc65/tgi/c128-*.tgi diff --git a/packages/debian/cc65-c16.docs b/packages/debian/cc65-c16.docs new file mode 100644 index 000000000..c2aa0671c --- /dev/null +++ b/packages/debian/cc65-c16.docs @@ -0,0 +1 @@ +src/ld65/cfg/c16.cfg diff --git a/packages/debian/cc65-c16.files b/packages/debian/cc65-c16.files new file mode 100644 index 000000000..7b7a8415f --- /dev/null +++ b/packages/debian/cc65-c16.files @@ -0,0 +1,3 @@ +usr/lib/cc65/lib/c16.lib +usr/lib/cc65/emd/c16-*.emd +usr/lib/cc65/joy/c16-*.joy diff --git a/packages/debian/cc65-c64.dirs b/packages/debian/cc65-c64.dirs deleted file mode 100644 index bc5728aa5..000000000 --- a/packages/debian/cc65-c64.dirs +++ /dev/null @@ -1,2 +0,0 @@ -usr/lib/cc65/include -usr/lib/cc65/lib diff --git a/packages/debian/cc65-c64.files b/packages/debian/cc65-c64.files index 8c59ea995..089788455 100644 --- a/packages/debian/cc65-c64.files +++ b/packages/debian/cc65-c64.files @@ -1,2 +1,8 @@ +usr/lib/cc65/cfg/c64-*.cfg usr/lib/cc65/lib/c64.lib -usr/lib/cc65/lib/c64.o +usr/lib/cc65/emd/dtv-*.emd +usr/lib/cc65/emd/c64-*.emd +usr/lib/cc65/joy/c64-*.joy +usr/lib/cc65/mou/c64-*.mou +usr/lib/cc65/ser/c64-*.ser +usr/lib/cc65/tgi/c64-*.tgi diff --git a/packages/debian/cc65-cbm510.dirs b/packages/debian/cc65-cbm510.dirs deleted file mode 100644 index bc5728aa5..000000000 --- a/packages/debian/cc65-cbm510.dirs +++ /dev/null @@ -1,2 +0,0 @@ -usr/lib/cc65/include -usr/lib/cc65/lib diff --git a/packages/debian/cc65-cbm510.files b/packages/debian/cc65-cbm510.files index 2d041f308..009a25a23 100644 --- a/packages/debian/cc65-cbm510.files +++ b/packages/debian/cc65-cbm510.files @@ -1,2 +1,4 @@ usr/lib/cc65/lib/cbm510.lib -usr/lib/cc65/lib/cbm510.o +usr/lib/cc65/emd/cbm510-*.emd +usr/lib/cc65/joy/cbm510-*.joy +usr/lib/cc65/ser/cbm510-*.ser diff --git a/packages/debian/cc65-cbm610.dirs b/packages/debian/cc65-cbm610.dirs deleted file mode 100644 index bc5728aa5..000000000 --- a/packages/debian/cc65-cbm610.dirs +++ /dev/null @@ -1,2 +0,0 @@ -usr/lib/cc65/include -usr/lib/cc65/lib diff --git a/packages/debian/cc65-cbm610.files b/packages/debian/cc65-cbm610.files index 18b5bb428..1c9dfe134 100644 --- a/packages/debian/cc65-cbm610.files +++ b/packages/debian/cc65-cbm610.files @@ -1,2 +1,3 @@ usr/lib/cc65/lib/cbm610.lib -usr/lib/cc65/lib/cbm610.o +usr/lib/cc65/emd/cbm610-*.emd +usr/lib/cc65/ser/cbm610-*.ser diff --git a/packages/debian/cc65-doc.docs b/packages/debian/cc65-doc.docs new file mode 100644 index 000000000..d0e675d90 --- /dev/null +++ b/packages/debian/cc65-doc.docs @@ -0,0 +1,3 @@ +doc/*.html +doc/*.txt +doc/*.dvi diff --git a/packages/debian/cc65-doc.info b/packages/debian/cc65-doc.info new file mode 100644 index 000000000..7b08cefa0 --- /dev/null +++ b/packages/debian/cc65-doc.info @@ -0,0 +1 @@ +doc/*.info diff --git a/packages/debian/cc65-geos.dirs b/packages/debian/cc65-geos.dirs index bc5728aa5..fcd510082 100644 --- a/packages/debian/cc65-geos.dirs +++ b/packages/debian/cc65-geos.dirs @@ -1,2 +1 @@ -usr/lib/cc65/include -usr/lib/cc65/lib +usr/lib/cc65/include/geos diff --git a/packages/debian/cc65-geos.docs b/packages/debian/cc65-geos.docs index 4d9f2a983..013e1356c 100644 --- a/packages/debian/cc65-geos.docs +++ b/packages/debian/cc65-geos.docs @@ -1 +1,2 @@ -src/ld65/cfg/geos.cfg +src/ld65/cfg/geos-apple.cfg +src/ld65/cfg/geos-cbm.cfg diff --git a/packages/debian/cc65-geos.files b/packages/debian/cc65-geos.files index 2cba2b59a..569f049a4 100644 --- a/packages/debian/cc65-geos.files +++ b/packages/debian/cc65-geos.files @@ -1,2 +1,6 @@ -usr/lib/cc65/lib/geos.lib -usr/lib/cc65/lib/geos.o +usr/bin/grc65 +usr/lib/cc65/lib/geos-cbm.lib +usr/lib/cc65/include/geos/*.h +usr/lib/cc65/emd/geos-*.emd +usr/lib/cc65/joy/geos-*.joy +usr/lib/cc65/tgi/geos-*.tgi diff --git a/packages/debian/cc65-geos.manpages b/packages/debian/cc65-geos.manpages new file mode 100644 index 000000000..d34571f82 --- /dev/null +++ b/packages/debian/cc65-geos.manpages @@ -0,0 +1 @@ +debian/grc65.1 diff --git a/packages/debian/cc65-lynx.docs b/packages/debian/cc65-lynx.docs new file mode 100644 index 000000000..9d8f90432 --- /dev/null +++ b/packages/debian/cc65-lynx.docs @@ -0,0 +1 @@ +src/ld65/cfg/lynx.cfg diff --git a/packages/debian/cc65-lynx.files b/packages/debian/cc65-lynx.files new file mode 100644 index 000000000..35967a8be --- /dev/null +++ b/packages/debian/cc65-lynx.files @@ -0,0 +1,5 @@ +usr/lib/cc65/lib/lynx.lib +usr/lib/cc65/joy/lynx-*.joy +usr/lib/cc65/ser/lynx-*.ser +usr/lib/cc65/tgi/lynx-*.tgi +usr/lib/cc65/cfg/lynx-*.cfg diff --git a/packages/debian/cc65-nes.docs b/packages/debian/cc65-nes.docs new file mode 100644 index 000000000..9b9b69267 --- /dev/null +++ b/packages/debian/cc65-nes.docs @@ -0,0 +1 @@ +src/ld65/cfg/nes.cfg diff --git a/packages/debian/cc65-nes.files b/packages/debian/cc65-nes.files new file mode 100644 index 000000000..7de09a402 --- /dev/null +++ b/packages/debian/cc65-nes.files @@ -0,0 +1,3 @@ +usr/lib/cc65/lib/nes.lib +usr/lib/cc65/tgi/nes-*.tgi +usr/lib/cc65/joy/nes-*.joy diff --git a/packages/debian/cc65-pet.dirs b/packages/debian/cc65-pet.dirs deleted file mode 100644 index bc5728aa5..000000000 --- a/packages/debian/cc65-pet.dirs +++ /dev/null @@ -1,2 +0,0 @@ -usr/lib/cc65/include -usr/lib/cc65/lib diff --git a/packages/debian/cc65-pet.files b/packages/debian/cc65-pet.files index 3ee0cfa74..93e92c5e1 100644 --- a/packages/debian/cc65-pet.files +++ b/packages/debian/cc65-pet.files @@ -1,2 +1,2 @@ usr/lib/cc65/lib/pet.lib -usr/lib/cc65/lib/pet.o +usr/lib/cc65/joy/pet-*.joy diff --git a/packages/debian/cc65-plus4.dirs b/packages/debian/cc65-plus4.dirs deleted file mode 100644 index bc5728aa5..000000000 --- a/packages/debian/cc65-plus4.dirs +++ /dev/null @@ -1,2 +0,0 @@ -usr/lib/cc65/include -usr/lib/cc65/lib diff --git a/packages/debian/cc65-plus4.files b/packages/debian/cc65-plus4.files index 30354e6d6..af1ef01fc 100644 --- a/packages/debian/cc65-plus4.files +++ b/packages/debian/cc65-plus4.files @@ -1,2 +1,3 @@ usr/lib/cc65/lib/plus4.lib -usr/lib/cc65/lib/plus4.o +usr/lib/cc65/joy/plus4-*.joy +usr/lib/cc65/ser/plus4-*.ser diff --git a/packages/debian/cc65-supervision.docs b/packages/debian/cc65-supervision.docs new file mode 100644 index 000000000..008359ae1 --- /dev/null +++ b/packages/debian/cc65-supervision.docs @@ -0,0 +1 @@ +src/ld65/cfg/c64.cfg diff --git a/packages/debian/cc65-supervision.files b/packages/debian/cc65-supervision.files new file mode 100644 index 000000000..67c42bf79 --- /dev/null +++ b/packages/debian/cc65-supervision.files @@ -0,0 +1,2 @@ +usr/lib/cc65/lib/supervision.lib +usr/lib/cc65/cfg/supervision-*.cfg diff --git a/packages/debian/cc65-vic20.docs b/packages/debian/cc65-vic20.docs new file mode 100644 index 000000000..4a7b9d73b --- /dev/null +++ b/packages/debian/cc65-vic20.docs @@ -0,0 +1 @@ +src/ld65/cfg/vic20.cfg diff --git a/packages/debian/cc65-vic20.files b/packages/debian/cc65-vic20.files new file mode 100644 index 000000000..fd0b89d23 --- /dev/null +++ b/packages/debian/cc65-vic20.files @@ -0,0 +1,3 @@ +usr/lib/cc65/lib/vic20.lib +usr/lib/cc65/joy/vic20-*.joy +usr/lib/cc65/cfg/vic20-*.cfg diff --git a/packages/debian/cc65.1 b/packages/debian/cc65.1 index 56bb6d05c..94734a9dc 100644 --- a/packages/debian/cc65.1 +++ b/packages/debian/cc65.1 @@ -34,9 +34,6 @@ CC65 \- 6502 C crosscompiler/crossassembler This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. Instead, it has documentation in the GNU Info format; see below. -.PP -.B cc65 -is a program that... .SH OPTIONS The programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). diff --git a/packages/debian/cc65.dirs b/packages/debian/cc65.dirs index fbb2b21a1..c2adc2b61 100644 --- a/packages/debian/cc65.dirs +++ b/packages/debian/cc65.dirs @@ -1,8 +1,13 @@ usr/bin usr/lib/cc65/lib -usr/lib/cc65/include/geos +usr/lib/cc65/obj +usr/lib/cc65/ser +usr/lib/cc65/cfg +usr/lib/cc65/include usr/lib/cc65/include/tgi usr/lib/cc65/asminc usr/lib/cc65/emd +usr/lib/cc65/joy +usr/lib/cc65/mou usr/lib/cc65/tgi usr/share/info diff --git a/packages/debian/cc65.docs b/packages/debian/cc65.docs index 6d6832355..db05cf045 100644 --- a/packages/debian/cc65.docs +++ b/packages/debian/cc65.docs @@ -1,7 +1,4 @@ announce.txt doc/BUGS doc/CREDITS -doc/*.html -doc/*.txt -doc/*.dvi doc/readme.1st diff --git a/packages/debian/cc65.files b/packages/debian/cc65.files new file mode 100644 index 000000000..3c6ed990e --- /dev/null +++ b/packages/debian/cc65.files @@ -0,0 +1,16 @@ +usr/bin/ar65 +usr/bin/ca65 +usr/bin/ca65html +usr/bin/cc65 +usr/bin/cl65 +usr/bin/co65 +usr/bin/da65 +usr/bin/ld65 +usr/bin/od65 +usr/lib/cc65/include/*.h +usr/lib/cc65/include/em/*.h +usr/lib/cc65/include/joystick/*.h +usr/lib/cc65/include/mouse/*.h +usr/lib/cc65/include/sys/*.h +usr/lib/cc65/include/tgi/*.h +usr/lib/cc65/asminc/*.inc diff --git a/packages/debian/cc65.manpages b/packages/debian/cc65.manpages index 05a9a99aa..4e484a6d1 100644 --- a/packages/debian/cc65.manpages +++ b/packages/debian/cc65.manpages @@ -4,6 +4,5 @@ debian/ca65html.1 debian/cc65.1 debian/cl65.1 debian/da65.1 -debian/grc65.1 debian/ld65.1 debian/od65.1 diff --git a/packages/debian/cc65.postinst b/packages/debian/cc65.postinst deleted file mode 100644 index d0b5ca260..000000000 --- a/packages/debian/cc65.postinst +++ /dev/null @@ -1,45 +0,0 @@ -#! /bin/sh -# -# This is the postinst script for the Debian GNU/Linux cc65 package -# -# Written by Michael Klein - -#DEBHELPER# - -if [ "$1" = "configure" ]; then - section="Cross-platform development" - - install-info --quiet --section "$section" "$section" \ - --description="cc65 archiver" \ - /usr/share/info/ar65.info - install-info --quiet --section "$section" "$section" \ - --description="cc65 assembler" \ - /usr/share/info/ca65.info - install-info --quiet --section "$section" "$section" \ - --description="cc65 C compiler" \ - /usr/share/info/cc65.info - install-info --quiet --section "$section" "$section" \ - --description="cc65 compile and link utility" \ - /usr/share/info/cl65.info - install-info --quiet --section "$section" "$section" \ - --description="cc65 linker" \ - /usr/share/info/ld65.info - install-info --quiet --section "$section" "$section" \ - --description="Debugging using the cc65 tools and VICE" \ - /usr/share/info/debugging.info - install-info --quiet --section "$section" "$section" \ - --description="Direct disk access in cc65" \ - /usr/share/info/dio.info - install-info --quiet --section "$section" "$section" \ - --description="cc65 GEOSLib" \ - /usr/share/info/geos.info - install-info --quiet --section "$section" "$section" \ - --description="cc65 coding hints" \ - /usr/share/info/coding.info - install-info --quiet --section "$section" "$section" \ - --description="cc65 introduction" \ - /usr/share/info/intro.info - install-info --quiet --section "$section" "$section" \ - --description="cc65 library overview" \ - /usr/share/info/library.info -fi diff --git a/packages/debian/cc65.prerm b/packages/debian/cc65.prerm deleted file mode 100644 index 7c5dce37c..000000000 --- a/packages/debian/cc65.prerm +++ /dev/null @@ -1,21 +0,0 @@ -#! /bin/sh -# -# This is the prerm script for the Debian GNU/Linux cc65 package -# -# Written by Michael Klein - -#DEBHELPER# - -if [ "$1" = "remove" -o "$1" = "purge" ]; then - install-info --quiet --remove /usr/share/info/ar65.info - install-info --quiet --remove /usr/share/info/ca65.info - install-info --quiet --remove /usr/share/info/cc65.info - install-info --quiet --remove /usr/share/info/cl65.info - install-info --quiet --remove /usr/share/info/ld65.info - install-info --quiet --remove /usr/share/info/debugging.info - install-info --quiet --remove /usr/share/info/dio.info - install-info --quiet --remove /usr/share/info/geos.info - install-info --quiet --remove /usr/share/info/coding.info - install-info --quiet --remove /usr/share/info/intro.info - install-info --quiet --remove /usr/share/info/library.info -fi diff --git a/packages/debian/changelog b/packages/debian/changelog index c11b6a02e..cd607b4fa 100644 --- a/packages/debian/changelog +++ b/packages/debian/changelog @@ -1,3 +1,104 @@ +cc65 (2.13.9-svn5395-1) stable; urgency=low + + * New upstream SVN version + + -- Spiro Trikaliotis Sun, 08 Jan 2012 12:05:17 +0100 + +cc65 (2.13.9-svn5353-1) stable; urgency=low + + * New upstream SVN version + + -- Spiro Trikaliotis Sun, 01 Jan 2012 20:09:11 +0100 + +cc65 (2.13.2-3) stable; urgency=low + + * Change cc65-doc so we do not need new binary packages. + + -- Spiro Trikaliotis Tue, 03 Aug 2010 21:17:00 +0200 + +cc65 (2.13.2-2) stable; urgency=low + + * Fix for cc65-doc package + + -- Spiro Trikaliotis Tue, 03 Aug 2010 20:35:00 +0200 + +cc65 (2.13.2-1) stable; urgency=low + + * New upstream version + + -- Spiro Trikaliotis Wed, 17 Mar 2010 10:44:00 +0100 + +cc65 (2.13.0svn4529-3) stable; urgency=low + + * Add patch so the other libsrc/*/ directories compile even with installed + cc65 headers. + + -- Spiro Trikaliotis Fri, 18 Dec 2009 19:37:00 +0100 + +cc65 (2.13.0svn4529-2) stable; urgency=low + + * Add patch so libsrc/tgi compiles even with installed cc65 headers. + + -- Spiro Trikaliotis Thu, 17 Dec 2009 21:12:00 +0100 + +cc65 (2.13.0svn4529-1) stable; urgency=low + + * New upstream SVN version + + -- Spiro Trikaliotis Wed, 16 Dec 2009 19:44:00 +0100 + +cc65 (2.13.0svn4389-2) stable; urgency=low + + * New rules, using newer debhelper + * Split documentation in it's own package + * Add packages for apple2enh, lynks, atmos, nes and supervision + * Add missing build-dependencies + * Don't build info files, some names conflict with already used names from other packages + + -- Daniel Serpell Mon, 26 Oct 2009 08:57:54 -0300 + +cc65 (2.13.0svn4389-1) stable; urgency=low + + * Added bugfixes from upstream SVN + + -- Spiro Trikaliotis Sun, 25 Oct 2009 11:47:00 +0100 + +cc65 (2.13.0-1) stable; urgency=low + + * New upstream version + + -- Spiro Trikaliotis Fri, 23 Oct 2009 13:46:00 +0200 + +cc65 (2.12.0-1) stable; urgency=low + + * New upstream version + + -- Spiro Trikaliotis Tue, 22 Apr 2008 19:11:00 +0200 + +cc65 (2.11.9-cvs20070211-1) stable; urgency=low + + * New upstream version (cvs) + + -- Spiro Trikaliotis Fri, 22 Feb 2007 21:30:00 +0100 + +cc65 (2.11.9-cvs20060823-1) stable; urgency=low + + * New upstream version (cvs) + + -- Spiro Trikaliotis Thu, 14 Sep 2006 17:44:03 +0100 + +cc65 (2.11.9-cvs20060606-2) stable; urgency=low + + * compile for sarge + + -- Spiro Trikaliotis Mon, 17 Jul 2006 20:54:27 +0100 + +cc65 (2.11.9-cvs20060606-1) stable; urgency=low + + * New upstream version (cvs) + + -- Spiro Trikaliotis Mon, 17 Jul 2006 19:52:13 +0100 + cc65 (2.11.0-1) stable; urgency=low * New upstream version diff --git a/packages/debian/compat b/packages/debian/compat new file mode 100644 index 000000000..7f8f011eb --- /dev/null +++ b/packages/debian/compat @@ -0,0 +1 @@ +7 diff --git a/packages/debian/control b/packages/debian/control index 256d8a28f..0dfb4307b 100644 --- a/packages/debian/control +++ b/packages/debian/control @@ -2,18 +2,26 @@ Source: cc65 Section: non-free/devel Priority: optional Maintainer: Michael Klein -Build-Depends: debhelper, linuxdoc-tools, perl +Build-Depends: debhelper, linuxdoc-tools, groff, dpatch Standards-Version: 3.2.1 Package: cc65 -Suggests: cc65-apple2, cc65-atari, cc65-c128, cc65-c64, cc65-cbm510, cc65-cbm610, cc65-geos, cc65-pet, cc65-plus4, cc65-c16, cc65-vic20 +Suggests: cc65-apple2, cc65-apple2enh, cc65-atari, cc65-c128, cc65-c64, cc65-cbm510, cc65-cbm610, cc65-geos, cc65-pet, cc65-plus4, cc65-c16, cc65-vic20 Architecture: any Depends: ${shlibs:Depends} Description: Crosscompiler/Crossassembler for 6502 systems A C crosscompiler for 6502 systems, including a macroassembler that supports 6502, 65SC02 and 65816 CPUs, a linker, an archiver and some other tools. To create programs for one of the supported target - machines, you have to install at least one of the library packages. + machines, you have to install at least one of the target platform + packages in addition to the main package. + +Package: cc65-doc +Architecture: all +Depends: cc65 (>= 2.13.2-1) +Description: Documentation for the cc65 C compiler + This package contains the documentation for the cc65 C compiler, in HTML + and info format. Package: cc65-apple2 Architecture: all @@ -22,6 +30,13 @@ Description: Apple ][ specific libraries and headers for the cc65 compiler This package contains the header files and libraries needed to write programs for the Apple ][ using the cc65 crosscompiler. +Package: cc65-apple2enh +Architecture: all +Depends: cc65 (= ${Source-Version}) +Description: Apple //e specific libraries and headers for the cc65 compiler + This package contains the header files and libraries needed to write + programs for the Apple //e using the cc65 crosscompiler. + Package: cc65-atari Architecture: all Depends: cc65 (= ${Source-Version}) @@ -29,6 +44,13 @@ Description: Atari specific libraries and headers for the cc65 compiler This package contains the header files and libraries needed to write programs for the 8 bit Atari machines using the cc65 crosscompiler. +Package: cc65-atmos +Architecture: all +Depends: cc65 (= ${Source-Version}) +Description: Oric Atmos specific libraries and headers for the cc65 compiler + This package contains the header files and libraries needed to write + programs for the Oric Atmos using the cc65 crosscompiler. + Package: cc65-c128 Architecture: all Depends: cc65 (= ${Source-Version}) @@ -66,6 +88,21 @@ Description: GEOS specific libraries and headers for the cc65 compiler This package contains the header files and libraries needed to write GEOS programs for the C64/C128 using the cc65 crosscompiler. +Package: cc65-lynx +Architecture: all +Depends: cc65 (= ${Source-Version}) +Description: Lynx specific libraries and headers for the cc65 compiler + This package contains the header files and libraries needed to write + programs for the Lynx Game Console using the cc65 crosscompiler. + +Package: cc65-nes +Architecture: all +Depends: cc65 (= ${Source-Version}) +Description: NES specific libraries and headers for the cc65 compiler + This package contains the header files and libraries needed to write + programs for the Nintendo Entertainment System using the cc65 + crosscompiler. + Package: cc65-pet Architecture: all Depends: cc65 (= ${Source-Version}) @@ -82,6 +119,13 @@ Description: Plus/4 specific libraries and headers for the cc65 compiler programs for the Commodore Plus/4 and C16/116 using the cc65 crosscompiler. +Package: cc65-supervision +Architecture: all +Depends: cc65 (= ${Source-Version}) +Description: Supervision specific libraries and headers for the cc65 compiler + This package contains the header files and libraries needed to write + programs for the Supervision Game console using the cc65 crosscompiler. + Package: cc65-c16 Architecture: all Depends: cc65 (= ${Source-Version}) diff --git a/packages/debian/fixinfo b/packages/debian/fixinfo new file mode 100644 index 000000000..9bea3245f --- /dev/null +++ b/packages/debian/fixinfo @@ -0,0 +1,63 @@ +#! /bin/bash + +#exit 1 + +FILE=debian/cc65-doc.postinst.debhelper + +oldpatch() { + # $1 = file + # $2 = description + + sed -ie "s/\(install-info --quiet\) \(\/usr\/share\/info\/$1.info\)/\1 --section CC65.* \"CC65 cross-compiler for 6502 systems\" --description=\"$2\" \2/" $FILE +} + +patch() { + # $1 = file (i.e., cc65 for cc65.info) + # $2 = description + + sed -ie "1iINFO-DIR-SECTION CC65 \"CC65 cross-compiler for 6502 systems\"\nSTART-INFO-DIR-ENTRY\n* $1: ($1). \"$2\"\nEND-INFO-DIR-ENTRY\n\n" doc/$1.info +} + +patch index "cc65 documentation overview" + +# Program documentation +patch ar65 "Describes the ar65 archiver." +patch ca65 "Describes the ca65 macro assembler." +patch ca65html "Describes the ca65html assembler-source-to-HTML converter." +patch cc65 "Describes the cc65 C compiler." +patch cl65 "Describes the cl65 compile & link utility." +patch co65 "Describes the co65 object-file converter." +patch da65 "Describes the da65 6502\/65C02 disassembler." +patch grc65 "Describes the GEOS resource compiler (grc)." +patch ld65 "Describes the ld65 linker." +patch od65 "Describes the od65 object file dump utility." + +# Usage +patch intro "Describes the use of the tools, by building a short 'hello world' example" +patch coding "Contains hints on creating the most effective code with cc65." +patch using-make "Build programs, using the GNU Make utility." +patch customizing "How to use the cc65 toolset for a custom hardware platform (a target system not currently supported by the cc65 library set)." +patch debugging "Debug programs, using the VICE emulator." + +# Library information and other references +patch funcref "A (currently incomplete) function reference." +patch dio "Low-level disk I\/O API." +patch geos "The GEOSLib manual." +patch library "An overview over the cc65 runtime and C libraries." + +# Platform-specific information +patch apple2 "Topics specific to the Apple ][." +patch apple2enh "Topics specific to the enhanced Apple \/\/e." +patch atari "Topics specific to the Atari 8-bit machines." +patch atmos "Topics specific to the Oric Atmos." +patch c128 "Topics specific to the Commodore 128." +patch c16 "Topics specific to the Commodore 16\/116." +patch c64 "Topics specific to the Commodore 64." +patch cbm510 "Topics specific to the Commodore 510." +patch cbm610 "Topics specific to the Commodore 610." +patch lynx "Topics specific to the Atari Lynx Game Console." +patch nes "Topics specific to the Nintendo Entertainment System." +patch pet "Topics specific to the Commodore PET machines." +patch plus4 "Topics specific to the Commodore Plus\/4." +patch supervision "Topics specific to the Supervision Console." +patch vic20 "Topics specific to the Commodore VIC20." diff --git a/packages/debian/patches/apple2doc.dpatch b/packages/debian/patches/apple2doc.dpatch new file mode 100644 index 000000000..88d1bdc52 --- /dev/null +++ b/packages/debian/patches/apple2doc.dpatch @@ -0,0 +1,7 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## apple2doc.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ diff --git a/packages/debian/rules b/packages/debian/rules index 36b284aab..de7da1047 100644 --- a/packages/debian/rules +++ b/packages/debian/rules @@ -2,89 +2,156 @@ # Made with the aid of debmake, by Christoph Lameter, # based on the sample debian/rules file for GNU hello by Ian Jackson. -export DH_COMPAT=3 +#export DH_COMPAT=5 + +include /usr/share/dpatch/dpatch.make build: build-stamp -build-stamp: +build-stamp: patch dh_testdir + install -d libsrc/apple2enh/extra + # Add here commands to compile the package. $(MAKE) -C src -f make/gcc.mak $(MAKE) -C libsrc - $(MAKE) -C doc all + $(MAKE) -C doc txt html info + + + chmod 755 debian/fixinfo + debian/fixinfo touch build-stamp -clean: + [ -e announce.txt ] || touch announce.txt + +clean: unpatch dh_testdir dh_testroot - dh_clean - -rm -f build-stamp + rm -f build-stamp + -$(MAKE) -C src -f make/gcc.mak zap -$(MAKE) -C libsrc zap -$(MAKE) -C doc zap - -rm -f `find . -name "*~"` - -binary-indep: build - dh_testdir -i - dh_testroot -i - dh_installdirs -i - for arch in apple2 atari c128 c64 cbm510 cbm610 geos pet plus4 c16 vic20; do \ - install -m0755 -d debian/cc65-$$arch/usr/lib/cc65/lib; \ - install -m0644 `pwd`/libsrc/$$arch.lib debian/cc65-$$arch/usr/lib/cc65/lib/; \ - install -m0644 `pwd`/libsrc/$$arch.o debian/cc65-$$arch/usr/lib/cc65/lib/; \ - for f in `pwd`/libsrc/$$arch-*.emd; do \ - if [ -f $$f ]; then \ - install -m0755 -d debian/cc65-$$arch/usr/lib/cc65/emd; \ - install -m0644 $$f debian/cc65-$$arch/usr/lib/cc65/emd/; \ - fi; \ - done; \ - for f in `pwd`/libsrc/$$arch-*.tgi; do \ - if [ -f $$f ]; then \ - install -m0755 -d debian/cc65-$$arch/usr/lib/cc65/tgi; \ - install -m0644 $$f debian/cc65-$$arch/usr/lib/cc65/tgi/; \ - fi; \ - done; \ - dh_installdocs -p cc65-$$arch src/ld65/cfg/$$arch.cfg; \ - done - dh_installchangelogs -i - dh_compress -i - dh_fixperms -i - dh_installdeb -i - dh_shlibdeps -i - dh_gencontrol -i - dh_md5sums -i - dh_builddeb -i - -binary-arch: checkroot build - dh_testdir -a - dh_testroot -a - dh_installdirs -a - dh_installmenu -a - for bin in ar65 ca65 cc65 cl65 da65 grc65 ld65 od65 ca65html; do \ - install -m0755 `pwd`/src/$$bin/$$bin debian/cc65/usr/bin; \ + + # remove files that the upstream system erroneously left behind + [ ! -e libsrc/geos-cbm/devel/geos-tgi.tgi ] || rm libsrc/geos-cbm/devel/geos-tgi.tgi + [ ! -e libsrc/geos-cbm/devel/geos-vdc.emd ] || rm libsrc/geos-cbm/devel/geos-vdc.emd + [ ! -e libsrc/geos-cbm/devel/geos-stdjoy.joy ] || rm libsrc/geos-cbm/devel/geos-stdjoy.joy + + dh_clean + +install: DH_OPTIONS= +install: build + dh_testdir + dh_testroot + dh_installdirs + + # Add here commands to install the package into debian/tmp. + # (copied from RPM spec file) + mkdir -p debian/tmp/usr/bin + mkdir -p debian/tmp/usr/lib/cc65/asminc + mkdir -p debian/tmp/usr/lib/cc65/cfg + mkdir -p debian/tmp/usr/lib/cc65/emd + mkdir -p debian/tmp/usr/lib/cc65/include/em + mkdir -p debian/tmp/usr/lib/cc65/include/geos + mkdir -p debian/tmp/usr/lib/cc65/include/joystick + mkdir -p debian/tmp/usr/lib/cc65/include/mouse + mkdir -p debian/tmp/usr/lib/cc65/include/sys + mkdir -p debian/tmp/usr/lib/cc65/include/tgi + mkdir -p debian/tmp/usr/lib/cc65/joy + mkdir -p debian/tmp/usr/lib/cc65/lib + mkdir -p debian/tmp/usr/lib/cc65/mou + mkdir -p debian/tmp/usr/lib/cc65/obj + mkdir -p debian/tmp/usr/lib/cc65/ser + mkdir -p debian/tmp/usr/lib/cc65/tgi + + # Binaries + install -s -m 755 src/ar65/ar65 debian/tmp/usr/bin + install -s -m 755 src/ca65/ca65 debian/tmp/usr/bin + install -m 755 src/ca65html/ca65html debian/tmp/usr/bin + install -s -m 755 src/cc65/cc65 debian/tmp/usr/bin + install -s -m 755 src/cl65/cl65 debian/tmp/usr/bin + install -s -m 755 src/co65/co65 debian/tmp/usr/bin + install -s -m 755 src/da65/da65 debian/tmp/usr/bin + install -s -m 755 src/grc65/grc65 debian/tmp/usr/bin + install -s -m 755 src/ld65/ld65 debian/tmp/usr/bin + install -s -m 755 src/od65/od65 debian/tmp/usr/bin + + # Libraries and includes + install -m 644 libsrc/*.lib debian/tmp/usr/lib/cc65/lib + install -m 644 include/*.h debian/tmp/usr/lib/cc65/include + install -m 644 include/geos/*.h debian/tmp/usr/lib/cc65/include/geos + install -m 644 include/em/*.h debian/tmp/usr/lib/cc65/include/em + install -m 644 include/joystick/*.h debian/tmp/usr/lib/cc65/include/joystick + install -m 644 include/mouse/*.h debian/tmp/usr/lib/cc65/include/mouse + install -m 644 include/sys/*.h debian/tmp/usr/lib/cc65/include/sys + install -m 644 include/tgi/*.h debian/tmp/usr/lib/cc65/include/tgi + install -m 644 asminc/*.inc debian/tmp/usr/lib/cc65/asminc + + # Extra object files + for extra in libsrc/*-*.o; do \ + install -m 644 $${extra} debian/tmp/usr/lib/cc65/obj; \ done - for info in ar65 ca65 cc65 cl65 ld65 debugging dio geos coding intro library; do \ - install -m0755 `pwd`/doc/$$info.info* debian/cc65/usr/share/info; \ + + # Additional linker configurations + for config in src/ld65/cfg/*-*.cfg; do \ + install -m 644 $${config} debian/tmp/usr/lib/cc65/cfg; \ done - install -m0644 `pwd`/include/*.h debian/cc65/usr/lib/cc65/include - install -m0644 `pwd`/include/geos/*.h debian/cc65/usr/lib/cc65/include/geos - install -m0644 `pwd`/include/tgi/*.h debian/cc65/usr/lib/cc65/include/tgi - install -m0644 `pwd`/asminc/*.inc debian/cc65/usr/lib/cc65/asminc - dh_installman -a - dh_installdocs -a - dh_installexamples -a - dh_installchangelogs -a - dh_compress -a - dh_fixperms -a + + # Drivers + install -m 644 libsrc/*.emd debian/tmp/usr/lib/cc65/emd + install -m 644 libsrc/*.joy debian/tmp/usr/lib/cc65/joy + install -m 644 libsrc/*.mou debian/tmp/usr/lib/cc65/mou + install -m 644 libsrc/*.ser debian/tmp/usr/lib/cc65/ser + install -m 644 libsrc/*.tgi debian/tmp/usr/lib/cc65/tgi + + dh_install + dh_movefiles + +# This single target is used to build all the packages, all at once, or +# one at a time. So keep in mind: any options passed to commands here will +# affect _all_ packages. Anything you want to only affect one package +# should be put in another target, such as the install target. +binary-common: + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installmenu +# dh_installcatalogs +# dh_installmime +# dh_installinit + dh_installman + dh_installinfo +# dh_installwm +# dh_lintian +# dh_bugfiles +# dh_undocumented dh_strip - dh_installdeb -a - dh_shlibdeps -a - dh_gencontrol -a - dh_md5sums -a - dh_builddeb -a + dh_link + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture independant packages using the common target. +binary-indep: build install + $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +# Build architecture dependant packages using the common target. +binary-arch: build install + $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common +# Any other binary targets build just one binary package at a time. +binary-%: build install + make -f debian/rules binary-common DH_OPTIONS=-p$* binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary-common binary install -.PHONY: binary binary-arch binary-indep clean checkroot diff --git a/packages/debian/source/format b/packages/debian/source/format new file mode 100644 index 000000000..163aaf8d8 --- /dev/null +++ b/packages/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt)