public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: gevisz <gevisz@gmail.com>
To: "gentoo-user@lists.gentoo.org" <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] Gtypist does not accept ru.typ
Date: Wed, 6 Jan 2016 22:58:28 +0200	[thread overview]
Message-ID: <CA+t6X7fk-oEhcupZyABbfuCDeKgE2Ng-_DagwTj_uSYqp7yOnQ@mail.gmail.com> (raw)
In-Reply-To: <CA+t6X7fYtDoT1HtO+EsugGte7k1jXuv-=qBi6jsBw=OtMm+ziw@mail.gmail.com>

Sorry for double-posting, the previous copy of this message has been sent
only to Stroller and not to the gentoo-user mailing list.

2016-01-04 12:47 GMT+02:00 Stroller <stroller@bigfoot.com>:

First of all, thank you for replying and excuse for the delay.

> A resend of this message, which I posted yesterday. Is the list dropping my mail?

 Probably, yes, as I have received only this one.

> On Fri, 1 January 2016, at 4:59 p.m., gevisz <gevisz@gmail.com> wrote:
>>
>> Below is the additional details of the second answer:
>>
>>> Since you build from source on gentoo:
>>> Can you check whether this appears when running ./configure?
>>> checking for nl_langinfo and CODESET… yes
>
> You should see this by re-emerging the package and watching the screen
> - there should be lots of "checking for" lines during the emerge output.
> You should be able to scroll back through it all when the package has
> finished emerging.
>
>>> Also, which arguments are used for ./configure?
>
> Look in the ebuild. [1]
>
> It looks like it's configured with --with-lispdir=/$path/$to/$directory if you have the USE=emacs.

 No, I have emacs, nls and xemacs user flags all unset for this package:

 $ equery uses gtypist
 [ Legend : U - final flag setting for installation]
 [        : I - package is installed with flag     ]
 [ Colors : set, unset                             ]
  * Found these USE flags for app-misc/gtypist-2.9.5:
  U I
  - - emacs  : Add support for GNU Emacs
  - - nls    : Add Native Language Support (using gettext - GNU locale
utilities)
  - - xemacs : Add support for XEmacs

> It looks like it applies an xemacs compatibility patch [2], but I doubt that makes a difference.
>
> Otherwise, as far as I can see, it uses the makefile's defaults.
>
> I'm not sure what's going on with "$(use_enable nls)" in the ebuild
> - perhaps someone else on this list could explain what USE=nls does for this package.
>
>>> /* printf("encoding is %s, UTF8=%d\n", locale_encoding, isUTF8Locale); */
>>>
>>> If that doesn't help, can you enable to printf above and post the output?
>
> If you run `sudo ebuild /usr/portage/app-misc/gtypist/gtypist-2.9.5.ebuild unpack`
> you should be able to find the file with that line.

 I did it, and the ebuild has been unpacked to
 /var/tmp/portage/app-misc/gtypist-2.9.5/work

> The "/*" and "*/" make that line into a comment, so "uncomment" it [3] by removing them. Save the file.

 Did it in the file
 /var/tmp/portage/app-misc/gtypist-2.9.5/work/gtypist-2.9.5/src/gtypist.c.

> Now you should be able to run `sudo ebuild /usr/portage/app-misc/gtypist/gtypist-2.9.5.ebuild install`
> to install gtypist with the modified code.

 Did it as well, though without understanding why this command should
 take into account the changes I had done  in the file
 /var/tmp/portage/app-misc/gtypist-2.9.5/work/gtypist-2.9.5/src/gtypist.c

 There was nothing in the output from the uncommented line (/encoding
 finds nothing).

 Any further help would be appreciated.

> I haven't done this in a while, so hopefully someone will correct me if I've got anything wrong.
> My first instinct was to epatch, but I don't think that's necessary.
>
> HTH,
>
> Stroller.
>
> [1] https://gitweb.gentoo.org/repo/gentoo.git/plain/app-misc/gtypist/gtypist-2.9.5.ebuild
>
> [2] https://gitweb.gentoo.org/repo/gentoo.git/plain/app-misc/gtypist/files/gtypist-2.8.3-xemacs-compat.patch
>
> [3] http://english.stackexchange.com/questions/33483/
>
>


  parent reply	other threads:[~2016-01-06 20:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-01 16:59 [gentoo-user] Gtypist does not accept ru.typ gevisz
     [not found] ` <35759B48-B9B1-4E7A-A113-75EB151A8794@bigfoot.com>
     [not found]   ` <CA+t6X7fYtDoT1HtO+EsugGte7k1jXuv-=qBi6jsBw=OtMm+ziw@mail.gmail.com>
2016-01-06 20:58     ` gevisz [this message]
2016-01-06 21:53       ` gevisz
2016-01-07 11:28       ` Stroller
     [not found]         ` <CA+t6X7cfY5ffp+18GRnZt3KVqfyxXQd=jQdoy6avsDfsh7SJEw@mail.gmail.com>
2016-01-08  0:13           ` gevisz
2016-01-07 11:39 ` Stroller
  -- strict thread matches above, loose matches on Subject: below --
2016-01-08  0:32 gevisz
2016-01-08 11:50 ` Stroller
2016-01-08 13:13   ` gevisz
2016-01-09 11:43     ` Stroller
2016-01-09 14:12       ` gevisz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+t6X7fk-oEhcupZyABbfuCDeKgE2Ng-_DagwTj_uSYqp7yOnQ@mail.gmail.com \
    --to=gevisz@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox