Difference between pages "Template:Subarch" and "Package:Sublime Text Editor"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
 
 
Line 1: Line 1:
<includeonly>
{{Ebuild
= {{{subarch}}} (Sub-architecture) =
|Summary=Sublime Text is an advanced commercial text editor.
__NOTITLE__
|CatPkg=app-editors/sublime-text
{{Note|This page describes a sub-architecture for Funtoo Linux, which is a particular set of optimizations that is used for a Funtoo Linux build.}}
|Maintainer=Oleg,
{{#set:CPU Family={{{CPU Family|}}}|subarch={{{subarch|}}}|CHOST={{{CHOST|}}}|CFLAGS={{{CFLAGS|}}}|USE={{{USE|}}}|CPU Features={{{CPU Features|}}}|Description={{{Description|}}}}}
|Homepage=http://sublimetext.com
== Overview ==
}}
__NOTOC__
Sublime Text is a very complete text editor with lots of features, and support for plugins. It's free, but often shows a popup showing that's unregistered, so you can purchase the license for USD$70.
{{TableStart}}
 
<tr><td>CPU Family</td><td>[[{{{CPU Family}}}]]</td></tr>
== Install ==
<tr><td>CHOST</td><td><code>{{{CHOST|}}}</code></td></tr>
First, you must have installed [[Package:Layman|Layman]] with Git support. Then, add the overlay ''sublime-text'':
<tr><td>CFLAGS</td><td><code>{{{CFLAGS|}}}</code></td></tr>
 
<tr><td>USE</td><td>{{#if:{{{USE|}}}|<code>{{{USE}}}</code>|(none)}}</td></tr>
<console>###i## layman -a sublime-text</console>
<tr><td>Summary</td><td>{{{Description|}}}</td></tr>
 
{{TableEnd}}{{#vardefine:subarch|{{{subarch|}}}}}
Now, install the version you want. For the version 2:
{{#get_web_data:url=http://build.funtoo.org/index.xml|format=xml|use xpath|data=builds=/subarches/subarch[@name='{{{subarch|}}}']/@builds}}
<console>###i## emerge -av sublime-text:2</console>
{{#vardefine:builds|{{#external_value:builds}}}}{{#if:{{#var:builds}}|
 
== Builds ==
For the version 3 (default):
This section lists the Funtoo Linux builds currently available for download for this sub-architecture:
<console>###i## emerge -av sublime-text:3</console>
{{TableStart}}<tr><td class="active">build</td><td class="active">variant</td><td class="active">latest build</td><td class="active">Download</td><td class="active">Browse Mirror</td></tr>
 
{{#arraymaptemplate:{{#var:builds}}|DisplayBuilds|,|}}
You can have installed both versions, so you must install it with the USE flag ''multislot'', that also brings the package eselect-sublime.
{{TableEnd}}|No downloadable stage builds are currently available for this sub-architecture.}}
{{EbuildFooter}}
[[Category:Subarches]]
__NOEDITSECTION__
== Description ==
</includeonly>

Latest revision as of 04:52, January 3, 2015

Sublime Text Editor

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

Sublime Text is a very complete text editor with lots of features, and support for plugins. It's free, but often shows a popup showing that's unregistered, so you can purchase the license for USD$70.

Install

First, you must have installed Layman with Git support. Then, add the overlay sublime-text:

root # layman -a sublime-text

Now, install the version you want. For the version 2:

root # emerge -av sublime-text:2

For the version 3 (default):

root # emerge -av sublime-text:3

You can have installed both versions, so you must install it with the USE flag multislot, that also brings the package eselect-sublime.