libe-book.paketlendi
This commit is contained in:
parent
0f59bcabe1
commit
b04b61c7ad
|
@ -0,0 +1,29 @@
|
|||
From 784c5168d1a62618e53619fd0a979363d596775a Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Fridrich=20=C5=A0trba?= <fridrich.strba@bluewin.ch>
|
||||
Date: Sun, 3 Jul 2016 21:43:25 +0200
|
||||
Subject: [PATCH] Disable werror by default since gperf code will not build
|
||||
with gcc 6
|
||||
|
||||
---
|
||||
configure.ac | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 06e9afb..6e00ed5 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -223,9 +223,9 @@ AS_IF([test "x$platform_win32" = "xyes"],
|
||||
# Check for cflags
|
||||
# ================
|
||||
AC_ARG_ENABLE([werror],
|
||||
- [AS_HELP_STRING([--disable-werror], [Treat all warnings as errors, usefull for development])],
|
||||
+ [AS_HELP_STRING([--enable-werror], [Treat all warnings as errors, usefull for development])],
|
||||
[enable_werror="$enableval"],
|
||||
- [enable_werror=yes]
|
||||
+ [enable_werror=no]
|
||||
)
|
||||
AS_IF([test x"$enable_werror" != "xno"], [
|
||||
CFLAGS="$CFLAGS -Werror"
|
||||
--
|
||||
2.10.2
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
From b903d0dc91f482b348e5840e5a1df599ebd5e6f9 Mon Sep 17 00:00:00 2001
|
||||
From: David Tardon <dtardon@redhat.com>
|
||||
Date: Sun, 30 Aug 2015 13:57:14 +0200
|
||||
Subject: [PATCH] fix build with boost 1.59
|
||||
|
||||
---
|
||||
src/lib/Makefile.am | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
|
||||
index 9931a22..35d35be 100644
|
||||
--- a/src/lib/Makefile.am
|
||||
+++ b/src/lib/Makefile.am
|
||||
@@ -64,6 +64,7 @@ libe_book_@EBOOK_MAJOR_VERSION@_@EBOOK_MINOR_VERSION@_la_LDFLAGS = $(version_inf
|
||||
libe_book_@EBOOK_MAJOR_VERSION@_@EBOOK_MINOR_VERSION@_la_SOURCES = \
|
||||
EBOOKDocument.cpp
|
||||
|
||||
+libe_book_internal_la_CPPFLAGS = -DBOOST_ERROR_CODE_HEADER_ONLY
|
||||
libe_book_internal_la_SOURCES = \
|
||||
EBOOKBitStream.cpp \
|
||||
EBOOKBitStream.h \
|
||||
--
|
||||
2.6.2
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
# Description: e-kitap formatları için kütüphane
|
||||
# URL: http://sourceforge.net/projects/libebook/
|
||||
# Packager: milisarge
|
||||
# Depends on: boost cppunit doxygen librevenge libxml2
|
||||
|
||||
name=libe-book
|
||||
version=0.1.2
|
||||
release=1
|
||||
source=(https://sourceforge.net/projects/${name//-/}/files//libe-book-0.1.2/libe-book-$version.tar.xz
|
||||
0001-Disable-werror-by-default-since-gperf-code-will-not-.patch
|
||||
boost159.patch)
|
||||
|
||||
build() {
|
||||
cd ${name}-${version}
|
||||
# https://sourceforge.net/p/libebook/code/ci/784c5168d1a62618e53619fd0a979363d596775a/
|
||||
patch -Np1 -i ../0001-Disable-werror-by-default-since-gperf-code-will-not-.patch
|
||||
patch -Np1 -i ../boost159.patch
|
||||
autoreconf -vi
|
||||
./configure --prefix=/usr #--disable-werror
|
||||
make
|
||||
make check
|
||||
make DESTDIR=$PKG install
|
||||
}
|
Loading…
Reference in New Issue