summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD40
-rw-r--r--spacing.patch11
3 files changed, 75 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..85a5f24e982
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = xfce4-panel-sanetrayspacing
+ pkgdesc = Panel for the Xfce desktop environment with sane tray spacing.
+ pkgver = 4.12.1
+ pkgrel = 1
+ url = http://www.xfce.org/
+ arch = i686
+ arch = x86_64
+ groups = xfce4
+ license = GPL2
+ makedepends = intltool
+ makedepends = gtk-doc
+ depends = exo
+ depends = garcon
+ depends = libxfce4ui
+ depends = libwnck
+ depends = hicolor-icon-theme
+ depends = desktop-file-utils
+ provides = xfce4-panel=4.12.1
+ conflicts = xfce4-panel
+ source = http://archive.xfce.org/src/xfce/xfce4-panel/4.12/xfce4-panel-4.12.1.tar.bz2
+ sha256sums = 93d58b80cca9c9eb58adb281bc75404df7cf6cae89f7f98bb9f38690009aa2e8
+
+pkgname = xfce4-panel-sanetrayspacing
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..85bba11da95
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Jordan Maris <evangelos@foutrelis.com>
+
+pkgname=xfce4-panel-sanetrayspacing
+pkgver=4.12.1
+pkgrel=1
+pkgdesc="Panel for the Xfce desktop environment with sane tray spacing."
+arch=('i686' 'x86_64')
+url="http://www.xfce.org/"
+license=('GPL2')
+groups=('xfce4')
+depends=('exo' 'garcon' 'libxfce4ui' 'libwnck' 'hicolor-icon-theme'
+ 'desktop-file-utils')
+provides=("xfce4-panel=${pkgver%%.r*}")
+conflicts=('xfce4-panel')
+makedepends=('intltool' 'gtk-doc')
+source=(http://archive.xfce.org/src/xfce/xfce4-panel/${pkgver%.*}/xfce4-panel-$pkgver.tar.bz2)
+sha256sums=('93d58b80cca9c9eb58adb281bc75404df7cf6cae89f7f98bb9f38690009aa2e8')
+
+build() {
+ cd "$srcdir/xfce4-panel-$pkgver"
+ patch plugins/systray/systray-box.c ../../spacing.patch
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib \
+ --localstatedir=/var \
+ --disable-static \
+ --enable-gio-unix \
+ --enable-gtk-doc \
+ --enable-gtk3 \
+ --disable-debug
+ make
+}
+
+package() {
+ cd "$srcdir/xfce4-panel-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/spacing.patch b/spacing.patch
new file mode 100644
index 00000000000..b41386cf104
--- /dev/null
+++ b/spacing.patch
@@ -0,0 +1,11 @@
+--- /tmp/panelfix/xfce4-panel-4.12.1/plugins/systray/systray-box.c 2016-08-11 23:54:27.000000000 +0200
++++ systray-box.c 2017-09-09 00:31:34.418913116 +0200
+@@ -36,7 +36,7 @@
+ #include "systray-box.h"
+ #include "systray-socket.h"
+
+-#define SPACING (2)
++#define SPACING (10)
+ #define OFFSCREEN (-9999)
+
+ /* some icon implementations request a 1x1 size for invisible icons */