Re: [gentoo-user] Can Gentoo install source file?

2003-09-07 Thread Joshua Banks
Great...

Thanks Sami.

JBanks
--- Sami Näätänen <[EMAIL PROTECTED]> wrote:
> On Sunday 07 September 2003 13:51, Joshua Banks wrote:
> > Good question.. :)
> >
> > I was kindof wondering the same thing. What if I want to install
> > something in tar.gz format that isn't in the portage tree? Will
> > gentoo still let us compile source manually via ./configure, make,
> > make install commands or not? Or are the commands different?
> 
> Before doing your own ebuild you should really search the gentoo 
> bugzilla if somebody has allready made an ebuild for that particular 
> software. If not then follow the next one.
> 
> Simply copy the /usr/portage/skel.ebuild to your local portage tree to 
> the category of your choice (well inside a directory of the name of the 
> package you want to use) and rename it to
> 
> -.ebuild
> 
> Fill the required variables in that ebuild and save.
> 
> ebuild relative/path/to/your/ebuild digest
> 
> This will fetch the tarball from what ever source URI you set in the 
> ebuild and create the digest and manifest files.
> 
> Then simply emerge your-package. If it bails out try the alternative 
> methods in compile and install functions in the ebuild you filled up.
> The skel.ebuild is heavily commented so it's quite self explanatory.
> 
> After it compiles and works (Like most software will) you can contribute 
> to Gentoo and fill an ebuild addition bug for that software to be added 
> in portage official tree.
> 
> Before makeing the bug report strip all the skel explanation comments 
> from the ebuild and double check that it still compiles okay and 
> submit.
> 
> I allways try to do that if I get software that is not in portage tree.
> 
> 
> PS. Read the softwares home page to see what that software requires as 
> dependencies and fill those packages to the DEPEND in the ebuild.
> 
> PS. PS. if that package should use some USE flags to make the 
> compilation conditional and you don't get those right then at least 
> mention these things in the bug report, so that the person who handles 
> your bug report don't need to find that out later, but knows that your 
> ebuild is not a complete solution.
> 
> 
> 
> --
> [EMAIL PROTECTED] mailing list
> 

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can Gentoo install source file?

2003-09-07 Thread Sami Näätänen
On Sunday 07 September 2003 13:51, Joshua Banks wrote:
> Good question.. :)
>
> I was kindof wondering the same thing. What if I want to install
> something in tar.gz format that isn't in the portage tree? Will
> gentoo still let us compile source manually via ./configure, make,
> make install commands or not? Or are the commands different?

Before doing your own ebuild you should really search the gentoo 
bugzilla if somebody has allready made an ebuild for that particular 
software. If not then follow the next one.

Simply copy the /usr/portage/skel.ebuild to your local portage tree to 
the category of your choice (well inside a directory of the name of the 
package you want to use) and rename it to

-.ebuild

Fill the required variables in that ebuild and save.

ebuild relative/path/to/your/ebuild digest

This will fetch the tarball from what ever source URI you set in the 
ebuild and create the digest and manifest files.

Then simply emerge your-package. If it bails out try the alternative 
methods in compile and install functions in the ebuild you filled up.
The skel.ebuild is heavily commented so it's quite self explanatory.

After it compiles and works (Like most software will) you can contribute 
to Gentoo and fill an ebuild addition bug for that software to be added 
in portage official tree.

Before makeing the bug report strip all the skel explanation comments 
from the ebuild and double check that it still compiles okay and 
submit.

I allways try to do that if I get software that is not in portage tree.


PS. Read the softwares home page to see what that software requires as 
dependencies and fill those packages to the DEPEND in the ebuild.

PS. PS. if that package should use some USE flags to make the 
compilation conditional and you don't get those right then at least 
mention these things in the bug report, so that the person who handles 
your bug report don't need to find that out later, but knows that your 
ebuild is not a complete solution.



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can Gentoo install source file?

2003-09-07 Thread Mike Williams
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 07 September 2003 11:51, Joshua Banks wrote:
> Good question.. :)
>
> I was kindof wondering the same thing. What if I want to install something
> in tar.gz format that isn't in the portage tree? Will gentoo still let us
> compile source manually via ./configure, make, make install commands or
> not? Or are the commands different?

tar.gz, tar.bz2, cpio, etc, makes no difference.
When working outside of the package management system, Gentoo is just plain 
old GNU/Linux, just like every other distro. Well, apart from Gentoo being a 
kick ass distro :)

- -- 
Mike Williams
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/Ww7lInuLMrk7bIwRAqiMAJ9OXe7+HAH1ASf8xMKdT3dyrTY7tgCeMw0b
X12OF/Ui3VaMFWrbydkIhBw=
=KYMs
-END PGP SIGNATURE-

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can Gentoo install source file?

2003-09-07 Thread Joshua Banks
Good question.. :)

I was kindof wondering the same thing. What if I want to install something in tar.gz 
format that
isn't in the portage tree? Will gentoo still let us compile source manually via 
./configure, make,
make install commands or not? Or are the commands different?

JBanks
--- TaZZ <[EMAIL PROTECTED]> wrote:
> Hi!
> I'm newbie in Gentoo...
> Can Gentoo install tar.gz source file (how one rpm-package install Red Hat :-))
> or I must do:
> ./configure
> make 
> make install
> 
> Best regards,
> -TaZZ-
> E-Mail: [EMAIL PROTECTED]
> ICQ: 201045832
> 
> 
> --
> [EMAIL PROTECTED] mailing list
> 

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can Gentoo install source file?

2003-09-07 Thread Mike Williams
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 07 September 2003 08:20, TaZZ wrote:
> Hi!
> I'm newbie in Gentoo...
> Can Gentoo install tar.gz source file (how one rpm-package install Red Hat
> :-)) or I must do:
> ./configure
> make
> make install

If it's not in portage, then yes, that's basically what you would have to do.

If feeling brave you could try knocking up a simple ebuild for it. Just don't 
put it into /usr/portage cos your next rsync will delete it. :)

- -- 
Mike Williams
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/Ww05InuLMrk7bIwRAg4NAJ9E2vq+V+aY5/RcAIIOKweGWJGP9wCfbnTz
WVy9uVAR1fgiLVInvDJcwqA=
=BAjY
-END PGP SIGNATURE-

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Can Gentoo install source file?

2003-09-06 Thread TaZZ
Hi!
I'm newbie in Gentoo...
Can Gentoo install tar.gz source file (how one rpm-package install Red Hat :-))
or I must do:
./configure
make 
make install

Best regards,
-TaZZ-
E-Mail: [EMAIL PROTECTED]
ICQ: 201045832


--
[EMAIL PROTECTED] mailing list