epdfview: make this build again.

This commit is contained in:
Juan RP 2012-08-10 08:13:28 +02:00
parent 65d149601a
commit a36a7096ab
3 changed files with 20 additions and 12 deletions

View file

@ -1,4 +1,3 @@
libgthread-2.0.so.0
libglib-2.0.so.0 libglib-2.0.so.0
libpoppler-glib.so.8 libpoppler-glib.so.8
libgdk-x11-2.0.so.0 libgdk-x11-2.0.so.0

View file

@ -0,0 +1,12 @@
diff --git a/src/gtk/StockIcons.h b/src/gtk/StockIcons.h
index c142a7a..58fcf2e 100644
--- src/gtk/StockIcons.h
+++ src/gtk/StockIcons.h
@@ -18,7 +18,7 @@
#if !defined (__STOCK_ICONS_H__)
#define __STOCK_ICONS_H__
-#include <glib/gmacros.h>
+#include <glib.h>
G_BEGIN_DECLS

View file

@ -1,16 +1,16 @@
# Template build file for 'epdfview'. # Template build file for 'epdfview'.
pkgname=epdfview pkgname=epdfview
version=0.1.8 version=0.1.8
revision=3 revision=4
distfiles="http://trac.emma-soft.com/$pkgname/chrome/site/releases/$pkgname-$version.tar.bz2"
build_style=gnu-configure build_style=gnu-configure
makedepends="pkg-config gtk+-devel poppler-glib-devel" makedepends="pkg-config glib-devel>=2.32 gtk+-devel poppler-glib-devel>=0.20"
fulldepends="hicolor-icon-theme desktop-file-utils" depends="hicolor-icon-theme desktop-file-utils"
short_desc="Lightweight PDF viewer using Poppler and GTK+" short_desc="Lightweight PDF viewer using Poppler and GTK+"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
checksum=948648ae7c9d7b3b408d738bd4f48d87375b1196cae1129d6b846a8de0f2f8f0
homepage="http://www.emma-soft.com/projects/epdfview/" homepage="http://www.emma-soft.com/projects/epdfview/"
license="GPL-2" license="GPL-2"
distfiles="http://trac.emma-soft.com/$pkgname/chrome/site/releases/$pkgname-$version.tar.bz2"
checksum=948648ae7c9d7b3b408d738bd4f48d87375b1196cae1129d6b846a8de0f2f8f0
long_desc=" long_desc="
ePDFView is a free lightweight PDF document viewer using Poppler and ePDFView is a free lightweight PDF document viewer using Poppler and
GTK+ libraries. GTK+ libraries.
@ -20,12 +20,9 @@ long_desc="
gtk_iconcache_dirs="/usr/share/icons/hicolor" gtk_iconcache_dirs="/usr/share/icons/hicolor"
post_install() {
post_install()
{
for f in 24 32 48; do for f in 24 32 48; do
install -Dm644 data/icon_${pkgname}-${f}.png \ vinstall data/icon_${pkgname}-${f}.png 644 \
${DESTDIR}/usr/share/icons/hicolor/${f}x${f}/apps/${pkgname}.png usr/share/icons/hicolor/${f}x${f}/apps ${pkgname}.png
done done
} }