[SCM] juce/master: Try building an example with libjuce

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Fri Jan 22 20:07:40 UTC 2016


The following commit has been merged in the master branch:
commit 16f383177e4a70afb91b3963923bedebbfa93b05
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Fri Jan 22 20:51:56 2016 +0100

    Try building an example with libjuce

diff --git a/debian/patches/series b/debian/patches/series
index b415354..7b38f3d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 no-ztypes.patch
 reproducible-date.patch
 do-not-track.patch
+test-build
diff --git a/debian/patches/test-build b/debian/patches/test-build
new file mode 100644
index 0000000..0fe72f0
--- /dev/null
+++ b/debian/patches/test-build
@@ -0,0 +1,66 @@
+Description: fix an eample makefile so we can use it as a test
+Author: IOhannes m zmölnig
+Forwarded: not-needed
+Last-Update: 2015-01-22
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- juce.orig/examples/Demo/Builds/Linux/Makefile
++++ juce/examples/Demo/Builds/Linux/Makefile
+@@ -5,7 +5,7 @@
+ DEPFLAGS := $(if $(word 2, $(TARGET_ARCH)), , -MMD)
+ 
+ ifndef CONFIG
+-  CONFIG=Debug
++  CONFIG=Release
+ endif
+ 
+ ifeq ($(CONFIG),Debug)
+@@ -39,9 +39,24 @@
+   endif
+ 
+   CPPFLAGS := $(DEPFLAGS) -D "LINUX=1" -D "NDEBUG=1" -D "JUCE_UNIT_TESTS=1" -D "JUCER_LINUX_MAKE_7346DA2A=1" -D "JUCE_APP_VERSION=3.0.0" -D "JUCE_APP_VERSION_HEX=0x30000" -I /usr/include -I /usr/include/freetype2 -I ../../JuceLibraryCode -I ../../../../modules
+-  CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -O3
++  CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -O3 -fPIC
+   CXXFLAGS += $(CFLAGS) -std=c++11
+-  LDFLAGS += $(TARGET_ARCH) -L$(BINDIR) -L$(LIBDIR) -fvisibility=hidden -L/usr/X11R6/lib/ -lGL -lX11 -lXext -lXinerama -lasound -ldl -lfreetype -lpthread -lrt 
++  LDFLAGS += $(TARGET_ARCH) -fPIC \
++	-fvisibility=hidden \
++	-L ../../../../debian/libbuilder -ljuce \
++	-L$(BINDIR) \
++	-L$(LIBDIR) \
++	$(shell pkg-config --libs juce)
++	-lGL
++#  LDFLAGS += \
++#	-lX11 \
++#	-lXext \
++#	-lXinerama \
++#	-lasound \
++#	-ldl \
++#	-lfreetype \
++#	-lpthread \
++#	-lrt 
+ 
+   TARGET := JuceDemo
+   BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
+@@ -90,21 +105,6 @@
+   $(OBJDIR)/WindowsDemo_e8cfa428.o \
+   $(OBJDIR)/XMLandJSONDemo_5bc88df3.o \
+   $(OBJDIR)/BinaryData_ce4232d4.o \
+-  $(OBJDIR)/juce_audio_basics_399a455e.o \
+-  $(OBJDIR)/juce_audio_devices_c1c9ba9c.o \
+-  $(OBJDIR)/juce_audio_formats_f04b043c.o \
+-  $(OBJDIR)/juce_audio_processors_eb9ae116.o \
+-  $(OBJDIR)/juce_audio_utils_cf18005c.o \
+-  $(OBJDIR)/juce_box2d_7c8de7fc.o \
+-  $(OBJDIR)/juce_core_1ee54a40.o \
+-  $(OBJDIR)/juce_cryptography_3b1f489a.o \
+-  $(OBJDIR)/juce_data_structures_84790dfc.o \
+-  $(OBJDIR)/juce_events_584896b4.o \
+-  $(OBJDIR)/juce_graphics_f9afc18.o \
+-  $(OBJDIR)/juce_gui_basics_90929794.o \
+-  $(OBJDIR)/juce_gui_extra_b81d9e1c.o \
+-  $(OBJDIR)/juce_opengl_1890bee0.o \
+-  $(OBJDIR)/juce_video_86a19d3c.o \
+ 
+ .PHONY: clean
+ 

-- 
juce packaging



More information about the pkg-multimedia-commits mailing list