diff -Nru purrdata-faust-0.17/debian/changelog purrdata-faust-0.18/debian/changelog --- purrdata-faust-0.17/debian/changelog 2018-10-09 03:54:22.000000000 +0000 +++ purrdata-faust-0.18/debian/changelog 2018-10-31 08:24:17.000000000 +0000 @@ -1,3 +1,9 @@ +purrdata-faust (0.18-1) bionic; urgency=medium + + * New upstream release + + -- Albert Graef Wed, 31 Oct 2018 09:24:17 +0100 + purrdata-faust (0.17-2) bionic; urgency=medium * Latest upstream fixes diff -Nru purrdata-faust-0.17/debian/patches/debian-changes-0.17-2 purrdata-faust-0.18/debian/patches/debian-changes-0.17-2 --- purrdata-faust-0.17/debian/patches/debian-changes-0.17-2 2018-10-09 03:54:22.000000000 +0000 +++ purrdata-faust-0.18/debian/patches/debian-changes-0.17-2 1970-01-01 00:00:00.000000000 +0000 @@ -1,150 +0,0 @@ -Description: - TODO: Put a short summary on the line above and replace this paragraph - with a longer explanation of this change. Complete the meta-information - with other relevant fields (see below for details). To make it easier, the - information below has been extracted from the changelog. Adjust it or drop - it. - . - purrdata-faust (0.17-2) bionic; urgency=medium - . - * Latest upstream fixes -Author: Albert Graef - ---- -The information above should follow the Patch Tagging Guidelines, please -checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here -are templates for supplementary fields that you might want to add: - -Origin: , -Bug: -Bug-Debian: https://bugs.debian.org/ -Bug-Ubuntu: https://launchpad.net/bugs/ -Forwarded: -Reviewed-By: -Last-Update: 2018-10-09 - ---- purrdata-faust-0.17.orig/README -+++ purrdata-faust-0.17/README -@@ -3,7 +3,7 @@ - pd-faust - ======== - --Version 0.17, October 5, 2018 -+Version 0.17, Oktober 9, 2018 - - Albert Graef - -@@ -365,9 +365,9 @@ object. - .. _sclsyx: https://bitbucket.org/agraef/sclsyx - .. _pd-smmf: https://bitbucket.org/agraef/pd-smmf - --Finally, each ``faust~`` object subscribes to the following three global --receivers which enable you to send various kinds of messages to all ``faust~`` --objects in a patch: -+Each ``faust~`` object also subscribes to the following three global receivers -+which enable you to send various kinds of messages to all ``faust~`` objects -+in a patch: - - * ``faustdsp`` receives arbitrary messages. This is commonly used to - distribute MIDI or OSC data to all Faust units in a patch, but can in fact -@@ -383,6 +383,14 @@ objects in a patch: - (This is provided for backward compatibility with older pd-faust versions. - You can also just send a ``reload`` message to the ``faustdsp`` receiver.) - -+Finally, ``faust~`` objects also *send* a message of the form ``create -+instance`` or ``destroy instance`` to the global ``faust-notify`` receiver -+whenever they are created and destroyed, respectively. The argument indicates -+the instance name of the object being created or destroyed. This receiver -+isn't used by pd-faust itself in any way, but applications may receive this -+symbol if they need to be notified about changes in the collection of loaded -+Faust units. -+ - GUI Subpatches - -------------- - ---- purrdata-faust-0.17.orig/fdsp~.pure -+++ purrdata-faust-0.17/fdsp~.pure -@@ -2,6 +2,8 @@ - using pdfaust; - using namespace pdfaust; - -+public create destroy; -+ - #! --required fdsp_dsp - fdsp_dsp name instance chan::int = catch error (k,l,fdsp with - -@@ -59,8 +61,9 @@ fdsp_dsp name instance chan::int = catch - end); - #! --else - // With the latest pd-pure, we can now just reload ourselves and be done -- // with it. -- fdsp reload = pd_reload; -+ // with it. Note the extra instance argument; this is needed to keep the -+ // variable around, which has a sentry on it to detect garbage collection. -+ fdsp reload = pd_reload instance; - #! --endif - - fdsp (reload _) = fdsp reload; // reload receiver -@@ -248,8 +251,12 @@ end when - switch = {control_map (controls (faust_info xf!2))!"switch" | xf = xfade}; - // Writing and recording flags. - writing = ref 0; recording = ref 0; -+ // Sentry to detect that we're being garbage-collected. This must be placed -+ // on a variable which exists for the entire lifetime of the object. -+ sentry (notify.destroy) instance; - // Give some feedback that we're up and running. - pd_post $ sprintf "%s (%s): %d inputs, %d outputs" (instance,name,k,l); -+ notify (create instance); - end with - - // Convert controller symbols to the corresponding OSC pathname. ---- purrdata-faust-0.17.orig/fsynth~.pure -+++ purrdata-faust-0.17/fsynth~.pure -@@ -2,6 +2,8 @@ - using pdfaust; - using namespace pdfaust; - -+public create destroy; -+ - // Lexicographic order of tuples so that they can be used as dictionary keys. - (x1,y1) < (x2,y2) = x1 + TODO: Put a short summary on the line above and replace this paragraph + with a longer explanation of this change. Complete the meta-information + with other relevant fields (see below for details). To make it easier, the + information below has been extracted from the changelog. Adjust it or drop + it. + . + purrdata-faust (0.18-1) bionic; urgency=medium + . + * New upstream release +Author: Albert Graef + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: , +Bug: +Bug-Debian: https://bugs.debian.org/ +Bug-Ubuntu: https://launchpad.net/bugs/ +Forwarded: +Reviewed-By: +Last-Update: 2018-10-31 + +--- purrdata-faust-0.18.orig/README ++++ purrdata-faust-0.18/README +@@ -3,7 +3,7 @@ + pd-faust + ======== + +-Version 0.18, October 31, 2018 ++Version 0.18, Oktober 31, 2018 + + Albert Graef + diff -Nru purrdata-faust-0.17/debian/patches/series purrdata-faust-0.18/debian/patches/series --- purrdata-faust-0.17/debian/patches/series 2018-10-09 03:54:22.000000000 +0000 +++ purrdata-faust-0.18/debian/patches/series 2018-10-31 08:24:17.000000000 +0000 @@ -1 +1 @@ -debian-changes-0.17-2 +debian-changes-0.18-1 diff -Nru purrdata-faust-0.17/fdsp~.pure purrdata-faust-0.18/fdsp~.pure --- purrdata-faust-0.17/fdsp~.pure 2018-10-05 10:53:20.000000000 +0000 +++ purrdata-faust-0.18/fdsp~.pure 2018-10-30 18:54:57.000000000 +0000 @@ -2,6 +2,8 @@ using pdfaust; using namespace pdfaust; +public create destroy; + #! --required fdsp_dsp fdsp_dsp name instance chan::int = catch error (k,l,fdsp with @@ -59,8 +61,9 @@ end); #! --else // With the latest pd-pure, we can now just reload ourselves and be done - // with it. - fdsp reload = pd_reload; + // with it. Note the extra instance argument; this is needed to keep the + // variable around, which has a sentry on it to detect garbage collection. + fdsp reload = pd_reload instance; #! --endif fdsp (reload _) = fdsp reload; // reload receiver @@ -248,8 +251,12 @@ switch = {control_map (controls (faust_info xf!2))!"switch" | xf = xfade}; // Writing and recording flags. writing = ref 0; recording = ref 0; + // Sentry to detect that we're being garbage-collected. This must be placed + // on a variable which exists for the entire lifetime of the object. + sentry (notify.destroy) instance; // Give some feedback that we're up and running. pd_post $ sprintf "%s (%s): %d inputs, %d outputs" (instance,name,k,l); + notify (create instance); end with // Convert controller symbols to the corresponding OSC pathname. diff -Nru purrdata-faust-0.17/fsynth~.pure purrdata-faust-0.18/fsynth~.pure --- purrdata-faust-0.17/fsynth~.pure 2018-10-05 10:53:20.000000000 +0000 +++ purrdata-faust-0.18/fsynth~.pure 2018-10-30 18:54:57.000000000 +0000 @@ -2,6 +2,8 @@ using pdfaust; using namespace pdfaust; +public create destroy; + // Lexicographic order of tuples so that they can be used as dictionary keys. (x1,y1) < (x2,y2) = x1 @@ -365,9 +365,9 @@ .. _sclsyx: https://bitbucket.org/agraef/sclsyx .. _pd-smmf: https://bitbucket.org/agraef/pd-smmf -Finally, each ``faust~`` object subscribes to the following three global -receivers which enable you to send various kinds of messages to all ``faust~`` -objects in a patch: +Each ``faust~`` object also subscribes to the following three global receivers +which enable you to send various kinds of messages to all ``faust~`` objects +in a patch: * ``faustdsp`` receives arbitrary messages. This is commonly used to distribute MIDI or OSC data to all Faust units in a patch, but can in fact @@ -383,6 +383,14 @@ (This is provided for backward compatibility with older pd-faust versions. You can also just send a ``reload`` message to the ``faustdsp`` receiver.) +Finally, ``faust~`` objects also *send* a message of the form ``create +instance`` or ``destroy instance`` to the global ``faust-notify`` receiver +whenever they are created and destroyed, respectively. The argument indicates +the instance name of the object being created or destroyed. This receiver +isn't used by pd-faust itself in any way, but applications may receive this +symbol if they need to be notified about changes in the collection of loaded +Faust units. + GUI Subpatches --------------