Hello community,

here is the log from the commit of package hydrogen for openSUSE:Factory
checked in at Tue Aug 16 12:37:52 CEST 2011.



--------
--- KDE/hydrogen/hydrogen.changes       2011-04-01 01:59:59.000000000 +0200
+++ /mounts/work_src_done/STABLE/hydrogen/hydrogen.changes      2011-08-15 
01:41:05.000000000 +0200
@@ -1,0 +2,5 @@
+Mon Aug 15 01:40:40 CEST 2011 - [email protected]
+
+- make it build even if python reports platform as linux3 
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  hydrogen-linux3.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ hydrogen.spec ++++++
--- /var/tmp/diff_new_pack.IqTk3V/_old  2011-08-16 12:35:05.000000000 +0200
+++ /var/tmp/diff_new_pack.IqTk3V/_new  2011-08-16 12:35:05.000000000 +0200
@@ -24,7 +24,7 @@
 BuildRequires:  fdupes gcc-c++ help2man hicolor-icon-theme rsync scons 
subversion update-desktop-files
 Summary:        A Real-Time Drum Machine and Sequencer
 Version:        0.9.5
-Release:        1
+Release:        3
 License:        GPLv2+
 Group:          Productivity/Multimedia/Sound/Midi
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -35,6 +35,7 @@
 Patch2:         hydrogen-no-return-in-nonvoid-function.patch
 Patch3:         hydrogen-no-current-time.patch
 Patch4:         hydrogen-0.9.5-desktopfile.patch
+Patch5:         hydrogen-linux3.patch
 
 %description
 Hydrogen is an advanced drum machine for GNU/Linux.
@@ -71,6 +72,7 @@
 %patch2
 %patch3
 %patch4
+%patch5
 
 %build
 

++++++ hydrogen-linux3.patch ++++++
--- Sconstruct
+++ Sconstruct
@@ -47,7 +47,7 @@
 
        env = Environment( options = opts )
 
-       if sys.platform == "linux2" or sys.platform == "darwin":
+       if sys.platform == "linux2" or sys.platform == "linux3" or sys.platform 
== "darwin":
                if str(env['debug']) == "1":
                        cppflags += ['-Wall',  '-g2', '-ggdb', '-O0'] 
                        for flag in env["optflags"].split(" "):
@@ -91,7 +91,7 @@
                includes.append( '/opt/local/include' )
                includes.append( '/usr/local/include/jack' )
 
-       elif sys.platform == 'linux2':
+       elif sys.platform == 'linux2' or sys.platform == 'linux3':
                ldflags.append('-lpthread')
                ldflags.append('-lasound')
        #       ldflags.append('-lrubberband')
@@ -279,7 +279,7 @@
        if str(env['lash']) == "1":
                env.ParseConfig('pkg-config --cflags --libs lash-1.0')
 
-       if sys.platform == "darwin" or sys.platform == "linux2":
+       if sys.platform == "darwin" or sys.platform == "linux2" or sys.platform 
== "linux3":
                env.Append( LIBS = ["z"] )
 
        if sys.platform == "darwin" and str(env['coreaudio']) == "1":
--- qt4.py
+++ qt4.py
@@ -444,7 +444,7 @@
                try : self.AppendUnique(CPPDEFINES=moduleDefines[module])
                except: pass
        debugSuffix = ''
-       if sys.platform == "linux2" and not crosscompiling :
+       if (sys.platform == "linux2" or sys.platform == "linux3") and not 
crosscompiling :
                if debug : debugSuffix = '_debug'
                for module in modules :
                        if module not in pclessModules : continue

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to