Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 626520 - x11-misc/screengrab-1.96 version bump
Summary: x11-misc/screengrab-1.96 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2017-07-29 10:25 UTC by Thibaut Quentin
Modified: 2017-12-27 22:31 UTC (History)
3 users (show)

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


Attachments
Ebuild for screengrab 1.96 (screengrab-1.96.ebuild,764 bytes, text/plain)
2017-07-29 10:25 UTC, Thibaut Quentin
Details
Ebuild for screengrab 1.96 (screengrab-1.96.ebuild,776 bytes, text/plain)
2017-07-30 09:52 UTC, Thibaut Quentin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thibaut Quentin 2017-07-29 10:25:45 UTC
Created attachment 487186 [details]
Ebuild for screengrab 1.96

The github repository for screengrab has changed from https://github.com/DOOMer/screengrab to https://github.com/QtDesktop/screengrab. Also new versiion are available like the 1.96 release. It uses Qt5 instead of Qt4 and has a dependency on kwindowsystem. I join an ebuild that I wrote and tested for the ~amd64 architecture. It's largely inspired by the 1.2.1 ebuild with dependencies updated.
Comment 1 Jonas Stein gentoo-dev 2017-07-29 19:31:02 UTC
Thank you for your contribution. I had a short look on the ebuild. 
Here a few ideas:

Please update the header and test the ebuild with repoman.

EAPI=5
Should be EAPI=6 for new ebuilds.

HOMEPAGE=.. is offline?
Comment 2 Michael Palimaka (kensington) gentoo-dev 2017-07-30 02:06:50 UTC
Just curious, do you know if this is an upstream move or a fork?
Comment 3 Thibaut Quentin 2017-07-30 09:51:08 UTC
(In reply to Jonas Stein from comment #1)
> Thank you for your contribution. I had a short look on the ebuild. 
> Here a few ideas:
> 
> Please update the header and test the ebuild with repoman.
> 
> EAPI=5
> Should be EAPI=6 for new ebuilds.
> 
> HOMEPAGE=.. is offline?

Thanks for the advices. I made the changes to the ebuild. Indeed the homepage seems dead but it's still referenced on the Github repository, so for the ebuild I set the HOMEPAGE to the address of the repository.

(In reply to Michael Palimaka (kensington) from comment #2)
> Just curious, do you know if this is an upstream move or a fork?

It seems to be a fork according to : https://github.com/DOOMer/screengrab/issues/53. The original repository has no activity since April 2015.
Comment 4 Thibaut Quentin 2017-07-30 09:52:17 UTC
Created attachment 487336 [details]
Ebuild for screengrab 1.96
Comment 5 Jouni Kosonen 2017-12-01 16:17:20 UTC
Nice work. Some observations:

1) version 1.97 is out
2) with SG_GLOBALSHORTCUTS off (the default) SG_USE_SYSTEM_QXT is ignored
3) with 2) and Qt5 the dependency on x11-libs/libqxt isn't needed at all
4) CMake Warning:
  Manually-specified variables were not used by the project:

    SG_DOCDIR
5) with 3) and 4) there's no need for local mycmakeargs at all

and finally 

6) with 5) there's no need for non-default phase functions in the ebuild

I tried locally a renamed copy of your 1.96 ebuild with the x11-libs/libqxt dependency and everything after the RDEPEND -line removed, and it builds and installs exactly the same files with the same linkages as it did without the edits.

This also allowed me to remove x11-libs/libqxt from my system, thus getting rid of one more Qt4 anchor.
Comment 6 Larry the Git Cow gentoo-dev 2017-12-07 10:55:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66854f2f1e051919e41c280bae478378067b4788

commit 66854f2f1e051919e41c280bae478378067b4788
Author:     Jouni Kosonen <jouni.kosonen@tukesoft.com>
AuthorDate: 2017-12-05 13:13:56 +0000
Commit:     Michael Palimaka <kensington@gentoo.org>
CommitDate: 2017-12-07 10:54:49 +0000

    x11-misc/screengrab: Version bump to 1.97
    
    Closes: https://bugs.gentoo.org/626520
    Closes: https://github.com/gentoo/gentoo/pull/6450

 x11-misc/screengrab/Manifest               |  1 +
 x11-misc/screengrab/metadata.xml           |  7 +++---
 x11-misc/screengrab/screengrab-1.97.ebuild | 37 ++++++++++++++++++++++++++++++
 3 files changed, 41 insertions(+), 4 deletions(-)