wok-next rev 17853
epdfview: fix rendering of embedded images
used:
http://www.linuxfromscratch.org/patches/blfs/svn/epdfview-0.1.8-fixes-2.patch
used:
http://www.linuxfromscratch.org/patches/blfs/svn/epdfview-0.1.8-fixes-2.patch
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Tue Mar 24 22:35:58 2015 +0100 (2015-03-24) |
parents | 8d2b13d29bb3 |
children | 6024d90fc0de |
files | epdfview/receipt epdfview/stuff/epdfview.desktop |
line diff
1.1 --- a/epdfview/receipt Tue Mar 24 17:45:53 2015 +0000 1.2 +++ b/epdfview/receipt Tue Mar 24 22:35:58 2015 +0100 1.3 @@ -17,7 +17,7 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - cd $src 1.8 + sed -i 's/FORMAT_RGB24/FORMAT_ARGB32/g' src/PDFDocument.cxx 1.9 sed -i 's/<config.h>/&\n#include <stdio.h>\n#define g_fopen fopen/' \ 1.10 src/epdfview.h 1.11 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|' 1.12 @@ -31,10 +31,9 @@ 1.13 # Rules to gen a SliTaz package suitable for Tazpkg. 1.14 genpkg_rules() 1.15 { 1.16 - mkdir -p $fs/usr/share/pixmaps 1.17 - cp -a $install/usr/bin $fs/usr 1.18 - cp -a $install/usr/share/epdfview $fs/usr/share 1.19 - cd $fs/usr/share/pixmaps 1.20 - ln -sf /usr/share/epdfview/pixmaps/icon_epdfview-32.png epdfview.png 1.21 + mkdir -p $fs/usr/share 1.22 + cp -a $install/usr/bin $fs/usr 1.23 + cp -a $install/usr/share/epdfview $fs/usr/share 1.24 + find $fs -name 'icon*[83]*' -delete 1.25 } 1.26
2.1 --- a/epdfview/stuff/epdfview.desktop Tue Mar 24 17:45:53 2015 +0000 2.2 +++ b/epdfview/stuff/epdfview.desktop Tue Mar 24 22:35:58 2015 +0100 2.3 @@ -15,6 +15,6 @@ 2.4 Comment[ru]=Быстрая программа для просмотра файлов PDF 2.5 Comment[zh_CN]=轻量级PDF浏览器 2.6 Exec=epdfview %f 2.7 -Icon=epdfview 2.8 +Icon=/usr/share/epdfview/pixmaps/icon_epdfview-24.png 2.9 Categories=GTK;Office;Viewer; 2.10 MimeType=application/pdf;