Skip to contentSkip to conversation

alsa-tools: add dependency glib-2.0

PATCH In review Kai Kang 3 participants 5 messages Jun 4, 2015 – Jun 5, 2015

lore
Share & tools
lore

Kai Kang

author
#0 lore raw

PATCH 1/1 alsa-tools: add dependency glib-2.0

Add dependency glib-2.0 for alsa-tools. It is required by new added sub-component hdajacksensetest.

---
 meta/recipes-multimedia/alsa/alsa-tools_1.0.29.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-multimedia/alsa/alsa-tools_1.0.29.bb +1 -1
index 9133012..b5b9cc4 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.alsa-project.org"
 BUGTRACKER = "https://bugtrack.alsa-project.org/alsa-bug/login_page.php"
 SECTION = "console/utils"
 LICENSE = "GPLv2 & LGPLv2+"
-DEPENDS = "alsa-lib ncurses"
+DEPENDS = "alsa-lib ncurses glib-2.0"
 
 LIC_FILES_CHKSUM = "file://hdsploader/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
                     file://ld10k1/COPYING.LIB;md5=7fbc338309ac38fefcd64b04bb903e34"
Signature · 1 line
1.9.1
#1 lore raw
Quoted 13 lines · Kai Kang

Add dependency glib-2.0 for alsa-tools. It is required by new added sub-component hdajacksensetest.

---
  meta/recipes-multimedia/alsa/alsa-tools_1.0.29.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-multimedia/alsa/alsa-tools_1.0.29.bb +0 -0
index 9133012..b5b9cc4 100644

meta/recipes-multimedia/alsa/alsa-tools_1.0.29.bb HOMEPAGE = "http://www.alsa-project.org" · line 9

Quoted 8 lines
meta/recipes-multimedia/alsa/alsa-tools_1.0.29.bb +1 -1
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.alsa-project.org"
  BUGTRACKER = "https://bugtrack.alsa-project.org/alsa-bug/login_page.php"
  SECTION = "console/utils"
  LICENSE = "GPLv2 & LGPLv2+"
-DEPENDS = "alsa-lib ncurses"
+DEPENDS = "alsa-lib ncurses glib-2.0"
 
  LIC_FILES_CHKSUM = "file://hdsploader/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
                      file://ld10k1/COPYING.LIB;md5=7fbc338309ac38fefcd64b04bb903e34"

It would be nice to put this behind a hdajacksensetest packageconfig if possible.

author
#2 lore raw
Quoted 9 lines · Jack Mitchell
Quoted 8 lines · Kai Kang

Add dependency glib-2.0 for alsa-tools. It is required by new added sub-component hdajacksensetest.

---
  meta/recipes-multimedia/alsa/alsa-tools_1.0.29.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 16 lines
Quoted 12 lines
meta/recipes-multimedia/alsa/alsa-tools_1.0.29.bb +0 -0
index 9133012..b5b9cc4 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.alsa-project.org"
  BUGTRACKER = 

"https://bugtrack.alsa-project.org/alsa-bug/login_page.php"
SECTION = "console/utils"
LICENSE = "GPLv2 & LGPLv2+"

meta/recipes-multimedia/alsa/alsa-tools_1.0.29.bb +1 -1
-DEPENDS = "alsa-lib ncurses"
+DEPENDS = "alsa-lib ncurses glib-2.0"
    LIC_FILES_CHKSUM = 
Quoted 2 lines

"file://hdsploader/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
file://ld10k1/COPYING.LIB;md5=7fbc338309ac38fefcd64b04bb903e34"

It would be nice to put this behind a hdajacksensetest packageconfig if possible.

The hdajacksensetest is just a sub-directory/component not a feature, and it can't be built without library glib. If make it as a package config, we have to find a way to remove hdajacksensetes. I suppose it is not proper to add it as a packageconfig.

BTW, the dependency on glib-2.0 for alsa-tools is passed by depending on gtk+3 if 'x11' in distro feauture. If without 'x11', not such dependency, then build hdajacksensetest fails. So add 'glib-2.0' to DEPENDS.

Thanks,

Signature · 2 lines
Regards,
Neil | Kai Kang
#3 lore raw
Quoted 27 lines · Kang Kai
Quoted 9 lines · Jack Mitchell
Quoted 8 lines · Kai Kang

Add dependency glib-2.0 for alsa-tools. It is required by new added sub-component hdajacksensetest.

---
  meta/recipes-multimedia/alsa/alsa-tools_1.0.29.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 16 lines
Quoted 12 lines
meta/recipes-multimedia/alsa/alsa-tools_1.0.29.bb +0 -0
index 9133012..b5b9cc4 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.alsa-project.org"
  BUGTRACKER = 

"https://bugtrack.alsa-project.org/alsa-bug/login_page.php"
SECTION = "console/utils"
LICENSE = "GPLv2 & LGPLv2+"

meta/recipes-multimedia/alsa/alsa-tools_1.0.29.bb +1 -1
-DEPENDS = "alsa-lib ncurses"
+DEPENDS = "alsa-lib ncurses glib-2.0"
    LIC_FILES_CHKSUM = 
Quoted 2 lines

"file://hdsploader/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
file://ld10k1/COPYING.LIB;md5=7fbc338309ac38fefcd64b04bb903e34"

It would be nice to put this behind a hdajacksensetest packageconfig if possible.

Quoted 9 lines

The hdajacksensetest is just a sub-directory/component not a feature, and it can't be built without library glib. If make it as a package config, we have to find a way to remove hdajacksensetes. I suppose it is not proper to add it as a packageconfig.

BTW, the dependency on glib-2.0 for alsa-tools is passed by depending on gtk+3 if 'x11' in distro feauture. If without 'x11', not such dependency, then build hdajacksensetest fails. So add 'glib-2.0' to DEPENDS.

Thanks,

Ok, it's just quite a heavy dependancy for a package which is feasible to be installed on very small systems; as you have proved by glib-2.0 not beiing available in a non-x11 build. In this case I guess the way round it would be to split out the alsa-tools packages, but that is also a lot of work. The patch is fine and I don't use alsa-tools so I have no strong feelings; I just like to keep and eye on and question bloat.

Cheers,

#4 lore raw
Quoted 7 lines · Jack Mitchell

Ok, it's just quite a heavy dependancy for a package which is feasible to be installed on very small systems; as you have proved by glib-2.0 not beiing available in a non-x11 build. In this case I guess the way round it would be to split out the alsa-tools packages, but that is also a lot of work. The patch is fine and I don't use alsa-tools so I have no strong feelings; I just like to keep and eye on and question bloat.

If someone feels strongly they can submit a patch to alsa-tools to make the glib dependency optional.

Alternatively, split the alsa-tools packaging in some way.

Ross