x11-lib/xosd-2.2.12 version bump, it also seems to fix some hang/dealocks osd_cat from 2.2.10. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 42745 [details] x11-libs/xosd-2.2.12
Created attachment 42877 [details] xosd-2.2.12-r1.ebuild (Update - diff) Attached is an update to the x11-libs/xosd-2.2.12 ebuild to make it compile with support for the Beep Media Player (http://www.sosdg.org/~larne/w/BMP_Homepage). The 'bmp' USE flag was added to make this an option for the user. In order to do this, I had to make a trivial, one-line patch for one file (attached), copy the files from the xmms_plugin directory, and use sed to add and remove references depending on the USE flags enabled (see comments in ebuild for more specifics).
*** Bug 69449 has been marked as a duplicate of this bug. ***
Created attachment 42878 [details, diff] bmp-dlg_config.patch Updates one line in src/bmp_plugin/dlg_config.c for GTK+-2
thx, added the ebuild
the BeepMediaPlayer-patch didn't work for me. at runtime i get : write(3, "(Gtk) invalid cast from `(unknown)\' to `(unknown)\'\n", 51) = 51 write(3, "(Gtk) file gtksignal.c: line 725 (gtk_signal_connect): assertion `GTK_IS_OBJECT (object)\' failed.\n", 98) = 98 write(3, "(Gtk) invalid cast from `(unknown)\' to `(unknown)\'\n", 51) = 51 when i want to open the configwindow I tryed the same stradigy (as in the ebuild), but compiled against gtk-2.x, worked fine except for the font, the description changed quite a bit. (and i didn't find a solution since libxosd.so was compiled fo gtk 1.x) the general way (according to bmp) is to try linking it up to gtk 2.x but ` ldd /usr/lib/bmp/General/libbmp_osd.so` -> libgtk-1.2.so.0
[the general way (according to bmp)] http://www.sosdg.org/~larne/w/FAQ#Can_I_use_XMMS_plugins_with_BMP.3F
will take another look at it
From that same section: Bear in mind that BMP uses GTK 2.4 while XMMS uses GTK 1.2. Consequently, XMMS plugins are compiled against 1.2 and will not work properly with BMP. The technical reason for this is that GTK 1.2 and GTK 2.4 share the same symbol names for the most part and there is no easy way to get the dynamic linker to the right ones. Any attempts to invoke a plugin's GUI controls (configuration dialog for example) will cause BMP to fail in the most unpleasant way. I'm trying to see if I can fix this problem for you in the ebuild, but the original works on my system.
maybe somebody can post an updated patch, i currently have no time to look at it
ok, xosd-2.2.14 has bmp support
I think there is a small flaw in the patch: in xosd-2.2.14/src/bmp_plugin/bmp_osd.c "xmms/xmmsctrl.h" is included .. but that file is only present when xmms is installed. The right header to include would be "bmp/beepctrl.h". I also noticed that the bmp_plugin does not require media-libs/gdk-pixbuf. BMP uses gtk+-2*.
Created attachment 54703 [details, diff] Fixes for bmp Fix includes for bmp and the configure.ac: * BMP (old and new) and XMMS (old) does not require gdk-pixbuf; XMMS (new) does. * Fail when errors are detected rather than silently do what we can do. * Make it possible to build BMP new/old and XMMS new/old independently.
Created attachment 54704 [details] New ebuild (uses patch and has updated DEPEND) This would be the proposed ebuild. I removed the gdk-pixbuf dependency for +bmp and cleaned src_compile.
reopen...
please post only patches
Created attachment 56542 [details, diff] Patch to current ebuild (xosd-2.2.14.ebuild) As you command
And I'am sorry, but this should not be marked as enhancement .. it's a "normal" bug. You can't build the bmp-plugin without having xmms installed and in USE.
I didn't mean to sound impatient and rude. Sorry for that.
sorry for the delay, thx for the patches, fixed
This is resolved fixed, but the plugin really doesn't work. The preferences dialog is nonsense. How are you meant to configure this plugin?