FreeBSD Bugzilla – Attachment 185136 Details for
Bug 221319
[NEW PORT] audio/synthpod-lv2: Lightweight Nonlinear LV2 Plugin Container
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
shar
synthpod-lv2.shar (text/plain), 19.43 KB, created by
Yuri Victorovich
on 2017-08-07 19:31:46 UTC
(
hide
)
Description:
shar
Filename:
MIME Type:
Creator:
Yuri Victorovich
Created:
2017-08-07 19:31:46 UTC
Size:
19.43 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># audio/synthpod-lv2 ># audio/synthpod-lv2/distinfo ># audio/synthpod-lv2/Makefile ># audio/synthpod-lv2/pkg-descr ># audio/synthpod-lv2/pkg-plist ># audio/synthpod-lv2/files ># audio/synthpod-lv2/files/patch-CMakeLists.txt ># audio/synthpod-lv2/files/patch-app_synthpod__app.c ># audio/synthpod-lv2/files/patch-app_synthpod__app__mod.c ># audio/synthpod-lv2/files/patch-bin_CMakeLists.txt ># audio/synthpod-lv2/files/patch-bin_synthpod__dummy.c ># audio/synthpod-lv2/files/patch-bin_synthpod__jack.c ># audio/synthpod-lv2/files/patch-bin_synthpod__ui.in ># audio/synthpod-lv2/files/patch-netatom.lv2_netatom.lv2_endian.h ># audio/synthpod-lv2/files/patch-osc.lv2_osc.lv2_endian.h ># audio/synthpod-lv2/files/patch-plugins_synthpod__common__nk.c ># audio/synthpod-lv2/files/patch-pugl_pugl_pugl__x11.c ># audio/synthpod-lv2/files/patch-sandbox__ui.lv2_sandbox__io.h ># audio/synthpod-lv2/pkg-message ># >echo c - audio/synthpod-lv2 >mkdir -p audio/synthpod-lv2 > /dev/null 2>&1 >echo x - audio/synthpod-lv2/distinfo >sed 's/^X//' >audio/synthpod-lv2/distinfo << '2527aab78e3fcabf98dd6684b3be3414' >XTIMESTAMP = 1502044666 >XSHA256 (OpenMusicKontrollers-synthpod-0.14.0-f7bceaa_GH0.tar.gz) = 51c5772b50becb4d4b73c6b305ea24cf63258dd6bb38f79d2a47d8eb6ed4c3ce >XSIZE (OpenMusicKontrollers-synthpod-0.14.0-f7bceaa_GH0.tar.gz) = 2335182 >2527aab78e3fcabf98dd6684b3be3414 >echo x - audio/synthpod-lv2/Makefile >sed 's/^X//' >audio/synthpod-lv2/Makefile << '2ab82354f4483936a98c060445f3645c' >X# Created by: Yuri Victorovich <yuri@rawbw.com> >X# $FreeBSD$ >X >XPORTNAME= synthpod >XPORTVERSION= 0.14.0 >XCATEGORIES= audio >XPKGNAMESUFFIX= -lv2 >X >XMAINTAINER= yuri@rawbw.com >XCOMMENT= Lightweight Nonlinear LV2 Plugin Container >X >XLICENSE= ART20 >XLICENSE_FILE= ${WRKSRC}/COPYING >X >XBUILD_DEPENDS= lv2>0:audio/lv2 >XLIB_DEPENDS= liblilv-0.so:audio/lilv \ >X libserd-0.so:devel/serd \ >X libsord-0.so:devel/sord \ >X libsratom-0.so:audio/sratom >X >XQT5_BROKEN= Build fails: https://github.com/OpenMusicKontrollers/synthpod/issues/10 >X >XOPTIONS_DEFINE= JACK DUMMY DOT >XOPTIONS_DEFAULT=JACK X11 SHOW KX >XOPTIONS_GROUP= UI >XOPTIONS_GROUP_UI= X11 GTK2 GTK3 QT4 QT5 SHOW KX >XJACK_DESC= Build JACK standalone host >XDUMMY_DESC= Build DUMMY standalone host >XDOT_DESC= Build Dot exporter >XX11_DESC= Build X11 sandbox >XGTK2_DESC= Build GTK-2 sandbox >XGTK3_DESC= Build GTK-3 sandbox >XQT4_DESC= Build Qt-4 sandbox >XQT5_DESC= Build Qt-5 sandbox >XSHOW_DESC= Build show-iface sandbox >XKX_DESC= Build external-ui sandbox >XOPTIONS_SUB= yes >X >XUSES= cmake compiler:c++11-lib pkgconfig localbase >XUSE_GITHUB= yes >XGH_ACCOUNT= OpenMusicKontrollers >XGH_PROJECT= synthpod >XGH_TAGNAME= f7bceaa >XUSE_CXXSTD= c++11 >X >XX11_USE+= XORG=x11,xcb,xext GL=glu >XGTK2_USE+= XORG=x11,xcb,xext GL=glu GNOME=glib20,gtk20,gdkpixbuf2,atk,cairo,pango gettext-runtime >XGTK3_USE+= XORG=x11,xcb,xext GL=glu GNOME=glib20,gtk30,gdkpixbuf2,atk,cairo,pango gettext-runtime >XQT4_USE+= XORG=x11,xcb,xext GL=glu QT4=corelib,gui >XQT5_USE+= XORG=x11,xcb,xext GL=glu QT5=core,gui >XSHOW_USE+= XORG=x11,xcb,xext GL=glu >XKX_USE+= XORG=x11,xcb,xext GL=glu >XJACK_CMAKE_OFF= -DBUILD_JACK="OFF" >XCMAKE_ARGS+= -DBUILD_ALSA="OFF" >XDUMMY_CMAKE_ON= -DBUILD_DUMMY="ON" >XDOT_CMAKE_ON= -DBUILD_DOT="ON" >XX11_CMAKE_ON= -DBUILD_UI="ON" -DBUILD_SANDBOX_X11="ON" >XGTK2_CMAKE_ON= -DBUILD_UI="ON" -DBUILD_SANDBOX_GTK2="ON" >XGTK3_CMAKE_ON= -DBUILD_UI="ON" -DBUILD_SANDBOX_GTK3="ON" >XQT4_CMAKE_ON= -DBUILD_UI="ON" -DBUILD_SANDBOX_QT4="ON" >XQT5_CMAKE_ON= -DBUILD_UI="ON" -DBUILD_SANDBOX_QT5="ON" >XSHOW_CMAKE_ON= -DBUILD_UI="ON" -DBUILD_SANDBOX_SHOW="ON" >XKX_CMAKE_ON= -DBUILD_UI="ON" -DBUILD_SANDBOX_KX="ON" >X >XJACK_LIB_DEPENDS= libjack.so:audio/jack \ >X libuv.so:devel/libuv >XDUMMY_LIB_DEPENDS= libuv.so:devel/libuv >XX11_LIB_DEPENDS= libxcb-icccm.so:x11/xcb-util-wm >XGTK2_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ >X libfreetype.so:print/freetype2 >X >X.include <bsd.port.options.mk> >X >X.if ${PORT_OPTIONS:MX11} || ${PORT_OPTIONS:MGTK2} || ${PORT_OPTIONS:MGTK3} || ${PORT_OPTIONS:MQT4} || ${PORT_OPTIONS:MQT5} || ${PORT_OPTIONS:MSHOW} || ${PORT_OPTIONS:MKX} >XPLIST_FILES= lib/lv2/synthpod.lv2/Abel-Regular.ttf \ >X lib/lv2/synthpod.lv2/synthpod_nk.so >X.endif >X >X.include <bsd.port.mk> >2ab82354f4483936a98c060445f3645c >echo x - audio/synthpod-lv2/pkg-descr >sed 's/^X//' >audio/synthpod-lv2/pkg-descr << '9e7a33ddaf83433ea96ad347b74a67bd' >XSynthpod is an LV2 host. It can be run as a standalone app and be used as a >Xtool for live performances or general audio and event filtering. >X >XIt was conceptualized to fill the gap between pure textual (e.g. SuperCollider) >Xand pure visual flow (e.g. Pure Data) audio programming paradigms. >X >XPotential fields of application may include: >X* Live audio synthesis >X* Real-time event scripting >X* Non-linear signal routing >X* Advanced control automation >X* Advanced event filtering >X* Live mixing >X* Live coding >X* Algorithmic composition >X* Interfacing to expressive controllers >X >XWWW: https://open-music-kontrollers.ch/lv2/synthpod >XWWW: https://github.com/OpenMusicKontrollers/synthpod >9e7a33ddaf83433ea96ad347b74a67bd >echo x - audio/synthpod-lv2/pkg-plist >sed 's/^X//' >audio/synthpod-lv2/pkg-plist << 'f10ffce423ba77fefe4a96c91e2a4573' >X%%DUMMY%%bin/synthpod_dummy >X%%DOT%%bin/synthpod_dot >X%%JACK%%bin/synthpod_jack >X%%X11%%bin/synthpod_sandbox_x11 >X%%GTK2%%bin/synthpod_sandbox_gtk2 >X%%GTK3%%bin/synthpod_sandbox_gtk3 >X%%QT4%%bin/synthpod_sandbox_qt4 >X%%QT5%%bin/synthpod_sandbox_qt5 >X%%SHOW%%bin/synthpod_sandbox_show >X%%KX%%bin/synthpod_sandbox_kx >X%%X11%%bin/synthpod_ui >Xlib/lv2/synthpod.lv2/manifest.ttl >Xlib/lv2/synthpod.lv2/synthpod.so >Xlib/lv2/synthpod.lv2/synthpod.ttl >Xlib/lv2/synthpod.lv2/synthpod_ui.ttl >Xlib/synthpod/lv2/manifest.ttl >Xlib/synthpod/lv2/synthpod_bundle.so >Xlib/synthpod/lv2/synthpod_bundle.ttl >X%%DUMMY%%share/applications/synthpod_dummy.desktop >X%%JACK%%share/applications/synthpod_jack.desktop >X%%JACK%%share/icons/hicolor/256x256/apps/synthpod.png >X%%DUMMY%%share/man/man1/synthpod_dummy.1.gz >X%%JACK%%share/man/man1/synthpod_jack.1.gz >X%%X11%%share/man/man1/synthpod_sandbox.1.gz >X%%DATADIR%%/atom.png >X%%DATADIR%%/atom_inverted.png >X%%DATADIR%%/audio.png >X%%DATADIR%%/automaton.png >X%%DATADIR%%/cancel.png >X%%DATADIR%%/control.png >X%%DATADIR%%/cv.png >X%%DATADIR%%/download.png >X%%DATADIR%%/event.png >X%%DATADIR%%/event_inverted.png >X%%DATADIR%%/house.png >X%%DATADIR%%/layers.png >X%%DATADIR%%/menu.png >X%%DATADIR%%/midi.png >X%%DATADIR%%/osc.png >X%%DATADIR%%/patch.png >X%%DATADIR%%/plus.png >X%%DATADIR%%/settings.png >X%%DATADIR%%/time.png >X%%DATADIR%%/user.png >X%%DATADIR%%/xpress.png >f10ffce423ba77fefe4a96c91e2a4573 >echo c - audio/synthpod-lv2/files >mkdir -p audio/synthpod-lv2/files > /dev/null 2>&1 >echo x - audio/synthpod-lv2/files/patch-CMakeLists.txt >sed 's/^X//' >audio/synthpod-lv2/files/patch-CMakeLists.txt << 'c4f15431d495c9de6261a21d44bdbaa8' >X--- CMakeLists.txt.orig 2017-08-06 12:24:04 UTC >X+++ CMakeLists.txt >X@@ -34,6 +34,15 @@ include_directories(${PROJECT_SOURCE_DIR >X include_directories(${PROJECT_SOURCE_DIR}/zero_worker.lv2) >X include_directories(${PROJECT_SOURCE_DIR}/zero_writer.lv2) >X >X+# FreeBSD: clock_nanosleep was missing and was added to 11-STABLE in r317618 >X+CHECK_FUNCTION_EXISTS(clock_nanosleep HAVE_CLOCK_NANOSLEEP_FUNCTION) >X+if(${HAVE_CLOCK_NANOSLEEP_FUNCTION}) >X+ MESSAGE("-- FreeBSD: clock_nanosleep exists") >X+else() >X+ MESSAGE("-- FreeBSD: clock_nanosleep DOES NOT EXIST and will be replaced with nanosleep") >X+ execute_process(COMMAND sed -i'.bak' -E "s|clock_nanosleep\\\(CLOCK_[A-Z]+, TIMER_ABSTIME, |nanosleep\\\(|" bin/synthpod_dummy.c bin/synthpod_sandbox_show.c bin/synthpod_sandbox_kx.c) >X+endif() >X+ >X set(SYNTHPOD_BIN_DIR "bin") >X add_definitions("-DSYNTHPOD_BIN_DIR=\"${CMAKE_INSTALL_PREFIX}/${SYNTHPOD_BIN_DIR}/\"") >X >X@@ -92,16 +101,16 @@ option(BUILD_DUMMY "Build DUMMY standalo >X >X option(BUILD_DOT "Build Dot exporter" OFF) >X >X-option(BUILD_UI "Build graphical user interface(s)" ON) >X+option(BUILD_UI "Build graphical user interface(s)" OFF) >X >X include(CMakeDependentOption) >X-cmake_dependent_option(BUILD_SANDBOX_X11 "Build X11 sandbox" ON "BUILD_UI" OFF) >X+cmake_dependent_option(BUILD_SANDBOX_X11 "Build X11 sandbox" OFF "BUILD_UI" OFF) >X cmake_dependent_option(BUILD_SANDBOX_GTK2 "Build GTK-2 sandbox" OFF "BUILD_UI" OFF) >X cmake_dependent_option(BUILD_SANDBOX_GTK3 "Build GTK-3 sandbox" OFF "BUILD_UI" OFF) >X cmake_dependent_option(BUILD_SANDBOX_QT4 "Build Qt-4 sandbox" OFF "BUILD_UI" OFF) >X cmake_dependent_option(BUILD_SANDBOX_QT5 "Build Qt-5 sandbox" OFF "BUILD_UI" OFF) >X-cmake_dependent_option(BUILD_SANDBOX_SHOW "Build show-iface sandbox" ON "BUILD_UI" OFF) >X-cmake_dependent_option(BUILD_SANDBOX_KX "Build external-ui sandbox" ON "BUILD_UI" OFF) >X+cmake_dependent_option(BUILD_SANDBOX_SHOW "Build show-iface sandbox" OFF "BUILD_UI" OFF) >X+cmake_dependent_option(BUILD_SANDBOX_KX "Build external-ui sandbox" OFF "BUILD_UI" OFF) >X >X if(BUILD_SANDBOX_X11) >X add_definitions("-DSANDBOX_X11") >X@@ -157,8 +166,8 @@ pkg_search_module(UV REQUIRED libuv>=1.0 >X include_directories(${UV_INCLUDE_DIRS}) >X >X # uuid >X-pkg_search_module(UUID REQUIRED uuid>=2.0) >X-include_directories(${UUID_INCLUDE_DIRS}) >X+#pkg_search_module(UUID REQUIRED uuid>=2.0) >X+#include_directories(${UUID_INCLUDE_DIRS}) >X >X # lilv >X pkg_search_module(LILV REQUIRED lilv-0>=0.20) >c4f15431d495c9de6261a21d44bdbaa8 >echo x - audio/synthpod-lv2/files/patch-app_synthpod__app.c >sed 's/^X//' >audio/synthpod-lv2/files/patch-app_synthpod__app.c << '1503bd17b3b4e88a86ef1d5aaf7e4c3d' >X--- app/synthpod_app.c.orig 2017-08-06 12:24:04 UTC >X+++ app/synthpod_app.c >X@@ -17,6 +17,7 @@ >X >X #include <synthpod_app_private.h> >X #include <synthpod_patcher.h> >X+#include <pthread_np.h> >X >X #include <osc.lv2/util.h> >X >X@@ -506,10 +507,10 @@ _dsp_slave_thread(void *data) >X >X if(app->driver->cpu_affinity) >X { >X- cpu_set_t cpuset; >X+ cpuset_t cpuset; >X CPU_ZERO(&cpuset); >X CPU_SET(num, &cpuset); >X- if(pthread_setaffinity_np(self, sizeof(cpu_set_t), &cpuset)) >X+ if(pthread_setaffinity_np(self, sizeof(cpuset_t), &cpuset)) >X fprintf(stderr, "pthread_setaffinity_np error\n"); >X } >X >1503bd17b3b4e88a86ef1d5aaf7e4c3d >echo x - audio/synthpod-lv2/files/patch-app_synthpod__app__mod.c >sed 's/^X//' >audio/synthpod-lv2/files/patch-app_synthpod__app__mod.c << 'd262cf8538604eb01452f7f73f808f62' >X--- app/synthpod_app_mod.c.orig 2017-08-07 08:00:34 UTC >X+++ app/synthpod_app_mod.c >X@@ -17,7 +17,11 @@ >X >X #include <inttypes.h> >X >X-#include <uuid.h> >X+// conflicts with one in the FreeBSD headers >X+//#include <uuid.h> >X+ >X+#include <stdio.h> >X+#include <stdlib.h> >X >X #include <synthpod_app_private.h> >X >X@@ -28,11 +32,14 @@ >X static void >X urn_uuid_unparse_random(char *buf) >X { >X- uuid_t uuid; >X- uuid_generate_random(uuid); >X+ sprintf(buf, "%s%08x-%04x-%04x-%04x-%08x%04x", URN_UUID_PREFIX, >X+ (uint32_t)random(), >X+ (uint32_t)(random() & 0xffff), >X+ (uint32_t)(random() & 0xffff), >X+ (uint32_t)(random() & 0xffff), >X+ (uint32_t)random(), >X+ (uint32_t)(random() & 0xffff)); >X >X- strncpy(buf, URN_UUID_PREFIX, strlen(URN_UUID_PREFIX)); >X- uuid_unparse(uuid, buf + strlen(URN_UUID_PREFIX)); >X } >X >X //FIXME is actually __realtime >d262cf8538604eb01452f7f73f808f62 >echo x - audio/synthpod-lv2/files/patch-bin_CMakeLists.txt >sed 's/^X//' >audio/synthpod-lv2/files/patch-bin_CMakeLists.txt << 'e70fad8e99279e0cccd484a2d2a3f147' >X--- bin/CMakeLists.txt.orig 2017-08-06 12:24:04 UTC >X+++ bin/CMakeLists.txt >X@@ -12,6 +12,7 @@ if(BUILD_JACK OR BUILD_ALSA OR BUILD_DUM >X endif() >X >X if(BUILD_JACK) >X+ include_directories(${CMAKE_INSTALL_PREFIX}/include/uuid) >X # jack >X pkg_search_module(JACK REQUIRED jack) >X include_directories(${JACK_INCLUDE_DIRS}) >X@@ -43,7 +44,8 @@ if(BUILD_JACK) >X $<TARGET_OBJECTS:sandbox_master.lib>) >X target_link_libraries(synthpod.jack >X ${JACK_LIBS} >X- ${BIN_LIBS}) >X+ ${BIN_LIBS} >X+ -luuid) >X set_target_properties(synthpod.jack PROPERTIES POSITION_INDEPENDENT_CODE true) # -fPIE >X set_target_properties(synthpod.jack PROPERTIES INTERPROCEDURAL_OPTIMIZATION true) # -flto >X set_target_properties(synthpod.jack PROPERTIES OUTPUT_NAME "synthpod_jack") >X@@ -117,6 +119,7 @@ if(BUILD_ALSA) >X endif() >X >X if(BUILD_DUMMY) >X+ include_directories(${CMAKE_INSTALL_PREFIX}/include/uuid) >X # synthpod >X add_executable(synthpod.dummy >X synthpod_dummy.c >X@@ -124,7 +127,8 @@ if(BUILD_DUMMY) >X $<TARGET_OBJECTS:synthpod.lib> >X $<TARGET_OBJECTS:sandbox_master.lib>) >X target_link_libraries(synthpod.dummy >X- ${BIN_LIBS}) >X+ ${BIN_LIBS} >X+ -luuid) >X set_target_properties(synthpod.dummy PROPERTIES POSITION_INDEPENDENT_CODE true) # -fPIE >X set_target_properties(synthpod.dummy PROPERTIES INTERPROCEDURAL_OPTIMIZATION true) # -flto >X set_target_properties(synthpod.dummy PROPERTIES OUTPUT_NAME "synthpod_dummy") >e70fad8e99279e0cccd484a2d2a3f147 >echo x - audio/synthpod-lv2/files/patch-bin_synthpod__dummy.c >sed 's/^X//' >audio/synthpod-lv2/files/patch-bin_synthpod__dummy.c << '6f99d92e1cefabdfc65f9b5fbe640447' >X--- bin/synthpod_dummy.c.orig 2017-08-06 12:24:04 UTC >X+++ bin/synthpod_dummy.c >X@@ -21,6 +21,8 @@ >X #include <ctype.h> >X #include <math.h> >X >X+#include <pthread_np.h> >X+ >X #include <synthpod_bin.h> >X >X #define NANO_SECONDS 1000000000 >X@@ -278,10 +280,10 @@ _rt_thread(void *data) >X >X if(handle->bin.cpu_affinity) >X { >X- cpu_set_t cpuset; >X+ cpuset_t cpuset; >X CPU_ZERO(&cpuset); >X CPU_SET(0, &cpuset); >X- if(pthread_setaffinity_np(self, sizeof(cpu_set_t), &cpuset)) >X+ if(pthread_setaffinity_np(self, sizeof(cpuset_t), &cpuset)) >X fprintf(stderr, "pthread_setaffinity_np error\n"); >X } >X >6f99d92e1cefabdfc65f9b5fbe640447 >echo x - audio/synthpod-lv2/files/patch-bin_synthpod__jack.c >sed 's/^X//' >audio/synthpod-lv2/files/patch-bin_synthpod__jack.c << '82de612d2b7acae6a3a6a55d3f7aaf85' >X--- bin/synthpod_jack.c.orig 2017-08-06 12:24:04 UTC >X+++ bin/synthpod_jack.c >X@@ -21,6 +21,8 @@ >X #include <assert.h> >X #include <math.h> >X >X+#include <pthread_np.h> >X+ >X #include <synthpod_bin.h> >X >X #include <jack/jack.h> >X@@ -165,10 +167,10 @@ _process(jack_nframes_t nsamples, void * >X >X if(handle->bin.cpu_affinity) >X { >X- cpu_set_t cpuset; >X+ cpuset_t cpuset; >X CPU_ZERO(&cpuset); >X CPU_SET(0, &cpuset); >X- if(pthread_setaffinity_np(self, sizeof(cpu_set_t), &cpuset)) >X+ if(pthread_setaffinity_np(self, sizeof(cpuset_t), &cpuset)) >X fprintf(stderr, "pthread_setaffinity_np error\n"); >X } >X >82de612d2b7acae6a3a6a55d3f7aaf85 >echo x - audio/synthpod-lv2/files/patch-bin_synthpod__ui.in >sed 's/^X//' >audio/synthpod-lv2/files/patch-bin_synthpod__ui.in << '856bfae1eb45d2e0509d09f84f8932cb' >X--- bin/synthpod_ui.in.orig 2017-08-06 12:24:04 UTC >X+++ bin/synthpod_ui.in >X@@ -1,4 +1,4 @@ >X-#!/usr/bin/sh >X+#!/bin/sh >X >X exec ${GDB} synthpod_sandbox_x11 \ >X -p http://open-music-kontrollers.ch/lv2/synthpod#stereo \ >856bfae1eb45d2e0509d09f84f8932cb >echo x - audio/synthpod-lv2/files/patch-netatom.lv2_netatom.lv2_endian.h >sed 's/^X//' >audio/synthpod-lv2/files/patch-netatom.lv2_netatom.lv2_endian.h << '3ab55d23433e92e8f851e729bad7f610' >X--- netatom.lv2/netatom.lv2/endian.h.orig 2017-08-06 12:24:04 UTC >X+++ netatom.lv2/netatom.lv2/endian.h >X@@ -49,14 +49,14 @@ >X >X # include <sys/endian.h> >X >X-# define be16toh(x) betoh16(x) >X-# define le16toh(x) letoh16(x) >X+//# define be16toh(x) betoh16(x) >X+//# define le16toh(x) letoh16(x) >X >X-# define be32toh(x) betoh32(x) >X-# define le32toh(x) letoh32(x) >X+//# define be32toh(x) betoh32(x) >X+//# define le32toh(x) letoh32(x) >X >X-# define be64toh(x) betoh64(x) >X-# define le64toh(x) letoh64(x) >X+//# define be64toh(x) betoh64(x) >X+//# define le64toh(x) letoh64(x) >X >X #elif defined(__WINDOWS__) >X >3ab55d23433e92e8f851e729bad7f610 >echo x - audio/synthpod-lv2/files/patch-osc.lv2_osc.lv2_endian.h >sed 's/^X//' >audio/synthpod-lv2/files/patch-osc.lv2_osc.lv2_endian.h << '604c61a8787fde77a194fbab624e5033' >X--- osc.lv2/osc.lv2/endian.h.orig 2017-08-06 12:24:04 UTC >X+++ osc.lv2/osc.lv2/endian.h >X@@ -49,14 +49,14 @@ >X >X # include <sys/endian.h> >X >X-# define be16toh(x) betoh16(x) >X-# define le16toh(x) letoh16(x) >X+//# define be16toh(x) betoh16(x) >X+//# define le16toh(x) letoh16(x) >X >X-# define be32toh(x) betoh32(x) >X-# define le32toh(x) letoh32(x) >X+//# define be32toh(x) betoh32(x) >X+//# define le32toh(x) letoh32(x) >X >X-# define be64toh(x) betoh64(x) >X-# define le64toh(x) letoh64(x) >X+//# define be64toh(x) betoh64(x) >X+//# define le64toh(x) letoh64(x) >X >X #elif defined(__WINDOWS__) >X >604c61a8787fde77a194fbab624e5033 >echo x - audio/synthpod-lv2/files/patch-plugins_synthpod__common__nk.c >sed 's/^X//' >audio/synthpod-lv2/files/patch-plugins_synthpod__common__nk.c << 'afd074af2bdbe5cf81fa53c554bb37e9' >X--- plugins/synthpod_common_nk.c.orig 2017-08-06 12:24:04 UTC >X+++ plugins/synthpod_common_nk.c >X@@ -19,6 +19,9 @@ >X #include <synthpod_patcher.h> >X #include <synthpod_common.h> >X >X+#include <sys/types.h> >X+#include <signal.h> >X+ >X #include "lv2/lv2plug.in/ns/ext/urid/urid.h" >X #include "lv2/lv2plug.in/ns/ext/atom/atom.h" >X #include "lv2/lv2plug.in/ns/ext/midi/midi.h" >afd074af2bdbe5cf81fa53c554bb37e9 >echo x - audio/synthpod-lv2/files/patch-pugl_pugl_pugl__x11.c >sed 's/^X//' >audio/synthpod-lv2/files/patch-pugl_pugl_pugl__x11.c << 'aa26c4d259a006cc88ccf6dc72f069e6' >X--- pugl/pugl/pugl_x11.c.orig 2017-08-06 12:24:04 UTC >X+++ pugl/pugl/pugl_x11.c >X@@ -648,7 +648,7 @@ puglPasteFromClipboard(PuglView* view, s >X if( (xevent.xselection.selection == impl->clipboard) >X && (xevent.xselection.target == impl->utf8_string) >X && (xevent.xselection.property == XA_PRIMARY) ) { >X- ulong nitems, rem; >X+ unsigned long nitems, rem; >X int format; >X uint8_t* data; >X Atom type; >aa26c4d259a006cc88ccf6dc72f069e6 >echo x - audio/synthpod-lv2/files/patch-sandbox__ui.lv2_sandbox__io.h >sed 's/^X//' >audio/synthpod-lv2/files/patch-sandbox__ui.lv2_sandbox__io.h << '3f86291049ce0cdfae74e6e602105168' >X--- sandbox_ui.lv2/sandbox_io.h.orig 2017-08-06 12:24:04 UTC >X+++ sandbox_ui.lv2/sandbox_io.h >X@@ -431,6 +431,7 @@ static inline int >X _sandbox_io_init(sandbox_io_t *io, LV2_URID_Map *map, LV2_URID_Unmap *unmap, >X const char *socket_path, bool is_master, bool drop_messages) >X { >X+fprintf(stderr, "YURI _sandbox_io_init: socket_path=%s\n", socket_path); >X io->map = map; >X io->unmap = unmap; >X >X@@ -467,8 +468,10 @@ _sandbox_io_init(sandbox_io_t *io, LV2_U >X const int fd = io->is_master >X ? shm_open(io->name, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR) >X : shm_open(io->name, O_RDWR, S_IRUSR | S_IWUSR); >X- if(fd == -1) >X+ if(fd == -1) { >X+ fprintf(stderr, "YURI shm_open failed: errno=%d path=%s\n", errno, io->name); >X return -1; >X+ } >X >X if( (ftruncate(fd, total_size) == -1) >X || ((io->shm = mmap(NULL, total_size, PROT_READ | PROT_WRITE, >3f86291049ce0cdfae74e6e602105168 >echo x - audio/synthpod-lv2/pkg-message >sed 's/^X//' >audio/synthpod-lv2/pkg-message << '3f34be642839fb9d993a027c94911215' >X====================================================================== >XYou installed SynthPod: Lightweight Nonlinear LV2 Plugin Container >X >XThe major way to run it is to plug the LV2 plugin container to the >XJack sound server: >X >X$ synthpod_jack -g >X >XThis shows your the design window where you can arrange the plugins >Xto achieve the topology you like. >X >XPlease don't forget to connect SynthPod input and output in Jack. You >Xcan normally do this with the UI command qjackctl from audio/qjackctl. >X >XSynthPod is currently in alpha stage. >X====================================================================== >3f34be642839fb9d993a027c94911215 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 221319
:
185136
|
185272
|
185273
|
185275
|
185336