From 1b4ad9eff5319b5da703d37b7066d6cd32971f9e Mon Sep 17 00:00:00 2001 From: mattias Date: Fri, 19 May 2017 10:16:40 +0000 Subject: [PATCH] debian: fixed permissions and description git-svn-id: trunk@55004 - --- .../chmhelp/packages/help/design/lazhelpchm.bat | 0 components/lazcontrols/images/lazcontrols.bat | 0 .../lazreport/images/bitmaps/fr_hightlight.bmp | Bin components/lazreport/images/bitmaps/fr_script.bmp | Bin tools/install/create_lazarus_deb.sh | 4 +++- tools/install/debian_lazarus/control | 6 +++--- tools/install/debian_lazarus/controlgtk | 7 +++---- 7 files changed, 9 insertions(+), 8 deletions(-) mode change 100755 => 100644 components/chmhelp/packages/help/design/lazhelpchm.bat mode change 100755 => 100644 components/lazcontrols/images/lazcontrols.bat mode change 100755 => 100644 components/lazreport/images/bitmaps/fr_hightlight.bmp mode change 100755 => 100644 components/lazreport/images/bitmaps/fr_script.bmp diff --git a/components/chmhelp/packages/help/design/lazhelpchm.bat b/components/chmhelp/packages/help/design/lazhelpchm.bat old mode 100755 new mode 100644 diff --git a/components/lazcontrols/images/lazcontrols.bat b/components/lazcontrols/images/lazcontrols.bat old mode 100755 new mode 100644 diff --git a/components/lazreport/images/bitmaps/fr_hightlight.bmp b/components/lazreport/images/bitmaps/fr_hightlight.bmp old mode 100755 new mode 100644 diff --git a/components/lazreport/images/bitmaps/fr_script.bmp b/components/lazreport/images/bitmaps/fr_script.bmp old mode 100755 new mode 100644 diff --git a/tools/install/create_lazarus_deb.sh b/tools/install/create_lazarus_deb.sh index a399d04ad4..4dcee147bb 100755 --- a/tools/install/create_lazarus_deb.sh +++ b/tools/install/create_lazarus_deb.sh @@ -161,6 +161,7 @@ mkdir -p units/${targetos}-linux/qt export LCL_PLATFORM= +find . -name '*.or' -delete strip lazarus strip startlazarus strip lazbuild @@ -226,6 +227,7 @@ chmod 644 $LazBuildDir/etc/lazarus/*.xml echo "fixing permissions ..." find $LazBuildDir -type d | xargs -d '\n' chmod 755 find $LazBuildDir -perm 775 | xargs -d '\n' chmod 755 +find $LazBuildDir -perm 664 | xargs -d '\n' chmod 544 # postinst + postrm: # don't know @@ -235,7 +237,7 @@ echo "creating deb ..." cd $TmpDir fakeroot dpkg-deb --build $LazBuildDir mv $LazBuildDir.deb $LazDeb -echo "the new deb can be found at $LazDeb" +echo "you can now test it with lintian $LazDeb" cd - # removing temporary files diff --git a/tools/install/debian_lazarus/control b/tools/install/debian_lazarus/control index ebe7734dca..27fb40b25e 100644 --- a/tools/install/debian_lazarus/control +++ b/tools/install/debian_lazarus/control @@ -10,6 +10,6 @@ Conflicts: lazarus, lazarus-doc, lazarus-ide, lazarus-ide-gtk2, lazarus-ide-qt4, Depends: libgtk2.0-dev (>=2.6.0), fpc (=FPCVERSION) | fp-compiler (=FPCVERSION), fpc-src (=FPCVERSION) | fpc-source (=FPCVERSION), fpc (>=FPCVERSION) | fp-ide (>=FPCVERSION), fpc (>=FPCVERSION) | fp-units-base (>=FPCVERSION), fpc (>=FPCVERSION) | fp-units-db (>=FPCVERSION), fpc (>=FPCVERSION) | fp-units-fcl (>=FPCVERSION), fpc (>=FPCVERSION) | fp-units-fv (>=FPCVERSION), fpc (>=FPCVERSION) | fp-units-gfx (>=FPCVERSION), fpc (>=FPCVERSION) | fp-units-gnome1 (>=FPCVERSION), fpc (>=FPCVERSION) | fp-units-gtk (>=FPCVERSION), fpc (>=FPCVERSION) | fp-units-gtk2 (>=FPCVERSION), fpc (>=FPCVERSION) | fp-units-misc (>=FPCVERSION), fpc (>=FPCVERSION) | fp-units-net (>=FPCVERSION), fpc (>=FPCVERSION) | fp-units-rtl (>=FPCVERSION), fpc (>=FPCVERSION) | fp-utils (>=FPCVERSION) Installed-Size: LAZSIZE Description: RAD tool for freepascal - Lazarus is a free and opensource IDE and RAD tool for Free Pascal using the - Lazarus component library LCL. The LCL is included in this package too. - See http://www.lazarus.freepascal.org + Lazarus is a free and opensource IDE and RAD tool for Free Pascal using the + Lazarus component library LCL. The LCL is included in this package too. + See http://www.lazarus.freepascal.org diff --git a/tools/install/debian_lazarus/controlgtk b/tools/install/debian_lazarus/controlgtk index 54b170b889..4392f308ec 100644 --- a/tools/install/debian_lazarus/controlgtk +++ b/tools/install/debian_lazarus/controlgtk @@ -8,7 +8,6 @@ Architecture: ARCH Depends: libgdk-pixbuf-dev (>=0.17.0), libgtk1.2-dev, fpc (>=FPCVERSION) | fp-compiler (>=FPCVERSION), fpc-src (>=FPCVERSION) | fpc-source (>=FPCVERSION), fpc (>=FPCVERSION) | fp-ide (>=FPCVERSION), fpc (>=FPCVERSION) | fp-units-base (>=FPCVERSION), fpc (>=FPCVERSION) | fp-units-db (>=FPCVERSION), fpc (>=FPCVERSION) | fp-units-fcl (>=FPCVERSION), fpc (>=FPCVERSION) | fp-units-fv (>=FPCVERSION), fpc (>=FPCVERSION) | fp-units-gfx (>=FPCVERSION), fpc (>=FPCVERSION) | fp-units-gnome1 (>=FPCVERSION), fpc (>=FPCVERSION) | fp-units-gtk (>=FPCVERSION), fpc (>=FPCVERSION) | fp-units-gtk2 (>=FPCVERSION), fpc (>=FPCVERSION) | fp-units-misc (>=FPCVERSION), fpc (>=FPCVERSION) | fp-units-net (>=FPCVERSION), fpc (>=FPCVERSION) | fp-units-rtl (>=FPCVERSION), fpc (>=FPCVERSION) | fp-utils (>=FPCVERSION) Installed-Size: LAZSIZE Description: RAD tool for freepascal - Lazarus is a free and opensource IDE and RAD tool for Free Pascal using the - Lazarus component library LCL. The LCL is included in this package too. - See http://www.lazarus.freepascal.org - + Lazarus is a free and opensource IDE and RAD tool for Free Pascal using the + Lazarus component library LCL. The LCL is included in this package too. + See http://www.lazarus.freepascal.org