[arch-commits] Commit in planner/trunk (3 files)

Balló György bgyorgy at archlinux.org
Sat Dec 29 20:40:56 UTC 2018


    Date: Saturday, December 29, 2018 @ 20:40:55
  Author: bgyorgy
Revision: 418917

upgpkg: planner 0.14.6-6

Install icons to datadir/icons/hicolor

Added:
  planner/trunk/42e0d6b3f60b06bbe55b3ebad7ffc6edbf16e7e0.patch
  planner/trunk/8dd069a1e54c5b47e107f6df0db6ceb03e50c72d.patch
Modified:
  planner/trunk/PKGBUILD

------------------------------------------------+
 42e0d6b3f60b06bbe55b3ebad7ffc6edbf16e7e0.patch |   29 ++
 8dd069a1e54c5b47e107f6df0db6ceb03e50c72d.patch |  296 +++++++++++++++++++++++
 PKGBUILD                                       |   14 -
 3 files changed, 336 insertions(+), 3 deletions(-)

Added: 42e0d6b3f60b06bbe55b3ebad7ffc6edbf16e7e0.patch
===================================================================
--- 42e0d6b3f60b06bbe55b3ebad7ffc6edbf16e7e0.patch	                        (rev 0)
+++ 42e0d6b3f60b06bbe55b3ebad7ffc6edbf16e7e0.patch	2018-12-29 20:40:55 UTC (rev 418917)
@@ -0,0 +1,29 @@
+From 42e0d6b3f60b06bbe55b3ebad7ffc6edbf16e7e0 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta at iki.fi>
+Date: Tue, 5 Jun 2012 21:36:41 +0300
+Subject: [PATCH] Install PNG icon to datadir/icons/hicolor per the XDG icon
+ spec.
+
+http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html#install_icons
+
+https://bugzilla.gnome.org/show_bug.cgi?id=677297
+---
+ data/images/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/data/images/Makefile.am b/data/images/Makefile.am
+index 671d7a0..1bbdd6e 100644
+--- a/data/images/Makefile.am
++++ b/data/images/Makefile.am
+@@ -21,7 +21,7 @@ images_DATA = 				\
+ mimeiconsdir = $(datadir)/icons/hicolor/48x48/mimetypes
+ mimeicons_DATA = gnome-mime-application-x-planner.png
+ 
+-pixmapdir = $(datadir)/pixmaps
++pixmapdir = $(datadir)/icons/hicolor/48x48/apps
+ pixmap_DATA = gnome-planner.png
+ 
+ svgiconsdir = $(datadir)/icons/hicolor/scalable/apps
+-- 
+2.18.1
+

Added: 8dd069a1e54c5b47e107f6df0db6ceb03e50c72d.patch
===================================================================
--- 8dd069a1e54c5b47e107f6df0db6ceb03e50c72d.patch	                        (rev 0)
+++ 8dd069a1e54c5b47e107f6df0db6ceb03e50c72d.patch	2018-12-29 20:40:55 UTC (rev 418917)
@@ -0,0 +1,296 @@
+From 8dd069a1e54c5b47e107f6df0db6ceb03e50c72d Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta at iki.fi>
+Date: Tue, 5 Jun 2012 21:27:04 +0300
+Subject: [PATCH] Add SVG icon by Frederik Elwert.
+
+https://mail.gnome.org/archives/planner-dev-list/2012-March/msg00000.html
+
+https://bugzilla.gnome.org/show_bug.cgi?id=677297
+---
+ data/images/Makefile.am       |   6 +-
+ data/images/gnome-planner.svg | 256 ++++++++++++++++++++++++++++++++++
+ 2 files changed, 261 insertions(+), 1 deletion(-)
+ create mode 100644 data/images/gnome-planner.svg
+
+diff --git a/data/images/Makefile.am b/data/images/Makefile.am
+index efaed99..671d7a0 100644
+--- a/data/images/Makefile.am
++++ b/data/images/Makefile.am
+@@ -24,7 +24,11 @@ mimeicons_DATA = gnome-mime-application-x-planner.png
+ pixmapdir = $(datadir)/pixmaps
+ pixmap_DATA = gnome-planner.png
+ 
++svgiconsdir = $(datadir)/icons/hicolor/scalable/apps
++svgicons_DATA = gnome-planner.svg
++
+ EXTRA_DIST = 				\
+ 	$(images_DATA)			\
+-	$(mimeicons_DATA)
++	$(mimeicons_DATA)		\
++	$(svgicons_DATA)
+ 
+diff --git a/data/images/gnome-planner.svg b/data/images/gnome-planner.svg
+new file mode 100644
+index 0000000..164d1ed
+--- /dev/null
++++ b/data/images/gnome-planner.svg
+@@ -0,0 +1,256 @@
++<?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="48"
++   height="48"
++   id="svg2"
++   version="1.1"
++   inkscape:version="0.48.3.1 r9886"
++   sodipodi:docname="gnome-planner.svg">
++  <defs
++     id="defs4">
++    <linearGradient
++       id="linearGradient3807">
++      <stop
++         style="stop-color:#c3d6eb;stop-opacity:1;"
++         offset="0"
++         id="stop3809" />
++      <stop
++         style="stop-color:#a2c0df;stop-opacity:1;"
++         offset="1"
++         id="stop3811" />
++    </linearGradient>
++    <linearGradient
++       id="linearGradient3799">
++      <stop
++         style="stop-color:#95b7db;stop-opacity:1;"
++         offset="0"
++         id="stop3801" />
++      <stop
++         style="stop-color:#729fcf;stop-opacity:1;"
++         offset="1"
++         id="stop3803" />
++    </linearGradient>
++    <linearGradient
++       inkscape:collect="always"
++       xlink:href="#linearGradient3799"
++       id="linearGradient3805"
++       x1="12.682274"
++       y1="13.244147"
++       x2="13"
++       y2="18"
++       gradientUnits="userSpaceOnUse" />
++    <linearGradient
++       inkscape:collect="always"
++       xlink:href="#linearGradient3807"
++       id="linearGradient3813"
++       x1="12.040133"
++       y1="13.725753"
++       x2="13"
++       y2="17"
++       gradientUnits="userSpaceOnUse" />
++    <linearGradient
++       inkscape:collect="always"
++       xlink:href="#linearGradient3799"
++       id="linearGradient3825"
++       gradientUnits="userSpaceOnUse"
++       x1="12.682274"
++       y1="13.244147"
++       x2="13"
++       y2="18" />
++    <linearGradient
++       inkscape:collect="always"
++       xlink:href="#linearGradient3807"
++       id="linearGradient3827"
++       gradientUnits="userSpaceOnUse"
++       x1="12.040133"
++       y1="13.725753"
++       x2="13"
++       y2="17" />
++    <linearGradient
++       inkscape:collect="always"
++       xlink:href="#linearGradient3799"
++       id="linearGradient3835"
++       gradientUnits="userSpaceOnUse"
++       x1="12.682274"
++       y1="13.244147"
++       x2="13"
++       y2="18" />
++    <linearGradient
++       inkscape:collect="always"
++       xlink:href="#linearGradient3807"
++       id="linearGradient3837"
++       gradientUnits="userSpaceOnUse"
++       x1="12.040133"
++       y1="13.725753"
++       x2="13"
++       y2="17" />
++    <filter
++       id="filter3877"
++       style="color-interpolation-filters:sRGB;"
++       inkscape:label="Drop Shadow"
++       y="-1"
++       height="3"
++       width="1.3500000000000001">
++      <feFlood
++         id="feFlood3879"
++         flood-opacity="0.5"
++         flood-color="rgb(0,0,0)"
++         result="flood" />
++      <feComposite
++         id="feComposite3881"
++         in2="SourceGraphic"
++         in="flood"
++         operator="in"
++         result="composite1" />
++      <feGaussianBlur
++         id="feGaussianBlur3883"
++         in="composite"
++         stdDeviation="2"
++         result="blur" />
++      <feOffset
++         id="feOffset3885"
++         dx="2"
++         dy="3"
++         result="offset" />
++      <feComposite
++         id="feComposite3887"
++         in2="offset"
++         in="SourceGraphic"
++         operator="over"
++         result="composite2" />
++    </filter>
++  </defs>
++  <sodipodi:namedview
++     id="base"
++     pagecolor="#ffffff"
++     bordercolor="#666666"
++     borderopacity="1.0"
++     inkscape:pageopacity="0.0"
++     inkscape:pageshadow="2"
++     inkscape:zoom="11.583333"
++     inkscape:cx="24"
++     inkscape:cy="24"
++     inkscape:document-units="px"
++     inkscape:current-layer="layer2"
++     showgrid="true"
++     inkscape:window-width="1301"
++     inkscape:window-height="744"
++     inkscape:window-x="65"
++     inkscape:window-y="24"
++     inkscape:window-maximized="1"
++     inkscape:snap-nodes="true"
++     inkscape:snap-bbox="false">
++    <inkscape:grid
++       type="xygrid"
++       id="grid3016"
++       empspacing="5"
++       visible="true"
++       enabled="true"
++       snapvisiblegridlinesonly="true" />
++  </sodipodi:namedview>
++  <metadata
++     id="metadata7">
++    <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
++     inkscape:label="Bitmap"
++     inkscape:groupmode="layer"
++     id="layer1"
++     transform="translate(0,-1004.3622)"
++     sodipodi:insensitive="true"
++     style="display:none">
++    <image
++       y="1005.3622"
++       x="0"
++       id="image2993"
++       xlink:href="file:///home/frederik/Arbeitsfl%C3%A4che/gnome-planner.png"
++       height="45"
++       width="47" />
++  </g>
++  <g
++     inkscape:groupmode="layer"
++     id="layer2"
++     inkscape:label="Vector"
++     style="display:inline">
++    <g
++       id="g3815"
++       style="filter:url(#filter3877)">
++      <rect
++         y="12.5"
++         x="3.5"
++         height="6"
++         width="25"
++         id="rect3018"
++         style="fill:url(#linearGradient3805);fill-opacity:1;stroke:#182f4e;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
++      <rect
++         style="fill:none;stroke:url(#linearGradient3813);stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
++         id="rect3789"
++         width="23"
++         height="4"
++         x="4.5"
++         y="13.5" />
++    </g>
++    <g
++       id="g3819"
++       transform="translate(18,10)"
++       style="filter:url(#filter3877)">
++      <rect
++         style="fill:url(#linearGradient3825);fill-opacity:1;stroke:#182f4e;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
++         id="rect3821"
++         width="18"
++         height="6"
++         x="3.5"
++         y="12.5" />
++      <rect
++         y="13.5"
++         x="4.5"
++         height="4"
++         width="16"
++         id="rect3823"
++         style="fill:none;stroke:url(#linearGradient3827);stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
++    </g>
++    <g
++       id="g3829"
++       transform="translate(7,20)"
++       style="filter:url(#filter3877)">
++      <rect
++         style="fill:url(#linearGradient3835);fill-opacity:1;stroke:#182f4e;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
++         id="rect3831"
++         width="14"
++         height="6"
++         x="3.5"
++         y="12.5" />
++      <rect
++         y="13.5"
++         x="4.5"
++         height="4"
++         width="12"
++         id="rect3833"
++         style="fill:none;stroke:url(#linearGradient3837);stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
++    </g>
++    <path
++       style="fill:#000000;fill-opacity:1;stroke:none;filter:url(#filter3877)"
++       d="M 3,9 3,4 40,4 40,9 39,9 C 39,7.7981496 38.20185,6 37,6 L 6,6 C 4.7981496,6 4,7.7981496 4,9 z"
++       id="path3839"
++       inkscape:connector-curvature="0"
++       sodipodi:nodetypes="ccccccccc" />
++  </g>
++</svg>
+-- 
+2.18.1
+

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-29 20:32:23 UTC (rev 418916)
+++ PKGBUILD	2018-12-29 20:40:55 UTC (rev 418917)
@@ -4,7 +4,7 @@
 
 pkgname=planner
 pkgver=0.14.6
-pkgrel=5
+pkgrel=6
 pkgdesc='Project management application for GNOME'
 arch=('x86_64')
 license=('GPL')
@@ -17,13 +17,17 @@
         05ba23be296085313abd8d7d5075d962084f5d38.patch
         0cc65e2f420af45f78d190ac2af64810a148bb31.patch
         cd2b658e83d47e8f49d1bbaf54be6433a21d3758.patch
-        fd8da8994f7006b9fcefc90d2fe5c2b484c7871e.patch)
+        fd8da8994f7006b9fcefc90d2fe5c2b484c7871e.patch
+        8dd069a1e54c5b47e107f6df0db6ceb03e50c72d.patch
+        42e0d6b3f60b06bbe55b3ebad7ffc6edbf16e7e0.patch)
 sha256sums=('130d29e6d6b8c1994017deba2acca05a4bf83ba1e169635ec8c5c7878abe0696'
             'bc4455b318bb26f44fe50a8e07292b7654c795ff2a1629a788ea749f6c8bac81'
             '88a34bb93bca4ae5865f6c70d7d73f3a0009e5137ba2346a8446c6e206e51b20'
             '0cde21948f01baaa31a9a5f8af76444c7151ad39a0bc45d8e04de8b07837f0ad'
             '1644550a9be35253fe0a353fc004bd8576de3b85a6b21b92cbb0a87c03f37894'
-            '4275689c2d4493ddcda3a40309a6bbdcdf6323bed80ca2e011138cdcd88da852')
+            '4275689c2d4493ddcda3a40309a6bbdcdf6323bed80ca2e011138cdcd88da852'
+            '629df2552826dc93446e3a7048dfd405663229f8882fa36537edeca012ba03ee'
+            '441ae8cb636307f76e3907d755b1c41df6f16c84f04d5187f1bb0a9fda24c094')
 
 prepare() {
   cd $pkgname-$pkgver
@@ -36,6 +40,10 @@
   patch -Np1 -i ../cd2b658e83d47e8f49d1bbaf54be6433a21d3758.patch
   patch -Np1 -i ../fd8da8994f7006b9fcefc90d2fe5c2b484c7871e.patch
 
+  # Install icons to datadir/icons/hicolor
+  patch -Np1 -i ../8dd069a1e54c5b47e107f6df0db6ceb03e50c72d.patch
+  patch -Np1 -i ../42e0d6b3f60b06bbe55b3ebad7ffc6edbf16e7e0.patch
+
   autoreconf -fi
 }
 



More information about the arch-commits mailing list