Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 385751 - =app-text/jabref-2.9.2 version bump
Summary: =app-text/jabref-2.9.2 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement with 2 votes (vote)
Assignee: Nicolas Bock
URL: http://jabref.sourceforge.net/revisio...
Whiteboard:
Keywords: EBUILD, PATCH
Depends on: 448532
Blocks:
  Show dependency tree
 
Reported: 2011-10-05 15:53 UTC by Viktor Yu. Kovalskii
Modified: 2014-02-19 16:49 UTC (History)
11 users (show)

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


Attachments
patch for build.xml of app-text/jabref-2.7.2 (jabref-2.7.2-build.xml.patch,1.15 KB, patch)
2012-02-05 18:02 UTC, R Stephan
Details | Diff
jabref-2.8.1.ebuild (jabref-2.8.1.ebuild,2.60 KB, text/plain)
2012-08-05 20:09 UTC, Ivan Baidakou (dmol)
Details
files/jabref-2.8.1-build.xml.patch (jabref-2.8.1-build.xml.patch,849 bytes, text/plain)
2012-08-05 20:10 UTC, Ivan Baidakou (dmol)
Details
files/jabref-2.8.1-remove-oo-support.patch (jabref-2.8.1-remove-oo-support.patch,2.56 KB, text/plain)
2012-08-05 20:12 UTC, Ivan Baidakou (dmol)
Details
files/jabref-2.8.1-remove-sciplore-support.patch (jabref-2.8.1-remove-sciplore-support.patch,3.53 KB, text/plain)
2012-08-05 20:13 UTC, Ivan Baidakou (dmol)
Details
jabref-2.8.1.ebuild (jabref-2.8.1.ebuild,2.60 KB, text/plain)
2012-08-12 14:06 UTC, Ivan Baidakou (dmol)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Viktor Yu. Kovalskii 2011-10-05 15:53:37 UTC
A new minor version released at August 09th, 2011.

Reproducible: Always
Comment 1 Miroslav Šulc gentoo-dev 2011-10-19 01:46:50 UTC
anyone knows where to find sources with package org/sciplore/xml? it's new dependency.
Comment 2 Viktor Yu. Kovalskii 2011-10-19 07:07:00 UTC
I think these links can help:

http://sciplore.org/software/sciplore_mindmapping/#download

or

http://sourceforge.net/projects/splmm/files/
Comment 3 Miroslav Šulc gentoo-dev 2011-10-19 10:03:18 UTC
i can't see there the sources. posted question on jabref forum: https://sourceforge.net/projects/jabref/forums/forum/318825/topic/4766792
Comment 4 Willie Wong 2012-01-31 12:38:58 UTC
Just to note that version 2.7.2 has been released also, which fixes some additional bugs with version 2.7 and 2.6 not working with Java 7. See for example 

http://sourceforge.net/projects/jabref/forums/forum/318825/topic/4686753
Comment 5 R Stephan 2012-02-05 18:02:22 UTC
Created attachment 300957 [details, diff]
patch for build.xml of app-text/jabref-2.7.2

The new (stable, acc. to author) version no longer fits the patchfiles we have so I made a new one (with the same patches) for that version. I confirm that the patches are still needed to build pkg.
Comment 6 Viktor Yu. Kovalskii 2012-05-19 19:23:44 UTC
JabRef Version 2.8 was released at May 14th, 2012.

Many bugfixes and improvements are present in this release.
Comment 7 Viktor Yu. Kovalskii 2012-06-24 07:05:59 UTC
(In reply to comment #1)
> anyone knows where to find sources with package org/sciplore/xml? it's new
> dependency.

I found that Fedora maintainers remove sciplore client from jabref package.
Maybe We do the same thing?

https://apps.fedoraproject.org/packages/jabref/sources/spec/
Comment 8 Viktor Yu. Kovalskii 2012-06-24 07:11:51 UTC
Official site says that sciplore outdated and recommend to use Docear.

http://sciplore.org/software/sciplore_mindmapping/

I think We can remove sciplore client from jabref package.
Comment 9 Ivan Baidakou (dmol) 2012-08-05 20:09:54 UTC
Created attachment 320506 [details]
jabref-2.8.1.ebuild
Comment 10 Ivan Baidakou (dmol) 2012-08-05 20:10:56 UTC
Created attachment 320508 [details]
files/jabref-2.8.1-build.xml.patch
Comment 11 Ivan Baidakou (dmol) 2012-08-05 20:12:02 UTC
Created attachment 320510 [details]
files/jabref-2.8.1-remove-oo-support.patch
Comment 12 Ivan Baidakou (dmol) 2012-08-05 20:13:00 UTC
Created attachment 320512 [details]
files/jabref-2.8.1-remove-sciplore-support.patch
Comment 13 Ivan Baidakou (dmol) 2012-08-05 20:18:57 UTC
Hello!

Here is the initial ebuild version for jabref-2.8.1. It depends on ebuilds, provided at #430062, #430060, #430058, #430054.

A few notes for initial version:
1. The open office support was dropped
2. The sciplore (an pdf import feature) was dropped 

Probably, the pt. 1 can be fixed, but I don't know weather exists the integration with libreoffice. 

The basic version seems to be working for me.

Any comments and suggestions on ebuilds are welcome.

PS. The ebuilds are also available in my repository 'dmol'.
Comment 14 Jeremy Murphy 2012-08-12 05:09:43 UTC
Ivan, thanks for making a start on the new jabref ebuilds!

I am running into dependency problems using the ebuilds from your dmol overlay.  It seems that jabref-2.8.1 requires fontbox:0 but does not explicitly depend on it.  I can see that pdfbox does depend on fontbox, but I still hit this:

>>> Emerging (1 of 1) app-text/jabref-2.8.1 from dmol
 * JabRef-2.8.1-src.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                        [ ok ]
!!! ERROR: Package fontbox was not found!
 * Unable to determine VM for building from dependencies:

It also appears that jabref depends on jarbundler but that is not stated in the ebuild.

Finally, although jabref-2.8 is in a new slot, it wants to overwrite some files of 2.6:

 * Detected file collision(s):
 * 
 *      /usr/bin/jabref
 *      /usr/share/applications/jabref-jabref.desktop
 *      /usr/share/pixmaps/JabRef-icon.png

Why not just leave it in the default slot?

Thanks for your great work so far, cheers.
Comment 15 Ivan Baidakou (dmol) 2012-08-12 14:06:37 UTC
Created attachment 321106 [details]
jabref-2.8.1.ebuild

Thank you Jeremy for your notes. I think the new ebuild handles them all. :)
Comment 16 Jeremy Murphy 2012-08-13 11:16:14 UTC
Yup, that appears to fix everything, thanks!
Comment 17 Reinis Danne 2012-08-29 12:01:28 UTC
Thanks for the ebuild, I'm using the one in dmol overlay and getting following QA message:
>>> Install jabref-2.8.1 into /var/tmp/portage/app-text/jabref-2.8.1/image/ category app-text
>>> Completed installing jabref-2.8.1 into /var/tmp/portage/app-text/jabref-2.8.1/image/

 * QA Notice: This package installs one or more .desktop files that do not
 * pass validation.
 * 
 * 	/usr/share/applications/jabref-jabref.desktop: error: value "text/x-bibtex" for string list key "MimeType" in group "Desktop Entry" does not have a semicolon (';') as trailing character
 *
Comment 18 Ivan Baidakou (dmol) 2012-09-01 13:44:00 UTC
(In reply to comment #17)
>  * QA Notice: This package installs one or more .desktop files that do not
>  * pass validation.
>  * 
>  * 	/usr/share/applications/jabref-jabref.desktop: error: value
> "text/x-bibtex" for string list key "MimeType" in group "Desktop Entry" does
> not have a semicolon (';') as trailing character


Thanks My Th, I have fixed it in my overlay.
Comment 19 John (EBo) David 2012-10-08 15:50:28 UTC
When trying the 2.8.1 ebuild this I find that it requires a number of dependencies not in the standard tree:

dev-java/pdfbox:1.7 (dev-java/pdfbox-0.7.3-r2 only stable version)
dev-java/glazedlists:1.8 (glazedlists-1.7.0-r1 only stable version)
...

Which overlay are you building with?
Comment 20 Viktor Yu. Kovalskii 2012-10-08 17:10:15 UTC
(In reply to comment #19)
> When trying the 2.8.1 ebuild this I find that it requires a number of
> dependencies not in the standard tree:
> 
> dev-java/pdfbox:1.7 (dev-java/pdfbox-0.7.3-r2 only stable version)
> dev-java/glazedlists:1.8 (glazedlists-1.7.0-r1 only stable version)
> ...
> 
> Which overlay are you building with?

These packages are present at dmol overlay.

layman -a dmol
Comment 21 John (EBo) David 2012-10-22 08:35:58 UTC
jabref-2.8.1 built for me, but the dmol overlay has problems -- including jaxen's digest not being uptodate, pdfbox-1.7.1 breaking.  Is it possible to sync jabref to the versions supported in the main tree?
Comment 22 Ivan Baidakou (dmol) 2012-10-22 14:55:44 UTC
(In reply to comment #21)
> jabref-2.8.1 built for me, but the dmol overlay has problems -- including
> jaxen's digest not being uptodate, pdfbox-1.7.1 breaking.  Is it possible to
> sync jabref to the versions supported in the main tree?

I removed jaxen (and other libraries) from my overlay, as they was included (and a bit fixed to comply quality) into main tree.
Comment 23 Manuel Rüger (RETIRED) gentoo-dev 2013-01-14 00:06:43 UTC
Has anyone tried packaging jabref-2.9? (yesterday 2.9.2 was released)
Comment 24 Ivan Baidakou (dmol) 2013-01-20 22:12:08 UTC
(In reply to comment #23)
> Has anyone tried packaging jabref-2.9? (yesterday 2.9.2 was released)

I just have committed to my repository jabref-2.9.2 ... feel free to report weather it works :)

It also, as my previous ebuild: without support of open office, sciplore and also I have dropped ayatana support (ubuntu-specific global menu library).
Comment 25 Manuel Rüger (RETIRED) gentoo-dev 2013-01-21 00:58:58 UTC
Thanks for the quick update. 

Unfortunately it fails to build here:

    [javac] /var/tmp/portage/app-text/jabref-2.9.2/work/jabref-2.9.2/src/java/net/sf/jabref/gui/CleanUpAction.java:128: cannot access com.jgoodies.common.internal.StringLocalizer
    [javac] class file for com.jgoodies.common.internal.StringLocalizer not found
    [javac]         DefaultFormBuilder builder = new DefaultFormBuilder(layout, optionsPanel);
    [javac]                                      ^


Adding jgoodies-common-1.4 to EANT_CLASSPATH and dev-java/jgoodies-common:1.4 to CDEPEND in jabref-2.9.2.ebuild seems to fix it :)
Comment 26 Manuel Rüger (RETIRED) gentoo-dev 2013-01-21 01:03:00 UTC
If I start the program now, this prompt comes up: 

"Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: Could not initialize class com.jgoodies.looks.common.ShadowPopup"


Seems that this fix was only partial (buildtime), I'm wondering what I've missed.
Comment 27 Ivan Baidakou (dmol) 2013-01-21 21:52:40 UTC
(In reply to comment #26)
> If I start the program now, this prompt comes up: 
> 
> "Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError:
> Could not initialize class com.jgoodies.looks.common.ShadowPopup"
> 
> 
> Seems that this fix was only partial (buildtime), I'm wondering what I've
> missed.

Could you please, test once again. (Removing previously installed jgoodies* if needed). It launches and works well on my gentoo box.
Comment 28 Manuel Rüger (RETIRED) gentoo-dev 2013-01-21 22:37:53 UTC
(In reply to comment #27)
> (In reply to comment #26)
> > If I start the program now, this prompt comes up: 
> > 
> > "Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError:
> > Could not initialize class com.jgoodies.looks.common.ShadowPopup"
> > 
> > 
> > Seems that this fix was only partial (buildtime), I'm wondering what I've
> > missed.
> 
> Could you please, test once again. (Removing previously installed jgoodies*
> if needed). It launches and works well on my gentoo box.

Thanks for your reply, Ivan!
I reinstalled jgoodies* and jabref. 
Build time errors are fixed, but the exception raises shortly after you try to open some menu button (File/Edit/Help... e.g.). If you click on the "New database" icon, a new one gets added. So only the top button line is affected. Can you reproduce this, too?
Comment 29 Ivan Baidakou (dmol) 2013-01-22 20:58:03 UTC
(In reply to comment #28)
> I reinstalled jgoodies* and jabref. 
> Build time errors are fixed, but the exception raises shortly after you try
> to open some menu button (File/Edit/Help... e.g.). If you click on the "New
> database" icon, a new one gets added. So only the top button line is
> affected. Can you reproduce this, too?

The problem was caused by absence of resources (png and gif icons) in jgoodies-looks package. I have updated it, and hope it will work. Please, check.
Comment 30 Manuel Rüger (RETIRED) gentoo-dev 2013-01-22 21:20:06 UTC
It works now! Thanks for your help :)
Comment 31 Ivan Baidakou (dmol) 2013-01-22 21:46:36 UTC
(In reply to comment #30)
> It works now! Thanks for your help :)

Nice to hear :) The actual blocking problem in including ebuilds into main portage tree is the pcfi (bug#448532) : it is not technical issue, it is about (unclean) license. I wrote an letter to licenses@gentoo.org but still have not received an answer :(
Comment 32 Nicolas Bock gentoo-dev 2013-02-14 18:41:16 UTC
I have added jabref-2.9.2.ebuild to the science overlay for testing.
Comment 33 Christoph Junghans (RETIRED) gentoo-dev 2013-03-10 15:47:27 UTC
(In reply to comment #32)
> I have added jabref-2.9.2.ebuild to the science overlay for testing.
Any comments complains on this ebuild?

@java: Can I add this ebuild back to gx86?
Comment 34 Nicolas Bock gentoo-dev 2013-03-10 16:33:53 UTC
(In reply to comment #33)
> (In reply to comment #32)
> > I have added jabref-2.9.2.ebuild to the science overlay for testing.
> Any comments complains on this ebuild?

No complaints so far.

> 
> @java: Can I add this ebuild back to gx86?
Comment 35 Ralph Sennhauser (RETIRED) gentoo-dev 2013-03-10 16:45:30 UTC
(In reply to comment #33)
> (In reply to comment #32)
> > I have added jabref-2.9.2.ebuild to the science overlay for testing.
> Any comments complains on this ebuild?
> 
> @java: Can I add this ebuild back to gx86?

No, the license issue mentioned in comment 31 isn't resolved yet, the discussion is still ongoing but an end is in sight. Also I never looked at the version in science-overlay but only the one in ::dmol.
Comment 36 Mao PU 2013-08-05 19:15:59 UTC
Any progress during the last 5 months?
Comment 37 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-08-11 08:24:10 UTC
(In reply to Mao PU from comment #36)
> Any progress during the last 5 months?

We are awaiting the licenses team in bug #448532.
Comment 38 Christoph Junghans (RETIRED) gentoo-dev 2013-08-29 17:25:46 UTC
(In reply to Ralph Sennhauser from comment #35)
> (In reply to comment #33)
> > (In reply to comment #32)
> > > I have added jabref-2.9.2.ebuild to the science overlay for testing.
> > Any comments complains on this ebuild?
> > 
> > @java: Can I add this ebuild back to gx86?
> 
> No, the license issue mentioned in comment 31 isn't resolved yet, the
> discussion is still ongoing but an end is in sight. Also I never looked at
> the version in science-overlay but only the one in ::dmol.
The version of jabref in the science overlay doesn't depend on pdfbox and hence not on pcfi. So why can we not import that one into gx86?
Comment 39 Christoph Junghans (RETIRED) gentoo-dev 2013-08-29 19:04:35 UTC
(In reply to Tom Wijsman (TomWij) from comment #37)
> (In reply to Mao PU from comment #36)
> > Any progress during the last 5 months?
> 
> We are awaiting the licenses team in bug #448532.
We have a go on the license, too.
Comment 40 Christoph Junghans (RETIRED) gentoo-dev 2013-09-02 23:14:20 UTC
(In reply to Christoph Junghans from comment #38)
> (In reply to Ralph Sennhauser from comment #35)
> > (In reply to comment #33)
> > > (In reply to comment #32)
> > > > I have added jabref-2.9.2.ebuild to the science overlay for testing.
> > > Any comments complains on this ebuild?
> > > 
> > > @java: Can I add this ebuild back to gx86?
> > 
> > No, the license issue mentioned in comment 31 isn't resolved yet, the
> > discussion is still ongoing but an end is in sight. Also I never looked at
> > the version in science-overlay but only the one in ::dmol.
> The version of jabref in the science overlay doesn't depend on pdfbox and
> hence not on pcfi. So why can we not import that one into gx86?
@java: Is there anything, which speaks against adding app-text/jabref::science to gx86? We can always replace it with app-text/jabref::dmol at time.
Comment 41 Nicolas Bock gentoo-dev 2014-02-19 16:49:54 UTC
jabref-2.9.2 in tree.