You are not logged in.

#1 2003-10-08 17:10:29

nifan
Member
Registered: 2003-04-10
Posts: 102

gpdf and namcap

im trying to build gpdf , and it builds fine, the trouble is that when i namcap gpdf it says:

gpdf       W: File (usr/libexec/) exists in a non-standard directory.
gpdf       W: File (usr/libexec/gnome-pdf-viewer) exists in a non-standard directory.

what sould i do to do it right?

here's the PKGBUILD:

pkgname=gpdf
pkgver=0.104
pkgrel=1
pkgdesc="Gnome Pdf viewer based on xpdf"
url="http://freshmeat.net/redir/gpdf/39424/url_homepage/gpdf"
depends=('libgnomeprint' 'libgnome' 'libgnomeprintui' 'libgnomeui' 'libbonoboui')
conflicts=()
backup=()
install=
source=(http://freshmeat.net/redir/gpdf/39424/url_tgz/$pkgname-$pkgver.tar.gz)

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr  --enable-a4-paper --with-x
  make || return 1
  make prefix=$startdir/pkg/usr install
}

______
"Ignorance, the root and the stem of every evil." - Plato

Offline

#2 2003-10-08 17:19:56

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: gpdf and namcap

It depends on what sort of file gnome-pdf-viewer is.  If it's a script or a binary then it should probably be moved to /usr/bin.  If it's a data file, maybe /usr/share/gpdf?  Etc etc.  I can't remember, off the top of my head, what sort of files go into libexec.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

Board footer

Powered by FluxBB