Accepting request 247610 from home:elvigia:branches:multimedia:libs

- Just like the companion librawxxx, this package has screwed 
  symbol names, fix them by exporting only the public API.
  (libavc-fix-symbolexports.patch)

OBS-URL: https://build.opensuse.org/request/show/247610
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libavc1394?expand=0&rev=9
This commit is contained in:
Cristian Rodríguez 2014-09-10 15:54:14 +00:00 committed by Git OBS Bridge
parent 50fefa6d60
commit 2d4f2a104f
3 changed files with 36 additions and 3 deletions

View File

@ -0,0 +1,20 @@
--- libavc1394-0.5.4.orig/librom1394/Makefile.am
+++ libavc1394-0.5.4/librom1394/Makefile.am
@@ -1,6 +1,6 @@
MAINTAINERCLEANFILES = Makefile.in
lib_LTLIBRARIES = librom1394.la
-librom1394_la_LDFLAGS = @LIBRAW1394_LIBS@ \
+librom1394_la_LDFLAGS = @LIBRAW1394_LIBS@ -export-symbols-regex '^rom1394_' \
-version-info @lt_major@:@lt_revision@:@lt_age@ -lm
librom1394_la_LIBADD = $(top_builddir)/common/raw1394util.lo
librom1394_la_SOURCES = \
--- libavc1394-0.5.4.orig/libavc1394/Makefile.am
+++ libavc1394-0.5.4/libavc1394/Makefile.am
@@ -1,6 +1,6 @@
MAINTAINERCLEANFILES = Makefile.in
lib_LTLIBRARIES = libavc1394.la
-libavc1394_la_LDFLAGS = @LIBRAW1394_LIBS@ \
+libavc1394_la_LDFLAGS = @LIBRAW1394_LIBS@ -export-symbols-regex '^avc1394_' \
-version-info @lt_major@:@lt_revision@:@lt_age@
libavc1394_la_LIBADD = $(top_builddir)/common/raw1394util.lo
libavc1394_la_SOURCES = \

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Sep 4 16:55:05 UTC 2014 - crrodriguez@opensuse.org
- Just like the companion librawxxx, this package has screwed
symbol names, fix them by exporting only the public API.
(libavc-fix-symbolexports.patch)
-------------------------------------------------------------------
Fri Dec 2 15:47:56 UTC 2011 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package libavc1394
#
# Copyright (c) 2011 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
# remain the property of their copyright owners, unless otherwise agreed
@ -15,21 +15,23 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: libavc1394
BuildRequires: libraw1394-devel
BuildRequires: libtool
BuildRequires: pkgconfig
License: LGPL-2.1+
Group: Development/Libraries/C and C++
Version: 0.5.4
Release: 0
Summary: Libavc1394--Programming Interface to the AV/C Specification
License: LGPL-2.1+
Group: Development/Libraries/C and C++
Url: http://sourceforge.net/projects/libavc1394/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: %{name}-%{version}.tar.bz2
Source2: baselibs.conf
Patch: libavc1394.no-mkrfc2734.patch
Patch1: libavc1394.raw1394_set_fcp_handler.patch
Patch2: libavc-fix-symbolexports.patch
%description
Libavc1394 is a programming interface to the AV/C specification from
@ -68,6 +70,8 @@ Authors:
%package 0
Summary: Libavc1394--Programming Interface to the AV/C Specification
License: LGPL-2.1+
Group: Development/Libraries/C and C++
# bug437293
%ifarch ppc64
Obsoletes: libavc1394-64bit
@ -111,6 +115,7 @@ Authors:
%package devel
Summary: libavc1394 is a programming interface to the AV/C specification
Group: Development/Libraries/C and C++
# bug437293
%ifarch ppc64
Obsoletes: libavc1394-devel-64bit
@ -141,6 +146,7 @@ Authors:
%setup -q
%patch -p1
%patch1 -p1
%patch2 -p1
%build
autoreconf -ifv