Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 449306

Summary: media-video/gaupol-0.26 version bump request
Product: Gentoo Linux Reporter: Francisco J. Vazquez <dv>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: enhancement CC: beandog, bearcatsandor, pacho, python, sbraz
Priority: Normal Keywords: EBUILD, PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gaupol-0.21 ebuild
gaupol-0.26.ebuild non-working
working ebuild for 0.28.2

Description Francisco J. Vazquez 2012-12-30 15:03:03 UTC
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
Comment 1 Francisco J. Vazquez 2012-12-30 15:03:52 UTC
Created attachment 333776 [details]
gaupol-0.21 ebuild
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-12-30 16:47:56 UTC
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
-}
Comment 3 Louis Sautier (sbraz) gentoo-dev 2013-07-15 13:07:36 UTC
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.
Comment 4 Steve Dibb (RETIRED) gentoo-dev 2014-03-18 16:20:34 UTC
*** Bug 410445 has been marked as a duplicate of this bug. ***
Comment 5 Steve Dibb (RETIRED) gentoo-dev 2014-08-22 18:34:20 UTC
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.
Comment 6 Louis Sautier (sbraz) gentoo-dev 2015-05-27 09:58:50 UTC
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)
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-05-27 10:45:22 UTC
Thanks a lot. I'll test it, check if it's all ok and commit it.
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-05-27 11:13:15 UTC
+*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).