summaryrefslogtreecommitdiff
path: root/community/gpointing-device-settings
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/gpointing-device-settings
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/gpointing-device-settings')
-rw-r--r--community/gpointing-device-settings/PKGBUILD21
-rw-r--r--community/gpointing-device-settings/fix-build.patch26
2 files changed, 39 insertions, 8 deletions
diff --git a/community/gpointing-device-settings/PKGBUILD b/community/gpointing-device-settings/PKGBUILD
index 774da3337..ed53e7497 100644
--- a/community/gpointing-device-settings/PKGBUILD
+++ b/community/gpointing-device-settings/PKGBUILD
@@ -1,28 +1,33 @@
-# $Id: PKGBUILD 99786 2013-10-30 23:42:41Z allan $
+# $Id: PKGBUILD 102693 2013-12-17 14:10:52Z bgyorgy $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Thomas Mudrunka <harvie@@email..cz>
pkgname=gpointing-device-settings
pkgver=1.5.1
-pkgrel=4
+pkgrel=5
pkgdesc="GUI tool for setting pointing device such as TrackPoint or Touchpad"
arch=('i686' 'x86_64')
license=('GPL')
-url="http://live.gnome.org/GPointingDeviceSettings"
+url="https://wiki.gnome.org/Attic/GPointingDeviceSettings"
depends=('gtk2' 'gconf')
makedepends=('gnome-settings-daemon' 'intltool')
-source=("http://keihanna.dl.sourceforge.jp/gsynaptics/45812/${pkgname}-${pkgver}.tar.gz")
-md5sums=('1d1491473df8eabca3c15c997a975d7f')
+source=("http://sourceforge.jp/frs/redir.php?m=iij&f=/gsynaptics/45812/$pkgname-$pkgver.tar.gz"
+ "fix-build.patch")
+md5sums=('1d1491473df8eabca3c15c997a975d7f'
+ 'cc42b7bcd69fb43ae5bfbe6e1d540713')
-build() {
+prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
- # Enable deprecations
- sed -i -e '/DISABLE_DEPRECATED/d' -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac
+ # Fix build
+ patch -Np1 -i "${srcdir}/fix-build.patch"
# Disable GSD plugin (won't build with GSD 3.8)
sed -i 's/ gnome-settings-daemon-plugins//' modules/Makefile.am
+}
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
autoreconf -fi
./configure --prefix=/usr --sysconfdir=/etc \
--disable-static --disable-schemas-install \
diff --git a/community/gpointing-device-settings/fix-build.patch b/community/gpointing-device-settings/fix-build.patch
new file mode 100644
index 000000000..341d96fc9
--- /dev/null
+++ b/community/gpointing-device-settings/fix-build.patch
@@ -0,0 +1,26 @@
+diff -Naur gpointing-device-settings-1.5.1.orig/configure.ac gpointing-device-settings-1.5.1/configure.ac
+--- gpointing-device-settings-1.5.1.orig/configure.ac 2010-02-05 00:38:20.000000000 +0100
++++ gpointing-device-settings-1.5.1/configure.ac 2013-12-17 15:00:08.394574115 +0100
+@@ -3,10 +3,9 @@
+
+ AC_INIT(gpointing-device-settings, 1.5.1,
+ [http://bugzilla.gnome.org/enter_bug.cgi?product=GPointingDeviceSettings])
+-AM_INIT_AUTOMAKE([1.9 tar-pax])
+-AM_INIT_AUTOMAKE([foreign])
++AM_INIT_AUTOMAKE([1.9 tar-pax foreign])
+ m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADERS(config.h)
+ AC_CONFIG_MACRO_DIR([m4])
+
+ AM_PROG_LIBTOOL
+@@ -146,9 +145,6 @@
+
+ GPDS_CFLAGS="$XINPUT_CFLAGS $GTK_CFLAGS"
+ GPDS_CFLAGS="$GPDS_CFLAGS $GCONF2_CFLAGS"
+-GPDS_CFLAGS="$GPDS_CFLAGS -DGTK_DISABLE_DEPRECATED"
+-GPDS_CFLAGS="$GPDS_CFLAGS -DGDK_DISABLE_DEPRECATED"
+-GPDS_CFLAGS="$GPDS_CFLAGS -DG_DISABLE_DEPRECATED"
+ GPDS_CFLAGS="$GPDS_CFLAGS -DGPDS_MODULEDIR=\\\"\"\$(gpds_moduledir)\"\\\""
+ GPDS_CFLAGS="$GPDS_CFLAGS -DGPDS_DATADIR=\\\"\"\$(gpds_datadir)\"\\\""
+ GPDS_CFLAGS="$GPDS_CFLAGS -DGPDS_UIDIR=\\\"\"\$(gpds_uidir)\"\\\""