diff --git a/libavc-fix-symbolexports.patch b/libavc-fix-symbolexports.patch new file mode 100644 index 0000000..2660aa6 --- /dev/null +++ b/libavc-fix-symbolexports.patch @@ -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 = \ diff --git a/libavc1394.changes b/libavc1394.changes index b5b0474..f62273b 100644 --- a/libavc1394.changes +++ b/libavc1394.changes @@ -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 diff --git a/libavc1394.spec b/libavc1394.spec index 336053e..2845caf 100644 --- a/libavc1394.spec +++ b/libavc1394.spec @@ -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