summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-February/012105.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2012-February/012105.html')
-rw-r--r--zarb-ml/mageia-dev/2012-February/012105.html178
1 files changed, 178 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-February/012105.html b/zarb-ml/mageia-dev/2012-February/012105.html
new file mode 100644
index 000000000..fabde3870
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-February/012105.html
@@ -0,0 +1,178 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] Packaging help for GDM+GNOME Mageia background (long)
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Packaging%20help%20for%20GDM%2BGNOME%20Mageia%20background%20%28long%29&In-Reply-To=%3C20120219121344.GA6073%40bkor.dhs.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="012120.html">
+ <LINK REL="Next" HREF="012217.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] Packaging help for GDM+GNOME Mageia background (long)</H1>
+ <B>Olav Vitters</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Packaging%20help%20for%20GDM%2BGNOME%20Mageia%20background%20%28long%29&In-Reply-To=%3C20120219121344.GA6073%40bkor.dhs.org%3E"
+ TITLE="[Mageia-dev] Packaging help for GDM+GNOME Mageia background (long)">olav at vitters.nl
+ </A><BR>
+ <I>Sun Feb 19 13:13:44 CET 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="012120.html">[Mageia-dev] [changelog] [RPM] cauldron core/release wmdrawer-0.10.5-12.mga2
+</A></li>
+ <LI>Next message: <A HREF="012217.html">[Mageia-dev] Packaging help for GDM+GNOME Mageia background (long)
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#12105">[ date ]</a>
+ <a href="thread.html#12105">[ thread ]</a>
+ <a href="subject.html#12105">[ subject ]</a>
+ <a href="author.html#12105">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>I'm looking to theme GDM+GNOME with:
+1: changing the default background
+2: putting a Mageia logo above the GDM userlist
+
+<A HREF="https://bugs.mageia.org/show_bug.cgi?id=4419">https://bugs.mageia.org/show_bug.cgi?id=4419</A>
+
+This can be done by (1 and 2 match up with above):
+1a. Making an XML file for the default Mageia background and placing that
+ into /usr/share/gnome-background-properties
+ XML such as:
+ <A HREF="http://git.gnome.org/browse/gnome-backgrounds/tree/backgrounds/gnome-backgrounds.xml.in.in">http://git.gnome.org/browse/gnome-backgrounds/tree/backgrounds/gnome-backgrounds.xml.in.in</A>
+ Note: this allows translation! Just going to call it Mageia and not
+ setup translation (due to simple reason that I do not know how).
+1b. Creating an gschema.override file to change the default background.
+ gschema.override such as:
+ <A HREF="https://build.opensuse.org/package/view_file?file=glib2-branding.gschema.override.in&amp;package=glib2-branding-openSUSE&amp;project=openSUSE%3AFactory&amp;rev=e64e8406fad55bc7ec175dfcbe3d5c47">https://build.opensuse.org/package/view_file?file=glib2-branding.gschema.override.in&amp;package=glib2-branding-openSUSE&amp;project=openSUSE%3AFactory&amp;rev=e64e8406fad55bc7ec175dfcbe3d5c47</A>
+ This needs to be compiled by glib-compile-schemas. I've ensured the
+ existing filetrigger also works for '.override' files as of
+ glib2.0-2.31.16-2.mga2
+1c. Patching gnome-control-center to assume the default background
+ within /usr/share/gnome-background-properties is specified in
+ &quot;mageia.xml&quot; if it exists, else, &quot;adwaita.xml&quot;.
+ Note: this is a hack, but unfortunately the default is not in
+ gsettings, so cannot nicely override.
+
+
+2a. Creating an gschema.override file to the Mageia logo (as SVG):
+ <A HREF="http://pkgs.fedoraproject.org/gitweb/?p=gdm.git;a=blob;f=org.gnome.login-screen.gschema.override;hb=HEAD">http://pkgs.fedoraproject.org/gitweb/?p=gdm.git;a=blob;f=org.gnome.login-screen.gschema.override;hb=HEAD</A>
+
+
+Now, IMO, this should be done in the Mageia theme package. This so:
+- If you don't want these backgrounds, you can just remove them
+- If Mageia wants different backgrounds for Live cd / DVD / special
+ release then it is just a matter of packaging them
+- Don't have to put a Require: on some Mageia theme in
+ gdm/gnome-control-center, etc.
+
+However, due to 1c, the background within the theme MUST have a file
+called /usr/share/gnome-background-properties/mageia.xml. So the themes
+will conflict with eachother. At the moment, it seems there only is one
+theme package called mageia-theme-Default. I'm guessing it is ok if the
+themes conflict, otherwise you do not know which one should give the
+background.
+
+
+To recap, I need to put the following files in some package:
+- /usr/share/gnome-background-properties/mageia.xml
+ =&gt; mageia-theme-Default ? who owns the directory then?
+- <A HREF="http://www.mageia.org/g/media/logo/mageia-2011.svg">http://www.mageia.org/g/media/logo/mageia-2011.svg</A>
+ =&gt; mageia-theme-Default or desktop-common-data ?
+- /usr/share/glib-2.0/schemas/mageia-theme-Default.override
+ =&gt; mageia-theme-Default and depend on glib2.0-common?
+- (and patch gnome-control-center)
+ =&gt; not sure if I can :P
+
+Now, I know which files I need to package, but I have trouble with in
+which package to put them without creating incorrect Requires.
+
+If I package /usr/share/gnome-background-properties/mageia.xml, should I
+depend on gnome-control-center (as the directory is part of
+gnome-control-center), or not? Can I ignore this? Ignoring this would
+allow me to just put it in mageia-theme-Default
+
+For /usr/share/glib-2.0/schemas/mageia-theme-Default.override,
+glib-compile-schemas needs to run. Should I depend on glib for the file
+trigger. That seems a bit much for mageia-theme-Default. How to solve? I
+noticed mageia-theme-kde-background, but that just gives one background.
+It also doesn't have any dependencies on KDE, which seems a bit odd.
+
+
+Note: I also see
+/usr/share/gnome-background-properties/gnome-default.xml; it is NOT
+used.
+
+--
+Regards,
+Olav
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="012120.html">[Mageia-dev] [changelog] [RPM] cauldron core/release wmdrawer-0.10.5-12.mga2
+</A></li>
+ <LI>Next message: <A HREF="012217.html">[Mageia-dev] Packaging help for GDM+GNOME Mageia background (long)
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#12105">[ date ]</a>
+ <a href="thread.html#12105">[ thread ]</a>
+ <a href="subject.html#12105">[ subject ]</a>
+ <a href="author.html#12105">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>