parent
c66a359194
commit
2f393246ba
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-chewing/ibus-chewing-1.4.7.ebuild,v 1.1 2014/04/08 06:38:22 naota Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit cmake-utils
|
||||
|
||||
MY_P=${P}-Source
|
||||
|
||||
DESCRIPTION="The Chewing IMEngine for IBus Framework"
|
||||
HOMEPAGE="http://code.google.com/p/ibus/"
|
||||
SRC_URI="http://ibus.googlecode.com/files/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND="x11-libs/libXtst
|
||||
>=app-i18n/ibus-1.3
|
||||
>=dev-libs/libchewing-0.3.3
|
||||
x11-libs/gtk+:2
|
||||
dev-util/gob:2"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
CMAKE_IN_SOURCE_BUILD=1
|
||||
|
||||
DOCS="AUTHORS ChangeLog README RELEASE-NOTES.txt USER-GUIDE"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DPRJ_DOC_DIR=/usr/share/doc/${PF}
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_make all translations
|
||||
}
|
@ -0,0 +1,224 @@
|
||||
Index: librime-1.1git20140306/include/rime/lever/customizer.h
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/include/rime/lever/customizer.h
|
||||
+++ librime-1.1git20140306/include/rime/lever/customizer.h
|
||||
@@ -8,6 +8,9 @@
|
||||
#define RIME_CUSTOMIZER_H_
|
||||
|
||||
#include <string>
|
||||
+#ifndef BOOST_NO_SCOPED_ENUMS
|
||||
+#define BOOST_NO_SCOPED_ENUMS
|
||||
+#endif // BOOST_NO_SCOPED_ENUMS
|
||||
#define BOOST_NO_CXX11_SCOPED_ENUMS
|
||||
#include <boost/filesystem.hpp>;
|
||||
|
||||
Index: librime-1.1git20140306/include/rime/lever/switcher_settings.h
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/include/rime/lever/switcher_settings.h
|
||||
+++ librime-1.1git20140306/include/rime/lever/switcher_settings.h
|
||||
@@ -9,6 +9,9 @@
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
+#ifndef BOOST_NO_SCOPED_ENUMS
|
||||
+#define BOOST_NO_SCOPED_ENUMS
|
||||
+#endif // BOOST_NO_SCOPED_ENUMS
|
||||
#include <boost/filesystem.hpp>
|
||||
#include "custom_settings.h"
|
||||
|
||||
Index: librime-1.1git20140306/include/rime/lever/user_dict_manager.h
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/include/rime/lever/user_dict_manager.h
|
||||
+++ librime-1.1git20140306/include/rime/lever/user_dict_manager.h
|
||||
@@ -9,6 +9,9 @@
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
+#ifndef BOOST_NO_SCOPED_ENUMS
|
||||
+#define BOOST_NO_SCOPED_ENUMS
|
||||
+#endif // BOOST_NO_SCOPED_ENUMS
|
||||
#include <boost/filesystem.hpp>
|
||||
|
||||
namespace rime {
|
||||
Index: librime-1.1git20140306/src/core_module.cc
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/src/core_module.cc
|
||||
+++ librime-1.1git20140306/src/core_module.cc
|
||||
@@ -5,6 +5,9 @@
|
||||
// 2013-10-17 GONG Chen <chen.sst@gmail.com>
|
||||
//
|
||||
|
||||
+#ifndef BOOST_NO_SCOPED_ENUMS
|
||||
+#define BOOST_NO_SCOPED_ENUMS
|
||||
+#endif // BOOST_NO_SCOPED_ENUMS
|
||||
#include <boost/filesystem.hpp>
|
||||
#include <rime_api.h>
|
||||
#include <rime/common.h>
|
||||
Index: librime-1.1git20140306/src/dict/db.cc
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/src/dict/db.cc
|
||||
+++ librime-1.1git20140306/src/dict/db.cc
|
||||
@@ -5,6 +5,9 @@
|
||||
// 2011-11-02 GONG Chen <chen.sst@gmail.com>
|
||||
//
|
||||
#include <boost/algorithm/string.hpp>
|
||||
+#ifndef BOOST_NO_SCOPED_ENUMS
|
||||
+#define BOOST_NO_SCOPED_ENUMS
|
||||
+#endif // BOOST_NO_SCOPED_ENUMS
|
||||
#include <boost/filesystem.hpp>
|
||||
#include <rime_version.h>
|
||||
#include <rime/common.h>
|
||||
Index: librime-1.1git20140306/src/dict/dict_compiler.cc
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/src/dict/dict_compiler.cc
|
||||
+++ librime-1.1git20140306/src/dict/dict_compiler.cc
|
||||
@@ -7,6 +7,9 @@
|
||||
#include <fstream>
|
||||
#include <map>
|
||||
#include <set>
|
||||
+#ifndef BOOST_NO_SCOPED_ENUMS
|
||||
+#define BOOST_NO_SCOPED_ENUMS
|
||||
+#endif // BOOST_NO_SCOPED_ENUMS
|
||||
#include <boost/filesystem.hpp>
|
||||
#include <rime/algo/algebra.h>
|
||||
#include <rime/algo/utilities.h>
|
||||
Index: librime-1.1git20140306/src/dict/dictionary.cc
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/src/dict/dictionary.cc
|
||||
+++ librime-1.1git20140306/src/dict/dictionary.cc
|
||||
@@ -5,6 +5,9 @@
|
||||
// 2011-07-05 GONG Chen <chen.sst@gmail.com>
|
||||
//
|
||||
#include <utility>
|
||||
+#ifndef BOOST_NO_SCOPED_ENUMS
|
||||
+#define BOOST_NO_SCOPED_ENUMS
|
||||
+#endif // BOOST_NO_SCOPED_ENUMS
|
||||
#include <boost/filesystem.hpp>
|
||||
#include <rime/common.h>
|
||||
#include <rime/schema.h>
|
||||
Index: librime-1.1git20140306/src/dict/mapped_file.cc
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/src/dict/mapped_file.cc
|
||||
+++ librime-1.1git20140306/src/dict/mapped_file.cc
|
||||
@@ -7,6 +7,9 @@
|
||||
// 2011-06-30 GONG Chen <chen.sst@gmail.com>
|
||||
//
|
||||
#include <fstream>
|
||||
+#ifndef BOOST_NO_SCOPED_ENUMS
|
||||
+#define BOOST_NO_SCOPED_ENUMS
|
||||
+#endif // BOOST_NO_SCOPED_ENUMS
|
||||
#include <boost/filesystem.hpp>
|
||||
#include <boost/interprocess/file_mapping.hpp>
|
||||
#include <boost/interprocess/mapped_region.hpp>
|
||||
Index: librime-1.1git20140306/src/dict/preset_vocabulary.cc
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/src/dict/preset_vocabulary.cc
|
||||
+++ librime-1.1git20140306/src/dict/preset_vocabulary.cc
|
||||
@@ -4,6 +4,9 @@
|
||||
//
|
||||
// 2011-11-27 GONG Chen <chen.sst@gmail.com>
|
||||
//
|
||||
+#ifndef BOOST_NO_SCOPED_ENUMS
|
||||
+#define BOOST_NO_SCOPED_ENUMS
|
||||
+#endif // BOOST_NO_SCOPED_ENUMS
|
||||
#include <boost/filesystem.hpp>
|
||||
#include <boost/lexical_cast.hpp>
|
||||
#include <utf8.h>
|
||||
Index: librime-1.1git20140306/src/dict/tree_db.cc
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/src/dict/tree_db.cc
|
||||
+++ librime-1.1git20140306/src/dict/tree_db.cc
|
||||
@@ -4,6 +4,9 @@
|
||||
//
|
||||
// 2011-11-02 GONG Chen <chen.sst@gmail.com>
|
||||
//
|
||||
+#ifndef BOOST_NO_SCOPED_ENUMS
|
||||
+#define BOOST_NO_SCOPED_ENUMS
|
||||
+#endif // BOOST_NO_SCOPED_ENUMS
|
||||
#include <boost/filesystem.hpp>
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(disable: 4244)
|
||||
Index: librime-1.1git20140306/src/gear/simplifier.cc
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/src/gear/simplifier.cc
|
||||
+++ librime-1.1git20140306/src/gear/simplifier.cc
|
||||
@@ -7,6 +7,9 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <boost/algorithm/string.hpp>
|
||||
+#ifndef BOOST_NO_SCOPED_ENUMS
|
||||
+#define BOOST_NO_SCOPED_ENUMS
|
||||
+#endif // BOOST_NO_SCOPED_ENUMS
|
||||
#include <boost/filesystem.hpp>
|
||||
#include <opencc/opencc.h>
|
||||
#include <stdint.h>
|
||||
Index: librime-1.1git20140306/src/lever/custom_settings.cc
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/src/lever/custom_settings.cc
|
||||
+++ librime-1.1git20140306/src/lever/custom_settings.cc
|
||||
@@ -5,6 +5,9 @@
|
||||
// 2012-02-26 GONG Chen <chen.sst@gmail.com>
|
||||
//
|
||||
#include <boost/algorithm/string.hpp>
|
||||
+#ifndef BOOST_NO_SCOPED_ENUMS
|
||||
+#define BOOST_NO_SCOPED_ENUMS
|
||||
+#endif // BOOST_NO_SCOPED_ENUMS
|
||||
#include <boost/filesystem.hpp>
|
||||
#include <rime/config.h>
|
||||
#include <rime/deployer.h>
|
||||
Index: librime-1.1git20140306/src/lever/deployment_tasks.cc
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/src/lever/deployment_tasks.cc
|
||||
+++ librime-1.1git20140306/src/lever/deployment_tasks.cc
|
||||
@@ -5,6 +5,9 @@
|
||||
// 2011-12-10 GONG Chen <chen.sst@gmail.com>
|
||||
//
|
||||
#include <boost/algorithm/string.hpp>
|
||||
+#ifndef BOOST_NO_SCOPED_ENUMS
|
||||
+#define BOOST_NO_SCOPED_ENUMS
|
||||
+#endif // BOOST_NO_SCOPED_ENUMS
|
||||
#define BOOST_NO_CXX11_SCOPED_ENUMS
|
||||
#include <boost/filesystem.hpp>
|
||||
#include <boost/uuid/random_generator.hpp>
|
||||
Index: librime-1.1git20140306/src/lever/switcher_settings.cc
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/src/lever/switcher_settings.cc
|
||||
+++ librime-1.1git20140306/src/lever/switcher_settings.cc
|
||||
@@ -6,6 +6,9 @@
|
||||
//
|
||||
#include <utility>
|
||||
#include <boost/algorithm/string.hpp>
|
||||
+#ifndef BOOST_NO_SCOPED_ENUMS
|
||||
+#define BOOST_NO_SCOPED_ENUMS
|
||||
+#endif // BOOST_NO_SCOPED_ENUMS
|
||||
#include <boost/filesystem.hpp>
|
||||
#include <rime/config.h>
|
||||
#include <rime/deployer.h>
|
||||
Index: librime-1.1git20140306/src/lever/user_dict_manager.cc
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/src/lever/user_dict_manager.cc
|
||||
+++ librime-1.1git20140306/src/lever/user_dict_manager.cc
|
||||
@@ -6,6 +6,9 @@
|
||||
//
|
||||
#include <fstream>
|
||||
#include <boost/algorithm/string.hpp>
|
||||
+#ifndef BOOST_NO_SCOPED_ENUMS
|
||||
+#define BOOST_NO_SCOPED_ENUMS
|
||||
+#endif // BOOST_NO_SCOPED_ENUMS
|
||||
#include <boost/filesystem.hpp>
|
||||
#include <boost/scope_exit.hpp>
|
||||
#include <rime/common.h>
|
||||
Index: librime-1.1git20140306/src/lever/userdb_recovery_task.cc
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/src/lever/userdb_recovery_task.cc
|
||||
+++ librime-1.1git20140306/src/lever/userdb_recovery_task.cc
|
||||
@@ -5,6 +5,9 @@
|
||||
// 2013-04-22 GONG Chen <chen.sst@gmail.com>
|
||||
//
|
||||
#include <boost/algorithm/string.hpp>
|
||||
+#ifndef BOOST_NO_SCOPED_ENUMS
|
||||
+#define BOOST_NO_SCOPED_ENUMS
|
||||
+#endif // BOOST_NO_SCOPED_ENUMS
|
||||
#include <boost/filesystem.hpp>
|
||||
#include <boost/scope_exit.hpp>
|
||||
#include <rime/deployer.h>
|
@ -0,0 +1,367 @@
|
||||
Index: librime-1.1git20140306/include/rime/algo/calculus.h
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/include/rime/algo/calculus.h
|
||||
+++ librime-1.1git20140306/include/rime/algo/calculus.h
|
||||
@@ -22,11 +22,12 @@ class Calculation {
|
||||
using Factory = Calculation* (const std::vector<std::string>& args);
|
||||
|
||||
Calculation() = default;
|
||||
- virtual ~Calculation() = default;
|
||||
+ virtual ~Calculation();
|
||||
virtual bool Apply(Spelling* spelling) = 0;
|
||||
virtual bool addition() { return true; }
|
||||
virtual bool deletion() { return true; }
|
||||
};
|
||||
+inline Calculation::~Calculation() = default;
|
||||
|
||||
class Calculus {
|
||||
public:
|
||||
Index: librime-1.1git20140306/include/rime/dict/db.h
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/include/rime/dict/db.h
|
||||
+++ librime-1.1git20140306/include/rime/dict/db.h
|
||||
@@ -18,7 +18,7 @@ class DbAccessor {
|
||||
DbAccessor() = default;
|
||||
explicit DbAccessor(const std::string& prefix)
|
||||
: prefix_(prefix) {}
|
||||
- virtual ~DbAccessor() = default;
|
||||
+ virtual ~DbAccessor();
|
||||
|
||||
virtual bool Reset() = 0;
|
||||
virtual bool Jump(const std::string &key) = 0;
|
||||
@@ -30,11 +30,12 @@ class DbAccessor {
|
||||
|
||||
std::string prefix_;
|
||||
};
|
||||
+inline DbAccessor::~DbAccessor() = default;
|
||||
|
||||
class Db : public Class<Db, const std::string&> {
|
||||
public:
|
||||
explicit Db(const std::string& name);
|
||||
- virtual ~Db() = default;
|
||||
+ virtual ~Db();
|
||||
|
||||
bool Exists() const;
|
||||
bool Remove();
|
||||
@@ -72,11 +73,12 @@ class Db : public Class<Db, const std::s
|
||||
bool readonly_ = false;
|
||||
bool disabled_ = false;
|
||||
};
|
||||
+inline Db::~Db() = default;
|
||||
|
||||
class Transactional {
|
||||
public:
|
||||
Transactional() = default;
|
||||
- virtual ~Transactional() = default;
|
||||
+ virtual ~Transactional();
|
||||
virtual bool BeginTransaction() { return false; }
|
||||
virtual bool AbortTransaction() { return false; }
|
||||
virtual bool CommitTransaction() { return false; }
|
||||
@@ -84,12 +86,14 @@ class Transactional {
|
||||
protected:
|
||||
bool in_transaction_ = false;
|
||||
};
|
||||
+inline Transactional::~Transactional() = default;
|
||||
|
||||
class Recoverable {
|
||||
public:
|
||||
- virtual ~Recoverable() = default;
|
||||
+ virtual ~Recoverable();
|
||||
virtual bool Recover() = 0;
|
||||
};
|
||||
+inline Recoverable::~Recoverable() = default;
|
||||
|
||||
} // namespace rime
|
||||
|
||||
Index: librime-1.1git20140306/include/rime/algo/encoder.h
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/include/rime/algo/encoder.h
|
||||
+++ librime-1.1git20140306/include/rime/algo/encoder.h
|
||||
@@ -24,7 +24,7 @@ class RawCode : public std::vector<std::
|
||||
class PhraseCollector {
|
||||
public:
|
||||
PhraseCollector() = default;
|
||||
- virtual ~PhraseCollector() = default;
|
||||
+ virtual ~PhraseCollector();
|
||||
|
||||
virtual void CreateEntry(const std::string& phrase,
|
||||
const std::string& code_str,
|
||||
@@ -33,13 +33,14 @@ class PhraseCollector {
|
||||
virtual bool TranslateWord(const std::string& word,
|
||||
std::vector<std::string>* code) = 0;
|
||||
};
|
||||
+inline PhraseCollector::~PhraseCollector() = default;
|
||||
|
||||
class Config;
|
||||
|
||||
class Encoder {
|
||||
public:
|
||||
Encoder(PhraseCollector* collector) : collector_(collector) {}
|
||||
- virtual ~Encoder() = default;
|
||||
+ virtual ~Encoder();
|
||||
|
||||
virtual bool LoadSettings(Config* config) {
|
||||
return false;
|
||||
@@ -53,7 +54,7 @@ class Encoder {
|
||||
protected:
|
||||
PhraseCollector* collector_;
|
||||
};
|
||||
-
|
||||
+inline Encoder::~Encoder() = default;
|
||||
// Aa : code at index 0 for character at index 0
|
||||
// Az : code at index -1 for character at index 0
|
||||
// Za : code at index 0 for character at index -1
|
||||
Index: librime-1.1git20140306/include/rime/candidate.h
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/include/rime/candidate.h
|
||||
+++ librime-1.1git20140306/include/rime/candidate.h
|
||||
@@ -21,7 +21,7 @@ class Candidate {
|
||||
size_t end,
|
||||
double quality = 0.)
|
||||
: type_(type), start_(start), end_(end), quality_(quality) {}
|
||||
- virtual ~Candidate() = default;
|
||||
+ virtual ~Candidate();
|
||||
|
||||
static shared_ptr<Candidate>
|
||||
GetGenuineCandidate(const shared_ptr<Candidate>& cand);
|
||||
@@ -53,6 +53,7 @@ class Candidate {
|
||||
size_t end_ = 0;
|
||||
double quality_ = 0.;
|
||||
};
|
||||
+inline Candidate::~Candidate() = default;
|
||||
|
||||
using CandidateList = std::vector<shared_ptr<Candidate>>;
|
||||
|
||||
Index: librime-1.1git20140306/include/rime/component.h
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/include/rime/component.h
|
||||
+++ librime-1.1git20140306/include/rime/component.h
|
||||
@@ -16,8 +16,9 @@ namespace rime {
|
||||
class ComponentBase {
|
||||
public:
|
||||
ComponentBase() = default;
|
||||
- virtual ~ComponentBase() = default;
|
||||
+ virtual ~ComponentBase();
|
||||
};
|
||||
+inline ComponentBase::~ComponentBase() = default;
|
||||
|
||||
template <class T, class Arg>
|
||||
struct Class {
|
||||
Index: librime-1.1git20140306/include/rime/config.h
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/include/rime/config.h
|
||||
+++ librime-1.1git20140306/include/rime/config.h
|
||||
@@ -22,7 +22,7 @@ class ConfigItem {
|
||||
enum ValueType { kNull, kScalar, kList, kMap };
|
||||
|
||||
ConfigItem() = default; // null
|
||||
- virtual ~ConfigItem() = default;
|
||||
+ virtual ~ConfigItem();
|
||||
|
||||
ValueType type() const { return type_; }
|
||||
|
||||
@@ -31,6 +31,7 @@ class ConfigItem {
|
||||
|
||||
ValueType type_ = kNull;
|
||||
};
|
||||
+inline ConfigItem::~ConfigItem() = default;
|
||||
|
||||
using ConfigItemPtr = shared_ptr<ConfigItem>;
|
||||
|
||||
Index: librime-1.1git20140306/include/rime/deployer.h
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/include/rime/deployer.h
|
||||
+++ librime-1.1git20140306/include/rime/deployer.h
|
||||
@@ -25,10 +25,11 @@ using TaskInitializer = boost::any;
|
||||
class DeploymentTask : public Class<DeploymentTask, TaskInitializer> {
|
||||
public:
|
||||
DeploymentTask() = default;
|
||||
- virtual ~DeploymentTask() = default;
|
||||
+ virtual ~DeploymentTask();
|
||||
|
||||
virtual bool Run(Deployer* deployer) = 0;
|
||||
};
|
||||
+inline DeploymentTask::~DeploymentTask() = default;
|
||||
|
||||
class Deployer : public Messenger {
|
||||
public:
|
||||
Index: librime-1.1git20140306/include/rime/filter.h
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/include/rime/filter.h
|
||||
+++ librime-1.1git20140306/include/rime/filter.h
|
||||
@@ -22,7 +22,7 @@ class Filter : public Class<Filter, cons
|
||||
public:
|
||||
explicit Filter(const Ticket& ticket)
|
||||
: engine_(ticket.engine), name_space_(ticket.name_space) {}
|
||||
- virtual ~Filter() = default;
|
||||
+ virtual ~Filter();
|
||||
|
||||
virtual void Apply(CandidateList* recruited,
|
||||
CandidateList* candidates) = 0;
|
||||
@@ -35,6 +35,7 @@ class Filter : public Class<Filter, cons
|
||||
Engine* engine_;
|
||||
std::string name_space_;
|
||||
};
|
||||
+inline Filter::~Filter() = default;
|
||||
|
||||
} // namespace rime
|
||||
|
||||
Index: librime-1.1git20140306/include/rime/formatter.h
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/include/rime/formatter.h
|
||||
+++ librime-1.1git20140306/include/rime/formatter.h
|
||||
@@ -20,7 +20,7 @@ class Formatter : public Class<Formatter
|
||||
public:
|
||||
Formatter(const Ticket& ticket)
|
||||
: engine_(ticket.engine), name_space_(ticket.name_space) {}
|
||||
- virtual ~Formatter() = default;
|
||||
+ virtual ~Formatter();
|
||||
|
||||
virtual void Format(std::string* text) = 0;
|
||||
|
||||
@@ -28,6 +28,7 @@ class Formatter : public Class<Formatter
|
||||
Engine* engine_;
|
||||
std::string name_space_;
|
||||
};
|
||||
+inline Formatter::~Formatter() = default;
|
||||
|
||||
} // namespace rime
|
||||
|
||||
Index: librime-1.1git20140306/include/rime/lever/custom_settings.h
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/include/rime/lever/custom_settings.h
|
||||
+++ librime-1.1git20140306/include/rime/lever/custom_settings.h
|
||||
@@ -19,7 +19,7 @@ class CustomSettings {
|
||||
CustomSettings(Deployer* deployer,
|
||||
const std::string& config_id,
|
||||
const std::string& generator_id);
|
||||
- virtual ~CustomSettings() = default;
|
||||
+ virtual ~CustomSettings();
|
||||
|
||||
virtual bool Load();
|
||||
virtual bool Save();
|
||||
@@ -39,6 +39,7 @@ class CustomSettings {
|
||||
Config config_;
|
||||
Config custom_config_;
|
||||
};
|
||||
+inline CustomSettings::~CustomSettings() = default;
|
||||
|
||||
} // namespace rime
|
||||
|
||||
Index: librime-1.1git20140306/include/rime/processor.h
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/include/rime/processor.h
|
||||
+++ librime-1.1git20140306/include/rime/processor.h
|
||||
@@ -25,7 +25,7 @@ class Processor : public Class<Processor
|
||||
public:
|
||||
explicit Processor(const Ticket& ticket)
|
||||
: engine_(ticket.engine), name_space_(ticket.name_space) {}
|
||||
- virtual ~Processor() = default;
|
||||
+ virtual ~Processor();
|
||||
|
||||
virtual ProcessResult ProcessKeyEvent(const KeyEvent& key_event) {
|
||||
return kNoop;
|
||||
@@ -35,6 +35,7 @@ class Processor : public Class<Processor
|
||||
Engine* engine_;
|
||||
std::string name_space_;
|
||||
};
|
||||
+inline Processor::~Processor() = default;
|
||||
|
||||
} // namespace rime
|
||||
|
||||
Index: librime-1.1git20140306/include/rime/segmentor.h
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/include/rime/segmentor.h
|
||||
+++ librime-1.1git20140306/include/rime/segmentor.h
|
||||
@@ -19,7 +19,7 @@ class Segmentor : public Class<Segmentor
|
||||
public:
|
||||
explicit Segmentor(const Ticket& ticket)
|
||||
: engine_(ticket.engine), name_space_(ticket.name_space) {}
|
||||
- virtual ~Segmentor() = default;
|
||||
+ virtual ~Segmentor();
|
||||
|
||||
virtual bool Proceed(Segmentation* segmentation) = 0;
|
||||
|
||||
@@ -27,6 +27,7 @@ class Segmentor : public Class<Segmentor
|
||||
Engine* engine_;
|
||||
std::string name_space_;
|
||||
};
|
||||
+inline Segmentor::~Segmentor() = default;
|
||||
|
||||
} // namespace rime
|
||||
|
||||
Index: librime-1.1git20140306/include/rime/translation.h
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/include/rime/translation.h
|
||||
+++ librime-1.1git20140306/include/rime/translation.h
|
||||
@@ -19,7 +19,7 @@ namespace rime {
|
||||
class Translation {
|
||||
public:
|
||||
Translation() = default;
|
||||
- virtual ~Translation() = default;
|
||||
+ virtual ~Translation();
|
||||
|
||||
// A translation may contain multiple results, looks
|
||||
// something like a generator of candidates.
|
||||
@@ -40,6 +40,7 @@ class Translation {
|
||||
private:
|
||||
bool exhausted_ = false;
|
||||
};
|
||||
+inline Translation::~Translation() = default;
|
||||
|
||||
class UniqueTranslation : public Translation {
|
||||
public:
|
||||
Index: librime-1.1git20140306/include/rime/translator.h
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/include/rime/translator.h
|
||||
+++ librime-1.1git20140306/include/rime/translator.h
|
||||
@@ -23,7 +23,7 @@ class Translator : public Class<Translat
|
||||
public:
|
||||
explicit Translator(const Ticket& ticket)
|
||||
: engine_(ticket.engine), name_space_(ticket.name_space) {}
|
||||
- virtual ~Translator() = default;
|
||||
+ virtual ~Translator();
|
||||
|
||||
virtual shared_ptr<Translation> Query(const std::string& input,
|
||||
const Segment& segment,
|
||||
@@ -33,6 +33,7 @@ class Translator : public Class<Translat
|
||||
Engine* engine_;
|
||||
std::string name_space_;
|
||||
};
|
||||
+inline Translator::~Translator() = default;
|
||||
|
||||
} // namespace rime
|
||||
|
||||
Index: librime-1.1git20140306/include/rime/dict/db_utils.h
|
||||
===================================================================
|
||||
--- librime-1.1git20140306.orig/include/rime/dict/db_utils.h
|
||||
+++ librime-1.1git20140306/include/rime/dict/db_utils.h
|
||||
@@ -14,17 +14,18 @@ namespace rime {
|
||||
|
||||
class Sink {
|
||||
public:
|
||||
- virtual ~Sink() = default;
|
||||
+ virtual ~Sink();
|
||||
virtual bool MetaPut(const std::string& key, const std::string& value) = 0;
|
||||
virtual bool Put(const std::string& key, const std::string& value) = 0;
|
||||
|
||||
template <class SourceType>
|
||||
int operator<< (SourceType& source);
|
||||
};
|
||||
+inline Sink::~Sink() = default;
|
||||
|
||||
class Source {
|
||||
public:
|
||||
- virtual ~Source() = default;
|
||||
+ virtual ~Source();
|
||||
virtual bool MetaGet(std::string* key, std::string* value) = 0;
|
||||
virtual bool Get(std::string* key, std::string* value) = 0;
|
||||
|
||||
@@ -33,6 +34,7 @@ class Source {
|
||||
|
||||
int Dump(Sink* sink);
|
||||
};
|
||||
+inline Source::~Source() = default;
|
||||
|
||||
template <class SourceType>
|
||||
int Sink::operator<< (SourceType& source) {
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/librime/librime-1.1-r1.ebuild,v 1.1 2014/04/08 23:27:37 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils multilib versionator toolchain-funcs
|
||||
|
||||
DESCRIPTION="Rime Input Method Engine library"
|
||||
HOMEPAGE="http://code.google.com/p/rimeime/"
|
||||
SRC_URI="http://rimeime.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs test"
|
||||
|
||||
RDEPEND="app-i18n/opencc
|
||||
dev-cpp/glog
|
||||
>=dev-cpp/yaml-cpp-0.5.0
|
||||
dev-db/kyotocabinet
|
||||
>=dev-libs/boost-1.46.0[threads(+)]
|
||||
sys-libs/zlib
|
||||
x11-proto/xproto"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-cpp/gtest )"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
#bug 496080, backport patch for <gcc-4.8
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-BOOST_NO_SCOPED_ENUMS.patch"
|
||||
"${FILESDIR}/${P}-gcc53613.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_build static-libs STATIC)
|
||||
-DBUILD_DATA=OFF
|
||||
-DBUILD_SEPARATE_LIBS=OFF
|
||||
$(cmake-utils_use_build test TEST)
|
||||
-DLIB_INSTALL_DIR=/usr/$(get_libdir)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST scim-tables-0.5.10.tar.gz 8101380 SHA256 0931414996585c5433b5492d5e40e3a0d6f322bebc547c6b10914d103aea2aea SHA512 e58247e2ac2dd08b497ce32648d4f6c173a320cb2d69ef18cc2a24a4be6312e9920b3ac71b82de4412d383f04eaf7e7f667c46e93977638c614a374dc0d0efbb WHIRLPOOL 753dbd4119584477ce87fccbe108b0b77675c1e53f241e1ba3d29137c3c914b6d1d2af726f325a126b1ada09eb1de3228202972fff0bf00793ba19304f039b51
|
||||
DIST scim-tables-0.5.11.tar.gz 6757581 SHA256 e7ce3c3fc73eb37c00385db278050100dc4fd51437bfba828185b7b28a7ab88f SHA512 1dbd34c66c800596971dd57109c648e572de7e4956a95be73638b3ddca970aeeb948325c3f9eaddee58e6925e09849073a72873edc8b3df6d53ae10071494b0d WHIRLPOOL f15b91b6ad17dad5ef2d462709571b788cdba39047bfffae2be4abc84b49c71fe745a04f62ca714a869fafc09704b0383e8e18ff680064ba2a63ff45be73d9d0
|
||||
DIST scim-tables-0.5.12.tar.gz 6714368 SHA256 10b5f97331229c22fe76dfde093d87b04333f9d43af654a603e583901e677511 SHA512 5e624a060c29bf2ac1f349aefe5dce7ea8edfa47a753ec57589859c30759120cc3c2521038bc7de0f7e6ba25c2c91750b849ede8c1d8303cbcbfb2fff65f0730 WHIRLPOOL affb1ef264b2d679c55f4be6c9b6cc161d2a67cd301791c1c7aebefc6ec57f575463ce3c573a3b76faf7158811e45d63eec708dc7d4ae4635b921d1194632d3f
|
||||
DIST scim-tables-0.5.13.tar.gz 6716275 SHA256 4ee7577f2efb4ec01c2c1bf1433a459293653caf281d712284200a4fb828b599 SHA512 400aa99acef83b82e6422398f41bf65e51b7e703adc3e87cdef03793d84983e600f9e6201fda6f9c54e97f35c44da72a657ce15caef09ef490c44ad19c3a9e33 WHIRLPOOL 1ad84ab62824057946366ef4019574fc3f5401c7785f9104a49371937b92375945bb1fd659d37004cf333aba9a7ea2958ccc9c399d7a1266381151dbb337f5b3
|
||||
DIST scim-tables-0.5.8.tar.gz 7214866 SHA256 2710b54f92845510b9db57b46c64a716c256e36585d55d51a62fdd3113572490 SHA512 af3c83cb4116dd5b3acdd81f99cc9705385c7bce4b1911da3acbabd2c5009063d656949642ccaa14d4fedf44d69644df26cd67c4b47a726853b43704fc87943b WHIRLPOOL 10f8dd3a86b3f613fca7b2da73308e881cc2e100f39b0930538b8cf5fae7f9d3ef0f75f3e5b4ac6217e770ffe47cb76fd5d2f306af930f8a46b67b13afcceed5
|
||||
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-tables/scim-tables-0.5.13.ebuild,v 1.1 2014/04/08 05:42:20 naota Exp $
|
||||
|
||||
inherit autotools base eutils
|
||||
|
||||
DESCRIPTION="Smart Common Input Method (SCIM) Generic Table Input Method Server"
|
||||
HOMEPAGE="http://www.scim-im.org/"
|
||||
SRC_URI="mirror://sourceforge/scim/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="nls"
|
||||
LANGS="am ar bn gu hi ja kn ko ml ne pa ru ta te th uk vi zh"
|
||||
for i in ${LANGS} ; do
|
||||
IUSE="${IUSE} linguas_${i}"
|
||||
done
|
||||
|
||||
RDEPEND=">=app-i18n/scim-1.4.7-r2
|
||||
nls? ( virtual/libintl )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.5.8+gcc-4.3.patch"
|
||||
"${FILESDIR}"/${PN}-0.5.12-automake.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
elog "Not all languages are going to be compiled."
|
||||
elog "Please set LINGUAS to your preferred language(s)."
|
||||
elog "Supported LINGUAS values are:"
|
||||
elog "${LANGS}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
base_src_unpack
|
||||
|
||||
strip-linguas ${LANGS}
|
||||
local use_languages="additional ${LINGUAS}"
|
||||
elog "Languages being compiled are: ${use_languages}"
|
||||
|
||||
cd "${S}"
|
||||
sed -i -e "/^SUBDIRS/s/.*/SUBDIRS = ${use_languages}/g" \
|
||||
tables/Makefile.{am,in} || die "sed ${m} failed"
|
||||
|
||||
AT_NO_RECURSIVE=yes AT_M4DIR=${S}/m4 eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf \
|
||||
--disable-skim-support \
|
||||
$(use_enable nls) \
|
||||
--disable-static \
|
||||
--disable-dependency-tracking \
|
||||
--without-arts || die "econf failed"
|
||||
emake || die "make failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "install failed"
|
||||
dodoc README ChangeLog AUTHORS
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/metromap/metromap-0.1.4.ebuild,v 1.1 2012/05/21 19:40:55 maksbotan Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="Metromap is simple pygtk+2 programm for finding paths in metro(subway) maps."
|
||||
HOMEPAGE="http://metromap.antex.ru/"
|
||||
SRC_URI="http://metromap.antex.ru/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-python/pygtk-2.8:2"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_convert_shebangs -r 2 .
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}"/usr install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize /usr/share/${PN}/modules
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup /usr/share/${PN}/modules
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST akonadi-1.12.0.tar.bz2 250974 SHA256 35243793b73e8028973c101c68ef80a8a54be0fe9aa562c9473e73b4657fea26 SHA512 62bf31552fabb6b722aa9c8ebc112a5af1fcc6c2a962b75c0ff4a79ad4999c03169f0e2a993ed382b753d578a69950aae6b28d255d58f5496978fc2d4207b7ba WHIRLPOOL 4746a0a70ea44813c8e0278ee4be3471957e0c1a5e5ace3507be2866223acc92f2c69e6ed0c4f9ac634afe41fe73168ba593e188dc46d9584a37bfa1895cf0a7
|
||||
DIST akonadi-1.12.1.tar.bz2 251899 SHA256 a073228fda8bdbcf836af32d4b4c44dcbe58a3eac6da4e5a286b42ace9d83145 SHA512 128af06874ec32be4205d8bfcae5ac044d1fade6b2c612cdfe801be20f179f2b70e8a6d48ef0427e4b419b6c1efa8eed3b9d741765750f36fb89e909da8040a2 WHIRLPOOL c83fa6395982b5d06d8f877c833e2b1fe0bd4d3906f4a3f8aa86b78b946019bbea6b5d507026e3675001e82925d144afc1ed51ebfec0ec6e40a6db0571464326
|
||||
DIST akonadi-server-1.10.3.tar.bz2 228633 SHA256 a8f66eec479c235ec67e77befac50c42743f627663fe2bb49238e82e6fbfffb0 SHA512 836917f3fb8ec5388d7145402fb1b55ca00d14d78f92d0105fecc6c052e99d497e17a2484f581b9d2f20433220a9343e6b4bff8ad34e48767e6a42d309572c66 WHIRLPOOL 468908b64e66a826e17dc8f5dca3f907bfcd09669810f9f1aca96b7f812ebc2c0138a6f840a5e5f8d0734cc05eecddeebafe8affe32994c2ed7bb76c2c309b38
|
||||
DIST akonadi-server-1.11.0.tar.bz2 235101 SHA256 0cb257509d53927241b71d85c42efb0b5776efc37fc8dc732e75f6813b8a264d SHA512 366f0e4a86038af5eb6603653e599076c66e84f59db57f4c56a89ec265be7e335f3f5d14444030a6f398e2361969ad85bc73357359da7ab8c307ec3c5d80ea40 WHIRLPOOL b050f5e1d5220ec512ab6e57cd083b652f03ef1e391fb336a51888aede7b0faf2f2ab58db6f6e67ee3fd7ceea8efcb54d5c3b1a6c224adf3deb41cb10b3c91d2
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/akonadi-server/akonadi-server-1.12.0.ebuild,v 1.1 2014/03/29 19:48:49 johu Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/akonadi-server/akonadi-server-1.12.1.ebuild,v 1.1 2014/04/08 14:16:31 johu Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -0,0 +1,145 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-2.4.10.ebuild,v 1.1 2014/04/08 15:25:12 ultrabug Exp $
|
||||
|
||||
EAPI=4
|
||||
SCONS_MIN_VERSION="1.2.0"
|
||||
CHECKREQS_DISK_BUILD="2400M"
|
||||
CHECKREQS_DISK_USR="512M"
|
||||
|
||||
inherit eutils flag-o-matic multilib pax-utils scons-utils systemd user versionator check-reqs
|
||||
|
||||
MY_P=${PN}-src-r${PV/_rc/-rc}
|
||||
|
||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||
HOMEPAGE="http://www.mongodb.org"
|
||||
SRC_URI="http://downloads.mongodb.org/src/${MY_P}.tar.gz
|
||||
mms-agent? ( http://dev.gentoo.org/~ultrabug/20130821-10gen-mms-agent.zip )"
|
||||
|
||||
LICENSE="AGPL-3 Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="kerberos mms-agent sharedclient spidermonkey ssl static-libs"
|
||||
|
||||
PDEPEND="mms-agent? ( dev-python/pymongo app-arch/unzip )"
|
||||
RDEPEND="
|
||||
>=dev-libs/boost-1.50[threads(+)]
|
||||
dev-libs/libpcre[cxx]
|
||||
dev-util/google-perftools[-minimal]
|
||||
net-libs/libpcap
|
||||
app-arch/snappy
|
||||
ssl? ( >=dev-libs/openssl-1.0.1c )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-libs/readline
|
||||
sys-libs/ncurses
|
||||
kerberos? ( dev-libs/cyrus-sasl[kerberos] )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup mongodb
|
||||
enewuser mongodb -1 -1 /var/lib/${PN} mongodb
|
||||
|
||||
scons_opts=" --cc=$(tc-getCC) --cxx=$(tc-getCXX)"
|
||||
scons_opts+=" --use-system-tcmalloc"
|
||||
scons_opts+=" --use-system-pcre"
|
||||
scons_opts+=" --use-system-snappy"
|
||||
scons_opts+=" --use-system-boost"
|
||||
|
||||
if use prefix; then
|
||||
scons_opts+=" --cpppath=${EPREFIX}/usr/include"
|
||||
scons_opts+=" --libpath=${EPREFIX}/usr/$(get_libdir)"
|
||||
fi
|
||||
|
||||
if use kerberos; then
|
||||
scons_opts+=" --use-sasl-client"
|
||||
fi
|
||||
|
||||
if use sharedclient; then
|
||||
scons_opts+=" --sharedclient"
|
||||
fi
|
||||
|
||||
if use spidermonkey; then
|
||||
scons_opts+=" --usesm"
|
||||
else
|
||||
scons_opts+=" --usev8"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
scons_opts+=" --ssl"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-2.4.5-fix-scons.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.2-r1-fix-boost.patch"
|
||||
|
||||
# bug #462606
|
||||
sed -i -e "s@\$INSTALL_DIR/lib@\$INSTALL_DIR/$(get_libdir)@g" src/SConscript.client || die
|
||||
|
||||
# bug #482576
|
||||
sed -i -e "/-Werror/d" src/third_party/v8/SConscript || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
escons ${scons_opts} all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
escons ${scons_opts} --full --nostrip install --prefix="${ED}"/usr
|
||||
|
||||
use static-libs || find "${ED}"/usr/ -type f -name "*.a" -delete
|
||||
|
||||
if ! use spidermonkey; then
|
||||
pax-mark m "${ED}"/usr/bin/{mongo,mongod}
|
||||
fi
|
||||
|
||||
for x in /var/{lib,log}/${PN}; do
|
||||
keepdir "${x}"
|
||||
fowners mongodb:mongodb "${x}"
|
||||
done
|
||||
|
||||
doman debian/mongo*.1
|
||||
dodoc README docs/building.md
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd-r1" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd" ${PN}
|
||||
newinitd "${FILESDIR}/${PN/db/s}.initd-r1" ${PN/db/s}
|
||||
newconfd "${FILESDIR}/${PN/db/s}.confd" ${PN/db/s}
|
||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||
insinto /etc
|
||||
doins "${FILESDIR}"/${PN}.conf
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
if use mms-agent; then
|
||||
local MY_PN="mms-agent"
|
||||
local MY_D="/opt/${MY_PN}"
|
||||
insinto ${MY_D}
|
||||
doins "${WORKDIR}/${MY_PN}/"*
|
||||
fowners -R mongodb:mongodb ${MY_D}
|
||||
newinitd "${FILESDIR}/${MY_PN}.initd" ${MY_PN}
|
||||
newconfd "${FILESDIR}/${MY_PN}.confd" ${MY_PN}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# wrt bug #461466
|
||||
if [[ "$(get_libdir)" == "lib64" ]]; then
|
||||
rmdir "${ED}"/usr/lib/ &>/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
escons ${scons_opts} test
|
||||
"${S}"/test --dbpath=unittest || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${REPLACING_VERSIONS} < 2.4 ]]; then
|
||||
ewarn "You just upgraded from a previous version of mongodb !"
|
||||
ewarn "Make sure you run 'mongod --upgrade' before using this version."
|
||||
fi
|
||||
elog "Journaling is now enabled by default, see /etc/conf.d/${PN}"
|
||||
}
|
@ -0,0 +1,125 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-7.1.11.ebuild,v 1.1 2014/04/08 16:23:07 keri Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils flag-o-matic java-pkg-opt-2 multilib
|
||||
|
||||
PATCHSET_VER="0"
|
||||
|
||||
DESCRIPTION="free, small, and standard compliant Prolog compiler"
|
||||
HOMEPAGE="http://www.swi-prolog.org/"
|
||||
SRC_URI="http://www.swi-prolog.org/download/devel/src/pl-${PV}.tar.gz
|
||||
mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="archive debug doc +gmp hardened java minimal odbc +readline ssl static-libs test zlib X"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
archive? ( app-arch/libarchive )
|
||||
zlib? ( sys-libs/zlib )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
readline? ( sys-libs/readline )
|
||||
gmp? ( dev-libs/gmp )
|
||||
ssl? ( dev-libs/openssl )
|
||||
java? ( >=virtual/jdk-1.4 )
|
||||
X? (
|
||||
virtual/jpeg
|
||||
x11-libs/libX11
|
||||
x11-libs/libXft
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXt
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-proto/xproto )
|
||||
java? ( test? ( =dev-java/junit-3.8* ) )"
|
||||
|
||||
S="${WORKDIR}/pl-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE=yes
|
||||
EPATCH_SUFFIX=patch
|
||||
epatch "${WORKDIR}"/${PV}
|
||||
|
||||
# OSX/Intel ld doesn't like an archive without table of contents
|
||||
sed -i -e 's/-cru/-scru/' packages/nlp/libstemmer_c/Makefile.pl || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
use ppc && append-flags -mno-altivec
|
||||
use hardened && append-flags -fno-unit-at-a-time
|
||||
use debug && append-flags -DO_DEBUG
|
||||
|
||||
# ARCH is used in the configure script to figure out host and target
|
||||
# specific stuff
|
||||
export ARCH=${CHOST}
|
||||
|
||||
export CC_FOR_BUILD=$(tc-getBUILD_CC)
|
||||
|
||||
cd "${S}"/src || die
|
||||
econf \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
$(use_enable gmp) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable static-libs static) \
|
||||
--enable-shared \
|
||||
--enable-custom-flags COFLAGS="${CFLAGS}"
|
||||
|
||||
if ! use minimal ; then
|
||||
local jpltestconf
|
||||
if use java && use test ; then
|
||||
jpltestconf="--with-junit=$(java-config --classpath junit)"
|
||||
fi
|
||||
|
||||
cd "${S}/packages" || die
|
||||
econf \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
$(use_with archive) \
|
||||
$(use_with java jpl) \
|
||||
${jpltestconf} \
|
||||
$(use_with odbc) \
|
||||
$(use_with ssl) \
|
||||
$(use_with X xpce) \
|
||||
$(use_with zlib) \
|
||||
COFLAGS='"${CFLAGS}"'
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/src || die
|
||||
emake
|
||||
|
||||
if ! use minimal ; then
|
||||
cd "${S}/packages" || die
|
||||
emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}/src" || die
|
||||
emake check
|
||||
|
||||
if ! use minimal ; then
|
||||
cd "${S}/packages" || die
|
||||
emake check
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C src DESTDIR="${D}" install
|
||||
|
||||
if ! use minimal ; then
|
||||
emake -C packages DESTDIR="${D}" install
|
||||
if use doc ; then
|
||||
emake -C packages DESTDIR="${D}" html-install
|
||||
fi
|
||||
fi
|
||||
|
||||
dodoc ReleaseNotes/relnotes-5.10 INSTALL README VERSION
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST onig-5.9.2.tar.gz 539739 SHA256 10e7b04ca0baaef2c26f32b37bb70d898b3642d38aefd5ad5062a20f86b751f6 SHA512 fedc9ed663e9970c1f44647431085093f792af1273d5fd25713545e6770652f959a78fb059e44ec348f201f40b2aaa9ef8d081721842f4fa7c486def2a73a8e7 WHIRLPOOL 4fcdd5fcde4ab670b2e7e672b2187a488d698fd6172f9b0c1b237d680dc5cfecac4e9262d7b78e32eb782596cdf92a13f554b45ee5566eabf39349c1c7d8884b
|
||||
DIST onig-5.9.3.tar.gz 566875 SHA256 c3bba66b2a84760e6582c40881db97c839d94f327870009724bb8b4d0c051f2a SHA512 d673fbd12af78bbe36984eff2aab5e0c043a663f2fca248f7accc0e9d2c86144b5e9635c542ea6311574d680d628893128615dedc32adcbe62ac427f1ead2870 WHIRLPOOL 5b6bd7c5ff0e2b586af776d94351abe8c5203d40a37138386df19eb3877e3940708c0b272f0c3d88361ce26579bd1e253333ee7c30f0af92f69a185503f2f06a
|
||||
DIST onig-5.9.4.tar.gz 567985 SHA256 988221911ff865941a859096c39a532df77418cb6df513857428a41605130697 SHA512 d1a8492925c5f873a8bd8cd5b1a3da2c78392ca7160eeadb9c53cf08e0e6dcedf75f95c748595888d727395cd9226a784cdf38ef5d64665a3c4b27e45da84cb6 WHIRLPOOL 9dd36b4bc4408360baeac39ad9c7ee3f4e231dd9ca57ffc5d07598a7ad5d2f9b03ca37d63399aa78ef55c0264453f83cb82155c2d2e09d3c8804f4e6954f763f
|
||||
DIST onig-5.9.5.tar.gz 587874 SHA256 9f49ae7819a5f47e25449d0e4b010d479f7868a24a7b9884b47041b49a76438a SHA512 3ba3c94c5e52c80c680ebf1d19be53fa5a94a11d622e0282184c7a9c8cc6676f1926b97d12aafc66514071e65cd7de2bd4632afb053c69b01ddb8b581e878252 WHIRLPOOL 4f8a52fc682c15a96660049159e98ddd9f68170e2cba3948f73f3105a266bce8b4c42329b4dc0d6f94472fd9139bbd9a8ebbf3f7351a95c868e78999ce276ece
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/oniguruma/oniguruma-5.9.5.ebuild,v 1.1 2014/04/08 06:50:00 naota Exp $
|
||||
|
||||
EAPI=4
|
||||
# Needed for a sane .so versionning on fbsd, please dont drop
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
|
||||
inherit eutils autotools-multilib
|
||||
|
||||
MY_P=onig-${PV}
|
||||
|
||||
DESCRIPTION="a regular expression library for different character encodings"
|
||||
HOMEPAGE="http://www.geocities.jp/kosako3/oniguruma"
|
||||
SRC_URI="http://www.geocities.jp/kosako3/oniguruma/archive/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="combination-explosion-check crnl-as-line-terminator static-libs"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-5.9.3-makefile.patch )
|
||||
DOCS=( AUTHORS HISTORY README{,.ja} doc/{API,FAQ,RE}{,.ja} )
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable combination-explosion-check)
|
||||
$(use_enable crnl-as-line-terminator)
|
||||
)
|
||||
autotools-multilib_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-multilib_src_install
|
||||
use static-libs || prune_libtool_files
|
||||
}
|
@ -1,6 +1,5 @@
|
||||
DIST openssl-0.9.8y.tar.gz 3785001 SHA256 bbecf13495e612936e3a9860c29c0701413564b7a964bf771a3575eaa867cee3 SHA512 cdc05067343d6b06a0d0278e90abcea9bf58439c98279ce0ce22673bf6f4a6597babcb276635c3b15cf04ec76cf53320236f5b6bbc46544a61280825f5b7b3cc WHIRLPOOL c8c9cb00f303c2d95a1d2000c74bb146fb069da9471093bf7a2c00db2a5955c2d63908b3314eb9cd12ea1e80c3bac143d3774bc27515f2ab03c5ef4d88b61612
|
||||
DIST openssl-1.0.0j.tar.gz 4047852 SHA256 626fb8fcb3eb7e966edbe71553ff993d137f6e8a87b05051a3695e621098b8af SHA512 9796c75b4d5de57928708f5f0a8ca01aff5b4974b60006454657ed54c34998bc54d747af03860d319db7e7a57b0cd3c267758ffaac31be2be045c977d5fc33d4 WHIRLPOOL 239f051930d9562e7266edd69cf3a1060d381a95228fd17813dd2dbf469c2cf066786b277c2fd56973b830a6b43f28934f5f15d3b6dfac8f37a6e6a65fcae455
|
||||
DIST openssl-1.0.1f.tar.gz 4509212 SHA256 6cc2a80b17d64de6b7bac985745fdaba971d54ffd7d38d3556f998d7c0c9cb5a SHA512 8a50892ce0c32707486e248b273631c38e9743371f28f96b635a9e61dac31919e5cf00690d0926c1f425c718cb56c4fe18a87c6e679e0543ad453e42f7a811ef WHIRLPOOL 4489061d7348a53ed23fd01fbaf36b701c5a17968a4811cf0289aa8604752b1e3b3f4ed53ac629db3948d58fab1d9e0efdae5f6cde39a78828dd8b220fdb3900
|
||||
DIST openssl-1.0.1g.tar.gz 4509047 SHA256 53cb818c3b90e507a8348f4f5eaedb05d8bfe5358aabb508b7263cc670c3e028 SHA512 66ebbad3c8ad98a07b486d39d0c3ae62b00133f8f2877cf8b97c461e7c7f40b29cf9c3cae82cf73a92dcf1daa63d33aa76c910fbcbe60158589fc7cb48f41e6d WHIRLPOOL 6bfb30d1f41b051f794e2eb80ad9116b064f6d464c22698538c4e16b85739b80744387ca160fd1a86b92814b5b1b3fc7d0658a709942b7b31b198da8cce37056
|
||||
DIST openssl-1.0.2-beta1.tar.gz 4901640 SHA256 4dbb1812d8129c9f1d0444e8947666668844137a52b59722f3f847cff006cf9b SHA512 5e5c36fd05710052d3fc791d0bb52494533e817af5cb9f9d3604e67bbc459f22a4e64a901b38f14f3f949069bc6a9f79dee7ecdce7a362f8285ce9a9ea9e22a6 WHIRLPOOL d6a4b38c256aed2cad98d7e978a2ca61b215bdc1b7f5fdaf5759ebb211da3988f3bc403410f6ac68ca801d2b20b459e4a0d916db7eb6126e87b84d93d5433776
|
||||
DIST openssl-c_rehash.sh.1.7 4167 SHA256 4999ee79892f52bd6a4a7baba9fac62262454d573bbffd72685d3aae9e48cee0 SHA512 55e8c2e827750a4f375cb83c86bfe2d166c01ffa5d7e9b16657b72b38b747c8985dd2c98f854c911dfbbee2ff3e92aff39fdf089d979b2e3534b7685ee8b80da WHIRLPOOL c88f06a3b8651f76b6289552cccceb64e13f6697c5f0ce3ff114c781ce1c218912b8ee308af9d087cd76a9600fdacda1953175bff07d7d3eb21b0c0b7f4f1ce1
|
||||
|
@ -1,239 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-1.0.1f.ebuild,v 1.14 2014/01/26 11:59:33 ago Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs multilib
|
||||
|
||||
REV="1.7"
|
||||
DESCRIPTION="full-strength general purpose cryptography library (including SSL and TLS)"
|
||||
HOMEPAGE="http://www.openssl.org/"
|
||||
SRC_URI="mirror://openssl/source/${P}.tar.gz
|
||||
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/${PN}/${PN}-c_rehash.sh?rev=${REV} -> ${PN}-c_rehash.sh.${REV}"
|
||||
|
||||
LICENSE="openssl"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
|
||||
IUSE="bindist gmp kerberos rfc3779 sse2 static-libs test +tls-heartbeat vanilla zlib"
|
||||
|
||||
# Have the sub-libs in RDEPEND with [static-libs] since, logically,
|
||||
# our libssl.a depends on libz.a/etc... at runtime.
|
||||
LIB_DEPEND="gmp? ( dev-libs/gmp[static-libs(+)] )
|
||||
zlib? ( sys-libs/zlib[static-libs(+)] )
|
||||
kerberos? ( app-crypt/mit-krb5 )"
|
||||
# The blocks are temporary just to make sure people upgrade to a
|
||||
# version that lack runtime version checking. We'll drop them in
|
||||
# the future.
|
||||
RDEPEND="static-libs? ( ${LIB_DEPEND} )
|
||||
!static-libs? ( ${LIB_DEPEND//\[static-libs(+)]} )
|
||||
!<net-misc/openssh-5.9_p1-r4
|
||||
!<net-libs/neon-0.29.6-r1"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/diffutils
|
||||
>=dev-lang/perl-5
|
||||
test? ( sys-devel/bc )"
|
||||
PDEPEND="app-misc/ca-certificates"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}.tar.gz
|
||||
SSL_CNF_DIR="/etc/ssl"
|
||||
sed \
|
||||
-e "/^DIR=/s:=.*:=${EPREFIX}${SSL_CNF_DIR}:" \
|
||||
-e "s:SSL_CMD=/usr:SSL_CMD=${EPREFIX}/usr:" \
|
||||
"${DISTDIR}"/${PN}-c_rehash.sh.${REV} \
|
||||
> "${WORKDIR}"/c_rehash || die #416717
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Make sure we only ever touch Makefile.org and avoid patching a file
|
||||
# that gets blown away anyways by the Configure script in src_configure
|
||||
rm -f Makefile
|
||||
|
||||
if ! use vanilla ; then
|
||||
epatch "${FILESDIR}"/${PN}-1.0.0a-ldflags.patch #327421
|
||||
epatch "${FILESDIR}"/${PN}-1.0.0d-windres.patch #373743
|
||||
epatch "${FILESDIR}"/${PN}-1.0.0h-pkg-config.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1-parallel-build.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1-x32.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1e-ipv6.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1f-perl-5.18.patch #497286
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1e-s_client-verify.patch #472584
|
||||
epatch "${FILESDIR}"/${PN}-1.0.1f-revert-alpha-perl-generation.patch #499086
|
||||
epatch_user #332661
|
||||
fi
|
||||
|
||||
# disable fips in the build
|
||||
# make sure the man pages are suffixed #302165
|
||||
# don't bother building man pages if they're disabled
|
||||
sed -i \
|
||||
-e '/DIRS/s: fips : :g' \
|
||||
-e '/^MANSUFFIX/s:=.*:=ssl:' \
|
||||
-e '/^MAKEDEPPROG/s:=.*:=$(CC):' \
|
||||
-e $(has noman FEATURES \
|
||||
&& echo '/^install:/s:install_docs::' \
|
||||
|| echo '/^MANDIR=/s:=.*:='${EPREFIX}'/usr/share/man:') \
|
||||
Makefile.org \
|
||||
|| die
|
||||
# show the actual commands in the log
|
||||
sed -i '/^SET_X/s:=.*:=set -x:' Makefile.shared
|
||||
|
||||
# allow openssl to be cross-compiled
|
||||
cp "${FILESDIR}"/gentoo.config-1.0.1 gentoo.config || die
|
||||
chmod a+rx gentoo.config
|
||||
|
||||
append-flags -fno-strict-aliasing
|
||||
append-flags $(test-flags-CC -Wa,--noexecstack)
|
||||
|
||||
sed -i '1s,^:$,#!'${EPREFIX}'/usr/bin/perl,' Configure #141906
|
||||
# The config script does stupid stuff to prompt the user. Kill it.
|
||||
sed -i '/stty -icanon min 0 time 50; read waste/d' config || die
|
||||
./config --test-sanity || die "I AM NOT SANE"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
unset APPS #197996
|
||||
unset SCRIPTS #312551
|
||||
unset CROSS_COMPILE #311473
|
||||
|
||||
tc-export CC AR RANLIB RC
|
||||
|
||||
# Clean out patent-or-otherwise-encumbered code
|
||||
# Camellia: Royalty Free http://en.wikipedia.org/wiki/Camellia_(cipher)
|
||||
# IDEA: Expired http://en.wikipedia.org/wiki/International_Data_Encryption_Algorithm
|
||||
# EC: ????????? ??/??/2015 http://en.wikipedia.org/wiki/Elliptic_Curve_Cryptography
|
||||
# MDC2: Expired http://en.wikipedia.org/wiki/MDC-2
|
||||
# RC5: 5,724,428 03/03/2015 http://en.wikipedia.org/wiki/RC5
|
||||
|
||||
use_ssl() { usex $1 "enable-${2:-$1}" "no-${2:-$1}" " ${*:3}" ; }
|
||||
echoit() { echo "$@" ; "$@" ; }
|
||||
|
||||
local krb5=$(has_version app-crypt/mit-krb5 && echo "MIT" || echo "Heimdal")
|
||||
|
||||
# See if our toolchain supports __uint128_t. If so, it's 64bit
|
||||
# friendly and can use the nicely optimized code paths. #460790
|
||||
local ec_nistp_64_gcc_128
|
||||
# Disable it for now though #469976
|
||||
#if ! use bindist ; then
|
||||
# echo "__uint128_t i;" > "${T}"/128.c
|
||||
# if ${CC} ${CFLAGS} -c "${T}"/128.c -o /dev/null >&/dev/null ; then
|
||||
# ec_nistp_64_gcc_128="enable-ec_nistp_64_gcc_128"
|
||||
# fi
|
||||
#fi
|
||||
|
||||
local sslout=$(./gentoo.config)
|
||||
einfo "Use configuration ${sslout:-(openssl knows best)}"
|
||||
local config="Configure"
|
||||
[[ -z ${sslout} ]] && config="config"
|
||||
echoit \
|
||||
./${config} \
|
||||
${sslout} \
|
||||
$(use sse2 || echo "no-sse2") \
|
||||
enable-camellia \
|
||||
$(use_ssl !bindist ec) \
|
||||
${ec_nistp_64_gcc_128} \
|
||||
enable-idea \
|
||||
enable-mdc2 \
|
||||
$(use_ssl !bindist rc5) \
|
||||
enable-tlsext \
|
||||
$(use_ssl gmp gmp -lgmp) \
|
||||
$(use_ssl kerberos krb5 --with-krb5-flavor=${krb5}) \
|
||||
$(use_ssl rfc3779) \
|
||||
$(use_ssl tls-heartbeat heartbeats) \
|
||||
$(use_ssl zlib) \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--openssldir="${EPREFIX}"${SSL_CNF_DIR} \
|
||||
--libdir=$(get_libdir) \
|
||||
shared threads \
|
||||
|| die
|
||||
|
||||
# Clean out hardcoded flags that openssl uses
|
||||
local CFLAG=$(grep ^CFLAG= Makefile | LC_ALL=C sed \
|
||||
-e 's:^CFLAG=::' \
|
||||
-e 's:-fomit-frame-pointer ::g' \
|
||||
-e 's:-O[0-9] ::g' \
|
||||
-e 's:-march=[-a-z0-9]* ::g' \
|
||||
-e 's:-mcpu=[-a-z0-9]* ::g' \
|
||||
-e 's:-m[a-z0-9]* ::g' \
|
||||
)
|
||||
sed -i \
|
||||
-e "/^CFLAG/s|=.*|=${CFLAG} ${CFLAGS}|" \
|
||||
-e "/^SHARED_LDFLAGS=/s|$| ${LDFLAGS}|" \
|
||||
Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# depend is needed to use $confopts; it also doesn't matter
|
||||
# that it's -j1 as the code itself serializes subdirs
|
||||
emake -j1 depend
|
||||
emake all
|
||||
# rehash is needed to prep the certs/ dir; do this
|
||||
# separately to avoid parallel build issues.
|
||||
emake rehash
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_PREFIX="${D}" install
|
||||
dobin "${WORKDIR}"/c_rehash #333117
|
||||
dodoc CHANGES* FAQ NEWS README doc/*.txt doc/c-indentation.el
|
||||
dohtml -r doc/*
|
||||
use rfc3779 && dodoc engines/ccgost/README.gost
|
||||
|
||||
# This is crappy in that the static archives are still built even
|
||||
# when USE=static-libs. But this is due to a failing in the openssl
|
||||
# build system: the static archives are built as PIC all the time.
|
||||
# Only way around this would be to manually configure+compile openssl
|
||||
# twice; once with shared lib support enabled and once without.
|
||||
use static-libs || rm -f "${ED}"/usr/lib*/lib*.a
|
||||
|
||||
# create the certs directory
|
||||
dodir ${SSL_CNF_DIR}/certs
|
||||
cp -RP certs/* "${ED}"${SSL_CNF_DIR}/certs/ || die
|
||||
rm -r "${ED}"${SSL_CNF_DIR}/certs/{demo,expired}
|
||||
|
||||
# Namespace openssl programs to prevent conflicts with other man pages
|
||||
cd "${ED}"/usr/share/man
|
||||
local m d s
|
||||
for m in $(find . -type f | xargs grep -L '#include') ; do
|
||||
d=${m%/*} ; d=${d#./} ; m=${m##*/}
|
||||
[[ ${m} == openssl.1* ]] && continue
|
||||
[[ -n $(find -L ${d} -type l) ]] && die "erp, broken links already!"
|
||||
mv ${d}/{,ssl-}${m}
|
||||
# fix up references to renamed man pages
|
||||
sed -i '/^[.]SH "SEE ALSO"/,/^[.]/s:\([^(, ]*(1)\):ssl-\1:g' ${d}/ssl-${m}
|
||||
ln -s ssl-${m} ${d}/openssl-${m}
|
||||
# locate any symlinks that point to this man page ... we assume
|
||||
# that any broken links are due to the above renaming
|
||||
for s in $(find -L ${d} -type l) ; do
|
||||
s=${s##*/}
|
||||
rm -f ${d}/${s}
|
||||
ln -s ssl-${m} ${d}/ssl-${s}
|
||||
ln -s ssl-${s} ${d}/openssl-${s}
|
||||
done
|
||||
done
|
||||
[[ -n $(find -L ${d} -type l) ]] && die "broken manpage links found :("
|
||||
|
||||
dodir /etc/sandbox.d #254521
|
||||
echo 'SANDBOX_PREDICT="/dev/crypto"' > "${ED}"/etc/sandbox.d/10openssl
|
||||
|
||||
diropts -m0700
|
||||
keepdir ${SSL_CNF_DIR}/private
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
has_version ${CATEGORY}/${PN}:0.9.8 && return 0
|
||||
preserve_old_lib /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.8
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ebegin "Running 'c_rehash ${EROOT%/}${SSL_CNF_DIR}/certs/' to rebuild hashes #333069"
|
||||
c_rehash "${EROOT%/}${SSL_CNF_DIR}/certs" >/dev/null
|
||||
eend $?
|
||||
|
||||
has_version ${CATEGORY}/${PN}:0.9.8 && return 0
|
||||
preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.8
|
||||
}
|
@ -1,11 +1,5 @@
|
||||
DIST billiard-2.7.3.18.tar.gz 125092 SHA256 3ec1c17ff0c51ebb03ec3dea4629f81617424c937360ce1e5ba930dea147b659 SHA512 976db60981cc2e011dac9b43ac81ddbc6a2d51dc7d4b18ed72be8f879f34175cd6351c6f52a219448f7614aecf71f5f9e26393b8653de5bf714aca89e3f051b8 WHIRLPOOL 983d5c44d25a188a6a3a95767e9a9e52b0543a6f6f1b79942b9b587f5149aa5f49d47a866193b5348aad020f8f144846d3d234b703c2a3068cf6c7478227af80
|
||||
DIST billiard-2.7.3.19.tar.gz 125515 SHA256 0e0fcf9a7cf44bf7634614070d117a23ef9ac945b6c55ed454b43f5a85adc2db SHA512 4d0938ac276996433a20401e29f286555b850517e07c3747c0417a21dc1b4edc74e7e360db18915f9707c1e9c8b32b6a8ceb3016df1d6da91d5165b59bd7a947 WHIRLPOOL 8b953a283a89d49afde6229ead41919a42e4f2039d42025f6ec8c56bb3d1bb4b14ebd4be2ac98a1c7769810185b33f28ff48bc7a63a5dfb8b705238a5cd70e93
|
||||
DIST billiard-2.7.3.20.tar.gz 125674 SHA256 7f828599fc5ed67e9588ff2341e96fd8cf975d2479c51bd6bf9a26df65ad200e SHA512 76f62567e471aa7841d7fd281e3680b4a011f6b5c72d744576ded0640777da341c0bcb01722711e223bc0278d510b4a4a05ef68b554a982141dcdd4d768cd789 WHIRLPOOL e96eb730a13a90106140b76a3d4a8f387621ce4c2c1ee151222b6091cef22f81db4f6152bef9fbd58e8aa128affc91bf28fd0f7c32c87185b179e88b74e1047e
|
||||
DIST billiard-2.7.3.21.tar.gz 125890 SHA256 1a72a6f2127e3572f4ba40cb64bd5d078111520c2c080f1fb08daf217c483be5 SHA512 2005bdbcd6ebaa6a97cdfb4220956f2bb2abd71164d7fd123f96773bf924764bda1f09140acf3d9aab6bc80ff8eb77d05c526b8571c551204e006806533fdb9e WHIRLPOOL f18be92edaa2cef4293bc40a65ce406fdd50a7d6857a9d3ef48fc96fe9e140e524ed814e51284dcdae2c017b6a82e5752852e26fc3db5a199ce908c30121e5b9
|
||||
DIST billiard-2.7.3.22.tar.gz 126489 SHA256 061110eb4634a2b01844b4548c9f88f5e8bde914177e2385c3c628b8b348c7b5 SHA512 dbe61f01a42fa3d419b339050e80efe195728a04d92e6ec755404f57db55b277a552d3fb09808f7677a08c3c0aab2f87ab5802a3b356ef65f7e0fb30f220287a WHIRLPOOL e60cdc81f4dfb7194d653f528829342baf8e86cd6e621fe5c68035ba5405106c58f4df7aba6fb459f471ac907fcd2445a2b25945f03bedb97bd18e26337ab90d
|
||||
DIST billiard-2.7.3.23.tar.gz 126616 SHA256 11b43d373477f9490adc1473ab4b95e19d45ab22dbd821ad418547e12f0d4383 SHA512 243a2d6188b07e0e28e0a1a38b90dc0efddc96a8fad54e06a514a0709a83acd2570e24d3ca22b94a673105e34f08f0b0c5fbcc1948ea34ef62b744c21203be17 WHIRLPOOL 6529bcb9c5986ae013d46325c5fad869e3bfd6744dda4434c1352975e8e6514b9ea6259ac3c185bcc537c986acce9374f9dcd068f87f264cf4b3c4cae37786ee
|
||||
DIST billiard-2.7.3.27.tar.gz 128154 SHA256 c5a3a5c8d46b7a09130f6ee2bdea971170c822e58edba37b799ac13539ce185d SHA512 d79834c4c6279403d5f2c7b12c4d6ed76f95da649280f10bd45f49cd6af6d4a4d8d6adc0f78bf67be33c9d491c0ce33a4aac08c4851a06fcbf6fc5896298edd7 WHIRLPOOL 4685a5a78dc3456ba03932e524e83598c9b7df4c6c85935d7f5663b05fbc179951805321ce9f0ed37fa87924207d34feb869deac97814cacd411a76277c298e2
|
||||
DIST billiard-2.7.3.28.tar.gz 132990 SHA256 1b2231dbd516e4d484de14c76b7916513d901397ac93973c3f61e8382cc7efb7 SHA512 eaf932fa4f5c8261bd6213744809bddad9abe0862b4e0656d4aa2c72fb4cc414cefc342f16d2bd043c55ffad7edf53c8654ba9d93271c51748e8e32ea96092b6 WHIRLPOOL 56416cbf46fda77ceae665959418baf8e3ec4f5f03c2fa4b8eee150eb6b0df4ad70ed74361a6145c66265850976136419e6bad32abbe960f58afafcb0a464d19
|
||||
DIST billiard-2.7.3.31.tar.gz 134743 SHA256 4e0f290d73a7fde7dbb0917e5a0542e454f0e0e459a27b2077d4782600acd4ae SHA512 3d861af30bd2ddf31c9211f126ee78cdc705c9a9962989b82145cf4d40a340ee7e785fef79242a667add148263f63e7ff32ca0b7b4de7f18b381105bcb933c99 WHIRLPOOL a99329fe55eef631196da42d9a0ca58bf8d70809210bb8681a639b0e72a64b311d0537e284a48f078c81bd4abf70f054a7901419934e983efa40715713033c94
|
||||
DIST billiard-2.7.3.32.tar.gz 134769 SHA256 42e7ec8451bb5fd5888756da3a66bd5a8c075dd5717027cc6a20c3eb099273cd SHA512 0b392455335add24d8ef8f6c488ed2f269968bc870b4704007d591f11fe536cba841938add61689ef6f505c5b76a63f88b9f581d7da47c5b897c7ca211f0884f WHIRLPOOL 8fa0436ded9248a4f4f4a8c341223dbbf4b30fb7f2f6a5a07f341944621782ac81fe8285b1946bbbdb0ff604e991ec45c52471f156deb486e093605ad07f286e
|
||||
DIST billiard-3.3.0.14.tar.gz 149022 SHA256 f679a4635df6c5780a0bf80208885c5cf30a5a6e0072c2e293005abbebb0c05e SHA512 b5bd3d9e3a07fdcfddff236c180c757ad28f514c02c05b722ca1576e569ecf25f2f6a8c722f86794119aed45ae26b17dd1fbb1e65bd9c60ef86f69b845f50d17 WHIRLPOOL c56b555d1ce3f826d6eaf35188c1eb0a821c88a12035ae45b98c0070a8b02f5dc9c0803f201b937686f5dd6de8ee03777367987e21ceaa61292bd095c5b82b6e
|
||||
DIST billiard-3.3.0.16.tar.gz 150922 SHA256 354b790f7d686a881cdff834ba5f5ea4f29283e1f9a4ca6a0f11934430ad16d6 SHA512 675a87ba371ef6341f54d7077fcb0697187544443aee515bafa2e4c7b646d49f14b5c19b26ec6714f3ecb8004bef905a6dc4ea0251e7c9e54bed9418a8e06550 WHIRLPOOL 3a6e466936107cdc27cd2784aa91370ef7d910f82fff973d63f9c1e9a24d60e911c2de3e0ddd5a53690f541a85c1999ba3f18597dffae80f2534e4ade1cfdfb4
|
||||
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/billiard/billiard-2.7.3.18.ebuild,v 1.1 2012/11/26 22:42:04 iksaif Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PYTHON_DEPEND="*:2.5"
|
||||
RESTRICT_PYTHON_ABIS="2.4"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
DISTUTILS_SRC_TEST="nosetests"
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Python multiprocessing fork"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/billiard https://github.com/celery/billiard"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools"
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/billiard/billiard-2.7.3.19.ebuild,v 1.1 2013/01/08 20:53:41 iksaif Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PYTHON_DEPEND="*:2.5"
|
||||
RESTRICT_PYTHON_ABIS="2.4"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
DISTUTILS_SRC_TEST="nosetests"
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Python multiprocessing fork"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/billiard https://github.com/celery/billiard"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools"
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/billiard/billiard-2.7.3.20.ebuild,v 1.1 2013/02/22 08:11:01 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PYTHON_DEPEND="*:2.5"
|
||||
RESTRICT_PYTHON_ABIS="2.4"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
DISTUTILS_SRC_TEST="nosetests"
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Python multiprocessing fork"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/billiard https://github.com/celery/billiard"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools"
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/billiard/billiard-2.7.3.21.ebuild,v 1.3 2014/03/31 20:32:52 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2} pypy pypy2_0 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python multiprocessing fork"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/billiard https://github.com/celery/billiard"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
nosetests || die
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/billiard/billiard-2.7.3.22.ebuild,v 1.3 2014/03/31 20:32:52 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2} pypy pypy2_0 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python multiprocessing fork"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/billiard https://github.com/celery/billiard"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
nosetests || die
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/billiard/billiard-2.7.3.23.ebuild,v 1.3 2014/03/31 20:32:52 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2} pypy pypy2_0 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python multiprocessing fork"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/billiard https://github.com/celery/billiard"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
nosetests || die
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/billiard/billiard-2.7.3.27.ebuild,v 1.3 2014/03/31 20:32:52 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2} pypy pypy2_0 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python multiprocessing fork"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/billiard https://github.com/celery/billiard"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
nosetests || die
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/billiard/billiard-2.7.3.28.ebuild,v 1.5 2014/03/31 20:32:52 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy pypy2_0 )
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
DESCRIPTION="Python multiprocessing fork"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/billiard https://github.com/celery/billiard"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_compile() {
|
||||
if [[ ${EPYTHON} != python3* ]]; then
|
||||
local CFLAGS=${CFLAGS}
|
||||
append-cflags -fno-strict-aliasing
|
||||
fi
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd "${BUILD_DIR}" || die
|
||||
nosetests billiard.tests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/billiard/billiard-3.3.0.16.ebuild,v 1.1 2014/04/08 07:17:29 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
# mock is not ready for py3.4 support
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy pypy2_0 )
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
DESCRIPTION="Python multiprocessing fork"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/billiard https://github.com/celery/billiard"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( >=dev-python/unittest2-0.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/nose-cover3[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}] )"
|
||||
# The usual req'd for tests
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_compile() {
|
||||
if ! python_is_python3; then
|
||||
local CFLAGS=${CFLAGS}
|
||||
append-cflags -fno-strict-aliasing
|
||||
fi
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && esetup.py build_sphinx --builder="html" --source-dir=Doc/
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd "${BUILD_DIR}" || die
|
||||
# The teardown in __init__.py breaks pypy's installed nose
|
||||
if [[ "${EPYTHON}" == pypy-c* ]]; then
|
||||
rm lib/billiard/tests/__init__.py || die
|
||||
echo "from __future__ import absolute_import" >> ./lib/billiard/tests/__init__.py || die
|
||||
fi
|
||||
nosetests billiard.tests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( build/sphinx/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST cairocffi-0.5.1.tar.gz 70948 SHA256 eb85249f03254f42ee298c20d5827fbab2b95128919203d0581c37d929e824ee SHA512 e34a8c2c53c6fe29573293372b3fb952a8f5051d7c51125523fbbbcf0499b80ccc743713b6c6560d2ca74cfb96392810e7396320c6e70e55f01ff7663f921612 WHIRLPOOL 98b8735fab09bce06ef55ff1738430123661a28af08fb46442ab9333a044c6e38ab2bdf36898eec4493ed08982e375f0901fa8f8200fcf6f84ac10d807623848
|
||||
DIST cairocffi-0.5.3.tar.gz 71140 SHA256 b1030159372b0c961a87bed4b5479807ba798d6d2c25e4e34d9660e2046ca98e SHA512 defbecaa00675a03cbe96e327dee24885bfb387e23dc175db2fd146d628dd6286003a4e19abf37014269dbb292f1f55edb397ca469ca30c5ffd521dddd3061d1 WHIRLPOOL 134f14185504e6ab5ec54d1c9e1b27e8271c011e08516d51e10b34e906a7c7175ee04dc807269723c3a30aef26547dee6bc67e94033cc5ad8a8444f8c28f153b
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/cairocffi/cairocffi-0.5.3.ebuild,v 1.1 2014/04/08 08:31:11 idella4 Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="CFFI-based drop-in replacement for Pycairo"
|
||||
MY_PN="${PN}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
HOMEPAGE="https://github.com/SimonSapin/cairocffi"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND=">=dev-python/cffi-0.6[${PYTHON_USEDEP}]
|
||||
x11-libs/cairo"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/mapping.patch )
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && esetup.py build_sphinx
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test ${PN}/ || die "testsuite failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
diff -ur cairocffi-0.5.3.orig/docs/conf.py cairocffi-0.5.3/docs/conf.py
|
||||
--- docs/conf.py 2013-05-24 10:33:32.000000000 +0800
|
||||
+++ docs/conf.py 2014-04-08 16:09:39.648229837 +0800
|
||||
@@ -14,6 +14,3 @@
|
||||
exclude_patterns = ['_build']
|
||||
autodoc_member_order = 'bysource'
|
||||
autodoc_default_flags = ['members']
|
||||
-intersphinx_mapping = {
|
||||
- 'http://docs.python.org/': None,
|
||||
- 'http://cairographics.org/documentation/pycairo/2/': None}
|
@ -1 +1,2 @@
|
||||
DIST certifi-0.0.8.tar.gz 118129 SHA256 46ecf5f7526a08cc1f8bc8232adf0cffce046f46ceff95539daec42ebc4849ef SHA512 66b447fd5d63151aa3776bad09d91d70658e03f8bfa0942d4f178edbbf27a88cbbc2f73298494458322eec0d92b7282b40b5ef8d287bd54f5ff543ff2234e11c WHIRLPOOL 043582a89c54be6726283b913f0c21773fe062f4e210995ece28d60cdd91b997d8255e2d20aa889b8f4bdf6a6bd64c6e854eccf46222584d5b78b6138f77c59b
|
||||
DIST certifi-1.0.1.tar.gz 168859 SHA256 f2c18c7edd349ec10378ef43ff16f81ae1d0af61d5d2858a8b383e8f6814a9cc SHA512 207e0d8e0e675cc1b40f61a7c0b4564bc2cac56e156906a40890cdee9433209fbd0fe153437486d37faea9f6431975f40a251925f4b9a4b046e45e5aa84870d8 WHIRLPOOL 23f7748ff9cc39db7edf88851bca9cfbfacfe95b8315275461364900d1bdde4478d91ca025b722633e655d13d70cccecabf754571ce2b9595969afc23c5000fd
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/certifi/certifi-1.0.1.ebuild,v 1.1 2014/04/08 10:39:25 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} pypy2_0 pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="SSL root certificate bundle"
|
||||
HOMEPAGE="http://python-requests.org/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-misc/ca-certificates"
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
# Overwrite bundled certificates with a symlink.
|
||||
dosym "${EPREFIX}/etc/ssl/certs/ca-certificates.crt" "${sitedir#${EPREFIX}}/certifi/cacert.pem"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST guessit-0.5.4.tar.gz 93050 SHA256 2c4b2c3c703485a03794746a496fae69f1da5d8c9eaf08b8e9571515704b69b0 SHA512 353f45a80726edc6978be3707916a4919c140f2304668f7e1e9453fb1c225f83e9f19a317b8b3eafff449a41fd959fceeb6eecc7021862f856a34cd9608c170c WHIRLPOOL 3465f5dd0d029d2252930c7ceebf963b85466374912919500a15258707a10faa5379a91d23ba81204324895fb37de9e1ced8c6daa6ed12e46258b82319de856a
|
||||
DIST guessit-0.6.2.tar.gz 123216 SHA256 27d6dfa29f01f4897688d04d94d58298b4e1b94163d8ff72646be59bed5ab6db SHA512 0c9340c0755ef91ce432ed80a0131659f23489e57092270b2acc433b74930bb3b3759959ab5cb3547c10b6011e2f52db56feffd8e7ec7bc6e31fdcd1d786b8f9 WHIRLPOOL fd86094931d3a309363a8abf739152062ef854997ee2c0a17ef85fb1a1afb9fe82a8db299be5da075a62ca6542b5ab31e9c87a6f9aed0be6f1df49550e39b157
|
||||
DIST guessit-0.7.1.tar.gz 1177369 SHA256 4315afd516ff824a1ccd857a43b74fb2f0f1b794f8049685eae72d6e64d8dc92 SHA512 ce30496852eeb46f6e49744e6f3a32045145da27226a7520a12ce911289ff45be5c704899377bd4b708867205dd230a9a464bc4d11d6dc1beec334054603be9e WHIRLPOOL c96f7740b8a0ae026d986f367bb3b4665e915ed83edb547db135cdf2acbf3f1faae8a43f5ef0e509faf7e856c3db59d01a8a17008ebbddfcf8af22e5e5d79483
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/guessit/guessit-0.7.1.ebuild,v 1.1 2014/04/08 17:08:29 maksbotan Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="library for guessing information from video files"
|
||||
HOMEPAGE="http://guessit.readthedocs.org https://github.com/wackou/guessit https://pypi.python.org/pypi/guessit"
|
||||
SRC_URI="https://github.com/wackou/guessit/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/babelfish-0.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-0.14[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
)
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -1,4 +1,8 @@
|
||||
DIST numpy-1.8.0.tar.gz 3779617 SHA256 2764d0819acc77e9ff81b060fe7f69530b0d85c26ac9d162639b787cb227d253 SHA512 ec3d002ed786335e8748983261c96f88a9f1520fc345ad5b810dc02a5e126e15fe5afb02bed1f4b43d580a1da39583d86b84f57dc456b0702653e34e5357c857 WHIRLPOOL 8796d90795ddec62e6d72be433ea00917a63ef39cf3fe81e094f653e1863b69ecdce812995877f78e4324434141b03e2ceb3f872ed4e023b19c6bd9bcc294ac2
|
||||
DIST numpy-1.8.1.tar.gz 3794076 SHA256 3d722fc3ac922a34c50183683e828052cd9bb7e9134a95098441297d7ea1c7a9 SHA512 39ef9e13f8681a2c2ba3d74ab96fd28c5669e653308fd1549f262921814fa7c276ce6d9fb65ef135006584c608bdf3db198d43f66c9286fc7b3c79803dbc1f57 WHIRLPOOL 10615c0c70c153156034447e9c3f2b70b0259173a44af3b5cc641dd31c0af71ef1053a9cc7938deff5edb899ae2666b2b3109491d7394f03d1a81cb19722d398
|
||||
DIST numpy-html-1.8.0.zip 9779825 SHA256 39e853c1aaa711976333782f465f2579ca66e6698393f6ba79f5cc78317b1203 SHA512 33333c48a3f4d27ccddf6696dce4e346f8729d1f398128b3bfebb8a9d53ded7bb62b63a766319f6e49ba7cf8ca4e1ce252996acd263976ad2990bf9650d71043 WHIRLPOOL 7eea0ad3418c55d6104a4a115fcdcd5eeb291b9fc1237724e10dcbbf95bc7a4a23b519c64976ac405fb4c5abbaae87a6c747f9ad695d08b6326b459ba1fb8a15
|
||||
DIST numpy-html-1.8.1.zip 9703711 SHA256 f7fc3af4dba7b40deabd1828a86ea2e2eb5b9fa17c7ebddd73ee4cb8625105b1 SHA512 1d52c657931f4eebb5325159444aedd969b201f5098855058f1ef632dc8677372d632291154ebc3db9869cdb8abf7eb820eade1a9edba2d6be1ae918cb38c071 WHIRLPOOL e502b1416bad4b189773ba98035dfbeed0dc251d8f9b76e336450f14e8425caf92d55d2b1c2cc5ef9eb2d33eb2bf7cd55e720c1b265e45539b195fea1d7f046c
|
||||
DIST numpy-ref-1.8.0.pdf 5324229 SHA256 49ecb1d768eb48598439cc63058f830ca3522fe1cfeba1a321086e9820ae8911 SHA512 d89314215c4adefa487b3e46b2babeda7739ee193fef821846d4df0089fabf2167b47dd2990b6bd423432f75238547548924622c6f3b9a90a36d578450001eb2 WHIRLPOOL 3bb12c719cbe4734014774f1bfc3f98af544ee2c407adb2e3ee988e2b1035ad0ef711eaa68168656be7b034df2db76c8789daa2940a048b4a6cb3af0bb0eca68
|
||||
DIST numpy-ref-1.8.1.pdf 5348248 SHA256 973851e66d0d5ab095f444f8aeb966fefe2dd544226395abbb110fc1b60f351d SHA512 340dd8f47430f24fea81bb3a8674e1a58f4290a9d1c5d64bac96d50b31a94a770e78381e42daf8b0a6a90cefe5cafe86b0c89f7cc7635a042a7e85eb74bdbdf5 WHIRLPOOL be13f88bb68944186c564a5c3789daededade240a26e7fb61c980a090249ab3a5b1f40805e97214168fbf0c099fb6b12d981ff313bace572f130023b29e7aaa7
|
||||
DIST numpy-user-1.8.0.pdf 408447 SHA256 a8c30360f9e46c63cfdf48fa594971d94d68ce59ece08c13d4acde8b14032cfe SHA512 10293dba45377c6f1024125a49810b01e388eb33a3e8ed75b8ec39c2b93e53878cbe62e6b7adbf1e957dc47ef253e20304afa7d86d798fb5198887cbe618131f WHIRLPOOL 70cc5a5e97a919bb027f92ac87127fb1bc08d06e2a131c4b413837e76d8feab9b65d7dc9e95b6e797d057efb6abf0d2b3e7562ee3cd140b1ff1418bad5475335
|
||||
DIST numpy-user-1.8.1.pdf 408305 SHA256 be827f2d92ef86c3af7f59c623017e7bc23ee95c64f88e8c9871f3ad1f99b262 SHA512 9e646e89e7e67834fa596e43082b43842d1c59287d22fd8d20c9f0a1d3d56a518a08cc2c036de4972ad0d6d9d3c2f56e2210f76e7244d3f7547b5204d84d3c7c WHIRLPOOL bf4105093b208b35b1914e842821b8d289b46eb28f1fda110643f5970bbfafe801e9d148c5f535b43eba9a23e09d333e3aecd9a55b33e64827883d253477d19a
|
||||
|
@ -0,0 +1,146 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/numpy-1.8.1.ebuild,v 1.1 2014/04/08 23:33:11 bicatali Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} )
|
||||
|
||||
FORTRAN_NEEDED=lapack
|
||||
|
||||
inherit distutils-r1 eutils flag-o-matic fortran-2 multilib toolchain-funcs versionator
|
||||
|
||||
DOC_PV="${PV}"
|
||||
|
||||
DESCRIPTION="Fast array and numerical python library"
|
||||
HOMEPAGE="http://numpy.scipy.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
|
||||
doc? (
|
||||
http://docs.scipy.org/doc/${P}/${PN}-html-${DOC_PV}.zip
|
||||
http://docs.scipy.org/doc/${P}/${PN}-ref-${DOC_PV}.pdf
|
||||
http://docs.scipy.org/doc/${P}/${PN}-user-${DOC_PV}.pdf
|
||||
)"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc lapack test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
lapack? ( virtual/cblas virtual/lapack )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-arch/unzip )
|
||||
lapack? ( virtual/pkgconfig )
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
# Uses distutils.command.config.
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.8.0-no-hardcode-blas.patch
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
if use doc; then
|
||||
unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die
|
||||
fi
|
||||
}
|
||||
|
||||
pc_incdir() {
|
||||
$(tc-getPKG_CONFIG) --cflags-only-I $@ | \
|
||||
sed -e 's/^-I//' -e 's/[ ]*-I/:/g' -e 's/[ ]*$//' -e 's|^:||'
|
||||
}
|
||||
|
||||
pc_libdir() {
|
||||
$(tc-getPKG_CONFIG) --libs-only-L $@ | \
|
||||
sed -e 's/^-L//' -e 's/[ ]*-L/:/g' -e 's/[ ]*$//' -e 's|^:||'
|
||||
}
|
||||
|
||||
pc_libs() {
|
||||
$(tc-getPKG_CONFIG) --libs-only-l $@ | \
|
||||
sed -e 's/[ ]-l*\(pthread\|m\)\([ ]\|$\)//g' \
|
||||
-e 's/^-l//' -e 's/[ ]*-l/,/g' -e 's/[ ]*$//' \
|
||||
| tr ',' '\n' | sort -u | tr '\n' ',' | sed -e 's|,$||'
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
if use lapack; then
|
||||
append-ldflags "$($(tc-getPKG_CONFIG) --libs-only-other cblas lapack)"
|
||||
local libdir="${EPREFIX}"/usr/$(get_libdir)
|
||||
# make sure _dotblas.so gets built
|
||||
sed -i -e '/NO_ATLAS_INFO/,+1d' numpy/core/setup.py || die
|
||||
cat >> site.cfg <<-EOF
|
||||
[blas]
|
||||
include_dirs = $(pc_incdir cblas)
|
||||
library_dirs = $(pc_libdir cblas blas):${libdir}
|
||||
blas_libs = $(pc_libs cblas blas)
|
||||
[lapack]
|
||||
library_dirs = $(pc_libdir lapack):${libdir}
|
||||
lapack_libs = $(pc_libs lapack)
|
||||
EOF
|
||||
else
|
||||
export {ATLAS,PTATLAS,BLAS,LAPACK,MKL}=None
|
||||
fi
|
||||
|
||||
export CC="$(tc-getCC) ${CFLAGS}"
|
||||
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
# See progress in http://projects.scipy.org/scipy/numpy/ticket/573
|
||||
# with the subtle difference that we don't want to break Darwin where
|
||||
# -shared is not a valid linker argument
|
||||
if [[ ${CHOST} != *-darwin* ]]; then
|
||||
append-ldflags -shared
|
||||
fi
|
||||
|
||||
# only one fortran to link with:
|
||||
# linking with cblas and lapack library will force
|
||||
# autodetecting and linking to all available fortran compilers
|
||||
append-fflags -fPIC
|
||||
if use lapack; then
|
||||
NUMPY_FCONFIG="config_fc --noopt --noarch"
|
||||
# workaround bug 335908
|
||||
[[ $(tc-getFC) == *gfortran* ]] && NUMPY_FCONFIG+=" --fcompiler=gnu95"
|
||||
fi
|
||||
|
||||
# don't version f2py, we will handle it.
|
||||
sed -i -e '/f2py_exe/s:+os\.path.*$::' numpy/f2py/setup.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile ${NUMPY_FCONFIG}
|
||||
}
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing ${NUMPY_FCONFIG}
|
||||
|
||||
cd "${TMPDIR}" || die
|
||||
${EPYTHON} -c "
|
||||
import numpy, sys
|
||||
r = numpy.test(label='full', verbose=3)
|
||||
sys.exit(0 if r.wasSuccessful() else 1)" || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install ${NUMPY_FCONFIG}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
dodoc COMPATIBILITY DEV_README.txt THANKS.txt
|
||||
|
||||
docinto f2py
|
||||
dodoc numpy/f2py/docs/*.txt
|
||||
doman numpy/f2py/f2py.1
|
||||
|
||||
if use doc; then
|
||||
dohtml -r "${WORKDIR}"/html/*
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins "${DISTDIR}"/${PN}-{user,ref}-${DOC_PV}.pdf
|
||||
fi
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/os-networksv2-python-novaclient-ext/os-networksv2-python-novaclient-ext-0.21-r1.ebuild,v 1.1 2014/04/08 06:38:42 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Adds network extension support to python-novaclient"
|
||||
HOMEPAGE="https://github.com/rackspace/os_networksv2_python_novaclient_ext"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/os_networksv2_python_novaclient_ext/os_networksv2_python_novaclient_ext-${PV}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
S="${WORKDIR}/os_networksv2_python_novaclient_ext-${PV}"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND=">=dev-python/python-novaclient-2.10.0[${PYTHON_USEDEP}]"
|
@ -1,3 +1,4 @@
|
||||
DIST pymongo-2.5.2.tar.gz 303234 SHA256 84ac1da67d0dabc711fa8259324d4e94b26a85411bcf0c12dc80a427d9f93ecc SHA512 6137bfcd60776b819a4ca4eb09ba3058a62696ab3533646c5f735ec4d336aa888cf0b8b1975acf1522bbd04416ff4337bf8481a0506421730dfdf712232c75c7 WHIRLPOOL 65c9ef69dd75af13ec7e05e77d2f9afc19c32723901bdf28488121770f53dec340721cb6e891d8cd9009547d95957f61dbf9bef72e725f79bcab38a41d94fba7
|
||||
DIST pymongo-2.6.2.tar.gz 322913 SHA256 091d584f7b5d8de60bf6152d9269ec9a29ae7fa34415862b2f092af393233c4e SHA512 786119c788d716bb78a2e40f4a98f1d9be2e5945162ea7b24b5b39535872ba509f75aaeff535ba9cdc483147a4498ffbdf0d483a78464c6075b76bc0816a0cf1 WHIRLPOOL afac43b7d567ab3a629aad3a26ffb5583a1d1a12e4477f6826992ee71431e1947591918895f0dcf0ec48c261c583823534f1e0d1c31746d1651bb273b0f75617
|
||||
DIST pymongo-2.6.3.tar.gz 324241 SHA256 cabe1d785ad5db6ed8ff70dcb9c987958fc75400f066ec78911ca3f37184a4e2 SHA512 6da3cbf035b52379c24df37b76e1eb743b12c1026116e28e4e7b6450e2674d730f9c8c2dd85f352c6ee4c9f604decaffc2dbc57fe64268bd7522d8ce155cca9e WHIRLPOOL ac36dd88c4311237ecda66a6008fa0d89d0670e331df6c49a08a1d3bc4ddcafe72e8e003009c206d3ac12afb1b14afe2d3615834a5a8df5ce30442f7b49fdbf2
|
||||
DIST pymongo-2.7.tar.gz 376543 SHA256 8320bbbb8ca76de86bd47c253cfbfc4aedae3439fc57f6a9f8fdfa15a00bd601 SHA512 da7d10d9d413ecaac92888ebdec05247992586c5a2432770083a704805e17816788a71aa0f25d5cddebd98320a1c8f5f46b59f1c4b1ff9590454bf894510b387 WHIRLPOOL 520ff0501edf47204d9c61e229dba825c29a1ff8238d8555891638adf5e37f94220eca554f7082c1b196f6c97823d19fb174f5fff7816284fa56d4a610001ed7
|
||||
|
@ -0,0 +1,130 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pymongo/pymongo-2.7.ebuild,v 1.1 2014/04/08 14:57:23 ultrabug Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy pypy2_0 )
|
||||
|
||||
inherit check-reqs distutils-r1
|
||||
|
||||
DESCRIPTION="Python driver for MongoDB"
|
||||
HOMEPAGE="http://github.com/mongodb/mongo-python-driver http://pypi.python.org/pypi/pymongo"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc kerberos mod_wsgi test"
|
||||
|
||||
RDEPEND="dev-db/mongodb"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )
|
||||
kerberos? ( dev-python/pykerberos )"
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
reqcheck() {
|
||||
if use test; then
|
||||
# During the tests, database size reaches 1.5G.
|
||||
local CHECKREQS_DISK_BUILD=1536M
|
||||
|
||||
check-reqs_${1}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
reqcheck pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
reqcheck pkg_setup
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
mkdir html || die
|
||||
sphinx-build doc html || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Yes, we need TCP/IP for that...
|
||||
local DB_IP=127.0.0.1
|
||||
local DB_PORT=27000
|
||||
|
||||
export DB_IP DB_PORT
|
||||
|
||||
# 1.5G of disk space per run.
|
||||
local DISTUTILS_NO_PARALLEL_BUILD=1
|
||||
|
||||
distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local dbpath=${TMPDIR}/mongo.db
|
||||
local logpath=${TMPDIR}/mongod.log
|
||||
|
||||
# Now, the hard part: we need to find a free port for mongod.
|
||||
# We're just trying to run it random port numbers and check the log
|
||||
# for bind errors. It shall be noted that 'mongod --fork' does not
|
||||
# return failure when it fails to bind.
|
||||
|
||||
mkdir -p "${dbpath}" || die
|
||||
while true; do
|
||||
ebegin "Trying to start mongod on port ${DB_PORT}"
|
||||
|
||||
LC_ALL=C \
|
||||
mongod --dbpath "${dbpath}" --smallfiles --nojournal \
|
||||
--bind_ip ${DB_IP} --port ${DB_PORT} \
|
||||
--unixSocketPrefix "${TMPDIR}" \
|
||||
--logpath "${logpath}" --fork \
|
||||
&& sleep 2
|
||||
|
||||
# Now we need to check if the server actually started...
|
||||
if [[ ${?} -eq 0 && -S "${TMPDIR}"/mongodb-${DB_PORT}.sock ]]; then
|
||||
# yay!
|
||||
eend 0
|
||||
break
|
||||
elif grep -q 'Address already in use' "${logpath}"; then
|
||||
# ay, someone took our port!
|
||||
eend 1
|
||||
: $(( DB_PORT += 1 ))
|
||||
continue
|
||||
else
|
||||
eend 1
|
||||
eerror "Unable to start mongod for tests. See the server log:"
|
||||
eerror " ${logpath}"
|
||||
die "Unable to start mongod for tests."
|
||||
fi
|
||||
done
|
||||
|
||||
local failed
|
||||
#https://jira.mongodb.org/browse/PYTHON-521, py2.[6-7] has intermittent failure with gevent
|
||||
pushd "${BUILD_DIR}"/../ > /dev/null
|
||||
if [[ "${EPYTHON}" == python3* ]]; then
|
||||
2to3 --no-diffs -w test
|
||||
fi
|
||||
DB_PORT2=$(( DB_PORT + 1 )) DB_PORT3=$(( DB_PORT + 2 )) esetup.py test || failed=1
|
||||
|
||||
mongod --dbpath "${dbpath}" --shutdown
|
||||
|
||||
[[ ${failed} ]] && die "Tests fail with ${EPYTHON}"
|
||||
|
||||
rm -rf "${dbpath}"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
# Maintainer note:
|
||||
# In order to work with mod_wsgi, we need to disable the C extension.
|
||||
# See [1] for more information.
|
||||
# [1] http://api.mongodb.org/python/current/faq.html#does-pymongo-work-with-mod-wsgi
|
||||
distutils-r1_python_install $(use mod_wsgi && echo --no_ext)
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/urwid/urwid-1.2.1.ebuild,v 1.1 2014/04/08 07:24:05 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} )
|
||||
PYTHON_REQ_USE="ncurses"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Urwid is a curses-based user interface library for Python"
|
||||
HOMEPAGE="http://urwid.org/ http://pypi.python.org/pypi/urwid/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux"
|
||||
IUSE="doc examples test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/twisted-core )"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-1.1.0-sphinx.patch )
|
||||
|
||||
python_compile_all() {
|
||||
if use doc ; then
|
||||
if [[ ${EPYTHON} == python3* ]] ; then
|
||||
2to3 -nw --no-diffs docs/conf.py || die
|
||||
fi
|
||||
cd docs
|
||||
sphinx-build . _build/html || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
if [[ ${EPYTHON} == python2* ]] ; then
|
||||
local CFLAGS="${CFLAGS} -fno-strict-aliasing"
|
||||
export CFLAGS
|
||||
fi
|
||||
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST amatch-0.2.11.gem 28672 SHA256 3955bd06c0f9a208dd38bec6c2bc55d5aa8839c934e491f72ce99a48717a52ef SHA512 75b21173a0f4917ebe0418a09896eea04f46ba23eba371c589e1c27b492c40f820e866c6c2b8250c67179b757f11c12a1dff532c3fa55e27476904ad97f04b0b WHIRLPOOL 304bd97d8a6535401aa796732bbfc89467c22c41bba59e3c7bd9d25b69126b62a8247aeb3d7ffa8f69e240c62f7e399200e3c0c0fef4375ad924345c7b1f6c56
|
||||
DIST amatch-0.3.0.gem 28672 SHA256 669bac06769ab21d2fbd87839b5aa1b1d9e0eb39971b4404fe88de103685f45d SHA512 5ae598c90bb4252813be01570f3e057840133926c7736fad1ed9ec4fa8278e3e672ce466f79025f79b2f60a0842f7b294a748a5e0a29ceb0ddc72a55ba80673c WHIRLPOOL 773cd356b88a927dc0efbe4272d1a8bcbdb6005110672ad12a38bc6d468a6830d6a90b66266be8f87e4fc3d750645ca00d0f457f9ab8f793e039ab951ec4a290
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/amatch/amatch-0.3.0.ebuild,v 1.1 2014/04/08 06:45:00 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGES README.rdoc"
|
||||
|
||||
inherit multilib ruby-fakegem
|
||||
|
||||
DESCRIPTION="Approximate Matching Extension for Ruby"
|
||||
HOMEPAGE="http://flori.github.com/amatch/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/tins-0.3"
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext extconf.rb || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake -Cext V=1
|
||||
cp ext/amatch_ext$(get_modname) lib/ || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib -S testrb tests/* || die
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST circuit_macros-7.7.2.tar.gz 1268548 SHA256 c75973c5f00dfc33e4dde2ce7db95fe0ea73aacf20a9d0160be120afe100e8aa SHA512 6ead7b54f2cc78057ff97140a273f56874159cd965c8858e91e884cbe09f293247c12a4bbc9a90e4cdb59c493464d0d9d0bfb031a99175dd939e5b9d08e7f62f WHIRLPOOL 61b3097658724c2e2c9fb8cf633cd6dd1bdedc623d5882954b6bad5a7c7c93e02f379005cc0b35236db3bd81529668b70d9f9ba5599855ab7cfb8408df7dc786
|
||||
DIST circuit_macros-7.8.3.tar.gz 1701857 SHA256 71660ee82ef5200ceff55e515f59aea666533e5458287d47a0b71880bf318944 SHA512 f86a2972622e48e6fae849b0126062bc370c2be188b25b0aecb95cef25874c64b380b564d48afcd074e5c59f006b29f0ee4a2566b8fd5293d24dae08fd555816 WHIRLPOOL 784b0df372e031102ad3ebe78fe38cbd875d18f4c66c39857be6828bdb2e5c527410cd983053a38561302618d5bf5700cf2d28b12ff26ba64908cbeb305bf154
|
||||
DIST circuit_macros-7.8.4.tar.gz 1627827 SHA256 2a9dd5f63483c23301f89b0e3585ef793fd7eebe0c55f17ad5370527d394be1e SHA512 9fec1c94ff91ee43f3db3c68e23c1f0120e8520bb84f9da4169cbc532258a1a72453ba4afdd9bcccc6b0bb7675b9b7a63b3bb7cd9cef30c69a187aef231d3b7e WHIRLPOOL f1308b97f85215130f6c6cafd4d64a238e873242f393b8f716ef64fcef3ca76041e84175ac146dd05c5842741687da27959c0753bc9e1a17d3da103af0c3c5cb
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-tex/circuit_macros/circuit_macros-7.7.2.ebuild,v 1.1 2014/01/10 18:01:02 calchan Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-tex/circuit_macros/circuit_macros-7.8.4.ebuild,v 1.1 2014/04/08 19:47:55 calchan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1,12 +1,12 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-client/mutt/mutt-1.5.23-r1.ebuild,v 1.1 2014/04/06 17:08:16 grobian Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-client/mutt/mutt-1.5.23-r2.ebuild,v 1.1 2014/04/08 20:37:42 grobian Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils flag-o-matic autotools
|
||||
|
||||
PATCHSET_REV="-r1"
|
||||
PATCHSET_REV="-r2"
|
||||
|
||||
DESCRIPTION="A small but very powerful text-based mail client"
|
||||
HOMEPAGE="http://www.mutt.org/"
|
@ -1 +1,2 @@
|
||||
DIST ttf-alee_12.tar.gz 776652 RMD160 e632fe4c3d3153718369d82c49eaf965fb4f640b SHA1 cc5e946dc14badc51121cfe88ea2c7cf2dcee45b SHA256 a0d0e4dab2c0f592c7709dbadebda18232a75ca0dc17b3238d0397fe79e7c841
|
||||
DIST ttf-alee_12.tar.gz 776652 SHA256 a0d0e4dab2c0f592c7709dbadebda18232a75ca0dc17b3238d0397fe79e7c841
|
||||
DIST ttf-alee_13.tar.gz 702378 SHA256 a36b92e520483195780db7d36da9d86c221a7e7a78621b020cc5023b140ab85a SHA512 2f72067ccb3264c5847639d9b9db4c820ad65bf2b2bfef710fbc42463e4b091dedc004281d05694a92680fde01c56edeb40ca78cd2a659533e22b17bd14b4b2c WHIRLPOOL 36195163c1c9debac81cfb40efb845b443811952c134125abcfc76307c1cf7108d9fc9b6b987ffce278df3bbf2daf8dd35fe1ad096abffcd12b8e72c38fc81c8
|
||||
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-fonts/alee-fonts/alee-fonts-13.ebuild,v 1.1 2014/04/08 06:48:01 naota Exp $
|
||||
|
||||
inherit font
|
||||
|
||||
DESCRIPTION="A Lee's Hangul truetype fonts"
|
||||
HOMEPAGE="http://packages.debian.org/unstable/x11/ttf-alee"
|
||||
SRC_URI="mirror://debian/pool/main/t/ttf-alee/ttf-alee_${PV}.tar.gz"
|
||||
|
||||
LICENSE="Artistic"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
FONT_SUFFIX="ttf"
|
||||
FONT_S="${WORKDIR}/ttf-alee-${PV}"
|
||||
|
||||
S=${FONT_S}
|
@ -1,7 +1,2 @@
|
||||
DIST converseen-0.4.7.tar.bz2 214327 SHA256 29454b53d0c8e2ecbb9886c4365a1e45ff4d1a08f2271dfa750d0036e23798fa
|
||||
DIST converseen-0.4.9.tar.bz2 217258 SHA256 c4964ee61958ac2476bfe903f0026bdc723b071779ac46c4a834e408bca90a8d
|
||||
DIST converseen-0.5.1.tar.bz2 210538 SHA256 df8adf203a5c81c0eab6efed0eaa36636e1346c5859408ae3d9ef93b70908e93 SHA512 1814ed3508ae441f722d16127293ab2c755468e68ec21366b49b63f53728065b58d98a54d15421404fe178e70747c190338f1d52963ddd06d37b07b8c03fc2d7 WHIRLPOOL bb5d2df9f749fb7479bfd29554e87d2b779f9c03257867a0360a635adca77310519b4f63fd2a85f7b7aa3a309bf80bbba4807967f252c740794b922712bd1c30
|
||||
DIST converseen-0.5.3.tar.bz2 213995 SHA256 f7f16ff2e6f870272cf9137dc41e6650ade84c0c7c30d783c03a9ca8bd46a8d4 SHA512 c871f9c25f90a030a748034ac3eeb98173afebbdaa57877d00b95a8b1fe92bd49d14c779646edee81a27d98d73c6c4a34bcce36917e51baef79c3b482aebeec0 WHIRLPOOL 67b8e4202841d3ea7ba6959c8c2458df66429e7a789ec3132d63d41c1ab144b40f3fa5b764d1560e1e21c72419178e917fe91559e56db6a46da187e307db1461
|
||||
DIST converseen-0.5.tar.bz2 207847 SHA256 700c7fdd9c61e005318d85ab87fbceb1ef31af900a9e1706df0d6c6d4f27a7ba
|
||||
DIST converseen-0.6.1.tar.bz2 221074 SHA256 1c77c6b17f2d82d93377fd5fede8dda926cb45b7724024917eb61518dae7a96d SHA512 7087357dfe1980fde34bd24939f5c72283b7e038544d011d8a58c2358cd422b49be08c80fd657b7986b8551b5a97f16cfb31f77bb053c733f53a764d7f7f987e WHIRLPOOL 54fcfad8347571056399770a25804bf432746486a7ea503c41e1579e17832beb6281c169c552bf2fb46e8dfb2238c65c5dce58b3bfaee00f3179bc3ec3f75580
|
||||
DIST converseen-0.6.4.tar.bz2 223060 SHA256 eac85f576018080d4a0ce904e4e8bc8a37365a4bbfec6f1ba410d4ac67625ad3 SHA512 432403cf13bb5eb1b6d0438775379295e05b250902c259bf0117efea7e21d1768cb0fe4fb8ed9bffcdca4b055a5b95612fb5e3c24b3061813b10b6db736314a9 WHIRLPOOL 257a863d4faa77c6b304aba732cf8b04159e7da4ffb04dde65cc78505d24b6b963d5ed7bfd4f01de215fb8d710219b639bb0fe142eeb1690c727ff051fab51d4
|
||||
DIST converseen-0.6.8.tar.bz2 226559 SHA256 e82c7c2cc494c7606d42e7ff2cafba8bb4d35cb5471912ae943a617ab2477e9e SHA512 add32cb213a708f5311a7b885a2f50333c9cc1b83fc08a4e4e836882eabcf7ce170e514b2de08cc6b66c1680873ed65f774bcb62c7f69c55ba061c37bbab2836 WHIRLPOOL 9d36b776faa837e9ab8ca792b14a14fdb23d53e3644b93052db53ee380b8f295ab39748f76496cb58af93f1c364890580b715b1dea1cd0430db7c2b999a8499a
|
||||
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/converseen/converseen-0.4.7.ebuild,v 1.3 2013/03/02 21:34:12 hwoarang Exp $
|
||||
|
||||
EAPI="4"
|
||||
LANGSLONG="cs_CZ de_DE fr_FR hu_HU it_IT pl_PL pt_BR tr_TR"
|
||||
LANGS="es_CL"
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Batch image converter and resizer based on ImageMagick"
|
||||
HOMEPAGE="http://converseen.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
for x in ${LANGS}; do
|
||||
IUSE="${IUSE} linguas_${x}"
|
||||
done
|
||||
for x in ${LANGSLONG}; do
|
||||
IUSE="${IUSE} linguas_${x%_*}"
|
||||
done
|
||||
|
||||
RDEPEND="
|
||||
dev-qt/qtgui:4
|
||||
|| ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS="README"
|
||||
|
||||
src_prepare() {
|
||||
for x in ${LANGSLONG}; do
|
||||
if use !linguas_${x%_*}; then
|
||||
rm -f "loc/${PN}_${x}."* || die
|
||||
sed -i -e "\,/${PN}_${x}\...,d" CMakeLists.txt || die
|
||||
fi
|
||||
done
|
||||
for x in ${LANGS}; do
|
||||
if use !linguas_${x}; then
|
||||
rm -f "loc/${PN}_${x}."* || die
|
||||
sed -i -e "\,/${PN}_${x}\...,d" CMakeLists.txt || die
|
||||
fi
|
||||
done
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/converseen/converseen-0.4.9.ebuild,v 1.2 2013/03/02 21:34:12 hwoarang Exp $
|
||||
|
||||
EAPI="4"
|
||||
LANGSLONG="cs_CZ de_DE fr_FR hu_HU it_IT pl_PL pt_BR tr_TR"
|
||||
LANGS="es_CL"
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Batch image converter and resizer based on ImageMagick"
|
||||
HOMEPAGE="http://converseen.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
for x in ${LANGS}; do
|
||||
IUSE="${IUSE} linguas_${x}"
|
||||
done
|
||||
for x in ${LANGSLONG}; do
|
||||
IUSE="${IUSE} linguas_${x%_*}"
|
||||
done
|
||||
|
||||
RDEPEND="
|
||||
dev-qt/qtgui:4
|
||||
|| ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS="README"
|
||||
|
||||
src_prepare() {
|
||||
for x in ${LANGSLONG}; do
|
||||
if use !linguas_${x%_*}; then
|
||||
rm -f "loc/${PN}_${x}."* || die
|
||||
sed -i -e "\,/${PN}_${x}\...,d" CMakeLists.txt || die
|
||||
fi
|
||||
done
|
||||
for x in ${LANGS}; do
|
||||
if use !linguas_${x}; then
|
||||
rm -f "loc/${PN}_${x}."* || die
|
||||
sed -i -e "\,/${PN}_${x}\...,d" CMakeLists.txt || die
|
||||
fi
|
||||
done
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/converseen/converseen-0.5.1.ebuild,v 1.2 2013/03/02 21:34:12 hwoarang Exp $
|
||||
|
||||
EAPI="4"
|
||||
LANGSLONG="cs_CZ de_DE fr_FR hu_HU it_IT pl_PL pt_BR tr_TR"
|
||||
LANGS="es_CL"
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Batch image converter and resizer based on ImageMagick"
|
||||
HOMEPAGE="http://converseen.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
for x in ${LANGS}; do
|
||||
IUSE="${IUSE} linguas_${x}"
|
||||
done
|
||||
for x in ${LANGSLONG}; do
|
||||
IUSE="${IUSE} linguas_${x%_*}"
|
||||
done
|
||||
|
||||
RDEPEND="
|
||||
dev-qt/qtgui:4
|
||||
|| ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS="README"
|
||||
|
||||
src_prepare() {
|
||||
for x in ${LANGSLONG}; do
|
||||
if use !linguas_${x%_*}; then
|
||||
rm -f "loc/${PN}_${x}."* || die
|
||||
sed -i -e "\,/${PN}_${x}\...,d" CMakeLists.txt || die
|
||||
fi
|
||||
done
|
||||
for x in ${LANGS}; do
|
||||
if use !linguas_${x}; then
|
||||
rm -f "loc/${PN}_${x}."* || die
|
||||
sed -i -e "\,/${PN}_${x}\...,d" CMakeLists.txt || die
|
||||
fi
|
||||
done
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/converseen/converseen-0.5.3.ebuild,v 1.4 2013/05/06 16:52:07 maksbotan Exp $
|
||||
|
||||
EAPI="5"
|
||||
LANGSLONG="cs_CZ de_DE fr_FR hu_HU it_IT pl_PL pt_BR ru_RU tr_TR"
|
||||
LANGS="es_CL"
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Batch image converter and resizer based on ImageMagick"
|
||||
HOMEPAGE="http://converseen.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
for x in ${LANGS}; do
|
||||
IUSE="${IUSE} linguas_${x}"
|
||||
done
|
||||
for x in ${LANGSLONG}; do
|
||||
IUSE="${IUSE} linguas_${x%_*}"
|
||||
done
|
||||
|
||||
# FIXME: graphicsmagick dependency does not work properly, failures when compiling
|
||||
# || ( media-gfx/imagemagick[cxx] media-gfx/graphicsmagick[cxx,imagemagick] )
|
||||
RDEPEND="
|
||||
dev-qt/qtgui:4
|
||||
media-gfx/imagemagick[cxx]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( README )
|
||||
|
||||
src_prepare() {
|
||||
for x in ${LANGSLONG}; do
|
||||
if use !linguas_${x%_*}; then
|
||||
rm -f "loc/${PN}_${x}."* || die
|
||||
sed -i -e "\,/${PN}_${x}\...,d" CMakeLists.txt || die
|
||||
fi
|
||||
done
|
||||
for x in ${LANGS}; do
|
||||
if use !linguas_${x}; then
|
||||
rm -f "loc/${PN}_${x}."* || die
|
||||
sed -i -e "\,/${PN}_${x}\...,d" CMakeLists.txt || die
|
||||
fi
|
||||
done
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/converseen/converseen-0.5.ebuild,v 1.2 2013/03/02 21:34:12 hwoarang Exp $
|
||||
|
||||
EAPI="4"
|
||||
LANGSLONG="cs_CZ de_DE fr_FR hu_HU it_IT pl_PL pt_BR tr_TR"
|
||||
LANGS="es_CL"
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Batch image converter and resizer based on ImageMagick"
|
||||
HOMEPAGE="http://converseen.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
for x in ${LANGS}; do
|
||||
IUSE="${IUSE} linguas_${x}"
|
||||
done
|
||||
for x in ${LANGSLONG}; do
|
||||
IUSE="${IUSE} linguas_${x%_*}"
|
||||
done
|
||||
|
||||
RDEPEND="
|
||||
dev-qt/qtgui:4
|
||||
|| ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS="README"
|
||||
|
||||
src_prepare() {
|
||||
for x in ${LANGSLONG}; do
|
||||
if use !linguas_${x%_*}; then
|
||||
rm -f "loc/${PN}_${x}."* || die
|
||||
sed -i -e "\,/${PN}_${x}\...,d" CMakeLists.txt || die
|
||||
fi
|
||||
done
|
||||
for x in ${LANGS}; do
|
||||
if use !linguas_${x}; then
|
||||
rm -f "loc/${PN}_${x}."* || die
|
||||
sed -i -e "\,/${PN}_${x}\...,d" CMakeLists.txt || die
|
||||
fi
|
||||
done
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
http://bugs.gentoo.org/show_bug.cgi?id=503692#c7
|
||||
http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=25376
|
||||
|
||||
--- coders/pdf.c
|
||||
+++ coders/pdf.c
|
||||
@@ -1276,7 +1276,7 @@ RestoreMSCWarning
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
-#if !defined(MAGICKCORE_JP2_DELEGATE)
|
||||
+#if !defined(MAGICKCORE_LIBOPENJP2_DELEGATE)
|
||||
case JPEG2000Compression:
|
||||
{
|
||||
compression=RLECompression;
|
||||
--- magick/version.c
|
||||
+++ magick/version.c
|
||||
@@ -141,7 +141,7 @@ MagickExport const char *GetMagickDelega
|
||||
#if defined(MAGICKCORE_JPEG_DELEGATE) && defined(MAGICKCORE_PNG_DELEGATE)
|
||||
"jng "
|
||||
#endif
|
||||
-#if defined(MAGICKCORE_JP2_DELEGATE)
|
||||
+#if defined(MAGICKCORE_LIBOPENJP2_DELEGATE)
|
||||
"jp2 "
|
||||
#endif
|
||||
#if defined(MAGICKCORE_JPEG_DELEGATE)
|
@ -0,0 +1,173 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/imagemagick-6.8.8.10-r1.ebuild,v 1.1 2014/04/08 11:49:24 ssuominen Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils flag-o-matic libtool multilib toolchain-funcs versionator
|
||||
|
||||
MY_P=ImageMagick-$(replace_version_separator 3 '-')
|
||||
|
||||
DESCRIPTION="A collection of tools and libraries for many image formats"
|
||||
HOMEPAGE="http://www.imagemagick.org/"
|
||||
SRC_URI="mirror://${PN}/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="imagemagick"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="autotrace bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz hdri jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl png postscript q32 q64 q8 raw static-libs svg test tiff truetype webp wmf X xml zlib"
|
||||
|
||||
RESTRICT="perl? ( userpriv )"
|
||||
|
||||
RDEPEND=">=sys-devel/libtool-2.2.6b
|
||||
autotrace? ( >=media-gfx/autotrace-0.31.1 )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
corefonts? ( media-fonts/corefonts )
|
||||
djvu? ( app-text/djvu )
|
||||
fftw? ( sci-libs/fftw:3.0 )
|
||||
fontconfig? ( media-libs/fontconfig )
|
||||
fpx? ( >=media-libs/libfpx-1.3.0-r1 )
|
||||
graphviz? ( media-gfx/graphviz )
|
||||
jbig? ( media-libs/jbigkit )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
jpeg2k? ( media-libs/openjpeg:2 )
|
||||
lcms? ( media-libs/lcms:2 )
|
||||
lqr? ( media-libs/liblqr )
|
||||
opencl? ( virtual/opencl )
|
||||
openexr? ( media-libs/openexr:0= )
|
||||
pango? ( x11-libs/pango )
|
||||
perl? ( >=dev-lang/perl-5.8.8:0= )
|
||||
png? ( media-libs/libpng:0= )
|
||||
postscript? ( app-text/ghostscript-gpl )
|
||||
raw? ( media-gfx/ufraw )
|
||||
svg? ( gnome-base/librsvg )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
truetype? (
|
||||
media-fonts/urw-fonts
|
||||
>=media-libs/freetype-2
|
||||
)
|
||||
webp? ( media-libs/libwebp:0= )
|
||||
wmf? ( media-libs/libwmf )
|
||||
X? (
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libXext
|
||||
x11-libs/libXt
|
||||
)
|
||||
xml? ( dev-libs/libxml2 )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${RDEPEND}
|
||||
!media-gfx/graphicsmagick[imagemagick]
|
||||
virtual/pkgconfig
|
||||
X? ( x11-proto/xextproto )"
|
||||
|
||||
REQUIRED_USE="corefonts? ( truetype )
|
||||
test? ( corefonts )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
# These both have been accepted by upstream, remove once 6.9.0-0 is out:
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-6.8.8.8-openjpeg-2.0.0-has-no-opj_stream_destroy_v3.patch \
|
||||
"${FILESDIR}"/${P}-LIBOPENJP2_DELEGATE_not_JP2_DELEGATE.patch
|
||||
|
||||
epatch_user
|
||||
|
||||
elibtoolize # for Darwin modules
|
||||
|
||||
# For testsuite, see http://bugs.gentoo.org/show_bug.cgi?id=500580#c3
|
||||
shopt -s nullglob
|
||||
cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
|
||||
if test -n "${cards}"; then
|
||||
addpredict "${cards}"
|
||||
fi
|
||||
shopt -u nullglob
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local depth=16
|
||||
use q8 && depth=8
|
||||
use q32 && depth=32
|
||||
use q64 && depth=64
|
||||
|
||||
local openmp=disable
|
||||
use openmp && { tc-has-openmp && openmp=enable; }
|
||||
|
||||
[[ ${CHOST} == *-solaris* ]] && append-ldflags -lnsl -lsocket
|
||||
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable hdri) \
|
||||
$(use_enable opencl) \
|
||||
--with-threads \
|
||||
--with-modules \
|
||||
--with-quantum-depth=${depth} \
|
||||
$(use_with cxx magick-plus-plus) \
|
||||
$(use_with perl) \
|
||||
--with-perl-options='INSTALLDIRS=vendor' \
|
||||
--with-gs-font-dir="${EPREFIX}"/usr/share/fonts/urw-fonts \
|
||||
$(use_with bzip2 bzlib) \
|
||||
$(use_with X x) \
|
||||
$(use_with zlib) \
|
||||
$(use_with autotrace) \
|
||||
$(use_with postscript dps) \
|
||||
$(use_with djvu) \
|
||||
--with-dejavu-font-dir="${EPREFIX}"/usr/share/fonts/dejavu \
|
||||
$(use_with fftw) \
|
||||
$(use_with fpx) \
|
||||
$(use_with fontconfig) \
|
||||
$(use_with truetype freetype) \
|
||||
$(use_with postscript gslib) \
|
||||
$(use_with graphviz gvc) \
|
||||
$(use_with jbig) \
|
||||
$(use_with jpeg) \
|
||||
$(use_with jpeg2k openjp2) \
|
||||
--without-lcms \
|
||||
$(use_with lcms lcms2) \
|
||||
$(use_with lqr) \
|
||||
$(use_with lzma) \
|
||||
--without-mupdf \
|
||||
$(use_with openexr) \
|
||||
$(use_with pango) \
|
||||
$(use_with png) \
|
||||
$(use_with svg rsvg) \
|
||||
$(use_with tiff) \
|
||||
$(use_with webp) \
|
||||
$(use_with corefonts windows-font-dir "${EPREFIX}"/usr/share/fonts/corefonts) \
|
||||
$(use_with wmf) \
|
||||
$(use_with xml) \
|
||||
--${openmp}-openmp
|
||||
}
|
||||
|
||||
src_test() {
|
||||
LD_LIBRARY_PATH="${S}/coders/.libs:${S}/filters/.libs:${S}/Magick++/lib/.libs:${S}/magick/.libs:${S}/wand/.libs" \
|
||||
emake -j1 check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Ensure documentation installation files and paths with each release!
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
DOCUMENTATION_PATH="${EPREFIX}"/usr/share/doc/${PF}/html \
|
||||
install
|
||||
|
||||
rm -f "${ED}"/usr/share/doc/${PF}/html/{ChangeLog,LICENSE,NEWS.txt}
|
||||
dodoc {AUTHORS,README}.txt ChangeLog
|
||||
|
||||
if use perl; then
|
||||
find "${ED}" -type f -name perllocal.pod -exec rm -f {} +
|
||||
find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} +
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
|
||||
|
||||
if use opencl; then
|
||||
cat <<-EOF > "${T}"/99${PN}
|
||||
SANDBOX_PREDICT="/dev/dri/card"
|
||||
EOF
|
||||
|
||||
insinto /etc/sandbox.d
|
||||
doins "${T}"/99${PN} #472766
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST libcdr-0.0.14.tar.xz 570728 SHA256 720b693ba5e777f099f41ecd40418a16674ab29d823f7d62a23be170781dd8a0 SHA512 08f5cdf6926f2305ffc24ca7f03709c4f6045ed6c3aad15bc524b8c8d6bf1b873bb8bf9acd39ca112f0f51ba5324f1cf6a72d2f04ec9139d6c61a58a337a92a8 WHIRLPOOL fad944466269e1b8794fa7a3bd4ab471c5b0ff8cf0122c9eeaf109f51ad7092334e326c7e60c0ef1a7ae670425e2a5edf70c742bca9fc8c52a042322e66e058d
|
||||
DIST libcdr-0.0.15.tar.xz 579376 SHA256 2d5fd934d5c8eaafd07ae71321302db632dfcb617c80c3202efc0882c9ce5cab SHA512 731b36662e83ffcd4ca30f41399bcd30bc10ea9e7516877d0ddc5dfc20706e3ed74e55eb3a47104edb606b318c4a9cbee539c3c36103a5154a0c8d64fd6162bf WHIRLPOOL 399c3ed0031cde148f988cb223d393e27343ab92a406a442b6bcf16f8502cc4242fc20bae8693511c4e7a2ddc082b9c655a3239fa70673248d060880de7b0af1
|
||||
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libcdr/libcdr-0.0.15.ebuild,v 1.1 2014/04/08 08:26:15 scarabeus Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/git/libreoffice/libcdr/"
|
||||
inherit base eutils
|
||||
[[ ${PV} == 9999 ]] && inherit autotools git-2
|
||||
|
||||
DESCRIPTION="Library parsing the Corel cdr documents"
|
||||
HOMEPAGE="http://www.freedesktop.org/wiki/Software/libcdr"
|
||||
[[ ${PV} == 9999 ]] || SRC_URI="http://dev-www.libreoffice.org/src/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
[[ ${PV} == 9999 ]] || KEYWORDS="~amd64 ~arm ~ppc ~x86"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
RDEPEND="
|
||||
app-text/libwpd:0.9
|
||||
app-text/libwpg:0.2
|
||||
dev-libs/icu:=
|
||||
media-libs/lcms:2
|
||||
sys-libs/zlib
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/boost
|
||||
sys-devel/libtool
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
[[ -d m4 ]] || mkdir "m4"
|
||||
[[ ${PV} == 9999 ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
$(use_enable static-libs static) \
|
||||
--disable-werror \
|
||||
$(use_with doc docs)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files --all
|
||||
}
|
@ -0,0 +1,124 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/lilypond/lilypond-2.19.4.ebuild,v 1.1 2014/04/08 06:53:33 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit elisp-common autotools eutils python-single-r1
|
||||
|
||||
DESCRIPTION="GNU Music Typesetter"
|
||||
SRC_URI="http://download.linuxaudio.org/lilypond/sources/v${PV:0:4}/${P}.tar.gz"
|
||||
HOMEPAGE="http://lilypond.org/"
|
||||
|
||||
LICENSE="GPL-3 FDL-1.3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~x86"
|
||||
LANGS=" ca cs da de el eo es fi fr it ja nl ru sv tr uk vi zh_TW"
|
||||
IUSE="debug emacs profile vim-syntax ${LANGS// / linguas_}"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND=">=app-text/ghostscript-gpl-8.15
|
||||
>=dev-scheme/guile-1.8.2[deprecated,regex]
|
||||
media-fonts/urw-fonts
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype:2
|
||||
>=x11-libs/pango-1.12.3
|
||||
emacs? ( virtual/emacs )
|
||||
${PYTHON_DEPS}"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/t1utils
|
||||
dev-lang/perl
|
||||
|| (
|
||||
( >=dev-texlive/texlive-metapost-2013 >=dev-tex/metapost-1.803 )
|
||||
<dev-texlive/texlive-metapost-2013
|
||||
)
|
||||
virtual/pkgconfig
|
||||
media-gfx/fontforge
|
||||
>=sys-apps/texinfo-4.11
|
||||
>=sys-devel/bison-2.0
|
||||
sys-devel/flex
|
||||
sys-devel/gettext
|
||||
sys-devel/make"
|
||||
|
||||
# Correct output data for tests isn't bundled with releases
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
# make sure >=metapost-1.803 is selected if it's installed, bug 498704
|
||||
if [[ ${MERGE_TYPE} != binary ]] && has_version ">=dev-tex/metapost-1.803" ; then
|
||||
if [[ $(readlink "${EROOT}"/usr/bin/mpost) =~ mpost-texlive-* ]] ; then
|
||||
einfo "Updating metapost symlink"
|
||||
eselect mpost update || die
|
||||
fi
|
||||
fi
|
||||
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2.17.2-tex-docs.patch
|
||||
|
||||
if ! use vim-syntax ; then
|
||||
sed -i 's/vim//' GNUmakefile.in || die
|
||||
fi
|
||||
|
||||
# respect CFLAGS
|
||||
sed -i 's/OPTIMIZE -g/OPTIMIZE/' aclocal.m4 || die
|
||||
|
||||
for lang in ${LANGS}; do
|
||||
use linguas_${lang} || rm po/${lang}.po || die
|
||||
done
|
||||
|
||||
# respect AR
|
||||
sed -i "s/^AR=ar/AR=$(tc-getAR)/" stepmake/stepmake/library-vars.make || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# documentation generation currently not supported since it requires a newer
|
||||
# version of texi2html than is currently in the tree
|
||||
|
||||
econf \
|
||||
--with-ncsb-dir=/usr/share/fonts/urw-fonts \
|
||||
--disable-documentation \
|
||||
--disable-optimising \
|
||||
--disable-pipe \
|
||||
$(use_enable debug debugging) \
|
||||
$(use_enable profile profiling)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use emacs ; then
|
||||
elisp-compile elisp/lilypond-{font-lock,indent,mode,what-beat}.el \
|
||||
|| die "elisp-compile failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" vimdir=/usr/share/vim/vimfiles install
|
||||
|
||||
# remove elisp files since they are in the wrong directory
|
||||
rm -r "${ED}"/usr/share/emacs || die
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install ${PN} elisp/*.{el,elc} elisp/out/*.el \
|
||||
|| die "elisp-install failed"
|
||||
elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el
|
||||
fi
|
||||
|
||||
python_fix_shebang "${ED}"
|
||||
|
||||
dodoc AUTHORS.txt HACKING NEWS.txt README.txt
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST subliminal-0.6.3.tar.gz 61261 SHA256 99c66b96281e796864138c701f4eb79d7d4a1879d6fb1913c74ad6ad790fb08a SHA512 905668d1077089f88947efb4b6d5c3ca80be2a36eb71522c67122e332fdd42d9b2f81879358f01b02715a1592064b449b87ee65ae108ff989c17dffba792afcd WHIRLPOOL a74c7c72fa66396804e80549b6a0c5821d71a016615be3538274a478bfa8a88d7868f485bc697bb165abe319ab17abeb967482ad99e38d995df16957c5ec1a1a
|
||||
DIST subliminal-0.7.3.tar.gz 27855 SHA256 4d23d6f353e0e174aeb01370bb3f077aa9c640013bbe9790a04562b69c42aa29 SHA512 ab1bd9c2869ac6b4e5a74967a7d9f5103741158d92c36575f8cfd6276cc5f2b07e341fb241c4feb4d491057de964a513cc5848b2943664bb22ec9db1d8606b0d WHIRLPOOL 5f92d2f9cc5899c94c674a6fbb280e88ec1e5ebf263cb382c07cecca209284465d827a5010c51b337d8e15201c6975d6dcc990733878f7efdfba3429c3805716
|
||||
DIST subliminal-0.7.4.tar.gz 27913 SHA256 b3ac61e8a915dc089356771637a38e4a155cf45ddd1f96a24adce8cbebc8e522 SHA512 1a7cbade7d895a6decf9abd30dc7c51f4104a91e3e01d3d600a97113dc5c8589c5957fad49e5ff537ea0cdb11d982e77c68a7566bf62455d842ab3afa64d2d47 WHIRLPOOL 72a68e58285e27580c3f19dab1c608de5aa1f3d11e90974602a589d33cd96d90da61ab35c8aa3ea32d418320d7707fb11c2aee3c8d885e4c6f4032918ef6f3e7
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/subliminal/subliminal-0.7.4.ebuild,v 1.1 2014/04/08 16:54:23 maksbotan Exp $
|
||||
|
||||
EAPI="5"
|
||||
# setup.py declares support for python3.3, but it does not work
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python library to search and download subtitles"
|
||||
HOMEPAGE="http://subliminal.readthedocs.org https://github.com/Diaoul/subliminal https://pypi.python.org/pypi/subliminal"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/beautifulsoup-4.3.2:4[${PYTHON_USEDEP}]
|
||||
>=dev-python/guessit-0.6.2[${PYTHON_USEDEP}]
|
||||
<dev-python/guessit-0.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/enzyme-0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/html5lib-0.99[${PYTHON_USEDEP}]
|
||||
>=dev-python/dogpile-cache-0.5.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/babelfish-0.4.0[${PYTHON_USEDEP}]
|
||||
<dev-python/babelfish-0.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/charade-1.0.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pysrt-0.5.0[${PYTHON_USEDEP}]
|
||||
virtual/python-argparse[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
# tests need network
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -1 +1 @@
|
||||
Tue, 08 Apr 2014 05:07:00 +0000
|
||||
Wed, 09 Apr 2014 04:37:00 +0000
|
||||
|
@ -0,0 +1,56 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
|
||||
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="201404-06">
|
||||
<title>Mesa: Multiple vulnerabilities</title>
|
||||
<synopsis>Multiple vulnerabilities in Mesa could result in execution of
|
||||
arbitrary code or Denial of Service.
|
||||
</synopsis>
|
||||
<product type="ebuild">mesa</product>
|
||||
<announced>April 08, 2014</announced>
|
||||
<revised>April 08, 2014: 1</revised>
|
||||
<bug>432400</bug>
|
||||
<bug>445916</bug>
|
||||
<bug>472280</bug>
|
||||
<access>remote</access>
|
||||
<affected>
|
||||
<package name="media-libs/mesa" auto="yes" arch="*">
|
||||
<unaffected range="ge">9.1.4</unaffected>
|
||||
<vulnerable range="lt">9.1.4</vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>Mesa is an OpenGL-like graphic library for Linux.</p>
|
||||
</background>
|
||||
<description>
|
||||
<p>Multiple vulnerabilities have been discovered in Mesa. Please review the
|
||||
CVE identifiers referenced below for details.
|
||||
</p>
|
||||
</description>
|
||||
<impact type="normal">
|
||||
<p>A remote attacker could possibly execute
|
||||
arbitrary code with the privileges of the process, or cause a Denial of
|
||||
Service condition.
|
||||
</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>There is no known workaround at this time.</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All Mesa users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=media-libs/mesa-9.1.4"
|
||||
</code>
|
||||
|
||||
</resolution>
|
||||
<references>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-2864">CVE-2012-2864</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-5129">CVE-2012-5129</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-1872">CVE-2013-1872</uri>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="Sun, 02 Dec 2012 15:24:43 +0000">ackle</metadata>
|
||||
<metadata tag="submitter" timestamp="Tue, 08 Apr 2014 08:42:29 +0000">ackle</metadata>
|
||||
</glsa>
|
@ -0,0 +1,77 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
|
||||
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="201404-07">
|
||||
<title>OpenSSL: Information Disclosure</title>
|
||||
<synopsis>Multiple Information Disclosure vulnerabilities in OpenSSL allow
|
||||
remote attackers to obtain sensitive information via various vectors.
|
||||
</synopsis>
|
||||
<product type="ebuild">openssl</product>
|
||||
<announced>April 08, 2014</announced>
|
||||
<revised>April 08, 2014: 1</revised>
|
||||
<bug>505278</bug>
|
||||
<bug>507074</bug>
|
||||
<access>remote</access>
|
||||
<affected>
|
||||
<package name="dev-libs/openssl" auto="yes" arch="*">
|
||||
<unaffected range="ge">1.0.1g</unaffected>
|
||||
<vulnerable range="lt">1.0.1g</vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>OpenSSL is an Open Source toolkit implementing the Secure Sockets Layer
|
||||
(SSL v2/v3) and Transport Layer Security (TLS v1) as well as a general
|
||||
purpose cryptography library.
|
||||
</p>
|
||||
</background>
|
||||
<description>
|
||||
<p>Multiple vulnerabilities have been found in OpenSSL:</p>
|
||||
|
||||
<ul>
|
||||
<li>OpenSSL incorrectly handles memory in the TLS heartbeat extension,
|
||||
leading to information disclosure of 64kb per request, possibly
|
||||
including private keys (“Heartbleed bug”, OpenSSL 1.0.1 only,
|
||||
CVE-2014-0160).
|
||||
</li>
|
||||
<li>The Montgomery ladder implementation of OpenSSL improperly handles
|
||||
swap operations (CVE-2014-0076).
|
||||
</li>
|
||||
</ul>
|
||||
</description>
|
||||
<impact type="normal">
|
||||
<p>A remote attacker could exploit these issues to disclose information,
|
||||
including private keys or other sensitive information, or perform
|
||||
side-channel attacks to obtain ECDSA nonces.
|
||||
</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>Disabling the tls-heartbeat USE flag (enabled by default) provides a
|
||||
workaround for the CVE-2014-0160 issue.
|
||||
</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All OpenSSL users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=dev-libs/openssl-1.0.1g"
|
||||
</code>
|
||||
|
||||
<p>Note: All services using OpenSSL to provide TLS connections have to be
|
||||
restarted for the update to take effect. Utilities like
|
||||
app-admin/lib_users can aid in identifying programs using OpenSSL.
|
||||
</p>
|
||||
|
||||
<p>As private keys may have been compromised using the Heartbleed attack,
|
||||
it is recommended to regenerate them.
|
||||
</p>
|
||||
</resolution>
|
||||
<references>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-0076">CVE-2014-0076</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-0160">CVE-2014-0160</uri>
|
||||
<uri link="http://heartbleed.com/">Heartbleed bug website</uri>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="Tue, 08 Apr 2014 09:37:45 +0000">a3li</metadata>
|
||||
<metadata tag="submitter" timestamp="Tue, 08 Apr 2014 10:14:16 +0000">a3li</metadata>
|
||||
</glsa>
|
@ -1 +1 @@
|
||||
Tue, 08 Apr 2014 05:07:01 +0000
|
||||
Wed, 09 Apr 2014 04:37:01 +0000
|
||||
|
@ -1,14 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare test
|
||||
DEPEND=python_targets_python2_6? ( >=dev-lang/python-2.6.8-r3:2.6 ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_pypy? ( virtual/pypy:0= ) python_targets_pypy2_0? ( >=virtual/pypy-2.0.2:2.0 ) dev-lang/python-exec:=[python_targets_python2_6(-)?,python_targets_python2_7(-)?,python_targets_pypy(-)?,python_targets_pypy2_0(-)?,-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_pypy(-),-python_single_target_pypy2_0(-)] dev-libs/dotconf >=dev-libs/glib-2 alsa? ( media-libs/alsa-lib ) ao? ( media-libs/libao ) espeak? ( app-accessibility/espeak ) flite? ( app-accessibility/flite ) nas? ( media-libs/nas ) pulseaudio? ( media-sound/pulseaudio ) virtual/pkgconfig !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.14:1.14 ) >=sys-devel/autoconf-2.68 sys-devel/libtool userland_GNU? ( >=sys-apps/coreutils-8.5 )
|
||||
DEPEND=python_targets_python2_6? ( >=dev-lang/python-2.6.8-r3:2.6 ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_pypy? ( virtual/pypy:0= ) dev-lang/python-exec:=[python_targets_python2_6(-)?,python_targets_python2_7(-)?,python_targets_pypy(-)?,-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_pypy(-)] dev-libs/dotconf >=dev-libs/glib-2 alsa? ( media-libs/alsa-lib ) ao? ( media-libs/libao ) espeak? ( app-accessibility/espeak ) flite? ( app-accessibility/flite ) nas? ( media-libs/nas ) pulseaudio? ( media-sound/pulseaudio ) virtual/pkgconfig !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.13:1.13 >=sys-devel/automake-1.14:1.14 ) >=sys-devel/autoconf-2.68 sys-devel/libtool userland_GNU? ( >=sys-apps/coreutils-8.5 )
|
||||
DESCRIPTION=Speech synthesis interface
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.freebsoft.org/speechd
|
||||
IUSE=alsa ao +espeak flite nas pulseaudio python static-libs python_targets_python2_6 python_targets_python2_7 python_targets_pypy python_targets_pypy2_0
|
||||
IUSE=alsa ao +espeak flite nas pulseaudio python static-libs python_targets_python2_6 python_targets_python2_7 python_targets_pypy
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=python_targets_python2_6? ( >=dev-lang/python-2.6.8-r3:2.6 ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_pypy? ( virtual/pypy:0= ) python_targets_pypy2_0? ( >=virtual/pypy-2.0.2:2.0 ) dev-lang/python-exec:=[python_targets_python2_6(-)?,python_targets_python2_7(-)?,python_targets_pypy(-)?,python_targets_pypy2_0(-)?,-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_pypy(-),-python_single_target_pypy2_0(-)] dev-libs/dotconf >=dev-libs/glib-2 alsa? ( media-libs/alsa-lib ) ao? ( media-libs/libao ) espeak? ( app-accessibility/espeak ) flite? ( app-accessibility/flite ) nas? ( media-libs/nas ) pulseaudio? ( media-sound/pulseaudio )
|
||||
REQUIRED_USE=|| ( python_targets_python2_6 python_targets_python2_7 python_targets_pypy python_targets_pypy2_0 )
|
||||
RDEPEND=python_targets_python2_6? ( >=dev-lang/python-2.6.8-r3:2.6 ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_pypy? ( virtual/pypy:0= ) dev-lang/python-exec:=[python_targets_python2_6(-)?,python_targets_python2_7(-)?,python_targets_pypy(-)?,-python_single_target_python2_6(-),-python_single_target_python2_7(-),-python_single_target_pypy(-)] dev-libs/dotconf >=dev-libs/glib-2 alsa? ( media-libs/alsa-lib ) ao? ( media-libs/libao ) espeak? ( app-accessibility/espeak ) flite? ( app-accessibility/flite ) nas? ( media-libs/nas ) pulseaudio? ( media-sound/pulseaudio )
|
||||
REQUIRED_USE=|| ( python_targets_python2_6 python_targets_python2_7 python_targets_pypy )
|
||||
SLOT=0
|
||||
SRC_URI=http://www.freebsoft.org/pub/projects/speechd/speech-dispatcher-0.7.1.tar.gz
|
||||
_eclasses_=autotools 5256b4f4c1798109f39f308f9f7eaf5f autotools-utils fb74970befc9b65ceec689d2ccff3022 eutils af81d52c25ec93fbdff71e0efb0de7b7 libtool b9b3340e3a19510f0d9f05cfccbf209f multibuild 56d4120419072116417e8de1bd1040ff multilib fac675dcccf94392371a6abee62d909f multiprocessing c2d96fb38f2596209e98fceda58ba1ed python-r1 53a3a670d39942b0879f95cb17ecb4a1 python-utils-r1 18d8279a3382bf4453e7ff35208ce907 toolchain-funcs 48b38a216afb92db6314d6c3187abea3
|
||||
_eclasses_=autotools 5256b4f4c1798109f39f308f9f7eaf5f autotools-utils fb74970befc9b65ceec689d2ccff3022 eutils af81d52c25ec93fbdff71e0efb0de7b7 libtool b9b3340e3a19510f0d9f05cfccbf209f multibuild 56d4120419072116417e8de1bd1040ff multilib fac675dcccf94392371a6abee62d909f multiprocessing c2d96fb38f2596209e98fceda58ba1ed python-r1 11bfe965e02dcecf237594d3e1d18891 python-utils-r1 30d5d7986d3f80d0f2c2726366426859 toolchain-funcs 48b38a216afb92db6314d6c3187abea3
|
||||
_md5_=1d2a3be8782adcbd5a32d91f023fd2fc
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue