Re: [PD] Archlinux packages

2013-02-21 Thread Charles Goyard
Fero Kiraly wrote:
 ok. I get working pd-vanilla, pdx, pd-l2ork on one archlinux system.

For git, you can use the following construct in the PKGBUILD so you
don't have to delete and clone again on successive builds:

 #download pd-l2ork
 msg Looking for pd2lork on git ...
 cd $srcdir
 if [ -d pd-l2ork ] ; then
 cd pd-l2ork
 git pull
 cd ..
 msg The local files are updated.
 else
 git clone git://github.com/pd-l2ork/pd.git $pkgname
 fi
 msg done
 
 #download Gem
 cd $pkgname
 msg Looking for gem on git
 if [ -d Gem ] ; then
 cd Gem
 git pull
 cd ..  
 msg The local files are updated.
 else
 git clone git://pd-gem.git.sourceforge.net/gitroot/pd-gem/Gem Gem
 fi
 msg done


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Archlinux packages (was: enhance...)

2013-02-09 Thread michael noble
On Sat, Feb 9, 2013 at 7:31 AM, Fero Kiraly fero.kir...@gmail.com wrote:

 ok. I get working pd-vanilla, pdx, pd-l2ork on one archlinux system.


 https://aur.archlinux.org/packages/pd-l2ork/


Fantastic that you've made these available. Thanks a lot.

Unfortunately, the build for pd-l2ork is failing for me at the
disis_wiimote build stage. I can post the errors if you like but I suspect
the build fails because disis_wiimote requires the pd-l2ork vesion of
cwiid. For now I 'll try building without disis_wiimote, but it is
something I would like to use so that's not an ideal solution. I was
wondering how you have been able to successfully build pd-l2ork with this
external included, since the PKGBUILD does not download the required cwiid
tarball or attempt to build it so far as I can tell.

thanks again
Michael
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Archlinux packages (was: enhance...)

2013-02-09 Thread Fero Kiraly
honestly I dont know where could be problem with compiling disis wiimote,
on my system it builds. I just tried example disis_wiimote-help.pd
and the object is not available. In console are errors:


/usr/lib/pd-l2ork/extra/disis_wiimote.pd_linux:
/usr/lib/pd-l2ork/extra/disis_wiimote.pd_linux: undefined symbol:
cwiid_toggle_passthrough_mode
 disis_wiimote
... couldn't create
/usr/lib/pd-l2ork/extra/disis_wiimote.pd_linux:
/usr/lib/pd-l2ork/extra/disis_wiimote.pd_linux: undefined symbol:
cwiid_toggle_passthrough_mode
 disis_wiimote 00:19:1D:BE:6A:66
... couldn't create
/usr/lib/pd-l2ork/extra/disis_wiimote.pd_linux:
/usr/lib/pd-l2ork/extra/disis_wiimote.pd_linux: undefined symbol:
cwiid_toggle_passthrough_mode
 disis_wiimote
... couldn't create
/usr/lib/pd-l2ork/extra/disis_wiimote.pd_linux:
/usr/lib/pd-l2ork/extra/disis_wiimote.pd_linux: undefined symbol:
cwiid_toggle_passthrough_mode
 disis_wiimote 00:19:1D:BE:6A:66
... couldn't create


???

fk.
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Archlinux packages (was: enhance...)

2013-02-09 Thread michael noble
On Sat, Feb 9, 2013 at 9:02 PM, Fero Kiraly fero.kir...@gmail.com wrote:


 honestly I dont know where could be problem with compiling disis wiimote,
 on my system it builds. I just tried example disis_wiimote-help.pd
 and the object is not available. In console are errors:


 /usr/lib/pd-l2ork/extra/disis_wiimote.pd_linux:
 /usr/lib/pd-l2ork/extra/disis_wiimote.pd_linux: undefined symbol:
 cwiid_toggle_passthrough_mode
  disis_wiimote
 ... couldn't create
 /usr/lib/pd-l2ork/extra/disis_wiimote.pd_linux:
 /usr/lib/pd-l2ork/extra/disis_wiimote.pd_linux: undefined symbol:
 cwiid_toggle_passthrough_mode
  disis_wiimote 00:19:1D:BE:6A:66
 ... couldn't create
 /usr/lib/pd-l2ork/extra/disis_wiimote.pd_linux:
 /usr/lib/pd-l2ork/extra/disis_wiimote.pd_linux: undefined symbol:
 cwiid_toggle_passthrough_mode
  disis_wiimote
 ... couldn't create
 /usr/lib/pd-l2ork/extra/disis_wiimote.pd_linux:
 /usr/lib/pd-l2ork/extra/disis_wiimote.pd_linux: undefined symbol:
 cwiid_toggle_passthrough_mode
  disis_wiimote 00:19:1D:BE:6A:66
 ... couldn't create


 ???

 fk.



On the l2ork website it states that there is a specific build of cwiid
needed that is downloadable from the site. Ivica mentioned something about
this in an earlier email as well, so I suspect it is the cause of the
issue.
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Archlinux packages (was: enhance...)

2013-02-09 Thread Fero Kiraly
maybe should be packaged as cwid-pd-l2ork.
I have no time now.
fk.


2013/2/9 michael noble loop...@gmail.com

 On Sat, Feb 9, 2013 at 9:02 PM, Fero Kiraly fero.kir...@gmail.com wrote:


 honestly I dont know where could be problem with compiling disis wiimote,
 on my system it builds. I just tried example disis_wiimote-help.pd
 and the object is not available. In console are errors:


 /usr/lib/pd-l2ork/extra/disis_wiimote.pd_linux:
 /usr/lib/pd-l2ork/extra/disis_wiimote.pd_linux: undefined symbol:
 cwiid_toggle_passthrough_mode
  disis_wiimote
 ... couldn't create
 /usr/lib/pd-l2ork/extra/disis_wiimote.pd_linux:
 /usr/lib/pd-l2ork/extra/disis_wiimote.pd_linux: undefined symbol:
 cwiid_toggle_passthrough_mode
  disis_wiimote 00:19:1D:BE:6A:66
 ... couldn't create
 /usr/lib/pd-l2ork/extra/disis_wiimote.pd_linux:
 /usr/lib/pd-l2ork/extra/disis_wiimote.pd_linux: undefined symbol:
 cwiid_toggle_passthrough_mode
  disis_wiimote
 ... couldn't create
 /usr/lib/pd-l2ork/extra/disis_wiimote.pd_linux:
 /usr/lib/pd-l2ork/extra/disis_wiimote.pd_linux: undefined symbol:
 cwiid_toggle_passthrough_mode
  disis_wiimote 00:19:1D:BE:6A:66
 ... couldn't create


 ???

 fk.



 On the l2ork website it states that there is a specific build of cwiid
 needed that is downloadable from the site. Ivica mentioned something about
 this in an earlier email as well, so I suspect it is the cause of the
 issue.




-- 
Fero Kiraly
www.cluster-ensemble.com
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Archlinux packages (was: enhance...)

2013-02-08 Thread Charles Goyard
Hi,

thanks.

Here's a PKGBUILD for pdsend/pdreceive alone, duplicating how debian
packages are organized.

Now it would be a good thing to have the pd, pd-extended and pd-l2ork
drop these two binaries, so there are almost nothing left in conflict.

And also have pd-l2ork install in /usr, not /usr/local.

Cheers,
Charles

Fero Kiraly wrote:
 I just now updated archlinux packages.
 pd-l2ork now installs to /usr/local... so that prevent collision to pd-ext.

# $Id:$
# Maintainer : to be found

pkgname=puredata-utils
pkgver=0.44.2
_ver=${pkgver%.*}-${pkgver##*.}
pkgrel=1
pkgdesc=pdsend and pdreceive for Pure Data
arch=('i686' 'x86_64')
url=http://crca.ucsd.edu/~msp/software.html;
license=('custom:BSD')
optdepends=('puredata')
source=(http://crca.ucsd.edu/~msp/Software/pd-$_ver.src.tar.gz;)
md5sums=('629ba1ba04d3db29874ea6902c94f9f0')

build() {
  cd $srcdir/pd-$_ver/src
  gcc -o pdsend u_pdsend.c
  gcc -o pdreceive u_pdreceive.c
}

package() {
  install -Dm755 $srcdir/pd-$_ver/src/pdsend  $pkgdir/usr/bin/pdsend
  install -Dm755 $srcdir/pd-$_ver/src/pdreceive   $pkgdir/usr/bin/pdreceive
  install -Dm644 $srcdir/pd-$_ver/man/pdsend.1
$pkgdir/usr/man/man1/pdsend.1
  install -Dm644 $srcdir/pd-$_ver/man/pdreceive.1 
$pkgdir/usr/man/man1/pdreceive.1
  install -Dm644 $srcdir/pd-$_ver/LICENSE.txt 
$pkgdir/usr/share/licenses/pd-utils/LICENSE
}

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Archlinux packages (was: enhance...)

2013-02-08 Thread Fero Kiraly
nice ;)

we are on the way..
I think  am am able to do the rest..

fk.
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Archlinux packages (was: enhance...)

2013-02-08 Thread Fero Kiraly
ok. I am preparing the new packages for pd, pdx, pdl and I met some errors.
I have removed pdsend  pdreceive also with man pages from pdx.

When installing pd vanilla I ve encounter conflicting files:
puredata: /usr/bin/pd-gui.tcl exists in filesystem
puredata: /usr/include/m_pd.h exists in filesystem
puredata: /usr/include/pa_jack.h exists in filesystem
puredata: /usr/include/pa_linux_alsa.h exists in filesystem
puredata: /usr/include/portaudio.h exists in filesystem
puredata: /usr/lib/libportaudio.a exists in filesystem
puredata: /usr/lib/libportaudio.so exists in filesystem
puredata: /usr/lib/libportaudio.so.2 exists in filesystem
puredata: /usr/lib/libportaudio.so.2.0.0 exists in filesystem

what with them ?
thanks for help.


fk.
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Archlinux packages (was: enhance...)

2013-02-08 Thread Charles Goyard
Fero Kiraly wrote:
 ok. I am preparing the new packages for pd, pdx, pdl and I met some errors.
 I have removed pdsend  pdreceive also with man pages from pdx.
 
 When installing pd vanilla I ve encounter conflicting files:
 puredata: /usr/bin/pd-gui.tcl exists in filesystem
 puredata: /usr/include/m_pd.h exists in filesystem
 puredata: /usr/include/pa_jack.h exists in filesystem
 puredata: /usr/include/pa_linux_alsa.h exists in filesystem
 puredata: /usr/include/portaudio.h exists in filesystem
 puredata: /usr/lib/libportaudio.a exists in filesystem
 puredata: /usr/lib/libportaudio.so exists in filesystem
 puredata: /usr/lib/libportaudio.so.2 exists in filesystem
 puredata: /usr/lib/libportaudio.so.2.0.0 exists in filesystem
 
 what with them ?
 thanks for help.

with pacman -Qo file you can tell which package owns a file.

For /usr/include and /usr/lib, I'll say they should be in
/usr/include(lib)/pd-extended/ for example.

For pd-gui.tcl it's more tricky I guess. It may need a archlinux-centric
patch.

Thanks,
Charles

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Archlinux packages (was: enhance...)

2013-02-08 Thread IOhannes zmölnig

On 02/08/2013 07:14 PM, Charles Goyard wrote:

Fero Kiraly wrote:

ok. I am preparing the new packages for pd, pdx, pdl and I met some errors.
I have removed pdsend  pdreceive also with man pages from pdx.

When installing pd vanilla I ve encounter conflicting files:
puredata: /usr/bin/pd-gui.tcl exists in filesystem
puredata: /usr/include/m_pd.h exists in filesystem
puredata: /usr/include/pa_jack.h exists in filesystem
puredata: /usr/include/pa_linux_alsa.h exists in filesystem
puredata: /usr/include/portaudio.h exists in filesystem
puredata: /usr/lib/libportaudio.a exists in filesystem
puredata: /usr/lib/libportaudio.so exists in filesystem
puredata: /usr/lib/libportaudio.so.2 exists in filesystem
puredata: /usr/lib/libportaudio.so.2.0.0 exists in filesystem



portaudio files (libportaudio*, pa_*) should definitely _not_ be 
installed by any pd package.
you should try to use your system's portaudio, rather than the one Pd 
comes with.


as for Pd's include file(s):
install to /usr/include/pdflavour/
/usr/include/m_pd.h may (probably should) be kept for compat reasons, 
and i think that it should belong to pd-vanilla.
(but then: afaik m_pd.h from pd-vanilla and pd-extended don't differ in 
any practical sense; with pd-l2ork this might be different)


fgmadr
IOhannes

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Archlinux packages

2013-02-08 Thread Hans-Christoph Steiner
On 02/08/2013 04:14 PM, IOhannes zmölnig wrote:
 On 02/08/2013 07:14 PM, Charles Goyard wrote:
 Fero Kiraly wrote:
 ok. I am preparing the new packages for pd, pdx, pdl and I met some errors.
 I have removed pdsend  pdreceive also with man pages from pdx.

 When installing pd vanilla I ve encounter conflicting files:
 puredata: /usr/bin/pd-gui.tcl exists in filesystem
 puredata: /usr/include/m_pd.h exists in filesystem
 puredata: /usr/include/pa_jack.h exists in filesystem
 puredata: /usr/include/pa_linux_alsa.h exists in filesystem
 puredata: /usr/include/portaudio.h exists in filesystem
 puredata: /usr/lib/libportaudio.a exists in filesystem
 puredata: /usr/lib/libportaudio.so exists in filesystem
 puredata: /usr/lib/libportaudio.so.2 exists in filesystem
 puredata: /usr/lib/libportaudio.so.2.0.0 exists in filesystem
 
 
 portaudio files (libportaudio*, pa_*) should definitely _not_ be installed by
 any pd package.
 you should try to use your system's portaudio, rather than the one Pd comes 
 with.
 
 as for Pd's include file(s):
 install to /usr/include/pdflavour/
 /usr/include/m_pd.h may (probably should) be kept for compat reasons, and i
 think that it should belong to pd-vanilla.
 (but then: afaik m_pd.h from pd-vanilla and pd-extended don't differ in any
 practical sense; with pd-l2ork this might be different)

/usr/include/m_pd.h should definitely stay and definitely be from pd-vanilla.
Pd-extended's has some differences, including the version macros i.e. TEST
version.

.hc

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Archlinux packages (was: enhance...)

2013-02-08 Thread Fero Kiraly
ok. I get working pd-vanilla, pdx, pd-l2ork on one archlinux system.

All in /usr/lib/

https://aur.archlinux.org/packages/pd-vanilla/   - vanilla version (cannot
rename to puredata, because on official repos is package with the same name)
https://aur.archlinux.org/packages/pd-extended/ - binary is named
'pdextended'  I think maybe it could be pdx ?
https://aur.archlinux.org/packages/pd-l2ork/
https://aur.archlinux.org/packages/puredata-utils/ - pdsend, pdreceive

what is missing is 'cyclone', it should be installed separately, but I dont
have energy for that.

install all with:

yaourt -S pd-vanilla pd-extended pd-l2ork puredata-utils

You can check for errors.

fk.
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list