Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216311 - dev-libs/liblinebreak (new package)
Summary: dev-libs/liblinebreak (new package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Alexey Shvetsov
URL: http://vimgadgets.cvs.sourceforge.net...
Whiteboard:
Keywords: EBUILD, InVCS
Depends on:
Blocks: 117021
  Show dependency tree
 
Reported: 2008-04-05 11:15 UTC by Ivan Iakoupov
Modified: 2009-02-02 22:25 UTC (History)
1 user (show)

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


Attachments
liblinebreak ebuild for the Debian tarball (liblinebreak-0.9.6.ebuild,670 bytes, text/plain)
2008-04-05 11:25 UTC, Ivan Iakoupov
Details
patch to the Makefile which adds -fPIC to the compile options (liblinebreak-0.9.6_fPIC.patch,985 bytes, patch)
2008-04-05 11:31 UTC, Ivan Iakoupov
Details | Diff
Updated ebuild for the Debian tarball (liblinebreak-0.9.6.ebuild,675 bytes, text/plain)
2008-06-03 12:40 UTC, Ivan Iakoupov
Details
Respect CFLAGS in make.conf (liblinebreak-0.9.6-respect-cflags.patch,664 bytes, patch)
2008-10-09 18:47 UTC, Sergey Dryabzhinsky
Details | Diff
Ebuild for the new version (liblinebreak-1.0.ebuild,421 bytes, text/plain)
2009-01-16 00:04 UTC, Ivan Iakoupov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Iakoupov 2008-04-05 11:15:50 UTC
liblinebreak is an implementation of the Unicode line breaking algorithm described at http://www.unicode.org/reports/tr14/tr14-19.html

This library is needed for fbreader (bug #117021) 0.8.16 and above. I'll attach my  ebuild in a moment.
Comment 1 Ivan Iakoupov 2008-04-05 11:25:42 UTC
Created attachment 148726 [details]
liblinebreak ebuild for the Debian tarball

Upstream hasn't released any tarballs yet. But Debian has it already in Sid:
http://packages.debian.org/sid/liblinebreak-dev
So I just used their source tarball in this ebuild.
Of course if this ebuild is ever to go into portage tree Gentoo will need to make its own tarball and host it on Gentoo mirrors, but for time being pulling the already made tarball from Debian seemed like a better option. I'm open for suggestions though.
This ebuild also needs a patch for the Makefile which I'll attach shortly.
Comment 2 Ivan Iakoupov 2008-04-05 11:31:18 UTC
Created attachment 148727 [details, diff]
patch to the Makefile which adds -fPIC to the compile options

This patch adds -fPIC to the compiler options in the Makefile (fbreader won't compile otherwise).

Since my experience with Makefiles is rather limited I'd appreciate if someone checked whether I've edited the right stuff.
Comment 3 Marek Miller 2008-05-23 17:44:08 UTC
I tested the ebuild on x86, so please add ~x68 keyword.
Comment 4 Ivan Iakoupov 2008-06-03 12:40:54 UTC
Created attachment 155355 [details]
Updated ebuild for the Debian tarball

Adding ~x86 as requested
Comment 5 Sergey Dryabzhinsky 2008-10-09 18:47:41 UTC
Created attachment 167758 [details, diff]
Respect CFLAGS in make.conf
Comment 6 coran.fisher@gmail.com 2009-01-15 18:01:12 UTC
1.0 is out now and required by the latest version of fbreader.
Comment 7 Ivan Iakoupov 2009-01-16 00:04:31 UTC
Created attachment 178648 [details]
Ebuild for the new version

Here goes the trivial ebuild for liblinebreak-1.0. Fbreader 0.10 also seems to compile and install with it.
Comment 8 Alexey Shvetsov archtester gentoo-dev 2009-02-02 22:25:41 UTC
Added to CVS