[arch-commits] Commit in lxpanel/trunk (2 files)

Bartłomiej Piotrowski bpiotrowski at nymeria.archlinux.org
Sun Jan 27 10:16:24 UTC 2013


    Date: Sunday, January 27, 2013 @ 11:16:24
  Author: bpiotrowski
Revision: 83069

upgpkg: lxpanel 0.5.12-1

- create and mirror source tarball (because upstream doesn't care about releasing such)
- patch autogen.sh to support newer automake

Added:
  lxpanel/trunk/lxpanel-0.5.12-automake-1.13-support.patch
Modified:
  lxpanel/trunk/PKGBUILD

--------------------------------------------+
 PKGBUILD                                   |   20 ++++++++++++++------
 lxpanel-0.5.12-automake-1.13-support.patch |   15 +++++++++++++++
 2 files changed, 29 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-01-27 10:02:41 UTC (rev 83068)
+++ PKGBUILD	2013-01-27 10:16:24 UTC (rev 83069)
@@ -4,23 +4,31 @@
 # Contributor: Juergen Hoetzel <juergen at archlinux.org>
 
 pkgname=lxpanel
-pkgver=0.5.10
-pkgrel=2
+pkgver=0.5.12
+pkgrel=1
 pkgdesc='Lightweight X11 desktop panel for LXDE'
 arch=('i686' 'x86_64')
 license=('GPL2')
 url='http://lxde.org/'
 groups=('lxde')
 depends=('gtk2' 'alsa-lib' 'menu-cache' 'lxmenu-data' 'libwnck')
-makedepends=('wireless_tools')
+makedepends=('docbook-xml' 'docbook-xsl' 'wireless_tools')
 optdepends=('wireless_tools: netstat plugin')
-source=(http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz)
-md5sums=('1bf3cce2a2d01c211f6897c42e8dd0bc')
+source=(ftp://ftp.archlinux.org/other/community/$pkgname/$pkgname-$pkgver.tar.xz
+        lxpanel-0.5.12-automake-1.13-support.patch)
+sha256sums=('c29997c522f138e4beb02fc549c84136fc840a836c1f69b400d90d2d4e91de1b'
+            'a35c786e3cd2977c5cf018e126c7f309b7fc4c15f9b821895e1f6fe25125f68f')
 
 build() {
   cd $srcdir/$pkgname-$pkgver
+ 
+  patch -Np0 -i $srcdir/lxpanel-0.5.12-automake-1.13-support.patch 
+  ./autogen.sh
 
-  CFLAGS+=' -lgmodule-2.0' ./configure --sysconfdir=/etc --prefix=/usr 
+  CFLAGS+=' -lgmodule-2.0' ./configure \
+    --sysconfdir=/etc \
+    --prefix=/usr \
+    --enable-man 
   make
 }
 

Added: lxpanel-0.5.12-automake-1.13-support.patch
===================================================================
--- lxpanel-0.5.12-automake-1.13-support.patch	                        (rev 0)
+++ lxpanel-0.5.12-automake-1.13-support.patch	2013-01-27 10:16:24 UTC (rev 83069)
@@ -0,0 +1,15 @@
+--- autogen.sh.orig	2013-01-27 10:38:55.000000000 +0100
++++ autogen.sh	2013-01-27 10:59:56.897030226 +0100
+@@ -6,9 +6,10 @@
+ 
+ if [ "$AM_INSTALLED_VERSION" != "1.10" \
+     -a "$AM_INSTALLED_VERSION" != "1.11" \
+-    -a "$AM_INSTALLED_VERSION" != "1.12" ];then
++    -a "$AM_INSTALLED_VERSION" != "1.12" \
++	-a "$AM_INSTALLED_VERSION" != "1.13" ];then
+ 	echo
+-	echo "You must have automake 1.10, 1.11, or 1.12 installed to compile lxpanel."
++	echo "You must have automake >=1.10 installed to compile lxpanel."
+ 	echo "Install the appropriate package for your distribution,"
+ 	echo "or get the source tarball at http://ftp.gnu.org/gnu/automake/"
+ 	exit 1




More information about the arch-commits mailing list