View previous topic :: View next topic |
Author |
Message |
JustAnother Apprentice

Joined: 23 Sep 2016 Posts: 197
|
Posted: Wed Sep 20, 2017 10:35 pm Post subject: Can I directly emerge an ebuild file? |
|
|
Here's the setup. I want to use gpp, a preprocessor. But alas, there is no app-text/gpp in the main portage tree ::gentoo. However I did find it here: http://gpo.zugaina.org/app-text/gpp
The problem is that I don't have the slightest idea if it is a good move to hitch myself up to a strange repository. But they do have a gpp ebuild file. On the other hand man emerge says not to emerge ebuild files directly.
Is this really the case? Could I just download the gpp ebuild file and toss it into Code: | /usr/portage/app-text | , and try to emerge it? Or would that really blow my system up?
Are there any other ways to deal with the "emerge the odd-lot package" issue, other than running the make file or attaching oneself to another repository?
Thanks |
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23185
|
Posted: Thu Sep 21, 2017 12:52 am Post subject: |
|
|
I have not reviewed that ebuild, but as a general comment:
If you trust that one ebuild, you could create a personal overlay, populate it with just that ebuild and supporting files, then emerge from there. You should not modify under /usr/portage because those modifications will be lost on next sync. |
|
Back to top |
|
 |
JustAnother Apprentice

Joined: 23 Sep 2016 Posts: 197
|
Posted: Thu Sep 21, 2017 1:52 am Post subject: |
|
|
Makes sense. If somebody can have a personal trainer or a personal astrologer, then why not a personal overlay?
Maybe someone can put gpp into the main package repo. It's not a critical utility, but it has its place. |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31535 Location: here
|
Posted: Thu Sep 21, 2017 5:39 am Post subject: |
|
|
JustAnother wrote: | Maybe someone can put gpp into the main package repo. It's not a critical utility, but it has its place. |
You can tell to become a proxy maintainer for this package _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55011 Location: 56N 3W
|
Posted: Thu Sep 21, 2017 7:47 am Post subject: |
|
|
JustAnother,
Ebuilds don't get much simpler.
Code: | # Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="a general-purpose preprocessor with customizable syntax"
HOMEPAGE="http://en.nothingisreal.com/wiki/GPP"
SRC_URI="http://files.nothingisreal.com/software/${PN}/${P}.tar.bz2"
LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=""
RDEPEND="" |
Follow the handbook to make yourself a personal overlay. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
Genone Retired Dev


Joined: 14 Mar 2003 Posts: 9630 Location: beyond the rim
|
Posted: Thu Sep 21, 2017 9:12 am Post subject: Re: Can I directly emerge an ebuild file? |
|
|
JustAnother wrote: | Is this really the case? Could I just download the gpp ebuild file and toss it into Code: | /usr/portage/app-text | , and try to emerge it? Or would that really blow my system up? |
It wouldn't blow your system up, portage would likely just abort with an error. One of the drawbacks of ebuilds is that unlike (S)RPM or DEB packages they aren't self-contained packages. To have a working package you also need several support files in a specific directory structure, which makes transferring individual packages somewhat tricky.
Interestingly enough RPM and DEB based distros have also moved to a repository-centric approach in the last years and made it more difficult to handle individual packages. |
|
Back to top |
|
 |
JustAnother Apprentice

Joined: 23 Sep 2016 Posts: 197
|
Posted: Thu Sep 21, 2017 8:34 pm Post subject: |
|
|
I'm certainly willing to be a proxy maintainer, but I want to learn this portage system better before I jump on that. In the mean time I hope it is ok if I ask a few more questions. I'm trying to get my xfce work flow tweaked.
Thanks |
|
Back to top |
|
 |
|