Package Details: pd-extended-svn 0.43.4-1

Package Base: pd-extended-svn
Description: Pure Data Extended SVN version
Upstream URL: http://puredata.info/
Category: multimedia
Licenses: BSD
Submitter: None
Maintainer: None
Last Packager: None
Votes: 13
First Submitted: 2008-12-25 11:32
Last Updated: 2012-11-03 09:00

Required by (0)

Sources

Latest Comments

Anonymous comment

2013-04-18 13:07

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/

}

Comment by xyproto

2012-10-29 22:23

Works here on x86_64, good job. Please add a space between 'pd' and 'pdp' in the conflicts array.

Comment by paum

2012-10-29 10:09

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

2012-01-03 11:53

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

2012-01-02 22:41

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

2011-08-07 21:29

needs rsync as a build dependency

Comment by Gimmeapill

2011-07-13 20:04

Doesn't build here:
http://pastebin.com/MLnD18A5

Comment by lz3060

2011-06-17 12:23

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

2011-03-31 21:53

Hey, it did not compile here: http://pastebin.com/RKRgQgK8

Anonymous comment

2010-12-16 13:55

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..

All comments