Mailinglist Archive: opensuse-commit (1314 mails)

< Previous Next >
commit ebook-tools for openSUSE:Factory
Hello community,

here is the log from the commit of package ebook-tools for openSUSE:Factory
checked in at 2012-01-04 08:00:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ebook-tools (Old)
and /work/SRC/openSUSE:Factory/.ebook-tools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ebook-tools", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/ebook-tools/ebook-tools.changes 2011-09-23
01:55:58.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ebook-tools.new/ebook-tools.changes
2012-01-04 08:00:48.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Dec 29 21:27:53 UTC 2011 - crrodriguez@xxxxxxxxxxxx
+
+- Use GCC visibility, which shrinks the symbol table
+ to less than a half of the actually size
+
+-------------------------------------------------------------------

New:
----
ebook-tools-visibility-hidden.patch

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

Other differences:
------------------
++++++ ebook-tools.spec ++++++
--- /var/tmp/diff_new_pack.Ylk0Tl/_old 2012-01-04 08:00:48.000000000 +0100
+++ /var/tmp/diff_new_pack.Ylk0Tl/_new 2012-01-04 08:00:48.000000000 +0100
@@ -28,6 +28,7 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: %name-%{version}.tar.gz
Patch1: ebook-tools-64bit-installation.diff
+Patch2: ebook-tools-visibility-hidden.patch

%description
ebook-tools provides some tools to handle ebook files
@@ -53,6 +54,7 @@
%prep
%setup
%patch1 -p1
+%patch2

%build
mkdir build
@@ -67,6 +69,7 @@
%install
cd build
%{__make} install DESTDIR=%{buildroot}
+nm -C -D %{buildroot}%{_libdir}/libepub.so.*

%post -n libepub0 -p /sbin/ldconfig


++++++ ebook-tools-visibility-hidden.patch ++++++
--- src/libepub/epub_shared.h.orig
+++ src/libepub/epub_shared.h
@@ -8,7 +8,7 @@
# define EPUB_EXPORT __declspec(dllimport)
# endif
#else
-# define EPUB_EXPORT
+# define EPUB_EXPORT __attribute__ ((visibility ("default")))
#endif

/**
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -15,7 +15,7 @@ find_package(LibXml2 REQUIRED)
find_package(LibZip REQUIRED)

if(CMAKE_C_COMPILER_ID MATCHES GNU)
- set(CMAKE_C_FLAGS "-Wall -W -Wno-long-long -Wundef -Wcast-align
-Werror-implicit-function-declaration -Wchar-subscripts -Wpointer-arith
-Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wshadow
-fno-common ${CMAKE_C_FLAGS}")
+ set(CMAKE_C_FLAGS "-Wall -W -Wno-long-long -Wundef -Wcast-align
-Werror-implicit-function-declaration -Wchar-subscripts -Wpointer-arith
-Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wshadow
-fno-common -fvisibility=hidden ${CMAKE_C_FLAGS}")
endif(CMAKE_C_COMPILER_ID MATCHES GNU)
if(MSVC)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages