You are not logged in.
Pages: 1
Since snowmans pkgbuild no longer works, I whipped up my own from his.
# Contributor: Eric Belanger <belanger@astro.umontreal.ca> Aaron Meyers <jellywerker@gmail.com>
pkgname=xanim
pkgver=2.80.1
pkgrel=1
pkgdesc="XAnim is a program that can play animations, audio and video of various formats"
url="http://xanim.polter.net/"
license=""
depends=('x-server' 'glibc')
makedepends=('sed' 'x-server' 'zlib')
source=(http://xanim.polter.net/files/${pkgname}2801.tar.gz)
md5sums=('e2ecd086c160f18dd7cc3cac438758c2')
build() {
cd $startdir/src/${pkgname}2801
xmkmf
sed -i 's=INCROOT = /usr/X11R6/include=INCROOT = /usr/X11R6/include/X11=' Makefile
cp docs/xanim.man .
make || return 1
make DESTDIR=$startdir/pkg install
make DESTDIR=$startdir/pkg install.man
}
I got a segfault with it once, but it worked on the second try.
Offline
What was the problem?
By a quick comparison, it seems that your PKGBUILD is equivalent to mine. You use a sed line to change the Makefile while I pass the INCROOT variable directly. :?
Offline
It is yours, edited because yours is out of date a bit Notice the top line?
Edit: Btw, I am trying to make a pkgbuild for the loki version for gimp gap, but the md5's never match, and it says it is not .tar.gz, although it is clearly labeled as such, my pkgbuild atm is:
# Contributor: Aaron Meyers <jellywerker@gmail.com>
pkgname=xanim-loki
pkgver=2.80.1
pkgrel=1
pkgdesc="XAnim is a program that can play animations, audio and video of various formats. This modified loki version has export support."
url="http://lokigames.com/development/smjpeg.php3"
license=""
depends=('x-server' 'glibc')
makedepends=('sed' 'x-server' 'zlib')
source=(http://www.3ddownloads.com/linuxgames/loki/open-source/smjpeg/xanim2801-loki090899.tar.gz)
md5sums=('0a57e3f9840985917c7bed50f9e0b86d')
build() {
cd $startdir/src/xanim2801-loki090899
xmkmf
sed -i 's=INCROOT = /usr/X11R6/include=INCROOT = /usr/X11R6/include/X11=' Makefile
cp docs/xanim.man .
make || return 1
make DESTDIR=$startdir/pkg install
make DESTDIR=$startdir/pkg install.man
}
Also based on your original xanim pkgbuild.
Offline
Also, how can I correct the sed thing?
Offline
It is yours, edited because yours is out of date a bit Notice the top line?
Yes, I noticed that you added your name to the contributor line. I also noticed that you did some modifications to the depends/makepends line. I'm also aware that when the modular xorg will hit current, xanim will need to move from /usr/X11R6/bin to /usr/bin. However, I'm still unclear what the issue is. I tried my PKGBUILD in AUR and it builds, intalls and run fine. Could you please be more specific?
dit: Btw, I am trying to make a pkgbuild for the loki version for gimp gap, but the md5's never match, and it says it is not .tar.gz, although it is clearly labeled as such
xanim2801-loki090899.tar.gz is not a .tar.gz:
$ file xanim2801-loki090899.tar.gz
xanim2801-loki090899.tar.gz: ISO-8859 HTML document text, with very long lines
It's a web page where you can download the file. It use some kind of download queue so you'll probably need to download it seperatly (unless you can get a direct link).
Offline
Your package would not build for me, that's why I changed it, I'll remove it if it upsets you. I updated it to a current server.
I'll download that package and find a place to host it for the pkgbuild, thanks.
Offline
Your package would not build for me, that's why I changed it, I'll remove it if it upsets you. I updated it to a current server.
Can you post the error messages? Is the problem caused because I use:
make INCROOT=/usr/X11R6/include/X11 || return 1
instead of
sed -i 's=INCROOT = /usr/X11R6/include=INCROOT = /usr/X11R6/include/X11=' Makefile
make || return 1
I am not upset. I just want to know why it doesn't build for you so I can fix it.
Offline
No, it's caused by your server not working, nothing technical. Speaking of technical though, I can't get an xanim loki package to build, I downloaded the tar.gz to my home dir, etc... but I am not sure how to make it build, I can't even get it to build as a non pkgbuild.
Offline
If you're refering to my personal repo, I have removed it a while ago. My binary packages are now in the community repo and my PKGBUILD are in AUR.
For xanim-loki, I would assume that the xanime PKGBUILD will built it if the sources are in its directory. If it doesn't work, post the error messages.
Offline
Pages: 1