Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7856 - mlterm should use fribidi
Summary: mlterm should use fribidi
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Git (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Meir Kriheli (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-12 21:34 UTC by Yariv Ido
Modified: 2011-10-30 22:47 UTC (History)
1 user (show)

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


Attachments
My first ebuild, seems to install correctly (fribidi-0.10.4.ebuild,486 bytes, text/plain)
2002-11-14 14:53 UTC, Edy
Details
Changelog - Obvius, isn't it? :-) (ChangeLog,603 bytes, text/plain)
2002-11-14 14:53 UTC, Edy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yariv Ido 2002-09-12 21:34:25 UTC
FriBidi - A Free Implementation of the Unicode Bidirectional Algorithm.
This library is used by several applications ( Most aren't in portage ), for
Hebrew/Arabic RTL support. If & when FriBidi would be added to portage, mlterm
should be compiled against it. Adding R2L (
http://www.technion.ac.il/~tzafrir/R2L/ ) to portage would also be nice.
Comment 1 Yariv Ido 2002-09-12 21:35:36 UTC
FriBidi's URL:
http://fribidi.sourceforge.net/
Comment 2 Edy 2002-11-14 14:53:14 UTC
Created attachment 5668 [details]
My first ebuild, seems to install correctly
Comment 3 Edy 2002-11-14 14:53:46 UTC
Created attachment 5669 [details]
Changelog - Obvius, isn't it? :-)
Comment 4 Dan Armak (RETIRED) gentoo-dev 2003-04-01 15:33:17 UTC
This took a long time - sorry - I kinda missed seeing it... 
 
Anyway, I've now added a fribidi ebuild. The other stuff is for later... 
Comment 5 Dan Armak (RETIRED) gentoo-dev 2003-04-08 08:24:46 UTC
Actually, I'd rather not handle that part, I don't know anything about rtl terminals... 
bug-wranglers: what's left to do here is to make mlterm use the newly added fribidi package 
for rtl support. 
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2003-04-18 13:42:03 UTC
Meir, wanna crack at this?
Comment 7 Meir Kriheli (RETIRED) gentoo-dev 2003-04-18 18:00:38 UTC
Sure, but are there any special flags for bidi support (I couldn't find any) or should the ebuild 
depened on fribidi inherently ? 
Comment 8 Yariv Ido 2003-04-19 02:54:34 UTC
--enable-fribidi ? 
Comment 9 Seemant Kulleen (RETIRED) gentoo-dev 2003-04-19 03:15:28 UTC
Meir, I reckon you can use a local USE flag, "bidi" or something, maybe? Be sure to document it in /usr/portage/profiles/use.local.desc, whatever flag you decide to create
Comment 10 Meir Kriheli (RETIRED) gentoo-dev 2003-04-19 04:15:25 UTC
Yariv: I know how to enable bidi in mlterm, that wasn't the question, but I shoul dbe done right, 
some mlterm users won't want bidi (and the fribidi dependency). 
 
Seemant: OK, I'll use a local USE flag named "bidi". 
I wonder if there are any other packages requring special bidi support ? If so, it could be made 
global I guess. 
Comment 11 Yariv Ido 2003-04-19 05:23:43 UTC
Sorry, misunderstood you Meir. 
By the way, in the past 'use nls' was used to specify ( among others ) bidi support. 
For example, in xchat 1.8.x. 
Comment 12 Meir Kriheli (RETIRED) gentoo-dev 2003-04-19 05:38:17 UTC
I see, but usually nls is used for gettext support, as the docs say in 
http://www.gentoo.org/dyn/use-index.xml 
 
But I can see it is used to enable hebrew and other lang supports in other ebuilds 
(like xchat 1.8 as Yariv stated), guess I'll just use it. 
 
Is it OK with you Seemant ? 
Comment 13 Seemant Kulleen (RETIRED) gentoo-dev 2003-04-19 06:17:28 UTC
hi Meir, nls is just Native Language Support.  It is not strictly for gettext, though that is its most common dependency.  In this case, I should think it fine for BiDi support in mlterm.
Comment 14 Meir Kriheli (RETIRED) gentoo-dev 2003-04-19 11:16:04 UTC
Comitted to cvs as mlterm-2.6.3-r1. 
 
It is marked as unstable (~x86 ~ppc) since fribidi is same as well. 
 
Yariv can you test it please ? Working fine here. 
Comment 15 Yariv Ido 2003-04-20 11:09:01 UTC
Works fine here. However, either this ebuild or glibc's ebuild should install the 
he_IL.UTF-8 locale in order to take full advantage of it ( Since bidi mode works 
exclusively under UTF-8 ). I've used the following howto when I configured this 
locale: 
http://melkor.dnp.fmph.uniba.sk/~garabik/debian-utf8/howto.html 
Comment 16 Seemant Kulleen (RETIRED) gentoo-dev 2003-04-20 17:10:24 UTC
Yariv, if bug 9988 goes through (when, not if), then glibc should be able to offer those locales.  I am of the mind that glibc should do it, but another school of thought suggests that we should offer the different locales in app-i10n or something.
Comment 17 Meir Kriheli (RETIRED) gentoo-dev 2003-04-20 17:28:05 UTC
So can this bug be closed ? 
Comment 18 Seemant Kulleen (RETIRED) gentoo-dev 2003-05-21 17:22:50 UTC
closing