<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 10/6/14 5:30 PM, Eneko Gotzon wrote:<br>
</div>
<blockquote
cite="mid:CAEV4i4USB4jywTctGYFfk-vtuwc48K29Vbhz+Miv_h0-aWn7Bg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Hello all :)</div>
<div><br>
</div>
<div>After a port upgrade Terminal.app has shown the following
note:</div>
<div>
<div><i>You can make Adwaita the default GTK+ 3 theme with:</i></div>
<div><i>------------------------------------------------------</i></div>
<div><i>mkdir -p ~/.config/gtk-3.0 &&</i></div>
<div><i>cat > ~/.config/gtk-3.0/settings.ini << "EOF"</i></div>
<div><i>[Settings]</i></div>
<div><i>gtk-theme-name = Adwaita</i></div>
<div><i>gtk-fallback-icon-theme = gnome</i></div>
<div><i>EOF</i></div>
</div>
<div>
<div>------------------------------------------------------</div>
</div>
<div><br>
</div>
<div>I understood the six lines above to be a single or combined
command, so I copied and pasted them as a whole in a Terminal
window, showing something like this——I'm not sure the last
line was present:</div>
<div>
<div><i>>> mkdir -p ~/.config/gtk-3.0 &&</i></div>
<div><i>>> cat > ~/.config/gtk-3.0/settings.ini
<< "EOF"</i></div>
<div><i>>> [Settings]</i></div>
<div><i>>> gtk-theme-name = Adwaita</i></div>
<div><i>>> gtk-fallback-icon-theme = gnome</i></div>
<div><i>>> EOF</i></div>
</div>
<div><br>
</div>
<div>As this action did not result in an accustomed Terminal
answer, I decided to clean all ports (<i>sudo port clean --all
installed</i>), without success, getting instead this
message:</div>
<div>
<div><i>Usage: port</i></div>
<div><i> [-bcdfknopqRstuvy] [-D portdir] [-F cmdfile]
action [privopts] [actionflags]</i></div>
<div><i> [[portname|pseudo-portname|port-url]
[@version] [+-variant]... [option=value]...]...</i></div>
<div><i>"port help" or "man 1 port" for more information.</i></div>
</div>
<div><br>
</div>
Because I did not know what to do with this output I decided to
run again selfupdate & upgrade commands, after which all
seems work correctly (I can clean all ports).
<div><br>
</div>
<div>QUERIES<br>
<div>
<ul>
<li>Just in case, do you think I have been able to break
something?<br>
</li>
<li>Maybe someone can point to a more detailed information
about making Adwaita the default GTK+ 3 theme.</li>
</ul>
</div>
<div>
<div>
<div>Thank you.</div>
<div><br>
</div>
<div>
<div>
<div>
<div dir="ltr">--
<div>Eneko Gotzon Ares</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
macports-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:macports-users@lists.macosforge.org">macports-users@lists.macosforge.org</a>
<a class="moz-txt-link-freetext" href="https://lists.macosforge.org/mailman/listinfo/macports-users">https://lists.macosforge.org/mailman/listinfo/macports-users</a>
</pre>
</blockquote>
<br>
This is outdated and needs to be removed. Adwaita IS the default
gtk3 theme in 3.14.0<br>
<br>
Grepping the gtk3 source shows<br>
<br>
$ grep -R DEFAULT_THEME_NAME *<br>
...<br>
gtk/gtksettingsprivate.h:#define DEFAULT_THEME_NAME "Adwaita"<br>
<br>
So forget the notes and just make sure you have the theme installed
in addition to gtk3. I suggest installing gnome-themes-standard
which<br>
will also bring in new port adwaita-icon-theme and
gnome-backgrounds. <br>
<br>
To test, you can run gtk3-demo (provided by gtk3)<br>
<br>
For more background on the switch to Adwaita, see<br>
<br>
<a class="moz-txt-link-freetext" href="http://blogs.gnome.org/mclasen/2014/06/13/a-new-default-theme-for-gtk/">http://blogs.gnome.org/mclasen/2014/06/13/a-new-default-theme-for-gtk/</a><br>
<br>
Dave<br>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>