ebuild for abiword 2.4.0 Reproducible: Always Steps to Reproduce: 1. 2. 3.
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.
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.
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.
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.
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.
There is now an AbiWord 2.4.1 on the AbiSource web site.
Created attachment 71006 [details] Ebuild for abiword 2.4.1
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.
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'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.
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! ;)
*** Bug 109871 has been marked as a duplicate of this bug. ***
(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.
(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.
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.
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
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.
(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
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?
(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.
(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.
(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 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]" > >}
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.
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.