debian: improved suggest tags, auto update Makefiles from Mazen

git-svn-id: trunk@15099 -
This commit is contained in:
mattias 2008-05-12 10:34:33 +00:00
parent bbc1eb29ff
commit 6588c01081
5 changed files with 73 additions and 46 deletions

23
debian/changelog vendored
View File

@ -2,15 +2,34 @@ lazarus (0.9.25-0) unstable; urgency=low
* Merged debian rules with official debian svn.
-- Mazen Neifer <mazen@freepascal.org> Tue, 20 Apr 2008 10:21:40 +0200
-- Mazen Neifer <mazen@freepascal.org> Fri, 09 May 2008 00:58:40 +0200
lazarus (0.9.24-0-8) unstable; urgency=low
[ Mazen Neifer ]
* Added patch from upstream fixing compilation using lazbuild by making it
generating LRS files from LFM files.
* Added gdb as recommended package. (closes: #477293)
* Call fpcmake with -Tall to allow user rebuilding Lazarus from lazarus-src
package on all supported targets. This results in making build depending on
package fpc-source (>= 2.2.0-dfsg1-7). (closes: #477361)
* Updated build dependency on compiler setting fp-compiler (>=2.2.0-dfsg1-8)
and fpc-source (>= 2.2.0-dfsg1-8)
* Added fp-docs to list of package lazarus suggest packages.
-- Mazen Neifer <mazen@freepascal.org> Wed, 30 Apr 2008 14:17:06 +0200
lazarus (0.9.24-0-7) unstable; urgency=low
[ Mazen Neifer ]
* Added a link of lazbuild tool into /usr/bin
* Added man pages for binaries.
* Fixed compilation of printer support component.
-- Mazen Neifer <mazen@freeapscal.org> Sun, 20 Apr 2008 02:32:21 +0200
[ Torsten Werner ]
* Add Mazen to Uploaders.
-- Torsten Werner <twerner@debian.org> Sun, 20 Apr 2008 17:06:38 +0200
lazarus (0.9.24-0-6) unstable; urgency=low

51
debian/control vendored
View File

@ -2,22 +2,22 @@ Source: lazarus
Section: devel
Priority: optional
Maintainer: Carlos Laviola <claviola@debian.org>
Uploaders: Torsten Werner <twerner@debian.org>
Build-Depends: debhelper (>= 5), dpatch, fp-compiler (>= 2.2.0-3), fp-units-base,
Uploaders: Torsten Werner <twerner@debian.org>, Mazen Neifer <mazen@freeapscal.org>
Standards-Version: 3.7.3
Build-Depends: debhelper (>= 5), dpatch, fp-compiler (>= 2.2.0-dfsg1-8), fp-units-base,
fp-units-db, fp-units-fcl, fp-units-gfx, fp-units-gtk, fp-units-gtk2,
fp-units-i386 [i386], fp-units-misc, fp-units-net, fp-units-rtl, fp-utils,
imagemagick, libgdk-pixbuf-dev
Standards-Version: 3.7.3
Homepage: http://www.lazarus.freepascal.org
imagemagick, libgdk-pixbuf-dev, fpc-source (>= 2.2.0-dfsg1-8)
Vcs-Svn: https://bollin.googlecode.com/svn/lazarus/trunk
Vcs-Browser: http://bollin.googlecode.com/svn/lazarus/trunk
Homepage: http://www.lazarus.freepascal.org
Package: lazarus
Architecture: all
Pre-Depends: dpkg (>= 1.10.24)
Depends: lazarus-ide, lazarus-src, lazarus-doc
Recommends: fpc, fpc-source
Suggests: fp-utils
Suggests: fp-utils, fp-docs
Description: Rapid Application Development (RAD) tool for Free Pascal
Lazarus are the class libraries for Free Pascal that emulate Delphi.
Free Pascal is a GPL'd compiler that runs on Linux, Win32, OS/2, 68K
@ -36,28 +36,10 @@ Description: Rapid Application Development (RAD) tool for Free Pascal
.
This IDE will eventually reach Delphi's full functionality.
Package: lazarus-ide
Architecture: i386 powerpc sparc amd64 arm
Pre-Depends: dpkg (>= 1.10.24)
Depends: ${shlibs:Depends}, fp-compiler, fp-units-base, fp-units-rtl,
fp-units-fcl, fp-units-gtk, libgtk1.2-dev, libgdk-pixbuf-dev,
${fpc-abi:Depends}, lazarus-src
Recommends: fp-units-db, fp-units-gfx, fp-units-gnome1, fp-units-misc,
fp-units-net, fpc-source
Suggests: fp-utils
Description: Rapid Application Development (RAD) tool for Free Pascal
Lazarus are the class libraries for Free Pascal that emulate Delphi.
Free Pascal is a GPL'd compiler that runs on Linux, Win32, OS/2, 68K
and other OS's. Free Pascal is designed to be able to understand and
compile programs written with the Delphi syntax, which is object-oriented.
Lazarus is the part of the missing puzzle that will allow you to develop
Delphi-like programs in all of the above platforms.
.
This package contains the lazarus IDE, LCL and components.
Package: lazarus-src
Section: devel
Architecture: all
Pre-Depends: dpkg (>= 1.10.24)
Description: Rapid Application Development (RAD) tool for Free Pascal
Lazarus are the class libraries for Free Pascal that emulate Delphi.
Free Pascal is a GPL'd compiler that runs on Linux, Win32, OS/2, 68K
@ -69,6 +51,25 @@ Description: Rapid Application Development (RAD) tool for Free Pascal
This package contains lazarus source code necessary for the IDE code tool to
run (retrieving declarations and navigating in code).
Package: lazarus-ide
Architecture: i386 powerpc sparc amd64 arm
Pre-Depends: dpkg (>= 1.10.24)
Depends: ${shlibs:Depends}, fp-compiler (>= 2.2.0-dfsg1-8), fp-units-base, fp-units-rtl,
fp-units-fcl, fp-units-gtk, libgtk1.2-dev, libgdk-pixbuf-dev,
${fpc-abi:Depends}, lazarus-src
Recommends: fp-units-db, fp-units-gfx, fp-units-gnome1, fp-units-misc,
fp-units-net, fpc-source, gdb
Suggests: fp-utils
Description: Rapid Application Development (RAD) tool for Free Pascal
Lazarus are the class libraries for Free Pascal that emulate Delphi.
Free Pascal is a GPL'd compiler that runs on Linux, Win32, OS/2, 68K
and other OS's. Free Pascal is designed to be able to understand and
compile programs written with the Delphi syntax, which is object-oriented.
Lazarus is the part of the missing puzzle that will allow you to develop
Delphi-like programs in all of the above platforms.
.
This package contains the lazarus IDE, LCL and components.
Package: lazarus-doc
Section: doc
Architecture: all

View File

@ -50,3 +50,4 @@
/usr/lib/lazarus/units
/usr/share/pixmaps
/usr/share/applications
/usr/share/man

View File

@ -1,3 +1,4 @@
/usr/lib/lazarus/startlazarus /usr/bin/startlazarus
/usr/lib/lazarus/startlazarus /usr/bin/lazarus-ide
/usr/lib/lazarus/lazarus /usr/lib/lazarus/lazarus-ide
/usr/lib/lazarus/lazbuild /usr/bin/lazbuild

43
debian/rules vendored
View File

@ -1,24 +1,24 @@
#!/usr/bin/make -f
# debian/rules for Lazarus
# stolen from cdbs:
DEB_DH_BUILDDEB_ARGS := -- -Z bzip2
# Define FPC and FPCDIR if it was not set
ifndef FPC
export FPC=fpc
endif
# Define FPCDIR if it was not set
ifndef FPCDIR
export FPCDIR=/usr/lib/fpc/2.2.0
export FPCDIR=/usr/share/fpcsrc
endif
# Get directories
CURDIR:=$(shell pwd)
BUILD_DIR=$(CURDIR)/debian/build
INSTALL_DIR=$(CURDIR)/debian/tmp
DOC_DIR=$(INSTALL_DIR)/usr/share/doc
EXAMPLE_TEMP=$(DOC_DIR)/fpc-$(FPCVERSION)
# Get utils
FPC=/usr/bin/fpc
# Create default options
BUILDOPTS=PP=$(FPC)
INSTALLOPTS=INSTALL_PREFIX=$(INSTALL_DIR)/usr
#export DH_VERBOSE=1
# export DH_VERBOSE=1
###################
# Clean
@ -29,13 +29,14 @@ clean-patched:
@echo "--- Cleaning"
dh_testdir
dh_testroot
rm -f build-arch-stamp install-arch-stamp arrange-arch-stamp configure-stamp lazbuild
rm -f build-arch-stamp install-arch-stamp arrange-arch-stamp configure-stamp
rm -f build-doc-stamp install-doc-stamp
rm -f build-indep-stamp install-indep-stamp
rm -f debian-files-stamp
rm -f debian/*.files debian/*.docs debian/*.examples debian/*.postinst debian/*.postrm
rm -f lazarus startlazarus lazbuild
$(MAKE) distclean
-(find . -name \*.a | xargs rm)
-(find -name '*.a' -or -name '*.o' -or -name '*.ppu' | xargs rm)
dh_clean
patch: patch-stamp
@ -65,19 +66,21 @@ debian-files-stamp: patch
configure: configure-stamp
configure-stamp:
dh_testdir
# Add here commands to configure the package.
find -name 'Makefile.fpc' | xargs fpcmake
# Remove auto-generated make files.
find -name Makefile.fpc -execdir 'sh' '-c' '${RM} $$(basename {} .fpc)' ';'
# Regenrate make files using fpcmake.
fpcmake -r -Tall
touch configure-stamp
build-arch: build-arch-stamp
build-arch-stamp: debian-files-stamp configure-stamp
build-arch-stamp: debian-files-stamp configure-stamp
@echo "--- Building"
dh_testdir
$(MAKE) lcl packager/registration ideintf bigidecomponents examples
$(MAKE) lcl packager/registration ideintf bigidecomponents examples LCL_PLATFORM=gtk2
$(MAKE) bigide USESVN2REVISIONINC=0
$(MAKE) lazbuilder
$(MAKE) tools
$(MAKE) lcl packager/registration ideintf bigidecomponents examples $(BUILDOPTS)
$(MAKE) lcl packager/registration ideintf bigidecomponents examples LCL_PLATFORM=gtk2 $(BUILDOPTS)
$(MAKE) bigide USESVN2REVISIONINC=0 $(BUILDOPTS)
$(MAKE) lazbuilder $(BUILDOPTS)
$(MAKE) tools $(BUILDOPTS)
touch build-arch-stamp
install-arch: install-arch-stamp
@ -183,6 +186,8 @@ binary-indep: build-doc install-doc install-source debian-files
dh_installdocs -i
dh_installchangelogs -i
dh_install -i --sourcedir=debian/tmp --list-missing
# install -m644 -D debian/overrides/lazarus-src \
# debian/lazarus-src/usr/share/lintian/overrides/lazarus-src
dh_compress -i -X.pdf
dh_fixperms -i
dh_installdeb -i
@ -201,7 +206,7 @@ binary-arch: build-arch arrange-arch debian-files
dh_installmenu
fpc-depends
dh_installman -s
dh_strip
dh_strip -s
dh_compress -a
dh_fixperms -a
dh_installdeb -s