Skip to contentSkip to conversation

gnome-panel: append pkg_postinst only on PN

PATCH New Martin Jansa 1 participant 2 messages Feb 4, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 gnome-panel: append pkg_postinst only on PN

---
 meta-gnome/recipes-gnome/gnome-panel/gnome-panel3_3.0.2.bb | 2 +-
 meta-gnome/recipes-gnome/gnome-panel/gnome-panel_2.32.1.bb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta-gnome/recipes-gnome/gnome-panel/gnome-panel3_3.0.2.bb +1 -1
index 3aadd2b..13614a0 100644
@@ -31,7 +31,7 @@ do_configure_prepend() {
 	sed -i -e s:help:: ${S}/Makefile.am
 }
 
-pkg_postinst_append () {
+pkg_postinst_${PN}_append () {
 	gconftool-2 --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults \
 		--direct --load /etc/gconf/schemas/panel-default-setup.entries
 }
meta-gnome/recipes-gnome/gnome-panel/gnome-panel_2.32.1.bb +1 -1
index 3bf7f29..e54579d 100644
@@ -26,7 +26,7 @@ do_configure_prepend() {
 	sed -i -e s:^#!@PYTHON@:#!/usr/bin/python: ${S}/gnome-panel/gnome-panel-add.in
 }
 
-pkg_postinst_append () {
+pkg_postinst_${PN}_append () {
 if [ -n "$D" ]; then
 	exit 1
 fi
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH 2/2 enjoy: improve RDEPENDS to set it only on PN

---
 meta-efl/recipes-efl/e17/enjoy_svn.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-efl/recipes-efl/e17/enjoy_svn.bb +1 -1
index 8dff593..5137c4e 100644
@@ -12,7 +12,7 @@ DEPENDS += "gst-plugins-good ${@base_conditional('ENTERPRISE_DISTRO', '1', '', '
 #3d needed for ogg playback
 #4th needed for flac playback
 #5th needed binary to create db
-RDEPENDS += "\
+RDEPENDS_${PN} += "\
        gst-plugins-base-typefindfunctions gst-plugins-base-playbin gst-plugins-base-volume gst-plugins-base-decodebin2 gst-plugins-good-autodetect \
        ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'gst-plugins-ugly-mad gst-plugins-good-id3demux', d)} \
        gst-plugins-base-ogg gst-plugins-base-ivorbisdec \
Signature · 1 line
1.8.1.2