Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61982 - wammu and python-gammu (new package)
Summary: wammu and python-gammu (new package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
: 55174 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-27 16:20 UTC by Przemyslaw Maciag (RETIRED)
Modified: 2004-11-11 14:51 UTC (History)
4 users (show)

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


Attachments
python-gammu-0.5.ebuild (python-gammu-0.5.ebuild,631 bytes, text/plain)
2004-08-27 16:21 UTC, Przemyslaw Maciag (RETIRED)
Details
wammu-0.6.ebuild (wammu-0.6.ebuild,725 bytes, text/plain)
2004-08-27 16:21 UTC, Przemyslaw Maciag (RETIRED)
Details
wammu.desktop (wammu.desktop,254 bytes, text/plain)
2004-08-27 16:22 UTC, Przemyslaw Maciag (RETIRED)
Details
python-gammu-0.5.ebuild (python-gammu-0.5.ebuild,649 bytes, text/plain)
2004-08-27 18:13 UTC, Przemyslaw Maciag (RETIRED)
Details
wammu-0.6.ebuild (wammu-0.6.ebuild,803 bytes, text/plain)
2004-08-27 18:14 UTC, Przemyslaw Maciag (RETIRED)
Details
wammu.desktop (wammu.desktop,288 bytes, text/plain)
2004-08-27 18:15 UTC, Przemyslaw Maciag (RETIRED)
Details
wammu.png (wammu.png,3.38 KB, image/png)
2004-08-27 18:16 UTC, Przemyslaw Maciag (RETIRED)
Details
python-gammu-0.6.ebuild (python-gammu-0.6.ebuild,660 bytes, text/plain)
2004-09-21 06:15 UTC, Przemyslaw Maciag (RETIRED)
Details
wammu-0.8.ebuild (wammu-0.8.ebuild,820 bytes, text/plain)
2004-09-21 06:16 UTC, Przemyslaw Maciag (RETIRED)
Details
my wammu overlay ebuilds (wammu+python-gammu) (wammu-overlay.tar.gz,5.44 KB, application/x-gzip)
2004-09-29 06:57 UTC, Axel Dyks
Details
wammu.desktop (wammu.desktop,300 bytes, text/plain)
2004-09-29 08:07 UTC, Przemyslaw Maciag (RETIRED)
Details
wammu-0.8.ebuild -- inherits distutils.eclass (wammu-0.8.ebuild,869 bytes, text/plain)
2004-10-13 08:27 UTC, Torsten Veller (RETIRED)
Details
python-gammu-0.6.ebuild (python-gammu-0.6.ebuild,559 bytes, text/plain)
2004-10-13 08:28 UTC, Torsten Veller (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Przemyslaw Maciag (RETIRED) gentoo-dev 2004-08-27 16:20:52 UTC
Wammu is a gtk frontend for gammu; written in python with wxpython as GUI library
(application for connecting/synhronizing with various models of cell phones)

python-gammu are python bindings for gammu project needed by wammu

It's a very nice project, close to [x]gnokii.

PS. Sorry for my english.

Regards,
Przemek

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-08-27 16:21:24 UTC
Created attachment 38338 [details]
python-gammu-0.5.ebuild
Comment 2 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-08-27 16:21:44 UTC
Created attachment 38339 [details]
wammu-0.6.ebuild
Comment 3 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-08-27 16:22:52 UTC
Created attachment 38340 [details]
wammu.desktop

no icon yet. Maybe somebody have a nice png file, that would be good for this?
Comment 4 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-08-27 16:27:22 UTC
I suggest:
python-gammu to dev-python (where else? ;-) )
wammu to net-dialup

Regards,
Przemek
Comment 5 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-08-27 18:13:48 UTC
Created attachment 38350 [details]
python-gammu-0.5.ebuild

depedencies fix
Comment 6 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-08-27 18:14:47 UTC
Created attachment 38351 [details]
wammu-0.6.ebuild

depedencies fix
installing icon
Comment 7 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-08-27 18:15:26 UTC
Created attachment 38352 [details]
wammu.desktop

icon for desktop file provided
Comment 8 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-08-27 18:16:12 UTC
Created attachment 38353 [details]
wammu.png

icon for wammu.

this is my first icon ever :) hope you will like it

Regards,
Przemek
Comment 9 Rob Cakebread (RETIRED) gentoo-dev 2004-08-27 18:26:35 UTC
*** Bug 55174 has been marked as a duplicate of this bug. ***
Comment 10 Alin Năstac (RETIRED) gentoo-dev 2004-09-16 10:32:42 UTC
Tried ebuilds with bumped versions
  gammu-0.98.0
  python-gammu-0.6
  wammu-0.7

All ebuilds was successfully except for wammu, in which I received 
  Xlib: connection to ":0.0" refused by server
  Xlib: No protocol specified

I've tried to unset DISPLAY with no success. Only "xhost +" solved the case. 
Comment 11 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-09-21 06:15:53 UTC
Created attachment 40076 [details]
python-gammu-0.6.ebuild

version bump
Comment 12 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-09-21 06:16:22 UTC
Created attachment 40077 [details]
wammu-0.8.ebuild

version bump
Comment 13 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-09-21 06:26:34 UTC
also ebuild for wammu is installing (very basic) man file.

Alin: I couldn't reproduce this bug of yours. I'm running on:
- gammu-0.98 (available on bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=64848)
- python-gammu-0.6 (from here)
- wammu-0.8 (also from here)
Plz - test ebuilds and say are they working for you or not.

PS. After every gammu recompilation it's not a boad idea to recompile python-gammu... I had this problems some time ago.
PPS. Sorry for my english....

Regards,
Przemek
Comment 14 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-09-21 06:27:28 UTC
"a boad idea" = "a bad idea"

Cheers, ;-)
Przemek
Comment 15 Alin Năstac (RETIRED) gentoo-dev 2004-09-26 15:06:36 UTC
I think it has something to do with gtk. I have both gtk and gtk2 flags set and the result is:

alin wammu # ebuild wammu-0.8.ebuild merge
>>> md5 src_uri ;-) wammu-0.8.tar.bz2
>>> Unpacking source...
>>> Unpacking wammu-0.8.tar.bz2 to /var/tmp/portage/wammu-0.8/work
>>> Source unpacked.
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


Gtk-WARNING **: cannot open display: :0.0

!!! ERROR: net-dialup/wammu-0.8 failed.
!!! Function src_compile, Line 23, Exitcode 1
!!! build failed
Comment 16 Axel Dyks 2004-09-29 06:57:10 UTC
Created attachment 40707 [details]
my wammu overlay ebuilds (wammu+python-gammu)

wammu is definetly worth a try!
I have attached my "portage overlay" for wammu and pyton-gammu.
Successfully built on a 2.4.26-r9/gnome-desktop that is
"almost completely unicoded".
Successfully connection to my nokia 6310 using irda/ircomm (SIR) and
retrieval of messages and contacts from the phone. :-)

Pretty GUI!

I have experienced the following problems during my "journey to wammu":
  1. current version of "irda-utils" does not build "irdadump"
     because of a bad (auto)-Makefile
  2. "gammu.ebuild" links against "libsdp", although "bluez-sdp"
     is not listed as build (runtime?) dependency
  3. launching "wammu" with environment variable LANGUAGE set to
     ENUS (open-office) does not work. (Maybe because of my
     ALMOST complete unicode system. Just as I'm writing this,
     "wxpython" and "wxGTK" are re-emerging with USE="...unicode..."

Greets

Axel
Comment 17 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-09-29 07:24:45 UTC
RE:
1) I'm assuming you're using gcc 3.4.x
plz - try this ebuild: http://bugs.gentoo.org/show_bug.cgi?id=63475

I have to make some answers to Henrik Brix Andersen, but dont have a time right now - I'll do it at the end of the week. in the meantime - plz try my ebuild from that bug, with every patches

2) troll@troll ~ $ ldd `which gammu`
        linux-gate.so.1 =>  (0xffffe000)
        libmysqlclient.so.12 => /usr/lib/libmysqlclient.so.12 (0x40017000)
        libz.so.1 => /usr/lib/libz.so.1 (0x40052000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40081000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x400ae000)
        libm.so.6 => /lib/libm.so.6 (0x400c2000)
        libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x400e4000)
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x4010e000)
        libGammu.so.0.0 => /usr/lib/libGammu.so.0.0 (0x401ee000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x40291000)
        libc.so.6 => /lib/libc.so.6 (0x402a2000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libdl.so.2 => /lib/libdl.so.2 (0x403ce000)

hmmmm... as I see it - it's searching for it. maybe we have to add something to the configure script?
Also - there is new gammu ebuild in portage (version 0.98), looks like mine http://bugs.gentoo.org/show_bug.cgi?id=64848
are you using this one?

3) wtf?? i'll test it - but I doubt, that I found a solution....

PS. Sorry for my bad english ;-)

Regards,
Przemek
Comment 18 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-09-29 07:27:45 UTC
"hmmmm... as I see it - it's searching for it." - during the configure script...
sorry!

Regards,
Przemek
Comment 19 Axel Dyks 2004-09-29 07:42:16 UTC
...after re-emerging "wxpython" and "wxGTK" with unicode support
"wammu" starts up witout an error message (LANGUAGE set to "ENUS").

"Umlauts" in contacts and messages are displayed as expected.

'ACCEPT_KEYWORDS="~x86" emerge wammu' has to be launched from
within an X-Windows/Gnome-Session, otherwise "setup.py" complains about
a missing X-Server connection (Xlib: connection to ":0.0" refused by server).

"wammu.desktop" should include "Application;" in "Categories="

Axel

P. S.: Really a nice piece of software
  
Comment 20 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-09-29 08:07:11 UTC
Created attachment 40711 [details]
wammu.desktop

> "wammu.desktop" should include "Application;" in "Categories="
done. thx!

Regards,
Przemek
Comment 21 Torsten Veller (RETIRED) gentoo-dev 2004-10-13 08:27:23 UTC
Created attachment 41724 [details]
wammu-0.8.ebuild -- inherits distutils.eclass

ebuild uses distutils.eclass and adds
SKIPWXCHECK=yes (removes Xlib error)
Comment 22 Torsten Veller (RETIRED) gentoo-dev 2004-10-13 08:28:35 UTC
Created attachment 41725 [details]
python-gammu-0.6.ebuild

ebuild inherits distutils.eclass
Comment 23 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-10-13 09:01:43 UTC
Comment on attachment 40077 [details]
wammu-0.8.ebuild

thx for a fix :) maybe gentoo devs will add it to portage now.

but I have one question - does ebuild for python-gammu also need this fix??

Regards,
Przemek
Comment 24 Alin Năstac (RETIRED) gentoo-dev 2004-10-13 09:45:03 UTC
I confirm that the ebuild posted with comment #21 solves the problem.

comment #23: no, it doesn't
Comment 25 Przemyslaw Maciag (RETIRED) gentoo-dev 2004-10-13 10:13:32 UTC
Alin - thx! That what I think about it :)

Regards,
Przemek
Comment 26 Bryan Østergaard (RETIRED) gentoo-dev 2004-11-11 10:28:05 UTC
dev-python/python-gammu added to the tree.
Comment 27 Alin Năstac (RETIRED) gentoo-dev 2004-11-11 14:51:50 UTC
wammu has been committed to tree. thanks guys!