Browse Source

* merged fixes from debian maintainer
* amd64 support

peter 21 years ago
parent
commit
6794d20c5c

+ 14 - 28
install/debian/README.Debian

@@ -1,40 +1,25 @@
-Free Pascal for DEBIAN
+The Free Pascal Compiler for Debian
 ----------------------
 ----------------------
 
 
-No changes were necessary to the source tree as checked out from
-CVS at cvs.freepascal.org by
- cvs -d :pserver:[email protected]:/FPC/CVS -z3 co -r RELEASE_1_0_8 fpc
-The Debian Build Directory was created by 'make debcopy FPC_VERSION=1.0.8'
-and then duplicated to .orig before 'dpkg-buildpackage -sa -rfakeroot' was
-run.
+The source tree was checked out from CVS at cvs.freepascal.org with
+ 'cvs -d :pserver:[email protected]:/FPC/CVS -z3 co -r RELEASE_1_9_4 fpc'
+ (password: 'cvs')
 
 
-In order to build the package yourself, you need a ppc386 compiler
-later or equal to 1.0.4. And you need to change the following settings
-in /etc/texmf/texmf.cnf to use (at least) the specified values:
- hash_extra = 10000
- pool_size = 250000
- max_strings = 30000
+The Debian Build Directory was created with 'make debcopy FPC_VERSION=1.9.4'
+and then duplicated to .orig before 'dpkg-buildpackage -rfakeroot' was run.
 
 
-You'll probably need to run
-
-fmtutil --byfmt pdflatex
-
-as root before first building this package -- see bug #70668 for more
-details, at http://bugs.debian.org/70668.
-
-
-As shipped, only the .pdf docs are built. You may want to make the HTML
-files with latex2html by yourself, and eventually adapt the doc-base file.
+Only PDF docs are built as shipped. You may want to make the HTML files with
+latex2html by yourself and eventually adapt the doc-base file.
 
 
 To create a new config file for fpc (/etc/fpc.cfg) use the command:
 To create a new config file for fpc (/etc/fpc.cfg) use the command:
- /usr/lib/fpc/1.0.8/samplecfg /usr/lib/fpc/1.0.8
-However, you should be aware, that said file /etc/fpc.cfg is
+ /usr/lib/fpc/1.9.4/samplecfg /usr/lib/fpc/1.9.4
+However, you should be aware that said file (/etc/fpc.cfg) is
 declared as a conffile since version 1.0.2.
 declared as a conffile since version 1.0.2.
 
 
-Free Vision (fp-fv) had to be removed due to licesing issues.
-It will return into the distribution as soon as these issues are resolved.
+Free Vision (fp-fv) had to be removed due to licensing issues; it will return
+into the distribution as soon as these issues are resolved.
 
 
-And, yes - this is a i386 only package currently.
+And, yes - this is a i386/amd64/powerpc only package currently.
 
 
 
 
 Web site and download information:
 Web site and download information:
@@ -58,3 +43,4 @@ FTP Mirrored at
   ftp://ftp.fisek.com.tr/pub/fpc/
   ftp://ftp.fisek.com.tr/pub/fpc/
   http://clubinfo.collegebdeb.qc.ca/nuitari/fpc/
   http://clubinfo.collegebdeb.qc.ca/nuitari/fpc/
 
 
+

+ 44 - 5
install/debian/changelog

@@ -1,14 +1,53 @@
-fpc (1.9.5-0) unstable; urgency=low
+fpc (1.9.5-20040817) unstable; urgency=low
 
 
   * Snapshot build
   * Snapshot build
 
 
- -- Peter Vreman <[email protected]>  Thu, 30 May 2004 12:00:00 +0100
+ -- Peter Vreman <[email protected]>  Thu, 30 Aug 2004 12:00:00 +0100
 
 
-fpc (1.9.4-0.1) unstable; urgency=low
+fpc (1.9.4-5) unstable; urgency=low
 
 
-  * New release
+  * fp-compiler: needs ld, adding dependency on binutils.  (Closes: #265265)
 
 
- -- Peter Vreman <[email protected]>  Thu, 30 May 2004 12:00:00 +0100
+ -- Carlos Laviola <[email protected]>  Thu, 12 Aug 2004 16:29:37 -0300
+
+fpc (1.9.4-4) unstable; urgency=low
+
+  * debian/control.in: Oops, forgot to update the Build-Deps for this file,
+    which generates debian/control per se.  (Closes: #263942)
+
+ -- Carlos Laviola <[email protected]>  Sun,  8 Aug 2004 22:12:41 -0300
+
+fpc (1.9.4-3) unstable; urgency=low
+
+  * Package needs fpcmake to build pretty much everything, so we need to
+    build-dep on fp-utils.  Thanks to Daniel Schepler for finding the bug
+    and for Jurij Smakov's aid.  (Closes: #263942)
+  * debian/README.Debian: removes mentions to old problems with tetex, fixes
+    spelling mistakes and other minor issues.
+
+ -- Carlos Laviola <[email protected]>  Fri,  6 Aug 2004 19:46:51 -0300
+
+fpc (1.9.4-2) unstable; urgency=low
+
+  * The following fixes are the work of Marco van de Voort from CVS HEAD:
+    - man/man1/ppc386.1: typo fix.  (Closes: #255960)
+    - rtl/unix/crt.pp: gotoxy/XY2Ansi fixes from.
+      (Closes: #216057, #216060)
+    - docs/linuxex, docs/dosex, docs/refex: various examples ported to
+      fpc 1.9.x's new API.
+
+ -- Carlos Laviola <[email protected]>  Tue, 20 Jul 2004 15:12:05 -0300
+
+fpc (1.9.4-1) unstable; urgency=low
+
+  * This release is partly the work of Peter Vreman <[email protected]>.
+  * Acknowledging NMU.  (Closes: #221316)
+  * Made the description for the units packages more informative.
+    (Closes: #209518, #209581, #209613)
+  * Applied some patches from Marco van de Voort to CVS HEAD that fixed
+    compiling the documentation on powerpc with some adaptations of mine.
+
+ -- Carlos Laviola <[email protected]>  Sat, 17 Jul 2004 21:53:03 -0300
 
 
 fpc (1.0.10-1.2) unstable; urgency=low
 fpc (1.0.10-1.2) unstable; urgency=low
 
 

+ 84 - 59
install/debian/control

@@ -3,25 +3,27 @@ Section: devel
 Priority: optional
 Priority: optional
 Maintainer: Carlos Laviola <[email protected]>
 Maintainer: Carlos Laviola <[email protected]>
 Standards-Version: 3.6.1
 Standards-Version: 3.6.1
-Build-Depends: fp-compiler, debhelper >= 4.2, tetex-bin, tetex-extra, awk, dvipdf
+Build-Depends: fp-compiler, fp-utils, debhelper (>= 4.2), tetex-bin, tetex-extra, awk, gs-common
 
 
 Package: fp-compiler
 Package: fp-compiler
-Architecture: i386 powerpc
-Depends: fp-units-rtl (= 1.9.4-0.1)
-Suggests: fp-utils, fp-docs (>= 1.9.4)
-Description: Free Pascal Compiler
- The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32bit
- Pascal Compiler. It comes with fully TP 7.0 compatible run-time library.
+Architecture: i386 powerpc amd64
+Depends: fp-units-rtl (= 1.9.5-20040817)
+Suggests: fp-utils, fp-docs (>= 1.9.5)
+Description: Free Pascal -- Compiler
+ The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32-bit
+ Pascal Compiler. It comes with a fully compatible TP 7.0 runtime library.
  Some extensions are added to the language, like function overloading. Shared
  Some extensions are added to the language, like function overloading. Shared
  libraries can be linked and created. Basic Delphi support is already
  libraries can be linked and created. Basic Delphi support is already
- implemented (classes,exceptions,ansistrings). This package contains
- the commandline compiler. You need at least the RTL package before you
- can start compiling anything.
+ implemented (classes, exceptions, ansistrings). This package contains the
+ command line compiler. You need at least the RTL package before you can start
+ compiling anything.
 
 
 Package: fp-utils
 Package: fp-utils
-Architecture: i386 powerpc
-Recommends: fp-compiler (= 1.9.4-0.1)
-Description: Free Pascal Utils
+Architecture: i386 powerpc amd64
+Recommends: fp-compiler (= 1.9.5-20040817)
+Description: Free Pascal -- Utils
+ The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32-bit
+ Pascal Compiler. It comes with a fully compatible TP 7.0 runtime library.
  This package contains some handy utils for usage with the Free Pascal
  This package contains some handy utils for usage with the Free Pascal
  Compiler:
  Compiler:
    - ppumove     Place multiple units in a shared library
    - ppumove     Place multiple units in a shared library
@@ -35,80 +37,103 @@ Description: Free Pascal Utils
    - plex/pyacc  Pascal Lex/Yacc implementation
    - plex/pyacc  Pascal Lex/Yacc implementation
 
 
 Package: fp-docs
 Package: fp-docs
+Section: doc
 Architecture: all
 Architecture: all
-Description: Free Pascal Documentation
- Documentation for the Free Pascal Compiler. The documentation is
- only available in PDF format.
+Description: Free Pascal -- Documentation
+ The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32-bit
+ Pascal Compiler. It comes with a fully compatible TP 7.0 runtime library.
+ This package contains the documentation for the Free Pascal Compiler.
+ The documentation is available in HTML and in PDF.
 
 
 Package: fp-units-rtl
 Package: fp-units-rtl
-Architecture: i386 powerpc
-Recommends: fp-compiler (= 1.9.4-0.1)
-Description: Free Pascal Runtime Library
- Runtime Libraries for the Free Pascal Compiler.
+Architecture: i386 powerpc amd64
+Recommends: fp-compiler (= 1.9.5-20040817)
+Description: Free Pascal -- Runtime Library
+ The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32-bit
+ Pascal Compiler. It comes with a fully compatible TP 7.0 runtime library.
+ This package contains the Runtime Libraries for the Free Pascal Compiler.
 
 
 Package: fp-units-base
 Package: fp-units-base
-Architecture: i386 powerpc
-Depends: fp-units-rtl (= 1.9.4-0.1)
-Description: Free Pascal base units
- Free Pascal units for common libraries, some of these units are also
- required by the Free Component Library :
+Architecture: i386 powerpc amd64
+Depends: fp-units-rtl (= 1.9.5-20040817)
+Description: Free Pascal -- base units
+ The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32-bit
+ Pascal Compiler. It comes with a fully compatible TP 7.0 runtime library.
+ This package contains Free Pascal units for common libraries.  Some of these
+ units are also required by the Free Component Library:
   - X11 (Xlib, Xutil)
   - X11 (Xlib, Xutil)
   - NCurses
   - NCurses
   - ZLib
   - ZLib
 
 
 Package: fp-units-fcl
 Package: fp-units-fcl
-Architecture: i386 powerpc
-Depends: fp-units-rtl (= 1.9.4-0.1), fp-units-base (= 1.9.4-0.1)
-Description: Free Pascal Free Component Library
- Free Component Library for the Free Pascal Compiler.
+Architecture: i386 powerpc amd64
+Depends: fp-units-rtl (= 1.9.5-20040817), fp-units-base (= 1.9.5-20040817)
+Description: Free Pascal -- Free Component Library
+ The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32-bit
+ Pascal Compiler. It comes with a fully compatible TP 7.0 runtime library.
+ This package contains the Free Component Library for the Free Pascal Compiler.
 
 
 Package: fp-units-gtk
 Package: fp-units-gtk
-Architecture: i386 powerpc
-Depends: fp-units-rtl (= 1.9.4-0.1), fp-units-fcl (= 1.9.4-0.1)
-Description: Free Pascal units for GTK 1.2.x
- Free Pascal units and examples to create programs with GTK 1.2.x
+Architecture: i386 powerpc amd64
+Depends: fp-units-rtl (= 1.9.5-20040817), fp-units-fcl (= 1.9.5-20040817)
+Description: Free Pascal -- GTK 1.2 units 
+ The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32-bit
+ Pascal Compiler. It comes with a fully compatible TP 7.0 runtime library.
+ This package contains Free Pascal units and examples to create
+ programs with GTK 1.2.
 
 
 Package: fp-units-gnome1
 Package: fp-units-gnome1
-Architecture: i386 powerpc
-Depends: fp-units-rtl (= 1.9.4-0.1), fp-units-gtk (= 1.9.4-0.1)
-Description: Free Pascal units for GNOME 1
- Free Pascal units and examples to create programs for GNOME 1
+Architecture: i386 powerpc amd64
+Depends: fp-units-rtl (= 1.9.5-20040817), fp-units-gtk (= 1.9.5-20040817)
+Description: Free Pascal -- GNOME 1 units 
+ The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32-bit
+ Pascal Compiler. It comes with a fully compatible TP 7.0 runtime library.
+ This package contains Free Pascal units and examples to create
+ programs for GNOME 1.
 
 
 Package: fp-units-db
 Package: fp-units-db
-Architecture: i386 powerpc
-Depends: fp-units-rtl (= 1.9.4-0.1)
-Description: Free Pascal units for some database libraries
- Free Pascal units with bindings for:
-  - Mysql
+Architecture: i386 powerpc amd64
+Depends: fp-units-rtl (= 1.9.5-20040817)
+Description: Free Pascal -- database libraries units 
+ The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32-bit
+ Pascal Compiler. It comes with a fully compatible TP 7.0 runtime library.
+ This package contains Free Pascal units with bindings for:
+  - MySQL
   - Interbase
   - Interbase
-  - Postgres
+  - PostgreSQL
   - Oracle
   - Oracle
-  - Odbc
+  - ODBC
   - GDBM
   - GDBM
-  - Sqlite
+  - SQLite
   
   
 Package: fp-units-gfx
 Package: fp-units-gfx
-Architecture: i386 powerpc
-Depends: fp-units-rtl (= 1.9.4-0.1), fp-units-base (= 1.9.4-0.1)
-Description: Free Pascal units for some graphics libraries
- Free Pascal units with bindings for:
+Architecture: i386 powerpc amd64
+Depends: fp-units-rtl (= 1.9.5-20040817), fp-units-base (= 1.9.5-20040817)
+Description: Free Pascal -- graphics libraries units
+ The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32-bit
+ Pascal Compiler. It comes with a fully compatible TP 7.0 runtime library.
+ This package contains Free Pascal units with bindings for:
   - Forms 0.88
   - Forms 0.88
   - Svgalib
   - Svgalib
   - GGI
   - GGI
   - OpenGL
   - OpenGL
 
 
 Package: fp-units-net
 Package: fp-units-net
-Architecture: i386 powerpc
-Depends: fp-units-rtl (= 1.9.4-0.1)
-Description: Free Pascal units for networking
- Free Pascal units for creating network tools:
-  - Inet unit for easier tcp/ip handling
-  - UnCGI unit for easy cgi handling
+Architecture: i386 powerpc amd64
+Depends: fp-units-rtl (= 1.9.5-20040817)
+Description: Free Pascal -- networking units 
+ The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32-bit
+ Pascal Compiler. It comes with a fully compatible TP 7.0 runtime library.
+ This package contains Free Pascal units for creating network tools:
+  - Inet unit for easier TCP/IP handling
+  - UnCGI unit for easy CGI handling
 
 
 Package: fp-units-misc
 Package: fp-units-misc
-Architecture: i386 powerpc
-Depends: fp-units-rtl (= 1.9.4-0.1)
-Description: Free Pascal miscellaneous units
+Architecture: i386 powerpc amd64
+Depends: fp-units-rtl (= 1.9.5-20040817)
+Description: Free Pascal -- miscellaneous units
+ The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32-bit
+ Pascal Compiler. It comes with a fully compatible TP 7.0 runtime library.
  Free Pascal miscellaneous units for:
  Free Pascal miscellaneous units for:
   - Utmp
   - Utmp
-  - PasZLib (pascal only zlib implementation)
+  - PasZLib (Pascal-only zlib implementation)

+ 72 - 47
install/debian/control.in

@@ -3,25 +3,27 @@ Section: devel
 Priority: optional
 Priority: optional
 Maintainer: Carlos Laviola <[email protected]>
 Maintainer: Carlos Laviola <[email protected]>
 Standards-Version: 3.6.1
 Standards-Version: 3.6.1
-Build-Depends: fp-compiler, debhelper >= 4.2, tetex-bin, tetex-extra, awk, dvipdf
+Build-Depends: fp-compiler, fp-utils, debhelper (>= 4.2), tetex-bin, tetex-extra, awk, gs-common
 
 
 Package: fp-compiler
 Package: fp-compiler
-Architecture: i386 powerpc
+Architecture: i386 powerpc amd64
 Depends: fp-units-rtl (= %{packageversion})
 Depends: fp-units-rtl (= %{packageversion})
 Suggests: fp-utils, fp-docs (>= %{fpcversion})
 Suggests: fp-utils, fp-docs (>= %{fpcversion})
-Description: Free Pascal Compiler
- The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32bit
- Pascal Compiler. It comes with fully TP 7.0 compatible run-time library.
+Description: Free Pascal -- Compiler
+ The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32-bit
+ Pascal Compiler. It comes with a fully compatible TP 7.0 runtime library.
  Some extensions are added to the language, like function overloading. Shared
  Some extensions are added to the language, like function overloading. Shared
  libraries can be linked and created. Basic Delphi support is already
  libraries can be linked and created. Basic Delphi support is already
- implemented (classes,exceptions,ansistrings). This package contains
- the commandline compiler. You need at least the RTL package before you
- can start compiling anything.
+ implemented (classes, exceptions, ansistrings). This package contains the
+ command line compiler. You need at least the RTL package before you can start
+ compiling anything.
 
 
 Package: fp-utils
 Package: fp-utils
-Architecture: i386 powerpc
+Architecture: i386 powerpc amd64
 Recommends: fp-compiler (= %{packageversion})
 Recommends: fp-compiler (= %{packageversion})
-Description: Free Pascal Utils
+Description: Free Pascal -- Utils
+ The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32-bit
+ Pascal Compiler. It comes with a fully compatible TP 7.0 runtime library.
  This package contains some handy utils for usage with the Free Pascal
  This package contains some handy utils for usage with the Free Pascal
  Compiler:
  Compiler:
    - ppumove     Place multiple units in a shared library
    - ppumove     Place multiple units in a shared library
@@ -35,80 +37,103 @@ Description: Free Pascal Utils
    - plex/pyacc  Pascal Lex/Yacc implementation
    - plex/pyacc  Pascal Lex/Yacc implementation
 
 
 Package: fp-docs
 Package: fp-docs
+Section: doc
 Architecture: all
 Architecture: all
-Description: Free Pascal Documentation
- Documentation for the Free Pascal Compiler. The documentation is
- only available in PDF format.
+Description: Free Pascal -- Documentation
+ The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32-bit
+ Pascal Compiler. It comes with a fully compatible TP 7.0 runtime library.
+ This package contains the documentation for the Free Pascal Compiler.
+ The documentation is available in HTML and in PDF.
 
 
 Package: fp-units-rtl
 Package: fp-units-rtl
-Architecture: i386 powerpc
+Architecture: i386 powerpc amd64
 Recommends: fp-compiler (= %{packageversion})
 Recommends: fp-compiler (= %{packageversion})
-Description: Free Pascal Runtime Library
- Runtime Libraries for the Free Pascal Compiler.
+Description: Free Pascal -- Runtime Library
+ The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32-bit
+ Pascal Compiler. It comes with a fully compatible TP 7.0 runtime library.
+ This package contains the Runtime Libraries for the Free Pascal Compiler.
 
 
 Package: fp-units-base
 Package: fp-units-base
-Architecture: i386 powerpc
+Architecture: i386 powerpc amd64
 Depends: fp-units-rtl (= %{packageversion})
 Depends: fp-units-rtl (= %{packageversion})
-Description: Free Pascal base units
- Free Pascal units for common libraries, some of these units are also
- required by the Free Component Library :
+Description: Free Pascal -- base units
+ The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32-bit
+ Pascal Compiler. It comes with a fully compatible TP 7.0 runtime library.
+ This package contains Free Pascal units for common libraries.  Some of these
+ units are also required by the Free Component Library:
   - X11 (Xlib, Xutil)
   - X11 (Xlib, Xutil)
   - NCurses
   - NCurses
   - ZLib
   - ZLib
 
 
 Package: fp-units-fcl
 Package: fp-units-fcl
-Architecture: i386 powerpc
+Architecture: i386 powerpc amd64
 Depends: fp-units-rtl (= %{packageversion}), fp-units-base (= %{packageversion})
 Depends: fp-units-rtl (= %{packageversion}), fp-units-base (= %{packageversion})
-Description: Free Pascal Free Component Library
- Free Component Library for the Free Pascal Compiler.
+Description: Free Pascal -- Free Component Library
+ The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32-bit
+ Pascal Compiler. It comes with a fully compatible TP 7.0 runtime library.
+ This package contains the Free Component Library for the Free Pascal Compiler.
 
 
 Package: fp-units-gtk
 Package: fp-units-gtk
-Architecture: i386 powerpc
+Architecture: i386 powerpc amd64
 Depends: fp-units-rtl (= %{packageversion}), fp-units-fcl (= %{packageversion})
 Depends: fp-units-rtl (= %{packageversion}), fp-units-fcl (= %{packageversion})
-Description: Free Pascal units for GTK 1.2.x
- Free Pascal units and examples to create programs with GTK 1.2.x
+Description: Free Pascal -- GTK 1.2 units 
+ The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32-bit
+ Pascal Compiler. It comes with a fully compatible TP 7.0 runtime library.
+ This package contains Free Pascal units and examples to create
+ programs with GTK 1.2.
 
 
 Package: fp-units-gnome1
 Package: fp-units-gnome1
-Architecture: i386 powerpc
+Architecture: i386 powerpc amd64
 Depends: fp-units-rtl (= %{packageversion}), fp-units-gtk (= %{packageversion})
 Depends: fp-units-rtl (= %{packageversion}), fp-units-gtk (= %{packageversion})
-Description: Free Pascal units for GNOME 1
- Free Pascal units and examples to create programs for GNOME 1
+Description: Free Pascal -- GNOME 1 units 
+ The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32-bit
+ Pascal Compiler. It comes with a fully compatible TP 7.0 runtime library.
+ This package contains Free Pascal units and examples to create
+ programs for GNOME 1.
 
 
 Package: fp-units-db
 Package: fp-units-db
-Architecture: i386 powerpc
+Architecture: i386 powerpc amd64
 Depends: fp-units-rtl (= %{packageversion})
 Depends: fp-units-rtl (= %{packageversion})
-Description: Free Pascal units for some database libraries
- Free Pascal units with bindings for:
-  - Mysql
+Description: Free Pascal -- database libraries units 
+ The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32-bit
+ Pascal Compiler. It comes with a fully compatible TP 7.0 runtime library.
+ This package contains Free Pascal units with bindings for:
+  - MySQL
   - Interbase
   - Interbase
-  - Postgres
+  - PostgreSQL
   - Oracle
   - Oracle
-  - Odbc
+  - ODBC
   - GDBM
   - GDBM
-  - Sqlite
+  - SQLite
   
   
 Package: fp-units-gfx
 Package: fp-units-gfx
-Architecture: i386 powerpc
+Architecture: i386 powerpc amd64
 Depends: fp-units-rtl (= %{packageversion}), fp-units-base (= %{packageversion})
 Depends: fp-units-rtl (= %{packageversion}), fp-units-base (= %{packageversion})
-Description: Free Pascal units for some graphics libraries
- Free Pascal units with bindings for:
+Description: Free Pascal -- graphics libraries units
+ The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32-bit
+ Pascal Compiler. It comes with a fully compatible TP 7.0 runtime library.
+ This package contains Free Pascal units with bindings for:
   - Forms 0.88
   - Forms 0.88
   - Svgalib
   - Svgalib
   - GGI
   - GGI
   - OpenGL
   - OpenGL
 
 
 Package: fp-units-net
 Package: fp-units-net
-Architecture: i386 powerpc
+Architecture: i386 powerpc amd64
 Depends: fp-units-rtl (= %{packageversion})
 Depends: fp-units-rtl (= %{packageversion})
-Description: Free Pascal units for networking
- Free Pascal units for creating network tools:
-  - Inet unit for easier tcp/ip handling
-  - UnCGI unit for easy cgi handling
+Description: Free Pascal -- networking units 
+ The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32-bit
+ Pascal Compiler. It comes with a fully compatible TP 7.0 runtime library.
+ This package contains Free Pascal units for creating network tools:
+  - Inet unit for easier TCP/IP handling
+  - UnCGI unit for easy CGI handling
 
 
 Package: fp-units-misc
 Package: fp-units-misc
-Architecture: i386 powerpc
+Architecture: i386 powerpc amd64
 Depends: fp-units-rtl (= %{packageversion})
 Depends: fp-units-rtl (= %{packageversion})
-Description: Free Pascal miscellaneous units
+Description: Free Pascal -- miscellaneous units
+ The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32-bit
+ Pascal Compiler. It comes with a fully compatible TP 7.0 runtime library.
  Free Pascal miscellaneous units for:
  Free Pascal miscellaneous units for:
   - Utmp
   - Utmp
-  - PasZLib (pascal only zlib implementation)
+  - PasZLib (Pascal-only zlib implementation)

+ 6 - 2
install/debian/copyright

@@ -1,8 +1,12 @@
-The package was originally put together by:
+The packages were originally put together by:
   Peter Vreman <[email protected]>
   Peter Vreman <[email protected]>
 
 
+Debian maintainer:
+  Carlos Laviola <[email protected]>
+
 From sources obtained from:
 From sources obtained from:
-  ftp://ftp.freepascal.org/pub/fpc/dist/linux/fpc-1.9.3.tar.gz
+  'cvs -d :pserver:[email protected]:/FPC/CVS -z3 co -r RELEASE_1_9_4 fpc'
+  (password: 'cvs')
 
 
 The files and libraries are released under the terms of the GNU Library
 The files and libraries are released under the terms of the GNU Library
 General Public License, which can be found in the file
 General Public License, which can be found in the file

+ 1 - 1
install/debian/fp-compiler.install.in

@@ -1,6 +1,6 @@
 /etc/fpc.cfg
 /etc/fpc.cfg
 /usr/bin/fpc
 /usr/bin/fpc
-/usr/lib/fpc/%{fpcversion}/ppc386
+/usr/lib/fpc/%{fpcversion}/ppc*
 /usr/lib/fpc/%{fpcversion}/samplecfg
 /usr/lib/fpc/%{fpcversion}/samplecfg
 /usr/lib/fpc/%{fpcversion}/msg
 /usr/lib/fpc/%{fpcversion}/msg
 /usr/share/doc/fp-compiler
 /usr/share/doc/fp-compiler

+ 5 - 2
install/debian/fp-docs.docs.in

@@ -1,4 +1,7 @@
 debian/tmp/usr/share/doc/fpc/%{fpcversion}/user.pdf
 debian/tmp/usr/share/doc/fpc/%{fpcversion}/user.pdf
-debian/tmp/usr/share/doc/fpc/%{fpcversion}/prog.pdf
-debian/tmp/usr/share/doc/fpc/%{fpcversion}/ref.pdf
 debian/tmp/usr/share/doc/fpc/%{fpcversion}/units.pdf
 debian/tmp/usr/share/doc/fpc/%{fpcversion}/units.pdf
+debian/tmp/usr/share/doc/fpc/%{fpcversion}/ref.pdf
+debian/tmp/usr/share/doc/fpc/%{fpcversion}/prog.pdf
+debian/tmp/usr/share/doc/fpc/%{fpcversion}/fpdoc.pdf
+debian/tmp/usr/share/doc/fpc/%{fpcversion}/fcl.pdf
+debian/tmp/usr/share/doc/fpc/%{fpcversion}/chart.pdf

+ 1 - 0
install/debian/fp-units-base.install.in

@@ -5,3 +5,4 @@
 /usr/lib/fpc/%{fpcversion}/units/linux/ncurses
 /usr/lib/fpc/%{fpcversion}/units/linux/ncurses
 /usr/lib/fpc/%{fpcversion}/units/linux/x11
 /usr/lib/fpc/%{fpcversion}/units/linux/x11
 /usr/lib/fpc/%{fpcversion}/units/linux/regexpr
 /usr/lib/fpc/%{fpcversion}/units/linux/regexpr
+/usr/lib/fpc/%{fpcversion}/units/linux/md5

+ 1 - 1
install/debian/moveexamples

@@ -23,7 +23,7 @@ move_examples()
 FCL_PACKAGES="fcl"
 FCL_PACKAGES="fcl"
 GTK_PACKAGES="gtk"
 GTK_PACKAGES="gtk"
 GNOME1_PACKAGES="imlib zvt gnome gconf"
 GNOME1_PACKAGES="imlib zvt gnome gconf"
-BASE_PACKAGES="paszlib pasjpeg regexpr ncurses"
+BASE_PACKAGES="paszlib pasjpeg regexpr ncurses md5"
 GFX_PACKAGES="forms ggi libgd svgalib opengl"
 GFX_PACKAGES="forms ggi libgd svgalib opengl"
 DB_PACKAGES="ibase mysql oracle postgres gdbm odbc"
 DB_PACKAGES="ibase mysql oracle postgres gdbm odbc"
 MISC_PACKAGES="gdbint utmp syslog cdrom tcl"
 MISC_PACKAGES="gdbint utmp syslog cdrom tcl"

+ 4 - 3
install/debian/rules

@@ -4,9 +4,10 @@
 # Documentation type to use pdf/html
 # Documentation type to use pdf/html
 DOCTYPE=pdf
 DOCTYPE=pdf
 
 
-# Detect name of new compiler
-CPU_SOURCE=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
-CPU_TARGET=$(shell dpkg-architecture -qDEB_HOST_ARCH)
+# Detect name of new compiler, take care that debian uses amd64 instead of x86_64
+CPU_SOURCE=$(subst amd64,x86_64,$(shell dpkg-architecture -qDEB_BUILD_ARCH))
+CPU_TARGET=$(subst amd64,x86_64,$(shell dpkg-architecture -qDEB_HOST_ARCH))
+
 ifeq ($(CPU_TARGET),m68k)
 ifeq ($(CPU_TARGET),m68k)
 PPSUF=68k
 PPSUF=68k
 endif
 endif