packaging supercollider for debian

2011-07-14 Thread Robin Gareus
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

I was in need for a supercollider [1] debian package and since I could
not find one..
..I took Dan 'MCLD' Stowell's Ubuntu package [2], more specifically the
Natty-2 version [3] and helped myself.

After two small patches (a fix for wiimote + gcc4.6 [4], and override to
shlibdeps [5]) it compiles, installs and works on debian/wheezy+sid.

All the hard work is done already: debianization, separate -emacs -gedit
and -vim plugins, debian-readme's and whatnot. I don't know if Dan
(CCed) is the sole author of the packaging (it looks like Free Ekanayaka
and Paul Brossier had their fingers in there years ago) but it's a job
well done and pretty much lintian clean though there are some scattered
warnings.

It's be great to get supercollider into debian [again]!
Is anyone here interested and qualified to push this forward?!

Cheers!
robin


[1] http://supercollider.sourceforge.net/
[2] https://launchpad.net/~supercollider/+archive/ppa
[3]
https://launchpad.net/~supercollider/+archive/ppa/+files/supercollider_3.4.3-0ubuntu1%7Enatty2.tar.gz
[4] http://rg42.org/_media/wiki/sc_wiimote_gcc46.diff
[5] http://rg42.org/_media/wiki/sc_debian_shlibs.diff
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk4e5bAACgkQeVUk8U+VK0JJhwCfV3D/jrpnufe6IuzBf+6YnlYi
SDcAnAvfXduUvtYNBJjLQpKmAow6lWrv
=gCtt
-END PGP SIGNATURE-

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Re: packaging supercollider for debian

2011-07-14 Thread Felipe Sateler
Hi,
(CCing you because I don't know if you are subscribed)

On Thu, Jul 14, 2011 at 08:48, Robin Gareus  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi all,
>
> I was in need for a supercollider [1] debian package and since I could
> not find one..
> ..I took Dan 'MCLD' Stowell's Ubuntu package [2], more specifically the
> Natty-2 version [3] and helped myself.
>
> After two small patches (a fix for wiimote + gcc4.6 [4], and override to
> shlibdeps [5]) it compiles, installs and works on debian/wheezy+sid.
>
> All the hard work is done already: debianization, separate -emacs -gedit
> and -vim plugins, debian-readme's and whatnot. I don't know if Dan
> (CCed) is the sole author of the packaging (it looks like Free Ekanayaka
> and Paul Brossier had their fingers in there years ago) but it's a job
> well done and pretty much lintian clean though there are some scattered
> warnings.
>
> It's be great to get supercollider into debian [again]!
> Is anyone here interested and qualified to push this forward?!



I've been a bit MIA the past few weeks/months, but we already have a
package in the works. Please check it out of our git repository[1] and
check if any of your fixes still apply. We would be very happy to have
you join us in maintaining this package!

[1] 
http://anonscm.debian.org/gitweb/?p=pkg-multimedia/supercollider.git;a=summary


-- 

Saludos,
Felipe Sateler

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Re: packaging supercollider for debian

2011-07-14 Thread Robin Gareus
Hi Felipe,

On 07/14/2011 03:30 PM, Felipe Sateler wrote:
> Hi,
> (CCing you because I don't know if you are subscribed)

I am subscribed though mostly lurking.

> On Thu, Jul 14, 2011 at 08:48, Robin Gareus  wrote:
[..]
> 
> I've been a bit MIA the past few weeks/months, but we already have a
> package in the works. Please check it out of our git repository[1] and
> check if any of your fixes still apply. We would be very happy to have
> you join us in maintaining this package!
> 
> [1] 
> http://anonscm.debian.org/gitweb/?p=pkg-multimedia/supercollider.git;a=summary
> 

Thanks for this link. Of course I searched around but this one was
hidden from view.

To build the debian-git-checkout both patches [1,2] are still needed
here. Without the wiimote fix it I get:

  Source/lang/LangPrimSource/SC_Wii.cpp: In member function
'cwiid_wiimote_t* SC_WIIManager::discover()':
  Source/lang/LangPrimSource/SC_Wii.cpp:364:12: error: taking address
of temporary [-fpermissive]
  scons: *** [Source/lang/LangPrimSource/SC_Wii.os] Error 1

and without overriding the shlibdeps:

  dh_shlibdeps -psupercollider
  dpkg-shlibdeps: error: no dependency information found for /usr/lib
/libstdc++.so.6 (used by debian/supercollider/usr/bin/sclang).
  dh_shlibdeps: dpkg-shlibdeps -Tdebian/supercollider.substvars
debian/supercollider/usr/bin/sclang returned exit code 2
  make: *** [binary-predeb-IMPL/supercollider] Error 2
  dpkg-buildpackage: error: fakeroot debian/rules binary gave error
exit status 2

The latter may be specific to my system.. overriding it was a pragmatic
solution to actually make some music instead of playing with dpkg.
I suppose you guys know how to properly fix this in a jiffy. I'll watch
and learn.

As for joining the maintainer-team: Alas, I have to refuse. I am already
tied up in too many projects.

ciao,
robin


[1] http://rg42.org/_media/wiki/sc_wiimote_gcc46.diff
[2] http://rg42.org/_media/wiki/sc_debian_shlibs.diff

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Re: packaging supercollider for debian

2011-07-16 Thread Dan S
Hi -

2011/7/14 Robin Gareus :
> Hi Felipe,
>
> On 07/14/2011 03:30 PM, Felipe Sateler wrote:
>> Hi,
>> (CCing you because I don't know if you are subscribed)
>
> I am subscribed though mostly lurking.
>
>> On Thu, Jul 14, 2011 at 08:48, Robin Gareus  wrote:
> [..]
>>
>> I've been a bit MIA the past few weeks/months, but we already have a
>> package in the works. Please check it out of our git repository[1] and
>> check if any of your fixes still apply. We would be very happy to have
>> you join us in maintaining this package!
>>
>> [1] 
>> http://anonscm.debian.org/gitweb/?p=pkg-multimedia/supercollider.git;a=summary
>>
>
> Thanks for this link. Of course I searched around but this one was
> hidden from view.
>
> To build the debian-git-checkout both patches [1,2] are still needed
> here.

Thanks for the patches.

> Without the wiimote fix it I get:
>
>  Source/lang/LangPrimSource/SC_Wii.cpp: In member function
>    'cwiid_wiimote_t* SC_WIIManager::discover()':
>  Source/lang/LangPrimSource/SC_Wii.cpp:364:12: error: taking address
>    of temporary [-fpermissive]
>  scons: *** [Source/lang/LangPrimSource/SC_Wii.os] Error 1

Today I imported the new release 3.4.4 of supercollider, which already
has this fix, hooray.


> and without overriding the shlibdeps:
>
>  dh_shlibdeps -psupercollider
>  dpkg-shlibdeps: error: no dependency information found for /usr/lib
>    /libstdc++.so.6 (used by debian/supercollider/usr/bin/sclang).
>  dh_shlibdeps: dpkg-shlibdeps -Tdebian/supercollider.substvars
>    debian/supercollider/usr/bin/sclang returned exit code 2
>  make: *** [binary-predeb-IMPL/supercollider] Error 2
>  dpkg-buildpackage: error: fakeroot debian/rules binary gave error
>    exit status 2
>
> The latter may be specific to my system.. overriding it was a pragmatic
> solution to actually make some music instead of playing with dpkg.
> I suppose you guys know how to properly fix this in a jiffy. I'll watch
> and learn.

I'm not sure about this one. I don't get any problem, and I'm not keen
on overriding the test unless there's a clear reason. Maybe someone
else knows better.

> As for joining the maintainer-team: Alas, I have to refuse. I am already
> tied up in too many projects.

Dang. It was worth a try ;) thanks for testing+reporting

Dan


> ciao,
> robin
>
>
> [1] http://rg42.org/_media/wiki/sc_wiimote_gcc46.diff
> [2] http://rg42.org/_media/wiki/sc_debian_shlibs.diff
>

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Re: packaging supercollider for debian

2011-07-18 Thread Felipe Sateler
On Sat, Jul 16, 2011 at 13:45, Dan S  wrote:
> Hi -
>
> 2011/7/14 Robin Gareus :
>> Hi Felipe,
>>
>> On 07/14/2011 03:30 PM, Felipe Sateler wrote:
>>> Hi,
>>> (CCing you because I don't know if you are subscribed)
>>
>> I am subscribed though mostly lurking.
>>
>>> On Thu, Jul 14, 2011 at 08:48, Robin Gareus  wrote:
>> [..]
>>>
>>> I've been a bit MIA the past few weeks/months, but we already have a
>>> package in the works. Please check it out of our git repository[1] and
>>> check if any of your fixes still apply. We would be very happy to have
>>> you join us in maintaining this package!
>>>
>>> [1] 
>>> http://anonscm.debian.org/gitweb/?p=pkg-multimedia/supercollider.git;a=summary
>>>
>>
>> Thanks for this link. Of course I searched around but this one was
>> hidden from view.
>>
>> To build the debian-git-checkout both patches [1,2] are still needed
>> here.
>
> Thanks for the patches.
>
>> Without the wiimote fix it I get:
>>
>>  Source/lang/LangPrimSource/SC_Wii.cpp: In member function
>>    'cwiid_wiimote_t* SC_WIIManager::discover()':
>>  Source/lang/LangPrimSource/SC_Wii.cpp:364:12: error: taking address
>>    of temporary [-fpermissive]
>>  scons: *** [Source/lang/LangPrimSource/SC_Wii.os] Error 1
>
> Today I imported the new release 3.4.4 of supercollider, which already
> has this fix, hooray.

I've successfully test-built supercollider and test-drove it. I will
upload it to unstable soon (tomorrow hopefully) if no objections
arise.

>
>
>> and without overriding the shlibdeps:
>>
>>  dh_shlibdeps -psupercollider
>>  dpkg-shlibdeps: error: no dependency information found for /usr/lib
>>    /libstdc++.so.6 (used by debian/supercollider/usr/bin/sclang).
>>  dh_shlibdeps: dpkg-shlibdeps -Tdebian/supercollider.substvars
>>    debian/supercollider/usr/bin/sclang returned exit code 2
>>  make: *** [binary-predeb-IMPL/supercollider] Error 2
>>  dpkg-buildpackage: error: fakeroot debian/rules binary gave error
>>    exit status 2
>>
>> The latter may be specific to my system.. overriding it was a pragmatic
>> solution to actually make some music instead of playing with dpkg.
>> I suppose you guys know how to properly fix this in a jiffy. I'll watch
>> and learn.
>
> I'm not sure about this one. I don't get any problem, and I'm not keen
> on overriding the test unless there's a clear reason. Maybe someone
> else knows better.

This is very likely your (Robin) system's fault. I can't reproduce either.

-- 

Saludos,
Felipe Sateler

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Re: packaging supercollider for debian

2011-07-19 Thread Felipe Sateler
On Mon, Jul 18, 2011 at 23:28, Felipe Sateler  wrote:
> On Sat, Jul 16, 2011 at 13:45, Dan S  wrote:
>> Hi -
>>
>> 2011/7/14 Robin Gareus :
>>> Hi Felipe,
>>>
>>> On 07/14/2011 03:30 PM, Felipe Sateler wrote:
 Hi,
 (CCing you because I don't know if you are subscribed)
>>>
>>> I am subscribed though mostly lurking.
>>>
 On Thu, Jul 14, 2011 at 08:48, Robin Gareus  wrote:
>>> [..]

 I've been a bit MIA the past few weeks/months, but we already have a
 package in the works. Please check it out of our git repository[1] and
 check if any of your fixes still apply. We would be very happy to have
 you join us in maintaining this package!

 [1] 
 http://anonscm.debian.org/gitweb/?p=pkg-multimedia/supercollider.git;a=summary

>>>
>>> Thanks for this link. Of course I searched around but this one was
>>> hidden from view.
>>>
>>> To build the debian-git-checkout both patches [1,2] are still needed
>>> here.
>>
>> Thanks for the patches.
>>
>>> Without the wiimote fix it I get:
>>>
>>>  Source/lang/LangPrimSource/SC_Wii.cpp: In member function
>>>    'cwiid_wiimote_t* SC_WIIManager::discover()':
>>>  Source/lang/LangPrimSource/SC_Wii.cpp:364:12: error: taking address
>>>    of temporary [-fpermissive]
>>>  scons: *** [Source/lang/LangPrimSource/SC_Wii.os] Error 1
>>
>> Today I imported the new release 3.4.4 of supercollider, which already
>> has this fix, hooray.
>
> I've successfully test-built supercollider and test-drove it. I will
> upload it to unstable soon (tomorrow hopefully) if no objections
> arise.
>

Uploading now. Dan, please check if the chdir=1 options can be removed from
the make_local_links calls because it breaks parallel builds.



-- 

Saludos,
Felipe Sateler

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Re: packaging supercollider for debian

2011-07-23 Thread Dan S
2011/7/20 Felipe Sateler :
> On Mon, Jul 18, 2011 at 23:28, Felipe Sateler  wrote:
>> On Sat, Jul 16, 2011 at 13:45, Dan S  wrote:
>>> Hi -
>>>
>>> 2011/7/14 Robin Gareus :
 Hi Felipe,

 On 07/14/2011 03:30 PM, Felipe Sateler wrote:
> Hi,
> (CCing you because I don't know if you are subscribed)

 I am subscribed though mostly lurking.

> On Thu, Jul 14, 2011 at 08:48, Robin Gareus  wrote:
 [..]
>
> I've been a bit MIA the past few weeks/months, but we already have a
> package in the works. Please check it out of our git repository[1] and
> check if any of your fixes still apply. We would be very happy to have
> you join us in maintaining this package!
>
> [1] 
> http://anonscm.debian.org/gitweb/?p=pkg-multimedia/supercollider.git;a=summary
>

 Thanks for this link. Of course I searched around but this one was
 hidden from view.

 To build the debian-git-checkout both patches [1,2] are still needed
 here.
>>>
>>> Thanks for the patches.
>>>
 Without the wiimote fix it I get:

  Source/lang/LangPrimSource/SC_Wii.cpp: In member function
    'cwiid_wiimote_t* SC_WIIManager::discover()':
  Source/lang/LangPrimSource/SC_Wii.cpp:364:12: error: taking address
    of temporary [-fpermissive]
  scons: *** [Source/lang/LangPrimSource/SC_Wii.os] Error 1
>>>
>>> Today I imported the new release 3.4.4 of supercollider, which already
>>> has this fix, hooray.
>>
>> I've successfully test-built supercollider and test-drove it. I will
>> upload it to unstable soon (tomorrow hopefully) if no objections
>> arise.
>>
>
> Uploading now. Dan, please check if the chdir=1 options can be removed from
> the make_local_links calls because it breaks parallel builds.

I've looked at this. I don't think it can be done from within scons,
so we'd need to patch it downstream to avoid those calls, and then do
them ourselves in the rules file. Given that the next version of SC
won't even use scons (it's moving to cmake), it shouldn't be a
long-term issue anyway.

Thanks
Dan

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Re: packaging supercollider for debian

2011-07-24 Thread Felipe Sateler
On Sat, Jul 23, 2011 at 13:10, Dan S  wrote:
> 2011/7/20 Felipe Sateler :
>> On Mon, Jul 18, 2011 at 23:28, Felipe Sateler  wrote:
>>> On Sat, Jul 16, 2011 at 13:45, Dan S  wrote:
 Hi -

 2011/7/14 Robin Gareus :
> Hi Felipe,
>
> On 07/14/2011 03:30 PM, Felipe Sateler wrote:
>> Hi,
>> (CCing you because I don't know if you are subscribed)
>
> I am subscribed though mostly lurking.
>
>> On Thu, Jul 14, 2011 at 08:48, Robin Gareus  wrote:
> [..]
>>
>> I've been a bit MIA the past few weeks/months, but we already have a
>> package in the works. Please check it out of our git repository[1] and
>> check if any of your fixes still apply. We would be very happy to have
>> you join us in maintaining this package!
>>
>> [1] 
>> http://anonscm.debian.org/gitweb/?p=pkg-multimedia/supercollider.git;a=summary
>>
>
> Thanks for this link. Of course I searched around but this one was
> hidden from view.
>
> To build the debian-git-checkout both patches [1,2] are still needed
> here.

 Thanks for the patches.

> Without the wiimote fix it I get:
>
>  Source/lang/LangPrimSource/SC_Wii.cpp: In member function
>    'cwiid_wiimote_t* SC_WIIManager::discover()':
>  Source/lang/LangPrimSource/SC_Wii.cpp:364:12: error: taking address
>    of temporary [-fpermissive]
>  scons: *** [Source/lang/LangPrimSource/SC_Wii.os] Error 1

 Today I imported the new release 3.4.4 of supercollider, which already
 has this fix, hooray.
>>>
>>> I've successfully test-built supercollider and test-drove it. I will
>>> upload it to unstable soon (tomorrow hopefully) if no objections
>>> arise.
>>>
>>
>> Uploading now. Dan, please check if the chdir=1 options can be removed from
>> the make_local_links calls because it breaks parallel builds.
>
> I've looked at this. I don't think it can be done from within scons,
> so we'd need to patch it downstream to avoid those calls, and then do
> them ourselves in the rules file. Given that the next version of SC
> won't even use scons (it's moving to cmake), it shouldn't be a
> long-term issue anyway.

Great. Good to see one more scons build system go away. Lets just wait
for cmake then.


-- 

Saludos,
Felipe Sateler

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers