mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-16 05:20:36 +01:00
debian packaging fixes (hints by lintian)
git-svn-id: trunk@9036 -
This commit is contained in:
parent
b066d5590d
commit
1499dc7470
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -522,6 +522,7 @@ debian/manpage.sgml.ex svneol=native#text/plain
|
||||
debian/manpage.xml.ex svneol=native#text/plain
|
||||
debian/menu svneol=native#text/plain
|
||||
debian/menu.ex svneol=native#text/plain
|
||||
debian/move-usr-lib.sh svneol=native#text/plain
|
||||
debian/postinst.ex svneol=native#text/plain
|
||||
debian/postrm.ex svneol=native#text/plain
|
||||
debian/preinst.ex svneol=native#text/plain
|
||||
|
||||
32
debian/control
vendored
32
debian/control
vendored
@ -11,19 +11,19 @@ Depends: ${shlibs:Depends}, fp-compiler (= 2.0.2-1), fp-units-base (= 2.0.2-1),
|
||||
Recommends: fp-units-db (= 2.0.2-1), fp-units-gfx (= 2.0.2-1), fp-units-gnome1 (= 2.0.2-1), fp-units-misc (= 2.0.2-1), fp-units-net (= 2.0.2-1)
|
||||
Suggests: fp-utils (= 2.0.2-1)
|
||||
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.
|
||||
.
|
||||
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 IDE will eventually reach Delphi's full functionality.
|
||||
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.
|
||||
.
|
||||
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 IDE will eventually reach Delphi's full functionality.
|
||||
|
||||
18
debian/copyright
vendored
18
debian/copyright
vendored
@ -46,11 +46,19 @@ and findinfilesdlg.pas.
|
||||
These files are under a modified version of the LGPL, as shown on
|
||||
COPYING.modifiedLGPL below:
|
||||
|
||||
" These files are distributed under the Library GNU General Public License
|
||||
(see the file COPYING.LPGL) with the following modification:
|
||||
|
||||
- object files and libraries linked into an application may be
|
||||
distributed without source code. "
|
||||
" These files are distributed under the Library GNU General Public License
|
||||
(see the file COPYING.LGPL) with the following modification:
|
||||
|
||||
As a special exception, the copyright holders of this library give you
|
||||
permission to link this library with independent modules to produce an
|
||||
executable, regardless of the license terms of these independent modules,
|
||||
and to copy and distribute the resulting executable under terms of your choice,
|
||||
provided that you also meet, for each linked independent module, the terms
|
||||
and conditions of the license of that module. An independent module is a
|
||||
module which is not derived from or based on this library. If you modify this
|
||||
library, you may extend this exception to your version of the library, but
|
||||
you are not obligated to do so. If you do not wish to do so, delete this
|
||||
exception statement from your version. "
|
||||
|
||||
See: /usr/share/common-licenses/GPL
|
||||
/usr/share/common-licenses/LGPL
|
||||
|
||||
4
debian/menu
vendored
4
debian/menu
vendored
@ -2,5 +2,5 @@
|
||||
title="Lazarus IDE"\
|
||||
section="Apps/Programming"\
|
||||
hints="Programming,Delphi"\
|
||||
icon="/usr/share/pixmaps/lazarus.png"\
|
||||
command="/usr/bin/lazarus"
|
||||
icon="/usr/share/pixmaps/lazarus.xpm"\
|
||||
command="/usr/bin/lazarus-ide"
|
||||
|
||||
20
debian/move-usr-lib.sh
vendored
Normal file
20
debian/move-usr-lib.sh
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
set -x
|
||||
LAZDEBDIR=$1
|
||||
for i in `find -maxdepth 1 -not -name debian -and -not -name '.'`; do
|
||||
cp -Rl $i $LAZDEBDIR/usr/share/lazarus
|
||||
done
|
||||
rm $LAZDEBDIR/usr/share/lazarus/lcl/COPYING
|
||||
rm $LAZDEBDIR/usr/share/lazarus/COPYING.GPL
|
||||
rm $LAZDEBDIR/usr/share/lazarus/COPYING.LGPL
|
||||
rm $LAZDEBDIR/usr/share/lazarus/COPYING.modifiedLGPL
|
||||
rm $LAZDEBDIR/usr/share/lazarus/COPYING
|
||||
cd $LAZDEBDIR/usr/share/lazarus
|
||||
mv lazarus ../../lib/lazarus
|
||||
mv startlazarus ../../lib/lazarus
|
||||
mv tools/svn2revisioninc ../../lib/lazarus/tools/svn2revisioninc
|
||||
for i in `find -type d -name 'lib' -or -name 'units'`; do
|
||||
d=`dirname $i`
|
||||
mkdir -p ../../lib/lazarus/$d
|
||||
mv $i ../../lib/lazarus/$d
|
||||
done
|
||||
|
||||
9
debian/rules
vendored
9
debian/rules
vendored
@ -37,7 +37,7 @@ clean:
|
||||
rm -f build-stamp configure-stamp
|
||||
|
||||
# Add here commands to clean up after the build process.
|
||||
-$(MAKE) clean
|
||||
-$(MAKE) distclean
|
||||
|
||||
dh_clean
|
||||
|
||||
@ -50,18 +50,19 @@ install: build
|
||||
# Add here commands to install the package into debian/lazarus.
|
||||
|
||||
# copy lazarus to /usr/share
|
||||
install -d $(LAZDEBDIR)/usr/share/lazarus
|
||||
install -d $(LAZDEBDIR)/usr/lib/lazarus
|
||||
install -d $(LAZDEBDIR)/usr/bin
|
||||
|
||||
-cp -R $(CURDIR)/* $(LAZDEBDIR)/usr/lib/lazarus/
|
||||
-rm -rf $(LAZDEBDIR)/usr/lib/lazarus/debian/
|
||||
sh $(CURDIR)/debian/move-usr-lib.sh $(LAZDEBDIR)
|
||||
|
||||
# copy icons and menu entries for the GNOME menu
|
||||
install -d $(LAZDEBDIR)/usr/share/pixmaps
|
||||
install -d $(LAZDEBDIR)/usr/share/gnome/apps/Development
|
||||
install -d $(LAZDEBDIR)/usr/bin
|
||||
|
||||
install -m 644 $(CURDIR)/images/ide_icon48x48.png $(LAZDEBDIR)/usr/share/pixmaps/lazarus.png
|
||||
convert $(CURDIR)/images/ide_icon48x48.png $(LAZDEBDIR)/usr/share/pixmaps/lazarus.xpm
|
||||
chmod 644 $(LAZDEBDIR)/usr/share/pixmaps/lazarus.xpm
|
||||
install -m 644 $(CURDIR)/install/gnome.ide.desktop $(LAZDEBDIR)/usr/share/gnome/apps/Development/lazarus.desktop
|
||||
|
||||
# Build architecture-independent files here.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user