Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 204428 - media-video/nvclock-0.8_beta4 64bit support
Summary: media-video/nvclock-0.8_beta4 64bit support
Status: RESOLVED REMIND
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest enhancement (vote)
Assignee: Jeroen Roovers (RETIRED)
URL: http://www.linuxhardware.org/nvclock/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-05 14:51 UTC by Vladimir Smirnov (RETIRED)
Modified: 2009-07-28 17:47 UTC (History)
14 users (show)

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


Attachments
nvclock-0.8_beta3.ebuild (nvclock-0.8_beta3.ebuild,1.57 KB, text/plain)
2008-01-06 06:48 UTC, Vladimir Smirnov (RETIRED)
Details
nvclock with makefile patch fix for x86_64 arch (nvclock-0.8_beta3.ebuild,1.61 KB, text/plain)
2008-01-11 00:11 UTC, Jeremy Sermersheim
Details
nvclock 64bit Makefile patch (nvclock_makefile.patch,1.21 KB, patch)
2008-01-11 00:12 UTC, Jeremy Sermersheim
Details | Diff
Makefile.in patch (nvclock-0.8_beta3-makefile.diff,1.06 KB, patch)
2008-09-25 15:29 UTC, Michał Górny
Details | Diff
Fix few fails in src/gtk (nvclock-0.8_beta3-qa.diff,1.33 KB, patch)
2008-09-25 15:44 UTC, Michał Górny
Details | Diff
modified ebuild with both patches and obsolete stuff removed (nvclock-0.8_beta3.ebuild,1.20 KB, text/plain)
2008-09-25 15:54 UTC, Michał Górny
Details
Live ebuild (nvclock-9999.ebuild,1.28 KB, text/plain)
2008-12-30 01:59 UTC, Peter Fern
Details
Smartdimmer installation patch (nvclock-9999_smartdimmer.patch,655 bytes, patch)
2008-12-30 02:01 UTC, Peter Fern
Details | Diff
Adds options to smoothly fade on brightness change (nvclock-9999_smartdimmer-fade.patch,5.67 KB, patch)
2008-12-30 05:17 UTC, Peter Fern
Details | Diff
Live ebuild with fade support (nvclock-9999-r1.ebuild,1.62 KB, text/plain)
2008-12-30 05:18 UTC, Peter Fern
Details
Version bump to 0.8_beta4 (nvclock-0.8_beta4.ebuild,1.51 KB, text/plain)
2009-01-14 20:49 UTC, Nico Klinck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Smirnov (RETIRED) gentoo-dev 2008-01-05 14:51:24 UTC
Renamed ebuild of nvclock-0.8_beta2 seems to work.
Comment 1 Vladimir Smirnov (RETIRED) gentoo-dev 2008-01-06 06:48:17 UTC
Created attachment 140252 [details]
nvclock-0.8_beta3.ebuild
Comment 2 Russ Brown 2008-01-10 16:36:20 UTC
Renaming it doesn't work for me, and the error I get is weird:

/usr/bin/install -c -c nvclock /var/tmp/portage/media-video/nvclock-0.8_beta3/distdir/var/tmp/portage/media-video/nvclock-0.8_beta3/image/usr/bin/nvclock
/usr/bin/install: cannot create regular file `/var/tmp/portage/media-video/nvclock-0.8_beta3/distdir/var/tmp/portage/media-video/nvclock-0.8_beta3/image/usr/bin/nvclock': No such file or directory
make[1]: *** [install-app] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/nvclock-0.8_beta3/work/nvclock0.8b3/src'
make: *** [install] Error 2

I'm running on amd64. It's clearly prepending the path twice, but I can't see why or why the OP didn't have the same problem. Any ideas?
Comment 3 Jeremy Sermersheim 2008-01-11 00:11:55 UTC
Created attachment 140645 [details]
nvclock with makefile patch fix for x86_64 arch

I'm attaching an updated ebuild that works on my 64bit system.  Makefile patch to follow.
Comment 4 Jeremy Sermersheim 2008-01-11 00:12:24 UTC
Created attachment 140646 [details, diff]
nvclock 64bit Makefile patch
Comment 5 George 2008-01-27 07:45:53 UTC
Just like to add that the patched ebuild with the makefile patch worked fine for me on my system with an 8800GTX, beta 2 did not.
Comment 6 adriancz 2008-05-11 12:36:56 UTC
It also works for me (amd64).
Comment 7 John Dough 2008-05-18 16:25:58 UTC
Any update on this package?
Comment 8 Harrison Metzger 2008-06-04 18:53:46 UTC
Jeremy,

Thanks for your ebuild and patch. I had trouble compiling it on my computer as I can't seem to find that qt patch that your ebuild calls. However, I changed the use flag to be "-qt3 -gtk" and it builds fine. I'm running an AMD64 with an 8800gts (g92) card. I use a bunch of features on nvclock and they all are working fine. What does it take to get an ebuild put in the main portage tree and not have it masked by the ~amd64 flag?

p.s. If someone could point me to the qt patch, I would be more than happy to test the GUIs with this program and get back to you all.
Comment 9 Marcelo Goes (RETIRED) gentoo-dev 2008-06-07 23:23:38 UTC
Hello guys,

The amd64 patch may work fine in amd64 systems, but it might not be the best solution since it is simply hardcoding everything in the makefile.

Cheers
Comment 10 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2008-09-25 15:29:05 UTC
Created attachment 166391 [details, diff]
Makefile.in patch

Patch to fix Makefile.in, should work on every platform supported and be more correct than previous solutions.
Comment 11 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2008-09-25 15:44:16 UTC
Created attachment 166392 [details, diff]
Fix few fails in src/gtk

Missing includes and (char*)a?b:c fail.
Comment 12 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2008-09-25 15:54:34 UTC
Created attachment 166393 [details]
modified ebuild with both patches and obsolete stuff removed

Replaced autogen.sh with eautoreconf, ./configure with econf. Removed lib64 qt hack. Added both my patches.
Comment 13 Peter Fern 2008-12-30 01:59:59 UTC
Created attachment 176820 [details]
Live ebuild

Live ebuild to support 9XXX cards, adds smartdimmer use flag to optionally install smartdimmer binary
Comment 14 Peter Fern 2008-12-30 02:01:31 UTC
Created attachment 176822 [details, diff]
Smartdimmer installation patch

epatch for previous ebuild, enables installing smartdimmer on use flag
Comment 15 Peter Fern 2008-12-30 05:17:15 UTC
Created attachment 176831 [details, diff]
Adds options to smoothly fade on brightness change

Rewrote patch from #158685 to enable pretty fading effects in (maintained) smartdimmer from this build
Comment 16 Peter Fern 2008-12-30 05:18:13 UTC
Created attachment 176832 [details]
Live ebuild with fade support

Updated ebuild to enable previous patch via USE flag
Comment 17 Yaroslav Isakov 2009-01-11 00:08:50 UTC
0.8 beta 4 version bump
Comment 18 Nico Klinck 2009-01-14 20:49:36 UTC
Created attachment 178510 [details]
Version bump to 0.8_beta4

Just an ebuild for the new version beta4. The patch nvclock_acinclude_qtlibs.patch is still needed to get it going with qt.
Comment 19 Xake 2009-01-27 22:18:56 UTC
Could you please update nvclock top beta4 in portage, as beta2 and beta3 both have a problem in the code parsing bios leading to problems with SSP on hardened?
Comment 20 Peter Fern 2009-01-27 22:24:28 UTC
(In reply to comment #19)
> Could you please update nvclock top beta4 in portage, as beta2 and beta3 both
> have a problem in the code parsing bios leading to problems with SSP on
> hardened?
> 

Why not use the live ebuild?
Comment 21 Xake 2009-01-28 07:48:52 UTC
Becouse I missed that this was a "maintainer-needed"-package and hoped someone from gentoo would listen.
Comment 22 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-03-13 22:29:36 UTC
hhm, i updated nvclock to beta4 based on bug #260586 - i didnt see this bug. beta4 is now in the tree.

please report any problems with in a new bug.
Michał Górny: your patches look good. could you push them upstream?
thanks

kind regards
Thilo
Comment 23 Xake 2009-03-14 08:30:04 UTC
(In reply to comment #22)
> Michał Górny: your patches look good. could you push them upstream?
> thanks

Just join #nvclock on FreeNode and talk to Thunderbird. He usually responds fast and is very helping.

> kind regards
> Thilo
> 

Thanks for bumping the ebuild.
Comment 24 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2009-03-14 10:59:19 UTC
(In reply to comment #22)
> Michał Górny: your patches look good. could you push them upstream?

Done.
Comment 25 Jeroen Roovers (RETIRED) gentoo-dev 2009-04-02 06:11:53 UTC
Maybe if our amd64 team is on board, something can actually be tested by the people who are both in the know and have the hardware. :)
Comment 26 Jeroen Roovers (RETIRED) gentoo-dev 2009-07-28 16:47:49 UTC
(In reply to comment #24)
> (In reply to comment #22)
> > Michał Górny: your patches look good. could you push them upstream?
> 
> Done.

Please provide an ebuild diff starting from the current 0.8_beta4-r3.
Comment 27 Jeroen Roovers (RETIRED) gentoo-dev 2009-07-28 17:20:36 UTC
OK, I've pushed an adapted live ebuild into the tree, but without the smartdimmer* patches (those should have been the topic of a new bug report anyway). I don't know if the current beta4 supports amd64 properly, but this bug is way too messy now - do file a new one for each remaining problem that is not already addressed in one of these nvclock bugs:

Bug #265804: "media-video/nvclock-0.8_beta4-r3: needs 'X' use flag"
Bug #266899: "media-video/nvclock-0.8_beta4-r3 sets incorrect backlight..."
Bug #:
Comment 28 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2009-07-28 17:25:58 UTC
(In reply to comment #26)
> Please provide an ebuild diff starting from the current 0.8_beta4-r3.

0.8_beta4-r3 works fine, no changes needed.
Comment 29 Xake 2009-07-28 17:36:27 UTC
(In reply to comment #27)
> I don't know if the current beta4 supports amd64 properly, but this
> bug is way too messy now

That happens sometimes when bugs gets (too?) old. Thank you for taking care of this and trying to sort out the mess!:-)