You are not logged in.
Pages: 1
Edit: I uploaded PKGBUILDs to AUR. Do not use the code shown below. Instead, scroll all the way down for the links.
The Kerry package in AUR is long outdated ( http://tinyurl.com/ycehjl ), so I decided to make my own PKGBUILD.
Then I discovered that the official Beagle in the repos has all the Gnome dependencies. As a KDE user this is not acceptable. I do not have or want Gnome and I do not use Evolution or Thunderbird, either. All this would be installed by default.
So I did two PKGBUILDs. They are my first attempts and probably highly problematic. I would appreciate any criticism regarding these files.
One thing lacking might be some output regarding the use of beagle.
The Beagle PKGBUILD (I renamed the package ~-no-gnome):
# Contributor: mutlu_inek <mutlu_inek>
pkgname=beagle-no-gnome
pkgver=0.2.14
pkgrel=1
pkgdesc="Desktop search tool without its heavy Gnome dependencies"
url="http://beagle-project.org"
license=(GPL)
depends=('mono>=1.1.13.5' 'monodevelop' 'gtk-sharp-2>=2.4.0' 'gmime>=2.2.0'
'libexif>=0.5' 'sqlite3' 'libxss' 'wv>=1.2.0' 'gsf-sharp>=0.6' 'librsvg>=2.0')
makedepends=('intltool' 'zip' 'pkgconfig')
source=(http://ftp.gnome.org/pub/GNOME/sources/beagle/0.2/beagle-0.2.14.tar.bz2)
md5sums=('c3eeccdafc030a7d283bf85b75f5c0bb')
build() {
tar -xjf ./beagle-$pkgver.tar.bz2
cd $startdir/src/beagle-$pkgver
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
--disable-libbeagle --enable-inotify --disable-gui
--disable-thunderbird --disable-evolution --disable-python
make || return 1
make DESTDIR=$startdir/pkg install
mkdir -p ${startdir}/pkg/var/cache/beagle/indexes
rm -f ${startdir}/pkg/usr/lib/beagle/Backends/ThunderbirdBackends.*
}
This is the info during compiling:
Beagle Version: 0.2.14
Target OS: linux
inotify? yes
Prefix: /usr
GNOME Prefix:
KDE Prefix: /opt/kde
Evolution support? no (missing dependencies)
gsf-sharp? yes
wv1? yes
galago-sharp? no
libchm? no
google backend? no (Unsupported)
Thunderbird backend? no
Mozilla Extension? yes
Epiphany Extension? no (Epiphany not installed)
Local SqliteClient? yes
Sqlite version: 3.x
Enable libbeagle no
Enable python bindings no
Enable libbeagle docs no
Monitor screensaver yes
Enable beagle-search GUI no
Enable "Open With" menu yes
And these are the packages that were installed as dependencies. I wish mono would not depend on the gnome-panel.
Total Package Size: 53.7 MB
:: Retrieving packages from extra...
mono-1.2.2.1-1 [################] 100% 24330K 1293K/s 00:00:18
gnome-common-2.12.0-5 [################] 100% 9K 24.7K/s 00:00:00
gnome-mime-data-2.4.2-1 [################] 100% 677K 698.6K/s 00:00:00
gnome-vfs-2.16.3-1 [################] 100% 1552K 1049K/s 00:00:01
xulrunner-1.8.1.1-1 [################] 100% 10479K 1053K/s 00:00:09
gecko-sharp-2.0-0.11-6 [################] 100% 67K 114.0K/s 00:00:00
gtksourceview-1.8.1-3 [################] 100% 474K 457.9K/s 00:00:01
gtksourceview-sharp-2.0- [################] 100% 23K 50.7K/s 00:00:00
monodoc-1.2.1-1 [################] 100% 5619K 1013K/s 00:00:05
boo-0.7.6.2237-1 [################] 100% 826K 324.8K/s 00:00:02
metacity-2.16.3-1 [################] 100% 2129K 1086K/s 00:00:01
monodevelop-0.12-1 [################] 100% 2295K 881.6K/s 00:00:02
gsf-sharp-0.8.1-1 [################] 100% 27K 50.9K/s 00:00:00
:: Retrieving packages from current...
docbook-xsl-1.71.1-2 [################] 100% 1011K 390.1K/s 00:00:02
scrollkeeper-0.3.14-5 [################] 100% 236K 283.9K/s 00:00:00
libgnomecups-0.2.2-4 [################] 100% 79K 134.0K/s 00:00:00
libgnomeprint-2.12.1-3 [################] 100% 583K 375.9K/s 00:00:01
startup-notification-0.8 [################] 100% 30K 65.2K/s 00:00:00
wv-1.2.4-1 [################] 100% 392K 405.8K/s 00:00:00
The Kerry PKGBUILD:
# Contributor : mutlu_inek <mutlu_inek>
pkgname=kerry
pkgver=0.2.1
pkgrel=1
pkgdesc="A KDE gui for the Beagle desktop search tool"
url="http://en.opensuse.org/Kerry"
license="GPL"
depends=('kdelibs' 'beagle-no-gnome')
source=(http://developer.kde.org/~binner/kerry/$pkgname-$pkgver.tar.bz2)
md5sums=('c5885de1b18c9c7cf944d8845eb9c64c')
build() {
tar -xjf ./$pkgname-$pkgver.tar.bz2
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/opt/kde
make || return 1
make DESTDIR=$startdir/pkg install
}
That is it.
By the way: it works like a charm.
Offline
"If you just provide an alternate version of an already existing package, use conflicts (and provides if that package is required by others)." (from the Arch Packaging Standards page)
I guess that is what I would have to straighten out since the beagle-no-gnome PKGBUILD is an alternative version and required by kerry. Then the dependency in kerry is wrong, too.
Does anyone know how to do this properly?
Offline
File a bug report. Evolution-sharp is not a required dependency. As for other gnome deps, they are required by beagle. That's just how it was built.
edit: after looking into it some more, gnome-sharp should be changed to gtk-sharp-2. that ought to cut down on the gnome deps.
Offline
File a bug report. Evolution-sharp is not a required dependency. As for other gnome deps, they are required by beagle. That's just how it was built.
Beagle's package maintainer JGC argued that "Since beagle is bloated anyways because of the gtk-sharp dependencies, I added evolution-sharp aswell", so I assumed nothing is going to change and created these PKGBUILDs for my own use. Maybe I should file a bug report. (For the quote see: http://tinyurl.com/yfdybb )
edit: after looking into it some more, gnome-sharp should be changed to gtk-sharp-2. that ought to cut down on the gnome deps.
That is exactly what I did (see above).
Offline
I have corrected a few initial mistakes and uploaded both PKGBUILDs to AUR (I changed the name of the kerry package to kerry-no-gnome).
http://aur.archlinux.org/packages.php?d … =1&ID=8070
http://aur.archlinux.org/packages.php?d … =1&ID=8072
If you like these packages, please vote in favor of them. And report any errors and post ideas/tips below. Thank you.
Offline
Pages: 1