diff options
author | Albert Graef | 2017-01-20 09:10:06 +0100 |
---|---|---|
committer | Albert Graef | 2017-01-20 09:10:06 +0100 |
commit | 1599f73ed66e8db26b25013746190907f1fe52c8 (patch) | |
tree | b9d6a756bac962fc030d03df12d8c6504d0a67c0 | |
parent | 99a659040715964c9c14c27a29066a863c99e825 (diff) | |
download | aur-1599f73ed66e8db26b25013746190907f1fe52c8.tar.gz |
Update to latest upstream, new userconfig.patch.
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 6 | ||||
-rw-r--r-- | userconfig.patch | 34 |
3 files changed, 15 insertions, 33 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Tue Jan 17 00:25:43 UTC 2017 +# Fri Jan 20 08:09:16 UTC 2017 pkgbase = purr-data pkgdesc = Jonathan Wilkes' nw.js variant of Pd-L2Ork (git version) - pkgver = 20170116.r3252.d0d1e1cb + pkgver = 20170120.r3267.faab60c4 pkgrel = 1 url = https://git.purrdata.net/jwilkes/purr-data install = purr-data.install @@ -65,12 +65,12 @@ pkgbase = purr-data conflicts = purr-data options = !makeflags options = !strip - source = purr-data::git+https://git.purrdata.net/jwilkes/purr-data.git#commit=d0d1e1cb069a75b3c8451a2bcc7289dbd8b3cdba + source = purr-data::git+https://git.purrdata.net/jwilkes/purr-data.git#commit=faab60c456d870e5edc6864314f32ac2e10dbfe0 source = RTcmix-pd-LCPLAY-stabilize.patch source = userconfig.patch md5sums = SKIP md5sums = 39c53063dc18681f29b12c08d9c453aa - md5sums = 0707c240816e87b0f605058c2ab8e153 + md5sums = 056770a94f3c13799c09d3ece273154f source_i686 = http://dl.nwjs.io/v0.18.5/nwjs-sdk-v0.18.5-linux-ia32.tar.gz md5sums_i686 = 1d5e9e25c36b7c3221e317baa7d94b64 source_x86_64 = http://dl.nwjs.io/v0.18.5/nwjs-sdk-v0.18.5-linux-x64.tar.gz @@ -30,7 +30,7 @@ # /usr/lib/purr-data, so that 3rd party externals know where to find these. pkgname=purr-data -pkgver=20170116.r3252.d0d1e1cb +pkgver=20170120.r3267.faab60c4 pkgrel=1 pkgdesc="Jonathan Wilkes' nw.js variant of Pd-L2Ork (git version)" url="https://git.purrdata.net/jwilkes/purr-data" @@ -48,12 +48,12 @@ makedepends=('autoconf' 'automake' 'libtool' 'git' 'rsync') conflicts=('purr-data') install=purr-data.install options=('!makeflags' '!strip') -source=("$pkgname::git+https://git.purrdata.net/jwilkes/purr-data.git#commit=d0d1e1cb069a75b3c8451a2bcc7289dbd8b3cdba" +source=("$pkgname::git+https://git.purrdata.net/jwilkes/purr-data.git#commit=faab60c456d870e5edc6864314f32ac2e10dbfe0" "RTcmix-pd-LCPLAY-stabilize.patch" "userconfig.patch") md5sums=('SKIP' '39c53063dc18681f29b12c08d9c453aa' - '0707c240816e87b0f605058c2ab8e153') + '056770a94f3c13799c09d3ece273154f') # nw.js sdk binaries nwjsname=nwjs-sdk nwjsver=0.18.5 diff --git a/userconfig.patch b/userconfig.patch index b5ec5ff5ea6c..0e41714e92fc 100644 --- a/userconfig.patch +++ b/userconfig.patch @@ -1,31 +1,13 @@ diff --git a/pd/src/s_file.c b/pd/src/s_file.c -index 1c18096f..576e4c36 100644 +index 32f54c31..304524d5 100644 --- a/pd/src/s_file.c +++ b/pd/src/s_file.c -@@ -62,7 +62,7 @@ static void sys_initloadpreferences( void) - sys_libdir->s_name); +@@ -46,7 +46,7 @@ void sys_doflags( void); - if (homedir) -- snprintf(user_prefs_file, FILENAME_MAX, "%s/.pd-l2ork/user.settings", homedir); -+ snprintf(user_prefs_file, FILENAME_MAX, "%s/.purr-data/user.settings", homedir); - if (stat(user_prefs_file, &statbuf) == 0) - strncpy(filenamebuf, user_prefs_file, FILENAME_MAX); - else if (stat(default_prefs_file, &statbuf) == 0) -@@ -143,7 +143,7 @@ static void sys_initsavepreferences( void) + #ifdef UNIX + +-#define USER_CONFIG_DIR ".pd-l2ork" ++#define USER_CONFIG_DIR ".purr-data" + + static char *sys_prefbuf; - if (!homedir) - return; -- snprintf(filenamebuf, FILENAME_MAX, "%s/.pd-l2ork", homedir); -+ snprintf(filenamebuf, FILENAME_MAX, "%s/.purr-data", homedir); - filenamebuf[FILENAME_MAX-1] = 0; - if (stat(filenamebuf, &statbuf) || !S_ISDIR(statbuf.st_mode)) { - // user config dir doesn't exist yet, try to create it -@@ -152,7 +152,7 @@ static void sys_initsavepreferences( void) - return; - } - } -- snprintf(filenamebuf, FILENAME_MAX, "%s/.pd-l2ork/user.settings", homedir); -+ snprintf(filenamebuf, FILENAME_MAX, "%s/.purr-data/user.settings", homedir); - filenamebuf[FILENAME_MAX-1] = 0; - if ((sys_prefsavefp = fopen(filenamebuf, "w")) == NULL) - { |