summaryrefslogtreecommitdiff
path: root/x11-misc
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2016-08-29 02:13:16 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2016-08-29 02:13:16 +0300
commit3769c09eccbec095118fc3f68acabacaf7691111 (patch)
treefbb2a8298ca06c124e9ecefb9df8e74553aefdba /x11-misc
parentb10386a73a33a815857bb0f66ffe9409c525ee59 (diff)
redshift with python3_5 target
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/redshift/ChangeLog93
-rw-r--r--x11-misc/redshift/ChangeLog-2015156
-rw-r--r--x11-misc/redshift/metadata.xml18
-rw-r--r--x11-misc/redshift/redshift-1.11-r1.ebuild86
4 files changed, 353 insertions, 0 deletions
diff --git a/x11-misc/redshift/ChangeLog b/x11-misc/redshift/ChangeLog
new file mode 100644
index 0000000..86cc3b3
--- /dev/null
+++ b/x11-misc/redshift/ChangeLog
@@ -0,0 +1,93 @@
+# ChangeLog for x11-misc/redshift
+# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2
+# (auto-generated from git log)
+
+*redshift-1.10 (09 Aug 2015)
+*redshift-1.9.1-r2 (09 Aug 2015)
+*redshift-1.9.1-r1 (09 Aug 2015)
+*redshift-1.9.1 (09 Aug 2015)
+*redshift-1.7-r1 (09 Aug 2015)
+*redshift-1.7 (09 Aug 2015)
+
+ 09 Aug 2015; Robin H. Johnson <robbat2@gentoo.org>
+ +files/1.6-bonoboiidfix.patch, +files/redshift-1.7-make-conditionals.patch,
+ +files/redshift-1.9-toggle.patch, +metadata.xml, +redshift-1.7.ebuild,
+ +redshift-1.7-r1.ebuild, +redshift-1.9.1.ebuild, +redshift-1.9.1-r1.ebuild,
+ +redshift-1.9.1-r2.ebuild, +redshift-1.10.ebuild:
+ proj/gentoo: Initial commit
+
+ This commit represents a new era for Gentoo:
+ Storing the gentoo-x86 tree in Git, as converted from CVS.
+
+ This commit is the start of the NEW history.
+ Any historical data is intended to be grafted onto this point.
+
+ Creation process:
+ 1. Take final CVS checkout snapshot
+ 2. Remove ALL ChangeLog* files
+ 3. Transform all Manifests to thin
+ 4. Remove empty Manifests
+ 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
+ 5.1. Do not touch files with -kb/-ko keyword flags.
+
+ Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
+ X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration
+ tests
+ X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this
+ project
+ X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo
+ developer, wrote Git features for the migration
+ X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve
+ cvs2svn
+ X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
+ X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014
+ work in migration
+ X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
+ X-Thanks: All of other Gentoo developers - many ideas and lots of paint on
+ the bikeshed
+
+ 24 Aug 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
+ Use https by default
+
+ Convert all URLs for sites supporting encrypted connections from http to
+ https
+
+ Signed-off-by: Justin Lecher <jlec@gentoo.org>
+
+ 24 Aug 2015; Justin Lecher <jlec@gentoo.org> redshift-1.7.ebuild,
+ redshift-1.7-r1.ebuild:
+ Convert all URIs for launchpad.net from http to https
+
+ Signed-off-by: Justin Lecher <jlec@gentoo.org>
+
+ 24 Aug 2015; Mike Gilbert <floppym@gentoo.org> metadata.xml:
+ Revert DOCTYPE SYSTEM https changes in metadata.xml
+
+ repoman does not yet accept the https version.
+ This partially reverts eaaface92ee81f30a6ac66fe7acbcc42c00dc450.
+
+ Bug: https://bugs.gentoo.org/552720
+
+ 13 Sep 2015; Manuel Rüger <mrueg@gentoo.org> -files/1.6-bonoboiidfix.patch,
+ -files/redshift-1.7-make-conditionals.patch,
+ -files/redshift-1.9-toggle.patch, -redshift-1.7.ebuild,
+ -redshift-1.7-r1.ebuild, -redshift-1.9.1.ebuild, -redshift-1.9.1-r1.ebuild,
+ -redshift-1.9.1-r2.ebuild:
+ Remove old
+
+ Package-Manager: portage-2.2.20.1
+
+*redshift-1.11 (03 Jan 2016)
+
+ 03 Jan 2016; Sebastian Pipping <sping@gentoo.org> +redshift-1.11.ebuild:
+ 1.11 (bug #568164)
+
+ 24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
+ Replace all herds with appropriate projects (GLEP 67)
+
+ Replace all uses of herd with appropriate project maintainers, or no
+ maintainers in case of herds requested to be disbanded.
+
+ 24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
+ Set appropriate maintainer types in metadata.xml (GLEP 67)
+
diff --git a/x11-misc/redshift/ChangeLog-2015 b/x11-misc/redshift/ChangeLog-2015
new file mode 100644
index 0000000..b7766ad
--- /dev/null
+++ b/x11-misc/redshift/ChangeLog-2015
@@ -0,0 +1,156 @@
+# ChangeLog for x11-misc/redshift
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/redshift/ChangeLog,v 1.35 2015/04/19 09:52:12 pacho Exp $
+
+ 19 Apr 2015; Pacho Ramos <pacho@gentoo.org> redshift-1.10.ebuild:
+ x86 stable wrt bug #539056
+
+ 08 Apr 2015; Michał Górny <mgorny@gentoo.org> redshift-1.10.ebuild,
+ redshift-1.7-r1.ebuild, redshift-1.9.1-r1.ebuild, redshift-1.9.1-r2.ebuild,
+ redshift-1.9.1.ebuild:
+ Drop old Python implementations
+
+ 27 Mar 2015; Agostino Sarubbo <ago@gentoo.org> redshift-1.10.ebuild:
+ Stable for amd64, wrt bug #539056
+
+*redshift-1.10 (26 Jan 2015)
+
+ 26 Jan 2015; Sebastian Pipping <sping@gentoo.org> +redshift-1.10.ebuild:
+ Bump to 1.10 (bug #537678)
+
+*redshift-1.9.1-r2 (15 Dec 2014)
+
+ 15 Dec 2014; Sebastian Pipping <sping@gentoo.org> +redshift-1.9.1-r2.ebuild:
+ Install systemd units provided by upstream (bug #532578)
+
+ 17 Nov 2014; Sebastian Pipping <sping@gentoo.org> redshift-1.9.1-r1.ebuild,
+ metadata.xml:
+ Add appindicator use flag (patch by Marek Pikuła)
+
+*redshift-1.9.1-r1 (01 Nov 2014)
+
+ 01 Nov 2014; Sebastian Pipping <sping@gentoo.org> +redshift-1.9.1-r1.ebuild:
+ Require GTK+ 3.x with introspection (bug #527540)
+
+ 01 Nov 2014; Sebastian Pipping <sping@gentoo.org> -redshift-1.4.1.ebuild,
+ -redshift-1.6-r1.ebuild, -redshift-1.8.ebuild, -redshift-1.9-r1.ebuild:
+ Remove old versions
+
+ 05 Oct 2014; Manuel Rüger <mrueg@gentoo.org> redshift-1.9.1.ebuild:
+ Mark stable on amd64. Bug #521320
+
+ 09 Sep 2014; Patrick Lauer <patrick@gentoo.org> redshift-1.9.1.ebuild:
+ Add py3.4 support
+
+ 06 Sep 2014; Sebastian Pipping <sping@gentoo.org> redshift-1.9-r1.ebuild:
+ Unlock support for Python 3.4 (bug #521904)
+
+*redshift-1.9.1 (26 Jul 2014)
+
+ 26 Jul 2014; Sebastian Pipping <sping@gentoo.org> +redshift-1.9.1.ebuild:
+ Bump to 1.9.1 (bug #518058)
+
+*redshift-1.9-r1 (13 Apr 2014)
+
+ 13 Apr 2014; Sebastian Pipping <sping@gentoo.org> -redshift-1.9.ebuild,
+ +redshift-1.9-r1.ebuild, +files/redshift-1.9-toggle.patch:
+ Apply upstream patch for upstream bug #68
+
+*redshift-1.9 (13 Apr 2014)
+
+ 13 Apr 2014; Sebastian Pipping <sping@gentoo.org> +redshift-1.9.ebuild:
+ Bump to 1.9 (bug #507062)
+
+ 21 Jan 2014; Gilles Dartiguelongue <eva@gentoo.org> redshift-1.7.ebuild,
+ redshift-1.7-r1.ebuild, redshift-1.8.ebuild:
+ Pin geoclue dependency to slot 0.
+
+*redshift-1.8 (23 Oct 2013)
+
+ 23 Oct 2013; Sebastian Pipping <sping@gentoo.org> +redshift-1.8.ebuild:
+ Bump to 1.8 (bug #489182)
+
+ 17 Feb 2013; Sebastian Pipping <sping@gentoo.org> redshift-1.7-r1.ebuild:
+ Migrate to python-r1 (bug #440180). Thanks for the initial patch to Michał
+ Górny
+
+ 16 Aug 2012; Julian Ospald <hasufell@gentoo.org> redshift-1.7-r1.ebuild:
+ fix build for -gtk wrt #431646
+
+ 23 Jul 2012; Julian Ospald <hasufell@gentoo.org> redshift-1.7-r1.ebuild:
+ remove obsolete die
+
+ 23 Jul 2012; Julian Ospald <hasufell@gentoo.org> redshift-1.7-r1.ebuild,
+ -files/redshift-1.7-python-abi.patch:
+ handle python-abi stuff without patch
+
+ 21 Jul 2012; Julian Ospald <hasufell@gentoo.org> redshift-1.7-r1.ebuild,
+ +files/redshift-1.7-python-abi.patch:
+ support multiple python abis, force build output verbose, bump to eapi=4,
+ minor changes
+
+*redshift-1.7-r1 (20 Jul 2012)
+
+ 20 Jul 2012; Sebastian Pipping <sping@gentoo.org> +redshift-1.7-r1.ebuild,
+ +files/redshift-1.7-make-conditionals.patch:
+ No longer install .svg files for USE=-gtk (bug #427156)
+ The patch has been written with upstream in mind.
+
+ 28 Jan 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> redshift-1.7.ebuild:
+ x86 stable wrt bug #398905
+
+ 17 Jan 2012; Agostino Sarubbo <ago@gentoo.org> redshift-1.7.ebuild:
+ Stable for amd64, wrt bug #398905
+
+ 14 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> redshift-1.7.ebuild:
+ Empty the py-compile script instead of symlinking it for compability with
+ automake-1.11.2.
+
+ 28 Jul 2011; Sebastian Pipping <sping@gentoo.org> redshift-1.7.ebuild:
+ Add missing dependency app-misc/geoclue
+
+*redshift-1.7 (28 Jul 2011)
+
+ 28 Jul 2011; Sebastian Pipping <sping@gentoo.org> +redshift-1.7.ebuild,
+ metadata.xml:
+ Bump to 1.7. Patch got applied upstream, geoclue support added
+
+*redshift-1.6-r1 (04 May 2011)
+
+ 04 May 2011; Kacper Kowalik <xarthisius@gentoo.org>
+ +files/1.6-bonoboiidfix.patch, -redshift-1.5.ebuild, -redshift-1.6.ebuild,
+ +redshift-1.6-r1.ebuild:
+ Apply patch for >gnome-2.30 wrt bug 365481 by Anton Bolshakov
+ <anton.bugs@gmail.com>. Drop old.
+
+*redshift-1.6 (21 Feb 2011)
+
+ 21 Feb 2011; Samuli Suominen <ssuominen@gentoo.org> +redshift-1.6.ebuild:
+ Version bump wrt #345687 by Anton Bolshakov.
+
+ 21 Sep 2010; Tomáš Chvátal <scarabeus@gentoo.org>
+ redshift-1.4.1.ebuild, redshift-1.5.ebuild:
+ Update the dep on libX11 this time using proper version.
+
+ 09 Sep 2010; Tomáš Chvátal <scarabeus@gentoo.org>
+ redshift-1.4.1.ebuild, redshift-1.5.ebuild:
+ Update deps on libX11[xcb].
+
+*redshift-1.5 (30 Aug 2010)
+
+ 30 Aug 2010; Dror Levin <spatz@gentoo.org> +redshift-1.5.ebuild:
+ Version bump.
+
+ 31 Jul 2010; Markos Chandras <hwoarang@gentoo.org> redshift-1.4.1.ebuild:
+ Stable on amd64 wrt bug #330347
+
+ 30 Jul 2010; Christian Faulhammer <fauli@gentoo.org>
+ redshift-1.4.1.ebuild:
+ stable x86, bug 330347
+
+*redshift-1.4.1 (19 Jun 2010)
+
+ 19 Jun 2010; Samuli Suominen <ssuominen@gentoo.org>
+ +redshift-1.4.1.ebuild:
+ Initial commit wrt #303173 by Peter Gantner, Kacper Kowalik and Joshua
+ Rich.
diff --git a/x11-misc/redshift/metadata.xml b/x11-misc/redshift/metadata.xml
new file mode 100644
index 0000000..53984fc
--- /dev/null
+++ b/x11-misc/redshift/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>sping@gentoo.org</email>
+ </maintainer>
+ <maintainer type="project">
+ <email>desktop-misc@gentoo.org</email>
+ <name>Gentoo Desktop Miscellaneous Project</name>
+ </maintainer>
+ <use>
+ <flag name="appindicator">Enable usage of <pkg>dev-libs/libappindicator</pkg> to export menu options in to unity and KDE 5</flag>
+ <flag name="geoclue">Control dependency on <pkg>app-misc/geoclue</pkg></flag>
+ </use>
+ <upstream>
+ <remote-id type="github">jonls/redshift</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/redshift/redshift-1.11-r1.ebuild b/x11-misc/redshift/redshift-1.11-r1.ebuild
new file mode 100644
index 0000000..ebd8280
--- /dev/null
+++ b/x11-misc/redshift/redshift-1.11-r1.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{3_3,3_4,3_5} )
+
+inherit systemd autotools eutils gnome2-utils python-r1
+
+DESCRIPTION="A screen color temperature adjusting software"
+HOMEPAGE="http://jonls.dk/redshift/"
+SRC_URI="https://github.com/jonls/redshift/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="appindicator geoclue gtk nls"
+
+COMMON_DEPEND=">=x11-libs/libX11-1.4
+ x11-libs/libXxf86vm
+ x11-libs/libxcb
+ x11-libs/libdrm
+ geoclue? ( app-misc/geoclue:2.0 dev-libs/glib:2 )
+ gtk? ( ${PYTHON_DEPS} )"
+RDEPEND="${COMMON_DEPEND}
+ gtk? ( dev-python/pygobject[${PYTHON_USEDEP}]
+ x11-libs/gtk+:3[introspection]
+ dev-python/pyxdg[${PYTHON_USEDEP}] )"
+DEPEND="${COMMON_DEPEND}
+ >=dev-util/intltool-0.50
+ nls? ( sys-devel/gettext )
+ appindicator? ( dev-libs/libappindicator )
+"
+
+src_prepare() {
+ epatch_user
+ eautoreconf
+}
+
+src_configure() {
+ python_export_best
+
+ econf \
+ --disable-silent-rules \
+ $(use_enable nls) \
+ --enable-drm \
+ --enable-randr \
+ --enable-vidmode \
+ --disable-wingdi \
+ \
+ --disable-corelocation \
+ --disable-geoclue \
+ $(use_enable geoclue geoclue2) \
+ \
+ $(use_enable gtk gui) \
+ --with-systemduserunitdir="$(systemd_get_userunitdir)" \
+ --disable-quartz \
+ --disable-ubuntu
+}
+
+_impl_specific_src_install() {
+ emake DESTDIR="${D}" pythondir="$(python_get_sitedir)" \
+ -C src/redshift-gtk install
+}
+
+src_install() {
+ emake DESTDIR="${D}" UPDATE_ICON_CACHE=/bin/true install
+
+ 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
+}
+
+pkg_preinst() {
+ use gtk && gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ use gtk && gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ use gtk && gnome2_icon_cache_update
+}