release/snapshot building fixes

git-svn-id: trunk@9651 -
This commit is contained in:
micha 2006-07-21 14:14:49 +00:00
parent f88cd92e06
commit 97bd8ff729
6 changed files with 29 additions and 28 deletions

6
debian/changelog vendored
View File

@ -1,8 +1,8 @@
lazarus (0.9.13-1) experimental; urgency=low lazarus (0.9.17-1) experimental; urgency=low
* New upstream release. * Snapshot.
-- Micha Nelissen <micha@neli.hopto.org> Sun, 26 Mar 2006 14:56:00 +0100 -- Micha Nelissen <micha@neli.hopto.org> Fri, 21 Jul 2006 16:09:00 +0200
lazarus (0.9.2-2) experimental; urgency=low lazarus (0.9.2-2) experimental; urgency=low

View File

@ -1,19 +1,21 @@
LAZDEBDIR=$1 LAZDEBDIR=$1
for i in `find -maxdepth 1 -not -name debian -and -not -name '.'`; do LAZTARGET=lib
cp -Rl $i $LAZDEBDIR/usr/share/lazarus for i in `find -maxdepth 1 -not -name debian -and -not -name install -and -not -name '.'`; do
cp -Rl $i $LAZDEBDIR/usr/$LAZTARGET/lazarus
done done
rm $LAZDEBDIR/usr/share/lazarus/lcl/COPYING rm $LAZDEBDIR/usr/$LAZTARGET/lazarus/lcl/COPYING
rm $LAZDEBDIR/usr/share/lazarus/COPYING.GPL rm $LAZDEBDIR/usr/$LAZTARGET/lazarus/COPYING.GPL
rm $LAZDEBDIR/usr/share/lazarus/COPYING.LGPL rm $LAZDEBDIR/usr/$LAZTARGET/lazarus/COPYING.LGPL
rm $LAZDEBDIR/usr/share/lazarus/COPYING.modifiedLGPL rm $LAZDEBDIR/usr/$LAZTARGET/lazarus/COPYING.modifiedLGPL
rm $LAZDEBDIR/usr/share/lazarus/COPYING rm $LAZDEBDIR/usr/$LAZTARGET/lazarus/COPYING
cd $LAZDEBDIR/usr/share/lazarus if [ "$LAZTARGET" = "share" ]; then
mv lazarus ../../lib/lazarus cd $LAZDEBDIR/usr/share/lazarus
mv startlazarus ../../lib/lazarus mv lazarus ../../lib/lazarus
mv tools/svn2revisioninc ../../lib/lazarus/tools/svn2revisioninc mv startlazarus ../../lib/lazarus
for i in `find -type d -name 'lib' -or -name 'units'`; do mv tools/svn2revisioninc ../../lib/lazarus/tools/svn2revisioninc
d=`dirname $i` for i in `find -type d -name 'lib' -or -name 'units'`; do
mkdir -p ../../lib/lazarus/$d d=`dirname $i`
mv $i ../../lib/lazarus/$d mkdir -p ../../lib/lazarus/$d
done mv $i ../../lib/lazarus/$d
done
fi

7
debian/rules vendored Normal file → Executable file
View File

@ -26,7 +26,7 @@ build-stamp: configure-stamp
dh_testdir dh_testdir
# Add here commands to compile the package. # Add here commands to compile the package.
$(MAKE) $(MAKE) USESVN2REVISIONINC=0
#/usr/bin/docbook-to-man debian/lazarus.sgml > lazarus.1 #/usr/bin/docbook-to-man debian/lazarus.sgml > lazarus.1
touch build-stamp touch build-stamp
@ -50,7 +50,6 @@ install: build
# Add here commands to install the package into debian/lazarus. # Add here commands to install the package into debian/lazarus.
# copy lazarus to /usr/share # copy lazarus to /usr/share
install -d $(LAZDEBDIR)/usr/share/lazarus
install -d $(LAZDEBDIR)/usr/lib/lazarus install -d $(LAZDEBDIR)/usr/lib/lazarus
install -d $(LAZDEBDIR)/usr/bin install -d $(LAZDEBDIR)/usr/bin
@ -58,12 +57,12 @@ install: build
# copy icons and menu entries for the GNOME menu # copy icons and menu entries for the GNOME menu
install -d $(LAZDEBDIR)/usr/share/pixmaps install -d $(LAZDEBDIR)/usr/share/pixmaps
install -d $(LAZDEBDIR)/usr/share/gnome/apps/Development install -d $(LAZDEBDIR)/usr/share/applications
install -d $(LAZDEBDIR)/usr/bin install -d $(LAZDEBDIR)/usr/bin
convert -geometry 32x32 $(CURDIR)/images/ide_icon48x48.png $(LAZDEBDIR)/usr/share/pixmaps/lazarus.xpm convert -geometry 32x32 $(CURDIR)/images/ide_icon48x48.png $(LAZDEBDIR)/usr/share/pixmaps/lazarus.xpm
chmod 644 $(LAZDEBDIR)/usr/share/pixmaps/lazarus.xpm chmod 644 $(LAZDEBDIR)/usr/share/pixmaps/lazarus.xpm
install -m 644 $(CURDIR)/install/lazarus.desktop $(LAZDEBDIR)/usr/share/gnome/apps/Development/lazarus.desktop install -m 644 $(CURDIR)/install/lazarus.desktop $(LAZDEBDIR)/usr/share/applications/lazarus.desktop
# Build architecture-independent files here. # Build architecture-independent files here.
binary-indep: build install binary-indep: build install

0
docs/xml/multi_makeskel.pl Normal file → Executable file
View File

View File

@ -1,12 +1,12 @@
[Desktop Entry] [Desktop Entry]
Name=Lazarus Name=Lazarus
Comment=Lazarus IDE Comment=Lazarus IDE
Exec=startlazarus %f Exec=/usr/lib/lazarus/startlazarus %f
Terminal=0 Terminal=false
Type=Application Type=Application
Icon=lazarus.png Icon=lazarus.xpm
Encoding=UTF-8 Encoding=UTF-8
Categories=IDE;Development;X-Red-Hat-Base;Application; Categories=Application;IDE;Development;Programming;
StartupWMClass=Lazarus StartupWMClass=Lazarus
MimeType=text/x-pascal; MimeType=text/x-pascal;

0
tools/find_non_cvs_files.pl Normal file → Executable file
View File