Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163497 - app-laptop/pommed-1.1-r1.ebuild (new package)
Summary: app-laptop/pommed-1.1-r1.ebuild (new package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Cédric Krier
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2007-01-23 21:20 UTC by Daniel Vianna
Modified: 2007-03-05 22:28 UTC (History)
5 users (show)

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


Attachments
ebuild (pommed-1.1-r1.ebuild,1.52 KB, text/plain)
2007-01-24 00:16 UTC, Daniel Vianna
Details
ebuilds for pommed, libsmbios (pommed-overlay-20070205.tar.bz2,5.09 KB, application/octet-stream)
2007-02-13 08:38 UTC, Guillaume Pujol
Details
ebuilds for pommed, libsmbios with updated init script (pommed-overlay-20070213.tar.bz2,5.09 KB, application/octet-stream)
2007-02-13 16:02 UTC, Guillaume Pujol
Details
pommed-1.1 source file (pommed-1.1.tar.gz,718.04 KB, text/plain)
2007-02-21 09:00 UTC, Daniel Vianna
Details
pommed-1.1.tar.gz (pommed-1.1.tar.gz,718.04 KB, application/octet-stream)
2007-02-21 09:03 UTC, Daniel Vianna
Details
updated ebuilds (pommed-overlay-20070301.tar.bz2,5.77 KB, application/octet-stream)
2007-03-01 11:06 UTC, Guillaume Pujol
Details
pommed-1.2.ebuild.patch (pommed-1.2.ebuild.patch,936 bytes, patch)
2007-03-05 10:36 UTC, Guillaume Pujol
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Vianna 2007-01-23 21:20:59 UTC
Hi!

Please find attached app-laptop/pommed-1.1-r1.ebuild.

Pommed is a daemon managing special features such as screen and keyboard backlight on Apple MacBook Pro/PowerBook laptops. The ebuild includes gpomme, which shows gui popups when pommed settings are changed, and wmpomme, a dockapp showing current settings.

pommed lives here: http://technologeek.org/projects/pommed/index.html

The ebuild seems to work fine. I suggest app-laptop/pommed.
Comment 1 Daniel Vianna 2007-01-24 00:16:41 UTC
Created attachment 107963 [details]
ebuild
Comment 2 Guillaume Pujol 2007-02-13 08:36:28 UTC
The ebuild posted above will not work, because it relies on a dbus.eclass I wrote specially for it (I am the original ebuild author BTW). pommed also require libsmbios, which is not yet in the tree.

I'll attach a tar.bz2 containing ebuilds for pommed-1.1, pommed-9999, libsmbios-0.12.4 (latest) and the appropriate dbus.eclass.

The ebuild for libsmbios is largelly perfectible (doesn't install doc despite USE=doc for example). Feel free to enhance it.

dbus.eclass contains a single function 'newdbussystemd' which installs a dbus configuration in the appropriate location (/etc/dbus-1/system.d). Again, if you don't like an eclass, feel free to merge it into pommed ebuilds which use it.

Please find the tarball below. It can also be downloaded here: http://pico.is.free.fr/pommed-overlay-20070205.tar.bz2
Comment 3 Guillaume Pujol 2007-02-13 08:38:15 UTC
Created attachment 110041 [details]
ebuilds for pommed, libsmbios
Comment 4 Guillaume Pujol 2007-02-13 16:02:19 UTC
Created attachment 110071 [details]
ebuilds for pommed, libsmbios with updated init script

This one contains an updated pommed init.d script with a depend on alsasound. This is needed to allow pommed to adjust sound levels.

Regards,
Comment 5 Markus Rothe (RETIRED) gentoo-dev 2007-02-21 07:29:19 UTC
where to get pommed-1.1.tar.gz ? it's not on alioth.debian.org (any more?)

https://alioth.debian.org/frs/?group_id=31066
Comment 6 Daniel Vianna 2007-02-21 09:00:41 UTC
Created attachment 110800 [details]
pommed-1.1 source file
Comment 7 Daniel Vianna 2007-02-21 09:03:37 UTC
Created attachment 110802 [details]
pommed-1.1.tar.gz

Sorry for my previous failed attempt :P
Comment 8 Guillaume Pujol 2007-03-01 11:06:01 UTC
Created attachment 111672 [details]
updated ebuilds

Updated ebuilds:
- 1.1 is clean and commented
- 9999 is updated against latest revisions in SVN
Comment 9 Cédric Krier gentoo-dev 2007-03-04 19:31:47 UTC
In cvs now
Thanks
Comment 10 Guillaume Pujol 2007-03-05 10:34:23 UTC
(In reply to comment #9)
> In cvs now
> Thanks

Thanks to you, your ebuild is much cleaner than mine :)

There are a few details that could be enhanced, however:
- KEYWORDS: pommed is supposed to work on amd64 (new MacBook and MacBook Pro) and ppc (iBook, PowerBook) as well
- DEPEND: pommed depends on libsmbios only on x86 and amd64
- config file: the config file is supposed to be "/etc/pommed.conf". You should install either pommed.conf.mactel or pommed.conf.pmac depending on x86|amd64 or ppc

I'll attach a patch below to fix these issues.

Anyways thanks for getting pommed in the tree :)

Comment 11 Guillaume Pujol 2007-03-05 10:36:18 UTC
Created attachment 112157 [details, diff]
pommed-1.2.ebuild.patch

Here's the patch

Regards,
Comment 12 Petteri Räty (RETIRED) gentoo-dev 2007-03-05 10:46:26 UTC
(In reply to comment #10)
> (In reply to comment #9)
> > In cvs now
> > Thanks
> 
> Thanks to you, your ebuild is much cleaner than mine :)
> 
> There are a few details that could be enhanced, however:
> - KEYWORDS: pommed is supposed to work on amd64 (new MacBook and MacBook Pro)
> and ppc (iBook, PowerBook) as well
> - DEPEND: pommed depends on libsmbios only on x86 and amd64

Only arch teams that can actually test on that architecture can add keywords so you need to file keywording request bugs to them if you want stuff keyworded for those arches.

> - config file: the config file is supposed to be "/etc/pommed.conf". You should
> install either pommed.conf.mactel or pommed.conf.pmac depending on x86|amd64 or
> ppc
> 
> I'll attach a patch below to fix these issues.
> 
> Anyways thanks for getting pommed in the tree :)
> 

Reopening for the patch. Sometimes it's better to just open a new bug for those issues so that you can be sure it does not get ignored if for example the notification mail is not acted upon.
Comment 13 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-03-05 15:23:29 UTC
Reassigning to cedk or he won't see the changes (if I still have my privs here, that is).

Also, the gtk+ dependency sounds broken, it doesn't depend on a proper version, which means that it would be satisfied by 1.2 (this supposing it uses 2.0 instead, haven't had time to look at it yet).
Comment 14 Cédric Krier gentoo-dev 2007-03-05 22:28:57 UTC
Fix in cvs
Thanks