Date: Friday, November 9, 2018 @ 22:47:19 Author: foutrelis Revision: 405083
archrelease: copy trunk to community-staging-x86_64 Added: icon-slicer/repos/community-staging-x86_64/ icon-slicer/repos/community-staging-x86_64/PKGBUILD (from rev 405081, icon-slicer/trunk/PKGBUILD) icon-slicer/repos/community-staging-x86_64/hotspotfix.patch (from rev 405082, icon-slicer/trunk/hotspotfix.patch) ------------------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ hotspotfix.patch | 25 +++++++++++++++++++++++++ 2 files changed, 59 insertions(+) Copied: icon-slicer/repos/community-staging-x86_64/PKGBUILD (from rev 405081, icon-slicer/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-11-09 22:47:19 UTC (rev 405083) @@ -0,0 +1,34 @@ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> + +pkgname=icon-slicer +pkgver=0.3 +pkgrel=2 +pkgdesc="Utility for generating icon themes and libXcursor cursor themes" +arch=('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-staging-x86_64/hotspotfix.patch (from rev 405082, icon-slicer/trunk/hotspotfix.patch) =================================================================== --- community-staging-x86_64/hotspotfix.patch (rev 0) +++ community-staging-x86_64/hotspotfix.patch 2018-11-09 22:47:19 UTC (rev 405083) @@ -0,0 +1,25 @@ +Description: Fix hotspot y coordinate +Author: Tim Swast <tsw...@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; + }