*/*: sync with upstream

Taken from: FreeBSD
This commit is contained in:
Franco Fichtner 2016-01-12 23:08:37 +01:00
parent bae6936d56
commit a93a8dfade
1269 changed files with 7819 additions and 3137 deletions

View File

@ -2,9 +2,8 @@
# $FreeBSD$
PORTNAME= brotli
PORTVERSION= 0.2.0
PORTVERSION= 0.3.0
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= archivers
MAINTAINER= sunpoet@FreeBSD.org

View File

@ -1,2 +1,2 @@
SHA256 (google-brotli-v0.2.0_GH0.tar.gz) = 634d1089ee21b35e0ec5066cb5e44dd097e04e679e1e8c50bffa2b0dc77c2c29
SIZE (google-brotli-v0.2.0_GH0.tar.gz) = 7839880
SHA256 (google-brotli-v0.3.0_GH0.tar.gz) = 5d49eb1a6dd19304dd683c293abf66c8a419728f4c6d0f390fa7deb2a39eaae2
SIZE (google-brotli-v0.3.0_GH0.tar.gz) = 8035159

View File

@ -1,879 +0,0 @@
Obtained from: https://github.com/google/brotli/commit/4a7024dcde1aaf30d824ade299e70711a30f4399
--- enc/backward_references.cc.orig 2015-09-01 13:04:54 UTC
+++ enc/backward_references.cc
@@ -636,7 +636,7 @@ void CreateBackwardReferences(size_t num
int* num_literals) {
bool zopflify = quality > 9;
if (zopflify) {
- Hashers::H9* hasher = hashers->hash_h9.get();
+ Hashers::H9* hasher = hashers->hash_h9;
if (num_bytes >= 3 && position >= 3) {
// Prepare the hashes for three last bytes of the last write.
// These could not be calculated before, since they require knowledge
@@ -710,55 +710,55 @@ void CreateBackwardReferences(size_t num
case 1:
CreateBackwardReferences<Hashers::H1>(
num_bytes, position, ringbuffer, ringbuffer_mask, max_backward_limit,
- quality, hashers->hash_h1.get(), dist_cache, last_insert_len,
+ quality, hashers->hash_h1, dist_cache, last_insert_len,
commands, num_commands, num_literals);
break;
case 2:
CreateBackwardReferences<Hashers::H2>(
num_bytes, position, ringbuffer, ringbuffer_mask, max_backward_limit,
- quality, hashers->hash_h2.get(), dist_cache, last_insert_len,
+ quality, hashers->hash_h2, dist_cache, last_insert_len,
commands, num_commands, num_literals);
break;
case 3:
CreateBackwardReferences<Hashers::H3>(
num_bytes, position, ringbuffer, ringbuffer_mask, max_backward_limit,
- quality, hashers->hash_h3.get(), dist_cache, last_insert_len,
+ quality, hashers->hash_h3, dist_cache, last_insert_len,
commands, num_commands, num_literals);
break;
case 4:
CreateBackwardReferences<Hashers::H4>(
num_bytes, position, ringbuffer, ringbuffer_mask, max_backward_limit,
- quality, hashers->hash_h4.get(), dist_cache, last_insert_len,
+ quality, hashers->hash_h4, dist_cache, last_insert_len,
commands, num_commands, num_literals);
break;
case 5:
CreateBackwardReferences<Hashers::H5>(
num_bytes, position, ringbuffer, ringbuffer_mask, max_backward_limit,
- quality, hashers->hash_h5.get(), dist_cache, last_insert_len,
+ quality, hashers->hash_h5, dist_cache, last_insert_len,
commands, num_commands, num_literals);
break;
case 6:
CreateBackwardReferences<Hashers::H6>(
num_bytes, position, ringbuffer, ringbuffer_mask, max_backward_limit,
- quality, hashers->hash_h6.get(), dist_cache, last_insert_len,
+ quality, hashers->hash_h6, dist_cache, last_insert_len,
commands, num_commands, num_literals);
break;
case 7:
CreateBackwardReferences<Hashers::H7>(
num_bytes, position, ringbuffer, ringbuffer_mask, max_backward_limit,
- quality, hashers->hash_h7.get(), dist_cache, last_insert_len,
+ quality, hashers->hash_h7, dist_cache, last_insert_len,
commands, num_commands, num_literals);
break;
case 8:
CreateBackwardReferences<Hashers::H8>(
num_bytes, position, ringbuffer, ringbuffer_mask, max_backward_limit,
- quality, hashers->hash_h8.get(), dist_cache, last_insert_len,
+ quality, hashers->hash_h8, dist_cache, last_insert_len,
commands, num_commands, num_literals);
break;
case 9:
CreateBackwardReferences<Hashers::H9>(
num_bytes, position, ringbuffer, ringbuffer_mask, max_backward_limit,
- quality, hashers->hash_h9.get(), dist_cache, last_insert_len,
+ quality, hashers->hash_h9, dist_cache, last_insert_len,
commands, num_commands, num_literals);
break;
default:
--- enc/backward_references.h.orig 2015-09-01 13:04:54 UTC
+++ enc/backward_references.h
@@ -17,11 +17,11 @@
#ifndef BROTLI_ENC_BACKWARD_REFERENCES_H_
#define BROTLI_ENC_BACKWARD_REFERENCES_H_
-#include <stdint.h>
#include <vector>
#include "./hash.h"
#include "./command.h"
+#include "./types.h"
namespace brotli {
--- enc/bit_cost.h.orig 2015-09-01 13:04:54 UTC
+++ enc/bit_cost.h
@@ -18,10 +18,10 @@
#define BROTLI_ENC_BIT_COST_H_
-#include <stdint.h>
#include "./entropy_encode.h"
#include "./fast_log.h"
+#include "./types.h"
namespace brotli {
--- enc/block_splitter.h.orig 2015-09-01 13:04:54 UTC
+++ enc/block_splitter.h
@@ -17,14 +17,13 @@
#ifndef BROTLI_ENC_BLOCK_SPLITTER_H_
#define BROTLI_ENC_BLOCK_SPLITTER_H_
-#include <stddef.h>
-#include <stdint.h>
#include <string.h>
#include <vector>
#include <utility>
#include "./command.h"
#include "./metablock.h"
+#include "./types.h"
namespace brotli {
--- enc/brotli_bit_stream.cc.orig 2015-09-01 13:04:54 UTC
+++ enc/brotli_bit_stream.cc
@@ -28,7 +28,6 @@
#include "./fast_log.h"
#include "./prefix.h"
#include "./write_bits.h"
-
namespace brotli {
// returns false if fail
@@ -275,6 +274,7 @@ void StoreHuffmanTree(const uint8_t* dep
storage_ix, storage);
}
+
void BuildAndStoreHuffmanTree(const int *histogram,
const int length,
uint8_t* depth,
--- enc/brotli_bit_stream.h.orig 2015-09-01 13:04:54 UTC
+++ enc/brotli_bit_stream.h
@@ -24,11 +24,10 @@
#ifndef BROTLI_ENC_BROTLI_BIT_STREAM_H_
#define BROTLI_ENC_BROTLI_BIT_STREAM_H_
-#include <stddef.h>
-#include <stdint.h>
#include <vector>
#include "./metablock.h"
+#include "./types.h"
namespace brotli {
--- enc/cluster.h.orig 2015-09-01 13:04:54 UTC
+++ enc/cluster.h
@@ -18,7 +18,6 @@
#define BROTLI_ENC_CLUSTER_H_
#include <math.h>
-#include <stdint.h>
#include <stdio.h>
#include <algorithm>
#include <complex>
@@ -31,6 +30,7 @@
#include "./entropy_encode.h"
#include "./fast_log.h"
#include "./histogram.h"
+#include "./types.h"
namespace brotli {
@@ -264,6 +264,7 @@ void ClusterHistograms(const std::vector
(*histogram_symbols)[i] = i;
}
+
const int max_input_histograms = 64;
for (int i = 0; i < in_size; i += max_input_histograms) {
int num_to_combine = std::min(in_size - i, max_input_histograms);
@@ -282,6 +283,7 @@ void ClusterHistograms(const std::vector
// Convert the context map to a canonical form.
HistogramReindex(out, histogram_symbols);
+
}
--- enc/command.h.orig 2015-09-01 13:04:54 UTC
+++ enc/command.h
@@ -17,9 +17,9 @@
#ifndef BROTLI_ENC_COMMAND_H_
#define BROTLI_ENC_COMMAND_H_
-#include <stdint.h>
#include "./fast_log.h"
#include "./prefix.h"
+#include "./types.h"
namespace brotli {
--- enc/context.h.orig 2015-09-01 13:04:54 UTC
+++ enc/context.h
@@ -17,7 +17,7 @@
#ifndef BROTLI_ENC_CONTEXT_H_
#define BROTLI_ENC_CONTEXT_H_
-#include <stdint.h>
+#include "./types.h"
namespace brotli {
--- enc/dictionary.h.orig 2015-09-01 13:04:54 UTC
+++ enc/dictionary.h
@@ -17,7 +17,7 @@
#ifndef BROTLI_ENC_DICTIONARY_H_
#define BROTLI_ENC_DICTIONARY_H_
-#include <stdint.h>
+#include "./types.h"
static const uint8_t kBrotliDictionary[] = {
0x74, 0x69, 0x6d, 0x65, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x69, 0x66, 0x65, 0x6c,
--- enc/dictionary_hash.h.orig 2015-09-01 13:04:54 UTC
+++ enc/dictionary_hash.h
@@ -17,7 +17,7 @@
#ifndef BROTLI_ENC_DICTIONARY_HASH_H_
#define BROTLI_ENC_DICTIONARY_HASH_H_
-#include <stdint.h>
+#include "./types.h"
namespace brotli {
--- enc/encode.cc.orig 2015-09-01 13:04:54 UTC
+++ enc/encode.cc
@@ -125,16 +125,18 @@ void RecomputeDistancePrefixes(Command*
uint8_t* BrotliCompressor::GetBrotliStorage(size_t size) {
if (storage_size_ < size) {
- storage_.reset(new uint8_t[size]);
+ delete[] storage_;
+ storage_ = new uint8_t[size];
storage_size_ = size;
}
- return &storage_[0];
+ return storage_;
}
BrotliCompressor::BrotliCompressor(BrotliParams params)
: params_(params),
hashers_(new Hashers()),
input_pos_(0),
+ literal_cost_(0),
num_commands_(0),
num_literals_(0),
last_insert_len_(0),
@@ -142,7 +144,8 @@ BrotliCompressor::BrotliCompressor(Brotl
last_processed_pos_(0),
prev_byte_(0),
prev_byte2_(0),
- storage_size_(0) {
+ storage_size_(0),
+ storage_(0) {
// Sanitize params.
params_.quality = std::max(1, params_.quality);
if (params_.lgwin < kMinWindowBits) {
@@ -169,15 +172,15 @@ BrotliCompressor::BrotliCompressor(Brotl
// read_block_size_bits + 1 bits because the copy tail length needs to be
// smaller than ringbuffer size.
int ringbuffer_bits = std::max(params_.lgwin + 1, params_.lgblock + 1);
- ringbuffer_.reset(new RingBuffer(ringbuffer_bits, params_.lgblock));
+ ringbuffer_ = new RingBuffer(ringbuffer_bits, params_.lgblock);
if (params_.quality > 9) {
literal_cost_mask_ = (1 << params_.lgblock) - 1;
- literal_cost_.reset(new float[literal_cost_mask_ + 1]);
+ literal_cost_ = new float[literal_cost_mask_ + 1];
}
// Allocate command buffer.
cmd_buffer_size_ = std::max(1 << 18, 1 << params_.lgblock);
- commands_.reset(new brotli::Command[cmd_buffer_size_]);
+ commands_ = new brotli::Command[cmd_buffer_size_];
// Initialize last byte with stream header.
if (params_.lgwin == 16) {
@@ -209,6 +212,11 @@ BrotliCompressor::BrotliCompressor(Brotl
}
BrotliCompressor::~BrotliCompressor() {
+ delete[] storage_;
+ delete[] literal_cost_;
+ delete[] commands_;
+ delete ringbuffer_;
+ delete hashers_;
}
void BrotliCompressor::CopyInputToRingBuffer(const size_t input_size,
@@ -292,23 +300,23 @@ bool BrotliCompressor::WriteBrotliData(c
params_.quality >= 9 &&
IsMostlyUTF8(&data[last_processed_pos_ & mask], bytes, kMinUTF8Ratio);
- if (literal_cost_.get()) {
+ if (literal_cost_) {
if (utf8_mode) {
EstimateBitCostsForLiteralsUTF8(last_processed_pos_, bytes, mask,
literal_cost_mask_, data,
- literal_cost_.get());
+ literal_cost_);
} else {
EstimateBitCostsForLiterals(last_processed_pos_, bytes, mask,
literal_cost_mask_,
- data, literal_cost_.get());
+ data, literal_cost_);
}
}
CreateBackwardReferences(bytes, last_processed_pos_, data, mask,
- literal_cost_.get(),
+ literal_cost_,
literal_cost_mask_,
max_backward_distance_,
params_.quality,
- hashers_.get(),
+ hashers_,
hash_type_,
dist_cache_,
&last_insert_len_,
@@ -487,14 +495,14 @@ bool BrotliCompressor::WriteMetaBlockInt
if (params_.quality > 9 && params_.mode == BrotliParams::MODE_FONT) {
num_direct_distance_codes = 12;
distance_postfix_bits = 1;
- RecomputeDistancePrefixes(commands_.get(),
+ RecomputeDistancePrefixes(commands_,
num_commands_,
num_direct_distance_codes,
distance_postfix_bits);
}
if (params_.quality < kMinQualityForBlockSplit) {
if (!StoreMetaBlockTrivial(data, last_flush_pos_, bytes, mask, is_last,
- commands_.get(), num_commands_,
+ commands_, num_commands_,
&storage_ix,
&storage[0])) {
return false;
@@ -512,7 +520,7 @@ bool BrotliCompressor::WriteMetaBlockInt
&literal_context_map);
if (literal_context_map == NULL) {
BuildMetaBlockGreedy(data, last_flush_pos_, mask,
- commands_.get(), num_commands_,
+ commands_, num_commands_,
&mb);
} else {
BuildMetaBlockGreedyWithContexts(data, last_flush_pos_, mask,
@@ -520,13 +528,13 @@ bool BrotliCompressor::WriteMetaBlockInt
literal_context_mode,
num_literal_contexts,
literal_context_map,
- commands_.get(), num_commands_,
+ commands_, num_commands_,
&mb);
}
} else {
BuildMetaBlock(data, last_flush_pos_, mask,
prev_byte_, prev_byte2_,
- commands_.get(), num_commands_,
+ commands_, num_commands_,
literal_context_mode,
&mb);
}
@@ -541,7 +549,7 @@ bool BrotliCompressor::WriteMetaBlockInt
num_direct_distance_codes,
distance_postfix_bits,
literal_context_mode,
- commands_.get(), num_commands_,
+ commands_, num_commands_,
mb,
&storage_ix,
&storage[0])) {
@@ -684,7 +692,7 @@ bool BrotliInIsFinished(BrotliIn* r) {
}
int BrotliCompress(BrotliParams params, BrotliIn* in, BrotliOut* out) {
- return BrotliCompressWithCustomDictionary(0, nullptr, params, in, out);
+ return BrotliCompressWithCustomDictionary(0, 0, params, in, out);
}
int BrotliCompressWithCustomDictionary(size_t dictsize, const uint8_t* dict,
--- enc/encode.h.orig 2015-09-01 13:04:54 UTC
+++ enc/encode.h
@@ -17,8 +17,6 @@
#ifndef BROTLI_ENC_ENCODE_H_
#define BROTLI_ENC_ENCODE_H_
-#include <stddef.h>
-#include <stdint.h>
#include <string>
#include <vector>
#include "./command.h"
@@ -26,6 +24,7 @@
#include "./ringbuffer.h"
#include "./static_dict.h"
#include "./streams.h"
+#include "./types.h"
namespace brotli {
@@ -149,14 +148,14 @@ class BrotliCompressor {
BrotliParams params_;
int max_backward_distance_;
- std::unique_ptr<Hashers> hashers_;
+ Hashers* hashers_;
int hash_type_;
size_t input_pos_;
- std::unique_ptr<RingBuffer> ringbuffer_;
- std::unique_ptr<float[]> literal_cost_;
+ RingBuffer* ringbuffer_;
+ float* literal_cost_;
size_t literal_cost_mask_;
size_t cmd_buffer_size_;
- std::unique_ptr<Command[]> commands_;
+ Command* commands_;
int num_commands_;
int num_literals_;
int last_insert_len_;
@@ -169,7 +168,7 @@ class BrotliCompressor {
uint8_t prev_byte_;
uint8_t prev_byte2_;
int storage_size_;
- std::unique_ptr<uint8_t[]> storage_;
+ uint8_t* storage_;
};
// Compresses the data in input_buffer into encoded_buffer, and sets
--- enc/encode_parallel.cc.orig 2015-09-01 13:04:54 UTC
+++ enc/encode_parallel.cc
@@ -167,7 +167,7 @@ bool WriteMetaBlockParallel(const Brotli
// Initialize hashers.
int hash_type = std::min(9, params.quality);
- std::unique_ptr<Hashers> hashers(new Hashers());
+ Hashers* hashers = new Hashers();
hashers->Init(hash_type);
// Compute backward references.
@@ -183,13 +183,14 @@ bool WriteMetaBlockParallel(const Brotli
&literal_cost[0], mask,
max_backward_distance,
params.quality,
- hashers.get(),
+ hashers,
hash_type,
dist_cache,
&last_insert_len,
&commands[0],
&num_commands,
&num_literals);
+ delete hashers;
commands.resize(num_commands);
if (last_insert_len > 0) {
commands.push_back(Command(last_insert_len));
--- enc/encode_parallel.h.orig 2015-09-01 13:04:54 UTC
+++ enc/encode_parallel.h
@@ -19,10 +19,9 @@
#ifndef BROTLI_ENC_ENCODE_PARALLEL_H_
#define BROTLI_ENC_ENCODE_PARALLEL_H_
-#include <stddef.h>
-#include <stdint.h>
#include "./encode.h"
+#include "./types.h"
namespace brotli {
--- enc/entropy_encode.cc.orig 2015-09-01 13:04:54 UTC
+++ enc/entropy_encode.cc
@@ -16,13 +16,13 @@
#include "./entropy_encode.h"
-#include <stdint.h>
#include <algorithm>
#include <limits>
#include <vector>
#include <cstdlib>
#include "./histogram.h"
+#include "./types.h"
namespace brotli {
--- enc/entropy_encode.h.orig 2015-09-01 13:04:54 UTC
+++ enc/entropy_encode.h
@@ -17,11 +17,11 @@
#ifndef BROTLI_ENC_ENTROPY_ENCODE_H_
#define BROTLI_ENC_ENTROPY_ENCODE_H_
-#include <stdint.h>
#include <string.h>
#include <vector>
#include "./histogram.h"
#include "./prefix.h"
+#include "./types.h"
namespace brotli {
--- enc/fast_log.h.orig 2015-09-01 13:04:54 UTC
+++ enc/fast_log.h
@@ -19,7 +19,8 @@
#include <assert.h>
#include <math.h>
-#include <stdint.h>
+
+#include "./types.h"
namespace brotli {
--- enc/find_match_length.h.orig 2015-09-01 13:04:54 UTC
+++ enc/find_match_length.h
@@ -17,11 +17,9 @@
#ifndef BROTLI_ENC_FIND_MATCH_LENGTH_H_
#define BROTLI_ENC_FIND_MATCH_LENGTH_H_
-#include <stdint.h>
-
-#include <stddef.h>
#include "./port.h"
+#include "./types.h"
namespace brotli {
--- enc/hash.h.orig 2015-09-01 13:04:54 UTC
+++ enc/hash.h
@@ -18,8 +18,6 @@
#ifndef BROTLI_ENC_HASH_H_
#define BROTLI_ENC_HASH_H_
-#include <stddef.h>
-#include <stdint.h>
#include <string.h>
#include <sys/types.h>
#include <algorithm>
@@ -34,6 +32,7 @@
#include "./prefix.h"
#include "./static_dict.h"
#include "./transform.h"
+#include "./types.h"
namespace brotli {
@@ -631,17 +630,32 @@ struct Hashers {
typedef HashLongestMatch<15, 7, 10> H8;
typedef HashLongestMatch<15, 8, 16> H9;
+ Hashers() : hash_h1(0), hash_h2(0), hash_h3(0), hash_h4(0), hash_h5(0),
+ hash_h6(0), hash_h7(0), hash_h8(0), hash_h9(0) {}
+
+ ~Hashers() {
+ delete hash_h1;
+ delete hash_h2;
+ delete hash_h3;
+ delete hash_h4;
+ delete hash_h5;
+ delete hash_h6;
+ delete hash_h7;
+ delete hash_h8;
+ delete hash_h9;
+ }
+
void Init(int type) {
switch (type) {
- case 1: hash_h1.reset(new H1); break;
- case 2: hash_h2.reset(new H2); break;
- case 3: hash_h3.reset(new H3); break;
- case 4: hash_h4.reset(new H4); break;
- case 5: hash_h5.reset(new H5); break;
- case 6: hash_h6.reset(new H6); break;
- case 7: hash_h7.reset(new H7); break;
- case 8: hash_h8.reset(new H8); break;
- case 9: hash_h9.reset(new H9); break;
+ case 1: hash_h1 = new H1; break;
+ case 2: hash_h2 = new H2; break;
+ case 3: hash_h3 = new H3; break;
+ case 4: hash_h4 = new H4; break;
+ case 5: hash_h5 = new H5; break;
+ case 6: hash_h6 = new H6; break;
+ case 7: hash_h7 = new H7; break;
+ case 8: hash_h8 = new H8; break;
+ case 9: hash_h9 = new H9; break;
default: break;
}
}
@@ -657,28 +671,28 @@ struct Hashers {
void PrependCustomDictionary(
int type, const size_t size, const uint8_t* dict) {
switch (type) {
- case 1: WarmupHash(size, dict, hash_h1.get()); break;
- case 2: WarmupHash(size, dict, hash_h2.get()); break;
- case 3: WarmupHash(size, dict, hash_h3.get()); break;
- case 4: WarmupHash(size, dict, hash_h4.get()); break;
- case 5: WarmupHash(size, dict, hash_h5.get()); break;
- case 6: WarmupHash(size, dict, hash_h6.get()); break;
- case 7: WarmupHash(size, dict, hash_h7.get()); break;
- case 8: WarmupHash(size, dict, hash_h8.get()); break;
- case 9: WarmupHash(size, dict, hash_h9.get()); break;
+ case 1: WarmupHash(size, dict, hash_h1); break;
+ case 2: WarmupHash(size, dict, hash_h2); break;
+ case 3: WarmupHash(size, dict, hash_h3); break;
+ case 4: WarmupHash(size, dict, hash_h4); break;
+ case 5: WarmupHash(size, dict, hash_h5); break;
+ case 6: WarmupHash(size, dict, hash_h6); break;
+ case 7: WarmupHash(size, dict, hash_h7); break;
+ case 8: WarmupHash(size, dict, hash_h8); break;
+ case 9: WarmupHash(size, dict, hash_h9); break;
default: break;
}
}
- std::unique_ptr<H1> hash_h1;
- std::unique_ptr<H2> hash_h2;
- std::unique_ptr<H3> hash_h3;
- std::unique_ptr<H4> hash_h4;
- std::unique_ptr<H5> hash_h5;
- std::unique_ptr<H6> hash_h6;
- std::unique_ptr<H7> hash_h7;
- std::unique_ptr<H8> hash_h8;
- std::unique_ptr<H9> hash_h9;
+ H1* hash_h1;
+ H2* hash_h2;
+ H3* hash_h3;
+ H4* hash_h4;
+ H5* hash_h5;
+ H6* hash_h6;
+ H7* hash_h7;
+ H8* hash_h8;
+ H9* hash_h9;
};
} // namespace brotli
--- enc/histogram.cc.orig 2015-09-01 13:04:54 UTC
+++ enc/histogram.cc
@@ -16,7 +16,6 @@
#include "./histogram.h"
-#include <stdint.h>
#include <cmath>
#include "./block_splitter.h"
--- enc/histogram.h.orig 2015-09-01 13:04:54 UTC
+++ enc/histogram.h
@@ -17,13 +17,13 @@
#ifndef BROTLI_ENC_HISTOGRAM_H_
#define BROTLI_ENC_HISTOGRAM_H_
-#include <stdint.h>
#include <string.h>
#include <vector>
#include <utility>
#include "./command.h"
#include "./fast_log.h"
#include "./prefix.h"
+#include "./types.h"
namespace brotli {
--- enc/literal_cost.cc.orig 2015-09-01 13:04:54 UTC
+++ enc/literal_cost.cc
@@ -17,10 +17,10 @@
#include "./literal_cost.h"
#include <math.h>
-#include <stdint.h>
#include <algorithm>
#include "./fast_log.h"
+#include "./types.h"
namespace brotli {
--- enc/literal_cost.h.orig 2015-09-01 13:04:54 UTC
+++ enc/literal_cost.h
@@ -17,8 +17,7 @@
#ifndef BROTLI_ENC_LITERAL_COST_H_
#define BROTLI_ENC_LITERAL_COST_H_
-#include <stddef.h>
-#include <stdint.h>
+#include "./types.h"
namespace brotli {
--- enc/port.h.orig 2015-09-01 13:04:54 UTC
+++ enc/port.h
@@ -18,6 +18,7 @@
#define BROTLI_ENC_PORT_H_
#include <string.h>
+#include "./types.h"
#if defined OS_LINUX || defined OS_CYGWIN
#include <endian.h>
--- enc/prefix.h.orig 2015-09-01 13:04:54 UTC
+++ enc/prefix.h
@@ -18,8 +18,8 @@
#ifndef BROTLI_ENC_PREFIX_H_
#define BROTLI_ENC_PREFIX_H_
-#include <stdint.h>
#include "./fast_log.h"
+#include "./types.h"
namespace brotli {
--- enc/ringbuffer.h.orig 2015-09-01 13:04:54 UTC
+++ enc/ringbuffer.h
@@ -17,10 +17,9 @@
#ifndef BROTLI_ENC_RINGBUFFER_H_
#define BROTLI_ENC_RINGBUFFER_H_
-#include <stddef.h>
-#include <stdint.h>
#include "./port.h"
+#include "./types.h"
namespace brotli {
--- enc/static_dict.h.orig 2015-09-01 13:04:54 UTC
+++ enc/static_dict.h
@@ -17,7 +17,7 @@
#ifndef BROTLI_ENC_STATIC_DICT_H_
#define BROTLI_ENC_STATIC_DICT_H_
-#include <stdint.h>
+#include "./types.h"
namespace brotli {
--- enc/static_dict_lut.h.orig 2015-09-01 13:04:54 UTC
+++ enc/static_dict_lut.h
@@ -17,7 +17,7 @@
#ifndef BROTLI_ENC_DICTIONARY_LUT_H_
#define BROTLI_ENC_DICTIONARY_LUT_H_
-#include <stdint.h>
+#include "./types.h"
namespace brotli {
--- enc/streams.h.orig 2015-09-01 13:04:54 UTC
+++ enc/streams.h
@@ -17,9 +17,10 @@
#ifndef BROTLI_ENC_STREAMS_H_
#define BROTLI_ENC_STREAMS_H_
-#include <stddef.h>
#include <stdio.h>
#include <string>
+#include "./port.h"
+#include "./types.h"
namespace brotli {
@@ -56,7 +57,7 @@ class BrotliMemIn : public BrotliIn {
// returns the amount of data consumed
int position() const { return pos_; }
- const void* Read(size_t n, size_t* OUTPUT) override;
+ const void* Read(size_t n, size_t* OUTPUT);
private:
const void* buf_; // start of input buffer
@@ -74,7 +75,7 @@ class BrotliMemOut : public BrotliOut {
// returns the amount of data written
int position() const { return pos_; }
- bool Write(const void* buf, size_t n) override;
+ bool Write(const void* buf, size_t n);
private:
void* buf_; // start of output buffer
@@ -92,7 +93,7 @@ class BrotliStringOut : public BrotliOut
void Reset(std::string* buf, int max_len);
- bool Write(const void* buf, size_t n) override;
+ bool Write(const void* buf, size_t n);
private:
std::string* buf_; // start of output buffer
@@ -105,7 +106,7 @@ class BrotliFileIn : public BrotliIn {
BrotliFileIn(FILE* f, size_t max_read_size);
~BrotliFileIn();
- const void* Read(size_t n, size_t* bytes_read) override;
+ const void* Read(size_t n, size_t* bytes_read);
private:
FILE* f_;
@@ -118,7 +119,7 @@ class BrotliFileOut : public BrotliOut {
public:
explicit BrotliFileOut(FILE* f);
- bool Write(const void* buf, size_t n) override;
+ bool Write(const void* buf, size_t n);
private:
FILE* f_;
};
--- enc/types.h.orig 2015-10-04 15:45:23 UTC
+++ enc/types.h
@@ -0,0 +1,36 @@
+/* Copyright 2013 Google Inc. All Rights Reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+/* Common types */
+
+#ifndef BROTLI_ENC_TYPES_H_
+#define BROTLI_ENC_TYPES_H_
+
+#include <stddef.h> /* for size_t */
+
+#if defined(_MSC_VER) && (_MSC_VER < 1600)
+typedef signed char int8_t;
+typedef unsigned char uint8_t;
+typedef signed short int16_t;
+typedef unsigned short uint16_t;
+typedef signed int int32_t;
+typedef unsigned int uint32_t;
+typedef unsigned long long int uint64_t;
+typedef long long int int64_t;
+#else
+#include <stdint.h>
+#endif /* defined(_MSC_VER) && (_MSC_VER < 1600) */
+
+#endif /* BROTLI_ENC_TYPES_H_ */
--- enc/write_bits.h.orig 2015-09-01 13:04:54 UTC
+++ enc/write_bits.h
@@ -18,10 +18,10 @@
#define BROTLI_ENC_WRITE_BITS_H_
#include <assert.h>
-#include <stdint.h>
#include <stdio.h>
#include "./port.h"
+#include "./types.h"
namespace brotli {
--- setup.py.orig 2015-09-01 13:04:54 UTC
+++ setup.py
@@ -175,6 +175,7 @@ brotli = Extension("brotli",
"enc/static_dict_lut.h",
"enc/streams.h",
"enc/transform.h",
+ "enc/types.h",
"enc/write_bits.h",
"dec/bit_reader.h",
"dec/context.h",

View File

@ -10,7 +10,7 @@ MASTER_SITES= http://www.rkeene.org/files/oss/dact/release/
MAINTAINER= ports@FreeBSD.org
COMMENT= Dynamic Adaptive Compression Tool
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libmcrypt.so:${PORTSDIR}/security/libmcrypt \

View File

@ -10,7 +10,7 @@ MASTER_SITES= SUNSITE/utils/compress
MAINTAINER= ports@FreeBSD.org
COMMENT= Extract/decompress CP/M LBR archives
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
MAKE_ARGS= CC="${CC}" CFLAGS="${CPPFLAGS} ${CFLAGS} ${LDFLAGS}"

View File

@ -10,7 +10,7 @@ MASTER_SITES= SUNSITE/system/backup
MAINTAINER= ports@FreeBSD.org
COMMENT= Unix reader for the Microsoft Tape Format used by NT Backup
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= tar:tgz

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= Archive-Zip
PORTVERSION= 1.55
PORTVERSION= 1.56
CATEGORIES= archivers perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-

View File

@ -1,2 +1,2 @@
SHA256 (Archive-Zip-1.55.tar.gz) = ce36f93a636c0041503cdfedad67ca087f84101e71ab3415d172150ad5d23707
SIZE (Archive-Zip-1.55.tar.gz) = 189966
SHA256 (Archive-Zip-1.56.tar.gz) = 109f3ccaee5bc963144f700e96206c248dd83f855dffc9b796a76518c36400f8
SIZE (Archive-Zip-1.56.tar.gz) = 190124

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= Compress-Bzip2
PORTVERSION= 2.22
PORTVERSION= 2.24
CATEGORIES= archivers perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-

View File

@ -1,2 +1,2 @@
SHA256 (Compress-Bzip2-2.22.tar.gz) = 1603e284e07953415b8eaa132698db8b03f46383f883c0902926f36eecb7e895
SIZE (Compress-Bzip2-2.22.tar.gz) = 893952
SHA256 (Compress-Bzip2-2.24.tar.gz) = 7956ac627fb373fae6effede3d21b3157122800224491b124afdd7bb426c8c3f
SIZE (Compress-Bzip2-2.24.tar.gz) = 886898

View File

@ -10,7 +10,7 @@ MASTER_SITES= http://www.oberhumer.com/opensource/ucl/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Data compression library with low memory usage
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
CONFLICTS_INSTALL= libucl

View File

@ -10,9 +10,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Tool for decompressing Amiga DMS files
LICENSE= PD
LICENSE_NAME= Public Domain
LICENSE_FILE= ${WRKSRC}/COPYING
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= tar:bzip2
HAS_CONFIGURE= yes

View File

@ -11,7 +11,7 @@ MASTER_SITES= http://vesuri.jormas.com/xpk/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= The eXternal PacKer (XPK) library system
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= libtool

View File

@ -9,7 +9,7 @@ CATEGORIES= astro geography
MAINTAINER= ports@FreeBSD.org
COMMENT= Correlate digital camera photos with GPS data in GPX format
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libexiv2.so:${PORTSDIR}/graphics/exiv2 \

View File

@ -11,7 +11,7 @@ MASTER_SITES= http://www.gpsdrive.de/packages/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= GPS navigation system
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre

View File

@ -13,7 +13,7 @@ EXTRACT_ONLY= # empty
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Comprehensive editor for OpenStreetMap.org database
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
NO_WRKSUBDIR= yes

View File

@ -9,7 +9,7 @@ CATEGORIES= astro geography devel
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Library for handling binary OpenStreetMap data
LICENSE= LGPL3 # or later
LICENSE= LGPL3+
LICENSE_FILE= ${WRKSRC}/COPYING.osmpbf
LIB_DEPENDS= libprotobuf.so:${PORTSDIR}/devel/protobuf

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= Astro-SIMBAD-Client
PORTVERSION= 0.033
PORTVERSION= 0.034
CATEGORIES= astro perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-

View File

@ -1,2 +1,2 @@
SHA256 (Astro-SIMBAD-Client-0.033.tar.gz) = f72672ee7655b8c4af7992ab1d587bad0e208884e5fe7aa947c21da0e6d9b3ae
SIZE (Astro-SIMBAD-Client-0.033.tar.gz) = 62279
SHA256 (Astro-SIMBAD-Client-0.034.tar.gz) = 7cf0aa746d4f2684f51990575c1ae6cca158b7dd7f93bd874bfb2431b80996a7
SIZE (Astro-SIMBAD-Client-0.034.tar.gz) = 62651

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= Astro-satpass
PORTVERSION= 0.070
PORTVERSION= 0.071
CATEGORIES= astro perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-

View File

@ -1,2 +1,2 @@
SHA256 (Astro-satpass-0.070.tar.gz) = c9e14ebff23b9fa09a495d5896810dfbd33c0d7c372cd1cc0489b4776d9d5017
SIZE (Astro-satpass-0.070.tar.gz) = 523019
SHA256 (Astro-satpass-0.071.tar.gz) = 577c7923cd5acab25e485e371ecda31fd62dc28bc31c1b9a3d5b4892e616f70b
SIZE (Astro-satpass-0.071.tar.gz) = 523709

View File

@ -11,7 +11,7 @@ MASTER_SITES= GENTOO \
MAINTAINER= ports@FreeBSD.org
COMMENT= Orbital simulator
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake tar:tgz

View File

@ -10,7 +10,7 @@ MASTER_SITES= http://rmap.sourceforge.net/
MAINTAINER= ports@FreeBSD.org
COMMENT= Generates images of the Earth centered at a particular location
LICENSE= GPLv2 # (or later)
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd

View File

@ -11,7 +11,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
COMMENT= Vector-based GPS moving map
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2

View File

@ -10,7 +10,7 @@ MASTER_SITES= ALSA/lib \
MAINTAINER= jbeich@FreeBSD.org
COMMENT= ALSA compatibility library
LICENSE= LGPL21 # or any later version
LICENSE= LGPL21+
USES= cpe libtool:keepla tar:bzip2
USE_LDCONFIG= yes

View File

@ -10,7 +10,7 @@ MASTER_SITES= ALSA/plugins \
MAINTAINER= jbeich@FreeBSD.org
COMMENT= ALSA compatibility library plugins
LICENSE= LGPL21 # or any later version
LICENSE= LGPL21+
LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib

View File

@ -10,7 +10,7 @@ MASTER_SITES= ALSA/utils \
MAINTAINER= jbeich@FreeBSD.org
COMMENT= ALSA compatibility utils
LICENSE= GPLv2 # or any later version
LICENSE= GPLv2+
LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib
RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:${PORTSDIR}/audio/alsa-plugins

View File

@ -9,7 +9,7 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Music player with rich features
LICENSE= GPLv2 # (or later)
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac \

View File

@ -10,7 +10,7 @@ MASTER_SITES= SF/ario-player/ario-player/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Ario is a GTK2 client for MPD
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls \

View File

@ -9,7 +9,7 @@ MASTER_SITES= GHC
MAINTAINER= ports@FreeBSD.org
COMMENT= Command-line tool for mass tagging/renaming of audio files
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USE_GITHUB= yes

View File

@ -11,7 +11,7 @@ DISTNAME= cdplayer-${CDPLAYER_VERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= CDDB client bundle GNUstep
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= tar:bzip2 gnustep

View File

@ -10,7 +10,7 @@ MASTER_SITES= BERLIOS
MAINTAINER= ports@FreeBSD.org
COMMENT= Utilities for working with CUE and TOC files
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake

View File

@ -10,7 +10,7 @@ MASTER_SITES= http://www.puchalla-online.de/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Small and fast command line MP3 editor
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= tar:bzip2 readline

View File

@ -10,7 +10,7 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= IceCast, IceCast2, and ShoutCast live audio streamer
LICENSE= GPLv3 # or later
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= autoreconf

View File

@ -10,7 +10,7 @@ MASTER_SITES= http://jak-linux.org/projects/dir2ogg/${PORTVERSION:R}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Command-line {wav,mp3,m4a} to ogg converter
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= faad:${PORTSDIR}/audio/faad \

View File

@ -10,7 +10,7 @@ MASTER_SITES= http://www.coppercloudmusic.com/enscribe/
MAINTAINER= ports@FreeBSD.org
COMMENT= Create digital audio watermark images from photographic images
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile \

View File

@ -10,7 +10,7 @@ MASTER_SITES= http://download.linuxsampler.org/packages/
MAINTAINER= ports@FreeBSD.org
COMMENT= Instrument editor for gig files
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser

View File

@ -10,7 +10,7 @@ MASTER_SITES= http://download.gna.org/gmidimonitor/
MAINTAINER= ports@FreeBSD.org
COMMENT= GTK+ application that shows MIDI events
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack \

View File

@ -10,7 +10,7 @@ MASTER_SITES= http://download.sarine.nl/Programs/gmpc/${PORTVERSION}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Alarm plugin for gmpc
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmpd.so:${PORTSDIR}/audio/libmpd

View File

@ -11,7 +11,7 @@ MASTER_SITES= http://download.sarine.nl/Programs/gmpc/${PORTVERSION}/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Album Image fetcher for gmpc
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmpd.so:${PORTSDIR}/audio/libmpd

View File

@ -11,7 +11,7 @@ MASTER_SITES= http://download.sarine.nl/Programs/gmpc/${PORTVERSION}/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Favorites plugin for gmpc
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmpd.so:${PORTSDIR}/audio/libmpd

View File

@ -12,7 +12,7 @@ DISTNAME= gmpc-last-fm-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Last.FM metadata fetcher plugin for gmpc
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmpd.so:${PORTSDIR}/audio/libmpd

View File

@ -10,7 +10,7 @@ MASTER_SITES= http://download.sarine.nl/Programs/gmpc/${PORTVERSION}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Libnotify for gmpc
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmpd.so:${PORTSDIR}/audio/libmpd \

View File

@ -10,7 +10,7 @@ MASTER_SITES= http://download.sarine.nl/Programs/gmpc/${PORTVERSION}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Lyrics Provider plugin for gmpc
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmpd.so:${PORTSDIR}/audio/libmpd

View File

@ -11,7 +11,7 @@ MASTER_SITES= http://download.sarine.nl/Programs/gmpc/${PORTVERSION}/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Fetch lyrics gmpc plugin
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LIB_DEPENDS= libmpd.so:${PORTSDIR}/audio/libmpd
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gmpc.pc:${PORTSDIR}/audio/gmpc

View File

@ -10,7 +10,7 @@ MASTER_SITES= http://download.sarine.nl/Programs/gmpc/${PORTVERSION}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Lyricswiki Provider plugin for gmpc
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmpd.so:${PORTSDIR}/audio/libmpd

View File

@ -10,7 +10,7 @@ MASTER_SITES= http://download.sarine.nl/Programs/gmpc/${PORTVERSION}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Magnatune plugin lets you preview music from Magnatune
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmpd.so:${PORTSDIR}/audio/libmpd \

View File

@ -11,7 +11,7 @@ MASTER_SITES= http://download.sarine.nl/Programs/gmpc/${PORTVERSION}/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Collects metadata for gmpc
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmpd.so:${PORTSDIR}/audio/libmpd

View File

@ -11,7 +11,7 @@ MASTER_SITES= http://download.sarine.nl/Programs/gmpc/${PORTVERSION}/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Lets you stream music files to your mpd that are not in your database
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmpd.so:${PORTSDIR}/audio/libmpd \

View File

@ -11,7 +11,7 @@ MASTER_SITES= http://download.sarine.nl/Programs/gmpc/${PORTVERSION}/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Shoutcast stream for gmpc
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmpd.so:${PORTSDIR}/audio/libmpd \

View File

@ -10,7 +10,7 @@ MASTER_SITES= http://download.sarine.nl/Programs/gmpc/${PORTVERSION}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Wikipedia info for gmpc
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmpd.so:${PORTSDIR}/audio/libmpd \

View File

@ -11,7 +11,7 @@ MASTER_SITES= SAVANNAH \
MAINTAINER= ports@FreeBSD.org
COMMENT= Set of Perl scripts for using an Apple iPod
LICENSE= GPLv3 # or later
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= p5-MP3-Info>=0:${PORTSDIR}/audio/p5-MP3-Info \

View File

@ -9,7 +9,7 @@ MASTER_SITES= GNU/gnuspeech
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Command line, or application-based speech output module of gnuspeech
LICENSE= GPLv3 # or later
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_FreeBSD_9= does not build

View File

@ -10,7 +10,7 @@ PKGNAMEPREFIX= gnustep-
MAINTAINER= ports@FreeBSD.org
COMMENT= GNUstep CD player with CDDB support
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcdaudio.so:${PORTSDIR}/audio/libcdaudio \

View File

@ -8,7 +8,7 @@ CATEGORIES= audio
MAINTAINER= ports@FreeBSD.org
COMMENT= Music collection manager and player
LICENSE= GPLv3 # or later
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libtag.so:${PORTSDIR}/audio/taglib \

View File

@ -12,7 +12,7 @@ MASTER_SITES= GENTOO \
MAINTAINER= ports@FreeBSD.org
COMMENT= Guitar (and other instruments) tuner for GTK+2
LICENSE= GPLv2 # (or later)
LICENSE= GPLv2+
WRKSRC= ${WRKDIR}/${PORTNAME}

View File

@ -9,7 +9,7 @@ MASTER_SITES= SF/dssi/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= DSSI softsynth that models the sound generation of a Yamaha DX7
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libdssialsacompat.so:${PORTSDIR}/audio/libdssialsacompat \

View File

@ -10,7 +10,7 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}/${PORTVERSION:R}
MAINTAINER= ports@FreeBSD.org
COMMENT= Curses-based MP3 player
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libsmpeg.so:${PORTSDIR}/multimedia/smpeg

View File

@ -9,7 +9,7 @@ DISTNAME= game-music-emu-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Collection of video game music emulators
LICENSE= LGPL21 # or later
LICENSE= LGPL21+
USES= cmake dos2unix ninja tar:bzip2
USE_LDCONFIG= yes

View File

@ -10,7 +10,7 @@ MASTER_SITES= SF/qsampler/${PORTNAME}/${PORTVERSION} \
MAINTAINER= ports@FreeBSD.org
COMMENT= Wrapper around the LSCP network protocol
LICENSE= LGPL21 # (or later)
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= libtool pathfix tar:bzip2

View File

@ -10,7 +10,7 @@ MASTER_SITES= http://download.sarine.nl/Programs/gmpc/${PORTVERSION:R}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Abstraction around libmpdclient
LICENSE= GPLv2 # (or later)
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= libtool pathfix pkgconfig

View File

@ -11,7 +11,7 @@ DISTNAME= ${PORTNAME}-1999-06-20
MAINTAINER= ports@FreeBSD.org
COMMENT= Workman library required by some audio apps
LICENSE= LGPL20 # or later
LICENSE= LGPL20+
LICENSE_FILE= ${WRKSRC}/COPYING.LIB
USES= imake

View File

@ -10,7 +10,7 @@ DISTNAME= ${PORTNAME}${PORTVERSION:S/./_/}
MAINTAINER= ports@FreeBSD.org
COMMENT= MPEG audio player/decoder decoding layer I and II MPEG audio streams
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
NO_WRKSUBDIR= yes

View File

@ -10,7 +10,7 @@ MASTER_SITES= http://download.gna.org/mhwaveedit/
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphical program for editing sound files
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= pathfix pkgconfig tar:bzip2

View File

@ -11,7 +11,7 @@ MASTER_SITES= http://downloads.mixxx.org/${PORTNAME}-${PORTVERSION}/
MAINTAINER= ports@FreeBSD.org
COMMENT= DJ mixing application
LICENSE= GPLv2 # (or later)
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac \

View File

@ -9,7 +9,7 @@ MASTER_SITES= http://ftp.daper.net/pub/soft/moc/stable/
MAINTAINER= rzinkov@gmail.com
COMMENT= Console audio player designed to be powerful and easy to use
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl

View File

@ -10,7 +10,7 @@ MASTER_SITES= http://www.linuxsecure.de/f2html/
MAINTAINER= ports@FreeBSD.org
COMMENT= Mp3riot creates mp3 playlists, HTML files, etc
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= p5-MP3-Info>=0:${PORTSDIR}/audio/p5-MP3-Info

View File

@ -10,7 +10,7 @@ DISTNAME= ${PORTNAME}_src_r475
MAINTAINER= shoesoft@gmx.net
COMMENT= Decoder, encoder, and replaygain for musepack (mpc)
LICENSE= BSD3CLAUSE GPLv2 LGPL21 #or later for the (L)GPL'ed part
LICENSE= BSD3CLAUSE GPLv2+ LGPL21+
LICENSE_COMB= multi
USES= autoreconf libtool

View File

@ -2,9 +2,8 @@
# $FreeBSD$
PORTNAME= mythmusic
PORTVERSION= 0.27
PORTVERSION= 0.27.5
DISTVERSIONPREFIX= v
PORTREVISION= 3
CATEGORIES= audio
PKGNAMEPREFIX= mythplugin-

View File

@ -1,2 +1,2 @@
SHA256 (MythTV-mythtv-v0.27_GH0.tar.gz) = 494ebd7ee384e751c05ee0a1b3dcd3618caf72f1e94810381c09c2b5d1c799f0
SIZE (MythTV-mythtv-v0.27_GH0.tar.gz) = 85904162
SHA256 (MythTV-mythtv-v0.27.5_GH0.tar.gz) = 7e625f94332effeadfba8e7ae7c98d44a83bfc25b7c59e39adce67dc2f4e1e1b
SIZE (MythTV-mythtv-v0.27.5_GH0.tar.gz) = 85652939

View File

@ -1,6 +1,6 @@
--- configure.orig 2013-09-18 20:06:08.000000000 +0000
+++ configure 2013-10-16 15:21:39.000000000 +0000
@@ -227,6 +227,10 @@
--- configure.orig 2015-06-16 16:03:30 UTC
+++ configure
@@ -227,6 +227,10 @@ add_cxxflags(){
append ECXXFLAGS "$@"
}
@ -11,7 +11,7 @@
check_cxx(){
log check_cxx "$@"
cat > $TMPCXX
@@ -561,6 +565,10 @@
@@ -561,6 +565,10 @@ OPENGLV=$(cat mythconfig.mak | grep -e "
EXTRALIBS=$(cat mythconfig.mak | grep -e "^EXTRALIBS=")
EXTRALIBS=${EXTRALIBS#EXTRALIBS=}
@ -19,10 +19,10 @@
+add_cxxflags "-I${prefix}/include"
+add_ldflags "-L${prefix}/lib"
+
if ! is_qmake5 $qmake ; then
if ! is_qmake4 $qmake; then
is_qmake4 qmake-qt4 && qmake=qmake-qt4 || die "qmake for Qt4.8 or newer not found.\nPlease specify the correct qmake with --qmake="
@@ -653,6 +661,7 @@
if is_qmake4 $qmake || is_qmake4 qmake-qt4; then
if is_qmake4 qmake-qt4; then
qmake=qmake-qt4
@@ -657,6 +665,7 @@ if enabled music ; then
echo "MythMusic requires FLAC."
fi

View File

@ -9,7 +9,7 @@ MASTER_SITES= http://www.musicpd.org/download/ncmpc/0/
MAINTAINER= henrik@affekt.org
COMMENT= Ncurses client for the musicpd
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmpdclient.so:${PORTSDIR}/audio/libmpdclient

View File

@ -9,7 +9,7 @@ CATEGORIES= audio
MAINTAINER= ports@FreeBSD.org
COMMENT= DSSI plugin that emulates the sound of the TB-303 Bassline
LICENSE= GPLv2 # (or later)
LICENSE= GPLv2+
BUILD_DEPENDS= ${LOCALBASE}/include/dssi.h:${PORTSDIR}/audio/dssi
LIB_DEPENDS= libdssialsacompat.so:${PORTSDIR}/audio/libdssialsacompat \

View File

@ -10,7 +10,7 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Perl Audio Converter
LICENSE= GPLv3 # (or later)
LICENSE= GPLv3+
RUN_DEPENDS= p5-Audio-FLAC-Header>0:${PORTSDIR}/audio/p5-Audio-FLAC-Header \
p5-Audio-Scan>0:${PORTSDIR}/audio/p5-Audio-Scan \

View File

@ -11,7 +11,7 @@ MASTER_SITES= http://download.drobilla.net/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Modular patch bay for Jack
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack \

View File

@ -12,7 +12,7 @@ DISTNAME= py${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python karaoke application (Plays CD+G, MP3+G, OGG+G files)
LICENSE= LGPL21 # (or later)
LICENSE= LGPL21+
BUILD_DEPENDS= ${PYGAME}
LIB_DEPENDS= libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs \

View File

@ -10,7 +10,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python module that provides the MPEG Audio Decoder interface
LICENSE= LGPL20 # or later
LICENSE= LGPL20+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmad.so:${PORTSDIR}/audio/libmad

View File

@ -10,7 +10,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Fork of the Python MPD client library
LICENSE= LGPL3 # or later
LICENSE= LGPL3+
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USE_GITHUB= yes

View File

@ -13,7 +13,7 @@ DIST_SUBDIR= python
MAINTAINER= acm@FreeBSD.org
COMMENT= PyOpenAL is a binding of OpenAL for Python
LICENSE= LGPL21 # or later
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/LICENSE
OPTIONS_DEFINE= DOCS EXAMPLES

View File

@ -10,7 +10,7 @@ MASTER_SITES= SF \
MAINTAINER= ports@FreeBSD.org
COMMENT= Qt-based front end to LinuxSampler
LICENSE= GPLv2 # (or later)
LICENSE= GPLv2+
LIB_DEPENDS= libgig.so:${PORTSDIR}/audio/libgig \
liblscp.so:${PORTSDIR}/audio/liblscp

View File

@ -9,7 +9,7 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Qt fluidsynth front-end application
LICENSE= GPLv2 # (or later)
LICENSE= GPLv2+
#LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfluidsynth.so:${PORTSDIR}/audio/fluidsynth

View File

@ -10,7 +10,7 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}_src
MAINTAINER= ports@FreeBSD.org
COMMENT= Qt4 client for MPD (the Music Player Daemon)
LICENSE= GPLv2 # (or later)
LICENSE= GPLv2+
LIB_DEPENDS= libmpdclient.so:${PORTSDIR}/audio/libmpdclient \
libtag.so:${PORTSDIR}/audio/taglib

View File

@ -10,7 +10,7 @@ MASTER_SITES= SF/raop-play/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Music file player for Apple Airport Express
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libsamplerate.so:${PORTSDIR}/audio/libsamplerate \

View File

@ -11,7 +11,7 @@ MASTER_SITES= SUNSITE/apps/sound/recorders \
MAINTAINER= ports@FreeBSD.org
COMMENT= Utility to record and playback raw audio data
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKDIR}/${DISTNAME}/copyright
WRKSRC= ${WRKDIR}/${DISTNAME}/src

View File

@ -10,7 +10,7 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Program to interface with the Rio600, Rio800, and psa[play devices
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= autoreconf gmake libtool

View File

@ -9,7 +9,7 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:R}
MAINTAINER= ports@FreeBSD.org
COMMENT= General purpose music editor and sequencer suite
LICENSE= GPLv2 # (or later)
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= dssi_osc_update:${PORTSDIR}/audio/dssi \

View File

@ -10,7 +10,7 @@ MASTER_SITES= http://rplay.doit.org/dist/
MAINTAINER= ports@FreeBSD.org
COMMENT= Network audio player
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgsm.so:${PORTSDIR}/audio/gsm

View File

@ -12,7 +12,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Commodore SID-chip emulator that plays SID music files
LICENSE= GPLv2 # (or later)
LICENSE= GPLv2+
LIB_DEPENDS= libsidplay.so:${PORTSDIR}/audio/libsidplay

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= skype-call-recorder
PORTVERSION= 0.8
PORTVERSION= 0.11
CATEGORIES= audio
MASTER_SITES= http://atdot.ch/scr/files/${PORTVERSION}/
@ -24,8 +24,8 @@ PLIST_FILES= bin/skype-call-recorder \
share/icons/hicolor/128x128/apps/skype-call-recorder.png
post-patch:
@${REINPLACE_CMD} -e 's,VORBISENC_LIBRARY},& -logg -lvorbis,' \
-e '/CMAKE_CXX_FLAGS_RELEASE/d' ${WRKSRC}/CMakeLists.txt
@${REINPLACE_CMD} -e '/CMAKE_CXX_FLAGS_RELEASE/d' \
${WRKSRC}/CMakeLists.txt
@${REINPLACE_CMD} -e 's,date --utc,TZ=UTC date,' \
${WRKSRC}/makeversion

View File

@ -1,2 +1,2 @@
SHA256 (skype-call-recorder-0.8.tar.gz) = b115f728e09602cca7aa51479faa868de1f9b7cf887ed3d7c82f4935309c32c6
SIZE (skype-call-recorder-0.8.tar.gz) = 83842
SHA256 (skype-call-recorder-0.11.tar.gz) = 284268dc9634b67eb2d991daa0e3954ecb93b383a20ac1e89586e0f35d6629c2
SIZE (skype-call-recorder-0.11.tar.gz) = 88079

View File

@ -5,7 +5,7 @@ Skype calls on Unix-like operating systems. Current features include:
- Automatic and manual recording
- Configure automatic recording on per-caller basis
- Split stereo recording
- Completely free (free as in free beer)
- Completely free (free as in freedom), released under the GNU GPLv2
- Completely free (as in free beer)
- Completely free (as in freedom), released under the GNU GPLv2
WWW: http://atdot.ch/scr/

View File

@ -10,7 +10,7 @@ MASTER_SITES= http://download.drobilla.net/
MAINTAINER= ports@FreeBSD.org
COMMENT= LV2 Application Support Library
LICENSE= GPLv2 # (or later)
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/include/lv2.h:${PORTSDIR}/audio/lv2core

View File

@ -10,7 +10,7 @@ MASTER_SITES= http://BSDforge.com/projects/source/audio/streamtranscoder/
MAINTAINER= mark@mkproductions.org
COMMENT= Transcode and stream audio to a SHOUTcast/Icecast/Peercast server
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libogg.so:${PORTSDIR}/audio/libogg \

View File

@ -11,7 +11,7 @@ DISTNAME= TiMidity++-${PORTVERSION}
MAINTAINER?= ports@FreeBSD.org
COMMENT?= Software MIDI player
LICENSE= GPLv2 # (or later)
LICENSE= GPLv2+
.if !defined(PKGNAMESUFFIX)
LIB_DEPENDS= libarc.so:${PORTSDIR}/archivers/libarc \

View File

@ -13,7 +13,7 @@ COMMENT= MIDI to PCM software synthesizer
CONFLICTS= timidity++-2.*
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= alias

View File

@ -8,7 +8,7 @@ CATEGORIES= audio
MASTER_SITES= http://vagalume.igalia.com/files/source/ \
DEBIAN_POOL/pool/main/v/vagalume/
MAINTAINER= decke@FreeBSD.org
MAINTAINER= ports@FreeBSD.org
COMMENT= A GTK+-based client for the Last.fm online radio
LIB_DEPENDS= libxml2.so:${PORTSDIR}/textproc/libxml2 \

View File

@ -10,7 +10,7 @@ MASTER_SITES= SF
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Tool to split and merge wav files
LICENSE= GPLv2 # or any later version
LICENSE= GPLv2+
OPTIONS_DEFINE= PULSEAUDIO NLS
OPTIONS_SUB= yes

View File

@ -9,7 +9,7 @@ MASTER_SITES= SUNSITE/apps/sound/players/mp3
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Simple console MP3 player
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes

View File

@ -11,7 +11,7 @@ MASTER_SITES= http://www.xenoclast.org/autobench/downloads/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Automating the process of benchmarking a web server
LICENSE= GPLv2 # or later
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENCE
RUN_DEPENDS= httperf:${PORTSDIR}/benchmarks/httperf \

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= fio
PORTVERSION= 2.2.12
PORTVERSION= 2.3
CATEGORIES= benchmarks
MASTER_SITES= http://brick.kernel.dk/snaps/

Some files were not shown because too many files have changed in this diff Show More