diff options
author | root <root@rshg054.dnsready.net> | 2013-04-20 01:29:42 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-04-20 01:29:42 -0700 |
commit | 1f9776d421ac40faa59f797893033e99e4f919eb (patch) | |
tree | fd7420e8e8d3b090730fcc01a8ff25d13ad09442 /community/gpointing-device-settings | |
parent | 1fedf1f5d5351aefd88268cba7353c79adac9b8a (diff) |
Sat Apr 20 01:28:56 PDT 2013
Diffstat (limited to 'community/gpointing-device-settings')
-rw-r--r-- | community/gpointing-device-settings/PKGBUILD | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/community/gpointing-device-settings/PKGBUILD b/community/gpointing-device-settings/PKGBUILD new file mode 100644 index 000000000..e901f65b6 --- /dev/null +++ b/community/gpointing-device-settings/PKGBUILD @@ -0,0 +1,63 @@ +# $Id: PKGBUILD 88555 2013-04-19 17:24:27Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Thomas Mudrunka <harvie@@email..cz> + +pkgname=gpointing-device-settings +pkgver=1.5.1 +pkgrel=3 +pkgdesc="GUI tool for setting pointing device such as TrackPoint or Touchpad. +Each UI can be written as dynamic loadable module, so a third party can add its own UI. This +will replace GSynaptics." +arch=('i686' 'x86_64') +license=('GPL') +url="http://live.gnome.org/GPointingDeviceSettings" +depends=('gtk2' 'gconf' 'gnome-settings-daemon' 'xorg-xinput') +makedepends=('intltool' 'pkgconfig') +optdepends=('xf86-input-synaptics: Synaptics touchpads' + 'libsynaptics: Synaptics touchpads') +source=("http://keihanna.dl.sourceforge.jp/gsynaptics/45812/${pkgname}-${pkgver}.tar.gz") +md5sums=('1d1491473df8eabca3c15c997a975d7f') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + #WORKAROUND!!! WE SHOULD GET RID OF THIS:########### + echo 'diff --git a/configure.ac b/configure.ac +index 29215e8..728d4c0 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -146,9 +146,9 @@ GENHTML_OPTIONS="--title 'GPointingDeviceSettings Code Coverage'" + + 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 -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)\"\\\"" +' | patch -p1 + + #Magic patch contributed by mattis: + echo '--- a/modules/gnome-settings-daemon-plugins/gsd-pointing-device-plugin.c ++++ b/modules/gnome-settings-daemon-plugins/gsd-pointing-device-plugin.c +@@ -158,6 +158,9 @@ + plugin_class->activate = activate; + plugin_class->deactivate = deactivate; + } ++ ++static void ++gsd_mouse_extension_plugin_class_finalize(GsdMouseExtensionPluginClass *klass); +' | patch -p1 + + ./configure --prefix=/usr --sysconfdir=/etc + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR=${pkgdir} install +} |