Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31999 - documancer-0.2.6 (new version of package, required significant ebuild changes)
Summary: documancer-0.2.6 (new version of package, required significant ebuild changes)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on: 130969
Blocks:
  Show dependency tree
 
Reported: 2003-10-25 15:52 UTC by Vaclav Slavik
Modified: 2006-04-28 15:24 UTC (History)
4 users (show)

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


Attachments
patch that updates documancer-0.1.7.ebuild to 0.2.1 (documancer-0.2.1.ebuild.patch,1.96 KB, patch)
2003-10-25 15:54 UTC, Vaclav Slavik
Details | Diff
complete ebuild for documancer-0.2.2 (documancer-0.2.2.ebuild,1.10 KB, text/plain)
2003-10-25 15:55 UTC, Vaclav Slavik
Details
patch that updates documancer-0.1.7.ebuild to 0.2.2 (patch,1.96 KB, patch)
2003-11-29 14:17 UTC, Vaclav Slavik
Details | Diff
documancer-0.2.3.ebuild (documancer-0.2.3.ebuild,1.10 KB, text/plain)
2004-01-30 12:57 UTC, Vaclav Slavik
Details
documancer-0.2.4.ebuild (documancer-0.2.4.ebuild,1.08 KB, text/plain)
2005-02-06 05:44 UTC, Vaclav Slavik
Details
documancer-0.2.5.ebuild (documancer-0.2.5.ebuild,1.10 KB, text/plain)
2005-04-01 15:25 UTC, Magnus Lidbom
Details
documancer-0.2.5.ebuild (documancer-0.2.5.ebuild,1.08 KB, text/plain)
2005-05-01 14:00 UTC, Vaclav Slavik
Details
documancer-0.2.6.ebuild (documancer-0.2.6.ebuild,978 bytes, text/plain)
2005-09-10 19:39 UTC, Ed Catmur
Details
documancer-0.2.6.ebuild (documancer-0.2.6.ebuild,978 bytes, text/plain)
2005-09-10 19:45 UTC, Ed Catmur
Details
Revised ebuild (documancer-0.2.6.ebuild,968 bytes, text/plain)
2006-04-26 20:27 UTC, Mart Raudsepp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vaclav Slavik 2003-10-25 15:52:31 UTC
Attached is ebuild patch for new version of Documancer, 0.2.1, which I recently
released. Portage contains 0.1.7, which is very different from 0.2.x in terms of
dependencies, it was rewritten using wxPython and wxMozilla. This patch updates
dependencies accordingly and adds check if wxMozilla was compiled with python
extension.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Vaclav Slavik 2003-10-25 15:54:29 UTC
Created attachment 19788 [details, diff]
patch that updates documancer-0.1.7.ebuild to 0.2.1
Comment 2 Vaclav Slavik 2003-10-25 15:55:31 UTC
Created attachment 19789 [details]
complete ebuild for documancer-0.2.2
Comment 3 Rob Cakebread (RETIRED) gentoo-dev 2003-10-25 17:23:58 UTC
Hi Vaclav, I've actually been using this since you announced it on the
wxPython mailing list. Its really nice, great work. I made a CVS ebuild
of wxMozilla to try it, since I had wxGTK/wxPython compiled with gtk2. (The
source link on wxmozilla.sf.net still points to 0.5.1). I'll add this as
soon
 as the Mozilla team adds wxMozilla.
Comment 4 Vaclav Slavik 2003-11-29 14:17:03 UTC
Created attachment 21483 [details, diff]
patch that updates documancer-0.1.7.ebuild to 0.2.2

Upgraded for 0.2.2
Comment 5 Vaclav Slavik 2003-11-29 14:23:52 UTC
I upgraded the ebuild for newly released 0.2.2 (no real change, only filename), so that it is up-to-date when wxMozilla ebuild finds its way into Portage.
Comment 6 Vaclav Slavik 2004-01-30 12:57:45 UTC
Created attachment 24656 [details]
documancer-0.2.3.ebuild

Ebuild for new upstream version.
Comment 7 Vaclav Slavik 2005-02-06 05:44:01 UTC
Created attachment 50532 [details]
documancer-0.2.4.ebuild

Attaching ebuild for latest release, which has different dependencies. Now that
wxMozilla is in Portage, Documancer can be upgraded as well.

BTW, the ebuild depends on Java -- the other option is to make it depend on
PyLucene (not in Portage yet), but I think it's better to get at least
_something_ better than 0.1.7 into Portage and modify it to use PyLucene
instead of Java later.
Comment 8 Magnus Lidbom 2005-04-01 15:25:21 UTC
Created attachment 55066 [details]
documancer-0.2.5.ebuild

Uses dev-python/pylucene-0.9.7 from bug:81416.
Java runtime dependency removed.
Comment 9 Vaclav Slavik 2005-04-02 00:39:21 UTC
Note that I didn't add a dependency on a package that was not yet accepted into Portage on purpose: with the speed things get to Portage, it would only prolong acceptance of a new version (that is not so ancient as the one currently in Portage) even more...
Comment 10 Anton Romanov 2005-04-19 07:41:14 UTC
www-client/mozilla dependacy should be removed because documancer depends on x11-libs/wxmozilla....


(and wxmozilla can be used with firefox instead of mozilla... see bug #89653)

so .... just remove mozilla dependacy ...
Comment 11 Vaclav Slavik 2005-05-01 14:00:46 UTC
Created attachment 57765 [details]
documancer-0.2.5.ebuild

0.2.5 ebuild without mozilla dependency and with dependency on either PyLucene
_or_ JRE.
Comment 12 Vaclav Slavik 2005-06-09 04:35:52 UTC
the ebuild from comment 11 can be upgraded to latest release by renaming to
documancer-0.2.6.ebuild, no further changes are needed.
Comment 13 Ed Catmur 2005-09-10 19:39:51 UTC
Created attachment 68153 [details]
documancer-0.2.6.ebuild

Current test for /usr/lib/python${PYVER}/site-packages/wxPython/mozilla.py does
not work with wxGTK-2.6.1: mozilla.py is installed to
/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wxPython/; use
built_with_use instead.

Remove redundant src_compile().
Comment 14 Ed Catmur 2005-09-10 19:45:29 UTC
Created attachment 68154 [details]
documancer-0.2.6.ebuild

fix inherit
Comment 15 Mart Raudsepp gentoo-dev 2006-04-20 14:04:07 UTC
The 0.2.6 emerges fine (but could take some minor touches) against wxmozilla-0.5.4, wxpython-2.6.3.2, wxGTK-2.6.3.2, but doesn't spawn any windows on run:

<snap>
  File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 7352, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/usr/lib/documancer/gui/app.py", line 88, in OnInit
    main_frame = MainFrame(None, -1, "", name=_('Documancer'))
  File "/usr/lib/documancer/gui/MainFrame.py", line 216, in __init__
    self.RecreateBrowser()
  File "/usr/lib/documancer/gui/MainFrame.py", line 383, in RecreateBrowser
    self.browser = HtmlBrowser.create(self.browserPanel, -1, name)
  File "/usr/lib/documancer/gui/HtmlBrowser.py", line 299, in create
    return HtmlBrowser(parent, id)
  File "/usr/lib/documancer/gui/HtmlBrowser.py", line 198, in __init__
    EVT_MOZILLA_URL_CHANGED(self, -1, self.__OnUrlChanged)
  File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 3704, in __call__
    self.Bind(target, id1, id2, func)
  File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 3670, in Bind
    target.Connect(id1, id2, et, function)
  File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 3592, in Connect
    return _core_.EvtHandler_Connect(*args, **kwargs)
TypeError: argument number 1: a 'wxEvtHandler *' is expected, 'PySwigObject(_p_wxMozillaBrowser)' is received


Is there a new release planned anytime soonish if this is fixed (in SVN?) to work with wxpython-2.6.3.2?

Re comment #9: We can now work on putting this and other wx related updates in.
Comment 16 Vaclav Slavik 2006-04-21 05:18:29 UTC
> Is there a new release planned anytime soonish if this is fixed (in SVN?)

I'm getting the same exception with SVN version after upgrading wxpython to 2.6.3.2. I suspect incompatible change in wxPython's version of SWIG - if that's the case, we'll need new version of wxMozilla to fix this. Will investigate.
Comment 17 Vaclav Slavik 2006-04-23 08:31:01 UTC
There's now a new version of wxmozilla that works with wxpython 2.6.3. See bug #130969 (adding as dependency).
Comment 18 Mart Raudsepp gentoo-dev 2006-04-26 15:31:41 UTC
It launches up now with a wxmozilla upgrade :)
I'll go over the ebuild today
Comment 19 Mart Raudsepp gentoo-dev 2006-04-26 20:27:04 UTC
Created attachment 85582 [details]
Revised ebuild

Revised ebuild with the following changes:

* Depend on virtual/python, not dev-lang/python
* Depend on >=wxmozilla-0.5.6 and >=wxpython-2.6.3 to work with ~x86 (as this is ~x86 material too)
  - If wxGTK/wxpython come out of ~x86, wxmozilla should shortly follow to work properly
* Remove COPYING from dodoc, we have LICENSE="GPL-2" for that

Many thanks for the other attached ebuilds! Made it easy.
Comment 20 Mark Loeser (RETIRED) gentoo-dev 2006-04-28 15:24:48 UTC
Bumped.  Thanks mart.