Skip to contentSkip to conversation

avoid nautilus build by default

PATCH In review Andreas Müller 2 participants 4 messages Apr 16, 2014 – Apr 20, 2014

lore
Share & tools
lore
#0 lore raw

cover avoid nautilus build by default

There is no reason why we need to build nautilus when using evince and/or gnome-disk-utility.

Andreas Müller (2):
evince: make nautilus extension a PACKAGECONFIG and disable by default
gnome-disk-utility: change PACKAGECONFIG default: remove nautilus

 meta-gnome/recipes-gnome/evince/evince_2.32.0.bb                    | 6 ++++--
 .../recipes-gnome/gnome-disk-utility/gnome-disk-utility_2.32.0.bb   | 4 ++--
 2 files changed, 6 insertions(+), 4 deletions(-)
Signature · 1 line
1.8.3.1
#1 lore raw

PATCH 1/2 evince: make nautilus extension a PACKAGECONFIG and disable by default

---
 meta-gnome/recipes-gnome/evince/evince_2.32.0.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
meta-gnome/recipes-gnome/evince/evince_2.32.0.bb +4 -2
index 263765f..5aa485e 100644
@@ -2,7 +2,7 @@ SUMMARY = "Evince is a document viewer for document formats like pdf, ps, djvu"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=96f2f8d5ee576a2163977938ea36fa7b"
 SECTION = "x11/office"
-DEPENDS = "gnome-icon-theme gnome-doc-utils-native libgnome-keyring nautilus tiff libxt ghostscript poppler libxml2 gtk+ gconf libglade"
+DEPENDS = "gnome-icon-theme gnome-doc-utils-native libgnome-keyring tiff libxt ghostscript poppler libxml2 gtk+ gconf libglade"
 
 PR = "r5"
 
@@ -17,7 +17,6 @@ SRC_URI[archive.md5sum] = "ebc3ce6df8dcbf29cb9492f8dd031319"
 SRC_URI[archive.sha256sum] = "2a4c91ae38f8b5028cebb91b9da9ddc50ea8ae3f3d429df89ba351da2d787ff7"
 
 EXTRA_OECONF = " --enable-thumbnailer \
-                 --enable-nautilus \
                  --disable-scrollkeeper \
                  --enable-pixbuf \
                  --disable-help \
@@ -28,6 +27,9 @@ do_install_append() {
     install -m 0755 ${S}/data/icons/48x48/apps/evince.png ${D}${datadir}/pixmaps/
 }
 
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[nautilus] = "--enable-nautilus,--disable-nautilus,nautilus"
+
 RDEPENDS_${PN} += "glib-2.0-utils"
 
 PACKAGES =+ "${PN}-nautilus-extension"
Signature · 1 line
1.8.3.1
#2 lore raw

PATCH 2/2 gnome-disk-utility: change PACKAGECONFIG default: remove nautilus

In reply to Andreas Müller

gnome-doc-utils had to be added when not depending on nautilus

---
 .../recipes-gnome/gnome-disk-utility/gnome-disk-utility_2.32.0.bb     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility_2.32.0.bb +2 -2
index 6bfbfaf..bf836cc 100644
@@ -3,7 +3,7 @@ SUMMARY = "GNOME disk utility"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=e9115d11797a5e6b746b4e9b90194564"
 
-DEPENDS = "glib-2.0 gtk+ libnotify libunique udisks avahi-ui virtual/libx11 libatasmart"
+DEPENDS = "glib-2.0 gtk+ libnotify libunique udisks avahi-ui virtual/libx11 libatasmart gnome-doc-utils"
 
 PR = "r4"
 
@@ -20,7 +20,7 @@ SRC_URI += "\
 
 EXTRA_OECONF += "--disable-scrollkeeper"
 
-PACKAGECONFIG ??= "nautilus"
+PACKAGECONFIG ??= ""
 PACKAGECONFIG[nautilus] = "--enable-nautilus-extension,--disable-nautilus-extension,nautilus"
 
 do_configure_prepend() {
Signature · 1 line
1.8.3.1
#3 lore raw
In reply to Andreas Müller
Quoted 2 lines · Andreas Müller

There is no reason why we need to build nautilus when using evince and/or gnome-disk-utility.

Both merged, thanks!

Quoted 17 lines

Andreas Müller (2):
evince: make nautilus extension a PACKAGECONFIG and disable by default
gnome-disk-utility: change PACKAGECONFIG default: remove nautilus

 meta-gnome/recipes-gnome/evince/evince_2.32.0.bb                    | 6 ++++--
 .../recipes-gnome/gnome-disk-utility/gnome-disk-utility_2.32.0.bb   | 4 ++--
 2 files changed, 6 insertions(+), 4 deletions(-)
Signature · 7 lines
1.8.3.1

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]