parent
c70b3afeb5
commit
57c8b4d23d
@ -1,2 +1,3 @@
|
||||
DIST p7zip_15.09_src_all.tar.bz2 4048481 SHA256 8783acf747e210e00150f7311cc06c4cd8ecf7b0c27b4adf2194284cc49b4d6f SHA512 4f020b13632ef7a85aa8a98586b59bef2dde3c1cbebdbd17e01f1d09b2e13a56ecfe82546d7efc677c45df67456a71cfdb67826b53ebea4c0fb4878f20c2f6dd WHIRLPOOL 71d1cdb9b3b1208197b2c056670d057b00e9a5f80cf08b5914b5d25f2f6756d4cb53e5a000ec76b7b879f82302fca6d012a2cd397e8aa95ae4fc21fd620eb1ab
|
||||
DIST p7zip_9.20.1_src_all.tar.bz2 3835235 SHA256 49557e7ffca08100f9fc687f4dfc5aea703ca207640c76d9dee7b66f03cb4782 SHA512 7bb8a276aaefc4a83364e45633c48527de44c6b1205344f3356db570582f30f81d82a94938c99a7ad193587b584cc1c03219c28249de40018bdaee6c3b2a022a WHIRLPOOL cb20f37d3f796931a9b330728aa7148afe98bbf8a49bb91bfd80e4667c16416206b23bf34298e9ec37825e8b43f92a5710f0cea1f974296d5c17aa2c7b0931f3
|
||||
DIST p7zip_9.38.1_src_all.tar.bz2 3917925 SHA256 fd5019109c9a1bf34ad3257d37a6853eae8151ff50345f0a3ffba7d8c5fdb995 SHA512 f524ffae54e0d9563a509cc4b243e830d882a925e682eb2e15e2d19cb72c947fddecd72c8507d6c1538b997b240b0827046fc2fb4f5e3f7d49840257c92b9c04 WHIRLPOOL 6bad1cde056ab1e8db4079c0e649665fbc7e6b9a565261188bd0acaec6c583d8bd9425cb26d39315408d0180ba0be0069a77b704633cf05ec855220cb31f1c24
|
||||
|
@ -0,0 +1,284 @@
|
||||
CPP/7zip/UI/Agent/Agent.cpp | 2 +-
|
||||
CPP/7zip/UI/Client7z/Client7z.cpp | 19 ++++++++++-
|
||||
CPP/7zip/UI/Common/ArchiveExtractCallback.cpp | 14 +++++++--
|
||||
CPP/7zip/UI/Common/ArchiveExtractCallback.h | 6 +++-
|
||||
CPP/7zip/UI/Common/Extract.cpp | 2 +-
|
||||
CPP/Windows/FileDir.cpp | 45 +++++++++++++++++++++++++--
|
||||
CPP/Windows/FileDir.h | 31 +++++++++++++++++-
|
||||
7 files changed, 109 insertions(+), 10 deletions(-)
|
||||
|
||||
diff --git a/CPP/7zip/UI/Agent/Agent.cpp b/CPP/7zip/UI/Agent/Agent.cpp
|
||||
index 201e82c..b0b8316 100644
|
||||
--- a/CPP/7zip/UI/Agent/Agent.cpp
|
||||
+++ b/CPP/7zip/UI/Agent/Agent.cpp
|
||||
@@ -1515,7 +1515,7 @@ STDMETHODIMP CAgentFolder::Extract(const UInt32 *indices,
|
||||
HRESULT result = _agentSpec->GetArchive()->Extract(&realIndices.Front(),
|
||||
realIndices.Size(), testMode, extractCallback);
|
||||
if (result == S_OK)
|
||||
- result = extractCallbackSpec->SetDirsTimes();
|
||||
+ result = extractCallbackSpec->SetFinalAttribs();
|
||||
return result;
|
||||
COM_TRY_END
|
||||
}
|
||||
diff --git a/CPP/7zip/UI/Client7z/Client7z.cpp b/CPP/7zip/UI/Client7z/Client7z.cpp
|
||||
index c6522fe..1919389 100644
|
||||
--- a/CPP/7zip/UI/Client7z/Client7z.cpp
|
||||
+++ b/CPP/7zip/UI/Client7z/Client7z.cpp
|
||||
@@ -230,8 +230,11 @@ private:
|
||||
COutFileStream *_outFileStreamSpec;
|
||||
CMyComPtr<ISequentialOutStream> _outFileStream;
|
||||
|
||||
+ CObjectVector<NWindows::NFile::NDir::CDelayedSymLink> _delayedSymLinks;
|
||||
+
|
||||
public:
|
||||
void Init(IInArchive *archiveHandler, const FString &directoryPath);
|
||||
+ HRESULT SetFinalAttribs();
|
||||
|
||||
UInt64 NumErrors;
|
||||
bool PasswordIsDefined;
|
||||
@@ -449,11 +452,23 @@ STDMETHODIMP CArchiveExtractCallback::SetOperationResult(Int32 operationResult)
|
||||
}
|
||||
_outFileStream.Release();
|
||||
if (_extractMode && _processedFileInfo.AttribDefined)
|
||||
- SetFileAttrib(_diskFilePath, _processedFileInfo.Attrib);
|
||||
+ SetFileAttrib(_diskFilePath, _processedFileInfo.Attrib, &_delayedSymLinks);
|
||||
PrintNewLine();
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
+HRESULT CArchiveExtractCallback::SetFinalAttribs()
|
||||
+{
|
||||
+ HRESULT result = S_OK;
|
||||
+
|
||||
+ for (int i = 0; i != _delayedSymLinks.Size(); ++i)
|
||||
+ if (!_delayedSymLinks[i].Create())
|
||||
+ result = E_FAIL;
|
||||
+
|
||||
+ _delayedSymLinks.Clear();
|
||||
+
|
||||
+ return result;
|
||||
+}
|
||||
|
||||
STDMETHODIMP CArchiveExtractCallback::CryptoGetTextPassword(BSTR *password)
|
||||
{
|
||||
@@ -914,6 +929,8 @@ int MY_CDECL main(int numArgs, const char *args[])
|
||||
// extractCallbackSpec->PasswordIsDefined = true;
|
||||
// extractCallbackSpec->Password = L"1";
|
||||
HRESULT result = archive->Extract(NULL, (UInt32)(Int32)(-1), false, extractCallback);
|
||||
+ if (result == S_OK)
|
||||
+ result = extractCallbackSpec->SetFinalAttribs();
|
||||
if (result != S_OK)
|
||||
{
|
||||
PrintError("Extract Error");
|
||||
diff --git a/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp b/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp
|
||||
index 877326b..05b13f3 100644
|
||||
--- a/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp
|
||||
+++ b/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp
|
||||
@@ -1502,7 +1502,7 @@ STDMETHODIMP CArchiveExtractCallback::SetOperationResult(Int32 opRes)
|
||||
NumFiles++;
|
||||
|
||||
if (!_stdOutMode && _extractMode && _fi.AttribDefined)
|
||||
- SetFileAttrib(_diskFilePath, _fi.Attrib);
|
||||
+ SetFileAttrib(_diskFilePath, _fi.Attrib, &_delayedSymLinks);
|
||||
|
||||
RINOK(_extractCallback2->SetOperationResult(opRes, BoolToInt(_encrypted)));
|
||||
|
||||
@@ -1584,8 +1584,9 @@ static unsigned GetNumSlashes(const FChar *s)
|
||||
}
|
||||
}
|
||||
|
||||
-HRESULT CArchiveExtractCallback::SetDirsTimes()
|
||||
+HRESULT CArchiveExtractCallback::SetFinalAttribs()
|
||||
{
|
||||
+ HRESULT result = S_OK;
|
||||
CRecordVector<CExtrRefSortPair> pairs;
|
||||
pairs.ClearAndSetSize(_extractedFolderPaths.Size());
|
||||
unsigned i;
|
||||
@@ -1622,5 +1623,12 @@ HRESULT CArchiveExtractCallback::SetDirsTimes()
|
||||
(WriteATime && ATimeDefined) ? &ATime : NULL,
|
||||
(WriteMTime && MTimeDefined) ? &MTime : (_arc->MTimeDefined ? &_arc->MTime : NULL));
|
||||
}
|
||||
- return S_OK;
|
||||
+
|
||||
+ for (int i = 0; i != _delayedSymLinks.Size(); ++i)
|
||||
+ if (!_delayedSymLinks[i].Create())
|
||||
+ result = E_FAIL;
|
||||
+
|
||||
+ _delayedSymLinks.Clear();
|
||||
+
|
||||
+ return result;
|
||||
}
|
||||
diff --git a/CPP/7zip/UI/Common/ArchiveExtractCallback.h b/CPP/7zip/UI/Common/ArchiveExtractCallback.h
|
||||
index 1e9f0b6..b51d78f 100644
|
||||
--- a/CPP/7zip/UI/Common/ArchiveExtractCallback.h
|
||||
+++ b/CPP/7zip/UI/Common/ArchiveExtractCallback.h
|
||||
@@ -6,6 +6,8 @@
|
||||
#include "../../../Common/MyCom.h"
|
||||
#include "../../../Common/Wildcard.h"
|
||||
|
||||
+#include "../../../Windows/FileDir.h"
|
||||
+
|
||||
#include "../../IPassword.h"
|
||||
|
||||
#include "../../Common/FileStreams.h"
|
||||
@@ -237,6 +239,8 @@ class CArchiveExtractCallback:
|
||||
bool _saclEnabled;
|
||||
#endif
|
||||
|
||||
+ CObjectVector<NWindows::NFile::NDir::CDelayedSymLink> _delayedSymLinks;
|
||||
+
|
||||
void CreateComplexDirectory(const UStringVector &dirPathParts, FString &fullPath);
|
||||
HRESULT GetTime(int index, PROPID propID, FILETIME &filetime, bool &filetimeIsDefined);
|
||||
HRESULT GetUnpackSize();
|
||||
@@ -330,7 +334,7 @@ public:
|
||||
}
|
||||
#endif
|
||||
|
||||
- HRESULT SetDirsTimes();
|
||||
+ HRESULT SetFinalAttribs();
|
||||
};
|
||||
|
||||
bool CensorNode_CheckPath(const NWildcard::CCensorNode &node, const CReadArcItem &item);
|
||||
diff --git a/CPP/7zip/UI/Common/Extract.cpp b/CPP/7zip/UI/Common/Extract.cpp
|
||||
index 5b96071..98192fa 100644
|
||||
--- a/CPP/7zip/UI/Common/Extract.cpp
|
||||
+++ b/CPP/7zip/UI/Common/Extract.cpp
|
||||
@@ -207,7 +207,7 @@ static HRESULT DecompressArchive(
|
||||
else
|
||||
result = archive->Extract(&realIndices.Front(), realIndices.Size(), testMode, ecs);
|
||||
if (result == S_OK && !options.StdInMode)
|
||||
- result = ecs->SetDirsTimes();
|
||||
+ result = ecs->SetFinalAttribs();
|
||||
return callback->ExtractResult(result);
|
||||
}
|
||||
|
||||
diff --git a/CPP/Windows/FileDir.cpp b/CPP/Windows/FileDir.cpp
|
||||
index 422edfc..baa6255 100644
|
||||
--- a/CPP/Windows/FileDir.cpp
|
||||
+++ b/CPP/Windows/FileDir.cpp
|
||||
@@ -347,7 +347,8 @@ static int convert_to_symlink(const char * name) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
-bool SetFileAttrib(CFSTR fileName, DWORD fileAttributes)
|
||||
+bool SetFileAttrib(CFSTR fileName, DWORD fileAttributes,
|
||||
+ CObjectVector<CDelayedSymLink> *delayedSymLinks)
|
||||
{
|
||||
if (!fileName) {
|
||||
SetLastError(ERROR_PATH_NOT_FOUND);
|
||||
@@ -379,7 +380,9 @@ bool SetFileAttrib(CFSTR fileName, DWORD fileAttributes)
|
||||
stat_info.st_mode = fileAttributes >> 16;
|
||||
#ifdef ENV_HAVE_LSTAT
|
||||
if (S_ISLNK(stat_info.st_mode)) {
|
||||
- if ( convert_to_symlink(name) != 0) {
|
||||
+ if (delayedSymLinks)
|
||||
+ delayedSymLinks->Add(CDelayedSymLink(name));
|
||||
+ else if ( convert_to_symlink(name) != 0) {
|
||||
TRACEN((printf("SetFileAttrib(%s,%d) : false-3\n",(const char *)name,fileAttributes)))
|
||||
return false;
|
||||
}
|
||||
@@ -814,6 +817,44 @@ bool CTempDir::Remove()
|
||||
return !_mustBeDeleted;
|
||||
}
|
||||
|
||||
+#ifdef ENV_UNIX
|
||||
+
|
||||
+CDelayedSymLink::CDelayedSymLink(const char * source)
|
||||
+ : _source(source)
|
||||
+{
|
||||
+ struct stat st;
|
||||
+
|
||||
+ if (lstat(_source, &st) == 0) {
|
||||
+ _dev = st.st_dev;
|
||||
+ _ino = st.st_ino;
|
||||
+ } else {
|
||||
+ _dev = 0;
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+bool CDelayedSymLink::Create()
|
||||
+{
|
||||
+ struct stat st;
|
||||
+
|
||||
+ if (_dev == 0) {
|
||||
+ errno = EPERM;
|
||||
+ return false;
|
||||
+ }
|
||||
+ if (lstat(_source, &st) != 0)
|
||||
+ return false;
|
||||
+ if (_dev != st.st_dev || _ino != st.st_ino) {
|
||||
+ // Placeholder file has been overwritten or moved by another
|
||||
+ // symbolic link creation
|
||||
+ errno = EPERM;
|
||||
+ return false;
|
||||
+ }
|
||||
+
|
||||
+ return convert_to_symlink(_source) == 0;
|
||||
+}
|
||||
+
|
||||
+#endif // ENV_UNIX
|
||||
+
|
||||
+
|
||||
}}}
|
||||
|
||||
#ifndef _SFX
|
||||
diff --git a/CPP/Windows/FileDir.h b/CPP/Windows/FileDir.h
|
||||
index b13d1cc..7429a81 100644
|
||||
--- a/CPP/Windows/FileDir.h
|
||||
+++ b/CPP/Windows/FileDir.h
|
||||
@@ -4,6 +4,7 @@
|
||||
#define __WINDOWS_FILE_DIR_H
|
||||
|
||||
#include "../Common/MyString.h"
|
||||
+#include "../Common/MyVector.h"
|
||||
|
||||
#include "FileIO.h"
|
||||
|
||||
@@ -11,11 +12,14 @@ namespace NWindows {
|
||||
namespace NFile {
|
||||
namespace NDir {
|
||||
|
||||
+class CDelayedSymLink;
|
||||
+
|
||||
bool GetWindowsDir(FString &path);
|
||||
bool GetSystemDir(FString &path);
|
||||
|
||||
bool SetDirTime(CFSTR path, const FILETIME *cTime, const FILETIME *aTime, const FILETIME *mTime);
|
||||
-bool SetFileAttrib(CFSTR path, DWORD attrib);
|
||||
+bool SetFileAttrib(CFSTR path, DWORD attrib,
|
||||
+ CObjectVector<CDelayedSymLink> *delayedSymLinks = 0);
|
||||
bool MyMoveFile(CFSTR existFileName, CFSTR newFileName);
|
||||
|
||||
#ifndef UNDER_CE
|
||||
@@ -76,6 +80,31 @@ public:
|
||||
bool Remove();
|
||||
};
|
||||
|
||||
+// Symbolic links must be created last so that they can't be used to
|
||||
+// create or overwrite files above the extraction directory.
|
||||
+class CDelayedSymLink
|
||||
+{
|
||||
+#ifdef ENV_UNIX
|
||||
+ // Where the symlink should be created. The target is specified in
|
||||
+ // the placeholder file.
|
||||
+ AString _source;
|
||||
+
|
||||
+ // Device and inode of the placeholder file. Before creating the
|
||||
+ // symlink, we must check that these haven't been changed by creation
|
||||
+ // of another symlink.
|
||||
+ dev_t _dev;
|
||||
+ ino_t _ino;
|
||||
+
|
||||
+public:
|
||||
+ explicit CDelayedSymLink(const char * source);
|
||||
+ bool Create();
|
||||
+#else // !ENV_UNIX
|
||||
+public:
|
||||
+ CDelayedSymLink(const char * source) {}
|
||||
+ bool Create() { return true; }
|
||||
+#endif // ENV_UNIX
|
||||
+};
|
||||
+
|
||||
#if !defined(UNDER_CE)
|
||||
class CCurrentDirRestorer
|
||||
{
|
@ -0,0 +1,158 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
WX_GTK_VER="3.0"
|
||||
|
||||
inherit eutils multilib toolchain-funcs wxwidgets
|
||||
|
||||
DESCRIPTION="Port of 7-Zip archiver for Unix"
|
||||
HOMEPAGE="http://p7zip.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}_src_all.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1 rar? ( unRAR )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE="doc kde rar +pch static wxwidgets abi_x86_x32"
|
||||
|
||||
REQUIRED_USE="kde? ( wxwidgets )"
|
||||
|
||||
RDEPEND="
|
||||
kde? ( x11-libs/wxGTK:${WX_GTK_VER}[X] kde-base/kdelibs )
|
||||
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )"
|
||||
DEPEND="${RDEPEND}
|
||||
amd64? ( dev-lang/yasm )
|
||||
abi_x86_x32? ( >=dev-lang/yasm-1.2.0-r1 )
|
||||
x86? ( dev-lang/nasm )"
|
||||
|
||||
S=${WORKDIR}/${PN}_${PV}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-CVE-2015-1038.patch
|
||||
|
||||
if ! use pch; then
|
||||
sed "s:PRE_COMPILED_HEADER=StdAfx.h.gch:PRE_COMPILED_HEADER=:g" -i makefile.* || die
|
||||
fi
|
||||
|
||||
sed \
|
||||
-e 's:-m32 ::g' \
|
||||
-e 's:-m64 ::g' \
|
||||
-e 's:-O::g' \
|
||||
-e 's: -s ::g' \
|
||||
-e 's: -s$::g' \
|
||||
-e 's:-pipe::g' \
|
||||
-e "/^CXX=/s:g++:$(tc-getCXX):" \
|
||||
-e "/^CC=/s:gcc:$(tc-getCC):" \
|
||||
-e '/ALLFLAGS/s:-s ::' \
|
||||
-e "/OPTFLAGS=/s:=.*:=${CXXFLAGS}:" \
|
||||
-i makefile* || die
|
||||
|
||||
# remove non-free RAR codec
|
||||
if use rar; then
|
||||
ewarn "Enabling nonfree RAR decompressor"
|
||||
else
|
||||
sed \
|
||||
-e '/Rar/d' \
|
||||
-e '/RAR/d' \
|
||||
-i makefile* CPP/7zip/Bundles/Format7zFree/makefile || die
|
||||
rm -rf CPP/7zip/Compress/Rar || die
|
||||
fi
|
||||
|
||||
if use abi_x86_x32; then
|
||||
sed -i -e "/^ASM=/s:amd64:x32:" makefile* || die
|
||||
cp -f makefile.linux_amd64_asm makefile.machine || die
|
||||
elif use amd64; then
|
||||
cp -f makefile.linux_amd64_asm makefile.machine || die
|
||||
elif use x86; then
|
||||
cp -f makefile.linux_x86_asm_gcc_4.X makefile.machine || die
|
||||
elif [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# Mac OS X needs this special makefile, because it has a non-GNU linker
|
||||
[[ ${CHOST} == *64-* ]] \
|
||||
&& cp -f makefile.macosx_64bits makefile.machine \
|
||||
|| cp -f makefile.macosx_32bits makefile.machine
|
||||
# bundles have extension .bundle but don't die because USE=-rar
|
||||
# removes the Rar directory
|
||||
sed -i -e '/strcpy(name/s/\.so/.bundle/' \
|
||||
CPP/Windows/DLL.cpp || die
|
||||
sed -i -e '/^PROG=/s/\.so/.bundle/' \
|
||||
CPP/7zip/Bundles/Format7zFree/makefile \
|
||||
$(use rar && echo CPP/7zip/Compress/Rar/makefile) || die
|
||||
elif use x86-fbsd; then
|
||||
# FreeBSD needs this special makefile, because it hasn't -ldl
|
||||
sed -e 's/-lc_r/-pthread/' makefile.freebsd > makefile.machine
|
||||
fi
|
||||
|
||||
if use static; then
|
||||
sed -i -e '/^LOCAL_LIBS=/s/LOCAL_LIBS=/&-static /' makefile.machine || die
|
||||
fi
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
need-wxwidgets unicode
|
||||
einfo "Preparing dependency list"
|
||||
emake depend
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake all3
|
||||
if use kde || use wxwidgets; then
|
||||
emake -- 7zG
|
||||
emake -- 7zFM
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test test_7z test_7zr
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# this wrappers can not be symlinks, p7zip should be called with full path
|
||||
make_wrapper 7zr "/usr/$(get_libdir)/${PN}/7zr"
|
||||
make_wrapper 7za "/usr/$(get_libdir)/${PN}/7za"
|
||||
make_wrapper 7z "/usr/$(get_libdir)/${PN}/7z"
|
||||
|
||||
if use kde || use wxwidgets; then
|
||||
make_wrapper 7zG "/usr/$(get_libdir)/${PN}/7zG"
|
||||
make_wrapper 7zFM "/usr/$(get_libdir)/${PN}/7zFM"
|
||||
|
||||
make_desktop_entry 7zFM "${PN} FM" ${PN} "GTK;Utility;Archiving;Compression"
|
||||
|
||||
dobin GUI/p7zipForFilemanager
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
doexe bin/7z{G,FM}
|
||||
|
||||
insinto /usr/$(get_libdir)/${PN}
|
||||
doins -r GUI/{Lang,help}
|
||||
|
||||
insinto /usr/share/icons/hicolor/16x16/apps/
|
||||
newins GUI/p7zip_16_ok.png p7zip.png
|
||||
|
||||
if use kde; then
|
||||
rm GUI/kde4/p7zip_compress.desktop || die
|
||||
insinto /usr/share/kde4/services/ServiceMenus
|
||||
doins GUI/kde4/*.desktop
|
||||
fi
|
||||
fi
|
||||
|
||||
dobin contrib/gzip-like_CLI_wrapper_for_7z/p7zip
|
||||
doman contrib/gzip-like_CLI_wrapper_for_7z/man1/p7zip.1
|
||||
|
||||
exeinto /usr/$(get_libdir)/${PN}
|
||||
doexe bin/7z bin/7za bin/7zr bin/7zCon.sfx
|
||||
doexe bin/*$(get_modname)
|
||||
if use rar; then
|
||||
exeinto /usr/$(get_libdir)/${PN}/Codecs/
|
||||
doexe bin/Codecs/*$(get_modname)
|
||||
fi
|
||||
|
||||
doman man1/7z.1 man1/7za.1 man1/7zr.1
|
||||
dodoc ChangeLog README TODO
|
||||
|
||||
if use doc; then
|
||||
dodoc DOC/*.txt
|
||||
dohtml -r DOC/MANUAL/*
|
||||
fi
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST kchmviewer-6.0.tar.gz 310642 SHA256 81c856434a86977039c36cb10f2427cc8cb1ea29a778f24fff2285d49c717979 SHA512 029335e4acea711f31c7d17751292c6b755504b97b73864b5d25a7a8a2853c0499658056bad9f9c0b6324f61c024feb5a943dc670fdccb37fcdee1346d7334d9 WHIRLPOOL 2b368654d50d0e553d116ca52f3b1ebe3d709a6b52933d54a54d2360c51356628d58c3cc789e32da54a5897b1cbee185380dbcbe0b6824146ec1ad39dc5c9280
|
||||
DIST kchmviewer-6.1.tar.gz 346587 SHA256 f673c3aaca735d799d14b9f6f1b302e9bb77d5c0a0b601b4b5e0beed1c99fe78 SHA512 aabcf98510a5a0cd38f3937e14c86e15b2514cf118e7d17e96a3a4779bb7c0985248f352844a021a66d482cfecdc3c405c816f71a7bec02d1765f8e4d7510126 WHIRLPOOL 1585726cdf4295a49c16733ee9a93d97d6087977dd8e151681bb73d19d34052c9a9423e3488e4152b7736ce8e9bf3cf02be26554ea6fffe2ccaaef9297f593a7
|
||||
DIST kchmviewer-7.1.tar.gz 340934 SHA256 a410d0a343d8a871cc860e2983079981806eb70cbf0c970fa1bcf5689821144f SHA512 6e98441358eab74d80adee437b1ad24dbf3e5b5a6ae4c5d7744537a169a6a64303b8e2b4bf1e636c0f6d955bdd1a59b7f1db2d45fc6dfecb6bb3a31088abce61 WHIRLPOOL 6e5bf2639057aa5f55ce25e9d457ca267b2ab015b5553e9edbc7bbe2997bc1d6ebcdadc656b06b15ada115eb196104a3770fdd68234b47bb3f352d3d6a9b23b3
|
||||
DIST kchmviewer-7.3.tar.gz 344483 SHA256 7cb805c9a836b7622bbea1d5df8873fb711979285abb21bccf095f25cf3f6007 SHA512 b4861e157f850413051df70dbdf90c7bcc9eebd58a0e6a4990a0eab232ec02ace44c4fe4367f74d23bbc0fab32e61e149b474db43efb45ef08f42af97e6af093 WHIRLPOOL 3705f565f1b5333471b75b5e48e9b10cb795b195b4d2cc44b7bd9905743082264993ed25c7fc4618dc8e5bc13f41abf1b3a8a4783f54adf98b6512f411735ef9
|
||||
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils fdo-mime qmake-utils
|
||||
|
||||
DESCRIPTION="A feature rich chm file viewer, based on Qt"
|
||||
HOMEPAGE="http://www.kchmviewer.net/"
|
||||
SRC_URI="mirror://sourceforge/kchmviewer/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="debug qt5"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/chmlib
|
||||
dev-libs/libzip
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtdbus:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtprintsupport:5
|
||||
dev-qt/qtwebkit:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtxml:5
|
||||
)
|
||||
!qt5? (
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtdbus:4
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtwebkit:4
|
||||
)
|
||||
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# fix parallel build wrt bug #527192
|
||||
echo "src.depends = lib" >> ${PN}.pro || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use qt5; then
|
||||
eqmake5
|
||||
else
|
||||
eqmake4
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc ChangeLog DBUS-bindings FAQ README
|
||||
doicon packages/kchmviewer.png
|
||||
|
||||
dobin bin/kchmviewer
|
||||
domenu packages/kchmviewer.desktop
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST JAXWS2.0.1m1_source_20060817.jar 8993405 SHA256 9725cfb91cecff833055d7af45c3413ca9d1a818a4cfdb86211ed82f383f3865 SHA512 55454a8270310b9778c69aad8b8ace45dc4ba3059b33ac48dcfd5d771fade2d6e4c46a5a65a522ae5cca0438f159ba84c90d8e74d54731a9c6c0caa9d84a0314 WHIRLPOOL fe0727935c592b538b7042808fffa987ea5ae47554367ea0cfc91f65d765bd234713aaa142b2297988d74eec01fce9cd4bedceb0fb7b0068eb38084a1d5f5ba7
|
||||
DIST jsr181-api-1.0-MR1-sources.jar 3929 SHA256 abb37e9c15043bde98ad27bae9b955bb43ccf5c27c1a0f88d57d2bb8bc509b14 SHA512 383806428ebe80e94af2c80a3d383f24e934cde57d5628e60b2e2335052ac037ad45f1e8c265c579cf60ed7383b15fd8f2e8dda6b08d8edf1d171b9f0ef0080e WHIRLPOOL 0e611e08d8aa78555fecefd7a6e56a488e555db0dfdc62c1ff1e96f643f8e5b67f62142d1935190ac7a23aa7555a2ce389bd459f0d482cbba03bdedf365408e2
|
||||
|
@ -1,25 +0,0 @@
|
||||
<?xml version="1.0" standalone="yes"?>
|
||||
<project basedir="." default="jar">
|
||||
<target name="compile">
|
||||
<mkdir dir="bin"/>
|
||||
<javac srcdir="src" destdir="bin">
|
||||
<include name="**/*.java"/>
|
||||
<classpath>
|
||||
<fileset dir="lib">
|
||||
<include name="**/*.jar"/>
|
||||
</fileset>
|
||||
</classpath>
|
||||
</javac>
|
||||
</target>
|
||||
<target name="jar" depends="compile">
|
||||
<jar destfile="jsr181.jar" manifest="META-INF/MANIFEST.MF">
|
||||
<zipfileset dir="bin"/>
|
||||
</jar>
|
||||
</target>
|
||||
<target name="doc">
|
||||
<mkdir dir="api"/>
|
||||
<javadoc packagenames="javax.*" destdir="api">
|
||||
<fileset dir="src/" includes="**/*.java"/>
|
||||
</javadoc>
|
||||
</target>
|
||||
</project>
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
DESCRIPTION="JSR 181 API classes"
|
||||
HOMEPAGE="http://jax-ws.dev.java.net/"
|
||||
DATE="20060817"
|
||||
MY_P="JAXWS2.0.1m1_source_${DATE}.jar"
|
||||
SRC_URI="https://jax-ws.dev.java.net/jax-ws-201-m1/${MY_P}"
|
||||
|
||||
LICENSE="CDDL"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
app-arch/unzip
|
||||
${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/jaxws-si"
|
||||
|
||||
src_unpack() {
|
||||
printf '%s\n' "A" | $(java-config --java) -jar "${DISTDIR}/${A}" -console > /dev/null || die "unpack failed"
|
||||
unpack ./jaxws-src.zip || die "unzip failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar lib/jsr181-api.jar
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
DESCRIPTION="JSR 181 API classes"
|
||||
HOMEPAGE="http://jax-ws.dev.java.net/"
|
||||
DATE="20060817"
|
||||
MY_P="JAXWS2.0.1m1_source_${DATE}.jar"
|
||||
SRC_URI="https://jax-ws.dev.java.net/jax-ws-201-m1/${MY_P}"
|
||||
|
||||
LICENSE="CDDL"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
app-arch/unzip
|
||||
${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/jaxws-si"
|
||||
|
||||
src_unpack() {
|
||||
printf '%s\n' "A" | $(java-config --java) -jar "${DISTDIR}/${A}" -console > /dev/null || die "unpack failed"
|
||||
unpack ./jaxws-src.zip || die "unzip failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar lib/jsr181-api.jar
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST jsr311-api-1.1-src.tar.bz2 84225 SHA256 c048e69dae1282e345de8cc169d3ead0a2bde9054b385b8b15f24074d4c779ef SHA512 d7d07b1587914f1b060fb780eb96aae98d4d6d78c6f40822bc5e60e1eb2d0956fe048c7dc3f21a8e40160d67ca208eb2e731ae72215e52a7c545eac79ca4ba76 WHIRLPOOL 4cc66526547dbcefa6f1a300c8d16e6ae3e95423a23d2452fc4fbb0a449af84bff6fb739d167e5f0718bfcfa43d58d379bf24e4a3ed85ead81ff0779105def4e
|
||||
DIST jsr311-api-1.1.1-sources.jar 70022 SHA256 99227bada18620d29406be240e7c749da68e646ce1d2a61d6f320863f05a30da SHA512 4f32eb290aa312794ae91b3b4e2baa72efbcf2036962c7223320f7f7e7cd9b5de10c4acb1c92277df946b12710e0699bc1d3ddd7459903c43107437c21cb5542 WHIRLPOOL 022dbf28ddbc7df4a4a020b710c3b64a9f639acc388e3d6370cd426eadfc7aaf1c5ee731c15cd20d75c80829e8e5423714df6007c4cd7408111c8d48c52d2e05
|
||||
|
@ -1,26 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- Ant build modified for Gentoo @ Mon, 23 Feb 2009 08:35:22 +0000 -->
|
||||
<!-- Robin H. Johnson <robbat2@gentoo.org> -->
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<project name="jsr311-api" default="package" basedir=".">
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Import maven-build.xml into the current project -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<import file="maven-build.xml"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Help target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="help">
|
||||
<echo message="Please run: $ant -projecthelp"/>
|
||||
</target>
|
||||
|
||||
</project>
|
@ -1,17 +0,0 @@
|
||||
Manifest-Version: 1.0
|
||||
Extension-Name: javax.ws.rs
|
||||
Specification-Title: JAX-RS: Java API for RESTful Web Services
|
||||
Specification-Vendor: Sun Microsystems, Inc.
|
||||
Specification-Version: 1.0
|
||||
Bundle-DocURL: http://www.sun.com/
|
||||
Bundle-License: http://www.opensource.org/licenses/cddl1.php
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: jsr311-api
|
||||
Bundle-SymbolicName: javax.ws.rs.jsr311-api
|
||||
Bundle-Vendor: Sun Microsystems, Inc
|
||||
Bundle-Version: 1.0
|
||||
Import-Package: javax.ws.rs;version="1.0",javax.ws.rs.core;version="1.
|
||||
0",javax.ws.rs.ext;version="1.0"
|
||||
Export-Package: javax.ws.rs;uses:="javax.ws.rs.core";version="1.0",jav
|
||||
ax.ws.rs.ext;uses:="javax.ws.rs,javax.ws.rs.core";version="1.0",javax
|
||||
.ws.rs.core;uses:="javax.ws.rs,javax.ws.rs.ext";version="1.0"
|
@ -1,183 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- Ant build modified for Gentoo @ Mon, 23 Feb 2009 08:35:22 +0000 -->
|
||||
<!-- Robin H. Johnson <robbat2@gentoo.org> -->
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<project name="jsr311-api-from-maven" default="package" basedir=".">
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Build environment properties -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<property file="maven-build.properties"/>
|
||||
|
||||
<property name="maven.build.finalName" value="jsr311-api-1.0"/>
|
||||
<property name="maven.build.dir" value="target"/>
|
||||
<property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
|
||||
<property name="maven.build.srcDir.0" value="src"/>
|
||||
<property name="maven.build.resourceDir.0" value="src/main/resources"/>
|
||||
<property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
|
||||
<property name="maven.build.testDir.0" value="test"/>
|
||||
<property name="maven.build.testResourceDir.0" value="src/test/resources"/>
|
||||
<property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
|
||||
<property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
|
||||
|
||||
<property name="maven.settings.interactiveMode" value="true"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Defining classpaths -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<path id="build.classpath">
|
||||
</path>
|
||||
<path id="build.test.classpath">
|
||||
<fileset dir=".">
|
||||
<include name="lib/junit.jar"/>
|
||||
</fileset>
|
||||
</path>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Cleaning up target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="clean" description="Clean the output directory">
|
||||
<delete dir="${maven.build.dir}"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile" description="Compile the code">
|
||||
<mkdir dir="${maven.build.outputDir}"/>
|
||||
<javac destdir="${maven.build.outputDir}"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.5"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.5"
|
||||
classpath="${gentoo.classpath}">
|
||||
<src>
|
||||
<pathelement location="${maven.build.srcDir.0}"/>
|
||||
</src>
|
||||
<classpath refid="build.classpath"/>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Test-compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile-tests"
|
||||
depends="compile"
|
||||
description="Compile the test code"
|
||||
unless="maven.test.skip">
|
||||
<mkdir dir="${maven.build.testOutputDir}"/>
|
||||
<javac destdir="${maven.build.testOutputDir}"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.5"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.5"
|
||||
classpath="${gentoo.classpath}">
|
||||
<src>
|
||||
<pathelement location="${maven.build.testDir.0}"/>
|
||||
</src>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
</classpath>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Run all tests -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test"
|
||||
depends="compile-tests"
|
||||
description="Run the test cases">
|
||||
<mkdir dir="${maven.test.reports}"/>
|
||||
<junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
|
||||
<sysproperty key="basedir" value="."/>
|
||||
<formatter type="xml"/>
|
||||
<formatter type="plain" usefile="false"/>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
<pathelement location="${maven.build.testOutputDir}"/>
|
||||
</classpath>
|
||||
<batchtest todir="${maven.test.reports}" unless="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/Test*.java"/>
|
||||
<include name="**/*Test.java"/>
|
||||
<include name="**/*TestCase.java"/>
|
||||
<exclude name="**/*Abstract*Test.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
<batchtest todir="${maven.test.reports}" if="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/${test}.java"/>
|
||||
<exclude name="**/*Abstract*Test.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
</junit>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Javadoc target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="javadoc" description="Generates the Javadoc of the application">
|
||||
<javadoc sourcepath="${maven.build.srcDir.0}"
|
||||
packagenames="*"
|
||||
destdir="${maven.reporting.outputDirectory}/apidocs"
|
||||
access="protected"
|
||||
old="false"
|
||||
verbose="false"
|
||||
version="true"
|
||||
use="true"
|
||||
author="true"
|
||||
splitindex="false"
|
||||
nodeprecated="false"
|
||||
nodeprecatedlist="false"
|
||||
notree="false"
|
||||
noindex="false"
|
||||
nohelp="false"
|
||||
nonavbar="false"
|
||||
serialwarn="false"
|
||||
charset="ISO-8859-1"
|
||||
linksource="false"
|
||||
breakiterator="false"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Package target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="package" depends="compile" description="Package the application">
|
||||
<jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
|
||||
compress="true"
|
||||
index="false"
|
||||
manifest="manifest"
|
||||
basedir="${maven.build.outputDir}"
|
||||
excludes="**/package.html"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- A dummy target for the package named after the type it creates -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="jar" depends="package" description="Builds the jar for the application"/>
|
||||
|
||||
</project>
|
@ -1,26 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- Ant build modified for Gentoo @ Mon, 23 Feb 2009 08:35:22 +0000 -->
|
||||
<!-- Robin H. Johnson <robbat2@gentoo.org> -->
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<project name="jsr311-api" default="package" basedir=".">
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Import maven-build.xml into the current project -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<import file="maven-build.xml"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Help target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="help">
|
||||
<echo message="Please run: $ant -projecthelp"/>
|
||||
</target>
|
||||
|
||||
</project>
|
@ -1,17 +0,0 @@
|
||||
Manifest-Version: 1.0
|
||||
Extension-Name: javax.ws.rs
|
||||
Specification-Title: JAX-RS: Java API for RESTful Web Services
|
||||
Specification-Vendor: Sun Microsystems, Inc.
|
||||
Specification-Version: 1.1
|
||||
Bundle-License: http://www.opensource.org/licenses/cddl1.php
|
||||
Import-Package: javax.ws.rs;version="1.1",javax.ws.rs.core;version="1.
|
||||
0",javax.ws.rs.ext;version="1.1"
|
||||
Export-Package: javax.ws.rs;uses:="javax.ws.rs.core";version="1.1",jav
|
||||
ax.ws.rs.ext;uses:="javax.ws.rs,javax.ws.rs.core";version="1.1",javax
|
||||
.ws.rs.core;uses:="javax.ws.rs,javax.ws.rs.ext";version="1.1"
|
||||
Bundle-Version: 1.1
|
||||
Bundle-Name: jsr311-api
|
||||
Bundle-DocURL: http://www.sun.com/
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Vendor: Sun Microsystems, Inc
|
||||
Bundle-SymbolicName: javax.ws.rs.jsr311-api
|
@ -1,183 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- Ant build modified for Gentoo @ Mon, 23 Feb 2009 08:35:22 +0000 -->
|
||||
<!-- Robin H. Johnson <robbat2@gentoo.org> -->
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<project name="jsr311-api-from-maven" default="package" basedir=".">
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Build environment properties -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<property file="maven-build.properties"/>
|
||||
|
||||
<property name="maven.build.finalName" value="jsr311-api-1.1"/>
|
||||
<property name="maven.build.dir" value="target"/>
|
||||
<property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
|
||||
<property name="maven.build.srcDir.0" value="src"/>
|
||||
<property name="maven.build.resourceDir.0" value="src/main/resources"/>
|
||||
<property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
|
||||
<property name="maven.build.testDir.0" value="test"/>
|
||||
<property name="maven.build.testResourceDir.0" value="src/test/resources"/>
|
||||
<property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
|
||||
<property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
|
||||
|
||||
<property name="maven.settings.interactiveMode" value="true"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Defining classpaths -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<path id="build.classpath">
|
||||
</path>
|
||||
<path id="build.test.classpath">
|
||||
<fileset dir=".">
|
||||
<include name="lib/junit.jar"/>
|
||||
</fileset>
|
||||
</path>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Cleaning up target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="clean" description="Clean the output directory">
|
||||
<delete dir="${maven.build.dir}"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile" description="Compile the code">
|
||||
<mkdir dir="${maven.build.outputDir}"/>
|
||||
<javac destdir="${maven.build.outputDir}"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.5"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.5"
|
||||
classpath="${gentoo.classpath}">
|
||||
<src>
|
||||
<pathelement location="${maven.build.srcDir.0}"/>
|
||||
</src>
|
||||
<classpath refid="build.classpath"/>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Test-compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile-tests"
|
||||
depends="compile"
|
||||
description="Compile the test code"
|
||||
unless="maven.test.skip">
|
||||
<mkdir dir="${maven.build.testOutputDir}"/>
|
||||
<javac destdir="${maven.build.testOutputDir}"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.5"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.5"
|
||||
classpath="${gentoo.classpath}">
|
||||
<src>
|
||||
<pathelement location="${maven.build.testDir.0}"/>
|
||||
</src>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
</classpath>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Run all tests -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test"
|
||||
depends="compile-tests"
|
||||
description="Run the test cases">
|
||||
<mkdir dir="${maven.test.reports}"/>
|
||||
<junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
|
||||
<sysproperty key="basedir" value="."/>
|
||||
<formatter type="xml"/>
|
||||
<formatter type="plain" usefile="false"/>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
<pathelement location="${maven.build.testOutputDir}"/>
|
||||
</classpath>
|
||||
<batchtest todir="${maven.test.reports}" unless="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/Test*.java"/>
|
||||
<include name="**/*Test.java"/>
|
||||
<include name="**/*TestCase.java"/>
|
||||
<exclude name="**/*Abstract*Test.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
<batchtest todir="${maven.test.reports}" if="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/${test}.java"/>
|
||||
<exclude name="**/*Abstract*Test.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
</junit>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Javadoc target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="javadoc" description="Generates the Javadoc of the application">
|
||||
<javadoc sourcepath="${maven.build.srcDir.0}"
|
||||
packagenames="*"
|
||||
destdir="${maven.reporting.outputDirectory}/apidocs"
|
||||
access="protected"
|
||||
old="false"
|
||||
verbose="false"
|
||||
version="true"
|
||||
use="true"
|
||||
author="true"
|
||||
splitindex="false"
|
||||
nodeprecated="false"
|
||||
nodeprecatedlist="false"
|
||||
notree="false"
|
||||
noindex="false"
|
||||
nohelp="false"
|
||||
nonavbar="false"
|
||||
serialwarn="false"
|
||||
charset="ISO-8859-1"
|
||||
linksource="false"
|
||||
breakiterator="false"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Package target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="package" depends="compile" description="Package the application">
|
||||
<jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
|
||||
compress="true"
|
||||
index="false"
|
||||
manifest="manifest"
|
||||
basedir="${maven.build.outputDir}"
|
||||
excludes="**/package.html"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- A dummy target for the package named after the type it creates -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="jar" depends="package" description="Builds the jar for the application"/>
|
||||
|
||||
</project>
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="2"
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
PROJ_PN="jsr311"
|
||||
PROJ_PV="${PV}"
|
||||
PROJ_P="${PROJ_PN}-${PROJ_PV}"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="JAX-RS: Java API for RESTful Web Services"
|
||||
HOMEPAGE="https://jsr311.dev.java.net/"
|
||||
SRC_FILE="${P}-src.tar.bz2"
|
||||
SRC_URI="mirror://gentoo/${SRC_FILE}"
|
||||
|
||||
LICENSE="CDDL"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
test? ( dev-java/ant-junit:0 dev-java/junit:0 )"
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
|
||||
S="${WORKDIR}/${P}/${PN}"
|
||||
|
||||
# Helper to generate the tarball :-)
|
||||
# ( PN=jsr311-api ; PV=1.1 ; P="${PN}-${PV}" ; . ${P}.ebuild ; src_tarball )
|
||||
src_tarball() {
|
||||
SVN_SRC_URI="${HOMEPAGE}/svn/${PROJ_PN}/tags/${P}"
|
||||
tarball="${P}"
|
||||
svn export \
|
||||
--username guest --password '' --non-interactive \
|
||||
${SVN_SRC_URI} ${tarball} \
|
||||
&& \
|
||||
tar cvjf ${SRC_FILE} ${tarball} \
|
||||
&& \
|
||||
echo "New tarball located at ${SRC_FILE}"
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
for i in build.xml maven-build.xml manifest ; do
|
||||
cp -f "${FILESDIR}"/"${P}-${i}" "${i}" \
|
||||
|| die "Unable to find ${P}-${i}"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc README.txt || die
|
||||
java-pkg_newjar target/${P}.jar ${PN}.jar
|
||||
use doc && java-pkg_dojavadoc target/site/apidocs
|
||||
use source && java-pkg_dosrc src/javax
|
||||
}
|
||||
|
||||
src_test() {
|
||||
EANT_GENTOO_CLASSPATH="junit ant-core" \
|
||||
ANT_TASKS="ant-junit" \
|
||||
eant test
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST jaxr-1_0-fr-spec.zip 1443243 SHA256 b90e753fa51c6b0ac4cbcffafe73bcdc6a139804fe562916d3604d49e5fe3c58 SHA512 a60f2da27defd5ddecfabf1fb00464c111b4e8264d3bd26f91b9c1195022eecf7e8aeaa904aa8f7cb6f0aa35a713b45d2b7e5fdaa474c2e29341ad64c04ed5e2 WHIRLPOOL 9460536353e73f88298de207e4bba3f13d88a63714ac34be397c60f8973667cd8b68626a987bb35e7594be0ea10d643e438e5aec37bea8624b6e96c340f0fe5a
|
||||
DIST jaxr-api-1.0-sources.jar 45175 SHA256 c3ab05d8218c623746d21d291df8f4dbe5ef6db6ee0c062fb2cfba059d048ccf SHA512 efba6dd09cb9ff796019c6b750f44a5858cbde34b4fb93e74f3bed43178122a8591b1ae75996ed645ecde02862142b3d9f229cdc8059f9e5e95fedbdabae0d44 WHIRLPOOL 66e3185f253dc9a4c2bc86370f06351effd3c6df026845176253f9ffd3fd0ced06cc4c84e05151fd3f18da9cb2ef2a1723279b5af9f147ae2fa24bd2142c54b2
|
||||
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
EAPI=5
|
||||
JAVA_PKG_IUSE="source doc"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
MY_PN="jaxr-api"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
DESCRIPTION="Java API for XML Registries (JAXR) - API"
|
||||
HOMEPAGE="https://jcp.org/ja/jsr/detail?id=93"
|
||||
SRC_URI="http://repo1.maven.org/maven2/org/apache/ws/scout/${MY_PN}/${PV}/${MY_P}-sources.jar"
|
||||
LICENSE="sun-jsr93"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
DEPEND=">=virtual/jdk-1.6"
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=2
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Implementations of LzmaInputStream/LzmaOutputStream interacting with underlying LZMA en-/decoders"
|
||||
HOMEPAGE="http://contrapunctus.net/league/haques/lzmajio/"
|
||||
SRC_URI="http://comsci.liu.edu/~league/dist/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP=">=dev-java/lzma-4.61"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEP}"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
app-arch/unzip
|
||||
${COMMON_DEP}"
|
||||
|
||||
EANT_GENTOO_CLASSPATH="lzma"
|
||||
|
||||
src_prepare() {
|
||||
java-pkg_jar-from lzma
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar ${PN}.jar
|
||||
use doc && java-pkg_dojavadoc docs
|
||||
use source && java-pkg_dosrc net
|
||||
}
|
@ -0,0 +1,65 @@
|
||||
--- src/asm.c.old 2015-10-28 13:23:53.465014342 +0100
|
||||
+++ src/asm.c 2015-10-28 13:23:10.502813377 +0100
|
||||
@@ -652,7 +652,7 @@
|
||||
macputs(str);
|
||||
#else
|
||||
if (!inCdb)
|
||||
- fprintf(stderr, str);
|
||||
+ fprintf(stderr, "%s", str);
|
||||
#if defined DOSALLGRAPHX
|
||||
else {
|
||||
if (displayMode == TEXT)
|
||||
@@ -833,7 +833,7 @@
|
||||
#ifdef __MAC__
|
||||
textout(notEnoughMemErr);
|
||||
#else
|
||||
- fprintf(stderr, notEnoughMemErr);
|
||||
+ fprintf(stderr, "%s", notEnoughMemErr);
|
||||
#endif
|
||||
Exit(MEMERR);
|
||||
break;
|
||||
@@ -916,7 +916,7 @@
|
||||
}
|
||||
|
||||
if (ierr >= ERRMAX) {
|
||||
- sprintf(outs, tooManyMsgErr);
|
||||
+ sprintf(outs, "%s", tooManyMsgErr);
|
||||
#ifndef VMS
|
||||
textout(outs);
|
||||
#else
|
||||
--- src/cdb.c.old 2015-10-28 13:24:04.669805966 +0100
|
||||
+++ src/cdb.c 2015-10-28 13:23:10.502813377 +0100
|
||||
@@ -2760,7 +2760,7 @@
|
||||
fprintf(outp, nameByAuthorScores, warrior[idxV[i]].name, warrior[idxV[i]].authorName,
|
||||
scrV[idxV[i]]);
|
||||
if (warriors > 2) {
|
||||
- fprintf(outp, resultsAre);
|
||||
+ fprintf(outp, "%s", resultsAre);
|
||||
for (j = 0; j < warriors; ++j) {
|
||||
fprintf(outp, " %d", warrior[idxV[i]].score[j]);
|
||||
}
|
||||
--- src/clparse.c.old 2015-10-28 13:24:10.648694768 +0100
|
||||
+++ src/clparse.c 2015-10-28 13:23:10.502813377 +0100
|
||||
@@ -289,7 +289,7 @@
|
||||
if (next_input(filep, inputs)) {
|
||||
if (!strcmp(inputs, "-")) {
|
||||
newFile = stdin;
|
||||
- fprintf(stderr, readingStdin);
|
||||
+ fprintf(stderr, "%s", readingStdin);
|
||||
} else {
|
||||
if ((newFile = fopen(inputs, "r")) == NULL) {
|
||||
code = FILENAME; /* command file not found */
|
||||
@@ -430,11 +430,11 @@
|
||||
errout(outs);
|
||||
break;
|
||||
case MEMORY:
|
||||
- sprintf(outs, outOfMemory);
|
||||
+ sprintf(outs, "%s", outOfMemory);
|
||||
errout(outs);
|
||||
break;
|
||||
case FILENAME:
|
||||
- sprintf(outs, cannotOpenParameterFile);
|
||||
+ sprintf(outs, "%s", cannotOpenParameterFile);
|
||||
errout(outs);
|
||||
break;
|
||||
}
|
@ -1 +1 @@
|
||||
Wed, 28 Oct 2015 11:41:25 +0000
|
||||
Wed, 28 Oct 2015 18:11:21 +0000
|
||||
|
@ -1 +1 @@
|
||||
Wed, 28 Oct 2015 11:41:25 +0000
|
||||
Wed, 28 Oct 2015 18:11:21 +0000
|
||||
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile install prepare test
|
||||
DEPEND=kde? ( x11-libs/wxGTK:3.0[X] kde-base/kdelibs ) wxwidgets? ( x11-libs/wxGTK:3.0[X] ) amd64? ( dev-lang/yasm ) abi_x86_x32? ( >=dev-lang/yasm-1.2.0-r1 ) x86? ( dev-lang/nasm )
|
||||
DESCRIPTION=Port of 7-Zip archiver for Unix
|
||||
EAPI=5
|
||||
HOMEPAGE=http://p7zip.sourceforge.net/
|
||||
IUSE=doc kde rar +pch static wxwidgets abi_x86_x32
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris
|
||||
LICENSE=LGPL-2.1 rar? ( unRAR )
|
||||
RDEPEND=kde? ( x11-libs/wxGTK:3.0[X] kde-base/kdelibs ) wxwidgets? ( x11-libs/wxGTK:3.0[X] )
|
||||
REQUIRED_USE=kde? ( wxwidgets )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/p7zip/p7zip_15.09_src_all.tar.bz2
|
||||
_eclasses_=eutils 43da5163ba106e87d22d2e7d6d67537f flag-o-matic 85dc1eac3c64d8141374490ed64122e5 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 wxwidgets 2a19d3cd9b18703ae9fb53123722061c
|
||||
_md5_=7d4f7935425fda33ddbaeacfa6f067e3
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=configure install postinst postrm prepare
|
||||
DEPEND=dev-libs/chmlib dev-libs/libzip qt5? ( dev-qt/qtcore:5 dev-qt/qtdbus:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtprintsupport:5 dev-qt/qtwebkit:5 dev-qt/qtwidgets:5 dev-qt/qtxml:5 ) !qt5? ( dev-qt/qtcore:4 dev-qt/qtdbus:4 dev-qt/qtgui:4 dev-qt/qtwebkit:4 )
|
||||
DESCRIPTION=A feature rich chm file viewer, based on Qt
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.kchmviewer.net/
|
||||
IUSE=debug qt5
|
||||
KEYWORDS=~amd64 ~ppc ~x86
|
||||
LICENSE=GPL-3+
|
||||
RDEPEND=dev-libs/chmlib dev-libs/libzip qt5? ( dev-qt/qtcore:5 dev-qt/qtdbus:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtprintsupport:5 dev-qt/qtwebkit:5 dev-qt/qtwidgets:5 dev-qt/qtxml:5 ) !qt5? ( dev-qt/qtcore:4 dev-qt/qtdbus:4 dev-qt/qtgui:4 dev-qt/qtwebkit:4 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/kchmviewer/kchmviewer-7.3.tar.gz
|
||||
_eclasses_=eutils 43da5163ba106e87d22d2e7d6d67537f fdo-mime 92d07846ea8ea54172f8c0112a47ae3d multilib df4e4d5cfd3d137d0c248e1991c0e4d6 qmake-utils 05b63bb5c708c5903a9de5c58c8e43c8 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=9519e62e81062abfccf3a05657b0e622
|
@ -1,12 +0,0 @@
|
||||
DEFINED_PHASES=compile install preinst setup unpack
|
||||
DEPEND=>=virtual/jdk-1.6 app-arch/unzip >=virtual/jre-1.6 >=dev-java/java-config-2.2.0
|
||||
DESCRIPTION=JSR 181 API classes
|
||||
HOMEPAGE=http://jax-ws.dev.java.net/
|
||||
IUSE=elibc_FreeBSD
|
||||
KEYWORDS=amd64 ppc x86 ~x86-fbsd
|
||||
LICENSE=CDDL
|
||||
RDEPEND=>=virtual/jre-1.6 >=dev-java/java-config-2.2.0
|
||||
SLOT=0
|
||||
SRC_URI=https://jax-ws.dev.java.net/jax-ws-201-m1/JAXWS2.0.1m1_source_20060817.jar
|
||||
_eclasses_=eutils 43da5163ba106e87d22d2e7d6d67537f java-pkg-2 b02dc1e46b3648e467b5fbdf7857cf28 java-utils-2 a96633177f44ee992b3fce360d1c4f16 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=15a600ea188a142201e1386c53dc2ead
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile install preinst prepare setup unpack
|
||||
DEPEND=>=virtual/jdk-1.6 app-arch/unzip >=virtual/jre-1.6 >=dev-java/java-config-2.2.0
|
||||
DESCRIPTION=JSR 181 API classes
|
||||
EAPI=5
|
||||
HOMEPAGE=http://jax-ws.dev.java.net/
|
||||
IUSE=elibc_FreeBSD
|
||||
KEYWORDS=~amd64 ~ppc ~x86 ~x86-fbsd
|
||||
LICENSE=CDDL
|
||||
RDEPEND=>=virtual/jre-1.6 >=dev-java/java-config-2.2.0
|
||||
SLOT=0
|
||||
SRC_URI=https://jax-ws.dev.java.net/jax-ws-201-m1/JAXWS2.0.1m1_source_20060817.jar
|
||||
_eclasses_=eutils 43da5163ba106e87d22d2e7d6d67537f java-pkg-2 b02dc1e46b3648e467b5fbdf7857cf28 java-utils-2 a96633177f44ee992b3fce360d1c4f16 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=821059534bc7eda8711a1d6333a6ec88
|
@ -1,13 +1,13 @@
|
||||
DEFINED_PHASES=compile install preinst prepare setup
|
||||
DEPEND=>=virtual/jdk-1.6 app-arch/unzip >=dev-java/java-config-2.2.0
|
||||
DEPEND=>=virtual/jdk-1.6 app-arch/unzip >=dev-java/java-config-2.2.0 source? ( app-arch/zip )
|
||||
DESCRIPTION=JSR 181 API classes
|
||||
EAPI=5
|
||||
HOMEPAGE=http://jcp.org/en/jsr/summary?id=181
|
||||
IUSE=elibc_FreeBSD elibc_FreeBSD
|
||||
KEYWORDS=~amd64 ~ppc ~ppc64 ~x86
|
||||
IUSE=elibc_FreeBSD source doc elibc_FreeBSD
|
||||
KEYWORDS=amd64 ppc ppc64 x86
|
||||
LICENSE=CDDL
|
||||
RDEPEND=>=virtual/jre-1.6 >=dev-java/java-config-2.2.0
|
||||
RDEPEND=>=virtual/jre-1.6 >=dev-java/java-config-2.2.0 source? ( app-arch/zip )
|
||||
SLOT=0
|
||||
SRC_URI=http://central.maven.org/maven2/javax/jws/jsr181-api/1.0-MR1/jsr181-api-1.0-MR1-sources.jar
|
||||
_eclasses_=eutils 43da5163ba106e87d22d2e7d6d67537f java-pkg-2 b02dc1e46b3648e467b5fbdf7857cf28 java-pkg-simple 002bfd79a6cd417a199bb3bd8704334e java-utils-2 a96633177f44ee992b3fce360d1c4f16 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=0b6a1b9695f1251b93a95f4a2a1acb4d
|
||||
_md5_=55b9105b68d6be191426ce26b5164069
|
||||
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install preinst prepare setup test
|
||||
DEPEND=>=virtual/jdk-1.5 test? ( dev-java/ant-junit:0 dev-java/junit:0 ) >=dev-java/java-config-2.2.0 source? ( app-arch/zip ) >=dev-java/ant-core-1.8.2:0 >=dev-java/javatoolkit-0.3.0-r2
|
||||
DESCRIPTION=JAX-RS: Java API for RESTful Web Services
|
||||
EAPI=2
|
||||
HOMEPAGE=https://jsr311.dev.java.net/
|
||||
IUSE=elibc_FreeBSD doc source test elibc_FreeBSD
|
||||
KEYWORDS=amd64 ppc x86
|
||||
LICENSE=CDDL
|
||||
RDEPEND=>=virtual/jre-1.5 >=dev-java/java-config-2.2.0 source? ( app-arch/zip )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://gentoo/jsr311-api-1.1-src.tar.bz2
|
||||
_eclasses_=eutils 43da5163ba106e87d22d2e7d6d67537f java-ant-2 7c5d0c274d390745f5033754a319f515 java-pkg-2 b02dc1e46b3648e467b5fbdf7857cf28 java-utils-2 a96633177f44ee992b3fce360d1c4f16 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=7dba1b4f3c768d4acd608cb861f1f8c7
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile install preinst prepare setup
|
||||
DEPEND=>=virtual/jdk-1.6 >=dev-java/java-config-2.2.0 source? ( app-arch/zip )
|
||||
DESCRIPTION=Java API for XML Registries (JAXR) - API
|
||||
EAPI=5
|
||||
HOMEPAGE=https://jcp.org/ja/jsr/detail?id=93
|
||||
IUSE=elibc_FreeBSD source doc elibc_FreeBSD
|
||||
KEYWORDS=~amd64 ~ppc ~ppc64 ~x86
|
||||
LICENSE=sun-jsr93
|
||||
RDEPEND=>=virtual/jre-1.6 >=dev-java/java-config-2.2.0 source? ( app-arch/zip )
|
||||
SLOT=0
|
||||
SRC_URI=http://repo1.maven.org/maven2/org/apache/ws/scout/jaxr-api/1.0/jaxr-api-1.0-sources.jar
|
||||
_eclasses_=eutils 43da5163ba106e87d22d2e7d6d67537f java-pkg-2 b02dc1e46b3648e467b5fbdf7857cf28 java-pkg-simple 002bfd79a6cd417a199bb3bd8704334e java-utils-2 a96633177f44ee992b3fce360d1c4f16 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=0c691e8bd78f32ecb1c8822445dc7264
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install preinst prepare setup
|
||||
DEPEND=>=virtual/jdk-1.5 app-arch/unzip >=dev-java/lzma-4.61 >=dev-java/java-config-2.2.0 source? ( app-arch/zip ) >=dev-java/ant-core-1.8.2:0 >=dev-java/javatoolkit-0.3.0-r2
|
||||
DESCRIPTION=Implementations of LzmaInputStream/LzmaOutputStream interacting with underlying LZMA en-/decoders
|
||||
EAPI=2
|
||||
HOMEPAGE=http://contrapunctus.net/league/haques/lzmajio/
|
||||
IUSE=elibc_FreeBSD doc source elibc_FreeBSD
|
||||
KEYWORDS=amd64 x86
|
||||
LICENSE=LGPL-2.1
|
||||
RDEPEND=>=virtual/jre-1.5 >=dev-java/lzma-4.61 >=dev-java/java-config-2.2.0 source? ( app-arch/zip )
|
||||
SLOT=0
|
||||
SRC_URI=http://comsci.liu.edu/~league/dist/lzmajio/lzmajio-0.95.tar.gz
|
||||
_eclasses_=eutils 43da5163ba106e87d22d2e7d6d67537f java-ant-2 7c5d0c274d390745f5033754a319f515 java-pkg-2 b02dc1e46b3648e467b5fbdf7857cf28 java-utils-2 a96633177f44ee992b3fce360d1c4f16 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=b63ed86aed90b253091a48453cb69e9f
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare setup unpack
|
||||
DEPEND=>=dev-lang/python-2.7.5-r2:2.7[sqlite(-)?] >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_5(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),python_single_target_python2_7(+)] >=app-admin/eselect-1.2 media-libs/libprojectm sci-libs/proj sci-libs/xdrfile sys-libs/gdbm sys-libs/ncurses:0= sys-libs/zlib fftw? ( sci-libs/fftw:3.0 ) gdal? ( sci-libs/gdal ) geos? ( sci-libs/geos ) blas? ( virtual/blas sci-libs/cblas-reference ) lapack? ( virtual/lapack ) mysql? ( virtual/mysql ) netcdf? ( sci-libs/netcdf ) odbc? ( dev-db/unixODBC ) opencl? ( virtual/opencl ) opengl? ( virtual/opengl ) png? ( media-libs/libpng:0= ) postgres? ( >=dev-db/postgresql-8.4:= ) readline? ( sys-libs/readline:0= ) sqlite? ( dev-db/sqlite:3 ) tiff? ( media-libs/tiff:0= ) truetype? ( media-libs/freetype:2 ) X? ( >=dev-python/wxpython-2.8.10.1:2.8[cairo,opengl?] x11-libs/cairo[X,opengl?] x11-libs/libICE x11-libs/libSM x11-libs/libX11 x11-libs/libXaw x11-libs/libXext x11-libs/libXmu x11-libs/libXp x11-libs/libXpm x11-libs/libXt ) virtual/pkgconfig sys-devel/flex sys-devel/gettext sys-devel/bison X? ( dev-lang/swig x11-proto/xextproto x11-proto/xproto ) app-arch/xz-utils >=sys-apps/sed-4 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) ~sys-devel/autoconf-2.13 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=A free GIS with raster and vector functionality, as well as 3D vizualization
|
||||
EAPI=5
|
||||
HOMEPAGE=http://grass.osgeo.org/
|
||||
IUSE=X blas cxx fftw gdal geos lapack mysql netcdf nls odbc opencl opengl openmp png postgres readline sqlite threads tiff truetype debug python_targets_python2_7
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=dev-lang/python-2.7.5-r2:2.7[sqlite(-)?] >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_5(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),python_single_target_python2_7(+)] >=app-admin/eselect-1.2 media-libs/libprojectm sci-libs/proj sci-libs/xdrfile sys-libs/gdbm sys-libs/ncurses:0= sys-libs/zlib fftw? ( sci-libs/fftw:3.0 ) gdal? ( sci-libs/gdal ) geos? ( sci-libs/geos ) blas? ( virtual/blas sci-libs/cblas-reference ) lapack? ( virtual/lapack ) mysql? ( virtual/mysql ) netcdf? ( sci-libs/netcdf ) odbc? ( dev-db/unixODBC ) opencl? ( virtual/opencl ) opengl? ( virtual/opengl ) png? ( media-libs/libpng:0= ) postgres? ( >=dev-db/postgresql-8.4:= ) readline? ( sys-libs/readline:0= ) sqlite? ( dev-db/sqlite:3 ) tiff? ( media-libs/tiff:0= ) truetype? ( media-libs/freetype:2 ) X? ( >=dev-python/wxpython-2.8.10.1:2.8[cairo,opengl?] x11-libs/cairo[X,opengl?] x11-libs/libICE x11-libs/libSM x11-libs/libX11 x11-libs/libXaw x11-libs/libXext x11-libs/libXmu x11-libs/libXp x11-libs/libXpm x11-libs/libXt )
|
||||
REQUIRED_USE=python_targets_python2_7 opengl? ( X )
|
||||
SLOT=7
|
||||
SRC_URI=http://grass.osgeo.org/grass70/source/grass-7.0.1.tar.gz
|
||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils 43da5163ba106e87d22d2e7d6d67537f fdo-mime 92d07846ea8ea54172f8c0112a47ae3d flag-o-matic 85dc1eac3c64d8141374490ed64122e5 gnome.org ad34f378a3d57a6f2f2b8b4aaca4543e gnome2 56d268cae832738430a9de86a5765fa1 gnome2-utils 588052cacdf74572e68bdfeaece20534 libtool 7f78cd7d403808a350c9ae23f5821fb4 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 python-single-r1 612c783d1a1a182ad7ea4f2eb0b79e86 python-utils-r1 9c405693f1f355a718700c5cffffd9e5 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c wxwidgets 2a19d3cd9b18703ae9fb53123722061c
|
||||
_md5_=89500ad652fdb01ef284bb66d69d733d
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare setup unpack
|
||||
DEPEND=>=dev-lang/python-2.7.5-r2:2.7[sqlite(-)?] >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_5(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),python_single_target_python2_7(+)] >=app-admin/eselect-1.2 media-libs/libprojectm sci-libs/proj sci-libs/xdrfile sys-libs/gdbm sys-libs/ncurses:0= sys-libs/zlib fftw? ( sci-libs/fftw:3.0 ) gdal? ( sci-libs/gdal ) geos? ( sci-libs/geos ) blas? ( virtual/blas sci-libs/cblas-reference ) lapack? ( virtual/lapack ) liblas? ( sci-geosciences/liblas ) mysql? ( virtual/mysql ) netcdf? ( sci-libs/netcdf ) odbc? ( dev-db/unixODBC ) opencl? ( virtual/opencl ) opengl? ( virtual/opengl ) png? ( media-libs/libpng:0= ) postgres? ( >=dev-db/postgresql-8.4:= ) readline? ( sys-libs/readline:0= ) sqlite? ( dev-db/sqlite:3 ) tiff? ( media-libs/tiff:0= ) truetype? ( media-libs/freetype:2 ) X? ( >=dev-python/wxpython-2.8.10.1:2.8[cairo,opengl?] x11-libs/cairo[X,opengl?] x11-libs/libICE x11-libs/libSM x11-libs/libX11 x11-libs/libXaw x11-libs/libXext x11-libs/libXmu x11-libs/libXp x11-libs/libXpm x11-libs/libXt ) virtual/pkgconfig sys-devel/flex sys-devel/gettext sys-devel/bison X? ( dev-lang/swig x11-proto/xextproto x11-proto/xproto ) app-arch/xz-utils >=sys-apps/sed-4 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) ~sys-devel/autoconf-2.13 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=A free GIS with raster and vector functionality, as well as 3D vizualization
|
||||
EAPI=5
|
||||
HOMEPAGE=http://grass.osgeo.org/
|
||||
IUSE=X blas cxx fftw gdal geos lapack liblas mysql netcdf nls odbc opencl opengl openmp png postgres readline sqlite threads tiff truetype debug python_targets_python2_7
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=dev-lang/python-2.7.5-r2:2.7[sqlite(-)?] >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_5(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),python_single_target_python2_7(+)] >=app-admin/eselect-1.2 media-libs/libprojectm sci-libs/proj sci-libs/xdrfile sys-libs/gdbm sys-libs/ncurses:0= sys-libs/zlib fftw? ( sci-libs/fftw:3.0 ) gdal? ( sci-libs/gdal ) geos? ( sci-libs/geos ) blas? ( virtual/blas sci-libs/cblas-reference ) lapack? ( virtual/lapack ) liblas? ( sci-geosciences/liblas ) mysql? ( virtual/mysql ) netcdf? ( sci-libs/netcdf ) odbc? ( dev-db/unixODBC ) opencl? ( virtual/opencl ) opengl? ( virtual/opengl ) png? ( media-libs/libpng:0= ) postgres? ( >=dev-db/postgresql-8.4:= ) readline? ( sys-libs/readline:0= ) sqlite? ( dev-db/sqlite:3 ) tiff? ( media-libs/tiff:0= ) truetype? ( media-libs/freetype:2 ) X? ( >=dev-python/wxpython-2.8.10.1:2.8[cairo,opengl?] x11-libs/cairo[X,opengl?] x11-libs/libICE x11-libs/libSM x11-libs/libX11 x11-libs/libXaw x11-libs/libXext x11-libs/libXmu x11-libs/libXp x11-libs/libXpm x11-libs/libXt )
|
||||
REQUIRED_USE=python_targets_python2_7 opengl? ( X )
|
||||
SLOT=7
|
||||
SRC_URI=http://grass.osgeo.org/grass70/source/grass-7.0.1.tar.gz
|
||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils 43da5163ba106e87d22d2e7d6d67537f fdo-mime 92d07846ea8ea54172f8c0112a47ae3d flag-o-matic 85dc1eac3c64d8141374490ed64122e5 gnome.org ad34f378a3d57a6f2f2b8b4aaca4543e gnome2 56d268cae832738430a9de86a5765fa1 gnome2-utils 588052cacdf74572e68bdfeaece20534 libtool 7f78cd7d403808a350c9ae23f5821fb4 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 python-single-r1 612c783d1a1a182ad7ea4f2eb0b79e86 python-utils-r1 9c405693f1f355a718700c5cffffd9e5 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c wxwidgets 2a19d3cd9b18703ae9fb53123722061c
|
||||
_md5_=d7e39442395f2c9e97b325ef1cd99aeb
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare setup unpack
|
||||
DEPEND=>=dev-lang/python-2.7.5-r2:2.7[sqlite(-)?] >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_5(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),python_single_target_python2_7(+)] >=app-admin/eselect-1.2 media-libs/libprojectm sci-libs/proj sci-libs/xdrfile sci-libs/gdal sys-libs/gdbm sys-libs/ncurses:0= sys-libs/zlib fftw? ( sci-libs/fftw:3.0 ) geos? ( sci-libs/geos ) blas? ( virtual/blas sci-libs/cblas-reference ) lapack? ( virtual/lapack ) liblas? ( sci-geosciences/liblas ) mysql? ( virtual/mysql ) netcdf? ( sci-libs/netcdf ) odbc? ( dev-db/unixODBC ) opencl? ( virtual/opencl ) opengl? ( virtual/opengl ) png? ( media-libs/libpng:0= ) postgres? ( >=dev-db/postgresql-8.4:= ) readline? ( sys-libs/readline:0= ) sqlite? ( dev-db/sqlite:3 ) tiff? ( media-libs/tiff:0= ) truetype? ( media-libs/freetype:2 ) X? ( >=dev-python/wxpython-2.8.10.1:2.8[cairo,opengl?] x11-libs/cairo[X,opengl?] x11-libs/libICE x11-libs/libSM x11-libs/libX11 x11-libs/libXaw x11-libs/libXext x11-libs/libXmu x11-libs/libXp x11-libs/libXpm x11-libs/libXt ) virtual/pkgconfig sys-devel/flex sys-devel/gettext sys-devel/bison X? ( dev-lang/swig x11-proto/xextproto x11-proto/xproto ) app-arch/xz-utils >=sys-apps/sed-4 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) ~sys-devel/autoconf-2.13 >=sys-devel/libtool-2.4
|
||||
DESCRIPTION=A free GIS with raster and vector functionality, as well as 3D vizualization
|
||||
EAPI=5
|
||||
HOMEPAGE=http://grass.osgeo.org/
|
||||
IUSE=X blas cxx fftw geos lapack liblas mysql netcdf nls odbc opencl opengl openmp png postgres readline sqlite threads tiff truetype debug python_targets_python2_7
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=dev-lang/python-2.7.5-r2:2.7[sqlite(-)?] >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_5(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),python_single_target_python2_7(+)] >=app-admin/eselect-1.2 media-libs/libprojectm sci-libs/proj sci-libs/xdrfile sci-libs/gdal sys-libs/gdbm sys-libs/ncurses:0= sys-libs/zlib fftw? ( sci-libs/fftw:3.0 ) geos? ( sci-libs/geos ) blas? ( virtual/blas sci-libs/cblas-reference ) lapack? ( virtual/lapack ) liblas? ( sci-geosciences/liblas ) mysql? ( virtual/mysql ) netcdf? ( sci-libs/netcdf ) odbc? ( dev-db/unixODBC ) opencl? ( virtual/opencl ) opengl? ( virtual/opengl ) png? ( media-libs/libpng:0= ) postgres? ( >=dev-db/postgresql-8.4:= ) readline? ( sys-libs/readline:0= ) sqlite? ( dev-db/sqlite:3 ) tiff? ( media-libs/tiff:0= ) truetype? ( media-libs/freetype:2 ) X? ( >=dev-python/wxpython-2.8.10.1:2.8[cairo,opengl?] x11-libs/cairo[X,opengl?] x11-libs/libICE x11-libs/libSM x11-libs/libX11 x11-libs/libXaw x11-libs/libXext x11-libs/libXmu x11-libs/libXp x11-libs/libXpm x11-libs/libXt )
|
||||
REQUIRED_USE=python_targets_python2_7 opengl? ( X )
|
||||
SLOT=7
|
||||
SRC_URI=http://grass.osgeo.org/grass70/source/grass-7.0.1.tar.gz
|
||||
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils 43da5163ba106e87d22d2e7d6d67537f fdo-mime 92d07846ea8ea54172f8c0112a47ae3d flag-o-matic 85dc1eac3c64d8141374490ed64122e5 gnome.org ad34f378a3d57a6f2f2b8b4aaca4543e gnome2 56d268cae832738430a9de86a5765fa1 gnome2-utils 588052cacdf74572e68bdfeaece20534 libtool 7f78cd7d403808a350c9ae23f5821fb4 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 python-single-r1 612c783d1a1a182ad7ea4f2eb0b79e86 python-utils-r1 9c405693f1f355a718700c5cffffd9e5 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c wxwidgets 2a19d3cd9b18703ae9fb53123722061c
|
||||
_md5_=5661b43fdcc1146da2268d5c5206e80e
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile install prepare setup
|
||||
DEPEND=mpi? ( virtual/blas virtual/lapack virtual/mpi ) gzip? ( app-arch/gzip ) sci-libs/voro++ python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-)] ) virtual/fortran
|
||||
DESCRIPTION=Large-scale Atomic/Molecular Massively Parallel Simulator
|
||||
EAPI=5
|
||||
HOMEPAGE=http://lammps.sandia.gov/
|
||||
IUSE=doc examples gzip lammps-memalign mpi python static-libs python_targets_python2_7 python_targets_python3_3
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=mpi? ( virtual/blas virtual/lapack virtual/mpi ) gzip? ( app-arch/gzip ) sci-libs/voro++ python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-)] ) virtual/fortran
|
||||
REQUIRED_USE=python? ( || ( python_targets_python2_7 python_targets_python3_3 ) )
|
||||
SLOT=0
|
||||
SRC_URI=http://lammps.sandia.gov/tars/lammps-23Oct15.tar.gz
|
||||
_eclasses_=eutils 43da5163ba106e87d22d2e7d6d67537f flag-o-matic 85dc1eac3c64d8141374490ed64122e5 fortran-2 eb14fa8f4c3b9977b8d26c2c653ca325 multibuild ce2c2ede0c914b77f5dfc4e2ff2d0249 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 python-r1 32b376cbb100a3a8083b3a0de023e117 python-utils-r1 9c405693f1f355a718700c5cffffd9e5 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=bf94ba78a5647559cadb9388395492b2
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile install prepare setup
|
||||
DEPEND=mpi? ( virtual/blas virtual/lapack virtual/mpi ) gzip? ( app-arch/gzip ) sci-libs/voro++ python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] ) virtual/fortran
|
||||
DESCRIPTION=Large-scale Atomic/Molecular Massively Parallel Simulator
|
||||
EAPI=5
|
||||
HOMEPAGE=http://lammps.sandia.gov/
|
||||
IUSE=doc examples gzip lammps-memalign mpi python static-libs python_targets_python2_7 python_targets_python3_3 python_targets_python3_4
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=mpi? ( virtual/blas virtual/lapack virtual/mpi ) gzip? ( app-arch/gzip ) sci-libs/voro++ python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] ) virtual/fortran
|
||||
REQUIRED_USE=python? ( || ( python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 ) )
|
||||
SLOT=0
|
||||
SRC_URI=http://lammps.sandia.gov/tars/lammps-26Oct15.tar.gz
|
||||
_eclasses_=eutils 43da5163ba106e87d22d2e7d6d67537f flag-o-matic 85dc1eac3c64d8141374490ed64122e5 fortran-2 eb14fa8f4c3b9977b8d26c2c653ca325 multibuild ce2c2ede0c914b77f5dfc4e2ff2d0249 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 python-r1 32b376cbb100a3a8083b3a0de023e117 python-utils-r1 9c405693f1f355a718700c5cffffd9e5 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=a07c31441f56bfadad8755ead7ae0c30
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare pretend setup test
|
||||
DEPEND=sys-libs/zlib ssl? ( >=net-libs/mbedtls-2.0[threads] ) xslt? ( dev-libs/libxslt dev-libs/libxml2 ) sys-devel/make >=dev-util/cmake-2.8.2 userland_GNU? ( >=sys-apps/findutils-4.4.0 ) virtual/pkgconfig
|
||||
DESCRIPTION=Advanced and secure webserver
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.hiawatha-webserver.org
|
||||
IUSE=+cache ipv6 monitor +rewrite +rproxy +ssl tomahawk +xslt
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
PDEPEND=monitor? ( www-apps/hiawatha-monitor )
|
||||
RDEPEND=sys-libs/zlib ssl? ( >=net-libs/mbedtls-2.0[threads] ) xslt? ( dev-libs/libxslt dev-libs/libxml2 )
|
||||
SLOT=0
|
||||
SRC_URI=http://www.hiawatha-webserver.org/files/hiawatha-9.15.tar.gz
|
||||
_eclasses_=cmake-utils 34a43631b1edbd429618149bc986d524 eutils 43da5163ba106e87d22d2e7d6d67537f flag-o-matic 85dc1eac3c64d8141374490ed64122e5 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 systemd 6b4f0cefa642270eded7e6ca816fd181 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 user 906f3c8eb3a2350a4f1191a89baa3e46
|
||||
_md5_=4b85c3953828b20f5da734f76bdc47a2
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile install postinst postrm prepare setup
|
||||
DEPEND=>=dev-python/compizconfig-python-0.6.0 >=x11-wm/compiz-0.6.0 x11-apps/xvinfo gtk? ( >=dev-python/pygtk-2.10:2 ) qt4? ( dev-python/PyQt4[X] ) =dev-lang/python-2* >=sys-apps/sed-4
|
||||
DESCRIPTION=Compiz Fusion Tray Icon and Manager
|
||||
EAPI=4
|
||||
HOMEPAGE=http://compiz.org
|
||||
IUSE=+gtk qt4
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=dev-python/compizconfig-python-0.6.0 >=x11-wm/compiz-0.6.0 x11-apps/xvinfo gtk? ( >=dev-python/pygtk-2.10:2 ) qt4? ( dev-python/PyQt4[X] ) =dev-lang/python-2*
|
||||
REQUIRED_USE=|| ( gtk qt4 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://gentoo/fusion-icon-0.1.tar.gz
|
||||
_eclasses_=distutils def8c8eb435ec28fd9315114640f6c84 eutils 43da5163ba106e87d22d2e7d6d67537f gnome2-utils 588052cacdf74572e68bdfeaece20534 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 python 06d7be3e54573292f012e3cc433d8297 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=7a8f342741c7ee51251e4c2c60fceffd
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile install postinst postrm prepare setup
|
||||
DEPEND=>=dev-python/compizconfig-python-0.6.0 >=x11-wm/compiz-0.6.0 x11-apps/xvinfo gtk? ( >=dev-python/pygtk-2.10:2 ) qt4? ( dev-python/PyQt4[X] ) =dev-lang/python-2* >=sys-apps/sed-4
|
||||
DESCRIPTION=Compiz Fusion Tray Icon and Manager
|
||||
EAPI=4
|
||||
HOMEPAGE=http://compiz.org
|
||||
IUSE=+gtk qt4
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=dev-python/compizconfig-python-0.6.0 >=x11-wm/compiz-0.6.0 x11-apps/xvinfo gtk? ( >=dev-python/pygtk-2.10:2 ) qt4? ( dev-python/PyQt4[X] ) =dev-lang/python-2*
|
||||
REQUIRED_USE=|| ( gtk qt4 )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://gentoo/fusion-icon-0.1.tar.gz
|
||||
_eclasses_=distutils def8c8eb435ec28fd9315114640f6c84 eutils 43da5163ba106e87d22d2e7d6d67537f gnome2-utils 588052cacdf74572e68bdfeaece20534 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 python 06d7be3e54573292f012e3cc433d8297 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=baa7031b8c04ad06024edfb4362d1cf0
|
@ -1 +1 @@
|
||||
Wed, 28 Oct 2015 11:41:25 +0000
|
||||
Wed, 28 Oct 2015 18:11:21 +0000
|
||||
|
@ -1 +1 @@
|
||||
Wed Oct 28 11:41:25 UTC 2015
|
||||
Wed Oct 28 18:11:21 UTC 2015
|
||||
|
@ -1 +1 @@
|
||||
Wed, 28 Oct 2015 12:00:01 +0000
|
||||
Wed, 28 Oct 2015 18:30:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
1446032401 Wed 28 Oct 2015 11:40:01 AM UTC
|
||||
1446055801 Wed 28 Oct 2015 06:10:01 PM UTC
|
||||
|
@ -0,0 +1,16 @@
|
||||
Qt5XmlPatterns is not actually used, but build will fail if it's missing.
|
||||
|
||||
Gentoo-bug: 564316
|
||||
|
||||
--- src/src.pro
|
||||
+++ src/src.pro
|
||||
@@ -4,8 +4,7 @@
|
||||
TARGET = oauth2plugin
|
||||
DESTDIR = lib/signon
|
||||
QT += core \
|
||||
- network \
|
||||
- xmlpatterns
|
||||
+ network
|
||||
QT -= gui
|
||||
CONFIG += plugin \
|
||||
build_all \
|
@ -1,263 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="sqlite(-)?"
|
||||
WANT_AUTOCONF="2.1"
|
||||
|
||||
inherit eutils gnome2 multilib python-single-r1 versionator wxwidgets autotools
|
||||
|
||||
MY_PM=${PN}$(get_version_component_range 1-2 ${PV})
|
||||
MY_PM=${MY_PM/.}
|
||||
MY_P=${P/_rc/RC}
|
||||
|
||||
DESCRIPTION="A free GIS with raster and vector functionality, as well as 3D vizualization"
|
||||
HOMEPAGE="http://grass.osgeo.org/"
|
||||
SRC_URI="http://grass.osgeo.org/${MY_PM}/source/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="7"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="X blas cxx fftw gdal geos lapack mysql netcdf nls odbc opencl opengl openmp png postgres readline sqlite threads tiff truetype"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
>=app-admin/eselect-1.2
|
||||
media-libs/libprojectm
|
||||
sci-libs/proj
|
||||
sci-libs/xdrfile
|
||||
sys-libs/gdbm
|
||||
sys-libs/ncurses:0=
|
||||
sys-libs/zlib
|
||||
fftw? ( sci-libs/fftw:3.0 )
|
||||
gdal? ( sci-libs/gdal )
|
||||
geos? ( sci-libs/geos )
|
||||
blas? ( virtual/blas
|
||||
sci-libs/cblas-reference )
|
||||
lapack? ( virtual/lapack )
|
||||
mysql? ( virtual/mysql )
|
||||
netcdf? ( sci-libs/netcdf )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
opencl? ( virtual/opencl )
|
||||
opengl? ( virtual/opengl )
|
||||
png? ( media-libs/libpng:0= )
|
||||
postgres? ( >=dev-db/postgresql-8.4:= )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
tiff? ( media-libs/tiff:0= )
|
||||
truetype? ( media-libs/freetype:2 )
|
||||
X? (
|
||||
>=dev-python/wxpython-2.8.10.1:2.8[cairo,opengl?]
|
||||
x11-libs/cairo[X,opengl?]
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXaw
|
||||
x11-libs/libXext
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXp
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXt
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
sys-devel/flex
|
||||
sys-devel/gettext
|
||||
sys-devel/bison
|
||||
X? (
|
||||
dev-lang/swig
|
||||
x11-proto/xextproto
|
||||
x11-proto/xproto
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
opengl? ( X )"
|
||||
|
||||
pkg_setup() {
|
||||
if use lapack; then
|
||||
local mylapack
|
||||
mylapack=$(eselect lapack show) || die
|
||||
if [[ -z "${mylapack/.*reference.*/}" ]] && \
|
||||
[[ -z "${mylapack/.*atlas.*/}" ]]; then
|
||||
ewarn "You need to set lapack to atlas or reference. Do:"
|
||||
ewarn " eselect lapack set <impl>"
|
||||
ewarn "where <impl> is atlas, threaded-atlas or reference"
|
||||
die "setup failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use blas; then
|
||||
local myblas
|
||||
myblas=$(eselect blas show) || die
|
||||
if [[ -z "${myblas/.*reference.*/}" ]] && \
|
||||
[[ -z "${myblas/.*atlas.*/}" ]]; then
|
||||
ewarn "You need to set blas to atlas or reference. Do:"
|
||||
ewarn " eselect blas set <impl>"
|
||||
ewarn "where <impl> is atlas, threaded-atlas or reference"
|
||||
die "setup failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Fix undefined reference to errno in lib/raster/open.c
|
||||
# see http://trac.osgeo.org/grass/changeset/66398
|
||||
epatch "${FILESDIR}/${P}"-include-errno.patch
|
||||
|
||||
# Fix undeclared variable if OSG is disabled
|
||||
epatch "${FILESDIR}/${P}"-declare-inespg.patch
|
||||
|
||||
# Bug #563490
|
||||
epatch "${FILESDIR}/${PV}"-sec-format.patch
|
||||
|
||||
# Fix unversioned python calls
|
||||
local pyver=${EPYTHON/python/}
|
||||
sed -e "s:GRASS_PYTHON=.*:&${pyver}:" -i "${S}/lib/init/grass.sh" || die
|
||||
sed -e "s:= python:&${pyver}:" -i "${S}/include/Make/Platform.make.in" || die
|
||||
|
||||
epatch_user
|
||||
eautoconf
|
||||
|
||||
python_fix_shebang "${S}"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use X; then
|
||||
WX_BUILD=yes
|
||||
WX_GTK_VER=2.8
|
||||
need-wxwidgets unicode
|
||||
fi
|
||||
|
||||
econf \
|
||||
--enable-shared \
|
||||
--disable-w11 \
|
||||
$(use_with cxx) \
|
||||
$(use_with tiff) \
|
||||
$(use_with png) \
|
||||
$(use_with postgres) \
|
||||
$(use_with mysql) \
|
||||
$(use_with mysql mysql-includes "${ROOT}usr/include/mysql") \
|
||||
$(use_with mysql mysql-libs "${ROOT}usr/$(get_libdir)/mysql") \
|
||||
$(use_with sqlite) \
|
||||
$(use_with opengl) \
|
||||
$(use_with odbc) \
|
||||
$(use_with fftw) \
|
||||
$(use_with blas) \
|
||||
$(use_with lapack) \
|
||||
$(use_with X cairo) \
|
||||
$(use_with truetype freetype) \
|
||||
$(use_with truetype freetype-includes "${ROOT}usr/include/freetype2") \
|
||||
$(use_with nls) \
|
||||
$(use_with readline) \
|
||||
--without-opendwg \
|
||||
--with-regex \
|
||||
$(use_with threads pthread) \
|
||||
$(use_with openmp) \
|
||||
$(use_with opencl) \
|
||||
$(use_with gdal gdal "${ROOT}usr/bin/gdal-config") \
|
||||
--without-liblas \
|
||||
$(use_with X wxwidgets "${WX_CONFIG}") \
|
||||
$(use_with netcdf netcdf "${ROOT}usr/bin/nc-config") \
|
||||
$(use_with geos geos "${ROOT}usr/bin/geos-config") \
|
||||
--with-proj-includes="${ROOT}usr/include/libprojectM" \
|
||||
--with-proj-libs="${ROOT}usr/$(get_libdir)" \
|
||||
--with-proj-share="${ROOT}usr/share/proj/" \
|
||||
$(use_with X x)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# we don't want to link against embedded mysql lib
|
||||
emake CC="$(tc-getCC)" MYSQLDLIB=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" \
|
||||
INST_DIR="${D}usr/${MY_PM}" \
|
||||
prefix="${D}usr" BINDIR="${D}usr/bin" \
|
||||
PREFIX="${D}usr/" \
|
||||
install
|
||||
|
||||
pushd "${D}usr/${MY_PM}" &> /dev/null
|
||||
|
||||
# fix docs
|
||||
dodoc AUTHORS CHANGES
|
||||
dohtml -r docs/html/*
|
||||
rm -rf docs/ || die
|
||||
rm -rf {AUTHORS,CHANGES,COPYING,GPL.TXT,REQUIREMENTS.html} || die
|
||||
|
||||
# manuals
|
||||
dodir /usr/share/man/man1
|
||||
rm -rf man/ || die
|
||||
|
||||
# translations
|
||||
if use nls; then
|
||||
dodir /usr/share/locale/
|
||||
mv locale/* "${D}usr/share/locale/" || die
|
||||
rm -rf locale/ || die
|
||||
# pt_BR is broken
|
||||
mv "${D}usr/share/locale/pt_br" "${D}usr/share/locale/pt_BR" || die
|
||||
fi
|
||||
|
||||
popd &> /dev/null
|
||||
|
||||
# place libraries where they belong
|
||||
mv "${D}usr/${MY_PM}/lib/" "${D}usr/$(get_libdir)/" || die
|
||||
|
||||
# place header files where they belong
|
||||
mv "${D}usr/${MY_PM}/include/" "${D}usr/include/" || die
|
||||
# make rules are not required on installed system
|
||||
rm -rf "${D}usr/include/Make" || die
|
||||
|
||||
# mv remaining gisbase stuff to libdir
|
||||
mv "${D}usr/${MY_PM}" "${D}usr/$(get_libdir)" || die
|
||||
|
||||
# get proper folder for grass path in script
|
||||
local gisbase
|
||||
gisbase="${ROOT}usr/$(get_libdir)/${MY_PM}"
|
||||
sed -e "s:gisbase = \".*:gisbase = \"${gisbase}\":" \
|
||||
-i "${D}usr/bin/${MY_PM}" || die
|
||||
|
||||
# get proper fonts path for fontcap
|
||||
sed -i \
|
||||
-e "s|${D}usr/${MY_PM}|${EPREFIX}usr/$(get_libdir)/${MY_PM}|" \
|
||||
"${D}usr/$(get_libdir)/${MY_PM}/etc/fontcap" || die
|
||||
|
||||
# set proper python interpreter
|
||||
sed -e "s:= \"python\":= \"${EPYTHON}\":" -i "${D}usr/bin/${MY_PM}" || die
|
||||
|
||||
if use X; then
|
||||
local GUI="-gui"
|
||||
[[ ${WX_BUILD} == yes ]] && GUI="-wxpython"
|
||||
make_desktop_entry "/usr/bin/${MY_PM} ${GUI}" "${PN}" "${PN}-48x48" "Science;Education"
|
||||
doicon gui/icons/${PN}-48x48.png
|
||||
fi
|
||||
|
||||
# install .pc file so other apps know where to look for grass
|
||||
insinto /usr/$(get_libdir)/pkgconfig/
|
||||
doins grass.pc
|
||||
|
||||
# fix weird +x on tcl scripts
|
||||
find "${D}" -name "*.tcl" -exec chmod +r-x '{}' \;
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use X; then
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use X; then
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
fi
|
||||
}
|
@ -0,0 +1,241 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3} )
|
||||
|
||||
inherit eutils flag-o-matic fortran-2 multilib python-r1
|
||||
|
||||
convert_month() {
|
||||
local months=( "" Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec )
|
||||
echo ${months[${1#0}]}
|
||||
}
|
||||
|
||||
MY_P=${PN}-$((10#${PV:6:2}))$(convert_month ${PV:4:2})${PV:2:2}
|
||||
|
||||
DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
|
||||
HOMEPAGE="http://lammps.sandia.gov/"
|
||||
SRC_URI="http://lammps.sandia.gov/tars/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples gzip lammps-memalign mpi python static-libs"
|
||||
|
||||
DEPEND="
|
||||
mpi? (
|
||||
virtual/blas
|
||||
virtual/lapack
|
||||
virtual/mpi
|
||||
)
|
||||
gzip? ( app-arch/gzip )
|
||||
sci-libs/voro++
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
lmp_emake() {
|
||||
local LAMMPS_INCLUDEFLAGS
|
||||
LAMMPS_INCLUDEFLAGS="$(usex gzip '-DLAMMPS_GZIP' '')"
|
||||
LAMMPS_INCLUDEFLAGS+="$(usex lammps-memalign ' -DLAMMPS_MEMALIGN=64' '')"
|
||||
|
||||
# The lammps makefile uses CC to indicate the C++ compiler.
|
||||
emake \
|
||||
ARCHIVE=$(tc-getAR) \
|
||||
CC=$(usex mpi "mpic++" "$(tc-getCXX)") \
|
||||
F90=$(usex mpi "mpif90" "$(tc-getFC)") \
|
||||
LINK=$(usex mpi "mpic++" "$(tc-getCXX)") \
|
||||
CCFLAGS="${CXXFLAGS}" \
|
||||
F90FLAGS="${FCFLAGS}" \
|
||||
LINKFLAGS="${LDFLAGS}" \
|
||||
LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
|
||||
MPI_INC=$(usex mpi "" "-I../STUBS") \
|
||||
MPI_PATH=$(usex mpi "" "-L../STUBS") \
|
||||
MPI_LIB=$(usex mpi "" "-lmpi_stubs") \
|
||||
user-atc_SYSLIB="$(usex mpi "$($(tc-getPKG_CONFIG) --libs blas) $($(tc-getPKG_CONFIG) --libs lapack)" '')"\
|
||||
"$@"
|
||||
}
|
||||
|
||||
lmp_activate_packages() {
|
||||
# Build packages
|
||||
lmp_emake -C src yes-asphere
|
||||
lmp_emake -C src yes-body
|
||||
lmp_emake -C src yes-class2
|
||||
lmp_emake -C src yes-colloid
|
||||
lmp_emake -C src yes-coreshell
|
||||
lmp_emake -C src yes-dipole
|
||||
lmp_emake -C src yes-fld
|
||||
#lmp_emake -C src yes-gpu
|
||||
lmp_emake -C src yes-granular
|
||||
# Need OpenKIM external dependency.
|
||||
#lmp_emake -C src yes-kim
|
||||
# Need Kokkos external dependency.
|
||||
#lmp_emake -C src yes-kokkos
|
||||
lmp_emake -C src yes-kspace
|
||||
lmp_emake -C src yes-manybody
|
||||
lmp_emake -C src yes-mc
|
||||
lmp_emake -C src yes-meam
|
||||
lmp_emake -C src yes-misc
|
||||
lmp_emake -C src yes-molecule
|
||||
#lmp_emake -C src yes-mpiio
|
||||
lmp_emake -C src yes-opt
|
||||
lmp_emake -C src yes-peri
|
||||
lmp_emake -C src yes-poems
|
||||
lmp_emake -C src yes-qeq
|
||||
lmp_emake -C src yes-reax
|
||||
lmp_emake -C src yes-replica
|
||||
lmp_emake -C src yes-rigid
|
||||
lmp_emake -C src yes-shock
|
||||
lmp_emake -C src yes-snap
|
||||
lmp_emake -C src yes-srd
|
||||
lmp_emake -C src yes-voronoi
|
||||
lmp_emake -C src yes-xtc
|
||||
|
||||
if use mpi; then
|
||||
lmp_emake -C src yes-user-atc
|
||||
fi
|
||||
lmp_emake -C src yes-user-eff
|
||||
lmp_emake -C src yes-user-fep
|
||||
use mpi && lmp_emake -C src yes-user-lb
|
||||
lmp_emake -C src yes-user-phonon
|
||||
lmp_emake -C src yes-user-sph
|
||||
}
|
||||
|
||||
lmp_build_packages() {
|
||||
lmp_emake -C lib/meam -j1 -f Makefile.gfortran
|
||||
lmp_emake -C lib/poems -f Makefile.g++
|
||||
lmp_emake -C lib/reax -j1 -f Makefile.gfortran
|
||||
use mpi && lmp_emake -C lib/atc -f Makefile.g++
|
||||
}
|
||||
|
||||
lmp_clean_packages() {
|
||||
lmp_emake -C lib/meam -f Makefile.gfortran clean
|
||||
lmp_emake -C lib/poems -f Makefile.g++ clean
|
||||
lmp_emake -C lib/reax -f Makefile.gfortran clean
|
||||
use mpi && lmp_emake -C lib/atc -f Makefile.g++ clean
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Fix inconsistent use of SHFLAGS.
|
||||
sed -i \
|
||||
-e 's:voronoi_SYSINC\s\+=.*$:voronoi_SYSINC = -I/usr/include/voro++:' \
|
||||
-e 's:voronoi_SYSPATH\s\+=.*$:voronoi_SYSPATH =:' \
|
||||
lib/voronoi/Makefile.lammps || die
|
||||
|
||||
# Fix missing .so name.
|
||||
sed -i \
|
||||
-e 's:SHLIBFLAGS\s\+=\s\+:SHLIBFLAGS = -Wl,-soname,liblammps.so.0 :' \
|
||||
src/MAKE/Makefile.serial || die
|
||||
|
||||
# Fix makefile in tools.
|
||||
sed -i \
|
||||
-e 's:g++:$(CXX) $(CXXFLAGS):' \
|
||||
-e 's:gcc:$(CC) $(CCFLAGS):' \
|
||||
-e 's:ifort:$(FC) $(FCFLAGS):' \
|
||||
tools/Makefile || die
|
||||
|
||||
# Patch python.
|
||||
epatch "${FILESDIR}/lammps-python3-r1.patch"
|
||||
epatch "${FILESDIR}/python-shebang.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Fix atc...
|
||||
append-cxxflags -I../../src
|
||||
|
||||
# Acticate packages.
|
||||
elog "Activating lammps packages..."
|
||||
lmp_activate_packages
|
||||
|
||||
# Compile stubs for serial version.
|
||||
use mpi || lmp_emake -C src mpi-stubs
|
||||
|
||||
elog "Building packages..."
|
||||
lmp_build_packages
|
||||
|
||||
if use static-libs; then
|
||||
# Build static library.
|
||||
elog "Building static library..."
|
||||
lmp_emake -C src mode=lib serial
|
||||
fi
|
||||
|
||||
# Clean out packages (that's not done by the build system with the clean
|
||||
# target), so we can rebuild the packages with -fPIC.
|
||||
elog "Cleaning packages..."
|
||||
lmp_clean_packages
|
||||
|
||||
# The build system does not rebuild the packages with -fPIC, adding flag
|
||||
# manually.
|
||||
append-cxxflags -fPIC
|
||||
append-fflags -fPIC
|
||||
|
||||
# Compile stubs for serial version.
|
||||
use mpi || lmp_emake -C src mpi-stubs
|
||||
|
||||
elog "Building packages..."
|
||||
lmp_build_packages
|
||||
|
||||
# Build shared library.
|
||||
elog "Building shared library..."
|
||||
lmp_emake -C src mode=shlib serial
|
||||
|
||||
# Compile main executable. The shared library is always built, and
|
||||
# mode=shexe is simply a way to re-use the object files built in the
|
||||
# "shlib" step when linking the executable. The executable is not actually
|
||||
# using the shared library. If we have built the static library, then we
|
||||
# link that into the executable.
|
||||
elog "Linking executable..."
|
||||
if use static-libs; then
|
||||
lmp_emake -C src mode=exe serial
|
||||
else
|
||||
lmp_emake -C src mode=shexe serial
|
||||
fi
|
||||
|
||||
# Compile tools.
|
||||
elog "Building tools..."
|
||||
lmp_emake -C tools binary2txt chain data2xmovie micelle2d
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use static-libs && newlib.a src/liblammps_serial.a liblammps.a
|
||||
newlib.so src/liblammps_serial.so liblammps.so.0.0.0
|
||||
dosym liblammps.so.0.0.0 /usr/$(get_libdir)/liblammps.so
|
||||
dosym liblammps.so.0.0.0 /usr/$(get_libdir)/liblammps.so.0
|
||||
newbin src/lmp_serial lmp
|
||||
dobin tools/binary2txt
|
||||
dobin tools/chain
|
||||
dobin tools/data2xmovie
|
||||
dobin tools/micelle2d
|
||||
# Don't forget to add header files of optional packages as they are added
|
||||
# to this ebuild. There may also be .mod files from Fortran based
|
||||
# packages.
|
||||
insinto "/usr/include/${PN}"
|
||||
doins -r src/*.h lib/meam/*.mod
|
||||
|
||||
local LAMMPS_POTENTIALS="usr/share/${PN}/potentials"
|
||||
insinto "/${LAMMPS_POTENTIALS}"
|
||||
doins potentials/*
|
||||
echo "LAMMPS_POTENTIALS=${EROOT}${LAMMPS_POTENTIALS}" > 99lammps
|
||||
doenvd 99lammps
|
||||
|
||||
# Install python script.
|
||||
use python && python_foreach_impl python_domodule python/lammps.py
|
||||
|
||||
if use examples; then
|
||||
local LAMMPS_EXAMPLES="/usr/share/${PN}/examples"
|
||||
insinto "${LAMMPS_EXAMPLES}"
|
||||
doins -r examples/*
|
||||
fi
|
||||
|
||||
dodoc README
|
||||
if use doc; then
|
||||
dodoc doc/Manual.pdf
|
||||
dohtml -r doc/*
|
||||
fi
|
||||
}
|
@ -0,0 +1,241 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit eutils flag-o-matic fortran-2 multilib python-r1
|
||||
|
||||
convert_month() {
|
||||
local months=( "" Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec )
|
||||
echo ${months[${1#0}]}
|
||||
}
|
||||
|
||||
MY_P=${PN}-$((10#${PV:6:2}))$(convert_month ${PV:4:2})${PV:2:2}
|
||||
|
||||
DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
|
||||
HOMEPAGE="http://lammps.sandia.gov/"
|
||||
SRC_URI="http://lammps.sandia.gov/tars/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples gzip lammps-memalign mpi python static-libs"
|
||||
|
||||
DEPEND="
|
||||
mpi? (
|
||||
virtual/blas
|
||||
virtual/lapack
|
||||
virtual/mpi
|
||||
)
|
||||
gzip? ( app-arch/gzip )
|
||||
sci-libs/voro++
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
lmp_emake() {
|
||||
local LAMMPS_INCLUDEFLAGS
|
||||
LAMMPS_INCLUDEFLAGS="$(usex gzip '-DLAMMPS_GZIP' '')"
|
||||
LAMMPS_INCLUDEFLAGS+="$(usex lammps-memalign ' -DLAMMPS_MEMALIGN=64' '')"
|
||||
|
||||
# The lammps makefile uses CC to indicate the C++ compiler.
|
||||
emake \
|
||||
ARCHIVE=$(tc-getAR) \
|
||||
CC=$(usex mpi "mpic++" "$(tc-getCXX)") \
|
||||
F90=$(usex mpi "mpif90" "$(tc-getFC)") \
|
||||
LINK=$(usex mpi "mpic++" "$(tc-getCXX)") \
|
||||
CCFLAGS="${CXXFLAGS}" \
|
||||
F90FLAGS="${FCFLAGS}" \
|
||||
LINKFLAGS="${LDFLAGS}" \
|
||||
LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
|
||||
MPI_INC=$(usex mpi "" "-I../STUBS") \
|
||||
MPI_PATH=$(usex mpi "" "-L../STUBS") \
|
||||
MPI_LIB=$(usex mpi "" "-lmpi_stubs") \
|
||||
user-atc_SYSLIB="$(usex mpi "$($(tc-getPKG_CONFIG) --libs blas) $($(tc-getPKG_CONFIG) --libs lapack)" '')"\
|
||||
"$@"
|
||||
}
|
||||
|
||||
lmp_activate_packages() {
|
||||
# Build packages
|
||||
lmp_emake -C src yes-asphere
|
||||
lmp_emake -C src yes-body
|
||||
lmp_emake -C src yes-class2
|
||||
lmp_emake -C src yes-colloid
|
||||
lmp_emake -C src yes-coreshell
|
||||
lmp_emake -C src yes-dipole
|
||||
lmp_emake -C src yes-fld
|
||||
#lmp_emake -C src yes-gpu
|
||||
lmp_emake -C src yes-granular
|
||||
# Need OpenKIM external dependency.
|
||||
#lmp_emake -C src yes-kim
|
||||
# Need Kokkos external dependency.
|
||||
#lmp_emake -C src yes-kokkos
|
||||
lmp_emake -C src yes-kspace
|
||||
lmp_emake -C src yes-manybody
|
||||
lmp_emake -C src yes-mc
|
||||
lmp_emake -C src yes-meam
|
||||
lmp_emake -C src yes-misc
|
||||
lmp_emake -C src yes-molecule
|
||||
#lmp_emake -C src yes-mpiio
|
||||
lmp_emake -C src yes-opt
|
||||
lmp_emake -C src yes-peri
|
||||
lmp_emake -C src yes-poems
|
||||
lmp_emake -C src yes-qeq
|
||||
lmp_emake -C src yes-reax
|
||||
lmp_emake -C src yes-replica
|
||||
lmp_emake -C src yes-rigid
|
||||
lmp_emake -C src yes-shock
|
||||
lmp_emake -C src yes-snap
|
||||
lmp_emake -C src yes-srd
|
||||
lmp_emake -C src yes-voronoi
|
||||
lmp_emake -C src yes-xtc
|
||||
|
||||
if use mpi; then
|
||||
lmp_emake -C src yes-user-atc
|
||||
fi
|
||||
lmp_emake -C src yes-user-eff
|
||||
lmp_emake -C src yes-user-fep
|
||||
use mpi && lmp_emake -C src yes-user-lb
|
||||
lmp_emake -C src yes-user-phonon
|
||||
lmp_emake -C src yes-user-sph
|
||||
}
|
||||
|
||||
lmp_build_packages() {
|
||||
lmp_emake -C lib/meam -j1 -f Makefile.gfortran
|
||||
lmp_emake -C lib/poems -f Makefile.g++
|
||||
lmp_emake -C lib/reax -j1 -f Makefile.gfortran
|
||||
use mpi && lmp_emake -C lib/atc -f Makefile.g++
|
||||
}
|
||||
|
||||
lmp_clean_packages() {
|
||||
lmp_emake -C lib/meam -f Makefile.gfortran clean
|
||||
lmp_emake -C lib/poems -f Makefile.g++ clean
|
||||
lmp_emake -C lib/reax -f Makefile.gfortran clean
|
||||
use mpi && lmp_emake -C lib/atc -f Makefile.g++ clean
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Fix inconsistent use of SHFLAGS.
|
||||
sed -i \
|
||||
-e 's:voronoi_SYSINC\s\+=.*$:voronoi_SYSINC = -I/usr/include/voro++:' \
|
||||
-e 's:voronoi_SYSPATH\s\+=.*$:voronoi_SYSPATH =:' \
|
||||
lib/voronoi/Makefile.lammps || die
|
||||
|
||||
# Fix missing .so name.
|
||||
sed -i \
|
||||
-e 's:SHLIBFLAGS\s\+=\s\+:SHLIBFLAGS = -Wl,-soname,liblammps.so.0 :' \
|
||||
src/MAKE/Makefile.serial || die
|
||||
|
||||
# Fix makefile in tools.
|
||||
sed -i \
|
||||
-e 's:g++:$(CXX) $(CXXFLAGS):' \
|
||||
-e 's:gcc:$(CC) $(CCFLAGS):' \
|
||||
-e 's:ifort:$(FC) $(FCFLAGS):' \
|
||||
tools/Makefile || die
|
||||
|
||||
# Patch python.
|
||||
epatch "${FILESDIR}/lammps-python3-r1.patch"
|
||||
epatch "${FILESDIR}/python-shebang.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Fix atc...
|
||||
append-cxxflags -I../../src
|
||||
|
||||
# Acticate packages.
|
||||
elog "Activating lammps packages..."
|
||||
lmp_activate_packages
|
||||
|
||||
# Compile stubs for serial version.
|
||||
use mpi || lmp_emake -C src mpi-stubs
|
||||
|
||||
elog "Building packages..."
|
||||
lmp_build_packages
|
||||
|
||||
if use static-libs; then
|
||||
# Build static library.
|
||||
elog "Building static library..."
|
||||
lmp_emake -C src mode=lib serial
|
||||
fi
|
||||
|
||||
# Clean out packages (that's not done by the build system with the clean
|
||||
# target), so we can rebuild the packages with -fPIC.
|
||||
elog "Cleaning packages..."
|
||||
lmp_clean_packages
|
||||
|
||||
# The build system does not rebuild the packages with -fPIC, adding flag
|
||||
# manually.
|
||||
append-cxxflags -fPIC
|
||||
append-fflags -fPIC
|
||||
|
||||
# Compile stubs for serial version.
|
||||
use mpi || lmp_emake -C src mpi-stubs
|
||||
|
||||
elog "Building packages..."
|
||||
lmp_build_packages
|
||||
|
||||
# Build shared library.
|
||||
elog "Building shared library..."
|
||||
lmp_emake -C src mode=shlib serial
|
||||
|
||||
# Compile main executable. The shared library is always built, and
|
||||
# mode=shexe is simply a way to re-use the object files built in the
|
||||
# "shlib" step when linking the executable. The executable is not actually
|
||||
# using the shared library. If we have built the static library, then we
|
||||
# link that into the executable.
|
||||
elog "Linking executable..."
|
||||
if use static-libs; then
|
||||
lmp_emake -C src mode=exe serial
|
||||
else
|
||||
lmp_emake -C src mode=shexe serial
|
||||
fi
|
||||
|
||||
# Compile tools.
|
||||
elog "Building tools..."
|
||||
lmp_emake -C tools binary2txt chain data2xmovie micelle2d
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use static-libs && newlib.a src/liblammps_serial.a liblammps.a
|
||||
newlib.so src/liblammps_serial.so liblammps.so.0.0.0
|
||||
dosym liblammps.so.0.0.0 /usr/$(get_libdir)/liblammps.so
|
||||
dosym liblammps.so.0.0.0 /usr/$(get_libdir)/liblammps.so.0
|
||||
newbin src/lmp_serial lmp
|
||||
dobin tools/binary2txt
|
||||
dobin tools/chain
|
||||
dobin tools/data2xmovie
|
||||
dobin tools/micelle2d
|
||||
# Don't forget to add header files of optional packages as they are added
|
||||
# to this ebuild. There may also be .mod files from Fortran based
|
||||
# packages.
|
||||
insinto "/usr/include/${PN}"
|
||||
doins -r src/*.h lib/meam/*.mod
|
||||
|
||||
local LAMMPS_POTENTIALS="usr/share/${PN}/potentials"
|
||||
insinto "/${LAMMPS_POTENTIALS}"
|
||||
doins potentials/*
|
||||
echo "LAMMPS_POTENTIALS=${EROOT}${LAMMPS_POTENTIALS}" > 99lammps
|
||||
doenvd 99lammps
|
||||
|
||||
# Install python script.
|
||||
use python && python_foreach_impl python_domodule python/lammps.py
|
||||
|
||||
if use examples; then
|
||||
local LAMMPS_EXAMPLES="/usr/share/${PN}/examples"
|
||||
insinto "${LAMMPS_EXAMPLES}"
|
||||
doins -r examples/*
|
||||
fi
|
||||
|
||||
dodoc README
|
||||
if use doc; then
|
||||
dodoc doc/Manual.pdf
|
||||
dohtml -r doc/*
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST hiawatha-9.14.tar.gz 891930 SHA256 79c92587cd86a0461d952c99036f5615dacdcaccabe0a9a29359e6044d809bfa SHA512 66ad77c132d34daa5eb597ce67d7b26581c59534e5cf83dd65f78567a9a1798030cd42fef2d612bd1935243db979a2ef1df873f01b0d0a009395ef3da1dca6e6 WHIRLPOOL 8dbeb2c33e9111a27b76f3e5e307872314e85c481a600c39a1e02e7f9e08e1cc0d64f79838dad92a4a5a555cb86334487dd247efb56f0ef9c15a7735da27ddae
|
||||
DIST hiawatha-9.15.tar.gz 869922 SHA256 e9252133a1114095d1a9a89144b88828ee3b9754f435bd88270f7bf444dd9421 SHA512 e5f0459475863c7cb2d15bdf2a9712f13c96ac450f349fd89e60fd600aad9010f25182aa6353a3014069a9798544a56ef79695918613946b63fecd3806b1982b WHIRLPOOL 80840072765430b05ecaf1ec631d3f1981c6f420edc18b4bcc7957f53f28ed2800170bbcec943c287da2968e6ac769514843fc54aa2a927d7d451057ed76d4d3
|
||||
DIST hiawatha-9.8.tar.gz 888977 SHA256 6fe9bd408361bc07b47fe6eeaf98d6b644e1cd258b3470da3e70aba510e83b64 SHA512 f55b6065e0dd1dab11ccbbb44e981944aab5b542077fc2b4a03ec8c055be80bedb7b639fe9c52ccf0fc279648b9f4bfc0cbfa018b195b155907810bdfc4ec51a WHIRLPOOL 342c19df23dbe4eef7056f2424d53badede5a8dcf8bb713e7d3892f21e1061ae5e1a0c985f1fc824b10f25eb9fcc9cf0cbf8d384240bf814df4f9dca45dd96f2
|
||||
|
@ -0,0 +1,26 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting ${SVCNAME}"
|
||||
start-stop-daemon \
|
||||
--start \
|
||||
--exec "/usr/sbin/hiawatha" \
|
||||
--pidfile "@HIAWATHA_PID_DIR@/hiawatha.pid"
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping ${SVCNAME}"
|
||||
start-stop-daemon \
|
||||
--stop \
|
||||
--exec "/usr/sbin/hiawatha" \
|
||||
--pidfile "@HIAWATHA_PID_DIR@/hiawatha.pid"
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,145 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
CMAKE_MIN_VERSION="2.8.2"
|
||||
|
||||
inherit cmake-utils eutils systemd user
|
||||
|
||||
DESCRIPTION="Advanced and secure webserver"
|
||||
HOMEPAGE="http://www.hiawatha-webserver.org"
|
||||
SRC_URI="http://www.hiawatha-webserver.org/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+cache ipv6 monitor +rewrite +rproxy +ssl tomahawk +xslt"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/zlib
|
||||
ssl? ( >=net-libs/mbedtls-2.0[threads] )
|
||||
xslt? ( dev-libs/libxslt
|
||||
dev-libs/libxml2 )"
|
||||
DEPEND="${RDEPEND}"
|
||||
PDEPEND="monitor? ( www-apps/hiawatha-monitor )"
|
||||
|
||||
# set these in the environment of your PM if you want to use different values
|
||||
HIAWATHA_CONFIG_DIR="${HIAWATHA_CONFIG_DIR:-/etc/hiawatha}"
|
||||
HIAWATHA_LOG_DIR="${HIAWATHA_LOG_DIR:-/var/log/hiawatha}"
|
||||
HIAWATHA_PID_DIR="${HIAWATHA_PID_DIR:-/var/run}"
|
||||
HIAWATHA_WEBROOT_DIR="${HIAWATHA_WEBROOT_DIR:-/var/www/hiawatha}"
|
||||
HIAWATHA_WORK_DIR="${HIAWATHA_WORK_DIR:-/var/lib/hiawatha}"
|
||||
HIAWATHA_USER="${HIAWATHA_USER:-hiawatha}"
|
||||
HIAWATHA_GROUP="${HIAWATHA_GROUP:-hiawatha}"
|
||||
|
||||
safe_sed() {
|
||||
local replace_of=$1
|
||||
local replace_with=$2
|
||||
local file=$3
|
||||
# optional
|
||||
local outfile=$4
|
||||
|
||||
grep -E "${replace_of}" "${file}" 1>/dev/null \
|
||||
|| die "\"${replace_of}\" not found in ${file}!"
|
||||
|
||||
if [[ -n ${outfile} ]] ; then
|
||||
einfo "Sedding ${file} into ${outfile}"
|
||||
sed -r \
|
||||
-e "s|${replace_of}|${replace_with}|" \
|
||||
"${file}" > ${outfile} || die "sed on ${file} to ${outfile} failed!"
|
||||
else
|
||||
einfo "Sedding ${file} in-place"
|
||||
sed -r -i \
|
||||
-e "s|${replace_of}|${replace_with}|" \
|
||||
"${file}" || die "sed on ${file} failed!"
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
einfo
|
||||
einfo "You can change hiawatha user and group, as well as the"
|
||||
einfo "directories the webserver is going to use. For that,"
|
||||
einfo "set the following environment variables in your PM:"
|
||||
einfo " HIAWATHA_CONFIG_DIR"
|
||||
einfo " default: /etc/hiawatha"
|
||||
einfo " current: ${HIAWATHA_CONFIG_DIR}"
|
||||
einfo " HIAWATHA_LOG_DIR"
|
||||
einfo " default: /var/log/hiawatha"
|
||||
einfo " current: ${HIAWATHA_LOG_DIR}"
|
||||
einfo " HIAWATHA_PID_DIR"
|
||||
einfo " default: /var/run"
|
||||
einfo " current: ${HIAWATHA_PID_DIR}"
|
||||
einfo " HIAWATHA_WEBROOT_DIR"
|
||||
einfo " default: /var/www/hiawatha"
|
||||
einfo " current: ${HIAWATHA_WEBROOT_DIR}"
|
||||
einfo " HIAWATHA_WORK_DIR"
|
||||
einfo " default: /var/lib/hiawatha"
|
||||
einfo " current: ${HIAWATHA_WORK_DIR}"
|
||||
einfo " HIAWATHA_USER"
|
||||
einfo " default: hiawatha"
|
||||
einfo " current: ${HIAWATHA_USER}"
|
||||
einfo " HIAWATHA_GROUP"
|
||||
einfo " default: hiawatha"
|
||||
einfo " current: ${HIAWATHA_GROUP}"
|
||||
einfo
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup ${HIAWATHA_GROUP}
|
||||
enewuser ${HIAWATHA_USER} -1 -1 "${HIAWATHA_WEBROOT_DIR}" ${HIAWATHA_GROUP}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-9.5-cflags.patch
|
||||
|
||||
safe_sed "^#ServerId =.*$" "ServerId = ${HIAWATHA_USER}" \
|
||||
config/hiawatha.conf.in
|
||||
|
||||
safe_sed "@HIAWATHA_PID_DIR@" "${HIAWATHA_PID_DIR}" \
|
||||
"${FILESDIR}/hiawatha.initd-r1" \
|
||||
"${T}/hiawatha.initd-r1"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCONFIG_DIR:STRING="${HIAWATHA_CONFIG_DIR}"
|
||||
-DENABLE_CACHE=$(usex cache)
|
||||
-DENABLE_IPV6=$(usex ipv6)
|
||||
-DENABLE_LOADCHECK=$(usex kernel_linux)
|
||||
-DENABLE_MONITOR=$(usex monitor)
|
||||
-DENABLE_RPROXY=$(usex rproxy)
|
||||
-DENABLE_TLS=$(usex ssl)
|
||||
-DENABLE_TOMAHAWK=$(usex tomahawk)
|
||||
-DENABLE_TOOLKIT=$(usex rewrite)
|
||||
-DENABLE_XSLT=$(usex xslt)
|
||||
-DLOG_DIR:STRING="${HIAWATHA_LOG_DIR}"
|
||||
-DPID_DIR:STRING="${HIAWATHA_PID_DIR}"
|
||||
-DUSE_SYSTEM_MBEDTLS=$(usex ssl)
|
||||
-DWEBROOT_DIR:STRING="${HIAWATHA_WEBROOT_DIR}"
|
||||
-DWORK_DIR:STRING="${HIAWATHA_WORK_DIR}"
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
rm -r "${ED%/}${HIAWATHA_WEBROOT_DIR}"/* || die
|
||||
|
||||
newinitd "${T}"/hiawatha.initd-r1 hiawatha
|
||||
systemd_dounit "${FILESDIR}"/hiawatha.service
|
||||
|
||||
local i
|
||||
for i in "${HIAWATHA_LOG_DIR}" "${HIAWATHA_WORK_DIR}" ; do
|
||||
keepdir "${i}"
|
||||
fowners ${HIAWATHA_USER}:${HIAWATHA_GROUP} "${i}"
|
||||
fperms 0750 "${i}"
|
||||
done
|
||||
|
||||
keepdir "${HIAWATHA_WEBROOT_DIR}"
|
||||
fowners ${HIAWATHA_USER}:${HIAWATHA_GROUP} "${HIAWATHA_WEBROOT_DIR}"
|
||||
}
|
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit distutils gnome2-utils
|
||||
|
||||
MINIMUM_COMPIZ_RELEASE=0.6.0
|
||||
|
||||
DESCRIPTION="Compiz Fusion Tray Icon and Manager"
|
||||
HOMEPAGE="http://compiz.org"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+gtk qt4"
|
||||
|
||||
REQUIRED_USE="|| ( gtk qt4 )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/compizconfig-python-${MINIMUM_COMPIZ_RELEASE}
|
||||
>=x11-wm/compiz-${MINIMUM_COMPIZ_RELEASE}
|
||||
x11-apps/xvinfo
|
||||
gtk? ( >=dev-python/pygtk-2.10:2 )
|
||||
qt4? ( dev-python/PyQt4[X] )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
PYTHON_MODNAME="FusionIcon"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
use gtk || rm -fr "${ED}$(python_get_sitedir)/FusionIcon/interface_gtk"
|
||||
use qt4 || rm -fr "${ED}$(python_get_sitedir)/FusionIcon/interface_qt4"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
|
||||
use gtk && gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
distutils_pkg_postrm
|
||||
|
||||
use gtk && gnome2_icon_cache_update
|
||||
}
|
@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit distutils eutils gnome2-utils
|
||||
|
||||
MINIMUM_COMPIZ_RELEASE=0.6.0
|
||||
|
||||
DESCRIPTION="Compiz Fusion Tray Icon and Manager"
|
||||
HOMEPAGE="http://compiz.org"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+gtk qt4"
|
||||
|
||||
REQUIRED_USE="|| ( gtk qt4 )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/compizconfig-python-${MINIMUM_COMPIZ_RELEASE}
|
||||
>=x11-wm/compiz-${MINIMUM_COMPIZ_RELEASE}
|
||||
x11-apps/xvinfo
|
||||
gtk? ( >=dev-python/pygtk-2.10:2 )
|
||||
qt4? ( dev-python/PyQt4[X] )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
PYTHON_MODNAME="FusionIcon"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-qt4-interface-subprocess-call.patch
|
||||
distutils_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
use gtk || rm -fr "${ED}$(python_get_sitedir)/FusionIcon/interface_gtk"
|
||||
use qt4 || rm -fr "${ED}$(python_get_sitedir)/FusionIcon/interface_qt4"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
|
||||
use gtk && gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
distutils_pkg_postrm
|
||||
|
||||
use gtk && gnome2_icon_cache_update
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>desktop-effects</herd>
|
||||
<longdescription lang="en">Compiz Fusion Tray Icon and Manager.</longdescription>
|
||||
<herd>desktop-effects</herd>
|
||||
<longdescription lang="en">Compiz Fusion Tray Icon and Manager.</longdescription>
|
||||
</pkgmetadata>
|
||||
|
Loading…
Reference in new issue