Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  9 Oct 2000 02:04:35 +0200 (CEST)
From:      Anders Nordby <anders@fix.no>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/21848: Update port: audio/xsidplay
Message-ID:  <20001009000435.12E645771@totem.fix.no>

next in thread | raw e-mail | index | archive | help

>Number:         21848
>Category:       ports
>Synopsis:       Update port: audio/xsidplay
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 08 17:10:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Anders Nordby
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
Fluxpod Information eXchange
>Environment:

FreeBSD eggsilo.localnet 4.1-STABLE FreeBSD 4.1-STABLE #0: Mon Aug 28
10:23:12 CEST 2000     root@:/usr/src/sys/compile/EGGSILO  i386

>Description:

Updates the port to the latest version. Now requires QT2.2.

Thanks to KATO Tsuguru <tkato@prontomail.ne.jp> for useful patches.

>How-To-Repeat:

	

>Fix:
	
diff -Nur xsidplay.old/Makefile xsidplay/Makefile
--- xsidplay.old/Makefile	Sun Oct  1 20:29:37 2000
+++ xsidplay/Makefile	Mon Oct  9 01:18:54 2000
@@ -6,21 +6,29 @@
 #
 
 PORTNAME=	xsidplay
-PORTVERSION=	1.3.9
+PORTVERSION=	1.4.2
 CATEGORIES=	audio emulators
 MASTER_SITES=	http://www.geocities.com/SiliconValley/Lakes/5147/sidplay/packages/ \
 		http://www.freenix.no/~anders/
-DISTFILES=	${PORTNAME}-${PORTVERSION:S/./_/g}.tgz
+DISTNAME=	${PORTNAME}-${PORTVERSION:S/./_/g}
+EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	anders@fix.no
 
 LIB_DEPENDS=	sidplay.1:${PORTSDIR}/audio/libsidplay
 
-GNU_CONFIGURE=	YES
-USE_QT=		YES
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include \
-		-I${X11BASE}/include" \
-		LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+USE_QT2=	yes
+USE_GMAKE=	yes
+USE_LIBTOOL=	yes
+CONFIGURE_ENV=	MOC="${X11BASE}/bin/moc2"
+CONFIGURE_ARGS=	--with-qt-includes=${X11BASE}/include/qt2 \
+		--with-qt-libraries=${X11BASE}/lib \
+		--with-sidplay-includes=${LOCALBASE}/include \
+		--with-sidplay-library=${LOCALBASE}/lib \
+		--with-x-includes=${X11BASE}/include \
+		--with-x-libraries=${X11BASE}/lib
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/xsidplay ${PREFIX}/bin
diff -Nur xsidplay.old/distinfo xsidplay/distinfo
--- xsidplay.old/distinfo	Mon Sep 18 18:11:08 2000
+++ xsidplay/distinfo	Mon Oct  9 01:19:00 2000
@@ -1 +1 @@
-MD5 (xsidplay-1_3_9.tgz) = 0899624e144c6b686d69d7396689e8c5
+MD5 (xsidplay-1_4_2.tgz) = e23471956ac48d6d6894d439462971eb
diff -Nur xsidplay.old/files/patch-aa xsidplay/files/patch-aa
--- xsidplay.old/files/patch-aa	Mon Sep 18 18:11:09 2000
+++ xsidplay/files/patch-aa	Mon Oct  9 01:17:30 2000
@@ -1,36 +1,11 @@
---- src/HVSCDialogData.cpp.orig	Fri Oct  9 09:08:24 1998
-+++ src/HVSCDialogData.cpp	Tue Sep 12 04:02:45 2000
-@@ -109,9 +109,30 @@
- 	browseBtn = new QPushButton( this, "BrowseButton" );
- 	browseBtn->setGeometry( 320, 32, 70, 30 );
- 	{
--		QColorGroup normal( QColor( QRgb(0) ), QColor( QRgb(11862015) ), QColor( QRgb(16777215) ), QColor( QRgb(6316128) ), QColor( QRgb(10789024) ), QColor( QRgb(0) ), QColor( QRgb(16777215) ) );
--		QColorGroup disabled( QColor( QRgb(8421504) ), QColor( QRgb(12632256) ), QColor( QRgb(16777215) ), QColor( QRgb(6316128) ), QColor( QRgb(10789024) ), QColor( QRgb(8421504) ), QColor( QRgb(12632256) ) );
--		QColorGroup active( QColor( QRgb(0) ), QColor( QRgb(8505544) ), QColor( QRgb(16777215) ), QColor( QRgb(6316128) ), QColor( QRgb(10789024) ), QColor( QRgb(0) ), QColor( QRgb(16777215) ) );
-+		QColorGroup normal(
-+		 	QColor( (unsigned int)0 ),
-+			QColor( (unsigned int)11862015 ),
-+			QColor( (unsigned int)16777215 ),
-+			QColor( (unsigned int)6316128 ),
-+			QColor( (unsigned int)10789024 ),
-+			QColor( (unsigned int)0 ),
-+			QColor( (unsigned int)16777215 ) );
-+		QColorGroup disabled(
-+			QColor( (unsigned int)8421504 ),
-+			QColor( (unsigned int)12632256 ),
-+			QColor( (unsigned int)16777215 ),
-+			QColor( (unsigned int)6316128 ),
-+			QColor( (unsigned int)10789024 ),
-+			QColor( (unsigned int)8421504 ),
-+			QColor( (unsigned int)12632256 ) );
-+		QColorGroup active(
-+			QColor( (unsigned int)0 ),
-+			QColor( (unsigned int)8505544 ),
-+			QColor( (unsigned int)16777215 ),
-+			QColor( (unsigned int)6316128 ),
-+			QColor( (unsigned int)10789024 ),
-+			QColor( (unsigned int)0 ),
-+			QColor( (unsigned int)16777215 ) );
- 		QPalette palette( normal, disabled, active );
- 		browseBtn->setPalette( palette );
- 	}
+--- configure.orig	Mon Sep 18 19:55:14 2000
++++ configure	Tue Sep 19 00:48:06 2000
+@@ -1480,7 +1480,7 @@
+ # Check whether --with-qt-dir or --without-qt-dir was given.
+ if test "${with_qt_dir+set}" = set; then
+   withval="$with_qt_dir"
+-    ac_qt_includes="$withval"/include
++    ac_qt_includes="$withval"/include/qt2
+        ac_qt_libraries="$withval"/lib
+     
+ fi
diff -Nur xsidplay.old/files/patch-ab xsidplay/files/patch-ab
--- xsidplay.old/files/patch-ab	Mon Sep 18 18:11:09 2000
+++ xsidplay/files/patch-ab	Mon Oct  9 01:17:30 2000
@@ -1,36 +1,11 @@
---- src/MainDialog.cpp.orig	Sat Jul  3 12:57:28 1999
-+++ src/MainDialog.cpp	Tue Sep 12 03:47:31 2000
-@@ -152,9 +152,30 @@
-     timeLCD->setMode( QLCDNumber::DEC );
-     timeLCD->setSegmentStyle( QLCDNumber::Filled );
-     {
--        QColorGroup normal( QColor( QRgb(0) ), QColor( QRgb(11513755) ), QColor( QRgb(16777215) ), QColor( QRgb(6316128) ), QColor( QRgb(10789024) ), QColor( QRgb(0) ), QColor( QRgb(16777215) ) );
--        QColorGroup disabled( QColor( QRgb(8421504) ), QColor( QRgb(12632256) ), QColor( QRgb(16777215) ), QColor( QRgb(6316128) ), QColor( QRgb(10789024) ), QColor( QRgb(8421504) ), QColor( QRgb(12632256) ) );
--        QColorGroup active( QColor( QRgb(0) ), QColor( QRgb(12632256) ), QColor( QRgb(16777215) ), QColor( QRgb(6316128) ), QColor( QRgb(10789024) ), QColor( QRgb(0) ), QColor( QRgb(16777215) ) );
-+        QColorGroup normal(
-+		QColor( (unsigned int)0 ),
-+		QColor( (unsigned int)11513755 ),
-+		QColor( (unsigned int)16777215 ),
-+		QColor( (unsigned int)6316128 ),
-+		QColor( (unsigned int)10789024 ),
-+		QColor( (unsigned int)0 ),
-+		QColor( (unsigned int)16777215 ) );
-+        QColorGroup disabled(
-+		QColor( (unsigned int)8421504 ),
-+		QColor( (unsigned int)12632256 ),
-+		QColor( (unsigned int)16777215 ),
-+		QColor( (unsigned int)6316128 ),
-+		QColor( (unsigned int)10789024 ),
-+		QColor( (unsigned int)8421504 ),
-+		QColor( (unsigned int)12632256 ) );
-+        QColorGroup active(
-+		QColor( (unsigned int)0 ),
-+		QColor( (unsigned int)12632256 ),
-+		QColor( (unsigned int)16777215 ),
-+		QColor( (unsigned int)6316128 ),
-+		QColor( (unsigned int)10789024 ),
-+		QColor( (unsigned int)0 ),
-+		QColor( (unsigned int)16777215 ) );
-         QPalette palette( normal, disabled, active );
-         timeLCD->setPalette( palette );
- 	}
+--- src/MainDialogData.cpp.orig	Fri Sep 15 22:51:57 2000
++++ src/MainDialogData.cpp	Tue Sep 19 00:12:43 2000
+@@ -169,7 +169,7 @@
+     subSongSlider->setPageStep( 1 );
+     subSongSlider->setValue( 1 );
+     subSongSlider->setFocusPolicy( QSlider::TabFocus );
+-    subSongSlider->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0 ) );
++    // subSongSlider->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0 ) );
+     subSongSlider->setCursor( QCursor( 13 ) );
+     QToolTip::add(  subSongSlider, tr( "Quick song selection" ) );
+ 
diff -Nur xsidplay.old/files/patch-ac xsidplay/files/patch-ac
--- xsidplay.old/files/patch-ac	Mon Sep 18 18:11:09 2000
+++ xsidplay/files/patch-ac	Mon Oct  9 01:39:58 2000
@@ -1,70 +1,11 @@
---- src/MainDialogData.cpp.orig	Mon Dec 14 06:50:51 1998
-+++ src/MainDialogData.cpp	Tue Sep 12 03:57:49 2000
-@@ -43,9 +43,30 @@
- 	songLCD = new QLCDNumber( this, "LCDNumber_2" );
- 	songLCD->setGeometry( 90, 35, 40, 30 );
- 	{
--		QColorGroup normal( QColor( QRgb(0) ), QColor( QRgb(11513755) ), QColor( QRgb(16777215) ), QColor( QRgb(6316128) ), QColor( QRgb(10789024) ), QColor( QRgb(0) ), QColor( QRgb(16777215) ) );
--		QColorGroup disabled( QColor( QRgb(8421504) ), QColor( QRgb(12632256) ), QColor( QRgb(16777215) ), QColor( QRgb(6316128) ), QColor( QRgb(10789024) ), QColor( QRgb(8421504) ), QColor( QRgb(12632256) ) );
--		QColorGroup active( QColor( QRgb(0) ), QColor( QRgb(12632256) ), QColor( QRgb(16777215) ), QColor( QRgb(6316128) ), QColor( QRgb(10789024) ), QColor( QRgb(0) ), QColor( QRgb(16777215) ) );
-+		QColorGroup normal(
-+			QColor( (unsigned int)0 ),
-+			QColor( (unsigned int)11513755 ),
-+			QColor( (unsigned int)16777215 ),
-+			QColor( (unsigned int)6316128 ),
-+			QColor( (unsigned int)10789024 ),
-+			QColor( (unsigned int)0 ),
-+			QColor( (unsigned int)16777215 ) );
-+		QColorGroup disabled(
-+			QColor( (unsigned int)8421504 ),
-+			QColor( (unsigned int)12632256 ),
-+			QColor( (unsigned int)16777215 ),
-+			QColor( (unsigned int)6316128 ),
-+			QColor( (unsigned int)10789024 ),
-+			QColor( (unsigned int)8421504 ),
-+			QColor( (unsigned int)12632256 ) );
-+		QColorGroup active(
-+			QColor( (unsigned int)0 ),
-+			QColor( (unsigned int)12632256 ),
-+			QColor( (unsigned int)16777215 ),
-+			QColor( (unsigned int)6316128 ),
-+			QColor( (unsigned int)10789024 ),
-+			QColor( (unsigned int)0 ),
-+			QColor( (unsigned int)16777215 ) );
- 		QPalette palette( normal, disabled, active );
- 		songLCD->setPalette( palette );
- 	}
-@@ -58,9 +79,30 @@
- 	timeLCD = new TimeLCD( this, "TimeLCD_1" );
- 	timeLCD->setGeometry( 10, 35, 75, 30 );
- 	{
--		QColorGroup normal( QColor( QRgb(0) ), QColor( QRgb(11513755) ), QColor( QRgb(16777215) ), QColor( QRgb(6316128) ), QColor( QRgb(10789024) ), QColor( QRgb(0) ), QColor( QRgb(16777215) ) );
--		QColorGroup disabled( QColor( QRgb(8421504) ), QColor( QRgb(12632256) ), QColor( QRgb(16777215) ), QColor( QRgb(6316128) ), QColor( QRgb(10789024) ), QColor( QRgb(8421504) ), QColor( QRgb(12632256) ) );
--		QColorGroup active( QColor( QRgb(0) ), QColor( QRgb(12632256) ), QColor( QRgb(16777215) ), QColor( QRgb(6316128) ), QColor( QRgb(10789024) ), QColor( QRgb(0) ), QColor( QRgb(16777215) ) );
-+		QColorGroup normal(
-+			QColor( (unsigned int)0 ),
-+			QColor( (unsigned int)11513755 ),
-+			QColor( (unsigned int)16777215 ),
-+			QColor( (unsigned int)6316128 ),
-+			QColor( (unsigned int)10789024 ),
-+			QColor( (unsigned int)0 ),
-+			QColor( (unsigned int)16777215 ) );
-+		QColorGroup disabled(
-+			QColor( (unsigned int)8421504 ),
-+			QColor( (unsigned int)12632256 ),
-+			QColor( (unsigned int)16777215 ),
-+			QColor( (unsigned int)6316128 ),
-+			QColor( (unsigned int)10789024 ),
-+			QColor( (unsigned int)8421504 ),
-+			QColor( (unsigned int)12632256 ) );
-+		QColorGroup active(
-+			QColor( (unsigned int)0 ),
-+			QColor( (unsigned int)12632256 ),
-+			QColor( (unsigned int)16777215 ),
-+			QColor( (unsigned int)6316128 ),
-+			QColor( (unsigned int)10789024 ),
-+			QColor( (unsigned int)0 ),
-+			QColor( (unsigned int)16777215 ) );
- 		QPalette palette( normal, disabled, active );
- 		timeLCD->setPalette( palette );
- 	}
+--- src/Makefile.in.old	Mon Oct  9 01:32:37 2000
++++ src/Makefile.in	Mon Oct  9 01:33:41 2000
+@@ -104,7 +104,7 @@
+ 
+ bin_PROGRAMS = xsidplay
+ 
+-xsidplay_LDADD = audio/libaudio.a stilview/libstilview.a songlendb/libsonglendb.a widgets/libwidgets.a @SIDPLAY_LDFLAGS@ -lsidplay @QT_LDFLAGS@ -lqt
++xsidplay_LDADD = audio/libaudio.a stilview/libstilview.a songlendb/libsonglendb.a widgets/libwidgets.a @SIDPLAY_LDFLAGS@ -lsidplay @QT_LDFLAGS@ -L$(X11BASE)/lib -lqt2
+ 
+ 
+ xsidplay_SOURCES = $(BUILT_SOURCES) AudioDialog.cpp AudioDialog.h AudioDialogData.cpp AudioDialogData.h ConfigFile.cpp ConfigFile.h EmuDialog.cpp EmuDialog.h EmuDialogData.cpp EmuDialogData.h FilterDialog.cpp FilterDialog.h FilterDialogData.cpp FilterDialogData.h GlobalIcon.h HVSCDialog.cpp HVSCDialog.h HVSCDialogData.cpp HVSCDialogData.h HVSCconfig.h HistoryDialog.cpp HistoryDialog.h HistoryDialogData.cpp HistoryDialogData.h HistoryFile.cpp HistoryFile.h HistoryItem.h MainDialog.cpp MainDialog.h MainDialogData.cpp MainDialogData.h MixerConfig.h MixerDialog.cpp MixerDialog.h MixerDialogData.cpp MixerDialogData.h Playlist.cpp Playlist.h PlaylistDialog.cpp PlaylistDialog.h PlaylistDialogData.cpp PlaylistDialogData.h PlaylistItem.h PlaylistOptDialog.cpp PlaylistOptDialog.h StilDialog.cpp StilDialog.h TextFile.cpp TextFile.h WaveViewDialog.cpp WaveViewDialog.h WaveViewDialogData.cpp WaveViewDialogData.h myTimer.h xsidplay.cpp

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001009000435.12E645771>