Hello community,

here is the log from the commit of package libebml for openSUSE:Factory checked 
in at 2014-01-20 20:42:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libebml (Old)
 and      /work/SRC/openSUSE:Factory/.libebml.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libebml"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libebml/libebml.changes  2013-05-27 
09:51:52.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libebml.new/libebml.changes     2014-01-23 
15:47:19.000000000 +0100
@@ -1,0 +2,14 @@
+Thu Jan 16 18:00:42 UTC 2014 - crrodrig...@opensuse.org
+
+- revert last change, breaks mkvtoolnix that uses 
+  internal and symbols that are not annotated as public :(
+  keep inlines-hidden though.
+
+-------------------------------------------------------------------
+Sun Jan 12 15:57:53 UTC 2014 - crrodrig...@opensuse.org
+
+- Support C++ visibility by reusing win32 code for the same 
+  purpose.
+- added patches:
+  * libebml-visibility.patch
+-------------------------------------------------------------------

New:
----
  libebml-visibility.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libebml.spec ++++++
--- /var/tmp/diff_new_pack.qUgxJX/_old  2014-01-23 15:47:21.000000000 +0100
+++ /var/tmp/diff_new_pack.qUgxJX/_new  2014-01-23 15:47:21.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libebml
 #
-# 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
 # remain the property of their copyright owners, unless otherwise agreed
@@ -28,6 +28,7 @@
 Source:         
http://dl.matroska.org/downloads/libebml/%{name}-%{version}.tar.bz2
 # PATCH-FIX-UPSTREAM libebml-1.3.0-6efcb74d1e.patch 
https://github.com/Matroska-Org/libebml/pull/1 reddw...@opensuse.org -- Add 
packaging updates from upstream
 Patch0:         libebml-1.3.0-6efcb74d1e.patch
+Patch1:         libebml-visibility.patch
 BuildRequires:  gcc-c++
 
 %description
@@ -56,10 +57,11 @@
 %prep
 %setup -q
 %patch0 -p1
+#%patch1 -p1
 
 %build
 cd make/linux
-make %{?_smp_mflags} link=shared CXXFLAGS="${CXXFLAGS:-%optflags}"
+make %{?_smp_mflags} link=shared CXXFLAGS="${CXXFLAGS:-%optflags} 
-fvisibility-inlines-hidden"
 
 %install
 cd make/linux

++++++ libebml-visibility.patch ++++++
--- libebml-1.3.0.orig/make/linux/Makefile
+++ libebml-1.3.0/make/linux/Makefile
@@ -71,7 +71,7 @@ headers:=$(patsubst %$(EXTENSION),%.h,$(
 objects:=$(patsubst %$(EXTENSION),%.o,$(sources))
 objects_so:=$(patsubst %$(EXTENSION),%.lo,$(sources))
 
-WARNINGFLAGS=-Wall -Wextra -Wno-unknown-pragmas -Wshadow
+WARNINGFLAGS=-Wall -Wextra -Wno-unknown-pragmas -Wshadow -fvisibility=hidden 
-fvisibility-inlines-hidden
 COMPILEFLAGS=$(WARNINGFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(DEBUGFLAGS) $(INCLUDE)
 DEPENDFLAGS  = $(CXXFLAGS) $(INCLUDE)
 
@@ -97,7 +97,7 @@ $(LIBRARY): $(objects)
        $(RANLIB) $@
 
 $(LIBRARY_SO): $(objects_so)
-       $(CXX) -shared -Wl,-soname,$(LIBRARY_SO_VER) -o $(LIBRARY_SO_VER) 
$(objects_so)
+       $(CXX) $(COMPILEFLAGS) -fPIC -Wl,--no-undefined -shared 
-Wl,-soname,$(LIBRARY_SO_VER) -o $(LIBRARY_SO_VER) $(objects_so)
        rm -f $(LIBRARY_SO)
        ln -s $(LIBRARY_SO_VER) $(LIBRARY_SO)
 
--- libebml-1.3.0.orig/ebml/EbmlConfig.h
+++ libebml-1.3.0/ebml/EbmlConfig.h
@@ -85,7 +85,7 @@
 #  pragma warning(disable:4786)  // length of internal identifiers
 # endif // _MSC_VER
 #else
-# define EBML_DLL_API
+# define EBML_DLL_API __attribute__ ((visibility ("default")))
 #endif // WIN32 || _WIN32
 
 
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to