debian/0000755000000000000000000000000012260061250007160 5ustar debian/rules0000755000000000000000000000472312260057323010254 0ustar #!/usr/bin/make -f export PDP_EXTRA_CFLAGS = -fPIC -Wno-error $(CPPFLAGS) $(CFLAGS) DPKG_EXPORT_BUILDFLAGS = 1 DEB_BUILD_MAINT_OPTIONS=hardening=-format,+fortify,+stackprotector,+relro export DEB_BUILD_MAINT_OPTIONS include /usr/share/dpkg/buildflags.mk ifeq ($(DEB_BUILD_ARCH),i386) DEB_CONFIGURE_EXTRA_FLAGS = --enable-mmx DEB_EXTRA_CFLAGS = -mmmx BUILD_SCAF = yes endif ifeq ($(DEB_BUILD_ARCH),amd64) DEB_CONFIGURE_EXTRA_FLAGS = --enable-mmx DEB_EXTRA_CFLAGS = -mmmx BUILD_SCAF = yes endif %: dh $@ --with autoreconf override_dh_autoreconf: dh_autoreconf --as-needed override_dh_auto_configure: dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_FLAGS) dh_auto_configure -Dscaf -- $(DEB_CONFIGURE_EXTRA_FLAGS) override_dh_auto_build: dh build --before dh_auto_build make pdp_all make -C opengl \ LDFLAGS="$(LDFLAGS)" \ PDP_EXTRA_CFLAGS="$(CFLAGS) $(DEB_EXTRA_CFLAGS)" \ PDP_EXTRA_CPPFLAGS="$(CPPFLAGS)" [ -z $(BUILD_SCAF) ] || \ make -C scaf \ LDFLAGS="-fPIC $(LDFLAGS)" \ PDP_CFLAGS="$(CPPFLAGS) -fPIC $(CFLAGS)" [ -z $(BUILD_SCAF) ] || \ cp scaf/rules/carules.scafo scaf/rules/default.scafo docbook-to-man debian/pdp-config.sgml > pdp-config.1 dh build --after dh_auto_build override_dh_auto_clean: dh clean --before dh_auto_clean [ ! -f opengl/Makefile.config ] || make -C opengl clean [ ! -f scaf/Makefile.config ] || make -C scaf clean [ ! -f Makefile.config ] || make clean -$(RM) -rf bin/pdp-config include/pdp_config.h -$(RM) -f Makefile.config config.log config.status -$(RM) -f scaf/Makefile.config scaf/config.log scaf/config.status -$(RM) -f pdp-config.1 -$(RM) -f scaf/rules/default.scafo dh clean --after dh_auto_clean override_dh_installchangelogs: dh_installchangelogs CHANGES.LOG override_dh_shlibdeps: find debian/pd-pdp -name "*.pd_linux" -exec \ dpkg-shlibdeps -Tdebian/pd-pdp.substvars {} + find debian/pd-3dp -name "*.pd_linux" -exec \ dpkg-shlibdeps -Tdebian/pd-3dp.substvars {} + [ -z $(BUILD_SCAF) ] || \ find debian/pd-scaf -name "*.pd_linux" -exec \ dpkg-shlibdeps -Tdebian/pd-scaf.substvars {} + override_dh_strip: dh_strip find debian -name "*.pd_linux" -exec \ strip --remove-section=.comment --remove-section=.note --strip-unneeded {} + [ -z $(BUILD_SCAF) ] || \ find debian -name "*.scafo" -exec \ strip --remove-section=.comment --remove-section=.note --strip-unneeded {} + override_dh_fixperms: dh_fixperms find debian -name '*.pd_linux' -exec \ chmod 0644 {} + find debian -name '*.scafo' -exec \ chmod 0644 {} + debian/README.source0000644000000000000000000000035312254574235011357 0ustar This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. Read more about this on /usr/share/doc/quilt/README.source. debian/pd-pdp.doc-base0000644000000000000000000000035512254574235011765 0ustar Document: pdp Title: PDP Developer Documentation Author: Tom Schouten Abstract: (out of date) documentation for PDP development Section: Graphics Format: HTML Index: /usr/share/doc/pd-pdp/devdoc.html Files: /usr/share/doc/pd-pdp/*.html debian/links0000644000000000000000000000020012254574235010232 0ustar usr/lib/pd/extra/pdp/introduction usr/share/doc/pd-pdp/introduction usr/lib/pd/extra/pdp/examples usr/share/doc/pd-pdp/examples debian/pd-pdp.install0000644000000000000000000000010112254574235011743 0ustar usr/lib/pd/extra/pdp usr/include/pdp usr/bin/pdp-config usr/bin/ debian/source/0000755000000000000000000000000012254574235010477 5ustar debian/source/format0000644000000000000000000000001412254574235011705 0ustar 3.0 (quilt) debian/NEWS0000644000000000000000000000277412254574235007710 0ustar pdp (1:0.14.1-1) unstable; urgency=medium Added pdp_scaf (Simple Cellular Automaton Forth) scaf is now available in the package "pd-scaf". The scaf engine (which afair was never packaged for Debian), has been ported to upstream pdp(0.14.1). Re-added pdp_opengl (aka 3dp) pdp_opengl is now available in a separate package "pd-3dp". New upstream pdp(0.14.1) has 3dp readded. It is still somewhat experimental (e.g. the window context cannot be closed, causing crashes when closing/reopening patches), but the basic functionality is back! One of the examples (example06.pd) uses [pdp_ca] from pdp-scaf. Otherwise these packages are totally unrelated. -- IOhannes m zmölnig Thu, 19 Dec 2013 10:00:34 +0100 pdp (1:0.14.0-1) unstable; urgency=low runtime components installed into /usr/lib/pd/extra/pdp/ in order to prevent namespace pollution, all runtime components of pdp (binaries, abstractions, documentation) are now installed into /usr/lib/pd/extra/pdp. you will have to add '/usr/lib/pd/extra/pdp/' to Pd's search-path, to make pdp-abstraction work correctly. pdp will perform a check at startup, to ensure that you have set the search-path correctly. removed pdp_opengl (aka 3dp) 3dp support has been temporarily dropped from upstream pdp(0.14.0), but it is expected to be ported "soon". http://lists.puredata.info/pipermail/pd-list/2013-10/104640.html -- IOhannes m zmölnig Tue, 12 Nov 2013 14:06:00 +0100 debian/pd-pdp.docs0000644000000000000000000000012012254574235011226 0ustar README TODO doc/misc/devdoc.html doc/misc/old-overview.html doc/misc/rawout.txt debian/changelog0000644000000000000000000002002212260057630011035 0ustar pdp (1:0.14.1-1) unstable; urgency=medium [ IOhannes m zmölnig ] * Imported Upstream version 0.14.1 * Added pdp_opengl - openGL-support has been re-added upstream - Available via "pd-3dp" package * Added scaf - Available via "pd-scaf" package - Added manpage for the scaf-compiler "scafc" - Added lintian override for non-hardended scafo files * debian/patches - Updated patches to new upstream - Single patch removing zealous installation-check for Pd - Added DESTDIR support - Ensured availability of /usr/bin - Fixed syntax-errors in scaf/configure.ac * Added hardening flags * Bumped Standards-Version to 3.9.5 [ Paul Brossier ] * pd-scaf: build only on platform supporting mmx * debian/patches/nohardcoded_mmx.patch: remove hardcoded -mmmx * debian/rules: add -mmmx to CFLAGS where need be -- Paul Brossier Sun, 29 Dec 2013 13:44:43 -0400 pdp (1:0.14.0-1) unstable; urgency=low New upstream release (Closes: #398013, LP: #136216) [ IOhannes m zmölnig ] * Imported Upstream version 0.14.0 * Updated debian/patches/ * Removed patches applied upstream * Refreshed other patches * Fixed hardening for pdp_opengl * Removed pdp_opengl/3dp * not ported upstream * Native V4L2-support on linux-architectures * Build-depend on libv4l-dev * GNU/kFreeBSD fixes (Closes: #627904) * Don't include on non-linux platforms * Enable MMX on amd64 * Proper libdir installation * Install everything to /usr/lib/pd/extra/pdp/ * Check on startup, whether libdir-path is searched * Made "pdp_help_input" abstraction work in all circumstances * Use dh-autoreconf * Added Vcs-* stanzas * Install CHANGES.LOG as upstream Changelog * Added debian/NEWS * Run strip/shlipdeps on .pd_linux files * Fix permissions of .pd_linux files (Closes: #716133, #716276) * Updated my Uploader's name * Converted debian/copyright to DEP-5 * Bumped standards to 3.9.4 -- IOhannes m zmölnig Tue, 12 Nov 2013 14:06:00 +0100 pdp (1:0.12.5-2) unstable; urgency=low * Switch to 3.0 (quilt) format * Bumped standards-version to 3.9.3 * Enabled hardening builds - Use debhelper compat >=9 - Added patch to fix build-errors * debian/control - Cosmetic fixes (indentation) - Removed Build-dependency on quilt - Build-Depend on debhelper>=9 - Build-Depend on libpng-dev rather than on libpng12-dev - Build-Depend on puredata-dev|puredata - Depend on puredata-core|pd (Closes: #652384) * debian/patches - Refreshed patches so they apply cleanly - Added quilt patch descriptions - New patch that fixes spelling mistakes * Added myself to Uploaders -- IOhannes m zmoelnig (gpg-key at iem) Fri, 15 Jun 2012 19:15:21 +0200 pdp (1:0.12.5-1.1) unstable; urgency=low * Non-maintainer upload. * Rebuild against new libquicktime (Closes: #632241) * Add missing build-dep puredata-dev (Closes: #627903) * Patch the makefiles to use -rdynamic since -export_dynamic doesn't exist -- Paul Wise Sun, 28 Aug 2011 14:51:14 +0100 pdp (1:0.12.5-1) unstable; urgency=low * Adopt package (closes: #521506) * New upstream release * debian/rules: switch to debhelper and quilt * debian/control: add Build-Depends on quilt * debian/patches/00_add3dp.patch: partly merged upstream * debian/patches/01_fix_gcc4.patch: merged upstream * debian/patches/02_assembler_fix.patch: merged upstream * debian/patches/04_quicktime_fix.patch: merged upstream * debian/patches/01_destdir.patch: add DESTDIR to install target * debian/menu: drop menu entry * debian/README.source: add note about quilt * debian/dirs: do not ship empty externs * debian/patches/06_add_v4l2.patch: add v4l2 from PiDiP * debian/control: add quilt, drop cdbs * debian/pdp-config.sgml: converted to docbook format -- Paul Brossier Thu, 10 Dec 2009 10:20:53 +0100 pdp (1:0.12.4-5) unstable; urgency=low * QA upload. + Set maintainer to Debian QA Group . * Acknowledge NMUs. (Closes: #394103). * 05_kfreebsd.patch - Build on GNU/kFreeBSD. (Closes: #416258). + Thanks to Cyril Brulebois. * Replace libglut3-dev with freeglut3-dev. (Closes: #543700, #394499). * Bump debhelper build-dep and compat to 5. * Bump Standards Version to 3.8.3. + Menu policy transition. -- Barry deFreese Wed, 26 Aug 2009 14:17:10 -0400 pdp (1:0.12.4-4.4) unstable; urgency=medium * Non-maintainer upload. * 04_quicktime_fix.patch: new, fixes FTBFS (Closes: #392179) + change path to QuickTime includes from "quicktime/" to "lqt/" in modules/image_io/pdp_qt.c. + thanks Andreas Jochens for his patch. -- Mohammed Adnène Trojette Thu, 19 Oct 2006 16:13:55 +0200 pdp (1:0.12.4-4.3) unstable; urgency=low * Non-maintainer upload. * Compile with -Wno-error to avoid FTBFS with gcc-4.1 (Closes: #356169). + some bits where left (opengl stuff) because it uses Makefile.config to define CFLAGS. add 03_force_Wno-error.patch to change them. -- Pierre Habouzit Sun, 11 Jun 2006 01:18:03 +0200 pdp (1:0.12.4-4.2) unstable; urgency=low * Non-maintainer upload. * Compile with -Wno-error to avoid FTBFS with gcc-4.1 (Closes: #356169). * Bump Standards-Version to 3.7.2 (No changes required). * Fix debian/menu. -- Pierre Habouzit Sat, 10 Jun 2006 13:18:11 +0200 pdp (1:0.12.4-4.1) unstable; urgency=low * Non-maintainer upload. * Remove Build-Dependency on xlibs-dev (Closes: #347034). * Credit and Big Thanks to Justin Pryzby for the patch and testing. -- Amaya Rodrigo Sastre Sat, 21 Jan 2006 20:41:30 +0100 pdp (1:0.12.4-4) unstable; urgency=low * Recompilation because of libquicktime name change (Closes: #334495) -- Guenter Geiger (Debian/GNU) Wed, 19 Oct 2005 10:47:29 +0200 pdp (1:0.12.4-3) unstable; urgency=low * Updated description * added menu entry and icon * Fixed gcc4.0 problems (closes: #2879079) -- Guenter Geiger (Debian/GNU) Tue, 16 Aug 2005 13:06:03 +0200 pdp (1:0.12.4-2) unstable; urgency=low * fixed the hardcoded depends * added 3dp library -- Guenter Geiger (Debian/GNU) Tue, 15 Mar 2005 22:21:05 +0100 pdp (1:0.12.4-1) unstable; urgency=low * New upstream version * Moved to cdbs * enabled mmx for i368 platforms -- Guenter Geiger (Debian/GNU) Wed, 2 Mar 2005 23:08:06 +0100 pdp (1:0.12.3-2) unstable; urgency=low * Added build dependecy on libxv-dev -- Guenter Geiger (Debian/GNU) Mon, 4 Oct 2004 18:47:12 +0200 pdp (1:0.12.3-1) unstable; urgency=low * New Upstream Version * Added -fPIC to CFLAGS * Removed example files in debian dir * readded installation of doc files * added puredata build dependency * added libgls build dependency -- Guenter Geiger (Debian/GNU) Fri, 25 Jun 2004 16:36:18 +0200 pdp (1:0.12.2-5) unstable; urgency=low * Changing package name -- Pablo Martn Wed, 13 Aug 2003 12:00:25 +0200 pdp (0.12.2-4) unstable; urgency=low * Fixing some errors in the package -- Pablo Martn Thu, 31 Jul 2003 14:50:40 +0200 pdp (0.12.2-3) unstable; urgency=low * Recompile to keep up with debian -- Pablo Martn Wed, 23 Jul 2003 20:20:08 +0200 pdp (0.12.2-2) unstable; urgency=low * Trying to get dependencies better -- Pablo Martn Wed, 23 Jul 2003 11:20:36 +0200 pdp (0.12.2-1) unstable; urgency=low * New upstream release. -- Pablo Martn Tue, 22 Jul 2003 10:22:23 +0200 pdp (0.12.1-2) unstable; urgency=low * New release to fix proxy hell. -- Pablo Martn Wed, 16 Jul 2003 02:27:23 +0200 pdp (0.12.1-1) unstable; urgency=low * Initial Release. -- Pablo Martn Thu, 10 Jul 2003 02:27:23 +0200 debian/pd-3dp.install0000644000000000000000000000027412254574235011661 0ustar opengl/*.pd_linux usr/lib/pd/extra/pdp opengl/abstractions/* usr/lib/pd/extra/pdp opengl/doc/objects/*.pd usr/lib/pd/extra/pdp opengl/doc/examples/*.pd usr/lib/pd/extra/pdp/3dp debian/pd-scaf.install0000644000000000000000000000054312254574235012106 0ustar scaf/*.pd_linux usr/lib/pd/extra/pdp/ scaf/doc/*.pd usr/lib/pd/extra/pdp/ scaf/compiler/scafc usr/bin/ scaf/compiler/optim.rules usr/lib/scaf/ scaf/compiler/kernel.scaf usr/lib/scaf/ scaf/compiler/scafmacro.s usr/lib/scaf/ scaf/compiler/scafc.pl usr/lib/scaf/ scaf/rules/default.scafo usr/lib/scaf/ debian/scafc.10000644000000000000000000000266212254574235010346 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, 1, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH SCAFC 1 "December 2013" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME scafc \- compile simple cellular automaton forth .SH SYNOPSIS .B scafc INPUT [\fIOUTPUT\fR] .SH DESCRIPTION This manual page documents briefly the .B scafc command. .PP .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. \fBscafc\fP is a program to compile scaf-files. "scaf" stands for "Simple Cellular Automaton Forth", and is thus a forth dialect for cellular automata. The generated binaries can then be used by the pdp-object [pdp_ca] within the Pure Data environment. .SH AUTHOR scafc was written by Tom Schouten . .PP This manual page was written by IOhannes m zmölnig , for the Debian project (and may be used by others). debian/watch0000644000000000000000000000007112254574235010226 0ustar version=3 http://zwizwa.be/pd/pdp/pdp-([\d.]+)\.tar\.gz debian/manpages0000644000000000000000000000001512254574235010711 0ustar pdp-config.1 debian/pd-scaf.lintian-overrides0000644000000000000000000000034012254574235014071 0ustar # scafo files are binaries for cellular automata, # so hardening should not really apply. # also it's slightly complicated to add hardening support # to the ASM builds. pd-scaf: hardening-no-relro usr/lib/scaf/default.scafo debian/pd-3dp.docs0000644000000000000000000000003212254574235011133 0ustar opengl/README opengl/TODO debian/copyright0000644000000000000000000000326712254574235011142 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: pdp Upstream-Contact: Tom Schouten Source: http://zwizwa.be/pdp/ License: GPL-2+ Files: * Copyright: 2002-2013, Tom Schouten License: GPL-2+ Files: modules/image_special/pdp_cog.c Copyright: 2003, Johannes Taelman License: GPL-2+ Files: modules/image_io/pdp_qt.c Copyright: 2002-2013, Tom Schouten 2002, Yves Degoyon License: GPL-2+ Files: modules/image_io/pdp_sdl.c Copyright: 2003-2013, Tom Schouten 2003, Martin Pichlmair License: GPL-2+ Files: system/zl/pwc-ioctl.h Copyright: 2001-2002, Nemosoft Unv. License: GPL-2+ Files: debian/* Copyright: 2003, Pablo Martin 2004-2005, Guenter Geiger 2009, Paul Brossier 2012-2013, IOhannes m zmölnig License: GPL-2+ License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . Comment: . On Debian systems the 'GNU General Public License' version 2 is located in '/usr/share/common-licenses/GPL-2'. . You should have received a copy of the GNU General Public License along with this program. If not, see . debian/pd-scaf.manpages0000644000000000000000000000001712254574235012227 0ustar debian/scafc.1 debian/control0000644000000000000000000000415212256334221010573 0ustar Source: pdp Section: graphics Priority: extra Maintainer: Paul Brossier Uploaders: IOhannes m zmölnig Build-Depends: debhelper (>= 9), dh-autoreconf, docbook-to-man, puredata-dev | puredata (>= 0.38), libv4l-dev [linux-any], libquicktime-dev, libsdl1.2-dev, libpng-dev, libgsl0-dev, libxv-dev, freeglut3-dev Standards-Version: 3.9.5 Homepage: http://zwizwa.be/pdp/ Vcs-Git: git://anonscm.debian.org/collab-maint/pdp.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/pdp.git;a=summary Package: pd-pdp Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, puredata-core | pd Recommends: pd-3dp, pd-scaf Description: Graphics system for Pd PDP is an extension library for Pd that allows you to manipulate movies and live video data in realtime. PDP stands for Pd Packet, the data container that is used for images in PDP. Package: pd-3dp Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, puredata-core | pd, pd-pdp Suggests: pd-scaf Description: openGL extensions for PDP PDP is an extension library for Pd that allows you to manipulate movies and live video data in realtime. PDP stands for Pd Packet, the data container that is used for images in PDP. . This library extends PDP with texture and render context packets, to use some of the power of current video hardware. . Warning: this is still experimental and incomplete! Package: pd-scaf Architecture: i386 amd64 Depends: ${shlibs:Depends}, ${misc:Depends}, puredata-core | pd, pd-pdp Description: Simple Cellular Automaton Forth for PDP PDP is an extension library for Pd that allows you to manipulate movies and live video data in realtime. PDP stands for Pd Packet, the data container that is used for images in PDP. . This is a PDP extension lib that contains modules for cellular automata built on a (very) minimal forth-like virtual system (scaf - simple cellular automaton forth) to define update rules. A compiler is included to produce 'scafo' object code that can be dynamically loaded into the [pdp_ca] module. So it is possible to add/change rules without restarting Pd. debian/compat0000644000000000000000000000000212254574235010375 0ustar 9 debian/patches/0000755000000000000000000000000012260054405010613 5ustar debian/patches/01_destdir.patch0000644000000000000000000000334112254574235013606 0ustar Author: Debian Description: prepend $(DESTDIR) to installation targets --- pdp.orig/Makefile +++ pdp/Makefile @@ -65,19 +65,19 @@ install: all - install -d $(prefix)/lib/pd/extra - install -m 755 $(PDP_LIBRARY_NAME) $(prefix)/lib/pd/extra - install -m 755 -d $(prefix)/include/pdp - install -m 644 include/*.h $(prefix)/include/pdp - install -m 644 abstractions/*.pd $(prefix)/lib/pd/extra - install -m 644 doc/objects/*.pd $(prefix)/lib/pd/doc/5.reference - install -m 755 -d $(prefix)/lib/pd/doc/pdp - install -m 755 -d $(prefix)/lib/pd/doc/pdp/introduction - install -m 755 -d $(prefix)/lib/pd/doc/pdp/examples - install -m 644 doc/reference.txt $(prefix)/lib/pd/doc/pdp - install -m 644 doc/introduction/*.pd $(prefix)/lib/pd/doc/pdp/introduction - install -m 644 doc/examples/*.pd $(prefix)/lib/pd/doc/pdp/examples - install -m 755 bin/pdp-config $(prefix)/bin + install -d $(DESTDIR)$(prefix)/lib/pd/extra + install -m 755 $(PDP_LIBRARY_NAME) $(DESTDIR)$(prefix)/lib/pd/extra + install -m 755 -d $(DESTDIR)$(prefix)/include/pdp + install -m 644 include/*.h $(DESTDIR)$(prefix)/include/pdp + install -m 644 abstractions/*.pd $(DESTDIR)$(prefix)/lib/pd/extra + install -m 644 doc/objects/*.pd $(DESTDIR)$(prefix)/lib/pd/doc/5.reference + install -m 755 -d $(DESTDIR)$(prefix)/lib/pd/doc/pdp + install -m 755 -d $(DESTDIR)$(prefix)/lib/pd/doc/pdp/introduction + install -m 755 -d $(DESTDIR)$(prefix)/lib/pd/doc/pdp/examples + install -m 644 doc/reference.txt $(DESTDIR)$(prefix)/lib/pd/doc/pdp + install -m 644 doc/introduction/*.pd $(DESTDIR)$(prefix)/lib/pd/doc/pdp/introduction + install -m 644 doc/examples/*.pd $(DESTDIR)$(prefix)/lib/pd/doc/pdp/examples + install -m 755 bin/pdp-config $(DESTDIR)$(prefix)/bin snapshot: bin/snapshot -d darcs debian/patches/nohardcoded_mmx.patch0000644000000000000000000000111212260052315014760 0ustar Description: remove hard-coded mmx from opengl/Makefile.config --- pdp-0.14.1.orig/opengl/Makefile.config +++ pdp-0.14.1/opengl/Makefile.config @@ -5,7 +5,7 @@ #PD_EXECUTABLE=/path_to_pd_dir/bin/pd PD_CPPFLAGS= PD_EXECUTABLE= -PDP_CFLAGS=-DPD -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -fPIC -O2 -funroll-loops -fomit-frame-pointer -ffast-math -mmmx +PDP_CFLAGS=-DPD -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -fPIC -O2 -funroll-loops -fomit-frame-pointer -ffast-math # these are reused in opengl module prefix=/usr/local debian/patches/scaf_build.patch0000644000000000000000000000305412254574235013744 0ustar Description: added DESTDIR support to build Author: IOhannes m zmölnig Last-Update: 2013-12-18 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- pdp.orig/scaf/Makefile +++ pdp/scaf/Makefile @@ -29,12 +29,12 @@ gcc -rdynamic -shared -o pdp_scaf.pd_linux pdp/*.o $(PDP_CA_LIBS) $(LDFLAGS) install: all - install -d $(prefix)/lib/scaf - install -m 755 compiler/scafc $(prefix)/bin || echo failed - install -m 755 compiler/scafc.pl $(prefix)/lib/scaf || echo failed - install -m 644 compiler/kernel.scaf $(prefix)/lib/scaf || echo failed - install -m 644 compiler/scafmacro.s $(prefix)/lib/scaf || echo failed - install -m 644 compiler/optim.rules $(prefix)/lib/scaf || echo failed - install -m 755 rules/carules.scafo $(prefix)/lib/scaf/default.scafo || echo failed - install -m 755 pdp_scaf.pd_linux $(prefix)/lib/pd/extra - install -m 644 doc/*.pd $(prefix)/lib/pd/doc/5.reference + install -d $(DESTDIR)$(prefix)/lib/scaf + install -m 755 compiler/scafc $(DESTDIR)$(prefix)/bin || echo failed + install -m 755 compiler/scafc.pl $(DESTDIR)$(prefix)/lib/scaf || echo failed + install -m 644 compiler/kernel.scaf $(DESTDIR)$(prefix)/lib/scaf || echo failed + install -m 644 compiler/scafmacro.s $(DESTDIR)$(prefix)/lib/scaf || echo failed + install -m 644 compiler/optim.rules $(DESTDIR)$(prefix)/lib/scaf || echo failed + install -m 755 rules/carules.scafo $(DESTDIR)$(prefix)/lib/scaf/default.scafo || echo failed + install -m 755 pdp_scaf.pd_linux $(DESTDIR)$(prefix)/lib/pd/extra + install -m 644 doc/*.pd $(DESTDIR)$(prefix)/lib/pd/doc/5.reference debian/patches/skip_pd_check.patch0000644000000000000000000000313312254574235014435 0ustar Description: skip checks whether Pd is installed PDP tries to be extra smart and refuses to install if it cannot find pd installed. on Debian we have other means to ensure consistency... Author: Debian Last-Update: 2013-12-18 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- pdp.orig/Makefile +++ pdp/Makefile @@ -65,8 +65,6 @@ install: all - #check if pd is installed. if this fails make install will stop here. - test -d $(prefix)/lib/pd install -d $(prefix)/lib/pd/extra install -m 755 $(PDP_LIBRARY_NAME) $(prefix)/lib/pd/extra install -m 755 -d $(prefix)/include/pdp --- pdp.orig/opengl/Makefile +++ pdp/opengl/Makefile @@ -35,7 +35,6 @@ # $(CC) -o pdp_opengl.pd_pd_darwin modules/*.o system/*.o $(LDFLAGS) -g -bundle -bundle_loader $(PD_EXECUTABLE) install: all - test -d $(prefix)/lib/pd #check if pd is installed. if this fails make install will stop here. install -d $(prefix)/lib/pd/extra install -m 755 $(PDP_OPENGL_LIBRARY_NAME) $(prefix)/lib/pd/extra install -m 644 abstractions/*.pd $(prefix)/lib/pd/extra --- pdp.orig/scaf/Makefile +++ pdp/scaf/Makefile @@ -36,8 +36,5 @@ install -m 644 compiler/scafmacro.s $(prefix)/lib/scaf || echo failed install -m 644 compiler/optim.rules $(prefix)/lib/scaf || echo failed install -m 755 rules/carules.scafo $(prefix)/lib/scaf/default.scafo || echo failed - #Check if pd is installed in $(prefix)/lib/pd. - #If this fails the pdp_scaf lib and the docs won't be installed. - test -d $(prefix)/lib/pd install -m 755 pdp_scaf.pd_linux $(prefix)/lib/pd/extra install -m 644 doc/*.pd $(prefix)/lib/pd/doc/5.reference debian/patches/fix_verbosity.patch0000644000000000000000000000126212254574235014544 0ustar Description: silence overly verbose output ino need to print a debugging line each time a window is moved Author: IOhannes m zmölnig Last-Update: 2013-12-18 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- pdp.orig/system/zl/xwindow.c +++ pdp/system/zl/xwindow.c @@ -184,7 +184,7 @@ w->winwidth = e->xconfigure.width; w->winheight = e->xconfigure.height; - ZL_LOG("ConfigureNotify %d %d", w->winwidth, w->winheight); + //ZL_LOG("ConfigureNotify %d %d", w->winwidth, w->winheight); /* Workaround for weird window sizes 42592x42379 that cause BadValue for XV. */ debian/patches/help_input.patch0000644000000000000000000000232712254574235014022 0ustar Description: make [pdp_help_input] work out of the box Since pdp doesn't ship any .mov-file, it's pointless to use a movie as input; therefore use [pdp_noise] as default input, which is always available. Also removed dependency on "ggee" (only needed for mov-playback) Author: IOhannes m zmölnig Origin: Debian Last-Update: 2013-11-12 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- pdp.orig/doc/objects/pdp_help_input.pd +++ pdp/doc/objects/pdp_help_input.pd @@ -1,4 +1,4 @@ -#N canvas 683 29 681 161 10; +#N canvas 679 51 681 161 10; #X obj 23 524 pdp_v4l; #X text 17 11 this abstraction is used as an input module in most of the documentation patches. change it to reflect your preferred input @@ -48,7 +48,7 @@ #X text 236 552 connect here; #X text 239 566 for noise input; #X text 293 137 disconnect for noise input; -#X obj 492 255 ggee/getdir; +#X obj 492 255 symbol .; #X msg 492 288 open \$1/../../doc/media/midr-mjpeg.mov; #X obj 492 515 pdp_qt; #X connect 0 0 4 0; @@ -62,8 +62,7 @@ #X connect 10 0 39 0; #X connect 13 0 0 0; #X connect 14 0 41 0; -#X connect 17 0 10 0; -#X connect 18 0 13 0; +#X connect 18 0 35 0; #X connect 21 0 41 0; #X connect 22 0 5 0; #X connect 30 0 22 0; debian/patches/kfreebsd_hurd.patch0000644000000000000000000000137212254574235014461 0ustar Author: Debian Description: treat kFreeBSD the same as linux --- pdp.orig/configure +++ pdp/configure @@ -3494,7 +3494,7 @@ ARCH=`uname -s` -if test $ARCH == Linux; +if test $ARCH == "Linux" -o $ARCH == "GNU/kFreeBSD" -o $ARCH == "GNU"; then PDP_LIBRARY_NAME=pdp.pd_linux --- pdp.orig/configure.ac +++ pdp/configure.ac @@ -137,7 +137,7 @@ AC_CHECK_LIB(m,sin) ARCH=`uname -s` -if test $ARCH == Linux; +if test $ARCH == "Linux" -o $ARCH == "GNU/kFreeBSD" -o $ARCH == "GNU"; then PDP_LIBRARY_NAME=pdp.pd_linux --- pdp.orig/system/zl/v4l.c +++ pdp/system/zl/v4l.c @@ -43,7 +43,9 @@ #include #include #include +#ifdef __linux__ #include +#endif #include #include "v4l.h" debian/patches/fix_v4l.patch0000644000000000000000000000103512254574235013221 0ustar Description: remove non-existant v4l2-controls there's no V4L2_CID_HCENTER nor V4L2_CID_VCENTER Author: IOhannes m zmölnig Last-Update: 2013-12-18 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- pdp.orig/system/zl/v4l.h +++ pdp/system/zl/v4l.h @@ -193,8 +193,6 @@ ZL_V4L_CTRL(GAIN) \ ZL_V4L_CTRL(HFLIP) \ ZL_V4L_CTRL(VFLIP) \ - ZL_V4L_CTRL(HCENTER) \ - ZL_V4L_CTRL(VCENTER) \ ZL_V4L_CTRL(POWER_LINE_FREQUENCY) \ ZL_V4L_CTRL(HUE_AUTO) \ ZL_V4L_CTRL(WHITE_BALANCE_TEMPERATURE) \ debian/patches/02_install_extra-pdp.patch0000644000000000000000000000335412254574235015607 0ustar Description: install library-files into /usr/lib/pd/extra/pdp Author: IOhannes m zmölnig Last-Update: 2013-10-09 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- pdp.orig/Makefile +++ pdp/Makefile @@ -65,18 +65,17 @@ install: all - install -d $(DESTDIR)$(prefix)/lib/pd/extra - install -m 755 $(PDP_LIBRARY_NAME) $(DESTDIR)$(prefix)/lib/pd/extra + install -d $(DESTDIR)$(prefix)/lib/pd/extra/pdp + install -m 755 $(PDP_LIBRARY_NAME) $(DESTDIR)$(prefix)/lib/pd/extra/pdp install -m 755 -d $(DESTDIR)$(prefix)/include/pdp install -m 644 include/*.h $(DESTDIR)$(prefix)/include/pdp - install -m 644 abstractions/*.pd $(DESTDIR)$(prefix)/lib/pd/extra - install -m 644 doc/objects/*.pd $(DESTDIR)$(prefix)/lib/pd/doc/5.reference - install -m 755 -d $(DESTDIR)$(prefix)/lib/pd/doc/pdp - install -m 755 -d $(DESTDIR)$(prefix)/lib/pd/doc/pdp/introduction - install -m 755 -d $(DESTDIR)$(prefix)/lib/pd/doc/pdp/examples - install -m 644 doc/reference.txt $(DESTDIR)$(prefix)/lib/pd/doc/pdp - install -m 644 doc/introduction/*.pd $(DESTDIR)$(prefix)/lib/pd/doc/pdp/introduction - install -m 644 doc/examples/*.pd $(DESTDIR)$(prefix)/lib/pd/doc/pdp/examples + install -m 644 abstractions/*.pd $(DESTDIR)$(prefix)/lib/pd/extra/pdp + install -m 644 doc/objects/*.pd $(DESTDIR)$(prefix)/lib/pd/extra/pdp + install -m 755 -d $(DESTDIR)$(prefix)/lib/pd/extra/pdp/introduction + install -m 755 -d $(DESTDIR)$(prefix)/lib/pd/extra/pdp/examples + install -m 644 doc/reference.txt $(DESTDIR)$(prefix)/lib/pd/extra/pdp + install -m 644 doc/introduction/*.pd $(DESTDIR)$(prefix)/lib/pd/extra/pdp/introduction + install -m 644 doc/examples/*.pd $(DESTDIR)$(prefix)/lib/pd/extra/pdp/examples install -m 755 bin/pdp-config $(DESTDIR)$(prefix)/bin snapshot: debian/patches/searchpath_check.patch0000644000000000000000000000473612256332435015134 0ustar Description: check whether searchpaths are setup-correctly pd-libraries should live in a subdirectory of .../pd/extra (e.g. .../pd/extra/pdp/), but pdp usually is installed directly into .../pd/extra/; since it comes with some abstractions, the user might want to add .../pd/extra/pdp to Pd's search path. this patch checks whether pdp-abstractions are findable. if the abstractions are not in Pd's search path, but live besides the pdp-binary, the path to the binary is automatically added. else a warning is printed, that the user ought to add the path manually. Author: IOhannes m zmölnig Last-Update: 2013-10-29 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- pdp.orig/system/pdp.c +++ pdp/system/pdp.c @@ -22,6 +22,11 @@ #include "pdp_config.h" #include "pdp_post.h" +#include "m_imp.h" +#include + +#include "s_stuff.h" + static int initialized = 0; /* all symbols are C style */ @@ -101,8 +106,47 @@ /* testing */ void pdp_dpd_test_setup(void); - - +static t_class *pdp_class; +static void*pdp_class_new(void) +{ + t_pd*x=pd_new(pdp_class); + return (x); +} +/* check whether we can find the pdp-abstractions + * (because they are already in Pd's path) + */ +void pdp_class_setup(void) { + const char*absname="pdp_tag.pd"; + char buf[MAXPDSTRING]; + char*bufptr=NULL; + const char*libpath=NULL; + + int fd=-1; + + /* create a [pdp] objectclass */ + pdp_class = class_new(gensym("pdp"), pdp_class_new, 0, sizeof(t_object), CLASS_NOINLET, 0); + + /* check whether we can find a pdp-abstraction */ + if ((fd=canvas_open(NULL, absname, "", buf, &bufptr, MAXPDSTRING, 1))>=0){ + sys_close(fd); + return; + } + + /* couldn't find pdp-abstraction, print-warning */ + libpath=pdp_class->c_externdir->s_name; + /* check whether we can find the abstractions in pdp's own path */ + snprintf(buf, MAXPDSTRING-1, "%s/%s", libpath, absname); + buf[MAXPDSTRING-1]=0; + if ((fd=sys_open(buf, O_RDONLY))>=0){ + sys_close(fd); + logpost(NULL, 3, "PDP: adding '%s' to your search-path", libpath); + sys_searchpath = namelist_append(sys_searchpath, libpath, 0); + } else { + // can't find this abstraction...giving up + logpost(NULL, 1, "PDP: cannot find pdp-abstractions"); + logpost(NULL, 3, "PDP: please add path to '%s' to your search-path!", absname); + } +} /* library setup routine */ void pdp_setup(void){ @@ -122,6 +166,7 @@ /* setup pdp system */ + pdp_class_setup(); /* kernel */ pdp_pdsym_setup(); debian/patches/hardening.patch0000644000000000000000000000140612254574235013607 0ustar Author: IOhannes m zmölnig Descriptions: allow pdp to be compiled with hardening flags --- pdp.orig/scaf/Makefile +++ pdp/scaf/Makefile @@ -26,7 +26,7 @@ pdp_scaf.pd_linux: pdp_scaf_all rm -f pdp_scaf.pd_linux - gcc -rdynamic -shared -o pdp_scaf.pd_linux pdp/*.o $(PDP_CA_LIBS) + gcc -rdynamic -shared -o pdp_scaf.pd_linux pdp/*.o $(PDP_CA_LIBS) $(LDFLAGS) install: all install -d $(prefix)/lib/scaf --- pdp.orig/Makefile +++ pdp/Makefile @@ -26,7 +26,7 @@ linux: pdp_all rm -f pdp.pd_linux - $(CC) -rdynamic -shared -o pdp.pd_linux modules/*/*.o system/pdp.o system/*/*.o puredata/*.o $(PDP_LIBS) + $(CC) -rdynamic -shared -o pdp.pd_linux modules/*/*.o system/pdp.o system/*/*.o puredata/*.o $(PDP_LIBS) $(LDFLAGS) linux_mmx: linux linux_gcc_mmx: linux debian/patches/fix_typos.patch0000644000000000000000000000310312254574235013670 0ustar Author: IOhannes m zmölnig Description: Fixing spelling mistakes --- pdp.orig/include/pdp_packet.h +++ pdp/include/pdp_packet.h @@ -135,7 +135,7 @@ union /* each packet type has a unique subheader */ { - t_raw raw; /* raw subheader (for extensions unkown to pdp core system) */ + t_raw raw; /* raw subheader (for extensions unknown to pdp core system) */ struct _image image; /* (nonstandard internal) 16 bit signed planar bitmap image format */ struct _bitmap bitmap; /* (standard) bitmap image (fourcc coded) */ //t_ca ca; /* cellular automaton state data */ --- pdp.orig/modules/image_io/pdp_qt.c +++ pdp/modules/image_io/pdp_qt.c @@ -344,7 +344,7 @@ break; default: - post("%s: error on init: unkown colour model",x->x_name->s_name); + post("%s: error on init: unknown colour model",x->x_name->s_name); break; } @@ -548,7 +548,7 @@ break; default: - post("%s: error on decode: unkown colour model",x->x_name->s_name); + post("%s: error on decode: unknown colour model",x->x_name->s_name); break; } --- pdp.orig/opengl/modules/pdp_3d_state.c +++ pdp/opengl/modules/pdp_3d_state.c @@ -93,7 +93,7 @@ else if (s == gensym("blend_add")) {x->x_setup = _blend_add; x->x_thing = GL_BLEND;} else if (s == gensym("depth_test")) {x->x_setup = 0; x->x_thing = GL_DEPTH_TEST;} - /* unkown command: do nothing */ + /* unknown command: do nothing */ else { post ("3dp_state: unknown flag %s", s->s_name); pd_free((void *)x); debian/patches/scaf_configure.patch0000644000000000000000000000201012254574235014615 0ustar Description: fix missing close-quotes in scaf's configure.ac Author: IOhannes m zmölnig Last-Update: 2013-12-18 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- pdp.orig/scaf/configure.ac +++ pdp/scaf/configure.ac @@ -34,14 +34,14 @@ if test PD_OK == "no"; then - echo "WARNING: m_pd.h not found. Is PD installed? - echo "WARNING: You can ignore this warning if you have set the PD_CFLAGS manually in Makefile.config.in + echo "WARNING: m_pd.h not found. Is PD installed?" + echo "WARNING: You can ignore this warning if you have set the PD_CFLAGS manually in Makefile.config.in" fi if test PDP_OK == "no"; then - echo "WARNING: pdp.h not found. Is PDP installed? - echo "WARNING: You can ignore this warning if you have set the PDP_CFLAGS manually in Makefile.config.in + echo "WARNING: pdp.h not found. Is PDP installed?" + echo "WARNING: You can ignore this warning if you have set the PDP_CFLAGS manually in Makefile.config.in" fi CPPFLAGS="$CPPFLAGS $PDFLAGS $PDPFLAGS -I$TOPSRC/include" debian/patches/fix_install.patch0000644000000000000000000000112212254574235014157 0ustar Description: make sure there is a usr/bin/ directory to install to Author: IOhannes m zmölnig Last-Update: 2013-12-18 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- pdp.orig/Makefile +++ pdp/Makefile @@ -76,6 +76,7 @@ install -m 644 doc/reference.txt $(DESTDIR)$(prefix)/lib/pd/extra/pdp install -m 644 doc/introduction/*.pd $(DESTDIR)$(prefix)/lib/pd/extra/pdp/introduction install -m 644 doc/examples/*.pd $(DESTDIR)$(prefix)/lib/pd/extra/pdp/examples + install -d $(DESTDIR)$(prefix)/bin install -m 755 bin/pdp-config $(DESTDIR)$(prefix)/bin snapshot: debian/patches/series0000644000000000000000000000041412260054412012025 0ustar skip_pd_check.patch 01_destdir.patch 02_install_extra-pdp.patch kfreebsd_hurd.patch fix_typos.patch hardening.patch searchpath_check.patch help_input.patch fix_v4l.patch fix_verbosity.patch scaf_configure.patch scaf_build.patch fix_install.patch nohardcoded_mmx.patch debian/pd-scaf.docs0000644000000000000000000000004712254574235011367 0ustar scaf/README scaf/README.scaf scaf/TODO debian/pdp-config.sgml0000644000000000000000000001117012254574235012111 0ustar manpage.1'. You may view the manual page with: `docbook-to-man manpage.sgml | nroff -man | less'. A typical entry in a Makefile or Makefile.am is: manpage.1: manpage.sgml docbook-to-man $< > $@ The docbook-to-man binary is found in the docbook-to-man package. Please remember that if you create the nroff version in one of the debian/rules file targets (such as build), you will need to include docbook-to-man in your Build-Depends control field. --> Paul"> Brossier"> December 10, 2009"> 1"> piem@debian.org"> PDP-CONFIG"> Debian"> GNU"> GPL"> ]>
&dhemail;
&dhfirstname; &dhsurname; 2009 &dhusername; &dhdate;
&dhucpackage; &dhsection; &dhpackage; script to get information about the installed version of PDP &dhpackage; DESCRIPTION &dhpackage; is a tool that is used to configure to determine the compiler and linker flags that should be used to compile and links modules that use PDP. OPTIONS &dhpackage; accepts the following options: Print the currently installed version of PDP on the standard output. Print the compiler flags that are necessary to compile a PDP module. Print the linker flags that are necessary to compile a PDP module. SEE ALSO aubioonset(1) aubiotrack(1) aubionotes(1) aubiopitch(1) AUTHORS This manual page was first written by Pablo Martìn (caedes@sindominio.net) for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. This manual page was then converted to the SGML format by &dhusername; (&dhemail;). On Debian systems, the complete text of the GNU Free Documentation License can be found in /usr/share/common-licenses/GFDL.