Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 20027
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Python Gentoo Team <python@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: John Steele Scott <toojays@toojays.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
pybliographer-1.0.11.ebuild ebuild for pybliographer 1.0.11 text/plain John Steele Scott 2003-04-27 01:09 0000 423 bytes Details
pybliographer-1.0.11-configure.diff stops configure from bombing out if recode is not version 3.5 patch John Steele Scott 2003-04-27 01:10 0000 380 bytes Details | Diff
recode-3.6-r1.ebuild ebuild for recode-3.6 which works with pybliographic text/plain John Steele Scott 2003-04-27 01:13 0000 1.19 KB Details
recode-3.6-debian.diff debian's patch for recode with paths changed to work with gentoo autopatch patch John Steele Scott 2003-04-27 01:15 0000 65.37 KB Details | Diff
pybliographer-1.0.11-pygtk-require-1.2.diff patch to have pybliographer use gnome/gtk 1.2 patch John Steele Scott 2003-09-06 21:25 0000 1.08 KB Details | Diff
pybliographer-1.0.11-r1.ebuild ebuild which uses recode patch and gtk-1.2 patch patch John Steele Scott 2003-09-06 21:26 0000 474 bytes Details | Diff
pybliographer-1.2.2.ebuild ebuild for pybliographer-1.2.2 (app-misc/pybliographer/pybliographer-1.2.2.ebuild) text/plain Jean-Luc Jox 2004-02-29 04:04 0000 2.68 KB Details
python-bibtex-1.1.93.1.ebuild dependency ebuild for pybliographer-1.2.2 (pyphon bibtext support) text/plain Jean-Luc Jox 2004-02-29 04:09 0000 1.25 KB Details
portage.tar.bz2 tar ball of pybliographer-1.2.2 and dependency ebuild application/x-tbz Jean-Luc Jox 2004-02-29 05:51 0000 2.73 KB Details
pybliographer-1.2.3.portage.tar.bz2 portage ebuilds for pybliographer-1.2.3 and python-bibtex-1.1.93.1 application/x-tbz Ronny Haryanto 2004-04-14 20:23 0000 3.10 KB Details
pybliographer-1.2.5.ebuild ebuid for pybliographer 1.2.5 text/plain marvin rouge 2004-12-16 08:32 0000 650 bytes Details
pybliographer-1.2.5-gentoo.diff patch for configure text/plain marvin rouge 2004-12-16 08:34 0000 1.22 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 20027 depends on: Show dependency tree
Bug 20027 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-04-27 01:07 0000
This is an ebuild for pybliographer, a program for managing a bibliographic
database.

This ebuild was a bit of a pain to make, so I'm putting it here for others who
may need it. There are a couple of quirks which may make it unsuitable for
incorporation into portage.

The first is that the graphical frontend (the pybliographic program) only works
if gnome-python has been emerged with the "gnome" USE flag.

The second quirk is that it needs a modified version of recode. The
pybliographic website claims that it works with recode-3.5, however I couldn't
get the program to start with this version of recode. With recode-3.6 which is
currently in portage, pybliographic will start, but it will not save files. In
order to make it work I have created a new recode ebuild which incorporates
Debian's patch from http://packages.debian.org/stable/text/recode.html. I have
not filed this as a bug against recode, because I don't at this stage know what
the bug is (and I really need to start writing my essay!).

Reproducible: Always
Steps to Reproduce:

------- Comment #1 From John Steele Scott 2003-04-27 01:09:05 0000 -------
Created an attachment (id=11209) [details]
ebuild for pybliographer 1.0.11

------- Comment #2 From John Steele Scott 2003-04-27 01:10:48 0000 -------
Created an attachment (id=11210) [details]
stops configure from bombing out if recode is not version 3.5

------- Comment #3 From John Steele Scott 2003-04-27 01:13:19 0000 -------
Created an attachment (id=11211) [details]
ebuild for recode-3.6 which works with pybliographic

------- Comment #4 From John Steele Scott 2003-04-27 01:15:22 0000 -------
Created an attachment (id=11212) [details]
debian's patch for recode with paths changed to work with gentoo autopatch

------- Comment #5 From Alastair Tse (RETIRED) 2003-06-13 16:19:48 0000 -------
this will take a while because of the complexity of that recode patch that
needs to be verified.

------- Comment #6 From John Steele Scott 2003-06-13 23:00:18 0000 -------
No problem.

The recode patch may also be relevant to bug 20141 . . . it seems to fix that problem as well (UTF-8 encoding not working on PPC).

------- Comment #7 From Gualter Barbas Baptista 2003-07-10 07:13:08 0000 -------
I applied all the patches, but still get the following error: 
 
checking for Gnome-Python... found 
checking for Gnome-Python threads... not found 
configure: error: this version is too old. Please install gnome-python, version >= 1.0.52 
 
!!! ERROR: app-sci/pybliographer-1.0.11 failed. 
!!! Function econf, Line 304, Exitcode 1 
!!! econf failed 
 
I have the latest ebuild of gnome-python (1.4.4). 

------- Comment #8 From John Steele Scott 2003-07-10 15:38:38 0000 -------
Gualter,

Do you know if gnome-python was compiled with "USE=gnome"? I had a problem until I applied that flag, but I can't remember what it was exactly . . . actually I think it might have been something to do with gdk-pixbuf, not to do with threads . . . but it's just a thought.

------- Comment #9 From Milo Thurston 2003-08-12 02:17:04 0000 -------
The ebuilds and patches work nicely, but I've run into the usual problems with
pybliographer, e.g.

rzirzaraz% pybliographic                                                        
Traceback (most recent call last):
  File "/usr/local/bin/pybliographer", line 168, in ?
    execfile (filename, user_global)
  File "/usr/local/share/pybliographer/pybliographic.py", line 26, in ?
    from Pyblio.GnomeUI.Pybliographic import Pybliographic
  File "/usr/local/share/pybliographer/Pyblio/GnomeUI/Pybliographic.py", line
28, in ?
  File "/usr/local/share/pybliographer/Pyblio/GnomeUI/Document.py", line 28, in
?
  File "/usr/local/share/pybliographer/Pyblio/GnomeUI/Index.py", line 29, in ?
  File "/usr/local/share/pybliographer/Pyblio/GnomeUI/Utils.py", line 57, in ?
  File "/usr/local/share/pybliographer/Pyblio/Config.py", line 159, in get
  File "/usr/local/share/pybliographer/Pyblio/Config.py", line 122, in
__getitem__
KeyError: gnome/tooltips

I'd be interested to know if anyone else gets this, in case my gnome
installation is at fault.

------- Comment #10 From John Steele Scott 2003-09-06 20:42:06 0000 -------
After installing a gtk2 version of gnome-python, pybliographic stopped working.
It would say this:
Traceback (most recent call last):
  File "/usr/share/pybliographer/pybliographic.py", line 26, in ?
    from Pyblio.GnomeUI.Pybliographic import Pybliographic
  File "/usr/share/pybliographer/Pyblio/GnomeUI/Pybliographic.py", line 28, in
?
    from Pyblio.GnomeUI import Document
  File "/usr/share/pybliographer/Pyblio/GnomeUI/Document.py", line 26, in ?
    from gnome import config
ImportError: cannot import name config

It turns out that the gnome2 and gnome1 python bindings share the same
namespace (i.e., gnome), and the gnome2 ones are taking precedence. The
solution is at
http://lists.debian.org/debian-python/2003/debian-python-200308/msg00053.html

I will attach a new patch and ebuild to deal with this bug. I think the
pybliographic people are working on a Gnome2 compatible release, which will
hopefully solve all the problems we have here and give us something which will
fit into portage without any hackery.

------- Comment #11 From John Steele Scott 2003-09-06 21:25:42 0000 -------
Created an attachment (id=17208) [details]
patch to have pybliographer use gnome/gtk 1.2

------- Comment #12 From John Steele Scott 2003-09-06 21:26:27 0000 -------
Created an attachment (id=17209) [details]
ebuild which uses recode patch and gtk-1.2 patch

------- Comment #13 From Jean-Luc Jox 2004-02-29 04:04:48 0000 -------
Created an attachment (id=26576) [details]
ebuild for pybliographer-1.2.2
(app-misc/pybliographer/pybliographer-1.2.2.ebuild)

I can't beleive I spent time writing this ebuild when there is already one for 
it here.  I did do a search before writing it but I didn't find any thing for 
pybliographer.

I guess I should have learnt to use bugizilla before making my first ebuild.

Should I throw my ebuild in the garbage bin or should I post it?
I decided to post it only because it is for the latest stable version of 
pybliographer.

To use it, copy it in your
$PORTDIR_OVERLAY/app-misc/pybliographer/pybliographer-1.2.2.ebuild

You also need the dependency ebuild
$PORTDIR_OVERLAY/dev-python/python-bibtex/python-bibtex-1.1.93.1.ebuild

------- Comment #14 From Jean-Luc Jox 2004-02-29 04:09:04 0000 -------
Created an attachment (id=26577) [details]
dependency ebuild for pybliographer-1.2.2 (pyphon bibtext support)

This ebuild provides bibtext support for python.  The
pybliographer-1.2.2.ebuild needs it.

------- Comment #15 From Jean-Luc Jox 2004-02-29 05:51:41 0000 -------
Created an attachment (id=26585) [details]
tar ball of pybliographer-1.2.2 and dependency ebuild

This is the tar ball for the pybliographer-1.2.2 and its dependency ebuild.
To use just untar in your $PORTDIR_OVERLAY.

Eg.
# cd $PORTDIR_OVERLAY
# tar -xvjf portage.tar.bz2

------- Comment #16 From Ronny Haryanto 2004-04-14 20:23:55 0000 -------
Created an attachment (id=29310) [details]
portage ebuilds for pybliographer-1.2.3 and python-bibtex-1.1.93.1

Just an update to the 1.2.3 version.

------- Comment #17 From Alastair Tse (RETIRED) 2004-07-24 12:27:35 0000 -------
reassigning because i'm neglecting this onem hopefully more eyes on this might
mean it wil lget added quicker. plus python-bibtex should probably be submitted
as a seperate bug and assigned to python herd. 

------- Comment #18 From Ben Cov 2004-08-19 03:38:12 0000 -------
A new version is available since 2004-07-18. Would it be possible to have a new
ebuild with :
- an icon for the `task bar' (why not the same as the one in the menu)
- when relaunch, open the previously open bibliography
- save its configuration when logout (reopen automatically when re-login)
and add it to portage?


------- Comment #19 From Mamoru KOMACHI (RETIRED) 2004-10-17 01:25:32 0000 -------
*** Bug 67760 has been marked as a duplicate of this bug. ***

------- Comment #20 From Mamoru KOMACHI (RETIRED) 2004-10-17 04:04:32 0000 -------
Sorry for the delay. I added app-office/pybliographer-1.2.4 and
dev-python/python-bibtex-1.2.1. Basically I took your ebuilds, 
but made several modifications.

1. Changed Gentoo Technologies, Inc. to Gentoo Foundation in
the ebuild header. See /usr/portage/skel.ebuild for the latest
header you should use.

2. Removed comments. It is a good habit to make your own
ebuild from /usr/portage/skel.ebuild, but remember to 
delete comment lines from skel.ebuild before you submit it.
Commens to help other developers and users are welcomed,
but comments from skel.ebuild aren't needed.

3. python-bibtex could use distutils.eclass. I removed 
src_compile() and src_install() from python-bibtex ebuild
you submitted earlier. See man distutils.eclass (and
/usr/portage/eclass/distutils.eclass) for detail.

4. I removed pkg_preinst() from pybliographer ebuild
because it seems it is not needed (compile succeeded
without setting X. Probablly configure script had been
changed?). Also, if you want to let users know something
before configure, you should use pkg_setup() instead
of pkg_preinst(). pkg_preinst() is executed *after*
src_compile() (and before src_install()) while pkg_setup()
is called before src_compile(). See man 5 ebuild for detail.

Thanks for your contribution.

------- Comment #21 From Ronny Haryanto 2004-10-17 05:44:56 0000 -------
Thanks for the fixes, Mamoru. Just a quick note that I merely modified the
existing ebuilds from Jean-Luc to work with the latest versions. My apologies
for not cleaning up the ebuilds before submitting, I will be more careful in
the future.

------- Comment #22 From Ben Cov 2004-10-20 09:55:42 0000 -------
Hi, 
There seems to be a problem with this ebuild. When emerging, I got:

scrollkeeper-update -p /var/lib/scrollkeeper -o /var/tmp/portage/pybliographer-1.2.4/image//usr/share/omf/pybliographer
ACCESS DENIED  open_wr:   /var/lib/scrollkeeper/scrollkeeper_docs
ACCESS DENIED  open_wr:   /var/lib/scrollkeeper/scrollkeeper_docs
/var/lib/scrollkeeper/scrollkeeper_docs: Permission denied
make[4]: [install-data-hook-omf] Error 1 (ignored)

(skip...)

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-app-office_-_pybliographer-1.2.4-26300.log"

open_wr:   /var/lib/scrollkeeper/scrollkeeper_docs
open_wr:   /var/lib/scrollkeeper/scrollkeeper_docs

After googling, a solution to a very similar error seems to be explained in:
http://forums.gentoo.org/viewtopic.php?t=18773

Is this a bug and if yes, could the ebuild be corrected?

Regards, Ben

------- Comment #23 From Mamoru KOMACHI (RETIRED) 2004-10-20 20:20:32 0000 -------
Thanks for the bug report. Fixed in CVS.

------- Comment #24 From marvin rouge 2004-12-16 08:32:17 0000 -------
Created an attachment (id=46131) [details]
ebuid for pybliographer 1.2.5


app-office/pybliographer-1.2.5 ebuild. I installed it on amd64, should I open a
new bug for that ?

------- Comment #25 From marvin rouge 2004-12-16 08:34:00 0000 -------
Created an attachment (id=46133) [details]
patch for configure


app-office/pybliographer/files/pybliographer-1.2.5-gentoo.diff 

file to patch configure.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug