pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio Remove Rio-related packages.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/997255e2f5bb
branches:  trunk
changeset: 410822:997255e2f5bb
user:      maya <maya%pkgsrc.org@localhost>
date:      Wed Jan 29 19:00:33 2020 +0000

description:
Remove Rio-related packages.

These pacakges are intended to handle an early 2000s MP3 player. I expect
they are no longer in use.

Proposed on pkgsrc-users a month ago.

diffstat:

 audio/Makefile                                        |    5 +-
 audio/rio/DESCR                                       |    7 -
 audio/rio/Makefile                                    |   36 -----
 audio/rio/PLIST                                       |    4 -
 audio/rio/distinfo                                    |    9 -
 audio/rio/files/find-lpt-port                         |   13 --
 audio/rio/patches/patch-aa                            |   52 --------
 audio/rio/patches/patch-ab                            |  110 -----------------
 audio/rio/patches/patch-ac                            |   13 --
 audio/rio500/DESCR                                    |    2 -
 audio/rio500/Makefile                                 |   24 ---
 audio/rio500/PLIST                                    |   47 -------
 audio/rio500/distinfo                                 |   12 -
 audio/rio500/patches/patch-aa                         |   13 --
 audio/rio500/patches/patch-ab                         |   10 -
 audio/rio500/patches/patch-ac                         |  114 ------------------
 audio/rio500/patches/patch-ad                         |   85 -------------
 audio/rio500/patches/patch-ae                         |   35 -----
 audio/rio500/patches/patch-af                         |   12 -
 audio/rioutil/DESCR                                   |    3 -
 audio/rioutil/Makefile                                |   29 ----
 audio/rioutil/PLIST                                   |    5 -
 audio/rioutil/distinfo                                |    9 -
 audio/rioutil/patches/patch-librioutil_driver__file.c |   24 ---
 audio/rioutil/patches/patch-linux__driver_rio__usb.h  |   15 --
 audio/rioutil/patches/patch-src_main.c                |   15 --
 26 files changed, 1 insertions(+), 702 deletions(-)

diffs (truncated from 817 to 300 lines):

diff -r 474711539d66 -r 997255e2f5bb audio/Makefile
--- a/audio/Makefile    Wed Jan 29 16:49:29 2020 +0000
+++ b/audio/Makefile    Wed Jan 29 19:00:33 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.584 2020/01/22 18:17:55 nia Exp $
+# $NetBSD: Makefile,v 1.585 2020/01/29 19:00:33 maya Exp $
 #
 
 COMMENT=       Audio tools
@@ -395,9 +395,6 @@
 SUBDIR+=       quodlibet
 SUBDIR+=       rexima
 SUBDIR+=       rhythmbox
-SUBDIR+=       rio
-SUBDIR+=       rio500
-SUBDIR+=       rioutil
 SUBDIR+=       rip
 SUBDIR+=       rosegarden
 SUBDIR+=       rplay
diff -r 474711539d66 -r 997255e2f5bb audio/rio/DESCR
--- a/audio/rio/DESCR   Wed Jan 29 16:49:29 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-'rio' is a simple command line utility which allows you to display and
-manage files on your Diamond Rio portable music player.
-
-At present the Rio utility supports the Diamond Rio PMP300 with 32M
-internal flash memory.  Additional external flash memory is now
-supported thanks to the work done by Guido March
-(march%pc40.mpier.uni-frankfurt.de@localhost).
diff -r 474711539d66 -r 997255e2f5bb audio/rio/Makefile
--- a/audio/rio/Makefile        Wed Jan 29 16:49:29 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-# $NetBSD: Makefile,v 1.27 2018/01/01 18:16:35 rillig Exp $
-#
-
-DISTNAME=      rio007
-PKGNAME=       rio-1.07
-CATEGORIES=    audio
-MASTER_SITES=  http://www.world.co.uk/sba/
-EXTRACT_SUFX=  .tgz
-
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-#HOMEPAGE=     http://www.world.co.uk/sba/rio.html
-COMMENT=       Utility to display and manage files on the Diamond Rio PMP300
-LICENSE=       gnu-gpl-v2
-
-ONLY_FOR_PLATFORM=     NetBSD-*-i386 NetBSD-*-x86_64
-
-WRKSRC=                ${WRKDIR}/rio107
-MAKE_FILE=     makefile
-USE_LANGUAGES= c++
-LIBS.NetBSD=   -l${MACHINE_ARCH}
-
-INSTALLATION_DIRS=     bin
-SPECIAL_PERMS=         bin/rio ${SETUID_ROOT_PERMS}
-
-do-build:
-       cd ${WRKSRC} && ${CXX} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} ${LIBS} app.cpp rio.cpp -o rio
-       ${SED} ${FILES_SUBST_SED} ${FILESDIR}/find-lpt-port > ${WRKSRC}/find-lpt-port.sh
-
-do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/rio ${DESTDIR}${PREFIX}/bin
-       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/rio
-       ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/rio
-       ${INSTALL_SCRIPT} ${WRKSRC}/find-lpt-port.sh \
-               ${DESTDIR}${PREFIX}/bin/find-lpt-port
-
-.include "../../mk/bsd.pkg.mk"
diff -r 474711539d66 -r 997255e2f5bb audio/rio/PLIST
--- a/audio/rio/PLIST   Wed Jan 29 16:49:29 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-@comment $NetBSD: PLIST,v 1.3 2018/01/01 22:29:17 rillig Exp $
-bin/find-lpt-port
-bin/rio
-share/rio/README
diff -r 474711539d66 -r 997255e2f5bb audio/rio/distinfo
--- a/audio/rio/distinfo        Wed Jan 29 16:49:29 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-$NetBSD: distinfo,v 1.5 2015/11/03 01:12:48 agc Exp $
-
-SHA1 (rio007.tgz) = d7abbcd9619ff6528be31c38d55445bebb44e9f0
-RMD160 (rio007.tgz) = 82528f4877e3339c407b6e5dea9393123d44f72d
-SHA512 (rio007.tgz) = 0109778af6da27113149841abd8f27db71edb8a17267d9acccbeed19751b30aa56545ad619c276fb5235b3edf03fd319ac7fd7c90ecd093bd886b968c18e7d18
-Size (rio007.tgz) = 28953 bytes
-SHA1 (patch-aa) = 2aba53b31ff0b75a297fe7696252c02c03850014
-SHA1 (patch-ab) = e7b0e333be109ebe1a5d291724b874418e1dd919
-SHA1 (patch-ac) = 4f490e55a906891f2c0488e9bdb78f5a26c7f073
diff -r 474711539d66 -r 997255e2f5bb audio/rio/files/find-lpt-port
--- a/audio/rio/files/find-lpt-port     Wed Jan 29 16:49:29 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-#!@SH@
-#
-# $NetBSD: find-lpt-port,v 1.2 2007/06/15 15:13:34 jlam Exp $
-#
-# Small shell script to find the lpt port easily
-
-if [ -e /var/run/dmesg.boot ]; then
-       bootfile="/var/run/dmesg.boot"
-else
-       bootfile='`dmesg`'
-fi
-@AWK@ '/^lp[at][0-9]+/ { gsub("\-.*", "", $5); print $5 }' < $bootfile
-exit 0
diff -r 474711539d66 -r 997255e2f5bb audio/rio/patches/patch-aa
--- a/audio/rio/patches/patch-aa        Wed Jan 29 16:49:29 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2008/08/02 18:32:15 dholland Exp $
-
-Add support for NetBSD and Solaris
-Make sure the program is being run by effective uid 0
-Bug fix: time_t != long. 
-
---- app.cpp.orig       1999-06-11 12:26:46.000000000 -0400
-+++ app.cpp    2008-08-02 14:25:08.000000000 -0400
-@@ -67,6 +67,20 @@
-       #define         SIZE_MAXPATH                    MAXPATH
-       #define         DELETEARRAY                             delete
- 
-+#elif defined(__NetBSD__)
-+      // NetBSD g++
-+      #include        <unistd.h>
-+      #include        <sys/syslimits.h>
-+      #define         SIZE_MAXPATH                    PATH_MAX
-+      #define         DELETEARRAY                             delete[]
-+
-+#elif defined(__sun__) && defined(__svr4__)
-+      // Solaris 2.x g++
-+      #include        <unistd.h>
-+      #include        <limits.h>
-+      #define         SIZE_MAXPATH                    PATH_MAX
-+      #define         DELETEARRAY                             delete[]
-+
- #else
-       // not supported
-       #error ! ! compiler/platform not supported ! !
-@@ -97,7 +111,7 @@
- 
- ///////////////////////////////////////////////////////////////////////////////
- // return pointer to static string containing datetime
--static char* TimeStr( long lValue )
-+static char* TimeStr( time_t lValue )
- {
-       static char szBuf[ 64 ];
-       struct tm* psDateTime;
-@@ -519,6 +533,13 @@ int main( int iCountArg, char* paszArg[]
-               Help();
-               CLEANUP_RETURN( FALSE );
-       }
-+#if defined(__NetBSD__)
-+      if (geteuid() != 0) {
-+              ERRORSTR("You need to be root to run this program,\n");
-+              ERRORSTR("because access is made to the parallel port directly.\n");
-+              CLEANUP_RETURN(FALSE);
-+      }
-+#endif
-       for( int iA=1; iA<iCountArg; ++iA )
-       {
-               // check for display directory request
diff -r 474711539d66 -r 997255e2f5bb audio/rio/patches/patch-ab
--- a/audio/rio/patches/patch-ab        Wed Jan 29 16:49:29 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,110 +0,0 @@
-$NetBSD: patch-ab,v 1.4 2008/08/02 18:32:15 dholland Exp $
-
-Add NetBSD and Solaris platforms
-Add inb() and outb() from XFree86 sources.
-Add NetBSD/x86_64 support.
-
---- rio.cpp.orig       1999-06-11 12:26:46.000000000 -0400
-+++ rio.cpp    2008-08-02 14:16:07.000000000 -0400
-@@ -109,11 +109,101 @@
-       #define         CLOCK_SECOND                    ((int)CLOCKS_PER_SEC)
-       #define         DELETEARRAY                             delete
- 
-+#elif defined(__NetBSD__)
-+      // NetBSD/i386,amd64 g++
-+      #include        <fcntl.h>
-+      #include        <unistd.h>
-+      #include        <machine/sysarch.h>
-+      //#include      <machine/cpufunc.h>
-+      #define         OUTPORT(p,v)                    outb( p, v )
-+      #define         INPORT(p)                               inb( p )
-+      #define         CLOCK_SECOND                    CLOCKS_PER_SEC
-+      #define         DELETEARRAY                             delete[]
-+
-+#elif defined(__sun__) && defined(__svr4__)
-+      // Solaris/i386 g++
-+      #include        <fcntl.h>
-+      #include        <unistd.h>
-+      #include        <sys/cpupart.h>
-+      #include        <sys/cpuvar.h>
-+      #include        <sys/ddi.h>
-+      #include        <sys/sunddi.h>
-+      #define         OUTPORT(p,v)                    outb( p, v )
-+      #define         INPORT(p)                               inb( p )
-+      #define         CLOCK_SECOND                    CLOCKS_PER_SEC
-+      #define         DELETEARRAY                             delete[]
-+
- #else
-       // not supported
-       #error ! ! compiler/platform not supported ! !
- #endif
- 
-+#if defined(__NetBSD__)
-+/* copied from the XFree86 sources */
-+/* xc/programs/Xserver/hw/xfree86/common/compiler.h */
-+/* $XFree86: xc/programs/Xserver/hw/xfree86/common/compiler.h,v 3.24.2.4 1998/10/18 20:42:10 hohndel Exp $ */
-+/*
-+ * Copyright 1990,91 by Thomas Roell, Dinkelscherben, Germany.
-+ *
-+ * Permission to use, copy, modify, distribute, and sell this software and its
-+ * documentation for any purpose is hereby granted without fee, provided that
-+ * the above copyright notice appear in all copies and that both that
-+ * copyright notice and this permission notice appear in supporting
-+ * documentation, and that the name of Thomas Roell not be used in
-+ * advertising or publicity pertaining to distribution of the software without
-+ * specific, written prior permission.  Thomas Roell makes no representations
-+ * about the suitability of this software for any purpose.  It is provided
-+ * "as is" without express or implied warranty.
-+ *
-+ * THOMAS ROELL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
-+ * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
-+ * EVENT SHALL THOMAS ROELL BE LIABLE FOR ANY SPECIAL, INDIRECT OR
-+ * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
-+ * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
-+ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-+ * PERFORMANCE OF THIS SOFTWARE.
-+ *
-+ */
-+/* $XConsortium: compiler.h /main/16 1996/10/25 15:38:34 kaleb $ */
-+/* also hacked by agc to do i386_iopl, and by dholland for x86_64_iopl */
-+static int ports_enabled;
-+
-+static __inline__ unsigned int
-+inb(unsigned short int port)
-+{
-+      unsigned char   ret;
-+
-+      if (!ports_enabled) {
-+#ifdef __i386__
-+              i386_iopl(1);
-+#endif
-+#ifdef __x86_64__
-+              x86_64_iopl(1);
-+#endif
-+              ports_enabled = 1;
-+      }
-+      __asm__ __volatile__("inb %1,%0" :
-+              "=a" (ret) :
-+              "d" (port));
-+      return ret;
-+}
-+
-+static __inline__ void
-+outb(unsigned short int port, unsigned char val)
-+{
-+      if (!ports_enabled) {
-+#ifdef __i386__
-+              i386_iopl(1);
-+#endif
-+#ifdef __x86_64__
-+              x86_64_iopl(1);
-+#endif
-+              ports_enabled = 1;
-+      }
-+      __asm__ __volatile__("outb %0,%1" : :"a" (val), "d" (port));
-+}
-+#endif
-+
- // port offset constants
- #define               OFFSET_PORT_DATA                0
- #define               OFFSET_PORT_STATUS              1
diff -r 474711539d66 -r 997255e2f5bb audio/rio/patches/patch-ac
--- a/audio/rio/patches/patch-ac        Wed Jan 29 16:49:29 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2000/01/11 11:32:12 agc Exp $
-
---- makefile   2000/01/07 14:53:24     1.1
-+++ makefile   2000/01/07 14:53:54
-@@ -9,7 +9,7 @@
- all:          rio
- 
- rio:          app.cpp rio.cpp
--              g++ -O1 -o rio app.cpp rio.cpp
-+              g++ -O1 -o rio app.cpp rio.cpp -li386
-               chmod +s rio
- 
- clean:
diff -r 474711539d66 -r 997255e2f5bb audio/rio500/DESCR
--- a/audio/rio500/DESCR        Wed Jan 29 16:49:29 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-Utilities to upload files and manage folders for Diamond Rio 500 MP3 player.



Home | Main Index | Thread Index | Old Index