public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Stroller <stroller@stellar.eclipse.co.uk>
To: gentoo-user@lists.gentoo.org, Gevisz <gevisz@gmail.com>
Subject: Re: [gentoo-user] Gtypist does not accept ru.typ
Date: Thu, 7 Jan 2016 11:28:20 +0000	[thread overview]
Message-ID: <0AB5576F-E84D-4142-B32E-9AC6192B8A0F@stellar.eclipse.co.uk> (raw)
In-Reply-To: <CA+t6X7fk-oEhcupZyABbfuCDeKgE2Ng-_DagwTj_uSYqp7yOnQ@mail.gmail.com>


> On Wed, 6 January 2016, at 8:58 p.m., gevisz <gevisz@gmail.com> wrote:
> ...
>> 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

To address where you say "without understanding" - when you emerge a package, Portage downloads a tarball of the program's source code, unpacks the source into a temporary working directory (/var/tmp/portage/...) and, assuming the program is written in a compiled language like C or C++, runs `make` [1] before compiling it and copying the compiled executable(s) into the right place on the live filesystem.

Using `ebuild /path/to/some.ebuild command` breaks down this process into stages. So you have unpacked it (with `ebuild unpack`), modified the source code and then told emerge to continue the compilation process.

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

In fact, I have just checked `man ebuild` and you need to run `sudo ebuild /usr/portage/app-misc/gtypist/gtypist-2.9.5.ebuild merge` to complete the emerge process (by merging the changed package into the live filesystem). I apologise - that is the command I should have told you to finish with in the first place. 

> Any further help would be appreciated.

The folks on the gtypist list will probably be those best place to help you with why it's having problems with the ru.typ

Hopefully you will now be able to recompile gtypist as per their instructions and resume your discussion there.

Stroller.



[1] https://en.wikipedia.org/wiki/Make_(software)

  parent reply	other threads:[~2016-01-07 11:28 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
2016-01-06 21:53       ` gevisz
2016-01-07 11:28       ` Stroller [this message]
     [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=0AB5576F-E84D-4142-B32E-9AC6192B8A0F@stellar.eclipse.co.uk \
    --to=stroller@stellar.eclipse.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    --cc=gevisz@gmail.com \
    /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