diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-12-30 08:10:54 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-12-30 08:10:54 +0000 |
commit | 525e0aa74a4ff0d39323aaa19d814d288ceadd3a (patch) | |
tree | 37373c5877a5814b74efcae655b2ccf1c1299573 | |
parent | 2814e2175eb346da3abcae6933b324d03534929c (diff) | |
download | aports-525e0aa74a4ff0d39323aaa19d814d288ceadd3a.tar.bz2 aports-525e0aa74a4ff0d39323aaa19d814d288ceadd3a.tar.xz |
main/lua-lgob: rebuild against poppler-0.16
-rw-r--r-- | main/lua-lgob/0001-poppler-reflect-the-poppler_page_get_text-API-change.patch | 42 | ||||
-rw-r--r-- | main/lua-lgob/APKBUILD | 20 |
2 files changed, 59 insertions, 3 deletions
diff --git a/main/lua-lgob/0001-poppler-reflect-the-poppler_page_get_text-API-change.patch b/main/lua-lgob/0001-poppler-reflect-the-poppler_page_get_text-API-change.patch new file mode 100644 index 000000000..177c26b65 --- /dev/null +++ b/main/lua-lgob/0001-poppler-reflect-the-poppler_page_get_text-API-change.patch @@ -0,0 +1,42 @@ +From 096324789b3471be367c3075b51204b94cd70905 Mon Sep 17 00:00:00 2001 +From: Natanael Copa <ncopa@alpinelinux.org> +Date: Thu, 30 Dec 2010 08:06:52 +0000 +Subject: [PATCH] poppler: reflect the poppler_page_get_text API change + +http://cgit.freedesktop.org/poppler/poppler/commit/?id=b257428150e2c13dcc24fd8f75e4ee2c679ab414 +--- + poppler/src/poppler.def | 11 ++++++++++- + 1 files changed, 10 insertions(+), 1 deletions(-) + +diff --git a/poppler/src/poppler.def b/poppler/src/poppler.def +index fbe20de..255587a 100644 +--- a/poppler/src/poppler.def ++++ b/poppler/src/poppler.def +@@ -1499,7 +1499,7 @@ defFunction('poppler_page_render_to_ps', + } + ) + +-defFunction('poppler_page_get_text', ++defFunction('poppler_page_get_selected_text', + { + class = 'PopplerPage', + since = '0.1', +@@ -1508,6 +1508,15 @@ defFunction('poppler_page_get_text', + } + ) + ++defFunction('poppler_page_get_text', ++ { ++ class = 'PopplerPage', ++ since = '0.1', ++ args = {'GObject* none'}, ++ ret = 'char* full' ++ } ++) ++ + defFunction('poppler_page_get_selection_region', + { + class = 'PopplerPage', +-- +1.7.3.4 + diff --git a/main/lua-lgob/APKBUILD b/main/lua-lgob/APKBUILD index 0f98b4989..d2ea94441 100644 --- a/main/lua-lgob/APKBUILD +++ b/main/lua-lgob/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=lua-lgob pkgver=10.11 -pkgrel=1 +pkgrel=2 pkgdesc="Set of Lua bindings that uses gobject-instrospection" url="http://oproj.tuxfamily.org" arch="x86 x86_64" @@ -11,11 +11,24 @@ makedepends="lua-dev cairo-dev gtk+-dev pango-dev vte-dev gtkspell-dev webkit-dev atk-dev gstreamer-dev gst-plugins-base-dev poppler-gtk-dev gtksourceview-dev" subpackages="$pkgname-dev $pkgname-doc" -source="http://downloads.tuxfamily.org/oproj/lgob/lgob-$pkgver.tar.bz2" +source="http://downloads.tuxfamily.org/oproj/lgob/lgob-$pkgver.tar.bz2 + 0001-poppler-reflect-the-poppler_page_get_text-API-change.patch + " # 'goocanvas', 'clutter', 'cluttergtk' _mods="codegen common gobject loader cairo gdk gtk pango pangocairo vte webkit atk gstreamer gtkspell gtksourceview poppler" +_builddir="$srcdir"/lgob-$pkgver + +prepare() { + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + build() { cd "$srcdir"/lgob-$pkgver } @@ -32,4 +45,5 @@ package() { cp -r examples "$pkgdir"/usr/share/doc/$pkgname/ } -md5sums="020cd921b5119c142dc283a85b1d3253 lgob-10.11.tar.bz2" +md5sums="020cd921b5119c142dc283a85b1d3253 lgob-10.11.tar.bz2 +4042ebd70fb247f6f8fc1bd17ca11ea3 0001-poppler-reflect-the-poppler_page_get_text-API-change.patch" |