Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211174 - net-im/emesene ebuild request
Summary: net-im/emesene ebuild request
Status: RESOLVED FIXED
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://emesene.org/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2008-02-23 14:58 UTC by Marcello Magaldi
Modified: 2011-05-29 12:00 UTC (History)
10 users (show)

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


Attachments
emesene-999.ebuild (emesene-999.ebuild,970 bytes, text/plain)
2008-02-24 13:16 UTC, Marcello Magaldi
Details
emesene-1.0.ebuild (emesene-1.0.ebuild,768 bytes, text/plain)
2008-03-28 09:25 UTC, Marcello Magaldi
Details
emesene-1.0.1.ebuild (emesene-1.0.1.ebuild,846 bytes, text/plain)
2008-07-27 12:34 UTC, r01
Details
emesene-1.0.1.ebuild (emesene-1.0.1.ebuild,871 bytes, text/plain)
2008-07-27 14:15 UTC, r01
Details
emesene-1.5.ebuild (emesene-1.5.ebuild,991 bytes, text/plain)
2009-08-24 23:07 UTC, Alessandro Candini
Details
emesene-1.6 ebuild (emesene-1.6.ebuild,1.13 KB, text/plain)
2010-02-20 09:15 UTC, Satoshi Hayazaki
Details
libmimic with python bindings patch (libmimic-1.0.4-r2.ebuild,1.06 KB, text/plain)
2010-03-31 00:02 UTC, Carlos Silva
Details
libmimic's python binding patch (libmimic-1.0.4-add-python-bindings.patch,10.69 KB, patch)
2010-03-31 00:03 UTC, Carlos Silva
Details | Diff
cleaner version of previous ebuild (emesene-1.6.ebuild,1.05 KB, text/plain)
2010-03-31 00:04 UTC, Carlos Silva
Details
emesene 1.6.1 mate (emesene-1.6.1.ebuild,1.05 KB, text/plain)
2010-04-07 17:05 UTC, biuudresle
Details
emesene 1.6.2 (emesene-1.6.2.ebuild,1.05 KB, text/plain)
2010-06-03 20:14 UTC, Marco Paolone
Details
gpg use added for EncryptMessage plugins (emesene-1.6.3.ebuild,1.42 KB, text/plain)
2010-12-05 12:20 UTC, b1254633
Details
spell and gpg use flag added (emesene-1.6.3-r1.ebuild,1.47 KB, text/plain)
2010-12-05 18:27 UTC, b1254633
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcello Magaldi 2008-02-23 14:58:40 UTC
emesene is a multiplatform msn client written in python/gtk, it should be nice to have an ebuild.

Reproducible: Always

Steps to Reproduce:
1.emerge emesene
2.
3.

Actual Results:  
no packages named emesene
Comment 1 Kevin Fullerton 2008-02-23 15:49:34 UTC
There's already an ebuild on the emesene trac site for this - http://emesene.org/trac/attachment/ticket/147/emesene-9999.ebuild - this builds from the latest SVN version, but shouldn't be much to build against a released .tar.gz
Comment 2 Marcello Magaldi 2008-02-24 13:16:57 UTC
Created attachment 144496 [details]
emesene-999.ebuild

I made an emesene-r999 ebuild since is the last stable, using the other live is not the best thing to do.
Comment 3 mambro 2008-03-28 07:57:46 UTC
emesene 1.0 is out!
http://www.emesene.org/
Comment 4 Marcello Magaldi 2008-03-28 09:25:43 UTC
Created attachment 147513 [details]
emesene-1.0.ebuild

I modified the last emesene-999.ebuild to suite the new 1.0.
Comment 5 Thomas Sachau gentoo-dev 2008-04-14 20:15:56 UTC
this is already in sunrise overlay:

https://overlays.gentoo.org/proj/sunrise/browser/reviewed/net-im/emesene?rev=6053
Comment 6 Patrizio Bassi 2008-06-02 16:28:03 UTC
i hope it can get into official portage soon
Comment 7 Rory Ye 2008-06-03 05:45:45 UTC
I hope it too.It's widely use in my office.
Comment 8 Fabio Bonfante 2008-07-01 20:18:36 UTC
Works well on my amd64... hope to see in portage too... 
Comment 9 giepi 2008-07-26 15:12:17 UTC
It's avaiable a new fix release: 1.0.1.
I tried to rename e digest the current ebuild to use 1.0.1, and it works, except for a few problems, so I leave it to someone more skilled here...
Comment 10 r01 2008-07-27 12:34:25 UTC
Created attachment 161463 [details]
emesene-1.0.1.ebuild

this is emesene-1.0.1.ebuild for upstream 1.0.1 released on July 21, 2008,

some installation process is adjusted, and is neccessary to some upstream release layout changes.
Comment 11 r01 2008-07-27 14:15:27 UTC
Created attachment 161474 [details]
emesene-1.0.1.ebuild

According to review from darc on #gentoo-sunrise, make two changes:

1. python_mod_cleanup added into pkg_postrm
2. domenu misc/emesene.desktop to install the desktop entry

Now it can be checked into the sunrise overlay.
Comment 12 Zhang Weiwu 2009-02-15 04:26:04 UTC
i really hope it can get into official portage soon. All my friends are using emesene on a variant of different Linux distribution so it seems gentoo is lagging behind the worst
Comment 13 Alessandro Candini 2009-08-24 23:07:04 UTC
Created attachment 202207 [details]
emesene-1.5.ebuild

Not able to install stuff for using webcam. I tryed with "python ${MY_D}/setup.py build_ext -i", but it doesn't work.
If I use this command in the unpacked directory of the program it does not work anyway, but at leat it creates the "build" directory with the object files inside it.
Any ideas to solve these problems?
Comment 14 Tiago Santos 2009-08-28 01:54:19 UTC
(In reply to comment #13)
> Created an attachment (id=202207) [edit]
> emesene-1.5.ebuild
> 
> Not able to install stuff for using webcam. I tryed with "python
> ${MY_D}/setup.py build_ext -i", but it doesn't work.
> If I use this command in the unpacked directory of the program it does not work
> anyway, but at leat it creates the "build" directory with the object files
> inside it.
> Any ideas to solve these problems?
> 

You have to install libmimic and gst-python in order to make webcam support work, then run that command 'setup.py build_ext -i'

I don't know how to make an ebuild, but make a webcam flag e add libmimic and gst-python as depedencies for that flag
Comment 15 Tiago Santos 2009-08-29 02:22:47 UTC
err, you actually did just that, sorry
Comment 16 Ivan c00kiemon5ter Kanakarakis 2009-10-20 15:59:56 UTC
Hi all,

I'm currently using net-im/emesene-1.0.1 from 'sunrise' overlay
Spell Plugin doesn't work for me, no matter what language I select in the properties window. It says gtk-spell is not loaded or something similar.
Installing 'dev-python/gtkspell-python' seems to fix this. Maybe we need to insert this as a dependency. 

Also, is emesene-1.5 getting into the tree or in an overlay?
Comment 17 Marcello Magaldi 2009-10-20 16:39:06 UTC
(In reply to comment #16)
> Also, is emesene-1.5 getting into the tree or in an overlay?

1.5.1 is currently in sunrise overlay 

Comment 18 Ivan c00kiemon5ter Kanakarakis 2009-10-20 16:49:52 UTC
(In reply to comment #17)
> (In reply to comment #16)
> > Also, is emesene-1.5 getting into the tree or in an overlay?
> 
> 1.5.1 is currently in sunrise overlay 
> 

I sync everyday. It wasn't there yesterday, I swear :P 
Thanks anyway, emerging it now ;-)
Comment 19 Marcello Magaldi 2009-10-20 16:51:53 UTC
(In reply to comment #18)
> (In reply to comment #17)
> > (In reply to comment #16)
> > > Also, is emesene-1.5 getting into the tree or in an overlay?
> > 
> > 1.5.1 is currently in sunrise overlay 
> > 
> 
> I sync everyday. It wasn't there yesterday, I swear :P 
> Thanks anyway, emerging it now ;-)
> 

Sure, I sync every day too, 1.5.1 hit sunrise today ;)
Comment 20 Ivan c00kiemon5ter Kanakarakis 2009-10-20 17:47:11 UTC
(In reply to comment #16)
> Hi all,
> 
> I'm currently using net-im/emesene-1.0.1 from 'sunrise' overlay
> Spell Plugin doesn't work for me, no matter what language I select in the
> properties window. It says gtk-spell is not loaded or something similar.
> Installing 'dev-python/gtkspell-python' seems to fix this. Maybe we need to
> insert this as a dependency. 
> 

OK, same goes for emesene-1.5.1 that's currently in 'sunrise' overlay
The spell plugin doesn't work without 'dev-python/gtkspell-python'
Also the flag for 'libmimic' is not there.
Comment 21 Ivan c00kiemon5ter Kanakarakis 2009-11-16 00:28:59 UTC
(In reply to comment #20)
> (In reply to comment #16)
> > Hi all,
> > 
> > I'm currently using net-im/emesene-1.0.1 from 'sunrise' overlay
> > Spell Plugin doesn't work for me, no matter what language I select in the
> > properties window. It says gtk-spell is not loaded or something similar.
> > Installing 'dev-python/gtkspell-python' seems to fix this. Maybe we need to
> > insert this as a dependency. 
> > 
> 
> OK, same goes for emesene-1.5.1 that's currently in 'sunrise' overlay
> The spell plugin doesn't work without 'dev-python/gtkspell-python'
> 
can anyone else confirm that and maybe add the dependency? 
Comment 22 Satoshi Hayazaki 2010-02-15 05:29:06 UTC
emesene 1.6 is out. Just download the tarball and run ./emesene.

To add in webcam suport, you must have dev-python and run `python setup.py build_ext -i`, which will build libmimic. Having libmimic installed via portage doesn't seem to work. Apparently it has to be built with python.

Seems to me to be very easy to make an ebuild for it, which I would myself, if only I knew how. I have no idea how to make it show up in the DE's menu and stuff like that. Other than that, it is really just a matter of running the script inside the extracted tarball directory.
Comment 23 Satoshi Hayazaki 2010-02-20 09:15:19 UTC
Created attachment 220437 [details]
emesene-1.6 ebuild

Ok, this is a ebuild I *tried* writing.

It's my first time messing around with ebuilds, so I don't know how good it is. It did work on my system, though.
Comment 24 Fabiano Francesconi 2010-02-20 10:52:16 UTC
(In reply to comment #23)
> Created an attachment (id=220437) [details]
> emesene-1.6 ebuild
> 
> Ok, this is a ebuild I *tried* writing.
> 
> It's my first time messing around with ebuilds, so I don't know how good it is.
> It did work on my system, though.
> 

There's actually a mine ebuild that's going to be uploaded on official portage tree as soon as possible.

I saw that you added that "libmimic" dependency although emesene I think don't use it. Do you think it's necessary?
Comment 25 Ivan c00kiemon5ter Kanakarakis 2010-02-20 11:24:35 UTC
(In reply to comment #24)
> (In reply to comment #23)
> > Created an attachment (id=220437) [details] [details]
> > emesene-1.6 ebuild
> > 
> > Ok, this is a ebuild I *tried* writing.
> > 
> > It's my first time messing around with ebuilds, so I don't know how good it is.
> > It did work on my system, though.
> > 
> 
> There's actually a mine ebuild that's going to be uploaded on official portage
> tree as soon as possible.
> 
> I saw that you added that "libmimic" dependency although emesene I think don't
> use it. Do you think it's necessary?
> 

Emesene uses libmimic to handle webcam conversations. You can add a flag like "webcam" to only emerge libmimic if user wants webcam support like Satoshi Hayazaki has  ;) 

Comment 26 Carlos Silva 2010-03-31 00:02:51 UTC
Created attachment 225889 [details]
libmimic with python bindings patch
Comment 27 Carlos Silva 2010-03-31 00:03:29 UTC
Created attachment 225891 [details, diff]
libmimic's python binding patch
Comment 28 Carlos Silva 2010-03-31 00:04:11 UTC
Created attachment 225893 [details]
cleaner version of previous ebuild
Comment 29 Carlos Silva 2010-03-31 00:05:31 UTC
just added 3 new patchs that should fix the webcam problem people are having. be sure to add the new libmimic version as you have to have the python bindings of it. It's works here but the ebuilds aren't 100% yet...
Comment 30 biuudresle 2010-04-07 17:05:05 UTC
Created attachment 226899 [details]
emesene 1.6.1 mate
Comment 31 Marco Paolone 2010-06-03 20:13:33 UTC
emesene 1.6.2 released. Added a missing dep for spell plugin (dev-python/gtkspell-python); fixed media-libs/libmimic dep, since it doesn't have a python use flag.
Comment 32 Marco Paolone 2010-06-03 20:14:35 UTC
Created attachment 234035 [details]
emesene 1.6.2
Comment 33 Marco Paolone 2010-06-03 22:38:59 UTC
Nevermind my previous comment about libmimic, I just lost some steps of conversation. Sorry.
Comment 34 Fabiano Francesconi 2010-06-03 23:17:29 UTC
I want to point out to your attention that an updated ebuild could be found on my github repo: http://github.com/elbryan/elbryan-s-ebuilds/tree/master/net-im/emesene/

Since I'm still looking for a cleaner solution to install it, I don't want to push it officially somewhere..

I think this ebuild needs to be polished a bit
Comment 35 Satoshi Hayazaki 2010-07-11 19:01:23 UTC
There is an undocumented (as far as I know) dependency:

gst-plugins-v4l2

It complains about missing v4l2src if this is not installed. After installing it, everything worked.

It seems this is maintaned in the sunrise overlay. Perhaps I should also warn the folks there (don't know how, though), since gst-plugins-v4l2 is not in their ebuild's depency list either.
Comment 36 Satoshi Hayazaki 2010-07-11 19:25:04 UTC
This appears to be the dependency list in Arch:

gnome-python-extras: for spell-check plugin
gtkspell: for spell-check plugin
cabextract: for Wink preview plugin
gnash-common: for Wink preview plugin
gstreamer0.10-python: for webcam support


The current ebuilds do not honor those. I will probably try writing a new, improved, ebuild, but I can't promise anything.

How does ebuilds in the sunrise overlay work? Is there a maintainer I can contact with this information?
Comment 37 Fabiano Francesconi 2010-07-11 21:38:33 UTC
I am the one that maintains the ebuild in sunrise. You can post everything you think oughts to be said.

First of all I want to say that you shouldn't take ARCH linux pkgbuild dependancies and throw them inside a gentoo ebuild.
Few deps (like the spell checker plugin) are mentioned in elog (you can install that package separately in order to acheive that result).

You should check the ebuild for any missing deps rightly inside a gentoo system and, most important thing, you should avoid to pull double dependancies.
For instance: (gtkspell would be pulled by dev-python/gtkspell-python, that's the right package to install in order to have spell checker plugin).

What about media-plugins/gst-plugins-v4l2? Are you sure it's needed? If so, tell me and I'll fix the ebuild in sunrise-overlay.

However, feel free to mail something to me or to query me on irc.freenode.net since I'm hosted in #gentoo-sunrise chan
Comment 38 Fabiano Francesconi 2010-07-16 08:39:26 UTC
v1.6.3 released in sunrise-overlay (pending for a developer approval).
Added media-plugins/gst-plugins-v4l2 as dependency when webcam useflag is set.
Comment 39 b1254633 2010-12-05 12:20:17 UTC
Created attachment 256386 [details]
gpg use added for EncryptMessage plugins
Comment 40 b1254633 2010-12-05 18:27:31 UTC
Created attachment 256410 [details]
spell and gpg use flag added
Comment 41 Fabiano Francesconi 2010-12-05 18:47:05 UTC
I have to disagree about "spell" and "gpg" USEFLAGs.

When we put USEFLAGs inside an ebuild, those will somehow modify the behaviour of the compilation process. Those packages ( pexpect and gtkspell-python ) are not taken into account during the compilation phase. For this reason I can't accept these new useflags.

Furthermore, gtkspell-python usage for spell-checking feature was already promoted in the postinst phase. This is exactly the good spot where to place such information-related content.
Comment 42 Carlos Silva 2010-12-05 18:52:34 UTC
(In reply to comment #41)
> I have to disagree about "spell" and "gpg" USEFLAGs.
> 
> When we put USEFLAGs inside an ebuild, those will somehow modify the behaviour
> of the compilation process. Those packages ( pexpect and gtkspell-python ) are
> not taken into account during the compilation phase. For this reason I can't
> accept these new useflags.
Actually this is not true. You create USE flags to activate or deactivate features of some applications and that does not have to necessarily change the way that same software compiles. It could just install some needed package to make the feature work. The correct place to do that is in RDEPEND (as it is), so the ebuild looks good to me.

> 
> Furthermore, gtkspell-python usage for spell-checking feature was already
> promoted in the postinst phase. This is exactly the good spot where to place
> such information-related content.
> 
Yep, the einfo should be removed as there's a use flag for it. actually, the whole postinst could be removed.
Comment 43 Fabiano Francesconi 2010-12-05 18:58:45 UTC
True or not that is my ebuild and I don't want it to be filled with useflag for every wannabe optional thing.

I'll just drop a message about that existing option in the postinst, as I did before.
Comment 44 Carlos Silva 2010-12-05 19:03:21 UTC
(In reply to comment #43)
> True or not that is my ebuild and I don't want it to be filled with useflag for
> every wannabe optional thing.
I'm sorry but you wanna do things the right way or *your* way?

And it's not *your* ebuild. You made it, but it's in the gentoo bugzilla, so it's _*everybody's*_ ebuild.

> 
> I'll just drop a message about that existing option in the postinst, as I did
> before.
> 
Do you really read all the messages that appear during emerge? do you thing i'm gonna read a backlog of messages just to read the messages a simple ebuild like this made out?! einfo's, ewarn's, etc are made to alert the user of something, give information, not change the way that package works.
Comment 45 Fabiano Francesconi 2010-12-05 19:25:47 UTC
> 
> And it's not *your* ebuild. You made it, but it's in the gentoo bugzilla, so
> it's _*everybody's*_ ebuild.
> 

Man, come on. That's what I meant.

> Do you really read all the messages that appear during emerge? do you thing i'm
> gonna read a backlog of messages just to read the messages a simple ebuild like
> this made out?! einfo's, ewarn's, etc are made to alert the user of something,
> give information, not change the way that package works.

You should do it. It is a good habit to have.
I'm telling you that I do not want to modify the ebuild that way and, furthermore, I have been lectured in #gentoo-sunrise IRC channel about not to provide useflags for just trivial things (such as plugins).
Useflags are justified only when they modify the application's behaviour a lot.
Comment 46 PhobosK 2011-01-29 10:52:58 UTC
> You should do it. It is a good habit to have.

Yeah it is a "very" good habit and it is a "time saver" to read the emerge logs ESPECIALLY when you upgrade a system with 300+ packages :D :D :D


> I'm telling you that I do not want to modify the ebuild that way and,
> furthermore, I have been lectured in #gentoo-sunrise IRC channel about not to
> provide useflags for just trivial things (such as plugins).
> Useflags are justified only when they modify the application's behaviour a lot.

Well either you did not got the lecture the right way or your lecturer spoke to you about the useflags in general... 
Do not forget that there are specifics for every app ! ...

Back on the topic... :
'spell' and 'gpg' are systemwide flags that DO ADD an important functionality to all the apps that use them ('ufed' will be the easiest way for you to check this up)...
So this ebuild should have those flags and should not have any ewarn/elog hooks in postinst()....

BTW it is really a shame this ebuild is not in the official gentoo tree... but i guess the ones responsible for the upload are too busy with other "important" uploads ....
Comment 47 Markos Chandras (RETIRED) gentoo-dev 2011-05-29 12:00:34 UTC
On tree. Thanks