Skip to contentSkip to conversation

Broken update-mime-database due to recent changes

DISCUSSION Stefan Schmidt 2 participants 5 messages Nov 5, 2008 – Nov 9, 2008

lore
Share & tools
lore
#0 lore raw

Hello.

After having some fun digging around in laucher code I got a hint today why there where misisng icons in my launcher. Raster and Thomas found out that

update-mime-database /usr/share/mime

wasn't run. Doing that by hand and restarting the xserver gave me back all missing icons.

The breakage came with the new shared-mime-info stuff from poky.
http://git.openembedded.net/?p=openembedded.git;a=commitdiff;h=8ea71e53c9823cda874f03c3705596f996a5ee1c

Removing the postint hook from .inc and just adding it back to 0.51 broke 0.20 and 0.22.

The option to fix this how I see it (personal priority ordered):

1) Put the known working pkg_postinst() back into the 0.20 and 0.22 recipes
2) Make the old versions also work with the build-on-host method
3) Remove all but 0.51 and teach distros to use the new one.

Thoughts?

regards
Stefan Schmidt

#1 lore raw

Hello.

Seems not to be a topic much people are interested in. :)

Quoted 4 lines · Stefan Schmidt

The option to fix this how I see it (personal priority ordered):

1) Put the known working pkg_postinst() back into the 0.20 and 0.22 recipes

I put the postint back into the recipes. Not the inc file as 0.51 does not need it. Tested and worked fine for me again.

Quoted 1 line

2) Make the old versions also work with the build-on-host method

No plan from my side.

Quoted 1 line

3) Remove all but 0.51 and teach distros to use the new one.

For this one shared-mime-info-native_0.51.bb is needed. Sadly this one fails for me on one machine:

| /usr/bin/ld: cannot find -lgio-2.0

http://134.169.172.106/~sschmidt/log.do_compile.28587.txt

Therefor I did not bump it for OM yet. People like to investigate are welcome.

regards
Stefan Schmidt

#3 lore raw

Hello.

Quoted 10 lines · Koen Kooi
Quoted 1 line · Stefan Schmidt

For this one shared-mime-info-native_0.51.bb is needed. Sadly this one

fails for

Quoted 5 lines

me on one machine:

| /usr/bin/ld: cannot find -lgio-2.0

http://134.169.172.106/~sschmidt/log.do_compile.28587.txt

http://gitweb.openembedded.net/?p=openembedded.git;a=commit;h=bfa489ee37aa8c752bb5a7981caae1972fbb4329

Odd, I could swear I did a rebuild from scratch after this date and had the problem.

#4 lore raw

Hello.

This time the full mail.

Quoted 7 lines · Stefan Schmidt
Quoted 5 lines · Koen Kooi
Quoted 1 line · Stefan Schmidt

For this one shared-mime-info-native_0.51.bb is needed. Sadly this one

fails for

Quoted 2 lines

me on one machine:

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

| /usr/bin/ld: cannot find -lgio-2.0

http://134.169.172.106/~sschmidt/log.do_compile.28587.txt

http://gitweb.openembedded.net/?p=openembedded.git;a=commit;h=bfa489ee37aa8c752bb5a7981caae1972fbb4329

Odd, I could swear I did a rebuild from scratch after this date and had the problem.

And I just tested it again. Build from scratch yesterday, with newest meta data from this time. Failed again. Same problem.

I may look into this later, but it is rather low prio for me at the moment.

regards
Stefan Schmidt