parent
d280a43e12
commit
b85eb4da78
@ -0,0 +1,315 @@
|
||||
Author: Ben Hutchings <ben@decadent.org.uk>
|
||||
Date: Tue, 19 May 2015 02:38:40 +0100
|
||||
Description: Delay creation of symlinks to prevent arbitrary file writes (CVE-2015-1038)
|
||||
Bug: http://sourceforge.net/p/p7zip/bugs/147/
|
||||
Bug-Debian: https://bugs.debian.org/774660
|
||||
|
||||
Alexander Cherepanov discovered that 7zip is susceptible to a
|
||||
directory traversal vulnerability. While extracting an archive, it
|
||||
will extract symlinks and then follow them if they are referenced in
|
||||
further entries. This can be exploited by a rogue archive to write
|
||||
files outside the current directory.
|
||||
|
||||
We have to create placeholder files (which we already do) and delay
|
||||
creating symlinks until the end of extraction.
|
||||
|
||||
Due to the possibility of anti-items (deletions) in the archive, it is
|
||||
possible for placeholders to be deleted and replaced before we create
|
||||
the symlinks. It's not clear that this can be used for mischief, but
|
||||
GNU tar guards against similar problems by checking that the placeholder
|
||||
still exists and is the same inode. XXX It also checks 'birth time' but
|
||||
this isn't portable. We can probably get away with comparing ctime
|
||||
since we don't support hard links.
|
||||
|
||||
--- a/CPP/7zip/UI/Agent/Agent.cpp
|
||||
+++ b/CPP/7zip/UI/Agent/Agent.cpp
|
||||
@@ -424,6 +424,8 @@ STDMETHODIMP CAgentFolder::Extract(const
|
||||
CMyComPtr<IArchiveExtractCallback> extractCallback = extractCallbackSpec;
|
||||
UStringVector pathParts;
|
||||
CProxyFolder *currentProxyFolder = _proxyFolderItem;
|
||||
+ HRESULT res;
|
||||
+
|
||||
while (currentProxyFolder->Parent)
|
||||
{
|
||||
pathParts.Insert(0, currentProxyFolder->Name);
|
||||
@@ -445,8 +447,11 @@ STDMETHODIMP CAgentFolder::Extract(const
|
||||
(UInt64)(Int64)-1);
|
||||
CUIntVector realIndices;
|
||||
GetRealIndices(indices, numItems, realIndices);
|
||||
- return _agentSpec->GetArchive()->Extract(&realIndices.Front(),
|
||||
+ res = _agentSpec->GetArchive()->Extract(&realIndices.Front(),
|
||||
realIndices.Size(), testMode, extractCallback);
|
||||
+ if (res == S_OK && !extractCallbackSpec->CreateSymLinks())
|
||||
+ res = E_FAIL;
|
||||
+ return res;
|
||||
COM_TRY_END
|
||||
}
|
||||
|
||||
--- a/CPP/7zip/UI/Agent/ArchiveFolder.cpp
|
||||
+++ b/CPP/7zip/UI/Agent/ArchiveFolder.cpp
|
||||
@@ -20,6 +20,8 @@ STDMETHODIMP CAgentFolder::CopyTo(const
|
||||
CMyComPtr<IArchiveExtractCallback> extractCallback = extractCallbackSpec;
|
||||
UStringVector pathParts;
|
||||
CProxyFolder *currentProxyFolder = _proxyFolderItem;
|
||||
+ HRESULT res;
|
||||
+
|
||||
while (currentProxyFolder->Parent)
|
||||
{
|
||||
pathParts.Insert(0, currentProxyFolder->Name);
|
||||
@@ -46,8 +48,11 @@ STDMETHODIMP CAgentFolder::CopyTo(const
|
||||
(UInt64)(Int64)-1);
|
||||
CUIntVector realIndices;
|
||||
GetRealIndices(indices, numItems, realIndices);
|
||||
- return _agentSpec->GetArchive()->Extract(&realIndices.Front(),
|
||||
+ res = _agentSpec->GetArchive()->Extract(&realIndices.Front(),
|
||||
realIndices.Size(), BoolToInt(false), extractCallback);
|
||||
+ if (res == S_OK && !extractCallbackSpec->CreateSymLinks())
|
||||
+ res = E_FAIL;
|
||||
+ return res;
|
||||
COM_TRY_END
|
||||
}
|
||||
|
||||
--- a/CPP/7zip/UI/Client7z/Client7z.cpp
|
||||
+++ b/CPP/7zip/UI/Client7z/Client7z.cpp
|
||||
@@ -197,8 +197,11 @@ private:
|
||||
COutFileStream *_outFileStreamSpec;
|
||||
CMyComPtr<ISequentialOutStream> _outFileStream;
|
||||
|
||||
+ CObjectVector<NWindows::NFile::NDirectory::CDelayedSymLink> _delayedSymLinks;
|
||||
+
|
||||
public:
|
||||
void Init(IInArchive *archiveHandler, const UString &directoryPath);
|
||||
+ bool CreateSymLinks();
|
||||
|
||||
UInt64 NumErrors;
|
||||
bool PasswordIsDefined;
|
||||
@@ -392,11 +395,22 @@ STDMETHODIMP CArchiveExtractCallback::Se
|
||||
}
|
||||
_outFileStream.Release();
|
||||
if (_extractMode && _processedFileInfo.AttribDefined)
|
||||
- NFile::NDirectory::MySetFileAttributes(_diskFilePath, _processedFileInfo.Attrib);
|
||||
+ NFile::NDirectory::MySetFileAttributes(_diskFilePath, _processedFileInfo.Attrib, &_delayedSymLinks);
|
||||
PrintNewLine();
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
+bool CArchiveExtractCallback::CreateSymLinks()
|
||||
+{
|
||||
+ bool success = true;
|
||||
+
|
||||
+ for (int i = 0; i != _delayedSymLinks.Size(); ++i)
|
||||
+ success &= _delayedSymLinks[i].Create();
|
||||
+
|
||||
+ _delayedSymLinks.Clear();
|
||||
+
|
||||
+ return success;
|
||||
+}
|
||||
|
||||
STDMETHODIMP CArchiveExtractCallback::CryptoGetTextPassword(BSTR *password)
|
||||
{
|
||||
--- a/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp
|
||||
+++ b/CPP/7zip/UI/Common/ArchiveExtractCallback.cpp
|
||||
@@ -453,12 +453,24 @@ STDMETHODIMP CArchiveExtractCallback::Se
|
||||
NumFiles++;
|
||||
|
||||
if (_extractMode && _fi.AttribDefined)
|
||||
- NFile::NDirectory::MySetFileAttributes(_diskFilePath, _fi.Attrib);
|
||||
+ NFile::NDirectory::MySetFileAttributes(_diskFilePath, _fi.Attrib, &_delayedSymLinks);
|
||||
RINOK(_extractCallback2->SetOperationResult(operationResult, _encrypted));
|
||||
return S_OK;
|
||||
COM_TRY_END
|
||||
}
|
||||
|
||||
+bool CArchiveExtractCallback::CreateSymLinks()
|
||||
+{
|
||||
+ bool success = true;
|
||||
+
|
||||
+ for (int i = 0; i != _delayedSymLinks.Size(); ++i)
|
||||
+ success &= _delayedSymLinks[i].Create();
|
||||
+
|
||||
+ _delayedSymLinks.Clear();
|
||||
+
|
||||
+ return success;
|
||||
+}
|
||||
+
|
||||
/*
|
||||
STDMETHODIMP CArchiveExtractCallback::GetInStream(
|
||||
const wchar_t *name, ISequentialInStream **inStream)
|
||||
--- 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"
|
||||
@@ -83,6 +85,8 @@ class CArchiveExtractCallback:
|
||||
UInt64 _packTotal;
|
||||
UInt64 _unpTotal;
|
||||
|
||||
+ CObjectVector<NWindows::NFile::NDirectory::CDelayedSymLink> _delayedSymLinks;
|
||||
+
|
||||
void CreateComplexDirectory(const UStringVector &dirPathParts, UString &fullPath);
|
||||
HRESULT GetTime(int index, PROPID propID, FILETIME &filetime, bool &filetimeIsDefined);
|
||||
HRESULT GetUnpackSize();
|
||||
@@ -138,6 +142,7 @@ public:
|
||||
const UStringVector &removePathParts,
|
||||
UInt64 packSize);
|
||||
|
||||
+ bool CreateSymLinks();
|
||||
};
|
||||
|
||||
#endif
|
||||
--- a/CPP/7zip/UI/Common/Extract.cpp
|
||||
+++ b/CPP/7zip/UI/Common/Extract.cpp
|
||||
@@ -96,6 +96,9 @@ static HRESULT DecompressArchive(
|
||||
else
|
||||
result = archive->Extract(&realIndices.Front(), realIndices.Size(), testMode, extractCallbackSpec);
|
||||
|
||||
+ if (result == S_OK && !extractCallbackSpec->CreateSymLinks())
|
||||
+ result = E_FAIL;
|
||||
+
|
||||
return callback->ExtractResult(result);
|
||||
}
|
||||
|
||||
--- a/CPP/Windows/FileDir.cpp
|
||||
+++ b/CPP/Windows/FileDir.cpp
|
||||
@@ -453,9 +453,10 @@ bool SetDirTime(LPCWSTR fileName, const
|
||||
}
|
||||
|
||||
#ifndef _UNICODE
|
||||
-bool MySetFileAttributes(LPCWSTR fileName, DWORD fileAttributes)
|
||||
+bool MySetFileAttributes(LPCWSTR fileName, DWORD fileAttributes,
|
||||
+ CObjectVector<CDelayedSymLink> *delayedSymLinks)
|
||||
{
|
||||
- return MySetFileAttributes(UnicodeStringToMultiByte(fileName, CP_ACP), fileAttributes);
|
||||
+ return MySetFileAttributes(UnicodeStringToMultiByte(fileName, CP_ACP), fileAttributes, delayedSymLinks);
|
||||
}
|
||||
|
||||
bool MyRemoveDirectory(LPCWSTR pathName)
|
||||
@@ -488,7 +489,8 @@ static int convert_to_symlink(const char
|
||||
return -1;
|
||||
}
|
||||
|
||||
-bool MySetFileAttributes(LPCTSTR fileName, DWORD fileAttributes)
|
||||
+bool MySetFileAttributes(LPCTSTR fileName, DWORD fileAttributes,
|
||||
+ CObjectVector<CDelayedSymLink> *delayedSymLinks)
|
||||
{
|
||||
if (!fileName) {
|
||||
SetLastError(ERROR_PATH_NOT_FOUND);
|
||||
@@ -520,7 +522,9 @@ bool MySetFileAttributes(LPCTSTR fileNam
|
||||
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("MySetFileAttributes(%s,%d) : false-3\n",name,fileAttributes)))
|
||||
return false;
|
||||
}
|
||||
@@ -924,4 +928,41 @@ bool CTempDirectory::Create(LPCTSTR pref
|
||||
}
|
||||
|
||||
|
||||
+#ifdef ENV_UNIX
|
||||
+
|
||||
+CDelayedSymLink::CDelayedSymLink(LPCSTR 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
|
||||
+
|
||||
}}}
|
||||
--- a/CPP/Windows/FileDir.h
|
||||
+++ b/CPP/Windows/FileDir.h
|
||||
@@ -4,6 +4,7 @@
|
||||
#define __WINDOWS_FILEDIR_H
|
||||
|
||||
#include "../Common/MyString.h"
|
||||
+#include "../Common/MyVector.h"
|
||||
#include "Defs.h"
|
||||
|
||||
/* GetFullPathName for 7zAES.cpp */
|
||||
@@ -13,11 +14,15 @@ namespace NWindows {
|
||||
namespace NFile {
|
||||
namespace NDirectory {
|
||||
|
||||
+class CDelayedSymLink;
|
||||
+
|
||||
bool SetDirTime(LPCWSTR fileName, const FILETIME *creationTime, const FILETIME *lastAccessTime, const FILETIME *lastWriteTime);
|
||||
|
||||
-bool MySetFileAttributes(LPCTSTR fileName, DWORD fileAttributes);
|
||||
+bool MySetFileAttributes(LPCTSTR fileName, DWORD fileAttributes,
|
||||
+ CObjectVector<CDelayedSymLink> *delayedSymLinks = 0);
|
||||
#ifndef _UNICODE
|
||||
-bool MySetFileAttributes(LPCWSTR fileName, DWORD fileAttributes);
|
||||
+bool MySetFileAttributes(LPCWSTR fileName, DWORD fileAttributes,
|
||||
+ CObjectVector<CDelayedSymLink> *delayedSymLinks = 0);
|
||||
#endif
|
||||
|
||||
bool MyMoveFile(LPCTSTR existFileName, LPCTSTR newFileName);
|
||||
@@ -80,6 +85,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(LPCSTR source);
|
||||
+ bool Create();
|
||||
+#else // !ENV_UNIX
|
||||
+public:
|
||||
+ CDelayedSymLink(LPCSTR source) {}
|
||||
+ bool Create() { return true; }
|
||||
+#endif // ENV_UNIX
|
||||
+};
|
||||
+
|
||||
#ifdef _UNICODE
|
||||
typedef CTempFile CTempFileW;
|
||||
#endif
|
@ -0,0 +1,155 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/p7zip/p7zip-9.20.1-r5.ebuild,v 1.8 2015/06/16 08:48:40 zlogene Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
WX_GTK_VER="2.8"
|
||||
|
||||
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"
|
||||
|
||||
REQUIRED_USE="kde? ( wxwidgets )"
|
||||
|
||||
RDEPEND="
|
||||
kde? ( x11-libs/wxGTK:2.8[X,-odbc] kde-base/kdelibs )
|
||||
wxwidgets? ( x11-libs/wxGTK:2.8[X,-odbc] )"
|
||||
DEPEND="${RDEPEND}
|
||||
amd64? ( dev-lang/yasm )
|
||||
x86? ( dev-lang/nasm )"
|
||||
|
||||
S=${WORKDIR}/${PN}_${PV}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-execstack.patch \
|
||||
"${FILESDIR}"/${P}-QA.patch \
|
||||
"${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:-pipe::g' \
|
||||
-e "/^CC/s:\$(ALLFLAGS):${CFLAGS} \$(ALLFLAGS):g" \
|
||||
-e "/^CXX/s:\$(ALLFLAGS):${CXXFLAGS} \$(ALLFLAGS):g" \
|
||||
-i makefile* || die
|
||||
|
||||
# remove non-free RAR codec
|
||||
if use rar; then
|
||||
ewarn "Enabling nonfree RAR decompressor"
|
||||
else
|
||||
sed -e '/Rar/d' -i makefile* || die
|
||||
rm -rf CPP/7zip/Compress/Rar || die
|
||||
epatch "${FILESDIR}"/9.04-makefile.patch
|
||||
fi
|
||||
|
||||
sed -i \
|
||||
-e "/^CXX=/s:g++:$(tc-getCXX):" \
|
||||
-e "/^CC=/s:gcc:$(tc-getCC):" \
|
||||
-e '/ALLFLAGS/s:-s ::' \
|
||||
makefile* || die "changing makefiles"
|
||||
|
||||
if 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
|
||||
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 DOCS/*.txt
|
||||
dohtml -r DOCS/MANUAL/*
|
||||
fi
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST qpdfview-0.4.13.tar.gz 563548 SHA256 8ff563055fb4df476afed08ead465e6204c16fc419a483ebf3dbe89779f28e41 SHA512 0246a2954ca01a1b3df69473ee53c7674ee891c460a26aebbf8acf2505692ec40eb712388893eddf6954180ddadb7965f173b9e55a3574f2cc8c0820d78be952 WHIRLPOOL 702ba4b5f1c597dfb4483775d9b089ff263594d99f7c9866c81ffb1a7755615b960c90a3b6c7cb8ea4b0d078c7d80b645612b5ce2eb618b2fedb785a6c67a725
|
||||
DIST qpdfview-0.4.14.tar.gz 591025 SHA256 69c685be50792256547ce85c672448bd655f8ca4a1a15fbf4e97e58d7f47a895 SHA512 f2503aca744a389a8b783329de5f67e338573672817e54d1762bc0e8de6652be2197c3a3787041c2307dc35b0d95d63d8a1b82f89647dcd30a9f840385427b1c WHIRLPOOL 6675493dcf0de8ad1a52fdd80afaa72bb6226ba193df5c2eb4da6bee2902602229c944497bbf36ac5b97a4ced3fd7e1de4f9137c000787b410a978cedaf01758
|
||||
DIST qpdfview-0.4.15.tar.gz 611036 SHA256 a2dca83bc12c1241fc0603f8fb029a5d5011c68f9266d4a3a804fb75bf00f271 SHA512 dd87bcb62af75e3d96197f2ff6a76dde5c4a418dd6989050b9a606370b4a7f437a8a94fdef5f947e519b2880cb374af5f406ff4201bcd52da7a98949e63b02e4 WHIRLPOOL b78b76fa29f7775c3120bfd4487fb0dbcad82da923d5f02ba160912a9ecc1cc5831353b999c2ec36d9dbc7e464b650e4c1f753eb0f5ebe7d3014c0fb568dcf82
|
||||
|
@ -1,13 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>qt</herd>
|
||||
<use>
|
||||
<flag name="fitz">Use experimental fitz rendering, provided by <pkg>app-text/mupdf</pkg>,
|
||||
instead of poppler</flag>
|
||||
<flag name="synctex">Add support for searching TeX sources</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="launchpad">qpdfview</remote-id>
|
||||
</upstream>
|
||||
<herd>qt</herd>
|
||||
<use>
|
||||
<flag name="fitz">
|
||||
Use experimental fitz rendering, provided by <pkg>app-text/mupdf</pkg>,
|
||||
instead of poppler
|
||||
</flag>
|
||||
<flag name="synctex">Add support for searching TeX sources</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="launchpad">qpdfview</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,89 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/qpdfview/qpdfview-0.4.14.ebuild,v 1.2 2015/03/05 13:48:24 yngwin Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PLOCALES="ast az be bg bs ca cs da de el en_GB eo es eu fi fr gl he hr id it kk ky lt ms my pl pt pt_BR ro ru sk sv th tr ug uk vi zh_CN"
|
||||
inherit eutils l10n multilib qmake-utils
|
||||
|
||||
DESCRIPTION="A tabbed document viewer"
|
||||
HOMEPAGE="http://launchpad.net/qpdfview"
|
||||
SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="cups dbus djvu fitz +pdf postscript +qt4 qt5 sqlite +svg synctex"
|
||||
|
||||
REQUIRED_USE="^^ ( qt4 qt5 )
|
||||
?? ( fitz pdf )"
|
||||
|
||||
RDEPEND="cups? ( net-print/cups )
|
||||
djvu? ( app-text/djvu )
|
||||
fitz? ( app-text/mupdf:0/1.4 )
|
||||
postscript? ( app-text/libspectre )
|
||||
qt4? ( dev-qt/qtcore:4[iconv]
|
||||
dev-qt/qtgui:4
|
||||
dbus? ( dev-qt/qtdbus:4 )
|
||||
pdf? ( app-text/poppler[qt4] )
|
||||
sqlite? ( dev-qt/qtsql:4[sqlite] )
|
||||
svg? ( dev-qt/qtsvg:4 ) )
|
||||
qt5? ( dev-qt/linguist-tools:5
|
||||
dev-qt/qtconcurrent:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtprintsupport:5
|
||||
dbus? ( dev-qt/qtdbus:5 )
|
||||
pdf? ( >=app-text/poppler-0.26.4[qt5] )
|
||||
sqlite? ( dev-qt/qtsql:5[sqlite] )
|
||||
svg? ( dev-qt/qtsvg:5 ) )
|
||||
!svg? ( virtual/freedesktop-icon-theme )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=( CHANGES CONTRIBUTORS README TODO )
|
||||
|
||||
src_prepare() {
|
||||
prepare_locale() {
|
||||
local _lrel
|
||||
use qt4 && _lrel="$(qt4_get_bindir)/lrelease"
|
||||
use qt5 && _lrel="$(qt5_get_bindir)/lrelease"
|
||||
${_lrel} "translations/${PN}_${1}.ts" || die "preparing ${1} locale failed"
|
||||
}
|
||||
|
||||
rm_help() {
|
||||
rm -f "miscellaneous/help_${1}.html" || die "removing extraneous help files failed"
|
||||
}
|
||||
|
||||
l10n_find_plocales_changes translations "${PN}_" '.ts'
|
||||
l10n_for_each_locale_do prepare_locale
|
||||
l10n_for_each_disabled_locale_do rm_help
|
||||
|
||||
# adapt for prefix
|
||||
sed -i -e "s:/usr:${EPREFIX}/usr:g" qpdfview.pri || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local config i
|
||||
for i in cups dbus pdf djvu svg synctex; do
|
||||
if ! use ${i}; then
|
||||
config+=" without_${i}"
|
||||
fi
|
||||
done
|
||||
|
||||
use fitz && config+=" with_fitz"
|
||||
use postscript || config+=" without_ps"
|
||||
use sqlite || config+=" without_sql"
|
||||
|
||||
if use qt4; then
|
||||
eqmake4 CONFIG+="${config}" PLUGIN_INSTALL_PATH="${EPREFIX}/usr/$(get_libdir)/${PN}"
|
||||
else
|
||||
eqmake5 CONFIG+="${config}" PLUGIN_INSTALL_PATH="${EPREFIX}/usr/$(get_libdir)/${PN}" qpdfview.pro
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install
|
||||
einstalldocs
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST jboss-logging-3.1.3.tar.gz 24989 SHA256 fba22b022984bdaca3c78213957594add4faf7502be157b8dbf2eadccbc23be1 SHA512 9a9b6621d554de2baa23b26c78074063e7c59e05703c2dc710c70167efb581691207b97e4371100802c06a97b149943e098c994d0fb53530a150bf0364b9e63f WHIRLPOOL 8331cfe9f17bb8e6064e9d2d6332b74bba596e953101ec0ce542ffdef8625c46df3363151a952238acbdcae0de1209e162a35a71911b6da4a3784c0980d0cb57
|
||||
DIST jboss-logging-3.1.4.tar.gz 25018 SHA256 805053336b77c4c62e89a920ef9b80cfc6577964fcdcadb7c3ab43b017e1c734 SHA512 633b18b079089444a5f7406a6a2b29100abd2c752306ada4fda0c15f07a60a363d67616e2521ec079f1df37ecdadcbb46e26819a9f5647e3d1a18219c494b73a WHIRLPOOL b60657d39425309c7917a9019b957d83898462c142bdfd95fe5ba1d8c91cb6b0d119515810747f68db15623d389f955c8a1adaafbebb58860570ad9994bffb14
|
||||
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jboss-logging/jboss-logging-3.1.3-r1.ebuild,v 1.3 2015/04/02 18:12:25 mr_bones_ Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="JBoss logging framework"
|
||||
HOMEPAGE="http://www.jboss.org/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.GA.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
COMMON_DEPEND="dev-java/jboss-logmanager:0
|
||||
<dev-java/slf4j-api-1.7.7:0
|
||||
dev-java/log4j:0"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEPEND}"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
${COMMON_DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${P}.GA/"
|
||||
|
||||
EANT_GENTOO_CLASSPATH="jboss-logmanager,slf4j-api,log4j"
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/${PF}-build.xml build.xml || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar target/${P}.GA.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc target/site/apidocs
|
||||
use source && java-pkg_dosrc src/main/java/org
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jboss-logging/jboss-logging-3.1.3.ebuild,v 1.1 2013/09/26 17:39:00 ercpe Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="JBoss logging framework"
|
||||
HOMEPAGE="http://www.jboss.org/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.GA.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="dev-java/jboss-logmanager:0
|
||||
dev-java/slf4j-api:0
|
||||
dev-java/log4j:0"
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${CDEPEND}"
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${P}.GA/"
|
||||
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
JAVA_GENTOO_CLASSPATH="jboss-logmanager,slf4j-api,log4j"
|
||||
|
||||
java_prepare() {
|
||||
rm pom.xml || die
|
||||
}
|
@ -0,0 +1,252 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/netbeans-java/netbeans-java-8.0.2-r3.ebuild,v 1.1 2015/06/16 11:20:07 fordfrog Exp $
|
||||
|
||||
EAPI="4"
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
# Maven cannot be unbundled because it depends on exact maven version and exact content of maven directory
|
||||
|
||||
DESCRIPTION="Netbeans Java Cluster"
|
||||
HOMEPAGE="http://netbeans.org/projects/java"
|
||||
SLOT="8.0"
|
||||
SOURCE_URL="http://download.netbeans.org/netbeans/8.0.2/final/zip/netbeans-8.0.2-201411181905-src.zip"
|
||||
SRC_URI="${SOURCE_URL}
|
||||
http://dev.gentoo.org/~fordfrog/distfiles/netbeans-8.0.2-build.xml.patch.bz2
|
||||
http://hg.netbeans.org/binaries/694F57282D92C434800F79218E64704E5947008A-apache-maven-3.0.5-bin.zip
|
||||
http://hg.netbeans.org/binaries/F7BD95641780C2AAE8CB9BED1686441A1CE5E749-beansbinding-1.2.1-doc.zip
|
||||
http://hg.netbeans.org/binaries/CD2211635F3011E300CA8FEDC1CE0E1CF61C175B-eclipselink.jar
|
||||
http://hg.netbeans.org/binaries/A9A0648BD7D9FD2CDFBD22C25366E71DA72438DA-hibernate-release-4.3.1-lib.zip
|
||||
http://hg.netbeans.org/binaries/562F0CFA47F0636EBB5A544968EE7A692FC5D26D-indexer-artifact-5.1.1.jar
|
||||
http://hg.netbeans.org/binaries/2B9EAB164D8748F9793F6A0D29B6463E97B284DA-indexer-core-5.1.1.jar
|
||||
http://hg.netbeans.org/binaries/D87F53C99E4CD88F5416EDD5ABB77F2A1CCFB050-jarjar-1.4.jar
|
||||
http://hg.netbeans.org/binaries/5BAB675816DBE0F64BB86004B108BF2A00292358-javax.persistence_2.1.0.v201304241213.jar
|
||||
http://hg.netbeans.org/binaries/84E2020E5499015E9F40D1212C86918264B89EB1-jaxws-2.2.6.zip
|
||||
http://hg.netbeans.org/binaries/D64C40E770C95C2A6994081C00CCD489C0AA20C9-jaxws-2.2.6-api.zip
|
||||
http://hg.netbeans.org/binaries/8ECD169E9E308C258287E4F28B03B6D6F1E55F47-jaxws-api-doc.zip
|
||||
http://hg.netbeans.org/binaries/A8BD39C5B88571B4D4697E78DD1A56566E44B1DD-JPAjavadocs04032013.zip
|
||||
http://hg.netbeans.org/binaries/9EC77E2507F9CC01756964C71D91EFD8154A8C47-lucene-core-3.6.2.jar
|
||||
http://hg.netbeans.org/binaries/A90682C6BC0B9E105BD260C9A041FEFEA9579E46-lucene-highlighter-3.6.2.jar
|
||||
http://hg.netbeans.org/binaries/BF206C4AA93C74A739FBAF1F1C78E3AD5F167245-maven-dependency-tree-2.0.jar
|
||||
http://hg.netbeans.org/binaries/E5579EF3B0C1EF2F43562DD0C3B32F8E1F603B49-nb-javac-api.jar
|
||||
http://hg.netbeans.org/binaries/8BDE88C9512D8783E64788F32A50E4CCBC48485E-nb-javac-impl.jar
|
||||
http://hg.netbeans.org/binaries/29AF1D338CBB76290D1A96F5A6610F1E8C319AE5-org.eclipse.persistence.jpa.jpql_2.5.2.v20140319-9ad6abd.jar
|
||||
http://hg.netbeans.org/binaries/3CE04BDB48FE315736B1DCE407362C57DFAE286D-org.eclipse.persistence.jpa.modelgen_2.5.2.v20140319-9ad6abd.jar
|
||||
http://hg.netbeans.org/binaries/7666B94C1004AFFFE88E5328BD70EBA6F60125F4-spring-framework-3.2.7.RELEASE.zip
|
||||
http://hg.netbeans.org/binaries/91B55CDAC59BC4DDDF0AF9A54EAAE4304EDEF266-spring-framework-4.0.1.RELEASE.zip"
|
||||
LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
S="${WORKDIR}"
|
||||
|
||||
CDEPEND="~dev-java/netbeans-platform-${PV}
|
||||
~dev-java/netbeans-extide-${PV}
|
||||
~dev-java/netbeans-harness-${PV}
|
||||
~dev-java/netbeans-ide-${PV}
|
||||
~dev-java/netbeans-websvccommon-${PV}
|
||||
dev-java/beansbinding:0
|
||||
dev-java/cglib:3
|
||||
dev-java/jdom:0"
|
||||
DEPEND="virtual/jdk:1.7
|
||||
app-arch/unzip
|
||||
${CDEPEND}
|
||||
dev-java/javahelp:0
|
||||
dev-java/json-simple:0
|
||||
dev-java/junit:4"
|
||||
RDEPEND=">=virtual/jdk-1.7
|
||||
${CDEPEND}
|
||||
dev-java/absolutelayout:0
|
||||
dev-java/antlr:0[java]
|
||||
dev-java/c3p0:0
|
||||
dev-java/commons-collections:0
|
||||
dev-java/dom4j:1
|
||||
dev-java/fastinfoset:0
|
||||
dev-java/glassfish-transaction-api:0
|
||||
dev-java/javassist:3
|
||||
dev-java/jboss-logging:0
|
||||
dev-java/jsr67:0
|
||||
dev-java/jsr181:0
|
||||
dev-java/jtidy:0
|
||||
dev-java/log4j:0
|
||||
dev-java/mimepull:0
|
||||
dev-java/saaj:0
|
||||
dev-java/stax-ex:0
|
||||
dev-java/xmlstreambuffer:0"
|
||||
|
||||
INSTALL_DIR="/usr/share/${PN}-${SLOT}"
|
||||
|
||||
EANT_BUILD_XML="nbbuild/build.xml"
|
||||
EANT_BUILD_TARGET="rebuild-cluster"
|
||||
EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.java -Dext.binaries.downloaded=true"
|
||||
EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
|
||||
JAVA_PKG_BSFIX="off"
|
||||
|
||||
pkg_pretend() {
|
||||
local die_now=""
|
||||
|
||||
if [ -d /usr/share/netbeans-java-${SLOT}/ant ]; then
|
||||
if [ -n "$(find /usr/share/netbeans-java-${SLOT}/ant -type l)" ]; then
|
||||
eerror "Please remove following symlinks and run emerge again:"
|
||||
find /usr/share/netbeans-java-${SLOT}/ant -type l
|
||||
die_now="1"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -L /usr/share/netbeans-java-${SLOT}/maven ]; then
|
||||
if [ -z "${die_now}" ]; then
|
||||
eerror "Please remove following symlinks and run emerge again:"
|
||||
fi
|
||||
|
||||
echo "/usr/share/netbeans-java-${SLOT}/maven"
|
||||
die_now="1"
|
||||
fi
|
||||
|
||||
if [ -n "${die_now}" ]; then
|
||||
die "Symlinks exist"
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack $(basename ${SOURCE_URL})
|
||||
|
||||
einfo "Deleting bundled jars..."
|
||||
find -name "*.jar" -type f -delete
|
||||
|
||||
unpack netbeans-8.0.2-build.xml.patch.bz2
|
||||
|
||||
pushd "${S}" >/dev/null || die
|
||||
ln -s "${DISTDIR}"/694F57282D92C434800F79218E64704E5947008A-apache-maven-3.0.5-bin.zip maven.embedder/external/apache-maven-3.0.5-bin.zip || die
|
||||
ln -s "${DISTDIR}"/F7BD95641780C2AAE8CB9BED1686441A1CE5E749-beansbinding-1.2.1-doc.zip o.jdesktop.beansbinding/external/beansbinding-1.2.1-doc.zip || die
|
||||
ln -s "${DISTDIR}"/CD2211635F3011E300CA8FEDC1CE0E1CF61C175B-eclipselink.jar j2ee.eclipselink/external/eclipselink.jar || die
|
||||
ln -s "${DISTDIR}"/A9A0648BD7D9FD2CDFBD22C25366E71DA72438DA-hibernate-release-4.3.1-lib.zip hibernate4lib/external/hibernate-release-4.3.1-lib.zip || die
|
||||
ln -s "${DISTDIR}"/562F0CFA47F0636EBB5A544968EE7A692FC5D26D-indexer-artifact-5.1.1.jar maven.indexer/external/indexer-artifact-5.1.1.jar || die
|
||||
ln -s "${DISTDIR}"/2B9EAB164D8748F9793F6A0D29B6463E97B284DA-indexer-core-5.1.1.jar maven.indexer/external/indexer-core-5.1.1.jar || die
|
||||
ln -s "${DISTDIR}"/D87F53C99E4CD88F5416EDD5ABB77F2A1CCFB050-jarjar-1.4.jar maven/external/jarjar-1.4.jar || die
|
||||
ln -s "${DISTDIR}"/5BAB675816DBE0F64BB86004B108BF2A00292358-javax.persistence_2.1.0.v201304241213.jar j2ee.eclipselink/external/javax.persistence_2.1.0.v201304241213.jar || die
|
||||
ln -s "${DISTDIR}"/84E2020E5499015E9F40D1212C86918264B89EB1-jaxws-2.2.6.zip websvc.jaxws21/external/jaxws-2.2.6.zip || die
|
||||
ln -s "${DISTDIR}"/D64C40E770C95C2A6994081C00CCD489C0AA20C9-jaxws-2.2.6-api.zip websvc.jaxws21api/external/jaxws-2.2.6-api.zip || die
|
||||
ln -s "${DISTDIR}"/8ECD169E9E308C258287E4F28B03B6D6F1E55F47-jaxws-api-doc.zip websvc.jaxws21/external/jaxws-api-doc.zip || die
|
||||
ln -s "${DISTDIR}"/A8BD39C5B88571B4D4697E78DD1A56566E44B1DD-JPAjavadocs04032013.zip j2ee.eclipselink/external/JPAjavadocs04032013.zip || die
|
||||
ln -s "${DISTDIR}"/9EC77E2507F9CC01756964C71D91EFD8154A8C47-lucene-core-3.6.2.jar maven.indexer/external/lucene-core-3.6.2.jar || die
|
||||
ln -s "${DISTDIR}"/A90682C6BC0B9E105BD260C9A041FEFEA9579E46-lucene-highlighter-3.6.2.jar maven.indexer/external/lucene-highlighter-3.6.2.jar || die
|
||||
ln -s "${DISTDIR}"/BF206C4AA93C74A739FBAF1F1C78E3AD5F167245-maven-dependency-tree-2.0.jar maven.embedder/external/maven-dependency-tree-2.0.jar || die
|
||||
ln -s "${DISTDIR}"/E5579EF3B0C1EF2F43562DD0C3B32F8E1F603B49-nb-javac-api.jar libs.javacapi/external/nb-javac-api.jar || die
|
||||
ln -s "${DISTDIR}"/8BDE88C9512D8783E64788F32A50E4CCBC48485E-nb-javac-impl.jar libs.javacimpl/external/nb-javac-impl.jar || die
|
||||
ln -s "${DISTDIR}"/29AF1D338CBB76290D1A96F5A6610F1E8C319AE5-org.eclipse.persistence.jpa.jpql_2.5.2.v20140319-9ad6abd.jar j2ee.eclipselink/external/org.eclipse.persistence.jpa.jpql_2.5.2.v20140319-9ad6abd.jar || die
|
||||
ln -s "${DISTDIR}"/3CE04BDB48FE315736B1DCE407362C57DFAE286D-org.eclipse.persistence.jpa.modelgen_2.5.2.v20140319-9ad6abd.jar j2ee.eclipselinkmodelgen/external/org.eclipse.persistence.jpa.modelgen_2.5.2.v20140319-9ad6abd.jar || die
|
||||
ln -s "${DISTDIR}"/7666B94C1004AFFFE88E5328BD70EBA6F60125F4-spring-framework-3.2.7.RELEASE.zip libs.springframework/external/spring-framework-3.2.7.RELEASE.zip || die
|
||||
ln -s "${DISTDIR}"/91B55CDAC59BC4DDDF0AF9A54EAAE4304EDEF266-spring-framework-4.0.1.RELEASE.zip libs.springframework/external/spring-framework-4.0.1.RELEASE.zip || die
|
||||
popd >/dev/null || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
einfo "Deleting bundled class files..."
|
||||
find -name "*.class" -type f | xargs rm -vf
|
||||
|
||||
epatch netbeans-8.0.2-build.xml.patch
|
||||
|
||||
# Support for custom patches
|
||||
if [ -n "${NETBEANS80_PATCHES_DIR}" -a -d "${NETBEANS80_PATCHES_DIR}" ] ; then
|
||||
local files=`find "${NETBEANS80_PATCHES_DIR}" -type f`
|
||||
|
||||
if [ -n "${files}" ] ; then
|
||||
einfo "Applying custom patches:"
|
||||
|
||||
for file in ${files} ; do
|
||||
epatch "${file}"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "Symlinking external libraries..."
|
||||
java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
|
||||
java-pkg_jar-from --into libs.cglib/external cglib-3 cglib.jar cglib-2.2.jar
|
||||
java-pkg_jar-from --build-only --into libs.json_simple/external json-simple json-simple.jar json-simple-1.1.1.jar
|
||||
java-pkg_jar-from --build-only --into libs.junit4/external junit-4 junit.jar junit-4.10.jar
|
||||
java-pkg_jar-from --into maven.embedder/external jdom jdom.jar jdom-1.0.jar
|
||||
java-pkg_jar-from --into o.jdesktop.beansbinding/external beansbinding beansbinding.jar beansbinding-1.2.1.jar
|
||||
|
||||
einfo "Linking in other clusters..."
|
||||
mkdir "${S}"/nbbuild/netbeans || die
|
||||
pushd "${S}"/nbbuild/netbeans >/dev/null || die
|
||||
|
||||
ln -s /usr/share/netbeans-platform-${SLOT} platform || die
|
||||
cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.platform.built
|
||||
|
||||
ln -s /usr/share/netbeans-extide-${SLOT} extide || die
|
||||
cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.extide.built
|
||||
|
||||
ln -s /usr/share/netbeans-harness-${SLOT} harness || die
|
||||
cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.harness.built
|
||||
|
||||
ln -s /usr/share/netbeans-ide-${SLOT} ide || die
|
||||
cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.ide.built
|
||||
|
||||
ln -s /usr/share/netbeans-websvccommon-${SLOT} websvccommon || die
|
||||
cat /usr/share/netbeans-websvccommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
|
||||
touch nb.cluster.websvccommon.built
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd nbbuild/netbeans/java >/dev/null || die
|
||||
|
||||
insinto ${INSTALL_DIR}
|
||||
grep -E "/java$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
|
||||
|
||||
doins -r *
|
||||
chmod 755 "${D}"/${INSTALL_DIR}/maven/bin/mvn* || die
|
||||
rm -fr "${D}"/${INSTALL_DIR}/maven/bin/*.bat || die
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=/${INSTALL_DIR}/modules/ext
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
rm AbsoluteLayout.jar && dosym /usr/share/absolutelayout/lib/absolutelayout.jar ${instdir}/AbsoluteLayout.jar || die
|
||||
rm beansbinding-1.2.1.jar && dosym /usr/share/beansbinding/lib/beansbinding.jar ${instdir}/beansbinding-1.2.1.jar || die
|
||||
rm cglib-2.2.jar && dosym /usr/share/cglib-3/lib/cglib.jar ${instdir}/cglib-2.2.jar || die
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=${INSTALL_DIR}/modules/ext/hibernate4
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
rm antlr-2.7.7.jar && dosym /usr/share/antlr/lib/antlr.jar ${instdir}/antlr-2.7.7.jar || die
|
||||
rm c3p0-0.9.2.1.jar && dosym /usr/share/c3p0/lib/c3p0.jar ${instdir}/c3p0-0.9.2.1.jar || die
|
||||
rm cglib-2.2.jar && dosym /usr/share/cglib-3/lib/cglib.jar ${instdir}/cglib-2.2.jar || die
|
||||
rm commons-collections-3.2.1.jar && dosym /usr/share/commons-collections/lib/commons-collections.jar ${instdir}/commons-collections-3.2.1.jar || die
|
||||
rm dom4j-1.6.1.jar && dosym /usr/share/dom4j-1/lib/dom4j.jar ${instdir}/dom4j-1.6.1.jar || die
|
||||
rm javassist-3.18.1-GA.jar && dosym /usr/share/javassist-3/lib/javassist.jar ${instdir}/javassist-3.18.1-GA.jar || die
|
||||
rm jboss-logging-3.1.3.GA.jar && dosym /usr/share/jboss-logging/lib/jboss-logging.jar ${instdir}/jboss-logging-3.1.3.GA.jar || die
|
||||
rm jboss-transaction-api_1.2_spec-1.0.0.Final.jar && dosym /usr/share/glassfish-transaction-api/lib/jta.jar ${instdir}/jboss-transaction-api_1.2_spec-1.0.0.Final.jar || die
|
||||
rm jtidy-r8-20060801.jar && dosym /usr/share/jtidy/lib/Tidy.jar ${instdir}/jtidy-r8-20060801.jar || die
|
||||
rm log4j-1.2.12.jar && dosym /usr/share/log4j/lib/log4j.jar ${instdir}/log4j-1.2.12.jar || die
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=/${INSTALL_DIR}/modules/ext/jaxws22
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
rm FastInfoset.jar && dosym /usr/share/fastinfoset/lib/fastinfoset.jar ${instdir}/FastInfoset.jar || die
|
||||
rm mimepull.jar && dosym /usr/share/mimepull/lib/mimepull.jar ${instdir}/mimepull.jar || die
|
||||
rm saaj-impl.jar && dosym /usr/share/saaj/lib/saaj.jar ${instdir}/saaj-impl.jar || die
|
||||
rm stax-ex.jar && dosym /usr/share/stax-ex/lib/stax-ex.jar ${instdir}/stax-ex.jar || die
|
||||
rm streambuffer.jar && dosym /usr/share/xmlstreambuffer/lib/xmlstreambuffer.jar ${instdir}/streambuffer.jar || die
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=${INSTALL_DIR}/modules/ext/jaxws22/api
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
rm jsr181-api.jar && dosym /usr/share/jsr181/lib/jsr181.jar ${instdir}/jsr181-api.jar || die
|
||||
rm saaj-api.jar && dosym /usr/share/jsr67/lib/jsr67.jar ${instdir}/saaj-api.jar || die
|
||||
popd >/dev/null || die
|
||||
|
||||
local instdir=${INSTALL_DIR}/modules/ext/maven
|
||||
pushd "${D}"/${instdir} >/dev/null || die
|
||||
rm jdom-1.0.jar && dosym /usr/share/jdom/lib/jdom.jar ${instdir}/jdom-1.0.jar || die
|
||||
popd >/dev/null || die
|
||||
|
||||
dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/java
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST go1.4.1.src.tar.gz 10921282 SHA256 3d9bb27ad4be51f60dc44f3d0026036ef07142797b1df1b5ae816277e6c31bb3 SHA512 47cbd67cdca8d67e8d09fee6d9a9fd5ddfa65f59413bd583c83b27c598f7b1b23e51e894888c10202bada560a16758eb847bff963d77726724aefecaea5cf644 WHIRLPOOL 0e63fce9674204c79dafad2daea1b8e097370ae7a5b5ee0e463235925cec4a3e74fa0980de8fe6fa1adbc072c2921cef494c5eafe251fe4e26a0f1586bd217e0
|
||||
DIST go1.4.2.src.tar.gz 10921896 SHA256 299a6fd8f8adfdce15bc06bde926e7b252ae8e24dd5b16b7d8791ed79e7b5e9b SHA512 cda1a29d4418875dffaf3324004ddae8e1bbb573f7668e6e0c03d8b61284f4db7fca244c181f2859f8ccdd3db6391fb21e0d98a1a9fc15096c15883249d48a9c WHIRLPOOL d06c27f6ff3a6499a6c7cb3c5eccd53eb588896c4d837e1fe9855c22ee3caa5cc48fd68cbeceff105b7c47fafbbf0eb3dc28ee3af7196692c5bf18511c6760ef
|
||||
|
@ -1,83 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/go-bootstrap/go-bootstrap-1.4.1.ebuild,v 1.1 2015/01/20 03:39:35 williamh Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
export CTARGET=${CTARGET:-${CHOST}}
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
SRC_URI="https://storage.googleapis.com/golang/go${PV}.src.tar.gz"
|
||||
# Upstream only supports go on amd64, arm and x86 architectures.
|
||||
KEYWORDS="-* ~amd64 ~arm ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x86-macos"
|
||||
|
||||
DESCRIPTION="Version of go compiler used for bootstrapping"
|
||||
HOMEPAGE="http://www.golang.org"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
# The go tools should not cause the multilib-strict check to fail.
|
||||
QA_MULTILIB_PATHS="usr/lib/go1.4/pkg/tool/.*/.*"
|
||||
|
||||
# The go language uses *.a files which are _NOT_ libraries and should not be
|
||||
# stripped.
|
||||
STRIP_MASK="/usr/lib/go1.4/pkg/linux*/*.a
|
||||
/usr/lib/go1.4/pkg/freebsd*/*.a /usr/lib/go1.4/pkg/darwin*/*.a"
|
||||
|
||||
S="${WORKDIR}"/go
|
||||
|
||||
src_prepare()
|
||||
{
|
||||
sed -i -e 's/"-Werror",//g' src/cmd/dist/build.c
|
||||
}
|
||||
|
||||
src_compile()
|
||||
{
|
||||
export GOROOT_FINAL="${EPREFIX}"/usr/lib/go1.4
|
||||
export GOROOT="$(pwd)"
|
||||
export GOBIN="${GOROOT}/bin"
|
||||
if [[ $CTARGET = armv5* ]]
|
||||
then
|
||||
export GOARM=5
|
||||
fi
|
||||
tc-export CC
|
||||
|
||||
cd src
|
||||
./make.bash || die "build failed"
|
||||
}
|
||||
|
||||
src_test()
|
||||
{
|
||||
cd src
|
||||
PATH="${GOBIN}:${PATH}" \
|
||||
./run.bash --no-rebuild --banner || die "tests failed"
|
||||
}
|
||||
|
||||
src_install()
|
||||
{
|
||||
dodir /usr/lib/go1.4
|
||||
exeinto /usr/lib/go1.4/bin
|
||||
doexe bin/*
|
||||
insinto /usr/lib/go1.4
|
||||
doins -r lib pkg src
|
||||
fperms -R +x /usr/lib/go1.4/pkg/tool
|
||||
}
|
||||
|
||||
pkg_postinst()
|
||||
{
|
||||
# If the go tool sees a package file timestamped older than a dependancy it
|
||||
# will rebuild that file. So, in order to stop go from rebuilding lots of
|
||||
# packages for every build we need to fix the timestamps. The compiler and
|
||||
# linker are also checked - so we need to fix them too.
|
||||
ebegin "fixing timestamps to avoid unnecessary rebuilds"
|
||||
tref="usr/lib/go1.4/pkg/*/runtime.a"
|
||||
find "${EROOT}"usr/lib/go1.4 -type f \
|
||||
-exec touch -r "${EROOT}"${tref} {} \;
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/pkg_postinst-v50220001.eblit,v 1.1 2015/06/16 13:18:31 dilfridge Exp $
|
||||
|
||||
eblit-perl-pkg_postinst() {
|
||||
dual_scripts
|
||||
|
||||
if [[ "${ROOT}" = "/" ]] ; then
|
||||
local INC DIR file
|
||||
INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${SHORT_PV}'|etc|local|perl$/; print "$line\n" }')
|
||||
einfo "Removing old .ph files"
|
||||
for DIR in ${INC} ; do
|
||||
if [[ -d "${DIR}" ]] ; then
|
||||
for file in $(find "${DIR}" -name "*.ph" -type f ) ; do
|
||||
rm -f "${file}"
|
||||
einfo "<< ${file}"
|
||||
done
|
||||
fi
|
||||
done
|
||||
# Silently remove the now empty dirs
|
||||
for DIR in ${INC} ; do
|
||||
if [[ -d "${DIR}" ]] ; then
|
||||
find "${DIR}" -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null
|
||||
fi
|
||||
done
|
||||
|
||||
# ebegin "Generating ConfigLocal.pm (ignore any error)"
|
||||
# enc2xs -C
|
||||
|
||||
einfo "Converting C header files to the corresponding Perl format (ignore any error)"
|
||||
# Prefix note: unprefixed as this is all kernel/libc stuff that we never provide
|
||||
pushd /usr/include >/dev/null
|
||||
h2ph -Q -a -d "${EPREFIX}"${ARCH_LIB} \
|
||||
asm/termios.h syscall.h syslimits.h syslog.h sys/ioctl.h \
|
||||
sys/socket.h sys/time.h wait.h sysexits.h
|
||||
popd >/dev/null
|
||||
|
||||
# This has been moved into a function because rumor has it that a future release
|
||||
# of portage will allow us to check what version was just removed - which means
|
||||
# we will be able to invoke this only as needed :)
|
||||
# Tried doing this via -z, but $INC is too big...
|
||||
#if [[ "${INC}x" != "x" ]]; then
|
||||
# cleaner_msg
|
||||
#fi
|
||||
fi
|
||||
}
|
||||
|
||||
cleaner_msg() {
|
||||
eerror "You have had multiple versions of perl. It is recommended"
|
||||
eerror "that you run perl-cleaner now. perl-cleaner will"
|
||||
eerror "assist with this transition. This script is capable"
|
||||
eerror "of cleaning out old .ph files, rebuilding modules for "
|
||||
eerror "your new version of perl, as well as re-emerging"
|
||||
eerror "applications that compiled against your old libperl$(get_libname)"
|
||||
eerror
|
||||
eerror "PLEASE DO NOT INTERRUPT THE RUNNING OF THIS SCRIPT."
|
||||
eerror "Part of the rebuilding of applications compiled against "
|
||||
eerror "your old libperl involves temporarily unmerging"
|
||||
eerror "them - interruptions could leave you with unmerged"
|
||||
eerror "packages before they can be remerged."
|
||||
eerror ""
|
||||
eerror "If you have run perl-cleaner and a package still gives"
|
||||
eerror "you trouble, and re-emerging it fails to correct"
|
||||
eerror "the problem, please check http://bugs.gentoo.org/"
|
||||
eerror "for more information or to report a bug."
|
||||
eerror ""
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/pkg_postrm-v50220001.eblit,v 1.1 2015/06/16 13:18:31 dilfridge Exp $
|
||||
|
||||
eblit-perl-pkg_postrm(){
|
||||
dual_scripts
|
||||
|
||||
# if [[ -e ${ARCH_LIB}/Encode/ConfigLocal.pm ]] ; then
|
||||
# ebegin "Removing ConfigLocal.pm"
|
||||
# rm "${ARCH_LIB}/Encode/ConfigLocal.pm"
|
||||
# fi
|
||||
}
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/pkg_setup-v50220001.eblit,v 1.1 2015/06/16 13:18:31 dilfridge Exp $
|
||||
|
||||
eblit-perl-pkg_setup() {
|
||||
case ${CHOST} in
|
||||
*-freebsd*) osname="freebsd" ;;
|
||||
*-dragonfly*) osname="dragonfly" ;;
|
||||
*-netbsd*) osname="netbsd" ;;
|
||||
*-openbsd*) osname="openbsd" ;;
|
||||
*-darwin*) osname="darwin" ;;
|
||||
*-interix*) osname="interix" ;;
|
||||
*-aix*) osname="aix" ;;
|
||||
*) osname="linux" ;;
|
||||
esac
|
||||
|
||||
myarch="${CHOST%%-*}-${osname}"
|
||||
if use debug ; then
|
||||
myarch+="-debug"
|
||||
fi
|
||||
if use ithreads ; then
|
||||
mythreading="-multi"
|
||||
myarch+="-thread"
|
||||
fi
|
||||
|
||||
LIBPERL="libperl$(get_libname ${MY_PV} )"
|
||||
PRIV_LIB="/usr/$(get_libdir)/perl5/${MY_PV}"
|
||||
ARCH_LIB="/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}"
|
||||
SITE_LIB="/usr/local/$(get_libdir)/perl5/${MY_PV}"
|
||||
SITE_ARCH="/usr/local/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}"
|
||||
VENDOR_LIB="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}"
|
||||
VENDOR_ARCH="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}/${myarch}${mythreading}"
|
||||
|
||||
if use ithreads ; then
|
||||
echo ""
|
||||
ewarn "THREADS WARNING:"
|
||||
ewarn "PLEASE NOTE: You are compiling ${MY_P} with"
|
||||
ewarn "interpreter-level threading enabled."
|
||||
ewarn "Threading is not supported by all applications "
|
||||
ewarn "that compile against perl. You use threading at "
|
||||
ewarn "your own discretion. "
|
||||
fi
|
||||
check_rebuild
|
||||
dual_scripts
|
||||
}
|
||||
|
||||
check_rebuild() {
|
||||
if has_version "<dev-lang/perl-${SHORT_PV}" ; then
|
||||
echo ""
|
||||
ewarn "UPDATE THE PERL MODULES:"
|
||||
ewarn "After updating dev-lang/perl the installed Perl modules will"
|
||||
ewarn "have to be re-installed. In most cases, this is done automatically"
|
||||
ewarn "by the package manager, but you should still call perl-cleaner to"
|
||||
ewarn "make sure your system is consistent."
|
||||
ewarn "Use: perl-cleaner --all"
|
||||
elif has_version dev-lang/perl ; then
|
||||
# doesnot work
|
||||
#if ! has_version dev-lang/perl[ithreads=,debug=] ; then
|
||||
#if ! has_version dev-lang/perl[ithreads=] || ! has_version dev-lang/perl[debug=] ; then
|
||||
if ( use ithreads && ! has_version dev-lang/perl[ithreads] ) || \
|
||||
( ! use ithreads && has_version dev-lang/perl[ithreads] ) || \
|
||||
( use debug && ! has_version dev-lang/perl[debug] ) || \
|
||||
( ! use debug && has_version dev-lang/perl[debug] ) ; then
|
||||
echo ""
|
||||
ewarn "TOGGLED USE-FLAGS WARNING:"
|
||||
ewarn "You changed one of the use-flags ithreads or debug."
|
||||
ewarn "You must rebuild all perl-modules installed."
|
||||
ewarn "Use: perl-cleaner --modules ; perl-cleaner --force --libperl"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST fudge-0.9.6.tar.gz 81653 SHA256 34690c4692e8717f4d6a2ab7d841070c93c8d0ea0d2615b47064e291f750b1a0 SHA512 69b2fa5bdd678779c0a8d9863a67e1e6724828720d2764f9f8958bc3598dcf39b22f9827efccb03014961d27d6e214c2125f639bab200b63c824c2306e3bb617 WHIRLPOOL 176df990c9adebe2d4f969603e48b2f1a797cf9935de3daeab98c078314a3fd88a19affdff5b784db5d570a3264f8cc849305b2e4761a7128c2cca7eed79062f
|
||||
DIST fudge-1.0.3.tar.gz 87558 SHA256 f8c8bfb3c0199dd06108c0c5a80e3645c7a071e0917b1a3bc73c761800809251 SHA512 7bbbcf517b2570fae20b882467aa7b739fcc9db2cd4fd2c363536da1a2bdd7c016417f42dcdb27c8422213c847eed7d8a90fd9d43eade2a238e5fc62630d5a6a WHIRLPOOL 9e02ea4d849e364ac979bf41c6fc626cdebf4b60186d9b63afe5dafa85ee4c73a9cdfbbc9762dd994e6b909f86f27caf4abe9f44394e203cbe900149f90f7960
|
||||
DIST fudge-1.1.0.tar.gz 86418 SHA256 eba59a926fa1df1ab6dddd69a7a8af21865b16cad800cb4d1af75070b0f52afb SHA512 061d9303d28509d4e22eb2036d041359f872be85911dd85bb16e4d13bfc1cf27637f8206f215f4a37d63108ab2500d2af3f6a1a3e206fe461ead9163e0519417 WHIRLPOOL 3425a95652a778b784af99aed54ab90caf3b94fa171c9991e35b5a561ce44e14c2d337c88a3bcd2ea52499dce7d642b70b0be27a45c13fb3d0025abfbbd6d8df
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/fudge/fudge-1.1.0.ebuild,v 1.1 2015/06/16 07:11:29 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Replace real objects with fakes (mocks, stubs, etc) while testing"
|
||||
HOMEPAGE="http://farmdev.com/projects/fudge/ http://pypi.python.org/pypi/fudge"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests -w "${BUILD_DIR}"/lib \
|
||||
|| die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST futures-2.1.4-20130706.tar.gz 37132 SHA256 1ce7feba60c2ea7f9930289a6224167eb9e0f89801b69dacb0bf6ef020622931 SHA512 e18a3e9316ad6a255af30197b39f1820e7753b5f56ea9c4b39de340d4f3bc8288b6f08650345a95db9afbeb2c21bd0aad41b828af5d653d037a80470cff1164b WHIRLPOOL a920dfd69743eb683933c224291fef28c8c9c610030b409037114d95eb58e2ecd058a8f6e89d9a6814a49ccd632d80e69ca5b7441d9c36b7d7b903760f70ced2
|
||||
DIST futures-2.1.5.tar.gz 25962 SHA256 735b751d66ad20071adf32f7399f6f177f3b46ff1879884a294546cec1d5782f SHA512 d457b0d5635ba4295481127f1fd0d6197c83d217bb2abdb1bf50b96fbdfce1c7499d64a052c39d30d4bf50ec822e1c34b7722d88b4c542e42a6d7ddfa96d66b5 WHIRLPOOL 548fe56a24e67a0fa547e284b34dc1058e8174fc02ffed1e463b1e5c28c7ad3ab30587515dd3871a39945eec711497116be4970a86681de64a7b9991401d3149
|
||||
DIST futures-2.1.6.tar.gz 26445 SHA256 33f39102b631fa0a030b24c4341ba1f48558e435946d6735d47fe1f739d757c4 SHA512 1563dcfbcdcfe02a5b3d955d88f91a76e802292ab603acde8962a5f7562b3f4a4534e01217eb1d82a5368c98364abf34d2cd899b093594905e071c31ed1d4a34 WHIRLPOOL 88b0e14f9039944b0bdb6516155e4a715f797a2836f923776a3e2834190ca4ba7596ff82db596a6024b3edb033378a0361a54adaf6f4b8fe48ef409956cb7fad
|
||||
DIST futures-2.2.0.tar.gz 26786 SHA256 151c057173474a3a40f897165951c0e33ad04f37de65b6de547ddef107fd0ed3 SHA512 5f2a835b4b3f6bf1c4f086984a2e1d6ab30004b9af9298ef8afb23549014695ba26b43500dad3ee873e52aacd75911a42cd4ec9dfae6522cb99476a480dc83ee WHIRLPOOL 5c38f64759d0f2a15a536e8a5cb5c7473ce61d46242fc0c0bc737dfe91ce9b6573c1291a6f305953b96cd6298e1e41f7e27b45a2f0c2647315826ad9a1246ccd
|
||||
DIST futures-3.0.2.tar.gz 24908 SHA256 dc3fc91508e49e0fd2f8625f0132d16e49c80f882e7e1d565c56b0d5dfbae257 SHA512 01525c16914506d1e82910c5994aacc011d1ed01e91b7e403203ed1aa22a8caa3ff759ff399dd72628bc211dcab0893852ac177f792711ee9f9037a64c7e5723 WHIRLPOOL a59740472ca7cf339beb9ed44095d7f02b5701fcb2a28e41adc4dc6da63f23e5a629602010183ed611c4f60ba1a109563bd87242adb729ece12b57d63379e160
|
||||
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/futures/futures-2.1.4.ebuild,v 1.4 2015/04/08 08:04:53 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Backport of the concurrent.futures package from Python 3.2"
|
||||
HOMEPAGE="http://code.google.com/p/pythonfutures http://pypi.python.org/pypi/futures"
|
||||
SRC_URI="http://dev.gentoo.org/~idella4/tarballs/${P}-20130706.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" test_futures.py || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local DOCS=( CHANGES )
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/futures/futures-2.1.5.ebuild,v 1.2 2015/04/08 08:04:53 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Backport of the concurrent.futures package from Python 3.2"
|
||||
HOMEPAGE="http://code.google.com/p/pythonfutures http://pypi.python.org/pypi/futures"
|
||||
# pypi tarball is missing docs and tests
|
||||
#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
SRC_URI="http://dev.gentoo.org/~radhermit/dist/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" test_futures.py || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local DOCS=( CHANGES )
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST jquery-rails-2.3.0.gem 353280 SHA256 6ab43eb9e6ff9f60770308668875770e73fbf84a444063c16d5891c7080c5ac1 SHA512 f737e651fef0f121c9ef5ad3233f6ead3589745082fef6d036241664803f6aa7eece1f4cc1e7728f88ee06c1db53d83c2e4b0fc045ff21e78220fa0d29847874 WHIRLPOOL 3a9bc2c3b553dda528849996cd978d984ffe9b99928b746307e58c9e69ccb6eca31199dd7cc2c1fc92b0d98bf0274f8fd2cc3a4bf3186d34ea1b323224a68d37
|
||||
DIST jquery-rails-3.1.2.gem 190464 SHA256 7ee42bba07bb858c11d81da798c2bfa3641b5afad5d420445b55d0118b29aa40 SHA512 b6beb89fff8fdcb29d8a26da1ce0e82073f18a9643886e9367e7021a65ae8d80080a969b6146d4dea8ebd0a7b6af94fadda56c5a2fc52cd68cfbc2cb0edc1335 WHIRLPOOL 89cbca2c9bd9081a31f2577a7dd3a3ad7a54a6ab165c6c127bc0a5e01bd76ac3fe823554e98850e83697f31189016d8c88472e26e7a2534fcccaa9d8c19e51fe
|
||||
DIST jquery-rails-3.1.3.gem 190976 SHA256 07b5b06c60464ea1d86b773eb77c146fc16ecbb6f336b99ee7c1d0d383cc07d8 SHA512 e888eab43036f39335098047bab4c4c4019eccbf73f9eccf952a416dafd46750caa3f7ebd6102f4cee1f8997c585783cc8f77aee4378cda2e074e5291016fe77 WHIRLPOOL 96ab29145a572510143ee69aa22998d0af2d404d45d29272340fe4df5ce7f2446670bfaa8c33ae52f708ec9ba8fcdce4db3abb7647632d1737e7d83f429e230d
|
||||
DIST jquery-rails-4.0.3.gem 343552 SHA256 3a164ec26aad9d0cb3aca1060c6c61da7ac76f59a5194c6d8726869814ce7360 SHA512 af516f2f4cba05e0a9372bcdada2120fbbef2bea240e7dc910003708d9372c41a2421a2c9d74d73d32246d2e7233e10257ca5e1a62a65f3eaf463e246fe8e994 WHIRLPOOL b535c2740c5b6cbdb1cbb0e3ac1d7c02523a8a85a37cd2556b050b57a49a56ad113e0d2f9ba23153bca3e022be2287d2461cd8760b4b3ec4bf966c66fcb15a91
|
||||
DIST jquery-rails-4.0.4.gem 343552 SHA256 bb03def077cbc4132aebcb331a14fc39f6a7fe4bb8b70df515b42bea46f14e0a SHA512 a14d3e30b5532dbea803d985d4e22c7ce762079f258b05f7123651d14ece912c91ac14a3d1a8d12d1d84ee7b21c145fcf355e3887cc5d0848aff83bccdb1485e WHIRLPOOL 30f45a78c4ff818ef493d148c50767694c31fdb40919a5b3d38eb120f31ac193d1ab14d99be0a3a451e95aa46ff38ac5330e1620fa8196ccf0feb8904b34fbcc
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/jquery-rails/jquery-rails-3.1.3.ebuild,v 1.1 2015/06/16 20:10:43 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="vendor"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="jquery-rails.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="jQuery! For Rails! So great"
|
||||
HOMEPAGE="http://www.rubyonrails.org"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~x64-macos"
|
||||
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/railties-3.0:* <dev-ruby/railties-5.0:* >=dev-ruby/thor-0.14"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/git ls-files/d' jquery-rails.gemspec || die
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/jquery-rails/jquery-rails-4.0.4.ebuild,v 1.1 2015/06/16 20:10:43 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md VERSIONS.md"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="vendor"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="jquery-rails.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="jQuery! For Rails! So great"
|
||||
HOMEPAGE="http://www.rubyonrails.org"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/railties-4.2.0
|
||||
>=dev-ruby/thor-0.14
|
||||
dev-ruby/rails-dom-testing:1"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/git ls-files/d' jquery-rails.gemspec || die
|
||||
}
|
@ -1,7 +1,5 @@
|
||||
DIST rack-1.4.5.gem 203776 SHA256 f7bf3faa8e09a2ff26475372de36a724e7470d6bdc33d189a0ec34b49605f308 SHA512 061e7134a845b1ad4371b17aec2aae15add75fa6ff26b4440102e11962b18d8f89b0598ee2497a3caa2677b84f42929d901afb5b1c6db1748716f16a6039574f WHIRLPOOL c8b1ca8d24944ed3dd05af7171b441cb1802a631e43d7b5e97a288c850eb99f591657e36f48d837832fa448ba3aab40132b14ab4ad5da5194b5b95e7cb528059
|
||||
DIST rack-1.4.5.tar.gz 486819 SHA256 141f28583150dd6940545bd5817bfd7673534e50f126435c30044ba4e41bcf06 SHA512 6d2b9f89b0ca6990c6b5d7a3a938f03540124098e2cf0d762f6525f61c8af67f292c095cd512633c03aafaccee9292d595d967c4f7f4a82acf949c115a34755d WHIRLPOOL d4f5c8b6fb31a69595a7c9cf1800c813862249236c0246e5bece2f38192c52ab92486e61d12098a79d79b69bca6d35d3c519c056c2f08b3cfb043790db45192b
|
||||
DIST rack-1.5.2.gem 216576 SHA256 e64af00234e8faaa69ea81ef4e3800f40743c69560f0dda8fc9969660e775fa7 SHA512 13794c73b40a8dc0df017843a4a019d584f7a1fc8f6c29043a013fe7e8f47c5a95eb3a289357fe0a02ca5846591eb380fb1e3293a8b5564ec93ebacf5d48d0f0 WHIRLPOOL 8ffd37708d53754da7d6e74b33057c63e2417ffc34b4ce0e28be93c364b5f798c781930efcd15cd269b407e7af32c7a26714fcc1aeefcf093e4d892b045c23f5
|
||||
DIST rack-1.5.2.tar.gz 526061 SHA256 5e3f341cce28333d4168ec0d12efed01cb42d9f7c71924aec2afb21d39e546ff SHA512 9f0a11440c0e84313aa43f7bd9c286f6f44ddf486cfde9d9610368cb6466407f0b0b2261920b66f1a4b86109dbbaa86566a92395a193dabf24952db4c62fd427 WHIRLPOOL 819570df8792bd7c172afa56c3441a71dedecc38413d7b13d906876dc295d3ea83482bdb9e8cceab823c5b16da452b6e7ddc24c0002d6a79dbe3c3cbde9da7af
|
||||
DIST rack-1.5.3.gem 215552 SHA256 6b4cbe46b77cd1887c8175bd5f08b1644ab4397122edc1bb1551c9e14390100f SHA512 b043c6145c935ac7cff7ec7f6240902b11ddf20af333d7476901f70f03b53634025d9489b0e2d8e0d30af81d5b2d333d5d235c47d300984b5eda9ee8df2bb92a WHIRLPOOL 38c8a70597cc20f67fea1191de5d3fb62ad0d4b162822882f94dacd4db2839d7a425ab93c2f4b7b20d8e80681d5c7272ff91daab8ec3db80546f975cc2c97de4
|
||||
DIST rack-1.6.0.gem 227328 SHA256 6b6941d48013bc605538fc453006a9df18114ddf0757a3cd69cfbd5c3b72a7b8 SHA512 3affa39b18c0f34d50ed47a3924f13900988f2c71dd49564af4e3e9595a9b7ee3dff684943d75e8fec38a9679c9a09e887b1dfea3e9d2481d8f2ea0726195d02 WHIRLPOOL 6b1969d32e9ddc1f6725ef20e47fb0593461bd173a51bfb4dc424cb9a038e5d04f30706bc7b1edb6957744f77ddec0f82deb321f60331e9a5912ce82e26df87d
|
||||
DIST rack-1.6.1.gem 227840 SHA256 f4017a0a84dd36f1a6b38baa081731e3696a356f8f83ed74a09ff109afd9e338 SHA512 1f1659098da671331afa05c8b313f039a281ed5713d94649aa30c92dce1dd34430068439e580c6935156312fb895a0d7f2ec5fce2026927039510e07aa084c33 WHIRLPOOL ee9c2bf06f0918712ce80fe7bbf73a5f3ea6f2c0e2a44a92f834a8ed6d741117227287faf1314d2e4cb0bee10cb4b2bf16f17e6cc19b2a230db992f29ec299b3
|
||||
DIST rack-1.5.4.gem 216064 SHA256 401f8725be81ca60a4c8366fca674a9f18e9bc577b6ad4f42c9f66d763107e6e SHA512 713c3815ff4d6c1f498b9d3081b1f1a8ea929712fa6fb045fafe8544552b9d9db448e5a9862a6d40c1a1769788538630b5142daec157efc0e19dc0490d74e638 WHIRLPOOL 6313b68b1852a7d464bf18d3564c5978482fcb344086f6d404dce2fa6d8ccfd4c32b69e6eca59eeb2c32481e8f5910d21af2ba9b7f4baf193e72c160f8925de4
|
||||
DIST rack-1.6.2.gem 227840 SHA256 89278d4842d0ecdd1e79cbf7a894dc86f976e6d25debc6814343298fd19ed017 SHA512 0f0cdd2e55bb03ea73ab6ba339ca6027b2072425323b685b3f71c0b739276ad8009ec7f00b0f3f87c07229ccb70325473d2ec03a1f82a3ddc6e6d9f5545948ff WHIRLPOOL 4897e9d2b6fadd090375a899d93a95f33269db02c1d5f78816deccc3fb4b3684b89409a106306e117412757c50643b6ecd574c89c1d7951d866f20f33b9598fd
|
||||
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.5.2-r2.ebuild,v 1.3 2014/11/10 15:56:18 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="ChangeLog KNOWN-ISSUES README.rdoc SPEC"
|
||||
|
||||
inherit ruby-fakegem eutils versionator
|
||||
|
||||
DESCRIPTION="A modular Ruby webserver interface"
|
||||
HOMEPAGE="http://rack.github.com/"
|
||||
SRC_URI="mirror://rubyforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_PATCHES=( ${PN}-1.2.1-gentoo.patch )
|
||||
|
||||
ruby_add_rdepend "virtual/ruby-ssl"
|
||||
|
||||
# The gem has automagic dependencies over mongrel, ruby-openid,
|
||||
# memcache-client, thin, mongrel and camping; not sure if we should
|
||||
# make them dependencies at all.
|
||||
ruby_add_bdepend "test? ( dev-ruby/bacon )"
|
||||
|
||||
# Block against versions in older slots that also try to install a binary.
|
||||
RDEPEND="${RDEPEND} !<dev-ruby/rack-1.4.5-r1:1.4"
|
||||
|
||||
each_ruby_test() {
|
||||
# Since the Rakefile calls specrb directly rather than loading it, we
|
||||
# cannot use it to launch the tests or only the currently-selected
|
||||
# RUBY interpreter will be tested.
|
||||
${RUBY} -S bacon -Ilib -w -a \
|
||||
-q -t '^(?!Rack::Handler|Rack::Adapter|Rack::Session::Memcache|Rack::Server)' \
|
||||
|| die "test failed for ${RUBY}"
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.5.2-r3.ebuild,v 1.3 2014/11/10 15:56:18 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="KNOWN-ISSUES README.rdoc SPEC"
|
||||
|
||||
inherit ruby-fakegem eutils versionator
|
||||
|
||||
DESCRIPTION="A modular Ruby webserver interface"
|
||||
HOMEPAGE="http://rack.github.com/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_PATCHES=( ${PN}-1.2.1-gentoo.patch )
|
||||
|
||||
ruby_add_rdepend "virtual/ruby-ssl"
|
||||
|
||||
# The gem has automagic dependencies over mongrel, ruby-openid,
|
||||
# memcache-client, thin, mongrel and camping; not sure if we should
|
||||
# make them dependencies at all.
|
||||
ruby_add_bdepend "test? ( dev-ruby/bacon )"
|
||||
|
||||
# Block against versions in older slots that also try to install a binary.
|
||||
RDEPEND="${RDEPEND} !<dev-ruby/rack-1.4.5-r1:1.4"
|
||||
|
||||
each_ruby_test() {
|
||||
# Since the Rakefile calls specrb directly rather than loading it, we
|
||||
# cannot use it to launch the tests or only the currently-selected
|
||||
# RUBY interpreter will be tested.
|
||||
${RUBY} -S bacon -Ilib -w -a \
|
||||
-q -t '^(?!Rack::Handler|Rack::Adapter|Rack::Session::Memcache|Rack::Server)' \
|
||||
|| die "test failed for ${RUBY}"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.5.2-r4.ebuild,v 1.2 2015/01/03 01:22:18 mrueg Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.5.4-r1.ebuild,v 1.1 2015/06/16 19:59:15 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
|
@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.5.3.ebuild,v 1.1 2015/05/07 05:58:42 graaff Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.5.4.ebuild,v 1.1 2015/06/16 19:59:15 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
|
||||
USE_RUBY="ruby19 ruby20"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="KNOWN-ISSUES README.rdoc SPEC"
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.6.0.ebuild,v 1.4 2015/04/19 06:05:27 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="KNOWN-ISSUES README.rdoc SPEC"
|
||||
|
||||
inherit ruby-fakegem eutils versionator
|
||||
|
||||
DESCRIPTION="A modular Ruby webserver interface"
|
||||
HOMEPAGE="http://rack.github.com/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_PATCHES=( ${PN}-1.2.1-gentoo.patch )
|
||||
|
||||
ruby_add_rdepend "virtual/ruby-ssl"
|
||||
|
||||
# The gem has automagic dependencies over mongrel, ruby-openid,
|
||||
# memcache-client, thin, mongrel and camping; not sure if we should
|
||||
# make them dependencies at all.
|
||||
ruby_add_bdepend "test? ( dev-ruby/bacon )"
|
||||
|
||||
# Block against versions in older slots that also try to install a binary.
|
||||
RDEPEND="${RDEPEND} !<dev-ruby/rack-1.4.5-r1:1.4 !<dev-ruby/rack-1.5.2-r4:1.5"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# The build system tries to generate the ChangeLog from git. Create
|
||||
# an empty file to avoid a needless dependency on git.
|
||||
touch ChangeLog || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
# Since the Rakefile calls specrb directly rather than loading it, we
|
||||
# cannot use it to launch the tests or only the currently-selected
|
||||
# RUBY interpreter will be tested.
|
||||
${RUBY} -S bacon -Ilib -w -a \
|
||||
-q -t '^(?!Rack::Handler|Rack::Adapter|Rack::Session::Memcache|Rack::Server)' \
|
||||
|| die "test failed for ${RUBY}"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.6.1.ebuild,v 1.1 2015/05/07 05:55:49 graaff Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.6.2.ebuild,v 1.1 2015/06/16 19:59:15 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
|
@ -1,2 +1 @@
|
||||
DIST web-console-2.1.1.tar.gz 31817 SHA256 71ef2147ea82a548acadedbe639353174a5e68372a84d818fef4b649d5352b75 SHA512 8b6e2bbac1e255cd9a1290edbb1472ab2bb695e71eff42f0d6d89dc0ba4c65f513fc36d2b4c724758b5003ab545a87ee89b9cb1b39402aad5bfdba16721dfaac WHIRLPOOL d6064915d8953d05b163f7a1225cdd40f1fcf6cedb0eac38ac326db363c369b571b13f7634125993299e008a41edea82641fea0f77a325d653fa1cbe68a973a2
|
||||
DIST web-console-2.1.2.tar.gz 32439 SHA256 312a9027724dae7474edeff3c86e5a4ecda482a02edb25ecd02c580e6de63478 SHA512 8f14a0c614ca81838257a1947b2c61d96c8f31c90e47b2c0fb30cf3ff345de57ec82f41fef526900a8cc021e759dfc1272c5c87db88eb4e652b1d433f6135314 WHIRLPOOL 7a9d47fedbbde90a2319b94ef7ac1c90e79f5ef180e328c9d501b5d659e63fb39a71e16e2ab9e754e35b31b983b5599736ecb0c46983df0d6743dc59b0c578d3
|
||||
DIST web-console-2.1.3.tar.gz 32705 SHA256 558c97a2809282a7d397a6d9d6485d1db850c844c28ab4b5f40479a7a50781c5 SHA512 91cff2f02a0c498f97a4be344d0bf5b4f9aa6a2521f7511739fb71c61a45d309fc5b4a9ee4881311129a9f7526a9ec51c87258d5d3abeb77d00dc6c4c46516ff WHIRLPOOL fc4109fe6a517075b6d140cc38dbe56b9d52b4906be38c011e3dced5e1354cc909c2f753d102cf96fd184815a363a49c091545bccfe197d9cc721baa9f0fadfb
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/web-console/web-console-2.1.2.ebuild,v 1.1 2015/04/02 05:20:57 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.markdown README.markdown"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A debugging tool for your Ruby on Rails applications"
|
||||
HOMEPAGE="https://github.com/rails/web-console"
|
||||
SRC_URI="https://github.com/rails/web-console/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/activemodel-4.0
|
||||
>=dev-ruby/binding_of_caller-0.7.2
|
||||
>=dev-ruby/railties-4.0
|
||||
>=dev-ruby/sprockets-rails-2.0 <dev-ruby/sprockets-rails-4.0
|
||||
"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/bundler
|
||||
>=dev-ruby/rails-4.0
|
||||
dev-ruby/sqlite3
|
||||
dev-ruby/mocha
|
||||
dev-ruby/simplecov
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Use an installed rails version rather than live source from github.
|
||||
sed -i -e '/rails/ s/,/#/' Gemfile || die
|
||||
}
|
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/android-ndk/android-ndk-10e.ebuild,v 1.1 2015/06/16 11:41:01 perfinion Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Open Handset Alliance's Android NDK (Native Dev Kit)"
|
||||
HOMEPAGE="http://developer.android.com/sdk/ndk/"
|
||||
SRC_URI="x86? ( http://dl.google.com/android/ndk/${PN}-r${PV}-linux-x86.bin -> ${P}-x86.7z )
|
||||
amd64? ( http://dl.google.com/android/ndk/${PN}-r${PV}-linux-x86_64.bin -> ${P}-amd64.7z )"
|
||||
|
||||
LICENSE="android"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
RESTRICT="mirror strip installsources test"
|
||||
|
||||
DEPEND="app-arch/p7zip"
|
||||
RDEPEND=">=dev-util/android-sdk-update-manager-10
|
||||
>=sys-devel/make-3.81"
|
||||
|
||||
S="${WORKDIR}/${PN}-r${PV}"
|
||||
|
||||
ANDROID_NDK_DIR="opt/${PN}"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir "/${ANDROID_NDK_DIR}"
|
||||
cp -pPR * "${ED}/${ANDROID_NDK_DIR}" || die
|
||||
|
||||
fowners -R root:android "/${ANDROID_NDK_DIR}"
|
||||
fperms 0775 "/${ANDROID_NDK_DIR}/"{,build,docs,platforms,samples}
|
||||
fperms 0775 "/${ANDROID_NDK_DIR}/"{sources,tests,toolchains}
|
||||
|
||||
dodir "/${ANDROID_NDK_DIR}/out"
|
||||
fowners root:android "/${ANDROID_NDK_DIR}/out"
|
||||
fperms 3775 "/${ANDROID_NDK_DIR}/out"
|
||||
|
||||
ANDROID_PREFIX="${EPREFIX}/${ANDROID_NDK_DIR}"
|
||||
ANDROID_PATH="${EPREFIX}/${ANDROID_NDK_DIR}"
|
||||
|
||||
for i in toolchains/*/prebuilt/linux-*/bin
|
||||
do
|
||||
ANDROID_PATH="${ANDROID_PATH}:${ANDROID_PREFIX}/${i}"
|
||||
done
|
||||
|
||||
printf '%s' \
|
||||
"PATH=\"${ANDROID_PATH}\"" \
|
||||
$'\n' \
|
||||
> "${T}/80${PN}" || die
|
||||
|
||||
doenvd "${T}/80${PN}"
|
||||
|
||||
echo "SEARCH_DIRS_MASK=\"${EPREFIX}/${ANDROID_NDK_DIR}\"" \
|
||||
> "${T}/80${PN}" || die
|
||||
insinto "/etc/revdep-rebuild"
|
||||
doins "${T}/80${PN}"
|
||||
}
|
@ -1,23 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>perfinion@gentoo.org</email>
|
||||
<name>Jason Zaman</name>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>cardoe@gentoo.org</email>
|
||||
<name>Doug Goldstein</name>
|
||||
<description>Feel free to update/modify this package, just don't break
|
||||
my limited use case that I use it for.</description>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>jauhien@gentoo.org</email>
|
||||
<name>Jauhien Piatlicki</name>
|
||||
</maintainer>
|
||||
|
||||
<use>
|
||||
<flag name="legacy-toolchains">Install legacy
|
||||
toolchains</flag>
|
||||
<flag name="target-32">Support for 32-bit
|
||||
targets</flag>
|
||||
<flag name="target-64">Support for 64-bit
|
||||
targets</flag>
|
||||
<flag name="legacy-toolchains">Install legacy toolchains</flag>
|
||||
<flag name="target-32">Support for 32-bit targets</flag>
|
||||
<flag name="target-64">Support for 64-bit targets</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -1,3 +1,2 @@
|
||||
DIST android-studio-ide-135.1740770-linux.zip 259336386 SHA256 215bc100b1c94354cece28b4b1692ffc3098f386bf76c1ebc05d393f1acd50e4 SHA512 6c333b30ea9dfa6eae40871401af6c64e34cd4a77e943a1c89cb3edc984e7c6a5895e3600cb936b8ca75d0223aa773f2f5c1983c6066125bc1567353552d1f19 WHIRLPOOL ac28b7b3973e8774f3344dc18ff1772ee8c441c6aad9a2ff44ea11faccbd878f9da4ed375021e6b9cfe2ea0b1ed1f282725a37d236415a5af9b44f42fe0286ab
|
||||
DIST android-studio-ide-141.1890965-linux.zip 259139652 SHA256 f6c083902156ab83435fa91ae0743d9a2ae64e8aca1396afd553a44071366906 SHA512 bed422287003072ea4d65c05724fce22d3e847d5d292d2fa53cf799e344c2638d721e1e0c1c2b1444e1a52931e96f83499c5f9c6fb64e79aacbbf03dd1c10b61 WHIRLPOOL 58b542bb7f0a4375a5281e500ed74542c17af10582f305dd56792b7efb666a1a316a2d8fded99801d219ceceba919e527272b87067531a0a910d34197740dde1
|
||||
DIST android-studio-ide-141.1903250-linux.zip 258634089 SHA256 f79756f27f6ddc14f90a52dbeed5231b4a6b382c72aba10e17ab1403b886c09e SHA512 a0baac0fd7406c16277f09662b798c2340725d0d11333aa1834c095e2041d74bb4e75096dfe146491dfbb330d3a17b5c00e70cc1a921fd230c18d7b3e0d6e9a3 WHIRLPOOL c4fd53b7a20039176fb2cdd47c2da0d73148108880ad0076528390802a4113993b9719e794943058ed5b8382036768d7a7bc47d9034a9554d95bec33335487af
|
||||
|
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/android-studio/android-studio-1.1.0.135.1740770-r1.ebuild,v 1.1 2015/03/24 09:49:28 perfinion Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils versionator
|
||||
|
||||
RESTRICT="strip"
|
||||
QA_PREBUILT="opt/${PN}/bin/libbreakgen.so"
|
||||
STUDIO_V=$(get_version_component_range 1-3)
|
||||
BUILD_V=$(get_version_component_range 4-5)
|
||||
if [[ $(get_version_component_count) -gt 5 ]]; then
|
||||
STUDIO_V="${STUDIO_V}-$(get_version_component_range 6-)"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A new Android development environment based on IntelliJ IDEA"
|
||||
HOMEPAGE="http://developer.android.com/sdk/installing/studio.html"
|
||||
SRC_URI="http://dl.google.com/dl/android/studio/ide-zips/${STUDIO_V}/${PN}-ide-${BUILD_V}-linux.zip"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="selinux"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="app-arch/zip"
|
||||
RDEPEND=">=virtual/jdk-1.7
|
||||
selinux? ( sec-policy/selinux-android )
|
||||
>=app-arch/bzip2-1.0.6-r4[abi_x86_32(-)]
|
||||
>=dev-libs/expat-2.1.0-r3[abi_x86_32(-)]
|
||||
>=dev-libs/libffi-3.0.13-r1[abi_x86_32(-)]
|
||||
>=media-libs/fontconfig-2.10.92[abi_x86_32(-)]
|
||||
>=media-libs/freetype-2.5.5[abi_x86_32(-)]
|
||||
>=media-libs/libpng-1.2.51[abi_x86_32(-)]
|
||||
>=media-libs/mesa-10.2.8[abi_x86_32(-)]
|
||||
>=sys-libs/ncurses-5.9-r3[abi_x86_32(-)]
|
||||
>=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)]
|
||||
>=x11-libs/libX11-1.6.2[abi_x86_32(-)]
|
||||
>=x11-libs/libXau-1.0.7-r1[abi_x86_32(-)]
|
||||
>=x11-libs/libXdamage-1.1.4-r1[abi_x86_32(-)]
|
||||
>=x11-libs/libXdmcp-1.1.1-r1[abi_x86_32(-)]
|
||||
>=x11-libs/libXext-1.3.2[abi_x86_32(-)]
|
||||
>=x11-libs/libXfixes-5.0.1[abi_x86_32(-)]
|
||||
>=x11-libs/libXrender-0.9.8[abi_x86_32(-)]
|
||||
>=x11-libs/libXxf86vm-1.1.3[abi_x86_32(-)]
|
||||
>=x11-libs/libdrm-2.4.46[abi_x86_32(-)]
|
||||
>=x11-libs/libxcb-1.9.1[abi_x86_32(-)]
|
||||
>=x11-libs/libxshmfence-1.1[abi_x86_32(-)]"
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_install() {
|
||||
local dir="/opt/${PN}"
|
||||
|
||||
insinto "${dir}"
|
||||
doins -r *
|
||||
fperms 755 "${dir}/bin/studio.sh" "${dir}/bin/fsnotifier" "${dir}/bin/fsnotifier64"
|
||||
|
||||
newicon "bin/idea.png" "${PN}.png"
|
||||
make_wrapper ${PN} ${dir}/bin/studio.sh
|
||||
make_desktop_entry ${PN} "Android Studio" ${PN} "Development;IDE"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/assimp/assimp-3.0.1270.ebuild,v 1.2 2015/04/02 18:25:23 mr_bones_ Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/assimp/assimp-3.0.1270.ebuild,v 1.1 2015/06/16 08:57:08 slis Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/assimp/assimp-3.1.1.ebuild,v 1.3 2014/10/24 06:53:30 aballier Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/assimp/assimp-3.1.1.ebuild,v 1.1 2015/06/16 08:57:08 slis Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST smplayer-14.3.0.tar.bz2 3675657 SHA256 9b8db20043d1528ee5c6054526779e88a172d2c757429bd7095c794d65ecbc18 SHA512 11ccb390b220a8cf978f9059ed04871c68d91db2a234b7d42a695e17d2bc1ff108d0696439fc148637a5af6d9189fc19cf51dad581c6f59fe84361aa49db4faa WHIRLPOOL 6702e140527c95f5dc284c29fe6e49ac16b01af8162393f20d53ca7124abc9420d20ad3e704f7da79dc5e4341f282ab0ab48389f45dc3e481d2a76f19ea32180
|
||||
DIST smplayer-14.9.0.6690.tar.bz2 3813209 SHA256 5ec8a1d2912828e9b19f800e338029e6757fc30e3974cf62a21b67f46632bc5a SHA512 68f5a1ab162e5e722a6058b7e4724201dd37212591174d7045b1cd1a9a32a4a224006a5df3bbade47d6bca951725b5b2ae7c8630cd9baa3cecc57aecb550d882 WHIRLPOOL 67504ff5c475dffdd71267cc533e21afbf27c0c8746f295aed41a276d1747025164d1d6953042b8b0eed3161fd54f668306714a4591b20b4f3946fdd6004fc84
|
||||
DIST smplayer-14.9.0.6966.tar.bz2 3848779 SHA256 b24fb478e637151215bf050d3e84f99d802de2d9e3d10588aba33626fa24a34e SHA512 a398b90cca449efaa06d4e6ad0d508b452ab23e1f9117e919eece93fb637123211ea92002969c43fe6d20673bc26eccfd4008b37adc9e726382f5eb4de5c59ec WHIRLPOOL 2c543c19af6bad68d05fa083876b6d963e83965f09e712e2962482733f0050c634437fc95cf1061f7b72a3a0c774298d3e8d16f2c45d89b078b7b7f55327ff15
|
||||
DIST smplayer-14.9.0.tar.bz2 3716434 SHA256 429ad4edd6df1fcedd5ea4fa2b024eb5a61c9412f52762e9d9a9c2245b7ddf13 SHA512 78cecdad7e5f18c221a2f08a0472da01eb14db6230733616b805b6fccf2929c3f5b4dd92fd037362890a308967fa6602b89318c5376c3ce3a38d0dd9a1a17e43 WHIRLPOOL d7e621cd9ebcee450ce7aa9beaf1240c3d2f91271d2a6f043688c8688d77e8ad4761777a05ae77230966d050d647e700aa5bc8d3b566adc3fb724eaf9e315399
|
||||
|
@ -0,0 +1,109 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/smplayer-14.9.0.6966.ebuild,v 1.1 2015/06/16 10:45:41 yngwin Exp $
|
||||
|
||||
EAPI=5
|
||||
PLOCALES="ar ar_SY bg ca cs da de el_GR en_GB en_US es et eu fi fr gl he_IL hr
|
||||
hu it ja ka ko ku lt mk ms_MY nl pl pt pt_BR ro_RO ru_RU sk sl_SI sq_AL sr sv
|
||||
th tr uk_UA vi_VN zh_CN zh_TW"
|
||||
PLOCALE_BACKUP="en_US"
|
||||
inherit eutils l10n qmake-utils
|
||||
|
||||
DESCRIPTION="Great Qt GUI front-end for mplayer/mpv"
|
||||
HOMEPAGE="http://smplayer.info/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc64 ~x86 ~x86-fbsd ~amd64-linux"
|
||||
IUSE="autoshutdown bidi debug +qt4 qt5 streaming"
|
||||
REQUIRED_USE="^^ ( qt4 qt5 )"
|
||||
|
||||
DEPEND="
|
||||
qt4? ( dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
autoshutdown? ( dev-qt/qtdbus:4 )
|
||||
streaming? ( dev-qt/qtcore:4[ssl] ) )
|
||||
qt5? ( dev-qt/linguist-tools:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtxml:5
|
||||
autoshutdown? ( dev-qt/qtdbus:5 )
|
||||
streaming? ( dev-qt/qtnetwork:5[ssl]
|
||||
dev-qt/qtscript:5 ) )"
|
||||
RDEPEND="${DEPEND}
|
||||
|| ( media-video/mplayer[bidi?,libass,png,X]
|
||||
( >=media-video/mpv-0.6.2[libass,X]
|
||||
streaming? ( >=net-misc/youtube-dl-2014.11.26 ) ) )"
|
||||
|
||||
src_prepare() {
|
||||
use bidi || epatch "${FILESDIR}"/${PN}-14.9.0.6690-zero-bidi.patch
|
||||
|
||||
# Upstream Makefile sucks
|
||||
sed -i -e "/^PREFIX=/s:${EPREFIX}/usr/local:${EPREFIX}/usr:" \
|
||||
-e "/^DOC_PATH=/s:packages/smplayer:${PF}:" \
|
||||
-e '/\.\/get_svn_revision\.sh/,+2c\
|
||||
cd src && $(DEFS) $(MAKE)' \
|
||||
"${S}"/Makefile || die "sed failed"
|
||||
|
||||
# Toggle autoshutdown option which pulls in dbus, bug #524392
|
||||
if ! use autoshutdown ; then
|
||||
sed -e 's:DEFINES += AUTO_SHUTDOWN_PC:#DEFINES += AUTO_SHUTDOWN_PC:' \
|
||||
-i "${S}"/src/smplayer.pro || die "sed failed"
|
||||
fi
|
||||
|
||||
# Turn debug message flooding off
|
||||
if ! use debug ; then
|
||||
sed -i 's:#\(DEFINES += NO_DEBUG_ON_CONSOLE\):\1:' \
|
||||
"${S}"/src/smplayer.pro || die "sed failed"
|
||||
fi
|
||||
|
||||
# Turn off online update checker, bug #479902
|
||||
sed -e 's:DEFINES += UPDATE_CHECKER:#DEFINES += UPDATE_CHECKER:' \
|
||||
-e 's:DEFINES += CHECK_UPGRADED:#DEFINES += CHECK_UPGRADED:' \
|
||||
-i "${S}"/src/smplayer.pro || die "sed failed"
|
||||
|
||||
# Turn off youtube support (which pulls in extra dependencies) if unwanted
|
||||
if ! use streaming ; then
|
||||
sed -e 's:DEFINES += YOUTUBE_SUPPORT:#DEFINES += YOUTUBE_SUPPORT:' \
|
||||
-i "${S}"/src/smplayer.pro || die "sed failed"
|
||||
fi
|
||||
|
||||
l10n_find_plocales_changes "${S}/src/translations" "${PN}_" '.ts'
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cd "${S}"/src
|
||||
echo "#define SVN_REVISION \"${PV} (Gentoo)\"" > svn_revision.h
|
||||
use qt4 && eqmake4
|
||||
use qt5 && eqmake5
|
||||
}
|
||||
|
||||
gen_translation() {
|
||||
local mydir
|
||||
if use qt4; then
|
||||
mydir="$(qt4_get_bindir)"
|
||||
elif use qt5; then
|
||||
mydir="$(qt5_get_bindir)"
|
||||
fi
|
||||
ebegin "Generating $1 translation"
|
||||
"${mydir}"/lrelease ${PN}_${1}.ts
|
||||
eend $? || die "failed to generate $1 translation"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
cd "${S}"/src/translations
|
||||
l10n_for_each_locale_do gen_translation
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# remove unneeded copies of licenses
|
||||
rm Copying* docs/{cs,en,hu,it,ja,pt,ru,zh_CN}/gpl.html || die
|
||||
rm -r docs/{de,es,fr,nl,ro} || die
|
||||
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
@ -1 +1 @@
|
||||
Tue, 16 Jun 2015 06:07:15 +0000
|
||||
Tue, 16 Jun 2015 20:37:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
Tue, 16 Jun 2015 06:07:16 +0000
|
||||
Tue, 16 Jun 2015 20:37:01 +0000
|
||||
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile install prepare test
|
||||
DEPEND=kde? ( x11-libs/wxGTK:2.8[X,-odbc] kde-base/kdelibs ) wxwidgets? ( x11-libs/wxGTK:2.8[X,-odbc] ) amd64? ( dev-lang/yasm ) x86? ( dev-lang/nasm )
|
||||
DESCRIPTION=Port of 7-Zip archiver for Unix
|
||||
EAPI=4
|
||||
HOMEPAGE=http://p7zip.sourceforge.net/
|
||||
IUSE=doc kde rar +pch static wxwidgets
|
||||
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:2.8[X,-odbc] kde-base/kdelibs ) wxwidgets? ( x11-libs/wxGTK:2.8[X,-odbc] )
|
||||
REQUIRED_USE=kde? ( wxwidgets )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/p7zip/p7zip_9.20.1_src_all.tar.bz2
|
||||
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de multilib 62927b3db3a589b0806255f3a002d5d3 toolchain-funcs 42408102d713fbad60ca21349865edb4 wxwidgets 6d6eec2685256d35511e7b6d5461bec9
|
||||
_md5_=084812b075b4560cf12a7227518608a5
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue