[SCM] mixxx/master: Fix 20_norpath.patch format, now applies fine.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Mon Oct 18 11:13:29 UTC 2010


The following commit has been merged in the master branch:
commit a0127649a3ae56a13e3136cd23fbeddab12cecf6
Author: Alessio Treglia <alessio at debian.org>
Date:   Mon Oct 18 13:12:33 2010 +0200

    Fix 20_norpath.patch format, now applies fine.

diff --git a/debian/patches/20_norpath.patch b/debian/patches/20_norpath.patch
index 0bc94e9..6b7bf50 100644
--- a/debian/patches/20_norpath.patch
+++ b/debian/patches/20_norpath.patch
@@ -10,22 +10,22 @@ Forwarded: no
 --- mixxx.orig/src/SConscript.env
 +++ mixxx/src/SConscript.env
 @@ -837,9 +837,6 @@ if 'win' in platformString:
- else:
- 	env.Append(CCFLAGS = Split(""" -pipe -Wall -W -g """)) # omghax
- 	env.Append(LINKFLAGS = Split(""" -pipe -Wall -W -g"""))
--	if platformString != 'osx':
--		env.Append(LINKFLAGS = "-Wl,-rpath,$QTDIR/lib")
--	env.Append(LINKFLAGS = "-Wl,-rpath,$QTDIR/lib")
- 	env.Append(CPPDEFINES = "_REENTRANT")
- 
- #Uic these guys (they're moc'd automatically after this) - Generates the code for the QT UI forms
+ else:
+ 	env.Append(CCFLAGS = Split(""" -pipe -Wall -W -g """)) # omghax
+ 	env.Append(LINKFLAGS = Split(""" -pipe -Wall -W -g"""))
+-	if platformString != 'osx':
+-		env.Append(LINKFLAGS = "-Wl,-rpath,$QTDIR/lib")
+-	env.Append(LINKFLAGS = "-Wl,-rpath,$QTDIR/lib")
+ 	env.Append(CPPDEFINES = "_REENTRANT")
+ 
+ #Uic these guys (they're moc'd automatically after this) - Generates the code for the QT UI forms
 @@ -1335,7 +1332,8 @@ else:
- # enabled. It's dumb that they appear here, but they make the most sense next to
- # the optimization stuff. It's safe to assume that if opt > 1, then MMX and SSE
- # are enabled. All 64-bit CPUs have MMX and SSE as well.
--if bitwidth == '64' or (not 'win' in platformString and int(flags['optimize']) > 1) \
-+if bitwidth == '64' and (machine == 'AMD64' or machine == 'EM64T') \
-+    or (not 'win' in platformString and int(flags['optimize']) > 1) \
-     or ('win' in platformString and int(flags['optimize']) > 2):
-     sources += Split("""#lib/""" + soundtouch_path + """/mmx_optimized.cpp #lib/""" + soundtouch_path + """/sse_optimized.cpp""")
-     env.Append(CPPDEFINES='ALLOW_X86_OPTIMIZATIONS')
+ # enabled. It's dumb that they appear here, but they make the most sense next to
+ # the optimization stuff. It's safe to assume that if opt > 1, then MMX and SSE
+ # are enabled. All 64-bit CPUs have MMX and SSE as well.
+-if bitwidth == '64' or (not 'win' in platformString and int(flags['optimize']) > 1) \
++if bitwidth == '64' and (machine == 'AMD64' or machine == 'EM64T') \
++    or (not 'win' in platformString and int(flags['optimize']) > 1) \
+     or ('win' in platformString and int(flags['optimize']) > 2):
+     sources += Split("""#lib/""" + soundtouch_path + """/mmx_optimized.cpp #lib/""" + soundtouch_path + """/sse_optimized.cpp""")
+     env.Append(CPPDEFINES='ALLOW_X86_OPTIMIZATIONS')

-- 
mixxx packaging



More information about the pkg-multimedia-commits mailing list