MAKE DEB: merged changes from official debian repository.

git-svn-id: trunk@30381 -
This commit is contained in:
mazen 2011-04-19 09:00:13 +00:00
parent be294f7218
commit 867074a683
8 changed files with 440 additions and 12 deletions

2
.gitattributes vendored
View File

@ -2641,10 +2641,12 @@ debian/lcl-gtk2.install.in svneol=native#text/plain
debian/lcl-nogui.install.in svneol=native#text/plain
debian/lcl-qt4.install.in svneol=native#text/plain
debian/lcl-units.install.in svneol=native#text/plain
debian/lcl-utils.config.in svneol=native#text/plain
debian/lcl-utils.install.in svneol=native#text/plain
debian/lcl-utils.links.in svneol=native#text/plain
debian/lcl-utils.postinst.in svneol=native#text/plain
debian/lcl-utils.prerm.in svneol=native#text/plain
debian/lcl-utils.templates.in svneol=native#text/plain
debian/orig-tar.sh svneol=native#text/plain
debian/overrides/lazarus svneol=native#text/plain
debian/overrides/lazarus-doc svneol=native#text/plain

92
debian/changelog vendored
View File

@ -1,6 +1,94 @@
lazarus (0.9.31-0) unstable; urgency=low
* Snapshot building.
-- Abou Al Montacir <abou.almontacir@sfr.fr> Thu, 14 Apr 2011 10:00:00 +0100
lazarus (0.9.30-2) unstable; urgency=low
* Added lclbase.lpk to lcl-units package. (Closes upstream bug#18656)
-- Abou Al Montacir <abou.almontacir@sfr.fr> Fri, 12 Apr 2011 12:24:00 +0200
lazarus (0.9.30-1) unstable; urgency=low
* New upstream release many fixes and new features.
- The detailed list of changes can be found here:
http://wiki.lazarus.freepascal.org/Lazarus_0.9.30_release_notes
* LCL changes:
- Windows CE: support for clipboard and keypad devices
- GTK2 and GTK1 interfaces are now separated.
- GTK1 is no longer maintained by Lazarus team, but patches are accepted.
- fpGUI: LCL interface now supports all components on the standard page.
- QT support for Haiku
- Layout and autosizing is now more consistent across widgetsets,
overhead was reduced, improved cross platform layouts and complex forms.
- Added gif reader
- TLazIntfImage: New function AlphaBlend, which can alpha blend an intfimage
into another, using a separate intfimage as the alpha channel.
- Unit chart and its component TBarChar are deprecated in favor of new
package TAChartLazarusPkg.
* IDE:
- Support of FPC resources: {$R *.lfm} instead of {$i unit1.lrs}.
- The Delphi converter has improved a lot.
- Build modes, build macros and conditionals now allows different sets of
compiler options for projects and packages.
- Editor improvements:
+ Hiding (Folding) of comments in Pascal source.
+ Allow Multiple Source-Editor Windows
+ Allow several Views of the same Source
+ User-defined color-schemes.
+ Identifier-completion pop-up is now resizable
- Project compiler options can now be saved as default for new projects.
- When opening a project only those forms are opened that were open when
project was closed.
- Various designer usability improvements:
+ arrow and tab keys switching between components
+ resize/move cancellation using ESC key
+ save/restore of the form window state in the project session
+ skip snapping when Alt key is pressed
- When creating a new project the default unit output directory is now
lib/$(TargetCPU)-$(TargetOS). Target file name is project1. This has no
impact on old projects.
- IDE now preserves the line endings of source files (it uses the line
ending of the first line, it does not preserve mixed line endings).
- You can now quickly switch between several versions / branches of packages
by defining the preferred package file name for each dependency.
- You can now use the IDE directive %H- to hide individual hints, notes and
warnings.
- The IDE can be made dockable. Install either the package AnchorDockingDsgn
or EasyDockMgrDsgn.
- The ToDo list was moved to a separate package: todolistlaz.lpk.
- Czech translation added
* Debugger / Editor:
- Inserted/Deleted lines during a debug session are now tracked. Breakpoints
and Execution-line are adjusted.
- Step out command implementation (by Flavio)
- Show execution point command
- Single Instruction step (over/into)
- UI Improvements: Toolbars for Watches, Breakpoints, Disassembler
- Watches: Enabled display formats (mem-dump, Hex, Default, ..)
- Disassembler added navigation: jump to address / return to execution point
- Improved reaction speed: It is possible to continue stepping without
having to wait for all watches, locals, ... to be evaluated
* Components:
- IDE got some options to become easier for students and pupils and there is
a new package EducationLaz adding options to hide complex parts of the IDE
- New AggPas (Anti Grain Geometry for Object Pascal) package, now supporting
FPImage and LCL. AggPas highlights: Subpixel rendering, 8-bit alpha
channel, paths, platform independent rendering using pure pascal
- TAChart update, including: stacked and rotated series, 3 new types of
series, axis transformations, interactive tools, 6 new demos and other
improvements
* Added metapackges in order to ease upgrading and fixed dependcy rules.
(Closes: Bug#620108)
* Test for dh_input exit status 30 as this is a normal exit status which just
informs that the question was not displayed because of its priority.
-- Abou Al Montacir <abou.almontacir@sfr.fr> Fri, 05 Apr 2011 19:20:00 +0200
lazarus (0.9.28.2-13) unstable; urgency=low
* Added support for multiple version coexistence in the same system. This will
allow installing multiple versions of Lazarus in the same system and choose
a default using update-alternatives.
@ -9,8 +97,10 @@ lazarus (0.9.31-0) unstable; urgency=low
* Factorized code in code tools FindXXXXNode functions.
* Included *.lpk files in the binary packages and mark them as manually
compiled to avoid recompiling them when used.
* Added build dependency constraint on FPC version to be 2.4.0 as it won't
build using other FPC versions.
-- Abou Al Montacir <abou.almontacir@sfr.fr> Thu, 30 Dec 2010 10:36:00 +0100
-- Abou Al Montacir <abou.almontacir@sfr.fr> Mon, 08 Mar 2011 19:14:00 +0100
lazarus (0.9.28.2-12) unstable; urgency=low

297
debian/control.in vendored
View File

@ -101,9 +101,9 @@ Architecture: i386 powerpc sparc amd64 armel
Depends: ${misc:Depends}, ${shlibs:Depends}, lazarus-ide${PACKAGESUFFIX}
Recommends: fpc, lcl${PACKAGESUFFIX}, gdb
Suggests: fp-utils
Provides: lazarus-ide-gtk${PACKAGESUFFIX}, lazarus-ide
Breaks: lazarus-ide-gtk${PACKAGESUFFIX} (<< 0.2.28.2-13), lazarus-ide (<< 0.2.28.2-13)
Replaces: lazarus-ide-gtk${PACKAGESUFFIX} (<< 0.2.28.2-13)
Provides: lazarus-ide-gtk${PACKAGESUFFIX}, 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 - 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
@ -128,9 +128,9 @@ Architecture: i386 powerpc sparc amd64 armel
Depends: ${misc:Depends}, ${shlibs:Depends}, lazarus-ide${PACKAGESUFFIX}, lazarus-ide-gtk${PACKAGESUFFIX}
Recommends: fpc, lcl${PACKAGESUFFIX}, gdb
Suggests: fp-utils
Provides: lazarus-ide-qt${PACKAGESUFFIX}, lazarus-ide
Breaks: lazarus-ide-qt${PACKAGESUFFIX}(<< 0.9.28.2-13), lazarus-ide (<< 0.9.28.2-13)
Replaces: lazarus-ide-qt${PACKAGESUFFIX}(<< 0.9.28.2-13)
Provides: lazarus-ide-qt${PACKAGESUFFIX}, 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 - 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
@ -264,7 +264,7 @@ Architecture: i386 powerpc sparc amd64 armel
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-gtk2${PACKAGESUFFIX}, lcl-gtk${PACKAGESUFFIX}
Provides: lcl-gtk2, lcl-gtk, lcl-gtk${PACKAGESUFFIX}
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
@ -317,6 +317,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)
Description: IDE for Free Pascal - Documentation
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
@ -338,3 +341,283 @@ Description: IDE for Free Pascal - Documentation
be viewed separately with any HTML browser or used by the IDE to as an
integrated help (pressing <F1> on any LCL identifier will browse the help of
that identifier).
##################### backward compatibility meta packages#####################
Package: lazarus
Architecture: all
Depends: ${misc:Depends}, lazarus${PACKAGESUFFIX} (= ${binary:Version})
Description: IDE for Free Pascal - SDK metapackage
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 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}, lazarus-src${PACKAGESUFFIX} (= ${binary:Version})
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 source code necessary for the IDE code tool to
run (retrieving declarations and navigating in code).
Package: lazarus-ide
Architecture: i386 powerpc sparc amd64 armel
Depends: ${misc:Depends}, lazarus-ide${PACKAGESUFFIX} (= ${binary:Version})
Description: IDE for Free Pascal - Common IDE files metapackage
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: any
Depends: ${misc:Depends}, lazarus-ide-gtk2${PACKAGESUFFIX} (= ${binary:Version})
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: any
Depends: ${misc:Depends}, lazarus-ide-qt4${PACKAGESUFFIX} (= ${binary:Version})
Description: IDE for Free Pascal - IDE build on top of QT backend metapackage
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 will contain the lazarus IDE build on top of QT backend, however
for now it just depends on gtk based IDE.
Package: lcl
Architecture: any
Depends: ${misc:Depends}, lcl${PACKAGESUFFIX} (= ${binary:Version})
Description: Lazarus Components Library - LCL metapackage
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 is a metapackage to ease installing the LCL and components.
Package: lcl-utils
Architecture: any
Depends: ${misc:Depends}, lcl-utils${PACKAGESUFFIX} (= ${binary:Version})
Description: Lazarus Components Library - Command Line build tools metapackage
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 command line tools to ease building LCL applications.
Package: lcl-units
Architecture: any
Depends: ${misc:Depends}, lcl-units${PACKAGESUFFIX} (= ${binary:Version})
Description: Lazarus Components Library - Backend independent components metapackage
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 LCL and components.
Package: lcl-nogui
Architecture: any
Depends: ${misc:Depends}, lcl-nogui${PACKAGESUFFIX} (= ${binary:Version})
Description: Lazarus Components Library - No GUI backend metapackage
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 LCL and components no GUI based backend for command
line tools and non graphical applications.
Package: lcl-gtk2
Architecture: any
Depends: ${misc:Depends}, lcl-gtk2${PACKAGESUFFIX} (= ${binary:Version})
Description: Lazarus Components Library - GTK+ backend metapackage
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 LCL and components GTK+ based backend.
Package: lcl-qt4
Architecture: any
Depends: ${misc:Depends}, lcl-qt4${PACKAGESUFFIX} (= ${binary:Version})
Description: Lazarus Components Library - QT backend metapackage
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 LCL and components Qt based backend. Actually this is
an empty package but will not be in the future.
Package: lazarus-doc
Section: doc
Architecture: all
Depends: ${misc:Depends}, lazarus-doc${PACKAGESUFFIX} (= ${binary:Version})
Description: IDE for Free Pascal - Documentation metapackage
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 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 <F1> on any LCL identifier will browse the help of
that identifier).

View File

@ -41,5 +41,6 @@
#/usr/lib/lazarus/${VERSION}/ide
/usr/lib/lazarus/${VERSION}/ideintf
/usr/lib/lazarus/${VERSION}/lcl/units/*/*.*
/usr/lib/lazarus/${VERSION}/lcl/*.lpk
/usr/lib/lazarus/${VERSION}/packager
/usr/lib/lazarus/${VERSION}/units

18
debian/lcl-utils.config.in vendored Normal file
View File

@ -0,0 +1,18 @@
#! /bin/sh
set -e
# Load debconf
. /usr/share/debconf/confmodule
CFG_DIR='/etc/lazarus'
if test -e "${CFG_DIR}" && ! test -L "${CFG_DIR}"
then
db_input high lcl-utils${PACKAGESUFFIX}/rename_cfg || test $? -eq 30
db_go
fi
# Debhelper code
#DEBHELPER#

View File

@ -2,13 +2,25 @@
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} 20 \
--slave /etc/lazarus lazarus.cfg /etc/lazarus-${VERSION} \
--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 \

17
debian/lcl-utils.templates.in vendored Normal file
View File

@ -0,0 +1,17 @@
Template: lcl-utils${PACKAGESUFFIX}/rename_cfg
Type: boolean
Default: true
Description: Do you want to rename "/etc/lazarus" to "/etc/lazarus.bak"?
Lazarus supports now multiple version installations. This allows co-existence
of multiple versions on the same system. The default version can be selected
using the update-alternatives command for the following groups:
1)lazarus-ide : IDE default version
2)lazarus : configuration file and helper tools default version
.
What ever version you may choose as default, the configuration files (2) are
not always backward compatible and it may be unsafe to use the same version
for all installed Lazarus versions.
.
In order to use alternatives system for system wide Lazarus configuration file
you need to accept renaming "/etc/lazarus", othewise you will need to manage
this manually by yourself.

11
debian/rules vendored
View File

@ -58,7 +58,7 @@ ifndef LAZBUILD
LAZBUILD=${CURDIR}/lazbuild
endif
# Set default compilation options
BUILDOPTS=USESVN2REVISIONINC=0
BUILDOPTS=
INSTALLOPTS=INSTALL_PREFIX=$(INSTALL_DIR)/usr
# Configure patch system
include /usr/share/quilt/quilt.make
@ -122,8 +122,11 @@ build-arch: debian-files configure build-arch-stamp
build-arch-stamp:
@echo "--- Building"
dh_testdir
$(MAKE) all $(BUILDOPTS)
$(MAKE) lcl packager/registration ideintf bigidecomponents examples $(BUILDOPTS)
$(MAKE) bigide USESVN2REVISIONINC=0 $(BUILDOPTS)
${MV} $(CURDIR)/lazarus $(CURDIR)/lazarus-gtk2
$(MAKE) lazbuilder $(BUILDOPTS)
$(MAKE) tools $(BUILDOPTS)
touch build-arch-stamp
install-arch: build-arch install-arch-stamp
@ -281,6 +284,7 @@ binary-indep: clean-patched build-doc install-doc install-source debian-files
done
dh_compress -i -X.pdf
dh_fixperms -i
dh_installdebconf -i
dh_installdeb -i
dh_gencontrol -i
dh_md5sums -i
@ -300,7 +304,8 @@ binary-arch: arrange-arch
dh_strip -s
dh_compress -a
dh_fixperms -a
dh_installdeb -s
dh_installdebconf -a
dh_installdeb -a
dh_shlibdeps -s
dh_gencontrol -s
dh_md5sums -s