Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273351 - net-im/gajim-0.13.1: Version bump (and rewrite ebuild entirely)
Summary: net-im/gajim-0.13.1: Version bump (and rewrite ebuild entirely)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal with 2 votes (vote)
Assignee: Gentoo Net-im project
URL: http://trac.gajim.org/browser/ChangeL...
Whiteboard:
Keywords:
: 294063 294600 (view as bug list)
Depends on:
Blocks: 244304 261130
  Show dependency tree
 
Reported: 2009-06-09 13:33 UTC by Yaroslav Isakov
Modified: 2010-01-04 19:37 UTC (History)
17 users (show)

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


Attachments
ebuild for 0.12.3 (gajim-0.12.3.ebuild,2.31 KB, text/plain)
2009-07-14 18:50 UTC, Constantin Baranov
Details
Ebuild for 0.12.5 (gajim-0.12.5.ebuild,2.44 KB, text/plain)
2009-09-21 15:47 UTC, Livid
Details
Correct install paths so that *.py are installed into libdir, instead of datadir (0.12.5_autotools_install_pyfiles_in_pkglibdir.patch,1.65 KB, patch)
2009-09-21 15:48 UTC, Livid
Details | Diff
Fix default sound paths in correlation with previous patch (0.12.5-sound-path-fix.patch,2.42 KB, patch)
2009-09-21 15:50 UTC, Livid
Details | Diff
Make gajim understand Xfce4-notifyd Git versions. (0.12.5-notifyd.patch,446 bytes, patch)
2009-09-21 15:50 UTC, Livid
Details | Diff
ebuild for gajim-0.13 with cleanup (gajim-0.13.ebuild,2.17 KB, text/plain)
2009-11-25 23:27 UTC, Bruno 'brubru' Tarquini
Details
better patch for installing pyfiles under python-2.6/site-packages/gajim (0.13_autotools_custom_basedir.patch,3.11 KB, patch)
2009-11-25 23:28 UTC, Bruno 'brubru' Tarquini
Details | Diff
Ebuild for gajim-0.13.1 (gajim-0.13.1.ebuild,2.28 KB, text/plain)
2009-11-30 22:35 UTC, Bruno 'brubru' Tarquini
Details
Patch to install pyfiles in python2.x/sites-packages (0.13_autotools--enable-site-packages_option.patch,3.23 KB, patch)
2009-11-30 22:37 UTC, Bruno 'brubru' Tarquini
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yaroslav Isakov 2009-06-09 13:33:02 UTC
There is new version with many bugfixes
Comment 1 Opportunist 2009-06-13 20:19:09 UTC
Gajim 0.12.3 available 
Comment 2 manwe 2009-06-25 18:37:01 UTC
Patches 0.12.1-roster_window.py_r10934.patch, 0.12.1_autotools_install_pyfiles_in_pkglibdir.patch and fix_autotools_and_search_dirs.patch are obsolete, but besides that, ebuild for 0.12.1 seems to work fine with 0.12.3.
Comment 3 Opportunist 2009-07-12 08:44:53 UTC
any news?
Comment 4 Constantin Baranov 2009-07-14 18:50:51 UTC
Created attachment 197961 [details]
ebuild for 0.12.3

Copy of 0.12.1 ebuild with obsoleted patches removed.
Works on ~amd64 with USE="X dbus idle libnotify spell srv trayicon xhtml".
Comment 5 Opportunist 2009-07-14 19:21:45 UTC
we need fresh (unstable) version of libtool for this ebuild
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2009-07-21 11:50:47 UTC
Seems current ebuilds in tree are totally useless, doesn't pull in correct deps etc. Needs a total rewrite, added some bugs as blockers here to track some of the issues down.
Comment 7 Michal Poczwardowski 2009-08-11 14:48:12 UTC
"Gajim 0.12.5 is here! (08 August 2009)"
Comment 8 Wicher Minnaard 2009-08-14 01:15:04 UTC
(In reply to comment #7)
> "Gajim 0.12.5 is here! (08 August 2009)"
You can recycle the 0.12.1-ebuild to make a 0.12.5-ebuild by stripping out the epatch()-es. Works here with libtool-2.2.4.
Comment 9 Livid 2009-09-21 15:47:43 UTC
Created attachment 204831 [details]
Ebuild for 0.12.5

I thought I'd make myself useful, so here it goes. It is defenitely not a complete rewrite, but it works mostly as expected. I never checked if all useflags work corectly, so careful use adviced.

I also included patch to make gajim work with x11-misc/xfce4-notifyd-0.1.0_p20090722 or similar.

Three required patches are to follow.
Comment 10 Livid 2009-09-21 15:48:53 UTC
Created attachment 204832 [details, diff]
Correct install paths so that *.py are installed into libdir, instead of datadir
Comment 11 Livid 2009-09-21 15:50:13 UTC
Created attachment 204834 [details, diff]
Fix default sound paths in correlation with previous patch

No changes were needed from version 0.12.1, so it's just a version bump.
Comment 12 Livid 2009-09-21 15:50:57 UTC
Created attachment 204835 [details, diff]
Make gajim understand Xfce4-notifyd Git versions.
Comment 13 Serhij S. Stasyuk 2009-11-04 08:45:20 UTC
Thanks guys, 0.12.5 works fine for me, much better than 0.12.1.

gentoo 10.0/desktop, amd64, gnome.

Maybe you should issue stable request ;)
Comment 14 Opportunist 2009-11-04 11:01:14 UTC
release candidate 1 of version 13 available at http://gajim.org/

many bugfixes
Comment 15 Sergey Zolotorev 2009-11-04 11:31:43 UTC
(In reply to comment #13)
> Maybe you should issue stable request ;)

You don't say! Very antique Gajim already is visiting card of Gentoo. =)
Comment 16 Ivan Anishchuk 2009-11-05 14:21:19 UTC
(In reply to comment #14)
> release candidate 1 of version 13 available at http://gajim.org/

rc4 available already :) Does anybody need ebuild?
Comment 17 Opportunist 2009-11-05 14:39:07 UTC
(In reply to comment #16)
> (In reply to comment #14)
> > release candidate 1 of version 13 available at http://gajim.org/
> 
> rc4 available already :) Does anybody need ebuild?
> 

cool! it`s will be great!
Comment 18 Helmuth Schmelzer 2009-11-24 19:06:14 UTC
(In reply to comment #17)
> (In reply to comment #16)
> > (In reply to comment #14)
> > > release candidate 1 of version 13 available at http://gajim.org/
> > 
> > rc4 available already :) Does anybody need ebuild?
> > 
> 
> cool! it`s will be great!
> 

This ebuild patches but if they work, I've tried it from my local overlay:)
and gajim works



Comment 19 Bruno 'brubru' Tarquini 2009-11-25 23:27:29 UTC
Created attachment 211206 [details]
ebuild for gajim-0.13 with cleanup

Changes:
 * license is now GPL-3
 * better patch for installing pyfiles in python-2.6/site-packages/gajim
   (I hope it will go upstream)
 * put some dependencies which need dbus enabled under dbus flag. (avahi, libnotify)
 * use of modular gnome-python:
	I tried to replace the deps as appropriate, but I don't use Gnome but Xfce4 with some Gnome deps so I can't say that is correct.
	Look at "Help -> Features" to see if something is missing.

Added:
 * crypt USE flag for pycrypto (end2end messages)
   and app-crypt/gnupg (not py-gnupg, gajim seems to have his own interface) 
 * versionator eclass, just to extract 0.13 from for SRC_URI

Removed:
 * multilib eclass, ebuild seems not to use any functions of it.
 * now useless patches (fix-sounds, fix datadir, notifyd)
 * old configure options: --enable-remote, --enable-gtkspell, --enable-idle
   these are now selected at runtime.

TODO:
=====================================
Actual ebuild too has many USE flags:
IUSE="avahi crypt dbus gnome idle libnotify nls spell srv trayicon X xhtml"

Maybe can we remove some of them:

I think we could always enable those USE flags:

 * trayicon	gajim use dev-python/egg-python or fallback to his own compiled module

 * X		./configure check for X headers in ./configure? probably useless

 * idle		detect idle with screensaver, add a dep on x11-libs/libXScrnSaver
		(runtime deps of libXScrnSver are x11-libs/libX11 and x11-libs/libXext,
		which are required on desktop)

Has most of Gajim dependencies are pure runtime deps, we could drop some of them and simply
add a note at the end of installation?

=================
Missing features/deps:

 * libasync, could be an alternative to net-dns/bind-tools
 * LaTex
 * kwalletcli (not in portage) instead of gnome-keyring
 * network-manager

Bruno.
Comment 20 Bruno 'brubru' Tarquini 2009-11-25 23:28:31 UTC
Created attachment 211207 [details, diff]
better patch for installing pyfiles under python-2.6/site-packages/gajim
Comment 21 Bruno 'brubru' Tarquini 2009-11-30 22:35:03 UTC
Created attachment 211631 [details]
Ebuild for gajim-0.13.1

And gajim-0.13.1 is here...

... with a new patch derived from what I (finally) sent upstream: http://trac.gajim.org/ticket/5460

I added libasync as dependencies too (from ebuilds from #294600), but not notify-osd as it is not in portage and when it will be, should be a dependencie of libnotify (#280775).
Comment 22 Bruno 'brubru' Tarquini 2009-11-30 22:37:14 UTC
Created attachment 211632 [details, diff]
Patch to install pyfiles in python2.x/sites-packages

Milestone 0.14 and superior would have the patch applied.
Comment 23 Ivan Anishchuk 2009-12-02 19:51:21 UTC
*** Bug 294600 has been marked as a duplicate of this bug. ***
Comment 24 manwe 2009-12-03 10:47:55 UTC
Error after upgrade to 0.13.1:

Traceback (most recent call last):
  File "gajim.py", line 3698, in <module>
    interface = Interface()
  File "gajim.py", line 3552, in __init__
    import network_manager_listener
  File "/usr/lib64/python2.6/site-packages/gajim/network_manager_listener.py", line 66, in <module>
    bus = system_bus.bus()
  File "/usr/lib64/python2.6/site-packages/gajim/common/dbus_support.py", line 67, in bus
    return self.SystemBus()
  File "/usr/lib64/python2.6/site-packages/gajim/common/dbus_support.py", line 63, in SystemBus
    raise exceptions.SystemBusNotPresent
AttributeError: 'module' object has no attribute 'SystemBusNotPresent'
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib64/python2.6/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "gajim.py", line 392, in on_exit
    gajim.interface.roster.prepare_quit()
AttributeError: Interface instance has no attribute 'roster'
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib64/python2.6/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "gajim.py", line 392, in on_exit
    gajim.interface.roster.prepare_quit()
AttributeError: Interface instance has no attribute 'roster'
Comment 25 Bruno 'brubru' Tarquini 2009-12-04 10:14:27 UTC
(In reply to comment #24)
> Error after upgrade to 0.13.1:
> 
> Traceback (most recent call last):
>   File "gajim.py", line 3698, in <module>
>     interface = Interface()
>   File "gajim.py", line 3552, in __init__
>     import network_manager_listener
>   File "/usr/lib64/python2.6/site-packages/gajim/network_manager_listener.py",
> line 66, in <module>
>     bus = system_bus.bus()
>   File "/usr/lib64/python2.6/site-packages/gajim/common/dbus_support.py", line
> 67, in bus
>     return self.SystemBus()
>   File "/usr/lib64/python2.6/site-packages/gajim/common/dbus_support.py", line
> 63, in SystemBus
>     raise exceptions.SystemBusNotPresent
> AttributeError: 'module' object has no attribute 'SystemBusNotPresent'
> Error in atexit._run_exitfuncs:
> Traceback (most recent call last):
>   File "/usr/lib64/python2.6/atexit.py", line 24, in _run_exitfuncs
>     func(*targs, **kargs)
>   File "gajim.py", line 392, in on_exit
>     gajim.interface.roster.prepare_quit()
> AttributeError: Interface instance has no attribute 'roster'
> Error in sys.exitfunc:
> Traceback (most recent call last):
>   File "/usr/lib64/python2.6/atexit.py", line 24, in _run_exitfuncs
>     func(*targs, **kargs)
>   File "gajim.py", line 392, in on_exit
>     gajim.interface.roster.prepare_quit()
> AttributeError: Interface instance has no attribute 'roster'
> 

Is your dbus system running ? (/etc/init.d/dbus status)

Look like the same as: http://trac.gajim.org/ticket/5457. Try to apply patch from http://trac.gajim.org/raw-attachment/ticket/5457/gajim.attribute.error.diff.
Comment 26 manwe 2009-12-04 10:39:13 UTC
> Is your dbus system running ? (/etc/init.d/dbus status)

It wasn't, now works. Thanks.
Comment 27 Justin Lecher (RETIRED) gentoo-dev 2010-01-04 09:13:28 UTC
*** Bug 294063 has been marked as a duplicate of this bug. ***
Comment 28 Boris Petersen 2010-01-04 17:46:20 UTC
(In reply to comment #21)
ebuild and patch work fine. thanks
Comment 29 Peter Volkov (RETIRED) gentoo-dev 2010-01-04 19:37:14 UTC
gajim-0.13.1 is in the tree. Thank you all, guys.