Accepting request 348952 from home:plater
Fixed i586 build OBS-URL: https://build.opensuse.org/request/show/348952 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/buzztrax?expand=0&rev=7
This commit is contained in:
parent
f4e7ba0fa9
commit
6863ea1e6f
13
buzztrax-fixx86build.patch
Normal file
13
buzztrax-fixx86build.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: configure
|
||||||
|
===================================================================
|
||||||
|
--- configure.orig
|
||||||
|
+++ configure
|
||||||
|
@@ -21763,7 +21763,7 @@ fi
|
||||||
|
ARCH_CFLAGS=""
|
||||||
|
ARCH_CPPFLAGS=""
|
||||||
|
case "x${target_cpu}" in
|
||||||
|
- xi?86|k?|xx86_64|xamd64)
|
||||||
|
+ k?|xx86_64|xamd64)
|
||||||
|
# seems to cause "CPU you selected does not support x86-64 instruction set" on some targets
|
||||||
|
#ARCH_CFLAGS="-march=native"
|
||||||
|
ARCH_CPPFLAGS="-D__SSE__ -D__MMX__"
|
36
buzztrax-nolibbml_la-bmlw.patch
Normal file
36
buzztrax-nolibbml_la-bmlw.patch
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
Index: configure
|
||||||
|
===================================================================
|
||||||
|
--- configure.orig
|
||||||
|
+++ configure
|
||||||
|
@@ -19702,7 +19702,7 @@ BMLHOST_CCASFLAGS=""
|
||||||
|
case "x${target_cpu}" in
|
||||||
|
xi?86 | k?)
|
||||||
|
HAVE_X86=yes
|
||||||
|
- CALLING_MODE=direct
|
||||||
|
+ CALLING_MODE=void
|
||||||
|
;;
|
||||||
|
xx86_64|xamd64)
|
||||||
|
if test "$have_x32_h" = "xno"; then
|
||||||
|
@@ -19761,7 +19761,8 @@ else
|
||||||
|
USE_DLLWRAPPER_TRUE='#'
|
||||||
|
USE_DLLWRAPPER_FALSE=
|
||||||
|
fi
|
||||||
|
-
|
||||||
|
+echo "dlltrue=$USE_DLLWRAPPER_FALSE"
|
||||||
|
+echo "dlltrue=$USE_DLLWRAPPER_TRUE"
|
||||||
|
if test x$CALLING_MODE = xdirect; then
|
||||||
|
USE_DLLWRAPPER_DIRECT_TRUE=
|
||||||
|
USE_DLLWRAPPER_DIRECT_FALSE='#'
|
||||||
|
@@ -19778,6 +19779,12 @@ else
|
||||||
|
USE_DLLWRAPPER_IPC_FALSE=
|
||||||
|
fi
|
||||||
|
|
||||||
|
+echo "dllfalse=$USE_DLLWRAPPER_FALSE"
|
||||||
|
+echo "dlltrue=$USE_DLLWRAPPER_TRUE"
|
||||||
|
+echo "dllfalseipc=$USE_DLLWRAPPER_IPC_FALSE"
|
||||||
|
+echo "dlltrueipc=$USE_DLLWRAPPER_IPC_TRUE"
|
||||||
|
+echo "dllfalse=$USE_DLLWRAPPER_DIRECT_FALSE"
|
||||||
|
+echo "dlltrue=$USE_DLLWRAPPER_DIRECT_TRUE"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 15 11:10:24 UTC 2015 - davejplater@gmail.com
|
||||||
|
|
||||||
|
- Fixed i586 build with buzztrax-fixx86build.patch and
|
||||||
|
buzztrax-nolibbml_la-bmlw.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 14 08:46:22 UTC 2015 - davejplater@gmail.com
|
Mon Dec 14 08:46:22 UTC 2015 - davejplater@gmail.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package buzztrax
|
# spec file for package buzztrax
|
||||||
#
|
#
|
||||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -35,6 +35,12 @@ Group: Productivity/Multimedia/Sound/Utilities
|
|||||||
Url: http://sourceforge.net/projects/buzztard/
|
Url: http://sourceforge.net/projects/buzztard/
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
Source1: COPYING-DOCS
|
Source1: COPYING-DOCS
|
||||||
|
%ifarch i586
|
||||||
|
# Suppress sse flags for 32 bit build.
|
||||||
|
Patch0: buzztrax-fixx86build.patch
|
||||||
|
# Set calling mode to void for 32 bit build.
|
||||||
|
Patch1: buzztrax-nolibbml_la-bmlw.patch
|
||||||
|
%endif
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -58,7 +64,6 @@ BuildRequires: pkgconfig(gstreamer-1.0) >= 1.1.0
|
|||||||
BuildRequires: pkgconfig(gstreamer-audio-1.0) >= 1.1.0
|
BuildRequires: pkgconfig(gstreamer-audio-1.0) >= 1.1.0
|
||||||
BuildRequires: pkgconfig(gstreamer-base-1.0) >= 1.1.0
|
BuildRequires: pkgconfig(gstreamer-base-1.0) >= 1.1.0
|
||||||
BuildRequires: pkgconfig(gstreamer-controller-1.0) >= 1.1.0
|
BuildRequires: pkgconfig(gstreamer-controller-1.0) >= 1.1.0
|
||||||
#BuildRequires: pkgconfig(gstreamer-interfaces-1.0)
|
|
||||||
BuildRequires: pkgconfig(gstreamer-pbutils-1.0)
|
BuildRequires: pkgconfig(gstreamer-pbutils-1.0)
|
||||||
BuildRequires: pkgconfig(gtk+-x11-2.0)
|
BuildRequires: pkgconfig(gtk+-x11-2.0)
|
||||||
BuildRequires: pkgconfig(clutter-gtk-1.0)
|
BuildRequires: pkgconfig(clutter-gtk-1.0)
|
||||||
@ -179,9 +184,15 @@ This package contains buzztrax plugins
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%ifarch i586
|
||||||
|
%patch0
|
||||||
|
%patch1
|
||||||
|
%endif
|
||||||
cp -v %{S:1} .
|
cp -v %{S:1} .
|
||||||
|
#rm -rf src/lib/dllwrapper
|
||||||
|
#rm src/lib/bml/bmlw.c src/lib/bml/BuzzMachineLoader.dll
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%configure --disable-static \
|
%configure --disable-static \
|
||||||
--disable-schemas-compile \
|
--disable-schemas-compile \
|
||||||
--disable-silent-rules \
|
--disable-silent-rules \
|
||||||
@ -190,6 +201,7 @@ cp -v %{S:1} .
|
|||||||
--with-pic \
|
--with-pic \
|
||||||
--enable-man \
|
--enable-man \
|
||||||
--disable-dllwrapper
|
--disable-dllwrapper
|
||||||
|
|
||||||
make %{?_smp_flags}
|
make %{?_smp_flags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
Reference in New Issue
Block a user