summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2019-02-26 00:14:57 +0100
committerAndreas Grapentin <andreas@grapentin.org>2019-02-26 00:16:31 +0100
commitbcac851dee75f285de267589e570bc5807c5b2b5 (patch)
tree183dad39850dca06db23dedf8f257e1e27d6bfab
parentd617e35fdd51feaea6c95556e03b56aca756dd48 (diff)
pcr/geis: rebuilt
-rw-r--r--pcr/geis/PKGBUILD4
-rw-r--r--pcr/tango-icon-theme/PKGBUILD72
-rw-r--r--pcr/tango-icon-theme/rsvg.patch34
3 files changed, 108 insertions, 2 deletions
diff --git a/pcr/geis/PKGBUILD b/pcr/geis/PKGBUILD
index 18d06141f..e757906ca 100644
--- a/pcr/geis/PKGBUILD
+++ b/pcr/geis/PKGBUILD
@@ -6,13 +6,13 @@
pkgname=geis
pkgver=2.2.17
-pkgrel=2
+pkgrel=3
pkgdesc="Implementation of the GEIS (Gesture Engine Interface and Support) interface."
arch=('i686' 'x86_64' 'armv7h')
url="https://launchpad.net/geis"
license=('GPL' 'LGPL')
depends=('grail' 'dbus' 'python-gobject')
-makedepends=('xorg-server-devel')
+makedepends=('xorg-server-devel' 'pixman')
provides=('utouch-geis')
conflicts=('utouch-geis')
replaces=('utouch-geis')
diff --git a/pcr/tango-icon-theme/PKGBUILD b/pcr/tango-icon-theme/PKGBUILD
new file mode 100644
index 000000000..2a3ad0717
--- /dev/null
+++ b/pcr/tango-icon-theme/PKGBUILD
@@ -0,0 +1,72 @@
+# Maintainer (Arch): Steffen Weber <-boenki-gmx-de->
+# Contributor (Arch): Thayer Williams <thayer@archlinux.org>
+# Contributor (Arch): James Rayner <james@archlinux.org>
+# Maintainer: André Silva <emulatorman@hyperbola.info>
+
+pkgname=tango-icon-theme
+pkgver=0.8.90
+pkgrel=9.parabola1
+pkgdesc="Icon theme that follows the Tango visual guidelines (Parabola rebranded)"
+arch=('any')
+url="http://tango.freedesktop.org"
+license=('custom:public domain')
+makedepends=('imagemagick' 'icon-naming-utils' 'intltool' 'librsvg')
+options=(!strip !zipman)
+source=(${url}/releases/${pkgname}-${pkgver}.tar.bz2
+ symbol.svg::https://projects.parabola.nu/pac.git/plain/src/img/parabola_officialIcon-default_r2048px2_noa_nof_nos_svg1d1.svg
+ rsvg.patch)
+md5sums=('b7b9b16480afb781a4c13f8bceb8688b'
+ 'e603ce69dc3daefba4feb71cd873a606'
+ '46f86ad43d793cd5389a7bd9c58a57ae')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ patch -p1 < "${srcdir}/rsvg.patch"
+ autoreconf -fi
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr --enable-png-creation
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+
+ # install licenses
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+ cd "${pkgdir}/usr/share/icons/Tango"
+
+ # function using imagemagick to combine symbols with default folder-icon
+ # used below to create xdg-folders
+ comp() {
+ composite -gravity center \( ${size}x${size}/"$1".png -resize 50% \) \
+ ${size}x${size}/places/folder.png ${size}x${size}/places/folder-"$2".png
+ }
+
+ for size in 16 22 24 32 48 64 72 96 128; do
+ # replace default logo with Parabola's
+ rsvg-convert -w ${size} -h ${size} "${srcdir}/symbol.svg" \
+ -o "${size}x${size}/places/start-here.png"
+ # create icon for category "Education"
+ ln -s "../status/dialog-information.png" \
+ "${size}x${size}/categories/applications-science.png"
+
+ # create xdg-folders
+ comp apps/internet-web-browser publicshare
+ comp actions/go-down download
+ comp actions/document-properties templates
+ comp mimetypes/audio-x-generic music
+ comp mimetypes/image-x-generic pictures
+ comp mimetypes/video-x-generic videos
+ comp mimetypes/x-office-document documents
+ done
+
+ install -Dm644 "${srcdir}/symbol.svg" \
+ "scalable/places/start-here.svg"
+ ln -s "../status/dialog-information.svg" \
+ "scalable/categories/applications-science.svg"
+}
diff --git a/pcr/tango-icon-theme/rsvg.patch b/pcr/tango-icon-theme/rsvg.patch
new file mode 100644
index 000000000..6b71c38cb
--- /dev/null
+++ b/pcr/tango-icon-theme/rsvg.patch
@@ -0,0 +1,34 @@
+Index: tango-icon-theme-0.8.90/configure.ac
+===================================================================
+--- tango-icon-theme-0.8.90.orig/configure.ac
++++ tango-icon-theme-0.8.90/configure.ac
+@@ -82,7 +82,7 @@ if test "x$enable_large_bitmaps" = "xyes
+ PKG_CHECK_EXISTS([librsvg-2.0 >= 2.12.3],
+ [enable_large_bitmaps=yes], [enable_large_bitmaps=no])
+ if test "x$enable_large_bitmaps" = "xyes"; then
+- svgconvert_prog="rsvg"
++ svgconvert_prog="rsvg-convert"
+ else
+ svgconvert_prog="ksvgtopng"
+ fi
+Index: tango-icon-theme-0.8.90/svg2png.sh.in
+===================================================================
+--- tango-icon-theme-0.8.90.orig/svg2png.sh.in
++++ tango-icon-theme-0.8.90/svg2png.sh.in
+@@ -9,12 +9,14 @@ fi
+
+ ICONFILE=`basename ${3}`
+ ICONNAME=`echo ${ICONFILE} | sed -e "s/.svg//"`
+-if test `basename $SVGCONVERT` = "rsvg"; then
++if test `basename $SVGCONVERT` = "rsvg-convert"; then
+ OPTIONS="-w ${1} -h ${1}"
++ OUTPUT="-o"
+ else
+ OPTIONS="${1} ${1}"
++ OUTPUT=""
+ fi
+
+ echo "${SVGCONVERT} ${OPTIONS} ${3} ${2}/${ICONNAME}.png"
+-${SVGCONVERT} ${OPTIONS} ${3} ${2}/${ICONNAME}.png
++${SVGCONVERT} ${OPTIONS} ${3} ${OUTPUT} ${2}/${ICONNAME}.png
+