Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266530 - [new package] mumbles-0.4-r1.ebuild
Summary: [new package] mumbles-0.4-r1.ebuild
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://www.mumbles-project.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-17 12:29 UTC by Jeremy Ebler
Modified: 2015-05-22 19:03 UTC (History)
3 users (show)

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


Attachments
The Ebuild (mumbles-0.4-r1.ebuild,695 bytes, text/plain)
2009-04-17 12:32 UTC, Jeremy Ebler
Details
Improved ebuild (mumbles-0.4-r1.ebuild,891 bytes, text/plain)
2009-04-17 12:54 UTC, Jeremy Ebler
Details
Ebuild v3 (mumbles-0.4.1.ebuild,858 bytes, text/plain)
2009-04-19 03:11 UTC, Jeremy Ebler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Ebler 2009-04-17 12:29:15 UTC
Package description:
Mumbles is a plugin-driven, DBus based notification system written for the Gnome desktop. Similar to libnotify notifications and Growl for OSX (http://growl.info), Mumbles aims to provide a modern notification system for the GNU/Linux Desktop.
Comment 1 Jeremy Ebler 2009-04-17 12:32:41 UTC
Created attachment 188673 [details]
The Ebuild

This ebuild works for me, but is not quite yet production ready.

Major issue
* The scripts /usr/bin/mumbles and mumbles-send need to have a line changed:
-sys.path.append("/usr/share/python-support/mumbles/src/")
+sys.path.append("/usr/lib/python2.5/site-packages/src/")

I could do this with a patch, but it seems like there should be a more graceful way to make this change.

Minor issue
* The package's debain/control mentions a dependency of python-glade2, I'm not sure what gentoo package this translates to (`qsearch glade` didn't bring obvious results). -- (It worked fine for me, and it will probably work for most, but maybe not everyone.)
Comment 2 Jeremy Ebler 2009-04-17 12:54:13 UTC
Created attachment 188675 [details]
Improved ebuild

This version of the ebuild takes care of the major issue I listed in comment #1 by using the following src_unpack. It works smoother than a patch-- I'm satisfied with this fix.

src_unpack() {
    unpack ${A}
    cd "${S}"
    sed -i -e 's@"/usr/share/python-support/mumbles/src/"@"/usr/lib/python2.5/site-packages/src/"@' bin/mumbles bin/mumbles-send || die "sed failed"
}
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2009-04-18 15:20:00 UTC
DESCRIPTION seems much too long to me (max 100 chars).
Comment 4 Jeremy Ebler 2009-04-19 03:11:14 UTC
Created attachment 188846 [details]
Ebuild v3

Sorry, I didn't realize there were guidelines for DESCRIPTION length-- I just copied what I found in the DEBAIN/control file.

How about:
DESCRIPTION="A modern notification system, similar to libnotify or Growl on OSX"

I also realized that mumbles-0.4-r1 was incorrect, because the -rN is reserved for ebuild revisions.

I'm a little confused as to what the best way to version the ebuild is. It is release "0.4" but the source/deb downloads are titled "0.4-1" yet, the source unpacks to "0.4"

mumbles-0.4.1 is the correct gentoo-way to name this package, right?

If it is, then this ebuild handles the versions correctly.
Comment 5 Peter Fern 2009-07-13 08:39:24 UTC
(In reply to comment #4)
> I also realized that mumbles-0.4-r1 was incorrect, because the -rN is reserved
> for ebuild revisions.
> 
> I'm a little confused as to what the best way to version the ebuild is. It is
> release "0.4" but the source/deb downloads are titled "0.4-1" yet, the source
> unpacks to "0.4"
> 
> mumbles-0.4.1 is the correct gentoo-way to name this package, right?

Actually, the debian '-1' refers to the packaging revision, not the application version, but this is distribution specific.  If this were the second revision of the ebuild for Gentoo, then '-r1' would be correct, however since this is the first release of the 0.4 ebuild, and we don't worry about the debian package revision, it would just be 'mumbles-0.4.ebuild'.
Comment 6 Peter Fern 2009-07-13 08:53:20 UTC
(In reply to comment #2)
>     sed -i -e
> 's@"/usr/share/python-support/mumbles/src/"@"/usr/lib/python2.5/site-packages/src/"@'
> bin/mumbles bin/mumbles-send || die "sed failed"
> }
> 

You cannot simply assume python version 2.5, so this is not the correct fix.(In reply to comment #5)
> (In reply to comment #4)
> > I also realized that mumbles-0.4-r1 was incorrect, because the -rN is reserved
> > for ebuild revisions.
> > 
> > I'm a little confused as to what the best way to version the ebuild is. It is
> > release "0.4" but the source/deb downloads are titled "0.4-1" yet, the source
> > unpacks to "0.4"
> > 
> > mumbles-0.4.1 is the correct gentoo-way to name this package, right?
> 
> Actually, the debian '-1' refers to the packaging revision, not the application
> version, but this is distribution specific.  If this were the second revision
> of the ebuild for Gentoo, then '-r1' would be correct, however since this is
> the first release of the 0.4 ebuild, and we don't worry about the debian
> package revision, it would just be 'mumbles-0.4.ebuild'.
> 

Oh, sorry - I see the source package is labelled '-1' too... I assume this is an error on the developer's part, since 0.3 was not labelled thus.  In this case, either 0.4 or 0.4.1 is probably fine... but now I'm confused too :)
Comment 7 Leho Kraav (:macmaN @lkraav) 2011-04-28 09:46:45 UTC
is this project still alive? i'm looking for something to display growl notifications on linux. even some gateway solution to notify-send would be just fine.
Comment 8 Leho Kraav (:macmaN @lkraav) 2011-04-28 09:49:09 UTC
sorry for OT, for anyone else looking, https://github.com/mattn/growl-for-linux looks alive and interesting.
Comment 9 jannis 2015-05-22 19:03:11 UTC
Is this still needed? $URL is down