comparison FAQ.bmp @ 507:b3dd43f37b81 trunk

[svn] documentation updates.
author nenolod
date Wed, 25 Jan 2006 22:42:38 -0800
parents FAQ@cb178e5ad177
children
comparison
equal deleted inserted replaced
506:4d3b74821345 507:b3dd43f37b81
1 Beep Media Player FAQ
2
3 NOTE: This document is no longer maintained. Please check the FAQ on
4 the BMP website (http://beepmp.sf.net)
5
6 Contents
7 ========
8
9 Compilation:
10
11 c1: The CVS version won't compile, but the tarball does
12
13 Running:
14
15 r1: Why do I keep getting "Gdk-ERROR **: an x io error occurred" when I try
16 to use BMP?
17 r2: My X server crashes when I try to change skin, what can I do?
18 r3: When using GNOME / Enlightenment the playlist window got lost somewhere
19 in my virtual desktops what should I do? I'm all out of breadcrumbs.
20 r4: Why do I keep getting "Gdk-WARNING **: shmat failed!" in Solaris?
21 r5: Why do BMP windows behave differently than my other windows?
22 r6: Why does BMP have 5-6 running instances which each takes x% of my memory,
23 isn't 5-6*x% memory A REAL WASTE?
24
25 General:
26
27 g1: Is there a mailing list for BMP?
28 g2: How do I unsubscribe from the mailing list?
29 g3: Can I use XMMS plugins with BMP?
30
31
32 ______________________________________________________________________________
33
34
35 Compilation
36 ===========
37
38 c1: The CVS version won't compile, but the tarball does
39
40 This can happen for various reasons:
41
42 1. You do not have a sufficiently new version of autoconf and/or automake
43 installed. BMP requires at least autoconf 2.5 and automake 1.7 in order
44 to compile directly from CVS.
45
46 2. If your version of autoconf/automake is recent enough, you may have
47 multiple copies of them installed. To check, you can run this command:
48
49 autoconf --version ; automake --version
50
51 Normally the commands "autoconf" and "automake" will run their latest
52 versions. If they do not, you can specify the correct versions to use
53 like this:
54
55 AUTOCONF=autoconf-xx AUTOMAKE=automake-yy ACLOCAL=aclocal-yy ./autogen.sh
56
57 (where xx, yy are the versions of autoconf/automake respectively)
58
59 For Gentoo users, use this instead:
60
61 WANT_AUTOCONF=xx WANT_AUTOMAKE=yy ./autogen.sh
62
63
64 ______________________________________________________________________________
65
66 Running:
67
68 r1: Why do I keep getting "Gdk-ERROR **: an x io error occurred" when I
69 try to use BMP?
70
71 This is because you're running an older system with libc5 and you don't
72 have Thread Safe X libs. You might want to download these thread aware
73 X libs and install them, just untar them into /usr/X11R6/lib (or appropriate
74 path) NOTE: do NOT do this while X is running.
75 ______________________________________________________________________________
76
77 r2: My X server crashes when I try to change skin, what can I do?
78
79 This is because of your window manager, if you browse the configure file
80 for your window manager you'll find an option called SaveUnder somewhere.
81 In Window Maker change "UseSaveUnders = YES;" to "UseSaveUnders = NO;"
82 This will fix it for you.. (don't forget to restart your window manager)
83 ______________________________________________________________________________
84
85 r3: When using GNOME / Enlightenment the playlist window got lost somewhere
86 in my virtual desktops what should I do? I'm all out of breadcrumbs.
87
88 Edit the ~/.bmp/config file and change the playlist_x= and playlist_y=
89 to sane values.
90 ______________________________________________________________________________
91
92 r4: Why do I keep getting "Gdk-WARNING **: shmat failed!" in Solaris?
93
94 Solaris (2.5, 2.6, 2.7) has insufficient IPC settings by default for some
95 products that use shared memory.
96 You need to place this in /etc/system:
97 set shmsys:shminfo_shmmax = 8388608
98 set shmsys:shminfo_shmmni = 0x1000
99 set shmsys:shminfo_shmseg = 0x100
100 Thanks to Yuri Kulaghin and Jeff Johnson
101 ______________________________________________________________________________
102
103 r5: Why do BMP windows behave differently than my other windows?
104
105 Since BMP disables the window managers title bars, the window manager is
106 unable to raise/lower/move BMP as it's configured to do.
107 ______________________________________________________________________________
108
109 r6: Why does BMP have 5-6 running instances which each takes x% of my
110 memory, isn't 5-6*x% memory A REAL WASTE?
111
112 BMP is not using that memory for each instance, it shares the memory
113 between the instances. If you have 6 entries in your process list, each
114 claiming to take 5 MB, BMP is using 5 MB, and not 30 MB (5x6).
115 ______________________________________________________________________________
116
117
118 General
119 =======
120
121 g1: Is there a mailing list for BMP?
122
123 Yes there is. In fact there are 3, namely:
124
125 a) beepmp-users
126 b) beepmp-devel
127 c) beepmp-cvs
128
129 You can subscribe each of them at:
130 http://sourceforge.net/mail/?group_id=95272
131
132 Please keep any messages sent to this list STRICTLY about BMP. Or we will
133 have to moderate it.
134 ______________________________________________________________________________
135
136 g2: How do I unsubscribe from the mailing lists?
137
138 You can use the page:
139 http://sourceforge.net/mail/?group_id=95272
140
141 ______________________________________________________________________________
142
143 g3: Can I use XMMS plugins with BMP?
144
145 Generally no in their binary form i.e. '.so' files [1]. You can however
146 attempt to compile them from source using GTK 2.4.
147
148 GTK 1.2 programs are usually compiled with a 'gtk-config --xx'
149 parameter passed to the compiler. You can try replacing that with
150 'pkg-config gtk+-2.0 -xx'. For example, if the compile command is:
151
152 gcc -Wall -ansi -c `gtk-config --cflags --libs` plugin.c
153
154 Modify it to:
155
156 gcc -Wall -ansi -c `pkg-config gtk+-2.0 --cflags --libs` plugin.c
157
158 If this fails, you will need to modify the source code to use GTK 2.4. Refer
159 to the official guide on migrating the code:
160
161 http://developer.gnome.org/doc/API/2.2/gtk/migrating.html
162
163
164 [1] Bear in mind that BMP uses GTK 2.4 while XMMS uses GTK 1.2. Consequently,
165 XMMS plugins are compiled against 1.2 and will not work properly with BMP.
166
167 The technical reason for this is that GTK 1.2 and GTK 2.4 share the same
168 symbol names for the most part and there is no easy way to get the dynamic
169 linker to resolve to the right one.
170
171
172
173 ______________________________________________________________________________