Difference between pages "News:Testing GNOME 3.14" and "Template:News"

(Difference between pages)
 
 
Line 1: Line 1:
 +
<noinclude>
 +
Use like so:
 +
 +
<pre>
 
{{News
 
{{News
|Summary=GNOME 3.14 is now available in Funtoo, masked for testing. Help us test it!
+
|Summary=Test News Item
|News Format=Extended
+
 
|News Category=General
 
|News Category=General
|Author=Dantrell
+
|Author=Drobbins
|Publication Status=Published
+
|Publication Status=Draft
|Deprecated By=GNOME 3.14 Unleashed
+
|Publication Date=2014/10/16
|Publication Date=2014/10/22
+
|Icon=File:foobar.jpg
|Icon=File:Gnome.jpg
+
|News Format=Short (or Extended)
 
}}
 
}}
{{Note|This is a News item page, and you can comment using DISQUS at the bottom.}}
+
</pre>
  
GNOME 3.14 is now available in Funtoo, masked for testing. Please help us test it. If you find bugs, or want more detailed information on what is included, please see  [https://bugs.funtoo.org/browse/FL-1637 FL-1637].
+
</noinclude><includeonly>
 
+
<div class="container" style="margin-top: 20px;"><div class="row"><div class="col-xs-12">
== Preparing ==
+
= {{PAGENAME}} =
 
+
{{#if:{{{Deprecated By|}}}|{{Important|This news item is not current. You can find more information on this topic at [[Deprecated By::{{Deprecated By}}]].}}}}
=== sync ===
+
{{#ifeq:{{{Publication Status|}}|Draft|{{NotYetPublished}}}}{{#set:Summary={{{Summary|}}}|News Category={{{News Category|}}}|Publication Status={{{Publication Status|}}}|Icon={{{Icon|}}}|Publication Date={{{Publication Date|}}}|News Format={{{News Format}}}}}
 
+
{{#set:Author=User:{{{Author|}}}|Gravatar MD5={{#show: User:{{{Author}}} | ?Gravatar MD5}}}}
First, sync the tree if you haven't recently as you need access to a file in the tree:
+
{{#ifeq:{{{News Format|}}}|Extended|
 
+
{{#widget:NewsInfo|body={{{Summary|}}}|user={{{Author|}}}|icon_url={{#if:{{{Icon|}}}|{{filepath:{{#sub:{{{Icon}}}|5}}|80}}|http://www.gravatar.com/avatar/{{#show: User:{{{Author}}} | ?Gravatar MD5}}/?s=80&d=retro&r=g}}|date={{#time:F j, Y|{{{Publication Date}}}}}
<console>
+
}}}}
###i## emerge --sync
+
</div></div><div class="row"><div class="col-xs-12">
</console>
+
</includeonly>
 
+
=== unmask ===
+
 
+
Now, reverse the GNOME 3.14 mask file:
+
 
+
==== package.mask (directory) ====
+
 
+
<console>
+
###i## cd /etc/portage/package.unmask
+
###i## ln -s /usr/portage/profiles/package.mask/funtoo-gnome .
+
</console>
+
 
+
==== package.mask (file) ====
+
 
+
<console>
+
###i## cat /usr/portage/profiles/package.mask/funtoo-gnome >> /etc/portage/package.unmask
+
</console>
+
 
+
=== USE flags ===
+
 
+
Then to simplify matters, enable the gnome mix-in:
+
 
+
<console>
+
###i## eselect profile list
+
##g##Currently available mix-ins profiles:
+
  [11]  funtoo/1.0/linux-gnu/mix-ins/audio
+
  [12]  funtoo/1.0/linux-gnu/mix-ins/cinnamon
+
  [13]  funtoo/1.0/linux-gnu/mix-ins/console-extras
+
  [14]  funtoo/1.0/linux-gnu/mix-ins/dvd
+
  [15]  funtoo/1.0/linux-gnu/mix-ins/gnome
+
  [16]  funtoo/1.0/linux-gnu/mix-ins/kde
+
  [17]  funtoo/1.0/linux-gnu/mix-ins/mate
+
  [18]  funtoo/1.0/linux-gnu/mix-ins/media
+
  [19]  funtoo/1.0/linux-gnu/mix-ins/print
+
  [20]  funtoo/1.0/linux-gnu/mix-ins/python3-only
+
  [21]  funtoo/1.0/linux-gnu/mix-ins/rhel5-compat
+
  [22]  funtoo/1.0/linux-gnu/mix-ins/server-db
+
  [23]  funtoo/1.0/linux-gnu/mix-ins/server-mail
+
  [24]  funtoo/1.0/linux-gnu/mix-ins/server-web
+
  [25]  funtoo/1.0/linux-gnu/mix-ins/X
+
  [26]  funtoo/1.0/linux-gnu/mix-ins/xfce
+
  [27]  funtoo/1.0/linux-gnu/mix-ins/vmware-guest
+
  [28]  funtoo/1.0/linux-gnu/mix-ins/hardened
+
</console>
+
 
+
<console>
+
###i## eselect profile add funtoo/1.0/linux-gnu/mix-ins/gnome
+
</console>
+
 
+
== Emerging ==
+
 
+
=== Installing GNOME 3.14 ===
+
 
+
===== gnome =====
+
 
+
To emerge ''gnome'' run the following command:
+
 
+
<console>
+
###i## emerge gnome
+
</console>
+
 
+
===== gnome-light =====
+
 
+
To emerge ''gnome-light'' run the following command:
+
 
+
<console>
+
###i## emerge gnome-light
+
</console>
+
 
+
=== Upgrading from GNOME 3.12 ===
+
 
+
To update "gnome" or "gnome-light" run the following command:
+
 
+
<console>
+
###i## emerge -vauDN world
+
</console>
+
 
+
== Finishing Touches ==
+
 
+
=== Verify the inode/directory MimeType Handler ===
+
 
+
In some odd instances, baobab might take priority over nautilus when handling the inode/directory MimeType. If this behavior is not desired, add the following to /home/~/.local/share/applications/mimeapps.list:
+
 
+
<pre>
+
[Added Associations]
+
inode/directory=org.gnome.Nautilus.desktop;org.gnome.baobab.desktop;
+
</pre>
+
{{NewsFooter}}
+

Revision as of 19:26, November 6, 2014

Use like so:

{{News
|Summary=Test News Item
|News Category=General
|Author=Drobbins
|Publication Status=Draft
|Publication Date=2014/10/16
|Icon=File:foobar.jpg
|News Format=Short (or Extended)
}}