You are not logged in.

#1 2005-06-04 13:09:26

Legout
Member
From: Wuerburg/germany
Registered: 2004-01-19
Posts: 292

kpdf (without kdegraphics)

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.

Making seperate KDE packages


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

#2 2005-11-23 16:40:43

Explosivo
Member
From: The Dark Side of the moon
Registered: 2005-11-05
Posts: 25

Re: kpdf (without kdegraphics)

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 wink )

Offline

#3 2005-11-23 18:01:21

Legout
Member
From: Wuerburg/germany
Registered: 2004-01-19
Posts: 292

Re: kpdf (without kdegraphics)

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

#4 2007-03-10 19:41:24

s26c.sayan
Member
From: Kolkata, India
Registered: 2007-02-07
Posts: 176
Website

Re: kpdf (without kdegraphics)

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!! sad)


March Linux : An Arch Linux "distrolet" that I am trying to develop (March = My Arch!)
Please take a look......:)

Offline

#5 2007-03-10 23:13:56

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: kpdf (without kdegraphics)

Look here.

Last edited by lucke (2007-03-10 23:14:50)

Offline

Board footer

Powered by FluxBB