correctd pkgbuild
added as dependencies
lua51 for pdlua
libmpeg3 from aur for mpeg support in Gem
avifile for avi support in Gem
using
pd svn, pd-extended git, gem git repository
change
wish version to 8.6
thks to sciamma to set it to knew version
(i add the install command that was in previous pkgbuild maybe they are not needed)
PKGBUILD:
# Maintainer: <fero dot kiraly at gmail.com>
pkgname=pd-extended-svn
pkgver=0.43.4
pkgrel=1
pkgdesc="Pure Data Extended SVN version"
url="http://puredata.info/"
arch=('i686' 'x86_64' )
license=('BSD')
depends=('libv4l' 'fftw' 'jack' 'tk' 'freeglut' 'libquicktime' 'libdv'
'gsl' 'imagemagick' 'ftgl' 'libgl' 'dssi' 'git' 'lua51' 'libmpeg3' 'avifile')
makedepends=('subversion' 'git' 'swig')
conflicts=('pd' 'pdp' 'zexy' 'pd-extended')
provides=('pd' 'pd-extended' 'pd-gem' 'pdp' 'zexy')
options=('!makeflags')
source=("pd-svn::svn+https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/"
"git://pure-data.git.sourceforge.net/gitroot/pure-data/pd-extended.git"
"git://pd-gem.git.sourceforge.net/gitroot/pd-gem/Gem")
md5sums=('SKIP'
'SKIP'
'SKIP')
prepare() {
# Put sources together
cd $srcdir/pd-svn
mv pd pd-original
ln -s ../pd-extended pd
ln -s ../Gem Gem
cd externals
ln -s ../../Gem Gem
# fix 1: Nonexisting file ninjacount-help.pd in externals/ekext
cd $srcdir/pd-svn/externals/ekext
[[ ! -f ninjacount-help.pd ]] && touch ninjacount-help.pd
# fix 2: Update for tcl 8.6
cd $srcdir/pd-svn
sed -i "s/tcl[0-9].[0-9]/tcl8.6/g" pd-original/src/configure.in externals/loaders/tclpd/Makefile
}
build() {
cd $srcdir/pd-svn
unset CFLAGS
unset LDFLAGS
unset INCLUDES
if [ "$CARCH" = "x86_64" ]; then
# fix -fPIC issue in PDP
sed -i "s/CFLAGS =/CFLAGS = -fPIC/" externals/pdp/opengl/Makefile.config
# fix -fPIC issue in pddp
sed -i "s/DEFINES =/DEFINES = -fPIC/" externals/miXed/Makefile.common
# setting additional variable
local FPIC_FLAG="-fPIC"
else
local FPIC_FLAG=""
fi
cd "$srcdir/pd-svn/packages/linux_make"
make prefix=/usr \
BUILDLAYOUT_DIR=$srcdir/pd-svn/packages \
GEM_EXTRA_CXXFLAGS="$FPIC_FLAG" \
all
}
package() {
cd "$srcdir/pd-svn/packages/linux_make"
make prefix=/usr BUILDLAYOUT_DIR=$srcdir/pd-svn/packages \
DESTDIR=$pkgdir install
cd $srcdir/pd-svn/packages/
install -p linux_make/default.pdextended $pkgdir/usr/lib/pd-extended/
# Gnome menu support
install -d $pkgdir/usr/share/icons/hicolor/128x128/apps
install -p -m0644 linux_make/pd-extended.png \
$pkgdir/usr/share/icons/hicolor/128x128/apps/
install -d $pkgdir/usr/share/icons/hicolor/48x48/apps
install -p -m0644 linux_make/pd-extended-48x48.png \
$pkgdir/usr/share/icons/hicolor/48x48/apps/pd-extended.png
install -d $pkgdir/usr/share/applications/
install -p linux_make/pd-extended.desktop \
$pkgdir/usr/share/applications/
# files for /etc
cd "$srcdir/pd-svn"
install -d $pkgdir/etc/bash_completion.d/
install -p scripts/bash_completion/pd $pkgdir/etc/bash_completion.d
# emacs mode for .pd files
install -d $pkgdir/usr/share/emacs/site-lisp/
install -p scripts/pd-mode.el $pkgdir/usr/share/emacs/site-lisp/
# Pd-related scripts
install -p scripts/pd-diff $pkgdir/usr/bin/
install -p scripts/config-switcher.sh $pkgdir/usr/bin/
}
Search Criteria
Package Details: pd-extended-svn 0.43.4-1
Package Actions
- View PKGBUILD
- Download tarball
- Search wiki
- Flagged out-of-date (2013-04-16)
| Package Base: | pd-extended-svn |
|---|---|
| Description: | Pure Data Extended SVN version |
| Upstream URL: | http://puredata.info/ |
| Category: | multimedia |
| Licenses: | |
| Submitter: | None |
| Maintainer: | None |
| Last Packager: | None |
| Votes: | 13 |
| First Submitted: | 2008-12-25 11:32 |
| Last Updated: | 2012-11-03 09:00 |
Latest Comments
Anonymous comment
Comment by xyproto
Works here on x86_64, good job. Please add a space between 'pd' and 'pdp' in the conflicts array.
Comment by paum
should work now. (not tested on x_64)
there are two fixes:
1# corrected name of pdlua library in: externals/loaders/pdlua/src/Makefile
2# created an empty file in : externals/ekext/ninjacount-help.pd (0 bytes, it is needed for build, dont ask me why...)
Anonymous comment
Try to comment out these lines
sed -e "s|/usr/include/tcl8.|/usr/lib/tcl8.|g" \
-i externals/tclpd/Makefile || return 1
in MAKEPKG.
And some code has been moved to another location. Don't know exactly, but I think it has something to do with "externals" and "loaders" folders. I was not successful building this package though. So, I am disowning this package.
Comment by FreeFull
When I run makepkg, I get
==> SVN checkout done or server timeout
==> Starting make...
sed: can't read externals/tclpd/Makefile: No such file or directory
==> ERROR: A failure occurred in build().
Aborting...
Comment by tgirod
needs rsync as a build dependency
Comment by Gimmeapill
Doesn't build here:
http://pastebin.com/MLnD18A5
Comment by lz3060
I'm getting
pd~/pdsched.c: In function ‘pd_extern_sched’:
pd~/pdsched.c:29:13: error: too many arguments to function ‘sys_get_audio_params’
build fails. Does anyone know a svn revision which works?
Comment by smoge
Hey, it did not compile here: http://pastebin.com/RKRgQgK8
Anonymous comment
should be fixed now - libdir has been merged back into upstream..
i'm about to embark on a more modular strategy for pd and the externals, breaking with the current pd-extended buildsystem. each library will have its own package, making it much easier/faster to mix and match to your taste, and less of a reliance on the current buggy monolith (recent additions upstream have made this possible, and similar packages are currently being devised for debian based systems). this may take a little time, and i may not be able to support the full list of built targets currently in pd-extended, however if there are pd libraries that archlinux folks wish to be supported please list them in the comments so i can prioritise their addition. similarly if there are any bright ideas or folks wishing to volunteer to maintain their favourite lib package drop me a line..