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

(-)beep-media-player.patched/Makefile (-4 / +4 lines)
Lines 1-7 Link Here
1
# New ports collection makefile for:	beep
1
# New ports collection makefile for:	beep
2
# Date created:			Thu Nov  6 19:24:01 CET 2003
2
# Date created:			Thu Nov  6 19:24:01 CET 2003
3
# Whom:				Miguel Mendez <flynn@energyhq.es.eu.org>
3
# Whom:				Miguel Mendez <flynn@energyhq.es.eu.org>
4
#
4
5
# $FreeBSD: ports/multimedia/beep-media-player/Makefile,v 1.1 2003/11/13 19:54:51 marcus Exp $
5
# $FreeBSD: ports/multimedia/beep-media-player/Makefile,v 1.1 2003/11/13 19:54:51 marcus Exp $
6
#
6
#
7
7
Lines 9-22 Link Here
9
PORTVERSION=	1.0.0
9
PORTVERSION=	1.0.0
10
CATEGORIES=	multimedia audio
10
CATEGORIES=	multimedia audio
11
MASTER_SITES=	http://linux-media.net/beep/downloads/
11
MASTER_SITES=	http://linux-media.net/beep/downloads/
12
DISTNAME=	${PORTNAME}-${PORTVERSION}-pre4-2
12
DISTNAME=	${PORTNAME}-${PORTVERSION}-pre5
13
13
14
MAINTAINER=	flynn@energyhq.es.eu.org
14
MAINTAINER=	flynn@energyhq.es.eu.org
15
COMMENT=	GTK2 mp3 player
15
COMMENT=	GTK2 mp3 player
16
16
17
LIB_DEPENDS=	iconv.3:${PORTSDIR}/converters/libiconv
17
LIB_DEPENDS=	iconv.3:${PORTSDIR}/converters/libiconv
18
18
19
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}-pre4
19
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}-pre5
20
USE_GNOME=	gtk20
20
USE_GNOME=	gtk20
21
WANT_GNOME=	yes
21
WANT_GNOME=	yes
22
USE_X_PREFIX=	yes
22
USE_X_PREFIX=	yes
Lines 33-39 Link Here
33
33
34
INPUT_PLUGINS=	cdaudio,mpg123
34
INPUT_PLUGINS=	cdaudio,mpg123
35
OUTPUT_PLUGINS=	OSS
35
OUTPUT_PLUGINS=	OSS
36
VISUALIZATION_PLUGINS=	blur_scope,sanalyzer
36
VISUALIZATION_PLUGINS=	blur_scope
37
37
38
PLIST_SUB=	DATADIR="share"
38
PLIST_SUB=	DATADIR="share"
39
39
(-)beep-media-player.patched/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (beep-media-player-1.0.0-pre4-2.tar.gz) = dfd65e25725b0b1b37f5cba26e545c88
1
MD5 (beep-media-player-1.0.0-pre5.tar.gz) = 64aa256b8e34c44e84df44ff749cd412
(-)beep-media-player.patched/files/patch-Input::cdaudio::cdaudio.c (+15 lines)
Line 0 Link Here
1
--- Input/cdaudio/cdaudio.c.orig	Fri Nov 14 05:38:50 2003
2
+++ Input/cdaudio/cdaudio.c	Fri Nov 14 05:39:31 2003
3
@@ -695,10 +695,11 @@
4
 struct driveinfo* cdda_find_drive(char *filename)
5
 {
6
 	GList *node;
7
+	struct driveinfo *d;
8
 	
9
 	// FIXME: Will always return the first drive
10
 	node = cdda_cfg.drives;
11
-	struct driveinfo *d = node->data;
12
+	d = node->data;
13
 
14
 	for (node = cdda_cfg.drives; node; node = node->next)
15
 	{
(-)beep-media-player.patched/files/patch-Input::mpg123::fileinfo.c (+71 lines)
Line 0 Link Here
1
--- Input/mpg123/fileinfo.c.orig	Fri Nov 14 05:40:55 2003
2
+++ Input/mpg123/fileinfo.c	Fri Nov 14 05:44:47 2003
3
@@ -299,6 +299,8 @@
4
 	gint i;
5
 	gchar *title;
6
 
7
+	struct stat mstat;
8
+
9
 	emphasis[0] = _("None");
10
 	emphasis[1] = _("50/15 ms");
11
 	emphasis[2] = "";
12
@@ -308,6 +310,14 @@
13
 
14
 	if (!window)
15
 	{
16
+		GtkWidget * pixmapwid;
17
+		GdkPixbuf * pixbuf;
18
+
19
+		PangoAttrList *attrs;
20
+		PangoAttribute     *attr;
21
+
22
+		GtkWidget * test_table;
23
+		GtkWidget *urk,*blark;
24
 		
25
 		window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
26
 		gtk_window_set_policy(GTK_WINDOW(window), FALSE, FALSE, FALSE);
27
@@ -322,8 +332,6 @@
28
 		filename_vbox = gtk_hbox_new(FALSE, 5);
29
 		gtk_box_pack_start(GTK_BOX(vbox), filename_vbox, FALSE, TRUE, 0);
30
 
31
-		GtkWidget * pixmapwid;
32
-		GdkPixbuf * pixbuf;
33
 		pixbuf = gdk_pixbuf_new_from_xpm_data((const char **)gnome_mime_audio_xpm);
34
 		pixmapwid = gtk_image_new_from_pixbuf(pixbuf);
35
 		g_object_unref(pixbuf);
36
@@ -332,9 +340,6 @@
37
 
38
 		label = gtk_label_new(NULL);
39
 
40
-		PangoAttrList *attrs;
41
-		PangoAttribute     *attr;
42
-
43
 		attrs = pango_attr_list_new ();
44
 
45
 		attr = pango_attr_weight_new (PANGO_WEIGHT_BOLD);
46
@@ -377,7 +382,7 @@
47
 		//// MPEG Layer Info
48
 
49
 		// FIXME: Obvious...
50
-		GtkWidget * test_table = gtk_table_new(2, 10, FALSE);
51
+		test_table = gtk_table_new(2, 10, FALSE);
52
 		gtk_container_set_border_width(GTK_CONTAINER(test_table), 0);
53
 		gtk_container_add(GTK_CONTAINER(mpeg_box), test_table);
54
 
55
@@ -437,8 +442,6 @@
56
 		gtk_label_set_justify(GTK_LABEL(mpeg_filesize_val), GTK_JUSTIFY_LEFT );
57
 		gtk_table_attach(GTK_TABLE(test_table), mpeg_filesize_val, 1, 2, 4, 5, GTK_FILL, GTK_FILL, 10, 2);
58
 
59
-		GtkWidget *urk,*blark;
60
-
61
 		urk = gtk_label_new("");
62
 		blark = gtk_label_new("");		
63
 		gtk_misc_set_alignment(GTK_MISC(urk), 1, 0.5);
64
@@ -683,7 +686,6 @@
65
 		return;
66
 	}
67
 
68
-	struct stat mstat;
69
 	stat(filename,&mstat);
70
 	gtk_widget_set_sensitive(id3_frame, ((mstat.st_mode & S_IWRITE) == S_IWRITE ) );
71
 	/* FIXME: Check for UID/GID too? */
(-)beep-media-player.patched/files/patch-beep::main.c (+16 lines)
Line 0 Link Here
1
--- beep/main.c.orig	Fri Nov 14 05:29:27 2003
2
+++ beep/main.c	Fri Nov 14 05:30:06 2003
3
@@ -2030,11 +2030,12 @@
4
 		
5
 
6
 		if (!strncasecmp(path,"fonts:///",9)) {
7
+				gchar * decoded;
8
 				path[strlen(path)-2] = 0; /* Why the hell a CR&LF? */
9
 				path = path + 8;
10
 
11
 				/* plain, since we already stripped the first URI part */
12
-				gchar * decoded = xmms_urldecode_plain(path);
13
+				decoded = xmms_urldecode_plain(path);
14
 				decoded++;
15
 
16
 				/* Get the old font's size, and add it to the dropped font's name */
(-)beep-media-player.patched/files/patch-beep::output.c (+20 lines)
Line 0 Link Here
1
--- beep/output.c.orig	Fri Nov 14 05:21:23 2003
2
+++ beep/output.c	Fri Nov 14 05:21:52 2003
3
@@ -31,14 +31,15 @@
4
 {
5
 	gint time;
6
 	gint pos;
7
-
8
+	gboolean playing;
9
+	
10
 	GList *node = g_list_nth(op_data->output_list, i);
11
 	if (node)
12
 		op_data->current_output_plugin = node->data;
13
 	else
14
 		op_data->current_output_plugin = NULL;
15
 
16
-	gboolean playing = get_input_playing();
17
+	playing = get_input_playing();
18
 	if (playing) {
19
 
20
 		/* FIXME: we do all on our own here */
(-)beep-media-player.patched/files/patch-beep::playlist.c (+149 lines)
Line 0 Link Here
1
--- beep/playlist.c.orig	Fri Nov 14 06:25:26 2003
2
+++ beep/playlist.c	Fri Nov 14 06:34:23 2003
3
@@ -607,6 +607,7 @@
4
 
5
 	while (*string)
6
 	{
7
+		GList *node;
8
 		temp = strchr(string, '\n');
9
 		if (temp)
10
 		{
11
@@ -633,7 +634,6 @@
12
 			}
13
 		}
14
 
15
-		GList *node;
16
 		node = g_list_nth(get_playlist(), pos);
17
 
18
 		entries += i;
19
@@ -2346,6 +2346,7 @@
20
 	guint64 node_idx;
21
 	gchar * from_real;
22
 	gboolean error;
23
+	db_node * node;
24
 
25
 	/* It's not really a waste creating both beforehand since we will certainly need the folder one at least once,
26
 	   and most probably the audio one too anyway */
27
@@ -2366,7 +2367,6 @@
28
 
29
 	current = gtk_tree_model_get_path(model, &parent_iter);
30
 	node_idx = dirbrowser_get_nodeidx_from_iter(model, &parent_iter, 0, &error);
31
-	db_node * node;
32
 	node = g_ptr_array_index(nodes, node_idx);
33
 	from_real = g_strconcat(node->path_real,"/",from,NULL);
34
 
35
@@ -2388,10 +2388,11 @@
36
 			{
37
 				while ((dirent = readdir(dir)) != NULL)
38
 				{
39
+					char * name_real;
40
 					// FIXME: Excludes hidden dirs too (do we want them anyway?)
41
 					if (dirent->d_name[0] == '.')
42
 						continue;
43
-					char * name_real = g_strdup(g_strconcat(from_real,"/",dirent->d_name,NULL));
44
+					name_real = g_strdup(g_strconcat(from_real,"/",dirent->d_name,NULL));
45
 					stat(name_real, &statbuf);
46
 
47
 					if ( S_ISDIR(statbuf.st_mode) ) {
48
@@ -2513,9 +2514,10 @@
49
 	char *buffer, **lines,  **frags;
50
 	struct stat stats;
51
 	guint i;
52
-
53
+	GdkPixbuf * buf;
54
+	
55
 	model = gtk_tree_store_new(2, GDK_TYPE_PIXBUF, G_TYPE_STRING);
56
-        GdkPixbuf * buf = gdk_pixbuf_new_from_inline(sizeof(harddisk_pixbuf),
57
+        buf = gdk_pixbuf_new_from_inline(sizeof(harddisk_pixbuf),
58
                                              harddisk_pixbuf,
59
                                              TRUE,
60
                                              NULL);
61
@@ -2803,13 +2805,16 @@
62
 	
63
 	PangoAttrList *attrs;
64
 	PangoAttribute     *attr;
65
+
66
+	GdkPixbuf * buf;
67
+
68
 	attrs = pango_attr_list_new ();
69
 	attr = pango_attr_weight_new (PANGO_WEIGHT_BOLD);
70
 	attr->start_index = 0;
71
 	attr->end_index   = -1;
72
 	pango_attr_list_insert (attrs, attr);
73
 	
74
-        GdkPixbuf * buf = gdk_pixbuf_new_from_inline(sizeof(harddisk_pixbuf),
75
+        buf = gdk_pixbuf_new_from_inline(sizeof(harddisk_pixbuf),
76
                                              harddisk_pixbuf,
77
                                              TRUE,
78
                                              NULL);
79
@@ -2863,9 +2868,10 @@
80
 		if ( S_ISDIR(statbuf.st_mode) ) {
81
 
82
 			db_node * node;
83
-			node = g_malloc0(sizeof(db_node));
84
 			char * dir = g_strdup(path_real);
85
 			char * name = g_strdup(path_real);
86
+			
87
+			node = g_malloc0(sizeof(db_node));
88
 			node->path_real = dir;
89
 
90
 			gtk_label_set_text(variable, g_strdup(g_strconcat("Choose a Name for:\n",name,NULL)));
91
@@ -2932,9 +2938,9 @@
92
 	                                            (model,
93
 	                                             &iter,
94
 							gtk_tree_path_to_string(paths->data))) {
95
+				db_node * node;
96
 				gtk_tree_store_remove (GTK_TREE_STORE(model), &iter);
97
 
98
-				db_node * node;
99
 				node = g_ptr_array_index(nodes, node_idx);
100
 				g_ptr_array_remove_index(nodes, node_idx);
101
 				ctr_array--;
102
@@ -3178,7 +3184,11 @@
103
       /* create window, etc */
104
 
105
       /* yes this is all messed up */
106
-      
107
+     	GSList * group;
108
+	GtkWidget * hbox_default_setting;
109
+	PangoAttrList *attrs;
110
+	PangoAttribute     *attr;
111
+			
112
 	window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
113
 	gtk_window_set_title (GTK_WINDOW (window), "beep :: directory browser");
114
 	gtk_container_set_border_width(GTK_CONTAINER(window),
115
@@ -3195,8 +3205,6 @@
116
 
117
 	vbox = gtk_vbox_new (FALSE, 0);
118
 
119
-	PangoAttrList *attrs;
120
-	PangoAttribute     *attr;
121
 	attrs = pango_attr_list_new ();
122
 	attr = pango_attr_weight_new (PANGO_WEIGHT_BOLD);
123
 	attr->start_index = 0;
124
@@ -3235,8 +3243,6 @@
125
 	hbox = gtk_hbox_new (FALSE, 0);
126
 	gtk_box_pack_start(GTK_BOX(vbox),hbox,FALSE,FALSE, 0);
127
 
128
-	GSList * group;
129
-
130
 	rb_enq = gtk_radio_button_new(NULL);
131
 	group = gtk_radio_button_get_group(rb_enq);
132
 	rb_play = gtk_radio_button_new(group);
133
@@ -3257,7 +3263,6 @@
134
 
135
 	gtk_misc_set_alignment(GTK_MISC(label_rb), 0.0, 0.0);
136
 
137
-	gtk_label_set_attributes (GTK_LABEL(label_rb), attrs);
138
 
139
 	gtk_container_add(GTK_CONTAINER  (frame),vbox);
140
 	gtk_box_pack_start(GTK_BOX (vbox_main), frame,TRUE,TRUE,0);
141
@@ -3287,7 +3292,7 @@
142
 
143
 	hbox_lower = gtk_hbox_new(FALSE, 8);
144
 
145
-	GtkWidget * hbox_default_setting  = gtk_hbox_new(FALSE,8);
146
+	hbox_default_setting  = gtk_hbox_new(FALSE,8);
147
 
148
 	gtk_box_pack_start(GTK_BOX(hbox_default_setting), table_rb,FALSE,FALSE,0);
149
 	gtk_box_pack_start(GTK_BOX(hbox_default_setting), gtk_vseparator_new(), FALSE,FALSE,0);
(-)beep-media-player.patched/files/patch-beep::playlist_list.c (+47 lines)
Line 0 Link Here
1
--- beep/playlist_list.c.orig	Fri Nov 14 05:24:54 2003
2
+++ beep/playlist_list.c	Fri Nov 14 05:28:24 2003
3
@@ -292,6 +292,8 @@
4
 	int len;
5
 	int pix_len;
6
 	char *tmp;
7
+	guint padding, plist_length_int;
8
+	PangoLayout * layout;
9
 
10
 	if (cfg.convert_underscore)
11
 		while ((tmp = strchr(text, '_')) != NULL)
12
@@ -318,9 +320,6 @@
13
 		pix_len = (width_approx_letters * len);
14
 	}
15
 
16
-
17
-	guint padding, plist_length_int;
18
-	PangoLayout * layout;
19
 	if (cfg.show_numbers_in_pl) {
20
 
21
 
22
@@ -442,12 +441,13 @@
23
 		{
24
 			int x, y;
25
 			gchar * tail;
26
-
27
+			guint t_width;
28
+			guint len_tail;
29
+			guint len;
30
+			
31
 			tail = g_strdup_printf("%s%s",qstr,length);
32
 
33
 			if (strlen(tail) > max_time_len) max_time_len = strlen(tail);
34
-			guint t_width;
35
-			guint len_tail;
36
 	
37
 			/* FIXME: This is just an approximate alignment, maybe
38
 			        something still fast, but exact could be done */
39
@@ -485,7 +485,7 @@
40
 			else
41
 				gdk_gc_set_foreground(gc, get_skin_color(SKIN_PLEDIT_NORMAL));
42
 
43
-			guint len = strlen(tail);
44
+			len = strlen(tail);
45
 
46
 			layout = gtk_widget_create_pango_layout(GTK_WIDGET(playlistwin),tail);
47
 			pango_layout_set_font_description (layout, playlist_list_font); 
(-)beep-media-player.patched/files/patch-beep::prefswin.c (+43 lines)
Line 0 Link Here
1
--- beep/prefswin.c.orig	Fri Nov 14 05:33:05 2003
2
+++ beep/prefswin.c	Fri Nov 14 05:36:04 2003
3
@@ -752,11 +752,15 @@
4
 	GtkObject *options_mouse_adj;
5
 	GtkWidget *prefswin_title_desc, *prefswin_title_label, *opt;
6
 
7
+	GtkWidget *table_rb;
8
+	GtkWidget *label;
9
+
10
 	char *titles[1];
11
 
12
 	PangoAttrList *attrs;
13
 	PangoAttribute *attr;
14
 
15
+	PangoFontDescription * playlist_list_font;
16
 
17
 	prefswin = gtk_window_new(GTK_WINDOW_TOPLEVEL);
18
 	gtk_window_set_position(GTK_WINDOW(prefswin),GTK_WIN_POS_CENTER);
19
@@ -1019,7 +1023,6 @@
20
 	gtk_container_add(GTK_CONTAINER(prefswin_options_frame), options_table);
21
 	gtk_container_border_width(GTK_CONTAINER(options_table), 5);
22
 
23
-	GtkWidget * table_rb;
24
 	table_rb = gtk_table_new(4,4,FALSE);
25
 
26
 	options_gi_box = gtk_hbox_new(FALSE, 3);
27
@@ -1110,7 +1113,6 @@
28
 	prefswin_fonts_vbox = gtk_table_new(4,4,TRUE);
29
 
30
 	// This ain't exactly GnomeFontPicker, but we're not a GNOME app so no GNOME widgets for us	
31
-	GtkWidget *label;
32
 	label = gtk_label_new("Playlist Font:");
33
 
34
 	attrs = pango_attr_list_new ();
35
@@ -1126,7 +1128,7 @@
36
 
37
 	prefswin_options_font_browse = gtk_button_new();
38
 	label_font = gtk_label_new(cfg.playlist_font);
39
-	PangoFontDescription * playlist_list_font = pango_font_description_from_string (cfg.playlist_font);
40
+	playlist_list_font = pango_font_description_from_string (cfg.playlist_font);
41
 	gtk_widget_modify_font(label_font, playlist_list_font);
42
 	gtk_container_add(GTK_CONTAINER(prefswin_options_font_browse), label_font);
43
 
(-)beep-media-player.patched/files/patch-beep::skinwin.c (+42 lines)
Line 0 Link Here
1
--- beep/skinwin.c.orig	Fri Nov 14 05:30:38 2003
2
+++ beep/skinwin.c	Fri Nov 14 05:32:30 2003
3
@@ -190,6 +190,10 @@
4
 	GtkTreeView * treeview = GTK_TREE_VIEW(data);
5
 	GtkListStore * model;
6
 	GtkTreeSelection * l_selection;
7
+	guint max;
8
+	guint loop;
9
+	char * comp;
10
+
11
 	
12
 	/* FIXME:
13
 	 *  This is all alittle of bad mojo here, the gtk-doc says about the "changed" signal for GtkTreeSelection:
14
@@ -202,10 +206,6 @@
15
 	if (!gtk_tree_selection_get_selected(GTK_TREE_SELECTION(l_selection),&model,&iter)) return;
16
 	gtk_tree_model_get (GTK_TREE_MODEL(model), &iter, 1, &name, -1);
17
 
18
-	guint max;
19
-	guint loop;
20
-	char * comp;
21
-	
22
 	max = g_list_length(skinlist);
23
 
24
 	for (loop = 0; loop < max; loop++) {
25
@@ -423,6 +423,8 @@
26
 	GtkListStore *store;
27
 	GtkTreeModel *model;
28
 
29
+	GtkWidget *selection;
30
+
31
 	skinwin = gtk_window_new(GTK_WINDOW_TOPLEVEL);
32
 	gtk_widget_set_usize(skinwin,500,380);
33
 	gtk_window_set_position(GTK_WINDOW(skinwin),GTK_WIN_POS_CENTER);
34
@@ -493,7 +495,7 @@
35
         gtk_tree_view_column_set_spacing(column, 16);
36
 	gtk_tree_view_column_set_attributes (column, renderer, "text", 1, NULL);
37
 
38
-	GtkWidget *selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (treeview));
39
+	selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (treeview));
40
 	g_signal_connect(G_OBJECT(selection), "changed", G_CALLBACK(change_skin_event), treeview);
41
 	g_signal_connect(G_OBJECT(skinwin), "key_press_event", G_CALLBACK(skinwin_keypress_cb), NULL);
42
 	g_signal_connect(G_OBJECT(skinwin), "show",G_CALLBACK(update_skins),treeview);
(-)beep-media-player.patched/files/patch-beep::util.c (+75 lines)
Line 0 Link Here
1
--- beep/util.c.orig	Fri Nov 14 05:06:54 2003
2
+++ beep/util.c	Fri Nov 14 05:21:01 2003
3
@@ -707,9 +707,11 @@
4
 
5
 static void filebrowser_add_files(gchar** files, GtkFileSelection * filesel)
6
 {
7
+	int ctr = 0;
8
+	char * ptr;
9
+	
10
 	if (GTK_IS_WIDGET(mainwin_jtf)) gtk_widget_set_sensitive(mainwin_jtf,FALSE);
11
 
12
-	int ctr = 0;
13
 	while(files[ctr] != NULL) {
14
 		playlist_add(files[ctr++]);
15
 	}
16
@@ -717,7 +719,6 @@
17
 
18
 	if (GTK_IS_WIDGET(mainwin_jtf)) gtk_widget_set_sensitive(mainwin_jtf,TRUE);
19
 
20
-	char * ptr;
21
 	gtk_label_get(GTK_LABEL(GTK_BIN(filesel->history_pulldown)->child), &ptr);
22
 
23
 	/* This will give an extra slash if the current dir is the root. */
24
@@ -726,19 +727,23 @@
25
 
26
 static void filebrowser_ok(GtkWidget * w, GtkWidget * filesel)
27
 {
28
+	gchar** files;
29
+	
30
 	if (util_filebrowser_is_dir(GTK_FILE_SELECTION(filesel)))
31
  		return;
32
-	gchar** files = gtk_file_selection_get_selections(GTK_FILE_SELECTION(filesel));
33
+	files = gtk_file_selection_get_selections(GTK_FILE_SELECTION(filesel));
34
 	filebrowser_add_files(files,GTK_FILE_SELECTION(filesel));
35
 	gtk_widget_destroy(filesel);
36
 }
37
 
38
 static void filebrowser_play(GtkWidget * w, GtkWidget * filesel)
39
 {
40
+	gchar** files;
41
+	
42
 	if (util_filebrowser_is_dir(GTK_FILE_SELECTION(GTK_FILE_SELECTION(filesel))))
43
 		return;
44
 	playlist_clear();
45
-	gchar** files = gtk_file_selection_get_selections(GTK_FILE_SELECTION(filesel));
46
+	files = gtk_file_selection_get_selections(GTK_FILE_SELECTION(filesel));
47
 	filebrowser_add_files(files,GTK_FILE_SELECTION(filesel));
48
 	gtk_widget_destroy(filesel);
49
 	playlist_play();
50
@@ -746,8 +751,10 @@
51
 
52
 static void filebrowser_add_selected_files(GtkWidget * w, gpointer data)
53
 {
54
+	gchar** files;
55
+	
56
 	GtkFileSelection *filesel = GTK_FILE_SELECTION(data);
57
-	gchar** files = gtk_file_selection_get_selections(filesel);
58
+	files = gtk_file_selection_get_selections(filesel);
59
 
60
 	filebrowser_add_files(files,filesel);
61
 	gtk_tree_selection_unselect_all(gtk_tree_view_get_selection(GTK_TREE_VIEW(filesel->file_list)));
62
@@ -758,10 +765,12 @@
63
 
64
 static void filebrowser_add_all_files(GtkWidget * w, gpointer data)
65
 {
66
+	gchar** files;
67
 	GtkFileSelection * filesel;
68
+	
69
 	filesel = data;
70
 	gtk_tree_selection_select_all(gtk_tree_view_get_selection(GTK_TREE_VIEW(filesel->file_list)));
71
-	gchar** files = gtk_file_selection_get_selections(filesel);
72
+	files = gtk_file_selection_get_selections(filesel);
73
 	filebrowser_add_files(files,filesel);
74
 	gtk_tree_selection_unselect_all(gtk_tree_view_get_selection(GTK_TREE_VIEW(filesel->file_list)));
75
 	gtk_entry_set_text(GTK_ENTRY(filesel->selection_entry), "");
(-)beep-media-player.patched/files/patch-ltmain.sh (-6 / +6 lines)
Lines 1-6 Link Here
1
--- ltmain.sh.orig	Thu May 22 16:42:22 2003
1
--- ltmain.sh.orig	Fri Nov 14 05:04:28 2003
2
+++ ltmain.sh	Tue May 27 12:12:52 2003
2
+++ ltmain.sh	Fri Nov 14 05:04:28 2003
3
@@ -1072,7 +1072,7 @@
3
@@ -1075,7 +1075,7 @@
4
 	  esac
4
 	  esac
5
 	 elif test "X$arg" = "X-lc_r"; then
5
 	 elif test "X$arg" = "X-lc_r"; then
6
 	  case $host in
6
 	  case $host in
Lines 9-15 Link Here
9
 	    # Do not include libc_r directly, use -pthread flag.
9
 	    # Do not include libc_r directly, use -pthread flag.
10
 	    continue
10
 	    continue
11
 	    ;;
11
 	    ;;
12
@@ -1082,8 +1082,16 @@
12
@@ -1085,8 +1085,16 @@
13
 	continue
13
 	continue
14
 	;;
14
 	;;
15
 
15
 
Lines 26-32 Link Here
26
 	continue
26
 	continue
27
 	;;
27
 	;;
28
 
28
 
29
@@ -2498,6 +2506,9 @@
29
@@ -2506,6 +2514,9 @@
30
 	  *-*-openbsd* | *-*-freebsd*)
30
 	  *-*-openbsd* | *-*-freebsd*)
31
 	    # Do not include libc due to us having libc/libc_r.
31
 	    # Do not include libc due to us having libc/libc_r.
32
 	    ;;
32
 	    ;;
Lines 36-42 Link Here
36
 	  *)
36
 	  *)
37
 	    # Add libc to deplibs on all other systems if necessary.
37
 	    # Add libc to deplibs on all other systems if necessary.
38
 	    if test $build_libtool_need_lc = "yes"; then
38
 	    if test $build_libtool_need_lc = "yes"; then
39
@@ -4325,10 +4336,12 @@
39
@@ -4333,10 +4344,12 @@
40
 	fi
40
 	fi
41
 
41
 
42
 	# Install the pseudo-library for information purposes.
42
 	# Install the pseudo-library for information purposes.
(-)beep-media-player.patched/pkg-plist (+1 lines)
Lines 15-20 Link Here
15
lib/beep/Input/libmpg123.so
15
lib/beep/Input/libmpg123.so
16
lib/beep/Output/libOSS.so
16
lib/beep/Output/libOSS.so
17
%%ESDPLUGIN%%lib/beep/Output/libesdout.so
17
%%ESDPLUGIN%%lib/beep/Output/libesdout.so
18
lib/beep/Visualization/libbscope.so
18
share/aclocal/beep.m4
19
share/aclocal/beep.m4
19
@dirrm lib/beep/Output
20
@dirrm lib/beep/Output
20
@dirrm lib/beep/Input
21
@dirrm lib/beep/Input

Return to bug 59279