Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317291 - New ebuild for kde-misc/nightmode
Summary: New ebuild for kde-misc/nightmode
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo KDE team
URL: http://kde-apps.org/content/show.php?...
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2010-04-26 11:32 UTC by Ciprian Ciubotariu
Modified: 2011-01-20 20:56 UTC (History)
0 users

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


Attachments
tha ebuild (nightmode-0.1.ebuild,427 bytes, text/plain)
2010-04-26 11:35 UTC, Ciprian Ciubotariu
Details
ebuild for nightmode-0.2 (nightmode-0.2.ebuild,436 bytes, text/plain)
2011-01-19 00:26 UTC, Ciprian Ciubotariu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ciprian Ciubotariu 2010-04-26 11:32:58 UTC
Nightmode is a kwin plugin that makes the entire screen darker. The reason behind this for when you are using the laptop at night, either outside or in bed - and find that even on the darkest screen backlight level the screen is way too bright. 
 
 The plugin can be turned on or off by a simple key combination, and the amount of dimming can be configured.

Reproducible: Always

Steps to Reproduce:




Working (and useful) on my amd64 notebook.
Comment 1 Ciprian Ciubotariu 2010-04-26 11:35:45 UTC
Created attachment 229223 [details]
tha ebuild

The package unpacks into ${WORKDIR}/nightmode, and I simply renamed it into nightmode-0.1. Not sure if that conforms to your ebuild coding standards.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-04-26 11:42:35 UTC
remove the src_unpack() function and add

  S="${WORKDIR}/${PN}"

instead. 
SLOT should be 0, not 4
Replace 

  SRC_URI="http://www.sharpley.org.uk/pages/software/nightmode/nightmode_0.1.tar.gz"

with

SRC_URI="http://www.sharpley.org.uk/pages/software/${PN}/${PN}_${PV}.tar.gz"
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2010-11-12 22:48:30 UTC
In the kde overlay as kde-misc/nightmode-0.2
Please test; after some positive feedback it will move to the main tree...
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2011-01-14 22:22:48 UTC
The sourcecode has unfortunately disappeared.
Comment 5 Ciprian Ciubotariu 2011-01-19 00:18:28 UTC
I have posted a message to the developer and apparently he messed up his website for a while.

I'll also attach the ebuild for nightmode-0.2.

Thanks.
Comment 6 Ciprian Ciubotariu 2011-01-19 00:26:30 UTC
Created attachment 260220 [details]
ebuild for nightmode-0.2
Comment 7 Ciprian Ciubotariu 2011-01-19 00:33:42 UTC
Also, to speed things up a little, here is the link to the source of this nice plugin:

http://kde-apps.org/content/show.php/Nightmode?content=123805
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2011-01-20 20:56:43 UTC
In tree. Thank you!