FreeBSD Bugzilla – Attachment 45151 Details for
Bug 69692
[NEW PORT] audio/tunesbrowser: Gnome frontend DAAP client
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
tunesbrowser-0.1.5.shar
tunesbrowser-0.1.5.shar (text/plain), 9.10 KB, created by
Michael Johnson
on 2004-07-28 08:10:34 UTC
(
hide
)
Description:
tunesbrowser-0.1.5.shar
Filename:
MIME Type:
Creator:
Michael Johnson
Created:
2004-07-28 08:10:34 UTC
Size:
9.10 KB
patch
obsolete
># 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: ># ># tunesbrowser ># tunesbrowser/pkg-descr ># tunesbrowser/Makefile ># tunesbrowser/distinfo ># tunesbrowser/files ># tunesbrowser/files/patch-main.c ># tunesbrowser/files/patch-configure ># tunesbrowser/files/patch-audioplayer.c ># tunesbrowser/files/patch-daap.c ># tunesbrowser/files/patch-misc_ui.c ># >echo c - tunesbrowser >mkdir -p tunesbrowser > /dev/null 2>&1 >echo x - tunesbrowser/pkg-descr >sed 's/^X//' >tunesbrowser/pkg-descr << 'END-of-tunesbrowser/pkg-descr' >XTunesBrowser is a simple music player, capable of playing music found on >XiTunes(R) shares. >X >XWWW: http://crazney.net/programs/itunes/tunesbrowser.html >END-of-tunesbrowser/pkg-descr >echo x - tunesbrowser/Makefile >sed 's/^X//' >tunesbrowser/Makefile << 'END-of-tunesbrowser/Makefile' >X# New ports collection makefile for: tunesbrowser >X# Date created: 2004-07-27 >X# Whom: Michael Johnson <ahze@ahze.net> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= tunesbrowser >XPORTVERSION= 0.1.5 >XCATEGORIES= audio >XMASTER_SITES= http://crazney.net/programs/itunes/files/ >X >XMAINTAINER= ahze@ahze.net >XCOMMENT= Gnome frontend DAAP client >X >XLIB_DEPENDS= opendaap.0:${PORTSDIR}/devel/libopendaap >X >XUSE_BZIP2= yes >XUSE_INC_LIBTOOL_VER=15 >XUSE_X_PREFIX= yes >XUSE_GNOME= gstreamerplugins gnometarget gnomehack >X >XDATADIR= ${PREFIX}/share/gnome/${PORTNAME} >X >XPLIST_FILES= bin/tunesbrowser \ >X %%DATADIR%%/tunesbrowser.glade >X >Xpre-everything:: >X @${ECHO_MSG} '===>' >X @${ECHO_MSG} '===> Warning: ${PORTNAME} is extremally buggy, especially' >X @${ECHO_MSG} '===> on the FreeBSD 4.x branch, and may not run at all' >X @${ECHO_MSG} '===>' >X >Xdo-install: >X @${INSTALL_PROGRAM} ${WRKSRC}/tunesbrowser ${PREFIX}/bin >X @${MKDIR} ${DATADIR} >X @${INSTALL_DATA} ${WRKSRC}/tunesbrowser.glade ${DATADIR} >X >X.include <bsd.port.mk> >END-of-tunesbrowser/Makefile >echo x - tunesbrowser/distinfo >sed 's/^X//' >tunesbrowser/distinfo << 'END-of-tunesbrowser/distinfo' >XMD5 (tunesbrowser-0.1.5.tar.bz2) = 9ac02107486c8d8242cbdb96873a93f0 >XSIZE (tunesbrowser-0.1.5.tar.bz2) = 190729 >END-of-tunesbrowser/distinfo >echo c - tunesbrowser/files >mkdir -p tunesbrowser/files > /dev/null 2>&1 >echo x - tunesbrowser/files/patch-main.c >sed 's/^X//' >tunesbrowser/files/patch-main.c << 'END-of-tunesbrowser/files/patch-main.c' >X--- main.c.orig Tue Jul 27 17:40:25 2004 >X+++ main.c Tue Jul 27 17:40:49 2004 >X@@ -46,7 +46,7 @@ >X >X gtk_init(&argc, &argv); >X >X- xml = glade_xml_new(XSTR(UIDIR) "/tunesbrowser.glade", NULL, NULL); >X+ xml = glade_xml_new(XSTR(UIDIR) "/tunesbrowser/tunesbrowser.glade", NULL, NULL); >X >X glade_xml_signal_autoconnect(xml); >X >END-of-tunesbrowser/files/patch-main.c >echo x - tunesbrowser/files/patch-configure >sed 's/^X//' >tunesbrowser/files/patch-configure << 'END-of-tunesbrowser/files/patch-configure' >X$NetBSD: patch-aa,v 1.1.1.1 2004/06/20 20:41:22 agc Exp $ >X >X--- configure 2004/06/05 22:49:11 1.1 >X+++ configure 2004/06/05 22:49:43 >X@@ -19625,23 +19625,23 @@ >X else >X PKG_CONFIG_MIN_VERSION=0.9.0 >X if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then >X- echo "$as_me:$LINENO: checking for opendaap libglade-2.0 gstreamer-0.6" >&5 >X-echo $ECHO_N "checking for opendaap libglade-2.0 gstreamer-0.6... $ECHO_C" >&6 >X+ echo "$as_me:$LINENO: checking for opendaap libglade-2.0 gstreamer-0.8" >&5 >X+echo $ECHO_N "checking for opendaap libglade-2.0 gstreamer-0.8... $ECHO_C" >&6 >X >X- if $PKG_CONFIG --exists "opendaap libglade-2.0 gstreamer-0.6" ; then >X+ if $PKG_CONFIG --exists "opendaap libglade-2.0 gstreamer-0.8" ; then >X echo "$as_me:$LINENO: result: yes" >&5 >X echo "${ECHO_T}yes" >&6 >X succeeded=yes >X >X echo "$as_me:$LINENO: checking TB_CFLAGS" >&5 >X echo $ECHO_N "checking TB_CFLAGS... $ECHO_C" >&6 >X- TB_CFLAGS=`$PKG_CONFIG --cflags "opendaap libglade-2.0 gstreamer-0.6"` >X+ TB_CFLAGS=`$PKG_CONFIG --cflags "opendaap libglade-2.0 gstreamer-0.8"` >X echo "$as_me:$LINENO: result: $TB_CFLAGS" >&5 >X echo "${ECHO_T}$TB_CFLAGS" >&6 >X >X echo "$as_me:$LINENO: checking TB_LIBS" >&5 >X echo $ECHO_N "checking TB_LIBS... $ECHO_C" >&6 >X- TB_LIBS=`$PKG_CONFIG --libs "opendaap libglade-2.0 gstreamer-0.6"` >X+ TB_LIBS=`$PKG_CONFIG --libs "opendaap libglade-2.0 gstreamer-0.8"` >X echo "$as_me:$LINENO: result: $TB_LIBS" >&5 >X echo "${ECHO_T}$TB_LIBS" >&6 >X else >X@@ -19649,7 +19649,7 @@ >X TB_LIBS="" >X ## If we have a custom action on failure, don't print errors, but >X ## do set a variable so people can do so. >X- TB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "opendaap libglade-2.0 gstreamer-0.6"` >X+ TB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "opendaap libglade-2.0 gstreamer-0.8"` >X echo $TB_PKG_ERRORS >X fi >X >X@@ -19664,8 +19664,8 @@ >X if test $succeeded = yes; then >X : >X else >X- { { echo "$as_me:$LINENO: error: Library requirements (opendaap libglade-2.0 gstreamer-0.6) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5 >X-echo "$as_me: error: Library requirements (opendaap libglade-2.0 gstreamer-0.6) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;} >X+ { { echo "$as_me:$LINENO: error: Library requirements (opendaap libglade-2.0 gstreamer-0.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5 >X+echo "$as_me: error: Library requirements (opendaap libglade-2.0 gstreamer-0.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;} >X { (exit 1); exit 1; }; } >X fi >X >END-of-tunesbrowser/files/patch-configure >echo x - tunesbrowser/files/patch-audioplayer.c >sed 's/^X//' >tunesbrowser/files/patch-audioplayer.c << 'END-of-tunesbrowser/files/patch-audioplayer.c' >X--- audioplayer.c.orig Thu Apr 29 11:31:57 2004 >X+++ audioplayer.c Wed Jul 28 06:38:45 2004 >X@@ -62,8 +62,10 @@ >X >X static void cb_iterate(GstBin *bin, gpointer data) >X { >X- GstClock *clock = gst_bin_get_clock(bin); >X- int seconds = gst_clock_get_time(clock) / GST_SECOND; >X+ GstClock *clock; >X+ int seconds; >X+ clock = gst_bin_get_clock(bin); >X+ seconds = gst_clock_get_time(clock) / GST_SECOND; >X >X seconds = seconds - songstarted; >X >X@@ -80,8 +82,10 @@ >X gst_init(0, NULL); >X >X pipeline_thread = gst_thread_new ("pipeline"); >X+#if 0 >X gst_bin_set_post_iterate_function(GST_BIN(pipeline_thread), >X cb_iterate, NULL); >X+#endif >X pipesrc = gst_element_factory_make ("fdsrc", "pipe_source"); >X if (!pipesrc) >X { >X@@ -136,11 +140,12 @@ >X >X void audioplayer_playpipe(int fd) >X { >X+ GstClock *clock; >X playing = 1; >X audioplayer_loadpipe(fd); >X >X gst_element_set_state (GST_ELEMENT (pipeline_thread), GST_STATE_PLAYING); >X- GstClock *clock = gst_bin_get_clock(GST_BIN(pipeline_thread)); >X+ clock = gst_bin_get_clock(GST_BIN(pipeline_thread)); >X songstarted = gst_clock_get_time(clock) / GST_SECOND; >X } >X >END-of-tunesbrowser/files/patch-audioplayer.c >echo x - tunesbrowser/files/patch-daap.c >sed 's/^X//' >tunesbrowser/files/patch-daap.c << 'END-of-tunesbrowser/files/patch-daap.c' >X--- daap.c.orig Wed Jul 28 06:39:51 2004 >X+++ daap.c Wed Jul 28 06:41:27 2004 >X@@ -456,6 +456,7 @@ >X char time[11] = {0}; >X char track[11] = {0}; >X char year[11] = {0}; >X+ int minutes, seconds; >X >X if (selected_artist && >X strcasecmp(selected_artist, currentSongItems[i].songartist) != 0) >X@@ -464,7 +465,6 @@ >X strcasecmp(selected_album, currentSongItems[i].songalbum) != 0) >X continue; >X >X- int minutes, seconds; >X >X seconds = (currentSongItems[i].songtime) / 1000; >X minutes = seconds / 60; >X@@ -563,10 +563,10 @@ >X char *get_song_display_str_withalloc(int id) >X { >X int songindex = findSongByID(id); >X+ char *buf; >X >X if (!songindex) return NULL; >X >X- char *buf; >X buf = malloc(strlen(currentSongItems[songindex].songartist) + strlen(" - ") >X + strlen(currentSongItems[songindex].itemname) + 1); >X >END-of-tunesbrowser/files/patch-daap.c >echo x - tunesbrowser/files/patch-misc_ui.c >sed 's/^X//' >tunesbrowser/files/patch-misc_ui.c << 'END-of-tunesbrowser/files/patch-misc_ui.c' >X--- misc_ui.c.orig Wed Jul 28 06:41:58 2004 >X+++ misc_ui.c Wed Jul 28 06:43:37 2004 >X@@ -139,8 +139,8 @@ >X if (seconds >= 0) >X { >X int minutes = seconds / 60; >X+ char bufstr[11]; >X seconds -= minutes * 60; >X- char bufstr[11] = {0}; >X >X snprintf(bufstr, 10, "%i:%02i", >X minutes, seconds); >END-of-tunesbrowser/files/patch-misc_ui.c >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 69692
: 45151