Since 0.20 gaupol is gtk+3. It would be nice to have a gtk+3 version in portage. Attached ebuild for 0.21. Reproducible: Always
Created attachment 333776 [details] gaupol-0.21 ebuild
Comment on attachment 333776 [details] gaupol-0.21 ebuild --- gaupol-0.19.2.ebuild 2012-04-23 06:31:10.000000000 +0200 +++ - 2012-12-30 17:47:43.910777981 +0100 @@ -1,11 +1,11 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/gaupol/gaupol-0.19.2.ebuild,v 1.1 2012/04/23 04:31:10 patrick Exp $ +# $Header: $ -EAPI="3" -PYTHON_DEPEND="2:2.6" +EAPI="5" +PYTHON_DEPEND="3:3.2" SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="2.4 2.5 3.* *-jython" +RESTRICT_PYTHON_ABIS="2.* *-jython" inherit distutils fdo-mime gnome2-utils versionator @@ -13,7 +13,7 @@ DESCRIPTION="Gaupol is a subtitle editor for text-based subtitles" HOMEPAGE="http://home.gna.org/gaupol" -SRC_URI="http://download.gna.org/${PN}/${MAJOR_MINOR_VERSION}/${P}.tar.gz" +SRC_URI="http://download.gna.org/${PN}/${MAJOR_MINOR_VERSION}/${P}.tar.xz" LICENSE="GPL-2" SLOT="0" @@ -21,7 +21,7 @@ IUSE="spell" RDEPEND="dev-python/chardet - >=dev-python/pygtk-2.16 + >=dev-python/pygobject-3.0.0 spell? ( app-text/iso-codes >=dev-python/pyenchant-1.4 @@ -33,12 +33,6 @@ DOCS="AUTHORS ChangeLog CREDITS NEWS TODO README" PYTHON_MODNAME="aeidon gaupol" -src_compile() { - addpredict /root/.gconf - addpredict /root/.gconfd - distutils_src_compile -} - pkg_preinst() { gnome2_icon_savelist } @@ -56,9 +50,3 @@ fi } -pkg_postrm() { - distutils_pkg_postrm - fdo-mime_desktop_database_update - fdo-mime_mime_database_update - gnome2_icon_cache_update -}
Is there any progress on this bug? It was opened six months ago and gaupol has been updated since (https://raw.github.com/otsaloma/gaupol/master/NEWS). Yet the 0.21 ebuild still isn't in the main tree.
*** Bug 410445 has been marked as a duplicate of this bug. ***
Created attachment 383416 [details] gaupol-0.26.ebuild non-working I'm not familiar with Python ebuilds, so dunno why this is failing, but that's how far I got.
Created attachment 404066 [details] working ebuild for 0.28.2 There have been many changes since the last update to the bug. I adapted the existing ebuild and this one works fine. Here is a list of the changes: - python 2 is no longer supported - replaced pygtk with pygobject - updated DOCS - added gtkspell dependency when USE=spell (required for in-line spell-checking)
Thanks a lot. I'll test it, check if it's all ok and commit it.
+*gaupol-0.28.2 (27 May 2015) + + 27 May 2015; Michał Górny <mgorny@gentoo.org> +gaupol-0.28.2.ebuild: + Version bump. Bug #449306. Ebuild from Louis Sautier with some minor changes. One more thing that could be possibly done: add USE & deps for the built-in video player (that would be gstreamer with plugins and the fonts mentioned in README).