summaryrefslogtreecommitdiffstats
path: root/x11/terminal
diff options
context:
space:
mode:
Diffstat (limited to 'x11/terminal')
-rw-r--r--x11/terminal/APKBUILD30
-rw-r--r--x11/terminal/terminal-dont-die-on-dbus-kill.patch10
2 files changed, 40 insertions, 0 deletions
diff --git a/x11/terminal/APKBUILD b/x11/terminal/APKBUILD
new file mode 100644
index 000000000..5aa92b365
--- /dev/null
+++ b/x11/terminal/APKBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=terminal
+pkgver=0.2.12
+pkgrel=0
+pkgdesc="A modern terminal emulator primarly for the Xfce desktop environment"
+url="http://www.xfce.org/projects/terminal/"
+license="GPL-2"
+subpackages="$pkgname-doc"
+depends="exo vte dbus-glib startup-notification hicolor-icon-theme"
+makedepends="pkgconfig exo-dev vte-dev dbus-glib-dev gettext-dev libiconv-dev
+ intltool"
+install=
+source="http://www.xfce.org/archive/xfce-4.6.1/src/Terminal-$pkgver.tar.bz2
+ $pkgname-dont-die-on-dbus-kill.patch"
+
+build ()
+{
+ cd "$srcdir"/Terminal-$pkgver
+ patch -p1 -i "$srcdir"/terminal-dont-die-on-dbus-kill.patch || return 1
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/xfce4 \
+ --localstatedir=/var \
+ --disable-static \
+ || return 1
+ make || return 1
+ make DESTDIR="$pkgdir" install || return 1
+}
+md5sums="adb419d279c9fc16d02291c052190717 Terminal-0.2.12.tar.bz2
+cd10397b10a859338eba56b01c0b73b2 terminal-dont-die-on-dbus-kill.patch"
diff --git a/x11/terminal/terminal-dont-die-on-dbus-kill.patch b/x11/terminal/terminal-dont-die-on-dbus-kill.patch
new file mode 100644
index 000000000..3b0da1709
--- /dev/null
+++ b/x11/terminal/terminal-dont-die-on-dbus-kill.patch
@@ -0,0 +1,10 @@
+--- a/terminal/terminal-dbus.c.orig 2007-01-23 22:25:12.000000000 +0000
++++ b/terminal/terminal-dbus.c 2007-01-23 22:25:50.000000000 +0000
+@@ -191,6 +191,7 @@ terminal_dbus_register_service (Terminal
+
+ /* register DBus connection with GLib main loop */
+ dbus_connection_setup_with_g_main (connection, NULL);
++ dbus_connection_set_exit_on_disconnect (connection, FALSE);
+
+ if (dbus_bus_request_name (connection, TERMINAL_DBUS_SERVICE, 0, &derror) < 0)
+ {