Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 507062 - x11-misc/redshift-1.9 version bump
Summary: x11-misc/redshift-1.9 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: Sebastian Pipping
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2014-04-07 18:10 UTC by Bohdan Trach
Modified: 2014-04-13 15:10 UTC (History)
2 users (show)

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


Attachments
Redshift 1.9 ebuild (redshift-1.9.ebuild,1.58 KB, text/plain)
2014-04-07 18:10 UTC, Bohdan Trach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bohdan Trach 2014-04-07 18:10:54 UTC
Created attachment 374492 [details]
Redshift 1.9 ebuild

Please add ebuild for x11-misc/redshift version 1.9:
https://github.com/jonls/redshift/releases/tag/v1.9

The GTK GUI now requires python>=3.2, and there is a new correction method which requires libdrm. The ebuild I used in local overlay is attached.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-04-07 18:15:33 UTC
Comment on attachment 374492 [details]
Redshift 1.9 ebuild

--- redshift-1.8.ebuild 2014-01-23 14:46:27.442069555 +0100
+++ -   2014-04-07 20:15:21.716458185 +0200
@@ -1,9 +1,8 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/redshift/redshift-1.8.ebuild,v 1.2 2014/01/21 22:45:34 eva Exp $
 
 EAPI=5
-PYTHON_COMPAT=( python{2_6,2_7} )
+PYTHON_COMPAT=( python3_3 )
 
 inherit autotools eutils gnome2-utils python-r1
 
@@ -19,6 +18,7 @@
 COMMON_DEPEND=">=x11-libs/libX11-1.4
        x11-libs/libXxf86vm
        x11-libs/libxcb
+       x11-libs/libdrm
        geoclue? ( app-misc/geoclue:0 )
        gnome? ( dev-libs/glib:2
                >=gnome-base/gconf-2 )
@@ -60,9 +60,9 @@
        if use gtk; then
                python_foreach_impl _impl_specific_src_install
                python_replicate_script "${D}"/usr/bin/redshift-gtk
+               dosym redshift-gtk /usr/bin/gtk-redshift
        fi
 
-       dosym redshift-gtk /usr/bin/gtk-redshift
 }
 
 pkg_preinst() {
Comment 2 Sebastian Pipping gentoo-dev 2014-04-13 15:10:09 UTC
Bumped, thanks for the ebuild diff hints.

Added masked due to https://github.com/jonls/redshift/issues/68 .