diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-09-04 20:10:10 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-09-04 20:13:16 +0200 |
commit | 47c848ac5f716836ce80d14f7c9324fb9014efe4 (patch) | |
tree | 18bd617b87ebc3581b4b8f4e8342dd3d3fd57635 /recipes-multimedia/drumgizmo/files | |
parent | 6ae695570e62c2ba239dbfd654f98d93f7744711 (diff) |
Add drumgizmo recipe and dependencies.
Diffstat (limited to 'recipes-multimedia/drumgizmo/files')
4 files changed, 100 insertions, 0 deletions
diff --git a/recipes-multimedia/drumgizmo/files/0001-automake-enable-subdir-objects.patch b/recipes-multimedia/drumgizmo/files/0001-automake-enable-subdir-objects.patch new file mode 100644 index 0000000..08cfb0d --- /dev/null +++ b/recipes-multimedia/drumgizmo/files/0001-automake-enable-subdir-objects.patch @@ -0,0 +1,31 @@ +From c9eec598b2f8b1435a2229dd5c49a9e15c6bc2ac Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> +Date: Thu, 22 Feb 2018 00:13:04 +0100 +Subject: [PATCH] automake: enable subdir-objects +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Pending + +Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 0562059..13a7ffc 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -3,7 +3,7 @@ + AC_INIT([drumgizmo], m4_esyscmd([cat version.h | cut -d'"' -f2 | xargs echo -n]))dnl" + + AC_CONFIG_SRCDIR([src/drumgizmo.cc]) +-AM_INIT_AUTOMAKE ++AM_INIT_AUTOMAKE(subdir-objects) + + AC_PROG_CXX + AC_PROG_OBJC +-- +2.14.3 + diff --git a/recipes-multimedia/drumgizmo/files/0002-Use-native-rcgen.patch b/recipes-multimedia/drumgizmo/files/0002-Use-native-rcgen.patch new file mode 100644 index 0000000..05bec80 --- /dev/null +++ b/recipes-multimedia/drumgizmo/files/0002-Use-native-rcgen.patch @@ -0,0 +1,31 @@ +From 766c8c4aa6f6e8743234b93a760a89480bddd7fd Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> +Date: Mon, 28 May 2018 23:08:07 +0200 +Subject: [PATCH] Use native rcgen +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Inappropriate [cross specific] + +Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> +--- + plugingui/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/plugingui/Makefile.am b/plugingui/Makefile.am +index dd36783..ca30e84 100644 +--- a/plugingui/Makefile.am ++++ b/plugingui/Makefile.am +@@ -28,7 +28,7 @@ RES = \ + ../COPYING + + resource_data.cc : rcgen $(RES) +- ./rcgen $(RES) > resource_data.cc ++ drumgizmo-rcgen $(RES) > resource_data.cc + + libdggui_la_CPPFLAGS = \ + $(GUI_CPPFLAGS) \ +-- +2.14.3 + diff --git a/recipes-multimedia/drumgizmo/files/0003-no-ui-compile.patch b/recipes-multimedia/drumgizmo/files/0003-no-ui-compile.patch new file mode 100644 index 0000000..6c11437 --- /dev/null +++ b/recipes-multimedia/drumgizmo/files/0003-no-ui-compile.patch @@ -0,0 +1,26 @@ +diff --git a/Makefile.am b/Makefile.am +index f39a2d8..d1a08f2 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -1,6 +1,6 @@ + AUTOMAKE_OPTIONS = gnu +-SUBDIRS = tools include src plugingui plugin drumgizmo man test +-DISTDIRS = tools include src plugingui plugin drumgizmo man test ++SUBDIRS = tools include src plugin drumgizmo man ++DISTDIRS = tools include src plugin drumgizmo man + + EXTRA_DIST = \ + version.h \ +diff --git a/configure.ac b/configure.ac +index 6b4593c..591d800 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -188,7 +188,7 @@ AS_IF( + GUI_CPPFLAGS="-DUI_PUGL -DPUGL_HAVE_GL" + GUI_LIBS="-framework OpenGL -framework Cocoa"], + +- AC_MSG_ERROR([*** No GUI backend has been selected ***]) ++ AC_MSG_WARN([*** No GUI backend has been selected ***]) + ) + + AC_SUBST(GUI_CPPFLAGS) diff --git a/recipes-multimedia/drumgizmo/files/0004-missing-include.patch b/recipes-multimedia/drumgizmo/files/0004-missing-include.patch new file mode 100644 index 0000000..b4631a2 --- /dev/null +++ b/recipes-multimedia/drumgizmo/files/0004-missing-include.patch @@ -0,0 +1,12 @@ +diff --git a/drumgizmo/drumgizmoc.cc b/drumgizmo/drumgizmoc.cc +index 0c3e190..91de704 100644 +--- a/drumgizmo/drumgizmoc.cc ++++ b/drumgizmo/drumgizmoc.cc +@@ -31,6 +31,7 @@ + + #include <string.h> + #include <sstream> ++#include <fstream> + #include <chrono> + #include <thread> + #include <wordexp.h> |