Date: Tuesday, June 19, 2012 @ 16:20:52 Author: heftig Revision: 162097
archrelease: copy trunk to extra-i686, extra-x86_64 Added: gtkhtml4/repos/extra-i686/PKGBUILD (from rev 162096, gtkhtml4/trunk/PKGBUILD) gtkhtml4/repos/extra-x86_64/PKGBUILD (from rev 162096, gtkhtml4/trunk/PKGBUILD) Deleted: gtkhtml4/repos/extra-i686/PKGBUILD gtkhtml4/repos/extra-i686/fix-selection-behaviour-in-iframe.patch gtkhtml4/repos/extra-x86_64/PKGBUILD gtkhtml4/repos/extra-x86_64/fix-selection-behaviour-in-iframe.patch ------------------------------------------------------+ extra-i686/PKGBUILD | 58 ++++++++--------- extra-i686/fix-selection-behaviour-in-iframe.patch | 35 ---------- extra-x86_64/PKGBUILD | 58 ++++++++--------- extra-x86_64/fix-selection-behaviour-in-iframe.patch | 35 ---------- 4 files changed, 58 insertions(+), 128 deletions(-) Deleted: extra-i686/PKGBUILD =================================================================== --- extra-i686/PKGBUILD 2012-06-19 20:18:14 UTC (rev 162096) +++ extra-i686/PKGBUILD 2012-06-19 20:20:52 UTC (rev 162097) @@ -1,29 +0,0 @@ -# $Id$ -# Maintainer: Ionut Biru <ib...@archlinux.org> - -pkgname=gtkhtml4 -_pkgbasename=gtkhtml -pkgver=4.4.2 -pkgrel=1 -pkgdesc="A lightweight HTML renderer/editor widget for GTK3" -arch=(i686 x86_64) -license=('GPL') -depends=('gtk3' 'enchant' 'iso-codes' 'gnome-icon-theme' 'libsoup') -makedepends=('intltool') -url="http://www.gnome.org" -options=('!libtool') -source=(http://ftp.gnome.org/pub/gnome/sources/$_pkgbasename/${pkgver%.*}/$_pkgbasename-$pkgver.tar.xz) -sha256sums=('96b0d561a697c0b85dbe0e6a0d220012765a3aa4f2a9e8ffddd520891094e694') - -build() { - cd "$_pkgbasename-$pkgver" - ./configure --prefix=/usr --sysconfdir=/etc \ - --libexecdir=/usr/lib/gtkhtml4 \ - --localstatedir=/var --disable-static - make -} - -package() { - cd "$_pkgbasename-$pkgver" - make DESTDIR="$pkgdir" install -} Copied: gtkhtml4/repos/extra-i686/PKGBUILD (from rev 162096, gtkhtml4/trunk/PKGBUILD) =================================================================== --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2012-06-19 20:20:52 UTC (rev 162097) @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Ionut Biru <ib...@archlinux.org> + +pkgname=gtkhtml4 +_pkgbasename=gtkhtml +pkgver=4.4.3 +pkgrel=1 +pkgdesc="A lightweight HTML renderer/editor widget for GTK3" +arch=(i686 x86_64) +license=('GPL') +depends=('gtk3' 'enchant' 'iso-codes' 'gnome-icon-theme' 'libsoup') +makedepends=('intltool') +url="http://www.gnome.org" +options=('!libtool') +source=(http://ftp.gnome.org/pub/gnome/sources/$_pkgbasename/${pkgver%.*}/$_pkgbasename-$pkgver.tar.xz) +sha256sums=('da1f593dafcb202dbed0e99bc14ef20bfd5c54ec0d966912feeb7ba7864418aa') + +build() { + cd "$_pkgbasename-$pkgver" + ./configure --prefix=/usr --sysconfdir=/etc \ + --libexecdir=/usr/lib/gtkhtml4 \ + --localstatedir=/var --disable-static + make +} + +package() { + cd "$_pkgbasename-$pkgver" + make DESTDIR="$pkgdir" install +} Deleted: extra-i686/fix-selection-behaviour-in-iframe.patch =================================================================== --- extra-i686/fix-selection-behaviour-in-iframe.patch 2012-06-19 20:18:14 UTC (rev 162096) +++ extra-i686/fix-selection-behaviour-in-iframe.patch 2012-06-19 20:20:52 UTC (rev 162097) @@ -1,35 +0,0 @@ -From 9ec36544203d4c1b98aa843c2c3ff0a4f725da68 Mon Sep 17 00:00:00 2001 -From: Sam Thursfield <sam.thursfi...@codethink.co.uk> -Date: Thu, 03 May 2012 19:04:20 +0000 -Subject: Bug 672582 - Fix selection behavior inside <iframe> - -Since kinetic scrolling was introduced in Gtk+, GtkScrolledWindow -has had its own GdkWindow. This means we need to use the allocation -of the GtkScrolledWindow rather than its child GtkHTML widget when we -want to translate pointer coordinates relative to the iframe, because -a widget's GtkAllocation is relative to the parent GdkWindow. - -(cherry picked from commit 7b7b37745d2f46914be314e4d7aef7a575529345) ---- -diff --git a/gtkhtml/gtkhtml.c b/gtkhtml/gtkhtml.c -index 697b16e..6284855 100644 ---- a/gtkhtml/gtkhtml.c -+++ b/gtkhtml/gtkhtml.c -@@ -1823,9 +1823,14 @@ shift_to_iframe_parent (GtkWidget *widget, - gint *y) - { - while (GTK_HTML (widget)->iframe_parent) { -+ GtkWidget *scrolled_window; - GtkAllocation allocation; - -- gtk_widget_get_allocation (widget, &allocation); -+ scrolled_window = gtk_widget_get_parent (widget); -+ -+ g_return_val_if_fail (GTK_IS_SCROLLED_WINDOW (scrolled_window), widget); -+ -+ gtk_widget_get_allocation (scrolled_window, &allocation); - - if (x) - *x += allocation.x - GTK_HTML (widget)->engine->x_offset; --- -cgit v0.9.0.2 Deleted: extra-x86_64/PKGBUILD =================================================================== --- extra-x86_64/PKGBUILD 2012-06-19 20:18:14 UTC (rev 162096) +++ extra-x86_64/PKGBUILD 2012-06-19 20:20:52 UTC (rev 162097) @@ -1,29 +0,0 @@ -# $Id$ -# Maintainer: Ionut Biru <ib...@archlinux.org> - -pkgname=gtkhtml4 -_pkgbasename=gtkhtml -pkgver=4.4.2 -pkgrel=1 -pkgdesc="A lightweight HTML renderer/editor widget for GTK3" -arch=(i686 x86_64) -license=('GPL') -depends=('gtk3' 'enchant' 'iso-codes' 'gnome-icon-theme' 'libsoup') -makedepends=('intltool') -url="http://www.gnome.org" -options=('!libtool') -source=(http://ftp.gnome.org/pub/gnome/sources/$_pkgbasename/${pkgver%.*}/$_pkgbasename-$pkgver.tar.xz) -sha256sums=('96b0d561a697c0b85dbe0e6a0d220012765a3aa4f2a9e8ffddd520891094e694') - -build() { - cd "$_pkgbasename-$pkgver" - ./configure --prefix=/usr --sysconfdir=/etc \ - --libexecdir=/usr/lib/gtkhtml4 \ - --localstatedir=/var --disable-static - make -} - -package() { - cd "$_pkgbasename-$pkgver" - make DESTDIR="$pkgdir" install -} Copied: gtkhtml4/repos/extra-x86_64/PKGBUILD (from rev 162096, gtkhtml4/trunk/PKGBUILD) =================================================================== --- extra-x86_64/PKGBUILD (rev 0) +++ extra-x86_64/PKGBUILD 2012-06-19 20:20:52 UTC (rev 162097) @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Ionut Biru <ib...@archlinux.org> + +pkgname=gtkhtml4 +_pkgbasename=gtkhtml +pkgver=4.4.3 +pkgrel=1 +pkgdesc="A lightweight HTML renderer/editor widget for GTK3" +arch=(i686 x86_64) +license=('GPL') +depends=('gtk3' 'enchant' 'iso-codes' 'gnome-icon-theme' 'libsoup') +makedepends=('intltool') +url="http://www.gnome.org" +options=('!libtool') +source=(http://ftp.gnome.org/pub/gnome/sources/$_pkgbasename/${pkgver%.*}/$_pkgbasename-$pkgver.tar.xz) +sha256sums=('da1f593dafcb202dbed0e99bc14ef20bfd5c54ec0d966912feeb7ba7864418aa') + +build() { + cd "$_pkgbasename-$pkgver" + ./configure --prefix=/usr --sysconfdir=/etc \ + --libexecdir=/usr/lib/gtkhtml4 \ + --localstatedir=/var --disable-static + make +} + +package() { + cd "$_pkgbasename-$pkgver" + make DESTDIR="$pkgdir" install +} Deleted: extra-x86_64/fix-selection-behaviour-in-iframe.patch =================================================================== --- extra-x86_64/fix-selection-behaviour-in-iframe.patch 2012-06-19 20:18:14 UTC (rev 162096) +++ extra-x86_64/fix-selection-behaviour-in-iframe.patch 2012-06-19 20:20:52 UTC (rev 162097) @@ -1,35 +0,0 @@ -From 9ec36544203d4c1b98aa843c2c3ff0a4f725da68 Mon Sep 17 00:00:00 2001 -From: Sam Thursfield <sam.thursfi...@codethink.co.uk> -Date: Thu, 03 May 2012 19:04:20 +0000 -Subject: Bug 672582 - Fix selection behavior inside <iframe> - -Since kinetic scrolling was introduced in Gtk+, GtkScrolledWindow -has had its own GdkWindow. This means we need to use the allocation -of the GtkScrolledWindow rather than its child GtkHTML widget when we -want to translate pointer coordinates relative to the iframe, because -a widget's GtkAllocation is relative to the parent GdkWindow. - -(cherry picked from commit 7b7b37745d2f46914be314e4d7aef7a575529345) ---- -diff --git a/gtkhtml/gtkhtml.c b/gtkhtml/gtkhtml.c -index 697b16e..6284855 100644 ---- a/gtkhtml/gtkhtml.c -+++ b/gtkhtml/gtkhtml.c -@@ -1823,9 +1823,14 @@ shift_to_iframe_parent (GtkWidget *widget, - gint *y) - { - while (GTK_HTML (widget)->iframe_parent) { -+ GtkWidget *scrolled_window; - GtkAllocation allocation; - -- gtk_widget_get_allocation (widget, &allocation); -+ scrolled_window = gtk_widget_get_parent (widget); -+ -+ g_return_val_if_fail (GTK_IS_SCROLLED_WINDOW (scrolled_window), widget); -+ -+ gtk_widget_get_allocation (scrolled_window, &allocation); - - if (x) - *x += allocation.x - GTK_HTML (widget)->engine->x_offset; --- -cgit v0.9.0.2