ports/69639: New port: audio/lindele, yet another simple GNOME music player
Jean-Yves Lefort
jylefort at brutele.be
Mon Jul 26 23:10:15 UTC 2004
>Number: 69639
>Category: ports
>Synopsis: New port: audio/lindele, yet another simple GNOME music player
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 26 23:10:14 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Jean-Yves Lefort
>Release: FreeBSD 4.10-RELEASE i386
>Organization:
>Environment:
System: FreeBSD jsite.lefort.net 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Thu Jul 1 14:25:43 CEST 2004 jylefort at jsite.lefort.net:/usr/obj/usr/src/sys/JSITE i386
>Description:
Note: this PR depends on 69637 and 69638.
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# lindele
# lindele/pkg-plist
# lindele/pkg-descr
# lindele/files
# lindele/files/patch-src::main.c
# lindele/files/patch-src::gui.c
# lindele/files/patch-src::playlist.c
# lindele/Makefile
# lindele/distinfo
#
echo c - lindele
mkdir -p lindele > /dev/null 2>&1
echo x - lindele/pkg-plist
sed 's/^X//' >lindele/pkg-plist << 'END-of-lindele/pkg-plist'
Xbin/lindele
Xshare/gnome/applications/lindele.desktop
Xshare/gnome/lindele/lindele.glade
Xshare/gnome/lindele/lindele.png
Xshare/gnome/lindele/load.png
Xshare/gnome/lindele/next.png
Xshare/gnome/lindele/pause.png
Xshare/gnome/lindele/play.png
Xshare/gnome/lindele/playing.png
Xshare/gnome/lindele/prev.png
Xshare/gnome/lindele/stop.png
X at dirrm share/gnome/lindele
END-of-lindele/pkg-plist
echo x - lindele/pkg-descr
sed 's/^X//' >lindele/pkg-descr << 'END-of-lindele/pkg-descr'
XLindele is a simple music player for the GNOME Desktop. It has basic
Xplaylist support, random, repeat, searching, sorting, and a
Xnotification area icon. It can edit ID3, Vorbis and FLAC tags via
XMusicBox.
X
XWWW: http://projects.subpop.net/lindele/
X
X- Jean-Yves Lefort
Xjylefort at brutele.be
END-of-lindele/pkg-descr
echo c - lindele/files
mkdir -p lindele/files > /dev/null 2>&1
echo x - lindele/files/patch-src::main.c
sed 's/^X//' >lindele/files/patch-src::main.c << 'END-of-lindele/files/patch-src::main.c'
X--- src/main.c.orig Mon Jul 26 22:14:22 2004
X+++ src/main.c Mon Jul 26 22:14:39 2004
X@@ -21,6 +21,8 @@
X int
X main (int argc, char *argv[])
X {
X+ Lindele lindele;
X+
X gst_init(&argc, &argv);
X glade_init();
X gnome_program_init ("lindele", VERSION,
X@@ -28,7 +30,6 @@
X argc, argv,
X GNOME_PARAM_APP_DATADIR, DATADIR, NULL);
X
X- Lindele lindele;
X init_lindele(&lindele);
X
X gtk_main();
END-of-lindele/files/patch-src::main.c
echo x - lindele/files/patch-src::gui.c
sed 's/^X//' >lindele/files/patch-src::gui.c << 'END-of-lindele/files/patch-src::gui.c'
X--- src/gui.c.orig Mon Jul 26 22:14:52 2004
X+++ src/gui.c Tue Jul 27 00:47:21 2004
X@@ -26,6 +26,7 @@
X
X void on_about_activate(GtkMenuItem *menu, Lindele *l)
X {
X+ l->about = do_about();
X gtk_widget_show (GTK_WIDGET(l->about));
X }
X
X@@ -130,14 +131,14 @@
X
X void on_properties_activate (GtkWidget *menu, Lindele *l)
X {
X- if(g_file_test(g_find_program_in_path("musicbox"),G_FILE_TEST_IS_EXECUTABLE))
X+ if(g_file_test(g_find_program_in_path("musicbox-tag-editor"),G_FILE_TEST_IS_EXECUTABLE))
X {
X- g_printf("EXECUTE: %s\n",g_strconcat("musicbox \"",playlist_get_current_filepath(l),"\"",NULL));
X- gnome_execute_shell(NULL,g_strconcat("musicbox \"",playlist_get_current_filepath(l),"\"",NULL));
X+ g_printf("EXECUTE: %s\n",g_strconcat("musicbox-tag-editor \"",playlist_get_current_filepath(l),"\"",NULL));
X+ gnome_execute_shell(NULL,g_strconcat("musicbox-tag-editor \"",playlist_get_current_filepath(l),"\"",NULL));
X }
X else
X {
X- g_printf("musicbox is not installed on your system\n.");
X+ g_printf("musicbox-tag-editor is not installed on your system\n.");
X }
X }
X
X@@ -385,13 +386,15 @@
X {
X GtkTreeViewColumn *column;
X GtkCellRenderer *cellrenderer;
X+ gchar* gladepath;
X
X l->mmkeys = mmkeys_new();
X l->player = init_player();
X- l->about = do_about();
X l->playlist_num = 0;
X+ l->random = FALSE;
X+ l->repeat = FALSE;
X
X- gchar* gladepath = g_strconcat(DATADIR,"/lindele/lindele.glade",NULL);
X+ gladepath = g_strconcat(DATADIR,"/lindele/lindele.glade",NULL);
X //gchar* gladepath = g_strconcat("/home/link/Hacking/lindele/lindele-work/data/lindele.glade",NULL);
X
X l->xml = glade_xml_new (gladepath, NULL, NULL);
X@@ -468,7 +471,7 @@
X
X /* Disable the preferences, since its not implemented. */
X gtk_widget_set_sensitive(GTK_WIDGET(glade_xml_get_widget(l->xml,"m_preferences")),FALSE);
X- if(! g_file_test(g_find_program_in_path("musicbox"),G_FILE_TEST_IS_EXECUTABLE))
X+ if(! g_file_test(g_find_program_in_path("musicbox-tag-editor"),G_FILE_TEST_IS_EXECUTABLE))
X gtk_widget_set_sensitive(GTK_WIDGET(glade_xml_get_widget(l->xml,"m_properties")),FALSE);
X
X update_buttons(l);
END-of-lindele/files/patch-src::gui.c
echo x - lindele/files/patch-src::playlist.c
sed 's/^X//' >lindele/files/patch-src::playlist.c << 'END-of-lindele/files/patch-src::playlist.c'
X--- src/playlist.c.orig Mon Jul 26 22:15:56 2004
X+++ src/playlist.c Mon Jul 26 22:16:13 2004
X@@ -458,10 +458,10 @@
X void
X popup_context_menu(GtkWidget *widget, GdkEventButton *event)
X {
X- g_printf("entry into popup_context_menu\n");
X GtkWidget *menu,*menuitem;
X int button, event_time;
X
X+ g_printf("entry into popup_context_menu\n");
X menu = gtk_menu_new ();
X g_signal_connect (menu,"deactivate",G_CALLBACK(gtk_widget_destroy),NULL);
X
END-of-lindele/files/patch-src::playlist.c
echo x - lindele/Makefile
sed 's/^X//' >lindele/Makefile << 'END-of-lindele/Makefile'
X# New ports collection makefile for: lindele
X# Date created: 26 Jul 2004
X# Whom: Jean-Yves Lefort <jylefort at brutele.be>
X#
X# $FreeBSD$
X#
X
XPORTNAME= lindele
XPORTVERSION= 0.1.0
XCATEGORIES= audio
XMASTER_SITES= ${MASTER_SITE_GNA}
XMASTER_SITE_SUBDIR= ${PORTNAME}
X
XMAINTAINER= jylefort at brutele.be
XCOMMENT= Yet another simple GNOME music player
X
XRUN_DEPENDS= musicbox-tag-editor:${PORTSDIR}/audio/musicbox-tag-editor
XLIB_DEPENDS= vorbis:${PORTSDIR}/audio/libvorbis \
X tag:${PORTSDIR}/audio/taglib
X
XUSE_X_PREFIX= yes
XUSE_GNOME= gnomehack gnomeprefix libgnomeui gstreamerplugins
XGNU_CONFIGURE= yes
XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
X LDFLAGS="-L${LOCALBASE}/lib"
X
X.include <bsd.port.mk>
END-of-lindele/Makefile
echo x - lindele/distinfo
sed 's/^X//' >lindele/distinfo << 'END-of-lindele/distinfo'
XMD5 (lindele-0.1.0.tar.gz) = f86c1b6b846357f6fa5778286a9ab869
XSIZE (lindele-0.1.0.tar.gz) = 168128
END-of-lindele/distinfo
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list