Skip to contentSkip to conversation

Pidgin needs to RDEPENDS on pidgin-data?

PATCH Stefan Schmidt 2 participants 7 messages Oct 23, 2008

lore
Share & tools
lore
#0 lore raw

Hello.

I have a user bug report here that pidgin segfaults without pidgin-data installed:
http://trac.freesmartphone.org/ticket/170

In pidgin.inc it only RRECOMMANDS pidgin-data, but not RDEPENDS on it. Patch below is what I would push if nobody objects.

regards
Stefan Schmidt

packages/pidgin/pidgin.inc +1 -1
index db66d13..e3c35a7 100644
@@ -44,7 +44,7 @@ FILES_finch-dbg     = "${bindir}/.debug/finch \
 
 FILES_${PN} = "${bindir} ${datadir}/${PN} ${libdir}/${PN}/*.so \
 	       ${datadir}/applications"
-RRECOMMENDS_${PN{ += "${PN}-data "
+RDEPENDS_${PN{ += "${PN}-data "
 FILES_${PN}-data = "${datadir}/pixmaps ${datadir}/sounds ${datadir}/icons"
 FILES_${PN}-dev += "${libdir}/${PN}/*.la"
 
#1 lore raw
Quoted 8 lines · Stefan Schmidt

Hello.

I have a user bug report here that pidgin segfaults without pidgin-data installed:
http://trac.freesmartphone.org/ticket/170

In pidgin.inc it only RRECOMMANDS pidgin-data, but not RDEPENDS on it. Patch below is what I would push if nobody objects.

That patch is no good. The real fix is to move the 2 files pidgin needs from -data to the main package.
Also: if pidgin-data is not getting installed when installing pidgin something is wrong with your feeds.

regards,

Koen

Quoted 16 lines

regards
Stefan Schmidt

packages/pidgin/pidgin.inc +1 -1
index db66d13..e3c35a7 100644
@@ -44,7 +44,7 @@ FILES_finch-dbg     = "${bindir}/.debug/finch \
 
  FILES_${PN} = "${bindir} ${datadir}/${PN} ${libdir}/${PN}/*.so \
  	       ${datadir}/applications"
-RRECOMMENDS_${PN{ += "${PN}-data "
+RDEPENDS_${PN{ += "${PN}-data "
  FILES_${PN}-data = "${datadir}/pixmaps ${datadir}/sounds ${datadir}/icons"
  FILES_${PN}-dev += "${libdir}/${PN}/*.la"
#2 lore raw

Hello.

Quoted 11 lines · Koen Kooi
Quoted 7 lines · Stefan Schmidt

I have a user bug report here that pidgin segfaults without pidgin-data installed:
http://trac.freesmartphone.org/ticket/170

In pidgin.inc it only RRECOMMANDS pidgin-data, but not RDEPENDS on it. Patch below is what I would push if nobody objects.

That patch is no good. The real fix is to move the 2 files pidgin needs from -data to the main package.

As you already know that two files are missing, can you name them so I can cookup a patch?

Quoted 2 lines

Also: if pidgin-data is not getting installed when installing pidgin something is wrong with your feeds.

Hmm, It seems I need a better understanding then. From where comes the dep from pidgin on pidgin-data? Do I miss some OE magic here?

Besides that it could good be that the feed is broken in that regard. Time to fix it.

regards
Stefan Schmidt

#5 lore raw
In reply to Stefan Schmidt
Quoted 8 lines · Stefan Schmidt

Hello.

I have a user bug report here that pidgin segfaults without pidgin-data installed:
http://trac.freesmartphone.org/ticket/170

In pidgin.inc it only RRECOMMANDS pidgin-data, but not RDEPENDS on it. Patch below is what I would push if nobody objects.

Actually...

packages/pidgin/pidgin.inc FILES_finch-dbg = "${bindir}/.debug/finch \ · line 47

Quoted 12 lines

regards
Stefan Schmidt

packages/pidgin/pidgin.inc +0 -1
index db66d13..e3c35a7 100644
@@ -44,7 +44,7 @@ FILES_finch-dbg     = "${bindir}/.debug/finch \
 
  FILES_${PN} = "${bindir} ${datadir}/${PN} ${libdir}/${PN}/*.so \
  	       ${datadir}/applications"
-RRECOMMENDS_${PN{ += "${PN}-data "

Typo alert! it's ${PN} (note the closing bracket)

packages/pidgin/pidgin.inc FILES_finch-dbg = "${bindir}/.debug/finch \ · line 47

Quoted 1 line
packages/pidgin/pidgin.inc +1 -0
+RDEPENDS_${PN{ += "${PN}-data "

Another typo alert!

Quoted 2 lines
packages/pidgin/pidgin.inc +0 -0
  FILES_${PN}-data = "${datadir}/pixmaps ${datadir}/sounds ${datadir}/icons"
  FILES_${PN}-dev += "${libdir}/${PN}/*.la"
#3 lore raw
In reply to Stefan Schmidt
Quoted 8 lines · Stefan Schmidt

Hello.

Quoted 5 lines · Koen Kooi
Quoted 4 lines · Stefan Schmidt

I have a user bug report here that pidgin segfaults without pidgin-data installed:
http://trac.freesmartphone.org/ticket/170

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

In pidgin.inc it only RRECOMMANDS pidgin-data, but not RDEPENDS on it. Patch below is what I would push if nobody objects.

That patch is no good. The real fix is to move the 2 files pidgin needs from -data to the main package.

As you already know that two files are missing, can you name them so I can cookup a patch?

iirc it's the .desktop and some other file, I straced a few weeks ago, but I'm fuzzy on the details

Quoted 12 lines
Quoted 3 lines

Also: if pidgin-data is not getting installed when installing pidgin something is wrong with your feeds.

Hmm, It seems I need a better understanding then. From where comes the dep from pidgin on pidgin-data? Do I miss some OE magic here?

Besides that it could good be that the feed is broken in that regard. Time to fix it.

regards
Stefan Schmidt

#6 lore raw
In reply to Koen Kooi

Hello.

Quoted 8 lines · Koen Kooi
Quoted 7 lines · Stefan Schmidt
packages/pidgin/pidgin.inc +0 -0
index db66d13..e3c35a7 100644
@@ -44,7 +44,7 @@ FILES_finch-dbg     = "${bindir}/.debug/finch \
 
Quoted 5 lines

packages/pidgin/pidgin.inc FILES_finch-dbg = "${bindir}/.debug/finch \ · line 47

Quoted 3 lines
packages/pidgin/pidgin.inc +0 -1
  FILES_${PN} = "${bindir} ${datadir}/${PN} ${libdir}/${PN}/*.so \
  	       ${datadir}/applications"
-RRECOMMENDS_${PN{ += "${PN}-data "

Typo alert! it's ${PN} (note the closing bracket)

Darn, directly in front of my eyes and I missed it. Just pushed a fix for this.

Quoted 3 lines

packages/pidgin/pidgin.inc FILES_finch-dbg = "${bindir}/.debug/finch \ · line 47

Quoted 1 line
packages/pidgin/pidgin.inc +1 -0
+RDEPENDS_${PN{ += "${PN}-data "

Another typo alert!

Sure, a stupid copy. :)

regards
Stefan Schmidt

#4 lore raw
In reply to Koen Kooi

Hello.

Quoted 7 lines · Koen Kooi
Quoted 3 lines · Stefan Schmidt

As you already know that two files are missing, can you name them so I can cookup a patch?

iirc it's the .desktop and some other file, I straced a few weeks ago, but I'm fuzzy on the details

For now I fixed the wrong bracket only. Not sure if I'll come to trace the files down. Let's see if I can get the user motivated doing it. :)

regards
Stefan Schmidt