drumgizmo-0.9.20/0000755000076400007640000000000014306421550010630 500000000000000drumgizmo-0.9.20/AUTHORS0000644000076400007640000000103013756436707011634 00000000000000Founder and lead developer: Bent Bisballe Nyeng [deva] (deva@aasimon.org) Developer: Jonas Suhr Christensen [suhr] (jsc@umbraculum.org) Developer: André Nusser [chaot4] Developer: Christian Glöckner [cglocke] Developer, Graphics, GUI design and logo: Lars Muldjord [muldjord] (muldjordlars@gmail.com) Developer: Goran Mekić [meka] (meka@tilda.center) Developer: The Marlboro Man [TheMarlboroMan] Patches: John Hammen (sample multichannel support) French translation Olivier Humbert [trebmuh] (trebmuh@tuxfamily.org) drumgizmo-0.9.20/src/0000755000076400007640000000000014306421546011424 500000000000000drumgizmo-0.9.20/src/audiooutputengine.h0000644000076400007640000000421414070276572015273 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * audiooutputengine.h * * Thu Sep 16 10:27:01 CEST 2010 * Copyright 2010 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include "channel.h" class AudioOutputEngine { public: virtual ~AudioOutputEngine() = default; virtual bool init(const Channels& channels) = 0; virtual void setParm(const std::string& parm, const std::string& value) = 0; virtual bool start() = 0; virtual void stop() = 0; virtual void pre(std::size_t nsamples) = 0; virtual void run(int ch, sample_t *samples, std::size_t nsamples) = 0; virtual void post(std::size_t nsamples) = 0; //! Overload this method to use internal buffer directly. virtual sample_t *getBuffer(int ch) const { return NULL; } //! Overload this method to force engine to use different buffer size. virtual std::size_t getBufferSize() const { return 1024; } virtual std::size_t getSamplerate() const = 0; virtual bool isFreewheeling() const = 0; //! Overload this method to get notification of latency changes. //! \param latency The new latency in samples. virtual void onLatencyChange(std::size_t latency) {} }; drumgizmo-0.9.20/src/latencyfilter.h0000644000076400007640000000300113557561150014357 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * latencyfilter.h * * Fri Jun 10 22:42:52 CEST 2016 * Copyright 2016 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include "inputfilter.h" struct Settings; class Random; class LatencyFilter : public InputFilter { public: LatencyFilter(Settings& settings, Random& random); bool filter(event_t& events, std::size_t pos) override; std::size_t getLatency() const override; private: Settings& settings; Random& random; float latency_offset{0.0}; std::size_t latency_last_pos{0}; }; drumgizmo-0.9.20/src/dgxmlparser.h0000644000076400007640000000303113653301171014035 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * dgxmlparser.h * * Fri Jun 8 22:04:32 CEST 2018 * Copyright 2018 Jonas Suhr Christensen * jsc@umbraculum.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include "DGDOM.h" #include "logger.h" bool probeDrumkitFile(const std::string& filename, LogFunction logger = nullptr); bool probeInstrumentFile(const std::string& filename, LogFunction logger = nullptr); bool parseDrumkitFile(const std::string& filename, DrumkitDOM& dom, LogFunction logger = nullptr); bool parseInstrumentFile(const std::string& filename, InstrumentDOM& dom, LogFunction logger = nullptr); drumgizmo-0.9.20/src/inputfilter.h0000644000076400007640000000356313557561150014074 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * inputfilter.h * * Tue Jun 14 20:42:52 CEST 2016 * Copyright 2016 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include //! An abstract filter component for the InputProcessor class filter chain. class InputFilter { public: virtual ~InputFilter() = default; //! Implement to filter a single event. //! \param[in,out] event The event being processed. The filter method //! might alter any of the event parameters. //! \param pos The absolute position of the buffer in which the event in //! event was received. Add event.pos to it to get the absolute position of //! the event in the stream. //! \return true to keep the event, false to discard it. virtual bool filter(event_t& event, std::size_t pos) = 0; //! Returns the filter delay in samples. //! Overload if needed. virtual std::size_t getLatency() const { return 0; } }; drumgizmo-0.9.20/src/staminafilter.h0000644000076400007640000000305513557561150014365 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * staminafilter.h * * Sat Jun 11 08:49:36 CEST 2016 * Copyright 2016 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include "inputfilter.h" struct Settings; class StaminaFilter : public InputFilter { public: StaminaFilter(Settings& settings); bool filter(event_t& event, std::size_t pos) override; // Note getLatency not overloaded because this filter doesn't add latency. private: Settings& settings; std::map> modifiers; }; drumgizmo-0.9.20/src/drumkit.h0000644000076400007640000000373413756436707013220 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * drumkit.h * * Wed Mar 9 15:27:26 CET 2011 * Copyright 2011 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include "channel.h" #include "instrument.h" #include "versionstr.h" class DrumKit { public: DrumKit(); ~DrumKit(); std::string getFile() const; std::string getName() const; std::string getDescription() const; VersionStr getVersion() const; Instruments instruments; Channels channels; void clear(); bool isValid() const; float getSamplerate() const; //! Get the number of audio files (as in single channel) in this drumkit. std::size_t getNumberOfFiles() const; private: friend class DOMLoader; friend class DOMLoaderTest; friend class DrumKitParser; friend class DrumKitLoader; friend class DrumkitParserTest; void* magic{nullptr}; std::string _file; struct MetaData { std::string _name; std::string _description; float _samplerate{44100.0f}; VersionStr _version; } metadata; }; drumgizmo-0.9.20/src/drumgizmo.cc0000644000076400007640000002673714102460107013675 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * drumgizmo.cc * * Thu Sep 16 10:24:40 CEST 2010 * Copyright 2010 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "drumgizmo.h" #include #include #include #include #include #include #include #include #include #include "audioinputenginemidi.h" DrumGizmo::DrumGizmo(Settings& settings, AudioOutputEngine& o, AudioInputEngine& i) : loader(settings, kit, i, rand, audio_cache) , oe(o) , ie(i) , audio_cache(settings) , input_processor(settings, kit, events_ds, rand) , settings(settings) , settings_getter(settings) { audio_cache.init(10000); // start thread events.reserve(1000); loader.init(); setSamplerate(44100.0f, settings.resampling_quality.load()); settings_getter.audition_counter.hasChanged(); // Reset audition_counter config.load(); if(config.defaultMidimap != "" && settings.midimap_file.load() == "") { settings.midimap_file.store(config.defaultMidimap); } if(config.defaultKit != "" && settings.drumkit_file.load() == "") { settings.drumkit_file.store(config.defaultKit); } } DrumGizmo::~DrumGizmo() { loader.deinit(); audio_cache.deinit(); // stop thread } bool DrumGizmo::init() { if(!ie.init(kit.instruments)) { return false; } if(!oe.init(kit.channels)) { return false; } return true; } void DrumGizmo::setFrameSize(size_t framesize) { settings.buffer_size.store(framesize); if(this->framesize != framesize) { DEBUG(drumgizmo, "New framesize: %d\n", (int)framesize); this->framesize = framesize; // Update framesize in drumkitloader and cachemanager: loader.setFrameSize(framesize); audio_cache.setFrameSize(framesize); } } void DrumGizmo::setFreeWheel(bool freewheel) { // Freewheel = true means that we are bouncing and therefore running faster // than realtime. this->freewheel = freewheel; audio_cache.setAsyncMode(!freewheel); } void DrumGizmo::setRandomSeed(unsigned int seed) { rand.setSeed(seed); } bool DrumGizmo::run(size_t pos, sample_t *samples, size_t nsamples) { if(settings_getter.drumkit_file.hasChanged()) { // New kit loaded/loading - old events no longer makes sense. events_ds.clear(); } if(settings_getter.enable_resampling.hasChanged()) { enable_resampling = settings_getter.enable_resampling.getValue(); } { auto sample_rate_changed = settings_getter.drumkit_samplerate.hasChanged(); auto resampling_quality_changed = settings_getter.resampling_quality.hasChanged(); if(sample_rate_changed || resampling_quality_changed) { settings_getter.drumkit_samplerate.getValue(); // stage new value setSamplerate(settings.samplerate.load(), settings_getter.resampling_quality.getValue()); } } setFrameSize(nsamples); setFreeWheel(ie.isFreewheeling() && oe.isFreewheeling()); ie.pre(); oe.pre(nsamples); // Clears all output buffers std::memset(samples, 0, nsamples * sizeof(sample_t)); // // Read new events // ie.run(pos, nsamples, events); double resample_ratio = ratio; if(enable_resampling == false) { resample_ratio = 1.0; } if(settings_getter.audition_counter.hasChanged()) { settings_getter.audition_counter.getValue(); auto instrument_name = settings.audition_instrument.load(); auto velocity = settings.audition_velocity.load(); std::size_t instrument_index = 0; for (std::size_t i = 0; i < kit.instruments.size(); ++i) { if (instrument_name == kit.instruments[i]->getName()) { instrument_index = i; } } events.push_back({EventType::OnSet, instrument_index, 0, velocity}); } bool active_events_left = input_processor.process(events, pos, resample_ratio); if(!active_events_left) { return false; } events.clear(); // // Write audio // if(!enable_resampling || ratio == 1.0) { // No resampling needed for(size_t c = 0; c < kit.channels.size(); ++c) { if(c >= NUM_CHANNELS) // kit may have more channels than the engine { break; } sample_t *buf = samples; bool internal = false; if(oe.getBuffer(c)) { buf = oe.getBuffer(c); internal = true; } if(buf) { std::memset(buf, 0, nsamples * sizeof(sample_t)); getSamples(c, pos, buf, nsamples); if(!internal) { oe.run(c, samples, nsamples); } } } } else { // Resampling needed size_t kitpos = pos * ratio; for(size_t c = 0; c < kit.channels.size(); ++c) { if(c >= NUM_CHANNELS) // kit may have more channels than the engine { break; } sample_t *buf = samples; bool internal = false; if(oe.getBuffer(c)) { buf = oe.getBuffer(c); internal = true; } zita[c].set_out_data(buf); zita[c].set_out_count(nsamples); if(zita[c].get_inp_count() > 0) { // Samples left from last iteration, process that one first zita[c].process(); } std::memset(resampler_input_buffer[c].get(), 0, MAX_RESAMPLER_BUFFER_SIZE); zita[c].set_inp_data(resampler_input_buffer[c].get()); std::size_t sample_count = std::ceil((nsamples - (nsamples - zita[c].get_out_count())) * ratio); getSamples(c, kitpos, zita[c].get_inp_data(), sample_count); zita[c].set_inp_count(sample_count); zita[c].process(); if(!internal) { oe.run(c, samples, nsamples); } } } ie.post(); oe.post(nsamples); pos += nsamples; return true; } void DrumGizmo::renderSampleEvent(SampleEvent& evt, int pos, sample_t *s, std::size_t sz) { size_t n = 0; // default start point is 0. // If we are not at offset 0 in current buffer: if(evt.offset > (size_t)pos) { n = evt.offset - pos; } size_t end = sz; // default end point is the end of the buffer. // Find the end point intra-buffer if((evt.t + end - n) > evt.sample_size) { end = evt.sample_size - evt.t + n; } // This should not be necessary but make absolutely sure that we do // not write over the end of the buffer. if(end > sz) { end = sz; } size_t t = 0; // Internal buffer counter repeat: float scale = 1.0f; for(; (n < end) && (t < (evt.buffer_size - evt.buffer_ptr)); ++n) { assert(n >= 0); assert(n < sz); assert(t >= 0); assert(t < evt.buffer_size - evt.buffer_ptr); if(evt.rampdownInProgress() && evt.rampdown_offset < (evt.t + t) && evt.rampdown_count > 0) { if(evt.ramp_length > 0) { scale = std::min((float)evt.rampdown_count / evt.ramp_length, 1.f); } else { scale = 0.0f; } evt.rampdown_count--; } s[n] += evt.buffer[evt.buffer_ptr + t] * evt.scale * scale; ++t; } // Add internal buffer counter to "global" event counter. evt.t += t;//evt.buffer_size; evt.buffer_ptr += t; if(n != sz && evt.t < evt.sample_size) { evt.buffer_size = sz - n;// Hint new size // More samples needed for current buffer evt.buffer = audio_cache.next(evt.cache_id, evt.buffer_size); evt.buffer_ptr = 0; t = 0; goto repeat; } } void DrumGizmo::getSamples(int ch, int pos, sample_t* s, size_t sz) { assert(ch < NUM_CHANNELS); // Store local values of settings to ensure they don't change intra-iteration const auto enable_bleed_control = settings.enable_bleed_control.load(); const auto master_bleed = settings.master_bleed.load(); EventIDs to_remove; for(auto& sample_event : events_ds.iterateOver(ch)) { bool removeevent = false; AudioFile& af = *sample_event.file; if(!af.isLoaded() || !af.isValid() || (s == nullptr)) { // This event cannot be played - schedule for deletion and continue. to_remove.push_back(sample_event.id); continue; } if(sample_event.offset > (pos + sz)) { // Don't handle event now. It is scheduled for a future iteration. continue; } if(sample_event.cache_id == CACHE_NOID) { size_t initial_chunksize = (pos + sz) - sample_event.offset; sample_event.buffer = audio_cache.open(af, initial_chunksize, af.filechannel, sample_event.cache_id); if((af.mainState() == main_state_t::is_not_main) && enable_bleed_control) { sample_event.scale *= master_bleed; } sample_event.buffer_size = initial_chunksize; sample_event.sample_size = af.size; } { // TODO: We should make all audiofiles reference counted and get rid of this lock. std::lock_guard guard(af.mutex); renderSampleEvent(sample_event, pos, s, sz); if((sample_event.t >= sample_event.sample_size) || (sample_event.rampdown_count == 0)) { removeevent = true; } if(sample_event.buffer_ptr >= sample_event.buffer_size && !removeevent) { sample_event.buffer_size = sz; sample_event.buffer = audio_cache.next(sample_event.cache_id, sample_event.buffer_size); sample_event.buffer_ptr = 0; } if(removeevent) { audio_cache.close(sample_event.cache_id); } } if(removeevent) { to_remove.push_back(sample_event.id); // don't delete until we are out of the loop. } } for(auto event_id : to_remove) { events_ds.remove(event_id); } } void DrumGizmo::stop() { // engine.stop(); } std::size_t DrumGizmo::getLatency() const { auto latency = input_processor.getLatency(); if(enable_resampling && ratio != 0.0) { // TODO: latency += zita[0].inpsize(); // resampler latency } return latency; } float DrumGizmo::samplerate() { return settings.samplerate.load(); } void DrumGizmo::setSamplerate(float samplerate, float resampling_quality) { DEBUG(engine, "%s samplerate: %f\n", __PRETTY_FUNCTION__, samplerate); settings.samplerate.store(samplerate); // Notify input engine of the samplerate change. ie.setSampleRate(samplerate); auto input_fs = settings.drumkit_samplerate.load(); auto output_fs = samplerate; ratio = input_fs / output_fs; settings.resampling_recommended.store(ratio != 1.0); // TODO: Only reallocate the actual amount of samples needed based on the // ratio and the framesize. for(auto& buf : resampler_input_buffer) { buf.reset(new sample_t[MAX_RESAMPLER_BUFFER_SIZE]); } for(int c = 0; c < NUM_CHANNELS; ++c) { zita[c].reset(); auto nchan = 1u; // mono // 16 ≤ hlen ≤ 96 - default is 72, q: 0.7f resampling_quality = std::max(0.0f, std::min(1.0f, resampling_quality)); std::size_t hlen = 16 + (96 - 16) * resampling_quality; zita[c].setup(input_fs, output_fs, nchan, hlen); // Prefill auto null_size = zita[c].inpsize() - 1;// / 2 - 1; zita[c].set_inp_data(nullptr); zita[c].set_inp_count(null_size); std::size_t scratch_buffer_size = (null_size / ratio); if(scratch_buffer.size() < scratch_buffer_size) { scratch_buffer.resize(scratch_buffer_size); } zita[c].set_out_data(scratch_buffer.data()); zita[c].set_out_count(scratch_buffer_size); zita[c].process(); } } drumgizmo-0.9.20/src/event.h0000644000076400007640000000277614275473130012653 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * event.h * * Fri Jun 3 12:10:50 CEST 2011 * Copyright 2011 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include //! Event types enum class EventType { OnSet, Choke, Stop, }; //! POD datatype for input event transport. struct event_t { EventType type; //!< The type of the event. std::size_t instrument; //!< The instrument number. std::size_t offset; //!< The offset position in the input buffer float velocity; //!< The velocity if the type is a note on [0; 1] }; drumgizmo-0.9.20/src/audiofile.h0000644000076400007640000000424114177460331013460 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * audiofile.h * * Tue Jul 22 17:14:11 CEST 2008 * Copyright 2008 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include #include #include "audio.h" #include "channel.h" #include "logger.h" class InstrumentChannel; class AudioFile { public: AudioFile(const std::string& filename, std::size_t filechannel, InstrumentChannel* instrument_channel = nullptr); ~AudioFile(); void load(LogFunction logger, std::size_t sample_limit = std::numeric_limits::max()); void unload(); bool isLoaded() const; volatile std::size_t size{0}; // Full size of the file volatile std::size_t preloadedsize{0}; // Number of samples preloaded (in data) sample_t* data{nullptr}; std::string filename; bool isValid() const; //! Returns if this audio file is to be played on a main channel (ie. not a //! secondary channel) main_state_t mainState() const; std::mutex mutex; std::size_t filechannel; private: friend class DOMLoaderTest; friend class InstrumentParserTest; void* magic{nullptr}; volatile bool is_loaded{false}; InstrumentChannel* instrument_channel; }; drumgizmo-0.9.20/src/sample.cc0000644000076400007640000000350514275473130013140 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * sample.cc * * Mon Jul 21 10:23:20 CEST 2008 * Copyright 2008 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "sample.h" #include Sample::Sample(const std::string& name, double power, bool normalized) : name{name} , power{power} , normalized(normalized) , audiofiles{} { } Sample::~Sample() { } void Sample::addAudioFile(InstrumentChannel* c, AudioFile* a) { audiofiles[c] = a; } AudioFile* Sample::getAudioFile(const Channel& channel) const { /* if(audiofiles.find(c) == audiofiles.end()) return nullptr; return audiofiles[c]; */ // todo: std::find_if ?? for (auto& pair: audiofiles) { if (pair.first->num == channel.num) { return pair.second; } } return nullptr; } double Sample::getPower() const { return power; } bool Sample::getNormalized() const { return normalized; } drumgizmo-0.9.20/src/audiocachefile.h0000644000076400007640000000620313557561150014446 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * cacheaudiofile.h * * Thu Dec 24 12:17:58 CET 2015 * Copyright 2015 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include #include #include #include //! Channel data container in the cache world. class CacheChannel { public: size_t channel; //< Channel number sample_t* samples; //< Sample buffer pointer. size_t num_samples; //< Number of samples in the sample buffer volatile bool* ready; //< Is set to true when the loading is done. }; using CacheChannels = std::list; //! This class is used to encapsulate reading from a single file source. //! The access is ref counted so that the file is only opened once and closed //! when it is no longer required. class AudioCacheFile { friend class AudioCacheFiles; friend class TestableAudioCacheFiles; public: //! Create file handle for filename. AudioCacheFile(const std::string& filename, std::vector& read_buffer); //! Closes file handle. ~AudioCacheFile(); //! Get sample count of the file connected with this cache object. size_t getSize() const; //! Get filename of the file connected with this cache object. const std::string& getFilename() const; //! Get number of channels in the file size_t getChannelCount() const; //! Read audio data from the file into the supplied channel caches. void readChunk(const CacheChannels& channels, size_t pos, size_t num_samples); private: int ref{0}; SNDFILE* fh{nullptr}; SF_INFO sf_info; std::string filename; std::vector& read_buffer; }; class AudioCacheFiles { public: //! Get the CacheAudioFile object corresponding to filename. //! If it does not exist it will be created. //! It's ref count will be increased. AudioCacheFile& getFile(const std::string& filename); //! Release the CacheAudioFile corresponding to filename. //! It's ref count will be decreased. //! If the ref count reaches 0 the object will be deleted. void releaseFile(const std::string& filename); protected: std::map audiofiles; std::mutex mutex; std::vector read_buffer; }; drumgizmo-0.9.20/src/inputprocessor.h0000644000076400007640000000446213756436707014637 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * inputprocessor.h * * Sat Apr 23 20:39:30 CEST 2016 * Copyright 2016 Andr Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include #include "drumkit.h" #include "events.h" #include "events_ds.h" #include "id.h" #include "inputfilter.h" struct Settings; class Random; class InputProcessor { public: InputProcessor(Settings& settings, DrumKit& kit, EventsDS& events_ds, Random& random); bool process(std::vector& events, std::size_t pos, double resample_ratio); std::size_t getLatency() const; private: DrumKit& kit; EventsDS& events_ds; bool is_stopping{false}; ///< Is set to true when a EventType::Stop event has been seen. bool processOnset(event_t& event, std::size_t pos, double resample_ratio); bool processChoke(event_t& event, std::size_t pos, double resample_ratio); bool processStop(event_t& event); //! Ramps down samples from events_ds is there are more groups playing than //! max_voices for a given instrument. void limitVoices(std::size_t instrument_id, std::size_t max_voices, float rampdown_time); std::vector> filters; Settings& settings; float original_velocity{0.0f}; }; drumgizmo-0.9.20/src/zrwrapper.h0000644000076400007640000000377313756436707013600 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * zrwrapper.h * * Fri Nov 15 15:06:51 CET 2019 * Copyright 2019 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include class ZRWrapper { public: ZRWrapper(); ~ZRWrapper(); int setup(unsigned int fs_inp, unsigned int fs_out, unsigned int nchan, unsigned int hlen); int setup(unsigned int fs_inp, unsigned int fs_out, unsigned int nchan, unsigned int hlen, double frel); void clear(); int reset(); int nchan() const; int filtlen() const; int inpsize() const; double inpdist() const; int process(); unsigned int get_inp_count(); void set_inp_count(unsigned int inp_count); unsigned int get_out_count(); void set_out_count(unsigned int out_count); float *get_inp_data(); void set_inp_data(float *inp_data); float *get_out_data(); void set_out_data(float *out_data); void *get_inp_list(); void set_inp_list(void *inp_list); void *get_out_list(); void set_out_list(void *out_list); private: std::unique_ptr resampler; }; drumgizmo-0.9.20/src/nolocale.h0000644000076400007640000000363113557561150013317 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * nolocale.h * * Fri Feb 13 12:48:10 CET 2015 * Copyright 2015 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include static inline double atof_nol(const char* nptr) { double res; const char* locale = setlocale(LC_NUMERIC, "C"); res = atof(nptr); setlocale(LC_NUMERIC, locale); return res; } static inline int sprintf_nol(char* str, const char* format, ...) { int ret; const char* locale = setlocale(LC_NUMERIC, "C"); va_list vl; va_start(vl, format); ret = vsprintf(str, format, vl); va_end(vl); setlocale(LC_NUMERIC, locale); return ret; } static inline int snprintf_nol(char* str, size_t size, const char* format, ...) { int ret; const char* locale = setlocale(LC_NUMERIC, "C"); va_list vl; va_start(vl, format); ret = vsnprintf(str, size, format, vl); va_end(vl); setlocale(LC_NUMERIC, locale); return ret; } drumgizmo-0.9.20/src/audiocacheeventhandler.h0000644000076400007640000000613213653301170016176 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * audiocacheeventhandler.h * * Sun Jan 3 19:57:55 CET 2016 * Copyright 2016 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include "thread.h" #include "sem.h" #include "audiocachefile.h" #include "audiocacheidmanager.h" class CacheEvent; class AudioCacheEventHandler : protected Thread { public: AudioCacheEventHandler(AudioCacheIDManager& id_manager); ~AudioCacheEventHandler(); //! Start event handler thread. //! This method blocks until the thread has actually been started. void start(); //! Stop event handler thread. //! This method blocks until the thread has actually been stopped. void stop(); //! Set thread status and start/stop thread accordingly. //! \param threaded Set to true to start thread or false to stop it. void setThreaded(bool threaded); //! Get current threaded status. bool isThreaded() const; //! Lock thread mutex. //! This methods are supplied to make this class lockable by std::lock_guard void lock(); //! Unlock thread mutex. //! This methods are supplied to make this class lockable by std::lock_guard void unlock(); void pushLoadNextEvent(AudioCacheFile* afile, size_t channel, size_t pos, sample_t* buffer, volatile bool* ready); void pushCloseEvent(cacheid_t id); void setChunkSize(size_t chunksize); size_t getChunkSize() const; AudioCacheFile& openFile(const std::string& filename); protected: void clearEvents(); void handleLoadNextEvent(CacheEvent& cache_event); //! Lock the mutex and calls handleCloseCache void handleCloseEvent(CacheEvent& cache_event); //! Close decrease the file ref and release the cache id. void handleCloseCache(cacheid_t id); void handleEvent(CacheEvent& cache_event); // From Thread void thread_main() override; void pushEvent(CacheEvent& cache_event); AudioCacheFiles files; std::mutex mutex; std::list eventqueue; std::atomic threaded{false}; Semaphore sem; Semaphore sem_run; bool running{false}; AudioCacheIDManager& id_manager; size_t chunksize{1024}; }; drumgizmo-0.9.20/src/velocityfilter.cc0000644000076400007640000000310013653301171014704 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * velocityfilter.cc * * Sun May 12 16:01:41 CEST 2019 * Copyright 2019 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "velocityfilter.h" #include "random.h" #include "settings.h" VelocityFilter::VelocityFilter(Settings& settings, Random& random) : settings(settings), random(random) { } bool VelocityFilter::filter(event_t& event, size_t pos) { if (settings.enable_velocity_modifier.load()) { float mean = event.velocity; float stddev = settings.velocity_stddev.load(); // the 30.0f were determined empirically event.velocity = random.normalDistribution(mean, stddev / 30.0f); } return true; } drumgizmo-0.9.20/src/path.h0000644000076400007640000000254013557561150012455 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * path.h * * Tue May 3 14:42:46 CEST 2011 * Copyright 2011 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include //! \returns path component of full filename with path. std::string getPath(const std::string& file); //! \returns path component of full filename with path. std::string getFile(const std::string& file); drumgizmo-0.9.20/src/translation.h0000644000076400007640000000320314100601506014035 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * translation.h * * Sun Sep 8 14:13:22 CEST 2019 * Copyright 2019 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #ifdef WITH_NLS #include std::uint64_t constexpr const_hash(const char* input) { return *input ? static_cast(*input) + 33 * const_hash(input + 1) : 5381; } #define _(msg) Translation::gettext(const_hash(msg), msg) class Translation { public: Translation(); virtual ~Translation(); bool load(const char* catalog, std::size_t size); static const char* gettext(std::uint64_t msgid, const char* original); static std::string getISO639LanguageName(); }; #else #define _(msg) msg #endif drumgizmo-0.9.20/src/path.cc0000644000076400007640000000364013557561150012615 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * path.cc * * Tue May 3 14:42:47 CEST 2011 * Copyright 2011 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "path.h" #ifndef __MINGW32__ #include #endif/*__MINGW32__*/ #include #include std::string getPath(const std::string& file) { std::string path; #ifdef __MINGW32__ char drive[_MAX_DRIVE]; char dir[_MAX_DIR]; _splitpath(file.c_str(), drive, dir, nullptr, nullptr); path = std::string(drive) + dir; #else // POSIX char* buffer = strdup(file.c_str()); path = dirname(buffer); free(buffer); #endif return path; } std::string getFile(const std::string& file) { std::string path; #ifdef __MINGW32__ char fname[_MAX_FNAME]; char ext[_MAX_EXT]; _splitpath(file.c_str(), nullptr, nullptr, fname, ext); path = std::string(fname) + "." + ext; #else // POSIX char* buffer = strdup(file.c_str()); path = basename(buffer); free(buffer); #endif return path; } drumgizmo-0.9.20/src/zrwrapper.cc0000644000076400007640000000610113756436707013722 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * zrwrapper.cc * * Fri Nov 15 15:06:51 CET 2019 * Copyright 2019 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "zrwrapper.h" #include #include "cpp11fix.h" ZRWrapper::ZRWrapper() : resampler(std::make_unique()) { } ZRWrapper::~ZRWrapper() = default; int ZRWrapper::setup(unsigned int fs_inp, unsigned int fs_out, unsigned int nchan, unsigned int hlen) { return resampler->setup(fs_inp, fs_out, nchan, hlen); } int ZRWrapper::setup(unsigned int fs_inp, unsigned int fs_out, unsigned int nchan, unsigned int hlen, double frel) { return resampler->setup(fs_inp, fs_out, nchan, hlen, frel); } void ZRWrapper::clear() { resampler->clear(); } int ZRWrapper::reset() { return resampler->reset(); } int ZRWrapper::nchan() const { return resampler->nchan(); } int ZRWrapper::filtlen() const { return resampler->filtlen(); } int ZRWrapper::inpsize() const { return resampler->inpsize(); } double ZRWrapper::inpdist() const { return resampler->inpdist(); } int ZRWrapper::process() { return resampler->process(); } unsigned int ZRWrapper::get_inp_count() { return resampler->inp_count; } void ZRWrapper::set_inp_count(unsigned int inp_count) { resampler->inp_count = inp_count; } unsigned int ZRWrapper::get_out_count() { return resampler->out_count; } void ZRWrapper::set_out_count(unsigned int out_count) { resampler->out_count = out_count; } float *ZRWrapper::get_inp_data() { return resampler->inp_data; } void ZRWrapper::set_inp_data(float *inp_data) { resampler->inp_data = inp_data; } float *ZRWrapper::get_out_data() { return resampler->out_data; } void ZRWrapper::set_out_data(float *out_data) { resampler->out_data = out_data; } void *ZRWrapper::get_inp_list() { return resampler->inp_list; } void ZRWrapper::set_inp_list(void *inp_list) { resampler->inp_list = inp_list; } void *ZRWrapper::get_out_list() { return resampler->out_list; } void ZRWrapper::set_out_list(void *out_list) { resampler->out_list = out_list; } drumgizmo-0.9.20/src/audioinputenginemidi.cc0000644000076400007640000000676714275473130016106 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * audioinputenginemidi.cc * * Mon Apr 1 20:13:25 CEST 2013 * Copyright 2013 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "audioinputenginemidi.h" #include "midimapparser.h" #include "drumgizmo.h" #include AudioInputEngineMidi::AudioInputEngineMidi() : refs(REFSFILE) { is_valid = false; } bool AudioInputEngineMidi::loadMidiMap(const std::string& file, const Instruments& instruments) { std::string f = file; if(refs.load()) { if(file.size() > 1 && file[0] == '@') { f = refs.getValue(file.substr(1)); } } else { ERR(drumkitparser, "Error reading refs.conf"); } midimap = ""; is_valid = false; DEBUG(mmap, "loadMidiMap(%s, i.size() == %d)\n", f.c_str(), (int)instruments.size()); if(f == "") { return false; } MidiMapParser midimap_parser; if(!midimap_parser.parseFile(f)) { return false; } instrmap_t instrmap; for(size_t i = 0; i < instruments.size(); i++) { instrmap[instruments[i]->getName()] = i; } mmap.swap(instrmap, midimap_parser.midimap); midimap = file; is_valid = true; return true; } std::string AudioInputEngineMidi::getMidimapFile() const { return midimap; } bool AudioInputEngineMidi::isValid() const { return is_valid; } // Note types: static const std::uint8_t NoteOff = 0x80; static const std::uint8_t NoteOn = 0x90; static const std::uint8_t NoteAftertouch = 0xA0; // Note type mask: static int const NoteMask = 0xF0; void AudioInputEngineMidi::processNote(const std::uint8_t* midi_buffer, std::size_t midi_buffer_length, std::size_t offset, std::vector& events) { if(midi_buffer_length < 3) { return; } auto key = midi_buffer[1]; auto velocity = midi_buffer[2]; auto instrument_idx = mmap.lookup(key); auto instruments = mmap.lookup(key); for(const auto& instrument_idx : instruments) { switch(midi_buffer[0] & NoteMask) { case NoteOff: // Ignore for now break; case NoteOn: if(velocity != 0) { // maps velocities to [.5/127, 126.5/127] auto centered_velocity = (velocity-.5f)/127.0f; events.push_back({EventType::OnSet, (std::size_t)instrument_idx, offset, centered_velocity}); } break; case NoteAftertouch: if(velocity > 0) { events.push_back({EventType::Choke, (std::size_t)instrument_idx, offset, .0f}); } break; default: break; } } } drumgizmo-0.9.20/src/drumgizmoconf.h0000644000076400007640000000246613756436707014425 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * drumgizmoconf.h * * Sat May 2 09:18:32 CEST 2020 * Copyright 2020 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include class DrumgizmoConfig : public ConfigFile { public: DrumgizmoConfig(); ~DrumgizmoConfig(); bool load() override; bool save() override; std::string defaultKit; std::string defaultMidimap; }; drumgizmo-0.9.20/src/thread.h0000644000076400007640000000307513557561150012774 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * thread.h * * Tue Jan 24 08:11:37 CET 2012 * Copyright 2012 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include "platform.h" #if DG_PLATFORM == DG_PLATFORM_WINDOWS #define WIN32_LEAN_AND_MEAN #include #else #include #endif class Thread { public: Thread(); virtual ~Thread(); void run(); void wait_stop(); protected: virtual void thread_main() = 0; private: #if DG_PLATFORM == DG_PLATFORM_WINDOWS HANDLE tid{nullptr}; static DWORD WINAPI #else pthread_t tid{0}; static void* #endif thread_run(void *data); }; drumgizmo-0.9.20/src/configfile.cc0000644000076400007640000001603513756436707014002 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * configfile.cc * * Thu May 14 14:51:39 CEST 2015 * Copyright 2015 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "configfile.h" #include #include "directory.h" #include "platform.h" #if DG_PLATFORM == DG_PLATFORM_WINDOWS #include #include #include #include #else #endif #include namespace { #if DG_PLATFORM == DG_PLATFORM_WINDOWS const std::string sep = "\\"; #else const std::string sep = "/"; #endif #if DG_PLATFORM == DG_PLATFORM_WINDOWS const std::string config_dir_name = "DrumGizmo"; #else const std::string config_dir_name = ".drumgizmo"; #endif // Return the path containing the config files. std::string getConfigPath() { // TODO: Move this utility function as a static function into directory.cc/h at some point? std::string configpath; #if DG_PLATFORM == DG_PLATFORM_WINDOWS TCHAR szPath[256]; if(SHGetFolderPath(NULL, CSIDL_APPDATA | CSIDL_FLAG_CREATE, NULL, 0, szPath) == S_OK) { configpath = szPath; } #else configpath = getenv("HOME"); #endif configpath += sep; configpath += config_dir_name; return configpath; } // Calling this makes sure that the config path exists bool createConfigPath() { const std::string configpath = getConfigPath(); if(!Directory::isDir(configpath)) { DEBUG(configfile, "No configuration exists, creating directory '%s'\n", configpath.c_str()); #if DG_PLATFORM == DG_PLATFORM_WINDOWS if(mkdir(configpath.c_str()) < 0) #else if(mkdir(configpath.c_str(), 0755) < 0) #endif { DEBUG(configfile, "Could not create config directory\n"); } return false; } return true; } } // end anonymous namespace ConfigFile::ConfigFile(const std::string& filename) : filename(filename) { } ConfigFile::~ConfigFile() { if (current_file.is_open()) { DEBUG(configfile, "File has not been closed by the client...\n"); current_file.close(); } } // TODO: Make this return a homemade error variant when we have this project-wide. bool ConfigFile::load() { DEBUG(configfile, "Loading config file...\n"); if(!open(std::ios_base::in)) { return false; } values.clear(); std::string line; while(std::getline(current_file, line)) { if(!parseLine(line)) { return false; } } current_file.close(); return true; } bool ConfigFile::save() { DEBUG(configfile, "Saving configuration...\n"); if(!createConfigPath()) { return false; } if(!open(std::ios_base::out)) { return false; } for(const auto& value: values) { current_file << value.first << " = " << "\"" << value.second << "\"" << std::endl; } current_file.close(); return true; } std::string ConfigFile::getValue(const std::string& key) const { auto i = values.find(key); if (i != values.end()) { return i->second; } return ""; } void ConfigFile::setValue(const std::string& key, const std::string& value) { values[key] = value; } bool ConfigFile::open(std::ios_base::openmode mode) { if(current_file.is_open()) { current_file.close(); } std::string const full_filename = getConfigPath() + sep + filename; DEBUG(configfile, "Opening config file '%s'\n", full_filename.c_str()); current_file.open(full_filename, mode); return current_file.is_open(); } bool ConfigFile::parseLine(const std::string& line) { enum class State { before_key, in_key, after_key, before_value, in_value, in_value_single_quoted, in_value_double_quoted, after_value, }; // For empty lines, we parse them fine but don't do anything. if(line == "") { return true; } std::string key; std::string value; State state = State::before_key; for(std::size_t pos = 0; pos < line.size(); ++pos) { auto c = line[pos]; switch(state) { case State::before_key: if(c == '#') { // Comment: Ignore line. pos = line.size(); continue; } if(std::isspace(c)) { continue; } key += c; state = State::in_key; break; case State::in_key: if(std::isspace(c)) { state = State::after_key; continue; } if(c == ':' || c == '=') { state = State::before_value; continue; } key += c; break; case State::after_key: if(std::isspace(c)) { continue; } if(c == ':' || c == '=') { state = State::before_value; continue; } ERR(configfile, "Bad symbol." " Expecting only whitespace or key/value seperator: '%s'", line.c_str()); return false; case State::before_value: if(std::isspace(c)) { continue; } if(c == '\'') { state = State::in_value_single_quoted; continue; } if(c == '"') { state = State::in_value_double_quoted; continue; } value += c; state = State::in_value; break; case State::in_value: if(std::isspace(c)) { state = State::after_value; continue; } if(c == '#') { // Comment: Ignore the rest of the line. pos = line.size(); state = State::after_value; continue; } value += c; break; case State::in_value_single_quoted: if(c == '\'') { state = State::after_value; continue; } value += c; break; case State::in_value_double_quoted: if(c == '"') { state = State::after_value; continue; } value += c; break; case State::after_value: if(std::isspace(c)) { continue; } if(c == '#') { // Comment: Ignore the rest of the line. pos = line.size(); continue; } ERR(configfile, "Bad symbol." " Expecting only whitespace or key/value seperator: '%s'", line.c_str()); return false; } } if(state == State::before_key) { // Line did not contain any data (empty or comment) return true; } // If state == in_value_XXX_quoted here, the string was not terminated. // If state == before_value it means that the value is empty. if(state != State::after_value && state != State::in_value && state != State::before_value) { ERR(configfile, "Malformed line: '%s'", line.c_str()); return false; } DEBUG(configfile, "key['%s'] value['%s']\n", key.c_str(), value.c_str()); if(key != "") { values[key] = value; } return true; } drumgizmo-0.9.20/src/Makefile.in0000644000076400007640000022140514306421324013407 00000000000000# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = src ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = LTLIBRARIES = $(noinst_LTLIBRARIES) am__DEPENDENCIES_1 = libdg_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ libzr.la libpugi.la am_libdg_la_OBJECTS = libdg_la-audiocachefile.lo \ libdg_la-audiocache.lo libdg_la-audiocacheeventhandler.lo \ libdg_la-audiocacheidmanager.lo \ libdg_la-audioinputenginemidi.lo libdg_la-audiofile.lo \ libdg_la-bytesizeparser.lo libdg_la-channel.lo \ libdg_la-channelmixer.lo libdg_la-configfile.lo \ libdg_la-configparser.lo libdg_la-directory.lo \ libdg_la-domloader.lo libdg_la-dgxmlparser.lo \ libdg_la-drumgizmo.lo libdg_la-drumgizmoconf.lo \ libdg_la-drumkit.lo libdg_la-drumkitloader.lo \ libdg_la-events.lo libdg_la-events_ds.lo \ libdg_la-inputprocessor.lo libdg_la-instrument.lo \ libdg_la-latencyfilter.lo libdg_la-midimapparser.lo \ libdg_la-midimapper.lo libdg_la-path.lo libdg_la-powerlist.lo \ libdg_la-powermap.lo libdg_la-powermapfilter.lo \ libdg_la-random.lo libdg_la-sample.lo \ libdg_la-sample_selection.lo libdg_la-sem.lo \ libdg_la-staminafilter.lo libdg_la-thread.lo \ libdg_la-velocityfilter.lo libdg_la-versionstr.lo libdg_la_OBJECTS = $(am_libdg_la_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = libnls_la_DEPENDENCIES = am_libnls_la_OBJECTS = libnls_la-translation.lo libnls_la_OBJECTS = $(am_libnls_la_OBJECTS) libpugi_la_DEPENDENCIES = am_libpugi_la_OBJECTS = libpugi_la-pugixml.lo libpugi_la_OBJECTS = $(am_libpugi_la_OBJECTS) libzr_la_DEPENDENCIES = $(am__DEPENDENCIES_1) am_libzr_la_OBJECTS = libzr_la-zrwrapper.lo libzr_la-resampler.lo \ libzr_la-resampler-table.lo libzr_la_OBJECTS = $(am_libzr_la_OBJECTS) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CXXFLAGS) $(CXXFLAGS) AM_V_CXX = $(am__v_CXX_@AM_V@) am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) am__v_CXX_0 = @echo " CXX " $@; am__v_CXX_1 = CXXLD = $(CXX) CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) am__v_CXXLD_0 = @echo " CXXLD " $@; am__v_CXXLD_1 = SOURCES = $(libdg_la_SOURCES) $(libnls_la_SOURCES) \ $(libpugi_la_SOURCES) $(libzr_la_SOURCES) DIST_SOURCES = $(libdg_la_SOURCES) $(libnls_la_SOURCES) \ $(libpugi_la_SOURCES) $(libzr_la_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALSA_CFLAGS = @ALSA_CFLAGS@ ALSA_LIBS = @ALSA_LIBS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEBUG_FLAGS = @DEBUG_FLAGS@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DL_CFLAGS = @DL_CFLAGS@ DL_LIBS = @DL_LIBS@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_STORE = @FLOAT_STORE@ GREP = @GREP@ GUI_CPPFLAGS = @GUI_CPPFLAGS@ GUI_LIBS = @GUI_LIBS@ INPUT_PLUGINS = @INPUT_PLUGINS@ INPUT_PLUGIN_DIR = @INPUT_PLUGIN_DIR@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ JACK_CFLAGS = @JACK_CFLAGS@ JACK_LIBS = @JACK_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ LV2DIR = @LV2DIR@ LV2_CFLAGS = @LV2_CFLAGS@ LV2_LIBS = @LV2_LIBS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJC = @OBJC@ OBJCDEPMODE = @OBJCDEPMODE@ OBJCFLAGS = @OBJCFLAGS@ OBJCXX = @OBJCXX@ OBJCXXDEPMODE = @OBJCXXDEPMODE@ OBJCXXFLAGS = @OBJCXXFLAGS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ OUTPUT_PLUGINS = @OUTPUT_PLUGINS@ OUTPUT_PLUGIN_DIR = @OUTPUT_PLUGIN_DIR@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SMF_CFLAGS = @SMF_CFLAGS@ SMF_LIBS = @SMF_LIBS@ SNDFILE_CFLAGS = @SNDFILE_CFLAGS@ SNDFILE_LIBS = @SNDFILE_LIBS@ SSEFLAGS = @SSEFLAGS@ STRIP = @STRIP@ VERSION = @VERSION@ VST_CPPFLAGS = @VST_CPPFLAGS@ VST_SOURCE_PATH = @VST_SOURCE_PATH@ X11_CFLAGS = @X11_CFLAGS@ X11_LIBS = @X11_LIBS@ XEXT_CFLAGS = @XEXT_CFLAGS@ XEXT_LIBS = @XEXT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ ac_ct_OBJC = @ac_ct_OBJC@ ac_ct_OBJCXX = @ac_ct_OBJCXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ dgplugindir = @dgplugindir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ noinst_LTLIBRARIES = libdg.la libzr.la libpugi.la libnls.la # shared nls component libnls_la_CPPFLAGS = libnls_la_LIBADD = libnls_la_SOURCES = \ translation.cc # libzita-resampler libzr_la_CPPFLAGS = \ -ffast-math -D_USE_MATH_DEFINES $(PTHREAD_CFLAGS) \ -I$(top_srcdir)/zita-resampler/libs libzr_la_LIBADD = \ $(PTHREAD_LIBS) libzr_la_SOURCES = \ zrwrapper.cc \ $(top_srcdir)/zita-resampler/libs/resampler.cc \ $(top_srcdir)/zita-resampler/libs/resampler-table.cc # pugixml libpugi_la_CPPFLAGS = libpugi_la_LIBADD = libpugi_la_SOURCES = \ $(top_srcdir)/pugixml/src/pugixml.cpp # libdg libdg_la_CPPFLAGS = \ $(DEBUG_FLAGS) \ -I$(top_srcdir)/hugin -I$(top_srcdir)/pugixml/src \ $(SSEFLAGS) -I$(top_srcdir)/zita-resampler/libs \ $(SNDFILE_CFLAGS) $(PTHREAD_CFLAGS) libdg_la_LIBADD = \ $(SNDFILE_LIBS) $(PTHREAD_LIBS) libzr.la libpugi.la libdg_la_SOURCES = \ audiocachefile.cc \ audiocache.cc \ audiocacheeventhandler.cc \ audiocacheidmanager.cc \ audioinputenginemidi.cc \ audiofile.cc \ bytesizeparser.cc \ channel.cc \ channelmixer.cc \ configfile.cc \ configparser.cc \ directory.cc \ domloader.cc \ dgxmlparser.cc \ drumgizmo.cc \ drumgizmoconf.cc \ drumkit.cc \ drumkitloader.cc \ events.cc \ events_ds.cc \ inputprocessor.cc \ instrument.cc \ latencyfilter.cc \ midimapparser.cc \ midimapper.cc \ path.cc \ powerlist.cc \ powermap.cc \ powermapfilter.cc \ random.cc \ sample.cc \ sample_selection.cc \ sem.cc \ staminafilter.cc \ thread.cc \ velocityfilter.cc \ versionstr.cc EXTRA_DIST = \ $(libzr_la_SOURCES) \ $(libpugi_la_SOURCES) \ $(libdg_la_SOURCES) \ DGDOM.h \ atomic.h \ audio.h \ audiocache.h \ audiocacheeventhandler.h \ audiocachefile.h \ audiocacheidmanager.h \ audiofile.h \ audioinputengine.h \ audioinputenginemidi.h \ audiooutputengine.h \ audiotypes.h \ bytesizeparser.h \ channel.h \ channelmixer.h \ configfile.h \ configparser.h \ directory.h \ cpp11fix.h \ dgxmlparser.h \ domloader.h \ drumgizmo.h \ drumgizmoconf.h \ drumkit.h \ drumkitloader.h \ event.h \ events.h \ events_ds.h \ grid.h \ id.h \ inputfilter.h \ inputprocessor.h \ instrument.h \ latencyfilter.h \ logger.h \ memory_heap.h \ midimapparser.h \ midimapper.h \ nolocale.h \ notifier.h \ path.h \ platform.h \ powerlist.h \ powermap.h \ powermapfilter.h \ random.h \ range.h \ rangemap.h \ sample.h \ sample_selection.h \ sem.h \ settings.h \ staminafilter.h \ syncedsettings.h \ thread.h \ translation.h \ velocityfilter.h \ versionstr.h \ zrwrapper.h all: all-am .SUFFIXES: .SUFFIXES: .cc .cpp .lo .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu src/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): clean-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libdg.la: $(libdg_la_OBJECTS) $(libdg_la_DEPENDENCIES) $(EXTRA_libdg_la_DEPENDENCIES) $(AM_V_CXXLD)$(CXXLINK) $(libdg_la_OBJECTS) $(libdg_la_LIBADD) $(LIBS) libnls.la: $(libnls_la_OBJECTS) $(libnls_la_DEPENDENCIES) $(EXTRA_libnls_la_DEPENDENCIES) $(AM_V_CXXLD)$(CXXLINK) $(libnls_la_OBJECTS) $(libnls_la_LIBADD) $(LIBS) libpugi.la: $(libpugi_la_OBJECTS) $(libpugi_la_DEPENDENCIES) $(EXTRA_libpugi_la_DEPENDENCIES) $(AM_V_CXXLD)$(CXXLINK) $(libpugi_la_OBJECTS) $(libpugi_la_LIBADD) $(LIBS) libzr.la: $(libzr_la_OBJECTS) $(libzr_la_DEPENDENCIES) $(EXTRA_libzr_la_DEPENDENCIES) $(AM_V_CXXLD)$(CXXLINK) $(libzr_la_OBJECTS) $(libzr_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-audiocache.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-audiocacheeventhandler.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-audiocachefile.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-audiocacheidmanager.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-audiofile.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-audioinputenginemidi.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-bytesizeparser.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-channel.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-channelmixer.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-configfile.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-configparser.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-dgxmlparser.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-directory.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-domloader.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-drumgizmo.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-drumgizmoconf.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-drumkit.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-drumkitloader.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-events.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-events_ds.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-inputprocessor.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-instrument.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-latencyfilter.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-midimapparser.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-midimapper.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-path.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-powerlist.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-powermap.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-powermapfilter.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-random.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-sample.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-sample_selection.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-sem.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-staminafilter.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-thread.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-velocityfilter.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libdg_la-versionstr.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libnls_la-translation.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpugi_la-pugixml.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libzr_la-resampler-table.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libzr_la-resampler.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libzr_la-zrwrapper.Plo@am__quote@ .cc.o: @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< .cc.obj: @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cc.lo: @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $< libdg_la-audiocachefile.lo: audiocachefile.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-audiocachefile.lo -MD -MP -MF $(DEPDIR)/libdg_la-audiocachefile.Tpo -c -o libdg_la-audiocachefile.lo `test -f 'audiocachefile.cc' || echo '$(srcdir)/'`audiocachefile.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-audiocachefile.Tpo $(DEPDIR)/libdg_la-audiocachefile.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='audiocachefile.cc' object='libdg_la-audiocachefile.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-audiocachefile.lo `test -f 'audiocachefile.cc' || echo '$(srcdir)/'`audiocachefile.cc libdg_la-audiocache.lo: audiocache.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-audiocache.lo -MD -MP -MF $(DEPDIR)/libdg_la-audiocache.Tpo -c -o libdg_la-audiocache.lo `test -f 'audiocache.cc' || echo '$(srcdir)/'`audiocache.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-audiocache.Tpo $(DEPDIR)/libdg_la-audiocache.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='audiocache.cc' object='libdg_la-audiocache.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-audiocache.lo `test -f 'audiocache.cc' || echo '$(srcdir)/'`audiocache.cc libdg_la-audiocacheeventhandler.lo: audiocacheeventhandler.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-audiocacheeventhandler.lo -MD -MP -MF $(DEPDIR)/libdg_la-audiocacheeventhandler.Tpo -c -o libdg_la-audiocacheeventhandler.lo `test -f 'audiocacheeventhandler.cc' || echo '$(srcdir)/'`audiocacheeventhandler.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-audiocacheeventhandler.Tpo $(DEPDIR)/libdg_la-audiocacheeventhandler.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='audiocacheeventhandler.cc' object='libdg_la-audiocacheeventhandler.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-audiocacheeventhandler.lo `test -f 'audiocacheeventhandler.cc' || echo '$(srcdir)/'`audiocacheeventhandler.cc libdg_la-audiocacheidmanager.lo: audiocacheidmanager.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-audiocacheidmanager.lo -MD -MP -MF $(DEPDIR)/libdg_la-audiocacheidmanager.Tpo -c -o libdg_la-audiocacheidmanager.lo `test -f 'audiocacheidmanager.cc' || echo '$(srcdir)/'`audiocacheidmanager.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-audiocacheidmanager.Tpo $(DEPDIR)/libdg_la-audiocacheidmanager.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='audiocacheidmanager.cc' object='libdg_la-audiocacheidmanager.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-audiocacheidmanager.lo `test -f 'audiocacheidmanager.cc' || echo '$(srcdir)/'`audiocacheidmanager.cc libdg_la-audioinputenginemidi.lo: audioinputenginemidi.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-audioinputenginemidi.lo -MD -MP -MF $(DEPDIR)/libdg_la-audioinputenginemidi.Tpo -c -o libdg_la-audioinputenginemidi.lo `test -f 'audioinputenginemidi.cc' || echo '$(srcdir)/'`audioinputenginemidi.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-audioinputenginemidi.Tpo $(DEPDIR)/libdg_la-audioinputenginemidi.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='audioinputenginemidi.cc' object='libdg_la-audioinputenginemidi.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-audioinputenginemidi.lo `test -f 'audioinputenginemidi.cc' || echo '$(srcdir)/'`audioinputenginemidi.cc libdg_la-audiofile.lo: audiofile.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-audiofile.lo -MD -MP -MF $(DEPDIR)/libdg_la-audiofile.Tpo -c -o libdg_la-audiofile.lo `test -f 'audiofile.cc' || echo '$(srcdir)/'`audiofile.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-audiofile.Tpo $(DEPDIR)/libdg_la-audiofile.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='audiofile.cc' object='libdg_la-audiofile.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-audiofile.lo `test -f 'audiofile.cc' || echo '$(srcdir)/'`audiofile.cc libdg_la-bytesizeparser.lo: bytesizeparser.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-bytesizeparser.lo -MD -MP -MF $(DEPDIR)/libdg_la-bytesizeparser.Tpo -c -o libdg_la-bytesizeparser.lo `test -f 'bytesizeparser.cc' || echo '$(srcdir)/'`bytesizeparser.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-bytesizeparser.Tpo $(DEPDIR)/libdg_la-bytesizeparser.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='bytesizeparser.cc' object='libdg_la-bytesizeparser.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-bytesizeparser.lo `test -f 'bytesizeparser.cc' || echo '$(srcdir)/'`bytesizeparser.cc libdg_la-channel.lo: channel.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-channel.lo -MD -MP -MF $(DEPDIR)/libdg_la-channel.Tpo -c -o libdg_la-channel.lo `test -f 'channel.cc' || echo '$(srcdir)/'`channel.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-channel.Tpo $(DEPDIR)/libdg_la-channel.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='channel.cc' object='libdg_la-channel.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-channel.lo `test -f 'channel.cc' || echo '$(srcdir)/'`channel.cc libdg_la-channelmixer.lo: channelmixer.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-channelmixer.lo -MD -MP -MF $(DEPDIR)/libdg_la-channelmixer.Tpo -c -o libdg_la-channelmixer.lo `test -f 'channelmixer.cc' || echo '$(srcdir)/'`channelmixer.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-channelmixer.Tpo $(DEPDIR)/libdg_la-channelmixer.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='channelmixer.cc' object='libdg_la-channelmixer.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-channelmixer.lo `test -f 'channelmixer.cc' || echo '$(srcdir)/'`channelmixer.cc libdg_la-configfile.lo: configfile.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-configfile.lo -MD -MP -MF $(DEPDIR)/libdg_la-configfile.Tpo -c -o libdg_la-configfile.lo `test -f 'configfile.cc' || echo '$(srcdir)/'`configfile.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-configfile.Tpo $(DEPDIR)/libdg_la-configfile.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='configfile.cc' object='libdg_la-configfile.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-configfile.lo `test -f 'configfile.cc' || echo '$(srcdir)/'`configfile.cc libdg_la-configparser.lo: configparser.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-configparser.lo -MD -MP -MF $(DEPDIR)/libdg_la-configparser.Tpo -c -o libdg_la-configparser.lo `test -f 'configparser.cc' || echo '$(srcdir)/'`configparser.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-configparser.Tpo $(DEPDIR)/libdg_la-configparser.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='configparser.cc' object='libdg_la-configparser.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-configparser.lo `test -f 'configparser.cc' || echo '$(srcdir)/'`configparser.cc libdg_la-directory.lo: directory.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-directory.lo -MD -MP -MF $(DEPDIR)/libdg_la-directory.Tpo -c -o libdg_la-directory.lo `test -f 'directory.cc' || echo '$(srcdir)/'`directory.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-directory.Tpo $(DEPDIR)/libdg_la-directory.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='directory.cc' object='libdg_la-directory.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-directory.lo `test -f 'directory.cc' || echo '$(srcdir)/'`directory.cc libdg_la-domloader.lo: domloader.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-domloader.lo -MD -MP -MF $(DEPDIR)/libdg_la-domloader.Tpo -c -o libdg_la-domloader.lo `test -f 'domloader.cc' || echo '$(srcdir)/'`domloader.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-domloader.Tpo $(DEPDIR)/libdg_la-domloader.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='domloader.cc' object='libdg_la-domloader.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-domloader.lo `test -f 'domloader.cc' || echo '$(srcdir)/'`domloader.cc libdg_la-dgxmlparser.lo: dgxmlparser.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-dgxmlparser.lo -MD -MP -MF $(DEPDIR)/libdg_la-dgxmlparser.Tpo -c -o libdg_la-dgxmlparser.lo `test -f 'dgxmlparser.cc' || echo '$(srcdir)/'`dgxmlparser.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-dgxmlparser.Tpo $(DEPDIR)/libdg_la-dgxmlparser.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='dgxmlparser.cc' object='libdg_la-dgxmlparser.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-dgxmlparser.lo `test -f 'dgxmlparser.cc' || echo '$(srcdir)/'`dgxmlparser.cc libdg_la-drumgizmo.lo: drumgizmo.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-drumgizmo.lo -MD -MP -MF $(DEPDIR)/libdg_la-drumgizmo.Tpo -c -o libdg_la-drumgizmo.lo `test -f 'drumgizmo.cc' || echo '$(srcdir)/'`drumgizmo.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-drumgizmo.Tpo $(DEPDIR)/libdg_la-drumgizmo.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='drumgizmo.cc' object='libdg_la-drumgizmo.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-drumgizmo.lo `test -f 'drumgizmo.cc' || echo '$(srcdir)/'`drumgizmo.cc libdg_la-drumgizmoconf.lo: drumgizmoconf.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-drumgizmoconf.lo -MD -MP -MF $(DEPDIR)/libdg_la-drumgizmoconf.Tpo -c -o libdg_la-drumgizmoconf.lo `test -f 'drumgizmoconf.cc' || echo '$(srcdir)/'`drumgizmoconf.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-drumgizmoconf.Tpo $(DEPDIR)/libdg_la-drumgizmoconf.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='drumgizmoconf.cc' object='libdg_la-drumgizmoconf.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-drumgizmoconf.lo `test -f 'drumgizmoconf.cc' || echo '$(srcdir)/'`drumgizmoconf.cc libdg_la-drumkit.lo: drumkit.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-drumkit.lo -MD -MP -MF $(DEPDIR)/libdg_la-drumkit.Tpo -c -o libdg_la-drumkit.lo `test -f 'drumkit.cc' || echo '$(srcdir)/'`drumkit.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-drumkit.Tpo $(DEPDIR)/libdg_la-drumkit.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='drumkit.cc' object='libdg_la-drumkit.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-drumkit.lo `test -f 'drumkit.cc' || echo '$(srcdir)/'`drumkit.cc libdg_la-drumkitloader.lo: drumkitloader.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-drumkitloader.lo -MD -MP -MF $(DEPDIR)/libdg_la-drumkitloader.Tpo -c -o libdg_la-drumkitloader.lo `test -f 'drumkitloader.cc' || echo '$(srcdir)/'`drumkitloader.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-drumkitloader.Tpo $(DEPDIR)/libdg_la-drumkitloader.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='drumkitloader.cc' object='libdg_la-drumkitloader.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-drumkitloader.lo `test -f 'drumkitloader.cc' || echo '$(srcdir)/'`drumkitloader.cc libdg_la-events.lo: events.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-events.lo -MD -MP -MF $(DEPDIR)/libdg_la-events.Tpo -c -o libdg_la-events.lo `test -f 'events.cc' || echo '$(srcdir)/'`events.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-events.Tpo $(DEPDIR)/libdg_la-events.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='events.cc' object='libdg_la-events.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-events.lo `test -f 'events.cc' || echo '$(srcdir)/'`events.cc libdg_la-events_ds.lo: events_ds.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-events_ds.lo -MD -MP -MF $(DEPDIR)/libdg_la-events_ds.Tpo -c -o libdg_la-events_ds.lo `test -f 'events_ds.cc' || echo '$(srcdir)/'`events_ds.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-events_ds.Tpo $(DEPDIR)/libdg_la-events_ds.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='events_ds.cc' object='libdg_la-events_ds.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-events_ds.lo `test -f 'events_ds.cc' || echo '$(srcdir)/'`events_ds.cc libdg_la-inputprocessor.lo: inputprocessor.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-inputprocessor.lo -MD -MP -MF $(DEPDIR)/libdg_la-inputprocessor.Tpo -c -o libdg_la-inputprocessor.lo `test -f 'inputprocessor.cc' || echo '$(srcdir)/'`inputprocessor.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-inputprocessor.Tpo $(DEPDIR)/libdg_la-inputprocessor.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='inputprocessor.cc' object='libdg_la-inputprocessor.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-inputprocessor.lo `test -f 'inputprocessor.cc' || echo '$(srcdir)/'`inputprocessor.cc libdg_la-instrument.lo: instrument.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-instrument.lo -MD -MP -MF $(DEPDIR)/libdg_la-instrument.Tpo -c -o libdg_la-instrument.lo `test -f 'instrument.cc' || echo '$(srcdir)/'`instrument.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-instrument.Tpo $(DEPDIR)/libdg_la-instrument.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='instrument.cc' object='libdg_la-instrument.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-instrument.lo `test -f 'instrument.cc' || echo '$(srcdir)/'`instrument.cc libdg_la-latencyfilter.lo: latencyfilter.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-latencyfilter.lo -MD -MP -MF $(DEPDIR)/libdg_la-latencyfilter.Tpo -c -o libdg_la-latencyfilter.lo `test -f 'latencyfilter.cc' || echo '$(srcdir)/'`latencyfilter.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-latencyfilter.Tpo $(DEPDIR)/libdg_la-latencyfilter.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='latencyfilter.cc' object='libdg_la-latencyfilter.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-latencyfilter.lo `test -f 'latencyfilter.cc' || echo '$(srcdir)/'`latencyfilter.cc libdg_la-midimapparser.lo: midimapparser.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-midimapparser.lo -MD -MP -MF $(DEPDIR)/libdg_la-midimapparser.Tpo -c -o libdg_la-midimapparser.lo `test -f 'midimapparser.cc' || echo '$(srcdir)/'`midimapparser.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-midimapparser.Tpo $(DEPDIR)/libdg_la-midimapparser.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='midimapparser.cc' object='libdg_la-midimapparser.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-midimapparser.lo `test -f 'midimapparser.cc' || echo '$(srcdir)/'`midimapparser.cc libdg_la-midimapper.lo: midimapper.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-midimapper.lo -MD -MP -MF $(DEPDIR)/libdg_la-midimapper.Tpo -c -o libdg_la-midimapper.lo `test -f 'midimapper.cc' || echo '$(srcdir)/'`midimapper.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-midimapper.Tpo $(DEPDIR)/libdg_la-midimapper.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='midimapper.cc' object='libdg_la-midimapper.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-midimapper.lo `test -f 'midimapper.cc' || echo '$(srcdir)/'`midimapper.cc libdg_la-path.lo: path.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-path.lo -MD -MP -MF $(DEPDIR)/libdg_la-path.Tpo -c -o libdg_la-path.lo `test -f 'path.cc' || echo '$(srcdir)/'`path.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-path.Tpo $(DEPDIR)/libdg_la-path.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='path.cc' object='libdg_la-path.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-path.lo `test -f 'path.cc' || echo '$(srcdir)/'`path.cc libdg_la-powerlist.lo: powerlist.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-powerlist.lo -MD -MP -MF $(DEPDIR)/libdg_la-powerlist.Tpo -c -o libdg_la-powerlist.lo `test -f 'powerlist.cc' || echo '$(srcdir)/'`powerlist.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-powerlist.Tpo $(DEPDIR)/libdg_la-powerlist.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='powerlist.cc' object='libdg_la-powerlist.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-powerlist.lo `test -f 'powerlist.cc' || echo '$(srcdir)/'`powerlist.cc libdg_la-powermap.lo: powermap.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-powermap.lo -MD -MP -MF $(DEPDIR)/libdg_la-powermap.Tpo -c -o libdg_la-powermap.lo `test -f 'powermap.cc' || echo '$(srcdir)/'`powermap.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-powermap.Tpo $(DEPDIR)/libdg_la-powermap.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='powermap.cc' object='libdg_la-powermap.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-powermap.lo `test -f 'powermap.cc' || echo '$(srcdir)/'`powermap.cc libdg_la-powermapfilter.lo: powermapfilter.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-powermapfilter.lo -MD -MP -MF $(DEPDIR)/libdg_la-powermapfilter.Tpo -c -o libdg_la-powermapfilter.lo `test -f 'powermapfilter.cc' || echo '$(srcdir)/'`powermapfilter.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-powermapfilter.Tpo $(DEPDIR)/libdg_la-powermapfilter.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='powermapfilter.cc' object='libdg_la-powermapfilter.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-powermapfilter.lo `test -f 'powermapfilter.cc' || echo '$(srcdir)/'`powermapfilter.cc libdg_la-random.lo: random.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-random.lo -MD -MP -MF $(DEPDIR)/libdg_la-random.Tpo -c -o libdg_la-random.lo `test -f 'random.cc' || echo '$(srcdir)/'`random.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-random.Tpo $(DEPDIR)/libdg_la-random.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='random.cc' object='libdg_la-random.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-random.lo `test -f 'random.cc' || echo '$(srcdir)/'`random.cc libdg_la-sample.lo: sample.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-sample.lo -MD -MP -MF $(DEPDIR)/libdg_la-sample.Tpo -c -o libdg_la-sample.lo `test -f 'sample.cc' || echo '$(srcdir)/'`sample.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-sample.Tpo $(DEPDIR)/libdg_la-sample.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='sample.cc' object='libdg_la-sample.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-sample.lo `test -f 'sample.cc' || echo '$(srcdir)/'`sample.cc libdg_la-sample_selection.lo: sample_selection.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-sample_selection.lo -MD -MP -MF $(DEPDIR)/libdg_la-sample_selection.Tpo -c -o libdg_la-sample_selection.lo `test -f 'sample_selection.cc' || echo '$(srcdir)/'`sample_selection.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-sample_selection.Tpo $(DEPDIR)/libdg_la-sample_selection.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='sample_selection.cc' object='libdg_la-sample_selection.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-sample_selection.lo `test -f 'sample_selection.cc' || echo '$(srcdir)/'`sample_selection.cc libdg_la-sem.lo: sem.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-sem.lo -MD -MP -MF $(DEPDIR)/libdg_la-sem.Tpo -c -o libdg_la-sem.lo `test -f 'sem.cc' || echo '$(srcdir)/'`sem.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-sem.Tpo $(DEPDIR)/libdg_la-sem.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='sem.cc' object='libdg_la-sem.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-sem.lo `test -f 'sem.cc' || echo '$(srcdir)/'`sem.cc libdg_la-staminafilter.lo: staminafilter.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-staminafilter.lo -MD -MP -MF $(DEPDIR)/libdg_la-staminafilter.Tpo -c -o libdg_la-staminafilter.lo `test -f 'staminafilter.cc' || echo '$(srcdir)/'`staminafilter.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-staminafilter.Tpo $(DEPDIR)/libdg_la-staminafilter.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='staminafilter.cc' object='libdg_la-staminafilter.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-staminafilter.lo `test -f 'staminafilter.cc' || echo '$(srcdir)/'`staminafilter.cc libdg_la-thread.lo: thread.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-thread.lo -MD -MP -MF $(DEPDIR)/libdg_la-thread.Tpo -c -o libdg_la-thread.lo `test -f 'thread.cc' || echo '$(srcdir)/'`thread.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-thread.Tpo $(DEPDIR)/libdg_la-thread.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='thread.cc' object='libdg_la-thread.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-thread.lo `test -f 'thread.cc' || echo '$(srcdir)/'`thread.cc libdg_la-velocityfilter.lo: velocityfilter.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-velocityfilter.lo -MD -MP -MF $(DEPDIR)/libdg_la-velocityfilter.Tpo -c -o libdg_la-velocityfilter.lo `test -f 'velocityfilter.cc' || echo '$(srcdir)/'`velocityfilter.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-velocityfilter.Tpo $(DEPDIR)/libdg_la-velocityfilter.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='velocityfilter.cc' object='libdg_la-velocityfilter.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-velocityfilter.lo `test -f 'velocityfilter.cc' || echo '$(srcdir)/'`velocityfilter.cc libdg_la-versionstr.lo: versionstr.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libdg_la-versionstr.lo -MD -MP -MF $(DEPDIR)/libdg_la-versionstr.Tpo -c -o libdg_la-versionstr.lo `test -f 'versionstr.cc' || echo '$(srcdir)/'`versionstr.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libdg_la-versionstr.Tpo $(DEPDIR)/libdg_la-versionstr.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='versionstr.cc' object='libdg_la-versionstr.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libdg_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libdg_la-versionstr.lo `test -f 'versionstr.cc' || echo '$(srcdir)/'`versionstr.cc libnls_la-translation.lo: translation.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libnls_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libnls_la-translation.lo -MD -MP -MF $(DEPDIR)/libnls_la-translation.Tpo -c -o libnls_la-translation.lo `test -f 'translation.cc' || echo '$(srcdir)/'`translation.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libnls_la-translation.Tpo $(DEPDIR)/libnls_la-translation.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='translation.cc' object='libnls_la-translation.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libnls_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libnls_la-translation.lo `test -f 'translation.cc' || echo '$(srcdir)/'`translation.cc libpugi_la-pugixml.lo: $(top_srcdir)/pugixml/src/pugixml.cpp @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpugi_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libpugi_la-pugixml.lo -MD -MP -MF $(DEPDIR)/libpugi_la-pugixml.Tpo -c -o libpugi_la-pugixml.lo `test -f '$(top_srcdir)/pugixml/src/pugixml.cpp' || echo '$(srcdir)/'`$(top_srcdir)/pugixml/src/pugixml.cpp @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpugi_la-pugixml.Tpo $(DEPDIR)/libpugi_la-pugixml.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$(top_srcdir)/pugixml/src/pugixml.cpp' object='libpugi_la-pugixml.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpugi_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libpugi_la-pugixml.lo `test -f '$(top_srcdir)/pugixml/src/pugixml.cpp' || echo '$(srcdir)/'`$(top_srcdir)/pugixml/src/pugixml.cpp libzr_la-zrwrapper.lo: zrwrapper.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libzr_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libzr_la-zrwrapper.lo -MD -MP -MF $(DEPDIR)/libzr_la-zrwrapper.Tpo -c -o libzr_la-zrwrapper.lo `test -f 'zrwrapper.cc' || echo '$(srcdir)/'`zrwrapper.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libzr_la-zrwrapper.Tpo $(DEPDIR)/libzr_la-zrwrapper.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='zrwrapper.cc' object='libzr_la-zrwrapper.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libzr_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libzr_la-zrwrapper.lo `test -f 'zrwrapper.cc' || echo '$(srcdir)/'`zrwrapper.cc libzr_la-resampler.lo: $(top_srcdir)/zita-resampler/libs/resampler.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libzr_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libzr_la-resampler.lo -MD -MP -MF $(DEPDIR)/libzr_la-resampler.Tpo -c -o libzr_la-resampler.lo `test -f '$(top_srcdir)/zita-resampler/libs/resampler.cc' || echo '$(srcdir)/'`$(top_srcdir)/zita-resampler/libs/resampler.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libzr_la-resampler.Tpo $(DEPDIR)/libzr_la-resampler.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$(top_srcdir)/zita-resampler/libs/resampler.cc' object='libzr_la-resampler.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libzr_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libzr_la-resampler.lo `test -f '$(top_srcdir)/zita-resampler/libs/resampler.cc' || echo '$(srcdir)/'`$(top_srcdir)/zita-resampler/libs/resampler.cc libzr_la-resampler-table.lo: $(top_srcdir)/zita-resampler/libs/resampler-table.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libzr_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libzr_la-resampler-table.lo -MD -MP -MF $(DEPDIR)/libzr_la-resampler-table.Tpo -c -o libzr_la-resampler-table.lo `test -f '$(top_srcdir)/zita-resampler/libs/resampler-table.cc' || echo '$(srcdir)/'`$(top_srcdir)/zita-resampler/libs/resampler-table.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libzr_la-resampler-table.Tpo $(DEPDIR)/libzr_la-resampler-table.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$(top_srcdir)/zita-resampler/libs/resampler-table.cc' object='libzr_la-resampler-table.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libzr_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libzr_la-resampler-table.lo `test -f '$(top_srcdir)/zita-resampler/libs/resampler-table.cc' || echo '$(srcdir)/'`$(top_srcdir)/zita-resampler/libs/resampler-table.cc .cpp.o: @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< .cpp.obj: @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cpp.lo: @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstLTLIBRARIES cscopelist-am ctags \ ctags-am distclean distclean-compile distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags tags-am uninstall uninstall-am .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: drumgizmo-0.9.20/src/sample.h0000644000076400007640000000340114275473130012775 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * sample.h * * Mon Jul 21 10:23:20 CEST 2008 * Copyright 2008 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include "channel.h" #include "audiofile.h" using AudioFiles = std::map; class Sample { public: Sample(const std::string& name, double power, bool normalized = false); ~Sample(); AudioFile* getAudioFile(const Channel& channel) const; double getPower() const; bool getNormalized() const; private: friend class DOMLoader; friend class DOMLoaderTest; friend class PowerList; void addAudioFile(InstrumentChannel* instrument_channel, AudioFile* audio_file); std::string name; double power; bool normalized; AudioFiles audiofiles; }; drumgizmo-0.9.20/src/audiotypes.h0000644000076400007640000000262013756436707013720 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * sample.h * * Fri Jun 3 12:12:17 CEST 2011 * Copyright 2011 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include //! Type used for storing a single audio sample using sample_t = float; //! Type used for representing a channel (index) using channel_t = std::uint16_t; //! Type for storing a engine-level (ie. midi velocity in engine land) using level_t = float; drumgizmo-0.9.20/src/id.h0000644000076400007640000000527213756436707012134 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * id.h * * Sun 16 Feb 2020 04:17:19 PM CET * Copyright 2020 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include // Typesafe ID class such that there are compiler errors if different IDs are // mixed. The template parameter T is just there to assure this behavior. // Additionally, we have a member function which can check for validity. template struct ID { public: using IDType = uint32_t; static constexpr IDType invalid_value = std::numeric_limits::max(); ID(IDType id = invalid_value) : id(id) {} operator IDType() const { return id; } IDType operator+(ID other) const { return id + other.id; } IDType operator+(int offset) const { return id + offset; } IDType operator+(size_t offset) const { return id + offset; } IDType operator-(ID other) const { return id - other.id; } IDType operator-(int offset) const { return id - offset; } IDType operator/(int div) const { return id/div; } IDType operator+=(ID other) { return id += other.id; } IDType operator-=(ID other) { return id -= other.id; } IDType operator=(ID other) { return id = other.id; } IDType operator++() { return ++id; } IDType operator--() { return --id; } bool operator!=(ID other) const { return id != other.id; } bool valid() const { return id != invalid_value; } void invalidate() { id = invalid_value; } private: IDType id; }; // define custom hash function to be able to use IDs with maps/sets namespace std { template struct hash> { using IDType = typename ID::IDType; std::size_t operator()(ID const& id) const noexcept { return std::hash()(id); } }; } // std drumgizmo-0.9.20/src/sem.cc0000644000076400007640000001116613653301171012437 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * sem.cc * * Sat Oct 8 17:44:13 CEST 2005 * Copyright 2005 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "sem.h" #include #include #include #include #include #include #include "platform.h" #if DG_PLATFORM != DG_PLATFORM_WINDOWS #include #include #include #include #endif #if DG_PLATFORM == DG_PLATFORM_OSX //#include #include #endif struct semaphore_private_t { #if DG_PLATFORM == DG_PLATFORM_WINDOWS HANDLE semaphore; #elif DG_PLATFORM == DG_PLATFORM_OSX MPSemaphoreID semaphore; #else sem_t semaphore; #endif }; Semaphore::Semaphore(std::size_t initial_count) { prv = new struct semaphore_private_t(); #if DG_PLATFORM == DG_PLATFORM_WINDOWS prv->semaphore = CreateSemaphore(nullptr, // default security attributes initial_count, std::numeric_limits::max(), nullptr); // unnamed semaphore #elif DG_PLATFORM == DG_PLATFORM_OSX MPCreateSemaphore(std::numeric_limits::max(), initial_count, &prv->semaphore); #else const int pshared = 0; memset(&prv->semaphore, 0, sizeof(sem_t)); sem_init(&prv->semaphore, pshared, initial_count); #endif } Semaphore::~Semaphore() { #if DG_PLATFORM == DG_PLATFORM_WINDOWS CloseHandle(prv->semaphore); #elif DG_PLATFORM == DG_PLATFORM_OSX MPDeleteSemaphore(prv->semaphore); #else sem_destroy(&prv->semaphore); #endif delete prv; } void Semaphore::post() { #if DG_PLATFORM == DG_PLATFORM_WINDOWS ReleaseSemaphore(prv->semaphore, 1, nullptr); #elif DG_PLATFORM == DG_PLATFORM_OSX MPSignalSemaphore(prv->semaphore); #else sem_post(&prv->semaphore); #endif } bool Semaphore::wait(const std::chrono::milliseconds& timeout) { #if DG_PLATFORM == DG_PLATFORM_WINDOWS DWORD ret = WaitForSingleObject(prv->semaphore, timeout.count()); if(ret == WAIT_TIMEOUT) { return false; } assert(ret == WAIT_OBJECT_0); #elif DG_PLATFORM == DG_PLATFORM_OSX auto ret = MPWaitOnSemaphore(prv->semaphore, kDurationMillisecond * timeout.count()); if(ret == kMPTimeoutErr) { return false; } #else struct timespec ts; clock_gettime(CLOCK_REALTIME, &ts); // Add timeout time_t seconds = (time_t)(timeout.count() / 1000); ts.tv_sec += seconds; ts.tv_nsec += (long)((timeout.count() % 1000) * 1000000); // Make sure we don't overflow the nanoseconds. constexpr long nsec = 1000000000LL; if(ts.tv_nsec >= nsec) { ts.tv_nsec -= nsec; ts.tv_sec += 1; } again: int ret = sem_timedwait(&prv->semaphore, &ts); if(ret < 0) { if(errno == EINTR) { // The timed wait were interrupted prematurely so we need to wait some // more. To prevent an infinite loop-like behaviour we make a short sleep. std::this_thread::sleep_for(std::chrono::milliseconds(1)); goto again; } if(errno == ETIMEDOUT) { return false; } perror("sem_timedwait()"); assert(false); } #endif return true; } void Semaphore::wait() { #if DG_PLATFORM == DG_PLATFORM_WINDOWS WaitForSingleObject(prv->semaphore, INFINITE); #elif DG_PLATFORM == DG_PLATFORM_OSX MPWaitOnSemaphore(prv->semaphore, kDurationForever); #else again: int ret = sem_wait(&prv->semaphore); if(ret < 0) { if(errno == EINTR) { // The wait were interrupted prematurely so we need to wait again // To prevent an infinite loop-like behaviour we make a short sleep. std::this_thread::sleep_for(std::chrono::milliseconds(1)); goto again; } perror("sem_wait()"); assert(false); } #endif } drumgizmo-0.9.20/src/channelmixer.h0000644000076400007640000000323113557561150014174 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * channelmixer.h * * Sun Oct 17 10:14:34 CEST 2010 * Copyright 2010 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include "channel.h" class MixerSettings { public: float gain; const Channel* output; }; class ChannelMixer { public: ChannelMixer(const Channels& channels, const Channel* defaultchannel = nullptr, float defaultgain = 1.0); MixerSettings& lookup(const InstrumentChannel& channel); void setDefaults(const Channel* defaultchannel, float defaultgain); private: std::map mix; const Channel* defaultchannel; float defaultgain; const Channels& channels; }; drumgizmo-0.9.20/src/midimapparser.cc0000644000076400007640000000356014201541070014501 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * midimapparser.cc * * Mon Aug 8 16:55:30 CEST 2011 * Copyright 2011 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "midimapparser.h" #include #include bool MidiMapParser::parseFile(const std::string& filename) { pugi::xml_document doc; pugi::xml_parse_result result = doc.load_file(filename.data()); if(result.status) { ERR(midimapparser, "XML parse error: %d", (int)result.offset); return false; } pugi::xml_node midimap_node = doc.child("midimap"); for(pugi::xml_node map_node : midimap_node.children("map")) { constexpr int bad_value = 10000; auto note = map_node.attribute("note").as_int(bad_value); auto instr = map_node.attribute("instr").as_string(); if(std::string(instr) == "" || note == bad_value) { continue; } MidimapEntry entry{note, instr}; midimap.push_back(entry); } return true; } drumgizmo-0.9.20/src/channelmixer.cc0000644000076400007640000000551113557561150014335 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * channelmixer.cc * * Sun Oct 17 10:14:34 CEST 2010 * Copyright 2010 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "channelmixer.h" ChannelMixer::ChannelMixer(const Channels& c, const Channel* defc, float defg) : mix{} , defaultchannel{nullptr} , defaultgain{1.f} , channels(c) { setDefaults(defc, defg); } void ChannelMixer::setDefaults(const Channel* defc, float defg) { defaultchannel = defc; if(defc == nullptr && channels.size() > 0) { defaultchannel = &channels[0]; } defaultgain = defg; } MixerSettings& ChannelMixer::lookup(const InstrumentChannel& c) { auto mi = mix.find(&c); if(mi == mix.end()) { MixerSettings m; m.gain = defaultgain; m.output = defaultchannel; mix[&c] = m; return mix[&c]; } return mi->second; } #ifdef TEST_CHANNELMIXER // deps: channel.cc // cflags: // libs: #include "test.h" TEST_BEGIN; Channel ch1; Channel ch2; Channels channels; channels.push_back(ch1); channels.push_back(ch2); { ChannelMixer mixer(channels, nullptr, 1.0); InstrumentChannel ich; MixerSettings& m = mixer.lookup(&ich); TEST_EQUAL(m.output, &channels[0], "Default channel?"); TEST_EQUAL_FLOAT(m.gain, 1.0, "Default gain?"); } { ChannelMixer mixer(channels, &channels[1]); InstrumentChannel ich; MixerSettings& m = mixer.lookup(&ich); TEST_EQUAL(m.output, &channels[1], "Default channel?"); TEST_EQUAL_FLOAT(m.gain, 1.0, "Default gain?"); } { ChannelMixer mixer(channels, &channels[1]); InstrumentChannel ich; MixerSettings& m = mixer.lookup(&ich); TEST_EQUAL(m.output, &channels[1], "Default channel?"); TEST_EQUAL_FLOAT(m.gain, 1.0, "Default gain?"); m.output = &channels[0]; m.gain = 0.5; MixerSettings& m2 = mixer.lookup(&ich); TEST_EQUAL(m2.output, &channels[0], "Changed channel?"); TEST_EQUAL_FLOAT(m2.gain, 0.5, "Changed gain?"); } TEST_END; #endif /*TEST_CHANNELMIXER*/ drumgizmo-0.9.20/src/audio.h0000644000076400007640000000223113557561147012625 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * audio.h * * Thu Sep 16 20:15:45 CEST 2010 * Copyright 2010 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include drumgizmo-0.9.20/src/range.h0000644000076400007640000000305713756436707012633 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * range.h * * Sun 16 Feb 2020 04:17:19 PM CET * Copyright 2020 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once // Having the iterator as template parameter enables us to also // define ContainerRanges with const_iterators. template struct ContainerRange { ContainerRange(iterator begin, iterator end) : _begin(begin), _end(end) {}; iterator begin() const { return _begin; }; iterator end() const { return _end; }; private: iterator const _begin; iterator const _end; }; drumgizmo-0.9.20/src/audiocacheidmanager.h0000644000076400007640000000534113557561150015460 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * audiocacheidmanager.h * * Tue Jan 5 10:59:37 CET 2016 * Copyright 2016 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include class AudioCacheFile; #define CACHE_DUMMYID -2 #define CACHE_NOID -1 typedef int cacheid_t; struct cache_t { cacheid_t id{CACHE_NOID}; //< Current id of this cache_t. CACHE_NOID means not in use. AudioCacheFile* afile{nullptr}; size_t channel{0}; size_t pos{0}; //< File position volatile bool ready{false}; sample_t* front{nullptr}; sample_t* back{nullptr}; size_t localpos{0}; //< Intra buffer (front) position. sample_t* preloaded_samples{nullptr}; // nullptr means preload buffer not active. size_t preloaded_samples_size{0}; }; class AudioCacheIDManager { friend class AudioCacheEventHandler; public: AudioCacheIDManager() = default; ~AudioCacheIDManager(); //! Initialise id lists with specified capacity. //! Exceeding this capacity will result in CACHE_DUMMYID on calls to //! registerID. void init(unsigned int capacity); //! Get the cache object connected with the specified cacheid. //! Note: The cacheid MUST be active. cache_t& getCache(cacheid_t id); //! Reserve a new cache object and return its cacheid. //! The contents of the supplied cache object will be copied to the new //! cache object. cacheid_t registerID(const cache_t& cache); //! Release a cache object and its correseponding cacheid. //! After this call the cacheid can no longer be used. void releaseID(cacheid_t id); protected: // For AudioCacheEventHandler void disableActive(); std::vector getActiveIDs(); std::mutex mutex; std::vector id2cache; std::vector available_ids; }; drumgizmo-0.9.20/src/powermapfilter.cc0000644000076400007640000000354213756436707014734 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * powermapfilter.cc * * Mon Apr 20 23:28:12 CEST 2020 * Copyright 2020 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "powermapfilter.h" #include "settings.h" PowermapFilter::PowermapFilter(Settings& settings) : settings(settings) { } bool PowermapFilter::filter(event_t& event, size_t pos) { // the position is irrelevant for this filter (void) pos; settings.powermap_input.store(event.velocity); if (settings.enable_powermap.load()) { powermap.setFixed0({settings.powermap_fixed0_x.load(), settings.powermap_fixed0_y.load()}); powermap.setFixed1({settings.powermap_fixed1_x.load(), settings.powermap_fixed1_y.load()}); powermap.setFixed2({settings.powermap_fixed2_x.load(), settings.powermap_fixed2_y.load()}); powermap.setShelf(settings.powermap_shelf.load()); event.velocity = powermap.map(event.velocity); } settings.powermap_output.store(event.velocity); return true; } drumgizmo-0.9.20/src/configparser.h0000644000076400007640000000267213557561150014211 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * configparser.h * * Sat Jun 29 21:55:02 CEST 2013 * Copyright 2013 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include class ConfigParser { public: //! Returns false on failure, true on success. bool parseString(const std::string& xml); std::string value(const std::string& name, const std::string& def = ""); private: std::unordered_map values; }; drumgizmo-0.9.20/src/logger.h0000644000076400007640000000233413653301171012771 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * logger.h * * Wed Jul 24 19:42:25 CEST 2019 * Copyright 2019 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include enum class LogLevel { Info, Warning, Error, }; using LogFunction = std::function; drumgizmo-0.9.20/src/rangemap.h0000644000076400007640000000512213557561150013312 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * rangemap.h * * Wed Sep 22 19:17:49 CEST 2010 * Copyright 2010 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include template class RangeMap { public: void insert(T1 from, T1 to, T2 value); std::vector get(T1 from, T1 to); std::vector get(T1 at); private: friend class DOMLoaderTest; std::multimap, T2> values; }; template void RangeMap::insert(T1 from, T1 to, T2 value) { if(from < to) { values.insert(std::make_pair(std::make_pair(from, to), value)); } else { values.insert(std::make_pair(std::make_pair(to, from), value)); } } template std::vector RangeMap::get(T1 from, T1 to) { std::vector res; typename std::multimap, T2>::iterator i = values.begin(); while(i != values.end()) { T1 a = i->first.first; T1 b = i->first.second; if((from >= a && to <= b) || // inside (from <= a && to >= b) || // containing (from <= a && to >= a && to <= b) || // overlapping lower (from >= a && from <= b && to >= b) // overlapping upper ) { res.push_back(i->second); } i++; } return res; } template std::vector RangeMap::get(T1 at) { std::vector res; typename std::multimap, T2>::iterator i = values.begin(); while(i != values.end()) { T1 a = i->first.first; T1 b = i->first.second; if(at >= a && at <= b) { res.push_back(i->second); } i++; } return res; } drumgizmo-0.9.20/src/audiocacheeventhandler.cc0000644000076400007640000001477114050174630016345 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * audiocacheeventhandler.cc * * Sun Jan 3 19:57:55 CET 2016 * Copyright 2016 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "audiocacheeventhandler.h" #include #include #include "audiocachefile.h" #include "audiocache.h" #include "audiocacheidmanager.h" enum class EventType { LoadNext, Close, }; class CacheEvent { public: EventType event_type; // For close event: cacheid_t id; // For load next event: size_t pos; AudioCacheFile* afile; CacheChannels channels; }; AudioCacheEventHandler::AudioCacheEventHandler(AudioCacheIDManager& id_manager) : id_manager(id_manager) { } AudioCacheEventHandler::~AudioCacheEventHandler() { // Close all ids already enqueued to be closed. clearEvents(); auto active_ids = id_manager.getActiveIDs(); for(auto id : active_ids) { handleCloseCache(id); } } void AudioCacheEventHandler::start() { if(running) { return; } running = true; run(); sem_run.wait(); } void AudioCacheEventHandler::stop() { if(!running) { return; } running = false; sem.post(); wait_stop(); } void AudioCacheEventHandler::setThreaded(bool threaded) { this->threaded.store(threaded); } bool AudioCacheEventHandler::isThreaded() const { return threaded.load(); } void AudioCacheEventHandler::lock() { mutex.lock(); } void AudioCacheEventHandler::unlock() { mutex.unlock(); } void AudioCacheEventHandler::pushLoadNextEvent(AudioCacheFile* afile, size_t channel, size_t pos, sample_t* buffer, volatile bool* ready) { CacheEvent cache_event; cache_event.event_type = EventType::LoadNext; cache_event.pos = pos; cache_event.afile = afile; CacheChannel c; c.channel = channel; c.samples = buffer; *ready = false; c.ready = ready; cache_event.channels.insert(cache_event.channels.end(), c); pushEvent(cache_event); } void AudioCacheEventHandler::pushCloseEvent(cacheid_t id) { CacheEvent cache_event; cache_event.event_type = EventType::Close; cache_event.id = id; pushEvent(cache_event); } void AudioCacheEventHandler::setChunkSize(size_t chunksize) { DEBUG(cache, "%s\n", __PRETTY_FUNCTION__); // We should already locked when this method is called. //assert(!mutex.try_lock()); if(this->chunksize == chunksize) { return; } DEBUG(cache, "setChunkSize 1\n"); // Remove all events from event queue. clearEvents(); DEBUG(cache, "setChunkSize 2\n"); // Skip all active cacheids and make their buffers point at nodata. id_manager.disableActive(); DEBUG(cache, "setChunkSize 3\n"); this->chunksize = chunksize; } size_t AudioCacheEventHandler::getChunkSize() const { return chunksize; } AudioCacheFile& AudioCacheEventHandler::openFile(const std::string& filename) { std::lock_guard lock(mutex); return files.getFile(filename); } void AudioCacheEventHandler::clearEvents() { // Iterate all events ignoring load events and handling close events. for(auto& event : eventqueue) { if(event.event_type == EventType::Close) { handleCloseCache(event.id); // This method does not lock. } } eventqueue.clear(); } void AudioCacheEventHandler::handleLoadNextEvent(CacheEvent& cache_event) { assert(cache_event.afile); // Assert that we have an audio file cache_event.afile->readChunk(cache_event.channels, cache_event.pos, chunksize); } void AudioCacheEventHandler::handleCloseEvent(CacheEvent& cache_event) { std::lock_guard lock(mutex); handleCloseCache(cache_event.id); } void AudioCacheEventHandler::handleCloseCache(cacheid_t id) { auto& cache = id_manager.getCache(id); // Only close the file if we have also opened it. if(cache.afile) { files.releaseFile(cache.afile->getFilename()); } delete[] cache.front; delete[] cache.back; id_manager.releaseID(id); } void AudioCacheEventHandler::handleEvent(CacheEvent& cache_event) { switch(cache_event.event_type) { case EventType::LoadNext: handleLoadNextEvent(cache_event); break; case EventType::Close: handleCloseEvent(cache_event); break; } } void AudioCacheEventHandler::thread_main() { sem_run.post(); // Signal that the thread has been started while(running) { sem.wait(); mutex.lock(); if(eventqueue.empty()) { mutex.unlock(); continue; } CacheEvent cache_event = eventqueue.front(); eventqueue.pop_front(); mutex.unlock(); handleEvent(cache_event); } } void AudioCacheEventHandler::pushEvent(CacheEvent& cache_event) { if(!threaded.load()) { handleEvent(cache_event); return; } { std::lock_guard lock(mutex); bool found = false; if(cache_event.event_type == EventType::LoadNext) { for(auto& queued_event : eventqueue) { if(queued_event.event_type == EventType::LoadNext) { assert(cache_event.afile); // Assert that we have an audio file assert(queued_event.afile); // Assert that we have an audio file if((cache_event.afile->getFilename() == queued_event.afile->getFilename()) && (cache_event.pos == queued_event.pos)) { // Append channel and buffer to the existing event. queued_event.channels.insert(queued_event.channels.end(), cache_event.channels.begin(), cache_event.channels.end()); found = true; break; } } } } if(!found) { // The event was not already on the list, create a new one. eventqueue.push_back(cache_event); } } sem.post(); } drumgizmo-0.9.20/src/audiocache.h0000644000076400007640000001014513557561150013606 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * audiocache.h * * Fri Apr 10 10:39:24 CEST 2015 * Copyright 2015 Jonas Suhr Christensen * jsc@umbraculum.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include #include "audiotypes.h" #include "audiofile.h" #include "audiocachefile.h" #include "audiocacheidmanager.h" #include "audiocacheeventhandler.h" #include "settings.h" class AudioCache { public: AudioCache(Settings& settings); //! Destroy object and stop thread if needed. ~AudioCache(); //! Initialise cache manager and allocate needed resources //! This method starts the cache manager thread. //! This method blocks until the thread has been started. //! \param poolsize The maximum number of parellel events supported. void init(std::size_t poolsize); //! Stop thread and clean up resources. //! This method blocks until the thread has stopped. void deinit(); //! Register new cache entry. //! Prepares an entry in the cache manager for future disk streaming. //! \param file A pointer to the file which is to be streamed from. //! \param initial_samples_needed The number of samples needed in the first //! read that is not nessecarily of framesize. This is the number of samples //! from the input event offset to the end of the frame in which it resides. //! initial_samples_needed <= framesize. //! \param channel The channel to which the cache id will be bound. //! \param [out] new_id The newly created cache id. //! \return A pointer to the first buffer containing the //! 'initial_samples_needed' number of samples. sample_t* open(const AudioFile& file, std::size_t initial_samples_needed, int channel, cacheid_t& new_id); //! Get next buffer. //! Returns the next buffer for reading based on cache id. //! This function will (if needed) schedule a new disk read to make sure that //! data is available in the next call to this method. //! \param id The cache id to read from. //! \param [out] size The size of the returned buffer. //! \return A pointer to the buffer. sample_t* next(cacheid_t id, std::size_t &size); //! Returns true iff the next chunk of the supplied id has been read from disk. bool isReady(cacheid_t id); //! Unregister cache entry. //! Close associated file handles and free associated buffers. //! \param id The cache id to close. void close(cacheid_t id); //! Set/get internal framesize used when iterating through cache buffers. void setFrameSize(std::size_t framesize); std::size_t getFrameSize() const; //! Signal the AudioCache sub-system to set it's internals according to the //! chunk size parameter from Settings. void updateChunkSize(std::size_t output_channels); //! Control/get reader threaded mode. //! True means reading happening threaded, false means all reading done //! synchronious. void setAsyncMode(bool async); bool isAsyncMode() const; private: std::size_t framesize{0}; sample_t* nodata{nullptr}; std::size_t nodata_framesize{0}; std::size_t chunk_size{0}; std::list> nodata_dirty; AudioCacheIDManager id_manager; AudioCacheEventHandler event_handler{id_manager}; Settings& settings; }; drumgizmo-0.9.20/src/translation.cc0000644000076400007640000002140713756436707014232 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * translation.cc * * Sun Sep 8 14:13:22 CEST 2019 * Copyright 2019 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "translation.h" #ifdef WITH_NLS #include #include #include #include #include #include #include #ifdef _WIN32 #define WIN32_LEAN_AND_MEAN #include #endif namespace { using Text = std::pair; using Texts = std::vector; struct { std::mutex mutex; int refcnt{0}; Texts texts; } singleton; bool comparator(const Text& a, const Text& b) { return a.first < b.first; } } Translation::Translation() { std::lock_guard(singleton.mutex); ++singleton.refcnt; } Translation::~Translation() { std::lock_guard(singleton.mutex); --singleton.refcnt; if(singleton.refcnt == 0) { singleton.texts.clear(); } } bool Translation::load(const char* catalog, std::size_t size) { Texts texts; // https://www.gnu.org/software/gettext/manual/html_node/MO-Files.html // byte // +------------------------------------------+ // 0 | magic number = 0x950412de | // | | // 4 | file format revision = 0 | // | | // 8 | number of strings | == N // | | // 12 | offset of table with original strings | == O // | | // 16 | offset of table with translation strings | == T // | | // 20 | size of hashing table | == S // | | // 24 | offset of hashing table | == H // | | // . . // . (possibly more entries later) . // . . // | | // O | length & offset 0th string ----------------. // O + 8 | length & offset 1st string ------------------. // ... ... | | // O + ((N-1)*8)| length & offset (N-1)th string | | | // | | | | // T | length & offset 0th translation ---------------. // T + 8 | length & offset 1st translation -----------------. // ... ... | | | | // T + ((N-1)*8)| length & offset (N-1)th translation | | | | | // | | | | | | // H | start hash table | | | | | // ... ... | | | | // H + S * 4 | end hash table | | | | | // | | | | | | // | NUL terminated 0th string <----------------' | | | // | | | | | // | NUL terminated 1st string <------------------' | | // | | | | // ... ... | | // | | | | // | NUL terminated 0th translation <---------------' | // | | | // | NUL terminated 1st translation <-----------------' // | | // ... ... // | | // +------------------------------------------+ constexpr std::uint32_t magic_number_le = 0x950412de; constexpr std::uint32_t magic_number_be = 0xde120495; const char* ptr = catalog; // Verify magic number std::uint32_t magic_number = *reinterpret_cast(ptr); if(magic_number != magic_number_le && magic_number != magic_number_be) { // Error - bad magic number return false; } ptr += sizeof(magic_number); // Verify file format revision std::uint32_t file_format_revision = *reinterpret_cast(ptr); if(file_format_revision != 0) { // Error - bad file format revision return false; } ptr += sizeof(file_format_revision); // Read number of string in the catalog std::uint32_t number_of_strings = *reinterpret_cast(ptr); ptr += sizeof(number_of_strings); // Read orig_table_offset std::uint32_t orig_table_offset = *reinterpret_cast(ptr); ptr += sizeof(orig_table_offset); // Read transl_table_offset std::uint32_t transl_table_offset = *reinterpret_cast(ptr); ptr += sizeof(transl_table_offset); // Read hash_table_size std::uint32_t hash_table_size = *reinterpret_cast(ptr); ptr += sizeof(hash_table_size); // Read hash_table_offset std::uint32_t hash_table_offset = *reinterpret_cast(ptr); ptr += sizeof(hash_table_offset); // Read original/translated string tables: const char* orig_ptr = catalog + orig_table_offset; const char* transl_ptr = catalog + transl_table_offset; for(std::uint32_t string_index = 0; string_index < number_of_strings; ++string_index) { // Read string_length std::uint32_t orig_string_length = *reinterpret_cast(orig_ptr); orig_ptr += sizeof(orig_string_length); // Read string_offset std::uint32_t orig_string_offset = *reinterpret_cast(orig_ptr); orig_ptr += sizeof(orig_string_offset); std::string orig; orig.append(catalog + orig_string_offset, orig_string_length); // Read string_length std::uint32_t transl_string_length = *reinterpret_cast(transl_ptr); transl_ptr += sizeof(transl_string_length); // Read string_offset std::uint32_t transl_string_offset = *reinterpret_cast(transl_ptr); transl_ptr += sizeof(transl_string_offset); std::string transl; transl.append(catalog + transl_string_offset, transl_string_length); texts.push_back(make_pair(const_hash(orig.data()), transl)); } std::sort(texts.begin(), texts.end(), comparator); { std::lock_guard(singleton.mutex); std::swap(singleton.texts, texts); } return true; } const char* Translation::gettext(std::uint64_t msgid, const char* original) { std::lock_guard(singleton.mutex); if(singleton.refcnt == 0) { return original; } auto it = std::lower_bound(singleton.texts.begin(), singleton.texts.end(), make_pair(msgid, std::string()), comparator); if(it == singleton.texts.end() || it->first != msgid) { return original; } return it->second.data(); } std::string Translation::getISO639LanguageName() { std::string lang; #ifdef _WIN32 LCID lcid = GetUserDefaultLCID(); char name[LOCALE_NAME_MAX_LENGTH]; GetLocaleInfo(lcid, LOCALE_SISO639LANGNAME, name, LOCALE_NAME_MAX_LENGTH); lang = name; #else try { auto langstr = setlocale(LC_ALL, ""); if(langstr != nullptr) { lang = langstr; } } catch(...) { // Bad locale: don't load anything - use default printf("Bad locale: don't load anything - use default\n"); return ""; } if(lang == "C") { printf("Don't load anything - use default\n"); return ""; // Don't load anything - use default } auto _ = lang.find('_'); lang = lang.substr(0, _); #endif return lang; } #endif // WITH_NLS drumgizmo-0.9.20/src/sample_selection.cc0000644000076400007640000001121714275473130015204 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * sample_selection.h * * Mon Mar 4 23:58:12 CET 2019 * Copyright 2019 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "sample_selection.h" #include #include "powerlist.h" #include "random.h" #include "settings.h" #include namespace { float pow2(float f) { return f*f; } } // end anonymous namespace SampleSelection::SampleSelection(Settings& settings, Random& rand, const PowerList& powerlist) : settings(settings), rand(rand), powerlist(powerlist) { } void SampleSelection::finalise() { last.assign(powerlist.getPowerListItems().size(), 0); } const Sample* SampleSelection::get(level_t level, std::size_t pos) { const auto& samples = powerlist.getPowerListItems(); if(!samples.size()) { return nullptr; // No samples to choose from. } std::size_t index_opt = 0; float power_opt{0.f}; float value_opt{std::numeric_limits::max()}; // the following three values are mostly for debugging float random_opt = 0.; float close_opt = 0.; float diverse_opt = 0.; // Note the magic values in front of the settings factors. const float f_close = 4.*settings.sample_selection_f_close.load(); const float f_diverse = (1./2.)*settings.sample_selection_f_diverse.load(); const float f_random = (1./3.)*settings.sample_selection_f_random.load(); float power_range = powerlist.getMaxPower() - powerlist.getMinPower(); // If all power values are the same then power_range is invalid but we want // to avoid division by zero. if (power_range == 0.) { power_range = 1.0; } // start with most promising power value and then stop when reaching far values // which cannot become opt anymore auto closest_it = std::lower_bound(samples.begin(), samples.end(), level); std::size_t up_index = std::distance(samples.begin(), closest_it); std::size_t down_index = (up_index == 0 ? 0 : up_index - 1); float up_value_lb; if (up_index < samples.size()) { auto const close_up = (samples[up_index].power-level)/power_range; up_value_lb = f_close*pow2(close_up); } else { --up_index; up_value_lb = std::numeric_limits::max(); } auto const close_down = (samples[down_index].power-level)/power_range; float down_value_lb = (up_index != 0 ? f_close*pow2(close_down) : std::numeric_limits::max()); std::size_t count = 0; do { DEBUG(rand, "%d %d", (int)up_index, (int)down_index); assert(down_index <= up_index); std::size_t current_index; if (up_value_lb < down_value_lb) { current_index = up_index; if (up_index != samples.size()-1) { ++up_index; up_value_lb = f_close*pow2((samples[up_index].power-level)/power_range); } else { up_value_lb = std::numeric_limits::max(); } } else { current_index = down_index; if (down_index != 0) { --down_index; down_value_lb = f_close*pow2((samples[down_index].power-level)/power_range); } else { down_value_lb = std::numeric_limits::max(); } } auto random = rand.floatInRange(0.,1.); auto close = (samples[current_index].power - level)/power_range; auto diverse = 1./(1. + (float)(pos - last[current_index])/settings.samplerate); auto value = f_close*pow2(close) + f_diverse*diverse + f_random*random; if (value < value_opt) { index_opt = current_index; power_opt = samples[current_index].power; value_opt = value; random_opt = random; close_opt = close; diverse_opt = diverse; } ++count; } while (up_value_lb <= value_opt || down_value_lb <= value_opt); DEBUG(rand, "Chose sample with index: %d, value: %f, power %f, random: %f, close: %f, diverse: %f, count: %d", (int)index_opt, value_opt, power_opt, random_opt, close_opt, diverse_opt, (int)count); last[index_opt] = pos; return samples[index_opt].sample; } drumgizmo-0.9.20/src/drumkit.cc0000644000076400007640000000407413756436707013354 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * drumkit.cc * * Wed Mar 9 15:27:27 CET 2011 * Copyright 2011 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "drumkit.h" DrumKit::DrumKit() { magic = this; } DrumKit::~DrumKit() { magic = NULL; clear(); } void DrumKit::clear() { instruments.clear(); channels.clear(); // Set all metadata fields to empty values. metadata = {}; // Explicitly set the samplerate default value, since this cannot be 0 metadata._samplerate = 44100.0f; } bool DrumKit::isValid() const { return this == magic; } std::string DrumKit::getFile() const { return _file; } std::string DrumKit::getName() const { return metadata._name; } std::string DrumKit::getDescription() const { return metadata._description; } VersionStr DrumKit::getVersion() const { return metadata._version; } float DrumKit::getSamplerate() const { return metadata._samplerate; } std::size_t DrumKit::getNumberOfFiles() const { std::size_t number_of_files = 0; for(const auto & instrument : instruments) { number_of_files += instrument->getNumberOfFiles(); } return number_of_files; } drumgizmo-0.9.20/src/drumgizmo.h0000644000076400007640000000560514100601506013524 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * drumgizmo.h * * Thu Sep 16 10:24:40 CEST 2010 * Copyright 2010 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include #include #include "audiooutputengine.h" #include "audioinputengine.h" #include "events.h" #include "events_ds.h" #include "audiofile.h" #include "drumgizmoconf.h" #include "drumkit.h" #include "drumkitloader.h" #include "audiocache.h" #include "settings.h" #include "inputprocessor.h" #include "zrwrapper.h" #define REFSFILE "refs.conf" class DrumGizmo { public: DrumGizmo(Settings& settings, AudioOutputEngine& outputengine, AudioInputEngine& inputengine); virtual ~DrumGizmo(); bool init(); bool run(size_t pos, sample_t *samples, size_t nsamples); void stop(); void renderSampleEvent(SampleEvent& evt, int pos, sample_t *s, std::size_t sz); void getSamples(int ch, int pos, sample_t *s, size_t sz); //! Get the current engine latency in samples. std::size_t getLatency() const; float samplerate(); void setSamplerate(float samplerate, float resample_quality = 0.7f); void setFrameSize(size_t framesize); void setFreeWheel(bool freewheel); void setRandomSeed(unsigned int seed); private: static constexpr int MAX_RESAMPLER_BUFFER_SIZE = 4096 * 8; protected: DrumKitLoader loader; DrumgizmoConfig config; AudioOutputEngine& oe; AudioInputEngine& ie; EventsDS events_ds; bool enable_resampling{true}; std::map audiofiles; AudioCache audio_cache; DrumKit kit; InputProcessor input_processor; size_t framesize{0}; bool freewheel{true}; std::vector events; Settings& settings; SettingsGetter settings_getter; Random rand; std::array zita; std::array, NUM_CHANNELS> resampler_input_buffer; double ratio = 1.0; std::vector scratch_buffer; }; drumgizmo-0.9.20/src/events_ds.h0000644000076400007640000001534414102460107013504 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * events_ds.h * * Sun Jan 12 00:17:31 CET 2020 * Copyright 2020 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include #include "events.h" #include "id.h" #include "memory_heap.h" #include "range.h" #include "instrument.h" //! EventsDS (events data structure) is the central engine events data structure. //! It enables the following fast operations: //! * Add a new event //! * Remove an event //! * Iterate over all events of a channel //! * Get all events of a certain group //! * ... //! //! All operations are constant time (assuming bounded group sizes). Also, it //! assignes the event ids and group ids. Certain functions may be specific to certain event types. //! //! This data structure makes several assumptions about its usage: //! * we assume that we add a group in one batch without deleting anything in-between //! * we assume that an event_id isn't used after remove(event_id) was called //! * we assume that before starting to emplace a new group, startAddingNewGroup is called // TODO: make it possible to choose sizes of all the containers on initialization // such that we avoid allocations all together as long as we stay in these bounds. class EventsDS { public: //! Adds a new event of type T (via emplace syntax) to the data structure. template T& emplace(channel_t ch, Args&&... args); //! Removes the event with id being event_id. void remove(EventID event_id); //! Returns a reference to the element with id begin event_id. Note that to //! get an event with this function, one has to know its type! template T& get(EventID event_id); //! In case we don't know the type of an event, we can use this function to //! retrieve it and then use get(...) to get the event. Event::Type getType(EventID event_id) const; //! Returns the number of all events of a certain channel. std::size_t numberOfEvents(channel_t ch) const; //! Gives a range that can be used in a range based for loop to iterate over //! all events in channel ch of type T. template ContainerRange> iterateOver(channel_t ch); //! Returns all the group ids of sample events associated with instrument_id. const EventGroupIDs& getSampleEventGroupIDsOf(InstrumentID instrument_id) const; //! Get all the event ids of events that are in the group with event_group_id. const EventIDs& getEventIDsOf(EventGroupID event_group_id) const; //! This function should always be called before we emplace a new batch of //! events. This internally creates a new group id and then assigns this group //! id to all the events that are emplaced afterwards. The group id changes, //! when startAddingNewGroup is again called. void startAddingNewGroup(InstrumentID instrument_id = InstrumentID()); //! Clears the whole data structure to make it ready for a new drum kit. void clear(); private: struct ChannelData { std::vector sample_events; }; using ChannelEventIndex = std::size_t; struct EventInfo { Event::Type type; channel_t ch; ChannelEventIndex channel_event_index; EventInfo(Event::Type type, channel_t ch, ChannelEventIndex channel_event_index) : type(type), ch(ch), channel_event_index(channel_event_index) {} }; struct GroupData { EventIDs event_ids; // Note: In the future, we could make groups just consist of events of one type. // Currently that is not necessary, but untested. // Event::Type type; // SampleEvent specific data std::size_t instrument_index; }; // general data std::array channel_data_array; MemoryHeap id_to_info; MemoryHeap id_to_group_data; // SampleEvent specific data // TODO: Make this into a vector and always have the size be the number of instruments. std::array instruments_sample_event_group_ids; EventGroupID current_group_id; InstrumentID current_groups_instrument_id; void removeGroup(EventGroupID group_id, InstrumentID instrument_id = InstrumentID()); template T& getSample(EventInfo const& info); }; template T& EventsDS::emplace(channel_t ch, Args&&... args) { assert(ch < NUM_CHANNELS); // add new event types here static_assert(std::is_same::value, "Check event type"); if (std::is_same::value) { auto& sample_events = channel_data_array[ch].sample_events; auto channel_event_index = sample_events.size(); sample_events.emplace_back(std::forward(args)...); auto event_id = id_to_info.emplace(Event::Type::SampleEvent, ch, channel_event_index); id_to_group_data.get(current_group_id).event_ids.push_back(event_id); auto& sample_event = sample_events.back(); sample_event.id = event_id; sample_event.group_id = current_group_id; assert(sample_event.instrument_id == current_groups_instrument_id); assert(sample_event.channel == ch); return sample_event; } } template T& EventsDS::get(EventID event_id) { return getSample(id_to_info.get(event_id)); } template ContainerRange> EventsDS::iterateOver(channel_t ch) { assert(ch < NUM_CHANNELS); // add new event types here static_assert(std::is_same::value, "Check event type"); if (std::is_same::value) { auto& sample_events = channel_data_array[ch].sample_events; return ContainerRange>(sample_events.begin(), sample_events.end()); } } template T& EventsDS::getSample(EventInfo const& info) { assert(info.ch < NUM_CHANNELS); // add new event types here static_assert(std::is_same::value, "Check event type"); if (std::is_same::value) { return channel_data_array[info.ch].sample_events[info.channel_event_index]; } } drumgizmo-0.9.20/src/cpp11fix.h0000644000076400007640000000252013563550230013144 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * cpp11fix.h * * Mi 20. Jan 10:22:36 CET 2016 * Copyright 2016 Christian Glckner * cgloeckner@freenet.de ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include namespace std { template std::unique_ptr make_unique(Args&& ...args) { return std::unique_ptr{new T{std::forward(args)...}}; } } // std drumgizmo-0.9.20/src/directory.h0000644000076400007640000000470413756436707013543 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * directory.h * * Tue Apr 23 22:01:07 CEST 2013 * Copyright 2013 Jonas Suhr Christensen * jsc@umbraculum.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include #include #define DIRECTORY_HIDDEN 1 class Directory { public: typedef struct drive { int number; std::string name; } drive_t; typedef std::list EntryList; typedef std::list DriveList; Directory(std::string path); ~Directory(); std::string seperator(); size_t count(); void refresh(); std::string path(); bool cdUp(); bool cd(std::string dir); bool isDir(); void setPath(std::string path); bool fileExists(std::string file); // Add filter, ie. directories or files only EntryList entryList(); //void setSorting(); static std::string cwd(); static std::string root(); static std::string root(std::string path); static std::string cleanPath(std::string path); static Directory::EntryList listFiles(std::string path, unsigned char filter = 0); static bool isRoot(std::string path); static Directory::DriveList drives(); static bool isDir(std::string path); static bool isHidden(std::string entry); static bool exists(std::string path); static std::string pathDirectory(std::string filepath); private: std::string _path; EntryList _files; DriveList _drives; typedef std::list Path; static Path parsePath(std::string path); static std::string pathToStr(Path &path); }; drumgizmo-0.9.20/src/drumkitloader.h0000644000076400007640000000564413653301171014367 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * drumkitloader.h * * Thu Jan 17 20:54:13 CET 2013 * Copyright 2013 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include #include "thread.h" #include "sem.h" #include "drumkit.h" #include "settings.h" #include "audioinputengine.h" #include "audiocache.h" struct DrumkitDOM; struct InstrumentDOM; //! This class is responsible for loading the drumkits in its own thread. //! All interaction calls are simply modifying queues and not doing any //! work in-sync with the caller. //! This means that if loadKit(...) is called, one cannot assume that the //! drumkit has actually been loaded when the call returns. class DrumKitLoader : public Thread { public: DrumKitLoader(Settings& settings, DrumKit& kit, AudioInputEngine& ie, Random& rand, AudioCache& audio_cache); ~DrumKitLoader(); //! Starts the loader thread. void init(); //! Signal the loader thread to stop and waits for the threads to merge //! before returning. void deinit(); bool loadkit(const std::string& file); //! Signal the loader to start loading all audio files contained in the kit. //! All other AudioFiles in queue will be removed before the new ones are //! scheduled. void loadKitAudio(const DrumKit& kit); //! Skip all queued AudioFiles. void skip(); //! Set the framesize which will be used to preloading samples in next //! loadKit call. void setFrameSize(std::size_t framesize); protected: void thread_main(); Semaphore run_semaphore; Semaphore semaphore; Semaphore framesize_semaphore; std::mutex mutex; volatile bool running{false}; std::list load_queue; std::size_t framesize{0}; Settings& settings; SettingsGetter getter; DrumKit& kit; AudioInputEngine& ie; //MemChecker memchecker; Random& rand; AudioCache& audio_cache; std::size_t preload_samples{std::numeric_limits::max()}; LogFunction logger; }; drumgizmo-0.9.20/src/notifier.h0000644000076400007640000000705213557561150013343 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * notifier.h * * Thu Sep 3 15:48:39 CEST 2015 * Copyright 2015 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include namespace aux { template struct placeholder { }; } namespace std { template struct is_placeholder> : integral_constant { }; } namespace aux { // std::integer_sequence introduced in C++14 so remove this once we start requiring that. template struct int_sequence { }; template struct gen_int_sequence : gen_int_sequence { }; template struct gen_int_sequence<0, Ns...> : int_sequence { }; }; //namespace GUI { class Listener; class NotifierBase { public: virtual void disconnect(Listener* object) {} }; class Listener { public: virtual ~Listener() { for(auto signal : signals) { signal->disconnect(this); } } void registerNotifier(NotifierBase* signal) { signals.insert(signal); } void unregisterNotifier(NotifierBase* signal) { signals.erase(signal); } private: std::set signals; }; template class Notifier : public NotifierBase { public: Notifier() {} //! \brief When dtor is called it will automatically disconnect all its listeners. ~Notifier() { for(auto& slot : slots) { slot.first->unregisterNotifier(this); } } using callback_type = std::function; //! \brief Connect object to this Notifier. template void connect(O* p, const F& fn) { slots.emplace_back(std::make_pair(p, std::move(construct_mem_fn(fn, p, aux::gen_int_sequence{})))); if(p && dynamic_cast(p)) { dynamic_cast(p)->registerNotifier(this); } } //! \brief Disconnect object from this Notifier. void disconnect(Listener* object) { for(auto it = slots.begin(); it != slots.end(); ++it) { if(it->first == object) { slots.erase(it); return; } } } //! \brief Activate this notifier by pretending it is a function. //! Example: Notifier foo; foo(42); void operator()(Args... args) { for(auto& slot : slots) { slot.second(args...); } } private: std::list> slots; template callback_type construct_mem_fn(const F& fn, O* p, aux::int_sequence) const { return std::bind(fn, p, aux::placeholder{}...); } }; //} // GUI:: #define CONNECT(SRC, SIG, TAR, SLO) (SRC)->SIG.connect(TAR, SLO) drumgizmo-0.9.20/src/Makefile.am0000644000076400007640000000501014275473130013375 00000000000000noinst_LTLIBRARIES = libdg.la libzr.la libpugi.la libnls.la # shared nls component libnls_la_CPPFLAGS = libnls_la_LIBADD = libnls_la_SOURCES = \ translation.cc # libzita-resampler libzr_la_CPPFLAGS = \ -ffast-math -D_USE_MATH_DEFINES $(PTHREAD_CFLAGS) \ -I$(top_srcdir)/zita-resampler/libs libzr_la_LIBADD = \ $(PTHREAD_LIBS) libzr_la_SOURCES = \ zrwrapper.cc \ $(top_srcdir)/zita-resampler/libs/resampler.cc \ $(top_srcdir)/zita-resampler/libs/resampler-table.cc # pugixml libpugi_la_CPPFLAGS = libpugi_la_LIBADD = libpugi_la_SOURCES = \ $(top_srcdir)/pugixml/src/pugixml.cpp # libdg libdg_la_CPPFLAGS = \ $(DEBUG_FLAGS) \ -I$(top_srcdir)/hugin -I$(top_srcdir)/pugixml/src \ $(SSEFLAGS) -I$(top_srcdir)/zita-resampler/libs \ $(SNDFILE_CFLAGS) $(PTHREAD_CFLAGS) libdg_la_LIBADD = \ $(SNDFILE_LIBS) $(PTHREAD_LIBS) libzr.la libpugi.la libdg_la_SOURCES = \ audiocachefile.cc \ audiocache.cc \ audiocacheeventhandler.cc \ audiocacheidmanager.cc \ audioinputenginemidi.cc \ audiofile.cc \ bytesizeparser.cc \ channel.cc \ channelmixer.cc \ configfile.cc \ configparser.cc \ directory.cc \ domloader.cc \ dgxmlparser.cc \ drumgizmo.cc \ drumgizmoconf.cc \ drumkit.cc \ drumkitloader.cc \ events.cc \ events_ds.cc \ inputprocessor.cc \ instrument.cc \ latencyfilter.cc \ midimapparser.cc \ midimapper.cc \ path.cc \ powerlist.cc \ powermap.cc \ powermapfilter.cc \ random.cc \ sample.cc \ sample_selection.cc \ sem.cc \ staminafilter.cc \ thread.cc \ velocityfilter.cc \ versionstr.cc EXTRA_DIST = \ $(libzr_la_SOURCES) \ $(libpugi_la_SOURCES) \ $(libdg_la_SOURCES) \ DGDOM.h \ atomic.h \ audio.h \ audiocache.h \ audiocacheeventhandler.h \ audiocachefile.h \ audiocacheidmanager.h \ audiofile.h \ audioinputengine.h \ audioinputenginemidi.h \ audiooutputengine.h \ audiotypes.h \ bytesizeparser.h \ channel.h \ channelmixer.h \ configfile.h \ configparser.h \ directory.h \ cpp11fix.h \ dgxmlparser.h \ domloader.h \ drumgizmo.h \ drumgizmoconf.h \ drumkit.h \ drumkitloader.h \ event.h \ events.h \ events_ds.h \ grid.h \ id.h \ inputfilter.h \ inputprocessor.h \ instrument.h \ latencyfilter.h \ logger.h \ memory_heap.h \ midimapparser.h \ midimapper.h \ nolocale.h \ notifier.h \ path.h \ platform.h \ powerlist.h \ powermap.h \ powermapfilter.h \ random.h \ range.h \ rangemap.h \ sample.h \ sample_selection.h \ sem.h \ settings.h \ staminafilter.h \ syncedsettings.h \ thread.h \ translation.h \ velocityfilter.h \ versionstr.h \ zrwrapper.h drumgizmo-0.9.20/src/audiocachefile.cc0000644000076400007640000000765414050173201014600 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * cacheaudiofile.cc * * Thu Dec 24 12:17:58 CET 2015 * Copyright 2015 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "audiocachefile.h" #include #include #include #include "audiocache.h" AudioCacheFile::AudioCacheFile(const std::string& filename, std::vector& read_buffer) : filename(filename) , read_buffer(read_buffer) { std::memset(&sf_info, 0, sizeof(SF_INFO)); fh = sf_open(filename.c_str(), SFM_READ, &sf_info); if(!fh) { ERR(audiofile,"SNDFILE Error (%s): %s\n", filename.c_str(), sf_strerror(fh)); return; } if(sf_info.frames == 0) { WARN(cache, "sf_info.frames == 0\n"); } } AudioCacheFile::~AudioCacheFile() { if(fh) { sf_close(fh); fh = nullptr; } } size_t AudioCacheFile::getSize() const { return sf_info.frames; } const std::string& AudioCacheFile::getFilename() const { return filename; } size_t AudioCacheFile::getChannelCount() const { return sf_info.channels; } void AudioCacheFile::readChunk(const CacheChannels& channels, size_t pos, size_t num_samples) { //assert(fh != nullptr); // File handle must never be nullptr if(!fh) { return; } if((int)pos > sf_info.frames) { WARN(cache, "pos (%d) > sf_info.frames (%d)\n", (int)pos, (int)sf_info.frames); return; } sf_seek(fh, pos, SEEK_SET); size_t size = sf_info.frames - pos; if(size > num_samples) { size = num_samples; } if((size * sf_info.channels) > read_buffer.size()) { read_buffer.resize(size * sf_info.channels); } size_t read_size = sf_readf_float(fh, read_buffer.data(), size); (void)read_size; for(auto it = channels.begin(); it != channels.end(); ++it) { size_t channel = it->channel; sample_t* data = it->samples; for (size_t i = 0; i < size; ++i) { data[i] = read_buffer[(i * sf_info.channels) + channel]; } } for(auto it = channels.begin(); it != channels.end(); ++it) { *(it->ready) = true; } } AudioCacheFile& AudioCacheFiles::getFile(const std::string& filename) { std::lock_guard lock(mutex); auto it = audiofiles.find(filename); if(it == audiofiles.end()) { // Construct a new AudioCacheFile in place. The in place construction is relevant. it = audiofiles.emplace(std::piecewise_construct, std::make_tuple(filename), std::make_tuple(filename, std::ref(read_buffer))).first; } auto& cache_audio_file = it->second; // Increase ref count. ++cache_audio_file.ref; return cache_audio_file; } void AudioCacheFiles::releaseFile(const std::string& filename) { std::lock_guard lock(mutex); auto it = audiofiles.find(filename); if(it == audiofiles.end()) { assert(false); // This should never happen! return; // not open } auto& audiofile = it->second; assert(audiofile.ref); // If ref is not > 0 it shouldn't be in the map. --audiofile.ref; if(audiofile.ref == 0) { audiofiles.erase(it); } } drumgizmo-0.9.20/src/midimapparser.h0000644000076400007640000000246414201541070014345 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * midimapparser.h * * Mon Aug 8 16:55:30 CEST 2011 * Copyright 2011 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include "midimapper.h" class MidiMapParser { public: //! Returns false on error, true on success. bool parseFile(const std::string& filename); midimap_t midimap; }; drumgizmo-0.9.20/src/audiocacheidmanager.cc0000644000076400007640000000575313557561150015625 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * audiocacheidmanager.cc * * Tue Jan 5 10:59:37 CET 2016 * Copyright 2016 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "audiocacheidmanager.h" #include #include AudioCacheIDManager::~AudioCacheIDManager() { assert(available_ids.size() == id2cache.size()); // All ids should be released. } void AudioCacheIDManager::init(unsigned int capacity) { std::lock_guard guard(mutex); id2cache.resize(capacity); available_ids.resize(capacity); for(size_t i = 0; i < capacity; ++i) { available_ids[i] = i; } } cache_t& AudioCacheIDManager::getCache(cacheid_t id) { std::lock_guard guard(mutex); assert(id != CACHE_NOID); assert(id != CACHE_DUMMYID); assert(id >= 0); assert(id < (int)id2cache.size()); assert(id2cache[id].id == id); return id2cache[id]; } cacheid_t AudioCacheIDManager::registerID(const cache_t& cache) { std::lock_guard guard(mutex); cacheid_t id = CACHE_NOID; if(available_ids.empty()) { return CACHE_DUMMYID; } else { id = available_ids.back(); available_ids.pop_back(); } assert(id2cache[id].id == CACHE_NOID); // Make sure it is not already in use id2cache[id] = cache; id2cache[id].id = id; return id; } void AudioCacheIDManager::releaseID(cacheid_t id) { std::lock_guard guard(mutex); assert(id2cache[id].id != CACHE_NOID); // Test if it wasn't already released. id2cache[id].id = CACHE_NOID; available_ids.push_back(id); } void AudioCacheIDManager::disableActive() { // Run through all active cache_ts and disable them. for(auto& cache : id2cache) { if(cache.id != CACHE_NOID) { // Force use of nodata in all of the rest of the next() calls: cache.localpos = std::numeric_limits::max(); cache.ready = false; } } } std::vector AudioCacheIDManager::getActiveIDs() { std::vector active_ids; for(auto& cache : id2cache) { if(cache.id != CACHE_NOID) { active_ids.push_back(cache.id); } } return active_ids; } drumgizmo-0.9.20/src/memory_heap.h0000644000076400007640000000707614100601506014020 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * memory_heap.h * * Sun Jan 19 13:49:56 CET 2020 * Copyright 2020 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include // The purpose of this class is to have a heap for objects of a certain type. // We want to avoid using the general "new"/"delete" memory allocation as this // is problematic for real-time as well as slow. The underlying container still // is a vector to handle the case when for some reason we need more memory // than initially anticipated. Instead of throwing errors and giving up, we can // then at least allocate new memory and just hope for the best. // // The members add, get, remove correspond to new, dereference, delete. Thus, we // first add an object and this gives us and index. With this index we can then // retrieve the object until we remove it. As soon as it is removed, you shouldn't // use the index anymore to retrieve it (similarly, as you shouldn't use a pointer // after calling delete on it). template class MemoryHeap { public: using Index = std::size_t; using Indices = std::vector; MemoryHeap() = default; MemoryHeap(std::size_t size) { memory.reserve(size); free_indices.reserve(size); } template Index emplace(Args&&... args); Index add(const T& element); T& get(Index index); const T& get(Index index) const; void remove(Index index); void clear(); private: std::vector memory; Indices free_indices; }; template auto MemoryHeap::add(const T& element) -> Index { if (free_indices.empty()) { memory.push_back(element); return memory.size()-1; } auto free_index = free_indices.back(); free_indices.pop_back(); memory[free_index] = element; return free_index; } template template auto MemoryHeap::emplace(Args&&... args) -> Index { if (free_indices.empty()) { memory.emplace_back(std::forward(args)...); return memory.size()-1; } auto free_index = free_indices.back(); free_indices.pop_back(); memory[free_index] = T(std::forward(args)...); return free_index; } // Note: MemoryHeap never really deletes anything -- it just overwrites, so // old indices will always return a valid item wrt. memory. template T& MemoryHeap::get(Index index) { assert(index < memory.size()); return memory[index]; } template const T& MemoryHeap::get(Index index) const { assert(index < memory.size()); return memory[index]; } template void MemoryHeap::remove(Index index) { free_indices.push_back(index); } template void MemoryHeap::clear() { memory.clear(); free_indices.clear(); } drumgizmo-0.9.20/src/powermapfilter.h0000644000076400007640000000265713756436707014604 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * powermapfilter.h * * Mon Apr 20 23:28:12 CEST 2020 * Copyright 2020 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include "inputfilter.h" #include "powermap.h" struct Settings; class PowermapFilter : public InputFilter { public: PowermapFilter(Settings& settings); bool filter(event_t& event, std::size_t pos) override; // Note getLatency not overloaded because this filter doesn't add latency. private: Settings& settings; Powermap powermap; }; drumgizmo-0.9.20/src/audiofile.cc0000644000076400007640000001034014050174641013607 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * audiofile.cc * * Tue Jul 22 17:14:11 CEST 2008 * Copyright 2008 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * * Multichannel feature by John Hammen copyright 2014 */ #include "audiofile.h" #include #include #include #include #include "channel.h" AudioFile::AudioFile(const std::string& filename, std::size_t filechannel, InstrumentChannel* instrument_channel) : filename(filename) , filechannel(filechannel) , magic{this} , instrument_channel(instrument_channel) { } AudioFile::~AudioFile() { magic = nullptr; unload(); } bool AudioFile::isValid() const { //assert(this == magic); return this == magic; } void AudioFile::unload() { // Make sure we don't unload the object while loading it... std::lock_guard guard(mutex); is_loaded = false; preloadedsize = 0; size = 0; delete[] data; data = nullptr; } #define BUFFER_SIZE 4096 void AudioFile::load(LogFunction logger, std::size_t sample_limit) { // Make sure we don't unload the object while loading it... std::lock_guard guard(mutex); if(this->data) // already loaded { return; } SF_INFO sf_info{}; SNDFILE *fh = sf_open(filename.c_str(), SFM_READ, &sf_info); if(!fh) { ERR(audiofile,"SNDFILE Error (%s): %s\n", filename.c_str(), sf_strerror(fh)); if(logger) { logger(LogLevel::Warning, "Could not load '" + filename + "': " + sf_strerror(fh)); } return; } if(sf_info.channels < 1) { // This should never happen but lets check just in case. if(logger) { logger(LogLevel::Warning, "Could not load '" + filename + "': no audio channels available."); } return; } std::size_t size = sf_info.frames; std::size_t preloadedsize = sf_info.frames; if(preloadedsize > sample_limit) { preloadedsize = sample_limit; } sample_t* data = new sample_t[preloadedsize]; if(sf_info.channels == 1) { preloadedsize = sf_read_float(fh, data, preloadedsize); } else { // check filechannel exists if(filechannel >= (std::size_t)sf_info.channels) { if(logger) { logger(LogLevel::Warning, "Audio file '" + filename + "' does no have " + std::to_string(filechannel + 1) + " channels."); } filechannel = sf_info.channels - 1; } sample_t buffer[BUFFER_SIZE]; std::size_t frame_count = BUFFER_SIZE / sf_info.channels; std::size_t total_frames_read = 0; int frames_read; do { frames_read = sf_readf_float(fh, buffer, frame_count); for(int i = 0; (i < frames_read) && (total_frames_read < sample_limit); ++i) { data[total_frames_read++] = buffer[i * sf_info.channels + filechannel]; } } while( (frames_read > 0) && (total_frames_read < preloadedsize) && (total_frames_read < sample_limit) ); // set data size to total bytes read preloadedsize = total_frames_read; } sf_close(fh); this->data = data; this->size = size; this->preloadedsize = preloadedsize; is_loaded = true; } bool AudioFile::isLoaded() const { return is_loaded; } main_state_t AudioFile::mainState() const { if(instrument_channel == nullptr) { DEBUG(audiofile, "no instrument_channel!"); return main_state_t::unset; } return instrument_channel->main; } drumgizmo-0.9.20/src/atomic.h0000644000076400007640000000714113557561147013005 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * atomic.h * * Wed Mar 23 09:15:05 CET 2016 * Copyright 2016 Christian Glckner * cgloeckner@freenet.de ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include template class Atomic; // use std::atomic if possible template class Atomic::value>::type> : public std::atomic { public: // inherit methods using std::atomic::atomic; using std::atomic::operator=; }; // else work around it using a mutex template class Atomic::value>::type> { public: using self_type = Atomic::value>::type>; Atomic() : data{} , mutex{} { } Atomic(T data) : data{std::move(data)} , mutex{} { } Atomic(self_type const & other) : data{} , mutex{} { std::lock_guard lock{other.mutex}; data = other.data; } Atomic(self_type&& other) : data{} , mutex{} { std::lock_guard lock{other.mutex}; std::swap(data, other.data); } T operator=(T data) { std::lock_guard lock{mutex}; this->data = std::move(data); return this->data; } operator T() const { return load(); } bool is_lock_free() const { return false; } void store(T data) { std::lock_guard lock{mutex}; this->data = std::move(data); } T load() const { std::lock_guard lock{mutex}; return data; } T exchange(T data){ std::lock_guard lock{mutex}; std::swap(data, this->data); return data; } bool operator==(const T& other) const { std::lock_guard lock{mutex}; return other == data; } bool operator!=(const T& other) const { std::lock_guard lock{mutex}; return !(other == data); } bool operator==(const Atomic& other) const { std::lock_guard lock{mutex}; return other.load() == data; } bool operator!=(const Atomic& other) const { std::lock_guard lock{mutex}; return !(other.load() == data); } private: T data; mutable std::mutex mutex; }; //! Getter utility class. template class SettingRef { public: SettingRef(Atomic& value) : value(value) { // string isn't lock free either assert((std::is_same::value || value.is_lock_free())); } bool hasChanged() { T tmp = cache; cache.exchange(value); if(firstAccess) { firstAccess = false; return true; } return cache != tmp; } T getValue() const { return cache; } private: bool firstAccess{true}; Atomic& value; Atomic cache; }; drumgizmo-0.9.20/src/sample_selection.h0000644000076400007640000000272714275473130015054 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * sample_selection.h * * Mon Mar 4 23:58:12 CET 2019 * Copyright 2019 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include "sample.h" class PowerList; class Random; struct Settings; class SampleSelection { public: SampleSelection(Settings& settings, Random& rand, const PowerList& powerlist); void finalise(); const Sample* get(level_t level, std::size_t pos); private: Settings& settings; Random& rand; const PowerList& powerlist; std::vector last; }; drumgizmo-0.9.20/src/powerlist.cc0000644000076400007640000001075513653301171013706 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * powerlist.cc * * Sun Jul 28 19:45:48 CEST 2013 * Copyright 2013 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "powerlist.h" #include #include #include #include // M_PI is not defined in math.h if __STRICT_ANSI__ is defined. #ifdef __STRICT_ANSI__ #undef __STRICT_ANSI__ #endif #include #include "random.h" #include "settings.h" namespace { // Enable to calculate power on old samples without power attribute //#define AUTO_CALCULATE_POWER unsigned int const LOAD_SIZE = 500u; } // end anonymous namespace PowerList::PowerList() { power_max = 0; power_min = 100000000; } void PowerList::add(Sample* sample) { PowerListItem item; item.power = -1; item.sample = sample; samples.push_back(item); } // FIXME: remove all? const Channel* PowerList::getMasterChannel() { std::map count; for (auto& item: samples) { Sample* sample{item.sample}; const Channel* max_channel{nullptr}; sample_t max_val{0}; for (auto& pair: sample->audiofiles) { const Channel* c = pair.first; AudioFile* af = pair.second; af->load(nullptr, LOAD_SIZE); float silence{0.f}; std::size_t silence_length{4u}; for (auto s = af->size; s > 0 && s > af->size - silence_length; --s) { silence += af->data[s]; } silence /= silence_length; for(auto s = 0u; s < af->size; ++s) { float val = af->data[s] * af->data[s] * (1.0 / (float)(s + 1)); if(val > max_val) { max_val = val; max_channel = c; break; } } af->unload(); } if(max_channel) { if(count.find(max_channel) == count.end()) { count[max_channel] = 0; } ++count[max_channel]; } } const Channel* master{nullptr}; int max_count{-1}; for (auto& pair: count) { if (pair.second > max_count && pair.first->name.find("Alesis") == 0u) { master = pair.first; max_count = pair.second; } } return master; } // FIXME: clean up significantly! void PowerList::finalise() { #ifdef AUTO_CALCULATE_POWER const Channel* master_channel = getMasterChannel(); if(master_channel == nullptr) { ERR(rand, "No master channel found!\n"); return; // This should not happen... } DEBUG(rand, "Master channel: %s\n", master_channel->name.c_str()); #endif /*AUTO_CALCULATE_POWER*/ for (auto& item: samples) { Sample* sample = item.sample; #ifdef AUTO_CALCULATE_POWER DEBUG(rand, "Sample: %s\n", sample->name.c_str()); AudioFile* master{nullptr}; for (auto& af: sample->audiofiles) { if (af.first->name == master_channel->name) { master = af.second; break; } } if(master == nullptr) { continue; } master->load(); #endif /*AUTO_CALCULATE_POWER*/ #ifdef AUTO_CALCULATE_POWER if(sample->power == -1) { // Power not defined. Calculate it! DEBUG(powerlist, "Calculating power\n"); float power{0.f}; for(auto s = 0u; s < LOAD_SIZE && s < master->size; ++s) { power += master->data[s] * master->data[s]; } power = sqrt(power); sample->power = power; } #endif /*AUTO_CALCULATE_POWER*/ item.power = sample->power; if(item.power > power_max) { power_max = item.power; } if(item.power < power_min) { power_min = item.power; } DEBUG(rand, " - power: %f\n", item.power); } std::sort(samples.begin(), samples.end()); } const PowerListItems& PowerList::getPowerListItems() const { return samples; } float PowerList::getMaxPower() const { return power_max; } float PowerList::getMinPower() const { return power_min; } drumgizmo-0.9.20/src/midimapper.cc0000644000076400007640000000342614201541070013774 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * midimapper.cc * * Mon Jul 21 15:24:08 CEST 2008 * Copyright 2008 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "midimapper.h" std::vector MidiMapper::lookup(int note_id) { std::vector instruments; std::lock_guard guard(mutex); for(const auto& map_entry : midimap) { if(map_entry.note_id == note_id) { auto instrmap_it = instrmap.find(map_entry.instrument_name); if(instrmap_it != instrmap.end()) { instruments.push_back(instrmap_it->second); } } } return instruments; } void MidiMapper::swap(instrmap_t& instrmap, midimap_t& midimap) { std::lock_guard guard(mutex); std::swap(this->instrmap, instrmap); std::swap(this->midimap, midimap); } const midimap_t& MidiMapper::getMap() { return midimap; } drumgizmo-0.9.20/src/drumkitloader.cc0000644000076400007640000002336714100601506014520 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * drumkitloader.cc * * Thu Jan 17 20:54:14 CET 2013 * Copyright 2013 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "drumkitloader.h" #include #include #include "drumgizmo.h" #include "audioinputenginemidi.h" #include "DGDOM.h" #include "dgxmlparser.h" #include "path.h" #include "domloader.h" #include "directory.h" #define REFSFILE "refs.conf" DrumKitLoader::DrumKitLoader(Settings& settings, DrumKit& kit, AudioInputEngine& ie, Random& rand, AudioCache& audio_cache) : settings(settings) , getter(settings) , kit(kit) , ie(ie) , rand(rand) , audio_cache(audio_cache) { logger = [&](LogLevel level, const std::string& msg) { std::string message; switch(level) { case LogLevel::Info: //message = "[Info]"; //break; return; // Ignore info level messages case LogLevel::Warning: message = "[Warning]"; break; case LogLevel::Error: message = "[Error]"; break; } message += " " + msg + "\n"; std::string status = settings.load_status_text.load(); status += message; settings.load_status_text.store(status); }; } DrumKitLoader::~DrumKitLoader() { assert(!running); } void DrumKitLoader::init() { run(); run_semaphore.wait(); // Wait for the thread to actually start. } void DrumKitLoader::deinit() { if(running) { framesize_semaphore.post(); { std::lock_guard guard(mutex); load_queue.clear(); } running = false; semaphore.post(); wait_stop(); } } bool DrumKitLoader::loadkit(const std::string& file) { settings.drumkit_load_status.store(LoadStatus::Idle); settings.number_of_files_loaded.store(0); if(file == "") { if (getter.reload_counter.getValue() != 0) { settings.drumkit_load_status.store(LoadStatus::Error); // Show a full bar settings.number_of_files.store(1); settings.number_of_files_loaded.store(1); } return false; } DEBUG(drumgizmo, "loadkit(%s)\n", file.c_str()); // Remove all queue AudioFiles from loader before we actually delete them. skip(); // Delete all Channels, Instruments, Samples and AudioFiles. kit.clear(); // Clear metadata from previously loaded drumkit settings.drumkit_name.store(""); settings.drumkit_description.store(""); settings.drumkit_version.store(""); settings.drumkit_samplerate.store(44100); settings.load_status_text.store(""); settings.drumkit_load_status.store(LoadStatus::Parsing); // Parse drumkit and instrument xml settings.has_bleed_control.store(false); ConfigFile refs(REFSFILE); auto edited_filename(file); if(refs.load()) { if((file.size() > 1) && (file[0] == '@')) { edited_filename = refs.getValue(file.substr(1)); } } else { WARN(drumkitparser, "Error reading refs.conf"); } DrumkitDOM drumkitdom; std::vector instrumentdoms; std::string path = getPath(edited_filename); bool parseerror = false; bool ret = parseDrumkitFile(edited_filename, drumkitdom, logger); if(!ret) { WARN(drumkitloader, "Drumkit file parser error: '%s'", edited_filename.data()); } parseerror |= !ret; for(const auto& ref : drumkitdom.instruments) { instrumentdoms.emplace_back(); bool ret = parseInstrumentFile(path + "/" + ref.file, instrumentdoms.back(), logger); if(!ret) { WARN(drumkitloader, "Instrument file parser error: '%s'", edited_filename.data()); } parseerror |= !ret; } DOMLoader domloader(settings, rand); ret = domloader.loadDom(path, drumkitdom, instrumentdoms, kit, logger); if(!ret) { WARN(drumkitloader, "DOMLoader error"); } parseerror |= !ret; if(parseerror) { ERR(drumgizmo, "Drumkit parser failed: %s\n", file.c_str()); settings.drumkit_load_status.store(LoadStatus::Error); // Show a full bar settings.number_of_files.store(1); settings.number_of_files_loaded.store(1); return false; } // Check if there is enough free RAM to load the drumkit. //if(!memchecker.enoughFreeMemory(kit)) //{ // printf("WARNING: " // "There doesn't seem to be enough RAM available to load the kit.\n" // "Trying to load it anyway...\n"); //} // Put some information about the kit into the settings settings.drumkit_name = kit.getName(); settings.drumkit_description = kit.getDescription(); settings.drumkit_version = kit.getVersion(); settings.drumkit_samplerate = kit.getSamplerate(); // only load the default midi map if there is one and no midimap is selected yet if (drumkitdom.metadata.default_midimap_file != "" && settings.midimap_file == "") { const std::string drumkit_path = Directory::pathDirectory(settings.drumkit_file); settings.midimap_file = drumkit_path + "/" + drumkitdom.metadata.default_midimap_file; } // Done parsing. Now start loading the audio settings.midimap_load_status.store(LoadStatus::Loading); loadKitAudio(kit); DEBUG(loadkit, "loadkit: Success\n"); return true; } void DrumKitLoader::loadKitAudio(const DrumKit& kit) { // std::lock_guard guard(mutex); DEBUG(loader, "Create AudioFile queue from DrumKit\n"); auto cache_limit = settings.disk_cache_upper_limit.load(); auto cache_enable = settings.disk_cache_enable.load(); DEBUG(loader, "cache_enable: %s\n", cache_enable?"true":"false"); auto number_of_files = kit.getNumberOfFiles(); if(cache_enable && number_of_files > 0) { auto cache_limit_per_file = cache_limit / number_of_files; assert(framesize != 0); preload_samples = cache_limit_per_file / sizeof(sample_t); if(preload_samples < 4096) { preload_samples = 4096; } DEBUG(loader, "cache_limit: %lu, number_of_files: %lu," " cache_limit_per_file: %lu, preload_samples: %lu\n", (unsigned long)cache_limit, (unsigned long)number_of_files, (unsigned long)cache_limit_per_file, (unsigned long)preload_samples); } else { preload_samples = std::numeric_limits::max(); } settings.number_of_files_loaded.store(0); // Count total number of files that need loading: settings.number_of_files.store(0); for(const auto& instr_ptr: kit.instruments) { settings.number_of_files.fetch_add(instr_ptr->audiofiles.size()); } // Now actually queue them for loading: for(const auto& instr_ptr: kit.instruments) { for(auto& audiofile: instr_ptr->audiofiles) { load_queue.push_back(audiofile.get()); } } DEBUG(loader, "Queued %d (size: %d) AudioFiles for loading.\n", (int)settings.number_of_files.load(), (int)load_queue.size()); audio_cache.updateChunkSize(kit.channels.size()); semaphore.post(); // Start loader loop. } void DrumKitLoader::skip() { std::lock_guard guard(mutex); load_queue.clear(); } void DrumKitLoader::setFrameSize(std::size_t framesize) { std::lock_guard guard(mutex); this->framesize = framesize; framesize_semaphore.post(); // Signal that the framesize has been set. } void DrumKitLoader::thread_main() { running = true; run_semaphore.post(); // Signal that the thread has been started. framesize_semaphore.wait(); // Wait until the framesize has been set. while(running) { std::size_t size; { std::lock_guard guard(mutex); size = load_queue.size(); } // Only sleep if queue is empty. if(size == 0) { semaphore.wait(std::chrono::milliseconds(10)); } bool newKit = false; if(getter.drumkit_file.hasChanged() || getter.reload_counter.hasChanged()) { loadkit(getter.drumkit_file.getValue()); newKit = true; } if(getter.midimap_file.hasChanged() || newKit) { auto ie_midi = dynamic_cast(&ie); // if there's a midi engine and this is not just the default midimap // name which is set. if(ie_midi && (getter.midimap_file.getValue() != "" || getter.reload_counter.getValue() != 0)) { settings.midimap_load_status.store(LoadStatus::Loading); bool ret = ie_midi->loadMidiMap(getter.midimap_file.getValue(), kit.instruments); if(ret) { settings.midimap_load_status.store(LoadStatus::Done); } else { settings.midimap_load_status.store(LoadStatus::Error); } } } std::string filename; { std::lock_guard guard(mutex); if(load_queue.size() == 0) { continue; } AudioFile *audiofile = load_queue.front(); load_queue.pop_front(); filename = audiofile->filename; try { audiofile->load(logger, preload_samples); } catch(std::bad_alloc&) { settings.drumkit_load_status.store(LoadStatus::Error); load_queue.clear(); } } settings.number_of_files_loaded.fetch_add(1); if(settings.number_of_files.load() == settings.number_of_files_loaded.load()) { settings.drumkit_load_status.store(LoadStatus::Done); } } DEBUG(loader, "Loader thread finished."); } drumgizmo-0.9.20/src/sem.h0000644000076400007640000000276513653301171012306 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * sem.h * * Sat Oct 8 17:44:13 CEST 2005 * Copyright 2005 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include struct semaphore_private_t; class Semaphore { public: Semaphore(std::size_t initial_count = 0); ~Semaphore(); void post(); //! Lock semaphore with timeout. //! \returns true if the semaphore was locked, false on timeout. bool wait(const std::chrono::milliseconds& timeout); void wait(); private: struct semaphore_private_t *prv{nullptr}; }; drumgizmo-0.9.20/src/powermap.h0000644000076400007640000000401113756436707013360 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * powermap.h * * Fri Apr 17 23:06:12 CEST 2020 * Copyright 2020 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include class Powermap { public: using Power = float; using Powers = std::vector; struct PowerPair { Power in; Power out; bool operator!=(const PowerPair& other) { return in != other.in || out != other.out; } }; Powermap(); Power map(Power in); void reset(); void setFixed0(PowerPair new_value); void setFixed1(PowerPair new_value); void setFixed2(PowerPair new_value); void setShelf(bool enable); PowerPair getFixed0() const; PowerPair getFixed1() const; PowerPair getFixed2() const; private: // input parameters (state of this class) std::array fixed; bool shelf; // spline parameters (deterministically computed from the input parameters) bool spline_needs_update; std::array m; const Power eps = 1e-4; void updateSpline(); std::vector calcSlopes(const Powers& X, const Powers& P); Power clamp(Power in, Power min, Power max) const; }; drumgizmo-0.9.20/src/configfile.h0000644000076400007640000000324113756436707013637 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * configfile.h * * Thu May 14 14:51:38 CEST 2015 * Copyright 2015 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include class ConfigFile { public: ConfigFile(const std::string& filename); virtual ~ConfigFile(); virtual bool load(); virtual bool save(); std::string getValue(const std::string& key) const; void setValue(const std::string& key, const std::string& value); protected: std::map values; std::string filename; std::fstream current_file; virtual bool open(std::ios_base::openmode mode); std::string readLine(); bool parseLine(const std::string& line); }; drumgizmo-0.9.20/src/inputprocessor.cc0000644000076400007640000002675514275473130014772 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * inputprocessor.cc * * Sat Apr 23 20:39:30 CEST 2016 * Copyright 2016 Andr Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "inputprocessor.h" #include #include #include "instrument.h" #include "latencyfilter.h" #include "powermapfilter.h" #include "staminafilter.h" #include "velocityfilter.h" #include "cpp11fix.h" class VelocityStorer : public InputFilter { public: VelocityStorer(float& original_velocity) : original_velocity(original_velocity) { } bool filter(event_t& event, std::size_t pos) override { original_velocity = event.velocity; return true; } private: float& original_velocity; }; class Reporter : public InputFilter { public: Reporter(Settings& settings, float& original_velocity) : settings(settings) , original_velocity(original_velocity) { } bool filter(event_t& event, std::size_t pos) override { settings.velocity_modifier_current.store(event.velocity / original_velocity); return true; } private: Settings& settings; float& original_velocity; }; InputProcessor::InputProcessor(Settings& settings, DrumKit& kit, EventsDS& events_ds, Random& random) : kit(kit) , events_ds(events_ds) , settings(settings) { // Build filter list filters.emplace_back(std::make_unique(settings)); filters.emplace_back(std::make_unique(original_velocity)); filters.emplace_back(std::make_unique(settings)); filters.emplace_back(std::make_unique(settings, random)); filters.emplace_back(std::make_unique(settings, random)); filters.emplace_back(std::make_unique(settings, original_velocity)); } bool InputProcessor::process(std::vector& events, std::size_t pos, double resample_ratio) { for(auto& event: events) { if(event.type == EventType::OnSet) { if(!processOnset(event, pos, resample_ratio)) { continue; } } if(event.type == EventType::Choke) { if(!processChoke(event, pos, resample_ratio)) { continue; } } if(!processStop(event)) { return false; } } return true; } std::size_t InputProcessor::getLatency() const { std::size_t latency = 0; for(const auto& filter : filters) { latency += filter->getLatency(); } return latency; } //! Applies choke with rampdown time in ms to event starting at offset. static void applyChoke(Settings& settings, SampleEvent& event, double length_ms, timepos_t offset) { std::size_t ramp_length = (length_ms / 1000.) * settings.samplerate.load(); event.rampdown_count = ramp_length; event.rampdown_offset = offset; event.ramp_length = ramp_length; } //! Applies choke group actions to active events based on the input event static void applyChokeGroup(Settings& settings, DrumKit& kit, Instrument& instr, event_t& event, EventsDS& events_ds) { std::size_t instrument_id = event.instrument; if(instr.getGroup() == "") { return; } // Add event to ramp down all existing events with the same groupname. for(const auto& ch : kit.channels) { if(ch.num >= NUM_CHANNELS) // kit may have more channels than the engine { continue; } for(auto& event_sample : events_ds.iterateOver(ch.num)) { if(event_sample.group == instr.getGroup() && event_sample.instrument_id != instrument_id && event_sample.rampdown_count == -1) // Only if not already ramping. { // Fixed group rampdown time of 68ms, independent of samplerate applyChoke(settings, event_sample, 68, event.offset); } } } } //! Applies directed choke actions to active events based on the input event static void applyDirectedChoke(Settings& settings, DrumKit& kit, Instrument& instr, event_t& event, EventsDS& events_ds) { for(const auto& choke : instr.getChokes()) { // Add event to ramp down all existing events with the same groupname. for(const auto& ch : kit.channels) { if(ch.num >= NUM_CHANNELS) // kit may have more channels than the engine { continue; } for(auto& event_sample : events_ds.iterateOver(ch.num)) { if(choke.instrument_id == event_sample.instrument_id && event_sample.rampdown_count == -1) // Only if not already ramping. { // choke.choketime is in ms applyChoke(settings, event_sample, choke.choketime, event.offset); } } } } } bool InputProcessor::processOnset(event_t& event, std::size_t pos, double resample_ratio) { if(!kit.isValid()) { return false; } std::size_t instrument_id = event.instrument; Instrument* instr = nullptr; if(instrument_id < kit.instruments.size()) { instr = kit.instruments[instrument_id].get(); } if(instr == nullptr || !instr->isValid()) { ERR(inputprocessor, "Missing Instrument %d.\n", (int)instrument_id); return false; } original_velocity = event.velocity; for(auto& filter : filters) { // This line might change the 'event' variable bool keep = filter->filter(event, event.offset + pos); if(!keep) { return false; // Skip event completely } } // Mute other instruments in the same instrument/choke group applyChokeGroup(settings, kit, *instr, event, events_ds); // Apply directed chokes to mute other instruments if needed applyDirectedChoke(settings, kit, *instr, event, events_ds); auto const power_max = instr->getMaxPower(); auto const power_min = instr->getMinPower(); float const power_span = power_max - power_min; float const instrument_level = power_min + event.velocity*power_span; const auto sample = instr->sample(instrument_level, event.offset + pos); if(sample == nullptr) { ERR(inputprocessor, "Missing Sample.\n"); return false; } if(settings.enable_voice_limit.load()) { limitVoices(instrument_id, settings.voice_limit_max.load(), settings.voice_limit_rampdown.load()); } //Given that audio files could be invalid, maybe we must add the new //group just before adding the first new sample... bool new_group_added = false; for(Channel& ch: kit.channels) { if(ch.num >= NUM_CHANNELS) // kit may have more channels than the engine { continue; } const auto af = sample->getAudioFile(ch); if(af == nullptr || !af->isValid()) { //DEBUG(inputprocessor, "Missing AudioFile.\n"); } else { //DEBUG(inputprocessor, "Adding event %d.\n", event.offset); if(!new_group_added) { new_group_added=true; events_ds.startAddingNewGroup(instrument_id); } auto& event_sample = events_ds.emplace(ch.num, ch.num, 1.0, af, instr->getGroup(), instrument_id); event_sample.offset = (event.offset + pos) * resample_ratio; if(settings.normalized_samples.load() && sample->getNormalized()) { event_sample.scale *= event.velocity; } } } return true; } bool InputProcessor::processChoke(event_t& event, std::size_t pos, double resample_ratio) { if(!kit.isValid()) { return false; } std::size_t instrument_id = event.instrument; Instrument* instr = nullptr; if(instrument_id < kit.instruments.size()) { instr = kit.instruments[instrument_id].get(); } if(instr == nullptr || !instr->isValid()) { ERR(inputprocessor, "Missing Instrument %d.\n", (int)instrument_id); return false; } for(auto& filter : filters) { // This line might change the 'event' variable bool keep = filter->filter(event, event.offset + pos); if(!keep) { return false; // Skip event completely } } // Add event to ramp down all existing events with the same groupname. for(const auto& ch : kit.channels) { if(ch.num >= NUM_CHANNELS) // kit may have more channels than the engine { continue; } for(auto& event_sample : events_ds.iterateOver(ch.num)) { if(event_sample.instrument_id == instrument_id && event_sample.rampdown_count == -1) // Only if not already ramping. { // Fixed group rampdown time of 68ms, independent of samplerate applyChoke(settings, event_sample, 450, event.offset); } } } return true; } bool InputProcessor::processStop(event_t& event) { if(event.type == EventType::Stop) { is_stopping = true; } if(is_stopping) { // Count the number of active events. int num_active_events = 0; for(auto& ch: kit.channels) { if(ch.num >= NUM_CHANNELS) // kit may have more channels than the engine { continue; } num_active_events += events_ds.numberOfEvents(ch.num); } if(num_active_events == 0) { // No more active events - now we can stop the engine. return false; } } return true; } void InputProcessor::limitVoices(std::size_t instrument_id, std::size_t max_voices, float rampdown_time) { const auto& group_ids=events_ds.getSampleEventGroupIDsOf(instrument_id); if(group_ids.size() <= max_voices) { return; } //Filter out ramping events... auto filter_ramping_predicate = [this](EventGroupID group_id) -> bool { const auto& event_ids=events_ds.getEventIDsOf(group_id); //TODO: This should not happen. if(!event_ids.size()) { return false; } const auto& sample=events_ds.get(event_ids[0]); return !sample.rampdownInProgress(); }; EventGroupIDs non_ramping; std::copy_if(std::begin(group_ids), std::end(group_ids), std::back_inserter(non_ramping), filter_ramping_predicate); if(!non_ramping.size()) { return; } //Let us get the eldest... //TODO: where is the playhead? Should we add it to the offset? auto compare_event_offsets = [this](EventGroupID a, EventGroupID b) { const auto& event_ids_a=events_ds.getEventIDsOf(a); const auto& event_ids_b=events_ds.getEventIDsOf(b); const auto& sample_a=events_ds.get(event_ids_a[0]); const auto& sample_b=events_ds.get(event_ids_b[0]); return sample_a.offset < sample_b.offset; }; auto it = std::min_element(std::begin(non_ramping), std::end(non_ramping), compare_event_offsets); if(it == std::end(non_ramping)) { return; } const auto& event_ids = events_ds.getEventIDsOf(*it); for(const auto& event_id : event_ids) { auto& sample=events_ds.get(event_id); applyChoke(settings, sample, rampdown_time, sample.offset); } } drumgizmo-0.9.20/src/DGDOM.h0000644000076400007640000000551514275473130012356 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * DGDOM.h * * Thu Jun 7 11:07:17 CEST 2018 * Copyright 2018 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include "channel.h" // v1.0 velocity groups struct SampleRefDOM { double probability; std::string name; }; struct VelocityDOM { double upper; double lower; std::vector samplerefs; }; // Instrument DOM: struct AudioFileDOM { std::string instrument_channel; std::string file; std::size_t filechannel; }; struct SampleDOM { std::string name; double power; // >= v2.0 only bool normalized; // >= v2.0 only std::vector audiofiles; }; struct InstrumentChannelDOM { std::string name; main_state_t main; }; struct InstrumentDOM { std::string name; std::string version; std::string description; std::vector samples; std::vector instrument_channels; // v1.0 only std::vector velocities; }; // Drumkit DOM: struct ChannelDOM { std::string name; }; struct ChannelMapDOM { std::string in; std::string out; main_state_t main; }; struct ChokeDOM { std::string instrument; double choketime; }; struct InstrumentRefDOM { std::string name; std::string file; // Probably shouldn't be there std::string group; std::vector channel_map; std::vector chokes; }; struct ClickMapDOM { std::string instrument; std::string colour; }; struct MetadataDOM { std::string version; std::string title; std::string description; std::string license; std::string notes; std::string author; std::string email; std::string website; std::string logo; std::string image; std::string image_map; std::vector clickmaps; std::string default_midimap_file; }; struct DrumkitDOM { std::string version; double samplerate; MetadataDOM metadata; std::vector instruments; std::vector channels; }; drumgizmo-0.9.20/src/thread.cc0000644000076400007640000000336613557561150013135 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * thread.cc * * Tue Jan 24 08:11:37 CET 2012 * Copyright 2012 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "thread.h" #include Thread::Thread() {} Thread::~Thread() {} void Thread::run() { DEBUG(thread, "Thread::run()\n"); #if DG_PLATFORM == DG_PLATFORM_WINDOWS tid = CreateThread(NULL, 0, thread_run, this, 0, NULL); #else pthread_create(&tid, NULL, thread_run, this); #endif } void Thread::wait_stop() { #if DG_PLATFORM == DG_PLATFORM_WINDOWS WaitForSingleObject(tid, INFINITE); #else pthread_join(tid, NULL); #endif } #if DG_PLATFORM == DG_PLATFORM_WINDOWS DWORD WINAPI #else void* #endif Thread::thread_run(void *data) { DEBUG(thread, "Thread run\n"); Thread *t = (Thread*)data; t->thread_main(); return 0; } drumgizmo-0.9.20/src/powerlist.h0000644000076400007640000000343113557561150013551 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * powerlist.h * * Sun Jul 28 19:45:47 CEST 2013 * Copyright 2013 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include "sample.h" struct PowerListItem { Sample* sample; float power; bool operator<(const PowerListItem& other) const { return power < other.power; } bool operator<(level_t power) const { return this->power < power; } }; using PowerListItems = std::vector; class PowerList { public: PowerList(); void add(Sample* s); void finalise(); ///< Call this when no more samples will be added. const PowerListItems& getPowerListItems() const; float getMaxPower() const; float getMinPower() const; private: PowerListItems samples; float power_max; float power_min; const Channel* getMasterChannel(); }; drumgizmo-0.9.20/src/events_ds.cc0000644000076400007640000001015014100601506013626 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * events_ds.cc * * Sun Jan 12 00:17:31 CET 2020 * Copyright 2020 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "events_ds.h" #include void EventsDS::remove(EventID event_id) { const auto& event_info = id_to_info.get(event_id); if (event_info.type == Event::Type::SampleEvent) { auto& sample_events = channel_data_array[event_info.ch].sample_events; auto& event = sample_events[event_info.channel_event_index]; // remove from id_to_group_data and delete the group if empty auto& ids = id_to_group_data.get(event.group_id).event_ids; ids.erase(std::remove(ids.begin(), ids.end(), event_id), ids.end()); if (id_to_group_data.get(event.group_id).event_ids.empty()) { removeGroup(event.group_id, event.instrument_id); } // remove from channel_data_array auto& swap_element = sample_events.back(); id_to_info.get(swap_element.id).channel_event_index = event_info.channel_event_index; event = swap_element; sample_events.pop_back(); } // remove from id_to_info id_to_info.remove(event_id); } Event::Type EventsDS::getType(EventID event_id) const { return id_to_info.get(event_id).type; } std::size_t EventsDS::numberOfEvents(channel_t ch) const { auto& channel_data = channel_data_array[ch]; return channel_data.sample_events.size(); } const EventGroupIDs& EventsDS::getSampleEventGroupIDsOf(InstrumentID instrument_id) const { return instruments_sample_event_group_ids[instrument_id]; } const EventIDs& EventsDS::getEventIDsOf(EventGroupID event_group_id) const { return id_to_group_data.get(event_group_id).event_ids; } void EventsDS::startAddingNewGroup(InstrumentID instrument_id) { // if nothing got added for the last group, delete it if (current_group_id.valid() && id_to_group_data.get(current_group_id).event_ids.empty()) { removeGroup(current_group_id, current_groups_instrument_id); } current_group_id = id_to_group_data.emplace(); if (instrument_id.valid()) { current_groups_instrument_id = instrument_id; auto& group_ids = instruments_sample_event_group_ids[instrument_id]; group_ids.push_back(current_group_id); id_to_group_data.get(current_group_id).instrument_index = group_ids.size() - 1; } else { current_groups_instrument_id.invalidate(); } } void EventsDS::clear() { // *this = EventsDS(); id_to_info.clear(); id_to_group_data.clear(); for (auto& channel_data: channel_data_array) { channel_data.sample_events.clear(); } for (auto& event_group_ids: instruments_sample_event_group_ids) { event_group_ids.clear(); } current_group_id.invalidate(); current_groups_instrument_id.invalidate(); } void EventsDS::removeGroup(EventGroupID group_id, InstrumentID instrument_id) { // if we remove the current group, then invalidate it if (group_id == current_group_id) { current_group_id.invalidate(); current_groups_instrument_id.invalidate(); } if (instrument_id.valid()) { auto instrument_index = id_to_group_data.get(group_id).instrument_index; auto& ids = instruments_sample_event_group_ids[instrument_id]; id_to_group_data.get(ids.back()).instrument_index = instrument_index; ids[instrument_index] = ids.back(); ids.pop_back(); } id_to_group_data.remove(group_id); } drumgizmo-0.9.20/src/powermap.cc0000644000076400007640000001300013756436707013514 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * powermap.cc * * Fri Apr 17 23:06:12 CEST 2020 * Copyright 2020 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "powermap.h" #include #include namespace { using Power = Powermap::Power; using PowerPair = Powermap::PowerPair; Power h00(Power x) { return (1 + 2 * x) * pow(1 - x, 2); } Power h10(Power x) { return x * pow(1 - x, 2); } Power h01(Power x) { return x * x * (3 - 2 * x); } Power h11(Power x) { return x * x * (x - 1); } Power computeValue(const Power x, const PowerPair& P0, const PowerPair& P1, const Power m0, const Power m1) { const auto x0 = P0.in; const auto x1 = P1.in; const auto y0 = P0.out; const auto y1 = P1.out; const auto dx = x1 - x0; const auto x_prime = (x - x0)/dx; return h00(x_prime) * y0 + h10(x_prime) * dx * m0 + h01(x_prime) * y1 + h11(x_prime) * dx * m1; } } // end anonymous namespace Powermap::Powermap() { reset(); } Power Powermap::map(Power in) { assert(in >= 0. && in <= 1.); if (spline_needs_update) { updateSpline(); } Power out; if (in < fixed[0].in) { out = shelf ? fixed[0].out : computeValue(in, {0.,0.}, fixed[0], m[0], m[1]); } else if (in < fixed[1].in) { out = computeValue(in, fixed[0], fixed[1], m[1], m[2]); } else if (in < fixed[2].in) { out = computeValue(in, fixed[1], fixed[2], m[2], m[3]); } else { // in >= fixed[2].in out = shelf ? fixed[2].out : computeValue(in, fixed[2], {1.,1.}, m[3], m[4]); } assert(out >= 0. && out <= 1.); return out; } void Powermap::reset() { setFixed0({eps, eps}); setFixed1({.5, .5}); setFixed2({1 - eps, 1 - eps}); // FIXME: better false? shelf = true; updateSpline(); } void Powermap::setFixed0(PowerPair new_value) { if (fixed[0] != new_value) { spline_needs_update = true; fixed[0].in = clamp(new_value.in, eps, fixed[1].in - eps); fixed[0].out = clamp(new_value.out, eps, fixed[1].out - eps); } } void Powermap::setFixed1(PowerPair new_value) { if (fixed[1] != new_value) { spline_needs_update = true; fixed[1].in = clamp(new_value.in, fixed[0].in + eps, fixed[2].in - eps); fixed[1].out = clamp(new_value.out, fixed[0].out + eps, fixed[2].out - eps); } } void Powermap::setFixed2(PowerPair new_value) { if (fixed[2] != new_value) { spline_needs_update = true; fixed[2].in = clamp(new_value.in, fixed[1].in + eps, 1 - eps); fixed[2].out = clamp(new_value.out, fixed[1].out + eps, 1 - eps); } } void Powermap::setShelf(bool enable) { if (shelf != enable) { spline_needs_update = true; this->shelf = enable; } } PowerPair Powermap::getFixed0() const { return fixed[0]; } PowerPair Powermap::getFixed1() const { return fixed[1]; } PowerPair Powermap::getFixed2() const { return fixed[2]; } // This mostly followes the wikipedia article for monotone cubic splines: // https://en.wikipedia.org/wiki/Monotone_cubic_interpolation void Powermap::updateSpline() { assert(0. <= fixed[0].in && fixed[0].in < fixed[1].in && fixed[1].in < fixed[2].in && fixed[2].in <= 1.); assert(0. <= fixed[0].out && fixed[0].out <= fixed[1].out && fixed[1].out <= fixed[2].out && fixed[2].out <= 1.); Powers X = shelf ? Powers{fixed[0].in, fixed[1].in, fixed[2].in} : Powers{0., fixed[0].in, fixed[1].in, fixed[2].in, 1.}; Powers Y = shelf ? Powers{fixed[0].out, fixed[1].out, fixed[2].out} : Powers{0., fixed[0].out, fixed[1].out, fixed[2].out, 1.}; auto slopes = calcSlopes(X, Y); if (shelf) { assert(slopes.size() == 3); this->m[1] = slopes[0]; this->m[2] = slopes[1]; this->m[3] = slopes[2]; } else { assert(slopes.size() == 5); for (std::size_t i = 0; i < m.size(); ++i) { this->m[i] = slopes[i]; } } spline_needs_update = false; } // This follows the monotone cubic spline algorithm of Steffen, from: // "A Simple Method for Monotonic Interpolation in One Dimension" std::vector Powermap::calcSlopes(const Powers& X, const Powers& Y) { Powers m(X.size()); Powers d(X.size() - 1); Powers h(X.size() - 1); for (std::size_t i = 0; i < d.size(); ++i) { h[i] = X[i + 1] - X[i]; d[i] = (Y[i + 1] - Y[i]) / h[i]; } m.front() = d.front(); for (std::size_t i = 1; i < m.size() - 1; ++i) { m[i] = (d[i - 1] + d[i]) / 2.; } m.back() = d.back(); for (std::size_t i = 1; i < m.size() - 1; ++i) { const auto min_d = 2*std::min(d[i - 1], d[i]); m[i] = std::min(min_d, (h[i] * d[i - 1] + h[i - 1] * d[i]) / (h[i - 1] + h[i])); } return m; } Power Powermap::clamp(Power in, Power min, Power max) const { return std::max(min, std::min(in, max)); } drumgizmo-0.9.20/src/staminafilter.cc0000644000076400007640000000423713653301171014516 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * staminafilter.cc * * Sat Jun 11 08:49:36 CEST 2016 * Copyright 2016 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "staminafilter.h" #include "settings.h" StaminaFilter::StaminaFilter(Settings& settings) : settings(settings) { } bool StaminaFilter::filter(event_t& event, size_t pos) { // Read out all values from settings. auto samplerate = settings.samplerate.load(); auto velocity_modifier_falloff = settings.velocity_modifier_falloff.load(); auto enable_velocity_modifier = settings.enable_velocity_modifier.load(); auto velocity_modifier_weight = settings.velocity_modifier_weight.load(); auto& pair = modifiers[event.instrument]; if(modifiers.find(event.instrument) == modifiers.end()) { // On first lookup make sure we have sane values. pair.first = 1.0f; pair.second = 0; } auto& mod = pair.first; auto& lastpos = pair.second; if(enable_velocity_modifier) { mod += (pos - lastpos) / (samplerate * velocity_modifier_falloff); mod = std::min(mod, 1.0f); } else { mod = 1.0f; lastpos = 0; } event.velocity *= mod; if(enable_velocity_modifier) { lastpos = pos; mod *= velocity_modifier_weight; } return true; } drumgizmo-0.9.20/src/audioinputenginemidi.h0000644000076400007640000000416214275473130015733 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * audioinputenginemidi.h * * Mon Apr 1 20:13:24 CEST 2013 * Copyright 2013 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include "audioinputengine.h" #include "midimapper.h" #include "instrument.h" #include "configfile.h" class AudioInputEngineMidi : public AudioInputEngine { public: AudioInputEngineMidi(); virtual ~AudioInputEngineMidi() = default; virtual bool init(const Instruments &instruments) = 0; virtual void setParm(const std::string& parm, const std::string& value) = 0; virtual bool start() = 0; virtual void stop() = 0; virtual void pre() = 0; virtual void run(size_t pos, size_t len, std::vector& events) = 0; virtual void post() = 0; virtual bool loadMidiMap(const std::string& file, const Instruments& i); std::string getMidimapFile() const; bool isValid() const; void processNote(const std::uint8_t* note_data, std::size_t note_data_size, std::size_t offset, std::vector& events); protected: MidiMapper mmap; private: std::string midimap; bool is_valid; ConfigFile refs; }; drumgizmo-0.9.20/src/syncedsettings.h0000644000076400007640000000445713557561150014600 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * syncedsettings.h * * Thu Mar 31 09:23:27 CEST 2016 * Copyright 2016 Christian Glckner * cgloeckner@freenet.de ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include template class Group; template class Accessor { private: std::lock_guard lock; public: Accessor(Group& parent) : lock{parent.mutex} , data(parent.data) { } T& data; }; template class Group { private: friend class Accessor; mutable std::mutex mutex; T data; public: Group() : mutex{} , data{} { } Group(Group const& other) : mutex{} , data{} { std::lock_guard lock{other.mutex}; data = other.data; } Group(Group&& other) : mutex{} , data{} { std::lock_guard lock{other.mutex}; std::swap(data, other.data); } Group& operator=(const Group& other) { if (*this != &other) { std::lock_guard lock{mutex}; std::lock_guard lock2{other.mutex}; data = other.data; } return *this; } Group& operator=(Group&& other) { if (*this != &other) { std::lock_guard lock{mutex}; std::lock_guard lock2{other.mutex}; std::swap(data, other.data); } return *this; } operator T() const { std::lock_guard lock{mutex}; return data; } }; drumgizmo-0.9.20/src/instrument.h0000644000076400007640000000564214275473130013735 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * instrument.h * * Tue Jul 22 17:14:19 CEST 2008 * Copyright 2008 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include #include "id.h" #include "powerlist.h" #include "rangemap.h" // for v1.0 kits #include "random.h" #include "sample_selection.h" #include "sample.h" #include "versionstr.h" #include "settings.h" struct Choke; class Instrument { public: Instrument(Settings& settings, Random& rand); ~Instrument(); const Sample* sample(level_t level, size_t pos); std::size_t getID() const; const std::string& getName() const; const std::string& getDescription() const; const std::string& getGroup() const; void setGroup(const std::string& group); // std::map channelmap; std::vector> audiofiles; bool isValid() const; //! Get the number of audio files (as in single channel) in this instrument. std::size_t getNumberOfFiles() const; float getMaxPower() const; float getMinPower() const; const std::vector& getChokes(); private: // For unit-tests: friend class DOMLoaderTest; // For parser: friend class DOMLoader; void* magic; std::size_t id; std::string _group; std::string _name; std::string _description; VersionStr version; RangeMap samples; void addSample(level_t a, level_t b, const Sample* s); void finalise(); ///< Signal instrument that no more samples will be added. std::vector samplelist; std::deque instrument_channels; size_t lastpos; float mod; Settings& settings; Random& rand; PowerList powerlist; std::vector chokes; SampleSelection sample_selection; }; using Instruments = std::vector>; using InstrumentID = ID; using InstrumentIDs = std::vector; struct Choke { std::size_t instrument_id; double choketime; }; drumgizmo-0.9.20/src/versionstr.cc0000644000076400007640000000713013557561150014075 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * versionstr.cc * * Wed Jul 22 11:41:32 CEST 2009 * Copyright 2009 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "versionstr.h" #include #include #include #include // Workaround - major, minor and patch are defined as macros when using // _GNU_SOURCES #ifdef major #undef major #endif #ifdef minor #undef minor #endif #ifdef patch #undef patch #endif VersionStr::VersionStr(const std::string& v) { version = {{0, 0, 0}}; set(v); } VersionStr::VersionStr(size_t major, size_t minor, size_t patch) { version[0] = major; version[1] = minor; version[2] = patch; } void VersionStr::set(const std::string& v) { std::string num; size_t idx = 0; for(size_t i = 0; i < v.length(); i++) { if(v[i] == '.') { if(idx > 2) { version = {{0, 0, 0}}; ERR(version, "Version string is too long."); return; } version[idx] = atoi(num.c_str()); idx++; num = ""; } else if(v[i] >= '0' && v[i] <= '9') { num.append(1, v[i]); } else { version = {{0, 0, 0}}; ERR(version, "Version string contains illegal character."); return; } } if(idx > 2) { version = {{0, 0, 0}}; ERR(version, "Version string is too long."); return; } version[idx] = atoi(num.c_str()); } VersionStr::operator std::string() const { std::string v; char buf[64]; if(patch()) { sprintf(buf, "%d.%d.%d", (int)major(), (int)minor(), (int)patch()); } else { sprintf(buf, "%d.%d", (int)major(), (int)minor()); } v = buf; return v; } void VersionStr::operator=(const std::string& v) { set(v); } // return a - b simplified as -1, 0 or 1 static int vdiff(const VersionStr& a, const VersionStr& b) { if(a.major() < b.major()) { return -1; } if(a.major() > b.major()) { return 1; } if(a.minor() < b.minor()) { return -1; } if(a.minor() > b.minor()) { return 1; } if(a.patch() < b.patch()) { return -1; } if(a.patch() > b.patch()) { return 1; } return 0; } bool VersionStr::operator<(const VersionStr& other) const { return vdiff(*this, other) == -1; } bool VersionStr::operator>(const VersionStr& other) const { return vdiff(*this, other) == 1; } bool VersionStr::operator==(const VersionStr& other) const { return vdiff(*this, other) == 0; } bool VersionStr::operator<=(const VersionStr& other) const { return vdiff(*this, other) != 1; } bool VersionStr::operator>=(const VersionStr& other) const { return vdiff(*this, other) != -1; } size_t VersionStr::major() const { return version[0]; } size_t VersionStr::minor() const { return version[1]; } size_t VersionStr::patch() const { return version[2]; } drumgizmo-0.9.20/src/bytesizeparser.cc0000644000076400007640000000425013557561150014732 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * bytesize_parser.cc * * Sat Mar 4 18:00:12 CET 2017 * Copyright 2017 Goran Mekić * meka@tilda.center ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "bytesizeparser.h" #include #include static std::size_t suffixToSize(const char& suffix) { int size = 1; switch(suffix) { case 'k': size <<= 10; break; case 'M': size <<= 20; break; case 'G': size <<= 30; break; default: size = 0; break; } return size; } std::size_t byteSizeParser(const std::string& argument) { std::string::size_type suffix_index; std::size_t size; std::string suffix; bool error = false; if(argument.find('-') != std::string::npos) { error = true; } try { size = std::stoi(argument, &suffix_index); } catch(std::invalid_argument&) { std::cerr << "Invalid argument for diskstreamsize" << std::endl; error = true; } catch(std::out_of_range&) { std::cerr << "Number too big. Try using bigger suffix for diskstreamsize" << std::endl; error = true; } if(!error) { suffix = argument.substr(suffix_index); if (suffix.length() > 1) { error = true; } } if(!error && suffix.size() > 0) { std::size_t suffix_size = suffixToSize(suffix[0]); size *= suffix_size; } if(error) { return 0; } return size; } drumgizmo-0.9.20/src/random.h0000644000076400007640000000416713557561150013010 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * random.h * * Wed Mar 23 19:17:24 CET 2016 * Copyright 2016 Andr Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include class Random { public: Random(); Random(unsigned int seed); void setSeed(unsigned int seed); //! \return random int in range [, ]. int intInRange(int lower_bound, int upper_bound); //! \return random float in range [, ]. float floatInRange(float lower_bound, float upper_bound); //! \return random float drawn from a normal distribution with mean //! and standard deviation . float normalDistribution(float mean, float stddev); //! \return uniformly at random chosen element from . template T& choose(std::vector& vec); private: // The std::default_random_engine of the gcc libstdc++ library is // minstd_rand0, so make sure we use that all platforms regardless of which // stdlib we link with. std::minstd_rand0 generator; float generateFloat(); }; template T& Random::choose(std::vector& vec) { return vec[intInRange(0, vec.size() - 1)]; } drumgizmo-0.9.20/src/random.cc0000644000076400007640000000611113557561150013135 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * random.cc * * Wed Mar 23 19:17:24 CET 2016 * Copyright 2016 Andr Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "random.h" #include #include #include Random::Random() : Random(std::chrono::system_clock::now().time_since_epoch().count()) { } Random::Random(unsigned int seed) { setSeed(seed); } void Random::setSeed(unsigned int seed) { generator.seed(seed); } int Random::intInRange(int lower_bound, int upper_bound) { auto generate = [this]() { return (int)generator() - generator.min(); }; const int in_range = generator.max() - generator.min(); const int out_range = upper_bound - lower_bound; int rand; // scale in_range DOWN to out_range. // (see: http://www.azillionmonkeys.com/qed/random.html) if (in_range > out_range) { const int rand_inv_range = in_range / (out_range + 1); do { rand = generate(); } while (rand >= (out_range + 1) * rand_inv_range); rand = lower_bound + rand/rand_inv_range; } // scale in_range UP to out_range. // (see: http://stackoverflow.com/a/30738381) else if (in_range < out_range) { int scale = out_range / (in_range + 1); do { rand = generate() + intInRange(0, scale) * (in_range + 1); } while (rand < lower_bound && rand > upper_bound); rand = lower_bound + rand; } // naive case else { rand = lower_bound + generate(); } return rand; } float Random::floatInRange(float lower_bound, float upper_bound) { return generateFloat() * (upper_bound - lower_bound) + lower_bound; } // For details regarding the algorithm see: // https://en.wikipedia.org/wiki/Marsaglia_polar_method float Random::normalDistribution(float mean, float stddev) { float u, v, s; do { u = 2.0*generateFloat() - 1.0; v = 2.0*generateFloat() - 1.0; s = (u * u) + (v * v); } while (s > 1.0 || s == 0.0); s = std::sqrt(-2*std::log(s) / s); return stddev * (v * s) + mean; } float Random::generateFloat() { return std::generate_canonical::digits, decltype(generator)>(generator); } drumgizmo-0.9.20/src/audioinputengine.h0000644000076400007640000000336713557561150015100 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * audioinputengine.h * * Sun Feb 27 11:33:19 CET 2011 * Copyright 2011 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include "instrument.h" class AudioInputEngine { public: virtual ~AudioInputEngine() = default; virtual bool init(const Instruments& instruments) = 0; virtual void setParm(const std::string& parm, const std::string& value) = 0; virtual bool start() = 0; virtual void stop() = 0; virtual void pre() = 0; virtual void run(size_t pos, size_t len, std::vector& events) = 0; virtual void post() = 0; //! Reimplement to receive sample rate changes. virtual void setSampleRate(double sample_rate) {} virtual bool isFreewheeling() const = 0; }; drumgizmo-0.9.20/src/dgxmlparser.cc0000644000076400007640000003074114275473130014211 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * dgxmlparser.cc * * Fri Jun 8 22:04:31 CEST 2018 * Copyright 2018 Jonas Suhr Christensen * jsc@umbraculum.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "dgxmlparser.h" #include #include #include #include "nolocale.h" static int getLineNumberFromOffset(const std::string& filename, ptrdiff_t offset) { FILE* fp = fopen(filename.data(), "rt"); if(!fp) { return 0; } int lineno{1}; char c = 0; while((c = fgetc(fp)) != EOF && offset--) { lineno += c == '\n' ? 1 : 0; } fclose(fp); return lineno; } bool probeDrumkitFile(const std::string& filename, LogFunction logger) { DrumkitDOM d; return parseDrumkitFile(filename, d, logger); } bool probeInstrumentFile(const std::string& filename, LogFunction logger) { InstrumentDOM d; return parseInstrumentFile(filename, d, logger); } static bool assign(double& dest, const std::string& val) { //TODO: figure out how to handle error value 0.0 dest = atof_nol(val.c_str()); return true; } static bool assign(std::string& dest, const std::string& val) { dest = val; return true; } static bool assign(std::size_t& dest, const std::string& val) { int tmp = atoi(val.c_str()); if(tmp < 0) return false; dest = tmp; return std::to_string(dest) == val; } static bool assign(main_state_t& dest, const std::string& val) { if(val != "true" && val != "false") { return false; } dest = (val == "true") ? main_state_t::is_main : main_state_t::is_not_main; return true; } static bool assign(bool& dest, const std::string& val) { if(val == "true" || val == "false") { dest = val == "true"; return true; } return false; } template static bool attrcpy(T& dest, const pugi::xml_node& src, const std::string& attr, LogFunction logger, const std::string& filename, bool opt = false) { const char* val = src.attribute(attr.c_str()).as_string(nullptr); if(!val) { if(!opt) { ERR(dgxmlparser, "Attribute %s not found in %s, offset %d\n", attr.data(), src.path().data(), (int)src.offset_debug()); if(logger) { auto lineno = getLineNumberFromOffset(filename, src.offset_debug()); logger(LogLevel::Error, "Missing attribute '" + attr + "' at line " + std::to_string(lineno)); } } return opt; } if(!assign(dest, std::string(val))) { ERR(dgxmlparser, "Attribute %s could not be assigned, offset %d\n", attr.data(), (int)src.offset_debug()); if(logger) { auto lineno = getLineNumberFromOffset(filename, src.offset_debug()); logger(LogLevel::Error, "Attribute '" + attr + "' could not be assigned at line " + std::to_string(lineno)); } return false; } return true; } template static bool nodecpy(T& dest, const pugi::xml_node& src, const std::string& node, LogFunction logger, const std::string& filename, bool opt = false) { auto val = src.child(node.c_str()); if(val == pugi::xml_node()) { if(!opt) { ERR(dgxmlparser, "Node %s not found in %s, offset %d\n", node.data(), filename.data(), (int)src.offset_debug()); if(logger) { auto lineno = getLineNumberFromOffset(filename, src.offset_debug()); logger(LogLevel::Error, "Node '" + node + "' not found at line " + std::to_string(lineno)); } } return opt; } if(!assign(dest, val.text().as_string())) { ERR(dgxmlparser, "Attribute %s could not be assigned, offset %d\n", node.data(), (int)src.offset_debug()); if(logger) { auto lineno = getLineNumberFromOffset(filename, src.offset_debug()); logger(LogLevel::Error, "Node '" + node + "' could not be assigned at line " + std::to_string(lineno)); } return false; } return true; } bool parseDrumkitFile(const std::string& filename, DrumkitDOM& dom, LogFunction logger) { bool res = true; if(logger) { logger(LogLevel::Info, "Loading " + filename); } pugi::xml_document doc; pugi::xml_parse_result result = doc.load_file(filename.c_str()); res &= !result.status; if(!res) { ERR(dgxmlparser, "XML parse error: '%s' %d", filename.data(), (int) result.offset); if(logger) { auto lineno = getLineNumberFromOffset(filename, result.offset); logger(LogLevel::Error, "XML parse error in '" + filename + "': " + result.description() + " at line " + std::to_string(lineno)); } return false; } pugi::xml_node drumkit = doc.child("drumkit"); dom.version = "1.0"; res &= attrcpy(dom.version, drumkit, "version", logger, filename, true); dom.samplerate = 44100.0; res &= attrcpy(dom.samplerate, drumkit, "samplerate", logger, filename, true); // Use the old name and description attributes on the drumkit node as fallback res &= attrcpy(dom.metadata.title, drumkit, "name", logger, filename, true); res &= attrcpy(dom.metadata.description, drumkit, "description", logger, filename, true); pugi::xml_node metadata = drumkit.child("metadata"); if(metadata != pugi::xml_node()) { auto& meta = dom.metadata; res &= nodecpy(meta.version, metadata, "version", logger, filename, true); res &= nodecpy(meta.title, metadata, "title", logger, filename, true); pugi::xml_node logo = metadata.child("logo"); if(logo != pugi::xml_node()) { res &= attrcpy(meta.logo, logo, "src", logger, filename, true); } res &= nodecpy(meta.description, metadata, "description", logger, filename, true); res &= nodecpy(meta.license, metadata, "license", logger, filename, true); res &= nodecpy(meta.notes, metadata, "notes", logger, filename, true); res &= nodecpy(meta.author, metadata, "author", logger, filename, true); res &= nodecpy(meta.email, metadata, "email", logger, filename, true); res &= nodecpy(meta.website, metadata, "website", logger, filename, true); pugi::xml_node image = metadata.child("image"); if(image != pugi::xml_node()) { res &= attrcpy(meta.image, image, "src", logger, filename, true); res &= attrcpy(meta.image_map, image, "map", logger, filename, true); for(auto clickmap : image.children("clickmap")) { meta.clickmaps.emplace_back(); res &= attrcpy(meta.clickmaps.back().instrument, clickmap, "instrument", logger, filename, true); res &= attrcpy(meta.clickmaps.back().colour, clickmap, "colour", logger, filename, true); } } pugi::xml_node default_midimap = metadata.child("defaultmidimap"); if(default_midimap != pugi::xml_node()) { res &= attrcpy(meta.default_midimap_file, default_midimap, "src", logger, filename, true); } } pugi::xml_node channels = doc.child("drumkit").child("channels"); for(pugi::xml_node channel: channels.children("channel")) { dom.channels.emplace_back(); res &= attrcpy(dom.channels.back().name, channel, "name", logger, filename); } pugi::xml_node instruments = doc.child("drumkit").child("instruments"); for(pugi::xml_node instrument : instruments.children("instrument")) { dom.instruments.emplace_back(); auto& instrument_ref = dom.instruments.back(); res &= attrcpy(instrument_ref.name, instrument, "name", logger, filename); res &= attrcpy(instrument_ref.file, instrument, "file", logger, filename); res &= attrcpy(instrument_ref.group, instrument, "group", logger, filename, true); for(pugi::xml_node cmap: instrument.children("channelmap")) { instrument_ref.channel_map.emplace_back(); auto& channel_map_ref = instrument_ref.channel_map.back(); res &= attrcpy(channel_map_ref.in, cmap, "in", logger, filename); res &= attrcpy(channel_map_ref.out, cmap, "out", logger, filename); channel_map_ref.main = main_state_t::unset; res &= attrcpy(channel_map_ref.main, cmap, "main", logger, filename, true); } auto num_chokes = std::distance(instrument.children("chokes").begin(), instrument.children("chokes").end()); if(num_chokes > 1) { // error ERR(dgxmlparser, "At most one 'chokes' node allowed pr. instrument."); res = false; } if(num_chokes == 1) { for(pugi::xml_node choke : instrument.child("chokes").children("choke")) { instrument_ref.chokes.emplace_back(); auto& choke_ref = instrument_ref.chokes.back(); res &= attrcpy(choke_ref.instrument, choke, "instrument", logger, filename); choke_ref.choketime = 68; // default to 68 ms res &= attrcpy(choke_ref.choketime, choke, "choketime", logger, filename, true); } } } return res; } bool parseInstrumentFile(const std::string& filename, InstrumentDOM& dom, LogFunction logger) { bool res = true; if(logger) { logger(LogLevel::Info, "Loading " + filename); } pugi::xml_document doc; pugi::xml_parse_result result = doc.load_file(filename.data()); res &= !result.status; if(!res) { WARN(dgxmlparser, "XML parse error: '%s'", filename.data()); if(logger) { auto lineno = getLineNumberFromOffset(filename, result.offset); logger(LogLevel::Warning, "XML parse error in '" + filename + "': " + result.description() + " at line " + std::to_string(lineno)); } } //TODO: handle version pugi::xml_node instrument = doc.child("instrument"); res &= attrcpy(dom.name, instrument, "name", logger, filename); dom.version = "1.0"; res &= attrcpy(dom.version, instrument, "version", logger, filename, true); res &= attrcpy(dom.description, instrument, "description", logger, filename, true); pugi::xml_node channels = instrument.child("channels"); for(pugi::xml_node channel : channels.children("channel")) { dom.instrument_channels.emplace_back(); res &= attrcpy(dom.instrument_channels.back().name, channel, "name", logger, filename); dom.instrument_channels.back().main = main_state_t::unset; res &= attrcpy(dom.instrument_channels.back().main, channel, "main", logger, filename, true); } INFO(dgxmlparser, "XML version: %s\n", dom.version.data()); pugi::xml_node samples = instrument.child("samples"); for(pugi::xml_node sample: samples.children("sample")) { dom.samples.emplace_back(); res &= attrcpy(dom.samples.back().name, sample, "name", logger, filename); // Power only part of >= v2.0 instruments. if(dom.version == "1.0") { dom.samples.back().power = 0.0; } else { res &= attrcpy(dom.samples.back().power, sample, "power", logger, filename); dom.samples.back().normalized = false; res &= attrcpy(dom.samples.back().normalized, sample, "normalized", logger, filename, true); } for(pugi::xml_node audiofile: sample.children("audiofile")) { dom.samples.back().audiofiles.emplace_back(); res &= attrcpy(dom.samples.back().audiofiles.back().instrument_channel, audiofile, "channel", logger, filename); res &= attrcpy(dom.samples.back().audiofiles.back().file, audiofile, "file", logger, filename); // Defaults to channel 1 in mono (1-based) dom.samples.back().audiofiles.back().filechannel = 1; res &= attrcpy(dom.samples.back().audiofiles.back().filechannel, audiofile, "filechannel", logger, filename, true); } } // Velocity groups are only part of v1.0 instruments. if(dom.version == "1" || dom.version == "1.0" || dom.version == "1.0.0") { pugi::xml_node velocities = instrument.child("velocities"); for(pugi::xml_node velocity: velocities.children("velocity")) { dom.velocities.emplace_back(); res &= attrcpy(dom.velocities.back().lower, velocity, "lower", logger, filename); res &= attrcpy(dom.velocities.back().upper, velocity, "upper", logger, filename); for(auto sampleref : velocity.children("sampleref")) { dom.velocities.back().samplerefs.emplace_back(); auto& sref = dom.velocities.back().samplerefs.back(); res &= attrcpy(sref.probability, sampleref, "probability", logger, filename); res &= attrcpy(sref.name, sampleref, "name", logger, filename); } } } return res; } drumgizmo-0.9.20/src/settings.h0000644000076400007640000004041714275473130013364 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * settings.h * * Tue Mar 22 10:59:46 CET 2016 * Copyright 2016 Christian Glckner * cgloeckner@freenet.de ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include #include "atomic.h" #include "notifier.h" enum class LoadStatus : unsigned int { Idle, Parsing, Loading, Done, Error }; //! Engine settings struct Settings { Atomic drumkit_file{""}; Atomic drumkit_load_status{LoadStatus::Idle}; Atomic drumkit_name{""}; Atomic drumkit_description{""}; Atomic drumkit_version{""}; Atomic drumkit_samplerate{44100}; //! The maximum amount of memory in bytes that the AudioCache //! is allowed to use for preloading. Default is 1GB. Atomic disk_cache_upper_limit{1024 * 1024 * 1024}; //! The optimal read chunk size from the disk. Atomic disk_cache_chunk_size{1024 * 1024}; Atomic disk_cache_enable{true}; Atomic number_of_underruns{0}; //! Increment this in order to invoke a reload of the current drumkit. Atomic reload_counter{0}; Atomic midimap_file{""}; Atomic midimap_load_status{LoadStatus::Idle}; Atomic enable_velocity_modifier{true}; static float constexpr velocity_modifier_falloff_default = 0.5f; static float constexpr velocity_modifier_weight_default = 0.25f; static float constexpr velocity_stddev_default = .45f; static float constexpr sample_selection_f_close_default = .85f; static float constexpr sample_selection_f_diverse_default = .16f; static float constexpr sample_selection_f_random_default = .07f; Atomic velocity_modifier_falloff{velocity_modifier_falloff_default}; Atomic velocity_modifier_weight{velocity_modifier_weight_default}; Atomic velocity_stddev{velocity_stddev_default}; Atomic sample_selection_f_close{sample_selection_f_close_default}; Atomic sample_selection_f_diverse{sample_selection_f_diverse_default}; Atomic sample_selection_f_random{sample_selection_f_random_default}; //! Control number of times to retry sample selection as long as the sample //! is the same one as the last one. //! 0: will do no retries, ie. just use the first sample found. // FIXME: remove when new sample algorithm is introduced and also remove other occurences static std::size_t constexpr sample_selection_retry_count_default = 3; Atomic sample_selection_retry_count{sample_selection_retry_count_default}; // Current velocity offset - for UI Atomic velocity_modifier_current{1.0f}; Atomic enable_velocity_randomiser{false}; Atomic velocity_randomiser_weight{0.1f}; Atomic samplerate{44100.0}; Atomic buffer_size{1024}; // Only used to show in the UI. Atomic enable_resampling{true}; Atomic resampling_recommended{false}; Atomic resampling_quality{0.7f}; // [0.0f; 1.0f] Atomic number_of_files{0}; Atomic number_of_files_loaded{0}; Atomic current_file{""}; Atomic enable_bleed_control{false}; Atomic master_bleed{1.0f}; Atomic has_bleed_control{false}; Atomic normalized_samples{true}; Atomic enable_latency_modifier{false}; //! Maximum "early hits" introduces latency in milliseconds. Atomic latency_max_ms{150.0f}; //! 0 := on-beat //! positive := laid back //! negative := up-beat //! Same range is [-100; 100] ms static float constexpr latency_laid_back_ms_default = 0.0f; Atomic latency_laid_back_ms{latency_laid_back_ms_default}; //! 0.0 := Robot //! 2.0 := Good drummer //! 4.0 := Decent drummer //! 6.0 := Decent drummer on a bad day //! 8.0 := Bad drummer //! 10.0 := Bad and drunk drummer static float constexpr latency_stddev_default = 2.0f; Atomic latency_stddev{latency_stddev_default}; //! Regain on-beat position. //! 0: instantaniously //! 1: never static float constexpr latency_regain_default = 0.9f; Atomic latency_regain{latency_regain_default}; // Current latency offset in ms - for UI Atomic latency_current{0}; // Powermap parameters Atomic enable_powermap; Atomic powermap_fixed0_x{0.}; Atomic powermap_fixed0_y{0.}; Atomic powermap_fixed1_x{.5}; Atomic powermap_fixed1_y{.5}; Atomic powermap_fixed2_x{1.}; Atomic powermap_fixed2_y{1.}; Atomic powermap_shelf{true}; // Powermap visualizer; -1 is "none" Atomic powermap_input{-1.}; Atomic powermap_output{-1.}; Atomic audition_counter{0}; Atomic audition_instrument; Atomic audition_velocity; // Notify UI about load errors Atomic load_status_text; // Enables the ramping down of old samples once X groups of the same instrument are playing. Atomic enable_voice_limit{false}; // Max number of voices before old samples are ramped down. static std::size_t constexpr voice_limit_max_default = 15; Atomic voice_limit_max{voice_limit_max_default}; // Time it takes for an old sample to completely fall silent. static float constexpr voice_limit_rampdown_default = 0.5f; Atomic voice_limit_rampdown{voice_limit_rampdown_default}; }; //! Settings getter class. struct SettingsGetter { SettingRef drumkit_file; SettingRef drumkit_load_status; SettingRef drumkit_name; SettingRef drumkit_description; SettingRef drumkit_version; SettingRef drumkit_samplerate; SettingRef disk_cache_upper_limit; SettingRef disk_cache_chunk_size; SettingRef disk_cache_enable; SettingRef number_of_underruns; SettingRef reload_counter; SettingRef midimap_file; SettingRef midimap_load_status; SettingRef enable_velocity_modifier; SettingRef velocity_modifier_falloff; SettingRef velocity_modifier_weight; SettingRef velocity_stddev; SettingRef sample_selection_f_close; SettingRef sample_selection_f_diverse; SettingRef sample_selection_f_random; SettingRef sample_selection_retry_count; SettingRef velocity_modifier_current; SettingRef enable_velocity_randomiser; SettingRef velocity_randomiser_weight; SettingRef samplerate; SettingRef buffer_size; SettingRef enable_resampling; SettingRef resampling_recommended; SettingRef resampling_quality; SettingRef number_of_files; SettingRef number_of_files_loaded; SettingRef current_file; SettingRef enable_bleed_control; SettingRef master_bleed; SettingRef has_bleed_control; SettingRef normalized_samples; SettingRef enable_latency_modifier; SettingRef latency_max_ms; SettingRef latency_laid_back_ms; SettingRef latency_stddev; SettingRef latency_regain; SettingRef latency_current; SettingRef enable_powermap; SettingRef powermap_fixed0_x; SettingRef powermap_fixed0_y; SettingRef powermap_fixed1_x; SettingRef powermap_fixed1_y; SettingRef powermap_fixed2_x; SettingRef powermap_fixed2_y; SettingRef powermap_shelf; SettingRef powermap_input; SettingRef powermap_output; SettingRef audition_counter; SettingRef audition_instrument; SettingRef audition_velocity; SettingRef load_status_text; SettingRef enable_voice_limit; SettingRef voice_limit_max; SettingRef voice_limit_rampdown; SettingsGetter(Settings& settings) : drumkit_file(settings.drumkit_file) , drumkit_load_status(settings.drumkit_load_status) , drumkit_name(settings.drumkit_name) , drumkit_description(settings.drumkit_description) , drumkit_version(settings.drumkit_version) , drumkit_samplerate(settings.drumkit_samplerate) , disk_cache_upper_limit(settings.disk_cache_upper_limit) , disk_cache_chunk_size(settings.disk_cache_chunk_size) , disk_cache_enable(settings.disk_cache_enable) , number_of_underruns(settings.number_of_underruns) , reload_counter(settings.reload_counter) , midimap_file(settings.midimap_file) , midimap_load_status(settings.midimap_load_status) , enable_velocity_modifier{settings.enable_velocity_modifier} , velocity_modifier_falloff{settings.velocity_modifier_falloff} , velocity_modifier_weight{settings.velocity_modifier_weight} , velocity_stddev{settings.velocity_stddev} , sample_selection_f_close{settings.sample_selection_f_close} , sample_selection_f_diverse{settings.sample_selection_f_diverse} , sample_selection_f_random{settings.sample_selection_f_random} , sample_selection_retry_count(settings.sample_selection_retry_count) , velocity_modifier_current{settings.velocity_modifier_current} , enable_velocity_randomiser{settings.enable_velocity_randomiser} , velocity_randomiser_weight{settings.velocity_randomiser_weight} , samplerate{settings.samplerate} , buffer_size(settings.buffer_size) , enable_resampling{settings.enable_resampling} , resampling_recommended{settings.resampling_recommended} , resampling_quality{settings.resampling_quality} , number_of_files{settings.number_of_files} , number_of_files_loaded{settings.number_of_files_loaded} , current_file{settings.current_file} , enable_bleed_control{settings.enable_bleed_control} , master_bleed{settings.master_bleed} , has_bleed_control{settings.has_bleed_control} , normalized_samples{settings.normalized_samples} , enable_latency_modifier{settings.enable_latency_modifier} , latency_max_ms{settings.latency_max_ms} , latency_laid_back_ms{settings.latency_laid_back_ms} , latency_stddev{settings.latency_stddev} , latency_regain{settings.latency_regain} , latency_current{settings.latency_current} , enable_powermap{settings.enable_powermap} , powermap_fixed0_x{settings.powermap_fixed0_x} , powermap_fixed0_y{settings.powermap_fixed0_y} , powermap_fixed1_x{settings.powermap_fixed1_x} , powermap_fixed1_y{settings.powermap_fixed1_y} , powermap_fixed2_x{settings.powermap_fixed2_x} , powermap_fixed2_y{settings.powermap_fixed2_y} , powermap_shelf{settings.powermap_shelf} , powermap_input{settings.powermap_input} , powermap_output{settings.powermap_output} , audition_counter{settings.audition_counter} , audition_instrument{settings.audition_instrument} , audition_velocity{settings.audition_velocity} , load_status_text{settings.load_status_text} , enable_voice_limit{settings.enable_voice_limit} , voice_limit_max{settings.voice_limit_max} , voice_limit_rampdown{settings.voice_limit_rampdown} { } }; //! Settings change notifier class. class SettingsNotifier { public: Notifier drumkit_file; Notifier drumkit_load_status; Notifier drumkit_name; Notifier drumkit_description; Notifier drumkit_version; Notifier drumkit_samplerate; Notifier disk_cache_upper_limit; Notifier disk_cache_chunk_size; Notifier disk_cache_enable; Notifier number_of_underruns; Notifier reload_counter; Notifier midimap_file; Notifier midimap_load_status; Notifier enable_velocity_modifier; Notifier velocity_modifier_falloff; Notifier velocity_modifier_weight; Notifier velocity_stddev; Notifier sample_selection_f_close; Notifier sample_selection_f_diverse; Notifier sample_selection_f_random; Notifier sample_selection_retry_count; Notifier velocity_modifier_current; Notifier enable_velocity_randomiser; Notifier velocity_randomiser_weight; Notifier samplerate; Notifier buffer_size; Notifier enable_resampling; Notifier resampling_recommended; Notifier resampling_quality; Notifier number_of_files; Notifier number_of_files_loaded; Notifier current_file; Notifier enable_bleed_control; Notifier master_bleed; Notifier has_bleed_control; Notifier normalized_samples; Notifier enable_latency_modifier; Notifier latency_max_ms; Notifier latency_laid_back_ms; Notifier latency_stddev; Notifier latency_regain; Notifier latency_current; Notifier enable_powermap; Notifier powermap_fixed0_x; Notifier powermap_fixed0_y; Notifier powermap_fixed1_x; Notifier powermap_fixed1_y; Notifier powermap_fixed2_x; Notifier powermap_fixed2_y; Notifier powermap_shelf; Notifier powermap_input; Notifier powermap_output; Notifier audition_counter; Notifier audition_instrument; Notifier audition_velocity; Notifier load_status_text; Notifier enable_voice_limit; Notifier voice_limit_max; Notifier voice_limit_rampdown; void evaluate() { #define EVAL(x) if(settings.x.hasChanged()) { x(settings.x.getValue()); } EVAL(drumkit_file); EVAL(drumkit_load_status); EVAL(drumkit_name); EVAL(drumkit_description); EVAL(drumkit_version); EVAL(drumkit_samplerate); EVAL(disk_cache_upper_limit); EVAL(disk_cache_chunk_size); EVAL(disk_cache_enable); EVAL(number_of_underruns); EVAL(reload_counter); EVAL(midimap_file); EVAL(midimap_load_status); EVAL(enable_velocity_modifier); EVAL(velocity_modifier_falloff); EVAL(velocity_modifier_weight); EVAL(velocity_stddev); EVAL(sample_selection_f_close); EVAL(sample_selection_f_diverse); EVAL(sample_selection_f_random); EVAL(sample_selection_retry_count); EVAL(velocity_modifier_current); EVAL(enable_velocity_randomiser); EVAL(velocity_randomiser_weight); EVAL(samplerate); EVAL(buffer_size); EVAL(enable_resampling); EVAL(resampling_recommended); EVAL(resampling_quality); EVAL(number_of_files); EVAL(number_of_files_loaded); EVAL(current_file); EVAL(enable_bleed_control); EVAL(master_bleed); EVAL(has_bleed_control); EVAL(normalized_samples); EVAL(enable_latency_modifier); EVAL(latency_max_ms); EVAL(latency_laid_back_ms); EVAL(latency_stddev); EVAL(latency_regain); EVAL(latency_current); EVAL(enable_powermap); EVAL(powermap_fixed0_x); EVAL(powermap_fixed0_y); EVAL(powermap_fixed1_x); EVAL(powermap_fixed1_y); EVAL(powermap_fixed2_x); EVAL(powermap_fixed2_y); EVAL(powermap_shelf); EVAL(powermap_input); EVAL(powermap_output); EVAL(audition_counter); EVAL(audition_instrument); EVAL(audition_velocity); EVAL(load_status_text); EVAL(enable_voice_limit); EVAL(voice_limit_max); EVAL(voice_limit_rampdown); } SettingsNotifier(Settings& settings) : settings(settings) { } private: SettingsGetter settings; }; // lovely reminder: NO, GLOCKE. NOOOO!! /* enum class IntParams { Foo = 0 }; struct Settings { std::array, 5> ints; Settings() : ints{} { //get(IntParams::Foo).store(3); } std::atomic& get(IntParams param) { return ints[(size_t)param]; } }; struct SettingsGetter { std::vector> ints; SettingsGetter(Settings& parent) { for(auto& atomic: parent.ints) { ints.emplace_back(atomic); } } }; */ drumgizmo-0.9.20/src/grid.h0000644000076400007640000000673113557561150012454 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * grid.h * * Sat Jun 16 11:52:08 CEST 2018 * Copyright 2018 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include template class Grid { public: using Index = std::size_t; struct Pos { T x, y; Pos(T x, T y) : x(x), y(y) {} }; Grid() = default; Grid(Index width, Index height); Grid(Index width, Index height, T value); bool is_valid(Index x, Index y) const; bool is_valid(Pos pos) const; Index width() const; Index height() const; T operator()(Pos pos) const; T operator()(Index x, Index y) const; T& operator()(Pos pos); T& operator()(Index x, Index y); std::vector const& getAllEntries() const; void resize(Index width, Index height); void assign(Index width, Index height, T value); void setDefaultValue(T value); private: Index _width; Index _height; std::vector _entries; T default_value; }; template Grid::Grid(Index width, Index height) : _width(width), _height(height), _entries(_width*_height) {} template Grid::Grid(Index width, Index height, T value) : _width(width), _height(height), _entries(_width*_height, value) {} template bool Grid::is_valid(Index x, Index y) const { return x >= 0 && x < _width && y >= 0 && y < _height; } template bool Grid::is_valid(Pos pos) const { return is_valid(pos.x, pos.y); } template auto Grid::width() const -> Index { return _width; } template auto Grid::height() const -> Index { return _height; } template T Grid::operator()(Pos pos) const { return is_valid(pos) ? _entries[pos.x + _width*pos.y] : default_value; } template T Grid::operator()(Index x, Index y) const { return is_valid(x, y) ? _entries[x + _width*y] : default_value; } template T& Grid::operator()(Pos pos) { return is_valid(pos) ? _entries[pos.x + _width*pos.y] : default_value; } template T& Grid::operator()(Index x, Index y) { return is_valid(x, y) ? _entries[x + _width*y] : default_value; } template std::vector const& Grid::getAllEntries() const { return _entries; } template void Grid::resize(Index width, Index height) { _width = width; _height = height; _entries.resize(_width*_height); } template void Grid::assign(Index width, Index height, T value) { _width = width; _height = height; _entries.assign(_width*_height, value); } template void Grid::setDefaultValue(T value) { default_value = value; } drumgizmo-0.9.20/src/configparser.cc0000644000076400007640000000544413653301171014337 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * configparser.cc * * Sat Jun 29 21:55:02 CEST 2013 * Copyright 2013 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "configparser.h" #include #include static bool assign(std::string& dest, const std::string& val) { dest = val; return true; } template static bool attrcpy(T& dest, const pugi::xml_node& src, const std::string& attr, bool opt = false) { const char* val = src.attribute(attr.c_str()).as_string(nullptr); if(!val) { if(!opt) { ERR(configparser, "Attribute %s not found in %s, offset %d\n", attr.data(), src.path().data(), (int)src.offset_debug()); } return opt; } if(!assign(dest, std::string(val))) { ERR(configparser, "Attribute %s could not be assigned, offset %d\n", attr.data(), (int)src.offset_debug()); return false; } return true; } bool ConfigParser::parseString(const std::string& xml) { pugi::xml_document doc; pugi::xml_parse_result result = doc.load_buffer(xml.data(), xml.size()); if(result.status) { ERR(configparser, "XML parse error: %d", (int)result.offset); return false; } pugi::xml_node config_node = doc.child("config"); // Config xml without the version tag defaults to 1.0 std::string version = "1.0"; attrcpy(version, config_node, "version", true); if(version != "1.0") { ERR(configparser, "Only config v1.0 XML supported."); return false; } for(pugi::xml_node value_node : config_node.children("value")) { auto name = value_node.attribute("name").as_string(); if(std::string(name) == "") { continue; } auto value = value_node.child_value(); values[name] = value; } return true; } std::string ConfigParser::value(const std::string& name, const std::string& def) { if(values.find(name) == values.end()) { return def; } return values[name]; } drumgizmo-0.9.20/src/platform.h0000644000076400007640000000367613557561150013360 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * platform.h * * Fri May 20 18:46:17 CEST 2016 * Copyright 2016 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once //! The DG platform types: #define DG_PLATFORM_LINUX 1 //!< Platform is Linux based. #define DG_PLATFORM_WINDOWS 2 //!< Platform is Windows based #define DG_PLATFORM_OSX 3 //!< Platform is MacOSX based. #define DG_PLATFORM_FREEBSD 4 //!< Platform is FreeBSD based. #define DG_PLATFORM_UNIX 5 //!< Platform is Unix based. #ifdef __linux__ #define DG_PLATFORM DG_PLATFORM_LINUX #elif _WIN32 #define DG_PLATFORM DG_PLATFORM_WINDOWS #define WIN32_LEAN_AND_MEAN #include #elif __APPLE__ #define DG_PLATFORM DG_PLATFORM_OSX #elif __FreeBSD__ #define DG_PLATFORM DG_PLATFORM_FREEBSD #elif __unix__ // All other unices (*BSD etc) #define DG_PLATFORM DG_PLATFORM_UNIX #endif #ifndef DG_PLATFORM #error "Platform not defined!" #endif #if defined(_POSIX_VERSION) // POSIX #define DG_POSIX #endif drumgizmo-0.9.20/src/drumgizmoconf.cc0000644000076400007640000000320313756436707014551 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * drumgizmoconf.cc * * Sat May 2 09:18:32 CEST 2020 * Copyright 2020 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "drumgizmoconf.h" #define CONFIGFILENAME "drumgizmo.conf" DrumgizmoConfig::DrumgizmoConfig() : ConfigFile(CONFIGFILENAME) { load(); } DrumgizmoConfig::~DrumgizmoConfig() { save(); } bool DrumgizmoConfig::load() { defaultKit.clear(); defaultMidimap.clear(); if(!ConfigFile::load()) { return false; } defaultKit = getValue("defaultKit"); defaultMidimap = getValue("defaultMidimap"); return true; } bool DrumgizmoConfig::save() { setValue("defaultKit", defaultKit); setValue("defaultMidimap", defaultMidimap); return ConfigFile::save(); } drumgizmo-0.9.20/src/events.h0000644000076400007640000000533513756436707013044 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * events.h * * Sat Sep 18 22:02:16 CEST 2010 * Copyright 2010 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include #include "audiofile.h" #include "audio.h" #include "audiocache.h" #include "id.h" using timepos_t = unsigned int; class EventGroup; // just used as template argument for the ID using EventGroupID = ID; using EventGroupIDs = std::vector; class Event; using EventID = ID; using EventIDs = std::vector; class Event { public: enum class Type { SampleEvent, }; Event(Type type, channel_t channel, timepos_t offset = 0) : type(type), channel(channel), offset(offset) {} virtual ~Event() = default; EventID id; EventGroupID group_id; Type type; channel_t channel; timepos_t offset; //< Global position (ie. not relative to buffer) }; class SampleEvent : public Event { public: SampleEvent(channel_t ch, float g, AudioFile* af, const std::string& grp, std::size_t instrument_id) : Event(Event::Type::SampleEvent, ch) , cache_id(CACHE_NOID) , gain(g) , t(0) , file(af) , group(grp) , rampdown_count(-1) , ramp_length(0) , instrument_id(instrument_id) { } bool rampdownInProgress() const { return rampdown_count != -1; } cacheid_t cache_id; sample_t* buffer; std::size_t buffer_size; std::size_t buffer_ptr{0}; //< Internal pointer into the current buffer std::size_t sample_size{0}; //< Total number of audio samples in this sample. float gain; unsigned int t; //< Internal sample position. AudioFile* file; std::string group; int rampdown_count; int ramp_length; std::size_t rampdown_offset{0}; float scale{1.0f}; std::size_t instrument_id; }; drumgizmo-0.9.20/src/domloader.h0000644000076400007640000000334013653301171013456 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * domloader.h * * Sun Jun 10 17:39:01 CEST 2018 * Copyright 2018 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include "logger.h" struct DrumkitDOM; struct InstrumentDOM; class DrumKit; struct Settings; class Random; class InstrumentChannel; class Instrument; class DOMLoader { public: DOMLoader(Settings& settings, Random& random); bool loadDom(const std::string& basepath, const DrumkitDOM& dom, const std::vector& instrumentdoms, DrumKit& drumkit, LogFunction logger = nullptr); private: static InstrumentChannel* addOrGetChannel(Instrument& instrument, const std::string& name); Settings& settings; Random& random; }; drumgizmo-0.9.20/src/channel.h0000644000076400007640000000316514070276572013137 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * channel.h * * Tue Jul 22 17:14:27 CEST 2008 * Copyright 2008 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include "audio.h" #define ALL_CHANNELS ((channel_t)0xffffffff) #define NO_CHANNEL ((channel_t)0xfffffffe) enum class main_state_t { unset, is_main, is_not_main }; class Channel { public: Channel(const std::string& name = ""); std::string name; channel_t num; }; class InstrumentChannel : public Channel { public: InstrumentChannel(const std::string& name = ""); main_state_t main{main_state_t::unset}; }; typedef std::vector Channels; drumgizmo-0.9.20/src/instrument.cc0000644000076400007640000000617514275473130014075 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * instrument.cc * * Tue Jul 22 17:14:20 CEST 2008 * Copyright 2008 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "instrument.h" #include #include "sample.h" Instrument::Instrument(Settings& settings, Random& rand) : settings(settings) , rand(rand) , sample_selection(settings, rand, powerlist) { DEBUG(instrument, "new %p\n", this); mod = 1.0; lastpos = 0; magic = this; } Instrument::~Instrument() { magic = nullptr; DEBUG(instrument, "delete %p\n", this); } bool Instrument::isValid() const { return this == magic; } const Sample* Instrument::sample(level_t level, size_t pos) { if(version >= VersionStr("2.0")) { // Version 2.0 return sample_selection.get(level * mod, pos); } else { // Version 1.0 auto s = samples.get(level * mod); if(s.size() == 0) { return nullptr; } return rand.choose(s); } } void Instrument::addSample(level_t a, level_t b, const Sample* s) { samples.insert(a, b, s); } void Instrument::finalise() { if(version >= VersionStr("2.0")) { std::vector::iterator s = samplelist.begin(); while(s != samplelist.end()) { powerlist.add(*s); s++; } powerlist.finalise(); sample_selection.finalise(); } } std::size_t Instrument::getID() const { return id; } const std::string& Instrument::getName() const { return _name; } const std::string& Instrument::getDescription() const { return _description; } const std::string& Instrument::getGroup() const { return _group; } void Instrument::setGroup(const std::string& g) { _group = g; } std::size_t Instrument::getNumberOfFiles() const { DEBUG(instrument, "audiofiles.size() %d", (int)audiofiles.size()); // Note: Each AudioFile instance contains just a single channel even for // multi-channel files. return audiofiles.size(); } float Instrument::getMaxPower() const { if(version >= VersionStr("2.0")) { return powerlist.getMaxPower(); } else { return 1.0f; } } float Instrument::getMinPower() const { if(version >= VersionStr("2.0")) { return powerlist.getMinPower(); } else { return 0.0f; } } const std::vector& Instrument::getChokes() { return chokes; } drumgizmo-0.9.20/src/domloader.cc0000644000076400007640000002044714275473130013631 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * domloader.cc * * Sun Jun 10 17:39:01 CEST 2018 * Copyright 2018 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "domloader.h" #include #include #include "DGDOM.h" #include "drumkit.h" #include "path.h" #include "channel.h" #include "cpp11fix.h" struct channel_attribute_t { std::string cname; main_state_t main_state; }; DOMLoader::DOMLoader(Settings& settings, Random& random) : settings(settings) , random(random) { } bool DOMLoader::loadDom(const std::string& basepath, const DrumkitDOM& dom, const std::vector& instrumentdoms, DrumKit& drumkit, LogFunction logger) { settings.has_bleed_control.store(false); drumkit.metadata._name = dom.metadata.title; drumkit.metadata._version = dom.version; drumkit.metadata._description = dom.metadata.description; drumkit.metadata._samplerate = dom.samplerate; for(const auto& channel: dom.channels) { drumkit.channels.emplace_back(); drumkit.channels.back().name = channel.name; drumkit.channels.back().num = drumkit.channels.size() - 1; } // Pass 1 - handling everything that is instrument name based and ultimately // inserts the instrument into the drumkit instrument list which results in // it getting an instrument id (ie. the index in the list). for(const auto& instrumentref : dom.instruments) { bool found{false}; std::unordered_map channelmap; for(const auto& map : instrumentref.channel_map) { channel_attribute_t cattr{map.out, map.main}; channelmap[map.in] = cattr; } for(const auto& instrumentdom : instrumentdoms) { if(instrumentdom.name != instrumentref.name) { continue; } auto instrument = std::make_unique(settings, random); instrument->setGroup(instrumentref.group); instrument->_name = instrumentdom.name; instrument->version = instrumentdom.version; instrument->_description = instrumentdom.description; auto path = getPath(basepath + "/" + instrumentref.file); for(const auto& sampledom : instrumentdom.samples) { auto sample = new Sample(sampledom.name, sampledom.power, sampledom.normalized); for(const auto& audiofiledom : sampledom.audiofiles) { InstrumentChannel *instrument_channel = DOMLoader::addOrGetChannel(*instrument, audiofiledom.instrument_channel); auto audio_file = std::make_unique(path + "/" + audiofiledom.file, audiofiledom.filechannel - 1, // xml is 1-based instrument_channel); sample->addAudioFile(instrument_channel, audio_file.get()); // Transfer audio_file ownership to the instrument. instrument->audiofiles.push_back(std::move(audio_file)); } instrument->samplelist.push_back(sample); } main_state_t default_main_state = main_state_t::unset; for(const auto& channel : channelmap) { if(channel.second.main_state != main_state_t::unset) { default_main_state = main_state_t::is_not_main; } } // Assign kit channel numbers to instruments channels and reset // main_state attribute as needed. for(auto& instrument_channel: instrument->instrument_channels) { channel_attribute_t cattr{instrument_channel.name, main_state_t::unset}; if(channelmap.find(instrument_channel.name) != channelmap.end()) { cattr = channelmap[instrument_channel.name]; } if(cattr.main_state == main_state_t::unset) { cattr.main_state = default_main_state; } if(cattr.main_state != main_state_t::unset) { instrument_channel.main = cattr.main_state; } for(auto cnt = 0u; cnt < drumkit.channels.size(); ++cnt) { if(drumkit.channels[cnt].name == cattr.cname) { instrument_channel.num = drumkit.channels[cnt].num; instrument_channel.name = drumkit.channels[cnt].name; if(instrument_channel.main == main_state_t::is_main) { settings.has_bleed_control.store(true); } } } if(instrument_channel.num == NO_CHANNEL) { ERR(kitparser, "Missing channel '%s' in instrument '%s'\n", instrument_channel.name.c_str(), instrument->getName().c_str()); logger(LogLevel::Warning, "Missing channel '" + instrument_channel.name + "' in the '" + instrument->getName() + "' instrument."); } } if(instrument->version == VersionStr(1,0,0)) { // Version 1.0 use velocity groups for(auto& velocity : instrumentdom.velocities) { for(const auto& sampleref : velocity.samplerefs) { bool found_sample{false}; for(const auto& sample : instrument->samplelist) { // TODO: What should be done with the probability?? if(sample->name == sampleref.name) { instrument->addSample(velocity.lower, velocity.upper, sample); found_sample = true; break; } } if(!found_sample) { ERR(kitparser, "Missing sample '%s' from sampleref in instrument '%s'\n", sampleref.name.data(), instrument->getName().data()); logger(LogLevel::Warning, "Missing sample '" + sampleref.name + "' in the '" + instrument->getName() + "' instrument."); return false; } } } } instrument->finalise(); // Transfer ownership to the DrumKit object. drumkit.instruments.emplace_back(std::move(instrument)); drumkit.instruments.back()->id = drumkit.instruments.size() - 1; found = true; } if(!found) { ERR(domloader, "No instrument with name '%s'", instrumentref.name.data()); logger(LogLevel::Warning, "No instrument with name '" + instrumentref.name + "'."); return false; } } // Pass 2 - handle nodes that require instrument name to instrument id // mappings for(const auto& instrumentref : dom.instruments) { std::size_t instr_id{0}; { bool found{false}; for(std::size_t idx = 0; idx < drumkit.instruments.size(); ++idx) { if(drumkit.instruments[idx]->getName() == instrumentref.name) { instr_id = idx; found = true; break; } } if(!found) { // Missing instrument - skip continue; } } for(const auto& choke : instrumentref.chokes) { std::size_t choke_instr_id{0}; bool choke_found{false}; for(std::size_t idx = 0; idx < drumkit.instruments.size(); ++idx) { if(drumkit.instruments[idx]->getName() == choke.instrument) { choke_instr_id = idx; choke_found = true; break; } } if(!choke_found) { // Missing choke target instrument - skip continue; } drumkit.instruments[instr_id]->chokes.emplace_back(); drumkit.instruments[instr_id]->chokes.back().instrument_id = choke_instr_id; drumkit.instruments[instr_id]->chokes.back().choketime = choke.choketime; } } return true; } InstrumentChannel* DOMLoader::addOrGetChannel(Instrument& instrument, const std::string& name) { for(auto& channel : instrument.instrument_channels) { if(channel.name == name) { return &channel; } } instrument.instrument_channels.emplace_back(name); InstrumentChannel& channel = instrument.instrument_channels.back(); channel.main = main_state_t::unset; return &channel; } drumgizmo-0.9.20/src/audiocache.cc0000644000076400007640000001714313557561150013751 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * audiocache.cc * * Fri Apr 10 10:39:24 CEST 2015 * Copyright 2015 Jonas Suhr Christensen * jsc@umbraculum.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "audiocache.h" #include #include #include #include #include "audiocachefile.h" AudioCache::AudioCache(Settings& settings) : settings(settings) { } AudioCache::~AudioCache() { DEBUG(cache, "~AudioCache() pre\n"); deinit(); delete[] nodata; DEBUG(cache, "~AudioCache() post\n"); } void AudioCache::init(std::size_t poolsize) { setAsyncMode(true); id_manager.init(poolsize); event_handler.start(); } void AudioCache::deinit() { event_handler.stop(); } // Invariant: initial_samples_needed < preloaded audio data sample_t* AudioCache::open(const AudioFile& file, std::size_t initial_samples_needed, int channel, cacheid_t& id) { assert(chunk_size); // Assert updateChunkSize was called before processing. if(!file.isValid()) { settings.number_of_underruns.fetch_add(1); // File preload not yet ready - skip this sample. id = CACHE_DUMMYID; assert(nodata); return nodata; } // Register a new id for this cache session. id = id_manager.registerID({}); // If we are out of available ids we get CACHE_DUMMYID if(id == CACHE_DUMMYID) { settings.number_of_underruns.fetch_add(1); // Use nodata buffer instead. assert(nodata); return nodata; } // Get the cache_t connected with the registered id. cache_t& c = id_manager.getCache(id); c.afile = nullptr; // File is opened when needed. c.channel = channel; // Next call to 'next()' will read from this point. c.localpos = initial_samples_needed; c.ready = false; c.front = nullptr; // This is allocated when needed. c.back = nullptr; // This is allocated when needed. std::size_t cropped_size; if(file.preloadedsize == file.size) { // We have preloaded the entire file, so use it. cropped_size = file.preloadedsize; } else { // Make sure that the preload-data made available to the next() calls // fit on frame boundary: // // [ all preloaded data ] // [ initial ][ biggest multiple of full frames ][ the rest ] // \ / // \----------------------v-------------------/ // cropped_size cropped_size = file.preloadedsize - c.localpos; cropped_size -= cropped_size % framesize; cropped_size += initial_samples_needed; } c.preloaded_samples = file.data; c.preloaded_samples_size = cropped_size; // Next potential read from disk will read from this point. c.pos = cropped_size; // Only load next buffer if there is more data in the file to be loaded... if(c.pos < file.size) { c.afile = &event_handler.openFile(file.filename); if(c.back == nullptr) { c.back = new sample_t[chunk_size]; } event_handler.pushLoadNextEvent(c.afile, c.channel, c.pos, c.back, &c.ready); } return c.preloaded_samples; // return preloaded data } sample_t* AudioCache::next(cacheid_t id, std::size_t& size) { if(id == CACHE_DUMMYID) { settings.number_of_underruns.fetch_add(1); assert(nodata); return nodata; } cache_t& c = id_manager.getCache(id); if(c.preloaded_samples) { // We are playing from memory: if(c.localpos < c.preloaded_samples_size) { sample_t* s = c.preloaded_samples + c.localpos; // If only a partial frame is returned. Reflect this in the size size = std::min(size, c.preloaded_samples_size - c.localpos); c.localpos += size; return s; } c.preloaded_samples = nullptr; // Start using samples from disk. } else { // We are playing from cache: if(c.localpos < chunk_size) { if(c.front == nullptr) { // Just return silence. settings.number_of_underruns.fetch_add(1); c.localpos += size; // Skip these samples so we don't loose sync. assert(nodata); return nodata; } sample_t* s = c.front + c.localpos; // If only a partial frame is returned. Reflect this in the size size = std::min(size, chunk_size - c.localpos); c.localpos += size; return s; } } // Check for buffer underrun if(!c.ready) { // Just return silence. settings.number_of_underruns.fetch_add(1); c.localpos += size; // Skip these samples so we don't loose sync. assert(nodata); return nodata; } // Swap buffers std::swap(c.front, c.back); // Next time we go here we have already read the first frame. c.localpos = size; c.pos += chunk_size; // Does the file have remaining unread samples? assert(c.afile); // Assert that we have an audio file. if(c.pos < c.afile->getSize()) { // Do we have a back buffer to read into? if(c.back == nullptr) { c.back = new sample_t[chunk_size]; } event_handler.pushLoadNextEvent(c.afile, c.channel, c.pos, c.back, &c.ready); } // We should always have a front buffer at this point. assert(c.front); return c.front; } bool AudioCache::isReady(cacheid_t id) { if(id == CACHE_DUMMYID) { return true; } cache_t& cache = id_manager.getCache(id); return cache.ready; } void AudioCache::close(cacheid_t id) { if(id == CACHE_DUMMYID) { return; } event_handler.pushCloseEvent(id); } void AudioCache::setFrameSize(std::size_t framesize) { // Make sure the event handler thread is stalled while we set the framesize // state. std::lock_guard event_handler_lock(event_handler); // NOTE: Not threaded... //std::lock_guard id_manager_lock(id_manager); if(framesize > nodata_framesize) { if(nodata) { nodata_dirty.emplace_back(std::move(nodata)); // Store for later deletion. } nodata = new sample_t[framesize]; nodata_framesize = framesize; for(std::size_t i = 0; i < framesize; ++i) { nodata[i] = 0.0f; } } this->framesize = framesize; } std::size_t AudioCache::getFrameSize() const { return framesize; } void AudioCache::updateChunkSize(std::size_t output_channels) { // Make sure we won't get out-of-range chunk sizes. std::size_t disk_cache_chunk_size = std::max(settings.disk_cache_chunk_size.load(), std::size_t(512u * 1024u)); output_channels = std::max(output_channels, std::size_t(1u)); // 1MB pr. chunk divided over 16 channels, 4 bytes pr. sample. const auto ideal_chunk_size = disk_cache_chunk_size / output_channels / sizeof(sample_t); // Chunk size must match a whole number of frames. chunk_size = (ideal_chunk_size / framesize) * framesize; event_handler.setChunkSize(chunk_size); } void AudioCache::setAsyncMode(bool async) { event_handler.setThreaded(async); } bool AudioCache::isAsyncMode() const { return event_handler.isThreaded(); } drumgizmo-0.9.20/src/velocityfilter.h0000644000076400007640000000300213653301171014547 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * velocityfilter.h * * Sun May 12 16:01:41 CEST 2019 * Copyright 2019 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include "inputfilter.h" #include "instrument.h" struct Settings; class Random; class VelocityFilter : public InputFilter { public: VelocityFilter(Settings& settings, Random& random); bool filter(event_t& event, std::size_t pos) override; // Note getLatency not overloaded because this filter doesn't add latency. private: Settings& settings; Random& random; }; drumgizmo-0.9.20/src/latencyfilter.cc0000644000076400007640000000701113557561150014522 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * latencyfilter.cc * * Fri Jun 10 22:42:53 CEST 2016 * Copyright 2016 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "latencyfilter.h" #include #include #include "settings.h" #include "random.h" LatencyFilter::LatencyFilter(Settings& settings, Random& random) : settings(settings) , random(random) { } template static T1 getLatencySamples(T1 latency_ms, T2 samplerate) { return latency_ms * samplerate / 1000.; } template static T1 getLatencyMs(T1 latency_samples, T2 samplerate) { return 1000. * latency_samples / samplerate; } bool LatencyFilter::filter(event_t& event, std::size_t pos) { auto enabled = settings.enable_latency_modifier.load(); auto latency_ms = settings.latency_max_ms.load(); auto samplerate = settings.samplerate.load(); auto latency_laid_back_ms = settings.latency_laid_back_ms.load(); auto latency_stddev = settings.latency_stddev.load(); auto latency_regain = settings.latency_regain.load(); if(!enabled) { return true; } auto latency = getLatencySamples(latency_ms, samplerate); auto latency_laid_back = getLatencySamples(latency_laid_back_ms, samplerate); // Assert latency_regain is within range [0; 1]. assert(latency_regain >= 0.0f && latency_regain <= 1.0f); // User inputs 0 as no regain and 1 as instant - pow() is the other way around latency_regain *= -1.0f; latency_regain += 1.0f; float duration = (pos - latency_last_pos) / samplerate; latency_offset *= pow(latency_regain, duration); latency_last_pos = pos; float offset_min = -latency; float offset_max = latency; float offset_ms = random.normalDistribution(0.0f, latency_stddev); latency_offset += getLatencySamples(offset_ms, samplerate); latency_offset = std::max(offset_min, std::min(offset_max, latency_offset)); DEBUG(offset, "latency: %d, offset: %f, drift: %f", (int)latency, offset_ms, latency_offset); event.offset += latency; // fixed latency offset event.offset += latency_laid_back; // laid back offset (user controlled) event.offset += latency_offset; // current drift auto latency_current_ms = getLatencyMs(latency_offset + latency_laid_back, samplerate); settings.latency_current.store(latency_current_ms); return true; } std::size_t LatencyFilter::getLatency() const { bool enabled = settings.enable_latency_modifier.load(); if(enabled) { auto latency_ms = settings.latency_max_ms.load(); auto samplerate = settings.samplerate.load(); return getLatencySamples(latency_ms, samplerate); } return 0u; } drumgizmo-0.9.20/src/channel.cc0000644000076400007640000000245713557561150013276 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * channel.cc * * Tue Jul 22 17:14:28 CEST 2008 * Copyright 2008 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "channel.h" Channel::Channel(const std::string& name) : name{name} , num{NO_CHANNEL} { } InstrumentChannel::InstrumentChannel(const std::string& name) : Channel(name) { } drumgizmo-0.9.20/src/versionstr.h0000644000076400007640000000600213557561150013734 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * versionstr.h * * Wed Jul 22 11:41:32 CEST 2009 * Copyright 2009 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include // Workaround - major, minor and patch are defined as macros when using // _GNU_SOURCES #ifdef major #undef major #endif #ifdef minor #undef minor #endif #ifdef patch #undef patch #endif /** * VersionStr class. * It hold a version number and is capable of correct sorting, as well as string * conversion both ways. */ class VersionStr { public: /** * Constructor. * Throws an exeption if the string does not parse. * @param v A std::string containing a version string on the form a.b or * a.b.c */ VersionStr(const std::string& v); /** * Constructor. * @param major A size_t containing the major version number. * @param minor A size_t containing the minor version number. * @param patch A size_t containing the patch level. */ VersionStr(size_t major = 0, size_t minor = 0, size_t patch = 0); /** * Typecast to std::string operator. * It simply converts the version numbers into a string of the form * major.minor * (if patch i 0) or major.minor.patch */ operator std::string() const; /** * Assignment from std::string operator. * Same as in the VersionStr(std::string v) constructor. * Throws an exeption if the string does not parse. */ void operator=(const std::string& v); /** * Comparison operator. * The version objects are sorted according to their major, minor and patch * level numbers. */ bool operator<(const VersionStr& other) const; bool operator==(const VersionStr& other) const; bool operator>(const VersionStr& other) const; bool operator>=(const VersionStr& other) const; bool operator<=(const VersionStr& other) const; /** * @return Major version number. */ size_t major() const; /** * @return Minor version number. */ size_t minor() const; /** * @return Patch level. */ size_t patch() const; private: void set(const std::string& v); std::array version; }; drumgizmo-0.9.20/src/midimapper.h0000644000076400007640000000326314201541070013635 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * midimapper.h * * Mon Jul 21 15:24:07 CEST 2008 * Copyright 2008 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include struct MidimapEntry { int note_id; std::string instrument_name; }; using midimap_t = std::vector; using instrmap_t = std::map; class MidiMapper { public: //! Lookup note in map and returns the corresponding instrument index list. std::vector lookup(int note_id); //! Set new map sets. void swap(instrmap_t& instrmap, midimap_t& midimap); const midimap_t& getMap(); private: instrmap_t instrmap; midimap_t midimap; std::mutex mutex; }; drumgizmo-0.9.20/src/directory.cc0000644000076400007640000002400513756436707013675 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * directory.cc * * Tue Apr 23 22:01:07 CEST 2013 * Copyright 2013 Jonas Suhr Christensen * jsc@umbraculum.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "directory.h" #include #include #include #include #include #include #include #include #if DG_PLATFORM == DG_PLATFORM_WINDOWS #include #include #endif #include #define DRUMKIT_SUFFIX ".xml" // http://en.wikipedia.org/wiki/Path_(computing) #if DG_PLATFORM == DG_PLATFORM_WINDOWS #define SEP "\\" #else #define SEP "/" #endif Directory::Directory(std::string path) { setPath(path); } Directory::~Directory() { } std::string Directory::seperator() { return SEP; } void Directory::setPath(std::string path) { //DEBUG(directory, "Setting path to '%s'\n", path.c_str()); this->_path = cleanPath(path); refresh(); } size_t Directory::count() { return _files.size(); } void Directory::refresh() { _files = listFiles(_path, DIRECTORY_HIDDEN); //_files = listFiles(_path); } bool Directory::cd(std::string dir) { //TODO: Should this return true or false? if(dir.empty() || dir == ".") { return true; } //DEBUG(directory, "Changing to '%s'\n", dir.c_str()); if(exists(_path + SEP + dir)) { std::string path = _path + SEP + dir; setPath(path); refresh(); return true; } else { return false; } } bool Directory::cdUp() { return this->cd(".."); } std::string Directory::path() { return cleanPath(_path); } Directory::EntryList Directory::entryList() { return _files; } #define MAX_FILE_LENGTH 1024 std::string Directory::cwd() { char path[MAX_FILE_LENGTH]; char* c = getcwd(path, MAX_FILE_LENGTH); if(c) { return c; } else { return ""; } } std::string Directory::cleanPath(std::string path) { //DEBUG(directory, "Cleaning path '%s'\n", path.c_str()); Directory::Path pathlst = parsePath(path); return Directory::pathToStr(pathlst); } Directory::EntryList Directory::listFiles(std::string path, unsigned char filter) { DEBUG(directory, "Listing files in '%s'\n", path.c_str()); Directory::EntryList entries; DIR *dir = opendir(path.c_str()); if(!dir) { //DEBUG(directory, "Couldn't open directory '%s\n", path.c_str()); return entries; } std::vector directories; std::vector files; struct dirent *entry; while((entry = readdir(dir)) != nullptr) { std::string name = entry->d_name; if(name == ".") { continue; } if(Directory::isRoot(path) && name == "..") { continue; } unsigned char entryinfo = 0; if(isHidden(path + SEP + name)) { entryinfo |= DIRECTORY_HIDDEN; } std::string entrypath = path; entrypath += SEP; entrypath += entry->d_name; if(Directory::isDir(entrypath)) { if(!(entryinfo && filter)) { if(name == "..") { directories.push_back(entry->d_name); } else { directories.push_back(std::string(SEP) + entry->d_name); } } } else { int drumkit_suffix_length = strlen(DRUMKIT_SUFFIX); if((int)name.size() < drumkit_suffix_length) { continue; } if(name.substr(name.length() - drumkit_suffix_length, drumkit_suffix_length) != DRUMKIT_SUFFIX) { continue; } //if(!(entryinfo && filter)) { files.push_back(entry->d_name); //} } } #if DG_PLATFORM == DG_PLATFORM_WINDOWS //DEBUG(directory, "Root is %s\n", Directory::root(path).c_str()); //DEBUG(directory, "Current path %s is root? %d", path.c_str(), // Directory::isRoot(path)); if(Directory::isRoot(path)) { entries.push_back(".."); } #endif // sort for(int x = 0; x < (int)directories.size(); x++) { for(int y = 0; y < (int)directories.size(); y++) { if(directories[x] < directories[y]) { std::string tmp = directories[x]; directories[x] = directories[y]; directories[y] = tmp; } } } for(int x = 0; x < (int)files.size(); x++) { for(int y = 0; y < (int)files.size(); y++) { if(files[x] < files[y]) { std::string tmp = files[x]; files[x] = files[y]; files[y] = tmp; } } } for(auto directory : directories) { entries.push_back(directory); } for(auto file : files) { entries.push_back(file); } closedir(dir); return entries; } bool Directory::isRoot(std::string path) { #if DG_PLATFORM == DG_PLATFORM_WINDOWS std::transform(path.begin(), path.end(), path.begin(), ::tolower); std::string root_str = Directory::root(path); std::transform(root_str.begin(), root_str.end(), root_str.begin(), ::tolower); // TODO: This is not a correct root calculation, but works with partitions if(path.size() == 2) { if(path == root_str) { return true; } else { return false; } } else { if (path.size() == 3) { if(path == root_str + SEP) { return true; } return false; } else { return false; } } #else if(path == SEP) { return true; } else { return false; } #endif } std::string Directory::root() { return root(cwd()); } std::string Directory::root(std::string path) { #if DG_PLATFORM == DG_PLATFORM_WINDOWS if(path.size() < 2) { return "c:"; // just something default when input is bad } else { return path.substr(0, 2); } #else return SEP; #endif } Directory::DriveList Directory::drives() { Directory::DriveList drives; #if DG_PLATFORM == DG_PLATFORM_WINDOWS unsigned int d = GetLogicalDrives(); for(int i = 0; i < 32; ++i) { if(d & (1 << i)) { drive_t drive; char name[] = "x:"; name[0] = i + 'a'; drive.name = name; drive.number = i; drives.push_back(drive); } } #endif return drives; } bool Directory::isDir() { return isDir(_path); } bool Directory::isDir(std::string path) { //DEBUG(directory, "Is '%s' a directory?\n", path.c_str()); struct stat st; if(stat(path.c_str(), &st) == 0) { if((st.st_mode & S_IFDIR) != 0) { //DEBUG(directory, "\t...yes!\n"); return true; } } //DEBUG(directory, "\t...no!\n"); return false; } bool Directory::fileExists(std::string filename) { return !isDir(_path + SEP + filename); } bool Directory::exists(std::string path) { struct stat st; if(stat(path.c_str(), &st) == 0) { return true; } else { return false; } } bool Directory::isHidden(std::string path) { //DEBUG(directory, "Is '%s' hidden?\n", path.c_str()); #if DG_PLATFORM == DG_PLATFORM_WINDOWS // We dont want to filter out '..' pointing to root of a partition unsigned pos = path.find_last_of("/\\"); std::string entry = path.substr(pos+1); if(entry == "..") { return false; } DWORD fattribs = GetFileAttributes(path.c_str()); if(fattribs & FILE_ATTRIBUTE_HIDDEN) { //DEBUG(directory, "\t...yes!\n"); return true; } else { if(fattribs & FILE_ATTRIBUTE_SYSTEM) { //DEBUG(directory, "\t...yes!\n"); return true; } else { //DEBUG(directory, "\t...no!\n"); return false; } } #else unsigned pos = path.find_last_of("/\\"); std::string entry = path.substr(pos+1); if(entry.size() > 1 && entry.at(0) == '.' && entry.at(1) != '.') { //DEBUG(directory, "\t...yes!\n"); return true; } else { //DEBUG(directory, "\t...no!\n"); return false; } #endif } Directory::Path Directory::parsePath(std::string path_str) { //TODO: Handle "." input and propably other special cases //DEBUG(directory, "Parsing path '%s'", path_str.c_str()); Directory::Path path; std::string current_char; std::string prev_char; std::string dir; for(size_t c = 0; c < path_str.size(); ++c) { current_char = path_str.at(c); if(current_char == SEP) { if(prev_char == SEP) { dir.clear(); prev_char = current_char; continue; } else { if(prev_char == ".") { prev_char = current_char; continue; } } if(!dir.empty()) { path.push_back(dir); } dir.clear(); continue; } else { if(current_char == ".") { if(prev_char == ".") { dir.clear(); if(!path.empty()) { path.pop_back(); } continue; } } } dir += current_char; prev_char = current_char; } if(!dir.empty()) { path.push_back(dir); } return path; } std::string Directory::pathToStr(Directory::Path& path) { std::string cleaned_path; //DEBUG(directory, "Number of directories in path is %d\n", (int)path.size()); for(auto it = path.begin(); it != path.end(); ++it) { std::string dir = *it; //DEBUG(directory, "\tDir '%s'\n", dir.c_str()); #if DG_PLATFORM == DG_PLATFORM_WINDOWS if(it != path.begin()) { cleaned_path += SEP; } cleaned_path += dir; #else cleaned_path += SEP + dir; #endif } //DEBUG(directory, "Cleaned path '%s'\n", cleaned_path.c_str()); if(cleaned_path.empty()) { cleaned_path = Directory::root(); #if DG_PLATFORM == DG_PLATFORM_WINDOWS cleaned_path += SEP; #endif } #if DG_PLATFORM == DG_PLATFORM_WINDOWS if(cleaned_path.size() == 2) { cleaned_path += SEP; } #endif return cleaned_path; } std::string Directory::pathDirectory(std::string filepath) { if(Directory::isDir(filepath)) { return filepath; } Directory::Path path = parsePath(filepath); if(path.size() > 0) { path.pop_back(); } return Directory::pathToStr(path); } drumgizmo-0.9.20/src/events.cc0000644000076400007640000000227713756436707013204 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * events.cc * * Sat Sep 18 22:02:16 CEST 2010 * Copyright 2010 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "events.h" // TODO: remove this file if it isn't needed anymore drumgizmo-0.9.20/src/bytesizeparser.h0000644000076400007640000000234213557561150014574 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * bytesize_parser.h * * Sat Mar 4 18:00:12 CET 2017 * Copyright 2017 Goran Mekić * meka@tilda.center ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include //! Returns size in bytes //! \param argument The size in n{k,M,G} format std::size_t byteSizeParser(const std::string& argument); drumgizmo-0.9.20/test-driver0000755000076400007640000001104114116162202012736 00000000000000#! /bin/sh # test-driver - basic testsuite driver script. scriptversion=2016-01-11.22; # UTC # Copyright (C) 2011-2017 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . # Make unconditional expansion of undefined variables an error. This # helps a lot in preventing typo-related bugs. set -u usage_error () { echo "$0: $*" >&2 print_usage >&2 exit 2 } print_usage () { cat <$log_file 2>&1 estatus=$? if test $enable_hard_errors = no && test $estatus -eq 99; then tweaked_estatus=1 else tweaked_estatus=$estatus fi case $tweaked_estatus:$expect_failure in 0:yes) col=$red res=XPASS recheck=yes gcopy=yes;; 0:*) col=$grn res=PASS recheck=no gcopy=no;; 77:*) col=$blu res=SKIP recheck=no gcopy=yes;; 99:*) col=$mgn res=ERROR recheck=yes gcopy=yes;; *:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;; *:*) col=$red res=FAIL recheck=yes gcopy=yes;; esac # Report the test outcome and exit status in the logs, so that one can # know whether the test passed or failed simply by looking at the '.log' # file, without the need of also peaking into the corresponding '.trs' # file (automake bug#11814). echo "$res $test_name (exit status: $estatus)" >>$log_file # Report outcome to console. echo "${col}${res}${std}: $test_name" # Register the test result, and other relevant metadata. echo ":test-result: $res" > $trs_file echo ":global-test-result: $res" >> $trs_file echo ":recheck: $recheck" >> $trs_file echo ":copy-in-global-log: $gcopy" >> $trs_file # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: drumgizmo-0.9.20/depcomp0000755000076400007640000005601714116162202012131 00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2016-01-11.22; # UTC # Copyright (C) 1999-2017 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by 'PROGRAMS ARGS'. object Object file output by 'PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputting dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac # Get the directory component of the given path, and save it in the # global variables '$dir'. Note that this directory component will # be either empty or ending with a '/' character. This is deliberate. set_dir_from () { case $1 in */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; *) dir=;; esac } # Get the suffix-stripped basename of the given path, and save it the # global variable '$base'. set_base_from () { base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` } # If no dependency file was actually created by the compiler invocation, # we still have to create a dummy depfile, to avoid errors with the # Makefile "include basename.Plo" scheme. make_dummy_depfile () { echo "#dummy" > "$depfile" } # Factor out some common post-processing of the generated depfile. # Requires the auxiliary global variable '$tmpdepfile' to be set. aix_post_process_depfile () { # If the compiler actually managed to produce a dependency file, # post-process it. if test -f "$tmpdepfile"; then # Each line is of the form 'foo.o: dependency.h'. # Do two passes, one to just change these to # $object: dependency.h # and one to simply output # dependency.h: # which is needed to avoid the deleted-header problem. { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" } > "$depfile" rm -f "$tmpdepfile" else make_dummy_depfile fi } # A tabulation character. tab=' ' # A newline character. nl=' ' # Character ranges might be problematic outside the C locale. # These definitions help. upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ lower=abcdefghijklmnopqrstuvwxyz digits=0123456789 alpha=${upper}${lower} if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Avoid interferences from the environment. gccflag= dashmflag= # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi cygpath_u="cygpath -u -f -" if test "$depmode" = msvcmsys; then # This is just like msvisualcpp but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvisualcpp fi if test "$depmode" = msvc7msys; then # This is just like msvc7 but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvc7 fi if test "$depmode" = xlc; then # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. gccflag=-qmakedep=gcc,-MF depmode=gcc fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. ## Unfortunately, FreeBSD c89 acceptance of flags depends upon ## the command line argument order; so add the flags where they ## appear in depend2.am. Note that the slowdown incurred here ## affects only configure: in makefiles, %FASTDEP% shortcuts this. for arg do case $arg in -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; *) set fnord "$@" "$arg" ;; esac shift # fnord shift # $arg done "$@" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. ## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. ## (see the conditional assignment to $gccflag above). ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). Also, it might not be ## supported by the other compilers which use the 'gcc' depmode. ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The second -e expression handles DOS-style file names with drive # letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the "deleted header file" problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. ## Some versions of gcc put a space before the ':'. On the theory ## that the space means something, we add a space to the output as ## well. hp depmode also adds that space, but also prefixes the VPATH ## to the object. Take care to not repeat it in the output. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like '#:fec' to the end of the # dependency line. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ | tr "$nl" ' ' >> "$depfile" echo >> "$depfile" # The second pass generates a dummy entry for each header file. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" ;; xlc) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts '$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.u tmpdepfile2=$base.u tmpdepfile3=$dir.libs/$base.u "$@" -Wc,-M else tmpdepfile1=$dir$base.u tmpdepfile2=$dir$base.u tmpdepfile3=$dir$base.u "$@" -M fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done aix_post_process_depfile ;; tcc) # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 # FIXME: That version still under development at the moment of writing. # Make that this statement remains true also for stable, released # versions. # It will wrap lines (doesn't matter whether long or short) with a # trailing '\', as in: # # foo.o : \ # foo.c \ # foo.h \ # # It will put a trailing '\' even on the last line, and will use leading # spaces rather than leading tabs (at least since its commit 0394caf7 # "Emit spaces for -MD"). "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. # We have to change lines of the first kind to '$object: \'. sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" # And for each line of the second kind, we have to emit a 'dep.h:' # dummy dependency, to avoid the deleted-header problem. sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" rm -f "$tmpdepfile" ;; ## The order of this option in the case statement is important, since the ## shell code in configure will try each of these formats in the order ## listed in this file. A plain '-MD' option would be understood by many ## compilers, so we must ensure this comes after the gcc and icc options. pgcc) # Portland's C compiler understands '-MD'. # Will always output deps to 'file.d' where file is the root name of the # source file under compilation, even if file resides in a subdirectory. # The object file name does not affect the name of the '.d' file. # pgcc 10.2 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using '\' : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... set_dir_from "$object" # Use the source, not the object, to determine the base name, since # that's sadly what pgcc will do too. set_base_from "$source" tmpdepfile=$base.d # For projects that build the same source file twice into different object # files, the pgcc approach of using the *source* file root name can cause # problems in parallel builds. Use a locking strategy to avoid stomping on # the same $tmpdepfile. lockdir=$base.d-lock trap " echo '$0: caught signal, cleaning up...' >&2 rmdir '$lockdir' exit 1 " 1 2 13 15 numtries=100 i=$numtries while test $i -gt 0; do # mkdir is a portable test-and-set. if mkdir "$lockdir" 2>/dev/null; then # This process acquired the lock. "$@" -MD stat=$? # Release the lock. rmdir "$lockdir" break else # If the lock is being held by a different process, wait # until the winning process is done or we timeout. while test -d "$lockdir" && test $i -gt 0; do sleep 1 i=`expr $i - 1` done fi i=`expr $i - 1` done trap - 1 2 13 15 if test $i -le 0; then echo "$0: failed to acquire lock after $numtries attempts" >&2 echo "$0: check lockdir '$lockdir'" >&2 exit 1 fi if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp2) # The "hp" stanza above does not work with aCC (C++) and HP's ia64 # compilers, which have integrated preprocessors. The correct option # to use with these is +Maked; it writes dependencies to a file named # 'foo.d', which lands next to the object file, wherever that # happens to be. # Much of this is similar to the tru64 case; see comments there. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.d tmpdepfile2=$dir.libs/$base.d "$@" -Wc,+Maked else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d "$@" +Maked fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" # Add 'dependent.h:' lines. sed -ne '2,${ s/^ *// s/ \\*$// s/$/:/ p }' "$tmpdepfile" >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" "$tmpdepfile2" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in 'foo.d' instead, so we check for that too. # Subdirectories are respected. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then # Libtool generates 2 separate objects for the 2 libraries. These # two compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir$base.o.d # libtool 1.5 tmpdepfile2=$dir.libs/$base.o.d # Likewise. tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d "$@" -MD fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done # Same post-processing that is required for AIX mode. aix_post_process_depfile ;; msvc7) if test "$libtool" = yes; then showIncludes=-Wc,-showIncludes else showIncludes=-showIncludes fi "$@" $showIncludes > "$tmpdepfile" stat=$? grep -v '^Note: including file: ' "$tmpdepfile" if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The first sed program below extracts the file names and escapes # backslashes for cygpath. The second sed program outputs the file # name when reading, but also accumulates all include files in the # hold buffer in order to output them again at the end. This only # works with sed implementations that can handle large buffers. sed < "$tmpdepfile" -n ' /^Note: including file: *\(.*\)/ { s//\1/ s/\\/\\\\/g p }' | $cygpath_u | sort -u | sed -n ' s/ /\\ /g s/\(.*\)/'"$tab"'\1 \\/p s/.\(.*\) \\/\1:/ H $ { s/.*/'"$tab"'/ G p }' >> "$depfile" echo >> "$depfile" # make sure the fragment doesn't end with a backslash rm -f "$tmpdepfile" ;; msvc7msys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for ':' # in the target name. This is to cope with DOS-style filenames: # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. "$@" $dashmflag | sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this sed invocation # correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # X makedepend shift cleared=no eat=no for arg do case $cleared in no) set ""; shift cleared=yes ;; esac if test $eat = yes; then eat=no continue fi case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -arch) eat=yes ;; -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix=`echo "$object" | sed 's/^.*\././'` touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" # makedepend may prepend the VPATH from the source file name to the object. # No need to regex-escape $object, excess matching of '.' is harmless. sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process the last invocation # correctly. Breaking it into two sed invocations is a workaround. sed '1,2d' "$tmpdepfile" \ | tr ' ' "$nl" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E \ | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi IFS=" " for arg do case "$arg" in -o) shift ;; $object) shift ;; "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E 2>/dev/null | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" echo "$tab" >> "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; msvcmsys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: drumgizmo-0.9.20/version.h0000644000076400007640000000003114275473132012410 00000000000000#define VERSION "0.9.20" drumgizmo-0.9.20/aclocal.m40000644000076400007640000135412014306421322012413 00000000000000# generated automatically by aclocal 1.15.1 -*- Autoconf -*- # Copyright (C) 1996-2017 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.71],, [m4_warning([this file was generated for autoconf 2.71. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # # Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc. # Written by Gordon Matzigkeit, 1996 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. m4_define([_LT_COPYING], [dnl # Copyright (C) 2014 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # GNU Libtool is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of of the License, or # (at your option) any later version. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program or library that is built # using GNU Libtool, you may include this file under the same # distribution terms that you use for the rest of that program. # # GNU Libtool is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . ]) # serial 58 LT_INIT # LT_PREREQ(VERSION) # ------------------ # Complain and exit if this libtool version is less that VERSION. m4_defun([LT_PREREQ], [m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, [m4_default([$3], [m4_fatal([Libtool version $1 or higher is required], 63)])], [$2])]) # _LT_CHECK_BUILDDIR # ------------------ # Complain if the absolute build directory name contains unusual characters m4_defun([_LT_CHECK_BUILDDIR], [case `pwd` in *\ * | *\ *) AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; esac ]) # LT_INIT([OPTIONS]) # ------------------ AC_DEFUN([LT_INIT], [AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl AC_BEFORE([$0], [LT_LANG])dnl AC_BEFORE([$0], [LT_OUTPUT])dnl AC_BEFORE([$0], [LTDL_INIT])dnl m4_require([_LT_CHECK_BUILDDIR])dnl dnl Autoconf doesn't catch unexpanded LT_ macros by default: m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 dnl unless we require an AC_DEFUNed macro: AC_REQUIRE([LTOPTIONS_VERSION])dnl AC_REQUIRE([LTSUGAR_VERSION])dnl AC_REQUIRE([LTVERSION_VERSION])dnl AC_REQUIRE([LTOBSOLETE_VERSION])dnl m4_require([_LT_PROG_LTMAIN])dnl _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}]) dnl Parse OPTIONS _LT_SET_OPTIONS([$0], [$1]) # This can be used to rebuild libtool when needed LIBTOOL_DEPS=$ltmain # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' AC_SUBST(LIBTOOL)dnl _LT_SETUP # Only expand once: m4_define([LT_INIT]) ])# LT_INIT # Old names: AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_PROG_LIBTOOL], []) dnl AC_DEFUN([AM_PROG_LIBTOOL], []) # _LT_PREPARE_CC_BASENAME # ----------------------- m4_defun([_LT_PREPARE_CC_BASENAME], [ # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. func_cc_basename () { for cc_temp in @S|@*""; do case $cc_temp in compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; \-*) ;; *) break;; esac done func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` } ])# _LT_PREPARE_CC_BASENAME # _LT_CC_BASENAME(CC) # ------------------- # It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME, # but that macro is also expanded into generated libtool script, which # arranges for $SED and $ECHO to be set by different means. m4_defun([_LT_CC_BASENAME], [m4_require([_LT_PREPARE_CC_BASENAME])dnl AC_REQUIRE([_LT_DECL_SED])dnl AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl func_cc_basename $1 cc_basename=$func_cc_basename_result ]) # _LT_FILEUTILS_DEFAULTS # ---------------------- # It is okay to use these file commands and assume they have been set # sensibly after 'm4_require([_LT_FILEUTILS_DEFAULTS])'. m4_defun([_LT_FILEUTILS_DEFAULTS], [: ${CP="cp -f"} : ${MV="mv -f"} : ${RM="rm -f"} ])# _LT_FILEUTILS_DEFAULTS # _LT_SETUP # --------- m4_defun([_LT_SETUP], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl _LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl dnl _LT_DECL([], [host_alias], [0], [The host system])dnl _LT_DECL([], [host], [0])dnl _LT_DECL([], [host_os], [0])dnl dnl _LT_DECL([], [build_alias], [0], [The build system])dnl _LT_DECL([], [build], [0])dnl _LT_DECL([], [build_os], [0])dnl dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([LT_PATH_LD])dnl AC_REQUIRE([LT_PATH_NM])dnl dnl AC_REQUIRE([AC_PROG_LN_S])dnl test -z "$LN_S" && LN_S="ln -s" _LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl dnl AC_REQUIRE([LT_CMD_MAX_LEN])dnl _LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl _LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_CHECK_SHELL_FEATURES])dnl m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl m4_require([_LT_CMD_RELOAD])dnl m4_require([_LT_CHECK_MAGIC_METHOD])dnl m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl m4_require([_LT_CMD_OLD_ARCHIVE])dnl m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl m4_require([_LT_WITH_SYSROOT])dnl m4_require([_LT_CMD_TRUNCATE])dnl _LT_CONFIG_LIBTOOL_INIT([ # See if we are running on zsh, and set the options that allow our # commands through without removal of \ escapes INIT. if test -n "\${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi ]) if test -n "${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi _LT_CHECK_OBJDIR m4_require([_LT_TAG_COMPILER])dnl case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test set != "${COLLECT_NAMES+set}"; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Global variables: ofile=libtool can_build_shared=yes # All known linkers require a '.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a with_gnu_ld=$lt_cv_prog_gnu_ld old_CC=$CC old_CFLAGS=$CFLAGS # Set sane defaults for various variables test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS test -z "$LD" && LD=ld test -z "$ac_objext" && ac_objext=o _LT_CC_BASENAME([$compiler]) # Only perform the check for file, if the check method requires it test -z "$MAGIC_CMD" && MAGIC_CMD=file case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then _LT_PATH_MAGIC fi ;; esac # Use C for the default configuration in the libtool script LT_SUPPORTED_TAG([CC]) _LT_LANG_C_CONFIG _LT_LANG_DEFAULT_CONFIG _LT_CONFIG_COMMANDS ])# _LT_SETUP # _LT_PREPARE_SED_QUOTE_VARS # -------------------------- # Define a few sed substitution that help us do robust quoting. m4_defun([_LT_PREPARE_SED_QUOTE_VARS], [# Backslashify metacharacters that are still active within # double-quoted strings. sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\([["`\\]]\)/\\\1/g' # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to delay expansion of an escaped single quote. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' ]) # _LT_PROG_LTMAIN # --------------- # Note that this code is called both from 'configure', and 'config.status' # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, # 'config.status' has no value for ac_aux_dir unless we are using Automake, # so we pass a copy along to make sure it has a sensible value anyway. m4_defun([_LT_PROG_LTMAIN], [m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl _LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) ltmain=$ac_aux_dir/ltmain.sh ])# _LT_PROG_LTMAIN # So that we can recreate a full libtool script including additional # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS # in macros and then make a single call at the end using the 'libtool' # label. # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) # ---------------------------------------- # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. m4_define([_LT_CONFIG_LIBTOOL_INIT], [m4_ifval([$1], [m4_append([_LT_OUTPUT_LIBTOOL_INIT], [$1 ])])]) # Initialize. m4_define([_LT_OUTPUT_LIBTOOL_INIT]) # _LT_CONFIG_LIBTOOL([COMMANDS]) # ------------------------------ # Register COMMANDS to be passed to AC_CONFIG_COMMANDS later. m4_define([_LT_CONFIG_LIBTOOL], [m4_ifval([$1], [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS], [$1 ])])]) # Initialize. m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS]) # _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS]) # ----------------------------------------------------- m4_defun([_LT_CONFIG_SAVE_COMMANDS], [_LT_CONFIG_LIBTOOL([$1]) _LT_CONFIG_LIBTOOL_INIT([$2]) ]) # _LT_FORMAT_COMMENT([COMMENT]) # ----------------------------- # Add leading comment marks to the start of each line, and a trailing # full-stop to the whole comment if one is not present already. m4_define([_LT_FORMAT_COMMENT], [m4_ifval([$1], [ m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])], [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.]) )]) # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?]) # ------------------------------------------------------------------- # CONFIGNAME is the name given to the value in the libtool script. # VARNAME is the (base) name used in the configure script. # VALUE may be 0, 1 or 2 for a computed quote escaped value based on # VARNAME. Any other value will be used directly. m4_define([_LT_DECL], [lt_if_append_uniq([lt_decl_varnames], [$2], [, ], [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name], [m4_ifval([$1], [$1], [$2])]) lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3]) m4_ifval([$4], [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])]) lt_dict_add_subkey([lt_decl_dict], [$2], [tagged?], [m4_ifval([$5], [yes], [no])])]) ]) # _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION]) # -------------------------------------------------------- m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])]) # lt_decl_tag_varnames([SEPARATOR], [VARNAME1...]) # ------------------------------------------------ m4_define([lt_decl_tag_varnames], [_lt_decl_filter([tagged?], [yes], $@)]) # _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..]) # --------------------------------------------------------- m4_define([_lt_decl_filter], [m4_case([$#], [0], [m4_fatal([$0: too few arguments: $#])], [1], [m4_fatal([$0: too few arguments: $#: $1])], [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)], [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)], [lt_dict_filter([lt_decl_dict], $@)])[]dnl ]) # lt_decl_quote_varnames([SEPARATOR], [VARNAME1...]) # -------------------------------------------------- m4_define([lt_decl_quote_varnames], [_lt_decl_filter([value], [1], $@)]) # lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...]) # --------------------------------------------------- m4_define([lt_decl_dquote_varnames], [_lt_decl_filter([value], [2], $@)]) # lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) # --------------------------------------------------- m4_define([lt_decl_varnames_tagged], [m4_assert([$# <= 2])dnl _$0(m4_quote(m4_default([$1], [[, ]])), m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]), m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))]) m4_define([_lt_decl_varnames_tagged], [m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])]) # lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) # ------------------------------------------------ m4_define([lt_decl_all_varnames], [_$0(m4_quote(m4_default([$1], [[, ]])), m4_if([$2], [], m4_quote(lt_decl_varnames), m4_quote(m4_shift($@))))[]dnl ]) m4_define([_lt_decl_all_varnames], [lt_join($@, lt_decl_varnames_tagged([$1], lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl ]) # _LT_CONFIG_STATUS_DECLARE([VARNAME]) # ------------------------------------ # Quote a variable value, and forward it to 'config.status' so that its # declaration there will have the same value as in 'configure'. VARNAME # must have a single quote delimited value for this to work. m4_define([_LT_CONFIG_STATUS_DECLARE], [$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`']) # _LT_CONFIG_STATUS_DECLARATIONS # ------------------------------ # We delimit libtool config variables with single quotes, so when # we write them to config.status, we have to be sure to quote all # embedded single quotes properly. In configure, this macro expands # each variable declared with _LT_DECL (and _LT_TAGDECL) into: # # ='`$ECHO "$" | $SED "$delay_single_quote_subst"`' m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) # _LT_LIBTOOL_TAGS # ---------------- # Output comment and list of tags supported by the script m4_defun([_LT_LIBTOOL_TAGS], [_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl available_tags='_LT_TAGS'dnl ]) # _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) # ----------------------------------- # Extract the dictionary values for VARNAME (optionally with TAG) and # expand to a commented shell variable setting: # # # Some comment about what VAR is for. # visible_name=$lt_internal_name m4_define([_LT_LIBTOOL_DECLARE], [_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [description])))[]dnl m4_pushdef([_libtool_name], m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])), [0], [_libtool_name=[$]$1], [1], [_libtool_name=$lt_[]$1], [2], [_libtool_name=$lt_[]$1], [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl ]) # _LT_LIBTOOL_CONFIG_VARS # ----------------------- # Produce commented declarations of non-tagged libtool config variables # suitable for insertion in the LIBTOOL CONFIG section of the 'libtool' # script. Tagged libtool config variables (even for the LIBTOOL CONFIG # section) are produced by _LT_LIBTOOL_TAG_VARS. m4_defun([_LT_LIBTOOL_CONFIG_VARS], [m4_foreach([_lt_var], m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])]) # _LT_LIBTOOL_TAG_VARS(TAG) # ------------------------- m4_define([_LT_LIBTOOL_TAG_VARS], [m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])]) # _LT_TAGVAR(VARNAME, [TAGNAME]) # ------------------------------ m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])]) # _LT_CONFIG_COMMANDS # ------------------- # Send accumulated output to $CONFIG_STATUS. Thanks to the lists of # variables for single and double quote escaping we saved from calls # to _LT_DECL, we can put quote escaped variables declarations # into 'config.status', and then the shell code to quote escape them in # for loops in 'config.status'. Finally, any additional code accumulated # from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. m4_defun([_LT_CONFIG_COMMANDS], [AC_PROVIDE_IFELSE([LT_OUTPUT], dnl If the libtool generation code has been placed in $CONFIG_LT, dnl instead of duplicating it all over again into config.status, dnl then we will have config.status run $CONFIG_LT later, so it dnl needs to know what name is stored there: [AC_CONFIG_COMMANDS([libtool], [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], dnl If the libtool generation code is destined for config.status, dnl expand the accumulated commands and init code now: [AC_CONFIG_COMMANDS([libtool], [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])]) ])#_LT_CONFIG_COMMANDS # Initialize. m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT], [ # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH sed_quote_subst='$sed_quote_subst' double_quote_subst='$double_quote_subst' delay_variable_subst='$delay_variable_subst' _LT_CONFIG_STATUS_DECLARATIONS LTCC='$LTCC' LTCFLAGS='$LTCFLAGS' compiler='$compiler_DEFAULT' # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF \$[]1 _LTECHO_EOF' } # Quote evaled strings. for var in lt_decl_all_varnames([[ \ ]], lt_decl_quote_varnames); do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[[\\\\\\\`\\"\\\$]]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done # Double-quote double-evaled strings. for var in lt_decl_all_varnames([[ \ ]], lt_decl_dquote_varnames); do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[[\\\\\\\`\\"\\\$]]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done _LT_OUTPUT_LIBTOOL_INIT ]) # _LT_GENERATED_FILE_INIT(FILE, [COMMENT]) # ------------------------------------ # Generate a child script FILE with all initialization necessary to # reuse the environment learned by the parent script, and make the # file executable. If COMMENT is supplied, it is inserted after the # '#!' sequence but before initialization text begins. After this # macro, additional text can be appended to FILE to form the body of # the child script. The macro ends with non-zero status if the # file could not be fully written (such as if the disk is full). m4_ifdef([AS_INIT_GENERATED], [m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])], [m4_defun([_LT_GENERATED_FILE_INIT], [m4_require([AS_PREPARE])]dnl [m4_pushdef([AS_MESSAGE_LOG_FD])]dnl [lt_write_fail=0 cat >$1 <<_ASEOF || lt_write_fail=1 #! $SHELL # Generated by $as_me. $2 SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$1 <<\_ASEOF || lt_write_fail=1 AS_SHELL_SANITIZE _AS_PREPARE exec AS_MESSAGE_FD>&1 _ASEOF test 0 = "$lt_write_fail" && chmod +x $1[]dnl m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT # LT_OUTPUT # --------- # This macro allows early generation of the libtool script (before # AC_OUTPUT is called), incase it is used in configure for compilation # tests. AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt} AC_MSG_NOTICE([creating $CONFIG_LT]) _LT_GENERATED_FILE_INIT(["$CONFIG_LT"], [# Run this file to recreate a libtool stub with the current configuration.]) cat >>"$CONFIG_LT" <<\_LTEOF lt_cl_silent=false exec AS_MESSAGE_LOG_FD>>config.log { echo AS_BOX([Running $as_me.]) } >&AS_MESSAGE_LOG_FD lt_cl_help="\ '$as_me' creates a local libtool stub from the current configuration, for use in further configure time tests before the real libtool is generated. Usage: $[0] [[OPTIONS]] -h, --help print this help, then exit -V, --version print version number, then exit -q, --quiet do not print progress messages -d, --debug don't remove temporary files Report bugs to ." lt_cl_version="\ m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) configured by $[0], generated by m4_PACKAGE_STRING. Copyright (C) 2011 Free Software Foundation, Inc. This config.lt script is free software; the Free Software Foundation gives unlimited permision to copy, distribute and modify it." while test 0 != $[#] do case $[1] in --version | --v* | -V ) echo "$lt_cl_version"; exit 0 ;; --help | --h* | -h ) echo "$lt_cl_help"; exit 0 ;; --debug | --d* | -d ) debug=: ;; --quiet | --q* | --silent | --s* | -q ) lt_cl_silent=: ;; -*) AC_MSG_ERROR([unrecognized option: $[1] Try '$[0] --help' for more information.]) ;; *) AC_MSG_ERROR([unrecognized argument: $[1] Try '$[0] --help' for more information.]) ;; esac shift done if $lt_cl_silent; then exec AS_MESSAGE_FD>/dev/null fi _LTEOF cat >>"$CONFIG_LT" <<_LTEOF _LT_OUTPUT_LIBTOOL_COMMANDS_INIT _LTEOF cat >>"$CONFIG_LT" <<\_LTEOF AC_MSG_NOTICE([creating $ofile]) _LT_OUTPUT_LIBTOOL_COMMANDS AS_EXIT(0) _LTEOF chmod +x "$CONFIG_LT" # configure is writing to config.log, but config.lt does its own redirection, # appending to config.log, which fails on DOS, as config.log is still kept # open by configure. Here we exec the FD to /dev/null, effectively closing # config.log, so it can be properly (re)opened and appended to by config.lt. lt_cl_success=: test yes = "$silent" && lt_config_lt_args="$lt_config_lt_args --quiet" exec AS_MESSAGE_LOG_FD>/dev/null $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false exec AS_MESSAGE_LOG_FD>>config.log $lt_cl_success || AS_EXIT(1) ])# LT_OUTPUT # _LT_CONFIG(TAG) # --------------- # If TAG is the built-in tag, create an initial libtool script with a # default configuration from the untagged config vars. Otherwise add code # to config.status for appending the configuration named by TAG from the # matching tagged config vars. m4_defun([_LT_CONFIG], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl _LT_CONFIG_SAVE_COMMANDS([ m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl m4_if(_LT_TAG, [C], [ # See if we are running on zsh, and set the options that allow our # commands through without removal of \ escapes. if test -n "${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi cfgfile=${ofile}T trap "$RM \"$cfgfile\"; exit 1" 1 2 15 $RM "$cfgfile" cat <<_LT_EOF >> "$cfgfile" #! $SHELL # Generated automatically by $as_me ($PACKAGE) $VERSION # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # Provide generalized library-building support services. # Written by Gordon Matzigkeit, 1996 _LT_COPYING _LT_LIBTOOL_TAGS # Configured defaults for sys_lib_dlsearch_path munging. : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} # ### BEGIN LIBTOOL CONFIG _LT_LIBTOOL_CONFIG_VARS _LT_LIBTOOL_TAG_VARS # ### END LIBTOOL CONFIG _LT_EOF cat <<'_LT_EOF' >> "$cfgfile" # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE _LT_PREPARE_MUNGE_PATH_LIST _LT_PREPARE_CC_BASENAME # ### END FUNCTIONS SHARED WITH CONFIGURE _LT_EOF case $host_os in aix3*) cat <<\_LT_EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test set != "${COLLECT_NAMES+set}"; then COLLECT_NAMES= export COLLECT_NAMES fi _LT_EOF ;; esac _LT_PROG_LTMAIN # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '$q' "$ltmain" >> "$cfgfile" \ || (rm -f "$cfgfile"; exit 1) mv -f "$cfgfile" "$ofile" || (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" ], [cat <<_LT_EOF >> "$ofile" dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded dnl in a comment (ie after a #). # ### BEGIN LIBTOOL TAG CONFIG: $1 _LT_LIBTOOL_TAG_VARS(_LT_TAG) # ### END LIBTOOL TAG CONFIG: $1 _LT_EOF ])dnl /m4_if ], [m4_if([$1], [], [ PACKAGE='$PACKAGE' VERSION='$VERSION' RM='$RM' ofile='$ofile'], []) ])dnl /_LT_CONFIG_SAVE_COMMANDS ])# _LT_CONFIG # LT_SUPPORTED_TAG(TAG) # --------------------- # Trace this macro to discover what tags are supported by the libtool # --tag option, using: # autoconf --trace 'LT_SUPPORTED_TAG:$1' AC_DEFUN([LT_SUPPORTED_TAG], []) # C support is built-in for now m4_define([_LT_LANG_C_enabled], []) m4_define([_LT_TAGS], []) # LT_LANG(LANG) # ------------- # Enable libtool support for the given language if not already enabled. AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl m4_case([$1], [C], [_LT_LANG(C)], [C++], [_LT_LANG(CXX)], [Go], [_LT_LANG(GO)], [Java], [_LT_LANG(GCJ)], [Fortran 77], [_LT_LANG(F77)], [Fortran], [_LT_LANG(FC)], [Windows Resource], [_LT_LANG(RC)], [m4_ifdef([_LT_LANG_]$1[_CONFIG], [_LT_LANG($1)], [m4_fatal([$0: unsupported language: "$1"])])])dnl ])# LT_LANG # _LT_LANG(LANGNAME) # ------------------ m4_defun([_LT_LANG], [m4_ifdef([_LT_LANG_]$1[_enabled], [], [LT_SUPPORTED_TAG([$1])dnl m4_append([_LT_TAGS], [$1 ])dnl m4_define([_LT_LANG_]$1[_enabled], [])dnl _LT_LANG_$1_CONFIG($1)])dnl ])# _LT_LANG m4_ifndef([AC_PROG_GO], [ # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_GO. When it is available in # # a released version of Autoconf we should remove this # # macro and use it instead. # m4_defun([AC_PROG_GO], [AC_LANG_PUSH(Go)dnl AC_ARG_VAR([GOC], [Go compiler command])dnl AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl _AC_ARG_VAR_LDFLAGS()dnl AC_CHECK_TOOL(GOC, gccgo) if test -z "$GOC"; then if test -n "$ac_tool_prefix"; then AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo]) fi fi if test -z "$GOC"; then AC_CHECK_PROG(GOC, gccgo, gccgo, false) fi ])#m4_defun ])#m4_ifndef # _LT_LANG_DEFAULT_CONFIG # ----------------------- m4_defun([_LT_LANG_DEFAULT_CONFIG], [AC_PROVIDE_IFELSE([AC_PROG_CXX], [LT_LANG(CXX)], [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])]) AC_PROVIDE_IFELSE([AC_PROG_F77], [LT_LANG(F77)], [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])]) AC_PROVIDE_IFELSE([AC_PROG_FC], [LT_LANG(FC)], [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])]) dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal dnl pulling things in needlessly. AC_PROVIDE_IFELSE([AC_PROG_GCJ], [LT_LANG(GCJ)], [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], [LT_LANG(GCJ)], [AC_PROVIDE_IFELSE([LT_PROG_GCJ], [LT_LANG(GCJ)], [m4_ifdef([AC_PROG_GCJ], [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])]) m4_ifdef([A][M_PROG_GCJ], [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])]) m4_ifdef([LT_PROG_GCJ], [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) AC_PROVIDE_IFELSE([AC_PROG_GO], [LT_LANG(GO)], [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])]) AC_PROVIDE_IFELSE([LT_PROG_RC], [LT_LANG(RC)], [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) ])# _LT_LANG_DEFAULT_CONFIG # Obsolete macros: AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_CXX], []) dnl AC_DEFUN([AC_LIBTOOL_F77], []) dnl AC_DEFUN([AC_LIBTOOL_FC], []) dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) dnl AC_DEFUN([AC_LIBTOOL_RC], []) # _LT_TAG_COMPILER # ---------------- m4_defun([_LT_TAG_COMPILER], [AC_REQUIRE([AC_PROG_CC])dnl _LT_DECL([LTCC], [CC], [1], [A C compiler])dnl _LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl _LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl _LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC ])# _LT_TAG_COMPILER # _LT_COMPILER_BOILERPLATE # ------------------------ # Check for compiler boilerplate output or warnings with # the simple compiler test code. m4_defun([_LT_COMPILER_BOILERPLATE], [m4_require([_LT_DECL_SED])dnl ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $RM conftest* ])# _LT_COMPILER_BOILERPLATE # _LT_LINKER_BOILERPLATE # ---------------------- # Check for linker boilerplate output or warnings with # the simple link test code. m4_defun([_LT_LINKER_BOILERPLATE], [m4_require([_LT_DECL_SED])dnl ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $RM -r conftest* ])# _LT_LINKER_BOILERPLATE # _LT_REQUIRED_DARWIN_CHECKS # ------------------------- m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ case $host_os in rhapsody* | darwin*) AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) AC_CHECK_TOOL([LIPO], [lipo], [:]) AC_CHECK_TOOL([OTOOL], [otool], [:]) AC_CHECK_TOOL([OTOOL64], [otool64], [:]) _LT_DECL([], [DSYMUTIL], [1], [Tool to manipulate archived DWARF debug symbol files on Mac OS X]) _LT_DECL([], [NMEDIT], [1], [Tool to change global to local symbols on Mac OS X]) _LT_DECL([], [LIPO], [1], [Tool to manipulate fat objects and archives on Mac OS X]) _LT_DECL([], [OTOOL], [1], [ldd/readelf like tool for Mach-O binaries on Mac OS X]) _LT_DECL([], [OTOOL64], [1], [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], [lt_cv_apple_cc_single_mod=no if test -z "$LT_MULTI_MODULE"; then # By default we will add the -single_module flag. You can override # by either setting the environment variable LT_MULTI_MODULE # non-empty at configure time, or by adding -multi_module to the # link flags. rm -rf libconftest.dylib* echo "int foo(void){return 1;}" > conftest.c echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err _lt_result=$? # If there is a non-empty error log, and "single_module" # appears in it, assume the flag caused a linker warning if test -s conftest.err && $GREP single_module conftest.err; then cat conftest.err >&AS_MESSAGE_LOG_FD # Otherwise, if the output was created with a 0 exit code from # the compiler, it worked. elif test -f libconftest.dylib && test 0 = "$_lt_result"; then lt_cv_apple_cc_single_mod=yes else cat conftest.err >&AS_MESSAGE_LOG_FD fi rm -rf libconftest.dylib* rm -f conftest.* fi]) AC_CACHE_CHECK([for -exported_symbols_list linker flag], [lt_cv_ld_exported_symbols_list], [lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [lt_cv_ld_exported_symbols_list=yes], [lt_cv_ld_exported_symbols_list=no]) LDFLAGS=$save_LDFLAGS ]) AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load], [lt_cv_ld_force_load=no cat > conftest.c << _LT_EOF int forced_loaded() { return 2;} _LT_EOF echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD cat > conftest.c << _LT_EOF int main() { return 0;} _LT_EOF echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err _lt_result=$? if test -s conftest.err && $GREP force_load conftest.err; then cat conftest.err >&AS_MESSAGE_LOG_FD elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then lt_cv_ld_force_load=yes else cat conftest.err >&AS_MESSAGE_LOG_FD fi rm -f conftest.err libconftest.a conftest conftest.c rm -rf conftest.dSYM ]) case $host_os in rhapsody* | darwin1.[[012]]) _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; darwin1.*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; darwin*) # darwin 5.x on # if running on 10.5 or later, the deployment target defaults # to the OS version, if on x86, and 10.4, the deployment # target defaults to 10.4. Don't you love it? case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 10.[[012]][[,.]]*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 10.*) _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; esac ;; esac if test yes = "$lt_cv_apple_cc_single_mod"; then _lt_dar_single_mod='$single_module' fi if test yes = "$lt_cv_ld_exported_symbols_list"; then _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' else _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' fi if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then _lt_dsymutil='~$DSYMUTIL $lib || :' else _lt_dsymutil= fi ;; esac ]) # _LT_DARWIN_LINKER_FEATURES([TAG]) # --------------------------------- # Checks for linker and compiler features on darwin m4_defun([_LT_DARWIN_LINKER_FEATURES], [ m4_require([_LT_REQUIRED_DARWIN_CHECKS]) _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported if test yes = "$lt_cv_ld_force_load"; then _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes], [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes]) else _LT_TAGVAR(whole_archive_flag_spec, $1)='' fi _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=$_lt_dar_allow_undefined case $cc_basename in ifort*|nagfor*) _lt_dar_can_shared=yes ;; *) _lt_dar_can_shared=$GCC ;; esac if test yes = "$_lt_dar_can_shared"; then output_verbose_link_cmd=func_echo_all _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" m4_if([$1], [CXX], [ if test yes != "$lt_cv_apple_cc_single_mod"; then _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil" _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil" fi ],[]) else _LT_TAGVAR(ld_shlibs, $1)=no fi ]) # _LT_SYS_MODULE_PATH_AIX([TAGNAME]) # ---------------------------------- # Links a minimal program and checks the executable # for the system default hardcoded library path. In most cases, # this is /usr/lib:/lib, but when the MPI compilers are used # the location of the communication and MPI libs are included too. # If we don't find anything, use the default library path according # to the aix ld manual. # Store the results from the different compilers for each TAGNAME. # Allow to override them for all tags through lt_cv_aix_libpath. m4_defun([_LT_SYS_MODULE_PATH_AIX], [m4_require([_LT_DECL_SED])dnl if test set = "${lt_cv_aix_libpath+set}"; then aix_libpath=$lt_cv_aix_libpath else AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])], [AC_LINK_IFELSE([AC_LANG_PROGRAM],[ lt_aix_libpath_sed='[ /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }]' _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi],[]) if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=/usr/lib:/lib fi ]) aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1]) fi ])# _LT_SYS_MODULE_PATH_AIX # _LT_SHELL_INIT(ARG) # ------------------- m4_define([_LT_SHELL_INIT], [m4_divert_text([M4SH-INIT], [$1 ])])# _LT_SHELL_INIT # _LT_PROG_ECHO_BACKSLASH # ----------------------- # Find how we can fake an echo command that does not interpret backslash. # In particular, with Autoconf 2.60 or later we add some code to the start # of the generated configure script that will find a shell with a builtin # printf (that we can use as an echo command). m4_defun([_LT_PROG_ECHO_BACKSLASH], [ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO AC_MSG_CHECKING([how to print strings]) # Test print first, because it will be a builtin if present. if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='print -r --' elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='printf %s\n' else # Use this function as a fallback that always works. func_fallback_echo () { eval 'cat <<_LTECHO_EOF $[]1 _LTECHO_EOF' } ECHO='func_fallback_echo' fi # func_echo_all arg... # Invoke $ECHO with all args, space-separated. func_echo_all () { $ECHO "$*" } case $ECHO in printf*) AC_MSG_RESULT([printf]) ;; print*) AC_MSG_RESULT([print -r]) ;; *) AC_MSG_RESULT([cat]) ;; esac m4_ifdef([_AS_DETECT_SUGGESTED], [_AS_DETECT_SUGGESTED([ test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || ( ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO PATH=/empty FPATH=/empty; export PATH FPATH test "X`printf %s $ECHO`" = "X$ECHO" \ || test "X`print -r -- $ECHO`" = "X$ECHO" )])]) _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes]) ])# _LT_PROG_ECHO_BACKSLASH # _LT_WITH_SYSROOT # ---------------- AC_DEFUN([_LT_WITH_SYSROOT], [AC_MSG_CHECKING([for sysroot]) AC_ARG_WITH([sysroot], [AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@], [Search for dependent libraries within DIR (or the compiler's sysroot if not specified).])], [], [with_sysroot=no]) dnl lt_sysroot will always be passed unquoted. We quote it here dnl in case the user passed a directory name. lt_sysroot= case $with_sysroot in #( yes) if test yes = "$GCC"; then lt_sysroot=`$CC --print-sysroot 2>/dev/null` fi ;; #( /*) lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` ;; #( no|'') ;; #( *) AC_MSG_RESULT([$with_sysroot]) AC_MSG_ERROR([The sysroot must be an absolute path.]) ;; esac AC_MSG_RESULT([${lt_sysroot:-no}]) _LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl [dependent libraries, and where our libraries should be installed.])]) # _LT_ENABLE_LOCK # --------------- m4_defun([_LT_ENABLE_LOCK], [AC_ARG_ENABLE([libtool-lock], [AS_HELP_STRING([--disable-libtool-lock], [avoid locking (might break parallel builds)])]) test no = "$enable_libtool_lock" || enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out what ABI is being produced by ac_compile, and set mode # options accordingly. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE=32 ;; *ELF-64*) HPUX_IA64_MODE=64 ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then if test yes = "$lt_cv_prog_gnu_ld"; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; mips64*-*linux*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then emul=elf case `/usr/bin/file conftest.$ac_objext` in *32-bit*) emul="${emul}32" ;; *64-bit*) emul="${emul}64" ;; esac case `/usr/bin/file conftest.$ac_objext` in *MSB*) emul="${emul}btsmip" ;; *LSB*) emul="${emul}ltsmip" ;; esac case `/usr/bin/file conftest.$ac_objext` in *N32*) emul="${emul}n32" ;; esac LD="${LD-ld} -m $emul" fi rm -rf conftest* ;; x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. Note that the listed cases only cover the # situations where additional linker options are needed (such as when # doing 32-bit compilation for a host where ld defaults to 64-bit, or # vice versa); the common cases where no linker options are needed do # not appear in the list. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) case `/usr/bin/file conftest.o` in *x86-64*) LD="${LD-ld} -m elf32_x86_64" ;; *) LD="${LD-ld} -m elf_i386" ;; esac ;; powerpc64le-*linux*) LD="${LD-ld} -m elf32lppclinux" ;; powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_x86_64_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; powerpcle-*linux*|powerpc64le-*linux*) LD="${LD-ld} -m elf64lppc" ;; powerpc-*linux*|powerpc64-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS=$CFLAGS CFLAGS="$CFLAGS -belf" AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, [AC_LANG_PUSH(C) AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) AC_LANG_POP]) if test yes != "$lt_cv_cc_needs_belf"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS=$SAVE_CFLAGS fi ;; *-*solaris*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) case $host in i?86-*-solaris*|x86_64-*-solaris*) LD="${LD-ld} -m elf_x86_64" ;; sparc*-*-solaris*) LD="${LD-ld} -m elf64_sparc" ;; esac # GNU ld 2.21 introduced _sol2 emulations. Use them if available. if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then LD=${LD-ld}_sol2 fi ;; *) if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then LD="${LD-ld} -64" fi ;; esac ;; esac fi rm -rf conftest* ;; esac need_locks=$enable_libtool_lock ])# _LT_ENABLE_LOCK # _LT_PROG_AR # ----------- m4_defun([_LT_PROG_AR], [AC_CHECK_TOOLS(AR, [ar], false) : ${AR=ar} : ${AR_FLAGS=cru} _LT_DECL([], [AR], [1], [The archiver]) _LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive]) AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file], [lt_cv_ar_at_file=no AC_COMPILE_IFELSE([AC_LANG_PROGRAM], [echo conftest.$ac_objext > conftest.lst lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD' AC_TRY_EVAL([lt_ar_try]) if test 0 -eq "$ac_status"; then # Ensure the archiver fails upon bogus file names. rm -f conftest.$ac_objext libconftest.a AC_TRY_EVAL([lt_ar_try]) if test 0 -ne "$ac_status"; then lt_cv_ar_at_file=@ fi fi rm -f conftest.* libconftest.a ]) ]) if test no = "$lt_cv_ar_at_file"; then archiver_list_spec= else archiver_list_spec=$lt_cv_ar_at_file fi _LT_DECL([], [archiver_list_spec], [1], [How to feed a file listing to the archiver]) ])# _LT_PROG_AR # _LT_CMD_OLD_ARCHIVE # ------------------- m4_defun([_LT_CMD_OLD_ARCHIVE], [_LT_PROG_AR AC_CHECK_TOOL(STRIP, strip, :) test -z "$STRIP" && STRIP=: _LT_DECL([], [STRIP], [1], [A symbol stripping program]) AC_CHECK_TOOL(RANLIB, ranlib, :) test -z "$RANLIB" && RANLIB=: _LT_DECL([], [RANLIB], [1], [Commands used to install an old-style archive]) # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in bitrig* | openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" fi case $host_os in darwin*) lock_old_archive_extraction=yes ;; *) lock_old_archive_extraction=no ;; esac _LT_DECL([], [old_postinstall_cmds], [2]) _LT_DECL([], [old_postuninstall_cmds], [2]) _LT_TAGDECL([], [old_archive_cmds], [2], [Commands used to build an old-style archive]) _LT_DECL([], [lock_old_archive_extraction], [0], [Whether to use a lock for old archive extraction]) ])# _LT_CMD_OLD_ARCHIVE # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) # ---------------------------------------------------------------- # Check whether the given compiler option works AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_SED])dnl AC_CACHE_CHECK([$1], [$2], [$2=no m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$3" ## exclude from sc_useless_quotes_in_assignment # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi fi $RM conftest* ]) if test yes = "[$]$2"; then m4_if([$5], , :, [$5]) else m4_if([$6], , :, [$6]) fi ])# _LT_COMPILER_OPTION # Old name: AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [ACTION-SUCCESS], [ACTION-FAILURE]) # ---------------------------------------------------- # Check whether the given linker option works AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_SED])dnl AC_CACHE_CHECK([$1], [$2], [$2=no save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS $3" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&AS_MESSAGE_LOG_FD $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi else $2=yes fi fi $RM -r conftest* LDFLAGS=$save_LDFLAGS ]) if test yes = "[$]$2"; then m4_if([$4], , :, [$4]) else m4_if([$5], , :, [$5]) fi ])# _LT_LINKER_OPTION # Old name: AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) # LT_CMD_MAX_LEN #--------------- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl # find the maximum length of command line arguments AC_MSG_CHECKING([the maximum length of command line arguments]) AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl i=0 teststring=ABCD case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw* | cegcc*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; mint*) # On MiNT this can take a long time and run out of memory. lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; os2*) # The test takes a long time on OS/2. lt_cv_sys_max_cmd_len=8192 ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; sco3.2v5*) lt_cv_sys_max_cmd_len=102400 ;; sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` else lt_cv_sys_max_cmd_len=32768 fi ;; *) lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` if test -n "$lt_cv_sys_max_cmd_len" && \ test undefined != "$lt_cv_sys_max_cmd_len"; then lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` else # Make teststring a little bigger before we do anything with it. # a 1K string should be a reasonable start. for i in 1 2 3 4 5 6 7 8; do teststring=$teststring$teststring done SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. while { test X`env echo "$teststring$teststring" 2>/dev/null` \ = "X$teststring$teststring"; } >/dev/null 2>&1 && test 17 != "$i" # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done # Only check the string length outside the loop. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` teststring= # Add a significant safety factor because C++ compilers can tack on # massive amounts of additional arguments before passing them to the # linker. It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` fi ;; esac ]) if test -n "$lt_cv_sys_max_cmd_len"; then AC_MSG_RESULT($lt_cv_sys_max_cmd_len) else AC_MSG_RESULT(none) fi max_cmd_len=$lt_cv_sys_max_cmd_len _LT_DECL([], [max_cmd_len], [0], [What is the maximum length of a command?]) ])# LT_CMD_MAX_LEN # Old name: AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], []) # _LT_HEADER_DLFCN # ---------------- m4_defun([_LT_HEADER_DLFCN], [AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl ])# _LT_HEADER_DLFCN # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) # ---------------------------------------------------------------- m4_defun([_LT_TRY_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl if test yes = "$cross_compiling"; then : [$4] else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF [#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H #include #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif /* When -fvisibility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) int fnord () __attribute__((visibility("default"))); #endif int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else { if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; else puts (dlerror ()); } /* dlclose (self); */ } else puts (dlerror ()); return status; }] _LT_EOF if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) $1 ;; x$lt_dlneed_uscore) $2 ;; x$lt_dlunknown|x*) $3 ;; esac else : # compilation failed $3 fi fi rm -fr conftest* ])# _LT_TRY_DLOPEN_SELF # LT_SYS_DLOPEN_SELF # ------------------ AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl if test yes != "$enable_dlopen"; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen=load_add_on lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32* | cegcc*) lt_cv_dlopen=LoadLibrary lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen=dlopen lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[ lt_cv_dlopen=dyld lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ]) ;; tpf*) # Don't try to run any link tests for TPF. We know it's impossible # because TPF is a cross-compiler, and we know how we open DSOs. lt_cv_dlopen=dlopen lt_cv_dlopen_libs= lt_cv_dlopen_self=no ;; *) AC_CHECK_FUNC([shl_load], [lt_cv_dlopen=shl_load], [AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld], [AC_CHECK_FUNC([dlopen], [lt_cv_dlopen=dlopen], [AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl], [AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld], [AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld]) ]) ]) ]) ]) ]) ;; esac if test no = "$lt_cv_dlopen"; then enable_dlopen=no else enable_dlopen=yes fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS=$CPPFLAGS test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS=$LDFLAGS wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS=$LIBS LIBS="$lt_cv_dlopen_libs $LIBS" AC_CACHE_CHECK([whether a program can dlopen itself], lt_cv_dlopen_self, [dnl _LT_TRY_DLOPEN_SELF( lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) ]) if test yes = "$lt_cv_dlopen_self"; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" AC_CACHE_CHECK([whether a statically linked program can dlopen itself], lt_cv_dlopen_self_static, [dnl _LT_TRY_DLOPEN_SELF( lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) ]) fi CPPFLAGS=$save_CPPFLAGS LDFLAGS=$save_LDFLAGS LIBS=$save_LIBS ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi _LT_DECL([dlopen_support], [enable_dlopen], [0], [Whether dlopen is supported]) _LT_DECL([dlopen_self], [enable_dlopen_self], [0], [Whether dlopen of programs is supported]) _LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], [Whether dlopen of statically linked programs is supported]) ])# LT_SYS_DLOPEN_SELF # Old name: AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], []) # _LT_COMPILER_C_O([TAGNAME]) # --------------------------- # Check to see if options -c and -o are simultaneously supported by compiler. # This macro does not hard code the compiler like AC_PROG_CC_C_O. m4_defun([_LT_COMPILER_C_O], [m4_require([_LT_DECL_SED])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_TAG_COMPILER])dnl AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)], [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes fi fi chmod u+w . 2>&AS_MESSAGE_LOG_FD $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* ]) _LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1], [Does compiler simultaneously support -c and -o options?]) ])# _LT_COMPILER_C_O # _LT_COMPILER_FILE_LOCKS([TAGNAME]) # ---------------------------------- # Check to see if we can do hard links to lock some files if needed m4_defun([_LT_COMPILER_FILE_LOCKS], [m4_require([_LT_ENABLE_LOCK])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl _LT_COMPILER_C_O([$1]) hard_links=nottested if test no = "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" && test no != "$need_locks"; then # do not overwrite the value of need_locks provided by the user AC_MSG_CHECKING([if we can lock with hard links]) hard_links=yes $RM conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no AC_MSG_RESULT([$hard_links]) if test no = "$hard_links"; then AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe]) need_locks=warn fi else need_locks=no fi _LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?]) ])# _LT_COMPILER_FILE_LOCKS # _LT_CHECK_OBJDIR # ---------------- m4_defun([_LT_CHECK_OBJDIR], [AC_CACHE_CHECK([for objdir], [lt_cv_objdir], [rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null]) objdir=$lt_cv_objdir _LT_DECL([], [objdir], [0], [The name of the directory that contains temporary libtool files])dnl m4_pattern_allow([LT_OBJDIR])dnl AC_DEFINE_UNQUOTED([LT_OBJDIR], "$lt_cv_objdir/", [Define to the sub-directory where libtool stores uninstalled libraries.]) ])# _LT_CHECK_OBJDIR # _LT_LINKER_HARDCODE_LIBPATH([TAGNAME]) # -------------------------------------- # Check hardcoding attributes. m4_defun([_LT_LINKER_HARDCODE_LIBPATH], [AC_MSG_CHECKING([how to hardcode library paths into programs]) _LT_TAGVAR(hardcode_action, $1)= if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" || test -n "$_LT_TAGVAR(runpath_var, $1)" || test yes = "$_LT_TAGVAR(hardcode_automatic, $1)"; then # We can hardcode non-existent directories. if test no != "$_LT_TAGVAR(hardcode_direct, $1)" && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" && test no != "$_LT_TAGVAR(hardcode_minus_L, $1)"; then # Linking always hardcodes the temporary library directory. _LT_TAGVAR(hardcode_action, $1)=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. _LT_TAGVAR(hardcode_action, $1)=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. _LT_TAGVAR(hardcode_action, $1)=unsupported fi AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)]) if test relink = "$_LT_TAGVAR(hardcode_action, $1)" || test yes = "$_LT_TAGVAR(inherit_rpath, $1)"; then # Fast installation is not supported enable_fast_install=no elif test yes = "$shlibpath_overrides_runpath" || test no = "$enable_shared"; then # Fast installation is not necessary enable_fast_install=needless fi _LT_TAGDECL([], [hardcode_action], [0], [How to hardcode a shared library path into an executable]) ])# _LT_LINKER_HARDCODE_LIBPATH # _LT_CMD_STRIPLIB # ---------------- m4_defun([_LT_CMD_STRIPLIB], [m4_require([_LT_DECL_EGREP]) striplib= old_striplib= AC_MSG_CHECKING([whether stripping libraries is possible]) if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" AC_MSG_RESULT([yes]) else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP"; then striplib="$STRIP -x" old_striplib="$STRIP -S" AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) fi ;; *) AC_MSG_RESULT([no]) ;; esac fi _LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) _LT_DECL([], [striplib], [1]) ])# _LT_CMD_STRIPLIB # _LT_PREPARE_MUNGE_PATH_LIST # --------------------------- # Make sure func_munge_path_list() is defined correctly. m4_defun([_LT_PREPARE_MUNGE_PATH_LIST], [[# func_munge_path_list VARIABLE PATH # ----------------------------------- # VARIABLE is name of variable containing _space_ separated list of # directories to be munged by the contents of PATH, which is string # having a format: # "DIR[:DIR]:" # string "DIR[ DIR]" will be prepended to VARIABLE # ":DIR[:DIR]" # string "DIR[ DIR]" will be appended to VARIABLE # "DIRP[:DIRP]::[DIRA:]DIRA" # string "DIRP[ DIRP]" will be prepended to VARIABLE and string # "DIRA[ DIRA]" will be appended to VARIABLE # "DIR[:DIR]" # VARIABLE will be replaced by "DIR[ DIR]" func_munge_path_list () { case x@S|@2 in x) ;; *:) eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\" ;; x:*) eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\" ;; *::*) eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\" ;; *) eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\" ;; esac } ]])# _LT_PREPARE_PATH_LIST # _LT_SYS_DYNAMIC_LINKER([TAG]) # ----------------------------- # PORTME Fill in your ld.so characteristics m4_defun([_LT_SYS_DYNAMIC_LINKER], [AC_REQUIRE([AC_CANONICAL_HOST])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_OBJDUMP])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_CHECK_SHELL_FEATURES])dnl m4_require([_LT_PREPARE_MUNGE_PATH_LIST])dnl AC_MSG_CHECKING([dynamic linker characteristics]) m4_if([$1], [], [ if test yes = "$GCC"; then case $host_os in darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; *) lt_awk_arg='/^libraries:/' ;; esac case $host_os in mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;; *) lt_sed_strip_eq='s|=/|/|g' ;; esac lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` case $lt_search_path_spec in *\;*) # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` ;; *) lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` ;; esac # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary... lt_tmp_lt_search_path_spec= lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` # ...but if some path component already ends with the multilib dir we assume # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). case "$lt_multi_os_dir; $lt_search_path_spec " in "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) lt_multi_os_dir= ;; esac for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" elif test -n "$lt_multi_os_dir"; then test -d "$lt_sys_path" && \ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" fi done lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' BEGIN {RS = " "; FS = "/|\n";} { lt_foo = ""; lt_count = 0; for (lt_i = NF; lt_i > 0; lt_i--) { if ($lt_i != "" && $lt_i != ".") { if ($lt_i == "..") { lt_count++; } else { if (lt_count == 0) { lt_foo = "/" $lt_i lt_foo; } else { lt_count--; } } } } if (lt_foo != "") { lt_freq[[lt_foo]]++; } if (lt_freq[[lt_foo]] == 1) { print lt_foo; } }'` # AWK program above erroneously prepends '/' to C:/dos/paths # for these hosts. case $host_os in mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;; esac sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi]) library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=.so postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown AC_ARG_VAR([LT_SYS_LIBRARY_PATH], [User-defined run-time library search path.]) case $host_os in aix3*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='$libname$release$shared_ext$major' ;; aix[[4-9]]*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no hardcode_into_libs=yes if test ia64 = "$host_cpu"; then # AIX 5 supports IA64 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line '#! .'. This would cause the generated library to # depend on '.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[[01]] | aix4.[[01]].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then : else can_build_shared=no fi ;; esac # Using Import Files as archive members, it is possible to support # filename-based versioning of shared library archives on AIX. While # this would work for both with and without runtime linking, it will # prevent static linking of such archives. So we do filename-based # shared library versioning with .so extension only, which is used # when both runtime linking and shared linking is enabled. # Unfortunately, runtime linking may impact performance, so we do # not want this to be the default eventually. Also, we use the # versioned .so libs for executables only if there is the -brtl # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. # To allow for filename-based versioning support, we need to create # libNAME.so.V as an archive file, containing: # *) an Import File, referring to the versioned filename of the # archive as well as the shared archive member, telling the # bitwidth (32 or 64) of that shared object, and providing the # list of exported symbols of that shared object, eventually # decorated with the 'weak' keyword # *) the shared object with the F_LOADONLY flag set, to really avoid # it being seen by the linker. # At run time we better use the real file rather than another symlink, # but for link time we create the symlink libNAME.so -> libNAME.so.V case $with_aix_soname,$aix_use_runtimelinking in # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. aix,yes) # traditional libtool dynamic_linker='AIX unversionable lib.so' # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' ;; aix,no) # traditional AIX only dynamic_linker='AIX lib.a[(]lib.so.V[)]' # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='$libname$release.a $libname.a' soname_spec='$libname$release$shared_ext$major' ;; svr4,*) # full svr4 only dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)]" library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' # We do not specify a path in Import Files, so LIBPATH fires. shlibpath_overrides_runpath=yes ;; *,yes) # both, prefer svr4 dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)], lib.a[(]lib.so.V[)]" library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' # unpreferred sharedlib libNAME.a needs extra handling postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' # We do not specify a path in Import Files, so LIBPATH fires. shlibpath_overrides_runpath=yes ;; *,no) # both, prefer aix dynamic_linker="AIX lib.a[(]lib.so.V[)], lib.so.V[(]$shared_archive_member_spec.o[)]" library_names_spec='$libname$release.a $libname.a' soname_spec='$libname$release$shared_ext$major' # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' ;; esac shlibpath_var=LIBPATH fi ;; amigaos*) case $host_cpu in powerpc) # Since July 2007 AmigaOS4 officially supports .so libraries. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' ;; m68k) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; esac ;; beos*) library_names_spec='$libname$shared_ext' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[[45]]*) version_type=linux # correct to gnu/linux during the next big refactor need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32* | cegcc*) version_type=windows shrext_cmds=.dll need_version=no need_lib_prefix=no case $GCC,$cc_basename in yes,*) # gcc library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname~ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' m4_if([$1], [],[ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"]) ;; mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' ;; esac dynamic_linker='Win32 ld.exe' ;; *,cl*) # Native MSVC libname_spec='$name' soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' library_names_spec='$libname.dll.lib' case $build_os in mingw*) sys_lib_search_path_spec= lt_save_ifs=$IFS IFS=';' for lt_path in $LIB do IFS=$lt_save_ifs # Let DOS variable expansion print the short 8.3 style file name. lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" done IFS=$lt_save_ifs # Convert to MSYS style. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'` ;; cygwin*) # Convert to unix form, then to dos form, then back to unix form # but this time dos style (no spaces!) so that the unix form looks # like /cygdrive/c/PROGRA~1:/cygdr... sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` ;; *) sys_lib_search_path_spec=$LIB if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then # It is most probably a Windows format PATH. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi # FIXME: find the short name or the path components, as spaces are # common. (e.g. "Program Files" -> "PROGRA~1") ;; esac # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes dynamic_linker='Win32 link.exe' ;; *) # Assume MSVC wrapper library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib' dynamic_linker='Win32 ld.exe' ;; esac # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' soname_spec='$libname$release$major$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' m4_if([$1], [],[ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[[23]].*) objformat=aout ;; *) objformat=elf ;; esac fi # Handle Gentoo/FreeBSD as it was Linux case $host_vendor in gentoo) version_type=linux ;; *) version_type=freebsd-$objformat ;; esac case $version_type in freebsd-elf*) library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' need_version=yes ;; linux) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' need_lib_prefix=no need_version=no ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2.*) shlibpath_overrides_runpath=yes ;; freebsd3.[[01]]* | freebsdelf3.[[01]]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; haiku*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no dynamic_linker="$host_os runtime_loader" library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LIBRARY_PATH shlibpath_overrides_runpath=no sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' if test 32 = "$HPUX_IA64_MODE"; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" sys_lib_dlsearch_path_spec=/usr/lib/hpux32 else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" sys_lib_dlsearch_path_spec=/usr/lib/hpux64 fi ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555, ... postinstall_cmds='chmod 555 $lib' # or fails outright, so override atomically: install_override_mode=555 ;; interix[[3-9]]*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test yes = "$lt_cv_prog_gnu_ld"; then version_type=linux # correct to gnu/linux during the next big refactor else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='$libname$release$shared_ext$major' library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; linux*android*) version_type=none # Android doesn't support versioned libraries. need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext' soname_spec='$libname$release$shared_ext' finish_cmds= shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes dynamic_linker='Android linker' # Don't embed -rpath directories since the linker doesn't support them. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # Some binutils ld are patched to set DT_RUNPATH AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath], [lt_cv_shlibpath_overrides_runpath=no save_LDFLAGS=$LDFLAGS save_libdir=$libdir eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], [lt_cv_shlibpath_overrides_runpath=yes])]) LDFLAGS=$save_LDFLAGS libdir=$save_libdir ]) shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Ideally, we could use ldconfig to report *all* directores which are # searched for libraries, however this is still not possible. Aside from not # being certain /sbin/ldconfig is available, command # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, # even though it is searched at run-time. Try to do the best guess by # appending ld.so.conf contents (and includes) to the search path. if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; *nto* | *qnx*) version_type=qnx need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='ldqnx.so' ;; openbsd* | bitrig*) version_type=sunos sys_lib_dlsearch_path_spec=/usr/lib need_lib_prefix=no if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then need_version=no else need_version=yes fi library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; os2*) libname_spec='$name' version_type=windows shrext_cmds=.dll need_version=no need_lib_prefix=no # OS/2 can only load a DLL with a base name of 8 characters or less. soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; v=$($ECHO $release$versuffix | tr -d .-); n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); $ECHO $n$v`$shared_ext' library_names_spec='${libname}_dll.$libext' dynamic_linker='OS/2 ld.exe' shlibpath_var=BEGINLIBPATH sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname~ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='$libname$release$shared_ext$major' library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test yes = "$with_gnu_ld"; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec; then version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' soname_spec='$libname$shared_ext.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=sco need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes if test yes = "$with_gnu_ld"; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; tpf*) # TPF is a cross-target only. Preferred cross-host = GNU/Linux. version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; uts4*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac AC_MSG_RESULT([$dynamic_linker]) test no = "$dynamic_linker" && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test yes = "$GCC"; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec fi if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec fi # remember unaugmented sys_lib_dlsearch_path content for libtool script decls... configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH _LT_DECL([], [variables_saved_for_relink], [1], [Variables whose values should be saved in libtool wrapper scripts and restored at link time]) _LT_DECL([], [need_lib_prefix], [0], [Do we need the "lib" prefix for modules?]) _LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) _LT_DECL([], [version_type], [0], [Library versioning type]) _LT_DECL([], [runpath_var], [0], [Shared library runtime path variable]) _LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) _LT_DECL([], [shlibpath_overrides_runpath], [0], [Is shlibpath searched before the hard-coded library search path?]) _LT_DECL([], [libname_spec], [1], [Format of library name prefix]) _LT_DECL([], [library_names_spec], [1], [[List of archive names. First name is the real one, the rest are links. The last name is the one that the linker finds with -lNAME]]) _LT_DECL([], [soname_spec], [1], [[The coded name of the library, if different from the real name]]) _LT_DECL([], [install_override_mode], [1], [Permission mode override for installation of shared libraries]) _LT_DECL([], [postinstall_cmds], [2], [Command to use after installation of a shared archive]) _LT_DECL([], [postuninstall_cmds], [2], [Command to use after uninstallation of a shared archive]) _LT_DECL([], [finish_cmds], [2], [Commands used to finish a libtool library installation in a directory]) _LT_DECL([], [finish_eval], [1], [[As "finish_cmds", except a single script fragment to be evaled but not shown]]) _LT_DECL([], [hardcode_into_libs], [0], [Whether we should hardcode library paths into libraries]) _LT_DECL([], [sys_lib_search_path_spec], [2], [Compile-time system search path for libraries]) _LT_DECL([sys_lib_dlsearch_path_spec], [configure_time_dlsearch_path], [2], [Detected run-time system search path for libraries]) _LT_DECL([], [configure_time_lt_sys_library_path], [2], [Explicit LT_SYS_LIBRARY_PATH set during ./configure time]) ])# _LT_SYS_DYNAMIC_LINKER # _LT_PATH_TOOL_PREFIX(TOOL) # -------------------------- # find a file program that can recognize shared library AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl AC_MSG_CHECKING([for $1]) AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, [case $MAGIC_CMD in [[\\/*] | ?:[\\/]*]) lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD=$MAGIC_CMD lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR dnl $ac_dummy forces splitting on constant user-supplied paths. dnl POSIX.2 word splitting is done only on the output of word expansions, dnl not every word. This closes a longstanding sh security hole. ac_dummy="m4_if([$2], , $PATH, [$2])" for ac_dir in $ac_dummy; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$1"; then lt_cv_path_MAGIC_CMD=$ac_dir/"$1" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD=$lt_cv_path_MAGIC_CMD if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS=$lt_save_ifs MAGIC_CMD=$lt_save_MAGIC_CMD ;; esac]) MAGIC_CMD=$lt_cv_path_MAGIC_CMD if test -n "$MAGIC_CMD"; then AC_MSG_RESULT($MAGIC_CMD) else AC_MSG_RESULT(no) fi _LT_DECL([], [MAGIC_CMD], [0], [Used to examine libraries when file_magic_cmd begins with "file"])dnl ])# _LT_PATH_TOOL_PREFIX # Old name: AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], []) # _LT_PATH_MAGIC # -------------- # find a file program that can recognize a shared library m4_defun([_LT_PATH_MAGIC], [_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) else MAGIC_CMD=: fi fi ])# _LT_PATH_MAGIC # LT_PATH_LD # ---------- # find the pathname to the GNU or non-GNU linker AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_PROG_ECHO_BACKSLASH])dnl AC_ARG_WITH([gnu-ld], [AS_HELP_STRING([--with-gnu-ld], [assume the C compiler uses GNU ld @<:@default=no@:>@])], [test no = "$withval" || with_gnu_ld=yes], [with_gnu_ld=no])dnl ac_prog=ld if test yes = "$GCC"; then # Check if gcc -print-prog-name=ld gives a path. AC_MSG_CHECKING([for ld used by $CC]) case $host in *-*-mingw*) # gcc leaves a trailing carriage return, which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [[\\/]]* | ?:[[\\/]]*) re_direlt='/[[^/]][[^/]]*/\.\./' # Canonicalize the pathname of ld ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD=$ac_prog ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test yes = "$with_gnu_ld"; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi AC_CACHE_VAL(lt_cv_path_LD, [if test -z "$LD"; then lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD=$ac_dir/$ac_prog # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &1 conftest.i cat conftest.i conftest.i >conftest2.i : ${lt_DD:=$DD} AC_PATH_PROGS_FEATURE_CHECK([lt_DD], [dd], [if "$ac_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then cmp -s conftest.i conftest.out \ && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: fi]) rm -f conftest.i conftest2.i conftest.out]) ])# _LT_PATH_DD # _LT_CMD_TRUNCATE # ---------------- # find command to truncate a binary pipe m4_defun([_LT_CMD_TRUNCATE], [m4_require([_LT_PATH_DD]) AC_CACHE_CHECK([how to truncate binary pipes], [lt_cv_truncate_bin], [printf 0123456789abcdef0123456789abcdef >conftest.i cat conftest.i conftest.i >conftest2.i lt_cv_truncate_bin= if "$ac_cv_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then cmp -s conftest.i conftest.out \ && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" fi rm -f conftest.i conftest2.i conftest.out test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"]) _LT_DECL([lt_truncate_bin], [lt_cv_truncate_bin], [1], [Command to truncate a binary pipe]) ])# _LT_CMD_TRUNCATE # _LT_CHECK_MAGIC_METHOD # ---------------------- # how to check for library dependencies # -- PORTME fill in with the dynamic library characteristics m4_defun([_LT_CHECK_MAGIC_METHOD], [m4_require([_LT_DECL_EGREP]) m4_require([_LT_DECL_OBJDUMP]) AC_CACHE_CHECK([how to recognize dependent libraries], lt_cv_deplibs_check_method, [lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_deplibs_check_method='unknown' # Need to set the preceding variable on all platforms that support # interlibrary dependencies. # 'none' -- dependencies not supported. # 'unknown' -- same as none, but documents that we really don't know. # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path # that responds to the $file_magic_cmd with a given extended regex. # If you have 'file' or equivalent on your system and you're not sure # whether 'pass_all' will *always* work, you probably want this one. case $host_os in aix[[4-9]]*) lt_cv_deplibs_check_method=pass_all ;; beos*) lt_cv_deplibs_check_method=pass_all ;; bsdi[[45]]*) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' lt_cv_file_magic_cmd='/usr/bin/file -L' lt_cv_file_magic_test_file=/shlib/libc.so ;; cygwin*) # func_win32_libid is a shell function defined in ltmain.sh lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' ;; mingw* | pw32*) # Base MSYS/MinGW do not provide the 'file' command needed by # func_win32_libid shell function, so use a weaker test based on 'objdump', # unless we find 'file', for example because we are cross-compiling. if ( file / ) >/dev/null 2>&1; then lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else # Keep this pattern in sync with the one in func_win32_libid. lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; cegcc*) # use the weaker test based on 'objdump'. See mingw*. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' lt_cv_file_magic_cmd='$OBJDUMP -f' ;; darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; freebsd* | dragonfly*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; haiku*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in ia64*) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'] lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; interix[[3-9]]*) # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) lt_cv_deplibs_check_method=pass_all ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; *nto* | *qnx*) lt_cv_deplibs_check_method=pass_all ;; openbsd* | bitrig*) if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; rdos*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.3*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; pc) lt_cv_deplibs_check_method=pass_all ;; esac ;; tpf*) lt_cv_deplibs_check_method=pass_all ;; os2*) lt_cv_deplibs_check_method=pass_all ;; esac ]) file_magic_glob= want_nocaseglob=no if test "$build" = "$host"; then case $host_os in mingw* | pw32*) if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then want_nocaseglob=yes else file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"` fi ;; esac fi file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown _LT_DECL([], [deplibs_check_method], [1], [Method to check whether dependent libraries are shared objects]) _LT_DECL([], [file_magic_cmd], [1], [Command to use when deplibs_check_method = "file_magic"]) _LT_DECL([], [file_magic_glob], [1], [How to find potential files when deplibs_check_method = "file_magic"]) _LT_DECL([], [want_nocaseglob], [1], [Find potential files using nocaseglob when deplibs_check_method = "file_magic"]) ])# _LT_CHECK_MAGIC_METHOD # LT_PATH_NM # ---------- # find the pathname to a BSD- or MS-compatible name lister AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM, [if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM=$NM else lt_nm_to_check=${ac_tool_prefix}nm if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi for lt_tmp_nm in $lt_nm_to_check; do lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. tmp_nm=$ac_dir/$lt_tmp_nm if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then # Check to see if the nm accepts a BSD-compat flag. # Adding the 'sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty case $build_os in mingw*) lt_bad_file=conftest.nm/nofile ;; *) lt_bad_file=/dev/null ;; esac case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in *$lt_bad_file* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break 2 ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break 2 ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS=$lt_save_ifs done : ${lt_cv_path_NM=no} fi]) if test no != "$lt_cv_path_NM"; then NM=$lt_cv_path_NM else # Didn't find any BSD compatible name lister, look for dumpbin. if test -n "$DUMPBIN"; then : # Let the user override the test. else AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in *COFF*) DUMPBIN="$DUMPBIN -symbols -headers" ;; *) DUMPBIN=: ;; esac fi AC_SUBST([DUMPBIN]) if test : != "$DUMPBIN"; then NM=$DUMPBIN fi fi test -z "$NM" && NM=nm AC_SUBST([NM]) _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], [lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&AS_MESSAGE_LOG_FD (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&AS_MESSAGE_LOG_FD (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD) cat conftest.out >&AS_MESSAGE_LOG_FD if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" fi rm -f conftest*]) ])# LT_PATH_NM # Old names: AU_ALIAS([AM_PROG_NM], [LT_PATH_NM]) AU_ALIAS([AC_PROG_NM], [LT_PATH_NM]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_PROG_NM], []) dnl AC_DEFUN([AC_PROG_NM], []) # _LT_CHECK_SHAREDLIB_FROM_LINKLIB # -------------------------------- # how to determine the name of the shared library # associated with a specific link library. # -- PORTME fill in with the dynamic library characteristics m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB], [m4_require([_LT_DECL_EGREP]) m4_require([_LT_DECL_OBJDUMP]) m4_require([_LT_DECL_DLLTOOL]) AC_CACHE_CHECK([how to associate runtime and link libraries], lt_cv_sharedlib_from_linklib_cmd, [lt_cv_sharedlib_from_linklib_cmd='unknown' case $host_os in cygwin* | mingw* | pw32* | cegcc*) # two different shell functions defined in ltmain.sh; # decide which one to use based on capabilities of $DLLTOOL case `$DLLTOOL --help 2>&1` in *--identify-strict*) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib ;; *) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback ;; esac ;; *) # fallback: assume linklib IS sharedlib lt_cv_sharedlib_from_linklib_cmd=$ECHO ;; esac ]) sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO _LT_DECL([], [sharedlib_from_linklib_cmd], [1], [Command to associate shared and link libraries]) ])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB # _LT_PATH_MANIFEST_TOOL # ---------------------- # locate the manifest tool m4_defun([_LT_PATH_MANIFEST_TOOL], [AC_CHECK_TOOL(MANIFEST_TOOL, mt, :) test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool], [lt_cv_path_mainfest_tool=no echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out cat conftest.err >&AS_MESSAGE_LOG_FD if $GREP 'Manifest Tool' conftest.out > /dev/null; then lt_cv_path_mainfest_tool=yes fi rm -f conftest*]) if test yes != "$lt_cv_path_mainfest_tool"; then MANIFEST_TOOL=: fi _LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl ])# _LT_PATH_MANIFEST_TOOL # _LT_DLL_DEF_P([FILE]) # --------------------- # True iff FILE is a Windows DLL '.def' file. # Keep in sync with func_dll_def_p in the libtool script AC_DEFUN([_LT_DLL_DEF_P], [dnl test DEF = "`$SED -n dnl -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl -e q dnl Only consider the first "real" line $1`" dnl ])# _LT_DLL_DEF_P # LT_LIB_M # -------- # check for math library AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl LIBM= case $host in *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) # These system don't have libm, or don't need it ;; *-ncr-sysv4.3*) AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw) AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") ;; *) AC_CHECK_LIB(m, cos, LIBM=-lm) ;; esac AC_SUBST([LIBM]) ])# LT_LIB_M # Old name: AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_CHECK_LIBM], []) # _LT_COMPILER_NO_RTTI([TAGNAME]) # ------------------------------- m4_defun([_LT_COMPILER_NO_RTTI], [m4_require([_LT_TAG_COMPILER])dnl _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= if test yes = "$GCC"; then case $cc_basename in nvcc*) _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;; *) _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;; esac _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], lt_cv_prog_compiler_rtti_exceptions, [-fno-rtti -fno-exceptions], [], [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) fi _LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1], [Compiler flag to turn off builtin functions]) ])# _LT_COMPILER_NO_RTTI # _LT_CMD_GLOBAL_SYMBOLS # ---------------------- m4_defun([_LT_CMD_GLOBAL_SYMBOLS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([LT_PATH_NM])dnl AC_REQUIRE([LT_PATH_LD])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_TAG_COMPILER])dnl # Check for command to grab the raw symbol name followed by C symbol from nm. AC_MSG_CHECKING([command to parse $NM output from $compiler object]) AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [ # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[[BCDEGRST]]' # Regexp to match symbols that can be accessed directly from C. sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' # Define system-specific variables. case $host_os in aix*) symcode='[[BCDT]]' ;; cygwin* | mingw* | pw32* | cegcc*) symcode='[[ABCDGISTW]]' ;; hpux*) if test ia64 = "$host_cpu"; then symcode='[[ABCDEGRST]]' fi ;; irix* | nonstopux*) symcode='[[BCDEGRST]]' ;; osf*) symcode='[[BCDEGQRST]]' ;; solaris*) symcode='[[BDRT]]' ;; sco3.2v5*) symcode='[[DT]]' ;; sysv4.2uw2*) symcode='[[DT]]' ;; sysv5* | sco5v6* | unixware* | OpenUNIX*) symcode='[[ABDT]]' ;; sysv4) symcode='[[DFNSTU]]' ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[[ABCDGIRSTW]]' ;; esac if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Gets list of data symbols to import. lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" # Adjust the below global symbol transforms to fixup imported variables. lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" lt_c_name_lib_hook="\ -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" else # Disable hooks by default. lt_cv_sys_global_symbol_to_import= lt_cdecl_hook= lt_c_name_hook= lt_c_name_lib_hook= fi # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. lt_cv_sys_global_symbol_to_cdecl="sed -n"\ $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ $lt_c_name_hook\ " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" # Transform an extracted symbol line into symbol name with lib prefix and # symbol address. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ $lt_c_name_lib_hook\ " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # Try without a prefix underscore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Fake it for dumpbin and say T for any non-static function, # D for any global variable and I for any imported variable. # Also find C++ and __fastcall symbols from MSVC++, # which start with @ or ?. lt_cv_sys_global_symbol_pipe="$AWK ['"\ " {last_section=section; section=\$ 3};"\ " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ " \$ 0!~/External *\|/{next};"\ " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ " {if(hide[section]) next};"\ " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ " ' prfx=^$ac_symprfx]" else lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" fi lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext <<_LT_EOF #ifdef __cplusplus extern "C" { #endif char nm_test_var; void nm_test_func(void); void nm_test_func(void){} #ifdef __cplusplus } #endif int main(){nm_test_var='a';nm_test_func();return(0);} _LT_EOF if AC_TRY_EVAL(ac_compile); then # Now try to grab the symbols. nlist=conftest.nm if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then if $GREP ' nm_test_func$' "$nlist" >/dev/null; then cat <<_LT_EOF > conftest.$ac_ext /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE /* DATA imports from DLLs on WIN32 can't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */ # define LT@&t@_DLSYM_CONST #elif defined __osf__ /* This system does not cope well with relocations in const data. */ # define LT@&t@_DLSYM_CONST #else # define LT@&t@_DLSYM_CONST const #endif #ifdef __cplusplus extern "C" { #endif _LT_EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */ LT@&t@_DLSYM_CONST struct { const char *name; void *address; } lt__PROGRAM__LTX_preloaded_symbols[[]] = { { "@PROGRAM@", (void *) 0 }, _LT_EOF $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext cat <<\_LT_EOF >> conftest.$ac_ext {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt__PROGRAM__LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_globsym_save_LIBS=$LIBS lt_globsym_save_CFLAGS=$CFLAGS LIBS=conftstm.$ac_objext CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then pipe_works=yes fi LIBS=$lt_globsym_save_LIBS CFLAGS=$lt_globsym_save_CFLAGS else echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD fi else echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD cat conftest.$ac_ext >&5 fi rm -rf conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test yes = "$pipe_works"; then break else lt_cv_sys_global_symbol_pipe= fi done ]) if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then AC_MSG_RESULT(failed) else AC_MSG_RESULT(ok) fi # Response file support. if test "$lt_cv_nm_interface" = "MS dumpbin"; then nm_file_list_spec='@' elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then nm_file_list_spec='@' fi _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], [Take the output of nm and produce a listing of raw symbols and C names]) _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], [Transform the output of nm in a proper C declaration]) _LT_DECL([global_symbol_to_import], [lt_cv_sys_global_symbol_to_import], [1], [Transform the output of nm into a list of symbols to manually relocate]) _LT_DECL([global_symbol_to_c_name_address], [lt_cv_sys_global_symbol_to_c_name_address], [1], [Transform the output of nm in a C name address pair]) _LT_DECL([global_symbol_to_c_name_address_lib_prefix], [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], [Transform the output of nm in a C name address pair when lib prefix is needed]) _LT_DECL([nm_interface], [lt_cv_nm_interface], [1], [The name lister interface]) _LT_DECL([], [nm_file_list_spec], [1], [Specify filename containing input files for $NM]) ]) # _LT_CMD_GLOBAL_SYMBOLS # _LT_COMPILER_PIC([TAGNAME]) # --------------------------- m4_defun([_LT_COMPILER_PIC], [m4_require([_LT_TAG_COMPILER])dnl _LT_TAGVAR(lt_prog_compiler_wl, $1)= _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)= m4_if([$1], [CXX], [ # C++ specific cases for pic, static, wl, etc. if test yes = "$GXX"; then _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the '-m68020' flag to GCC prevents building anything better, # like '-m68040'. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | os2* | pw32* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) case $host_os in os2*) _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static' ;; esac ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; *djgpp*) # DJGPP does not support shared libraries at all _LT_TAGVAR(lt_prog_compiler_pic, $1)= ;; haiku*) # PIC is the default for Haiku. # The "-static" flag exists, but is broken. _LT_TAGVAR(lt_prog_compiler_static, $1)= ;; interix[[3-9]]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac else case $host_os in aix[[4-9]]*) # All AIX code is PIC. if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; chorus*) case $cc_basename in cxch68*) # Green Hills C++ Compiler # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" ;; esac ;; mingw* | cygwin* | os2* | pw32* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; dgux*) case $cc_basename in ec++*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; ghcx*) # Green Hills C++ Compiler _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; freebsd* | dragonfly*) # FreeBSD uses GNU C++ ;; hpux9* | hpux10* | hpux11*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive' if test ia64 != "$host_cpu"; then _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' fi ;; aCC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive' case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac ;; *) ;; esac ;; interix*) # This is c89, which is MS Visual C++ (no shared libs) # Anyone wants to do a port? ;; irix5* | irix6* | nonstopux*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' # CC pic flag -KPIC is the default. ;; *) ;; esac ;; linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) case $cc_basename in KCC*) # KAI C++ Compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; ecpc* ) # old Intel C++ for x86_64, which still supported -KPIC. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; icpc* ) # Intel C++, used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; pgCC* | pgcpp*) # Portland Group C++ compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; cxx*) # Compaq C++ # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL 8.0, 9.0 on PPC and BlueGene _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; esac ;; esac ;; lynxos*) ;; m88k*) ;; mvs*) case $cc_basename in cxx*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' ;; *) ;; esac ;; netbsd*) ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' ;; RCC*) # Rational C++ 2.4.1 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; cxx*) # Digital/Compaq C++ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; *) ;; esac ;; psos*) ;; solaris*) case $cc_basename in CC* | sunCC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; gcx*) # Green Hills C++ Compiler _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' ;; *) ;; esac ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; lcc*) # Lucid _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; *) ;; esac ;; vxworks*) ;; *) _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ], [ if test yes = "$GCC"; then _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the '-m68020' flag to GCC prevents building anything better, # like '-m68040'. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) case $host_os in os2*) _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static' ;; esac ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; haiku*) # PIC is the default for Haiku. # The "-static" flag exists, but is broken. _LT_TAGVAR(lt_prog_compiler_static, $1)= ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; interix[[3-9]]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no enable_shared=no ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac case $cc_basename in nvcc*) # Cuda Compiler Driver 2.2 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker ' if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)" fi ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' case $cc_basename in nagfor*) # NAG Fortran compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; esac ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) case $host_os in os2*) _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static' ;; esac ;; hpux9* | hpux10* | hpux11*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC (with -KPIC) is the default. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) case $cc_basename in # old Intel for x86_64, which still supported -KPIC. ecc*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; # icc used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. icc* | ifort*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; # Lahey Fortran 8.1. lf95*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' ;; nagfor*) # NAG Fortran compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; tcc*) # Fabrice Bellard et al's Tiny C Compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; ccc*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All Alpha code is PIC. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; xl* | bgxl* | bgf* | mpixl*) # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*) # Sun Fortran 8.3 passes all unrecognized flags to the linker _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='' ;; *Sun\ F* | *Sun*Fortran*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; *Sun\ C*) # Sun C 5.9 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' ;; *Intel*\ [[CF]]*Compiler*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; *Portland\ Group*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; esac ;; esac ;; newsos6) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; osf3* | osf4* | osf5*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All OSF/1 code is PIC. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; rdos*) _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; solaris*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' case $cc_basename in f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; *) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; esac ;; sunos4*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; unicos*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; uts4*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; *) _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ]) case $host_os in # For platforms that do not support PIC, -DPIC is meaningless: *djgpp*) _LT_TAGVAR(lt_prog_compiler_pic, $1)= ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" ;; esac AC_CACHE_CHECK([for $compiler option to produce PIC], [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)], [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)]) _LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1) # # Check to make sure the PIC flag actually works. # if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)], [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in "" | " "*) ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;; esac], [_LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) fi _LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1], [Additional compiler flags for building library objects]) _LT_TAGDECL([wl], [lt_prog_compiler_wl], [1], [How to pass a linker flag through the compiler]) # # Check to make sure the static flag actually works. # wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\" _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1), $lt_tmp_static_flag, [], [_LT_TAGVAR(lt_prog_compiler_static, $1)=]) _LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1], [Compiler flag to prevent dynamic linking]) ])# _LT_COMPILER_PIC # _LT_LINKER_SHLIBS([TAGNAME]) # ---------------------------- # See if the linker supports building shared libraries. m4_defun([_LT_LINKER_SHLIBS], [AC_REQUIRE([LT_PATH_LD])dnl AC_REQUIRE([LT_PATH_NM])dnl m4_require([_LT_PATH_MANIFEST_TOOL])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl m4_require([_LT_TAG_COMPILER])dnl AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) m4_if([$1], [CXX], [ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] case $host_os in aix[[4-9]]*) # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to GNU nm, but means don't demangle to AIX nm. # Without the "-l" option, or with the "-B" option, AIX nm treats # weak defined symbols like other global defined symbols, whereas # GNU nm marks them as "W". # While the 'weak' keyword is ignored in the Export File, we need # it in the Import File for the 'aix-soname' feature, so we have # to replace the "-B" option with "-P" for AIX nm. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' else _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' fi ;; pw32*) _LT_TAGVAR(export_symbols_cmds, $1)=$ltdll_cmds ;; cygwin* | mingw* | cegcc*) case $cc_basename in cl*) _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' ;; *) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] ;; esac ;; *) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; esac ], [ runpath_var= _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_cmds, $1)= _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(compiler_needs_object, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(old_archive_from_new_cmds, $1)= _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)= _LT_TAGVAR(thread_safe_flag_spec, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list _LT_TAGVAR(include_expsyms, $1)= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ' (' and ')$', so one must not match beginning or # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', # as well as any symbol that contains 'd'. _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. # Exclude shared library initialization/finalization symbols. dnl Note also adjust exclude_expsyms for C++ above. extract_expsyms_cmds= case $host_os in cygwin* | mingw* | pw32* | cegcc*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test yes != "$GCC"; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd* | bitrig*) with_gnu_ld=no ;; esac _LT_TAGVAR(ld_shlibs, $1)=yes # On some targets, GNU ld is compatible enough with the native linker # that we're better off using the native interface for both. lt_use_gnu_ld_interface=no if test yes = "$with_gnu_ld"; then case $host_os in aix*) # The AIX port of GNU ld has always aspired to compatibility # with the native linker. However, as the warning in the GNU ld # block says, versions before 2.19.5* couldn't really create working # shared libraries, regardless of the interface used. case `$LD -v 2>&1` in *\ \(GNU\ Binutils\)\ 2.19.5*) ;; *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;; *\ \(GNU\ Binutils\)\ [[3-9]]*) ;; *) lt_use_gnu_ld_interface=yes ;; esac ;; *) lt_use_gnu_ld_interface=yes ;; esac fi if test yes = "$lt_use_gnu_ld_interface"; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='$wl' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' else _LT_TAGVAR(whole_archive_flag_spec, $1)= fi supports_anon_versioning=no case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in *GNU\ gold*) supports_anon_versioning=yes ;; *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix[[3-9]]*) # On AIX/PPC, the GNU linker is very broken if test ia64 != "$host_cpu"; then _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: the GNU linker, at least up to release 2.19, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to install binutils *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. *** You will then need to restart the configuration process. _LT_EOF fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='' ;; m68k) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; cygwin* | mingw* | pw32* | cegcc*) # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file, use it as # is; otherwise, prepend EXPORTS... _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; haiku*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(link_all_deplibs, $1)=yes ;; os2*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=unsupported shrext_cmds=.dll _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; interix[[3-9]]*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) tmp_diet=no if test linux-dietlibc = "$host_os"; then case $cc_basename in diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) esac fi if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ && test no = "$tmp_diet" then tmp_addflag=' $pic_flag' tmp_sharedflag='-shared' case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group f77 and f90 compilers _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; lf95*) # Lahey Fortran 8.1 _LT_TAGVAR(whole_archive_flag_spec, $1)= tmp_sharedflag='--shared' ;; nagfor*) # NAGFOR 5.3 tmp_sharedflag='-Wl,-shared' ;; xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) tmp_sharedflag='-qmkshrobj' tmp_addflag= ;; nvcc*) # Cuda Compiler Driver 2.2 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; esac _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' if test yes = "$supports_anon_versioning"; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' fi case $cc_basename in tcc*) _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic' ;; xlf* | bgf* | bgxlf* | mpixlf*) # IBM XL Fortran 10.1 on PPC cannot create shared libs itself _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' if test yes = "$supports_anon_versioning"; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' fi ;; esac else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) # For security reasons, it is highly recommended that you always # use absolute paths for naming shared libraries, and exclude the # DT_RUNPATH tag from executables and libraries. But doing so # requires that you compile everything twice, which is a pain. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; sunos4*) _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac if test no = "$_LT_TAGVAR(ld_shlibs, $1)"; then runpath_var= _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. _LT_TAGVAR(hardcode_minus_L, $1)=yes if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. _LT_TAGVAR(hardcode_direct, $1)=unsupported fi ;; aix[[4-9]]*) if test ia64 = "$host_cpu"; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag= else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to GNU nm, but means don't demangle to AIX nm. # Without the "-l" option, or with the "-B" option, AIX nm treats # weak defined symbols like other global defined symbols, whereas # GNU nm marks them as "W". # While the 'weak' keyword is ignored in the Export File, we need # it in the Import File for the 'aix-soname' feature, so we have # to replace the "-B" option with "-P" for AIX nm. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' else _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # have runtime linking enabled, and use it for executables. # For shared libraries, we enable/disable runtime linking # depending on the kind of the shared library created - # when "with_aix_soname,aix_use_runtimelinking" is: # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables # "aix,yes" lib.so shared, rtl:yes, for executables # lib.a static archive # "both,no" lib.so.V(shr.o) shared, rtl:yes # lib.a(lib.so.V) shared, rtl:no, for executables # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a(lib.so.V) shared, rtl:no # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a static archive case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) for ld_flag in $LDFLAGS; do if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then aix_use_runtimelinking=yes break fi done if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then # With aix-soname=svr4, we create the lib.so.V shared archives only, # so we don't have lib.a shared libs to link our executables. # We have to force runtime linking in this case. aix_use_runtimelinking=yes LDFLAGS="$LDFLAGS -Wl,-brtl" fi ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_TAGVAR(archive_cmds, $1)='' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(file_list_spec, $1)='$wl-f,' case $with_aix_soname,$aix_use_runtimelinking in aix,*) ;; # traditional, no import file svr4,* | *,yes) # use import file # The Import File defines what to hardcode. _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no ;; esac if test yes = "$GCC"; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`$CC -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 _LT_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)= fi ;; esac shared_flag='-shared' if test yes = "$aix_use_runtimelinking"; then shared_flag="$shared_flag "'$wl-G' fi # Need to ensure runtime linking is disabled for the traditional # shared library, or the linker may eventually find shared libraries # /with/ Import File - we do not want to mix them. shared_flag_aix='-shared' shared_flag_svr4='-shared $wl-G' else # not using gcc if test ia64 = "$host_cpu"; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test yes = "$aix_use_runtimelinking"; then shared_flag='$wl-G' else shared_flag='$wl-bM:SRE' fi shared_flag_aix='$wl-bM:SRE' shared_flag_svr4='$wl-G' fi fi _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. _LT_TAGVAR(always_export_symbols, $1)=yes if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. _LT_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag else if test ia64 = "$host_cpu"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib' _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok' _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok' if test yes = "$with_gnu_ld"; then # We only use this code for GNU lds that support --whole-archive. _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive' else # Exported symbols can be pulled into shared objects from archives _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' fi _LT_TAGVAR(archive_cmds_need_lc, $1)=yes _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' # -brtl affects multiple linker settings, -berok does not and is overridden later compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`' if test svr4 != "$with_aix_soname"; then # This is similar to how AIX traditionally builds its shared libraries. _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' fi if test aix != "$with_aix_soname"; then _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' else # used by -dlpreopen to get the symbols _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir' fi _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d' fi fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='' ;; m68k) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac ;; bsdi[[45]]*) _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic ;; cygwin* | mingw* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. case $cc_basename in cl*) # Native MSVC _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes _LT_TAGVAR(file_list_spec, $1)='@' # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=.dll # FIXME: Setting linknames here is a bad hack. _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then cp "$export_symbols" "$output_objdir/$soname.def"; echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; else $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; fi~ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ linknames=' # The linker will not automatically build a static lib if we build a DLL. # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' # Don't use ranlib _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ lt_tool_outputfile="@TOOL_OUTPUT@"~ case $lt_outputfile in *.exe|*.EXE) ;; *) lt_outputfile=$lt_outputfile.exe lt_tool_outputfile=$lt_tool_outputfile.exe ;; esac~ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; $RM "$lt_outputfile.manifest"; fi' ;; *) # Assume MSVC wrapper _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=.dll # FIXME: Setting linknames here is a bad hack. _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' # FIXME: Should let the user specify the lib program. _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; esac ;; darwin* | rhapsody*) _LT_DARWIN_LINKER_FEATURES($1) ;; dgux*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2.*) _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; hpux9*) if test yes = "$GCC"; then _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' else _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_direct, $1)=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' ;; hpux10*) if test yes,no = "$GCC,$with_gnu_ld"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test no = "$with_gnu_ld"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes fi ;; hpux11*) if test yes,no = "$GCC,$with_gnu_ld"; then case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) m4_if($1, [], [ # Older versions of the 11.00 compiler do not understand -b yet # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) _LT_LINKER_OPTION([if $CC understands -b], _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b], [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])], [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags']) ;; esac fi if test no = "$with_gnu_ld"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test yes = "$GCC"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' # Try to use the -exported_symbol ld option, if it does not # work, assume that -exports_file does not work either and # implicitly export all symbols. # This should be the same for all languages, so no per-tag cache variable. AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol], [lt_cv_irix_exported_symbol], [save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" AC_LINK_IFELSE( [AC_LANG_SOURCE( [AC_LANG_CASE([C], [[int foo (void) { return 0; }]], [C++], [[int foo (void) { return 0; }]], [Fortran 77], [[ subroutine foo end]], [Fortran], [[ subroutine foo end]])])], [lt_cv_irix_exported_symbol=yes], [lt_cv_irix_exported_symbol=no]) LDFLAGS=$save_LDFLAGS]) if test yes = "$lt_cv_irix_exported_symbol"; then _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib' fi else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(inherit_rpath, $1)=yes _LT_TAGVAR(link_all_deplibs, $1)=yes ;; linux*) case $cc_basename in tcc*) # Fabrice Bellard et al's Tiny C Compiler _LT_TAGVAR(ld_shlibs, $1)=yes _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; newsos6) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *nto* | *qnx*) ;; openbsd* | bitrig*) if test -f /usr/libexec/ld.so; then _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=yes if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' fi else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; os2*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=unsupported shrext_cmds=.dll _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; osf3*) if test yes = "$GCC"; then _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' else _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test yes = "$GCC"; then _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' else _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp' # Both c and cxx compiler support -rpath directly _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_separator, $1)=: ;; solaris*) _LT_TAGVAR(no_undefined_flag, $1)=' -z defs' if test yes = "$GCC"; then wlarc='$wl' _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' else case `$CC -V 2>&1` in *"Compilers 5.0"*) wlarc='' _LT_TAGVAR(archive_cmds, $1)='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' ;; *) wlarc='$wl' _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' ;; esac fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands '-z linker_flag'. GCC discards it without '$wl', # but is careful enough not to reorder. # Supported since Solaris 2.6 (maybe 2.5.1?) if test yes = "$GCC"; then _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' else _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' fi ;; esac _LT_TAGVAR(link_all_deplibs, $1)=yes ;; sunos4*) if test sequent = "$host_vendor"; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4) case $host_vendor in sni) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' _LT_TAGVAR(hardcode_direct, $1)=no ;; motorola) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4.3*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes _LT_TAGVAR(ld_shlibs, $1)=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' if test yes = "$GCC"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We CANNOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport' runpath_var='LD_RUN_PATH' if test yes = "$GCC"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(ld_shlibs, $1)=no ;; esac if test sni = "$host_vendor"; then case $host in sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Blargedynsym' ;; esac fi fi ]) AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no _LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld _LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl _LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl _LT_DECL([], [extract_expsyms_cmds], [2], [The commands to extract the exported symbol list from a shared archive]) # # Do we need to explicitly link libc? # case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in x|xyes) # Assume -lc should be added _LT_TAGVAR(archive_cmds_need_lc, $1)=yes if test yes,yes = "$GCC,$enable_shared"; then case $_LT_TAGVAR(archive_cmds, $1) in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. AC_CACHE_CHECK([whether -lc should be explicitly linked in], [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1), [$RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if AC_TRY_EVAL(ac_compile) 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1) compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1) _LT_TAGVAR(allow_undefined_flag, $1)= if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) then lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no else lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes fi _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $RM conftest* ]) _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1) ;; esac fi ;; esac _LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0], [Whether or not to add -lc for building shared libraries]) _LT_TAGDECL([allow_libtool_libs_with_static_runtimes], [enable_shared_with_static_runtimes], [0], [Whether or not to disallow shared libs when runtime libs are static]) _LT_TAGDECL([], [export_dynamic_flag_spec], [1], [Compiler flag to allow reflexive dlopens]) _LT_TAGDECL([], [whole_archive_flag_spec], [1], [Compiler flag to generate shared objects directly from archives]) _LT_TAGDECL([], [compiler_needs_object], [1], [Whether the compiler copes with passing no objects directly]) _LT_TAGDECL([], [old_archive_from_new_cmds], [2], [Create an old-style archive from a shared archive]) _LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2], [Create a temporary old-style archive to link instead of a shared archive]) _LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive]) _LT_TAGDECL([], [archive_expsym_cmds], [2]) _LT_TAGDECL([], [module_cmds], [2], [Commands used to build a loadable module if different from building a shared archive.]) _LT_TAGDECL([], [module_expsym_cmds], [2]) _LT_TAGDECL([], [with_gnu_ld], [1], [Whether we are building with GNU ld or not]) _LT_TAGDECL([], [allow_undefined_flag], [1], [Flag that allows shared libraries with undefined symbols to be built]) _LT_TAGDECL([], [no_undefined_flag], [1], [Flag that enforces no undefined symbols]) _LT_TAGDECL([], [hardcode_libdir_flag_spec], [1], [Flag to hardcode $libdir into a binary during linking. This must work even if $libdir does not exist]) _LT_TAGDECL([], [hardcode_libdir_separator], [1], [Whether we need a single "-rpath" flag with a separated argument]) _LT_TAGDECL([], [hardcode_direct], [0], [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_direct_absolute], [0], [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes DIR into the resulting binary and the resulting library dependency is "absolute", i.e impossible to change by setting $shlibpath_var if the library is relocated]) _LT_TAGDECL([], [hardcode_minus_L], [0], [Set to "yes" if using the -LDIR flag during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_shlibpath_var], [0], [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_automatic], [0], [Set to "yes" if building a shared library automatically hardcodes DIR into the library and all subsequent libraries and executables linked against it]) _LT_TAGDECL([], [inherit_rpath], [0], [Set to yes if linker adds runtime paths of dependent libraries to runtime path list]) _LT_TAGDECL([], [link_all_deplibs], [0], [Whether libtool must link a program against all its dependency libraries]) _LT_TAGDECL([], [always_export_symbols], [0], [Set to "yes" if exported symbols are required]) _LT_TAGDECL([], [export_symbols_cmds], [2], [The commands to list exported symbols]) _LT_TAGDECL([], [exclude_expsyms], [1], [Symbols that should not be listed in the preloaded symbols]) _LT_TAGDECL([], [include_expsyms], [1], [Symbols that must always be exported]) _LT_TAGDECL([], [prelink_cmds], [2], [Commands necessary for linking programs (against libraries) with templates]) _LT_TAGDECL([], [postlink_cmds], [2], [Commands necessary for finishing linking programs]) _LT_TAGDECL([], [file_list_spec], [1], [Specify filename containing input files]) dnl FIXME: Not yet implemented dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1], dnl [Compiler flag to generate thread safe objects]) ])# _LT_LINKER_SHLIBS # _LT_LANG_C_CONFIG([TAG]) # ------------------------ # Ensure that the configuration variables for a C compiler are suitably # defined. These variables are subsequently used by _LT_CONFIG to write # the compiler configuration to 'libtool'. m4_defun([_LT_LANG_C_CONFIG], [m4_require([_LT_DECL_EGREP])dnl lt_save_CC=$CC AC_LANG_PUSH(C) # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}' _LT_TAG_COMPILER # Save the default compiler, since it gets overwritten when the other # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. compiler_DEFAULT=$CC # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) LT_SYS_DLOPEN_SELF _LT_CMD_STRIPLIB # Report what library types will actually be built AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test no = "$can_build_shared" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test yes = "$enable_shared" && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test ia64 != "$host_cpu"; then case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in yes,aix,yes) ;; # shared object as lib.so file only yes,svr4,*) ;; # shared object as lib.so archive member only yes,*) enable_static=no ;; # shared object in lib.a archive as well esac fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test yes = "$enable_shared" || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_CONFIG($1) fi AC_LANG_POP CC=$lt_save_CC ])# _LT_LANG_C_CONFIG # _LT_LANG_CXX_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for a C++ compiler are suitably # defined. These variables are subsequently used by _LT_CONFIG to write # the compiler configuration to 'libtool'. m4_defun([_LT_LANG_CXX_CONFIG], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_PATH_MANIFEST_TOOL])dnl if test -n "$CXX" && ( test no != "$CXX" && ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || (test g++ != "$CXX"))); then AC_PROG_CXXCPP else _lt_caught_CXX_error=yes fi AC_LANG_PUSH(C++) _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(compiler_needs_object, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for C++ test sources. ac_ext=cpp # Object file extension for compiled C++ test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the CXX compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test yes != "$_lt_caught_CXX_error"; then # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_LD=$LD lt_save_GCC=$GCC GCC=$GXX lt_save_with_gnu_ld=$with_gnu_ld lt_save_path_LD=$lt_cv_path_LD if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx else $as_unset lt_cv_prog_gnu_ld fi if test -n "${lt_cv_path_LDCXX+set}"; then lt_cv_path_LD=$lt_cv_path_LDCXX else $as_unset lt_cv_path_LD fi test -z "${LDCXX+set}" || LD=$LDCXX CC=${CXX-"c++"} CFLAGS=$CXXFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) if test -n "$compiler"; then # We don't want -fno-exception when compiling C++ code, so set the # no_builtin_flag separately if test yes = "$GXX"; then _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' else _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= fi if test yes = "$GXX"; then # Set up default GNU C++ configuration LT_PATH_LD # Check if GNU C++ uses GNU ld as the underlying linker, since the # archiving commands below assume that GNU ld is being used. if test yes = "$with_gnu_ld"; then _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' # If archive_cmds runs LD, not CC, wlarc should be empty # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to # investigate it a little bit more. (MM) wlarc='$wl' # ancient GNU ld didn't support --whole-archive et. al. if eval "`$CC -print-prog-name=ld` --help 2>&1" | $GREP 'no-whole-archive' > /dev/null; then _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' else _LT_TAGVAR(whole_archive_flag_spec, $1)= fi else with_gnu_ld=no wlarc= # A generic and very simple default shared library creation # command for GNU C++ for the case where it uses the native # linker, instead of GNU ld. If possible, this setting should # overridden to take advantage of the native linker features on # the platform it is being used on. _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' fi # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else GXX=no with_gnu_ld=no wlarc= fi # PORTME: fill in a description of your system's C++ link characteristics AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) _LT_TAGVAR(ld_shlibs, $1)=yes case $host_os in aix3*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aix[[4-9]]*) if test ia64 = "$host_cpu"; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag= else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # have runtime linking enabled, and use it for executables. # For shared libraries, we enable/disable runtime linking # depending on the kind of the shared library created - # when "with_aix_soname,aix_use_runtimelinking" is: # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables # "aix,yes" lib.so shared, rtl:yes, for executables # lib.a static archive # "both,no" lib.so.V(shr.o) shared, rtl:yes # lib.a(lib.so.V) shared, rtl:no, for executables # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a(lib.so.V) shared, rtl:no # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a static archive case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) for ld_flag in $LDFLAGS; do case $ld_flag in *-brtl*) aix_use_runtimelinking=yes break ;; esac done if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then # With aix-soname=svr4, we create the lib.so.V shared archives only, # so we don't have lib.a shared libs to link our executables. # We have to force runtime linking in this case. aix_use_runtimelinking=yes LDFLAGS="$LDFLAGS -Wl,-brtl" fi ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_TAGVAR(archive_cmds, $1)='' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(file_list_spec, $1)='$wl-f,' case $with_aix_soname,$aix_use_runtimelinking in aix,*) ;; # no import file svr4,* | *,yes) # use import file # The Import File defines what to hardcode. _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no ;; esac if test yes = "$GXX"; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`$CC -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 _LT_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)= fi esac shared_flag='-shared' if test yes = "$aix_use_runtimelinking"; then shared_flag=$shared_flag' $wl-G' fi # Need to ensure runtime linking is disabled for the traditional # shared library, or the linker may eventually find shared libraries # /with/ Import File - we do not want to mix them. shared_flag_aix='-shared' shared_flag_svr4='-shared $wl-G' else # not using gcc if test ia64 = "$host_cpu"; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test yes = "$aix_use_runtimelinking"; then shared_flag='$wl-G' else shared_flag='$wl-bM:SRE' fi shared_flag_aix='$wl-bM:SRE' shared_flag_svr4='$wl-G' fi fi _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to # export. _LT_TAGVAR(always_export_symbols, $1)=yes if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. # The "-G" linker flag allows undefined symbols. _LT_TAGVAR(no_undefined_flag, $1)='-bernotok' # Determine the default libpath from the value encoded in an empty # executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag else if test ia64 = "$host_cpu"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib' _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok' _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok' if test yes = "$with_gnu_ld"; then # We only use this code for GNU lds that support --whole-archive. _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive' else # Exported symbols can be pulled into shared objects from archives _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' fi _LT_TAGVAR(archive_cmds_need_lc, $1)=yes _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' # -brtl affects multiple linker settings, -berok does not and is overridden later compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`' if test svr4 != "$with_aix_soname"; then # This is similar to how AIX traditionally builds its shared # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' fi if test aix != "$with_aix_soname"; then _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' else # used by -dlpreopen to get the symbols _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir' fi _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d' fi fi ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; chorus*) case $cc_basename in *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; cygwin* | mingw* | pw32* | cegcc*) case $GXX,$cc_basename in ,cl* | no,cl*) # Native MSVC # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes _LT_TAGVAR(file_list_spec, $1)='@' # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=.dll # FIXME: Setting linknames here is a bad hack. _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then cp "$export_symbols" "$output_objdir/$soname.def"; echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; else $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; fi~ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ linknames=' # The linker will not automatically build a static lib if we build a DLL. # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes # Don't use ranlib _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ lt_tool_outputfile="@TOOL_OUTPUT@"~ case $lt_outputfile in *.exe|*.EXE) ;; *) lt_outputfile=$lt_outputfile.exe lt_tool_outputfile=$lt_tool_outputfile.exe ;; esac~ func_to_tool_file "$lt_outputfile"~ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; $RM "$lt_outputfile.manifest"; fi' ;; *) # g++ # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file, use it as # is; otherwise, prepend EXPORTS... _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; darwin* | rhapsody*) _LT_DARWIN_LINKER_FEATURES($1) ;; os2*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=unsupported shrext_cmds=.dll _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; dgux*) case $cc_basename in ec++*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; ghcx*) # Green Hills C++ Compiler # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; freebsd2.*) # C++ shared libraries reported to be fairly broken before # switch to ELF _LT_TAGVAR(ld_shlibs, $1)=no ;; freebsd-elf*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; freebsd* | dragonfly*) # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF # conventions _LT_TAGVAR(ld_shlibs, $1)=yes ;; haiku*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(link_all_deplibs, $1)=yes ;; hpux9*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aCC*) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test yes = "$GXX"; then _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; hpux10*|hpux11*) if test no = "$with_gnu_ld"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) ;; *) _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' ;; esac fi case $host_cpu in hppa*64*|ia64*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. ;; esac case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aCC*) case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test yes = "$GXX"; then if test no = "$with_gnu_ld"; then case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac fi else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; interix[[3-9]]*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; irix5* | irix6*) case $cc_basename in CC*) # SGI C++ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' # Archives containing C++ object files must be created using # "CC -ar", where "CC" is the IRIX C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' ;; *) if test yes = "$GXX"; then if test no = "$with_gnu_ld"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib' fi fi _LT_TAGVAR(link_all_deplibs, $1)=yes ;; esac _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(inherit_rpath, $1)=yes ;; linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; icpc* | ecpc* ) # Intel C++ with_gnu_ld=yes # version 8.0 and above of icpc choke on multiply defined symbols # if we add $predep_objects and $postdep_objects, however 7.1 and # earlier do not add the objects themselves. case `$CC -V 2>&1` in *"Version 7."*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' ;; *) # Version 8.0 or newer tmp_idyn= case $host_cpu in ia64*) tmp_idyn=' -i_dynamic';; esac _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' ;; esac _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive' ;; pgCC* | pgcpp*) # Portland Group C++ compiler case `$CC -V` in *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*) _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ $RANLIB $oldlib' _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' ;; *) # Version 6 and above use weak symbols _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' ;; esac _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl--rpath $wl$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' ;; cxx*) # Compaq C++ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols' runpath_var=LD_RUN_PATH _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' ;; xl* | mpixl* | bgxl*) # IBM XL 8.0 on PPC, with GNU ld _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' if test yes = "$supports_anon_versioning"; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' fi ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes # Not sure whether something based on # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 # would be better. output_verbose_link_cmd='func_echo_all' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; esac ;; esac ;; lynxos*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; m88k*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; mvs*) case $cc_basename in cxx*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' wlarc= _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no fi # Workaround some broken pre-1.5 toolchains output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' ;; *nto* | *qnx*) _LT_TAGVAR(ld_shlibs, $1)=yes ;; openbsd* | bitrig*) if test -f /usr/libexec/ld.so; then _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' fi output_verbose_link_cmd=func_echo_all else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Archives containing C++ object files must be created using # the KAI C++ compiler. case $host in osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;; esac ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; cxx*) case $host in osf3*) _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' ;; *) _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ echo "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~ $RM $lib.exp' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' ;; esac _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test yes,no = "$GXX,$with_gnu_ld"; then _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' case $host in osf3*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' ;; esac _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; psos*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; lcc*) # Lucid # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; solaris*) case $cc_basename in CC* | sunCC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_TAGVAR(archive_cmds_need_lc,$1)=yes _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands '-z linker_flag'. # Supported since Solaris 2.6 (maybe 2.5.1?) _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; esac _LT_TAGVAR(link_all_deplibs, $1)=yes output_verbose_link_cmd='func_echo_all' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; gcx*) # Green Hills C++ Compiler _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' # The C++ compiler must be used to create the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' ;; *) # GNU C++ compiler with Solaris linker if test yes,no = "$GXX,$with_gnu_ld"; then _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs' if $CC --version | $GREP -v '^2\.7' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else # g++ 2.7 appears to require '-G' NOT '-shared' on this # platform. _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir' case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' ;; esac fi ;; esac ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We CANNOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport' runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~ '"$_LT_TAGVAR(old_archive_cmds, $1)" _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~ '"$_LT_TAGVAR(reload_cmds, $1)" ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; vxworks*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no _LT_TAGVAR(GCC, $1)=$GXX _LT_TAGVAR(LD, $1)=$LD ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_SYS_HIDDEN_LIBDEPS($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS LDCXX=$LD LD=$lt_save_LD GCC=$lt_save_GCC with_gnu_ld=$lt_save_with_gnu_ld lt_cv_path_LDCXX=$lt_cv_path_LD lt_cv_path_LD=$lt_save_path_LD lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld fi # test yes != "$_lt_caught_CXX_error" AC_LANG_POP ])# _LT_LANG_CXX_CONFIG # _LT_FUNC_STRIPNAME_CNF # ---------------------- # func_stripname_cnf prefix suffix name # strip PREFIX and SUFFIX off of NAME. # PREFIX and SUFFIX must not contain globbing or regex special # characters, hashes, percent signs, but SUFFIX may contain a leading # dot (in which case that matches only a dot). # # This function is identical to the (non-XSI) version of func_stripname, # except this one can be used by m4 code that may be executed by configure, # rather than the libtool script. m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl AC_REQUIRE([_LT_DECL_SED]) AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH]) func_stripname_cnf () { case @S|@2 in .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;; *) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;; esac } # func_stripname_cnf ])# _LT_FUNC_STRIPNAME_CNF # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) # --------------------------------- # Figure out "hidden" library dependencies from verbose # compiler output when linking a shared library. # Parse the compiler output and extract the necessary # objects, libraries and library flags. m4_defun([_LT_SYS_HIDDEN_LIBDEPS], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl # Dependencies to place before and after the object being linked: _LT_TAGVAR(predep_objects, $1)= _LT_TAGVAR(postdep_objects, $1)= _LT_TAGVAR(predeps, $1)= _LT_TAGVAR(postdeps, $1)= _LT_TAGVAR(compiler_lib_search_path, $1)= dnl we can't use the lt_simple_compile_test_code here, dnl because it contains code intended for an executable, dnl not a library. It's possible we should let each dnl tag define a new lt_????_link_test_code variable, dnl but it's only used here... m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF int a; void foo (void) { a = 0; } _LT_EOF ], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF class Foo { public: Foo (void) { a = 0; } private: int a; }; _LT_EOF ], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF subroutine foo implicit none integer*4 a a=0 return end _LT_EOF ], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF subroutine foo implicit none integer a a=0 return end _LT_EOF ], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF public class foo { private int a; public void bar (void) { a = 0; } }; _LT_EOF ], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF package foo func foo() { } _LT_EOF ]) _lt_libdeps_save_CFLAGS=$CFLAGS case "$CC $CFLAGS " in #( *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; esac dnl Parse the compiler output and extract the necessary dnl objects, libraries and library flags. if AC_TRY_EVAL(ac_compile); then # Parse the compiler output and extract the necessary # objects, libraries and library flags. # Sentinel used to keep track of whether or not we are before # the conftest object file. pre_test_object_deps_done=no for p in `eval "$output_verbose_link_cmd"`; do case $prev$p in -L* | -R* | -l*) # Some compilers place space between "-{L,R}" and the path. # Remove the space. if test x-L = "$p" || test x-R = "$p"; then prev=$p continue fi # Expand the sysroot to ease extracting the directories later. if test -z "$prev"; then case $p in -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; esac fi case $p in =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; esac if test no = "$pre_test_object_deps_done"; then case $prev in -L | -R) # Internal compiler library paths should come after those # provided the user. The postdeps already come after the # user supplied libs so there is no need to process them. if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then _LT_TAGVAR(compiler_lib_search_path, $1)=$prev$p else _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} $prev$p" fi ;; # The "-l" case would never come before the object being # linked, so don't bother handling this case. esac else if test -z "$_LT_TAGVAR(postdeps, $1)"; then _LT_TAGVAR(postdeps, $1)=$prev$p else _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} $prev$p" fi fi prev= ;; *.lto.$objext) ;; # Ignore GCC LTO objects *.$objext) # This assumes that the test object file only shows up # once in the compiler output. if test "$p" = "conftest.$objext"; then pre_test_object_deps_done=yes continue fi if test no = "$pre_test_object_deps_done"; then if test -z "$_LT_TAGVAR(predep_objects, $1)"; then _LT_TAGVAR(predep_objects, $1)=$p else _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p" fi else if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then _LT_TAGVAR(postdep_objects, $1)=$p else _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p" fi fi ;; *) ;; # Ignore the rest. esac done # Clean up. rm -f a.out a.exe else echo "libtool.m4: error: problem compiling $1 test program" fi $RM -f confest.$objext CFLAGS=$_lt_libdeps_save_CFLAGS # PORTME: override above test on systems where it is broken m4_if([$1], [CXX], [case $host_os in interix[[3-9]]*) # Interix 3.5 installs completely hosed .la files for C++, so rather than # hack all around it, let's just trust "g++" to DTRT. _LT_TAGVAR(predep_objects,$1)= _LT_TAGVAR(postdep_objects,$1)= _LT_TAGVAR(postdeps,$1)= ;; esac ]) case " $_LT_TAGVAR(postdeps, $1) " in *" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; esac _LT_TAGVAR(compiler_lib_search_dirs, $1)= if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | $SED -e 's! -L! !g' -e 's!^ !!'` fi _LT_TAGDECL([], [compiler_lib_search_dirs], [1], [The directories searched by this compiler when creating a shared library]) _LT_TAGDECL([], [predep_objects], [1], [Dependencies to place before and after the objects being linked to create a shared library]) _LT_TAGDECL([], [postdep_objects], [1]) _LT_TAGDECL([], [predeps], [1]) _LT_TAGDECL([], [postdeps], [1]) _LT_TAGDECL([], [compiler_lib_search_path], [1], [The library search path used internally by the compiler when linking a shared library]) ])# _LT_SYS_HIDDEN_LIBDEPS # _LT_LANG_F77_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for a Fortran 77 compiler are # suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_F77_CONFIG], [AC_LANG_PUSH(Fortran 77) if test -z "$F77" || test no = "$F77"; then _lt_disable_F77=yes fi _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for f77 test sources. ac_ext=f # Object file extension for compiled f77 test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the F77 compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test yes != "$_lt_disable_F77"; then # Code to be used in simple compile tests lt_simple_compile_test_code="\ subroutine t return end " # Code to be used in simple link tests lt_simple_link_test_code="\ program t end " # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_GCC=$GCC lt_save_CFLAGS=$CFLAGS CC=${F77-"f77"} CFLAGS=$FFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) GCC=$G77 if test -n "$compiler"; then AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test no = "$can_build_shared" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test yes = "$enable_shared" && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test ia64 != "$host_cpu"; then case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in yes,aix,yes) ;; # shared object as lib.so file only yes,svr4,*) ;; # shared object as lib.so archive member only yes,*) enable_static=no ;; # shared object in lib.a archive as well esac fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test yes = "$enable_shared" || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_TAGVAR(GCC, $1)=$G77 _LT_TAGVAR(LD, $1)=$LD ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS fi # test yes != "$_lt_disable_F77" AC_LANG_POP ])# _LT_LANG_F77_CONFIG # _LT_LANG_FC_CONFIG([TAG]) # ------------------------- # Ensure that the configuration variables for a Fortran compiler are # suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_FC_CONFIG], [AC_LANG_PUSH(Fortran) if test -z "$FC" || test no = "$FC"; then _lt_disable_FC=yes fi _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for fc test sources. ac_ext=${ac_fc_srcext-f} # Object file extension for compiled fc test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the FC compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test yes != "$_lt_disable_FC"; then # Code to be used in simple compile tests lt_simple_compile_test_code="\ subroutine t return end " # Code to be used in simple link tests lt_simple_link_test_code="\ program t end " # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_GCC=$GCC lt_save_CFLAGS=$CFLAGS CC=${FC-"f95"} CFLAGS=$FCFLAGS compiler=$CC GCC=$ac_cv_fc_compiler_gnu _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) if test -n "$compiler"; then AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test no = "$can_build_shared" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test yes = "$enable_shared" && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test ia64 != "$host_cpu"; then case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in yes,aix,yes) ;; # shared object as lib.so file only yes,svr4,*) ;; # shared object as lib.so archive member only yes,*) enable_static=no ;; # shared object in lib.a archive as well esac fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test yes = "$enable_shared" || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_TAGVAR(GCC, $1)=$ac_cv_fc_compiler_gnu _LT_TAGVAR(LD, $1)=$LD ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_SYS_HIDDEN_LIBDEPS($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS fi # test yes != "$_lt_disable_FC" AC_LANG_POP ])# _LT_LANG_FC_CONFIG # _LT_LANG_GCJ_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for the GNU Java Compiler compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_GCJ_CONFIG], [AC_REQUIRE([LT_PROG_GCJ])dnl AC_LANG_SAVE # Source file extension for Java test sources. ac_ext=java # Object file extension for compiled Java test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="class foo {}" # Code to be used in simple link tests lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_GCC=$GCC GCC=yes CC=${GCJ-"gcj"} CFLAGS=$GCJFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_TAGVAR(LD, $1)=$LD _LT_CC_BASENAME([$compiler]) # GCJ did not exist at the time GCC didn't implicitly link libc in. _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi AC_LANG_RESTORE GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS ])# _LT_LANG_GCJ_CONFIG # _LT_LANG_GO_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for the GNU Go compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_GO_CONFIG], [AC_REQUIRE([LT_PROG_GO])dnl AC_LANG_SAVE # Source file extension for Go test sources. ac_ext=go # Object file extension for compiled Go test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="package main; func main() { }" # Code to be used in simple link tests lt_simple_link_test_code='package main; func main() { }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_GCC=$GCC GCC=yes CC=${GOC-"gccgo"} CFLAGS=$GOFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_TAGVAR(LD, $1)=$LD _LT_CC_BASENAME([$compiler]) # Go did not exist at the time GCC didn't implicitly link libc in. _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi AC_LANG_RESTORE GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS ])# _LT_LANG_GO_CONFIG # _LT_LANG_RC_CONFIG([TAG]) # ------------------------- # Ensure that the configuration variables for the Windows resource compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_RC_CONFIG], [AC_REQUIRE([LT_PROG_RC])dnl AC_LANG_SAVE # Source file extension for RC test sources. ac_ext=rc # Object file extension for compiled RC test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' # Code to be used in simple link tests lt_simple_link_test_code=$lt_simple_compile_test_code # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_GCC=$GCC GCC= CC=${RC-"windres"} CFLAGS= compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes if test -n "$compiler"; then : _LT_CONFIG($1) fi GCC=$lt_save_GCC AC_LANG_RESTORE CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS ])# _LT_LANG_RC_CONFIG # LT_PROG_GCJ # ----------- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], [AC_CHECK_TOOL(GCJ, gcj,) test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2" AC_SUBST(GCJFLAGS)])])[]dnl ]) # Old name: AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_GCJ], []) # LT_PROG_GO # ---------- AC_DEFUN([LT_PROG_GO], [AC_CHECK_TOOL(GOC, gccgo,) ]) # LT_PROG_RC # ---------- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,) ]) # Old name: AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_RC], []) # _LT_DECL_EGREP # -------------- # If we don't have a new enough Autoconf to choose the best grep # available, choose the one first in the user's PATH. m4_defun([_LT_DECL_EGREP], [AC_REQUIRE([AC_PROG_EGREP])dnl AC_REQUIRE([AC_PROG_FGREP])dnl test -z "$GREP" && GREP=grep _LT_DECL([], [GREP], [1], [A grep program that handles long lines]) _LT_DECL([], [EGREP], [1], [An ERE matcher]) _LT_DECL([], [FGREP], [1], [A literal string matcher]) dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too AC_SUBST([GREP]) ]) # _LT_DECL_OBJDUMP # -------------- # If we don't have a new enough Autoconf to choose the best objdump # available, choose the one first in the user's PATH. m4_defun([_LT_DECL_OBJDUMP], [AC_CHECK_TOOL(OBJDUMP, objdump, false) test -z "$OBJDUMP" && OBJDUMP=objdump _LT_DECL([], [OBJDUMP], [1], [An object symbol dumper]) AC_SUBST([OBJDUMP]) ]) # _LT_DECL_DLLTOOL # ---------------- # Ensure DLLTOOL variable is set. m4_defun([_LT_DECL_DLLTOOL], [AC_CHECK_TOOL(DLLTOOL, dlltool, false) test -z "$DLLTOOL" && DLLTOOL=dlltool _LT_DECL([], [DLLTOOL], [1], [DLL creation program]) AC_SUBST([DLLTOOL]) ]) # _LT_DECL_SED # ------------ # Check for a fully-functional sed program, that truncates # as few characters as possible. Prefer GNU sed if found. m4_defun([_LT_DECL_SED], [AC_PROG_SED test -z "$SED" && SED=sed Xsed="$SED -e 1s/^X//" _LT_DECL([], [SED], [1], [A sed program that does not truncate output]) _LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"], [Sed that helps us avoid accidentally triggering echo(1) options like -n]) ])# _LT_DECL_SED m4_ifndef([AC_PROG_SED], [ # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_SED. When it is available in # # a released version of Autoconf we should remove this # # macro and use it instead. # m4_defun([AC_PROG_SED], [AC_MSG_CHECKING([for a sed that does not truncate output]) AC_CACHE_VAL(lt_cv_path_SED, [# Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for lt_ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" fi done done done IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris # along with /bin/sed that truncates output. for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do test ! -f "$lt_ac_sed" && continue cat /dev/null > conftest.in lt_ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >conftest.in # Check for GNU sed and select it if it is found. if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then lt_cv_path_SED=$lt_ac_sed break fi while true; do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo >>conftest.nl $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break cmp -s conftest.out conftest.nl || break # 10000 chars as input seems more than enough test 10 -lt "$lt_ac_count" && break lt_ac_count=`expr $lt_ac_count + 1` if test "$lt_ac_count" -gt "$lt_ac_max"; then lt_ac_max=$lt_ac_count lt_cv_path_SED=$lt_ac_sed fi done done ]) SED=$lt_cv_path_SED AC_SUBST([SED]) AC_MSG_RESULT([$SED]) ])#AC_PROG_SED ])#m4_ifndef # Old name: AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_SED], []) # _LT_CHECK_SHELL_FEATURES # ------------------------ # Find out whether the shell is Bourne or XSI compatible, # or has some other useful features. m4_defun([_LT_CHECK_SHELL_FEATURES], [if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then lt_unset=unset else lt_unset=false fi _LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl # test EBCDIC or ASCII case `echo X|tr X '\101'` in A) # ASCII based system # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr lt_SP2NL='tr \040 \012' lt_NL2SP='tr \015\012 \040\040' ;; *) # EBCDIC based system lt_SP2NL='tr \100 \n' lt_NL2SP='tr \r\n \100\100' ;; esac _LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl _LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl ])# _LT_CHECK_SHELL_FEATURES # _LT_PATH_CONVERSION_FUNCTIONS # ----------------------------- # Determine what file name conversion functions should be used by # func_to_host_file (and, implicitly, by func_to_host_path). These are needed # for certain cross-compile configurations and native mingw. m4_defun([_LT_PATH_CONVERSION_FUNCTIONS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl AC_MSG_CHECKING([how to convert $build file names to $host format]) AC_CACHE_VAL(lt_cv_to_host_file_cmd, [case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 ;; esac ;; *-*-cygwin* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_noop ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin ;; esac ;; * ) # unhandled hosts (and "normal" native builds) lt_cv_to_host_file_cmd=func_convert_file_noop ;; esac ]) to_host_file_cmd=$lt_cv_to_host_file_cmd AC_MSG_RESULT([$lt_cv_to_host_file_cmd]) _LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd], [0], [convert $build file names to $host format])dnl AC_MSG_CHECKING([how to convert $build file names to toolchain format]) AC_CACHE_VAL(lt_cv_to_tool_file_cmd, [#assume ordinary cross tools, or native build. lt_cv_to_tool_file_cmd=func_convert_file_noop case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 ;; esac ;; esac ]) to_tool_file_cmd=$lt_cv_to_tool_file_cmd AC_MSG_RESULT([$lt_cv_to_tool_file_cmd]) _LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], [0], [convert $build files to toolchain format])dnl ])# _LT_PATH_CONVERSION_FUNCTIONS # Helper functions for option handling. -*- Autoconf -*- # # Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software # Foundation, Inc. # Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 8 ltoptions.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) # _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) # ------------------------------------------ m4_define([_LT_MANGLE_OPTION], [[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) # _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) # --------------------------------------- # Set option OPTION-NAME for macro MACRO-NAME, and if there is a # matching handler defined, dispatch to it. Other OPTION-NAMEs are # saved as a flag. m4_define([_LT_SET_OPTION], [m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), _LT_MANGLE_DEFUN([$1], [$2]), [m4_warning([Unknown $1 option '$2'])])[]dnl ]) # _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) # ------------------------------------------------------------ # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. m4_define([_LT_IF_OPTION], [m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) # _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) # ------------------------------------------------------- # Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME # are set. m4_define([_LT_UNLESS_OPTIONS], [m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option), [m4_define([$0_found])])])[]dnl m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3 ])[]dnl ]) # _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) # ---------------------------------------- # OPTION-LIST is a space-separated list of Libtool options associated # with MACRO-NAME. If any OPTION has a matching handler declared with # LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about # the unknown option and exit. m4_defun([_LT_SET_OPTIONS], [# Set options m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), [_LT_SET_OPTION([$1], _LT_Option)]) m4_if([$1],[LT_INIT],[ dnl dnl Simply set some default values (i.e off) if boolean options were not dnl specified: _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no ]) _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no ]) dnl dnl If no reference was made to various pairs of opposing options, then dnl we run the default mode handler for the pair. For example, if neither dnl 'shared' nor 'disable-shared' was passed, we enable building of shared dnl archives by default: _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], [_LT_ENABLE_FAST_INSTALL]) _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4], [_LT_WITH_AIX_SONAME([aix])]) ]) ])# _LT_SET_OPTIONS # _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) # ----------------------------------------- m4_define([_LT_MANGLE_DEFUN], [[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) # LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) # ----------------------------------------------- m4_define([LT_OPTION_DEFINE], [m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl ])# LT_OPTION_DEFINE # dlopen # ------ LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes ]) AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'dlopen' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) # win32-dll # --------- # Declare package support for building win32 dll's. LT_OPTION_DEFINE([LT_INIT], [win32-dll], [enable_win32_dll=yes case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) AC_CHECK_TOOL(AS, as, false) AC_CHECK_TOOL(DLLTOOL, dlltool, false) AC_CHECK_TOOL(OBJDUMP, objdump, false) ;; esac test -z "$AS" && AS=as _LT_DECL([], [AS], [1], [Assembler program])dnl test -z "$DLLTOOL" && DLLTOOL=dlltool _LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl test -z "$OBJDUMP" && OBJDUMP=objdump _LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl ])# win32-dll AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl _LT_SET_OPTION([LT_INIT], [win32-dll]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'win32-dll' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) # _LT_ENABLE_SHARED([DEFAULT]) # ---------------------------- # implement the --enable-shared flag, and supports the 'shared' and # 'disable-shared' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. m4_define([_LT_ENABLE_SHARED], [m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([shared], [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@], [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for pkg in $enableval; do IFS=$lt_save_ifs if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS=$lt_save_ifs ;; esac], [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) _LT_DECL([build_libtool_libs], [enable_shared], [0], [Whether or not to build shared libraries]) ])# _LT_ENABLE_SHARED LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) # Old names: AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) ]) AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared]) ]) AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_ENABLE_SHARED], []) dnl AC_DEFUN([AM_DISABLE_SHARED], []) # _LT_ENABLE_STATIC([DEFAULT]) # ---------------------------- # implement the --enable-static flag, and support the 'static' and # 'disable-static' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. m4_define([_LT_ENABLE_STATIC], [m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([static], [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@], [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for pkg in $enableval; do IFS=$lt_save_ifs if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS=$lt_save_ifs ;; esac], [enable_static=]_LT_ENABLE_STATIC_DEFAULT) _LT_DECL([build_old_libs], [enable_static], [0], [Whether or not to build static libraries]) ])# _LT_ENABLE_STATIC LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) # Old names: AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) ]) AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static]) ]) AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_ENABLE_STATIC], []) dnl AC_DEFUN([AM_DISABLE_STATIC], []) # _LT_ENABLE_FAST_INSTALL([DEFAULT]) # ---------------------------------- # implement the --enable-fast-install flag, and support the 'fast-install' # and 'disable-fast-install' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. m4_define([_LT_ENABLE_FAST_INSTALL], [m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([fast-install], [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for pkg in $enableval; do IFS=$lt_save_ifs if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS=$lt_save_ifs ;; esac], [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) _LT_DECL([fast_install], [enable_fast_install], [0], [Whether or not to optimize for fast installation])dnl ])# _LT_ENABLE_FAST_INSTALL LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])]) # Old names: AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'fast-install' option into LT_INIT's first parameter.]) ]) AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'disable-fast-install' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) # _LT_WITH_AIX_SONAME([DEFAULT]) # ---------------------------------- # implement the --with-aix-soname flag, and support the `aix-soname=aix' # and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT # is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'. m4_define([_LT_WITH_AIX_SONAME], [m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl shared_archive_member_spec= case $host,$enable_shared in power*-*-aix[[5-9]]*,yes) AC_MSG_CHECKING([which variant of shared library versioning to provide]) AC_ARG_WITH([aix-soname], [AS_HELP_STRING([--with-aix-soname=aix|svr4|both], [shared library versioning (aka "SONAME") variant to provide on AIX, @<:@default=]_LT_WITH_AIX_SONAME_DEFAULT[@:>@.])], [case $withval in aix|svr4|both) ;; *) AC_MSG_ERROR([Unknown argument to --with-aix-soname]) ;; esac lt_cv_with_aix_soname=$with_aix_soname], [AC_CACHE_VAL([lt_cv_with_aix_soname], [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT) with_aix_soname=$lt_cv_with_aix_soname]) AC_MSG_RESULT([$with_aix_soname]) if test aix != "$with_aix_soname"; then # For the AIX way of multilib, we name the shared archive member # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, # the AIX toolchain works better with OBJECT_MODE set (default 32). if test 64 = "${OBJECT_MODE-32}"; then shared_archive_member_spec=shr_64 else shared_archive_member_spec=shr fi fi ;; *) with_aix_soname=aix ;; esac _LT_DECL([], [shared_archive_member_spec], [0], [Shared archive member basename, for filename based shared library versioning on AIX])dnl ])# _LT_WITH_AIX_SONAME LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])]) LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])]) LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])]) # _LT_WITH_PIC([MODE]) # -------------------- # implement the --with-pic flag, and support the 'pic-only' and 'no-pic' # LT_INIT options. # MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'. m4_define([_LT_WITH_PIC], [AC_ARG_WITH([pic], [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@], [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], [lt_p=${PACKAGE-default} case $withval in yes|no) pic_mode=$withval ;; *) pic_mode=default # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for lt_pkg in $withval; do IFS=$lt_save_ifs if test "X$lt_pkg" = "X$lt_p"; then pic_mode=yes fi done IFS=$lt_save_ifs ;; esac], [pic_mode=m4_default([$1], [default])]) _LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl ])# _LT_WITH_PIC LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) # Old name: AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'pic-only' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) m4_define([_LTDL_MODE], []) LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], [m4_define([_LTDL_MODE], [nonrecursive])]) LT_OPTION_DEFINE([LTDL_INIT], [recursive], [m4_define([_LTDL_MODE], [recursive])]) LT_OPTION_DEFINE([LTDL_INIT], [subproject], [m4_define([_LTDL_MODE], [subproject])]) m4_define([_LTDL_TYPE], []) LT_OPTION_DEFINE([LTDL_INIT], [installable], [m4_define([_LTDL_TYPE], [installable])]) LT_OPTION_DEFINE([LTDL_INIT], [convenience], [m4_define([_LTDL_TYPE], [convenience])]) # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- # # Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software # Foundation, Inc. # Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 6 ltsugar.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) # lt_join(SEP, ARG1, [ARG2...]) # ----------------------------- # Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their # associated separator. # Needed until we can rely on m4_join from Autoconf 2.62, since all earlier # versions in m4sugar had bugs. m4_define([lt_join], [m4_if([$#], [1], [], [$#], [2], [[$2]], [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])]) m4_define([_lt_join], [m4_if([$#$2], [2], [], [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])]) # lt_car(LIST) # lt_cdr(LIST) # ------------ # Manipulate m4 lists. # These macros are necessary as long as will still need to support # Autoconf-2.59, which quotes differently. m4_define([lt_car], [[$1]]) m4_define([lt_cdr], [m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])], [$#], 1, [], [m4_dquote(m4_shift($@))])]) m4_define([lt_unquote], $1) # lt_append(MACRO-NAME, STRING, [SEPARATOR]) # ------------------------------------------ # Redefine MACRO-NAME to hold its former content plus 'SEPARATOR''STRING'. # Note that neither SEPARATOR nor STRING are expanded; they are appended # to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). # No SEPARATOR is output if MACRO-NAME was previously undefined (different # than defined and empty). # # This macro is needed until we can rely on Autoconf 2.62, since earlier # versions of m4sugar mistakenly expanded SEPARATOR but not STRING. m4_define([lt_append], [m4_define([$1], m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])]) # lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...]) # ---------------------------------------------------------- # Produce a SEP delimited list of all paired combinations of elements of # PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list # has the form PREFIXmINFIXSUFFIXn. # Needed until we can rely on m4_combine added in Autoconf 2.62. m4_define([lt_combine], [m4_if(m4_eval([$# > 3]), [1], [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl [[m4_foreach([_Lt_prefix], [$2], [m4_foreach([_Lt_suffix], ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[, [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])]) # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) # ----------------------------------------------------------------------- # Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited # by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ. m4_define([lt_if_append_uniq], [m4_ifdef([$1], [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1], [lt_append([$1], [$2], [$3])$4], [$5])], [lt_append([$1], [$2], [$3])$4])]) # lt_dict_add(DICT, KEY, VALUE) # ----------------------------- m4_define([lt_dict_add], [m4_define([$1($2)], [$3])]) # lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) # -------------------------------------------- m4_define([lt_dict_add_subkey], [m4_define([$1($2:$3)], [$4])]) # lt_dict_fetch(DICT, KEY, [SUBKEY]) # ---------------------------------- m4_define([lt_dict_fetch], [m4_ifval([$3], m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]), m4_ifdef([$1($2)], [m4_defn([$1($2)])]))]) # lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE]) # ----------------------------------------------------------------- m4_define([lt_if_dict_fetch], [m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4], [$5], [$6])]) # lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...]) # -------------------------------------------------------------- m4_define([lt_dict_filter], [m4_if([$5], [], [], [lt_join(m4_quote(m4_default([$4], [[, ]])), lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]), [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl ]) # ltversion.m4 -- version numbers -*- Autoconf -*- # # Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc. # Written by Scott James Remnant, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # @configure_input@ # serial 4179 ltversion.m4 # This file is part of GNU Libtool m4_define([LT_PACKAGE_VERSION], [2.4.6]) m4_define([LT_PACKAGE_REVISION], [2.4.6]) AC_DEFUN([LTVERSION_VERSION], [macro_version='2.4.6' macro_revision='2.4.6' _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) _LT_DECL(, macro_revision, 0) ]) # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- # # Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software # Foundation, Inc. # Written by Scott James Remnant, 2004. # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 5 lt~obsolete.m4 # These exist entirely to fool aclocal when bootstrapping libtool. # # In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN), # which have later been changed to m4_define as they aren't part of the # exported API, or moved to Autoconf or Automake where they belong. # # The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN # in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us # using a macro with the same name in our local m4/libtool.m4 it'll # pull the old libtool.m4 in (it doesn't see our shiny new m4_define # and doesn't know about Autoconf macros at all.) # # So we provide this file, which has a silly filename so it's always # included after everything else. This provides aclocal with the # AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything # because those macros already exist, or will be overwritten later. # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. # # Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. # Yes, that means every name once taken will need to remain here until # we give up compatibility with versions before 1.7, at which point # we need to keep only those names which we still refer to. # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])]) m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])]) m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])]) m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])]) m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])]) m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])]) m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])]) m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])]) m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])]) m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])]) m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])]) m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])]) m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])]) m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])]) m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])]) m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])]) m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])]) m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])]) m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])]) m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])]) m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])]) m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])]) m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])]) m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])]) m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])]) m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])]) m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])]) m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])]) m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])]) m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])]) m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])]) m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])]) m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])]) m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])]) m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])]) m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])]) m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])]) m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])]) m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])]) m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])]) m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])]) m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])]) m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])]) m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])]) m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])]) m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])]) m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])]) m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- # serial 12 (pkg-config-0.29.2) dnl Copyright © 2004 Scott James Remnant . dnl Copyright © 2012-2015 Dan Nicholson dnl dnl This program is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by dnl the Free Software Foundation; either version 2 of the License, or dnl (at your option) any later version. dnl dnl This program is distributed in the hope that it will be useful, but dnl WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU dnl General Public License for more details. dnl dnl You should have received a copy of the GNU General Public License dnl along with this program; if not, write to the Free Software dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA dnl 02111-1307, USA. dnl dnl As a special exception to the GNU General Public License, if you dnl distribute this file as part of a program that contains a dnl configuration script generated by Autoconf, you may include it under dnl the same distribution terms that you use for the rest of that dnl program. dnl PKG_PREREQ(MIN-VERSION) dnl ----------------------- dnl Since: 0.29 dnl dnl Verify that the version of the pkg-config macros are at least dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's dnl installed version of pkg-config, this checks the developer's version dnl of pkg.m4 when generating configure. dnl dnl To ensure that this macro is defined, also add: dnl m4_ifndef([PKG_PREREQ], dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])]) dnl dnl See the "Since" comment for each macro you use to see what version dnl of the macros you require. m4_defun([PKG_PREREQ], [m4_define([PKG_MACROS_VERSION], [0.29.2]) m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) ])dnl PKG_PREREQ dnl PKG_PROG_PKG_CONFIG([MIN-VERSION]) dnl ---------------------------------- dnl Since: 0.16 dnl dnl Search for the pkg-config tool and set the PKG_CONFIG variable to dnl first found in the path. Checks that the version of pkg-config found dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is dnl used since that's the first version where most current features of dnl pkg-config existed. AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi if test -n "$PKG_CONFIG"; then _pkg_min_version=m4_default([$1], [0.9.0]) AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) PKG_CONFIG="" fi fi[]dnl ])dnl PKG_PROG_PKG_CONFIG dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) dnl ------------------------------------------------------------------- dnl Since: 0.18 dnl dnl Check to see whether a particular set of modules exists. Similar to dnl PKG_CHECK_MODULES(), but does not set variables or print errors. dnl dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) dnl only at the first occurence in configure.ac, so if the first place dnl it's called might be skipped (such as if it is within an "if", you dnl have to call PKG_CHECK_EXISTS manually AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then m4_default([$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) dnl --------------------------------------------- dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting dnl pkg_failed based on the result. m4_define([_PKG_CONFIG], [if test -n "$$1"; then pkg_cv_[]$1="$$1" elif test -n "$PKG_CONFIG"; then PKG_CHECK_EXISTS([$3], [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes]) else pkg_failed=untried fi[]dnl ])dnl _PKG_CONFIG dnl _PKG_SHORT_ERRORS_SUPPORTED dnl --------------------------- dnl Internal check to see if pkg-config supports short errors. AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi[]dnl ])dnl _PKG_SHORT_ERRORS_SUPPORTED dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], dnl [ACTION-IF-NOT-FOUND]) dnl -------------------------------------------------------------- dnl Since: 0.4.0 dnl dnl Note that if there is a possibility the first call to dnl PKG_CHECK_MODULES might not happen, you should be sure to include an dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl pkg_failed=no AC_MSG_CHECKING([for $2]) _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) _PKG_CONFIG([$1][_LIBS], [libs], [$2]) m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS and $1[]_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.]) if test $pkg_failed = yes; then AC_MSG_RESULT([no]) _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` else $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD m4_default([$4], [AC_MSG_ERROR( [Package requirements ($2) were not met: $$1_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. _PKG_TEXT])[]dnl ]) elif test $pkg_failed = untried; then AC_MSG_RESULT([no]) m4_default([$4], [AC_MSG_FAILURE( [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. _PKG_TEXT To get pkg-config, see .])[]dnl ]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) $3 fi[]dnl ])dnl PKG_CHECK_MODULES dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], dnl [ACTION-IF-NOT-FOUND]) dnl --------------------------------------------------------------------- dnl Since: 0.29 dnl dnl Checks for existence of MODULES and gathers its build flags with dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags dnl and VARIABLE-PREFIX_LIBS from --libs. dnl dnl Note that if there is a possibility the first call to dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to dnl include an explicit call to PKG_PROG_PKG_CONFIG in your dnl configure.ac. AC_DEFUN([PKG_CHECK_MODULES_STATIC], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl _save_PKG_CONFIG=$PKG_CONFIG PKG_CONFIG="$PKG_CONFIG --static" PKG_CHECK_MODULES($@) PKG_CONFIG=$_save_PKG_CONFIG[]dnl ])dnl PKG_CHECK_MODULES_STATIC dnl PKG_INSTALLDIR([DIRECTORY]) dnl ------------------------- dnl Since: 0.27 dnl dnl Substitutes the variable pkgconfigdir as the location where a module dnl should install pkg-config .pc files. By default the directory is dnl $libdir/pkgconfig, but the default can be changed by passing dnl DIRECTORY. The user can override through the --with-pkgconfigdir dnl parameter. AC_DEFUN([PKG_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) m4_pushdef([pkg_description], [pkg-config installation directory @<:@]pkg_default[@:>@]) AC_ARG_WITH([pkgconfigdir], [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, [with_pkgconfigdir=]pkg_default) AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) m4_popdef([pkg_default]) m4_popdef([pkg_description]) ])dnl PKG_INSTALLDIR dnl PKG_NOARCH_INSTALLDIR([DIRECTORY]) dnl -------------------------------- dnl Since: 0.27 dnl dnl Substitutes the variable noarch_pkgconfigdir as the location where a dnl module should install arch-independent pkg-config .pc files. By dnl default the directory is $datadir/pkgconfig, but the default can be dnl changed by passing DIRECTORY. The user can override through the dnl --with-noarch-pkgconfigdir parameter. AC_DEFUN([PKG_NOARCH_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) m4_pushdef([pkg_description], [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) AC_ARG_WITH([noarch-pkgconfigdir], [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, [with_noarch_pkgconfigdir=]pkg_default) AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) m4_popdef([pkg_default]) m4_popdef([pkg_description]) ])dnl PKG_NOARCH_INSTALLDIR dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) dnl ------------------------------------------- dnl Since: 0.28 dnl dnl Retrieves the value of the pkg-config variable for the given module. AC_DEFUN([PKG_CHECK_VAR], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl _PKG_CONFIG([$1], [variable="][$3]["], [$2]) AS_VAR_COPY([$1], [pkg_cv_][$1]) AS_VAR_IF([$1], [""], [$5], [$4])dnl ])dnl PKG_CHECK_VAR # Copyright (C) 2002-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.15' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. m4_if([$1], [1.15.1], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) # _AM_AUTOCONF_VERSION(VERSION) # ----------------------------- # aclocal traces this macro to find the Autoconf version. # This is a private macro too. Using m4_define simplifies # the logic in aclocal, which can simply ignore this definition. m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.15.1])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to # '$srcdir', '$srcdir/..', or '$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is '.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl # Expand $ac_aux_dir to an absolute path. am_aux_dir=`cd "$ac_aux_dir" && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl _AM_SUBST_NOTMAKE([$1_FALSE])dnl m4_define([_AM_COND_VALUE_$1], [$2])dnl if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Copyright (C) 1999-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], [$1], [CXX], [depcc="$CXX" am_compiler_list=], [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], [$1], [UPC], [depcc="$UPC" am_compiler_list=], [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi am__universal=false m4_case([$1], [CC], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac], [CXX], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac]) for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES. AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl AS_HELP_STRING( [--enable-dependency-tracking], [do not reject slow dependency extractors]) AS_HELP_STRING( [--disable-dependency-tracking], [speeds up one-time build])]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH])dnl _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl AC_SUBST([am__nodep])dnl _AM_SUBST_NOTMAKE([am__nodep])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named 'Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running 'make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "$am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking # is enabled. FIXME. This creates each '.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC]) [_AM_PROG_CC_C_O ]) # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl # test to see if srcdir already configured if test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [AC_DIAGNOSE([obsolete], [$0: two- and three-arguments forms are deprecated.]) m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if( m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), [ok:ok],, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) AM_MISSING_PROG([AUTOCONF], [autoconf]) AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) AM_MISSING_PROG([AUTOHEADER], [autoheader]) AM_MISSING_PROG([MAKEINFO], [makeinfo]) AC_REQUIRE([AM_PROG_INSTALL_SH])dnl AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # AC_SUBST([mkdir_p], ['$(MKDIR_P)']) # We need awk for the "check" target (and possibly the TAP driver). The # system "awk" is bad on some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES([CC])], [m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES([CXX])], [m4_define([AC_PROG_CXX], m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES([OBJC])], [m4_define([AC_PROG_OBJC], m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], [_AM_DEPENDENCIES([OBJCXX])], [m4_define([AC_PROG_OBJCXX], m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl ]) AC_REQUIRE([AM_SILENT_RULES])dnl dnl The testsuite driver may need to know about EXEEXT, so add the dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. AC_CONFIG_COMMANDS_PRE(dnl [m4_provide_if([_AM_COMPILER_EXEEXT], [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile # recipes. So use an aggressive probe to check that the usage we want is # actually supported "in the wild" to an acceptable degree. # See automake bug#10828. # To make any issue more visible, cause the running configure to be aborted # by default if the 'rm' program in use doesn't match our expectations; the # user can still override this though. if rm -f && rm -fr && rm -rf; then : OK; else cat >&2 <<'END' Oops! Your 'rm' program seems unable to run without file operands specified on the command line, even when the '-f' option is present. This is contrary to the behaviour of most rm programs out there, and not conforming with the upcoming POSIX standard: Please tell bug-automake@gnu.org about your system, including the value of your $PATH and any error possibly output before this message. This can help us improve future automake versions. END if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then echo 'Configuration will proceed anyway, since you have set the' >&2 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 echo >&2 else cat >&2 <<'END' Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM to "yes", and re-run configure. END AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) fi fi dnl The trailing newline in this macro's definition is deliberate, for dnl backward compatibility and to allow trailing 'dnl'-style comments dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. ]) dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further dnl mangled by Autoconf and run in a shell conditional statement. m4_define([_AC_COMPILER_EXEEXT], m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi AC_SUBST([install_sh])]) # Copyright (C) 2003-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from 'make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it is modern enough. # If it is, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= AC_MSG_WARN(['missing' script is too old or missing]) fi ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # -------------------- # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) # _AM_SET_OPTIONS(OPTIONS) # ------------------------ # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Copyright (C) 1999-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_PROG_CC_C_O # --------------- # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC # to automatically call this. AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([compile])dnl AC_LANG_PUSH([C])dnl AC_CACHE_CHECK( [whether $CC understands -c and -o together], [am_cv_prog_cc_c_o], [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) # Make sure it works both with $CC and with simple cc. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i]) if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi AC_LANG_POP([C])]) # For backward compatibility. AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) # Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_RUN_LOG(COMMAND) # ------------------- # Run COMMAND, save the exit status in ac_status, and log it. # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD (exit $ac_status); }]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[[\\\"\#\$\&\'\`$am_lf]]*) AC_MSG_ERROR([unsafe absolute working directory name]);; esac case $srcdir in *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi if test "$[2]" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT([yes]) # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi AC_CONFIG_COMMANDS_PRE( [AC_MSG_CHECKING([that generated files are newer than configure]) if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi AC_MSG_RESULT([done])]) rm -f conftest.file ]) # Copyright (C) 2009-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_SILENT_RULES([DEFAULT]) # -------------------------- # Enable less verbose build rules; with the default set to DEFAULT # ("yes" being less verbose, "no" or empty being verbose). AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl AS_HELP_STRING( [--enable-silent-rules], [less verbose build output (undo: "make V=1")]) AS_HELP_STRING( [--disable-silent-rules], [verbose build output (undo: "make V=0")])dnl ]) case $enable_silent_rules in @%:@ ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; esac dnl dnl A few 'make' implementations (e.g., NonStop OS and NextStep) dnl do not support nested variable expansions. dnl See automake bug#9928 and bug#10237. am_make=${MAKE-make} AC_CACHE_CHECK([whether $am_make supports nested variables], [am_cv_make_support_nested_variables], [if AS_ECHO([['TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi]) if test $am_cv_make_support_nested_variables = yes; then dnl Using '$V' instead of '$(V)' breaks IRIX make. AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AC_SUBST([AM_V])dnl AM_SUBST_NOTMAKE([AM_V])dnl AC_SUBST([AM_DEFAULT_V])dnl AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl AC_SUBST([AM_DEFAULT_VERBOSITY])dnl AM_BACKSLASH='\' AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) # Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor 'install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in "make install-strip", and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Copyright (C) 2006-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_AM_SUBST_NOTMAKE]) # AM_SUBST_NOTMAKE(VARIABLE) # -------------------------- # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of 'v7', 'ustar', or 'pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar # AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AC_SUBST([AMTAR], ['$${TAR-tar}']) # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' m4_if([$1], [v7], [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], [m4_case([$1], [ustar], [# The POSIX 1988 'ustar' format is defined with fixed-size fields. # There is notably a 21 bits limit for the UID and the GID. In fact, # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 # and bug#13588). am_max_uid=2097151 # 2^21 - 1 am_max_gid=$am_max_uid # The $UID and $GID variables are not portable, so we need to resort # to the POSIX-mandated id(1) utility. Errors in the 'id' calls # below are definitely unexpected, so allow the users to see them # (that is, avoid stderr redirection). am_uid=`id -u || echo unknown` am_gid=`id -g || echo unknown` AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) if test $am_uid -le $am_max_uid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) if test $am_gid -le $am_max_gid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi], [pax], [], [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Go ahead even if we have the value already cached. We do so because we # need to set the values for the 'am__tar' and 'am__untar' variables. _am_tools=${am_cv_prog_tar_$1-$_am_tools} for _am_tool in $_am_tools; do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works. rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR drumgizmo-0.9.20/man/0000755000076400007640000000000014306421550011403 500000000000000drumgizmo-0.9.20/man/Makefile.in0000644000076400007640000003762714306421323013405 00000000000000# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = man ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } man1dir = $(mandir)/man1 am__installdirs = "$(DESTDIR)$(man1dir)" NROFF = nroff MANS = $(man_MANS) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALSA_CFLAGS = @ALSA_CFLAGS@ ALSA_LIBS = @ALSA_LIBS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEBUG_FLAGS = @DEBUG_FLAGS@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DL_CFLAGS = @DL_CFLAGS@ DL_LIBS = @DL_LIBS@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_STORE = @FLOAT_STORE@ GREP = @GREP@ GUI_CPPFLAGS = @GUI_CPPFLAGS@ GUI_LIBS = @GUI_LIBS@ INPUT_PLUGINS = @INPUT_PLUGINS@ INPUT_PLUGIN_DIR = @INPUT_PLUGIN_DIR@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ JACK_CFLAGS = @JACK_CFLAGS@ JACK_LIBS = @JACK_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ LV2DIR = @LV2DIR@ LV2_CFLAGS = @LV2_CFLAGS@ LV2_LIBS = @LV2_LIBS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJC = @OBJC@ OBJCDEPMODE = @OBJCDEPMODE@ OBJCFLAGS = @OBJCFLAGS@ OBJCXX = @OBJCXX@ OBJCXXDEPMODE = @OBJCXXDEPMODE@ OBJCXXFLAGS = @OBJCXXFLAGS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ OUTPUT_PLUGINS = @OUTPUT_PLUGINS@ OUTPUT_PLUGIN_DIR = @OUTPUT_PLUGIN_DIR@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SMF_CFLAGS = @SMF_CFLAGS@ SMF_LIBS = @SMF_LIBS@ SNDFILE_CFLAGS = @SNDFILE_CFLAGS@ SNDFILE_LIBS = @SNDFILE_LIBS@ SSEFLAGS = @SSEFLAGS@ STRIP = @STRIP@ VERSION = @VERSION@ VST_CPPFLAGS = @VST_CPPFLAGS@ VST_SOURCE_PATH = @VST_SOURCE_PATH@ X11_CFLAGS = @X11_CFLAGS@ X11_LIBS = @X11_LIBS@ XEXT_CFLAGS = @XEXT_CFLAGS@ XEXT_LIBS = @XEXT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ ac_ct_OBJC = @ac_ct_OBJC@ ac_ct_OBJCXX = @ac_ct_OBJCXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ dgplugindir = @dgplugindir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ man_MANS = \ drumgizmo.1 \ drumgizmo.fr.1 \ dgvalidator.1 \ dgvalidator.fr.1 EXTRA_DIST = $(man_MANS) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu man/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu man/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-man1: $(man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.1[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ done; } uninstall-man1: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(MANS) installdirs: for dir in "$(DESTDIR)$(man1dir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-man install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-man1 install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-man uninstall-man: uninstall-man1 .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-man1 install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am tags-am uninstall uninstall-am uninstall-man \ uninstall-man1 .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: drumgizmo-0.9.20/man/dgvalidator.10000644000076400007640000000261013756436707013726 00000000000000.TH "DGVALIDATOR" "1" "4 May 2020" "dgvalidator" "" .SH NAME dgvalidator \- drumgizmo drumkit validator .SH SYNOPSIS \fBdgvalidator\fR [\fIOPTIONS\fR] <\fIFILE\fR> .SH "DESCRIPTION" .PP \fBDgvalidator\fR is a simple validator tool for drumgizmo drumkit files. .PP Dgvalidator will try to load the drumkit pointed to by drumkitfile and validate it. It validates both the xml in the drumkit and all instrument files referred in it as well as the the semantics of the contents - including checking for the existence and validity of all audiofiles referred by the instruments. .SH "OPTIONS" .PD 0 .RE \fB-n, --no-audio\fR .RS 7 Skip checking audio file existence and samplerate. .RE \fB-v, --verbose\fR .RS 7 Print more info during validation. Can be added multiple times to increase output verbosity. .RE \fB-q, --quiet\fR .RS 7 Don't print any output, even on errors. .RE \fB-V, --version\fR .RS 7 Print version and exit. .RE \fB-h, --help\fR .RS 7 Print this message and exit. .RE \fB-D, --debug \fIDDD\fR .RS 7 Enable debug messages on \fIDDD\fR see hugin documentation for details. .RE \fBdrumkitfile\fR .RS 7 The drumkitfile to verify. .RE .SH "EXIT STATUS" Exit status is 0 if no error are found and 1 if validation fails. .RE .SH "BUGS" Report bugs to http://www.drumgizmo.org/wiki/doku.php?id=bugs. .SH "ADDITIONAL INFORMATION" For further information, visit the website http://www.drumgizmo.org. drumgizmo-0.9.20/man/drumgizmo.10000644000076400007640000001221014100601506013407 00000000000000.TH "DRUMGIZMO" "1" "21 July 2018" "drumgizmo" "" .SH NAME drumgizmo \- drum application .SH SYNOPSIS \fBdrumgizmo\fR [\fIOPTIONS\fR] <\fIFILE\fR> .SH "DESCRIPTION" .PP \fBDrumGizmo\fR is an open source cross-platform drum plugin and stand-alone application. It is comparable to several commercial drum plugin products. .PP DrumGizmo uses an open drumkit file format, allowing the community to create their own drumkits. It has multichannel output, making it possible to mix it just the way you would a real drumkit. The optional built-in humanizer analyzes the midi notes, adjusting velocities on-the-fly. This client can be a stand-alone midi renderer, generating .wav files, 1 for each channel. Or use DrumGizmo as a software sampler for an electronic drumkit. There are also plugin versions available. .SH "OPTIONS" .PD 0 .RE \fB-a, --async_load\fR .RS 7 Load kit in the background. .RE \fB-b, --bleed\fR .RS 7 Set and enable master bleed. .RE \fB-i, --inputengine \fR{dummy|test|jackmidi|midifile} .RS 7 Use said event input engine. .RE \fB-I, --inputparms parmlist\fR .RS 7 Set input engine parameters. \fBjackmidi:\fR .P midimap= \fBmidifile:\fR .P file= .P speed= (default 1.0) .P track= (default -1, all tracks) .P midimap= .P loop= \fBossmidi:\fR .P midimap= .P dev= (default '/dev/midi') \fBtest:\fR .P p= (default 0.1) .P instr= (default -1, random instrument) .P len= (default -1, forever) \fBdummy:\fR .RE \fB-o, --outputengine \fR{dummy|alsa|jackaudio|wavfile|oss} .RS 7 Use said audio output engine. .RE \fB-O, --outputparms parmlist\fR .RS 7 Set output engine parameters. \fBalsa:\fR .P dev= (default 'default') .P frames= (default 32) .P srate= (default 44100) \fBwavfile:\fR .P file= (default 'output') .P srate= (default 44100) \fBoss:\fR .P dev= (default /dev/dsp) .P srate= (default 44100) .P max_fragments= (default 4) .P fragment_size= (default 8) .P More info on \fBmax_fragments\fR and \fBfragment_size\fR on http://manuals.opensound.com/developer/SNDCTL_DSP_SETFRAGMENT.html \fBjackaudio:\fR \fBdummy:\fR .RE \fB-e, --endpos\fR .RS 7 Number of samples to process, (default -1: infinite) .RE \fB-r, --no-resampling\fR .RS 7 Disable resampling .RE \fB-s, --streaming\fR .RS 7 Enable diskstreaming .RE \fB-S, --strimingparms parmlist\fR .RS 7 Parameters for controlling the streaming buffers. .P \fBlimit\fR= (Limit the amount of preloaded drumkit data to the size) \" .P \" \fBchunk_size\fR= (chunk size in k,M,G) .RE \fB-t, --timing-humanizer\fR .RS 7 Enable moving of notes in time. .P \fINote: \fIadds \fIlatency \fIto \fIthe \fIoutput \fIso \fIdo \fInot \fIuse \fIthis \fIwith \fIa \fIreal-time \fImidi \fIdrumkit. .RE \fB-T, --timing-humanizerparms parmlist\fR .RS 7 Timing humanizer options. .P \fBlaidback\fR= (Move notes ahead or behind in time in ms [+/-100].) .P \fBtightness\fR= (Control the tightness of the drummer. [0,1].) .P \fBregain\fR= (Control how fast the drummer catches up the timing. [0,1]) .RE \fB-t, --velocity-humanizer\fR .RS 7 Enables adapting input velocities to make it sound more realistic. .RE \fB-T, --velocity-humanizerparms parmlist\fR .RS 7 Velocity humanizer options. .P \fBattack\fR= (How quickly the velocity gets reduced when playing fast notes. Lower values result in faster velocity reduction. [0,1]) .P \fBrelease\fR= (How quickly the drummer regains the velocity when there are spaces between the notes. Lower values result in faster regain. [0,1]) .P \fBstddev\fR= (The standard-deviation for the velocity humanizer. Higher value makes it more likely that a sample further away from the input velocity will be played. [0,4.5]) .RE \fB-l, --voice-limit\fR .RS 7 Enable voice limit. .RE \fB-L, --voice-limitparms parmlist\fR .RS 7 Voice limit options. .P \fBmax\fR= (Maximum number of voices for each instrument before old samples are ramped down. [1,30]) .P \fBrampdown\fR= (Time it takes for an old sample to completely fall silent. [0.01,2.0]) .RE \fB-p, --parameters parmlist\fR .RS 7 Parameters for the sample selection algorithm. .P \fBclose\fR= (The importance given to choosing a sample close to the actual velocity value (after humanization) [0,1]) .P \fBdiverse\fR= (The importance given to choosing samples which haven't been played recently [0,1]) .P \fBrandom\fR= (The amount of randomness added [0,1]) .RE \fB-v, --version\fR .RS 7 Print drumgizmo version and exit. .RE \fB-h, --help\fR .RS 7 Print command line help and exit. .RE \fBdrumkitfile\fR .RS 7 Load the drumkitfile. .RE .SH "EXAMPLES" \fBRender midifile to wav files:\fR .RS 7 drumgizmo -i midifile -I file=file.mid,midimap=midimap.xml -o wavfile -O file=prefix drumkit.xml .RE \fBReceive midi from Jack and send audio output to speakers:\fR .RS 7 drumgizmo -i jackmidi -I midimap=midimap.xml -o jackaudio drumkit.xml .RE .SH "BUGS" Report bugs to http://www.drumgizmo.org/wiki/doku.php?id=bugs. .SH "ADDITIONAL INFORMATION" For further information, visit the website http://www.drumgizmo.org. drumgizmo-0.9.20/man/drumgizmo.fr.10000644000076400007640000001435714275473130014050 00000000000000.TH "DRUMGIZMO" "1" "21 juillet 2018" "drumgizmo" "" .SH NOM drumgizmo \- application de batterie .SH SYNOPSIS \fBdrumgizmo\fR [\fIOPTIONS\fR] <\fIFICHIER\fR> .SH "DESCRIPTION" .PP \fBDrumGizmo\fR est un greffon ainsi qu'une application autonome de batterie multi-plateforme et à source ouverte. Il est comparable à plusieurs produits commerciaux de greffon de batterie. .PP DrumGizmo utilise un format de fichier de kit de batterie ouvert, permettant à la communauté de créer ses propres kits de batterie. Il possède une sortie multi-canaux, rendant possible de mixer exactement de même la manière que vous le feriez avec un kit de batterie réel. L'humaniseur optionnel inclu analyse les notes MIDI, en ajustant leurs vélocités à-la-volée. Ce client peut être utilisé comme un logiciel autonome effectuant un rendu MIDI, générant des fichiers .wav, 1 pour chaque canal. Ou bien, vous pouvez utilisez DrumGizmo comme un échantillonneur logiciel pour un kit de batterie électronique. Des versions en greffon sont également disponibles. .SH "OPTIONS" .PD 0 .RE \fB-a, --async_load\fR .RS 7 Charger le kit en arrière-plan. .RE \fB-b, --bleed\fR .RS 7 Paramètre et charge la repisse-maître. .RE \fB-i, --inputengine \fR{dummy|test|jackmidi|midifile} .RS 7 Utilise le moteur d'entrée d'évènements indiqué. .RE \fB-I, --inputparms liste_de_paramètres\fR .RS 7 Attribue des paramètres au moteur d'entrée. \fBjackmidi:\fR .P midimap= \fBmidifile:\fR .P file= .P speed= (1.0 par défaut) .P track= (-1 par défaut, toutes les pistes) .P midimap= .P loop= \fBossmidi:\fR .P midimap= .P dev= (défaut '/dev/midi') \fBtest:\fR .P p= (0.1 par défaut) .P instr= (-1 par défaut, instrument aléatoire) .P len= (-1 par défaut, toujours) \fBdummy:\fR .RE \fB-o, --outputengine \fR{dummy|alsa|jackaudio|wavfile|oss} .RS 7 Utilise le moteur de sortie audio indiqué. .RE \fB-O, --outputparms liste_de_paramètres\fR .RS 7 Attribue des paramètres au moteur de sortie. \fBalsa:\fR .P dev= ('default' par défaut) .P frames= (32 par défaut) .P srate= (44100 par défaut) \fBwavfile:\fR .P file= ('output' par défaut) .P srate= (44100 par défaut) \fBoss:\fR .P dev= (/dev/dsp par défaut) .P srate= (44100 par défaut) .P max_fragments= (4 par défaut) .P fragment_size= (8 par défaut) .P Davantage d'informations sur \fBmax_fragments\fR et \fBfragment_size\fR sur la page http://manuals.opensound.com/developer/SNDCTL_DSP_SETFRAGMENT.html (en anglais) \fBjackaudio:\fR \fBdummy:\fR .RE \fB-e, --endpos\fR .RS 7 Nombre d'échantillons à traiter, (-1 par défaut : infini) .RE \fB-r, --no-resampling\fR .RS 7 Désactiver le ré-échantillonnage .RE \fB-s, --streaming\fR .RS 7 Active le streaming du disque .RE \fB-S, --strimingparms liste_de_paramètres\fR .RS 7 Paramètres pour le contrôle des tampons de streaming. .P \fBlimit\fR= (Limite à cette taille, la quantité de données du kit de batterie préchargées) \" .P \" \fBchunk_size\fR= (taille de la quantité en k,M,G) .RE \fB-t, --timing-humanizer\fR .RS 7 Active la possibilité de déplacer les notes dans le temps. .P \fINote : \fIajoute \fIde \fIla \fIlatence \fIdans \fIla \fIsortie - \fIne \fIpas \fIutiliser \fIavec \fIun \fIkit \fImidi \fItemps-réel. .RE \fB-T, --timing-humanizerparms parmlist\fR .RS 7 Options du timing de l'humaniseur. .P \fBlaidback\fR= (Déplace les notes avant ou après le temps en ms [+/-100].) .P \fBtightness\fR= (Contrôle la précision du batteur. [0; 1].) .P \fBregain\fR= (Contrôle la rapidité avec laquelle le batteur se rattrape au tempo. [0; 1]) .RE \fB-t, --velocity-humanizer\fR .RS 7 Permet d'adapter les vitesses d'entrée pour obtenir un son plus réaliste. .RE \fB-T, --velocity-humanizerparms parmlist\fR .RS 7 Options de l'humaniseur de vélocité. .P \fBattack\fR= (La vitesse à laquelle la vélocité est réduite lorsque vous jouez des notes rapides. Des valeurs plus faibles entraînent une réduction plus rapide de la vitesse. [0,1]) .P \fBrelease\fR= (La vitesse à laquelle le batteur retrouve la vélocité lorsqu'il y a des espaces entre les notes. Des valeurs plus faibles entraînent une reprise plus rapide. [0,1]) .P \fBstddev\fR= (L'écart-type pour l'humaniseur de vitesse. Une valeur plus élevée rend plus probable qu'un échantillon plus éloigné de la vélocité d'entrée soit joué. [0,4.5]) .RE \fB-l, --voice-limit\fR .RS 7 Activer la limite vocale. .RE \fB-L, --voice-limitparms parmlist\fR .RS 7 Options de limite de voix. .P \fBmax\fR= (Nombre maximum de voix pour chaque instrument avant que les anciens échantillons ne soient réduits. [1,30]) .P \fBrampdown\fR= (Temps qu'il faut à un ancien échantillon pour devenir complètement silencieux. [0.01,2.0]) .RE \fB-p, --parameters parmlist\fR .RS 7 Paramètres de l'algorithme de sélection des échantillons. .P \fBclose\fR= (L'importance accordée au choix d'un échantillon proche de la valeur réelle de la vitesse (après humanisation) [0,1]) .P \fBdiverse\fR= (L'importance accordée au choix d'échantillons qui n'ont pas été joués récemment [0,1]) .P \fBrandom\fR= (La quantité d'aléatoire ajoutée [0,1]) .RE \fB-v, --version\fR .RS 7 Affiche la version de drumgizmo puis quitte. .RE \fB-h, --help\fR .RS 7 Affiche l'aide de commande terminal puis quitte. .RE \fBfichier_de_kit_de_batterie\fR .RS 7 Charge le fichier_de_kit_de_batterie. .RE .SH "EXEMPLES" \fBEffectuer un rendu d'un fichier_midi vers des fichiers wav :\fR .RS 7 drumgizmo -i fichier_midi -I file=fichier.mid,midimap=midimap.xml -o wavfile -O file=prefix drumkit.xml .RE \fBRecevoir le MIDI depuis Jack et envoyer la sortie audio vers les haut-parleurs :\fR .RS 7 drumgizmo -i jackmidi -I midimap=midimap.xml -o jackaudio drumkit.xml .RE .SH "BOGUES" Rapporter les bogues à http://www.drumgizmo.org/wiki/doku.php?id=bugs (en anglais). .SH "INFORMATIONS ADDITIONELLES" Pour davantage d'informations, visitez le site internet http://www.drumgizmo.org. drumgizmo-0.9.20/man/Makefile.am0000644000076400007640000000015313653301170013355 00000000000000man_MANS = \ drumgizmo.1 \ drumgizmo.fr.1 \ dgvalidator.1 \ dgvalidator.fr.1 EXTRA_DIST = $(man_MANS) drumgizmo-0.9.20/man/dgvalidator.fr.10000644000076400007640000000356613756436707014347 00000000000000.TH "DGVALIDATOR" "1" "4 mai 2019" "dgvalidator" "" .SH NOM dgvalidator \- validateur de kit de batterie drumgizmo .SH SYNOPSIS \fBdgvalidator\fR [\fIOPTIONS\fR] <\fIFICHIER\fR> .SH "DESCRIPTION" .PP \fBDgvalidator\fR est un outil de validation simple pour les fichiers de kit de batterie drumgizmo. .PP Dgvalidator va essayer de charger le kit de batterue pointé par le fichier de kit batterie et de le valider. Il valide à la fois le xml du kit de batterie et tous les fichiers d'instruments qui y sont référencés, ainsi que la sémantique du contenu - y compris la vérification de l'existence et de la validité de tous les fichiers audio référencés par ces instruments. .SH "OPTIONS" .PD 0 .RE \fB-n, --no-audio\fR .RS 7 Ne pas vérifier l'existence des fichiers audio et de la fréquence d'échantillonnage. .RE \fB-v, --verbose\fR .RS 7 Imprimer plus d'informations lors de la validation. Peut être ajouté plusieurs fois pour augmenter la verbosité de sortie. .RE \fB-q, --quiet\fR .RS 7 N'afficher aucune sortie, même sur les erreurs. .RE \fB-V, --version\fR .RS 7 Afficher ce message et quitter. .RE \fB-D, --debug \fIDDD\fR .RS 7 Activer les messages de débogage sur \fIDDD\fR voir la documentation hugin pour plus de détails. .RE \fB-h, --help\fR .RS 7 Imprimer l'aide en ligne de commande et quitter. .RE \fBfichier_de_kit_de_batterie\fR .RS 7 Le fichier de kit de batterie à vérifier. .RE .SH "STATUT DE SORTIE" L'état de sortie est 0 si aucune erreur n'est trouvée et 1 si la validation échoue. .RE .SH "BOGUES" Signaler les bogues http://www.drumgizmo.org/wiki/doku.php?id=bugs. .SH "INFORMATIONS COMPLÉMENTAIRES" Pour plus d'informations, visitez le site http://www.drumgizmo.org. .PP Cette page de manuel en français a été traduite par Olivier HUMBERT .B , dans le cadre du projet LibraZiK (mais peut être utilisée par d'autres). drumgizmo-0.9.20/missing0000755000076400007640000001533114116162201012144 00000000000000#! /bin/sh # Common wrapper for a few potentially missing GNU programs. scriptversion=2016-01-11.22; # UTC # Copyright (C) 1996-2017 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try '$0 --help' for more information" exit 1 fi case $1 in --is-lightweight) # Used by our autoconf macros to check whether the available missing # script is modern enough. exit 0 ;; --run) # Back-compat with the calling convention used by older automake. shift ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due to PROGRAM being missing or too old. Options: -h, --help display this help and exit -v, --version output version information and exit Supported PROGRAM values: aclocal autoconf autoheader autom4te automake makeinfo bison yacc flex lex help2man Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and 'g' are ignored when checking the name. Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: unknown '$1' option" echo 1>&2 "Try '$0 --help' for more information" exit 1 ;; esac # Run the given program, remember its exit status. "$@"; st=$? # If it succeeded, we are done. test $st -eq 0 && exit 0 # Also exit now if we it failed (or wasn't found), and '--version' was # passed; such an option is passed most likely to detect whether the # program is present and works. case $2 in --version|--help) exit $st;; esac # Exit code 63 means version mismatch. This often happens when the user # tries to use an ancient version of a tool on a file that requires a # minimum version. if test $st -eq 63; then msg="probably too old" elif test $st -eq 127; then # Program was missing. msg="missing on your system" else # Program was found and executed, but failed. Give up. exit $st fi perl_URL=http://www.perl.org/ flex_URL=http://flex.sourceforge.net/ gnu_software_URL=http://www.gnu.org/software program_details () { case $1 in aclocal|automake) echo "The '$1' program is part of the GNU Automake package:" echo "<$gnu_software_URL/automake>" echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/autoconf>" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; autoconf|autom4te|autoheader) echo "The '$1' program is part of the GNU Autoconf package:" echo "<$gnu_software_URL/autoconf/>" echo "It also requires GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; esac } give_advice () { # Normalize program name to check for. normalized_program=`echo "$1" | sed ' s/^gnu-//; t s/^gnu//; t s/^g//; t'` printf '%s\n' "'$1' is $msg." configure_deps="'configure.ac' or m4 files included by 'configure.ac'" case $normalized_program in autoconf*) echo "You should only need it if you modified 'configure.ac'," echo "or m4 files included by it." program_details 'autoconf' ;; autoheader*) echo "You should only need it if you modified 'acconfig.h' or" echo "$configure_deps." program_details 'autoheader' ;; automake*) echo "You should only need it if you modified 'Makefile.am' or" echo "$configure_deps." program_details 'automake' ;; aclocal*) echo "You should only need it if you modified 'acinclude.m4' or" echo "$configure_deps." program_details 'aclocal' ;; autom4te*) echo "You might have modified some maintainer files that require" echo "the 'autom4te' program to be rebuilt." program_details 'autom4te' ;; bison*|yacc*) echo "You should only need it if you modified a '.y' file." echo "You may want to install the GNU Bison package:" echo "<$gnu_software_URL/bison/>" ;; lex*|flex*) echo "You should only need it if you modified a '.l' file." echo "You may want to install the Fast Lexical Analyzer package:" echo "<$flex_URL>" ;; help2man*) echo "You should only need it if you modified a dependency" \ "of a man page." echo "You may want to install the GNU Help2man package:" echo "<$gnu_software_URL/help2man/>" ;; makeinfo*) echo "You should only need it if you modified a '.texi' file, or" echo "any other file indirectly affecting the aspect of the manual." echo "You might want to install the Texinfo package:" echo "<$gnu_software_URL/texinfo/>" echo "The spurious makeinfo call might also be the consequence of" echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" echo "want to install GNU make:" echo "<$gnu_software_URL/make/>" ;; *) echo "You might have modified some files without having the proper" echo "tools for further handling them. Check the 'README' file, it" echo "often tells you about the needed prerequisites for installing" echo "this package. You may also peek at any GNU archive site, in" echo "case some other package contains this missing '$1' program." ;; esac } give_advice "$1" | sed -e '1s/^/WARNING: /' \ -e '2,$s/^/ /' >&2 # Propagate the correct exit status (expected to be 127 for a program # not found, 63 for a program that failed due to version mismatch). exit $st # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: drumgizmo-0.9.20/plugingui/0000755000076400007640000000000014306421550012633 500000000000000drumgizmo-0.9.20/plugingui/sampleselectionframecontent.cc0000644000076400007640000000762113774323733020701 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * sampleselectionframecontent.cc * * Sat May 11 15:29:25 CEST 2019 * Copyright 2019 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "sampleselectionframecontent.h" #include #include namespace GUI { SampleselectionframeContent::SampleselectionframeContent(dggui::Widget* parent, Settings& settings, SettingsNotifier& settings_notifier) : dggui::Widget(parent) , settings(settings) , settings_notifier(settings_notifier) { layout.setResizeChildren(false); f_close.resize(80, 80); f_close_knob.resize(30, 30); f_close_knob.showValue(false); f_close_knob.setDefaultValue(Settings::sample_selection_f_close_default); f_close.setControl(&f_close_knob); layout.addItem(&f_close); f_diverse.resize(80, 80); f_diverse_knob.resize(30, 30); f_diverse_knob.showValue(false); f_diverse_knob.setDefaultValue(Settings::sample_selection_f_diverse_default); f_diverse.setControl(&f_diverse_knob); layout.addItem(&f_diverse); f_random.resize(80, 80); f_random_knob.resize(30, 30); f_random_knob.showValue(false); f_random_knob.setDefaultValue(Settings::sample_selection_f_random_default); f_random.setControl(&f_random_knob); layout.addItem(&f_random); layout.setPosition(&f_close, dggui::GridLayout::GridRange{0, 1, 0, 1}); layout.setPosition(&f_diverse, dggui::GridLayout::GridRange{1, 2, 0, 1}); layout.setPosition(&f_random, dggui::GridLayout::GridRange{2, 3, 0, 1}); CONNECT(this, settings_notifier.sample_selection_f_close, this, &SampleselectionframeContent::fCloseSettingsValueChanged); CONNECT(this, settings_notifier.sample_selection_f_diverse, this, &SampleselectionframeContent::fDiverseSettingsValueChanged); CONNECT(this, settings_notifier.sample_selection_f_random, this, &SampleselectionframeContent::fRandomSettingsValueChanged); CONNECT(&f_close_knob, valueChangedNotifier, this, &SampleselectionframeContent::fCloseKnobValueChanged); CONNECT(&f_diverse_knob, valueChangedNotifier, this, &SampleselectionframeContent::fDiverseKnobValueChanged); CONNECT(&f_random_knob, valueChangedNotifier, this, &SampleselectionframeContent::fRandomKnobValueChanged); } void SampleselectionframeContent::fCloseKnobValueChanged(float value) { settings.sample_selection_f_close.store(value); } void SampleselectionframeContent::fDiverseKnobValueChanged(float value) { settings.sample_selection_f_diverse.store(value); } void SampleselectionframeContent::fRandomKnobValueChanged(float value) { settings.sample_selection_f_random.store(value); } void SampleselectionframeContent::fCloseSettingsValueChanged(float value) { f_close_knob.setValue(value); } void SampleselectionframeContent::fDiverseSettingsValueChanged(float value) { f_diverse_knob.setValue(value); } void SampleselectionframeContent::fRandomSettingsValueChanged(float value) { f_random_knob.setValue(value); } } // GUI:: drumgizmo-0.9.20/plugingui/statusframecontent.cc0000644000076400007640000001130214100601506017001 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * statusframecontent.cc * * Fri Mar 24 21:49:50 CET 2017 * Copyright 2017 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "statusframecontent.h" #include namespace GUI { StatusframeContent::StatusframeContent(dggui::Widget* parent, SettingsNotifier& settings_notifier) : dggui::Widget(parent) , settings_notifier(settings_notifier) { CONNECT(this, settings_notifier.drumkit_load_status, this, &StatusframeContent::updateDrumkitLoadStatus); CONNECT(this, settings_notifier.drumkit_name, this, &StatusframeContent::updateDrumkitName); CONNECT(this, settings_notifier.drumkit_description, this, &StatusframeContent::updateDrumkitDescription); CONNECT(this, settings_notifier.drumkit_version, this, &StatusframeContent::updateDrumkitVersion); CONNECT(this, settings_notifier.midimap_load_status, this, &StatusframeContent::updateMidimapLoadStatus); CONNECT(this, settings_notifier.buffer_size, this, &StatusframeContent::updateBufferSize); CONNECT(this, settings_notifier.number_of_underruns, this, &StatusframeContent::updateNumberOfUnderruns); CONNECT(this, settings_notifier.load_status_text, this, &StatusframeContent::loadStatusTextChanged); text_field.move(0, 0); text_field.setReadOnly(true); updateContent(); text_field.show(); } void StatusframeContent::resize(std::size_t width, std::size_t height) { dggui::Widget::resize(width, height); text_field.resize(width, height); } void StatusframeContent::updateContent() { text_field.setText( _("Drumkit status: ") + drumkit_load_status + "\n" + // _("Midimap status: ") + midimap_load_status + "\n" + _("Drumkit name: ") + drumkit_name + "\n" + _("Drumkit description: ") + drumkit_description + "\n" + // _("Drumkit version: ") + drumkit_version + "\n" + _("Session buffer size: ") + buffer_size + "\n" + _("Number of underruns: ") + number_of_underruns + "\n" + _("Messages:\n") + messages ); } void StatusframeContent::updateDrumkitLoadStatus(LoadStatus load_status) { switch(load_status) { case LoadStatus::Idle: drumkit_load_status = _("No Kit Loaded"); break; case LoadStatus::Parsing: case LoadStatus::Loading: drumkit_load_status = _("Loading..."); break; case LoadStatus::Done: drumkit_load_status = _("Ready"); break; case LoadStatus::Error: drumkit_load_status = _("Error"); break; } updateContent(); } void StatusframeContent::updateDrumkitName(const std::string& drumkit_name) { this->drumkit_name = drumkit_name; updateContent(); } void StatusframeContent::updateDrumkitDescription(const std::string& drumkit_description) { this->drumkit_description = drumkit_description; updateContent(); } void StatusframeContent::updateDrumkitVersion(const std::string& drumkit_version) { this->drumkit_version = drumkit_version; updateContent(); } void StatusframeContent::updateMidimapLoadStatus(LoadStatus load_status) { switch(load_status) { case LoadStatus::Idle: midimap_load_status = _("No Midimap Loaded"); break; case LoadStatus::Parsing: case LoadStatus::Loading: midimap_load_status = _("Loading..."); break; case LoadStatus::Done: midimap_load_status = _("Ready"); break; case LoadStatus::Error: midimap_load_status = _("Error"); break; } updateContent(); } void StatusframeContent::updateBufferSize(std::size_t buffer_size) { this->buffer_size = std::to_string(buffer_size); updateContent(); } void StatusframeContent::updateNumberOfUnderruns(std::size_t number_of_underruns) { this->number_of_underruns = std::to_string(number_of_underruns); updateContent(); } void StatusframeContent::loadStatusTextChanged(const std::string& text) { messages = text; updateContent(); } } // GUI:: drumgizmo-0.9.20/plugingui/abouttab.h0000644000076400007640000000272513774323733014547 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * abouttab.h * * Fri Apr 21 18:51:13 CEST 2017 * Copyright 2017 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include namespace GUI { class AboutTab : public dggui::Widget { public: AboutTab(dggui::Widget* parent); // From Widget: void resize(std::size_t width, std::size_t height) override; private: std::string getAboutText(); dggui::TextEdit text_edit{this}; int margin{10}; }; } // GUI:: drumgizmo-0.9.20/plugingui/voicelimitframecontent.cc0000644000076400007640000000730413774323733017654 00000000000000/*************************************************************************** * voicelimitframecontent.cc * * Wed Aug 26 14:53:03 CEST 2020 * Copyright 2020 The Marlboro Man * marlborometal@gmail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "voicelimitframecontent.h" #include namespace GUI { VoiceLimitFrameContent::VoiceLimitFrameContent(dggui::Widget* parent, Settings& settings, SettingsNotifier& settings_notifier) : dggui::Widget(parent) , settings(settings) , settings_notifier(settings_notifier) { //Setup frame. label_text.setText(_("Per-instrument voice limit:")); label_text.setAlignment(dggui::TextAlignment::center); //Setup layout layout.setResizeChildren(false); auto setup_control = [](dggui::Knob& knob, LabeledControl& label, dggui::GridLayout& layout, const dggui::GridLayout::GridRange& gridrange, float min, float max, float defaultval) { knob.resize(30, 30); knob.showValue(false); knob.setDefaultValue(defaultval); knob.setRange(min, max); label.resize(80, 80); label.setControl(&knob); layout.addItem(&label); layout.setPosition(&label, gridrange); }; setup_control(knob_max_voices, lc_max_voices, layout, {0, 1, 0, 1}, 1.0f, 30.0f, Settings::voice_limit_max_default); setup_control(knob_rampdown_time, lc_rampdown_time, layout, {1, 2, 0, 1}, 0.01f, 2.0f, Settings::voice_limit_rampdown_default); auto voices_transform = [this](double new_value, double scale, double offset) -> std::string { new_value *= scale; new_value += offset; return std::to_string(convertMaxVoices(new_value)); }; lc_max_voices.setValueTransformationFunction(voices_transform); //GUI to settings. CONNECT(&knob_max_voices, valueChangedNotifier, this, &VoiceLimitFrameContent::maxvoicesKnobValueChanged); CONNECT(&knob_rampdown_time, valueChangedNotifier, this, &VoiceLimitFrameContent::rampdownKnobValueChanged); //Settings to GUI CONNECT(this, settings_notifier.voice_limit_max, this, &VoiceLimitFrameContent::maxvoicesSettingsValueChanged); CONNECT(this, settings_notifier.voice_limit_rampdown, this, &VoiceLimitFrameContent::rampdownSettingsValueChanged); } void VoiceLimitFrameContent::maxvoicesKnobValueChanged(float value) { settings.voice_limit_max.store((int)value); } void VoiceLimitFrameContent::rampdownKnobValueChanged(float value) { settings.voice_limit_rampdown.store(value); } void VoiceLimitFrameContent::maxvoicesSettingsValueChanged(float value) { knob_max_voices.setValue(convertMaxVoices(value)); } void VoiceLimitFrameContent::rampdownSettingsValueChanged(float value) { knob_rampdown_time.setValue(value); } std::size_t VoiceLimitFrameContent::convertMaxVoices(float value) { return static_cast(value); } } drumgizmo-0.9.20/plugingui/diskstreamingframecontent.cc0000644000076400007640000000764413774323733020363 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * diskstreamingframecontent.cc * * Fri Mar 24 21:50:07 CET 2017 * Copyright 2017 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "diskstreamingframecontent.h" #include #include #include namespace GUI { DiskstreamingframeContent::DiskstreamingframeContent(dggui::Widget* parent, Settings& settings, SettingsNotifier& settings_notifier) : dggui::Widget(parent) , slider_width{250} , settings(settings) , settings_notifier(settings_notifier) { label_text.setText(_("Cache limit (max memory usage):")); label_text.setAlignment(dggui::TextAlignment::center); button.setText(_("Apply")); button.setEnabled(false); label_value.setText(_("0 MB")); label_value.setAlignment(dggui::TextAlignment::center); CONNECT(this, settings_notifier.disk_cache_upper_limit, this, &DiskstreamingframeContent::limitSettingsValueChanged); CONNECT(&slider, valueChangedNotifier, this, &DiskstreamingframeContent::limitValueChanged); CONNECT(&button, clickNotifier, this, &DiskstreamingframeContent::reloadClicked); CONNECT(this, settings_notifier.reload_counter, this, &DiskstreamingframeContent::reloaded); // TODO: // CONNECT(this, settings_notifier.disk_cache_chunk_size, // this, &DGWindow::chunkSettingsValueChanged); // CONNECT(this, settings_notifier.number_of_underruns, // this, &DGWindow::underrunsChanged); } void DiskstreamingframeContent::resize(std::size_t width, std::size_t height) { dggui::Widget::resize(width, height); int slider_button_gap = 10; slider_width = 0.8 * width; button_width = std::max((int)width - slider_width - slider_button_gap, 0); label_text.move(0, 0); slider.move(0, 20); button.move(slider_width + slider_button_gap, 10); label_value.move(0, 40); label_text.resize(slider_width, 15); slider.resize(slider_width, 15); button.resize(button_width, 30); label_value.resize(slider_width, 15); button.setEnabled(false); } void DiskstreamingframeContent::limitSettingsValueChanged(std::size_t value) { float new_slider_value = (float)(value - min_limit)/(max_limit - min_limit); slider.setValue(new_slider_value); if(new_slider_value < 0.99) { int value_in_mb = value/(1024 * 1024); label_value.setText(std::to_string(value_in_mb) + " MB"); slider.setColour(dggui::Slider::Colour::Blue); } else { label_value.setText(_("Unlimited")); slider.setColour(dggui::Slider::Colour::Grey); } button.setEnabled(true); } void DiskstreamingframeContent::limitValueChanged(float value) { std::size_t new_limit = value < 0.99 ? value * (max_limit - min_limit) + min_limit : std::numeric_limits::max(); settings.disk_cache_upper_limit.store(new_limit); } void DiskstreamingframeContent::reloadClicked() { settings.reload_counter++; } void DiskstreamingframeContent::reloaded(std::size_t) { button.setEnabled(false); } } // GUI:: drumgizmo-0.9.20/plugingui/testmain.cc0000644000076400007640000000444013774323733014724 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * testmain.cc * * Sun Nov 22 20:06:42 CET 2015 * Copyright 2015 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include #include #include #include #include #include #include #include #include "mainwindow.h" int main() { #ifdef WITH_NLS dggui::UITranslation translation; #endif // WITH_NLS INFO(example, "We are up and running"); void* native_window_handle{nullptr}; #ifndef UI_PUGL dggui::Window parent{nullptr}; parent.setCaption("PluginGui Test Application"); native_window_handle = parent.getNativeWindowHandle(); #endif Settings settings; GUI::MainWindow main_window(settings, native_window_handle); #ifndef UI_PUGL CONNECT(&parent, eventHandler()->closeNotifier, &main_window, &GUI::MainWindow::closeEventHandler); parent.show(); #endif main_window.show(); #ifndef UI_PUGL parent.resize(GUI::MainWindow::main_width, GUI::MainWindow::main_height); #else main_window.resize(GUI::MainWindow::main_width, GUI::MainWindow::main_height); #endif while(true) { #ifndef UI_PUGL parent.eventHandler()->processEvents(); #endif if(!main_window.processEvents()) { break; } std::this_thread::sleep_for(std::chrono::milliseconds(50)); } return 0; } drumgizmo-0.9.20/plugingui/timingframecontent.h0000644000076400007640000000474113774323733016643 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * timingframecontent.h * * Sat Oct 14 19:39:33 CEST 2017 * Copyright 2017 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include #include "labeledcontrol.h" #include #include #include #include class SettingsNotifier; namespace GUI { class TimingframeContent : public dggui::Widget { public: TimingframeContent(dggui::Widget* parent, Settings& settings, SettingsNotifier& settings_notifier); private: float thightnessKnobToSettings(float value) const; float tightnessSettingsToKnob(float value) const; float laidbackKnobToSettings(float value) const; float laidbackSettingsToKnob(float value) const; void tightnessKnobValueChanged(float value); void tightnessSettingsValueChanged(float value); void regainKnobValueChanged(float value); void regainSettingsValueChanged(float value); void laidbackKnobValueChanged(float value); void laidbackSettingsValueChanged(float value); void latencyOffsetChanged(int offset); void velocityOffsetChanged(float offset); dggui::GridLayout layout{this, 3, 1}; LabeledControl tightness{this, _("pTightness")}; LabeledControl regain{this, _("pTimingRegain")}; LabeledControl laidback{this, _("pLaidback")}; dggui::Knob tightness_knob{&tightness}; dggui::Knob regain_knob{®ain}; dggui::Knob laidback_knob{&laidback}; Settings& settings; SettingsNotifier& settings_notifier; }; } // GUI:: drumgizmo-0.9.20/plugingui/visualizerframecontent.cc0000644000076400007640000000322613774323733017704 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * visualizerframecontent.cc * * Tue Jul 10 20:52:22 CEST 2018 * Copyright 2018 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "visualizerframecontent.h" #include #include #include namespace GUI { VisualizerframeContent::VisualizerframeContent(dggui::Widget* parent, Settings& settings, SettingsNotifier& settings_notifier) : dggui::Widget(parent) , visualizer(this, settings, settings_notifier) { } void VisualizerframeContent::resize(std::size_t width, std::size_t height) { dggui::Widget::resize(width, height); visualizer.resize(width, height); } } // GUI:: drumgizmo-0.9.20/plugingui/visualizerframecontent.h0000644000076400007640000000315314177030654017540 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * visualizerframecontent.h * * Tue Jul 10 20:52:22 CEST 2018 * Copyright 2018 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include "humaniservisualiser.h" #include #include #include class SettingsNotifier; namespace GUI { class VisualizerframeContent : public dggui::Widget { public: VisualizerframeContent(dggui::Widget* parent, Settings& settings, SettingsNotifier& settings_notifier); // From Widget virtual void resize(std::size_t width, std::size_t height) override; private: HumaniserVisualiser visualizer; }; } // GUI:: drumgizmo-0.9.20/plugingui/humaniservisualiser.cc0000644000076400007640000001251514177030654017177 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * humaniservisualiser.cc * * Fri Jun 15 19:09:18 CEST 2018 * Copyright 2018 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "humaniservisualiser.h" #include #include #include #include namespace GUI { HumaniserVisualiser::HumaniserVisualiser(dggui::Widget* parent, Settings& settings, SettingsNotifier& settings_notifier) : dggui::Widget(parent) , canvas(this, settings, settings_notifier) { canvas.move(7, 7); } void HumaniserVisualiser::repaintEvent(dggui::RepaintEvent *repaintEvent) { dggui::Painter p(*this); box.setSize(width(), height()); p.drawImage(0, 0, box); } void HumaniserVisualiser::resize(std::size_t width, std::size_t height) { dggui::Widget::resize(width, height); if(width < 14 || height < 14) { canvas.resize(1, 1); return; } canvas.resize(width - 14, height - 14); } HumaniserVisualiser::Canvas::Canvas(dggui::Widget* parent, Settings& settings, SettingsNotifier& settings_notifier) : dggui::Widget(parent) , settings_notifier(settings_notifier) , latency_max_ms(settings.latency_max_ms.load()) , settings(settings) { CONNECT(this, settings_notifier.enable_latency_modifier, this, &HumaniserVisualiser::Canvas::latencyEnabledChanged); CONNECT(this, settings_notifier.enable_velocity_modifier, this, &HumaniserVisualiser::Canvas::velocityEnabledChanged); CONNECT(this, settings_notifier.latency_current, this, &HumaniserVisualiser::Canvas::latencyOffsetChanged); CONNECT(this, settings_notifier.velocity_modifier_current, this, &HumaniserVisualiser::Canvas::velocityOffsetChanged); CONNECT(this, settings_notifier.latency_stddev, this, &HumaniserVisualiser::Canvas::latencyStddevChanged); CONNECT(this, settings_notifier.latency_laid_back_ms, this, &HumaniserVisualiser::Canvas::latencyLaidbackChanged); CONNECT(this, settings_notifier.velocity_stddev, this, &HumaniserVisualiser::Canvas::velocityStddevChanged); } void HumaniserVisualiser::Canvas::repaintEvent(dggui::RepaintEvent *repaintEvent) { if(width() < 1 || height() < 1) { return; } dggui::Painter p(*this); p.clear(); const float mspx = latency_max_ms * 2 / width(); // ms pr. pixel int x = latency_offset / mspx + width() / 2; float v = (-1.0f * velocity_offset + 1.0f) * 0.8; int y = height() * 0.2 + v * height(); y = std::max(0, y); int w = (3. * 2.) * latency_stddev / mspx; // stddev is ~ +/- 3 span int h = velocity_stddev * height() / 4; DEBUG(vis, "max: %f, mspx: %f, x: %d, w: %d", latency_max_ms, mspx, x, w); // Stddev squares if(latency_enabled) { p.drawImageStretched(x - w / 2, 0, stddev_h, w, height()); } else { p.drawImageStretched(x - w / 2, 0, stddev_h_disabled, w, height()); } if(velocity_enabled) { p.drawImageStretched(0, y - h / 2, stddev_v, width(), h); } else { p.drawImageStretched(0, y - h / 2, stddev_v_disabled, width(), h); } // Lines if(velocity_enabled) { p.setColour(dggui::Colour(0.0f, 1.0f, 1.0f)); } else { p.setColour(dggui::Colour(0.4f, 0.4f, 0.4f)); } p.drawLine(0, y, width(), y); if(latency_enabled) { p.setColour(dggui::Colour(0.0f, 1.0f, 1.0f)); } else { p.setColour(dggui::Colour(0.4f, 0.4f, 0.4f)); } p.drawLine(x, 0, x, height()); // Zero-lines p.setColour(dggui::Colour(0.0f, 1.0f, 0.0f, 0.9f)); p.drawLine(0, height() * 0.2f, width(), height() * 0.2f); p.drawLine(width() / 2, 0, width() / 2, height()); } void HumaniserVisualiser::Canvas::latencyEnabledChanged(bool enabled) { latency_enabled = enabled; redraw(); } void HumaniserVisualiser::Canvas::velocityEnabledChanged(bool enabled) { velocity_enabled = enabled; redraw(); } void HumaniserVisualiser::Canvas::latencyOffsetChanged(float offset) { latency_offset = offset; redraw(); } void HumaniserVisualiser::Canvas::velocityOffsetChanged(float offset) { velocity_offset = offset; redraw(); } void HumaniserVisualiser::Canvas::latencyStddevChanged(float stddev) { latency_stddev = stddev; redraw(); } void HumaniserVisualiser::Canvas::latencyLaidbackChanged(float laidback_ms) { this->laidback = laidback_ms * settings.samplerate.load() / 1000; redraw(); } void HumaniserVisualiser::Canvas::velocityStddevChanged(float stddev) { velocity_stddev = stddev; redraw(); } } // ::GUI drumgizmo-0.9.20/plugingui/humanizerframecontent.h0000644000076400007640000000412713774323733017354 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * humanizerframecontent.h * * Fri Mar 24 21:49:58 CET 2017 * Copyright 2017 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include "labeledcontrol.h" #include struct Settings; class SettingsNotifier; namespace GUI { class HumanizerframeContent : public dggui::Widget { public: HumanizerframeContent(dggui::Widget* parent, Settings& settings, SettingsNotifier& settings_notifier); private: static float constexpr stddev_factor = 4.5f; void attackValueChanged(float value); void falloffValueChanged(float value); void stddevKnobValueChanged(float value); void stddevSettingsValueChanged(float value); dggui::GridLayout layout{this, 3, 1}; LabeledControl attack{this, _("pAttack")}; // drummer strength LabeledControl falloff{this, _("pRelease")}; // regain LabeledControl stddev{this, _("pStdDev")}; dggui::Knob attack_knob{&attack}; dggui::Knob falloff_knob{&falloff}; dggui::Knob stddev_knob{&stddev}; Settings& settings; SettingsNotifier& settings_notifier; }; } // GUI:: drumgizmo-0.9.20/plugingui/resources/0000755000076400007640000000000014306421547014653 500000000000000drumgizmo-0.9.20/plugingui/resources/stddev_horizontal_disabled.png0000644000076400007640000000042113557533540022673 00000000000000PNG  IHDR,d8)bKGD pHYs  tIME%AiTXtCommentCreated with GIMPd.euIDAT8cdoGZ_ /Gb P I Yht6>@:j~C_HbHoH/HhFb?X򌣣|5:WIENDB`drumgizmo-0.9.20/plugingui/resources/switch_back_on.png0000644000076400007640000000471013557533540020264 00000000000000PNG  IHDR;!ghNbKGD pHYs B(xtIME tEXtCommentCreated with GIMPW 0IDATXݙ]lW;^gqSI?RC%BC/TZD%x*'BH <@%~ *3M4G8N^0wvgv4F3;ss.eY94eu5s8Yutif0 `u<: xe lmns ,{a4 W 6ns ,66MSpCwA! "v e,[@z?  (KO-*B},˖[fpI BJ#TAUuxJ kت嘈43Kx4Ke[¦i:a/21ӾgS)L}/Dň* ~0>*TYsX[>Fʍe"RfVV""1^)c3s'23 5->ܞ!34>Du03L bDFhUBE *E/u@g /hȿÿ_xuf""ZiNfYv/flJcS<з/޵&Mhh\M}*e`Eދ ?ԳO^>vQU̼\eU3iPafi6͡{3a"=FDݾKYU , Jjmh(ccߚ8q*{'"/"^#j478gСCõZ2 JDhz7Ǩ1lPc*1h hR^_(黰{xx_{:C_Z9 .wιXUGQDQԉH231n7Yc(]d B:d xg/†q/<^z^Jh\3MSj(<!"bf2HvQUc˫h{&yf CH@`0&yx_Y9hE;pTSz ,BvtL}mmBAHzP0333n#"뽏XUoYzIZ=esS> i?}mR{9ͣ[-FQ /jƌ1::kbbsj콏[{2zwϝáߢRɉȩw3c|bS%";>>{ddm<׹꒪Fj使C/y{/H*5j)3EL| 3C/^BQfy v4"QѨK/^o? d}}xxDQ'(y.Xkׇot:+G"RS}s?>G/}d^1_c μو.fQ &"Wcz$9jĪ@kWHL\Ǎ5oO&ٞJ]Ittj( L&$ iɆ03||>t,(,%c\..96 i@RJ ]W܇1F#n% 떰)ΘJc(;*R>kp W!4 XGb6cdWʽ|>ssO^n'iNkV14M yڻz~])"fM[iWUiJE=ok`ݱ8&6y0N bOhGc Z6Ǎ aŐܫ#oҸ}3U+|3d˞V5 GU k)|Wt. U0M R=1Oj^^cUROXCtbײTo=lN>«9z=AU M"`MNz2^]VhW4PL;?s)\JGӾ:1iVB>;6n|3a PcsW'F8-%UV$mL&RA6=1e%5 dBe]^뚈[!ܿMv7cz5<Mcs>=f {ߕ=/zd0۹}죉N~;#jUwe0yfl}i_}ԗa]sضSL0@þ"up̈a&_Pwv+1Bܘ[`Jc [L}nDڴ=bؿ#$pWخ.8LZf_L My6|SW #r:4scE!50ѓ׸!WG$Zr+'cre)D1ʼn\a☄0|io^Yb%@IECvdc'Өf&xus{uHΧ-5V uHӲ󽼟mɔ{ŇE[pOvnW횖d=p5yۢHď4 15mZkr(uL<8лd xmucdӮSc6^fvݬ~v &3B `u]mi ∪)x `nTb>djï vLl%Ks^E̦s̙:?ى5 ̡Z&51ޘx&bڇEhxk$ym1 !\p"bYaC-\o]ΰ!fli6#S#"ܬc 5e"6fX,{ͪ,:o0y 5NKJ#w 5~!=^D yNPR. WۖoLdϞ93a ^=gi7˼/%~[.1A0 /'ɾ4hznc[]WeV=4<0Mp+wZU$#\kE=7 Fu) Ӟȯ$!e'FX_ӟ+txe"if]‚B߳Q%WnTcXykÁsD 1=o=qu'C H@g _',60H 5̮pGg2&V13JoP픙mQc4^JK0E"~/{oaߣ pP*CN %îDB 69gYے~2A=4g`ۅ+jY#2%5G$i[lFlaLpG+{檤%T ѤpAvAn M(nLRFpqx7)`ZkX1 hug3Ҽ5ݛID t1jFۇu"w\ hdz-e|^gNZb82 6yS'&aFU2B.Z7/Q.Y{􈅙-gj5,s{11E@+ڨQ30zOa0ָ,ٍy@aƙGXmdccbZK^maz&5$)6f0o/S*FhQ4Bl )c$%@ԇ"Cjqv'kHAveC(D[>- 9vd*̌Q/ K3IwuTew'4k pgMVAl{pMO`ٌT1-U-K{ڇ'gdԸ2>4Use(>^)0P-i@(yrDSup$<z+N;b=`p/li%CǓU0ͅiADcs@Ix"s m4~Dv^FmHmyR9@ 쾚 aMUL 9L͸S(Mdl|oE+f͍y8nE !46i;N`pw.P>k)Y!GGj-meZ``2J*rnWϸ~gMmi"Iv\R!<$SgBaC*lrNѕd'ϕea,֟];)\ILg;}9q9\tܲ{t2~6#dpagryiI{cL 1:2Sƛ"9O|qyhU?0?=Fv.1[[u2M%.I2c6d'OC/t!5-`FMܣ| ~4B ڟ :ey8e>G.ԈjZl6g͔a}3v4eOdK3o= Im5$#ĝ2fD$v{ݍG.FT `.+E8ܰgP..B3$@1\0iqlk#A佚?fb۳G&d9&N[fm-`-ϾYc]\^5֯(w>~ MD~t>3uV `"`ס ?Au÷5I]BVpFz<_]T`׋2Z3-c͢L 徝; 37dhI/e\/LI-?0sapWTv Vʱ뗤V5ԱTm^B -#sӈ;Q=G*oƝa4aY5K]\RBQ? nAiF0mh0=~/- 1NF x$ Pe]G4t3`5QnCax*Ti-cUĉfs>wY4=1FfPF|is5~ S}֔;k1;#0=9Pb3rʹPv^p~QbB Q6K& V>*͊wG7=5diWKlv;?(#4#Q~dΰ$Z-; 6 EJNG?Xcr1-\zo?CTm(fDz(}iE#e~31 &ni ppYh4LI܏,L9Br+$4jVea[TI5Dޚz>gq}:2lŹ9.qUTڻ}NFbI^:ѱ1Aȿ5suZˡ``_cLYxڶw71b TTXٵ,`a*h~Pˀm䘮Eбo%*l6,Ӭ\<d 1-h["Z`a,R ,k _tbg 'Rx2f* 8tJ!gp٬wu BL ӊ/ts!iŞVvGp$=60Qa8/ƆZR7mULPz!X clnN3 cC\΂W-# >!\?(gfzܢOe4&2 HMwo8i4a " os&T_a Ib>B~$өy!u ̠D̑5a7,`~LZS_.`p f$>O-QB\v78: ..i?1 :2Dv1UkXä-o_En d#ƶ6Lp7SfB#SCA>vcq&TlQvUh5GcCP5=`9w3o;em53G)ڗw;c~ssɛ$f̎O;T$萐`*S!m t u_ BǙ?ԲߛGigpue\_9R]}Z~A9ƠD FX ޞwԟPULf(zC IaV=9ǟÖwOu ;ʕ@}q0;ߘ"lyHbxSx G![y}=Cjrg39'ef.&X6܁ >C Sm%M6^f{p32;bG?Lk';ǀ5ikc_q0-3r-x;1}POȋ&KCĞdd*RM p!s19tu>=Y=wY5'1O OlmcoDowZx}̊.f!?c3)ؓ X( pA>XĞ?pÑr2|Xi <_ZMc{"V#!RtW6 >s2&KfM&|.%.6Tsylޥ,Ťmyv'aXaE:YhC3b-zv9Kmeaӎ쯔K pics @ٍb 7-=̃7 }|t8NMT3K9ĩZB}^f9Sy^*Bf\9lL>Bh %6D mci27 >  J0D/[eKLL%aZd"؞YVn]qu=9tH1h=&اXƍHyoa=ow@Qw)~D{ꂫ`D>#]]ģ:\cY2w똠Q4agB5@[~yhU+\-YhN1mV ̡q{O/SVgbN¥Ln[Mh>xRwlABPW3s^tѼ{gWD m2}nswqoMUi&hŃ]x{c ^#YkL9^T7E]$r1ͩ5=؇I91J@Y@Z? S.r .ęfx~Ga^Nnm a7/PYTSwmCOj%b.pgLAmS^;leתwdkW h4?ʬgy! Pg /KjVXc3.`2ώ:\ޱRPg'|Cd?ڮzk 8{?`r,mo 7* sFtn b^ xY:=C#>31^٫l44\칧H8g20[0)ۤp>YbGRՁK@BXF +-tS3d`y(-A)#~d@*A7^rv3Ҏu<%ѱ;CٟE|~7P*psTXqՓq&\r nM&QZ'<^T~ kбHЖG D;,oZeVp[LMY1P#,o᪢1M`H4j8%U3`a.{oxfkY)$"d:P@Ps^Mk]J_f!7䗂kqP; =>T # >|X=f͗w r" \b+r+š]NKo33y`& My\<-Ocь WXmV(.)G0} !3#f_' 0M),Viz̋ZU%7Bh$3碖[5~Vh-73|>ŷ{`+̡aVpsrn^<}@º"1{TQBs1>s]|&h1B%6 != 17X_]vImOMHo?^%p[[{vwƐxRnLCK,~ !ѤʏuD.NM D ʔS7遨$?n_kNSOct/Yl@ʽ@tށ-wYmީ庠^ Ӯ4 sWO4K3UpRj "Q춡 L\G[e-v[糡Msfw#s2'oۈ66>Xjf]i)v , Cga3(Iv 3!O<,ϑ_zߎgf{iuٞtC\'uw¡,,e7oÄƢ=rAtxXf@Sc< Ai^#]1vnȿ6 cOCgSq6ia3F3SSù7&*P< /OÝSt;Km\e.ppBD;QBk0 e+!g#3xKqU'SNdX"c?kxYĨ`K@aeB\|,XYS+I1"M8G8L}ЄE4SiTkvl5==H_Xb -sH9Mh0_GSKl&/)~Avf4ozڃcʙ_l75ّq|]1\[>}FNb]>J29,:+lBHc*,О?D{4W9\*g?#Ӵ>u qӹw>dKXD`\={ y6Fw =(Gmq"JZi0k2Ojҥ$VDqPLv~~&ˆ9fe_>r?3 `-1J%^ Fi \8f67\ NG|ZF21s}B%Iq6صgC8Nʳp l)W#iv)!3Ah&B> 24 ~Pq}&p)#zu!ξOnP|-/֔maï'q0gjn %dO`:j-")h4P}n;^8^̨ڥN,JrcIq[zSK񲶠!жMø_jx!;џ[P$`=ܞh>AF;7[0/{hNTe #$Nfgv!LP#Je@&bs<!q&6#fWvb2L[,ٷI W_LUe)^P?3d9pEiYȝL:|iV2' }K9*<_b%"栶PW]31,7Ϣ~ l|01lW$r1)y_M@c̭&Y^uwh֡ziBa32=f+BT2E R`&alټ $)DMikdK9KLyĩxfK*wSo?D֥h+7nmy`Վr[EZ -ff {va;$A~H"s-+#a_)]φ3nY_0*Q+yV`Sl't) (R^::pcFӱ:9#LUNCm fW`خmC(<\}'opfEHQ9pDs^ѕ+Ol CFK%.95z!~a gO!4`sO}Om={G pyG+!\΁?:~[*.lE7j0m2[|;1Xņg#Gd!Fh&8o zk34Cu@e>(g ԗ#~Lؽ.Ce|1&#g9u9dkS/EH\d,LpH  _.en&ʵ{DZ! Z}&*wҀZS^2v$+}d7qxx8vO z"(,ǷuK =4L $:O;K;XbNw'ʥw.ߤ.#s/|¿;${/ luk<+Q;̩J/{:M9/oU1BiXBy5J"2"m'y!(^u2oJXODlۥþka ^wpqYMO[gdg2L <!bbuG9$҈ɒY[EXatct)q6_L[HIY&?a87RJC'6U`sҘP<.6d&h_&!U޷ADz0؅c!C?|ķ{CRe<+ff+23ڂ=f'#fAQG9e֏͚z(߅9B(ӗ&zL."Di2rM1@mӂKHW:QTrBWJDʕM( @<[5#$ ړzv~fЇ+yWȓLf-XDG rOK"$hd#& ME"zIjG8%k4VFu#wҬBј"4y͙1 ly hkp=-Ds{2AUAѠE,jzcE(.gC͗9{gB,em@bW<^!3w8p7x9tR{Zl `]hߥ*>HyB̓G,$qUp#1 %"Yfe͒K16U#381"d a3(H7j,hj"mU0v0/!6/@Ma6DA"G9Y-3+ػsP`UmLُO=fu";䏇:7y%ynɕ3BsC<l3bb17(.Y_gG/ZzÆWG/sp΍Lc* F-c~B;1mxx!Mu 4SDzȡ/(& ؞8ϱgk‡Qȹ[}o‚}x9OB#@hh'7qqP2'-[/hiZemCٿ+9/i/ִg各I4}s?=yocmFcf<rsȹe.6lk Qhh坳V%mI*РC1nf?ag-@ tBM!21hx 폃%IIMw'=1f`{W s cF Np/#Tr71/+r~GLin:ܦ&8ʫG'?c ̴@ifgֆGBC~Z ?v ep]1!\˶O!}qo#}Č{XJ- Ĉ"?0"D+E~(  (Dsf\%2g!% n0yǒ3 l\ t i]is]MQFb'XC1b2dni7{615e6-lV5Ц浱 t?5#eTuE7sz}392B#BT+{v'Gٯyrْ{嵕zx/B$/;Of![/#d4s"fCH3{( 5hH c9;Hw!CD#VxeJF`4åH̲!?fOͱGindeĆ- I:RA>vUK1֙юi"f;bͤvYF L4G!χx-+'y_LU2*ZW($BS_ٗEUQ 2ĺ\:=W-fWIyDbpi0Ydo q*P `Imf4{'t`:%΍ ؆C͘VѲ''F)y\U5P{wᬂi⌠d e1B0J&nH,p'5X*ٻw{'eYJ'N8]xKR܏5M @)uv huO>] NjjjT{{뺸 vS}0;22rѣSR)͛7e"X=lAdmBbDž-Q+@Jiod(q̙Y/k !8p@:J SIg }GeY-4 !x|4ͷo,|{M]Wa5 W)=|^0X4ͮ6j [Ǒ#GffffPjz#`+( E۶}kyG^ },j)T^}\׭acA6]BPZ! ϯB0?N$\.^.R&B&YN&=jH$ҲPELLL|bP ӓJҖU*jrw>ʍ`.~beccJU\~*8|>xΝ[B2 {rTUVVVw[ Æ%"rʕZ\fii)U,d2x,q +ҌϟP*j|~S/+ a~޽¹/,,L]ti ɰ-%ySSS/UEXo>UÇہ='O<.T*zzzbk2 \]x/+6WJ5F.0N__WO:n"ݴ}n\.G6EJ2Hӷnܸ0 ,eqg.@ 0F~kxxK=H۶,LDFZP(P*6k׮M?f[E@6.[.@ mǎ?bryyyybbbrff汪(_JP/;* ov4baFUYT*?ydizzzЭN : $t~%C)kF8b*(eК ;>C5~<[%-֕TThSVA1M)+E7ye5nYZA$> *z9K0IENDB`drumgizmo-0.9.20/plugingui/resources/sidebar.png0000644000076400007640000000072013557533540016715 00000000000000PNG  IHDR,{ pHYs  tIME  &7oIDAT8풿@d"!FH/ # `c%v 3bc2[,f??C&Ikv1^4}eB~mZjZ,Ƙ21#t|w]w:~2lRJ?(Rz}<^ yoyQeY$fh48q{nW:N2I4MR9cs~\ nR2ƴք8Xem[JY0jZR)J `0ۭm8BH)@ƘjZ.p8Ra !'ZSJ-x<,ZiOg_3EQ$/vsHߴIENDB`drumgizmo-0.9.20/plugingui/resources/font.png0000644000076400007640000002511313557533540016255 00000000000000PNG  IHDR]]f pHYs+ IDATxy]U?t1b EJ,iF͊ˁF --KD(4"JZRԂRGđvb,;Ί` f w޻^zw>3!:ZppwGrC_W~e^O^~OmU~ێ{DIӄ~iJ;ra4NATM9&_~MaM_74KZ㚲鷕k4=&4MSfqeUaà'Tk,N}ίw-0YA( M#|ʶJ֐gZ?ߏ JYEltЄ6S'|j*Q8؋5E^$Lkq;Ҵו{^l/+۪ѫ״8J4M臐fM|k4MĩwP4U|ӎMunO 7h*aQ^϶fה>HW]11iJ*4;(J c}8|tWbyR|gS%2t"گ]F[zhU!RU5- YE.كJYtlt7 =NV}d:btޚLC/QŵWqiZ~= Wow—mU~Ձom4M臐fM|k4MĩwP4U|ӎMunO 7h*aQ^϶fWgUՏ)yk4=&4=SI2aGUn0iڿq -3^:M~Kzkwvyn43W75EBB CNۇYh7Y:)_v`b0ox~*G!+cPƁz`?&_OI*u?θBk&$p;W4v?Vy !"!`p*;Ghf>h=pL P99n=`r> [ hbm AHZ6Ar:MG^/u,]a~ד"2^:`)p-_S芥/s A ; yH=Нa|O&S7#=NǏW[C~ y5\"&WveX=4&o:2\ -g&dk:%; "|x?)CȦ~ qƁ+*.ԑg&6d?ՁSm9| 'O]F@fT_EG "f #~*s܆*J2l@ 󘤚:> h /J35Д+rY;v:o@⇗{, q^>d^F{d(|p/F 1xwA/VO GM.YL2^h?![tt> <<KoDD .F<s Z4=1ěBy&evo'[#3}=V)|'ϡE? 1P>vwr"[P~d"Q\hh>'G`-N#Icߵ ^0XW§Cޝ r4>ǣMUy}0H!,NL'_E= X(஄\KQj4OD'"=qZ ܓO3_?G狌瑑 ˭FK^tBu5M䝾k&_x~<>i+/w "Cwn+O't"&/>j7'4)c/AB}5QxE,jWƂ(^JoDhW~0wPr5ŧ"n*g-Z\|}m2#&A_KZW<[yad| Gtt̾ub6٫_e]yގ+ܻFܭhnwfN滞l ~)*ߑdd<މ.+DzyATS|cYxAo1mw$k;hNc{>xO wсoz3{\~sQ9pC'>?Oц` _VM统NaO2g8lRZ@q~wNoS|:_A1h hm'8&2r#t:tV1v"O-:BƳB+Fnj΢봲h~>9n>^9 RK7t_ZD}rT||gR2+^ s?!w:m!V߆Mx×-@i$߁H~5H; pK3фf9O{@]&\_e_ќ3ϴ܄gx"<~4q:B'xRD\k :P HhA9V͕栅Wȵp Ḁ"/*9^\ڋv77o]t=P]Hd,b}&4>әOnDF'.GFؤGjo^M$Q7NL?tlr9-7voLXħ΢kj' עx)ʣq\ݲ\M񩑗Hc'kQ[\kqoYG./SMO9my)\_lEo+K'o݆1d܉lΣCΪ:&!(KȂ5xoG:htl5-AqЃ=3 1d|m)+<6GE0 ۴Y@rdi蟌65O5Fz9Zot:,p6 &lq*U]!>ДBM#'s+z]?<= aGk?/MJ:Y؂Yy>%:W ו{ %Ȱ Ӝp*\a`e"IZL^M4=j [:Kwz֣9pQ#]6' u\a,F:{}/N!?]͜x4*8pˑNDmnDGҾK-8T]+oGa_:?/C[ tz}NGrg>$ĭ@$žAY߅,[mކN_][na*)w^*Dq[Zsml;d=f˿`/ yt]0tkq-.qoBr`ˑv{TfdAV {R4WNÅo:׿*q1&'xZ~Kl  )qW"oC:?7U>}pj"cž)Ǒ ݋N.D )SS| f#{5闠9 ܧ c6RϹ'Ђ|oH`q!ȷ򉅧hsi4:ݕw7Io/'' oW-a@Yz+|Q½ջ&@Ž"z8Hu-w/~qvt:hFTߟ@7VS+k<3\o4l'er`}rhz8r,49L/H,ͻ0@c S|BZ)GDp#^Ӻ/0NIފ&S= ˗76&û{lζeס+Y2y T#Ghj[]Azt-סzw-rWZ\v6oyACk?ߣĮE+gB{F2(} 9(+atRqSAz:wroGhGB4EuX^o@¾t5ʼnY|":%h"nq,-EN>V~byz~2B/=ni^Z򋟹]m=v={\y^NyAHx up-$8CDZM f&5zŵ7,sFx\dOAl Ga mʽ{-H܆w;RPסD f-e7mVd45{ ߊt;gƴA¶ߧ9Gz_zqQ>#~m2]]/*+t7K҈B>N 򝶢6$tU HE(D4_A  H8"ȇmlЦoЛ=l\!| ._NT確9brZ\px;~X-~&bt'"tO(ۑ#/rq4?:mQ9yd|:n0=Vn^?9_`o- GIwL~ hqLr+"'##oMD]eɓW .l󏠾p=@ܮۅtt/D݅PIuw,MZELGѠ_O;IQgxlW?žJ֮N:7Q0RǣqN\ ܣK,?~< 'wܰ(= oXVpބvoʿ.DA7|찰{񣇍b@s51XF9\!g }tpC]TUXYDkBp&ODжgaӤ|42 qs7<Ӑiaix8{(Z58|ԓhRЂ` W*/ۀh]]v5pvTfμ썌]^}<݋rm!}4 ;^44xTI+Gh!k-|ot׉}}0a%XtH\w;vpY|Htgtj94%:z*+S^yI*Oc2NE$xDr:A *}Bm cU,b~hp c=\N 2/@|O.At!"W^j _jr4~xOG)\\W>|[.A[ŵbzy>qMN.&} wC շ~쯻 \JS8[xIx<~h=\j_v)ˏ3C:~8&]L$"d#:aڼ%&wDʏ ?q>?X͉DU}ݝv6cQ oIR\\ǣNw n[Y^084Qŗ&e ?= k4 t;٢qRu=l耰NxG-򣇍+G}uŧӫA"_{g/g -00/gcdFK$l!s:ЉwYz_kN [l a6DvO7ct+i;O&>9hk?"0]QЉ@ẅx 'ٕ~$ZBDA!c6Gx'݋cn,Tf6TFd׈9hL>8.xz4o"OgQ@m2?MTL6d$!&G5e?>_G6r5)"`x;;n'fxyp9體R blMgO@eP{h^-~.A#ދ)];MXOo-`T.xLgUݷ0}J,gtvݜ^6"-#_vCn1 ԐqU49{%>>f;-B{P~_~~xl _F'J~m\B0~ -vtB Lm*n؈t*2%\@-G+#tsξ}:hE lj12o!)gP6 JQ_C8}٭>l$}-_r 3-7@ zww(1ǣN< zbmX x:]B/ΫI*0iWQ~!8q -XQ­P9?!{=u=\oW"?z8RD4x{.+g.uq1Hd#Lֶ][t;w7]݂v9%e*W¸!MXN0@ 1gcbCpK]Ed#/n_0/B\u &^[sݿwI[Td'_fz6ŽТr(~#*g25W`W#F2gj*KAO+P8ϙdo IDAT3hby.+oI+˾7rYqdU_b/ˑy-FާqW|;U| jkg}2&ɿu'r1jy:ҭ.Rh{R}l.s59h73@km9*rv`p]QDrhNݻgr)hdm;%;fBcRt=SQ_(f::qaE}ٷ]rztEh<م P}$q_DҀĽKdo>@~wYGυA:IA[ŵ>~5%ې={ ҫl&Mq>1ʧι[*¸1AM~*yzhʥS~VPw2y9 |O}=mL78 mPޛ|ݙ4ttMg |b)ZǣNý |;äg%:A[!¹"up[:wWBȿ.#K?:7}?"?zظB0Oy_ރA `nTrZ\pxCn;ٮm<'~ɿ) \t ts4~ -tzi^Y`* p[4ҝ!gaʋ:u'0`kЂ*__9hnBd=WN9elEhB}#$Z l{$B#UWnroA]hA6!, 9s8c/7d؂&4Ï=Z&ƪ׏Ҋh(K&QXS?7@ܔ\ h@ ?G ;[5bO6d^B^xEF 7H_.;!ӹhwʾϋ0\g?dKP;W>冄L%ໆFn]Ћ-44nDm6A2Ԯ-rc^#by d\mh*7~)ؕ8]_[&4'\V.6}ga'ň 8rzv'rvϝޱ5{g6t"o g+;~kC5 xckq-n$pa_BvECuO.pqAqpi[ٹEr]_L'![,S%^?BcEIኮ^&Sއ2:t>H ӸSϹ;Ӿn]Jۮg Hb LV@U|adA%?>~;H{=F[sj}=A^]1ޑta hnD74>~"{8H?AK4>Z`q8.)RʼMӾ_w>lWiJz7S]'K_Tu+V]St~SUM~Zn&A^E'K^eo:q9#)^否W~EW</fKs1'۪ *&}ϢBߊ%[ŵ>kSx2-(U>k60&왪<:wX.\YV|fދ3NhѺ<[Jqsm}M2Fͮ+3- uL (RvYF㍡O'Cbkq-n1pqls A]U?<^0{|2ͷ;tHSO^~O{~Gס;']F0i!M)k4MiZ4`@Uo8 ߉6]*{>py,/0:b؟_3{7ragSU[\kqoǠ%ml$rLwxյOz= {saA{a;F7Yw_ش'Жĝ׶I}פo+ v7]WBߥ'fZAꀙ[QpE6mdXZZ\8;F_Qo"d-crJ)K)ʯ_nz^x pۈdg%%ߨ4B&tISrWD9 0iS'n4; K|)]6?6D$,Do]Wgߟ%~nYJg=VMWg]?Df}Oa;VwTzkq-.sҾ=RW?r$䩕N]<{qL{|ƁUȧW9IY!tO\Np76I%qsm}M2ݰkwUp%]zbe5E Wka2 ?g5IENDB`drumgizmo-0.9.20/plugingui/resources/bypass_button.png0000644000076400007640000000414213557533540020202 00000000000000PNG  IHDR`fgAMA7tEXtSoftwareAdobe ImageReadyqe<IDATxڴWKoGn/^LnrP\d;>۞qs1dl,(b&W2"$R(33{؞ hXU]U]E>}:22Bk_*P(d2k֖mG"L%PJM/?LOyCje0܌gA &i؈bA< "k 1#"&  6VVw ߷9=/޽k IQWVUaCt<6*Ȭb "XȔO ,NP> ei4(,ADcRK% ov b5J^yYO6*j$N$ je^ ~Y /x7ϵ-l|<1=6(Nbss2M $kGЮ%`D. 1>Rq HZO} AKsĎD^kY2_,ۀ%H@d{;ؕ 57^޺u ]ńXΝ~)wR ʊ7+,}\*9}:TɖJoXO8.2!Z'~^6_wB#A(7ׁ ӥ*Qj!,e!ؕxCc#33J%r+KK#ʮ|hfRqݱrv9X9hHI86 ^/棅kmY MND,zT;tlOP~o76HӇJ8M%C͆400l6u@{tt5\.j`a!A`ɒ彞y4g~yL* .fn167p&cgq)'p1ݻ4u[MAřLsr&+lj}\o:=A: opf>?9h-UplvPatP4+ a  X ̛7Ύ,UoU.ۮmEM@f~>688捫FMOGe (`wmTl}e!XjݍpusIb>'?8%Ozw_hFB+y9;;NR~!bIJMR?W*Cay^Q5Z |_3IꉮzTO: Z0^ԲNuu紹ټuh)ufRQRp8|^ Qo[ۄTèoA0B5jHd(_oC(uWKYNmDȹeY,U+XArv]@B>pYd&8${4biЧOQ);[4UT"qKQ\JIZ^/O? ;q@R )Jј Wq|ZIENDB`drumgizmo-0.9.20/plugingui/resources/help_button.png0000644000076400007640000000422413653301170017617 00000000000000PNG  IHDR w}YHzTXtRaw profile type exifxڭW[( {q+bo0U53cw =2%vǿr).\s8RM5(şɧ}GeNj{=uK/vaāyeԡ&Ri3Oe֩ JW^ʪK]VF/5ciɓ5L| k'l19`gFl 2`xу'sq#ϘsF`u]amMUaBc[uD1kpqG34v^pEFf->T #ky z3t AAc[wN[jK"@چ5}spxJxk#*`BGũòI2coral u|ݼm{d|-Er?0Rv⁑3#$b9fqf4ΛF؛ .Yr'y*WlyhYO!̔vǬ J|5ush# ֋s doCjA5m+/؆m{a}T_ S'}dX(i7Ipݸzm+"*'?3 t).xEͭZ9=fOx1xbH z ߱t 0`W(Mב.=߄< d Cڽ?P1N;|. ~ex= n]l`Vn'i1atСf9JW*J\#J)F,Ђ쟢:ȣO9C2ikfv3=]igm `W{Wy '7ӲqvXM0, $>Lld)7͌dbዂ(8;}bKGD pHYs.#.#x?vtIME 2:2IDATHǥNIi?6k,1Ih9p~_F3I ]K@vc bA޽;GԿjSSSNɲAؘ_b{,ˬ2Qaŋ#ˮ͋ hWP:ZM4eddjWVV|秦YNi>u*++|V΁⶷m|lHKjޒ){2\^]U Q677888`gg#׋`~"9 zej>;; E  ͌<8ui\fff90 5~gi꫆jXF>l5qEjũrMidwQ_ 26IU}*WA"*pwHB58<ǜ+Z־%Ih5GT sHUT`( ǟjWe N㈍ >}@ p*^UсzǞJ%DB?4Mx޳巬bE$2pO[SjЫ+5֝VCUŽ{FGG8q=Av}ҝw G1tl`A|[Z˗F QĝEÌ " n1Ns RAIENDB`drumgizmo-0.9.20/plugingui/resources/pushbutton.png0000644000076400007640000000260013557533540017516 00000000000000PNG  IHDR-9*gAMA7tEXtSoftwareAdobe ImageReadyqe<IDATxڤXoF)Je[q;Htk]4hKKGt-݊4<~Z}ȓL{Q"y}߽ݝ(.*KPĶ,˔de>(* YV,\XZ*@ t:UCTYӺĢt6}`=y7á #SIȭ:# ZJDC&-j4Ilm1ZAH} ',<l7&) ?]@v\]KB,>+ =o0q} ~iI/,]U!ϞMpaqVvQO@ s_܁Q9ZuXKq+5&gHi&{I! ma"Y4eKs2 u>I8Cer-]b!hLFO]-`:s.IbY)E7-ceeB 71Q1ڠGV!onTF*K)yĞj[k[pKo-^TjtSb"oBhI_mtLDo"Waw啘6"*x-]u]ւCki3f,:|JvTe~rѺ1̼a:ӵI߅=fɍ7`E笵@kQJ#/ι=a5<7j D z$zZk0<m䜵k-ىwu9oo~\e *9k'`mm'I L,<77W>yښϲRjEDF ۑtk-j+ιCJ h@΂Cށ(8&r?ٳ _.//3;;[#IKZZ;BlЁ;Oe6kRC`.CN[B69 A&íV cA V56OkM" Nt\я AC\vyNLL 'ds)nt:҃޲tݱ9vREuŰ26朣Of#J x<9Y Z֡`qq4Md@),AP>|̙3$%1(AF1w ZO^d$V!99RKfU6p,,,y }9}I[!)@Mlnnz>S&˗c*677Apj;45*z;HӔ8)t^?ZV)V\ry1y۷o իWh a8]Z$><{(V4zQc$t0`?Z1;!mɲ 9(ŋV pxA@ɧCQ\z݃iZzJ+ 2x~k׮oUJȰE"k-Ya˲V(ZkD^q݋Y߮h4(֑e~J^Ƙ;7o=GtXbh.\snQ$f󓷼I|i/oy"4f[oyc+ǟ6|Q<9sJ)Ο?OUk1nnyIENDB`drumgizmo-0.9.20/plugingui/resources/bg.png0000644000076400007640000000214313557533540015675 00000000000000PNG  IHDRrJ bKGD pHYs B(xtIME 8#fuIDATxܱ 0A@_15\rZ.O 9B |ѽ!@! E B 9 9B ,!@!@9?r@r\X9B 9}V,r!r! "@r!@s` 9 9B 9B94 "@r!@rB,r!r>W+9B9Br~` 9 Zr@r\X9B 9B9B Bx>r@rC!@! E B X9B 9}V,r!r>W+9B9B B 90O,r!r! "@r!@s` 9 9!9B9B@!@!@9?r@r!r!@_+9B9Br~` 9 Zr@rC!@! E B X9B 9B9B !@!@9?r@r\X9B 9B@!E Bj"@r!@rB,r!r>W+9B9B B 90O,r!r>W+9B9Br~` 9 Zr@rC7={KSvYIENDB`drumgizmo-0.9.20/plugingui/resources/stddev_horizontal.png0000644000076400007640000000041713557533540021051 00000000000000PNG  IHDR,d8)bKGD pHYs  tIME&JiTXtCommentCreated with GIMPd.esIDAT8cd3#C\/E#y\Hl(͆$f,Hbh4: V X?Hb/$1d$7$$G4_#aq ,bpg #< IENDB`drumgizmo-0.9.20/plugingui/resources/topbar.png0000644000076400007640000000031113557533540016567 00000000000000PNG  IHDRڜ sgAMA7tEXtSoftwareAdobe ImageReadyqe<[IDATxDNI0?7GIraSVM(3!ÑJ&Lv>}M`5'q}▽|8Zg{kzuIENDB`drumgizmo-0.9.20/plugingui/resources/widget.png0000644000076400007640000000174213557533540016574 00000000000000PNG  IHDRMyF>-bKGD pHYs B(xtIME6iTXtCommentCreated with GIMPd.eFIDATXýn+Esff\B_T "!!*J*'@1]! 4"^DnHX؞ݝKzo~ߜ932tz%?߁˲h7@Ǭ~(x:~\˲x㻁BWit\r{{mBH|?L#www3do?4V,"u.U8!鲭5,-Ohvc㰓zl?HF%,7g0t#$Z{ðʟ$`l3R2.hyv:e%wR,I{'$:w`wg;uޛ&[X;7k3[!Cu9M#o263B}b ánնsoV۹lڛNιp`lEQ>jع^(U۽sn:sgm簿<{"x/CsUlłǜ??`>!9EQRf/vEQK\d2yv/}6W 3f-LD%9^ofrUUMV"r#"_u3 VDd[j r+>IENDB`drumgizmo-0.9.20/plugingui/resources/thinlistbox.png0000644000076400007640000000027413557533540017657 00000000000000PNG  IHDRV(bKGD pHYs B(xtIME/+ iiTXtCommentCreated with GIMPd.e IDATc~(`b```,,}N1yIENDB`drumgizmo-0.9.20/plugingui/resources/toplogo.png0000644000076400007640000000124013557533540016765 00000000000000PNG  IHDR_pgAMA7tEXtSoftwareAdobe ImageReadyqe<2IDATxXm0=P;BV0#`2B:6Tt$=鄸XHe %̷β\y3|>]`sY~<: ,38X#Gy <B֖'ύ545#SduG^_ ϲ2C:+o![o&> 56Z;#[}Rdp6PX\hA XH =0x +"/94C!r&_C(c x.DXA 'I*Yny @rF&Rt˜"+h[Ou\o#ޥw˦*Iag XnGi&`•-$&|WhHS-m"ظ9uC2MuȒ狔ׄgv0þ:RO-P;=Mmpߎ9el֙ Ϙ%^0e?QR`iQpϞ={)rI joGF`uM]4H,K}zgs7bV[[oAEQz & ߞxWv}^u0 c0  !qZZZ㫯*\^ ħ~O?=`i7,X!Y[ޯN81mBeDQN!l \_|őѽWUuS`88:~̙^|3&b޿E1{[ =˲oh4F<{3> t(~m ӧO B- :ڕwwj(( {6sa9HA0P?Hz;TGni)`Ccv؊xryގTU]5 8vǚAo iVS!5~0 F!l7$Ǐ',܌'fN:t:GnAD}r2?`LNNz_x?´Yyj /ZaBٶ4h?m !|of֘pŬC -Iz衇Ay`izЖDuAz JRd2-<11& #+.\8kolnT*]$Iŋ xH$-}ǃr7H$yP(-...A}[t~+W\i>44&Ir  9;;{a~56|k)l6eQ/b1%L۷oq|yqq'Ng0R><<,k pY]]B$I x\M&D H _.4M;vR|ՙz޶{X,B^o^!ϯT*?N*R6%]rbbB3 wht4JA2`kzz,˚\.R鞇h6rڞ|'J)d|;=9yaȈH$$UtB֦X,B6';I`nnjڵkHDN&T*Xl'B7EQ'˲&u׻:22ضmZ:i~Jv~ }var6]|2IȾS) P^/$y n{QFgaaa%N:Dn_FcRldhQ{mm͝H$B.$ Àa$I Irx\UUPUEFZ dYXVVVbqev<_& \gۂ@"~L&BVaql3޲ 7 eY[ZZj*塡f*ji'˲v}yq#eM(HK}HpEB-//׮]`0HLYiFXl^q\y9L*x/f2}ͤkR$IinnrA\6j^Vx<9j6J^WZV(5HDy^x2 ӧ+7%m ԩSԻ$,z.,--9JRF$ 0 0 I"I!0Sꊢ芢VKiZ tt׫,a%X5 mb_pae_4R-..*bVD^[jHQ̜00!dM=BBAp8t ˥~=(HD8B$3(r/Mt])(f.$K.=zh+ eZZ o4jN)M,@@t:u˥ni,`0y>޽{/Z*߾#{Aɓ'(a4 ^w4I Y1S+00 \.dfU'&&$ݮ6nȳ^|ttG= hRU)˲jG7 IID$I]XX30O5IENDB`drumgizmo-0.9.20/plugingui/resources/vertline.png0000644000076400007640000000025213557533540017134 00000000000000PNG  IHDR'bKGD pHYs B(xtIME !. tEXtCommentCreated with GIMPWIDATc```a rqIENDB`drumgizmo-0.9.20/plugingui/resources/png_error0000644000076400007640000000506013557533540016520 00000000000000A drumgizmo-0.9.20/plugingui/resources/switch_back_off.png0000644000076400007640000000432713557533540020426 00000000000000PNG  IHDR;!ghNbKGD pHYs B(xtIME 07$tEXtCommentCreated with GIMPW?IDATXݙMGUxfgzӽ|$Z";(Hp{r9 (B\$@BA9O1Qe'vdgwgqpӞx-|TxEIaR  ?J${?Ӄq\02$I:6c`>f$76c.* dfzp^F$qLNrhty ѣYDFK_-x#Iυ X(QIY P*Q(<`GK$z=z7`Y $"T=A-*׉HafLH;6fn!>B(jBٌ1Ed@Ѳ{5^zo86HY.F)u㘔RK̜@ffⱱ?Z6a1 ",2t^/ZXkz}mm헷o~{{=y"rZq$IrcgzyY&&&Vr"\w=J|`^snׯjuu^{qA]̛[[[$Ju&">zffyԩoWܰ\Qe"nyZ?vj%IWk#"w^2FO4={^V53)DVVVVW\"nEG)\-fQk|g9La1ƘH sss̓~ZK\;b72\ _#~ `eyyy孷#91ihZc#"cI)ggg'-C Z/?W4Kkm97sh6OLOO~OTsZFhUZkbMlɲlɖ}"x^/\">ez*mooVxn۽nZ`,ˎȮ#0S.BPfY?O1[<|0YkZ 99GZk(R˕MD("͛7񿒴nf8|`(^YYy"R"E0Z_^m #qyp*amh~~ IV3O>dEx׻KD9WERVׯ\N3C& P呹QnZh4հ fV5v!LLL&k-8*Vҭ/Nv>Q$caDHOMMMtT."FD*"bsw}ٿ\vW^ap>PTcQOE=ܵn-$Mٜ 罯x 1Z7ϟ?W_{Hr93gd'N3!RcnijzheS6d~Ͻkil*.\=}J劈`挈 Z)~3뉢0k}ED*43tݯ]tiիuV_u,,,رcܹswdDdyGD2fδ̼}av޿O?{DTcc^ocZ1,s;;;ccc7DC-"elؓWGi޼/RAD3ADn,"JD>4| @YkIDs7BJ,!T!,aժODV)UafΣ,_"rС(fZD6DӠ  `řF h V"98<*ႺDDKD4M_PjE"pAU{\*F*c2B~(2s[#~8HEQE$l屩(\:{T6WUJr_>3*^H{>| wDdFN { @ Mh}(xwgn&K{<ֻ -4}8`@ `z}GTw\FIENDB`drumgizmo-0.9.20/plugingui/resources/progress.png0000644000076400007640000000113513557533540017151 00000000000000PNG  IHDR lbKGDC pHYs B(xtIME IiTXtCommentCreated with GIMPd.eIDAT8˥ORQo\h"V \6f9lG`  2 !}YJY1b"ЫsN Mgj̞wr pN ߱ H?0 π+1Z|]h i6K`g;ju60:Ђq@kA{ϺfHu3]wER{x--d*sa7S sU:&iJ)f(Z1h1,==Sbx0XfEy,Lv2Lt3̀r-";Q]GuMTj]͖\i7$ZXkKU׻?M&&Ͽ<|]keǕxZ_pgqȗu@~?&Xkp dGWΠIENDB`drumgizmo-0.9.20/plugingui/resources/stddev_vertical_disabled.png0000644000076400007640000000042513557533540022317 00000000000000PNG  IHDR,PbKGD pHYs  tIME#ziTXtCommentCreated with GIMPd.eyIDAT8c` oP+EL (1~T.* gJqY,T F,,l\"uΔQb2LO$o8** *#F>$b*=IENDB`drumgizmo-0.9.20/plugingui/resources/fontemboss.png0000644000076400007640000004552613557533540017500 00000000000000PNG  IHDR]еW pHYs+ IDATx]ix~{f2dI @!.B@A@Q7YDDeAQDv\",/ a  ȒH ~twttIީgf}ԩSUu@ r`́U&[a=/QM~Jrl/Wp[U+2Jێ˒eL=)u`/r+%29HSQk)+c*.=S۠*)?+bo=/ޕՁOmV(go'*q?H9ؔYZnEءdU&iJ8jy{;UuaOyeuMWV|5XeQRyY_k^~-Y{Lr쥏NE2jHYfmC,__sj%gرcǎMvqqy pҤIl@ok oeSJl,#g[5vȑՃ@G /ȶY?TնG5C5)UѾR]`JfJrwԎeeVutT%ecq\Gyջ2:I-۪W^euJ2&أrؔGZnEءdU&iJ8jy{;UuaOyeuMWV|5XeQRyY_5jdG%}J#{RN)ζ8=?RSw1~V_Me'j@D𥉉EDӉ(RKDD=!|$@%D:"#(چok\V[{j mJ6)[ ۪$/YX= K-dVjۣ[ZU-; UͨKm mlV/Я\q,󟿺lNns`tLt DF$Gp%2&(fr+0 {  K2*ĕ(3|%{(5k_E|>3Ȧ`c!2p@7,`SeY".I?"`S![2ܧ#$ 8 }ٴ<ޞɤ2^FXv/N"K!ڳR6` ,}1T&/`BI HP{f*Pf 8+k Q^OF|8, h +m U~ Qjr uߟOg<J{G;^ }%gEN*J~H|B'J_I ƕˠGivQzl6 [eJ~DEe/9*`97HT[ρ90Y{{{߰x{E!V oKa&;>?z`D;9s|[%r`5R>DQ)4z?,&~ LtSkw*(#NKJE >ߖk4G ϣ%ۓlBl99ɁL=,"o/R`/)h1/$ +$G*GVc\[bc5THVS_; tT[IۡJ{_o{USl(lb5T:&S6;g:0*DZoׯ_wkժ / &Nx;[0aB"qEb^0Ad2eN2ԩSQ_陱tD3C"*}nnnv!ՠ:v츾u֭[oNuֆׯoӦ͹-[dUYU0!ј+yK.~ZĽo?3Ǯ\.%%%m۶Kul*UFJxoٲeҾ}߽{w /ph4f4]߾}ӧئ5kּֿ_WӧoEEٰaܬRRRVwTkvpD;ڿ7o\tY֥VZo6l}gddlܾ}Ν;tP3(((I&AAA 5??ӹsڴisd2g8kn޼~ƍL&C1_"8a„DFSa,Q!#ap„ gD>j LK (ԑ-' UW10!PEB,Y]FFƚK.=zjZO;nvچ_|dSZj ɓ7Pj*[77nЩS`]t9|չ>ӼyGR돈<==st[nUb:\5ihkڴ 6>..v;۷oh4>.Ptf9}۶mD.+)2߹sglνxbkEߺu;v\gi>Y!Y`O y¬qPGepHl"&'L#mh6 S^Ee/9j0s=Lߚ5kF*8v`́YG8;;7{{{իשwnx7~}>[}ˬYyxxd :R䔿bŊ_̙󫫫#V^%...Ν/!!gFS+&E5 C΂ ,X`sNiҺeϞ={UtF)S~_h''1^ݩ5~~~7$86h \l60`ѻw۷q|WI """b[l'M%''iذ̂ 99EEE׫Wӳg"uΝ;-< I y<wʕ+{ì#N Ëj՚yҥm'i5ZJMM}f͚?իWj D..y?p!99o q֦rv= x2qnxb9\/ hժ3g mҤ,VFkӦMWy6۶m{GChw^M_zu|ppG999Ns|uDpqFߐzoڤ~[n`/I&=ndzw1cF$i8 R4y3ӧOqA!voe˖>| 9L=Zp$ri߾}ݻwqzswh"O.+,,l?y̅ njѼϽ{cԨQ\|׮]5--S``zŴiӦ]޽g_r*r9|Eb[jtւ_Mw޷|ɩyyyN 7~_,X,++7ۄ1xv޼yO?[0soܸ'>ygeeۛǍUܹ󁬬Sk׮tڹsg8!!!^!#CBB&8\cݺu/[ .A[`A[$v6zjǏ^rrrڵkųfAkԨq0::͛7֭#G֊Dxʕ  8nT8s΁5qO>rXvN=]vy:;;g_|9QR2> WkߦlgѣGO9s|S;/ዴ%qqq"##=W\&𽓓ݻ_۰aC-!+QN+cR݁q !ԁV˗/?-%%{xx_jj28p`^'իC]\\~`g[BVd2"zj|.9r%ilڲ uQQFn^U`/m۴M07m4.Iiii|||O8e0JY>*36\dcο{hD 2tc-ڥBLk hOI9x| q\͏a3q+ jwiy[fk3 |`V_:uNk.v2eddx(dٲ]].CrVvZiR OD'~W6:0*c/TD "q…>l|X^{1΢#8L~?uʔ)uxȐ!/if}xx웮D4@Դi#z:%ϞnҤa1nmٳGoogn/GdrX^/}v v^_믿6۷/B6mOD$EX`Ak PVDDDdJ+/-qgStOU™n{kԨ(>>SoϯQFNNN`VGΛ7>v|U7|}}oϜ9bED3g{ [E"r^{m;knM4DDmox3*9D/^ I)&&fG۶moSnzMGWD˗[ ϟ G䴂eRz 0"R,??gw}\aB+OOχ]O }vS6quuͽyxWW\[% k5^->4E Wg8~^ ~۠|I.W_ ߿VKz~~~-2V>g<7ĭ'J- \>%>@Rrr؅tGVdc"~3҉[pS #aUwڀogJc/;Ԁ'8/^4 f5Ts`ҷƋ4YuQƣ>}f}YNbYfm 6 roߑ~~~›ZalYv~+DDo޼1669V-\bƍKeK)i?DhԩS 3mڴ i|nܸqk)&> /'z4Q`f!;K._ܹ>>>6Ɯ9sv dܱcR"*x5HVB7Νk-i>%p>? kڷoJDJcӖϖѡ294 mS6^ 2} p!ڵk\zVv*G.khåK7ljXXXS|/AGxT"ǚZn}9q={-]kk>tE`-W0lذm>@={dw5!͏l̲%"o=|}[~}v.8O ̖PN- zXbbs ZP6:;;=zlkҶm;vx~w!qE&L8Eoo,"j.' C_ٳg?T }t)6fs E""D+|+Wtd9xw=֯_?|{(99ɓnF"j-OnݾرU)xQh篐]Q-\"??i&~AE_x/ߔWjcǎKxkDdƍ N$ V[ye"ްa{?p S)$l7)~C򰕈Ȣ}N".Ubz>wƌ{DQFGy睵B]]]tr[N8nݺ)Ys<'ggUV}k׮9ð?~Whå$7xq66R[2"J\ W3/2^VZ.\@D1cƮ rzi4T3d회^۷_ղe["GݻTαcǂ%[jժն ovk`x Wn[XG^re@DرcÒn[G6*!".:::O>{n@֭w}1gb J8iҤIФImN SνSuԹKD!J8mڴٛcr i#""2z9GFVM~'ne˖i]tR._yÖIYZF5##ck. :u$ݸq)Sذab^zz뭟׎1}czŝwޚs7uŊK=z_~6mv#?׿6B͚5;y֭S ׿uYfIDG&5i̍7V;Gf۶myry5m̍7b 6<ЫWiii#;U^"VvӃ>N:??:ujq\Q~.n5j櫬mm9i7vv,::hV||رcF) qqq+Du uM&ӃY9Vqqq+ر6888{ܸq6[pNn3V\:h^ &yԝ/r\ځ90f[J5M1cz}a׮]χcV&LXڴi3○}gIx AճFcf5(M1w^-: k֬,-LDDԇ>* VZh4իWCH}i}g[߆aÆwqq)`19->.$F |L^_f͚^^^+cڵkY"~6mڬi۶%/4hQ"٪u۷om2y{j}:\]]s~R IDAT{DNmӯDdH!wB/K\y ,ܷV^%oi6O81~k"j^_V+>e!r;qdVxoCٳ?+ǚZ0ɔ9xk֬Y|VVU%'95LcRHR@^u Cy<"hѢ_P```O"u§U͚5oL6'Xy`0䅇g 'Hx-LvO?#y!J3f'vڗ sG_~eCfSi~L yR&nժmYHaaaL#+[ĝ }[&uԹtU[4""$'b:((((gz޽iiiۻtZV"~)WZmKv~H|ӓO>y}*kAbD4cǎU^7o޼߈?ްaCCݻw@D֠GbbmڴwԻw ~~~DTSȿ_qol|}b4WJj4~Az~&Rql07mڴ9ܼyxxnEFFSqqq5 `h֬YをMAiG6lBJJj{Yظqϰhڂ\rCDayyy_}WtH5n c.=KWOL&av/wwǏw +ƍ[ӧO6,,*4l÷K믿)q*'֭[Z~B%DZ4pM*&O/\Yb'PY3"!"?m۶m.9?s 8"D4v9۷otqqɽ~z"ٳ: Ǐ'"m۶},1))i HfżN/,,$DD.ѣo 7KuСrKѣGsbbs͛Ç_1 Ŏ^/pBw"rݰai~{ypׯߛB,T-'m„ BBBn@hhho(92VZ~:U^=zz}DEE#&&&x7!ȹ. l QϞ=? -ޭDZ׵jzЫWD,44ӧoܸ͛_prr]v]Ts`ҷdq-S'NzܹСCDm<NNW$7tDBD!Q&>t˗/{CBB؇AZټ^%UD4؇zF1kժU_ƬcǎPWN>"Nќ9s~Kg-(qJaYr~EѷD==+1M+h )֫ ;v ~RB|cKetLj~ǿx K^puu͒V<9uꔧ;uꔧdZ N0e[AjpuTZ}S NӦM7kԨq|P& 3µZm˧ddرsٜ~Eu1h4}G%VEϛ7/d2Z٦-oQ'&)w,5~nnnRYƎl4%"#:DM]pa;>~Qv,@f'''b~F:PVPVoQbreddd4svvKNN 7vqq斓'M h4Ξ=h|( )'W^*W~.b>'8 ,ֱUDJDs)}}:Lw~~~8+vޜ.1Oe(ҥ6`w@;sLgz899UCz}c$6ruu}|љl:V^BaӦM_mѣDD?N'9Ui.-rjjjVZֽ{D"ґC/\h̃$MqƿߚVǎSi-ZvhGD۷ofmQ.2Gn?o/4BCCϏ1PHH#F"f\92c%%%0` ܹsN35ȔQ6^mK#S??; ̩K$SG庳#8bĈCjպ0bĈC7`HHHX%/nIubMM&ä`2|G~y2|y<}}}㭷zNZ sss{$ǗڎM[N?"Ooʱ2,H&Gy08 " nj,5FD-`ʔ)be+#Fv"444ݡKAaa͚5K.ñVwzw@ "DOɿCWVL bNMM-]?1v"hΜ9}L&SVbb6N0kSQBɃnk4pGp*(SN$]ڵ-"J q\.OSի>|~N7}W>W=rرx^?cǎ+|||nzPtttLNWm6/i֭[}Ʌq\#_j8+e˖g[n\ń5k/111qW G8hϞ=;433EƟ<1is|r7lpoEs9K8.o޽ 9ԩSڴis{Rt:ծ]{qy8qGVq'8nÇ2 1lذΜ9󸯯<|eEaĈ[8siii >dff 2R<\ Z"""(**>SKY믿I&]&v27soffVVmo߮:>q\͛z}qEFF޿[,0~| o"_n#GLN9rS~0_lٲe|%R~AAA?VVo߾%ޜeC\\ܴFevs6y7]VAs:5o&ب'q9[q\GGGؿ?9r:uKetgfΜr||.]qcqq9[qءN(EQaÆYoذaq\hƌc222jxݻg-Nd@@@VXXqoo܈BЇ!!!ׯ4mLL̊'xѣjNLL <8!|ߔ;uyXXأ~.Zll{W+q8qw qjρVZ?~իW,W^mcsr2 CҥKk |XLeggouttvv.\r/lڴ8.d*^z饤/ULB8NvEk׮5 ܥsm۶ !!ٹPwqq)LHHk֬)U5j4֭[o0`e^2!SVC~~~9'G 22rlk׮W5ZoN ~~~9SLߢE_7n2pf͚Y1rscǎmTw>|xYfpq\*qy@J̷jP4{Mzꩍ58IHH/Kk.g;;;_ѣG˗/Ĺ%qψB عsAAA9NNN?qzܸq~jղ:'qjBBB:th3TΩZGfffN3fff&rV9R:߮W޳~5:Z}Ԅ }Q!e:p 333Q333ZA"##wtO?=̘1c2|ȗ3V)Fbz}xeJڵk'߿֭[?pss ;ľ ٳ{kk>tE` ǁ㸎ѣG^e+c.\F͚5w}з~{`0(=;Sf.((8 z>zUZ&ƩY-ǸqQF}/兆>h߾ZD7𲟟CleV[Ʈ`~F_}#U_//#Fg#G~,l9-8D jѢ=z8%;w|iӦ0v]d;GX&33n|~"D4An2>#..n{tu69cbbDEEfu6Lٟ~ n =ڵk^2>OwO?^ޒysY/y,N[9R<==sDFFf` з~K//۷o kժzqL"O"""9))iD{zz>m{4hkF)Zv'J}od5jte˖(66vmTTF 2:͝;wmMsgڴi;7|!7ް8˕+=zfsg9oNԻw2icFcvZZZHKKh4b86 ɓ'ߑ Gn(zqEҳC 9j9~?~u랔E 48wSZn}CĢoo v9|QTTQQQ7h0+Yf~t_C-[Lk۶m?*ձD1XHD}lOˤUߪh֬;~;>>~aÆ طC[lY/Ʀ} WjG9;0mC Y*3 q|ܸq}}$tSA׮] ..F)?#v̺w:r:w|㸢_|$'7NDOV"8šTNo0rzy9--mYXXXJfvr DO<ĵN:%@Nڶm{ER9+t6D`xŊHݻwY=V[j o&%%*q\\\ e;vYfV-0 ۷o<++Z-[֊u:]~xxխ[&ҥKNoEdkڢ~)F&Ú6msz}n&MSSSe˶1c~!:2JyK$ťvb;^z>5 N3dO߽{mFNѩСCfsWk"& rذLY\+W:hڢUVa9O~JЖ-[H\ 9M4鷀+)[xxrnnn҅=$Y+Zhܸqܲ ݻ.qر]\\CBB^xƅ\j/_1 xm̓'ON Nj֮]Z'N_zt3dȐ%4K#~wk֬yC&VǑ#GjN8{1ŋDڵk_t;w>f-?ѢEvLrs ^x"N"իW@˖-ϟ >䓏`֬Y ~r}?w_c̝;wڸql:WWW8park""=Ṕ90Kߒ/\0/ #FDDyuԹ_|rB.]u:]~۶m]ԣ8QFuww!~ W|Ga+'۾j9lx5,GÆ /k4&M\"|C%60L;E:s_fmi2?~|$w3 IDAT ryxzz[zRJS04000BeVvYl99́L%qKy: AGov%;SWv VM_29%"S6x%Θ1cԯV%l̙{]]]i4[{ݺrٞZmA``|%|z,o7T+ך]٘r 48ߺuKNNNy9rdY+}mԼysZ@nf͚߾ht`́U,!7]hIB<<"'y %"z}EO+F;"!DB7~\l63Y}l6gΛ7 JD͚5KWhC"ZH2g"'M%~JB-1c+Wv+AOD5h o1+•o"+5]!k2x(+V rexW_T """YDm@jS%K󳆫0e}~ȑ}}}_>j"4#ڵk@2S$YB.+}J2+w#Y Lnʴk Gj^ K!,5Bk/"zBr`LUQ#yH"Z.|Fsֱ-{Jdy0"ZFDӦMfC/?" HDI|P)&ھ%/hAʑ∿Nd{N_?5$2\vPh"H¹9 ?&lğ+m C?+ #C|_~Zї]M[)\[ J8ZKd?VYݤ6T#~q7{y=_'Ti:%JyYD4I(KKQF?yNI&}B2s AQDrb?~Bg0 GC$:M&ƌ'rVZd2$"k8| ;Nl>BUK;0,}K'"'ON$~.\HS };D"+O.b"5fp3f\kYYe)9UZӓ 1ⷭHo'}dȯ3]h(~+ ?O)/ u [?̃u/W"oJx3lHy\V:_mPft(O6&) \mnܸqSabbdϖ5+#M8GoOe<@ ~D A"2Ke _29L)6[׷$kJX#}D{$^իvrr*LJJ,kE"0O.$*ѕYkL7?&Id+ʾ6ofD=t\.]RSSsqq9|pkgs`q7qb 6Q< D 3322X+`ϛekqykrI j׶ٽd'%9+5F^yuڙqѢE?Fׯ__ g;t |4eLNY[^[-"절58DUjj9HcoJUmY)Ą<,i޼/^4'|q4"ReG{]*0@rt:TDAOTTjwwݻw&;whGa1>jmbeVs`ҷdq^>vS 4 &wNv&[ݎ#G>qj٣GN2eJOkn\^ٕVa>OIvq?tѢEk{f999.1w+b fxxxٷoPY111Oofddm4Jk<}=}ÿ3@ q9wZ: 5_P3)#~%7㸯Ϋs`0WīZ{/jߺu&FiC=7yQg?pXd h x$ܚK#:CT'))iСC:uLZNsϝOvk4唦ۣ ɱG أ/jaʒU{Nm6y2\P"}YDO8駟1_jWŶ]믿>7~>tU֙1Uz{{?ܻw龜K.]) oh8 +ɋ/Vߪ6v`́Yb_I |<㐃v=feNV} vwSUyAoK\ִ @x*.fuKۚV-M+cW4_ҳgΝ @7sY^^^k_HKl*(Og/ʶ?wlKeVu"9trys`r|(_75%-QS{NJrl/Wp[U+2,~k^o#Ew–mKW^c^zV*KVer쑦4i!IrUu!YDHآK&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ noinst_PROGRAMS = plugingui$(EXEEXT) subdir = plugingui ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = LTLIBRARIES = $(noinst_LTLIBRARIES) am__DEPENDENCIES_1 = libplugingui_la_DEPENDENCIES = $(top_builddir)/dggui/libdggui.la \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) am__objects_1 = libplugingui_la-abouttab.lo \ libplugingui_la-bleedcontrolframecontent.lo \ libplugingui_la-diskstreamingframecontent.lo \ libplugingui_la-drumkitframecontent.lo \ libplugingui_la-drumkittab.lo libplugingui_la-filebrowser.lo \ libplugingui_la-humaniservisualiser.lo \ libplugingui_la-humanizerframecontent.lo \ libplugingui_la-maintab.lo libplugingui_la-mainwindow.lo \ libplugingui_la-pluginconfig.lo libplugingui_la-powerwidget.lo \ libplugingui_la-resamplingframecontent.lo \ libplugingui_la-sampleselectionframecontent.lo \ libplugingui_la-statusframecontent.lo \ libplugingui_la-timingframecontent.lo \ libplugingui_la-visualizerframecontent.lo \ libplugingui_la-voicelimitframecontent.lo am_libplugingui_la_OBJECTS = $(am__objects_1) nodist_libplugingui_la_OBJECTS = libplugingui_la-resource_data.lo libplugingui_la_OBJECTS = $(am_libplugingui_la_OBJECTS) \ $(nodist_libplugingui_la_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = libplugingui_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link \ $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ PROGRAMS = $(noinst_PROGRAMS) am_plugingui_OBJECTS = plugingui-testmain.$(OBJEXT) \ plugingui-hugin.$(OBJEXT) plugingui_OBJECTS = $(am_plugingui_OBJECTS) plugingui_DEPENDENCIES = libplugingui.la $(top_builddir)/src/libdg.la \ $(top_builddir)/src/libnls.la plugingui_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(plugingui_CXXFLAGS) \ $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CXXFLAGS) $(CXXFLAGS) AM_V_CXX = $(am__v_CXX_@AM_V@) am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) am__v_CXX_0 = @echo " CXX " $@; am__v_CXX_1 = CXXLD = $(CXX) CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) am__v_CXXLD_0 = @echo " CXXLD " $@; am__v_CXXLD_1 = SOURCES = $(libplugingui_la_SOURCES) $(nodist_libplugingui_la_SOURCES) \ $(plugingui_SOURCES) DIST_SOURCES = $(libplugingui_la_SOURCES) $(plugingui_SOURCES) RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ ALSA_CFLAGS = @ALSA_CFLAGS@ ALSA_LIBS = @ALSA_LIBS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEBUG_FLAGS = @DEBUG_FLAGS@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DL_CFLAGS = @DL_CFLAGS@ DL_LIBS = @DL_LIBS@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_STORE = @FLOAT_STORE@ GREP = @GREP@ GUI_CPPFLAGS = @GUI_CPPFLAGS@ GUI_LIBS = @GUI_LIBS@ INPUT_PLUGINS = @INPUT_PLUGINS@ INPUT_PLUGIN_DIR = @INPUT_PLUGIN_DIR@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ JACK_CFLAGS = @JACK_CFLAGS@ JACK_LIBS = @JACK_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ LV2DIR = @LV2DIR@ LV2_CFLAGS = @LV2_CFLAGS@ LV2_LIBS = @LV2_LIBS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJC = @OBJC@ OBJCDEPMODE = @OBJCDEPMODE@ OBJCFLAGS = @OBJCFLAGS@ OBJCXX = @OBJCXX@ OBJCXXDEPMODE = @OBJCXXDEPMODE@ OBJCXXFLAGS = @OBJCXXFLAGS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ OUTPUT_PLUGINS = @OUTPUT_PLUGINS@ OUTPUT_PLUGIN_DIR = @OUTPUT_PLUGIN_DIR@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SMF_CFLAGS = @SMF_CFLAGS@ SMF_LIBS = @SMF_LIBS@ SNDFILE_CFLAGS = @SNDFILE_CFLAGS@ SNDFILE_LIBS = @SNDFILE_LIBS@ SSEFLAGS = @SSEFLAGS@ STRIP = @STRIP@ VERSION = @VERSION@ VST_CPPFLAGS = @VST_CPPFLAGS@ VST_SOURCE_PATH = @VST_SOURCE_PATH@ X11_CFLAGS = @X11_CFLAGS@ X11_LIBS = @X11_LIBS@ XEXT_CFLAGS = @XEXT_CFLAGS@ XEXT_LIBS = @XEXT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ ac_ct_OBJC = @ac_ct_OBJC@ ac_ct_OBJCXX = @ac_ct_OBJCXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ dgplugindir = @dgplugindir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = locale DISTDIRS = locale noinst_LTLIBRARIES = libplugingui.la # If you add a file here, remember to add it to plugin/Makefile.mingw32.in RES = \ $(top_srcdir)/plugingui/resources/bg.png \ $(top_srcdir)/plugingui/resources/bypass_button.png \ $(top_srcdir)/plugingui/resources/font.png \ $(top_srcdir)/plugingui/resources/fontemboss.png \ $(top_srcdir)/plugingui/resources/help_button.png \ $(top_srcdir)/plugingui/resources/knob.png \ $(top_srcdir)/plugingui/resources/logo.png \ $(top_srcdir)/plugingui/resources/png_error \ $(top_srcdir)/plugingui/resources/progress.png \ $(top_srcdir)/plugingui/resources/pushbutton.png \ $(top_srcdir)/plugingui/resources/sidebar.png \ $(top_srcdir)/plugingui/resources/slider.png \ $(top_srcdir)/plugingui/resources/stddev_horizontal.png \ $(top_srcdir)/plugingui/resources/stddev_horizontal_disabled.png \ $(top_srcdir)/plugingui/resources/stddev_vertical.png \ $(top_srcdir)/plugingui/resources/stddev_vertical_disabled.png \ $(top_srcdir)/plugingui/resources/switch_back_off.png \ $(top_srcdir)/plugingui/resources/switch_back_on.png \ $(top_srcdir)/plugingui/resources/switch_front.png \ $(top_srcdir)/plugingui/resources/tab.png \ $(top_srcdir)/plugingui/resources/thinlistbox.png \ $(top_srcdir)/plugingui/resources/topbar.png \ $(top_srcdir)/plugingui/resources/toplogo.png \ $(top_srcdir)/plugingui/resources/vertline.png \ $(top_srcdir)/plugingui/resources/widget.png \ $(top_srcdir)/plugingui/../ABOUT \ $(top_srcdir)/plugingui/../ABOUT.fr \ $(top_srcdir)/plugingui/../AUTHORS \ $(top_srcdir)/plugingui/../AUTHORS.fr \ $(top_srcdir)/plugingui/../BUGS \ $(top_srcdir)/plugingui/../BUGS.fr \ $(top_srcdir)/plugingui/../COPYING @WITH_NLS_TRUE@NLS_RES = \ @WITH_NLS_TRUE@ $(top_builddir)/plugingui/locale/da.mo \ @WITH_NLS_TRUE@ $(top_builddir)/plugingui/locale/fr.mo rcgen_verbose = $(rcgen_verbose_@AM_V@) rcgen_verbose_ = $(rcgen_verbose_@AM_DEFAULT_V@) rcgen_verbose_0 = @echo " RCGEN "$@; BUILT_SOURCES = \ resource_data.cc \ $(NLS_RES) CLEANFILES = \ resource_data.cc \ $(NLS_RES) libplugingui_la_CPPFLAGS = \ $(DEBUG_FLAGS) \ -I$(top_srcdir) \ $(GUI_CPPFLAGS) \ -I$(top_srcdir)/hugin \ -I$(top_srcdir)/src \ -DWITH_HUG_MUTEX $(PTHREAD_CFLAGS) \ -DLODEPNG_NO_COMPILE_ENCODER \ -DLODEPNG_NO_COMPILE_DISK \ -DLODEPNG_NO_COMPILE_ANCILLARY_CHUNKS \ -DLODEPNG_NO_COMPILE_ERROR_TEXT \ -DLODEPNG_NO_COMPILE_CPP libplugingui_la_CFLAGS = libplugingui_la_LIBTOOLFLAGS = --tag=CC libplugingui_la_LIBADD = \ $(top_builddir)/dggui/libdggui.la \ $(GUI_LIBS) $(PTHREAD_LIBS) # If you add a file here, remember to add it to plugin/Makefile.mingw32.in GUI_SRC = \ abouttab.cc \ bleedcontrolframecontent.cc \ diskstreamingframecontent.cc \ drumkitframecontent.cc \ drumkittab.cc \ filebrowser.cc \ humaniservisualiser.cc \ humanizerframecontent.cc \ maintab.cc \ mainwindow.cc \ pluginconfig.cc \ powerwidget.cc \ resamplingframecontent.cc \ sampleselectionframecontent.cc \ statusframecontent.cc \ timingframecontent.cc \ visualizerframecontent.cc \ voicelimitframecontent.cc GUI_HDR = \ abouttab.h \ bleedcontrolframecontent.h \ diskstreamingframecontent.h \ drumkitframecontent.h \ drumkittab.h \ filebrowser.h \ humaniservisualiser.h \ humanizerframecontent.h \ labeledcontrol.h \ maintab.h \ mainwindow.h \ pluginconfig.h \ powerwidget.h \ resamplingframecontent.h \ sampleselectionframecontent.h \ statusframecontent.h \ timingframecontent.h \ visualizerframecontent.h \ voicelimitframecontent.h libplugingui_la_SOURCES = \ $(GUI_SRC) nodist_libplugingui_la_SOURCES = \ $(top_builddir)/plugingui/resource_data.cc plugingui_LDADD = \ libplugingui.la \ $(top_builddir)/src/libdg.la \ $(top_builddir)/src/libnls.la plugingui_CXXFLAGS = \ $(DEBUG_FLAGS) \ $(GUI_CPPFLAGS) \ $(SNDFILE_CXXFLAGS) \ $(PTHREAD_CFLAGS) \ -I$(top_srcdir) \ -I$(top_srcdir)/src \ -I$(top_srcdir)/hugin plugingui_CFLAGS = $(plugingui_CXXFLAGS) plugingui_SOURCES = \ testmain.cc \ $(top_srcdir)/hugin/hugin.c EXTRA_DIST = \ $(RES) \ $(GUI_HDR) all: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: .SUFFIXES: .c .cc .lo .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu plugingui/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu plugingui/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): clean-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libplugingui.la: $(libplugingui_la_OBJECTS) $(libplugingui_la_DEPENDENCIES) $(EXTRA_libplugingui_la_DEPENDENCIES) $(AM_V_CXXLD)$(libplugingui_la_LINK) $(libplugingui_la_OBJECTS) $(libplugingui_la_LIBADD) $(LIBS) clean-noinstPROGRAMS: @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \ echo " rm -f" $$list; \ rm -f $$list || exit $$?; \ test -n "$(EXEEXT)" || exit 0; \ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list plugingui$(EXEEXT): $(plugingui_OBJECTS) $(plugingui_DEPENDENCIES) $(EXTRA_plugingui_DEPENDENCIES) @rm -f plugingui$(EXEEXT) $(AM_V_CXXLD)$(plugingui_LINK) $(plugingui_OBJECTS) $(plugingui_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libplugingui_la-abouttab.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libplugingui_la-bleedcontrolframecontent.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libplugingui_la-diskstreamingframecontent.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libplugingui_la-drumkitframecontent.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libplugingui_la-drumkittab.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libplugingui_la-filebrowser.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libplugingui_la-humaniservisualiser.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libplugingui_la-humanizerframecontent.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libplugingui_la-maintab.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libplugingui_la-mainwindow.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libplugingui_la-pluginconfig.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libplugingui_la-powerwidget.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libplugingui_la-resamplingframecontent.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libplugingui_la-resource_data.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libplugingui_la-sampleselectionframecontent.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libplugingui_la-statusframecontent.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libplugingui_la-timingframecontent.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libplugingui_la-visualizerframecontent.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libplugingui_la-voicelimitframecontent.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/plugingui-hugin.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/plugingui-testmain.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< plugingui-hugin.o: $(top_srcdir)/hugin/hugin.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(plugingui_CFLAGS) $(CFLAGS) -MT plugingui-hugin.o -MD -MP -MF $(DEPDIR)/plugingui-hugin.Tpo -c -o plugingui-hugin.o `test -f '$(top_srcdir)/hugin/hugin.c' || echo '$(srcdir)/'`$(top_srcdir)/hugin/hugin.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/plugingui-hugin.Tpo $(DEPDIR)/plugingui-hugin.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(top_srcdir)/hugin/hugin.c' object='plugingui-hugin.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(plugingui_CFLAGS) $(CFLAGS) -c -o plugingui-hugin.o `test -f '$(top_srcdir)/hugin/hugin.c' || echo '$(srcdir)/'`$(top_srcdir)/hugin/hugin.c plugingui-hugin.obj: $(top_srcdir)/hugin/hugin.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(plugingui_CFLAGS) $(CFLAGS) -MT plugingui-hugin.obj -MD -MP -MF $(DEPDIR)/plugingui-hugin.Tpo -c -o plugingui-hugin.obj `if test -f '$(top_srcdir)/hugin/hugin.c'; then $(CYGPATH_W) '$(top_srcdir)/hugin/hugin.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/hugin/hugin.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/plugingui-hugin.Tpo $(DEPDIR)/plugingui-hugin.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(top_srcdir)/hugin/hugin.c' object='plugingui-hugin.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(plugingui_CFLAGS) $(CFLAGS) -c -o plugingui-hugin.obj `if test -f '$(top_srcdir)/hugin/hugin.c'; then $(CYGPATH_W) '$(top_srcdir)/hugin/hugin.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/hugin/hugin.c'; fi` .cc.o: @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< .cc.obj: @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cc.lo: @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $< libplugingui_la-abouttab.lo: abouttab.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libplugingui_la-abouttab.lo -MD -MP -MF $(DEPDIR)/libplugingui_la-abouttab.Tpo -c -o libplugingui_la-abouttab.lo `test -f 'abouttab.cc' || echo '$(srcdir)/'`abouttab.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libplugingui_la-abouttab.Tpo $(DEPDIR)/libplugingui_la-abouttab.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='abouttab.cc' object='libplugingui_la-abouttab.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libplugingui_la-abouttab.lo `test -f 'abouttab.cc' || echo '$(srcdir)/'`abouttab.cc libplugingui_la-bleedcontrolframecontent.lo: bleedcontrolframecontent.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libplugingui_la-bleedcontrolframecontent.lo -MD -MP -MF $(DEPDIR)/libplugingui_la-bleedcontrolframecontent.Tpo -c -o libplugingui_la-bleedcontrolframecontent.lo `test -f 'bleedcontrolframecontent.cc' || echo '$(srcdir)/'`bleedcontrolframecontent.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libplugingui_la-bleedcontrolframecontent.Tpo $(DEPDIR)/libplugingui_la-bleedcontrolframecontent.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='bleedcontrolframecontent.cc' object='libplugingui_la-bleedcontrolframecontent.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libplugingui_la-bleedcontrolframecontent.lo `test -f 'bleedcontrolframecontent.cc' || echo '$(srcdir)/'`bleedcontrolframecontent.cc libplugingui_la-diskstreamingframecontent.lo: diskstreamingframecontent.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libplugingui_la-diskstreamingframecontent.lo -MD -MP -MF $(DEPDIR)/libplugingui_la-diskstreamingframecontent.Tpo -c -o libplugingui_la-diskstreamingframecontent.lo `test -f 'diskstreamingframecontent.cc' || echo '$(srcdir)/'`diskstreamingframecontent.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libplugingui_la-diskstreamingframecontent.Tpo $(DEPDIR)/libplugingui_la-diskstreamingframecontent.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='diskstreamingframecontent.cc' object='libplugingui_la-diskstreamingframecontent.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libplugingui_la-diskstreamingframecontent.lo `test -f 'diskstreamingframecontent.cc' || echo '$(srcdir)/'`diskstreamingframecontent.cc libplugingui_la-drumkitframecontent.lo: drumkitframecontent.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libplugingui_la-drumkitframecontent.lo -MD -MP -MF $(DEPDIR)/libplugingui_la-drumkitframecontent.Tpo -c -o libplugingui_la-drumkitframecontent.lo `test -f 'drumkitframecontent.cc' || echo '$(srcdir)/'`drumkitframecontent.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libplugingui_la-drumkitframecontent.Tpo $(DEPDIR)/libplugingui_la-drumkitframecontent.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='drumkitframecontent.cc' object='libplugingui_la-drumkitframecontent.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libplugingui_la-drumkitframecontent.lo `test -f 'drumkitframecontent.cc' || echo '$(srcdir)/'`drumkitframecontent.cc libplugingui_la-drumkittab.lo: drumkittab.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libplugingui_la-drumkittab.lo -MD -MP -MF $(DEPDIR)/libplugingui_la-drumkittab.Tpo -c -o libplugingui_la-drumkittab.lo `test -f 'drumkittab.cc' || echo '$(srcdir)/'`drumkittab.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libplugingui_la-drumkittab.Tpo $(DEPDIR)/libplugingui_la-drumkittab.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='drumkittab.cc' object='libplugingui_la-drumkittab.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libplugingui_la-drumkittab.lo `test -f 'drumkittab.cc' || echo '$(srcdir)/'`drumkittab.cc libplugingui_la-filebrowser.lo: filebrowser.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libplugingui_la-filebrowser.lo -MD -MP -MF $(DEPDIR)/libplugingui_la-filebrowser.Tpo -c -o libplugingui_la-filebrowser.lo `test -f 'filebrowser.cc' || echo '$(srcdir)/'`filebrowser.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libplugingui_la-filebrowser.Tpo $(DEPDIR)/libplugingui_la-filebrowser.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='filebrowser.cc' object='libplugingui_la-filebrowser.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libplugingui_la-filebrowser.lo `test -f 'filebrowser.cc' || echo '$(srcdir)/'`filebrowser.cc libplugingui_la-humaniservisualiser.lo: humaniservisualiser.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libplugingui_la-humaniservisualiser.lo -MD -MP -MF $(DEPDIR)/libplugingui_la-humaniservisualiser.Tpo -c -o libplugingui_la-humaniservisualiser.lo `test -f 'humaniservisualiser.cc' || echo '$(srcdir)/'`humaniservisualiser.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libplugingui_la-humaniservisualiser.Tpo $(DEPDIR)/libplugingui_la-humaniservisualiser.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='humaniservisualiser.cc' object='libplugingui_la-humaniservisualiser.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libplugingui_la-humaniservisualiser.lo `test -f 'humaniservisualiser.cc' || echo '$(srcdir)/'`humaniservisualiser.cc libplugingui_la-humanizerframecontent.lo: humanizerframecontent.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libplugingui_la-humanizerframecontent.lo -MD -MP -MF $(DEPDIR)/libplugingui_la-humanizerframecontent.Tpo -c -o libplugingui_la-humanizerframecontent.lo `test -f 'humanizerframecontent.cc' || echo '$(srcdir)/'`humanizerframecontent.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libplugingui_la-humanizerframecontent.Tpo $(DEPDIR)/libplugingui_la-humanizerframecontent.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='humanizerframecontent.cc' object='libplugingui_la-humanizerframecontent.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libplugingui_la-humanizerframecontent.lo `test -f 'humanizerframecontent.cc' || echo '$(srcdir)/'`humanizerframecontent.cc libplugingui_la-maintab.lo: maintab.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libplugingui_la-maintab.lo -MD -MP -MF $(DEPDIR)/libplugingui_la-maintab.Tpo -c -o libplugingui_la-maintab.lo `test -f 'maintab.cc' || echo '$(srcdir)/'`maintab.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libplugingui_la-maintab.Tpo $(DEPDIR)/libplugingui_la-maintab.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='maintab.cc' object='libplugingui_la-maintab.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libplugingui_la-maintab.lo `test -f 'maintab.cc' || echo '$(srcdir)/'`maintab.cc libplugingui_la-mainwindow.lo: mainwindow.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libplugingui_la-mainwindow.lo -MD -MP -MF $(DEPDIR)/libplugingui_la-mainwindow.Tpo -c -o libplugingui_la-mainwindow.lo `test -f 'mainwindow.cc' || echo '$(srcdir)/'`mainwindow.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libplugingui_la-mainwindow.Tpo $(DEPDIR)/libplugingui_la-mainwindow.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='mainwindow.cc' object='libplugingui_la-mainwindow.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libplugingui_la-mainwindow.lo `test -f 'mainwindow.cc' || echo '$(srcdir)/'`mainwindow.cc libplugingui_la-pluginconfig.lo: pluginconfig.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libplugingui_la-pluginconfig.lo -MD -MP -MF $(DEPDIR)/libplugingui_la-pluginconfig.Tpo -c -o libplugingui_la-pluginconfig.lo `test -f 'pluginconfig.cc' || echo '$(srcdir)/'`pluginconfig.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libplugingui_la-pluginconfig.Tpo $(DEPDIR)/libplugingui_la-pluginconfig.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='pluginconfig.cc' object='libplugingui_la-pluginconfig.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libplugingui_la-pluginconfig.lo `test -f 'pluginconfig.cc' || echo '$(srcdir)/'`pluginconfig.cc libplugingui_la-powerwidget.lo: powerwidget.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libplugingui_la-powerwidget.lo -MD -MP -MF $(DEPDIR)/libplugingui_la-powerwidget.Tpo -c -o libplugingui_la-powerwidget.lo `test -f 'powerwidget.cc' || echo '$(srcdir)/'`powerwidget.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libplugingui_la-powerwidget.Tpo $(DEPDIR)/libplugingui_la-powerwidget.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='powerwidget.cc' object='libplugingui_la-powerwidget.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libplugingui_la-powerwidget.lo `test -f 'powerwidget.cc' || echo '$(srcdir)/'`powerwidget.cc libplugingui_la-resamplingframecontent.lo: resamplingframecontent.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libplugingui_la-resamplingframecontent.lo -MD -MP -MF $(DEPDIR)/libplugingui_la-resamplingframecontent.Tpo -c -o libplugingui_la-resamplingframecontent.lo `test -f 'resamplingframecontent.cc' || echo '$(srcdir)/'`resamplingframecontent.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libplugingui_la-resamplingframecontent.Tpo $(DEPDIR)/libplugingui_la-resamplingframecontent.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='resamplingframecontent.cc' object='libplugingui_la-resamplingframecontent.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libplugingui_la-resamplingframecontent.lo `test -f 'resamplingframecontent.cc' || echo '$(srcdir)/'`resamplingframecontent.cc libplugingui_la-sampleselectionframecontent.lo: sampleselectionframecontent.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libplugingui_la-sampleselectionframecontent.lo -MD -MP -MF $(DEPDIR)/libplugingui_la-sampleselectionframecontent.Tpo -c -o libplugingui_la-sampleselectionframecontent.lo `test -f 'sampleselectionframecontent.cc' || echo '$(srcdir)/'`sampleselectionframecontent.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libplugingui_la-sampleselectionframecontent.Tpo $(DEPDIR)/libplugingui_la-sampleselectionframecontent.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='sampleselectionframecontent.cc' object='libplugingui_la-sampleselectionframecontent.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libplugingui_la-sampleselectionframecontent.lo `test -f 'sampleselectionframecontent.cc' || echo '$(srcdir)/'`sampleselectionframecontent.cc libplugingui_la-statusframecontent.lo: statusframecontent.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libplugingui_la-statusframecontent.lo -MD -MP -MF $(DEPDIR)/libplugingui_la-statusframecontent.Tpo -c -o libplugingui_la-statusframecontent.lo `test -f 'statusframecontent.cc' || echo '$(srcdir)/'`statusframecontent.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libplugingui_la-statusframecontent.Tpo $(DEPDIR)/libplugingui_la-statusframecontent.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='statusframecontent.cc' object='libplugingui_la-statusframecontent.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libplugingui_la-statusframecontent.lo `test -f 'statusframecontent.cc' || echo '$(srcdir)/'`statusframecontent.cc libplugingui_la-timingframecontent.lo: timingframecontent.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libplugingui_la-timingframecontent.lo -MD -MP -MF $(DEPDIR)/libplugingui_la-timingframecontent.Tpo -c -o libplugingui_la-timingframecontent.lo `test -f 'timingframecontent.cc' || echo '$(srcdir)/'`timingframecontent.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libplugingui_la-timingframecontent.Tpo $(DEPDIR)/libplugingui_la-timingframecontent.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='timingframecontent.cc' object='libplugingui_la-timingframecontent.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libplugingui_la-timingframecontent.lo `test -f 'timingframecontent.cc' || echo '$(srcdir)/'`timingframecontent.cc libplugingui_la-visualizerframecontent.lo: visualizerframecontent.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libplugingui_la-visualizerframecontent.lo -MD -MP -MF $(DEPDIR)/libplugingui_la-visualizerframecontent.Tpo -c -o libplugingui_la-visualizerframecontent.lo `test -f 'visualizerframecontent.cc' || echo '$(srcdir)/'`visualizerframecontent.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libplugingui_la-visualizerframecontent.Tpo $(DEPDIR)/libplugingui_la-visualizerframecontent.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='visualizerframecontent.cc' object='libplugingui_la-visualizerframecontent.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libplugingui_la-visualizerframecontent.lo `test -f 'visualizerframecontent.cc' || echo '$(srcdir)/'`visualizerframecontent.cc libplugingui_la-voicelimitframecontent.lo: voicelimitframecontent.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libplugingui_la-voicelimitframecontent.lo -MD -MP -MF $(DEPDIR)/libplugingui_la-voicelimitframecontent.Tpo -c -o libplugingui_la-voicelimitframecontent.lo `test -f 'voicelimitframecontent.cc' || echo '$(srcdir)/'`voicelimitframecontent.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libplugingui_la-voicelimitframecontent.Tpo $(DEPDIR)/libplugingui_la-voicelimitframecontent.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='voicelimitframecontent.cc' object='libplugingui_la-voicelimitframecontent.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libplugingui_la-voicelimitframecontent.lo `test -f 'voicelimitframecontent.cc' || echo '$(srcdir)/'`voicelimitframecontent.cc libplugingui_la-resource_data.lo: $(top_builddir)/plugingui/resource_data.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libplugingui_la-resource_data.lo -MD -MP -MF $(DEPDIR)/libplugingui_la-resource_data.Tpo -c -o libplugingui_la-resource_data.lo `test -f '$(top_builddir)/plugingui/resource_data.cc' || echo '$(srcdir)/'`$(top_builddir)/plugingui/resource_data.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libplugingui_la-resource_data.Tpo $(DEPDIR)/libplugingui_la-resource_data.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$(top_builddir)/plugingui/resource_data.cc' object='libplugingui_la-resource_data.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(libplugingui_la_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libplugingui_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libplugingui_la-resource_data.lo `test -f '$(top_builddir)/plugingui/resource_data.cc' || echo '$(srcdir)/'`$(top_builddir)/plugingui/resource_data.cc plugingui-testmain.o: testmain.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(plugingui_CXXFLAGS) $(CXXFLAGS) -MT plugingui-testmain.o -MD -MP -MF $(DEPDIR)/plugingui-testmain.Tpo -c -o plugingui-testmain.o `test -f 'testmain.cc' || echo '$(srcdir)/'`testmain.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/plugingui-testmain.Tpo $(DEPDIR)/plugingui-testmain.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='testmain.cc' object='plugingui-testmain.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(plugingui_CXXFLAGS) $(CXXFLAGS) -c -o plugingui-testmain.o `test -f 'testmain.cc' || echo '$(srcdir)/'`testmain.cc plugingui-testmain.obj: testmain.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(plugingui_CXXFLAGS) $(CXXFLAGS) -MT plugingui-testmain.obj -MD -MP -MF $(DEPDIR)/plugingui-testmain.Tpo -c -o plugingui-testmain.obj `if test -f 'testmain.cc'; then $(CYGPATH_W) 'testmain.cc'; else $(CYGPATH_W) '$(srcdir)/testmain.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/plugingui-testmain.Tpo $(DEPDIR)/plugingui-testmain.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='testmain.cc' object='plugingui-testmain.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(plugingui_CXXFLAGS) $(CXXFLAGS) -c -o plugingui-testmain.obj `if test -f 'testmain.cc'; then $(CYGPATH_W) 'testmain.cc'; else $(CYGPATH_W) '$(srcdir)/testmain.cc'; fi` mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) check-recursive all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) installdirs: installdirs-recursive installdirs-am: install: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) clean: clean-recursive clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ clean-noinstPROGRAMS mostlyclean-am distclean: distclean-recursive -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(am__recursive_targets) all check install install-am \ install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic clean-libtool \ clean-noinstLTLIBRARIES clean-noinstPROGRAMS cscopelist-am \ ctags ctags-am distclean distclean-compile distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags tags-am uninstall uninstall-am .PRECIOUS: Makefile @WITH_NLS_TRUE@$(top_srcdir)/plugingui/locale/drumgizmo.pot: $(GUI_SRC) $(GUI_HDR) @WITH_NLS_TRUE@ (cd $(top_srcdir)/plugingui/; $(XGETTEXT) --package-name "$(PACKAGE)" --package-version "$(VERSION)" --copyright-holder="DrumGizmo Team" -k_ -o locale/drumgizmo.pot $(GUI_SRC) $(GUI_HDR) ) @WITH_NLS_TRUE@ grep -v '"POT-Creation-Date:' $(top_srcdir)/plugingui/locale/drumgizmo.pot > $(top_srcdir)/plugingui/locale/drumgizmo.pot.tmp @WITH_NLS_TRUE@ mv $(top_srcdir)/plugingui/locale/drumgizmo.pot.tmp $(top_srcdir)/plugingui/locale/drumgizmo.pot # NOTE: Manually create initial (new) .po file with msginit @WITH_NLS_TRUE@$(top_srcdir)/plugingui/locale/da.po \ @WITH_NLS_TRUE@$(top_srcdir)/plugingui/locale/fr.po: $(top_srcdir)/plugingui/locale/drumgizmo.pot @WITH_NLS_TRUE@ $(MSGMERGE) --update $@ $(top_srcdir)/plugingui/locale/drumgizmo.pot @WITH_NLS_TRUE@$(top_builddir)/plugingui/locale/da.mo: $(top_srcdir)/plugingui/locale/da.po @WITH_NLS_TRUE@ $(MSGFMT) -c -v -o $@ $(top_srcdir)/plugingui/locale/da.po @WITH_NLS_TRUE@$(top_builddir)/plugingui/locale/fr.mo: $(top_srcdir)/plugingui/locale/fr.po @WITH_NLS_TRUE@ $(MSGFMT) -c -v -o $@ $(top_srcdir)/plugingui/locale/fr.po resource_data.cc: $(top_builddir)/dggui/rcgen$(EXEEXT) $(RES) $(NLS_RES) $(rcgen_verbose)$(top_builddir)/dggui/rcgen$(EXEEXT) -s $(top_srcdir)/plugingui/ -s $(top_builddir)/plugingui/ -o $@ $(RES) $(NLS_RES) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: drumgizmo-0.9.20/plugingui/drumkitframecontent.cc0000644000076400007640000001645614100601506017154 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * drumkitframecontent.cc * * Fri Mar 24 21:49:42 CET 2017 * Copyright 2017 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "drumkitframecontent.h" #include #include "pluginconfig.h" #include namespace GUI { BrowseFile::BrowseFile(dggui::Widget* parent) : dggui::Widget(parent) { layout.setResizeChildren(false); layout.setVAlignment(dggui::VAlignment::center); layout.setSpacing(gap); layout.addItem(&lineedit); layout.addItem(&browse_button); browse_button.setText(_("Browse...")); } void BrowseFile::resize(std::size_t width, std::size_t height) { dggui::Widget::resize(width, height); lineedit_width = std::max((int)(0.77 * (int)width - gap), 0); button_width = std::max((int)width - lineedit_width - gap, 0); lineedit.resize(lineedit_width, 29); browse_button.resize(button_width, 30); layout.layout(); } std::size_t BrowseFile::getLineEditWidth() { return lineedit_width; } std::size_t BrowseFile::getButtonWidth() { return button_width; } dggui::Button& BrowseFile::getBrowseButton() { return browse_button; } dggui::LineEdit& BrowseFile::getLineEdit() { return lineedit; } DrumkitframeContent::DrumkitframeContent(dggui::Widget* parent, Settings& settings, SettingsNotifier& settings_notifier, Config& config) : dggui::Widget(parent) , settings(settings) , settings_notifier(settings_notifier) , config(config) { layout.setHAlignment(dggui::HAlignment::left); drumkit_caption.setText(_("Drumkit file:")); midimap_caption.setText(_("Midimap file:")); layout.addItem(&drumkit_caption); layout.addItem(&drumkit_file); layout.addItem(&drumkit_file_progress); layout.addItem(&midimap_caption); layout.addItem(&midimap_file); layout.addItem(&midimap_file_progress); CONNECT(&drumkit_file.getBrowseButton(), clickNotifier, this, &DrumkitframeContent::kitBrowseClick); CONNECT(&midimap_file.getBrowseButton(), clickNotifier, this, &DrumkitframeContent::midimapBrowseClick); CONNECT(this, settings_notifier.drumkit_file, &drumkit_file.getLineEdit(), &dggui::LineEdit::setText); CONNECT(this, settings_notifier.drumkit_load_status, this, &DrumkitframeContent::setDrumKitLoadStatus); CONNECT(this, settings_notifier.midimap_file, &midimap_file.getLineEdit(), &dggui::LineEdit::setText); CONNECT(this, settings_notifier.midimap_load_status, this, &DrumkitframeContent::setMidiMapLoadStatus); CONNECT(this, settings_notifier.number_of_files, &drumkit_file_progress, &dggui::ProgressBar::setTotal); CONNECT(this, settings_notifier.number_of_files_loaded, &drumkit_file_progress, &dggui::ProgressBar::setValue); CONNECT(this, file_browser. defaultPathChangedNotifier, this, &DrumkitframeContent::defaultPathChanged); midimap_file_progress.setTotal(2); file_browser.resize(450, 350); file_browser.setFixedSize(450, 350); } void DrumkitframeContent::resize(std::size_t width, std::size_t height) { dggui::Widget::resize(width, height); drumkit_caption.resize(width, 15); drumkit_file.resize(width, 37); drumkit_file_progress.resize(drumkit_file.getLineEditWidth(), 11); midimap_caption.resize(width, 15); midimap_file.resize(width, 37); midimap_file_progress.resize(drumkit_file.getLineEditWidth(), 11); layout.layout(); } void DrumkitframeContent::kitBrowseClick() { std::string path = drumkit_file.getLineEdit().getText(); if(path == "") { path = midimap_file.getLineEdit().getText(); } if(path == "") { path = config.defaultKitPath; } file_browser.setPath(path); file_browser.fileSelectNotifier.disconnect(this); CONNECT(&file_browser, fileSelectNotifier, this, &DrumkitframeContent::selectKitFile); file_browser.show(); dggui::Point p{ window()->x() + (int)window()->width() / 2, window()->y() + (int)window()->height() / 2 }; auto p0 = window()->translateToScreen(p); auto sz = file_browser.window()->getNativeSize(); file_browser.move(p0.x - sz.width / 2, p0.y - sz.height / 2); file_browser.setAlwaysOnTop(true); } void DrumkitframeContent::midimapBrowseClick() { std::string path = midimap_file.getLineEdit().getText(); if(path == "") { path = drumkit_file.getLineEdit().getText(); } if(path == "") { path = config.defaultKitPath; } file_browser.setPath(path); file_browser.fileSelectNotifier.disconnect(this); CONNECT(&file_browser, fileSelectNotifier, this, &DrumkitframeContent::selectMapFile); file_browser.show(); dggui::Point p{ window()->x() + (int)window()->width() / 2, window()->y() + (int)window()->height() / 2 }; auto p0 = window()->translateToScreen(p); auto sz = file_browser.window()->getNativeSize(); file_browser.move(p0.x - sz.width / 2, p0.y - sz.height / 2); file_browser.setAlwaysOnTop(true); } void DrumkitframeContent::defaultPathChanged(const std::string& path) { config.defaultKitPath = path; config.save(); } void DrumkitframeContent::selectKitFile(const std::string& filename) { config.save(); settings.drumkit_file.store(filename); settings.reload_counter++; } void DrumkitframeContent::selectMapFile(const std::string& filename) { config.save(); settings.midimap_file.store(filename); } void DrumkitframeContent::setDrumKitLoadStatus(LoadStatus load_status) { auto state = dggui::ProgressBarState::Blue; switch(load_status) { case LoadStatus::Idle: case LoadStatus::Parsing: case LoadStatus::Loading: state = dggui::ProgressBarState::Blue; break; case LoadStatus::Done: state = dggui::ProgressBarState::Green; break; case LoadStatus::Error: state = dggui::ProgressBarState::Red; break; } drumkit_file_progress.setState(state); } void DrumkitframeContent::setMidiMapLoadStatus(LoadStatus load_status) { auto state = dggui::ProgressBarState::Blue; switch(load_status) { case LoadStatus::Idle: midimap_file_progress.setValue(0); break; case LoadStatus::Parsing: case LoadStatus::Loading: midimap_file_progress.setValue(1); state = dggui::ProgressBarState::Blue; break; case LoadStatus::Done: midimap_file_progress.setValue(2); state = dggui::ProgressBarState::Green; break; case LoadStatus::Error: midimap_file_progress.setValue(2); state = dggui::ProgressBarState::Red; break; } midimap_file_progress.setState(state); } } // GUI:: drumgizmo-0.9.20/plugingui/humanizerframecontent.cc0000644000076400007640000000676713774323733017526 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * humanizerframecontent.cc * * Fri Mar 24 21:49:58 CET 2017 * Copyright 2017 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "humanizerframecontent.h" #include #include namespace GUI { HumanizerframeContent::HumanizerframeContent(dggui::Widget* parent, Settings& settings, SettingsNotifier& settings_notifier) : dggui::Widget(parent) , settings(settings) , settings_notifier(settings_notifier) { layout.setResizeChildren(false); attack.resize(80, 80); attack_knob.resize(30, 30); attack_knob.showValue(false); attack_knob.setDefaultValue(Settings::velocity_modifier_weight_default); attack.setControl(&attack_knob); layout.addItem(&attack); falloff.resize(80, 80); falloff_knob.resize(30, 30); falloff_knob.showValue(false); falloff_knob.setDefaultValue(Settings::velocity_modifier_falloff_default); falloff.setControl(&falloff_knob); layout.addItem(&falloff); stddev.resize(80, 80); stddev_knob.resize(30, 30); stddev_knob.showValue(false); stddev_knob.setDefaultValue(Settings::velocity_stddev_default/stddev_factor); stddev.setControl(&stddev_knob); layout.addItem(&stddev); layout.setPosition(&attack, dggui::GridLayout::GridRange{0, 1, 0, 1}); layout.setPosition(&falloff, dggui::GridLayout::GridRange{1, 2, 0, 1}); layout.setPosition(&stddev, dggui::GridLayout::GridRange{2, 3, 0, 1}); CONNECT(this, settings_notifier.velocity_modifier_weight, &attack_knob, &dggui::Knob::setValue); CONNECT(this, settings_notifier.velocity_modifier_falloff, &falloff_knob, &dggui::Knob::setValue); CONNECT(this, settings_notifier.velocity_stddev, this, &HumanizerframeContent::stddevSettingsValueChanged); CONNECT(&attack_knob, valueChangedNotifier, this, &HumanizerframeContent::attackValueChanged); CONNECT(&falloff_knob, valueChangedNotifier, this, &HumanizerframeContent::falloffValueChanged); CONNECT(&stddev_knob, valueChangedNotifier, this, &HumanizerframeContent::stddevKnobValueChanged); } void HumanizerframeContent::attackValueChanged(float value) { settings.velocity_modifier_weight.store(value); } void HumanizerframeContent::falloffValueChanged(float value) { settings.velocity_modifier_falloff.store(value); } void HumanizerframeContent::stddevKnobValueChanged(float value) { settings.velocity_stddev.store(value*stddev_factor); } void HumanizerframeContent::stddevSettingsValueChanged(float value) { stddev_knob.setValue(value/stddev_factor); } } // GUI:: drumgizmo-0.9.20/plugingui/drumkitframecontent.h0000644000076400007640000000545214177030654017026 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * drumkitframecontent.h * * Fri Mar 24 21:49:42 CET 2017 * Copyright 2017 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include #include #include #include "filebrowser.h" namespace GUI { class Config; class BrowseFile : public dggui::Widget { public: BrowseFile(dggui::Widget* parent); // From Widget virtual void resize(std::size_t width, std::size_t height) override; std::size_t getLineEditWidth(); std::size_t getButtonWidth(); dggui::Button& getBrowseButton(); dggui::LineEdit& getLineEdit(); private: dggui::HBoxLayout layout{this}; dggui::LineEdit lineedit{this}; dggui::Button browse_button{this}; int lineedit_width; int button_width; int gap{10}; }; class DrumkitframeContent : public dggui::Widget { public: DrumkitframeContent(dggui::Widget* parent, Settings& settings, SettingsNotifier& settings_notifier, Config& config); // From Widget virtual void resize(std::size_t width, std::size_t height) override; void kitBrowseClick(); void midimapBrowseClick(); private: void defaultPathChanged(const std::string& path); void selectKitFile(const std::string& filename); void selectMapFile(const std::string& filename); void setDrumKitLoadStatus(LoadStatus load_status); void setMidiMapLoadStatus(LoadStatus load_status); dggui::VBoxLayout layout{this}; dggui::Label drumkit_caption{this}; dggui::Label midimap_caption{this}; BrowseFile drumkit_file{this}; BrowseFile midimap_file{this}; dggui::ProgressBar drumkit_file_progress{this}; dggui::ProgressBar midimap_file_progress{this}; FileBrowser file_browser{this}; Settings& settings; SettingsNotifier& settings_notifier; Config& config; }; } // GUI:: drumgizmo-0.9.20/plugingui/maintab.h0000644000076400007640000000666213774323733014365 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * maintab.h * * Fri Mar 24 20:39:59 CET 2017 * Copyright 2017 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include "drumkitframecontent.h" #include "statusframecontent.h" #include "humanizerframecontent.h" #include "diskstreamingframecontent.h" #include "bleedcontrolframecontent.h" #include "resamplingframecontent.h" #include "timingframecontent.h" #include "sampleselectionframecontent.h" #include "visualizerframecontent.h" #include "powerwidget.h" #include "voicelimitframecontent.h" struct Settings; class SettingsNotifier; class Config; namespace GUI { class MainTab : public dggui::Widget { public: MainTab(dggui::Widget* parent, Settings& settings, SettingsNotifier& settings_notifier, Config& config); // From Widget: void resize(std::size_t width, std::size_t height) override; private: void humanizerOnChange(bool on); void bleedcontrolOnChange(bool on); void resamplingOnChange(bool on); void timingOnChange(bool on); void powerOnChange(bool on); void voicelimitOnChange(bool status); dggui::Image logo{":resources/logo.png"}; dggui::GridLayout layout{this, 2, 64}; dggui::FrameWidget drumkit_frame{this, false}; dggui::FrameWidget status_frame{this, false}; dggui::FrameWidget diskstreaming_frame{this, false}; dggui::FrameWidget bleedcontrol_frame{this, true}; dggui::FrameWidget resampling_frame{this, true}; dggui::FrameWidget humanizer_frame{this, true, true}; dggui::FrameWidget timing_frame{this, true, true}; dggui::FrameWidget sampleselection_frame{this, false, true}; dggui::FrameWidget visualizer_frame{this, false, true}; dggui::FrameWidget power_frame{this, true, true}; dggui::FrameWidget voicelimit_frame{this, true, true}; DrumkitframeContent drumkitframe_content; StatusframeContent statusframe_content; HumanizerframeContent humanizerframe_content; DiskstreamingframeContent diskstreamingframe_content; BleedcontrolframeContent bleedcontrolframe_content; ResamplingframeContent resamplingframe_content; TimingframeContent timingframe_content; SampleselectionframeContent sampleselectionframe_content; VisualizerframeContent visualizerframe_content; PowerWidget powerframe_content; VoiceLimitFrameContent voicelimit_content; void add(std::string const& title, dggui::FrameWidget& frame, dggui::Widget& content, std::size_t height, int column); Settings& settings; SettingsNotifier& settings_notifier; }; } // GUI:: drumgizmo-0.9.20/plugingui/drumkittab.cc0000644000076400007640000002073314177030654015244 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * drumkittab.cc * * Fri Jun 8 21:50:03 CEST 2018 * Copyright 2018 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "drumkittab.h" #include #include #include #include "cpp11fix.h" // required for c++11 #include #include "settings.h" #include #include namespace GUI { DrumkitTab::DrumkitTab(dggui::Widget* parent, Settings& settings, SettingsNotifier& settings_notifier) : dggui::Widget(parent) , settings(settings) , settings_notifier(settings_notifier) { velocity_label.move(10, height()-velocity_label.height()-5); updateVelocityLabel(); velocity_label.resizeToText(); instrument_name_label.move(velocity_label.width()+30, height()-instrument_name_label.height()-5); updateInstrumentLabel(-1); pos_to_colour_index.setDefaultValue(-1); CONNECT(this, settings_notifier.drumkit_file, this, &DrumkitTab::drumkitFileChanged); } void DrumkitTab::resize(std::size_t width, std::size_t height) { dggui::Widget::resize(width, height); if(drumkit_image) { dggui::Painter painter(*this); painter.clear(); drumkit_image_x = (this->width()-drumkit_image->width())/2; drumkit_image_y = (this->height()-drumkit_image->height())/2; painter.drawImage(drumkit_image_x, drumkit_image_y, *drumkit_image); } velocity_label.move(10, height-velocity_label.height()-5); instrument_name_label.move(velocity_label.width()+30, height-instrument_name_label.height()-5); } void DrumkitTab::buttonEvent(dggui::ButtonEvent* buttonEvent) { if(map_image) { if(buttonEvent->button == dggui::MouseButton::right) { if(buttonEvent->direction == dggui::Direction::down) { dggui::Painter painter(*this); painter.drawImage(drumkit_image_x, drumkit_image_y, *map_image); shows_overlay = true; redraw(); return; } if(buttonEvent->direction == dggui::Direction::up) { dggui::Painter painter(*this); painter.clear(); painter.drawImage(drumkit_image_x, drumkit_image_y, *drumkit_image); highlightInstrument(current_index); shows_overlay = false; redraw(); return; } } } if(buttonEvent->button == dggui::MouseButton::left) { if(buttonEvent->direction == dggui::Direction::down) { triggerAudition(buttonEvent->x, buttonEvent->y); highlightInstrument(current_index); redraw(); } if(buttonEvent->direction == dggui::Direction::up) { if(shows_instrument_overlay) { dggui::Painter painter(*this); painter.clear(); painter.drawImage(drumkit_image_x, drumkit_image_y, *drumkit_image); if(shows_overlay) { painter.drawImage(drumkit_image_x, drumkit_image_y, *map_image); } highlightInstrument(current_index); redraw(); } shows_instrument_overlay = false; } } } void DrumkitTab::scrollEvent(dggui::ScrollEvent* scrollEvent) { current_velocity -= 0.01 * scrollEvent->delta; current_velocity = std::max(std::min(current_velocity, 1.0f), 0.0f); updateVelocityLabel(); velocity_label.resizeToText(); triggerAudition(scrollEvent->x, scrollEvent->y); } void DrumkitTab::mouseMoveEvent(dggui::MouseMoveEvent* mouseMoveEvent) { // change to image coordinates const auto x = mouseMoveEvent->x - drumkit_image_x; const auto y = mouseMoveEvent->y - drumkit_image_y; auto index = pos_to_colour_index(x, y); if(index == current_index) { return; } current_index = index; dggui::Painter painter(*this); painter.clear(); painter.drawImage(drumkit_image_x, drumkit_image_y, *drumkit_image); if(shows_overlay) { painter.drawImage(drumkit_image_x, drumkit_image_y, *map_image); } highlightInstrument(index); updateInstrumentLabel(index); redraw(); } void DrumkitTab::mouseLeaveEvent() { if(map_image && (shows_overlay || shows_instrument_overlay)) { dggui::Painter painter(*this); painter.clear(); painter.drawImage(drumkit_image_x, drumkit_image_y, *drumkit_image); shows_overlay = false; redraw(); } } void DrumkitTab::triggerAudition(int x, int y) { // change to image coordinates x -= drumkit_image_x; y -= drumkit_image_y; auto index = pos_to_colour_index(x, y); if(index == -1) { return; } auto const& instrument = to_instrument_name[index]; if(!instrument.empty()) { ++settings.audition_counter; settings.audition_instrument = instrument; settings.audition_velocity = current_velocity; } } void DrumkitTab::highlightInstrument(int index) { if(index != -1) { dggui::Painter painter(*this); const auto& colour = colours[index]; //Colour colour(1.0f, 1.0f, 0.0f); auto const& positions = colour_index_to_positions[index]; painter.draw(positions.begin(), positions.end(), drumkit_image_x, drumkit_image_y, colour); shows_instrument_overlay = true; } else { shows_instrument_overlay = false; } } void DrumkitTab::updateVelocityLabel() { std::stringstream stream; stream << std::fixed << std::setprecision(2) << current_velocity; velocity_label.setText("Velocity: " + stream.str()); } void DrumkitTab::updateInstrumentLabel(int index) { current_instrument = (index == -1 ? "" : to_instrument_name[index]); instrument_name_label.setText("Instrument: " + current_instrument); instrument_name_label.resizeToText(); } void DrumkitTab::init(const std::string& image_file, const std::string& map_file) { drumkit_image = std::make_unique(image_file); map_image = std::make_unique(map_file); // collect all colours and build lookup table auto const height = map_image->height(); auto const width = map_image->width(); colours.clear(); pos_to_colour_index.assign(width, height, -1); colour_index_to_positions.clear(); to_instrument_name.clear(); for(std::size_t y = 0; y < map_image->height(); ++y) { for(std::size_t x = 0; x < map_image->width(); ++x) { auto colour = map_image->getPixel(x, y); if(colour.alpha() == 0.) { continue; } auto it = std::find(colours.begin(), colours.end(), colour); int index = std::distance(colours.begin(), it); if(it == colours.end()) { // XXX: avoids low alpha values due to feathering of edges colours.emplace_back(colour.red(), colour.green(), colour.blue(), 178); colour_index_to_positions.emplace_back(); } pos_to_colour_index(x, y) = index; colour_index_to_positions[index].emplace_back(x, y); } } // set instrument names to_instrument_name.resize(colours.size()); for(std::size_t i = 0; i < colours.size(); ++i) { for(auto const& pair: colour_instrument_pairs) { if(pair.colour == colours[i]) { to_instrument_name[i] = pair.instrument; } } } imageChangeNotifier(drumkit_image->isValid()); } void DrumkitTab::drumkitFileChanged(const std::string& drumkit_file) { if(drumkit_file.empty()) { return; } DrumkitDOM dom; if(parseDrumkitFile(drumkit_file, dom)) { colour_instrument_pairs.clear(); for(const auto& clickmap : dom.metadata.clickmaps) { if(clickmap.colour.size() != 6) { continue; } try { auto hex_colour = std::stoul(clickmap.colour, nullptr, 16); float red = (hex_colour >> 16 & 0xff) / 255.0f; float green = (hex_colour >> 8 & 0xff) / 255.0f; float blue = (hex_colour >> 0 & 0xff) / 255.0f; dggui::Colour colour(red, green, blue); colour_instrument_pairs.push_back({colour, clickmap.instrument}); } catch(...) { // Not valid hex number } } std::string path = getPath(drumkit_file); init(path + "/" + dom.metadata.image, path + "/" + dom.metadata.image_map); } } } // GUI:: drumgizmo-0.9.20/plugingui/bleedcontrolframecontent.cc0000644000076400007640000000572413774323733020170 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * bleedcontrolframecontent.cc * * Wed May 24 14:40:16 CEST 2017 * Copyright 2017 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "bleedcontrolframecontent.h" #include #include #include namespace GUI { BleedcontrolframeContent::BleedcontrolframeContent(dggui::Widget* parent, Settings& settings, SettingsNotifier& settings_notifier) : dggui::Widget(parent) , slider_width{250} , settings(settings) , settings_notifier(settings_notifier) { label_text.setText(_("Master Bleed Volume:")); label_text.setAlignment(dggui::TextAlignment::center); label_value.setText(_("0 %")); label_value.setAlignment(dggui::TextAlignment::center); CONNECT(this, settings_notifier.master_bleed, this, &BleedcontrolframeContent::bleedSettingsValueChanged); CONNECT(&slider, valueChangedNotifier, this, &BleedcontrolframeContent::bleedValueChanged); } void BleedcontrolframeContent::resize(std::size_t width, std::size_t height) { dggui::Widget::resize(width, height); slider_width = 0.8 * width; auto x_start = 0.1 * width; label_text.move(x_start, 0); slider.move(x_start, 20); label_value.move(x_start, 40); label_text.resize(slider_width, 15); slider.resize(slider_width, 15); label_value.resize(slider_width, 15); } void BleedcontrolframeContent::setEnabled(bool enabled) { this->enabled = enabled; if(enabled) { label_text.resetColour(); label_value.resetColour(); slider.setEnabled(true); } else { label_text.setColour(0.7); label_value.setColour(0.7); slider.setEnabled(false); } redraw(); } void BleedcontrolframeContent::bleedSettingsValueChanged(float value) { slider.setValue(value); int percentage = 100 * value; label_value.setText(std::to_string(percentage) + " %"); slider.setColour(dggui::Slider::Colour::Blue); } void BleedcontrolframeContent::bleedValueChanged(float value) { settings.master_bleed.store(value); } } // GUI:: drumgizmo-0.9.20/plugingui/maintab.cc0000644000076400007640000002440014275473130014503 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * maintab.cc * * Fri Mar 24 20:39:59 CET 2017 * Copyright 2017 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "maintab.h" #include namespace GUI { MainTab::MainTab(dggui::Widget* parent, Settings& settings, SettingsNotifier& settings_notifier, Config& config) : Widget(parent) , drumkitframe_content{this, settings, settings_notifier, config} , statusframe_content{this, settings_notifier} , humanizerframe_content{this, settings, settings_notifier} , diskstreamingframe_content{this, settings, settings_notifier} , bleedcontrolframe_content{this, settings, settings_notifier} , resamplingframe_content{this, settings, settings_notifier} , timingframe_content{this, settings, settings_notifier} , sampleselectionframe_content{this, settings, settings_notifier} , visualizerframe_content{this, settings, settings_notifier} , powerframe_content{this, settings, settings_notifier} , voicelimit_content{this, settings, settings_notifier} , settings(settings) , settings_notifier(settings_notifier) { layout.setSpacing(0); const std::string humanizer_tip = std::string( _("The first two knobs influence how DrumGizmo simulates the\n")) + _("stamina of a physical drummers, ie. the fact that they\n") + _("loose power in their strokes when playing fast notes:\n") + _(" * pAttack: How quickly the velocity gets reduced when\n") + _(" playing fast notes.\n") + _(" Lower values result in faster velocity reduction.\n") + _(" * pRelease: How quickly the drummer regains the velocity\n") + _(" when there are spaces between the notes.\n") + _(" Lower values result in faster regain.\n") + _("\n") + _("The last knob controls the randomization of the sample selection:\n") + _(" * pStdDev: The standard-deviation for the sample selection.\n") + _(" Higher value makes it more likely that a sample further\n") + _(" away from the input velocity will be played."); const std::string timing_tip = std::string( _("These three knobs influence how DrumGizmo simulates the tightness\n")) + _("of the drummer.\n") + _("The drifting is defined as the difference between\n") + _("the perfect metronome (defined by the note positions) and the 'internal'\n") + _("metronome of the drummer which can then drift back and forth in a\n") + _("controlled fashion:\n") + _(" * pTightness: For each note how much is the drummer allowed to drift.\n") + _(" Higher value make the drummer more tight, ie. drift less.\n") + _(" * pTimingRegain: Once the drifted, how fast does the drummer's 'internal'\n") + _(" metronome get back in sync with the perfect metronome.\n") + _(" Higher values moves the timing back towards perfect faster.\n") + _(" * pLaidback: Add or subtract a fixed delay in ms to all notes. This will\n") + _(" alter the feel of a beat.\n") + _(" Positive values are up-beat, negative values are back on the beat.\n") + _("\n") + _("NOTE: Enabling timing humanization will introduce a fixed delay into the\n") + _("audio stream.\n") + _("So this feature should be disabled when using DrumGizmo in\n") + _("a real-time scenario such as live with a MIDI drumkit."); const std::string sampleselection_tip = std::string( _("These three knobs influence how DrumGizmo selects\n")) + _("its samples in the following way:\n") + _(" * pClose: The importance given to choosing a sample close\n") + _(" to the actual MIDI value (after humanization)\n") + _(" * pDiversity: The importance given to choosing samples\n") + _(" which haven't been played recently.\n") + _(" * pRandom: The amount of randomness added."); const std::string visualizer_tip = std::string( _("This graph visualizes the time and velocity offsets of last note\n")) + _("played according to it's ideal input time and velocity.\n") + _("The green lines indicate the ideal time and velocity positions.\n") + _("The pink areas indicate the spread of the position and velocity\n") + _("of the next note in line.\n") + _("The wider the area the more the note can move in time and velocity."); const std::string power_tip = std::string( _("This function controls how the input powers are mapped to the powers\n")) + _("that DrumGizmo uses for selecting samples.\n") + _("You can control the function by dragging and dropping the\n") + _("three colorful control points.\n") + _("Additionally, you can either use a shelf, which draws a horizontal line\n") + _("from the green and red control points to the left/right side.\n") + _("Or you can turn off the shelf, and then the function goes through\n") + _("the lower left corner, then the three control points, and then\n") + _("the upper right corner, enabling to draw more complicated functions."); const std::string voice_limit_tip = std::string( _("This feature controls how many voices can simultaneously be in play for a given\n")) + _("instrument. When this feature is active, Drumgizmo will silence any excess \n") + _("voices to ease the burden of processing.\n") + _("\n") + _("This feature works on a per-instrument basis, e.g., voices played on the bass\n") + _("drum can only be silenced by other bass drum hits, and not by the snare.\n") + _("\n") + _(" * Max voices: The maximum number of voices that should be allowed to play.\n") + _(" * Rampdown time: How many seconds it takes to silence a voice."); layout.setResizeChildren(true); //Left column... add(_("Drumkit"), drumkit_frame, drumkitframe_content, 15, 0); add(_("Status"), status_frame, statusframe_content, 12, 0); add(_("Resampling"), resampling_frame, resamplingframe_content, 10, 0); add(_("Voice Limit"), voicelimit_frame, voicelimit_content, 10, 0); voicelimit_frame.setHelpText(voice_limit_tip); add(_("Disk Streaming"), diskstreaming_frame, diskstreamingframe_content, 9, 0); add(_("Bleed Control"), bleedcontrol_frame, bleedcontrolframe_content, 9, 0); //Right column add(_("Velocity Humanizer"), humanizer_frame, humanizerframe_content,10, 1); humanizer_frame.setHelpText(humanizer_tip); add(_("Timing Humanizer"), timing_frame, timingframe_content, 10, 1); timing_frame.setHelpText(timing_tip); add(_("Sample Selection"), sampleselection_frame, sampleselectionframe_content, 10, 1); sampleselection_frame.setHelpText(sampleselection_tip); add(_("Visualizer"), visualizer_frame, visualizerframe_content, 14, 1); visualizer_frame.setHelpText(visualizer_tip); add(_("Velocity Curve"), power_frame, powerframe_content, 21, 1); power_frame.setHelpText(power_tip); humanizer_frame.setOnSwitch(settings.enable_velocity_modifier); bleedcontrol_frame.setOnSwitch(settings.enable_bleed_control); resampling_frame.setOnSwitch(settings.enable_resampling); timing_frame.setOnSwitch(settings.enable_latency_modifier); voicelimit_frame.setOnSwitch(settings.enable_voice_limit); // FIXME: bleedcontrol_frame.setEnabled(false); CONNECT(this, settings_notifier.enable_velocity_modifier, &humanizer_frame, &dggui::FrameWidget::setOnSwitch); CONNECT(this, settings_notifier.enable_resampling, &resampling_frame, &dggui::FrameWidget::setOnSwitch); CONNECT(this, settings_notifier.has_bleed_control, &bleedcontrol_frame, &dggui::FrameWidget::setEnabled); CONNECT(&humanizer_frame, onSwitchChangeNotifier, this, &MainTab::humanizerOnChange); CONNECT(&bleedcontrol_frame, onSwitchChangeNotifier, this, &MainTab::bleedcontrolOnChange); CONNECT(&resampling_frame, onSwitchChangeNotifier, this, &MainTab::resamplingOnChange); CONNECT(&timing_frame, onSwitchChangeNotifier, this, &MainTab::timingOnChange); CONNECT(&bleedcontrol_frame, onEnabledChanged, &bleedcontrolframe_content, &BleedcontrolframeContent::setEnabled); CONNECT(&settings_notifier, enable_powermap, &power_frame, &dggui::FrameWidget::setOnSwitch); CONNECT(&power_frame, onSwitchChangeNotifier, this, &MainTab::powerOnChange); CONNECT(&voicelimit_frame, onSwitchChangeNotifier, this, &MainTab::voicelimitOnChange); } void MainTab::resize(std::size_t width, std::size_t height) { dggui::Widget::resize(width, height); // DrumGizmo logo dggui::Painter painter(*this); painter.clear(); painter.drawImage(width - logo.width(), height - logo.height(), logo); } void MainTab::humanizerOnChange(bool on) { settings.enable_velocity_modifier.store(on); } void MainTab::bleedcontrolOnChange(bool on) { settings.enable_bleed_control.store(on); } void MainTab::resamplingOnChange(bool on) { settings.enable_resampling.store(on); } void MainTab::timingOnChange(bool on) { settings.enable_latency_modifier.store(on); } void MainTab::powerOnChange(bool on) { settings.enable_powermap.store(on); } void MainTab::voicelimitOnChange(bool status) { settings.enable_voice_limit.store(status); } void MainTab::add(std::string const& title, dggui::FrameWidget& frame, dggui::Widget& content, std::size_t height, int column) { layout.addItem(&frame); frame.setTitle(title); frame.setContent(&content); auto grid_start = layout.lastUsedRow(column) + 1; auto range = dggui::GridLayout::GridRange{column, column + 1, grid_start, grid_start + int(height)}; layout.setPosition(&frame, range); } } // GUI:: drumgizmo-0.9.20/plugingui/locale/0000755000076400007640000000000014306421547014100 500000000000000drumgizmo-0.9.20/plugingui/locale/da.po0000644000076400007640000002562314306416305014750 00000000000000# Danish translations for drumgizmo package # Danske oversttelser for pakke drumgizmo. # Copyright (C) 2019 THE drumgizmo'S COPYRIGHT HOLDER # This file is distributed under the same license as the drumgizmo package. # Automatically generated, 2019. # msgid "" msgstr "" "Project-Id-Version: drumgizmo 0.9.20\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-09-13 21:07+0200\n" "PO-Revision-Date: 2019-09-13 19:42+0200\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: da\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-1\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: abouttab.cc:82 msgid "" "=============\n" " About\n" "=============\n" "\n" msgstr "" #: abouttab.cc:90 msgid "" "\n" "=============\n" " Version\n" "=============\n" "\n" msgstr "" #: abouttab.cc:99 msgid "" "\n" "=============\n" " Bugs\n" "=============\n" "\n" msgstr "" #: abouttab.cc:108 msgid "" "\n" "=============\n" " Authors\n" "=============\n" "\n" msgstr "" #: abouttab.cc:117 msgid "" "\n" "=============\n" " License\n" "=============\n" "\n" msgstr "" #: bleedcontrolframecontent.cc:46 msgid "Master Bleed Volume:" msgstr "" #: bleedcontrolframecontent.cc:49 msgid "0 %" msgstr "" #: diskstreamingframecontent.cc:46 msgid "Cache limit (max memory usage):" msgstr "" #: diskstreamingframecontent.cc:49 msgid "Apply" msgstr "" #: diskstreamingframecontent.cc:52 msgid "0 MB" msgstr "" #: diskstreamingframecontent.cc:109 msgid "Unlimited" msgstr "" #: drumkitframecontent.cc:48 msgid "Browse..." msgstr "" #: drumkitframecontent.cc:95 msgid "Drumkit file:" msgstr "" #: drumkitframecontent.cc:96 msgid "Midimap file:" msgstr "" #: filebrowser.cc:66 msgid "Open file..." msgstr "" #: filebrowser.cc:68 msgid "Path:" msgstr "" #: filebrowser.cc:77 msgid "Select" msgstr "" #: filebrowser.cc:80 msgid "Set default path" msgstr "" #: filebrowser.cc:83 msgid "Cancel" msgstr "" #: filebrowser.cc:91 #, c-format msgid "Setting path to '%s'\n" msgstr "" #: filebrowser.cc:175 #, c-format msgid "Selecting ref-file '%s'\n" msgstr "" #: filebrowser.cc:209 #, c-format msgid "Changing path to '%s'\n" msgstr "" #: filebrowser.cc:223 filebrowser.cc:231 #, c-format msgid "Selecting file '%s'\n" msgstr "" #: filebrowser.cc:241 msgid "Showing partitions...\n" msgstr "" #: filebrowser.cc:256 #, c-format msgid "Error changing to '%s'\n" msgstr "" #: filebrowser.cc:269 #, c-format msgid "Setting path of lineedit to %s\n" msgstr "" #: maintab.cc:56 msgid "The first two knobs influence how DrumGizmo simulates the\n" msgstr "" #: maintab.cc:57 msgid "stamina of a physical drummers, ie. the fact that they\n" msgstr "" #: maintab.cc:58 msgid "loose power in their strokes when playing fast notes:\n" msgstr "" #: maintab.cc:59 msgid " * pAttack: How quickly the velocity gets reduced when\n" msgstr "" #: maintab.cc:60 msgid " playing fast notes.\n" msgstr "" #: maintab.cc:61 msgid " Lower values result in faster velocity reduction.\n" msgstr "" #: maintab.cc:62 msgid " * pRelease: How quickly the drummer regains the velocity\n" msgstr "" #: maintab.cc:63 msgid " when there are spaces between the notes.\n" msgstr "" #: maintab.cc:64 msgid " Lower values result in faster regain.\n" msgstr "" #: maintab.cc:65 maintab.cc:86 maintab.cc:124 maintab.cc:127 msgid "\n" msgstr "" #: maintab.cc:66 msgid "The last knob controls the randomization of the sample selection:\n" msgstr "" #: maintab.cc:67 msgid " * pStdDev: The standard-deviation for the sample selection.\n" msgstr "" #: maintab.cc:68 msgid " Higher value makes it more likely that a sample further\n" msgstr "" #: maintab.cc:69 msgid " away from the input velocity will be played." msgstr "" #: maintab.cc:72 msgid "These three knobs influence how DrumGizmo simulates the tightness\n" msgstr "" #: maintab.cc:73 msgid "of the drummer.\n" msgstr "" #: maintab.cc:74 msgid "The drifting is defined as the difference between\n" msgstr "" #: maintab.cc:75 msgid "" "the perfect metronome (defined by the note positions) and the 'internal'\n" msgstr "" #: maintab.cc:76 msgid "metronome of the drummer which can then drift back and forth in a\n" msgstr "" #: maintab.cc:77 msgid "controlled fashion:\n" msgstr "" #: maintab.cc:78 msgid "" " * pTightness: For each note how much is the drummer allowed to drift.\n" msgstr "" #: maintab.cc:79 msgid " Higher value make the drummer more tight, ie. drift less.\n" msgstr "" #: maintab.cc:80 msgid "" " * pTimingRegain: Once the drifted, how fast does the drummer's 'internal'\n" msgstr "" #: maintab.cc:81 msgid " metronome get back in sync with the perfect metronome.\n" msgstr "" #: maintab.cc:82 msgid " Higher values moves the timing back towards perfect faster.\n" msgstr "" #: maintab.cc:83 msgid "" " * pLaidback: Add or subtract a fixed delay in ms to all notes. This will\n" msgstr "" #: maintab.cc:84 msgid " alter the feel of a beat.\n" msgstr "" #: maintab.cc:85 msgid "" " Positive values are up-beat, negative values are back on the beat.\n" msgstr "" #: maintab.cc:87 msgid "" "NOTE: Enabling timing humanization will introduce a fixed delay into the\n" msgstr "" #: maintab.cc:88 msgid "audio stream.\n" msgstr "" #: maintab.cc:89 msgid "So this feature should be disabled when using DrumGizmo in\n" msgstr "" #: maintab.cc:90 msgid "a real-time scenario such as live with a MIDI drumkit." msgstr "" #: maintab.cc:93 msgid "These three knobs influence how DrumGizmo selects\n" msgstr "" #: maintab.cc:94 msgid "its samples in the following way:\n" msgstr "" #: maintab.cc:95 msgid " * pClose: The importance given to choosing a sample close\n" msgstr "" #: maintab.cc:96 msgid " to the actual MIDI value (after humanization)\n" msgstr "" #: maintab.cc:97 msgid " * pDiversity: The importance given to choosing samples\n" msgstr "" #: maintab.cc:98 msgid " which haven't been played recently.\n" msgstr "" #: maintab.cc:99 msgid " * pRandom: The amount of randomness added." msgstr "" #: maintab.cc:102 msgid "This graph visualizes the time and velocity offsets of last note\n" msgstr "" #: maintab.cc:103 msgid "played according to it's ideal input time and velocity.\n" msgstr "" #: maintab.cc:104 msgid "The green lines indicate the ideal time and velocity positions.\n" msgstr "" #: maintab.cc:105 msgid "The pink areas indicate the spread of the position and velocity\n" msgstr "" #: maintab.cc:106 msgid "of the next note in line.\n" msgstr "" #: maintab.cc:107 msgid "The wider the area the more the note can move in time and velocity." msgstr "" #: maintab.cc:110 msgid "This function controls how the input powers are mapped to the powers\n" msgstr "" #: maintab.cc:111 msgid "that DrumGizmo uses for selecting samples.\n" msgstr "" #: maintab.cc:112 msgid "You can control the function by dragging and dropping the\n" msgstr "" #: maintab.cc:113 msgid "three colorful control points.\n" msgstr "" #: maintab.cc:114 msgid "" "Additionally, you can either use a shelf, which draws a horizontal line\n" msgstr "" #: maintab.cc:115 msgid "from the green and red control points to the left/right side.\n" msgstr "" #: maintab.cc:116 msgid "Or you can turn off the shelf, and then the function goes through\n" msgstr "" #: maintab.cc:117 msgid "the lower left corner, then the three control points, and then\n" msgstr "" #: maintab.cc:118 msgid "the upper right corner, enabling to draw more complicated functions." msgstr "" #: maintab.cc:121 msgid "" "This feature controls how many voices can simultaneously be in play for a " "given\n" msgstr "" #: maintab.cc:122 msgid "" "instrument. When this feature is active, Drumgizmo will silence any excess \n" msgstr "" #: maintab.cc:123 msgid "voices to ease the burden of processing.\n" msgstr "" #: maintab.cc:125 msgid "" "This feature works on a per-instrument basis, e.g., voices played on the " "bass\n" msgstr "" #: maintab.cc:126 msgid "" "drum can only be silenced by other bass drum hits, and not by the snare.\n" msgstr "" #: maintab.cc:128 msgid "" " * Max voices: The maximum number of voices that should be allowed to " "play.\n" msgstr "" #: maintab.cc:129 msgid " * Rampdown time: How many seconds it takes to silence a voice." msgstr "" #: maintab.cc:134 mainwindow.cc:56 msgid "Drumkit" msgstr "" #: maintab.cc:135 msgid "Status" msgstr "" #: maintab.cc:136 msgid "Resampling" msgstr "" #: maintab.cc:137 msgid "Voice Limit" msgstr "" #: maintab.cc:139 msgid "Disk Streaming" msgstr "" #: maintab.cc:140 msgid "Bleed Control" msgstr "" #: maintab.cc:143 msgid "Velocity Humanizer" msgstr "" #: maintab.cc:146 msgid "Timing Humanizer" msgstr "" #: maintab.cc:149 msgid "Sample Selection" msgstr "" #: maintab.cc:153 msgid "Visualizer" msgstr "" #: maintab.cc:156 msgid "Velocity Curve" msgstr "" #: mainwindow.cc:51 msgid "DrumGizmo v" msgstr "" #: mainwindow.cc:55 msgid "Main" msgstr "" #: mainwindow.cc:58 msgid "About" msgstr "" #: powerwidget.cc:55 msgid "Shelf" msgstr "" #: powerwidget.cc:213 msgid "in" msgstr "" #: powerwidget.cc:214 msgid "out" msgstr "" #: resamplingframecontent.cc:59 msgid "Quality" msgstr "" #: resamplingframecontent.cc:81 msgid "Session samplerate: " msgstr "" #: resamplingframecontent.cc:82 msgid "Drumkit samplerate: " msgstr "" #: resamplingframecontent.cc:83 msgid "Resampling recommended: " msgstr "" #: resamplingframecontent.cc:105 msgid "Yes" msgstr "" #: resamplingframecontent.cc:105 msgid "No" msgstr "" #: statusframecontent.cc:73 msgid "Drumkit status: " msgstr "" #: statusframecontent.cc:75 msgid "Drumkit name: " msgstr "" #: statusframecontent.cc:76 msgid "Drumkit description: " msgstr "" #: statusframecontent.cc:78 msgid "Session buffer size: " msgstr "" #: statusframecontent.cc:79 msgid "Number of underruns: " msgstr "" #: statusframecontent.cc:80 msgid "Messages:\n" msgstr "" #: statusframecontent.cc:89 msgid "No Kit Loaded" msgstr "" #: statusframecontent.cc:92 statusframecontent.cc:134 msgid "Loading..." msgstr "" #: statusframecontent.cc:95 statusframecontent.cc:137 msgid "Ready" msgstr "" #: statusframecontent.cc:98 statusframecontent.cc:140 msgid "Error" msgstr "" #: statusframecontent.cc:131 msgid "No Midimap Loaded" msgstr "" #: voicelimitframecontent.cc:41 msgid "Per-instrument voice limit:" msgstr "" #: humanizerframecontent.h:62 msgid "pAttack" msgstr "" #: humanizerframecontent.h:63 msgid "pRelease" msgstr "" #: humanizerframecontent.h:64 msgid "pStdDev" msgstr "" #: sampleselectionframecontent.h:62 msgid "pClose" msgstr "" #: sampleselectionframecontent.h:63 msgid "pDiverse" msgstr "" #: sampleselectionframecontent.h:64 msgid "pRandom" msgstr "" #: timingframecontent.h:74 msgid "pTightness" msgstr "" #: timingframecontent.h:75 msgid "pTimingRegain" msgstr "" #: timingframecontent.h:76 msgid "pLaidback" msgstr "" #: voicelimitframecontent.h:67 msgid "Max voices" msgstr "" #: voicelimitframecontent.h:68 msgid "Rampdown time" msgstr "" drumgizmo-0.9.20/plugingui/locale/Makefile.in0000644000076400007640000003153314306421323016062 00000000000000# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = plugingui/locale ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALSA_CFLAGS = @ALSA_CFLAGS@ ALSA_LIBS = @ALSA_LIBS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEBUG_FLAGS = @DEBUG_FLAGS@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DL_CFLAGS = @DL_CFLAGS@ DL_LIBS = @DL_LIBS@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_STORE = @FLOAT_STORE@ GREP = @GREP@ GUI_CPPFLAGS = @GUI_CPPFLAGS@ GUI_LIBS = @GUI_LIBS@ INPUT_PLUGINS = @INPUT_PLUGINS@ INPUT_PLUGIN_DIR = @INPUT_PLUGIN_DIR@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ JACK_CFLAGS = @JACK_CFLAGS@ JACK_LIBS = @JACK_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ LV2DIR = @LV2DIR@ LV2_CFLAGS = @LV2_CFLAGS@ LV2_LIBS = @LV2_LIBS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJC = @OBJC@ OBJCDEPMODE = @OBJCDEPMODE@ OBJCFLAGS = @OBJCFLAGS@ OBJCXX = @OBJCXX@ OBJCXXDEPMODE = @OBJCXXDEPMODE@ OBJCXXFLAGS = @OBJCXXFLAGS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ OUTPUT_PLUGINS = @OUTPUT_PLUGINS@ OUTPUT_PLUGIN_DIR = @OUTPUT_PLUGIN_DIR@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SMF_CFLAGS = @SMF_CFLAGS@ SMF_LIBS = @SMF_LIBS@ SNDFILE_CFLAGS = @SNDFILE_CFLAGS@ SNDFILE_LIBS = @SNDFILE_LIBS@ SSEFLAGS = @SSEFLAGS@ STRIP = @STRIP@ VERSION = @VERSION@ VST_CPPFLAGS = @VST_CPPFLAGS@ VST_SOURCE_PATH = @VST_SOURCE_PATH@ X11_CFLAGS = @X11_CFLAGS@ X11_LIBS = @X11_LIBS@ XEXT_CFLAGS = @XEXT_CFLAGS@ XEXT_LIBS = @XEXT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ ac_ct_OBJC = @ac_ct_OBJC@ ac_ct_OBJCXX = @ac_ct_OBJCXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ dgplugindir = @dgplugindir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = \ drumgizmo.pot \ da.po \ fr.po all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu plugingui/locale/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu plugingui/locale/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags-am uninstall uninstall-am .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: drumgizmo-0.9.20/plugingui/locale/drumgizmo.pot0000644000076400007640000002540214306416175016565 00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR DrumGizmo Team # This file is distributed under the same license as the drumgizmo package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: drumgizmo 0.9.20\n" "Report-Msgid-Bugs-To: \n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: abouttab.cc:82 msgid "" "=============\n" " About\n" "=============\n" "\n" msgstr "" #: abouttab.cc:90 msgid "" "\n" "=============\n" " Version\n" "=============\n" "\n" msgstr "" #: abouttab.cc:99 msgid "" "\n" "=============\n" " Bugs\n" "=============\n" "\n" msgstr "" #: abouttab.cc:108 msgid "" "\n" "=============\n" " Authors\n" "=============\n" "\n" msgstr "" #: abouttab.cc:117 msgid "" "\n" "=============\n" " License\n" "=============\n" "\n" msgstr "" #: bleedcontrolframecontent.cc:46 msgid "Master Bleed Volume:" msgstr "" #: bleedcontrolframecontent.cc:49 msgid "0 %" msgstr "" #: diskstreamingframecontent.cc:46 msgid "Cache limit (max memory usage):" msgstr "" #: diskstreamingframecontent.cc:49 msgid "Apply" msgstr "" #: diskstreamingframecontent.cc:52 msgid "0 MB" msgstr "" #: diskstreamingframecontent.cc:109 msgid "Unlimited" msgstr "" #: drumkitframecontent.cc:48 msgid "Browse..." msgstr "" #: drumkitframecontent.cc:95 msgid "Drumkit file:" msgstr "" #: drumkitframecontent.cc:96 msgid "Midimap file:" msgstr "" #: filebrowser.cc:66 msgid "Open file..." msgstr "" #: filebrowser.cc:68 msgid "Path:" msgstr "" #: filebrowser.cc:77 msgid "Select" msgstr "" #: filebrowser.cc:80 msgid "Set default path" msgstr "" #: filebrowser.cc:83 msgid "Cancel" msgstr "" #: filebrowser.cc:91 #, c-format msgid "Setting path to '%s'\n" msgstr "" #: filebrowser.cc:175 #, c-format msgid "Selecting ref-file '%s'\n" msgstr "" #: filebrowser.cc:209 #, c-format msgid "Changing path to '%s'\n" msgstr "" #: filebrowser.cc:223 filebrowser.cc:231 #, c-format msgid "Selecting file '%s'\n" msgstr "" #: filebrowser.cc:241 msgid "Showing partitions...\n" msgstr "" #: filebrowser.cc:256 #, c-format msgid "Error changing to '%s'\n" msgstr "" #: filebrowser.cc:269 #, c-format msgid "Setting path of lineedit to %s\n" msgstr "" #: maintab.cc:56 msgid "The first two knobs influence how DrumGizmo simulates the\n" msgstr "" #: maintab.cc:57 msgid "stamina of a physical drummers, ie. the fact that they\n" msgstr "" #: maintab.cc:58 msgid "loose power in their strokes when playing fast notes:\n" msgstr "" #: maintab.cc:59 msgid " * pAttack: How quickly the velocity gets reduced when\n" msgstr "" #: maintab.cc:60 msgid " playing fast notes.\n" msgstr "" #: maintab.cc:61 msgid " Lower values result in faster velocity reduction.\n" msgstr "" #: maintab.cc:62 msgid " * pRelease: How quickly the drummer regains the velocity\n" msgstr "" #: maintab.cc:63 msgid " when there are spaces between the notes.\n" msgstr "" #: maintab.cc:64 msgid " Lower values result in faster regain.\n" msgstr "" #: maintab.cc:65 maintab.cc:86 maintab.cc:124 maintab.cc:127 msgid "\n" msgstr "" #: maintab.cc:66 msgid "The last knob controls the randomization of the sample selection:\n" msgstr "" #: maintab.cc:67 msgid " * pStdDev: The standard-deviation for the sample selection.\n" msgstr "" #: maintab.cc:68 msgid " Higher value makes it more likely that a sample further\n" msgstr "" #: maintab.cc:69 msgid " away from the input velocity will be played." msgstr "" #: maintab.cc:72 msgid "These three knobs influence how DrumGizmo simulates the tightness\n" msgstr "" #: maintab.cc:73 msgid "of the drummer.\n" msgstr "" #: maintab.cc:74 msgid "The drifting is defined as the difference between\n" msgstr "" #: maintab.cc:75 msgid "" "the perfect metronome (defined by the note positions) and the 'internal'\n" msgstr "" #: maintab.cc:76 msgid "metronome of the drummer which can then drift back and forth in a\n" msgstr "" #: maintab.cc:77 msgid "controlled fashion:\n" msgstr "" #: maintab.cc:78 msgid "" " * pTightness: For each note how much is the drummer allowed to drift.\n" msgstr "" #: maintab.cc:79 msgid " Higher value make the drummer more tight, ie. drift less.\n" msgstr "" #: maintab.cc:80 msgid "" " * pTimingRegain: Once the drifted, how fast does the drummer's 'internal'\n" msgstr "" #: maintab.cc:81 msgid " metronome get back in sync with the perfect metronome.\n" msgstr "" #: maintab.cc:82 msgid " Higher values moves the timing back towards perfect faster.\n" msgstr "" #: maintab.cc:83 msgid "" " * pLaidback: Add or subtract a fixed delay in ms to all notes. This will\n" msgstr "" #: maintab.cc:84 msgid " alter the feel of a beat.\n" msgstr "" #: maintab.cc:85 msgid "" " Positive values are up-beat, negative values are back on the beat.\n" msgstr "" #: maintab.cc:87 msgid "" "NOTE: Enabling timing humanization will introduce a fixed delay into the\n" msgstr "" #: maintab.cc:88 msgid "audio stream.\n" msgstr "" #: maintab.cc:89 msgid "So this feature should be disabled when using DrumGizmo in\n" msgstr "" #: maintab.cc:90 msgid "a real-time scenario such as live with a MIDI drumkit." msgstr "" #: maintab.cc:93 msgid "These three knobs influence how DrumGizmo selects\n" msgstr "" #: maintab.cc:94 msgid "its samples in the following way:\n" msgstr "" #: maintab.cc:95 msgid " * pClose: The importance given to choosing a sample close\n" msgstr "" #: maintab.cc:96 msgid " to the actual MIDI value (after humanization)\n" msgstr "" #: maintab.cc:97 msgid " * pDiversity: The importance given to choosing samples\n" msgstr "" #: maintab.cc:98 msgid " which haven't been played recently.\n" msgstr "" #: maintab.cc:99 msgid " * pRandom: The amount of randomness added." msgstr "" #: maintab.cc:102 msgid "This graph visualizes the time and velocity offsets of last note\n" msgstr "" #: maintab.cc:103 msgid "played according to it's ideal input time and velocity.\n" msgstr "" #: maintab.cc:104 msgid "The green lines indicate the ideal time and velocity positions.\n" msgstr "" #: maintab.cc:105 msgid "The pink areas indicate the spread of the position and velocity\n" msgstr "" #: maintab.cc:106 msgid "of the next note in line.\n" msgstr "" #: maintab.cc:107 msgid "The wider the area the more the note can move in time and velocity." msgstr "" #: maintab.cc:110 msgid "This function controls how the input powers are mapped to the powers\n" msgstr "" #: maintab.cc:111 msgid "that DrumGizmo uses for selecting samples.\n" msgstr "" #: maintab.cc:112 msgid "You can control the function by dragging and dropping the\n" msgstr "" #: maintab.cc:113 msgid "three colorful control points.\n" msgstr "" #: maintab.cc:114 msgid "" "Additionally, you can either use a shelf, which draws a horizontal line\n" msgstr "" #: maintab.cc:115 msgid "from the green and red control points to the left/right side.\n" msgstr "" #: maintab.cc:116 msgid "Or you can turn off the shelf, and then the function goes through\n" msgstr "" #: maintab.cc:117 msgid "the lower left corner, then the three control points, and then\n" msgstr "" #: maintab.cc:118 msgid "the upper right corner, enabling to draw more complicated functions." msgstr "" #: maintab.cc:121 msgid "" "This feature controls how many voices can simultaneously be in play for a " "given\n" msgstr "" #: maintab.cc:122 msgid "" "instrument. When this feature is active, Drumgizmo will silence any excess \n" msgstr "" #: maintab.cc:123 msgid "voices to ease the burden of processing.\n" msgstr "" #: maintab.cc:125 msgid "" "This feature works on a per-instrument basis, e.g., voices played on the " "bass\n" msgstr "" #: maintab.cc:126 msgid "" "drum can only be silenced by other bass drum hits, and not by the snare.\n" msgstr "" #: maintab.cc:128 msgid "" " * Max voices: The maximum number of voices that should be allowed to " "play.\n" msgstr "" #: maintab.cc:129 msgid " * Rampdown time: How many seconds it takes to silence a voice." msgstr "" #: maintab.cc:134 mainwindow.cc:56 msgid "Drumkit" msgstr "" #: maintab.cc:135 msgid "Status" msgstr "" #: maintab.cc:136 msgid "Resampling" msgstr "" #: maintab.cc:137 msgid "Voice Limit" msgstr "" #: maintab.cc:139 msgid "Disk Streaming" msgstr "" #: maintab.cc:140 msgid "Bleed Control" msgstr "" #: maintab.cc:143 msgid "Velocity Humanizer" msgstr "" #: maintab.cc:146 msgid "Timing Humanizer" msgstr "" #: maintab.cc:149 msgid "Sample Selection" msgstr "" #: maintab.cc:153 msgid "Visualizer" msgstr "" #: maintab.cc:156 msgid "Velocity Curve" msgstr "" #: mainwindow.cc:51 msgid "DrumGizmo v" msgstr "" #: mainwindow.cc:55 msgid "Main" msgstr "" #: mainwindow.cc:58 msgid "About" msgstr "" #: powerwidget.cc:55 msgid "Shelf" msgstr "" #: powerwidget.cc:213 msgid "in" msgstr "" #: powerwidget.cc:214 msgid "out" msgstr "" #: resamplingframecontent.cc:59 msgid "Quality" msgstr "" #: resamplingframecontent.cc:81 msgid "Session samplerate: " msgstr "" #: resamplingframecontent.cc:82 msgid "Drumkit samplerate: " msgstr "" #: resamplingframecontent.cc:83 msgid "Resampling recommended: " msgstr "" #: resamplingframecontent.cc:105 msgid "Yes" msgstr "" #: resamplingframecontent.cc:105 msgid "No" msgstr "" #: statusframecontent.cc:73 msgid "Drumkit status: " msgstr "" #: statusframecontent.cc:75 msgid "Drumkit name: " msgstr "" #: statusframecontent.cc:76 msgid "Drumkit description: " msgstr "" #: statusframecontent.cc:78 msgid "Session buffer size: " msgstr "" #: statusframecontent.cc:79 msgid "Number of underruns: " msgstr "" #: statusframecontent.cc:80 msgid "Messages:\n" msgstr "" #: statusframecontent.cc:89 msgid "No Kit Loaded" msgstr "" #: statusframecontent.cc:92 statusframecontent.cc:134 msgid "Loading..." msgstr "" #: statusframecontent.cc:95 statusframecontent.cc:137 msgid "Ready" msgstr "" #: statusframecontent.cc:98 statusframecontent.cc:140 msgid "Error" msgstr "" #: statusframecontent.cc:131 msgid "No Midimap Loaded" msgstr "" #: voicelimitframecontent.cc:41 msgid "Per-instrument voice limit:" msgstr "" #: humanizerframecontent.h:62 msgid "pAttack" msgstr "" #: humanizerframecontent.h:63 msgid "pRelease" msgstr "" #: humanizerframecontent.h:64 msgid "pStdDev" msgstr "" #: sampleselectionframecontent.h:62 msgid "pClose" msgstr "" #: sampleselectionframecontent.h:63 msgid "pDiverse" msgstr "" #: sampleselectionframecontent.h:64 msgid "pRandom" msgstr "" #: timingframecontent.h:74 msgid "pTightness" msgstr "" #: timingframecontent.h:75 msgid "pTimingRegain" msgstr "" #: timingframecontent.h:76 msgid "pLaidback" msgstr "" #: voicelimitframecontent.h:67 msgid "Max voices" msgstr "" #: voicelimitframecontent.h:68 msgid "Rampdown time" msgstr "" drumgizmo-0.9.20/plugingui/locale/Makefile.am0000644000076400007640000000006013756436707016064 00000000000000EXTRA_DIST = \ drumgizmo.pot \ da.po \ fr.po drumgizmo-0.9.20/plugingui/locale/fr.po0000644000076400007640000004074214306416273014776 00000000000000# French translations for drumgizmo package # Traductions en franais pour le paquet drumgizmo # Copyright (C) 2019-2020 THE drumgizmo'S COPYRIGHT HOLDER # This file is distributed under the same license as the drumgizmo package. # Automatically generated, 2019. # Olivier Humbert , 2020. # msgid "" msgstr "" "Project-Id-Version: drumgizmo 0.9.20\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-09-13 21:07+0200\n" "PO-Revision-Date: 2020-11-21 16:49+0200\n" "Last-Translator: Olivier Humbert \n" "Language-Team: none\n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-1\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #: abouttab.cc:82 msgid "" "=============\n" " About\n" "=============\n" "\n" msgstr "" "=============\n" " propos\n" "=============\n" "\n" #: abouttab.cc:90 msgid "" "\n" "=============\n" " Version\n" "=============\n" "\n" msgstr "" #: abouttab.cc:99 msgid "" "\n" "=============\n" " Bugs\n" "=============\n" "\n" msgstr "" "\n" "=============\n" " Bogues\n" "=============\n" "\n" #: abouttab.cc:108 msgid "" "\n" "=============\n" " Authors\n" "=============\n" "\n" msgstr "" "\n" "=============\n" " Auteurs\n" "=============\n" "\n" #: abouttab.cc:117 msgid "" "\n" "=============\n" " License\n" "=============\n" "\n" msgstr "" "\n" "=============\n" " Licence\n" "=============\n" "\n" #: bleedcontrolframecontent.cc:46 msgid "Master Bleed Volume:" msgstr "Volume principal de la repisse :" #: bleedcontrolframecontent.cc:49 msgid "0 %" msgstr "" #: diskstreamingframecontent.cc:46 msgid "Cache limit (max memory usage):" msgstr "Limite de cache (utilisation mmoire max) :" #: diskstreamingframecontent.cc:49 msgid "Apply" msgstr "Appliquer" #: diskstreamingframecontent.cc:52 msgid "0 MB" msgstr "" #: diskstreamingframecontent.cc:109 msgid "Unlimited" msgstr "Illimit" #: drumkitframecontent.cc:48 msgid "Browse..." msgstr "Naviguer..." #: drumkitframecontent.cc:95 msgid "Drumkit file:" msgstr "Fichier de kit de batterie :" #: drumkitframecontent.cc:96 msgid "Midimap file:" msgstr "Fichier midimap :" #: filebrowser.cc:66 msgid "Open file..." msgstr "Ouvrir un fichier..." #: filebrowser.cc:68 msgid "Path:" msgstr "Chemin :" #: filebrowser.cc:77 msgid "Select" msgstr "Slectionner" #: filebrowser.cc:80 msgid "Set default path" msgstr "Chemin par dfaut" #: filebrowser.cc:83 msgid "Cancel" msgstr "Annuler" #: filebrowser.cc:91 #, c-format msgid "Setting path to '%s'\n" msgstr "Paramtrer le chemin pour '%s'\n" #: filebrowser.cc:175 #, c-format msgid "Selecting ref-file '%s'\n" msgstr "Slection du fichier-rfrence '%s'\n" #: filebrowser.cc:209 #, c-format msgid "Changing path to '%s'\n" msgstr "Modification du chemin pour '%s'\n" #: filebrowser.cc:223 filebrowser.cc:231 #, c-format msgid "Selecting file '%s'\n" msgstr "Slectionner le fichier '%s'\n" #: filebrowser.cc:241 msgid "Showing partitions...\n" msgstr "Afficher les partitions...\n" #: filebrowser.cc:256 #, c-format msgid "Error changing to '%s'\n" msgstr "Erreur lors de la modification pour '%s'\n" #: filebrowser.cc:269 #, c-format msgid "Setting path of lineedit to %s\n" msgstr "Paramtrage du chemin de lineedit pour %s\n" #: maintab.cc:56 msgid "The first two knobs influence how DrumGizmo simulates the\n" msgstr "Les deux premiers boutons influencent la faon dont DrumGizmo\n" #: maintab.cc:57 msgid "stamina of a physical drummers, ie. the fact that they\n" msgstr "simule l'endurance d'un batteur physique, c'est dire le fait qu'il\n" #: maintab.cc:58 msgid "loose power in their strokes when playing fast notes:\n" msgstr "" "perde de la puissance dans ses coups quand il joue des notes rapides :\n" #: maintab.cc:59 msgid " * pAttack: How quickly the velocity gets reduced when\n" msgstr " * pAttaque : la rapidit avec laquelle la vlocit est rduite\n" #: maintab.cc:60 msgid " playing fast notes.\n" msgstr " lorsque vous jouez des notes rapides.\n" #: maintab.cc:61 msgid " Lower values result in faster velocity reduction.\n" msgstr "" " Des valeurs plus faibles entranent une rduction plus rapide\n" " de la vitesse.\n" #: maintab.cc:62 msgid " * pRelease: How quickly the drummer regains the velocity\n" msgstr " * pRelche : la rapidit avec laquelle le batteur retrouve\n" #: maintab.cc:63 msgid " when there are spaces between the notes.\n" msgstr " la vlocit lorsqu'il y a de l'espace entre les notes.\n" #: maintab.cc:64 msgid " Lower values result in faster regain.\n" msgstr "" " Des valeurs plus faibles entranent une rcupration plus rapide.\n" #: maintab.cc:65 maintab.cc:86 maintab.cc:124 maintab.cc:127 msgid "\n" msgstr "" #: maintab.cc:66 msgid "The last knob controls the randomization of the sample selection:\n" msgstr "" "Le dernier bouton contrle la randomisation de la slection\n" "de l'chantillon :\n" #: maintab.cc:67 msgid " * pStdDev: The standard-deviation for the sample selection.\n" msgstr " * pStdDev : l'cart-type pour la slection de l'chantillon.\n" #: maintab.cc:68 msgid " Higher value makes it more likely that a sample further\n" msgstr "" " Plus la valeur est leve, plus il est probable qu'un chantillon\n" #: maintab.cc:69 msgid " away from the input velocity will be played." msgstr " plus loign de la vitesse d'entre sera jou." #: maintab.cc:72 msgid "These three knobs influence how DrumGizmo simulates the tightness\n" msgstr "Ces trois boutons influencent la faon dont DrumGizmo simule\n" #: maintab.cc:73 msgid "of the drummer.\n" msgstr "la raideur du batteur.\n" #: maintab.cc:74 msgid "The drifting is defined as the difference between\n" msgstr "La drive est dfinie comme la diffrence entre\n" #: maintab.cc:75 msgid "" "the perfect metronome (defined by the note positions) and the 'internal'\n" msgstr "" "le mtronome parfait (dfini par les positions des notes) et le mtronome\n" #: maintab.cc:76 msgid "metronome of the drummer which can then drift back and forth in a\n" msgstr "'interne' du batteur qui peut alors driver d'avant en arrire\n" #: maintab.cc:77 msgid "controlled fashion:\n" msgstr "d'une manire contrle :\n" #: maintab.cc:78 msgid "" " * pTightness: For each note how much is the drummer allowed to drift.\n" msgstr " * pRaideur : pour chaque note, combien le batteur est la drive.\n" #: maintab.cc:79 msgid " Higher value make the drummer more tight, ie. drift less.\n" msgstr "" " Plus la valeur est leve, plus le batteur est raide,\n" " c'est--dire qu'il drive moins.\n" #: maintab.cc:80 msgid "" " * pTimingRegain: Once the drifted, how fast does the drummer's 'internal'\n" msgstr "" " * pRetourTiming : une fois qu'il a driv, quelle vitesse le mtronome\n" #: maintab.cc:81 msgid " metronome get back in sync with the perfect metronome.\n" msgstr "" " 'interne' du batteur se resynchronise avec le mtronome parfait.\n" #: maintab.cc:82 msgid " Higher values moves the timing back towards perfect faster.\n" msgstr "" " Des valeurs plus leves ramnent plus rapidement le timing\n" " vers la perfection.\n" #: maintab.cc:83 msgid "" " * pLaidback: Add or subtract a fixed delay in ms to all notes. This will\n" msgstr "" " * pNonchalance : ajoute ou soustrait un dlai fixe en ms toutes les " "notes.\n" #: maintab.cc:84 msgid " alter the feel of a beat.\n" msgstr " Cela modifiera la sensation d'un battement.\n" #: maintab.cc:85 msgid "" " Positive values are up-beat, negative values are back on the beat.\n" msgstr "" " Les valeurs positives sont en avance sur le temps, les valeurs\n" " ngatives sont en retard.\n" #: maintab.cc:87 msgid "" "NOTE: Enabling timing humanization will introduce a fixed delay into the\n" msgstr "" "REMARQUE : l'activation de l'humanisation du timing introduira un dlai\n" #: maintab.cc:88 msgid "audio stream.\n" msgstr "fixe dans le flux audio.\n" #: maintab.cc:89 msgid "So this feature should be disabled when using DrumGizmo in\n" msgstr "" "Donc, cette fonction devrait tre dsactive lors de l'utilisation de\n" #: maintab.cc:90 msgid "a real-time scenario such as live with a MIDI drumkit." msgstr "" "DrumGizmo dans un scnario temps-rel tel qu'un live avec\n" "un kit de batterie MIDI." #: maintab.cc:93 msgid "These three knobs influence how DrumGizmo selects\n" msgstr "Ces trois boutons influencent la faon dont DrumGizmo\n" #: maintab.cc:94 msgid "its samples in the following way:\n" msgstr "slectionne ses chantillons de la manire suivante :\n" #: maintab.cc:95 msgid " * pClose: The importance given to choosing a sample close\n" msgstr " * pProche : l'importance accorde au choix d'un chantillon\n" #: maintab.cc:96 msgid " to the actual MIDI value (after humanization)\n" msgstr " proche de la valeur MIDI relle (aprs humanisation)\n" #: maintab.cc:97 msgid " * pDiversity: The importance given to choosing samples\n" msgstr " * pDiversit : l'importance accorde au choix d'chantillons\n" #: maintab.cc:98 msgid " which haven't been played recently.\n" msgstr " qui n'ont pas t jous rcemment.\n" #: maintab.cc:99 msgid " * pRandom: The amount of randomness added." msgstr " * pAlatoire : la quantit de hasard ajoute." #: maintab.cc:102 msgid "This graph visualizes the time and velocity offsets of last note\n" msgstr "Ce graphique affiche les dcalages de temps et de vlocit de la\n" #: maintab.cc:103 msgid "played according to it's ideal input time and velocity.\n" msgstr "" "dernire note joue en fonction de son temps d'entre idal\n" "et de sa vlocit.\n" #: maintab.cc:104 msgid "The green lines indicate the ideal time and velocity positions.\n" msgstr "" "Les lignes vertes indiquent la position idale du temps et\n" "de la vitesse.\n" #: maintab.cc:105 msgid "The pink areas indicate the spread of the position and velocity\n" msgstr "Les zones roses indiquent l'talement de la position et la vitesse\n" #: maintab.cc:106 msgid "of the next note in line.\n" msgstr "de la note suivante sur la ligne.\n" #: maintab.cc:107 msgid "The wider the area the more the note can move in time and velocity." msgstr "" "Plus la zone est large, plus la note peut se dplacer dans le temps\n" "et la vlocit." #: maintab.cc:110 msgid "This function controls how the input powers are mapped to the powers\n" msgstr "" "Cette fonction contrle comment les puissances d'entre sont mises en\n" "correspondance avec les puissances que DrumGizmo utilise pour\n" #: maintab.cc:111 msgid "that DrumGizmo uses for selecting samples.\n" msgstr "slectionner les chantillons.\n" #: maintab.cc:112 msgid "You can control the function by dragging and dropping the\n" msgstr "Vous pouvez contrler la fonction en glissant et dposant les trois\n" #: maintab.cc:113 msgid "three colorful control points.\n" msgstr "points de contrle colors.\n" #: maintab.cc:114 msgid "" "Additionally, you can either use a shelf, which draws a horizontal line\n" msgstr "" "En outre, vous pouvez utiliser un plateau qui trace une ligne horizontale\n" #: maintab.cc:115 msgid "from the green and red control points to the left/right side.\n" msgstr "entre les points de contrle vert et rouge, gauche et droite.\n" #: maintab.cc:116 msgid "Or you can turn off the shelf, and then the function goes through\n" msgstr "Ou vous pouvez galement dsactiver le plateau, pour que la fonction\n" #: maintab.cc:117 msgid "the lower left corner, then the three control points, and then\n" msgstr "" "passe par le coin infrieur gauche, puis les trois points de contrle,\n" #: maintab.cc:118 msgid "the upper right corner, enabling to draw more complicated functions." msgstr "" "et enfin le coin suprieur droit, ce qui permet de dessiner des fonctions\n" "plus complexes." #: maintab.cc:121 msgid "" "This feature controls how many voices can simultaneously be in play for a " "given\n" msgstr "" "Cette fonction contrle le nombre de voix pouvant tre joues simultanment " "pour\n" #: maintab.cc:122 msgid "" "instrument. When this feature is active, Drumgizmo will silence any excess \n" msgstr "" "un instrument donn. Lorsque cette fonction est active, Drumgizmo fait \n" #: maintab.cc:123 msgid "voices to ease the burden of processing.\n" msgstr "taire les voix en excs pour allger la lourdeur du traitement.\n" #: maintab.cc:125 msgid "" "This feature works on a per-instrument basis, e.g., voices played on the " "bass\n" msgstr "" "Cette caractristique fonctionne instrument par instrument, c'est--dire que " "les\n" #: maintab.cc:126 msgid "" "drum can only be silenced by other bass drum hits, and not by the snare.\n" msgstr "" "voix joues la grosse caisse ne peuvent tre silences que par d'autres \n" "coups de grosse caisse, et pas par la caisse claire.\n" #: maintab.cc:128 msgid "" " * Max voices: The maximum number of voices that should be allowed to " "play.\n" msgstr "" " * Voix max : le nombre maximum de voix qui peuvent tre autorises " "jouer.\n" #: maintab.cc:129 msgid " * Rampdown time: How many seconds it takes to silence a voice." msgstr "" " * Dure de rampe : le nombre de secondes ncessaires pour silencer une " "voix." #: maintab.cc:134 mainwindow.cc:56 msgid "Drumkit" msgstr "Kit de batterie" #: maintab.cc:135 msgid "Status" msgstr "Statut" #: maintab.cc:136 msgid "Resampling" msgstr "Rchantillonnage" #: maintab.cc:137 msgid "Voice Limit" msgstr "Limite de voix" #: maintab.cc:139 msgid "Disk Streaming" msgstr "Streaming de disque" #: maintab.cc:140 msgid "Bleed Control" msgstr "Contrle de la repisse" #: maintab.cc:143 msgid "Velocity Humanizer" msgstr "Humaniseur de vlocit" #: maintab.cc:146 msgid "Timing Humanizer" msgstr "Humaniseur de justesse" #: maintab.cc:149 msgid "Sample Selection" msgstr "Slection de l'chantillon" #: maintab.cc:153 msgid "Visualizer" msgstr "Visualiseur" #: maintab.cc:156 msgid "Velocity Curve" msgstr "Courbe de vlocit" #: mainwindow.cc:51 msgid "DrumGizmo v" msgstr "" #: mainwindow.cc:55 msgid "Main" msgstr "Principal" #: mainwindow.cc:58 msgid "About" msgstr " propos" #: powerwidget.cc:55 msgid "Shelf" msgstr "Plateau" #: powerwidget.cc:213 msgid "in" msgstr "entre" #: powerwidget.cc:214 msgid "out" msgstr "sortie" #: resamplingframecontent.cc:59 msgid "Quality" msgstr "Qualit" #: resamplingframecontent.cc:81 msgid "Session samplerate: " msgstr "Taux de la session : " #: resamplingframecontent.cc:82 msgid "Drumkit samplerate: " msgstr "Taux du kit de batterie : " #: resamplingframecontent.cc:83 msgid "Resampling recommended: " msgstr "R-chantillonnage recommand : " #: resamplingframecontent.cc:105 msgid "Yes" msgstr "Oui" #: resamplingframecontent.cc:105 msgid "No" msgstr "Non" #: statusframecontent.cc:73 msgid "Drumkit status: " msgstr "Status du kit de batterie : " #: statusframecontent.cc:75 msgid "Drumkit name: " msgstr "Nom du kit de batterie : " #: statusframecontent.cc:76 msgid "Drumkit description: " msgstr "Description du kit de batterie : " #: statusframecontent.cc:78 msgid "Session buffer size: " msgstr "Taille du tampon de session : " #: statusframecontent.cc:79 msgid "Number of underruns: " msgstr "Nombre de dsynchros : " #: statusframecontent.cc:80 msgid "Messages:\n" msgstr "Messages :\n" #: statusframecontent.cc:89 msgid "No Kit Loaded" msgstr "pas de kit charg" #: statusframecontent.cc:92 statusframecontent.cc:134 msgid "Loading..." msgstr "Chargement..." #: statusframecontent.cc:95 statusframecontent.cc:137 msgid "Ready" msgstr "Prt" #: statusframecontent.cc:98 statusframecontent.cc:140 msgid "Error" msgstr "Erreur" #: statusframecontent.cc:131 msgid "No Midimap Loaded" msgstr "Pas de midimap charge" #: voicelimitframecontent.cc:41 msgid "Per-instrument voice limit:" msgstr "Limite de voix par instrument :" #: humanizerframecontent.h:62 msgid "pAttack" msgstr "pAttaque" #: humanizerframecontent.h:63 msgid "pRelease" msgstr "pRelche" #: humanizerframecontent.h:64 msgid "pStdDev" msgstr "pDvStd" #: sampleselectionframecontent.h:62 msgid "pClose" msgstr "pProche" #: sampleselectionframecontent.h:63 msgid "pDiverse" msgstr "pDiversit" #: sampleselectionframecontent.h:64 msgid "pRandom" msgstr "pAlatoire" #: timingframecontent.h:74 msgid "pTightness" msgstr "pRaideur" #: timingframecontent.h:75 msgid "pTimingRegain" msgstr "pRetourTiming" #: timingframecontent.h:76 msgid "pLaidback" msgstr "pNonchalance" #: voicelimitframecontent.h:67 msgid "Max voices" msgstr "Voix max" #: voicelimitframecontent.h:68 msgid "Rampdown time" msgstr "Dure de rampe" drumgizmo-0.9.20/plugingui/powerwidget.h0000644000076400007640000000542114177030654015275 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * powerwidget.h * * Fri Apr 24 17:30:45 CEST 2020 * Copyright 2020 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include #include #include #include #include struct Settings; class SettingsNotifier; namespace GUI { class PowerWidget : public dggui::Widget { public: PowerWidget(dggui::Widget* parent, Settings& settings, SettingsNotifier& settings_notifier); // From Widget: virtual void repaintEvent(dggui::RepaintEvent *repaintEvent) override; virtual void resize(std::size_t width, std::size_t height) override; private: dggui::TexturedBox box{getImageCache(), ":resources/widget.png", 0, 0, // atlas offset (x, y) 7, 1, 7, // dx1, dx2, dx3 7, 63, 7}; // dy1, dy2, dy3 class Canvas : public dggui::Widget { public: Canvas(dggui::Widget* parent, Settings& settings, SettingsNotifier& settings_notifier); // From Widget: virtual bool catchMouse() override { return true; } virtual void repaintEvent(dggui::RepaintEvent *repaintEvent) override; virtual void buttonEvent(dggui::ButtonEvent* buttonEvent) override; virtual void mouseMoveEvent(dggui::MouseMoveEvent* mouseMoveEvent) override; virtual void mouseLeaveEvent() override; private: Powermap power_map; void parameterChangedFloat(float); void parameterChangedBool(bool); SettingsNotifier& settings_notifier; Settings& settings; bool enabled{true}; int in_point{-1}; const float radius = 0.02f; const float brd = 6.0f; dggui::Font font{":resources/fontemboss.png"}; }; void chk_shelf(bool v); Canvas canvas; dggui::Label shelf_label{this}; dggui::CheckBox shelf_checkbox{this}; Settings& settings; }; } // ::GUI drumgizmo-0.9.20/plugingui/Makefile.am0000644000076400007640000001227713772650131014625 00000000000000SUBDIRS = locale DISTDIRS = locale noinst_PROGRAMS = plugingui noinst_LTLIBRARIES = libplugingui.la # If you add a file here, remember to add it to plugin/Makefile.mingw32.in RES = \ $(top_srcdir)/plugingui/resources/bg.png \ $(top_srcdir)/plugingui/resources/bypass_button.png \ $(top_srcdir)/plugingui/resources/font.png \ $(top_srcdir)/plugingui/resources/fontemboss.png \ $(top_srcdir)/plugingui/resources/help_button.png \ $(top_srcdir)/plugingui/resources/knob.png \ $(top_srcdir)/plugingui/resources/logo.png \ $(top_srcdir)/plugingui/resources/png_error \ $(top_srcdir)/plugingui/resources/progress.png \ $(top_srcdir)/plugingui/resources/pushbutton.png \ $(top_srcdir)/plugingui/resources/sidebar.png \ $(top_srcdir)/plugingui/resources/slider.png \ $(top_srcdir)/plugingui/resources/stddev_horizontal.png \ $(top_srcdir)/plugingui/resources/stddev_horizontal_disabled.png \ $(top_srcdir)/plugingui/resources/stddev_vertical.png \ $(top_srcdir)/plugingui/resources/stddev_vertical_disabled.png \ $(top_srcdir)/plugingui/resources/switch_back_off.png \ $(top_srcdir)/plugingui/resources/switch_back_on.png \ $(top_srcdir)/plugingui/resources/switch_front.png \ $(top_srcdir)/plugingui/resources/tab.png \ $(top_srcdir)/plugingui/resources/thinlistbox.png \ $(top_srcdir)/plugingui/resources/topbar.png \ $(top_srcdir)/plugingui/resources/toplogo.png \ $(top_srcdir)/plugingui/resources/vertline.png \ $(top_srcdir)/plugingui/resources/widget.png \ $(top_srcdir)/plugingui/../ABOUT \ $(top_srcdir)/plugingui/../ABOUT.fr \ $(top_srcdir)/plugingui/../AUTHORS \ $(top_srcdir)/plugingui/../AUTHORS.fr \ $(top_srcdir)/plugingui/../BUGS \ $(top_srcdir)/plugingui/../BUGS.fr \ $(top_srcdir)/plugingui/../COPYING if WITH_NLS $(top_srcdir)/plugingui/locale/drumgizmo.pot: $(GUI_SRC) $(GUI_HDR) (cd $(top_srcdir)/plugingui/; $(XGETTEXT) --package-name "$(PACKAGE)" --package-version "$(VERSION)" --copyright-holder="DrumGizmo Team" -k_ -o locale/drumgizmo.pot $(GUI_SRC) $(GUI_HDR) ) grep -v '"POT-Creation-Date:' $(top_srcdir)/plugingui/locale/drumgizmo.pot > $(top_srcdir)/plugingui/locale/drumgizmo.pot.tmp mv $(top_srcdir)/plugingui/locale/drumgizmo.pot.tmp $(top_srcdir)/plugingui/locale/drumgizmo.pot NLS_RES = \ $(top_builddir)/plugingui/locale/da.mo \ $(top_builddir)/plugingui/locale/fr.mo # NOTE: Manually create initial (new) .po file with msginit $(top_srcdir)/plugingui/locale/da.po \ $(top_srcdir)/plugingui/locale/fr.po: $(top_srcdir)/plugingui/locale/drumgizmo.pot $(MSGMERGE) --update $@ $(top_srcdir)/plugingui/locale/drumgizmo.pot $(top_builddir)/plugingui/locale/da.mo: $(top_srcdir)/plugingui/locale/da.po $(MSGFMT) -c -v -o $@ $(top_srcdir)/plugingui/locale/da.po $(top_builddir)/plugingui/locale/fr.mo: $(top_srcdir)/plugingui/locale/fr.po $(MSGFMT) -c -v -o $@ $(top_srcdir)/plugingui/locale/fr.po endif rcgen_verbose = $(rcgen_verbose_@AM_V@) rcgen_verbose_ = $(rcgen_verbose_@AM_DEFAULT_V@) rcgen_verbose_0 = @echo " RCGEN "$@; BUILT_SOURCES = \ resource_data.cc \ $(NLS_RES) resource_data.cc: $(top_builddir)/dggui/rcgen$(EXEEXT) $(RES) $(NLS_RES) $(rcgen_verbose)$(top_builddir)/dggui/rcgen$(EXEEXT) -s $(top_srcdir)/plugingui/ -s $(top_builddir)/plugingui/ -o $@ $(RES) $(NLS_RES) CLEANFILES = \ resource_data.cc \ $(NLS_RES) libplugingui_la_CPPFLAGS = \ $(DEBUG_FLAGS) \ -I$(top_srcdir) \ $(GUI_CPPFLAGS) \ -I$(top_srcdir)/hugin \ -I$(top_srcdir)/src \ -DWITH_HUG_MUTEX $(PTHREAD_CFLAGS) \ -DLODEPNG_NO_COMPILE_ENCODER \ -DLODEPNG_NO_COMPILE_DISK \ -DLODEPNG_NO_COMPILE_ANCILLARY_CHUNKS \ -DLODEPNG_NO_COMPILE_ERROR_TEXT \ -DLODEPNG_NO_COMPILE_CPP libplugingui_la_CFLAGS = libplugingui_la_LIBTOOLFLAGS=--tag=CC libplugingui_la_LIBADD = \ $(top_builddir)/dggui/libdggui.la \ $(GUI_LIBS) $(PTHREAD_LIBS) # If you add a file here, remember to add it to plugin/Makefile.mingw32.in GUI_SRC = \ abouttab.cc \ bleedcontrolframecontent.cc \ diskstreamingframecontent.cc \ drumkitframecontent.cc \ drumkittab.cc \ filebrowser.cc \ humaniservisualiser.cc \ humanizerframecontent.cc \ maintab.cc \ mainwindow.cc \ pluginconfig.cc \ powerwidget.cc \ resamplingframecontent.cc \ sampleselectionframecontent.cc \ statusframecontent.cc \ timingframecontent.cc \ visualizerframecontent.cc \ voicelimitframecontent.cc GUI_HDR = \ abouttab.h \ bleedcontrolframecontent.h \ diskstreamingframecontent.h \ drumkitframecontent.h \ drumkittab.h \ filebrowser.h \ humaniservisualiser.h \ humanizerframecontent.h \ labeledcontrol.h \ maintab.h \ mainwindow.h \ pluginconfig.h \ powerwidget.h \ resamplingframecontent.h \ sampleselectionframecontent.h \ statusframecontent.h \ timingframecontent.h \ visualizerframecontent.h \ voicelimitframecontent.h libplugingui_la_SOURCES = \ $(GUI_SRC) nodist_libplugingui_la_SOURCES = \ $(top_builddir)/plugingui/resource_data.cc plugingui_LDADD = \ libplugingui.la \ $(top_builddir)/src/libdg.la \ $(top_builddir)/src/libnls.la plugingui_CXXFLAGS = \ $(DEBUG_FLAGS) \ $(GUI_CPPFLAGS) \ $(SNDFILE_CXXFLAGS) \ $(PTHREAD_CFLAGS) \ -I$(top_srcdir) \ -I$(top_srcdir)/src \ -I$(top_srcdir)/hugin plugingui_CFLAGS = $(plugingui_CXXFLAGS) plugingui_SOURCES = \ testmain.cc \ $(top_srcdir)/hugin/hugin.c EXTRA_DIST = \ $(RES) \ $(GUI_HDR) drumgizmo-0.9.20/plugingui/mainwindow.cc0000644000076400007640000000656114177030654015255 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * mainwindow.cc * * Sat Nov 26 14:27:29 CET 2016 * Copyright 2016 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "mainwindow.h" #include #include #include #include namespace GUI { MainWindow::MainWindow(Settings& settings, void* native_window) : dggui::Window(native_window) , settings_notifier(settings) , main_tab(this, settings, settings_notifier, config) , drumkit_tab(this, settings, settings_notifier) { config.load(); CONNECT(this, sizeChangeNotifier, this, &MainWindow::sizeChanged); CONNECT(eventHandler(), closeNotifier, this, &MainWindow::closeEventHandler); setCaption(std::string(_("DrumGizmo v")) + VERSION); tabs.setTabWidth(100); tabs.move(16, 0); // x-offset to make room for the left side bar. tabs.addTab(_("Main"), &main_tab); drumkit_tab_id = tabs.addTab(_("Drumkit"), &drumkit_tab); changeDrumkitTabVisibility(false); // Hide while no kit is loaded tabs.addTab(_("About"), &about_tab); CONNECT(&drumkit_tab, imageChangeNotifier, this, &MainWindow::changeDrumkitTabVisibility); } MainWindow::~MainWindow() { config.save(); } bool MainWindow::processEvents() { settings_notifier.evaluate(); eventHandler()->processEvents(); if(closing) { closeNotifier(); closing = false; return false; } return true; } void MainWindow::repaintEvent(dggui::RepaintEvent* repaintEvent) { if(!visible()) { return; } dggui::Painter painter(*this); auto bar_height = tabs.getBarHeight(); // Grey background painter.drawImageStretched(0, 0, back, width(), height()); // Topbar above the sidebars topbar.setSize(16, bar_height); painter.drawImage(0, 0, topbar); painter.drawImage(width() - 16, 0, topbar); // Sidebars sidebar.setSize(16, height() - bar_height + 1); painter.drawImage(0, bar_height-1, sidebar); painter.drawImage(width() - 16, bar_height-1, sidebar); } void MainWindow::sizeChanged(std::size_t width, std::size_t height) { tabs.resize(std::max((int)width - 2 * 16, 0), height); } void MainWindow::changeDrumkitTabVisibility(bool visible) { // TODO: Check if the currently active tab is the drumkit tab and switch to // the main tab if it is. // TODO: Add disabled state to the TabButtons and make it disabled instead of // hidden here. tabs.setVisible(drumkit_tab_id, visible); } void MainWindow::closeEventHandler() { closing = true; } } // GUI:: drumgizmo-0.9.20/plugingui/filebrowser.cc0000644000076400007640000001470414177030654015422 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * filebrowser.cc * * Mon Feb 25 21:09:44 CET 2013 * Copyright 2013 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "filebrowser.h" #include #include #include #include #include #include #include #include #include #ifdef __MINGW32__ #include #endif #include namespace GUI { FileBrowser::FileBrowser(dggui::Widget* parent) : dggui::Dialog(parent, true) , dir(Directory::cwd()) , lbl_path(this) , lineedit(this) , listbox(this) , btn_sel(this) , btn_def(this) , btn_esc(this) , back(":resources/bg.png") { #if DG_PLATFORM == DG_PLATFORM_WINDOWS above_root = false; #endif setCaption(_("Open file...")); lbl_path.setText(_("Path:")); //lineedit.setReadOnly(true); CONNECT(&lineedit, enterPressedNotifier, this, &FileBrowser::handleKeyEvent); CONNECT(&listbox, selectionNotifier, this, &FileBrowser::listSelectionChanged); CONNECT(this, fileSelectNotifier, this, &FileBrowser::select); CONNECT(eventHandler(), closeNotifier, this, &FileBrowser::cancel); btn_sel.setText(_("Select")); CONNECT(&btn_sel, clickNotifier, this, &FileBrowser::selectButtonClicked); btn_def.setText(_("Set default path")); CONNECT(&btn_def, clickNotifier, this, &FileBrowser::setDefaultPath); btn_esc.setText(_("Cancel")); CONNECT(&btn_esc, clickNotifier, this, &FileBrowser::cancelButtonClicked); changeDir(); } void FileBrowser::setPath(const std::string& path) { INFO(filebrowser, _("Setting path to '%s'\n"), path.c_str()); if(!path.empty() && Directory::exists(path)) { dir.setPath(Directory::pathDirectory(path)); } else { dir.setPath(Directory::pathDirectory(Directory::cwd())); } listbox.clear(); changeDir(); } void FileBrowser::resize(std::size_t width, std::size_t height) { dggui::Dialog::resize(width, height); int offset = 0; int brd = 5; // border int btn_h = 30; int btn_w = std::max(width * 2 / 7, std::size_t(0)); offset += brd; lbl_path.move(brd, offset); lineedit.move(60, offset); offset += btn_h; lbl_path.resize(60, btn_h); lineedit.resize(std::max((int)width - 60 - brd, 0), btn_h); offset += brd; listbox.move(brd, offset); listbox.resize(std::max((int)width - 1 - 2*brd, 0), std::max((int)height - btn_h - 2*brd - offset, 0)); btn_def.move(brd, height - btn_h - brd); btn_def.resize(btn_w, btn_h); btn_esc.move(width - (brd + btn_w + brd + btn_w), height - btn_h - brd); btn_esc.resize(btn_w, btn_h); btn_sel.move(width - (brd + btn_w), height - btn_h - brd); btn_sel.resize(btn_w, btn_h); } void FileBrowser::repaintEvent(dggui::RepaintEvent* repaintEvent) { dggui::Painter p(*this); p.drawImageStretched(0,0, back, width(), height()); } void FileBrowser::listSelectionChanged() { changeDir(); } void FileBrowser::selectButtonClicked() { changeDir(); } void FileBrowser::setDefaultPath() { defaultPathChangedNotifier(dir.path()); } void FileBrowser::cancelButtonClicked() { cancel(); } void FileBrowser::handleKeyEvent() { listbox.clearSelectedValue(); std::string value = lineedit.getText(); if((value.size() > 1) && (value[0] == '@')) { DEBUG(filebrowser, _("Selecting ref-file '%s'\n"), value.c_str()); fileSelectNotifier(value); return; } dir.setPath(lineedit.getText()); changeDir(); } void FileBrowser::cancel() { has_filename = false; hide(); fileSelectCancelNotifier(); } void FileBrowser::select(const std::string& file) { has_filename = true; filename = file; hide(); } void FileBrowser::changeDir() { std::string value = listbox.selectedValue(); // if(!Directory::isDir(dir->path() + dir->seperator())) // { // return; // } listbox.clear(); INFO(filebrowser, _("Changing path to '%s'\n"), (dir.path() + dir.seperator() + value).c_str()); #if DG_PLATFORM == DG_PLATFORM_WINDOWS if(above_root && !value.empty()) { dir.setPath(value + dir.seperator()); value.clear(); above_root = false; } #endif if(value.empty() && !dir.isDir() && Directory::exists(dir.path())) { DEBUG(filebrowser, _("Selecting file '%s'\n"), dir.path().c_str()); fileSelectNotifier(dir.path()); return; } if(!value.empty() && dir.fileExists(value)) { std::string file = dir.path() + dir.seperator() + value; DEBUG(filebrowser, _("Selecting file '%s'\n"), file.c_str()); fileSelectNotifier(file); return; } std::vector items; #if DG_PLATFORM == DG_PLATFORM_WINDOWS if(Directory::isRoot(dir.path()) && (value == "..")) { DEBUG(filebrowser, _("Showing partitions...\n")); for(auto drive : dir.drives()) { dggui::ListBoxBasic::Item item; item.name = drive.name; item.value = drive.name; items.push_back(item); } above_root = true; } else #endif { if(!value.empty() && !dir.cd(value)) { DEBUG(filebrowser, _("Error changing to '%s'\n"), (dir.path() + dir.seperator() + value).c_str()); return; } Directory::EntryList entries = dir.entryList(); if(entries.empty()) { dir.cdUp(); entries = dir.entryList(); } DEBUG(filebrowser, _("Setting path of lineedit to %s\n"), dir.path().c_str()); lineedit.setText(dir.path()); for(auto entry : entries) { dggui::ListBoxBasic::Item item; item.name = entry; item.value = entry; items.push_back(item); } } listbox.addItems(items); } std::string FileBrowser::getFilename() const { return filename; } bool FileBrowser::hasFilename() const { return has_filename; } } // GUI:: drumgizmo-0.9.20/plugingui/voicelimitframecontent.h0000644000076400007640000000412413774323733017513 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * voicelimitframecontent.h * * Wed Aug 26 14:53:03 CEST 2020 * Copyright 2020 The Marlboro Man * marlborometal@gmail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include #include "labeledcontrol.h" struct Settings; class SettingsNotifier; namespace GUI { class VoiceLimitFrameContent : public dggui::Widget { public: VoiceLimitFrameContent(dggui::Widget* parent, Settings& settings, SettingsNotifier& settings_notifier); private: void maxvoicesKnobValueChanged(float value); void rampdownKnobValueChanged(float value); void maxvoicesSettingsValueChanged(float value); void rampdownSettingsValueChanged(float value); std::size_t convertMaxVoices(float value); Settings& settings; SettingsNotifier& settings_notifier; dggui::Label label_text{this}; dggui::GridLayout layout{this, 2, 1}; LabeledControl lc_max_voices{this, _("Max voices")}; LabeledControl lc_rampdown_time{this, _("Rampdown time")}; dggui::Knob knob_max_voices{&lc_max_voices}; dggui::Knob knob_rampdown_time{&lc_rampdown_time}; }; } // GUI:: drumgizmo-0.9.20/plugingui/resource_data.cc0000644000076400007640000116704214226304266015722 00000000000000/* This file is autogenerated by rcgen. Do not modify! */ #include const rc_data_t rc_dataX[] = { { ":resources/bg.png", 1123, "\211\120\116\107\15\12\32\12\0\0\0\15\111\110\104\122" "\0\0\1\162\0\0\1\112\10\6\0\0\0\0\15\324" "\311\0\0\0\6\142\113\107\104\0\377\0\377\0\377\240" "\275\247\223\0\0\0\11\160\110\131\163\0\0\15\327\0" "\0\15\327\1\102\50\233\170\0\0\0\7\164\111\115\105" "\7\335\4\6\13\15\70\43\146\165\177\0\0\3\360\111" "\104\101\124\170\332\355\334\261\15\200\60\20\4\101\100\364" "\137\240\233\61\65\134\162\74\142\246\4\7\253\13\136\76" "\327\132\373\0\340\263\56\117\0\40\344\0\10\71\0\102" "\16\40\344\0\174\321\275\267\243\25\0\213\34\0\41\7" "\100\310\1\204\34\0\41\7\240\314\325\12\200\105\16\200" "\220\3\40\344\0\102\16\200\220\3\40\344\0\10\71\200" "\220\3\40\344\0\10\71\0\102\16\40\344\0\214\347\323" "\54\0\213\34\0\41\7\100\310\1\204\34\0\41\7\100" "\310\1\10\71\77\4\260\310\1\20\162\0\204\34\100\310" "\1\20\162\0\372\134\255\0\130\344\0\10\71\0\102\16" "\40\344\0\10\71\0\175\256\126\0\54\162\0\204\34\0" "\41\7\20\162\0\204\34\0\41\7\40\344\374\20\300\42" "\7\100\310\1\20\162\0\41\7\100\310\1\350\163\265\2" "\140\221\3\40\344\0\10\71\200\220\3\40\344\0\10\71" "\0\102\16\40\344\0\10\71\0\102\16\200\220\3\10\71" "\0\343\371\64\13\300\42\7\100\310\1\20\162\0\41\7" "\100\310\1\20\162\0\102\316\17\1\54\162\0\204\34\0" "\41\7\20\162\0\204\34\200\76\127\53\0\26\71\0\102" "\16\200\220\3\10\71\0\102\16\200\220\3\20\162\176\10" "\140\221\3\40\344\0\10\71\200\220\3\40\344\0\364\271" "\132\1\260\310\1\20\162\0\204\34\100\310\1\20\162\0" "\372\134\255\0\130\344\0\10\71\0\102\16\40\344\0\10" "\71\0\102\16\200\220\3\10\71\0\102\16\200\220\3\40" "\344\0\102\16\300\170\76\315\2\260\310\1\20\162\0\204" "\34\100\310\1\20\162\0\204\34\200\220\363\103\0\213\34" "\0\41\7\100\310\1\204\34\0\41\7\240\317\325\12\200" "\105\16\200\220\3\40\344\0\102\16\200\220\3\40\344\0" "\204\234\37\2\130\344\0\10\71\0\102\16\40\344\0\10" "\71\0\175\256\126\0\54\162\0\204\34\0\41\7\20\162" "\0\204\34\200\76\127\53\0\26\71\0\102\16\200\220\3" "\10\71\0\102\16\200\220\3\40\344\0\102\16\200\220\3" "\40\344\0\10\71\200\220\3\60\236\117\263\0\54\162\0" "\204\34\0\41\7\20\162\0\204\34\0\41\7\40\344\374" "\20\300\42\7\100\310\1\20\162\0\41\7\100\310\1\350" "\163\265\2\140\221\3\40\344\0\10\71\200\220\3\40\344" "\0\10\71\0\41\347\207\0\26\71\0\102\16\200\220\3" "\10\71\0\102\16\100\237\253\25\0\213\34\0\41\7\100" "\310\1\204\34\0\41\7\100\310\1\10\71\77\4\260\310" "\1\20\162\0\204\34\100\310\1\20\162\0\204\34\0\41" "\7\20\162\0\204\34\0\41\7\100\310\1\376\300\137\53" "\0\26\71\0\102\16\200\220\3\10\71\0\102\16\200\220" "\3\20\162\176\10\140\221\3\40\344\0\10\71\200\220\3" "\40\344\0\364\271\132\1\260\310\1\20\162\0\204\34\100" "\310\1\20\162\0\204\34\200\220\363\103\0\213\34\0\41" "\7\100\310\1\204\34\0\41\7\240\317\325\12\200\105\16" "\200\220\3\40\344\0\102\16\200\220\3\40\344\0\204\234" "\37\2\130\344\0\10\71\0\102\16\40\344\0\10\71\0" "\102\16\200\220\3\10\71\0\102\16\200\220\3\40\344\0" "\177\340\257\25\0\213\34\0\41\7\100\310\1\204\34\0" "\41\7\100\310\1\10\71\77\4\260\310\1\20\162\0\204" "\34\100\310\1\20\162\0\372\134\255\0\130\344\0\10\71" "\0\102\16\40\344\0\10\71\0\102\16\100\310\371\41\200" "\105\16\200\220\3\40\344\0\102\16\200\220\3\320\347\152" "\5\300\42\7\100\310\1\20\162\0\41\7\100\310\1\20" "\162\0\102\316\17\1\54\162\0\204\34\0\41\7\20\162" "\0\204\34\200\76\127\53\0\26\71\0\102\16\200\220\3" "\10\71\0\102\16\200\220\3\40\344\0\102\16\200\220\3" "\40\344\0\10\71\200\220\3\60\236\117\263\0\54\162\0" "\204\34\0\41\7\20\162\0\204\34\200\76\127\53\0\26" "\71\0\102\16\200\220\3\10\71\0\102\16\200\220\3\20" "\162\176\10\140\221\3\40\344\0\10\71\200\220\3\40\344" "\0\364\271\132\1\260\310\1\20\162\0\204\34\100\310\1" "\20\162\0\204\34\200\220\363\103\0\213\34\200\67\75\173" "\113\211\365\123\166\223\131\0\0\0\0\111\105\116\104\256" "\102\140\202" }, { ":resources/bypass_button.png", 2146, "\211\120\116\107\15\12\32\12\0\0\0\15\111\110\104\122" "\0\0\0\140\0\0\0\20\10\2\0\0\0\146\330\355" "\256\0\0\0\4\147\101\115\101\0\0\257\310\67\5\212" "\351\0\0\0\31\164\105\130\164\123\157\146\164\167\141\162" "\145\0\101\144\157\142\145\40\111\155\141\147\145\122\145\141" "\144\171\161\311\145\74\0\0\7\364\111\104\101\124\170\332" "\264\127\113\157\33\107\22\356\156\16\337\57\211\242\136\224" "\114\156\162\120\244\215\251\134\144\73\200\1\1\76\372\340" "\333\236\27\310\177\310\376\214\354\161\163\61\20\337\367\144" "\350\340\203\341\10\10\154\54\254\50\221\142\46\261\127\62" "\5\275\42\211\244\44\122\224\50\221\63\335\63\371\272\173" "\330\236\310\12\240\4\310\150\320\352\256\372\130\323\125\135" "\125\135\105\237\76\175\72\62\62\102\256\367\324\353\365\345" "\345\345\363\363\363\153\342\23\211\304\334\334\334\137\52\277" "\120\50\144\62\231\153\342\333\355\366\326\326\226\155\333\327" "\304\107\42\21\372\345\177\276\114\45\23\224\120\112\74\220" "\230\142\370\13\217\172\152\360\344\102\122\316\72\162\353\311" "\144\2\20\20\74\375\57\200\127\77\366\260\120\63\322\121" "\370\114\66\315\102\41\146\121\214\41\213\21\106\31\123\222" "\135\274\236\53\204\340\302\343\256\53\334\366\311\351\37\225" "\177\326\71\213\106\243\152\317\324\214\346\321\133\367\25\40" "\244\327\353\141\324\370\353\74\300\133\2\373\162\75\106\134" "\45\133\155\306\363\376\373\331\147\140\377\343\253\107\114\152" "\241\224\301\127\50\201\72\370\230\160\101\220\170\322\307\77" "\122\370\177\176\365\110\113\320\366\244\175\274\307\50\11\21" "\32\206\215\324\113\151\173\112\32\42\275\226\46\60\213\372" "\215\360\244\332\277\47\377\160\256\11\174\156\71\167\265\174" "\154\215\122\143\5\74\117\236\74\301\170\377\376\375\240\165" "\214\261\202\110\375\54\54\54\140\174\360\340\301\373\66\142" "\56\314\43\4\66\105\204\240\134\354\74\177\16\112\234\20" "\274\304\25\333\57\136\20\301\61\361\134\171\302\134\300\232" "\230\50\253\12\271\336\170\376\34\147\217\23\301\13\122\365" "\305\13\370\203\204\372\174\71\221\7\313\30\13\61\270\17" "\315\303\122\154\160\50\207\67\24\146\144\204\262\60\143\240" "\207\30\264\274\54\37\22\206\35\210\33\54\344\360\202\344" "\214\162\315\63\362\275\300\203\17\355\355\355\141\22\122\17" "\46\130\32\243\110\323\53\274\33\170\166\166\166\60\152\274" "\131\232\7\170\206\317\170\122\177\70\71\377\371\361\343\225" "\207\17\141\51\246\143\115\10\54\101\4\213\10\151\107\371" "\13\271\101\65\343\174\365\361\343\377\75\174\210\251\66\66" "\46\130\202\10\226\2\371\170\2\335\55\102\103\204\217\12" "\161\303\243\176\220\341\217\210\111\17\104\260\130\10\121\356" "\375\106\276\20\27\23\335\336\214\23\224\337\233\166\100\354" "\203\24\320\165\265\316\30\327\327\327\53\225\112\320\145\260" "\4\61\150\104\215\324\223\265\265\265\127\257\136\5\361\130" "\202\150\60\170\54\171\340\152\7\277\54\55\155\57\54\144" "\262\131\54\165\34\143\7\130\202\230\310\347\307\157\337\166" "\25\205\364\307\355\245\245\267\12\57\372\12\160\205\7\61" "\225\317\27\157\337\66\110\151\154\110\34\242\311\251\44\343" "\314\46\75\246\162\10\107\272\211\45\335\51\367\334\356\170" "\7\36\140\101\371\136\201\244\76\115\223\36\271\20\35\253" "\57\77\225\114\221\117\311\171\257\103\367\374\35\152\145\60" "\337\337\337\337\334\334\214\307\343\332\147\245\101\21\12\361" "\270\46\216\215\215\151\212\31\201\337\330\330\210\305\142\101" "\74\226\40\42\367\217\217\217\153\212\14\61\231\43\205\250" "\257\256\42\254\46\356\336\15\236\30\226\40\66\126\126\245" "\167\12\337\267\71\227\363\75\205\57\336\275\153\14\204\111" "\121\341\367\127\126\125\346\365\361\320\0\6\141\103\241\164" "\74\355\66\340\344\52\277\310\254\341\142\11\42\130\0\310" "\224\35\220\117\13\54\233\315\362\267\116\120\76\226\40\202" "\145\344\233\300\151\64\32\10\23\50\26\364\10\54\101\4" "\313\104\226\306\143\122\253\325\300\232\230\230\10\32\10\113" "\20\301\322\361\45\15\244\254\203\157\361\166\265\352\40\21" "\316\316\142\65\112\10\136\316\171\356\223\131\20\117\66\252" "\52\152\44\116\310\44\40\361\255\152\25\267\145\136\341\13" "\204\24\24\176\370\223\131\20\233\12\57\372\170\271\67\317" "\265\262\226\55\154\273\336\303\174\74\61\206\27\37\266\33" "\75\20\301\322\351\66\50\337\32\261\272\116\367\142\375\34" "\253\17\163\37\340\205\374\356\333\163\20\301\62\362\115\210" "\341\12\307\44\237\317\153\107\320\256\201\45\210\140\31\353" "\230\361\344\344\104\3\56\341\15\313\17\61\256\76\25\122" "\161\40\203\110\132\216\117\175\361\205\366\40\231\101\24\113" "\250\163\304\216\264\253\373\104\205\207\204\217\25\136\153\247" "\131\32\243\361\312\371\4\62\264\366\20\214\353\137\257\371" "\207\54\244\333\200\45\21\330\110\100\276\25\261\144\222\226" "\366\22\337\375\173\331\307\73\330\225\13\226\221\257\65\67" "\267\273\136\336\272\165\313\314\15\135\333\305\204\130\20\177" "\347\316\235\367\361\176\210\51\167\26\216\340\351\122\11\244" "\332\312\212\360\67\53\37\54\345\175\134\52\71\232\304\175" "\72\124\311\226\112\330\324\336\157\361\130\202\10\26\177\17" "\317\117\70\56\62\222\41\132\47\35\176\136\32\351\231\361" "\66\277\2\137\167\102\341\20\31\43\101\371\336\50\1\221" "\67\34\203\327\201\40\323\245\52\27\121\152\6\257\41\54" "\145\41\226\311\30\330\225\170\103\17\342\365\143\251\300\341" "\314\43\3\63\63\335\112\245\366\362\45\256\325\341\162\31" "\270\303\37\53\207\113\337\342\376\6\113\250\43\23\312\256" "\370\5\302\174\150\146\346\274\122\331\177\371\322\161\335\261" "\162\31\166\71\370\261\322\130\372\26\71\150\110\341\111\37" "\357\70\66\11\321\136\275\227\57\346\243\205\230\335\153\273" "\155\131\363\321\14\115\116\104\243\54\172\124\73\164\154\7" "\117\120\176\157\253\67\66\233\110\225\323\207\235\206\273\357" "\112\374\70\33\234\115\45\103\211\243\315\206\221\257\375\2" "\36\64\60\60\320\154\66\165\372\100\244\200\173\164\164\4" "\205\65\313\4\227\361\216\134\56\327\152\265\16\16\16\140" "\205\341\341\141\251\357\341\41\360\310\101\140\231\242\311\222" "\356\303\345\275\236\276\171\223\64\32\27\213\213\265\147\317" "\176\171\366\114\26\332\52\23\305\357\335\3\13\56\146\156" "\61\256\66\67\160\363\46\22\143\147\161\21\340\35\205\207" "\51\47\160\61\335\273\7\26\224\64\367\221\335\165\220\222" "\133\353\115\334\101\305\231\33\265\114\275\163\162\46\53\346" "\154\152\324\32\331\175\275\333\134\157\72\75\307\101\72\12" "\310\157\376\160\234\311\146\376\76\77\263\71\232\150\35\264" "\344\27\307\6\376\26\55\125\277\251\36\377\160\154\322\166" "\120\141\364\20\320\20\265\317\356\356\256\214\164\306\120\64" "\343\376\2\53\210\14\342\141\320\40\36\231\10\275\13\130" "\6\251\14\244\12\37\20\22\363\363\221\301\301\314\233\67" "\336\316\216\54\125\157\24\351\364\264\125\56\333\256\254\155" "\105\340\232\327\115\100\146\176\76\66\70\70\370\346\215\253" "\360\354\106\221\115\117\107\312\145\370\40\15\50\140\167\155" "\335\124\154\175\277\145\267\355\321\311\321\311\41\130\222\264" "\152\255\215\335\215\375\267\373\160\37\336\165\234\256\163\111" "\376\306\142\325\76\262\47\77\232\374\250\70\45\117\270\172" "\370\372\377\257\167\137\355\150\256\106\102\53\171\345\251\34" "\204\246\17\26\71\73\73\273\270\270\300\341\343\266\116\245" "\122\331\176\41\142\212\111\355\112\370\211\301\353\356\317\340" "\115\122\223\260\317\77\377\127\52\36\103\141\202\366\210\171" "\375\136\214\370\315\27\121\65\277\253\132\15\174\4\137\6" "\63\36\217\111\210\352\211\256\172\124\117\244\72\251\13\205" "\37\30\312\132\221\260\25\263\254\60\136\24\324\262\116\224" "\362\165\165\16\347\264\271\200\7\331\274\165\324\372\243\362" "\21\21\150\51\165\27\146\122\265\121\357\122\223\241\333\324" "\160\70\174\315\136\14\121\157\311\133\10\333\204\201\124\223" "\303\250\157\31\275\101\24\60\332\354\102\65\152\110\144\50" "\137\240\226\157\103\377\50\165\127\251\333\113\131\336\350\116" "\211\366\361\216\155\253\104\310\271\145\131\221\220\54\232\31" "\125\205\263\53\233\34\130\307\101\162\166\135\351\100\177\102" "\76\325\7\256\255\160\251\131\275\144\46\23\70\357\34\44" "\360\303\367\173\64\31\142\355\366\151\243\336\320\247\242\276" "\117\374\121\375\51\73\275\333\133\64\32\231\233\273\125\234" "\234\124\236\206\42\23\161\113\374\121\375\201\316\134\246\112" "\6\111\335\336\336\132\136\376\356\57\225\377\323\117\77\237" "\236\236\32\15\203\343\73\227\353\23\161\100\245\122\11\51" "\346\112\177\321\230\40\345\370\370\370\127\1\6\0\226\216" "\161\33\174\205\303\132\0\0\0\0\111\105\116\104\256\102" "\140\202" }, { ":resources/font.png", 10827, "\211\120\116\107\15\12\32\12\0\0\0\15\111\110\104\122" "\0\0\7\135\0\0\0\20\10\6\0\0\0\135\214\146" "\362\0\0\0\11\160\110\131\163\0\0\16\304\0\0\16" "\304\1\225\53\16\33\0\0\40\0\111\104\101\124\170\234" "\355\235\171\364\135\125\225\347\77\277\220\164\244\222\212\61" "\222\230\212\241\142\14\105\112\245\54\151\225\106\27\315\212" "\24\5\313\201\106\12\225\5\55\266\245\250\215\226\224\55" "\113\104\50\64\42\112\251\5\132\245\245\122\22\324\202\122" "\24\107\304\221\166\142\24\54\73\316\212\20\10\140\200\200" "\214\11\146\370\15\257\377\370\356\363\273\347\236\167\316\35" "\336\273\357\375\136\222\273\327\172\353\275\167\366\76\373\354" "\63\355\263\367\31\41\1\35\72\235\26\327\342\132\334\160" "\160\356\167\214\276\210\107\23\162\364\103\137\127\356\176\145" "\254\222\136\212\117\31\377\136\312\176\117\301\227\225\155\125" "\176\375\362\250\333\216\173\211\327\104\36\206\111\323\204\176" "\10\151\232\250\203\246\344\256\112\73\210\162\30\26\257\141" "\322\64\21\247\116\334\101\321\124\325\363\115\215\71\375\362" "\33\46\256\137\176\275\216\335\115\365\351\141\341\6\115\137" "\5\67\214\64\352\332\113\375\366\331\26\327\342\132\334\314" "\343\232\262\333\7\351\267\225\361\252\153\237\64\75\46\206" "\64\115\311\123\205\146\20\161\7\145\37\125\251\273\141\214" "\237\303\240\257\22\47\202\337\4\234\124\203\327\153\54\116" "\21\355\7\200\216\175\316\257\300\167\55\260\5\370\2\60" "\131\101\206\50\14\212\266\227\270\1\115\264\214\43\174\272" "\312\266\112\271\326\220\147\132\16\373\77\235\236\375\357\342" "\337\217\356\13\350\326\22\251\343\252\355\261\112\131\105\350" "\222\355\260\212\154\211\164\243\320\204\236\30\321\66\123\47" "\255\252\174\152\321\354\52\270\121\220\241\16\256\352\70\330" "\213\16\230\351\274\65\201\33\105\231\206\136\6\243\44\114" "\213\153\161\273\73\256\216\343\322\264\34\375\320\327\225\173" "\30\16\136\257\16\154\323\3\336\356\204\57\53\333\252\374" "\372\345\321\253\3\327\264\223\70\112\64\115\350\207\220\146" "\0\216\115\317\174\252\322\16\242\34\206\305\153\230\64\115" "\304\251\23\167\120\64\125\365\174\323\216\300\250\332\20\115" "\362\353\165\354\156\252\117\17\13\67\150\372\52\270\141\244" "\121\327\136\352\267\317\266\270\26\327\342\146\36\327\224\335" "\76\110\277\255\214\127\135\373\244\351\61\61\244\151\112\236" "\52\64\203\210\73\50\373\250\112\335\15\143\374\34\6\175" "\225\70\21\174\164\361\252\200\127\331\142\320\21\300\243\300" "\331\366\171\324\302\122\174\147\1\123\300\5\300\375\300\31" "\45\62\164\202\357\42\332\257\3\23\366\135\106\133\31\172" "\150\377\125\26\10\41\122\266\125\312\65\340\23\55\37\243" "\11\27\131\303\105\330\56\376\26\236\343\331\203\37\232\254" "\343\252\355\261\112\131\5\164\205\355\260\212\154\211\164\213" "\312\67\12\75\224\27\214\116\233\251\232\126\22\366\24\273" "\175\24\144\250\203\253\72\16\366\142\377\314\164\336\232\300" "\215\242\114\103\57\203\121\22\246\305\265\270\335\35\127\307" "\161\151\132\216\176\350\353\312\75\14\7\257\127\7\266\351" "\1\157\167\302\227\225\155\125\176\375\362\350\325\201\253\23" "\157\30\306\155\223\64\115\350\207\220\146\0\216\115\317\174" "\252\322\16\242\34\206\305\153\230\64\115\304\251\23\167\120" "\64\125\365\174\323\216\300\250\332\20\115\362\353\165\354\156" "\252\117\17\13\67\150\372\52\270\141\244\121\327\136\352\267" "\317\266\270\26\327\342\146\36\127\242\227\147\125\341\325\217" "\34\51\171\352\360\252\153\237\64\75\46\206\64\75\312\123" "\364\351\111\346\62\232\141\333\107\125\352\156\30\343\347\60" "\350\253\304\151\332\277\31\161\332\11\340\55\366\335\63\337" "\136\342\216\72\115\257\176\113\325\364\172\225\153\167\244\33" "\166\171\355\156\64\63\210\373\26\322\35\227\127\211\67\3" "\362\365\205\33\244\16\230\351\274\65\201\33\105\231\6\205" "\233\225\102\266\320\102\13\103\207\116\342\333\207\247\1\177" "\260\337\373\1\333\2\374\131\150\67\131\7\355\266\72\51" "\202\233\2\316\364\302\137\214\166\236\305\340\4\140\253\245" "\363\352\22\271\1\376\16\330\350\375\277\335\302\142\60\236" "\10\157\22\326\0\217\170\377\227\2\267\240\1\176\34\370" "\5\52\107\37\366\41\53\143\200\303\120\236\306\201\235\300" "\172\140\271\207\77\0\370\215\341\46\200\137\1\117\111\310" "\363\52\272\353\165\77\22\316\270\301\102\340\153\46\323\44" "\160\17\360\2\17\37\213\73\345\341\127\3\277\64\371\166" "\2\77\3\126\171\370\305\300\217\14\267\35\370\41\260\42" "\41\377\260\140\25\160\33\52\317\73\201\247\107\150\146\1" "\247\2\267\242\266\76\211\312\150\75\160\114\11\377\323\120" "\71\235\232\300\207\345\71\156\351\34\32\320\75\17\330\140" "\162\76\12\374\133\11\237\260\357\305\150\142\155\240\14\17" "\371\276\337\101\345\361\206\110\132\251\374\66\101\263\16\370" "\162\5\72\7\367\3\357\115\340\336\107\136\57\165\200\367" "\227\310\5\360\54\324\37\135\177\375\31\352\243\141\234\260" "\176\327\223\357\27\0\7\42\35\341\367\235\62\136\23\250" "\255\370\72\140\51\160\55\352\137\123\350\212\245\57\2\163" "\12\370\244\332\101\14\374\360\267\2\73\200\5\11\332\171" "\110\237\237\343\205\75\2\34\34\320\235\141\174\117\17\302" "\17\46\257\123\67\240\376\344\303\337\43\75\353\340\116\272" "\307\217\127\133\270\17\261\274\377\277\10\336\301\26\244\343" "\103\210\365\217\176\40\171\65\134\42\355\46\240\16\37\327" "\367\177\335\0\357\20\127\245\375\225\341\166\145\130\75\323" "\2\64\10\357\46\157\33\270\72\233\62\134\13\55\264\260" "\147\300\46\144\337\370\260\6\371\27\223\300\357\201\243\153" "\360\72\45\10\73\205\374\11\42\177\174\170\77\262\247\376" "\0\274\51\210\227\362\177\103\373\266\310\246\176\13\262\161" "\306\201\53\52\346\241\56\324\221\147\254\340\343\340\315\46" "\363\66\144\77\325\201\123\221\155\71\1\174\333\13\177\203" "\361\233\0\276\353\205\47\117\135\106\340\100\340\146\124\137" "\105\376\107\12\316\42\177\225\350\221\300\146\13\333\14\34" "\336\43\37\37\176\212\374\205\52\364\163\200\273\321\334\206" "\17\251\262\52\112\243\16\224\371\234\273\62\355\243\250\154" "\36\256\100\13\232\363\230\244\232\317\3\365\375\354\72\76" "\364\40\150\210\304\11\241\212\57\227\112\63\65\217\320\224" "\177\274\53\320\25\301\201\310\27\162\74\276\143\174\375\166" "\63\350\271\220\272\64\125\174\344\72\72\327\215\115\261\266" "\342\240\310\257\115\215\21\105\127\232\257\45\161\175\164\11" "\34\16\274\15\170\176\215\70\275\100\231\37\337\113\236\253" "\246\25\362\256\313\363\4\64\306\137\200\332\104\70\127\265" "\226\164\331\17\42\337\105\351\15\22\206\131\207\105\74\173" "\232\357\30\103\306\335\22\57\154\22\170\173\207\116\147\214" "\261\67\265\270\26\327\342\6\212\33\3\260\337\164\350\60" "\306\330\44\60\33\31\230\263\175\72\144\10\237\4\354\217" "\234\325\67\142\312\327\350\72\150\300\75\7\170\73\162\76" "\27\4\270\131\300\73\311\166\72\157\100\306\310\364\342\207" "\227\346\203\300\173\54\370\14\340\161\136\76\34\335\144\207" "\316\136\106\377\173\144\50\174\305\160\57\106\13\61\373\170" "\364\167\240\101\343\57\201\377\4\126\2\117\12\362\31\5" "\107\23\243\115\340\56\1\226\1\207\131\370\227\114\226\277" "\261\374\377\7\62\312\136\150\370\77\41\133\164\164\274\36" "\2\76\1\234\13\74\306\342\74\26\370\113\303\157\6\256" "\104\213\35\0\237\104\13\56\373\106\344\334\0\74\31\163" "\266\15\377\132\64\200\75\61\221\337\33\321\344\304\233\321" "\102\344\171\46\377\343\22\145\166\241\361\177\265\341\157\7" "\276\202\352\36\340\37\321\325\47\373\31\376\133\250\216\177" "\204\352\367\43\300\63\175\371\213\312\75\126\7\51\174\25" "\32\303\377\47\252\207\263\201\317\241\105\356\77\363\342\356" "\15\334\10\374\61\360\357\300\227\120\331\76\3\365\213\27" "\241\166\167\162\42\315\133\120\333\176\34\301\242\273\353\213" "\144\23\42\263\121\335\134\150\345\262\310\150\236\212\26\204" "\76\214\34\316\3\201\317\2\227\2\47\107\370\200\352\140" "\55\352\233\357\116\320\304\312\43\111\143\370\267\33\337\265" "\300\273\14\365\136\344\60\277\16\130\127\302\247\103\326\336" "\235\36\12\351\162\64\21\76\353\200\307\243\115\34\125\345" "\6\351\214\3\201\337\171\350\175\221\263\265\60\110\363\41" "\340\317\54\116\114\256\47\1\137\105\345\374\75\264\360\370" "\12\340\130\340\50\340\256\204\134\113\121\235\254\1\236\152" "\64\117\104\216\333\47\200\217\42\75\161\226\361\132\15\334" "\223\340\265\4\31\306\373\3\117\63\232\137\3\77\107\365" "\261\31\265\347\213\214\347\221\221\366\331\11\313\255\106\375" "\215\241\305\352\113\351\136\164\7\31\237\257\102\165\65\341" "\351\200\115\344\235\276\153\321\46\237\137\0\207\170\341\353" "\220\176\74\334\342\76\27\370\206\345\151\53\352\57\167\241" "\11\333\353\215\346\177\42\103\167\251\307\347\156\53\217\117" "\47\164\302\42\340\46\340\57\210\224\265\375\377\76\152\67" "\47\6\345\64\26\51\223\143\201\317\3\57\101\216\102\35" "\175\65\255\243\213\342\24\325\121\205\170\105\375\255\54\336" "\24\152\233\37\4\36\355\127\306\202\361\265\50\136\112\157" "\104\241\207\362\150\34\127\221\176\7\60\167\120\162\65\305" "\247\42\156\33\232\364\276\52\250\263\147\243\276\361\244\252" "\362\216\240\55\335\342\132\134\213\363\174\313\2\175\276\32" "\155\62\373\43\310\365\367\315\350\212\320\377\203\46\101\137" "\113\332\317\300\213\373\132\344\127\74\1\363\133\201\373\220" "\377\171\141\144\174\330\11\274\314\350\317\107\33\301\212\164" "\164\314\276\165\20\263\251\335\142\356\355\310\66\331\253\137" "\375\34\224\145\135\171\252\360\336\216\371\53\310\336\334\273" "\106\334\255\150\156\340\167\330\146\276\116\346\273\236\213\154" "\255\13\201\271\26\176\27\360\16\262\272\51\52\227\337\221" "\337\144\74\155\133\105\312\45\126\167\67\2\7\221\331\62" "\367\1\227\241\205\200\163\221\57\373\204\12\162\114\363\11" "\320\357\106\266\346\1\25\351\277\212\354\245\243\3\372\256" "\262\252\220\106\35\137\270\314\347\334\123\150\101\175\362\21" "\340\70\42\276\116\20\267\27\77\73\306\147\230\64\241\377" "\61\35\47\304\247\342\25\321\222\236\107\150\312\77\36\165" "\272\242\366\262\4\371\215\37\6\76\144\74\336\211\26\255" "\216\3\56\53\251\307\262\171\216\101\321\124\361\221\123\174" "\374\374\207\143\323\131\170\363\275\101\371\275\6\157\356\61" "\300\155\302\306\10\17\167\44\232\153\73\317\150\116\5\216" "\351\320\371\326\30\143\173\241\261\377\343\310\307\76\17\170" "\117\244\15\307\332\367\167\321\201\206\157\240\172\256\345\63" "\225\321\173\270\134\176\33\310\163\121\276\302\71\203\160\314" "\375\103\202\47\76\77\117\276\375\321\206\252\25\300\277\140" "\33\263\14\137\126\366\115\347\273\237\272\116\302\10\326\141" "\21\117\210\364\305\362\62\320\344\330\147\275\70\377\213\154" "\122\371\356\26\327\342\132\334\100\161\176\7\167\116\351\157" "\221\123\174\23\260\72\350\374\137\101\16\303\61\150\342\370" "\277\220\37\244\40\350\350\21\34\36\376\245\150\221\155\261" "\47\237\257\70\46\221\321\62\7\31\162\263\43\164\33\72" "\164\126\215\61\166\42\360\117\230\321\340\361\270\7\55\30" "\72\303\341\317\321\102\306\263\321\102\337\53\201\337\106\24" "\156\152\341\241\316\242\353\264\262\264\360\315\150\321\332\355" "\176\76\30\71\200\156\201\361\76\253\237\257\223\236\360\136" "\206\234\371\71\11\374\122\113\67\164\364\137\6\374\3\132" "\104\360\353\175\35\162\124\326\4\174\174\147\360\122\62\207" "\274\53\317\136\320\11\310\20\377\163\17\77\205\234\41\167" "\72\155\41\126\227\206\337\206\115\276\170\362\377\316\303\227" "\55\272\236\204\214\272\302\5\211\100\346\151\3\44\201\337" "\201\372\300\355\310\341\337\110\176\3\302\65\300\17\110\357" "\340\73\14\31\160\177\113\367\242\316\63\200\353\321\204\317" "\146\340\71\300\117\202\364\241\173\100\135\210\46\222\134\275" "\137\145\377\137\342\321\234\0\374\63\260\270\200\317\264\21" "\334\204\243\147\170\267\241\42\74\255\364\176\64\161\366\330" "\72\16\102\47\276\170\122\344\104\344\26\134\153\310\15\72" "\31\373\0\371\5\277\213\120\375\274\40\110\363\343\150\101" "\366\371\71\126\31\315\225\300\247\321\306\7\37\346\240\205" "\320\127\25\310\265\300\344\160\355\354\12\264\331\341\270\200" "\356\42\244\57\217\52\340\265\4\351\200\71\136\37\134\212" "\332\213\203\247\240\166\67\67\322\157\372\135\164\75\3\235" "\120\135\110\376\144\333\54\313\343\277\142\175\307\342\34\207" "\46\64\236\344\321\76\202\332\323\231\344\117\315\156\104\106" "\357\47\275\364\56\107\106\370\337\30\357\345\330\244\226\107" "\263\1\370\30\152\223\157\6\136\217\115\320\44\364\306\327" "\121\377\367\67\116\114\347\77\164\154\202\162\212\71\55\67" "\242\166\260\23\370\157\5\351\6\5\233\247\251\340\30\114" "\313\130\304\247\2\256\316\242\153\152\2\247\47\31\13\306" "\327\242\170\51\275\21\205\36\312\243\161\134\335\262\35\204" "\134\115\361\251\221\227\275\200\251\110\235\215\143\47\357\153" "\364\213\121\262\245\133\134\213\153\161\236\157\131\240\317\317" "\107\33\251\16\202\56\177\57\264\123\252\352\226\115\310\117" "\71\25\155\376\171\51\371\311\134\137\327\154\105\23\342\157" "\53\113\47\260\157\335\206\341\61\144\327\334\211\154\316\243" "\310\333\324\37\103\266\343\243\310\316\252\72\216\46\41\50" "\113\337\336\356\344\310\202\215\315\65\170\157\107\266\72\150" "\23\164\154\321\65\351\23\243\215\250\377\27\370\55\360\267" "\101\334\161\344\347\236\320\203\75\63\211\306\14\7\321\61" "\261\144\174\365\155\231\51\344\53\74\204\66\326\335\107\365" "\105\361\60\377\7\242\11\373\277\300\333\264\131\100\377\162" "\144\347\256\300\273\151\313\350\237\214\66\65\117\227\225\241" "\237\211\312\65\225\106\24\172\360\71\367\4\132\220\157\164" "\33\72\54\160\17\221\66\35\304\355\325\317\16\371\14\223" "\46\154\363\323\161\52\330\354\125\26\135\41\76\217\320\224" "\177\74\352\164\105\355\305\235\274\363\375\366\37\240\303\16" "\267\1\207\226\324\343\114\55\272\126\361\221\303\370\343\350" "\4\376\113\200\333\43\143\23\150\234\377\42\266\71\153\24" "\374\256\176\161\243\40\103\35\134\325\61\267\144\14\135\217" "\306\272\45\250\177\57\45\333\64\77\222\371\256\212\53\241" "\231\315\150\346\23\172\230\347\201\374\125\240\323\377\15\331" "\342\132\134\213\33\54\16\357\167\307\17\13\161\45\37\237" "\156\215\13\13\170\270\323\60\147\222\115\304\337\106\344\372" "\30\117\216\273\221\201\173\31\132\4\216\322\331\367\125\170" "\306\222\307\343\123\206\163\141\317\100\306\371\101\366\375\254" "\260\74\246\131\24\247\127\206\333\227\340\224\212\375\367\167" "\206\57\102\127\66\70\374\51\323\354\22\351\40\147\141\153" "\4\77\13\355\106\372\24\272\316\67\304\337\214\46\10\302" "\172\277\236\304\165\7\206\37\47\161\315\127\300\177\36\132" "\114\175\172\200\337\204\46\101\346\33\315\371\26\346\360\73" "\261\223\310\6\373\143\355\43\150\227\141\373\74\311\370\154" "\102\273\217\252\264\125\107\363\32\57\156\356\252\210\110\231" "\237\214\55\30\33\356\105\250\314\40\333\261\77\216\352\366" "\122\254\76\321\102\340\115\21\236\227\43\47\32\264\163\354" "\53\221\364\303\172\135\216\26\7\77\343\321\74\202\256\75" "\12\141\226\107\23\153\77\220\57\213\24\115\112\236\72\370" "\131\330\202\131\35\171\22\355\76\45\363\72\362\127\12\327" "\225\173\15\332\45\355\303\3\310\260\14\323\234\203\34\160" "\377\52\134\237\346\141\140\145\42\111\277\315\307\344\132\114" "\136\27\74\110\274\176\17\162\362\226\360\332\351\321\74\204" "\26\21\347\104\150\353\350\276\52\365\7\252\367\373\311\116" "\337\73\70\25\225\321\354\54\142\247\143\364\133\220\76\4" "\115\64\75\152\277\267\330\177\14\277\315\305\367\322\133\200" "\362\370\72\113\167\172\221\326\243\71\312\160\356\24\314\121" "\21\32\7\7\43\135\66\47\240\11\165\347\134\324\357\227" "\7\341\141\231\54\106\72\173\221\175\57\116\244\333\5\41" "\215\375\77\36\215\135\23\250\315\234\27\310\170\64\52\347" "\333\321\70\344\160\313\221\116\232\104\155\350\245\36\156\25" "\232\104\36\107\23\322\276\374\113\55\336\70\232\124\135\22" "\244\27\53\233\225\250\315\157\107\223\270\141\137\72\27\265" "\321\351\353\247\22\375\77\325\357\57\103\33\133\272\306\11" "\164\232\172\207\175\116\107\273\162\335\325\332\147\6\374\76" "\202\352\44\304\255\100\223\20\343\350\44\305\276\101\274\17" "\131\371\337\205\306\54\207\133\155\371\336\206\116\373\207\362" "\137\214\135\133\156\141\356\52\256\51\244\167\136\225\52\333" "\104\37\364\161\133\200\347\132\370\163\354\277\303\155\305\154" "\35\324\366\73\144\23\273\207\4\264\267\221\75\313\360\146" "\313\277\317\347\140\57\336\303\11\171\335\30\345\367\361\260" "\215\164\202\376\342\217\135\205\60\202\266\164\213\153\161\55" "\56\303\305\372\270\177\355\340\357\261\161\335\303\157\102\33" "\266\162\140\370\313\221\256\166\327\173\376\32\333\124\146\144" "\257\101\233\324\126\40\335\173\122\20\337\311\361\64\344\127" "\116\242\215\303\205\157\313\6\72\327\277\52\161\61\32\177" "\356\231\46\315\350\47\220\375\170\132\20\36\205\32\176\113" "\154\14\360\177\273\362\15\345\51\4\243\161\127\42\157\103" "\72\77\26\67\125\76\253\221\175\160\152\20\276\25\325\303" "\361\330\42\143\302\236\51\32\323\356\240\333\306\10\307\221" "\242\272\13\371\335\213\116\362\56\104\13\51\233\123\361\123" "\174\14\146\43\173\351\65\25\351\227\240\361\375\71\11\372" "\255\250\334\247\313\312\322\370\35\221\353\14\143\66\122\1" "\276\212\317\271\47\320\202\174\350\157\345\110\22\140\161\373" "\361\263\231\41\32\310\267\371\256\376\22\362\211\205\247\150" "\163\321\362\151\64\345\37\217\72\335\225\310\307\0\335\352" "\167\67\266\111\5\345\337\157\57\47\243\47\277\216\40\157" "\367\127\55\323\141\321\100\271\217\34\362\131\216\16\256\374" "\274\200\346\172\344\53\371\174\212\374\327\121\302\275\10\325" "\273\273\46\372\7\350\100\305\275\26\266\1\273\236\336\350" "\213\374\353\42\37\172\20\70\110\264\201\36\165\200\263\55" "\266\30\376\354\200\167\57\176\364\260\161\371\354\166\5\164" "\72\150\223\301\106\124\337\237\100\67\36\126\261\123\6\201" "\53\363\265\277\153\371\74\63\213\134\32\157\244\234\204\26" "\327\342\366\64\34\336\357\216\37\26\340\34\154\47\273\276" "\145\33\162\140\175\272\357\242\211\316\16\162\150\346\172\70" "\177\162\361\54\64\341\267\71\114\57\110\363\337\54\315\273" "\60\345\31\243\263\357\334\33\100\36\217\143\14\27\123\274" "\251\174\102\132\51\107\371\104\160\377\210\31\43\136\370\24" "\371\323\272\263\311\57\60\346\322\116\310\373\257\330\111\331" "\0\357\336\212\235\300\46\123\75\374\13\220\363\232\313\227" "\341\67\241\66\341\46\251\257\303\273\216\331\344\173\37\32" "\154\335\316\266\145\221\364\327\241\53\131\302\62\171\236\311" "\344\6\212\11\354\124\255\341\327\43\107\150\21\152\133\353" "\303\374\7\337\135\213\255\101\172\205\20\320\164\55\276\6" "\370\327\241\366\367\172\17\167\55\162\216\127\132\231\134\206" "\166\263\257\66\331\157\267\270\7\240\362\364\171\316\101\23" "\103\153\354\377\241\366\77\266\270\23\373\274\337\243\231\304" "\256\105\53\310\147\252\74\302\101\77\365\51\242\251\222\116" "\114\236\322\264\22\365\30\63\124\326\121\254\103\312\372\273" "\303\337\217\116\202\203\166\250\76\74\115\326\115\173\62\172" "\363\45\46\327\44\211\205\115\362\223\116\241\134\113\320\16" "\333\153\74\232\11\202\33\0\14\346\31\56\306\153\16\62" "\266\276\212\332\242\243\71\226\354\155\354\253\221\221\366\242" "\54\3\225\165\137\225\366\344\340\54\244\267\175\330\204\26" "\333\102\276\240\274\273\105\332\17\41\75\4\322\51\316\151" "\173\253\313\127\44\275\267\232\34\271\367\135\3\232\137\241" "\153\243\177\131\100\3\162\144\376\76\102\23\266\173\320\365" "\307\347\106\302\375\62\371\50\360\175\13\277\12\71\50\275" "\350\53\367\377\141\164\122\177\1\332\161\357\353\31\247\123" "\367\101\172\352\72\17\167\3\162\226\366\266\157\177\361\376" "\107\150\107\362\102\373\355\313\377\3\64\206\314\105\165\361" "\235\130\136\3\31\157\100\247\262\227\241\353\331\302\276\164" "\65\322\371\323\23\305\211\376\37\353\203\27\131\174\42\361" "\72\226\347\45\350\24\362\375\150\42\156\161\54\55\324\356" "\366\211\340\256\105\116\327\76\126\306\327\5\361\176\142\171" "\373\24\172\246\300\341\176\202\364\364\62\324\326\102\371\57" "\300\333\75\156\151\136\200\372\356\132\362\213\237\271\262\255" "\340\244\135\155\274\260\357\253\75\334\365\310\166\0\75\173" "\340\26\35\134\171\136\353\321\36\116\266\171\341\101\362\343" "\365\365\110\357\272\170\337\13\344\165\160\253\225\251\303\55" "\44\70\335\103\276\256\307\261\115\27\26\346\336\11\334\146" "\262\35\211\46\65\374\172\330\30\244\271\261\305\265\270\26" "\67\22\270\360\373\54\244\163\316\106\343\325\27\320\170\134" "\144\33\342\341\117\101\372\154\11\362\107\276\346\247\141\260" "\11\155\276\312\275\177\25\350\232\173\55\376\211\110\347\334" "\206\167\73\122\220\237\120\347\26\215\327\241\36\236\104\13" "\146\223\1\357\263\55\337\356\273\314\16\210\225\145\327\370" "\210\306\346\67\223\155\126\213\331\144\211\4\342\64\65\354" "\302\173\11\352\315\302\337\212\164\270\73\275\231\262\147\212" "\306\264\325\310\347\334\101\244\36\302\266\226\220\337\247\71" "\222\374\233\256\107\172\270\137\243\172\161\337\121\76\6\237" "\43\377\176\155\62\135\203\237\220\135\57\30\243\357\52\53" "\164\345\376\67\113\322\210\102\17\76\347\356\116\13\362\235" "\266\242\66\225\221\44\164\217\347\323\125\361\263\313\370\14" "\223\206\110\234\260\74\142\375\220\10\155\122\57\47\322\150" "\302\77\36\165\272\167\43\273\175\43\322\113\276\16\31\47" "\363\333\227\241\305\313\125\26\346\217\5\251\376\233\322\363" "\203\246\161\120\344\43\307\370\254\44\75\37\1\52\217\375" "\3\76\105\376\353\50\341\36\104\276\334\2\64\137\322\101" "\363\254\7\40\37\372\15\110\337\70\372\42\377\272\310\207" "\36\4\16\22\155\240\7\35\340\154\267\263\320\246\377\273" "\310\157\304\355\320\233\37\75\154\134\41\30\315\317\321\174" "\301\12\324\26\56\216\225\241\137\116\3\304\25\371\332\35" "\124\337\347\242\272\71\263\142\274\221\162\22\132\134\213\333" "\323\160\170\277\73\176\130\200\3\55\260\376\301\176\357\217" "\46\303\142\164\47\42\205\260\1\233\164\117\50\274\333\221" "\43\355\57\306\372\212\343\357\220\23\162\23\231\2\1\317" "\0\16\34\256\161\274\367\10\274\64\227\221\77\365\25\205" "\72\6\155\121\71\171\270\330\144\174\270\350\72\213\156\247" "\234\60\75\17\126\243\301\156\136\2\77\7\71\374\17\6" "\370\137\140\273\227\35\157\17\277\3\55\12\314\107\223\236" "\347\243\111\167\277\114\176\216\14\215\205\150\161\350\307\1" "\177\347\374\114\237\162\365\360\267\240\53\310\26\42\303\363" "\313\344\47\33\226\43\43\157\34\115\30\270\23\104\135\145" "\352\311\223\333\315\32\244\127\10\11\232\313\351\56\363\223" "\254\154\302\35\363\217\240\276\160\75\371\253\325\100\33\3" "\334\256\333\205\164\327\355\351\164\57\104\335\205\267\120\24" "\31\210\335\111\327\165\344\167\54\115\132\32\105\371\114\225" "\107\321\240\137\207\117\221\341\20\353\73\225\344\111\324\121" "\310\147\35\232\170\273\236\154\241\241\127\271\77\207\256\177" "\305\276\277\74\115\26\347\165\23\132\220\17\151\46\311\277" "\305\344\40\266\120\352\177\266\133\272\376\11\310\324\242\353" "\174\272\235\67\377\63\201\26\335\302\135\217\263\321\146\214" "\317\243\15\30\123\330\25\100\221\362\116\351\267\52\365\347" "\140\26\322\103\156\61\373\245\250\357\164\135\21\157\77\117" "\306\166\25\42\207\357\55\366\373\44\114\137\30\376\254\110" "\134\120\37\232\242\170\321\365\171\46\353\232\2\232\327\241" "\211\130\42\64\241\356\204\370\346\32\310\227\311\375\144\273" "\206\217\246\302\46\240\204\154\261\70\173\7\151\165\310\166" "\71\56\44\357\24\156\43\73\115\34\362\334\116\246\277\17" "\16\170\76\112\326\256\367\243\373\246\205\230\214\333\310\116" "\0\207\374\72\344\67\121\25\365\377\60\336\7\321\351\242" "\360\204\122\307\243\161\116\376\134\373\277\242\200\337\376\11" "\334\243\236\214\113\54\77\176\74\367\316\360\12\362\47\324" "\167\220\335\334\260\246\50\75\13\273\3\215\221\157\300\253" "\233\130\331\126\160\322\336\204\166\74\203\167\362\310\160\147" "\240\311\144\220\15\370\55\262\353\12\157\305\66\74\170\351" "\136\203\46\245\277\27\244\177\46\231\115\171\233\311\35\266" "\313\17\220\365\131\207\73\333\362\231\313\213\27\357\146\164" "\152\300\341\176\203\312\352\10\144\323\354\100\345\374\31\217" "\306\311\341\140\143\213\153\161\55\156\44\160\141\37\167\376" "\335\253\321\242\350\74\154\361\303\323\1\53\361\66\146\70" "\60\374\135\344\257\255\334\6\54\350\301\157\33\47\323\335" "\107\33\237\337\4\162\204\151\107\307\271\56\322\4\17\57" "\174\77\144\303\37\141\337\373\25\305\211\361\215\214\1\176" "\136\267\20\267\113\13\241\104\346\112\145\133\223\147\54\215" "\174\160\234\107\162\114\54\250\273\122\231\74\134\325\372\71" "\6\215\215\173\333\377\127\340\75\243\21\241\237\136\140\107" "\175\300\55\256\236\223\240\7\331\313\176\32\307\46\322\230" "\347\207\107\360\125\175\316\335\235\26\264\351\354\372\200\276" "\254\115\364\343\147\317\24\15\344\373\120\330\137\40\340\123" "\140\157\166\321\346\242\305\345\352\327\77\36\165\72\320\342" "\116\7\315\235\341\341\246\310\374\366\237\222\265\305\105\24" "\57\116\146\154\146\206\306\101\221\217\34\343\263\232\274\377" "\23\322\374\20\55\374\370\174\174\10\375\327\121\302\55\107" "\163\46\67\220\235\360\74\320\243\337\307\302\146\173\76\157" "\312\277\56\362\241\7\201\203\104\33\350\101\7\370\67\174" "\200\354\260\260\316\173\361\243\207\215\253\142\313\354\100\163" "\65\27\243\61\373\321\130\31\106\362\71\10\134\221\257\335" "\41\233\147\10\27\272\13\175\164\207\160\260\321\103\266\270" "\26\327\342\6\213\303\373\135\344\270\124\125\130\131\264\342" "\301\355\104\262\153\231\234\102\17\25\307\303\310\160\233\203" "\46\5\117\104\247\320\266\4\262\371\3\303\334\20\147\141" "\261\323\244\261\174\346\203\22\64\221\62\11\161\163\221\362" "\336\67\210\273\203\374\240\74\237\356\323\220\323\151\7\141" "\363\320\342\151\170\272\70\204\345\344\363\173\50\132\374\230" "\65\35\255\70\376\174\362\213\324\223\150\247\236\203\360\352" "\122\320\202\356\35\4\140\370\11\362\127\52\57\243\333\200" "\365\341\150\362\3\135\370\135\166\65\160\235\166\232\272\242" "\30\124\146\271\253\316\274\374\354\215\214\16\337\0\3\135" "\337\370\136\373\175\74\335\213\337\33\22\162\155\210\344\41" "\204\175\350\356\37\207\7\64\13\311\73\362\251\366\136\64" "\350\7\204\305\64\25\170\124\111\53\107\223\150\27\41\237" "\153\55\174\157\164\315\327\211\175\310\175\60\232\4\331\17" "\325\357\141\45\262\37\214\275\257\33\320\74\104\374\172\242" "\375\50\277\22\70\224\55\165\275\360\41\344\215\153\307\153" "\66\331\356\312\120\357\304\340\225\344\27\344\362\42\304\145" "\332\111\367\4\304\42\322\233\132\326\222\115\66\375\12\55" "\120\306\370\202\312\322\135\155\344\73\57\163\220\76\130\210" "\164\377\342\110\134\167\275\360\353\355\73\166\275\160\131\336" "\174\31\216\110\320\304\164\147\354\32\371\351\164\152\216\71" "\245\64\366\177\45\72\225\172\23\52\233\260\235\272\211\272" "\331\344\27\350\247\360\26\53\3\236\123\136\274\171\1\317" "\111\362\372\52\34\117\143\62\116\221\355\32\17\371\105\353" "\44\321\377\303\170\277\104\213\367\317\312\10\162\361\72\101" "\36\13\323\52\300\371\273\336\347\320\175\102\326\155\376\12" "\355\13\177\143\125\54\337\341\142\361\176\150\242\160\12\351" "\236\143\75\134\116\376\12\62\57\100\343\322\174\373\366\117" "\216\56\101\355\164\41\352\257\373\42\235\267\334\376\207\127" "\136\37\152\274\17\12\322\137\152\162\256\64\176\363\203\170" "\117\107\372\51\134\134\236\302\353\127\221\272\76\224\174\133" "\365\235\370\56\30\101\133\272\305\265\270\26\227\341\142\172" "\171\76\332\354\161\251\37\311\323\1\253\320\370\115\4\357" "\116\272\56\46\175\322\25\12\306\167\373\276\36\351\247\103" "\15\275\206\304\325\267\176\36\354\257\273\245\11\344\307\134" "\112\266\350\123\70\336\133\170\331\111\312\170\324\356\74\204" "\343\343\176\150\362\177\75\231\17\134\152\177\224\245\137\323" "\166\352\51\334\313\217\33\63\103\233\72\226\176\70\46\26" "\325\135\251\114\1\256\354\44\362\42\144\43\72\37\141\5" "\332\274\324\45\223\301\201\310\46\167\33\320\36\104\33\312" "\217\40\77\161\355\303\76\226\306\32\373\77\37\265\263\130" "\32\307\340\315\211\104\360\125\175\316\335\235\166\66\262\33" "\143\364\121\260\270\375\370\331\314\20\15\216\256\300\157\111" "\365\215\122\332\134\264\270\134\375\372\307\243\116\167\16\32" "\13\156\245\373\244\253\133\264\131\213\35\136\60\70\64\340" "\121\305\227\36\46\215\17\145\343\40\250\77\75\13\351\310" "\153\22\64\40\177\347\32\164\232\324\321\24\371\257\243\204" "\73\23\335\342\360\31\262\247\331\242\372\303\363\161\122\376" "\165\221\17\75\10\34\201\154\375\350\200\260\116\347\246\170" "\107\322\55\362\243\207\215\53\4\257\16\17\107\175\165\5" "\305\247\323\253\226\101\257\270\42\137\173\147\57\361\272\32" "\147\13\55\264\60\222\60\206\234\334\57\330\357\257\330\147" "\214\374\143\316\343\144\106\113\356\44\154\0\357\41\163\72" "\307\320\211\253\167\5\274\346\131\172\343\300\137\241\153\36" "\116\40\133\154\11\141\34\273\366\66\200\345\104\166\117\67" "\0\143\164\347\337\301\53\320\151\246\73\203\360\373\311\117" "\46\76\321\302\312\340\71\150\262\340\24\202\153\77\42\60" "\227\354\135\121\320\211\100\167\352\262\314\210\6\170\14\260" "\227\367\177\47\331\225\271\20\277\176\345\245\44\256\132\102" "\312\377\336\340\377\104\101\372\7\41\143\66\5\37\107\345" "\266\26\170\47\335\213\257\143\5\37\7\156\261\365\235\306" "\347\211\306\327\301\54\124\146\377\222\310\317\66\124\106\353" "\3\334\5\144\327\210\236\216\275\71\150\360\114\324\76\377" "\70\220\351\261\26\36\56\340\206\360\170\362\3\355\172\340" "\177\7\64\157\42\362\376\117\0\147\121\342\270\365\0\316" "\100\155\62\255\77\220\115\124\114\357\22\365\340\277\333\367" "\66\144\44\235\217\267\41\241\46\374\220\354\335\323\107\320" "\65\351\145\364\77\6\76\34\204\137\107\66\31\343\303\32" "\262\353\162\253\302\65\350\364\247\203\233\320\51\352\327\341" "\235\42\363\140\2\170\73\272\232\354\73\1\156\47\146\170" "\171\160\71\351\253\224\122\260\11\351\142\37\376\212\154\3" "\115\10\147\3\117\100\233\145\226\1\377\120\300\173\34\351" "\231\365\150\207\377\3\136\370\55\250\374\176\217\234\371\20" "\56\101\375\356\43\350\372\336\213\213\263\221\204\17\243\223" "\202\51\135\26\203\73\115\256\23\313\10\33\204\353\220\336" "\130\207\367\356\216\7\117\266\157\267\10\347\300\55\310\305" "\140\7\360\124\373\35\56\170\355\4\376\210\114\147\125\261" "\335\267\223\235\60\175\112\5\372\252\360\54\244\147\327\25" "\320\164\235\374\350\1\166\222\335\234\21\352\136\310\66\42" "\55\43\137\306\333\310\166\240\306\26\16\103\331\156\61\36" "\13\321\304\371\177\324\220\161\125\360\377\21\64\71\173\45" "\371\76\4\32\203\357\7\76\146\270\73\55\354\102\373\16" "\373\325\173\120\277\176\137\20\176\217\321\176\302\170\154\15" "\360\137\106\47\112\176\33\204\277\7\357\155\247\10\134\102" "\376\352\361\60\176\13\55\264\260\353\302\166\164\102\342\40" "\340\337\355\373\221\200\346\114\272\155\52\7\177\215\156\224" "\330\210\164\345\52\62\373\45\134\100\211\55\250\270\337\107" "\32\217\53\201\227\43\275\164\163\211\354\316\276\175\7\362" "\31\72\150\223\351\177\105\366\317\40\154\152\7\61\377\62" "\264\267\157\41\273\51\344\373\3\226\147\120\340\66\12\376" "\351\214\112\121\16\137\103\267\305\70\37\341\233\300\33\23" "\264\263\221\235\175\32\331\255\22\217\3\76\211\154\341\217" "\44\342\175\35\55\350\177\337\376\137\216\306\351\30\34\215" "\332\162\14\352\370\234\273\63\55\310\67\272\203\364\234\100" "\12\172\365\263\167\167\50\322\61\375\372\307\243\116\367\74" "\324\177\237\14\374\23\172\142\304\155\130\275\15\170\33\72" "\135\366\102\57\316\253\261\305\111\203\52\276\364\60\151\252" "\202\33\127\307\121\176\266\242\215\37\41\70\37\161\12\55" "\130\372\7\30\212\374\327\121\302\255\5\236\215\16\120\270" "\71\227\77\41\323\35\173\221\75\267\7\305\376\165\221\17" "\75\10\134\223\20\332\33\323\157\325\127\200\42\77\172\330" "\70\37\122\362\357\104\375\371\64\264\201\170\173\202\56\364" "\275\7\201\53\362\265\147\223\35\56\10\165\161\241\217\276" "\61\110\144\43\114\257\326\266\270\26\327\342\6\213\303\377" "\135\262\133\164\3\331\73\167\67\223\135\377\350\323\335\202" "\166\5\71\45\35\333\145\362\52\362\127\302\270\335\303\41" "\375\115\310\361\130\204\116\60\355\100\13\61\147\143\273\142" "\3\271\357\103\223\373\241\334\307\31\256\160\267\113\235\135" "\275\105\345\144\337\337\43\230\370\267\360\57\33\156\137\244" "\60\57\102\16\134\310\323\347\165\12\232\74\355\132\224\63" "\374\3\250\114\346\241\135\340\337\264\164\122\371\15\353\375" "\101\124\366\363\320\144\306\5\330\144\210\327\176\76\210\46" "\222\227\32\357\360\236\374\7\211\30\136\206\277\332\362\271" "\302\370\177\216\374\133\163\17\241\353\10\347\243\335\277\167" "\21\274\111\133\124\356\144\47\137\353\354\146\352\172\17\66" "\300\27\305\275\37\225\363\317\320\242\352\162\264\50\176\43" "\52\333\147\240\62\274\227\374\65\320\127\140\127\43\106\340" "\62\364\16\147\152\367\323\52\113\353\373\36\315\101\250\117" "\274\33\325\315\53\120\377\70\275\200\317\231\144\157\277\31" "\212\240\0\0\11\361\111\104\101\124\63\244\150\142\171\56" "\53\23\367\346\203\157\230\325\111\53\267\363\313\276\67\243" "\162\131\202\256\161\276\275\204\317\361\144\327\326\125\225\333" "\307\137\142\377\57\313\221\245\171\55\106\355\336\247\161\357" "\127\36\205\332\363\174\373\275\236\374\73\310\125\312\174\11" "\152\153\147\243\372\175\37\62\236\46\311\277\261\30\343\165" "\47\371\162\377\61\152\177\207\240\362\171\72\322\255\251\367" "\56\122\372\355\225\300\335\150\221\173\201\345\355\36\244\243" "\122\175\347\154\264\20\365\336\10\56\214\163\272\245\375\211" "\10\217\16\301\65\322\26\367\71\150\67\272\63\100\27\330" "\377\203\153\346\155\71\52\357\25\5\162\166\215\231\6\227" "\140\223\160\211\135\246\121\250\241\257\302\377\343\350\104\344" "\162\364\236\150\330\116\335\273\334\147\4\162\271\367\250\347" "\243\335\332\376\316\353\353\320\51\244\371\150\203\217\317\363" "\207\144\155\372\243\330\73\312\45\73\146\257\102\143\333\122" "\164\75\123\121\137\212\365\377\50\316\302\146\243\272\72\72" "\22\257\254\276\253\312\161\3\371\267\141\326\7\361\256\105" "\175\364\22\362\343\331\267\255\214\226\320\135\216\261\162\172" "\30\265\357\271\164\337\366\201\375\177\212\27\346\354\245\105" "\150\74\10\333\331\205\26\366\251\40\35\120\175\354\44\323" "\161\137\104\372\344\322\200\326\177\323\365\1\354\304\275\307" "\347\113\144\157\321\372\361\76\100\176\167\277\217\233\336\131" "\357\227\107\220\317\205\101\72\111\30\101\133\272\305\265\270" "\26\227\341\302\76\176\65\322\45\333\220\75\173\13\322\253" "\216\356\154\244\213\46\220\115\161\34\25\336\76\257\61\276" "\207\343\312\247\221\316\271\221\356\133\52\302\270\61\373\326" "\101\314\316\115\311\331\313\365\302\176\374\306\344\211\361\256" "\20\236\52\237\236\171\172\343\342\225\150\214\270\312\245\123" "\220\176\227\35\126\120\167\245\62\171\270\262\372\71\15\357" "\212\174\117\26\377\343\323\307\336\175\75\20\315\155\34\237" "\220\353\114\272\67\34\245\322\70\14\155\120\336\233\256\10" "\235\16\365\174\316\335\231\26\64\7\164\164\204\266\254\115" "\364\342\147\307\370\14\223\6\362\355\244\253\277\204\174\142" "\341\51\132\252\371\366\375\370\307\243\116\27\5\303\275\303" "\362\374\15\264\11\174\21\322\33\367\221\177\73\374\225\224" "\373\322\303\244\311\147\45\236\267\72\355\363\101\262\133\41" "\302\271\335\42\377\165\224\160\133\220\277\274\30\351\224\35" "\310\347\72\10\371\167\127\220\177\102\257\310\277\56\362\241" "\7\201\43\310\113\77\72\300\267\67\252\364\175\77\335\42" "\77\172\330\270\102\60\232\117\242\265\216\171\310\137\276\301" "\303\25\371\336\203\300\101\332\327\356\240\15\140\316\156\16" "\355\275\124\274\221\162\22\132\134\213\333\323\160\170\277\103" "\247\224\200\156\73\331\256\236\155\4\247\312\74\47\340\176" "\244\20\306\311\277\51\346\40\134\360\362\337\164\365\25\307" "\12\164\252\163\334\322\373\64\32\374\176\205\355\354\14\34" "\256\357\341\55\164\172\151\136\214\275\263\131\301\140\52\204" "\12\345\344\160\133\210\277\211\360\64\264\333\322\235\366\274" "\205\274\41\226\221\147\141\356\312\213\360\343\360\207\240\72" "\165\47\60\257\240\140\22\301\305\365\360\153\320\202\326\4" "\52\353\137\222\137\324\71\32\31\150\156\102\144\75\335\127" "\21\116\20\71\145\154\370\105\150\102\177\207\175\256\43\177" "\355\341\213\321\2\345\44\132\354\15\337\154\354\24\225\173" "\44\275\102\250\301\43\125\307\127\240\201\156\5\162\236\235" "\334\157\101\213\135\23\150\101\66\274\342\365\41\362\327\54" "\373\260\14\71\371\163\274\1\325\377\70\143\317\57\67\220" "\3\270\331\144\330\202\46\275\375\64\303\217\177\75\132\212" "\46\326\306\252\364\33\327\217\313\322\212\263\361\150\354\373" "\50\244\113\46\121\373\130\123\201\317\77\223\67\222\352\344" "\353\100\373\377\334\224\134\221\364\316\13\150\100\13\232\77" "\107\13\14\73\355\367\364\133\307\65\234\27\320\142\313\117" "\214\317\66\144\4\136\102\136\207\307\170\271\205\310\105\106" "\263\12\355\300\35\67\372\355\110\137\56\10\322\313\345\73" "\41\323\271\150\361\167\312\276\317\213\320\370\60\33\365\223" "\331\21\134\30\147\1\352\77\207\4\144\113\120\73\210\275" "\31\275\201\340\35\127\364\76\345\206\204\114\251\274\375\214" "\32\355\45\340\273\206\374\106\25\350\156\27\135\320\213\276" "\262\377\357\260\364\266\241\361\55\224\361\64\64\156\334\104" "\376\155\337\345\26\66\101\367\242\345\62\324\256\266\221\55" "\162\373\143\361\315\136\274\43\142\171\15\144\134\211\306\372" "\155\150\302\52\274\236\67\37\305\303\25\214\205\176\370\51" "\330\225\366\341\70\21\343\135\201\137\210\133\205\46\64\47" "\254\134\126\5\361\56\66\334\315\344\307\360\175\310\354\226" "\317\27\245\147\141\47\240\305\210\230\15\204\361\362\257\70" "\162\172\166\47\162\250\302\166\346\336\317\235\336\261\357\341" "\216\65\234\173\147\371\345\366\377\250\200\366\66\164\5\42" "\250\234\157\15\370\34\147\361\302\53\236\267\222\356\73\263" "\350\176\223\256\23\153\103\65\372\305\306\40\170\143\213\153" "\161\55\156\44\160\141\37\137\102\166\105\352\103\330\165\203" "\36\335\117\221\56\334\27\335\160\264\223\364\25\302\4\161" "\363\101\161\232\230\377\160\16\336\151\333\2\277\16\272\355" "\133\367\211\331\271\105\162\226\135\137\33\205\240\114\373\226" "\47\41\133\54\274\350\123\45\277\205\341\136\32\77\102\343" "\334\365\5\274\223\143\105\111\335\25\312\344\341\212\256\177" "\136\215\46\321\123\327\336\207\62\205\357\276\72\270\227\164" "\31\76\315\322\110\235\206\11\323\270\217\310\123\30\36\276" "\216\317\271\73\323\276\201\156\135\345\240\112\333\256\353\147" "\307\370\14\223\206\110\34\142\370\242\360\40\254\114\307\304" "\372\126\257\376\361\256\100\327\5\206\273\25\335\2\270\31" "\371\0\216\307\1\21\36\125\174\351\141\322\144\101\361\274" "\25\216\45\1\215\77\76\205\176\315\73\110\373\257\243\204" "\173\75\331\106\367\133\220\277\163\30\272\331\152\2\325\365" "\1\36\175\221\177\275\202\264\17\75\10\34\101\136\372\325" "\1\135\363\364\61\336\221\164\213\374\350\141\343\12\301\150" "\156\104\67\305\355\64\76\176\374\42\337\173\20\70\110\373" "\332\35\264\310\77\101\334\336\113\305\343\16\64\301\346\76" "\376\256\201\26\327\342\132\334\140\161\370\277\253\70\56\51" "\10\350\122\312\274\22\324\115\323\276\137\201\167\215\255\307" "\343\76\154\127\151\5\203\251\112\172\67\24\225\123\135\47" "\264\10\337\113\234\335\21\137\124\356\165\370\365\53\223\341" "\126\242\135\203\213\123\164\6\237\3\176\123\125\256\252\362" "\215\32\115\217\372\241\220\246\337\176\132\205\156\46\352\244" "\101\136\105\47\113\7\221\136\243\145\320\157\234\72\161\33" "\246\211\71\43\51\136\215\264\345\220\246\127\176\303\304\105" "\302\127\21\177\273\74\32\57\146\113\364\20\257\20\372\314" "\163\235\61\276\47\333\252\11\372\52\270\36\371\270\311\341" "\272\361\46\203\260\216\175\317\242\102\337\212\360\34\45\133" "\272\305\265\270\26\227\341\302\76\16\262\207\375\153\6\361" "\351\123\320\320\30\352\344\170\30\335\32\62\17\55\306\354" "\50\342\125\327\76\351\305\377\153\312\66\356\227\367\60\342" "\46\354\231\252\74\72\301\167\130\56\207\243\372\134\131\220" "\126\255\174\224\341\146\202\336\213\63\116\366\224\1\150\1" "\340\321\272\74\133\332\112\161\163\155\253\16\377\231\244\251" "\332\7\372\321\175\115\372\206\273\62\235\341\312\346\205\106" "\276\315\314\24\315\256\202\53\241\357\322\23\63\55\373\40" "\165\300\114\347\255\11\334\50\312\344\341\122\276\166\131\35" "\106\343\215\241\35\215\117\364\302\47\200\103\204\34\373\142" "\213\153\161\55\156\240\270\61\160\235\161\154\314\17\163\20" "\13\213\101\21\135\125\36\275\246\351\321\77\200\336\74\274" "\314\302\136\206\336\60\173\174\23\62\32\315\267\73\164\216" "\110\225\123\212\117\31\377\136\312\176\117\301\27\225\173\35" "\176\375\312\344\341\216\107\273\344\327\241\353\73\177\213\234" "\335\47\3\377\3\355\220\353\240\135\106\277\257\323\376\233" "\310\303\60\151\232\320\17\41\115\23\272\244\51\271\253\322" "\16\242\34\206\305\153\230\64\115\304\151\132\246\32\64\140" "\357\100\125\320\363\35\240\357\266\34\322\364\312\157\230\70" "\13\337\211\336\66\272\10\135\315\364\247\300\352\52\374\354" "\173\76\272\252\351\235\300\254\32\361\372\356\323\25\160\20" "\171\17\54\21\57\331\16\352\312\60\210\72\354\201\317\142" "\262\253\330\237\137\63\375\173\201\27\1\67\272\162\354\320" "\141\214\261\347\241\147\21\36\123\125\336\21\264\245\133\134" "\213\153\161\236\157\31\364\361\307\240\23\45\373\342\155\216" "\205\306\154\362\44\4\162\274\4\371\204\213\114\236\167\1" "\347\247\170\325\265\117\172\361\377\232\262\215\373\345\75\214" "\270\11\173\6\252\215\247\35\243\163\337\141\271\314\101\276" "\327\173\201\275\207\141\73\315\4\275\27\347\247\350\106\227" "\67\242\23\131\227\240\167\6\137\330\264\177\263\47\320\226" "\304\235\215\327\266\352\360\237\111\232\252\175\240\37\335\327" "\244\157\270\53\323\15\273\274\166\67\232\135\5\127\102\337" "\245\47\146\132\366\101\352\200\231\316\133\23\270\121\224\311" "\160\105\276\66\244\155\246\144\274\130\132\245\310\26\327\342" "\132\134\263\70\367\73\106\137\330\121\33\220\243\37\372\210" "\334\157\42\177\345\340\35\144\357\320\366\55\143\225\162\112" "\361\51\343\337\113\331\357\51\370\262\262\255\312\257\137\36" "\1\156\5\172\23\357\136\264\343\170\12\355\160\333\210\26" "\144\147\45\342\365\45\337\250\321\64\241\37\102\232\46\164" "\111\123\162\127\245\35\104\71\14\213\327\60\151\232\210\123" "\47\156\303\64\323\73\14\113\364\174\51\135\204\66\366\351" "\212\77\252\66\104\44\374\54\262\253\231\356\104\157\135\127" "\342\147\337\237\45\176\335\156\131\274\112\320\147\236\353\214" "\361\75\331\126\115\320\127\301\365\300\147\2\135\33\275\264" "\207\364\77\104\360\146\255\175\117\141\357\73\126\225\167\124" "\332\172\213\153\161\55\56\216\163\272\322\276\227\343\75\377" "\122\225\127\77\162\44\344\251\225\116\135\373\244\27\377\257" "\311\74\364\303\173\30\161\23\366\114\337\351\173\174\306\201" "\257\27\244\125\310\247\127\71\206\111\357\305\131\206\336\41" "\164\117\367\134\205\116\160\67\66\346\357\111\264\45\161\163" "\155\253\16\377\231\244\251\332\7\372\321\175\115\372\206\273" "\62\335\260\313\153\167\243\331\125\160\45\364\135\172\142\246" "\145\37\244\16\230\351\274\65\201\33\105\231\14\127\344\153" "\27\325\141\62\336\377\7\17\40\0\77\147\261\65\312\0" "\0\0\0\111\105\116\104\256\102\140\202" }, { ":resources/fontemboss.png", 19286, "\211\120\116\107\15\12\32\12\0\0\0\15\111\110\104\122" "\0\0\7\135\0\0\0\21\10\6\0\0\0\226\320\265" "\127\0\0\0\11\160\110\131\163\0\0\16\304\0\0\16" "\304\1\225\53\16\33\0\0\40\0\111\104\101\124\170\234" "\355\135\151\170\24\305\326\176\173\146\62\223\215\231\144\262" "\1\331\111\40\100\330\41\201\310\22\370\56\102\100\202\202" "\242\27\101\26\27\100\121\331\67\131\104\104\145\23\101\21" "\121\21\21\104\166\10\273\134\274\42\210\54\262\57\11\141" "\15\20\40\310\222\20\110\40\373\371\176\164\167\254\351\164" "\317\164\222\111\214\336\251\347\231\147\146\352\175\353\324\251" "\123\325\125\165\272\253\253\0\205\100\40\162\140\16\314\201" "\125\16\46\376\226\343\133\223\141\17\75\312\303\57\255\336" "\345\325\121\115\176\112\162\154\311\57\213\355\377\127\160\133" "\266\125\53\257\274\62\112\333\216\313\222\316\36\145\250\114" "\216\75\372\7\51\307\36\165\140\57\275\325\162\53\302\16" "\225\45\253\62\71\366\110\123\232\264\25\305\121\333\317\333" "\153\314\51\257\274\312\304\312\53\257\254\143\267\275\256\351" "\312\302\52\232\257\6\253\214\74\112\73\137\52\357\65\353" "\300\34\230\3\373\353\61\173\315\333\53\322\157\263\45\253" "\264\363\23\173\217\211\122\216\275\364\121\303\251\210\264\25" "\65\77\122\123\167\225\61\176\126\6\137\115\32\31\374\6" "\200\127\113\41\353\65\41\215\65\356\47\0\110\370\314\125" "\41\167\52\200\207\0\326\3\50\124\241\203\154\250\50\156" "\131\322\112\70\262\66\226\221\123\302\266\152\354\132\12\175" "\212\365\20\376\27\347\47\374\57\41\277\74\175\237\204\67" "\25\62\165\254\266\75\252\261\225\14\117\261\35\252\321\115" "\41\137\331\140\217\176\242\212\266\231\322\344\245\126\116\251" "\70\177\27\254\52\350\120\32\114\355\70\130\226\76\340\257" "\56\233\75\260\252\250\123\245\333\240\52\51\343\300\34\330" "\77\35\53\215\343\142\157\75\312\303\57\255\336\225\341\340" "\225\325\201\265\367\200\367\117\302\155\331\126\255\274\362\312" "\50\253\3\147\157\47\261\52\161\354\321\77\110\71\25\340" "\330\224\131\216\132\156\105\330\241\262\144\125\46\307\36\151" "\112\223\266\242\70\152\373\171\173\73\2\125\165\16\141\117" "\171\145\35\273\355\165\115\127\26\126\321\174\65\130\145\344" "\121\332\371\122\171\257\131\7\346\300\34\330\137\217\331\153" "\336\136\221\176\233\55\131\245\235\237\330\173\114\224\162\354" "\245\217\32\116\105\244\255\250\371\221\232\272\253\214\361\263" "\62\370\152\322\110\361\131\263\146\155\363\363\363\373\103\255" "\54\137\137\337\333\163\346\314\331\152\205\333\311\305\305\45" "\147\354\330\261\311\143\307\216\115\166\161\161\171\14\240\223" "\25\271\32\216\343\212\372\366\355\233\350\351\351\371\160\322" "\244\111\247\154\350\100\222\157\153\334\355\0\12\204\157\233" "\145\123\33\112\333\376\225\154\54\225\43\147\133\65\166\225" "\310\221\265\17\201\210\325\203\100\304\346\107\40\222\223\57" "\310\266\220\131\6\77\124\261\216\325\266\107\65\266\222\360" "\254\266\103\65\272\51\224\125\321\276\122\135\324\140\112\274" "\252\322\146\112\221\227\252\162\225\205\363\167\301\252\202\16" "\245\301\324\216\203\145\231\377\374\325\145\263\7\126\25\165" "\252\164\33\124\45\145\34\230\3\373\247\143\245\161\134\354" "\255\107\171\370\245\325\273\62\34\274\262\72\260\366\36\360" "\376\111\270\55\333\252\225\127\136\31\145\165\340\112\223\256" "\62\46\267\366\344\330\243\177\220\162\354\355\330\224\107\216" "\132\156\105\330\241\262\144\125\46\307\36\151\112\223\266\242" "\70\152\373\171\173\73\2\125\165\16\141\117\171\145\35\273" "\355\165\115\127\26\126\321\174\65\130\145\344\121\332\371\122" "\171\257\131\7\346\300\34\330\137\217\331\350\227\65\152\144" "\225\107\17\45\175\112\43\253\264\363\23\173\217\211\122\116" "\31\365\261\366\51\223\316\266\70\225\75\77\122\123\167\225" "\61\176\126\6\137\115\232\22\145\47\152\100\104\357\253\225" "\105\104\323\211\50\122\211\113\104\201\104\364\25\21\75\41" "\174\276\44\242\100\45\271\104\304\21\321\72\42\212\43\242" "\217\211\50\332\206\276\33\331\157\153\134\255\126\133\370\336" "\173\357\35\327\152\265\205\266\270\245\11\245\155\377\112\66" "\226\51\133\11\333\252\261\253\44\57\131\373\20\210\130\75" "\204\377\305\371\11\377\113\310\27\342\55\144\226\326\17\265" "\126\307\152\333\243\32\133\251\265\227\132\335\24\362\125\264" "\257\55\73\330\12\125\261\315\250\315\113\155\271\312\302\371" "\13\261\235\340\27\155\154\126\223\356\57\320\257\134\230\332" "\161\260\54\363\237\277\272\154\366\300\252\242\116\225\156\203" "\252\244\214\3\163\140\377\164\114\164\314\30\7\15\342\267" "\104\106\44\200\107\302\357\160\0\217\45\62\46\3\50\22" "\322\146\303\162\213\23\21\53\2\60\221\221\371\14\200\173" "\12\272\275\10\40\113\310\347\25\205\62\20\303\177\23\300" "\25\6\273\52\304\225\50\63\200\174\45\173\50\5\65\16" "\236\4\153\17\340\1\23\137\35\300\105\360\3\174\76\200" "\63\340\355\310\246\363\206\140\143\41\356\377\204\62\345\3" "\310\3\160\34\100\0\203\67\0\220\54\140\5\0\222\0" "\324\123\320\363\145\374\131\277\42\36\56\304\111\77\42\356" "\1\140\233\240\123\41\200\133\0\272\62\270\334\247\210\301" "\43\0\44\12\372\345\1\70\5\40\214\301\175\0\34\26" "\260\34\0\7\1\4\313\331\264\74\23\0\265\34\1\17" "\3\220\2\336\236\251\0\32\311\244\325\0\30\5\340\62" "\370\266\136\10\336\106\307\1\364\260\221\347\130\360\166\32" "\245\220\277\364\223\57\344\323\116\42\257\3\200\113\202\236" "\331\0\276\262\41\307\342\332\263\122\177\322\66\140\13\7" "\54\257\175\22\354\61\124\46\57\271\140\221\227\102\35\111" "\365\221\13\337\0\110\120\301\23\361\173\0\146\52\120\146" "\11\70\53\153\266\15\275\0\240\5\370\353\121\274\136\117" "\201\277\106\331\174\345\352\367\70\54\257\13\0\150\12\276" "\217\310\53\205\254\2\360\155\205\355\3\252\3\370\15\374" "\365\125\4\176\213\245\15\0\234\254\310\121\152\7\162\201" "\345\214\3\220\13\300\250\300\165\3\337\237\117\147\322\74" "\0\320\112\302\173\107\220\73\136\22\337\12\226\175\352\45" "\360\327\23\33\206\201\357\147\105\116\52\112\216\37\257\10" "\361\254\275\345\312\176\214\341\110\355\361\20\174\37\317\30" "\102\226\47\33\112\321\137\111\267\13\263\306\225\305\313\240" "\107\151\364\27\257\375\263\166\320\121\172\375\333\154\177\66" "\372\15\133\272\377\145\230\112\176\104\105\352\145\57\71\52" "\261\17\140\71\67\20\353\254\110\300\124\353\133\25\352\317" "\201\71\60\7\246\214\131\233\267\173\173\173\247\201\237\337" "\260\170\173\360\376\105\41\200\273\0\236\126\231\327\15\0" "\157\113\240\267\141\271\245\46\73\76\314\6\77\237\172\4" "\140\270\104\26\73\27\220\33\343\244\363\3\271\71\365\30" "\360\163\234\174\0\133\45\162\224\312\140\65\310\330\122\265" "\76\104\264\121\351\303\310\34\51\350\374\30\374\374\251\64" "\172\215\2\77\267\54\0\360\37\46\176\250\40\257\0\300" "\317\114\274\164\273\123\153\262\233\2\270\0\276\276\224\346" "\245\326\306\327\311\20\266\22\25\376\167\6\360\207\20\367" "\7\200\216\52\365\50\226\43\23\116\202\367\27\324\360\235" "\0\244\201\277\267\301\362\113\330\112\105\36\212\241\14\76" "\347\337\226\153\64\32\363\0\220\207\207\107\256\12\271\0" "\177\317\243\20\45\333\223\154\333\102\351\375\154\71\71\225" "\311\201\114\32\251\75\54\354\42\27\157\305\57\122\272\217" "\140\57\377\370\357\300\223\51\150\61\326\24\274\57\44\312" "\370\257\40\367\53\206\247\44\107\266\336\52\201\243\306\107" "\126\333\347\260\143\223\134\133\21\203\305\326\312\22\314\142" "\213\143\6\263\266\65\366\124\110\266\217\126\123\137\32\215" "\246\350\275\367\336\73\256\323\351\12\24\164\261\31\124\266" "\213\22\133\111\333\241\314\112\371\331\173\213\361\27\301\217" "\361\137\202\157\23\322\173\125\123\241\154\373\212\50\267\265" "\374\224\154\142\65\124\301\72\264\46\123\66\255\32\231\303" "\300\73\333\342\147\32\3\72\60\7\346\300\52\26\3\363" "\233\10\104\132\255\266\10\0\304\157\226\327\257\137\277\167" "\153\325\252\225\11\0\57\277\374\362\370\220\220\220\7\254" "\14\216\343\212\46\116\234\170\6\0\215\35\73\366\260\233" "\233\133\226\24\233\60\141\102\42\307\161\105\142\272\200\200" "\200\253\357\274\363\316\136\60\101\314\323\144\62\145\116\231" "\62\345\300\324\251\123\17\31\215\306\7\220\4\121\137\221" "\357\351\351\231\261\164\351\322\37\104\354\273\357\276\373\301" "\323\323\63\103\42\367\52\200\175\156\156\156\371\0\166\303" "\362\41\255\325\240\302\301\263\300\72\166\354\270\276\165\353" "\326\327\305\370\326\255\133\157\212\216\216\116\271\165\353\326" "\206\353\327\257\257\157\323\246\315\271\226\55\133\356\144\322" "\125\257\131\263\346\125\60\223\41\243\321\230\371\312\53\257" "\354\277\171\363\346\272\113\227\56\255\213\212\212\272\30\36" "\36\176\132\304\275\275\275\157\77\363\314\63\307\256\134\271" "\262\56\45\45\45\241\155\333\266\347\375\374\374\256\113\165" "\21\154\235\52\312\26\361\301\203\7\277\125\243\106\215\307" "\112\316\170\375\372\365\177\157\331\262\145\322\276\175\373\326" "\337\275\173\167\303\13\57\274\160\322\150\64\146\212\270\64" "\135\337\276\175\257\364\351\323\247\330\246\65\153\326\274\326" "\277\177\377\137\323\323\323\127\245\247\247\257\354\323\247\317" "\157\201\201\201\227\105\274\105\213\26\377\331\260\141\303\334" "\254\254\254\37\122\122\122\126\167\354\330\361\244\124\177\153" "\166\227\253\203\362\160\10\104\365\352\325\73\332\277\177\377" "\3\67\157\336\134\37\23\23\223\22\24\24\164\131\222\326" "\245\126\255\132\247\375\375\375\157\16\33\66\154\367\276\175" "\373\326\147\144\144\154\334\276\175\373\226\316\235\73\237\324" "\351\164\371\0\276\120\312\63\50\50\50\265\111\223\46\31" "\101\101\101\251\12\372\25\333\65\77\77\177\323\271\163\347" "\22\332\264\151\163\321\144\62\335\147\70\365\234\235\235\37" "\277\366\332\153\373\156\336\274\271\176\343\306\215\333\114\46" "\323\103\61\137\251\34\42\332\70\141\302\204\104\215\106\123" "\10\141\22\54\307\121\270\41\43\313\141\360\311\32\215\246" "\160\302\204\11\147\104\354\355\267\337\76\253\325\152\13\40" "\114\344\113\343\40\50\324\221\55\47\342\233\366\355\333\37" "\40\242\347\125\344\127\214\233\315\346\373\20\26\61\60\41" "\120\260\245\105\236\102\234\267\25\275\202\303\303\303\23\227" "\54\131\362\135\106\106\306\232\113\227\56\255\37\75\172\364" "\266\210\210\210\223\0\152\132\224\361\117\73\156\270\166\355" "\332\206\27\137\174\361\327\320\320\320\144\206\123\263\132\265" "\152\17\6\14\30\260\367\344\311\223\233\222\223\223\67\366" "\352\325\353\120\265\152\325\36\200\177\210\52\133\67\67\156" "\334\330\320\251\123\247\244\320\320\320\342\7\140\241\241\241" "\311\135\272\164\71\174\361\342\305\325\271\271\271\353\23\23" "\23\277\217\216\216\76\323\274\171\363\342\276\107\122\257\322" "\377\252\353\217\210\242\74\75\75\163\272\164\351\362\205\34" "\261\133\267\156\363\252\125\253\226\373\370\361\343\366\142\232" "\16\35\72\134\215\213\213\373\201\345\65\151\322\344\244\321" "\150\314\153\332\264\351\11\66\76\56\56\356\207\166\355\332" "\25\73\202\333\267\157\377\322\150\64\76\4\340\56\120\164" "\146\263\71\175\333\266\155\213\104\316\347\237\177\276\301\307" "\307\347\56\53\307\307\307\347\316\347\237\177\276\201\51\33" "\330\62\337\271\163\147\253\331\154\316\275\170\361\142\211\153" "\105\374\337\272\165\353\353\35\73\166\134\147\151\210\342\25" "\343\322\76\353\131\41\356\131\226\253\140\117\13\171\322\355" "\302\254\161\241\120\107\145\160\110\154\366\271\42\46\214\355" "\247\323\323\323\47\252\114\243\250\43\21\155\264\230\233\250" "\150\177\66\372\15\253\272\377\225\230\32\276\223\223\123\136" "\105\352\145\57\71\152\60\203\301\220\273\163\347\316\75\114" "\34\21\210\366\355\333\367\337\232\65\153\246\225\106\337\52" "\70\227\166\140\16\314\201\375\211\131\233\267\107\70\73\73" "\347\23\221\67\213\173\173\173\337\351\325\253\327\251\273\167" "\357\156\170\343\215\67\176\27\175\76\133\175\313\254\131\263" "\266\171\170\170\144\2\320\11\321\72\223\311\364\200\335\122" "\23\314\370\340\344\344\224\277\142\305\212\137\346\314\231\363" "\253\253\253\353\43\126\226\302\333\136\45\346\267\326\346\324" "\56\56\56\217\347\316\235\273\57\41\41\341\147\215\106\123" "\302\217\226\53\203\22\46\345\224\105\37\65\262\15\6\103" "\316\202\5\13\366\54\130\260\140\217\263\263\163\116\151\322" "\272\271\271\145\317\236\75\173\377\252\125\253\366\350\164\272" "\342\33\240\106\243\361\301\224\51\123\176\137\264\150\321\1" "\47\47\247\2\61\136\272\335\251\65\331\176\176\176\67\300" "\217\373\354\374\213\44\365\243\70\276\66\150\320\40\21\314" "\134\306\154\66\337\35\60\140\300\321\273\167\357\256\357\333" "\267\357\161\263\331\174\127\215\36\254\34\111\370\40\42\42" "\42\215\210\142\325\360\133\266\154\271\365\311\47\237\74\117" "\104\165\130\276\234\255\154\345\241\244\257\34\256\302\347\374" "\333\162\103\102\102\356\67\151\322\44\43\44\44\44\303\26" "\27\0\132\266\154\271\353\231\147\236\271\46\347\353\310\370" "\74\245\366\263\113\343\103\127\20\207\377\311\244\221\261\207" "\205\135\344\342\331\70\65\367\21\354\350\37\127\165\236\154" "\20\60\37\223\311\224\361\326\133\157\355\272\171\363\346\272" "\244\244\244\15\361\361\361\373\71\216\53\232\73\167\356\7" "\162\165\142\305\136\225\306\121\351\43\253\351\163\54\306\46" "\351\375\136\326\176\322\255\225\131\114\272\305\261\200\311\156" "\243\54\140\262\333\107\313\264\353\22\355\273\155\333\266\177" "\150\265\332\302\116\235\72\135\227\323\105\115\120\63\276\313" "\155\45\135\316\62\53\226\313\336\133\214\157\331\262\245\123" "\140\140\340\103\0\64\140\300\200\103\104\144\144\160\253\266" "\257\200\162\227\271\256\255\205\252\126\207\66\144\312\352\152" "\113\46\347\353\353\173\347\137\377\372\127\361\252\256\355\333" "\267\167\311\314\314\64\22\210\374\174\375\356\72\60\7\346" "\300\52\16\343\300\161\200\160\61\202\3\201\120\73\274\366" "\203\213\27\57\232\302\303\303\63\57\136\274\150\142\171\355" "\332\265\333\143\60\30\274\167\355\332\25\331\241\103\207\237" "\64\32\115\300\177\377\373\337\272\26\62\210\132\161\34\167" "\220\210\142\0\274\304\161\334\120\26\3\300\161\34\167\0" "\0\7\240\227\227\227\327\322\273\167\357\266\347\70\356\260" "\250\243\230\247\106\243\51\272\176\375\172\273\354\354\154\155" "\335\272\165\167\27\26\26\26\157\111\45\362\302\152\205\145" "\135\272\174\311\235\3\367\222\217\217\317\227\267\157\337\156" "\300\161\134\12\201\10\204\132\176\176\176\247\157\337\276\75" "\10\300\17\4\242\43\207\217\54\30\74\170\160\227\123\247" "\116\205\66\152\324\350\362\342\305\213\267\67\153\326\154\30" "\133\316\142\361\274\216\220\352\45\303\225\305\374\374\374\356" "\275\365\326\133\233\46\115\232\364\62\201\310\327\307\67\163" "\306\214\31\313\136\176\371\345\261\0\270\55\133\266\214\37" "\62\144\310\233\67\157\336\364\42\20\231\75\315\167\77\373" "\354\263\37\373\366\355\333\27\0\47\224\141\76\200\115\0" "\16\0\320\45\47\47\17\151\330\260\341\314\202\202\2\255" "\200\317\20\260\237\0\40\71\71\371\225\310\310\310\371\105" "\105\105\32\211\236\317\327\253\127\357\323\263\147\317\372\211" "\345\42\20\165\217\357\276\341\316\235\73\55\16\36\74\30" "\14\111\40\20\171\230\74\36\167\351\322\345\320\312\225\53" "\173\201\177\303\254\43\200\116\34\307\15\227\261\303\213\265" "\152\325\232\171\351\322\245\301\34\307\155\47\20\151\65\132" "\112\115\115\175\272\146\315\232\77\2\300\325\253\127\343\303" "\302\302\326\26\26\26\152\11\104\56\316\56\171\217\37\77" "\16\1\160\33\200\41\71\71\271\157\203\6\15\276\20\161" "\326\246\162\166\7\277\352\350\75\0\376\12\170\211\62\161" "\340\156\2\170\27\300\142\71\334\331\340\134\360\313\57\277" "\14\150\325\252\325\372\63\147\316\14\155\322\244\311\54\126" "\237\106\215\32\355\153\323\246\115\316\347\237\177\276\127\260" "\373\171\0\231\340\35\216\66\333\266\155\173\255\107\217\36" "\35\362\363\363\373\103\150\167\214\136\115\234\235\235\17\137" "\275\172\165\174\160\160\360\107\71\71\71\321\0\116\260\371" "\163\174\365\360\165\104\304\1\160\273\161\343\106\337\220\220" "\220\317\305\172\157\332\244\351\176\177\177\377\232\133\267\156" "\35\10\376\355\140\237\57\276\370\342\253\111\223\46\75\221" "\236\236\156\222\312\21\144\265\172\347\235\167\276\236\61\143" "\106\44\21\151\344\70\12\366\122\344\20\210\64\234\206\336" "\171\347\235\63\323\247\117\37\304\161\334\101\41\257\166\157" "\276\371\346\242\145\313\226\5\76\174\370\260\232\15\71\4" "\241\275\213\375\220\114\75\132\160\44\162\276\151\337\276\175" "\375\335\273\167\177\302\161\334\32\265\172\163\340\20\27\27" "\167\261\250\250\150\377\177\376\363\237\376\42\366\344\223\117" "\56\53\54\54\154\373\363\317\77\207\260\171\366\351\323\347" "\314\205\13\27\156\376\376\373\357\235\345\364\152\321\274\305" "\317\275\173\367\376\143\324\250\121\23\1\134\7\240\7\20" "\231\233\233\33\23\37\37\337\174\327\256\135\375\24\352\305" "\65\55\55\255\123\140\140\340\172\261\235\305\264\212\331\341" "\353\353\33\276\151\323\246\327\1\34\5\277\232\257\135\357" "\336\275\147\137\271\162\345\312\301\203\7\273\52\310\162\71" "\177\376\174\337\310\310\310\105\142\133\321\152\264\164\376\374" "\371\227\303\302\302\326\202\137\115\357\266\167\357\336\267\237" "\174\362\311\251\171\171\171\116\245\350\373\224\354\311\326\15" "\67\176\374\370\137\27\54\130\320\54\53\53\253\32\204\67" "\333\204\240\61\32\215\17\6\16\34\170\166\336\274\171\321" "\34\307\21\201\350\263\117\77\133\60\163\346\314\347\157\334" "\270\341\47\22\335\335\335\37\17\37\76\374\350\274\171\363" "\232\147\145\145\271\210\361\376\376\376\177\274\375\366\333\233" "\307\215\33\367\232\320\377\125\357\334\271\363\201\254\254\254" "\123\373\367\357\177\246\153\327\256\237\27\24\24\164\332\271" "\163\147\33\216\343\376\20\70\21\41\41\41\207\256\136\275" "\372\41\370\325\330\43\103\102\102\46\245\244\244\264\342\70" "\356\274\134\277\21\25\25\365\143\335\272\165\253\57\133\266" "\354\11\216\343\36\225\270\56\101\364\301\364\17\276\133\260" "\140\101\374\255\133\267\274\44\166\342\244\66\211\214\214\74" "\251\325\152\203\13\13\13\257\44\46\46\66\221\160\25\203" "\240\177\103\0\57\160\34\67\331\132\32\153\165\244\42\235" "\265\353\315\126\72\22\306\366\243\34\307\25\224\127\107\53" "\343\253\265\164\112\375\206\154\50\203\75\354\216\251\265\55" "\230\66\147\157\275\354\45\107\155\131\36\75\172\24\340\352" "\352\172\203\255\63\20\174\235\234\234\156\25\24\24\150\325" "\352\133\325\346\322\16\314\201\71\60\113\337\122\251\77\177" "\346\231\147\76\277\172\365\152\257\343\307\217\373\2\226\376" "\136\162\162\162\237\332\265\153\257\7\277\243\305\263\34\307" "\311\371\146\305\101\34\37\153\324\250\161\60\72\72\372\313" "\315\233\67\217\352\326\255\333\374\43\107\216\274\234\226\226" "\326\212\343\270\104\351\370\340\346\346\226\37\37\37\277\170" "\345\312\225\13\1\14\345\70\156\10\253\207\124\276\70\277" "\275\163\347\316\201\257\276\372\352\65\360\375\161\21\200\324" "\365\353\327\117\76\162\344\310\130\166\116\75\240\377\200\244" "\135\273\166\171\72\73\73\147\137\276\174\71\34\352\307\121" "\305\300\332\122\62\337\76\300\322\6\15\32\364\225\227\227" "\127\153\311\34\337\246\154\27\147\227\302\321\243\107\117\4" "\200\71\163\346\174\220\223\223\243\123\73\57\4\341\213\264" "\264\264\45\161\161\161\213\42\43\43\75\127\256\134\31\46" "\304\317\7\360\275\223\223\323\301\356\335\273\137\333\260\141" "\103\55\41\376\3\0\53\231\272\121\264\213\116\253\53\222" "\370\375\262\143\242\122\335\201\360\6\307\161\13\41\324\201" "\126\243\245\313\227\57\77\33\34\34\274\55\45\45\245\173" "\170\170\370\32\31\137\271\204\36\254\34\6\152\152\62\231" "\366\36\70\160\140\136\375\372\365\47\253\340\367\365\365\365" "\375\354\352\325\253\103\135\134\134\176\140\371\311\147\223\277" "\255\133\267\356\102\326\126\2\334\334\144\62\375\42\227\207" "\265\172\225\340\152\174\316\377\5\56\0\370\272\270\270\244" "\36\71\162\344\365\310\310\310\45\220\151\323\154\332\262\370" "\331\12\165\121\231\34\251\377\121\234\106\156\136\251\24\257" "\310\125\270\217\140\57\377\270\252\363\254\365\23\155\333\264" "\115\60\233\315\365\67\155\332\64\20\374\56\111\372\250\250" "\250\375\151\151\151\265\174\174\174\22\117\234\70\21\145\243" "\36\255\335\347\250\60\216\112\37\131\232\76\37\374\33\370" "\317\1\270\52\63\66\35\134\262\144\311\340\261\143\307\316" "\277\173\367\256\263\150\243\342\373\316\104\15\40\370\265\62" "\330\164\10\143\204\210\201\20\4\376\55\332\245\102\376\375" "\1\114\7\207\153\40\150\0\254\5\177\117\357\111\0\253" "\71\216\373\275\170\174\40\332\310\161\134\17\361\233\315\217" "\210\6\200\337\1\141\63\307\161\53\245\272\250\11\152\306" "\167\151\171\313\133\146\153\345\222\336\63\220\216\271\40\174" "\255\140\307\4\126\236\250\137\235\72\165\116\265\153\327\56" "\353\301\203\7\1\273\166\355\62\145\144\144\170\1\50\20" "\144\331\262\275\135\313\135\236\272\56\103\35\352\304\162\126" "\166\35\132\223\151\363\36\212\122\273\10\14\14\274\117\104" "\377\47\176\2\2\2\212\127\66\72\60\7\346\300\52\26" "\143\57\124\0\104\40\42\242\161\302\205\76\216\305\154\174" "\130\136\173\61\316\242\43\340\70\2\337\361\114\24\176\303" "\337\337\77\165\312\224\51\277\310\165\34\0\340\347\347\367" "\170\310\220\41\57\265\151\323\146\175\170\170\270\354\233\256" "\104\64\201\100\324\264\151\323\43\275\172\365\72\45\225\361" "\354\263\317\236\156\322\244\311\141\61\156\376\374\371\155\274" "\275\275\37\354\331\263\347\107\157\157\357\7\263\147\317\156" "\57\265\107\261\10\5\275\144\270\162\130\240\136\257\57\270" "\175\373\166\361\15\166\275\136\137\360\353\257\277\66\27\323" "\354\333\267\57\102\257\327\27\257\0\236\66\155\332\117\104" "\24\44\261\251\105\130\260\140\101\244\253\253\153\276\14\256" "\1\120\347\377\376\357\377\126\104\104\104\144\112\361\340\340" "\340\53\213\27\57\376\206\55\27\201\250\161\343\306\147\373" "\367\357\277\123\232\217\210\353\164\272\302\371\363\347\117\125" "\302\231\277\156\236\236\236\31\173\367\356\375\204\305\153\324" "\250\361\50\76\76\376\123\360\157\242\271\305\307\307\317\257" "\121\243\106\361\366\311\116\116\116\205\140\126\107\316\233\67" "\257\221\330\76\330\166\311\174\213\341\125\0\67\174\175\175" "\157\317\234\71\323\142\105\273\225\17\10\104\63\147\316\334" "\352\353\353\173\33\12\133\105\20\321\22\42\162\7\200\327" "\136\173\155\230\273\273\73\153\357\156\115\232\64\271\104\104" "\155\300\157\375\170\34\374\344\63\27\300\52\0\71\104\344" "\377\342\213\57\136\10\11\11\111\221\332\51\46\46\146\107" "\333\266\155\157\20\221\123\373\366\355\257\267\156\335\172\207" "\214\115\245\365\32\20\23\23\263\271\107\217\36\127\104\216" "\273\273\373\343\345\313\227\133\324\13\21\325\311\317\317\237" "\255\40\107\344\264\202\145\373\122\263\172\321\326\12\60\42" "\242\226\122\54\77\77\377\377\322\323\323\27\261\74\105\61" "\50\121\337\126\71\114\274\305\33\256\245\325\173\305\212\25" "\123\205\25\272\305\301\303\303\343\341\222\45\113\146\112\363" "\314\316\316\356\146\66\233\245\133\341\26\163\252\125\253\366" "\150\347\316\235\117\226\310\213\110\123\275\172\165\166\105\175" "\11\275\276\374\362\313\32\6\203\241\370\55\1\17\17\217" "\254\145\313\226\115\221\362\22\22\22\106\170\170\170\24\357" "\40\40\47\153\345\312\225\201\302\165\5\2\221\321\150\314" "\213\216\216\336\11\141\73\141\101\47\17\42\372\216\221\143" "\151\236\22\21\252\353\17\171\171\171\255\74\74\74\162\136" "\170\341\5\213\255\201\137\174\361\305\321\354\133\256\142\232" "\234\234\234\72\156\156\156\271\0\314\102\164\163\27\27\227" "\174\42\212\162\167\167\317\3\40\366\231\146\147\147\347\374" "\254\254\254\206\154\176\151\151\151\3\215\106\143\66\200\301" "\236\236\236\17\322\322\322\6\110\364\306\167\337\175\267\334" "\303\303\343\76\0\235\247\247\147\306\167\337\175\267\134\312" "\141\102\53\117\117\317\207\331\331\331\135\225\312\117\40\272" "\175\373\166\123\241\377\16\220\360\244\66\361\161\165\165\315" "\275\171\363\346\170\127\127\327\134\360\133\252\313\366\357\45" "\15\153\311\21\376\367\6\277\65\136\1\370\55\177\76\226" "\350\370\64\370\105\40\127\1\260\147\373\4\0\70\7\376" "\1\176\6\200\136\14\26\6\176\333\240\174\0\237\111\364" "\257\56\244\313\7\277\300\304\127\222\137\11\333\0\10\5" "\337\277\346\200\337\126\113\172\375\176\4\176\353\255\342\355" "\247\24\256\177\245\353\176\55\200\35\62\351\10\374\126\76" "\271\302\147\74\370\67\262\304\255\265\47\112\344\55\4\177" "\204\201\24\13\6\277\245\134\76\370\255\252\3\45\351\76" "\23\354\177\23\100\35\6\213\20\312\375\30\374\326\345\122" "\375\227\303\162\333\162\366\330\205\164\360\107\0\310\332\126" "\341\32\144\261\207\0\236\20\342\143\204\377\42\226\5\176" "\213\63\0\210\27\322\211\133\34\266\221\160\123\360\347\261" "\14\43\141\271\125\167\26\376\354\377\332\200\157\147\112\143" "\57\73\327\324\200\37\47\70\226\57\271\136\64\14\146\65" "\124\265\271\264\3\163\140\16\314\322\267\224\271\306\213\267" "\35\64\233\315\131\20\306\165\21\257\121\243\306\243\76\175" "\372\224\230\363\10\370\146\360\175\265\270\275\347\131\0\116" "\142\332\131\263\146\155\23\336\320\14\66\30\14\271\162\157" "\6\10\337\221\176\176\176\331\302\233\132\353\141\343\154\131" "\166\176\53\356\326\104\104\33\157\336\274\271\61\66\66\366" "\274\267\267\367\37\322\71\265\126\253\55\134\261\142\305\367" "\343\306\215\333\312\306\113\145\113\363\260\362\51\151\323\77" "\347\333\104\314\33\150\34\307\25\311\314\361\255\6\2\321" "\324\251\123\17\31\14\206\34\203\301\220\63\155\332\264\203" "\12\151\225\354\23\21\34\34\174\156\334\270\161\153\211\350" "\51\46\76\13\300\253\213\27\57\336\47\354\172\243\64\237" "\121\34\323\374\375\375\263\245\266\140\371\22\273\310\351\146" "\41\317\333\333\73\247\113\227\56\137\1\360\350\334\271\363" "\327\76\76\76\66\337\352\225\312\21\202\316\317\317\357\306" "\234\71\163\166\21\221\233\12\276\257\311\144\312\334\261\143" "\307\122\42\52\261\170\334\325\325\65\33\300\110\326\126\102" "\36\67\347\316\235\153\55\17\151\76\45\160\225\76\347\77" "\236\13\0\261\261\261\153\332\267\157\237\112\104\256\112\266" "\143\323\226\325\317\226\321\241\62\71\0\323\346\331\64\12" "\155\123\66\136\211\13\0\62\175\214\335\374\343\252\316\3" "\260\13\274\217\1\360\307\344\244\1\160\41\20\231\315\346" "\7\22\277\375\365\332\265\153\337\134\275\172\365\367\236\236" "\236\126\375\166\251\275\52\231\243\306\107\56\36\153\210\150" "\303\245\113\227\326\67\154\330\360\152\130\130\130\242\204\123" "\174\57\250\101\203\6\107\6\16\34\170\124\42\307\232\377" "\132\225\260\156\340\175\71\161\233\350\75\340\217\173\273\55" "\304\135\202\345\366\364\326\374\153\153\76\164\105\140\322\372" "\55\127\37\60\154\330\260\155\34\307\25\271\272\272\76\6" "\100\75\173\366\144\167\65\41\224\315\217\256\154\314\262\270" "\45\42\210\300\157\75\177\5\174\175\177\133\277\176\175\166" "\56\244\70\117\251\40\314\226\257\375\263\120\116\351\366\335" "\312\351\2\3\3\55\266\203\20\377\13\23\172\7\346\300" "\34\130\5\142\142\234\214\163\14\26\23\7\132\203\301\120" "\230\224\224\264\213\210\66\72\73\73\27\34\75\172\364\277" "\304\154\153\322\266\155\333\73\302\166\170\4\176\357\167\203" "\210\211\16\41\307\161\105\23\46\114\70\3\340\105\157\157" "\357\54\42\152\56\227\47\0\274\370\342\213\307\15\6\103" "\256\237\237\137\372\331\263\147\77\124\342\11\223\235\207\237" "\175\366\331\164\51\66\177\376\374\17\315\146\163\361\15\105" "\42\362\42\242\231\104\344\53\174\53\335\0\127\164\144\254" "\71\170\342\167\217\36\75\346\326\257\137\77\203\210\376\174" "\173\203\343\50\71\71\271\232\230\346\344\311\223\156\354\3" "\106\42\152\302\346\55\227\117\267\156\335\276\352\330\261\343" "\125\51\36\30\30\170\121\253\325\26\150\265\332\302\371\363" "\347\257\220\340\135\375\375\375\357\23\121\55\266\134\4\42" "\77\77\277\373\1\1\1\151\370\363\46\365\176\10\17\101" "\105\235\137\170\341\205\57\301\337\224\25\127\266\225\330\152" "\245\143\307\216\113\236\170\342\211\153\104\144\361\326\327\306" "\215\33\227\13\116\44\1\40\255\126\133\270\171\363\346\145" "\42\336\260\141\303\173\261\261\261\253\301\77\160\11\257\123" "\247\316\51\266\374\44\154\67\51\176\103\362\260\225\210\246" "\23\277\372\310\242\255\312\175\30\116\3\42\232\56\367\360" "\125\142\363\301\172\275\76\167\306\214\31\173\104\254\121\243" "\106\107\336\171\347\235\265\0\102\135\135\135\263\272\164\351" "\162\374\370\361\343\133\116\234\70\261\261\156\335\272\51\1" "\1\1\131\0\260\163\347\316\327\331\7\352\202\74\47\147" "\147\347\334\125\253\126\175\4\0\153\327\256\375\300\331\331" "\71\27\354\303\260\77\7\324\22\237\176\375\372\25\237\127" "\252\321\150\212\22\23\23\303\245\355\203\44\67\265\245\170" "\161\66\66\362\122\301\221\352\133\62\23\42\216\210\234\112" "\233\227\134\273\227\321\7\0\276\361\362\362\312\40\311\3" "\127\25\345\377\63\57\242\232\236\236\236\217\1\210\62\136" "\250\126\255\132\56\225\134\374\100\104\244\231\61\143\306\256" "\340\340\340\13\162\172\151\64\232\242\324\324\124\63\144\2" "\273\355\232\214\136\276\355\333\267\137\325\262\145\313\133\42" "\107\253\325\26\355\335\273\267\221\124\316\261\143\307\202\45" "\133\277\263\262\234\0\264\152\325\252\325\266\206\15\33\246" "\213\234\157\277\375\166\233\253\253\153\216\301\140\170\14\340" "\127\360\223\264\156\22\133\130\232\107\301\136\162\145\203\245" "\235\100\104\334\330\261\143\177\363\365\365\275\303\222\374\374" "\374\156\277\365\326\133\107\304\66\52\246\41\42\56\72\72" "\72\255\117\237\76\23\1\240\173\367\356\213\243\242\242\156" "\1\100\353\326\255\257\167\357\336\175\61\0\364\351\323\147" "\142\203\6\15\356\112\332\70\210\310\151\322\244\111\373\0" "\320\244\111\223\366\212\155\116\302\11\251\123\247\316\275\260" "\260\260\123\165\352\324\271\113\104\41\112\345\17\16\16\276" "\70\155\332\264\237\331\233\143\162\216\13\21\151\43\42\42" "\62\172\366\354\71\107\106\126\261\115\342\342\342\276\176\342" "\211\47\156\22\221\241\145\313\226\151\135\272\164\371\122\56" "\137\171\303\226\274\111\131\255\132\265\207\243\106\215\372\65" "\43\43\143\335\153\257\275\226\350\344\344\304\56\12\241\72" "\165\352\44\335\270\161\343\353\51\123\246\374\330\260\141\303" "\142\247\241\136\275\172\207\337\172\353\255\237\262\263\263\327" "\216\30\61\342\20\273\175\143\275\172\365\216\305\305\305\235" "\275\167\357\336\232\310\310\310\163\254\376\215\33\67\376\165" "\305\212\25\113\36\75\172\264\262\137\277\176\373\233\66\155" "\272\233\261\201\305\166\177\214\274\43\317\77\377\374\211\224" "\224\224\325\365\353\327\277\10\313\66\102\315\232\65\73\171" "\353\326\255\325\354\366\123\12\327\277\334\165\277\244\131\263" "\146\111\104\324\107\46\35\65\151\322\344\314\215\33\67\126" "\217\35\73\366\204\207\207\107\146\333\266\155\177\271\171\363" "\346\17\162\171\65\155\332\364\314\215\33\67\276\225\142\15" "\33\66\74\320\253\127\257\243\151\151\151\353\6\16\34\270" "\237\265\43\0\212\210\210\270\224\222\222\262\361\271\347\236" "\73\125\257\136\275\343\42\126\273\166\355\323\203\7\17\76" "\220\222\222\262\262\116\235\72\227\244\372\77\373\354\263\77" "\236\72\165\152\211\30\307\161\134\121\277\176\375\56\347\346" "\346\156\30\65\152\324\1\341\346\253\254\155\155\71\151\321" "\321\321\67\273\166\355\272\34\0\272\166\355\272\54\72\72" "\372\246\210\265\150\321\342\126\174\174\374\22\0\350\330\261" "\143\202\106\243\51\212\215\215\335\11\0\161\161\161\53\243" "\243\243\323\104\356\272\165\353\226\12\333\165\32\115\46\323" "\203\204\204\204\257\131\71\342\126\340\161\161\161\53\331\343" "\23\330\261\66\70\70\70\173\334\270\161\305\66\133\270\160" "\241\247\116\247\223\156\63\126\134\327\72\235\256\150\301\202" "\5\136\14\46\236\23\370\30\374\171\324\235\301\337\324\330" "\57\162\252\322\134\332\201\71\60\7\146\351\133\112\346\355" "\223\65\32\115\341\230\61\143\222\364\172\175\141\327\256\135" "\317\207\206\206\236\143\370\126\347\230\23\46\114\130\332\264" "\151\323\63\251\251\251\313\373\367\357\277\256\175\373\366\147" "\111\170\313\12\0\210\250\101\365\352\325\263\215\106\143\146" "\215\32\65\262\211\50\222\115\17\241\257\61\233\315\167\136" "\177\375\365\203\213\26\55\72\250\323\351\12\153\326\254\231" "\2\313\343\32\54\202\244\317\55\276\241\114\104\316\104\324" "\207\210\76\52\246\12\374\126\255\132\335\326\150\64\205\325" "\253\127\377\103\243\321\110\175\271\151\0\222\230\357\22\175" "\247\304\147\261\234\133\225\34\3\304\337\206\141\303\206\315" "\167\161\161\51\140\343\325\316\61\210\250\71\21\55\26\76" "\315\24\322\312\332\307\323\323\363\56\44\365\106\40\232\74" "\171\362\101\275\136\237\247\323\351\362\343\343\343\257\311\311" "\264\65\246\35\76\174\370\263\310\310\310\114\275\136\137\310" "\360\244\376\207\265\272\263\220\267\146\315\232\265\136\136\136" "\31\32\215\246\320\313\313\53\143\355\332\265\153\30\356\131" "\360\365\42\176\313\312\1\200\66\155\332\254\151\333\266\355" "\45\321\367\264\226\57\0\204\207\207\237\32\64\150\320\121" "\42\362\223\343\313\331\252\165\353\326\353\333\267\157\177\221" "\155\313\62\171\200\235\173\311\340\152\175\316\177\72\27\0" "\334\134\135\135\163\176\373\355\267\261\26\246\122\350\32\336" "\345\327\0\0\40\0\111\104\101\124\173\104\237\116\245\237" "\155\323\257\255\104\16\144\322\110\355\41\167\35\102\206\253" "\330\57\113\363\260\227\177\134\325\171\203\6\15\332\54\334" "\267\273\242\327\353\363\126\257\136\275\222\210\264\4\376\45" "\5\306\157\257\151\66\233\323\117\234\70\61\343\267\337\176" "\153\42\331\152\136\251\137\126\352\347\53\232\3\25\76\262" "\145\233\41\162\73\161\342\304\144\255\126\253\170\157\103\247" "\323\25\356\331\263\247\77\53\307\232\377\132\225\60\223\311" "\224\71\170\360\340\3\31\31\31\153\326\254\131\263\33\0" "\5\5\5\245\34\74\170\160\111\126\126\326\252\351\323\247" "\157\166\166\166\176\54\362\255\371\327\326\174\350\212\300\254" "\265\201\62\364\1\305\133\106\357\336\275\173\135\365\352\325" "\37\7\5\5\261\107\300\225\311\217\256\154\114\322\166\145" "\307\314\360\360\360\304\47\237\174\362\354\271\163\347\66\350" "\365\372\274\247\237\176\372\220\122\333\126\262\257\275\60\153" "\276\66\0\212\211\211\111\32\76\174\370\31\351\126\357\126" "\323\125\45\47\301\201\71\260\377\65\114\214\143\235\122\110" "\2\23\27\351\342\342\122\100\374\136\356\165\14\6\103\1" "\21\171\262\74\42\32\260\150\321\242\137\1\120\140\140\140" "\232\217\217\117\32\203\265\42\242\165\302\247\125\315\232\65" "\157\114\233\66\355\47\130\276\351\301\256\220\171\323\140\60" "\344\205\207\207\147\276\360\302\13\47\110\170\363\20\200\33" "\233\247\370\55\114\166\242\245\330\117\77\375\24\43\171\340" "\41\33\112\63\241\265\146\47\361\273\166\355\332\227\207\14" "\31\362\23\213\163\34\107\137\176\371\145\261\103\260\146\315" "\32\255\214\123\16\151\176\114\210\10\12\12\272\171\367\356" "\335\1\122\234\210\46\344\346\346\256\156\325\252\325\155\351" "\131\110\141\141\141\347\247\114\231\362\43\53\133\304\235\234" "\234\12\372\364\351\363\373\375\373\367\177\270\175\373\366\252" "\201\3\7\356\252\133\267\356\21\326\46\165\352\324\271\164" "\370\360\341\125\367\356\335\133\23\37\37\177\64\42\42\342" "\270\44\177\47\27\27\227\234\237\177\376\331\142\225\72\201" "\50\50\50\50\345\231\147\236\271\172\357\336\275\255\151\151" "\151\333\273\164\351\222\132\253\126\255\363\42\176\366\354\331" "\51\21\21\21\127\264\132\155\276\213\213\113\166\277\176\375" "\366\110\317\23\226\174\323\223\117\76\171\216\175\330\52\255" "\3\153\101\142\263\6\104\64\275\143\307\216\26\17\31\4" "\370\125\275\136\237\67\157\336\274\337\210\250\221\210\271\273" "\273\77\336\260\141\103\257\310\310\310\103\335\273\167\277\100" "\104\317\22\377\326\240\107\142\142\342\273\155\332\264\271\4" "\0\273\167\357\16\221\236\347\324\273\167\357\11\176\176\176" "\331\104\124\123\310\277\206\237\237\137\366\277\377\375\357\161" "\22\375\212\157\302\24\24\24\154\274\174\371\362\217\175\372" "\364\271\142\64\32\213\127\112\152\64\232\242\37\176\370\101" "\172\176\212\264\234\252\46\344\266\36\122\313\161\154\344\243" "\350\60\252\270\261\244\366\241\353\67\155\332\264\71\334\274" "\171\363\33\340\27\170\224\246\374\26\170\267\156\335\316\105" "\106\106\236\4\200\310\310\310\123\161\161\161\227\24\362\4" "\21\65\14\13\13\273\15\140\260\224\243\321\150\212\326\254" "\131\343\202\222\301\115\346\101\151\361\107\257\327\347\66\154" "\330\360\102\112\112\312\10\221\243\325\152\213\276\377\376\173" "\351\131\263\330\270\161\243\207\244\317\260\370\150\265\332\202" "\372\365\353\247\134\271\162\345\35\221\103\104\141\171\171\171" "\137\175\365\325\127\277\164\356\334\371\110\215\32\65\156\11" "\23\143\366\214\231\22\266\56\205\75\113\364\127\371\371\371" "\117\230\114\46\366\141\166\57\167\167\367\334\307\217\37\167" "\220\221\213\367\337\177\377\373\206\15\33\236\6\200\260\260" "\260\53\343\306\215\133\7\0\323\247\117\377\66\54\54\354" "\52\0\64\154\330\360\364\360\341\303\267\113\323\2\300\353" "\257\277\376\51\307\161\364\372\353\257\177\52\47\37\0\326" "\255\133\367\5\0\132\277\176\375\102\45\16\200\301\201\201" "\201\351\104\324\324\132\371\305\64\203\7\17\376\257\360\160" "\115\52\253\330\46\236\236\236\17\276\376\372\353\117\1\340" "\313\57\277\134\340\351\351\131\142\47\2\245\120\302\131\340" "\353\363\63\42\212\41\42\247\364\364\364\256\260\264\77\155" "\333\266\155\56\21\71\237\77\177\276\235\263\263\163\236\210" "\31\14\206\374\344\344\344\70\42\322\22\321\23\104\64\237" "\305\166\356\334\71\232\210\364\333\267\157\237\315\312\164\161" "\161\311\275\176\375\172\35\42\322\356\331\263\247\277\253\253" "\253\364\355\220\22\72\32\14\206\274\343\307\217\367\47\42" "\327\155\333\266\175\54\325\61\51\51\151\14\21\31\110\146" "\305\274\225\261\220\0\314\363\366\366\116\57\54\54\34\44" "\255\33\361\373\367\337\177\237\104\104\56\31\31\31\261\0" "\350\350\321\243\157\12\67\311\113\344\165\350\320\241\211\162" "\230\213\213\113\356\321\243\107\7\20\221\163\142\142\342\163" "\254\35\1\320\346\315\233\347\23\221\353\341\303\207\137\61" "\30\14\305\216\272\136\257\57\270\160\341\102\167\42\162\335" "\260\141\303\2\151\176\173\366\354\171\205\230\363\160\2\2" "\2\36\5\5\5\335\354\327\257\337\233\102\335\54\124\262" "\255\55\47\155\302\204\11\253\102\102\102\156\0\100\150\150" "\150\352\370\361\343\213\157\50\217\34\71\62\241\126\255\132" "\327\0\176\213\356\16\35\72\244\125\257\136\375\36\0\4" "\6\6\336\32\75\172\364\172\246\175\5\104\105\105\335\360" "\362\362\372\43\46\46\46\265\170\274\2\321\360\341\303\67" "\371\373\373\377\41\310\271\365\356\273\357\56\227\350\13\0" "\237\204\207\207\337\26\154\12\2\121\317\236\75\77\10\15" "\15\55\336\255\104\132\327\265\152\325\172\320\253\127\257\217" "\104\54\64\64\364\312\351\323\247\327\157\334\270\361\307\346" "\315\233\137\160\162\162\312\323\353\365\271\135\273\166\375\135" "\344\124\245\271\264\3\163\140\16\314\322\267\144\257\161\341" "\55\321\123\23\47\116\374\250\172\365\352\217\356\334\271\323" "\347\320\241\103\263\104\36\21\155\74\177\376\374\116\235\116" "\127\44\67\307\364\365\365\275\263\164\351\322\371\104\344\102" "\104\261\6\203\41\17\200\121\255\337\46\76\374\325\351\164" "\205\313\227\57\177\223\210\352\376\360\303\17\173\234\235\235" "\363\103\102\102\330\207\277\26\101\322\347\132\33\257\331\274" "\136\45\242\125\104\64\215\210\330\207\172\341\106\243\61\153" "\325\252\125\137\33\215\306\254\143\307\216\315\120\312\127\116" "\256\214\76\42\116\0\310\325\325\365\321\234\71\163\176\225" "\113\147\55\50\161\112\141\333\131\162\176\3\21\105\21\321" "\267\104\364\75\21\75\53\227\227\255\61\115\360\255\206\23" "\277\53\213\342\230\150\245\356\40\321\51\210\370\305\326\253" "\204\357\40\21\73\166\354\330\14\266\176\300\277\365\122\102" "\16\200\36\336\336\336\367\37\74\170\360\262\360\277\37\230" "\143\64\144\370\323\302\303\303\157\21\121\7\360\367\70\162" "\300\57\140\236\156\305\126\275\274\275\275\357\147\144\144\210" "\171\74\53\227\7\370\373\41\354\21\36\26\170\51\174\316" "\177\64\27\0\272\164\351\262\260\105\213\26\267\210\310\203" "\65\225\65\337\127\255\237\135\26\37\272\2\71\374\117\46" "\215\214\75\344\256\103\110\271\304\54\374\223\366\313\162\171" "\220\35\374\343\252\316\43\242\66\55\133\266\274\13\200\6" "\14\30\220\314\366\41\34\307\221\350\267\207\207\207\237\236" "\70\161\342\36\42\62\56\137\276\274\206\225\305\322\154\120" "\352\347\53\232\3\300\246\217\134\102\316\302\205\13\233\13" "\13\142\144\71\315\233\67\277\333\251\123\247\357\131\71\144" "\305\177\255\112\330\305\213\27\277\376\340\203\17\246\327\257" "\137\377\167\67\67\267\54\0\264\173\367\356\317\210\310\114" "\104\332\123\247\116\305\12\174\235\340\363\52\372\327\326\174" "\350\212\300\254\265\201\322\366\1\342\334\215\370\173\370\276" "\253\126\255\132\51\171\241\244\114\176\164\145\143\120\236\307" "\24\353\353\344\344\124\260\150\321\242\131\377\372\327\277\126" "\326\256\135\373\276\213\213\113\216\44\275\245\311\52\20\263" "\341\153\323\265\153\327\206\22\121\333\11\23\46\234\146\37" "\164\133\115\127\225\234\4\7\346\300\376\327\60\61\116\205" "\343\242\252\303\2\0\42\252\13\200\36\76\174\370\236\24" "\143\302\113\276\276\276\17\211\250\211\270\145\223\164\205\114" "\265\152\325\36\176\374\361\307\277\345\346\346\276\23\30\30" "\170\13\300\113\0\136\160\165\165\315\222\350\126\74\331\71" "\165\352\224\247\24\73\165\352\224\247\144\273\132\331\40\116" "\60\231\211\145\211\211\246\214\343\133\262\374\374\267\101\257" "\327\27\34\74\170\360\131\126\276\136\257\57\24\337\346\0" "\200\157\276\371\246\232\144\302\362\47\275\144\234\133\255\132" "\265\316\356\337\277\177\36\21\351\344\312\103\104\232\244\244" "\244\61\222\267\171\332\231\114\246\107\171\171\171\55\130\331" "\114\231\277\43\242\316\104\344\104\104\206\264\264\264\256\116" "\116\116\305\3\252\106\243\51\72\176\374\370\164\141\242\241" "\277\170\361\142\77\26\7\200\276\175\373\216\364\367\367\317" "\42\346\55\127\21\327\152\265\205\347\317\237\37\110\104\172" "\141\40\34\314\256\214\43\42\67\42\32\101\104\53\210\150" "\321\274\171\363\246\270\272\272\132\310\147\277\347\315\233\167" "\274\172\365\352\351\120\330\32\130\122\57\212\365\44\204\127" "\1\334\250\136\275\172\372\274\171\363\216\263\270\311\144\312" "\234\70\161\342\61\222\254\230\327\152\265\105\311\311\311\65" "\365\172\175\376\326\255\133\107\263\371\317\231\63\247\335\253" "\257\276\272\15\0\206\16\35\372\222\311\144\142\7\174\4" "\6\6\336\220\323\53\60\60\60\125\246\14\142\235\162\104" "\344\166\356\334\271\177\263\365\152\64\32\363\306\217\37\37" "\7\313\340\1\306\221\147\345\110\202\232\11\271\254\76\152" "\160\351\165\124\132\175\24\256\123\13\116\323\246\115\223\210" "\350\305\314\314\314\67\153\324\250\161\7\174\377\120\46\275" "\23\22\22\306\11\13\63\302\265\132\155\341\362\345\313\247" "\25\323\144\144\355\330\261\343\163\263\331\234\16\176\105\165" "\61\307\150\64\346\175\364\321\107\45\126\105\317\233\67\57" "\302\144\62\345\132\224\221\331\246\207\370\233\55\157\20\121" "\361\271\47\46\223\51\367\235\167\336\351\54\225\65\176\374" "\370\366\156\156\156\371\122\131\371\371\371\233\306\216\35\233" "\154\64\32\363\22\23\23\337\45\42\27\206\43\266\243\72" "\104\364\34\21\115\135\270\160\341\21\141\73\76\271\176\121" "\166\34\20\266\54\366\220\100\146\47\47\47\213\305\5\142" "\176\243\106\215\72\120\253\126\255\213\0\120\253\126\255\213" "\157\276\371\346\121\142\336\162\145\323\144\144\144\64\365\364" "\364\314\6\240\163\166\166\316\113\116\116\356\40\304\67\166" "\161\161\311\3\340\341\346\346\226\223\230\230\30\47\115\13" "\300\150\64\32\37\316\236\75\373\270\321\150\174\10\300\50" "\303\1\21\371\13\366\252\51\247\3\0\47\17\17\217\373" "\253\127\257\136\52\127\176\326\56\142\232\203\7\17\76\47" "\70\40\6\211\54\326\261\373\230\204\125\303\104\24\112\104" "\163\244\272\51\205\22\175\74\377\77\24\300\6\0\347\134" "\134\134\304\355\367\212\165\74\173\366\154\10\0\34\71\162" "\304\225\135\370\301\161\34\245\246\246\226\270\251\40\142\27" "\56\134\10\0\200\343\307\217\207\260\62\5\31\305\375\225" "\314\170\132\102\107\216\343\50\45\45\305\103\116\36\157\206" "\342\105\124\50\201\51\217\205\24\26\26\166\305\335\335\75" "\167\374\370\361\121\22\233\210\351\350\376\375\373\236\340\63" "\321\332\314\213\310\44\207\151\64\232\242\253\127\257\172\2" "\300\205\13\27\214\322\55\357\117\235\72\125\13\0\316\236" "\75\353\305\142\34\307\121\142\142\242\73\0\234\76\175\72" "\114\232\237\250\233\30\167\362\344\311\371\176\176\176\17\70" "\216\53\22\166\204\220\336\234\56\61\117\203\145\50\226\177" "\351\322\245\66\302\3\140\167\341\6\100\7\21\73\163\346" "\114\147\241\235\172\70\71\71\25\234\74\171\162\270\320\347" "\5\350\164\272\302\323\247\117\167\142\363\135\267\156\335\54" "\0\264\145\313\226\367\331\374\17\37\76\334\125\30\277\103" "\365\172\175\301\365\353\327\143\44\372\66\162\165\165\175\174" "\364\350\321\231\154\72\216\343\212\126\257\136\375\215\102\235" "\141\323\246\115\137\262\155\365\350\321\243\263\210\310\104\104" "\201\304\77\304\370\116\350\47\237\21\71\125\151\56\355\300" "\34\230\3\263\364\55\245\375\162\152\152\152\373\126\255\132" "\375\326\275\173\367\104\42\322\221\360\360\103\344\57\134\270" "\260\221\321\150\314\203\44\20\210\246\115\233\266\263\161\343" "\306\277\203\337\232\177\126\307\216\35\257\21\221\123\151\375" "\266\26\55\132\334\21\166\23\150\107\104\241\333\267\157\337" "\146\155\121\56\333\347\62\107\344\0\374\156\77\253\300\157" "\57\17\221\243\64\246\23\210\102\103\103\317\217\30\61\342" "\120\110\110\310\305\21\43\106\34\42\146\361\215\134\32\71" "\271\62\143\0\45\45\45\355\32\60\140\300\345\6\15\32" "\334\271\163\347\116\63\65\372\310\224\121\66\136\255\155\113" "\43\123\346\77\201\77\73\15\220\314\251\113\44\267\374\376" "\123\107\345\272\263\251\23\43\307\70\142\304\210\103\265\152" "\325\272\60\142\304\210\103\222\67\261\305\140\366\360\360\310" "\110\110\110\130\45\314\57\202\375\374\374\156\111\165\142\370" "\115\115\46\323\303\244\244\244\351\0\140\62\231\36\174\364" "\321\107\7\23\22\22\176\326\353\365\171\62\174\0\360\366" "\360\360\270\277\171\363\346\37\204\74\334\175\175\175\377\220" "\313\343\255\267\336\172\116\364\7\344\312\132\12\237\363\37" "\315\5\240\163\163\163\173\44\307\227\332\216\115\133\116\77" "\33\177\21\7\42\117\311\157\221\312\261\62\337\54\301\265" "\110\46\223\107\171\375\343\252\316\3\60\235\343\70\12\16" "\16\316\26\256\341\316\42\246\327\353\13\307\214\31\363\54" "\200\251\215\32\65\272\106\104\55\0\140\312\224\51\377\142" "\145\250\361\245\53\223\43\106\332\360\221\331\166\240\3\320" "\42\64\64\64\231\335\241\113\302\101\141\141\341\33\315\232" "\65\113\4\360\56\303\261\346\277\126\31\254\167\357\336\357" "\231\315\346\364\247\236\172\352\360\362\345\313\167\100\276\357" "\40\42\342\104\337\117\311\277\266\346\103\127\4\126\234\265" "\114\275\224\241\17\40\142\266\214\116\115\115\255\55\225\135" "\26\77\272\262\61\166\356\42\375\210\34\216\343\150\316\234" "\71\175\114\46\123\126\142\142\342\207\66\336\116\227\265\257" "\275\60\153\276\266\223\223\123\121\361\375\102\311\203\156\153" "\351\64\160\4\107\160\204\52\37\210\50\241\123\247\116\177" "\304\307\307\337\44\242\204\256\135\273\336\352\332\265\353\55" "\42\112\40\242\4\206\232\317\161\134\56\0\270\273\273\117" "\123\20\207\352\325\253\317\32\76\174\370\176\216\343\116\20" "\21\67\175\372\364\127\76\374\360\303\127\330\33\362\217\36" "\75\162\353\330\261\343\170\275\136\77\143\307\216\35\53\174" "\174\174\346\266\156\335\172\120\164\164\164\272\234\114\235\116" "\127\264\155\333\66\57\151\374\326\255\133\175\304\311\205\255" "\300\161\134\17\361\43\367\137\152\23\231\362\3\0\6\16" "\34\70\300\313\313\53\267\145\313\226\26\147\245\232\315\346" "\334\364\364\364\372\342\377\133\267\156\5\233\315\346\134\25" "\252\305\204\205\205\35\234\65\153\326\57\61\61\61\357\161" "\34\127\40\107\342\70\256\150\317\236\75\73\234\235\235\213" "\313\33\24\24\264\64\63\63\323\105\257\327\37\306\237\35" "\74\61\151\372\163\34\267\223\343\270\174\216\343\162\67\154" "\330\160\254\260\260\260\270\157\326\353\365\105\336\336\336\163" "\71\216\113\347\70\56\157\357\336\275\373\40\71\300\373\324" "\251\123\3\332\264\151\163\216\343\270\173\122\235\164\72\35" "\325\256\135\173\25\307\161\171\34\307\345\234\70\161\342\107" "\255\126\313\352\234\315\161\334\47\34\307\365\341\70\156\310" "\341\303\207\375\202\202\202\62\225\14\61\154\330\260\227\322" "\322\322\26\316\234\71\363\270\257\257\357\207\220\74\174\145" "\353\105\372\141\304\210\133\24\177\70\163\346\314\343\151\151" "\151\13\207\15\33\306\76\264\323\144\146\146\32\207\14\31" "\62\122\74\274\134\14\132\255\226\42\42\42\376\50\52\52" "\322\76\365\324\123\113\131\354\353\257\277\376\254\111\223\46" "\277\0\300\256\135\273\46\166\350\320\341\62\3\67\277\163" "\347\216\157\146\146\346\126\126\247\364\364\364\155\267\157\337" "\256\16\300\342\315\72\306\76\304\161\134\366\346\315\233\223" "\364\172\175\161\275\105\106\106\336\336\277\177\377\133\54\367" "\371\347\237\37\345\355\355\375\272\222\355\204\60\231\263\176" "\236\174\251\203\40\157\42\363\137\274\156\216\225\43\257\107" "\370\363\254\114\263\116\247\263\230\234\34\71\162\344\123\216" "\343\176\60\32\215\137\154\331\262\145\215\247\247\347\174\0" "\45\266\341\122\23\236\176\372\351\245\36\36\36\371\101\101" "\101\77\126\253\126\255\240\157\337\276\45\336\234\145\103\134" "\134\334\264\106\215\32\145\166\352\324\351\163\66\276\171\363" "\346\67\257\135\273\126\342\101\351\271\163\347\72\65\157\336" "\374\46\33\307\330\250\47\307\161\3\71\216\133\310\161\134" "\216\210\107\107\107\337\330\277\177\377\233\254\30\0\77\35" "\71\162\344\315\72\165\352\244\113\145\351\164\272\147\146\316" "\234\371\162\174\174\374\371\56\135\272\274\304\161\334\143\206" "\222\307\161\234\33\307\161\347\71\216\133\307\161\334\324\330" "\330\330\241\5\5\5\116\50\105\250\121\243\306\343\141\303" "\206\131\224\157\330\260\141\161\276\276\276\217\244\134\216\343" "\150\306\214\31\143\62\62\62\152\2\170\341\356\335\273\376" "\263\147\317\36\55\116\202\245\301\303\303\343\144\100\100\100" "\126\130\130\330\161\157\157\357\334\210\210\210\375\102\374\351" "\320\320\320\207\41\41\41\7\274\274\274\362\352\327\257\377" "\213\64\155\114\114\314\212\47\236\170\342\366\350\321\243\373" "\267\152\325\352\116\114\114\314\12\271\74\70\216\273\41\174" "\337\224\303\73\165\352\364\171\130\130\330\243\347\237\177\176" "\262\34\56\27\132\266\154\371\243\331\154\316\173\365\325\127" "\373\53\161\70\216\33\305\161\334\25\341\167\12\307\161\243" "\225\270\152\202\217\217\317\201\126\255\132\325\36\77\176\374" "\245\325\253\127\377\54\305\127\257\136\155\4\200\203\7\17" "\272\260\143\201\263\263\163\341\366\355\333\365\162\62\15\6" "\103\341\322\245\113\153\2\300\206\15\33\174\130\114\257\327" "\27\145\147\147\157\21\373\254\242\242\242\165\266\164\164\166" "\166\56\134\271\162\245\57\0\154\332\264\251\272\24\347\70" "\56\253\144\52\333\341\370\361\343\213\136\172\351\245\244\365" "\353\327\57\125\342\230\114\246\373\102\36\205\266\362\342\70" "\116\166\254\321\353\365\105\153\327\256\65\2\300\206\15\33" "\334\245\163\210\155\333\266\231\0\40\41\41\301\323\331\331" "\271\120\214\167\161\161\51\114\110\110\250\6\0\153\326\254" "\51\261\125\231\250\233\30\32\65\152\64\371\326\255\133\237" "\246\247\247\157\36\60\140\300\145\275\136\377\203\222\256\62" "\41\214\375\123\253\126\255\103\176\176\176\71\365\353\327\377" "\311\307\307\47\107\274\206\0\40\62\62\162\257\331\154\316" "\153\327\256\335\127\276\276\276\271\215\32\65\132\354\343\343" "\223\33\25\25\365\255\257\257\157\116\203\6\15\366\262\262" "\336\177\377\375\366\176\176\176\71\123\246\114\371\27\33\337" "\242\105\213\137\274\275\275\363\32\67\156\274\334\337\337\377" "\221\277\277\377\21\26\367\367\367\337\62\160\340\300\344\146" "\315\232\131\34\7\61\162\344\310\163\143\307\216\155\257\124" "\220\301\203\7\167\33\76\174\170\262\370\277\131\263\146\37" "\160\34\227\311\161\134\52\307\161\213\205\171\312\100\216\343" "\112\314\267\34\301\21\34\241\152\7\203\301\120\64\173\366" "\354\352\311\311\311\115\236\172\352\251\215\34\307\65\343\70" "\356\32\313\111\110\110\30\363\362\313\57\237\220\113\277\153" "\327\56\347\372\365\353\147\73\73\73\137\355\321\243\107\275" "\313\227\57\353\304\271\45\307\161\317\210\37\271\377\102\40" "\0\330\271\163\347\7\101\101\101\71\116\116\116\77\161\34" "\327\172\334\270\161\176\265\152\325\262\72\26\211\363\333\361" "\343\307\47\161\34\367\36\0\322\152\265\327\102\102\102\332" "\35\72\164\150\63\124\316\251\265\132\255\107\146\146\146\242" "\116\247\63\146\146\146\46\162\34\367\300\126\32\71\377\122" "\72\337\256\127\257\336\263\337\176\373\355\353\215\32\65\72" "\27\33\33\373\271\132\175\324\204\322\370\304\345\11\37\175" "\364\121\20\0\274\377\376\373\41\145\321\321\36\72\160\34" "\367\40\63\63\63\121\243\321\30\63\63\63\23\265\132\255" "\364\101\5\42\43\43\167\164\353\326\355\332\323\117\77\75" "\212\343\270\302\320\320\320\377\314\230\61\143\257\234\74\360" "\147\262\156\235\74\171\362\301\172\365\352\175\4\0\367\357" "\337\377\346\245\227\136\32\61\165\352\124\267\201\3\7\136" "\220\113\124\257\136\275\37\237\176\372\351\224\370\370\370\321" "\34\307\25\66\151\322\144\113\357\336\275\317\313\161\317\237" "\77\337\73\66\66\66\125\16\103\351\174\316\177\62\27\75" "\173\366\234\22\20\20\360\330\312\75\1\331\120\16\77\373" "\237\36\24\373\230\362\372\307\125\235\327\264\151\323\356\223" "\46\115\112\274\162\345\312\107\157\274\361\106\262\217\217\317" "\162\0\56\0\20\24\24\364\360\307\37\177\174\307\154\66" "\17\337\270\161\343\102\216\343\216\0\300\201\3\7\206\104" "\107\107\337\20\145\250\361\245\53\223\43\6\133\76\62\376" "\174\310\227\257\327\353\177\63\32\215\256\253\126\255\232\51" "\303\323\0\200\106\243\371\142\375\372\365\213\365\172\175\361" "\170\145\315\177\255\112\330\332\265\153\47\356\337\277\177\315" "\326\255\133\77\160\163\163\233\15\0\251\251\251\73\304\276" "\243\240\240\40\341\354\331\263\273\304\173\32\326\374\153\153" "\76\164\105\140\366\14\34\307\201\343\270\216\342\377\321\243" "\107\367\226\136\373\145\361\243\53\33\143\347\56\302\374\260" "\304\134\106\257\327\27\315\232\65\353\343\167\337\175\367\320" "\267\337\176\173\302\140\60\50\75\73\10\123\210\267\33\146" "\315\327\56\50\50\340\70\216\323\13\345\172\222\255\17\253" "\76\172\125\132\231\351\300\34\330\377\32\46\306\251\131\55" "\32\24\24\364\307\270\161\343\276\5\200\220\220\220\264\121" "\243\106\175\57\345\205\206\206\76\150\337\276\375\132\360\203" "\362\104\231\225\67\0\360\262\237\237\337\103\22\266\154\145" "\126\17\133\360\303\303\303\37\304\306\306\256\5\140\176\355" "\265\327\106\352\365\372\2\27\27\227\334\327\137\177\175\43" "\204\125\261\354\352\137\57\57\257\234\21\43\106\364\147\365" "\1\200\221\43\107\16\360\366\366\176\54\243\207\154\71\55" "\242\24\70\326\354\104\40\152\321\242\305\357\75\172\364\70" "\45\305\73\167\356\174\256\151\323\246\373\0\4\2\60\166" "\352\324\351\373\256\135\273\236\225\221\311\346\363\266\311\144" "\312\370\357\177\377\73\107\130\205\46\315\63\35\374\371\63" "\156\0\174\242\242\242\176\212\213\213\273\42\342\104\64\101" "\156\265\62\223\76\3\274\3\357\6\300\43\56\56\156\261" "\273\273\173\361\233\164\1\1\1\17\273\165\353\66\37\374" "\71\257\325\143\142\142\266\104\105\105\335\146\165\66\231\114" "\331\237\176\372\351\373\220\4\2\221\260\12\156\11\370\3" "\316\75\332\265\153\267\136\262\62\356\76\200\117\0\270\3" "\350\344\347\347\167\367\323\117\77\375\136\316\336\222\25\171" "\322\163\131\255\326\57\253\223\334\171\260\54\116\374\133\201" "\33\210\71\33\122\304\74\75\75\163\0\370\104\106\106\146" "\0\330\1\376\301\140\14\200\337\1\320\267\337\176\33\7" "\340\113\57\57\257\254\333\267\157\277\40\246\153\325\252\325" "\177\172\364\350\161\261\204\114\42\247\370\370\370\313\117\74" "\361\304\116\246\14\322\162\204\265\154\331\162\127\114\114\114" "\361\166\335\333\266\155\173\137\257\327\347\203\337\42\326\33" "\100\77\147\147\347\234\11\23\46\374\142\105\316\104\361\154" "\6\53\234\22\366\262\306\41\360\347\65\263\347\12\224\41" "\57\313\125\163\40\362\361\361\171\324\266\155\333\215\0\174" "\143\143\143\327\212\147\345\62\53\353\376\74\27\224\310\143" "\321\242\105\133\174\175\175\157\102\330\176\134\215\336\54\336" "\243\107\217\44\0\324\255\133\267\363\26\64\5\131\51\51" "\51\257\233\114\246\207\54\347\354\331\263\157\326\253\127\57" "\11\100\74\370\366\354\16\40\76\42\42\42\71\51\51\151" "\250\32\275\104\316\371\363\347\7\173\172\172\76\0\177\155" "\173\17\32\64\150\217\253\253\153\216\106\243\51\132\273\166" "\355\47\112\262\210\250\213\277\277\377\175\10\157\144\20\210" "\32\65\152\164\257\145\313\226\333\0\264\21\354\323\50\66" "\66\166\155\124\124\324\35\106\216\245\12\62\72\315\235\73" "\167\203\217\217\317\155\0\35\301\277\115\32\357\343\343\163" "\147\332\264\151\73\344\344\20\21\67\174\370\360\203\6\203" "\41\367\215\67\336\260\70\313\225\225\53\376\36\75\172\364" "\146\0\364\334\163\317\35\147\71\157\275\365\326\116\0\324" "\273\167\357\303\62\151\143\214\106\143\166\132\132\132\177\0" "\110\113\113\33\150\64\32\263\1\264\142\70\66\313\6\40" "\300\303\303\343\341\311\223\47\337\221\342\14\107\156\265\50" "\172\364\350\161\272\105\213\26\322\263\103\24\307\12\71\31" "\152\71\4\176\213\304\317\77\377\374\263\337\176\373\355\251" "\272\165\353\236\224\344\105\15\32\64\70\4\300\273\167\357" "\336\123\132\267\156\175\103\304\242\243\243\157\365\353\327\157" "\14\370\166\71\35\174\337\17\2\121\124\124\324\37\121\121" "\121\273\1\270\67\150\320\340\60\53\263\131\263\146\267\337" "\176\373\355\247\205\164\137\0\370\103\256\254\254\216\55\133" "\266\114\153\333\266\155\2\200\352\365\353\327\77\52\325\261" "\104\61\31\314\312\130\110\104\244\175\370\360\341\377\231\315" "\346\154\0\117\313\244\263\125\337\252\364\150\326\254\331\355" "\216\35\73\176\17\300\73\76\76\176\141\303\206\15\357\311" "\330\330\267\103\207\16\253\133\266\154\131\334\57\307\306\306" "\246\306\305\305\175\15\300\127\152\107\71\73\1\310\4\60" "\155\367\356\335\356\103\206\14\131\52\235\63\11\377\353\211" "\161\314\174\311\334\270\161\343\175\22\371\370\367\277\377\175" "\4\0\365\354\331\363\204\44\37\164\355\332\365\254\223\223" "\123\101\327\256\135\223\0\40\56\56\356\254\106\243\51\212" "\217\217\77\43\341\166\364\364\364\314\272\167\357\336\307\36" "\36\36\331\0\72\260\162\72\167\356\174\216\343\270\242\27" "\137\174\361\220\44\335\47\215\33\67\276\116\104\355\244\345" "\74\167\356\134\361\16\32\254\75\330\162\246\244\244\304\261" "\371\130\13\125\155\56\355\300\34\230\3\263\364\55\331\153" "\274\145\313\226\267\114\46\123\246\301\140\50\130\277\176\175" "\273\300\300\300\224\127\136\171\345\44\303\233\246\321\150\12" "\205\267\375\157\1\170\1\100\361\126\353\104\324\233\210\72" "\21\321\127\104\324\205\210\306\222\160\246\253\234\177\43\175" "\203\101\324\203\370\35\175\106\365\354\331\363\62\307\161\105" "\215\32\65\112\311\312\312\32\317\352\315\6\166\176\73\150" "\320\240\105\304\37\217\263\221\210\176\40\242\361\175\372\364" "\231\56\63\317\55\21\10\266\267\257\265\26\130\233\262\363" "\155\261\214\340\13\336\171\370\360\341\233\324\350\43\47\133" "\105\274\242\337\133\326\170\261\156\232\67\157\376\63\370\61" "\355\67\61\37\53\371\227\230\207\51\325\235\32\235\30\314" "\326\366\317\143\203\203\203\157\23\121\147\213\244\226\237\142" "\276\302\271\257\115\203\202\202\316\317\235\73\367\53\342\267" "\33\226\352\65\61\64\64\364\17\42\172\122\105\36\377\27" "\30\30\170\53\75\75\275\217\134\171\112\343\163\376\223\271" "\0\140\66\233\357\177\363\315\67\113\244\166\2\323\226\344" "\154\130\106\77\273\204\234\112\346\0\226\355\104\316\157\121" "\272\66\154\162\241\302\267\57\217\177\134\325\171\104\64\210" "\210\242\1\200\210\332\20\321\107\44\234\351\72\174\370\360" "\377\0\240\366\355\333\137\376\344\223\117\232\1\60\3\30" "\153\66\233\63\223\223\223\137\27\145\250\361\245\53\223\43" "\251\137\245\276\224\35\133\145\167\350\22\323\232\114\246\14" "\10\367\40\376\375\357\177\277\313\372\65\326\374\327\252\204" "\271\271\271\345\17\34\70\160\2\0\237\166\355\332\45\350" "\365\372\302\306\215\33\357\5\20\15\300\67\72\72\172\253" "\257\257\157\261\357\147\315\277\266\346\103\127\4\306\326\143" "\171\373\0\311\375\75\65\367\365\124\371\321\225\215\131\50" "\250\160\246\353\13\57\274\160\41\70\70\70\375\332\265\153" "\121\261\261\261\73\232\65\153\126\174\157\331\232\357\135\21" "\30\140\325\327\246\226\55\133\156\207\60\157\226\316\367\24" "\323\125\45\47\301\201\71\260\377\65\114\214\143\235\122\110" "\202\30\147\60\30\362\377\363\237\377\164\7\0\147\147\347" "\274\115\233\66\365\222\362\326\255\133\267\130\170\120\100\132" "\255\266\340\375\367\337\147\235\152\0\200\237\237\337\37\263" "\147\317\56\76\227\117\334\126\230\343\270\42\266\343\70\163" "\346\314\214\360\360\360\124\235\116\227\157\60\30\162\172\366" "\354\171\71\55\55\155\131\130\130\130\112\263\146\315\166\261" "\162\11\104\117\74\361\304\265\116\235\72\45\260\372\0\100" "\247\116\235\22\332\266\155\173\105\252\207\122\71\213\377\53" "\164\312\66\354\104\302\140\375\170\305\212\25\357\110\361\335" "\273\167\217\252\131\263\346\75\255\126\133\240\325\152\13\202" "\203\203\157\46\45\45\275\52\223\177\161\271\134\134\134\36" "\13\377\145\35\257\35\73\166\254\251\131\263\146\232\126\253" "\55\60\30\14\217\333\267\157\177\74\53\53\253\217\225\362" "\132\324\373\226\55\133\326\212\351\165\72\135\176\170\170\370" "\325\255\133\267\46\210\370\322\245\113\177\360\366\366\116\27" "\157\210\10\347\105\216\144\345\153\265\332\242\237\176\372\51" "\106\316\46\251\251\251\303\232\66\155\232\244\327\353\163\365" "\172\175\156\223\46\115\222\123\123\123\207\211\370\262\145\313" "\266\230\315\346\373\32\215\246\320\335\335\375\341\230\61\143" "\176\41\242\72\62\366\226\267\273\360\360\325\112\171\113\350" "\44\367\260\225\305\245\166\142\261\216\35\73\136\172\356\271" "\347\76\74\163\346\314\264\320\320\320\233\242\336\343\306\215" "\333\340\357\357\377\110\253\325\26\104\104\104\244\44\47\47" "\57\42\146\33\150\243\321\230\175\366\354\331\1\162\171\236" "\71\163\346\265\152\325\252\75\2\340\304\114\142\212\77\116" "\116\116\271\121\121\121\147\123\123\123\337\142\312\340\273\160" "\341\302\137\275\274\274\322\65\32\115\241\253\253\153\366\340" "\301\203\117\27\73\3\62\162\204\153\354\64\61\147\355\111" "\71\222\217\322\244\112\152\317\126\314\271\2\266\362\222\27" "\303\160\10\104\313\227\57\137\347\351\351\371\100\243\321\24" "\172\171\171\145\156\334\270\361\133\153\162\210\250\316\300\201" "\3\177\257\137\277\376\357\22\236\252\162\155\333\266\155\4" "\0\132\263\146\15\373\340\130\321\6\104\344\74\150\320\40" "\213\207\111\104\344\272\147\317\236\217\302\302\302\316\71\71" "\71\345\351\164\272\274\260\260\260\163\173\366\354\231\101\104" "\256\152\354\311\310\162\71\162\344\310\322\272\165\353\136\160" "\162\162\312\63\30\14\271\117\75\365\324\245\347\236\173\356" "\252\277\277\177\252\65\131\77\376\370\343\222\152\325\252\145" "\1\60\23\210\216\37\77\76\65\40\40\340\266\116\247\313" "\7\370\63\144\243\243\243\117\337\275\173\367\155\106\116\211" "\372\220\321\251\336\320\241\103\367\273\272\272\146\163\34\127" "\344\352\352\232\375\332\153\257\35\42\242\46\12\162\360\370" "\361\343\330\260\260\260\114\351\131\256\254\134\361\367\225\53" "\127\72\150\265\332\242\125\253\126\215\141\71\247\117\237\176" "\112\243\321\320\226\55\133\206\110\323\6\4\4\134\231\74" "\171\362\76\361\346\13\21\71\115\232\64\351\267\200\200\200" "\53\245\51\133\170\170\370\31\224\242\275\260\162\277\377\376" "\373\211\156\156\156\322\205\75\44\345\131\53\273\132\16\201" "\150\334\270\161\247\334\334\334\262\14\6\303\343\356\335\273" "\377\56\325\161\354\330\261\353\135\134\134\262\103\102\102\256" "\136\274\170\261\270\216\223\222\222\306\205\204\204\134\321\152" "\265\5\36\36\36\17\226\57\137\276\231\301\306\6\4\4" "\334\61\30\14\217\337\170\343\215\155\254\314\223\47\117\116" "\14\16\16\116\321\152\265\5\236\236\236\17\326\256\135\273" "\132\256\254\254\216\47\116\234\30\137\275\172\365\164\203\301" "\220\63\144\310\220\37\45\17\23\25\235\64\224\354\347\113" "\244\43\176\167\214\237\153\326\254\171\103\46\235\255\372\126" "\245\307\221\43\107\246\4\6\6\336\322\152\265\5\376\376" "\376\267\116\234\70\361\36\233\256\173\367\356\7\305\61\374" "\342\305\213\243\104\354\332\265\153\257\207\207\207\137\325\351" "\164\371\235\73\167\76\146\55\77\2\321\242\105\213\166\232" "\114\246\7\162\163\40\0\210\210\210\310\24\34\136\20\170" "\7\230\343\270\42\235\116\227\367\374\363\317\377\42\221\217" "\325\253\127\217\0\100\313\226\55\233\310\346\3\0\363\347" "\317\237\15\200\76\371\344\223\217\1\140\326\254\131\237\2" "\240\205\13\27\176\310\162\375\375\375\257\175\360\301\7\77" "\23\221\323\364\351\323\167\373\373\373\137\143\345\314\235\73" "\167\36\0\332\270\161\343\233\154\72\127\127\127\271\271\212" "\70\17\160\141\337\162\227\251\153\42\42\75\233\217\265\120" "\325\346\322\16\314\201\71\60\113\337\222\275\306\57\134\270" "\60\322\317\317\57\13\0\31\215\306\314\21\43\106\374\104" "\104\377\22\171\165\352\324\271\370\365\327\137\37\270\174\371" "\162\102\227\56\135\222\165\72\135\176\333\266\155\17\261\362" "\344\202\332\361\135\324\243\70\216\350\231\121\243\106\235\165" "\167\167\317\41\176\13\127\331\174\224\346\267\342\107\141\236" "\53\253\47\251\333\276\326\152\71\355\245\217\234\154\205\170" "\65\363\350\322\312\54\221\107\303\206\15\57\153\64\232\302" "\46\115\232\134\262\42\273\304\174\103\322\326\324\344\45\33" "\10\66\267\177\216\60\231\114\17\216\35\73\366\261\105\72" "\345\305\314\322\163\137\1\0\146\263\371\16\224\155\30\151" "\62\231\36\36\77\176\174\266\44\217\246\167\63\273\0\0" "\12\360\111\104\101\124\15\162\171\170\172\172\336\133\275\172" "\365\122\261\375\112\313\123\32\237\363\237\314\5\60\64\60" "\60\60\223\210\102\145\350\126\333\166\131\374\154\71\71\225" "\314\201\114\32\310\341\326\342\45\161\266\372\30\113\171\345" "\360\217\253\72\17\12\101\360\107\157\166\351\322\45\315\333" "\333\73\123\270\247\226\127\273\166\355\13\7\17\36\374\126" "\222\227\115\137\272\62\71\45\212\42\123\66\271\170\45\316" "\230\61\143\366\213\343\223\324\257\261\346\277\126\45\154\346" "\314\231\173\135\135\135\37\151\64\232\302\340\340\340\133\173" "\367\356\335\272\162\345\312\331\236\236\236\367\264\132\155\101" "\140\140\340\355\3\7\16\174\45\362\255\371\327\326\174\350" "\212\300\330\172\54\157\37\300\316\67\124\336\327\53\316\327" "\232\37\135\331\230\162\313\375\263\254\15\32\64\70\337\272" "\165\353\113\116\116\116\171\1\1\1\177\34\71\162\144\212" "\210\131\363\275\53\2\3\224\175\155\0\324\274\171\363\163" "\132\255\266\100\156\276\247\230\256\146\315\232\231\340\337\276" "\150\3\240\215\237\237\337\3\21\164\140\16\314\201\125\54" "\6\41\10\35\253\325\67\135\211\150\111\261\23\102\264\230" "\210\74\245\74\42\362\47\242\217\171\12\255\40\242\346\45" "\362\42\172\237\175\340\105\374\341\334\353\204\117\53\106\226" "\73\21\215\42\242\357\205\374\236\41\376\240\356\321\104\324" "\317\102\67\176\200\134\154\66\233\63\131\175\0\300\154\66" "\147\316\233\67\357\13\251\36\112\345\264\26\10\104\315\232" "\65\113\127\262\223\150\103\42\132\110\62\147\42\20\221\47" "\21\115\45\176\225\364\112\342\337\102\55\61\231\143\35\53" "\342\127\166\53\356\101\117\104\65\210\150\212\40\157\61\361" "\53\302\225\157\42\260\53\243\371\364\65\211\350\135\41\375" "\367\202\315\153\62\170\50\361\53\371\126\11\234\267\311\162" "\145\33\204\170\127\5\233\30\210\137\31\270\124\370\14\42" "\42\3\203\327\42\242\131\104\264\206\210\26\210\155\100\152" "\123\45\273\113\363\263\206\253\341\60\145\222\175\350\176\344" "\310\221\267\175\175\175\357\255\137\277\76\230\210\306\21\321" "\152\42\372\234\210\232\23\321\64\301\26\43\332\265\153\267" "\1\100\62\123\216\371\44\234\263\131\102\56\221\53\21\175" "\112\62\53\367\211\167\270\277\43\242\227\131\273\11\351\352" "\22\321\114\241\156\26\22\321\377\261\272\312\264\233\342\153" "\314\12\107\256\215\225\260\205\214\275\304\353\330\152\136\12" "\345\267\310\113\370\16\41\376\54\314\65\102\31\153\252\220" "\363\57\42\172\335\102\226\312\162\21\221\267\140\353\352\114" "\234\125\33\20\121\7\226\43\304\171\21\321\110\42\132\56" "\174\106\22\163\326\261\55\173\112\144\171\20\321\60\42\132" "\106\104\337\20\177\36\353\323\323\246\115\333\146\103\57\77" "\42\372\214\210\14\2\307\110\104\223\211\277\276\305\25\252" "\3\111\174\120\51\271\46\224\332\276\200\265\45\242\57\210" "\150\255\360\335\101\312\221\310\342\210\277\116\144\367\242\222" "\364\173\116\304\137\77\65\44\62\134\204\166\120\342\314\150" "\42\232\110\302\271\71\14\77\212\210\46\226\246\154\304\237" "\53\155\265\275\0\262\216\13\210\357\103\77\227\304\53\336" "\14\224\223\241\226\43\350\32\103\174\137\271\230\210\272\227" "\270\176\210\132\20\321\227\202\335\135\30\314\115\210\133\51" "\134\133\241\14\346\112\374\70\262\230\210\132\113\144\272\23" "\77\126\211\351\2\131\335\244\66\25\322\124\43\176\161\313" "\67\173\366\354\171\236\75\273\274\4\137\346\372\267\20\47" "\223\216\210\232\20\321\124\151\72\45\331\112\171\131\301\214" "\104\64\111\50\363\24\262\274\1\113\202\335\113\214\341\304" "\317\121\106\21\77\377\171\116\111\177\46\256\16\21\175\102" "\62\163\40\101\247\121\104\264\212\341\213\375\354\162\342\317" "\142\227\366\77\176\102\33\360\147\363\21\260\60\1\13\27" "\376\107\10\377\103\44\72\115\46\242\306\214\235\47\261\162" "\126\255\132\325\305\144\62\345\21\221\217\44\335\42\245\153" "\207\210\70\361\174\34\13\73\362\337\32\321\116\154\76\326" "\102\125\233\113\73\60\7\346\300\54\175\113\366\32\47\42" "\227\360\360\360\273\223\47\117\116\44\176\56\134\274\110\123" "\300\207\13\175\241\73\361\363\234\345\104\364\42\53\117\56" "\224\142\356\42\366\65\231\0\146\1\160\33\63\146\314\134" "\341\234\153\131\131\26\145\51\71\277\125\234\347\132\323\223" "\210\236\40\242\61\342\267\255\362\225\110\157\47\175\344\144" "\313\305\313\310\257\220\63\135\211\150\50\361\176\314\20\53" "\262\25\37\14\11\337\35\1\344\202\77\247\117\51\57\331" "\40\224\165\14\133\77\22\314\203\210\346\221\345\331\165\177" "\246\57\351\127\327\42\336\157\321\112\170\63\225\154\110\374" "\375\201\171\342\134\303\126\36\72\235\256\360\327\137\177\155" "\314\120\32\0\310\146\164\50\215\317\371\117\346\66\46\242" "\51\12\134\233\155\233\210\352\156\334\270\161\225\223\223\123" "\141\142\142\342\367\144\333\317\226\365\65\53\213\43\226\213" "\115\303\352\313\342\326\342\331\70\311\107\225\157\117\145\364" "\217\377\16\74\271\100\40\272\176\375\372\207\104\364\2\361" "\327\371\12\101\306\10\42\62\113\145\220\12\137\272\62\71" "\114\275\51\371\310\66\357\133\24\327\267\345\370\44\275\267" "\153\315\177\255\112\130\43\342\175\232\325\104\364\16\21\371" "\20\177\217\173\16\361\276\337\44\261\136\5\276\333\352\325" "\253\277\166\162\162\52\114\112\112\372\232\54\375\153\105\37" "\272\42\60\266\36\355\324\7\224\270\117\257\324\56\44\371" "\52\372\321\225\215\131\153\273\114\372\67\210\250\77\361\367" "\334\46\111\144\53\372\336\25\201\1\312\276\66\157\146\32" "\104\374\263\204\22\363\75\245\164\134\227\56\135\222\122\123" "\123\213\317\36\163\161\161\361\71\174\370\160\20\201\250\153" "\227\256\147\35\230\3\163\140\25\207\161\340\67\2\27\177" "\263\161\142\220\213\223\13\26\362\210\66\262\373\244\253\225" "\121\326\74\11\104\40\324\63\233\315\307\63\62\62\372\1" "\130\53\140\317\233\315\346\145\367\356\335\153\314\161\334\171" "\153\162\325\344\111\40\152\327\266\335\331\275\277\356\255\247" "\144\47\45\71\266\344\227\305\366\377\53\270\65\273\227\106" "\136\171\165\22\332\231\161\321\242\105\313\77\370\340\203\106" "\327\257\137\137\14\340\147\0\347\301\73\273\265\0\164\7" "\360\206\277\277\277\313\301\203\7\277\10\14\14\174\267\64" "\355\337\36\145\250\114\116\131\372\7\133\234\362\136\247\366" "\324\133\55\267\42\354\240\210\23\65\341\70\356\104\125\152" "\7\152\71\366\110\143\157\235\112\301\1\204\363\254\125\364" "\363\4\240\334\155\131\312\51\253\274\312\304\204\370\74\0" "\23\0\54\151\336\274\371\206\314\314\314\346\27\57\136\64" "\251\221\47\174\273\3\30\311\161\334\64\42\122\145\107\173" "\135\323\52\60\100\162\256\271\225\164\212\355\240\264\72\124" "\104\35\226\101\216\117\124\124\324\152\167\167\367\260\335\273" "\167\207\224\46\177\37\37\237\234\73\167\356\264\3\360\273" "\150\107\2\141\314\350\61\35\76\373\354\263\377\346\346\346" "\152\155\311\142\145\126\245\271\264\3\163\140\16\314\322\267" "\144\257\161\16\234\263\136\257\317\76\166\354\330\123\15\32" "\64\330\11\46\224\167\116\256\166\354\46\20\276\133\372\335" "\216\221\43\107\76\161\377\376\375\152\356\356\356\331\243\107" "\217\116\236\62\145\112\264\222\254\322\316\117\312\342\377\331" "\153\156\134\136\331\225\221\126\141\76\3\250\33\117\111\340" "\211\337\26\166\271\237\161\77\164\321\242\105\153\336\173\357" "\275\206\71\71\71\56\225\61\167\372\53\370\142\232\206\15" "\32\146\170\170\170\354\331\267\157\337\120\0\131\61\61\61" "\253\335\334\334\352\377\364\323\117\301\366\366\157\376\27\270" "\326\322\146\144\144\204\260\155\253\64\362\377\112\216\332\153" "\240\74\175\237\75\175\303\277\63\217\100\4\202\13\307\161" "\71\345\315\353\177\221\363\167\301\254\361\345\372\211\277\132" "\367\212\354\3\376\352\262\331\3\253\212\72\11\230\65\137" "\33\120\236\63\51\247\43\176\45\270\67\223\246\220\343\270" "\257\205\316\253\227\3\163\140\16\254\342\60\361\202\27\177" "\127\324\304\253\254\3\230\132\236\370\375\336\173\357\355\371" "\342\213\57\152\337\272\165\253\46\201\250\106\365\32\151\103" "\207\16\75\67\171\362\344\16\366\320\121\260\147\77\160\130" "\246\144\247\322\14\150\266\360\362\14\170\377\44\334\232\335" "\113\43\257\274\72\25\353\103\124\47\51\51\151\320\320\241" "\103\233\237\72\165\252\341\203\7\17\114\205\205\205\132\235" "\116\227\357\343\343\223\376\334\163\317\235\377\344\223\117\166" "\153\64\232\31\34\307\345\224\246\375\333\243\14\225\311\261" "\107\377\40\345\330\243\57\261\227\336\152\271\25\141\207\312" "\222\125\231\34\173\244\261\267\116\245\340\210\177\155\365\363" "\66\171\62\134\271\120\42\175\131\257\215\312\304\10\104\23" "\306\117\70\376\351\247\237\326\315\311\311\61\370\371\371\335" "\137\265\152\325\362\330\330\330\341\252\372\127\20\305\266\213" "\135\373\353\257\277\76\67\176\374\370\244\217\76\372\250\201" "\332\164\366\270\246\125\326\231\332\61\376\37\365\320\125\247" "\325\25\172\173\173\77\334\273\167\357\244\210\210\210\317\113" "\223\377\300\201\3\217\56\135\272\264\51\11\157\240\200\220" "\0\16\317\150\70\15\275\362\312\53\311\213\27\57\256\257" "\126\337\252\66\227\166\140\16\314\201\131\372\226\142\137\111" "\40\174\74\347\343\220\203\7\17\376\274\166\355\332\6\34" "\307\75\146\322\330\145\116\256\224\126\344\210\175\15\10\341" "\0\206\0\10\2\177\166\354\167\34\307\35\123\222\125\332" "\371\211\215\171\101\271\157\10\332\113\237\362\352\134\326\264" "\12\363\31\100\305\170\52\56\346\146\27\165\113\333\232\126" "\253\55\214\215\215\115\373\371\347\237\3\53\143\356\364\127" "\360\305\64\27\316\137\230\322\263\147\317\1\347\316\235\13" "\4\100\215\33\67\276\274\163\347\316\131\136\136\136\337\332" "\153\314\377\137\342\332\110\113\154\333\52\215\374\277\222\243" "\366\32\50\117\337\147\57\335\377\356\274\312\266\327\77\215" "\363\167\301\154\360\113\364\23\177\265\356\25\331\7\374\325" "\145\263\7\126\25\165\42\330\364\265\1\205\71\223\265\164" "\162\171\331\4\35\230\3\163\140\366\305\304\337\162\174\253" "\27\252\35\364\50\17\137\252\67\21\65\45\313\55\7\247" "\22\121\123\173\351\250\306\116\112\162\154\311\57\213\355\377" "\127\160\133\266\125\53\257\274\62\54\256\31\176\153\217\136" "\304\157\43\363\275\260\105\304\167\302\226\26\155\210\210\223" "\113\127\136\375\252\32\307\36\375\203\224\143\217\276\304\136" "\172\253\345\126\204\35\52\113\126\145\162\354\221\246\64\151" "\355\311\41\225\333\352\251\341\111\271\162\37\271\364\125\165" "\16\41\215\27\266\315\131\104\374\266\320\323\110\330\242\113" "\215\74\41\175\117\342\267\302\262\171\66\235\332\361\101\215" "\356\152\60\42\371\155\266\144\307\160\53\355\240\264\72\124" "\104\35\226\126\216\260\155\323\164\222\34\47\240\252\176\210" "\72\22\321\72\213\70\136\346\72\22\316\167\124\253\157\125" "\151\353\16\314\201\71\60\171\254\170\174\343\277\335\210\250" "\173\151\145\225\107\17\71\175\112\233\117\151\347\47\145\361" "\377\354\131\206\362\310\256\214\264\162\363\231\322\214\247\112" "\34\146\56\265\202\210\372\50\345\145\113\116\131\365\250\114" "\276\230\206\370\155\164\337\24\374\316\357\210\350\125\42\322" "\225\126\246\203\153\73\255\264\155\225\106\376\137\311\121\173" "\15\224\247\357\263\247\157\370\167\346\125\266\275\376\151\234" "\277\13\146\215\57\327\117\374\325\272\127\144\37\360\127\227" "\315\36\130\125\324\111\30\337\25\175\155\153\163\46\153\351" "\376\37\266\206\174\254\347\114\277\367\0\0\0\0\111\105" "\116\104\256\102\140\202" }, { ":resources/help_button.png", 2196, "\211\120\116\107\15\12\32\12\0\0\0\15\111\110\104\122" "\0\0\0\40\0\0\0\20\10\6\0\0\0\167\0\175" "\131\0\0\5\110\172\124\130\164\122\141\167\40\160\162\157" "\146\151\154\145\40\164\171\160\145\40\145\170\151\146\0\0" "\170\332\255\127\133\222\344\50\14\374\347\24\173\4\4\10" "\301\161\304\53\142\157\60\307\337\24\320\125\335\325\65\23" "\63\33\143\167\331\30\13\75\62\45\231\166\363\307\277\313" "\375\203\203\162\51\56\261\224\134\163\366\70\122\115\65\50" "\6\305\237\343\334\311\247\175\335\107\270\257\360\374\145\336" "\321\307\213\200\251\210\173\74\217\171\136\171\305\74\77\27" "\110\272\363\355\353\274\223\176\365\224\253\350\103\363\125\30" "\315\262\271\161\345\312\125\24\303\231\247\373\354\352\135\247" "\351\123\70\367\267\172\330\257\271\235\127\257\317\111\0\306" "\140\350\213\301\205\31\51\172\134\203\131\211\360\40\326\250" "\270\363\276\326\160\146\25\317\347\132\336\143\347\36\303\27" "\360\312\117\260\363\172\45\342\127\50\234\317\127\40\277\140" "\164\347\211\337\143\267\21\172\141\215\256\345\57\57\312\341" "\344\171\174\306\156\215\262\326\74\321\151\312\100\52\273\33" "\224\277\52\366\10\202\200\63\305\275\54\343\24\374\30\143" "\331\147\305\131\20\142\7\143\3\154\66\234\335\121\245\0" "\264\27\45\32\244\264\150\356\173\247\16\27\123\230\101\160" "\17\241\207\270\347\112\224\120\103\337\244\44\73\151\5\1" "\75\303\305\2\126\72\130\213\230\16\17\137\150\333\255\333" "\136\247\2\313\203\40\31\10\312\10\53\276\235\356\335\344" "\377\71\37\212\326\262\324\45\62\60\313\301\12\176\5\313" "\151\270\141\314\331\25\122\40\204\326\305\224\67\276\373\164" "\17\132\237\207\21\33\301\40\157\230\13\2\124\337\216\212" "\306\364\314\255\270\171\216\220\143\237\234\77\245\101\62\256" "\2\100\4\333\14\147\50\202\1\237\51\62\145\362\22\202" "\20\1\307\2\176\24\236\207\230\102\3\3\304\34\6\271" "\5\156\142\314\40\247\4\263\215\65\102\133\66\160\70\323" "\150\55\40\202\143\216\2\152\120\100\40\53\45\106\376\110" "\52\310\41\345\310\311\61\163\146\341\302\225\65\307\234\62" "\347\234\45\133\217\122\211\222\204\45\213\110\221\52\132\142" "\111\205\113\56\122\112\251\105\153\250\21\55\214\153\256\342" "\152\251\265\252\302\250\102\265\142\265\102\102\265\205\26\133" "\152\334\162\223\126\132\155\332\221\76\75\165\356\271\113\57" "\275\166\35\141\304\201\362\37\171\210\33\145\324\241\223\46" "\122\151\246\311\63\117\231\145\326\251\13\271\266\342\112\213" "\127\136\262\312\252\113\37\254\135\126\277\262\106\57\314\375" "\232\65\272\254\31\143\151\313\311\223\65\114\213\174\250\40" "\153\47\154\234\201\261\220\10\214\213\61\200\204\16\306\31" "\352\71\245\140\314\31\147\276\6\24\5\7\260\106\154\344" "\14\62\306\300\140\232\24\170\321\203\273\47\163\277\344\315" "\161\372\43\336\302\317\230\163\106\335\337\140\316\31\165\227" "\271\357\274\275\141\155\350\376\242\304\115\220\125\241\141\352" "\343\102\143\133\211\165\104\235\61\153\37\370\160\161\304\107" "\63\214\304\177\64\166\357\136\160\105\266\106\146\55\76\124" "\40\250\43\153\213\311\3\376\304\171\15\172\63\164\357\247" "\337\14\101\101\143\340\6\133\333\167\116\133\271\237\32\152" "\113\214\320\42\100\235\332\206\24\65\207\224\206\304\306\175" "\261\244\265\163\160\170\26\244\112\237\26\170\153\43\27\226" "\276\52\317\321\140\102\21\107\314\305\251\5\303\262\111\62" "\143\372\335\330\157\331\162\277\141\314\154\15\40\5\36\165" "\174\4\6\335\274\155\341\173\144\351\345\174\354\232\55\105" "\26\23\162\10\352\241\77\60\122\166\342\201\221\24\31\63" "\332\43\236\26\251\256\44\272\142\321\71\146\361\161\240\146" "\64\33\212\316\233\31\216\203\371\30\106\210\2\353\330\233" "\14\333\56\131\33\365\202\255\2\162\234\47\32\234\171\52" "\271\231\33\263\216\35\127\307\333\354\32\27\154\171\150\202" "\355\131\26\117\41\36\315\2\325\314\224\206\332\166\307\254" "\40\333\25\112\174\65\243\27\303\5\165\333\35\214\334\163" "\150\43\40\202\326\213\366\244\10\163\1\15\144\157\103\266" "\266\152\101\65\213\234\155\53\263\365\57\330\206\230\32\336" "\313\155\10\31\21\31\173\141\307\374\175\124\217\137\35\330" "\317\326\15\35\217\345\123\47\22\325\4\175\350\356\271\144" "\130\22\330\33\333\50\151\347\67\111\160\201\335\270\200\172" "\260\33\155\53\310\42\344\270\2\230\52\47\372\17\262\77" "\243\63\321\15\14\35\164\51\56\252\25\31\276\231\170\221" "\105\253\315\255\200\315\32\132\317\333\347\71\321\75\146\33" "\1\117\24\240\346\170\361\311\61\170\215\346\142\245\110\15" "\172\15\232\233\331\337\261\261\164\13\15\60\140\127\353\321" "\352\352\216\364\50\344\115\350\327\221\272\205\200\0\316\56" "\224\272\75\337\204\74\251\371\30\5\30\267\14\343\144\300" "\15\344\270\25\325\103\332\275\210\77\120\61\116\73\174\260" "\56\262\355\40\276\176\145\371\170\75\221\230\240\260\15\2" "\225\156\342\135\154\140\262\315\126\26\156\371\263\354\247\345" "\47\151\312\61\226\3\352\141\27\354\2\164\25\320\241\326" "\146\71\221\22\112\127\52\112\134\43\356\335\112\3\51\201" "\106\54\320\202\216\354\237\242\217\345\230\72\310\243\372\117" "\71\343\103\62\222\151\153\202\146\26\166\63\3\336\30\2" "\177\300\75\230\270\324\135\151\147\32\205\155\323\3\323\15" "\270\140\127\173\127\336\171\40\322\47\232\23\300\235\226\67" "\3\177\226\365\323\262\161\166\335\330\130\6\115\374\27\60" "\54\14\44\7\217\302\16\2\76\26\0\335\32\241\334\114" "\154\232\30\144\361\51\357\310\67\36\225\315\214\300\27\236" "\255\341\243\144\235\142\341\213\202\177\50\334\177\31\325\70" "\206\6\73\373\175\0\0\0\6\142\113\107\104\0\377\0" "\377\0\377\240\275\247\223\0\0\0\11\160\110\131\163\0" "\0\56\43\0\0\56\43\1\170\245\77\166\0\0\0\7" "\164\111\115\105\7\343\5\11\22\62\72\335\62\371\253\0" "\0\2\315\111\104\101\124\110\307\245\225\277\116\34\111\20" "\207\277\236\151\233\77\66\153\54\220\61\27\355\111\210\5" "\211\5\207\150\341\71\160\310\23\234\37\303\176\1\137\106" "\304\63\20\370\204\203\111\10\40\270\135\113\100\166\143\316" "\301\6\34\213\11\14\3\142\252\312\101\357\16\263\336\275" "\73\201\107\32\225\324\277\372\272\246\253\152\272\334\336\336" "\36\123\123\123\306\3\236\116\247\343\16\17\17\311\262\354" "\101\374\330\330\230\363\137\376\376\142\377\234\236\2\16\260" "\173\331\54\313\254\62\121\141\346\305\213\356\226\367\333\43" "\313\256\315\213\12\242\6\150\127\120\316\316\72\264\132\115" "\322\64\145\144\144\204\152\365\127\126\126\226\231\234\174\336" "\347\247\246\230\131\227\247\320\316\316\116\151\265\76\221\246" "\177\165\371\52\53\53\257\230\234\174\126\260\316\201\232\342" "\266\267\267\155\174\154\274\110\113\273\335\346\375\357\357\1" "\250\325\152\334\336\336\222\246\51\336\173\336\374\366\206\351" "\351\351\302\367\62\273\302\1\17\342\35\134\136\135\341\125" "\15\121\1\300\314\370\360\307\7\0\66\67\67\231\233\233" "\303\314\70\70\70\140\147\147\207\243\343\43\326\327\327\213" "\140\246\212\341\176\212\367\42\71\252\12\300\315\315\15\365" "\172\235\345\345\145\252\325\152\261\76\73\73\13\300\305\305" "\105\261\6\40\22\2\377\14\357\315\214\74\27\234\203\70" "\366\324\353\165\314\302\151\362\134\0\343\363\347\23\0\146" "\146\146\20\21\314\300\71\60\13\65\17\176\340\275\147\151" "\251\36\352\253\206\231\240\152\234\234\334\361\275\130\106\340" "\275\344\202\76\222\241\277\211\251\322\154\65\371\370\161\227" "\305\305\105\152\363\363\305\251\1\162\21\234\271\177\347\115" "\151\376\331\144\167\267\313\327\346\121\355\347\303\137\40\62" "\4\66\366\367\367\111\222\204\325\325\125\32\215\6\261\367" "\175\276\52\332\127\212\377\345\343\101\336\347\42\250\52\206" "\341\160\205\355\234\167\110\222\204\332\102\215\265\265\65\242" "\70\32\360\223\74\307\234\53\352\132\326\276\236\177\45\111" "\22\26\26\26\150\254\65\360\261\107\124\12\35\163\110\236" "\343\125\4\221\274\124\327\140\343\50\346\365\353\15\306\307" "\237\0\206\364\152\127\362\23\355\145\40\357\236\372\116\213" "\343\210\215\215\15\236\76\175\2\306\100\14\160\210\52\136" "\125\21\321\201\24\172\357\231\230\250\340\275\37\252\227\273" "\177\230\36\307\236\112\45\360\345\316\377\221\217\104\102\17" "\344\77\330\64\115\331\332\332\342\370\370\170\250\336\263\345" "\267\254\225\371\377\142\303\105\44\62\160\117\133\310\123\270" "\152\207\350\320\253\275\53\65\326\235\126\346\103\263\16\316" "\2\125\305\275\173\367\326\106\107\107\37\70\214\256\161\316" "\10\374\75\207\221\101\166\175\215\377\366\355\322\235\167\316" "\15\107\367\313\373\233\61\164\154\140\234\271\356\36\101\174" "\374\370\221\133\132\252\363\313\313\227\106\4\20\241\12\121" "\304\235\105\303\214\212\40\322\10\42\12\261\335\156\273\357" "\61\116\163\12\122\305\101\35\0\0\0\0\111\105\116\104" "\256\102\140\202" }, { ":resources/knob.png", 3597, "\211\120\116\107\15\12\32\12\0\0\0\15\111\110\104\122" "\0\0\0\71\0\0\0\71\10\6\0\0\0\214\30\203" "\205\0\0\0\6\142\113\107\104\0\377\0\377\0\377\240" "\275\247\223\0\0\0\11\160\110\131\163\0\0\15\327\0" "\0\15\327\1\102\50\233\170\0\0\0\7\164\111\115\105" "\7\335\3\33\13\2\52\107\24\113\252\0\0\0\31\164" "\105\130\164\103\157\155\155\145\156\164\0\103\162\145\141\164" "\145\144\40\167\151\164\150\40\107\111\115\120\127\201\16\27" "\0\0\15\165\111\104\101\124\150\336\315\233\175\150\33\147" "\236\307\177\363\314\214\64\63\172\265\106\157\143\215\255\27" "\153\222\270\215\335\30\207\224\246\245\204\334\145\333\222\153" "\163\107\60\107\373\317\266\145\357\150\32\322\376\121\112\141" "\257\20\350\36\113\103\70\112\151\272\260\167\120\16\112\133" "\50\144\273\307\246\264\127\366\350\55\107\377\10\107\262\216" "\233\127\217\354\165\245\110\266\144\131\262\144\275\314\150\336" "\366\217\235\361\216\124\305\161\336\75\360\143\300\36\75\317" "\363\321\357\345\171\236\171\276\302\104\121\204\373\165\11\202" "\200\0\200\6\0\135\24\305\366\375\352\27\273\27\220\202" "\40\340\0\20\63\315\3\0\214\151\264\355\61\35\0\332" "\0\320\4\200\26\0\324\0\40\7\0\45\121\24\215\55" "\11\51\10\2\5\0\103\0\20\67\341\210\333\154\252\155" "\302\146\1\340\272\50\212\332\3\207\24\4\301\11\0\217" "\0\300\50\0\340\0\200\335\254\117\363\176\63\157\31\0" "\40\1\300\64\0\134\25\105\121\277\357\220\146\110\216\2" "\300\70\0\70\155\203\357\272\117\116\116\172\307\306\306\374" "\251\124\312\37\213\305\174\221\110\304\257\50\212\272\264\264" "\124\313\345\162\265\114\46\123\75\167\356\134\165\156\156\256" "\335\3\157\277\327\1\340\234\50\212\13\367\15\122\20\4" "\36\0\36\5\0\267\11\263\156\44\111\242\43\107\216\244" "\17\35\72\264\153\154\154\354\221\201\201\201\310\46\232\64" "\26\27\27\27\316\235\73\167\341\263\317\76\373\343\347\237" "\177\136\60\341\214\36\330\145\0\370\77\121\24\353\367\24" "\122\20\204\207\0\140\2\0\220\151\30\0\240\321\321\121" "\367\373\357\277\177\160\317\236\75\173\51\212\162\337\111\12" "\324\152\265\345\157\276\371\346\367\107\216\34\371\337\106\243" "\241\332\140\165\0\220\115\320\302\135\207\64\313\377\36\0" "\110\230\271\207\0\0\261\54\113\175\370\341\207\7\236\172" "\352\251\147\34\16\7\163\67\253\142\255\126\133\376\370\343" "\217\177\363\326\133\157\235\265\101\352\0\240\1\300\37\105" "\121\274\172\327\40\315\312\371\30\0\260\46\40\1\0\350" "\355\267\337\236\170\365\325\127\177\352\166\273\3\33\175\136" "\327\165\60\14\143\335\0\0\60\14\3\14\303\0\41\4" "\30\266\161\255\132\132\132\232\177\375\365\327\377\343\253\257" "\276\52\230\200\26\350\237\314\134\325\357\10\322\364\340\136" "\33\40\11\0\304\247\237\176\372\334\323\117\77\75\205\335" "\140\204\232\246\201\256\353\240\151\67\237\1\54\130\34\307" "\1\41\324\367\31\131\226\133\357\275\367\336\257\116\234\70" "\61\155\102\252\246\145\104\121\374\376\116\41\307\154\363\36" "\31\12\205\134\137\174\361\305\221\321\321\321\275\375\236\127" "\125\165\123\140\33\1\343\70\16\70\216\377\270\72\31\206" "\176\346\314\231\317\136\174\361\305\63\46\240\142\336\277\27" "\105\61\173\133\220\202\40\14\1\300\210\351\75\7\313\262" "\256\157\277\375\366\235\150\64\272\275\237\347\356\4\356\106" "\260\375\74\173\366\354\331\63\317\76\373\354\177\232\220\12" "\0\164\0\340\274\50\212\325\176\155\241\15\0\375\246\7" "\255\34\200\323\247\117\37\11\205\102\333\55\40\313\72\235" "\16\250\252\332\225\167\167\152\272\256\203\242\50\240\50\12" "\364\366\267\173\367\356\277\373\340\203\17\366\233\305\310\32" "\337\66\163\141\262\71\110\101\20\60\23\120\265\0\77\371" "\344\223\177\110\247\323\373\172\73\124\24\345\107\205\345\156" "\232\246\151\353\51\140\267\103\207\16\375\363\261\143\307\166" "\330\212\20\6\0\374\255\170\162\300\266\210\326\337\171\347" "\235\311\307\37\177\374\245\336\216\124\125\5\135\327\357\271" "\365\3\65\14\203\70\166\354\330\317\367\355\333\307\232\220" "\32\0\270\5\101\240\157\12\151\126\123\257\371\41\65\20" "\10\20\207\17\37\176\335\60\14\324\333\371\275\362\336\106" "\41\154\67\222\44\375\307\217\37\377\47\253\54\230\221\27" "\334\214\47\335\146\254\253\0\0\247\116\235\72\354\164\72" "\7\355\337\342\203\0\264\203\332\307\302\363\374\376\243\107" "\217\156\263\101\222\275\336\104\175\162\221\62\77\140\114\116" "\116\172\306\307\307\137\352\7\170\77\302\264\237\131\171\152" "\33\17\366\302\13\57\34\265\245\227\6\0\256\215\74\111" "\332\342\33\216\37\77\376\22\102\310\153\157\24\303\260\7" "\346\105\313\60\14\353\2\35\30\30\230\174\367\335\167\37" "\263\55\22\220\231\166\0\175\66\266\270\371\240\1\0\370" "\340\340\340\101\373\334\207\343\370\372\262\354\101\137\126\64" "\131\327\304\304\304\263\0\360\173\233\67\11\163\376\374\53" "\244\40\10\326\36\120\7\0\170\363\315\67\167\222\44\31" "\265\67\104\222\144\127\303\17\362\302\60\254\153\54\54\313" "\76\356\363\371\234\265\132\255\141\102\342\375\302\25\331\266" "\64\150\367\356\335\77\261\207\204\365\355\155\25\263\40\255" "\361\41\204\174\157\274\361\306\36\33\3\146\326\230\256\160" "\305\254\177\2\0\21\16\207\367\331\103\225\40\210\55\23" "\252\275\313\111\353\172\350\241\207\376\6\0\276\261\203\2" "\200\101\364\171\257\2\301\140\220\246\151\172\233\275\1\204" "\320\226\203\104\10\165\101\172\74\236\107\154\216\323\373\25" "\36\213\0\177\362\311\47\171\115\323\60\173\374\333\367\202" "\133\325\223\70\216\263\0\340\260\105\45\364\13\127\0\0" "\174\150\150\150\320\236\324\133\251\252\366\333\220\333\122\52" "\100\222\244\123\121\24\334\316\204\154\225\25\0\0\30\206" "\301\7\6\6\6\173\326\211\133\322\54\110\133\161\164\356" "\334\271\63\340\166\273\361\164\72\275\356\315\365\352\72\65" "\65\5\74\317\43\135\327\11\227\313\25\356\205\174\120\53" "\234\133\135\1\215\216\216\106\165\135\107\212\242\140\123\123" "\123\177\365\244\141\30\370\336\275\173\11\115\323\60\247\323" "\211\67\32\15\265\167\307\261\125\275\331\273\73\251\124\52" "\52\115\323\50\221\110\300\313\57\277\114\244\323\351\365\155" "\67\161\340\300\1\62\30\14\142\44\111\22\245\122\251\326" "\273\245\332\252\220\75\233\152\143\146\146\246\346\164\72\221" "\307\343\101\173\366\354\161\2\0\146\25\36\64\60\60\100" "\271\335\156\231\44\111\50\24\12\125\173\102\133\33\343\255" "\130\164\354\343\222\145\271\51\111\222\36\16\207\21\307\161" "\100\121\224\13\0\232\353\325\225\246\151\46\221\110\164\312" "\345\62\226\315\146\53\366\322\154\305\376\126\273\172\137\232" "\65\233\315\72\115\323\230\317\347\3\216\343\20\216\343\56" "\0\320\55\110\203\40\10\27\317\363\265\371\371\171\54\237" "\317\67\44\111\222\110\222\244\154\337\22\70\34\216\55\5" "\51\111\122\27\144\275\136\137\241\151\32\202\301\40\332\265" "\153\27\201\141\230\63\223\311\30\126\116\52\24\105\171\5" "\101\300\303\341\260\101\323\264\176\375\372\365\153\366\274\154" "\265\132\133\56\37\233\315\146\127\321\231\237\237\277\342\361" "\170\40\24\12\141\43\43\43\356\256\171\62\223\311\150\0" "\40\77\361\304\23\54\307\161\230\337\357\327\147\147\147\57" "\331\33\150\64\32\133\152\352\120\125\25\332\355\166\27\344" "\371\363\347\147\2\201\200\21\217\307\21\307\161\101\135\327" "\327\272\346\111\115\323\252\301\140\60\302\363\74\260\54\253" "\315\314\314\174\257\252\252\156\65\332\351\164\100\222\244\55" "\343\305\265\265\265\56\350\162\271\134\154\66\233\225\150\64" "\152\360\74\217\30\206\211\266\132\255\152\27\44\105\121\313" "\156\267\233\113\44\22\50\26\213\151\30\206\325\213\305\142" "\276\147\16\332\22\200\232\246\101\265\132\355\362\142\66\233" "\315\260\54\253\16\17\17\33\143\143\143\76\202\40\310\112" "\245\122\357\202\314\144\62\55\204\220\74\61\61\301\46\22" "\11\43\34\16\53\27\56\134\70\153\157\250\331\154\156\211" "\260\255\124\52\135\363\243\44\111\312\305\213\27\317\15\16" "\16\252\361\170\334\110\44\22\203\232\246\55\365\175\307\203" "\20\312\162\34\67\222\110\44\200\347\171\245\120\50\314\55" "\56\56\56\331\101\313\345\362\3\175\133\327\351\164\176\344" "\305\53\127\256\134\246\151\272\76\64\64\244\46\223\111\334" "\345\162\15\33\206\221\353\13\71\73\73\173\231\141\230\201" "\207\37\176\330\33\217\307\65\216\343\344\351\351\351\363\366" "\6\333\355\66\24\213\305\7\26\246\371\174\276\153\51\327" "\154\66\145\121\24\57\306\142\61\45\231\114\32\333\267\157" "\37\301\161\174\171\161\161\261\277\47\235\116\147\307\60\214" "\357\206\207\207\307\122\251\224\76\74\74\54\153\232\266\224" "\313\345\12\366\160\131\135\135\205\225\225\225\373\36\246\205" "\102\1\44\111\352\372\333\354\354\254\30\14\6\333\361\170" "\134\115\46\223\104\40\20\110\352\272\376\207\15\137\56\177" "\371\345\227\323\64\115\243\35\73\166\204\122\251\224\312\363" "\274\174\365\352\325\231\172\275\336\266\173\264\130\54\102\275" "\136\277\157\136\264\372\263\217\41\237\317\257\124\52\225\77" "\305\343\361\116\52\225\322\122\251\324\66\204\320\45\267\333" "\135\332\20\162\142\142\102\63\14\343\167\321\150\164\64\225" "\112\101\62\231\224\203\301\140\153\172\172\372\212\54\313\232" "\275\223\134\56\7\245\122\351\236\207\150\66\233\205\162\271" "\334\5\270\272\272\332\236\233\233\273\306\363\174\47\225\112" "\51\311\144\222\362\371\174\241\325\325\325\377\356\25\73\365" "\75\360\71\171\362\344\214\303\341\230\25\4\141\307\310\310" "\210\232\110\44\44\227\313\125\273\164\351\322\102\357\326\246" "\130\54\102\66\233\275\47\73\25\111\222\140\156\156\16\152" "\265\32\364\324\5\355\332\265\153\363\221\110\104\116\46\223" "\235\124\52\5\261\130\154\47\102\350\67\74\317\127\172\171" "\360\327\136\173\355\107\220\343\343\343\106\261\130\234\211\104" "\42\373\50\212\12\53\212\322\121\125\225\256\325\152\130\265" "\132\105\176\277\337\155\30\6\146\37\114\245\122\261\346\333" "\73\176\175\251\50\12\54\56\56\102\76\237\7\105\121\272" "\376\47\313\262\46\212\342\165\257\327\273\72\62\62\322\330" "\266\155\333\132\72\235\36\244\151\372\17\36\217\347\223\176" "\222\265\33\112\303\166\355\332\325\372\341\207\37\176\31\14" "\6\177\265\175\373\166\207\252\252\262\141\30\162\66\233\135" "\271\174\371\62\244\323\351\10\111\222\310\276\123\51\24\12" "\260\274\274\14\241\120\10\274\136\57\220\44\171\313\13\156" "\173\121\353\275\32\215\106\147\141\141\141\311\357\367\257\45" "\223\311\116\72\235\356\214\214\214\104\335\156\267\370\365\327" "\137\377\372\106\232\274\233\35\247\143\245\122\351\21\204\320" "\373\331\154\266\236\311\144\150\121\24\7\362\371\274\173\155" "\155\315\235\110\44\102\56\227\353\206\44\14\303\200\317\347" "\3\206\141\200\44\111\40\111\162\375\170\134\125\125\120\125" "\25\24\105\201\106\243\1\265\132\15\144\131\276\341\130\126" "\126\126\332\305\142\161\205\145\331\166\74\36\137\23\4\241" "\46\10\2\36\12\205\352\271\134\356\147\343\343\343\245\333" "\202\264\100\213\305\342\337\42\204\176\221\317\347\265\114\46" "\3\363\363\363\236\102\241\340\252\126\253\224\307\343\361\205" "\303\141\6\307\161\154\63\336\262\40\67\273\11\227\145\131" "\133\132\132\152\52\212\262\26\16\207\345\241\241\241\146\52" "\225\152\244\323\151\47\313\262\225\166\273\175\224\347\171\161" "\43\145\345\115\225\214\242\50\32\221\110\344\177\346\347\347" "\113\34\307\175\110\20\204\333\341\160\310\24\105\21\205\102" "\1\55\57\57\327\256\135\273\326\16\4\2\356\140\60\110" "\335\114\223\263\131\361\204\246\151\106\261\130\154\255\255\255" "\265\274\136\257\302\161\134\207\347\171\71\231\114\52\361\170" "\334\357\367\373\57\146\62\231\327\36\175\364\321\342\315\244" "\243\233\222\153\212\242\250\247\122\251\357\277\373\356\273\177" "\24\4\341\327\44\111\246\151\232\156\273\335\156\314\345\162" "\101\271\134\66\152\265\232\136\255\126\333\36\217\207\362\170" "\74\16\232\246\361\333\71\251\152\66\233\112\275\136\127\132" "\255\126\233\242\50\65\32\215\252\221\110\104\341\171\136\36" "\36\36\326\170\236\367\62\14\363\345\351\323\247\177\376\312" "\53\257\264\67\243\215\275\45\155\235\40\10\350\324\251\123" "\314\324\324\324\273\222\44\35\54\26\213\172\56\227\353\54" "\55\55\71\112\245\222\243\122\251\340\215\106\3\227\44\11" "\1\0\301\60\14\311\60\14\111\20\4\42\111\22\21\4" "\201\41\204\60\313\123\252\252\352\212\242\350\212\242\350\255" "\126\113\151\265\132\35\202\40\164\212\242\164\257\327\253\261" "\54\253\206\303\141\45\26\213\251\261\130\314\31\16\207\65" "\14\303\376\215\343\270\177\7\0\155\263\342\337\333\21\20" "\142\0\200\137\270\160\141\222\145\331\137\64\233\315\321\122" "\251\244\55\56\56\52\305\142\221\250\126\253\104\275\136\307" "\133\255\26\152\267\333\110\121\24\314\234\337\60\303\60\0" "\41\144\115\75\6\102\10\20\102\6\101\20\340\160\70\164" "\232\246\15\227\313\245\371\375\176\75\20\10\50\221\110\104" "\345\70\216\16\205\102\210\44\311\63\242\50\376\162\377\376" "\375\327\341\57\362\356\115\277\164\272\135\51\50\146\56\44" "\360\113\227\56\75\355\365\172\377\265\321\150\4\53\225\12" "\224\313\145\271\132\255\32\265\132\15\157\64\32\250\325\152" "\241\116\247\203\51\212\202\231\353\115\314\54\100\6\216\343" "\100\222\244\341\164\72\165\227\313\245\273\335\156\335\347\363" "\151\54\313\22\301\140\320\21\10\4\60\247\323\171\76\227" "\313\375\313\336\275\173\57\132\307\374\267\52\337\276\43\345" "\262\5\173\360\340\101\347\311\223\47\237\242\50\352\260\141" "\30\7\32\215\6\64\32\15\243\136\257\167\326\326\326\64" "\111\222\14\131\226\61\123\22\203\231\347\53\206\303\341\60" "\34\16\7\60\14\203\271\134\56\302\347\363\221\36\217\207" "\144\30\146\125\327\365\377\252\327\353\247\47\46\46\376\337" "\22\44\335\256\66\375\156\310\263\355\242\136\174\164\164\324" "\361\321\107\37\75\26\14\6\377\36\307\361\237\150\232\26" "\122\125\325\51\313\262\244\252\152\107\67\347\16\34\307\11" "\207\303\341\40\111\322\111\20\104\3\307\361\234\44\111\277" "\135\130\130\370\335\63\317\74\163\305\46\224\322\357\124\170" "\177\67\205\366\166\131\66\262\31\376\334\163\317\121\317\77" "\377\174\224\343\70\316\343\361\104\65\115\353\324\353\365\105" "\121\24\227\116\234\70\121\132\130\130\120\154\147\375\226\146" "\301\270\133\277\52\270\127\77\231\350\247\107\357\67\201\366" "\323\233\303\335\376\311\304\237\1\373\76\244\60\366\117\332" "\65\0\0\0\0\111\105\116\104\256\102\140\202" }, { ":resources/logo.png", 14190, "\211\120\116\107\15\12\32\12\0\0\0\15\111\110\104\122" "\0\0\0\302\0\0\0\252\10\6\0\0\0\377\106\220" "\6\0\0\0\6\142\113\107\104\0\377\0\377\0\377\240" "\275\247\223\0\0\0\11\160\110\131\163\0\0\15\327\0" "\0\15\327\1\102\50\233\170\0\0\0\7\164\111\115\105" "\7\335\4\6\13\15\2\345\152\254\315\0\0\0\31\164" "\105\130\164\103\157\155\155\145\156\164\0\103\162\145\141\164" "\145\144\40\167\151\164\150\40\107\111\115\120\127\201\16\27" "\0\0\40\0\111\104\101\124\170\332\355\175\147\167\343\110" "\266\144\200\236\24\145\313\166\317\316\173\377\377\77\355\356" "\171\263\323\335\345\345\351\111\140\77\360\306\144\60\225\11" "\200\44\100\226\252\231\347\350\224\221\4\46\62\257\215\353" "\22\234\326\261\126\13\100\333\376\276\2\260\264\277\247\247" "\243\71\374\112\116\107\160\260\325\0\320\1\60\0\320\7" "\320\5\320\264\257\6\200\31\200\147\0\43\0\343\23\103" "\234\30\341\127\134\135\0\27\0\56\215\21\132\71\147\77" "\5\360\0\340\316\30\42\73\35\337\211\21\136\373\152\3" "\270\2\160\15\340\314\44\177\231\225\1\230\0\370\146\14" "\261\72\35\345\211\21\136\253\31\164\6\340\235\151\201\306" "\216\317\131\1\370\16\340\13\200\305\351\130\353\133\315\323" "\21\324\42\134\56\0\374\16\140\270\7\23\220\241\206\146" "\112\115\305\241\76\255\23\43\374\364\353\32\300\157\246\21" "\252\322\270\175\273\253\23\63\234\30\341\125\254\53\323\4" "\203\32\264\314\300\174\216\23\63\324\144\313\236\126\65\353" "\14\300\107\223\336\125\256\14\300\34\153\4\51\261\347\237" "\174\273\212\127\353\164\4\225\254\56\200\367\306\14\125\255" "\231\21\377\330\376\276\60\115\260\300\11\122\75\61\302\117" "\152\136\136\143\215\16\125\261\122\0\117\130\103\247\243\223" "\31\164\142\204\327\262\6\0\336\124\350\157\75\0\370\154" "\232\340\264\116\76\302\253\71\277\267\0\172\25\75\217\101" "\264\23\23\234\30\341\125\255\253\12\115\42\140\215\10\115" "\116\307\172\62\215\136\333\331\135\126\150\22\245\346\24\127" "\355\23\64\340\120\246\114\374\232\206\375\73\265\77\371\163" "\51\134\112\107\323\276\267\72\61\302\151\305\126\267\102\223" "\210\4\273\250\340\76\73\366\325\66\302\156\300\245\174\267" "\204\330\63\141\10\30\3\246\302\20\13\323\120\143\163\332" "\127\47\106\70\55\177\45\306\4\125\7\316\126\366\354\254" "\44\343\264\155\37\114\353\46\261\267\340\122\274\223\35\367" "\101\330\66\305\337\0\256\75\61\302\356\353\254\342\347\145" "\45\356\203\65\15\144\102\145\200\135\211\136\327\2\353\232" "\210\133\254\41\334\277\115\326\353\211\21\166\67\143\172\65" "\74\267\33\221\276\115\143\274\163\254\223\360\372\250\76\75" "\146\12\340\7\200\173\323\4\177\253\240\335\337\225\21\222" "\75\57\272\213\172\362\264\272\306\144\251\60\333\271\175\25" "\25\364\354\243\211\36\261\116\365\176\372\73\43\37\277\372" "\152\212\3\311\367\125\273\167\145\322\60\225\177\227\171\146" "\243\6\346\154\213\175\177\151\137\175\324\227\34\231\141\135" "\370\363\31\177\163\330\266\365\213\276\123\327\114\211\201\60" "\100\303\276\232\42\165\227\160\20\342\314\210\141\46\177\137" "\345\20\120\273\206\275\167\0\374\323\376\74\104\162\335\30" "\353\0\336\337\76\166\361\53\61\102\333\10\377\334\230\240" "\133\140\112\320\361\344\352\143\35\40\133\332\327\334\114\205" "\221\375\175\346\375\156\35\104\332\264\75\34\142\245\346\24" "\237\242\330\277\0\43\44\160\205\361\127\330\256\56\70\357" "\114\132\146\237\137\30\23\114\14\115\171\66\302\351\377\2" "\316\344\330\174\203\123\267\214\127\316\10\15\43\324\33\270" "\162\306\72\244\64\375\213\163\143\212\105\215\316\362\41\27" "\65\235\177\246\231\60\271\37\221\376\245\321\223\327\270\347" "\41\326\31\237\127\107\44\310\24\256\132\214\201\255\327\162" "\236\53\254\241\322\47\143\162\145\200\206\234\51\315\104\256" "\205\61\17\301\206\305\211\21\216\347\7\134\141\335\35\342" "\230\204\267\60\373\372\316\174\207\26\326\325\151\157\136\321" "\131\246\142\26\45\236\100\111\105\103\360\337\32\365\236\211" "\166\144\143\262\245\200\17\47\323\250\146\46\170\207\165\332" "\163\373\310\173\371\212\165\233\225\245\110\316\247\55\65\224" "\242\126\11\34\262\165\110\323\262\221\363\275\274\237\155\213" "\311\224\331\173\214\305\207\32\343\225\105\245\133\257\160\257" "\117\166\21\304\327\17\255\25\156\261\206\34\127\1\355\232" "\226\144\204\251\75\343\321\10\211\160\357\65\252\257\171\256" "\333\242\110\304\217\272\64\15\61\65\155\371\364\132\264\304" "\153\162\370\50\165\237\114\362\74\210\263\327\70\320\273\144" "\246\11\236\3\347\170\155\16\165\21\143\22\266\144\323\256" "\225\230\27\123\143\204\66\136\347\242\146\353\232\166\354\333" "\335\254\176\166\15\361\32\221\17\252\342\271\21\317\23\326" "\360\46\63\102\353\366\15\356\214\140\165\135\155\151\262\335" "\7\230\11\342\210\252\51\322\170\245\14\301\373\140\156\124" "\142\357\227\235\30\241\76\4\144\152\204\265\260\303\257\343" "\275\346\346\33\334\12\201\166\114\23\154\323\306\45\201\113" "\163\136\105\314\246\7\321\20\163\271\253\344\25\2\34\314" "\231\72\263\77\331\211\343\304\10\65\242\40\314\241\247\315" "\132\245\46\370\212\65\344\230\32\61\336\230\26\170\263\203" "\46\142\332\207\316\105\150\170\16\350\34\153\254\177\44\214" "\261\24\346\171\155\61\240\246\11\213\41\134\341\317\352\304" "\10\365\255\271\35\160\277\42\142\131\141\235\224\366\103\210" "\366\55\134\157\323\135\316\260\41\146\303\300\154\352\241\151" "\227\36\66\313\43\123\361\43\36\341\42\334\254\32\143\14" "\340\65\334\145\42\357\336\66\146\130\374\54\33\173\355\253" "\211\315\252\54\72\316\157\215\270\252\60\207\276\171\232\340" "\367\12\65\116\346\335\3\35\113\202\2\23\373\112\43\167" "\307\12\65\176\235\41\37\32\75\244\206\136\10\212\104\15" "\220\210\171\370\34\360\267\116\214\120\122\222\262\56\267\13" "\127\233\333\226\377\157\211\224\114\366\144\202\317\236\71\304" "\6\277\275\3\22\23\63\141\11\14\370\321\136\75\33\246" "\234\253\246\251\313\147\212\151\317\31\34\272\67\265\377\313" "\274\57\245\277\354\304\10\345\45\176\133\56\265\357\61\101" "\35\357\60\203\13\232\221\11\316\1\374\57\34\47\242\235" "\311\276\64\150\25\322\24\172\156\335\0\143\324\25\270\133" "\231\351\366\135\200\200\127\23\145\376\231\31\241\5\227\126" "\75\64\2\74\204\203\270\60\115\160\53\222\167\10\340\37" "\25\230\132\125\22\335\334\44\356\43\134\153\310\105\316\75" "\67\5\271\241\11\325\106\165\51\345\13\323\236\17\310\257" "\345\320\2\44\6\41\227\342\27\145\47\106\130\137\26\323" "\237\317\53\164\170\267\145\202\357\42\151\207\146\16\135\374" "\204\302\202\346\337\30\16\102\36\331\337\263\10\121\45\342" "\127\235\301\325\156\124\21\310\143\36\322\30\353\130\211\246" "\171\153\303\201\236\370\163\104\317\350\13\61\75\374\157\313" "\10\75\270\316\161\165\226\47\346\231\103\364\11\110\100\147" "\246\11\316\137\211\206\47\34\373\54\66\372\24\371\60\245" "\246\110\14\214\361\265\65\314\256\213\231\0\367\160\5\107" "\203\202\147\62\243\225\46\126\236\351\367\313\61\2\63\112" "\157\120\355\224\231\155\231\340\23\326\121\143\36\374\300\64" "\301\25\136\347\112\205\21\10\271\316\113\60\105\42\176\330" "\300\356\244\57\32\173\27\346\364\273\355\261\342\157\141\337" "\243\357\242\376\13\363\261\356\160\0\210\365\230\214\120\325" "\300\275\52\230\340\213\240\103\324\116\37\15\45\372\25\372" "\303\256\104\102\217\345\13\5\66\71\243\331\147\236\131\323" "\333\222\176\62\101\223\236\75\64\211\147\316\140\333\205\10" "\304\324\356\345\53\152\206\131\223\43\62\301\45\326\303\65" "\6\107\44\266\205\151\202\133\154\106\154\377\141\32\352\330" "\114\220\325\160\107\53\173\357\261\20\346\252\244\324\45\124" "\335\23\37\256\215\374\230\12\321\244\37\160\101\300\74\346" "\353\303\105\355\151\106\375\0\360\147\235\232\341\30\214\300" "\140\327\73\123\211\307\132\63\161\214\365\242\77\32\203\36" "\203\350\231\114\270\300\146\37\322\26\252\217\7\220\311\46" "\106\240\23\221\326\131\1\261\222\156\72\142\106\235\231\104" "\157\173\202\206\371\131\363\55\5\345\33\63\115\333\266\227" "\77\355\256\126\277\2\43\164\214\310\336\342\270\51\1\23" "\143\202\73\271\360\16\200\17\266\267\103\153\202\324\210\220" "\120\350\34\256\51\157\113\10\356\322\114\207\72\316\216\132" "\141\4\227\321\313\175\224\41\334\4\353\126\64\67\202\144" "\175\201\113\122\334\145\275\63\301\324\261\347\375\201\232\232" "\220\35\222\30\273\106\150\357\216\310\4\231\150\202\173\141" "\202\226\61\350\66\223\157\150\167\163\246\131\163\307\375\74" "\1\370\313\366\364\44\16\155\46\114\262\20\247\167\11\27" "\101\257\122\220\21\312\34\30\303\21\132\155\43\34\25\366" "\337\343\215\235\141\103\300\207\7\354\27\27\130\330\271\16" "\305\114\172\106\15\261\206\103\21\144\147\7\102\253\323\61" "\126\164\250\51\227\330\56\220\332\23\373\135\106\235\357\215" "\170\37\114\232\317\205\70\233\45\30\211\135\346\236\121\16" "\46\114\105\122\127\235\141\353\133\12\155\161\140\57\341\2" "\232\215\200\226\350\233\137\325\205\113\122\274\303\376\320\47" "\205\300\231\275\153\23\56\335\376\325\61\102\142\352\115\235" "\237\143\372\4\267\330\154\127\362\106\324\157\21\321\176\65" "\342\147\272\67\141\100\46\226\75\300\341\367\51\134\207\210" "\220\4\375\141\373\331\26\15\241\126\143\355\105\335\325\154" "\252\51\330\207\225\22\232\176\306\133\254\141\346\304\316\351" "\113\205\266\374\22\56\73\267\5\67\263\341\125\61\102\303" "\314\241\217\107\326\4\143\141\202\230\15\32\133\123\123\363" "\137\260\331\43\65\217\151\350\170\216\341\22\341\22\221\162" "\267\266\237\371\236\214\315\34\250\103\371\172\72\223\341\102" "\230\202\116\362\314\234\332\131\15\302\364\34\16\316\145\333" "\231\312\146\67\324\111\234\224\266\37\216\254\11\350\30\253" "\275\332\100\271\164\152\302\253\273\250\171\146\216\162\316\0" "\203\106\367\266\237\52\210\145\156\104\331\75\60\360\221\210" "\371\244\71\140\337\366\164\216\363\264\340\100\336\365\122\120" "\252\156\340\147\177\52\106\270\64\46\70\146\127\206\251\60" "\201\366\360\271\262\275\365\12\16\377\73\134\55\302\276\210" "\320\114\210\245\52\325\236\12\221\34\273\340\237\232\163\131" "\23\43\164\341\122\135\174\37\346\32\56\2\336\26\315\334" "\50\313\30\165\111\352\236\151\203\301\21\57\46\4\221\302" "\16\363\103\211\275\115\115\272\125\225\353\302\254\314\252\35" "\75\302\235\307\156\3\63\106\175\303\321\63\73\73\215\175" "\54\340\246\7\261\375\347\5\134\14\206\145\256\23\361\347" "\16\312\10\64\73\56\161\274\310\365\4\153\110\362\336\373" "\177\146\222\236\225\70\370\207\32\234\262\171\15\357\312\324" "\211\143\304\77\102\16\174\135\317\137\301\365\215\272\203\113" "\346\143\76\324\0\256\166\5\246\101\156\204\11\350\267\115" "\20\50\156\252\203\21\256\114\33\34\353\122\106\160\161\2" "\170\232\340\67\224\253\51\140\132\300\153\130\231\61\354\34" "\207\253\234\13\231\150\165\147\211\262\274\223\351\333\63\221" "\374\337\340\322\274\65\335\233\305\111\104\235\336\12\352\304" "\164\361\61\200\264\152\106\350\333\207\165\42\27\226\211\243" "\345\167\134\256\202\40\150\247\372\321\307\263\55\230\200\32" "\145\376\223\21\174\136\147\352\205\355\371\320\116\263\132\1" "\207\142\70\377\363\62\271\263\11\66\313\171\331\123\251\47" "\46\324\300\276\250\141\246\0\106\125\62\102\23\56\225\132" "\67\311\374\31\246\4\57\304\371\121\56\256\312\131\173\364" "\210\205\231\244\303\55\210\344\147\152\65\302\54\335\163\173" "\227\61\326\61\210\105\100\53\34\313\34\245\363\332\250\121" "\63\60\172\117\141\232\346\60\313\34\256\1\234\326\270\17" "\355\54\331\215\217\246\324\171\225\214\100\357\275\141\233\320" "\354\306\231\107\130\324\10\155\254\353\200\367\225\144\143\143" "\2\337\34\142\132\307\5\266\113\31\136\325\350\370\155\253" "\141\337\30\201\363\214\172\46\371\36\2\202\340\230\65\302" "\44\262\247\232\30\255\51\246\374\66\276\10\375\1\146\5" "\60\157\253\57\250\123\263\52\106\150\331\3\331\22\121\235" "\222\64\102\154\11\252\51\306\31\231\143\354\333\364\314\44" "\335\45\235\372\330\332\100\323\324\207\201\263\316\42\32\361" "\21\233\221\340\103\152\207\1\326\161\231\257\166\47\32\153" "\110\214\101\166\145\324\314\103\305\50\104\27\133\76\3\242" "\55\36\205\271\206\255\12\71\166\144\52\273\314\214\336\26" "\326\121\335\17\330\57\226\361\14\227\254\246\113\63\111\167" "\165\312\352\124\363\145\230\340\167\204\323\324\47\21\64\153" "\12\340\337\160\231\240\147\246\115\252\30\247\265\215\126\30" "\300\101\251\154\346\225\1\370\277\173\240\160\115\117\140\336" "\330\331\214\20\357\373\124\206\61\250\55\246\125\5\324\10" "\237\55\113\276\324\173\373\332\207\21\47\342\30\147\36\23" "\274\263\257\144\17\6\33\35\311\324\270\62\307\76\64\125" "\163\145\10\311\50\307\76\136\211\51\60\26\344\344\120\314" "\300\32\350\236\330\341\55\270\226\234\151\100\50\322\171\315" "\162\316\104\123\367\165\160\44\323\74\32\1\247\172\53\116" "\73\344\142\246\347\307\75\231\140\204\160\232\57\231\154\337" "\4\277\151\300\351\346\45\263\343\103\307\223\342\125\60\315" "\205\151\202\101\104\330\334\143\163\100\111\31\373\170\42\204" "\163\314\325\11\0\21\155\270\64\234\176\104\230\166\215\136" "\6\106\340\314\362\155\212\263\313\306\17\324\110\155\171\377" "\122\302\360\220\71\100\15\333\354\276\232\340\11\141\210\224" "\271\115\125\114\324\11\71\357\114\315\270\261\347\123\210\50" "\36\115\144\154\327\317\174\157\177\352\105\53\363\323\364\334" "\146\315\215\171\206\70\156\105\40\315\325\41\34\64\315\312" "\66\266\361\151\333\73\116\5\30\140\160\226\167\377\377\214" "\221\56\340\240\120\76\203\377\276\204\153\51\131\252\233\307" "\41\31\201\271\107\335\34\107\206\152\55\213\354\155\145\132" "\140\24\140\62\112\226\52\162\156\250\322\127\201\317\270\364" "\176\266\147\377\267\20\115\262\155\151\42\333\111\166\340\6" "\210\134\303\365\122\232\41\74\240\44\217\350\10\123\147\102" "\20\35\34\267\141\103\313\316\52\305\313\26\367\154\371\162" "\16\227\116\321\225\373\144\331\47\317\225\321\145\232\141\54" "\374\327\326\237\135\73\307\51\134\111\352\23\2\360\370\241" "\114\243\363\210\312\147\17\236\73\263\175\71\351\161\342\71" "\134\164\0\231\6\334\262\227\241\352\173\213\342\164\352\62" "\176\316\302\30\355\66\340\43\144\160\235\342\32\21\263\217" "\211\141\147\162\171\151\111\306\173\143\114\304\314\324\13\61" "\27\374\72\212\62\317\362\123\306\233\42\71\217\275\362\346" "\74\160\356\4\205\121\42\147\111\1\251\150\344\112\120\240" "\107\117\53\67\345\171\354\331\164\45\332\207\300\110\166\210" "\103\351\341\145\273\104\302\254\237\341\146\211\161\50\6\71" "\167\4\67\42\152\351\275\24\273\263\255\4\266\333\267\132" "\153\12\127\171\66\212\20\160\231\121\262\144\336\241\355\151" "\126\2\216\355\233\163\377\315\176\377\332\276\30\37\271\333" "\102\342\376\146\147\362\214\160\45\131\17\257\163\151\161\320" "\231\275\333\54\140\61\114\355\376\264\25\46\341\372\266\74" "\347\2\22\140\153\36\140\363\37\314\316\123\264\347\213\175" "\345\301\136\14\154\55\340\372\361\254\104\365\261\207\347\105" "\5\266\357\24\353\130\304\155\1\172\301\124\6\232\37\315" "\300\367\377\155\304\73\203\13\204\25\325\331\62\65\205\321" "\317\163\270\342\367\321\26\100\304\73\363\63\62\43\204\105" "\100\50\15\361\172\127\42\232\167\0\127\41\30\243\235\231" "\60\304\10\256\230\251\201\315\42\243\253\72\31\241\141\122" "\355\203\230\22\132\350\262\155\320\152\41\57\303\252\257\116" "\5\176\316\12\156\32\316\66\110\314\134\56\105\57\212\131" "\253\23\333\337\15\212\163\227\330\350\212\261\213\373\55\35" "\143\12\234\367\266\47\76\303\117\303\350\5\174\234\237\161" "\371\171\150\376\277\125\272\77\225\60\77\251\75\106\166\56" "\23\61\133\133\0\32\165\62\2\115\26\45\24\277\301\356" "\56\7\304\372\340\26\252\111\62\143\335\302\66\214\311\144" "\255\47\333\117\103\10\262\57\227\164\41\227\65\55\140\106" "\246\115\334\243\174\200\210\355\31\225\11\270\176\4\64\102" "\327\366\324\370\11\11\237\332\237\255\357\11\72\334\301\145" "\327\362\214\23\171\237\245\70\327\145\76\107\357\216\346\367" "\274\56\324\210\152\132\235\343\7\154\66\330\335\147\215\315" "\224\141\33\221\175\326\63\166\313\64\145\17\117\366\347\144" "\362\240\242\30\113\63\157\236\75\342\15\111\274\155\65\44" "\243\307\357\43\304\235\344\20\334\317\62\146\212\104\254\265" "\2\212\350\350\371\44\166\246\277\173\346\335\215\21\366\375" "\16\367\107\307\372\261\56\106\270\362\124\360\322\30\241\312" "\302\15\16\363\140\356\371\56\53\105\70\202\334\260\147\256" "\120\56\56\260\24\324\102\63\44\23\317\347\340\100\275\61" "\134\60\151\34\161\154\213\340\321\153\43\202\101\344\275\232" "\221\377\77\146\142\36\333\263\360\235\107\2\46\144\71\46" "\22\377\116\133\177\30\0\32\146\342\277\155\55\324\352\140" "\4\332\305\55\317\276\37\327\360\131\143\270\214\302\135\244" "\134\136\272\65\235\326\257\50\337\167\10\5\222\235\301\76" "\365\31\176\207\13\226\225\115\353\270\104\176\164\76\326\63" "\165\205\343\126\15\216\4\370\230\357\140\42\307\140\327\241" "\11\225\77\366\101\165\252\366\352\331\346\303\267\353\307\65" "\35\360\263\111\307\135\264\102\126\160\31\227\106\270\267\246" "\172\367\351\74\301\206\1\137\341\2\135\337\4\124\140\327" "\213\62\132\63\55\260\363\143\371\372\351\1\315\242\114\4" "\40\265\345\276\235\73\30\13\11\1\63\67\306\144\217\273" "\150\275\252\31\241\5\327\350\111\57\145\134\343\201\57\114" "\272\354\302\10\215\210\111\222\212\55\77\60\215\163\141\314" "\160\17\127\335\124\166\365\214\11\126\36\312\261\200\353\227" "\244\243\126\65\10\324\261\317\124\23\155\136\102\40\55\43" "\367\163\10\323\210\235\73\356\341\352\121\252\310\344\75\107" "\34\52\157\233\306\235\141\207\64\227\252\31\141\20\261\131" "\27\65\113\236\135\245\134\122\342\102\233\202\0\121\5\77" "\12\352\220\156\101\30\151\340\222\226\106\60\155\273\150\215" "\221\60\212\75\366\176\57\55\320\12\61\233\273\116\106\40" "\170\360\44\14\120\145\135\107\333\64\164\63\140\352\65\204" "\121\156\260\103\247\275\252\31\141\30\170\346\52\340\370\124" "\151\212\355\23\55\315\143\242\125\304\211\146\163\334\76\326" "\301\263\271\167\131\204\364\64\75\4\202\230\61\376\301\322" "\106\146\120\352\310\334\106\200\10\174\264\151\225\163\177\213" "\10\223\327\65\177\231\214\176\13\227\313\123\365\175\323\344" "\326\224\213\7\73\277\153\61\235\30\267\271\73\26\43\60" "\75\71\251\120\142\27\255\63\354\227\162\315\264\352\120\364" "\166\136\160\231\176\316\121\142\332\360\37\102\264\14\357\223" "\340\33\36\121\66\113\22\46\353\11\126\5\76\200\236\371" "\52\300\4\315\212\357\202\31\236\167\10\107\262\253\244\255" "\67\336\75\23\65\144\326\151\127\300\232\113\154\166\73\77" "\50\43\64\43\222\271\121\341\341\23\176\144\210\375\2\373" "\345\316\260\210\44\264\212\354\132\277\55\73\313\7\353\230" "\303\34\12\34\66\13\0\200\105\340\377\253\112\303\116\5" "\261\273\107\275\35\77\130\143\162\356\61\340\55\34\134\172" "\157\77\103\124\211\155\50\27\207\146\204\104\324\172\214\21" "\252\50\175\354\303\25\151\224\225\246\105\207\34\43\216\145" "\301\176\231\253\342\27\315\63\61\257\312\325\336\342\356\22" "\204\13\371\33\250\46\341\156\151\14\160\213\160\305\131\225" "\213\150\220\37\64\275\367\114\237\111\340\334\217\302\10\54" "\256\216\341\327\114\71\250\102\162\364\53\44\64\152\204\126" "\0\145\141\133\220\230\204\247\177\362\124\302\111\255\2\215" "\363\65\104\336\232\172\76\5\177\147\337\161\261\17\342\7" "\34\2\175\72\307\313\301\62\154\305\271\364\350\17\71\377" "\56\305\161\125\22\124\222\243\332\273\25\175\116\325\376\106" "\7\361\142\241\111\301\136\374\374\376\72\321\261\206\347\237" "\344\61\101\310\277\331\65\350\310\163\370\214\165\132\313\241" "\230\140\140\376\137\317\143\306\37\330\114\131\341\170\332\266" "\167\67\331\61\30\241\205\374\142\13\326\20\124\201\34\124" "\315\10\255\310\336\130\331\265\54\270\254\216\347\140\327\141" "\52\150\176\120\33\371\305\370\313\200\346\155\344\230\256\105" "\237\373\303\320\261\157\45\0\204\52\205\323\7\154\66\54" "\323\254\134\277\340\350\74\0\144\14\217\301\10\61\347\55" "\23\324\150\133\42\366\231\352\132\140\262\252\235\261\141\344" "\54\246\5\122\236\14\236\10\341\54\153\40\26\235\137\326" "\315\321\10\164\142\147\21\246\335\346\363\36\1\374\13\353" "\32\341\47\34\256\265\215\366\243\122\32\170\62\146\364\357" "\343\52\40\310\70\271\265\164\220\265\112\37\41\364\254\7" "\221\270\147\160\321\331\254\200\270\256\304\324\320\1\167\165" "\314\0\240\211\323\15\230\102\114\344\352\347\370\11\27\366" "\236\324\6\323\212\264\237\57\260\226\342\227\164\163\356\41" "\324\151\256\267\305\236\126\166\107\234\343\160\310\44\75\66" "\60\360\373\121\261\141\303\70\340\57\306\206\302\23\132\377" "\122\306\67\155\125\114\120\172\41\267\130\217\21\32\302\15" "\232\143\312\154\236\355\335\23\156\116\305\1\257\63\207\236" "\15\143\103\220\351\23\134\304\27\221\3\277\300\272\316\202" "\31\222\127\25\237\55\43\311\11\362\373\233\76\41\134\340" "\77\50\251\215\147\146\172\334\242\372\361\117\145\64\301\373" "\200\46\240\177\62\12\110\375\233\2\115\167\5\27\157\70" "\210\151\64\224\203\326\31\141\13\270\42\13\332\370\157\163" "\210\212\46\124\137\366\327\304\141\12\111\142\304\76\102\176" "\271\44\323\251\171\41\165\14\314\240\104\273\314\221\354\204" "\65\227\1\141\67\54\140\314\324\176\367\177\340\312\114\17" "\271\132\302\4\241\240\331\123\304\137\274\56\140\160\346\37" "\15\353\146\4\366\372\371\315\44\76\35\32\235\21\266\20" "\117\237\55\121\102\243\134\233\166\321\67\70\316\72\213\34" "\330\14\56\321\56\317\151\276\226\237\237\326\300\10\355\2" "\77\353\61\242\15\72\5\266\62\213\213\376\104\371\166\61" "\125\153\343\217\130\303\244\55\157\137\34\5\234\105\20\245" "\156\11\372\144\43\345\306\266\16\356\66\114\160\1\67\201" "\206\123\146\102\43\123\231\367\317\1\326\103\101\76\230\324" "\166\143\207\161\254\46\124\154\31\23\32\222\315\121\256\375" "\234\263\350\212\331\307\166\367\125\150\262\24\16\262\214\65" "\107\143\103\204\120\226\357\65\342\75\140\71\167\372\7\216" "\63\17\242\157\364\363\316\73\253\5\342\145\275\155\373\35" "\65\21\63\344\107\363\331\347\51\332\227\167\37\73\366\34" "\233\143\230\176\300\245\24\307\16\235\163\257\22\361\366\231" "\213\163\314\311\233\44\146\26\343\334\7\314\216\37\310\117" "\360\243\215\73\207\253\274\32\124\304\10\44\350\220\220\140" "\52\367\123\304\371\214\41\155\17\246\11\36\216\164\326\314" "\22\270\14\40\165\137\214\11\102\277\307\231\316\4\20\246" "\302\304\355\210\77\324\262\337\233\107\316\151\147\215\160\215" "\165\145\325\31\134\336\307\137\71\122\205\135\26\374\332\332" "\346\1\175\200\262\132\201\176\101\32\261\323\373\71\347\306" "\240\325\104\30\253\12\106\130\40\334\336\236\216\344\217\34" "\223\303\167\256\311\324\237\120\276\125\114\35\146\50\245\172" "\103\244\372\14\256\313\111\26\141\2\126\346\75\233\71\307" "\237\177\366\314\303\226\167\117\214\165\5\253\15\233\73\20" "\312\225\241\100\175\161\214\277\26\60\301\73\354\337\230\367" "\220\216\333\42\202\154\261\276\266\27\171\27\232\110\314\367" "\251\142\30\170\212\227\221\123\316\170\13\15\107\41\362\366" "\133\200\171\350\257\175\75\202\103\314\305\371\326\376\360\26" "\152\202\373\0\241\162\226\6\273\31\316\344\147\63\71\47" "\355\145\264\300\146\56\31\357\46\130\66\334\334\201\11\76" "\302\345\25\335\25\230\103\15\270\246\123\155\274\216\325\24" "\251\276\10\20\45\115\274\66\136\146\240\362\235\173\160\205" "\63\373\62\277\237\275\73\23\142\36\107\244\355\77\114\153" "\47\1\273\73\324\346\345\20\213\246\343\307\200\257\65\22" "\246\16\151\202\153\143\354\236\370\242\137\20\217\161\60\55" "\204\63\325\6\162\226\55\270\16\170\73\61\2\35\343\201" "\175\120\221\117\220\310\213\277\26\46\320\113\103\304\236\144" "\33\20\6\233\232\201\367\323\144\276\52\122\262\331\115\203" "\14\160\33\41\346\163\61\71\164\261\165\344\76\75\245\366" "\131\75\243\205\167\336\131\221\250\377\212\234\65\347\47\377" "\356\61\117\14\30\10\371\117\154\210\300\372\221\216\230\225" "\253\155\31\341\332\143\202\157\36\104\32\222\252\157\354\167" "\132\170\175\213\204\314\212\56\226\4\146\336\41\77\143\63" "\245\241\51\277\337\330\223\11\130\374\376\50\14\160\27\101" "\76\130\24\304\236\77\212\246\160\264\326\303\221\316\162\0" "\227\62\321\362\174\25\366\277\215\5\130\151\201\14\74\137" "\355\333\26\132\115\313\143\173\42\270\126\352\43\225\41\122" "\22\164\127\66\377\11\361\240\321\76\163\20\62\371\223\5" "\46\113\270\364\146\35\115\253\303\46\22\371\235\226\174\56" "\45\366\56\4\331\66\7\237\351\330\124\265\163\371\223\211" "\171\154\307\302\336\245\54\305\244\155\237\171\16\233\166\317" "\320\177\263\227\47\141\130\232\141\105\1\72\302\220\27\336" "\131\352\150\255\103\367\63\142\55\301\273\0\172\226\232\166" "\372\36\21\246\276\71\344\113\371\155\337\145\141\314\3\273" "\323\216\371\254\354\257\224\113\250\14\160\151\260\354\26\256" "\143\163\236\11\365\1\345\212\100\224\330\331\215\142\12\67" "\55\75\365\314\203\225\20\67\13\175\224\310\32\330\354\174" "\334\26\251\316\164\353\206\70\116\115\344\27\301\353\124\226" "\63\221\322\113\71\304\251\354\235\132\102\175\203\26\136\146" "\213\222\71\123\171\136\52\357\267\102\371\146\134\203\210\71" "\364\154\2\353\371\300\114\240\3\76\102\0\311\304\150\350" "\26\341\40\45\255\211\367\250\66\246\104\230\231\340\15\3" "\155\143\0\151\222\363\62\67\266\31\365\11\76\27\240\15" "\27\346\250\15\112\60\300\104\244\351\30\57\133\375\145\25" "\113\247\114\114\36\45\360\256\330\363\35\141\340\262\132\144" "\42\266\350\223\330\236\131\316\331\126\365\156\135\161\214\165" "\75\231\71\164\214\110\61\323\150\316\75\46\340\330\247\130" "\312\4\205\306\215\110\355\330\171\377\157\354\36\0\354\141" "\75\322\370\302\366\364\157\0\167\255\34\333\354\203\100\244" "\337\121\234\305\167\51\176\104\336\32\301\25\173\307\352\202" "\253\226\140\251\347\350\372\104\251\76\1\43\310\135\221\346" "\135\304\243\227\72\257\367\35\134\143\131\62\372\252\246\167" "\353\230\240\362\231\340\121\64\301\241\141\147\232\102\276\65" "\100\223\372\133\16\270\302\176\271\171\271\150\330\303\324\125" "\230\366\53\134\360\355\55\200\131\150\116\330\33\61\155\126" "\306\4\237\13\314\241\241\161\331\300\173\26\2\222\352\117" "\34\57\220\123\126\265\147\142\116\221\31\330\302\245\114\27" "\156\277\313\133\225\115\256\224\150\76\170\122\167\154\22\356" "\220\23\101\233\102\120\127\1\63\163\136\200\164\321\274\173" "\147\264\127\104\344\13\0\377\247\200\206\264\155\315\62\362" "\175\6\205\333\0\156\233\1\163\350\167\161\214\157\115\23" "\24\125\151\375\46\150\305\203\135\170\333\173\251\324\16\344" "\36\257\143\261\35\13\375\226\7\270\246\136\43\270\131\314" "\300\313\352\74\226\224\366\340\106\240\166\304\57\330\227\41" "\150\103\167\74\111\367\351\300\216\161\33\156\6\306\271\307" "\4\234\167\367\311\350\50\215\20\44\307\212\151\207\104\15" "\150\206\320\267\330\254\351\104\204\362\173\21\130\276\203\115" "\101\305\314\334\256\302\175\72\344\72\63\115\360\255\300\34" "\142\276\10\203\67\367\46\361\127\170\131\365\265\102\161\112" "\363\317\276\126\202\32\261\237\347\104\40\315\126\204\51\230" "\150\170\46\132\163\327\262\307\41\334\34\146\56\106\132\357" "\16\304\4\232\165\374\316\323\220\332\56\77\26\364\123\164" "\361\203\7\371\256\354\135\376\64\246\156\341\145\3\5\302" "\312\41\355\364\26\256\331\262\236\367\70\140\56\317\51\244" "\232\36\374\166\46\76\301\347\2\254\266\153\277\243\114\240" "\230\360\71\136\26\124\67\21\210\352\275\322\105\215\241\135" "\236\351\23\44\162\61\276\35\315\251\65\75\321\16\351\26" "\22\330\207\111\71\204\374\7\352\17\226\61\112\313\100\351" "\131\100\132\77\13\123\56\162\374\11\346\15\15\20\56\304" "\231\213\146\350\170\176\107\26\141\372\6\136\116\156\155\11" "\342\347\17\24\141\67\302\1\57\212\120\27\260\131\124\123" "\304\4\264\351\236\354\167\306\302\155\103\117\152\45\142\56" "\215\160\234\10\147\235\114\101\155\301\361\267\123\270\136\73" "\252\336\31\154\363\347\277\25\341\343\364\337\374\224\145\336" "\327\252\346\167\144\153\305\367\10\127\340\321\11\245\243\236" "\26\150\64\77\312\254\322\376\233\234\5\333\147\236\171\32" "\367\41\40\120\33\21\147\233\40\310\22\57\3\222\113\152" "\4\126\130\235\211\143\63\56\140\202\367\302\4\23\201\352" "\62\317\216\355\6\314\4\72\234\223\3\134\336\261\326\122" "\120\243\147\361\47\174\304\103\207\144\267\220\77\257\201\21" "\332\256\207\300\375\205\172\153\11\70\33\371\243\335\173\77" "\140\362\162\54\356\155\216\266\157\11\262\230\67\276\52\15" "\370\24\163\321\106\164\204\307\1\242\156\12\250\21\142\344" "\16\136\16\40\374\317\170\131\72\311\75\270\240\103\232\43" "\25\76\30\221\63\61\355\23\136\206\357\331\253\262\23\221" "\154\334\354\22\365\64\214\375\231\64\305\134\234\354\271\247" "\31\225\110\70\371\147\205\227\261\232\206\240\62\211\60\133" "\235\60\51\333\244\160\76\333\131\4\21\142\372\107\36\122" "\325\201\113\276\34\224\100\334\102\343\274\130\313\302\106\12" "\53\1\55\164\21\240\210\275\123\63\240\261\226\144\4\226" "\275\261\266\140\25\261\17\171\50\55\101\51\356\43\322\353" "\32\233\251\16\176\4\227\220\144\263\100\22\376\52\213\101" "\67\136\162\333\323\20\214\166\63\263\227\322\216\165\334\357" "\74\301\362\3\365\45\321\261\3\304\73\204\313\103\311\0" "\177\331\237\105\231\6\277\243\174\32\176\2\67\120\320\7" "\52\226\160\163\352\32\2\124\204\234\360\130\327\21\246\161" "\253\325\223\161\336\27\355\371\46\134\256\213\257\162\336\13" "\156\115\46\270\313\121\343\132\47\312\74\370\6\136\366\247" "\124\317\176\366\13\153\7\275\320\261\110\320\226\107\40\104" "\73\316\340\312\54\157\74\147\221\366\370\244\242\75\45\2" "\45\276\207\113\331\360\65\27\7\235\160\34\357\54\347\171" "\135\143\244\217\330\276\100\211\346\126\26\60\71\131\42\314" "\66\235\217\1\323\352\2\361\214\147\372\30\33\301\116\205" "\117\7\160\371\71\314\201\151\210\231\303\232\202\31\134\256" "\110\26\371\240\13\270\336\104\264\145\377\145\27\350\267\130" "\344\241\135\10\222\262\313\224\311\327\252\41\146\330\214\154" "\363\136\172\366\325\365\44\62\123\227\253\232\120\232\210\340" "\172\233\103\104\143\70\110\75\317\31\46\226\377\116\374\104" "\175\347\173\261\72\102\263\40\10\46\204\32\46\120\123\366" "\304\127\171\362\176\56\25\315\332\310\361\127\346\52\110\232" "\302\201\164\64\72\202\171\237\31\101\137\303\245\256\122\32" "\24\15\315\323\246\130\72\102\210\210\121\150\276\200\42\51" "\164\36\323\137\230\31\230\362\101\340\240\347\21\175\314\226" "\56\2\64\312\300\240\135\270\130\0\333\53\372\204\311\316" "\171\114\273\277\57\60\203\70\42\353\67\263\323\233\1\310" "\223\176\315\235\330\375\355\300\376\236\42\40\0\205\344\231" "\175\136\310\202\141\123\352\116\316\373\263\31\132\252\214\300" "\312\253\206\20\41\73\61\220\140\27\166\1\337\12\230\200" "\351\267\352\271\77\211\51\300\314\315\51\134\342\233\217\244" "\364\355\105\231\270\105\55\361\253\232\115\104\231\322\210\123" "\252\213\301\263\135\64\46\63\103\57\305\344\212\65\377\232" "\303\345\7\75\344\40\123\324\146\144\252\33\304\313\130\277" "\170\350\242\126\221\165\75\177\111\213\237\102\332\224\232\207" "\10\344\42\140\102\345\225\312\222\331\26\300\313\171\124\314" "\263\147\127\65\136\320\235\300\143\131\211\303\36\170\166\41" "\347\31\57\75\111\370\144\377\27\143\210\256\275\314\120\30" "\362\127\65\233\130\104\223\40\277\25\314\324\354\342\262\101" "\111\42\122\214\342\176\20\101\345\303\271\251\335\67\63\215" "\131\57\220\247\225\31\140\363\255\0\12\256\304\63\221\175" "\351\315\234\254\25\66\133\327\257\20\237\303\306\24\11\366" "\172\132\142\63\243\225\337\357\42\336\202\247\151\277\63\105" "\100\22\220\31\36\215\370\37\260\333\150\320\246\207\25\267" "\21\36\356\315\377\33\11\126\354\227\67\46\342\100\16\305" "\227\140\142\334\257\306\24\63\270\106\277\111\316\317\314\42" "\122\216\111\201\44\376\67\106\370\227\160\361\212\44\142\242" "\335\141\263\22\56\117\330\235\171\216\265\76\227\276\0\237" "\323\26\132\33\343\145\260\126\205\160\133\114\264\247\34\115" "\264\262\347\234\33\261\373\235\313\131\337\61\314\321\120\43" "\373\334\54\157\374\20\341\252\242\311\61\261\115\236\211\243" "\304\140\110\212\360\64\27\152\36\276\70\45\125\63\300\140" "\364\141\56\5\173\157\243\170\146\362\153\131\51\334\24\317" "\44\42\144\206\2\72\120\100\120\163\136\301\115\231\271\202" "\153\135\37\112\137\146\41\321\67\344\227\202\372\300\6\153" "\6\256\360\262\273\6\233\274\161\120\73\11\237\75\241\226" "\10\307\76\350\10\323\124\352\31\255\214\12\0\207\246\355" "\43\303\313\11\76\174\227\130\327\21\6\75\263\146\315\227" "\251\211\167\15\221\162\213\10\42\300\40\311\23\134\231\142" "\53\162\211\264\53\207\366\305\241\343\135\221\116\113\34\157" "\322\374\256\213\332\364\334\63\63\324\171\246\140\271\20\46" "\270\260\257\201\40\115\171\32\345\321\30\340\33\134\373\223" "\74\263\267\55\346\325\33\117\143\321\214\371\12\127\130\257" "\155\126\50\374\56\214\51\107\210\247\360\60\277\210\351\360" "\223\202\175\261\13\41\63\43\146\1\137\47\15\60\3\115" "\321\7\240\336\51\354\54\126\151\172\227\314\213\132\346\34" "\6\125\45\67\272\20\102\150\346\230\4\44\216\63\323\30" "\347\242\226\133\242\65\176\126\346\150\301\345\23\265\74\260" "\141\31\360\243\370\356\171\215\101\353\202\141\0\0\26\312" "\111\104\101\124\2\50\140\110\374\337\5\376\36\225\0\76" "\330\55\357\67\63\205\174\264\217\76\305\267\0\224\251\173" "\140\53\314\241\20\141\126\160\377\163\24\217\343\242\345\162" "\156\367\357\233\136\251\74\213\243\175\31\361\377\317\100\302" "\272\10\42\61\311\361\173\201\124\372\121\102\35\163\61\274" "\76\20\163\240\250\135\174\46\32\150\341\61\330\102\354\314" "\45\66\33\0\34\232\370\325\334\13\41\35\377\266\75\206" "\212\331\375\367\325\306\7\13\61\67\130\137\135\166\220\111" "\307\366\302\16\334\155\117\3\214\115\110\335\157\341\77\136" "\0\370\247\275\363\37\45\301\227\262\160\360\133\243\267\133" "\173\166\32\201\167\257\214\216\306\220\250\170\122\343\345\376" "\156\222\315\347\114\35\103\113\54\367\176\13\207\274\41\246" "\1\321\244\36\312\217\165\315\104\245\56\260\231\116\115\11" "\104\11\312\224\352\24\325\324\123\67\305\324\323\32\351\201" "\250\356\44\340\77\375\33\156\204\252\137\225\246\320\153\206" "\315\116\30\123\224\117\310\143\164\271\57\246\131\154\100\312" "\275\230\100\351\226\164\361\321\336\201\55\33\237\167\24\264" "\131\340\331\377\155\373\376\3\341\336\251\10\230\233\377\371" "\345\272\240\300\136\0\373\276\267\377\277\206\13\341\323\256" "\275\64\11\163\127\240\16\231\277\117\64\113\247\326\63\125" "\244\205\160\324\122\17\202\152\222\373\275\22\330\15\42\121" "\27\330\354\266\241\360\262\202\12\114\350\322\372\202\26\134" "\107\274\246\20\133\333\363\145\212\374\55\166\265\270\263\367" "\363\133\347\263\241\357\256\32\115\315\312\163\274\214\146\373" "\167\373\274\43\1\163\62\47\343\27\157\260\333\210\332\66" "\66\7\272\363\331\337\341\312\76\231\354\130\152\342\146\135" "\214\240\151\24\51\334\24\226\225\340\306\17\166\20\14\232" "\321\54\270\261\13\37\211\244\103\201\263\304\147\336\141\263" "\63\5\235\50\226\111\166\12\244\204\377\63\275\300\1\372" "\32\242\41\357\231\211\344\117\74\54\275\271\205\20\361\261" "\375\251\10\224\357\202\32\361\16\317\221\137\23\34\172\337" "\216\147\146\366\2\173\244\151\245\165\332\331\236\164\103\315" "\313\134\252\47\333\373\266\232\165\0\227\255\240\276\324\167" "\270\302\241\264\54\303\326\345\54\323\336\145\252\366\67\157" "\303\204\312\306\242\75\232\162\101\164\170\31\130\332\146\100" "\237\226\123\262\143\6\333\306\74\13\202\101\151\136\266\43" "\135\342\61\214\166\362\156\310\277\233\362\314\6\66\13\311" "\143\204\117\355\103\147\123\355\161\66\17\313\4\5\151\141" "\63\350\106\241\63\215\234\123\123\4\303\271\300\253\67\242" "\1\32\1\46\370\23\256\340\52\205\313\337\311\120\74\13" "\57\117\303\235\213\323\335\302\366\123\206\164\356\335\330\73" "\113\246\155\134\301\145\232\56\216\305\10\347\160\251\260\317" "\160\363\305\102\104\73\26\346\121\102\153\213\37\60\14\340" "\325\145\245\53\17\207\41\373\147\270\241\331\43\63\257\170" "\21\113\161\242\125\322\47\25\371\123\231\230\116\144\130\42" "\143\77\354\153\340\331\346\17\170\131\364\304\250\251\366\140" "\352\113\314\100\141\145\102\253\32\134\273\360\174\222\54\240" "\35\27\130\247\131\123\53\214\204\0\111\274\273\26\4\61" "\376\341\367\42\115\267\70\107\326\70\114\274\175\320\204\35" "\302\5\20\307\105\64\123\207\151\304\124\153\166\242\233\27" "\154\202\65\267\75\273\250\220\75\110\137\202\10\310\130\142" "\15\253\55\17\320\317\163\201\110\71\115\365\150\210\37\321" "\360\354\373\246\60\10\35\137\335\107\123\342\30\113\154\326" "\46\263\241\57\273\371\51\176\337\366\264\101\354\374\246\166" "\146\64\157\370\231\227\366\225\172\373\213\331\353\332\203\251" "\143\246\312\231\247\345\26\362\363\137\154\177\67\366\65\331" "\221\31\10\161\222\21\257\344\235\174\311\357\373\135\274\307" "\61\134\355\263\372\31\231\230\133\37\340\372\76\175\106\116" "\242\142\135\76\202\112\252\62\71\363\54\10\72\53\200\7" "\331\154\353\102\244\301\110\20\222\351\216\16\143\52\227\275" "\54\320\236\251\20\77\104\173\64\204\371\127\236\71\225\242" "\134\204\276\355\335\311\52\147\77\43\323\264\277\7\356\261" "\310\34\233\330\357\76\302\165\323\40\1\161\250\37\341\323" "\271\167\76\144\300\113\270\272\210\242\130\104\32\140\344\31" "\134\36\20\207\376\75\173\364\222\301\345\13\335\171\237\303" "\66\233\227\106\354\167\336\347\334\12\0\300\241\203\14\36" "\356\75\50\244\254\107\317\332\5\246\155\227\161\342\26\42" "\341\222\2\350\223\322\112\223\362\374\0\132\23\233\343\151" "\253\60\153\62\117\375\152\317\322\245\304\44\126\362\265\104" "\161\120\210\114\376\26\233\235\353\226\166\176\313\310\176\46" "\302\210\355\222\357\71\303\146\145\231\137\310\76\306\313\332" "\162\77\263\63\203\13\140\55\21\357\61\304\112\305\45\136" "\326\14\350\360\106\232\302\151\300\14\134\231\306\70\307\146" "\20\66\23\250\67\266\317\25\134\12\116\107\174\321\27\132" "\266\16\106\320\62\315\61\212\163\330\175\102\213\45\111\161" "\20\66\363\330\265\30\236\22\272\147\7\103\246\70\27\233" "\226\116\354\312\263\205\217\275\32\160\11\154\376\204\33\252" "\370\254\300\314\30\211\237\323\51\270\127\372\43\151\216\166" "\324\51\236\241\41\346\63\101\372\330\2\150\46\102\207\235" "\357\76\12\62\64\17\40\213\176\357\253\120\161\175\46\314" "\160\51\373\43\172\165\41\316\276\337\35\305\117\307\156\213" "\17\246\120\174\55\214\300\304\57\326\224\336\155\141\303\257" "\274\215\352\342\10\324\47\161\60\147\342\200\152\156\15\45" "\144\117\140\72\152\16\306\55\332\42\51\150\276\64\120\175" "\3\342\220\26\156\333\73\136\301\25\265\373\235\35\70\136" "\265\314\250\332\245\370\116\54\260\112\162\204\311\143\111\344" "\215\350\335\324\333\7\1\210\201\234\161\133\374\7\246\172" "\123\113\215\361\262\266\240\41\320\266\236\115\23\256\303\270" "\276\137\152\367\170\41\26\4\73\355\321\237\133\4\120\44" "\232\140\75\371\334\236\150\264\76\200\101\253\6\351\106\73" "\67\23\214\37\133\60\302\30\57\173\150\116\260\331\124\200" "\317\145\236\13\43\313\44\364\116\0\5\321\146\276\20\147" "\166\41\246\316\114\120\43\112\236\145\100\335\46\142\373\246" "\362\356\211\347\163\264\74\7\273\41\161\16\46\10\66\43" "\146\342\127\204\353\166\213\314\313\357\142\62\304\114\243\262" "\16\355\275\21\365\133\274\54\224\347\331\267\5\301\111\275" "\330\12\127\137\114\125\145\364\51\136\16\120\77\63\320\144" "\342\71\300\217\160\355\105\177\23\32\151\310\131\277\201\324" "\30\310\235\361\114\72\236\177\174\151\347\224\126\315\10\331" "\16\216\62\2\216\324\2\233\265\256\23\344\47\350\215\4" "\12\175\266\113\71\313\301\240\341\21\52\74\137\142\45\32" "\42\25\346\240\266\120\233\127\313\135\63\61\323\32\342\54" "\67\20\317\242\365\327\34\361\176\241\15\154\346\366\353\360" "\24\246\205\260\246\174\20\60\61\23\154\127\277\361\44\304" "\162\203\227\263\61\230\51\360\16\371\171\137\264\323\27\1" "\177\344\115\100\143\336\10\314\255\46\333\17\321\354\303\300" "\131\236\331\136\374\6\165\217\366\254\167\1\301\223\0\150" "\326\241\21\172\262\361\151\204\20\263\2\102\230\141\63\62" "\75\335\302\341\146\53\300\177\346\370\32\363\0\102\223\4" "\124\264\232\62\105\2\40\331\122\140\254\2\360\46\141\301" "\37\1\154\237\331\274\14\44\51\104\115\7\226\151\5\34" "\265\352\153\326\144\113\244\220\71\113\114\353\230\171\304\251" "\32\350\274\0\10\350\170\146\113\52\360\167\250\356\204\351" "\27\123\157\77\337\104\253\206\326\245\150\53\5\67\156\155" "\237\227\171\220\140\325\216\162\133\374\203\105\0\132\35\40" "\36\55\146\320\146\40\204\173\267\205\166\141\265\25\73\35" "\44\336\101\176\262\257\261\110\252\42\163\55\53\200\43\267" "\141\2\26\257\260\137\51\344\135\23\317\206\247\63\370\21" "\156\16\131\137\34\342\206\60\52\121\221\53\171\357\126\140" "\337\123\154\227\47\164\51\246\15\347\33\257\2\50\122\136" "\367\72\72\262\223\200\237\160\36\271\203\216\10\301\324\143" "\276\106\216\37\324\22\372\363\323\261\331\354\72\71\24\43" "\320\341\361\261\337\6\334\114\266\125\116\200\103\241\265\155" "\40\330\20\32\243\146\304\127\223\140\234\330\256\155\4\103" "\16\50\233\25\314\3\366\74\233\134\175\23\47\265\314\364" "\320\157\160\235\34\146\2\105\362\331\337\355\22\333\342\110" "\17\121\276\71\26\211\250\213\160\104\234\16\163\136\25\32" "\321\225\53\271\117\246\277\154\14\341\23\1\103\106\314\113" "\273\17\45\330\365\21\36\56\223\210\71\65\361\10\172\41" "\176\141\14\302\147\117\336\314\323\302\327\41\272\257\322\64" "\242\4\352\140\163\266\0\2\1\22\366\117\175\16\230\117" "\32\205\155\330\1\356\322\75\173\2\327\107\11\160\171\107" "\53\317\41\134\5\316\201\35\301\77\331\337\37\340\72\375" "\361\373\176\133\233\31\200\377\52\20\56\154\202\260\364\10" "\223\105\67\152\26\376\36\60\155\62\211\133\254\174\73\27" "\341\61\267\10\230\130\355\34\247\231\263\305\206\1\346\147" "\43\342\221\107\144\251\200\26\303\34\41\331\106\270\150\46" "\266\70\364\157\344\321\311\324\356\347\14\361\172\344\153\361" "\63\64\103\165\212\100\362\145\325\76\202\357\50\147\1\15" "\324\227\3\367\43\227\176\114\1\330\275\373\35\363\213\56" "\344\300\103\145\174\61\46\372\346\241\26\43\261\147\71\362" "\165\351\71\144\243\2\264\346\153\1\123\57\105\110\134\7" "\316\144\54\360\361\114\160\362\216\110\361\13\304\353\10\40" "\320\355\74\162\77\34\337\224\147\357\277\13\110\152\106\272" "\273\21\315\110\1\350\373\11\343\210\237\100\72\32\32\363" "\375\345\355\367\301\210\374\115\344\167\371\56\354\232\227\12" "\114\376\342\276\353\140\204\114\270\326\167\214\375\124\337\41" "\302\75\163\174\164\141\27\215\260\222\347\262\143\101\250\237" "\176\310\54\272\17\230\142\231\134\130\250\315\10\115\206\120" "\205\31\233\133\215\162\210\123\41\275\53\357\373\317\306\170" "\17\21\23\161\56\304\161\147\276\304\65\302\151\347\264\313" "\103\165\303\155\344\317\57\323\173\273\361\210\223\31\251\154" "\357\22\22\272\235\210\200\230\43\336\166\5\366\131\214\35" "\351\347\335\26\70\352\147\146\206\267\5\176\355\5\140\342" "\57\125\62\102\127\154\63\342\361\241\52\42\277\21\160\53" "\300\10\114\33\130\141\367\311\62\231\147\152\115\43\173\16" "\21\125\110\233\45\362\156\241\357\147\202\175\67\3\32\46" "\66\315\106\43\301\176\367\12\246\34\174\102\271\271\150\224" "\260\204\121\337\105\10\354\334\10\343\41\360\373\253\34\155" "\245\220\363\33\333\333\203\167\157\204\70\175\177\101\47\232" "\256\274\337\231\26\370\27\64\221\346\236\106\141\27\276\116" "\16\212\64\300\172\224\24\73\221\167\75\23\353\13\200\373" "\106\205\214\240\370\366\62\160\240\111\100\342\264\43\166\254" "\117\104\41\265\327\336\142\157\263\310\5\207\52\304\142\101" "\100\372\100\253\34\373\172\22\320\136\204\356\46\71\66\271" "\237\103\245\232\340\63\266\237\225\114\202\374\234\43\0\56" "\42\304\76\213\230\231\137\260\56\31\145\7\156\46\312\265" "\3\22\366\173\104\213\367\2\132\41\324\357\212\15\273\324" "\132\240\26\362\175\46\366\340\52\3\353\167\275\263\375\323" "\356\246\322\200\132\123\136\62\166\240\335\300\357\204\44\53" "\377\177\21\261\343\31\175\144\67\344\161\204\170\265\170\177" "\25\70\234\166\300\117\12\21\172\42\50\314\54\307\267\230" "\303\165\113\40\203\75\345\240\64\114\34\14\11\44\72\204" "\117\73\336\7\113\73\333\130\317\142\116\274\167\277\24\204" "\312\47\312\245\167\56\17\346\337\244\366\56\43\203\163\57" "\354\36\174\302\277\27\247\73\361\44\173\57\40\24\370\231" "\154\352\165\153\367\312\74\241\17\342\53\74\143\163\24\1" "\63\227\257\120\176\310\375\243\150\331\377\34\110\125\210\221" "\136\350\64\340\224\44\1\230\54\157\40\11\237\223\105\44" "\313\225\331\242\377\215\227\343\224\174\315\22\223\362\275\55" "\264\107\137\244\176\222\103\174\272\147\6\370\346\45\264\250" "\377\234\207\200\351\262\213\171\170\33\61\253\330\4\270\31" "\40\112\137\3\145\330\114\103\377\141\204\264\20\204\311\27" "\10\337\2\76\121\73\347\314\251\375\376\202\233\314\112\250" "\367\57\173\26\353\17\72\1\115\374\210\342\250\71\231\346" "\57\177\157\125\61\102\346\251\370\151\200\130\102\171\65\213" "\34\242\112\42\216\62\315\42\155\47\171\31\41\50\232\136" "\323\34\165\31\62\157\222\200\215\112\130\270\250\27\250\372" "\17\117\310\37\367\232\104\154\333\245\20\303\276\153\141\317" "\12\21\311\25\136\246\242\204\230\167\340\21\37\35\343\357" "\160\361\216\20\161\372\131\256\115\117\133\352\147\376\1\227" "\144\350\237\27\147\62\314\114\13\205\206\216\74\243\270\0" "\214\363\346\306\41\142\250\142\165\344\5\27\21\107\71\44" "\375\322\210\311\322\20\311\222\226\224\344\131\304\24\133\105" "\354\363\130\261\372\74\147\357\145\46\373\114\304\311\277\105" "\176\5\127\47\342\353\124\75\206\167\24\331\7\315\27\177" "\17\217\236\371\301\16\332\76\141\321\164\143\35\164\10\51" "\273\367\356\260\215\370\20\301\274\305\364\161\300\225\234\66" "\74\255\222\346\370\210\237\114\23\114\143\116\104\25\113\321" "\240\105\100\212\47\1\370\54\213\370\22\231\374\334\64\142" "\66\365\162\244\260\17\5\306\112\105\103\355\136\226\221\237" "\245\26\132\241\270\64\221\210\131\231\164\347\30\144\70\106" "\265\313\157\32\234\311\173\204\340\132\146\154\76\313\373\137" "\7\114\133\376\234\232\110\111\200\131\46\1\77\141\27\70" "\374\316\30\257\3\67\320\122\313\112\103\201\321\47\321\66" "\313\74\157\272\52\107\131\223\344\142\216\262\17\247\205\372" "\337\323\144\231\107\30\301\227\344\154\52\233\6\76\257\125" "\200\140\265\3\7\27\163\224\251\21\212\322\230\311\4\337" "\120\74\56\66\144\46\150\37\243\252\226\137\46\232\210\357" "\300\41\335\375\200\263\376\125\336\267\27\101\211\236\304\104" "\172\37\60\365\330\205\143\41\2\252\277\7\103\77\312\375" "\376\303\174\304\267\366\331\376\230\203\173\103\206\212\4\122" "\145\221\345\216\74\53\226\22\321\307\146\226\146\254\53\62" "\237\25\63\213\332\202\75\263\146\331\317\333\47\361\266\43" "\146\101\254\307\121\250\365\107\346\71\312\145\326\217\22\252" "\276\35\201\217\353\350\315\232\172\50\32\337\205\71\102\254" "\50\363\323\227\357\341\46\251\22\240\230\172\114\256\215\307" "\56\340\6\206\353\367\211\42\275\313\361\315\312\372\242\104" "\10\151\256\336\4\314\62\316\354\373\201\162\205\115\225\61" "\302\100\16\231\155\275\323\202\113\177\216\110\127\72\302\313" "\34\377\341\121\124\162\254\36\230\335\30\102\316\127\22\221" "\112\241\275\267\104\312\225\115\367\50\223\40\330\100\74\362" "\133\65\43\44\10\27\16\335\11\201\336\10\332\223\172\166" "\176\146\314\320\207\53\322\171\362\4\310\127\371\376\310\223" "\302\114\327\146\240\55\24\130\333\306\104\232\107\374\14\226" "\225\162\312\117\351\330\113\25\246\221\42\1\253\210\44\367" "\353\150\211\144\314\43\46\13\13\254\227\201\27\115\355\105" "\31\274\312\42\214\311\172\333\111\4\301\152\107\16\70\266" "\367\45\266\153\64\126\106\10\165\43\167\322\254\230\31\102" "\263\321\230\373\303\367\42\64\171\31\261\315\231\61\333\15" "\300\325\154\3\171\13\27\150\153\5\374\236\357\160\5\365" "\203\75\350\55\104\267\163\173\376\37\333\62\101\125\32\101" "\321\240\105\304\54\152\172\227\376\220\143\267\365\105\222\207" "\366\273\50\241\356\56\344\147\103\304\33\262\315\227\71\173" "\147\372\361\242\102\342\364\307\54\1\233\145\245\155\354\336" "\100\253\210\351\232\142\127\267\74\377\353\3\136\316\41\246" "\371\63\203\253\167\70\17\230\244\267\160\345\262\67\170\71" "\164\122\173\267\322\314\132\154\361\16\14\340\365\3\232\374" "\273\231\140\363\135\17\150\337\245\52\76\213\110\171\205\102" "\237\315\203\237\107\210\356\54\7\362\44\161\347\125\271\261" "\241\160\43\7\61\12\45\200\305\42\312\364\131\146\145\355" "\315\222\113\301\205\61\66\253\256\6\366\125\25\43\370\375" "\242\362\372\300\236\31\63\374\25\70\17\346\61\265\42\2" "\206\25\144\314\15\232\141\63\50\110\251\335\67\24\152\54" "\220\150\236\6\30\300\215\277\152\7\200\211\357\373\42\155" "\125\60\202\166\225\16\245\37\60\244\375\57\361\41\226\5" "\27\66\57\100\115\262\234\367\141\267\66\104\340\316\6\342" "\101\235\42\107\71\215\330\337\131\201\32\367\211\246\55\220" "\63\313\53\225\21\330\273\363\261\2\364\210\163\262\213\234" "\120\255\177\276\266\263\373\22\140\206\125\201\155\317\114\331" "\217\342\117\314\75\146\372\201\165\42\334\73\344\217\207\322" "\316\351\72\67\171\45\317\171\300\156\331\311\225\63\102\337" "\163\224\103\204\221\241\270\74\220\16\154\63\142\142\61\67" "\50\217\350\56\345\322\131\262\271\212\20\267\137\147\74\211" "\150\273\256\110\263\230\131\30\143\134\6\314\36\13\120\253" "\147\270\72\135\72\266\304\367\157\367\270\233\4\341\14\124" "\35\352\276\24\123\250\141\204\327\23\44\346\13\266\33\44" "\271\64\2\145\323\65\132\0\276\231\165\3\227\46\375\131" "\230\241\1\127\133\34\312\37\142\344\373\26\333\365\113\255" "\225\21\164\142\174\126\102\222\27\355\205\1\231\74\351\34" "\113\102\273\206\353\260\307\275\205\152\42\72\1\215\300\275" "\147\21\50\67\346\110\263\45\373\217\10\143\136\345\230\200" "\75\271\330\221\235\341\130\264\131\313\336\147\206\335\242\314" "\254\46\273\361\336\225\155\132\246\142\243\23\171\143\66\356" "\107\217\61\77\157\311\14\104\211\10\313\262\371\262\346\140" "\75\11\301\267\114\262\117\340\162\240\372\1\200\205\335\50" "\236\120\161\357\251\175\31\101\123\4\312\244\37\24\331\261" "\103\221\344\241\213\75\213\60\102\337\210\246\357\35\134\214" "\270\33\21\263\50\213\70\312\151\304\251\153\346\110\155\326" "\374\376\117\16\40\300\317\356\11\63\352\367\316\260\16\32" "\175\301\166\75\216\164\26\133\333\263\341\363\2\114\214\24" "\263\135\112\103\64\303\247\55\175\26\246\151\260\343\335\47" "\317\52\320\166\225\332\254\41\124\143\75\266\63\176\250\30" "\260\250\124\43\250\4\336\125\33\64\304\301\315\42\146\112" "\127\354\350\161\100\133\54\3\304\35\163\224\333\201\337\217" "\231\76\355\34\107\271\57\373\132\172\357\303\206\127\253\34" "\107\231\317\370\57\304\163\160\316\215\31\325\34\10\231\237" "\114\143\31\10\52\323\360\316\343\13\212\243\254\34\106\242" "\55\143\10\207\176\336\102\73\61\203\226\155\351\1\327\170" "\170\205\227\265\27\41\270\230\5\115\324\26\265\165\40\254" "\312\64\342\345\357\312\10\354\123\232\104\354\172\225\344\355" "\310\241\57\2\377\27\213\50\307\46\303\304\40\316\330\236" "\70\354\302\317\261\147\153\302\207\210\226\121\310\271\133\322" "\341\175\157\302\202\175\213\346\170\71\117\102\247\337\370\355" "\43\277\226\100\150\24\336\346\150\47\356\223\203\67\276\33" "\161\226\161\120\211\62\261\47\55\133\317\57\341\2\236\10" "\150\200\251\151\223\373\212\221\272\132\235\145\155\363\327\302" "\366\275\103\331\277\262\53\352\71\57\151\57\326\264\313\357" "\237\237\347\147\204\34\345\220\204\325\111\64\241\175\163\77" "\75\171\157\216\143\155\106\366\20\143\146\37\301\311\74\206" "\245\23\311\316\162\163\221\254\255\310\271\360\34\310\4\145" "\5\25\35\336\56\66\3\154\3\254\273\153\14\121\256\150" "\150\345\235\263\126\211\45\21\155\304\111\235\223\52\320\240" "\103\61\2\261\367\216\330\360\317\330\156\226\227\146\77\306" "\332\300\250\343\332\310\141\4\205\0\147\1\55\245\203\100" "\374\13\10\25\256\164\204\230\102\351\36\115\41\20\62\2" "\307\61\245\221\367\150\170\276\14\367\355\217\203\245\343\374" "\26\233\45\245\111\111\115\302\316\33\337\167\204\30\47\342" "\360\266\75\232\271\61\146\140\232\365\334\173\127\12\255\163" "\274\214\40\373\40\5\143\106\14\262\116\160\204\265\57\43" "\260\124\162\0\67\61\336\57\245\53\162\220\375\176\224\261" "\252\264\276\107\114\151\204\31\264\156\72\344\334\246\1\46" "\230\344\70\312\253\34\107\271\47\357\361\336\366\305\77\143" "\15\314\264\100\151\146\147\305\326\206\376\200\355\107\223\272" "\234\102\331\103\176\132\14\333\77\216\205\260\166\15\312\145" "\160\135\61\336\41\134\254\364\301\204\330\30\233\301\313\266" "\370\117\255\34\41\312\175\262\161\157\212\43\255\175\31\201" "\231\205\304\214\173\130\7\112\350\334\55\12\374\202\217\236" "\304\210\305\42\264\350\77\211\60\202\42\104\53\221\262\105" "\176\303\50\40\205\22\321\10\13\24\27\366\264\215\50\264" "\227\351\34\361\362\320\104\10\375\163\216\264\146\22\331\10" "\322\302\134\220\45\235\357\306\62\321\147\361\41\366\45\254" "\14\156\256\333\60\307\177\351\312\171\307\222\6\63\261\377" "\331\40\154\134\27\12\164\14\37\201\151\271\135\261\1\377" "\151\332\341\326\163\354\350\324\135\230\344\354\5\244\363\262" "\0\362\214\115\206\121\106\210\215\217\142\263\47\266\130\244" "\372\17\371\22\103\61\261\142\35\31\362\316\62\144\156\151" "\67\353\24\345\173\66\61\65\145\204\315\66\350\55\154\6" "\306\126\65\320\310\330\320\246\6\362\23\345\362\346\265\261" "\15\13\231\164\327\356\205\77\65\43\20\145\340\124\165\22" "\10\247\251\214\105\365\67\21\236\222\31\163\172\175\63\5" "\71\216\246\62\102\43\102\24\124\367\53\173\336\4\361\166" "\47\203\34\107\331\257\233\216\231\215\171\216\162\266\203\331" "\222\311\173\345\265\225\251\172\321\307\170\57\102\44\57\73" "\226\204\117\204\353\250\146\317\41\31\1\330\314\133\37\310" "\363\57\20\356\376\206\34\224\43\144\246\64\267\330\163\42" "\146\103\110\63\24\245\173\364\260\31\50\14\65\20\150\25" "\110\360\31\362\353\40\262\143\71\206\73\232\110\34\364\167" "\41\347\103\255\104\277\204\43\254\126\170\145\253\112\106\140" "\16\311\324\64\303\245\110\314\262\271\365\41\333\77\303\146" "\341\117\202\315\261\247\352\107\250\151\324\300\156\1\230\6" "\334\144\373\145\304\206\55\252\262\212\15\111\321\72\210\122" "\203\260\177\262\305\332\4\336\101\366\32\211\76\166\351\125" "\113\216\61\326\231\246\321\216\1\5\373\151\5\320\42\177" "\322\146\73\142\256\370\315\244\166\131\204\375\24\106\14\375" "\114\273\300\64\230\107\30\41\317\207\170\55\53\253\321\47" "\171\365\32\301\227\34\137\114\125\62\334\337\52\241\31\132" "\346\127\50\221\370\203\44\102\123\137\24\345\331\227\21\316" "\105\332\307\10\272\250\370\74\106\344\332\131\157\327\346\306" "\247\365\212\30\101\155\161\6\113\156\304\111\216\61\4\133" "\171\23\12\144\230\277\345\151\215\146\100\223\234\171\377\356" "\140\267\50\267\166\177\233\104\314\236\66\362\347\40\204\142" "\17\254\22\323\222\326\354\104\202\177\17\106\40\121\74\230" "\166\30\212\363\34\263\261\7\130\47\241\115\21\156\123\36" "\162\124\65\261\113\315\220\356\226\346\331\265\307\120\41\251" "\335\52\60\213\164\370\240\317\254\203\2\37\342\264\176\141" "\106\120\242\272\207\313\103\277\20\4\242\31\60\175\206\71" "\216\50\303\376\72\130\243\31\261\365\313\6\226\374\44\63" "\126\142\205\142\1\375\2\77\47\144\362\134\170\46\327\342" "\104\176\177\117\106\120\15\361\14\127\152\247\32\242\154\343" "\47\166\110\46\234\167\26\41\310\33\373\231\42\270\264\213" "\160\224\73\344\14\16\121\334\227\207\250\125\52\317\327\26" "\205\223\137\311\321\374\25\126\363\210\237\115\350\115\307\41" "\115\204\210\223\34\137\202\76\301\125\0\121\362\31\235\203" "\15\227\21\355\62\304\272\134\360\72\360\75\266\234\127\55" "\303\146\127\111\201\171\104\142\357\332\357\160\232\343\22\256" "\355\371\151\235\30\341\5\341\60\32\311\131\144\32\206\157" "\11\161\52\241\26\241\120\14\140\321\111\155\210\264\146\272" "\64\173\357\47\21\355\305\164\140\72\362\327\45\316\215\14" "\330\206\103\315\230\126\301\321\262\47\215\360\23\255\344\47" "\337\37\341\106\16\333\356\303\345\377\357\342\243\20\251\321" "\51\224\171\261\224\5\134\125\30\65\120\173\307\167\341\254" "\202\257\250\276\311\357\151\375\342\214\240\373\144\321\13\347" "\145\61\320\326\102\274\60\245\112\277\46\301\156\1\110\232" "\177\54\265\74\151\202\237\160\375\177\245\167\327\120\325\233" "\303\223\0\0\0\0\111\105\116\104\256\102\140\202" }, { ":resources/png_error", 2608, "\101\0\0\0\12\0\0\0\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\0\0\0\377\377\377\377\377" "\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\0\0\0\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\0\0\0\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0\377" "\0\0\0\377\0\0\0\377\0\0\0\377\377\377\377\377" "\377\377\377\377\377\377\377\377\0\0\0\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0\377" "\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0\377" "\0\0\0\377\0\0\0\377\0\0\0\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\0\0\0\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\0\0\0\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377" "\0\0\0\377\377\377\377\377\377\377\377\377\0\0\0\377" "\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377" "\0\0\0\377\377\377\377\377\377\377\377\377\0\0\0\377" "\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377" "\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\0\0\0\377\377\377\377\377\0\0\0\377" "\0\0\0\377\0\0\0\377\0\0\0\377\377\377\377\377" "\377\377\377\377\0\0\0\377\377\377\377\377\377\377\377\377" "\377\377\377\377\0\0\0\377\377\377\377\377\377\377\377\377" "\0\0\0\377\377\377\377\377\0\0\0\377\377\377\377\377" "\377\377\377\377\0\0\0\377\377\377\377\377\377\377\377\377" "\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\0\0\0\377\0\0\0\377\0\0\0\377\377\377\377\377" "\377\377\377\377\0\0\0\377\0\0\0\377\0\0\0\377" "\377\377\377\377\0\0\0\377\0\0\0\377\0\0\0\377" "\377\377\377\377\377\377\377\377\0\0\0\377\0\0\0\377" "\0\0\0\377\377\377\377\377\377\377\377\377\0\0\0\377" "\0\0\0\377\0\0\0\377\377\377\377\377\377\377\377\377" "\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\0\0\0\377\377\377\377\377" "\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377" "\0\0\0\377\377\377\377\377\0\0\0\377\0\0\0\377" "\0\0\0\377\0\0\0\377\377\377\377\377\377\377\377\377" "\377\377\377\377\0\0\0\377\377\377\377\377\0\0\0\377" "\377\377\377\377\377\377\377\377\0\0\0\377\377\377\377\377" "\377\377\377\377\0\0\0\377\377\377\377\377\377\377\377\377" "\0\0\0\377\0\0\0\377\0\0\0\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377" "\0\0\0\377\377\377\377\377\0\0\0\377\377\377\377\377" "\377\377\377\377\377\377\377\377\0\0\0\377\377\377\377\377" "\377\377\377\377\377\377\377\377\0\0\0\377\377\377\377\377" "\377\377\377\377\377\377\377\377\0\0\0\377\377\377\377\377" "\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\0\0\0\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0\377" "\377\377\377\377\0\0\0\377\377\377\377\377\377\377\377\377" "\377\377\377\377\0\0\0\377\377\377\377\377\0\0\0\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\0\0\0\377\377\377\377\377" "\377\377\377\377\0\0\0\377\377\377\377\377\0\0\0\377" "\377\377\377\377\377\377\377\377\0\0\0\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\0\0\0\377\0\0\0\377\0\0\0\377" "\0\0\0\377\0\0\0\377\377\377\377\377\0\0\0\377" "\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0\377" "\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0\377" "\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0\377" "\377\377\377\377\0\0\0\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\0\0\0\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\0\0\0\377\377\377\377\377\0\0\0\377\377\377\377\377" "\377\377\377\377\377\377\377\377\0\0\0\377\377\377\377\377" "\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0\377" "\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0\377" "\0\0\0\377\377\377\377\377\377\377\377\377\0\0\0\377" "\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377" "\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\0\0\0\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377" "\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377" "\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377" "\0\0\0\377\377\377\377\377\0\0\0\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\0\0\0\377" "\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377" "\377\377\377\377\0\0\0\377\377\377\377\377\0\0\0\377" "\0\0\0\377\0\0\0\377\0\0\0\377\377\377\377\377" "\377\377\377\377\0\0\0\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\0\0\0\377\377\377\377\377\377\377\377\377" "\377\377\377\377\0\0\0\377\0\0\0\377\0\0\0\377" "\0\0\0\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\0\0\0\377\0\0\0\377\0\0\0\377\0\0\0\377" "\377\377\377\377\0\0\0\377\377\377\377\377\377\377\377\377" "\377\377\377\377\0\0\0\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\0\0\0\377\0\0\0\377" "\0\0\0\377\377\377\377\377\377\377\377\377\0\0\0\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" }, { ":resources/progress.png", 605, "\211\120\116\107\15\12\32\12\0\0\0\15\111\110\104\122" "\0\0\0\34\0\0\0\13\10\6\0\0\0\154\336\355" "\267\0\0\0\6\142\113\107\104\0\0\0\0\0\0\371" "\103\273\177\0\0\0\11\160\110\131\163\0\0\15\327\0" "\0\15\327\1\102\50\233\170\0\0\0\7\164\111\115\105" "\7\340\6\10\21\7\11\273\35\213\111\0\0\0\35\151" "\124\130\164\103\157\155\155\145\156\164\0\0\0\0\0\103" "\162\145\141\164\145\144\40\167\151\164\150\40\107\111\115\120" "\144\56\145\7\0\0\1\301\111\104\101\124\70\313\245\223" "\117\213\122\121\30\306\177\157\367\340\134\257\245\150\42\126" "\272\14\134\66\213\246\30\30\146\71\264\154\325\107\220\140" "\26\203\40\4\335\345\15\202\340\62\13\41\374\10\175\200" "\310\131\112\20\131\233\226\61\301\254\142\26\42\332\37\320" "\253\336\163\116\13\115\147\6\152\314\236\335\373\234\347\345" "\167\316\373\162\204\271\202\40\330\6\352\300\26\160\223\245" "\116\201\17\300\13\337\367\337\261\246\202\40\110\372\276\77" "\22\200\60\14\237\0\317\200\53\177\351\61\300\323\132\255" "\366\174\135\150\30\206\11\151\66\233\333\300\333\113\140\147" "\241\73\325\152\165\255\227\66\32\215\353\312\363\274\372\212" "\60\346\271\72\360\320\202\305\161\100\153\4\4\340\101\173" "\317\272\5\227\250\33\361\146\367\110\0\366\202\266\165\63" "\5\242\357\135\366\367\167\105\245\122\251\173\377\170\321\55" "\0\34\7\16\16\340\360\20\264\6\300\55\270\144\52\231" "\163\141\67\123\40\163\253\262\250\125\72\235\46\216\343\225" "\151\112\51\1\146\220\50\132\300\0\214\61\150\255\61\306" "\54\75\75\367\364\314\123\305\142\361\170\60\30\334\130\25" "\230\315\146\217\27\105\263\171\356\54\236\114\371\166\62\300" "\114\226\300\351\164\302\340\364\4\63\235\314\200\345\162\271" "\55\42\73\121\24\135\272\107\327\165\115\251\124\152\3\263" "\275\135\230\314\353\315\226\134\354\151\325\67\5\240\323\351" "\44\132\200\130\153\113\303\341\360\125\257\327\273\77\32\215" "\376\10\115\46\223\46\237\317\277\367\74\357\221\210\174\135" "\367\153\10\200\265\366\266\326\372\145\34\307\225\361\170\234" "\326\132\137\373\35\160\34\347\347\306\306\306\17\245\324\147" "\307\161\36\213\310\227\165\100\375\176\77\221\313\345\46\213" "\21\130\153\25\160\7\270\13\24\316\144\273\300\107\340\223" "\210\304\374\207\254\265\127\177\1\277\357\245\376\331\316\240" "\232\0\0\0\0\111\105\116\104\256\102\140\202" }, { ":resources/pushbutton.png", 1408, "\211\120\116\107\15\12\32\12\0\0\0\15\111\110\104\122" "\0\0\0\55\0\0\0\33\10\6\0\0\0\350\71\6" "\52\0\0\0\4\147\101\115\101\0\0\257\310\67\5\212" "\351\0\0\0\31\164\105\130\164\123\157\146\164\167\141\162" "\145\0\101\144\157\142\145\40\111\155\141\147\145\122\145\141" "\144\171\161\311\145\74\0\0\5\22\111\104\101\124\170\332" "\244\130\277\157\333\106\24\276\23\51\112\221\145\133\161\73" "\30\110\32\164\153\267\16\135\362\247\64\213\201\32\150\200" "\16\315\340\321\113\321\177\301\113\201\6\360\340\245\371\107" "\2\164\351\320\55\335\212\64\1\74\264\262\176\132\22\311" "\343\365\175\217\357\310\223\114\213\26\173\366\121\42\171\337" "\175\337\275\367\356\335\235\264\252\50\306\30\253\265\56\356" "\255\265\52\10\2\255\352\113\230\120\331\304\266\251\54\227" "\313\224\212\352\367\373\367\202\211\367\144\23\233\145\331\25" "\76\243\50\52\236\257\11\131\255\126\54\226\300\134\321\130" "\267\132\52\100\15\2\276\357\164\72\125\342\103\22\225\344" "\304\31\325\124\131\372\323\272\304\242\164\273\335\66\175\244" "\233\140\342\75\171\0\357\325\35\321\67\303\241\15\302\20" "\43\123\111\34\253\224\310\255\315\24\72\3\20\43\15\132" "\201\112\322\104\35\35\35\371\302\103\302\46\55\152\3\302" "\64\111\224\311\154\201\155\21\61\31\132\205\101\110\175\246" "\300\256\11\47\354\311\16\274\54\74\24\154\67\46\327\51" "\252\40\305\310\350\77\37\21\135\100\26\323\363\250\335\166" "\134\135\252\113\371\336\1\326\102\54\76\53\260\11\75\157" "\223\60\161\175\307\23\35\354\310\13\227\31\176\377\376\357" "\367\266\35\266\151\264\226\360\111\216\262\236\57\54\135\264" "\125\41\21\267\310\345\30\365\263\317\236\341\115\370\341\343" "\207\4\226\160\141\161\37\26\126\343\166\231\121\117\237\74" "\145\153\23\357\111\3\336\53\130\272\173\63\34\251\303\303" "\3\156\17\327\160\343\2\135\226\314\344\156\33\217\307\316" "\332\301\144\74\125\275\336\243\7\141\123\235\252\333\333\133" "\147\155\333\220\67\200\350\301\174\76\243\100\217\212\11\163" "\137\261\334\201\121\363\371\34\267\3\252\213\333\333\71\341" "\132\34\273\165\130\113\161\53\242\301\33\65\344\215\330\322" "\46\315\147\255\337\110\27\337\151\46\173\111\6\41\40\155" "\141\351\205\303\42\36\353\260\131\266\306\23\64\344\145\113" "\163\300\247\62\211\252\13\301\165\76\111\70\103\244\145\326" "\162\330\373\55\135\142\221\41\252\260\273\362\262\150\114\216" "\224\106\235\117\135\55\235\140\234\266\30\72\217\233\236\163" "\56\315\314\6\261\241\111\226\325\142\131\264\51\105\67\345" "\315\55\215\224\143\22\276\145\230\200\145\362\312\102\241\13" "\67\61\121\271\212\61\326\332\240\26\233\207\107\126\16\270" "\41\157\156\351\124\106\234\271\240\52\243\113\272\51\356\171" "\304\236\213\35\326\152\133\213\205\245\253\260\273\362\206\153" "\17\2\133\273\271\160\113\255\157\55\136\124\152\262\207\23" "\355\307\164\123\336\142\42\32\157\102\150\111\227\326\137\354" "\155\231\1\374\270\164\330\114\104\157\303\42\27\127\141\167" "\345\225\230\66\274\324\42\52\265\170\304\55\247\326\135\165" "\376\235\135\232\370\326\202\20\103\270\254\26\153\151\345\63" "\251\357\245\146\274\54\72\343\174\231\112\166\124\145\176\264" "\162\321\272\210\61\210\314\274\354\141\222\224\261\72\323\265" "\330\74\165\225\3\156\312\133\204\107\202\311\144\267\257\113" "\30\161\146\314\132\366\160\330\226\326\265\130\20\124\141\167" "\345\55\46\42\217\332\272\165\310\112\50\351\42\266\264\370" "\55\345\215\221\147\151\304\63\147\17\125\213\245\350\270\223" "\56\233\360\262\150\354\7\260\223\242\115\372\326\75\4\146" "\77\155\366\335\376\201\313\202\356\261\141\247\115\272\322\133" "\254\215\311\106\233\175\302\57\212\147\115\171\131\364\315\315" "\15\247\42\332\144\253\10\344\56\75\312\112\345\334\264\132" "\305\152\70\34\252\351\164\132\164\210\235\27\260\7\7\7" "\52\244\175\357\175\330\204\142\177\62\231\270\115\217\372\77" "\274\74\274\363\363\363\157\47\343\274\303\374\344\141\144\331" "\314\212\374\10\122\274\7\61\332\273\260\74\73\73\373\142" "\66\235\251\305\142\301\241\122\205\105\110\340\375\154\66\123" "\150\357\16\1\324\317\333\35\171\337\72\113\343\4\62\32" "\117\306\324\40\126\203\307\217\331\152\70\346\264\150\323\156" "\251\243\25\35\203\0\202\145\226\13\166\357\110\160\53\30" "\173\72\233\62\166\237\160\275\136\217\261\70\37\22\230\261" "\160\53\360\361\152\305\316\21\34\16\2\361\216\274\261\73" "\271\140\213\371\45\325\347\247\247\247\77\3\64\30\14\162" "\167\123\274\301\175\0\216\106\43\25\123\47\227\227\227\337" "\123\333\337\250\276\23\341\173\124\237\274\172\365\303\237\121" "\324\121\373\375\175\265\327\337\343\75\262\221\75\60\334\12" "\354\305\305\5\254\374\221\352\134\216\116\207\124\77\45\336" "\347\17\340\5\347\77\30\264\13\234\143\210\26\361\335\27" "\57\276\371\221\55\45\61\105\336\122\157\336\374\372\223\210" "\174\47\242\257\335\301\126\310\77\241\332\177\371\362\273\337" "\327\166\305\224\126\136\277\376\345\153\272\231\121\375\127\54" "\355\222\365\43\210\26\174\100\274\137\125\360\376\1\353\12" "\16\242\27\332\73\250\176\56\242\217\345\124\322\365\46\360" "\122\102\342\132\104\377\345\35\154\235\160\34\241\372\42\140" "\23\73\26\321\253\215\237\20\2\301\34\310\0\42\171\126" "\144\105\11\11\304\306\104\372\60\176\216\352\212\330\143\31" "\300\300\173\67\22\241\327\136\74\127\376\130\43\342\103\357" "\131\132\41\126\155\10\217\104\364\236\174\167\45\226\120\132" "\270\170\276\363\143\315\206\370\52\113\57\67\163\157\323\122" "\221\323\203\55\226\66\176\303\377\4\30\0\333\74\15\207" "\241\352\301\365\0\0\0\0\111\105\116\104\256\102\140\202" }, { ":resources/sidebar.png", 464, "\211\120\116\107\15\12\32\12\0\0\0\15\111\110\104\122" "\0\0\0\20\0\0\0\35\10\2\0\0\0\54\17\173" "\350\0\0\0\11\160\110\131\163\0\0\13\23\0\0\13" "\23\1\0\232\234\30\0\0\0\7\164\111\115\105\7\340" "\13\23\15\32\46\205\24\224\67\0\0\1\157\111\104\101" "\124\70\313\355\222\277\212\362\100\24\305\317\354\144\34\42" "\4\41\26\202\22\37\300\106\110\247\202\215\57\40\226\276" "\220\257\43\372\6\12\212\215\140\143\45\166\22\13\63\142" "\206\314\20\143\62\133\54\354\367\341\146\301\255\266\331\323" "\335\77\77\356\275\334\103\46\223\111\273\335\306\153\332\355" "\166\244\327\353\61\306\136\4\322\64\175\303\17\145\375\37" "\20\102\372\375\176\267\333\155\265\132\0\366\373\375\152\265" "\132\54\26\306\230\2\200\20\62\34\16\307\343\61\347\374" "\43\323\351\164\174\337\167\135\167\72\235\176\62\264\331\154" "\122\112\1\370\276\77\32\215\50\245\122\312\365\172\175\74" "\36\35\307\311\363\274\136\257\237\317\347\40\10\0\344\171" "\376\157\202\347\171\121\24\145\131\226\44\311\146\263\1\320" "\150\64\70\347\161\34\173\236\267\335\156\237\127\72\235\116" "\313\345\62\111\222\64\115\225\122\0\346\363\71\143\214\163" "\176\271\134\12\156\220\122\62\306\264\326\204\220\70\216\1" "\130\226\145\214\261\155\133\112\131\0\60\306\152\265\132\245" "\122\51\225\112\263\331\14\300\140\60\270\337\357\267\333\255" "\30\10\202\300\266\155\245\224\343\70\256\353\2\20\102\110" "\51\257\327\353\307\305\317\100\30\206\306\230\152\265\132\56" "\227\35\307\1\160\70\34\224\122\141\30\12\41\212\37\47" "\204\320\132\123\112\55\313\2\360\170\74\262\54\323\132\177" "\373\151\0\117\345\257\372\261\227\376\314\367\147\276\137\63" "\237\25\105\121\222\44\57\166\163\316\337\1\376\203\110\232" "\177\337\264\357\0\0\0\0\111\105\116\104\256\102\140\202" }, { ":resources/slider.png", 1433, "\211\120\116\107\15\12\32\12\0\0\0\15\111\110\104\122" "\0\0\0\55\0\0\0\17\10\6\0\0\0\160\176\106" "\247\0\0\0\6\142\113\107\104\0\377\0\377\0\377\240" "\275\247\223\0\0\0\11\160\110\131\163\0\0\13\23\0" "\0\13\23\1\0\232\234\30\0\0\0\7\164\111\115\105" "\7\342\6\10\13\37\16\373\33\1\36\0\0\5\46\111" "\104\101\124\110\307\215\226\101\150\24\131\32\307\177\337\173" "\365\272\73\155\47\335\41\30\246\23\101\304\203\220\233\207" "\10\36\234\303\350\56\13\313\116\104\26\57\353\145\101\4" "\127\204\75\357\141\157\63\347\1\311\30\34\301\363\170\62" "\316\145\140\306\113\216\43\136\366\20\20\4\315\140\254\101" "\215\166\52\225\352\352\252\172\357\355\241\73\225\352\364\10" "\363\235\212\357\275\252\367\253\377\373\177\337\173\302\221\130" "\137\137\367\336\373\243\151\104\204\225\225\25\341\23\261\267" "\267\167\134\153\375\245\210\134\2\226\201\223\300\26\360\324" "\173\377\263\265\366\361\364\364\364\273\362\205\215\232\247\53" "\140\200\34\10\75\77\221\361\131\27\214\201\74\207\337\102" "\370\223\333\200\356\2\4\1\24\5\204\157\50\41\36\75" "\172\344\173\275\36\273\273\273\354\356\356\116\100\265\333\155" "\332\355\66\235\116\207\313\227\57\217\301\107\121\164\121\51" "\165\33\130\361\336\343\234\303\173\217\210\240\224\102\104\0" "\326\235\163\167\146\146\146\236\0\360\135\340\131\254\100\157" "\173\276\245\140\141\361\20\372\315\66\374\313\337\207\205\5" "\250\325\40\313\340\315\10\372\336\275\173\76\111\222\337\205" "\375\75\370\146\263\311\215\33\67\4\140\347\375\316\105\245" "\324\327\10\347\254\265\24\326\342\217\100\153\255\121\112\43" "\302\57\316\271\377\314\315\315\75\141\65\360\324\0\1\74" "\220\301\67\24\324\152\40\2\336\17\31\377\355\277\35\2" "\37\104\226\21\0\14\6\3\172\275\36\177\44\172\275\36" "\132\153\0\302\60\74\236\27\305\155\245\344\234\265\16\153" "\55\316\331\211\167\16\300\165\240\317\71\353\157\207\341\157" "\377\353\176\177\2\134\145\222\35\12\356\52\71\153\1\227" "\215\47\213\202\140\155\155\315\47\111\202\253\14\354\354\354" "\114\54\74\67\67\127\76\347\171\316\332\332\232\317\262\354" "\272\122\152\105\104\106\12\333\221\164\207\341\1\261\26\153" "\55\332\152\274\367\53\316\271\37\330\367\103\112\13\150\300" "\100\302\320\26\316\202\322\103\233\340\223\241\344\336\201\50" "\250\325\10\342\70\46\212\242\162\221\217\37\77\362\354\331" "\263\11\137\56\57\57\63\73\73\133\252\355\234\43\111\222" "\113\265\132\35\21\301\132\73\102\254\154\371\221\320\201\306" "\73\117\236\145\227\66\376\153\351\122\251\103\340\243\335\140" "\236\56\6\103\116\316\133\102\66\376\361\71\13\323\20\10" "\24\36\336\354\101\240\265\46\10\202\362\303\255\126\13\143" "\314\101\361\14\325\362\236\126\253\65\66\117\153\115\232\246" "\313\42\12\360\14\33\116\225\164\234\134\204\321\217\11\375" "\101\272\374\334\103\134\201\336\6\166\171\116\114\114\200\241" "\40\47\144\233\316\7\210\163\250\51\310\334\10\272\335\156" "\217\301\164\72\235\322\203\207\336\262\164\273\335\261\37\71" "\166\354\30\375\244\177\122\224\240\105\37\165\305\260\222\4" "\360\62\66\346\234\243\237\364\117\146\43\320\112\35\222\223" "\21\262\215\40\170\74\71\131\11\132\326\241\203\140\161\161" "\221\64\115\313\144\243\321\100\51\305\354\354\54\101\20\120" "\24\5\37\76\174\340\314\231\63\23\363\222\44\331\22\45" "\247\215\61\50\255\0\101\106\212\373\61\167\13\210\307\132" "\117\136\144\44\373\311\126\16\247\217\324\41\71\71\256\122" "\235\26\113\146\301\125\66\260\160\20\54\54\54\220\347\171" "\231\74\161\342\4\213\213\213\164\72\35\264\326\130\153\231" "\232\232\342\354\331\263\274\176\375\272\234\147\214\141\153\353" "\327\247\242\344\164\263\71\205\166\301\21\147\14\65\254\232" "\244\50\12\372\375\76\351\40\175\272\357\71\175\244\16\111" "\330\37\201\133\24\32\203\41\310\51\301\225\100\115\203\154" "\156\156\372\172\275\76\246\342\251\123\247\46\212\350\345\313" "\227\143\52\17\6\3\66\67\67\257\7\101\160\277\325\152" "\225\73\64\326\65\52\172\73\347\110\323\224\70\216\51\212" "\342\372\337\177\234\277\317\164\27\224\1\227\303\136\310\77" "\355\3\132\255\126\51\126\34\307\134\271\162\205\371\371\171" "\214\61\344\171\316\333\267\157\11\226\226\226\344\325\253\127" "\276\321\150\224\13\206\141\70\1\135\35\327\132\263\264\264" "\44\17\37\76\74\36\307\173\353\266\50\126\354\364\64\365" "\172\35\121\202\34\30\143\44\261\363\216\164\60\140\77\216" "\351\367\373\353\265\132\355\61\73\317\41\217\17\241\243\155" "\336\27\357\311\262\14\245\24\316\71\242\50\342\305\213\27" "\354\357\357\227\126\15\303\160\170\270\4\101\100\243\321\30" "\263\311\247\302\30\103\121\24\0\134\275\172\365\335\203\7" "\17\356\244\151\257\233\16\6\347\132\255\26\365\172\3\255" "\25\112\53\334\350\300\31\14\62\342\170\217\176\277\377\213" "\326\301\235\153\327\256\275\343\157\253\20\125\112\261\310\260" "\326\22\105\21\42\202\367\36\153\55\131\226\21\206\141\231" "\313\262\354\260\126\242\50\362\7\23\17\240\252\21\4\1" "\132\153\104\204\231\231\231\261\136\161\367\356\335\213\131\236" "\337\256\31\263\322\150\64\250\327\353\50\245\260\326\221\145" "\3\322\176\112\136\344\353\306\230\73\67\157\336\34\336\75" "\376\372\215\107\164\245\333\130\376\142\177\234\150\265\27\56" "\134\30\263\235\163\156\242\121\221\44\211\377\224\312\315\146" "\363\223\267\274\325\325\325\343\111\222\174\151\255\275\344\275" "\57\157\171\42\362\64\320\372\347\251\146\363\361\255\133\267" "\16\157\171\177\376\312\143\53\307\237\66\174\121\74\301\71" "\207\163\16\245\24\112\51\316\237\77\117\236\347\303\23\125" "\153\214\61\374\37\214\156\303\4\371\156\171\336\0\0\0" "\0\111\105\116\104\256\102\140\202" }, { ":resources/stddev_horizontal.png", 271, "\211\120\116\107\15\12\32\12\0\0\0\15\111\110\104\122" "\0\0\1\54\0\0\0\1\10\6\0\0\0\144\70\223" "\51\0\0\0\6\142\113\107\104\0\377\0\377\0\377\240" "\275\247\223\0\0\0\11\160\110\131\163\0\0\13\23\0" "\0\13\23\1\0\232\234\30\0\0\0\7\164\111\115\105" "\7\342\7\17\17\0\46\244\112\36\257\0\0\0\35\151" "\124\130\164\103\157\155\155\145\156\164\0\0\0\0\0\103" "\162\145\141\164\145\144\40\167\151\164\150\40\107\111\115\120" "\144\56\145\7\0\0\0\163\111\104\101\124\70\313\143\144" "\300\3\376\63\374\267\301\43\255\200\103\134\3\215\57\205" "\306\27\105\343\363\43\261\171\220\330\134\110\154\16\50\315" "\206\44\206\314\146\205\322\54\110\142\214\150\64\72\33\37" "\40\126\35\265\364\215\202\341\13\376\323\130\337\177\2\354" "\77\110\142\277\241\364\57\44\61\144\366\17\44\366\67\44" "\366\27\44\366\107\64\373\137\43\261\237\141\161\337\15\54" "\142\17\160\147\40\306\43\370\74\13\0\252\232\24\2\212" "\222\215\307\0\0\0\0\111\105\116\104\256\102\140\202" }, { ":resources/stddev_horizontal_disabled.png", 273, "\211\120\116\107\15\12\32\12\0\0\0\15\111\110\104\122" "\0\0\1\54\0\0\0\1\10\6\0\0\0\144\70\223" "\51\0\0\0\6\142\113\107\104\0\377\0\377\0\377\240" "\275\247\223\0\0\0\11\160\110\131\163\0\0\13\23\0" "\0\13\23\1\0\232\234\30\0\0\0\7\164\111\115\105" "\7\342\7\17\17\37\45\360\31\101\213\0\0\0\35\151" "\124\130\164\103\157\155\155\145\156\164\0\0\0\0\0\103" "\162\145\141\164\145\144\40\167\151\164\150\40\107\111\115\120" "\144\56\145\7\0\0\0\165\111\104\101\124\70\313\143\144" "\300\3\366\357\337\157\203\107\132\1\207\270\6\32\137\12" "\215\57\212\306\347\107\142\363\40\261\271\220\330\34\120\232" "\15\111\14\231\315\12\245\131\220\304\30\321\150\164\66\76" "\100\254\72\152\351\33\5\303\27\374\247\261\276\377\4\330" "\177\220\304\176\103\351\137\110\142\310\354\37\110\354\157\110" "\354\57\110\354\217\150\366\277\106\142\77\303\342\276\33\130" "\304\36\340\362\214\243\243\343\21\174\236\5\0\342\65\25" "\2\72\30\226\127\0\0\0\0\111\105\116\104\256\102\140" "\202" }, { ":resources/stddev_vertical.png", 277, "\211\120\116\107\15\12\32\12\0\0\0\15\111\110\104\122" "\0\0\0\1\0\0\1\54\10\6\0\0\0\2\120\331" "\325\0\0\0\6\142\113\107\104\0\377\0\377\0\377\240" "\275\247\223\0\0\0\11\160\110\131\163\0\0\13\23\0" "\0\13\23\1\0\232\234\30\0\0\0\7\164\111\115\105" "\7\342\7\17\17\1\0\157\134\252\23\0\0\0\35\151" "\124\130\164\103\157\155\155\145\156\164\0\0\0\0\0\103" "\162\145\141\164\145\144\40\167\151\164\150\40\107\111\115\120" "\144\56\145\7\0\0\0\171\111\104\101\124\70\313\143\140" "\40\14\376\63\374\267\141\142\140\140\140\300\113\50\340\225" "\325\300\42\46\205\105\114\24\213\30\77\52\227\7\225\313" "\205\312\345\200\263\330\120\45\320\270\254\160\26\13\252\4" "\43\26\26\66\56\21\4\351\72\150\147\312\50\61\112\120" "\231\370\77\100\246\374\47\222\373\7\125\342\67\234\365\13" "\125\2\215\373\3\225\373\15\225\373\5\225\373\21\213\373" "\136\243\162\237\341\362\307\15\134\22\17\360\207\1\261\0" "\0\63\213\25\163\50\221\42\315\0\0\0\0\111\105\116" "\104\256\102\140\202" }, { ":resources/stddev_vertical_disabled.png", 277, "\211\120\116\107\15\12\32\12\0\0\0\15\111\110\104\122" "\0\0\0\1\0\0\1\54\10\6\0\0\0\2\120\331" "\325\0\0\0\6\142\113\107\104\0\377\0\377\0\377\240" "\275\247\223\0\0\0\11\160\110\131\163\0\0\13\23\0" "\0\13\23\1\0\232\234\30\0\0\0\7\164\111\115\105" "\7\342\7\17\17\37\43\31\172\344\276\0\0\0\35\151" "\124\130\164\103\157\155\155\145\156\164\0\0\0\0\0\103" "\162\145\141\164\145\144\40\167\151\164\150\40\107\111\115\120" "\144\56\145\7\0\0\0\171\111\104\101\124\70\313\143\140" "\40\14\366\357\337\157\303\304\300\300\300\200\227\120\300\53" "\253\201\105\114\12\213\230\50\26\61\176\124\56\17\52\227" "\13\225\313\1\147\261\241\112\240\161\131\341\54\26\124\11" "\106\54\54\154\134\42\10\322\165\320\316\224\121\142\224\240" "\62\361\177\200\114\371\117\44\367\17\252\304\157\70\353\27" "\252\4\32\367\7\52\367\33\52\367\13\52\367\43\26\367" "\275\106\345\76\303\345\217\33\270\44\36\340\17\3\142\1" "\0\233\243\25\262\261\52\75\227\0\0\0\0\111\105\116" "\104\256\102\140\202" }, { ":resources/switch_back_off.png", 2263, "\211\120\116\107\15\12\32\12\0\0\0\15\111\110\104\122" "\0\0\0\73\0\0\0\41\10\6\0\0\0\147\150\323" "\116\0\0\0\6\142\113\107\104\0\377\0\377\0\377\240" "\275\247\223\0\0\0\11\160\110\131\163\0\0\15\327\0" "\0\15\327\1\102\50\233\170\0\0\0\7\164\111\115\105" "\7\335\3\33\13\5\60\365\67\44\27\0\0\0\31\164" "\105\130\164\103\157\155\155\145\156\164\0\103\162\145\141\164" "\145\144\40\167\151\164\150\40\107\111\115\120\127\201\16\27" "\0\0\10\77\111\104\101\124\130\303\335\231\115\214\34\107" "\25\307\377\357\125\325\314\316\170\146\147\327\316\172\277\262" "\366\332\323\275\174\44\33\333\132\213\34\42\73\310\22\50" "\227\110\310\27\214\20\160\341\224\173\220\162\343\300\71\12" "\342\222\23\50\102\134\220\20\7\44\100\102\101\71\200\117" "\61\121\210\145\24\272\263\33\7\47\166\354\144\147\35\257" "\167\147\266\253\352\161\160\365\320\323\236\331\170\55\263\174" "\224\124\252\232\356\236\356\372\325\377\275\372\170\105\111\222" "\340\141\122\34\307\14\240\6\240\12\200\260\77\311\2\330" "\112\222\44\173\230\77\323\203\302\306\161\134\1\60\17\340" "\10\200\31\0\7\366\21\262\234\62\0\353\0\376\1\340" "\203\44\111\72\217\4\66\216\143\3\140\31\300\23\0\364" "\10\300\375\202\226\21\327\76\6\360\146\222\44\67\37\32" "\66\216\343\143\0\236\56\231\52\15\203\144\146\172\304\35" "\160\37\230\367\136\106\334\317\353\357\3\270\230\44\311\316" "\3\303\306\161\114\0\116\1\370\162\150\164\37\224\231\171" "\4\14\1\0\321\243\25\131\104\106\301\113\350\0\137\370" "\55\0\356\0\170\43\111\222\215\317\205\15\240\317\0\130" "\50\300\121\111\131\12\120\3\52\17\121\27\50\74\374\200" "\140\243\24\225\301\107\7\236\315\357\113\200\317\0\274\236" "\44\311\172\361\75\172\310\67\237\140\346\131\0\16\0\207" "\227\344\40\44\42\124\350\204\342\75\210\210\224\201\211\210" "\367\250\244\224\101\265\326\375\216\55\52\231\327\211\110\362" "\16\141\146\37\332\375\114\34\307\177\110\222\244\73\24\66" "\216\343\31\146\156\207\41\76\7\342\102\335\50\245\346\152" "\265\332\102\263\331\214\215\61\207\105\144\100\321\262\342\173" "\65\353\22\353\0\273\367\36\336\373\255\136\257\267\266\261" "\261\221\172\357\157\70\347\66\210\110\230\131\274\367\56\10" "\340\275\367\106\51\165\32\300\237\356\203\215\343\230\224\122" "\113\314\234\5\100\146\146\25\324\342\261\261\261\346\343\217" "\77\376\374\334\334\334\331\132\255\66\141\214\201\61\6\314" "\14\42\272\257\54\346\62\164\136\57\202\210\310\310\354\275" "\357\227\326\132\130\153\237\356\365\172\266\323\351\374\175\155" "\155\355\227\267\157\337\176\327\173\357\231\331\173\357\75\21" "\171\42\162\0\132\161\34\317\44\111\162\143\300\147\237\172" "\352\251\171\347\334\27\231\131\345\240\1\226\247\247\247\27" "\332\355\366\367\46\46\46\126\162\300\42\134\371\167\31\266" "\10\75\112\315\34\174\30\140\136\226\263\163\16\335\156\367" "\223\353\327\257\377\152\165\165\365\215\136\257\327\363\336\173" "\21\161\101\135\307\314\233\133\133\133\27\223\44\221\276\262" "\112\251\31\255\165\46\42\76\200\172\146\366\315\146\263\171" "\352\324\251\157\127\253\325\25\245\324\0\334\260\134\6\316" "\7\357\121\300\145\310\42\354\156\240\171\326\132\77\166\374" "\370\361\357\152\255\257\45\111\362\127\153\255\43\42\347\275" "\167\376\136\62\215\106\343\20\200\117\64\0\234\75\173\266" "\136\255\126\65\63\333\0\51\104\244\210\210\126\126\126\126" "\32\215\306\127\302\134\212\42\360\156\360\105\325\107\51\134" "\4\55\203\355\246\146\261\36\276\121\153\267\333\337\330\334" "\334\174\267\323\351\334\21\21\147\255\265\71\260\210\114\364" "\141\215\61\343\306\230\314\30\343\211\110\347\40\163\163\163" "\315\203\7\17\176\323\132\113\371\265\34\260\134\226\257\225" "\73\142\67\330\62\134\16\344\234\33\12\227\137\43\242\176" "\11\140\145\171\171\171\345\255\267\336\372\43\0\347\234\363" "\71\264\265\266\31\307\61\151\0\150\265\132\25\143\214\43" "\42\30\143\210\231\111\51\345\147\147\147\47\0\34\55\103" "\14\203\322\132\17\334\57\77\127\64\357\322\324\2\21\31" "\0\314\113\153\155\37\330\71\67\0\347\234\33\30\354\234" "\163\150\66\233\117\114\117\117\277\176\117\124\357\234\163\316" "\132\353\211\10\215\106\303\150\0\230\235\235\125\132\153\257" "\224\142\245\224\317\115\271\331\154\36\311\262\154\250\311\226" "\241\264\326\175\340\42\170\136\57\253\134\366\315\42\224\265" "\366\76\377\337\145\172\52\372\372\374\302\302\2\155\157\157" "\213\265\126\0\170\347\356\271\156\267\333\275\7\333\156\267" "\225\210\210\326\132\302\140\5\21\241\54\313\216\210\310\256" "\43\354\60\123\56\102\346\235\120\354\0\146\356\253\131\4" "\34\6\225\177\77\377\117\61\227\333\342\234\133\74\174\370" "\60\131\153\311\132\13\245\24\71\347\304\71\107\132\153\243" "\243\50\122\313\313\313\225\315\315\115\6\300\104\244\0\50" "\42\342\365\365\365\312\315\233\67\361\277\222\264\326\324\156" "\267\315\346\346\146\26\70\174\140\221\50\212\252\32\200\136" "\131\131\251\257\255\255\171\42\122\42\242\105\304\0\60\7" "\17\36\374\244\323\351\300\132\273\353\204\137\364\247\274\136" "\36\155\13\43\347\3\231\161\171\160\52\347\141\155\231\235" "\235\375\150\176\176\276\266\275\275\235\205\357\11\21\111\255" "\126\63\117\76\371\144\105\3\300\374\374\374\170\257\327\273" "\113\104\332\71\127\1\240\105\244\122\255\126\327\257\134\271" "\202\116\247\63\260\372\31\345\103\305\306\347\46\33\314\351" "\221\14\120\345\221\271\334\31\121\24\335\156\265\132\150\64" "\32\325\260\371\40\146\246\126\253\65\166\350\320\41\255\1" "\354\114\114\114\34\230\236\236\46\153\55\0\30\21\251\70" "\347\52\255\126\353\356\322\322\322\255\213\27\57\116\225\227" "\166\301\257\373\76\225\3\376\273\247\236\121\345\344\344\44" "\226\226\226\256\33\143\252\141\255\316\104\244\211\110\117\115" "\115\115\216\217\217\367\164\232\246\262\270\270\370\351\324\324" "\124\274\265\265\265\56\42\106\104\52\42\142\234\163\167\236" "\175\366\331\277\134\273\166\355\353\127\257\136\245\141\160\336" "\373\76\120\331\124\367\143\121\221\117\105\317\75\367\334\265" "\371\371\371\267\273\335\156\55\207\44\242\214\231\115\263\331" "\234\4\360\251\16\216\375\301\201\3\7\276\12\240\347\275" "\257\170\357\15\21\31\21\61\132\353\67\317\237\77\177\362" "\325\127\137\235\276\173\367\356\110\270\377\324\162\321\71\207" "\63\147\316\144\47\116\234\270\354\275\357\326\353\365\6\63" "\357\20\221\41\242\254\122\251\214\33\143\156\245\151\332\313" "\327\306\37\152\255\273\365\172\375\150\226\145\237\5\123\66" "\336\373\252\210\144\213\213\213\177\176\361\305\27\317\275\366" "\332\153\23\151\232\376\327\154\4\252\325\52\56\134\270\320" "\75\175\372\364\373\225\112\345\212\210\34\140\346\214\210\14" "\200\12\21\331\132\255\26\51\245\176\63\260\353\211\242\250" "\355\234\373\241\265\366\235\60\32\153\357\175\105\104\52\0" "\64\63\317\164\273\335\257\135\272\164\151\374\362\345\313\346" "\352\325\253\270\165\353\126\137\265\375\332\342\325\353\165\54" "\54\54\340\330\261\143\376\334\271\163\275\311\311\311\167\274" "\367\227\0\144\104\144\231\171\107\104\62\146\316\264\326\323" "\314\274\272\272\272\372\362\175\141\231\166\273\375\222\210\234" "\364\336\277\227\117\77\336\173\23\224\326\104\124\143\346\143" "\275\136\157\6\300\143\265\132\255\276\357\61\324\54\163\73" "\73\73\33\143\143\143\67\104\344\103\357\375\55\42\262\0" "\34\21\145\0\154\330\223\127\264\326\107\210\350\373\151\232" "\336\274\57\122\101\104\257\0\370\31\63\177\101\104\156\206" "\373\375\54\42\112\104\76\64\306\174\14\100\131\153\111\104" "\24\0\362\336\163\10\67\221\367\276\34\263\102\10\347\354" "\32\244\10\212\367\343\112\314\54\41\124\41\314\54\141\221" "\340\253\325\252\27\21\117\104\126\51\125\313\141\1\30\146" "\316\243\54\137\42\242\227\162\320\241\1\267\50\212\146\0" "\374\132\104\66\104\344\323\240\260\12\300\34\340\30\200\12" "\0\34\140\251\20\230\243\2\334\347\305\231\207\106\15\211" "\150\40\230\126\200\25\42\362\71\70\200\74\52\341\202\272" "\104\104\113\104\364\323\64\115\137\371\334\120\152\24\105\213" "\42\362\213\160\274\361\101\200\125\336\173\25\352\134\200\52" "\106\37\313\52\322\36\143\310\62\102\351\176\16\240\50\302" "\62\163\16\133\43\242\243\0\176\222\246\351\217\37\70\110" "\36\105\121\23\300\317\105\344\44\200\217\0\154\345\261\251" "\320\370\262\242\50\205\134\21\72\2\173\124\66\127\125\112" "\367\245\244\162\137\351\340\76\63\0\52\0\136\110\323\364" "\367\173\76\21\210\242\210\0\174\13\300\217\202\31\167\104" "\144\263\4\106\243\116\13\376\25\365\334\173\12\100\30\1" "\234\327\15\21\115\2\150\2\370\35\200\37\24\175\364\241" "\16\266\242\50\252\3\170\1\300\167\302\301\326\147\1\314" "\2\260\245\375\345\156\46\113\173\74\307\31\270\36\326\273" "\225\360\36\15\300\0\370\55\200\227\323\64\175\373\221\235" "\342\25\300\217\3\70\3\140\21\100\14\140\172\37\17\266" "\266\1\274\27\362\337\0\274\221\246\251\175\344\107\226\377" "\17\351\237\124\265\242\365\167\377\134\106\0\0\0\0\111" "\105\116\104\256\102\140\202" }, { ":resources/switch_back_on.png", 2504, "\211\120\116\107\15\12\32\12\0\0\0\15\111\110\104\122" "\0\0\0\73\0\0\0\41\10\6\0\0\0\147\150\323" "\116\0\0\0\6\142\113\107\104\0\377\0\377\0\377\240" "\275\247\223\0\0\0\11\160\110\131\163\0\0\15\327\0" "\0\15\327\1\102\50\233\170\0\0\0\7\164\111\115\105" "\7\335\3\33\13\6\31\234\250\357\270\0\0\0\31\164" "\105\130\164\103\157\155\155\145\156\164\0\103\162\145\141\164" "\145\144\40\167\151\164\150\40\107\111\115\120\127\201\16\27" "\0\0\11\60\111\104\101\124\130\303\335\231\135\154\34\127" "\25\307\377\347\334\73\263\136\147\327\353\270\161\374\205\123" "\267\236\111\77\122\367\103\256\32\240\45\102\225\370\350\103" "\21\342\205\357\57\211\7\124\361\132\104\45\36\170\340\271" "\52\342\205\47\20\102\110\10\251\352\3\25\40\241\322\74" "\100\45\244\176\250\37\12\52\63\115\332\64\315\107\223\70" "\116\342\332\136\357\275\347\360\60\167\166\147\327\166\33\207" "\64\24\106\272\276\327\63\273\263\363\73\377\163\356\271\163" "\56\145\131\206\253\71\322\64\145\0\165\0\65\0\204\353" "\163\70\0\253\131\226\165\256\346\313\164\245\260\151\232\306" "\0\146\0\354\3\60\11\140\327\165\204\34\74\72\0\226" "\0\274\15\340\170\226\145\27\256\11\154\232\246\21\200\5" "\0\7\0\330\155\0\257\27\264\156\163\356\14\200\347\263" "\54\173\367\252\141\323\64\275\11\300\301\1\127\245\255\40" "\231\231\256\261\1\66\201\211\210\156\163\275\34\277\11\340" "\271\54\313\66\256\30\66\115\123\2\160\17\200\333\303\103" "\167\101\231\231\267\201\41\0\40\272\266\42\253\352\166\360" "\32\14\40\225\377\25\300\145\0\207\263\54\133\376\100\330" "\0\172\77\200\331\12\34\15\50\113\1\252\117\345\55\324" "\5\52\37\276\102\260\355\24\325\376\217\366\175\266\274\256" "\1\276\3\340\231\54\313\226\252\367\261\133\374\346\1\146" "\236\2\340\1\160\270\111\11\102\252\112\25\43\124\257\101" "\125\165\20\230\210\170\207\112\352\40\250\265\266\153\330\252" "\222\345\230\210\264\64\10\63\113\170\356\373\323\64\375\113" "\226\145\353\133\302\246\151\72\311\314\363\141\212\57\201\270" "\62\216\214\61\323\276\276\147\226\232\123\51\114\175\57\21" "\210\30\104\245\370\305\210\52\216\15\176\337\60\326\76\37" "\255\262\52\124\131\273\376\32\264\163\253\130\133\76\106\227" "\336\312\215\270\323\336\373\145\42\122\146\126\21\361\341\126" "\42\42\221\61\346\136\0\177\333\4\233\246\51\31\143\366" "\63\163\47\0\62\63\233\240\26\17\15\15\65\243\217\55" "\76\334\236\376\344\41\63\64\76\212\270\1\104\165\60\33" "\20\63\230\31\114\14\142\352\366\104\241\365\214\260\211\267" "\364\106\325\2\264\150\2\125\205\210\102\105\40\52\105\57" "\2\165\33\100\147\345\40\265\57\271\150\351\310\277\350\255" "\303\277\137\273\170\366\165\21\21\146\26\21\21\42\22\42" "\362\0\132\151\232\116\146\131\166\272\57\146\357\274\363\316" "\31\357\375\255\314\154\112\320\0\313\143\23\123\263\74\377" "\320\267\57\216\336\265\350\242\46\230\31\206\115\1\150\2" "\150\27\226\301\134\312\115\175\255\220\234\266\210\323\52\254" "\24\220\145\37\140\105\4\342\213\336\213\17\340\35\14\257" "\37\77\267\353\324\263\117\136\76\372\342\341\166\273\335\26" "\21\121\125\37\324\365\314\274\262\272\272\372\134\226\145\332" "\125\326\30\63\151\255\355\250\252\4\120\141\146\151\66\233" "\315\241\173\276\366\365\63\265\333\26\141\42\304\306\24\240" "\206\273\75\227\340\225\106\104\335\276\7\113\233\34\131\125" "\13\357\54\25\25\15\112\152\1\330\155\36\342\3\150\331" "\33\213\365\50\331\143\352\143\337\232\266\70\161\52\173\351" "\25\347\234\47\42\57\42\136\212\43\152\64\32\67\0\70" "\147\1\340\320\241\103\303\265\132\315\62\263\13\220\112\104" "\206\210\150\172\361\341\305\67\233\267\337\307\250\301\260\201" "\61\6\154\212\336\4\120\143\52\260\325\61\21\150\0\270" "\33\321\12\150\361\7\212\122\301\136\137\50\351\273\260\336" "\173\210\170\170\137\234\367\342\341\275\7\173\306\72\357\251" "\313\374\103\137\234\132\71\375\372\205\13\27\56\253\252\167" "\316\271\22\130\125\107\273\260\121\24\215\104\121\324\211\242" "\110\210\310\62\63\214\61\230\236\236\156\236\270\341\340\227" "\67\334\20\131\143\3\340\346\306\306\300\204\357\364\301\16" "\50\135\144\40\102\231\210\252\256\253\72\250\144\11\25\372" "\320\330\170\210\147\260\57\302\206\211\341\211\161\36\373\26" "\367\57\74\274\350\136\172\352\257\0\274\367\136\112\150\347" "\134\63\115\123\262\0\320\152\265\342\50\212\74\21\41\212" "\42\142\146\62\306\110\74\165\307\350\12\232\67\132\143\141" "\154\11\127\201\266\3\377\227\255\342\336\306\224\260\225\111" "\13\375\260\345\4\344\175\160\327\240\144\241\234\207\124\15" "\347\31\56\204\104\71\373\203\0\347\200\265\346\115\7\46" "\46\46\236\51\104\25\357\275\367\316\71\41\42\64\32\215" "\310\2\300\324\324\224\261\326\212\61\206\215\61\122\272\362" "\271\126\262\117\66\154\45\56\213\207\357\201\131\330\322\0" "\326\364\235\357\67\100\57\256\211\13\127\356\306\151\305\115" "\213\170\14\220\345\204\107\4\337\205\353\246\244\42\301\230" "\162\46\67\120\243\270\104\255\231\133\147\147\151\155\155\115" "\235\163\12\100\274\57\102\267\126\253\305\26\0\346\347\347" "\215\252\252\265\126\303\144\5\125\245\254\63\266\117\24\60" "\301\5\273\263\54\123\260\64\365\322\16\367\342\267\124\275" "\337\20\75\3\224\13\252\252\173\22\23\310\21\174\320\135" "\25\120\243\60\152\172\51\211\31\242\12\26\206\260\200\244" "\177\266\277\354\342\271\275\173\367\222\163\216\234\163\60\306" "\220\367\136\275\367\144\255\265\66\111\22\263\260\260\20\257" "\254\254\60\0\46\42\3\300\20\21\217\57\15\307\147\316" "\342\177\346\250\131\103\363\363\363\321\312\312\112\47\160\110" "\140\321\44\111\152\26\200\135\134\134\34\76\166\354\230\20" "\221\121\125\253\252\21\200\350\343\143\273\317\345\313\253\150" "\173\355\46\171\146\201\12\103\110\100\302\140\222\60\46\20" "\171\170\137\131\71\150\31\227\105\216\364\73\160\343\276\124" "\123\231\264\172\213\14\255\54\102\212\166\313\164\375\344\314" "\314\114\175\155\155\255\23\102\101\211\110\353\365\172\264\260" "\260\120\263\0\60\63\63\63\322\156\267\337\43\42\353\275" "\217\1\130\125\215\157\250\355\131\172\372\310\111\234\132\336" "\0\221\7\21\340\75\205\145\163\37\123\221\76\312\37\26" "\15\151\342\77\237\240\274\367\175\356\336\155\122\216\173\71" "\370\340\315\243\27\133\55\213\106\243\121\13\57\37\304\314" "\324\152\265\206\306\306\306\214\5\260\61\72\72\272\153\142" "\142\202\234\163\0\20\251\152\354\275\217\133\255\306\173\367" "\337\62\172\366\167\317\235\34\327\356\303\241\337\242\122\311" "\211\306\300\177\310\251\247\252\276\167\275\363\63\273\143\174" "\142\377\356\123\255\310\324\302\313\10\23\221\45\42\73\76" "\76\276\173\144\144\244\155\363\74\327\271\271\271\363\343\343" "\343\351\352\352\352\222\252\106\252\32\253\152\344\275\277\374" "\335\103\263\57\36\171\173\345\263\57\37\277\110\52\275\65" "\152\271\252\51\324\63\360\377\245\105\205\367\36\114\212\37" "\174\356\346\23\13\63\103\57\257\257\243\136\102\22\121\207" "\231\243\146\263\271\33\300\171\13\0\326\332\343\273\166\355" "\372\64\200\266\210\304\42\22\21\121\244\252\321\250\265\317" "\377\350\113\373\357\376\376\57\136\230\270\360\336\6\274\30" "\30\157\340\77\12\313\305\320\177\343\201\331\316\347\357\32" "\177\215\144\175\175\170\170\270\301\314\33\104\24\21\121\47" "\216\343\221\50\212\316\346\171\336\56\327\306\357\130\153\327" "\207\207\207\157\354\164\72\227\202\53\107\42\122\123\325\316" "\175\163\255\277\77\371\350\3\17\76\372\353\27\107\377\221" "\57\175\144\136\4\32\61\343\307\137\271\143\375\13\367\316" "\274\331\210\345\210\352\320\56\146\356\20\121\4\40\46\42" "\127\257\327\23\143\314\37\372\336\172\222\44\231\367\336\377" "\304\71\367\152\230\215\255\210\304\252\32\3\260\314\74\171" "\151\35\237\171\372\205\23\43\317\276\172\46\172\355\370\62" "\216\235\135\55\142\360\72\276\342\265\206\55\16\314\266\160" "\317\334\250\174\347\301\244\75\75\126\173\225\304\275\0\240" "\103\104\216\231\67\124\265\303\314\35\153\355\4\63\37\75" "\172\364\350\343\233\312\62\363\363\363\217\251\352\335\42\362" "\106\231\176\104\44\12\112\133\42\252\63\363\115\253\155\231" "\364\300\236\221\172\74\274\165\301\357\303\73\332\35\361\353" "\33\156\271\61\304\247\241\372\216\210\234\45\42\7\300\23" "\121\7\200\13\357\344\261\265\166\37\21\175\57\317\363\167" "\67\125\52\210\350\11\0\277\142\346\133\124\365\335\160\275" "\333\124\325\250\352\73\103\21\316\0\60\336\155\220\252\32" "\0\44\42\34\312\115\44\42\203\65\53\204\162\316\373\126" "\144\302\312\252\133\264\140\146\15\145\32\145\146\5\40\6" "\220\106\215\4\252\102\104\316\30\123\57\141\1\104\314\134" "\126\131\156\43\242\307\112\320\55\13\156\111\222\114\2\170" "\112\125\227\125\365\174\120\330\4\140\16\160\14\300\4\0" "\16\260\124\51\314\121\5\356\203\352\314\133\126\15\211\250" "\257\230\126\302\6\243\110\30\13\200\262\52\341\203\272\104" "\104\373\211\350\227\171\236\77\361\201\245\324\44\111\346\124" "\365\267\141\173\343\170\200\65\42\142\302\230\53\120\325\352" "\343\240\212\264\303\32\262\156\243\164\267\5\120\124\141\231" "\271\204\255\23\321\215\0\176\236\347\371\317\256\270\110\236" "\44\111\23\300\157\124\365\156\0\47\1\254\226\265\251\360" "\360\203\212\142\240\344\212\140\10\354\120\331\122\125\35\270" "\256\3\52\167\225\16\341\63\11\40\6\360\110\236\347\177" "\336\361\216\100\222\44\4\340\253\0\176\32\334\370\202\252" "\256\14\200\321\166\273\5\275\252\347\316\217\0\204\155\200" "\313\161\104\104\273\1\64\1\374\11\300\17\253\61\172\125" "\33\133\111\222\14\3\170\4\300\67\303\306\326\245\0\346" "\0\270\201\122\357\373\271\54\355\160\37\247\357\174\130\357" "\306\341\76\26\100\4\340\217\0\36\317\363\374\345\153\266" "\213\127\1\277\31\300\247\0\314\1\110\1\114\134\307\215" "\255\65\0\157\204\366\117\0\207\363\74\167\327\174\313\362" "\377\341\370\67\174\303\225\57\357\342\274\12\0\0\0\0" "\111\105\116\104\256\102\140\202" }, { ":resources/switch_front.png", 1776, "\211\120\116\107\15\12\32\12\0\0\0\15\111\110\104\122" "\0\0\0\46\0\0\0\50\10\6\0\0\0\222\67\210" "\336\0\0\0\6\142\113\107\104\0\377\0\377\0\377\240" "\275\247\223\0\0\0\11\160\110\131\163\0\0\15\327\0" "\0\15\327\1\102\50\233\170\0\0\0\7\164\111\115\105" "\7\335\3\33\13\3\30\226\330\53\153\0\0\0\31\164" "\105\130\164\103\157\155\155\145\156\164\0\103\162\145\141\164" "\145\144\40\167\151\164\150\40\107\111\115\120\127\201\16\27" "\0\0\6\130\111\104\101\124\130\303\305\230\117\154\224\171" "\31\307\77\357\77\246\63\155\146\136\313\224\55\255\245\135" "\310\30\332\144\265\222\170\321\304\222\220\364\40\342\36\210" "\211\7\344\242\27\75\250\7\215\341\300\245\106\23\23\116" "\172\221\243\7\40\54\211\51\161\223\135\44\203\40\64\270" "\20\110\355\132\322\362\132\244\355\266\165\246\35\246\323\371" "\373\276\357\357\367\216\7\176\157\63\314\266\313\266\54\303" "\223\74\311\144\16\235\117\277\317\237\337\363\74\232\343\70" "\354\326\122\251\224\26\176\176\372\364\151\304\266\355\66\333" "\266\13\341\167\216\343\324\167\373\267\315\335\300\314\316\316" "\166\366\366\366\36\257\126\253\337\63\14\143\20\350\326\64" "\255\23\300\363\274\52\260\22\4\301\47\102\210\353\225\112" "\145\174\337\276\175\323\73\5\325\167\0\244\307\343\361\257" "\227\112\245\277\366\367\367\257\230\246\371\147\115\323\116\6" "\101\60\24\4\101\247\20\2\41\4\101\20\104\203\40\70" "\10\174\333\64\315\337\304\343\361\217\53\225\312\354\263\147" "\317\176\164\341\302\5\263\121\345\317\62\355\145\241\124\12" "\35\350\352\352\372\335\236\75\173\176\20\376\63\122\112\204" "\20\110\51\251\327\137\24\102\323\64\164\135\307\60\14\114" "\323\104\323\236\263\110\51\247\313\345\362\257\173\172\172\76" "\160\34\47\330\65\130\52\225\322\35\307\31\331\273\167\357" "\173\272\256\47\1\204\20\370\276\277\243\360\33\206\201\145" "\131\233\200\225\112\345\367\47\116\234\70\373\340\301\3\261" "\135\170\267\5\113\245\122\306\334\334\334\217\343\361\370\37" "\65\115\263\202\40\100\10\361\51\165\166\12\150\232\317\323" "\332\165\335\367\323\351\364\17\117\237\76\135\330\12\116\337" "\16\152\152\152\352\124\173\173\373\237\244\224\226\353\272\270" "\256\213\224\222\40\10\166\355\276\357\123\253\325\360\175\37" "\303\60\276\73\62\62\162\371\350\321\243\221\255\362\356\123" "\212\245\122\51\375\346\315\233\337\74\164\350\320\337\64\115" "\213\326\353\365\127\122\151\333\252\323\237\153\262\261\261\361" "\207\241\241\241\137\2\57\204\125\157\206\32\33\33\113\366" "\365\365\275\47\245\214\206\311\375\52\52\155\347\141\25\307" "\142\261\237\335\276\175\373\373\200\321\250\234\336\324\54\315" "\321\321\321\137\1\373\137\27\120\263\113\51\111\46\223\277" "\35\36\36\356\0\264\255\24\323\317\236\75\333\237\110\44" "\176\32\46\171\253\300\164\135\37\70\167\356\334\117\200\315" "\76\247\67\250\145\215\214\214\374\42\10\202\130\20\4\204" "\271\365\272\75\154\101\311\144\362\347\266\155\307\102\325\364" "\6\345\142\35\35\35\307\205\20\0\55\121\53\24\100\112" "\211\246\151\157\215\215\215\215\204\317\144\50\235\161\346\314" "\231\257\131\226\325\57\245\334\4\153\245\11\41\70\160\340" "\300\273\100\72\225\112\11\123\111\147\15\15\15\175\107\10" "\201\145\131\55\207\322\64\15\41\4\361\170\174\4\210\2" "\325\20\254\315\64\315\267\245\224\157\4\54\174\173\115\323" "\334\17\264\3\5\135\345\127\233\256\353\335\141\65\276\11" "\127\51\24\75\174\370\360\136\300\60\25\130\304\64\315\256" "\306\66\321\152\13\133\307\221\43\107\372\146\146\146\146\302" "\120\232\256\353\6\152\236\172\43\140\341\53\223\317\347\1" "\364\20\314\50\24\12\105\333\266\361\175\177\363\35\153\245" "\171\236\107\275\136\347\376\375\373\371\20\14\240\276\276\276" "\236\357\355\355\305\367\175\54\313\152\51\124\275\136\307\367" "\175\134\327\255\256\255\255\371\141\143\255\3\101\66\233\135" "\21\102\120\253\325\132\236\370\236\347\41\204\40\237\317\257" "\2\2\10\102\60\77\235\116\177\44\204\240\134\56\267\254" "\353\207\136\56\227\221\122\362\370\361\343\217\1\17\220\46" "\20\0\356\324\324\324\102\46\223\131\116\46\223\75\325\152" "\225\110\44\322\262\120\26\213\105\204\20\114\114\114\174\4" "\270\241\142\1\120\3\12\323\323\323\223\112\322\226\251\125" "\52\225\250\325\152\344\162\271\265\273\167\357\76\2\312\215" "\140\56\260\176\371\362\345\17\212\305\142\145\143\143\203\112" "\245\322\22\260\325\325\125\204\20\134\277\176\375\32\220\3" "\52\200\324\325\70\353\3\205\174\76\277\170\347\316\235\133" "\102\10\62\231\14\257\173\374\311\345\162\124\253\125\126\126" "\126\376\167\365\352\325\133\12\254\12\324\303\206\45\200\42" "\260\162\345\312\225\17\263\331\354\132\271\134\146\151\151\351" "\265\51\125\54\26\311\144\62\170\236\27\214\217\217\277\17" "\54\1\317\0\317\161\234\40\4\253\53\322\214\357\373\363" "\347\317\237\277\120\52\225\152\371\174\176\123\271\57\322\53" "\225\12\213\213\213\141\10\377\176\357\336\275\177\2\237\0" "\33\200\334\34\24\33\302\271\16\314\57\54\54\114\135\272" "\164\151\334\367\375\40\223\311\260\270\270\370\205\55\45\353" "\353\353\314\315\315\341\171\36\123\123\123\377\36\37\37\377" "\20\370\57\220\125\105\130\157\76\252\324\125\342\255\0\316" "\303\207\17\333\201\75\47\117\236\74\56\204\210\124\52\25" "\172\172\172\210\305\142\273\36\153\62\231\14\271\134\16\200" "\311\311\311\177\135\274\170\361\57\200\3\314\53\265\66\127" "\270\27\366\112\65\315\106\200\56\340\60\360\116\137\137\337" "\127\117\235\72\365\156\42\221\260\1\22\211\4\335\335\335" "\264\265\265\175\156\240\134\56\107\66\233\105\112\211\224\62" "\110\247\323\267\156\334\270\361\17\340\21\60\15\54\2\145" "\307\161\344\147\56\274\100\33\260\17\370\12\60\30\215\106" "\17\215\216\216\176\153\170\170\370\35\113\75\244\221\110\4" "\333\266\351\350\350\300\262\54\114\323\104\327\365\315\333\106" "\265\132\245\120\50\120\52\225\66\227\216\205\205\205\205\153" "\327\256\115\314\317\317\77\2\146\201\31\225\133\105\100\66" "\56\274\133\336\56\32\340\222\300\333\100\12\350\267\155\373" "\313\307\216\35\373\306\301\203\7\7\332\333\333\333\77\247" "\142\162\171\171\171\171\142\142\142\162\146\146\346\261\252\276" "\377\50\137\1\112\315\120\57\73\252\350\52\254\11\240\7" "\30\0\16\0\157\1\211\201\201\201\375\203\203\203\3\235" "\235\235\166\64\32\215\306\142\261\250\141\30\106\125\131\251" "\124\52\77\171\362\144\151\172\172\172\336\363\274\2\260\252" "\240\236\252\320\255\251\116\40\267\72\252\274\364\14\245\12" "\44\6\164\2\335\300\176\5\367\45\240\103\51\153\1\106" "\70\214\252\276\350\252\142\52\50\210\145\245\320\232\12\235" "\7\4\73\76\103\65\25\204\256\176\74\6\304\1\133\201" "\45\232\340\264\55\240\326\225\27\124\330\334\355\124\332\21" "\330\26\200\246\202\150\123\253\126\244\101\61\115\51\346\53" "\105\252\252\67\171\352\273\340\145\227\304\35\203\65\1\206" "\36\156\131\132\343\101\44\34\76\33\274\276\323\13\266\366" "\52\347\364\346\223\172\263\275\312\71\375\377\277\113\265\60" "\205\220\343\373\0\0\0\0\111\105\116\104\256\102\140\202" }, { ":resources/tab.png", 499, "\211\120\116\107\15\12\32\12\0\0\0\15\111\110\104\122" "\0\0\0\26\0\0\0\23\10\6\0\0\0\224\171\375" "\210\0\0\0\4\147\101\115\101\0\0\257\310\67\5\212" "\351\0\0\0\31\164\105\130\164\123\157\146\164\167\141\162" "\145\0\101\144\157\142\145\40\111\155\141\147\145\122\145\141" "\144\171\161\311\145\74\0\0\1\205\111\104\101\124\170\332" "\244\223\335\216\202\60\20\205\147\112\3\211\106\67\131\56" "\274\203\247\320\144\275\362\135\335\304\347\202\56\211\76\200" "\46\376\304\331\236\112\261\260\304\135\330\111\300\366\164\370" "\346\164\152\271\50\12\232\114\46\224\44\11\151\255\311\206" "\60\63\211\10\306\174\273\335\350\174\76\323\351\164\242\54" "\313\50\214\262\54\45\216\143\272\134\56\56\27\71\373\375" "\236\66\233\15\151\100\225\122\200\112\10\251\213\11\212\135" "\257\127\306\334\207\61\106\216\307\43\35\16\7\202\261\74" "\317\151\261\130\310\164\72\245\44\216\31\71\32\325\54\120" "\356\367\273\3\372\300\330\27\260\277\50\340\76\370\334\156" "\45\263\40\353\226\260\51\354\316\230\222\112\143\50\267\73" "\52\212\122\76\326\153\326\160\11\127\41\64\14\350\130\107" "\36\142\66\177\203\143\7\144\127\312\275\334\33\372\174\76" "\163\163\205\236\242\117\257\242\136\227\335\156\47\151\372\116" "\212\225\153\37\36\126\317\61\364\64\115\11\171\332\273\172" "\25\176\135\51\246\252\372\42\25\251\146\115\234\133\151\234" "\127\125\345\212\151\32\20\112\105\75\252\324\33\157\153\3" "\301\36\140\335\261\70\46\327\350\256\66\10\34\171\60\116" "\15\14\13\142\117\356\150\303\34\107\201\143\11\132\240\344" "\207\66\256\307\215\313\326\11\266\264\141\255\210\36\340\307" "\305\220\272\3\334\253\215\74\274\337\143\34\370\371\127\170" "\106\107\33\17\366\275\365\304\216\66\272\25\16\307\341\254" "\255\375\253\307\334\223\303\143\132\301\65\230\205\232\133\206" "\333\40\75\332\40\360\152\271\374\163\356\267\0\3\0\231" "\367\265\366\253\127\66\350\0\0\0\0\111\105\116\104\256" "\102\140\202" }, { ":resources/thinlistbox.png", 188, "\211\120\116\107\15\12\32\12\0\0\0\15\111\110\104\122" "\0\0\0\3\0\0\0\3\10\6\0\0\0\126\50\265" "\277\0\0\0\6\142\113\107\104\0\377\0\377\0\377\240" "\275\247\223\0\0\0\11\160\110\131\163\0\0\15\327\0" "\0\15\327\1\102\50\233\170\0\0\0\7\164\111\115\105" "\7\340\6\7\24\21\57\53\40\151\336\0\0\0\35\151" "\124\130\164\103\157\155\155\145\156\164\0\0\0\0\0\103" "\162\145\141\164\145\144\40\167\151\164\150\40\107\111\115\120" "\144\56\145\7\0\0\0\40\111\104\101\124\10\327\143\334" "\176\373\377\177\6\50\140\142\140\140\140\360\54\232\313\300" "\300\300\300\300\210\54\3\0\301\217\10\175\16\116\61\171" "\0\0\0\0\111\105\116\104\256\102\140\202" }, { ":resources/topbar.png", 201, "\211\120\116\107\15\12\32\12\0\0\0\15\111\110\104\122" "\0\0\0\3\0\0\0\23\10\2\0\0\0\332\234\40" "\163\0\0\0\4\147\101\115\101\0\0\257\310\67\5\212" "\351\0\0\0\31\164\105\130\164\123\157\146\164\167\141\162" "\145\0\101\144\157\142\145\40\111\155\141\147\145\122\145\141" "\144\171\161\311\145\74\0\0\0\133\111\104\101\124\170\332" "\104\116\111\22\300\60\10\2\305\377\77\67\107\213\111\332" "\162\321\141\123\126\25\32\115\50\63\261\41\303\34\320\303" "\221\354\206\112\365\252\225\46\114\313\331\166\322\76\175\352" "\346\300\333\362\367\115\140\262\65\376\335\47\237\340\271\161" "\175\231\342\226\275\305\174\20\255\210\70\352\35\6\327\132" "\147\173\4\30\0\153\30\30\355\172\257\227\165\0\0\0" "\0\111\105\116\104\256\102\140\202" }, { ":resources/toplogo.png", 672, "\211\120\116\107\15\12\32\12\0\0\0\15\111\110\104\122" "\0\0\0\137\0\0\0\21\10\6\0\0\0\273\36\160" "\351\0\0\0\4\147\101\115\101\0\0\257\310\67\5\212" "\351\0\0\0\31\164\105\130\164\123\157\146\164\167\141\162" "\145\0\101\144\157\142\145\40\111\155\141\147\145\122\145\141" "\144\171\161\311\145\74\0\0\2\62\111\104\101\124\170\332" "\334\130\213\155\302\60\20\75\120\6\250\73\102\126\60\43" "\204\21\140\204\62\102\72\2\31\201\254\300\10\315\10\365" "\10\365\10\270\33\264\66\272\124\346\164\376\44\20\10\75" "\351\204\270\130\366\371\371\376\213\323\311\110\0\250\200\247" "\243\145\15\363\45\201\272\227\314\267\316\262\262\134\23\171" "\63\27\345\27\26\174\247\334\76\262\306\135\140\207\277\163" "\242\32\131\4\276\257\361\1\176\74\231\261\374\72\227\13" "\54\63\326\70\317\370\10\130\327\43\201\337\107\200\217\171" "\12\74\23\370\275\322\365\214\102\315\36\376\1\25\3\326" "\226\236\47\10\317\215\65\312\64\376\227\304\315\65\43\123" "\144\237\24\165\214\36\311\107\22\342\5\214\371\136\137\12" "\317\262\62\261\217\362\356\232\103\72\222\33\53\157\237\316" "\17\337\41\360\133\313\157\314\46\216\76\11\220\275\65\66" "\370\237\132\345\73\43\133\220\175\122\144\160\237\66\120\34" "\264\130\34\134\0\150\101\6\14\231\177\373\130\231\213\371" "\207\110\221\321\353\14\3\75\314\1\273\365\60\221\170\216" "\14\255\53\42\57\71\64\206\232\211\103\315\41\162\206\46" "\336\361\210\230\137\341\103\257\274\320\50\143\353\12\170\56" "\332\104\252\256\232\130\263\101\13\273\47\111\344\52\341\131" "\156\315\333\362\306\326\171\15\351\100\270\31\162\106\345\361" "\46\262\256\301\122\164\313\234\21\363\42\235\320\17\2\300" "\53\306\150\252\133\200\257\360\22\355\4\340\117\325\20\165" "\310\134\322\157\43\336\245\231\273\167\1\313\246\315\52\315" "\111\372\26\141\147\216\15\130\156\214\256\231\107\151\46\212" "\2\24\243\140\302\225\3\55\377\321\44\7\46\174\256\127" "\320\150\110\123\21\55\155\313\42\222\330\270\71\317\30\272" "\165\103\244\62\365\115\165\310\222\1\347\213\224\232\327\204" "\265\212\234\147\306\166\270\60\243\320\322\301\365\303\276\372" "\16\72\122\117\243\226\337\55\7\0\237\223\120\333\73\75" "\322\16\346\115\155\242\357\160\337\216\71\340\367\145\231\311" "\154\264\326\231\15\317\230\304\45\74\345\127\43\36\172\212" "\106\120\4\316\331\6\160\350\73\334\363\110\131\104\22\154" "\250\214\22\211\65\20\231\335\204\146\73\212\321\103\5\346" "\102\64\126\227\231\347\344\316\225\270\331\216\101\56\111\222" "\26\314\75\114\100\277\13\375\177\5\30\0\103\235\241\210" "\115\202\14\167\0\0\0\0\111\105\116\104\256\102\140\202" }, { ":resources/vertline.png", 170, "\211\120\116\107\15\12\32\12\0\0\0\15\111\110\104\122" "\0\0\0\1\0\0\0\2\10\6\0\0\0\231\201\266" "\47\0\0\0\6\142\113\107\104\0\377\0\377\0\377\240" "\275\247\223\0\0\0\11\160\110\131\163\0\0\15\327\0" "\0\15\327\1\102\50\233\170\0\0\0\7\164\111\115\105" "\7\335\4\6\12\41\20\56\40\334\34\0\0\0\31\164" "\105\130\164\103\157\155\155\145\156\164\0\103\162\145\141\164" "\145\144\40\167\151\164\150\40\107\111\115\120\127\201\16\27" "\0\0\0\22\111\104\101\124\10\327\143\140\140\140\250\141" "\370\377\377\377\17\0\14\341\4\162\2\246\161\372\0\0" "\0\0\111\105\116\104\256\102\140\202" }, { ":resources/widget.png", 994, "\211\120\116\107\15\12\32\12\0\0\0\15\111\110\104\122" "\0\0\0\17\0\0\0\115\10\6\0\0\0\171\106\76" "\55\0\0\0\6\142\113\107\104\0\377\0\377\0\377\240" "\275\247\223\0\0\0\11\160\110\131\163\0\0\15\327\0" "\0\15\327\1\102\50\233\170\0\0\0\7\164\111\115\105" "\7\340\6\7\20\31\66\200\233\343\312\0\0\0\35\151" "\124\130\164\103\157\155\155\145\156\164\0\0\0\0\0\103" "\162\145\141\164\145\144\40\167\151\164\150\40\107\111\115\120" "\144\56\145\7\0\0\3\106\111\104\101\124\130\303\275\230" "\277\156\53\105\24\207\277\163\146\146\23\231\134\102\212\360" "\137\124\227\12\256\224\6\42\41\41\52\32\112\52\36\200" "\47\100\242\61\242\135\41\361\14\24\274\0\217\221\202\64" "\221\42\136\1\104\156\221\110\327\130\261\354\354\241\360\330" "\236\335\235\365\356\6\21\113\326\172\366\314\157\176\337\234" "\71\63\273\62\374\207\217\244\215\351\164\172\6\374\10\234" "\3\357\45\241\77\201\337\201\237\313\262\274\150\211\247\323" "\351\67\300\257\100\261\307\254\2\176\50\313\362\247\255\170" "\72\235\176\0\134\3\257\17\240\255\200\317\313\262\274\320" "\170\343\273\201\102\0\5\276\7\360\361\306\127\151\164\271" "\134\162\173\173\273\155\237\234\234\20\102\110\273\174\232\212" "\77\114\43\167\167\167\374\362\307\33\330\301\63\144\361\212" "\157\77\276\343\364\364\64\355\362\356\126\54\42\165\56\125" "\70\74\206\243\167\100\376\102\365\125\253\317\126\254\252\265" "\233\316\71\104\4\213\3\73\347\132\175\366\212\331\70\365" "\211\163\330\42\32\265\32\333\362\77\70\167\315\231\41\163" "\156\42\255\333\262\255\140\21\31\213\35\357\211\76\41\366" "\272\343\16\373\351\262\255\252\65\261\252\216\54\222\210\55" "\117\217\335\150\217\313\166\143\316\343\260\223\245\172\332\154" "\77\272\110\106\45\54\67\147\303\0\60\4\347\164\344\226" "\24\210\207\330\43\266\44\253\132\173\334\1\310\303\260\245" "\312\237\44\365\366\140\154\63\303\342\122\31\62\56\333\315" "\317\150\354\324\171\24\166\353\231\72\276\74\233\117\220\121" "\11\213\277\37\47\256\147\73\47\126\63\363\233\340\346\253" "\252\244\326\271\270\231\171\17\170\347\34\125\125\325\335\33" "\330\231\234\254\305\336\173\126\253\125\15\133\5\52\3\225" "\166\205\171\357\167\342\334\234\366\211\153\316\316\71\36\36" "\36\166\57\132\125\205\23\143\205\340\304\166\171\250\155\234" "\304\271\65\57\331\135\233\361\232\163\16\333\105\365\346\272" "\27\73\35\331\314\160\272\31\244\355\134\303\316\212\243\221" "\223\36\161\67\266\365\142\273\334\310\76\212\275\266\217\241" "\370\333\145\261\253\252\252\45\254\167\251\122\54\21\301\307" "\111\173\47\373\213\44\207\235\72\167\140\167\147\73\165\336" "\233\355\46\326\32\133\243\130\311\305\73\235\67\216\233\153" "\63\336\133\333\41\266\103\214\165\316\71\227\115\357\43\266" "\157\277\62\357\305\66\63\102\304\16\256\175\206\365\142\247" "\11\213\235\207\141\213\10\301\257\5\301\273\315\201\227\305" "\156\325\266\210\20\242\163\210\157\5\251\270\126\333\271\154" "\206\230\260\340\327\330\351\351\332\233\355\241\330\331\332\116" "\305\316\271\34\366\160\361\140\154\347\34\105\24\27\121\234" "\76\24\152\330\271\315\136\204\50\16\256\125\333\275\163\156" "\72\17\256\355\234\163\147\155\347\260\277\74\173\237\42\170" "\276\370\350\355\275\330\57\103\10\163\125\235\154\202\213\305" "\202\363\347\307\234\77\77\6\140\76\237\327\304\41\204\71" "\360\322\3\227\105\121\254\122\254\252\252\230\315\146\235\57" "\166\105\121\254\200\113\17\134\251\352\315\144\62\171\166\177" "\177\57\175\377\66\34\36\36\232\252\336\0\127\22\367\357" "\13\63\273\230\315\146\257\55\26\213\316\1\16\16\16\354" "\350\350\350\37\21\371\114\104\256\45\71\0\136\230\331\157" "\146\366\346\162\271\364\125\125\115\222\245\231\207\20\126\42" "\162\43\42\137\213\310\165\353\357\35\63\363\300\31\360\11" "\360\126\22\372\33\270\4\256\104\144\133\152\377\2\13\162" "\326\53\202\277\76\356\0\0\0\0\111\105\116\104\256\102" "\140\202" }, { ":../ABOUT", 292, "\104\162\165\155\107\151\172\155\157\40\151\163\40\141\156\40" "\157\160\145\156\40\163\157\165\162\143\145\54\40\155\165\154" "\164\151\143\150\141\156\156\145\154\54\40\155\165\154\164\151" "\154\141\171\145\162\145\144\54\40\143\162\157\163\163\55\160" "\154\141\164\146\157\162\155\40\144\162\165\155\12\160\154\165" "\147\151\156\40\141\156\144\40\163\164\141\156\144\55\141\154" "\157\156\145\40\141\160\160\154\151\143\141\164\151\157\156\56" "\40\111\164\40\145\156\141\142\154\145\163\40\171\157\165\40" "\164\157\40\143\157\155\160\157\163\145\40\144\162\165\155\163" "\40\151\156\40\155\151\144\151\40\141\156\144\12\155\151\170" "\40\164\150\145\155\40\167\151\164\150\40\141\40\155\165\154" "\164\151\143\150\141\156\156\145\154\40\141\160\160\162\157\141" "\143\150\56\40\111\164\40\151\163\40\143\157\155\160\141\162" "\141\142\154\145\40\164\157\40\164\150\141\164\40\157\146\40" "\155\151\170\151\156\147\40\141\12\162\145\141\154\40\144\162" "\165\155\153\151\164\40\164\150\141\164\40\150\141\163\40\142" "\145\145\156\40\162\145\143\157\162\144\145\144\40\167\151\164" "\150\40\141\40\155\165\154\164\151\155\151\143\40\163\145\164" "\165\160\56\12" }, { ":../ABOUT.fr", 327, "\104\162\165\155\107\151\172\155\157\40\145\163\164\40\165\156" "\40\147\162\145\146\146\157\156\40\145\164\40\165\156\145\40" "\141\160\160\154\151\143\141\164\151\157\156\40\141\165\164\157" "\156\157\155\145\40\303\240\40\163\157\165\162\143\145\40\157" "\165\166\145\162\164\145\40\144\145\12\142\141\164\164\145\162" "\151\145\54\40\155\165\154\164\151\143\141\156\141\154\54\40" "\155\165\154\164\151\143\157\165\143\150\145\163\54\40\145\164" "\40\155\165\154\164\151\160\154\141\164\145\146\157\162\155\145" "\56\40\111\154\40\166\157\165\163\40\160\145\162\155\145\164" "\40\144\145\12\143\157\155\160\157\163\145\162\40\144\145\163" "\40\160\151\163\164\145\163\40\144\145\40\142\141\164\164\145" "\162\151\145\40\145\156\40\115\111\104\111\40\145\164\40\144" "\145\40\154\145\163\40\155\151\170\145\162\40\141\166\145\143" "\40\165\156\145\40\141\160\160\162\157\143\150\145\12\155\165" "\154\164\151\143\141\156\141\154\56\40\111\154\40\145\163\164" "\40\143\157\155\160\141\162\141\142\154\145\40\145\156\40\143" "\145\154\141\40\141\165\40\155\151\170\141\147\145\40\144\47" "\165\156\145\40\166\162\141\151\145\40\142\141\164\164\145\162" "\151\145\40\145\156\162\145\147\151\163\164\162\303\251\145\12" "\141\166\145\143\40\160\154\165\163\151\145\165\162\163\40\155" "\151\143\162\157\163\56\12" }, { ":../AUTHORS", 536, "\106\157\165\156\144\145\162\40\141\156\144\40\154\145\141\144" "\40\144\145\166\145\154\157\160\145\162\72\12\40\102\145\156" "\164\40\102\151\163\142\141\154\154\145\40\116\171\145\156\147" "\40\133\144\145\166\141\135\40\50\144\145\166\141\100\141\141" "\163\151\155\157\156\56\157\162\147\51\12\12\104\145\166\145" "\154\157\160\145\162\72\12\40\112\157\156\141\163\40\123\165" "\150\162\40\103\150\162\151\163\164\145\156\163\145\156\40\133" "\163\165\150\162\135\40\50\152\163\143\100\165\155\142\162\141" "\143\165\154\165\155\56\157\162\147\51\12\12\104\145\166\145" "\154\157\160\145\162\72\12\40\101\156\144\162\303\251\40\116" "\165\163\163\145\162\40\133\143\150\141\157\164\64\135\12\12" "\104\145\166\145\154\157\160\145\162\72\12\40\103\150\162\151" "\163\164\151\141\156\40\107\154\303\266\143\153\156\145\162\40" "\133\143\147\154\157\143\153\145\135\12\12\104\145\166\145\154" "\157\160\145\162\54\40\107\162\141\160\150\151\143\163\54\40" "\107\125\111\40\144\145\163\151\147\156\40\141\156\144\40\154" "\157\147\157\72\12\40\114\141\162\163\40\115\165\154\144\152" "\157\162\144\40\133\155\165\154\144\152\157\162\144\135\40\50" "\155\165\154\144\152\157\162\144\154\141\162\163\100\147\155\141" "\151\154\56\143\157\155\51\12\12\104\145\166\145\154\157\160" "\145\162\72\12\40\107\157\162\141\156\40\115\145\153\151\304" "\207\40\133\155\145\153\141\135\40\50\155\145\153\141\100\164" "\151\154\144\141\56\143\145\156\164\145\162\51\12\12\104\145" "\166\145\154\157\160\145\162\72\12\40\124\150\145\40\115\141" "\162\154\142\157\162\157\40\115\141\156\40\133\124\150\145\115" "\141\162\154\142\157\162\157\115\141\156\135\12\12\120\141\164" "\143\150\145\163\72\12\40\112\157\150\156\40\110\141\155\155" "\145\156\40\50\163\141\155\160\154\145\40\155\165\154\164\151" "\143\150\141\156\156\145\154\40\163\165\160\160\157\162\164\51" "\12\12\106\162\145\156\143\150\40\164\162\141\156\163\154\141" "\164\151\157\156\12\40\117\154\151\166\151\145\162\40\110\165" "\155\142\145\162\164\40\133\164\162\145\142\155\165\150\135\40" "\50\164\162\145\142\155\165\150\100\164\165\170\146\141\155\151" "\154\171\56\157\162\147\51\12" }, { ":../AUTHORS.fr", 609, "\106\157\156\144\141\164\145\165\162\40\145\164\40\144\303\251" "\166\145\154\157\160\160\145\165\162\40\160\162\151\156\143\151" "\160\141\154\40\72\12\40\102\145\156\164\40\102\151\163\142" "\141\154\154\145\40\116\171\145\156\147\40\133\144\145\166\141" "\135\40\50\144\145\166\141\100\141\141\163\151\155\157\156\56" "\157\162\147\51\12\12\104\303\251\166\145\154\157\160\160\145" "\165\162\40\72\12\40\112\157\156\141\163\40\123\165\150\162" "\40\103\150\162\151\163\164\145\156\163\145\156\40\133\163\165" "\150\162\135\40\50\152\163\143\100\165\155\142\162\141\143\165" "\154\165\155\56\157\162\147\51\12\12\104\303\251\166\145\154" "\157\160\160\145\165\162\40\72\12\40\101\156\144\162\303\251" "\40\116\165\163\163\145\162\40\133\143\150\141\157\164\64\135" "\12\12\104\303\251\166\145\154\157\160\160\145\165\162\40\72" "\12\40\103\150\162\151\163\164\151\141\156\40\107\154\303\266" "\143\153\156\145\162\40\133\143\147\154\157\143\153\145\135\12" "\12\104\303\251\166\145\154\157\160\160\145\165\162\54\40\147" "\162\141\160\150\151\163\155\145\54\40\143\157\156\143\145\160" "\164\151\157\156\40\144\145\40\154\47\151\156\164\145\162\146" "\141\143\145\40\147\162\141\160\150\151\161\165\145\40\145\164" "\40\154\157\147\157\40\72\12\40\114\141\162\163\40\115\165" "\154\144\152\157\162\144\40\133\155\165\154\144\152\157\162\144" "\135\40\50\155\165\154\144\152\157\162\144\154\141\162\163\100" "\147\155\141\151\154\56\143\157\155\51\12\12\104\303\251\166" "\145\154\157\160\160\145\165\162\40\72\12\40\107\157\162\141" "\156\40\115\145\153\151\304\207\40\133\155\145\153\141\135\40" "\50\155\145\153\141\100\164\151\154\144\141\56\143\145\156\164" "\145\162\51\12\12\104\303\251\166\145\154\157\160\160\145\165" "\162\40\72\12\40\124\150\145\40\115\141\162\154\142\157\162" "\157\40\115\141\156\40\133\124\150\145\115\141\162\154\142\157" "\162\157\115\141\156\135\12\12\122\165\163\164\151\156\145\163" "\40\72\12\40\112\157\150\156\40\110\141\155\155\145\156\40" "\50\163\165\160\160\157\162\164\40\155\165\154\164\151\143\141" "\156\141\154\40\144\47\303\251\143\150\141\156\164\151\154\154" "\157\156\163\51\12\12\124\162\141\144\165\143\164\151\157\156" "\40\145\156\40\146\162\141\156\303\247\141\151\163\12\40\117" "\154\151\166\151\145\162\40\110\165\155\142\145\162\164\40\133" "\164\162\145\142\155\165\150\135\40\50\164\162\145\142\155\165" "\150\100\164\165\170\146\141\155\151\154\171\56\157\162\147\51" "\12" }, { ":../BUGS", 251, "\111\146\40\163\157\155\145\164\150\151\156\147\40\151\163\40" "\156\157\164\40\167\157\162\153\151\156\147\40\141\163\40\145" "\170\160\145\143\164\145\144\54\40\151\164\47\163\40\160\162" "\157\142\141\142\154\171\40\157\165\162\40\146\141\165\154\164" "\40\141\156\144\40\167\145\40\144\157\156\47\164\12\153\156" "\157\167\40\141\142\157\165\164\40\151\164\40\171\145\164\56" "\40\123\157\54\40\151\146\40\171\157\165\40\150\141\160\160" "\145\156\40\164\157\40\146\151\156\144\40\141\40\142\165\147" "\54\40\160\154\145\141\163\145\40\162\145\160\157\162\164\40" "\151\164\40\164\157\40\165\163\12\142\171\40\145\151\164\150" "\145\162\40\167\162\151\164\151\156\147\40\141\156\40\145\155" "\141\151\154\40\157\162\40\152\157\151\156\151\156\147\40\165" "\163\40\157\156\40\111\122\103\72\12\150\164\164\160\163\72" "\57\57\167\145\142\143\150\141\164\56\146\162\145\145\156\157" "\144\145\56\156\145\164\57\77\143\150\141\156\156\145\154\163" "\75\144\162\165\155\147\151\172\155\157\12" }, { ":../BUGS.fr", 312, "\123\151\40\161\165\145\154\161\165\145\40\143\150\157\163\145" "\40\156\145\40\146\157\156\143\164\151\157\156\156\145\40\160" "\141\163\40\143\157\155\155\145\40\160\162\303\251\166\165\54" "\40\143\47\145\163\164\40\160\162\157\142\141\142\154\145\155" "\145\156\164\40\144\145\40\156\157\164\162\145\12\146\141\165" "\164\145\40\145\164\40\156\157\165\163\40\156\145\40\154\145" "\40\163\141\166\157\156\163\40\160\141\163\40\145\156\143\157" "\162\145\56\40\104\157\156\143\54\40\163\151\40\166\157\165" "\163\40\164\162\157\165\166\145\172\40\165\156\40\142\157\147" "\165\145\54\40\166\145\165\151\154\154\145\172\12\156\157\165" "\163\40\154\145\40\163\151\147\156\141\154\145\162\40\145\156" "\40\303\251\143\162\151\166\141\156\164\40\165\156\40\143\157" "\165\162\162\151\145\154\40\50\145\156\40\141\156\147\154\141" "\151\163\51\40\157\165\40\145\156\40\156\157\165\163\40\162" "\145\152\157\151\147\156\141\156\164\40\163\165\162\12\111\122" "\103\40\72\40\150\164\164\160\163\72\57\57\167\145\142\143" "\150\141\164\56\146\162\145\145\156\157\144\145\56\156\145\164" "\57\77\143\150\141\156\156\145\154\163\75\144\162\165\155\147" "\151\172\155\157\40\50\145\156\40\141\156\147\154\141\151\163" "\40\141\165\163\163\151\51\12" }, { ":../COPYING", 7651, "\40\40\40\40\40\40\40\40\40\40\40\40\40\40\40\40" "\40\40\40\107\116\125\40\114\105\123\123\105\122\40\107\105" "\116\105\122\101\114\40\120\125\102\114\111\103\40\114\111\103" "\105\116\123\105\12\40\40\40\40\40\40\40\40\40\40\40" "\40\40\40\40\40\40\40\40\40\40\40\40\126\145\162\163" "\151\157\156\40\63\54\40\62\71\40\112\165\156\145\40\62" "\60\60\67\12\12\40\103\157\160\171\162\151\147\150\164\40" "\50\103\51\40\62\60\60\67\40\106\162\145\145\40\123\157" "\146\164\167\141\162\145\40\106\157\165\156\144\141\164\151\157" "\156\54\40\111\156\143\56\40\74\150\164\164\160\72\57\57" "\146\163\146\56\157\162\147\57\76\12\40\105\166\145\162\171" "\157\156\145\40\151\163\40\160\145\162\155\151\164\164\145\144" "\40\164\157\40\143\157\160\171\40\141\156\144\40\144\151\163" "\164\162\151\142\165\164\145\40\166\145\162\142\141\164\151\155" "\40\143\157\160\151\145\163\12\40\157\146\40\164\150\151\163" "\40\154\151\143\145\156\163\145\40\144\157\143\165\155\145\156" "\164\54\40\142\165\164\40\143\150\141\156\147\151\156\147\40" "\151\164\40\151\163\40\156\157\164\40\141\154\154\157\167\145" "\144\56\12\12\12\40\40\124\150\151\163\40\166\145\162\163" "\151\157\156\40\157\146\40\164\150\145\40\107\116\125\40\114" "\145\163\163\145\162\40\107\145\156\145\162\141\154\40\120\165" "\142\154\151\143\40\114\151\143\145\156\163\145\40\151\156\143" "\157\162\160\157\162\141\164\145\163\12\164\150\145\40\164\145" "\162\155\163\40\141\156\144\40\143\157\156\144\151\164\151\157" "\156\163\40\157\146\40\166\145\162\163\151\157\156\40\63\40" "\157\146\40\164\150\145\40\107\116\125\40\107\145\156\145\162" "\141\154\40\120\165\142\154\151\143\12\114\151\143\145\156\163" "\145\54\40\163\165\160\160\154\145\155\145\156\164\145\144\40" "\142\171\40\164\150\145\40\141\144\144\151\164\151\157\156\141" "\154\40\160\145\162\155\151\163\163\151\157\156\163\40\154\151" "\163\164\145\144\40\142\145\154\157\167\56\12\12\40\40\60" "\56\40\101\144\144\151\164\151\157\156\141\154\40\104\145\146" "\151\156\151\164\151\157\156\163\56\12\12\40\40\101\163\40" "\165\163\145\144\40\150\145\162\145\151\156\54\40\42\164\150" "\151\163\40\114\151\143\145\156\163\145\42\40\162\145\146\145" "\162\163\40\164\157\40\166\145\162\163\151\157\156\40\63\40" "\157\146\40\164\150\145\40\107\116\125\40\114\145\163\163\145" "\162\12\107\145\156\145\162\141\154\40\120\165\142\154\151\143" "\40\114\151\143\145\156\163\145\54\40\141\156\144\40\164\150" "\145\40\42\107\116\125\40\107\120\114\42\40\162\145\146\145" "\162\163\40\164\157\40\166\145\162\163\151\157\156\40\63\40" "\157\146\40\164\150\145\40\107\116\125\12\107\145\156\145\162" "\141\154\40\120\165\142\154\151\143\40\114\151\143\145\156\163" "\145\56\12\12\40\40\42\124\150\145\40\114\151\142\162\141" "\162\171\42\40\162\145\146\145\162\163\40\164\157\40\141\40" "\143\157\166\145\162\145\144\40\167\157\162\153\40\147\157\166" "\145\162\156\145\144\40\142\171\40\164\150\151\163\40\114\151" "\143\145\156\163\145\54\12\157\164\150\145\162\40\164\150\141" "\156\40\141\156\40\101\160\160\154\151\143\141\164\151\157\156" "\40\157\162\40\141\40\103\157\155\142\151\156\145\144\40\127" "\157\162\153\40\141\163\40\144\145\146\151\156\145\144\40\142" "\145\154\157\167\56\12\12\40\40\101\156\40\42\101\160\160" "\154\151\143\141\164\151\157\156\42\40\151\163\40\141\156\171" "\40\167\157\162\153\40\164\150\141\164\40\155\141\153\145\163" "\40\165\163\145\40\157\146\40\141\156\40\151\156\164\145\162" "\146\141\143\145\40\160\162\157\166\151\144\145\144\12\142\171" "\40\164\150\145\40\114\151\142\162\141\162\171\54\40\142\165" "\164\40\167\150\151\143\150\40\151\163\40\156\157\164\40\157" "\164\150\145\162\167\151\163\145\40\142\141\163\145\144\40\157" "\156\40\164\150\145\40\114\151\142\162\141\162\171\56\12\104" "\145\146\151\156\151\156\147\40\141\40\163\165\142\143\154\141" "\163\163\40\157\146\40\141\40\143\154\141\163\163\40\144\145" "\146\151\156\145\144\40\142\171\40\164\150\145\40\114\151\142" "\162\141\162\171\40\151\163\40\144\145\145\155\145\144\40\141" "\40\155\157\144\145\12\157\146\40\165\163\151\156\147\40\141" "\156\40\151\156\164\145\162\146\141\143\145\40\160\162\157\166" "\151\144\145\144\40\142\171\40\164\150\145\40\114\151\142\162" "\141\162\171\56\12\12\40\40\101\40\42\103\157\155\142\151" "\156\145\144\40\127\157\162\153\42\40\151\163\40\141\40\167" "\157\162\153\40\160\162\157\144\165\143\145\144\40\142\171\40" "\143\157\155\142\151\156\151\156\147\40\157\162\40\154\151\156" "\153\151\156\147\40\141\156\12\101\160\160\154\151\143\141\164" "\151\157\156\40\167\151\164\150\40\164\150\145\40\114\151\142" "\162\141\162\171\56\40\40\124\150\145\40\160\141\162\164\151" "\143\165\154\141\162\40\166\145\162\163\151\157\156\40\157\146" "\40\164\150\145\40\114\151\142\162\141\162\171\12\167\151\164" "\150\40\167\150\151\143\150\40\164\150\145\40\103\157\155\142" "\151\156\145\144\40\127\157\162\153\40\167\141\163\40\155\141" "\144\145\40\151\163\40\141\154\163\157\40\143\141\154\154\145" "\144\40\164\150\145\40\42\114\151\156\153\145\144\12\126\145" "\162\163\151\157\156\42\56\12\12\40\40\124\150\145\40\42" "\115\151\156\151\155\141\154\40\103\157\162\162\145\163\160\157" "\156\144\151\156\147\40\123\157\165\162\143\145\42\40\146\157" "\162\40\141\40\103\157\155\142\151\156\145\144\40\127\157\162" "\153\40\155\145\141\156\163\40\164\150\145\12\103\157\162\162" "\145\163\160\157\156\144\151\156\147\40\123\157\165\162\143\145" "\40\146\157\162\40\164\150\145\40\103\157\155\142\151\156\145" "\144\40\127\157\162\153\54\40\145\170\143\154\165\144\151\156" "\147\40\141\156\171\40\163\157\165\162\143\145\40\143\157\144" "\145\12\146\157\162\40\160\157\162\164\151\157\156\163\40\157" "\146\40\164\150\145\40\103\157\155\142\151\156\145\144\40\127" "\157\162\153\40\164\150\141\164\54\40\143\157\156\163\151\144" "\145\162\145\144\40\151\156\40\151\163\157\154\141\164\151\157" "\156\54\40\141\162\145\12\142\141\163\145\144\40\157\156\40" "\164\150\145\40\101\160\160\154\151\143\141\164\151\157\156\54" "\40\141\156\144\40\156\157\164\40\157\156\40\164\150\145\40" "\114\151\156\153\145\144\40\126\145\162\163\151\157\156\56\12" "\12\40\40\124\150\145\40\42\103\157\162\162\145\163\160\157" "\156\144\151\156\147\40\101\160\160\154\151\143\141\164\151\157" "\156\40\103\157\144\145\42\40\146\157\162\40\141\40\103\157" "\155\142\151\156\145\144\40\127\157\162\153\40\155\145\141\156" "\163\40\164\150\145\12\157\142\152\145\143\164\40\143\157\144" "\145\40\141\156\144\57\157\162\40\163\157\165\162\143\145\40" "\143\157\144\145\40\146\157\162\40\164\150\145\40\101\160\160" "\154\151\143\141\164\151\157\156\54\40\151\156\143\154\165\144" "\151\156\147\40\141\156\171\40\144\141\164\141\12\141\156\144" "\40\165\164\151\154\151\164\171\40\160\162\157\147\162\141\155" "\163\40\156\145\145\144\145\144\40\146\157\162\40\162\145\160" "\162\157\144\165\143\151\156\147\40\164\150\145\40\103\157\155" "\142\151\156\145\144\40\127\157\162\153\40\146\162\157\155\40" "\164\150\145\12\101\160\160\154\151\143\141\164\151\157\156\54" "\40\142\165\164\40\145\170\143\154\165\144\151\156\147\40\164" "\150\145\40\123\171\163\164\145\155\40\114\151\142\162\141\162" "\151\145\163\40\157\146\40\164\150\145\40\103\157\155\142\151" "\156\145\144\40\127\157\162\153\56\12\12\40\40\61\56\40" "\105\170\143\145\160\164\151\157\156\40\164\157\40\123\145\143" "\164\151\157\156\40\63\40\157\146\40\164\150\145\40\107\116" "\125\40\107\120\114\56\12\12\40\40\131\157\165\40\155\141" "\171\40\143\157\156\166\145\171\40\141\40\143\157\166\145\162" "\145\144\40\167\157\162\153\40\165\156\144\145\162\40\163\145" "\143\164\151\157\156\163\40\63\40\141\156\144\40\64\40\157" "\146\40\164\150\151\163\40\114\151\143\145\156\163\145\12\167" "\151\164\150\157\165\164\40\142\145\151\156\147\40\142\157\165" "\156\144\40\142\171\40\163\145\143\164\151\157\156\40\63\40" "\157\146\40\164\150\145\40\107\116\125\40\107\120\114\56\12" "\12\40\40\62\56\40\103\157\156\166\145\171\151\156\147\40" "\115\157\144\151\146\151\145\144\40\126\145\162\163\151\157\156" "\163\56\12\12\40\40\111\146\40\171\157\165\40\155\157\144" "\151\146\171\40\141\40\143\157\160\171\40\157\146\40\164\150" "\145\40\114\151\142\162\141\162\171\54\40\141\156\144\54\40" "\151\156\40\171\157\165\162\40\155\157\144\151\146\151\143\141" "\164\151\157\156\163\54\40\141\12\146\141\143\151\154\151\164" "\171\40\162\145\146\145\162\163\40\164\157\40\141\40\146\165" "\156\143\164\151\157\156\40\157\162\40\144\141\164\141\40\164" "\157\40\142\145\40\163\165\160\160\154\151\145\144\40\142\171" "\40\141\156\40\101\160\160\154\151\143\141\164\151\157\156\12" "\164\150\141\164\40\165\163\145\163\40\164\150\145\40\146\141" "\143\151\154\151\164\171\40\50\157\164\150\145\162\40\164\150" "\141\156\40\141\163\40\141\156\40\141\162\147\165\155\145\156" "\164\40\160\141\163\163\145\144\40\167\150\145\156\40\164\150" "\145\12\146\141\143\151\154\151\164\171\40\151\163\40\151\156" "\166\157\153\145\144\51\54\40\164\150\145\156\40\171\157\165" "\40\155\141\171\40\143\157\156\166\145\171\40\141\40\143\157" "\160\171\40\157\146\40\164\150\145\40\155\157\144\151\146\151" "\145\144\12\166\145\162\163\151\157\156\72\12\12\40\40\40" "\141\51\40\165\156\144\145\162\40\164\150\151\163\40\114\151" "\143\145\156\163\145\54\40\160\162\157\166\151\144\145\144\40" "\164\150\141\164\40\171\157\165\40\155\141\153\145\40\141\40" "\147\157\157\144\40\146\141\151\164\150\40\145\146\146\157\162" "\164\40\164\157\12\40\40\40\145\156\163\165\162\145\40\164" "\150\141\164\54\40\151\156\40\164\150\145\40\145\166\145\156" "\164\40\141\156\40\101\160\160\154\151\143\141\164\151\157\156" "\40\144\157\145\163\40\156\157\164\40\163\165\160\160\154\171" "\40\164\150\145\12\40\40\40\146\165\156\143\164\151\157\156" "\40\157\162\40\144\141\164\141\54\40\164\150\145\40\146\141" "\143\151\154\151\164\171\40\163\164\151\154\154\40\157\160\145" "\162\141\164\145\163\54\40\141\156\144\40\160\145\162\146\157" "\162\155\163\12\40\40\40\167\150\141\164\145\166\145\162\40" "\160\141\162\164\40\157\146\40\151\164\163\40\160\165\162\160" "\157\163\145\40\162\145\155\141\151\156\163\40\155\145\141\156" "\151\156\147\146\165\154\54\40\157\162\12\12\40\40\40\142" "\51\40\165\156\144\145\162\40\164\150\145\40\107\116\125\40" "\107\120\114\54\40\167\151\164\150\40\156\157\156\145\40\157" "\146\40\164\150\145\40\141\144\144\151\164\151\157\156\141\154" "\40\160\145\162\155\151\163\163\151\157\156\163\40\157\146\12" "\40\40\40\164\150\151\163\40\114\151\143\145\156\163\145\40" "\141\160\160\154\151\143\141\142\154\145\40\164\157\40\164\150" "\141\164\40\143\157\160\171\56\12\12\40\40\63\56\40\117" "\142\152\145\143\164\40\103\157\144\145\40\111\156\143\157\162" "\160\157\162\141\164\151\156\147\40\115\141\164\145\162\151\141" "\154\40\146\162\157\155\40\114\151\142\162\141\162\171\40\110" "\145\141\144\145\162\40\106\151\154\145\163\56\12\12\40\40" "\124\150\145\40\157\142\152\145\143\164\40\143\157\144\145\40" "\146\157\162\155\40\157\146\40\141\156\40\101\160\160\154\151" "\143\141\164\151\157\156\40\155\141\171\40\151\156\143\157\162" "\160\157\162\141\164\145\40\155\141\164\145\162\151\141\154\40" "\146\162\157\155\12\141\40\150\145\141\144\145\162\40\146\151" "\154\145\40\164\150\141\164\40\151\163\40\160\141\162\164\40" "\157\146\40\164\150\145\40\114\151\142\162\141\162\171\56\40" "\40\131\157\165\40\155\141\171\40\143\157\156\166\145\171\40" "\163\165\143\150\40\157\142\152\145\143\164\12\143\157\144\145" "\40\165\156\144\145\162\40\164\145\162\155\163\40\157\146\40" "\171\157\165\162\40\143\150\157\151\143\145\54\40\160\162\157" "\166\151\144\145\144\40\164\150\141\164\54\40\151\146\40\164" "\150\145\40\151\156\143\157\162\160\157\162\141\164\145\144\12" "\155\141\164\145\162\151\141\154\40\151\163\40\156\157\164\40" "\154\151\155\151\164\145\144\40\164\157\40\156\165\155\145\162" "\151\143\141\154\40\160\141\162\141\155\145\164\145\162\163\54" "\40\144\141\164\141\40\163\164\162\165\143\164\165\162\145\12" "\154\141\171\157\165\164\163\40\141\156\144\40\141\143\143\145" "\163\163\157\162\163\54\40\157\162\40\163\155\141\154\154\40" "\155\141\143\162\157\163\54\40\151\156\154\151\156\145\40\146" "\165\156\143\164\151\157\156\163\40\141\156\144\40\164\145\155" "\160\154\141\164\145\163\12\50\164\145\156\40\157\162\40\146" "\145\167\145\162\40\154\151\156\145\163\40\151\156\40\154\145" "\156\147\164\150\51\54\40\171\157\165\40\144\157\40\142\157" "\164\150\40\157\146\40\164\150\145\40\146\157\154\154\157\167" "\151\156\147\72\12\12\40\40\40\141\51\40\107\151\166\145" "\40\160\162\157\155\151\156\145\156\164\40\156\157\164\151\143" "\145\40\167\151\164\150\40\145\141\143\150\40\143\157\160\171" "\40\157\146\40\164\150\145\40\157\142\152\145\143\164\40\143" "\157\144\145\40\164\150\141\164\40\164\150\145\12\40\40\40" "\114\151\142\162\141\162\171\40\151\163\40\165\163\145\144\40" "\151\156\40\151\164\40\141\156\144\40\164\150\141\164\40\164" "\150\145\40\114\151\142\162\141\162\171\40\141\156\144\40\151" "\164\163\40\165\163\145\40\141\162\145\12\40\40\40\143\157" "\166\145\162\145\144\40\142\171\40\164\150\151\163\40\114\151" "\143\145\156\163\145\56\12\12\40\40\40\142\51\40\101\143" "\143\157\155\160\141\156\171\40\164\150\145\40\157\142\152\145" "\143\164\40\143\157\144\145\40\167\151\164\150\40\141\40\143" "\157\160\171\40\157\146\40\164\150\145\40\107\116\125\40\107" "\120\114\40\141\156\144\40\164\150\151\163\40\154\151\143\145" "\156\163\145\12\40\40\40\144\157\143\165\155\145\156\164\56" "\12\12\40\40\64\56\40\103\157\155\142\151\156\145\144\40" "\127\157\162\153\163\56\12\12\40\40\131\157\165\40\155\141" "\171\40\143\157\156\166\145\171\40\141\40\103\157\155\142\151" "\156\145\144\40\127\157\162\153\40\165\156\144\145\162\40\164" "\145\162\155\163\40\157\146\40\171\157\165\162\40\143\150\157" "\151\143\145\40\164\150\141\164\54\12\164\141\153\145\156\40" "\164\157\147\145\164\150\145\162\54\40\145\146\146\145\143\164" "\151\166\145\154\171\40\144\157\40\156\157\164\40\162\145\163" "\164\162\151\143\164\40\155\157\144\151\146\151\143\141\164\151" "\157\156\40\157\146\40\164\150\145\12\160\157\162\164\151\157" "\156\163\40\157\146\40\164\150\145\40\114\151\142\162\141\162" "\171\40\143\157\156\164\141\151\156\145\144\40\151\156\40\164" "\150\145\40\103\157\155\142\151\156\145\144\40\127\157\162\153" "\40\141\156\144\40\162\145\166\145\162\163\145\12\145\156\147" "\151\156\145\145\162\151\156\147\40\146\157\162\40\144\145\142" "\165\147\147\151\156\147\40\163\165\143\150\40\155\157\144\151" "\146\151\143\141\164\151\157\156\163\54\40\151\146\40\171\157" "\165\40\141\154\163\157\40\144\157\40\145\141\143\150\40\157" "\146\12\164\150\145\40\146\157\154\154\157\167\151\156\147\72" "\12\12\40\40\40\141\51\40\107\151\166\145\40\160\162\157" "\155\151\156\145\156\164\40\156\157\164\151\143\145\40\167\151" "\164\150\40\145\141\143\150\40\143\157\160\171\40\157\146\40" "\164\150\145\40\103\157\155\142\151\156\145\144\40\127\157\162" "\153\40\164\150\141\164\12\40\40\40\164\150\145\40\114\151" "\142\162\141\162\171\40\151\163\40\165\163\145\144\40\151\156" "\40\151\164\40\141\156\144\40\164\150\141\164\40\164\150\145" "\40\114\151\142\162\141\162\171\40\141\156\144\40\151\164\163" "\40\165\163\145\40\141\162\145\12\40\40\40\143\157\166\145" "\162\145\144\40\142\171\40\164\150\151\163\40\114\151\143\145" "\156\163\145\56\12\12\40\40\40\142\51\40\101\143\143\157" "\155\160\141\156\171\40\164\150\145\40\103\157\155\142\151\156" "\145\144\40\127\157\162\153\40\167\151\164\150\40\141\40\143" "\157\160\171\40\157\146\40\164\150\145\40\107\116\125\40\107" "\120\114\40\141\156\144\40\164\150\151\163\40\154\151\143\145" "\156\163\145\12\40\40\40\144\157\143\165\155\145\156\164\56" "\12\12\40\40\40\143\51\40\106\157\162\40\141\40\103\157" "\155\142\151\156\145\144\40\127\157\162\153\40\164\150\141\164" "\40\144\151\163\160\154\141\171\163\40\143\157\160\171\162\151" "\147\150\164\40\156\157\164\151\143\145\163\40\144\165\162\151" "\156\147\12\40\40\40\145\170\145\143\165\164\151\157\156\54" "\40\151\156\143\154\165\144\145\40\164\150\145\40\143\157\160" "\171\162\151\147\150\164\40\156\157\164\151\143\145\40\146\157" "\162\40\164\150\145\40\114\151\142\162\141\162\171\40\141\155" "\157\156\147\12\40\40\40\164\150\145\163\145\40\156\157\164" "\151\143\145\163\54\40\141\163\40\167\145\154\154\40\141\163" "\40\141\40\162\145\146\145\162\145\156\143\145\40\144\151\162" "\145\143\164\151\156\147\40\164\150\145\40\165\163\145\162\40" "\164\157\40\164\150\145\12\40\40\40\143\157\160\151\145\163" "\40\157\146\40\164\150\145\40\107\116\125\40\107\120\114\40" "\141\156\144\40\164\150\151\163\40\154\151\143\145\156\163\145" "\40\144\157\143\165\155\145\156\164\56\12\12\40\40\40\144" "\51\40\104\157\40\157\156\145\40\157\146\40\164\150\145\40" "\146\157\154\154\157\167\151\156\147\72\12\12\40\40\40\40" "\40\40\40\60\51\40\103\157\156\166\145\171\40\164\150\145" "\40\115\151\156\151\155\141\154\40\103\157\162\162\145\163\160" "\157\156\144\151\156\147\40\123\157\165\162\143\145\40\165\156" "\144\145\162\40\164\150\145\40\164\145\162\155\163\40\157\146" "\40\164\150\151\163\12\40\40\40\40\40\40\40\114\151\143" "\145\156\163\145\54\40\141\156\144\40\164\150\145\40\103\157" "\162\162\145\163\160\157\156\144\151\156\147\40\101\160\160\154" "\151\143\141\164\151\157\156\40\103\157\144\145\40\151\156\40" "\141\40\146\157\162\155\12\40\40\40\40\40\40\40\163\165" "\151\164\141\142\154\145\40\146\157\162\54\40\141\156\144\40" "\165\156\144\145\162\40\164\145\162\155\163\40\164\150\141\164" "\40\160\145\162\155\151\164\54\40\164\150\145\40\165\163\145" "\162\40\164\157\12\40\40\40\40\40\40\40\162\145\143\157" "\155\142\151\156\145\40\157\162\40\162\145\154\151\156\153\40" "\164\150\145\40\101\160\160\154\151\143\141\164\151\157\156\40" "\167\151\164\150\40\141\40\155\157\144\151\146\151\145\144\40" "\166\145\162\163\151\157\156\40\157\146\12\40\40\40\40\40" "\40\40\164\150\145\40\114\151\156\153\145\144\40\126\145\162" "\163\151\157\156\40\164\157\40\160\162\157\144\165\143\145\40" "\141\40\155\157\144\151\146\151\145\144\40\103\157\155\142\151" "\156\145\144\40\127\157\162\153\54\40\151\156\40\164\150\145" "\12\40\40\40\40\40\40\40\155\141\156\156\145\162\40\163" "\160\145\143\151\146\151\145\144\40\142\171\40\163\145\143\164" "\151\157\156\40\66\40\157\146\40\164\150\145\40\107\116\125" "\40\107\120\114\40\146\157\162\40\143\157\156\166\145\171\151" "\156\147\12\40\40\40\40\40\40\40\103\157\162\162\145\163" "\160\157\156\144\151\156\147\40\123\157\165\162\143\145\56\12" "\12\40\40\40\40\40\40\40\61\51\40\125\163\145\40\141" "\40\163\165\151\164\141\142\154\145\40\163\150\141\162\145\144" "\40\154\151\142\162\141\162\171\40\155\145\143\150\141\156\151" "\163\155\40\146\157\162\40\154\151\156\153\151\156\147\40\167" "\151\164\150\40\164\150\145\12\40\40\40\40\40\40\40\114" "\151\142\162\141\162\171\56\40\40\101\40\163\165\151\164\141" "\142\154\145\40\155\145\143\150\141\156\151\163\155\40\151\163" "\40\157\156\145\40\164\150\141\164\40\50\141\51\40\165\163" "\145\163\40\141\164\40\162\165\156\40\164\151\155\145\12\40" "\40\40\40\40\40\40\141\40\143\157\160\171\40\157\146\40" "\164\150\145\40\114\151\142\162\141\162\171\40\141\154\162\145" "\141\144\171\40\160\162\145\163\145\156\164\40\157\156\40\164" "\150\145\40\165\163\145\162\47\163\40\143\157\155\160\165\164" "\145\162\12\40\40\40\40\40\40\40\163\171\163\164\145\155" "\54\40\141\156\144\40\50\142\51\40\167\151\154\154\40\157" "\160\145\162\141\164\145\40\160\162\157\160\145\162\154\171\40" "\167\151\164\150\40\141\40\155\157\144\151\146\151\145\144\40" "\166\145\162\163\151\157\156\12\40\40\40\40\40\40\40\157" "\146\40\164\150\145\40\114\151\142\162\141\162\171\40\164\150" "\141\164\40\151\163\40\151\156\164\145\162\146\141\143\145\55" "\143\157\155\160\141\164\151\142\154\145\40\167\151\164\150\40" "\164\150\145\40\114\151\156\153\145\144\12\40\40\40\40\40" "\40\40\126\145\162\163\151\157\156\56\12\12\40\40\40\145" "\51\40\120\162\157\166\151\144\145\40\111\156\163\164\141\154" "\154\141\164\151\157\156\40\111\156\146\157\162\155\141\164\151" "\157\156\54\40\142\165\164\40\157\156\154\171\40\151\146\40" "\171\157\165\40\167\157\165\154\144\40\157\164\150\145\162\167" "\151\163\145\12\40\40\40\142\145\40\162\145\161\165\151\162" "\145\144\40\164\157\40\160\162\157\166\151\144\145\40\163\165" "\143\150\40\151\156\146\157\162\155\141\164\151\157\156\40\165" "\156\144\145\162\40\163\145\143\164\151\157\156\40\66\40\157" "\146\40\164\150\145\12\40\40\40\107\116\125\40\107\120\114" "\54\40\141\156\144\40\157\156\154\171\40\164\157\40\164\150" "\145\40\145\170\164\145\156\164\40\164\150\141\164\40\163\165" "\143\150\40\151\156\146\157\162\155\141\164\151\157\156\40\151" "\163\12\40\40\40\156\145\143\145\163\163\141\162\171\40\164" "\157\40\151\156\163\164\141\154\154\40\141\156\144\40\145\170" "\145\143\165\164\145\40\141\40\155\157\144\151\146\151\145\144" "\40\166\145\162\163\151\157\156\40\157\146\40\164\150\145\12" "\40\40\40\103\157\155\142\151\156\145\144\40\127\157\162\153" "\40\160\162\157\144\165\143\145\144\40\142\171\40\162\145\143" "\157\155\142\151\156\151\156\147\40\157\162\40\162\145\154\151" "\156\153\151\156\147\40\164\150\145\12\40\40\40\101\160\160" "\154\151\143\141\164\151\157\156\40\167\151\164\150\40\141\40" "\155\157\144\151\146\151\145\144\40\166\145\162\163\151\157\156" "\40\157\146\40\164\150\145\40\114\151\156\153\145\144\40\126" "\145\162\163\151\157\156\56\40\50\111\146\12\40\40\40\171" "\157\165\40\165\163\145\40\157\160\164\151\157\156\40\64\144" "\60\54\40\164\150\145\40\111\156\163\164\141\154\154\141\164" "\151\157\156\40\111\156\146\157\162\155\141\164\151\157\156\40" "\155\165\163\164\40\141\143\143\157\155\160\141\156\171\12\40" "\40\40\164\150\145\40\115\151\156\151\155\141\154\40\103\157" "\162\162\145\163\160\157\156\144\151\156\147\40\123\157\165\162" "\143\145\40\141\156\144\40\103\157\162\162\145\163\160\157\156" "\144\151\156\147\40\101\160\160\154\151\143\141\164\151\157\156" "\12\40\40\40\103\157\144\145\56\40\111\146\40\171\157\165" "\40\165\163\145\40\157\160\164\151\157\156\40\64\144\61\54" "\40\171\157\165\40\155\165\163\164\40\160\162\157\166\151\144" "\145\40\164\150\145\40\111\156\163\164\141\154\154\141\164\151" "\157\156\12\40\40\40\111\156\146\157\162\155\141\164\151\157" "\156\40\151\156\40\164\150\145\40\155\141\156\156\145\162\40" "\163\160\145\143\151\146\151\145\144\40\142\171\40\163\145\143" "\164\151\157\156\40\66\40\157\146\40\164\150\145\40\107\116" "\125\40\107\120\114\12\40\40\40\146\157\162\40\143\157\156" "\166\145\171\151\156\147\40\103\157\162\162\145\163\160\157\156" "\144\151\156\147\40\123\157\165\162\143\145\56\51\12\12\40" "\40\65\56\40\103\157\155\142\151\156\145\144\40\114\151\142" "\162\141\162\151\145\163\56\12\12\40\40\131\157\165\40\155" "\141\171\40\160\154\141\143\145\40\154\151\142\162\141\162\171" "\40\146\141\143\151\154\151\164\151\145\163\40\164\150\141\164" "\40\141\162\145\40\141\40\167\157\162\153\40\142\141\163\145" "\144\40\157\156\40\164\150\145\12\114\151\142\162\141\162\171" "\40\163\151\144\145\40\142\171\40\163\151\144\145\40\151\156" "\40\141\40\163\151\156\147\154\145\40\154\151\142\162\141\162" "\171\40\164\157\147\145\164\150\145\162\40\167\151\164\150\40" "\157\164\150\145\162\40\154\151\142\162\141\162\171\12\146\141" "\143\151\154\151\164\151\145\163\40\164\150\141\164\40\141\162" "\145\40\156\157\164\40\101\160\160\154\151\143\141\164\151\157" "\156\163\40\141\156\144\40\141\162\145\40\156\157\164\40\143" "\157\166\145\162\145\144\40\142\171\40\164\150\151\163\12\114" "\151\143\145\156\163\145\54\40\141\156\144\40\143\157\156\166" "\145\171\40\163\165\143\150\40\141\40\143\157\155\142\151\156" "\145\144\40\154\151\142\162\141\162\171\40\165\156\144\145\162" "\40\164\145\162\155\163\40\157\146\40\171\157\165\162\12\143" "\150\157\151\143\145\54\40\151\146\40\171\157\165\40\144\157" "\40\142\157\164\150\40\157\146\40\164\150\145\40\146\157\154" "\154\157\167\151\156\147\72\12\12\40\40\40\141\51\40\101" "\143\143\157\155\160\141\156\171\40\164\150\145\40\143\157\155" "\142\151\156\145\144\40\154\151\142\162\141\162\171\40\167\151" "\164\150\40\141\40\143\157\160\171\40\157\146\40\164\150\145" "\40\163\141\155\145\40\167\157\162\153\40\142\141\163\145\144" "\12\40\40\40\157\156\40\164\150\145\40\114\151\142\162\141" "\162\171\54\40\165\156\143\157\155\142\151\156\145\144\40\167" "\151\164\150\40\141\156\171\40\157\164\150\145\162\40\154\151" "\142\162\141\162\171\40\146\141\143\151\154\151\164\151\145\163" "\54\12\40\40\40\143\157\156\166\145\171\145\144\40\165\156" "\144\145\162\40\164\150\145\40\164\145\162\155\163\40\157\146" "\40\164\150\151\163\40\114\151\143\145\156\163\145\56\12\12" "\40\40\40\142\51\40\107\151\166\145\40\160\162\157\155\151" "\156\145\156\164\40\156\157\164\151\143\145\40\167\151\164\150" "\40\164\150\145\40\143\157\155\142\151\156\145\144\40\154\151" "\142\162\141\162\171\40\164\150\141\164\40\160\141\162\164\40" "\157\146\40\151\164\12\40\40\40\151\163\40\141\40\167\157" "\162\153\40\142\141\163\145\144\40\157\156\40\164\150\145\40" "\114\151\142\162\141\162\171\54\40\141\156\144\40\145\170\160" "\154\141\151\156\151\156\147\40\167\150\145\162\145\40\164\157" "\40\146\151\156\144\40\164\150\145\12\40\40\40\141\143\143" "\157\155\160\141\156\171\151\156\147\40\165\156\143\157\155\142" "\151\156\145\144\40\146\157\162\155\40\157\146\40\164\150\145" "\40\163\141\155\145\40\167\157\162\153\56\12\12\40\40\66" "\56\40\122\145\166\151\163\145\144\40\126\145\162\163\151\157" "\156\163\40\157\146\40\164\150\145\40\107\116\125\40\114\145" "\163\163\145\162\40\107\145\156\145\162\141\154\40\120\165\142" "\154\151\143\40\114\151\143\145\156\163\145\56\12\12\40\40" "\124\150\145\40\106\162\145\145\40\123\157\146\164\167\141\162" "\145\40\106\157\165\156\144\141\164\151\157\156\40\155\141\171" "\40\160\165\142\154\151\163\150\40\162\145\166\151\163\145\144" "\40\141\156\144\57\157\162\40\156\145\167\40\166\145\162\163" "\151\157\156\163\12\157\146\40\164\150\145\40\107\116\125\40" "\114\145\163\163\145\162\40\107\145\156\145\162\141\154\40\120" "\165\142\154\151\143\40\114\151\143\145\156\163\145\40\146\162" "\157\155\40\164\151\155\145\40\164\157\40\164\151\155\145\56" "\40\123\165\143\150\40\156\145\167\12\166\145\162\163\151\157" "\156\163\40\167\151\154\154\40\142\145\40\163\151\155\151\154" "\141\162\40\151\156\40\163\160\151\162\151\164\40\164\157\40" "\164\150\145\40\160\162\145\163\145\156\164\40\166\145\162\163" "\151\157\156\54\40\142\165\164\40\155\141\171\12\144\151\146" "\146\145\162\40\151\156\40\144\145\164\141\151\154\40\164\157" "\40\141\144\144\162\145\163\163\40\156\145\167\40\160\162\157" "\142\154\145\155\163\40\157\162\40\143\157\156\143\145\162\156" "\163\56\12\12\40\40\105\141\143\150\40\166\145\162\163\151" "\157\156\40\151\163\40\147\151\166\145\156\40\141\40\144\151" "\163\164\151\156\147\165\151\163\150\151\156\147\40\166\145\162" "\163\151\157\156\40\156\165\155\142\145\162\56\40\111\146\40" "\164\150\145\12\114\151\142\162\141\162\171\40\141\163\40\171" "\157\165\40\162\145\143\145\151\166\145\144\40\151\164\40\163" "\160\145\143\151\146\151\145\163\40\164\150\141\164\40\141\40" "\143\145\162\164\141\151\156\40\156\165\155\142\145\162\145\144" "\40\166\145\162\163\151\157\156\12\157\146\40\164\150\145\40" "\107\116\125\40\114\145\163\163\145\162\40\107\145\156\145\162" "\141\154\40\120\165\142\154\151\143\40\114\151\143\145\156\163" "\145\40\42\157\162\40\141\156\171\40\154\141\164\145\162\40" "\166\145\162\163\151\157\156\42\12\141\160\160\154\151\145\163" "\40\164\157\40\151\164\54\40\171\157\165\40\150\141\166\145" "\40\164\150\145\40\157\160\164\151\157\156\40\157\146\40\146" "\157\154\154\157\167\151\156\147\40\164\150\145\40\164\145\162" "\155\163\40\141\156\144\12\143\157\156\144\151\164\151\157\156" "\163\40\145\151\164\150\145\162\40\157\146\40\164\150\141\164" "\40\160\165\142\154\151\163\150\145\144\40\166\145\162\163\151" "\157\156\40\157\162\40\157\146\40\141\156\171\40\154\141\164" "\145\162\40\166\145\162\163\151\157\156\12\160\165\142\154\151" "\163\150\145\144\40\142\171\40\164\150\145\40\106\162\145\145" "\40\123\157\146\164\167\141\162\145\40\106\157\165\156\144\141" "\164\151\157\156\56\40\111\146\40\164\150\145\40\114\151\142" "\162\141\162\171\40\141\163\40\171\157\165\12\162\145\143\145" "\151\166\145\144\40\151\164\40\144\157\145\163\40\156\157\164" "\40\163\160\145\143\151\146\171\40\141\40\166\145\162\163\151" "\157\156\40\156\165\155\142\145\162\40\157\146\40\164\150\145" "\40\107\116\125\40\114\145\163\163\145\162\12\107\145\156\145" "\162\141\154\40\120\165\142\154\151\143\40\114\151\143\145\156" "\163\145\54\40\171\157\165\40\155\141\171\40\143\150\157\157" "\163\145\40\141\156\171\40\166\145\162\163\151\157\156\40\157" "\146\40\164\150\145\40\107\116\125\40\114\145\163\163\145\162" "\12\107\145\156\145\162\141\154\40\120\165\142\154\151\143\40" "\114\151\143\145\156\163\145\40\145\166\145\162\40\160\165\142" "\154\151\163\150\145\144\40\142\171\40\164\150\145\40\106\162" "\145\145\40\123\157\146\164\167\141\162\145\40\106\157\165\156" "\144\141\164\151\157\156\56\12\12\40\40\111\146\40\164\150" "\145\40\114\151\142\162\141\162\171\40\141\163\40\171\157\165" "\40\162\145\143\145\151\166\145\144\40\151\164\40\163\160\145" "\143\151\146\151\145\163\40\164\150\141\164\40\141\40\160\162" "\157\170\171\40\143\141\156\40\144\145\143\151\144\145\12\167" "\150\145\164\150\145\162\40\146\165\164\165\162\145\40\166\145" "\162\163\151\157\156\163\40\157\146\40\164\150\145\40\107\116" "\125\40\114\145\163\163\145\162\40\107\145\156\145\162\141\154" "\40\120\165\142\154\151\143\40\114\151\143\145\156\163\145\40" "\163\150\141\154\154\12\141\160\160\154\171\54\40\164\150\141" "\164\40\160\162\157\170\171\47\163\40\160\165\142\154\151\143" "\40\163\164\141\164\145\155\145\156\164\40\157\146\40\141\143" "\143\145\160\164\141\156\143\145\40\157\146\40\141\156\171\40" "\166\145\162\163\151\157\156\40\151\163\12\160\145\162\155\141" "\156\145\156\164\40\141\165\164\150\157\162\151\172\141\164\151" "\157\156\40\146\157\162\40\171\157\165\40\164\157\40\143\150" "\157\157\163\145\40\164\150\141\164\40\166\145\162\163\151\157" "\156\40\146\157\162\40\164\150\145\12\114\151\142\162\141\162" "\171\56\12" }, { "", 0, 0 } }; const rc_data_t* rc_data = rc_dataX; drumgizmo-0.9.20/plugingui/statusframecontent.h0000644000076400007640000000441714177030654016672 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * statusframecontent.h * * Fri Mar 24 21:49:50 CET 2017 * Copyright 2017 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include "settings.h" #include #include class SettingsNotifier; namespace GUI { class StatusframeContent : public dggui::Widget { public: StatusframeContent(dggui::Widget* parent, SettingsNotifier& settings_notifier); // From Widget virtual void resize(std::size_t width, std::size_t height) override; void updateContent(); void updateDrumkitLoadStatus(LoadStatus load_status); void updateDrumkitName(const std::string& drumkit_name); void updateDrumkitDescription(const std::string& drumkit_description); void updateDrumkitVersion(const std::string& drumkit_version); void updateMidimapLoadStatus(LoadStatus load_status); void updateBufferSize(std::size_t buffer_size); void updateNumberOfUnderruns(std::size_t number_of_underruns); void loadStatusTextChanged(const std::string& text); private: dggui::TextEdit text_field{this}; SettingsNotifier& settings_notifier; std::string drumkit_load_status; std::string drumkit_name; std::string drumkit_description; std::string drumkit_version; std::string midimap_load_status; std::string buffer_size; std::string number_of_underruns; std::string messages; }; } // GUI:: drumgizmo-0.9.20/plugingui/humaniservisualiser.h0000644000076400007640000000567114177030654017046 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * humaniservisualiser.h * * Fri Jun 15 19:09:18 CEST 2018 * Copyright 2018 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include struct Settings; class SettingsNotifier; namespace GUI { class HumaniserVisualiser : public dggui::Widget { public: HumaniserVisualiser(dggui::Widget* parent, Settings& settings, SettingsNotifier& settings_notifier); // From Widget: virtual void repaintEvent(dggui::RepaintEvent *repaintEvent) override; virtual void resize(std::size_t width, std::size_t height) override; private: dggui::TexturedBox box{getImageCache(), ":resources/widget.png", 0, 0, // atlas offset (x, y) 7, 1, 7, // dx1, dx2, dx3 7, 63, 7}; // dy1, dy2, dy3 class Canvas : public dggui::Widget { public: Canvas(dggui::Widget* parent, Settings& settings, SettingsNotifier& settings_notifier); // From Widget: virtual void repaintEvent(dggui::RepaintEvent *repaintEvent) override; void latencyEnabledChanged(bool enabled); void velocityEnabledChanged(bool enabled); void latencyOffsetChanged(float offset); void velocityOffsetChanged(float offset); void latencyStddevChanged(float stddev); void latencyLaidbackChanged(float laidback); void velocityStddevChanged(float stddev); dggui::Texture stddev_h{getImageCache(), ":resources/stddev_horizontal.png"}; dggui::Texture stddev_h_disabled{getImageCache(), ":resources/stddev_horizontal_disabled.png"}; dggui::Texture stddev_v{getImageCache(), ":resources/stddev_vertical.png"}; dggui::Texture stddev_v_disabled{getImageCache(), ":resources/stddev_vertical_disabled.png"}; bool latency_enabled{false}; bool velocity_enabled{false}; float latency_offset; float velocity_offset; float latency_stddev; int laidback; float velocity_stddev; SettingsNotifier& settings_notifier; const float latency_max_ms; Settings& settings; }; Canvas canvas; }; } // ::GUI drumgizmo-0.9.20/plugingui/abouttab.cc0000644000076400007640000000607414100601506014663 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * abouttab.cc * * Fri Apr 21 18:51:13 CEST 2017 * Copyright 2017 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "abouttab.h" #include #include #include namespace { std::string getLocalizedFile(const std::string& file) { #ifdef WITH_NLS auto language = Translation::getISO639LanguageName(); std::string file_localized = file + "." + language; dggui::Resource resource_localized{file_localized}; if(resource_localized.valid()) { return resource_localized.data(); } #endif dggui::Resource resource{file}; if(resource.valid()) { return resource.data(); } return ""; } } namespace GUI { AboutTab::AboutTab(dggui::Widget* parent) : dggui::Widget(parent) { text_edit.setText(getAboutText()); text_edit.setReadOnly(true); text_edit.resize(std::max((int)width() - 2*margin,0), std::max((int)height() - 2*margin, 0)); text_edit.move(margin, margin); } void AboutTab::resize(std::size_t width, std::size_t height) { dggui::Widget::resize(width, height); text_edit.resize(std::max((int)width - 2*margin, 0), std::max((int)height - 2*margin, 0)); } std::string AboutTab::getAboutText() { std::string about_text; // About about_text.append(_( "=============\n" " About\n" "=============\n" "\n")); about_text.append(dggui::UTF8().toLatin1(getLocalizedFile(":../ABOUT"))); // Version about_text.append(_( "\n" "=============\n" " Version\n" "=============\n" "\n")); about_text.append(std::string(VERSION) + "\n"); // Bugs about_text.append(_( "\n" "=============\n" " Bugs\n" "=============\n" "\n")); about_text.append(dggui::UTF8().toLatin1(getLocalizedFile(":../BUGS"))); // Authors about_text.append(_( "\n" "=============\n" " Authors\n" "=============\n" "\n")); about_text.append(dggui::UTF8().toLatin1(getLocalizedFile(":../AUTHORS"))); // GPL about_text.append(_( "\n" "=============\n" " License\n" "=============\n" "\n")); about_text.append(dggui::UTF8().toLatin1(getLocalizedFile(":../COPYING"))); return about_text; } } // GUI:: drumgizmo-0.9.20/plugingui/timingframecontent.cc0000644000076400007640000001011513774323733016771 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * timingframecontent.cc * * Sat Oct 14 19:39:33 CEST 2017 * Copyright 2017 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "timingframecontent.h" #include #include #include namespace GUI { TimingframeContent::TimingframeContent(dggui::Widget* parent, Settings& settings, SettingsNotifier& settings_notifier) : dggui::Widget(parent) , settings(settings) , settings_notifier(settings_notifier) { layout.setResizeChildren(false); tightness.resize(80, 80); tightness_knob.resize(30, 30); tightness_knob.showValue(false); tightness_knob.setDefaultValue(tightnessSettingsToKnob(Settings::latency_stddev_default)); tightness.setControl(&tightness_knob); layout.addItem(&tightness); regain.resize(80, 80); regain_knob.resize(30, 30); regain_knob.showValue(false); regain_knob.setDefaultValue(Settings::latency_regain_default); regain.setControl(®ain_knob); layout.addItem(®ain); laidback.resize(80, 80); laidback_knob.resize(30, 30); laidback_knob.showValue(false); laidback_knob.setDefaultValue(Settings::latency_laid_back_ms_default); laidback_knob.setRange(-100.0f, 100.0f); // +/- 100 ms range laidback.setControl(&laidback_knob); layout.addItem(&laidback); layout.setPosition(&tightness, dggui::GridLayout::GridRange{0, 1, 0, 1}); layout.setPosition(®ain, dggui::GridLayout::GridRange{1, 2, 0, 1}); layout.setPosition(&laidback, dggui::GridLayout::GridRange{2, 3, 0, 1}); CONNECT(this, settings_notifier.latency_stddev, this, &TimingframeContent::tightnessSettingsValueChanged); CONNECT(this, settings_notifier.latency_regain, this, &TimingframeContent::regainSettingsValueChanged); CONNECT(this, settings_notifier.latency_laid_back_ms, this, &TimingframeContent::laidbackSettingsValueChanged); CONNECT(&tightness_knob, valueChangedNotifier, this, &TimingframeContent::tightnessKnobValueChanged); CONNECT(®ain_knob, valueChangedNotifier, this, &TimingframeContent::regainKnobValueChanged); CONNECT(&laidback_knob, valueChangedNotifier, this, &TimingframeContent::laidbackKnobValueChanged); } float TimingframeContent::thightnessKnobToSettings(float value) const { return (1.f - value) * 20.f; } float TimingframeContent::tightnessSettingsToKnob(float value) const { return 1.f - (value / 20.f); } void TimingframeContent::tightnessKnobValueChanged(float value) { auto settings_value = thightnessKnobToSettings(value); settings.latency_stddev.store(settings_value); } void TimingframeContent::tightnessSettingsValueChanged(float value) { auto knob_value = tightnessSettingsToKnob(value); tightness_knob.setValue(knob_value); } void TimingframeContent::regainKnobValueChanged(float value) { settings.latency_regain.store(value); } void TimingframeContent::regainSettingsValueChanged(float value) { regain_knob.setValue(value); } void TimingframeContent::laidbackKnobValueChanged(float value) { settings.latency_laid_back_ms.store(value); } void TimingframeContent::laidbackSettingsValueChanged(float value) { laidback_knob.setValue(value); } } // GUI:: drumgizmo-0.9.20/plugingui/drumkittab.h0000644000076400007640000000636014177030654015106 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * drumkittab.h * * Fri Jun 8 21:50:03 CEST 2018 * Copyright 2018 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include #include #include #include struct Settings; class SettingsNotifier; namespace GUI { class Config; class DrumkitTab : public dggui::Widget { public: DrumkitTab(dggui::Widget* parent, Settings& settings, SettingsNotifier& settings_notifier); // From dggui::Widget: void resize(std::size_t width, std::size_t height) override; void buttonEvent(dggui::ButtonEvent* buttonEvent) override; void scrollEvent(dggui::ScrollEvent* scrollEvent) override; void mouseMoveEvent(dggui::MouseMoveEvent* mouseMoveEvent) override; void mouseLeaveEvent() override; void init(const std::string& image_file, const std::string& map_file); Notifier imageChangeNotifier; // bool has_valid_image private: float current_velocity{.5}; std::string current_instrument{""}; int current_index{-1}; using IndexGrid = Grid; using Position = IndexGrid::Pos; using Positions = std::vector; std::vector colours; IndexGrid pos_to_colour_index; std::vector colour_index_to_positions; std::vector to_instrument_name; struct ColourInstrumentPair { dggui::Colour colour; std::string instrument; }; // FIXME: load this from instrument file std::vector colour_instrument_pairs = { {dggui::Colour(0), "Snare"}, {dggui::Colour(255./255, 15./255, 55./255), "KdrumL"}, {dggui::Colour(154./255, 153./255, 33./255), "HihatClosed"}, {dggui::Colour(248./255, 221./255, 37./255), "Tom4"} }; bool shows_overlay{false}; bool shows_instrument_overlay{false}; std::unique_ptr drumkit_image; std::unique_ptr map_image; int drumkit_image_x; int drumkit_image_y; dggui::Label velocity_label{this}; dggui::Label instrument_name_label{this}; Settings& settings; SettingsNotifier& settings_notifier; // Config& config; void triggerAudition(int x, int y); void highlightInstrument(int index); void updateVelocityLabel(); void updateInstrumentLabel(int index); void drumkitFileChanged(const std::string& drumkit_file); }; } // GUI:: drumgizmo-0.9.20/plugingui/diskstreamingframecontent.h0000644000076400007640000000421114177030654020203 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * diskstreamingframecontent.h * * Fri Mar 24 21:50:07 CET 2017 * Copyright 2017 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include struct Settings; class SettingsNotifier; namespace GUI { class DiskstreamingframeContent : public dggui::Widget { public: DiskstreamingframeContent(dggui::Widget* parent, Settings& settings, SettingsNotifier& settings_notifier); // From Widget virtual void resize(std::size_t width, std::size_t height) override; private: void limitSettingsValueChanged(std::size_t value); void limitValueChanged(float value); void reloadClicked(); void reloaded(std::size_t); // For now the maximum disk streaming limit is 4GB static constexpr std::size_t min_limit = 1024.0 * 1024.0 * 32; static constexpr std::size_t max_limit = 1024.0 * 1024.0 * 1024.0 * 4.0 - 1; dggui::Label label_text{this}; dggui::Label label_value{this}; dggui::Slider slider{this}; dggui::Button button{this}; int slider_width; int button_width; Settings& settings; SettingsNotifier& settings_notifier; }; } // GUI:: drumgizmo-0.9.20/plugingui/resamplingframecontent.cc0000644000076400007640000000722213774323733017650 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * resamplingframecontent.cc * * Fri May 5 23:43:28 CEST 2017 * Copyright 2017 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "resamplingframecontent.h" #include #include namespace GUI { ResamplingframeContent::ResamplingframeContent(dggui::Widget* parent, Settings& settings, SettingsNotifier& settings_notifier) : dggui::Widget(parent) , settings(settings) , settings_notifier(settings_notifier) { CONNECT(this, settings_notifier.drumkit_samplerate, this, &ResamplingframeContent::updateDrumkitSamplerate); CONNECT(this, settings_notifier.samplerate, this, &ResamplingframeContent::updateSessionSamplerate); CONNECT(this, settings_notifier.resampling_recommended, this, &ResamplingframeContent::updateResamplingRecommended); CONNECT(this, settings_notifier.resampling_quality, this, &ResamplingframeContent::updateResamplingQuality); text_field.move(0, 0); text_field.setReadOnly(true); quality_knob.resize(30, 30); quality_knob.setDefaultValue(0.7f); quality_knob.showValue(false); quality_label.setText(_("Quality")); quality_label.setAlignment(dggui::TextAlignment::center); quality_label.resize(40, 16); CONNECT(&quality_knob, valueChangedNotifier, this, &ResamplingframeContent::valueChangedNotifier); updateContent(); text_field.show(); } void ResamplingframeContent::resize(std::size_t width, std::size_t height) { Widget::resize(width, height); text_field.resize(width - 50, height); quality_knob.move(width - 36, 20); quality_label.move(width - 40, 0); } void ResamplingframeContent::updateContent() { text_field.setText( _("Session samplerate: ") + session_samplerate + "\n" + _("Drumkit samplerate: ") + drumkit_samplerate + "\n" + _("Resampling recommended: ") + resampling_recommended + "\n" ); } void ResamplingframeContent::updateDrumkitSamplerate(std::size_t drumkit_samplerate) { this->drumkit_samplerate = drumkit_samplerate == 0 ? "" : std::to_string(drumkit_samplerate); updateContent(); } void ResamplingframeContent::updateSessionSamplerate(double samplerate) { this->session_samplerate = std::to_string((std::size_t)samplerate); updateContent(); } void ResamplingframeContent::updateResamplingRecommended(bool resampling_recommended) { this->resampling_recommended = resampling_recommended ? _("Yes") : _("No"); updateContent(); } void ResamplingframeContent::updateResamplingQuality(float resampling_quality) { quality_knob.setValue(resampling_quality); } void ResamplingframeContent::valueChangedNotifier(float value) { settings.resampling_quality.store(value); } } // GUI:: drumgizmo-0.9.20/plugingui/powerwidget.cc0000644000076400007640000002420014177030654015427 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * powerwidget.cc * * Fri Apr 24 17:30:45 CEST 2020 * Copyright 2020 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "powerwidget.h" #include #include #include #include #include #include #include #include namespace GUI { PowerWidget::PowerWidget(dggui::Widget* parent, Settings& settings, SettingsNotifier& settings_notifier) : dggui::Widget(parent) , canvas(this, settings, settings_notifier) , settings(settings) { canvas.move(7, 7); CONNECT(&shelf_checkbox, stateChangedNotifier, this, &PowerWidget::chk_shelf); shelf_label.setText(_("Shelf")); shelf_label.setAlignment(dggui::TextAlignment::center); shelf_label.resize(59, 16); shelf_checkbox.resize(59, 40); CONNECT(&settings_notifier, powermap_shelf, &shelf_checkbox, &dggui::CheckBox::setChecked); } void PowerWidget::chk_shelf(bool v) { settings.powermap_shelf.store(v); } void PowerWidget::repaintEvent(dggui::RepaintEvent *repaintEvent) { dggui::Painter p(*this); box.setSize(width() - 59 - 64, height()); p.drawImage(0, 0, box); } void PowerWidget::resize(std::size_t width, std::size_t height) { Widget::resize(width, height); if(width < (14 + 59 + 64) || height < 14) { canvas.resize(1, 1); return; } canvas.resize(width - 14 - 59 - 64, height - 14); shelf_label.move(width - 59 + 5 - 32 , 0); shelf_checkbox.move(width - 59 + 5 - 32, 16); } PowerWidget::Canvas::Canvas(dggui::Widget* parent, Settings& settings, SettingsNotifier& settings_notifier) : dggui::Widget(parent) , settings_notifier(settings_notifier) , settings(settings) { CONNECT(this, settings_notifier.enable_powermap, this, &PowerWidget::Canvas::parameterChangedBool); CONNECT(this, settings_notifier.powermap_fixed0_x, this, &PowerWidget::Canvas::parameterChangedFloat); CONNECT(this, settings_notifier.powermap_fixed0_y, this, &PowerWidget::Canvas::parameterChangedFloat); CONNECT(this, settings_notifier.powermap_fixed1_x, this, &PowerWidget::Canvas::parameterChangedFloat); CONNECT(this, settings_notifier.powermap_fixed1_y, this, &PowerWidget::Canvas::parameterChangedFloat); CONNECT(this, settings_notifier.powermap_fixed2_x, this, &PowerWidget::Canvas::parameterChangedFloat); CONNECT(this, settings_notifier.powermap_fixed2_y, this, &PowerWidget::Canvas::parameterChangedFloat); CONNECT(this, settings_notifier.powermap_shelf, this, &PowerWidget::Canvas::parameterChangedBool); CONNECT(this, settings_notifier.powermap_input, this, &PowerWidget::Canvas::parameterChangedFloat); CONNECT(this, settings_notifier.powermap_output, this, &PowerWidget::Canvas::parameterChangedFloat); parameterChangedFloat(0); } void PowerWidget::Canvas::repaintEvent(dggui::RepaintEvent *repaintEvent) { if(width() < 1 || height() < 1) { return; } const float x0 = brd; const float y0 = brd; const float width0 = (int)width() - 2 * brd; const float height0 = (int)height() - 2 * brd; dggui::Painter p(*this); p.clear(); p.setColour(dggui::Colour(1.0f, 1.0f, 1.0f, 0.2f)); p.drawRectangle(x0, y0 + height0, x0 + width0, y0); if(enabled) { // draw 1:1 line in grey in the background to indicate where 1:1 is p.setColour(dggui::Colour(0.5)); p.drawLine(x0, y0 + height0, x0 + width0, y0); } if(enabled) { // enabled green p.setColour(dggui::Colour(0.0f, 1.0f, 0.0f, 1.0f)); } else { // disabled grey p.setColour(dggui::Colour(0.5f)); } // Draw very short line segments across the region std::pair old{}; for(std::size_t x = 0; x < width0; ++x) { int y = power_map.map((float)x / width0) * height0; if(x > 0) { p.drawLine(x0 + old.first, y0 + old.second, x0 + x, y0 + height0 - y); } old = { x, height0 - y }; } int x = width0; int y = power_map.map((float)x / width0) * height0; p.drawLine(x0 + old.first, y0 + old.second, x0 + x, y0 + height0 - y); old = { x, height0 - y }; if(!enabled) { // draw 1:1 line in green in the foreground p.setColour(dggui::Colour(0.0f, 1.0f, 0.0f, 1.0f)); p.drawLine(x0, y0 + height0, x0 + width0, y0); } // draw the input/output of the last hit if(settings.powermap_input.load() != -1 && settings.powermap_output.load() != -1) { p.setColour(dggui::Colour(.8f, 0.0f, .2f, .5f)); p.drawLine(x0 + settings.powermap_input.load()*width0, y0 + height0, x0 + settings.powermap_input.load()*width0, y0); p.drawLine(x0, y0 + height0 - settings.powermap_output.load()*height0, x0 + width0, y0 + height0 - settings.powermap_output.load()*height0); } // draw the fixed nodes of the spline float rad = radius * width(); p.setColour(dggui::Colour{0.0f, 1.0f, 0.0f, 0.7f}); p.drawFilledCircle(x0 + std::round(settings.powermap_fixed0_x.load() * width0), y0 + height0 - std::round(settings.powermap_fixed0_y.load() * height0), rad); p.drawCircle(x0 + std::round(power_map.getFixed0().in * width0), y0 + height0 - std::round(power_map.getFixed0().out * height0), rad + 1); p.setColour(dggui::Colour{1.0f, 1.0f, 0.0f, 0.7f}); p.drawFilledCircle(x0 + std::round(settings.powermap_fixed1_x.load() * width0), y0 + height0 - std::round(settings.powermap_fixed1_y.load() * height0), rad); p.drawCircle(x0 + std::round(power_map.getFixed1().in * width0), y0 + height0 - std::round(power_map.getFixed1().out * height0), rad + 1); p.setColour(dggui::Colour{1.0f, 0.0f, 0.0f, 0.7f}); p.drawFilledCircle(x0 + std::round(settings.powermap_fixed2_x.load() * width0), y0 + height0 - std::round(settings.powermap_fixed2_y.load() * height0), rad); p.drawCircle(x0 + std::round(power_map.getFixed2().in * width0), y0 + height0 - std::round(power_map.getFixed2().out * height0), rad + 1); p.setColour(dggui::Colour(1.0f, 1.0f, 1.0f, 0.2f)); p.drawText(width() / 2 - (font.textWidth(_("in")) / 2), height() - 8, font, _("in")); p.drawText(8, height() / 2 - (font.textWidth(_("out")) / 2), font, _("out"), false, true); } void PowerWidget::Canvas::buttonEvent(dggui::ButtonEvent* buttonEvent) { const float x0 = brd; const float y0 = brd; const float width0 = (int)width() - 2 * brd; const float height0 = (int)height() - 2 * brd; float mx0 = (float)(buttonEvent->x - x0) / width0; float my0 = (float)(((int)height() - buttonEvent->y) - y0) / height0; float radius_x = radius * 2; float radius_y = radius * width0 / height0 * 2; switch(buttonEvent->direction) { case dggui::Direction::up: in_point = -1; break; case dggui::Direction::down: if(std::abs(mx0 - settings.powermap_fixed0_x.load()) < radius_x && std::abs(my0 - settings.powermap_fixed0_y.load()) < radius_y) { in_point = 0; } if(std::abs(mx0 - settings.powermap_fixed1_x.load()) < radius_x && std::abs(my0 - settings.powermap_fixed1_y.load()) < radius_y) { in_point = 1; } if(std::abs(mx0 - settings.powermap_fixed2_x.load()) < radius_x && std::abs(my0 - settings.powermap_fixed2_y.load()) < radius_y) { in_point = 2; } break; } } namespace { float clamp(float val, float min, float max) { return std::max(min, std::min(max, val)); } } void PowerWidget::Canvas::mouseMoveEvent(dggui::MouseMoveEvent* mouseMoveEvent) { const float x0 = brd; const float y0 = brd; const float width0 = (int)width() - 2 * brd; const float height0 = (int)height() - 2 * brd; float mx0 = (float)(mouseMoveEvent->x - x0) / width0; float my0 = (float)(((int)height() - mouseMoveEvent->y) - y0) / height0; switch(in_point) { case 0: settings.powermap_fixed0_x.store(clamp(mx0, 0, 1)); settings.powermap_fixed0_y.store(clamp(my0, 0, 1)); redraw(); break; case 1: settings.powermap_fixed1_x.store(clamp(mx0, 0, 1)); settings.powermap_fixed1_y.store(clamp(my0, 0, 1)); redraw(); break; case 2: settings.powermap_fixed2_x.store(clamp(mx0, 0, 1)); settings.powermap_fixed2_y.store(clamp(my0, 0, 1)); redraw(); break; default: break; } /* switch(in_point) { case 0: settings.fixed0_x.store(clamp((float)mouseMoveEvent->x / width())); settings.fixed0_y.store(1.0f - clamp((float)mouseMoveEvent->y / height())); redraw(); break; case 1: settings.fixed1_x.store(clamp((float)mouseMoveEvent->x / width())); settings.fixed1_y.store(1.0f - clamp((float)mouseMoveEvent->y / height())); redraw(); break; case 2: settings.fixed2_x.store(clamp((float)mouseMoveEvent->x / width())); settings.fixed2_y.store(1.0f - clamp((float)mouseMoveEvent->y / height())); redraw(); break; default: break; } */ } void PowerWidget::Canvas::mouseLeaveEvent() { //in_point = -1; } void PowerWidget::Canvas::parameterChangedFloat(float) { power_map.setFixed0({settings.powermap_fixed0_x.load(), settings.powermap_fixed0_y.load()}); power_map.setFixed1({settings.powermap_fixed1_x.load(), settings.powermap_fixed1_y.load()}); power_map.setFixed2({settings.powermap_fixed2_x.load(), settings.powermap_fixed2_y.load()}); power_map.setShelf(settings.powermap_shelf.load()); enabled = settings.enable_powermap.load(); redraw(); } void PowerWidget::Canvas::parameterChangedBool(bool) { parameterChangedFloat(0); } } // ::GUI drumgizmo-0.9.20/plugingui/bleedcontrolframecontent.h0000644000076400007640000000356614177030654020027 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * bleedcontrolframecontent.h * * Wed May 24 14:40:16 CEST 2017 * Copyright 2017 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include #include #include struct Settings; class SettingsNotifier; namespace GUI { class BleedcontrolframeContent : public dggui::Widget { public: BleedcontrolframeContent(dggui::Widget* parent, Settings& settings, SettingsNotifier& settings_notifier); // From Widget virtual void resize(std::size_t width, std::size_t height) override; void setEnabled(bool enabled); private: void bleedSettingsValueChanged(float value); void bleedValueChanged(float value); bool enabled = true; dggui::Label label_text{this}; dggui::Label label_value{this}; dggui::Slider slider{this}; int slider_width; Settings& settings; SettingsNotifier& settings_notifier; }; } // GUI:: #pragma once drumgizmo-0.9.20/plugingui/sampleselectionframecontent.h0000644000076400007640000000424213774323733020537 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * sampleselectionframecontent.h * * Sat May 11 15:29:25 CEST 2019 * Copyright 2019 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include "labeledcontrol.h" #include struct Settings; class SettingsNotifier; namespace GUI { class SampleselectionframeContent : public dggui::Widget { public: SampleselectionframeContent(dggui::Widget* parent, Settings& settings, SettingsNotifier& settings_notifier); private: void fCloseKnobValueChanged(float value); void fDiverseKnobValueChanged(float value); void fRandomKnobValueChanged(float value); void fCloseSettingsValueChanged(float value); void fDiverseSettingsValueChanged(float value); void fRandomSettingsValueChanged(float value); dggui::GridLayout layout{this, 3, 1}; LabeledControl f_close{this, _("pClose")}; LabeledControl f_diverse{this, _("pDiverse")}; LabeledControl f_random{this, _("pRandom")}; dggui::Knob f_close_knob{&f_close}; dggui::Knob f_diverse_knob{&f_diverse}; dggui::Knob f_random_knob{&f_random}; Settings& settings; SettingsNotifier& settings_notifier; }; } // GUI:: drumgizmo-0.9.20/plugingui/resamplingframecontent.h0000644000076400007640000000421214177030654017501 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * resamplingframecontent.h * * Fri May 5 23:43:28 CEST 2017 * Copyright 2017 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include class SettingsNotifier; struct Settings; namespace GUI { class ResamplingframeContent : public dggui::Widget { public: ResamplingframeContent(dggui::Widget* parent, Settings& settings, SettingsNotifier& settings_notifier); // From Widget virtual void resize(std::size_t width, std::size_t height) override; private: void updateContent(); void updateDrumkitSamplerate(std::size_t drumkit_samplerate); void updateSessionSamplerate(double samplerate); void updateResamplingRecommended(bool resampling_recommended); void updateResamplingQuality(float resampling_quality); void valueChangedNotifier(float value); private: dggui::TextEdit text_field{this}; dggui::Knob quality_knob{this}; dggui::Label quality_label{this}; Settings& settings; SettingsNotifier& settings_notifier; std::string drumkit_samplerate; std::string session_samplerate; std::string resampling_recommended; }; } // GUI:: drumgizmo-0.9.20/plugingui/pluginconfig.cc0000644000076400007640000000312613557561147015566 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * pluginconfig.cc * * Tue Jun 3 13:54:05 CEST 2014 * Copyright 2014 Jonas Suhr Christensen * jsc@umbraculum.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "pluginconfig.h" #include #define CONFIGFILENAME "plugingui.conf" namespace GUI { Config::Config() : ConfigFile(CONFIGFILENAME) { load(); } Config::~Config() { save(); } bool Config::load() { defaultKitPath.clear(); if(!ConfigFile::load()) { return false; } defaultKitPath = getValue("defaultKitPath"); return true; } bool Config::save() { setValue("defaultKitPath", defaultKitPath); return ConfigFile::save(); } } // GUI:: drumgizmo-0.9.20/plugingui/pluginconfig.h0000644000076400007640000000252613756436707015437 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * pluginconfig.h * * Tue Jun 3 13:51:29 CEST 2014 * Copyright 2014 Jonas Suhr Christensen * jsc@umbraculum.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include namespace GUI { class Config : public ConfigFile { public: Config(); ~Config(); bool load() override; bool save() override; std::string defaultKitPath; }; } // GUI:: drumgizmo-0.9.20/plugingui/mainwindow.h0000644000076400007640000000507014275473130015110 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * mainwindow.h * * Sat Nov 26 14:27:28 CET 2016 * Copyright 2016 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include #include #include "abouttab.h" #include "drumkittab.h" #include "maintab.h" #include "pluginconfig.h" namespace GUI { class MainWindow : public dggui::Window { public: static constexpr std::size_t main_width{750}; static constexpr std::size_t main_height{740}; MainWindow(Settings& settings, void* native_window); ~MainWindow(); //! Process all events and messages in queue //! \return true if not closing, returns false if closing. bool processEvents(); //! Notify when window is closing. Notifier<> closeNotifier; void closeEventHandler(); private: void sizeChanged(std::size_t width, std::size_t height); void changeDrumkitTabVisibility(bool visible); // From Widget void repaintEvent(dggui::RepaintEvent* repaintEvent) override final; Config config; SettingsNotifier settings_notifier; dggui::TabWidget tabs{this}; MainTab main_tab; DrumkitTab drumkit_tab; AboutTab about_tab{&tabs}; dggui::Image back{":resources/bg.png"}; dggui::TexturedBox sidebar{getImageCache(), ":resources/sidebar.png", 0, 0, // offset 16, 0, 0, // delta-x 14, 1, 14}; // delta-y dggui::TexturedBox topbar{getImageCache(), ":resources/topbar.png", 0, 0, // atlas offset (x, y) 1, 1, 1, // dx1, dx2, dx3 17, 1, 1}; // dy1, dy2, dy3 bool closing{false}; dggui::TabID drumkit_tab_id; }; } // GUI:: drumgizmo-0.9.20/plugingui/labeledcontrol.h0000644000076400007640000000525413774323733015737 00000000000000/* -*- Mode: c++ -*- */ /*************************************************************************** * labeledcontrol.h * * Fri Jun 8 11:56:50 CEST 2018 * Copyright 2018 André Nusser * andre.nusser@googlemail.com ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include #include namespace GUI { class LabeledControl : public dggui::Widget { public: using ValueTransformationFunction = std::function; LabeledControl(dggui::Widget* parent, const std::string& name) : dggui::Widget(parent) { layout.setResizeChildren(false); layout.setHAlignment(dggui::HAlignment::center); layout.setSpacing(2); caption.setText(name); caption.resize(100, 20); caption.setAlignment(dggui::TextAlignment::center); layout.addItem(&caption); } void setControl(dggui::Knob* control) { layout.addItem(control); CONNECT(control, valueChangedNotifier, this, &LabeledControl::setValue); setValue(control->value()); value.resize(100, 20); value.setAlignment(dggui::TextAlignment::center); layout.addItem(&value); } void setValueTransformationFunction(ValueTransformationFunction function) { value_transformation_func = function; } float offset{0.0f}; float scale{1.0f}; private: dggui::VBoxLayout layout{this}; dggui::Label caption{this}; dggui::Label value{this}; ValueTransformationFunction value_transformation_func; void setValue(float new_value) { if(value_transformation_func) { value.setText(value_transformation_func(new_value, scale, offset)); return; } //TODO: Surely this could be the "default transformation function"? new_value *= scale; new_value += offset; std::stringstream stream; stream << std::fixed << std::setprecision(2) << new_value; value.setText(stream.str()); } }; } drumgizmo-0.9.20/plugingui/filebrowser.h0000644000076400007640000000525614177030654015266 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * filebrowser.h * * Mon Feb 25 21:09:43 CET 2013 * Copyright 2013 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include #include #include #include #include #include namespace GUI { class FileBrowser : public dggui::Dialog { public: FileBrowser(dggui::Widget* parent); void setPath(const std::string& path); Notifier fileSelectNotifier; // (const std::string& path) Notifier<> fileSelectCancelNotifier; Notifier defaultPathChangedNotifier; // (const std::string& path) // From Widget: bool isFocusable() override { return true; } virtual void repaintEvent(dggui::RepaintEvent* repaintEvent) override; virtual void resize(std::size_t width, std::size_t height) override; //! Return the filename selected in the browser. std::string getFilename() const; //! Returns true if the filebrowser has a selection, false if the window was //! closed or the cancel button was clicked. bool hasFilename() const; private: void listSelectionChanged(); void selectButtonClicked(); void setDefaultPath(); void cancelButtonClicked(); void handleKeyEvent(); Directory dir; #if DG_PLATFORM == DG_PLATFORM_WINDOWS bool above_root; bool in_root; #endif void cancel(); void select(const std::string& file); void changeDir(); dggui::Label lbl_path; dggui::LineEdit lineedit; dggui::ListBox listbox; dggui::Button btn_sel; dggui::Button btn_def; dggui::Button btn_esc; dggui::Image back; bool has_filename{false}; std::string filename; }; } // GUI:: drumgizmo-0.9.20/Makefile.in0000644000076400007640000006504114306421323012621 00000000000000# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ $(am__configure_deps) $(am__DIST_COMMON) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ cscope distdir dist dist-all distcheck am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ $(LISP)config.h.in # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags CSCOPE = cscope DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in AUTHORS \ COPYING ChangeLog INSTALL NEWS README compile config.guess \ config.sub depcomp install-sh ltmain.sh missing DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ if test -d "$(distdir)"; then \ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -rf "$(distdir)" \ || { sleep 5 && rm -rf "$(distdir)"; }; \ else :; fi am__post_remove_distdir = $(am__remove_distdir) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best DIST_TARGETS = dist-gzip distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ ALSA_CFLAGS = @ALSA_CFLAGS@ ALSA_LIBS = @ALSA_LIBS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEBUG_FLAGS = @DEBUG_FLAGS@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DL_CFLAGS = @DL_CFLAGS@ DL_LIBS = @DL_LIBS@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_STORE = @FLOAT_STORE@ GREP = @GREP@ GUI_CPPFLAGS = @GUI_CPPFLAGS@ GUI_LIBS = @GUI_LIBS@ INPUT_PLUGINS = @INPUT_PLUGINS@ INPUT_PLUGIN_DIR = @INPUT_PLUGIN_DIR@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ JACK_CFLAGS = @JACK_CFLAGS@ JACK_LIBS = @JACK_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ LV2DIR = @LV2DIR@ LV2_CFLAGS = @LV2_CFLAGS@ LV2_LIBS = @LV2_LIBS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJC = @OBJC@ OBJCDEPMODE = @OBJCDEPMODE@ OBJCFLAGS = @OBJCFLAGS@ OBJCXX = @OBJCXX@ OBJCXXDEPMODE = @OBJCXXDEPMODE@ OBJCXXFLAGS = @OBJCXXFLAGS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ OUTPUT_PLUGINS = @OUTPUT_PLUGINS@ OUTPUT_PLUGIN_DIR = @OUTPUT_PLUGIN_DIR@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SMF_CFLAGS = @SMF_CFLAGS@ SMF_LIBS = @SMF_LIBS@ SNDFILE_CFLAGS = @SNDFILE_CFLAGS@ SNDFILE_LIBS = @SNDFILE_LIBS@ SSEFLAGS = @SSEFLAGS@ STRIP = @STRIP@ VERSION = @VERSION@ VST_CPPFLAGS = @VST_CPPFLAGS@ VST_SOURCE_PATH = @VST_SOURCE_PATH@ X11_CFLAGS = @X11_CFLAGS@ X11_LIBS = @X11_LIBS@ XEXT_CFLAGS = @XEXT_CFLAGS@ XEXT_LIBS = @XEXT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ ac_ct_OBJC = @ac_ct_OBJC@ ac_ct_OBJCXX = @ac_ct_OBJCXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ dgplugindir = @dgplugindir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AUTOMAKE_OPTIONS = gnu SUBDIRS = tools src dggui plugingui plugin drumgizmo man test DISTDIRS = tools src dggui plugingui plugin drumgizmo man test EXTRA_DIST = \ version.h \ \ hugin/hugin.h \ hugin/hugin.hpp \ hugin/hugin.c \ hugin/hugin_util.h \ hugin/hugin_syslog.h \ hugin/hugin_syslog.c \ hugin/hugin_filter.h \ hugin/hugin_filter.c \ \ getoptpp/getoptpp.hpp \ \ dggui/lodepng/lodepng.h \ \ pugixml/src/pugixml.hpp \ pugixml/src/pugiconfig.hpp \ pugixml/src/pugixml.cpp \ \ zita-resampler/libs/resampler.cc \ zita-resampler/libs/resampler-table.cc \ zita-resampler/libs/zita-resampler/resampler-table.h \ zita-resampler/libs/zita-resampler/resampler.h \ \ test/uunit/uunit.h \ test/uunit/uunit.cc all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: am--refresh: Makefile @: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: $(am__configure_deps) $(am__cd) $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): $(am__aclocal_m4_deps) $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) $(am__aclocal_m4_deps): config.h: stamp-h1 @test -f $@ || rm -f stamp-h1 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.h.in: $(am__configure_deps) ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool config.lt # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscope: cscope.files test ! -s cscope.files \ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) clean-cscope: -rm -f cscope.files cscope.files: clean-cscope cscopelist cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f cscope.out cscope.in.out cscope.po.out cscope.files distdir: $(DISTFILES) $(am__remove_distdir) test -d "$(distdir)" || mkdir "$(distdir)" @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done -test -n "$(am__skip_mode_fix)" \ || find "$(distdir)" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r "$(distdir)" dist-gzip: distdir tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz $(am__post_remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 $(am__post_remove_distdir) dist-lzip: distdir tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz $(am__post_remove_distdir) dist-xz: distdir tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__post_remove_distdir) dist-tarZ: distdir @echo WARNING: "Support for distribution archives compressed with" \ "legacy program 'compress' is deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__post_remove_distdir) dist-shar: distdir @echo WARNING: "Support for shar distribution archives is" \ "deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz $(am__post_remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__post_remove_distdir) dist dist-all: $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' $(am__post_remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lz*) \ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir) chmod u+w $(distdir) mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst chmod a-w $(distdir) test -d $(distdir)/_build || exit 0; \ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && am__cwd=`pwd` \ && $(am__cd) $(distdir)/_build/sub \ && ../../configure \ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ --srcdir=../.. --prefix="$$dc_install_base" \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ && cd "$$am__cwd" \ || exit 1 $(am__post_remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @test -n '$(distuninstallcheck_dir)' || { \ echo 'ERROR: trying to run $@ with an empty' \ '$$(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ $(am__cd) '$(distuninstallcheck_dir)' || { \ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile config.h installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-hdr \ distclean-libtool distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(am__recursive_targets) all install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ am--refresh check check-am clean clean-cscope clean-generic \ clean-libtool cscope cscopelist-am ctags ctags-am dist \ dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \ dist-xz dist-zip distcheck distclean distclean-generic \ distclean-hdr distclean-libtool distclean-tags distcleancheck \ distdir distuninstallcheck dvi dvi-am html html-am info \ info-am install install-am install-data install-data-am \ install-dvi install-dvi-am install-exec install-exec-am \ install-html install-html-am install-info install-info-am \ install-man install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ uninstall-am .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: drumgizmo-0.9.20/AUTHORS.fr0000644000076400007640000000114113756436707012245 00000000000000Fondateur et développeur principal : Bent Bisballe Nyeng [deva] (deva@aasimon.org) Développeur : Jonas Suhr Christensen [suhr] (jsc@umbraculum.org) Développeur : André Nusser [chaot4] Développeur : Christian Glöckner [cglocke] Développeur, graphisme, conception de l'interface graphique et logo : Lars Muldjord [muldjord] (muldjordlars@gmail.com) Développeur : Goran Mekić [meka] (meka@tilda.center) Développeur : The Marlboro Man [TheMarlboroMan] Rustines : John Hammen (support multicanal d'échantillons) Traduction en français Olivier Humbert [trebmuh] (trebmuh@tuxfamily.org) drumgizmo-0.9.20/plugin/0000755000076400007640000000000014306421547012134 500000000000000drumgizmo-0.9.20/plugin/manifest.ttl0000644000076400007640000001121414306421401014373 00000000000000# LV2 Plugin # Copyright 2019 Bent Bisballe Nyeng # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. @prefix doap: . @prefix foaf: . @prefix lv2: . @prefix atom: . @prefix ui: . @prefix state: . @prefix pprops: . @prefix idpy: . @prefix time: . @prefix lv2: . @prefix rdfs: . a ui:X11UI ; lv2:requiredFeature ui:resize ; lv2:extensionData ui:resize ; lv2:requiredFeature ui:idleInterface ; lv2:extensionData ui:idleInterface ; lv2:requiredFeature ; ui:binary . a lv2:Plugin ; lv2:binary ; a lv2:InstrumentPlugin ; doap:name "DrumGizmo" ; doap:maintainer [ foaf:name "DrumGizmo Team" ; foaf:homepage ; ] ; doap:license ; ui:ui ; doap:license ; lv2:optionalFeature ; lv2:optionalFeature ; lv2:optionalFeature idpy:queue_draw ; lv2:extensionData state:interface ; lv2:port [ a lv2:InputPort, lv2:ControlPort ; lv2:index 0 ; lv2:symbol "lv2_freewheel" ; lv2:name "Freewheel" ; lv2:default 0.0 ; lv2:minimum 0.0 ; lv2:maximum 1.0 ; lv2:designation ; lv2:portProperty ; lv2:portProperty lv2:toggled ; lv2:portProperty pprops:hasStrictBounds; ] , [ a lv2:OutputPort, lv2:ControlPort ; lv2:designation ; lv2:index 1; lv2:symbol "latency"; lv2:name "Latency"; lv2:minimum 0; lv2:maximum 192000; lv2:portProperty lv2:reportsLatency, lv2:integer; ] , [ a atom:AtomPort , lv2:InputPort; atom:bufferType atom:Sequence ; atom:supports ; lv2:index 2 ; lv2:symbol "control" ; lv2:name "Control" ] , [ a lv2:AudioPort , lv2:OutputPort ; lv2:index 3 ; lv2:symbol "out1" ; lv2:name "Out1" ] , [ a lv2:AudioPort , lv2:OutputPort ; lv2:index 4 ; lv2:symbol "out2" ; lv2:name "Out2" ] , [ a lv2:AudioPort , lv2:OutputPort ; lv2:index 5 ; lv2:symbol "out3" ; lv2:name "Out3" ] , [ a lv2:AudioPort , lv2:OutputPort ; lv2:index 6 ; lv2:symbol "out4" ; lv2:name "Out4" ] , [ a lv2:AudioPort , lv2:OutputPort ; lv2:index 7 ; lv2:symbol "out5" ; lv2:name "Out5" ] , [ a lv2:AudioPort , lv2:OutputPort ; lv2:index 8 ; lv2:symbol "out6" ; lv2:name "Out6" ] , [ a lv2:AudioPort , lv2:OutputPort ; lv2:index 9 ; lv2:symbol "out7" ; lv2:name "Out7" ] , [ a lv2:AudioPort , lv2:OutputPort ; lv2:index 10 ; lv2:symbol "out8" ; lv2:name "Out8" ] , [ a lv2:AudioPort , lv2:OutputPort ; lv2:index 11 ; lv2:symbol "out9" ; lv2:name "Out9" ] , [ a lv2:AudioPort , lv2:OutputPort ; lv2:index 12 ; lv2:symbol "out10" ; lv2:name "Out10" ] , [ a lv2:AudioPort , lv2:OutputPort ; lv2:index 13 ; lv2:symbol "out11" ; lv2:name "Out11" ] , [ a lv2:AudioPort , lv2:OutputPort ; lv2:index 14 ; lv2:symbol "out12" ; lv2:name "Out12" ] , [ a lv2:AudioPort , lv2:OutputPort ; lv2:index 15 ; lv2:symbol "out13" ; lv2:name "Out13" ] , [ a lv2:AudioPort , lv2:OutputPort ; lv2:index 16 ; lv2:symbol "out14" ; lv2:name "Out14" ] , [ a lv2:AudioPort , lv2:OutputPort ; lv2:index 17 ; lv2:symbol "out15" ; lv2:name "Out15" ] , [ a lv2:AudioPort , lv2:OutputPort ; lv2:index 18 ; lv2:symbol "out16" ; lv2:name "Out16" ] . drumgizmo-0.9.20/plugin/Makefile.mingw32.in0000644000076400007640000001667614275473130015426 00000000000000# -*- Makefile -*- VST_BASE=@VST_SOURCE_PATH@ VST_SRC_BASE = ${VST_BASE}/public.sdk/source/vst2.x/ VST_SRC = \ ${VST_SRC_BASE}/audioeffectx.cpp \ ${VST_SRC_BASE}/audioeffect.cpp \ ${VST_SRC_BASE}/vstplugmain.cpp VST_CFLAGS=-I$(VST_BASE) DG_SRC = \ @top_srcdir@/pugixml/src/pugixml.cpp \ @top_srcdir@/src/zrwrapper.cc \ @top_srcdir@/zita-resampler/libs/resampler.cc \ @top_srcdir@/zita-resampler/libs/resampler-table.cc \ @top_srcdir@/src/audiocachefile.cc \ @top_srcdir@/src/audiocache.cc \ @top_srcdir@/src/audiocacheeventhandler.cc \ @top_srcdir@/src/audiocacheidmanager.cc \ @top_srcdir@/src/audioinputenginemidi.cc \ @top_srcdir@/src/audiofile.cc \ @top_srcdir@/src/channel.cc \ @top_srcdir@/src/channelmixer.cc \ @top_srcdir@/src/configfile.cc \ @top_srcdir@/src/configparser.cc \ @top_srcdir@/src/dgxmlparser.cc \ @top_srcdir@/src/directory.cc \ @top_srcdir@/src/domloader.cc \ @top_srcdir@/src/drumgizmo.cc \ @top_srcdir@/src/drumgizmoconf.cc \ @top_srcdir@/src/drumkit.cc \ @top_srcdir@/src/drumkitloader.cc \ @top_srcdir@/src/events.cc \ @top_srcdir@/src/events_ds.cc \ @top_srcdir@/src/inputprocessor.cc \ @top_srcdir@/src/instrument.cc \ @top_srcdir@/src/latencyfilter.cc \ @top_srcdir@/src/midimapparser.cc \ @top_srcdir@/src/midimapper.cc \ @top_srcdir@/src/path.cc \ @top_srcdir@/src/powerlist.cc \ @top_srcdir@/src/powermap.cc \ @top_srcdir@/src/powermapfilter.cc \ @top_srcdir@/src/random.cc \ @top_srcdir@/src/sample.cc \ @top_srcdir@/src/sample_selection.cc \ @top_srcdir@/src/sem.cc \ @top_srcdir@/src/staminafilter.cc \ @top_srcdir@/src/thread.cc \ @top_srcdir@/src/translation.cc \ @top_srcdir@/src/velocityfilter.cc \ @top_srcdir@/src/versionstr.cc DG_CFLAGS = -I@top_srcdir@ -I@top_srcdir@/src \ -I@top_srcdir@/zita-resampler/libs \ -I@top_srcdir@/pugixml/src -D_USE_MATH_DEFINES \ -I@top_srcdir@/plugin/plugingizmo -DVST -DSSE -msse -msse2 # -DDISABLE_HUGIN GUI_SRC = \ @top_srcdir@/plugingui/abouttab.cc \ @top_srcdir@/plugingui/bleedcontrolframecontent.cc \ @top_srcdir@/plugingui/diskstreamingframecontent.cc \ @top_srcdir@/plugingui/drumkitframecontent.cc \ @top_srcdir@/plugingui/drumkittab.cc \ @top_srcdir@/plugingui/filebrowser.cc \ @top_srcdir@/plugingui/humaniservisualiser.cc \ @top_srcdir@/plugingui/humanizerframecontent.cc \ @top_srcdir@/plugingui/maintab.cc \ @top_srcdir@/plugingui/mainwindow.cc \ @top_srcdir@/plugingui/pluginconfig.cc \ @top_srcdir@/plugingui/powerwidget.cc \ @top_srcdir@/plugingui/resamplingframecontent.cc \ @top_srcdir@/plugingui/sampleselectionframecontent.cc \ @top_srcdir@/plugingui/statusframecontent.cc \ @top_srcdir@/plugingui/timingframecontent.cc \ @top_srcdir@/plugingui/visualizerframecontent.cc \ @top_srcdir@/plugingui/voicelimitframecontent.cc \ \ @top_srcdir@/dggui/button.cc \ @top_srcdir@/dggui/button_base.cc \ @top_srcdir@/dggui/checkbox.cc \ @top_srcdir@/dggui/colour.cc \ @top_srcdir@/dggui/combobox.cc \ @top_srcdir@/dggui/dialog.cc \ @top_srcdir@/dggui/eventhandler.cc \ @top_srcdir@/dggui/font.cc \ @top_srcdir@/dggui/frame.cc \ @top_srcdir@/dggui/helpbutton.cc \ @top_srcdir@/dggui/image.cc \ @top_srcdir@/dggui/imagecache.cc \ @top_srcdir@/dggui/knob.cc \ @top_srcdir@/dggui/label.cc \ @top_srcdir@/dggui/layout.cc \ @top_srcdir@/dggui/led.cc \ @top_srcdir@/dggui/lineedit.cc \ @top_srcdir@/dggui/listbox.cc \ @top_srcdir@/dggui/listboxbasic.cc \ @top_srcdir@/dggui/listboxthin.cc \ @top_srcdir@/dggui/painter.cc \ @top_srcdir@/dggui/pixelbuffer.cc \ @top_srcdir@/dggui/powerbutton.cc \ @top_srcdir@/dggui/progressbar.cc \ @top_srcdir@/dggui/rc_data.cc \ @top_srcdir@/dggui/resource.cc \ @top_srcdir@/dggui/scrollbar.cc \ @top_srcdir@/dggui/slider.cc \ @top_srcdir@/dggui/stackedwidget.cc \ @top_srcdir@/dggui/tabbutton.cc \ @top_srcdir@/dggui/tabwidget.cc \ @top_srcdir@/dggui/textedit.cc \ @top_srcdir@/dggui/texture.cc \ @top_srcdir@/dggui/texturedbox.cc \ @top_srcdir@/dggui/toggle.cc \ @top_srcdir@/dggui/tooltip.cc \ @top_srcdir@/dggui/uitranslation.cc \ @top_srcdir@/dggui/utf8.cc \ @top_srcdir@/dggui/verticalline.cc \ @top_srcdir@/dggui/widget.cc \ @top_srcdir@/dggui/window.cc \ \ @top_srcdir@/dggui/lodepng/lodepng.cpp \ @top_srcdir@/dggui/nativewindow_win32.cc GUI_CPPFLAGS=-I@top_srcdir@/plugingui/ -I@top_srcdir@/ -DUSE_THREAD @GUI_CPPFLAGS@ GUI_LIBS=@GUI_LIBS@ DBG_SRC = \ @top_srcdir@/hugin/hugin.c \ @top_srcdir@/hugin/hugin_syslog.c DBG_CFLAGS=-I../hugin -DWITH_HUG_SYSLOG -DWITH_HUG_MUTEX # -DDISABLE_HUGIN # # http://old.nabble.com/using-VC%2B%2B-.lib-with-mingw-td23151303.html # Given `-lfoo', the win32 build of GNU ld will search for libfoo.a and foo.lib # SNDFILE_CFLAGS=@SNDFILE_CFLAGS@ SNDFILE_LIBS=@SNDFILE_LIBS@ CXXFLAGS += @CXXFLAGS@ -fvisibility=hidden CFLAGS += @CFLAGS@ -fvisibility=hidden LDFLAGS += @LDFLAGS@ SRC = \ @top_srcdir@/plugin/plugingizmo/midievent.cc \ @top_srcdir@/plugin/plugingizmo/pluginvst.cc \ drumgizmo_plugin.cc RES = \ @top_srcdir@/plugingui/resources/bg.png \ @top_srcdir@/plugingui/resources/bypass_button.png \ @top_srcdir@/plugingui/resources/font.png \ @top_srcdir@/plugingui/resources/fontemboss.png \ @top_srcdir@/plugingui/resources/help_button.png \ @top_srcdir@/plugingui/resources/knob.png \ @top_srcdir@/plugingui/resources/logo.png \ @top_srcdir@/plugingui/resources/png_error \ @top_srcdir@/plugingui/resources/progress.png \ @top_srcdir@/plugingui/resources/pushbutton.png \ @top_srcdir@/plugingui/resources/sidebar.png \ @top_srcdir@/plugingui/resources/slider.png \ @top_srcdir@/plugingui/resources/stddev_horizontal.png \ @top_srcdir@/plugingui/resources/stddev_horizontal_disabled.png \ @top_srcdir@/plugingui/resources/stddev_vertical.png \ @top_srcdir@/plugingui/resources/stddev_vertical_disabled.png \ @top_srcdir@/plugingui/resources/switch_back_off.png \ @top_srcdir@/plugingui/resources/switch_back_on.png \ @top_srcdir@/plugingui/resources/switch_front.png \ @top_srcdir@/plugingui/resources/tab.png \ @top_srcdir@/plugingui/resources/thinlistbox.png \ @top_srcdir@/plugingui/resources/topbar.png \ @top_srcdir@/plugingui/resources/toplogo.png \ @top_srcdir@/plugingui/resources/vertline.png \ @top_srcdir@/plugingui/resources/widget.png \ @top_srcdir@/plugingui/../ABOUT \ @top_srcdir@/plugingui/../ABOUT.fr \ @top_srcdir@/plugingui/../AUTHORS \ @top_srcdir@/plugingui/../AUTHORS.fr \ @top_srcdir@/plugingui/../BUGS \ @top_srcdir@/plugingui/../BUGS.fr \ @top_srcdir@/plugingui/../COPYING NLS_RES = \ @top_builddir@/plugingui/locale/da.mo \ @top_builddir@/plugingui/locale/fr.mo all: (cd @top_srcdir@/plugingui/locale; msgfmt -c -v -o da.mo da.po) (cd @top_srcdir@/plugingui/locale; msgfmt -c -v -o fr.mo fr.po) g++ -I@top_srcdir@/getoptpp @top_srcdir@/dggui/rcgentool.cc -o @top_srcdir@/dggui/rcgen @top_srcdir@/dggui/rcgen -s @top_srcdir@/dggui/ -s @top_builddir@/plugingui/ $(RES) $(NLS_RES) -o @top_srcdir@/plugingui/resource_data.cc g++ $(CXXFLAGS) -I@top_srcdir@ @top_srcdir@/plugingui/resource_data.cc -c gcc $(CFLAGS) $(DBG_CFLAGS) @top_srcdir@/hugin/hugin.c -c gcc $(CFLAGS) $(DBG_CFLAGS) @top_srcdir@/hugin/hugin_syslog.c -c g++ $(LDFLAGS) $(CXXFLAGS) -std=c++11 -static -static-libgcc -O2 -g -Wall $(DBG_CFLAGS) $(DG_CFLAGS) $(DG_LIBS) $(VST_CFLAGS) hugin.o hugin_syslog.o resource_data.o $(DG_SRC) $(VST_SRC) ${SRC} ${GUI_SRC} ${GUI_CPPFLAGS} $(GUI_LIBS) $(SNDFILE_CFLAGS) $(SNDFILE_LIBS) -latomic -shared -Wl,-retain-symbols-file -Wl,drumgizmo_vst.sym -o drumgizmo_vst.dll -Wl,--out-implib,libdrumgizmo_vst.a clean: del -f drumgizmo_vst.dll libdrumgizmo_vst.a drumgizmo-0.9.20/plugin/drumgizmo_plugin.h0000644000076400007640000001331114050006304015601 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * drumgizmo_lv2.h * * Wed Mar 2 17:31:31 CET 2016 * Copyright 2016 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #ifdef LV2 #include #endif #ifdef VST #include #endif #include #include #include #include #include #include #include #include class DrumGizmoPlugin #ifdef LV2 : public PluginLV2 #endif #ifdef VST : public PluginVST #endif { public: #ifdef VST DrumGizmoPlugin(audioMasterCallback audioMaster); #else DrumGizmoPlugin(); #endif void onFramesizeChange(size_t framesize) override; void onSamplerateChange(float samplerate) override; void onActiveChange(bool active) override; std::string onStateSave() override; void onStateRestore(const std::string& config) override; size_t getNumberOfMidiInputs() override; size_t getNumberOfMidiOutputs() override; size_t getNumberOfAudioInputs() override; size_t getNumberOfAudioOutputs() override; // Functions used to set VST plugin information std::string getId() override; std::string getURI() override; std::string getEffectName() override; std::string getVendorString() override; std::string getProductString() override; std::string getHomepage() override; PluginCategory getPluginCategory() override; void process(size_t pos, const std::vector& input_events, std::vector& output_events, const std::vector& input_samples, const std::vector& output_samples, size_t count) override; // // Inline GUI // bool hasInlineGUI() override; void onInlineRedraw(std::size_t width, std::size_t max_height, InlineDrawContext& context) override; // // GUI // bool hasGUI() override; void* createWindow(void *parent) override; void onDestroyWindow() override; void onShowWindow() override; void onHideWindow() override; void onIdle() override; void closeWindow() override; private: class Input : public AudioInputEngineMidi { public: Input(DrumGizmoPlugin& plugin); bool init(const Instruments& instruments) override; void setParm(const std::string& parm, const std::string& value) override; bool start() override; void stop() override; void pre() override; void run(size_t pos, size_t len, std::vector& events) override; void post() override; bool isFreewheeling() const override; bool loadMidiMap(const std::string& file, const Instruments& i) override; protected: DrumGizmoPlugin& plugin; const Instruments* instruments{nullptr}; }; class Output : public AudioOutputEngine { public: Output(DrumGizmoPlugin& plugin); bool init(const Channels& channels) override; void setParm(const std::string& parm, const std::string& value) override; bool start() override; void stop() override; void pre(size_t nsamples) override; void run(int ch, sample_t *samples, size_t nsamples) override; void post(size_t nsamples) override; sample_t *getBuffer(int ch) const override; std::size_t getBufferSize() const override; std::size_t getSamplerate() const override; bool isFreewheeling() const override; protected: DrumGizmoPlugin& plugin; }; class ConfigStringIO { public: ConfigStringIO(Settings& settings); std::string get(); bool set(std::string config_string); private: Settings& settings; }; Input input{*this}; const std::vector* input_events{nullptr}; Output output{*this}; const std::vector* output_samples{nullptr}; Settings settings; ConfigStringIO config_string_io; SettingsGetter settingsGetter{settings}; dggui::ImageCache imageCache; dggui::TexturedBox box{imageCache, ":resources/progress.png", 0, 0, // atlas offset (x, y) 6, 1, 6, // dx1, dx2, dx3 11, 0, 0}; // dy1, dy2, dy3 dggui::TexturedBox bar_red{imageCache, ":resources/progress.png", 13, 0, // atlas offset (x, y) 2, 1, 2, // dx1, dx2, dx3 11, 0, 0}; // dy1, dy2, dy3 dggui::TexturedBox bar_green{imageCache, ":resources/progress.png", 18, 0, // atlas offset (x, y) 2, 1, 2, // dx1, dx2, dx3 11, 0, 0}; // dy1, dy2, dy3 dggui::TexturedBox bar_blue{imageCache, ":resources/progress.png", 23, 0, // atlas offset (x, y) 2, 1, 2, // dx1, dx2, dx3 11, 0, 0}; // dy1, dy2, dy3 std::shared_ptr plugin_gui; std::shared_ptr drumgizmo; std::uint32_t inlineDisplayBuffer[1024*1024]; dggui::Image inline_display_image{":resources/logo.png"}; bool inline_image_first_draw{true}; #ifdef WITH_NLS dggui::UITranslation translation; #endif // WITH_NLS }; drumgizmo-0.9.20/plugin/Makefile.in0000644000076400007640000014177514306421323014130 00000000000000# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ noinst_PROGRAMS = $(am__EXEEXT_1) @ENABLE_LV2_TRUE@am__append_1 = ttlgen subdir = plugin ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = Makefile.mingw32 CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(lv2plugindir)" \ "$(DESTDIR)$(vstplugindir)" "$(DESTDIR)$(lv2plugindir)" \ "$(DESTDIR)$(vstplugindir)" LTLIBRARIES = $(lv2plugin_LTLIBRARIES) $(vstplugin_LTLIBRARIES) am__DEPENDENCIES_1 = drumgizmo_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ $(top_builddir)/plugingui/libplugingui.la \ $(top_builddir)/src/libdg.la $(top_builddir)/src/libnls.la am_drumgizmo_la_OBJECTS = drumgizmo_la-hugin.lo \ drumgizmo_la-midievent.lo drumgizmo_la-pluginlv2.lo \ drumgizmo_la-drumgizmo_plugin.lo drumgizmo_la_OBJECTS = $(am_drumgizmo_la_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = drumgizmo_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(drumgizmo_la_CXXFLAGS) \ $(CXXFLAGS) $(drumgizmo_la_LDFLAGS) $(LDFLAGS) -o $@ @ENABLE_LV2_TRUE@am_drumgizmo_la_rpath = -rpath $(lv2plugindir) drumgizmo_vst_la_DEPENDENCIES = vst/libvstsdk.la \ $(top_builddir)/plugingui/libplugingui.la \ $(top_builddir)/src/libdg.la $(top_builddir)/src/libnls.la am_drumgizmo_vst_la_OBJECTS = drumgizmo_vst_la-hugin.lo \ drumgizmo_vst_la-midievent.lo drumgizmo_vst_la-pluginvst.lo \ drumgizmo_vst_la-drumgizmo_plugin.lo drumgizmo_vst_la_OBJECTS = $(am_drumgizmo_vst_la_OBJECTS) drumgizmo_vst_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ $(drumgizmo_vst_la_CXXFLAGS) $(CXXFLAGS) \ $(drumgizmo_vst_la_LDFLAGS) $(LDFLAGS) -o $@ @ENABLE_VST_TRUE@am_drumgizmo_vst_la_rpath = -rpath $(vstplugindir) @ENABLE_LV2_TRUE@am__EXEEXT_1 = ttlgen$(EXEEXT) PROGRAMS = $(noinst_PROGRAMS) am_ttlgen_OBJECTS = ttlgen-ttlgen.$(OBJEXT) ttlgen_OBJECTS = $(am_ttlgen_OBJECTS) ttlgen_LDADD = $(LDADD) ttlgen_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ $(CXXFLAGS) $(ttlgen_LDFLAGS) $(LDFLAGS) -o $@ AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CXXFLAGS) $(CXXFLAGS) AM_V_CXX = $(am__v_CXX_@AM_V@) am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) am__v_CXX_0 = @echo " CXX " $@; am__v_CXX_1 = CXXLD = $(CXX) CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) am__v_CXXLD_0 = @echo " CXXLD " $@; am__v_CXXLD_1 = SOURCES = $(drumgizmo_la_SOURCES) $(drumgizmo_vst_la_SOURCES) \ $(ttlgen_SOURCES) DIST_SOURCES = $(drumgizmo_la_SOURCES) $(drumgizmo_vst_la_SOURCES) \ $(ttlgen_SOURCES) RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac DATA = $(lv2plugin_DATA) $(vstplugin_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ distdir am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.mingw32.in \ $(top_srcdir)/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ ALSA_CFLAGS = @ALSA_CFLAGS@ ALSA_LIBS = @ALSA_LIBS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEBUG_FLAGS = @DEBUG_FLAGS@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DL_CFLAGS = @DL_CFLAGS@ DL_LIBS = @DL_LIBS@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_STORE = @FLOAT_STORE@ GREP = @GREP@ GUI_CPPFLAGS = @GUI_CPPFLAGS@ GUI_LIBS = @GUI_LIBS@ INPUT_PLUGINS = @INPUT_PLUGINS@ INPUT_PLUGIN_DIR = @INPUT_PLUGIN_DIR@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ JACK_CFLAGS = @JACK_CFLAGS@ JACK_LIBS = @JACK_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ LV2DIR = @LV2DIR@ LV2_CFLAGS = @LV2_CFLAGS@ LV2_LIBS = @LV2_LIBS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJC = @OBJC@ OBJCDEPMODE = @OBJCDEPMODE@ OBJCFLAGS = @OBJCFLAGS@ OBJCXX = @OBJCXX@ OBJCXXDEPMODE = @OBJCXXDEPMODE@ OBJCXXFLAGS = @OBJCXXFLAGS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ OUTPUT_PLUGINS = @OUTPUT_PLUGINS@ OUTPUT_PLUGIN_DIR = @OUTPUT_PLUGIN_DIR@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SMF_CFLAGS = @SMF_CFLAGS@ SMF_LIBS = @SMF_LIBS@ SNDFILE_CFLAGS = @SNDFILE_CFLAGS@ SNDFILE_LIBS = @SNDFILE_LIBS@ SSEFLAGS = @SSEFLAGS@ STRIP = @STRIP@ VERSION = @VERSION@ VST_CPPFLAGS = @VST_CPPFLAGS@ VST_SOURCE_PATH = @VST_SOURCE_PATH@ X11_CFLAGS = @X11_CFLAGS@ X11_LIBS = @X11_LIBS@ XEXT_CFLAGS = @XEXT_CFLAGS@ XEXT_LIBS = @XEXT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ ac_ct_OBJC = @ac_ct_OBJC@ ac_ct_OBJCXX = @ac_ct_OBJCXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ dgplugindir = @dgplugindir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = vst ####### # LV2 ### @ENABLE_LV2_TRUE@lv2plugindir = @LV2DIR@/drumgizmo.lv2 @ENABLE_LV2_TRUE@lv2plugin_LTLIBRARIES = drumgizmo.la @ENABLE_LV2_TRUE@lv2plugin_DATA = manifest.ttl drumgizmo_la_CXXFLAGS = -DLV2 -DLV2_PLUGIN_URI=\"http://drumgizmo.org/lv2\" \ $(DEBUG_FLAGS) \ -fvisibility=hidden \ -I$(top_srcdir)/zita-resampler/libs \ $(LV2_CFLAGS) \ $(SNDFILE_CFLAGS) \ -I$(top_srcdir)/plugin/plugingizmo \ -I$(top_srcdir)/ \ -I$(top_srcdir)/plugingui \ -I$(top_srcdir)/src \ -I$(top_srcdir)/hugin drumgizmo_la_CFLAGS = -fvisibility=hidden drumgizmo_la_SOURCES = \ $(top_srcdir)/hugin/hugin.c \ $(top_srcdir)/plugin/plugingizmo/midievent.cc \ $(top_srcdir)/plugin/plugingizmo/pluginlv2.cc \ drumgizmo_plugin.cc drumgizmo_la_LDFLAGS = -shared -module -avoid-version \ -no-undefined -export-symbols $(top_srcdir)/plugin/drumgizmo_lv2.sym drumgizmo_la_LIBADD = $(LV2_LIBS) \ $(top_builddir)/plugingui/libplugingui.la \ $(top_builddir)/src/libdg.la \ $(top_builddir)/src/libnls.la ttlgen_CPPFLAGS = \ $(DEBUG_FLAGS) \ $(DL_CFLAGS) -I$(top_srcdir)/plugin/plugingizmo ttlgen_LDFLAGS = $(DL_LIBS) ttlgen_SOURCES = \ $(top_srcdir)/plugin/plugingizmo/ttlgen.cc @ENABLE_COCOA_TRUE@UITYPE = CocoaUI @ENABLE_PUGL_COCOA_TRUE@UITYPE = CocoaUI @ENABLE_PUGL_WIN32_TRUE@UITYPE = WindowsUI @ENABLE_PUGL_X11_TRUE@UITYPE = X11UI @ENABLE_WIN32_TRUE@UITYPE = WindowsUI @ENABLE_X11_TRUE@UITYPE = X11UI ttlgen_verbose = $(ttlgen_verbose_@AM_V@) ttlgen_verbose_ = $(ttlgen_verbose_@AM_DEFAULT_V@) ttlgen_verbose_0 = @echo " TTLGEN "$@; ####### # VST ### @ENABLE_VST_TRUE@vstplugindir = $(libdir)/vst @ENABLE_VST_TRUE@vstplugin_LTLIBRARIES = drumgizmo_vst.la @ENABLE_VST_TRUE@vstplugin_DATA = drumgizmo_vst_la_CXXFLAGS = -DVST \ $(DEBUG_FLAGS) \ -fvisibility=hidden \ -I$(top_srcdir)/zita-resampler/libs \ $(SNDFILE_CFLAGS) \ -I$(top_srcdir)/plugin/plugingizmo \ -I$(top_srcdir)/ \ -I$(top_srcdir)/plugingui \ -I$(top_srcdir)/src \ -I$(top_srcdir)/hugin \ $(VST_CPPFLAGS) -Ivst drumgizmo_vst_la_CFLAGS = -fvisibility=hidden drumgizmo_vst_la_SOURCES = \ $(top_srcdir)/hugin/hugin.c \ $(top_srcdir)/plugin/plugingizmo/midievent.cc \ $(top_srcdir)/plugin/plugingizmo/pluginvst.cc \ drumgizmo_plugin.cc drumgizmo_vst_la_LDFLAGS = -shared -module -avoid-version \ -no-undefined -export-symbols $(top_srcdir)/plugin/drumgizmo_vst.sym drumgizmo_vst_la_LIBADD = \ vst/libvstsdk.la \ $(top_builddir)/plugingui/libplugingui.la \ $(top_builddir)/src/libdg.la \ $(top_builddir)/src/libnls.la EXTRA_DIST = \ $(lv2plugin_DATA) \ $(vstplugin_DATA) \ drumgizmo_plugin.h \ drumgizmo_lv2.sym \ drumgizmo_vst.sym \ $(top_srcdir)/plugin/plugingizmo/plugin.h \ $(top_srcdir)/plugin/plugingizmo/midievent.h \ $(top_srcdir)/plugin/plugingizmo/midnam_lv2.h \ $(top_srcdir)/plugin/plugingizmo/pluginlv2.h \ $(top_srcdir)/plugin/plugingizmo/pluginvst.h \ $(top_srcdir)/plugin/plugingizmo/inline-display.h all: all-recursive .SUFFIXES: .SUFFIXES: .c .cc .lo .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu plugin/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu plugin/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): Makefile.mingw32: $(top_builddir)/config.status $(srcdir)/Makefile.mingw32.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ install-lv2pluginLTLIBRARIES: $(lv2plugin_LTLIBRARIES) @$(NORMAL_INSTALL) @list='$(lv2plugin_LTLIBRARIES)'; test -n "$(lv2plugindir)" || list=; \ list2=; for p in $$list; do \ if test -f $$p; then \ list2="$$list2 $$p"; \ else :; fi; \ done; \ test -z "$$list2" || { \ echo " $(MKDIR_P) '$(DESTDIR)$(lv2plugindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(lv2plugindir)" || exit 1; \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(lv2plugindir)'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(lv2plugindir)"; \ } uninstall-lv2pluginLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(lv2plugin_LTLIBRARIES)'; test -n "$(lv2plugindir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(lv2plugindir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(lv2plugindir)/$$f"; \ done clean-lv2pluginLTLIBRARIES: -test -z "$(lv2plugin_LTLIBRARIES)" || rm -f $(lv2plugin_LTLIBRARIES) @list='$(lv2plugin_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } install-vstpluginLTLIBRARIES: $(vstplugin_LTLIBRARIES) @$(NORMAL_INSTALL) @list='$(vstplugin_LTLIBRARIES)'; test -n "$(vstplugindir)" || list=; \ list2=; for p in $$list; do \ if test -f $$p; then \ list2="$$list2 $$p"; \ else :; fi; \ done; \ test -z "$$list2" || { \ echo " $(MKDIR_P) '$(DESTDIR)$(vstplugindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(vstplugindir)" || exit 1; \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(vstplugindir)'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(vstplugindir)"; \ } uninstall-vstpluginLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(vstplugin_LTLIBRARIES)'; test -n "$(vstplugindir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(vstplugindir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(vstplugindir)/$$f"; \ done clean-vstpluginLTLIBRARIES: -test -z "$(vstplugin_LTLIBRARIES)" || rm -f $(vstplugin_LTLIBRARIES) @list='$(vstplugin_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } drumgizmo.la: $(drumgizmo_la_OBJECTS) $(drumgizmo_la_DEPENDENCIES) $(EXTRA_drumgizmo_la_DEPENDENCIES) $(AM_V_CXXLD)$(drumgizmo_la_LINK) $(am_drumgizmo_la_rpath) $(drumgizmo_la_OBJECTS) $(drumgizmo_la_LIBADD) $(LIBS) drumgizmo_vst.la: $(drumgizmo_vst_la_OBJECTS) $(drumgizmo_vst_la_DEPENDENCIES) $(EXTRA_drumgizmo_vst_la_DEPENDENCIES) $(AM_V_CXXLD)$(drumgizmo_vst_la_LINK) $(am_drumgizmo_vst_la_rpath) $(drumgizmo_vst_la_OBJECTS) $(drumgizmo_vst_la_LIBADD) $(LIBS) clean-noinstPROGRAMS: @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \ echo " rm -f" $$list; \ rm -f $$list || exit $$?; \ test -n "$(EXEEXT)" || exit 0; \ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list ttlgen$(EXEEXT): $(ttlgen_OBJECTS) $(ttlgen_DEPENDENCIES) $(EXTRA_ttlgen_DEPENDENCIES) @rm -f ttlgen$(EXEEXT) $(AM_V_CXXLD)$(ttlgen_LINK) $(ttlgen_OBJECTS) $(ttlgen_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/drumgizmo_la-drumgizmo_plugin.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/drumgizmo_la-hugin.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/drumgizmo_la-midievent.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/drumgizmo_la-pluginlv2.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/drumgizmo_vst_la-drumgizmo_plugin.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/drumgizmo_vst_la-hugin.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/drumgizmo_vst_la-midievent.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/drumgizmo_vst_la-pluginvst.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ttlgen-ttlgen.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< drumgizmo_la-hugin.lo: $(top_srcdir)/hugin/hugin.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(drumgizmo_la_CFLAGS) $(CFLAGS) -MT drumgizmo_la-hugin.lo -MD -MP -MF $(DEPDIR)/drumgizmo_la-hugin.Tpo -c -o drumgizmo_la-hugin.lo `test -f '$(top_srcdir)/hugin/hugin.c' || echo '$(srcdir)/'`$(top_srcdir)/hugin/hugin.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/drumgizmo_la-hugin.Tpo $(DEPDIR)/drumgizmo_la-hugin.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(top_srcdir)/hugin/hugin.c' object='drumgizmo_la-hugin.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(drumgizmo_la_CFLAGS) $(CFLAGS) -c -o drumgizmo_la-hugin.lo `test -f '$(top_srcdir)/hugin/hugin.c' || echo '$(srcdir)/'`$(top_srcdir)/hugin/hugin.c drumgizmo_vst_la-hugin.lo: $(top_srcdir)/hugin/hugin.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(drumgizmo_vst_la_CFLAGS) $(CFLAGS) -MT drumgizmo_vst_la-hugin.lo -MD -MP -MF $(DEPDIR)/drumgizmo_vst_la-hugin.Tpo -c -o drumgizmo_vst_la-hugin.lo `test -f '$(top_srcdir)/hugin/hugin.c' || echo '$(srcdir)/'`$(top_srcdir)/hugin/hugin.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/drumgizmo_vst_la-hugin.Tpo $(DEPDIR)/drumgizmo_vst_la-hugin.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(top_srcdir)/hugin/hugin.c' object='drumgizmo_vst_la-hugin.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(drumgizmo_vst_la_CFLAGS) $(CFLAGS) -c -o drumgizmo_vst_la-hugin.lo `test -f '$(top_srcdir)/hugin/hugin.c' || echo '$(srcdir)/'`$(top_srcdir)/hugin/hugin.c .cc.o: @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< .cc.obj: @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cc.lo: @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $< drumgizmo_la-midievent.lo: $(top_srcdir)/plugin/plugingizmo/midievent.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(drumgizmo_la_CXXFLAGS) $(CXXFLAGS) -MT drumgizmo_la-midievent.lo -MD -MP -MF $(DEPDIR)/drumgizmo_la-midievent.Tpo -c -o drumgizmo_la-midievent.lo `test -f '$(top_srcdir)/plugin/plugingizmo/midievent.cc' || echo '$(srcdir)/'`$(top_srcdir)/plugin/plugingizmo/midievent.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/drumgizmo_la-midievent.Tpo $(DEPDIR)/drumgizmo_la-midievent.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$(top_srcdir)/plugin/plugingizmo/midievent.cc' object='drumgizmo_la-midievent.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(drumgizmo_la_CXXFLAGS) $(CXXFLAGS) -c -o drumgizmo_la-midievent.lo `test -f '$(top_srcdir)/plugin/plugingizmo/midievent.cc' || echo '$(srcdir)/'`$(top_srcdir)/plugin/plugingizmo/midievent.cc drumgizmo_la-pluginlv2.lo: $(top_srcdir)/plugin/plugingizmo/pluginlv2.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(drumgizmo_la_CXXFLAGS) $(CXXFLAGS) -MT drumgizmo_la-pluginlv2.lo -MD -MP -MF $(DEPDIR)/drumgizmo_la-pluginlv2.Tpo -c -o drumgizmo_la-pluginlv2.lo `test -f '$(top_srcdir)/plugin/plugingizmo/pluginlv2.cc' || echo '$(srcdir)/'`$(top_srcdir)/plugin/plugingizmo/pluginlv2.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/drumgizmo_la-pluginlv2.Tpo $(DEPDIR)/drumgizmo_la-pluginlv2.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$(top_srcdir)/plugin/plugingizmo/pluginlv2.cc' object='drumgizmo_la-pluginlv2.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(drumgizmo_la_CXXFLAGS) $(CXXFLAGS) -c -o drumgizmo_la-pluginlv2.lo `test -f '$(top_srcdir)/plugin/plugingizmo/pluginlv2.cc' || echo '$(srcdir)/'`$(top_srcdir)/plugin/plugingizmo/pluginlv2.cc drumgizmo_la-drumgizmo_plugin.lo: drumgizmo_plugin.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(drumgizmo_la_CXXFLAGS) $(CXXFLAGS) -MT drumgizmo_la-drumgizmo_plugin.lo -MD -MP -MF $(DEPDIR)/drumgizmo_la-drumgizmo_plugin.Tpo -c -o drumgizmo_la-drumgizmo_plugin.lo `test -f 'drumgizmo_plugin.cc' || echo '$(srcdir)/'`drumgizmo_plugin.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/drumgizmo_la-drumgizmo_plugin.Tpo $(DEPDIR)/drumgizmo_la-drumgizmo_plugin.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='drumgizmo_plugin.cc' object='drumgizmo_la-drumgizmo_plugin.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(drumgizmo_la_CXXFLAGS) $(CXXFLAGS) -c -o drumgizmo_la-drumgizmo_plugin.lo `test -f 'drumgizmo_plugin.cc' || echo '$(srcdir)/'`drumgizmo_plugin.cc drumgizmo_vst_la-midievent.lo: $(top_srcdir)/plugin/plugingizmo/midievent.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(drumgizmo_vst_la_CXXFLAGS) $(CXXFLAGS) -MT drumgizmo_vst_la-midievent.lo -MD -MP -MF $(DEPDIR)/drumgizmo_vst_la-midievent.Tpo -c -o drumgizmo_vst_la-midievent.lo `test -f '$(top_srcdir)/plugin/plugingizmo/midievent.cc' || echo '$(srcdir)/'`$(top_srcdir)/plugin/plugingizmo/midievent.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/drumgizmo_vst_la-midievent.Tpo $(DEPDIR)/drumgizmo_vst_la-midievent.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$(top_srcdir)/plugin/plugingizmo/midievent.cc' object='drumgizmo_vst_la-midievent.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(drumgizmo_vst_la_CXXFLAGS) $(CXXFLAGS) -c -o drumgizmo_vst_la-midievent.lo `test -f '$(top_srcdir)/plugin/plugingizmo/midievent.cc' || echo '$(srcdir)/'`$(top_srcdir)/plugin/plugingizmo/midievent.cc drumgizmo_vst_la-pluginvst.lo: $(top_srcdir)/plugin/plugingizmo/pluginvst.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(drumgizmo_vst_la_CXXFLAGS) $(CXXFLAGS) -MT drumgizmo_vst_la-pluginvst.lo -MD -MP -MF $(DEPDIR)/drumgizmo_vst_la-pluginvst.Tpo -c -o drumgizmo_vst_la-pluginvst.lo `test -f '$(top_srcdir)/plugin/plugingizmo/pluginvst.cc' || echo '$(srcdir)/'`$(top_srcdir)/plugin/plugingizmo/pluginvst.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/drumgizmo_vst_la-pluginvst.Tpo $(DEPDIR)/drumgizmo_vst_la-pluginvst.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$(top_srcdir)/plugin/plugingizmo/pluginvst.cc' object='drumgizmo_vst_la-pluginvst.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(drumgizmo_vst_la_CXXFLAGS) $(CXXFLAGS) -c -o drumgizmo_vst_la-pluginvst.lo `test -f '$(top_srcdir)/plugin/plugingizmo/pluginvst.cc' || echo '$(srcdir)/'`$(top_srcdir)/plugin/plugingizmo/pluginvst.cc drumgizmo_vst_la-drumgizmo_plugin.lo: drumgizmo_plugin.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(drumgizmo_vst_la_CXXFLAGS) $(CXXFLAGS) -MT drumgizmo_vst_la-drumgizmo_plugin.lo -MD -MP -MF $(DEPDIR)/drumgizmo_vst_la-drumgizmo_plugin.Tpo -c -o drumgizmo_vst_la-drumgizmo_plugin.lo `test -f 'drumgizmo_plugin.cc' || echo '$(srcdir)/'`drumgizmo_plugin.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/drumgizmo_vst_la-drumgizmo_plugin.Tpo $(DEPDIR)/drumgizmo_vst_la-drumgizmo_plugin.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='drumgizmo_plugin.cc' object='drumgizmo_vst_la-drumgizmo_plugin.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(drumgizmo_vst_la_CXXFLAGS) $(CXXFLAGS) -c -o drumgizmo_vst_la-drumgizmo_plugin.lo `test -f 'drumgizmo_plugin.cc' || echo '$(srcdir)/'`drumgizmo_plugin.cc ttlgen-ttlgen.o: $(top_srcdir)/plugin/plugingizmo/ttlgen.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ttlgen_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT ttlgen-ttlgen.o -MD -MP -MF $(DEPDIR)/ttlgen-ttlgen.Tpo -c -o ttlgen-ttlgen.o `test -f '$(top_srcdir)/plugin/plugingizmo/ttlgen.cc' || echo '$(srcdir)/'`$(top_srcdir)/plugin/plugingizmo/ttlgen.cc @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ttlgen-ttlgen.Tpo $(DEPDIR)/ttlgen-ttlgen.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$(top_srcdir)/plugin/plugingizmo/ttlgen.cc' object='ttlgen-ttlgen.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ttlgen_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o ttlgen-ttlgen.o `test -f '$(top_srcdir)/plugin/plugingizmo/ttlgen.cc' || echo '$(srcdir)/'`$(top_srcdir)/plugin/plugingizmo/ttlgen.cc ttlgen-ttlgen.obj: $(top_srcdir)/plugin/plugingizmo/ttlgen.cc @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ttlgen_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT ttlgen-ttlgen.obj -MD -MP -MF $(DEPDIR)/ttlgen-ttlgen.Tpo -c -o ttlgen-ttlgen.obj `if test -f '$(top_srcdir)/plugin/plugingizmo/ttlgen.cc'; then $(CYGPATH_W) '$(top_srcdir)/plugin/plugingizmo/ttlgen.cc'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/plugin/plugingizmo/ttlgen.cc'; fi` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ttlgen-ttlgen.Tpo $(DEPDIR)/ttlgen-ttlgen.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$(top_srcdir)/plugin/plugingizmo/ttlgen.cc' object='ttlgen-ttlgen.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(ttlgen_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o ttlgen-ttlgen.obj `if test -f '$(top_srcdir)/plugin/plugingizmo/ttlgen.cc'; then $(CYGPATH_W) '$(top_srcdir)/plugin/plugingizmo/ttlgen.cc'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/plugin/plugingizmo/ttlgen.cc'; fi` mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-lv2pluginDATA: $(lv2plugin_DATA) @$(NORMAL_INSTALL) @list='$(lv2plugin_DATA)'; test -n "$(lv2plugindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(lv2plugindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(lv2plugindir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(lv2plugindir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(lv2plugindir)" || exit $$?; \ done uninstall-lv2pluginDATA: @$(NORMAL_UNINSTALL) @list='$(lv2plugin_DATA)'; test -n "$(lv2plugindir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(lv2plugindir)'; $(am__uninstall_files_from_dir) install-vstpluginDATA: $(vstplugin_DATA) @$(NORMAL_INSTALL) @list='$(vstplugin_DATA)'; test -n "$(vstplugindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(vstplugindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(vstplugindir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(vstplugindir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(vstplugindir)" || exit $$?; \ done uninstall-vstpluginDATA: @$(NORMAL_UNINSTALL) @list='$(vstplugin_DATA)'; test -n "$(vstplugindir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(vstplugindir)'; $(am__uninstall_files_from_dir) # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(DATA) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(lv2plugindir)" "$(DESTDIR)$(vstplugindir)" "$(DESTDIR)$(lv2plugindir)" "$(DESTDIR)$(vstplugindir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool clean-lv2pluginLTLIBRARIES \ clean-noinstPROGRAMS clean-vstpluginLTLIBRARIES mostlyclean-am distclean: distclean-recursive -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-lv2pluginDATA install-lv2pluginLTLIBRARIES \ install-vstpluginDATA install-vstpluginLTLIBRARIES @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-data-hook install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-lv2pluginDATA uninstall-lv2pluginLTLIBRARIES \ uninstall-vstpluginDATA uninstall-vstpluginLTLIBRARIES .MAKE: $(am__recursive_targets) install-am install-data-am \ install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ check-am clean clean-generic clean-libtool \ clean-lv2pluginLTLIBRARIES clean-noinstPROGRAMS \ clean-vstpluginLTLIBRARIES cscopelist-am ctags ctags-am \ distclean distclean-compile distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-data-hook install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-lv2pluginDATA \ install-lv2pluginLTLIBRARIES install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ install-vstpluginDATA install-vstpluginLTLIBRARIES \ installcheck installcheck-am installdirs installdirs-am \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am \ uninstall-lv2pluginDATA uninstall-lv2pluginLTLIBRARIES \ uninstall-vstpluginDATA uninstall-vstpluginLTLIBRARIES .PRECIOUS: Makefile manifest.ttl : ttlgen drumgizmo.la $(ttlgen_verbose)./ttlgen .libs/drumgizmo.so manifest.ttl $(UITYPE) > /dev/null install-data-hook: rm -f $(DESTDIR)/$(lv2plugindir)/drumgizmo.la rm -f $(DESTDIR)/$(vstplugindir)/drumgizmo_vst.la # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: drumgizmo-0.9.20/plugin/drumgizmo_lv2.sym0000644000076400007640000000006413653301170015377 00000000000000lv2_descriptor lv2ui_descriptor createEffectInstancedrumgizmo-0.9.20/plugin/plugingizmo/0000755000076400007640000000000014306421547014500 500000000000000drumgizmo-0.9.20/plugin/plugingizmo/midnam_lv2.h0000644000076400007640000000207213557533530016625 00000000000000#define LV2_MIDNAM_URI "http://ardour.org/lv2/midnam" #define LV2_MIDNAM_PREFIX LV2_MIDNAM_URI "#" #define LV2_MIDNAM__interface LV2_MIDNAM_PREFIX "interface" #define LV2_MIDNAM__update LV2_MIDNAM_PREFIX "update" typedef void* LV2_Midnam_Handle; /** a LV2 Feature provided by the Host to the plugin */ typedef struct { /** Opaque host data */ LV2_Midnam_Handle handle; /** Request from run() that the host should re-read the midnam */ void (*update)(LV2_Midnam_Handle handle); } LV2_Midnam; typedef struct { /** Query midnam document. The plugin * is expected to return a null-terminated XML * text which is a valid midnam desciption * (or NULL in case of error). * * The midnam must be unique and * specific for the given plugin-instance. */ char* (*midnam)(LV2_Handle instance); /** The unique model id used ith the midnam, * (or NULL). */ char* (*model)(LV2_Handle instance); /** free allocated strings. The host * calls this for every value returned by * \ref midnam and \ref model. */ void (*free)(char*); } LV2_Midnam_Interface; drumgizmo-0.9.20/plugin/plugingizmo/pluginvst.h0000644000076400007640000001600413557534711016632 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * pluginvst.h * * Mon Feb 8 19:24:39 CET 2016 * Copyright 2016 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of PluginGizmo. * * PluginGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * PluginGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with PluginGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include #if defined(WIN32) #define WIN32_LEAN_AND_MEAN #include #endif // defined(WIN32) class PluginVST : public Plugin , public AudioEffectX { public: //! Call this to set up number of inputs/outpus, unique id etc... //! IMPORTANT: This must be called form the constructor. void init() override; //! Get current free-wheel mode. bool getFreeWheel() const override; //! Call this to get current samplerate. float getSamplerate() override; //! This method is called by the host when the free-wheel mode changes. virtual void onSamplerateChange(float samplerate) override = 0; //! Call this to get current frame-size. std::size_t getFramesize() override; //! This method is called by the host when the frame-size changes. virtual void onFramesizeChange(std::size_t framesize) override = 0; //! Call this to get current active state bool getActive() override; //! This method is called by the host when the active state changes. virtual void onActiveChange(bool active) override = 0; //! This method is called by the host to get the current state for storing. virtual std::string onStateSave() override = 0; //! This method is called by the host when a new state has been loaded. virtual void onStateRestore(const std::string& config) override = 0; //! This is method is called by the host to get the current latency. //! \param The latency in samples. float getLatency() override; //! Call this method to signal a latency change to the host. //! \param latency The latency in samples. void setLatency(float latency) override; //! Called by the the host to get the number of audio input channels. //! This must remain constant during the lifespan of the plugin instance. virtual std::size_t getNumberOfAudioInputs() override = 0; //! Called by the the host to get the number of audio output channels. //! This must remain constant during the lifespan of the plugin instance. virtual std::size_t getNumberOfAudioOutputs() override = 0; //! Called by the the host to get the number of midi input channels. //! This must remain constant during the lifespan of the plugin instance. virtual std::size_t getNumberOfMidiInputs() override = 0; //! Called by the the host to get the number of midi output channels. //! This must remain constant during the lifespan of the plugin instance. virtual std::size_t getNumberOfMidiOutputs() override = 0; // VST plugin information //! Get unique plugin id. std::string getId() override = 0; // Functions used to set plugin information for VST //! Returns value which is then used by getEffectName std::string getEffectName() override = 0; //! Returns value which is then used by getVendorString std::string getVendorString() override = 0; //! Returns value which is then used by getProductString std::string getProductString() override = 0; //! Returns value which is then used by getPlugCategory PluginCategory getPluginCategory() override = 0; //! Fill \e text with a string identifying the effect bool getEffectName(char* name) override; //! Fill \e text with a string identifying the vendor bool getVendorString(char* text) override; //! Fill \e text with a string identifying the product name bool getProductString(char* text) override; //! Specify a category that fits the plug (#VstPlugCategory) virtual VstPlugCategory getPlugCategory() override; virtual void process(std::size_t pos, const std::vector& input_events, std::vector& output_events, const std::vector& input_samples, const std::vector& output_samples, std::size_t count) override = 0; // // GUI // //! Return true if a GUI implementation is to be used. virtual bool hasGUI() override { return false; } //! Create new window. virtual void* createWindow(void *parent) override { return nullptr; } //! Destroy window. virtual void onDestroyWindow() override {} //! Show window. virtual void onShowWindow() override {} //! Hide window. virtual void onHideWindow() override {} //! Called regularly by host; process ui events. virtual void onIdle() override {} //! Signal new window size to host. void resizeWindow(std::size_t width, std::size_t height) override; //! Signal close window event to the host. void closeWindow() override; protected: bool active{false}; void updateLatency(); float current_latency{0.0f}; float update_latency{0.0f}; bool free_wheel{true}; std::vector input_events; std::size_t pos{0}; public: PluginVST(audioMasterCallback audioMaster); virtual ~PluginVST(); // From AudioEffect: void open() override; void close() override; void suspend() override; void resume() override; bool getInputProperties(VstInt32 index, VstPinProperties* props) override; bool getOutputProperties(VstInt32 index, VstPinProperties* props) override; // Callbacks: void setSampleRate(float sampleRate) override; void setBlockSize(VstInt32 blockSize) override; VstInt32 getChunk(void **data, bool isPreset) override; VstInt32 setChunk(void *data, VstInt32 byteSize, bool isPreset) override; // From AudioEffectX: VstInt32 canDo(char* text) override; void processReplacing(float** inputs, float** outputs, VstInt32 sampleFrames) override; VstInt32 processEvents(VstEvents *events) override; // UI class UI : public AEffEditor { public: UI(PluginVST& plugin_vst); bool open(void* ptr) override; void close() override; bool isOpen() override; void idle() override; bool getRect(ERect** rect) override; PluginVST& plugin_vst; bool is_open{false}; ERect rect{0,0,100,100}; }; private: std::shared_ptr editor; }; AudioEffect* createEffectInstance(audioMasterCallback audioMaster); drumgizmo-0.9.20/plugin/plugingizmo/midievent.h0000644000076400007640000000313113774363654016567 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * midievent.h * * Sun Feb 7 15:09:01 CET 2016 * Copyright 2016 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of PluginGizmo. * * PluginGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * PluginGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with PluginGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include enum class MidiEventType { Unknown, NoteOn, NoteOff, Aftertouch, }; class MidiEvent { public: MidiEvent() = default; MidiEvent(int64_t time, const char* data, std::size_t size); int64_t getTime() const; const char* getData() const; std::size_t getSize() const; MidiEventType type{MidiEventType::Unknown}; int key{0}; int velocity{0}; private: int64_t time; std::vector data; }; drumgizmo-0.9.20/plugin/plugingizmo/pluginlv2.h0000644000076400007640000002150213756157076016526 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * pluginlv2.h * * Sun Feb 7 15:15:23 CET 2016 * Copyright 2016 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of PluginGizmo. * * PluginGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * PluginGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with PluginGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #include #include #include #include #include #include #define DISPLAY_INTERFACE #define MIDNAM_INTERFACE #ifdef DISPLAY_INTERFACE #include "inline-display.h" #endif #ifdef MIDNAM_INTERFACE #include "midnam_lv2.h" #endif enum class LV2Ports { FreeWheel = 0, Latency = 1, PortOffset = 2, }; class PluginLV2 : public Plugin { public: virtual ~PluginLV2() = default; //! Not used in LV2 void init() override; //! Get current free-wheel mode. bool getFreeWheel() const override; //! Call this to get current samplerate. float getSamplerate() override; //! This method is called by the host when the samplerate changes. virtual void onSamplerateChange(float samplerate) override = 0; //! Call this to get current frame-size. std::size_t getFramesize() override; //! This method is called by the host when the frame-size changes. virtual void onFramesizeChange(std::size_t framesize) override = 0; //! Call this to get current active state bool getActive() override; //! This method is called by the host when the active state changes. virtual void onActiveChange(bool active) override = 0; //! This method is called by the host to get the current state for storing. virtual std::string onStateSave() override = 0; //! This method is called by the host when a new state has been loaded. virtual void onStateRestore(const std::string& config) override = 0; //! This is method is called by the host to get the current latency. //! \param The latency in samples. float getLatency() override; //! Call this method to signal a latency change to the host. //! \param latency The latency in samples. void setLatency(float latency) override; //! Called by the the host to get the number of audio input channels. //! This must remain constant during the lifespan of the plugin instance. virtual std::size_t getNumberOfAudioInputs() override = 0; //! Called by the the host to get the number of audio output channels. //! This must remain constant during the lifespan of the plugin instance. virtual std::size_t getNumberOfAudioOutputs() override = 0; //! Called by the the host to get the number of midi input channels. //! This must remain constant during the lifespan of the plugin instance. virtual std::size_t getNumberOfMidiInputs() override = 0; //! Called by the the host to get the number of midi output channels. //! This must remain constant during the lifespan of the plugin instance. virtual std::size_t getNumberOfMidiOutputs() override = 0; //! Call this method to set midnam data for midi input virtual void setMidnamData(const std::vector>& midnam) override; //! Get unique plugin id. std::string getId() override = 0; // Functions used to set plugin information. std::string getEffectName() override = 0; std::string getVendorString() override = 0; std::string getProductString() override = 0; PluginCategory getPluginCategory() override = 0; virtual void process(std::size_t pos, const std::vector& input_events, std::vector& output_events, const std::vector& input_samples, const std::vector& output_samples, std::size_t count) override = 0; // // Inline GUI (optional) // //! Return true if a GUI implementation is to be used. virtual bool hasInlineGUI() override { return false; } //! Render call back. //! \param width The client area width as specified by the host. //! \param max_height The maximum allowed clieant area height as specified //! by the host. //! \param context The render context filled an maintained by the plugin. virtual void onInlineRedraw(std::size_t width, std::size_t max_height, InlineDrawContext& context) override {} // // GUI (optional) // //! Return true if a GUI implementation is to be used. virtual bool hasGUI() override { return false; } //! Create new window. virtual void* createWindow(void *parent) override { return nullptr; } //! Destroy window. virtual void onDestroyWindow() override {} //! Show window. virtual void onShowWindow() override {} //! Hide window. virtual void onHideWindow() override {} //! Called regularly by host; process ui events. virtual void onIdle() override {} //! Signal new window size to host. void resizeWindow(std::size_t width, std::size_t height) override; //! Signal close window event to the host. void closeWindow() override; public: static LV2_Handle instantiate(const LV2_Descriptor* descriptor, double sample_rate, const char* bundle_path, const LV2_Feature* const * features); static void connectPort(LV2_Handle instance, uint32_t port, void *data_location); static void run(LV2_Handle instance, uint32_t sample_count); static void activate(LV2_Handle instance); static void deactivate(LV2_Handle instance); static void cleanup(LV2_Handle instance); static const void* extensionData(const char *uri); static LV2_State_Status save(LV2_Handle instance, LV2_State_Store_Function store, LV2_State_Handle handle, uint32_t flags, const LV2_Feature *const * features); static LV2_State_Status restore(LV2_Handle instance, LV2_State_Retrieve_Function retrieve, LV2_State_Handle handle, uint32_t flags, const LV2_Feature *const * features); static LV2UI_Handle uiInstantiate(const LV2UI_Descriptor * descriptor, const char * plugin_uri, const char * bundle_path, LV2UI_Write_Function write_function, LV2UI_Controller controller, LV2UI_Widget * widget, const LV2_Feature * const * features); static void uiCleanup(LV2UI_Handle handle); static int uiIdle(LV2UI_Handle handle); static const void* uiExtensionData(const char* uri); private: float* free_wheel_port{nullptr}; bool free_wheel{false}; float sample_rate{0}; float* latency_port{nullptr}; std::size_t frame_size{0}; std::size_t pos{0}; std::vector input_event_ports; std::vector output_event_ports; std::vector input_audio_ports; std::vector output_audio_ports; LV2_URID_Map* map{nullptr}; #ifdef DISPLAY_INTERFACE LV2_Inline_Display_Image_Surface surf; LV2_Inline_Display* queue_draw{nullptr}; InlineDrawContext drawContext; static LV2_Inline_Display_Image_Surface *inlineRender(LV2_Handle instance, uint32_t w, uint32_t max_h); #endif #ifdef MIDNAM_INTERFACE LV2_Midnam* midnam{nullptr}; static char* MidnamFile (LV2_Handle instance); static char* MidnamModel (LV2_Handle instance); static void MidnamFree (char*); #endif std::atomic midnam_changed{false}; std::array, 127> midnamData; // At most 127 different midinotes. bool active{false}; // // GUI // LV2UI_Resize* resize{nullptr}; }; PG_EXPORT PluginLV2* createEffectInstance(); drumgizmo-0.9.20/plugin/plugingizmo/pluginlv2.cc0000644000076400007640000004642213756157076016674 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * pluginlv2.cc * * Sun Feb 7 15:15:24 CET 2016 * Copyright 2016 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of PluginGizmo. * * PluginGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * PluginGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with PluginGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "pluginlv2.h" #include #include #include "midievent.h" #define LV2_PLUGIN_URI__atom LV2_PLUGIN_URI "/atom#" #define LV2_PLUGIN_URI__instance LV2_PLUGIN_URI "#plugin-instance" #define LV2_PLUGIN_URI__ui LV2_PLUGIN_URI "#ui" #include "lv2/lv2plug.in/ns/ext/atom/util.h" #include #include void PluginLV2::init() { for(auto& m : midnamData) { m.first = -1; // Mark midnam slot as unsued. m.second.reserve(64); // Reserve 64 characters for the midnam name. } } bool PluginLV2::getFreeWheel() const { return free_wheel; } float PluginLV2::getSamplerate() { return sample_rate; } std::size_t PluginLV2::getFramesize() { return frame_size; } bool PluginLV2::getActive() { return active; } float PluginLV2::getLatency() { if(latency_port) { return *latency_port; } return 0.0f; } void PluginLV2::setLatency(float latency) { if(latency_port) { *latency_port = latency; } } LV2_Handle PluginLV2::instantiate(const LV2_Descriptor* descriptor, double sample_rate, const char* bundle_path, const LV2_Feature *const *features) { PluginLV2* plugin_lv2 = createEffectInstance(); plugin_lv2->sample_rate = sample_rate; plugin_lv2->input_event_ports.resize(plugin_lv2->getNumberOfMidiInputs(), nullptr); plugin_lv2->output_event_ports.resize(plugin_lv2->getNumberOfMidiOutputs(), nullptr); plugin_lv2->input_audio_ports.resize(plugin_lv2->getNumberOfAudioInputs()); plugin_lv2->output_audio_ports.resize(plugin_lv2->getNumberOfAudioOutputs()); for(auto& port : plugin_lv2->output_audio_ports) { port = nullptr; } for(auto& port : plugin_lv2->input_audio_ports) { port = nullptr; } while(*features != nullptr) { std::string uri = (*features)->URI; void* data = (*features)->data; if(uri == LV2_URID__map) { plugin_lv2->map = (LV2_URID_Map*)data; } #ifdef DISPLAY_INTERFACE if(uri == LV2_INLINEDISPLAY__queue_draw) { plugin_lv2->queue_draw = (LV2_Inline_Display*)data; } #endif #ifdef MIDNAM_INTERFACE if(uri == LV2_MIDNAM__update) { plugin_lv2->midnam = (LV2_Midnam*)data; } #endif ++features; } // Only reported on creation. plugin_lv2->onSamplerateChange(sample_rate); return (LV2_Handle)plugin_lv2; } void PluginLV2::connectPort(LV2_Handle instance, uint32_t port, void *data_location) { PluginLV2* plugin_lv2 = (PluginLV2*)instance; if(port == static_cast(LV2Ports::FreeWheel)) { plugin_lv2->free_wheel_port = (float*)data_location; if(plugin_lv2->free_wheel_port) { plugin_lv2->free_wheel = (*plugin_lv2->free_wheel_port != 0.0f); // Signal first time. plugin_lv2->onFreeWheelChange(plugin_lv2->free_wheel); } } if(port == static_cast(LV2Ports::Latency)) { plugin_lv2->latency_port = (float*)data_location; } uint32_t port_offset = static_cast(LV2Ports::PortOffset); if((port >= port_offset) && (port < (port_offset + plugin_lv2->getNumberOfMidiInputs()))) { int port_index = port - port_offset; plugin_lv2->input_event_ports[port_index] = (LV2_Atom_Sequence*)data_location; } port_offset += plugin_lv2->getNumberOfMidiInputs(); if((port >= port_offset) && (port < (port_offset + plugin_lv2->getNumberOfMidiOutputs()))) { int port_index = port - port_offset; plugin_lv2->output_event_ports[port_index] = (LV2_Atom_Sequence*)data_location; } port_offset += plugin_lv2->getNumberOfMidiOutputs(); if((port >= port_offset) && (port < (port_offset + plugin_lv2->getNumberOfAudioInputs()))) { int port_index = port - port_offset; plugin_lv2->input_audio_ports[port_index] = (float*)data_location; } port_offset += plugin_lv2->getNumberOfAudioInputs(); if((port >= port_offset) && (port < (port_offset + plugin_lv2->getNumberOfAudioOutputs()))) { int port_index = port - port_offset; plugin_lv2->output_audio_ports[port_index] = (float*)data_location; } } class Sequence { public: Sequence(LV2_URID_Map& map, void* buffer, std::size_t buffer_size); void clear(); void addMidiEvent(std::size_t pos, const char* data, std::size_t size); void* data(); private: void *buffer; std::size_t buffer_size; LV2_Atom_Sequence *seq; LV2_URID_Map& map; }; Sequence::Sequence(LV2_URID_Map& map, void* buffer, std::size_t buffer_size) : map(map) { this->buffer = buffer; this->buffer_size = buffer_size; seq = (LV2_Atom_Sequence*)buffer; seq->atom.size = sizeof(LV2_Atom_Sequence_Body); seq->atom.type = map.map(map.handle, LV2_ATOM__Sequence); seq->body.unit = 0; seq->body.pad = 0; } // Keep this to support atom extension from lv2 < 1.10 static inline void _lv2_atom_sequence_clear(LV2_Atom_Sequence* seq) { seq->atom.size = sizeof(LV2_Atom_Sequence_Body); } void Sequence::clear() { _lv2_atom_sequence_clear(seq); } // Keep this to support atom extension from lv2 < 1.10 static inline LV2_Atom_Event* _lv2_atom_sequence_append_event(LV2_Atom_Sequence* seq, uint32_t capacity, const LV2_Atom_Event* event) { const uint32_t total_size = (uint32_t)sizeof(*event) + event->body.size; if(capacity - seq->atom.size < total_size) { return nullptr; } LV2_Atom_Event* e = lv2_atom_sequence_end(&seq->body, seq->atom.size); memcpy(e, event, total_size); seq->atom.size += lv2_atom_pad_size(total_size); return e; } void Sequence::addMidiEvent(std::size_t pos, const char* data, std::size_t size) { struct MIDINoteEvent { LV2_Atom_Event event; uint8_t msg[6]; }; MIDINoteEvent ev; ev.event.time.frames = pos; ev.event.body.type = map.map(map.handle, LV2_MIDI__MidiEvent); ev.event.body.size = size; assert(size <= sizeof(ev.msg)); // Assert that we have room for the message memcpy(ev.msg, data, size); _lv2_atom_sequence_append_event(seq, this->buffer_size, &ev.event); } void* Sequence::data() { return buffer; } void PluginLV2::run(LV2_Handle instance, uint32_t sample_count) { PluginLV2* plugin_lv2 = (PluginLV2*)instance; // Handle free-wheel state if(plugin_lv2->free_wheel_port != nullptr) { bool new_free_wheel = *plugin_lv2->free_wheel_port != 0.0f; if(new_free_wheel != plugin_lv2->free_wheel) { plugin_lv2->free_wheel = new_free_wheel; plugin_lv2->onFreeWheelChange(plugin_lv2->free_wheel); } } // Handle frame size if(plugin_lv2->frame_size != sample_count) { plugin_lv2->frame_size = sample_count; plugin_lv2->onFramesizeChange(plugin_lv2->frame_size); } // Convert input lv2 events to input events. std::vector input_events; for(std::size_t port = 0; port < plugin_lv2->getNumberOfMidiInputs(); ++port) { if(plugin_lv2->input_event_ports[port] == nullptr) { continue; // Not yet connected. } auto& event_port = plugin_lv2->input_event_ports[port]; for(LV2_Atom_Event* ev = lv2_atom_sequence_begin(&event_port->body); !lv2_atom_sequence_is_end(&event_port->body, event_port->atom.size, ev); ev = lv2_atom_sequence_next(ev)) { if(ev->body.type != plugin_lv2->map->map(plugin_lv2->map->handle, LV2_MIDI__MidiEvent)) { continue; // not a midi event. } const char* data = (char*)(ev + 1); input_events.emplace_back(ev->time.frames, data, ev->body.size); } } std::vector output_events; // Process events and audio plugin_lv2->process(plugin_lv2->pos, input_events, output_events, plugin_lv2->input_audio_ports, plugin_lv2->output_audio_ports, sample_count); // Convert output events to lv2 events if(plugin_lv2->getNumberOfMidiOutputs() > 0) { if(plugin_lv2->map != nullptr) { if(plugin_lv2->output_event_ports[0] != nullptr) // Not yet connected? { auto& event_port = plugin_lv2->output_event_ports[0]; // TODO: Split? Sequence seq(*plugin_lv2->map, &event_port->body + 1, event_port->atom.size); for(auto midi_event : output_events) { seq.addMidiEvent(midi_event.getTime(), midi_event.getData(), midi_event.getSize()); } } } } plugin_lv2->pos += sample_count; #ifdef MIDNAM_INTERFACE if(plugin_lv2->midnam && plugin_lv2->midnam_changed.load()) { plugin_lv2->midnam->update(plugin_lv2->midnam->handle); plugin_lv2->midnam_changed.store(false); } #endif #ifdef DISPLAY_INTERFACE if(plugin_lv2->queue_draw) { plugin_lv2->queue_draw->queue_draw(plugin_lv2->queue_draw->handle); } #endif } void PluginLV2::activate(LV2_Handle instance) { PluginLV2* plugin_lv2 = (PluginLV2*)instance; plugin_lv2->active = true; plugin_lv2->onActiveChange(plugin_lv2->active); } void PluginLV2::deactivate(LV2_Handle instance) { PluginLV2* plugin_lv2 = (PluginLV2*)instance; plugin_lv2->active = false; plugin_lv2->onActiveChange(plugin_lv2->active); } void PluginLV2::cleanup(LV2_Handle instance) { PluginLV2* plugin_lv2 = (PluginLV2*)instance; delete plugin_lv2; } // // State handling // LV2_State_Status PluginLV2::save(LV2_Handle instance, LV2_State_Store_Function store, LV2_State_Handle handle, uint32_t flags, const LV2_Feature *const * features) { PluginLV2* plugin_lv2 = (PluginLV2*)instance; if(plugin_lv2->map == nullptr) { // Missing urid feature? return LV2_STATE_ERR_NO_FEATURE; } std::string config = plugin_lv2->onStateSave(); store(handle, plugin_lv2->map->map(plugin_lv2->map->handle, LV2_PLUGIN_URI__atom "config"), config.data(), config.length(), plugin_lv2->map->map(plugin_lv2->map->handle, LV2_ATOM__Chunk), LV2_STATE_IS_POD | LV2_STATE_IS_PORTABLE); return LV2_STATE_SUCCESS; } LV2_State_Status PluginLV2::restore(LV2_Handle instance, LV2_State_Retrieve_Function retrieve, LV2_State_Handle handle, uint32_t flags, const LV2_Feature *const * features) { PluginLV2* plugin_lv2 = (PluginLV2*)instance; if(plugin_lv2->map == nullptr) { // Missing urid feature? return LV2_STATE_ERR_NO_FEATURE; } std::size_t size; uint32_t type; const char* data = (const char*)retrieve(handle, plugin_lv2->map->map(plugin_lv2->map->handle, LV2_PLUGIN_URI__atom "config"), &size, &type, &flags); if(data && size) { std::string config; config.append(data, size); plugin_lv2->onStateRestore(config); } return LV2_STATE_SUCCESS; } static LV2_State_Interface persist = { PluginLV2::save, PluginLV2::restore }; LV2_Inline_Display_Image_Surface* PluginLV2::inlineRender(LV2_Handle instance, uint32_t w, uint32_t max_h) { PluginLV2* plugin_lv2 = (PluginLV2*)instance; plugin_lv2->onInlineRedraw(w, max_h, plugin_lv2->drawContext); plugin_lv2->surf.width = plugin_lv2->drawContext.width; plugin_lv2->surf.height = plugin_lv2->drawContext.height; plugin_lv2->surf.stride = plugin_lv2->surf.width * 4; // stride is in bytes plugin_lv2->surf.data = plugin_lv2->drawContext.data; return &plugin_lv2->surf; } void PluginLV2::setMidnamData(const std::vector>& midnam) { auto idx = 0u; for(const auto& m : midnam) { midnamData[idx].first = m.first; // Duplicate name making sure no reallocation is being performed. midnamData[idx].second = m.second.substr(0, midnamData[idx].second.capacity() - 1); idx++; } for(;idx < this->midnamData.size(); ++idx) { midnamData[idx].first = -1; // Mark as unused } midnam_changed.store(true); } #ifdef MIDNAM_INTERFACE char* PluginLV2::MidnamFile (LV2_Handle instance) { PluginLV2* plugin_lv2 = (PluginLV2*)instance; std::stringstream ss; ss << "\n" "\n" "\n" " \n" " \n" " " << plugin_lv2->getVendorString() << "\n" " " << plugin_lv2->getProductString() << ":" << ((const void *) instance) << "\n"; //<< needs to match MidnamModel() ss << " \n"; ss << " \n"; for (int c = 0; c < 16; ++c) { ss << " \n"; } ss << " \n"; ss << " \n"; ss << " \n" " \n"; for (int c = 0; c < 16; ++c) { ss << " \n"; } ss << " \n" " \n" " \n" " \n" " \n" " \n" " \n"; // TODO: Fill in empty slots for the notes that are not in the map // Does Ardour preserve the note names for the unspecified notes? // ... and is this a bug?? for(const auto& m : plugin_lv2->midnamData) { if(m.first == -1) { continue; } ss << " \n"; } ss << " \n" " \n" ""; return strdup (ss.str().c_str()); } char* PluginLV2::MidnamModel(LV2_Handle instance) { PluginLV2* plugin_lv2 = (PluginLV2*)instance; char* rv = (char*) malloc (64 * sizeof (char)); snprintf(rv, 64, "%s:%p", plugin_lv2->getProductString().data(), (void*) instance); rv[63] = 0; return rv; } void PluginLV2::MidnamFree (char* v) { free (v); } #endif const void* PluginLV2::extensionData(const char *uri) { if(!strcmp(uri, LV2_STATE__interface)) { return &persist; } #ifdef DISPLAY_INTERFACE static const LV2_Inline_Display_Interface display = { inlineRender }; if(!strcmp(uri, LV2_INLINEDISPLAY__interface)) { return &display; } #endif #ifdef MIDNAM_INTERFACE static const LV2_Midnam_Interface midnam = { MidnamFile, MidnamModel, MidnamFree }; if (!strcmp (uri, LV2_MIDNAM__interface)) { return &midnam; } #endif return nullptr; } // // GUI // LV2UI_Handle PluginLV2::uiInstantiate(const LV2UI_Descriptor*descriptor, const char * plugin_uri, const char * bundle_path, LV2UI_Write_Function write_function, LV2UI_Controller controller, LV2UI_Widget* widget, const LV2_Feature * const * features) { LV2_Handle instance = nullptr; void* parent = nullptr; LV2UI_Resize* resize = nullptr; while(*features != nullptr) { std::string uri = (*features)->URI; void *data = (*features)->data; if(uri == LV2_INSTANCE_ACCESS_URI) { instance = (LV2_Handle)data; } if(uri == LV2_UI__parent) { parent = data; } if(uri == LV2_UI__resize) { resize = (LV2UI_Resize*)data; } features++; } if(instance == nullptr) { return nullptr; } PluginLV2* plugin_lv2 = (PluginLV2*)instance; // Do we have a GUI? if(plugin_lv2->hasGUI() == false) { return nullptr; } plugin_lv2->resize = resize; *widget = plugin_lv2->createWindow(parent); return plugin_lv2; } void PluginLV2::resizeWindow(std::size_t width, std::size_t height) { if(resize) { resize->ui_resize(resize->handle, width, height); } } void PluginLV2::closeWindow() { } static const LV2_Descriptor descriptor = { LV2_PLUGIN_URI, PluginLV2::instantiate, PluginLV2::connectPort, PluginLV2::activate, PluginLV2::run, PluginLV2::deactivate, PluginLV2::cleanup, PluginLV2::extensionData }; void PluginLV2::uiCleanup(LV2UI_Handle handle) { PluginLV2* plugin_lv2 = (PluginLV2*)handle; plugin_lv2->onDestroyWindow () ; } int PluginLV2::uiIdle(LV2UI_Handle handle) { PluginLV2* plugin_lv2 = (PluginLV2*)handle; plugin_lv2->onIdle(); return 0; } static const LV2UI_Idle_Interface idle_iface = { PluginLV2::uiIdle }; const void* PluginLV2::uiExtensionData(const char* uri) { if(!strcmp(uri, LV2_UI__idleInterface)) { return &idle_iface; } return NULL; } static LV2UI_Descriptor ui_descriptor = { LV2_PLUGIN_URI__ui, PluginLV2::uiInstantiate, PluginLV2::uiCleanup, nullptr,//PluginLV2::ui_port_event, PluginLV2::uiExtensionData }; #ifdef __cplusplus extern "C" { #endif LV2_SYMBOL_EXPORT const LV2_Descriptor* lv2_descriptor(uint32_t index) { switch (index) { case 0: return &descriptor; default: return nullptr; } } LV2_SYMBOL_EXPORT const LV2UI_Descriptor *lv2ui_descriptor(uint32_t index) { switch(index) { case 0: return &ui_descriptor; default: return nullptr; } } // // DynManifest experiments failed, but the code is kept here for nostalgic // reasons :-) // // //int lv2_dyn_manifest_open(LV2_Dyn_Manifest_Handle* handle, // const LV2_Feature* const* features) //{ // *handle = createEffectInstance(); // return 0; //} // //int lv2_dyn_manifest_get_subjects(LV2_Dyn_Manifest_Handle handle, FILE* fp) //{ //// PluginLV2* plugin_lv2 = (PluginLV2*)handle; // // fprintf(fp, "@prefix lv2: .\n"); // fprintf(fp, "<" LV2_PLUGIN_URI "> a lv2:Plugin .\n"); // return 0; //} // //int lv2_dyn_manifest_get_data(LV2_Dyn_Manifest_Handle handle, FILE* fp, // const char* uri) //{ // //PluginLV2* plugin_lv2 = (PluginLV2*)handle; // printf("%s '%s'\n", __PRETTY_FUNCTION__, uri); // return 0; //} // //void lv2_dyn_manifest_close(LV2_Dyn_Manifest_Handle handle) //{ // PluginLV2* plugin_lv2 = (PluginLV2*)handle; // delete plugin_lv2; //} #ifdef __cplusplus } #endif drumgizmo-0.9.20/plugin/plugingizmo/ttlgen.cc0000644000076400007640000002226113756157076016242 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * ttlgen.cc * * Fri Jul 15 09:27:19 CEST 2016 * Copyright 2016 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of PluginGizmo. * * PluginGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * PluginGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with PluginGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include #include #include #include "pluginlv2.h" typedef PluginLV2* create_t(); enum class UIType { CocoaUI, Gtk3UI, GtkUI, Qt4UI, Qt5UI, WindowsUI, X11UI, }; static void header(std::ostream& output) { output << "\ # LV2 Plugin\n\ # Copyright 2019 Bent Bisballe Nyeng \n\ #\n\ # Permission to use, copy, modify, and/or distribute this software for any\n\ # purpose with or without fee is hereby granted, provided that the above\n\ # copyright notice and this permission notice appear in all copies.\n\ #\n\ # THIS SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n\ # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n\ # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n\ # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n\ # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n\ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n\ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n\ "; } static void includes(std::ostream& output) { output << "\ @prefix doap: .\n\ @prefix foaf: .\n\ @prefix lv2: .\n\ @prefix atom: .\n\ @prefix ui: .\n\ @prefix state: .\n\ @prefix pprops: .\n\ @prefix idpy: .\n\ @prefix time: .\n\ @prefix lv2: .\n\ @prefix rdfs: .\n\ "; } // If UIClass was not explicitly set already, try to autodetect it based on // operating system. #ifndef UIClass #ifdef __linux__ #define UIClass "X11UI" #elif _WIN32 #define UIClass "WindowsUI" #elif __APPLE__ #define UIClass "CocoaUI" #elif __FreeBSD__ #define UIClass "X11UI" #elif __unix__ // All other unices (*BSD etc) #define UIClass "X11UI" #endif #endif static void ui(Plugin& plugin, const std::string& pluginfile, UIType uitype, std::ostream& output) { if(!plugin.hasGUI()) { return; } output << "<" << plugin.getURI() << "/lv2#ui>\n"; switch(uitype) { case UIType::CocoaUI: output << " a ui:CocoaUI ;\n"; break; case UIType::Gtk3UI: output << " a ui:Gtk3UI ;\n"; break; case UIType::GtkUI: output << " a ui:GtkUI ;\n"; break; case UIType::Qt4UI: output << " a ui:Qt4UI ;\n"; break; case UIType::Qt5UI: output << " a ui:Qt5UI ;\n"; break; case UIType::WindowsUI: output << " a ui:WindowsUI ;\n"; break; case UIType::X11UI: output << " a ui:X11UI ;\n"; break; } output << "\ lv2:requiredFeature ui:resize ;\n\ lv2:extensionData ui:resize ;\n\ lv2:requiredFeature ui:idleInterface ;\n\ lv2:extensionData ui:idleInterface ;\n\ lv2:requiredFeature ;\n\ ui:binary <" << pluginfile << "> .\n"; } static void ports(Plugin& plugin, std::ostream& output) { std::size_t port_index = 2; for(std::size_t i = 0; i < plugin.getNumberOfMidiInputs(); ++i) { output << "\ , [\n\ a atom:AtomPort ,\n\ lv2:InputPort;\n\ atom:bufferType atom:Sequence ;\n\ atom:supports ;\n\ lv2:index " << port_index << " ;\n\ lv2:symbol \"control\" ;\n\ lv2:name \"Control\"\n\ ]"; ++port_index; } for(std::size_t i = 0; i < plugin.getNumberOfMidiOutputs(); ++i) { output << "\ , [\n\ a atom:AtomPort ,\n\ lv2:OutputPort;\n\ atom:bufferType atom:Sequence ;\n\ atom:supports ;\n\ lv2:index " << port_index << " ;\n\ lv2:symbol \"control\" ;\n\ lv2:name \"Control\"\n\ ]"; ++port_index; } std::size_t input_port_index = 1; for(std::size_t i = 0; i < plugin.getNumberOfAudioInputs(); ++i) { output << "\ , [\n\ a lv2:AudioPort ,\n\ lv2:InputPort ;\n\ lv2:index " << port_index << " ;\n\ lv2:symbol \"in" << input_port_index << "\" ;\n\ lv2:name \"In" << input_port_index << "\"\n\ ]"; ++port_index; ++input_port_index; } std::size_t output_port_index = 1; for(std::size_t i = 0; i < plugin.getNumberOfAudioOutputs(); ++i) { output << "\ , [\n\ a lv2:AudioPort ,\n\ lv2:OutputPort ;\n\ lv2:index " << port_index << " ;\n\ lv2:symbol \"out" << output_port_index << "\" ;\n\ lv2:name \"Out" << output_port_index << "\"\n\ ]"; ++port_index; ++output_port_index; } } void usage(const char* app) { std::cout << "Usage: " << app << " [uitype]\n"; std::cout << "where uitype can be one of:\n"; std::cout << " CocoaUI\n"; std::cout << " Gtk3UI\n"; std::cout << " GtkUI\n"; std::cout << " Qt4UI\n"; std::cout << " Qt5UI\n"; std::cout << " WindowsUI\n"; std::cout << " X11UI\n"; std::cout << "default is " UIClass "\n"; } UIType fromString(const std::string& t) { if(t == "CocoaUI") { return UIType::CocoaUI; } if(t == "Gtk3UI") { return UIType::Gtk3UI; } if(t == "GtkUI") { return UIType::GtkUI; } if(t == "Qt4UI") { return UIType::Qt4UI; } if(t == "Qt5UI") { return UIType::Qt5UI; } if(t == "WindowsUI") { return UIType::WindowsUI; } if(t == "X11UI") { return UIType::X11UI; } std::cerr << "Bad uitype: '" << t << "'\n"; exit(1); } int main(int argc, char* argv[]) { if(argc < 3 || argc > 4) { std::cerr << "Missing argument.\n"; usage(argv[0]); return 1; } UIType uitype = UIType::X11UI; if(argc == 4) { uitype = fromString(argv[3]); } std::string library = argv[1]; auto seppos = library.rfind("/"); std::string binary = library; if(seppos != std::string::npos) { binary = library.substr(seppos + 1); } // load the plugin library void* plugin = dlopen(library.data(), RTLD_LAZY); if(!plugin) { std::cerr << "Cannot load library: " << dlerror() << std::endl; std::cerr << "Library must have absolute path or prefix ./myplugin.so.\n"; return 1; } // reset errors dlerror(); // load the symbols create_t* create_plugin = (create_t*) dlsym(plugin, "createEffectInstance"); const char* dlsym_error = dlerror(); if(dlsym_error) { std::cerr << "Cannot load symbol create: " << dlsym_error << '\n'; return 1; } std::ofstream output(argv[2]); // create an instance of the class Plugin* p = create_plugin(); header(output); output << std::endl; includes(output); output << std::endl; ui(*p, binary, uitype, output); output << std::endl; output << "\ <" << p->getURI() << "/lv2>\n\ a lv2:Plugin ;\n\ lv2:binary <" << binary << "> ;\n \ a lv2:InstrumentPlugin ;\n\ doap:name \"" << p->getEffectName() << "\" ;\n\ doap:maintainer [\n\ foaf:name \"" << p->getVendorString() << "\" ;\n\ foaf:homepage <" << p->getHomepage() << "> ;\n\ ] ;\n\ doap:license ;\n\ ui:ui <" << p->getURI() << "/lv2#ui> ;\n\ doap:license ;\n\ lv2:optionalFeature ;\n\ lv2:optionalFeature ;\n\ lv2:optionalFeature idpy:queue_draw ;\n\ lv2:extensionData state:interface ;\n\ lv2:port [\n\ a lv2:InputPort, lv2:ControlPort ;\n\ lv2:index 0 ;\n\ lv2:symbol \"lv2_freewheel\" ;\n\ lv2:name \"Freewheel\" ;\n\ lv2:default 0.0 ;\n\ lv2:minimum 0.0 ;\n\ lv2:maximum 1.0 ;\n\ lv2:designation ;\n\ lv2:portProperty ;\n\ lv2:portProperty lv2:toggled ;\n\ lv2:portProperty pprops:hasStrictBounds;\n\ ] , [\n\ a lv2:OutputPort, lv2:ControlPort ;\n\ lv2:designation ;\n\ lv2:index 1;\n\ lv2:symbol \"latency\";\n\ lv2:name \"Latency\";\n\ lv2:minimum 0;\n\ lv2:maximum 192000;\n\ lv2:portProperty lv2:reportsLatency, lv2:integer;\n\ ]"; ports(*p, output); output << " .\n"; // FIXME: The plugin is never deleted, but since we're terminating now anyway // it doesn't matter much... // unload the plugin library dlclose(plugin); return 0; } drumgizmo-0.9.20/plugin/plugingizmo/pluginvst.cc0000644000076400007640000002570513557534711017000 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * pluginvst.cc * * Mon Feb 8 19:24:40 CET 2016 * Copyright 2016 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of PluginGizmo. * * PluginGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * PluginGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with PluginGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "pluginvst.h" #include "midievent.h" #include #include bool PluginVST::getFreeWheel() const { return free_wheel; } float PluginVST::getSamplerate() { return AudioEffectX::getSampleRate(); } std::size_t PluginVST::getFramesize() { return AudioEffectX::getBlockSize(); } bool PluginVST::getActive() { return active; } float PluginVST::getLatency() { return current_latency; } void PluginVST::setLatency(float latency) { update_latency = latency; } void PluginVST::updateLatency() { if(update_latency != current_latency) { AudioEffectX::setInitialDelay(update_latency); AudioEffectX::ioChanged(); current_latency = update_latency; } } static uint32_t sdbm_hash(std::string input) { unsigned long hash = 0; for(auto& cha : input) { hash = (unsigned char)cha + (hash << 6) + (hash << 16) - hash; } return hash; } // // VST AudioEffectX implementation: // PluginVST::PluginVST(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, 0, 0) { } PluginVST::~PluginVST() { } void PluginVST::init() { // virtual void setUniqueID (VstInt32 iD) // Must be called to set the plug-ins unique ID! uint32_t hash = sdbm_hash(getId()); AudioEffect::setUniqueID(hash); // virtual void setNumInputs (VstInt32 inputs) // Set the number of inputs the plug-in will handle. For a plug-in which // could change its IO configuration, this number is the maximun available // inputs. AudioEffect::setNumInputs(getNumberOfAudioInputs()); // virtual void setNumOutputs (VstInt32 outputs) // Set the number of outputs the plug-in will handle. For a plug-in which // could change its IO configuration, this number is the maximun available // ouputs. AudioEffect::setNumOutputs(getNumberOfAudioOutputs()); // virtual void canProcessReplacing (bool state=true) // Tells that processReplacing() could be used. Mandatory in VST 2.4! AudioEffect::canProcessReplacing(true); // virtual void canDoubleReplacing (bool state=true) // Tells that processDoubleReplacing() is implemented. AudioEffect::canDoubleReplacing(false); // virtual void programsAreChunks (bool state=true) // Program data is handled in formatless chunks (using getChunk-setChunks). AudioEffect::programsAreChunks(true); // for generic config string support. // virtual void setInitialDelay (VstInt32 delay) // Use to report the plug-in's latency (Group Delay). AudioEffect::setInitialDelay(0); AudioEffectX::isSynth(getNumberOfMidiInputs() > 0); // We might produce output when there is no input. AudioEffectX::noTail(false); if(hasGUI()) { editor = std::make_shared(*this); setEditor(editor.get()); } } void PluginVST::open() { // Called when plug-in is initialized. } void PluginVST::close() { // Called when plug-in will be released. setEditor(nullptr); editor = nullptr; } void PluginVST::suspend() { // Called when plug-in is switched to off. active = false; onActiveChange(active); updateLatency(); } void PluginVST::resume() { updateLatency(); // Called when plug-in is switched to on. active = true; onActiveChange(active); } bool PluginVST::getInputProperties(VstInt32 index, VstPinProperties* props) { if(index < (VstInt32)getNumberOfAudioInputs()) { vst_strncpy(props->label, "Channel ", 63); char temp[11] = {0}; int2string(index + 1, temp, 10); vst_strncat(props->label, temp, 63); props->flags = kVstPinIsActive; return true; } return false; } bool PluginVST::getOutputProperties(VstInt32 index, VstPinProperties* props) { if(index < (VstInt32)getNumberOfAudioOutputs()) { vst_strncpy(props->label, "Channel ", 63); char temp[11] = {0}; int2string(index + 1, temp, 10); vst_strncat(props->label, temp, 63); props->flags = kVstPinIsActive; return true; } return false; } void PluginVST::setSampleRate(float sampleRate) { // Called when the sample rate changes (always in a suspend state). onSamplerateChange(sampleRate); } void PluginVST::setBlockSize(VstInt32 blockSize) { // Called when the Maximun block size changes (always in a suspend state). // Note that the sampleFrames in Process Calls could be smaller than this // block size, but NOT bigger. onFramesizeChange(blockSize); } bool PluginVST::getEffectName(char* name) { vst_strncpy (name, this->getEffectName().c_str(), kVstMaxEffectNameLen); return true; } bool PluginVST::getVendorString(char* text) { vst_strncpy (text, this->getVendorString().c_str(), kVstMaxVendorStrLen); return true; } bool PluginVST::getProductString(char* text) { vst_strncpy (text, this->getProductString().c_str(), kVstMaxProductStrLen); return true; } VstPlugCategory PluginVST::getPlugCategory() { switch(this->getPluginCategory()) { case PluginCategory::Unknown: return kPlugCategUnknown; case PluginCategory::Effect: return kPlugCategEffect; case PluginCategory::Synth: return kPlugCategSynth; case PluginCategory::Analysis: return kPlugCategAnalysis; case PluginCategory::Mastering: return kPlugCategMastering; case PluginCategory::Spacializer: return kPlugCategSpacializer; case PluginCategory::RoomFx: return kPlugCategRoomFx; case PluginCategory::SurroundFx: return kPlugSurroundFx; case PluginCategory::Restoration: return kPlugCategRestoration; case PluginCategory::OfflineProcess: return kPlugCategOfflineProcess; case PluginCategory::Shell: return kPlugCategShell; case PluginCategory::Generator: return kPlugCategGenerator; } return kPlugCategUnknown; } VstInt32 PluginVST::processEvents(VstEvents* events) { // For each process cycle, processEvents() is called once before a // processReplacing() call. for(VstInt32 i = 0; i < events->numEvents; ++i) { auto event = events->events[i]; if(event->type != kVstMidiType) { continue; } auto midi_event = (VstMidiEvent*)event; input_events.emplace_back(midi_event->deltaFrames, midi_event->midiData, midi_event->byteSize); } return 0; } void PluginVST::processReplacing(float** inputs, float** outputs, VstInt32 sampleFrames) { updateLatency(); // Process 32 bit (single precision) floats (always in a resume state). // 0 = realtime/normal // 1 = non-realtime/rendering // 2 = offline processing long lvl = AudioEffectX::getCurrentProcessLevel(); bool last_free_wheel = free_wheel; free_wheel = (lvl != 0); if(last_free_wheel != free_wheel) { onFreeWheelChange(free_wheel); } std::vector input_audio_ports; for(std::size_t i = 0; i < getNumberOfAudioInputs(); ++i) { input_audio_ports.emplace_back(inputs[i]); } std::vector output_audio_ports; output_audio_ports.resize(getNumberOfAudioOutputs()); for(std::size_t i = 0; i < getNumberOfAudioOutputs(); ++i) { output_audio_ports[i] = outputs[i]; } std::vector output_events; // Process events and audio process(pos, input_events, output_events, input_audio_ports, output_audio_ports, (std::size_t)sampleFrames); input_events.clear(); if(getNumberOfMidiOutputs()) { // Translate output_events to VST midi events. std::vector vst_output_event_list; vst_output_event_list.resize(output_events.size()); for(std::size_t i = 0; i < output_events.size(); ++i) { vst_output_event_list[i].deltaFrames = output_events[i].getTime(); vst_output_event_list[i].type = kVstMidiType; const char* data = output_events[i].getData(); for(std::size_t j = 0; j < output_events[i].getSize(); ++j) { vst_output_event_list[i].midiData[j] = data[j]; } vst_output_event_list[i].byteSize = output_events[i].getSize(); } if(!vst_output_event_list.empty()) { // Dispatch output events to host VstEvents vst_output_events; vst_output_events.numEvents = vst_output_event_list.size(); vst_output_events.events[0] = (VstEvent*)vst_output_event_list.data(); sendVstEventsToHost(&vst_output_events); } } pos += sampleFrames; } VstInt32 PluginVST::getChunk(void **data, bool isPreset) { std::string state = onStateSave(); char* chunk = (char*)malloc(state.size() + 1); memcpy(chunk, state.data(), state.size()); *data = chunk; return state.size(); } VstInt32 PluginVST::setChunk(void *data, VstInt32 byteSize, bool isPreset) { std::string state; state.append((const char*)data, (std::size_t)byteSize); onStateRestore(state); return 0; } VstInt32 PluginVST::canDo(char* text) { std::string feature = text; // Midi input if((feature == "receiveVstMidiEvent") &&//PlugCanDos::canDoReceiveVstMidiEvent (getNumberOfMidiInputs() > 0)) { return 1; } // Midi output if((feature == "sendVstMidiEvent") && // PlugCanDos::canDoSendVstMidiEvent (getNumberOfMidiOutputs() > 0)) { return 1; } // For FreeWheel functionality. if(feature == "offline") // PlugCanDos::canDoOffline { return 1; } // TODO: For soft-bypass state. //if(feature == "bypass") // PlugCanDos::canDoBypass) //{ // return 1; //} // TODO: For receiving metronome ticks? //if(feature == "receiveVstTimeInfo") // PlugCanDos::canDoReceiveVstTimeInfo) //{ // return 1; //} return 0; } void PluginVST::resizeWindow(std::size_t width, std::size_t height) { if(editor) { editor->rect.top = 0; editor->rect.left = 0; editor->rect.right = width; editor->rect.bottom = height; } } void PluginVST::closeWindow() { } PluginVST::UI::UI(PluginVST& plugin_vst) : AEffEditor(&plugin_vst) , plugin_vst(plugin_vst) { } bool PluginVST::UI::open(void* ptr) { plugin_vst.createWindow(ptr); AEffEditor::open(ptr); is_open = true; return true; } void PluginVST::UI::close() { is_open = false; plugin_vst.onDestroyWindow(); AEffEditor::close(); } bool PluginVST::UI::isOpen() { return is_open; } void PluginVST::UI::idle() { if(is_open) { plugin_vst.onIdle(); } AEffEditor::idle(); } bool PluginVST::UI::getRect(ERect** rect) { *rect = &this->rect; return true; } drumgizmo-0.9.20/plugin/plugingizmo/plugin.h0000644000076400007640000001511413557534711016076 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * plugin.h * * Sun Feb 7 14:11:40 CET 2016 * Copyright 2016 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of PluginGizmo. * * PluginGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * PluginGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with PluginGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #pragma once #include #include #include #if defined(WIN32) #define PG_EXPORT extern "C" __declspec(dllexport) #else #define PG_EXPORT extern "C" __attribute__((visibility("default"))) #endif class MidiEvent; //! Plugin categories. enum class PluginCategory { Unknown = 0, // Unknown, category not implemented Effect, // Simple Effect Synth, // Instrument (Synths, samplers,...) Analysis, // Scope, Tuner, ... Mastering, // Dynamics, ... Spacializer, // Panners, ... RoomFx, // Delays and Reverbs SurroundFx, // Dedicated surround processor Restoration, // Denoiser, ... OfflineProcess, // Offline Process Shell, // Plug-in is container of other plug-ins Generator // ToneGenerator, ... }; //! Abstract base-class for plugin implementations. class Plugin { public: //! Implement this to create a new plugin instance. static Plugin* create(); //! Init function for setting up plugin parameters. virtual void init() = 0; //! Get current free-wheel mode. virtual bool getFreeWheel() const = 0; //! This method is called by the host when the free-wheel mode changes. virtual void onFreeWheelChange(bool freewheel) {} //! Call this to get current samplerate. virtual float getSamplerate() = 0; //! This method is called by the host when the samplerate changes. virtual void onSamplerateChange(float samplerate) = 0; //! Call this to get current frame-size. virtual std::size_t getFramesize() = 0; //! This method is called by the host when the frame-size changes. virtual void onFramesizeChange(std::size_t framesize) = 0; //! Call this to get current active state virtual bool getActive() = 0; //! This method is called by the host when the active state changes. virtual void onActiveChange(bool active) = 0; //! This method is called by the host to get the current state for storing. virtual std::string onStateSave() = 0; //! This method is called by the host when a new state has been loaded. virtual void onStateRestore(const std::string& config) = 0; //! This is method is called by the host to get the current latency. //! \param The latency in samples. virtual float getLatency() = 0; //! Call this method to signal a latency change to the host. //! \param latency The latency in samples. virtual void setLatency(float latency) = 0; //! Called by the the host to get the number of midi input channels. //! This must remain constant during the lifespan of the plugin instance. virtual std::size_t getNumberOfMidiInputs() = 0; //! Called by the the host to get the number of midi output channels. //! This must remain constant during the lifespan of the plugin instance. virtual std::size_t getNumberOfMidiOutputs() = 0; //! Called by the the host to get the number of audio input channels. //! This must remain constant during the lifespan of the plugin instance. virtual std::size_t getNumberOfAudioInputs() = 0; //! Called by the the host to get the number of audio output channels. //! This must remain constant during the lifespan of the plugin instance. virtual std::size_t getNumberOfAudioOutputs() = 0; //! Call this method to set midnam data for midi input virtual void setMidnamData(const std::vector>& midnam) {} //! Get unique plugin id. virtual std::string getId() = 0; // Functions used to set plugin information. virtual std::string getURI() = 0; virtual std::string getEffectName() = 0; virtual std::string getVendorString() = 0; virtual std::string getProductString() = 0; virtual std::string getHomepage() = 0; virtual PluginCategory getPluginCategory() = 0; //! Process callback. virtual void process(std::size_t pos, const std::vector& input_events, std::vector& output_events, const std::vector& input_samples, const std::vector& output_samples, std::size_t count) = 0; // // Inline GUI (optional) // //! Return true if a GUI implementation is to be used. virtual bool hasInlineGUI() { return false; } struct InlineDrawContext { std::size_t width{0}; //< Width of the render buffer. std::size_t height{0}; //< Height of the render buffer. std::uint8_t* data{nullptr}; //< Allocated (or reused) RGBA buffer, filled by the plugin. }; #define pgzRGBA(r, g, b, a) ((b) | (g) << 8 | (r) << 16 | (a) << 24) //! Render call back. //! \param width The client area width as specified by the host. //! \param max_height The maximum allowed clieant area height as specified //! by the host. //! \param context The render context filled an maintained by the plugin. virtual void onInlineRedraw(std::size_t width, std::size_t max_height, InlineDrawContext& context) {} // // GUI (optional) // //! Return true if a GUI implementation is to be used. virtual bool hasGUI() { return false; } //! Create new window. virtual void* createWindow(void *parent) { return nullptr; } //! Destroy window. virtual void onDestroyWindow() {} //! Show window. virtual void onShowWindow() {} //! Hide window. virtual void onHideWindow() {} //! Called regularly by host; process ui events. virtual void onIdle() {} //! Signal new window size to host. virtual void resizeWindow(std::size_t width, std::size_t height) = 0; //! Signal close window event to the host. virtual void closeWindow() = 0; }; drumgizmo-0.9.20/plugin/plugingizmo/midievent.cc0000644000076400007640000000377513663254176016736 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * midievent.cc * * Sun Feb 7 15:09:01 CET 2016 * Copyright 2016 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of PluginGizmo. * * PluginGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * PluginGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with PluginGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "midievent.h" #include MidiEvent::MidiEvent(int64_t time, const char* data, std::size_t size) : time(time) { //std::cout << __PRETTY_FUNCTION__ << // " data: " << (void*)data << // " size: " << size << // std::endl; this->data.resize(size); for(std::size_t i = 0; i < size; ++i) { this->data[i] = data[i]; } if((data[0] & 0xF0) == 0x80) // note off { type = MidiEventType::NoteOff; key = data[1]; velocity = data[2]; } if((data[0] & 0xF0) == 0x90) // note on { type = MidiEventType::NoteOn; key = data[1]; velocity = data[2]; } if((data[0] & 0xF0) == 0xA0) // aftertouch { type = MidiEventType::Aftertouch; key = data[1]; velocity = data[2]; } } int64_t MidiEvent::getTime() const { return time; } const char* MidiEvent::getData() const { return data.data(); } std::size_t MidiEvent::getSize() const { return data.size(); } drumgizmo-0.9.20/plugin/plugingizmo/inline-display.h0000644000076400007640000000627213557533530017524 00000000000000/* Copyright 2012 David Robillard Copyright 2016 Robin Gareus Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ /** @defgroup inlinedisplay Inline-Display Support for displaying a miniaturized, non-interactive view in the host's mixer strip. @{ */ #ifndef LV2_INLINE_DISPLAY_H #define LV2_INLINE_DISPLAY_H #include #include "lv2/lv2plug.in/ns/lv2core/lv2.h" #define LV2_INLINEDISPLAY_URI "http://harrisonconsoles.com/lv2/inlinedisplay" #define LV2_INLINEDISPLAY_PREFIX LV2_INLINEDISPLAY_URI "#" #define LV2_INLINEDISPLAY__interface LV2_INLINEDISPLAY_PREFIX "interface" #define LV2_INLINEDISPLAY__queue_draw LV2_INLINEDISPLAY_PREFIX "queue_draw" #ifdef __cplusplus extern "C" { #endif /** Opaque handle for LV2_Inline_Display::queue_draw() */ typedef void* LV2_Inline_Display_Handle; /** raw image pixmap format is ARGB32, * the data pointer is owned by the plugin and must be valid * from the first call to render until cleanup. */ typedef struct { unsigned char *data; int width; int height; int stride; } LV2_Inline_Display_Image_Surface; /** a LV2 Feature provided by the Host to the plugin * * This allows a the plugin during in realtime context to * invalidate the currently displayed data and request from * the host to call render() as soon as feasible. */ typedef struct { /** Opaque host data */ LV2_Inline_Display_Handle handle; /** Request from run() that the host should call render() at a later * time to update the inline display */ void (*queue_draw)(LV2_Inline_Display_Handle handle); } LV2_Inline_Display; /** * Plugin Inline-Display Interface. */ typedef struct { /** * The render method. This is called by the host in the main GUI thread * (non realtime, the context with access to graphics drawing APIs). * * The data pointer is owned by the plugin and must be valid * from the first call to render until cleanup. * * The host specifies a maxium available area for the plugin to draw. * the returned Image Surface contains the actual area which * the plugin allocated. * * @param instance The LV2 instance * @param w the max available width * @param h the max available height * @return pointer to a LV2_Inline_Display_Image_Surface or NULL */ LV2_Inline_Display_Image_Surface* (*render)( LV2_Handle instance, uint32_t w, uint32_t h); } LV2_Inline_Display_Interface; #ifdef __cplusplus } /* extern "C" */ #endif #endif /* LV2_INLINE_DISPLAY_H */ /** @} */ drumgizmo-0.9.20/plugin/Makefile.am0000644000076400007640000000613413772650131014113 00000000000000SUBDIRS = vst noinst_PROGRAMS = ####### # LV2 ### if ENABLE_LV2 lv2plugindir = @LV2DIR@/drumgizmo.lv2 lv2plugin_LTLIBRARIES = drumgizmo.la noinst_PROGRAMS += ttlgen lv2plugin_DATA = manifest.ttl endif drumgizmo_la_CXXFLAGS = -DLV2 -DLV2_PLUGIN_URI=\"http://drumgizmo.org/lv2\" \ $(DEBUG_FLAGS) \ -fvisibility=hidden \ -I$(top_srcdir)/zita-resampler/libs \ $(LV2_CFLAGS) \ $(SNDFILE_CFLAGS) \ -I$(top_srcdir)/plugin/plugingizmo \ -I$(top_srcdir)/ \ -I$(top_srcdir)/plugingui \ -I$(top_srcdir)/src \ -I$(top_srcdir)/hugin drumgizmo_la_CFLAGS = -fvisibility=hidden drumgizmo_la_SOURCES = \ $(top_srcdir)/hugin/hugin.c \ $(top_srcdir)/plugin/plugingizmo/midievent.cc \ $(top_srcdir)/plugin/plugingizmo/pluginlv2.cc \ drumgizmo_plugin.cc drumgizmo_la_LDFLAGS = -shared -module -avoid-version \ -no-undefined -export-symbols $(top_srcdir)/plugin/drumgizmo_lv2.sym drumgizmo_la_LIBADD = $(LV2_LIBS) \ $(top_builddir)/plugingui/libplugingui.la \ $(top_builddir)/src/libdg.la \ $(top_builddir)/src/libnls.la ttlgen_CPPFLAGS = \ $(DEBUG_FLAGS) \ $(DL_CFLAGS) -I$(top_srcdir)/plugin/plugingizmo ttlgen_LDFLAGS = $(DL_LIBS) ttlgen_SOURCES = \ $(top_srcdir)/plugin/plugingizmo/ttlgen.cc if ENABLE_X11 UITYPE=X11UI endif if ENABLE_WIN32 UITYPE=WindowsUI endif if ENABLE_COCOA UITYPE=CocoaUI endif if ENABLE_PUGL_X11 UITYPE=X11UI endif if ENABLE_PUGL_WIN32 UITYPE=WindowsUI endif if ENABLE_PUGL_COCOA UITYPE=CocoaUI endif ttlgen_verbose = $(ttlgen_verbose_@AM_V@) ttlgen_verbose_ = $(ttlgen_verbose_@AM_DEFAULT_V@) ttlgen_verbose_0 = @echo " TTLGEN "$@; manifest.ttl : ttlgen drumgizmo.la $(ttlgen_verbose)./ttlgen .libs/drumgizmo.so manifest.ttl $(UITYPE) > /dev/null ####### # VST ### if ENABLE_VST vstplugindir = $(libdir)/vst vstplugin_LTLIBRARIES = drumgizmo_vst.la vstplugin_DATA = endif drumgizmo_vst_la_CXXFLAGS = -DVST \ $(DEBUG_FLAGS) \ -fvisibility=hidden \ -I$(top_srcdir)/zita-resampler/libs \ $(SNDFILE_CFLAGS) \ -I$(top_srcdir)/plugin/plugingizmo \ -I$(top_srcdir)/ \ -I$(top_srcdir)/plugingui \ -I$(top_srcdir)/src \ -I$(top_srcdir)/hugin \ $(VST_CPPFLAGS) -Ivst drumgizmo_vst_la_CFLAGS = -fvisibility=hidden drumgizmo_vst_la_SOURCES = \ $(top_srcdir)/hugin/hugin.c \ $(top_srcdir)/plugin/plugingizmo/midievent.cc \ $(top_srcdir)/plugin/plugingizmo/pluginvst.cc \ drumgizmo_plugin.cc drumgizmo_vst_la_LDFLAGS = -shared -module -avoid-version \ -no-undefined -export-symbols $(top_srcdir)/plugin/drumgizmo_vst.sym drumgizmo_vst_la_LIBADD = \ vst/libvstsdk.la \ $(top_builddir)/plugingui/libplugingui.la \ $(top_builddir)/src/libdg.la \ $(top_builddir)/src/libnls.la install-data-hook: rm -f $(DESTDIR)/$(lv2plugindir)/drumgizmo.la rm -f $(DESTDIR)/$(vstplugindir)/drumgizmo_vst.la EXTRA_DIST = \ $(lv2plugin_DATA) \ $(vstplugin_DATA) \ drumgizmo_plugin.h \ drumgizmo_lv2.sym \ drumgizmo_vst.sym \ $(top_srcdir)/plugin/plugingizmo/plugin.h \ $(top_srcdir)/plugin/plugingizmo/midievent.h \ $(top_srcdir)/plugin/plugingizmo/midnam_lv2.h \ $(top_srcdir)/plugin/plugingizmo/pluginlv2.h \ $(top_srcdir)/plugin/plugingizmo/pluginvst.h \ $(top_srcdir)/plugin/plugingizmo/inline-display.h drumgizmo-0.9.20/plugin/vst/0000755000076400007640000000000014306421547012750 500000000000000drumgizmo-0.9.20/plugin/vst/Makefile.in0000644000076400007640000006311514306421323014733 00000000000000# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = plugin/vst ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = LTLIBRARIES = $(noinst_LTLIBRARIES) libvstsdk_la_LIBADD = nodist_libvstsdk_la_OBJECTS = libvstsdk_la-audioeffectx.lo \ libvstsdk_la-audioeffect.lo libvstsdk_la-vstplugmain.lo libvstsdk_la_OBJECTS = $(nodist_libvstsdk_la_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = libvstsdk_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(libvstsdk_la_CXXFLAGS) \ $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ @ENABLE_VST_TRUE@am_libvstsdk_la_rpath = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CXXFLAGS) $(CXXFLAGS) AM_V_CXX = $(am__v_CXX_@AM_V@) am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) am__v_CXX_0 = @echo " CXX " $@; am__v_CXX_1 = CXXLD = $(CXX) CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) am__v_CXXLD_0 = @echo " CXXLD " $@; am__v_CXXLD_1 = SOURCES = $(nodist_libvstsdk_la_SOURCES) DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALSA_CFLAGS = @ALSA_CFLAGS@ ALSA_LIBS = @ALSA_LIBS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ # We know there are warnings in the VSTSDK code, so don't consider them errors. CXXFLAGS := $(filter-out -Werror -Wall ,$(CXXFLAGS)) CYGPATH_W = @CYGPATH_W@ DEBUG_FLAGS = @DEBUG_FLAGS@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DL_CFLAGS = @DL_CFLAGS@ DL_LIBS = @DL_LIBS@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ FLOAT_STORE = @FLOAT_STORE@ GREP = @GREP@ GUI_CPPFLAGS = @GUI_CPPFLAGS@ GUI_LIBS = @GUI_LIBS@ INPUT_PLUGINS = @INPUT_PLUGINS@ INPUT_PLUGIN_DIR = @INPUT_PLUGIN_DIR@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ JACK_CFLAGS = @JACK_CFLAGS@ JACK_LIBS = @JACK_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ LV2DIR = @LV2DIR@ LV2_CFLAGS = @LV2_CFLAGS@ LV2_LIBS = @LV2_LIBS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MSGFMT = @MSGFMT@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJC = @OBJC@ OBJCDEPMODE = @OBJCDEPMODE@ OBJCFLAGS = @OBJCFLAGS@ OBJCXX = @OBJCXX@ OBJCXXDEPMODE = @OBJCXXDEPMODE@ OBJCXXFLAGS = @OBJCXXFLAGS@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ OUTPUT_PLUGINS = @OUTPUT_PLUGINS@ OUTPUT_PLUGIN_DIR = @OUTPUT_PLUGIN_DIR@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SMF_CFLAGS = @SMF_CFLAGS@ SMF_LIBS = @SMF_LIBS@ SNDFILE_CFLAGS = @SNDFILE_CFLAGS@ SNDFILE_LIBS = @SNDFILE_LIBS@ SSEFLAGS = @SSEFLAGS@ STRIP = @STRIP@ VERSION = @VERSION@ VST_CPPFLAGS = @VST_CPPFLAGS@ VST_SOURCE_PATH = @VST_SOURCE_PATH@ X11_CFLAGS = @X11_CFLAGS@ X11_LIBS = @X11_LIBS@ XEXT_CFLAGS = @XEXT_CFLAGS@ XEXT_LIBS = @XEXT_LIBS@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ ac_ct_OBJC = @ac_ct_OBJC@ ac_ct_OBJCXX = @ac_ct_OBJCXX@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ dgplugindir = @dgplugindir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ @ENABLE_VST_TRUE@noinst_LTLIBRARIES = libvstsdk.la cp_verbose = $(cp_verbose_@AM_V@) cp_verbose_ = $(cp_verbose_@AM_DEFAULT_V@) cp_verbose_0 = @echo " CP "$@; mkdir_verbose = $(mkdir_verbose_@AM_V@) mkdir_verbose_ = $(mkdir_verbose_@AM_DEFAULT_V@) mkdir_verbose_0 = @echo " MKDIR "$@; # Hack to compile vst sources without -Wall -Werror libvstsdk_la_CXXFLAGS = -Wno-c++11-narrowing -w $(VST_CPPFLAGS) \ -Ipublic.sdk/source/vst2.x -I. nodist_libvstsdk_la_SOURCES = \ public.sdk/source/vst2.x/audioeffectx.cpp \ public.sdk/source/vst2.x/audioeffect.cpp \ public.sdk/source/vst2.x/vstplugmain.cpp CLEANFILES = \ pluginterfaces/vst2.x/aeffect.h \ pluginterfaces/vst2.x/aeffectx.h \ public.sdk/source/vst2.x/audioeffectx.h \ public.sdk/source/vst2.x/audioeffectx.cpp \ public.sdk/source/vst2.x/audioeffect.h \ public.sdk/source/vst2.x/audioeffect.cpp \ public.sdk/source/vst2.x/aeffeditor.h \ public.sdk/source/vst2.x/vstplugmain.cpp all: all-am .SUFFIXES: .SUFFIXES: .cpp .lo .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu plugin/vst/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu plugin/vst/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): clean-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libvstsdk.la: $(libvstsdk_la_OBJECTS) $(libvstsdk_la_DEPENDENCIES) $(EXTRA_libvstsdk_la_DEPENDENCIES) $(AM_V_CXXLD)$(libvstsdk_la_LINK) $(am_libvstsdk_la_rpath) $(libvstsdk_la_OBJECTS) $(libvstsdk_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvstsdk_la-audioeffect.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvstsdk_la-audioeffectx.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libvstsdk_la-vstplugmain.Plo@am__quote@ .cpp.o: @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< .cpp.obj: @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cpp.lo: @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $< libvstsdk_la-audioeffectx.lo: public.sdk/source/vst2.x/audioeffectx.cpp @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvstsdk_la_CXXFLAGS) $(CXXFLAGS) -MT libvstsdk_la-audioeffectx.lo -MD -MP -MF $(DEPDIR)/libvstsdk_la-audioeffectx.Tpo -c -o libvstsdk_la-audioeffectx.lo `test -f 'public.sdk/source/vst2.x/audioeffectx.cpp' || echo '$(srcdir)/'`public.sdk/source/vst2.x/audioeffectx.cpp @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvstsdk_la-audioeffectx.Tpo $(DEPDIR)/libvstsdk_la-audioeffectx.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='public.sdk/source/vst2.x/audioeffectx.cpp' object='libvstsdk_la-audioeffectx.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvstsdk_la_CXXFLAGS) $(CXXFLAGS) -c -o libvstsdk_la-audioeffectx.lo `test -f 'public.sdk/source/vst2.x/audioeffectx.cpp' || echo '$(srcdir)/'`public.sdk/source/vst2.x/audioeffectx.cpp libvstsdk_la-audioeffect.lo: public.sdk/source/vst2.x/audioeffect.cpp @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvstsdk_la_CXXFLAGS) $(CXXFLAGS) -MT libvstsdk_la-audioeffect.lo -MD -MP -MF $(DEPDIR)/libvstsdk_la-audioeffect.Tpo -c -o libvstsdk_la-audioeffect.lo `test -f 'public.sdk/source/vst2.x/audioeffect.cpp' || echo '$(srcdir)/'`public.sdk/source/vst2.x/audioeffect.cpp @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvstsdk_la-audioeffect.Tpo $(DEPDIR)/libvstsdk_la-audioeffect.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='public.sdk/source/vst2.x/audioeffect.cpp' object='libvstsdk_la-audioeffect.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvstsdk_la_CXXFLAGS) $(CXXFLAGS) -c -o libvstsdk_la-audioeffect.lo `test -f 'public.sdk/source/vst2.x/audioeffect.cpp' || echo '$(srcdir)/'`public.sdk/source/vst2.x/audioeffect.cpp libvstsdk_la-vstplugmain.lo: public.sdk/source/vst2.x/vstplugmain.cpp @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvstsdk_la_CXXFLAGS) $(CXXFLAGS) -MT libvstsdk_la-vstplugmain.lo -MD -MP -MF $(DEPDIR)/libvstsdk_la-vstplugmain.Tpo -c -o libvstsdk_la-vstplugmain.lo `test -f 'public.sdk/source/vst2.x/vstplugmain.cpp' || echo '$(srcdir)/'`public.sdk/source/vst2.x/vstplugmain.cpp @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libvstsdk_la-vstplugmain.Tpo $(DEPDIR)/libvstsdk_la-vstplugmain.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='public.sdk/source/vst2.x/vstplugmain.cpp' object='libvstsdk_la-vstplugmain.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libvstsdk_la_CXXFLAGS) $(CXXFLAGS) -c -o libvstsdk_la-vstplugmain.lo `test -f 'public.sdk/source/vst2.x/vstplugmain.cpp' || echo '$(srcdir)/'`public.sdk/source/vst2.x/vstplugmain.cpp mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool clean-local \ clean-noinstLTLIBRARIES mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ clean-libtool clean-local clean-noinstLTLIBRARIES \ cscopelist-am ctags ctags-am distclean distclean-compile \ distclean-generic distclean-libtool distclean-tags distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags tags-am uninstall uninstall-am .PRECIOUS: Makefile # Targets to copy vst source files pluginterfaces/vst2.x: $(mkdir_verbose)$(MKDIR_P) pluginterfaces/vst2.x pluginterfaces/vst2.x/aeffect.h: pluginterfaces/vst2.x @VST_SOURCE_PATH@/pluginterfaces/vst2.x/aeffect.h $(cp_verbose)cp @VST_SOURCE_PATH@/pluginterfaces/vst2.x/aeffect.h $@ pluginterfaces/vst2.x/aeffectx.h: pluginterfaces/vst2.x @VST_SOURCE_PATH@/pluginterfaces/vst2.x/aeffectx.h $(cp_verbose)cp @VST_SOURCE_PATH@/pluginterfaces/vst2.x/aeffectx.h $@ public.sdk/source/vst2.x: $(mkdir_verbose)$(MKDIR_P) public.sdk/source/vst2.x public.sdk/source/vst2.x/audioeffectx.h: public.sdk/source/vst2.x public.sdk/source/vst2.x/audioeffect.h pluginterfaces/vst2.x/aeffect.h @VST_SOURCE_PATH@/public.sdk/source/vst2.x/audioeffectx.h $(cp_verbose)cp @VST_SOURCE_PATH@/public.sdk/source/vst2.x/audioeffectx.h $@ public.sdk/source/vst2.x/audioeffectx.cpp: public.sdk/source/vst2.x public.sdk/source/vst2.x/aeffeditor.h pluginterfaces/vst2.x/aeffectx.h public.sdk/source/vst2.x/audioeffectx.h @VST_SOURCE_PATH@/public.sdk/source/vst2.x/audioeffectx.cpp $(cp_verbose)cp @VST_SOURCE_PATH@/public.sdk/source/vst2.x/audioeffectx.cpp $@ public.sdk/source/vst2.x/audioeffect.h: public.sdk/source/vst2.x @VST_SOURCE_PATH@/public.sdk/source/vst2.x/audioeffect.h $(cp_verbose)cp @VST_SOURCE_PATH@/public.sdk/source/vst2.x/audioeffect.h $@ public.sdk/source/vst2.x/audioeffect.cpp: public.sdk/source/vst2.x public.sdk/source/vst2.x/audioeffect.h @VST_SOURCE_PATH@/public.sdk/source/vst2.x/audioeffect.cpp $(cp_verbose)cp @VST_SOURCE_PATH@/public.sdk/source/vst2.x/audioeffect.cpp $@ public.sdk/source/vst2.x/aeffeditor.h: public.sdk/source/vst2.x @VST_SOURCE_PATH@/public.sdk/source/vst2.x/aeffeditor.h $(cp_verbose)cp @VST_SOURCE_PATH@/public.sdk/source/vst2.x/aeffeditor.h $@ public.sdk/source/vst2.x/vstplugmain.cpp: public.sdk/source/vst2.x @VST_SOURCE_PATH@/public.sdk/source/vst2.x/vstplugmain.cpp $(cp_verbose)cp @VST_SOURCE_PATH@/public.sdk/source/vst2.x/vstplugmain.cpp $@ clean-local: -rm -rf public.sdk pluginterfaces # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: drumgizmo-0.9.20/plugin/vst/Makefile.am0000644000076400007640000000606713756436707014751 00000000000000if ENABLE_VST noinst_LTLIBRARIES = libvstsdk.la endif # We know there are warnings in the VSTSDK code, so don't consider them errors. CXXFLAGS:=$(filter-out -Werror -Wall ,$(CXXFLAGS)) cp_verbose = $(cp_verbose_@AM_V@) cp_verbose_ = $(cp_verbose_@AM_DEFAULT_V@) cp_verbose_0 = @echo " CP "$@; mkdir_verbose = $(mkdir_verbose_@AM_V@) mkdir_verbose_ = $(mkdir_verbose_@AM_DEFAULT_V@) mkdir_verbose_0 = @echo " MKDIR "$@; # Targets to copy vst source files pluginterfaces/vst2.x: $(mkdir_verbose)$(MKDIR_P) pluginterfaces/vst2.x pluginterfaces/vst2.x/aeffect.h: pluginterfaces/vst2.x @VST_SOURCE_PATH@/pluginterfaces/vst2.x/aeffect.h $(cp_verbose)cp @VST_SOURCE_PATH@/pluginterfaces/vst2.x/aeffect.h $@ pluginterfaces/vst2.x/aeffectx.h: pluginterfaces/vst2.x @VST_SOURCE_PATH@/pluginterfaces/vst2.x/aeffectx.h $(cp_verbose)cp @VST_SOURCE_PATH@/pluginterfaces/vst2.x/aeffectx.h $@ public.sdk/source/vst2.x: $(mkdir_verbose)$(MKDIR_P) public.sdk/source/vst2.x public.sdk/source/vst2.x/audioeffectx.h: public.sdk/source/vst2.x public.sdk/source/vst2.x/audioeffect.h pluginterfaces/vst2.x/aeffect.h @VST_SOURCE_PATH@/public.sdk/source/vst2.x/audioeffectx.h $(cp_verbose)cp @VST_SOURCE_PATH@/public.sdk/source/vst2.x/audioeffectx.h $@ public.sdk/source/vst2.x/audioeffectx.cpp: public.sdk/source/vst2.x public.sdk/source/vst2.x/aeffeditor.h pluginterfaces/vst2.x/aeffectx.h public.sdk/source/vst2.x/audioeffectx.h @VST_SOURCE_PATH@/public.sdk/source/vst2.x/audioeffectx.cpp $(cp_verbose)cp @VST_SOURCE_PATH@/public.sdk/source/vst2.x/audioeffectx.cpp $@ public.sdk/source/vst2.x/audioeffect.h: public.sdk/source/vst2.x @VST_SOURCE_PATH@/public.sdk/source/vst2.x/audioeffect.h $(cp_verbose)cp @VST_SOURCE_PATH@/public.sdk/source/vst2.x/audioeffect.h $@ public.sdk/source/vst2.x/audioeffect.cpp: public.sdk/source/vst2.x public.sdk/source/vst2.x/audioeffect.h @VST_SOURCE_PATH@/public.sdk/source/vst2.x/audioeffect.cpp $(cp_verbose)cp @VST_SOURCE_PATH@/public.sdk/source/vst2.x/audioeffect.cpp $@ public.sdk/source/vst2.x/aeffeditor.h: public.sdk/source/vst2.x @VST_SOURCE_PATH@/public.sdk/source/vst2.x/aeffeditor.h $(cp_verbose)cp @VST_SOURCE_PATH@/public.sdk/source/vst2.x/aeffeditor.h $@ public.sdk/source/vst2.x/vstplugmain.cpp: public.sdk/source/vst2.x @VST_SOURCE_PATH@/public.sdk/source/vst2.x/vstplugmain.cpp $(cp_verbose)cp @VST_SOURCE_PATH@/public.sdk/source/vst2.x/vstplugmain.cpp $@ # Hack to compile vst sources without -Wall -Werror libvstsdk_la_CXXFLAGS = -Wno-c++11-narrowing -w $(VST_CPPFLAGS) \ -Ipublic.sdk/source/vst2.x -I. nodist_libvstsdk_la_SOURCES = \ public.sdk/source/vst2.x/audioeffectx.cpp \ public.sdk/source/vst2.x/audioeffect.cpp \ public.sdk/source/vst2.x/vstplugmain.cpp CLEANFILES = \ pluginterfaces/vst2.x/aeffect.h \ pluginterfaces/vst2.x/aeffectx.h \ public.sdk/source/vst2.x/audioeffectx.h \ public.sdk/source/vst2.x/audioeffectx.cpp \ public.sdk/source/vst2.x/audioeffect.h \ public.sdk/source/vst2.x/audioeffect.cpp \ public.sdk/source/vst2.x/aeffeditor.h \ public.sdk/source/vst2.x/vstplugmain.cpp clean-local: -rm -rf public.sdk pluginterfaces drumgizmo-0.9.20/plugin/drumgizmo_vst.sym0000644000076400007640000000001713756436707015531 00000000000000*VSTPluginMain drumgizmo-0.9.20/plugin/drumgizmo_plugin.cc0000644000076400007640000005073514103755526015772 00000000000000/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /*************************************************************************** * drumgizmo_lv2.cc * * Wed Mar 2 17:31:32 CET 2016 * Copyright 2016 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ /* * This file is part of DrumGizmo. * * DrumGizmo is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * DrumGizmo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "drumgizmo_plugin.h" #include #include #include #include #include #include #include "configparser.h" #include "nolocale.h" #ifdef LV2 // Entry point for lv2 plugin instantiation. PG_EXPORT PluginLV2* createEffectInstance() { return new DrumGizmoPlugin(); } #endif #ifdef VST // Entry point for vst plugin instantiation. AudioEffect* createEffectInstance(audioMasterCallback audioMaster) { return new DrumGizmoPlugin(audioMaster); } DrumGizmoPlugin::DrumGizmoPlugin(audioMasterCallback audioMaster) : PluginVST(audioMaster), #else DrumGizmoPlugin::DrumGizmoPlugin() : #endif config_string_io(settings) { init(); drumgizmo = std::make_shared(settings, output, input); resizeWindow(GUI::MainWindow::main_width, GUI::MainWindow::main_height); drumgizmo->setFreeWheel(true); drumgizmo->setSamplerate(44100); drumgizmo->setFrameSize(2048); } void DrumGizmoPlugin::onSamplerateChange(float samplerate) { drumgizmo->setSamplerate(samplerate); } void DrumGizmoPlugin::onFramesizeChange(size_t framesize) { drumgizmo->setFrameSize(framesize); } void DrumGizmoPlugin::onActiveChange(bool active) { } std::string DrumGizmoPlugin::onStateSave() { return config_string_io.get(); } void DrumGizmoPlugin::onStateRestore(const std::string& config) { config_string_io.set(config); } size_t DrumGizmoPlugin::getNumberOfMidiInputs() { return 1; } size_t DrumGizmoPlugin::getNumberOfMidiOutputs() { return 0; } size_t DrumGizmoPlugin::getNumberOfAudioInputs() { return 0; } size_t DrumGizmoPlugin::getNumberOfAudioOutputs() { return NUM_CHANNELS; } std::string DrumGizmoPlugin::getId() { return "DrumGizmo"; } std::string DrumGizmoPlugin::getURI() { return "http://drumgizmo.org"; } std::string DrumGizmoPlugin::getEffectName() { return "DrumGizmo"; } std::string DrumGizmoPlugin::getVendorString() { return "DrumGizmo Team"; } std::string DrumGizmoPlugin::getProductString() { return "DrumGizmo"; } std::string DrumGizmoPlugin::getHomepage() { return "https://www.drumgizmo.org"; } PluginCategory DrumGizmoPlugin::getPluginCategory() { return PluginCategory::Synth; } static float g_samples[NUM_CHANNELS * 4096]; void DrumGizmoPlugin::process(size_t pos, const std::vector& input_events, std::vector& output_events, const std::vector& input_samples, const std::vector& output_samples, size_t count) { setLatency(drumgizmo->getLatency()); this->input_events = &input_events; this->output_samples = &output_samples; drumgizmo->run(pos, g_samples, count); this->input_events = nullptr; this->output_samples = nullptr; } bool DrumGizmoPlugin::hasInlineGUI() { return true; } class InlinePixelBufferAlpha : public dggui::PixelBufferAlpha { public: InlinePixelBufferAlpha(Plugin::InlineDrawContext& context) { buf = context.data; width = context.width; height = context.height; x = 0; y = 0; } }; class InlineCanvas : public dggui::Canvas { public: InlineCanvas(Plugin::InlineDrawContext& context) : pixbuf(context) { } // From Canvas: dggui::PixelBufferAlpha& getPixelBuffer() override { return pixbuf; } private: InlinePixelBufferAlpha pixbuf; }; void DrumGizmoPlugin::onInlineRedraw(std::size_t width, std::size_t max_height, InlineDrawContext& context) { std::size_t bar_height = bar_red.height(); std::size_t image_height = ((double)width / inline_display_image.width()) * inline_display_image.height(); bool show_bar{false}; bool show_image{false}; std::size_t height = 0; if(bar_height <= max_height) { show_bar = true; height += bar_height; } if(bar_height + image_height <= max_height) { show_image = true; height += image_height; } // They have to be called seperately to avoid lazy evaluation bool nof_changed = settingsGetter.number_of_files.hasChanged(); bool nofl_changed = settingsGetter.number_of_files_loaded.hasChanged(); bool dls_changed = settingsGetter.drumkit_load_status.hasChanged(); bool in_progress = settingsGetter.number_of_files_loaded.getValue() < settingsGetter.number_of_files.getValue(); bool context_needs_update = !context.data || context.width != width || context.height != height; bool bar_needs_update = nof_changed || nofl_changed || dls_changed || context_needs_update | in_progress; // Always update while loading to prevent flickering. bool image_needs_update = inline_image_first_draw || context_needs_update; // TODO: settingsGetter.inline_image_filename.hasChanged(); bool something_needs_update = context_needs_update || bar_needs_update || image_needs_update; if (something_needs_update) { context.width = width; context.height = height; assert(context.width * context.height <= sizeof(inlineDisplayBuffer)); context.data = (unsigned char*)inlineDisplayBuffer; InlineCanvas canvas(context); dggui::Painter painter(canvas); double progress = (double)settingsGetter.number_of_files_loaded.getValue() / (double)settingsGetter.number_of_files.getValue(); if(show_bar && bar_needs_update) { box.setSize(context.width, bar_height); painter.drawImage(0, height - bar_height, box); int brd = 4; int val = (width - (2 * brd)) * progress; switch(settingsGetter.drumkit_load_status.getValue()) { case LoadStatus::Error: bar_red.setSize(val, bar_height); painter.drawImage(brd, height - bar_height, bar_red); break; case LoadStatus::Done: bar_green.setSize(val, bar_height); painter.drawImage(brd, height - bar_height, bar_green); break; case LoadStatus::Parsing: case LoadStatus::Loading: case LoadStatus::Idle: bar_blue.setSize(val, bar_height); painter.drawImage(brd, height - bar_height, bar_blue); break; } } if(show_image && image_needs_update) { // TODO: load new image and remove the bool inline_image_first_draw = false; painter.setColour(.5); painter.drawFilledRectangle(0, 0, width, image_height); painter.drawImageStretched(0, 0, inline_display_image, width, image_height); } // Convert to correct pixel format for(std::size_t i = 0; i < context.height * context.width; ++i) { std::uint32_t pixel = inlineDisplayBuffer[i]; unsigned char* p = (unsigned char*)&pixel; inlineDisplayBuffer[i] = pgzRGBA(p[0], p[1], p[2], p[3]); } } } bool DrumGizmoPlugin::hasGUI() { return true; } void* DrumGizmoPlugin::createWindow(void* parent) { plugin_gui = std::make_shared(settings, parent); resizeWindow(GUI::MainWindow::main_width, GUI::MainWindow::main_height); onShowWindow(); return plugin_gui->getNativeWindowHandle(); } void DrumGizmoPlugin::onDestroyWindow() { plugin_gui = nullptr; } void DrumGizmoPlugin::onShowWindow() { plugin_gui->show(); } void DrumGizmoPlugin::onHideWindow() { plugin_gui->hide(); } void DrumGizmoPlugin::onIdle() { plugin_gui->processEvents(); } void DrumGizmoPlugin::closeWindow() { } // // Input Engine // DrumGizmoPlugin::Input::Input(DrumGizmoPlugin& plugin) : plugin(plugin) { } bool DrumGizmoPlugin::Input::init(const Instruments &instruments) { this->instruments = &instruments; return true; } void DrumGizmoPlugin::Input::setParm(const std::string& parm, const std::string& value) { } bool DrumGizmoPlugin::Input::start() { return true; } void DrumGizmoPlugin::Input::stop() { } void DrumGizmoPlugin::Input::pre() { } void DrumGizmoPlugin::Input::run(size_t pos, size_t len, std::vector& events) { assert(events.empty()); assert(plugin.input_events); events.reserve(plugin.input_events->size()); for(auto& event : *plugin.input_events) { processNote((const std::uint8_t*)event.getData(), event.getSize(), event.getTime(), events); } } void DrumGizmoPlugin::Input::post() { } bool DrumGizmoPlugin::Input::isFreewheeling() const { return plugin.getFreeWheel(); } bool DrumGizmoPlugin::Input::loadMidiMap(const std::string& file, const Instruments& i) { bool result = AudioInputEngineMidi::loadMidiMap(file, i); std::vector> midnam; const auto& midimap = mmap.getMap(); std::map map; for(const auto& entry : midimap) { // in case of multiple instruments mapped to one note, use '/' as separator if(!map[entry.note_id].empty()) { map[entry.note_id] += "/"; } map[entry.note_id] += entry.instrument_name; } midnam.reserve(map.size()); for(const auto& m : map) { midnam.push_back(std::make_pair(m.first, m.second)); } if(midnam.size() > 0) { plugin.setMidnamData(midnam); } return result; } // // Output Engine // DrumGizmoPlugin::Output::Output(DrumGizmoPlugin& plugin) : plugin(plugin) { } bool DrumGizmoPlugin::Output::init(const Channels& channels) { return true; } void DrumGizmoPlugin::Output::setParm(const std::string& parm, const std::string& value) { } bool DrumGizmoPlugin::Output::start() { return true; } void DrumGizmoPlugin::Output::stop() { } void DrumGizmoPlugin::Output::pre(size_t nsamples) { // Clear all channels for(auto& channel : *plugin.output_samples) { if(channel) { std::memset(channel, 0, nsamples * sizeof(sample_t)); } } } void DrumGizmoPlugin::Output::run(int ch, sample_t* samples, size_t nsamples) { assert(plugin.output_samples); assert(sizeof(float) == sizeof(sample_t)); if((std::size_t)ch >= plugin.output_samples->size()) { return; } if((*plugin.output_samples)[ch] == nullptr) { // Port not connected. return; } // We are not running directly on the internal buffer: do a copy. if((*plugin.output_samples)[ch] != samples) { memcpy((*plugin.output_samples)[ch], samples, nsamples * sizeof(sample_t)); } } void DrumGizmoPlugin::Output::post(size_t nsamples) { } sample_t* DrumGizmoPlugin::Output::getBuffer(int ch) const { assert(plugin.output_samples); if((std::size_t)ch >= plugin.output_samples->size()) { return nullptr; } return (*plugin.output_samples)[ch]; } size_t DrumGizmoPlugin::Output::getBufferSize() const { return plugin.getFramesize(); } std::size_t DrumGizmoPlugin::Output::getSamplerate() const { return plugin.drumgizmo->samplerate(); } bool DrumGizmoPlugin::Output::isFreewheeling() const { return plugin.getFreeWheel(); } // // ConfigStringIO // // anonymous namespace for helper furnctions of ConfigStringIO namespace { std::string float2str(float a) { char buf[256]; snprintf_nol(buf, sizeof(buf) - 1, "%f", a); return buf; } std::string bool2str(bool a) { return a?"true":"false"; } std::string int2str(int a) { char buf[256]; snprintf(buf, sizeof(buf) - 1, "%d", a); return buf; } float str2float(std::string a) { if(a == "") { return 0.0; } return atof_nol(a.c_str()); } int str2int(std::string a) { try { return std::stoi(a); } catch(...) { return 0; } } long long str2ll(std::string a) { try { return std::stoll(a); } catch(...) { return 0; } } } // end anonymous namespace DrumGizmoPlugin::ConfigStringIO::ConfigStringIO(Settings& settings) : settings(settings) { } std::string DrumGizmoPlugin::ConfigStringIO::get() { return "\n" " " + settings.drumkit_file.load() + "\n" " " + settings.midimap_file.load() + "\n" " " + bool2str(settings.enable_velocity_modifier.load()) + "\n" " " + float2str(settings.velocity_modifier_falloff.load()) + "\n" " " + float2str(settings.velocity_modifier_weight.load()) + "\n" " " + float2str(settings.velocity_stddev.load()) + "\n" " " + float2str(settings.sample_selection_f_close.load()) + "\n" " " + float2str(settings.sample_selection_f_diverse.load()) + "\n" " " + float2str(settings.sample_selection_f_random.load()) + "\n" " " + bool2str(settings.enable_velocity_randomiser.load()) + "\n" " " + float2str(settings.velocity_randomiser_weight.load()) + "\n" " " + bool2str(settings.enable_resampling.load()) + "\n" " " + float2str(settings.resampling_quality.load()) + "\n" " " + int2str(settings.disk_cache_upper_limit.load()) + "\n" " " + int2str(settings.disk_cache_chunk_size.load()) + "\n" " " + bool2str(settings.disk_cache_enable.load()) + "\n" " " + bool2str(settings.enable_bleed_control.load()) + "\n" " " + float2str(settings.master_bleed.load()) + "\n" " " + bool2str(settings.enable_latency_modifier.load()) + "\n" // Do not store/reload this value //" " + //int2str(settings.latency_max.load()) + "\n" " " + float2str(settings.latency_laid_back_ms.load()) + "\n" " " + float2str(settings.latency_stddev.load()) + "\n" " " + float2str(settings.latency_regain.load()) + "\n" " " + bool2str(settings.enable_powermap.load()) + "\n" " " + float2str(settings.powermap_fixed0_x.load()) + "\n" " " + float2str(settings.powermap_fixed0_y.load()) + "\n" " " + float2str(settings.powermap_fixed1_x.load()) + "\n" " " + float2str(settings.powermap_fixed1_y.load()) + "\n" " " + float2str(settings.powermap_fixed2_x.load()) + "\n" " " + float2str(settings.powermap_fixed2_y.load()) + "\n" " " + bool2str(settings.powermap_shelf.load()) + "\n" " " + bool2str(settings.enable_voice_limit.load()) + "\n" " " + int2str(settings.voice_limit_max.load()) + "\n" " " + float2str(settings.voice_limit_rampdown.load()) + "\n" ""; } bool DrumGizmoPlugin::ConfigStringIO::set(std::string config_string) { DEBUG(config, "Load config: %s\n", config_string.c_str()); ConfigParser p; if(!p.parseString(config_string)) { ERR(config, "Config parse error.\n"); return false; } if(p.value("enable_velocity_modifier") != "") { settings.enable_velocity_modifier.store(p.value("enable_velocity_modifier") == "true"); } if(p.value("velocity_modifier_falloff") != "") { settings.velocity_modifier_falloff.store(str2float(p.value("velocity_modifier_falloff"))); } if(p.value("velocity_modifier_weight") != "") { settings.velocity_modifier_weight.store(str2float(p.value("velocity_modifier_weight"))); } if(p.value("velocity_stddev") != "") { settings.velocity_stddev.store(str2float(p.value("velocity_stddev"))); } if(p.value("sample_selection_f_close") != "") { settings.sample_selection_f_close.store(str2float(p.value("sample_selection_f_close"))); } if(p.value("sample_selection_f_diverse") != "") { settings.sample_selection_f_diverse.store(str2float(p.value("sample_selection_f_diverse"))); } if(p.value("sample_selection_f_random") != "") { settings.sample_selection_f_random.store(str2float(p.value("sample_selection_f_random"))); } if(p.value("enable_velocity_randomiser") != "") { settings.enable_velocity_randomiser.store(p.value("enable_velocity_randomiser") == "true"); } if(p.value("velocity_randomiser_weight") != "") { settings.velocity_randomiser_weight.store(str2float(p.value("velocity_randomiser_weight"))); } if(p.value("enable_resampling") != "") { settings.enable_resampling.store(p.value("enable_resampling") == "true"); } if(p.value("resampling_quality") != "") { settings.resampling_quality.store(str2float(p.value("resampling_quality"))); } if(p.value("disk_cache_upper_limit") != "") { settings.disk_cache_upper_limit.store(str2ll(p.value("disk_cache_upper_limit"))); } if(p.value("disk_cache_chunk_size") != "") { settings.disk_cache_chunk_size.store(str2int(p.value("disk_cache_chunk_size"))); } if(p.value("disk_cache_enable") != "") { settings.disk_cache_enable.store(p.value("disk_cache_enable") == "true"); } if(p.value("enable_bleed_control") != "") { settings.enable_bleed_control.store(p.value("enable_bleed_control") == "true"); } if(p.value("master_bleed") != "") { settings.master_bleed.store(str2float(p.value("master_bleed"))); } if(p.value("enable_latency_modifier") != "") { settings.enable_latency_modifier.store(p.value("enable_latency_modifier") == "true"); } // Do not store/reload this value //if(p.value("latency_max") != "") //{ // settings.latency_max.store(str2int(p.value("latency_max"))); //} if(p.value("latency_laid_back_ms") != "") { settings.latency_laid_back_ms.store(str2float(p.value("latency_laid_back_ms"))); } if(p.value("latency_stddev") != "") { settings.latency_stddev.store(str2float(p.value("latency_stddev"))); } if(p.value("latency_regain") != "") { settings.latency_regain.store(str2float(p.value("latency_regain"))); } if(p.value("enable_powermap") != "") { settings.enable_powermap.store(p.value("enable_powermap") == "true"); } if(p.value("powermap_fixed0_x") != "") { settings.powermap_fixed0_x.store(str2float(p.value("powermap_fixed0_x"))); } if(p.value("powermap_fixed0_y") != "") { settings.powermap_fixed0_y.store(str2float(p.value("powermap_fixed0_y"))); } if(p.value("powermap_fixed1_x") != "") { settings.powermap_fixed1_x.store(str2float(p.value("powermap_fixed1_x"))); } if(p.value("powermap_fixed1_y") != "") { settings.powermap_fixed1_y.store(str2float(p.value("powermap_fixed1_y"))); } if(p.value("powermap_fixed2_x") != "") { settings.powermap_fixed2_x.store(str2float(p.value("powermap_fixed2_x"))); } if(p.value("powermap_fixed2_y") != "") { settings.powermap_fixed2_y.store(str2float(p.value("powermap_fixed2_y"))); } if(p.value("powermap_shelf") != "") { settings.powermap_shelf.store(p.value("powermap_shelf") == "true"); } if(p.value("enable_voice_limit") != "") { settings.enable_voice_limit.store(p.value("enable_voice_limit") == "true"); } if(p.value("voice_limit_max") != "") { settings.voice_limit_max.store(str2int(p.value("voice_limit_max"))); } if(p.value("voice_limit_rampdown") != "") { settings.voice_limit_rampdown.store(str2float(p.value("voice_limit_rampdown"))); } std::string newkit = p.value("drumkitfile"); if(newkit != "") { settings.drumkit_file.store(newkit); } std::string newmidimap = p.value("midimapfile"); if(newmidimap != "") { settings.midimap_file.store(newmidimap); } return true; } drumgizmo-0.9.20/getoptpp/0000755000076400007640000000000014306421546012477 500000000000000drumgizmo-0.9.20/getoptpp/getoptpp.hpp0000644000076400007640000001057713653553157015014 00000000000000#pragma once #include #include #include #include #include #include #include #include #include namespace dg { using Handle = std::function; class Options { public: /// @param name name of the option /// @param has_arg kind of arguments that are used (no_argument, required_argument, optional_argument) /// @param val identifies the option (see getopt documentation) /// @param help_text help text for this option /// @param handle lambda that is invoked when the option occures void add(std::string const & name, int has_arg, int val, std::string const & help_text, Handle handle) { add(name, has_arg, nullptr, val, help_text, handle); } /// @param name name of the option /// @param has_arg kind of arguments that are used (no_argument, required_argument, optional_argument) /// @param flag pointer that is set after the option occured /// @param val value for the flag to be set /// @param help_text help text for this option /// @param handle lambda that is invoked when the option occures void add(std::string const & name, int has_arg, int* flag, int val, std::string const & help_text, Handle handle) { names.push_back(name); // create a new option from the args options.push_back({names.back().data(), has_arg, flag, val}); help_texts.push_back(help_text); int index = val; // let val be the option's unique identifier if (flag != nullptr) { // flag is not null, so the val is not used as identifier // so pick another one index = num_flags++; } // store the handle handles[index] = handle; } int process(int argc, char* argv[]) { int ret = 0; std::string shortopts; for (auto const & option: options) { if (option.flag != nullptr) { continue; } shortopts += static_cast(option.val); switch (option.has_arg) { case no_argument: break; case required_argument: shortopts += ":"; break; case optional_argument: shortopts += "::"; break; } } // add termination option options.push_back({0, 0, 0, 0}); // handle arguments while (true) { int index = 0; int key = getopt_long(argc, argv, shortopts.data(), options.data(), &index); if (key == -1) { break; } else if (key == '?') { return 1; } else if (key == ':') { return 1; } else if (key == 0) { // call flag's handle ret = handles.at(index)(); } else { // call option's handle ret = handles.at(key)(); } if(ret) { return ret; } } for (int i = optind; i < argc; ++i) { args.push_back(argv[i]); } // remove terminating option options.pop_back(); assert(options.size() == handles.size()); assert(options.size() == help_texts.size()); return 0; } const std::vector arguments() const { return args; } void help() { std::size_t width = 26; std::size_t column_width = 80; int index = 0; for(auto const & help_text : help_texts) { if(index >= (int)options.size()) { break; } auto const & opt = options.at(index); std::string args; switch(opt.has_arg) { case required_argument: args = ""; break; case optional_argument: args = "[x]"; break; case no_argument: default: break; } std::string option_str; if(opt.val >= '!' && opt.val <= '~') { option_str = " -" + std::string(1, opt.val) + ", --" + opt.name + " " + args; } else { option_str = " --" + std::string(opt.name) + " " + args; } std::string padding; if(option_str.size() < width) { padding.append(width - option_str.size(), ' '); } else { padding = "\n"; padding.append(width, ' '); } std::cout << option_str << padding; auto i = width; for(auto c : help_text) { if((c == '\n') || (i > column_width && (c == ' ' || c == '\t'))) { std::string padding(width, ' '); std::cout << '\n' << padding; i = width; continue; } std::cout << c; ++i; } std::cout << '\n'; ++index; } } private: std::size_t num_flags{}; std::vector