Your message dated Mon, 02 May 2011 22:03:26 +0000
with message-id <[email protected]>
and subject line Bug#568770: fixed in puredata 0.43.0-1
has caused the Debian Bug report #568770,
regarding puredata: update to make building externals easier
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
568770: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568770
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: puredata
Version: 0.42.5-3
Severity: important
Tags: patch

I just found an important thing to update in the 'puredata' package and I was
hoping to get the new version uploaded soon, since Ubuntu is going to be
taking a Debian/testing snapshot on Feb 11th.  Basically, the package only
includes m_pd.h, but many externals also depend on s_stuff.h, m_imp.h, and
g_canvas.h.  These headers haven'tchanged much in a long time, m_imp.h hasn't
changed at all in 4 years.  If we want to add more externals to Debian, then
those headers will need to be there in order for things to build.

git-format-patch attached.

 * debian/install:
   - changed binary from /usr/bin/pd to /usr/bin/puredata
   - added abstractions from extra to usr/lib/pd/extra
   - added headers needed to build externals: m_imp.h, s_stuff.h, g_canvas.h
 * debian/links: made /usr/bin/pd a link to /usr/bin/puredata
 * debian/menu: made use /usr/bin/puredata to always start this version
 * debian/puredata.desktop:
   - added translations for the Comment field
   - use the /usr/bin/puredata binary
 * debian/patches/05_user-install-paths.diff:
   - added standard paths for people to install their own externals
 * debian/patches/06_bin-puredata.diff:
   - patched pd to call binary /usr/bin/puredata


-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages puredata depends on:
ii  libasound2                    1.0.16-2   ALSA library
ii  libc6                         2.7-18     GNU C Library: Shared libraries
ii  libjack0                      0.109.2-5  JACK Audio Connection Kit (librari
ii  tcl8.4                        8.4.19-2   Tcl (the Tool Command Language) v8
ii  tk8.4                         8.4.19-2   Tk toolkit for Tcl and X11, v8.4 -

Versions of packages puredata recommends:
pn  gem                           <none>     (no description available)

puredata suggests no packages.

diff --git a/debian/README.Debian b/debian/README.Debian
index 68994f3..e7b7d5d 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -30,7 +30,7 @@ Configuration
 Instead of passing your command line flags to pd, you can write them
 into your ~/.pdrc file. Each commandline switch on its own line like
 
- -path /usr/lib/pd/doc
+ -path /usr/local/lib/pd-externals
  -frags 4
  -noadc
  -lib Gem
diff --git a/debian/changelog b/debian/changelog
index 435348f..30df1eb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,21 @@
+puredata (0.42.5-3.1) unstable; urgency=medium
+
+  * debian/install: 
+    - changed binary from /usr/bin/pd to /usr/bin/puredata
+    - added abstractions from extra to usr/lib/pd/extra
+    - added headers needed to build externals: m_imp.h, s_stuff.h, g_canvas.h
+  * debian/links: made /usr/bin/pd a link to /usr/bin/puredata
+  * debian/menu: made use /usr/bin/puredata to always start this version
+  * debian/puredata.desktop:
+    - added translations for the Comment field
+    - use the /usr/bin/puredata binary
+  * debian/patches/05_user-install-paths.diff:
+    - added standard paths for people to install their own externals
+  * debian/patches/06_bin-puredata.diff:
+    - patched pd to call binary /usr/bin/puredata
+
+ -- Hans-Christoph Steiner <[email protected]>  Tue, 02 Feb 2010 16:55:10 -0500
+
 puredata (0.42.5-3) unstable; urgency=low
 
   * debian/control:
diff --git a/debian/install b/debian/install
index 27144e9..7d5733a 100644
--- a/debian/install
+++ b/debian/install
@@ -1,4 +1,4 @@
-bin/pd usr/bin/
+bin/puredata usr/bin/
 bin/pdsend usr/bin/
 bin/pdreceive usr/bin/
 bin/pd-gui usr/lib/pd/bin/
@@ -6,7 +6,20 @@ bin/pd-watchdog usr/lib/pd/bin/
 bin/pd.tk usr/lib/pd/bin/
 doc/5.reference usr/lib/pd/doc/
 src/m_pd.h usr/include
+src/m_imp.h usr/include
+src/g_canvas.h usr/include
+src/s_stuff.h usr/include
 extra/*/*.pd_linux usr/lib/pd/extra
+extra/*/*.pd_linux          usr/lib/pd/extra
+extra/complex-mod~.pd       usr/lib/pd/extra
+extra/hilbert~.pd           usr/lib/pd/extra
+extra/rev1-final.pd         usr/lib/pd/extra
+extra/rev1~.pd              usr/lib/pd/extra
+extra/rev1-stage.pd         usr/lib/pd/extra
+extra/rev2~.pd              usr/lib/pd/extra
+extra/rev3~.pd              usr/lib/pd/extra
+extra/loop~/test-loop~.pd   usr/lib/pd/extra
+extra/pd~/pd~-subprocess.pd usr/lib/pd/extra
 extra/*-help.pd usr/lib/pd/doc/5.reference/
 extra/*/*-help.pd usr/lib/pd/doc/5.reference/
 debian/puredata.xpm usr/share/pixmaps
diff --git a/debian/links b/debian/links
index e8a0179..6cdf05c 100644
--- a/debian/links
+++ b/debian/links
@@ -5,5 +5,5 @@ usr/share/doc/puredata/4.data.structures  usr/lib/pd/doc/4.data.structures
 usr/share/doc/puredata/6.externs          usr/lib/pd/doc/6.externs
 usr/share/doc/puredata/7.stuff            usr/lib/pd/doc/7.stuff
 usr/share/doc/puredata/sound              usr/lib/pd/doc/sound
-usr/bin/pd                                usr/bin/puredata
+usr/bin/puredata                          usr/bin/pd
 usr/share/man/man1/pd.1.gz                usr/share/man/man1/puredata.1.gz
diff --git a/debian/menu b/debian/menu
index 6f85240..446db4e 100644
--- a/debian/menu
+++ b/debian/menu
@@ -1,4 +1,4 @@
 ?package(puredata):needs="x11" section="Applications/Sound"\
   title="PureData" \
-  command="/usr/bin/pd" \
+  command="/usr/bin/puredata" \
   icon="/usr/share/pixmaps/puredata.xpm"
diff --git a/debian/patches/05_user-install-paths.diff b/debian/patches/05_user-install-paths.diff
new file mode 100644
index 0000000..9893e94
--- /dev/null
+++ b/debian/patches/05_user-install-paths.diff
@@ -0,0 +1,72 @@
+diff --git a/src/s_path.c b/src/s_path.c
+index d74aa0f..fc2eb6a 100644
+--- a/src/s_path.c
++++ b/src/s_path.c
+@@ -69,6 +69,31 @@ void sys_unbashfilename(const char *from, char *to)
+     *to = 0;
+ }
+ 
++/* expand env vars and ~ at the beginning of a path and make a copy to return */
++static void sys_expandpath(const char *from, char *to)
++{
++    if ((strlen(from) == 1 && from[0] == '~') || (strncmp(from,"~/", 2) == 0))
++    {
++#ifdef MSW
++        const char *home = getenv("USERPROFILE");
++#else
++        const char *home = getenv("HOME");
++#endif
++        if(home) 
++        {
++            strncpy(to, home, FILENAME_MAX - 1);
++            strncat(to, from + 1, FILENAME_MAX - strlen(from) - 2);
++        }
++    }
++    else
++        strncpy(to, from, FILENAME_MAX - 1);
++#ifdef MSW
++    char buf[FILENAME_MAX];
++    ExpandEnvironmentStrings(to, buf, FILENAME_MAX - 2);
++    strncpy(to, buf, FILENAME_MAX - 1);
++#endif    
++}
++
+ /* test if path is absolute or relative, based on leading /, env vars, ~, etc */
+ int sys_isabsolutepath(const char *dir)
+ {
+@@ -193,8 +218,16 @@ int sys_usestdpath = 1;
+ 
+ void sys_setextrapath(const char *p)
+ {
++    char pathbuf[FILENAME_MAX];
+     namelist_free(pd_extrapath);
+-    pd_extrapath = namelist_append(0, p, 0);
++    /* add standard place for users to install stuff first */
++
++    sys_expandpath("~/pd-externals", pathbuf);
++    pd_extrapath = namelist_append(0, pathbuf, 0);
++    pd_extrapath = namelist_append(pd_extrapath, "/usr/local/lib/pd-externals", 0);
++
++    /* add built-in "extra" path last so its checked last */
++    pd_extrapath = namelist_append(pd_extrapath, p, 0);
+ }
+ 
+ #ifdef MSW
+@@ -319,11 +352,12 @@ static int do_open_via_path(const char *dir, const char *name,
+             dirresult, nameresult, size, bin)) >= 0)
+                 return (fd);
+ 
+-        /* next look in "extra" */
+-    if (sys_usestdpath &&
+-        (fd = sys_trytoopenone(pd_extrapath->nl_string, name, ext,
+-            dirresult, nameresult, size, bin)) >= 0)
+-                return (fd);
++        /* next look in built-in paths like "extra" */
++    if (sys_usestdpath)
++        for (nl = pd_extrapath; nl; nl = nl->nl_next)
++            if ((fd = sys_trytoopenone(nl->nl_string, name, ext,
++                dirresult, nameresult, size, bin)) >= 0)
++                    return (fd);
+ 
+     *dirresult = 0;
+     *nameresult = dirresult;
diff --git a/debian/patches/06_bin-puredata.diff b/debian/patches/06_bin-puredata.diff
new file mode 100644
index 0000000..7a28553
--- /dev/null
+++ b/debian/patches/06_bin-puredata.diff
@@ -0,0 +1,74 @@
+diff --git a/src/makefile.in b/src/makefile.in
+index cba0f7a..dd5be9f 100644
+--- a/src/makefile.in
++++ b/src/makefile.in
+@@ -1,7 +1,7 @@
+ VPATH = ../obj:./
+ OBJ_DIR = ../obj
+ BIN_DIR = ../bin
+-PDEXEC = $(BIN_DIR)/pd
++PDEXEC = $(BIN_DIR)/puredata
+ EXT= @EXT@
+ GUINAME= @GUINAME@
+ 
+@@ -16,7 +16,7 @@ GFLAGS = -DINSTALL_PREFIX=\"$(prefix)\"
+ 
+ # varibles to match packages/Makefile.buildlayout so that they can be easily
+ # overridden when building Pd-extended builds. <[email protected]>
+-libpddir = $(libdir)/pd
++libpddir = $(libdir)/puredata
+ pddocdir = $(libpddir)/doc
+ libpdbindir = $(libpddir)/bin
+ 
+@@ -81,12 +81,12 @@ endif
+ #  ------------------ targets ------------------------------------
+ #
+ 
+-.PHONY: pd gui externs all
++.PHONY: puredata gui externs all
+ 
+-all: pd $(BIN_DIR)/pd-watchdog gui $(BIN_DIR)/pdsend \
++all: puredata $(BIN_DIR)/pd-watchdog gui $(BIN_DIR)/pdsend \
+     $(BIN_DIR)/pdreceive  $(BIN_DIR)/pd.tk externs
+ 
+-bin: pd $(BIN_DIR)/pd-watchdog gui $(BIN_DIR)/pdsend \
++bin: puredata $(BIN_DIR)/pd-watchdog gui $(BIN_DIR)/pdsend \
+     $(BIN_DIR)/pdreceive  $(BIN_DIR)/pd.tk
+ 
+ $(OBJ) : %.o : %.c
+@@ -98,7 +98,7 @@ $(GOBJ) : %.o : %.c
+ $(ASIOOBJ): %.o : %.cpp
+ 	$(CXX) $(CFLAGS) $(INCLUDE) -c -o $(OBJ_DIR)/$*.o $*.cpp
+ 
+-pd: $(PDEXEC)
++puredata: $(PDEXEC)
+ 
+ ifneq ($(GSRC),)
+ gui: $(BIN_DIR)/$(GUINAME)
+@@ -170,7 +170,7 @@ install:  all
+ 	install $(BIN_DIR)/pd-watchdog $(DESTDIR)$(libpdbindir)/pd-watchdog
+ 	install -m644 $(BIN_DIR)/pd.tk $(DESTDIR)$(libpdbindir)/pd.tk
+ 	install -d $(DESTDIR)$(bindir)
+-	install $(BINARYMODE) $(PDEXEC) $(DESTDIR)$(bindir)/pd
++	install $(BINARYMODE) $(PDEXEC) $(DESTDIR)$(bindir)/puredata
+ 	install -m755 $(BIN_DIR)/pdsend $(DESTDIR)$(bindir)/pdsend
+ 	install -m755 $(BIN_DIR)/pdreceive $(DESTDIR)$(bindir)/pdreceive 
+ 	for dir in $(shell ls -1 ../doc | grep -v CVS); do \
+@@ -202,7 +202,7 @@ install:  all
+ 	@echo "Pd install succeeded."
+ 
+ local-clean:
+-	-rm -f ../obj/* $(BIN_DIR)/pd $(BIN_DIR)/$(GUINAME) $(BIN_DIR)/pdsend \
++	-rm -f ../obj/* $(BIN_DIR)/puredata $(BIN_DIR)/$(GUINAME) $(BIN_DIR)/pdsend \
+ 	    $(BIN_DIR)/pdreceive $(BIN_DIR)/pd-watchdog m_stamp.c
+ 	-rm -f `find ../portaudio -name "*.o"` 
+ 	-rm -f *~
+@@ -232,7 +232,7 @@ makefile.dependencies: makefile
+ 
+ uninstall:
+ 	rm -f -r $(DESTDIR)$(libpddir)
+-	rm -f $(DESTDIR)$(bindir)/pd
++	rm -f $(DESTDIR)$(bindir)/puredata
+ 	rm -f $(DESTDIR)$(bindir)/pdsend
+ 	rm -f $(DESTDIR)$(bindir)/pdreceive
+ 	rm -f $(DESTDIR)$(includedir)/m_pd.h
diff --git a/debian/patches/series b/debian/patches/series
index 6622a23..24e05d8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,5 @@
 02_kfreebsd.diff
 03_nostrip.diff
 04_hurd.diff
+05_user-install-paths.diff
+06_bin-puredata.diff
diff --git a/debian/puredata.desktop b/debian/puredata.desktop
index e43b926..a43e974 100644
--- a/debian/puredata.desktop
+++ b/debian/puredata.desktop
@@ -1,9 +1,18 @@
 [Desktop Entry]
-Type=Application
-Name=PureData
-GenericName=
-Comment=
-Icon=puredata.xpm
-Exec=/usr/bin/pd
+Encoding=UTF-8
+Name=Pure Data
+GenericName=Pd
+Comment=Visual dataflow programming platform for multimedia
+Comment[ca]=Plataforma de programaci� visual per aplicacions multim�dia
+Comment[de]=Grafische Datenflussprogrammierung f�r Multimedia
+Comment[es]=Plataforma de programaci�n visual para aplicaciones multimedia
+Comment[fr]=Plateforme de programmation visuelle pour applications multim�dia
+Comment[it]=Piattaforma di programmazione visuale per applicazioni multimedia
+Comment[pt]=Plataforma de programa��o visuais para multimedia
+Exec=/usr/bin/puredata %F
 Terminal=false
-Categories=AudioVideo;Audio;
+Type=Application
+Icon=puredata
+TryExec=puredata
+Categories=AudioVideo;Audio;Video
+StartupNotify=false


--- End Message ---
--- Begin Message ---
Source: puredata
Source-Version: 0.43.0-1

We believe that the bug you reported is fixed in the latest version of
puredata, which is due to be installed in the Debian FTP archive:

puredata-core_0.43.0-1_i386.deb
  to main/p/puredata/puredata-core_0.43.0-1_i386.deb
puredata-dev_0.43.0-1_all.deb
  to main/p/puredata/puredata-dev_0.43.0-1_all.deb
puredata-doc_0.43.0-1_all.deb
  to main/p/puredata/puredata-doc_0.43.0-1_all.deb
puredata-extra_0.43.0-1_i386.deb
  to main/p/puredata/puredata-extra_0.43.0-1_i386.deb
puredata-gui_0.43.0-1_all.deb
  to main/p/puredata/puredata-gui_0.43.0-1_all.deb
puredata-utils_0.43.0-1_i386.deb
  to main/p/puredata/puredata-utils_0.43.0-1_i386.deb
puredata_0.43.0-1.debian.tar.gz
  to main/p/puredata/puredata_0.43.0-1.debian.tar.gz
puredata_0.43.0-1.dsc
  to main/p/puredata/puredata_0.43.0-1.dsc
puredata_0.43.0-1_all.deb
  to main/p/puredata/puredata_0.43.0-1_all.deb
puredata_0.43.0.orig.tar.gz
  to main/p/puredata/puredata_0.43.0.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Paul Brossier <[email protected]> (supplier of updated puredata package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 02 May 2011 21:19:17 +0200
Source: puredata
Binary: puredata puredata-core puredata-gui puredata-doc puredata-dev 
puredata-utils puredata-extra
Architecture: source all i386
Version: 0.43.0-1
Distribution: unstable
Urgency: low
Maintainer: Paul Brossier <[email protected]>
Changed-By: Paul Brossier <[email protected]>
Description: 
 puredata   - realtime computer music and graphics system
 puredata-core - realtime computer music and graphics system - core components
 puredata-dev - realtime computer music and graphics system - development files
 puredata-doc - realtime computer music and graphics system - documentation
 puredata-extra - realtime computer music and graphics system - extra files
 puredata-gui - realtime computer music and graphics system - GUI
 puredata-utils - realtime computer music and graphics system - utility programs
Closes: 568770
Changes: 
 puredata (0.43.0-1) unstable; urgency=low
 .
   [IOhannes m zmölnig]
   * New upstream release
     - new upstream includes most debian/patches
   * Split puredata into several packages:
     - puredata-core : binary
     - puredata-gui  : user interface
     - puredata-dev  : development files (headers)
     - puredata-extra: externals
     - puredata-utils: pd-related applications
     - puredata      : meta-package depending on all of the above
     This allows one to install only a minimal set of puredata (e.g. you don't
     need the gui (which pulls in X) if you are running on a headless machine);
     It also allows one to install the infrastructure for building plugins
     (puredata-dev) with minimal dependencies (closes: #568770)
   * Install as "puredata" rather than "pd"
     - this allows for various flavours of Pd to co-exist (e.g. puredata and
       pd-extended)
     - /usr/bin/pd is made available via update-alternatives
   * Fix debian/watch so beta-releases are not reported as more up-to-date than
     final releases
 .
   [Paul Brossier]
   * Review packages and bump standards version to 3.9.2, thanks to IOhannes
Checksums-Sha1: 
 e58e44efb7e4d01a3aaf2f2b43c2ffc0cb186e2f 1465 puredata_0.43.0-1.dsc
 9bc4377fe25d034120bd393d63fe4180c7a500bc 2194131 puredata_0.43.0.orig.tar.gz
 5f65799286fc284868d7029c228eb76fe3ed03e9 14639 puredata_0.43.0-1.debian.tar.gz
 bcdc87216a6c993fc1eb39012623788f786944a3 15642 puredata_0.43.0-1_all.deb
 6d37ed423440280f63aa65df5e9c48a23ecfe76f 1031504 
puredata-core_0.43.0-1_i386.deb
 d00a2cbe0cf8fa580f058a2e2c4b938507bd6279 105168 puredata-gui_0.43.0-1_all.deb
 fce031d30e4ac68a9851edb56f2397f81deff164 1017382 puredata-doc_0.43.0-1_all.deb
 6449386401935505205f324a4d007ed0bda78377 35868 puredata-dev_0.43.0-1_all.deb
 f3cb2195ced458f3d1db68ea8d05b9d6383669c8 22794 puredata-utils_0.43.0-1_i386.deb
 913f5c101a21722651f969104dcee07af3c72cbd 168882 
puredata-extra_0.43.0-1_i386.deb
Checksums-Sha256: 
 17852bc52bfec54ae7bc6d610d02a4348972e84b0e6248d0c5a5e9b1110f6143 1465 
puredata_0.43.0-1.dsc
 e2fbc8f854397368fe428c6dc358a46e00065daf7bd9dc18c85304b9513fd8e1 2194131 
puredata_0.43.0.orig.tar.gz
 beb3168b19869d526df34d8b9cabfd0192a3b8c16f66409e42527607496f2f71 14639 
puredata_0.43.0-1.debian.tar.gz
 ed0307d8e1cfd84bc31d80f0695870f028255f2490b3d79574c0cc6aea824f9c 15642 
puredata_0.43.0-1_all.deb
 39e2d0ff0c62883fe771c3102ed331bd9071bfc183f68b5bfbb2ab9b75c2308e 1031504 
puredata-core_0.43.0-1_i386.deb
 7357f69ae18c25b6e789818c82e6819ffed65e49419c4edc255d5d4bad6887b7 105168 
puredata-gui_0.43.0-1_all.deb
 63f39ee68789fd072d1ae5a60b3e0c03d65c7f62fa59a63572f2306938eb61d1 1017382 
puredata-doc_0.43.0-1_all.deb
 41a87eda64f2b28a458a98d0d2e1db2687108eb91ffcf13aeb1c2ac26d16ae7e 35868 
puredata-dev_0.43.0-1_all.deb
 a95b86b12df292e03bed376e941c399da53e0c0fd6c5056754eb60c7d6c8269e 22794 
puredata-utils_0.43.0-1_i386.deb
 c3921d083d00bfa5ec82199d42b29f5ba136e4926d015d52329d9b693b9c2377 168882 
puredata-extra_0.43.0-1_i386.deb
Files: 
 de20dddd12e8200f7fe693fbb1bf21b6 1465 sound optional puredata_0.43.0-1.dsc
 b7e7bab14220146748c2ed596e1c18f2 2194131 sound optional 
puredata_0.43.0.orig.tar.gz
 1c5794adff566b23a0eed0b072f79fd8 14639 sound optional 
puredata_0.43.0-1.debian.tar.gz
 468657e3d7488164b47341e5ec3b9cdf 15642 sound optional puredata_0.43.0-1_all.deb
 7f1b843e25cffac00dc392b5c3e1bfef 1031504 sound optional 
puredata-core_0.43.0-1_i386.deb
 02497514015930be9192de07af5b5b1f 105168 sound optional 
puredata-gui_0.43.0-1_all.deb
 922fa499330d5f73789084692532055a 1017382 doc optional 
puredata-doc_0.43.0-1_all.deb
 f7049572b85bbaafd2ff68b3faa44a99 35868 devel optional 
puredata-dev_0.43.0-1_all.deb
 356cba0464878219068a9d6fdeaae690 22794 utils optional 
puredata-utils_0.43.0-1_i386.deb
 1bb41bbe34d0c645677bc5c00d57748c 168882 sound optional 
puredata-extra_0.43.0-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk2/ELgACgkQkuC958YALL3qHgCeMlcC7BOuN51S1/U+H8Ccfo6B
Jx4An23714h5BKy1vo0ZWP797s9nPQHv
=UDfS
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to