summaryrefslogtreecommitdiffstats
path: root/abs/extra/vte
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
commit7b29169fff9e7c624890c5edffe85def8a293136 (patch)
tree47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/extra/vte
parentc491dea779dac29afff3578bf8245943817c2339 (diff)
downloadlinhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2
LinHES 6.01.00
Diffstat (limited to 'abs/extra/vte')
-rw-r--r--abs/extra/vte/PKGBUILD26
-rw-r--r--abs/extra/vte/vte-0.16.0-reaper-python-bindings.patch62
2 files changed, 88 insertions, 0 deletions
diff --git a/abs/extra/vte/PKGBUILD b/abs/extra/vte/PKGBUILD
new file mode 100644
index 0000000..569db33
--- /dev/null
+++ b/abs/extra/vte/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 16789 2008-10-22 03:33:22Z allan $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=vte
+pkgver=0.17.4
+pkgrel=2
+pkgdesc="VTE - Virtual Terminal Emulator"
+arch=(i686 x86_64)
+license=('LGPL')
+depends=('gtk2>=2.11.3' 'libsm')
+options=('!libtool')
+makedepends=('pygtk>=2.11.0' 'pkgconfig' 'intltool')
+url="http://www.gnome.org"
+source=(http://ftp.gnome.org/pub/GNOME/sources/vte/0.17/vte-${pkgver}.tar.bz2
+ vte-0.16.0-reaper-python-bindings.patch)
+md5sums=('ec6cb2668db7146eae7cfc48af98f3ed' 'efe29cd40635e73fa3152f77d91a4f39')
+
+build() {
+ cd ${startdir}/src/${pkgname}-${pkgver}
+ patch -Np1 -i ${startdir}/src/vte-0.16.0-reaper-python-bindings.patch || return 1
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --libexecdir=/usr/lib/vte \
+ --localstatedir=/var --disable-static || return 1
+ make || return 1
+ make DESTDIR=${startdir}/pkg install || return 1
+}
diff --git a/abs/extra/vte/vte-0.16.0-reaper-python-bindings.patch b/abs/extra/vte/vte-0.16.0-reaper-python-bindings.patch
new file mode 100644
index 0000000..47d6ce6
--- /dev/null
+++ b/abs/extra/vte/vte-0.16.0-reaper-python-bindings.patch
@@ -0,0 +1,62 @@
+diff -NarU 3 vte-0.16.0.orig/python/vte.defs vte-0.16.0/python/vte.defs
+--- vte-0.16.0.orig/python/vte.defs 2007-02-26 22:05:02.000000000 +0100
++++ vte-0.16.0/python/vte.defs 2007-03-14 20:44:55.000000000 +0100
+@@ -7,6 +7,14 @@
+ (gtype-id "VTE_TYPE_TERMINAL")
+ )
+
++(define-object Reaper
++ (in-module "Vte")
++ (parent "GObject")
++ (c-name "VteReaper")
++ (gtype-id "VTE_TYPE_REAPER")
++)
++
++
+ ;; Enumerations and flags ...
+
+ (define-enum TerminalEraseBinding
+@@ -701,4 +709,14 @@
+ (return-type "const-char*")
+ )
+
++;; From ../src/reaper.h
++(define-function vte_reaper_get_type
++ (c-name "vte_reaper_get_type")
++ (return-type "GtkType")
++)
++
++(define-function reaper_get
++ (c-name "vte_reaper_get")
++ (return-type "VteReaper*")
++)
+
+diff -NarU 3 vte-0.16.0.orig/python/vte.override vte-0.16.0/python/vte.override
+--- vte-0.16.0.orig/python/vte.override 2007-02-26 22:05:02.000000000 +0100
++++ vte-0.16.0/python/vte.override 2007-03-14 20:46:12.000000000 +0100
+@@ -7,12 +7,14 @@
+ #include <pygobject.h>
+ #include <gtk/gtk.h>
+ #include "../src/vte.h"
++#include "../src/reaper.h"
+ %%
+ modulename vte
+ %%
+ import gtk.gdk.Pixbuf as PyGdkPixbuf_Type
+ import gtk.MenuShell as PyGtkMenuShell_Type
+ import gtk.Widget as PyGtkWidget_Type
++import gobject.GObject as PyGObject_Type
+ %%
+ override vte_terminal_feed kwargs
+ static PyObject *
+diff -NarU 3 vte-0.16.0.orig/python/vtemodule.c vte-0.16.0/python/vtemodule.c
+--- vte-0.16.0.orig/python/vtemodule.c 2007-02-26 22:05:02.000000000 +0100
++++ vte-0.16.0/python/vtemodule.c 2007-03-14 20:47:12.000000000 +0100
+@@ -25,6 +25,7 @@
+ #include <pygobject.h>
+ #include <pygtk/pygtk.h>
+ #include "../src/vte.h"
++#include "../src/reaper.h"
+
+ extern void pyvte_register_classes(PyObject * d);
+ extern PyMethodDef pyvte_functions[];