From 4b7b654c30eea7e2437d1ab6592751f455615f1a Mon Sep 17 00:00:00 2001 From: Luis Guzman <ark@switnet.org> Date: Wed, 8 Jan 2020 18:21:54 -0600 Subject: [PATCH] pdfshuffler customization for trisquel Change icon and category from Office to Graphics --- .../DATA/pdfshuffler/images/pdfshuffler.png | Bin 0 -> 2326 bytes .../DATA/pdfshuffler/images/pdfshuffler.svg | 257 ++++++++++++++++++ helpers/make-pdfshuffler | 33 +++ 3 files changed, 290 insertions(+) create mode 100644 helpers/DATA/pdfshuffler/images/pdfshuffler.png create mode 100644 helpers/DATA/pdfshuffler/images/pdfshuffler.svg create mode 100644 helpers/make-pdfshuffler diff --git a/helpers/DATA/pdfshuffler/images/pdfshuffler.png b/helpers/DATA/pdfshuffler/images/pdfshuffler.png new file mode 100644 index 0000000000000000000000000000000000000000..65e02d0ebed9c05bd74b6a1437b6a87293a31cf6 GIT binary patch literal 2326 zcmV+x3F-EUP)<h;3K|Lk000e1NJLTq001xm001xu1^@s6R|5Hm00006VoOIv0RI60 z0RN!9r;`8x010qNS#tmY0$%_C0$%~Xg(zA8000McNliru<N*g31S3BdiHQIJ2%||v zK~!ko-I-l%RAm~+fA2YGX8JvaPHFjAimqsaMFQxiCQ9^L#BkF!S=SUJCKz_r3t}|E zJ2YAKZh=U&CJPA&iW_f;-jwzN1q2M#N(B;1r78WQGt+jy&ilT5!E`!j&Y79hA)C1S zCMTJ5&U>Es`9I&!Gw?sYME*^0Z|`4bW@h$gGMPVWt*ylp(^{9j2hg`~V;?#M(WpP7 zufI-e#R}r_xHL`kre#_G*tv7(As2w&-rjAoSnS{H)~yqfNCY87#ZoB-MBli9`u1CN zCgY2aGz_M;Zzn!Cht`_AckgoT+BIEQSNG=~J9eA^$Vqu_Ztm}E*RB<9ZEc>CyI&31 z$B$!ocVj4ZPjYM4pofOQ<17VCXENMfwF<FyE0%SS&E?CNlTN3_?c2Bi1~>uOw%ryE zhbv;f6yqwHB=i3J$Zx*MJu{wu8dk4Hojd2E6;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#@YLZSvDwT6oQwWyT z)?yX|AOz;Rb&OxSL`^6Z0~&#-1%!aA3l}aNGz?=45NvL4#+)B?J@gR9%9T!Y85nSB z#_@i37PH_RhxE1PRxIXdP?~FMh=)SOyFc4z?BYd+uUtW{U;j^_3P=hd0EB_YUAuPu zY4hgIyG_$vW!!6~4S*$|eHI~|UNASq(9>OAlR6agY#OYI39J6ZiKWH-D<LJb^X3Xz zhQZQ6z%6vGF|&ONhM@yXmc+(Fp#y(Cb?RThG!UKFR}iQNYJuwPz0899J*-T2E|3Ni wz$_34(!yg_8k!#>@cUXSE7TNV^Z&B`13vHWk|%9pp#T5?07*qoM6N<$f)90KxBvhE literal 0 HcmV?d00001 diff --git a/helpers/DATA/pdfshuffler/images/pdfshuffler.svg b/helpers/DATA/pdfshuffler/images/pdfshuffler.svg new file mode 100644 index 00000000..609ea5d6 --- /dev/null +++ b/helpers/DATA/pdfshuffler/images/pdfshuffler.svg @@ -0,0 +1,257 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="300" + height="300" + id="svg5487" + sodipodi:version="0.32" + inkscape:version="0.92.4 (unknown)" + sodipodi:docname="xpdf.svg" + inkscape:export-filename="/home/andreas/project/application icons/48x48/adobe-reader.png" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90" + inkscape:output_extension="org.inkscape.output.svg.inkscape" + version="1.1"> + <defs + id="defs5489"> + <linearGradient + id="linearGradient3702"> + <stop + style="stop-color:black;stop-opacity:0;" + offset="0" + id="stop3704" /> + <stop + id="stop3710" + offset="0.5" + style="stop-color:black;stop-opacity:1;" /> + <stop + style="stop-color:black;stop-opacity:0;" + offset="1" + id="stop3706" /> + </linearGradient> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3702" + id="linearGradient2098" + gradientUnits="userSpaceOnUse" + x1="25.058096" + y1="47.027729" + x2="25.058096" + y2="39.999443" /> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient3688" + id="radialGradient2096" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(2.003784,0,0,1.4,-20.01187,-104.4)" + cx="4.9929786" + cy="43.5" + fx="4.9929786" + fy="43.5" + r="2.5" /> + <linearGradient + inkscape:collect="always" + id="linearGradient3688"> + <stop + style="stop-color:black;stop-opacity:1;" + offset="0" + id="stop3690" /> + <stop + style="stop-color:black;stop-opacity:0;" + offset="1" + id="stop3692" /> + </linearGradient> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient3688" + id="radialGradient2094" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(2.003784,0,0,1.4,27.98813,-17.4)" + cx="4.9929786" + cy="43.5" + fx="4.9929786" + fy="43.5" + r="2.5" /> + <linearGradient + inkscape:collect="always" + id="linearGradient6733"> + <stop + style="stop-color:white;stop-opacity:1" + offset="0" + id="stop6735" /> + <stop + style="stop-color:#e8e8e8;stop-opacity:1" + offset="1" + id="stop6737" /> + </linearGradient> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient6733" + id="radialGradient7142" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(16.974811,-5.0680091e-7,0,12.291459,-132.30835,-341.1101)" + cx="12.011247" + cy="13.194963" + fx="12.011247" + fy="13.194963" + r="19.99999" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="0.70710678" + inkscape:cx="-22.44197" + inkscape:cy="180.05207" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:grid-bbox="true" + inkscape:document-units="px" + inkscape:window-width="1364" + inkscape:window-height="699" + inkscape:window-x="0" + inkscape:window-y="0" + inkscape:window-maximized="0" /> + <metadata + id="metadata5492"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + id="layer1" + inkscape:label="Layer 1" + inkscape:groupmode="layer" + transform="translate(0,252)"> + <g + id="g2043" + inkscape:label="Shadow" + transform="matrix(7.499997,0,0,4.5454414,-28.000019,-167.63565)" + inkscape:export-filename="/home/ark/pdfshuffler.png" + inkscape:export-xdpi="15.414015" + inkscape:export-ydpi="15.414015"> + <g + style="display:inline" + id="g2036" + inkscape:label="Shadow"> + <g + id="g3712" + style="opacity:0.4" + transform="matrix(1.052632,0,0,1.285713,-1.263158,-13.42854)"> + <rect + y="40" + x="38" + height="7" + width="5" + id="rect2801" + style="opacity:1;fill:url(#radialGradient2094);fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + <rect + transform="scale(-1)" + y="-47" + x="-10" + height="7" + width="5" + id="rect3696" + style="opacity:1;fill:url(#radialGradient2096);fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + <rect + y="40" + x="10" + height="7.0000005" + width="28" + id="rect3700" + style="opacity:1;fill:url(#linearGradient2098);fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + </g> + </g> + </g> + <rect + style="opacity:1;fill:url(#radialGradient7142);fill-opacity:1;stroke:none;stroke-width:6.8181777;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + id="rect5505" + width="272.72717" + height="272.72717" + x="15.63645" + y="-240.36333" + rx="20.022413" + ry="20.022413" + inkscape:export-filename="/home/ark/pdfshuffler.png" + inkscape:export-xdpi="15.414015" + inkscape:export-ydpi="15.414015" /> + <path + style="fill:#ef2929;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:6.81817913px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 15.63645,-145.60799 c 0,0 54.545433,7.51735 170.45448,-94.75533 -1.43627,-0.29081 68.18179,0 68.18179,0 0,0 -17.40713,58.02374 -8.8844,122.79644 8.52272,64.772706 42.97529,129.688664 42.97529,129.688664 -0.1695,13.207024 -8.21119,20.451735 -20.33278,20.405582 L 138.36367,32.405614 c -1.32901,-131.131706 43.48756,-230.623144 57.99957,-259.132584 0,0 -51.98779,51.78004 -95.46494,79.05276 -43.477151,27.27272 -84.642332,30.03811 -84.642332,30.03811 z" + id="path5507" + sodipodi:nodetypes="ccczcccczcc" + inkscape:connector-curvature="0" + inkscape:export-filename="/home/ark/pdfshuffler.png" + inkscape:export-xdpi="15.414015" + inkscape:export-ydpi="15.414015" /> + <path + style="fill:#ef2929;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:6.81817913px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 15.224597,-51.795679 c 0,0 43.905802,60.3513914 43.905802,84.180409 l 31.511244,0.08838 c 0,0 -28.586191,-89.503559 -74.385675,-122.836491 z" + id="path6711" + sodipodi:nodetypes="ccccc" + inkscape:connector-curvature="0" + inkscape:export-filename="/home/ark/pdfshuffler.png" + inkscape:export-xdpi="15.414015" + inkscape:export-ydpi="15.414015" /> + <rect + style="opacity:0.5;fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:6.8181777;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + id="rect6741" + width="252.27252" + height="252.27271" + x="25.863707" + y="-230.13612" + rx="9.3081303" + ry="9.3081303" + inkscape:export-filename="/home/ark/pdfshuffler.png" + inkscape:export-xdpi="15.414015" + inkscape:export-ydpi="15.414015" /> + <path + style="opacity:0.15;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:6.81817913px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 22.454629,-97.181564 c 0,0 204.545371,30.681806 265.908981,-34.090896 v -88.75808 c 0,-10.91788 -4.86928,-20.21103 -20.33279,-20.21103 0,0 -143.3035,94.35873 -245.576191,84.61847 z" + id="path6713" + sodipodi:nodetypes="cccccc" + inkscape:connector-curvature="0" + inkscape:export-filename="/home/ark/pdfshuffler.png" + inkscape:export-xdpi="15.414015" + inkscape:export-ydpi="15.414015" /> + <path + style="opacity:0.15;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:6.81817913px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 288.36361,-69.908847 c -24.74733,21.969305 -55.12276,65.3731032 -76.4264,102.494693 l -26.66753,-0.181452 c 24.88463,-52.193107 65.12325,-103.461143 103.09393,-139.813224 z" + id="path6715" + sodipodi:nodetypes="ccccc" + inkscape:connector-curvature="0" + inkscape:export-filename="/home/ark/pdfshuffler.png" + inkscape:export-xdpi="15.414015" + inkscape:export-ydpi="15.414015" /> + <rect + style="opacity:0.3;fill:none;fill-opacity:1;stroke:#000000;stroke-width:6.8181777;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + id="rect8032" + width="265.90891" + height="265.909" + x="19.045544" + y="-236.95422" + rx="17.10033" + ry="17.100338" + inkscape:export-filename="/home/ark/pdfshuffler.png" + inkscape:export-xdpi="15.414015" + inkscape:export-ydpi="15.414015" /> + </g> +</svg> diff --git a/helpers/make-pdfshuffler b/helpers/make-pdfshuffler new file mode 100644 index 00000000..63630d9e --- /dev/null +++ b/helpers/make-pdfshuffler @@ -0,0 +1,33 @@ +#!/bin/sh +# +# Copyright (C) 2020 Luis Guzmán <ark@switnet.org> +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# + +VERSION=1 +QUILT=skip +. ./config + +export QUILT_PATCHES=debian/patches +quilt push -a + +sed -i "s|Office;|Graphics;|" data/pdfshuffler.desktop +cp $DATA/images/* data/ + +changelog "Small customization for etiona" + +compile + -- GitLab