Please sync 0.19.2-1 from Debian unstable

Bug #191241 reported by Benjamin Geer
44
This bug affects 4 people
Affects Status Importance Assigned to Milestone
fribidi (Debian)
Fix Released
Unknown
fribidi (Ubuntu)
Fix Released
Wishlist
Unassigned
Nominated for Lucid by verb3k

Bug Description

fribidi (0.19.2-1) unstable; urgency=low

   * New upstream release. (Closes: #462612)
   * Switch to 3.0 (quilt) source format.
   * Added LGPL2 copyright notice in debian/copyright.
   * Removed fribidi-config.1 since fribidi-config is removed from upstream.
   * Added THANKS file to libfribidi0.docs.
   * Added debian/tmp/usr/share/man/man3/*.3 to libfribid-dev.manpages.
   * debian/rules:
     + Simplify rules file.
     + remove empty manpages.
   * debian/compat: Bump to 7.
   * debian/control:
     + Bump debhelper version to >= 7.0.50~ in Build-Depends.
     + Bump Standards-Version to 3.8.4
     + Enhanced extended description for libfribidi0 and libfribidi-dev.
     + Added ${misc:Depends} to Depends fields.
     + Added myself to uploaders.
     + Added Vcs-* fields.
   * debian/fribidi.1: Fix a typo.
   * Added manpages.diff patch to fix a couple of hyphen issues in
     fribidi_remove_bidi_marks.3
   * Added typos.diff patch to fix typo in fribidi help information.
   * Use dh_install instead of dh_movefiles: Rename debian/*.files to
     debian/*.install
 -- أحمد المحمودي (Ahmed El-Mahmoudy) <email address hidden> Thu, 04 Feb 2010 13:15:40 +0200

Tags: upgrade
Murat Gunes (mgunes)
Changed in fribidi:
importance: Undecided → Wishlist
Revision history for this message
Kurosu (kurosu) wrote :

I concur.

This also concerns the Wormux game. Currently, we are waiting for distributions to move to this version. Farsi (or Persian), spoken in iran and Afghanistan, is an example of language not supported by 0.10.9.

Unfortunately, even Debian (next stable or sid) doesn't include it either.

Revision history for this message
RJ Clay (rjclay) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!

Changed in fribidi:
status: New → Confirmed
Revision history for this message
Baptiste SIMON (bs-public) wrote :

I made libfribidi0 and arabic working with VLC for subtitles using version 0.20 as joined to this bug report. I consider that using this version solves the RTL unjoined chars bug.

Changed in fribidi (Debian):
status: Unknown → New
Artur Rona (ari-tczew)
tags: added: needs-packaging upgrade
removed: global-august-08-michigan
Revision history for this message
Daniel Holbach (dholbach) wrote :
Revision history for this message
Ilya Barygin (randomaction) wrote :
verb3k (verb3k)
summary: - New upstream version 0.19.1
+ New upstream version 0.19.2
description: updated
Revision history for this message
Daniel Holbach (dholbach) wrote : Re: New upstream version 0.19.2

Salam Ahmed... do you think it wuold make sense to get this into Ubuntu first as the mentoring request in Debian seems to be getting quite old?

Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote : Re: [Bug 191241] Re: New upstream version 0.19.2

On Wed, Jan 06, 2010 at 10:19:14AM -0000, Daniel Holbach wrote:
> Salam Ahmed... do you think it wuold make sense to get this into Ubuntu
> first as the mentoring request in Debian seems to be getting quite old?
---end quoted text---

There is only one issue which is removed symbols discussed on both those
threads:
http://lists.freedesktop.org/archives/fribidi/2009-March/000562.html
http://lists.alioth.debian.org/pipermail/debian-hebrew-package/2009-March/002330.html

I don't get any useful feedback from the Debian Hebrew maintainers:
http://lists.alioth.debian.org/pipermail/debian-hebrew-package/2009-June/002540.html

Also Tzafrir Cohen done some work on the package:
http://lists.alioth.debian.org/pipermail/debian-hebrew-package/2009-July/002550.html

So, do you think that the removed symbols don't require a soname bump as
Behdad suggests ?

--
 ‎أحمد المحمودي (Ahmed El-Mahmoudy)
  Digital design engineer
 GPG KeyID: 0xEDDDA1B7 (@ subkeys.pgp.net)
 GPG Fingerprint: 8206 A196 2084 7E6D 0DF8 B176 BC19 6A94 EDDD A1B7

Revision history for this message
Daniel Holbach (dholbach) wrote : Re: New upstream version 0.19.2

That's very hard for me to say... it should be an upstream maintainer decision and we should make sure that no package needs those symbols any more.

Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote :

by upstream maintainer , you mean Debian or Behdad ?

Revision history for this message
Daniel Holbach (dholbach) wrote :

By decision I meant if a soname bump should be introduced or not and that'd be Behdad's call as maintaining a soname bump over upstream is a big delta to carry.

Revision history for this message
verb3k (verb3k) wrote :

So, it seems like Ahmed is only a packager and may not be able to decide on this matter. Still, I think it is better to include a package that works (and is recommended by the authors) than ship something that doesn't work at all.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Are the missing symbols anything that's used in the distro? Is it functions that were supposed to be exposed at all?

Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote : Re: [Bug 191241] Re: New upstream version 0.19.2

On Mon, Jan 11, 2010 at 08:31:04AM -0000, Daniel Holbach wrote:
> Are the missing symbols anything that's used in the distro? Is it
> functions that were supposed to be exposed at all?
---end quoted text---

Many were symbols that weren't supposed to be exposed in the first place
indeed. How can I check if any of the missing symbols were used in the
distro ?

--
 ‎أحمد المحمودي (Ahmed El-Mahmoudy)
  Digital design engineer
 GPG KeyID: 0xEDDDA1B7 (@ subkeys.pgp.net)
 GPG Fingerprint: 8206 A196 2084 7E6D 0DF8 B176 BC19 6A94 EDDD A1B7

Revision history for this message
Daniel Holbach (dholbach) wrote : Re: New upstream version 0.19.2

Check the list of rdepends, get the source and grep -r for the function names that were removed between versions.

Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote : Re: [Bug 191241] Re: New upstream version 0.19.2
  • result Edit (6.7 KiB, text/plain; charset=us-ascii)

On Mon, Jan 11, 2010 at 11:18:56AM -0000, Daniel Holbach wrote:
> Check the list of rdepends, get the source and grep -r for the function
> names that were removed between versions.
---end quoted text---

For all packages in Debian unstable (sid) that depend on libfribidi0, I
grep'ed for the symbols removed in 0.19.2. I found that 5 packages do
use some of the removed symbols. I've attached the grep result with this
email.

To summarize:

* bidiv & centerim use: fribidi_iso8859_8_to_unicode_c, fribidi_unicode_to_iso8859_8
* quesoglc uses: nFriBidiMirroredChars, fribidi_prop_to_type
* mailutils uses fribidi_wcwidth provided that HAVE_FRIBIDI_WCWIDTH is
  defined, I grep'ed for HAVE_FRIBIDI_WCWIDTH in both 0.19.2 & 0.10.9
  and I didn't find that
* text-bidi, which is a perl interface for libfribidi, uses many of
  those obsolete symbols of fribidi, yet declares them to be "private".

--
 ‎أحمد المحمودي (Ahmed El-Mahmoudy)
  Digital design engineer
 GPG KeyID: 0xEDDDA1B7 (@ subkeys.pgp.net)
 GPG Fingerprint: 8206 A196 2084 7E6D 0DF8 B176 BC19 6A94 EDDD A1B7

Revision history for this message
Daniel Holbach (dholbach) wrote : Re: New upstream version 0.19.2

I'm sure that Behdad would be interested in that list. A soname change would make the switch to the new version of fribidi a lot easier and less messy.

Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote : Re: [Bug 191241] Re: New upstream version 0.19.2

On Mon, Jan 11, 2010 at 04:40:02PM -0000, Daniel Holbach wrote:
> I'm sure that Behdad would be interested in that list. A soname change
> would make the switch to the new version of fribidi a lot easier and
> less messy.
---end quoted text---

The fribidi mailing list was CC'ed in the last email.

--
 ‎أحمد المحمودي (Ahmed El-Mahmoudy)
  Digital design engineer
 GPG KeyID: 0xEDDDA1B7 (@ subkeys.pgp.net)
 GPG Fingerprint: 8206 A196 2084 7E6D 0DF8 B176 BC19 6A94 EDDD A1B7

tags: removed: needs-packaging
Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote :

I have a correction and additional info regarding the matter:

The correction, regarding what I mentioned earlier:

> * quesoglc uses: nFriBidiMirroredChars, fribidi_prop_to_type
> [...]
> quesoglc-0.7.2/src/fribidi/fribidi.c: pp->pos, pp->len, fribidi_type_name (pp->type), pp->level);
> quesoglc-0.7.2/src/fribidi/fribidi_mirroring.c: if (pos > nFriBidiMirroredChars - 1)
> quesoglc-0.7.2/src/fribidi/fribidi_mirroring.c: pos = nFriBidiMirroredChars - 1;
> quesoglc-0.7.2/src/fribidi/fribidi_mirroring.c: pos = step = (nFriBidiMirroredChars / 2) + 1;
> quesoglc-0.7.2/src/fribidi/fribidi_tab_char_type_9.i: return fribidi_prop_to_type[(unsigned char)FRIBIDI_GET_TYPE (uch)];
> quesoglc-0.7.2/src/fribidi/fribidi_tab_mirroring.i:const int nFriBidiMirroredChars = 332;
> quesoglc-0.7.2/src/fribidi/fribidi_types.c:const FriBidiCharType fribidi_prop_to_type[] = {
> quesoglc-0.7.2/src/fribidi/fribidi_types.c:fribidi_type_name (FriBidiCharType c)
> quesoglc-0.7.2/src/fribidi/fribidi_types.h: char *fribidi_type_name (FriBidiCharType c);
> quesoglc-0.7.2/src/fribidi/fribidi_types.h: extern const FriBidiCharType fribidi_prop_to_type[];

quesoglc actually defines those symbols in some .h & .i files, so it
does not use fribidi removed symbols.

What I want to add is regarding those:
> * bidiv & centerim use: fribidi_iso8859_8_to_unicode_c, fribidi_unicode_to_iso8859_8
> * mailutils uses fribidi_wcwidth provided that HAVE_FRIBIDI_WCWIDTH is
> defined, I grep'ed for HAVE_FRIBIDI_WCWIDTH in both 0.19.2 & 0.10.9
> and I didn't find that
> * text-bidi, which is a perl interface for libfribidi, uses many of
> those obsolete symbols of fribidi, yet declares them to be "private".

Behdad previously said that fribidi 0.19.x is currently in Fedora
(without any SO bump) and there are no problems there.[1]

I had a look at Fedora source packages, and I found the following:

1) bidiv: the source package in Fedora was patched to be able to compile
with fribidi 0.19.1

2) centerim: fribidi was not enabled in Fedora source package. Hence no
problem appeared.

3) mailutils: this package does not seem to exist in Fedora. Yet I'm not
sure if this package will have a problem in Debian/Ubuntu (please read
the previous email, quoted above)

4) text-bidi: this package does not seem to exist in Fedora, also I am
not really sure if this one is a problem. Since it is a sort of Perl
bindings for fribidi.

[1]
http://lists.alioth.debian.org/pipermail/debian-hebrew-package/2009-March/002330.html

--
 ‎أحمد المحمودي (Ahmed El-Mahmoudy)
  Digital design engineer
 GPG KeyID: 0xEDDDA1B7 (@ subkeys.pgp.net)
 GPG Fingerprint: 8206 A196 2084 7E6D 0DF8 B176 BC19 6A94 EDDD A1B7

Revision history for this message
Daniel Holbach (dholbach) wrote : Re: New upstream version 0.19.2

It might be worth talking to Behdad about it again and present the evidence that you collected. Maybe there can be a brown-paper bag release?

Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote : Re: [Bug 191241] Re: New upstream version 0.19.2

On Mon, Feb 01, 2010 at 09:32:57PM +0200, أحمد المحمودي wrote:
> 1) bidiv: the source package in Fedora was patched to be able to compile
> with fribidi 0.19.1
>
> 2) centerim: fribidi was not enabled in Fedora source package. Hence no
> problem appeared.
>
> 3) mailutils: this package does not seem to exist in Fedora. Yet I'm not
> sure if this package will have a problem in Debian/Ubuntu (please read
> the previous email, quoted above)
>
> 4) text-bidi: this package does not seem to exist in Fedora, also I am
> not really sure if this one is a problem. Since it is a sort of Perl
> bindings for fribidi.
---end quoted text---

Regarding mailutils, please note that the check for HAVE_FRIBIDI_WCWIDTH
was introduced in the latest release which is currently in Debian
testing, I just compiled mailutils 2.1 against fribidi 0.19.2, and it
compiled. Yet compiling mailutils 2.0 (currently in Debian stable &
Ubuntu karmic) against fribidi 0.19.2 will FTBFS.

So to conclude, I see two solutions:

1) That Debian/Ubuntu do as Fedora, and patch the few apps (probably
only bidiv & centerim will need patching) that use obsolete fribidi
symbols. Note that centerim will also need a small patch very similar to
the one used for bidiv. Also if fribidi is to be backported to older
releases, then mailutils will need to be patched too.

2) Fribidi would SO bump.

--
 ‎أحمد المحمودي (Ahmed El-Mahmoudy)
  Digital design engineer
 GPG KeyID: 0xEDDDA1B7 (@ subkeys.pgp.net)
 GPG Fingerprint: 8206 A196 2084 7E6D 0DF8 B176 BC19 6A94 EDDD A1B7

Revision history for this message
BehdadEsfahbod (behdad) wrote : Re: [FriBidi] [Bug 191241] Re: New upstream version 0.19.2

Thanks Ahmed. My comments below:

On 01/11/2010 11:22 AM, أحمد المحمودي wrote:
> On Mon, Jan 11, 2010 at 11:18:56AM -0000, Daniel Holbach wrote:
>> Check the list of rdepends, get the source and grep -r for the function
>> names that were removed between versions.
> ---end quoted text---
>
> For all packages in Debian unstable (sid) that depend on libfribidi0, I
> grep'ed for the symbols removed in 0.19.2. I found that 5 packages do
> use some of the removed symbols. I've attached the grep result with this
> email.
>
> To summarize:
>
> * bidiv & centerim use: fribidi_iso8859_8_to_unicode_c, fribidi_unicode_to_iso8859_8

Both should be trivial to patch.

> * quesoglc uses: nFriBidiMirroredChars, fribidi_prop_to_type

Apparently quesoglc includes a *copy* of FriBidi in its source tree. So that
doesn't count.

> * mailutils uses fribidi_wcwidth provided that HAVE_FRIBIDI_WCWIDTH is
> defined, I grep'ed for HAVE_FRIBIDI_WCWIDTH in both 0.19.2 & 0.10.9
> and I didn't find that

You later said this one compiles with latest version. So, good?

> * text-bidi, which is a perl interface for libfribidi, uses many of
> those obsolete symbols of fribidi, yet declares them to be "private".

If it's bindings, can simply be updated.

> So to conclude, I see two solutions:
>
> 1) That Debian/Ubuntu do as Fedora, and patch the few apps (probably
> only bidiv & centerim will need patching) that use obsolete fribidi
> symbols. Note that centerim will also need a small patch very similar to
> the one used for bidiv. Also if fribidi is to be backported to older
> releases, then mailutils will need to be patched too.

This is what I suggest.

> 2) Fribidi would SO bump.

Then you have to rebuild all the apps that use the mainstream fribidi API.
The reason I did not bump the .so version was such that the new version is a
drop-in replacement of the old series that adds Arabic shaping. And many
mplayer users appreciate that...

behdad

Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote : Re: [Bug 191241] Re: New upstream version 0.19.2

On Mon, Feb 01, 2010 at 11:07:33PM +0200, أحمد المحمودي wrote:
> 1) That Debian/Ubuntu do as Fedora, and patch the few apps (probably
> only bidiv & centerim will need patching) that use obsolete fribidi
> symbols. Note that centerim will also need a small patch very similar to
> the one used for bidiv. Also if fribidi is to be backported to older
> releases, then mailutils will need to be patched too.
---end quoted text---

The following was done:

1) Filed a bug against bidiv (#568130) with a patch. [1]
2) centerim has a new upstream (which is now in Debian testing) which
   has the issue fixed already, so no patch needed !
3) Sent an email to text-bidi upstream asking about wether text-bidi is
   compatible with fribidi 0.19.x or not. I didn't get a reply yet (just
   sent the email few hours ago), but it seems to me that most probably
   this package isn't a problem.
4) Uploaded fribidi 0.19.2-1 to debian mentors. I hope now the hebrew
   team would take it from there.

So, as it seems to me, it boils down to applying the patch to bidiv is
the only thing needed to be done. (In addition to sponsoring new fribidi
upload)

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568130

--
 ‎أحمد المحمودي (Ahmed El-Mahmoudy)
  Digital design engineer
 GPG KeyID: 0xEDDDA1B7 (@ subkeys.pgp.net)
 GPG Fingerprint: 8206 A196 2084 7E6D 0DF8 B176 BC19 6A94 EDDD A1B7

Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote : Re: New upstream version 0.19.2

fribidi 0.19.2-1 is on Debian now, please sync

Revision history for this message
Daniel Holbach (dholbach) wrote :

ACKed.

summary: - New upstream version 0.19.2
+ Please sync 0.19.2-1 from Debian unstable
description: updated
Changed in fribidi (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks Ahmed and Behdad for working this out! You guys rock!

Revision history for this message
James Westby (james-w) wrote :

[Updating] fribidi (0.10.9-1build1 [Ubuntu] < 0.19.2-1 [Debian])
 * Trying to add fribidi...
  - <fribidi_0.19.2-1.dsc: downloading from http://ftp.debian.org/debian/>
  - <fribidi_0.19.2-1.debian.tar.gz: downloading from http://ftp.debian.org/debian/>
  - <fribidi_0.19.2.orig.tar.gz: downloading from http://ftp.debian.org/debian/>
I: fribidi [main] -> libfribidi0_0.10.9-1build1 [main].
I: fribidi [main] -> libfribidi-dev_0.10.9-1build1 [main].
I: fribidi [main] -> libfribidi0-udeb_0.10.9-1build1 [main].

Changed in fribidi (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
James Westby (james-w) wrote :

[Updating] fribidi (0.10.9-1build1 [Ubuntu] < 0.19.2-1 [Debian])
 * Trying to add fribidi...
  - <fribidi_0.19.2-1.dsc: cached>
  - <fribidi_0.19.2-1.debian.tar.gz: cached>
  - <fribidi_0.19.2.orig.tar.gz: cached>
I: fribidi [main] -> libfribidi0_0.10.9-1build1 [main].
I: fribidi [main] -> libfribidi-dev_0.10.9-1build1 [main].
I: fribidi [main] -> libfribidi0-udeb_0.10.9-1build1 [main].

Changed in fribidi (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.