summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO21
-rw-r--r--0001-Use-non-legacy-icon-names.patch47
-rw-r--r--PKGBUILD46
3 files changed, 114 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..816d63647d3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = xfce4-appfinder-gtk2
+ pkgdesc = An application finder for Xfce (GTK2 version)
+ pkgver = 4.12.0
+ pkgrel = 1
+ url = https://www.xfce.org/
+ arch = x86_64
+ groups = xfce4-gtk2
+ license = GPL2
+ makedepends = intltool
+ depends = libxfce4ui-gtk2
+ depends = garcon
+ depends = hicolor-icon-theme
+ provides = xfce4-appfinder
+ conflicts = xfce4-appfinder
+ source = https://archive.xfce.org/src/xfce/xfce4-appfinder/4.12/xfce4-appfinder-4.12.0.tar.bz2
+ source = 0001-Use-non-legacy-icon-names.patch
+ sha256sums = 2ad4a58019a76a6b64a816050db25f96854917c2f2e89d6a9df6c18e6c84c567
+ sha256sums = b829103bf33d6f1ec71e1448e469b1b1df3313f887a27b7479a7cbc67e06643f
+
+pkgname = xfce4-appfinder-gtk2
+
diff --git a/0001-Use-non-legacy-icon-names.patch b/0001-Use-non-legacy-icon-names.patch
new file mode 100644
index 00000000000..afd74fe670f
--- /dev/null
+++ b/0001-Use-non-legacy-icon-names.patch
@@ -0,0 +1,47 @@
+From 65e9020cb0d507a58e71eb31751d3eca0eb0cd59 Mon Sep 17 00:00:00 2001
+From: Evangelos Foutras <evangelos@foutrelis.com>
+Date: Thu, 8 Oct 2015 16:50:26 +0300
+Subject: [PATCH] Use non-legacy icon names
+
+gtk-find and gtk-execute are legacy icon names found in the GNOME icon
+theme, but they are not part of the Adwaita icon theme.
+
+In the GNOME icon theme, they map to edit-find and system-run via
+symlinks created by icon-naming-utils. Adwaita doesn't ship these
+symlinks. [1]
+
+[1] https://bugzilla.gnome.org/show_bug.cgi?id=729998
+---
+ data/xfce4-appfinder.desktop.in | 2 +-
+ data/xfce4-run.desktop.in | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/data/xfce4-appfinder.desktop.in b/data/xfce4-appfinder.desktop.in
+index c4bd6ca..dc34d21 100644
+--- a/data/xfce4-appfinder.desktop.in
++++ b/data/xfce4-appfinder.desktop.in
+@@ -1,7 +1,7 @@
+ [Desktop Entry]
+ Version=1.0
+ Exec=xfce4-appfinder
+-Icon=gtk-find
++Icon=edit-find
+ StartupNotify=true
+ Terminal=false
+ Type=Application
+diff --git a/data/xfce4-run.desktop.in b/data/xfce4-run.desktop.in
+index 9611cd5..a888753 100644
+--- a/data/xfce4-run.desktop.in
++++ b/data/xfce4-run.desktop.in
+@@ -2,7 +2,7 @@
+ Version=1.0
+ Type=Application
+ Exec=xfce4-appfinder --collapsed
+-Icon=gtk-execute
++Icon=system-run
+ StartupNotify=true
+ Terminal=false
+ Categories=Utility;X-XFCE;X-Xfce-Toplevel;
+--
+2.6.1
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..87e082fd5c5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: Newb I the Newbd <czbd hostedon o2 halfacolon pl>
+# Contributor: Evangelos Foutras <evangelos@foutrelis.com>
+# Contributor: AndyRTR <andyrtr@archlinux.org>
+# Contributor: tobias <tobias funnychar archlinux.org>
+
+_pkgbase=xfce4-appfinder
+pkgname=(${_pkgbase}-gtk2)
+pkgver=4.12.0
+pkgrel=1
+pkgdesc="An application finder for Xfce (GTK2 version)"
+arch=('x86_64')
+url="https://www.xfce.org/"
+license=('GPL2')
+groups=('xfce4-gtk2')
+conflicts=("${_pkgbase}")
+provides=("${_pkgbase}")
+depends=('libxfce4ui-gtk2' 'garcon' 'hicolor-icon-theme')
+makedepends=('intltool')
+source=(https://archive.xfce.org/src/xfce/${_pkgbase}/${pkgver%.*}/${_pkgbase}-${pkgver}.tar.bz2
+ 0001-Use-non-legacy-icon-names.patch)
+sha256sums=('2ad4a58019a76a6b64a816050db25f96854917c2f2e89d6a9df6c18e6c84c567'
+ 'b829103bf33d6f1ec71e1448e469b1b1df3313f887a27b7479a7cbc67e06643f')
+
+prepare() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+
+ patch -Np1 -i ../0001-Use-non-legacy-icon-names.patch
+}
+
+build() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib \
+ --localstatedir=/var \
+ --disable-static \
+ --disable-debug
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}