Remove a few expired ports:

2020-12-31 audio/ardour: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream
2020-12-31 audio/mixxx21: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream
2020-12-31 databases/arangodb32: Uses Python 2.7 which is EOLed upstream
2020-12-31 databases/arangodb33: Uses Python 2.7 which is EOLed upstream
2020-12-31 devel/bzr: Uses Python 2.7 which is EOLed upstream
2020-12-31 devel/chromium-gn: Uses deprecated version of python, use devel/gn instead
2020-12-31 devel/mongo-cxx-driver: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream
This commit is contained in:
Rene Ladan 2021-01-02 13:49:04 +00:00
parent bd5c521312
commit b87c6bce5f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=559941
94 changed files with 7 additions and 13133 deletions

7
MOVED
View file

@ -15972,3 +15972,10 @@ editors/atom||2021-01-02|Has expired: Uses Python 2.7 which is EOLed upstream
devel/electron4||2021-01-02|Has expired: Uses Python 2.7 which is EOLed upstream
devel/electron5||2021-01-02|Has expired: Uses Python 2.7 which is EOLed upstream
devel/electron6||2021-01-02|Has expired: Uses Python 2.7 which is EOLed upstream
audio/ardour|audio/ardour6|2021-01-02|Has expired: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream
audio/mixxx21|audio/mixxx|2021-01-02|Has expired: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream
databases/arangodb32||2021-01-02|Has expired: Uses Python 2.7 which is EOLed upstream
databases/arangodb33||2021-01-02|Has expired: Uses Python 2.7 which is EOLed upstream
devel/bzr||2021-01-02|Has expired: Uses Python 2.7 which is EOLed upstream
devel/chromium-gn|devel/gn|2021-01-02|Has expired: Uses deprecated version of python, use devel/gn instead
devel/mongo-cxx-driver||2021-01-02|Has expired: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream

View file

@ -28,7 +28,6 @@
SUBDIR += ample
SUBDIR += amsynth
SUBDIR += aqualung
SUBDIR += ardour
SUBDIR += ardour6
SUBDIR += ario
SUBDIR += arss
@ -502,7 +501,6 @@
SUBDIR += mixer.app
SUBDIR += mixertui
SUBDIR += mixxx
SUBDIR += mixxx21
SUBDIR += mkcue
SUBDIR += moc
SUBDIR += modplug-tools

View file

@ -1,126 +0,0 @@
# Created by: Edward Tomasz Napierala <trasz@pin.if.uz.zgora.pl>
# $FreeBSD$
PORTNAME= ardour
PORTVERSION= 2.8.16
PORTREVISION= 19
CATEGORIES= audio
MASTER_SITES= http://freebsd.nsu.ru/distfiles/
MAINTAINER= danfe@FreeBSD.org
COMMENT= Multichannel digital audio workstation
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_powerpc64= Does not build: KeyError: 'soundtouch'
BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto
LIB_DEPENDS= libaubio.so:audio/aubio \
libboost_date_time.so:devel/boost-libs \
libcurl.so:ftp/curl \
libfftw3.so:math/fftw3 \
libfftw3f.so:math/fftw3-float \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libgnomecanvasmm-2.6.so:graphics/libgnomecanvasmm26 \
libjack.so:audio/jack \
liblo.so:audio/liblo \
liblrdf.so:textproc/liblrdf \
libraptor2.so:textproc/raptor2 \
libsamplerate.so:audio/libsamplerate \
libsndfile.so:audio/libsndfile
USES= cpe gettext gnome pkgconfig scons:python2 tar:bzip2
MAKE_ARGS+= SYSLIBS=yes PREFIX=${PREFIX} NLS=yes
CFLAGS+= -I${LOCALBASE}/include -DHAVE_AUBIO4
USE_GNOME= atk atkmm cairo cairomm gdkpixbuf2 glib20 glibmm gtk20 gtkmm24 \
libartlgpl2 libgnomecanvas libsigc++20 libxslt pango pangomm
USE_LDCONFIG= ${PREFIX}/lib/ardour2 ${PREFIX}/lib/ardour2/surfaces
PLIST_SUB= DISTVERSION=${DISTVERSION}
OPTIONS_DEFINE= OPTIMIZED_CFLAGS VST
VST_DESC= VST plugins support
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MVST}
MAKE_ARGS+= VST=yes
LIB_DEPENDS+= libwine.so:emulators/wine
PLIST_SUB+= NO_VST="@comment "
PLIST_SUB+= VST=""
.else
PLIST_SUB+= NO_VST=""
PLIST_SUB+= VST="@comment "
.endif
# Upstream uses these flags by default
.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
CFLAGS+= -O3 -fomit-frame-pointer -ffast-math -fstrength-reduce
. if ${ARCH} == "amd64"
MAKE_ARGS+= DIST_TARGET=x86_64
MAKE_ARGS+= FPU_OPTIMIZATION=1
. elif ${MACHINE_CPU:Msse}
MAKE_ARGS+= DIST_TARGET=i686
MAKE_ARGS+= FPU_OPTIMIZATION=1
. else
MAKE_ARGS+= DIST_TARGET=i386
MAKE_ARGS+= FPU_OPTIMIZATION=0
. endif
.else
MAKE_ARGS+= FPU_OPTIMIZATION=0
.endif
post-patch:
@${REINPLACE_CMD} -e 's|%%CFLAGS%%|${CFLAGS}|' ${WRKSRC}/SConstruct
@${REINPLACE_CMD} -e 's|alsa_pcm|oss|g' ${WRKSRC}/templates/*.template
@${REINPLACE_CMD} -e 's|std::pair<double|std::pair<const double|' \
${WRKSRC}/gtk2_ardour/tempo_lines.h
@${REINPLACE_CMD} -e '/sigc++\/class_slot\.h/d' \
${WRKSRC}/libs/ardour/audioregion.cc \
${WRKSRC}/libs/ardour/region.cc
@${REINPLACE_CMD} -e 's|time_t|& *|' \
${WRKSRC}/libs/ardour/audiosource.cc
@${REINPLACE_CMD} -e '/sigc++\/retype\.h/d' \
${WRKSRC}/libs/ardour/audio_track.cc \
${WRKSRC}/gtk2_ardour/editor_markers.cc \
${WRKSRC}/libs/ardour/session.cc \
${WRKSRC}/libs/ardour/session_transport.cc \
${WRKSRC}/libs/ardour/track.cc
@${REINPLACE_CMD} -e '/missing_source = /s,;, != NULL;,' \
${WRKSRC}/gtk2_ardour/editor_region_list.cc
@${REINPLACE_CMD} -E 's,(graph_gc|layout) == 0,!&,' \
${WRKSRC}/gtk2_ardour/fft_graph.cc \
${WRKSRC}/gtk2_ardour/panner2d.cc
@${REINPLACE_CMD} -e 's,( *bind,(sigc::bind,' \
${WRKSRC}/libs/gtkmm2ext/gtk_ui.cc \
${WRKSRC}/gtk2_ardour/ardour_ui2.cc \
${WRKSRC}/gtk2_ardour/ardour_ui_ed.cc \
${WRKSRC}/gtk2_ardour/audio_clock.cc \
${WRKSRC}/gtk2_ardour/audio_region_editor.cc \
${WRKSRC}/gtk2_ardour/crossfade_edit.cc \
${WRKSRC}/gtk2_ardour/editor.cc \
${WRKSRC}/gtk2_ardour/editor_audio_import.cc \
${WRKSRC}/gtk2_ardour/editor_canvas.cc \
${WRKSRC}/gtk2_ardour/editor_markers.cc \
${WRKSRC}/gtk2_ardour/editor_ops.cc \
${WRKSRC}/gtk2_ardour/editor_selection.cc \
${WRKSRC}/gtk2_ardour/editor_tempodisplay.cc \
${WRKSRC}/gtk2_ardour/generic_pluginui.cc \
${WRKSRC}/gtk2_ardour/io_selector.cc \
${WRKSRC}/gtk2_ardour/level_meter.cc \
${WRKSRC}/gtk2_ardour/mixer_strip.cc \
${WRKSRC}/gtk2_ardour/mixer_ui.cc \
${WRKSRC}/gtk2_ardour/option_editor.cc \
${WRKSRC}/gtk2_ardour/plugin_ui.cc \
${WRKSRC}/gtk2_ardour/route_time_axis.cc \
${WRKSRC}/gtk2_ardour/time_axis_view_item.cc
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/ardour2/templates
${INSTALL_DATA} ${WRKSRC}/templates/*.template \
${STAGEDIR}${PREFIX}/share/ardour2/templates
.include <bsd.port.mk>

View file

@ -1,2 +0,0 @@
SHA256 (ardour-2.8.16.tar.bz2) = 37ee32119ba105fa0883faa7e18c58ecd5276894568da224a554d9ef49075e40
SIZE (ardour-2.8.16.tar.bz2) = 2169916

View file

@ -1,78 +0,0 @@
--- SConstruct.orig 2012-12-02 19:19:45 UTC
+++ SConstruct
@@ -784,10 +784,7 @@ if env['FPU_OPTIMIZATION']:
# handle x86/x86_64 libdir properly
if env['DIST_LIBDIR'] == '':
- if env['DIST_TARGET'] == 'x86_64':
- env['LIBDIR']='lib64'
- else:
- env['LIBDIR']='lib'
+ env['LIBDIR']='lib'
else:
env['LIBDIR'] = env['DIST_LIBDIR']
@@ -838,13 +835,7 @@ if env['ARCH'] != '':
# prepend boiler plate optimization flags
#
-opt_flags[:0] = [
- "-O3",
- "-fomit-frame-pointer",
- "-ffast-math",
- "-fstrength-reduce",
- "-pipe"
- ]
+opt_flags[:0] = [ "%%CFLAGS%%" ];
if env['DEBUG'] == 1:
env.Append(CCFLAGS=" ".join (debug_flags))
@@ -866,7 +857,7 @@ if env['UNIVERSAL'] == 1:
#
env.Append(CCFLAGS="-Wall")
-env.Append(CXXFLAGS="-Woverloaded-virtual")
+env.Append(CXXFLAGS="-Woverloaded-virtual -std=c++11 -Wno-c++11-narrowing")
if env['EXTRA_WARN']:
env.Append(CCFLAGS="-Wextra -pedantic -ansi")
@@ -955,6 +946,7 @@ conf.Finish()
libraries['usb'] = LibraryInfo ()
prep_libcheck(env, libraries['usb'])
+libraries['usb'].Append(CCFLAGS="-I/usr/local/include", LINKFLAGS="-L/usr/local/lib")
conf = Configure (libraries['usb'])
if conf.CheckLib ('usb', 'usb_interrupt_write'):
@@ -1006,6 +998,7 @@ libraries['boost'] = conf.Finish ()
libraries['dmalloc'] = LibraryInfo ()
prep_libcheck(env, libraries['dmalloc'])
+libraries['dmalloc'].Append(CCFLAGS="-I/usr/local/include", LINKFLAGS="-L/usr/local/lib")
#
# look for the threaded version
@@ -1063,8 +1056,10 @@ elif conf.CheckCHeader('/System/Library/Frameworks/Cor
subst_dict['%MIDITAG%'] = "ardour"
subst_dict['%MIDITYPE%'] = "coremidi"
else:
- print "It appears you don't have the required MIDI libraries installed. For Linux this means you are missing the development package for ALSA libraries."
- sys.exit (1)
+ libraries['sysmidi'] = LibraryInfo ()
+ env['SYSMIDI'] = 'none'
+ subst_dict['%MIDITAG%'] = "none"
+ subst_dict['%MIDITYPE%'] = "none"
pname = env['PROGRAM_NAME']
subst_dict['%MIDI_DEVICE_NAME%'] = pname.lower()
@@ -1352,8 +1347,8 @@ if conf.CheckCHeader('/System/Library/Frameworks/CoreA
subst_dict['%JACK_INPUT%'] = "coreaudio:Built-in Audio:in"
subst_dict['%JACK_OUTPUT%'] = "coreaudio:Built-in Audio:out"
else:
- subst_dict['%JACK_INPUT%'] = "alsa_pcm:playback_"
- subst_dict['%JACK_OUTPUT%'] = "alsa_pcm:capture_"
+ subst_dict['%JACK_INPUT%'] = "oss:playback_"
+ subst_dict['%JACK_OUTPUT%'] = "oss:capture_"
# posix_memalign available
if not conf.CheckFunc('posix_memalign'):

View file

@ -1,340 +0,0 @@
commit 1eaa30b7257f006878c9b2c88ecbaea5bc36b174
Author: Robin Gareus <robin@gareus.org>
Date: Sun Jan 12 18:11:14 2014 +0100
aubio 3+4 compat
diff --git libs/vamp-plugins/Onset.cpp libs/vamp-plugins/Onset.cpp
index d475b11..196ca29 100644
--- libs/vamp-plugins/Onset.cpp
+++ libs/vamp-plugins/Onset.cpp
@@ -22,29 +22,51 @@ using std::vector;
using std::cerr;
using std::endl;
+#ifdef HAVE_AUBIO4
+const char *getAubioNameForOnsetType(OnsetType t)
+{
+ // In the same order as the enum elements in the header
+ static const char *const names[] = {
+ "energy", "specdiff", "hfc", "complex", "phase", "kl", "mkl", "specflux"
+ };
+ return names[(int)t];
+}
+#endif
+
Onset::Onset(float inputSampleRate) :
Plugin(inputSampleRate),
m_ibuf(0),
- m_fftgrain(0),
m_onset(0),
+#ifdef HAVE_AUBIO4
+ m_onsetdet(0),
+ m_onsettype(OnsetComplex),
+ m_minioi(4),
+ m_silence(-70),
+#else
+ m_fftgrain(0),
m_pv(0),
m_peakpick(0),
m_onsetdet(0),
m_onsettype(aubio_onset_complex),
- m_threshold(0.3),
+ m_channelCount(1),
m_silence(-90),
- m_channelCount(1)
+#endif
+ m_threshold(0.3)
{
}
Onset::~Onset()
{
+#ifdef HAVE_AUBIO4
+ if (m_onsetdet) del_aubio_onset(m_onsetdet);
+#else
if (m_onsetdet) aubio_onsetdetection_free(m_onsetdet);
- if (m_ibuf) del_fvec(m_ibuf);
- if (m_onset) del_fvec(m_onset);
if (m_fftgrain) del_cvec(m_fftgrain);
if (m_pv) del_aubio_pvoc(m_pv);
if (m_peakpick) del_aubio_peakpicker(m_peakpick);
+#endif
+ if (m_ibuf) del_fvec(m_ibuf);
+ if (m_onset) del_fvec(m_onset);
}
string
@@ -74,7 +96,11 @@ Onset::getMaker() const
int
Onset::getPluginVersion() const
{
+#ifdef HAVE_AUBIO4
+ return 2;
+#else
return 1;
+#endif
}
string
@@ -86,10 +112,20 @@ Onset::getCopyright() const
bool
Onset::initialise(size_t channels, size_t stepSize, size_t blockSize)
{
- m_channelCount = channels;
m_stepSize = stepSize;
m_blockSize = blockSize;
+#ifdef HAVE_AUBIO4
+ if (channels != 1) {
+ std::cerr << "Onset::initialise: channels must be 1" << std::endl;
+ return false;
+ }
+ m_ibuf = new_fvec(stepSize);
+ m_onset = new_fvec(1);
+ reset();
+#else
+ m_channelCount = channels;
+
m_ibuf = new_fvec(stepSize, channels);
m_onset = new_fvec(1, channels);
m_fftgrain = new_cvec(blockSize, channels);
@@ -103,13 +139,32 @@ Onset::initialise(size_t channels, size_t stepSize, size_t blockSize)
m_lastOnset = Vamp::RealTime::zeroTime - m_delay - m_delay;
+#endif
return true;
}
+#ifdef HAVE_AUBIO4
void
Onset::reset()
{
+ if (m_onsetdet) del_aubio_onset(m_onsetdet);
+
+ m_onsetdet = new_aubio_onset
+ (const_cast<char *>(getAubioNameForOnsetType(m_onsettype)),
+ m_blockSize,
+ m_stepSize,
+ lrintf(m_inputSampleRate));
+
+ aubio_onset_set_threshold(m_onsetdet, m_threshold);
+ aubio_onset_set_silence(m_onsetdet, m_silence);
+ aubio_onset_set_minioi(m_onsetdet, m_minioi);
+
+ m_delay = Vamp::RealTime::frame2RealTime(4 * m_stepSize,
+ lrintf(m_inputSampleRate));
+
+ m_lastOnset = Vamp::RealTime::zeroTime - m_delay - m_delay;
}
+#endif
size_t
Onset::getPreferredStepSize() const
@@ -132,8 +187,13 @@ Onset::getParameterDescriptors() const
desc.identifier = "onsettype";
desc.name = "Onset Detection Function Type";
desc.minValue = 0;
+#ifdef HAVE_AUBIO4
+ desc.maxValue = 7;
+ desc.defaultValue = (int)OnsetComplex;
+#else
desc.maxValue = 6;
desc.defaultValue = (int)aubio_onset_complex;
+#endif
desc.isQuantized = true;
desc.quantizeStep = 1;
desc.valueNames.push_back("Energy Based");
@@ -143,6 +203,9 @@ Onset::getParameterDescriptors() const
desc.valueNames.push_back("Phase Deviation");
desc.valueNames.push_back("Kullback-Liebler");
desc.valueNames.push_back("Modified Kullback-Liebler");
+#ifdef HAVE_AUBIO4
+ desc.valueNames.push_back("Spectral Flux");
+#endif
list.push_back(desc);
desc = ParameterDescriptor();
@@ -159,11 +222,27 @@ Onset::getParameterDescriptors() const
desc.name = "Silence Threshold";
desc.minValue = -120;
desc.maxValue = 0;
+#ifdef HAVE_AUBIO4
+ desc.defaultValue = -70;
+#else
desc.defaultValue = -90;
+#endif
desc.unit = "dB";
desc.isQuantized = false;
list.push_back(desc);
+#ifdef HAVE_AUBIO4
+ desc = ParameterDescriptor();
+ desc.identifier = "minioi";
+ desc.name = "Minimum Inter-Onset Interval";
+ desc.minValue = 0;
+ desc.maxValue = 40;
+ desc.defaultValue = 4;
+ desc.unit = "ms";
+ desc.isQuantized = true;
+ desc.quantizeStep = 1;
+ list.push_back(desc);
+#endif
return list;
}
@@ -176,6 +255,10 @@ Onset::getParameter(std::string param) const
return m_threshold;
} else if (param == "silencethreshold") {
return m_silence;
+#ifdef HAVE_AUBIO4
+ } else if (param == "minioi") {
+ return m_minioi;
+#endif
} else {
return 0.0;
}
@@ -186,6 +269,16 @@ Onset::setParameter(std::string param, float value)
{
if (param == "onsettype") {
switch (lrintf(value)) {
+#ifdef HAVE_AUBIO4
+ case 0: m_onsettype = OnsetEnergy; break;
+ case 1: m_onsettype = OnsetSpecDiff; break;
+ case 2: m_onsettype = OnsetHFC; break;
+ case 3: m_onsettype = OnsetComplex; break;
+ case 4: m_onsettype = OnsetPhase; break;
+ case 5: m_onsettype = OnsetKL; break;
+ case 6: m_onsettype = OnsetMKL; break;
+ case 7: m_onsettype = OnsetSpecFlux; break;
+#else
case 0: m_onsettype = aubio_onset_energy; break;
case 1: m_onsettype = aubio_onset_specdiff; break;
case 2: m_onsettype = aubio_onset_hfc; break;
@@ -193,11 +286,16 @@ Onset::setParameter(std::string param, float value)
case 4: m_onsettype = aubio_onset_phase; break;
case 5: m_onsettype = aubio_onset_kl; break;
case 6: m_onsettype = aubio_onset_mkl; break;
+#endif
}
} else if (param == "peakpickthreshold") {
m_threshold = value;
} else if (param == "silencethreshold") {
m_silence = value;
+#ifdef HAVE_AUBIO4
+ } else if (param == "minioi") {
+ m_minioi = value;
+#endif
}
}
@@ -216,6 +314,7 @@ Onset::getOutputDescriptors() const
d.sampleRate = 0;
list.push_back(d);
+#ifndef HAVE_AUBIO4
d = OutputDescriptor();
d.identifier = "detectionfunction";
d.name = "Onset Detection Function";
@@ -226,7 +325,7 @@ Onset::getOutputDescriptors() const
d.isQuantized = false;
d.sampleType = OutputDescriptor::OneSamplePerStep;
list.push_back(d);
-
+#endif
return list;
}
@@ -234,6 +333,15 @@ Onset::FeatureSet
Onset::process(const float *const *inputBuffers,
Vamp::RealTime timestamp)
{
+#ifdef HAVE_AUBIO4
+ for (size_t i = 0; i < m_stepSize; ++i) {
+ fvec_set_sample(m_ibuf, inputBuffers[0][i], i);
+ }
+
+ aubio_onset_do(m_onsetdet, m_ibuf, m_onset);
+
+ bool isonset = m_onset->data[0];
+#else
for (size_t i = 0; i < m_stepSize; ++i) {
for (size_t j = 0; j < m_channelCount; ++j) {
fvec_write_sample(m_ibuf, inputBuffers[j][i], j, i);
@@ -250,6 +358,7 @@ Onset::process(const float *const *inputBuffers,
isonset = false;
}
}
+#endif
FeatureSet returnFeatures;
@@ -263,11 +372,13 @@ Onset::process(const float *const *inputBuffers,
m_lastOnset = timestamp;
}
}
+#ifndef HAVE_AUBIO4
Feature feature;
for (size_t j = 0; j < m_channelCount; ++j) {
feature.values.push_back(m_onset->data[j][0]);
}
returnFeatures[1].push_back(feature);
+#endif
return returnFeatures;
}
diff --git libs/vamp-plugins/Onset.h libs/vamp-plugins/Onset.h
index 314e107..bba95e0 100644
--- libs/vamp-plugins/Onset.h
+++ libs/vamp-plugins/Onset.h
@@ -20,6 +20,19 @@
#include <vamp-sdk/Plugin.h>
#include <aubio/aubio.h>
+#ifdef HAVE_AUBIO4
+enum OnsetType {
+ OnsetEnergy,
+ OnsetSpecDiff,
+ OnsetHFC,
+ OnsetComplex,
+ OnsetPhase,
+ OnsetKL,
+ OnsetMKL,
+ OnsetSpecFlux // new in 0.4!
+};
+#endif
+
class Onset : public Vamp::Plugin
{
public:
@@ -54,20 +67,25 @@ public:
protected:
fvec_t *m_ibuf;
- cvec_t *m_fftgrain;
fvec_t *m_onset;
+#ifdef HAVE_AUBIO4
+ aubio_onset_t *m_onsetdet;
+ OnsetType m_onsettype;
+ float m_minioi;
+#else
+ cvec_t *m_fftgrain;
aubio_pvoc_t *m_pv;
aubio_pickpeak_t *m_peakpick;
aubio_onsetdetection_t *m_onsetdet;
aubio_onsetdetection_type m_onsettype;
- float m_threshold;
+ size_t m_channelCount;
+#endif
float m_silence;
+ float m_threshold;
size_t m_stepSize;
size_t m_blockSize;
- size_t m_channelCount;
Vamp::RealTime m_delay;
Vamp::RealTime m_lastOnset;
};
-
#endif

View file

@ -1,13 +0,0 @@
--- SConstruct.orig 2012-11-21 00:30:54.000000000 +0100
+++ SConstruct 2012-11-21 17:34:02.000000000 +0100
@@ -955,7 +961,9 @@
# FLAC ....
#
-# boost (we don't link against boost, just use some header files)
+# boost (we need to link against boost with >=1.50. header files alone will not work anymore)
+
+env.Append(LIBS=['boost_system'])
libraries['boost'] = LibraryInfo ()
prep_libcheck(env, libraries['boost'])

View file

@ -1,11 +0,0 @@
--- gtk2_ardour/automation_selectable.h.orig 2009-02-24 12:37:42 UTC
+++ gtk2_ardour/automation_selectable.h
@@ -36,7 +36,7 @@ struct AutomationSelectable : public Sel
AutomationSelectable (nframes_t s, nframes_t e, double l, double h, TimeAxisView& atv)
: start (s), end (e), low_fract (l), high_fract (h), track (atv) {}
- bool operator== (const AutomationSelectable& other) {
+ bool operator== (const AutomationSelectable& other) const {
return start == other.start &&
end == other.end &&
low_fract == other.low_fract &&

View file

@ -1,33 +0,0 @@
--- gtk2_ardour/editor.cc.orig 2012-03-16 14:33:28 UTC
+++ gtk2_ardour/editor.cc
@@ -803,16 +803,16 @@ Editor::Editor ()
list<Glib::RefPtr<Gdk::Pixbuf> > window_icons;
Glib::RefPtr<Gdk::Pixbuf> icon;
- if ((icon = ::get_icon ("ardour_icon_16px")) != 0) {
+ if ((icon = ::get_icon ("ardour_icon_16px"))) {
window_icons.push_back (icon);
}
- if ((icon = ::get_icon ("ardour_icon_22px")) != 0) {
+ if ((icon = ::get_icon ("ardour_icon_22px"))) {
window_icons.push_back (icon);
}
- if ((icon = ::get_icon ("ardour_icon_32px")) != 0) {
+ if ((icon = ::get_icon ("ardour_icon_32px"))) {
window_icons.push_back (icon);
}
- if ((icon = ::get_icon ("ardour_icon_48px")) != 0) {
+ if ((icon = ::get_icon ("ardour_icon_48px"))) {
window_icons.push_back (icon);
}
if (!window_icons.empty()) {
@@ -1862,8 +1862,7 @@ Editor::add_region_context_items (AudioStreamView* sv,
become selected.
*/
- region_menu->signal_map_event().connect (
- bind (
+ region_menu->signal_map_event().connect ( bind (
mem_fun(*this, &Editor::set_selected_regionview_from_map_event),
sv,
boost::weak_ptr<Region>(region)

View file

@ -1,14 +0,0 @@
--- gtk2_ardour/editor_keyboard.cc.orig 2009-03-02 21:07:08 UTC
+++ gtk2_ardour/editor_keyboard.cc
@@ -42,9 +42,9 @@ Editor::kbd_driver (sigc::slot<void,GdkEvent*> theslot
Glib::RefPtr<Gdk::Window> evw = track_canvas->get_window()->get_pointer (x, y, mask);
bool doit = false;
- if (use_track_canvas && track_canvas_event_box.get_window()->get_pointer(x, y, mask) != 0) {
+ if (use_track_canvas && track_canvas_event_box.get_window()->get_pointer(x, y, mask)) {
doit = true;
- } else if (use_time_canvas && time_canvas_event_box.get_window()->get_pointer(x, y, mask)!= 0) {
+ } else if (use_time_canvas && time_canvas_event_box.get_window()->get_pointer(x, y, mask)) {
doit = true;
}

View file

@ -1,25 +0,0 @@
--- gtk2_ardour/gain_meter.cc.orig 2010-04-20 17:28:37 UTC
+++ gtk2_ardour/gain_meter.cc
@@ -63,7 +63,7 @@ Glib::RefPtr<Gdk::Pixbuf> GainMeter::slider;
void
GainMeter::setup_slider_pix ()
{
- if ((slider = ::get_icon ("fader_belt")) == 0) {
+ if (!(slider = ::get_icon ("fader_belt"))) {
throw failed_constructor();
}
}
@@ -89,11 +89,11 @@ GainMeterBase::GainMeterBase (Session& s,
if (horizontal) {
gain_slider = manage (new HSliderController (pix,
&gain_adjustment,
- false));
+ 0x0));
} else {
gain_slider = manage (new VSliderController (pix,
&gain_adjustment,
- false));
+ 0x0));
}
level_meter = new LevelMeter(_session);

View file

@ -1,11 +0,0 @@
--- gtk2_ardour/route_time_axis.cc.orig 2010-04-17 15:23:01 UTC
+++ gtk2_ardour/route_time_axis.cc
@@ -89,7 +89,7 @@ Glib::RefPtr<Gdk::Pixbuf> RouteTimeAxisView::slider;
void
RouteTimeAxisView::setup_slider_pix ()
{
- if ((slider = ::get_icon ("fader_belt_h")) == 0) {
+ if (!(slider = ::get_icon ("fader_belt_h"))) {
throw failed_constructor ();
}
}

View file

@ -1,14 +0,0 @@
--- gtk2_ardour/SConscript.orig
+++ gtk2_ardour/SConscript
@@ -411,9 +411,9 @@ for style in ['', 'BOLD', 'ITALIC']:
#
if env['GTKOSX']:
- ardour_menus = env.Command ('ardour.menus', 'ardour.menus.in', "cpp -E -P -DGTKOSX -DTOP_MENUBAR ardour.menus.in ardour.menus", chdir=1)
+ ardour_menus = env.Command ('ardour.menus', 'ardour.menus.in', "cpp -E -P -DGTKOSX -DTOP_MENUBAR -o ardour.menus ardour.menus.in", chdir=1)
else:
- ardour_menus = env.Command ('ardour.menus', 'ardour.menus.in', "cpp -E -P ardour.menus.in ardour.menus", chdir=1)
+ ardour_menus = env.Command ('ardour.menus', 'ardour.menus.in', "cpp -E -P -o ardour.menus ardour.menus.in", chdir=1)
ardour_dark_theme = env.SubstInFile ('ardour2_ui_dark.rc', 'ardour2_ui_dark.rc.in', SUBST_DICT = my_font_dict)
ardour_light_theme = env.SubstInFile ('ardour2_ui_light.rc', 'ardour2_ui_light.rc.in', SUBST_DICT = my_font_dict)

View file

@ -1,51 +0,0 @@
--- gtk2_ardour/ardour_ui.cc.orig
+++ gtk2_ardour/ardour_ui.cc
@@ -31,6 +31,8 @@
#include <iostream>
#include <sys/resource.h>
+#include <sys/types.h>
+#include <sys/sysctl.h>
#include <gtkmm/messagedialog.h>
#include <gtkmm/accelmap.h>
@@ -696,8 +698,11 @@ ARDOUR_UI::check_memory_locking ()
struct rlimit limits;
int64_t ram;
long pages, page_size;
+ size_t pages_len=sizeof(pages);
+
+ if ((page_size = getpagesize()) < 0 ||
+ sysctlbyname("hw.availpages", &pages, &pages_len, NULL, 0)) {
- if ((page_size = sysconf (_SC_PAGESIZE)) < 0 ||(pages = sysconf (_SC_PHYS_PAGES)) < 0) {
ram = 0;
} else {
ram = (int64_t) pages * (int64_t) page_size;
@@ -716,7 +721,7 @@ ARDOUR_UI::check_memory_locking ()
"This might cause %1 to run out of memory before your system "
"runs out of memory. \n\n"
"You can view the memory limit with 'ulimit -l', "
- "and it is normally controlled by /etc/security/limits.conf"), PROGRAM_NAME));
+ "and it is normally controlled by /etc/login.conf"), PROGRAM_NAME));
VBox* vbox = msg.get_vbox();
HBox hbox;
@@ -1964,7 +1969,7 @@ ARDOUR_UI::name_io_setup (AudioEngine& engine,
const char **connections = io.input(0)->get_connections();
- if (connections == 0 || connections[0] == '\0') {
+ if (connections == 0 || *connections[0] == '\0') {
buf = _("off");
} else {
buf = connections[0];
@@ -1983,7 +1988,7 @@ ARDOUR_UI::name_io_setup (AudioEngine& engine,
const char **connections = io.output(0)->get_connections();
- if (connections == 0 || connections[0] == '\0') {
+ if (connections == 0 || *connections[0] == '\0') {
buf = _("off");
} else {
buf = connections[0];

View file

@ -1,23 +0,0 @@
--- gtk2_ardour/connection_editor.cc.orig
+++ gtk2_ardour/connection_editor.cc
@@ -502,9 +502,9 @@ ConnectionEditor::display_connection_sta
frame_label += _("\"");
port_frame.set_label (frame_label);
- for (slist<ScrolledWindow *>::iterator i = port_displays.begin(); i != port_displays.end(); ) {
+ for (boost::container::slist<ScrolledWindow *>::iterator i = port_displays.begin(); i != port_displays.end(); ) {
- slist<ScrolledWindow *>::iterator tmp;
+ boost::container::slist<ScrolledWindow *>::iterator tmp;
tmp = i;
tmp++;
@@ -612,7 +612,7 @@ ConnectionEditor::connection_port_button
tview->set_name ("ConnectionEditorPortListSelected");
- for (slist<ScrolledWindow *>::iterator i = port_displays.begin(); i != port_displays.end(); ++i) {
+ for (boost::container::slist<ScrolledWindow *>::iterator i = port_displays.begin(); i != port_displays.end(); ++i) {
Widget *child = (*i)->get_child();

View file

@ -1,25 +0,0 @@
--- gtk2_ardour/connection_editor.h.orig
+++ gtk2_ardour/connection_editor.h
@@ -20,12 +20,7 @@
#ifndef __ardour_gtk_connection_editor_h__
#define __ardour_gtk_connection_editor_h__
-#if __GNUC__ >= 3
-#include <ext/slist>
-using __gnu_cxx::slist;
-#else
-#include <slist.h>
-#endif
+#include <boost/container/slist.hpp>
#include <gtkmm/box.h>
#include <gtkmm/window.h>
@@ -116,7 +111,7 @@ class ConnectionEditor : public ArdourDi
Gtk::Button add_port_button;
Glib::Mutex port_display_lock;
- slist<Gtk::ScrolledWindow *> port_displays;
+ boost::container::slist<Gtk::ScrolledWindow *> port_displays;
Gtk::Button ok_button;
Gtk::Button cancel_button;

View file

@ -1,121 +0,0 @@
--- gtk2_ardour/engine_dialog.cc.orig 2008-04-09 23:17:02.000000000 +0200
+++ gtk2_ardour/engine_dialog.cc 2008-04-10 18:53:32.000000000 +0200
@@ -12,7 +12,7 @@
#include <CoreFoundation/CFString.h>
#include <sys/param.h>
#include <mach-o/dyld.h>
-#else
+#elif !defined(__FreeBSD__)
#include <alsa/asoundlib.h>
#endif
@@ -113,7 +113,9 @@
#ifdef __APPLE__
strings.push_back (X_("CoreAudio"));
#else
+#ifndef __FreeBSD__
strings.push_back (X_("ALSA"));
+#endif
strings.push_back (X_("OSS"));
strings.push_back (X_("FFADO"));
#endif
@@ -158,7 +160,7 @@
basic_packer.attach (period_size_combo, 1, 2, row, row + 1, FILL|EXPAND, (AttachOptions) 0);
row++;
-#ifndef __APPLE__
+#if !defined(__APPLE__) && !defined(__FreeBSD__)
label = manage (new Label (_("Number of buffers")));
basic_packer.attach (*label, 0, 1, row, row + 1, FILL|EXPAND, (AttachOptions) 0);
basic_packer.attach (periods_spinner, 1, 2, row, row + 1, FILL|EXPAND, (AttachOptions) 0);
@@ -179,7 +181,7 @@
row++;
/* no audio mode with CoreAudio, its duplex or nuthin' */
-#ifndef __APPLE__
+#if !defined(__APPLE__) && !defined(__FreeBSD__)
label = manage (new Label (_("Audio Mode")));
basic_packer.attach (*label, 0, 1, row, row + 1, FILL|EXPAND, (AttachOptions) 0);
basic_packer.attach (audio_mode_combo, 1, 2, row, row + 1, FILL|EXPAND, (AttachOptions) 0);
@@ -218,7 +220,7 @@
realtime_button.signal_toggled().connect (mem_fun (*this, &EngineControl::realtime_changed));
realtime_changed ();
-#ifndef __APPLE__
+#if !defined(__APPLE__) && !defined(__FreeBSD__)
label = manage (new Label (_("Realtime Priority")));
label->set_alignment (1.0, 0.5);
options_packer.attach (*label, 0, 1, row, row + 1, FILL|EXPAND, (AttachOptions) 0);
@@ -268,7 +270,7 @@
options_packer.attach (*label, 0, 1, row, row + 1, FILL|EXPAND, (AttachOptions) 0);
++row;
-#ifndef __APPLE__
+#if !defined(__APPLE__) && !defined(__FreeBSD__)
label = manage (new Label (_("Dither")));
label->set_alignment (1.0, 0.5);
options_packer.attach (dither_mode_combo, 1, 2, row, row + 1, FILL|EXPAND, AttachOptions(0));
@@ -299,7 +301,7 @@
device_packer.set_spacings (6);
row = 0;
-#ifndef __APPLE__
+#if !defined(__APPLE__) && !defined(__FreeBSD__)
label = manage (new Label (_("Input device")));
label->set_alignment (1.0, 0.5);
device_packer.attach (*label, 0, 1, row, row+1, FILL|EXPAND, (AttachOptions) 0);
@@ -570,7 +572,7 @@
void
EngineControl::realtime_changed ()
{
-#ifndef __APPLE__
+#if !defined(__APPLE__) && !defined(__FreeBSD__)
priority_spinner.set_sensitive (realtime_button.get_active());
#endif
}
@@ -586,8 +588,10 @@
#endif
#ifndef __APPLE__
+#ifndef __FreeBSD__
} else if (driver == "ALSA") {
devices[driver] = enumerate_alsa_devices ();
+#endif
} else if (driver == "FFADO") {
devices[driver] = enumerate_ffado_devices ();
} else if (driver == "OSS") {
@@ -714,6 +718,7 @@
return devs;
}
#else
+#ifndef __FreeBSD__
vector<string>
EngineControl::enumerate_alsa_devices ()
{
@@ -774,6 +779,7 @@
return devs;
}
+#endif
vector<string>
EngineControl::enumerate_ffado_devices ()
@@ -816,7 +822,9 @@
vector<string>& strings = devices[driver];
if (strings.empty() && driver != "FFADO" && driver != "Dummy") {
+#if 0
error << string_compose (_("No devices found for driver \"%1\""), driver) << endmsg;
+#endif
return;
}
@@ -862,7 +870,7 @@
EngineControl::redisplay_latency ()
{
uint32_t rate = get_rate();
-#ifdef __APPLE_
+#if defined(__APPLE_) || defined(__FreeBSD__)
float periods = 2;
#else
float periods = periods_adjustment.get_value();

View file

@ -1,39 +0,0 @@
--- gtk2_ardour/io_selector.cc.orig
+++ gtk2_ardour/io_selector.cc
@@ -389,9 +389,9 @@ IOSelector::display_ports ()
limit = io->n_outputs();
}
- for (slist<TreeView *>::iterator i = port_displays.begin(); i != port_displays.end(); ) {
+ for (boost::container::slist<TreeView *>::iterator i = port_displays.begin(); i != port_displays.end(); ) {
- slist<TreeView *>::iterator tmp;
+ boost::container::slist<TreeView *>::iterator tmp;
tmp = i;
++tmp;
@@ -632,13 +632,13 @@ IOSelector::connection_button_release (G
void
IOSelector::select_next_treeview ()
{
- slist<TreeView*>::iterator next;
+ boost::container::slist<TreeView*>::iterator next;
if (port_displays.empty() || port_displays.size() == 1) {
return;
}
- for (slist<TreeView *>::iterator i = port_displays.begin(); i != port_displays.end(); ++i) {
+ for (boost::container::slist<TreeView *>::iterator i = port_displays.begin(); i != port_displays.end(); ++i) {
if ((*i)->get_name() == "IOSelectorPortListSelected") {
@@ -681,7 +681,7 @@ IOSelector::select_treeview (TreeView* t
gtk_widget_queue_draw (ccol->button);
}
- for (slist<TreeView*>::iterator i = port_displays.begin(); i != port_displays.end(); ++i) {
+ for (boost::container::slist<TreeView*>::iterator i = port_displays.begin(); i != port_displays.end(); ++i) {
if (*i == tview) {
continue;
}

View file

@ -1,25 +0,0 @@
--- gtk2_ardour/io_selector.h.orig
+++ gtk2_ardour/io_selector.h
@@ -20,12 +20,7 @@
#ifndef __ardour_ui_io_selector_h__
#define __ardour_ui_io_selector_h__
-#if __GNUC__ >= 3
-#include <ext/slist>
-using __gnu_cxx::slist;
-#else
-#include <slist.h>
-#endif
+#include <boost/container/slist.hpp>
#include <string>
@@ -110,7 +105,7 @@ class IOSelector : public Gtk::VBox {
Gtk::ScrolledWindow port_display_scroller;
Glib::Mutex port_display_lock;
- slist<Gtk::TreeView *> port_displays;
+ boost::container::slist<Gtk::TreeView *> port_displays;
void display_ports ();
void rescan ();

View file

@ -1,32 +0,0 @@
--- gtk2_ardour/new_session_dialog.cc.orig 2008-01-14 10:04:17.000000000 +0100
+++ gtk2_ardour/new_session_dialog.cc 2008-01-14 10:04:44.000000000 +0100
@@ -361,16 +361,16 @@ NewSessionDialog::NewSessionDialog()
list<Glib::RefPtr<Gdk::Pixbuf> > window_icons;
Glib::RefPtr<Gdk::Pixbuf> icon;
- if ((icon = ::get_icon ("ardour_icon_16px")) != 0) {
+ if ((icon = ::get_icon ("ardour_icon_16px"))) {
window_icons.push_back (icon);
}
- if ((icon = ::get_icon ("ardour_icon_22px")) != 0) {
+ if ((icon = ::get_icon ("ardour_icon_22px"))) {
window_icons.push_back (icon);
}
- if ((icon = ::get_icon ("ardour_icon_32px")) != 0) {
+ if ((icon = ::get_icon ("ardour_icon_32px"))) {
window_icons.push_back (icon);
}
- if ((icon = ::get_icon ("ardour_icon_48px")) != 0) {
+ if ((icon = ::get_icon ("ardour_icon_48px"))) {
window_icons.push_back (icon);
}
if (!window_icons.empty()) {
@@ -589,7 +589,7 @@ NewSessionDialog::set_session_folder(const std::string
*/
-#ifdef __APPLE__
+#ifndef __Linux__
char buf[PATH_MAX];

View file

@ -1,13 +0,0 @@
--- libs/ardour/ardour/io.h.orig
+++ libs/ardour/ardour/io.h
@@ -288,6 +288,10 @@ class IO : public PBD::StatefulDestructi
XMLNode *pending_state_node;
int ports_became_legal ();
+ static bool connecting_is_legal() {
+ return connecting_legal;
+ }
+
private:
mutable Glib::Mutex io_lock;

View file

@ -1,368 +0,0 @@
--- libs/ardour/session.cc.orig
+++ libs/ardour/session.cc
@@ -79,7 +79,6 @@
using namespace std;
using namespace ARDOUR;
using namespace PBD;
-using boost::shared_ptr;
#ifdef __x86_64__
static const int CPU_CACHE_ALIGN = 64;
@@ -399,14 +398,14 @@ Session::Session (AudioEngine &eng,
int control_id = 1;
if (control_out_channels) {
- shared_ptr<Route> r (new Route (*this, _("monitor"), -1, control_out_channels, -1, control_out_channels, Route::ControlOut));
+ boost::shared_ptr<Route> r (new Route (*this, _("monitor"), -1, control_out_channels, -1, control_out_channels, Route::ControlOut));
r->set_remote_control_id (control_id++);
rl.push_back (r);
}
if (master_out_channels) {
- shared_ptr<Route> r (new Route (*this, _("master"), -1, master_out_channels, -1, master_out_channels, Route::MasterOut));
+ boost::shared_ptr<Route> r (new Route (*this, _("master"), -1, master_out_channels, -1, master_out_channels, Route::MasterOut));
r->set_remote_control_id (control_id);
rl.push_back (r);
@@ -984,8 +983,8 @@ Session::hookup_io ()
boost::shared_ptr<Session::RouteList>
Session::get_routes_with_regions_at (nframes64_t const p) const
{
- shared_ptr<RouteList> r = routes.reader ();
- shared_ptr<RouteList> rl (new RouteList);
+ boost::shared_ptr<RouteList> r = routes.reader ();
+ boost::shared_ptr<RouteList> rl (new RouteList);
for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {
boost::shared_ptr<Track> tr = boost::dynamic_pointer_cast<Track> (*i);
@@ -1590,9 +1589,9 @@ struct RouteSorter {
};
static void
-trace_terminal (shared_ptr<Route> r1, shared_ptr<Route> rbase)
+trace_terminal (boost::shared_ptr<Route> r1, boost::shared_ptr<Route> rbase)
{
- shared_ptr<Route> r2;
+ boost::shared_ptr<Route> r2;
if ((r1->fed_by.find (rbase) != r1->fed_by.end()) && (rbase->fed_by.find (r1) != rbase->fed_by.end())) {
info << string_compose(_("feedback loop setup between %1 and %2"), r1->name(), rbase->name()) << endmsg;
@@ -1601,13 +1600,13 @@ trace_terminal (shared_ptr<Route> r1, sh
/* make a copy of the existing list of routes that feed r1 */
- set<shared_ptr<Route> > existing = r1->fed_by;
+ set<boost::shared_ptr<Route> > existing = r1->fed_by;
/* for each route that feeds r1, recurse, marking it as feeding
rbase as well.
*/
- for (set<shared_ptr<Route> >::iterator i = existing.begin(); i != existing.end(); ++i) {
+ for (set<boost::shared_ptr<Route> >::iterator i = existing.begin(); i != existing.end(); ++i) {
r2 =* i;
/* r2 is a route that feeds r1 which somehow feeds base. mark
@@ -1651,14 +1650,14 @@ Session::resort_routes ()
{
RCUWriter<RouteList> writer (routes);
- shared_ptr<RouteList> r = writer.get_copy ();
+ boost::shared_ptr<RouteList> r = writer.get_copy ();
resort_routes_using (r);
/* writer goes out of scope and forces update */
}
}
void
-Session::resort_routes_using (shared_ptr<RouteList> r)
+Session::resort_routes_using (boost::shared_ptr<RouteList> r)
{
RouteList::iterator i, j;
@@ -1723,7 +1722,7 @@ Session::new_audio_track (int input_chan
/* count existing audio tracks */
{
- shared_ptr<RouteList> r = routes.reader ();
+ boost::shared_ptr<RouteList> r = routes.reader ();
for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {
if (dynamic_cast<AudioTrack*>((*i).get()) != 0) {
@@ -1776,7 +1775,7 @@ Session::new_audio_track (int input_chan
nphysical_out = 0;
}
- shared_ptr<AudioTrack> track;
+ boost::shared_ptr<AudioTrack> track;
try {
track = boost::shared_ptr<AudioTrack>((new AudioTrack (*this, track_name, Route::Flag (0), mode)));
@@ -1884,7 +1883,7 @@ Session::set_remote_control_ids ()
{
RemoteModel m = Config->get_remote_model();
- shared_ptr<RouteList> r = routes.reader ();
+ boost::shared_ptr<RouteList> r = routes.reader ();
for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {
if ( MixerOrdered == m) {
@@ -1913,7 +1912,7 @@ Session::new_audio_route (int input_chan
/* count existing audio busses */
{
- shared_ptr<RouteList> r = routes.reader ();
+ boost::shared_ptr<RouteList> r = routes.reader ();
for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {
if (dynamic_cast<AudioTrack*>((*i).get()) == 0) {
@@ -1945,7 +1944,7 @@ Session::new_audio_route (int input_chan
} while (bus_id < (UINT_MAX-1));
try {
- shared_ptr<Route> bus (new Route (*this, bus_name, -1, -1, -1, -1, Route::Flag(0), DataType::AUDIO));
+ boost::shared_ptr<Route> bus (new Route (*this, bus_name, -1, -1, -1, -1, Route::Flag(0), DataType::AUDIO));
if (bus->ensure_io (input_channels, output_channels, false, this)) {
error << string_compose (_("cannot configure %1 in/%2 out configuration for new audio track"),
@@ -2060,7 +2059,7 @@ Session::new_route_from_template (uint32
Track::zero_diskstream_id_in_xml (node_copy);
try {
- shared_ptr<Route> route (XMLRouteFactory (node_copy));
+ boost::shared_ptr<Route> route (XMLRouteFactory (node_copy));
if (route == 0) {
error << _("Session: cannot create track/bus from template description") << endmsg;
@@ -2107,7 +2106,7 @@ boost::shared_ptr<Route>
Session::new_video_track (string name)
{
uint32_t control_id = ntracks() + nbusses() + 1;
- shared_ptr<Route> new_route (
+ boost::shared_ptr<Route> new_route (
new Route ( *this, name, -1, -1, -1, -1, Route::Flag(0), ARDOUR::DataType::NIL));
new_route->set_remote_control_id (control_id);
@@ -2115,7 +2114,7 @@ Session::new_video_track (string name)
rl.push_back (new_route);
{
RCUWriter<RouteList> writer (routes);
- shared_ptr<RouteList> r = writer.get_copy ();
+ boost::shared_ptr<RouteList> r = writer.get_copy ();
r->insert (r->end(), rl.begin(), rl.end());
resort_routes_using (r);
}
@@ -2127,7 +2126,7 @@ Session::add_routes (RouteList& new_rout
{
{
RCUWriter<RouteList> writer (routes);
- shared_ptr<RouteList> r = writer.get_copy ();
+ boost::shared_ptr<RouteList> r = writer.get_copy ();
r->insert (r->end(), new_routes.begin(), new_routes.end());
resort_routes_using (r);
}
@@ -2150,7 +2149,7 @@ Session::add_routes (RouteList& new_rout
}
}
- if (_control_out && IO::connecting_legal) {
+ if (_control_out && IO::connecting_is_legal()) {
vector<string> cports;
uint32_t ni = _control_out->n_inputs();
@@ -2198,14 +2197,14 @@ Session::add_diskstream (boost::shared_p
}
void
-Session::remove_route (shared_ptr<Route> route)
+Session::remove_route (boost::shared_ptr<Route> route)
{
//clear solos before removing the route
route->set_solo ( false, this);
{
RCUWriter<RouteList> writer (routes);
- shared_ptr<RouteList> rs = writer.get_copy ();
+ boost::shared_ptr<RouteList> rs = writer.get_copy ();
rs->remove (route);
@@ -2215,11 +2214,11 @@ Session::remove_route (shared_ptr<Route>
*/
if (route == _master_out) {
- _master_out = shared_ptr<Route> ();
+ _master_out = boost::shared_ptr<Route> ();
}
if (route == _control_out) {
- _control_out = shared_ptr<Route> ();
+ _control_out = boost::shared_ptr<Route> ();
/* cancel control outs for all routes */
@@ -2308,7 +2307,7 @@ Session::route_solo_changed (void* src,
is_track = (boost::dynamic_pointer_cast<AudioTrack>(route) != 0);
- shared_ptr<RouteList> r = routes.reader ();
+ boost::shared_ptr<RouteList> r = routes.reader ();
for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {
@@ -2404,7 +2403,7 @@ Session::update_route_solo_state ()
the solo mute setting of each track.
*/
- shared_ptr<RouteList> r = routes.reader ();
+ boost::shared_ptr<RouteList> r = routes.reader ();
for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {
if ((*i)->soloed()) {
@@ -2446,7 +2445,7 @@ Session::update_route_solo_state ()
void
Session::modify_solo_mute (bool is_track, bool mute)
{
- shared_ptr<RouteList> r = routes.reader ();
+ boost::shared_ptr<RouteList> r = routes.reader ();
for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {
@@ -2511,7 +2510,7 @@ Session::catch_up_on_solo_mute_override
/* this is called whenever the param solo-mute-override is
changed.
*/
- shared_ptr<RouteList> r = routes.reader ();
+ boost::shared_ptr<RouteList> r = routes.reader ();
for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {
(*i)->catch_up_on_solo_mute_override ();
@@ -2521,7 +2520,7 @@ Session::catch_up_on_solo_mute_override
bool
Session::io_name_is_legal (const std::string& name)
{
- shared_ptr<RouteList> r = routes.reader ();
+ boost::shared_ptr<RouteList> r = routes.reader ();
for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {
if ((*i)->name() == name) {
@@ -2536,10 +2535,10 @@ Session::io_name_is_legal (const std::st
return true;
}
-shared_ptr<Route>
+boost::shared_ptr<Route>
Session::route_by_name (const std::string& name)
{
- shared_ptr<RouteList> r = routes.reader ();
+ boost::shared_ptr<RouteList> r = routes.reader ();
for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {
if ((*i)->name() == name) {
@@ -2547,13 +2546,13 @@ Session::route_by_name (const std::strin
}
}
- return shared_ptr<Route> ((Route*) 0);
+ return boost::shared_ptr<Route> ((Route*) 0);
}
-shared_ptr<Route>
+boost::shared_ptr<Route>
Session::route_by_id (PBD::ID id)
{
- shared_ptr<RouteList> r = routes.reader ();
+ boost::shared_ptr<RouteList> r = routes.reader ();
for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {
if ((*i)->id() == id) {
@@ -2561,13 +2560,13 @@ Session::route_by_id (PBD::ID id)
}
}
- return shared_ptr<Route> ((Route*) 0);
+ return boost::shared_ptr<Route> ((Route*) 0);
}
-shared_ptr<Route>
+boost::shared_ptr<Route>
Session::route_by_remote_id (uint32_t id)
{
- shared_ptr<RouteList> r = routes.reader ();
+ boost::shared_ptr<RouteList> r = routes.reader ();
for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {
if ((*i)->remote_control_id() == id) {
@@ -2575,7 +2574,7 @@ Session::route_by_remote_id (uint32_t id
}
}
- return shared_ptr<Route> ((Route*) 0);
+ return boost::shared_ptr<Route> ((Route*) 0);
}
void
@@ -3595,7 +3594,7 @@ Session::is_auditioning () const
void
Session::set_all_solo (bool yn)
{
- shared_ptr<RouteList> r = routes.reader ();
+ boost::shared_ptr<RouteList> r = routes.reader ();
for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {
if (!(*i)->hidden()) {
@@ -3609,7 +3608,7 @@ Session::set_all_solo (bool yn)
void
Session::set_all_mute (bool yn)
{
- shared_ptr<RouteList> r = routes.reader ();
+ boost::shared_ptr<RouteList> r = routes.reader ();
for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {
if (!(*i)->hidden()) {
@@ -3680,7 +3679,7 @@ Session::record_enable_all ()
void
Session::record_enable_change_all (bool yn)
{
- shared_ptr<RouteList> r = routes.reader ();
+ boost::shared_ptr<RouteList> r = routes.reader ();
for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {
AudioTrack* at;
@@ -4071,7 +4070,7 @@ Session::reset_native_file_format ()
bool
Session::route_name_unique (string n) const
{
- shared_ptr<RouteList> r = routes.reader ();
+ boost::shared_ptr<RouteList> r = routes.reader ();
for (RouteList::const_iterator i = r->begin(); i != r->end(); ++i) {
if ((*i)->name() == n) {
@@ -4117,7 +4116,7 @@ Session::allocate_pan_automation_buffers
int
Session::freeze (InterThreadInfo& itt)
{
- shared_ptr<RouteList> r = routes.reader ();
+ boost::shared_ptr<RouteList> r = routes.reader ();
for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {
@@ -4355,7 +4354,7 @@ uint32_t
Session::ntracks () const
{
uint32_t n = 0;
- shared_ptr<RouteList> r = routes.reader ();
+ boost::shared_ptr<RouteList> r = routes.reader ();
for (RouteList::const_iterator i = r->begin(); i != r->end(); ++i) {
if (dynamic_cast<AudioTrack*> ((*i).get())) {
@@ -4370,7 +4369,7 @@ uint32_t
Session::nbusses () const
{
uint32_t n = 0;
- shared_ptr<RouteList> r = routes.reader ();
+ boost::shared_ptr<RouteList> r = routes.reader ();
for (RouteList::const_iterator i = r->begin(); i != r->end(); ++i) {
if (dynamic_cast<AudioTrack*> ((*i).get()) == 0) {

View file

@ -1,22 +0,0 @@
--- libs/fst/jackvst.h.orig Wed Aug 30 22:49:25 2006
+++ libs/fst/jackvst.h Sat Mar 24 16:58:18 2007
@@ -6,7 +6,9 @@
#include <jack/jack.h>
#include <jack/ringbuffer.h>
#include <fst.h>
+#ifdef WITH_ALSA
#include <alsa/asoundlib.h>
+#endif
typedef struct _JackVST JackVST;
@@ -26,7 +28,9 @@
/* For VST/i support */
pthread_t midi_thread;
+#ifdef WITH_ALSA
snd_seq_t* seq;
+#endif WITH_ALSA
int midiquit;
jack_ringbuffer_t* event_queue;
struct VstEvents* events;

View file

@ -1,18 +0,0 @@
--- libs/fst/vsti.c.orig Sat Mar 24 16:56:58 2007
+++ libs/fst/vsti.c Sat Mar 24 16:59:07 2007
@@ -32,6 +32,8 @@
#include <jackvst.h>
#include <vst/aeffectx.h>
+#ifdef WITH_ALSA
+
snd_seq_t *
create_sequencer (const char* client_name, bool isinput)
{
@@ -177,5 +179,5 @@
snd_seq_close (jvst->seq);
}
-
+#endif

View file

@ -1,12 +0,0 @@
--- libs/midi++2/SConscript.orig Sun Nov 12 16:24:06 2006
+++ libs/midi++2/SConscript Wed Dec 6 00:49:53 2006
@@ -39,8 +39,7 @@
midi2.Append (LINKFLAGS="-framework CoreMIDI")
midi2.Append (LINKFLAGS="-framework CoreFoundation")
else:
- sysdep_src = [ 'alsa_sequencer_midiport.cc' ]
- midi2.Append (CCFLAGS="-DWITH_ALSA")
+ sysdep_src = [ ]
midi2.Append(CCFLAGS="-D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE")
midi2.Append(CCFLAGS="-DLIBSIGC_DISABLE_DEPRECATED")

View file

@ -1,11 +0,0 @@
--- libs/pbd/mountpoint.cc.orig
+++ libs/pbd/mountpoint.cc
@@ -19,7 +19,7 @@
*/
#include <cstdio>
-#include <cstring>
+#include <cstdlib>
#include <string>
#include <cstring>
#include <limits.h>

View file

@ -1,20 +0,0 @@
--- libs/pbd/pbd/stl_delete.h.orig
+++ libs/pbd/pbd/stl_delete.h
@@ -23,7 +23,7 @@
/* To actually use any of these deletion functions, you need to
first include the revelant container type header.
*/
-#if defined(_CPP_VECTOR) || defined(_GLIBCXX_VECTOR) || defined(__SGI_STL_VECTOR)
+#if defined(_LIBCPP_VECTOR) || defined(_GLIBCXX_VECTOR) || defined(__SGI_STL_VECTOR)
template<class T> void vector_delete (std::vector<T *> *vec)
{
typename std::vector<T *>::iterator i;
@@ -33,7 +33,7 @@ template<class T> void vector_delete (st
}
vec->clear ();
}
-#endif // _CPP_VECTOR || _GLIBCXX_VECTOR || __SGI_STL_VECTOR
+#endif // _LIBCPP_VECTOR || _GLIBCXX_VECTOR || __SGI_STL_VECTOR
#if defined(_CPP_MAP) || defined(_GLIBCXX_MAP) || defined(__SGI_STL_MAP)
template<class K, class T> void map_delete (std::map<K, T *> *m)

View file

@ -1,13 +0,0 @@
--- libs/pbd/stacktrace.cc.orig Thu Mar 29 18:26:37 2007
+++ libs/pbd/stacktrace.cc Thu Mar 29 18:27:27 2007
@@ -3,7 +3,9 @@
/* Obtain a backtrace and print it to stdout. */
-#ifdef HAVE_EXECINFO
+/* Without this change, ardourvst dies during startup with
+ 'wine: could not load L"Z:\\usr\\local\\lib\\ardour2\\ardour_vst.exe.so": Bad EXE format for''. */
+#if 0
#include <execinfo.h>
#include <stdlib.h>

View file

@ -1,29 +0,0 @@
--- libs/surfaces/mackie/mackie_control_protocol.cc.orig
+++ libs/surfaces/mackie/mackie_control_protocol.cc
@@ -64,8 +64,6 @@ using namespace sigc;
using namespace Mackie;
using namespace PBD;
-using boost::shared_ptr;
-
#include "i18n.h"
MackieMidiBuilder builder;
@@ -200,7 +198,7 @@ MackieControlProtocol::port_for_id( uint
// predicate for sort call in get_sorted_routes
struct RouteByRemoteId
{
- bool operator () ( const shared_ptr<Route> & a, const shared_ptr<Route> & b ) const {
+ bool operator () ( const boost::shared_ptr<Route> & a, const boost::shared_ptr<Route> & b ) const {
return a->remote_control_id() < b->remote_control_id();
}
@@ -680,7 +678,7 @@ MackieControlProtocol::create_ports()
}
}
-shared_ptr<Route>
+boost::shared_ptr<Route>
MackieControlProtocol::master_route()
{
boost::shared_ptr<IO> mo = session->master_out ();

View file

@ -1,11 +0,0 @@
--- libs/gtkmm2ext/fastmeter.cc.orig 2009-02-24 12:37:45 UTC
+++ libs/gtkmm2ext/fastmeter.cc
@@ -476,7 +476,7 @@ FastMeter::set (float lvl)
Glib::RefPtr<Gdk::Window> win;
- if ((win = get_window()) == 0) {
+ if (!(win = get_window())) {
queue_draw ();
return;
}

View file

@ -1,10 +0,0 @@
--- libs/gtkmm2ext/idle_adjustment.cc.orig 2018-09-03 19:39:58 UTC
+++ libs/gtkmm2ext/idle_adjustment.cc
@@ -21,6 +21,7 @@
#include <gtkmm2ext/idle_adjustment.h>
#include <gtkmm/main.h>
#include <iostream>
+#include <gtkmm.h>
using namespace Gtk;
using namespace sigc;

View file

@ -1,83 +0,0 @@
commit b29f54fb6efcdb2facf0471bd8e24d8eea3231b0
Author: Paul Davis <paul@linuxaudiosystems.com>
Date: Wed Feb 20 18:53:30 2013 +0000
back-port tempo line assert fix from 3.0 to stop crashing under some relatively easy to hit conditions
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@14067 d708f5d6-7413-0410-9779-e7cbd77b26cf
diff --git a/gtk2_ardour/tempo_lines.cc b/gtk2_ardour/tempo_lines.cc
index e8bd034..a373dec 100644
--- gtk2_ardour/tempo_lines.cc.orig
+++ gtk2_ardour/tempo_lines.cc
@@ -146,9 +146,8 @@ TempoLines::draw (ARDOUR::TempoMap::BBTPointList& points, double frames_per_unit
}
xpos = rint(((nframes64_t)(*i).frame) / (double)frames_per_unit);
- if (inserted_last_time && !_lines.empty()) {
- li = _lines.lower_bound(xpos); // first line >= xpos
- }
+
+ li = _lines.lower_bound(xpos); // first line >= xpos
line = (li != _lines.end()) ? li->second : NULL;
assert(!line || line->property_x1() == li->first);
@@ -215,33 +214,35 @@ TempoLines::draw (ARDOUR::TempoMap::BBTPointList& points, double frames_per_unit
// Create a new line
} else if (_lines.size() < needed || _lines.size() < MAX_CACHED_LINES) {
//cout << "*** CREATING LINE" << endl;
- assert(_lines.find(xpos) == _lines.end());
- line = new ArdourCanvas::SimpleLine (*_group);
- line->property_x1() = xpos;
- line->property_x2() = xpos;
- line->property_y1() = 0.0;
- line->property_y2() = _height;
- line->property_color_rgba() = color;
- _lines.insert(make_pair(xpos, line));
- inserted_last_time = true;
+ if (_lines.find(xpos) == _lines.end()) {
+ line = new ArdourCanvas::SimpleLine (*_group);
+ line->property_x1() = xpos;
+ line->property_x2() = xpos;
+ line->property_y1() = 0.0;
+ line->property_y2() = _height;
+ line->property_color_rgba() = color;
+ _lines.insert(make_pair(xpos, line));
+ inserted_last_time = true;
+ }
// Steal from the left
} else {
//cout << "*** STEALING FROM LEFT" << endl;
- assert(_lines.find(xpos) == _lines.end());
- Lines::iterator steal = _lines.begin();
- line = steal->second;
- _lines.erase(steal);
- line->property_color_rgba() = color;
- line->property_x1() = xpos;
- line->property_x2() = xpos;
- _lines.insert(make_pair(xpos, line));
- inserted_last_time = true; // search next time
- invalidated = true;
-
- // Shift clean range right
- _clean_left = max(_clean_left, steal->first);
- _clean_right = max(_clean_right, xpos);
+ if (_lines.find(xpos) == _lines.end()) {
+ Lines::iterator steal = _lines.begin();
+ line = steal->second;
+ _lines.erase(steal);
+ line->property_color_rgba() = color;
+ line->property_x1() = xpos;
+ line->property_x2() = xpos;
+ _lines.insert(make_pair(xpos, line));
+ inserted_last_time = true; // search next time
+ invalidated = true;
+
+ // Shift clean range right
+ _clean_left = max(_clean_left, steal->first);
+ _clean_right = max(_clean_right, xpos);
+ }
}
break;

View file

@ -1,11 +0,0 @@
--- vst/SConscript.orig Sat Mar 24 13:25:52 2007
+++ vst/SConscript Sat Mar 24 13:26:42 2007
@@ -20,7 +20,7 @@
)
ardour_vst.Append (CCFLAGS="-DVST_SUPPORT", CPPPATH="#libs/fst", LIBPATH='#gtk2_ardour', LIBS="ardourgtk")
-ardour_vst.Append (LINKFLAGS='-L/usr/X11R6/lib -lasound -lX11 -lpthread')
+#ardour_vst.Append (LINKFLAGS='-L/usr/X11R6/lib -lasound -lX11 -lpthread')
ardour_vst["CC"] ="winegcc"
ardour_vst["LINK"] ="wineg++ -mwindows"

View file

@ -1,14 +0,0 @@
Ardour is a digital audio workstation. You can use it to record, edit, and
mix multi-track audio. Produce your own CD's. Mix video soundtracks.
Experiment with new ideas about music and sound. Generate sound
installations for 12 speaker gallery shows.
Ardour capabilities include: multichannel recording, non-linear, non-
destructive region based editing with unlimited undo/redo, full automation
support, a mixer whose capabilities rival high end hardware consoles, lots
of plugins to warp, shift, and shape your music, and controllable from
hardware control surfaces at the same time as it syncs to timecode. If you
have been looking for a tool similar to ProTools, Nuendo, Cubase SX, Digital
Performer, Samplitude, or Sequoia, you might have found it.
WWW: http://ardour.org/

View file

@ -1,158 +0,0 @@
%%NO_VST%%bin/ardour2
%%VST%%bin/ardourvst
etc/ardour2/SAE-de-keypad.bindings
etc/ardour2/SAE-de-nokeypad.bindings
etc/ardour2/SAE-us-keypad.bindings
etc/ardour2/SAE-us-nokeypad.bindings
etc/ardour2/ardour-sae.menus
etc/ardour2/ardour.menus
etc/ardour2/ardour2_ui_dark.rc
etc/ardour2/ardour2_ui_dark_sae.rc
etc/ardour2/ardour2_ui_default.conf
etc/ardour2/ardour2_ui_light.rc
etc/ardour2/ardour2_ui_light_sae.rc
etc/ardour2/ardour_system.rc
etc/ardour2/ergonomic-us.bindings
etc/ardour2/mnemonic-us.bindings
%%NO_VST%%lib/ardour2/ardour-%%DISTVERSION%%
%%VST%%lib/ardour2/ardour_vst.exe.so
lib/ardour2/engines/libclearlooks.so
lib/ardour2/libardour.so
lib/ardour2/libardour_cp.so
%%VST%%lib/ardour2/libardourgtk.so
lib/ardour2/libgtkmm2ext.so
lib/ardour2/libmidi++.so
lib/ardour2/libpbd.so
lib/ardour2/librubberband.so
lib/ardour2/libvamphostsdk.so
lib/ardour2/libvampsdk.so
lib/ardour2/surfaces/libardour_genericmidi.so
lib/ardour2/surfaces/libardour_mackie.so
lib/ardour2/surfaces/libardour_powermate.so
lib/ardour2/surfaces/libardour_tranzport.so
lib/ardour2/vamp/libardourvampplugins.so
share/ardour2/icons/application-x-ardour_16px.png
share/ardour2/icons/application-x-ardour_22px.png
share/ardour2/icons/application-x-ardour_32px.png
share/ardour2/icons/application-x-ardour_48px.png
share/ardour2/icons/ardour_icon_16px.png
share/ardour2/icons/ardour_icon_22px.png
share/ardour2/icons/ardour_icon_32px.png
share/ardour2/icons/ardour_icon_48px.png
share/ardour2/icons/computer_keyboard.png
share/ardour2/icons/computer_keyboard_active.png
share/ardour2/icons/crossfade-in-S1.png
share/ardour2/icons/crossfade-in-S2.png
share/ardour2/icons/crossfade-in-constant-power.png
share/ardour2/icons/crossfade-in-fast-cut.png
share/ardour2/icons/crossfade-in-linear.png
share/ardour2/icons/crossfade-in-long-cut.png
share/ardour2/icons/crossfade-in-short-cut.png
share/ardour2/icons/crossfade-in-slow-cut.png
share/ardour2/icons/crossfade-out-S1.png
share/ardour2/icons/crossfade-out-S2.png
share/ardour2/icons/crossfade-out-constant-power.png
share/ardour2/icons/crossfade-out-fast-cut.png
share/ardour2/icons/crossfade-out-linear.png
share/ardour2/icons/crossfade-out-long-cut.png
share/ardour2/icons/crossfade-out-short-cut.png
share/ardour2/icons/crossfade-out-slow-cut.png
share/ardour2/icons/fader_belt.png
share/ardour2/icons/fader_belt_h.png
share/ardour2/icons/ferret_02.png
share/ardour2/icons/grabber_edit_point.png
share/ardour2/icons/hide.png
share/ardour2/icons/nudge_left.png
share/ardour2/icons/nudge_right.png
share/ardour2/icons/record_normal_red.png
share/ardour2/icons/record_tape_red.png
share/ardour2/icons/sae.png
share/ardour2/icons/saelogo.png
share/ardour2/icons/strip_width.png
share/ardour2/icons/tool_audition.png
share/ardour2/icons/tool_gain.png
share/ardour2/icons/tool_object.png
share/ardour2/icons/tool_stretch.png
share/ardour2/icons/tool_zoom.png
share/ardour2/icons/transport_end.png
share/ardour2/icons/transport_loop.png
share/ardour2/icons/transport_play.png
share/ardour2/icons/transport_range.png
share/ardour2/icons/transport_record.png
share/ardour2/icons/transport_start.png
share/ardour2/icons/transport_stop.png
share/ardour2/icons/zoom_full.png
share/ardour2/icons/zoom_in.png
share/ardour2/icons/zoom_out.png
share/ardour2/pixmaps/forwardblarrow.xpm
share/ardour2/pixmaps/hiin.xpm
share/ardour2/pixmaps/hiout.xpm
share/ardour2/pixmaps/hslider00.xpm
share/ardour2/pixmaps/hslider01.xpm
share/ardour2/pixmaps/left_arrow.xpm
share/ardour2/pixmaps/linin.xpm
share/ardour2/pixmaps/linout.xpm
share/ardour2/pixmaps/loin.xpm
share/ardour2/pixmaps/loop.xpm
share/ardour2/pixmaps/loout.xpm
share/ardour2/pixmaps/lr.xpm
share/ardour2/pixmaps/regin.xpm
share/ardour2/pixmaps/regin2.xpm
share/ardour2/pixmaps/regout.xpm
share/ardour2/pixmaps/regout2.xpm
share/ardour2/pixmaps/revdblarrow.xpm
share/ardour2/pixmaps/right_arrow.xpm
share/ardour2/pixmaps/set-next-button.xpm
share/ardour2/pixmaps/small-round-button-01.xpm
share/ardour2/pixmaps/small_x.xpm
share/ardour2/pixmaps/toggle-button-00.xpm
share/ardour2/pixmaps/toggle-button-01.xpm
share/ardour2/pixmaps/tool_audition.xpm
share/ardour2/pixmaps/tool_gain.xpm
share/ardour2/pixmaps/tool_object.xpm
share/ardour2/pixmaps/tool_range.xpm
share/ardour2/pixmaps/tool_stretch.xpm
share/ardour2/pixmaps/tool_zoom.xpm
share/ardour2/pixmaps/vslider00.xpm
share/ardour2/pixmaps/vslider01.xpm
share/ardour2/pixmaps/vslider02_rail.xpm
share/ardour2/pixmaps/vslider02_slider.xpm
share/ardour2/pixmaps/vslider_slider_16wide.xpm
share/ardour2/pixmaps/zoom_full.xpm
share/ardour2/pixmaps/zoom_in.xpm
share/ardour2/pixmaps/zoom_out.xpm
share/ardour2/splash.png
share/ardour2/templates/16 Tracks.template
share/ardour2/templates/2 Track.template
share/ardour2/templates/32 Tracks.template
share/ardour2/templates/4 Tracks.template
share/ardour2/templates/8 Tracks.template
share/locale/cs/LC_MESSAGES/gtk2_ardour.mo
share/locale/de/LC_MESSAGES/gtk2_ardour.mo
share/locale/el/LC_MESSAGES/gtk2_ardour.mo
share/locale/el/LC_MESSAGES/libardour2.mo
share/locale/el/LC_MESSAGES/libgtkmm2ext.mo
share/locale/es/LC_MESSAGES/gtk2_ardour.mo
share/locale/es/LC_MESSAGES/libardour2.mo
share/locale/es/LC_MESSAGES/libgtkmm2ext.mo
share/locale/eu/LC_MESSAGES/gtk2_ardour.mo
share/locale/eu/LC_MESSAGES/libardour2.mo
share/locale/eu/LC_MESSAGES/libgtkmm2ext.mo
share/locale/fr/LC_MESSAGES/gtk2_ardour.mo
share/locale/fr/LC_MESSAGES/libardour2.mo
share/locale/it/LC_MESSAGES/gtk2_ardour.mo
share/locale/it/LC_MESSAGES/libardour2.mo
share/locale/nn/LC_MESSAGES/gtk2_ardour.mo
share/locale/nn/LC_MESSAGES/libardour2.mo
share/locale/nn/LC_MESSAGES/libgtkmm2ext.mo
share/locale/pl/LC_MESSAGES/gtk2_ardour.mo
share/locale/pl/LC_MESSAGES/libardour2.mo
share/locale/pl/LC_MESSAGES/libgtkmm2ext.mo
share/locale/pt/LC_MESSAGES/gtk2_ardour.mo
share/locale/pt/LC_MESSAGES/libgtkmm2ext.mo
share/locale/pt_PT/LC_MESSAGES/gtk2_ardour.mo
share/locale/ru/LC_MESSAGES/gtk2_ardour.mo
share/locale/ru/LC_MESSAGES/libardour2.mo
share/locale/ru/LC_MESSAGES/libgtkmm2ext.mo
share/locale/sv/LC_MESSAGES/gtk2_ardour.mo
share/locale/sv/LC_MESSAGES/libardour2.mo

View file

@ -1,112 +0,0 @@
# Created by: Jean-Yves Lefort <jylefort@brutele.be>
# $FreeBSD$
PORTNAME= mixxx
DISTVERSIONPREFIX= release-
DISTVERSION= 2.1.8
PORTREVISION= 10
CATEGORIES= audio
PKGNAMESUFFIX= 21
MAINTAINER= acm@FreeBSD.org
COMMENT= DJ mixing application
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libchromaprint.so:audio/chromaprint \
libFLAC.so:audio/flac \
libfftw3.so:math/fftw3 \
libhidapi.so:comms/hidapi \
libid3tag.so:audio/libid3tag \
libmad.so:audio/libmad \
libmodplug.so:audio/libmodplug \
libportaudio.so:audio/portaudio \
libSoundTouch.so:audio/soundtouch \
libebur128.so:audio/libebur128 \
librubberband.so:audio/rubberband \
libsndfile.so:audio/libsndfile \
libvamp-sdk.so:audio/vamp-plugin-sdk \
libogg.so:audio/libogg \
libvorbisfile.so:audio/libvorbis \
libtag.so:audio/taglib \
libprotobuf.so:devel/protobuf
USES= compiler:c++11-lang gl iconv qt:5 pkgconfig scons:python2 xorg
USE_XORG= x11
USE_GL= gl glu
USE_GITHUB= yes
GH_ACCOUNT= mixxxdj
USE_QT= buildtools concurrent core dbus gui network opengl script scripttools \
sql sql-sqlite3 svg testlib xml xmlpatterns linguisttools_build \
qmake_build widgets
CONFLICTS= mixxx20* mixxx
MAKE_ARGS= qtdir="${PREFIX}" install_root="${PREFIX}" \
build=release optimize=off ${GUI} battery=0 vamp=1 modplug=1
LATE_INSTALL_ARGS= --install-sandbox=${STAGEDIR}
GUI= qt5=1
PORTDATA= *
PORTDOCS= *
OPTIONS_DEFINE= DOCS FAAD GPERFTOOLS HID LAME OPUS SHOUTCAST WAVPACK
OPTIONS_DEFAULT= FAAD HID SHOUTCAST OPUS WAVPACK
OPTIONS_SUB= yes
FAAD_LIB_DEPENDS= libfaad.so:audio/faad \
libmp4v2.so:multimedia/mp4v2
FAAD_MAKE_ARGS= faad=1
FAAD_MAKE_ARGS_OFF= faad=0
GPERFTOOLS_LIB_DEPENDS= libtcmalloc.so:devel/google-perftools
GPERFTOOLS_MAKE_ARGS= perftools=1
GPERFTOOLS_MAKE_ARGS_OFF= perftools=0
HID_DESC= USB HID controllers support
HID_MAKE_ARGS= hid=1
HID_MAKE_ARGS_OFF= hid=0
LAME_RUN_DEPENDS= lame:audio/lame
OPUS_LIB_DEPENDS= libopus.so:audio/opus \
libopusfile.so:audio/opusfile
OPUS_MAKE_ARGS= opus=1
OPUS_MAKE_ARGS_OFF= opus=0
SHOUTCAST_LIB_DEPENDS= libshout.so:audio/libshout
SHOUTCAST_MAKE_ARGS= shoutcast=1
SHOUTCAST_MAKE_ARGS_OFF= shoutcast=0
WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack
WAVPACK_MAKE_ARGS= wv=1
WAVPACK_MAKE_ARGS_OFF= wv=0
post-patch:
@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g ; \
s|%%PREFIX%%|${PREFIX}|g" \
${WRKSRC}/build/depends.py
@${REINPLACE_CMD} -e "s|bzr |true |g" \
${WRKSRC}/build/util.py
@${REINPLACE_CMD} -e "/('install', docs)/d" \
${WRKSRC}/src/SConscript
@${REINPLACE_CMD} -e "s|^Exec=.*|Exec=mixxx| ; \
s|^Icon=.*|Icon=${PREFIX}/share/pixmaps/mixxx-icon.png|" \
${WRKSRC}/res/linux/mixxx.desktop
@${REINPLACE_CMD} -e "s,(Q_OS_LINUX),(Q_OS_LINUX) || defined(Q_OS_FREEBSD),g" \
${WRKSRC}/src/util/screensaver.h
.for i in midi/midimessage.h
@${ECHO_CMD} >> ${WRKSRC}/src/controllers/${i}
.endfor
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mixxx
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mixxx/plugins/*/*.so
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/mixxx/plugins/soundsource
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in Mixxx-Manual.pdf README README.md
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} \
${STAGEDIR}${DOCSDIR})
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} Mixxx-Manual.pdf \
${STAGEDIR}${DOCSDIR}
@${FIND} ${STAGEDIR}${PREFIX}/lib/mixxx/plugins/soundsource -type d -empty -delete
.include <bsd.port.mk>

View file

@ -1,3 +0,0 @@
TIMESTAMP = 1555975666
SHA256 (mixxxdj-mixxx-release-2.1.8_GH0.tar.gz) = 172e7aaca760a8635fbda83f0bec2f5403b5bcd011ea088c0a7b0767b83b7e41
SIZE (mixxxdj-mixxx-release-2.1.8_GH0.tar.gz) = 34652727

View file

@ -1,172 +0,0 @@
--- build/depends.py 2018-12-27 02:36:10.000000000 -0500
+++ build/depends.py 2019-01-05 23:40:05.463593000 -0500
@@ -12,7 +12,7 @@
if not conf.CheckLib('portaudio'):
raise Exception(
'Did not find libportaudio.a, portaudio.lib, or the PortAudio-v19 development header files.')
- elif build.platform_is_linux:
+ elif build.platform_is_linux or build.platform_is_bsd:
build.env.ParseConfig('pkg-config portaudio-2.0 --silence-errors --cflags --libs')
# Turn on PortAudio support in Mixxx
@@ -74,7 +74,8 @@
if (not conf.CheckLib('GLU') and
not conf.CheckLib('glu32') and
- not conf.CheckCHeader('OpenGL/glu.h')):
+ not conf.CheckCHeader('OpenGL/glu.h') and
+ not conf.CheckCHeader('GL/glu.h')):
raise Exception('Did not find GLU development files')
@@ -106,7 +107,7 @@
class UPower(Dependence):
"""UPower is used to get battery measurements on Linux."""
def configure(self, build, conf):
- if not build.platform_is_linux:
+ if not build.platform_is_linux or not build.platform_is_bsd:
return
build.env.ParseConfig(
'pkg-config upower-glib --silence-errors --cflags --libs')
@@ -185,15 +186,17 @@
class Qt(Dependence):
DEFAULT_QT4DIRS = {'linux': '/usr/share/qt4',
- 'bsd': '/usr/local/lib/qt4',
+ 'bsd': '%%LOCALBASE%%/share/qt4',
'osx': '/Library/Frameworks',
'windows': 'C:\\qt\\4.6.0'}
DEFAULT_QT5DIRS64 = {'linux': '/usr/lib/x86_64-linux-gnu/qt5',
+ 'bsd': '%%LOCALBASE%%/lib/qt5',
'osx': '/Library/Frameworks',
'windows': 'C:\\qt\\5.0.1'}
DEFAULT_QT5DIRS32 = {'linux': '/usr/lib/i386-linux-gnu/qt5',
+ 'bsd': '%%LOCALBASE%%/lib/qt5',
'osx': '/Library/Frameworks',
'windows': 'C:\\qt\\5.0.1'}
@@ -319,10 +322,18 @@
build.env.Append(CCFLAGS='-fPIC')
elif build.platform_is_bsd:
- build.env.Append(LIBS=qt_modules)
- include_paths = ['$QTDIR/include/%s' % module
- for module in qt_modules]
- build.env.Append(CPPPATH=include_paths)
+ qt_modules.extend(['QtDBus'])
+ if qt5:
+ qt5_modules = [w.replace('Qt', 'Qt5') for w in qt_modules]
+ build.env.Append(LIBS = qt5_modules)
+ build.env.Append(CCFLAGS='-fPIC')
+ include_paths = ['%%LOCALBASE%%/include/qt5/%s' % module
+ for module in qt_modules]
+ else:
+ build.env.Append(LIBS = qt_modules)
+ include_paths = ['%%LOCALBASE%%/include/qt4/%s' % module
+ for module in qt_modules]
+ build.env.Append(CPPPATH=include_paths)
elif build.platform_is_osx:
qtdir = build.env['QTDIR']
build.env.Append(
@@ -487,7 +498,7 @@
if not build.platform_is_windows and not (using_104_sdk or compiling_on_104):
qtdir = build.env['QTDIR']
framework_path = Qt.find_framework_libdir(qtdir, qt5)
- if os.path.isdir(framework_path):
+ if framework_path and os.path.isdir(framework_path):
build.env.Append(LINKFLAGS="-L" + framework_path)
# Mixxx requires C++11 support. Windows enables C++11 features by
@@ -581,7 +592,7 @@
if env is None:
env = build.env
- if build.platform_is_linux:
+ if build.platform_is_linux or build.platform_is_bsd:
# Try using system lib
if conf.CheckForPKG('soundtouch', '2.0.0'):
# System Lib found
@@ -625,7 +636,7 @@
# the files correctly. Adding this folder ot the include path should fix
# it, though might cause issues. This is safe to remove once we
# deprecate Karmic support. rryan 2/2011
- build.env.Append(CPPPATH='/usr/include/taglib/')
+ build.env.Append(CPPPATH='%%LOCALBASE%%/include/taglib/')
if build.platform_is_windows and build.static_dependencies:
build.env.Append(CPPDEFINES='TAGLIB_STATIC')
@@ -1337,7 +1348,6 @@
if build.toolchain_is_gnu:
# Default GNU Options
- build.env.Append(CCFLAGS='-pipe')
build.env.Append(CCFLAGS='-Wall')
if build.compiler_is_clang:
# Quiet down Clang warnings about inconsistent use of override
@@ -1445,12 +1455,13 @@
elif build.platform_is_osx:
# Stuff you may have compiled by hand
- if os.path.isdir('/usr/local/include'):
- build.env.Append(LIBPATH=['/usr/local/lib'])
+ if os.path.isdir('%%LOCALBASE%%/include'):
+ build.env.Append(LIBPATH=['%%LOCALBASE%%/lib'])
# Use -isystem instead of -I to avoid compiler warnings from
# system libraries. This cuts down on Mixxx's compilation output
# significantly when using Homebrew installed to /usr/local.
- build.env.Append(CCFLAGS=['-isystem', '/usr/local/include'])
+ build.env.Append(CPPPATH=['%%LOCALBASE%%/include'])
+ build.env.Append(CCFLAGS=['-isystem', '%%LOCALBASE%%/include'])
# Non-standard libpaths for fink and certain (most?) darwin ports
if os.path.isdir('/sw/include'):
@@ -1463,17 +1474,24 @@
build.env.Append(CPPPATH=['/opt/local/include'])
elif build.platform_is_bsd:
+ qt5 = Qt.qt5_enabled(build)
+
+ if qt5:
+ qtdirectory = 'qt5'
+ else:
+ qtdirectory = 'qt4'
+
build.env.Append(CPPDEFINES='__BSD__')
build.env.Append(CPPPATH=['/usr/include',
- '/usr/local/include',
- '/usr/X11R6/include/'])
+ '%%LOCALBASE%%/include',
+ '%%LOCALBASE%%/include/'+ qtdirectory])
build.env.Append(LIBPATH=['/usr/lib/',
- '/usr/local/lib',
- '/usr/X11R6/lib'])
+ '%%LOCALBASE%%/lib',
+ '%%LOCALBASE%%/lib/'+ qtdirectory])
build.env.Append(LIBS='pthread')
# why do we need to do this on OpenBSD and not on Linux? if we
# don't then CheckLib("vorbisfile") fails
- build.env.Append(LIBS=['ogg', 'vorbis'])
+ build.env.Append(LIBS=['ogg', 'vorbis','X11'])
# Define for things that would like to special case UNIX (Linux or BSD)
if build.platform_is_bsd or build.platform_is_linux:
@@ -1506,7 +1524,7 @@
# Say where to find resources on Unix. TODO(XXX) replace this with a
# RESOURCE_PATH that covers Win and OSX too:
if build.platform_is_linux or build.platform_is_bsd:
- prefix = SCons.ARGUMENTS.get('prefix', '/usr/local')
+ prefix = SCons.ARGUMENTS.get('prefix', '%%PREFIX%%')
share_path = os.path.join (prefix, build.env.get(
'SHAREDIR', default='share'), 'mixxx')
build.env.Append(
@@ -1517,7 +1535,7 @@
CPPDEFINES=('UNIX_LIB_PATH', r'\"%s\"' % lib_path))
def depends(self, build):
- return [SoundTouch, ReplayGain, Ebur128Mit, PortAudio, PortMIDI, Qt, TestHeaders,
+ return [SoundTouch, ReplayGain, Ebur128Mit, PortAudio, Qt, TestHeaders,
FidLib, SndFile, FLAC, OggVorbis, OpenGL, TagLib, ProtoBuf,
Chromaprint, RubberBand, SecurityFramework, CoreServices, IOKit,
QtScriptByteArray, Reverb, FpClassify, PortAudioRingBuffer]

View file

@ -1,102 +0,0 @@
--- build/features.py 2018-10-28 12:33:56.000000000 -0500
+++ build/features.py 2018-11-06 14:58:04.915561000 -0500
@@ -105,13 +105,24 @@
# -pthread tells GCC to do the right thing regardless of system
build.env.Append(CCFLAGS='-pthread')
build.env.Append(LINKFLAGS='-pthread')
+ elif build.platform_is_bsd:
+ build.env.ParseConfig('pkg-config hidapi --silence-errors --cflags --libs')
+ conf.CheckLib(['pthread', 'libpthread'])
+ conf.CheckLib(['rt', 'librt'])
+
+ # -pthread tells GCC to do the right thing regardless of system
+ build.env.Append(CCFLAGS='-pthread')
+ build.env.Append(LINKFLAGS='-pthread')
else:
self.INTERNAL_LINK = True
if build.platform_is_windows and not conf.CheckLib(['setupapi', 'libsetupapi']):
raise Exception('Did not find the setupapi library, exiting.')
elif build.platform_is_osx:
build.env.AppendUnique(FRAMEWORKS=['IOKit', 'CoreFoundation'])
+ elif build.platform_is_bsd:
+ conf.CheckLib(['usb', 'libusb'])
+ conf.CheckLib(['usbhid', 'libusbhid'])
build.env.Append(CPPDEFINES='__HID__')
if self.INTERNAL_LINK:
@@ -129,7 +140,7 @@
# setupapi.
sources.append(
os.path.join(self.HIDAPI_INTERNAL_PATH, "windows/hid.c"))
- elif build.platform_is_linux:
+ elif build.platform_is_linux or build.platform_is_bsd:
# hidapi compiles the libusb implementation by default on Linux
sources.append(
os.path.join(self.HIDAPI_INTERNAL_PATH, 'libusb/hid.c'))
@@ -147,14 +158,14 @@
def enabled(self, build):
# For now only make Bulk default on Linux only. Turn on for all
# platforms after the 1.11.0 release.
- is_default = 1 if build.platform_is_linux else 0
+ is_default = 1 if build.platform_is_linux or build.platform_is_bsd else 0
build.flags['bulk'] = util.get_flags(build.env, 'bulk', is_default)
if int(build.flags['bulk']):
return True
return False
def add_options(self, build, vars):
- is_default = 1 if build.platform_is_linux else 0
+ is_default = 1 if build.platform_is_linux or build.platform_is_bsd else 0
vars.Add('bulk',
'Set to 1 to enable USB Bulk controller support.', is_default)
@@ -162,12 +173,15 @@
if not self.enabled(build):
return
- build.env.ParseConfig(
- 'pkg-config libusb-1.0 --silence-errors --cflags --libs')
- if (not conf.CheckLib(['libusb-1.0', 'usb-1.0']) or
- not conf.CheckHeader('libusb-1.0/libusb.h')):
- raise Exception(
- 'Did not find the libusb 1.0 development library or its header file, exiting!')
+ if build.platform_is_linux:
+ build.env.ParseConfig(
+ 'pkg-config libusb-1.0 --silence-errors --cflags --libs')
+ if (not conf.CheckLib(['libusb-1.0', 'usb-1.0']) or
+ not conf.CheckHeader('libusb-1.0/libusb.h')):
+ raise Exception(
+ 'Did not find the libusb 1.0 development library or its header file, exiting!')
+ elif build.platform_is_bsd:
+ conf.CheckLib(['usb', 'libusb'])
build.env.Append(CPPDEFINES='__BULK__')
@@ -396,7 +410,7 @@
# If there is no system vamp-hostsdk is installed or if the version
# of the installed vamp-hostsdk is less than the bundled version,
# then we'll directly link the bundled vamp-hostsdk
- if not conf.CheckLib('vamp-hostsdk') or not conf.CheckForPKG('vamp-plugin-sdk', '2.7.1'):
+ if not conf.CheckLib('vamp-hostsdk') or not conf.CheckForPKG('vamp-sdk', '2.7.1'):
# For header includes
build.env.Append(CPPPATH=[self.INTERNAL_VAMP_PATH])
self.INTERNAL_LINK = True
@@ -409,7 +423,7 @@
# FFTW3 support
have_fftw3_h = conf.CheckHeader('fftw3.h')
have_fftw3 = conf.CheckLib('fftw3', autoadd=False)
- if have_fftw3_h and have_fftw3 and build.platform_is_linux:
+ if have_fftw3_h and have_fftw3 and (build.platform_is_linux or build.platform_is_bsd) :
build.env.Append(CPPDEFINES='HAVE_FFTW3')
build.env.ParseConfig(
'pkg-config fftw3 --silence-errors --cflags --libs')
@@ -1295,7 +1309,7 @@
return ["util/battery/batterywindows.cpp"]
elif build.platform_is_osx:
return ["util/battery/batterymac.cpp"]
- elif build.platform_is_linux:
+ elif build.platform_is_linux or build.platform_is_bsd:
return ["util/battery/batterylinux.cpp"]
else:
raise Exception('Battery support is not implemented for the target platform.')

View file

@ -1,27 +0,0 @@
--- build/mixxx.py 2018-04-15 13:30:27.000000000 -0500
+++ build/mixxx.py 2018-04-21 22:31:31.694426000 -0500
@@ -394,9 +394,9 @@
self.env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])
# Allow installation directories to be specified.
- prefix = Script.ARGUMENTS.get('prefix', '/usr/local')
+ prefix = Script.ARGUMENTS.get('prefix', '%%PREFIX%%')
if 'LIBDIR' in os.environ:
- self.env['LIBDIR'] = os.path.relpath(os.environ['LIBDIR'], prefix)
+ self.env['LIBDIR'] = 'lib' # os.path.relpath(os.environ['LIBDIR'], prefix)
if 'BINDIR' in os.environ:
self.env['BINDIR'] = os.path.relpath(os.environ['BINDIR'], prefix)
if 'SHAREDIR' in os.environ:
@@ -429,10 +429,10 @@
def install_options(self):
cachefile = os.path.join(self.get_cache_dir(), 'custom.py')
vars = Script.Variables(cachefile)
- vars.Add('prefix', 'Set to your install prefix', '/usr/local')
+ vars.Add('prefix', 'Set to your install prefix', '%%PREFIX%%')
vars.Add('virtualize',
'Dynamically swap out the build directory when switching Git branches.', 1)
- vars.Add('qtdir', 'Set to your QT4 directory', '/usr/share/qt4')
+ vars.Add('qtdir', 'Set to your QT4 directory', '%%LOCALBASE%%/share/qt4')
vars.Add('qt_sqlite_plugin', 'Set to 1 to package the Qt SQLite plugin.'
'\n Set to 0 if SQLite support is compiled into QtSQL.', 0)
vars.Add('target',

View file

@ -1,11 +0,0 @@
--- lib/hidapi-0.8.0-rc1/libusb/hid.c.orig 2015-12-29 16:10:41 UTC
+++ lib/hidapi-0.8.0-rc1/libusb/hid.c
@@ -258,7 +258,7 @@ static int get_usage(uint8_t *report_des
Note that the data parameter is Unicode in UTF-16LE encoding.
Return value is the number of bytes in data, or LIBUSB_ERROR_*.
*/
-static inline int libusb_get_string_descriptor(libusb_device_handle *dev,
+inline int libusb_get_string_descriptor(libusb_device_handle *dev,
uint8_t descriptor_index, uint16_t lang_id,
unsigned char *data, int length)
{

View file

@ -1,11 +0,0 @@
--- plugins/soundsourcem4a/soundsourcem4a.h.orig 2019-07-19 22:36:09 UTC
+++ plugins/soundsourcem4a/soundsourcem4a.h
@@ -5,6 +5,8 @@
#include "util/readaheadsamplebuffer.h"
+#include <sys/types.h>
+
#ifdef __MP4V2__
#include <mp4v2/mp4v2.h>
#else

View file

@ -1,11 +0,0 @@
--- src/encoder/encodermp3.cpp 2017-09-24 22:09:28.258505000 -0500
+++ src/encoder/encodermp3.cpp 2017-09-24 22:12:09.197474000 -0500
@@ -76,7 +76,7 @@
*/
QStringList libnames;
QString libname = "";
-#ifdef __LINUX__
+#if defined(__LINUX__) || defined(__FreeBSD__)
libnames << "mp3lame";
#elif __WINDOWS__
libnames << "lame_enc.dll";

View file

@ -1,27 +0,0 @@
--- src/util/screensaver.cpp 2018-04-22 02:22:56.333283000 -0500
+++ src/util/screensaver.cpp 2018-04-22 02:24:03.836501000 -0500
@@ -23,13 +23,13 @@
# include "util/mac.h"
#elif defined(Q_OS_WIN)
# include <windows.h>
-#elif defined(Q_OS_LINUX)
+#elif defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
# include <QtDBus>
#elif HAVE_XSCREENSAVER_SUSPEND
# include <X11/extensions/scrnsaver.h>
#endif // Q_OS_WIN
-#if defined(Q_OS_LINUX) || HAVE_XSCREENSAVER_SUSPEND
+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || HAVE_XSCREENSAVER_SUSPEND
# define None XNone
# define Window XWindow
# include <X11/Xlib.h>
@@ -140,7 +140,7 @@
s_enabled = false;
}
-#elif defined(Q_OS_LINUX)
+#elif defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
const char *SCREENSAVERS[][4] = {
// org.freedesktop.ScreenSaver is the standard. should work for gnome and kde too,
// but I add their specific names too

View file

@ -1,12 +0,0 @@
--- src/controllers/controllermanager.cpp 2018-04-15 13:30:27.000000000 -0500
+++ src/controllers/controllermanager.cpp 2018-04-21 22:34:32.638474000 -0500
@@ -127,7 +127,9 @@
// Instantiate all enumerators. Enumerators can take a long time to
// construct since they interact with host MIDI APIs.
+#ifdef __PORTMIDI__
m_enumerators.append(new PortMidiEnumerator());
+#endif
#ifdef __HSS1394__
m_enumerators.append(new Hss1394Enumerator());
#endif

View file

@ -1,14 +0,0 @@
--- src/controllers/controllerpresetfilehandler.cpp.orig 2015-12-29 16:10:41 UTC
+++ src/controllers/controllerpresetfilehandler.cpp
@@ -43,7 +43,11 @@ ControllerPresetPointer ControllerPreset
pHandler = new MidiControllerPresetFileHandler();
} else if (scriptPath.endsWith(HID_PRESET_EXTENSION, Qt::CaseInsensitive) ||
scriptPath.endsWith(BULK_PRESET_EXTENSION, Qt::CaseInsensitive)) {
+#if __HID__
pHandler = new HidControllerPresetFileHandler();
+#else
+ return ControllerPresetPointer();
+#endif
}
if (pHandler == NULL) {

View file

@ -1,11 +0,0 @@
--- vamp-plugins/SConscript 2018-11-06 14:08:42.093656000 -0500
+++ vamp-plugins/SConscript 2018-11-06 14:08:56.517582000 -0500
@@ -54,7 +54,7 @@
# If there is no system vamp-sdk is installed or if the version
# of the installed vamp-sdk is less than the bundled version,
# then we'll directly link the bundled vamp-sdk.
- if not conf.CheckLib('vamp-sdk') or not conf.CheckForPKG('vamp-plugin-sdk', '2.7.1'):
+ if not conf.CheckLib('vamp-hostsdk') or not conf.CheckForPKG('vamp-sdk', '2.7.1'):
INTERNAL_VAMP_PATH = '#lib/vamp'
# For header includes
env.Append(CPPPATH=[INTERNAL_VAMP_PATH])

View file

@ -1,5 +0,0 @@
Mixxx is software for DJ'ing. You can use wave based audio files, Ogg Vorbis
and MP3 files as audio input. Mixxx can be controlled through the GUI and
with external controllers including MIDI devices, joysticks, and more.
WWW: https://mixxx.org/

View file

@ -1,7 +0,0 @@
bin/mixxx
%%FAAD%%lib/mixxx/plugins/soundsourceqt5/libsoundsourcem4a.so
%%WAVPACK%%lib/mixxx/plugins/soundsourceqt5/libsoundsourcewv.so
lib/mixxx/plugins/vampqt5/libmixxxminimal.so
share/appdata/mixxx.appdata.xml
share/applications/mixxx.desktop
share/pixmaps/mixxx-icon.png

View file

@ -21,8 +21,6 @@
SUBDIR += apq-mysql
SUBDIR += apq-odbc
SUBDIR += apq-pgsql
SUBDIR += arangodb32
SUBDIR += arangodb33
SUBDIR += arrow
SUBDIR += ateam_mysql57_ldap_auth
SUBDIR += ateam_mysql_ldap_auth

View file

@ -1,51 +0,0 @@
# Created by: Vlad Galu <galu@packetdam.com>
# $FreeBSD$
PORTNAME= arangodb
DISTVERSIONPREFIX= v
DISTVERSION= 3.2.13
PORTREVISION= 1
CATEGORIES= databases net
PKGNAMESUFFIX= 32
MAINTAINER= dev@dudu.ro
COMMENT= Distributed NoSQL database with multiple data models
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON= "Only builds on amd64"
USES= gmake ssl cmake:noninja python:2.7 compiler
USE_GITHUB= yes
CMAKE_ARGS= -DUSE_JEMALLOC:BOOL=off \
-DUSE_BACKTRACE:BOOL=on \
-DBASE_LD_FLAGS:STRING="-L${BUILD_WRKSRC}/3rdParty/V8/v5.7.492.77/x64.release/obj.target/src -L${BUILD_WRKSRC}/3rdParty/V8/v5.7.492.77/x64.release/obj.target/third_party/icu -L${LOCALBASE}/lib -L/usr/lib"
USERS= arangodb
GROUPS= arangodb
USE_RC_SUBR= arangod
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057
SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS=""
.else
SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment "
.endif
post-install:
${REINPLACE_CMD} -e 's|/usr/local/var/lib/arangodb3|/var/db/arangodb|g' ${STAGEDIR}${PREFIX}/etc/arangodb/*.conf
${REINPLACE_CMD} -e 's|/usr/local/var/log/arangodb3|/var/log/arangodb|g' ${STAGEDIR}${PREFIX}/etc/arangodb/arangod.conf
${FIND} ${STAGEDIR}${PREFIX}/etc/arangodb/ -type f -name *.conf -exec ${MV} {} {}.sample \;
${RMDIR} ${STAGEDIR}${PREFIX}/var/lib/arangodb
${RMDIR} ${STAGEDIR}${PREFIX}/var/lib/arangodb-apps
${RMDIR} ${STAGEDIR}${PREFIX}/var/lib
${RMDIR} ${STAGEDIR}${PREFIX}/var/log/arangodb
${RMDIR} ${STAGEDIR}${PREFIX}/var/log
${RMDIR} ${STAGEDIR}${PREFIX}/var
.include <bsd.port.mk>

View file

@ -1,3 +0,0 @@
TIMESTAMP = 1524145771
SHA256 (arangodb-arangodb-v3.2.13_GH0.tar.gz) = 83784358c91f7163a47ec509ac4e527dc659182cfa8678b044da1b50c3e381fd
SIZE (arangodb-arangodb-v3.2.13_GH0.tar.gz) = 144636599

View file

@ -1,86 +0,0 @@
#!/bin/sh
# PROVIDE: arangod
# REQUIRE: NETWORK ldconfig
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
# to enable this service:
#
# arangod_enable (bool): Set to "NO" by default.
# Set it to "YES" to enable arangod.
%%LEGACY_LIMITS%%# arangod_limits (bool): Set to "NO" by default.
%%LEGACY_LIMITS%%# Set it to yes to run `limits -e -U arangodb`
%%LEGACY_LIMITS%%# just before arangod starts.
# arangod_dbpath (str): Default to "/var/db/arangodb"
# Base database directory.
# arangod_logpath (str): Default to "/var/log/arangodb"
# Base logging directory
# arangod_apppath (str): Default to "/var/db/arangodb-apps"
# Base apps directory
# arangod_flags (str): Custom additional arguments to be passed to arangod.
# Default to "".
# arangod_config (str): Default to "%%PREFIX%%/etc/arangodb/arangod.conf"
# Path to config file
#
. /etc/rc.subr
name="arangod"
rcvar=arangod_enable
load_rc_config $name
: ${arangod_enable="NO"}
%%LEGACY_LIMITS%%: ${arangod_limits="NO"}
: ${arangod_dbpath="/var/db/arangodb"}
: ${arangod_logpath="/var/log/arangodb"}
: ${arangod_apppath="/var/db/arangodb-apps"}
: ${arangod_flags=""}
: ${arangod_user="arangodb"}
: ${arangod_group="arangodb"}
: ${arangod_config="%%PREFIX%%/etc/arangodb/arangod.conf"}
pidfile="${arangod_dbpath}/arangod.lock"
command=%%PREFIX%%/sbin/${name}
command_args="--configuration $arangod_config --database.directory $arangod_dbpath --log.output ${arangod_logpath}/arangod.log --javascript.app-path ${arangod_apppath} --daemon --pid-file ${pidfile} >/dev/null 2>/dev/null"
start_precmd="${name}_prestart"
arangod_create_dbpath()
{
mkdir ${arangod_dbpath} >/dev/null 2>/dev/null
[ $? -eq 0 ] && chown -R ${arangod_user}:${arangod_group} ${arangod_dbpath}
}
arangod_create_logpath()
{
mkdir ${arangod_logpath} >/dev/null 2>/dev/null
[ $? -eq 0 ] && chown -R ${arangod_user}:${arangod_group} ${arangod_logpath}
}
arangod_create_apppath()
{
mkdir ${arangod_apppath} >/dev/null 2>/dev/null
[ $? -eq 0 ] && chown -R ${arangod_user}:${arangod_group} ${arangod_apppath}
}
arangod_prestart()
{
if [ ! -d ${arangod_dbpath} ]; then
arangod_create_dbpath || return 1
fi
if [ ! -d ${arangod_logpath} ]; then
arangod_create_logpath || return 1
fi
if [ ! -d ${arangod_apppath} ]; then
arangod_create_apppath || return 1
fi
%%LEGACY_LIMITS%% if checkyesno arangod_limits; then
%%LEGACY_LIMITS%% eval `/usr/bin/limits -e -U ${arangod_user}` 2>/dev/null
%%LEGACY_LIMITS%% else
%%LEGACY_LIMITS%% return 0
%%LEGACY_LIMITS%% fi
%%MODERN_LIMITS%% return 0
}
run_rc_command "$1"

View file

@ -1,28 +0,0 @@
In file included from rocksdb/utilities/backupable/backupable_db.cc:16:
rocksdb/util/channel.h:35:33: error: no matching constructor for initialization of 'std::lock_guard<std::mutex>'
std::lock_guard<std::mutex> lk(lock_);
^ ~~~~~
/usr/include/c++/v1/__mutex_base:90:14: note: candidate constructor not viable: 1st argument ('const std::mutex') would lose const qualifier
explicit lock_guard(mutex_type& __m) _LIBCPP_THREAD_SAFETY_ANNOTATION(acquire_capability(__m))
^
/usr/include/c++/v1/__mutex_base:100:5: note: candidate constructor not viable: no known conversion from 'const std::mutex' to 'const std::__1::lock_guard<std::__1::mutex>' for 1st argument
lock_guard(lock_guard const&) _LIBCPP_EQUAL_DELETE;
^
/usr/include/c++/v1/__mutex_base:94:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
lock_guard(mutex_type& __m, adopt_lock_t) _LIBCPP_THREAD_SAFETY_ANNOTATION(requires_capability(__m))
^
1 error generated.
https://github.com/facebook/rocksdb/commit/a796c06fef6a8e43d793f8e627db3f29e6f95964
--- 3rdParty/rocksdb/v5.6.X/util/channel.h.orig 2018-04-13 11:22:33 UTC
+++ 3rdParty/rocksdb/v5.6.X/util/channel.h
@@ -62,7 +62,7 @@ class channel {
private:
std::condition_variable cv_;
- std::mutex lock_;
+ mutable std::mutex lock_;
std::queue<T> buffer_;
bool eof_;
};

View file

@ -1,43 +0,0 @@
--- CMakeLists.txt.orig 2018-04-11 15:16:11 UTC
+++ CMakeLists.txt
@@ -38,9 +38,9 @@ if (NOT CMAKE_OSX_DEPLOYMENT_TARGET)
endif ()
if (WIN32)
- project(arangodb3 CXX C)
+ project(arangodb CXX C)
else ()
- project(arangodb3 CXX C ASM)
+ project(arangodb CXX C ASM)
endif ()
# required for clang completion in editors
@@ -377,7 +377,7 @@ if (CMAKE_COMPILER_IS_GNUCC OR APPLE)
endif ()
if (CMAKE_COMPILER_IS_CLANG)
- if (APPLE)
+ if (APPLE OR FREEBSD)
set(BASE_CXX_FLAGS "${BASE_CXX_FLAGS} -stdlib=libc++")
add_definitions("-Wno-deprecated-declarations")
else ()
@@ -483,7 +483,7 @@ else ()
include(VcMacros)
- option(USE_OPTIMIZE_FOR_ARCHITECTURE "try to determine CPU architecture" ON)
+ option(USE_OPTIMIZE_FOR_ARCHITECTURE "try to determine CPU architecture" OFF)
if (USE_OPTIMIZE_FOR_ARCHITECTURE)
# mop: core2 (merom) is our absolute minimum!
@@ -594,9 +594,7 @@ endif ()
################################################################################
if (NOT WINDOWS)
- set(SYS_LIBS ${SYS_LIBS} resolv)
-
- if (NOT DARWIN)
+ if (NOT DARWIN OR FREEBSD)
set(SYS_LIBS ${SYS_LIBS} rt)
endif ()
endif ()

View file

@ -1,11 +0,0 @@
--- arangod/Agency/Store.cpp.orig 2017-11-15 11:23:07 UTC
+++ arangod/Agency/Store.cpp
@@ -601,7 +601,7 @@ void Store::dumpToBuilder(Builder& build
auto ts = std::chrono::duration_cast<std::chrono::seconds>(
i.first.time_since_epoch())
.count();
- builder.add(i.second, VPackValue(ts));
+ builder.add(i.second, VPackValue((int64_t)ts));
}
}
{

View file

@ -1,11 +0,0 @@
--- arangod/RestHandler/RestAuthHandler.cpp.orig 2017-11-15 11:23:07 UTC
+++ arangod/RestHandler/RestAuthHandler.cpp
@@ -59,7 +59,7 @@ std::string RestAuthHandler::generateJwt
VPackObjectBuilder p(&bodyBuilder);
bodyBuilder.add("preferred_username", VPackValue(username));
bodyBuilder.add("iss", VPackValue("arangodb"));
- bodyBuilder.add("exp", VPackValue(exp.count()));
+ bodyBuilder.add("exp", VPackValue((int64_t)exp.count()));
}
return authentication->authInfo()->generateJwt(bodyBuilder);
}

View file

@ -1,25 +0,0 @@
--- arangod/RocksDBEngine/RocksDBThrottle.cpp.orig 2018-01-05 13:56:52 UTC
+++ arangod/RocksDBEngine/RocksDBThrottle.cpp
@@ -515,8 +515,8 @@ void RocksDBThrottle::AdjustThreadPriori
pid_t tid;
int ret_val;
- tid = syscall(SYS_gettid);
- if (-1!=(int)tid)
+ ret_val = syscall(SYS_thr_self, &tid);
+ if (-1!=ret_val)
{
errno=0;
ret_val=getpriority(PRIO_PROCESS, tid);
@@ -534,8 +534,9 @@ void RocksDBThrottle::AdjustThreadPriori
&& (gThreadPriority._basePriority+Adjustment)!=gThreadPriority._currentPriority) {
pid_t tid;
- tid = syscall(SYS_gettid);
- if (-1!=(int)tid)
+ int ret_val;
+ ret_val = syscall(SYS_thr_self, &tid);
+ if (-1!=(int)ret_val)
{
gThreadPriority._currentPriority = gThreadPriority._basePriority + Adjustment;
setpriority(PRIO_PROCESS, tid, gThreadPriority._currentPriority);

View file

@ -1,11 +0,0 @@
--- cmake/ArangoDBInstall.cmake.orig 2017-11-16 20:17:40 UTC
+++ cmake/ArangoDBInstall.cmake
@@ -100,7 +100,7 @@ endif ()
install(
DIRECTORY
- ${PROJECT_BINARY_DIR}/var/log/arangodb3
+ ${PROJECT_BINARY_DIR}/var/log/arangodb
DESTINATION
${CMAKE_INSTALL_LOCALSTATEDIR}/log
)

View file

@ -1,14 +0,0 @@
--- lib/Basics/ArangoGlobalContext.cpp.orig 2018-04-12 13:04:01 UTC
+++ lib/Basics/ArangoGlobalContext.cpp
@@ -145,10 +145,9 @@ ArangoGlobalContext::ArangoGlobalContext
#ifndef __GLIBC__
// Increase default stack size for libmusl:
pthread_attr_t a;
- memset(&a, 0, sizeof(pthread_attr_t));
+ pthread_attr_init(&a);
pthread_attr_setstacksize(&a, 8*1024*1024); // 8MB as in glibc
pthread_attr_setguardsize(&a, 4096); // one page
- pthread_setattr_default_np(&a);
#endif
#endif
#endif

View file

@ -1,52 +0,0 @@
--- lib/Basics/process-utils.cpp.orig 2017-11-15 11:23:07 UTC
+++ lib/Basics/process-utils.cpp
@@ -23,7 +23,7 @@
#include "process-utils.h"
-#if defined(TRI_HAVE_MACOS_MEM_STATS)
+#if defined(TRI_HAVE_MACOS_MEM_STATS) || defined (__FreeBSD__)
#include <sys/types.h>
#include <sys/sysctl.h>
#endif
@@ -581,6 +581,7 @@ TRI_process_info_t TRI_ProcessInfoSelf()
}
#else
+#ifdef _WIN32
/// --------------------------------------------
/// transform a file time to timestamp
/// Particularities:
@@ -673,6 +674,7 @@ TRI_process_info_t TRI_ProcessInfoSelf()
return result;
}
#endif
+#endif
////////////////////////////////////////////////////////////////////////////////
/// @brief returns information about the process
@@ -1254,7 +1256,7 @@ bool TRI_ContinueExternalProcess(TRI_ext
/// @brief gets the physical memory
////////////////////////////////////////////////////////////////////////////////
-#if defined(TRI_HAVE_MACOS_MEM_STATS)
+#if defined(TRI_HAVE_MACOS_MEM_STATS) || defined(__FreeBSD__)
static uint64_t GetPhysicalMemory() {
int mib[2];
@@ -1297,6 +1299,7 @@ static uint64_t GetPhysicalMemory() {
#else
+#ifdef _WIN32
static uint64_t GetPhysicalMemory() {
PROCESS_MEMORY_COUNTERS pmc;
memset(&result, 0, sizeof(result));
@@ -1307,6 +1310,7 @@ static uint64_t GetPhysicalMemory() {
}
return 0;
}
+#endif // _WIN32
#endif
#endif
#endif

View file

@ -1,15 +0,0 @@
--- lib/Basics/socket-utils.h.orig 2017-11-15 11:23:07 UTC
+++ lib/Basics/socket-utils.h
@@ -31,6 +31,12 @@
#include <WS2tcpip.h>
#endif
+#ifdef __FreeBSD__
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#endif
+
////////////////////////////////////////////////////////////////////////////////
/// @brief socket types
////////////////////////////////////////////////////////////////////////////////

View file

@ -1,11 +0,0 @@
--- lib/Logger/LogAppenderSyslog.cpp.orig 2018-04-12 15:37:36 UTC
+++ lib/Logger/LogAppenderSyslog.cpp
@@ -62,7 +62,7 @@ LogAppenderSyslog::LogAppenderSyslog(std
if ('0' <= facility[0] && facility[0] <= '9') {
value = StringUtils::int32(facility);
} else {
- CODE* ptr = reinterpret_cast<CODE*>(facilitynames);
+ const CODE* ptr = reinterpret_cast<const CODE*>(facilitynames);
while (ptr->c_name != 0) {
if (strcmp(ptr->c_name, facility.c_str()) == 0) {

View file

@ -1,5 +0,0 @@
ArangoDB is a native multi-model database with flexible data models for
documents, graphs, and key-values. Build high performance applications
using a convenient SQL-like query language or JavaScript extensions
WWW: https://www.arangodb.com

File diff suppressed because it is too large Load diff

View file

@ -1,49 +0,0 @@
# $FreeBSD$
PORTNAME= arangodb
DISTVERSIONPREFIX= v
DISTVERSION= 3.3.7
PORTREVISION= 1
CATEGORIES= databases net
PKGNAMESUFFIX= 33
MAINTAINER= dev@dudu.ro
COMMENT= Distributed NoSQL database with multiple data models
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON= "Only builds on amd64: https://github.com/arangodb/arangodb/issues/2334"
CONFLICTS_INSTALL= arangodb32
CONFLICTS_BUILD= v8
USES= cmake:noninja compiler gmake python:2.7 ssl # ninja: error: loading 'build.ninja': No such file or directory
USE_GITHUB= yes
CMAKE_OFF= USE_JEMALLOC
CMAKE_ON= USE_BACKTRACE
CMAKE_ARGS= -DBASE_LD_FLAGS:STRING="-L${BUILD_WRKSRC}/3rdParty/V8/v5.7.492.77/x64.release/obj.target/src -L${BUILD_WRKSRC}/3rdParty/V8/v5.7.492.77/x64.release/obj.target/third_party/icu -L${LOCALBASE}/lib -L/usr/lib"
USERS= arangodb
GROUPS= arangodb
USE_RC_SUBR= arangod
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200057
SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS=""
.else
SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment "
.endif
post-install:
@${REINPLACE_CMD} -e 's|/usr/local/var/lib/arangodb3|/var/db/arangodb|g' ${STAGEDIR}${PREFIX}/etc/arangodb/*.conf
@${REINPLACE_CMD} -e 's|/usr/local/var/log/arangodb3|/var/log/arangodb|g' ${STAGEDIR}${PREFIX}/etc/arangodb/arangod.conf
@${FIND} ${STAGEDIR}${PREFIX}/etc/arangodb/ -type f -name *.conf -exec ${MV} {} {}.sample \;
@cd ${STAGEDIR}${PREFIX} && ${RMDIR} var/lib/arangodb var/lib/arangodb-apps var/lib var/log/arangodb var/log var
.include <bsd.port.mk>

View file

@ -1,3 +0,0 @@
TIMESTAMP = 1523536668
SHA256 (arangodb-arangodb-v3.3.7_GH0.tar.gz) = e28128d127a8a00cc3e7ffbd9c991f6534f8924ac28d073e8204b60beff65184
SIZE (arangodb-arangodb-v3.3.7_GH0.tar.gz) = 148263131

View file

@ -1,86 +0,0 @@
#!/bin/sh
# PROVIDE: arangod
# REQUIRE: NETWORK ldconfig
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
# to enable this service:
#
# arangod_enable (bool): Set to "NO" by default.
# Set it to "YES" to enable arangod.
%%LEGACY_LIMITS%%# arangod_limits (bool): Set to "NO" by default.
%%LEGACY_LIMITS%%# Set it to yes to run `limits -e -U arangodb`
%%LEGACY_LIMITS%%# just before arangod starts.
# arangod_dbpath (str): Default to "/var/db/arangodb"
# Base database directory.
# arangod_logpath (str): Default to "/var/log/arangodb"
# Base logging directory
# arangod_apppath (str): Default to "/var/db/arangodb-apps"
# Base apps directory
# arangod_flags (str): Custom additional arguments to be passed to arangod.
# Default to "".
# arangod_config (str): Default to "%%PREFIX%%/etc/arangodb/arangod.conf"
# Path to config file
#
. /etc/rc.subr
name="arangod"
rcvar=arangod_enable
load_rc_config $name
: ${arangod_enable="NO"}
%%LEGACY_LIMITS%%: ${arangod_limits="NO"}
: ${arangod_dbpath="/var/db/arangodb"}
: ${arangod_logpath="/var/log/arangodb"}
: ${arangod_apppath="/var/db/arangodb-apps"}
: ${arangod_flags=""}
: ${arangod_user="arangodb"}
: ${arangod_group="arangodb"}
: ${arangod_config="%%PREFIX%%/etc/arangodb/arangod.conf"}
pidfile="${arangod_dbpath}/arangod.lock"
command=%%PREFIX%%/sbin/${name}
command_args="--configuration $arangod_config --database.directory $arangod_dbpath --log.output ${arangod_logpath}/arangod.log --javascript.app-path ${arangod_apppath} --daemon --pid-file ${pidfile} >/dev/null 2>/dev/null"
start_precmd="${name}_prestart"
arangod_create_dbpath()
{
mkdir ${arangod_dbpath} >/dev/null 2>/dev/null
[ $? -eq 0 ] && chown -R ${arangod_user}:${arangod_group} ${arangod_dbpath}
}
arangod_create_logpath()
{
mkdir ${arangod_logpath} >/dev/null 2>/dev/null
[ $? -eq 0 ] && chown -R ${arangod_user}:${arangod_group} ${arangod_logpath}
}
arangod_create_apppath()
{
mkdir ${arangod_apppath} >/dev/null 2>/dev/null
[ $? -eq 0 ] && chown -R ${arangod_user}:${arangod_group} ${arangod_apppath}
}
arangod_prestart()
{
if [ ! -d ${arangod_dbpath} ]; then
arangod_create_dbpath || return 1
fi
if [ ! -d ${arangod_logpath} ]; then
arangod_create_logpath || return 1
fi
if [ ! -d ${arangod_apppath} ]; then
arangod_create_apppath || return 1
fi
%%LEGACY_LIMITS%% if checkyesno arangod_limits; then
%%LEGACY_LIMITS%% eval `/usr/bin/limits -e -U ${arangod_user}` 2>/dev/null
%%LEGACY_LIMITS%% else
%%LEGACY_LIMITS%% return 0
%%LEGACY_LIMITS%% fi
%%MODERN_LIMITS%% return 0
}
run_rc_command "$1"

View file

@ -1,28 +0,0 @@
In file included from rocksdb/utilities/backupable/backupable_db.cc:16:
rocksdb/util/channel.h:35:33: error: no matching constructor for initialization of 'std::lock_guard<std::mutex>'
std::lock_guard<std::mutex> lk(lock_);
^ ~~~~~
/usr/include/c++/v1/__mutex_base:90:14: note: candidate constructor not viable: 1st argument ('const std::mutex') would lose const qualifier
explicit lock_guard(mutex_type& __m) _LIBCPP_THREAD_SAFETY_ANNOTATION(acquire_capability(__m))
^
/usr/include/c++/v1/__mutex_base:100:5: note: candidate constructor not viable: no known conversion from 'const std::mutex' to 'const std::__1::lock_guard<std::__1::mutex>' for 1st argument
lock_guard(lock_guard const&) _LIBCPP_EQUAL_DELETE;
^
/usr/include/c++/v1/__mutex_base:94:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
lock_guard(mutex_type& __m, adopt_lock_t) _LIBCPP_THREAD_SAFETY_ANNOTATION(requires_capability(__m))
^
1 error generated.
https://github.com/facebook/rocksdb/commit/a796c06fef6a8e43d793f8e627db3f29e6f95964
--- 3rdParty/rocksdb/v5.6.X/util/channel.h.orig 2018-04-13 11:22:33 UTC
+++ 3rdParty/rocksdb/v5.6.X/util/channel.h
@@ -62,7 +62,7 @@ class channel {
private:
std::condition_variable cv_;
- std::mutex lock_;
+ mutable std::mutex lock_;
std::queue<T> buffer_;
bool eof_;
};

View file

@ -1,43 +0,0 @@
--- CMakeLists.txt.orig 2018-04-11 15:16:11 UTC
+++ CMakeLists.txt
@@ -38,9 +38,9 @@ if (NOT CMAKE_OSX_DEPLOYMENT_TARGET)
endif ()
if (WIN32)
- project(arangodb3 CXX C)
+ project(arangodb CXX C)
else ()
- project(arangodb3 CXX C ASM)
+ project(arangodb CXX C ASM)
endif ()
# required for clang completion in editors
@@ -377,7 +377,7 @@ if (CMAKE_COMPILER_IS_GNUCC OR APPLE)
endif ()
if (CMAKE_COMPILER_IS_CLANG)
- if (APPLE)
+ if (APPLE OR FREEBSD)
set(BASE_CXX_FLAGS "${BASE_CXX_FLAGS} -stdlib=libc++")
add_definitions("-Wno-deprecated-declarations")
else ()
@@ -483,7 +483,7 @@ else ()
include(VcMacros)
- option(USE_OPTIMIZE_FOR_ARCHITECTURE "try to determine CPU architecture" ON)
+ option(USE_OPTIMIZE_FOR_ARCHITECTURE "try to determine CPU architecture" OFF)
if (USE_OPTIMIZE_FOR_ARCHITECTURE)
# mop: core2 (merom) is our absolute minimum!
@@ -594,9 +594,7 @@ endif ()
################################################################################
if (NOT WINDOWS)
- set(SYS_LIBS ${SYS_LIBS} resolv)
-
- if (NOT DARWIN)
+ if (NOT DARWIN OR FREEBSD)
set(SYS_LIBS ${SYS_LIBS} rt)
endif ()
endif ()

View file

@ -1,11 +0,0 @@
--- arangod/Agency/Store.cpp.orig 2018-01-05 13:56:52 UTC
+++ arangod/Agency/Store.cpp
@@ -603,7 +603,7 @@ void Store::dumpToBuilder(Builder& build
auto ts = std::chrono::duration_cast<std::chrono::seconds>(
i.first.time_since_epoch())
.count();
- builder.add(i.second, VPackValue(ts));
+ builder.add(i.second, VPackValue((int64_t)ts));
}
}
{

View file

@ -1,11 +0,0 @@
--- arangod/RestHandler/RestAuthHandler.cpp.orig 2018-04-06 22:44:29 UTC
+++ arangod/RestHandler/RestAuthHandler.cpp
@@ -54,7 +54,7 @@ std::string RestAuthHandler::generateJwt
VPackObjectBuilder p(&bodyBuilder);
bodyBuilder.add("preferred_username", VPackValue(username));
bodyBuilder.add("iss", VPackValue("arangodb"));
- bodyBuilder.add("exp", VPackValue(exp.count()));
+ bodyBuilder.add("exp", VPackValue((int64_t)exp.count()));
}
AuthenticationFeature* af = AuthenticationFeature::instance();
TRI_ASSERT(af != nullptr);

View file

@ -1,25 +0,0 @@
--- arangod/RocksDBEngine/RocksDBThrottle.cpp.orig 2018-01-05 13:56:52 UTC
+++ arangod/RocksDBEngine/RocksDBThrottle.cpp
@@ -515,8 +515,8 @@ void RocksDBThrottle::AdjustThreadPriori
pid_t tid;
int ret_val;
- tid = syscall(SYS_gettid);
- if (-1!=(int)tid)
+ ret_val = syscall(SYS_thr_self, &tid);
+ if (-1!=ret_val)
{
errno=0;
ret_val=getpriority(PRIO_PROCESS, tid);
@@ -534,8 +534,9 @@ void RocksDBThrottle::AdjustThreadPriori
&& (gThreadPriority._basePriority+Adjustment)!=gThreadPriority._currentPriority) {
pid_t tid;
- tid = syscall(SYS_gettid);
- if (-1!=(int)tid)
+ int ret_val;
+ ret_val = syscall(SYS_thr_self, &tid);
+ if (-1!=(int)ret_val)
{
gThreadPriority._currentPriority = gThreadPriority._basePriority + Adjustment;
setpriority(PRIO_PROCESS, tid, gThreadPriority._currentPriority);

View file

@ -1,11 +0,0 @@
--- cmake/ArangoDBInstall.cmake.orig 2017-11-16 20:17:40 UTC
+++ cmake/ArangoDBInstall.cmake
@@ -100,7 +100,7 @@ endif ()
install(
DIRECTORY
- ${PROJECT_BINARY_DIR}/var/log/arangodb3
+ ${PROJECT_BINARY_DIR}/var/log/arangodb
DESTINATION
${CMAKE_INSTALL_LOCALSTATEDIR}/log
)

View file

@ -1,14 +0,0 @@
--- lib/Basics/ArangoGlobalContext.cpp.orig 2018-04-12 13:04:01 UTC
+++ lib/Basics/ArangoGlobalContext.cpp
@@ -145,10 +145,9 @@ ArangoGlobalContext::ArangoGlobalContext
#ifndef __GLIBC__
// Increase default stack size for libmusl:
pthread_attr_t a;
- memset(&a, 0, sizeof(pthread_attr_t));
+ pthread_attr_init(&a);
pthread_attr_setstacksize(&a, 8*1024*1024); // 8MB as in glibc
pthread_attr_setguardsize(&a, 4096); // one page
- pthread_setattr_default_np(&a);
#endif
#endif
#endif

View file

@ -1,36 +0,0 @@
--- lib/Basics/process-utils.cpp.orig 2018-01-05 13:56:52 UTC
+++ lib/Basics/process-utils.cpp
@@ -23,7 +23,7 @@
#include "process-utils.h"
-#if defined(TRI_HAVE_MACOS_MEM_STATS)
+#if defined(TRI_HAVE_MACOS_MEM_STATS) || defined(__FreeBSD__)
#include <sys/types.h>
#include <sys/sysctl.h>
#endif
@@ -557,6 +557,7 @@ ProcessInfo TRI_ProcessInfoSelf() {
}
#else
+#ifdef _WIN32
/// --------------------------------------------
/// transform a file time to timestamp
/// Particularities:
@@ -648,6 +649,7 @@ ProcessInfo TRI_ProcessInfoSelf() {
return result;
}
#endif
+#endif
////////////////////////////////////////////////////////////////////////////////
/// @brief returns information about the process
@@ -1435,7 +1437,7 @@ bool TRI_ContinueExternalProcess(Externa
/// @brief gets the physical memory
////////////////////////////////////////////////////////////////////////////////
-#if defined(TRI_HAVE_MACOS_MEM_STATS)
+#if defined(TRI_HAVE_MACOS_MEM_STATS) || defined(__FreeBSD__)
static uint64_t GetPhysicalMemory() {
int mib[2];

View file

@ -1,15 +0,0 @@
--- lib/Basics/socket-utils.h.orig 2017-11-15 11:23:07 UTC
+++ lib/Basics/socket-utils.h
@@ -31,6 +31,12 @@
#include <WS2tcpip.h>
#endif
+#ifdef __FreeBSD__
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#endif
+
////////////////////////////////////////////////////////////////////////////////
/// @brief socket types
////////////////////////////////////////////////////////////////////////////////

View file

@ -1,11 +0,0 @@
--- lib/Logger/LogAppenderSyslog.cpp.orig 2018-04-12 15:37:36 UTC
+++ lib/Logger/LogAppenderSyslog.cpp
@@ -62,7 +62,7 @@ LogAppenderSyslog::LogAppenderSyslog(std
if ('0' <= facility[0] && facility[0] <= '9') {
value = StringUtils::int32(facility);
} else {
- CODE* ptr = reinterpret_cast<CODE*>(facilitynames);
+ const CODE* ptr = reinterpret_cast<const CODE*>(facilitynames);
while (ptr->c_name != 0) {
if (strcmp(ptr->c_name, facility.c_str()) == 0) {

View file

@ -1,5 +0,0 @@
ArangoDB is a native multi-model database with flexible data models for
documents, graphs, and key-values. Build high performance applications
using a convenient SQL-like query language or JavaScript extensions
WWW: https://www.arangodb.com

View file

@ -1,27 +0,0 @@
[
{ type: install
message: <<EOM
You installed ArangoDB: a distributed NoSQL database.
To enable the service at startup, you should execute the command:
sysrc arangod_enable="YES"
To start it as a service, you should execute the command:
# service arangod start
ArangoDB starts with the empty root password.
To change the root password, run 'arangosh' as root, and execute:
require("@arangodb/users").update("root", "new-secretpassword", true);
ArangoDB has a web interface available at:
http://localhost:8529
The web interface allows you to add users, create databases, manipulate
data.
ArangoDB uses the AQL language to query and modify data, as opposed to
the SQL language used by relational databases.
EOM
}
]

File diff suppressed because it is too large Load diff

View file

@ -270,7 +270,6 @@
SUBDIR += busybee
SUBDIR += byacc
SUBDIR += byaccj
SUBDIR += bzr
SUBDIR += c2mdoc
SUBDIR += caf
SUBDIR += calibrator
@ -310,7 +309,6 @@
SUBDIR += checkbashisms
SUBDIR += checkheaders
SUBDIR += chroma
SUBDIR += chromium-gn
SUBDIR += chrpath
SUBDIR += chruby
SUBDIR += cil
@ -1509,7 +1507,6 @@
SUBDIR += mm-common
SUBDIR += modd
SUBDIR += mongo-c-driver
SUBDIR += mongo-cxx-driver
SUBDIR += mono-addins
SUBDIR += monodevelop
SUBDIR += monotone

View file

@ -1,40 +0,0 @@
# Created by: Ulf Lilleengen
# $FreeBSD$
PORTNAME= bzr
PORTVERSION= 2.7.0.6622
CATEGORIES= devel
MASTER_SITES= https://distfiles.over-yonder.net/bzr/
MAINTAINER= fullermd@over-yonder.net
COMMENT= Distributed version control system by Canonical
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING.txt
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}testtools>=0:devel/py-testtools@${PY_FLAVOR}
OPTIONS_DEFINE= SFTP CA_BUNDLE
SFTP_DESC= Paramiko for SFTP support
CA_BUNDLE_DESC= Include CA bundle for SSL cert validation
OPTIONS_DEFAULT= SFTP CA_BUNDLE
SFTP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}paramiko>=0:security/py-paramiko@${PY_FLAVOR}
CA_BUNDLE_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
USES= gettext python:2.7 shebangfix tar:xz
SHEBANG_FILES= bzr
USE_PYTHON= distutils cython autoplist
PYDISTUTILS_PKGNAME= bzr
MAKE_ENV= BZR_LOG=/dev/null
WRKSRC= ${WRKDIR}/bzr-2.7.1dev
post-install:
${INSTALL_MAN} ${WRKSRC}/bzr.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/bzrlib/*.so
do-test:
cd ${WRKSRC} && ./bzr selftest
.include <bsd.port.mk>

View file

@ -1,3 +0,0 @@
TIMESTAMP = 1567646065
SHA256 (bzr-2.7.0.6622.tar.xz) = 9aafabb8984c4c962526e150a2dfbf2908462df6c64ae7f0c2d26e58e3c59637
SIZE (bzr-2.7.0.6622.tar.xz) = 5840088

View file

@ -1,167 +0,0 @@
Source: https://launchpadlibrarian.net/370632961/24_ssh_hostnames-lp1710979
Description: Refuse to connect to ssh hostnames starting with a dash. Fixes LP:1710979
Author: Jelmer Vernooij <jelmer@jelmer.uk>
Origin: commit, Revision ID: jelmer@jelmer.uk-20170819145828-qk2p7qlg5j2fbsiz
* Security fix: hostnames starting with a dash in bzr+ssh URLs
are now filtered out when using a subprocess SSH client.
.
Thanks to Augie Fackler for reporting.
(Jelmer Vernooij, #1710979)
=== modified file 'bzrlib/tests/test_ssh_transport.py'
---
bzrlib/tests/test_ssh_transport.py | 38 ++++++++++++++++++++++++++++++++++++-
bzrlib/transport/ssh.py | 16 +++++++++++++--
2 files changed, 51 insertions(+), 3 deletions(-)
Index: bzrlib/tests/test_ssh_transport.py
===================================================================
--- bzrlib/tests/test_ssh_transport.py
+++ bzrlib/tests/test_ssh_transport.py
@@ -22,6 +22,7 @@ from bzrlib.transport.ssh import (
SSHCorpSubprocessVendor,
LSHSubprocessVendor,
SSHVendorManager,
+ StrangeHostname,
)
@@ -161,6 +162,19 @@ class SSHVendorManagerTests(TestCase):
class SubprocessVendorsTests(TestCase):
+ def test_openssh_command_tricked(self):
+ vendor = OpenSSHSubprocessVendor()
+ self.assertEqual(
+ vendor._get_vendor_specific_argv(
+ "user", "-oProxyCommand=blah", 100, command=["bzr"]),
+ ["ssh", "-oForwardX11=no", "-oForwardAgent=no",
+ "-oClearAllForwardings=yes",
+ "-oNoHostAuthenticationForLocalhost=yes",
+ "-p", "100",
+ "-l", "user",
+ "--",
+ "-oProxyCommand=blah", "bzr"])
+
def test_openssh_command_arguments(self):
vendor = OpenSSHSubprocessVendor()
self.assertEqual(
@@ -171,6 +185,7 @@ class SubprocessVendorsTests(TestCase):
"-oNoHostAuthenticationForLocalhost=yes",
"-p", "100",
"-l", "user",
+ "--",
"host", "bzr"]
)
@@ -184,9 +199,16 @@ class SubprocessVendorsTests(TestCase):
"-oNoHostAuthenticationForLocalhost=yes",
"-p", "100",
"-l", "user",
- "-s", "host", "sftp"]
+ "-s", "--", "host", "sftp"]
)
+ def test_openssh_command_tricked(self):
+ vendor = SSHCorpSubprocessVendor()
+ self.assertRaises(
+ StrangeHostname,
+ vendor._get_vendor_specific_argv,
+ "user", "-oProxyCommand=host", 100, command=["bzr"])
+
def test_sshcorp_command_arguments(self):
vendor = SSHCorpSubprocessVendor()
self.assertEqual(
@@ -209,6 +231,13 @@ class SubprocessVendorsTests(TestCase):
"-s", "sftp", "host"]
)
+ def test_lsh_command_tricked(self):
+ vendor = LSHSubprocessVendor()
+ self.assertRaises(
+ StrangeHostname,
+ vendor._get_vendor_specific_argv,
+ "user", "-oProxyCommand=host", 100, command=["bzr"])
+
def test_lsh_command_arguments(self):
vendor = LSHSubprocessVendor()
self.assertEqual(
@@ -231,6 +260,13 @@ class SubprocessVendorsTests(TestCase):
"--subsystem", "sftp", "host"]
)
+ def test_plink_command_tricked(self):
+ vendor = PLinkSubprocessVendor()
+ self.assertRaises(
+ StrangeHostname,
+ vendor._get_vendor_specific_argv,
+ "user", "-oProxyCommand=host", 100, command=["bzr"])
+
def test_plink_command_arguments(self):
vendor = PLinkSubprocessVendor()
self.assertEqual(
Index: bzrlib/transport/ssh.py
===================================================================
--- bzrlib/transport/ssh.py
+++ bzrlib/transport/ssh.py
@@ -46,6 +46,10 @@ else:
from paramiko.sftp_client import SFTPClient
+class StrangeHostname(errors.BzrError):
+ _fmt = "Refusing to connect to strange SSH hostname %(hostname)s"
+
+
SYSTEM_HOSTKEYS = {}
BZR_HOSTKEYS = {}
@@ -360,6 +364,11 @@ class SubprocessVendor(SSHVendor):
# tests, but beware of using PIPE which may hang due to not being read.
_stderr_target = None
+ @staticmethod
+ def _check_hostname(arg):
+ if arg.startswith('-'):
+ raise StrangeHostname(hostname=arg)
+
def _connect(self, argv):
# Attempt to make a socketpair to use as stdin/stdout for the SSH
# subprocess. We prefer sockets to pipes because they support
@@ -424,9 +433,9 @@ class OpenSSHSubprocessVendor(Subprocess
if username is not None:
args.extend(['-l', username])
if subsystem is not None:
- args.extend(['-s', host, subsystem])
+ args.extend(['-s', '--', host, subsystem])
else:
- args.extend([host] + command)
+ args.extend(['--', host] + command)
return args
register_ssh_vendor('openssh', OpenSSHSubprocessVendor())
@@ -439,6 +448,7 @@ class SSHCorpSubprocessVendor(Subprocess
def _get_vendor_specific_argv(self, username, host, port, subsystem=None,
command=None):
+ self._check_hostname(host)
args = [self.executable_path, '-x']
if port is not None:
args.extend(['-p', str(port)])
@@ -460,6 +470,7 @@ class LSHSubprocessVendor(SubprocessVend
def _get_vendor_specific_argv(self, username, host, port, subsystem=None,
command=None):
+ self._check_hostname(host)
args = [self.executable_path]
if port is not None:
args.extend(['-p', str(port)])
@@ -481,6 +492,7 @@ class PLinkSubprocessVendor(SubprocessVe
def _get_vendor_specific_argv(self, username, host, port, subsystem=None,
command=None):
+ self._check_hostname(host)
args = [self.executable_path, '-x', '-a', '-ssh', '-2', '-batch']
if port is not None:
args.extend(['-P', str(port)])

View file

@ -1,7 +0,0 @@
Bazaar (bzr) is a decentralized revision control system, designed to be
easy for developers and end users alike. Bazaar is part of the GNU
project to develop a complete free operating systemand a project of
Canonical. Bazaar directly supports both central version control (like
cvs/svn) and distributed version control (like git/hg).
WWW: http://bazaar.canonical.com/

View file

@ -1,30 +0,0 @@
# $FreeBSD$
CATEGORIES= devel www
PKGNAMESUFFIX= -gn
MAINTAINER= pizzamig@FreeBSD.org
COMMENT= Gn meta build framework
DEPRECATED= Uses deprecated version of python, use devel/gn instead
EXPIRATION_DATE= 2020-12-31
MASTERDIR= ${.CURDIR}/../../www/chromium
BROKEN_FreeBSD_11_powerpc64= fails to compile: safe_math_clang_gcc_impl.h:132:45: '__builtin_subcb' was not declared in this scope
BROKEN_FreeBSD_12_powerpc64= fails to compile: safe_math_clang_gcc_impl.h:132:45: '__builtin_subcb' was not declared in this scope
BUILDTYPE= Release
NO_BUILD= yes
PLIST= ${.CURDIR}/pkg-plist
PKGMESSAGE= ${.CURDIR}/pkg-message
DESCR= ${.CURDIR}/pkg-descr
PLIST_FILES= bin/gn
GN_ONLY= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/gn ${STAGEDIR}${PREFIX}/bin
.include "${MASTERDIR}/Makefile"

View file

@ -1,4 +0,0 @@
GN is a meta-build system that generates NinjaBuild files so that you can build
Chromium with Ninja.
WWW: https://chromium.googlesource.com/chromium/src/tools/gn/

View file

@ -1,47 +0,0 @@
# Created by: Simun Mikecin <numisemis@yahoo.com>
# $FreeBSD$
PORTNAME= mongo-cxx-driver
PORTVERSION= 1.1.2
DISTVERSIONPREFIX=legacy-
PORTREVISION= 14
CATEGORIES= devel
MAINTAINER= numisemis@yahoo.com
COMMENT= MongoDB Legacy C++ Driver
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/APACHE-2.0.txt
BROKEN_SSL= openssl
BROKEN_SSL_REASON_openssl= use of undeclared identifier 'BIO_s_file_internal'
LIB_DEPENDS= libboost_system.so:devel/boost-libs
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= SCRAM-SHA-1
OPTIONS_DEFAULT= SCRAM-SHA-1
SCRAM-SHA-1_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2
SCRAM-SHA-1_MAKE_ARGS= --use-sasl-client --ssl
SCRAM-SHA-1_DESC= SCRAM-SHA-1 authentication mechanism support.
USE_GITHUB= yes
GH_ACCOUNT= mongodb
GH_PROJECT= mongo-cxx-driver
USES= compiler:c++11-lang scons:python2 ssl
MAKE_ARGS= --prefix=${STAGEDIR}${PREFIX} \
--cc=${CC} \
--cxx=${CXX}
USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
.if ${SSL_DEFAULT} == base
BROKEN_FreeBSD_12= use of undeclared identifier 'BIO_s_file_internal'
BROKEN_FreeBSD_13= use of undeclared identifier 'BIO_s_file_internal'
.endif
.include <bsd.port.post.mk>

View file

@ -1,3 +0,0 @@
TIMESTAMP = 1466666234
SHA256 (mongodb-mongo-cxx-driver-legacy-1.1.2_GH0.tar.gz) = 8c52cae798086c3e9d0e6fe488c3378601db858cc71944b6b83440d8b00298f4
SIZE (mongodb-mongo-cxx-driver-legacy-1.1.2_GH0.tar.gz) = 1577527

View file

@ -1,33 +0,0 @@
--- SConstruct.orig 2015-08-18 15:46:59 UTC
+++ SConstruct
@@ -354,6 +354,30 @@ env_vars.Add('SHLINKFLAGS',
help='Sets flags for the linker when building shared libraries',
converter=variable_shlex_converter)
+env_vars.Add('CXX',
+ help='Sets path to the C++ compiler',
+ converter=variable_shlex_converter)
+
+env_vars.Add('CC',
+ help='Sets path to the C compiler',
+ converter=variable_shlex_converter)
+
+env_vars.Add('PREFIX',
+ help='Sets PREFIX path',
+ converter=variable_shlex_converter)
+
+env_vars.Add('PKGCONFIGDIR',
+ help='Sets PKGCONFIGDIR path',
+ converter=variable_shlex_converter)
+
+env_vars.Add('destdir',
+ help='Sets destdir path',
+ converter=variable_shlex_converter)
+
+env_vars.Add('DESTDIR',
+ help='Sets DESTDIR path',
+ converter=variable_shlex_converter)
+
# don't run configure if user calls --help
if GetOption('help'):
Return()

View file

@ -1,26 +0,0 @@
src/mongo/client/command_writer.cpp:68:78: error: no member named 'next' in namespace 'boost'
const std::vector<WriteOperation*>::const_iterator next = boost::next(batch_iter);
~~~~~~~^
src/mongo/util/net/message_port.h:34:38: error: expected class name
class AbstractMessagingPort : boost::noncopyable {
^
--- src/mongo/util/net/message_port.h.orig 2016-06-21 19:15:24 UTC
+++ src/mongo/util/net/message_port.h
@@ -20,8 +20,15 @@
#include "mongo/config.h"
#include <boost/shared_ptr.hpp>
-#include <boost/utility.hpp>
#include <vector>
+
+#include <boost/version.hpp>
+#if BOOST_VERSION < 106700
+#include <boost/utility.hpp>
+#else
+#include <boost/next_prior.hpp>
+#include <boost/noncopyable.hpp>
+#endif
#include "mongo/util/net/message.h"
#include "mongo/util/net/sock.h"

View file

@ -1,7 +0,0 @@
Official Mongo C++ Driver
Mongo (from "humongous") is a high-performance, open source,
schema-free, document-oriented database. A common name in the
"NOSQL" community.
WWW: https://github.com/mongodb/mongo-cxx-driver

View file

@ -1,112 +0,0 @@
include/mongo/base/data_cursor.h
include/mongo/base/data_view.h
include/mongo/base/disallow_copying.h
include/mongo/base/encoded_value_storage.h
include/mongo/base/error_codes.h
include/mongo/base/parse_number.h
include/mongo/base/status-inl.h
include/mongo/base/status.h
include/mongo/base/status_with.h
include/mongo/base/string_data-inl.h
include/mongo/base/string_data.h
include/mongo/bson/bson-inl.h
include/mongo/bson/bson.h
include/mongo/bson/bson_db.h
include/mongo/bson/bson_field.h
include/mongo/bson/bson_validate.h
include/mongo/bson/bsonelement.h
include/mongo/bson/bsonmisc.h
include/mongo/bson/bsonobj.h
include/mongo/bson/bsonobjbuilder.h
include/mongo/bson/bsonobjiterator.h
include/mongo/bson/bsontypes.h
include/mongo/bson/inline_decls.h
include/mongo/bson/oid.h
include/mongo/bson/ordering.h
include/mongo/bson/timestamp.h
include/mongo/bson/util/builder.h
include/mongo/client/autolib.h
include/mongo/client/bulk_operation_builder.h
include/mongo/client/bulk_update_builder.h
include/mongo/client/bulk_upsert_builder.h
include/mongo/client/dbclient.h
include/mongo/client/dbclient_rs.h
include/mongo/client/dbclientcursor.h
include/mongo/client/dbclientinterface.h
include/mongo/client/exceptions.h
include/mongo/client/export_macros.h
include/mongo/client/gridfs.h
include/mongo/client/index_spec.h
include/mongo/client/init.h
include/mongo/client/options.h
include/mongo/client/redef_macros.h
include/mongo/client/sasl_client_authenticate.h
include/mongo/client/undef_macros.h
include/mongo/client/write_concern.h
include/mongo/client/write_options.h
include/mongo/client/write_result.h
include/mongo/config.h
include/mongo/db/jsobj.h
include/mongo/db/json.h
include/mongo/geo/boundingbox.h
include/mongo/geo/constants.h
include/mongo/geo/coordinates.h
include/mongo/geo/coordinates2d.h
include/mongo/geo/coordinates2dgeographic.h
include/mongo/geo/geometry.h
include/mongo/geo/geometrycollection.h
include/mongo/geo/geoobj.h
include/mongo/geo/interface.h
include/mongo/geo/linestring.h
include/mongo/geo/multilinestring.h
include/mongo/geo/multipoint.h
include/mongo/geo/multipolygon.h
include/mongo/geo/namespaces.h
include/mongo/geo/parser-impl.h
include/mongo/geo/parser.h
include/mongo/geo/point.h
include/mongo/geo/polygon.h
include/mongo/geo/queryutils.h
include/mongo/logger/appender.h
include/mongo/logger/component_message_log_domain.h
include/mongo/logger/labeled_level.h
include/mongo/logger/log_component.h
include/mongo/logger/log_component_settings.h
include/mongo/logger/log_domain.h
include/mongo/logger/log_manager.h
include/mongo/logger/log_severity-inl.h
include/mongo/logger/log_severity.h
include/mongo/logger/logger.h
include/mongo/logger/logstream_builder.h
include/mongo/logger/message_event.h
include/mongo/logger/message_log_domain.h
include/mongo/platform/atomic_intrinsics.h
include/mongo/platform/atomic_intrinsics_gcc_atomic.h
include/mongo/platform/atomic_intrinsics_gcc_intel.h
include/mongo/platform/atomic_intrinsics_gcc_sync.h
include/mongo/platform/atomic_intrinsics_win32.h
include/mongo/platform/atomic_word.h
include/mongo/platform/atomic_word_cxx11.h
include/mongo/platform/atomic_word_intrinsics.h
include/mongo/platform/compiler.h
include/mongo/platform/compiler_gcc.h
include/mongo/platform/compiler_msvc.h
include/mongo/platform/cstdint.h
include/mongo/platform/endian.h
include/mongo/platform/float_utils.h
include/mongo/platform/hash_namespace.h
include/mongo/platform/strnlen.h
include/mongo/platform/unordered_map.h
include/mongo/platform/windows_basic.h
include/mongo/stdx/functional.h
include/mongo/util/assert_util.h
include/mongo/util/mongoutils/str.h
include/mongo/util/net/hostandport.h
include/mongo/util/net/message.h
include/mongo/util/net/message_port.h
include/mongo/util/net/operation.h
include/mongo/util/net/sock.h
include/mongo/util/shared_buffer.h
include/mongo/util/time_support.h
include/mongo/version.h
lib/libmongoclient.a