Add support for pretty hostnames
authorGiovanni Campagna <gcampagna@src.gnome.org>
Sun, 20 Oct 2013 21:40:55 +0000 (23:40 +0200)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Thu, 13 Feb 2014 14:15:06 +0000 (15:15 +0100)
commit93cc06931ddd8a7891da0ee89adba9ae70eda0e5
treea7b5848584a9e4a83dd36c358ac14cb5a3a9d1fb
parenta2a90d7fb4cc832aa51ba9d03a1d162d2b25ed55
Add support for pretty hostnames

Read and parse /etc/machine-info to obtain a pretty human readable
hostname (eg. "Bob's Laptop" instead of "bob-laptop"). If the
file is not found, or it can't be parsed, we fall back on the
normal hostname.

In GNOME, the pretty hostname can be configured in the control
center details and sharing panels. In other systems, it can be
changed using "hostnamectl --pretty".

https://bugzilla.gnome.org/show_bug.cgi?id=724138
data/rygel.conf
src/librygel-core/rygel-root-device-factory.vala
src/librygel-server/rygel-media-object.vala