[arch-commits] Commit in icon-slicer (7 files)

Balló György bgyorgy at archlinux.org
Mon Feb 13 22:51:12 UTC 2017


    Date: Monday, February 13, 2017 @ 22:51:12
  Author: bgyorgy
Revision: 212186

archrelease: copy trunk to community-i686, community-x86_64

Added:
  icon-slicer/repos/
  icon-slicer/repos/community-i686/
  icon-slicer/repos/community-i686/PKGBUILD
    (from rev 212185, icon-slicer/trunk/PKGBUILD)
  icon-slicer/repos/community-i686/hotspotfix.patch
    (from rev 212185, icon-slicer/trunk/hotspotfix.patch)
  icon-slicer/repos/community-x86_64/
  icon-slicer/repos/community-x86_64/PKGBUILD
    (from rev 212185, icon-slicer/trunk/PKGBUILD)
  icon-slicer/repos/community-x86_64/hotspotfix.patch
    (from rev 212185, icon-slicer/trunk/hotspotfix.patch)

-----------------------------------+
 community-i686/PKGBUILD           |   35 +++++++++++++++++++++++++++++++++++
 community-i686/hotspotfix.patch   |   25 +++++++++++++++++++++++++
 community-x86_64/PKGBUILD         |   35 +++++++++++++++++++++++++++++++++++
 community-x86_64/hotspotfix.patch |   25 +++++++++++++++++++++++++
 4 files changed, 120 insertions(+)

Copied: icon-slicer/repos/community-i686/PKGBUILD (from rev 212185, icon-slicer/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD	                        (rev 0)
+++ repos/community-i686/PKGBUILD	2017-02-13 22:51:12 UTC (rev 212186)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=icon-slicer
+pkgver=0.3
+pkgrel=1
+pkgdesc="Utility for generating icon themes and libXcursor cursor themes"
+arch=('i686' 'x86_64')
+url="https://www.freedesktop.org/wiki/Software/icon-slicer/"
+license=('MIT')
+depends=('gdk-pixbuf2' 'popt' 'xorg-xcursorgen')
+source=(https://freedesktop.org/software/icon-slicer/releases/$pkgname-$pkgver.tar.gz
+        hotspotfix.patch)
+sha256sums=('05f0216dd0c25a17859de66357f64da5033375b6fbf5f31ca54867311160b64d'
+            '7000ab887b247f24d22ba225934028b1f5b04c1fb8ceac04d01e925b7a602dd0')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../hotspotfix.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  # License
+  install -dm755 "$pkgdir/usr/share/licenses/$pkgname"
+  sed '/License/,$!d' README >"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Copied: icon-slicer/repos/community-i686/hotspotfix.patch (from rev 212185, icon-slicer/trunk/hotspotfix.patch)
===================================================================
--- repos/community-i686/hotspotfix.patch	                        (rev 0)
+++ repos/community-i686/hotspotfix.patch	2017-02-13 22:51:12 UTC (rev 212186)
@@ -0,0 +1,25 @@
+Description: Fix hotspot y coordinate
+Author: Tim Swast <tswast at gmail.com>
+
+--- a/src/main.c
++++ b/src/main.c
+@@ -103,7 +103,7 @@
+   if (n_channels == 3)
+     {
+       out->x = start_x;
+-      out->y = start_x;
++      out->y = start_y;
+       out->width = source->gridsize;
+       out->height = source->gridsize;
+       
+@@ -137,8 +137,8 @@
+ 		    {
+ 		      min_x = start_x + i;
+ 		      max_x = start_x + i + 1;
+-		      min_y = start_y + i;
+-		      max_y = start_y + i + 1;
++		      min_y = start_y + j;
++		      max_y = start_y + j + 1;
+ 
+ 		      found = TRUE;
+ 		    }

Copied: icon-slicer/repos/community-x86_64/PKGBUILD (from rev 212185, icon-slicer/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2017-02-13 22:51:12 UTC (rev 212186)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=icon-slicer
+pkgver=0.3
+pkgrel=1
+pkgdesc="Utility for generating icon themes and libXcursor cursor themes"
+arch=('i686' 'x86_64')
+url="https://www.freedesktop.org/wiki/Software/icon-slicer/"
+license=('MIT')
+depends=('gdk-pixbuf2' 'popt' 'xorg-xcursorgen')
+source=(https://freedesktop.org/software/icon-slicer/releases/$pkgname-$pkgver.tar.gz
+        hotspotfix.patch)
+sha256sums=('05f0216dd0c25a17859de66357f64da5033375b6fbf5f31ca54867311160b64d'
+            '7000ab887b247f24d22ba225934028b1f5b04c1fb8ceac04d01e925b7a602dd0')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../hotspotfix.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  # License
+  install -dm755 "$pkgdir/usr/share/licenses/$pkgname"
+  sed '/License/,$!d' README >"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Copied: icon-slicer/repos/community-x86_64/hotspotfix.patch (from rev 212185, icon-slicer/trunk/hotspotfix.patch)
===================================================================
--- repos/community-x86_64/hotspotfix.patch	                        (rev 0)
+++ repos/community-x86_64/hotspotfix.patch	2017-02-13 22:51:12 UTC (rev 212186)
@@ -0,0 +1,25 @@
+Description: Fix hotspot y coordinate
+Author: Tim Swast <tswast at gmail.com>
+
+--- a/src/main.c
++++ b/src/main.c
+@@ -103,7 +103,7 @@
+   if (n_channels == 3)
+     {
+       out->x = start_x;
+-      out->y = start_x;
++      out->y = start_y;
+       out->width = source->gridsize;
+       out->height = source->gridsize;
+       
+@@ -137,8 +137,8 @@
+ 		    {
+ 		      min_x = start_x + i;
+ 		      max_x = start_x + i + 1;
+-		      min_y = start_y + i;
+-		      max_y = start_y + i + 1;
++		      min_y = start_y + j;
++		      max_y = start_y + j + 1;
+ 
+ 		      found = TRUE;
+ 		    }



More information about the arch-commits mailing list