You are not logged in.

#1 2007-08-19 23:09:53

ekerazha
Member
Registered: 2007-02-27
Posts: 290

[request] gnome-system-tools & system-tools-backends

gnome-system-tools: http://www.gnome.org/projects/gst/
system-tools-backends: http://system-tools-backends.freedesktop.org/

The package inside "unstable" and the "PKGBUILD" of AUR are obsolete.

gnome-system-tools requires system-tools-backends and...

Right now the System Tools Backends fully support various distros/OS such as: Redhat, Mandrake, SuSE, Fedora, Debian (and derivations like Ubuntu, Linex, Guadalinex...), Gentoo, Slackware, FreeBSD, Solaris, ...

... maybe the next supported distro could be Arch, if Gentoo and Slackware are supported, it should also run on Arch... maybe...

Offline

#2 2007-08-26 19:55:01

tardo
Member
Registered: 2006-07-15
Posts: 526

Re: [request] gnome-system-tools & system-tools-backends

obsolete how?

Offline

#3 2007-09-23 11:19:32

erm67
Member
From: Europe
Registered: 2007-08-01
Posts: 123

Re: [request] gnome-system-tools & system-tools-backends

Yes they are really outdated on AUR, I made new ones (initial attempt)that work on my system (except services). I also sent them to the maintainer. They changed a lot and also the patches in unstable no longer work, there is still a lot of work to do to make them usable however

Save this as gnome-system-tools/PKGBUILD

# Contributor: Mario A. Vazquez <mario_vazq@hotmail.com>
# Contributor: <erm67@yahoo.it>
pkgname=gnome-system-tools
pkgver=2.20.0
pkgrel=1
pkgdesc="Gnome System Configuration Utilities"
url=""
license=""
depends=('system-tools-backends' 'liboobs' 'nautilus' 'wireless_tools' 'libgnomeui' 'gconf' 'scrollkeeper')
makedepends=()
conflicts=()
arch=(i686)
replaces=()
backup=()
install=gnome-system-tools.install
source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/2.20/$pkgname-$pkgver.tar.bz2)
md5sums=('382ed1f5ad4cb6ce7b88985611e2be18')

build() {

  cd $startdir/src/$pkgname-$pkgver
    find . -name Makefile.in -exec sed -i -e 's/-scrollkeeper-update.*//' {} \;
    if [ -f omf.make ]; then
       sed -i -e 's/-scrollkeeper-update.*//' omf.make
    fi
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-scrollkeeper --disable-services
  make || return 1

  make DESTDIR=$startdir/pkg GCONFTOOL=/bin/true install
}

Save this as gnome-system-tools/gnome-system-tools.install

pkgname=gnome-system-tools

post_install() {
  schemas=(`pacman -Ql $pkgname | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`)
  scrolls=(`pacman -Ql $pkgname | grep 'share/omf/.*\.omf$' | awk '{ print $2 }'`)

  export GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source`
  for schema in "${schemas[@]}" ; do
    opt/gnome/bin/gconftool-2 --makefile-install-rule "$schema" >/dev/null 2>&1
  done

  for scroll in "${scrolls[@]}" ; do
    scrollkeeper-install -q -p var/lib/scrollkeeper "$scroll"
  done

  kill -s HUP `pidof /opt/gnome/bin/gconfd-2` > /dev/null 2>&1
  update-desktop-database -q
  update-mime-database opt/gnome/share/mime > /dev/null 2>&1
}


pre_upgrade() {
  pre_remove $1
}

post_upgrade() {
  post_install $1
}

pre_remove() {
  schemas=(`pacman -Ql $pkgname | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`)
  scrolls=(`pacman -Ql $pkgname | grep 'share/omf/.*\.omf$' | awk '{ print $2 }'`)

  export GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source`
  for schema in "${schemas[@]}" ; do
    opt/gnome/bin/gconftool-2 --makefile-uninstall-rule "$schema" >/dev/null 2>&1
  done

  for scroll in "${scrolls[@]}" ; do
    scrollkeeper-uninstall -q -p var/lib/scrollkeeper "$scroll"
  done

  kill -s HUP `pidof /opt/gnome/bin/gconfd-2` >/dev/null 2>&1
}

post_remove() {
  update-desktop-database -q
  update-mime-database opt/gnome/share/mime > /dev/null 2>&1
}

op=$1
shift

$op $*

Save this as liboobs/PKGBUILD

# Contributor: <erm67@yahoo.it>
pkgname=liboobs
pkgver=2.20.0
pkgrel=1
pkgdesc="a wrapping library to the System Tools Backends"
url=""
license=""
depends=('system-tools-backends' 'dbus-glib')
makedepends=()
conflicts=()
arch=(i686)
replaces=()
backup=()
install=
source=(http://ftp.gnome.org/pub/GNOME/sources/liboobs/2.20/liboobs-2.20.0.tar.bz2)
md5sums=('c0562e115af4777da471182b9d462b40')

build() {

  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr 
  make || return 1

  make DESTDIR=$startdir/pkg install
}

Save this as system-tools-backends/PKGBUILD

# $Id: PKGBUILD,v 1.37 2007/07/07 10:39:24 jgc Exp $
# Contributor: Mario A. Vazquez <mario_vazq@hotmail.com>
# Contributor: <erm67@yahoo.it>

pkgname=system-tools-backends
pkgver=2.4.0
pkgrel=1
pkgdesc="Backends for Gnome System Tools"
arch=(i686 x86_64)
license=('GPL' 'LGPL')
depends=('perl' 'perl-xml-twig')
makedepends=('perlxml' 'perl-xml-twig')
install=
url="http://www.gnome.org"
groups=('gnome')
source=(http://system-tools-backends.freedesktop.org/downloads/2.4/$pkgname-$pkgver.tar.gz)
md5sums=('336d414d2757447d16507681f1ed7649')

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  ./configure --prefix=/usr --with-dbus-sys=/etc/dbus-1/system.d|| return 1
  make || return 1
make DESTDIR=${startdir}/pkg install|| return 1
}

Last edited by erm67 (2007-09-23 11:44:17)

Offline

#4 2007-09-25 19:15:21

yagood
Member
From: Warsaw, Poland
Registered: 2007-09-25
Posts: 8
Website

Re: [request] gnome-system-tools & system-tools-backends

Hello!

I spoke to g-s-t and s-t-b developers at #gst @ irc.gimp.org today. I sent gst-arch.patch and PKGBUILD from Archlinux' s-t-b package to garnacho_, too. Here are some conclusions:

DrFrasierCrane is me :-)

Sep 25 19:44:34 <DrFrasierCrane>    thanks smile
Sep 25 19:47:19 <garnacho_>    the whole scrollkeeper stuff shouldn't be necessary for s-t-b, nor the gconf switch
Sep 25 19:47:43 <DrFrasierCrane>    ok
Sep 25 19:49:41 <garnacho_>    DrFrasierCrane: oh, I forgot, you'll want to include an initscript for /usr/bin/system-tools-backends to run as root
Sep 25 19:50:04 <DrFrasierCrane>    ok
Sep 25 19:50:14 <garnacho_>    s-t-b is now a DBus service, so that executable sits there to process any petition
Sep 25 19:50:56 <DrFrasierCrane>    what about the patch?
Sep 25 19:51:12 <DrFrasierCrane>    do I have to add support for arch manually like this patch does?
Sep 25 19:52:06 <garnacho_>    no, I'll have a look tonight to add to s-t-b what's necessary smile
Sep 25 19:52:43 <garnacho_>    after that, hopefully s-t-b will just work on archlinux
Sep 25 19:53:43 <DrFrasierCrane>    great, are you planning to release some maintenance version soon or should I just write PKGBUILD so that it downloads source from your repository?
Sep 25 19:54:46 <garnacho_>    I'd like to make a new release soon, hopefully when this is integrated
Sep 25 19:55:21 <DrFrasierCrane>    sounds good

- additional dependencies

Sep 25 19:11:50 <juice>    liboobs
Sep 25 19:13:19 <garnacho_>    yep, plus dbus >= 0.35, XML::Twig

Offline

#5 2007-10-11 22:28:26

hdoria
Forum Fellow
From: Brazil
Registered: 2007-06-28
Posts: 52
Website

Re: [request] gnome-system-tools & system-tools-backends

I updated these packages. Take a look at this:

http://bbs.archlinux.org/viewtopic.php?pid=288479

I think that the packages are working, but i need some feedback to confirm this. Can someone test it?

Thanks.

Offline

Board footer

Powered by FluxBB