Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108039 - abiword-2.4.0 (version bump)
Summary: abiword-2.4.0 (version bump)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 109871 (view as bug list)
Depends on: 92718
Blocks:
  Show dependency tree
 
Reported: 2005-10-03 23:44 UTC by tonich
Modified: 2005-10-29 19:29 UTC (History)
9 users (show)

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


Attachments
Ebuild for abiword 2.4.1 (abiword-2.4.1.ebuild,2.32 KB, text/plain)
2005-10-19 05:07 UTC, Matthew Hamilton
Details
make the ebuild a bit more general (abiword-2.4.1.ebuild,2.30 KB, text/plain)
2005-10-19 11:02 UTC, Patrick McLean
Details
Ebuild for abiword 2.4.1 with USE flags for grammar checking and equation editing (abiword-2.4.1.ebuild,2.43 KB, text/plain)
2005-10-19 18:33 UTC, Matthew Hamilton
Details
Ebuild for abiword 2.4.1 with updated libgsf dependency (abiword-2.4.1.ebuild,2.75 KB, text/plain)
2005-10-21 16:35 UTC, Matthew Hamilton
Details
app-office/abiword-2.4.1.ebuild (abiword-2.4.1.ebuild,2.60 KB, text/plain)
2005-10-28 23:28 UTC, Matthew Hamilton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tonich 2005-10-03 23:44:46 UTC
ebuild for abiword 2.4.0

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Sebastian Spaeth 2005-10-04 06:41:32 UTC
Please hold back your horses for a day or two. 2.4.0 has some confirmed crashers
and 2.4.1 is supposed to come out in a day or two. Those crashers will be fixed
there. Thanks for considering this.
Comment 2 Sebastian Spaeth 2005-10-08 06:51:47 UTC
Abiword 2.4.1 is out now (although not officially announced on the webpage, but
the source tarball is in the download dir), would be great to bumb the version now.
Comment 3 Sebastian Spaeth 2005-10-13 03:22:22 UTC
I checked dependencies for 2.4.1 and they are the same as in 2.2.10, so simply
renaming the ebuild works just fine. Please version bump.


One (unrelated) issue is that only a binary "Abiword-2.4" gets installed. I am
used to lowercsae command names and hate (required) appended version numbers.
So it would be great if a symbolic link /usr/bin/abiword could be installed with
the ebuild pointing to the binary. Thanks.
Comment 4 Craig Duquette 2005-10-14 09:40:54 UTC
Is there a special dependency or something to get that math equations feature?
Also grammar support works for English as of 2.4.x, so I'm guessing there's a
dependency needed for that also because grammar checking is nonexistant in the
current ebuild. I'm going to look into both.
Comment 5 Peter Gordon (RETIRED) gentoo-dev 2005-10-14 09:51:04 UTC
According to Yum on my Fedora Core 4 box, it also needs gtkmathview for the
equation editing and and link-grammar for the grammar checking. I'm not at home
right now so I can't actually verify these though.
Comment 6 Scott Robert Ladd 2005-10-18 13:06:09 UTC
There is now an AbiWord 2.4.1 on the AbiSource web site.
Comment 7 Matthew Hamilton 2005-10-19 05:07:09 UTC
Created attachment 71006 [details]
Ebuild for abiword 2.4.1
Comment 8 Patrick McLean gentoo-dev 2005-10-19 11:02:40 UTC
Created attachment 71028 [details]
make the ebuild a bit more general

I made another ebuild for abiword 2.4 with more general version changes, so
with future releases the same ebuild will still work, instead of having to
change it every time.
Comment 9 Craig Duquette 2005-10-19 15:36:41 UTC
Is it possible to add use flags for math and grammar support? I looked at the
./configure --help and I still can't determine what dependencies are needed. I'm
assuming comment #5 mentions the correct dependencies.
Comment 10 Scott Robert Ladd 2005-10-19 15:53:14 UTC
I'm confused about the grammar checker and equation editor. I built Abiword
2.4.1 using the ebuild posted here. Under "Preferences", I can set "Check
grammar while typing". But it doesn't *do* anything. If I enter these two
senetences in an Abiword document with "check grammar as I type", Abiword says
nothing (no funky underlines, or any indication this isn;t "good" English):

    This are not, a well sentence.
    Butt then again, should it be not?

I also don't find the equation editor enywhere. I've looked under plug-ins, and
saw nothing apropos.

I suppose I should look at the Abiword build options, and see if something is
being missed by the ebuild.
Comment 11 Scott Robert Ladd 2005-10-19 16:06:25 UTC
Ah-ha...

Abiword uses LinkGrammar, which is related to OpenOffice. I don't have OO
installed, and I don;t find a seperate entry in portage fo LinkGrammar (or any
variation thereof).

Odd that Abiword has the option clickable when the actual service isn't available.

Oh well, I never like grammar checkers anyway! ;)
Comment 12 Carsten Lohrke (RETIRED) gentoo-dev 2005-10-19 17:12:34 UTC
*** Bug 109871 has been marked as a duplicate of this bug. ***
Comment 13 Matthew Hamilton 2005-10-19 18:08:52 UTC
(In reply to comment #9)
> Is it possible to add use flags for math and grammar support? I looked at the
> ./configure --help and I still can't determine what dependencies are needed. I'm
> assuming comment #5 mentions the correct dependencies.

I have open bugs for link-grammar-4.1.3 and gtkmathview-0.7.5. Those are both
required at build-time for the abigrammar and abimathview plugins to be built. I
can add some USE flags if requested. Suitable USE flags might include "grammar"
and "equation" since those aren't used by any other package, local or global.
Comment 14 Scott Robert Ladd 2005-10-19 18:23:49 UTC
(In reply to comment #13)
> I have open bugs for link-grammar-4.1.3 and gtkmathview-0.7.5. Those are both
> required at build-time for the abigrammar and abimathview plugins to be built. I
> can add some USE flags if requested. Suitable USE flags might include "grammar"
> and "equation" since those aren't used by any other package, local or global.

There's already a bug for gtkmathview, attached to this bug (92718). I've tested
the ebuild there, and it works.
Comment 15 Matthew Hamilton 2005-10-19 18:33:46 UTC
Created attachment 71055 [details]
Ebuild for abiword 2.4.1 with USE flags for grammar checking and equation editing

Here's an updated ebuild, with 2 new USE flags as requested above. I don't
think this bug should depend on gtkmathview, since it's optional anyway and
abiword will build just fine without it.
Comment 16 Gour 2005-10-21 05:57:47 UTC
Hi!  
  
I submitted a bug report to AbiWord devs thinking something is wrong with  
OpenDocument import filter. They replied that plugin is not built.  
  
Inspecting abiword-2.4.1 ebuild I saw that there is '--enable-all' option for  
plugins, but the problem is that my system did not satisfy reqs for  
>=libgsf-1.12.1 which is required for OpenDocument plugin.  
  
So, there should be this dependency added to the ebuild and/or new USE flag  
or ..whatever?  
 
Moreover, I saw that some other plugins' dependencies are not fulfilled, but 
the ebuild does not notify it. 
 
  
Sincerely,  
Gour  
 
Comment 17 Matthew Hamilton 2005-10-21 16:35:29 UTC
Created attachment 71144 [details]
Ebuild for abiword 2.4.1 with updated libgsf dependency

In response to comment #16, I did not realize libgsf was a dependency of
abiword, since I had it already (1.13.2) for gnumeric. I've added it to the
RDEPEND list.
Comment 18 Gour 2005-10-22 00:52:03 UTC
(In reply to comment #17) 
> Created an attachment (id=71144) [edit] 
> Ebuild for abiword 2.4.1 with updated libgsf dependency 
 
Thank you. 
 
>  
> In response to comment #16, I did not realize libgsf was a dependency of 
> abiword, since I had it already (1.13.2) for gnumeric. I've added it to the 
> RDEPEND list. 
 
When I execute ./configure in abiword-plugins, I get some more info regarding 
the plugin reqs: 
 
... 
Plugin reports: 
 
abigochart: error libgnomeoffice >= 0.0.4 required 
Link Grammar: okay 
abimathview: error gtkmathview >= 0.7.5 required 
aiksaurus: okay 
gda: error - libgda and libgnomedb >= 1.2.0 required 
gdict: okay (no GNOME; using fork-and-exec method) 
Ots: error - libots-1 >= 0.4.1 required 
jpeg: okay 
LibRSVG: okay 
wmf: okay 
bz2abw: okay 
Hancom: okay 
OpenDocument: okay 
OpenWriter: okay 
PDF: okay 
psion: psiconv (>= 0.9.1) not found 
sdw: okay 
WordPerfect: okay 
xhtml(mht):  error - inter7 EPS headers not found 
xhtml(mht):          http://www.inter7.com/eps/ 
xhtml(html): libxml2 support enabled 
xhtml: building without Multipart support 
 
 
So, it looks that some more checking would be required? 
 
Sincerely, 
Gour 
 
 
Comment 19 Stephan Hässelbarth 2005-10-22 02:08:43 UTC
When I try to install abiword with the ebuild from comment #17, I get:

emerge: there are no ebuilds to satisfy "on".

What's up there?
Comment 20 Matthew Hamilton 2005-10-22 03:05:06 UTC
(In reply to comment #19)
> When I try to install abiword with the ebuild from comment #17, I get:
> 
> emerge: there are no ebuilds to satisfy "on".
> 
> What's up there?

Remove my comment regarding fribidi in the RDEPEND section. It's #commented but
doesn't seem to be ignored. 
Comment 21 Matthew Hamilton 2005-10-22 03:09:27 UTC
(In reply to comment #18)
> (In reply to comment #17) 
> > Created an attachment (id=71144) [edit] [edit] 
> > Ebuild for abiword 2.4.1 with updated libgsf dependency 
>  
> Thank you. 
>  
> >  
> > In response to comment #16, I did not realize libgsf was a dependency of 
> > abiword, since I had it already (1.13.2) for gnumeric. I've added it to the 
> > RDEPEND list. 
>  
> When I execute ./configure in abiword-plugins, I get some more info regarding 
> the plugin reqs: 
>  
> ... 
> Plugin reports: 
>  
> abigochart: error libgnomeoffice >= 0.0.4 required 
> Link Grammar: okay 
> abimathview: error gtkmathview >= 0.7.5 required 
> aiksaurus: okay 
> gda: error - libgda and libgnomedb >= 1.2.0 required 
> gdict: okay (no GNOME; using fork-and-exec method) 
> Ots: error - libots-1 >= 0.4.1 required 
> jpeg: okay 
> LibRSVG: okay 
> wmf: okay 
> bz2abw: okay 
> Hancom: okay 
> OpenDocument: okay 
> OpenWriter: okay 
> PDF: okay 
> psion: psiconv (>= 0.9.1) not found 
> sdw: okay 
> WordPerfect: okay 
> xhtml(mht):  error - inter7 EPS headers not found 
> xhtml(mht):          http://www.inter7.com/eps/ 
> xhtml(html): libxml2 support enabled 
> xhtml: building without Multipart support 
>  
>  
> So, it looks that some more checking would be required? 
>  
> Sincerely, 
> Gour 
>  
>  

The previous ebuild for abiword 2.2.x simply built all plugins whose
dependencies were met at compile-time. I added a few example USE flags for
grammar and equation. It can either be left up to the user to resolve the needed
dependencies, checked in addition to USE flags, or brought to the attention of
the user via an einfo/ewarn. Any of these would work, but I don't want to
complicate the ebuild needlessly, since I'm not a part of the gnome desktop team
and won't be committing these myself.
Comment 22 Gour 2005-10-22 03:15:25 UTC
(In reply to comment #21) 
> The previous ebuild for abiword 2.2.x simply built all plugins whose 
> dependencies were met at compile-time. I added a few example USE flags for 
> grammar and equation. It can either be left up to the user to resolve the 
needed 
> dependencies, checked in addition to USE flags, or brought to the attention 
of 
> the user via an einfo/ewarn. Any of these would work, but I don't want to 
> complicate the ebuild needlessly, since I'm not a part of the gnome desktop 
team 
> and won't be committing these myself. 
 
OK. Fair enough. Your ebuild does the job, but it would be nice if gnome 
desktop team members would add some use flags to the ebuild to select plugin 
building. 
 
Sincerely, 
Gour 
 
Comment 23 Matthew Hamilton 2005-10-28 23:26:13 UTC
Comment on attachment 71144 [details]
Ebuild for abiword 2.4.1 with updated libgsf dependency

># Copyright 1999-2005 Gentoo Foundation
># Distributed under the terms of the GNU General Public License v2
># $Header:
>
>inherit eutils fdo-mime alternatives
>
>IUSE="gnome jpeg spell xml2 debug grammar equation"
>
>S_P=${S}/${PN}-plugins
>S=${WORKDIR}/${P}/abi
>
>DESCRIPTION="Fully featured yet light and fast cross platform word processor"
>HOMEPAGE="http://www.abisource.com"
>
>SRC_URI="http://www.abisource.com/downloads/${PN}/${PV}/source/${P}.tar.gz"
>
>KEYWORDS="~x86 ~amd64"
>LICENSE="GPL-2"
>SLOT="2"
>
>RDEPEND="virtual/x11
>	virtual/xft
>	>=media-libs/fontconfig-2.1
>	media-libs/libpng
>	>=x11-libs/gtk+-2.4
>	>=gnome-base/libglade-2
>	>=app-text/wv-1
>	>=dev-libs/fribidi-0.10.5		
>	>=gnome-extra/libgsf-1.12.1
>	jpeg?  ( >=media-libs/jpeg-6b-r2 )
>	xml2? ( >=dev-libs/libxml2-2.4.10 )
>	!xml2? ( dev-libs/expat )
>	spell? ( >=app-text/enchant-1.1 )
>	gnome? ( >=gnome-base/libgnomeui-2.2
>		>=gnome-base/libgnomeprint-2.2.1
>		>=gnome-base/libgnomeprintui-2.2.1
>		>=gnome-extra/gucharmap-1.4 )
>	grammar? ( >=app-text/link-grammar-4.1.1 )
>	equation? ( >=x11-libs/gtkmathview-0.7.5 
>		media-fonts/texcm-ttf
>		media-fonts/mathematica-fonts ) "
>
>DEPEND="${RDEPEND}
>	dev-util/pkgconfig"
>
>src_compile() {
>	
>	# this is a hack since I don't want to go hack in the gnome-vfs headerfiles.
>	# The issue is about gnome-vfs containing "long long" which makes gcc 3.3.1 balk
>	cp configure configure.old
>	cat configure.old |sed s:-pedantic::g >configure
>	rm -f configure.old
>
>	econf \
>		`use_enable gnome` \
>		`use_enable gnome gucharmap` \
>		`use_with xml2 libxml2` \
>		`use_enable spell enchant` \
>		`use_enable debug` \
>		--enable-threads \
>		--without-ImageMagick \
>		--disable-scripting \
>		--with-sys-wv || die
>
>	emake all-recursive || die
>
>	# Build plugins
>
>	cd ${S_P}
>
>	# the use_enable grammar and equation might not be necessary
>	# as all plugins will be attempted and checked during ./configure
>	# but some users may want to disable them for whatever reason.
>
>	econf \
>		--enable-all \
>		--with-abiword=${S} \
>		`use_enable debug` \
>		`use_enable grammar abigrammar` \
>		`use_enable equation abimathview` \
>		--without-ImageMagick || die
>
>	emake || die
>
>}
>
>src_install() {
>
>	dodir /usr/{bin,lib}
>
>	make install DESTDIR="${D}" || die
>
>	dosed "s:Exec=abiword:Exec=abiword-2.4:" /usr/share/applications/abiword.desktop
>
>	rm -f ${D}/usr/bin/abiword-2.4
>	rm -f ${D}/usr/bin/abiword
>	dosym AbiWord-2.4 /usr/bin/abiword-2.4
>
>	dodoc COPYING *.TXT docs/build/BUILD.TXT user/wp/readme.txt
>
>	# install plugins
>	cd ${S_P}
>
>	make install DESTDIR="${D}"|| die
>
>}
>
>pkg_postinst() {
>
>	fdo-mime_desktop_database_update
>	alternatives_auto_makesym "/usr/bin/abiword" "/usr/bin/abiword-[0-9].[0-9]"
>
>}
Comment 24 Matthew Hamilton 2005-10-28 23:28:46 UTC
Created attachment 71667 [details]
app-office/abiword-2.4.1.ebuild

Disregard that last comment! This ebuild has a misplaced comment removed and
the header cleared.
Comment 25 Joe McCann (RETIRED) gentoo-dev 2005-10-29 19:29:19 UTC
Added abiword-2.4 to the tree. I have split all plugins out into a seperate
package which can be found at app-office/abiword-plugins.