You are not logged in.

#1 2006-09-11 10:21:02

fftb
Member
From: Berlin, Germany
Registered: 2006-08-24
Posts: 13

updated RSSOwl 1.2.2 [PKGBUILD]

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

#2 2006-09-14 12:17:21

zamb
Member
Registered: 2006-01-19
Posts: 5

Re: updated RSSOwl 1.2.2 [PKGBUILD]

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

#3 2006-09-14 14:09:45

fftb
Member
From: Berlin, Germany
Registered: 2006-08-24
Posts: 13

Re: updated RSSOwl 1.2.2 [PKGBUILD]

:oops:
Thanks for your correction Ziyad. I changed the entry.

Benjamin

Offline

#4 2006-09-14 14:49:04

kill
Member
Registered: 2004-09-30
Posts: 126

Re: updated RSSOwl 1.2.2 [PKGBUILD]

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

#5 2006-09-14 20:57:31

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: updated RSSOwl 1.2.2 [PKGBUILD]

kill wrote:

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

#6 2006-09-14 21:50:21

kill
Member
Registered: 2004-09-30
Posts: 126

Re: updated RSSOwl 1.2.2 [PKGBUILD]

Snowman wrote:

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

#7 2006-09-15 06:27:16

zamb
Member
Registered: 2006-01-19
Posts: 5

Re: updated RSSOwl 1.2.2 [PKGBUILD]

fftb wrote:

: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

#8 2006-09-15 10:05:08

fftb
Member
From: Berlin, Germany
Registered: 2006-08-24
Posts: 13

Re: updated RSSOwl 1.2.2 [PKGBUILD]

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

Board footer

Powered by FluxBB