You are not logged in.
Hi,
enclosed please find the updated PKGBUILD for the 1.2.2 release of rssowl. http://aur.archlinux.org/packages.php?d … =1&ID=1728
Thank you for the nice work kill.
PKGBUILD
# Contributor: John Schember
pkgname=rssowl
pkgver=1.2.2
pkgrel=1
pkgdesc="Java/SWT RSS Aggregator"
url="http://www.rssowl.org"
license="EPL"
depends=('j2re' 'swt')
makedepends=('j2sdk' 'apache-ant' 'swt')
source=('http://download.sourceforge.net/rssowl/rssowl_1_2_2_src.tar.gz' 'rssowl.desktop' 'rssowl.sh')
md5sums=('d28007e0c0a09f163d4e98177657dc2e' 'd715ef6dd9ca547d627349cc2d7588a9' '67fb678b85eccca8f0bb5545014dda2e')
build() {
# Rssowl will not work with the Arch provied swt, it will only work with the 3.2 series (currently in development)
# This will be removed and the package will use Arch provided SWT once a compatible version is avaliable
# We need to put the swt files in the proper place so rssowl can find them <-- now this is obsolete
cd $startdir/src/${pkgname}_1_2_2_src
cp /usr/share/java/swt/*.jar lib
cp /usr/share/java/swt/*.so src/java/net/sourceforge/${pkgname}
# We are compiling against the 3232 release of swt. We need to tell the build file this
# then make build rssowl
cd src
#sed -i 's|3230|3231|' build.xml <-- now this is obsolete too?
ant deploy_linux || return 1
# Install the jar, docs, swt, and icon
install -D -m644 ../${pkgname}.jar $startdir/pkg/usr/share/java/${pkgname}/${pkgname}.jar
install -D -m644 java/net/sourceforge/rssowl/*.so $startdir/pkg/usr/share/java/${pkgname}/
install -D -m644 ../img/32x32.png $startdir/pkg/usr/share/icons/hicolor/32x32/apps/rssowl.png
cp -r ../doc $startdir/pkg/usr/share/java/${pkgname}
chmod -R go+X $startdir/pkg/usr/share/java/${pkgname}/doc
# Install .desktop file and launcher
cd $startdir
install -D -m644 ${pkgname}.desktop $startdir/pkg/usr/share/applications/${pkgname}.desktop
install -D -m755 ${pkgname}.sh $startdir/pkg/usr/bin/${pkgname}
}
BTW my first post.
Benjamin
Offline
Thanks for this... but you forgot to add swt to the makedepends field. It's needed for building.
Ziyad.
EDIT: This is not true. Apparently, anything in the "depends" field is needed at the build time. So, my correction is not correct!
Offline
:oops:
Thanks for your correction Ziyad. I changed the entry.
Benjamin
Offline
I didn't even realize 1.2.2 had been released. fftb, when you see a package is out of date log into AUR (you will have to register if you don't have an account already) and flag the package out of date. That will send an email to the maintainer to update it. That's the best way to get a package updated.
Thanks for updating the PKGBUILD but there is still some more work that needs to be done to it before I will update it in AUR. I need to see if building from source is still the best option, it was when it swt-3.2 wasn't avaliable. But now with arch64 it may still be required. Also currently it install all the swt files in the rssowl directory. I would like it to use the files provided by swt directly.
I'm going tok work on the PKGBUILD later today after I get done with classes. I should have it updated in AUR somtime tonight.
Offline
I didn't even realize 1.2.2 had been released. fftb, when you see a package is out of date log into AUR (you will have to register if you don't have an account already) and flag the package out of date. That will send an email to the maintainer to update it. That's the best way to get a package updated.
Flaging an AUR package out-of-date doesn't send an email to the maintainer. If you want to notify the maintainer, post a comment. If he clicked on the "notify" button, he will get an email notification.
Offline
Flaging an AUR package out-of-date doesn't send an email to the maintainer. If you want to notify the maintainer, post a comment. If he clicked on the "notify" button, he will get an email notification.
That's good to know.
I updated the package in AUR. It now uses SWT provided by Arch. Also it must still be build from source for compatibility with Arch64. Until either there is a separate AUR for arch64 or there is a special build_64 function I will be keeping it this way.
Offline
:oops:
Thanks for your correction Ziyad. I changed the entry.Benjamin
My comment was wrong! Please read my edit to my original comment.
Besides: the AUR got a new PKGBUILD now, so thanks to you and "kill" for the effort.
Ziyad.
Offline
Ohh, ok. I didn't become aware of the "notify" button up to now. :shock:
I'm new to Linux and in particular Arch. So what is still more impressing to me than the package management and the AUR is its very pleasant and awesome community.
Hava a nice day.
Benjamin.
Offline