Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

3
audio/juke/DESCR Normal file
View File

@@ -0,0 +1,3 @@
Juke is a simple ncurses based jukebox program for Unix computers.
It uses command line based players to play different kinds of music
formats.

21
audio/juke/MESSAGE Normal file
View File

@@ -0,0 +1,21 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2003/03/06 22:30:57 salo Exp $
You may wish to install at least some players from pkgsrc to use with juke
(if you don't have them installed already). You can try the following
packages:
audio/amp another mp3 player
audio/flac free lossless audio codec
audio/mad High-quality MPEG audio decoder
audio/mikmod MOD player for UNI IT XM S3M MOD MTM STM DSM MED FAR
ULT 669 files
audio/mpg123 Command-line player for mpeg layer 1, 2 and 3 audio
audio/sidplay tools for playing sidtunes
audio/sox SOund eXchange - universal sound sample translator
audio/vorbis-tools Ogg Vorbis encoder and player
audio/xmp Player for many different Amiga and PC module formats
Preferences can be set in ~/.juke.conf for each user, and for all users in
${PKG_SYSCONFDIR}/juke.conf system-wide.
===========================================================================

34
audio/juke/Makefile Normal file
View File

@@ -0,0 +1,34 @@
# $NetBSD: Makefile,v 1.13 2012/09/12 00:24:40 asau Exp $
#
DISTNAME= juke-0.7
PKGREVISION= 2
CATEGORIES= audio
MASTER_SITES= http://www.moll.no/oyvind/distfiles/
MAINTAINER= mob@bicekru.org
#HOMEPAGE= http://johan.nocrew.org/nav10/unix/juke/
COMMENT= Simple ncurses based jukebox
GNU_CONFIGURE= YES
# halfdelay()
INCOMPAT_CURSES= NetBSD-1.[45]*-* NetBSD-1.6[-_.]*-* NetBSD-1.6[A-L]-*
EGDIR= ${PREFIX}/share/examples/juke
CONF_FILES= ${EGDIR}/juke.conf.default ${PKG_SYSCONFDIR}/juke.conf
SUBST_CLASSES+= paths
SUBST_FILES.paths= doc/juke.1 MANUAL src/conf.c
SUBST_STAGE.paths= post-patch
SUBST_SED.paths= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},'
INSTALLATION_DIRS= ${EGDIR} share/doc/juke
post-install:
${INSTALL_DATA} ${WRKSRC}/juke.conf ${DESTDIR}${EGDIR}/juke.conf.default
${INSTALL_DATA} ${WRKSRC}/MANUAL ${DESTDIR}${PREFIX}/share/doc/juke/
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

5
audio/juke/PLIST Normal file
View File

@@ -0,0 +1,5 @@
@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:32:12 joerg Exp $
bin/juke
man/man1/juke.1
share/doc/juke/MANUAL
share/examples/juke/juke.conf.default

11
audio/juke/distinfo Normal file
View File

@@ -0,0 +1,11 @@
$NetBSD: distinfo,v 1.4 2007/03/18 21:24:00 rillig Exp $
SHA1 (juke-0.7.tar.gz) = 04f5e2265743e2ea01a43ea71531845f97c095c3
RMD160 (juke-0.7.tar.gz) = c3a61c32cf1b340723e097620b8f95670a27b65f
Size (juke-0.7.tar.gz) = 64103 bytes
SHA1 (patch-aa) = e835b1fe8f00d8c5581a87d55407b9979bb73710
SHA1 (patch-ab) = e4a089f7307e6a029b7e0c6b5b862326e160f6d5
SHA1 (patch-ac) = f1c7233cd88ebdbc8df1a5ec5955b6506fd73634
SHA1 (patch-ad) = 3080321b954c2fa1ae83c6e945214c62f0f34e72
SHA1 (patch-ae) = fe4a70293f762a17503c5782163181e873b52186
SHA1 (patch-af) = ec5e9602ffcef4b8e01c00a260b65612e1d9f89a

View File

@@ -0,0 +1,18 @@
$NetBSD: patch-aa,v 1.1.1.1 2003/03/06 22:30:57 salo Exp $
--- src/conf.c.orig 2000-03-06 21:43:13.000000000 +0100
+++ src/conf.c 2003-02-26 17:36:08.000000000 +0100
@@ -207,11 +207,11 @@
return;
}
}
- cfg->file_len = load_file ("/etc/juke.conf", (void **)&cfg->file);
+ cfg->file_len = load_file ("@PKG_SYSCONFDIR@/juke.conf", (void **)&cfg->file);
if (cfg->file_len != ERROR) {
evaluate (cfg);
if (! cfg->formats) {
- fprintf (stderr, "error: No formats in /etc/juke.conf\n");
+ fprintf (stderr, "error: No formats in @PKG_SYSCONFDIR@/juke.conf\n");
exit (ERROR);
}
build_arg_lists (cfg);

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ab,v 1.1.1.1 2003/03/06 22:30:57 salo Exp $
--- doc/juke.1.orig 2003-02-26 17:37:02.000000000 +0100
+++ doc/juke.1 2003-02-26 17:37:20.000000000 +0100
@@ -34,7 +34,7 @@
give the user the possibily of choosing audio files and queue them
for playback. Juke will play mp3, mod, wav and other formats.
.SH FILES
-/etc/juke.conf, ~/.juke.conf
+@PKG_SYSCONFDIR@/juke.conf, ~/.juke.conf
.SH SEE ALSO
.BR mpg123 (1),
.BR play (1),

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-ac,v 1.1.1.1 2003/03/06 22:30:57 salo Exp $
--- MANUAL.orig 2000-09-27 09:06:52.000000000 +0200
+++ MANUAL 2003-02-26 17:38:28.000000000 +0100
@@ -22,8 +22,8 @@
I hope that the format is kind of self explaining.
-The configuration file can be saved as /etc/juke.conf or
-~/.juke.conf. The later is used if both files exists.
+The configuration file can be saved as @PKG_SYSCONFDIR@/juke.conf
+or ~/.juke.conf. The later is used if both files exists.
3 Usage

View File

@@ -0,0 +1,23 @@
$NetBSD: patch-ad,v 1.1 2004/01/28 11:15:35 agc Exp $
--- configure.in 2004/01/28 11:10:31 1.1
+++ configure.in 2004/01/28 11:11:22
@@ -4,12 +4,12 @@
dnl Check system type
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
-case "$target" in
- *-*-netbsd*)
- CPPFLAGS="${CPPFLAGS} -I/usr/pkg/include";
- LDFLAGS="${LDFLAGS} -L/usr/pkg/lib -rpath/usr/pkg/lib";
- ;;
-esac
+dnl case "$target" in
+dnl *-*-netbsd*)
+dnl CPPFLAGS="${CPPFLAGS} -I/usr/pkg/include";
+dnl LDFLAGS="${LDFLAGS} -L/usr/pkg/lib -rpath/usr/pkg/lib";
+dnl ;;
+dnl esac
dnl Set CFLAGS
CFLAGS="$CFLAGS -Wall -O2 -pipe -fomit-frame-pointer"

View File

@@ -0,0 +1,23 @@
$NetBSD: patch-ae,v 1.1 2004/01/28 11:15:35 agc Exp $
--- configure 2004/01/28 11:10:31 1.1
+++ configure 2004/01/28 11:10:56
@@ -586,12 +586,12 @@
target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo "$ac_t""$target" 1>&6
-case "$target" in
- *-*-netbsd*)
- CPPFLAGS="${CPPFLAGS} -I/usr/pkg/include";
- LDFLAGS="${LDFLAGS} -L/usr/pkg/lib -rpath/usr/pkg/lib";
- ;;
-esac
+#case "$target" in
+# *-*-netbsd*)
+# CPPFLAGS="${CPPFLAGS} -I/usr/pkg/include";
+# LDFLAGS="${LDFLAGS} -L/usr/pkg/lib -rpath/usr/pkg/lib";
+# ;;
+#esac
CFLAGS="$CFLAGS -Wall -O2 -pipe -fomit-frame-pointer"

View File

@@ -0,0 +1,27 @@
$NetBSD: patch-af,v 1.1 2007/03/18 21:24:00 rillig Exp $
Unfortunately, "case 1 ... 255" is not included in ISO C99, though it
would be very useful in some cases.
--- src/tui.c.orig 2001-02-11 20:28:53.000000000 +0100
+++ src/tui.c 2007-03-18 22:21:46.000000000 +0100
@@ -688,8 +688,8 @@ static void tui_player_control (struct T
player_kill (p);
if (!p->paused) {
- switch (player_status (p)) {
- case 0:
+ int status = player_status(p);
+ if (status == 0) {
if (tui->queue->items && p->pid) {
queue_skip (tui->queue, tui->dinfo);
tui->disp[DM_QUEUE].items = tui->queue->items;
@@ -699,7 +699,7 @@ static void tui_player_control (struct T
if (!tui->queue->items)
p->pid = 0;
}
- case 1 ... 255:
+ } else if (1 <= status && status <= 255) {
if (tui->queue->items) {
item = queue_get_item (tui->queue, 0);
p->pid = player_play (tui->cfg, tui->dinfo, item);