From 52c422b4ef05d05be9888b0a1be4b27b75c95a13 Mon Sep 17 00:00:00 2001 From: mattias Date: Fri, 7 Feb 2014 11:27:12 +0000 Subject: [PATCH] debian: Merged Debian specific changes from official Debian VCS git-svn-id: trunk@43933 - --- debian/control | 704 +++++++++++++++++++++--------- debian/control.in | 78 ++-- debian/copyright | 10 +- debian/fixdeb | 66 ++- debian/lazarus-doc.install.in | 2 +- debian/lcl-units.install.in | 2 +- debian/lcl-utils.postinst.in | 60 +-- debian/orig-tar.sh | 53 ++- debian/overrides/lazarus-ide | 6 +- debian/overrides/lazarus-ide-gtk2 | 9 +- debian/overrides/lcl-units | 3 - debian/overrides/lcl-utils | 3 +- debian/rules | 106 +++-- debian/watch | 7 +- 14 files changed, 746 insertions(+), 363 deletions(-) diff --git a/debian/control b/debian/control index db1efe1568..3117d233b8 100644 --- a/debian/control +++ b/debian/control @@ -2,133 +2,28 @@ Source: lazarus Section: devel Priority: optional Maintainer: Carlos Laviola -Uploaders: Torsten Werner , Abou Al Montacir -DM-Upload-Allowed: yes -Standards-Version: 3.9.3 -Build-Depends: debhelper (>= 7), quilt, fpc, fpc-source, fp-utils, imagemagick, po-debconf +Uploaders: Torsten Werner , Abou Al Montacir , Paul Gevers +Standards-Version: 3.9.5 +Build-Depends: debhelper (>= 7), fpc, fpc-source, fp-utils, imagemagick, po-debconf Vcs-Svn: https://bollin.googlecode.com/svn/lazarus/trunk -Vcs-Browser: http://bollin.googlecode.com/svn/lazarus/trunk +Vcs-Browser: http://code.google.com/p/bollin/source/browse/lazarus/trunk Homepage: http://www.lazarus.freepascal.org -Package: lazarus +Package: lazarus-1.2.0 Architecture: all -Depends: ${misc:Depends}, lazarus-ide (>= ${source:Version}), lazarus-src (>= ${source:Version}), lazarus-doc (>= ${source:Version}) +Depends: ${misc:Depends}, lazarus-ide-1.2.0 (>= ${source:Version}), lazarus-src-1.2.0 (>= ${source:Version}), lazarus-doc-1.2.0 (>= ${source:Version}) Recommends: fpc, fpc-source Suggests: fp-utils, fp-docs -Description: IDE for Free Pascal - Meta Package +Provides: lazarus +Breaks: lazarus (<< 0.9.28.2-13) +Replaces: lazarus (<< 0.9.18.2-13) +Description: IDE for Free Pascal - suite Lazarus is an IDE to create (graphical and console) applications with Free - Pascal. Free Pascal is a (L)GPL'ed Pascal and Object Pascal compiler that runs - on Windows, Linux, Mac OS X, FreeBSD and more. + Pascal, the (L)GPLed Pascal and Object Pascal compiler that runs on + Windows, Linux, Mac OS X, FreeBSD and more. . Lazarus is the missing part of the puzzle that will allow you to develop - programs for all of the above platforms in a Delphi like environment. - The IDE is a RAD tool that includes a form designer. - . - Unlike Java's "write once, run anywhere" motto, Lazarus and Free Pascal - strive for "write once, compile anywhere". Since the exact same compiler - is available on all of the above platforms you don't need to do any recoding - to produce identical products for different platforms. - . - In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus - Component Library (LCL). - . - This is a metapackage depending on all packages need to have a typical - Lazarus installation. - . - Official: http://sourceforge.net/projects/lazarus/ - . - Tutorials: http://lazarus-ccr.sourceforge.net - -Package: lazarus-src -Architecture: all -Depends: ${misc:Depends} -Suggests: lazarus-ide -Description: IDE for Free Pascal - LCL Sources Code - Lazarus is an IDE to create (graphical and console) applications with Free - Pascal. Free Pascal is a (L)GPL'ed Pascal and Object Pascal compiler that runs - on Windows, Linux, Mac OS X, FreeBSD and more. - . - Lazarus is the missing part of the puzzle that will allow you to develop - programs for all of the above platforms in a Delphi like environment. - The IDE is a RAD tool that includes a form designer. - . - Unlike Java's "write once, run anywhere" motto, Lazarus and Free Pascal - strive for "write once, compile anywhere". Since the exact same compiler - is available on all of the above platforms you don't need to do any recoding - to produce identical products for different platforms. - . - In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus - Component Library (LCL). - . - This package contains lazarus latest version source code necessary for the IDE - code tool to work properly (retrieving declarations and navigating in code). - -Package: lazarus-ide -Architecture: i386 powerpc sparc amd64 armel armhf -Depends: ${misc:Depends}, ${shlibs:Depends}, fp-compiler, lazarus-src, lazarus-ide-gtk | lazarus-ide-qt -Recommends: fpc, lcl, gdb -Suggests: fp-utils -Description: IDE for Free Pascal - Common IDE files - Lazarus is an IDE to create (graphical and console) applications with Free - Pascal. Free Pascal is a (L)GPL'ed Pascal and Object Pascal compiler that runs - on Windows, Linux, Mac OS X, FreeBSD and more. - . - Lazarus is the missing part of the puzzle that will allow you to develop - programs for all of the above platforms in a Delphi like environment. - The IDE is a RAD tool that includes a form designer. - . - Unlike Java's "write once, run anywhere" motto, Lazarus and Free Pascal - strive for "write once, compile anywhere". Since the exact same compiler - is available on all of the above platforms you don't need to do any recoding - to produce identical products for different platforms. - . - In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus - Component Library (LCL). - . - This package contains the commons files required to run lazarus IDE. - -Package: lazarus-ide-gtk2 -Architecture: i386 powerpc sparc amd64 armel armhf -Depends: ${misc:Depends}, ${shlibs:Depends}, lazarus-ide -Recommends: fpc, lcl, gdb -Suggests: fp-utils -Provides: lazarus-ide-gtk -Breaks: lazarus-ide (<= 0.9.28.2-2) -Replaces: lazarus-ide (<= 0.9.28.2-2) -Description: IDE for Free Pascal - IDE build on top of GTK+ backend - Lazarus is an IDE to create (graphical and console) applications with Free - Pascal. Free Pascal is a (L)GPL'ed Pascal and Object Pascal compiler that runs - on Windows, Linux, Mac OS X, FreeBSD and more. - . - Lazarus is the missing part of the puzzle that will allow you to develop - programs for all of the above platforms in a Delphi like environment. - The IDE is a RAD tool that includes a form designer. - . - Unlike Java's "write once, run anywhere" motto, Lazarus and Free Pascal - strive for "write once, compile anywhere". Since the exact same compiler - is available on all of the above platforms you don't need to do any recoding - to produce identical products for different platforms. - . - In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus - Component Library (LCL). - . - This package contains the lazarus IDE build on top of GTK+ backend. - -Package: lazarus-ide-qt4 -Architecture: i386 powerpc sparc amd64 armel armhf -Depends: ${misc:Depends}, ${shlibs:Depends}, lazarus-ide, lazarus-ide-gtk -Recommends: fpc, lcl, gdb -Suggests: fp-utils -Provides: lazarus-ide-qt -Breaks: lazarus-ide (<= 0.9.28.2-2) -Replaces: lazarus-ide (<= 0.9.28.2-2) -Description: IDE for Free Pascal - IDE build on top of QT backend - Lazarus is an IDE to create (graphical and console) applications with Free - Pascal. Free Pascal is a (L)GPL'ed Pascal and Object Pascal compiler that runs - on Windows, Linux, Mac OS X, FreeBSD and more. - . - Lazarus is the missing part of the puzzle that will allow you to develop - programs for all of the above platforms in a Delphi like environment. + programs for all of the above platforms in a Delphi-like environment. The IDE is a RAD tool that includes a form designer. . Unlike Java's "write once, run anywhere" motto, Lazarus and Free Pascal @@ -139,23 +34,23 @@ Description: IDE for Free Pascal - IDE build on top of QT backend In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus Component Library (LCL). . - This package will contain the lazarus IDE build on top of QT backend, however - for now it just depends on gtk based IDE. + This metapackage pulls in all the packages needed to have a typical + Lazarus installation. -Package: lcl -Architecture: i386 powerpc sparc amd64 armel armhf -Depends: ${misc:Depends}, ${shlibs:Depends}, lcl-units, lcl-utils -Recommends: fpc, lazarus-ide -Suggests: gdb -Breaks: lazarus-ide (<= 0.9.28.2-2) -Replaces: lazarus-ide (<= 0.9.28.2-2) -Description: Lazarus Components Library - LCL metapackage +Package: lazarus-src-1.2.0 +Architecture: all +Depends: ${misc:Depends} +Suggests: lazarus-ide-1.2.0 +Provides: lazarus-src +Breaks: lazarus-src (<< 0.9.28.2-13) +Replaces: lazarus-src (<< 0.9.18.2-13) +Description: IDE for Free Pascal - LCL source code Lazarus is an IDE to create (graphical and console) applications with Free - Pascal. Free Pascal is a (L)GPL'ed Pascal and Object Pascal compiler that runs - on Windows, Linux, Mac OS X, FreeBSD and more. + Pascal, the (L)GPLed Pascal and Object Pascal compiler that runs on + Windows, Linux, Mac OS X, FreeBSD and more. . Lazarus is the missing part of the puzzle that will allow you to develop - programs for all of the above platforms in a Delphi like environment. + programs for all of the above platforms in a Delphi-like environment. The IDE is a RAD tool that includes a form designer. . Unlike Java's "write once, run anywhere" motto, Lazarus and Free Pascal @@ -163,24 +58,136 @@ Description: Lazarus Components Library - LCL metapackage is available on all of the above platforms you don't need to do any recoding to produce identical products for different platforms. . - In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus + In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus Component Library (LCL). . - This is a metapackage to ease installing the LCL and components. + This package contains the latest version of the source code necessary for + the IDE code tool to work properly (retrieving declarations and navigating + in code). -Package: lcl-utils -Architecture: i386 powerpc sparc amd64 armel armhf +Package: lazarus-ide-1.2.0 +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, fp-compiler, lazarus-src-1.2.0, lazarus-ide-gtk-1.2.0 | lazarus-ide-qt-1.2.0 +Recommends: fpc, lcl-1.2.0, gdb +Suggests: fp-utils +Provides: lazarus-ide +Breaks: lazarus-ide (<< 0.2.28.2-13) +Replaces: lazarus-ide (<< 0.2.28.2-13) +Description: IDE for Free Pascal - common IDE files + Lazarus is an IDE to create (graphical and console) applications with Free + Pascal, the (L)GPLed Pascal and Object Pascal compiler that runs on + Windows, Linux, Mac OS X, FreeBSD and more. + . + Lazarus is the missing part of the puzzle that will allow you to develop + programs for all of the above platforms in a Delphi-like environment. + The IDE is a RAD tool that includes a form designer. + . + Unlike Java's "write once, run anywhere" motto, Lazarus and Free Pascal + strive for "write once, compile anywhere". Since the exact same compiler + is available on all of the above platforms you don't need to do any recoding + to produce identical products for different platforms. + . + In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus + Component Library (LCL). + . + This package contains the common files required to run Lazarus IDE. + +Package: lazarus-ide-gtk2-1.2.0 +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, lazarus-ide-1.2.0 +Recommends: fpc, lcl-1.2.0, gdb +Suggests: fp-utils +Provides: lazarus-ide-gtk-1.2.0, lazarus-ide-gtk2, lazarus-ide +Breaks: lazarus-ide-gtk2 (<< 0.2.28.2-13), lazarus-ide (<< 0.9.28.2-13) +Replaces: lazarus-ide-gtk2 (<< 0.2.28.2-13), lazarus-ide (<< 0.9.28.2-13) +Description: IDE for Free Pascal - GTK+ version + Lazarus is an IDE to create (graphical and console) applications with Free + Pascal, the (L)GPLed Pascal and Object Pascal compiler that runs on + Windows, Linux, Mac OS X, FreeBSD and more. + . + Lazarus is the missing part of the puzzle that will allow you to develop + programs for all of the above platforms in a Delphi-like environment. + The IDE is a RAD tool that includes a form designer. + . + Unlike Java's "write once, run anywhere" motto, Lazarus and Free Pascal + strive for "write once, compile anywhere". Since the exact same compiler + is available on all of the above platforms you don't need to do any recoding + to produce identical products for different platforms. + . + In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus + Component Library (LCL). + . + This package contains the GTK+ version of the Lazarus IDE. + +Package: lazarus-ide-qt4-1.2.0 +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, lazarus-ide-1.2.0, lazarus-ide-gtk-1.2.0 +Recommends: fpc, lcl-1.2.0, gdb +Suggests: fp-utils +Provides: lazarus-ide-qt-1.2.0, lazarus-ide-qt4, lazarus-ide +Breaks: lazarus-ide-qt4(<< 0.9.28.2-13), lazarus-ide (<< 0.9.28.2-13) +Replaces: lazarus-ide-qt4 (<< 0.9.28.2-13), lazarus-ide (<< 0.9.28.2-13) +Description: IDE for Free Pascal - Qt version + Lazarus is an IDE to create (graphical and console) applications with Free + Pascal, the (L)GPLed Pascal and Object Pascal compiler that runs on + Windows, Linux, Mac OS X, FreeBSD and more. + . + Lazarus is the missing part of the puzzle that will allow you to develop + programs for all of the above platforms in a Delphi-like environment. + The IDE is a RAD tool that includes a form designer. + . + Unlike Java's "write once, run anywhere" motto, Lazarus and Free Pascal + strive for "write once, compile anywhere". Since the exact same compiler + is available on all of the above platforms you don't need to do any recoding + to produce identical products for different platforms. + . + In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus + Component Library (LCL). + . + This is the placeholder package for the Qt version of the Lazarus IDE, + which currently just depends on the GTK+ version. + +Package: lcl-1.2.0 +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, lcl-units-1.2.0, lcl-utils-1.2.0 +Recommends: fpc, lazarus-ide-1.2.0 +Suggests: gdb +Provides: lcl +Breaks: lazarus-ide (<= 0.9.28.2-2), lcl (<< 0.9.28.2-13) +Replaces: lazarus-ide (<= 0.9.28.2-2), lcl (<< 0.9.28.2-13) +Description: Lazarus Components Library - LCL suite + Lazarus is an IDE to create (graphical and console) applications with Free + Pascal, the (L)GPLed Pascal and Object Pascal compiler that runs on + Windows, Linux, Mac OS X, FreeBSD and more. + . + Lazarus is the missing part of the puzzle that will allow you to develop + programs for all of the above platforms in a Delphi-like environment. + The IDE is a RAD tool that includes a form designer. + . + Unlike Java's "write once, run anywhere" motto, Lazarus and Free Pascal + strive for "write once, compile anywhere". Since the exact same compiler + is available on all of the above platforms you don't need to do any recoding + to produce identical products for different platforms. + . + In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus + Component Library (LCL). + . + This metapackage installs the full LCL and components. + +Package: lcl-utils-1.2.0 +Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, fp-compiler -Recommends: lcl, lazarus-ide -Breaks: lazarus-ide (<= 0.9.28.2-2) -Replaces: lazarus-ide (<= 0.9.28.2-2) -Description: Lazarus Components Library - Command Line build tools +Recommends: lcl-1.2.0, lazarus-ide-1.2.0 +Provides: lcl-utils +Breaks: lcl-utils (<< 0.9.28.2-13), lazarus-ide (<= 0.9.28.2-2) +Replaces: lcl-utils (<< 0.9.28.2-13), lazarus-ide-1.2.0 (<= 0.9.28.2-2) +Description: Lazarus Components Library - command line build tools Lazarus is an IDE to create (graphical and console) applications with Free - Pascal. Free Pascal is a (L)GPL'ed Pascal and Object Pascal compiler that runs - on Windows, Linux, Mac OS X, FreeBSD and more. + Pascal, the (L)GPLed Pascal and Object Pascal compiler that runs on + Windows, Linux, Mac OS X, FreeBSD and more. . Lazarus is the missing part of the puzzle that will allow you to develop - programs for all of the above platforms in a Delphi like environment. + programs for all of the above platforms in a Delphi-like environment. The IDE is a RAD tool that includes a form designer. . Unlike Java's "write once, run anywhere" motto, Lazarus and Free Pascal @@ -188,26 +195,27 @@ Description: Lazarus Components Library - Command Line build tools is available on all of the above platforms you don't need to do any recoding to produce identical products for different platforms. . - In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus + In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus Component Library (LCL). . - This package contains command line tools to ease building LCL applications. + This package contains command line tools to ease building LCL based + applications. -Package: lcl-units -Architecture: i386 powerpc sparc amd64 armel armhf -Depends: ${misc:Depends}, ${shlibs:Depends}, ${fpc-abi:Depends}, lcl-gtk2 | lcl-gtk | lcl-qt -Recommends: lazarus-ide, fpc +Package: lcl-units-1.2.0 +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, ${fpc-abi:Depends}, lcl-gtk2-1.2.0 (= ${binary:Version}) | lcl-qt4-1.2.0 (= ${binary:Version}) +Recommends: lazarus-ide-1.2.0, fpc Suggests: gdb -Provides: lcl-${source:Upstream-Version} -Breaks: lazarus-ide (<= 0.9.28.2-2) -Replaces: lazarus-ide (<= 0.9.28.2-2) -Description: Lazarus Components Library - Backend independent components +Provides: lcl-units, lcl-${source:Upstream-Version} +Breaks: lcl-units (<< 0.9.28.2), lazarus-ide-1.2.0 (<= 0.9.28.2-2) +Replaces: lcl-units (<< 0.9.28.2), lazarus-ide-1.2.0 (<= 0.9.28.2-2) +Description: Lazarus Components Library - backend independent components Lazarus is an IDE to create (graphical and console) applications with Free - Pascal. Free Pascal is a (L)GPL'ed Pascal and Object Pascal compiler that runs - on Windows, Linux, Mac OS X, FreeBSD and more. + Pascal, the (L)GPLed Pascal and Object Pascal compiler that runs on + Windows, Linux, Mac OS X, FreeBSD and more. . Lazarus is the missing part of the puzzle that will allow you to develop - programs for all of the above platforms in a Delphi like environment. + programs for all of the above platforms in a Delphi-like environment. The IDE is a RAD tool that includes a form designer. . Unlike Java's "write once, run anywhere" motto, Lazarus and Free Pascal @@ -215,25 +223,26 @@ Description: Lazarus Components Library - Backend independent components is available on all of the above platforms you don't need to do any recoding to produce identical products for different platforms. . - In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus + In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus Component Library (LCL). . - This package contains the LCL and components. + This package contains common components of the LCL. -Package: lcl-nogui -Architecture: i386 powerpc sparc amd64 armel armhf +Package: lcl-nogui-1.2.0 +Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, ${fpc-abi:Depends}, fp-units-rtl, fp-units-base, fp-units-fcl -Recommends: lazarus-ide, fpc +Recommends: lazarus-ide-1.2.0, fpc Suggests: gdb -Breaks: lazarus-ide (<= 0.9.28.2-2) -Replaces: lazarus-ide (<= 0.9.28.2-2) -Description: Lazarus Components Library - No GUI backend +Provides: lcl-nogui +Breaks: lcl-nogui (<< 0.9.28.2), lazarus-ide-1.2.0 (<= 0.9.28.2-2) +Replaces: lcl-nogui (<< 0.9.28.2), lazarus-ide-1.2.0 (<= 0.9.28.2-2) +Description: Lazarus Components Library - no GUI backend Lazarus is an IDE to create (graphical and console) applications with Free - Pascal. Free Pascal is a (L)GPL'ed Pascal and Object Pascal compiler that runs - on Windows, Linux, Mac OS X, FreeBSD and more. + Pascal, the (L)GPLed Pascal and Object Pascal compiler that runs on + Windows, Linux, Mac OS X, FreeBSD and more. . Lazarus is the missing part of the puzzle that will allow you to develop - programs for all of the above platforms in a Delphi like environment. + programs for all of the above platforms in a Delphi-like environment. The IDE is a RAD tool that includes a form designer. . Unlike Java's "write once, run anywhere" motto, Lazarus and Free Pascal @@ -241,27 +250,27 @@ Description: Lazarus Components Library - No GUI backend is available on all of the above platforms you don't need to do any recoding to produce identical products for different platforms. . - In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus + In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus Component Library (LCL). . - This package contains the LCL and components no GUI based backend for command - line tools and non graphical applications. + This package contains the part of the LCL for developing non-graphical + applications and command line tools. -Package: lcl-gtk2 -Architecture: i386 powerpc sparc amd64 armel armhf +Package: lcl-gtk2-1.2.0 +Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, ${fpc-abi:Depends}, fp-units-rtl, fp-units-base, fp-units-fcl, fp-units-gtk2 -Recommends: lazarus-ide, fpc +Recommends: lazarus-ide-1.2.0, fpc Suggests: gdb -Provides: lcl-gtk -Breaks: lazarus-ide (<= 0.9.28.2-2) -Replaces: lazarus-ide (<= 0.9.28.2-2) +Provides: lcl-gtk2, lcl-gtk +Breaks: lcl-gtk2 (<< 0.9.28.2), lazarus-ide-1.2.0 (<= 0.9.28.2-2) +Replaces: lcl-gtk2 (<< 0.9.28.2), lazarus-ide-1.2.0 (<= 0.9.28.2-2) Description: Lazarus Components Library - GTK+ backend Lazarus is an IDE to create (graphical and console) applications with Free - Pascal. Free Pascal is a (L)GPL'ed Pascal and Object Pascal compiler that runs - on Windows, Linux, Mac OS X, FreeBSD and more. + Pascal, the (L)GPLed Pascal and Object Pascal compiler that runs on + Windows, Linux, Mac OS X, FreeBSD and more. . Lazarus is the missing part of the puzzle that will allow you to develop - programs for all of the above platforms in a Delphi like environment. + programs for all of the above platforms in a Delphi-like environment. The IDE is a RAD tool that includes a form designer. . Unlike Java's "write once, run anywhere" motto, Lazarus and Free Pascal @@ -269,24 +278,314 @@ Description: Lazarus Components Library - GTK+ backend is available on all of the above platforms you don't need to do any recoding to produce identical products for different platforms. . - In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus + In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus Component Library (LCL). . - This package contains the LCL and components GTK+ based backend. + This package contains the part of the LCL for developing GTK+ applications. + +Package: lcl-qt4-1.2.0 +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, ${fpc-abi:Depends}, fp-units-rtl, fp-units-base, fp-units-fcl, libqt4pas-dev +Recommends: lazarus-ide-1.2.0, fpc +Suggests: gdb +Provides: lcl-qt4, lcl-qt +Description: Lazarus Components Library - Qt backend + Lazarus is an IDE to create (graphical and console) applications with Free + Pascal, the (L)GPLed Pascal and Object Pascal compiler that runs on + Windows, Linux, Mac OS X, FreeBSD and more. + . + Lazarus is the missing part of the puzzle that will allow you to develop + programs for all of the above platforms in a Delphi-like environment. + The IDE is a RAD tool that includes a form designer. + . + Unlike Java's "write once, run anywhere" motto, Lazarus and Free Pascal + strive for "write once, compile anywhere". Since the exact same compiler + is available on all of the above platforms you don't need to do any recoding + to produce identical products for different platforms. + . + In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus + Component Library (LCL). + . + This package contains the part of the LCL for developing Qt applications. + +Package: lazarus-doc-1.2.0 +Section: doc +Architecture: all +Depends: ${misc:Depends} +Suggests: lazarus-ide-1.2.0 +Provides: lazarus-doc +Breaks: lazarus-doc (<< 0.9.28.2-13) +Replaces: lazarus-doc (<< 0.9.28.2-13) +Description: IDE for Free Pascal - documentation + Lazarus is an IDE to create (graphical and console) applications with Free + Pascal, the (L)GPLed Pascal and Object Pascal compiler that runs on + Windows, Linux, Mac OS X, FreeBSD and more. + . + Lazarus is the missing part of the puzzle that will allow you to develop + programs for all of the above platforms in a Delphi-like environment. + The IDE is a RAD tool that includes a form designer. + . + Unlike Java's "write once, run anywhere" motto, Lazarus and Free Pascal + strive for "write once, compile anywhere". Since the exact same compiler + is available on all of the above platforms you don't need to do any recoding + to produce identical products for different platforms. + . + In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus + Component Library (LCL). + . + This package contains documentation for the Lazarus IDE and components. + It can be viewed separately with any HTML browser or accessed from the IDE's + integrated help (pressing on any LCL identifier will browse the help of + that identifier). + +##################### backward compatibility meta packages##################### + +Package: lazarus +Architecture: all +Depends: ${misc:Depends}, lazarus-1.2.0 (= ${binary:Version}) +Description: IDE for Free Pascal - SDK dependency package + Lazarus is an IDE to create (graphical and console) applications with Free + Pascal, the (L)GPLed Pascal and Object Pascal compiler that runs on + Windows, Linux, Mac OS X, FreeBSD and more. + . + Lazarus is the missing part of the puzzle that will allow you to develop + programs for all of the above platforms in a Delphi-like environment. + The IDE is a RAD tool that includes a form designer. + . + Unlike Java's "write once, run anywhere" motto, Lazarus and Free Pascal + strive for "write once, compile anywhere". Since the exact same compiler + is available on all of the above platforms you don't need to do any recoding + to produce identical products for different platforms. + . + In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus + Component Library (LCL). + . + This dependency package always depends on the latest available version of + the metapackage pulling in all the packages needed to have a typical + Lazarus installation. + +Package: lazarus-src +Architecture: all +Depends: ${misc:Depends}, lazarus-src-1.2.0 (= ${binary:Version}) +Description: IDE for Free Pascal - LCL source code dependency package + Lazarus is an IDE to create (graphical and console) applications with Free + Pascal, the (L)GPLed Pascal and Object Pascal compiler that runs on + Windows, Linux, Mac OS X, FreeBSD and more. + . + Lazarus is the missing part of the puzzle that will allow you to develop + programs for all of the above platforms in a Delphi-like environment. + The IDE is a RAD tool that includes a form designer. + . + Unlike Java's "write once, run anywhere" motto, Lazarus and Free Pascal + strive for "write once, compile anywhere". Since the exact same compiler + is available on all of the above platforms you don't need to do any recoding + to produce identical products for different platforms. + . + In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus + Component Library (LCL). + . + This dependency package always depends on the latest available version of + the package containing the IDE code necessary for the IDE code tool to work + properly (retrieving declarations and navigating in code). + +Package: lazarus-ide +Architecture: any +Depends: ${misc:Depends}, lazarus-ide-1.2.0 (= ${binary:Version}) +Description: IDE for Free Pascal - common IDE files dependency package + Lazarus is an IDE to create (graphical and console) applications with Free + Pascal, the (L)GPLed Pascal and Object Pascal compiler that runs on + Windows, Linux, Mac OS X, FreeBSD and more. + . + Lazarus is the missing part of the puzzle that will allow you to develop + programs for all of the above platforms in a Delphi-like environment. + The IDE is a RAD tool that includes a form designer. + . + Unlike Java's "write once, run anywhere" motto, Lazarus and Free Pascal + strive for "write once, compile anywhere". Since the exact same compiler + is available on all of the above platforms you don't need to do any recoding + to produce identical products for different platforms. + . + In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus + Component Library (LCL). + . + This dependency package always depends on the latest available version of + the package pulling in the common files required to run Lazarus IDE. + +Package: lazarus-ide-gtk2 +Architecture: any +Depends: ${misc:Depends}, lazarus-ide-gtk2-1.2.0 (= ${binary:Version}) +Description: IDE for Free Pascal - Last GTK+ version dependency package + Lazarus is an IDE to create (graphical and console) applications with Free + Pascal, the (L)GPLed Pascal and Object Pascal compiler that runs on + Windows, Linux, Mac OS X, FreeBSD and more. + . + Lazarus is the missing part of the puzzle that will allow you to develop + programs for all of the above platforms in a Delphi-like environment. + The IDE is a RAD tool that includes a form designer. + . + Unlike Java's "write once, run anywhere" motto, Lazarus and Free Pascal + strive for "write once, compile anywhere". Since the exact same compiler + is available on all of the above platforms you don't need to do any recoding + to produce identical products for different platforms. + . + In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus + Component Library (LCL). + . + This dependency package always depends on the latest available version of + the package containing the GTK+ version of the Lazarus IDE. + +Package: lazarus-ide-qt4 +Architecture: any +Depends: ${misc:Depends}, lazarus-ide-qt4-1.2.0 (= ${binary:Version}) +Description: IDE for Free Pascal - Last Qt version dependency package + Lazarus is an IDE to create (graphical and console) applications with Free + Pascal, the (L)GPLed Pascal and Object Pascal compiler that runs on + Windows, Linux, Mac OS X, FreeBSD and more. + . + Lazarus is the missing part of the puzzle that will allow you to develop + programs for all of the above platforms in a Delphi-like environment. + The IDE is a RAD tool that includes a form designer. + . + Unlike Java's "write once, run anywhere" motto, Lazarus and Free Pascal + strive for "write once, compile anywhere". Since the exact same compiler + is available on all of the above platforms you don't need to do any recoding + to produce identical products for different platforms. + . + In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus + Component Library (LCL). + . + This dependency package always depends on the latest available version of + the placeholder package for the Qt version of the Lazarus IDE, which + currently just depends on the GTK+ version. + +Package: lcl +Architecture: any +Depends: ${misc:Depends}, lcl-1.2.0 (= ${binary:Version}) +Description: Lazarus Components Library - LCL dependency package + Lazarus is an IDE to create (graphical and console) applications with Free + Pascal, the (L)GPLed Pascal and Object Pascal compiler that runs on + Windows, Linux, Mac OS X, FreeBSD and more. + . + Lazarus is the missing part of the puzzle that will allow you to develop + programs for all of the above platforms in a Delphi-like environment. + The IDE is a RAD tool that includes a form designer. + . + Unlike Java's "write once, run anywhere" motto, Lazarus and Free Pascal + strive for "write once, compile anywhere". Since the exact same compiler + is available on all of the above platforms you don't need to do any recoding + to produce identical products for different platforms. + . + In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus + Component Library (LCL). + . + This dependency package always depends on the latest available version of + the metapackage installing the full LCL and components. + +Package: lcl-utils +Architecture: any +Depends: ${misc:Depends}, lcl-utils-1.2.0 (= ${binary:Version}) +Description: Lazarus Components Library - command line build tools dependency package + Lazarus is an IDE to create (graphical and console) applications with Free + Pascal, the (L)GPLed Pascal and Object Pascal compiler that runs on + Windows, Linux, Mac OS X, FreeBSD and more. + . + Lazarus is the missing part of the puzzle that will allow you to develop + programs for all of the above platforms in a Delphi-like environment. + The IDE is a RAD tool that includes a form designer. + . + Unlike Java's "write once, run anywhere" motto, Lazarus and Free Pascal + strive for "write once, compile anywhere". Since the exact same compiler + is available on all of the above platforms you don't need to do any recoding + to produce identical products for different platforms. + . + In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus + Component Library (LCL). + . + This dependency package always depends on the latest available version of + the package pulling in the command line tools to ease building LCL + applications. + +Package: lcl-units +Architecture: any +Depends: ${misc:Depends}, lcl-units-1.2.0 (= ${binary:Version}) +Description: Lazarus Components Library - backend independent components dependency package + Lazarus is an IDE to create (graphical and console) applications with Free + Pascal, the (L)GPLed Pascal and Object Pascal compiler that runs on + Windows, Linux, Mac OS X, FreeBSD and more. + . + Lazarus is the missing part of the puzzle that will allow you to develop + programs for all of the above platforms in a Delphi-like environment. + The IDE is a RAD tool that includes a form designer. + . + Unlike Java's "write once, run anywhere" motto, Lazarus and Free Pascal + strive for "write once, compile anywhere". Since the exact same compiler + is available on all of the above platforms you don't need to do any recoding + to produce identical products for different platforms. + . + In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus + Component Library (LCL). + . + This dependency package always depends on the latest available version of + the package containing common components. + +Package: lcl-nogui +Architecture: any +Depends: ${misc:Depends}, lcl-nogui-1.2.0 (= ${binary:Version}) +Description: Lazarus Components Library - no GUI backend dependency package + Lazarus is an IDE to create (graphical and console) applications with Free + Pascal, the (L)GPLed Pascal and Object Pascal compiler that runs on + Windows, Linux, Mac OS X, FreeBSD and more. + . + Lazarus is the missing part of the puzzle that will allow you to develop + programs for all of the above platforms in a Delphi-like environment. + The IDE is a RAD tool that includes a form designer. + . + Unlike Java's "write once, run anywhere" motto, Lazarus and Free Pascal + strive for "write once, compile anywhere". Since the exact same compiler + is available on all of the above platforms you don't need to do any recoding + to produce identical products for different platforms. + . + In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus + Component Library (LCL). + . + This dependency package always depends on the latest available version of + the package containing the part of the LCL for developing non-graphical + applications and command line tools. + +Package: lcl-gtk2 +Architecture: any +Depends: ${misc:Depends}, lcl-gtk2-1.2.0 (= ${binary:Version}) +Description: Lazarus Components Library - GTK+ backend dependency package + Lazarus is an IDE to create (graphical and console) applications with Free + Pascal, the (L)GPLed Pascal and Object Pascal compiler that runs on + Windows, Linux, Mac OS X, FreeBSD and more. + . + Lazarus is the missing part of the puzzle that will allow you to develop + programs for all of the above platforms in a Delphi-like environment. + The IDE is a RAD tool that includes a form designer. + . + Unlike Java's "write once, run anywhere" motto, Lazarus and Free Pascal + strive for "write once, compile anywhere". Since the exact same compiler + is available on all of the above platforms you don't need to do any recoding + to produce identical products for different platforms. + . + In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus + Component Library (LCL). + . + This dependency package always depends on the latest available version of + the package containing the part of the LCL for developing GTK+ + applications. Package: lcl-qt4 -Architecture: i386 powerpc sparc amd64 armel armhf -Depends: ${misc:Depends}, ${shlibs:Depends}, ${fpc-abi:Depends}, fp-units-rtl, fp-units-base, fp-units-fcl, libqt4pas-dev -Recommends: lazarus-ide, fpc -Suggests: gdb -Provides: lcl-qt -Description: Lazarus Components Library - QT backend +Architecture: any +Depends: ${misc:Depends}, lcl-qt4-1.2.0 (= ${binary:Version}) +Description: Lazarus Components Library - Qt backend dependency package Lazarus is an IDE to create (graphical and console) applications with Free - Pascal. Free Pascal is a (L)GPL'ed Pascal and Object Pascal compiler that runs - on Windows, Linux, Mac OS X, FreeBSD and more. + Pascal, the (L)GPLed Pascal and Object Pascal compiler that runs on + Windows, Linux, Mac OS X, FreeBSD and more. . Lazarus is the missing part of the puzzle that will allow you to develop - programs for all of the above platforms in a Delphi like environment. + programs for all of the above platforms in a Delphi-like environment. The IDE is a RAD tool that includes a form designer. . Unlike Java's "write once, run anywhere" motto, Lazarus and Free Pascal @@ -294,24 +593,24 @@ Description: Lazarus Components Library - QT backend is available on all of the above platforms you don't need to do any recoding to produce identical products for different platforms. . - In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus + In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus Component Library (LCL). . - This package contains the LCL and components Qt based backend. Actually this is - an empty package but will not be in the future. + This dependency package always depends on the latest available version of + the package containing the part of the LCL for developing Qt + applications. Package: lazarus-doc Section: doc Architecture: all -Depends: ${misc:Depends} -Suggests: lazarus-ide -Description: IDE for Free Pascal - Documentation +Depends: ${misc:Depends}, lazarus-doc-1.2.0 (= ${binary:Version}) +Description: IDE for Free Pascal - documentation dependency package Lazarus is an IDE to create (graphical and console) applications with Free - Pascal. Free Pascal is a (L)GPL'ed Pascal and Object Pascal compiler that runs - on Windows, Linux, Mac OS X, FreeBSD and more. + Pascal, the (L)GPLed Pascal and Object Pascal compiler that runs on + Windows, Linux, Mac OS X, FreeBSD and more. . Lazarus is the missing part of the puzzle that will allow you to develop - programs for all of the above platforms in a Delphi like environment. + programs for all of the above platforms in a Delphi-like environment. The IDE is a RAD tool that includes a form designer. . Unlike Java's "write once, run anywhere" motto, Lazarus and Free Pascal @@ -319,10 +618,11 @@ Description: IDE for Free Pascal - Documentation is available on all of the above platforms you don't need to do any recoding to produce identical products for different platforms. . - In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus + In short, Lazarus is a free RAD tool for Free Pascal using its Lazarus Component Library (LCL). . - This package contains documentation of the lazarus IDE and components. It can - be viewed separately with any HTML browser or used by the IDE to as an - integrated help (pressing on any LCL identifier will browse the help of + This dependency package always depends on the latest available version of + the package pulling in the documentation for the Lazarus IDE and components. + It can be viewed separately with any HTML browser or accessed from the IDE's + integrated help (pressing on any LCL identifier will browse the help for that identifier). diff --git a/debian/control.in b/debian/control.in index 627ebc96cd..9db6bed22e 100644 --- a/debian/control.in +++ b/debian/control.in @@ -2,16 +2,14 @@ Source: lazarus Section: devel Priority: optional Maintainer: Carlos Laviola -Uploaders: Torsten Werner , Abou Al Montacir -DM-Upload-Allowed: yes -Standards-Version: 3.9.3 -Build-Depends: debhelper (>= 7), quilt, fpc, fpc-source, fp-utils, imagemagick, po-debconf +Uploaders: Torsten Werner , Abou Al Montacir , Paul Gevers +Standards-Version: 3.9.5 +Build-Depends: debhelper (>= 7), fpc, fpc-source, fp-utils, imagemagick, po-debconf Vcs-Svn: https://bollin.googlecode.com/svn/lazarus/trunk -Vcs-Browser: http://bollin.googlecode.com/svn/lazarus/trunk +Vcs-Browser: http://code.google.com/p/bollin/source/browse/lazarus/trunk Homepage: http://www.lazarus.freepascal.org Package: lazarus${PACKAGESUFFIX} -Section: metapackages Architecture: all Depends: ${misc:Depends}, lazarus-ide${PACKAGESUFFIX} (>= ${source:Version}), lazarus-src${PACKAGESUFFIX} (>= ${source:Version}), lazarus-doc${PACKAGESUFFIX} (>= ${source:Version}) Recommends: fpc, fpc-source @@ -68,7 +66,7 @@ Description: IDE for Free Pascal - LCL source code in code). Package: lazarus-ide${PACKAGESUFFIX} -Architecture: i386 powerpc sparc amd64 armel armhf +Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, fp-compiler, lazarus-src${PACKAGESUFFIX}, lazarus-ide-gtk${PACKAGESUFFIX} | lazarus-ide-qt${PACKAGESUFFIX} Recommends: fpc, lcl${PACKAGESUFFIX}, gdb Suggests: fp-utils @@ -95,7 +93,7 @@ Description: IDE for Free Pascal - common IDE files This package contains the common files required to run Lazarus IDE. Package: lazarus-ide-gtk2${PACKAGESUFFIX} -Architecture: i386 powerpc sparc amd64 armel armhf +Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, lazarus-ide${PACKAGESUFFIX} Recommends: fpc, lcl${PACKAGESUFFIX}, gdb Suggests: fp-utils @@ -122,7 +120,7 @@ Description: IDE for Free Pascal - GTK+ version This package contains the GTK+ version of the Lazarus IDE. Package: lazarus-ide-qt4${PACKAGESUFFIX} -Architecture: i386 powerpc sparc amd64 armel armhf +Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, lazarus-ide${PACKAGESUFFIX}, lazarus-ide-gtk${PACKAGESUFFIX} Recommends: fpc, lcl${PACKAGESUFFIX}, gdb Suggests: fp-utils @@ -147,11 +145,10 @@ Description: IDE for Free Pascal - Qt version Component Library (LCL). . This is the placeholder package for the Qt version of the Lazarus IDE, - which currently just depends on the GTK version. + which currently just depends on the GTK+ version. Package: lcl${PACKAGESUFFIX} -Section: metapackages -Architecture: all +Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, lcl-units${PACKAGESUFFIX}, lcl-utils${PACKAGESUFFIX} Recommends: fpc, lazarus-ide${PACKAGESUFFIX} Suggests: gdb @@ -178,7 +175,7 @@ Description: Lazarus Components Library - LCL suite This metapackage installs the full LCL and components. Package: lcl-utils${PACKAGESUFFIX} -Architecture: i386 powerpc sparc amd64 armel armhf +Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, fp-compiler Recommends: lcl${PACKAGESUFFIX}, lazarus-ide${PACKAGESUFFIX} Provides: lcl-utils @@ -205,8 +202,8 @@ Description: Lazarus Components Library - command line build tools applications. Package: lcl-units${PACKAGESUFFIX} -Architecture: i386 powerpc sparc amd64 armel armhf -Depends: ${misc:Depends}, ${shlibs:Depends}, ${fpc-abi:Depends}, lcl-gtk2${PACKAGESUFFIX} (= ${binary:Version}) | lcl-gtk${PACKAGESUFFIX} (= ${binary:Version}) | lcl-qt${PACKAGESUFFIX} (= ${binary:Version}) +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, ${fpc-abi:Depends}, lcl-gtk2${PACKAGESUFFIX} (= ${binary:Version}) | lcl-qt4${PACKAGESUFFIX} (= ${binary:Version}) Recommends: lazarus-ide${PACKAGESUFFIX}, fpc Suggests: gdb Provides: lcl-units, lcl-${source:Upstream-Version} @@ -232,7 +229,7 @@ Description: Lazarus Components Library - backend independent components This package contains common components of the LCL. Package: lcl-nogui${PACKAGESUFFIX} -Architecture: i386 powerpc sparc amd64 armel armhf +Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, ${fpc-abi:Depends}, fp-units-rtl, fp-units-base, fp-units-fcl Recommends: lazarus-ide${PACKAGESUFFIX}, fpc Suggests: gdb @@ -260,11 +257,11 @@ Description: Lazarus Components Library - no GUI backend applications and command line tools. Package: lcl-gtk2${PACKAGESUFFIX} -Architecture: i386 powerpc sparc amd64 armel armhf +Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, ${fpc-abi:Depends}, fp-units-rtl, fp-units-base, fp-units-fcl, fp-units-gtk2 Recommends: lazarus-ide${PACKAGESUFFIX}, fpc Suggests: gdb -Provides: lcl-gtk2, lcl-gtk, lcl-gtk${PACKAGESUFFIX} +Provides: lcl-gtk2, lcl-gtk Breaks: lcl-gtk2 (<< 0.9.28.2), lazarus-ide${PACKAGESUFFIX} (<= 0.9.28.2-2) Replaces: lcl-gtk2 (<< 0.9.28.2), lazarus-ide${PACKAGESUFFIX} (<= 0.9.28.2-2) Description: Lazarus Components Library - GTK+ backend @@ -287,11 +284,11 @@ Description: Lazarus Components Library - GTK+ backend This package contains the part of the LCL for developing GTK+ applications. Package: lcl-qt4${PACKAGESUFFIX} -Architecture: i386 powerpc sparc amd64 armel armhf +Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, ${fpc-abi:Depends}, fp-units-rtl, fp-units-base, fp-units-fcl, libqt4pas-dev Recommends: lazarus-ide${PACKAGESUFFIX}, fpc Suggests: gdb -Provides: lcl-qt, lcl-qt${PACKAGESUFFIX} +Provides: lcl-qt4, lcl-qt Description: Lazarus Components Library - Qt backend Lazarus is an IDE to create (graphical and console) applications with Free Pascal, the (L)GPLed Pascal and Object Pascal compiler that runs on @@ -316,9 +313,9 @@ Section: doc Architecture: all Depends: ${misc:Depends} Suggests: lazarus-ide${PACKAGESUFFIX} -Provides: lazarus-docs -Breaks: lazarus-docs (<< 0.9.28.2-13) -Replaces: lazarus-docs (<< 0.9.28.2-13) +Provides: lazarus-doc +Breaks: lazarus-doc (<< 0.9.28.2-13) +Replaces: lazarus-doc (<< 0.9.28.2-13) Description: IDE for Free Pascal - documentation Lazarus is an IDE to create (graphical and console) applications with Free Pascal, the (L)GPLed Pascal and Object Pascal compiler that runs on @@ -344,7 +341,6 @@ Description: IDE for Free Pascal - documentation ##################### backward compatibility meta packages##################### Package: lazarus -Section: metapackages Architecture: all Depends: ${misc:Depends}, lazarus${PACKAGESUFFIX} (= ${binary:Version}) Description: IDE for Free Pascal - SDK dependency package @@ -369,7 +365,6 @@ Description: IDE for Free Pascal - SDK dependency package Lazarus installation. Package: lazarus-src -Section: metapackages Architecture: all Depends: ${misc:Depends}, lazarus-src${PACKAGESUFFIX} (= ${binary:Version}) Description: IDE for Free Pascal - LCL source code dependency package @@ -394,8 +389,7 @@ Description: IDE for Free Pascal - LCL source code dependency package properly (retrieving declarations and navigating in code). Package: lazarus-ide -Section: metapackages -Architecture: all +Architecture: any Depends: ${misc:Depends}, lazarus-ide${PACKAGESUFFIX} (= ${binary:Version}) Description: IDE for Free Pascal - common IDE files dependency package Lazarus is an IDE to create (graphical and console) applications with Free @@ -418,10 +412,9 @@ Description: IDE for Free Pascal - common IDE files dependency package the package pulling in the common files required to run Lazarus IDE. Package: lazarus-ide-gtk2 -Section: metapackages -Architecture: all +Architecture: any Depends: ${misc:Depends}, lazarus-ide-gtk2${PACKAGESUFFIX} (= ${binary:Version}) -Description: IDE for Free Pascal - GTK+ version +Description: IDE for Free Pascal - Last GTK+ version dependency package Lazarus is an IDE to create (graphical and console) applications with Free Pascal, the (L)GPLed Pascal and Object Pascal compiler that runs on Windows, Linux, Mac OS X, FreeBSD and more. @@ -442,10 +435,9 @@ Description: IDE for Free Pascal - GTK+ version the package containing the GTK+ version of the Lazarus IDE. Package: lazarus-ide-qt4 -Section: metapackages -Architecture: all +Architecture: any Depends: ${misc:Depends}, lazarus-ide-qt4${PACKAGESUFFIX} (= ${binary:Version}) -Description: IDE for Free Pascal - IDE build on top of Qt backend dependency package +Description: IDE for Free Pascal - Last Qt version dependency package Lazarus is an IDE to create (graphical and console) applications with Free Pascal, the (L)GPLed Pascal and Object Pascal compiler that runs on Windows, Linux, Mac OS X, FreeBSD and more. @@ -464,11 +456,10 @@ Description: IDE for Free Pascal - IDE build on top of Qt backend dependency pac . This dependency package always depends on the latest available version of the placeholder package for the Qt version of the Lazarus IDE, which - currently just depends on the GTK version. + currently just depends on the GTK+ version. Package: lcl -Section: metapackages -Architecture: all +Architecture: any Depends: ${misc:Depends}, lcl${PACKAGESUFFIX} (= ${binary:Version}) Description: Lazarus Components Library - LCL dependency package Lazarus is an IDE to create (graphical and console) applications with Free @@ -491,8 +482,7 @@ Description: Lazarus Components Library - LCL dependency package the metapackage installing the full LCL and components. Package: lcl-utils -Section: metapackages -Architecture: all +Architecture: any Depends: ${misc:Depends}, lcl-utils${PACKAGESUFFIX} (= ${binary:Version}) Description: Lazarus Components Library - command line build tools dependency package Lazarus is an IDE to create (graphical and console) applications with Free @@ -516,8 +506,7 @@ Description: Lazarus Components Library - command line build tools dependency pa applications. Package: lcl-units -Section: metapackages -Architecture: all +Architecture: any Depends: ${misc:Depends}, lcl-units${PACKAGESUFFIX} (= ${binary:Version}) Description: Lazarus Components Library - backend independent components dependency package Lazarus is an IDE to create (graphical and console) applications with Free @@ -540,8 +529,7 @@ Description: Lazarus Components Library - backend independent components depende the package containing common components. Package: lcl-nogui -Section: metapackages -Architecture: all +Architecture: any Depends: ${misc:Depends}, lcl-nogui${PACKAGESUFFIX} (= ${binary:Version}) Description: Lazarus Components Library - no GUI backend dependency package Lazarus is an IDE to create (graphical and console) applications with Free @@ -565,8 +553,7 @@ Description: Lazarus Components Library - no GUI backend dependency package applications and command line tools. Package: lcl-gtk2 -Section: metapackages -Architecture: all +Architecture: any Depends: ${misc:Depends}, lcl-gtk2${PACKAGESUFFIX} (= ${binary:Version}) Description: Lazarus Components Library - GTK+ backend dependency package Lazarus is an IDE to create (graphical and console) applications with Free @@ -590,8 +577,7 @@ Description: Lazarus Components Library - GTK+ backend dependency package applications. Package: lcl-qt4 -Section: metapackages -Architecture: all +Architecture: any Depends: ${misc:Depends}, lcl-qt4${PACKAGESUFFIX} (= ${binary:Version}) Description: Lazarus Components Library - Qt backend dependency package Lazarus is an IDE to create (graphical and console) applications with Free diff --git a/debian/copyright b/debian/copyright index 71d3a14604..c216ddc77a 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,7 +1,15 @@ This package was debianized by Carlos Laviola on Wed, 18 Aug 2004 14:45:08 -0300. -It was downloaded from http://www.lazarus.freepascal.org. +Detailed information about Lazarus could be found on the official WWW site +http://www.lazarus.freepascal.org. + +Original upstream sources of Lazarus are available on Sourceforge +http://sourceforge.net/projects/lazarus/files/Lazarus%20Zip%20_%20GZip/ + +The Debian sources were repacked from orginial upstream sources in +order to remove non DFSG compliant code such as aggpas and gpc using the +debian/orig-tar.sh script. Upstream Authors: Andreas Hausladen, Andrew Haines, Andrew Johnson, Bob Wingard, Christian Iversen, Cliff Baeseman, Colin Western, Curtis White, diff --git a/debian/fixdeb b/debian/fixdeb index 194d805cb4..5ba676507f 100644 --- a/debian/fixdeb +++ b/debian/fixdeb @@ -3,27 +3,55 @@ # Create debian files from *.in files # -#set -x -if [ $# != 2 ]; then - echo 'Usage : fixdeb [priority]' - echo ' = path to debian files' - echo ' = fpc target (i386-linux)' - echo ' [priority] = package priority in alternative system' - exit 1 +set -e + +usage() +{ + echo 'Usage : DEB_SUBST_= ... DEB_SUBST_= fixdeb [-sc|--gen-control] [file1.in] ... [filen.in]' + echo ' Changes environment variables with their values. The variables to be' + echo ' changed should be exported prefixed with DEB_SUBST_' + echo ' --gen-control: do not skip generating control file, by default it will be ignored' + echo ' = space separated list to debian files templates' + echo + echo ' List of defined variables' + set | grep '^DEB_SUBST_' + exit 1 +} + +true ${DEB_SUBST_PACKAGEVERSION:=$(dpkg-parsechangelog | sed -ne's,^Version: \(.*\),\1,p')} +true ${DEB_SUBST_VERSION:=$(echo $DEB_SUBST_PACKAGEVERSION | sed -ne's,^\([0-9.]*\).*,\1,p')} +true ${DEB_SUBST_DEBVERSION:=$(echo $DEB_SUBST_PACKAGEVERSION | awk -F '-' '{ print $NF }')} +true ${DEB_SUBST_UPSTREAM_VERSION:=$(echo ${DEB_SUBST_PACKAGEVERSION} | cut -f 1 -d -)} +true ${DEB_SUBST_UPSTREAM_MAIN_VERSION:=$(echo ${DEB_SUBST_UPSTREAM_VERSION} | sed -e 's/^\([0-9\.]*\).*/\1/')} +true ${DEB_SUBST_PACKAGESUFFIX:=-${DEB_SUBST_UPSTREAM_MAIN_VERSION}} +true ${DEB_SUBST_PRIORITY:=$(($(echo ${DEB_SUBST_VERSION}.0.0.0.0 | sed -e 's@\([0-9]\)\+\.\([0-9]\)\+\.\([0-9]\+\)\.\([0-9]\+\).*@((\1*100+\2)*100+\3)*100+\4@')))} +true ${DEB_SUBST_TARGET:=$(dpkg-architecture -qDEB_BUILD_ARCH)-$(dpkg-architecture -qDEB_BUILD_ARCH_OS)} + +if test ${1} = '--gen-control' +then + echo ========== Genrating debian/control as per explicit request ========== + gen_control=true + shift +else + gen_control=false +fi +if test $# -lt 1 +then + usage fi -DEB_SUBST_PACKAGEVERSION=`dpkg-parsechangelog | sed -ne's,^Version: \(.*\),\1,p'` -DEB_SUBST_VERSION=`echo $DEB_SUBST_PACKAGEVERSION | sed -ne's,^\([0-9.]*\).*,\1,p'` -DEB_SUBST_DEBVERSION=`echo $DEB_SUBST_PACKAGEVERSION | awk -F '-' '{ print $NF }'` -DEB_SUBST_SVNPATH=`echo $DEB_SUBST_VERSION | awk -F '.' '{ print "release_"$1"_"$2"_"$3 }'` -DEB_SUBST_TARGET="$2" -DEB_SUBST_PACKAGESUFFIX=${PACKAGESUFFIX} -DEB_SUBST_PRIORITY=${3:-$(($(echo ${DEB_SUBST_VERSION}.0.0.0.0 | sed -e 's@\([0-9]\)\+\.\([0-9]\)\+\.\([0-9]\+\)\.\([0-9]\+\).*@((\1*100+\2)*100+\3)*100+\4@')))} +echo 'List of defined variables' +set | grep '^DEB_SUBST_' +SUBST_CMD=$(set | sed -n -e 's/^DEB_SUBST_\([A-Z_]\+\)=\(.*\)/-e s@\${\1}@\2@g/p') -SUBST_CMD=`set | sed -n -e 's/^DEB_SUBST_\([A-Z_]\+\)=\(.*\)/-e s@\${\1}@\2@g/p'` - -for i in $1/*.in +for i in $* do - j=`basename ${i} .in` - sed ${SUBST_CMD} ${i} > $1/${j/./${PACKAGESUFFIX}.} + f=$(basename ${i} .in) + if ${gen_control} || test ${f} != 'control' + then + d=$(dirname ${i}) + o=${d}/${f/./${DEB_SUBST_PACKAGESUFFIX}.} + echo " * Generating ${o}" + sed ${SUBST_CMD} ${i} > ${o} + fi done diff --git a/debian/lazarus-doc.install.in b/debian/lazarus-doc.install.in index 5bf9fceecb..c3637b0c7e 100644 --- a/debian/lazarus-doc.install.in +++ b/debian/lazarus-doc.install.in @@ -1,3 +1,3 @@ /usr/share/doc/lazarus/${VERSION}/index.html /usr/share/doc/lazarus/${VERSION}/images -#/usr/share/doc/lazarus/${VERSION}/lcl +/usr/share/doc/lazarus/${VERSION}/lcl diff --git a/debian/lcl-units.install.in b/debian/lcl-units.install.in index b4db6c7cca..98d6dcd854 100644 --- a/debian/lcl-units.install.in +++ b/debian/lcl-units.install.in @@ -12,6 +12,7 @@ /usr/lib/lazarus/${VERSION}/components/fpcunit /usr/lib/lazarus/${VERSION}/components/fpweb /usr/lib/lazarus/${VERSION}/components/h2pas +/usr/lib/lazarus/${VERSION}/components/ideintf /usr/lib/lazarus/${VERSION}/components/instantfpc /usr/lib/lazarus/${VERSION}/components/lazcontrols /usr/lib/lazarus/${VERSION}/components/lazreport @@ -42,7 +43,6 @@ #/usr/lib/lazarus/${VERSION}/debugger #/usr/lib/lazarus/${VERSION}/doceditor /usr/lib/lazarus/${VERSION}/ide -/usr/lib/lazarus/${VERSION}/components/ideintf /usr/lib/lazarus/${VERSION}/lcl/units/*/*.* /usr/lib/lazarus/${VERSION}/lcl/interfaces/*.lpk /usr/lib/lazarus/${VERSION}/lcl/*.lpk diff --git a/debian/lcl-utils.postinst.in b/debian/lcl-utils.postinst.in index edca0aff2c..b8a07207e9 100644 --- a/debian/lcl-utils.postinst.in +++ b/debian/lcl-utils.postinst.in @@ -5,32 +5,40 @@ set -e # Load debconf . /usr/share/debconf/confmodule -LAZARUS_DIR=/usr/lib/lazarus/${VERSION} -MAN_DIR=/usr/share/man/man1 -CFG_DIR='/etc/lazarus' - -if test -e "${CFG_DIR}" && ! test -L "${CFG_DIR}" -then - db_get lcl-utils${PACKAGESUFFIX}/rename_cfg - if test "${RET}" = "true" - then - mv "${CFG_DIR}" "${CFG_DIR}.bak" - fi -fi -# Add alternatives -update-alternatives \ - --install /usr/lib/lazarus/default lazarus ${LAZARUS_DIR} ${PRIORITY} \ - --slave "${CFG_DIR}" lazarus.cfg /etc/lazarus-${VERSION} \ - --slave /usr/bin/lazbuild lazbuild ${LAZARUS_DIR}/lazbuild \ - --slave ${MAN_DIR}/lazbuild.1.gz lazbuild.1.gz ${MAN_DIR}/lazbuild-${VERSION}.1.gz \ - --slave /usr/bin/lazres lazres ${LAZARUS_DIR}/tools/lazres \ - --slave ${MAN_DIR}/lazre.1.gzs lazres.1.gz ${MAN_DIR}/lazres-${VERSION}.1.gz \ - --slave /usr/bin/lrstolfm lrstolfm ${LAZARUS_DIR}/tools/lrstolfm \ - --slave ${MAN_DIR}/lrstolfm.1.gz lrstolfm.1.gz ${MAN_DIR}/lrstolfm-${VERSION}.1.gz \ - --slave /usr/bin/svn2revisioninc svn2revisioninc ${LAZARUS_DIR}/tools/svn2revisioninc \ - --slave ${MAN_DIR}/svn2revisioninc.1.gz svn2revisioninc.1.gz ${MAN_DIR}/svn2revisioninc-${VERSION}.1.gz \ - --slave /usr/bin/updatepofiles updatepofiles ${LAZARUS_DIR}/tools/updatepofiles \ - --slave ${MAN_DIR}/updatepofiles.1.gz updatepofiles.1.gz ${MAN_DIR}/updatepofiles-${VERSION}.1.gz +CFG_PATH='/etc/lazarus' +PKG_CFG_PATH="/etc/lazarus-${VERSION}" +LIB_DIR="/usr/lib/lazarus/${VERSION}" +MAN_DIR="/usr/share/man/man1" # Debhelper code #DEBHELPER# + +USER_HAS_ENABLED_NEW_CONF="test -L ${CFG_PATH} -o ! -e ${CFG_PATH}" + +if ! ${USER_HAS_ENABLED_NEW_CONF} +then + db_get lcl-utils${PACKAGESUFFIX}/rename_cfg + if test "${RET}" = "true" -a -e ${CFG_PATH} + then + mv "${CFG_PATH}" "${CFG_PATH}.bak" + fi +fi + +if ${USER_HAS_ENABLED_NEW_CONF} +then + UPDATE_CFG_FILE_ALTERNATIVES="--slave ${CFG_PATH} lazarus.cfg ${PKG_CFG_PATH}" +fi +# Add alternatives +update-alternatives \ + --install /usr/lib/lazarus/default lazarus ${LIB_DIR} ${PRIORITY} \ + ${UPDATE_CFG_FILE_ALTERNATIVES} \ + --slave /usr/bin/lazbuild lazbuild ${LIB_DIR}/lazbuild \ + --slave ${MAN_DIR}/lazbuild.1.gz lazbuild.1.gz ${MAN_DIR}/lazbuild-${VERSION}.1.gz \ + --slave /usr/bin/lazres lazres ${LIB_DIR}/tools/lazres \ + --slave ${MAN_DIR}/lazre.1.gzs lazres.1.gz ${MAN_DIR}/lazres-${VERSION}.1.gz \ + --slave /usr/bin/lrstolfm lrstolfm ${LIB_DIR}/tools/lrstolfm \ + --slave ${MAN_DIR}/lrstolfm.1.gz lrstolfm.1.gz ${MAN_DIR}/lrstolfm-${VERSION}.1.gz \ + --slave /usr/bin/svn2revisioninc svn2revisioninc ${LIB_DIR}/tools/svn2revisioninc \ + --slave ${MAN_DIR}/svn2revisioninc.1.gz svn2revisioninc.1.gz ${MAN_DIR}/svn2revisioninc-${VERSION}.1.gz \ + --slave /usr/bin/updatepofiles updatepofiles ${LIB_DIR}/tools/updatepofiles \ + --slave ${MAN_DIR}/updatepofiles.1.gz updatepofiles.1.gz ${MAN_DIR}/updatepofiles-${VERSION}.1.gz diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh index 4aad5707e6..5bfa61a07e 100755 --- a/debian/orig-tar.sh +++ b/debian/orig-tar.sh @@ -1,24 +1,37 @@ -#!/bin/sh -e +#!/bin/sh -xe -VERSION=$1 -SEDSCRIPT="s/Last Changed Rev: \([0-9]\+\)/const RevisionStr = '\1';/p" +PACKAGE_NAME=lazarus +TMP_DIR=`/bin/mktemp -d -t lazarus.XXXXXX` || exit 1 +ORIG_PATH=$(pwd) -SVNVER=$(echo $VERSION | tr . _) -SVNURL=http://svn.freepascal.org/svn/lazarus/tags/lazarus_$SVNVER +while test $# -gt 0 +do + case $1 in + --upstream-version) + shift + VERSION=$1 + ;; + *) + ORIG_SRC_TAR=$(readlink -m $1) + ;; + esac + shift +done -DIR=lazarus-$VERSION -TAR=../lazarus_$VERSION.orig.tar.gz - -svn export $SVNURL $DIR -# Add revision.inc -svn info $SVNURL | sed -ne "$SEDSCRIPT" > $DIR/ide/revision.inc -tar czf $TAR $DIR -rm -rf $DIR - -# move to directory 'tarballs' -if [ -r .svn/deb-layout ]; then - . .svn/deb-layout - mv $TAR $origDir - echo "moved $TAR to $origDir" -fi +ORIG_SRC_DIR=${PACKAGE_NAME} +DEB_SRC_DIR=${PACKAGE_NAME}-${VERSION}+dfsg +DEB_SRC_TAR=${PACKAGE_NAME}_${VERSION}+dfsg.orig.tar.gz +cd ${TMP_DIR} +tar -axf ${ORIG_SRC_TAR} +mv ${ORIG_SRC_DIR} ${DEB_SRC_DIR} +cd ${DEB_SRC_DIR} +rm -rf components/aggpas +rm -rf packager/globallinks/aggpas*.lpl +rm -rf debian +find '(' -name '*.icns' -or -name '*.java' ')' -exec chmod a-x {} ';' +cd .. +tar -acf ${DEB_SRC_TAR} ${DEB_SRC_DIR} +cd ${ORIG_PATH} +mv ${TMP_DIR}/${DEB_SRC_TAR} ../ +rm -rf ${TMP_DIR} diff --git a/debian/overrides/lazarus-ide b/debian/overrides/lazarus-ide index b03a386638..3efb8d7f16 100644 --- a/debian/overrides/lazarus-ide +++ b/debian/overrides/lazarus-ide @@ -1,3 +1,7 @@ # False spell error detectios lazarus-ide: spelling-error-in-binary */startlazarus Childs Children -lazarus-ide: spelling-error-in-binary */startlazarus allows to allows one to + +# This package is compiled by the FPC and Lazarus. These compilers don't have +# hardening flags yet, so ignoring these lintian warnings for now +# Paul Gevers , 22 Jun 2013 +lazarus-ide: hardening-no-fortify-functions */startlazarus diff --git a/debian/overrides/lazarus-ide-gtk2 b/debian/overrides/lazarus-ide-gtk2 index 3235be4ef0..a6fc125a9c 100644 --- a/debian/overrides/lazarus-ide-gtk2 +++ b/debian/overrides/lazarus-ide-gtk2 @@ -1,4 +1,7 @@ -# False spell error detectios -lazarus-ide-gtk2: spelling-error-in-binary */lazarus-gtk2 tAHt that +# False spell error detections lazarus-ide-gtk2: spelling-error-in-binary */lazarus-gtk2 Childs Children -lazarus-ide-gtk2: spelling-error-in-binary */lazarus-gtk2 allows to allows one to + +# This package is compiled by the FPC and Lazarus. These compilers don't have +# hardening flags yet, so ignoring these lintian warnings for now +# Paul Gevers , 22 Jun 2013 +lazarus-ide-gtk2: hardening-no-fortify-functions */lazarus-gtk2 diff --git a/debian/overrides/lcl-units b/debian/overrides/lcl-units index 46a8bdc8f8..ec2fc7c4e2 100644 --- a/debian/overrides/lcl-units +++ b/debian/overrides/lcl-units @@ -1,5 +1,2 @@ # False spell error detectios -lcl-units: spelling-error-in-binary */udlgselectprinter.o tAHt that -lcl-units: spelling-error-in-binary */synhighlighterxml.o tAHt that lcl-units: spelling-error-in-binary */lazconfigstorage.o Childs Children -lcl-units: spelling-error-in-binary */lazarusidestrconsts.o allows to allows one to diff --git a/debian/overrides/lcl-utils b/debian/overrides/lcl-utils index e0225640b7..b51e32efdf 100644 --- a/debian/overrides/lcl-utils +++ b/debian/overrides/lcl-utils @@ -1,6 +1,5 @@ # False spell error detectios -lcl-utils: spelling-error-in-binary */lazbuild tAHt that lcl-utils: spelling-error-in-binary */lazbuild Childs Children -lcl-utils: spelling-error-in-binary */lazbuild allows to allows one to lcl-utils: spelling-error-in-binary */tools/lazres Childs Children lcl-utils: spelling-error-in-binary */tools/lrstolfm Childs Children +lcl-utils: statically-linked-binary diff --git a/debian/rules b/debian/rules index 5a5aaf6ada..7e308e3ece 100755 --- a/debian/rules +++ b/debian/rules @@ -2,7 +2,6 @@ # debian/rules for Lazarus DEB_PACKAGE_NAME = lazarus -DEB_DH_BUILDDEB_ARGS := -- -Z bzip2 export DH_ALWAYS_EXCLUDE := COPYING:LICENSE export LANG:=C @@ -32,8 +31,6 @@ ifndef PACKAGESUFFIX export PACKAGESUFFIX=-${DEB_UPSTREAM_MAIN_VERSION} endif # Get directories -CURDIR:=$(shell pwd) -BUILD_DIR=$(CURDIR)/debian/build INSTALL_DIR=$(CURDIR)/debian/tmp BIN_DIR=${INSTALL_DIR}/usr/bin LIB_DIR=${INSTALL_DIR}/usr/lib/${DEB_PACKAGE_NAME}/${DEB_UPSTREAM_MAIN_VERSION} @@ -57,15 +54,20 @@ endif # Define FPCDIR if it was not set ifndef FPCDIR export FPCDIR=/usr/share/fpcsrc/${FPCVER} +# Set default compilation options +DEB_BUILD_FPC_OPT=debian/deb-build-fpc.cfg +DEB_HOST_FPC_OPT=debian/deb-host-fpc.cfg +BUILDOPTS=USESVN2REVISIONINC=0 OPT='@${CURDIR}/${DEB_HOST_FPC_OPT}' +INSTALLOPTS=INSTALL_PREFIX=$(INSTALL_DIR)/usr endif ifndef LAZBUILD -LAZBUILD=${CURDIR}/lazbuild +export LAZBUILD=${CURDIR}/lazbuild --lazarusdir=../.. endif # Set default compilation options -BUILDOPTS=USESVN2REVISIONINC=0 -INSTALLOPTS=INSTALL_PREFIX=$(INSTALL_DIR)/usr -# Configure patch system -include /usr/share/quilt/quilt.make +DEB_HOST_MULTIARCH ?=$(shell dpkg-architecture -qDEB_HOST_MULTIARCH) +DEB_BUILD_MULTIARCH ?=$(shell dpkg-architecture -qDEB_BUILD_MULTIARCH) + +LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS | sed -e 's/-Wl,//g' -e 's/,/ /g') #export DH_VERBOSE=1 @@ -73,57 +75,64 @@ include /usr/share/quilt/quilt.make # Clean # -clean: patch configure clean-patched unpatch +clean: clean-patched clean-make-files ${RM} build-arch-stamp install-arch-stamp arrange-arch-stamp configure-stamp ${RM} build-doc-stamp install-doc-stamp ${RM} build-indep-stamp install-indep-stamp ${RM} debian-files-stamp ${RM} debian/files debian/docs debian/dirs debian/*.files debian/*.docs debian/*.examples debian/*.postinst debian/*.postrm - ${RM} .pc # Remove auto-generated version file. ${RM} ide/version.inc - # Remove auto-generated make files. - find -name Makefile.fpc -execdir 'sh' '-c' '${RM} $$(basename {} .fpc)' ';' dh_clean -clean-patched: + +clean-patched: make-files @echo "--- Cleaning" dh_testdir dh_testroot ${RM} lazarus startlazarus lazbuild + ${RM} components/aggpas packager/globallinks/aggpas* $(MAKE) distclean ${BUILDOPTS} $(MAKE) -C docs/html clean find -regex '.*\.\(a\|or?\|so\.*\|ppu\)' -delete - dh_prep ################### # Debian files # -debian-files: patch debian-files-stamp +debian-files: debian-files-stamp debian-files-stamp: @echo "--- Creating/fixing *.install files" - /bin/bash debian/fixdeb debian $(FPCTARGET) $(PPNEW) + DEB_SUBST_PACKAGESUFFIX=${PACKAGESUFFIX} \ + debian/fixdeb debian/*.in touch debian-files-stamp +make-files: make-files-stamp +make-files-stamp: + # Regenrate make files using fpcmake. + find * -name Makefile.fpc -exec ${FPCMAKE} -Tall -q '{}' ';' + touch $@ + +clean-make-files: + # Remove auto-generated make files. + find * -name Makefile.fpc -execdir sh -c '${RM} $$(basename {} .fpc)' ';' + ${RM} make-files-stamp + ################### # Arch packages # -configure: configure-stamp +configure: debian-files clean-make-files make-files configure-stamp configure-stamp: dh_testdir - # Remove auto-generated make files. - find -name Makefile.fpc -execdir 'sh' '-c' '${RM} $$(basename {} .fpc)' ';' - # Regenrate make files using fpcmake. - find -name Makefile.fpc -exec ${FPCMAKE} '{}' -Tall ';' + dh_prep # Remove auto-generated version file. ${RM} ide/version.inc # Add version.inc: echo \'$(DEB_VERSION)\' > ide/version.inc touch configure-stamp -build-arch: debian-files configure build-arch-stamp -build-arch-stamp: +build-arch: configure build-arch-stamp +build-arch-stamp: ${DEB_HOST_FPC_OPT} @echo "--- Building" dh_testdir ${MAKE} bigide ${BUILDOPTS} @@ -160,6 +169,8 @@ install-arch-stamp: ${MKDIR} `dirname "${LIB_DIR}/$${package}"` ; \ sed -e 's@\(\W*\).*@\1\n&@' "$${package}" > "${LIB_DIR}/$${package}" ; \ done + # Install packages global links + ${CP} -t ${LIB_DIR}/packager $(CURDIR)/packager/globallinks # copy icons and menu entries for the GNOME menu ${MKDIR} $(INSTALL_DIR)/usr/share/pixmaps ${MKDIR} $(INSTALL_DIR)/usr/share/applications @@ -203,7 +214,7 @@ arrange-arch-stamp: dh_install -s --sourcedir=debian/tmp --list-missing touch arrange-arch-stamp -build-indep: patch +build-indep: install-indep: touch install-indep-stamp @@ -220,20 +231,19 @@ install-man-stamp: # Documentation # -build-doc: patch debian-files build-doc-stamp +build-doc: build-doc-stamp build-doc-stamp: @echo "--- Building Documentation" dh_testdir -# $(MAKE) -C docs/html ${CONVERTER} + $(MAKE) -C docs/html ${CONVERTER} touch build-doc-stamp install-doc: build-doc install-doc-stamp -install-doc-stamp: +install-doc-stamp: ${DEB_BUILD_FPC_OPT} @echo "--- Installing Documentation" dh_testdir dh_testroot -# ${MAKE} -C docs/html ${DOCTYPE}install INSTALL_PREFIX=${INSTALL_DIR}/usr INSTALL_DOCDIR=${DOC_DIR} - mkdir -p ${DOC_DIR} + ${MAKE} -C docs/html ${DOCTYPE}install INSTALL_PREFIX=${INSTALL_DIR}/usr INSTALL_DOCDIR=${DOC_DIR} cd docs ; ${CP} --parents -t ${DOC_DIR} \ index.html \ images/laztitle.png @@ -244,13 +254,11 @@ install-doc-stamp: # Source # -install-source: install-source-stamp +install-source: clean-patched install-source-stamp install-source-stamp: @echo "--- Cleaning the tree and copying the source code" dh_testdir dh_testroot - # Remove .lpk packages, they were installed with compiled binary files - find -name '*.lpk' -delete ${MKDIR} ${SRC_DIR} ${CP} -t ${SRC_DIR} \ $(CURDIR)/Makefile* \ @@ -266,6 +274,9 @@ install-source-stamp: $(CURDIR)/packager \ $(CURDIR)/test \ $(CURDIR)/tools + # Remove files already installed in binary packages + find ${SRC_DIR} -name '*.lpk' -delete + ${RM} ${SRC_DIR}/packager/globallinks find ${SRC_DIR} -regex '.*\.\(bmp\|jpg\|png\|xpm\)' -delete $(RM) ${SRC_DIR}/components/lazreport/license*.txt find ${SRC_DIR} -empty -delete @@ -284,7 +295,13 @@ binary: binary-arch binary-indep # Deb building # -binary-indep: clean-patched build-doc install-doc install-source debian-files +configure-indep: configure-indep-stamp configure +configure-indep-stamp: + @echo -- Configure indep + dh_prep + touch configure-indep-stamp + +binary-indep: configure-indep install-doc install-source @echo "--- Building: arch-indep packages" dh_testdir dh_testroot @@ -310,7 +327,7 @@ ifeq (${DEB_BUILD},0) done endif dh_compress -i -X.pdf - dh_fixperms -i + dh_fixperms dh_installdebconf -i dh_installdeb -i dh_gencontrol -i @@ -329,7 +346,7 @@ binary-arch: arrange-arch fpc-depends dh_strip -s dh_compress -a - dh_fixperms -a + dh_fixperms dh_installdebconf -a dh_installdeb -a dh_shlibdeps -s @@ -340,7 +357,22 @@ binary-arch: arrange-arch .PHONY: build clean binary binary-arch \ binary-indep debian-files build-arch \ install install-indep install-arch \ - configure + configure configure-indep make-files clean-make-files get-orig-source: - -uscan --upstream-version=0 --rename + -uscan --rename --force-download + +debian/%:debian/fixdeb debian/changelog debian/%.in + DEB_SUBST_PACKAGESUFFIX=${PACKAGESUFFIX} \ + DEB_SUBST_TARGET=${FPCTARGET} \ + $< --gen-control $@.in + +${DEB_BUILD_FPC_OPT}: + echo '# FPC configuration file for build system tools' > $@ + echo '-k${LDFLAGS}' >> $@ + echo '-Fl/usr/lib/${DEB_BUILD_MULTIARCH}' >> $@ + +${DEB_HOST_FPC_OPT}: + echo '# FPC configuration file for host system applications' > $@ + echo '-k${LDFLAGS}' >> $@ + echo '-Fl/usr/lib/${DEB_HOST_MULTIARCH}' >> $@ diff --git a/debian/watch b/debian/watch index 122a51f1d4..3555eeb17e 100644 --- a/debian/watch +++ b/debian/watch @@ -1,2 +1,7 @@ version=3 -http://sf.net/lazarus/lazarus-(.*)-src.tar.bz2 debian debian/orig-tar.sh +opts=uversionmangle=s/((\d[\.]?)+)((RC|rc|pre|dev|beta|alpha|b|a)[\-]?\d*)$/$1~$3/;\ +s/((\d[\.]?)+(RC|rc|pre|dev|beta|alpha|b|a)?)[\-]?\d*$/$1/,\ +dversionmangle=s/\+dfsg// \ +http://qa.debian.org/watch/sf.php/lazarus/lazarus-(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) \ +debian debian/orig-tar.sh +# Bart Martens Wed, 06 Mar 2013 05:12:44 +0000