summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoroli2015-12-11 14:56:26 +0100
committeroli2015-12-11 14:58:55 +0100
commit3d3d638834736c628a03c47de72d945ddd193169 (patch)
treefbaaaca096b055747bdeb90abe9aac803ed964ad
downloadaur-python2-gtkhtml2.tar.gz
recreated
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD30
-rw-r--r--gnome-python-extras-2.25.3-update-for-2.27.2.patch145
3 files changed, 199 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c4e750bb080
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+# Generated by mksrcinfo v8
+# Fri Dec 11 13:58:49 UTC 2015
+pkgbase = python2-gtkhtml2
+ pkgver = 2.25.3
+ pkgrel = 14
+ url = http://www.daa.com.au/~james/pygtk/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ license = LGPL
+ makedepends = gtkspell
+ makedepends = libgnomeui
+ makedepends = python2
+ makedepends = pygtk
+ makedepends = gnome-python
+ source = http://ftp.gnome.org/pub/gnome/sources/gnome-python-extras/2.25/gnome-python-extras-2.25.3.tar.bz2
+ source = gnome-python-extras-2.25.3-update-for-2.27.2.patch
+ md5sums = 9f3b7ec5c57130b96061cb486b79c076
+ md5sums = 0b0a4d93016d14f2306682301de3bda3
+ sha1sums = e69e5288466c960ed6f985bb10c9969b21ed85a4
+ sha1sums = b065efb7f7f5baa7b95b63bcadb6a4623d1bc9e5
+
+pkgname = python2-gtkhtml2
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3ee0565c352
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Jose Riha <jose1711 gmail com>
+
+_pkgbase=gnome-python-extras
+pkgname=python2-gtkhtml2
+pkgver=2.25.3
+pkgrel=14
+arch=('i686' 'x86_64')
+url="http://www.daa.com.au/~james/pygtk/"
+license=('GPL' 'LGPL')
+makedepends=('gtkspell' 'libgnomeui' 'python2' 'pygtk' 'gnome-python')
+source=(http://ftp.gnome.org/pub/gnome/sources/gnome-python-extras/2.25/gnome-python-extras-${pkgver}.tar.bz2
+ gnome-python-extras-2.25.3-update-for-2.27.2.patch)
+md5sums=('9f3b7ec5c57130b96061cb486b79c076' '0b0a4d93016d14f2306682301de3bda3')
+sha1sums=('e69e5288466c960ed6f985bb10c9969b21ed85a4' 'b065efb7f7f5baa7b95b63bcadb6a4623d1bc9e5')
+
+prepare() {
+ cd $_pkgbase-$pkgver
+ patch -Np1 -i ../gnome-python-extras-2.25.3-update-for-2.27.2.patch
+}
+
+build() {
+ cd $_pkgbase-$pkgver
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr --disable-egg --disable-gksu --enable-gtkhtml2 --disable-gksu2 --disable-gksuui
+ make
+}
+
+package() {
+ cd $_pkgbase-$pkgver
+ make -C gtkhtml2 install DESTDIR="${pkgdir}"
+}
diff --git a/gnome-python-extras-2.25.3-update-for-2.27.2.patch b/gnome-python-extras-2.25.3-update-for-2.27.2.patch
new file mode 100644
index 00000000000..5aa0b0dd422
--- /dev/null
+++ b/gnome-python-extras-2.25.3-update-for-2.27.2.patch
@@ -0,0 +1,145 @@
+diff -Nur gnome-python-extras-2.25.3.old/gdl/gdl.defs gnome-python-extras-2.25.3/gdl/gdl.defs
+--- gnome-python-extras-2.25.3.old/gdl/gdl.defs 2008-12-12 03:06:29.000000000 +0200
++++ gnome-python-extras-2.25.3/gdl/gdl.defs 2009-11-17 00:54:03.141234153 +0200
+@@ -46,13 +46,6 @@
+ (gtype-id "GDL_TYPE_DOCK_ITEM")
+ )
+
+-(define-object DockNotebook
+- (in-module "Gdl")
+- (parent "GdlDockItem")
+- (c-name "GdlDockNotebook")
+- (gtype-id "GDL_TYPE_DOCK_NOTEBOOK")
+-)
+-
+ (define-object Dock
+ (in-module "Gdl")
+ (parent "GdlDockObject")
+@@ -60,13 +53,6 @@
+ (gtype-id "GDL_TYPE_DOCK")
+ )
+
+-(define-object DockPaned
+- (in-module "Gdl")
+- (parent "GdlDockItem")
+- (c-name "GdlDockPaned")
+- (gtype-id "GDL_TYPE_DOCK_PANED")
+-)
+-
+ (define-object DockPlaceholder
+ (in-module "Gdl")
+ (parent "GdlDockObject")
+@@ -74,12 +60,6 @@
+ (gtype-id "GDL_TYPE_DOCK_PLACEHOLDER")
+ )
+
+-(define-object DockTablabel
+- (in-module "Gdl")
+- (parent "GtkBin")
+- (c-name "GdlDockTablabel")
+- (gtype-id "GDL_TYPE_DOCK_TABLABEL")
+-)
+
+ (ifdef HAVE_GDL_0_7
+
+@@ -590,18 +570,6 @@
+ (return-type "gboolean")
+ )
+
+-(define-method get_ui
+- (of-object "GdlDockLayout")
+- (c-name "gdl_dock_layout_get_ui")
+- (return-type "GtkWidget*")
+-)
+-
+-(define-method get_items_ui
+- (of-object "GdlDockLayout")
+- (c-name "gdl_dock_layout_get_items_ui")
+- (return-type "GtkWidget*")
+-)
+-
+ (define-method get_layouts_ui
+ (of-object "GdlDockLayout")
+ (c-name "gdl_dock_layout_get_layouts_ui")
+@@ -682,21 +650,6 @@
+
+
+
+-;; From gdl-dock-notebook.h
+-
+-(define-function gdl_dock_notebook_new
+- (c-name "gdl_dock_notebook_new")
+- (is-constructor-of "GdlDockNotebook")
+- (return-type "GtkWidget*")
+-)
+-
+-(define-function gdl_dock_notebook_get_type
+- (c-name "gdl_dock_notebook_get_type")
+- (return-type "GType")
+-)
+-
+-
+-
+ ;; From gdl-dock-object.h
+
+ (define-function gdl_dock_object_get_type
+@@ -848,24 +801,6 @@
+
+
+
+-;; From gdl-dock-paned.h
+-
+-(define-function gdl_dock_paned_get_type
+- (c-name "gdl_dock_paned_get_type")
+- (return-type "GType")
+-)
+-
+-(define-function gdl_dock_paned_new
+- (c-name "gdl_dock_paned_new")
+- (is-constructor-of "GdlDockPaned")
+- (return-type "GtkWidget*")
+- (properties
+- '("orientation")
+- )
+-)
+-
+-
+-
+ ;; From gdl-dock-placeholder.h
+
+ (define-function gdl_dock_placeholder_get_type
+@@ -896,34 +831,6 @@
+
+
+
+-;; From gdl-dock-tablabel.h
+-
+-(define-function gdl_dock_tablabel_new
+- (c-name "gdl_dock_tablabel_new")
+- (is-constructor-of "GdlDockTablabel")
+- (return-type "GtkWidget*")
+- (properties
+- '("item")
+- )
+-)
+-
+-(define-function gdl_dock_tablabel_get_type
+- (c-name "gdl_dock_tablabel_get_type")
+- (return-type "GType")
+-)
+-
+-(define-method activate
+- (of-object "GdlDockTablabel")
+- (c-name "gdl_dock_tablabel_activate")
+- (return-type "none")
+-)
+-
+-(define-method deactivate
+- (of-object "GdlDockTablabel")
+- (c-name "gdl_dock_tablabel_deactivate")
+- (return-type "none")
+-)
+-
+ ;; From gdl-icons.h
+
+ (ifdef HAVE_GDL_0_7