[gobolinux-users] New GoboLinux packages is available!
Jonas Karlsson
jonka750 at student.liu.se
Mon Sep 25 08:04:53 UTC 2006
On Mon, 25 Sep 2006 07:14:23 +0200, Viola Zoltán <violazoli at gmail.com>
wrote:
> Dear Lucas, my "recipe" for these packages is not difficult:
>
> PrepareProgram
> make
> make install
> SymlinkProgram
> Createpackage
>
> - and nothing extra Parameter to the scripts! For Azureus need JRE why
> dependency. Thi is all.
>
How do you ensure that the app is installed at the right prefix, i.e.
/Programs/Foo/X.Y ?
Instead of doing all those steps you do you could just do it like Lucas
said (taking XaoS as an example):
* 'MakeRecipe
http://ovh.dl.sourceforge.net/sourceforge/xaos/XaoS-3.2.1.tar.gz'
* 'Compile xaos'
* 'CreatePackage xaos'
There's nothing more than that most of the times. Sometimes the apps can
have strange bulid systems or Makefiles that doesn't have PREFIX variable.
Then one has to 'fix' it.
And the scripts are quite smart as well. If you tried to make a recipe,
for say gFTP, where there already exists a recipe in the store you'd get
the question: "There is already a recipe for GFTP, at
http://some.gobo.mirror/recipe-store/GFTP--2.0.18--recipe.tar.bz2. Create
another? [Y/n]".
If you'd do it for a app where the recipe in the store has a lower version
the question would be: "Use 'NewVersion gftp 2.1.0' instead of MakeRecipe?
[Y/n]" (an example as there's no 2.1.0 version yet) instead.
Using MakeRecipe and Compile much hasle about prefix and similar is solved.
/Jonas
>
> 2006/9/25, Lucas C. Villa Real <lucasvr at gobolinux.org>:
>> On 9/24/06, Viola Zoltán <violazoli at gmail.com> wrote:
>> > Sorry, I am a Beginner, I can not make recipies! I use Gobo only in 1
>> week!
>> >
>> > Zoli
>>
>> Ah, no problem! :-)
>>
>> Just a question then: how are you proceeding to create these packages?
>> Just in case you're fetching them and manually compiling with
>> "./configure --prefix=/Programs/Foo/Version", there's a few handy
>> scripts that might turn your compilation process more easy and
>> bug-free.
>>
>> The first one you might already have discovered -- it's Compile. So,
>> if you want to compile a program named, say, "Croquete", you'll just
>> need to type "Compile Croquete". If a recipe for Croquete is not
>> found, you must then download its sources and manually compile it. To
>> help you on this task there's the second script called MakeRecipe.
>>
>> Its usage is pretty simple: just type "MakeRecipe
>> http://croquete.url/croquete-1.0.tar.bz2" and it will fetch the file,
>> deduce the program's name and version, inspect its contents (to
>> discover which compilation method it uses) and create an initial
>> recipe for it (which hopefully will be sufficient to compile the
>> program). The recipe will be stored at
>> /Files/Compile/LocalRecipes/Croquete/1.0. Inside that dir you'll have
>> a file called "Recipe", which can be used to enhance and better
>> describe its compilation needs.
>>
>> And that's all. Now there's a recipe for Croquete, and you can just
>> type "Compile Croquete", which will use the template created by the
>> previous steps. After your compilation succeeds, there will be a new
>> file called /Files/Compile/Store/Croquete--1.0--recipe.tar.bz2, which
>> can be sent to our gobolinux-recipes mailing list. This way, anyone
>> else going to compile that program will automatically benefit from
>> your contribution, with no need to repeat the entire process.
>>
>> You might want to try that with some simple programs just to get a
>> better feel. After that, just in case you become addicted to Compile,
>> you might want to bookmark Compile's documentation page, available at
>> http://gobo.kundor.org/wiki/Compiling_from_source .
>>
>> Well, that's all. I hope this is of some help to you :-)
>>
>> Cheers,
>>
>> --
>> Lucas
>> powered by /dev/dsp
>> _______________________________________________
>> gobolinux-users mailing list
>> gobolinux-users at lists.gobolinux.org
>> http://lists.gobolinux.org/mailman/listinfo/gobolinux-users
>>
>
>
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
More information about the gobolinux-users
mailing list