diff -Nru pd-pddp-0.2/debian/changelog pd-pddp-0.2.1/debian/changelog --- pd-pddp-0.2/debian/changelog 2011-12-29 20:03:05.000000000 +0000 +++ pd-pddp-0.2.1/debian/changelog 2013-01-18 04:07:47.000000000 +0000 @@ -1,3 +1,11 @@ +pd-pddp (0.2.1-1) unstable; urgency=low + + * updated to copyright-format/1.0 + * Standards-Version: 3.9.4 + * Imported Upstream version 0.2.1 + + -- Hans-Christoph Steiner Thu, 17 Jan 2013 23:07:34 -0500 + pd-pddp (0.2-1) unstable; urgency=low * Imported Upstream version 0.2 diff -Nru pd-pddp-0.2/debian/control pd-pddp-0.2.1/debian/control --- pd-pddp-0.2/debian/control 2011-12-29 19:35:13.000000000 +0000 +++ pd-pddp-0.2.1/debian/control 2013-01-18 03:22:10.000000000 +0000 @@ -2,12 +2,11 @@ Section: sound Priority: optional Maintainer: Debian Multimedia Maintainers -DM-Upload-Allowed: yes Uploaders: Hans-Christoph Steiner Build-Depends: debhelper (>= 7.0.50~), puredata-dev | puredata (<< 0.43), quilt (>= 0.46-7~) -Standards-Version: 3.9.2 +Standards-Version: 3.9.4 Homepage: http://puredata.info Vcs-Git: git://git.debian.org/pkg-multimedia/pd-boids.git Vcs-Browser: http://git.debian.org/?p=pkg-multimedia/pd-pddp.git;a=summary diff -Nru pd-pddp-0.2/debian/copyright pd-pddp-0.2.1/debian/copyright --- pd-pddp-0.2/debian/copyright 2010-11-10 04:37:12.000000000 +0000 +++ pd-pddp-0.2.1/debian/copyright 2012-10-05 17:20:02.000000000 +0000 @@ -1,6 +1,6 @@ -Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=135 -Name: pddp -Maintainer: Hans-Christoph Steiner +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: pddp +Upstream-Contact: Hans-Christoph Steiner Source: http://sourceforge.net/projects/pure-data/files/libraries/pddp/ Copyright: 2005-2010, Hans-Christoph Steiner diff -Nru pd-pddp-0.2/dsp.pd pd-pddp-0.2.1/dsp.pd --- pd-pddp-0.2/dsp.pd 2011-12-29 19:27:38.000000000 +0000 +++ pd-pddp-0.2.1/dsp.pd 2013-01-17 23:29:33.000000000 +0000 @@ -1,28 +1,29 @@ -#N canvas 412 173 479 364 10; -#X obj 19 1 cnv 16 40 16 empty pddp_dsp_canvas dsp 7 8 0 14 -233017 +#N canvas 312 196 485 397 10; +#X obj 19 1 cnv 16 40 16 empty pddp_dsp_canvas dsp 7 8 0 14 -24198 -33289 0; #X obj 0 0 tgl 18 0 THIS_IS_HERE_TO_GET_RID_OF_THE_OUTLET GLOBAL_PDDP_DSP_TOGGLE -empty 1 8 1 9 -233017 -33289 -33289 0 1; -#X obj 82 216 select 0 1; -#X msg 115 238 76; -#X msg 80 238 10; +empty 1 8 1 9 -24198 -33289 -33289 1 1; +#X obj 82 236 select 0 1; +#X msg 115 258 76; +#X msg 80 258 10; #X obj 81 37 route dsp; -#X msg 1 180 \; pd dsp \$1; -#X text 239 338 released under the GNU GPL; -#X text 22 324 (C) Copyright 2005 Hans-Christoph Steiner +#X msg 1 200 \; pd dsp \$1; +#X text 239 358 released under the GNU GPL; +#X text 22 344 (C) Copyright 2005 Hans-Christoph Steiner ; -#X msg 109 179 \; GLOBAL_PDDP_DSP_TOGGLE set \$1; -#X obj 194 113 float; -#X obj 82 115 float; +#X msg 109 199 \; GLOBAL_PDDP_DSP_TOGGLE set \$1; +#X obj 194 133 float; +#X obj 82 135 float; #X obj 81 16 receive pd; #X obj 194 11 receive GLOBAL_PDDP_DSP; -#X obj 194 60 bang; -#X msg 99 268 \; GLOBAL_PDDP_DSP_TOGGLE color \$1 12 12 \; pddp_dsp_canvas +#X obj 194 80 bang; +#X msg 99 288 \; GLOBAL_PDDP_DSP_TOGGLE color \$1 12 12 \; pddp_dsp_canvas color \$1 12 12; -#X obj 308 31 loadbang; -#X obj 316 72 send GLOBAL_PDDP_DSP; -#X obj 194 80 spigot 0; -#X msg 280 55 1; +#X obj 239 39 loadbang; +#X obj 338 80 send GLOBAL_PDDP_DSP; +#X obj 194 100 spigot 0; +#X msg 239 80 1; +#X obj 239 60 trigger bang bang; #X connect 1 0 6 0; #X connect 1 0 11 0; #X connect 2 0 4 0; @@ -38,8 +39,9 @@ #X connect 12 0 5 0; #X connect 13 0 14 0; #X connect 14 0 18 0; -#X connect 16 0 17 0; -#X connect 16 0 19 0; +#X connect 16 0 20 0; #X connect 18 0 10 0; #X connect 19 0 18 1; +#X connect 20 0 19 0; +#X connect 20 1 17 0; #X coords 0 0 1 1 60 18 1 0 0; diff -Nru pd-pddp-0.2/pddp-meta.pd pd-pddp-0.2.1/pddp-meta.pd --- pd-pddp-0.2/pddp-meta.pd 2011-12-29 19:27:38.000000000 +0000 +++ pd-pddp-0.2.1/pddp-meta.pd 2013-01-17 23:29:33.000000000 +0000 @@ -4,5 +4,5 @@ #X text 10 30 NAME pddp; #X text 10 50 LICENSE GNU GPL; #X text 10 70 DESCRIPTION support objects for the Pure Data Documentation Project; -#X text 10 90 VERSION 0.2; +#X text 10 90 VERSION 0.2.1; #X restore 10 10 pd META; diff -Nru pd-pddp-0.2/pddplink.c pd-pddp-0.2.1/pddplink.c --- pd-pddp-0.2/pddplink.c 2011-12-29 19:27:38.000000000 +0000 +++ pd-pddp-0.2.1/pddplink.c 2013-01-17 23:29:33.000000000 +0000 @@ -17,7 +17,6 @@ t_object x_ob; t_glist *x_glist; int x_isboxed; - int x_isgopvisible; char *x_vistext; int x_vissize; int x_vislength; @@ -84,15 +83,12 @@ t_pddplink *x = (t_pddplink *)z; t_rtext *y = glist_findrtext(glist, (t_text *)x); rtext_select(y, state); - if (glist_isvisible(glist) && glist->gl_havewindow) - { - if (state) - sys_vgui(".x%lx.c itemconfigure %s -fill blue\n", - glist, rtext_gettag(y)); - else - sys_vgui(".x%lx.c itemconfigure %s -text {%s} -fill #0000dd -activefill #e70000\n", - glist, rtext_gettag(y), x->x_vistext); - } + if (state) + sys_vgui(".x%lx.c itemconfigure %s -fill blue\n", + glist, rtext_gettag(y)); + else + sys_vgui(".x%lx.c itemconfigure %s -text {%s} -fill #0000dd -activefill #e70000\n", + glist, rtext_gettag(y), x->x_vistext); } static void pddplink_activate(t_gobj *z, t_glist *glist, int state) @@ -106,23 +102,15 @@ static void pddplink_vis(t_gobj *z, t_glist *glist, int vis) { t_pddplink *x = (t_pddplink *)z; - t_rtext *y; + t_rtext *y = glist_findrtext(glist, (t_text *)x); if (vis) { - if ((glist->gl_havewindow || x->x_isgopvisible) - && (y = glist_findrtext(glist, (t_text *)x))) - { - rtext_draw(y); - sys_vgui(".x%lx.c itemconfigure %s -text {%s} -fill #0000dd -activefill #e70000\n", - glist_getcanvas(glist), rtext_gettag(y), x->x_vistext); - } + rtext_draw(y); + sys_vgui(".x%lx.c itemconfigure %s -text {%s} -fill #0000dd -activefill #e70000\n", + glist_getcanvas(glist), rtext_gettag(y), x->x_vistext); } else - { - if ((glist->gl_havewindow || x->x_isgopvisible) - && (y = glist_findrtext(glist, (t_text *)x))) - rtext_erase(y); - } + rtext_erase(y); } static int pddplink_wbclick(t_gobj *z, t_glist *glist, int xpix, int ypix, @@ -179,14 +167,14 @@ int shift, int alt, int dbl, int doit) { t_pddplink *x = (t_pddplink *)z; - if (glist->gl_havewindow || x->x_isgopvisible) + if (doit) { - if (doit) - pddplink_click(x, (t_floatarg)xpix, (t_floatarg)ypix, - (t_floatarg)shift, 0, (t_floatarg)alt); + pddplink_click(x, (t_floatarg)xpix, (t_floatarg)ypix, + (t_floatarg)shift, 0, (t_floatarg)alt); return (1); } - else return (0); + else + return (0); } static int pddplink_isoption(char *name) @@ -283,7 +271,6 @@ t_pddplink xgen, *x; int skip; xgen.x_isboxed = 0; - xgen.x_isgopvisible = 0; xgen.x_vistext = 0; xgen.x_vissize = 0; if ((xgen.x_ulink = pddplink_nextsymbol(ac, av, 0, &skip))) @@ -297,8 +284,6 @@ av += skip; if (opt == gensym("-box")) xgen.x_isboxed = 1; - else if (opt == gensym("-gop")) - xgen.x_isgopvisible = 1; else if (opt == gensym("-text")) { t_symbol *nextsym = pddplink_nextsymbol(ac, av, 1, &skip); @@ -315,7 +300,6 @@ x->x_dirsym = canvas_getdir(x->x_glist); /* FIXME */ x->x_isboxed = xgen.x_isboxed; - x->x_isgopvisible = xgen.x_isgopvisible; x->x_vistext = xgen.x_vistext; x->x_vissize = xgen.x_vissize; x->x_vislength = (x->x_vistext ? strlen(x->x_vistext) : 0);