mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 00:29:28 +02:00
* (env) Merged changes from official Debian repository (mainly fixes of bugs reported on Debian bug tracker).
git-svn-id: trunk@17249 -
This commit is contained in:
parent
9d0bc6d65f
commit
9584f3723f
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -1494,6 +1494,7 @@ debian/dirs svneol=native#text/plain
|
|||||||
debian/docs svneol=native#text/plain
|
debian/docs svneol=native#text/plain
|
||||||
debian/install.sh svneol=native#text/plain
|
debian/install.sh svneol=native#text/plain
|
||||||
debian/lazarus-doc.install svneol=native#text/plain
|
debian/lazarus-doc.install svneol=native#text/plain
|
||||||
|
debian/lazarus-ide.conffiles svneol=native#text/plain
|
||||||
debian/lazarus-ide.install svneol=native#text/plain
|
debian/lazarus-ide.install svneol=native#text/plain
|
||||||
debian/lazarus-ide.links svneol=native#text/plain
|
debian/lazarus-ide.links svneol=native#text/plain
|
||||||
debian/lazarus-ide.menu svneol=native#text/plain
|
debian/lazarus-ide.menu svneol=native#text/plain
|
||||||
@ -1503,6 +1504,7 @@ debian/links svneol=native#text/plain
|
|||||||
debian/menu svneol=native#text/plain
|
debian/menu svneol=native#text/plain
|
||||||
debian/move-usr-lib.sh svneol=native#text/plain
|
debian/move-usr-lib.sh svneol=native#text/plain
|
||||||
debian/orig-tar.sh svneol=native#text/plain
|
debian/orig-tar.sh svneol=native#text/plain
|
||||||
|
debian/overrides/lazarus-src svneol=native#text/plain
|
||||||
debian/patches/00list svneol=native#text/plain
|
debian/patches/00list svneol=native#text/plain
|
||||||
debian/patches/01_topmakefile.dpatch svneol=native#text/plain
|
debian/patches/01_topmakefile.dpatch svneol=native#text/plain
|
||||||
debian/patches/02_components.dpatch svneol=native#text/plain
|
debian/patches/02_components.dpatch svneol=native#text/plain
|
||||||
|
42
debian/changelog
vendored
42
debian/changelog
vendored
@ -2,26 +2,38 @@ lazarus (0.9.27-0) unstable; urgency=low
|
|||||||
|
|
||||||
* Snapshot building.
|
* Snapshot building.
|
||||||
|
|
||||||
-- Mazen Neifer <mazen@freepascal.org> Fri, 26 Sep 2008 13:47:00 +0200
|
-- Mazen Neifer <mazen@freepascal.org> Thu, 06 Nov 2008 13:45:00 +0100
|
||||||
|
|
||||||
lazarus (0.9.26-0) unstable; urgency=low
|
lazarus (0.9.26-2) unstable; urgency=low
|
||||||
|
|
||||||
|
* Removed leading "Lazarus is a" from Description field. (Closes: #502786)
|
||||||
|
* Put system wide configuration file in conffiles to avoid loosing user's
|
||||||
|
customizations.
|
||||||
|
* Added svn2revision to packaged binaries needed by Lazarus when rebuilding
|
||||||
|
itself after installation of new components. (Closes: #501049)
|
||||||
|
* Added contributers list to lazarus-ide packages as they are needed by the
|
||||||
|
about dialog.
|
||||||
|
* Fixed dependencies in rules file speeding package generation by avoiding
|
||||||
|
rebuilding binaries up to four times.
|
||||||
|
|
||||||
|
-- Mazen Neifer <mazen@freepascal.org> Sun, 04 Nov 2008 00:22:00 +0100
|
||||||
|
|
||||||
|
lazarus (0.9.26-1) unstable; urgency=low
|
||||||
|
|
||||||
|
[ Mazen Neifer ]
|
||||||
* New upstream version.
|
* New upstream version.
|
||||||
|
* Fixed lintian error due to initial sources containing debian/files.
|
||||||
-- Mazen Neifer <mazen@freepascal.org> Fri, 26 Sep 2008 13:47:00 +0200
|
|
||||||
|
|
||||||
lazarus (0.9.25-0) unstable; urgency=low
|
|
||||||
|
|
||||||
* Merged debian rules with official debian svn.
|
|
||||||
|
|
||||||
-- Mazen Neifer <mazen@freepascal.org> Fri, 09 May 2008 00:58:40 +0200
|
|
||||||
|
|
||||||
lazarus (0.9.24-0-13) unstable; urgency=low
|
|
||||||
|
|
||||||
* Fixed linitian error due to initial sources containing debian/files.
|
|
||||||
* Fixed find expression precedence in clean target.
|
* Fixed find expression precedence in clean target.
|
||||||
|
* About dialog box will display version with Debian build number and the
|
||||||
|
upstream svn revision.
|
||||||
|
|
||||||
-- Mazen Neifer <mazen@freepascal.org> Mon, 31 Aug 2008 16:29:00 +0200
|
[ Torsten Werner ]
|
||||||
|
* Add Build-Depends: fp-utils (ships fpcmake).
|
||||||
|
* Bump up Standards-Version: 3.8.0 (no changes).
|
||||||
|
* Build orig tarball from subversion export because the files at sourceforge
|
||||||
|
are broken.
|
||||||
|
|
||||||
|
-- Torsten Werner <twerner@debian.org> Sun, 12 Oct 2008 12:09:58 +0200
|
||||||
|
|
||||||
lazarus (0.9.24-0-12) unstable; urgency=low
|
lazarus (0.9.24-0-12) unstable; urgency=low
|
||||||
|
|
||||||
|
33
debian/control
vendored
33
debian/control
vendored
@ -2,10 +2,10 @@ Source: lazarus
|
|||||||
Section: devel
|
Section: devel
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Carlos Laviola <claviola@debian.org>
|
Maintainer: Carlos Laviola <claviola@debian.org>
|
||||||
Uploaders: Torsten Werner <twerner@debian.org>, Mazen Neifer <mazen@freeapscal.org>
|
Uploaders: Torsten Werner <twerner@debian.org>, Mazen Neifer <mazen@freepascal.org>
|
||||||
Standards-Version: 3.7.3
|
Standards-Version: 3.8.0
|
||||||
Build-Depends: debhelper (>= 5), dpatch, fpc (>= 2.2.2-3), fpc-source (>= 2.2.2-3),
|
Build-Depends: debhelper (>= 5), dpatch, fpc (>= 2.2.2-3), fpc-source (>= 2.2.2-3),
|
||||||
fp-units-i386 [i386], imagemagick, libgdk-pixbuf-dev
|
fp-units-i386 [i386], fp-utils, imagemagick, libgdk-pixbuf-dev
|
||||||
Vcs-Svn: https://bollin.googlecode.com/svn/lazarus/trunk
|
Vcs-Svn: https://bollin.googlecode.com/svn/lazarus/trunk
|
||||||
Vcs-Browser: http://bollin.googlecode.com/svn/lazarus/trunk
|
Vcs-Browser: http://bollin.googlecode.com/svn/lazarus/trunk
|
||||||
Homepage: http://www.lazarus.freepascal.org
|
Homepage: http://www.lazarus.freepascal.org
|
||||||
@ -16,9 +16,10 @@ Pre-Depends: dpkg (>= 1.10.24)
|
|||||||
Depends: lazarus-ide, lazarus-src, lazarus-doc
|
Depends: lazarus-ide, lazarus-src, lazarus-doc
|
||||||
Recommends: fpc, fpc-source
|
Recommends: fpc, fpc-source
|
||||||
Suggests: fp-utils, fp-docs
|
Suggests: fp-utils, fp-docs
|
||||||
Description: Lazarus is an IDE to create (graphical and console) applications
|
Description: IDE for Free Pascal to create (graphical and console) applications
|
||||||
with Free Pascal. Free Pascal is a (L)GPL'ed Pascal and Object Pascal compiler
|
Lazarus is an IDE to create (graphical and console) applications with Free
|
||||||
that runs on Windows, Linux, Mac OS X, FreeBSD and more.
|
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
|
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.
|
||||||
@ -32,7 +33,7 @@ Description: Lazarus is an IDE to create (graphical and console) applications
|
|||||||
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).
|
Component Library (LCL).
|
||||||
.
|
.
|
||||||
This is a meta-package depending on all packages need to have a typical
|
This is a metapackage depending on all packages need to have a typical
|
||||||
Lazarus installation.
|
Lazarus installation.
|
||||||
.
|
.
|
||||||
Official: http://sourceforge.net/projects/lazarus/
|
Official: http://sourceforge.net/projects/lazarus/
|
||||||
@ -44,9 +45,9 @@ Package: lazarus-src
|
|||||||
Section: devel
|
Section: devel
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Pre-Depends: dpkg (>= 1.10.24)
|
Pre-Depends: dpkg (>= 1.10.24)
|
||||||
Description: Lazarus is an IDE to create (graphical and console) applications
|
Description: IDE to create (graphical and console) applications with Free
|
||||||
with Free Pascal. Free Pascal is a (L)GPL'ed Pascal and Object Pascal compiler
|
Pascal. Free Pascal is a (L)GPL'ed Pascal and Object Pascal compiler that runs
|
||||||
that runs on Windows, Linux, Mac OS X, FreeBSD and more.
|
on Windows, Linux, Mac OS X, FreeBSD and more.
|
||||||
.
|
.
|
||||||
Lazarus is the missing part of the puzzle that will allow you to develop
|
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.
|
||||||
@ -72,9 +73,9 @@ Depends: ${shlibs:Depends}, fp-compiler (>= 2.2.2-3), fp-units-base, fp-units-rt
|
|||||||
Recommends: fp-units-db, fp-units-gfx, fp-units-gnome1, fp-units-misc,
|
Recommends: fp-units-db, fp-units-gfx, fp-units-gnome1, fp-units-misc,
|
||||||
fp-units-net, fpc-source, gdb
|
fp-units-net, fpc-source, gdb
|
||||||
Suggests: fp-utils
|
Suggests: fp-utils
|
||||||
Description: Lazarus is an IDE to create (graphical and console) applications
|
Description: IDE to create (graphical and console) applications with Free
|
||||||
with Free Pascal. Free Pascal is a (L)GPL'ed Pascal and Object Pascal compiler
|
Pascal. Free Pascal is a (L)GPL'ed Pascal and Object Pascal compiler that runs
|
||||||
that runs on Windows, Linux, Mac OS X, FreeBSD and more.
|
on Windows, Linux, Mac OS X, FreeBSD and more.
|
||||||
.
|
.
|
||||||
Lazarus is the missing part of the puzzle that will allow you to develop
|
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.
|
||||||
@ -93,9 +94,9 @@ Description: Lazarus is an IDE to create (graphical and console) applications
|
|||||||
Package: lazarus-doc
|
Package: lazarus-doc
|
||||||
Section: doc
|
Section: doc
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Description: Lazarus is an IDE to create (graphical and console) applications
|
Description: IDE to create (graphical and console) applications with Free
|
||||||
with Free Pascal. Free Pascal is a (L)GPL'ed Pascal and Object Pascal compiler
|
Pascal. Free Pascal is a (L)GPL'ed Pascal and Object Pascal compiler that runs
|
||||||
that runs on Windows, Linux, Mac OS X, FreeBSD and more.
|
on Windows, Linux, Mac OS X, FreeBSD and more.
|
||||||
.
|
.
|
||||||
Lazarus is the missing part of the puzzle that will allow you to develop
|
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.
|
||||||
|
1
debian/lazarus-ide.conffiles
vendored
Normal file
1
debian/lazarus-ide.conffiles
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/etc/lazarus/environmentoptions.xml
|
5
debian/lazarus-ide.install
vendored
5
debian/lazarus-ide.install
vendored
@ -40,6 +40,9 @@
|
|||||||
#/usr/lib/lazarus/converter
|
#/usr/lib/lazarus/converter
|
||||||
#/usr/lib/lazarus/debugger
|
#/usr/lib/lazarus/debugger
|
||||||
/usr/lib/lazarus/designer
|
/usr/lib/lazarus/designer
|
||||||
|
/usr/lib/lazarus/docs/Contributors.txt
|
||||||
|
/usr/lib/lazarus/docs/contributors.utf8
|
||||||
|
/usr/lib/lazarus/docs/acknowledgements.txt
|
||||||
#/usr/lib/lazarus/doceditor
|
#/usr/lib/lazarus/doceditor
|
||||||
/usr/lib/lazarus/examples
|
/usr/lib/lazarus/examples
|
||||||
#/usr/lib/lazarus/ide
|
#/usr/lib/lazarus/ide
|
||||||
@ -49,6 +52,6 @@
|
|||||||
/usr/lib/lazarus/packager
|
/usr/lib/lazarus/packager
|
||||||
/usr/lib/lazarus/tools
|
/usr/lib/lazarus/tools
|
||||||
/usr/lib/lazarus/units
|
/usr/lib/lazarus/units
|
||||||
/usr/share/pixmaps
|
|
||||||
/usr/share/applications
|
/usr/share/applications
|
||||||
|
/usr/share/pixmaps
|
||||||
/usr/share/man
|
/usr/share/man
|
||||||
|
4
debian/lazarus-ide.links
vendored
4
debian/lazarus-ide.links
vendored
@ -2,3 +2,7 @@
|
|||||||
/usr/lib/lazarus/startlazarus /usr/bin/lazarus-ide
|
/usr/lib/lazarus/startlazarus /usr/bin/lazarus-ide
|
||||||
/usr/lib/lazarus/lazarus /usr/lib/lazarus/lazarus-ide
|
/usr/lib/lazarus/lazarus /usr/lib/lazarus/lazarus-ide
|
||||||
/usr/lib/lazarus/lazbuild /usr/bin/lazbuild
|
/usr/lib/lazarus/lazbuild /usr/bin/lazbuild
|
||||||
|
/usr/lib/lazarus/tools/lazres /usr/bin/lazres
|
||||||
|
/usr/lib/lazarus/tools/lrstolfm /usr/bin/lrstolfm
|
||||||
|
/usr/lib/lazarus/tools/svn2revisioninc /usr/bin/svn2revisioninc
|
||||||
|
/usr/lib/lazarus/tools/updatepofiles /usr/bin/updatepofiles
|
||||||
|
5
debian/lazarus-src.install
vendored
5
debian/lazarus-src.install
vendored
@ -1,10 +1,5 @@
|
|||||||
/usr/lib/lazarus/COPYING.GPL.txt
|
|
||||||
/usr/lib/lazarus/COPYING.LGPL.txt
|
|
||||||
/usr/lib/lazarus/COPYING.modifiedLGPL.txt
|
|
||||||
/usr/lib/lazarus/COPYING.txt
|
|
||||||
/usr/lib/lazarus/Makefile
|
/usr/lib/lazarus/Makefile
|
||||||
/usr/lib/lazarus/Makefile.fpc
|
/usr/lib/lazarus/Makefile.fpc
|
||||||
/usr/lib/lazarus/README.txt
|
|
||||||
/usr/lib/lazarus/components
|
/usr/lib/lazarus/components
|
||||||
/usr/lib/lazarus/debugger
|
/usr/lib/lazarus/debugger
|
||||||
/usr/lib/lazarus/examples
|
/usr/lib/lazarus/examples
|
||||||
|
22
debian/orig-tar.sh
vendored
22
debian/orig-tar.sh
vendored
@ -1,18 +1,24 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
# called by uscan with '--upstream-version' <version> <file>
|
VERSION=$1
|
||||||
DIR=lazarus
|
SEDSCRIPT="s/Last Changed Rev: \([0-9]\+\)/const RevisionStr = '\1';/p"
|
||||||
|
|
||||||
# clean up the upstream tarball
|
SVNVER=$(echo $VERSION | tr . _)
|
||||||
tar xzf $3
|
SVNURL=http://svn.freepascal.org/svn/lazarus/tags/lazarus_$SVNVER
|
||||||
rm -f $DIR/debian/*.ex $DIR/debian/*.EX $DIR/debian/files
|
|
||||||
tar czf $3 $DIR
|
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
|
rm -rf $DIR
|
||||||
|
|
||||||
# move to directory 'tarballs'
|
# move to directory 'tarballs'
|
||||||
if [ -r .svn/deb-layout ]; then
|
if [ -r .svn/deb-layout ]; then
|
||||||
. .svn/deb-layout
|
. .svn/deb-layout
|
||||||
mv $3 $origDir
|
mv $TAR $origDir
|
||||||
echo "moved $3 to $origDir"
|
echo "moved $TAR to $origDir"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
2
debian/overrides/lazarus-src
vendored
Normal file
2
debian/overrides/lazarus-src
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Lazarus needs to have the architecture independent file in /usr/lib.
|
||||||
|
lazarus-src binary: image-file-in-usr-lib
|
63
debian/rules
vendored
63
debian/rules
vendored
@ -2,6 +2,12 @@
|
|||||||
# debian/rules for Lazarus
|
# debian/rules for Lazarus
|
||||||
|
|
||||||
DEB_DH_BUILDDEB_ARGS := -- -Z bzip2
|
DEB_DH_BUILDDEB_ARGS := -- -Z bzip2
|
||||||
|
export LANG:=C
|
||||||
|
|
||||||
|
# copied from cdbs:
|
||||||
|
DEB_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ')
|
||||||
|
DEB_NOEPOCH_VERSION := $(shell echo $(DEB_VERSION) | cut -d: -f2-)
|
||||||
|
DEB_UPSTREAM_VERSION := $(shell echo $(DEB_NOEPOCH_VERSION) | sed 's/-[^-]*$$//')
|
||||||
|
|
||||||
# Define FPC
|
# Define FPC
|
||||||
ifndef FPC
|
ifndef FPC
|
||||||
@ -69,8 +75,8 @@ unpatch:
|
|||||||
# Debian files
|
# Debian files
|
||||||
#
|
#
|
||||||
|
|
||||||
debian-files: debian-files-stamp
|
debian-files: patch debian-files-stamp
|
||||||
debian-files-stamp: patch
|
debian-files-stamp:
|
||||||
@echo "--- Creating/fixing *.install files"
|
@echo "--- Creating/fixing *.install files"
|
||||||
#/bin/bash debian/fixdeb debian $(FPCTARGET) $(PPNEW)
|
#/bin/bash debian/fixdeb debian $(FPCTARGET) $(PPNEW)
|
||||||
touch debian-files-stamp
|
touch debian-files-stamp
|
||||||
@ -86,10 +92,13 @@ configure-stamp:
|
|||||||
find -name Makefile.fpc -execdir 'sh' '-c' '${RM} $$(basename {} .fpc)' ';'
|
find -name Makefile.fpc -execdir 'sh' '-c' '${RM} $$(basename {} .fpc)' ';'
|
||||||
# Regenrate make files using fpcmake.
|
# Regenrate make files using fpcmake.
|
||||||
${FPCMAKE} -r -Tall
|
${FPCMAKE} -r -Tall
|
||||||
|
# Add version.inc:
|
||||||
|
${RM} ide/version.inc
|
||||||
|
echo \'$(DEB_VERSION)\' > ide/version.inc
|
||||||
touch configure-stamp
|
touch configure-stamp
|
||||||
|
|
||||||
build-arch: build-arch-stamp
|
build-arch: debian-files configure build-arch-stamp
|
||||||
build-arch-stamp: debian-files-stamp configure-stamp
|
build-arch-stamp:
|
||||||
@echo "--- Building"
|
@echo "--- Building"
|
||||||
dh_testdir
|
dh_testdir
|
||||||
$(MAKE) lcl packager/registration ideintf bigidecomponents examples $(BUILDOPTS)
|
$(MAKE) lcl packager/registration ideintf bigidecomponents examples $(BUILDOPTS)
|
||||||
@ -99,8 +108,8 @@ build-arch-stamp: debian-files-stamp configure-stamp
|
|||||||
$(MAKE) tools $(BUILDOPTS)
|
$(MAKE) tools $(BUILDOPTS)
|
||||||
touch build-arch-stamp
|
touch build-arch-stamp
|
||||||
|
|
||||||
install-arch: install-arch-stamp
|
install-arch: build-arch install-arch-stamp
|
||||||
install-arch-stamp: build-arch-stamp debian-files-stamp
|
install-arch-stamp:
|
||||||
@echo "--- Installing"
|
@echo "--- Installing"
|
||||||
dh_testdir
|
dh_testdir
|
||||||
dh_testroot
|
dh_testroot
|
||||||
@ -108,11 +117,18 @@ install-arch-stamp: build-arch-stamp debian-files-stamp
|
|||||||
dh_installdirs
|
dh_installdirs
|
||||||
# create all necessary directories
|
# create all necessary directories
|
||||||
install -d $(INSTALL_DIR)/usr/bin
|
install -d $(INSTALL_DIR)/usr/bin
|
||||||
install -d $(INSTALL_DIR)/usr/lib/lazarus
|
install -d $(INSTALL_DIR)/usr/lib/lazarus/tools
|
||||||
# Install the IDE & its accessories
|
# Install the IDE & its accessories
|
||||||
cp -Rfpl -t $(INSTALL_DIR)/usr/lib/lazarus \
|
cp -Rfpl -t $(INSTALL_DIR)/usr/lib/lazarus \
|
||||||
lazarus lazbuild startlazarus \
|
$(CURDIR)/lazarus \
|
||||||
|
$(CURDIR)/lazbuild \
|
||||||
|
$(CURDIR)/startlazarus \
|
||||||
$(CURDIR)/languages
|
$(CURDIR)/languages
|
||||||
|
cp -Rfpl -t $(INSTALL_DIR)/usr/lib/lazarus/tools \
|
||||||
|
$(CURDIR)/tools/lazres \
|
||||||
|
$(CURDIR)/tools/lrstolfm \
|
||||||
|
$(CURDIR)/tools/svn2revisioninc \
|
||||||
|
$(CURDIR)/tools/updatepofiles
|
||||||
# Install the library files
|
# Install the library files
|
||||||
find -name '*.ppu' -or -name '*.[oa]' -or -name '*.so*' | xargs cp -Rfpl --parents -t $(INSTALL_DIR)/usr/lib/lazarus
|
find -name '*.ppu' -or -name '*.[oa]' -or -name '*.so*' | xargs cp -Rfpl --parents -t $(INSTALL_DIR)/usr/lib/lazarus
|
||||||
# copy icons and menu entries for the GNOME menu
|
# copy icons and menu entries for the GNOME menu
|
||||||
@ -123,17 +139,22 @@ install-arch-stamp: build-arch-stamp debian-files-stamp
|
|||||||
install -m 644 $(CURDIR)/install/lazarus.desktop $(INSTALL_DIR)/usr/share/applications/lazarus.desktop
|
install -m 644 $(CURDIR)/install/lazarus.desktop $(INSTALL_DIR)/usr/share/applications/lazarus.desktop
|
||||||
# Install man pages
|
# Install man pages
|
||||||
$(MAKE) -C install/man installman $(INSTALLOPTS) INSTALL_PREFIX=$(INSTALL_DIR)/usr/share
|
$(MAKE) -C install/man installman $(INSTALLOPTS) INSTALL_PREFIX=$(INSTALL_DIR)/usr/share
|
||||||
touch install-arch-stamp
|
|
||||||
# Install configuration files
|
# Install configuration files
|
||||||
${MKDIR} $(INSTALL_DIR)/etc/lazarus
|
${MKDIR} $(INSTALL_DIR)/etc/lazarus
|
||||||
fpcsubst -d FPCVER=${FPCVER} -i ${CURDIR}/tools/install/linux/environmentoptions.xml -o $(INSTALL_DIR)/etc/lazarus/environmentoptions.xml
|
fpcsubst -d FPCVER=${FPCVER} -i ${CURDIR}/tools/install/linux/environmentoptions.xml -o $(INSTALL_DIR)/etc/lazarus/environmentoptions.xml
|
||||||
|
# Install contributer list
|
||||||
|
install -d $(INSTALL_DIR)/usr/lib/lazarus/docs
|
||||||
|
cp -Rfpl -t $(INSTALL_DIR)/usr/lib/lazarus/docs \
|
||||||
|
$(CURDIR)/docs/Contributors.txt \
|
||||||
|
$(CURDIR)/docs/contributors.utf8 \
|
||||||
|
$(CURDIR)/docs/acknowledgements.txt
|
||||||
|
touch install-arch-stamp
|
||||||
|
|
||||||
arrange-arch: arrange-arch-stamp
|
arrange-arch: install-arch arrange-arch-stamp
|
||||||
arrange-arch-stamp: install-arch-stamp debian-files-stamp
|
arrange-arch-stamp:
|
||||||
dh_testdir
|
dh_testdir
|
||||||
dh_testroot
|
dh_testroot
|
||||||
dh_install -s --sourcedir=debian/tmp --list-missing
|
dh_install -s --sourcedir=debian/tmp --list-missing
|
||||||
|
|
||||||
touch arrange-arch-stamp
|
touch arrange-arch-stamp
|
||||||
|
|
||||||
build-indep: patch
|
build-indep: patch
|
||||||
@ -144,15 +165,15 @@ install-indep:
|
|||||||
# Documentation
|
# Documentation
|
||||||
#
|
#
|
||||||
|
|
||||||
build-doc: patch build-doc-stamp
|
build-doc: patch debian-files build-doc-stamp
|
||||||
build-doc-stamp: debian-files-stamp
|
build-doc-stamp:
|
||||||
@echo "--- Building Documentation"
|
@echo "--- Building Documentation"
|
||||||
dh_testdir
|
dh_testdir
|
||||||
#$(MAKE) -C docs $(CONVERTER) $(BUILDOPTS) FPDOC=$(NEWFPDOC)
|
#$(MAKE) -C docs $(CONVERTER) $(BUILDOPTS) FPDOC=$(NEWFPDOC)
|
||||||
touch build-indep-stamp
|
touch build-indep-stamp
|
||||||
|
|
||||||
install-doc: install-doc-stamp
|
install-doc: build-doc install-doc-stamp
|
||||||
install-doc-stamp: build-doc-stamp debian-files-stamp
|
install-doc-stamp:
|
||||||
@echo "--- Installing Documentation"
|
@echo "--- Installing Documentation"
|
||||||
dh_testdir
|
dh_testdir
|
||||||
dh_testroot
|
dh_testroot
|
||||||
@ -172,9 +193,7 @@ install-source-stamp:
|
|||||||
dh_testroot
|
dh_testroot
|
||||||
install -d $(INSTALL_DIR)/usr/lib/lazarus/
|
install -d $(INSTALL_DIR)/usr/lib/lazarus/
|
||||||
cp -Rfpl -t $(INSTALL_DIR)/usr/lib/lazarus \
|
cp -Rfpl -t $(INSTALL_DIR)/usr/lib/lazarus \
|
||||||
$(CURDIR)/COPYING* \
|
|
||||||
$(CURDIR)/Makefile* \
|
$(CURDIR)/Makefile* \
|
||||||
$(CURDIR)/README* \
|
|
||||||
$(CURDIR)/components \
|
$(CURDIR)/components \
|
||||||
$(CURDIR)/converter \
|
$(CURDIR)/converter \
|
||||||
$(CURDIR)/debugger \
|
$(CURDIR)/debugger \
|
||||||
@ -212,8 +231,8 @@ binary-indep: clean-patched build-doc install-doc install-source debian-files
|
|||||||
dh_installdocs -i
|
dh_installdocs -i
|
||||||
dh_installchangelogs -i
|
dh_installchangelogs -i
|
||||||
dh_install -i --sourcedir=debian/tmp --list-missing
|
dh_install -i --sourcedir=debian/tmp --list-missing
|
||||||
# install -m644 -D debian/overrides/lazarus-src \
|
install -m644 -D debian/overrides/lazarus-src \
|
||||||
# debian/lazarus-src/usr/share/lintian/overrides/lazarus-src
|
debian/lazarus-src/usr/share/lintian/overrides/lazarus-src
|
||||||
dh_compress -i -X.pdf
|
dh_compress -i -X.pdf
|
||||||
dh_fixperms -i
|
dh_fixperms -i
|
||||||
dh_installdeb -i
|
dh_installdeb -i
|
||||||
@ -221,7 +240,7 @@ binary-indep: clean-patched build-doc install-doc install-source debian-files
|
|||||||
dh_md5sums -i
|
dh_md5sums -i
|
||||||
dh_builddeb -i $(DEB_DH_BUILDDEB_ARGS)
|
dh_builddeb -i $(DEB_DH_BUILDDEB_ARGS)
|
||||||
|
|
||||||
binary-arch: build-arch arrange-arch debian-files
|
binary-arch: arrange-arch
|
||||||
@echo "--- Building: arch packages"
|
@echo "--- Building: arch packages"
|
||||||
dh_testdir
|
dh_testdir
|
||||||
dh_testroot
|
dh_testroot
|
||||||
@ -247,4 +266,4 @@ binary-arch: build-arch arrange-arch debian-files
|
|||||||
configure
|
configure
|
||||||
|
|
||||||
get-orig-source:
|
get-orig-source:
|
||||||
-uscan --upstream-version=0 --rename
|
sh debian/orig-tar.sh $(DEB_UPSTREAM_VERSION)
|
||||||
|
Loading…
Reference in New Issue
Block a user