From defe74c9cba07c321ad2869d8f6872e64a167324 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 2 May 2012 00:01:22 +0000 Subject: Wed May 2 00:01:22 UTC 2012 --- community-testing/doublecmd/PKGBUILD | 56 ++++++++++++ community-testing/doublecmd/doublecmd.install | 34 ++++++++ community-testing/i3lock/PKGBUILD | 33 +++++++ community-testing/lazarus/ChangeLog | 9 ++ community-testing/lazarus/PKGBUILD | 119 ++++++++++++++++++++++++++ community-testing/lazarus/lazarus-ide.install | 34 ++++++++ community-testing/open-vm-tools/PKGBUILD | 6 +- community-testing/open-vm-tools/vmware-guestd | 8 +- community-testing/qingy/PKGBUILD | 36 ++++++++ community-testing/qingy/qingy.install | 18 ++++ community-testing/qingy/qingy.logrotate | 9 ++ community-testing/qt4pas/PKGBUILD | 35 ++++++++ 12 files changed, 390 insertions(+), 7 deletions(-) create mode 100644 community-testing/doublecmd/PKGBUILD create mode 100644 community-testing/doublecmd/doublecmd.install create mode 100644 community-testing/i3lock/PKGBUILD create mode 100644 community-testing/lazarus/ChangeLog create mode 100644 community-testing/lazarus/PKGBUILD create mode 100644 community-testing/lazarus/lazarus-ide.install create mode 100644 community-testing/qingy/PKGBUILD create mode 100644 community-testing/qingy/qingy.install create mode 100644 community-testing/qingy/qingy.logrotate create mode 100644 community-testing/qt4pas/PKGBUILD (limited to 'community-testing') diff --git a/community-testing/doublecmd/PKGBUILD b/community-testing/doublecmd/PKGBUILD new file mode 100644 index 000000000..876006ea8 --- /dev/null +++ b/community-testing/doublecmd/PKGBUILD @@ -0,0 +1,56 @@ +# $Id: PKGBUILD 70139 2012-04-30 15:37:26Z idevolder $ +# Maintainer: BlackIkeEagle +# Contributor: (sirocco AT ngs.ru) + +pkgbase=doublecmd +pkgname=('doublecmd-gtk2' 'doublecmd-qt') +pkgver=0.5.4 +_helpver=0.5.1 +pkgrel=2 +url="http://doublecmd.sourceforge.net/" +arch=('i686' 'x86_64') +license=('GPL') +install="$pkgbase.install" +provides=("$pkgbase") +makedepends=('lazarus' 'qt4pas' 'gtk2') +optdepends=('lua: scripting' 'p7zip: support for 7zip archives' 'libunrar: support for rar archives') +source=("http://downloads.sourceforge.net/project/$pkgbase/Double%20Commander%20Source/$pkgbase-$pkgver-src.tar.gz" + "http://downloads.sourceforge.net/project/$pkgbase/Double%20Commander%20Source/$pkgbase-help-$_helpver-src.tar.gz" +) +sha256sums=('480b83279adeba007ad5c54f455733fae3d9c9ee61762e6b5a63e2e67b1cd7b7' + 'd9f518e05e089b71aaa31c7d4af8177e77594a02be2c316e85e061e63b4c03e5') + +build() { + cp -a $pkgbase-$pkgver $pkgbase-gtk + cp -a $pkgbase-$pkgver $pkgbase-qt + + cd "$srcdir/$pkgbase-gtk" + ./build.sh beta gtk2 + + cd "$srcdir/$pkgbase-qt" + ./build.sh beta qt +} + +package_doublecmd-gtk2() { + pkgdesc="twin-panel (commander-style) file manager (GTK)" + depends=('gtk2') + cd "$srcdir/$pkgbase-gtk" + sed -e 's/LIB_SUFFIX=.*/LIB_SUFFIX=/g' -i ./install/linux/install.sh + ./install/linux/install.sh --install-prefix="$pkgdir" + + # install doc + cd "$srcdir/$pkgbase-help-$_helpver" + cp -a * "$pkgdir/usr/share/$pkgbase/doc/" +} + +package_doublecmd-qt() { + pkgdesc="twin-panel (commander-style) file manager (QT)" + depends=('qt4pas') + cd "$srcdir/$pkgbase-qt" + sed -e 's/LIB_SUFFIX=.*/LIB_SUFFIX=/g' -i ./install/linux/install.sh + ./install/linux/install.sh --install-prefix="$pkgdir" + + # install doc + cd "$srcdir/$pkgbase-help-$_helpver" + cp -a * "$pkgdir/usr/share/$pkgbase/doc/" +} diff --git a/community-testing/doublecmd/doublecmd.install b/community-testing/doublecmd/doublecmd.install new file mode 100644 index 000000000..40d56528f --- /dev/null +++ b/community-testing/doublecmd/doublecmd.install @@ -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 +} diff --git a/community-testing/i3lock/PKGBUILD b/community-testing/i3lock/PKGBUILD new file mode 100644 index 000000000..8a422ad18 --- /dev/null +++ b/community-testing/i3lock/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 70151 2012-04-30 19:56:29Z ttopper $ +# Maintainer: Thorsten Töpper + +pkgname=i3lock +pkgver=2.4 +pkgrel=2 +pkgdesc="An improved screenlocker based upon XCB and PAM" +arch=('i686' 'x86_64') +url="http://i3wm.org/i3lock/" +license=('MIT') +groups=("i3") +depends=('xcb-util-image' 'xcb-util-keysyms' 'pam' 'libev' 'libx11' 'cairo') +options=('docs') +source=("http://i3wm.org/i3lock/$pkgname-$pkgver.tar.bz2") +md5sums=('728e2654d886ef97449708f0135e9fa5') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + make + gzip i3lock.1 +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + install -Dm644 i3lock.1.gz ${pkgdir}/usr/share/man/man1/i3lock.1.gz + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + make clean +} + +# vim:set ts=2 sw=2 et: + diff --git a/community-testing/lazarus/ChangeLog b/community-testing/lazarus/ChangeLog new file mode 100644 index 000000000..0a843b0ec --- /dev/null +++ b/community-testing/lazarus/ChangeLog @@ -0,0 +1,9 @@ +2012-04-30 BlackIkeEagle + * split pkgbuild + * lazarus (can be used for compiling) + * lazarus-qt (qt ide) + * lazarus-gtk (gtk ide) + +2008-01-21 JJDaNiMoTh + + * PKGBUILD: moved man pages to /usr/share diff --git a/community-testing/lazarus/PKGBUILD b/community-testing/lazarus/PKGBUILD new file mode 100644 index 000000000..4695ff728 --- /dev/null +++ b/community-testing/lazarus/PKGBUILD @@ -0,0 +1,119 @@ +# $Id: PKGBUILD 70131 2012-04-30 09:46:32Z idevolder $ +# Maintainer: Sergej Pupykin +# Contributor: Jens Adam (byte/jra) +# Contributor: BlackIkeEagle + +pkgbase=lazarus +pkgname=('lazarus' 'lazarus-gtk2' 'lazarus-qt') +pkgver=0.9.30.4 +pkgrel=2 +url='http://www.lazarus.freepascal.org/' +license=('GPL2' 'MPL' 'custom:LGPL') +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$pkgver/lazarus-$pkgver-src.tar.bz2) +md5sums=('ebd40cdfdfc4b66d1ced7a0d48d6da84') + +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' + ) + + 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="*.compiled" \ + --exclude="killme*" --exclude=".gdb_hist*" \ + --exclude="debian" --exclude="COPYING*" \ + --exclude="*.app" --exclude="Makefile*" \ + --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 + rm -r $pkgdir/usr/lib/lazarus/install + + # license files: /usr/lib/lazarus/COPYING* + install -D -m644 COPYING.modifiedLGPL.txt $pkgdir/usr/share/licenses/$pkgbase/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 +} + +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 +} +# vim:set ts=2 sts=2 sw=2 et: diff --git a/community-testing/lazarus/lazarus-ide.install b/community-testing/lazarus/lazarus-ide.install new file mode 100644 index 000000000..40d56528f --- /dev/null +++ b/community-testing/lazarus/lazarus-ide.install @@ -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 +} diff --git a/community-testing/open-vm-tools/PKGBUILD b/community-testing/open-vm-tools/PKGBUILD index 7948a6b23..3aec1baa0 100644 --- a/community-testing/open-vm-tools/PKGBUILD +++ b/community-testing/open-vm-tools/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 70004 2012-04-28 03:49:34Z ebelanger $ +# $Id: PKGBUILD 70159 2012-04-30 23:16:41Z ebelanger $ # Maintainer: Sergej Pupykin # Contributor: Krzysztof Raczkowski pkgname=open-vm-tools pkgver=2012.03.13 _pkgsubver=651368 -pkgrel=3 +pkgrel=4 pkgdesc="The Open Virtual Machine Tools (open-vm-tools) are the open source implementation of VMware Tools" arch=('i686' 'x86_64') url="http://open-vm-tools.sourceforge.net/" @@ -31,7 +31,7 @@ md5sums=('a664206443d5de53f5f8ee8d5fe6c2d7' '79b0a14d86191fee70a4639da8bd7785' '67cb83a9e5a4dd016c1a1da2863ca36d' 'b55d15e2c4be396aad709aeca91033d3' - '73cc1a2665b0dd62427733d62ead8b9a' + '1b9ae908fce4c623269f100ee9bdfdef' '75a25d83417e683957321f97a00f8465') build() { diff --git a/community-testing/open-vm-tools/vmware-guestd b/community-testing/open-vm-tools/vmware-guestd index ac80c0385..f8ea34fc0 100644 --- a/community-testing/open-vm-tools/vmware-guestd +++ b/community-testing/open-vm-tools/vmware-guestd @@ -1,6 +1,6 @@ #%PAM-1.0 -auth sufficient /lib/security/pam_unix2.so shadow nullok -auth required /lib/security/pam_unix_auth.so shadow nullok -account sufficient /lib/security/pam_unix2.so -account required /lib/security/pam_unix_acct.so +auth sufficient pam_unix2.so shadow nullok +auth required pam_unix_auth.so shadow nullok +account sufficient pam_unix2.so +account required pam_unix_acct.so diff --git a/community-testing/qingy/PKGBUILD b/community-testing/qingy/PKGBUILD new file mode 100644 index 000000000..eede5ca9d --- /dev/null +++ b/community-testing/qingy/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 70157 2012-04-30 23:01:40Z ebelanger $ +# Maintainer: Eric Bélanger +# Contributor: Jaroslav Lichtblau + +pkgname=qingy +pkgver=1.0.0 +pkgrel=4 +pkgdesc="A DirectFB getty replacement" +arch=('i686' 'x86_64') +url="http://qingy.sourceforge.net/" +license=('GPL') +depends=('directfb' 'openssl' 'libxss') +makedepends=('emacs') +backup=('etc/qingy/settings' 'etc/qingy/welcomes') +options=('!libtool') +install=qingy.install +source=(http://downloads.sourceforge.net/sourceforge/qingy/${pkgname}-${pkgver}.tar.bz2 \ + qingy.logrotate) +md5sums=('1e0912655e240adfd0ce5ced30bbc685' + 'a9bdfd0ac9f29380eafa97a4a056789d') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i 's|/lib/security/||' media/pam/default/qingy + XFREE=/usr/bin/Xorg XINIT=/usr/bin/xinit \ + ./configure --prefix=/usr --sbindir=/sbin --sysconfdir=/etc \ + --disable-optimizations --enable-pam \ + --disable-static-build --enable-gpm-lock --enable-emacs + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -D -m644 "${srcdir}/qingy.logrotate" "${pkgdir}/etc/logrotate.d/qingy" +} diff --git a/community-testing/qingy/qingy.install b/community-testing/qingy/qingy.install new file mode 100644 index 000000000..5cf234b72 --- /dev/null +++ b/community-testing/qingy/qingy.install @@ -0,0 +1,18 @@ +infodir=usr/share/info +filelist=(qingy.info.gz) + +post_install() { + for file in ${filelist[@]}; do + install-info $infodir/$file $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install +} + +pre_remove() { + for file in ${filelist[@]}; do + install-info --delete $infodir/$file $infodir/dir 2> /dev/null + done +} diff --git a/community-testing/qingy/qingy.logrotate b/community-testing/qingy/qingy.logrotate new file mode 100644 index 000000000..e16fb8d2a --- /dev/null +++ b/community-testing/qingy/qingy.logrotate @@ -0,0 +1,9 @@ +/var/log/qingy.log { + compress + rotate 1 + size=+1024k + notifempty + missingok + copytruncate + noolddir +} diff --git a/community-testing/qt4pas/PKGBUILD b/community-testing/qt4pas/PKGBUILD new file mode 100644 index 000000000..5cc5f9946 --- /dev/null +++ b/community-testing/qt4pas/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 70124 2012-04-30 08:20:40Z idevolder $ +# Maintainer: BlackIkeEagle +# Contributor: Fabien Wang + +pkgname=qt4pas +pkgver=2.5 +pkgrel=1 +pkgdesc="Free Pascal Qt4 Binding Library" +arch=('i686' 'x86_64') +url="http://users.telenet.be/Jan.Van.hijfte/qtforfpc/fpcqt4.html" +license=('LGPL') +depends=('qtwebkit') +source=("http://users.telenet.be/Jan.Van.hijfte/qtforfpc/V2.5/qt4pas-V2.5_Qt4.5.3.tar.gz") +md5sums=('8249bc17e4167e077d22c7f5fb118bb2') + +build() { + cd "$srcdir/qt4pas-V2.5_Qt4.5.3/" + + sed -ie "s:target\.path = :target\.path = $pkgdir:g" Qt4Pas.pro + + qmake -query + qmake + make +} + +package() { + cd "$srcdir/qt4pas-V2.5_Qt4.5.3/" + make install + + pushd "$pkgdir/usr/lib" + for intflink in 'libqt4intf.so' 'libqt4intf.so.5' 'libqt4intf.so.5.2' 'libqt4intf.so.5.2.1' 'libqt4intf.so.5.2.5'; do + ln -s libQt4Pas.so.5.2.5 $intflink + done + popd +} -- cgit v1.2.3-54-g00ecf