gpointing-device-settings 1.5.0-1
http://live.gnome.org/GPointingDeviceSettings
"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
unsupported :: gnome
Maintainer: Harvie
Votes: 64
License: GPL
Last Updated: Mon, 01 Feb 2010 01:49:17 +0000
First Submitted: Sat, 18 Apr 2009 03:09:25 +0000
Dependencies gconf gnome-settings-daemon gtk2 intltool
It's crying for the gnome-settings-daemon package when builds. Anyone knows if it can be done without that? If not, please add it to depends.
just change:
pkgver=1.5.0
and
source=("http://keihanna.dl.sourceforge.jp/gsynaptics/45664/${pkgname}-${pkgver}.tar.gz")
and
md5sums=('58e18d2f73e25525f533db182d168372')
1.5.0 is ready
donvla: oh sorry. i just forget to remove ln -s when i added the --prefix option. actually it's not creating any symlink since file already exists, so there's no pain... i'll fix it in few hours...
Sorry, but do some reading yourself.
pacman is nor allowed to install files to /usr/local. This directory is reserved for the user/admin himself.
However, the configure prefix is /usr, so all files are installed to /usr/ anyway. So you can omit the "ln -s ..." stuff.
It is common sense to keep a PKGBUILD and its build function as clean and simple as possible. So move the desktop entry to a separate file. It's not rocket surgery....
donvla: "What's the sense of "ln -s /usr/local/bin/gpointing-device-settings gpointing-device-settings""
It's arch way to have all binaries (at least linked) in /usr/bin
go read the wiki...
The build function is pretty simple:
"
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
install -D -m 644 ${srcdir}/gnome-gpointing-device-settings.desktop usr/share/applications/gnome-gpointing-device-settings.desktop
}
"
and the gnome-gpointing-device-settings.desktop file:
"
[Desktop Entry]
Name=gpointing-device-settings
Comment=Set your pointing device (such as TrackPoint or Touchpad) preferences
Exec=gpointing-device-settings
Icon=input_devices_settings
Terminal=false
Type=Application
StartupNotify=true
Categories=GNOME;GTK;Settings;HardwareSettings;
"
This PKGBUILD is a mess!
Please correct it or disown it!
What's the sense of "ln -s /usr/local/bin/gpointing-device-settings gpointing-device-settings".
Create a separate desktop file.
bitmap: added "--prefix=/usr --sysconfdir=/etc"
There are a lot of things wrong with this PKGBUILD. I cleaned it up a bit here:
pkgname=gpointing-device-settings
pkgver=1.3.1
pkgrel=6
pkgdesc="Set your pointing device (such as TrackPoint or Touchpad) preferences"
arch=('i686' 'x86_64')
license=('GPL')
url="http://live.gnome.org/GPointingDeviceSettings"
depends=('gtk2' 'gconf' 'intltool')
optdepends=('xf86-input-synaptics: Synaptics touchpads'
'libsynaptics: Synaptics touchpads')
source=("http://keihanna.dl.sourceforge.jp/gsynaptics/38468/${pkgname}-${pkgver}.tar.gz"
gnome-gpointing-device-settings.desktop)
md5sums=('2b0a567739fb565364cdca8dfc72545c'
'cc86969d161e082d69cc08e0c374a0a9')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
cd ${pkgdir}
mkdir -p usr/share/applications
install -m 644 ../gnome-gpointing-device-settings.desktop usr/share/applications/
}
Seperate file gnome-gpointing-device-settings.desktop:
[Desktop Entry]
Encoding=UTF-8
Name=gpointing-device-settings
Comment=Set your pointing device (such as TrackPoint or Touchpad) preferences
Exec=gpointing-device-settings
Icon=input_devices_settings
Terminal=false
Type=Application
StartupNotify=true
Categories=GNOME;GTK;Settings;HardwareSettings;Application;
gabriele.lanaro: oh those ugly invidualistic sourceforge.jp people... ;) should be fixed...
==> Retrieving Sources...
-> Found gpointing-device-settings-1.3.1.tar.gz in build dir
==> Validating source files with md5sums...
gpointing-device-settings-1.3.1.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
Error: Makepkg was unable to build gpointing-device-settings package.
monshin: here you are
Please add intltool to the dependences.
Thanks! It worked this time.
BTW delete downloaded archive from PKGBUILD directory (if using yaourt delete /tmp/yaourt-tmp-USERNAME) before next try.
Sorry i accidentaly deleted last letter of md5 xD
+ now changed PKGBUILD to use multiple mirrors of sourceforge.jp
Thanks. I just tried again, though, and got the same error.
It was wrong download URL. Should be fixed now...
I was just trying to install with yaourt and got this error:
==> Validating source files with md5sums...
gpointing-device-settings-1.3.1.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
Error: Makepkg was unable to build gpointing-device-settings package.
v1.6.0