You are not logged in.
Hi, from time to time I visit www.gnomefiles.org, and try to do some packages. I am still a newling in creating packages, and I wanted to ask for some advice in creating gnome packages.
Point number one is, I checked several gnome packages' pkgbuilds in the cvs, and found no genuine way for passing gnome options (path etc) to gnome packages. I found one way that seemed to be nice, I use it in my latest OMGRIP package (code beneath).
Second point, I am unsure how I should create desktop objects. Normaly, I add it to the package folder, and add some commands to the PKGBUILD.
Third point, I have no idea of scrollkeeper updates or mime type things.
You see, I need some advice. :oops:
Here are some examples:
OMGRIP (http://www.gnomefiles.org/app.php?soft_id=616)
pkgname=ogmrip
pkgver=0.8.2
pkgrel=1
pkgdesc="OGMRip is an application and a set of libraries for ripping and encoding DVD into AVI/OGM files using a wide variety of codecs. It relies on mplayer, mencoder, ogmtools, oggenc and lame to perform its tasks.
The GUI features a clean hig-compliant GNOME 2 interface and tries to minimize as much as possible esoteric settings."
url="http://ogmrip.sourceforge.net/"
license="GPL"
depends=('xorg' 'libdvdread' 'gtk2' 'libgnomeui' 'libart-lgpl' 'vorbis-tools' 'lame')
makedepends=('perlxml')
conflicts=()
replaces=()
backup=()
install=
#source=(http://mesh.dl.sourceforge.net/sourceforge/ogmrip/$pkgname-$pkgver.tar.gz)
source=(http://ovh.dl.sourceforge.net/sourceforge/ogmrip/$pkgname-$pkgver.tar.gz)
md5sums=(c84a295d1b67fa69b8c81b89f54c4acc)
build() {
[ "$GNOMEDIR" = "" ] && source /etc/profile.d/gnome.sh
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/opt/gnome
make || return 1
make DESTDIR=$startdir/pkg install
}
Just a desktop file for nvidia settings
pkgname=NVIDIA-Settings.desktop
pkgver=1
pkgrel=1
pkgdesc=""
url=""
license=""
depends=(nvidia)
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=()
md5sums=()
build() {
mkdir -p $startdir/pkg/usr/share/applications
cp $startdir/NVIDIA-Settings.desktop $startdir/pkg/usr/share/applications
mkdir -p $startdir/pkg/usr/share/pixmaps
cp $startdir/icon-nvidia.png $startdir/pkg/usr/share/pixmaps
chown -R root:root $startdir/pkg/
}
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline