First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 69213
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Heinrich Wendel (RETIRED) <lanius@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ray Tsang <rayt@9pnet.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
xosd-2.2.12.ebuild x11-libs/xosd-2.2.12 text/plain Ray Tsang 2004-10-27 21:58 0000 991 bytes Details
xosd-2.2.12-r1.diff xosd-2.2.12-r1.ebuild (Update - diff) text/plain Joe Sapp 2004-10-29 13:28 0000 2.60 KB Details
bmp-dlg_config.patch bmp-dlg_config.patch patch Joe Sapp 2004-10-29 13:32 0000 403 bytes Details | Diff
xosd-2.2.14-bmp-fixes.patch Fixes for bmp patch Emil Beinroth 2005-03-28 11:42 0000 11.20 KB Details | Diff
xosd-2.2.14.ebuild New ebuild (uses patch and has updated DEPEND) text/plain Emil Beinroth 2005-03-28 11:46 0000 1.16 KB Details
xosd-2.2.14.ebuild.diff Patch to current ebuild (xosd-2.2.14.ebuild) patch Emil Beinroth 2005-04-17 14:24 0000 1.44 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 69213 depends on: Show dependency tree
Bug 69213 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-10-27 21:57 0000
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.

------- Comment #1 From Ray Tsang 2004-10-27 21:58:41 0000 -------
Created an attachment (id=42745) [edit]
x11-libs/xosd-2.2.12

------- Comment #2 From Joe Sapp 2004-10-29 13:28:45 0000 -------
Created an attachment (id=42877) [edit]
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).

------- Comment #3 From Joe Sapp 2004-10-29 13:30:45 0000 -------
*** Bug 69449 has been marked as a duplicate of this bug. ***

------- Comment #4 From Joe Sapp 2004-10-29 13:32:17 0000 -------
Created an attachment (id=42878) [edit]
bmp-dlg_config.patch

Updates one line in src/bmp_plugin/dlg_config.c for GTK+-2

------- Comment #5 From Heinrich Wendel (RETIRED) 2004-11-06 07:09:42 0000 -------
thx, added the ebuild

------- Comment #6 From CBke 2004-11-06 19:48:27 0000 -------
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




------- Comment #7 From CBke 2004-11-06 19:57:22 0000 -------
[the general way (according to bmp)]
http://www.sosdg.org/~larne/w/FAQ#Can_I_use_XMMS_plugins_with_BMP.3F

------- Comment #8 From Heinrich Wendel (RETIRED) 2004-11-07 03:19:45 0000 -------
will take another look at it

------- Comment #9 From Joe Sapp 2004-11-08 05:30:11 0000 -------
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.

------- Comment #10 From Heinrich Wendel (RETIRED) 2005-02-19 12:05:59 0000 -------
maybe somebody can post an updated patch, i currently have no time to look at
it

------- Comment #11 From Heinrich Wendel (RETIRED) 2005-03-25 03:46:57 0000 -------
ok, xosd-2.2.14 has bmp support

------- Comment #12 From Emil Beinroth 2005-03-27 16:08:40 0000 -------
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*.

------- Comment #13 From Emil Beinroth 2005-03-28 11:42:37 0000 -------
Created an attachment (id=54703) [edit]
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.

------- Comment #14 From Emil Beinroth 2005-03-28 11:46:24 0000 -------
Created an attachment (id=54704) [edit]
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.

------- Comment #15 From Heinrich Wendel (RETIRED) 2005-03-29 10:22:48 0000 -------
reopen...

------- Comment #16 From Heinrich Wendel (RETIRED) 2005-04-13 11:05:33 0000 -------
please post only patches

------- Comment #17 From Emil Beinroth 2005-04-17 14:24:47 0000 -------
Created an attachment (id=56542) [edit]
Patch to current ebuild (xosd-2.2.14.ebuild)

As you command

------- Comment #18 From Emil Beinroth 2005-04-17 14:41:04 0000 -------
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.

------- Comment #19 From Emil Beinroth 2005-04-18 14:59:20 0000 -------
I didn't mean to sound impatient and rude. Sorry for that.

------- Comment #20 From Heinrich Wendel (RETIRED) 2005-05-16 04:11:58 0000 -------
sorry for the delay, thx for the patches, fixed

------- Comment #21 From MAL 2005-07-25 03:36:13 0000 -------
This is resolved fixed, but the plugin really doesn't work.  The preferences 
dialog is nonsense.  How are you meant to configure this plugin?

First Last Prev Next    No search results available      Search page      Enter new bug