From c51a629483f6dbf16951d9589000a8ce28317cf4 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Mon, 22 Apr 2019 20:00:44 +0000 Subject: Mon Apr 22 20:00:44 UTC 2019 a/aaa_terminfo-6.1_20190420-x86_64-1.txz: Upgraded. l/ncurses-6.1_20190420-x86_64-1.txz: Upgraded. n/wpa_supplicant-2.8-x86_64-1.txz: Upgraded. xap/xpdf-4.00-x86_64-4.txz: Rebuilt. Recompiled with -DSYSTEM_XPDFRC="/etc/xpdfrc". Thanks to J_W. --- source/xap/xpdf/xpdf.SlackBuild | 9 +++--- source/xap/xpdf/xpdfIcon.xpm | 62 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+), 4 deletions(-) create mode 100644 source/xap/xpdf/xpdfIcon.xpm (limited to 'source/xap') diff --git a/source/xap/xpdf/xpdf.SlackBuild b/source/xap/xpdf/xpdf.SlackBuild index dd2f4815a..5d5d05e43 100755 --- a/source/xap/xpdf/xpdf.SlackBuild +++ b/source/xap/xpdf/xpdf.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2017, 2018 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2017, 2018, 2019 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=xpdf VERSION=4.00 PATCHLEVEL= -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} @@ -91,6 +91,7 @@ cd build -DMAN_INSTALL_DIR=/usr/man \ -DCMAKE_BUILD_TYPE=Release \ -DXPDFWIDGET_PRINTING=1 \ + -DSYSTEM_XPDFRC="/etc/xpdfrc" \ .. || exit 1 make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG || exit 1 @@ -110,10 +111,10 @@ mkdir -p $PKG/etc cat doc/sample-xpdfrc > $PKG/etc/xpdfrc mv $PKG/etc/xpdfrc $PKG/etc/xpdfrc.new -# Add desktop menu entry and icon +# Add desktop menu entry and icon: mkdir -p $PKG/usr/share/{applications,pixmaps} cat $CWD/xpdf.desktop > $PKG/usr/share/applications/xpdf.desktop -cat xpdf/xpdfIcon.xpm > $PKG/usr/share/pixmaps/xpdfIcon.xpm +cat $CWD/xpdfIcon.xpm > $PKG/usr/share/pixmaps/xpdfIcon.xpm # Add additional language support: for language in xpdf-arabic xpdf-chinese-simplified xpdf-chinese-traditional xpdf-cyrillic xpdf-greek xpdf-hebrew xpdf-japanese xpdf-korean xpdf-latin2 xpdf-thai xpdf-turkish ; do diff --git a/source/xap/xpdf/xpdfIcon.xpm b/source/xap/xpdf/xpdfIcon.xpm new file mode 100644 index 000000000..5e05d20e2 --- /dev/null +++ b/source/xap/xpdf/xpdfIcon.xpm @@ -0,0 +1,62 @@ +/* XPM */ +static char *xpdfIcon[] = { +/* width height num_colors chars_per_pixel */ +" 48 48 7 1", +/* colors */ +". c #000000", +"# c #a00000", +"a c #a0a0a0", +"b c #c0c0c0", +"c c #e00000", +"d c #e0e0e0", +"e c #ffffff", +/* pixels */ +"................................................", +"................................................", +"................................................", +"................................................", +"#ccccccc#................................#ccc#..", +".#ccccccc#..............................#ccc#...", +"..#ccccccc#............................#ccc#....", +"...#ccccccc#................bbba.....abbbc#.....", +"....#ccccccc#...............beea....debbed......", +".....#ccccccc#...............ee....bebccee......", +"......#ccccccc#..............ee....eecc#bb......", +".......#ccccccc#............aee...#eec#.........", +"........#ccccccc#...........bed..#beb#..........", +".........#ccccccc#..........beb.#cbeb...........", +"..........#ccccccc#.........beb#ccbeb...........", +"...........#ccccccc#........bebcccbeb...........", +"............#ccccccc#.......eebcc#dea...........", +".............#ccccccc#......eecc#.ee............", +".........ae...#ccccccc#....#eec#..ee............", +"........aeeaeeeebcccccabeeeaee#.beeeeee.........", +".......aeeeea..debcccaed##ceee....ee............", +"......addee.....eeccaedccccbed...beb............", +"......a.bee.....ee#cbeaccccbeb...beb............", +"........beb.....ee.#eecccccbeb...beb............", +"........beb.....ee..eecccccbeb...beb............", +"........beb.....ee..eeccccceeb...dea............", +"........deb....aeb.#eeccccceec#..ee.............", +"........eea....dea#cee##ccceecc#.ee.............", +"........eee...dea#ccbeda#cdeeccc#ee.............", +"........eeaeeeba#ccc#beeeeaeeecceeee............", +"........ee.....#ccc#......#ccccccc#.............", +".......bee....#ccc#........#ccccccc#............", +".......beb...#ccc#..........#ccccccc#...........", +".......beb..#ccc#............#ccccccc#..........", +".......beb.#ccc#..............#ccccccc#.........", +".......deb#ccc#................#ccccccc#........", +".......eeaccc#..................#ccccccc#.......", +".......eeccc#....................#ccccccc#......", +".......eecc#......................#ccccccc#.....", +"......beeb#........................#ccccccc#....", +".....#bbbb..........................#ccccccc#...", +"....#ccc#............................#ccccccc#..", +"...#ccc#..............................#ccccccc#.", +"..#ccc#................................#ccccccc.", +"................................................", +"................................................", +"................................................", +"................................................" +}; -- cgit v1.2.3-65-gdbad