Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-soc
Navigation:
Lists: gentoo-soc: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-soc@g.o
From: darkdefende@...
Subject: Re: [SOC Ebuild generator project] Introduction and C&C
Date: Mon, 21 Mar 2011 12:00:34 +0100
Fabian Groffen writes:

> Hi Sebastian,
> 
> Have you considered a 100% automatic ebuild generator?  Based on
> heuristics you can come quite far in generating a first shot.  Think of
> tools like autoscan, and what brew create[1] for instance do.
>
Well it would be quite hard to make it 100% automatic as there are so many
ways you can unpack->prepare->compile->install.
Perhaps it would work for simple makefile projects but then you have scons,
cmake, python and java projects.

I have no idea how I would automaticly figure out the useflags, deps and
the build process without user input!

> What are the questions you envisage to present the user here?
>
It won't really be questions prompted to the user but inputfields where
you'll write how you would build it normally.
For example in the "How would you build/install" field you would for a
simple makefile project type:
make && make install
And the program should convert that to the corresponding commands in
src_compile() and src_install()

> In general, trying to come up with a use-case (or two) helps to get
> yourself a focus on what you would like to do, and what not.  A clearly
> defined project has multiple advantages for everyone involved.
>
I thought that this would be to help with generation of small to medium
sized projects. But if I have time I will try to make it able to generate
a working firefox/blender ebuild ;)

I have some small projects that it will try to get it to build first 
ofcourse. That way I can set milestones hopefully.

> How about interaction with an editor, such as Vim?  Would a command-line
> based core be acceptable for you?  It would help you to get it accepted
> in a broader audience.
>
Why indeed! I use most of my stuff from commandline, including vim.

> What language(s) would you like to use to work this thing out?
> Perhaps try to fit approaches like Perl's GPAN into your proposal.
> Likewise, Python's pypi packages may inspire you how to fully
> automatically create an ebuild from just an url.
>
I've only had courses in python and lisp (scheme/racket) so far.
I'm planning to write this in python.



Replies:
Re: [SOC Ebuild generator project] Introduction and C&C
-- Fabian Groffen
References:
[SOC Ebuild generator project] Introduction and C&C
-- darkdefende
Re: [SOC Ebuild generator project] Introduction and C&C
-- Fabian Groffen
Navigation:
Lists: gentoo-soc: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [SOC Ebuild generator project] Introduction and C&C
Next by thread:
Re: [SOC Ebuild generator project] Introduction and C&C
Previous by date:
Re: Adding Portage Features or Wireless Support
Next by date:
Re: New idea: auto dependency builder.


Updated Jun 27, 2012

Summary: Archive of the gentoo-soc mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.