View | Details | Raw Unified | Return to bug 70825
Collapse All | Expand All

(-)beep-media-player/Makefile (-5 / +5 lines)
Lines 6-28 Link Here
6
#
6
#
7
7
8
PORTNAME=	beep-media-player
8
PORTNAME=	beep-media-player
9
PORTVERSION=	0.9.6.1
9
PORTVERSION=	0.9.7
10
PORTREVISION=	2
10
PORTREVISION=	1
11
PORTEPOCH=	1
11
PORTEPOCH=	1
12
CATEGORIES=	multimedia audio
12
CATEGORIES=	multimedia audio
13
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
14
MASTER_SITE_SUBDIR=	beepmp
14
MASTER_SITE_SUBDIR=	beepmp
15
DISTNAME=	bmp-${PORTVERSION}
15
DISTNAME=	bmp-${PORTVERSION}rc${PORTREVISION}
16
16
17
MAINTAINER=	flynn@energyhq.es.eu.org
17
MAINTAINER=	flynn@energyhq.es.eu.org
18
COMMENT=	GTK2 mp3 player
18
COMMENT=	GTK2 mp3 player
19
19
20
USE_GNOME=	gtk20
20
USE_GNOME=	gtk20 libglade2
21
WANT_GNOME=	yes
21
WANT_GNOME=	yes
22
USE_X_PREFIX=	yes
22
USE_X_PREFIX=	yes
23
USE_REINPLACE=	yes
23
USE_REINPLACE=	yes
24
USE_LIBTOOL_VER=15
24
USE_LIBTOOL_VER=15
25
LIBTOOLFILES=	configure libbeep/configure
25
LIBTOOLFILES=	configure
26
USE_GMAKE=	yes
26
USE_GMAKE=	yes
27
INSTALLS_SHLIB=	yes
27
INSTALLS_SHLIB=	yes
28
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
28
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
(-)beep-media-player/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (bmp-0.9.6.1.tar.gz) = 0102233416eb8efaec775c415f5308eb
1
MD5 (bmp-0.9.7rc1.tar.gz) = e50c82c4bcb76e93ac183414d01b3591
2
SIZE (bmp-0.9.6.1.tar.gz) = 1472078
2
SIZE (bmp-0.9.7rc1.tar.gz) = 1674199
(-)beep-media-player/files/patch-Input::mpg123::fileinfo.c (-61 lines)
Lines 1-61 Link Here
1
--- Input/mpg123/fileinfo.c.orig	Sat Feb  7 18:24:23 2004
2
+++ Input/mpg123/fileinfo.c	Sat Feb  7 18:34:26 2004
3
@@ -299,6 +299,13 @@
4
 {
5
     gint i;
6
     gchar *title;
7
+	GtkWidget *pixmapwid;
8
+	GdkPixbuf *pixbuf;
9
+	PangoAttribute *attr;
10
+	PangoAttrList *attrs;
11
+	GtkWidget *test_table;
12
+	GtkWidget *urk, *blark;
13
+	struct stat mstat;
14
 
15
     emphasis[0] = _("None");
16
     emphasis[1] = _("50/15 ms");
17
@@ -323,8 +330,6 @@
18
 	filename_vbox = gtk_hbox_new(FALSE, 5);
19
 	gtk_box_pack_start(GTK_BOX(vbox), filename_vbox, FALSE, TRUE, 0);
20
 
21
-	GtkWidget *pixmapwid;
22
-	GdkPixbuf *pixbuf;
23
 	pixbuf = gdk_pixbuf_new_from_xpm_data((const char **)
24
 					      gnome_mime_audio_xpm);
25
 	pixmapwid = gtk_image_new_from_pixbuf(pixbuf);
26
@@ -335,9 +340,6 @@
27
 
28
 	label = gtk_label_new(NULL);
29
 
30
-	PangoAttrList *attrs;
31
-	PangoAttribute *attr;
32
-
33
 	attrs = pango_attr_list_new();
34
 
35
 	attr = pango_attr_weight_new(PANGO_WEIGHT_BOLD);
36
@@ -382,7 +384,7 @@
37
 	//// MPEG Layer Info
38
 
39
 	// FIXME: Obvious...
40
-	GtkWidget *test_table = gtk_table_new(2, 10, FALSE);
41
+	test_table = gtk_table_new(2, 10, FALSE);
42
 	gtk_container_set_border_width(GTK_CONTAINER(test_table), 0);
43
 	gtk_container_add(GTK_CONTAINER(mpeg_box), test_table);
44
 
45
@@ -457,8 +459,6 @@
46
 	gtk_table_attach(GTK_TABLE(test_table), mpeg_filesize_val, 1, 2, 4,
47
 			 5, GTK_FILL, GTK_FILL, 10, 2);
48
 
49
-	GtkWidget *urk, *blark;
50
-
51
 	urk = gtk_label_new("");
52
 	blark = gtk_label_new("");
53
 	gtk_misc_set_alignment(GTK_MISC(urk), 1, 0.5);
54
@@ -756,7 +756,6 @@
55
 	return;
56
     }
57
 
58
-    struct stat mstat;
59
     stat(filename, &mstat);
60
     gtk_widget_set_sensitive(id3_frame,
61
 			     ((mstat.st_mode & S_IWRITE) == S_IWRITE));
(-)beep-media-player/files/patch-Input::mpg123::mpg123.c (-42 lines)
Lines 1-42 Link Here
1
--- Input/mpg123/mpg123.c.orig	Sat Feb  7 18:21:05 2004
2
+++ Input/mpg123/mpg123.c	Sat Feb  7 18:23:32 2004
3
@@ -635,6 +635,7 @@
4
 				     gchar ** genre, guint * tracknum)
5
 {
6
     FILE *file;
7
+	int result_seek, result_read;
8
     struct id3v1tag_t id3v1tag;
9
     struct id3tag_t id3tag;
10
 
11
@@ -669,12 +670,12 @@
12
 	if (!id3) {
13
 
14
 
15
-	    int result_seek = fseek(file, -1 * sizeof(id3v1tag), SEEK_END);
16
+	    result_seek = fseek(file, -1 * sizeof(id3v1tag), SEEK_END);
17
 	    if (result_seek)
18
 		return;
19
 
20
 
21
-	    int result_read = fread(&id3v1tag, 1, sizeof(id3v1tag), file);
22
+	    result_read = fread(&id3v1tag, 1, sizeof(id3v1tag), file);
23
 	    if (result_read != sizeof(id3v1tag))
24
 		return;
25
 	    if (strncmp(id3v1tag.tag, "TAG", 3) != 0)
26
@@ -1111,6 +1112,8 @@
27
 
28
 static void play_file(char *filename)
29
 {
30
+	pthread_attr_t pta;
31
+
32
     memset(&fr, 0, sizeof(struct frame));
33
     memset(&temp_fr, 0, sizeof(struct frame));
34
 
35
@@ -1124,7 +1127,6 @@
36
     output_opened = FALSE;
37
     dopause = FALSE;
38
 
39
-    pthread_attr_t pta;
40
     (void) pthread_attr_init(&pta);
41
     (void) pthread_attr_setschedpolicy(&pta, PTHREAD_INHERIT_SCHED);
42
     (void) pthread_attr_setscope(&pta, PTHREAD_SCOPE_SYSTEM);
(-)beep-media-player/files/patch-Input::vorbis::fileinfo.c (-88 lines)
Lines 1-88 Link Here
1
--- Input/vorbis/fileinfo.c.orig	Sat Jul 31 22:46:58 2004
2
+++ Input/vorbis/fileinfo.c	Sat Jul 31 22:52:22 2004
3
@@ -200,7 +200,7 @@
4
     gchar *errorstring;
5
     errorstring = g_strdup_printf(_("An error occured:\n%s"), error);
6
 
7
-    xmms_show_message_test(_("Error!"),
8
+    xmms_show_message(_("Error!"),
9
 			   errorstring, _("Ok"), FALSE, NULL, NULL);
10
 
11
     g_free(errorstring);
12
@@ -488,12 +488,21 @@
13
 
14
     static GtkWidget *filename_entry, *tag_frame;
15
 
16
+	GtkWidget *hbox, *label, *filename_hbox, *vbox, *left_vbox;
17
+	GtkWidget *table, *bbox, *cancel_button;
18
+	GtkWidget *pixmapwid;
19
+	GdkPixbuf *pixbuf; 
20
+	PangoAttrList *attrs;
21
+	PangoAttribute *attr;
22
+	GtkWidget *boxx;
23
+	GtkImage *img;
24
+	GtkWidget *test_table;
25
+	struct stat mstat;
26
+
27
     g_free(vte.filename);
28
     vte.filename = g_strdup(fn);
29
 
30
     if (!window) {
31
-	GtkWidget *hbox, *label, *filename_hbox, *vbox, *left_vbox;
32
-	GtkWidget *table, *bbox, *cancel_button;
33
 
34
 	window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
35
 	gtk_window_set_policy(GTK_WINDOW(window), FALSE, FALSE, FALSE);
36
@@ -508,17 +517,13 @@
37
 	filename_hbox = gtk_hbox_new(FALSE, 5);
38
 	gtk_box_pack_start(GTK_BOX(vbox), filename_hbox, FALSE, TRUE, 0);
39
 
40
-	GtkWidget *pixmapwid;
41
-	GdkPixbuf *pixbuf = gdk_pixbuf_new_from_xpm_data((const char **)
42
+	pixbuf = gdk_pixbuf_new_from_xpm_data((const char **)
43
 							 gnome_mime_audio_ogg_xpm);
44
 	pixmapwid = gtk_image_new_from_pixbuf(pixbuf);
45
 	gtk_misc_set_alignment(GTK_MISC(pixmapwid), 0, 0);
46
 	gtk_box_pack_start(GTK_BOX(filename_hbox), pixmapwid, FALSE, FALSE,
47
 			   0);
48
 
49
-	PangoAttrList *attrs;
50
-	PangoAttribute *attr;
51
-
52
 	attrs = pango_attr_list_new();
53
 
54
 	attr = pango_attr_weight_new(PANGO_WEIGHT_BOLD);
55
@@ -722,7 +727,6 @@
56
 			 GTK_FILL | GTK_EXPAND | GTK_SHRINK, 0, 5);
57
 #endif
58
 
59
-	GtkWidget *boxx;
60
 	boxx = gtk_hbutton_box_new();
61
 	gtk_hbutton_box_set_layout_default(GTK_BUTTONBOX_SPREAD);
62
 
63
@@ -739,7 +743,7 @@
64
 	gtk_table_attach(table, boxx, 0, 5, 6, 7, GTK_FILL, 0, 0, 8);
65
 
66
 	rg_show_button = gtk_toggle_button_new();
67
-	GtkImage *img = gtk_image_new_from_stock(GTK_STOCK_GO_FORWARD,
68
+	img = gtk_image_new_from_stock(GTK_STOCK_GO_FORWARD,
69
 						 GTK_ICON_SIZE_MENU);
70
 	gtk_container_add(rg_show_button, img);
71
 	g_signal_connect(G_OBJECT(rg_show_button), "toggled",
72
@@ -832,7 +836,7 @@
73
 	gtk_box_set_spacing(GTK_BOX(info_box), 0);
74
 
75
 	// FIXME: Obvious...
76
-	GtkWidget *test_table = gtk_table_new(2, 10, FALSE);
77
+	test_table = gtk_table_new(2, 10, FALSE);
78
 	gtk_container_set_border_width(GTK_CONTAINER(test_table), 0);
79
 	gtk_container_add(GTK_CONTAINER(info_box), test_table);
80
 
81
@@ -1073,7 +1077,6 @@
82
     gtk_window_set_title(GTK_WINDOW(window), tmp);
83
 //      rg_show_cb(rg_show_button, NULL);
84
 
85
-    struct stat mstat;
86
     stat(fn, &mstat);
87
     gtk_widget_set_sensitive(tag_frame,
88
 			     ((mstat.st_mode & S_IWRITE) == S_IWRITE));
(-)beep-media-player/files/patch-Input::vorbis::vorbis.c (-16 lines)
Lines 1-16 Link Here
1
--- Input/vorbis/vorbis.c.orig	Sat Feb  7 19:26:13 2004
2
+++ Input/vorbis/vorbis.c	Sat Feb  7 19:32:10 2004
3
@@ -521,12 +521,12 @@
4
 
5
 static void vorbis_play(char *filename)
6
 {
7
+	 pthread_attr_t pta;
8
     vorbis_playing = 1;
9
     vorbis_bytes_streamed = 0;
10
     vorbis_eos = 0;
11
     output_error = FALSE;
12
 
13
-    pthread_attr_t pta;
14
     (void) pthread_attr_init(&pta);
15
     (void) pthread_attr_setschedpolicy(&pta, PTHREAD_INHERIT_SCHED);
16
     (void) pthread_attr_setscope(&pta, PTHREAD_SCOPE_SYSTEM);
(-)beep-media-player/files/patch-beep::dirbrowser.c (-177 lines)
Lines 1-177 Link Here
1
--- beep/dirbrowser.c.orig	Sat Feb  7 18:04:24 2004
2
+++ beep/dirbrowser.c	Sat Feb  7 18:18:23 2004
3
@@ -263,15 +263,17 @@
4
 static gchar *bmp_db_sanify_tag(gchar * value)
5
 {
6
 
7
-    if (!value)
8
-	return "(unknown)";
9
-
10
+	GString *chunk;
11
     gchar *frag = NULL;
12
     gchar **branches;
13
     guint ctr = 0;
14
     gboolean bracket_open = FALSE;
15
 
16
-    GString *chunk = g_string_new(NULL);
17
+    if (!value)
18
+             return "(unknown)";
19
+    
20
+
21
+    chunk = g_string_new(NULL);
22
     branches = g_strsplit(g_strstrip(value), " ", 0);
23
 
24
     while (frag || (ctr == 0)) {
25
@@ -346,6 +348,7 @@
26
     GList *list = NULL;
27
     gboolean first = TRUE;
28
     gchar *from_real;
29
+	GdkPixbuf *buf_dir, *buf_file, *buf_cda;
30
 
31
     from = g_locale_from_utf8(from, -1, NULL, NULL, NULL);
32
     from_real = bmp_db_get_path_real(from, model, &parent_iter);
33
@@ -353,18 +356,19 @@
34
     
35
     /* It's not really a waste creating both beforehand since we will
36
      * certainly need the folder one at least once, and most probably
37
-     * the audio one too anyway */
38
-    GdkPixbuf *buf_dir = gdk_pixbuf_new_from_inline(sizeof(folder_pixbuf),
39
+     * the audio one too anyway. 
40
+	*/
41
+    buf_dir = gdk_pixbuf_new_from_inline(sizeof(folder_pixbuf),
42
 						    folder_pixbuf,
43
 						    TRUE,
44
 						    NULL);
45
 
46
-    GdkPixbuf *buf_file = gdk_pixbuf_new_from_inline(sizeof(audio_pixbuf),
47
+    buf_file = gdk_pixbuf_new_from_inline(sizeof(audio_pixbuf),
48
 						     audio_pixbuf,
49
 						     TRUE,
50
 						     NULL);
51
 
52
-    GdkPixbuf *buf_cda = gdk_pixbuf_new_from_inline(sizeof(cda_pixbuf),
53
+    buf_cda = gdk_pixbuf_new_from_inline(sizeof(cda_pixbuf),
54
 						    cda_pixbuf,
55
 						    TRUE,
56
 						    NULL);
57
@@ -654,6 +658,7 @@
58
 
59
     GtkTreeModel *model;
60
     GtkTreeView *treeview;
61
+	GtkWidget *store;
62
 
63
     treeview = gtk_tree_selection_get_tree_view(sel);
64
     model = gtk_tree_view_get_model(treeview);
65
@@ -681,7 +686,7 @@
66
 	paths = paths->next;
67
     }
68
 
69
-    GtkWidget *store =
70
+    store =
71
 	GTK_WIDGET(bmp_db_return_filestore_model_fresh(paths_f));
72
 
73
     gtk_tree_view_set_model(user_data, GTK_TREE_MODEL(store));
74
@@ -706,6 +711,7 @@
75
 
76
     struct stat statbuf;
77
     GtkTreeModel *model;
78
+	gboolean valid;
79
 
80
     model = gtk_tree_view_get_model(treeview);
81
     paths = bmp_db_get_paths_from_selection(treeview);
82
@@ -735,7 +741,7 @@
83
 	    if (gtk_tree_model_iter_children(model, &iter_child, &iter)) {
84
 		if (click_play)
85
 		    playlist_clear();
86
-		gboolean valid = TRUE;
87
+		valid = TRUE;
88
 		while (valid) {
89
 		    gtk_tree_model_get(GTK_TREE_MODEL(model), &iter_child,
90
 				       FILENAME_COL, &node_name, -1);
91
@@ -1308,12 +1314,15 @@
92
 {
93
 
94
     GtkTreeStore *file_store;
95
-
96
+	GtkTreeModel *sort_model;
97
+	gdouble length_pl, frac;
98
+	int ctr=0;
99
+	GList *files;
100
 
101
     file_store =
102
 	gtk_tree_store_new(5, GDK_TYPE_PIXBUF, G_TYPE_STRING, G_TYPE_INT,
103
 			   G_TYPE_STRING, G_TYPE_INT);
104
-    GtkTreeModel *sort_model =
105
+    sort_model =
106
 	gtk_tree_model_sort_new_with_model(GTK_TREE_MODEL(file_store));
107
 
108
 
109
@@ -1321,17 +1330,16 @@
110
 					    bmp_db_mdb_sort_func, NULL, NULL);
111
 
112
 
113
-    gdouble length_pl = g_list_length(paths);
114
+    length_pl = g_list_length(paths);
115
     gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(progressbar_db), 0.0);
116
 
117
-    int ctr = 0;
118
 
119
     while (paths) {
120
 
121
 	gchar *path = paths->data;
122
 	ctr++;
123
 
124
-	GList *files = bmp_db_return_files_from_path(path);
125
+	files = bmp_db_return_files_from_path(path);
126
 
127
 	while (files) {
128
 	    gchar *title;
129
@@ -1356,7 +1364,7 @@
130
 	    files = files->next;
131
 	}
132
 
133
-	gdouble frac = 1 / length_pl;
134
+	frac = 1 / length_pl;
135
 	gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(progressbar_db),
136
 				      frac * ctr);
137
 	while (gtk_events_pending()) {
138
@@ -1411,15 +1419,17 @@
139
     GtkWidget *treeview = NULL;
140
     GtkWidget *label_header;
141
     GtkWidget *paned;
142
+	GtkWidget *fstore;
143
+	GList *paths = NULL;
144
+	 PangoAttrList *attrs;
145
+	PangoAttribute *attr;
146
+	GtkTreeSelection *sel;
147
 
148
     if (!window) {
149
 
150
 	/* create window, etc */
151
 	/* yes this is all messed up */
152
 
153
-	PangoAttrList *attrs;
154
-	PangoAttribute *attr;
155
-
156
 	window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
157
 	gtk_window_set_title(GTK_WINDOW(window), "bmp :: Add Files...");
158
 	gtk_container_set_border_width(GTK_CONTAINER(window), 8);
159
@@ -1489,17 +1499,15 @@
160
 			 G_CALLBACK(bmp_db_keypress), window);
161
 
162
 	gtk_container_add(GTK_CONTAINER(sw), treeview);
163
-	GtkWidget *fstore;
164
 
165
 	/* FIXME: clean up variables, move them to start */
166
 
167
 	/* FIXME: paths is not freed, and is resetted every iteration */
168
-	GList *paths = NULL;
169
 	paths = g_list_append(paths, g_strdup(g_get_home_dir()));
170
 	fstore = bmp_db_return_filestore_fresh(paths);
171
 	gtk_container_add(GTK_CONTAINER(sw_right), fstore);
172
 
173
-	GtkTreeSelection *sel =
174
+	sel =
175
 	    gtk_tree_view_get_selection(GTK_TREE_VIEW(treeview));
176
 	g_signal_connect(G_OBJECT(sel), "changed",
177
 			 G_CALLBACK(bmp_db_row_activated), fstore);
(-)beep-media-player/files/patch-beep::playlist_list.c (-19 lines)
Lines 1-19 Link Here
1
--- beep/playlist_list.c.orig	Sat Feb  7 17:53:46 2004
2
+++ beep/playlist_list.c	Sat Feb  7 17:54:59 2004
3
@@ -372,6 +372,7 @@
4
     gint i, tw, max_first;
5
     guint padding;
6
     guint max_time_len = 0;
7
+	gchar **frags;
8
 
9
     gc = pl->pl_widget.gc;
10
     width = pl->pl_widget.width;
11
@@ -507,7 +508,7 @@
12
 
13
 
14
 
15
-	    gchar **frags = g_strsplit(tail, ":", 0);
16
+	    frags = g_strsplit(tail, ":", 0);
17
 
18
 	    layout =
19
 		gtk_widget_create_pango_layout(GTK_WIDGET(playlistwin),
(-)beep-media-player/files/patch-beep::pluginenum.c (-18 lines)
Lines 1-18 Link Here
1
--- beep/pluginenum.c.orig	Wed Dec 24 15:03:17 2003
2
+++ beep/pluginenum.c	Sat Feb  7 22:08:41 2004
3
@@ -238,6 +238,7 @@
4
 
5
 
6
 #ifndef DISABLE_USER_PLUGIN_DIR
7
+if(0) {
8
     dir = g_build_filename(g_get_home_dir(), BMP_RCPATH, "plugins");
9
     bmp_scan_plugins(dir);
10
     g_free(dir);
11
@@ -259,6 +260,7 @@
12
 	g_free(dir);
13
     }
14
     dirsel = 0;
15
+}
16
 #endif
17
 
18
     while (plugin_dir_list[dirsel]) {
(-)beep-media-player/files/patch-beep::skin.c (-42 lines)
Lines 1-42 Link Here
1
--- beep/skin.c.orig	Sat Feb  7 17:42:34 2004
2
+++ beep/skin.c	Sat Feb  7 17:46:18 2004
3
@@ -168,6 +168,7 @@
4
     const SMID_Mapping *sm_inf;
5
     GdkPixmap *gpm;
6
     gboolean retval = FALSE;
7
+	SkinPixmap *pm;
8
 
9
     if (id >= SKIN_PMID_LAST) {
10
 	g_warning("skin pixmap id out of range (%u).", id);
11
@@ -201,7 +202,7 @@
12
     }
13
     g_free(tmpstr);
14
 
15
-    SkinPixmap *pm = &sk->pixmaps[id];
16
+    pm = &sk->pixmaps[id];
17
     gpm = read_bmp(filename);
18
 
19
     if (!gpm) {
20
@@ -733,9 +734,9 @@
21
 GdkBitmap *skin_get_mask(MaskIndex mi, gboolean doublesize,
22
 			 gboolean shaded)
23
 {
24
+	GdkBitmap **masks;
25
     g_assert(skin != NULL);
26
 
27
-    GdkBitmap **masks;
28
 
29
     g_assert(mi < SKIN_MID_LAST);
30
     masks = (doublesize ? skin->ds_masks : skin->masks);
31
@@ -813,8 +814,10 @@
32
     gint i;
33
     GdkPixmap *pixmap;
34
     GdkImage *img;
35
+	SkinPixmap *eqmainpm;
36
+
37
     g_assert(skin != NULL);
38
-    SkinPixmap *eqmainpm = &skin->pixmaps[SKIN_EQMAIN];
39
+    eqmainpm = &skin->pixmaps[SKIN_EQMAIN];
40
     if (eqmainpm->pixmap != NULL &&
41
 	eqmainpm->current_width >= 116 && eqmainpm->current_height >= 313)
42
 	pixmap = eqmainpm->pixmap;
(-)beep-media-player/files/patch-beep::skinwin.c (-18 lines)
Lines 1-18 Link Here
1
--- beep/skinwin.c.orig	Sat Feb  7 18:16:37 2004
2
+++ beep/skinwin.c	Sat Feb  7 18:17:50 2004
3
@@ -216,11 +216,12 @@
4
     int i;
5
     char *str, *skinsdir;
6
     gchar **list;
7
+	GtkTreeView *treeview;
8
+	GtkTreeSelection *selection = NULL;
9
+	GtkListStore *store;
10
 
11
     gtk_widget_set_sensitive(scrolled_win, FALSE);
12
-    GtkTreeView *treeview = GTK_TREE_VIEW(data);
13
-    GtkTreeSelection *selection = NULL;
14
-    GtkListStore *store;
15
+    treeview = GTK_TREE_VIEW(data);
16
 
17
     selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(treeview));
18
     store = GTK_LIST_STORE(gtk_tree_view_get_model(treeview));
(-)beep-media-player/files/patch-beep::softvolume.c (-16 lines)
Lines 1-16 Link Here
1
--- beep/softvolume.c.orig	Sat Feb  7 18:18:57 2004
2
+++ beep/softvolume.c	Sat Feb  7 18:20:03 2004
3
@@ -27,11 +27,12 @@
4
 void soft_volume_load(char *section, SoftVolumeConfig * c)
5
 {
6
     ConfigFile *cfgfile;
7
+	char *sec;
8
 
9
     if (c == NULL)
10
 	return;
11
 
12
-    char *sec = (section == NULL ? "xmms" : section);
13
+    sec = (section == NULL ? "xmms" : section);
14
 
15
     c->enabled = FALSE;
16
     c->volume_left = 0;
(-)beep-media-player/files/patch-beep::textbox.c (-15 lines)
Lines 1-15 Link Here
1
--- beep/textbox.c.orig	Sat Feb  7 17:49:22 2004
2
+++ beep/textbox.c	Sat Feb  7 17:49:58 2004
3
@@ -142,9 +142,9 @@
4
 
5
 void textbox_set_text(TextBox * tb, gchar * text)
6
 {
7
-
8
-    lock_widget(tb);
9
-    gchar *utf8text;
10
+	gchar *utf8text;
11
+    
12
+	lock_widget(tb);
13
     if (tb->tb_text) {
14
 	if (!strcmp(text, tb->tb_text)) {
15
 	    unlock_widget(tb);
(-)beep-media-player/pkg-message (+12 lines)
Lines 1-2 Link Here
1
beep supports Gzipped and uncompressed skins.  If you would like to use
1
beep supports Gzipped and uncompressed skins.  If you would like to use
2
Zip format skins you will need to ensure archivers/unzip is installed.
2
Zip format skins you will need to ensure archivers/unzip is installed.
3
4
FreeBSD 5.x users should add the following to their /etc/libmap.conf
5
6
# Might crash if used with libpthread
7
[beep-media-player]
8
libc_r.so.5		libc_r.so.5
9
libc_r.so		libc_r.so
10
11
[/usr/X11R6/bin/beep-media-player]
12
libc_r.so.5		libc_r.so.5
13
libc_r.so		libc_r.so
14
(-)beep-media-player/pkg-plist (-14 / +36 lines)
Lines 1-24 Link Here
1
bin/beep-config
2
bin/beep-media-player
1
bin/beep-media-player
3
include/beep/beepctrl.h
2
include/bmp/beepctrl.h
4
include/beep/configfile.h
3
include/bmp/configfile.h
5
include/beep/dirbrowser.h
4
include/bmp/dirbrowser.h
6
include/beep/formatter.h
5
include/bmp/formatter.h
7
include/bmp/fullscreen.h
6
include/bmp/fullscreen.h
8
include/bmp/plugin.h
7
include/bmp/plugin.h
9
include/beep/titlestring.h
8
include/bmp/titlestring.h
10
include/beep/util.h
9
include/bmp/util.h
10
include/bmp/vfs.h
11
include/bmp/rcfile.h
12
include/bmp/configdb.h
11
lib/libbeep.a
13
lib/libbeep.a
12
lib/libbeep.so
14
lib/libbeep.so
13
lib/libbeep.so.1
15
lib/libbeep.so.2
14
lib/bmp/Input/libcdaudio.so
16
lib/bmp/Input/libcdaudio.so
15
lib/bmp/Input/libmpg123.so
17
lib/bmp/Input/libmpg123.so
16
%%VORBISPLUGIN:%%lib/bmp/Input/libvorbis.so
18
%%VORBISPLUGIN:%%lib/bmp/Input/libvorbis.so
17
lib/bmp/Output/libOSS.so
19
lib/bmp/Output/libOSS.so
18
%%ESDPLUGIN:%%lib/bmp/Output/libesdout.so
20
%%ESDPLUGIN:%%lib/bmp/Output/libesdout.so
19
lib/bmp/Visualization/libbscope.so
21
lib/bmp/Visualization/libbscope.so
20
libdata/pkgconfig/beep.pc
22
libdata/pkgconfig/bmp.pc
21
share/aclocal/beep.m4
23
share/applications/bmp.desktop
22
share/bmp/Skins/Default/Avs.bmp
24
share/bmp/Skins/Default/Avs.bmp
23
share/bmp/Skins/Default/Balance.bmp
25
share/bmp/Skins/Default/Balance.bmp
24
share/bmp/Skins/Default/Eq_ex.bmp
26
share/bmp/Skins/Default/Eq_ex.bmp
Lines 39-54 Link Here
39
share/bmp/Skins/Default/readme.txt
41
share/bmp/Skins/Default/readme.txt
40
share/bmp/Skins/Default/screenshot.bmp
42
share/bmp/Skins/Default/screenshot.bmp
41
share/bmp/Skins/Default/vIscolor.txt
43
share/bmp/Skins/Default/vIscolor.txt
42
share/bmp/beep_logo.xpm
44
share/icons/bmp.svg
43
share/bmp/beep.svg
45
share/bmp/glade/equalizerwin_preset_menu.glade
44
share/applications/beep.desktop
46
share/bmp/glade/prefswin.glade
47
share/bmp/images/appearance.png
48
share/bmp/images/mouse.png
49
share/bmp/images/playlist.png
50
share/bmp/images/plugins.png
51
share/bmp/images/eq.png
45
share/locale/fr/LC_MESSAGES/bmp.mo
52
share/locale/fr/LC_MESSAGES/bmp.mo
53
share/locale/cy/LC_MESSAGES/bmp.mo
54
share/locale/de/LC_MESSAGES/bmp.mo
55
share/locale/es/LC_MESSAGES/bmp.mo
56
share/locale/it/LC_MESSAGES/bmp.mo
57
share/locale/ja/LC_MESSAGES/bmp.mo
58
share/locale/ko/LC_MESSAGES/bmp.mo
59
share/locale/lt/LC_MESSAGES/bmp.mo
60
share/locale/nl/LC_MESSAGES/bmp.mo
61
share/locale/pl/LC_MESSAGES/bmp.mo
62
share/locale/ru/LC_MESSAGES/bmp.mo
63
share/locale/sv/LC_MESSAGES/bmp.mo
64
share/locale/zh_CN/LC_MESSAGES/bmp.mo
65
@dirrm share/beep/Skins
66
@dirrm share/beep
46
@dirrm share/bmp/Skins/Default
67
@dirrm share/bmp/Skins/Default
47
@dirrm share/bmp/Skins
68
@dirrm share/bmp/Skins
69
@dirrm share/bmp/glade
70
@dirrm share/bmp/images
48
@dirrm share/bmp
71
@dirrm share/bmp
49
@dirrm lib/bmp/Visualization
72
@dirrm lib/bmp/Visualization
50
@dirrm lib/bmp/Output
73
@dirrm lib/bmp/Output
51
@dirrm lib/bmp/Input
74
@dirrm lib/bmp/Input
52
@dirrm lib/bmp
75
@dirrm lib/bmp
53
@dirrm include/bmp
76
@dirrm include/bmp
54
@dirrm include/beep

Return to bug 70825