parent
d56e36c86f
commit
65a742671f
|
@ -13,6 +13,10 @@ COMMENT= Utilities for Apple Macintosh files
|
|||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
MAKEFILE= makefile
|
||||
|
||||
DEPRECATED= Not maintained in 16 years, many missing header inclusions
|
||||
EXPIRATION_DATE= 2017-03-17
|
||||
|
||||
CFLAGS+= -DMAXNAMLEN=255
|
||||
BINDIR= ${STAGEDIR}${PREFIX}/bin
|
||||
DOCFILES= README.crc README.hexbin README.macput README.unpit \
|
||||
README.zoom README.crc.orig README.macget README.scan \
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= Horde_Compress
|
||||
PORTVERSION= 2.1.5
|
||||
PORTVERSION= 2.1.6
|
||||
CATEGORIES= archivers www pear
|
||||
PKGNAMEPREFIX= pear-
|
||||
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (Horde/Horde_Compress-2.1.5.tgz) = cb66cf97623be6a162d247d9d84e46cfb254df716c2483eb5ff4fb96cb7c957c
|
||||
SIZE (Horde/Horde_Compress-2.1.5.tgz) = 2194115
|
||||
TIMESTAMP = 1481937629
|
||||
SHA256 (Horde/Horde_Compress-2.1.6.tgz) = 3c66fe9f01507275efd1a1ad997825691bb16408910ef651cd1dedcb30905e03
|
||||
SIZE (Horde/Horde_Compress-2.1.6.tgz) = 2194074
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= Horde_Pack
|
||||
PORTVERSION= 1.0.6
|
||||
PORTVERSION= 1.0.7
|
||||
CATEGORIES= archivers www pear
|
||||
PKGNAMEPREFIX= pear-
|
||||
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (Horde/Horde_Pack-1.0.6.tgz) = 6d85c791effa85e515b581f831b93f85c601331c0124a325ca0f4c8b34dac957
|
||||
SIZE (Horde/Horde_Pack-1.0.6.tgz) = 15969
|
||||
TIMESTAMP = 1481937654
|
||||
SHA256 (Horde/Horde_Pack-1.0.7.tgz) = 36943ce412b53eafab8149336468ef68aa00613bc473875b565cb0630bde3da8
|
||||
SIZE (Horde/Horde_Pack-1.0.7.tgz) = 16074
|
||||
|
|
|
@ -3,36 +3,23 @@
|
|||
|
||||
PORTNAME= rpm
|
||||
PORTVERSION= 4.12.0.1
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= archivers
|
||||
MASTER_SITES= http://rpm.org/releases/rpm-${PORTVERSION:R:R}.x/
|
||||
PKGNAMESUFFIX= 4
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= The RPM Package Manager
|
||||
COMMENT= Red Hat Package Manager
|
||||
|
||||
LIB_DEPENDS= libpopt.so:devel/popt \
|
||||
libnss3.so:security/nss \
|
||||
libdbus-1.so:devel/dbus
|
||||
libnss3.so:security/nss
|
||||
BUILD_DEPENDS= ${LOCALBASE}/bin/gsed:textproc/gsed
|
||||
|
||||
OPTIONS_DEFINE= PYTHON NLS DOCS
|
||||
OPTIONS_DEFAULT=PYTHON
|
||||
OPTIONS_SUB= yes
|
||||
PYTHON_CONFIGURE_ENABLE=python
|
||||
PYTHON_USES= python:2.7
|
||||
NLS_CONFIGURE_ENABLE=nls
|
||||
NLS_USES= gettext
|
||||
NLS_LIBS= -lintl
|
||||
PORTDOCS= *
|
||||
|
||||
USES= alias bdb gmake libarchive libtool lua:51 pathfix pkgconfig \
|
||||
shebangfix tar:bzip2
|
||||
INVALID_BDB_VER=51
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
CONFLICTS_INSTALL= rpm-[35].* rpm5-*
|
||||
SHEBANG_FILES= scripts/brp-python-bytecompile scripts/check-prereqs \
|
||||
scripts/check-rpaths-worker scripts/pythondeps.sh \
|
||||
scripts/mono-find-requires scripts/mono-find-provides \
|
||||
|
@ -41,32 +28,50 @@ SHEBANG_FILES= scripts/brp-python-bytecompile scripts/check-prereqs \
|
|||
scripts/perl.prov scripts/perl.req scripts/perldeps.pl \
|
||||
scripts/osgideps.pl scripts/tcl.req \
|
||||
python/rpm/transaction.py
|
||||
CONFIGURE_ARGS= --with-external-db \
|
||||
--without-db \
|
||||
--with-popt-prefix="${LOCALBASE}" \
|
||||
--sysconfdir=${PREFIX}/etc \
|
||||
--localstatedir=/var \
|
||||
--without-javaglue
|
||||
CONFIGURE_ENV= LUA_CFLAGS=-I${LUA_INCDIR} \
|
||||
LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER} -lm"
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include \
|
||||
-I${LOCALBASE}/include/nspr -I${LOCALBASE}/include/nss/nss \
|
||||
-I${BDB_INCLUDE_DIR} -I${LUA_INCDIR}
|
||||
LDFLAGS+= -L${LOCALBASE}/lib -L${LOCALBASE}/lib/nss \
|
||||
-L${BDB_LIB_DIR} -L${LUA_LIBDIR}
|
||||
CONFIGURE_ARGS+=--with-external-db \
|
||||
--without-db \
|
||||
--with-popt-prefix="${LOCALBASE}" \
|
||||
--sysconfdir=${PREFIX}/etc \
|
||||
--localstatedir=/var \
|
||||
--without-javaglue
|
||||
CONFIGURE_ENV+= LUA_CFLAGS=-I${LUA_INCDIR} \
|
||||
LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER} -lm"
|
||||
PLIST_SUB+= VERSION=${PORTVERSION}
|
||||
|
||||
PLIST_SUB= VERSION=${PORTVERSION} \
|
||||
OPSYS=${OPSYS:tl}
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
OPTIONS_DEFINE= PYTHON PLUGINS NLS DOCS
|
||||
OPTIONS_DEFAULT=PYTHON PLUGINS
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
PYTHON_CONFIGURE_ENABLE=python
|
||||
PYTHON_USES= python:2.7
|
||||
|
||||
NLS_CONFIGURE_ENABLE= nls
|
||||
NLS_USES= gettext
|
||||
NLS_LIBS= -lintl
|
||||
|
||||
PLUGINS_CONFIGURE_ENABLE=plugins
|
||||
PLUGINS_LIB_DEPENDS= libdbus-1.so:devel/dbus
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's:\.\./\.\./bin/::' ${WRKSRC}/Makefile.in
|
||||
${REINPLACE_CMD} -e 's/(hpux)/& || defined(__FreeBSD__)/' \
|
||||
@${REINPLACE_CMD} -e 's:\.\./\.\./bin/::' ${WRKSRC}/Makefile.in
|
||||
@${REINPLACE_CMD} -e 's/(hpux)/& || defined(__FreeBSD__)/' \
|
||||
${WRKSRC}/misc/fts.?
|
||||
${REINPLACE_CMD} -e 's/ __GLIBC__.*/& || defined(__FreeBSD__)/' \
|
||||
@${REINPLACE_CMD} -e 's/ __GLIBC__.*/& || defined(__FreeBSD__)/' \
|
||||
${WRKSRC}/system.h
|
||||
|
||||
post-install:
|
||||
# Install documentation
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} librpm/html ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -64,8 +64,8 @@ lib/librpmsign.so.3.3.1
|
|||
%%PYTHON%%%%PYTHON_SITELIBDIR%%/rpm/_rpmb.so
|
||||
%%PYTHON%%%%PYTHON_SITELIBDIR%%/rpm/_rpms.so
|
||||
%%PYTHON%%%%PYTHON_SITELIBDIR%%/rpm/transaction.py
|
||||
lib/rpm-plugins/syslog.so
|
||||
lib/rpm-plugins/systemd_inhibit.so
|
||||
%%PLUGINS%%lib/rpm-plugins/syslog.so
|
||||
%%PLUGINS%%lib/rpm-plugins/systemd_inhibit.so
|
||||
lib/rpm/appdata.prov
|
||||
lib/rpm/brp-compress
|
||||
lib/rpm/brp-java-gcjcompile
|
||||
|
@ -114,60 +114,60 @@ lib/rpm/perl.prov
|
|||
lib/rpm/perl.req
|
||||
lib/rpm/perldeps.pl
|
||||
lib/rpm/pkgconfigdeps.sh
|
||||
lib/rpm/platform/aarch64-freebsd/macros
|
||||
lib/rpm/platform/alpha-freebsd/macros
|
||||
lib/rpm/platform/alphaev5-freebsd/macros
|
||||
lib/rpm/platform/alphaev56-freebsd/macros
|
||||
lib/rpm/platform/alphaev6-freebsd/macros
|
||||
lib/rpm/platform/alphaev67-freebsd/macros
|
||||
lib/rpm/platform/alphapca56-freebsd/macros
|
||||
lib/rpm/platform/amd64-freebsd/macros
|
||||
lib/rpm/platform/armv3l-freebsd/macros
|
||||
lib/rpm/platform/armv4b-freebsd/macros
|
||||
lib/rpm/platform/armv4l-freebsd/macros
|
||||
lib/rpm/platform/armv5tejl-freebsd/macros
|
||||
lib/rpm/platform/armv5tel-freebsd/macros
|
||||
lib/rpm/platform/armv6hl-freebsd/macros
|
||||
lib/rpm/platform/armv6l-freebsd/macros
|
||||
lib/rpm/platform/armv7hl-freebsd/macros
|
||||
lib/rpm/platform/armv7hnl-freebsd/macros
|
||||
lib/rpm/platform/armv7l-freebsd/macros
|
||||
lib/rpm/platform/athlon-freebsd/macros
|
||||
lib/rpm/platform/geode-freebsd/macros
|
||||
lib/rpm/platform/i386-freebsd/macros
|
||||
lib/rpm/platform/i486-freebsd/macros
|
||||
lib/rpm/platform/i586-freebsd/macros
|
||||
lib/rpm/platform/i686-freebsd/macros
|
||||
lib/rpm/platform/ia32e-freebsd/macros
|
||||
lib/rpm/platform/ia64-freebsd/macros
|
||||
lib/rpm/platform/m68k-freebsd/macros
|
||||
lib/rpm/platform/noarch-freebsd/macros
|
||||
lib/rpm/platform/pentium3-freebsd/macros
|
||||
lib/rpm/platform/pentium4-freebsd/macros
|
||||
lib/rpm/platform/ppc-freebsd/macros
|
||||
lib/rpm/platform/ppc32dy4-freebsd/macros
|
||||
lib/rpm/platform/ppc64-freebsd/macros
|
||||
lib/rpm/platform/ppc64iseries-freebsd/macros
|
||||
lib/rpm/platform/ppc64le-freebsd/macros
|
||||
lib/rpm/platform/ppc64p7-freebsd/macros
|
||||
lib/rpm/platform/ppc64pseries-freebsd/macros
|
||||
lib/rpm/platform/ppc8260-freebsd/macros
|
||||
lib/rpm/platform/ppc8560-freebsd/macros
|
||||
lib/rpm/platform/ppciseries-freebsd/macros
|
||||
lib/rpm/platform/ppcpseries-freebsd/macros
|
||||
lib/rpm/platform/s390-freebsd/macros
|
||||
lib/rpm/platform/s390x-freebsd/macros
|
||||
lib/rpm/platform/sh-freebsd/macros
|
||||
lib/rpm/platform/sh3-freebsd/macros
|
||||
lib/rpm/platform/sh4-freebsd/macros
|
||||
lib/rpm/platform/sh4a-freebsd/macros
|
||||
lib/rpm/platform/sparc-freebsd/macros
|
||||
lib/rpm/platform/sparc64-freebsd/macros
|
||||
lib/rpm/platform/sparc64v-freebsd/macros
|
||||
lib/rpm/platform/sparcv8-freebsd/macros
|
||||
lib/rpm/platform/sparcv9-freebsd/macros
|
||||
lib/rpm/platform/sparcv9v-freebsd/macros
|
||||
lib/rpm/platform/x86_64-freebsd/macros
|
||||
lib/rpm/platform/aarch64-%%OPSYS%%/macros
|
||||
lib/rpm/platform/alpha-%%OPSYS%%/macros
|
||||
lib/rpm/platform/alphaev5-%%OPSYS%%/macros
|
||||
lib/rpm/platform/alphaev56-%%OPSYS%%/macros
|
||||
lib/rpm/platform/alphaev6-%%OPSYS%%/macros
|
||||
lib/rpm/platform/alphaev67-%%OPSYS%%/macros
|
||||
lib/rpm/platform/alphapca56-%%OPSYS%%/macros
|
||||
lib/rpm/platform/amd64-%%OPSYS%%/macros
|
||||
lib/rpm/platform/armv3l-%%OPSYS%%/macros
|
||||
lib/rpm/platform/armv4b-%%OPSYS%%/macros
|
||||
lib/rpm/platform/armv4l-%%OPSYS%%/macros
|
||||
lib/rpm/platform/armv5tejl-%%OPSYS%%/macros
|
||||
lib/rpm/platform/armv5tel-%%OPSYS%%/macros
|
||||
lib/rpm/platform/armv6hl-%%OPSYS%%/macros
|
||||
lib/rpm/platform/armv6l-%%OPSYS%%/macros
|
||||
lib/rpm/platform/armv7hl-%%OPSYS%%/macros
|
||||
lib/rpm/platform/armv7hnl-%%OPSYS%%/macros
|
||||
lib/rpm/platform/armv7l-%%OPSYS%%/macros
|
||||
lib/rpm/platform/athlon-%%OPSYS%%/macros
|
||||
lib/rpm/platform/geode-%%OPSYS%%/macros
|
||||
lib/rpm/platform/i386-%%OPSYS%%/macros
|
||||
lib/rpm/platform/i486-%%OPSYS%%/macros
|
||||
lib/rpm/platform/i586-%%OPSYS%%/macros
|
||||
lib/rpm/platform/i686-%%OPSYS%%/macros
|
||||
lib/rpm/platform/ia32e-%%OPSYS%%/macros
|
||||
lib/rpm/platform/ia64-%%OPSYS%%/macros
|
||||
lib/rpm/platform/m68k-%%OPSYS%%/macros
|
||||
lib/rpm/platform/noarch-%%OPSYS%%/macros
|
||||
lib/rpm/platform/pentium3-%%OPSYS%%/macros
|
||||
lib/rpm/platform/pentium4-%%OPSYS%%/macros
|
||||
lib/rpm/platform/ppc-%%OPSYS%%/macros
|
||||
lib/rpm/platform/ppc32dy4-%%OPSYS%%/macros
|
||||
lib/rpm/platform/ppc64-%%OPSYS%%/macros
|
||||
lib/rpm/platform/ppc64iseries-%%OPSYS%%/macros
|
||||
lib/rpm/platform/ppc64le-%%OPSYS%%/macros
|
||||
lib/rpm/platform/ppc64p7-%%OPSYS%%/macros
|
||||
lib/rpm/platform/ppc64pseries-%%OPSYS%%/macros
|
||||
lib/rpm/platform/ppc8260-%%OPSYS%%/macros
|
||||
lib/rpm/platform/ppc8560-%%OPSYS%%/macros
|
||||
lib/rpm/platform/ppciseries-%%OPSYS%%/macros
|
||||
lib/rpm/platform/ppcpseries-%%OPSYS%%/macros
|
||||
lib/rpm/platform/s390-%%OPSYS%%/macros
|
||||
lib/rpm/platform/s390x-%%OPSYS%%/macros
|
||||
lib/rpm/platform/sh-%%OPSYS%%/macros
|
||||
lib/rpm/platform/sh3-%%OPSYS%%/macros
|
||||
lib/rpm/platform/sh4-%%OPSYS%%/macros
|
||||
lib/rpm/platform/sh4a-%%OPSYS%%/macros
|
||||
lib/rpm/platform/sparc-%%OPSYS%%/macros
|
||||
lib/rpm/platform/sparc64-%%OPSYS%%/macros
|
||||
lib/rpm/platform/sparc64v-%%OPSYS%%/macros
|
||||
lib/rpm/platform/sparcv8-%%OPSYS%%/macros
|
||||
lib/rpm/platform/sparcv9-%%OPSYS%%/macros
|
||||
lib/rpm/platform/sparcv9v-%%OPSYS%%/macros
|
||||
lib/rpm/platform/x86_64-%%OPSYS%%/macros
|
||||
lib/rpm/pythondeps.sh
|
||||
lib/rpm/rpm.daily
|
||||
lib/rpm/rpm.log
|
||||
|
|
|
@ -25,6 +25,7 @@ ALL_TARGET= all extra
|
|||
MAKE_ENV= INSTALL_DIR=${STAGEDIR}${PREFIX}/${PORTNAME}
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
SUB_FILES= pkg-message
|
||||
LDFLAGS= -lz
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -E 's,python (setup|-c),${PYTHON_CMD} \1,' \
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
--- include/astrometry/an-endian.h.orig 2015-12-12 19:02:27 UTC
|
||||
+++ include/astrometry/an-endian.h
|
||||
@@ -11,7 +11,7 @@
|
||||
// (actually 10.5 does)
|
||||
#if __APPLE__
|
||||
# include <sys/types.h>
|
||||
-#elif __FreeBSD__
|
||||
+#elif defined(__FreeBSD__) || defined(__DragonFly__)
|
||||
# include <sys/endian.h>
|
||||
#elif __sun
|
||||
# include <sys/isa_defs.h>
|
|
@ -18,13 +18,15 @@ LIB_DEPENDS= libgdal.so:graphics/gdal \
|
|||
libexpat.so:textproc/expat2
|
||||
BUILD_DEPENDS= sparsehash>=0:devel/sparsehash
|
||||
|
||||
BROKEN_FreeBSD_9= does not build (lack of c++11 support)
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= osmcode
|
||||
|
||||
USES= cmake compiler:c++11-lib
|
||||
CMAKE_ARGS= -DBUILD_EXAMPLES:BOOL=OFF
|
||||
|
||||
# though it build tests, the library itself it header-only
|
||||
# though it builds tests, the library itself is header-only
|
||||
NO_ARCH= yes
|
||||
|
||||
PORTDOCS= *
|
||||
|
|
|
@ -12,6 +12,9 @@ DISTNAME= perl-GPS-${PORTVERSION}
|
|||
MAINTAINER= ehaupt@FreeBSD.org
|
||||
COMMENT= Perl interface to GPS receivers
|
||||
|
||||
LICENSE= ART10 GPLv1
|
||||
LICENSE_COMB= dual
|
||||
|
||||
BUILD_DEPENDS= p5-Device-SerialPort>=0.07:comms/p5-Device-SerialPort
|
||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
--- pp3.cc.orig 2004-08-14 16:45:08 UTC
|
||||
+++ pp3.cc
|
||||
@@ -15,6 +15,7 @@
|
||||
#include <cstdlib>
|
||||
#include <cmath>
|
||||
#include <cfloat>
|
||||
+#include <cstring>
|
||||
|
||||
using namespace std;
|
||||
|
|
@ -23,7 +23,7 @@ BUILD_DEPENDS= boost-libs>0:devel/boost-libs \
|
|||
LIB_DEPENDS= libsamplerate.so:audio/libsamplerate \
|
||||
libsndfile.so:audio/libsndfile
|
||||
|
||||
USES= bison cmake:outsource localbase python:2
|
||||
USES= alias bison cmake:outsource localbase python:2
|
||||
CMAKE_ARGS= -DBUILD_CSOUNDVST:BOOL=OFF \
|
||||
-DBUILD_JAVA_INTERFACE:BOOL=OFF \
|
||||
-DBUILD_P5GLOVE_OPCODES:BOOL=OFF \
|
||||
|
|
|
@ -42,6 +42,15 @@
|
|||
# Extract the first word of "ranlib", so it can be a program name with args.
|
||||
set dummy ranlib; ac_word=$2
|
||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||
@@ -1899,7 +1864,7 @@ EOF
|
||||
|
||||
echo "$ac_t""oss" 1>&6
|
||||
;;
|
||||
- *freebsd*) cat >> confdefs.h <<\EOF
|
||||
+ *freebsd*|*dragonfly*) cat >> confdefs.h <<\EOF
|
||||
#define HAVE_FREEBSD 1
|
||||
EOF
|
||||
|
||||
@@ -2297,4 +2262,3 @@ rm -fr confdefs* $ac_clean_files
|
||||
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= fluidsynth
|
||||
PORTVERSION= 1.1.6
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
|
@ -13,7 +13,7 @@ COMMENT= Real-time software synthesizer based on the SoundFont 2 specifications
|
|||
LICENSE= LGPL20
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
OPTIONS_DEFINE= JACK ALSA DBUS LADSPA LASH PORTAUDIO PULSEAUDIO SNDFILE
|
||||
OPTIONS_DEFINE= JACK ALSA DBUS LADSPA LASH PORTAUDIO PULSEAUDIO SNDFILE SNDIO
|
||||
OPTIONS_DEFAULT= JACK
|
||||
|
||||
USE_GNOME= glib20
|
||||
|
@ -49,7 +49,11 @@ PULSEAUDIO_CMAKE_OFF= -Denable-pulseaudio:BOOL=FALSE
|
|||
SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile
|
||||
SNDFILE_CMAKE_OFF= -Denable-libsndfile:BOOL=FALSE
|
||||
|
||||
SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio
|
||||
SNDIO_CMAKE_OFF= -Denable-sndio:BOOL=FALSE
|
||||
|
||||
post-patch:
|
||||
${CP} ${FILESDIR}/fluid_sndio.c ${WRKSRC}/src/drivers/
|
||||
@${REINPLACE_CMD} -e \
|
||||
'/Linux/s|^|#| ; \
|
||||
/_init_lib_suffix/s|"64"|""| ; \
|
||||
|
|
|
@ -0,0 +1,521 @@
|
|||
/* sndio backend for FluidSynth - A Software Synthesizer
|
||||
*
|
||||
* Copyright (c) 2008 Jacob Meuser <jakemsr@sdf.lonestar.org>
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
* ANY SPECIAL, DIRECT, 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.
|
||||
*/
|
||||
|
||||
|
||||
/* fluid_sndio.c
|
||||
*
|
||||
* Driver for the sndio audio access library
|
||||
*/
|
||||
|
||||
#include "fluid_synth.h"
|
||||
#include "fluid_adriver.h"
|
||||
#include "fluid_midi.h"
|
||||
#include "fluid_mdriver.h"
|
||||
#include "fluid_settings.h"
|
||||
|
||||
#if SNDIO_SUPPORT
|
||||
|
||||
#include <sndio.h>
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
#include <pthread.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
/** fluid_sndio_audio_driver_t
|
||||
*
|
||||
* This structure should not be accessed directly. Use audio port
|
||||
* functions instead.
|
||||
*/
|
||||
typedef struct {
|
||||
fluid_audio_driver_t driver;
|
||||
fluid_synth_t* synth;
|
||||
fluid_audio_callback_t read;
|
||||
void* buffer;
|
||||
pthread_t thread;
|
||||
int cont;
|
||||
struct sio_hdl *hdl;
|
||||
struct sio_par par;
|
||||
int buffer_size;
|
||||
int buffer_byte_size;
|
||||
fluid_audio_func_t callback;
|
||||
void* data;
|
||||
float* buffers[2];
|
||||
} fluid_sndio_audio_driver_t;
|
||||
|
||||
typedef struct {
|
||||
fluid_midi_driver_t driver;
|
||||
struct mio_hdl *hdl;
|
||||
pthread_t thread;
|
||||
int status;
|
||||
fluid_midi_parser_t *parser;
|
||||
} fluid_sndio_midi_driver_t;
|
||||
|
||||
int delete_fluid_sndio_audio_driver(fluid_audio_driver_t* p);
|
||||
|
||||
/* local utilities */
|
||||
static void* fluid_sndio_audio_run(void* d);
|
||||
static void* fluid_sndio_audio_run2(void* d);
|
||||
|
||||
|
||||
void
|
||||
fluid_sndio_audio_driver_settings(fluid_settings_t* settings)
|
||||
{
|
||||
fluid_settings_register_str(settings, "audio.sndio.device", "default", 0, NULL, NULL);
|
||||
}
|
||||
|
||||
/*
|
||||
* new_fluid_sndio_audio_driver
|
||||
*/
|
||||
fluid_audio_driver_t*
|
||||
new_fluid_sndio_audio_driver(fluid_settings_t* settings, fluid_synth_t* synth)
|
||||
{
|
||||
fluid_sndio_audio_driver_t* dev = NULL;
|
||||
double sample_rate;
|
||||
int periods, period_size;
|
||||
char* devname;
|
||||
pthread_attr_t attr;
|
||||
int err;
|
||||
|
||||
dev = FLUID_NEW(fluid_sndio_audio_driver_t);
|
||||
if (dev == NULL) {
|
||||
FLUID_LOG(FLUID_ERR, "Out of memory");
|
||||
return NULL;
|
||||
}
|
||||
FLUID_MEMSET(dev, 0, sizeof(fluid_sndio_audio_driver_t));
|
||||
|
||||
fluid_settings_getint(settings, "audio.periods", &periods);
|
||||
fluid_settings_getint(settings, "audio.period-size", &period_size);
|
||||
fluid_settings_getnum(settings, "synth.sample-rate", &sample_rate);
|
||||
|
||||
dev->hdl = NULL;
|
||||
dev->synth = synth;
|
||||
dev->callback = NULL;
|
||||
dev->data = NULL;
|
||||
dev->cont = 1;
|
||||
|
||||
if (!fluid_settings_getstr(settings, "audio.sndio.device", &devname)) {
|
||||
devname = NULL;
|
||||
}
|
||||
|
||||
dev->hdl = sio_open(devname, SIO_PLAY, 0);
|
||||
if (dev->hdl == NULL) {
|
||||
FLUID_LOG(FLUID_ERR, "sndio could not be opened for writing");
|
||||
goto error_recovery;
|
||||
}
|
||||
|
||||
sio_initpar(&dev->par);
|
||||
|
||||
if (fluid_settings_str_equal(settings, "audio.sample-format", "16bits")) {
|
||||
dev->par.bits = 16;
|
||||
dev->par.le = SIO_LE_NATIVE;
|
||||
dev->read = fluid_synth_write_s16;
|
||||
} else {
|
||||
FLUID_LOG(FLUID_ERR, "Unknown sample format");
|
||||
goto error_recovery;
|
||||
}
|
||||
|
||||
dev->par.appbufsz = period_size * periods;
|
||||
dev->par.round = period_size;
|
||||
|
||||
dev->par.pchan = 2;
|
||||
dev->par.rate = sample_rate;
|
||||
|
||||
if (!sio_setpar(dev->hdl, &dev->par)) {
|
||||
FLUID_LOG(FLUID_ERR, "Couldn't set sndio audio parameters");
|
||||
goto error_recovery;
|
||||
}
|
||||
|
||||
if (!sio_getpar(dev->hdl, &dev->par)) {
|
||||
FLUID_LOG(FLUID_ERR, "Couldn't get sndio audio parameters");
|
||||
goto error_recovery;
|
||||
} else if (dev->par.pchan != 2 || dev->par.rate != sample_rate ||
|
||||
dev->par.bits != 16) {
|
||||
FLUID_LOG(FLUID_ERR, "Couldn't set sndio audio parameters as desired");
|
||||
goto error_recovery;
|
||||
}
|
||||
|
||||
dev->buffer_size = dev->par.round;
|
||||
dev->buffer_byte_size = dev->par.round * dev->par.bps * dev->par.pchan;
|
||||
|
||||
dev->buffer = FLUID_MALLOC(dev->buffer_byte_size);
|
||||
if (dev->buffer == NULL) {
|
||||
FLUID_LOG(FLUID_ERR, "Out of memory");
|
||||
goto error_recovery;
|
||||
}
|
||||
|
||||
if (!sio_start(dev->hdl)) {
|
||||
FLUID_LOG(FLUID_ERR, "Couldn't start sndio");
|
||||
goto error_recovery;
|
||||
}
|
||||
|
||||
if (pthread_attr_init(&attr)) {
|
||||
FLUID_LOG(FLUID_ERR, "Couldn't initialize audio thread attributes");
|
||||
goto error_recovery;
|
||||
}
|
||||
|
||||
err = pthread_create(&dev->thread, &attr, fluid_sndio_audio_run, (void*) dev);
|
||||
if (err) {
|
||||
FLUID_LOG(FLUID_ERR, "Couldn't create audio thread");
|
||||
goto error_recovery;
|
||||
}
|
||||
|
||||
return (fluid_audio_driver_t*) dev;
|
||||
|
||||
error_recovery:
|
||||
delete_fluid_sndio_audio_driver((fluid_audio_driver_t*) dev);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
fluid_audio_driver_t*
|
||||
new_fluid_sndio_audio_driver2(fluid_settings_t* settings, fluid_audio_func_t func, void* data)
|
||||
{
|
||||
fluid_sndio_audio_driver_t* dev = NULL;
|
||||
double sample_rate;
|
||||
int periods, period_size;
|
||||
char* devname;
|
||||
pthread_attr_t attr;
|
||||
int err;
|
||||
|
||||
dev = FLUID_NEW(fluid_sndio_audio_driver_t);
|
||||
if (dev == NULL) {
|
||||
FLUID_LOG(FLUID_ERR, "Out of memory");
|
||||
return NULL;
|
||||
}
|
||||
FLUID_MEMSET(dev, 0, sizeof(fluid_sndio_audio_driver_t));
|
||||
|
||||
fluid_settings_getint(settings, "audio.periods", &periods);
|
||||
fluid_settings_getint(settings, "audio.period-size", &period_size);
|
||||
fluid_settings_getnum(settings, "synth.sample-rate", &sample_rate);
|
||||
|
||||
dev->hdl = NULL;
|
||||
dev->synth = NULL;
|
||||
dev->read = NULL;
|
||||
dev->callback = func;
|
||||
dev->data = data;
|
||||
dev->cont = 1;
|
||||
|
||||
if (!fluid_settings_getstr(settings, "audio.sndio.device", &devname)) {
|
||||
devname = NULL;
|
||||
}
|
||||
|
||||
dev->hdl = sio_open(devname, SIO_PLAY, 0);
|
||||
if (dev->hdl == NULL) {
|
||||
FLUID_LOG(FLUID_ERR, "sndio could not be opened for writing");
|
||||
goto error_recovery;
|
||||
}
|
||||
|
||||
sio_initpar(&dev->par);
|
||||
|
||||
dev->par.appbufsz = period_size * periods;
|
||||
dev->par.round = period_size;
|
||||
|
||||
dev->par.bits = 16;
|
||||
dev->par.le = SIO_LE_NATIVE;
|
||||
dev->par.pchan = 2;
|
||||
dev->par.rate = sample_rate;
|
||||
|
||||
if (!sio_setpar(dev->hdl, &dev->par)){
|
||||
FLUID_LOG(FLUID_ERR, "Can't configure sndio parameters");
|
||||
goto error_recovery;
|
||||
}
|
||||
|
||||
if (!sio_getpar(dev->hdl, &dev->par)) {
|
||||
FLUID_LOG(FLUID_ERR, "Couldn't get sndio audio parameters");
|
||||
goto error_recovery;
|
||||
} else if (dev->par.pchan != 2 || dev->par.rate != sample_rate ||
|
||||
dev->par.bits != 16) {
|
||||
FLUID_LOG(FLUID_ERR, "Couldn't set sndio audio parameters as desired");
|
||||
goto error_recovery;
|
||||
}
|
||||
|
||||
dev->buffer_size = dev->par.round;
|
||||
dev->buffer_byte_size = dev->par.round * dev->par.bps * dev->par.pchan;
|
||||
|
||||
/* allocate the buffers. FIXME!!! don't use interleaved samples */
|
||||
dev->buffer = FLUID_MALLOC(dev->buffer_byte_size);
|
||||
if (dev->buffer == NULL) {
|
||||
FLUID_LOG(FLUID_ERR, "Out of memory");
|
||||
goto error_recovery;
|
||||
}
|
||||
dev->buffers[0] = FLUID_ARRAY(float, dev->buffer_size);
|
||||
dev->buffers[1] = FLUID_ARRAY(float, dev->buffer_size);
|
||||
if ((dev->buffer == NULL) || (dev->buffers[0] == NULL) || (dev->buffers[1] == NULL)) {
|
||||
FLUID_LOG(FLUID_ERR, "Out of memory");
|
||||
goto error_recovery;
|
||||
}
|
||||
|
||||
if (!sio_start(dev->hdl)) {
|
||||
FLUID_LOG(FLUID_ERR, "Couldn't start sndio");
|
||||
goto error_recovery;
|
||||
}
|
||||
|
||||
if (pthread_attr_init(&attr)) {
|
||||
FLUID_LOG(FLUID_ERR, "Couldn't initialize audio thread attributes");
|
||||
goto error_recovery;
|
||||
}
|
||||
|
||||
err = pthread_create(&dev->thread, &attr, fluid_sndio_audio_run2, (void*) dev);
|
||||
if (err) {
|
||||
FLUID_LOG(FLUID_ERR, "Couldn't create audio2 thread");
|
||||
goto error_recovery;
|
||||
}
|
||||
|
||||
return (fluid_audio_driver_t*) dev;
|
||||
|
||||
error_recovery:
|
||||
delete_fluid_sndio_audio_driver((fluid_audio_driver_t*) dev);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
* delete_fluid_sndio_audio_driver
|
||||
*/
|
||||
int
|
||||
delete_fluid_sndio_audio_driver(fluid_audio_driver_t* p)
|
||||
{
|
||||
fluid_sndio_audio_driver_t* dev = (fluid_sndio_audio_driver_t*) p;
|
||||
|
||||
if (dev == NULL) {
|
||||
return FLUID_OK;
|
||||
}
|
||||
dev->cont = 0;
|
||||
if (dev->thread) {
|
||||
if (pthread_join(dev->thread, NULL)) {
|
||||
FLUID_LOG(FLUID_ERR, "Failed to join the audio thread");
|
||||
return FLUID_FAILED;
|
||||
}
|
||||
}
|
||||
if (dev->hdl) {
|
||||
sio_close(dev->hdl);
|
||||
}
|
||||
if (dev->buffer != NULL) {
|
||||
FLUID_FREE(dev->buffer);
|
||||
}
|
||||
FLUID_FREE(dev);
|
||||
return FLUID_OK;
|
||||
}
|
||||
|
||||
/*
|
||||
* fluid_sndio_audio_run
|
||||
*/
|
||||
void*
|
||||
fluid_sndio_audio_run(void* d)
|
||||
{
|
||||
fluid_sndio_audio_driver_t* dev = (fluid_sndio_audio_driver_t*) d;
|
||||
fluid_synth_t* synth = dev->synth;
|
||||
void* buffer = dev->buffer;
|
||||
int len = dev->buffer_size;
|
||||
|
||||
/* it's as simple as that: */
|
||||
while (dev->cont)
|
||||
{
|
||||
dev->read (synth, len, buffer, 0, 2, buffer, 1, 2);
|
||||
sio_write (dev->hdl, buffer, dev->buffer_byte_size);
|
||||
}
|
||||
|
||||
FLUID_LOG(FLUID_DBG, "Audio thread finished");
|
||||
|
||||
pthread_exit(NULL);
|
||||
|
||||
return 0; /* not reached */
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* fluid_sndio_audio_run
|
||||
*/
|
||||
void*
|
||||
fluid_sndio_audio_run2(void* d)
|
||||
{
|
||||
fluid_sndio_audio_driver_t* dev = (fluid_sndio_audio_driver_t*) d;
|
||||
short* buffer = (short*) dev->buffer;
|
||||
float* left = dev->buffers[0];
|
||||
float* right = dev->buffers[1];
|
||||
int buffer_size = dev->buffer_size;
|
||||
int dither_index = 0;
|
||||
|
||||
FLUID_LOG(FLUID_DBG, "Audio thread running");
|
||||
|
||||
/* it's as simple as that: */
|
||||
while (dev->cont)
|
||||
{
|
||||
(*dev->callback)(dev->data, buffer_size, 0, NULL, 2, dev->buffers);
|
||||
|
||||
fluid_synth_dither_s16 (&dither_index, buffer_size, left, right,
|
||||
buffer, 0, 2, buffer, 1, 2);
|
||||
|
||||
sio_write (dev->hdl, buffer, dev->buffer_byte_size);
|
||||
}
|
||||
|
||||
FLUID_LOG(FLUID_DBG, "Audio thread finished");
|
||||
|
||||
pthread_exit(NULL);
|
||||
|
||||
return 0; /* not reached */
|
||||
}
|
||||
|
||||
void fluid_sndio_midi_driver_settings(fluid_settings_t* settings)
|
||||
{
|
||||
fluid_settings_register_str(settings, "midi.sndio.device", "default", 0, NULL, NULL);
|
||||
}
|
||||
|
||||
int
|
||||
delete_fluid_sndio_midi_driver(fluid_midi_driver_t *addr)
|
||||
{
|
||||
int err;
|
||||
fluid_sndio_midi_driver_t *dev = (fluid_sndio_midi_driver_t *)addr;
|
||||
|
||||
if (dev == NULL) {
|
||||
return FLUID_OK;
|
||||
}
|
||||
dev->status = FLUID_MIDI_DONE;
|
||||
|
||||
/* cancel the thread and wait for it before cleaning up */
|
||||
if (dev->thread) {
|
||||
err = pthread_cancel(dev->thread);
|
||||
if (err) {
|
||||
FLUID_LOG(FLUID_ERR, "Failed to cancel the midi thread");
|
||||
return FLUID_FAILED;
|
||||
}
|
||||
if (pthread_join(dev->thread, NULL)) {
|
||||
FLUID_LOG(FLUID_ERR, "Failed to join the midi thread");
|
||||
return FLUID_FAILED;
|
||||
}
|
||||
}
|
||||
if (dev->hdl != NULL) {
|
||||
mio_close(dev->hdl);
|
||||
}
|
||||
if (dev->parser != NULL) {
|
||||
delete_fluid_midi_parser(dev->parser);
|
||||
}
|
||||
FLUID_FREE(dev);
|
||||
return FLUID_OK;
|
||||
}
|
||||
|
||||
void *
|
||||
fluid_sndio_midi_run(void *addr)
|
||||
{
|
||||
int n, i;
|
||||
fluid_midi_event_t* evt;
|
||||
fluid_sndio_midi_driver_t *dev = (fluid_sndio_midi_driver_t *)addr;
|
||||
#define MIDI_BUFLEN (3125 / 10)
|
||||
unsigned char buffer[MIDI_BUFLEN];
|
||||
|
||||
/* make sure the other threads can cancel this thread any time */
|
||||
if (pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL)) {
|
||||
FLUID_LOG(FLUID_ERR, "Failed to set the cancel state of the midi thread");
|
||||
pthread_exit(NULL);
|
||||
}
|
||||
if (pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL)) {
|
||||
FLUID_LOG(FLUID_ERR, "Failed to set the cancel state of the midi thread");
|
||||
pthread_exit(NULL);
|
||||
}
|
||||
|
||||
/* go into a loop until someone tells us to stop */
|
||||
dev->status = FLUID_MIDI_LISTENING;
|
||||
|
||||
while (dev->status == FLUID_MIDI_LISTENING) {
|
||||
|
||||
/* read new data */
|
||||
n = mio_read(dev->hdl, buffer, MIDI_BUFLEN);
|
||||
if (n == 0 && mio_eof(dev->hdl)) {
|
||||
FLUID_LOG(FLUID_ERR, "Failed to read the midi input");
|
||||
dev->status = FLUID_MIDI_DONE;
|
||||
}
|
||||
|
||||
/* let the parser convert the data into events */
|
||||
for (i = 0; i < n; i++) {
|
||||
evt = fluid_midi_parser_parse(dev->parser, buffer[i]);
|
||||
if (evt != NULL) {
|
||||
/* send the event to the next link in the chain */
|
||||
(*dev->driver.handler)(dev->driver.data, evt);
|
||||
}
|
||||
}
|
||||
}
|
||||
pthread_exit(NULL);
|
||||
}
|
||||
|
||||
int
|
||||
fluid_sndio_midi_driver_status(fluid_midi_driver_t *addr)
|
||||
{
|
||||
fluid_sndio_midi_driver_t *dev = (fluid_sndio_midi_driver_t *)addr;
|
||||
return dev->status;
|
||||
}
|
||||
|
||||
|
||||
fluid_midi_driver_t *
|
||||
new_fluid_sndio_midi_driver(fluid_settings_t *settings,
|
||||
handle_midi_event_func_t handler, void *data)
|
||||
{
|
||||
int err;
|
||||
fluid_sndio_midi_driver_t *dev;
|
||||
char *device;
|
||||
|
||||
/* not much use doing anything */
|
||||
if (handler == NULL) {
|
||||
FLUID_LOG(FLUID_ERR, "Invalid argument");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* allocate the device */
|
||||
dev = FLUID_NEW(fluid_sndio_midi_driver_t);
|
||||
if (dev == NULL) {
|
||||
FLUID_LOG(FLUID_ERR, "Out of memory");
|
||||
return NULL;
|
||||
}
|
||||
FLUID_MEMSET(dev, 0, sizeof(fluid_sndio_midi_driver_t));
|
||||
dev->hdl = NULL;
|
||||
|
||||
dev->driver.handler = handler;
|
||||
dev->driver.data = data;
|
||||
|
||||
/* allocate one event to store the input data */
|
||||
dev->parser = new_fluid_midi_parser();
|
||||
if (dev->parser == NULL) {
|
||||
FLUID_LOG(FLUID_ERR, "Out of memory");
|
||||
goto error_recovery;
|
||||
}
|
||||
|
||||
/* get the device name. if none is specified, use the default device. */
|
||||
if (!fluid_settings_getstr(settings, "midi.sndio.device", &device)) {
|
||||
device = NULL;
|
||||
}
|
||||
|
||||
/* open the default hardware device. only use midi in. */
|
||||
dev->hdl = mio_open(device, MIO_IN, 0);
|
||||
if (dev->hdl == NULL) {
|
||||
FLUID_LOG(FLUID_ERR, "Couldn't open sndio midi device");
|
||||
goto error_recovery;
|
||||
}
|
||||
|
||||
dev->status = FLUID_MIDI_READY;
|
||||
|
||||
err = pthread_create(&dev->thread, NULL, fluid_sndio_midi_run, (void *)dev);
|
||||
if (err) {
|
||||
FLUID_LOG(FLUID_PANIC, "Couldn't create the midi thread.");
|
||||
goto error_recovery;
|
||||
}
|
||||
return (fluid_midi_driver_t *) dev;
|
||||
|
||||
error_recovery:
|
||||
delete_fluid_sndio_midi_driver((fluid_midi_driver_t *)dev);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#endif /*#if SNDIO_SUPPORT */
|
|
@ -0,0 +1,22 @@
|
|||
--- CMakeLists.txt.orig 2012-08-16 04:01:13 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -61,6 +61,7 @@ option ( enable-debug "enable debugging
|
||||
option ( enable-libsndfile "compile libsndfile support (if it is available)" on )
|
||||
option ( enable-aufile "compile support for sound file output" on )
|
||||
option ( enable-pulseaudio "compile PulseAudio support (if it is available)" on )
|
||||
+option ( enable-sndio "compile Sndio support (if it is available)" on )
|
||||
option ( enable-jack "compile JACK support (if it is available)" on )
|
||||
option ( enable-midishare "compile MidiShare support (if it is available)" on )
|
||||
option ( enable-readline "compile readline lib line editing (if it is available)" on )
|
||||
@@ -313,6 +314,11 @@ else ( enable-pulseaudio )
|
||||
unset_pkg_config ( PULSE )
|
||||
endif ( enable-pulseaudio )
|
||||
|
||||
+unset ( SNDIO_SUPPORT CACHE )
|
||||
+if ( enable-sndio )
|
||||
+ set ( SNDIO_SUPPORT 1 )
|
||||
+endif ( enable-sndio )
|
||||
+
|
||||
unset ( ALSA_SUPPORT CACHE )
|
||||
if ( enable-alsa )
|
||||
pkg_check_modules ( ALSA alsa>=0.9.1 )
|
|
@ -0,0 +1,15 @@
|
|||
--- cmake_admin/report.cmake.orig 2012-08-16 04:01:13 UTC
|
||||
+++ cmake_admin/report.cmake
|
||||
@@ -25,6 +25,12 @@ else ( PULSE_SUPPORT )
|
||||
message ( "PulseAudio: no" )
|
||||
endif ( PULSE_SUPPORT )
|
||||
|
||||
+if ( SNDIO_SUPPORT )
|
||||
+ message ( "Sndio: yes" )
|
||||
+else ( SNDIO_SUPPORT )
|
||||
+ message ( "Sndio: no" )
|
||||
+endif ( SNDIO_SUPPORT )
|
||||
+
|
||||
if ( JACK_SUPPORT )
|
||||
message ( "JACK: yes" )
|
||||
else ( JACK_SUPPORT )
|
|
@ -0,0 +1,30 @@
|
|||
--- src/CMakeLists.txt.orig 2012-08-16 04:01:13 UTC
|
||||
+++ src/CMakeLists.txt
|
||||
@@ -47,6 +47,11 @@ if ( PULSE_SUPPORT )
|
||||
include_directories ( ${PULSE_INCLUDEDIR} ${PULSE_INCLUDE_DIRS} )
|
||||
endif ( PULSE_SUPPORT )
|
||||
|
||||
+if ( SNDIO_SUPPORT )
|
||||
+ set ( fluid_sndio_SOURCES drivers/fluid_sndio.c )
|
||||
+ set ( SNDIO_LIBRARIES sndio )
|
||||
+endif ( SNDIO_SUPPORT )
|
||||
+
|
||||
if ( ALSA_SUPPORT )
|
||||
set ( fluid_alsa_SOURCES drivers/fluid_alsa.c )
|
||||
include_directories ( ${ALSA_INCLUDEDIR} ${ALSA_INCLUDE_DIRS} )
|
||||
@@ -244,6 +249,7 @@ add_library ( libfluidsynth
|
||||
${fluid_oss_SOURCES}
|
||||
${fluid_portaudio_SOURCES}
|
||||
${fluid_pulse_SOURCES}
|
||||
+ ${fluid_sndio_SOURCES}
|
||||
${fluid_windows_SOURCES}
|
||||
${libfluidsynth_SOURCES}
|
||||
${public_HEADERS}
|
||||
@@ -286,6 +292,7 @@ target_link_libraries ( libfluidsynth
|
||||
${JACK_LIBRARIES}
|
||||
${ALSA_LIBRARIES}
|
||||
${PULSE_LIBRARIES}
|
||||
+ ${SNDIO_LIBRARIES}
|
||||
${PORTAUDIO_LIBRARIES}
|
||||
${LIBSNDFILE_LIBRARIES}
|
||||
${DBUS_LIBRARIES}
|
|
@ -0,0 +1,12 @@
|
|||
--- src/config.cmake.orig 2012-08-16 04:01:13 UTC
|
||||
+++ src/config.cmake
|
||||
@@ -178,6 +178,9 @@
|
||||
/* Define to enable PulseAudio driver */
|
||||
#cmakedefine PULSE_SUPPORT @PULSE_SUPPORT@
|
||||
|
||||
+/* Define to enable Sndio driver */
|
||||
+#cmakedefine SNDIO_SUPPORT @SNDIO_SUPPORT@
|
||||
+
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#cmakedefine STDC_HEADERS @STDC_HEADERS@
|
||||
|
|
@ -0,0 +1,54 @@
|
|||
$OpenBSD: patch-src_drivers_fluid_adriver_c,v 1.1 2013/03/29 12:37:43 sthen Exp $
|
||||
--- src/drivers/fluid_adriver.c.orig 2012-08-16 04:01:13 UTC
|
||||
+++ src/drivers/fluid_adriver.c
|
||||
@@ -64,6 +64,15 @@ int delete_fluid_oss_audio_driver(fluid_
|
||||
void fluid_oss_audio_driver_settings(fluid_settings_t* settings);
|
||||
#endif
|
||||
|
||||
+#if SNDIO_SUPPORT
|
||||
+fluid_audio_driver_t* new_fluid_sndio_audio_driver(fluid_settings_t* settings,
|
||||
+ fluid_synth_t* synth);
|
||||
+fluid_audio_driver_t* new_fluid_sndio_audio_driver2(fluid_settings_t* settings,
|
||||
+ fluid_audio_func_t func, void* data);
|
||||
+int delete_fluid_sndio_audio_driver(fluid_audio_driver_t* p);
|
||||
+void fluid_sndio_audio_driver_settings(fluid_settings_t* settings);
|
||||
+#endif
|
||||
+
|
||||
#if COREAUDIO_SUPPORT
|
||||
fluid_audio_driver_t* new_fluid_core_audio_driver(fluid_settings_t* settings,
|
||||
fluid_synth_t* synth);
|
||||
@@ -120,6 +129,13 @@ int delete_fluid_file_audio_driver(fluid
|
||||
|
||||
/* Available audio drivers, listed in order of preference */
|
||||
fluid_audriver_definition_t fluid_audio_drivers[] = {
|
||||
+#if SNDIO_SUPPORT
|
||||
+ { "sndio",
|
||||
+ new_fluid_sndio_audio_driver,
|
||||
+ new_fluid_sndio_audio_driver2,
|
||||
+ delete_fluid_sndio_audio_driver,
|
||||
+ fluid_sndio_audio_driver_settings },
|
||||
+#endif
|
||||
#if JACK_SUPPORT
|
||||
{ "jack",
|
||||
new_fluid_jack_audio_driver,
|
||||
@@ -223,7 +239,9 @@ void fluid_audio_driver_settings(fluid_s
|
||||
FLUID_DEFAULT_AUDIO_RT_PRIO, 0, 99, 0, NULL, NULL);
|
||||
|
||||
/* Set the default driver */
|
||||
-#if JACK_SUPPORT
|
||||
+#if SNDIO_SUPPORT
|
||||
+ fluid_settings_register_str(settings, "audio.driver", "sndio", 0, NULL, NULL);
|
||||
+#elif JACK_SUPPORT
|
||||
fluid_settings_register_str(settings, "audio.driver", "jack", 0, NULL, NULL);
|
||||
#elif ALSA_SUPPORT
|
||||
fluid_settings_register_str(settings, "audio.driver", "alsa", 0, NULL, NULL);
|
||||
@@ -257,6 +275,9 @@ void fluid_audio_driver_settings(fluid_s
|
||||
#if OSS_SUPPORT
|
||||
fluid_settings_add_option(settings, "audio.driver", "oss");
|
||||
#endif
|
||||
+#if SNDIO_SUPPORT
|
||||
+ fluid_settings_add_option(settings, "audio.driver", "sndio");
|
||||
+#endif
|
||||
#if COREAUDIO_SUPPORT
|
||||
fluid_settings_add_option(settings, "audio.driver", "coreaudio");
|
||||
#endif
|
|
@ -0,0 +1,53 @@
|
|||
$OpenBSD: patch-src_drivers_fluid_mdriver_c,v 1.1 2013/03/29 12:37:43 sthen Exp $
|
||||
--- src/drivers/fluid_mdriver.c.orig 2012-08-16 04:01:13 UTC
|
||||
+++ src/drivers/fluid_mdriver.c
|
||||
@@ -46,6 +46,15 @@ fluid_midi_driver_t *new_fluid_jack_midi
|
||||
int delete_fluid_jack_midi_driver(fluid_midi_driver_t *p);
|
||||
#endif
|
||||
|
||||
+/* SNDIO */
|
||||
+#if SNDIO_SUPPORT
|
||||
+fluid_midi_driver_t* new_fluid_sndio_midi_driver(fluid_settings_t* settings,
|
||||
+ handle_midi_event_func_t handler,
|
||||
+ void* event_handler_data);
|
||||
+int delete_fluid_sndio_midi_driver(fluid_midi_driver_t* p);
|
||||
+void fluid_sndio_midi_driver_settings(fluid_settings_t* settings);
|
||||
+#endif
|
||||
+
|
||||
/* OSS */
|
||||
#if OSS_SUPPORT
|
||||
fluid_midi_driver_t* new_fluid_oss_midi_driver(fluid_settings_t* settings,
|
||||
@@ -96,6 +105,12 @@ struct fluid_mdriver_definition_t {
|
||||
|
||||
|
||||
struct fluid_mdriver_definition_t fluid_midi_drivers[] = {
|
||||
+#if SNDIO_SUPPORT
|
||||
+ { "sndio",
|
||||
+ new_fluid_sndio_midi_driver,
|
||||
+ delete_fluid_sndio_midi_driver,
|
||||
+ fluid_sndio_midi_driver_settings },
|
||||
+#endif
|
||||
#if JACK_SUPPORT
|
||||
{ "jack",
|
||||
new_fluid_jack_midi_driver,
|
||||
@@ -149,7 +164,9 @@ void fluid_midi_driver_settings(fluid_se
|
||||
FLUID_DEFAULT_MIDI_RT_PRIO, 0, 99, 0, NULL, NULL);
|
||||
|
||||
/* Set the default driver */
|
||||
-#if ALSA_SUPPORT
|
||||
+#if SNDIO_SUPPORT
|
||||
+ fluid_settings_register_str(settings, "midi.driver", "sndio", 0, NULL, NULL);
|
||||
+#elif ALSA_SUPPORT
|
||||
fluid_settings_register_str(settings, "midi.driver", "alsa_seq", 0, NULL, NULL);
|
||||
#elif JACK_SUPPORT
|
||||
fluid_settings_register_str(settings, "midi.driver", "jack", 0, NULL, NULL);
|
||||
@@ -170,6 +187,9 @@ void fluid_midi_driver_settings(fluid_se
|
||||
fluid_settings_add_option(settings, "midi.driver", "alsa_seq");
|
||||
fluid_settings_add_option(settings, "midi.driver", "alsa_raw");
|
||||
#endif
|
||||
+#if SNDIO_SUPPORT
|
||||
+ fluid_settings_add_option(settings, "midi.driver", "sndio");
|
||||
+#endif
|
||||
#if JACK_SUPPORT
|
||||
fluid_settings_add_option(settings, "midi.driver", "jack");
|
||||
#endif
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= gigedit
|
||||
PORTVERSION= 0.2.0
|
||||
PORTREVISION= 10
|
||||
PORTREVISION= 11
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= http://download.linuxsampler.org/packages/
|
||||
|
||||
|
@ -21,7 +21,7 @@ BUILD_DEPENDS:= ${RUN_DEPENDS}
|
|||
|
||||
GNU_CONFIGURE= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
LDFLAGS+= -L${LOCALBASE}/lib -Wl,-rpath=${LOCALBASE}/lib/linuxsampler
|
||||
LIBS+= -lsigc-2.0
|
||||
USES= gettext gmake pkgconfig libtool
|
||||
USE_LDCONFIG= yes
|
||||
|
|
|
@ -1,6 +1,14 @@
|
|||
--- roboradio/audio/ogg.cc.orig 2004-11-06 21:55:32 UTC
|
||||
+++ roboradio/audio/ogg.cc
|
||||
@@ -193,6 +193,7 @@ void Roboradio::Audio::Ogg::thread_funct
|
||||
@@ -25,6 +25,7 @@
|
||||
|
||||
#include <string>
|
||||
#include <algorithm>
|
||||
+#include <cstring>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
@@ -193,6 +194,7 @@ void Roboradio::Audio::Ogg::thread_funct
|
||||
|
||||
int device_id = ao_default_driver_id();
|
||||
ao_sample_format output_fmt;
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
--- roboradio/state.cc.orig 2004-10-24 00:24:34 UTC
|
||||
+++ roboradio/state.cc
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <dirent.h>
|
||||
#include <iostream>
|
||||
+#include <cstring>
|
||||
|
||||
#include <map>
|
||||
#include <set>
|
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libgme
|
||||
PORTVERSION= 0.6.0
|
||||
PORTVERSION= 0.6.1
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= https://bitbucket.org/mpyne/game-music-emu/downloads/
|
||||
DISTNAME= game-music-emu-${PORTVERSION}
|
||||
|
@ -19,7 +19,7 @@ PORTDOCS= changes.txt design.txt gme.txt readme.txt
|
|||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/pkgconfig/s,lib/,libdata/,' \
|
||||
@${REINPLACE_CMD} -e '/pkgconfig/s/lib[[:>:]]/libdata/' \
|
||||
${WRKSRC}/gme/CMakeLists.txt
|
||||
|
||||
post-install-DOCS-on:
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (game-music-emu-0.6.0.tar.bz2) = 506e81d0c61e1a26d503fbf5351503e0b31f9fbb374cb1f09979758b46a24987
|
||||
SIZE (game-music-emu-0.6.0.tar.bz2) = 170202
|
||||
TIMESTAMP = 1481891839
|
||||
SHA256 (game-music-emu-0.6.1.tar.bz2) = dc11bea098072d540d4d52dfb252e76fc3d3af67ee2807da48fbd8dbda3fd321
|
||||
SIZE (game-music-emu-0.6.1.tar.bz2) = 171140
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
include/gme/gme.h
|
||||
lib/libgme.so
|
||||
lib/libgme.so.0
|
||||
lib/libgme.so.0.6.0
|
||||
lib/libgme.so.0.6.1
|
||||
libdata/pkgconfig/libgme.pc
|
||||
|
|
|
@ -10,6 +10,9 @@ MASTER_SITES= SF/modplug-xmms/${PORTNAME}/${PORTVERSION} LOCAL/ehaupt
|
|||
MAINTAINER= ehaupt@FreeBSD.org
|
||||
COMMENT= ModPlug mod-like music shared libraries
|
||||
|
||||
LICENSE= PD
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= cpe gmake pathfix pkgconfig libtool
|
||||
INSTALL_TARGET= install-strip
|
||||
USE_LDCONFIG= yes
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
--- include/wm_config.h.orig 1999-05-05 16:34:22 UTC
|
||||
+++ include/wm_config.h
|
||||
@@ -133,7 +133,7 @@
|
||||
*** ****** ** ** ****** ****** ** ****** ** * **********
|
||||
*** ****** ** ** ** ** **** *** ***********
|
||||
******************************************************************/
|
||||
-#if defined(__FreeBSD__) || defined(__NetBSD__)
|
||||
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
|
||||
|
||||
#define DEFAULT_CD_DEVICE "/dev/rmatcd0c"
|
||||
|
|
@ -1,5 +1,14 @@
|
|||
--- plat_freebsd.c.orig 1999-03-07 08:36:40 UTC
|
||||
+++ plat_freebsd.c
|
||||
@@ -30,7 +30,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
-#if defined(__FreeBSD__) || defined(__NetBSD__)
|
||||
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
|
||||
|
||||
static char freebsd_id[] = "$Id: plat_freebsd.c,v 1.8 1999/03/07 08:36:40 dirk Exp $";
|
||||
|
||||
@@ -49,7 +49,6 @@ static char freebsd_id[] = "$Id: plat_fr
|
||||
#include <sys/time.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
@ -8,3 +17,13 @@
|
|||
|
||||
#if defined(__NetBSD__)
|
||||
# define MSF_MINUTES 1
|
||||
@@ -60,9 +59,6 @@ static char freebsd_id[] = "$Id: plat_fr
|
||||
#else
|
||||
# define LEFT_PORT 0
|
||||
# define RIGHT_PORT 1
|
||||
-# if __FreeBSD_version < 300000
|
||||
-# include <scsi.h>
|
||||
-# endif
|
||||
#endif
|
||||
|
||||
#include "include/wm_struct.h"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#endif
|
||||
|
||||
-#if defined(__linux__) || defined(WIN32) || defined(__APPLE__)
|
||||
+#if defined(__linux__) || defined(WIN32) || defined(__APPLE__) || defined(__FreeBSD__)
|
||||
+#if defined(__linux__) || defined(WIN32) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__)
|
||||
#ifdef _ARCH_PPC
|
||||
|
||||
/*
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#include "../../common/Thread.h" // needed for allocAlignedMem() and freeAlignedMem()
|
||||
|
||||
-#if defined(__APPLE__)
|
||||
+#if defined(__APPLE__) || defined(__FreeBSD__)
|
||||
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__)
|
||||
# include <stdlib.h>
|
||||
#else
|
||||
# include <malloc.h>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= mp3guessenc
|
||||
PORTVERSION= 0.26.2
|
||||
PORTVERSION= 0.27.0
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:C/\.[0-9]*$//}
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1481811709
|
||||
SHA256 (mp3guessenc-0.26.2.tar.gz) = 2d472e9f03d4e44382c6ffc03d1a376eb46b7b44af0866829bb8ede807eae669
|
||||
SIZE (mp3guessenc-0.26.2.tar.gz) = 110357
|
||||
TIMESTAMP = 1481904508
|
||||
SHA256 (mp3guessenc-0.27.0.tar.gz) = 1ad3845fdd19c6c95c9b4a68655f86849df2b190266b78bff071a5ff696bc4db
|
||||
SIZE (mp3guessenc-0.27.0.tar.gz) = 110854
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
QMAKE_CFLAGS *= -fstack-protector -fPIE -pie
|
||||
QMAKE_CXXFLAGS *= -fstack-protector -fPIE -pie
|
||||
- QMAKE_LFLAGS = -Wl,--no-add-needed
|
||||
+ QMAKE_LFLAGS = -Wl
|
||||
+ QMAKE_LFLAGS =
|
||||
}
|
||||
|
||||
DEFINES *= _FORTIFY_SOURCE=2
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
--- aflib/aflibConfig.h.orig 2007-01-16 19:26:39 UTC
|
||||
+++ aflib/aflibConfig.h
|
||||
@@ -31,6 +31,9 @@
|
||||
// Note that g++ does not really need this. If -O with compile func in .h will be inline
|
||||
#define INLINE inline
|
||||
|
||||
+#include <cstdlib>
|
||||
+#include <cstring>
|
||||
+
|
||||
#include "aflib.h"
|
||||
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
--- aflib/aflibDateTime.h.orig 2001-10-29 03:55:30 UTC
|
||||
+++ aflib/aflibDateTime.h
|
||||
@@ -28,6 +28,7 @@
|
||||
#endif
|
||||
|
||||
#include <iostream>
|
||||
+#include <cstdlib>
|
||||
|
||||
#include <string>
|
||||
using std::string;
|
|
@ -0,0 +1,10 @@
|
|||
--- aflib/aflibEnvFile.h.orig 2001-10-29 03:55:30 UTC
|
||||
+++ aflib/aflibEnvFile.h
|
||||
@@ -47,6 +47,7 @@
|
||||
|
||||
|
||||
#include <string>
|
||||
+#include <cstring>
|
||||
|
||||
using std::string;
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
--- formatlib/ogg/aflibBufferUtils.h.orig 2007-01-16 19:26:39 UTC
|
||||
+++ formatlib/ogg/aflibBufferUtils.h
|
||||
@@ -38,6 +38,7 @@ this buffer.
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
+#include <cstring>
|
||||
|
||||
class aflibBufferUtils {
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= playgsf
|
||||
PORTVERSION= 0.7.1
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= http://projects.raphnet.net/playgsf/ \
|
||||
LOCAL/ehaupt
|
||||
|
@ -28,6 +28,10 @@ ONLY_FOR_ARCHS= i386 amd64
|
|||
|
||||
PORTSCOUT= skipv:0.7.2
|
||||
|
||||
post-extract:
|
||||
# Don't use accidentally packaged static library
|
||||
@${RM} ${WRKSRC}/libresample-0.1.3/libresample.a
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} \
|
||||
-e 's|\([[:space:]]*\).*configure.*|\1@true|' \
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
--- unix/cdrommodule.c.orig 2003-08-31 23:24:30 UTC
|
||||
+++ unix/cdrommodule.c
|
||||
@@ -29,7 +29,7 @@
|
||||
#include <linux/cdrom.h>
|
||||
#endif
|
||||
|
||||
-#if defined(sun) || defined(__FreeBSD__) || defined(__OpenBSD__)
|
||||
+#if defined(sun) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
|
||||
#include <sys/cdio.h>
|
||||
#endif
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
* so that we don't have to repeat the code.
|
||||
*/
|
||||
|
||||
-#ifdef __FreeBSD__
|
||||
+#if defined __FreeBSD__ || defined __DragonFly__
|
||||
|
||||
#define CDDB_TOC_HEADER_STRUCT ioc_toc_header
|
||||
#define CDDB_STARTING_TRACK_FIELD starting_track
|
|
@ -13,7 +13,7 @@ COMMENT= Program to interface with the Rio600, Rio800, and psa[play devices
|
|||
LICENSE= GPLv2+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= autoreconf gmake libtool
|
||||
USES= alias autoreconf gmake libtool
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
|
|
|
@ -23,8 +23,8 @@ RUN_DEPENDS= dssi_osc_update:audio/dssi \
|
|||
xdg-open:devel/xdg-utils \
|
||||
lilypond:print/lilypond
|
||||
|
||||
USES= cmake:outsource desktop-file-utils pkgconfig shared-mime-info \
|
||||
tar:bzip2
|
||||
USES= alias cmake:outsource desktop-file-utils pkgconfig \
|
||||
shared-mime-info tar:bzip2
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
|
|
@ -11,6 +11,7 @@ MASTER_SITES= SUNSITE/apps/sound/players
|
|||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= MOD/S3M player
|
||||
|
||||
USES= alias
|
||||
ALL_TARGET= freebsd
|
||||
PLIST_FILES= bin/s3mod
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= soundtouch
|
||||
PORTVERSION= 1.9.2
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= http://www.surina.net/soundtouch/
|
||||
|
||||
|
@ -29,7 +29,7 @@ OPTIONS_DEFAULT_i386= ${MACHINE_CPU:tu:MSSE}
|
|||
INTEGER_SAMPLES_DESC= Use integer sample format
|
||||
INTEGER_SAMPLES_CONFIGURE_ENABLE= integer-samples
|
||||
OPENMP_CONFIGURE_ENABLE=openmp
|
||||
OPENMP_USES= compiler:openmp
|
||||
OPENMP_USES= compiler:gcc-c++11-lib
|
||||
SSE_CONFIGURE_ENABLE= x86-optimizations
|
||||
SSE_USES= compiler:c++11-lang
|
||||
|
||||
|
|
|
@ -1,6 +1,14 @@
|
|||
--- SpiralSound/Sample.h.orig Fri Dec 22 18:39:01 2006
|
||||
+++ SpiralSound/Sample.h Fri Dec 22 18:39:30 2006
|
||||
@@ -63,13 +63,13 @@
|
||||
--- SpiralSound/Sample.h.orig 2001-04-19 20:48:13 UTC
|
||||
+++ SpiralSound/Sample.h
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <iostream>
|
||||
+#include <cstring>
|
||||
#include "SpiralInfo.h"
|
||||
|
||||
static const unsigned short UMAX_LEV = 65535;
|
||||
@@ -63,13 +64,13 @@ public:
|
||||
void Shrink(int Length);
|
||||
void CropTo(int NewLength);
|
||||
|
||||
|
@ -16,7 +24,7 @@
|
|||
{
|
||||
assert(i>=0 && i<m_Length);
|
||||
// clip
|
||||
@@ -79,7 +79,7 @@
|
||||
@@ -79,7 +80,7 @@ public:
|
||||
m_Data[i]=(short)v;
|
||||
}
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@ LIB_DEPENDS= libattica.so:x11-toolkits/attica \
|
|||
|
||||
CMAKE_ARGS= -DBUILD_RELEASE="ON"
|
||||
CXXFLAGS+= -Wno-cast-align -I${LOCALBASE}/include
|
||||
LDFLAGS+= -lz
|
||||
|
||||
GH_ACCOUNT= tomahawk-player
|
||||
|
||||
|
|
|
@ -9,6 +9,8 @@ MASTER_SITES= LOCAL/ehaupt
|
|||
MAINTAINER= ehaupt@FreeBSD.org
|
||||
COMMENT= Command-line pc speaker bell
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
|
||||
ONLY_FOR_ARCHS= i386 amd64
|
||||
|
||||
OPTIONS_DEFINE= SUID
|
||||
|
|
|
@ -13,7 +13,7 @@ COMMENT= GTK-based MP3 player
|
|||
LIB_DEPENDS= libid3.so:audio/id3lib \
|
||||
libgdbm.so:databases/gdbm
|
||||
|
||||
USES= gettext gmake libtool ncurses pathfix perl5 pkgconfig
|
||||
USES= alias gettext gmake libtool ncurses pathfix perl5 pkgconfig
|
||||
USE_GNOME= gtk20
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --enable-ipv6 \
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
--- Platoon.h.orig 2002-02-13 05:06:01 UTC
|
||||
+++ Platoon.h
|
||||
@@ -1,13 +1,11 @@
|
||||
@@ -1,13 +1,12 @@
|
||||
#ifndef Platoon_H
|
||||
#define Platoon_H
|
||||
#include "robouser.h"
|
||||
-#include <list.h>
|
||||
+#include <list>
|
||||
+#include <cstring>
|
||||
|
||||
/* FIXME: 'reasonable' upper bound on number of users CPU can handle */
|
||||
#define Platoon_MAXUSERS (1 << 16)
|
||||
|
@ -15,7 +16,7 @@
|
|||
/**----------------------------------------------------------------------
|
||||
Platoon of robousers.
|
||||
----------------------------------------------------------------------*/
|
||||
@@ -150,7 +148,7 @@ private:
|
||||
@@ -150,7 +149,7 @@ private:
|
||||
robouser_t *m_users[Platoon_MAXUSERS];
|
||||
|
||||
/** List of dead robousers waiting to be reaped */
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
--- src/client.cc.orig 2005-05-30 10:42:52 UTC
|
||||
+++ src/client.cc
|
||||
@@ -34,7 +34,7 @@ using namespace std;
|
||||
|
||||
#define MAX_VAR_BUF 512
|
||||
|
||||
-#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) && !(defined(__MACH__) && defined(__APPLE__))
|
||||
+#if !defined(__DragonFly__) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) && !(defined(__MACH__) && defined(__APPLE__))
|
||||
#if defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)
|
||||
/* union semun is defined by including <sys/sem.h> */
|
||||
#else
|
||||
@@ -57,7 +57,7 @@ using namespace std;
|
||||
};
|
||||
|
||||
#endif
|
||||
-#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) && !(defined(__MACH__) && defined(__APPLE__))
|
||||
+#if !defined(__DragonFly__) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) && !(defined(__MACH__) && defined(__APPLE__))
|
||||
#define SUPER_SMACK_RESTART ERESTART
|
||||
#else
|
||||
#define SUPER_SMACK_RESTART EINTR
|
|
@ -0,0 +1,10 @@
|
|||
--- src/dictionary.h.orig 2003-05-15 00:14:52 UTC
|
||||
+++ src/dictionary.h
|
||||
@@ -22,6 +22,7 @@ using namespace std;
|
||||
#include "../config.h"
|
||||
|
||||
#include <string>
|
||||
+#include <cstring>
|
||||
#include <vector>
|
||||
#include <time.h>
|
||||
#include <stdlib.h>
|
|
@ -0,0 +1,14 @@
|
|||
--- lib/fof.c.orig 2014-11-06 03:15:59 UTC
|
||||
+++ lib/fof.c
|
||||
@@ -336,7 +336,11 @@ static int cmpOnFilePos(const void *va,
|
||||
{
|
||||
const struct fofBatch *a = *((struct fofBatch **)va);
|
||||
const struct fofBatch *b = *((struct fofBatch **)vb);
|
||||
+#ifdef __DragonFly__
|
||||
+int dif = (struct __FILE_public*)a->f - (struct __FILE_public*)b->f;
|
||||
+#else
|
||||
int dif = a->f - b->f;
|
||||
+#endif
|
||||
if (dif == 0)
|
||||
dif = a->offset - b->offset;
|
||||
return dif;
|
|
@ -0,0 +1,11 @@
|
|||
--- src/chemeq.h.orig 2003-03-11 22:36:25 UTC
|
||||
+++ src/chemeq.h
|
||||
@@ -6,6 +6,8 @@
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
+#include <cstdlib>
|
||||
+#include <cstring>
|
||||
#include <map>
|
||||
|
||||
typedef struct {
|
|
@ -0,0 +1,11 @@
|
|||
--- configure.orig 2012-05-24 23:43:17 UTC
|
||||
+++ configure
|
||||
@@ -2612,7 +2612,7 @@ case "$target_os" in
|
||||
LAMARC_CODE_OSTYPE=LAMARC_COMPILE_MACOSX
|
||||
fi
|
||||
;;
|
||||
- freebsd*|linux*)
|
||||
+ dragonfly*|freebsd*|linux*)
|
||||
if test "X${lamCONV}" = "Xyes" ; then
|
||||
if test "X${lamGUI}" = "Xyes" ; then
|
||||
if test "X${GUI_TOOLKIT}" = "X" ; then
|
|
@ -0,0 +1,9 @@
|
|||
--- framework/base/PGM.cpp.orig 2005-05-07 14:40:23 UTC
|
||||
+++ framework/base/PGM.cpp
|
||||
@@ -1,5 +1,6 @@
|
||||
#include "PGM.h"
|
||||
#include "PPM.h"
|
||||
+#include <cstddef> // C++11 NULL
|
||||
#include <vector> // NULL definition
|
||||
|
||||
namespace ProtoMol {
|
|
@ -0,0 +1,9 @@
|
|||
--- framework/base/PPM.cpp.orig 2005-05-07 14:40:23 UTC
|
||||
+++ framework/base/PPM.cpp
|
||||
@@ -1,5 +1,6 @@
|
||||
#include "PPM.h"
|
||||
#include "PGM.h"
|
||||
+#include <cstddef> // C++11 NULL
|
||||
#include <vector> // NULL definition
|
||||
|
||||
namespace ProtoMol {
|
|
@ -0,0 +1,10 @@
|
|||
--- framework/base/stringutilities.cpp.orig 2005-05-07 14:40:24 UTC
|
||||
+++ framework/base/stringutilities.cpp
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <stdlib.h>
|
||||
+#include <cstring>
|
||||
#include <errno.h>
|
||||
|
||||
#include "Report.h"
|
|
@ -0,0 +1,10 @@
|
|||
--- framework/imd/imd.cpp.orig 2005-05-07 14:40:25 UTC
|
||||
+++ framework/imd/imd.cpp
|
||||
@@ -1,6 +1,7 @@
|
||||
#include "imd.h"
|
||||
#include "vmdsock.h"
|
||||
#include <string>
|
||||
+#include <cstring>
|
||||
using std::string;
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
|
@ -0,0 +1,10 @@
|
|||
--- framework/imd/vmdsock.cpp.orig 2005-05-07 14:40:25 UTC
|
||||
+++ framework/imd/vmdsock.cpp
|
||||
@@ -32,6 +32,7 @@ namespace ProtoMol {
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string>
|
||||
+#include <cstring>
|
||||
using std::string;
|
||||
|
||||
#if defined(WIN32)
|
|
@ -4,7 +4,7 @@
|
|||
PORTNAME= openvsp
|
||||
PORTVERSION= 3.9.1
|
||||
DISTVERSIONPREFIX= ${GH_PROJECT}_
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= cad
|
||||
|
||||
MAINTAINER= fernando.apesteguia@gmail.com
|
||||
|
@ -39,7 +39,20 @@ WRKSRC= ${WRKDIR}/${GH_PROJECT}-${GH_PROJECT}_${PORTVERSION}
|
|||
|
||||
CMAKE_SOURCE_PATH= ${WRKSRC}/SuperProject
|
||||
CMAKE_INSTALL_PREFIX= ${STAGEDIR}${PREFIX}
|
||||
USES= cmake:outsource compiler:gcc-c++11-lib jpeg
|
||||
USES= cmake:outsource jpeg
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OSVERSION} == 1001000
|
||||
# Fails to build with GCC 4.9 in 10.1
|
||||
USE_GCC= 4.8
|
||||
LDFLAGS+= -L${LOCALBASE}/lib/c++
|
||||
CXXFLAGS+= -nostdinc++ -isystem ${LOCALBASE}/include/c++/v1
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/lib/c++/libstdc++.so:devel/libc++
|
||||
.else
|
||||
USES += compiler:gcc-c++11-lib
|
||||
.endif
|
||||
|
||||
CMAKE_ARGS= -DVSP_USE_SYSTEM_CMINPACK:BOOLEAN=yes \
|
||||
-DVSP_USE_SYSTEM_CPPTEST:BOOLEAN=yes \
|
||||
-DVSP_USE_SYSTEM_LIBXML2:BOOLEAN=yes \
|
||||
|
|
|
@ -96,6 +96,7 @@
|
|||
SUBDIR += p5-cconv
|
||||
SUBDIR += pcmanx
|
||||
SUBDIR += php-cconv
|
||||
SUBDIR += php-opencc
|
||||
SUBDIR += phpbb-tw
|
||||
SUBDIR += phpbb3-tw
|
||||
SUBDIR += py-cconv
|
||||
|
|
|
@ -5,7 +5,6 @@ PORTNAME= opencc
|
|||
PORTVERSION= 1.0.4
|
||||
DISTVERSIONPREFIX= ver.
|
||||
CATEGORIES= chinese converters
|
||||
MASTER_SITES= GITHUB
|
||||
|
||||
MAINTAINER= lichray@gmail.com
|
||||
COMMENT= Open Chinese Convert library and utilities
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
# Created by: Gasol Wu <gasol.wu@gmail.com>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= opencc
|
||||
PORTVERSION= 0.0.0.20161110
|
||||
CATEGORIES= chinese
|
||||
PKGNAMEPREFIX= php-
|
||||
|
||||
MAINTAINER= gasol.wu@gmail.com
|
||||
COMMENT= OpenCC shared extension for php
|
||||
|
||||
LICENSE= PHP301
|
||||
|
||||
LIB_DEPENDS= libopencc.so:chinese/opencc
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= NauxLiu
|
||||
GH_PROJECT= opencc4php
|
||||
GH_TAGNAME= 8007639
|
||||
|
||||
USES= php:ext
|
||||
|
||||
.include <bsd.port.mk>
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1481908552
|
||||
SHA256 (NauxLiu-opencc4php-0.0.0.20161110-8007639_GH0.tar.gz) = 7d5fe9431bccfe5b52dd43e0736509825c1f839f2d8081a5f3ef18131f3ab095
|
||||
SIZE (NauxLiu-opencc4php-0.0.0.20161110-8007639_GH0.tar.gz) = 6776
|
|
@ -0,0 +1,6 @@
|
|||
Open Chinese Convert is an opensource project for conversion between Traditional
|
||||
Chinese and Simplified Chinese, supporting character-level conversion,
|
||||
phrase-level conversion, variant conversion and regional idioms among Mainland
|
||||
China, Taiwan and Hong kong.
|
||||
|
||||
WWW: https://github.com/NauxLiu/opencc4php
|
|
@ -34,7 +34,7 @@ DEFAULTPORT?= 782
|
|||
DEFAULTHOST?= localhost
|
||||
|
||||
FREEIPMI_CONFIGURE_ON= --with-freeipmi=${LOCALBASE}
|
||||
FREEIPMI_LIB_DEPENDS= libfreeipmi.so:${PORTSDIR}/sysutils/freeipmi
|
||||
FREEIPMI_LIB_DEPENDS= libfreeipmi.so:sysutils/freeipmi
|
||||
GSSAPI_CONFIGURE_WITH= gssapi
|
||||
GSSAPIONLY_EXTRA_PATCHES= ${FILESDIR}/extra-patch-conserver__master.c
|
||||
STRIPREALM_CONFIGURE_WITH= striprealm
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= gammu
|
||||
PORTVERSION= 1.37.91
|
||||
PORTVERSION= 1.38.0
|
||||
CATEGORIES= comms
|
||||
MASTER_SITES= http://dl.cihar.com/gammu/releases/
|
||||
|
||||
|
@ -13,11 +13,9 @@ LICENSE= GPLv2
|
|||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
LIB_DEPENDS= libcurl.so:ftp/curl
|
||||
#RUN_DEPENDS= cdialog:devel/cdialog
|
||||
|
||||
CONFLICTS= gammu-devel-[1-9]* gammu-python-[1-9]*
|
||||
|
||||
CMAKE_ARGS= -DINSTALL_LIBDATA_DIR:PATH=${PREFIX}/libdata
|
||||
CMAKE_ARGS= -DINSTALL_LIBDATA_DIR:PATH=${PREFIX}/libdata \
|
||||
-DINSTALL_MAN_DIR:PATH=${PREFIX}/man
|
||||
|
||||
USES= cmake:outsource gettext iconv pkgconfig shebangfix tar:xz
|
||||
SHEBANG_FILES= utils/jadmaker utils/gammu-config
|
||||
|
@ -40,7 +38,7 @@ DBI_LIB_DEPENDS= libdbi.so:databases/libdbi
|
|||
DBI_CMAKE_OFF= -DWITH_LibDBI:BOOL=OFF
|
||||
PGSQL_USES= pgsql
|
||||
PGSQL_CMAKE_OFF= -DWITH_Postgres:BOOL=OFF
|
||||
MYSQL_USE= mysql=yes
|
||||
MYSQL_USES= mysql
|
||||
MYSQL_CMAKE_OFF= -DWITH_MySQL:BOOL=OFF
|
||||
ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC
|
||||
ODBC_CMAKE_OFF= -DWITH_ODBC:BOOL=OFF
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1478878437
|
||||
SHA256 (gammu-1.37.91.tar.xz) = fb353ed465b1ae408485e55c97f3a9e910af2c271b03a5bf3aab61bb4225fe00
|
||||
SIZE (gammu-1.37.91.tar.xz) = 1675144
|
||||
TIMESTAMP = 1481869854
|
||||
SHA256 (gammu-1.38.0.tar.xz) = 561cc1f116db604a7a2c29c05f2ef7f23a4e1fff1db187b69b277e5516181071
|
||||
SIZE (gammu-1.38.0.tar.xz) = 1677156
|
||||
|
|
|
@ -25,12 +25,3 @@
|
|||
)
|
||||
|
||||
# OpenCellID API key
|
||||
@@ -591,7 +589,7 @@ mark_as_advanced (INSTALL_DATA_DIR)
|
||||
set (INSTALL_DOC_DIR "share/doc/gammu" CACHE STRING "Path for documentation installation")
|
||||
mark_as_advanced (INSTALL_DOC_DIR)
|
||||
|
||||
-set (INSTALL_MAN_DIR "share/man" CACHE STRING "Path for man pages installation")
|
||||
+set (INSTALL_MAN_DIR "man" CACHE STRING "Path for man pages installation")
|
||||
mark_as_advanced (INSTALL_MAN_DIR)
|
||||
|
||||
# Phone and protocol configuration
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- libgammu/device/bluetooth/blue_bsd.c.orig 2016-11-12 10:13:02.619065000 +0800
|
||||
+++ libgammu/device/bluetooth/blue_bsd.c 2016-11-12 10:13:27.768173000 +0800
|
||||
--- libgammu/device/bluetooth/blue_bsd.c.orig 2016-12-12 13:47:26 UTC
|
||||
+++ libgammu/device/bluetooth/blue_bsd.c
|
||||
@@ -10,6 +10,8 @@
|
||||
#ifdef GSM_ENABLE_BLUETOOTHDEVICE
|
||||
#ifdef BSD_BLUE_FOUND
|
|
@ -611,6 +611,7 @@
|
|||
SUBDIR += php56-sybase_ct
|
||||
SUBDIR += php70-dba
|
||||
SUBDIR += php70-interbase
|
||||
SUBDIR += php70-memcache
|
||||
SUBDIR += php70-memcached
|
||||
SUBDIR += php70-mysqli
|
||||
SUBDIR += php70-odbc
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= cego
|
||||
PORTVERSION= 2.31.7
|
||||
PORTVERSION= 2.32.0
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= http://www.lemke-it.com/
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1480845737
|
||||
SHA256 (cego-2.31.7.tar.gz) = 32718c47c816ef095a3d03ae60d207823f255d98820e77e0347fe838480581be
|
||||
SIZE (cego-2.31.7.tar.gz) = 1437416
|
||||
TIMESTAMP = 1481910060
|
||||
SHA256 (cego-2.32.0.tar.gz) = 7135da4c0da2828aa0fc889cbddec6c06aa79c7ed7463a7833121fce2ac4feb5
|
||||
SIZE (cego-2.32.0.tar.gz) = 1439113
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= couchdb
|
||||
PORTVERSION= 1.6.1
|
||||
PORTREVISION= 9
|
||||
PORTREVISION= 10
|
||||
PORTEPOCH= 2
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= APACHE/couchdb/source/${PORTVERSION}
|
||||
|
|
|
@ -2,7 +2,7 @@ bin/couch-config
|
|||
bin/couchdb
|
||||
bin/couchjs
|
||||
%%ETCDIR%%/default.ini
|
||||
@sample(couchdb,,) %%ETCDIR%%/local.ini.sample
|
||||
@sample(couchdb,couchdb,600) %%ETCDIR%%/local.ini.sample
|
||||
etc/logrotate.d/couchdb
|
||||
lib/couchdb/bin/couchjs
|
||||
lib/couchdb/erlang/lib/couch-%%VERSION%%/ebin/couch.app
|
||||
|
@ -632,8 +632,8 @@ man/man1/couchjs.1.gz
|
|||
%%PORTDOCS%%%%DOCSDIR%%/NOTICE.gz
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.gz
|
||||
%%PORTDOCS%%%%DOCSDIR%%/THANKS.gz
|
||||
@dir %%ETCDIR%%/default.d
|
||||
@dir %%ETCDIR%%/local.d
|
||||
@dir /var/db/couchdb
|
||||
@dir /var/log/couchdb
|
||||
@dir /var/run/couchdb
|
||||
@dir(couchdb,couchdb,750) %%ETCDIR%%/default.d
|
||||
@dir(couchdb,couchdb,750) %%ETCDIR%%/local.d
|
||||
@dir(couchdb,couchdb,750) /var/db/couchdb
|
||||
@dir(couchdb,couchdb,750) /var/log/couchdb
|
||||
@dir(couchdb,couchdb,750) /var/run/couchdb
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME?= mariadb
|
||||
PORTVERSION= 10.1.19
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 10.1.20
|
||||
CATEGORIES= databases ipv6
|
||||
MASTER_SITES= http://ftp.osuosl.org/pub/${SITESDIR}/ \
|
||||
http://mirrors.supportex.net/${SITESDIR}/ \
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1478591187
|
||||
SHA256 (mariadb-10.1.19.tar.gz) = 5b9373f314e2d1727422fb3795bcf50c1c59005129b35b6cadafae5663251a81
|
||||
SIZE (mariadb-10.1.19.tar.gz) = 61222929
|
||||
TIMESTAMP = 1481835914
|
||||
SHA256 (mariadb-10.1.20.tar.gz) = c24e83f24d674d9912319f9e9422f093c8ca6be1721a4380cbd74792b89ba0b9
|
||||
SIZE (mariadb-10.1.20.tar.gz) = 61312731
|
||||
|
|
|
@ -20,7 +20,7 @@ BUILD_DEPENDS= p5-DBI>=0:databases/p5-DBI \
|
|||
p5-Data-Dumper-Concise>=2.022:devel/p5-Data-Dumper-Concise \
|
||||
p5-Lingua-EN-PluralToSingular>=0.18:textproc/p5-Lingua-EN-PluralToSingular \
|
||||
p5-Moo>=2.002004:devel/p5-Moo \
|
||||
p5-Text-Table-Manifold>=1:${PORTSDIR}/textproc/p5-Text-Table-Manifold
|
||||
p5-Text-Table-Manifold>=1:textproc/p5-Text-Table-Manifold
|
||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= Horde_Db
|
||||
PORTVERSION= 2.3.3
|
||||
PORTVERSION= 2.3.4
|
||||
CATEGORIES= databases www pear
|
||||
PKGNAMEPREFIX= pear-
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1473287948
|
||||
SHA256 (Horde/Horde_Db-2.3.3.tgz) = e608e99e8cad0eb8c169b9e0699a68b77bb25feb8343e9bfaad8a4fdabea0ec3
|
||||
SIZE (Horde/Horde_Db-2.3.3.tgz) = 94082
|
||||
TIMESTAMP = 1481937649
|
||||
SHA256 (Horde/Horde_Db-2.3.4.tgz) = 7f5e3fe28493c1e716c0d0a5969e72e640bb2c179ff29bfc6333cefce4b5677a
|
||||
SIZE (Horde/Horde_Db-2.3.4.tgz) = 94755
|
||||
|
|
|
@ -0,0 +1,34 @@
|
|||
# Created by: Gerrit Beine <tux@pinguru.net>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= memcache
|
||||
PORTVERSION= 3.0.8
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= databases
|
||||
PKGNAMEPREFIX= php70-
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Memcached extension for PHP 7
|
||||
|
||||
LICENSE= PHP30
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
OPTIONS_DEFINE= EXAMPLES
|
||||
|
||||
CONFIGURE_ARGS= --with-zlib-dir=/usr
|
||||
IGNORE_WITH_PHP=56
|
||||
PHP_VER= 70
|
||||
USE_CSTD= gnu89
|
||||
USE_PHP= session:build zlib:build
|
||||
USES= dos2unix php:ext
|
||||
|
||||
GH_ACCOUNT= websupport-sk
|
||||
GH_PROJECT= pecl-${PORTNAME}
|
||||
GH_TAGNAME= 5041d2f
|
||||
USE_GITHUB= yes
|
||||
|
||||
post-install-EXAMPLES-on:
|
||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
|
||||
${INSTALL_DATA} ${WRKSRC}/example.php ${STAGEDIR}${EXAMPLESDIR}/
|
||||
|
||||
.include <bsd.port.mk>
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1481566704
|
||||
SHA256 (websupport-sk-pecl-memcache-3.0.8-5041d2f_GH0.tar.gz) = b441255305e962cecfbb6e88501374a317aeb4dec706e3c2e7c780bb26bf5a96
|
||||
SIZE (websupport-sk-pecl-memcache-3.0.8-5041d2f_GH0.tar.gz) = 110448
|
|
@ -0,0 +1,8 @@
|
|||
Memcached is a caching daemon designed especially for dynamic web applications
|
||||
to decrease database load by storing objects in memory. This extension allows
|
||||
you to work with memcached through handy OO and procedural interfaces.
|
||||
|
||||
Note that this port uses unofficial development from
|
||||
https://github.com/websupport-sk/pecl-memcache (NON_BLOCKING_IO_php7 branch).
|
||||
|
||||
WWW: https://pecl.php.net/package/memcache
|
|
@ -0,0 +1 @@
|
|||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.php
|
|
@ -29,6 +29,6 @@ GH_TAGNAME= c032fba
|
|||
PHP_MODNAME= memcached
|
||||
|
||||
SASL_CONFIGURE_ENABLE= memcached-sasl
|
||||
SASL_LIB_DEPENDS= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2
|
||||
SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -94,6 +94,7 @@
|
|||
SUBDIR += gnote
|
||||
SUBDIR += gnotime
|
||||
SUBDIR += gnustep-wrapper
|
||||
SUBDIR += go-for-it
|
||||
SUBDIR += gourmet
|
||||
SUBDIR += griffith
|
||||
SUBDIR += growl-for-linux
|
||||
|
|
|
@ -0,0 +1,30 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= go-for-it
|
||||
PORTVERSION= 1.4.7
|
||||
DISTVERSIONPREFIX= release_
|
||||
CATEGORIES= deskutils
|
||||
|
||||
MAINTAINER= neel@neelc.org
|
||||
COMMENT= Stylish to-do list with built-in productivity timer
|
||||
|
||||
LICENSE= GPLv3+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
BUILD_DEPENDS= valac:lang/vala
|
||||
LIB_DEPENDS= libnotify.so:devel/libnotify
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= mank319
|
||||
GH_PROJECT= Go-For-It
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USES= cmake gettext-runtime pkgconfig
|
||||
USE_GNOME= cairo glib20 gtk30
|
||||
INSTALLS_ICONS= yes
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/data/go-for-it.desktop \
|
||||
${STAGEDIR}${PREFIX}/share/applications
|
||||
|
||||
.include <bsd.port.mk>
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1481883163
|
||||
SHA256 (mank319-Go-For-It-release_1.4.7_GH0.tar.gz) = f935ac3c1bb82095f5b4910b440a54c8e7b00d844154572beacf03294dd81c21
|
||||
SIZE (mank319-Go-For-It-release_1.4.7_GH0.tar.gz) = 301310
|
|
@ -0,0 +1,4 @@
|
|||
Go For It! is a simple and stylish productivity app, featuring a to-do list,
|
||||
merged with a timer that keeps your focus on the current task.
|
||||
|
||||
WWW: http://manuel-kehl.de/projects/go-for-it/
|
|
@ -0,0 +1,12 @@
|
|||
bin/go-for-it
|
||||
share/icons/hicolor/16x16/apps/go-for-it.svg
|
||||
share/icons/hicolor/24x24/apps/go-for-it.svg
|
||||
share/icons/hicolor/32x32/apps/go-for-it.svg
|
||||
share/icons/hicolor/48x48/apps/go-for-it.svg
|
||||
share/icons/hicolor/64x64/apps/go-for-it.svg
|
||||
share/icons/hicolor/128x128/apps/go-for-it.svg
|
||||
share/icons/hicolor/24x24/actions/go-for-it-open-menu-fallback.svg
|
||||
share/go-for-it/style/go-for-it-3.20.css
|
||||
share/go-for-it/style/go-for-it-3.10.css
|
||||
share/go-for-it/style/go-for-it-legacy.css
|
||||
share/applications/go-for-it.desktop
|
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= groupware
|
||||
PORTVERSION= 5.2.16
|
||||
PORTVERSION= 5.2.17
|
||||
CATEGORIES= deskutils www pear
|
||||
PKGNAMEPREFIX= horde-
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1473288055
|
||||
SHA256 (Horde/groupware-5.2.16.tgz) = 27074cd302459f3b85916ce7a9949fb18768368491eb9593b5a8ad590e3eccb8
|
||||
SIZE (Horde/groupware-5.2.16.tgz) = 129730
|
||||
TIMESTAMP = 1482001581
|
||||
SHA256 (Horde/groupware-5.2.17.tgz) = f529643a4ebfed54c8265f3356bb1f68d835153cae28a7fe8c9ffe457dd5a778
|
||||
SIZE (Horde/groupware-5.2.17.tgz) = 132146
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= kronolith
|
||||
PORTVERSION= 4.2.18
|
||||
PORTVERSION= 4.2.19
|
||||
CATEGORIES= deskutils www pear
|
||||
PKGNAMEPREFIX= horde-
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1473288042
|
||||
SHA256 (Horde/kronolith-4.2.18.tgz) = 531c182b751386ccaf2a55e093b7a00afe50b35605f3f69cff5164837912022b
|
||||
SIZE (Horde/kronolith-4.2.18.tgz) = 2615798
|
||||
TIMESTAMP = 1481937703
|
||||
SHA256 (Horde/kronolith-4.2.19.tgz) = dd5af3da1efcedac90e7d1492bb650e6a496d779a3e6a7d400c70e87fc668196
|
||||
SIZE (Horde/kronolith-4.2.19.tgz) = 2615858
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= mnemo
|
||||
PORTVERSION= 4.2.11
|
||||
PORTVERSION= 4.2.12
|
||||
CATEGORIES= deskutils www pear
|
||||
PKGNAMEPREFIX= horde-
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1467489299
|
||||
SHA256 (Horde/mnemo-4.2.11.tgz) = e7ebf129c888c7e488da798ee3f3a51683e05d16b303fe0c443e3ea845a9b659
|
||||
SIZE (Horde/mnemo-4.2.11.tgz) = 1178961
|
||||
TIMESTAMP = 1481937708
|
||||
SHA256 (Horde/mnemo-4.2.12.tgz) = f0e6c76bdd7eb3ad5aa0d3980d3f1a49d602ebe1f73955f9db3a5c03cf9d4dcf
|
||||
SIZE (Horde/mnemo-4.2.12.tgz) = 1179057
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
SUBDIR += R-cran-reshape
|
||||
SUBDIR += R-cran-reshape2
|
||||
SUBDIR += R-cran-rngtools
|
||||
SUBDIR += R-cran-rprojroot
|
||||
SUBDIR += R-cran-rstudioapi
|
||||
SUBDIR += R-cran-sourcetools
|
||||
SUBDIR += R-cran-tibble
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= data.table
|
||||
PORTVERSION= 1.9.6
|
||||
PORTVERSION= 1.10.0
|
||||
CATEGORIES= devel
|
||||
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
||||
|
||||
MAINTAINER= tota@FreeBSD.org
|
||||
COMMENT= Extension of Data.frame
|
||||
|
||||
LICENSE= GPLv2+
|
||||
LICENSE= GPLv3
|
||||
|
||||
CRAN_DEPENDS= R-cran-chron>0:devel/R-cran-chron
|
||||
BUILD_DEPENDS= ${CRAN_DEPENDS}
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue