summaryrefslogtreecommitdiffstats
path: root/audio/musicbox
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2002-04-19 02:30:02 +0000
committerwill <will@FreeBSD.org>2002-04-19 02:30:02 +0000
commit4c52c9067b06ff76694d44e2bd5819fc06e974fe (patch)
tree8ea2fec29854e5717863bf5e5bf1d1b05d97cefe /audio/musicbox
parent9d74629523b0c2fe5f02ba4bc3f37c73af058448 (diff)
downloadFreeBSD-ports-4c52c9067b06ff76694d44e2bd5819fc06e974fe.zip
FreeBSD-ports-4c52c9067b06ff76694d44e2bd5819fc06e974fe.tar.gz
Say goodbye to Qt 1.x and all of its dependents. The one port I found
which probably isn't supposed to be removed is misc/instant-workstation, which had a dependency on audio/xamp (being removed), so I removed that dependency and bumped PORTREVISION. All other ports are real dependents upon Qt 1.x, including KDE 1.x stuff. Code in bsd.kde.mk supporting these ports is also removed or adjusted. Also, some adjustments made to accomodate Qt3/KDE3 ports, which will be committed Real Soon Now (TM), pending repo-copies. This commit made in impending view of Qt3/KDE3 entering ports tree.
Diffstat (limited to 'audio/musicbox')
-rw-r--r--audio/musicbox/Makefile46
-rw-r--r--audio/musicbox/distinfo1
-rw-r--r--audio/musicbox/files/patch-ListView.cpp26
-rw-r--r--audio/musicbox/files/patch-Makefile98
-rw-r--r--audio/musicbox/files/patch-MultiListBox.h10
-rw-r--r--audio/musicbox/files/patch-player.cpp60
-rw-r--r--audio/musicbox/files/patch-qktstreelist.cpp20
-rw-r--r--audio/musicbox/pkg-comment1
-rw-r--r--audio/musicbox/pkg-descr4
9 files changed, 0 insertions, 266 deletions
diff --git a/audio/musicbox/Makefile b/audio/musicbox/Makefile
deleted file mode 100644
index 9f6dddc..0000000
--- a/audio/musicbox/Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-# New ports collection makefile for: musicbox
-# Date created: 2000-12-31
-# Whom: trevor
-# based on the NetBSD pkgsrc by tron@NetBSD.org
-#
-# $NetBSD: Makefile,v 1.7 2000/07/14 16:04:19 agc Exp $
-# $FreeBSD$
-#
-
-PORTNAME= musicbox
-PORTVERSION= 1.01p2
-CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_NETBSD} # ftp://freebsd.csie.nctu.edu.tw/Upload/
-EXTRACT_SUFX= .tgz
-
-MAINTAINER= trevor@FreeBSD.org
-
-RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
-
-USE_QT_VER= 1
-DOCS= ChangeLog README
-EVAL_PREFIX+= QT1DIR=qt
-PATH= ${QT1DIR}/qt/bin:$$PATH
-PLIST= ${WRKDIR}/pkg-plist
-USE_X_PREFIX= yes
-WRKSRC= ${WRKDIR}/musicbox-1.01
-
-pre-install:
- ${ECHO_CMD} bin/musicbox > ${PLIST}
-.if !defined(NOPORTDOCS)
-.for i in ${DOCS}
- ${ECHO_CMD} share/doc/musicbox/${i} >> ${PLIST}
-.endfor
- ${ECHO_CMD} @dirrm share/doc/musicbox >> ${PLIST}
-.endif
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/musicbox ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/musicbox
-.for i in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/musicbox
-.endfor
-.endif
-
-.include <bsd.port.mk>
diff --git a/audio/musicbox/distinfo b/audio/musicbox/distinfo
deleted file mode 100644
index a33c847..0000000
--- a/audio/musicbox/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (musicbox-1.01p2.tgz) = cdaad5a34c33c78af568bc6e589aa257
diff --git a/audio/musicbox/files/patch-ListView.cpp b/audio/musicbox/files/patch-ListView.cpp
deleted file mode 100644
index 729063c..0000000
--- a/audio/musicbox/files/patch-ListView.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
---- ListView.cpp.orig Wed Feb 17 09:17:11 1999
-+++ ListView.cpp Wed Feb 17 09:21:00 1999
-@@ -383,11 +383,11 @@
- if (item != NULL)
- temp = item;
-
-- lbl = new QLabel("歌星:",this);
-+ lbl = new QLabel("Artist:",this);
- topLayout->addWidget(lbl,0,0);
-- lbl = new QLabel("專輯名稱:",this);
-+ lbl = new QLabel("Album:",this);
- topLayout->addWidget(lbl,1,0);
-- lbl = new QLabel("發行公司:",this);
-+ lbl = new QLabel("Company:",this);
- topLayout->addWidget(lbl,2,0);
-
- Title = new QLabel(this);
-@@ -412,7 +412,7 @@
- connect(btn,SIGNAL(clicked()),this,SLOT(RemoveSong()));
- topLayout->addWidget(btn,4,1);
-
-- lbl = new QLabel("歌曲名稱:",this);
-+ lbl = new QLabel("Title:",this);
- topLayout->addWidget(lbl,4,2);
-
- edtSinger = new QLineEdit(this);
diff --git a/audio/musicbox/files/patch-Makefile b/audio/musicbox/files/patch-Makefile
deleted file mode 100644
index 5aae8cb..0000000
--- a/audio/musicbox/files/patch-Makefile
+++ /dev/null
@@ -1,98 +0,0 @@
---- Makefile.orig Wed Nov 12 11:01:58 1997
-+++ Makefile Sun Dec 31 06:25:59 2000
-@@ -1,6 +1,7 @@
- # change following for your environment
--INC = /usr/X11R6/include/X11/qt
--LIB = /usr/X11R6/lib
-+#INC = /usr/X11R6/include/X11/qt
-+INC = -I${X11BASE}/include -I${X11BASE}/include/X11/qt
-+LIB = -L${X11BASE}/lib -Wl,-R${X11BASE}/lib -L${X11BASE}/lib -Wl,-R${X11BASE}/lib
- MOC = moc
-
- # if you use freebsd
-@@ -18,69 +19,69 @@
- PKG = musicbox
-
- all: ${ALL}
-- ${GCC} ${ALL} -o ${PKG} -L${LIB} -I${INC} -lqt
-+ ${GCC} ${ALL} -o ${PKG} ${LIB} -lqt -lX11 -lXext
-
--player.o:
-- ${GCC} -c player.cpp -o player.o ${CFLAGS} -L${LIB} -I${INC}
-+player.o: player.cpp
-+ ${GCC} -c player.cpp -o player.o ${CFLAGS} ${INC}
-
- mplayer.o: mplayer.cpp
-- ${GCC} -c mplayer.cpp -o mplayer.o ${CFLAGS} -L${LIB} -I${INC}
-+ ${GCC} -c mplayer.cpp -o mplayer.o ${CFLAGS} ${INC}
-
- mplayer.cpp:
- ${MOC} player.h -o mplayer.cpp
-
- ListView.o:
-- ${GCC} -c ListView.cpp -o ListView.o ${CFLAGS} -L${LIB} -I${INC}
-+ ${GCC} -c ListView.cpp -o ListView.o ${CFLAGS} ${INC}
-
- mListView.o: mListView.cpp
-- ${GCC} -c mListView.cpp -o mListView.o ${CFLAGS} -L${LIB} -I${INC}
-+ ${GCC} -c mListView.cpp -o mListView.o ${CFLAGS} ${INC}
-
- mListView.cpp:
- ${MOC} ListView.h -o mListView.cpp
- clock.o:
-- ${GCC} -c clock.cpp -o clock.o -L${LIB} -I${INC}
-+ ${GCC} -c clock.cpp -o clock.o ${INC}
-
- mclock.cpp:
- ${MOC} clock.h -o mclock.cpp
-
- mclock.o: mclock.cpp
-- ${GCC} -c mclock.cpp -o mclock.o -L${LIB} -I${INC}
-+ ${GCC} -c mclock.cpp -o mclock.o ${INC}
-
- mfilebrowse.cpp:
- ${MOC} filebrowse.h -o mfilebrowse.cpp
-
- filebrowse.o :
-- ${GCC} -c filebrowse.cpp -o filebrowse.o -L${LIB} -I${INC}
-+ ${GCC} -c filebrowse.cpp -o filebrowse.o ${INC}
-
- mfilebrowse.o: mfilebrowse.cpp
-- ${GCC} -c mfilebrowse.cpp -o mfilebrowse.o -L${LIB} -I${INC}
-+ ${GCC} -c mfilebrowse.cpp -o mfilebrowse.o ${INC}
-
- diskbrowse.o:
-- ${GCC} -c diskbrowse.cpp -o $@ -L${LIB} -I${INC}
-+ ${GCC} -c diskbrowse.cpp -o $@ ${INC}
-
- mdiskbrowse.o: mdiskbrowse.cpp
-- ${GCC} -c mdiskbrowse.cpp -o $@ -L${LIB} -I${INC}
-+ ${GCC} -c mdiskbrowse.cpp -o $@ ${INC}
-
- mdiskbrowse.cpp:
- ${MOC} diskbrowse.h -o $@
-
- qktstreelist.o:
-- ${GCC} -c qktstreelist.cpp -o $@ -L${LIB} -I${INC}
-+ ${GCC} -c qktstreelist.cpp -o $@ ${INC}
-
- mqktstreelist.o: mqktstreelist.cpp
-- ${GCC} -c mqktstreelist.cpp -o $@ -L${LIB} -I${INC}
-+ ${GCC} -c mqktstreelist.cpp -o $@ ${INC}
-
- mqktstreelist.cpp:
- ${MOC} qktstreelist.h -o $@
-
- MultiListBox.o:
-- ${GCC} -c MultiListBox.cpp -o $@ -L${LIB} -I${INC}
-+ ${GCC} -c MultiListBox.cpp -o $@ ${INC}
-
- mMultiListBox.cpp:
- ${MOC} MultiListBox.h -o $@
-
- mMultiListBox.o: mMultiListBox.cpp
-- ${GCC} -c mMultiListBox.cpp -o $@ -L${LIB} -I${INC}
-+ ${GCC} -c mMultiListBox.cpp -o $@ ${INC}
-
- clean:
- rm -f player mplayer.cpp *.o mclock.cpp mListView.cpp mfilebrowse.cpp \
diff --git a/audio/musicbox/files/patch-MultiListBox.h b/audio/musicbox/files/patch-MultiListBox.h
deleted file mode 100644
index 0f1a18e..0000000
--- a/audio/musicbox/files/patch-MultiListBox.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- MultiListBox.h.orig Wed Nov 12 10:57:00 1997
-+++ MultiListBox.h Sun Dec 31 06:24:22 2000
-@@ -16,7 +16,6 @@
- Pic = i->Pic;
- Text = i->Text;
- }
-- setPixmap(QPixmap& p) {Pic = p;}
- int Width(MultiListBox *box);
- int Height(MultiListBox *box,int max_w);
- void Paint(QPainter *p,int w,int h,int flag=0);
diff --git a/audio/musicbox/files/patch-player.cpp b/audio/musicbox/files/patch-player.cpp
deleted file mode 100644
index 5afe8b4..0000000
--- a/audio/musicbox/files/patch-player.cpp
+++ /dev/null
@@ -1,60 +0,0 @@
---- player.cpp.orig Thu Oct 1 10:00:23 1998
-+++ player.cpp Wed Jun 9 00:56:30 1999
-@@ -72,7 +72,7 @@
- options = new QPopupMenu;
- AutoPlayID = options->insertItem( "&Auto Play", this, SLOT(AutoPlay()) );
- options->setItemChecked( AutoPlayID, isAutoPlay );
-- RepeatID = options->insertItem( "Re&peat", this, SLOT(RepeatPlay()) );
-+ RepeatID = options->insertItem( "&Repeat", this, SLOT(RepeatPlay()) );
- options->setCheckable(TRUE);
- menubar->insertItem( "&Options",options );
- menubar->insertSeparator();
-@@ -150,7 +150,7 @@
-
- QLabel *label;
- label = new QLabel( this );
-- label->setText("歌星:");
-+ label->setText("Artist:");
- label->setGeometry(5,133,125,30);
-
- edtName = new QLabel( this );
-@@ -158,7 +158,7 @@
- edtName->setGeometry(83,136,100,25);
-
- label = new QLabel( this );
-- label->setText("專輯名稱:");
-+ label->setText("Album:");
- label->setGeometry(5,173,125,30);
-
- edtAlbum = new QLabel( this );
-@@ -166,7 +166,7 @@
- edtAlbum->setGeometry(83,176,100,25);
-
- label = new QLabel( this );
-- label->setText("發行公司:");
-+ label->setText("Company:");
- label->setGeometry(5,213,125,30);
-
- edtPub = new QLabel( this );
-@@ -242,15 +242,13 @@
- song->setText(SongBox->text(SongBox->currentItem()));
- dclock->Start(SongBox->currentItem());
- if ((mp3_pid = fork()) == 0 ){
-- char **argv;
-- int i;
-- argv[0]=MP3_PLAYER;
-- argv[1]="-q";
-- argv[2]=(char *)LocBox->text(SongBox->currentItem());
-- argv[3]=NULL;
-- execvp(MP3_PLAYER,argv);
-+ execlp(MP3_PLAYER,
-+ MP3_PLAYER,
-+ "-q",
-+ (char *)LocBox->text(SongBox->currentItem()),
-+ NULL);
- QMessageBox::warning(this,"error","can't exec mpg123\n");
-- exit(1);
-+ _exit(1);
- }
- }
- }
diff --git a/audio/musicbox/files/patch-qktstreelist.cpp b/audio/musicbox/files/patch-qktstreelist.cpp
deleted file mode 100644
index 51bd046..0000000
--- a/audio/musicbox/files/patch-qktstreelist.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
---- qktstreelist.cpp.orig Mon Nov 10 18:10:02 1997
-+++ qktstreelist.cpp Wed Jun 9 00:15:13 1999
-@@ -834,7 +834,7 @@
- QktsItemSearchInfo searchInfo;
- searchInfo.index = index;
- searchInfo.count = -1;
-- forEveryVisibleItem(QktsTreeList::findItemAt, &searchInfo);
-+ forEveryVisibleItem(&QktsTreeList::findItemAt, &searchInfo);
- return searchInfo.foundItem;
- }
-
-@@ -1340,7 +1340,7 @@
- QktsTreeListItem *item = treeRoot->getChild();
- do {
- while(item) {
-- if((func)(item, user)) return;
-+ if((this->*func)(item, user)) return;
- if(item->hasChild() && item->isExpanded()) {
- stack.push(item);
- item = item->getChild();
diff --git a/audio/musicbox/pkg-comment b/audio/musicbox/pkg-comment
deleted file mode 100644
index 6ca3841..0000000
--- a/audio/musicbox/pkg-comment
+++ /dev/null
@@ -1 +0,0 @@
-X11 front end for mpg123
diff --git a/audio/musicbox/pkg-descr b/audio/musicbox/pkg-descr
deleted file mode 100644
index 4d55f0b..0000000
--- a/audio/musicbox/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-Music Box is a Qt-based front end to mpg123.
-
-Trevor Johnson
-trevor@FreeBSD.org
OpenPOWER on IntegriCloud