Difference between pages "Experimental branch" and "Template:Ebuild"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
 
 
Line 1: Line 1:
{{Fancynote| Funtoo Experimental is where we test bleeding-edge stuff. Don't use experimental unless you are helping us test new features.}}
<noinclude>
{{Fancywarning| experimental tree perodically stopped and not getting updates. Current status is stopped}}
This is the "Ebuild" template.
== Status ==
It should be called in the following format:
Future plans:
<pre>
* funtoo profile integration
{{Ebuild
* udev and friends bump
|Summary=
|CatPkg=
|Maintainer=
|Homepage=
}}
</pre>
Edit the page to see the template text.
</noinclude><includeonly>{{#widget:AddThis}}<div class="container"><div class="row">
<div class="col-md-3 col-md-push-9">
<b>[[CatPkg::{{{CatPkg|}}}]]</b>
<hr>{{#vardefine:cat|{{#explode:{{{CatPkg}}}|/|0}}}}{{#vardefine:pkg|{{#explode:{{{CatPkg}}}|/|1}}}}{{#get_web_data:url=http://ports.funtoo.org/packages.xml|format=xml|use xpath|data=repo_id=/packages/category[@name='{{#var:cat}}']/package[@name='{{#var:pkg}}']/@repository}}{{#vardefine:repoid|{{#if:{{#external_value:repo_id}}|{{#external_value:repo_id}}|gentoo}}}}{{#set:RepoID={{#var:repoid}}}}
<table border="0" width="100%">
{{#if: {{{Maintainer|}}} |<tr><td><i>Current Maintainer(s):</i></td><td>{{#arraymaptemplate:{{{Maintainer|}}}|MaintainerDisplay|,|<br>}}</td></tr> |}}<tr><td><i>Source Repository:</i></td><td>{{#ask:[[Category:Repositories]] [[Repository ID::{{#var:repoid}}]]}}</td></tr>  {{#if: {{{Homepage|}}} |<tr><td></td><td>[[Homepage::{{{Homepage|}}}|Homepage]]</td></tr> |}}</table><hr>
<b>Summary:</b> [[Summary::{{{Summary|}}}]]
{{#get_web_data:url=http://127.0.0.1:8888/portage/meta/{{{CatPkg}}}|format=xml|use xpath|data=use=/package/@use}}{{#set:Use={{#external_value:use}}}}{{#if: {{#external_value:use}}|
== Use Flags ==
{{#arraymaptemplate:{{#external_value:use}}|ExternUse|,|}}
}}
<div class="bs-head" style="text-decoration: underline; margin-bottom: 15px;">Funtoo News</div>
{{NewsList|3}}
[[News|View More News...]]


== Introduction ==
</div><div class="col-xs-12 col-md-9 col-md-pull-3">{{DISPLAYTITLE:{{PAGENAME}}}}
 
<div id="ebuild_header"><div id="ebuild_logo" style="padding-bottom: 1em;">[[File:ebuild.png|link=|frameless|class=img-responsive]]</div><div id="ebuild_title">
The Funtoo experimental branch is used by Funtoo Core Developers to try and test new features to be included in Funtoo stable and current branches when ready. Users that want to help the developers test those new features are welcome to switch to the experimental branch and report problems on IRC or the forum. However, problems may arise from using it and there is no guarantee that your system will stay usable.
= {{PAGENAME}} =
 
</div></div>
== Upgrading an existing Funtoo installation to experimental ==
{{#seo:
<console>
|title=Package: {{PAGENAME}} ({{{CatPkg}}})
###i## rm -rf /usr/portage
|keywords={{{CatPkg}}},ebuild,gentoo,funtoo
</console>
|description=A Funtoo Linux ebuild for {{{CatPkg}}}: {{{Summary|}}}
Add the following line (or modify it if it's already there):
}}{{Tip|This is a wiki page. To edit it, {{CreateAccount}}. Then [[{{#special:userlogin}}|log in]] and then {{#formlink:form=Ebuild|link text=click here to edit this page|target={{FULLPAGENAME}}}}. See our [[Help:Funtoo_Editing_Guidelines|editing guidelines]] to becoming a wiki-editing pro.}}
<console>
</includeonly>
###i## nano -w /etc/make.conf
SYNC="git://github.com/funtoo/experimental-mini-2011.git"
</console>
 
=== First method ===
<console>
###i## emerge --sync     
</console>
 
Verify that the experimental tree has been properly installed:
<console>
###i## cat /usr/portage/.git/config
...
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git://github.com/funtoo/experimental-mini-2011.git
...
</console>
 
You should see that the git repository is pointing to experimental-mini-2011.git.
 
If for any reason this method did not work, use the second method to manually clone the experimental branch.
 
=== Second method ===
<console>
###i## rm -rf /usr/portage
###i## cd /usr
###i## git clone git://github.com/funtoo/experimental-mini-2011.git portage
###i## emerge --sync
</console>
 
== Installation from an experimental branch stage3 ==
You can find some stage3s on the Funtoo mirror: [http://ftp.osuosl.org/pub/funtoo/funtoo-experimental/]. These stages are updated weekly, possibly more often during active experimental development.
 
== Building stage3s using Metro ==
You may build your own stages of the experimental branch using [[Metro]]. The stages from the Funtoo mirror ([http://ftp.osuosl.org/pub/funtoo/funtoo-experimental/]) can be used as a seed. A funtoo-experimental target is available.
 
== History ==
{{SectionNeedsUpdates}}
=== Iteration 1 (Completed Dec 16, 2011) ===
 
Implementation and stabilization of a new set of toolchain packages:
 
* gcc-4.6.2
* binutils-2.21-r1
* linux-headers-2.6.39
* glibc-2.13-r4
* udev-171-r1
* patched lvm2-2.02.85
* Several patches to solve problems building with this toolchain
 
And some other features:
* [[Portage Dynamic Slot]]
* Modifications of Mesa, libdrm and radeon drivers to support each type of Radeon video card individually, as well as masked -9999 versions of those packages.
 
[[Category:Portage]]
[[Category:HOWTO]]
[[Category:Featured]]

Revision as of 17:16, January 12, 2015

This is the "Ebuild" template. It should be called in the following format:

{{Ebuild
|Summary=
|CatPkg=
|Maintainer=
|Homepage=
}}

Edit the page to see the template text.