parent
919ee03157
commit
2a232a167a
@ -0,0 +1,11 @@
|
|||||||
|
--- a/scripts/Dpkg/Compression.pm
|
||||||
|
+++ b/scripts/Dpkg/Compression.pm
|
||||||
|
@@ -52,7 +52,7 @@
|
||||||
|
my $COMP = {
|
||||||
|
"gzip" => {
|
||||||
|
"file_ext" => "gz",
|
||||||
|
- "comp_prog" => [ "gzip", "--no-name", "--rsyncable" ],
|
||||||
|
+ "comp_prog" => [ "gzip", "--no-name"],
|
||||||
|
"decomp_prog" => [ "gunzip" ],
|
||||||
|
"default_level" => 9,
|
||||||
|
},
|
@ -1 +1,2 @@
|
|||||||
DIST scrub-2.4.1.tar.gz 166710 RMD160 cc0b4dd395c696a1609ef9808fdc48ff9ef494ae SHA1 1f980c22baf0514cfe375272a39b812dfbc71e8c SHA256 45089668b8116c3b81ab9621c1f4b7a2773b5695ceabfa4a03603fac17cdf43b
|
DIST scrub-2.4.1.tar.gz 166710 RMD160 cc0b4dd395c696a1609ef9808fdc48ff9ef494ae SHA1 1f980c22baf0514cfe375272a39b812dfbc71e8c SHA256 45089668b8116c3b81ab9621c1f4b7a2773b5695ceabfa4a03603fac17cdf43b
|
||||||
|
DIST scrub-2.5.1.tar.gz 173072 RMD160 d180669e7f8b381c6018413d74f4808fb6fad4ae SHA1 fcba79b41e84d01882cf8533dfbc55cc91bd6bea SHA256 2c4312465d7daa1d6b2f256811794cdad8de994dd0628c031addba80c36dd199
|
||||||
|
@ -0,0 +1,17 @@
|
|||||||
|
# Copyright 1999-2012 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-misc/scrub/scrub-2.5.1.ebuild,v 1.1 2012/06/12 15:22:23 dev-zero Exp $
|
||||||
|
|
||||||
|
EAPI="4"
|
||||||
|
|
||||||
|
DESCRIPTION="write patterns on disk/file"
|
||||||
|
HOMEPAGE="http://code.google.com/p/diskscrub/"
|
||||||
|
SRC_URI="http://diskscrub.googlecode.com/files/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~sparc ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND=""
|
@ -1,51 +0,0 @@
|
|||||||
# Copyright 1999-2010 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/autojump/autojump-14.ebuild,v 1.1 2010/12/22 23:47:00 xmw Exp $
|
|
||||||
|
|
||||||
EAPI=3
|
|
||||||
|
|
||||||
PYTHON_DEPEND="*"
|
|
||||||
|
|
||||||
inherit python
|
|
||||||
|
|
||||||
DESCRIPTION="change directory command that learns"
|
|
||||||
HOMEPAGE="http://github.com/joelthelion/autojump"
|
|
||||||
MY_P=${PN}_v${PV}
|
|
||||||
SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="bash-completion gtk zsh-completion"
|
|
||||||
|
|
||||||
RDEPEND="gtk? ( dev-python/pygtk:2 )
|
|
||||||
bash-completion? ( >=app-shells/bash-4 )
|
|
||||||
zsh-completion? ( app-shells/zsh app-shells/zsh-completion )"
|
|
||||||
|
|
||||||
S=${WORKDIR}/${MY_P}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin autojump || die
|
|
||||||
|
|
||||||
if use gtk ; then
|
|
||||||
dobin jumpapplet || die
|
|
||||||
insinto /usr/share/${PN}
|
|
||||||
doins icon.png || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
insinto /etc/profile.d
|
|
||||||
doins ${PN}.sh || die
|
|
||||||
|
|
||||||
if use bash-completion ; then
|
|
||||||
doins ${PN}.bash || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use zsh-completion ; then
|
|
||||||
doins ${PN}.zsh || die
|
|
||||||
insinto /usr/share/zsh/site-functions
|
|
||||||
doins _j || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
doman ${PN}.1 || die
|
|
||||||
dodoc README.rst || die
|
|
||||||
}
|
|
@ -0,0 +1,157 @@
|
|||||||
|
# Copyright 1999-2012 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.7.13.ebuild,v 1.1 2012/06/12 15:26:38 floppym Exp $
|
||||||
|
|
||||||
|
EAPI="4"
|
||||||
|
|
||||||
|
inherit autotools eutils flag-o-matic multilib versionator
|
||||||
|
|
||||||
|
SRC_PV="$(printf "%u%02u%02u%02u" $(get_version_components))"
|
||||||
|
# DOC_PV="$(printf "%u%02u%02u00" $(get_version_components $(get_version_component_range 1-3)))"
|
||||||
|
DOC_PV="${SRC_PV}"
|
||||||
|
|
||||||
|
DESCRIPTION="A SQL Database Engine in a C Library"
|
||||||
|
HOMEPAGE="http://sqlite.org/"
|
||||||
|
SRC_URI="doc? ( http://sqlite.org/${PN}-doc-${DOC_PV}.zip )
|
||||||
|
tcl? ( http://sqlite.org/${PN}-src-${SRC_PV}.zip )
|
||||||
|
!tcl? (
|
||||||
|
test? ( http://sqlite.org/${PN}-src-${SRC_PV}.zip )
|
||||||
|
!test? ( http://sqlite.org/${PN}-autoconf-${SRC_PV}.tar.gz )
|
||||||
|
)"
|
||||||
|
|
||||||
|
LICENSE="as-is"
|
||||||
|
SLOT="3"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
IUSE="debug doc +extensions +fts3 icu +readline secure-delete soundex tcl test +threadsafe unlock-notify"
|
||||||
|
|
||||||
|
RDEPEND="icu? ( dev-libs/icu )
|
||||||
|
readline? ( sys-libs/readline )
|
||||||
|
tcl? ( dev-lang/tcl )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
doc? ( app-arch/unzip )
|
||||||
|
tcl? ( app-arch/unzip )
|
||||||
|
test? (
|
||||||
|
app-arch/unzip
|
||||||
|
dev-lang/tcl
|
||||||
|
)"
|
||||||
|
|
||||||
|
amalgamation() {
|
||||||
|
use !tcl && use !test
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
if amalgamation; then
|
||||||
|
S="${WORKDIR}/${PN}-autoconf-${SRC_PV}"
|
||||||
|
else
|
||||||
|
S="${WORKDIR}/${PN}-src-${SRC_PV}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# At least ppc-aix, x86-interix and *-solaris need newer libtool.
|
||||||
|
use prefix && eautoreconf
|
||||||
|
|
||||||
|
epunt_cxx
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# `configure` from amalgamation tarball doesn't add -DSQLITE_DEBUG or -DNDEBUG flag.
|
||||||
|
if amalgamation; then
|
||||||
|
if use debug; then
|
||||||
|
append-cppflags -DSQLITE_DEBUG
|
||||||
|
else
|
||||||
|
append-cppflags -DNDEBUG
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Support column metadata, bug #266651
|
||||||
|
append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA
|
||||||
|
|
||||||
|
# Support R-trees, bug #257646
|
||||||
|
append-cppflags -DSQLITE_ENABLE_RTREE
|
||||||
|
|
||||||
|
if use icu; then
|
||||||
|
append-cppflags -DSQLITE_ENABLE_ICU
|
||||||
|
if amalgamation; then
|
||||||
|
sed -e "s/LIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed"
|
||||||
|
else
|
||||||
|
sed -e "s/TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Support FTS3, bug #207701
|
||||||
|
if use fts3; then
|
||||||
|
append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Enable secure_delete pragma by default
|
||||||
|
if use secure-delete; then
|
||||||
|
append-cppflags -DSQLITE_SECURE_DELETE -DSQLITE_CHECK_PAGES -DSQLITE_CORE
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Support soundex, bug #143794
|
||||||
|
if use soundex; then
|
||||||
|
append-cppflags -DSQLITE_SOUNDEX
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Enable unlock notification
|
||||||
|
if use unlock-notify; then
|
||||||
|
append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY
|
||||||
|
fi
|
||||||
|
|
||||||
|
local extensions_option
|
||||||
|
if amalgamation; then
|
||||||
|
extensions_option="dynamic-extensions"
|
||||||
|
else
|
||||||
|
extensions_option="load-extension"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Starting from 3.6.23, SQLite has locking strategies that are specific to
|
||||||
|
# OSX. By default they are enabled, and use semantics that only make sense
|
||||||
|
# on OSX. However, they require gethostuuid() function for that, which is
|
||||||
|
# only available on OSX starting from 10.6 (Snow Leopard). For earlier
|
||||||
|
# versions of OSX we have to disable all this nifty locking options, as
|
||||||
|
# suggested by upstream.
|
||||||
|
if [[ "${CHOST}" == *-darwin[56789] ]]; then
|
||||||
|
append-cppflags -DSQLITE_ENABLE_LOCKING_STYLE="0"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "${CHOST}" == *-mint* ]]; then
|
||||||
|
append-cppflags -DSQLITE_OMIT_WAL
|
||||||
|
fi
|
||||||
|
|
||||||
|
# `configure` from amalgamation tarball doesn't support
|
||||||
|
# --with-readline-inc and --(enable|disable)-tcl options.
|
||||||
|
econf \
|
||||||
|
--disable-static \
|
||||||
|
$(use_enable extensions ${extensions_option}) \
|
||||||
|
$(use_enable readline) \
|
||||||
|
$(use_enable threadsafe) \
|
||||||
|
$(amalgamation || echo --with-readline-inc="-I${EPREFIX}/usr/include/readline") \
|
||||||
|
$(amalgamation || use_enable debug) \
|
||||||
|
$(amalgamation || echo --enable-tcl)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
if [[ "${EUID}" -eq 0 ]]; then
|
||||||
|
ewarn "Skipping tests due to root permissions"
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
emake $(use debug && echo fulltest || echo test)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install
|
||||||
|
find "${ED}" -name "*.la" -exec rm -f {} +
|
||||||
|
|
||||||
|
doman sqlite3.1
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
dohtml -r "${WORKDIR}/${PN}-doc-${DOC_PV}/"*
|
||||||
|
fi
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
DIST ogre-v1-6-5.tar.bz2 41785065 RMD160 4d40f9c2b36ec7d587a47114c7951f43f4a5bdbe SHA1 7068578be47f9207882b01790213f7ae8ad6304c SHA256 7fc0e948679c1c1f10751756d267a41d0e3395a6520a23f7853a0ae39a1281f5
|
DIST ogre-v1-6-5.tar.bz2 41785065 RMD160 4d40f9c2b36ec7d587a47114c7951f43f4a5bdbe SHA1 7068578be47f9207882b01790213f7ae8ad6304c SHA256 7fc0e948679c1c1f10751756d267a41d0e3395a6520a23f7853a0ae39a1281f5
|
||||||
DIST ogre_src_v1-7-4.tar.bz2 67391570 RMD160 4259b45dc4b3c4f930053e0de5e4366eaf113840 SHA1 e989b96eacc2c66f8cf8a19dae6cfd962a165207 SHA256 afa475803d9e6980ddf3641dceaa53fcfbd348506ed67893c306766c166a4882
|
DIST ogre_src_v1-7-4.tar.bz2 67391570 RMD160 4259b45dc4b3c4f930053e0de5e4366eaf113840 SHA1 e989b96eacc2c66f8cf8a19dae6cfd962a165207 SHA256 afa475803d9e6980ddf3641dceaa53fcfbd348506ed67893c306766c166a4882
|
||||||
|
DIST ogre_src_v1-8-0.tar.bz2 88682669 RMD160 0eaa5e6bd631b34326a0e49b351dbeece92aa9ab SHA1 0fa7afd1bd7915f33df0a7f96a0f55c2b01297ec SHA256 2f59de73b0717c5d2084285f2594a045a9240a8a53e5b38203419c4e715c8ba6
|
||||||
|
@ -0,0 +1,21 @@
|
|||||||
|
From: Julian Ospald <hasufell@gentoo.org>
|
||||||
|
Date: Wed May 30 13:45:46 UTC 2012
|
||||||
|
Subject: build system
|
||||||
|
|
||||||
|
remove pre-set flags
|
||||||
|
|
||||||
|
--- CMakeLists.txt
|
||||||
|
+++ CMakeLists.txt
|
||||||
|
@@ -97,12 +97,6 @@
|
||||||
|
if (OGRE_GCC_HAS_SSE)
|
||||||
|
add_definitions(-msse)
|
||||||
|
endif ()
|
||||||
|
- # This is a set of sensible warnings that provide meaningful output
|
||||||
|
- set(OGRE_WARNING_FLAGS "-Wno-deprecated -Wall -Wctor-dtor-privacy -Winit-self -Wno-overloaded-virtual -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -pedantic -Wshadow -Wno-missing-field-initializers -Wno-long-long")
|
||||||
|
- if (NOT APPLE)
|
||||||
|
- set(OGRE_WARNING_FLAGS "${OGRE_WARNING_FLAGS} -Wno-unused-but-set-parameter")
|
||||||
|
- endif ()
|
||||||
|
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OGRE_WARNING_FLAGS}")
|
||||||
|
endif ()
|
||||||
|
if (MSVC)
|
||||||
|
if (CMAKE_BUILD_TOOL STREQUAL "nmake")
|
@ -0,0 +1,77 @@
|
|||||||
|
http://www.ogre3d.org/mantis/view.php?id=425
|
||||||
|
|
||||||
|
--- ogre_src_v1-7-4/OgreMain/include/OgreAtomicWrappers.h
|
||||||
|
+++ ogre_src_v1-7-4/OgreMain/include/OgreAtomicWrappers.h
|
||||||
|
@@ -31,6 +31,7 @@
|
||||||
|
#include <signal.h>
|
||||||
|
#include "OgrePrerequisites.h"
|
||||||
|
#include "OgreException.h"
|
||||||
|
+#include "Threading/OgreThreadHeaders.h"
|
||||||
|
|
||||||
|
namespace Ogre {
|
||||||
|
|
||||||
|
--- ogre_src_v1-7-4/OgreMain/include/OgreCommon.h
|
||||||
|
+++ ogre_src_v1-7-4/OgreMain/include/OgreCommon.h
|
||||||
|
@@ -42,6 +42,8 @@
|
||||||
|
# pragma GCC visibility pop
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#include "Threading/OgreThreadHeaders.h"
|
||||||
|
+
|
||||||
|
namespace Ogre {
|
||||||
|
/** \addtogroup Core
|
||||||
|
* @{
|
||||||
|
--- ogre_src_v1-7-4/OgreMain/include/OgreConvexBody.h
|
||||||
|
+++ ogre_src_v1-7-4/OgreMain/include/OgreConvexBody.h
|
||||||
|
@@ -31,6 +31,7 @@
|
||||||
|
|
||||||
|
#include "OgrePrerequisites.h"
|
||||||
|
#include "OgrePolygon.h"
|
||||||
|
+#include "Threading/OgreThreadHeaders.h"
|
||||||
|
|
||||||
|
|
||||||
|
namespace Ogre
|
||||||
|
@@ -58,9 +59,7 @@
|
||||||
|
|
||||||
|
// Static 'free list' of polygons to save reallocation, shared between all bodies
|
||||||
|
static PolygonList msFreePolygons;
|
||||||
|
-#if OGRE_THREAD_SUPPORT
|
||||||
|
OGRE_STATIC_MUTEX(msFreePolygonsMutex)
|
||||||
|
-#endif
|
||||||
|
|
||||||
|
public:
|
||||||
|
ConvexBody();
|
||||||
|
--- ogre_src_v1-7-4/OgreMain/include/OgreLog.h
|
||||||
|
+++ ogre_src_v1-7-4/OgreMain/include/OgreLog.h
|
||||||
|
@@ -32,6 +32,8 @@
|
||||||
|
#include "OgrePrerequisites.h"
|
||||||
|
#include "OgreString.h"
|
||||||
|
|
||||||
|
+#include "Threading/OgreThreadHeaders.h"
|
||||||
|
+
|
||||||
|
namespace Ogre {
|
||||||
|
|
||||||
|
/** \addtogroup Core
|
||||||
|
--- ogre_src_v1-7-4/OgreMain/include/OgreSharedPtr.h
|
||||||
|
+++ ogre_src_v1-7-4/OgreMain/include/OgreSharedPtr.h
|
||||||
|
@@ -30,6 +30,8 @@
|
||||||
|
|
||||||
|
#include "OgrePrerequisites.h"
|
||||||
|
|
||||||
|
+#include "Threading/OgreThreadHeaders.h"
|
||||||
|
+
|
||||||
|
namespace Ogre {
|
||||||
|
/** \addtogroup Core
|
||||||
|
* @{
|
||||||
|
--- ogre_src_v1-7-4/OgreMain/src/OgreConvexBody.cpp
|
||||||
|
+++ ogre_src_v1-7-4/OgreMain/src/OgreConvexBody.cpp
|
||||||
|
@@ -44,9 +44,7 @@
|
||||||
|
// Statics
|
||||||
|
//-----------------------------------------------------------------------
|
||||||
|
ConvexBody::PolygonList ConvexBody::msFreePolygons;
|
||||||
|
-#if OGRE_THREAD_SUPPORT
|
||||||
|
OGRE_STATIC_MUTEX_INSTANCE(ConvexBody::msFreePolygonsMutex)
|
||||||
|
-#endif
|
||||||
|
//-----------------------------------------------------------------------
|
||||||
|
void ConvexBody::_initialisePool()
|
||||||
|
{
|
@ -0,0 +1,88 @@
|
|||||||
|
# Copyright 1999-2012 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ogre-1.8.0.ebuild,v 1.3 2012/06/13 01:52:54 mr_bones_ Exp $
|
||||||
|
|
||||||
|
EAPI=4
|
||||||
|
inherit eutils cmake-utils
|
||||||
|
|
||||||
|
MY_PV=${PV//./-}
|
||||||
|
DESCRIPTION="Object-oriented Graphics Rendering Engine"
|
||||||
|
HOMEPAGE="http://www.ogre3d.org/"
|
||||||
|
SRC_URI="mirror://sourceforge/${PN}/${PN}_src_v${MY_PV}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="+boost cg doc double-precision examples +freeimage gles2 ois +opengl poco profile tbb test threads tools +zip"
|
||||||
|
REQUIRED_USE="threads? ( || ( boost poco tbb ) )"
|
||||||
|
RESTRICT="test" #139905
|
||||||
|
|
||||||
|
RDEPEND="media-libs/freetype:2
|
||||||
|
virtual/opengl
|
||||||
|
virtual/glu
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libXaw
|
||||||
|
x11-libs/libXrandr
|
||||||
|
x11-libs/libXt
|
||||||
|
boost? ( dev-libs/boost )
|
||||||
|
cg? ( media-gfx/nvidia-cg-toolkit )
|
||||||
|
freeimage? ( media-libs/freeimage )
|
||||||
|
gles2? ( || ( <media-libs/mesa-8.0.0[gles] >=media-libs/mesa-8.0.0[gles2] ) )
|
||||||
|
ois? ( dev-games/ois )
|
||||||
|
threads? (
|
||||||
|
poco? ( dev-libs/poco )
|
||||||
|
tbb? ( dev-cpp/tbb )
|
||||||
|
)
|
||||||
|
zip? ( sys-libs/zlib dev-libs/zziplib )"
|
||||||
|
# gles1 currently broken wrt bug #418201
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
x11-proto/xf86vidmodeproto
|
||||||
|
virtual/pkgconfig
|
||||||
|
doc? ( app-doc/doxygen )
|
||||||
|
test? ( dev-util/cppunit )"
|
||||||
|
|
||||||
|
S=${WORKDIR}/${PN}_src_v${MY_PV}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
epatch \
|
||||||
|
"${FILESDIR}"/${P}-threading.patch \
|
||||||
|
"${FILESDIR}"/${P}-flags.patch
|
||||||
|
sed -i \
|
||||||
|
-e "s:share/OGRE/docs:share/doc/${PF}:" \
|
||||||
|
Docs/CMakeLists.txt || die
|
||||||
|
# Stupid build system hardcodes release names
|
||||||
|
sed -i \
|
||||||
|
-e '/CONFIGURATIONS/s:CONFIGURATIONS.*::' \
|
||||||
|
CMake/Utils/OgreConfigTargets.cmake || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DOGRE_FULL_RPATH=NO
|
||||||
|
$(cmake-utils_use boost OGRE_USE_BOOST)
|
||||||
|
$(cmake-utils_use cg OGRE_BUILD_PLUGIN_CG)
|
||||||
|
$(cmake-utils_use doc OGRE_INSTALL_DOCS)
|
||||||
|
$(cmake-utils_use double-precision OGRE_CONFIG_DOUBLE)
|
||||||
|
$(cmake-utils_use examples OGRE_INSTALL_SAMPLES)
|
||||||
|
$(cmake-utils_use freeimage OGRE_CONFIG_ENABLE_FREEIMAGE)
|
||||||
|
$(cmake-utils_use opengl OGRE_BUILD_RENDERSYSTEM_GL)
|
||||||
|
-DOGRE_BUILD_RENDERSYSTEM_GLES=OFF
|
||||||
|
$(cmake-utils_use gles2 OGRE_BUILD_RENDERSYSTEM_GLES2)
|
||||||
|
$(cmake-utils_use profile OGRE_PROFILING)
|
||||||
|
$(cmake-utils_use test OGRE_BUILD_TESTS)
|
||||||
|
$(usex threads "-DOGRE_CONFIG_THREADS=2" "-DOGRE_CONFIG_THREADS=0")
|
||||||
|
$(cmake-utils_use tools OGRE_BUILD_TOOLS)
|
||||||
|
$(cmake-utils_use zip OGRE_CONFIG_ENABLE_ZIP)
|
||||||
|
)
|
||||||
|
|
||||||
|
if use threads ; then
|
||||||
|
local f
|
||||||
|
for f in boost poco tbb ; do
|
||||||
|
use ${f} || continue
|
||||||
|
mycmakeargs+=( -DOGRE_CONFIG_THREAD_PROVIDER=${f} )
|
||||||
|
break
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
cmake-utils_src_configure
|
||||||
|
}
|
@ -1,10 +1,4 @@
|
|||||||
DIST apache-maven-2.0.10-bin.tar.bz2 2104924 RMD160 e2b292fc981298a8a3fc5d08caf390e3f484026b SHA1 d70a18bc119f60954fcf514312fe048d70996c7e SHA256 a3f62f0f3766a0b8279d650dcc47486bed54d9d0459c96d5caa60359e1f15721
|
|
||||||
DIST apache-maven-2.0.11-bin.tar.bz2 2104711 RMD160 f74e8421518a38f300982ecd404f99376c007e53 SHA1 a4f36630522f45566ea0220776de20d5ddff69ce SHA256 f8e91b43def9b78d01f0ad8374644aa737365144dea04a97f9503ac0011ad39c
|
DIST apache-maven-2.0.11-bin.tar.bz2 2104711 RMD160 f74e8421518a38f300982ecd404f99376c007e53 SHA1 a4f36630522f45566ea0220776de20d5ddff69ce SHA256 f8e91b43def9b78d01f0ad8374644aa737365144dea04a97f9503ac0011ad39c
|
||||||
DIST apache-maven-2.1.0-bin.tar.bz2 2903842 RMD160 fde285896606d8a380ad07656a6401f6d66b4f6b SHA1 7b18c2968b3c4e0c32aceb3203b776572c161fd3 SHA256 2accbe9358765973ce68f4cc11a9bc8de0358e72164647ac4c2041a83e0cde1b
|
|
||||||
DIST apache-maven-2.2.1-bin.tar.bz2 2839688 RMD160 25d523d3dc86cf4695b0e343cf0f6e58ea8a54e3 SHA1 47ac0417a200cbc6d1b967d6b7c6ae1138e9e3e0 SHA256 a8d819f78bec0505f5773962fc50117f0c5db4a69c7207d0c27cabffc950939f
|
DIST apache-maven-2.2.1-bin.tar.bz2 2839688 RMD160 25d523d3dc86cf4695b0e343cf0f6e58ea8a54e3 SHA1 47ac0417a200cbc6d1b967d6b7c6ae1138e9e3e0 SHA256 a8d819f78bec0505f5773962fc50117f0c5db4a69c7207d0c27cabffc950939f
|
||||||
DIST apache-maven-3.0-bin.tar.gz 2899256 RMD160 eacd100b1ac8291d0ae32a5e10914596d1d9de77 SHA1 996f29b5a19e8145cb00926c68a0200dac554205 SHA256 046a0c7661ca85ac6cef6ac6c7cc2175b77bc5ee915e30897afba6c38fdb27a2
|
|
||||||
DIST apache-maven-3.0.2-bin.tar.gz 2968629 RMD160 26214da3e72cd8b9ea0fea0bb81e740b94ae0463 SHA1 eedd18952c373824c32b2fa891569bdf3776f650 SHA256 c7a70e37cbd564a6025288e381e6ad56e20ae2fa537b2eddf3b9e3bc644b0814
|
|
||||||
DIST apache-maven-3.0.3-bin.tar.gz 3054807 RMD160 f222733f32badab75c11e0ed3fbca2e594de7328 SHA1 cfd1f5ef8ebb2f09a9446159842cf7cfa1a3ccd6 SHA256 b845479bd5d6d821210d3530c65da628a118abedd176492741e1d9bc5e400e2a
|
|
||||||
DIST apache-maven-3.0.4-bin.tar.gz 4873043 RMD160 c55335fb5c10380db64e6b56ee26cd6f42307a72 SHA1 0de5dc162bafde3fcb0a6b009cfeea81a042523b SHA256 d35a876034c08cb7e20ea2fbcf168bcad4dff5801abad82d48055517513faa2f
|
DIST apache-maven-3.0.4-bin.tar.gz 4873043 RMD160 c55335fb5c10380db64e6b56ee26cd6f42307a72 SHA1 0de5dc162bafde3fcb0a6b009cfeea81a042523b SHA256 d35a876034c08cb7e20ea2fbcf168bcad4dff5801abad82d48055517513faa2f
|
||||||
DIST maven-1.0.2.tar.gz 6060686 RMD160 3d94fad30086f462eb3dd238803d274346ef9e2f SHA1 2978ffff5526dad371b560acb052cc78b6a2cb6b SHA256 8895c3bc0cce94e03aede40322e7485c8c458ad88f377d8170986c18e8f34c83
|
|
||||||
DIST maven-1.1.tar.gz 7625074 RMD160 82ef869218ac42d9132fc74316f0e8a5edcf9431 SHA1 d9174675f0e846a225278949869fa2d979fa7f3b SHA256 6913083d2db1d32ee5e18db7280be0f8ce36224aba3595690e85054f2ad5e731
|
DIST maven-1.1.tar.gz 7625074 RMD160 82ef869218ac42d9132fc74316f0e8a5edcf9431 SHA1 d9174675f0e846a225278949869fa2d979fa7f3b SHA256 6913083d2db1d32ee5e18db7280be0f8ce36224aba3595690e85054f2ad5e731
|
||||||
|
@ -1,48 +0,0 @@
|
|||||||
# Copyright 1999-2011 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/maven-bin-1.0.2-r2.ebuild,v 1.1 2011/12/14 15:43:49 sera Exp $
|
|
||||||
|
|
||||||
EAPI="4"
|
|
||||||
|
|
||||||
MY_PN=${PN/-bin}
|
|
||||||
MY_PV=${PV/_/-}
|
|
||||||
MY_P=${MY_PN}-${MY_PV}
|
|
||||||
|
|
||||||
DESCRIPTION="Project Management and Comprehension Tool for Java"
|
|
||||||
SRC_URI="mirror://apache/maven/binaries/${MY_P}.tar.gz"
|
|
||||||
HOMEPAGE="http://maven.apache.org/"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="1.0"
|
|
||||||
KEYWORDS="~amd64 ~ppc ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND="app-admin/eselect-maven"
|
|
||||||
RDEPEND=">=virtual/jdk-1.5
|
|
||||||
${DEPEND}"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
MAVEN=${PN}-${SLOT}
|
|
||||||
MAVEN_HOME="/usr/share/${MAVEN}"
|
|
||||||
MAVEN_BIN="${MAVEN_HOME}/bin"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dodir ${MAVEN_HOME}
|
|
||||||
insinto ${MAVEN_HOME}
|
|
||||||
doins -r bin lib *.xsd plugins
|
|
||||||
|
|
||||||
dodir ${MAVEN_BIN}
|
|
||||||
exeinto ${MAVEN_BIN}
|
|
||||||
doexe "${FILESDIR}/${MY_PN}"
|
|
||||||
|
|
||||||
dodir /usr/bin
|
|
||||||
dosym ${MAVEN_BIN}/${MY_PN} /usr/bin/mvn-${SLOT}
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
eselect maven update mvn-${SLOT}
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
eselect maven update
|
|
||||||
}
|
|
@ -1,43 +0,0 @@
|
|||||||
# Copyright 1999-2009 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/maven-bin-2.0.10.ebuild,v 1.3 2009/04/27 00:03:10 ranger Exp $
|
|
||||||
|
|
||||||
inherit java-pkg-2
|
|
||||||
|
|
||||||
MY_PN=apache-${PN%%-bin}
|
|
||||||
MY_P="${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="Project Management and Comprehension Tool for Java"
|
|
||||||
SRC_URI="mirror://apache/maven/binaries/${MY_P}-bin.tar.bz2"
|
|
||||||
HOMEPAGE="http://maven.apache.org/"
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="2.0"
|
|
||||||
KEYWORDS="amd64 ppc x86"
|
|
||||||
|
|
||||||
RDEPEND=">=virtual/jdk-1.4"
|
|
||||||
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
MAVEN=${PN}-${SLOT}
|
|
||||||
MAVEN_SHARE="/usr/share/${MAVEN}"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
|
|
||||||
rm -v "${S}"/bin/*.bat || die
|
|
||||||
}
|
|
||||||
|
|
||||||
# TODO we should use jars from packages, instead of what is bundled
|
|
||||||
src_install() {
|
|
||||||
dodir "${MAVEN_SHARE}"
|
|
||||||
cp -Rp bin boot conf lib "${D}/${MAVEN_SHARE}" || die "failed to copy"
|
|
||||||
|
|
||||||
java-pkg_regjar "${D}/${MAVEN_SHARE}"/lib/*.jar
|
|
||||||
|
|
||||||
dodoc NOTICE.txt README.txt || die
|
|
||||||
|
|
||||||
dodir /usr/bin
|
|
||||||
dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn
|
|
||||||
}
|
|
@ -1,59 +0,0 @@
|
|||||||
# Copyright 1999-2011 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/maven-bin-2.1.0-r1.ebuild,v 1.1 2011/12/14 15:43:49 sera Exp $
|
|
||||||
|
|
||||||
EAPI="4"
|
|
||||||
|
|
||||||
inherit java-pkg-2
|
|
||||||
|
|
||||||
MY_PN=apache-${PN%%-bin}
|
|
||||||
MY_P="${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="Project Management and Comprehension Tool for Java"
|
|
||||||
SRC_URI="mirror://apache/maven/binaries/${MY_P}-bin.tar.bz2"
|
|
||||||
HOMEPAGE="http://maven.apache.org/"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="2.1"
|
|
||||||
KEYWORDS="~amd64 ~ppc ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND="app-admin/eselect-maven"
|
|
||||||
RDEPEND=">=virtual/jdk-1.4
|
|
||||||
${DEPEND}"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
MAVEN=${PN}-${SLOT}
|
|
||||||
MAVEN_SHARE="/usr/share/${MAVEN}"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
|
|
||||||
rm -v "${S}"/bin/*.bat || die
|
|
||||||
}
|
|
||||||
|
|
||||||
# TODO we should use jars from packages, instead of what is bundled
|
|
||||||
src_install() {
|
|
||||||
dodir "${MAVEN_SHARE}"
|
|
||||||
cp -Rp bin boot conf lib "${ED}/${MAVEN_SHARE}" || die "failed to copy"
|
|
||||||
|
|
||||||
java-pkg_regjar "${ED}/${MAVEN_SHARE}"/lib/*.jar
|
|
||||||
|
|
||||||
dodoc NOTICE.txt README.txt
|
|
||||||
|
|
||||||
dodir /usr/bin
|
|
||||||
dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn-${SLOT}
|
|
||||||
|
|
||||||
# bug #342901
|
|
||||||
echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die
|
|
||||||
doenvd "${T}/25${MAVEN}"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
eselect maven update mvn-${SLOT}
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
eselect maven update
|
|
||||||
}
|
|
@ -1,48 +0,0 @@
|
|||||||
# Copyright 1999-2011 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/maven-bin-2.1.0.ebuild,v 1.6 2011/07/18 07:33:22 xarthisius Exp $
|
|
||||||
|
|
||||||
inherit java-pkg-2
|
|
||||||
|
|
||||||
MY_PN=apache-${PN%%-bin}
|
|
||||||
MY_P="${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="Project Management and Comprehension Tool for Java"
|
|
||||||
SRC_URI="mirror://apache/maven/binaries/${MY_P}-bin.tar.bz2"
|
|
||||||
HOMEPAGE="http://maven.apache.org/"
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="2.1"
|
|
||||||
KEYWORDS="amd64 ppc x86"
|
|
||||||
|
|
||||||
RDEPEND=">=virtual/jdk-1.4
|
|
||||||
app-admin/eselect-maven"
|
|
||||||
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
MAVEN=${PN}-${SLOT}
|
|
||||||
MAVEN_SHARE="/usr/share/${MAVEN}"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
|
|
||||||
rm -v "${S}"/bin/*.bat || die
|
|
||||||
}
|
|
||||||
|
|
||||||
# TODO we should use jars from packages, instead of what is bundled
|
|
||||||
src_install() {
|
|
||||||
dodir "${MAVEN_SHARE}"
|
|
||||||
cp -Rp bin boot conf lib "${D}/${MAVEN_SHARE}" || die "failed to copy"
|
|
||||||
|
|
||||||
java-pkg_regjar "${D}/${MAVEN_SHARE}"/lib/*.jar
|
|
||||||
|
|
||||||
dodoc NOTICE.txt README.txt || die
|
|
||||||
|
|
||||||
dodir /usr/bin
|
|
||||||
dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn-${SLOT}
|
|
||||||
|
|
||||||
# bug #342901
|
|
||||||
echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die
|
|
||||||
doenvd "${T}/25${MAVEN}"
|
|
||||||
}
|
|
@ -1,49 +0,0 @@
|
|||||||
# Copyright 1999-2011 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/maven-bin-3.0.2.ebuild,v 1.1 2011/01/15 12:25:40 fordfrog Exp $
|
|
||||||
|
|
||||||
inherit java-pkg-2
|
|
||||||
|
|
||||||
MY_PN=apache-${PN%%-bin}
|
|
||||||
MY_P="${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="Project Management and Comprehension Tool for Java"
|
|
||||||
SRC_URI="mirror://apache/maven/binaries/${MY_P}-bin.tar.gz"
|
|
||||||
HOMEPAGE="http://maven.apache.org/"
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="3.0"
|
|
||||||
KEYWORDS="~amd64 ~ppc ~x86"
|
|
||||||
|
|
||||||
RDEPEND=">=virtual/jdk-1.5
|
|
||||||
app-admin/eselect-maven"
|
|
||||||
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
MAVEN=${PN}-${SLOT}
|
|
||||||
MAVEN_SHARE="/usr/share/${MAVEN}"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
|
|
||||||
rm -v "${S}"/bin/*.bat || die
|
|
||||||
chmod 644 "${S}"/boot/*.jar "${S}"/lib/*.jar "${S}"/conf/settings.xml || die
|
|
||||||
}
|
|
||||||
|
|
||||||
# TODO we should use jars from packages, instead of what is bundled
|
|
||||||
src_install() {
|
|
||||||
dodir "${MAVEN_SHARE}"
|
|
||||||
cp -Rp bin boot conf lib "${D}/${MAVEN_SHARE}" || die "failed to copy"
|
|
||||||
|
|
||||||
java-pkg_regjar "${D}/${MAVEN_SHARE}"/lib/*.jar
|
|
||||||
|
|
||||||
dodoc NOTICE.txt README.txt || die
|
|
||||||
|
|
||||||
dodir /usr/bin
|
|
||||||
dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn-${SLOT}
|
|
||||||
|
|
||||||
# bug #342901
|
|
||||||
echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die
|
|
||||||
doenvd "${T}/25${MAVEN}"
|
|
||||||
}
|
|
@ -1,60 +0,0 @@
|
|||||||
# Copyright 1999-2011 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/maven-bin-3.0.3-r1.ebuild,v 1.1 2011/12/14 15:43:49 sera Exp $
|
|
||||||
|
|
||||||
EAPI="4"
|
|
||||||
|
|
||||||
inherit java-pkg-2
|
|
||||||
|
|
||||||
MY_PN=apache-${PN%%-bin}
|
|
||||||
MY_P="${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="Project Management and Comprehension Tool for Java"
|
|
||||||
SRC_URI="mirror://apache/maven/binaries/${MY_P}-bin.tar.gz"
|
|
||||||
HOMEPAGE="http://maven.apache.org/"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="3.0"
|
|
||||||
KEYWORDS="~amd64 ~ppc ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND="app-admin/eselect-maven"
|
|
||||||
RDEPEND=">=virtual/jdk-1.5
|
|
||||||
${DEPEND}"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
MAVEN=${PN}-${SLOT}
|
|
||||||
MAVEN_SHARE="/usr/share/${MAVEN}"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
|
|
||||||
rm -v "${S}"/bin/*.bat || die
|
|
||||||
chmod 644 "${S}"/boot/*.jar "${S}"/lib/*.jar "${S}"/conf/settings.xml || die
|
|
||||||
}
|
|
||||||
|
|
||||||
# TODO we should use jars from packages, instead of what is bundled
|
|
||||||
src_install() {
|
|
||||||
dodir "${MAVEN_SHARE}"
|
|
||||||
cp -Rp bin boot conf lib "${ED}/${MAVEN_SHARE}" || die "failed to copy"
|
|
||||||
|
|
||||||
java-pkg_regjar "${ED}/${MAVEN_SHARE}"/lib/*.jar
|
|
||||||
|
|
||||||
dodoc NOTICE.txt README.txt
|
|
||||||
|
|
||||||
dodir /usr/bin
|
|
||||||
dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn-${SLOT}
|
|
||||||
|
|
||||||
# bug #342901
|
|
||||||
echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die
|
|
||||||
doenvd "${T}/25${MAVEN}"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
eselect maven update mvn-${SLOT}
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
eselect maven update
|
|
||||||
}
|
|
@ -1,49 +0,0 @@
|
|||||||
# Copyright 1999-2011 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/maven-bin-3.0.3.ebuild,v 1.1 2011/03/10 15:27:23 fordfrog Exp $
|
|
||||||
|
|
||||||
inherit java-pkg-2
|
|
||||||
|
|
||||||
MY_PN=apache-${PN%%-bin}
|
|
||||||
MY_P="${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="Project Management and Comprehension Tool for Java"
|
|
||||||
SRC_URI="mirror://apache/maven/binaries/${MY_P}-bin.tar.gz"
|
|
||||||
HOMEPAGE="http://maven.apache.org/"
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="3.0"
|
|
||||||
KEYWORDS="~amd64 ~ppc ~x86"
|
|
||||||
|
|
||||||
RDEPEND=">=virtual/jdk-1.5
|
|
||||||
app-admin/eselect-maven"
|
|
||||||
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
MAVEN=${PN}-${SLOT}
|
|
||||||
MAVEN_SHARE="/usr/share/${MAVEN}"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
|
|
||||||
rm -v "${S}"/bin/*.bat || die
|
|
||||||
chmod 644 "${S}"/boot/*.jar "${S}"/lib/*.jar "${S}"/conf/settings.xml || die
|
|
||||||
}
|
|
||||||
|
|
||||||
# TODO we should use jars from packages, instead of what is bundled
|
|
||||||
src_install() {
|
|
||||||
dodir "${MAVEN_SHARE}"
|
|
||||||
cp -Rp bin boot conf lib "${D}/${MAVEN_SHARE}" || die "failed to copy"
|
|
||||||
|
|
||||||
java-pkg_regjar "${D}/${MAVEN_SHARE}"/lib/*.jar
|
|
||||||
|
|
||||||
dodoc NOTICE.txt README.txt || die
|
|
||||||
|
|
||||||
dodir /usr/bin
|
|
||||||
dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn-${SLOT}
|
|
||||||
|
|
||||||
# bug #342901
|
|
||||||
echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die
|
|
||||||
doenvd "${T}/25${MAVEN}"
|
|
||||||
}
|
|
@ -1,49 +0,0 @@
|
|||||||
# Copyright 1999-2010 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/maven-bin-3.0.ebuild,v 1.1 2010/10/29 18:41:24 caster Exp $
|
|
||||||
|
|
||||||
inherit java-pkg-2
|
|
||||||
|
|
||||||
MY_PN=apache-${PN%%-bin}
|
|
||||||
MY_P="${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="Project Management and Comprehension Tool for Java"
|
|
||||||
SRC_URI="mirror://apache/maven/binaries/${MY_P}-bin.tar.gz"
|
|
||||||
HOMEPAGE="http://maven.apache.org/"
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="3.0"
|
|
||||||
KEYWORDS="~amd64 ~ppc ~x86"
|
|
||||||
|
|
||||||
RDEPEND=">=virtual/jdk-1.5
|
|
||||||
app-admin/eselect-maven"
|
|
||||||
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
MAVEN=${PN}-${SLOT}
|
|
||||||
MAVEN_SHARE="/usr/share/${MAVEN}"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
|
|
||||||
rm -v "${S}"/bin/*.bat || die
|
|
||||||
chmod 644 "${S}"/boot/*.jar "${S}"/lib/*.jar "${S}"/conf/settings.xml || die
|
|
||||||
}
|
|
||||||
|
|
||||||
# TODO we should use jars from packages, instead of what is bundled
|
|
||||||
src_install() {
|
|
||||||
dodir "${MAVEN_SHARE}"
|
|
||||||
cp -Rp bin boot conf lib "${D}/${MAVEN_SHARE}" || die "failed to copy"
|
|
||||||
|
|
||||||
java-pkg_regjar "${D}/${MAVEN_SHARE}"/lib/*.jar
|
|
||||||
|
|
||||||
dodoc NOTICE.txt README.txt || die
|
|
||||||
|
|
||||||
dodir /usr/bin
|
|
||||||
dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn-${SLOT}
|
|
||||||
|
|
||||||
# bug #342901
|
|
||||||
echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die
|
|
||||||
doenvd "${T}/25${MAVEN}"
|
|
||||||
}
|
|
@ -1 +1 @@
|
|||||||
DIST userspace-rcu-0.6.7.tar.bz2 326304 RMD160 68942c264c250487d2156a2f3100a7936a6f66aa SHA1 ff77001c7063c40e28a65840584740803b34730b SHA256 b0b09aead6fbcb4d5efb4270e12f84ffd115b99b55b2c745e052b2d87a47e75f
|
DIST userspace-rcu-0.7.3.tar.bz2 385350 RMD160 96efc29d11339334adda3b8917aa74d2878d03fb SHA1 0585e06068f766c42602b32c20baf241258440ba SHA256 63f540a5d3c947fa3739711099fb87a66036d3c9560f26da763e500da296a1af
|
||||||
|
@ -1,2 +1 @@
|
|||||||
DIST camomile-0.8.3.tar.bz2 2646968 RMD160 56651ff4625dbdd9876784c1369c5a6ed6b290a6 SHA1 9f2600010820689805b5ab6e4048217ea821d535 SHA256 94c8d65d417c90301f6b3b21e4b00e151c434a3e2d406c3d5b3363859034f27b
|
|
||||||
DIST camomile-0.8.4.tar.bz2 2649800 RMD160 a3c1cba2d4e8d2597bf420ae64e93128e9c85d70 SHA1 20fc38316e19bcca2401f799afb84e05a3553e3c SHA256 ef521f96fe984e6b0118041ed68a7a165beda54d8541c248ed402b7ef693de50
|
DIST camomile-0.8.4.tar.bz2 2649800 RMD160 a3c1cba2d4e8d2597bf420ae64e93128e9c85d70 SHA1 20fc38316e19bcca2401f799afb84e05a3553e3c SHA256 ef521f96fe984e6b0118041ed68a7a165beda54d8541c248ed402b7ef693de50
|
||||||
|
@ -1,35 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/camomile/camomile-0.8.3.ebuild,v 1.3 2012/02/06 16:57:45 ranger Exp $
|
|
||||||
|
|
||||||
EAPI="2"
|
|
||||||
|
|
||||||
inherit findlib eutils
|
|
||||||
|
|
||||||
DESCRIPTION="Camomile is a comprehensive Unicode library for ocaml."
|
|
||||||
HOMEPAGE="http://camomile.sourceforge.net/"
|
|
||||||
SRC_URI="mirror://sourceforge/camomile/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ppc x86"
|
|
||||||
IUSE="debug +ocamlopt"
|
|
||||||
|
|
||||||
RDEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf $(use_enable debug)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake -j1 byte unidata unimaps charmap_data locale_data || die "failed to build"
|
|
||||||
if use ocamlopt; then
|
|
||||||
emake -j1 opt || die "failed to build native code"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dodir /usr/bin
|
|
||||||
findlib_src_install DATADIR="${D}/usr/share" BINDIR="${D}/usr/bin"
|
|
||||||
}
|
|
@ -1,2 +1 @@
|
|||||||
DIST cryptokit-1.4.tar.gz 128546 RMD160 0d80a934041bde8f462c9463cfb522739b7323a0 SHA1 2f93d0fddfdf731bff105e189ebcbbc1f5b9377c SHA256 9f2f6ad234006ab9665190f0f298d7f9da2dbb9e5e0cec4de9dfe41f22d1e92f
|
|
||||||
DIST cryptokit-1.5.tar.gz 128907 RMD160 7e1e179c3970ac8b0cdbac1ef18e9ea79de6526e SHA1 63e1ca4918186bcc7f5e7f6566c765261c4abef3 SHA256 e2483a463ea57eee99c1e9c5aed1c34885255e47f0d4d872bb2bb3a8975eb3e4
|
DIST cryptokit-1.5.tar.gz 128907 RMD160 7e1e179c3970ac8b0cdbac1ef18e9ea79de6526e SHA1 63e1ca4918186bcc7f5e7f6566c765261c4abef3 SHA256 e2483a463ea57eee99c1e9c5aed1c34885255e47f0d4d872bb2bb3a8975eb3e4
|
||||||
|
@ -1,66 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/cryptokit/cryptokit-1.4.ebuild,v 1.4 2012/03/15 18:21:08 phajdan.jr Exp $
|
|
||||||
|
|
||||||
EAPI="2"
|
|
||||||
|
|
||||||
inherit findlib multilib
|
|
||||||
|
|
||||||
DESCRIPTION="Cryptographic primitives library for Objective Caml"
|
|
||||||
HOMEPAGE="http://forge.ocamlcore.org/projects/cryptokit/"
|
|
||||||
SRC_URI="https://forge.ocamlcore.org/frs/download.php/460/${P}.tar.gz"
|
|
||||||
LICENSE="LGPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~ppc x86 ~x86-fbsd"
|
|
||||||
IUSE="debug doc +ocamlopt zlib"
|
|
||||||
|
|
||||||
DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]
|
|
||||||
zlib? ( >=sys-libs/zlib-1.1 )"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
oasis_use_enable() {
|
|
||||||
echo "--override $2 `use $1 && echo \"true\" || echo \"false\"`"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
./configure --prefix usr \
|
|
||||||
--libdir /usr/$(get_libdir) \
|
|
||||||
--destdir "${D}" \
|
|
||||||
$(use_enable zlib) \
|
|
||||||
$(oasis_use_enable debug debug) \
|
|
||||||
$(oasis_use_enable ocamlopt is_native) \
|
|
||||||
|| die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake || die
|
|
||||||
if use doc ; then
|
|
||||||
emake doc || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
findlib_src_install
|
|
||||||
dodoc Changes README* AUTHORS* || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog ""
|
|
||||||
elog "This library uses the /dev/random device to generate "
|
|
||||||
elog "random data and RSA keys. The device should either be"
|
|
||||||
elog "built into the kernel or provided as a module. An"
|
|
||||||
elog "alternative is to use the Entropy Gathering Daemon"
|
|
||||||
elog "(http://egd.sourceforge.net). Please note that the"
|
|
||||||
elog "remainder of the library will still work even in the"
|
|
||||||
elog "absence of a one of these sources of randomness."
|
|
||||||
elog ""
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
echo ""
|
|
||||||
einfo "You must have either /dev/random or the Entropy Gathering"
|
|
||||||
einfo "Daemon (EGD) for this test to succeed!"
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
emake test || die "emake test failed"
|
|
||||||
}
|
|
@ -1,2 +1 @@
|
|||||||
DIST oasis-0.3.0~rc5.tar.gz 294647 RMD160 cd6057f9b8d7c4c8fc1ecdaccc6d469faad96531 SHA1 a41c75341bab01dba6214617a1a8d64a33af1c34 SHA256 1e3eb1056276cb40b1e90d3b46e74c1bdc42f3f876047ab122d441b45dd391de
|
|
||||||
DIST oasis-0.3.0~rc6.tar.gz 294996 RMD160 267e400c1d087d655add4e288178db35251fde66 SHA1 0d9eda43d7274523e8b03174f5104951190c586f SHA256 d077717ced28e318020e1a2dda7839f81f0f71c121929786e4e0162554a20ef4
|
DIST oasis-0.3.0~rc6.tar.gz 294996 RMD160 267e400c1d087d655add4e288178db35251fde66 SHA1 0d9eda43d7274523e8b03174f5104951190c586f SHA256 d077717ced28e318020e1a2dda7839f81f0f71c121929786e4e0162554a20ef4
|
||||||
|
@ -1,35 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/oasis/oasis-0.3.0_rc5.ebuild,v 1.1 2012/05/03 23:53:34 aballier Exp $
|
|
||||||
|
|
||||||
EAPI=3
|
|
||||||
|
|
||||||
OASIS_BUILD_TESTS=1
|
|
||||||
OASIS_BUILD_DOCS=1
|
|
||||||
|
|
||||||
inherit oasis
|
|
||||||
|
|
||||||
MY_P=${P/_/\~}
|
|
||||||
DESCRIPTION="OASIS is a tool to integrate a configure, build and install system in OCaml project"
|
|
||||||
HOMEPAGE="http://oasis.forge.ocamlcore.org/index.php"
|
|
||||||
SRC_URI="http://forge.ocamlcore.org/frs/download.php/855/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1-linking-exception"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND=">=dev-ml/ocaml-data-notation-0.0.3"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
dev-ml/ocamlify
|
|
||||||
dev-ml/ocamlmod
|
|
||||||
test? (
|
|
||||||
>=dev-ml/ocaml-fileutils-0.4.2
|
|
||||||
>=dev-ml/ounit-1.1.0
|
|
||||||
>=dev-ml/ocaml-expect-0.0.2
|
|
||||||
dev-ml/extlib
|
|
||||||
)"
|
|
||||||
|
|
||||||
STRIP_MASK="*/bin/*"
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
DOCS=( "README.txt" "TODO.txt" "AUTHORS.txt" "CHANGES.txt" )
|
|
@ -1,2 +1,2 @@
|
|||||||
DIST ounit-1.1.0.tar.gz 52228 RMD160 f7d82446970f40eccc917a3ee57e7d6526b1b177 SHA1 e477f8a1b4fcd6a838cbbc04450a80b1cea3456c SHA256 1d57292ec2983943a00f4e0b448aa8ba4df89da40cdd216e44ac70dad35b7e8b
|
|
||||||
DIST ounit-1.1.1.tar.gz 52677 RMD160 ed43ef3443d5b88ee25a7bd91f926d375e016123 SHA1 1ea95980d385d6e0debf4ef1b9819386ce4389fd SHA256 0ea290c639f5069656d43d05c7cb4999a9c7ec22733ee2d10ea2f8b8706ecd29
|
DIST ounit-1.1.1.tar.gz 52677 RMD160 ed43ef3443d5b88ee25a7bd91f926d375e016123 SHA1 1ea95980d385d6e0debf4ef1b9819386ce4389fd SHA256 0ea290c639f5069656d43d05c7cb4999a9c7ec22733ee2d10ea2f8b8706ecd29
|
||||||
|
DIST ounit-1.1.2.tar.gz 58055 RMD160 77793a4478a1ddc1f8775e7d51eed56b89545052 SHA1 c7311ac200138958eec9b49274083989a0b097f1 SHA256 e6bc1b0cdbb5b5552d85bee653e23aafe20bb97fd7cd229c867d01ff999888e3
|
||||||
|
@ -1,46 +0,0 @@
|
|||||||
# Copyright 1999-2011 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ounit/ounit-1.1.0.ebuild,v 1.4 2011/01/13 22:16:36 ranger Exp $
|
|
||||||
|
|
||||||
EAPI="2"
|
|
||||||
|
|
||||||
inherit findlib multilib
|
|
||||||
|
|
||||||
DESCRIPTION="Unit testing framework for OCaml"
|
|
||||||
HOMEPAGE="http://ounit.forge.ocamlcore.org/"
|
|
||||||
SRC_URI="https://forge.ocamlcore.org/frs/download.php/495/${P}.tar.gz"
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ppc x86"
|
|
||||||
DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
IUSE="debug doc +ocamlopt"
|
|
||||||
|
|
||||||
oasis_use_enable() {
|
|
||||||
echo "--override $2 `use $1 && echo \"true\" || echo \"false\"`"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
chmod +x configure
|
|
||||||
./configure --prefix usr \
|
|
||||||
--libdir /usr/$(get_libdir) \
|
|
||||||
--docdir /usr/share/doc/${PF}/html \
|
|
||||||
--destdir "${D}" \
|
|
||||||
$(oasis_use_enable debug debug) \
|
|
||||||
$(oasis_use_enable ocamlopt is_native) \
|
|
||||||
|| die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake || die
|
|
||||||
if use doc ; then
|
|
||||||
emake doc || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
findlib_src_install
|
|
||||||
|
|
||||||
# install documentation
|
|
||||||
dodoc README* AUTHORS* changelog || die
|
|
||||||
}
|
|
@ -0,0 +1,21 @@
|
|||||||
|
# Copyright 1999-2012 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ounit/ounit-1.1.2.ebuild,v 1.1 2012/06/12 12:42:34 aballier Exp $
|
||||||
|
|
||||||
|
EAPI="3"
|
||||||
|
|
||||||
|
OASIS_BUILD_DOCS=1
|
||||||
|
|
||||||
|
inherit oasis
|
||||||
|
|
||||||
|
DESCRIPTION="Unit testing framework for OCaml"
|
||||||
|
HOMEPAGE="http://ounit.forge.ocamlcore.org/"
|
||||||
|
SRC_URI="http://forge.ocamlcore.org/frs/download.php/886/${P}.tar.gz"
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~x86"
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DOCS=( "README.txt" "AUTHORS.txt" "changelog" )
|
@ -1 +1,2 @@
|
|||||||
DIST pxp-1.2.2.tar.gz 685485 RMD160 3d282da4e63dbd821d6c313a97626f4e560e3881 SHA1 4120dcd85aa19a0d8b2a267c8daa83268701fb39 SHA256 0be6a4e5c1aa2caf60f4559a89a05d9d1ed41a00497dd4062b4709e8f04ec75a
|
DIST pxp-1.2.2.tar.gz 685485 RMD160 3d282da4e63dbd821d6c313a97626f4e560e3881 SHA1 4120dcd85aa19a0d8b2a267c8daa83268701fb39 SHA256 0be6a4e5c1aa2caf60f4559a89a05d9d1ed41a00497dd4062b4709e8f04ec75a
|
||||||
|
DIST pxp-1.2.3.tar.gz 702592 RMD160 276b19d06d89927c751518a36a36cef4f3f62fe8 SHA1 4d0846f9f22d354740bb5a6c638da170e7a04e36 SHA256 fc147dd154b4a853e72bf742d77971302b11ae253d8c4d15566b12c79ad30e0c
|
||||||
|
@ -0,0 +1,50 @@
|
|||||||
|
# Copyright 1999-2012 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-ml/pxp/pxp-1.2.3.ebuild,v 1.1 2012/06/12 12:41:42 aballier Exp $
|
||||||
|
|
||||||
|
EAPI="2"
|
||||||
|
|
||||||
|
inherit findlib eutils
|
||||||
|
|
||||||
|
MY_P=${P/_beta/test}
|
||||||
|
|
||||||
|
DESCRIPTION="validating XML parser library for O'Caml"
|
||||||
|
HOMEPAGE="http://projects.camlcity.org/projects/pxp.html"
|
||||||
|
SRC_URI="http://download.camlcity.org/download/${MY_P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="as-is"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~x86"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
DEPEND=">=dev-ml/pcre-ocaml-4.31
|
||||||
|
>=dev-ml/ulex-0.5
|
||||||
|
>=dev-ml/ocamlnet-0.98
|
||||||
|
>=dev-lang/ocaml-3.10.2[ocamlopt?]"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
IUSE="examples +ocamlopt"
|
||||||
|
|
||||||
|
S=${WORKDIR}/${MY_P}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
#the included configure does not support many standard switches and is quite picky
|
||||||
|
./configure || die "configure failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake -j1 all || die "make all failed"
|
||||||
|
if use ocamlopt; then
|
||||||
|
emake -j1 opt || die "make opt failed"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
findlib_src_install
|
||||||
|
if use examples; then
|
||||||
|
insinto /usr/share/doc/${PF}
|
||||||
|
doins -r examples
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd doc
|
||||||
|
dodoc ABOUT-FINDLIB DEV README SPEC design.txt
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST tyxml-2.0.2.tar.gz 103193 RMD160 536eb6fa8d79fab29ca48986fb263f6368f52c6d SHA1 da716580bbd5de6644db4a36410af9680bceb87a SHA256 521fa55bbacb4ffc5da504eacaa138a88f0a74978423173f6f48ab22da7a16ca
|
DIST tyxml-2.0.2.tar.gz 103193 RMD160 536eb6fa8d79fab29ca48986fb263f6368f52c6d SHA1 da716580bbd5de6644db4a36410af9680bceb87a SHA256 521fa55bbacb4ffc5da504eacaa138a88f0a74978423173f6f48ab22da7a16ca
|
||||||
|
DIST tyxml-2.1.tar.gz 103875 RMD160 47c12dc0d175eaf191a284361c5fb06b917f32e4 SHA1 0e10c566fe7d3334a7d290adc4b00d89cb356caa SHA256 3cf2bb4a58fdcf8ad91ec3afcd0124ca5f762a99bb43494b9219521d93e6d009
|
||||||
|
@ -0,0 +1,46 @@
|
|||||||
|
# Copyright 1999-2012 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-ml/tyxml/tyxml-2.1.ebuild,v 1.1 2012/06/12 12:51:31 aballier Exp $
|
||||||
|
|
||||||
|
EAPI=4
|
||||||
|
|
||||||
|
inherit eutils findlib
|
||||||
|
|
||||||
|
DESCRIPTION="A libary to build xml trees typechecked by OCaml"
|
||||||
|
HOMEPAGE="http://ocsigen.org/tyxml/"
|
||||||
|
SRC_URI="http://www.ocsigen.org/download/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1-linking-exception"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="doc ocamlduce +ocamlopt"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
>=dev-lang/ocaml-3.12[ocamlopt?]
|
||||||
|
dev-ml/ocamlnet
|
||||||
|
ocamlduce? ( dev-ml/ocamlduce )"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
export myopts="OCAMLDUCE=$(usex ocamlduce yes no)"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
if use ocamlopt; then
|
||||||
|
emake "$myopts"
|
||||||
|
else
|
||||||
|
emake "$myopts" byte
|
||||||
|
fi
|
||||||
|
use doc && emake doc "$myopts"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
findlib_src_preinst
|
||||||
|
if use ocamlopt; then
|
||||||
|
emake DESTIR="${D}" OCAMLDUCE="$myopts" install
|
||||||
|
else
|
||||||
|
emake DESTIR="${D}" OCAMLDUCE="$myopts" install-byte
|
||||||
|
fi
|
||||||
|
dodoc CHANGES README
|
||||||
|
use doc && dohtml -r doc/api-html
|
||||||
|
}
|
@ -1,2 +1 @@
|
|||||||
DIST pyside-qt4.7+1.1.0.tar.bz2 3747682 RMD160 f274d82c855ea4e7ba2b011155374969a69eafcb SHA1 e0f0440cf2a3d20b305397faf8bfed74bdcab873 SHA256 e57ad83e7dfc78bcd72934240c14f59d31da7f429e1c9ee0a060a216ef162ddf
|
|
||||||
DIST pyside-qt4.8+1.1.1.tar.bz2 3756704 RMD160 ecdba4d1ae0a62810694d4dfad9a770e33fcdb0d SHA1 37b4a2f666a84e39aa4b55f8909964c73ce47123 SHA256 acda876bb8e531682ce0a14e133021142c07988d505117299db3c00668749284
|
DIST pyside-qt4.8+1.1.1.tar.bz2 3756704 RMD160 ecdba4d1ae0a62810694d4dfad9a770e33fcdb0d SHA1 37b4a2f666a84e39aa4b55f8909964c73ce47123 SHA256 acda876bb8e531682ce0a14e133021142c07988d505117299db3c00668749284
|
||||||
|
@ -1,132 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyside/pyside-1.1.0-r1.ebuild,v 1.3 2012/04/22 12:17:30 maekke Exp $
|
|
||||||
|
|
||||||
EAPI=4
|
|
||||||
|
|
||||||
CMAKE_IN_SOURCE_BUILD="1"
|
|
||||||
|
|
||||||
PYTHON_DEPEND="2:2.6 3:3.2"
|
|
||||||
SUPPORT_PYTHON_ABIS="1"
|
|
||||||
RESTRICT_PYTHON_ABIS="2.4 2.5 3.1 *-jython 2.7-pypy-*"
|
|
||||||
|
|
||||||
VIRTUALX_COMMAND="cmake-utils_src_test"
|
|
||||||
|
|
||||||
inherit multilib cmake-utils python virtualx
|
|
||||||
|
|
||||||
MY_P="${PN}-qt4.7+${PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="Python bindings for the Qt framework"
|
|
||||||
HOMEPAGE="http://www.pyside.org/"
|
|
||||||
SRC_URI="http://www.pyside.org/files/${MY_P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
IUSE="X declarative help multimedia kde opengl phonon script scripttools sql svg test webkit xmlpatterns"
|
|
||||||
|
|
||||||
REQUIRED_USE="
|
|
||||||
declarative? ( X )
|
|
||||||
help? ( X )
|
|
||||||
multimedia? ( X )
|
|
||||||
opengl? ( X )
|
|
||||||
phonon? ( X )
|
|
||||||
scripttools? ( X script )
|
|
||||||
sql? ( X )
|
|
||||||
svg? ( X )
|
|
||||||
test? ( X )
|
|
||||||
webkit? ( X )
|
|
||||||
"
|
|
||||||
|
|
||||||
QT_PV="4.7.0:4"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/shiboken-1.1.0-r1
|
|
||||||
>=x11-libs/qt-core-${QT_PV}
|
|
||||||
X? (
|
|
||||||
>=x11-libs/qt-gui-${QT_PV}[accessibility]
|
|
||||||
>=x11-libs/qt-test-${QT_PV}
|
|
||||||
)
|
|
||||||
declarative? ( >=x11-libs/qt-declarative-${QT_PV} )
|
|
||||||
help? ( >=x11-libs/qt-assistant-${QT_PV} )
|
|
||||||
multimedia? ( >=x11-libs/qt-multimedia-${QT_PV} )
|
|
||||||
opengl? ( >=x11-libs/qt-opengl-${QT_PV} )
|
|
||||||
phonon? (
|
|
||||||
kde? ( media-libs/phonon )
|
|
||||||
!kde? ( || (
|
|
||||||
>=x11-libs/qt-phonon-${QT_PV}
|
|
||||||
media-libs/phonon
|
|
||||||
) )
|
|
||||||
)
|
|
||||||
script? ( >=x11-libs/qt-script-${QT_PV} )
|
|
||||||
sql? ( >=x11-libs/qt-sql-${QT_PV} )
|
|
||||||
svg? ( >=x11-libs/qt-svg-${QT_PV}[accessibility] )
|
|
||||||
webkit? ( >=x11-libs/qt-webkit-${QT_PV} )
|
|
||||||
xmlpatterns? ( >=x11-libs/qt-xmlpatterns-${QT_PV} )
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
>=dev-python/generatorrunner-0.6.16
|
|
||||||
"
|
|
||||||
|
|
||||||
S=${WORKDIR}/${MY_P}
|
|
||||||
|
|
||||||
DOCS=( ChangeLog )
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# Fix generated pkgconfig file to require the shiboken
|
|
||||||
# library suffixed with the correct python version.
|
|
||||||
sed -i -e '/^Requires:/ s/shiboken$/&@SHIBOKEN_PYTHON_SUFFIX@/' \
|
|
||||||
libpyside/pyside.pc.in || die
|
|
||||||
|
|
||||||
python_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
configuration() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DPYTHON_SUFFIX="-python${PYTHON_ABI}"
|
|
||||||
$(cmake-utils_use_build test TESTS)
|
|
||||||
$(cmake-utils_use_disable X QtGui)
|
|
||||||
$(cmake-utils_use_disable X QtDesigner)
|
|
||||||
$(cmake-utils_use_disable X QtTest)
|
|
||||||
$(cmake-utils_use_disable X QtUiTools)
|
|
||||||
$(cmake-utils_use_disable declarative QtDeclarative)
|
|
||||||
$(cmake-utils_use_disable help QtHelp)
|
|
||||||
$(cmake-utils_use_disable multimedia QtMultimedia)
|
|
||||||
$(cmake-utils_use_disable opengl QtOpenGL)
|
|
||||||
$(cmake-utils_use_disable phonon)
|
|
||||||
$(cmake-utils_use_disable script QtScript)
|
|
||||||
$(cmake-utils_use_disable scripttools QtScriptTools)
|
|
||||||
$(cmake-utils_use_disable sql QtSql)
|
|
||||||
$(cmake-utils_use_disable svg QtSvg)
|
|
||||||
$(cmake-utils_use_disable webkit QtWebKit)
|
|
||||||
$(cmake-utils_use_disable xmlpatterns QtXmlPatterns)
|
|
||||||
)
|
|
||||||
CMAKE_USE_DIR="${BUILDDIR}" cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
python_execute_function -s configuration
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
compilation() {
|
|
||||||
CMAKE_USE_DIR="${BUILDDIR}" cmake-utils_src_make
|
|
||||||
}
|
|
||||||
python_execute_function -s compilation
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
testing() {
|
|
||||||
CMAKE_USE_DIR="${BUILDDIR}" virtualmake
|
|
||||||
}
|
|
||||||
python_enable_pyc
|
|
||||||
python_execute_function -s testing
|
|
||||||
python_disable_pyc
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
installation() {
|
|
||||||
CMAKE_USE_DIR="${BUILDDIR}" cmake-utils_src_install
|
|
||||||
mv "${ED}"usr/$(get_libdir)/pkgconfig/${PN}{,-python${PYTHON_ABI}}.pc || die
|
|
||||||
}
|
|
||||||
python_execute_function -s installation
|
|
||||||
}
|
|
@ -1,2 +1 @@
|
|||||||
DIST shiboken-1.1.0.tar.bz2 628866 RMD160 c99179381511e16cf1fd68fc8581e9c612d1d5b9 SHA1 c16300f72ea717e17e54bccd90d9494058c3f9a1 SHA256 99d26ee5982580a76826ca4c523736aa7853c694943d56208185ea62c6dc76c9
|
|
||||||
DIST shiboken-1.1.1.tar.bz2 1065920 RMD160 4a0997c9474f433a6b0998d68eb84e98613bd010 SHA1 d24efc1e7499e9d7db4dfc85a975291e3cb3f311 SHA256 1cedad65d5d12e1b81a487b6aa7a1cb0a494934cb39c34f3cffcbc6c645d7e3f
|
DIST shiboken-1.1.1.tar.bz2 1065920 RMD160 4a0997c9474f433a6b0998d68eb84e98613bd010 SHA1 d24efc1e7499e9d7db4dfc85a975291e3cb3f311 SHA256 1cedad65d5d12e1b81a487b6aa7a1cb0a494934cb39c34f3cffcbc6c645d7e3f
|
||||||
|
@ -1,83 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/shiboken/shiboken-1.1.0-r2.ebuild,v 1.4 2012/04/22 12:16:42 maekke Exp $
|
|
||||||
|
|
||||||
EAPI=4
|
|
||||||
|
|
||||||
CMAKE_IN_SOURCE_BUILD="1"
|
|
||||||
|
|
||||||
PYTHON_DEPEND="2:2.6 3:3.2"
|
|
||||||
SUPPORT_PYTHON_ABIS="1"
|
|
||||||
RESTRICT_PYTHON_ABIS="2.4 2.5 3.1 *-jython 2.7-pypy-*"
|
|
||||||
|
|
||||||
inherit multilib cmake-utils python
|
|
||||||
|
|
||||||
DESCRIPTION="A tool for creating Python bindings for C++ libraries"
|
|
||||||
HOMEPAGE="http://www.pyside.org/"
|
|
||||||
SRC_URI="http://www.pyside.org/files/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
IUSE="test"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/apiextractor-0.10.10
|
|
||||||
>=dev-python/generatorrunner-0.6.16
|
|
||||||
>=x11-libs/qt-core-4.7.0:4
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
DOCS=( ChangeLog )
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# Fix inconsistent naming of libshiboken.so and ShibokenConfig.cmake,
|
|
||||||
# caused by the usage of a different version suffix with python >= 3.2
|
|
||||||
sed -i -e "/get_config_var('SOABI')/d" \
|
|
||||||
cmake/Modules/FindPython3InterpWithDebug.cmake || die
|
|
||||||
|
|
||||||
python_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
configuration() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DPYTHON_EXECUTABLE="$(PYTHON -a)"
|
|
||||||
-DPYTHON_SUFFIX="-python${PYTHON_ABI}"
|
|
||||||
$(cmake-utils_use_build test TESTS)
|
|
||||||
)
|
|
||||||
|
|
||||||
if [[ $(python_get_version -l --major) == 3 ]]; then
|
|
||||||
mycmakeargs+=(
|
|
||||||
-DUSE_PYTHON3=ON
|
|
||||||
-DPYTHON3_INCLUDE_DIR="$(python_get_includedir)"
|
|
||||||
-DPYTHON3_LIBRARY="$(python_get_library)"
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
CMAKE_USE_DIR="${BUILDDIR}" cmake-utils_src_configure
|
|
||||||
}
|
|
||||||
python_execute_function -s configuration
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
compilation() {
|
|
||||||
CMAKE_USE_DIR="${BUILDDIR}" cmake-utils_src_make
|
|
||||||
}
|
|
||||||
python_execute_function -s compilation
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
testing() {
|
|
||||||
CMAKE_USE_DIR="${BUILDDIR}" cmake-utils_src_test
|
|
||||||
}
|
|
||||||
python_execute_function -s testing
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
installation() {
|
|
||||||
CMAKE_USE_DIR="${BUILDDIR}" cmake-utils_src_install
|
|
||||||
mv "${ED}"usr/$(get_libdir)/pkgconfig/${PN}{,-python${PYTHON_ABI}}.pc || die
|
|
||||||
}
|
|
||||||
python_execute_function -s installation
|
|
||||||
}
|
|
@ -1,2 +1 @@
|
|||||||
DIST bibtex2html-1.96.tar.gz 90178 RMD160 c6b847edb6d9ac09280177aa94ba3d8c1d9fa837 SHA1 ce447520fde0a66bbbda0db247f06afb5e53907c SHA256 f21dccea4d84e84f97017b0bc6a6ba854c62e6cb87e337c74a3dbc097b1a9482
|
|
||||||
DIST bibtex2html-1.97.tar.gz 94887 RMD160 08187f4682eeff269d18f245193f34e2a3338d4f SHA1 970cb972eb88ff4cd01f247c0d8a6b821473f243 SHA256 99b5b66a729fd2928ee4d9d7d8397e36b684def4be9ee2746233006501c8e314
|
DIST bibtex2html-1.97.tar.gz 94887 RMD160 08187f4682eeff269d18f245193f34e2a3338d4f SHA1 970cb972eb88ff4cd01f247c0d8a6b821473f243 SHA256 99b5b66a729fd2928ee4d9d7d8397e36b684def4be9ee2746233006501c8e314
|
||||||
|
@ -1,60 +0,0 @@
|
|||||||
# Copyright 1999-2011 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-tex/bibtex2html/bibtex2html-1.96.ebuild,v 1.4 2011/10/05 19:07:15 aballier Exp $
|
|
||||||
|
|
||||||
EAPI=2
|
|
||||||
|
|
||||||
inherit eutils
|
|
||||||
|
|
||||||
IUSE="doc +ocamlopt"
|
|
||||||
|
|
||||||
DESCRIPTION="A bibtex to HTML converter"
|
|
||||||
SRC_URI="http://www.lri.fr/~filliatr/ftp/bibtex2html/${P}.tar.gz"
|
|
||||||
HOMEPAGE="http://www.lri.fr/~filliatr/bibtex2html/"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
KEYWORDS="amd64 ~ppc ~ppc64 x86"
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
# With use doc we need a latex compiler to generate manual.pdf
|
|
||||||
# hevea is used for manual.html
|
|
||||||
# manual.tex needs fullpage.sty
|
|
||||||
DEPEND=">=dev-lang/ocaml-3.10[ocamlopt?]
|
|
||||||
doc? ( virtual/latex-base
|
|
||||||
dev-texlive/texlive-latexextra
|
|
||||||
dev-tex/hevea )"
|
|
||||||
# We need tex-base for bibtex but also some bibtex styles, so we use latex-base
|
|
||||||
RDEPEND="virtual/latex-base"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}/${PN}-1.88-destdir.patch"
|
|
||||||
# Avoid pre-stripped files
|
|
||||||
sed -i -e "s/strip/true/" Makefile.in
|
|
||||||
# Fix build with ocaml 3.12, bug #331081
|
|
||||||
has_version '>=dev-lang/ocaml-3.12' && sed -i 's/lstr/lcamlstr/' Makefile.in
|
|
||||||
# For make install
|
|
||||||
use ocamlopt || sed -i 's/= opt /= noopt /' Makefile.in
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
export VARTEXFONTS="${T}/fonts"
|
|
||||||
if use ocamlopt ; then
|
|
||||||
emake opt || die
|
|
||||||
else
|
|
||||||
emake byte || die
|
|
||||||
fi
|
|
||||||
if use doc; then
|
|
||||||
emake doc || die "failed to create doc"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install || die "failed to install"
|
|
||||||
dodoc README CHANGES
|
|
||||||
if use doc; then
|
|
||||||
dodoc manual.pdf
|
|
||||||
dohtml manual.html
|
|
||||||
fi
|
|
||||||
}
|
|
@ -0,0 +1,10 @@
|
|||||||
|
--- src/helpers/System.cpp.old 2012-06-12 11:01:24.332083600 +0200
|
||||||
|
+++ src/helpers/System.cpp 2012-06-12 11:01:35.335083715 +0200
|
||||||
|
@@ -24,6 +24,7 @@
|
||||||
|
#include "Log.h"
|
||||||
|
#include "VExcept.h"
|
||||||
|
#include <sstream>
|
||||||
|
+#include <unistd.h>
|
||||||
|
|
||||||
|
std::vector<std::string>* System::getDisplayModes(int windowed) {
|
||||||
|
std::vector<std::string>* modes = new std::vector<std::string>;
|
@ -0,0 +1,100 @@
|
|||||||
|
diff --git a/lib/cli++/main.cc b/lib/cli++/main.cc
|
||||||
|
index f0eb014..406e990 100644
|
||||||
|
--- a/lib/cli++/main.cc
|
||||||
|
+++ b/lib/cli++/main.cc
|
||||||
|
@@ -36,6 +36,7 @@ static cli_option help_option = { 'h', "help", cli_option::flag,
|
||||||
|
|
||||||
|
static cli_option** options;
|
||||||
|
static unsigned optionc;
|
||||||
|
+static const char* short_options;
|
||||||
|
|
||||||
|
static void build_options()
|
||||||
|
{
|
||||||
|
@@ -47,6 +48,13 @@ static void build_options()
|
||||||
|
for(unsigned i = 0; i < optionc-1; i++)
|
||||||
|
options[i] = &cli_options[i];
|
||||||
|
options[optionc-1] = &help_option;
|
||||||
|
+
|
||||||
|
+ char* so;
|
||||||
|
+ short_options = so = new char[optionc+1];
|
||||||
|
+ for (unsigned i = 0; i < optionc; i++)
|
||||||
|
+ if (options[i]->ch != 0)
|
||||||
|
+ *so++ = options[i]->ch;
|
||||||
|
+ *so = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static inline int max(int a, int b)
|
||||||
|
@@ -275,14 +283,6 @@ static int parse_long(int, char* argv[])
|
||||||
|
++arg;
|
||||||
|
for(unsigned j = 0; j < optionc; j++) {
|
||||||
|
cli_option* o = options[j];
|
||||||
|
- if (cli_only_long && o->ch) {
|
||||||
|
- if (arg[0] == o->ch) {
|
||||||
|
- if (arg[1] == '\0')
|
||||||
|
- return o->parse_long_noeq(argv[1], true);
|
||||||
|
- else if (arg[1] == '=')
|
||||||
|
- return o->parse_long_eq(arg+2, true);
|
||||||
|
- }
|
||||||
|
- }
|
||||||
|
if(o->name) {
|
||||||
|
size_t len = strlen(o->name);
|
||||||
|
if(!memcmp(arg, o->name, len)) {
|
||||||
|
@@ -297,6 +297,13 @@ static int parse_long(int, char* argv[])
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
+static int parse_either(int argc, char* argv[])
|
||||||
|
+{
|
||||||
|
+ return (strchr(short_options, argv[0][1]) != 0)
|
||||||
|
+ ? parse_short(argc, argv)
|
||||||
|
+ : parse_long(argc, argv);
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
static int parse_args(int argc, char* argv[])
|
||||||
|
{
|
||||||
|
build_options();
|
||||||
|
@@ -312,9 +319,9 @@ static int parse_args(int argc, char* argv[])
|
||||||
|
i++;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
- int j = (!cli_only_long && arg[1] != '-')
|
||||||
|
- ? parse_short(argc-i, argv+i)
|
||||||
|
- : parse_long(argc-i, argv+i);
|
||||||
|
+ int j = (arg[1] == '-') ? parse_long(argc-i, argv+i)
|
||||||
|
+ : cli_only_long ? parse_either(argc-i, argv+i)
|
||||||
|
+ : parse_short(argc-i, argv+i);
|
||||||
|
if(j < 0)
|
||||||
|
usage(1);
|
||||||
|
else
|
||||||
|
diff --git a/src/sendmail.cc b/src/sendmail.cc
|
||||||
|
index f245226..2e5615b 100644
|
||||||
|
--- a/src/sendmail.cc
|
||||||
|
+++ b/src/sendmail.cc
|
||||||
|
@@ -66,26 +66,13 @@ cli_option cli_options[] = {
|
||||||
|
{ 'N', 0, cli_option::string, 0, &o_dummys, "Ignored", 0 },
|
||||||
|
{ 'n', 0, cli_option::flag, 0, &o_dummyi, "Ignored", 0 },
|
||||||
|
{ 'O', 0, cli_option::string, 0, &o_dummys, "Ignored", 0 },
|
||||||
|
- { 0, "odb", cli_option::flag, 0, &o_dummyi,
|
||||||
|
- "Deliver in background (always true)", 0 },
|
||||||
|
- { 0, "odf", cli_option::flag, 0, &o_dummyi,
|
||||||
|
- "Deliver in foreground (ignored)", 0 },
|
||||||
|
- { 0, "oem", cli_option::flag, 0, &o_dummyi,
|
||||||
|
- "Ignored", 0 },
|
||||||
|
+ { 'o', 0, cli_option::string, 0, &o_dummys, "Set sendmail flag, ignored", 0 },
|
||||||
|
{ 0, "em", cli_option::flag, 0, &o_dummyi,
|
||||||
|
"Ignored", 0 },
|
||||||
|
- { 0, "oep", cli_option::flag, 0, &o_dummyi,
|
||||||
|
- "Ignored", 0 },
|
||||||
|
{ 0, "ep", cli_option::flag, 0, &o_dummyi,
|
||||||
|
"Ignored", 0 },
|
||||||
|
- { 0, "oeq", cli_option::flag, 0, &o_dummyi,
|
||||||
|
- "Ignored", 0 },
|
||||||
|
{ 0, "eq", cli_option::flag, 0, &o_dummyi,
|
||||||
|
"Ignored", 0 },
|
||||||
|
- { 0, "oi", cli_option::flag, 0, &o_dummyi,
|
||||||
|
- "Ignored", 0 },
|
||||||
|
- { 0, "om", cli_option::flag, 0, &o_dummyi,
|
||||||
|
- "Ignored", 0 },
|
||||||
|
{ 'p', 0, cli_option::string, 0, &o_dummys, "Ignored", 0 },
|
||||||
|
{ 'q', 0, cli_option::string, 0, &o_dummys, "Ignored", 0 },
|
||||||
|
{ 'R', 0, cli_option::string, 0, &o_dummys, "Ignored", 0 },
|
@ -0,0 +1,122 @@
|
|||||||
|
# Copyright 1999-2012 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/mail-mta/nullmailer/nullmailer-1.10-r1.ebuild,v 1.1 2012/06/12 21:26:19 eras Exp $
|
||||||
|
|
||||||
|
EAPI=4
|
||||||
|
inherit eutils flag-o-matic autotools user multilib
|
||||||
|
|
||||||
|
MY_P="${P/_rc/RC}"
|
||||||
|
S=${WORKDIR}/${MY_P}
|
||||||
|
DEBIAN_PV=1.10
|
||||||
|
DEBIAN_PR="1"
|
||||||
|
DEBIAN_P="${PN}-${DEBIAN_PV}"
|
||||||
|
DEBIAN_PF="${DEBIAN_P/-/_}-${DEBIAN_PR}"
|
||||||
|
DEBIAN_SRC="${DEBIAN_PF}.debian.tar.gz"
|
||||||
|
DESCRIPTION="Simple relay-only local mail transport agent"
|
||||||
|
SRC_URI="http://untroubled.org/${PN}/archive/${MY_P}.tar.gz
|
||||||
|
mirror://debian/pool/main/n/${PN}/${DEBIAN_SRC}"
|
||||||
|
HOMEPAGE="http://untroubled.org/nullmailer/"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~x86"
|
||||||
|
|
||||||
|
IUSE="ssl"
|
||||||
|
|
||||||
|
DEPEND="sys-apps/groff
|
||||||
|
ssl? ( net-libs/gnutls )"
|
||||||
|
RDEPEND="virtual/shadow
|
||||||
|
virtual/logger
|
||||||
|
ssl? ( net-libs/gnutls )
|
||||||
|
!mail-mta/courier
|
||||||
|
!mail-mta/esmtp
|
||||||
|
!mail-mta/exim
|
||||||
|
!mail-mta/mini-qmail
|
||||||
|
!mail-mta/msmtp
|
||||||
|
!mail-mta/nbsmtp
|
||||||
|
!mail-mta/netqmail
|
||||||
|
!mail-mta/postfix
|
||||||
|
!mail-mta/qmail-ldap
|
||||||
|
!mail-mta/sendmail
|
||||||
|
!mail-mta/ssmtp"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
EPATCH_OPTS="-d ${S} -p1" \
|
||||||
|
epatch "${DISTDIR}"/${DEBIAN_SRC}
|
||||||
|
# why revert? Ask Robin when he is back!
|
||||||
|
EPATCH_OPTS="-d ${WORKDIR} -p0 -R" \
|
||||||
|
epatch "${WORKDIR}"/debian/patches/02_ipv6.diff
|
||||||
|
# this fixes the debian daemon/syslog to actually compile
|
||||||
|
sed -i.orig \
|
||||||
|
-e '/^nullmailer_send_LDADD/s, =, = ../lib/cli++/libcli++.a,' \
|
||||||
|
"${S}"/src/Makefile.am || die "Sed failed"
|
||||||
|
# bug #420301
|
||||||
|
epatch "${FILESDIR}"/"${P}"-fix-sendmail.patch
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
enewgroup nullmail 88
|
||||||
|
enewuser nullmail 88 -1 /var/nullmailer nullmail
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# Note that we pass a different directory below due to bugs in the makefile!
|
||||||
|
econf \
|
||||||
|
--localstatedir=/var \
|
||||||
|
$(use_enable ssl tls)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install () {
|
||||||
|
einstall localstatedir="${D}"/var/nullmailer
|
||||||
|
dodoc AUTHORS BUGS HOWTO INSTALL ChangeLog NEWS README TODO
|
||||||
|
# A small bit of sample config
|
||||||
|
insinto /etc/nullmailer
|
||||||
|
newins "${FILESDIR}"/remotes.sample-1.04 remotes
|
||||||
|
# daemontools stuff
|
||||||
|
dodir /var/nullmailer/service{,/log}
|
||||||
|
insinto /var/nullmailer/service
|
||||||
|
newins scripts/nullmailer.run run
|
||||||
|
fperms 700 /var/nullmailer/service/run
|
||||||
|
insinto /var/nullmailer/service/log
|
||||||
|
newins scripts/nullmailer-log.run run
|
||||||
|
fperms 700 /var/nullmailer/service/log/run
|
||||||
|
# usablity
|
||||||
|
dodir /usr/$(get_libdir)
|
||||||
|
dosym /usr/sbin/sendmail usr/$(get_libdir)/sendmail
|
||||||
|
# permissions stuff
|
||||||
|
keepdir /var/log/nullmailer /var/nullmailer/{tmp,queue}
|
||||||
|
fperms 770 /var/log/nullmailer /var/nullmailer/{tmp,queue}
|
||||||
|
fowners nullmail:nullmail /usr/sbin/nullmailer-queue /usr/bin/mailq
|
||||||
|
fperms 4711 /usr/sbin/nullmailer-queue /usr/bin/mailq
|
||||||
|
fowners nullmail:nullmail /var/log/nullmailer /var/nullmailer/{tmp,queue,trigger}
|
||||||
|
fperms 660 /var/nullmailer/trigger
|
||||||
|
newinitd "${FILESDIR}"/init.d-nullmailer-r1 nullmailer
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
[ ! -e "${ROOT}"/var/nullmailer/trigger ] && mkfifo "${ROOT}"/var/nullmailer/trigger
|
||||||
|
chown nullmail:nullmail "${ROOT}"/var/log/nullmailer "${ROOT}"/var/nullmailer/{tmp,queue,trigger}
|
||||||
|
chmod 770 "${ROOT}"/var/log/nullmailer "${ROOT}"/var/nullmailer/{tmp,queue}
|
||||||
|
chmod 660 "${ROOT}"/var/nullmailer/trigger
|
||||||
|
|
||||||
|
elog "To create an initial setup, please do:"
|
||||||
|
elog "emerge --config =${CATEGORY}/${PF}"
|
||||||
|
echo
|
||||||
|
elog "To start nullmailer at boot you may use either the nullmailer init.d"
|
||||||
|
elog "script, or emerge sys-process/supervise-scripts, enable the"
|
||||||
|
elog "svscan init.d script and create the following link:"
|
||||||
|
elog "ln -fs /var/nullmailer/service /service/nullmailer"
|
||||||
|
echo
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_config() {
|
||||||
|
if [ ! -s "${ROOT}"/etc/nullmailer/me ]; then
|
||||||
|
einfo "Setting /etc/nullmailer/me"
|
||||||
|
/bin/hostname --fqdn > "${ROOT}"/etc/nullmailer/me
|
||||||
|
fi
|
||||||
|
if [ ! -s "${ROOT}"/etc/nullmailer/defaultdomain ]; then
|
||||||
|
einfo "Setting /etc/nullmailer/defaultdomain"
|
||||||
|
/bin/hostname --domain > "${ROOT}"/etc/nullmailer/defaultdomain
|
||||||
|
fi
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
DIST jasper-1.900.1-fixes-20081208.patch.bz2 8757 RMD160 bbd45e5aeb32b2575807824986dc2c39a14a46f0 SHA1 31517a7ebc9ce4d0d12a4b7c26133451979ae945 SHA256 5f696527707513fceff1617895afab9500f327262b1b03b330098d8dab3eb1bf
|
DIST jasper-1.900.1-fixes-20081208.patch.bz2 8757 RMD160 bbd45e5aeb32b2575807824986dc2c39a14a46f0 SHA1 31517a7ebc9ce4d0d12a4b7c26133451979ae945 SHA256 5f696527707513fceff1617895afab9500f327262b1b03b330098d8dab3eb1bf
|
||||||
|
DIST jasper-1.900.1-fixes-20120611.patch.bz2 26303 RMD160 aa6f02550b164e4572a2b9cadd86d4857d1732b6 SHA1 43c1ff13dad0baa407bbc9c867a81b33242bdce7 SHA256 8727c94843f141c311be54eed97eca18f96542f52b991df6f7d4f005bad2ec59
|
||||||
DIST jasper-1.900.1.zip 1415752 RMD160 fb2c188abf5b8c297078ac1f913101734f72db5c SHA1 9c5735f773922e580bf98c7c7dfda9bbed4c5191 SHA256 6b905a9c2aca2e275544212666eefc4eb44d95d0a57e4305457b407fe63f9494
|
DIST jasper-1.900.1.zip 1415752 RMD160 fb2c188abf5b8c297078ac1f913101734f72db5c SHA1 9c5735f773922e580bf98c7c7dfda9bbed4c5191 SHA256 6b905a9c2aca2e275544212666eefc4eb44d95d0a57e4305457b407fe63f9494
|
||||||
|
@ -0,0 +1,41 @@
|
|||||||
|
# Copyright 1999-2012 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/media-libs/jasper/jasper-1.900.1-r5.ebuild,v 1.1 2012/06/12 19:02:49 phosphan Exp $
|
||||||
|
|
||||||
|
EAPI=3
|
||||||
|
|
||||||
|
inherit libtool eutils
|
||||||
|
|
||||||
|
DESCRIPTION="software-based implementation of the codec specified in the JPEG-2000 Part-1 standard"
|
||||||
|
HOMEPAGE="http://www.ece.uvic.ca/~mdadams/jasper/"
|
||||||
|
SRC_URI="http://www.ece.uvic.ca/~mdadams/jasper/software/jasper-${PV}.zip
|
||||||
|
mirror://gentoo/${P}-fixes-20120611.patch.bz2"
|
||||||
|
|
||||||
|
LICENSE="JasPer2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||||
|
IUSE="jpeg opengl static-libs"
|
||||||
|
|
||||||
|
RDEPEND="jpeg? ( virtual/jpeg )
|
||||||
|
opengl? ( virtual/opengl media-libs/freeglut )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
app-arch/unzip"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
epatch "${WORKDIR}"/${P}-fixes-20120611.patch
|
||||||
|
elibtoolize
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
$(use_enable jpeg libjpeg) \
|
||||||
|
$(use_enable opengl) \
|
||||||
|
$(use_enable static-libs static) \
|
||||||
|
--enable-shared
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" install || die
|
||||||
|
dodoc NEWS README doc/*
|
||||||
|
find "${ED}" -name '*.la' -delete
|
||||||
|
}
|
@ -0,0 +1,25 @@
|
|||||||
|
# Copyright 1999-2012 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-premiereepg/vdr-premiereepg-0.2.0-r1.ebuild,v 1.1 2012/06/12 19:31:11 hd_brummy Exp $
|
||||||
|
|
||||||
|
EAPI="4"
|
||||||
|
|
||||||
|
inherit vdr-plugin-2
|
||||||
|
|
||||||
|
DESCRIPTION="VDR Plugin: Support the extended EPG which is sent by german paytv Sky on their portal channels"
|
||||||
|
HOMEPAGE="http://www.muempf.de/index.html"
|
||||||
|
SRC_URI="http://www.muempf.de/down/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND=">=media-video/vdr-1.4.1"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
vdr-plugin-2_src_prepare
|
||||||
|
|
||||||
|
fix_vdr_libsi_include premiereepg.c
|
||||||
|
}
|
@ -0,0 +1,19 @@
|
|||||||
|
# Copyright 1999-2012 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-proxy/vdr-proxy-0.1.4-r1.ebuild,v 1.1 2012/06/12 19:26:34 hd_brummy Exp $
|
||||||
|
|
||||||
|
EAPI="4"
|
||||||
|
|
||||||
|
inherit vdr-plugin-2
|
||||||
|
|
||||||
|
IUSE=""
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
DESCRIPTION="VDR Plugin Proxy - enable grouping of menu entries, online load/unload"
|
||||||
|
HOMEPAGE="http://urichter.cjb.net/vdr/?h=proxy"
|
||||||
|
SRC_URI="http://www.mathematik.uni-kassel.de/~urichter/vdr/files/${P}.tgz"
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
|
||||||
|
KEYWORDS="~x86"
|
||||||
|
|
||||||
|
DEPEND=">=media-video/vdr-1.3.23"
|
@ -0,0 +1,41 @@
|
|||||||
|
# Copyright 1999-2012 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-skinelchi/vdr-skinelchi-0.2.7.ebuild,v 1.1 2012/06/12 19:00:21 hd_brummy Exp $
|
||||||
|
|
||||||
|
EAPI="4"
|
||||||
|
|
||||||
|
inherit vdr-plugin-2
|
||||||
|
|
||||||
|
MY_P=${P/_pre/pre}
|
||||||
|
|
||||||
|
DESCRIPTION="Video Disk Recorder - Skin Plugin"
|
||||||
|
HOMEPAGE="http://firefly.vdr-developer.org/skinelchi"
|
||||||
|
SRC_URI="http://firefly.vdr-developer.org/skinelchi/${P}.tar.bz2"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="imagemagick"
|
||||||
|
|
||||||
|
DEPEND=">=media-video/vdr-1.6
|
||||||
|
imagemagick? ( media-gfx/imagemagick )"
|
||||||
|
|
||||||
|
RDEPEND="x11-themes/vdr-channel-logos"
|
||||||
|
|
||||||
|
S=${WORKDIR}/${MY_P#vdr-}
|
||||||
|
|
||||||
|
VDR_RCADDON_FILE="${FILESDIR}/rc-addon-0.1.1_pre2-r1.sh"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
vdr-plugin-2_src_prepare
|
||||||
|
|
||||||
|
if ! use imagemagick; then
|
||||||
|
einfo "Disabling imagemagick-support."
|
||||||
|
sed -i "${S}"/Makefile \
|
||||||
|
-e '/^[[:space:]]*SKINELCHI_HAVE_IMAGEMAGICK = 1/s/^/#/'
|
||||||
|
fi
|
||||||
|
|
||||||
|
sed -i "${S}"/DisplayChannel.c \
|
||||||
|
-e "s:/hqlogos::" \
|
||||||
|
-e "s:/logos::"
|
||||||
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue