Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706222 - net-misc/youtube-viewer-9999 - ?
Summary: net-misc/youtube-viewer-9999 - ?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zoltan Puskas
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2020-01-24 03:57 UTC by Thomas Groman
Modified: 2020-03-05 12:21 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch (fixyoutube.patch,2.65 KB, patch)
2020-01-24 03:57 UTC, Thomas Groman
Details | Diff
complete ebuild (youtube-viewer-9999.ebuild,2.00 KB, text/plain)
2020-02-01 06:27 UTC, Thomas Groman
Details
updated metadata file (metadata.xml,1004 bytes, text/xml)
2020-02-01 06:27 UTC, Thomas Groman
Details
complete ebuild (youtube-viewer-9999.ebuild,1.99 KB, text/plain)
2020-02-02 03:56 UTC, Thomas Groman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Groman 2020-01-24 03:57:48 UTC
Created attachment 604120 [details, diff]
patch

net-misc/youtube-viewer-9999 no longer works due to upstream changes. I have refactored the ebuild to convert it from EAPI 6 to EAPI 7, removed dependency on legacy inherit gnome2-utils replaced with inherit desktop, and adjusted the USE flags to reflect upstream changes.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2020-01-24 15:27:16 UTC
"Something does not work but I will not tell you what it is but here is a patch."
Comment 2 Thomas Groman 2020-01-24 18:14:54 UTC
(In reply to Jeroen Roovers from comment #1)
> "Something does not work but I will not tell you what it is but here is a
> patch."

what are you talking about? read comment zero.
Comment 3 Thomas Groman 2020-02-01 06:27:27 UTC
Created attachment 610152 [details]
complete ebuild

here is the complete standalone ebuild
Comment 4 Thomas Groman 2020-02-01 06:27:51 UTC
Created attachment 610154 [details]
updated metadata file
Comment 5 Jonas Stein gentoo-dev 2020-02-02 01:15:39 UTC
Thank you for your contribution. I had a short look on the ebuild. 
Here a few ideas:

* Please test the ebuild with repoman full -d -x https://wiki.gentoo.org/wiki/Repoman
* please fix the header. (see /usr/portage/skel.ebuild and https://devmanual.gentoo.org/ebuild-writing/eapi/)
# Copyright 1999-2019 Gentoo Authors

* A bot can look for additional mistakes, if you upload a PR via github

* is eutils really needed here?
Comment 6 Thomas Groman 2020-02-02 03:56:00 UTC
Created attachment 610714 [details]
complete ebuild

No, turns out eutils was no longer needed. thank you for pointing that out.
also corrected copyright

RepoMan sez: "If everyone were like you, I'd be out of business!"
Comment 7 Thomas Groman 2020-02-02 04:02:04 UTC
regarding the XML change, there are some older release versions using the ambiguous 'gtk' flag rather than gtk2. If needed I could go back and update those ebuilds as well to switch them over to 'gtk2' otherwise I could add another metadata.xml that marks the old 'gtk' flag as deprecated.

I am personally thinking just switching the older ebuilds use flag out is the cleaner option here, what do you think?
Comment 8 Zoltan Puskas 2020-02-03 00:46:24 UTC
It seems I've never got around to port this ebuild to EAPI=7. Thanks Thomas for bringing it up and putting up a fix. Will you submit a PR on GitHub for it?

As for the gtk flag on the other ebuilds. I'll fix them in testing. Let's leave the stable as is, as I'll get it replaced with a new stable soon after the GTK flag has been fixed.
Comment 9 Zoltan Puskas 2020-02-03 03:11:28 UTC
(In reply to Jonas Stein from comment #5)
 
> * is eutils really needed here?

Yes, it's needed as "optfeature" used in pkg_postinst() comes from there.
Comment 10 Zoltan Puskas 2020-02-03 03:50:17 UTC
I've submitted a PR for several youtube-viewer ebuild changes, including  a polished up version of the 9999 ebuild as well (i.e. added gtk3 support, metadata XML changes), that Thomas has kindly provided. I hope that's okay.
Comment 11 Larry the Git Cow gentoo-dev 2020-03-05 12:21:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d8e61d5d550a7c2b12477060b2acaa0ccd43133

commit 7d8e61d5d550a7c2b12477060b2acaa0ccd43133
Author:     Zoltan Puskas <zoltan@sinustrom.info>
AuthorDate: 2020-02-03 03:29:23 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-03-05 12:01:20 +0000

    net-misc/youtube-viewer: Update 9999 to EAPI 7 and add gtk3 support
    
    Closes: https://bugs.gentoo.org/706222
    Package-Manager: Portage-2.3.85, Repoman-2.3.20
    Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info>
    Closes: https://github.com/gentoo/gentoo/pull/14536
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 net-misc/youtube-viewer/youtube-viewer-9999.ebuild | 39 ++++++++++++++++------
 1 file changed, 28 insertions(+), 11 deletions(-)