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

19
sysutils/xcdroast/DESCR Normal file
View File

@@ -0,0 +1,19 @@
This is a snapshot-preview of the new GTK-based X-CD-Roast.
There are still some features missing, please see this version only
as a test. But it is already a more than complete replacement of
the old version 0.96ex.
Some features: (marked with "*" if already implemented and working)
- Portable (*)
- Multi langual (*)
- CDDB-support (*)
- Graphical setup (*)
- Graphical wav-player (*)
- Tooltip help (*)
- Copies Data (*), Audio (*), Mixed-Mode (*), Multisession, CD-Extra
- Creates Data (*), Audio (*), Mixed-Mode (*), Multisession, CD-Extra
- Bootable CD support (*)
- Copy (*)/Master (*) on the fly.
- Administration mode for usage in computer pools. (*)
- MP3 encoding/decoding.

20
sysutils/xcdroast/INSTALL Normal file
View File

@@ -0,0 +1,20 @@
# $NetBSD: INSTALL,v 1.1 2002/09/26 12:29:55 jlam Exp $
case ${STAGE} in
POST-INSTALL)
if [ "${PKG_SYSCONFDIR}" != "${PKG_PREFIX}/etc" ]; then
if [ -f ${PREFIX}/etc/xcdroast.conf ]; then
${CAT} << EOF
===========================================================================
========================
=== IMPORTANT NOTICE ===
========================
The default location of the xcdroast configuration files has changed.
Please move them from ${PKG_PREFIX}/etc to /etc.
===========================================================================
EOF
fi
fi
;;
esac

View File

@@ -0,0 +1,6 @@
===========================================================================
$NetBSD: MESSAGE,v 1.2 2002/09/26 12:29:55 jlam Exp $
xcdroast doesn't work as SUID program if linked against GTK+. Other
options include making cdrecord SUID or using a wrapper like sudo.
===========================================================================

View File

@@ -0,0 +1,57 @@
# $NetBSD: Makefile,v 1.69 2013/06/06 12:55:06 wiz Exp $
DISTNAME= xcdroast-${DIST_VER}
PKGNAME= xcdroast-${DIST_VER:S/alpha/a/}
PKGREVISION= 18
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xcdroast/}
PATCH_SITES= http://www.xcdroast.org/xcdr098/patches/
PATCHFILES= parse_version.patch
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.xcdroast.org/
COMMENT= Graphical user interface for the command-line cdrecord-tools
DEPENDS+= cdrtools>=2.01:../../sysutils/cdrtools
DIST_VER= 0.98alpha16
USE_TOOLS+= gmake msgfmt pkg-config
USE_PKGLOCALEDIR= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --enable-gtk2
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
.include "../../mk/bsd.prefs.mk"
.if ${_OPSYS_HAS_OSSAUDIO} == "yes"
CFLAGS+= -DHAVE_OSS
CONFIGURE_ENV+= AUDIO_LIBS=${LIBOSSAUDIO}
.endif
DOCDIR= ${PREFIX}/share/doc/xcdroast
DOCFILES= DOCUMENTATION FAQ README.nonroot manual/xcdroast-manual.pdf
HTMLDIR= ${PREFIX}/share/doc/html/xcdroast
CONF_FILES= /dev/null ${PKG_SYSCONFDIR}/xcdroast.conf
SUBST_CLASSES+= devossaudio
SUBST_STAGE.devossaudio= pre-build
SUBST_MESSAGE.devossaudio= Fixing path to audio device.
SUBST_FILES.devossaudio= io.c wavplay.c
SUBST_SED.devossaudio= -e "s,@DEVOSSAUDIO@,${DEVOSSAUDIO},g"
INSTALLATION_DIRS= ${DOCDIR}
post-install:
(cd ${WRKSRC}/doc; \
for file in ${DOCFILES}; do \
${INSTALL_DATA} $${file} ${DESTDIR}${DOCDIR}; \
done)
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

55
sysutils/xcdroast/PLIST Normal file
View File

@@ -0,0 +1,55 @@
@comment $NetBSD: PLIST,v 1.8 2009/06/14 18:16:21 joerg Exp $
bin/xcdroast
lib/xcdroast-0.98/bin/cddbtool
lib/xcdroast-0.98/bin/rmtool
lib/xcdroast-0.98/bin/vrfytool
lib/xcdroast-0.98/bin/wavplay
lib/xcdroast-0.98/bin/xcdrwrap
lib/xcdroast-0.98/icons/burnproof.gif
lib/xcdroast-0.98/icons/cddblogo.gif
lib/xcdroast-0.98/icons/dialog_default.png
lib/xcdroast-0.98/icons/dialog_error.png
lib/xcdroast-0.98/icons/dialog_information.png
lib/xcdroast-0.98/icons/dialog_question.png
lib/xcdroast-0.98/icons/dialog_warning.png
lib/xcdroast-0.98/icons/xcdricon.gif
lib/xcdroast-0.98/icons/xcdricon.png
lib/xcdroast-0.98/icons/xcdrlogo.gif
lib/xcdroast-0.98/sound/test.wav
man/man1/xcdroast.1
share/doc/xcdroast/DOCUMENTATION
share/doc/xcdroast/FAQ
share/doc/xcdroast/README.nonroot
share/doc/xcdroast/xcdroast-manual.pdf
share/locale/bg/LC_MESSAGES/xcdroast.mo
share/locale/ca/LC_MESSAGES/xcdroast.mo
share/locale/cs/LC_MESSAGES/xcdroast.mo
share/locale/da/LC_MESSAGES/xcdroast.mo
share/locale/de/LC_MESSAGES/xcdroast.mo
share/locale/el_GR/LC_MESSAGES/xcdroast.mo
share/locale/es/LC_MESSAGES/xcdroast.mo
share/locale/et/LC_MESSAGES/xcdroast.mo
share/locale/fi/LC_MESSAGES/xcdroast.mo
share/locale/fr/LC_MESSAGES/xcdroast.mo
share/locale/gl/LC_MESSAGES/xcdroast.mo
share/locale/hr/LC_MESSAGES/xcdroast.mo
share/locale/hu/LC_MESSAGES/xcdroast.mo
share/locale/id/LC_MESSAGES/xcdroast.mo
share/locale/it/LC_MESSAGES/xcdroast.mo
share/locale/ja/LC_MESSAGES/xcdroast.mo
share/locale/lv/LC_MESSAGES/xcdroast.mo
share/locale/nl/LC_MESSAGES/xcdroast.mo
share/locale/no/LC_MESSAGES/xcdroast.mo
share/locale/pl/LC_MESSAGES/xcdroast.mo
share/locale/pt_BR/LC_MESSAGES/xcdroast.mo
share/locale/ro/LC_MESSAGES/xcdroast.mo
share/locale/ru/LC_MESSAGES/xcdroast.mo
share/locale/sk/LC_MESSAGES/xcdroast.mo
share/locale/sq_AL/LC_MESSAGES/xcdroast.mo
share/locale/sv/LC_MESSAGES/xcdroast.mo
share/locale/tr/LC_MESSAGES/xcdroast.mo
share/locale/uk/LC_MESSAGES/xcdroast.mo
share/locale/zh_CN/LC_MESSAGES/xcdroast.mo
share/locale/zh_CN.GB2312/LC_MESSAGES/xcdroast.mo
share/locale/zh_TW/LC_MESSAGES/xcdroast.mo
share/locale/zh_TW.Big5/LC_MESSAGES/xcdroast.mo

View File

@@ -0,0 +1,10 @@
$NetBSD: distinfo,v 1.16 2009/02/11 21:48:39 shattered Exp $
SHA1 (parse_version.patch) = b4f85e53d050f355a162e9ca94b6b928f10fc5a8
RMD160 (parse_version.patch) = 4d1f14240657dbf58721727ea4e993d6bd3d3273
Size (parse_version.patch) = 338 bytes
SHA1 (xcdroast-0.98alpha16.tar.gz) = bbb3184a7e2bfd80d931698002dc9f74f136241d
RMD160 (xcdroast-0.98alpha16.tar.gz) = d0d63b6387d9aeace5aaef8ee935b6c6d4836259
Size (xcdroast-0.98alpha16.tar.gz) = 3563666 bytes
SHA1 (patch-aa) = 0beee32a5550646cd360459d90281cb0ec9a826a
SHA1 (patch-ad) = 501a40eeac05ba96483e6399880b5cf2bd629695

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-aa,v 1.4 2002/12/02 20:29:49 drochner Exp $
--- src/gettext.h.orig Mon Dec 2 11:48:41 2002
+++ src/gettext.h Mon Dec 2 11:49:25 2002
@@ -24,6 +24,7 @@
/* Get declarations of GNU message catalog functions. */
# include <libintl.h>
+# include <locale.h>
#else

View File

@@ -0,0 +1,70 @@
$NetBSD: patch-ad,v 1.5 2009/02/11 21:48:39 shattered Exp $
--- src/wavplay.c.orig 2008-08-20 15:34:02.000000000 +0000
+++ src/wavplay.c
@@ -23,6 +23,14 @@
#include <unistd.h>
#include <fcntl.h>
#include <string.h>
+#ifdef __NetBSD__
+#include <sys/ioctl.h>
+# ifdef HAVE_OSS
+# include <soundcard.h>
+# else
+# include <sys/audioio.h>
+# endif
+#endif
#if defined(linux) || defined(__CYGWIN32__)
# include <getopt.h>
#endif
@@ -72,8 +80,8 @@ gint read_line(gint fd, gchar *ptr, gint
off_t is_std_wav_file(int f, off_t *offset);
-#if defined(linux) || defined(__FreeBSD__)
-#define DEFAULT_AUDIO_DEVICE "/dev/dsp"
+#if defined(linux) || defined(__FreeBSD__) || (defined(__NetBSD__) && defined(HAVE_OSS))
+#define DEFAULT_AUDIO_DEVICE "@DEVOSSAUDIO@"
#elif defined (aix)
#define DEFAULT_AUDIO_DEVICE ""
#elif defined(__sgi)
@@ -309,7 +317,7 @@ int audio_write( void *buffer, int buf_s
#endif
-#if defined(linux) || defined(__FreeBSD__)
+#if defined(linux) || defined(__FreeBSD__) || (defined(__NetBSD__) && defined(HAVE_OSS))
/* open the sound-device of linux and set cd-quality */
@@ -360,7 +368,7 @@ gint flags;
#endif
-#if defined(sun) || defined(__OpenBSD__)
+#if defined(sun) || defined(__OpenBSD__) || (defined(__NetBSD__) && !defined(HAVE_OSS))
/* open the sound-device of solaris and set cd-quality */
@@ -387,7 +395,7 @@ gint flags;
info.play.precision = 16;
info.play.encoding = AUDIO_ENCODING_LINEAR;
info.play.buffer_size = abuf_size;
-#ifndef __OpenBSD__
+#if !defined(__OpenBSD__) && !defined(__NetBSD__)
info.output_muted = 0;
#endif
@@ -787,10 +795,10 @@ gchar keybuffer[MAXLINE];
/* the open sets also the global abuf_size-variable */
-#if defined(linux) || defined(__FreeBSD__)
+#if defined(linux) || defined(__FreeBSD__) || (defined(__NetBSD__) && defined(HAVE_OSS))
audio = open_linux_audio(audio_dev);
#endif
-#if defined(sun) || defined(__OpenBSD__)
+#if defined(sun) || defined(__OpenBSD__) || (defined(__NetBSD__) && !defined(HAVE_OSS))
audio = open_solaris_audio(audio_dev);
#endif
#ifdef aix