[gentoo-commits] repo/gentoo:master commit in: kde-misc/plasma-redshift-control/, kde-misc/plasma-redshift-control/files/, ...

2020-02-11 Thread Andreas Sturmlechner
commit: 203551ddbaf4888027fbb1be53cffd49488ce8d9
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Feb 11 14:24:12 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Feb 11 14:24:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=203551dd

kde-misc/plasma-redshift-control: Remove last-rited package

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 kde-misc/plasma-redshift-control/Manifest  |  1 -
 ...ft-control-1.0.18-fix-custom-icc-profiles.patch | 39 --
 ...redshift-control-1.0.18-reset-gamma-ramps.patch | 25 --
 kde-misc/plasma-redshift-control/metadata.xml  | 11 --
 .../plasma-redshift-control-1.0.18-r1.ebuild   | 27 ---
 profiles/package.mask  |  5 ---
 6 files changed, 108 deletions(-)

diff --git a/kde-misc/plasma-redshift-control/Manifest 
b/kde-misc/plasma-redshift-control/Manifest
deleted file mode 100644
index 1dd1c1bf19d..000
--- a/kde-misc/plasma-redshift-control/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST plasma-applet-redshift-control-1.0.18.tar.gz 93744 BLAKE2B 
4e7516767ed045007d7b658917c4cea9371bda016de66ea42e3f39b0a703e599569d880cb3a76d34069e7daa266366fe8ebe01837c4f98266289474b38e52612
 SHA512 
072fe3866bdbc261e382c69ed7384063660f7667bb6630538394c3ccf55b5f17a5d0edebe5009b4b0b904d711ac30859187201a6017ef718dc9edd15253bb30b

diff --git 
a/kde-misc/plasma-redshift-control/files/plasma-redshift-control-1.0.18-fix-custom-icc-profiles.patch
 
b/kde-misc/plasma-redshift-control/files/plasma-redshift-control-1.0.18-fix-custom-icc-profiles.patch
deleted file mode 100644
index 28a1cc00cf0..000
--- 
a/kde-misc/plasma-redshift-control/files/plasma-redshift-control-1.0.18-fix-custom-icc-profiles.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 1e2a920633d7085fc4e48f1163f434525b777c5b Mon Sep 17 00:00:00 2001
-From: John Salatas 
-Date: Wed, 6 Mar 2019 14:25:28 -0800
-Subject: Preserve screen colour doesn't work as expected
-
-Summary:
-using a custom .icc profile, running redshift from a command line works good 
but the applet seems to mess with it, the preserve option doesn't work, either 
in randr mode or vidmode the .icc is ignored even if it is running in daytime.
-
-See also:
-https://github.com/kotelnik/plasma-applet-redshift-control/issues/54
-
-Reviewers: #Plasma, martinkostolny, broulik
-
-Reviewed By: broulik
-
-Subscribers: broulik, plasma-devel
-
-Tags: #plasma
-
-Differential Revision: https://phabricator.kde.org/D17249

- package/contents/ui/main.qml | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/package/contents/ui/main.qml b/package/contents/ui/main.qml
-index 2ea8fd3..268cb33 100644
 a/package/contents/ui/main.qml
-+++ b/package/contents/ui/main.qml
-@@ -96,7 +96,7 @@ Item {
- 
- function stopRedshift() {
- print('disabling redshift')
--redshiftDS.connectedSources.length = 0
-+redshiftDS.removeSource(redshiftCommand)
- redshiftDS.connectedSources.push(redshiftDS.redshiftStopSource)
- active = false
- }
--- 
-cgit v1.1

diff --git 
a/kde-misc/plasma-redshift-control/files/plasma-redshift-control-1.0.18-reset-gamma-ramps.patch
 
b/kde-misc/plasma-redshift-control/files/plasma-redshift-control-1.0.18-reset-gamma-ramps.patch
deleted file mode 100644
index 5e2b3682213..000
--- 
a/kde-misc/plasma-redshift-control/files/plasma-redshift-control-1.0.18-reset-gamma-ramps.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From a26a425145120b8e7782d0225e146fcef7b0640f Mon Sep 17 00:00:00 2001
-From: grmat 
-Date: Wed, 20 Jun 2018 10:14:40 +0200
-Subject: [PATCH] add -P switch to one-shot redshift call
-

- package/contents/ui/main.qml | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/package/contents/ui/main.qml b/package/contents/ui/main.qml
-index 2ea8fd3..38d7b8a 100644
 a/package/contents/ui/main.qml
-+++ b/package/contents/ui/main.qml
-@@ -67,7 +67,7 @@ Item {
- // - commands
- property string redshiftCommand: 'redshift' + locationCmdPart + 
modeCmdPart + ' -t ' + dayTemperature + ':' + nightTemperature + 
brightnessAndGamma + (smoothTransitions ? '' : ' -r')
- property string redshiftOneTimeBrightnessAndGamma: ' -b ' + 
(currentBrightness*0.01).toFixed(2) + ':' + (currentBrightness*0.01).toFixed(2) 
+ ' -g ' + gammaR + ':' + gammaG + ':' + gammaB
--property string redshiftOneTimeCommand: 'redshift -O ' + 
manualTemperature + redshiftOneTimeBrightnessAndGamma + ' -r'
-+property string redshiftOneTimeCommand: 'redshift -PO ' + 
manualTemperature + redshiftOneTimeBrightnessAndGamma + ' -r'
- property string redshiftPrintCommand: 'LANG=C ' + redshiftCommand + ' -p'
- 
- property bool inTray: (plasmoid.parent === null || 
plasmoid.parent.objectName === 'taskItemContainer')
--- 
-2.17.1
-

diff --git a/kde-misc/plasma-redshift-control/metadata.xml 
b/kde-misc/plasma-redshift-control/metadata.xml

[gentoo-commits] repo/gentoo:master commit in: kde-misc/plasma-redshift-control/

2019-03-30 Thread Andreas Sturmlechner
commit: fa190b0149a4968ad4a9aff34335ada9018191b9
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Thu Mar 28 21:00:30 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Mar 30 09:58:21 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa190b01

kde-misc/plasma-redshift-control: Drop 1.0.18 (r0)

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../plasma-redshift-control-1.0.18.ebuild  | 22 --
 1 file changed, 22 deletions(-)

diff --git 
a/kde-misc/plasma-redshift-control/plasma-redshift-control-1.0.18.ebuild 
b/kde-misc/plasma-redshift-control/plasma-redshift-control-1.0.18.ebuild
deleted file mode 100644
index c3e665cf1fe..000
--- a/kde-misc/plasma-redshift-control/plasma-redshift-control-1.0.18.ebuild
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_PN="plasma-applet-redshift-control"
-inherit kde5
-
-DESCRIPTION="Plasma 5 applet for controlling redshift"
-HOMEPAGE="https://store.kde.org/p/998916/;
-SRC_URI="https://github.com/kotelnik/${MY_PN}/archive/v${PV}.tar.gz -> 
${MY_PN}-${PV}.tar.gz"
-
-LICENSE="GPL-2+"
-KEYWORDS="amd64"
-IUSE=""
-
-DEPEND="$(add_frameworks_dep plasma)"
-RDEPEND="${DEPEND}
-   x11-misc/redshift
-"
-
-S="${WORKDIR}/${MY_PN}-${PV}"



[gentoo-commits] repo/gentoo:master commit in: kde-misc/plasma-redshift-control/, kde-misc/plasma-redshift-control/files/

2019-03-24 Thread Andreas Sturmlechner
commit: 9538f2dfaa10fa9bc7015380e3bbb5defde3deef
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Mar 24 22:21:00 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Mar 24 23:01:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9538f2df

kde-misc/plasma-redshift-control: EAPI-7 bump, fix with redshift-1.12

Systray icon scrollwheel adjustment only worked in one direction without -P
param.

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 ...ft-control-1.0.18-fix-custom-icc-profiles.patch | 39 ++
 ...redshift-control-1.0.18-reset-gamma-ramps.patch | 25 ++
 .../plasma-redshift-control-1.0.18-r1.ebuild   | 27 +++
 3 files changed, 91 insertions(+)

diff --git 
a/kde-misc/plasma-redshift-control/files/plasma-redshift-control-1.0.18-fix-custom-icc-profiles.patch
 
b/kde-misc/plasma-redshift-control/files/plasma-redshift-control-1.0.18-fix-custom-icc-profiles.patch
new file mode 100644
index 000..28a1cc00cf0
--- /dev/null
+++ 
b/kde-misc/plasma-redshift-control/files/plasma-redshift-control-1.0.18-fix-custom-icc-profiles.patch
@@ -0,0 +1,39 @@
+From 1e2a920633d7085fc4e48f1163f434525b777c5b Mon Sep 17 00:00:00 2001
+From: John Salatas 
+Date: Wed, 6 Mar 2019 14:25:28 -0800
+Subject: Preserve screen colour doesn't work as expected
+
+Summary:
+using a custom .icc profile, running redshift from a command line works good 
but the applet seems to mess with it, the preserve option doesn't work, either 
in randr mode or vidmode the .icc is ignored even if it is running in daytime.
+
+See also:
+https://github.com/kotelnik/plasma-applet-redshift-control/issues/54
+
+Reviewers: #Plasma, martinkostolny, broulik
+
+Reviewed By: broulik
+
+Subscribers: broulik, plasma-devel
+
+Tags: #plasma
+
+Differential Revision: https://phabricator.kde.org/D17249
+---
+ package/contents/ui/main.qml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/package/contents/ui/main.qml b/package/contents/ui/main.qml
+index 2ea8fd3..268cb33 100644
+--- a/package/contents/ui/main.qml
 b/package/contents/ui/main.qml
+@@ -96,7 +96,7 @@ Item {
+ 
+ function stopRedshift() {
+ print('disabling redshift')
+-redshiftDS.connectedSources.length = 0
++redshiftDS.removeSource(redshiftCommand)
+ redshiftDS.connectedSources.push(redshiftDS.redshiftStopSource)
+ active = false
+ }
+-- 
+cgit v1.1

diff --git 
a/kde-misc/plasma-redshift-control/files/plasma-redshift-control-1.0.18-reset-gamma-ramps.patch
 
b/kde-misc/plasma-redshift-control/files/plasma-redshift-control-1.0.18-reset-gamma-ramps.patch
new file mode 100644
index 000..5e2b3682213
--- /dev/null
+++ 
b/kde-misc/plasma-redshift-control/files/plasma-redshift-control-1.0.18-reset-gamma-ramps.patch
@@ -0,0 +1,25 @@
+From a26a425145120b8e7782d0225e146fcef7b0640f Mon Sep 17 00:00:00 2001
+From: grmat 
+Date: Wed, 20 Jun 2018 10:14:40 +0200
+Subject: [PATCH] add -P switch to one-shot redshift call
+
+---
+ package/contents/ui/main.qml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/package/contents/ui/main.qml b/package/contents/ui/main.qml
+index 2ea8fd3..38d7b8a 100644
+--- a/package/contents/ui/main.qml
 b/package/contents/ui/main.qml
+@@ -67,7 +67,7 @@ Item {
+ // - commands
+ property string redshiftCommand: 'redshift' + locationCmdPart + 
modeCmdPart + ' -t ' + dayTemperature + ':' + nightTemperature + 
brightnessAndGamma + (smoothTransitions ? '' : ' -r')
+ property string redshiftOneTimeBrightnessAndGamma: ' -b ' + 
(currentBrightness*0.01).toFixed(2) + ':' + (currentBrightness*0.01).toFixed(2) 
+ ' -g ' + gammaR + ':' + gammaG + ':' + gammaB
+-property string redshiftOneTimeCommand: 'redshift -O ' + 
manualTemperature + redshiftOneTimeBrightnessAndGamma + ' -r'
++property string redshiftOneTimeCommand: 'redshift -PO ' + 
manualTemperature + redshiftOneTimeBrightnessAndGamma + ' -r'
+ property string redshiftPrintCommand: 'LANG=C ' + redshiftCommand + ' -p'
+ 
+ property bool inTray: (plasmoid.parent === null || 
plasmoid.parent.objectName === 'taskItemContainer')
+-- 
+2.17.1
+

diff --git 
a/kde-misc/plasma-redshift-control/plasma-redshift-control-1.0.18-r1.ebuild 
b/kde-misc/plasma-redshift-control/plasma-redshift-control-1.0.18-r1.ebuild
new file mode 100644
index 000..86113c45781
--- /dev/null
+++ b/kde-misc/plasma-redshift-control/plasma-redshift-control-1.0.18-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="plasma-applet-redshift-control"
+inherit kde5
+
+DESCRIPTION="Plasma 5 applet for controlling redshift"
+HOMEPAGE="https://store.kde.org/p/998916/;
+SRC_URI="https://github.com/kotelnik/${MY_PN}/archive/v${PV}.tar.gz -> 
${MY_PN}-${PV}.tar.gz"
+
+LICENSE="GPL-2+"

[gentoo-commits] repo/gentoo:master commit in: kde-misc/plasma-redshift-control/

2018-10-28 Thread Andreas Sturmlechner
commit: 3c92eec056b6922a66ef99d5842af1ded55530fa
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Oct 28 16:08:33 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Oct 28 16:08:51 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c92eec0

kde-misc/plasma-redshift-control: amd64 stable

Signed-off-by: Andreas Sturmlechner  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 .../plasma-redshift-control/plasma-redshift-control-1.0.18.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/kde-misc/plasma-redshift-control/plasma-redshift-control-1.0.18.ebuild 
b/kde-misc/plasma-redshift-control/plasma-redshift-control-1.0.18.ebuild
index 58c6b6ace47..c3e665cf1fe 100644
--- a/kde-misc/plasma-redshift-control/plasma-redshift-control-1.0.18.ebuild
+++ b/kde-misc/plasma-redshift-control/plasma-redshift-control-1.0.18.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ HOMEPAGE="https://store.kde.org/p/998916/;
 SRC_URI="https://github.com/kotelnik/${MY_PN}/archive/v${PV}.tar.gz -> 
${MY_PN}-${PV}.tar.gz"
 
 LICENSE="GPL-2+"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 IUSE=""
 
 DEPEND="$(add_frameworks_dep plasma)"



[gentoo-commits] repo/gentoo:master commit in: kde-misc/plasma-redshift-control/, profiles/updates/, ...

2018-02-06 Thread Andreas Sturmlechner
commit: f708847301ccd20d3103b28a9bb7a1401f254e2f
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Feb  5 22:55:21 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Feb  6 10:15:31 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7088473

kde-misc/plasma-applet-redshift-control: move to plasma-redshift-control

 .../Manifest | 0
 .../metadata.xml | 0
 .../plasma-redshift-control-1.0.18.ebuild}   | 9 ++---
 profiles/updates/1Q-2018 | 1 +
 4 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/kde-misc/plasma-applet-redshift-control/Manifest 
b/kde-misc/plasma-redshift-control/Manifest
similarity index 100%
rename from kde-misc/plasma-applet-redshift-control/Manifest
rename to kde-misc/plasma-redshift-control/Manifest

diff --git a/kde-misc/plasma-applet-redshift-control/metadata.xml 
b/kde-misc/plasma-redshift-control/metadata.xml
similarity index 100%
rename from kde-misc/plasma-applet-redshift-control/metadata.xml
rename to kde-misc/plasma-redshift-control/metadata.xml

diff --git 
a/kde-misc/plasma-applet-redshift-control/plasma-applet-redshift-control-1.0.18.ebuild
 b/kde-misc/plasma-redshift-control/plasma-redshift-control-1.0.18.ebuild
similarity index 50%
rename from 
kde-misc/plasma-applet-redshift-control/plasma-applet-redshift-control-1.0.18.ebuild
rename to kde-misc/plasma-redshift-control/plasma-redshift-control-1.0.18.ebuild
index 6292492dca6..58c6b6ace47 100644
--- 
a/kde-misc/plasma-applet-redshift-control/plasma-applet-redshift-control-1.0.18.ebuild
+++ b/kde-misc/plasma-redshift-control/plasma-redshift-control-1.0.18.ebuild
@@ -1,13 +1,14 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
+MY_PN="plasma-applet-redshift-control"
 inherit kde5
 
 DESCRIPTION="Plasma 5 applet for controlling redshift"
-HOMEPAGE="http://kde-apps.org/content/show.php/Redshift+Control?content=170746 
https://github.com/kotelnik/plasma-applet-redshift-control/;
-SRC_URI="https://github.com/kotelnik/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+HOMEPAGE="https://store.kde.org/p/998916/;
+SRC_URI="https://github.com/kotelnik/${MY_PN}/archive/v${PV}.tar.gz -> 
${MY_PN}-${PV}.tar.gz"
 
 LICENSE="GPL-2+"
 KEYWORDS="~amd64"
@@ -17,3 +18,5 @@ DEPEND="$(add_frameworks_dep plasma)"
 RDEPEND="${DEPEND}
x11-misc/redshift
 "
+
+S="${WORKDIR}/${MY_PN}-${PV}"

diff --git a/profiles/updates/1Q-2018 b/profiles/updates/1Q-2018
index 17164482073..6c2aef30c13 100644
--- a/profiles/updates/1Q-2018
+++ b/profiles/updates/1Q-2018
@@ -4,3 +4,4 @@ move dev-cpp/gsl dev-cpp/ms-gsl
 slotmove =dev-util/cucumber-3.1.0 3.0 3.1
 move app-admin/restart_services app-admin/restart-services
 move dev-libs/purpose kde-frameworks/purpose
+move kde-misc/plasma-applet-redshift-control kde-misc/plasma-redshift-control