Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127966 - app-mobilephone/bitpim 0.8.12 updated ebuild
Summary: app-mobilephone/bitpim 0.8.12 updated ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Mobile Phone Developers (INACTIVE)
URL:
Whiteboard:
Keywords:
Depends on: 57323 100296 121856 127734
Blocks:
  Show dependency tree
 
Reported: 2006-03-29 03:36 UTC by Pat Double
Modified: 2006-04-22 06:01 UTC (History)
1 user (show)

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


Attachments
bitpim-0.8.10.ebuild (bitpim-0.8.10.ebuild,889 bytes, text/plain)
2006-03-29 03:38 UTC, Pat Double
Details
bitpim-0.8.10-r1.ebuild (bitpim-0.8.10-r1.ebuild,4.03 KB, text/plain)
2006-03-29 22:33 UTC, Pat Double
Details
files/get_main_dir_fix.patch (get_main_dir_fix.patch,451 bytes, text/plain)
2006-03-29 22:34 UTC, Pat Double
Details
bitpim-0.8.10-r1.ebuild (bitpim-0.8.10-r1.ebuild,4.34 KB, text/plain)
2006-03-30 02:46 UTC, Pat Double
Details
bitpim-0.8.11.ebuild (bitpim-0.8.11.ebuild,4.34 KB, text/plain)
2006-04-04 11:44 UTC, Pat Double
Details
files/get_main_dir_fix.patch (get_main_dir_fix.patch,444 bytes, patch)
2006-04-04 11:45 UTC, Pat Double
Details | Diff
bitpim-0.8.12.ebuild (bitpim-0.8.12.ebuild,4.34 KB, text/plain)
2006-04-11 11:57 UTC, Pat Double
Details
files/get_main_dir_fix.patch (get_main_dir_fix.patch,520 bytes, patch)
2006-04-11 11:58 UTC, Pat Double
Details | Diff
bitpim-0.8.12.ebuild (bitpim-0.8.12.ebuild,4.23 KB, text/plain)
2006-04-17 14:42 UTC, Alin Năstac (RETIRED)
Details
bitpim.desktop (bitpim.desktop,216 bytes, text/plain)
2006-04-17 21:43 UTC, Alin Năstac (RETIRED)
Details
bitpim-0.8.12-get_main_dir.patch (bitpim-0.8.12-get_main_dir.patch,520 bytes, text/plain)
2006-04-18 08:47 UTC, Alin Năstac (RETIRED)
Details
bitpim-0.8.12.ebuild (bitpim-0.8.12.ebuild,4.47 KB, text/plain)
2006-04-18 08:54 UTC, Alin Năstac (RETIRED)
Details
bitpim-0.8.12-gentoo.patch (bitpim-0.8.12-gentoo.patch,3.77 KB, text/plain)
2006-04-20 11:48 UTC, Alin Năstac (RETIRED)
Details
bitpim-0.8.12.ebuild (bitpim-0.8.12.ebuild,4.05 KB, text/plain)
2006-04-20 11:58 UTC, Alin Năstac (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pat Double 2006-03-29 03:36:25 UTC
bitpim has been updated to version 0.8.10.
Comment 1 Pat Double 2006-03-29 03:38:10 UTC
Created attachment 83361 [details]
bitpim-0.8.10.ebuild

Updated ebuild for bitpim 0.8.10. Please note that copying the bitpim-0.8.08 ebuild will not work. Some changes were made in the RPM layout.
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2006-03-29 04:27:26 UTC
Could you please check bug 127079? 
Maybe you manage to create a source based ebuild for this package :)
Comment 3 Pat Double 2006-03-29 04:55:31 UTC
I probably don't have time to look into doing that.
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2006-03-29 12:39:55 UTC
Unfortunately the incompatibility between >gtk+2.8.8 and this package is not solved by this version.
I will remove this package from the portage unless someone step up and make that source based ebuild.
Comment 5 Pat Double 2006-03-29 12:46:29 UTC
I am working on it now. Compiling wxGTK 2.6.2 right now. It also depends on wxpython 2.6.2.1, which is not in portage yet. I am also testing that ebuild.
Comment 6 Pat Double 2006-03-29 22:32:00 UTC
Several dependancies. Watch out for bug 100296 apsw. Use the original version, 3.2.2-r1. 3.2.7 could not be found.
Comment 7 Pat Double 2006-03-29 22:33:09 UTC
Created attachment 83415 [details]
bitpim-0.8.10-r1.ebuild

Source based ebuild for 0.8.10. The tarball is meant to be tagged from the tagged svn.
Comment 8 Pat Double 2006-03-29 22:34:06 UTC
Created attachment 83416 [details]
files/get_main_dir_fix.patch

Patch to find the right /usr/lib/BitPim-${PV} directory since we're not creating an executable, but using the python code directly.
Comment 9 Pat Double 2006-03-29 22:36:45 UTC
OK, here's your source ebuild. I did some testing, looked through my phone book and files. Retrieved from the phone. My phone doesn't have write support yet. I am using usb so that appears to work. The tarball is made by:

svn export https://svn.sourceforge.net/svnroot/bitpim/releases/0.8.10 bitpim-0.8.10
tar -cvjf bitpim-0.8.10.tar.bz2 bitpim-0.8.10

Try it, hopefully it works for you. Remember you need wxGTK 2.6.2, wxpython 2.6.2.1 and apsw 3.2.2-r1.ebuild. I suppose newer wxpython, wxGTK and apsw will work. The newer apsw tarball could not be found, I didn't try very hard.
Comment 10 Pat Double 2006-03-29 22:38:52 UTC
When you've verified this and some others have tested, submit it upstream, would you? That ebuild they have now is no good.
Comment 11 Pat Double 2006-03-30 02:46:21 UTC
Created attachment 83422 [details]
bitpim-0.8.10-r1.ebuild

Added a .desktop file so it shows up in DE menus.
Comment 12 Pat Double 2006-04-04 11:44:53 UTC
Created attachment 83905 [details]
bitpim-0.8.11.ebuild

Updated ebuild for 0.8.11. Create tarball with:
svn export https://svn.sourceforge.net/svnroot/bitpim/releases/0.8.11 bitpim-0.8.11
tar -cvjf bitpim-0.8.11.tar.gz bitpim-0.8.11

Any comment on this? Doesn't work? Works great? Waiting on dependancies to get into portage??
Comment 13 Pat Double 2006-04-04 11:45:14 UTC
Created attachment 83906 [details, diff]
files/get_main_dir_fix.patch
Comment 14 Alin Năstac (RETIRED) gentoo-dev 2006-04-04 14:25:22 UTC
I've already fixed the bug 100296 and now I'm waiting for bug 121856 to be fixed.
Comment 15 Pat Double 2006-04-11 11:57:56 UTC
Created attachment 84457 [details]
bitpim-0.8.12.ebuild

ebuild for latest release
Comment 16 Pat Double 2006-04-11 11:58:14 UTC
Created attachment 84458 [details, diff]
files/get_main_dir_fix.patch
Comment 17 Alin Năstac (RETIRED) gentoo-dev 2006-04-13 23:46:29 UTC
I am a little confused about the necessity of including http://sourceforge.net/projects/python-dsv into this ebuild.
According to the project home page, python-dsv is "CSV file importer/exporter with heuristics for determining file format + optional wxPython dialog".
Is this thing required by bitpim?
Comment 18 Pat Double 2006-04-17 05:07:00 UTC
Yes, python-dsv is required by bitpim. bitpim does import and export of CSV files (amoung other formats) and uses this library. It should be a separate ebuild but it is not longer being developed, mostly because it has all the features it intended to implement and apparently no bugs. Bug 57323 filed to include python-dsv in portage states it will not be included because it is not actively developed. It is resolved as won't fix. Therefore I included it here.
Comment 19 Alin Năstac (RETIRED) gentoo-dev 2006-04-17 05:10:45 UTC
ah, CSV not CVS!
okay, I will add the dev-python/dsv package to portage and set mobile-phone as herd.
Comment 20 Alin Năstac (RETIRED) gentoo-dev 2006-04-17 14:42:50 UTC
Created attachment 84866 [details]
bitpim-0.8.12.ebuild

Please test this version and see what needs to be fixed/improved.
Comment 21 Pat Double 2006-04-17 15:07:18 UTC
Where is bitpim.desktop?
Comment 22 Alin Năstac (RETIRED) gentoo-dev 2006-04-17 21:43:43 UTC
Created attachment 84875 [details]
bitpim.desktop

Right here ;)
Comment 23 Pat Double 2006-04-18 08:24:47 UTC
Works good here exception there is ${RLOC} in the bitpim.desktop file. Is that going to get resolved correctly? I thinking not.
Comment 24 Alin Năstac (RETIRED) gentoo-dev 2006-04-18 08:47:53 UTC
Created attachment 84907 [details]
bitpim-0.8.12-get_main_dir.patch
Comment 25 Alin Năstac (RETIRED) gentoo-dev 2006-04-18 08:54:26 UTC
Created attachment 84908 [details]
bitpim-0.8.12.ebuild

I've reverted the bitpim.desktop installation part to your implementation.

This ebuild has some QA issues:
QA Notice: the following files contain executable stacks
 Files with executable stacks will not work properly (or at all!)
 on some architectures/operating systems.  A bug should be filed
 at http://bugs.gentoo.org/ to make sure the file is fixed.
RWX --- --- usr/lib/bitpim-0.8.12/helpers/bmp2avi.lbin
RWX --- --- usr/lib/bitpim-0.8.12/helpers/pngtopnm.lbin
RWX --- --- usr/lib/bitpim-0.8.12/helpers/pnmtopng.lbin
RWX --- --- usr/lib/bitpim-0.8.12/helpers/ppmquant.lbin

I've asked the author of bitpim to help us fix those warnings and I am waiting for his reply.
Comment 26 Alin Năstac (RETIRED) gentoo-dev 2006-04-20 11:48:36 UTC
Created attachment 85047 [details]
bitpim-0.8.12-gentoo.patch
Comment 27 Alin Năstac (RETIRED) gentoo-dev 2006-04-20 11:58:16 UTC
Created attachment 85048 [details]
bitpim-0.8.12.ebuild

This version fixed the *.lbin problems by using the variant of those programs available through media-video/ffmpeg and media-libs/netpbm packages.

However, the bitpim program refuses to quit. After I close it, the console from which I launched it displays:
...
not returning a bitmap for wxART_MISSING_IMAGE
BEGIN EXCLUSIVE TRANSACTION
END TRANSACTION
BEGIN EXCLUSIVE TRANSACTION
END TRANSACTION
Failed to get outlook
BEGIN EXCLUSIVE TRANSACTION
END TRANSACTION
setting windows/AutoSyncSettingsDialog to position 631, 472
setting windows/MainWin to position 151, 43 - size 1440 x 1080
7601 seconds till midnight
detectphone:sleeping 0

and it just sits there. Only Ctrl-C close the program.
Can anyone help me with this last issue?
Comment 28 Pat Double 2006-04-20 12:41:01 UTC
FYI, the quit problem has always happened to me, whether using the RPM or this compiled version, so it's not something specific to the ebuild. I'd be willing to try any debugging procedures.
Comment 29 David Grant 2006-04-20 20:01:51 UTC
just svn exported 0.8.12 and compiled fine. I will try running it when I get home.
Comment 30 Alin Năstac (RETIRED) gentoo-dev 2006-04-22 05:29:41 UTC
I need someone to actually test the last ebuild before I can submit it to the tree...
Comment 31 Pat Double 2006-04-22 05:37:23 UTC
Works here.
Comment 32 Alin Năstac (RETIRED) gentoo-dev 2006-04-22 06:01:30 UTC
Version has been submitted to the tree and the tarball has been posted for inclusion on distfiles mirrors.

One thing is sure. This is the most laborious bug that I've ever encountered. Thanks to all that helped me crack this, but most of all, thank you Pat!