Skip to contentSkip to conversation

gtk-engines: don't inherit gtk-icon-cache

PATCH In review Ross Burton 2 participants 4 messages Mar 21, 2014 – Mar 25, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 gtk-engines: don't inherit gtk-icon-cache

This was accidently left in and can be removed.

---
 meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb +1 -1
index 940d130..5255f00 100644
@@ -26,7 +26,7 @@ FILES_${PN}-dbg += "${libdir}/gtk-2.0/*/engines/.debug"
 
 CFLAGS_prepend = "-DHAVE_ANIMATION "
 
-inherit gnomebase gtk-icon-cache
+inherit gnomebase
 
 python populate_packages_prepend() {
     engines_root = os.path.join(d.getVar('libdir', True), "gtk-2.0/2.10.0/engines")
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 2/2 gtk-engines: move engine schemas to a dedicated package

The GTK+ engine schemas are not insignicant in size but also mostly useless. Put them in a sub-package instead of PN so they only get installed when explicitly required.

---
 meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb |    3 +++
 1 file changed, 3 insertions(+)
meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb +3 -0
index 5255f00..33b6afe 100644
@@ -10,6 +10,7 @@ DEPENDS = "intltool-native gtk+"
 
 PR = "r3"
 
+PACKAGES += "${PN}-schemas"
 PACKAGES_DYNAMIC += "^gtk-engine-.* ^gtk-theme-.*"
 
 RDEPENDS_gtk-theme-redmond = "gtk-engine-redmond95"
@@ -21,8 +22,10 @@ RDEPENDS_gtk-theme-thinice = "gtk-engine-thinice"
 RDEPENDS_gtk-theme-industrial = "gtk-engine-industrial"
 RDEPENDS_gtk-theme-clearlooks = "gtk-engine-clearlooks"
 
+FILES_${PN} = ""
 FILES_${PN}-dev += "${libdir}/gtk-2.0/*/engines/*.la"
 FILES_${PN}-dbg += "${libdir}/gtk-2.0/*/engines/.debug"
+FILES_${PN}-schemas = "${datadir}/gtk-engines/*.xml"
 
 CFLAGS_prepend = "-DHAVE_ANIMATION "
 
Signature · 1 line
1.7.10.4
#2 lore raw

Re: [PATCH 2/2] gtk-engines: move engine schemas to a dedicated package

Quoted 5 lines · Ross Burton

The GTK+ engine schemas are not insignicant in size but also mostly useless. Put them in a sub-package instead of PN so they only get installed when explicitly required.

Isn't it breaking runtime update? People with a running system which updates it using package feeds are going to get it removed. Am I missing something?

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
#3 lore raw

Re: [PATCH 2/2] gtk-engines: move engine schemas to a dedicated package

Quoted 10 lines · Otavio Salvador
Quoted 5 lines · Ross Burton

The GTK+ engine schemas are not insignicant in size but also mostly useless. Put them in a sub-package instead of PN so they only get installed when explicitly required.

Isn't it breaking runtime update? People with a running system which updates it using package feeds are going to get it removed. Am I missing something?

There is the possibility of a migration path but honestly, nothing is using those files and I'd be surprised if they were installed by anyone.

I guess there should be a replaces/conflicts to ensure that PN-schemas doesn't clash with PN in upgrades.

Ross