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

- Build C++ code with -fvisibility-inlines-hidden shrinks 
  the exported symbol table from 1844 to 1476 entries.

OBS-URL: https://build.opensuse.org/request/show/106839
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libopenraw?expand=0&rev=20
This commit is contained in:
Cristian Rodríguez
2012-02-24 18:05:26 +00:00
committed by Git OBS Bridge
parent b5e5cb4bdd
commit 2cea271674
2 changed files with 18 additions and 6 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 24 17:21:51 UTC 2012 - crrodriguez@opensuse.org
- Build C++ code with -fvisibility-inlines-hidden shrinks
the exported symbol table from 1844 to 1476 entries.
-------------------------------------------------------------------
Fri Dec 2 15:56:17 UTC 2011 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package libopenraw
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 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
@@ -14,22 +14,24 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Url: http://libopenraw.freedesktop.org/
Summary: A library to decode digital camera RAW files
License: LGPL-2.1+
Group: Development/Libraries/C and C++
Name: libopenraw
Version: 0.0.9
Release: 0
License: LGPL-2.1+
Group: Development/Libraries/C and C++
Source0: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2
Source99: baselibs.conf
# PATCH-FIX-UPSTREAM libopenraw-orf-thumbnail.patch bnc699678 glin@suse.com - Decompress otf files
Patch2: libopenraw-orf-thumbnail.patch
BuildRequires: automake
BuildRequires: boost-devel >= 1.33.1
BuildRequires: gcc-c++
BuildRequires: libjpeg-devel
BuildRequires: libtool
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.21
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(libxml-2.0)
@@ -40,12 +42,14 @@ libopenraw is a library that aim at decoding digital camera RAW files.
%package -n libopenraw1
Summary: A library to decode digital camera RAW files
Group: Development/Libraries/C and C++
%description -n libopenraw1
libopenraw is a library that aim at decoding digital camera RAW files.
%package -n gdk-pixbuf-loader-libopenraw
Summary: A library to decode digital camera RAW files -- gdk-pixbuf loader
Group: Development/Libraries/C and C++
Supplements: packageand(libopenraw1:gdk-pixbuf)
%gdk_pixbuf_loader_requires
@@ -56,6 +60,7 @@ This package provides a libopenraw-based gdk-pixbuf loader.
%package -n libopenraw-devel
Summary: A library to decode digital camera RAW files
Group: Development/Libraries/C and C++
Requires: libopenraw1 = %{version}
#include gdk-pixbuf/gdk-pixbuf.h
Requires: gdk-pixbuf-devel
@@ -68,9 +73,10 @@ libopenraw is a library that aim at decoding digital camera RAW files.
%patch2 -p1
%build
autoreconf
autoreconf -fiv
export CXXFLAGS="%optflags -fvisibility-inlines-hidden"
%configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs}
%{__make} V=1 %{?jobs:-j%jobs}
%install
%makeinstall