You are not logged in.

#1 2010-07-22 11:22:20

saft
Member
Registered: 2010-03-04
Posts: 36

Nevernote 0.86

Nevernote is an incomplete clone of Evernote designed to run on Linux.

http://nevernote.sourceforge.net/

I'm not sure how to make a pkgbuild from this software - I've tried extracting both the nevernote files and the required qt jambi to my ~/bin folder, but with no luck. QT-Jambi is also not in the aur.

I'm not particularly experienced at building my own software, and thoroughly confused as to how to get this to work.

I think this would be a great addition to the AUR - linux is currently the only platform without a native Evernote client.

http://www.evernote.com/

Offline

#2 2010-07-24 01:24:28

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: Nevernote 0.86

This is my PKGBUILD:

pkgname=nevernote  
pkgver=0.86
pkgrel=1 
pkgdesc="incomplete clone of Evernote"
url="http://nevernote.sourceforge.net/"
arch=('any')
license=('GPL')
depends=('qtjambi' 'libpng12')
source=("http://www.evernote.com/shard/s1/res/39180837-3601-4d4e-8ebf-3abd53e2838e/$pkgname-$pkgver.tar.gz" "$pkgname.sh" "$pkgname-caller.sh")
md5sums=('cfa6afca65a7e9af9870043d4bff4cb1'
         'db4c7f0023832b67e9c4b965daa91e44'
         'c18bb6885604de5290ca1a81d6717e21')

package() {
  cd $srcdir/
  install -d $pkgdir/usr/share/java/
  
  cp -r $pkgname $pkgdir/usr/share/java
  install -Dm755 $srcdir/$pkgname.sh $pkgdir/usr/share/java/$pkgname/$pkgname.sh
  install -Dm755 $srcdir/$pkgname-caller.sh $pkgdir/usr/bin/$pkgname
  install -dm777 $pkgdir/usr/share/java/$pkgname/res/
  install -dm777 $pkgdir/usr/share/java/$pkgname/logs/
 }

There are some bad things on it:
* running nevernote only shows a splash screen and ends with an exception:

nevernote
java.lang.ClassNotFoundException: org.h2.Driver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)
    at cx.fbn.nevernote.sql.runners.RDatabaseConnection.dbSetup(RDatabaseConnection.java:88)
    at cx.fbn.nevernote.threads.DBRunner.run(DBRunner.java:166)
    at java.lang.Thread.run(Thread.java:619)
    at com.trolltech.qt.QThread.run(QThread.java:164)

* There are some directories that need 777 permissions
* The author thinks that qtjambi will be installed in the user's $HOME.
all issues should be fixed upstream.

btw qtjambi is in AUR: http://aur.archlinux.org/packages.php?ID=11602

Last edited by Stefan Husmann (2010-07-24 01:25:56)

Offline

#3 2010-10-04 17:15:22

baumgarr
Member
Registered: 2010-10-04
Posts: 1

Re: Nevernote 0.86

There have been several releases since 0.86 (it's currently at 0.91) and hopefully they address some of the problems above.  There are tar, deb, & rpm packages available.  If someone can provide a very simple tutorial along with what utilities are needed I can try to create a package for this too.

Offline

#4 2010-10-05 14:31:22

MadCatMk2
Member
Registered: 2010-05-10
Posts: 84

Re: Nevernote 0.86

baumgarr wrote:

There have been several releases since 0.86 (it's currently at 0.91) and hopefully they address some of the problems above.  There are tar, deb, & rpm packages available.  If someone can provide a very simple tutorial along with what utilities are needed I can try to create a package for this too.

Already, has a maintainer; here: http://aur.archlinux.org/packages.php?ID=41226
I flagged it out-of-date for you, it's the best thing to do when a package is outdated.


If you are interested in learning about PKGBUILDS yourself though, try the links in this page: http://aur.archlinux.org/index.php

Offline

Board footer

Powered by FluxBB