You are not logged in.

#1 2004-02-14 10:18:09

neocephas
Member
From: orange, ca
Registered: 2004-02-14
Posts: 30

gpdf and tnftp

I'm new to Arch Linux (this is my second day running it) but I hope I can be somewhat useful to the community.  Here are two programs I like, but weren't available for Arch:

GPDF, the Gnome PDF viewer (sometimes ggv doesn't cut it and I hate acroread) - gpdf-0.112.1; btw, I searched the forums, and there were references to GPDF, but I couldn't find the build for it anywhere, so I just compiled it myself.  Sorry if this is a dupe.

# Contributor: Peter Bui <neocephas@myrealbox.com>
# Note: I just reused the ggv (a similar program) PKGBUILD file,
# it worked and I hope it works on other computers as well

[ "$GNOMEDIR" = "" ] && source /etc/profile.d/gnome.sh

pkgname=gpdf
pkgver=0.112.1
pkgrel=1
pkgdesc="Gnome PDF Viewer"
depends=('gtk2' 'pango' 'libbonobo' 'libgnomecanvas' 'gnome-vfs' 'gconf' 'atk' '
libgnomeprint' 'libgnome' 'libgnomeprintui' 'libgnomeui' 'libbonoboui')
url="http://www.gnome.org"
install=gpdf.install
source=(ftp://ftp.gnome.org/pub/gnome/sources/gpdf/0.112/gpdf-$pkgver.tar.bz2 gp
df.install)

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/opt/gnome
  make || return 1
  make DESTDIR=$startdir/pkg install
}

tnftp, the really nice NetBSD ftp client program (yeah... I hate lftp...) - tnftp-20030825

# Contributor: Peter Bui <neocephas@myrealbox.com>
pkgname=tnftp
pkgver=20030825
pkgrel=1
pkgdesc="NetBSD FTP client"
depends=('gcc' 'ncurses')
source=(ftp://ftp.netbsd.org/pub/NetBSD/misc/tnftp/tnftp-$pkgver.tar.gz)

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --enable-editcomplete 
  make || return 1
  make prefix=$startdir/pkg/usr install
  rm -rf $startdir/pkg/usr/{lib,share}
}

Please tell me if I packaged anything wrong or messed up the dependencies.

Offline

#2 2004-02-15 02:13:11

kritoke
Member
From: Texas, USA
Registered: 2003-08-01
Posts: 211
Website

Re: gpdf and tnftp

I have gpdf 0.120 in my tur repository, thats the last version that works with the gtk2 version in arch.

Kritoke


http://counter.li.org/ Registered Linux User #318963 kritoke@jabber.org

Offline

#3 2004-02-16 22:45:51

contrasutra
Member
From: New Jersey
Registered: 2003-07-26
Posts: 507

Re: gpdf and tnftp

I added tnftp to my TUR. Test it out, and if there are no problems, it'll make its way into STAGING.


"Contrary to popular belief, penguins are not the salvation of modern technology.  Neither do they throw parties for the urban proletariat."

Offline

Board footer

Powered by FluxBB