Hi Harshula!

I am sorry, it seems I missed your reply.

On Sun, 09 Jan 2011 15:56:22 +0100, Harshula wrote:
> Do you use m17n lib or have you used it before?

No, I have never used it, but the library was installed because of
emacs-snapshot and it will always be installed on my primary sid because
of that (or emacs23 or emacs24 or whatever).

FWIW, however, I have already written in Japanese katakana on a terminal
Emacs using ttf-unifont.

> On Wed, 2011-01-05 at 20:42 +0100, Luca Capello wrote:
>> I consider it a bug that a library depends on a database to be used.
>> First, because the database could be provided *directly* by the sysadmin
>> (thus without the need for the exact copy provided by the dependent
>> packages) and, second, because it means that a program linked to that
>> library will require the dependent packages.
>
> The programs that link to the m17n library do so to use the rules
> contained in m17n-db.

Every time these programs run?  I have not seen any Emacs error in more
than 6 years of use because of m17n-db not being installed on my sid (I
have APT's Install-Recommends off and pay attention to most extra
packages are installed as Depends:).

As a side note, now that I looked for, it is funny what upstream thinks
about the relationship between the m17n library and database, from
libm17n-0/1.6.1-1 /usr/share/doc/libm17n-0/README.gz:

  (2) DATABASE

  The m17n library utilizes the m17n database available at:
          http://www.m17n.org/m17n-lib/m17n-db
  Without this database, the m17n library loses half its value.  Please
  install it (Ver.1.4.0 or the later is required) too before you try the
  above sample programs or develop a program that uses the m17n library.

>> Recommends: are there exactly for that, especially given that "Emacs +
>> libm17n-0 + m17n-contrib + m17n-db" *does not work*, as explained by the
>> Debian maintainer in reply to the post above:
>
> No, that's not what I said.

Sorry, maybe my English is not so good, but this is how I read:

  Message-ID: <[email protected]>
  URL: <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=599643#18>

--8<---------------cut here---------------start------------->8---
On Tue, 12 Oct 2010 11:41:59 +0200, Harshula wrote:
> On Sun, 2010-10-10 at 17:53 -0700, Josh Triplett wrote:
>> On Mon, Oct 11, 2010 at 03:43:27AM +1100, Harshula wrote:
>
>> > You've raised an interesting question. My initial reaction is Emacs
>> > should Depend on both libm17n-0 and m17n-db. Emacs appears to use
>> > libm17n and m17n-db for complex text layout. libm17n contains the C API
>> > and m17n-db contains the layout rules. So without both packages Emacs
>> > will not function correctly. For example, copy the following Sinhala
>> > text "කොහොමද" into Emacs with both libm17n-0 and m17n-db installed. Take
>> > a screenshot. Then remove m17n-db and copy the text into Emacs and see
>> > the difference.
>> 
>> Interesting.  It didn't make a difference with the default font I
>> normally use in Emacs (Neep Alt), but with DejaVu Sans Mono the first
>> character moved before the quote.  Does that sound like the correct
>> behavior?
>
> No, that does not sound correct. I forgot to mention one important step,
> install ttf-sinhala-lklug.
--8<---------------cut here---------------end--------------->8---

Nevertheless, read below.

> If you are typing in a particular script, you need the relevant font
> to see the correct results. This is applicable to other text layout
> libraries.

To which I fully agree.

>> According to the reasoning used to solve #599643, why does libm17n-0 not
>> depend also on ttf-sinhala-lklug?  It does not even Recommends: it...
>
> Pango or ICU do not depend on particular fonts either.

Exactly, but at least libpango1.0/1.28.3-4 in experimental had the
following in its description:

  Recommends: x-ttcidfont-conf
  Suggests: ttf-japanese-gothic, ttf-japanese-mincho, ttf-thryomanes,
   ttf-baekmuk, ttf-arphic-gbsn00lp, ttf-arphic-bsmi00lp,
   ttf-arphic-gkai00mp, ttf-arphic-bkai00mp 

Anyway, given that:

- you reassigned this bug to m17n-db instead of libm17n-0
    <http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=37;bug=604926>

- it seems you consider the libm17n0's Depends: on m17n-db and
  m17n-contrib (solution for #599643) a must

  NB1, funny that the original submitter of #599643 asked for an
       explication of these Recommends: (which is IMHO the correct
       solution) or a downgrade to Suggests:...

  NB2, I would have re-opened #599643 instead, but then I found this bug
       and I thought the two were linked, thus it sounds more logical to
       me replying here, at least until Bill corrected me

- it seems I am the only one who cares about 8MB of disk space, maybe it
  reminds me of the 512MB SD card I had for Debian on my Openmoko (and
  yes, there are Openmoko owners using Emacs on it)

...I will stop complaining with this mail.

Thx, bye,
Gismo / Luca

Attachment: pgpCXmGLfDNu9.pgp
Description: PGP signature

Reply via email to