* Re: [gentoo-user] Gtypist does not accept ru.typ
@ 2016-01-07 11:28 99% ` Stroller
0 siblings, 0 replies; 1+ results
From: Stroller @ 2016-01-07 11:28 UTC (permalink / raw
To: gentoo-user, Gevisz
> 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)
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
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-07 11:28 99% ` Stroller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox