debian: lazarus deb now builds without lintian errors

git-svn-id: branches/fixes_1_8@55009 -
This commit is contained in:
mattias 2017-05-19 14:22:11 +00:00
parent afbdb271ea
commit 704dd38465
10 changed files with 26 additions and 48 deletions

2
.gitattributes vendored
View File

@ -10005,9 +10005,11 @@ tools/install/debian_fpc/changelog.Debian svneol=native#text/plain
tools/install/debian_fpc/control svneol=native#text/plain
tools/install/debian_fpc/copyright svneol=native#text/plain
tools/install/debian_fpc/postinst svneol=native#text/plain
tools/install/debian_lazarus/conffiles svneol=native#text/plain
tools/install/debian_lazarus/control svneol=native#text/plain
tools/install/debian_lazarus/controlgtk svneol=native#text/plain
tools/install/debian_lazarus/controlqt svneol=native#text/plain
tools/install/debian_lazarus/lintian.overrides svneol=native#text/plain
tools/install/do_nothing.sh svneol=native#text/plain
tools/install/file_filter.sh svneol=native#text/plain
tools/install/freebsd_ports/Makefile svneol=native#text/plain

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
lazarus (1.9.0) unstable; urgency=low
* Snapshot building.
-- Mattias Gaertner <mattias@freepascal.org> Sat, 8 Apr 2017 00:01:22 +0200
lazarus (1.8.0RC1) unstable; urgency=low
* Snapshot building.

0
images/icons/cheetah.icns Executable file → Normal file
View File

View File

@ -276,7 +276,7 @@ echo " -- Mattias Gaertner <mattias@freepascal.org> $Date" >> $File
echo "" >> $File
cat $ResourceDir/changelog >> $File
rm -f $File.gz
gzip --best $File
gzip -n --best $File
# create postinst if needed
if [ -f "$ResourceDir/postinst" ]
@ -328,7 +328,7 @@ echo "creating changelog.Debian file ..."
File=$DebianDocDir/changelog.Debian
cp $ResourceDir/changelog.Debian $File
rm -f $File.gz
gzip --best $File
gzip -n --best $File
# create debian copyright file
echo "creating copyright file ..."

View File

@ -194,9 +194,13 @@ cp $DebianSrcDir/conffiles $LazBuildDir/DEBIAN/
echo "copying copyright and changelog files"
LazBuildDocDir=$LazBuildDir/usr/share/doc/$PkgName
mkdir -p $LazBuildDocDir
cp $DebianSrcDir/{copyright,changelog,changelog.Debian} $LazBuildDocDir/
gzip --best $LazBuildDocDir/changelog
gzip --best $LazBuildDocDir/changelog.Debian
cp $DebianSrcDir/copyright $LazBuildDocDir/
cat $LazSrcDir/debian/changelog | sed -e "s/^lazarus (/$PkgName (/" > $LazBuildDocDir/changelog
cp $LazBuildDocDir/changelog $LazBuildDocDir/changelog.Debian
gzip -n --best $LazBuildDocDir/changelog
gzip -n --best $LazBuildDocDir/changelog.Debian
mkdir -p $LazBuildDir/usr/share/lintian/overrides
cat $DebianSrcDir/lintian.overrides | sed -e "s/^lazarus:/$PkgName:/" > $LazBuildDir/usr/share/lintian/overrides/$PkgName
# icons, links
mkdir -p $LazBuildDir/usr/share/pixmaps
@ -213,7 +217,7 @@ ln -s $LazDestDirInstalled/lazbuild $LazBuildDir/usr/bin/lazbuild
# docs
mkdir -p $LazBuildDir/usr/share/man/man1
for exe in lazbuild lazarus-ide startlazarus lazres svn2revisioninc updatepofiles; do
cat $LazDestDir/install/man/man1/$exe.1 | gzip --best > $LazBuildDir/usr/share/man/man1/$exe.1.gz
cat $LazDestDir/install/man/man1/$exe.1 | gzip -n --best > $LazBuildDir/usr/share/man/man1/$exe.1.gz
done
# default configs

View File

@ -69,7 +69,7 @@ cp -arf $SrcDir/* $BuildRoot/usr/lib/lazarus/
ln -sf /usr/lib/lazarus/lazarus usr/bin/lazarus-ide
ln -sf /usr/lib/lazarus/startlazarus usr/bin/startlazarus
ln -sf /usr/lib/lazarus/lazbuild usr/bin/lazbuild
cat $SrcDir/install/man/man1/lazbuild.1 | gzip --best > $BuildRoot/usr/man/man1/lazbuild.1.gz
cat $SrcDir/install/man/man1/lazbuild.1 | gzip -n --best > $BuildRoot/usr/man/man1/lazbuild.1.gz
/sbin/makepkg -l y -c y $SlackTGZ
cd

View File

@ -1,41 +0,0 @@
lazarus (1.7.0) unstable; urgency=low
* Snapshot building.
-- Mattias Gaertner <mattias@freepascal.org> Mon, 30 Nov 2016 20:01:22 +0100
lazarus (1.5.0) unstable; urgency=low
* Snapshot building.
-- Mattias Gaertner <mattias@freepascal.org> Sun, 11 Jan 2015 12:07:35 +0100
lazarus (1.3.0) unstable; urgency=low
* Snapshot building.
-- Mattias Gaertner <mattias@freepascal.org> Sun, 3 Nov 2013 10:11:12 +0100
lazarus (0.9.24)
The Lazarus IDE is started with "startlazarus" or directly with "lazarus-ide".
Formerly "lazarus-ide" was "lazarus", but due to a conflict with the tct package
it has been renamed. That's why it is now "lazarus-ide".
Please check your desktop icons.
lazarus (0.9.22)
The Lazarus IDE is started with "startlazarus" or directly with "lazarus".
Some other lazarus packages out there uses "lazarus-ide" to start.
If you are switching from such a package to this, please check your desktop
icons.
lazarus (0.9.4)
* Started package
-- Mattias Gaertner <mattias@cvs.freepascal.org> Sun, 13 Jul 2003 16:35:45 +0200

View File

@ -0,0 +1,2 @@
/etc/lazarus/environmentoptions.xml
/etc/lazarus/editoroptions.xml

View File

@ -45,3 +45,5 @@ directory. They are under the GPL 2, with the following exceptions:
transfermacros.pp, wordcompletion.pp, patheditordlg.pas, outputfilter.pas,
inputfiledialog.pas, findreplacedialog.pp, findinfilesdlg.pas
These files are under the modified LGPL as described in COPYING.modifiedLGPL.
/usr/share/common-licenses/LGPL-2

View File

@ -0,0 +1,3 @@
# ignore .o files in /usr/share
lazarus: arch-dependent-file-in-usr-share
lazarus: missing-dependency-on-libc