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:
parent
50fefa6d60
commit
2d4f2a104f
20
libavc-fix-symbolexports.patch
Normal file
20
libavc-fix-symbolexports.patch
Normal 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 = \
|
@ -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
|
Fri Dec 2 15:47:56 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libavc1394
|
# 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
|
# 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
|
||||||
@ -15,21 +15,23 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: libavc1394
|
Name: libavc1394
|
||||||
BuildRequires: libraw1394-devel
|
BuildRequires: libraw1394-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
License: LGPL-2.1+
|
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
Version: 0.5.4
|
Version: 0.5.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Libavc1394--Programming Interface to the AV/C Specification
|
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/
|
Url: http://sourceforge.net/projects/libavc1394/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
Patch: libavc1394.no-mkrfc2734.patch
|
Patch: libavc1394.no-mkrfc2734.patch
|
||||||
Patch1: libavc1394.raw1394_set_fcp_handler.patch
|
Patch1: libavc1394.raw1394_set_fcp_handler.patch
|
||||||
|
Patch2: libavc-fix-symbolexports.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Libavc1394 is a programming interface to the AV/C specification from
|
Libavc1394 is a programming interface to the AV/C specification from
|
||||||
@ -68,6 +70,8 @@ Authors:
|
|||||||
|
|
||||||
%package 0
|
%package 0
|
||||||
Summary: Libavc1394--Programming Interface to the AV/C Specification
|
Summary: Libavc1394--Programming Interface to the AV/C Specification
|
||||||
|
License: LGPL-2.1+
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
# bug437293
|
# bug437293
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
Obsoletes: libavc1394-64bit
|
Obsoletes: libavc1394-64bit
|
||||||
@ -111,6 +115,7 @@ Authors:
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: libavc1394 is a programming interface to the AV/C specification
|
Summary: libavc1394 is a programming interface to the AV/C specification
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
# bug437293
|
# bug437293
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
Obsoletes: libavc1394-devel-64bit
|
Obsoletes: libavc1394-devel-64bit
|
||||||
@ -141,6 +146,7 @@ Authors:
|
|||||||
%setup -q
|
%setup -q
|
||||||
%patch -p1
|
%patch -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -ifv
|
autoreconf -ifv
|
||||||
|
Loading…
Reference in New Issue
Block a user