You are not logged in.
Here´s the PKGBUILD of kpdf. It´s for that guys of you, that wanna use kpdf without installing the whole kdegraphics package.
I wrote a entry in the wiki that shows how to do seperate kde packages in general.
pkgname=kpdf
pkgver=3.4.1
kdever=3.4.1 # if minor 0, then without .0
pkgrel=1
pkgdesc="KDE pdf reader"
url="http://www.kde.org"
conflicts=(kdegraphics)
makedepends=()
depends=('kdelibs' 'xorg')
# for easier build, just uncomment the mirror you want to use
mirror="ftp.solnet.ch/mirror/KDE" # updated every 2 hours, very fast for Europe
# mirror="ftp.kde.org/pub/kde/" # main server
# mirror="ibiblio.org/pub/mirrors/kde/" # ibiblio mirror
source=(ftp://$mirror/stable/$kdever/src/kdegraphics-$pkgver.tar.bz2)
md5sums=('d91ef530a416bd8407abb28103bc049c')
build() {
cd $startdir/src/kdegraphics-$pkgver
./configure --prefix=/opt/kde --disable-debug --disable-dependency-tracking --disable-kpdf-drm --enable-final
# --enable-final # remove this if you build with < 512mb ram.
cd kpdf
make || return 1
make DESTDIR=$startdir/pkg install
}
Offline
Just a question: Somebody said to me before that kpdf requires/works with Ghostscipt or Ghostview ... so is my memory tricking me or why didn't you put "ghostscipt" in the dependencies?
(I have to admit that I never used kpdf as I used to use Gnome )
Offline
And i have to say, that i don´t really know if it needs gs or gv. try it, if it don´t work, install gs and gv. ;-)
Offline
Ok....I'd really love to have kpdf on my box, and WITHOUT the bunch of other KDE programs!!
I tried the PKGBUILD you have given here, but this is all I get when I execute makepkg :
# makepkg
==> Making package: kpdf-sta 3.4.2-1 (Sun Mar 11 01:07:25 IST 2007)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Downloading kdegraphics-3.4.2.tar.bz2
--01:07:26-- ftp://ftp.solnet.ch/mirror/KDE/stable/3.4.2/src/kdegraphics-3.4.2.tar.bz2
=> `kdegraphics-3.4.2.tar.bz2'
Resolving ftp.solnet.ch... 212.101.4.244
Connecting to ftp.solnet.ch|212.101.4.244|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /mirror/KDE/stable/3.4.2/src ...
No such directory `mirror/KDE/stable/3.4.2/src'.
==> ERROR: Failed to download kdegraphics-3.4.2.tar.bz2
==> Aborting...
Am I doing something wrong here?? ( Could be, 'cause I'm new to Arch Linux, and know very less about these stuff!! )
March Linux : An Arch Linux "distrolet" that I am trying to develop (March = My Arch!)
Please take a look......:)
Offline
Look here.
Last edited by lucke (2007-03-10 23:14:50)
Offline