Skip to content

Commit 95b6259

Browse files
author
Jonathan Wilkes
committed
Merge branch '2.19.4-release' into 'master'
2.19.4 release (candidate) See merge request jwilkes/purr-data!867
2 parents 3e28a71 + f34e148 commit 95b6259

176 files changed

Lines changed: 31731 additions & 3570 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitmodules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
url = https://github.com/pd-l2ork/cwiid
77
[submodule "Gem"]
88
path = Gem
9-
url = https://git.purrdata.net/aggraef/gem.git
9+
url = https://github.com/agraef/Gem.git
1010
[submodule "l2ork_addons/raspberry_pi/disis_gpio/wiringPi"]
1111
path = l2ork_addons/raspberry_pi/disis_gpio/wiringPi
1212
url = https://git.purrdata.net/jwilkes/wiringPi.git
1313
[submodule "externals/pd-lua"]
1414
path = externals/pd-lua
15-
url = https://git.purrdata.net/jwilkes/pd-lua.git
15+
url = https://github.com/agraef/pd-lua.git

LICENSE.html

Lines changed: 617 additions & 150 deletions
Large diffs are not rendered by default.

LICENSE.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Pd-l2ork Copyright and Terms of Use
1+
# Purr-Data Copyright and Terms of Use
22

3-
Pd, as well as this compilation of Pd-related software known as Purr Data
3+
Pd, as well as this compilation of Pd-related software known as Purr-Data
44
a.k.a. Pd-l2ork 2.x, is copyrighted software by various authors, but it is
55
distributed as open-source software, which means that it can be used freely
66
and without any costs under the appropriate license terms, as detailed below.
@@ -32,21 +32,21 @@ for details.
3232
Copyright (c) by various authors, please see the included license files for
3333
details
3434

35-
Pd-l2ork includes a large number of bundled abstractions and externals by
35+
Purr-Data includes a large number of bundled abstractions and externals by
3636
various authors. These can be found in the abstractions, externals and Gem
37-
subdirectories in the source, and in the extra subdirectory of the Pd-l2ork
37+
subdirectories in the source, and in the extra subdirectory of the Purr-Data
3838
library directory of the installed application. Each of these items has its
3939
own open-source license under which it is distributed (mostly different
4040
variations of the BSD license or the GPL), so please check the corresponding
4141
license files in the source or the extra directory of the installed package
4242
for license information pertaining to each of the different software modules.
4343

44-
## Pd-l2ork License
44+
## Purr-Data License
4545

4646
Copyright (c) by Hans-Christoph Steiner, Ico Bukvic, Jonathan Wilkes and
4747
others
4848

49-
Purr Data (by Jonathan Wilkes) is based on Pd-l2ork (by Ico Bukvic) which in
49+
Purr-Data (by Jonathan Wilkes) is based on Pd-l2ork (by Ico Bukvic) which in
5050
turn is based on Pd-extended (by Hans-Christoph Steiner), which is licensed
5151
under the GPL (GNU Public License) version 3, replicated below. Please note
5252
that this license applies to all parts of this package which are *not*

Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,16 @@ endif
9595

9696
install_vars = DESTDIR=$(firstword $(wildcard $(CURDIR)/packages/*/build)) prefix=$(prefix)
9797

98+
# You can set the nwjsver variable to indicate the nw.js version to build
99+
# against. This will also clear out any cached nw.js binaries beforehand.
100+
# Note that some nw.js versions for certain platforms have to be hard-coded,
101+
# so the nwjsver variable won't affect these, but it will still cause the
102+
# cache to be cleared and the binaries to be downloaded. See the tar_em_up.sh
103+
# script for details.
104+
ifneq ($(nwjsver),)
105+
env += nwjsver="$(nwjsver)"
106+
endif
107+
98108
# You can set CFLAGS to whatever special compile options are needed. E.g., to
99109
# build the double precision version: CFLAGS = -DPD_FLOATSIZE=64
100110
CFLAGS =

debuild/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ debdist = purr-data-$(debversion)
5050
# nw.js sdk
5151
# NOTE: arm packages need some special-casing, since they are released
5252
# separately, and the version numbers do not always match up.
53-
nwjsver = 0.28.3
53+
nwjsver = 0.55.0
5454
nwjspkg = nwjs-sdk-v$(nwjsver)-linux
5555
nwjsver_arm = 0.27.6
5656
nwjspkg_arm = nwjs-sdk-v$(nwjsver_arm)-linux

debuild/debian/rules

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Uncomment this to turn on verbose mode.
55
#export DH_VERBOSE=1
66

7-
nwjsver = 0.28.3
7+
nwjsver = 0.55.0
88
nwjspkg = nwjs-sdk-v$(nwjsver)-linux
99
nwjsdir = nwjs-sdk-v$(nwjsver)-linux
1010

@@ -73,14 +73,6 @@ endif
7373
sed -e 's/pd-l2ork/purr-data/g' < scripts/bash_completion/pd-l2ork > debian/purr-data/etc/bash_completion.d/purr-data
7474
# Edit the library paths in the default user.settings file.
7575
cd debian/purr-data$(prefix)/lib/pd-l2ork && sed -e "s!/usr/lib/pd-l2ork!$(prefix)/lib/pd-l2ork!g" -i default.settings
76-
# Sanitize permissions.
77-
cd debian/purr-data && chmod -R go-w * && chmod -R a+r * && chmod a-x .$(prefix)/lib/pd-l2ork/default.settings
78-
find debian/purr-data$(prefix)/lib/pd-l2ork/bin/nw -executable -not -type d | xargs chmod a+x
79-
find debian/purr-data -executable -name '*.pd_linux' | xargs chmod a-x
80-
find debian/purr-data -executable -name '*.pd' | xargs chmod a-x
81-
find debian/purr-data -executable -name '*.txt' | xargs chmod a-x
82-
find debian/purr-data -executable -name '*.aif*' | xargs chmod a-x
83-
find debian/purr-data -type d | xargs chmod a+x
8476

8577
# NOTE: Older systems use dh_pysupport instead of dh_python2. See
8678
# http://deb.li/dhs2p.

externals/OSCx/send+dump/dumpOSC.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ static int unixinitudp(int chan)
138138
if((sockfd = socket(AF_UNIX, SOCK_DGRAM, 0)) < 0)
139139
return sockfd;
140140

141-
bzero((char *)&serv_addr, sizeof(serv_addr));
141+
memset((char *)&serv_addr, 0, sizeof(serv_addr));
142142
serv_addr.sun_family = AF_UNIX;
143143
strcpy(serv_addr.sun_path, UNIXDG_PATH);
144144
sprintf(serv_addr.sun_path+strlen(serv_addr.sun_path), "%d", chan);
@@ -160,7 +160,7 @@ static int initudp(int chan)
160160

161161
if((sockfd = socket(AF_INET, SOCK_DGRAM, 0)) < 0)
162162
return sockfd;
163-
bzero((char *)&serv_addr, sizeof(serv_addr));
163+
memset((char *)&serv_addr, 0, sizeof(serv_addr));
164164
serv_addr.sin_family = AF_INET;
165165
serv_addr.sin_addr.s_addr = htonl(INADDR_ANY);
166166
serv_addr.sin_port = htons(chan);

externals/OSCx/send+dump/dumpUDP.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ static int initudp(int port) {
9292

9393
if((sockfd = socket(AF_INET, SOCK_DGRAM, 0)) < 0)
9494
return sockfd;
95-
bzero((char *)&serv_addr, sizeof(serv_addr));
95+
memset((char *)&serv_addr, 0, sizeof(serv_addr));
9696
serv_addr.sin_family = AF_INET;
9797
serv_addr.sin_addr.s_addr = htonl(INADDR_ANY);
9898
serv_addr.sin_port = htons(port);

externals/OSCx/send+dump/htmsocket.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ void *OpenHTMSocket(char *host, int portnumber)
133133
* server that we want to send to.
134134
*/
135135

136-
bzero((char *) &o->userv_addr, sizeof(o->userv_addr));
136+
memset((char *) &o->userv_addr, 0, sizeof(o->userv_addr));
137137
o->userv_addr.sun_family = AF_UNIX;
138138
strcpy(o->userv_addr.sun_path, UNIXDG_PATH);
139139
sprintf(o->userv_addr.sun_path+strlen(o->userv_addr.sun_path), "%d", portnumber);
@@ -152,7 +152,7 @@ void *OpenHTMSocket(char *host, int portnumber)
152152
* pathname, based on our process id.
153153
*/
154154

155-
bzero((char *) &ucl_addr, sizeof(ucl_addr)); /* zero out */
155+
memset((char *) &ucl_addr, 0, sizeof(ucl_addr)); /* zero out */
156156
ucl_addr.sun_family = AF_UNIX;
157157
strcpy(ucl_addr.sun_path, UNIXDG_TMP);
158158

@@ -183,7 +183,7 @@ void *OpenHTMSocket(char *host, int portnumber)
183183
#ifdef WIN32
184184
ZeroMemory((char *)&o->serv_addr, sizeof(o->serv_addr));
185185
#else
186-
bzero((char *)&o->serv_addr, sizeof(o->serv_addr));
186+
memset((char *)&o->serv_addr, 0, sizeof(o->serv_addr));
187187
#endif
188188

189189
o->serv_addr.sin_family = AF_INET;
@@ -243,7 +243,7 @@ void *OpenHTMSocket(char *host, int portnumber)
243243
o->serv_addr.sin_port = htons(portnumber);
244244
o->addr = &(o->serv_addr);
245245
if((sockfd = socket(AF_INET, SOCK_DGRAM, 0)) >= 0) {
246-
bzero((char *)&cl_addr, sizeof(cl_addr));
246+
memset((char *)&cl_addr, 0, sizeof(cl_addr));
247247
cl_addr.sin_family = AF_INET;
248248
cl_addr.sin_addr.s_addr = htonl(INADDR_ANY);
249249
cl_addr.sin_port = htons(0);

externals/OSCx/src/dumpOSC.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ static void *dumpOSC_new(t_symbol *compatflag,
313313
int t = 1;
314314
mreq.imr_multiaddr.s_addr = inet_addr(castgroup->s_name);
315315
mreq.imr_interface.s_addr = htonl(INADDR_ANY);
316-
if (setsockopt(sockfd,SOL_SOCKET,SO_REUSEADDR,&t,sizeof(t)) < 0) {
316+
if (setsockopt(sockfd,SOL_SOCKET,SO_REUSEADDR,(char*)&t,sizeof(t)) < 0) {
317317
sys_sockerror("setsockopt");
318318
}
319319
if (setsockopt(sockfd,IPPROTO_IP,IP_ADD_MEMBERSHIP,(char*)&mreq,sizeof(mreq)) < 0) {
@@ -400,7 +400,7 @@ void dumpOSC_setup(void)
400400
if((sockfd = socket(AF_UNIX, SOCK_DGRAM, 0)) < 0)
401401
return sockfd;
402402

403-
bzero((char *)&serv_addr, sizeof(serv_addr));
403+
memset((char *)&serv_addr, 0, sizeof(serv_addr));
404404
serv_addr.sun_family = AF_UNIX;
405405
strcpy(serv_addr.sun_path, UNIXDG_PATH);
406406
sprintf(serv_addr.sun_path+strlen(serv_addr.sun_path), "%d", chan);
@@ -448,7 +448,7 @@ static int initudp(int chan)
448448
if((sockfd = socket(AF_INET, SOCK_DGRAM, 0)) < 0)
449449
return sockfd;
450450

451-
bzero((char *)&serv_addr, sizeof(serv_addr));
451+
memset((char *)&serv_addr, 0, sizeof(serv_addr));
452452
serv_addr.sin_family = AF_INET;
453453
serv_addr.sin_addr.s_addr = htonl(INADDR_ANY);
454454
serv_addr.sin_port = htons(chan);

0 commit comments

Comments
 (0)