Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 588430 - media-gfx/scrot-1.2 version bump
Summary: media-gfx/scrot-1.2 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: Gentoo Graphics Project
URL: https://github.com/resurrecting-open-...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2016-07-09 12:24 UTC by Coacher
Modified: 2019-11-05 09:29 UTC (History)
2 users (show)

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


Attachments
Version bump patch (scrotbump.diff,591 bytes, patch)
2016-12-07 05:24 UTC, Sage Raflik
Details | Diff
scrot-1.2.ebuild (scrot-1.2.ebuild,845 bytes, text/plain)
2019-10-23 15:25 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Coacher 2016-07-09 12:24:34 UTC
Please bump.
Comment 1 Sage Raflik 2016-12-07 05:24:57 UTC
Created attachment 455314 [details, diff]
Version bump patch

This is a patch to the ebuild to update it to p17. The only thing that had to be changed was changing the path from .gz to .xz.
Comment 2 Piotr Zatoń 2018-01-04 15:47:08 UTC
>One year later

Come on, guys.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2019-10-22 20:25:01 UTC
Debian is now using newer sources from a fork[1].



[1] https://github.com/resurrecting-open-source-projects/scrot
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2019-10-23 15:25:55 UTC
Created attachment 593698 [details]
scrot-1.2.ebuild

--- scrot-0.8_p13-r1.ebuild
+++ scrot-1.2.ebuild
@@ -1,38 +1,41 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2

-EAPI=5
-
-MY_PV=${PV/_p/-}
-
-inherit bash-completion-r1 eutils
+EAPI=7
+inherit autotools bash-completion-r1

 DESCRIPTION="Screen capture utility using imlib2 library"
-HOMEPAGE="http://scrot.sourcearchive.com/"
-SRC_URI="http://${PN}.sourcearchive.com/downloads/${MY_PV}/${PN}_0.8.orig.tar.gz
-       http://${PN}.sourcearchive.com/downloads/${MY_PV}/${PN}_${MY_PV}.debian.tar.gz"
+HOMEPAGE="
+       http://scrot.sourcearchive.com/
+       https://github.com/resurrecting-open-source-projects/scrot
+"
+SRC_URI="https://github.com/resurrecting-open-source-projects/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"

 LICENSE="feh LGPL-2+"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 ~hppa ppc ppc64 ~sh sparc x86"
-IUSE=""
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sh ~sparc ~x86"

-RDEPEND=">=media-libs/imlib2-1.0.3
+RDEPEND="
        >=media-libs/giblib-1.2.3
-       || ( media-libs/imlib2[gif] media-libs/imlib2[jpeg] media-libs/imlib2[png] )"
-DEPEND="${RDEPEND}"
-
-S=${WORKDIR}/${PN}-0.8
+       x11-libs/libX11
+       x11-libs/libXcursor
+       x11-libs/libXfixes
+"
+DEPEND="
+       ${RDEPEND}
+       x11-base/xorg-proto
+"
+DOCS=(
+       AUTHORS ChangeLog CONTRIBUTING.md README TODO
+)

 src_prepare() {
-       local d=${WORKDIR}/debian/patches
-       EPATCH_SOURCE=${d} epatch $(<"${d}"/series)
+       default
+       eautoreconf
 }

 src_install() {
-       emake DESTDIR="${D}" install
-       rm -r "${ED}"/usr/doc || die
-       dodoc AUTHORS ChangeLog
+       default

        newbashcomp "${FILESDIR}"/${PN}.bash-completion ${PN}
 }


It doesn't fix bug #537184 (it just removes the funky dependencies).
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2019-10-23 15:27:42 UTC
(In reply to Jeroen Roovers from comment #4)

> +HOMEPAGE="
> +       http://scrot.sourcearchive.com/

Could remove that URI as the entire site has disappeared.
Comment 6 Larry the Git Cow gentoo-dev 2019-11-05 09:29:47 UTC
The bug has been closed via the following commit(s):

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

commit c35534ef9174e6bb9fca609ce671d75c6125d763
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2019-11-05 09:26:03 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2019-11-05 09:29:44 +0000

    media-gfx/scrot: Version 1.2
    
    Package-Manager: Portage-2.3.78, Repoman-2.3.17
    Fixes:  https://bugs.gentoo.org/show_bug.cgi?id=588430
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 media-gfx/scrot/Manifest                        |  1 +
 media-gfx/scrot/files/scrot-1.2.bash-completion | 41 +++++++++++++++++++++++
 media-gfx/scrot/metadata.xml                    |  3 ++
 media-gfx/scrot/scrot-1.2.ebuild                | 44 +++++++++++++++++++++++++
 4 files changed, 89 insertions(+)