I'll attach an ebuild patch, gtkhtml has been moved to gnome-python-extras, and I updated the dependencies with the contents of configure.in Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 56125 [details, diff] patch gnome-python-2.6.1 to 2.10.0
Created attachment 56126 [details] gnome-python-extra-2.10.1 Ebuild for gnome-python-extras, split out from gnome-python. gnome-python-extras uses gtkhml, that was in gnome-python-2.6.1. This ebuild uses the same depends for mozilla/firefox as epiphany, to satisfy gtkmozembed. The url for this bug is the extras NEWS file, this is the correct NEWS file for gnome-pyhton-2.10.0 http://cvs.gnome.org/viewcvs/gnome-python/gnome-python/NEWS?view=markup
patch doesn't work: haim@parker tmp $ patch gnome-python-2.6.1.ebuild patch patching file gnome-python-2.6.1.ebuild Hunk #1 FAILED at 7. 1 out of 1 hunk FAILED -- saving rejects to file gnome-python-2.6.1.ebuild.rej haim@parker tmp $ cat gnome-python-2.6.1.ebuild.rej *************** *** 7,48 **** DESCRIPTION="GNOME 2 bindings for Python" HOMEPAGE="http://www.pygtk.org/" - IUSE="gtkhtml" LICENSE="LGPL-2" SLOT="2" KEYWORDS="~x86 ~ppc ~alpha ~sparc ~amd64" RDEPEND=">=dev-lang/python-2.2 - >=dev-python/pygtk-2.4 >=dev-python/pyorbit-2.0.1 - >=dev-libs/glib-2 - >=x11-libs/gtk+-2 - >=gnome-base/libgnome-2 - >=gnome-base/libgnomeui-2 - >=gnome-base/libgnomecanvas-2 - >=gnome-base/gnome-vfs-2 - >=gnome-base/gconf-1.2 - >=x11-libs/libzvt-2 - >=gnome-base/libbonobo-2 - >=gnome-base/libbonoboui-2 - >=gnome-base/nautilus-2 - >=gnome-base/gnome-panel-2 >=gnome-base/libgnomeprint-2.2 - >=gnome-base/libgnomeprintui-2.2 - gtkhtml? ( =gnome-extra/libgtkhtml-2* )" DEPEND="${RDEPEND} >=dev-util/pkgconfig-0.12.0" # Skip test, to avoid gnome-python-2.0 block (fixes bug 72594) RESTRICT="maketest" - DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README" src_unpack() { unpack ${A} - #cd ${S} - #epatch ${FILESDIR}/${P}-gtkhtml.patch - #epatch ${FILESDIR}/${P}-gtkhtml-atomic.patch # disable pyc compiling mv ${S}/py-compile ${S}/py-compile.orig ln -s /bin/true ${S}/py-compile --- 7,41 ---- DESCRIPTION="GNOME 2 bindings for Python" HOMEPAGE="http://www.pygtk.org/" + IUSE="doc" LICENSE="LGPL-2" SLOT="2" KEYWORDS="~x86 ~ppc ~alpha ~sparc ~amd64" RDEPEND=">=dev-lang/python-2.2 + >=dev-python/pygtk-2.6 >=dev-python/pyorbit-2.0.1 + >=dev-libs/glib-2.6 + >=x11-libs/gtk+-2.6 + >=gnome-base/libgnome-2.8 + >=gnome-base/libgnomeui-2.8 + >=gnome-base/libgnomecanvas-2.8 + >=gnome-base/gnome-vfs-2.9 + >=gnome-base/gconf-2.9 + >=gnome-base/libbonobo-2.8 + >=gnome-base/libbonoboui-2.8 >=gnome-base/libgnomeprint-2.2 + >=gnome-base/libgnomeprintui-2.2" DEPEND="${RDEPEND} >=dev-util/pkgconfig-0.12.0" # Skip test, to avoid gnome-python-2.0 block (fixes bug 72594) RESTRICT="maketest" + DOCS="AUTHORS ChangeLog NEWS" src_unpack() { unpack ${A} # disable pyc compiling mv ${S}/py-compile ${S}/py-compile.orig ln -s /bin/true ${S}/py-compile thanx -- Haim
Created attachment 57733 [details] gnome-python-2.10.0.ebuild This should work
It would be also nice to get this stuff in for meld's syntax highlighting.
Created attachment 58314 [details, diff] meld-try-gtksourceview-too.patch This is a patch from meld CVS to let it use pygtksourceview, which is in gnome-python-extras now.
Created attachment 58628 [details] ebuild with libgtkhtml use flag i propose that use flag and a check for >=gnome-extra/libgtkhtml-2.3.1 be put again. IUSE=gtkhtml libgtkhtml? (>=gnome-extra/libgtkhtml-3.2.5) to avoid errors like this : (BloGTK without the >=libgtkhtml-2.3 module) Traceback (most recent call last): File "/usr/bin/BloGTK", line 14, in ? import gtkhtml2 ImportError: No module named gtkhtml2 * so sorry, it's not a diff.
(In reply to comment #2) Sorry if this is a dumb question, but why is the gnome-python-extras ebuild posted above now crossed out? Does it have something to do with the gtkhtml USE flag posts?
Try comment #7's ebuild instead. If you look you see they're quite similar.
Bumped, thanks for the ebuild.
kloeri, did you happen to notice that half the point of this bug was the gnome-python-extras bit? Do you want a new bug for that, or what?
Could gnome-python-2.10 be hard masked until the gtkhtml2 module issue is solved? Applications using it are all broken for ~arch users with the current tree, and that's pretty bad. Thanks. (Oh, and btw, gnome-python-2.10.0.ebuild still has a gtkhtml IUSE and dep, which are obsolete and should probably be removed)