Accepting request 248388 from multimedia:libs

1

OBS-URL: https://build.opensuse.org/request/show/248388
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libraw1394?expand=0&rev=27
This commit is contained in:
Stephan Kulow 2014-09-18 05:12:00 +00:00 committed by Git OBS Bridge
commit dd2e9a0c8c
3 changed files with 25 additions and 6 deletions

11
libraw1394-exports.patch Normal file
View File

@ -0,0 +1,11 @@
--- libraw1394-2.1.0.orig/src/Makefile.am
+++ libraw1394-2.1.0/src/Makefile.am
@@ -4,7 +4,7 @@ MAINTAINERCLEANFILES = Makefile.in
lib_LTLIBRARIES = libraw1394.la
-libraw1394_la_LDFLAGS = -version-info @lt_major@:@lt_revision@:@lt_age@
+libraw1394_la_LDFLAGS = -export-symbols-regex '^raw1394_' -no-undefined -version-info @lt_major@:@lt_revision@:@lt_age@
libraw1394_la_SOURCES = \
main.c \

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Sep 4 18:51:55 UTC 2014 - crrodriguez@opensuse.org
- libraw1394-exports.patch: Only symbols prefixed with
raw1394_ are part of the public API, everything else
is private.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Mar 23 13:57:19 UTC 2013 - zaitor@opensuse.org Sat Mar 23 13:57:19 UTC 2013 - zaitor@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package libraw1394 # spec file for package libraw1394
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2014 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
@ -28,12 +28,14 @@ Url: http://www.dennedy.org/libraw1394/
Obsoletes: libraw1394-64bit Obsoletes: libraw1394-64bit
%endif %endif
# #
BuildRequires: libtool
BuildRequires: openjade-devel BuildRequires: openjade-devel
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: http://www.kernel.org/pub/linux/libs/ieee1394/%{name}-%{version}.tar.xz Source0: http://www.kernel.org/pub/linux/libs/ieee1394/%{name}-%{version}.tar.xz
Source1: baselibs.conf Source1: baselibs.conf
Patch: libraw1394.no-isodump.patch Patch0: libraw1394.no-isodump.patch
Patch1: libraw1394-exports.patch
%description %description
The Linux kernel's IEEE 1394 subsystem provides access to the raw 1394 The Linux kernel's IEEE 1394 subsystem provides access to the raw 1394
@ -101,11 +103,10 @@ This archive contains the header files for libraw1394 development.
%prep %prep
%setup -q %setup -q
%patch -p1 %patch0 -p1
%patch1 -p1
%build %build
#autoreconf --force --install autoreconf --force --install
export CFLAGS="%optflags"
%configure --disable-static --with-pic %configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs} all %{__make} %{?jobs:-j%jobs} all