Patches removed/updated.
authorJaromír Mikeš <mira.mikes@seznam.cz>
Tue, 16 Jan 2018 22:14:07 +0000 (23:14 +0100)
committerJaromír Mikeš <mira.mikes@seznam.cz>
Tue, 16 Jan 2018 22:14:07 +0000 (23:14 +0100)
debian/patches/02-rtmidi-pkgconfig.patch
debian/patches/03-gcc7.patch [deleted file]
debian/patches/series

index 4f7885fbe46e8d90ff2ee93b87d02c40a324897b..68e8961aecd0a36bfc24763a27e08f7e3a8f8550 100644 (file)
@@ -1,53 +1,49 @@
-From: James Cowgill <jcowgill@debian.org>
-Date: Wed, 25 Oct 2017 14:25:50 +0200
-Subject: build with new rtmidi lib.
-
----
- Makefile.am  | 6 +++---
- configure.ac | 8 +-------
- 2 files changed, 4 insertions(+), 10 deletions(-)
-
-Index: giada/Makefile.am
-===================================================================
---- giada.orig/Makefile.am
-+++ giada/Makefile.am
-@@ -293,9 +293,9 @@ if LINUX
- giada_SOURCES += src/deps/rtaudio-mod/RtAudio.h src/deps/rtaudio-mod/RtAudio.cpp
- # -Wno-error=unused-function: don't stop on JUCE's unused functions
- giada_CXXFLAGS += -Wno-error=unused-function
--giada_CPPFLAGS += -D__LINUX_ALSA__ -D__LINUX_PULSE__ -D__UNIX_JACK__
-+giada_CPPFLAGS += $(RTMIDI_CFLAGS)
- giada_LDADD = -lsndfile -lfltk -lXext -lX11 -lXft -lXpm -lm -ljack -lasound \
--  -lpthread -ldl -lpulse-simple -lpulse -lsamplerate -lrtmidi -ljansson \
-+  -lpthread -ldl -lpulse-simple -lpulse -lsamplerate $(RTMIDI_LIBS) -ljansson \
-   -lfreetype
- endif
-@@ -383,7 +383,7 @@ src/deps/juce/modules/juce_gui_extra/juc
- endif
- giada_tests_LDADD = -ljansson -lsndfile -lsamplerate -lfltk -lXext -lX11 -lXft \
--  -lXpm -lm -ljack -lasound -lpthread -ldl -lpulse-simple -lpulse -lrtmidi \
-+  -lXpm -lm -ljack -lasound -lpthread -ldl -lpulse-simple -lpulse $(RTMIDI_LIBS) \
-   -lfreetype
- giada_tests_CXXFLAGS = -std=c++11
-Index: giada/configure.ac
-===================================================================
---- giada.orig/configure.ac
-+++ giada/configure.ac
-@@ -118,13 +118,7 @@ AC_CHECK_HEADER(
- )
- AC_LANG_POP
--AC_LANG_PUSH([C++])
--AC_CHECK_HEADER(
--      [rtmidi/RtMidi.h],
--      [],
--      [AC_MSG_ERROR([library 'rtMidi' not found!])]
--)
--AC_LANG_POP
-+PKG_CHECK_MODULES([RTMIDI], [rtmidi])
- AC_LANG_PUSH([C++])
- AC_CHECK_HEADER(
+From: James Cowgill <jcowgill@debian.org>\r
+Date: Wed, 25 Oct 2017 14:25:50 +0200\r
+Subject: build with new rtmidi lib.\r
+\r
+--- a/Makefile.am\r
++++ b/Makefile.am\r
+@@ -70,13 +70,13 @@ endif\r
+ if LINUX\r
\r
+ # Add preprocessor flags to enable ALSA, Pulse and JACK in RtAudio.\r
+-cppFlags += -D__LINUX_ALSA__ -D__LINUX_PULSE__ -D__UNIX_JACK__\r
++cppFlags += $(RTMIDI_CFLAGS)\r
\r
+ # Don't stop on JUCE's unused functions.\r
+ cxxFlags += -Wno-error=unused-function\r
\r
+ ldAdd += -lsndfile -lfltk -lXext -lX11 -lXft -lXpm -lm -ljack -lasound \\r
+-  -lpthread -ldl -lpulse-simple -lpulse -lsamplerate -lrtmidi -ljansson \\r
++  -lpthread -ldl -lpulse-simple -lpulse -lsamplerate $(RTMIDI_LIBS) -ljansson \\r
+   -lfreetype\r
\r
+ endif\r
+--- a/configure.ac\r
++++ b/configure.ac\r
+@@ -118,23 +118,7 @@ AC_CHECK_HEADER(\r
+ )\r
+ AC_LANG_POP\r
\r
+-if test "x$os" = "xosx"; then\r
+-      AC_LANG_PUSH([C++])\r
+-      AC_CHECK_HEADER(\r
+-              [RtMidi.h],\r
+-              [],\r
+-              [AC_MSG_ERROR([library 'rtMidi' not found!])]\r
+-      )\r
+-      AC_LANG_POP\r
+-else\r
+-      AC_LANG_PUSH([C++])\r
+-      AC_CHECK_HEADER(\r
+-              [rtmidi/RtMidi.h],\r
+-              [],\r
+-              [AC_MSG_ERROR([library 'rtMidi' not found!])]\r
+-      )\r
+-      AC_LANG_POP\r
+-fi\r
++PKG_CHECK_MODULES([RTMIDI], [rtmidi])\r
\r
\r
+ AC_LANG_PUSH([C++])\r
diff --git a/debian/patches/03-gcc7.patch b/debian/patches/03-gcc7.patch
deleted file mode 100644 (file)
index dd073a8..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-Description: Fixed g++-7 build errors
-Author: IOhannes m zmölnig
-Forwarded: no
-Last-Update: 2017-10-30
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- giada.orig/src/gui/elems/mainWindow/mainTimer.cpp
-+++ giada/src/gui/elems/mainWindow/mainTimer.cpp
-@@ -60,7 +60,7 @@
-       resizable(nullptr);   // don't resize any widget
--      char buf[6]; snprintf(buf, 6, "%f", clock::getBpm());
-+      char buf[320]; snprintf(buf, 320, "%f", clock::getBpm());
-       bpm->copy_label(buf);
-       bpm->callback(cb_bpm, (void*)this);
index c8a9a4e35ca695f70db2695ec67d6b79d95d20af..a09bfd02b2858bccf4f8054eb918515b8233d351 100644 (file)
@@ -1,4 +1,3 @@
 01-rtaudio5.patch
 02-rtmidi-pkgconfig.patch
-03-gcc7.patch
 04-catch.patch