Skip to contentSkip to conversation

consolekit: depend on libx11

PATCH Applied Andreas Oberritter 3 participants 4 messages Feb 10, 2012 – Feb 21, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 consolekit: depend on libx11

* Fixes the following error at configure time:

|checking for TOOLS... no
|configure: error: Package requirements (x11 >= 1.0.0
|  glib-2.0 >= 2.14
|) were not met:
|
|No package 'x11' found

---
* Note that I didn't build test this, because I'm building without x11. I just looked up the package of x11.pc, which at least in Ubuntu is libx11.

 .../recipes-support/consolekit/consolekit_0.4.5.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-support/consolekit/consolekit_0.4.5.bb +1 -1
index 3ded6df..3a4b04f 100644
@@ -13,7 +13,7 @@ POLKIT_libc-uclibc = ""
 POLKITCONF = ""
 POLKITCONF_libc-uclibc = "--disable-policykit"
 
-DEPENDS = "glib-2.0 dbus ${POLKIT} ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
+DEPENDS = "glib-2.0 dbus ${POLKIT} ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} virtual/libx11"
 RDEPENDS_${PN} += "base-files"
 
 inherit gnome
Signature · 1 line
1.7.5.4
#1 lore raw
Quoted 23 lines · Andreas Oberritter

* Fixes the following error at configure time:

|checking for TOOLS... no
|configure: error: Package requirements (x11 >= 1.0.0
|  glib-2.0 >= 2.14
|) were not met:
|
|No package 'x11' found

---
* Note that I didn't build test this, because I'm building without x11. I just looked up the package of x11.pc, which at least in Ubuntu is libx11.

 .../recipes-support/consolekit/consolekit_0.4.5.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-support/consolekit/consolekit_0.4.5.bb +0 -0
index 3ded6df..3a4b04f 100644

meta/recipes-support/consolekit/consolekit_0.4.5.bb POLKIT_libc-uclibc = "" · line 16

Quoted 5 lines
meta/recipes-support/consolekit/consolekit_0.4.5.bb +1 -1
@@ -13,7 +13,7 @@ POLKIT_libc-uclibc = ""
 POLKITCONF = ""
 POLKITCONF_libc-uclibc = "--disable-policykit"
 
-DEPENDS = "glib-2.0 dbus ${POLKIT} ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
+DEPENDS = "glib-2.0 dbus ${POLKIT} ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} virtual/libx11"

should this depend on if x11 is in DISTRO_FEATURES ?

Quoted 11 lines
meta/recipes-support/consolekit/consolekit_0.4.5.bb +0 -0
 RDEPENDS_${PN} += "base-files"
 
 inherit gnome
Signature · 7 lines
1.7.5.4


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Signature · 1 line
-Khem
#2 lore raw
Quoted 27 lines · Khem Raj
Quoted 26 lines · Andreas Oberritter

* Fixes the following error at configure time:

|checking for TOOLS... no
|configure: error: Package requirements (x11 >= 1.0.0
|  glib-2.0 >= 2.14
|) were not met:
|
|No package 'x11' found

---
* Note that I didn't build test this, because I'm building without x11. I just looked up the package of x11.pc, which at least in Ubuntu is libx11.

 .../recipes-support/consolekit/consolekit_0.4.5.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-support/consolekit/consolekit_0.4.5.bb +0 -0
index 3ded6df..3a4b04f 100644
@@ -13,7 +13,7 @@ POLKIT_libc-uclibc = ""
 POLKITCONF = ""
 POLKITCONF_libc-uclibc = "--disable-policykit"
 
Quoted 4 lines

meta/recipes-support/consolekit/consolekit_0.4.5.bb POLKIT_libc-uclibc = "" · line 16

Quoted 2 lines
meta/recipes-support/consolekit/consolekit_0.4.5.bb +1 -1
-DEPENDS = "glib-2.0 dbus ${POLKIT} ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
+DEPENDS = "glib-2.0 dbus ${POLKIT} ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} virtual/libx11"

should this depend on if x11 is in DISTRO_FEATURES ?

If it was conditional, someone would have to fix consolekit first in order to make it build without x11. This would be no problem for someone interested in it, but it can still be done later.

Quoted 12 lines
Quoted 11 lines
meta/recipes-support/consolekit/consolekit_0.4.5.bb +0 -0
 RDEPENDS_${PN} += "base-files"
 
 inherit gnome
Signature · 7 lines
1.7.5.4


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Applied
#3 lore raw
In reply to Andreas Oberritter
Quoted 23 lines · Andreas Oberritter

* Fixes the following error at configure time:

|checking for TOOLS... no
|configure: error: Package requirements (x11>= 1.0.0
|  glib-2.0>= 2.14
|) were not met:
|
|No package 'x11' found

---
* Note that I didn't build test this, because I'm building without x11. I just looked up the package of x11.pc, which at least in Ubuntu is libx11.

  .../recipes-support/consolekit/consolekit_0.4.5.bb |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-support/consolekit/consolekit_0.4.5.bb +0 -0
index 3ded6df..3a4b04f 100644

meta/recipes-support/consolekit/consolekit_0.4.5.bb POLKIT_libc-uclibc = "" · line 19

Quoted 8 lines
meta/recipes-support/consolekit/consolekit_0.4.5.bb +1 -1
@@ -13,7 +13,7 @@ POLKIT_libc-uclibc = ""
  POLKITCONF = ""
  POLKITCONF_libc-uclibc = "--disable-policykit"
 
-DEPENDS = "glib-2.0 dbus ${POLKIT} ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
+DEPENDS = "glib-2.0 dbus ${POLKIT} ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} virtual/libx11"
  RDEPENDS_${PN} += "base-files"
 
  inherit gnome

Merged into OE-core

Thanks
Sau!