Patches item #3429241, was opened at 2011-10-27 02:59
Message generated for change (Settings changed) made by zmoelnig
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3429241&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: pd-extended
Group: wishlist
Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Roman Haefeli (reduzent)
Assigned to: Roman Haefeli (rdz)
Summary: adding iemnet to Pd-extended
Initial Comment:
The attached patch adds iemnet to <pd-svn>/externals/Makefile, so that it gets built and installed into Pd-extended
----------------------------------------------------------------------
Comment By: Roman Haefeli (reduzent)
Date: 2011-10-27 10:48
Message:
Ok, thanks. Of course, I'll check how the build goes after applying changes
to the Makefile.
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2011-10-27 06:58
Message:
You can just commit directly to externals/Makefile, as long as you follow
up on the nightly builds to make sure its working on all platforms.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3429241&group_…
Patches item #3429241, was opened at 2011-10-27 02:59
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3429241&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: pd-extended
Group: wishlist
Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Roman Haefeli (reduzent)
Assigned to: Roman Haefeli (rdz)
Summary: adding iemnet to Pd-extended
Initial Comment:
The attached patch adds iemnet to <pd-svn>/externals/Makefile, so that it gets built and installed into Pd-extended
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2012-05-06 19:43
Message:
7IiCwU <a href="http://fslgbpmozjpf.com/">fslgbpmozjpf</a>,
[url=http://kzkohwrfqksy.com/]kzkohwrfqksy[/url],
[link=http://fffkwlbnvmlb.com/]fffkwlbnvmlb[/link],
http://wndkumoqkdjx.com/
----------------------------------------------------------------------
Comment By: Roman Haefeli (reduzent)
Date: 2011-10-27 10:48
Message:
Ok, thanks. Of course, I'll check how the build goes after applying changes
to the Makefile.
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2011-10-27 06:58
Message:
You can just commit directly to externals/Makefile, as long as you follow
up on the nightly builds to make sure its working on all platforms.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3429241&group_…
Bugs item #3522957, was opened at 2012-05-02 02:25
Message generated for change (Tracker Item Submitted) made by jamessssss
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=3522957&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: pd-extended
Group: v0.42
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: James (jamessssss)
Assigned to: Hans-Christoph Steiner (eighthave)
Summary: [hid] generates two events for each key pressed
Initial Comment:
On Ubuntu 10.04 LTS and Arch Linux with Pd-extended 0.42.5, [hid] version 0.7 generates two key events for each key pressed. Sometimes the events also arrive in a non-consecutive order, eg:
[hid] 0.7, written by Hans-Christoph Steiner <hans(a)eds.org>
compiled on Apr 15 2012 at 08:12:47
[hid] opened device 4 (/dev/input/event4): AT Translated Set 2 keyboard
print: key key_j 1
print: key key_l 1
print: key key_j 1
print: key key_l 1
print: key key_j 0
print: key key_j 0
print: key key_l 0
print: key key_l 0
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=3522957&group_…
Bugs item #3522945, was opened at 2012-05-02 01:30
Message generated for change (Tracker Item Submitted) made by elmex
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=3522945&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: pd-extended
Group: v0.43
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Robin Redeker (elmex)
Assigned to: Hans-Christoph Steiner (eighthave)
Summary: TCL error while drawing graph with "create line"
Initial Comment:
Pd-0.43.1 ("extended-20120424") compiled 10:32:22 Apr 24 2012
on squeeze/sid Debian GNU/Linux AMD64
I'm getting this error while writing values to an array/graph with tabwrite:
(Tcl) UNHANDLED ERROR: wrong # coordinates: expected an even number, got 91
while executing
".xf25d70.c create line \
24 330.000000 \
26 330.000000 \
28 330.000000 \
30 330.000000 \
32 330.000000 \
34 330.000000 \
36 330.000000 \
38 330.000000..."
("uplevel" body line 3)
invoked from within
"uplevel #0 $cmds_from_pd"
I've attached a .pd patch that reproduces the error here directly after loading
(loadbang is wired to start dsp and the patch).
I believe, TCL does not like getting these "numbers" on "create line":
...
115 -inf \
117 -inf \
119 -inf \
121 -inf \
123 -inf \
125 -inf \
127 -inf \
129 -inf \
...
If this is the case, and the Pd "backend" sends these "numbers" to the TCL
frontend, and that is what is causing the problems, then I would expect either
the frontend ignoring these numbers and assume some other kind of maximum. OR the
backend prevents sending this in the first place. At least I would expect no
TCL error, as these kinds of errors make the UI more or less unusable.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=3522945&group_…
Patches item #3521816, was opened at 2012-04-26 19:25
Message generated for change (Comment added) made by eighthave
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3521816&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: bugfix
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: Setting externals file extension, check for ANDROID platform
Initial Comment:
The Android GCC toolchain #defines linux, so the Android specific branch was never being hit. Moving the check above Linux fixes it.
Before this patch external extensions ".l_i386" and ".pd_linux" are checked for on Android. This patch will accept either ".l_arm" or ".pd_linux", so the externals built by PdCore will still work.
It doesn't address the issue of Android x86.
Should probably add a check for arm vs x86 architecture too, but I haven't been able to find documentation of the architecture macros.
----------------------------------------------------------------------
>Comment By: Hans-Christoph Steiner (eighthave)
Date: 2012-04-30 11:42
Message:
I attached a patch for my solution to the problem at hand: Android file
extensions. It will also fix file extensions for GNU/Linux on ARM. The
original code would make GNU/Linux/ARM use .l_i386.
This also adds '.so' as the default extension when the particular case is
undefined. I think this is better than having the default be nothing at
all, and it should be quite safe since .so is the standard extension for
shared libraries on GNU systems, BSD systems, Android, and others.
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2012-04-30 07:36
Message:
How about we instead solve the problem listed above in this bug report? I
think we should have the add an #else that sets the file extension to
".so". The generic .dll extension has been used for Windows since forever
and I don't hear about problems there. And then ditch the __ANDROID__
section and move the ARM arch under the __linux__ section.
The file extensions are a mess in terms of accurate naming. __GNU__ and
__FreeBSD_kernel__ are not Linux at all, and they are set to use .pd_linux.
I don't think the kernel even matters for generic externals, it is
probably the libc that matters, so it should be something like .gnu_i386 or
.bsd_i386. Or maybe its the binary format that's more important, i.e.
.elf_i386 and .mach_i386. Makes me think this approach to naming is just
fundamentally flawed.
Lastly, IOhannes, the key part that you are missing about .d_fat/.d_ppc is
that they do not solve any problems. So something that causes a minor
problem, but solves nothing seems pretty worthless to me. Even discussing
it as much as we have seems like a waste of time.
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2012-04-30 00:28
Message:
for the record, here are the relevant threads i found in the archives:
- http://lists.puredata.info/pipermail/pd-list/2009-01/067498.html
- http://lists.puredata.info/pipermail/pd-list/2009-07/071476.html
as you will see, the only real issue that was ever raised was the increased
load-time when adding more and more extensions. all the "other" issues
where always referred to as "there are other issues which i don't remember
right now, check the archive", without ever giving evidence that there are
indeed other issues.
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2012-04-29 20:14
Message:
File extensions are very OS-specific. The Linux extensions are fine
(except perhaps the l_ia64 being the wrong arch). Mac OS X does not need
different ones since you can build universal "fat" binaries.
One example of a problem caused by adding more extensions is that it
increases the load time since Pd will have to check for more variations on
filenames. There are other issues, I don't remember them, but they're in
the archives.
----------------------------------------------------------------------
Comment By: Miller Puckette (millerpuckette)
Date: 2012-04-29 11:03
Message:
My intention in having the wierd extensions was to permit people to
distribute patches (such as realizations
of pieces) containing in-house externals that can run under any Pd version
and any OS. In this context
"externs" can be directories containing the various binaries which Pd
distinguishes by filename. OTOH, Pd
distributions themselves run on a single OS and architecture so don't need
the disambiguation, although in
my experience it hasn't been harmful (Hans has experienced otherwise in the
context of Pd extended though :)
So Pd is sort of stuck allowing both types of extensions.
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2012-04-29 10:36
Message:
Personally, I think its a waste your time and mine. Its been discussed,
check out the archives for the problems it causes. I've long since moved
on. We should be putting this energy solving the issue in this tracker,
rather than beating the .d_ppc/.d_fat dead horse.
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2012-04-28 10:16
Message:
thanks for the respone.
ad #1: very few people using .d_ppc/.d_fat is not really creating any
"problems", is it?
ad #2: will do (though afaict, PdX has a patch that actively removes the
functionality; should i create a patch that re-adds the extensions or
should i modify (eventually remove) the patch that erroneously removes the
extensions?
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2012-04-27 19:32
Message:
In response to #1: very few people are using .d_ppc and .d_fat files with
Pd vanilla.
and #2: patches welcome
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2012-04-27 08:54
Message:
<flames>
"Those file extension have a lot of issues as they are, for example, no
other program for Darwin/MacOSX uses per-arch file extension"...what
exactly is the "lot of issues" here? no other program for Darwin/MacOSX is
called "Pd", and still this is no issue.
</flames>
<moreflames>
if Pd-extended ignores binary files that it could happily load and by doing
so breaks compatibility with Pd-vanilla, i would say this is a bug in
Pd-extended.
</moreflames>
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2012-04-27 07:36
Message:
What about just defining '.so' has a possibility if __linux__, __FreeBSD__,
__FreeBSD_kernel__, __OpenBSD__ are defined, then people can choose to
manage the architecture in their own way.
Those file extension have a lot of issues as they are, for example, no
other program for Darwin/MacOSX uses per-arch file extensions: they use
universal binaries. For this reason , Pd-extended on Mac OS X only uses
.pd_darwin and universal binaries and ignores .d_fat and .d_ppc. Also,
Pd's .l_ia64 does not actually mean ia64 arch but instead amd64/x86_64, so
that file extension is just wrong.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3521816&group_…
Patches item #3521816, was opened at 2012-04-26 19:25
Message generated for change (Comment added) made by eighthave
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3521816&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: bugfix
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: Setting externals file extension, check for ANDROID platform
Initial Comment:
The Android GCC toolchain #defines linux, so the Android specific branch was never being hit. Moving the check above Linux fixes it.
Before this patch external extensions ".l_i386" and ".pd_linux" are checked for on Android. This patch will accept either ".l_arm" or ".pd_linux", so the externals built by PdCore will still work.
It doesn't address the issue of Android x86.
Should probably add a check for arm vs x86 architecture too, but I haven't been able to find documentation of the architecture macros.
----------------------------------------------------------------------
>Comment By: Hans-Christoph Steiner (eighthave)
Date: 2012-04-30 07:36
Message:
How about we instead solve the problem listed above in this bug report? I
think we should have the add an #else that sets the file extension to
".so". The generic .dll extension has been used for Windows since forever
and I don't hear about problems there. And then ditch the __ANDROID__
section and move the ARM arch under the __linux__ section.
The file extensions are a mess in terms of accurate naming. __GNU__ and
__FreeBSD_kernel__ are not Linux at all, and they are set to use .pd_linux.
I don't think the kernel even matters for generic externals, it is
probably the libc that matters, so it should be something like .gnu_i386 or
.bsd_i386. Or maybe its the binary format that's more important, i.e.
.elf_i386 and .mach_i386. Makes me think this approach to naming is just
fundamentally flawed.
Lastly, IOhannes, the key part that you are missing about .d_fat/.d_ppc is
that they do not solve any problems. So something that causes a minor
problem, but solves nothing seems pretty worthless to me. Even discussing
it as much as we have seems like a waste of time.
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2012-04-30 00:28
Message:
for the record, here are the relevant threads i found in the archives:
- http://lists.puredata.info/pipermail/pd-list/2009-01/067498.html
- http://lists.puredata.info/pipermail/pd-list/2009-07/071476.html
as you will see, the only real issue that was ever raised was the increased
load-time when adding more and more extensions. all the "other" issues
where always referred to as "there are other issues which i don't remember
right now, check the archive", without ever giving evidence that there are
indeed other issues.
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2012-04-29 20:14
Message:
File extensions are very OS-specific. The Linux extensions are fine
(except perhaps the l_ia64 being the wrong arch). Mac OS X does not need
different ones since you can build universal "fat" binaries.
One example of a problem caused by adding more extensions is that it
increases the load time since Pd will have to check for more variations on
filenames. There are other issues, I don't remember them, but they're in
the archives.
----------------------------------------------------------------------
Comment By: Miller Puckette (millerpuckette)
Date: 2012-04-29 11:03
Message:
My intention in having the wierd extensions was to permit people to
distribute patches (such as realizations
of pieces) containing in-house externals that can run under any Pd version
and any OS. In this context
"externs" can be directories containing the various binaries which Pd
distinguishes by filename. OTOH, Pd
distributions themselves run on a single OS and architecture so don't need
the disambiguation, although in
my experience it hasn't been harmful (Hans has experienced otherwise in the
context of Pd extended though :)
So Pd is sort of stuck allowing both types of extensions.
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2012-04-29 10:36
Message:
Personally, I think its a waste your time and mine. Its been discussed,
check out the archives for the problems it causes. I've long since moved
on. We should be putting this energy solving the issue in this tracker,
rather than beating the .d_ppc/.d_fat dead horse.
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2012-04-28 10:16
Message:
thanks for the respone.
ad #1: very few people using .d_ppc/.d_fat is not really creating any
"problems", is it?
ad #2: will do (though afaict, PdX has a patch that actively removes the
functionality; should i create a patch that re-adds the extensions or
should i modify (eventually remove) the patch that erroneously removes the
extensions?
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2012-04-27 19:32
Message:
In response to #1: very few people are using .d_ppc and .d_fat files with
Pd vanilla.
and #2: patches welcome
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2012-04-27 08:54
Message:
<flames>
"Those file extension have a lot of issues as they are, for example, no
other program for Darwin/MacOSX uses per-arch file extension"...what
exactly is the "lot of issues" here? no other program for Darwin/MacOSX is
called "Pd", and still this is no issue.
</flames>
<moreflames>
if Pd-extended ignores binary files that it could happily load and by doing
so breaks compatibility with Pd-vanilla, i would say this is a bug in
Pd-extended.
</moreflames>
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2012-04-27 07:36
Message:
What about just defining '.so' has a possibility if __linux__, __FreeBSD__,
__FreeBSD_kernel__, __OpenBSD__ are defined, then people can choose to
manage the architecture in their own way.
Those file extension have a lot of issues as they are, for example, no
other program for Darwin/MacOSX uses per-arch file extensions: they use
universal binaries. For this reason , Pd-extended on Mac OS X only uses
.pd_darwin and universal binaries and ignores .d_fat and .d_ppc. Also,
Pd's .l_ia64 does not actually mean ia64 arch but instead amd64/x86_64, so
that file extension is just wrong.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3521816&group_…
Patches item #3521816, was opened at 2012-04-26 19:25
Message generated for change (Comment added) made by zmoelnig
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3521816&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: bugfix
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: Setting externals file extension, check for ANDROID platform
Initial Comment:
The Android GCC toolchain #defines linux, so the Android specific branch was never being hit. Moving the check above Linux fixes it.
Before this patch external extensions ".l_i386" and ".pd_linux" are checked for on Android. This patch will accept either ".l_arm" or ".pd_linux", so the externals built by PdCore will still work.
It doesn't address the issue of Android x86.
Should probably add a check for arm vs x86 architecture too, but I haven't been able to find documentation of the architecture macros.
----------------------------------------------------------------------
>Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2012-04-30 00:28
Message:
for the record, here are the relevant threads i found in the archives:
- http://lists.puredata.info/pipermail/pd-list/2009-01/067498.html
- http://lists.puredata.info/pipermail/pd-list/2009-07/071476.html
as you will see, the only real issue that was ever raised was the increased
load-time when adding more and more extensions. all the "other" issues
where always referred to as "there are other issues which i don't remember
right now, check the archive", without ever giving evidence that there are
indeed other issues.
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2012-04-29 20:14
Message:
File extensions are very OS-specific. The Linux extensions are fine
(except perhaps the l_ia64 being the wrong arch). Mac OS X does not need
different ones since you can build universal "fat" binaries.
One example of a problem caused by adding more extensions is that it
increases the load time since Pd will have to check for more variations on
filenames. There are other issues, I don't remember them, but they're in
the archives.
----------------------------------------------------------------------
Comment By: Miller Puckette (millerpuckette)
Date: 2012-04-29 11:03
Message:
My intention in having the wierd extensions was to permit people to
distribute patches (such as realizations
of pieces) containing in-house externals that can run under any Pd version
and any OS. In this context
"externs" can be directories containing the various binaries which Pd
distinguishes by filename. OTOH, Pd
distributions themselves run on a single OS and architecture so don't need
the disambiguation, although in
my experience it hasn't been harmful (Hans has experienced otherwise in the
context of Pd extended though :)
So Pd is sort of stuck allowing both types of extensions.
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2012-04-29 10:36
Message:
Personally, I think its a waste your time and mine. Its been discussed,
check out the archives for the problems it causes. I've long since moved
on. We should be putting this energy solving the issue in this tracker,
rather than beating the .d_ppc/.d_fat dead horse.
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2012-04-28 10:16
Message:
thanks for the respone.
ad #1: very few people using .d_ppc/.d_fat is not really creating any
"problems", is it?
ad #2: will do (though afaict, PdX has a patch that actively removes the
functionality; should i create a patch that re-adds the extensions or
should i modify (eventually remove) the patch that erroneously removes the
extensions?
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2012-04-27 19:32
Message:
In response to #1: very few people are using .d_ppc and .d_fat files with
Pd vanilla.
and #2: patches welcome
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2012-04-27 08:54
Message:
<flames>
"Those file extension have a lot of issues as they are, for example, no
other program for Darwin/MacOSX uses per-arch file extension"...what
exactly is the "lot of issues" here? no other program for Darwin/MacOSX is
called "Pd", and still this is no issue.
</flames>
<moreflames>
if Pd-extended ignores binary files that it could happily load and by doing
so breaks compatibility with Pd-vanilla, i would say this is a bug in
Pd-extended.
</moreflames>
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2012-04-27 07:36
Message:
What about just defining '.so' has a possibility if __linux__, __FreeBSD__,
__FreeBSD_kernel__, __OpenBSD__ are defined, then people can choose to
manage the architecture in their own way.
Those file extension have a lot of issues as they are, for example, no
other program for Darwin/MacOSX uses per-arch file extensions: they use
universal binaries. For this reason , Pd-extended on Mac OS X only uses
.pd_darwin and universal binaries and ignores .d_fat and .d_ppc. Also,
Pd's .l_ia64 does not actually mean ia64 arch but instead amd64/x86_64, so
that file extension is just wrong.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3521816&group_…
Patches item #3521816, was opened at 2012-04-26 19:25
Message generated for change (Comment added) made by eighthave
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3521816&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: bugfix
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: Setting externals file extension, check for ANDROID platform
Initial Comment:
The Android GCC toolchain #defines linux, so the Android specific branch was never being hit. Moving the check above Linux fixes it.
Before this patch external extensions ".l_i386" and ".pd_linux" are checked for on Android. This patch will accept either ".l_arm" or ".pd_linux", so the externals built by PdCore will still work.
It doesn't address the issue of Android x86.
Should probably add a check for arm vs x86 architecture too, but I haven't been able to find documentation of the architecture macros.
----------------------------------------------------------------------
>Comment By: Hans-Christoph Steiner (eighthave)
Date: 2012-04-29 20:14
Message:
File extensions are very OS-specific. The Linux extensions are fine
(except perhaps the l_ia64 being the wrong arch). Mac OS X does not need
different ones since you can build universal "fat" binaries.
One example of a problem caused by adding more extensions is that it
increases the load time since Pd will have to check for more variations on
filenames. There are other issues, I don't remember them, but they're in
the archives.
----------------------------------------------------------------------
Comment By: Miller Puckette (millerpuckette)
Date: 2012-04-29 11:03
Message:
My intention in having the wierd extensions was to permit people to
distribute patches (such as realizations
of pieces) containing in-house externals that can run under any Pd version
and any OS. In this context
"externs" can be directories containing the various binaries which Pd
distinguishes by filename. OTOH, Pd
distributions themselves run on a single OS and architecture so don't need
the disambiguation, although in
my experience it hasn't been harmful (Hans has experienced otherwise in the
context of Pd extended though :)
So Pd is sort of stuck allowing both types of extensions.
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2012-04-29 10:36
Message:
Personally, I think its a waste your time and mine. Its been discussed,
check out the archives for the problems it causes. I've long since moved
on. We should be putting this energy solving the issue in this tracker,
rather than beating the .d_ppc/.d_fat dead horse.
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2012-04-28 10:16
Message:
thanks for the respone.
ad #1: very few people using .d_ppc/.d_fat is not really creating any
"problems", is it?
ad #2: will do (though afaict, PdX has a patch that actively removes the
functionality; should i create a patch that re-adds the extensions or
should i modify (eventually remove) the patch that erroneously removes the
extensions?
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2012-04-27 19:32
Message:
In response to #1: very few people are using .d_ppc and .d_fat files with
Pd vanilla.
and #2: patches welcome
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2012-04-27 08:54
Message:
<flames>
"Those file extension have a lot of issues as they are, for example, no
other program for Darwin/MacOSX uses per-arch file extension"...what
exactly is the "lot of issues" here? no other program for Darwin/MacOSX is
called "Pd", and still this is no issue.
</flames>
<moreflames>
if Pd-extended ignores binary files that it could happily load and by doing
so breaks compatibility with Pd-vanilla, i would say this is a bug in
Pd-extended.
</moreflames>
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2012-04-27 07:36
Message:
What about just defining '.so' has a possibility if __linux__, __FreeBSD__,
__FreeBSD_kernel__, __OpenBSD__ are defined, then people can choose to
manage the architecture in their own way.
Those file extension have a lot of issues as they are, for example, no
other program for Darwin/MacOSX uses per-arch file extensions: they use
universal binaries. For this reason , Pd-extended on Mac OS X only uses
.pd_darwin and universal binaries and ignores .d_fat and .d_ppc. Also,
Pd's .l_ia64 does not actually mean ia64 arch but instead amd64/x86_64, so
that file extension is just wrong.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3521816&group_…
Patches item #3521816, was opened at 2012-04-26 19:25
Message generated for change (Comment added) made by millerpuckette
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3521816&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: bugfix
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: Setting externals file extension, check for ANDROID platform
Initial Comment:
The Android GCC toolchain #defines linux, so the Android specific branch was never being hit. Moving the check above Linux fixes it.
Before this patch external extensions ".l_i386" and ".pd_linux" are checked for on Android. This patch will accept either ".l_arm" or ".pd_linux", so the externals built by PdCore will still work.
It doesn't address the issue of Android x86.
Should probably add a check for arm vs x86 architecture too, but I haven't been able to find documentation of the architecture macros.
----------------------------------------------------------------------
>Comment By: Miller Puckette (millerpuckette)
Date: 2012-04-29 11:03
Message:
My intention in having the wierd extensions was to permit people to
distribute patches (such as realizations
of pieces) containing in-house externals that can run under any Pd version
and any OS. In this context
"externs" can be directories containing the various binaries which Pd
distinguishes by filename. OTOH, Pd
distributions themselves run on a single OS and architecture so don't need
the disambiguation, although in
my experience it hasn't been harmful (Hans has experienced otherwise in the
context of Pd extended though :)
So Pd is sort of stuck allowing both types of extensions.
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2012-04-29 10:36
Message:
Personally, I think its a waste your time and mine. Its been discussed,
check out the archives for the problems it causes. I've long since moved
on. We should be putting this energy solving the issue in this tracker,
rather than beating the .d_ppc/.d_fat dead horse.
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2012-04-28 10:16
Message:
thanks for the respone.
ad #1: very few people using .d_ppc/.d_fat is not really creating any
"problems", is it?
ad #2: will do (though afaict, PdX has a patch that actively removes the
functionality; should i create a patch that re-adds the extensions or
should i modify (eventually remove) the patch that erroneously removes the
extensions?
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2012-04-27 19:32
Message:
In response to #1: very few people are using .d_ppc and .d_fat files with
Pd vanilla.
and #2: patches welcome
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2012-04-27 08:54
Message:
<flames>
"Those file extension have a lot of issues as they are, for example, no
other program for Darwin/MacOSX uses per-arch file extension"...what
exactly is the "lot of issues" here? no other program for Darwin/MacOSX is
called "Pd", and still this is no issue.
</flames>
<moreflames>
if Pd-extended ignores binary files that it could happily load and by doing
so breaks compatibility with Pd-vanilla, i would say this is a bug in
Pd-extended.
</moreflames>
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2012-04-27 07:36
Message:
What about just defining '.so' has a possibility if __linux__, __FreeBSD__,
__FreeBSD_kernel__, __OpenBSD__ are defined, then people can choose to
manage the architecture in their own way.
Those file extension have a lot of issues as they are, for example, no
other program for Darwin/MacOSX uses per-arch file extensions: they use
universal binaries. For this reason , Pd-extended on Mac OS X only uses
.pd_darwin and universal binaries and ignores .d_fat and .d_ppc. Also,
Pd's .l_ia64 does not actually mean ia64 arch but instead amd64/x86_64, so
that file extension is just wrong.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3521816&group_…
Patches item #3521816, was opened at 2012-04-26 19:25
Message generated for change (Comment added) made by eighthave
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3521816&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: bugfix
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: Setting externals file extension, check for ANDROID platform
Initial Comment:
The Android GCC toolchain #defines linux, so the Android specific branch was never being hit. Moving the check above Linux fixes it.
Before this patch external extensions ".l_i386" and ".pd_linux" are checked for on Android. This patch will accept either ".l_arm" or ".pd_linux", so the externals built by PdCore will still work.
It doesn't address the issue of Android x86.
Should probably add a check for arm vs x86 architecture too, but I haven't been able to find documentation of the architecture macros.
----------------------------------------------------------------------
>Comment By: Hans-Christoph Steiner (eighthave)
Date: 2012-04-29 10:36
Message:
Personally, I think its a waste your time and mine. Its been discussed,
check out the archives for the problems it causes. I've long since moved
on. We should be putting this energy solving the issue in this tracker,
rather than beating the .d_ppc/.d_fat dead horse.
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2012-04-28 10:16
Message:
thanks for the respone.
ad #1: very few people using .d_ppc/.d_fat is not really creating any
"problems", is it?
ad #2: will do (though afaict, PdX has a patch that actively removes the
functionality; should i create a patch that re-adds the extensions or
should i modify (eventually remove) the patch that erroneously removes the
extensions?
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2012-04-27 19:32
Message:
In response to #1: very few people are using .d_ppc and .d_fat files with
Pd vanilla.
and #2: patches welcome
----------------------------------------------------------------------
Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2012-04-27 08:54
Message:
<flames>
"Those file extension have a lot of issues as they are, for example, no
other program for Darwin/MacOSX uses per-arch file extension"...what
exactly is the "lot of issues" here? no other program for Darwin/MacOSX is
called "Pd", and still this is no issue.
</flames>
<moreflames>
if Pd-extended ignores binary files that it could happily load and by doing
so breaks compatibility with Pd-vanilla, i would say this is a bug in
Pd-extended.
</moreflames>
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2012-04-27 07:36
Message:
What about just defining '.so' has a possibility if __linux__, __FreeBSD__,
__FreeBSD_kernel__, __OpenBSD__ are defined, then people can choose to
manage the architecture in their own way.
Those file extension have a lot of issues as they are, for example, no
other program for Darwin/MacOSX uses per-arch file extensions: they use
universal binaries. For this reason , Pd-extended on Mac OS X only uses
.pd_darwin and universal binaries and ignores .d_fat and .d_ppc. Also,
Pd's .l_ia64 does not actually mean ia64 arch but instead amd64/x86_64, so
that file extension is just wrong.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3521816&group_…