[arch-commits] Commit in lazarus/repos (14 files)
Sergej Pupykin
spupykin at archlinux.org
Thu Apr 23 17:56:05 UTC 2015
Date: Thursday, April 23, 2015 @ 19:56:05
Author: spupykin
Revision: 132066
archrelease: copy trunk to community-i686, community-x86_64
Added:
lazarus/repos/community-i686/ChangeLog
(from rev 132065, lazarus/trunk/ChangeLog)
lazarus/repos/community-i686/PKGBUILD
(from rev 132065, lazarus/trunk/PKGBUILD)
lazarus/repos/community-i686/lazarus-ide.install
(from rev 132065, lazarus/trunk/lazarus-ide.install)
lazarus/repos/community-x86_64/ChangeLog
(from rev 132065, lazarus/trunk/ChangeLog)
lazarus/repos/community-x86_64/PKGBUILD
(from rev 132065, lazarus/trunk/PKGBUILD)
lazarus/repos/community-x86_64/lazarus-ide.install
(from rev 132065, lazarus/trunk/lazarus-ide.install)
Deleted:
lazarus/repos/community-i686/ChangeLog
lazarus/repos/community-i686/PKGBUILD
lazarus/repos/community-i686/lazarus-ide.install
lazarus/repos/community-i686/lazcontrols2.diff
lazarus/repos/community-x86_64/ChangeLog
lazarus/repos/community-x86_64/PKGBUILD
lazarus/repos/community-x86_64/lazarus-ide.install
lazarus/repos/community-x86_64/lazcontrols2.diff
--------------------------------------+
/ChangeLog | 36 ++++
/PKGBUILD | 262 +++++++++++++++++++++++++++++++++
/lazarus-ide.install | 68 ++++++++
community-i686/ChangeLog | 18 --
community-i686/PKGBUILD | 130 ----------------
community-i686/lazarus-ide.install | 34 ----
community-i686/lazcontrols2.diff | 46 -----
community-x86_64/ChangeLog | 18 --
community-x86_64/PKGBUILD | 130 ----------------
community-x86_64/lazarus-ide.install | 34 ----
community-x86_64/lazcontrols2.diff | 46 -----
11 files changed, 366 insertions(+), 456 deletions(-)
Deleted: community-i686/ChangeLog
===================================================================
--- community-i686/ChangeLog 2015-04-23 17:55:41 UTC (rev 132065)
+++ community-i686/ChangeLog 2015-04-23 17:56:05 UTC (rev 132066)
@@ -1,18 +0,0 @@
-2012-05-15 BlackIkeEagle
- * fix lazcontrols failure
- see: http://doublecmd.sourceforge.net/mantisbt/view.php?id=347
- * add compiled files again
-
-2012-05-08 BlackIkeEagle
- * fix FS#29807
- * should not have removed Makefiles
-
-2012-04-30 BlackIkeEagle
- * split pkgbuild
- * lazarus (can be used for compiling)
- * lazarus-qt (qt ide)
- * lazarus-gtk (gtk ide)
-
-2008-01-21 JJDaNiMoTh <jjdanimoth.aur at gmail.com>
-
- * PKGBUILD: moved man pages to /usr/share
Copied: lazarus/repos/community-i686/ChangeLog (from rev 132065, lazarus/trunk/ChangeLog)
===================================================================
--- community-i686/ChangeLog (rev 0)
+++ community-i686/ChangeLog 2015-04-23 17:56:05 UTC (rev 132066)
@@ -0,0 +1,18 @@
+2012-05-15 BlackIkeEagle
+ * fix lazcontrols failure
+ see: http://doublecmd.sourceforge.net/mantisbt/view.php?id=347
+ * add compiled files again
+
+2012-05-08 BlackIkeEagle
+ * fix FS#29807
+ * should not have removed Makefiles
+
+2012-04-30 BlackIkeEagle
+ * split pkgbuild
+ * lazarus (can be used for compiling)
+ * lazarus-qt (qt ide)
+ * lazarus-gtk (gtk ide)
+
+2008-01-21 JJDaNiMoTh <jjdanimoth.aur at gmail.com>
+
+ * PKGBUILD: moved man pages to /usr/share
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2015-04-23 17:55:41 UTC (rev 132065)
+++ community-i686/PKGBUILD 2015-04-23 17:56:05 UTC (rev 132066)
@@ -1,130 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Jens Adam (byte/jra) <j_adam at web.de>
-# Contributor: BlackIkeEagle <ike DOT devolder AT gmail DOT com>
-
-pkgbase=lazarus
-pkgname=('lazarus' 'lazarus-gtk2' 'lazarus-qt')
-pkgver=1.4.0
-_basever=1.4
-_pkgsubver=0
-pkgrel=1
-url='http://www.lazarus.freepascal.org/'
-license=('GPL2' 'MPL' 'custom:modifiedLGPL')
-arch=('i686' 'x86_64')
-makedepends=('fpc' 'fpc-src' 'gtk2' 'qt4pas' 'rsync')
-options=('!emptydirs' '!makeflags')
-source=("http://downloads.sourceforge.net/project/lazarus/Lazarus%20Zip%20_%20GZip/Lazarus%20${_basever}/lazarus-$pkgver-${_pkgsubver}.tar.gz")
-md5sums=('479c64ef40a327142f56e9378b7e8612')
-
-build() {
- cd $srcdir/${pkgbase}
-
- # build gtk2 ide
- make FPC=/usr/bin/fpc LCL_PLATFORM=gtk2 clean bigide
- # move gtk binaries
- mv lazarus lazarus-gtk2
- mv startlazarus startlazarus-gtk2
-
- # build qt ide
- make FPC=/usr/bin/fpc LCL_PLATFORM=qt bigide
- # move qt binaries
- mv lazarus lazarus-qt
- mv startlazarus startlazarus-qt
-}
-
-package_lazarus() {
- pkgdesc='Delphi-like IDE for FreePascal common files'
- depends=('fpc' 'fpc-src')
- optdepends=(
- 'perl: to run some scirpts in the tools directory'
- 'gtk2: to compile gtk2 apps'
- 'qt4pas: to compile qt apps and use help viewer'
- )
-
- cd $srcdir/${pkgbase}
-
- # skip the 'make install' mess completely and do everything manually
- mkdir -p $pkgdir/usr/lib/lazarus $pkgdir/usr/bin $pkgdir/usr/share/man/man1 $pkgdir/usr/share/doc
- rsync -a \
- --exclude="CVS" --exclude=".cvsignore" \
- --exclude="*.ppw" --exclude="*.ppl" \
- --exclude="*.ow" --exclude="*.a"\
- --exclude="*.rst" --exclude=".#*" \
- --exclude="*.~*" --exclude="*.bak" \
- --exclude="*.orig" --exclude="*.rej" \
- --exclude=".xvpics" \
- --exclude="killme*" --exclude=".gdb_hist*" \
- --exclude="debian" --exclude="COPYING*" \
- --exclude="*.app" --exclude="tools/install" \
- . "$pkgdir"/usr/lib/lazarus
-
- #remove some stuff, not needed or for in other package
- pushd $pkgdir/usr/lib/lazarus
- rm lazarus-*
- rm startlazarus-*
- popd
-
- ln -s /usr/lib/lazarus/lazbuild $pkgdir/usr/bin/lazbuild
- cp -R install/man/man1/* $pkgdir/usr/share/man/man1/
- mv $pkgdir/usr/lib/lazarus/docs $pkgdir/usr/share/doc/lazarus
- mkdir -p $pkgdir/usr/lib/lazarus/docs
- ln -s /usr/share/doc/lazarus/chm $pkgdir/usr/lib/lazarus/docs/html
-
- rm -r $pkgdir/usr/lib/lazarus/install
-
- # license files: /usr/lib/lazarus/COPYING*
- install -D -m644 COPYING.modifiedLGPL.txt $pkgdir/usr/share/licenses/$pkgname/COPYING.modifiedLGPL
-}
-
-package_lazarus-gtk2() {
- pkgdesc='Delphi-like IDE for FreePascal gtk2 version'
- depends=('lazarus' 'desktop-file-utils' 'gtk2')
- conflicts=('lazarus-qt')
- install='lazarus-ide.install'
-
- cd $srcdir/${pkgbase}
-
- # install gtk binaries
- install -Dm755 lazarus-gtk2 $pkgdir/usr/lib/lazarus/lazarus
- install -Dm755 startlazarus-gtk2 $pkgdir/usr/lib/lazarus/startlazarus
- install -dm755 $pkgdir/usr/bin
- ln -s /usr/lib/lazarus/lazarus $pkgdir/usr/bin/lazarus
- ln -s /usr/lib/lazarus/startlazarus $pkgdir/usr/bin/startlazarus
-
- # make 'desktop-file-validate' happy and fix missing .png icon
- sed -e 's|\(Categories\).*|\1=IDE;Development;|' \
- -e 's|\.png|\.xpm|' -i install/lazarus.desktop
- install -Dm644 install/lazarus.desktop $pkgdir/usr/share/applications/lazarus.desktop
- install -Dm644 images/ide_icon48x48.png $pkgdir/usr/share/pixmaps/lazarus.png
-
- # license files: /usr/lib/lazarus/COPYING*
- install -D -m644 COPYING.modifiedLGPL.txt $pkgdir/usr/share/licenses/$pkgname/COPYING.modifiedLGPL
-}
-
-package_lazarus-qt() {
- pkgdesc='Delphi-like IDE for FreePascal qt version'
- depends=('lazarus' 'qt4pas')
- conflicts=('lazarus-gtk2')
- install='lazarus-ide.install'
-
- cd $srcdir/${pkgbase}
-
- # install qt binaries
- install -Dm755 lazarus-qt $pkgdir/usr/lib/lazarus/lazarus
- install -Dm755 startlazarus-qt $pkgdir/usr/lib/lazarus/startlazarus
- install -dm755 $pkgdir/usr/bin
- ln -s /usr/lib/lazarus/lazarus $pkgdir/usr/bin/lazarus
- ln -s /usr/lib/lazarus/startlazarus $pkgdir/usr/bin/startlazarus
-
- # make 'desktop-file-validate' happy and fix missing .png icon
- sed -e 's|\(Categories\).*|\1=IDE;Development;|' \
- -e 's|\.png|\.xpm|' -i install/lazarus.desktop
- install -Dm644 install/lazarus.desktop $pkgdir/usr/share/applications/lazarus.desktop
- install -Dm644 images/ide_icon48x48.png $pkgdir/usr/share/pixmaps/lazarus.png
-
- # license files: /usr/lib/lazarus/COPYING*
- install -D -m644 COPYING.modifiedLGPL.txt $pkgdir/usr/share/licenses/$pkgname/COPYING.modifiedLGPL
-}
-
-# vim:set ts=2 sts=2 sw=2 et:
Copied: lazarus/repos/community-i686/PKGBUILD (from rev 132065, lazarus/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-04-23 17:56:05 UTC (rev 132066)
@@ -0,0 +1,131 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Jens Adam (byte/jra) <j_adam at web.de>
+# Contributor: BlackIkeEagle <ike DOT devolder AT gmail DOT com>
+
+pkgbase=lazarus
+pkgname=('lazarus' 'lazarus-gtk2' 'lazarus-qt')
+pkgver=1.4.0
+_basever=1.4
+_pkgsubver=0
+pkgrel=2
+url='http://www.lazarus.freepascal.org/'
+license=('GPL2' 'MPL' 'custom:modifiedLGPL')
+arch=('i686' 'x86_64')
+makedepends=('fpc' 'fpc-src' 'gtk2' 'qt4pas' 'rsync')
+options=('!emptydirs' '!makeflags')
+source=("http://downloads.sourceforge.net/project/lazarus/Lazarus%20Zip%20_%20GZip/Lazarus%20${_basever}/lazarus-$pkgver-${_pkgsubver}.tar.gz")
+md5sums=('479c64ef40a327142f56e9378b7e8612')
+
+build() {
+ cd $srcdir/${pkgbase}
+
+ # build gtk2 ide
+ make FPC=/usr/bin/fpc LCL_PLATFORM=gtk2 clean bigide
+ # move gtk binaries
+ mv lazarus lazarus-gtk2
+ mv startlazarus startlazarus-gtk2
+
+ # build qt ide
+ make FPC=/usr/bin/fpc LCL_PLATFORM=qt bigide
+ # move qt binaries
+ mv lazarus lazarus-qt
+ mv startlazarus startlazarus-qt
+}
+
+package_lazarus() {
+ pkgdesc='Delphi-like IDE for FreePascal common files'
+ depends=('fpc' 'fpc-src')
+ optdepends=(
+ 'perl: to run some scirpts in the tools directory'
+ 'gtk2: to compile gtk2 apps'
+ 'qt4pas: to compile qt apps and use help viewer'
+ )
+
+ cd $srcdir/${pkgbase}
+
+ # skip the 'make install' mess completely and do everything manually
+ mkdir -p $pkgdir/usr/lib/lazarus $pkgdir/usr/bin $pkgdir/usr/share/man/man1 $pkgdir/usr/share/doc
+ rsync -a \
+ --exclude="CVS" --exclude=".cvsignore" \
+ --exclude="*.ppw" --exclude="*.ppl" \
+ --exclude="*.ow" --exclude="*.a"\
+ --exclude="*.rst" --exclude=".#*" \
+ --exclude="*.~*" --exclude="*.bak" \
+ --exclude="*.orig" --exclude="*.rej" \
+ --exclude=".xvpics" \
+ --exclude="killme*" --exclude=".gdb_hist*" \
+ --exclude="debian" --exclude="COPYING*" \
+ --exclude="*.app" --exclude="tools/install" \
+ . "$pkgdir"/usr/lib/lazarus
+
+ #remove some stuff, not needed or for in other package
+ pushd $pkgdir/usr/lib/lazarus
+ rm lazarus-*
+ rm startlazarus-*
+ popd
+
+ ln -s /usr/lib/lazarus/lazbuild $pkgdir/usr/bin/lazbuild
+ cp -R install/man/man1/* $pkgdir/usr/share/man/man1/
+ mv $pkgdir/usr/lib/lazarus/docs $pkgdir/usr/share/doc/lazarus
+ mkdir -p $pkgdir/usr/lib/lazarus/docs
+ ln -s /usr/share/doc/lazarus/chm $pkgdir/usr/lib/lazarus/docs/html
+ ln -s /usr/share/doc/lazarus/lazdoc.css $pkgdir/usr/lib/lazarus/docs/lazdoc.css
+
+ rm -r $pkgdir/usr/lib/lazarus/install
+
+ # license files: /usr/lib/lazarus/COPYING*
+ install -D -m644 COPYING.modifiedLGPL.txt $pkgdir/usr/share/licenses/$pkgname/COPYING.modifiedLGPL
+}
+
+package_lazarus-gtk2() {
+ pkgdesc='Delphi-like IDE for FreePascal gtk2 version'
+ depends=('lazarus' 'desktop-file-utils' 'gtk2')
+ conflicts=('lazarus-qt')
+ install='lazarus-ide.install'
+
+ cd $srcdir/${pkgbase}
+
+ # install gtk binaries
+ install -Dm755 lazarus-gtk2 $pkgdir/usr/lib/lazarus/lazarus
+ install -Dm755 startlazarus-gtk2 $pkgdir/usr/lib/lazarus/startlazarus
+ install -dm755 $pkgdir/usr/bin
+ ln -s /usr/lib/lazarus/lazarus $pkgdir/usr/bin/lazarus
+ ln -s /usr/lib/lazarus/startlazarus $pkgdir/usr/bin/startlazarus
+
+ # make 'desktop-file-validate' happy and fix missing .png icon
+ sed -e 's|\(Categories\).*|\1=IDE;Development;|' \
+ -e 's|\.png|\.xpm|' -i install/lazarus.desktop
+ install -Dm644 install/lazarus.desktop $pkgdir/usr/share/applications/lazarus.desktop
+ install -Dm644 images/ide_icon48x48.png $pkgdir/usr/share/pixmaps/lazarus.png
+
+ # license files: /usr/lib/lazarus/COPYING*
+ install -D -m644 COPYING.modifiedLGPL.txt $pkgdir/usr/share/licenses/$pkgname/COPYING.modifiedLGPL
+}
+
+package_lazarus-qt() {
+ pkgdesc='Delphi-like IDE for FreePascal qt version'
+ depends=('lazarus' 'qt4pas')
+ conflicts=('lazarus-gtk2')
+ install='lazarus-ide.install'
+
+ cd $srcdir/${pkgbase}
+
+ # install qt binaries
+ install -Dm755 lazarus-qt $pkgdir/usr/lib/lazarus/lazarus
+ install -Dm755 startlazarus-qt $pkgdir/usr/lib/lazarus/startlazarus
+ install -dm755 $pkgdir/usr/bin
+ ln -s /usr/lib/lazarus/lazarus $pkgdir/usr/bin/lazarus
+ ln -s /usr/lib/lazarus/startlazarus $pkgdir/usr/bin/startlazarus
+
+ # make 'desktop-file-validate' happy and fix missing .png icon
+ sed -e 's|\(Categories\).*|\1=IDE;Development;|' \
+ -e 's|\.png|\.xpm|' -i install/lazarus.desktop
+ install -Dm644 install/lazarus.desktop $pkgdir/usr/share/applications/lazarus.desktop
+ install -Dm644 images/ide_icon48x48.png $pkgdir/usr/share/pixmaps/lazarus.png
+
+ # license files: /usr/lib/lazarus/COPYING*
+ install -D -m644 COPYING.modifiedLGPL.txt $pkgdir/usr/share/licenses/$pkgname/COPYING.modifiedLGPL
+}
+
+# vim:set ts=2 sts=2 sw=2 et:
Deleted: community-i686/lazarus-ide.install
===================================================================
--- community-i686/lazarus-ide.install 2015-04-23 17:55:41 UTC (rev 132065)
+++ community-i686/lazarus-ide.install 2015-04-23 17:56:05 UTC (rev 132066)
@@ -1,34 +0,0 @@
-update_icons() {
-
- # Setup Menus
- if which update-desktop-database
- then
- update-desktop-database -q /usr/share/applications
- fi
-
- # Setup MIME types
- if which update-mime-database
- then
- update-mime-database /usr/share/mime >/dev/null
- fi
-
- # Setup Icons
- touch -c /usr/share/icons/hicolor
- if which gtk-update-icon-cache
- then
- gtk-update-icon-cache -tq /usr/share/icons/hicolor
- fi
-
-}
-
-post_install() {
- update_icons
-}
-
-post_upgrade() {
- update_icons
-}
-
-post_remove() {
- update_icons
-}
Copied: lazarus/repos/community-i686/lazarus-ide.install (from rev 132065, lazarus/trunk/lazarus-ide.install)
===================================================================
--- community-i686/lazarus-ide.install (rev 0)
+++ community-i686/lazarus-ide.install 2015-04-23 17:56:05 UTC (rev 132066)
@@ -0,0 +1,34 @@
+update_icons() {
+
+ # Setup Menus
+ if which update-desktop-database
+ then
+ update-desktop-database -q /usr/share/applications
+ fi
+
+ # Setup MIME types
+ if which update-mime-database
+ then
+ update-mime-database /usr/share/mime >/dev/null
+ fi
+
+ # Setup Icons
+ touch -c /usr/share/icons/hicolor
+ if which gtk-update-icon-cache
+ then
+ gtk-update-icon-cache -tq /usr/share/icons/hicolor
+ fi
+
+}
+
+post_install() {
+ update_icons
+}
+
+post_upgrade() {
+ update_icons
+}
+
+post_remove() {
+ update_icons
+}
Deleted: community-i686/lazcontrols2.diff
===================================================================
--- community-i686/lazcontrols2.diff 2015-04-23 17:55:41 UTC (rev 132065)
+++ community-i686/lazcontrols2.diff 2015-04-23 17:56:05 UTC (rev 132066)
@@ -1,46 +0,0 @@
-Index: Makefile.fpc
-===================================================================
---- Makefile.fpc (wersja 37097)
-+++ Makefile.fpc (kopia robocza)
-@@ -51,6 +51,6 @@
- -$(DEL) $(COMPILER_UNITTARGETDIR)/lazcontrols$(PPUEXT)
-
- compiled:
-- $(COPY) Makefile.compiled $(COMPILER_UNITTARGETDIR)/LazControls.compiled
-+ $(CPPROG) -f Makefile.compiled $(COMPILER_UNITTARGETDIR)/LazControls.compiled
-
- all: cleartarget $(COMPILER_UNITTARGETDIR) lazcontrols$(PPUEXT) compiled
-Index: Makefile.compiled
-===================================================================
---- Makefile.compiled (wersja 37097)
-+++ Makefile.compiled (kopia robocza)
-@@ -1,5 +1,5 @@
- <?xml version="1.0"?>
- <CONFIG>
- <Makefile Value="True"/>
-- <Params Value=" -MObjFPC -Scghi -O1 -gl -vewnhi -l -Fu../../lcl/units/%(CPU_TARGET)-%(OS_TARGET);../../lcl/units/%(CPU_TARGET)-%(OS_TARGET)/%(LCL_PLATFORM);../../packager/units/%(CPU_TARGET)-%(OS_TARGET);. -Fi. -dLCL -dLCL%(LCL_PLATFORM)"/>
-+ <Params Value=" -MObjFPC -Scghi -O1 -gl -vewnhi -l -Fu../../lcl/units/%(CPU_TARGET)-%(OS_TARGET);../../lcl/units/%(CPU_TARGET)-%(OS_TARGET)/%(LCL_PLATFORM);../../packager/units/%(CPU_TARGET)-%(OS_TARGET);.;.;lib/%(CPU_TARGET)-%(OS_TARGET) -Fi. -dLCL -dLCL%(LCL_PLATFORM) lazcontrols.pas"/>
- </CONFIG>
-Index: Makefile
-===================================================================
---- Makefile (wersja 37097)
-+++ Makefile (kopia robocza)
-@@ -2961,5 +2961,5 @@
- cleartarget:
- -$(DEL) $(COMPILER_UNITTARGETDIR)/lazcontrols$(PPUEXT)
- compiled:
-- $(COPY) Makefile.compiled $(COMPILER_UNITTARGETDIR)/LazControls.compiled
-+ $(CPPROG) -f Makefile.compiled $(COMPILER_UNITTARGETDIR)/LazControls.compiled
- all: cleartarget $(COMPILER_UNITTARGETDIR) lazcontrols$(PPUEXT) compiled
-Index: lazcontrols.lpk
-===================================================================
---- lazcontrols.lpk (wersja 37097)
-+++ lazcontrols.lpk (kopia robocza)
-@@ -10,6 +10,7 @@
- <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
- </SearchPaths>
- <Other>
-+ <CustomOptions Value="$(IDEBuildOptions)"/>
- <CompilerPath Value="$(CompPath)"/>
- </Other>
- </CompilerOptions>
Deleted: community-x86_64/ChangeLog
===================================================================
--- community-x86_64/ChangeLog 2015-04-23 17:55:41 UTC (rev 132065)
+++ community-x86_64/ChangeLog 2015-04-23 17:56:05 UTC (rev 132066)
@@ -1,18 +0,0 @@
-2012-05-15 BlackIkeEagle
- * fix lazcontrols failure
- see: http://doublecmd.sourceforge.net/mantisbt/view.php?id=347
- * add compiled files again
-
-2012-05-08 BlackIkeEagle
- * fix FS#29807
- * should not have removed Makefiles
-
-2012-04-30 BlackIkeEagle
- * split pkgbuild
- * lazarus (can be used for compiling)
- * lazarus-qt (qt ide)
- * lazarus-gtk (gtk ide)
-
-2008-01-21 JJDaNiMoTh <jjdanimoth.aur at gmail.com>
-
- * PKGBUILD: moved man pages to /usr/share
Copied: lazarus/repos/community-x86_64/ChangeLog (from rev 132065, lazarus/trunk/ChangeLog)
===================================================================
--- community-x86_64/ChangeLog (rev 0)
+++ community-x86_64/ChangeLog 2015-04-23 17:56:05 UTC (rev 132066)
@@ -0,0 +1,18 @@
+2012-05-15 BlackIkeEagle
+ * fix lazcontrols failure
+ see: http://doublecmd.sourceforge.net/mantisbt/view.php?id=347
+ * add compiled files again
+
+2012-05-08 BlackIkeEagle
+ * fix FS#29807
+ * should not have removed Makefiles
+
+2012-04-30 BlackIkeEagle
+ * split pkgbuild
+ * lazarus (can be used for compiling)
+ * lazarus-qt (qt ide)
+ * lazarus-gtk (gtk ide)
+
+2008-01-21 JJDaNiMoTh <jjdanimoth.aur at gmail.com>
+
+ * PKGBUILD: moved man pages to /usr/share
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2015-04-23 17:55:41 UTC (rev 132065)
+++ community-x86_64/PKGBUILD 2015-04-23 17:56:05 UTC (rev 132066)
@@ -1,130 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Jens Adam (byte/jra) <j_adam at web.de>
-# Contributor: BlackIkeEagle <ike DOT devolder AT gmail DOT com>
-
-pkgbase=lazarus
-pkgname=('lazarus' 'lazarus-gtk2' 'lazarus-qt')
-pkgver=1.4.0
-_basever=1.4
-_pkgsubver=0
-pkgrel=1
-url='http://www.lazarus.freepascal.org/'
-license=('GPL2' 'MPL' 'custom:modifiedLGPL')
-arch=('i686' 'x86_64')
-makedepends=('fpc' 'fpc-src' 'gtk2' 'qt4pas' 'rsync')
-options=('!emptydirs' '!makeflags')
-source=("http://downloads.sourceforge.net/project/lazarus/Lazarus%20Zip%20_%20GZip/Lazarus%20${_basever}/lazarus-$pkgver-${_pkgsubver}.tar.gz")
-md5sums=('479c64ef40a327142f56e9378b7e8612')
-
-build() {
- cd $srcdir/${pkgbase}
-
- # build gtk2 ide
- make FPC=/usr/bin/fpc LCL_PLATFORM=gtk2 clean bigide
- # move gtk binaries
- mv lazarus lazarus-gtk2
- mv startlazarus startlazarus-gtk2
-
- # build qt ide
- make FPC=/usr/bin/fpc LCL_PLATFORM=qt bigide
- # move qt binaries
- mv lazarus lazarus-qt
- mv startlazarus startlazarus-qt
-}
-
-package_lazarus() {
- pkgdesc='Delphi-like IDE for FreePascal common files'
- depends=('fpc' 'fpc-src')
- optdepends=(
- 'perl: to run some scirpts in the tools directory'
- 'gtk2: to compile gtk2 apps'
- 'qt4pas: to compile qt apps and use help viewer'
- )
-
- cd $srcdir/${pkgbase}
-
- # skip the 'make install' mess completely and do everything manually
- mkdir -p $pkgdir/usr/lib/lazarus $pkgdir/usr/bin $pkgdir/usr/share/man/man1 $pkgdir/usr/share/doc
- rsync -a \
- --exclude="CVS" --exclude=".cvsignore" \
- --exclude="*.ppw" --exclude="*.ppl" \
- --exclude="*.ow" --exclude="*.a"\
- --exclude="*.rst" --exclude=".#*" \
- --exclude="*.~*" --exclude="*.bak" \
- --exclude="*.orig" --exclude="*.rej" \
- --exclude=".xvpics" \
- --exclude="killme*" --exclude=".gdb_hist*" \
- --exclude="debian" --exclude="COPYING*" \
- --exclude="*.app" --exclude="tools/install" \
- . "$pkgdir"/usr/lib/lazarus
-
- #remove some stuff, not needed or for in other package
- pushd $pkgdir/usr/lib/lazarus
- rm lazarus-*
- rm startlazarus-*
- popd
-
- ln -s /usr/lib/lazarus/lazbuild $pkgdir/usr/bin/lazbuild
- cp -R install/man/man1/* $pkgdir/usr/share/man/man1/
- mv $pkgdir/usr/lib/lazarus/docs $pkgdir/usr/share/doc/lazarus
- mkdir -p $pkgdir/usr/lib/lazarus/docs
- ln -s /usr/share/doc/lazarus/chm $pkgdir/usr/lib/lazarus/docs/html
-
- rm -r $pkgdir/usr/lib/lazarus/install
-
- # license files: /usr/lib/lazarus/COPYING*
- install -D -m644 COPYING.modifiedLGPL.txt $pkgdir/usr/share/licenses/$pkgname/COPYING.modifiedLGPL
-}
-
-package_lazarus-gtk2() {
- pkgdesc='Delphi-like IDE for FreePascal gtk2 version'
- depends=('lazarus' 'desktop-file-utils' 'gtk2')
- conflicts=('lazarus-qt')
- install='lazarus-ide.install'
-
- cd $srcdir/${pkgbase}
-
- # install gtk binaries
- install -Dm755 lazarus-gtk2 $pkgdir/usr/lib/lazarus/lazarus
- install -Dm755 startlazarus-gtk2 $pkgdir/usr/lib/lazarus/startlazarus
- install -dm755 $pkgdir/usr/bin
- ln -s /usr/lib/lazarus/lazarus $pkgdir/usr/bin/lazarus
- ln -s /usr/lib/lazarus/startlazarus $pkgdir/usr/bin/startlazarus
-
- # make 'desktop-file-validate' happy and fix missing .png icon
- sed -e 's|\(Categories\).*|\1=IDE;Development;|' \
- -e 's|\.png|\.xpm|' -i install/lazarus.desktop
- install -Dm644 install/lazarus.desktop $pkgdir/usr/share/applications/lazarus.desktop
- install -Dm644 images/ide_icon48x48.png $pkgdir/usr/share/pixmaps/lazarus.png
-
- # license files: /usr/lib/lazarus/COPYING*
- install -D -m644 COPYING.modifiedLGPL.txt $pkgdir/usr/share/licenses/$pkgname/COPYING.modifiedLGPL
-}
-
-package_lazarus-qt() {
- pkgdesc='Delphi-like IDE for FreePascal qt version'
- depends=('lazarus' 'qt4pas')
- conflicts=('lazarus-gtk2')
- install='lazarus-ide.install'
-
- cd $srcdir/${pkgbase}
-
- # install qt binaries
- install -Dm755 lazarus-qt $pkgdir/usr/lib/lazarus/lazarus
- install -Dm755 startlazarus-qt $pkgdir/usr/lib/lazarus/startlazarus
- install -dm755 $pkgdir/usr/bin
- ln -s /usr/lib/lazarus/lazarus $pkgdir/usr/bin/lazarus
- ln -s /usr/lib/lazarus/startlazarus $pkgdir/usr/bin/startlazarus
-
- # make 'desktop-file-validate' happy and fix missing .png icon
- sed -e 's|\(Categories\).*|\1=IDE;Development;|' \
- -e 's|\.png|\.xpm|' -i install/lazarus.desktop
- install -Dm644 install/lazarus.desktop $pkgdir/usr/share/applications/lazarus.desktop
- install -Dm644 images/ide_icon48x48.png $pkgdir/usr/share/pixmaps/lazarus.png
-
- # license files: /usr/lib/lazarus/COPYING*
- install -D -m644 COPYING.modifiedLGPL.txt $pkgdir/usr/share/licenses/$pkgname/COPYING.modifiedLGPL
-}
-
-# vim:set ts=2 sts=2 sw=2 et:
Copied: lazarus/repos/community-x86_64/PKGBUILD (from rev 132065, lazarus/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2015-04-23 17:56:05 UTC (rev 132066)
@@ -0,0 +1,131 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Jens Adam (byte/jra) <j_adam at web.de>
+# Contributor: BlackIkeEagle <ike DOT devolder AT gmail DOT com>
+
+pkgbase=lazarus
+pkgname=('lazarus' 'lazarus-gtk2' 'lazarus-qt')
+pkgver=1.4.0
+_basever=1.4
+_pkgsubver=0
+pkgrel=2
+url='http://www.lazarus.freepascal.org/'
+license=('GPL2' 'MPL' 'custom:modifiedLGPL')
+arch=('i686' 'x86_64')
+makedepends=('fpc' 'fpc-src' 'gtk2' 'qt4pas' 'rsync')
+options=('!emptydirs' '!makeflags')
+source=("http://downloads.sourceforge.net/project/lazarus/Lazarus%20Zip%20_%20GZip/Lazarus%20${_basever}/lazarus-$pkgver-${_pkgsubver}.tar.gz")
+md5sums=('479c64ef40a327142f56e9378b7e8612')
+
+build() {
+ cd $srcdir/${pkgbase}
+
+ # build gtk2 ide
+ make FPC=/usr/bin/fpc LCL_PLATFORM=gtk2 clean bigide
+ # move gtk binaries
+ mv lazarus lazarus-gtk2
+ mv startlazarus startlazarus-gtk2
+
+ # build qt ide
+ make FPC=/usr/bin/fpc LCL_PLATFORM=qt bigide
+ # move qt binaries
+ mv lazarus lazarus-qt
+ mv startlazarus startlazarus-qt
+}
+
+package_lazarus() {
+ pkgdesc='Delphi-like IDE for FreePascal common files'
+ depends=('fpc' 'fpc-src')
+ optdepends=(
+ 'perl: to run some scirpts in the tools directory'
+ 'gtk2: to compile gtk2 apps'
+ 'qt4pas: to compile qt apps and use help viewer'
+ )
+
+ cd $srcdir/${pkgbase}
+
+ # skip the 'make install' mess completely and do everything manually
+ mkdir -p $pkgdir/usr/lib/lazarus $pkgdir/usr/bin $pkgdir/usr/share/man/man1 $pkgdir/usr/share/doc
+ rsync -a \
+ --exclude="CVS" --exclude=".cvsignore" \
+ --exclude="*.ppw" --exclude="*.ppl" \
+ --exclude="*.ow" --exclude="*.a"\
+ --exclude="*.rst" --exclude=".#*" \
+ --exclude="*.~*" --exclude="*.bak" \
+ --exclude="*.orig" --exclude="*.rej" \
+ --exclude=".xvpics" \
+ --exclude="killme*" --exclude=".gdb_hist*" \
+ --exclude="debian" --exclude="COPYING*" \
+ --exclude="*.app" --exclude="tools/install" \
+ . "$pkgdir"/usr/lib/lazarus
+
+ #remove some stuff, not needed or for in other package
+ pushd $pkgdir/usr/lib/lazarus
+ rm lazarus-*
+ rm startlazarus-*
+ popd
+
+ ln -s /usr/lib/lazarus/lazbuild $pkgdir/usr/bin/lazbuild
+ cp -R install/man/man1/* $pkgdir/usr/share/man/man1/
+ mv $pkgdir/usr/lib/lazarus/docs $pkgdir/usr/share/doc/lazarus
+ mkdir -p $pkgdir/usr/lib/lazarus/docs
+ ln -s /usr/share/doc/lazarus/chm $pkgdir/usr/lib/lazarus/docs/html
+ ln -s /usr/share/doc/lazarus/lazdoc.css $pkgdir/usr/lib/lazarus/docs/lazdoc.css
+
+ rm -r $pkgdir/usr/lib/lazarus/install
+
+ # license files: /usr/lib/lazarus/COPYING*
+ install -D -m644 COPYING.modifiedLGPL.txt $pkgdir/usr/share/licenses/$pkgname/COPYING.modifiedLGPL
+}
+
+package_lazarus-gtk2() {
+ pkgdesc='Delphi-like IDE for FreePascal gtk2 version'
+ depends=('lazarus' 'desktop-file-utils' 'gtk2')
+ conflicts=('lazarus-qt')
+ install='lazarus-ide.install'
+
+ cd $srcdir/${pkgbase}
+
+ # install gtk binaries
+ install -Dm755 lazarus-gtk2 $pkgdir/usr/lib/lazarus/lazarus
+ install -Dm755 startlazarus-gtk2 $pkgdir/usr/lib/lazarus/startlazarus
+ install -dm755 $pkgdir/usr/bin
+ ln -s /usr/lib/lazarus/lazarus $pkgdir/usr/bin/lazarus
+ ln -s /usr/lib/lazarus/startlazarus $pkgdir/usr/bin/startlazarus
+
+ # make 'desktop-file-validate' happy and fix missing .png icon
+ sed -e 's|\(Categories\).*|\1=IDE;Development;|' \
+ -e 's|\.png|\.xpm|' -i install/lazarus.desktop
+ install -Dm644 install/lazarus.desktop $pkgdir/usr/share/applications/lazarus.desktop
+ install -Dm644 images/ide_icon48x48.png $pkgdir/usr/share/pixmaps/lazarus.png
+
+ # license files: /usr/lib/lazarus/COPYING*
+ install -D -m644 COPYING.modifiedLGPL.txt $pkgdir/usr/share/licenses/$pkgname/COPYING.modifiedLGPL
+}
+
+package_lazarus-qt() {
+ pkgdesc='Delphi-like IDE for FreePascal qt version'
+ depends=('lazarus' 'qt4pas')
+ conflicts=('lazarus-gtk2')
+ install='lazarus-ide.install'
+
+ cd $srcdir/${pkgbase}
+
+ # install qt binaries
+ install -Dm755 lazarus-qt $pkgdir/usr/lib/lazarus/lazarus
+ install -Dm755 startlazarus-qt $pkgdir/usr/lib/lazarus/startlazarus
+ install -dm755 $pkgdir/usr/bin
+ ln -s /usr/lib/lazarus/lazarus $pkgdir/usr/bin/lazarus
+ ln -s /usr/lib/lazarus/startlazarus $pkgdir/usr/bin/startlazarus
+
+ # make 'desktop-file-validate' happy and fix missing .png icon
+ sed -e 's|\(Categories\).*|\1=IDE;Development;|' \
+ -e 's|\.png|\.xpm|' -i install/lazarus.desktop
+ install -Dm644 install/lazarus.desktop $pkgdir/usr/share/applications/lazarus.desktop
+ install -Dm644 images/ide_icon48x48.png $pkgdir/usr/share/pixmaps/lazarus.png
+
+ # license files: /usr/lib/lazarus/COPYING*
+ install -D -m644 COPYING.modifiedLGPL.txt $pkgdir/usr/share/licenses/$pkgname/COPYING.modifiedLGPL
+}
+
+# vim:set ts=2 sts=2 sw=2 et:
Deleted: community-x86_64/lazarus-ide.install
===================================================================
--- community-x86_64/lazarus-ide.install 2015-04-23 17:55:41 UTC (rev 132065)
+++ community-x86_64/lazarus-ide.install 2015-04-23 17:56:05 UTC (rev 132066)
@@ -1,34 +0,0 @@
-update_icons() {
-
- # Setup Menus
- if which update-desktop-database
- then
- update-desktop-database -q /usr/share/applications
- fi
-
- # Setup MIME types
- if which update-mime-database
- then
- update-mime-database /usr/share/mime >/dev/null
- fi
-
- # Setup Icons
- touch -c /usr/share/icons/hicolor
- if which gtk-update-icon-cache
- then
- gtk-update-icon-cache -tq /usr/share/icons/hicolor
- fi
-
-}
-
-post_install() {
- update_icons
-}
-
-post_upgrade() {
- update_icons
-}
-
-post_remove() {
- update_icons
-}
Copied: lazarus/repos/community-x86_64/lazarus-ide.install (from rev 132065, lazarus/trunk/lazarus-ide.install)
===================================================================
--- community-x86_64/lazarus-ide.install (rev 0)
+++ community-x86_64/lazarus-ide.install 2015-04-23 17:56:05 UTC (rev 132066)
@@ -0,0 +1,34 @@
+update_icons() {
+
+ # Setup Menus
+ if which update-desktop-database
+ then
+ update-desktop-database -q /usr/share/applications
+ fi
+
+ # Setup MIME types
+ if which update-mime-database
+ then
+ update-mime-database /usr/share/mime >/dev/null
+ fi
+
+ # Setup Icons
+ touch -c /usr/share/icons/hicolor
+ if which gtk-update-icon-cache
+ then
+ gtk-update-icon-cache -tq /usr/share/icons/hicolor
+ fi
+
+}
+
+post_install() {
+ update_icons
+}
+
+post_upgrade() {
+ update_icons
+}
+
+post_remove() {
+ update_icons
+}
Deleted: community-x86_64/lazcontrols2.diff
===================================================================
--- community-x86_64/lazcontrols2.diff 2015-04-23 17:55:41 UTC (rev 132065)
+++ community-x86_64/lazcontrols2.diff 2015-04-23 17:56:05 UTC (rev 132066)
@@ -1,46 +0,0 @@
-Index: Makefile.fpc
-===================================================================
---- Makefile.fpc (wersja 37097)
-+++ Makefile.fpc (kopia robocza)
-@@ -51,6 +51,6 @@
- -$(DEL) $(COMPILER_UNITTARGETDIR)/lazcontrols$(PPUEXT)
-
- compiled:
-- $(COPY) Makefile.compiled $(COMPILER_UNITTARGETDIR)/LazControls.compiled
-+ $(CPPROG) -f Makefile.compiled $(COMPILER_UNITTARGETDIR)/LazControls.compiled
-
- all: cleartarget $(COMPILER_UNITTARGETDIR) lazcontrols$(PPUEXT) compiled
-Index: Makefile.compiled
-===================================================================
---- Makefile.compiled (wersja 37097)
-+++ Makefile.compiled (kopia robocza)
-@@ -1,5 +1,5 @@
- <?xml version="1.0"?>
- <CONFIG>
- <Makefile Value="True"/>
-- <Params Value=" -MObjFPC -Scghi -O1 -gl -vewnhi -l -Fu../../lcl/units/%(CPU_TARGET)-%(OS_TARGET);../../lcl/units/%(CPU_TARGET)-%(OS_TARGET)/%(LCL_PLATFORM);../../packager/units/%(CPU_TARGET)-%(OS_TARGET);. -Fi. -dLCL -dLCL%(LCL_PLATFORM)"/>
-+ <Params Value=" -MObjFPC -Scghi -O1 -gl -vewnhi -l -Fu../../lcl/units/%(CPU_TARGET)-%(OS_TARGET);../../lcl/units/%(CPU_TARGET)-%(OS_TARGET)/%(LCL_PLATFORM);../../packager/units/%(CPU_TARGET)-%(OS_TARGET);.;.;lib/%(CPU_TARGET)-%(OS_TARGET) -Fi. -dLCL -dLCL%(LCL_PLATFORM) lazcontrols.pas"/>
- </CONFIG>
-Index: Makefile
-===================================================================
---- Makefile (wersja 37097)
-+++ Makefile (kopia robocza)
-@@ -2961,5 +2961,5 @@
- cleartarget:
- -$(DEL) $(COMPILER_UNITTARGETDIR)/lazcontrols$(PPUEXT)
- compiled:
-- $(COPY) Makefile.compiled $(COMPILER_UNITTARGETDIR)/LazControls.compiled
-+ $(CPPROG) -f Makefile.compiled $(COMPILER_UNITTARGETDIR)/LazControls.compiled
- all: cleartarget $(COMPILER_UNITTARGETDIR) lazcontrols$(PPUEXT) compiled
-Index: lazcontrols.lpk
-===================================================================
---- lazcontrols.lpk (wersja 37097)
-+++ lazcontrols.lpk (kopia robocza)
-@@ -10,6 +10,7 @@
- <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
- </SearchPaths>
- <Other>
-+ <CustomOptions Value="$(IDEBuildOptions)"/>
- <CompilerPath Value="$(CompPath)"/>
- </Other>
- </CompilerOptions>
More information about the arch-commits
mailing list