You are not logged in.

#1 2005-01-13 07:09:33

Olli
Member
Registered: 2004-04-01
Posts: 57

tuxcards

What is TuxCards?  First of all, it is THE notebook for TuxFreaks and for everyone who likes to use it or finds it useful during his or her work and play.
TuxCards is a hierarchical notebook. http://www.tuxcards.de/

PKGBUILD:

# Maintainer:  Oliver Willemse <olli (at) xs4all (d0t) nl>
 pkgname=tuxcards
 pkgver=1.2
 pkgrel=1
 pkgdesc=" TuxCards is a hierarchical notebook"
 url="http://www.tuxcards.de"
# license="GPL"
 depends=('qt' 'x-server')
 source=("http://www.tifskom.de/tux/$pkgver/$pkgname-$pkgver.tar.gz" "http://www.xs4all.nl/~olli/tuxcards_path.diff")
md5sums=('ee85e2e5c23425fd031c62a5e2f6f248' '2f972715b4fd9e94738288a198fec9df')

 build() {
   cd $startdir/src/$pkgname-$pkgver
   patch -p2 tuxcards.pro < ../tuxcards_path.diff
   qmake tuxcards.pro
   make || return 1
   make INSTALL_ROOT=$startdir/pkg install
 }

DIY: Doom-It-Yourself

Offline

#2 2005-01-13 20:29:46

Mith
Member
From: out there
Registered: 2004-10-05
Posts: 163

Re: tuxcards

hi,
I just made your package.. seems to work smile one question though, what does that patch of yours do?

cya


ArchLinux (x86_64) w/ kdemod

Offline

#3 2005-01-14 00:16:02

Olli
Member
Registered: 2004-04-01
Posts: 57

Re: tuxcards

Mith wrote:

hi,
I just made your package.. seems to work smile one question though, what does that patch of yours do?

cya

It adjusts the paths in the config file (tuxcards.pro), since I couldn't find any quicker way of doing it smile It's just temp smile


DIY: Doom-It-Yourself

Offline

#4 2005-01-14 08:10:09

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: tuxcards

this looks like a cool app - i never saw anything like this before!

Offline

#5 2005-01-14 11:57:41

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: tuxcards

just a suggestion:

# Maintainer:  Oliver Willemse <olli (at) xs4all (d0t) nl> 
pkgname=tuxcards 
pkgver=1.2 
pkgrel=1 
pkgdesc=" TuxCards is a hierarchical notebook" 
url="http://www.tuxcards.de" 
depends=('qt' 'x-server') 
source=(http://www.tifskom.de/tux/$pkgver/$pkgname-$pkgver.tar.gz) 
md5sums=('ee85e2e5c23425fd031c62a5e2f6f248') 

build() { 
  cd $startdir/src/$pkgname-$pkgver 
  cat ./tuxcards.pro | sed "s|/usr/local|/usr|g" >./tuxcards.pro
  qmake tuxcards.pro 
  make || return 1 
  make INSTALL_ROOT=$startdir/pkg install 
}

you should find that does the job perfectly, the patch is fine but this way avoids broken link probs etc :) HTH for future efforts

Offline

#6 2005-01-14 12:32:31

Olli
Member
Registered: 2004-04-01
Posts: 57

Re: tuxcards

dibblethewrecker wrote:

just a suggestion:

# Maintainer:  Oliver Willemse <olli (at) xs4all (d0t) nl> 
pkgname=tuxcards 
pkgver=1.2 
pkgrel=1 
pkgdesc=" TuxCards is a hierarchical notebook" 
url="http://www.tuxcards.de" 
depends=('qt' 'x-server') 
source=(http://www.tifskom.de/tux/$pkgver/$pkgname-$pkgver.tar.gz) 
md5sums=('ee85e2e5c23425fd031c62a5e2f6f248') 

build() { 
  cd $startdir/src/$pkgname-$pkgver 
  cat ./tuxcards.pro | sed "s|/usr/local|/usr|g" >./tuxcards.pro
  qmake tuxcards.pro 
  make || return 1 
  make INSTALL_ROOT=$startdir/pkg install 
}

you should find that does the job perfectly, the patch is fine but this way avoids broken link probs etc :) HTH for future efforts

Cheers, it was either sed or diff, I choose diff in this case but as you said, in relation to broken links, this is better smile


DIY: Doom-It-Yourself

Offline

#7 2005-02-10 20:39:44

allanon
Member
From: Enschede, The Netherlands
Registered: 2004-02-10
Posts: 52

Re: tuxcards

Dribble's way did not work for me:

==> Starting build()...
./PKGBUILD: line 13: ./tuxcards.pro: Permission denied

Seems like the tuxcards.pro file defaults to read only.

Offline

#8 2005-02-11 04:33:44

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: tuxcards

a) don't call me dribble
b) try it as root

Offline

#9 2005-02-11 06:53:19

allanon
Member
From: Enschede, The Netherlands
Registered: 2004-02-10
Posts: 52

Re: tuxcards

Sorry about wrong name. I got Olli's version working, so it is installed fine now  smile

Offline

#10 2005-02-11 06:57:08

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

Re: tuxcards

Or you can change the permission, add:

chmod 644  ./tuxcards.pro

before the

 cat ./tuxcards.pro | sed "s|/usr/local|/usr|g" >./tuxcards.pro

line.

Offline

#11 2005-02-12 16:54:02

neotuli
Lazy Developer
From: London, UK
Registered: 2004-07-06
Posts: 1,204
Website

Re: tuxcards

I had some trouble with the QMAKESPEC variable, but fixed it, and I've improved the way ya'll are running sed (did you ever hear of the -i (in place) option), makes it look cleaner.

After I test this package out a bit, I'll definitly put it under consideration to put in my repo.


The suggestion box only accepts patches.

Offline

#12 2005-02-12 18:05:33

neotuli
Lazy Developer
From: London, UK
Registered: 2004-07-06
Posts: 1,204
Website

Re: tuxcards

Uhm, ok here's what i'll do with this, It wont be added to my repo quite yet, but I'll throw it in the subversion repo of PKGBUILDS.

here's a direct link to the pkgbuild:
http://neotuli.net/websvn/filedetails.p … rev=0&sc=0

I might also add that I took a peek at the original patch, and I noticed that it changed the location for docs. I'd just like to point out that makepkg removes that path as it creates the package...

Oh and one more thing, I've added mesa as a dep because namcap indicated that the binary was linked into it.


The suggestion box only accepts patches.

Offline

Board footer

Powered by FluxBB