parent
c95bb14a36
commit
1643034920
@ -1,2 +1,3 @@
|
||||
DIST jre-6u29-linux-i586.bin 21632980 RMD160 ce7ba2ec99643b6d47f6b634d7e9fa5877513b4a SHA1 6de26b992a9920117d2f156ff5bbddf2d5b28f77 SHA256 13bd1ce27709be7d05c07221185d4f572242b14a80cea67b557e761f5ba7e440
|
||||
DIST jre-6u31-linux-i586.bin 21699103 RMD160 45252ef657d84abeaa1f22d8e3cfc7906a726645 SHA1 7fff7f6f99282ea3adc718c1f449df9107a8ad0c SHA256 c7c6882b8018e95ded4d145ae28692e2a0a4c13e66c5310d8f5c42b90b5b4dd0
|
||||
DIST jre-6u33-linux-i586.bin 21693745 RMD160 c395a2a780a3714673e4acd4a835e1ece1abd9bb SHA1 0eb29f15703fdcb567d64e15ed41a31a5a6ab66f SHA256 6e406b3552f276238141e40c65f83928df0bf93af5f11c74ac6970cde6758f0e
|
||||
|
@ -0,0 +1,162 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-java/emul-linux-x86-java-1.6.0.33.ebuild,v 1.1 2012/06/14 09:23:39 sera Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit java-vm-2 eutils prefix versionator
|
||||
|
||||
# This URIs need to be updated when bumping!
|
||||
JRE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jre6-downloads-1637595.html"
|
||||
|
||||
MY_PV="$(get_version_component_range 2)u$(get_version_component_range 4)"
|
||||
S_PV="$(replace_version_separator 3 '_')"
|
||||
|
||||
X86_AT="jre-${MY_PV}-linux-i586.bin"
|
||||
|
||||
DESCRIPTION="Oracle's Java SE Runtime Environment (32bit)"
|
||||
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/"
|
||||
SRC_URI="${X86_AT}"
|
||||
|
||||
LICENSE="Oracle-BCLA-JavaSE"
|
||||
SLOT="1.6"
|
||||
KEYWORDS="-* ~amd64"
|
||||
IUSE="X alsa nsplugin"
|
||||
|
||||
RESTRICT="fetch strip"
|
||||
QA_TEXTRELS="
|
||||
opt/${P}/lib/i386/client/libjvm.so
|
||||
opt/${P}/lib/i386/motif21/libmawt.so
|
||||
opt/${P}/lib/i386/server/libjvm.so"
|
||||
|
||||
RDEPEND="alsa? ( app-emulation/emul-linux-x86-soundlibs )
|
||||
X? ( app-emulation/emul-linux-x86-xlibs )"
|
||||
|
||||
S="${WORKDIR}/jre${S_PV}"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Due to Oracle no longer providing the distro-friendly DLJ bundles, the package has become fetch restricted again."
|
||||
einfo ""
|
||||
einfo "Please download ${X86_AT} from:"
|
||||
einfo "${JRE_URI}"
|
||||
einfo "and move it to ${DISTDIR}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
sh "${DISTDIR}"/${A} -noregister || die "Failed to unpack"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# This needs to be done before CDS - #215225
|
||||
java-vm_set-pax-markings "${S}"
|
||||
|
||||
# see bug #207282
|
||||
einfo "Creating the Class Data Sharing archives"
|
||||
bin/java -client -Xshare:dump || die
|
||||
bin/java -server -Xshare:dump || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# We should not need the ancient plugin for Firefox 2 anymore, plus it has
|
||||
# writable executable segments
|
||||
rm -vf lib/i386/libjavaplugin_oji.so \
|
||||
lib/i386/libjavaplugin_nscp*.so
|
||||
rm -vrf plugin/i386
|
||||
# Without nsplugin flag, also remove the new plugin
|
||||
arch=i386;
|
||||
if ! use nsplugin; then
|
||||
rm -vf lib/${arch}/libnpjp2.so \
|
||||
lib/${arch}/libjavaplugin_jni.so
|
||||
fi
|
||||
|
||||
dodir /opt/${P}
|
||||
cp -pPR bin lib man "${ED}"/opt/${P} || die
|
||||
|
||||
# Remove empty dirs we might have copied
|
||||
find "${D}" -type d -empty -exec rmdir {} + || die
|
||||
|
||||
dodoc COPYRIGHT README
|
||||
|
||||
if use nsplugin; then
|
||||
install_mozilla_plugin /opt/${P}/lib/${arch}/libnpjp2.so
|
||||
fi
|
||||
|
||||
# Install desktop file for the Java Control Panel.
|
||||
# Using ${PN}-${SLOT} to prevent file collision with jre and or other slots.
|
||||
# make_desktop_entry can't be used as ${P} would end up in filename.
|
||||
newicon lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png \
|
||||
sun-jcontrol-${PN}-${SLOT}.png || die
|
||||
sed -e "s#Name=.*#Name=Java Control Panel for Oracle JDK ${SLOT} (${PN})#" \
|
||||
-e "s#Exec=.*#Exec=/opt/${P}/bin/jcontrol#" \
|
||||
-e "s#Icon=.*#Icon=sun-jcontrol-${PN}-${SLOT}.png#" \
|
||||
lib/desktop/applications/sun_java.desktop > \
|
||||
"${T}"/jcontrol-${PN}-${SLOT}.desktop || die
|
||||
domenu "${T}"/jcontrol-${PN}-${SLOT}.desktop
|
||||
|
||||
# bug #56444
|
||||
cp "${FILESDIR}"/fontconfig.Gentoo.properties "${T}"/fontconfig.properties || die
|
||||
eprefixify "${T}"/fontconfig.properties
|
||||
insinto /opt/${P}/lib/
|
||||
doins "${T}"/fontconfig.properties
|
||||
|
||||
set_java_env "${FILESDIR}/${VMHANDLE}.env-r1"
|
||||
java-vm_revdep-mask
|
||||
}
|
||||
|
||||
QA_FLAGS_IGNORED="
|
||||
/opt/${P}/bin/java
|
||||
/opt/${P}/bin/java_vm
|
||||
/opt/${P}/bin/javaws
|
||||
/opt/${P}/bin/keytool
|
||||
/opt/${P}/bin/orbd
|
||||
/opt/${P}/bin/pack200
|
||||
/opt/${P}/bin/policytool
|
||||
/opt/${P}/bin/rmid
|
||||
/opt/${P}/bin/rmiregistry
|
||||
/opt/${P}/bin/servertool
|
||||
/opt/${P}/bin/tnameserv
|
||||
/opt/${P}/bin/unpack200
|
||||
/opt/${P}/lib/i386/client/libjvm.so
|
||||
/opt/${P}/lib/i386/headless/libmawt.so
|
||||
/opt/${P}/lib/i386/jli/libjli.so
|
||||
/opt/${P}/lib/i386/libawt.so
|
||||
/opt/${P}/lib/i386/libcmm.so
|
||||
/opt/${P}/lib/i386/libdcpr.so
|
||||
/opt/${P}/lib/i386/libdeploy.so
|
||||
/opt/${P}/lib/i386/libdt_socket.so
|
||||
/opt/${P}/lib/i386/libfontmanager.so
|
||||
/opt/${P}/lib/i386/libhprof.so
|
||||
/opt/${P}/lib/i386/libinstrument.so
|
||||
/opt/${P}/lib/i386/libioser12.so
|
||||
/opt/${P}/lib/i386/libj2gss.so
|
||||
/opt/${P}/lib/i386/libj2pcsc.so
|
||||
/opt/${P}/lib/i386/libj2pkcs11.so
|
||||
/opt/${P}/lib/i386/libjaas_unix.so
|
||||
/opt/${P}/lib/i386/libjava_crw_demo.so
|
||||
/opt/${P}/lib/i386/libjavaplugin_jni.so
|
||||
/opt/${P}/lib/i386/libjava.so
|
||||
/opt/${P}/lib/i386/libjawt.so
|
||||
/opt/${P}/lib/i386/libJdbcOdbc.so
|
||||
/opt/${P}/lib/i386/libjdwp.so
|
||||
/opt/${P}/lib/i386/libjpeg.so
|
||||
/opt/${P}/lib/i386/libjsig.so
|
||||
/opt/${P}/lib/i386/libjsoundalsa.so
|
||||
/opt/${P}/lib/i386/libjsound.so
|
||||
/opt/${P}/lib/i386/libmanagement.so
|
||||
/opt/${P}/lib/i386/libmlib_image.so
|
||||
/opt/${P}/lib/i386/libnative_chmod_g.so
|
||||
/opt/${P}/lib/i386/libnative_chmod.so
|
||||
/opt/${P}/lib/i386/libnet.so
|
||||
/opt/${P}/lib/i386/libnio.so
|
||||
/opt/${P}/lib/i386/libnpjp2.so
|
||||
/opt/${P}/lib/i386/libnpt.so
|
||||
/opt/${P}/lib/i386/librmi.so
|
||||
/opt/${P}/lib/i386/libsplashscreen.so
|
||||
/opt/${P}/lib/i386/libunpack.so
|
||||
/opt/${P}/lib/i386/libverify.so
|
||||
/opt/${P}/lib/i386/libzip.so
|
||||
/opt/${P}/lib/i386/motif21/libmawt.so
|
||||
/opt/${P}/lib/i386/native_threads/libhpi.so
|
||||
/opt/${P}/lib/i386/server/libjvm.so
|
||||
/opt/${P}/lib/i386/xawt/libmawt.so
|
||||
/opt/${P}/lib/jexec"
|
@ -1,3 +1,3 @@
|
||||
DIST poppler-0.16.7.tar.gz 1952179 RMD160 279330e6feaf97a207f3396eab1af836d3d1f16c SHA1 26c735f863688f62b57d5159863fdad4272be89f SHA256 fab4e8af2d34d4142a718819fd747d40930b71ef520ee0e6bcc94e2c44f22bcd
|
||||
DIST poppler-0.18.4.tar.gz 1992993 RMD160 1553017e9b260cbd624d43d77fcf410afaa57e4a SHA1 3753caecba71afaf29f097e0b9c52e0f83a10a59 SHA256 33421148cdc8e043da291dece2cce1cea6220d49a50c00c56d56d6435501d42e
|
||||
DIST poppler-0.20.0.tar.gz 2140152 RMD160 d02773cc010cc13cd9ef49a3ba65e04b79456232 SHA1 236d342e8fd931cbce9b79872053ba12b6a5b316 SHA256 b2e3253c2f4af248a2ffaac29161de6e462c587031e7875287b9956b45a0570d
|
||||
DIST poppler-0.20.1.tar.gz 2141147 RMD160 c33e085faba20764500c20a0ecca9b837c07f099 SHA1 a2b09ffe216dbe5f259d71e81327e00edf8c1229 SHA256 b4620f645319f4a8790465730bc472d5745155d0780809406fb29c62316d49a8
|
||||
|
@ -1,112 +0,0 @@
|
||||
diff -ruN poppler-0.20.0/cmake/modules/FindLCMS2.cmake my/cmake/modules/FindLCMS2.cmake
|
||||
--- poppler-0.20.0/cmake/modules/FindLCMS2.cmake 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ my/cmake/modules/FindLCMS2.cmake 2012-05-18 01:22:01.349427369 +0200
|
||||
@@ -0,0 +1,73 @@
|
||||
+# - Find LCMS2
|
||||
+# Find the LCMS2 includes and library
|
||||
+# This module defines
|
||||
+# LCMS2_INCLUDE_DIR, where to find lcms.h
|
||||
+# LCMS2_LIBRARIES, the libraries needed to use LCMS2.
|
||||
+# LCMS2_VERSION, The value of LCMS_VERSION defined in lcms.h
|
||||
+# LCMS2_FOUND, If false, do not try to use LCMS2.
|
||||
+
|
||||
+
|
||||
+# Copyright (c) 2008, Adrian Page, <adrian@pagenet.plus.com>
|
||||
+# Copyright (c) 2009, Cyrille Berger, <cberger@cberger.net>
|
||||
+#
|
||||
+# Redistribution and use is allowed according to the terms of the BSD license.
|
||||
+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
|
||||
+
|
||||
+
|
||||
+# use pkg-config to get the directories and then use these values
|
||||
+# in the FIND_PATH() and FIND_LIBRARY() calls
|
||||
+if(NOT WIN32)
|
||||
+ find_package(PkgConfig)
|
||||
+ pkg_check_modules(PC_LCMS2 lcms2)
|
||||
+ set(LCMS2_DEFINITIONS ${PC_LCMS2_CFLAGS_OTHER})
|
||||
+endif(NOT WIN32)
|
||||
+
|
||||
+find_path(LCMS2_INCLUDE_DIR lcms2.h
|
||||
+ PATHS
|
||||
+ ${PC_LCMS2_INCLUDEDIR}
|
||||
+ ${PC_LCMS2_INCLUDE_DIRS}
|
||||
+ PATH_SUFFIXES lcms2 liblcms2
|
||||
+)
|
||||
+
|
||||
+find_library(LCMS2_LIBRARIES NAMES lcms2 liblcms2 lcms-2 liblcms-2
|
||||
+ PATHS
|
||||
+ ${PC_LCMS2_LIBDIR}
|
||||
+ ${PC_LCMS2_LIBRARY_DIRS}
|
||||
+ PATH_SUFFIXES lcms2
|
||||
+)
|
||||
+
|
||||
+if(LCMS2_INCLUDE_DIR AND LCMS2_LIBRARIES)
|
||||
+ set(LCMS2_FOUND TRUE)
|
||||
+else(LCMS2_INCLUDE_DIR AND LCMS2_LIBRARIES)
|
||||
+ set(LCMS2_FOUND FALSE)
|
||||
+endif(LCMS2_INCLUDE_DIR AND LCMS2_LIBRARIES)
|
||||
+
|
||||
+if(LCMS2_FOUND)
|
||||
+ file(READ ${LCMS2_INCLUDE_DIR}/lcms2.h LCMS2_VERSION_CONTENT)
|
||||
+ string(REGEX MATCH "#define LCMS_VERSION[ ]*[0-9]*\n" LCMS2_VERSION_MATCH ${LCMS2_VERSION_CONTENT})
|
||||
+ if(LCMS2_VERSION_MATCH)
|
||||
+ string(REGEX REPLACE "#define LCMS_VERSION[ ]*([0-9]*)\n" "\\1" LCMS2_VERSION ${LCMS2_VERSION_MATCH})
|
||||
+ if(NOT LCMS2_FIND_QUIETLY)
|
||||
+ string(SUBSTRING ${LCMS2_VERSION} 0 1 LCMS2_MAJOR_VERSION)
|
||||
+ string(SUBSTRING ${LCMS2_VERSION} 1 2 LCMS2_MINOR_VERSION)
|
||||
+ message(STATUS "Found lcms version ${LCMS2_MAJOR_VERSION}.${LCMS2_MINOR_VERSION}, ${LCMS2_LIBRARIES}")
|
||||
+ endif(NOT LCMS2_FIND_QUIETLY)
|
||||
+ else(LCMS2_VERSION_MATCH)
|
||||
+ if(NOT LCMS2_FIND_QUIETLY)
|
||||
+ message(STATUS "Found lcms2 but failed to find version ${LCMS2_LIBRARIES}")
|
||||
+ endif(NOT LCMS2_FIND_QUIETLY)
|
||||
+ set(LCMS2_VERSION NOTFOUND)
|
||||
+ endif(LCMS2_VERSION_MATCH)
|
||||
+else(LCMS2_FOUND)
|
||||
+ if(NOT LCMS2_FIND_QUIETLY)
|
||||
+ if(LCMS2_FIND_REQUIRED)
|
||||
+ message(FATAL_ERROR "Required package lcms2 NOT found")
|
||||
+ else(LCMS2_FIND_REQUIRED)
|
||||
+ message(STATUS "lcms2 NOT found")
|
||||
+ endif(LCMS2_FIND_REQUIRED)
|
||||
+ endif(NOT LCMS2_FIND_QUIETLY)
|
||||
+endif(LCMS2_FOUND)
|
||||
+
|
||||
+mark_as_advanced(LCMS2_INCLUDE_DIR LCMS2_LIBRARIES LCMS2_VERSION)
|
||||
+
|
||||
+
|
||||
diff -ruN poppler-0.20.0/CMakeLists.txt my/CMakeLists.txt
|
||||
--- poppler-0.20.0/CMakeLists.txt 2012-05-10 21:08:51.000000000 +0200
|
||||
+++ my/CMakeLists.txt 2012-05-18 01:14:34.103419581 +0200
|
||||
@@ -29,6 +29,7 @@
|
||||
option(ENABLE_CPP "Compile poppler cpp wrapper." ON)
|
||||
option(ENABLE_LIBOPENJPEG "Use libopenjpeg for JPX streams." ON)
|
||||
option(ENABLE_LCMS "Use liblcms for color management." ON)
|
||||
+option(ENABLE_LCMS2 "Use liblcms2 for color management." ON)
|
||||
option(ENABLE_LIBCURL "Build libcurl based HTTP support." OFF)
|
||||
option(ENABLE_ZLIB "Build with zlib (not totally safe)." OFF)
|
||||
option(USE_FIXEDPOINT "Use fixed point arithmetic in the Splash backend" OFF)
|
||||
@@ -136,16 +137,14 @@
|
||||
set(ENABLE_LIBOPENJPEG ${LIBOPENJPEG_FOUND})
|
||||
set(HAVE_OPENJPEG_H ON)
|
||||
endif(ENABLE_LIBOPENJPEG)
|
||||
-if(ENABLE_LCMS)
|
||||
+if(ENABLE_LCMS2)
|
||||
find_package(LCMS2)
|
||||
- if(LCMS2_FOUND)
|
||||
- set(USE_CMS ${LCMS2_FOUND})
|
||||
- else(LCMS2_FOUND)
|
||||
- find_package(LCMS)
|
||||
- set(USE_CMS ${LCMS_FOUND})
|
||||
- set(USE_LCMS1 ${LCMS_FOUND})
|
||||
- endif(LCMS2_FOUND)
|
||||
-endif(ENABLE_LCMS)
|
||||
+ set(USE_CMS ${LCMS2_FOUND})
|
||||
+elseif(ENABLE_LCMS)
|
||||
+ find_package(LCMS)
|
||||
+ set(USE_CMS ${LCMS_FOUND})
|
||||
+ set(USE_LCMS1 ${LCMS_FOUND})
|
||||
+endif(ENABLE_LCMS2)
|
||||
if(ENABLE_LIBCURL)
|
||||
find_package(CURL)
|
||||
include_directories(${CURL_INCLUDE_DIR})
|
@ -0,0 +1,35 @@
|
||||
diff -ruN poppler-0.20.0/CMakeLists.txt my/CMakeLists.txt
|
||||
--- poppler-0.20.0/CMakeLists.txt 2012-05-10 21:08:51.000000000 +0200
|
||||
+++ my/CMakeLists.txt 2012-05-18 01:14:34.103419581 +0200
|
||||
@@ -29,6 +29,7 @@
|
||||
option(ENABLE_CPP "Compile poppler cpp wrapper." ON)
|
||||
option(ENABLE_LIBOPENJPEG "Use libopenjpeg for JPX streams." ON)
|
||||
option(ENABLE_LCMS "Use liblcms for color management." ON)
|
||||
+option(ENABLE_LCMS2 "Use liblcms2 for color management." ON)
|
||||
option(ENABLE_LIBCURL "Build libcurl based HTTP support." OFF)
|
||||
option(ENABLE_ZLIB "Build with zlib (not totally safe)." OFF)
|
||||
option(USE_FIXEDPOINT "Use fixed point arithmetic in the Splash backend" OFF)
|
||||
@@ -136,16 +137,14 @@
|
||||
set(ENABLE_LIBOPENJPEG ${LIBOPENJPEG_FOUND})
|
||||
set(HAVE_OPENJPEG_H ON)
|
||||
endif(ENABLE_LIBOPENJPEG)
|
||||
-if(ENABLE_LCMS)
|
||||
+if(ENABLE_LCMS2)
|
||||
find_package(LCMS2)
|
||||
- if(LCMS2_FOUND)
|
||||
- set(USE_CMS ${LCMS2_FOUND})
|
||||
- else(LCMS2_FOUND)
|
||||
- find_package(LCMS)
|
||||
- set(USE_CMS ${LCMS_FOUND})
|
||||
- set(USE_LCMS1 ${LCMS_FOUND})
|
||||
- endif(LCMS2_FOUND)
|
||||
-endif(ENABLE_LCMS)
|
||||
+ set(USE_CMS ${LCMS2_FOUND})
|
||||
+elseif(ENABLE_LCMS)
|
||||
+ find_package(LCMS)
|
||||
+ set(USE_CMS ${LCMS_FOUND})
|
||||
+ set(USE_LCMS1 ${LCMS_FOUND})
|
||||
+endif(ENABLE_LCMS2)
|
||||
if(ENABLE_LIBCURL)
|
||||
find_package(CURL)
|
||||
include_directories(${CURL_INCLUDE_DIR})
|
@ -1,93 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/poppler-0.18.4.ebuild,v 1.2 2012/05/04 03:33:12 jdhore Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
|
||||
HOMEPAGE="http://poppler.freedesktop.org/"
|
||||
SRC_URI="http://poppler.freedesktop.org/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0"
|
||||
IUSE="cairo cjk curl cxx debug doc +introspection jpeg jpeg2k +lcms png qt4 tiff +utils +xpdf-headers"
|
||||
|
||||
# No test data provided
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=media-libs/fontconfig-2.6.0
|
||||
>=media-libs/freetype-2.3.9
|
||||
sys-libs/zlib
|
||||
cairo? (
|
||||
dev-libs/glib:2
|
||||
>=x11-libs/cairo-1.10.0
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.9.12 )
|
||||
)
|
||||
curl? ( net-misc/curl )
|
||||
jpeg? ( virtual/jpeg )
|
||||
jpeg2k? ( media-libs/openjpeg )
|
||||
lcms? ( =media-libs/lcms-1* )
|
||||
png? ( >=media-libs/libpng-1.4:0 )
|
||||
qt4? (
|
||||
x11-libs/qt-core:4
|
||||
x11-libs/qt-gui:4
|
||||
)
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!dev-libs/poppler
|
||||
!dev-libs/poppler-glib
|
||||
!dev-libs/poppler-qt3
|
||||
!dev-libs/poppler-qt4
|
||||
!app-text/poppler-utils
|
||||
cjk? ( >=app-text/poppler-data-0.4.4 )
|
||||
"
|
||||
|
||||
DOCS=(AUTHORS ChangeLog NEWS README README-XPDF TODO)
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
-DBUILD_GTK_TESTS=OFF
|
||||
-DBUILD_QT4_TESTS=OFF
|
||||
-DBUILD_CPP_TESTS=OFF
|
||||
-DENABLE_SPLASH=ON
|
||||
-DENABLE_ZLIB=ON
|
||||
$(cmake-utils_use_enable curl LIBCURL)
|
||||
$(cmake-utils_use_enable cxx CPP)
|
||||
$(cmake-utils_use_enable jpeg2k LIBOPENJPEG)
|
||||
$(cmake-utils_use_enable lcms)
|
||||
$(cmake-utils_use_enable utils)
|
||||
$(cmake-utils_use_enable xpdf-headers XPDF_HEADERS)
|
||||
$(cmake-utils_use_with cairo)
|
||||
$(cmake-utils_use_with introspection GObjectIntrospection)
|
||||
$(cmake-utils_use_with jpeg)
|
||||
$(cmake-utils_use_with png)
|
||||
$(cmake-utils_use_with qt4)
|
||||
$(cmake-utils_use_with tiff)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
if use cairo && use doc; then
|
||||
# For now install gtk-doc there
|
||||
insinto /usr/share/gtk-doc/html/poppler
|
||||
doins -r "${S}"/glib/reference/html/* || die 'failed to install API documentation'
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "After upgrading app-text/poppler you may need to reinstall packages"
|
||||
ewarn "linking to it. If you're not a portage-2.2_rc user, you're advised"
|
||||
ewarn "to run revdep-rebuild"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST qpdfview-0.2.2.tar.gz 97108 RMD160 2ab3d88a6b04da15e0b91ec0bcad44424696cfe5 SHA1 cc6f5f0e51704e21189e56987f8b8a4900f676e5 SHA256 d04623ad1d4e5f1f55d41989b08748ed0d034556c4f28ab0b6d6bf1e6e516cdb
|
||||
DIST qpdfview-0.3beta2.tar.gz 82515 RMD160 64658854be2e79919136ae4fc9ee322bfd3e30c9 SHA1 8d25ef52063087177958708cb621e292b89faab0 SHA256 9def0270e092b3f195047dc0fd368006c8f3e63fe7602d77c4890f36708191db
|
||||
DIST qpdfview-0.3beta3.tar.gz 85858 RMD160 0d37f66bd8ec5be8793a2a8e1b81dbc3ff9256d1 SHA1 f253b1756ac36dc39b2cfc1df0f01dd174d7dfe5 SHA256 6e55685bb3dcb89cbcf1b82e845554ab2d53084a8bce43954e4805b6b051725f
|
||||
|
@ -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/app-text/qpdfview/qpdfview-0.3_beta3.ebuild,v 1.1 2012/06/14 09:16:36 yngwin Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit qt4-r2
|
||||
|
||||
DESCRIPTION="A tabbed PDF viewer using the poppler library"
|
||||
HOMEPAGE="http://launchpad.net/qpdfview"
|
||||
SRC_URI="https://launchpad.net/${PN}/trunk/${PV/_}/+download/${P/_}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="cups dbus"
|
||||
|
||||
RDEPEND="app-text/poppler[qt4]
|
||||
x11-libs/qt-core:4[iconv]
|
||||
x11-libs/qt-gui:4
|
||||
cups? ( net-print/cups )
|
||||
dbus? ( x11-libs/qt-dbus:4 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS="README TODO"
|
||||
|
||||
S=${WORKDIR}/${P/_}
|
||||
|
||||
src_configure() {
|
||||
local config
|
||||
|
||||
if ! use cups ; then
|
||||
config+=" without_cups"
|
||||
fi
|
||||
|
||||
if ! use dbus ; then
|
||||
config+=" without_dbus"
|
||||
fi
|
||||
|
||||
eqmake4 CONFIG+="${config}"
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST libcmis-0.1.0.tar.gz 373429 RMD160 a6e0337e2ef2dbfea4e01dbcce3fa6d7a123372a SHA1 1bf5920fa5bf40cba06387f63c3fc7a28ca14358 SHA256 2452f9a746d85a126a9a61d71330f6ecca5449f1ab08f43924d660a143bd7e95
|
||||
DIST libcmis-0.2.2.tar.gz 434660 RMD160 794c74b7f37a3f5625fbc12b48270bf3fcf9ef35 SHA1 13341c533b3bbc91f3f3ca7af249229ca7b2af6f SHA256 6e4f46ec7cdaea3cb2dc0564ae604df2434723e9cfab22d2ded8c8e9640408d3
|
||||
DIST libcmis-0.2.3.tar.gz 432064 RMD160 8ba8ab4302bc9d94aeabc0dccdc56a2157b7bfaa SHA1 9cc8d29cc129d1aca1a1f24e799eebd6f2f1b93d SHA256 a4ace7c0280e5ee8d4941b33449ee10edf1515437483d55ae387cc4de2c2bea0
|
||||
|
@ -1,27 +0,0 @@
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 624adef..ed6adff 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -1,4 +1,4 @@
|
||||
-SUBDIRS = src doc
|
||||
+SUBDIRS = src
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
pcfiles = libcmis-@LIBCMIS_API_VERSION@.pc
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index b0c94cc..9d6aedc 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -44,12 +44,6 @@ AC_PROG_MAKE_SET
|
||||
AC_PROG_LIBTOOL
|
||||
AC_LIBTOOL_WIN32_DLL
|
||||
|
||||
-# TODO Check for docbook-to-man
|
||||
-AC_CHECK_PROG(DOCBOOK2X,[docbook-to-man],[docbook2X])
|
||||
-if test "x$DOCBOOK2X" = "x"; then
|
||||
- AC_MSG_ERROR([docbook-to-man is missing. Install docbook2X package.])
|
||||
-fi
|
||||
-
|
||||
AC_ARG_ENABLE([werror],
|
||||
[AS_HELP_STRING([--disable-werror], [Treat all warnings as errors, usefull for development])],
|
||||
[enable_werror="$enableval"],
|
@ -0,0 +1,340 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.7.0.5.ebuild,v 1.1 2012/06/14 09:58:30 sera Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit java-vm-2 eutils prefix versionator
|
||||
|
||||
# This URIs need to be updated when bumping!
|
||||
JDK_URI="http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1637583.html"
|
||||
JCE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html"
|
||||
|
||||
UPDATE="$(get_version_component_range 4)"
|
||||
MY_PV="$(get_version_component_range 2)u${UPDATE}"
|
||||
S_PV="$(get_version_component_range 1-3)_0${UPDATE}"
|
||||
|
||||
X86_AT="jdk-${MY_PV}-linux-i586.tar.gz"
|
||||
AMD64_AT="jdk-${MY_PV}-linux-x64.tar.gz"
|
||||
SOL_X86_AT="jdk-${MY_PV}-solaris-i586.tar.gz"
|
||||
SOL_AMD64_AT="jdk-${MY_PV}-solaris-x64.tar.gz"
|
||||
SOL_SPARC_AT="jdk-${MY_PV}-solaris-sparc.tar.gz"
|
||||
SOL_SPARCv9_AT="jdk-${MY_PV}-solaris-sparcv9.tar.gz"
|
||||
|
||||
X86_DEMOS="jdk-${MY_PV}-linux-i586-demos.tar.gz"
|
||||
AMD64_DEMOS="jdk-${MY_PV}-linux-x64-demos.tar.gz"
|
||||
SOL_X86_DEMOS="jdk-${MY_PV}-solaris-i586-demos.tar.gz"
|
||||
SOL_AMD64_DEMOS="jdk-${MY_PV}-solaris-x64-demos.tar.gz"
|
||||
SOL_SPARC_DEMOS="jdk-${MY_PV}-solaris-sparc-demos.tar.gz"
|
||||
SOL_SPARCv9_DEMOS="jdk-${MY_PV}-solaris-sparcv9-demos.tar.gz"
|
||||
|
||||
JCE_DIR="UnlimitedJCEPolicy"
|
||||
JCE_FILE="${JCE_DIR}JDK7.zip"
|
||||
|
||||
DESCRIPTION="Oracle's Java SE Development Kit"
|
||||
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/"
|
||||
SRC_URI="
|
||||
x86? ( ${X86_AT}
|
||||
examples? ( ${X86_DEMOS} ) )
|
||||
amd64? ( ${AMD64_AT}
|
||||
examples? ( ${AMD64_DEMOS} ) )
|
||||
x86-solaris? ( ${SOL_X86_AT}
|
||||
examples? ( ${SOL_X86_DEMOS} ) )
|
||||
x64-solaris? ( ${SOL_X86_AT} ${SOL_AMD64_AT}
|
||||
examples? ( ${SOL_X86_DEMOS} ${SOL_AMD64_DEMOS} ) )
|
||||
sparc-solaris? ( ${SOL_SPARC_AT}
|
||||
examples? ( ${SOL_SPARC_DEMOS} ) )
|
||||
sparc64-solaris? ( ${SOL_SPARC_AT} ${SOL_SPARCv9_AT}
|
||||
examples? ( ${SOL_SPARC_DEMOS} ${SOL_SPARCv9_DEMOS} ) )
|
||||
jce? ( ${JCE_FILE} )"
|
||||
|
||||
LICENSE="Oracle-BCLA-JavaSE"
|
||||
SLOT="1.7"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
IUSE="X alsa derby doc examples jce nsplugin +source"
|
||||
RESTRICT="fetch strip"
|
||||
|
||||
RDEPEND="
|
||||
X? (
|
||||
x11-libs/libXext
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXtst
|
||||
x11-libs/libX11
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
doc? ( dev-java/java-sdk-docs:1.7 )
|
||||
!prefix? ( sys-libs/glibc )"
|
||||
DEPEND="
|
||||
jce? ( app-arch/unzip )"
|
||||
|
||||
S="${WORKDIR}/jdk${S_PV}"
|
||||
|
||||
pkg_nofetch() {
|
||||
if use x86; then
|
||||
AT=${X86_AT}
|
||||
elif use amd64; then
|
||||
AT=${AMD64_AT}
|
||||
elif use x86-solaris; then
|
||||
AT=${SOL_X86_AT}
|
||||
elif use x64-solaris; then
|
||||
AT="${SOL_X86_AT} and ${SOL_AMD64_AT}"
|
||||
elif use sparc-solaris; then
|
||||
AT=${SOL_SPARC_AT}
|
||||
elif use sparc64-solaris; then
|
||||
AT="${SOL_SPARC_AT} and ${SOL_SPARCv9_AT}"
|
||||
fi
|
||||
|
||||
if use x86; then
|
||||
DEMOS=${X86_DEMOS}
|
||||
elif use amd64; then
|
||||
DEMOS=${AMD64_DEMOS}
|
||||
elif use x86-solaris; then
|
||||
DEMOS=${SOL_X86_DEMOS}
|
||||
elif use x64-solaris; then
|
||||
DEMOS="${SOL_X86_DEMOS} and ${SOL_AMD64_DEMOS}"
|
||||
elif use sparc-solaris; then
|
||||
DEMOS=${SOL_SPARC_AT}
|
||||
elif use sparc64-solaris; then
|
||||
DEMOS="${SOL_SPARC_AT_DEMOS} and ${SOL_SPARCv9_DEMOS}"
|
||||
fi
|
||||
|
||||
einfo "Please download ${AT} from:"
|
||||
einfo "${JDK_URI}"
|
||||
einfo "and move it to ${DISTDIR}"
|
||||
|
||||
if use examples; then
|
||||
einfo "Also download ${DEMOS} from:"
|
||||
einfo "${JDK_URI}"
|
||||
einfo "and move it to ${DISTDIR}"
|
||||
fi
|
||||
|
||||
if use jce; then
|
||||
einfo "Also download ${JCE_FILE} from:"
|
||||
einfo "${JCE_URI}"
|
||||
einfo "and move it to ${DISTDIR}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if use jce; then
|
||||
mv "${WORKDIR}"/${JCE_DIR} "${S}"/jre/lib/security/ || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# This needs to be done before CDS - #215225
|
||||
java-vm_set-pax-markings "${S}"
|
||||
|
||||
# see bug #207282
|
||||
einfo "Creating the Class Data Sharing archives"
|
||||
if use x86; then
|
||||
bin/java -client -Xshare:dump || die
|
||||
fi
|
||||
bin/java -server -Xshare:dump || die
|
||||
|
||||
# Create files used as storage for system preferences.
|
||||
mkdir jre/.systemPrefs || die
|
||||
touch jre/.systemPrefs/.system.lock || die
|
||||
touch jre/.systemPrefs/.systemRootModFile || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# We should not need the ancient plugin for Firefox 2 anymore, plus it has
|
||||
# writable executable segments
|
||||
if use x86; then
|
||||
rm -vf {,jre/}lib/i386/libjavaplugin_oji.so \
|
||||
{,jre/}lib/i386/libjavaplugin_nscp*.so
|
||||
rm -vrf jre/plugin/i386
|
||||
fi
|
||||
# Without nsplugin flag, also remove the new plugin
|
||||
local arch=${ARCH};
|
||||
use x86 && arch=i386;
|
||||
if ! use nsplugin; then
|
||||
rm -vf {,jre/}lib/${arch}/libnpjp2.so \
|
||||
{,jre/}lib/${arch}/libjavaplugin_jni.so
|
||||
fi
|
||||
|
||||
dodir /opt/${P}
|
||||
cp -pPR bin include jre lib man "${ED}"/opt/${P} || die
|
||||
|
||||
if use derby; then
|
||||
cp -pPR db "${ED}"/opt/${P} || die
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
cp -pPR demo sample "${ED}"/opt/${P} || die
|
||||
fi
|
||||
|
||||
# Remove empty dirs we might have copied
|
||||
find "${D}" -type d -empty -exec rmdir {} + || die
|
||||
|
||||
dodoc COPYRIGHT
|
||||
dohtml README.html
|
||||
|
||||
if use jce; then
|
||||
dodir /opt/${P}/jre/lib/security/strong-jce
|
||||
mv "${ED}"/opt/${P}/jre/lib/security/US_export_policy.jar \
|
||||
"${ED}"/opt/${P}/jre/lib/security/strong-jce || die
|
||||
mv "${ED}"/opt/${P}/jre/lib/security/local_policy.jar \
|
||||
"${ED}"/opt/${P}/jre/lib/security/strong-jce || die
|
||||
dosym /opt/${P}/jre/lib/security/${JCE_DIR}/US_export_policy.jar \
|
||||
/opt/${P}/jre/lib/security/US_export_policy.jar
|
||||
dosym /opt/${P}/jre/lib/security/${JCE_DIR}/local_policy.jar \
|
||||
/opt/${P}/jre/lib/security/local_policy.jar
|
||||
fi
|
||||
|
||||
if use nsplugin; then
|
||||
install_mozilla_plugin /opt/${P}/jre/lib/${arch}/libnpjp2.so
|
||||
fi
|
||||
|
||||
if use source; then
|
||||
cp src.zip "${ED}"/opt/${P} || die
|
||||
fi
|
||||
|
||||
# Install desktop file for the Java Control Panel.
|
||||
# Using ${PN}-${SLOT} to prevent file collision with jre and or other slots.
|
||||
# make_desktop_entry can't be used as ${P} would end up in filename.
|
||||
newicon jre/lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png \
|
||||
sun-jcontrol-${PN}-${SLOT}.png || die
|
||||
sed -e "s#Name=.*#Name=Java Control Panel for Oracle JDK ${SLOT}#" \
|
||||
-e "s#Exec=.*#Exec=/opt/${P}/jre/bin/jcontrol#" \
|
||||
-e "s#Icon=.*#Icon=sun-jcontrol-${PN}-${SLOT}.png#" \
|
||||
jre/lib/desktop/applications/sun_java.desktop > \
|
||||
"${T}"/jcontrol-${PN}-${SLOT}.desktop || die
|
||||
domenu "${T}"/jcontrol-${PN}-${SLOT}.desktop
|
||||
|
||||
# bug #56444
|
||||
cp "${FILESDIR}"/fontconfig.Gentoo.properties "${T}"/fontconfig.properties || die
|
||||
eprefixify "${T}"/fontconfig.properties
|
||||
insinto /opt/${P}/jre/lib/
|
||||
doins "${T}"/fontconfig.properties
|
||||
|
||||
set_java_env
|
||||
java-vm_revdep-mask
|
||||
java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
|
||||
}
|
||||
|
||||
QA_TEXTRELS_x86="
|
||||
opt/${P}/jre/lib/i386/client/libjvm.so
|
||||
opt/${P}/jre/lib/i386/server/libjvm.so"
|
||||
QA_FLAGS_IGNORED="
|
||||
/opt/${P}/bin/appletviewer
|
||||
/opt/${P}/bin/apt
|
||||
/opt/${P}/bin/extcheck
|
||||
/opt/${P}/bin/idlj
|
||||
/opt/${P}/bin/jar
|
||||
/opt/${P}/bin/jarsigner
|
||||
/opt/${P}/bin/java
|
||||
/opt/${P}/bin/javac
|
||||
/opt/${P}/bin/javadoc
|
||||
/opt/${P}/bin/javah
|
||||
/opt/${P}/bin/javap
|
||||
/opt/${P}/bin/javaws
|
||||
/opt/${P}/bin/jcmd
|
||||
/opt/${P}/bin/jconsole
|
||||
/opt/${P}/bin/jdb
|
||||
/opt/${P}/bin/jhat
|
||||
/opt/${P}/bin/jinfo
|
||||
/opt/${P}/bin/jmap
|
||||
/opt/${P}/bin/jps
|
||||
/opt/${P}/bin/jrunscript
|
||||
/opt/${P}/bin/jsadebugd
|
||||
/opt/${P}/bin/jstack
|
||||
/opt/${P}/bin/jstat
|
||||
/opt/${P}/bin/jstatd
|
||||
/opt/${P}/bin/keytool
|
||||
/opt/${P}/bin/native2ascii
|
||||
/opt/${P}/bin/orbd
|
||||
/opt/${P}/bin/pack200
|
||||
/opt/${P}/bin/policytool
|
||||
/opt/${P}/bin/rmic
|
||||
/opt/${P}/bin/rmid
|
||||
/opt/${P}/bin/rmiregistry
|
||||
/opt/${P}/bin/schemagen
|
||||
/opt/${P}/bin/serialver
|
||||
/opt/${P}/bin/servertool
|
||||
/opt/${P}/bin/tnameserv
|
||||
/opt/${P}/bin/unpack200
|
||||
/opt/${P}/bin/wsgen
|
||||
/opt/${P}/bin/wsimport
|
||||
/opt/${P}/bin/xjc
|
||||
/opt/${P}/demo/jvmti/compiledMethodLoad/lib/libcompiledMethodLoad.so
|
||||
/opt/${P}/demo/jvmti/gctest/lib/libgctest.so
|
||||
/opt/${P}/demo/jvmti/heapTracker/lib/libheapTracker.so
|
||||
/opt/${P}/demo/jvmti/heapViewer/lib/libheapViewer.so
|
||||
/opt/${P}/demo/jvmti/hprof/lib/libhprof.so
|
||||
/opt/${P}/demo/jvmti/minst/lib/libminst.so
|
||||
/opt/${P}/demo/jvmti/mtrace/lib/libmtrace.so
|
||||
/opt/${P}/demo/jvmti/versionCheck/lib/libversionCheck.so
|
||||
/opt/${P}/demo/jvmti/waiters/lib/libwaiters.so
|
||||
/opt/${P}/jre/bin/java
|
||||
/opt/${P}/jre/bin/java_vm
|
||||
/opt/${P}/jre/bin/javaws
|
||||
/opt/${P}/jre/bin/keytool
|
||||
/opt/${P}/jre/bin/orbd
|
||||
/opt/${P}/jre/bin/pack200
|
||||
/opt/${P}/jre/bin/policytool
|
||||
/opt/${P}/jre/bin/rmid
|
||||
/opt/${P}/jre/bin/rmiregistry
|
||||
/opt/${P}/jre/bin/servertool
|
||||
/opt/${P}/jre/bin/tnameserv
|
||||
/opt/${P}/jre/bin/unpack200
|
||||
/opt/${P}/jre/lib/jexec
|
||||
/opt/${P}/lib/jexec
|
||||
/opt/${P}/lib/visualvm/profiler/lib/deployed/jdk15/linux-amd64/libprofilerinterface.so
|
||||
/opt/${P}/lib/visualvm/profiler/lib/deployed/jdk16/linux-amd64/libprofilerinterface.so"
|
||||
for java_system_arch in amd64 i386; do
|
||||
QA_FLAGS_IGNORED+="
|
||||
/opt/${P}/jre/lib/${java_system_arch}/headless/libmawt.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/jli/libjli.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libattach.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libawt.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libcmm.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libdcpr.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libdeploy.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libdt_socket.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libfontmanager.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libhprof.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libinstrument.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libioser12.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libj2gss.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libj2pcsc.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libj2pkcs11.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libjaas_unix.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libjava_crw_demo.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libjavaplugin_jni.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libjava.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libjawt.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libJdbcOdbc.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libjdwp.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libjfr.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libjpeg.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libjsdt.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libjsig.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libjsoundalsa.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libjsound.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libkcms.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libmanagement.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libmlib_image.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libnative_chmod_g.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libnative_chmod.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libnet.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libnio.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libnpjp2.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libnpt.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/librmi.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libsaproc.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libsctp.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libsplashscreen.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libsunec.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libt2k.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libunpack.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libverify.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libzip.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/motif21/libmawt.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/native_threads/libhpi.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/server/libjvm.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/xawt/libmawt.so"
|
||||
done
|
@ -0,0 +1,220 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.5.ebuild,v 1.1 2012/06/14 09:33:22 sera Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit java-vm-2 eutils prefix versionator
|
||||
|
||||
UPDATE="$(get_version_component_range 4)"
|
||||
MY_PV="$(get_version_component_range 2)u${UPDATE}"
|
||||
S_PV="$(get_version_component_range 1-3)_0${UPDATE}"
|
||||
|
||||
X86_AT="jre-${MY_PV}-linux-i586.tar.gz"
|
||||
AMD64_AT="jre-${MY_PV}-linux-x64.tar.gz"
|
||||
|
||||
# This URIs need updating when bumping!
|
||||
JRE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1637588.html"
|
||||
JCE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html"
|
||||
|
||||
JCE_DIR="UnlimitedJCEPolicy"
|
||||
JCE_FILE="${JCE_DIR}JDK7.zip"
|
||||
|
||||
DESCRIPTION="Oracle's Java SE Runtime Environment"
|
||||
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/"
|
||||
SRC_URI="
|
||||
x86? ( ${X86_AT} )
|
||||
amd64? ( ${AMD64_AT} )
|
||||
jce? ( ${JCE_FILE} )"
|
||||
|
||||
LICENSE="Oracle-BCLA-JavaSE"
|
||||
SLOT="1.7"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="X alsa jce nsplugin"
|
||||
RESTRICT="fetch strip"
|
||||
|
||||
RDEPEND="
|
||||
X? (
|
||||
x11-libs/libXext
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXtst
|
||||
x11-libs/libX11
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
!prefix? ( sys-libs/glibc )"
|
||||
DEPEND="
|
||||
jce? ( app-arch/unzip )"
|
||||
|
||||
S="${WORKDIR}/jre${S_PV}"
|
||||
|
||||
pkg_nofetch() {
|
||||
if use x86; then
|
||||
AT=${X86_AT}
|
||||
elif use amd64; then
|
||||
AT=${AMD64_AT}
|
||||
fi
|
||||
|
||||
einfo "Please download ${AT} from:"
|
||||
einfo "${JRE_URI}"
|
||||
einfo "and move it to ${DISTDIR}"
|
||||
|
||||
if use jce; then
|
||||
einfo "Also download ${JCE_FILE} from:"
|
||||
einfo "${JCE_URI}"
|
||||
einfo "and move it to ${DISTDIR}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if use jce; then
|
||||
mv "${WORKDIR}"/${JCE_DIR} lib/security/ || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# This needs to be done before CDS - #215225
|
||||
java-vm_set-pax-markings "${S}"
|
||||
|
||||
# see bug #207282
|
||||
einfo "Creating the Class Data Sharing archives"
|
||||
if use x86; then
|
||||
bin/java -client -Xshare:dump || die
|
||||
fi
|
||||
bin/java -server -Xshare:dump || die
|
||||
|
||||
# Create files used as storage for system preferences.
|
||||
mkdir .systemPrefs || die
|
||||
touch .systemPrefs/.system.lock || die
|
||||
touch .systemPrefs/.systemRootModFile || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# We should not need the ancient plugin for Firefox 2 anymore, plus it has
|
||||
# writable executable segments
|
||||
if use x86; then
|
||||
rm -vf lib/i386/libjavaplugin_oji.so \
|
||||
lib/i386/libjavaplugin_nscp*.so
|
||||
rm -vrf plugin/i386
|
||||
fi
|
||||
# Without nsplugin flag, also remove the new plugin
|
||||
local arch=${ARCH};
|
||||
use x86 && arch=i386;
|
||||
if ! use nsplugin; then
|
||||
rm -vf lib/${arch}/libnpjp2.so \
|
||||
lib/${arch}/libjavaplugin_jni.so
|
||||
fi
|
||||
|
||||
dodir /opt/${P}
|
||||
cp -pPR bin lib man "${ED}"/opt/${P} || die
|
||||
|
||||
# Remove empty dirs we might have copied
|
||||
find "${D}" -type d -empty -exec rmdir -v {} + || die
|
||||
|
||||
dodoc COPYRIGHT README
|
||||
|
||||
if use jce; then
|
||||
dodir /opt/${P}/lib/security/strong-jce
|
||||
mv "${ED}"/opt/${P}/lib/security/US_export_policy.jar \
|
||||
"${ED}"/opt/${P}/lib/security/strong-jce || die
|
||||
mv "${ED}"/opt/${P}/lib/security/local_policy.jar \
|
||||
"${ED}"/opt/${P}/lib/security/strong-jce || die
|
||||
dosym /opt/${P}/lib/security/${JCE_DIR}/US_export_policy.jar \
|
||||
/opt/${P}/lib/security/US_export_policy.jar
|
||||
dosym /opt/${P}/lib/security/${JCE_DIR}/local_policy.jar \
|
||||
/opt/${P}/lib/security/local_policy.jar
|
||||
fi
|
||||
|
||||
if use nsplugin; then
|
||||
install_mozilla_plugin /opt/${P}/lib/${arch}/libnpjp2.so
|
||||
fi
|
||||
|
||||
# Install desktop file for the Java Control Panel.
|
||||
# Using ${PN}-${SLOT} to prevent file collision with jre and or other slots.
|
||||
# make_desktop_entry can't be used as ${P} would end up in filename.
|
||||
newicon lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png \
|
||||
sun-jcontrol-${PN}-${SLOT}.png || die
|
||||
sed -e "s#Name=.*#Name=Java Control Panel for Oracle JRE ${SLOT}#" \
|
||||
-e "s#Exec=.*#Exec=/opt/${P}/bin/jcontrol#" \
|
||||
-e "s#Icon=.*#Icon=sun-jcontrol-${PN}-${SLOT}.png#" \
|
||||
lib/desktop/applications/sun_java.desktop > \
|
||||
"${T}"/jcontrol-${PN}-${SLOT}.desktop || die
|
||||
domenu "${T}"/jcontrol-${PN}-${SLOT}.desktop
|
||||
|
||||
# bug #56444
|
||||
cp "${FILESDIR}"/fontconfig.Gentoo.properties "${T}"/fontconfig.properties || die
|
||||
eprefixify "${T}"/fontconfig.properties
|
||||
insinto /opt/${P}/lib/
|
||||
doins "${T}"/fontconfig.properties
|
||||
|
||||
# bug #388127
|
||||
dodir /etc/sandbox.d
|
||||
echo 'SANDBOX_PREDICT="/dev/random:/proc/self/coredump_filter"' > "${D}/etc/sandbox.d/20${VMHANDLE}"
|
||||
|
||||
set_java_env
|
||||
java-vm_revdep-mask
|
||||
}
|
||||
|
||||
QA_TEXTRELS_x86="
|
||||
opt/${P}/lib/i386/client/libjvm.so
|
||||
opt/${P}/lib/i386/server/libjvm.so"
|
||||
QA_FLAGS_IGNORED+="
|
||||
/opt/${P}/bin/java
|
||||
/opt/${P}/bin/java_vm
|
||||
/opt/${P}/bin/javaws
|
||||
/opt/${P}/bin/keytool
|
||||
/opt/${P}/bin/orbd
|
||||
/opt/${P}/bin/pack200
|
||||
/opt/${P}/bin/policytool
|
||||
/opt/${P}/bin/rmid
|
||||
/opt/${P}/bin/rmiregistry
|
||||
/opt/${P}/bin/servertool
|
||||
/opt/${P}/bin/tnameserv
|
||||
/opt/${P}/bin/unpack200
|
||||
/opt/${P}/lib/jexec"
|
||||
for java_system_arch in amd64 i386; do
|
||||
QA_FLAGS_IGNORED+="
|
||||
/opt/${P}/lib/${java_system_arch}/headless/libmawt.so
|
||||
/opt/${P}/lib/${java_system_arch}/jli/libjli.so
|
||||
/opt/${P}/lib/${java_system_arch}/libawt.so
|
||||
/opt/${P}/lib/${java_system_arch}/libdcpr.so
|
||||
/opt/${P}/lib/${java_system_arch}/libdeploy.so
|
||||
/opt/${P}/lib/${java_system_arch}/libdt_socket.so
|
||||
/opt/${P}/lib/${java_system_arch}/libfontmanager.so
|
||||
/opt/${P}/lib/${java_system_arch}/libhprof.so
|
||||
/opt/${P}/lib/${java_system_arch}/libinstrument.so
|
||||
/opt/${P}/lib/${java_system_arch}/libj2gss.so
|
||||
/opt/${P}/lib/${java_system_arch}/libj2pcsc.so
|
||||
/opt/${P}/lib/${java_system_arch}/libj2pkcs11.so
|
||||
/opt/${P}/lib/${java_system_arch}/libjaas_unix.so
|
||||
/opt/${P}/lib/${java_system_arch}/libjava_crw_demo.so
|
||||
/opt/${P}/lib/${java_system_arch}/libjavaplugin_jni.so
|
||||
/opt/${P}/lib/${java_system_arch}/libjava.so
|
||||
/opt/${P}/lib/${java_system_arch}/libjawt.so
|
||||
/opt/${P}/lib/${java_system_arch}/libJdbcOdbc.so
|
||||
/opt/${P}/lib/${java_system_arch}/libjdwp.so
|
||||
/opt/${P}/lib/${java_system_arch}/libjfr.so
|
||||
/opt/${P}/lib/${java_system_arch}/libjpeg.so
|
||||
/opt/${P}/lib/${java_system_arch}/libjsdt.so
|
||||
/opt/${P}/lib/${java_system_arch}/libjsig.so
|
||||
/opt/${P}/lib/${java_system_arch}/libjsoundalsa.so
|
||||
/opt/${P}/lib/${java_system_arch}/libjsound.so
|
||||
/opt/${P}/lib/${java_system_arch}/libkcms.so
|
||||
/opt/${P}/lib/${java_system_arch}/libmanagement.so
|
||||
/opt/${P}/lib/${java_system_arch}/libmlib_image.so
|
||||
/opt/${P}/lib/${java_system_arch}/libnet.so
|
||||
/opt/${P}/lib/${java_system_arch}/libnio.so
|
||||
/opt/${P}/lib/${java_system_arch}/libnpjp2.so
|
||||
/opt/${P}/lib/${java_system_arch}/libnpt.so
|
||||
/opt/${P}/lib/${java_system_arch}/librmi.so
|
||||
/opt/${P}/lib/${java_system_arch}/libsctp.so
|
||||
/opt/${P}/lib/${java_system_arch}/libsplashscreen.so
|
||||
/opt/${P}/lib/${java_system_arch}/libsunec.so
|
||||
/opt/${P}/lib/${java_system_arch}/libt2k.so
|
||||
/opt/${P}/lib/${java_system_arch}/libunpack.so
|
||||
/opt/${P}/lib/${java_system_arch}/libverify.so
|
||||
/opt/${P}/lib/${java_system_arch}/libzip.so
|
||||
/opt/${P}/lib/${java_system_arch}/server/libjvm.so
|
||||
/opt/${P}/lib/${java_system_arch}/xawt/libmawt.so"
|
||||
done
|
@ -0,0 +1,363 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/sun-jdk-1.6.0.33.ebuild,v 1.1 2012/06/14 09:09:00 sera Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit java-vm-2 eutils prefix versionator
|
||||
|
||||
# This URIs need to be updated when bumping!
|
||||
JDK_URI="http://www.oracle.com/technetwork/java/javase/downloads/jdk6-downloads-1637591.html"
|
||||
|
||||
MY_PV="$(get_version_component_range 2)u$(get_version_component_range 4)"
|
||||
S_PV="$(replace_version_separator 3 '_')"
|
||||
|
||||
X86_AT="jdk-${MY_PV}-linux-i586.bin"
|
||||
AMD64_AT="jdk-${MY_PV}-linux-x64.bin"
|
||||
IA64_AT="jdk-${MY_PV}-linux-ia64.bin"
|
||||
SOL_X86_AT="jdk-${MY_PV}-solaris-i586.sh"
|
||||
SOL_AMD64_AT="jdk-${MY_PV}-solaris-x64.sh"
|
||||
SOL_SPARC_AT="jdk-${MY_PV}-solaris-sparc.sh"
|
||||
SOL_SPARCv9_AT="jdk-${MY_PV}-solaris-sparcv9.sh"
|
||||
|
||||
X86_DEMOS="jdk-${MY_PV}-linux-i586-demos.tar.gz"
|
||||
AMD64_DEMOS="jdk-${MY_PV}-linux-x64-demos.tar.gz"
|
||||
IA64_DEMOS="jdk-${MY_PV}-linux-ia64-demos.tar.gz"
|
||||
SOL_X86_DEMOS="jdk-${MY_PV}-solaris-i586-demos.tar.Z"
|
||||
SOL_AMD64_DEMOS="jdk-${MY_PV}-solaris-x64-demos.tar.Z"
|
||||
SOL_SPARC_DEMOS="jdk-${MY_PV}-solaris-sparc-demos.tar.Z"
|
||||
SOL_SPARCv9_DEMOS="jdk-${MY_PV}-solaris-sparcv9-demos.tar.Z"
|
||||
|
||||
DESCRIPTION="Oracle's Java SE Development Kit"
|
||||
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/"
|
||||
SRC_URI="
|
||||
x86? ( ${X86_AT}
|
||||
examples? ( ${X86_DEMOS} ) )
|
||||
amd64? ( ${AMD64_AT}
|
||||
examples? ( ${AMD64_DEMOS} ) )
|
||||
ia64? ( ${IA64_AT}
|
||||
examples? ( ${IA64_DEMOS} ) )
|
||||
x86-solaris? ( ${SOL_X86_AT}
|
||||
examples? ( ${SOL_X86_DEMOS} ) )
|
||||
x64-solaris? ( ${SOL_X86_AT} ${SOL_AMD64_AT}
|
||||
examples? ( ${SOL_X86_DEMOS} ${SOL_AMD64_DEMOS} ) )
|
||||
sparc-solaris? ( ${SOL_SPARC_AT}
|
||||
examples? ( ${SOL_SPARC_DEMOS} ) )
|
||||
sparc64-solaris? ( ${SOL_SPARC_AT} ${SOL_SPARCv9_AT}
|
||||
examples? ( ${SOL_SPARC_DEMOS} ${SOL_SPARCv9_DEMOS} ) )"
|
||||
|
||||
LICENSE="Oracle-BCLA-JavaSE"
|
||||
SLOT="1.6"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
IUSE="X alsa derby doc examples jce kernel_SunOS nsplugin +source"
|
||||
|
||||
RESTRICT="fetch strip"
|
||||
|
||||
RDEPEND="
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXi
|
||||
x11-libs/libXt
|
||||
x11-libs/libXtst
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
doc? ( dev-java/java-sdk-docs:1.6.0 )
|
||||
jce? ( dev-java/sun-jce-bin:1.6 )
|
||||
kernel_SunOS? ( app-arch/unzip )
|
||||
!prefix? ( sys-libs/glibc )"
|
||||
|
||||
S="${WORKDIR}/jdk${S_PV}"
|
||||
|
||||
_set_at() {
|
||||
if use x86; then
|
||||
AT=${X86_AT}
|
||||
elif use amd64; then
|
||||
AT=${AMD64_AT}
|
||||
elif use ia64; then
|
||||
AT=${IA64_AT}
|
||||
elif use x86-solaris; then
|
||||
AT=${SOL_X86_AT}
|
||||
elif use x64-solaris; then
|
||||
AT="${SOL_X86_AT} and ${SOL_AMD64_AT}"
|
||||
elif use sparc-solaris; then
|
||||
AT=${SOL_SPARC_AT}
|
||||
elif use sparc64-solaris; then
|
||||
AT="${SOL_SPARC_AT} and ${SOL_SPARCv9_AT}"
|
||||
fi
|
||||
}
|
||||
|
||||
_set_demos() {
|
||||
if use x86; then
|
||||
DEMOS=${X86_DEMOS}
|
||||
elif use amd64; then
|
||||
DEMOS=${AMD64_DEMOS}
|
||||
elif use ia64; then
|
||||
DEMOS=${IA64_DEMOS}
|
||||
elif use x86-solaris; then
|
||||
DEMOS=${SOL_X86_DEMOS}
|
||||
elif use x64-solaris; then
|
||||
DEMOS="${SOL_X86_DEMOS} and ${SOL_AMD64_DEMOS}"
|
||||
elif use sparc-solaris; then
|
||||
DEMOS=${SOL_SPARC_AT}
|
||||
elif use sparc64-solaris; then
|
||||
DEMOS="${SOL_SPARC_AT_DEMOS} and ${SOL_SPARCv9_DEMOS}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_nofetch() {
|
||||
_set_at
|
||||
_set_demos
|
||||
|
||||
einfo "Due to Oracle no longer providing the distro-friendly DLJ bundles, the package"
|
||||
einfo "has become fetch restricted again. Alternatives are switching to"
|
||||
einfo "dev-java/icedtea-bin:6 or the source-based dev-java/icedtea:6"
|
||||
einfo ""
|
||||
einfo "Please download ${AT} from:"
|
||||
einfo "${JDK_URI}"
|
||||
einfo "and move it to ${DISTDIR}"
|
||||
|
||||
if use examples; then
|
||||
einfo ""
|
||||
einfo "Also download ${DEMOS} from:"
|
||||
einfo "${JDK_URI}"
|
||||
einfo "and move it to ${DISTDIR}"
|
||||
fi
|
||||
}
|
||||
|
||||
_sol_src_unpack() {
|
||||
for i in ${AT}; do
|
||||
[[ ${i} == "and" ]] && continue
|
||||
rm -f "${S}"/jre/{LICENSE,README} "${S}"/LICENSE
|
||||
# don't die on unzip, it always "fails"
|
||||
unzip "${DISTDIR}"/${i}
|
||||
done
|
||||
for f in $(find "${S}" -name "*.pack") ; do
|
||||
"${S}"/bin/unpack200 ${f} ${f%.pack}.jar
|
||||
rm ${f}
|
||||
done
|
||||
if use examples ; then
|
||||
for i in ${DEMOS}; do
|
||||
[[ ${i} == "and" ]] && continue
|
||||
use examples && unpack ${i}
|
||||
done
|
||||
mv "${WORKDIR}"/SUNWj6dmo/reloc/jdk/instances/jdk1.6.0/{demo,sample} \
|
||||
"${S}"/ || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
_set_at
|
||||
_set_demos
|
||||
if use kernel_SunOS; then
|
||||
_sol_src_unpack
|
||||
else
|
||||
sh "${DISTDIR}"/${AT} -noregister || die "Failed to unpack"
|
||||
use examples && unpack ${DEMOS}
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# This needs to be done before CDS - #215225
|
||||
java-vm_set-pax-markings "${S}"
|
||||
|
||||
# see bug #207282
|
||||
einfo "Creating the Class Data Sharing archives"
|
||||
if use x86; then
|
||||
bin/java -client -Xshare:dump || die
|
||||
fi
|
||||
# limit heap size for large memory on x86 #405239
|
||||
# this is a workaround and shouldn't be needed.
|
||||
bin/java -server -Xmx64m -Xshare:dump || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# We should not need the ancient plugin for Firefox 2 anymore, plus it has
|
||||
# writable executable segments
|
||||
if use x86; then
|
||||
rm -vf {,jre/}lib/i386/libjavaplugin_oji.so \
|
||||
{,jre/}lib/i386/libjavaplugin_nscp*.so
|
||||
rm -vrf jre/plugin/i386
|
||||
fi
|
||||
# Without nsplugin flag, also remove the new plugin
|
||||
local arch=${ARCH};
|
||||
use x86 && arch=i386;
|
||||
if ! use nsplugin; then
|
||||
rm -vf {,jre/}lib/${arch}/libnpjp2.so \
|
||||
{,jre/}lib/${arch}/libjavaplugin_jni.so
|
||||
fi
|
||||
|
||||
dodir /opt/${P}
|
||||
cp -pPR bin include jre lib man "${ED}"/opt/${P} || die
|
||||
|
||||
if use derby; then
|
||||
cp -pPR db "${ED}"/opt/${P} || die
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
cp -pPR demo sample "${ED}"/opt/${P} || die
|
||||
fi
|
||||
|
||||
# Remove empty dirs we might have copied
|
||||
find "${D}" -type d -empty -exec rmdir -v {} + || die
|
||||
|
||||
dodoc COPYRIGHT
|
||||
dohtml README.html
|
||||
|
||||
if use jce; then
|
||||
dodir /opt/${P}/jre/lib/security/strong-jce
|
||||
mv "${ED}"/opt/${P}/jre/lib/security/US_export_policy.jar \
|
||||
"${ED}"/opt/${P}/jre/lib/security/strong-jce || die
|
||||
mv "${ED}"/opt/${P}/jre/lib/security/local_policy.jar \
|
||||
"${ED}"/opt/${P}/jre/lib/security/strong-jce || die
|
||||
dosym /opt/sun-jce-bin-1.6.0/jre/lib/security/unlimited-jce/US_export_policy.jar \
|
||||
/opt/${P}/jre/lib/security/US_export_policy.jar
|
||||
dosym /opt/sun-jce-bin-1.6.0/jre/lib/security/unlimited-jce/local_policy.jar \
|
||||
/opt/${P}/jre/lib/security/local_policy.jar
|
||||
fi
|
||||
|
||||
if use nsplugin; then
|
||||
install_mozilla_plugin /opt/${P}/jre/lib/${arch}/libnpjp2.so
|
||||
fi
|
||||
|
||||
if use source; then
|
||||
cp src.zip "${ED}"/opt/${P} || die
|
||||
fi
|
||||
|
||||
# Install desktop file for the Java Control Panel.
|
||||
# Using ${PN}-${SLOT} to prevent file collision with jre and or other slots.
|
||||
# make_desktop_entry can't be used as ${P} would end up in filename.
|
||||
newicon jre/lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png \
|
||||
sun-jcontrol-${PN}-${SLOT}.png || die
|
||||
sed -e "s#Name=.*#Name=Java Control Panel for Oracle JDK ${SLOT} (sun-jdk)#" \
|
||||
-e "s#Exec=.*#Exec=/opt/${P}/jre/bin/jcontrol#" \
|
||||
-e "s#Icon=.*#Icon=sun-jcontrol-${PN}-${SLOT}.png#" \
|
||||
jre/lib/desktop/applications/sun_java.desktop > \
|
||||
"${T}"/jcontrol-${PN}-${SLOT}.desktop || die
|
||||
domenu "${T}"/jcontrol-${PN}-${SLOT}.desktop
|
||||
|
||||
# bug #56444
|
||||
cp "${FILESDIR}"/fontconfig.Gentoo.properties-r1 "${T}"/fontconfig.properties || die
|
||||
eprefixify "${T}"/fontconfig.properties
|
||||
insinto /opt/${P}/jre/lib/
|
||||
doins "${T}"/fontconfig.properties
|
||||
|
||||
set_java_env "${FILESDIR}/${VMHANDLE}.env-r1"
|
||||
java-vm_revdep-mask
|
||||
}
|
||||
|
||||
QA_TEXTRELS_x86="
|
||||
opt/${P}/jre/lib/i386/client/libjvm.so
|
||||
opt/${P}/jre/lib/i386/motif21/libmawt.so
|
||||
opt/${P}/jre/lib/i386/server/libjvm.so"
|
||||
QA_FLAGS_IGNORED="
|
||||
/opt/${P}/bin/appletviewer
|
||||
/opt/${P}/bin/apt
|
||||
/opt/${P}/bin/extcheck
|
||||
/opt/${P}/bin/idlj
|
||||
/opt/${P}/bin/jar
|
||||
/opt/${P}/bin/jarsigner
|
||||
/opt/${P}/bin/java
|
||||
/opt/${P}/bin/javac
|
||||
/opt/${P}/bin/javadoc
|
||||
/opt/${P}/bin/javah
|
||||
/opt/${P}/bin/javap
|
||||
/opt/${P}/bin/javaws
|
||||
/opt/${P}/bin/jconsole
|
||||
/opt/${P}/bin/jdb
|
||||
/opt/${P}/bin/jhat
|
||||
/opt/${P}/bin/jinfo
|
||||
/opt/${P}/bin/jmap
|
||||
/opt/${P}/bin/jps
|
||||
/opt/${P}/bin/jrunscript
|
||||
/opt/${P}/bin/jsadebugd
|
||||
/opt/${P}/bin/jstack
|
||||
/opt/${P}/bin/jstat
|
||||
/opt/${P}/bin/jstatd
|
||||
/opt/${P}/bin/keytool
|
||||
/opt/${P}/bin/native2ascii
|
||||
/opt/${P}/bin/orbd
|
||||
/opt/${P}/bin/pack200
|
||||
/opt/${P}/bin/policytool
|
||||
/opt/${P}/bin/rmic
|
||||
/opt/${P}/bin/rmid
|
||||
/opt/${P}/bin/rmiregistry
|
||||
/opt/${P}/bin/schemagen
|
||||
/opt/${P}/bin/serialver
|
||||
/opt/${P}/bin/servertool
|
||||
/opt/${P}/bin/tnameserv
|
||||
/opt/${P}/bin/unpack200
|
||||
/opt/${P}/bin/wsgen
|
||||
/opt/${P}/bin/wsimport
|
||||
/opt/${P}/bin/xjc
|
||||
/opt/${P}/demo/jvmti/gctest/lib/libgctest.so
|
||||
/opt/${P}/demo/jvmti/heapTracker/lib/libheapTracker.so
|
||||
/opt/${P}/demo/jvmti/heapViewer/lib/libheapViewer.so
|
||||
/opt/${P}/demo/jvmti/minst/lib/libminst.so
|
||||
/opt/${P}/demo/jvmti/mtrace/lib/libmtrace.so
|
||||
/opt/${P}/demo/jvmti/versionCheck/lib/libversionCheck.so
|
||||
/opt/${P}/demo/jvmti/waiters/lib/libwaiters.so
|
||||
/opt/${P}/jre/bin/java
|
||||
/opt/${P}/jre/bin/java_vm
|
||||
/opt/${P}/jre/bin/javaws
|
||||
/opt/${P}/jre/bin/keytool
|
||||
/opt/${P}/jre/bin/orbd
|
||||
/opt/${P}/jre/bin/pack200
|
||||
/opt/${P}/jre/bin/policytool
|
||||
/opt/${P}/jre/bin/rmid
|
||||
/opt/${P}/jre/bin/rmiregistry
|
||||
/opt/${P}/jre/bin/servertool
|
||||
/opt/${P}/jre/bin/tnameserv
|
||||
/opt/${P}/jre/bin/unpack200
|
||||
/opt/${P}/jre/lib/jexec
|
||||
/opt/${P}/lib/jexec
|
||||
/opt/${P}/lib/visualvm/profiler/lib/deployed/jdk15/linux-amd64/libprofilerinterface.so
|
||||
/opt/${P}/lib/visualvm/profiler/lib/deployed/jdk16/linux-amd64/libprofilerinterface.so"
|
||||
for java_system_arch in amd64 i386; do
|
||||
QA_FLAGS_IGNORED+="
|
||||
/opt/${P}/jre/lib/${java_system_arch}/headless/libmawt.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/jli/libjli.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libattach.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libawt.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libcmm.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libdcpr.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libdeploy.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libdt_socket.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libfontmanager.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libhprof.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libinstrument.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libioser12.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libj2gss.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libj2pcsc.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libj2pkcs11.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libjaas_unix.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libjava_crw_demo.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libjavaplugin_jni.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libjava.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libjawt.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libJdbcOdbc.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libjdwp.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libjpeg.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libjsig.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libjsoundalsa.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libjsound.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libmanagement.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libmlib_image.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libnative_chmod_g.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libnative_chmod.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libnet.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libnio.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libnpjp2.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libnpt.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/librmi.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libsaproc.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libsplashscreen.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libunpack.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libverify.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/libzip.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/motif21/libmawt.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/native_threads/libhpi.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/server/libjvm.so
|
||||
/opt/${P}/jre/lib/${java_system_arch}/xawt/libmawt.so"
|
||||
done
|
@ -0,0 +1,208 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.33.ebuild,v 1.1 2012/06/14 09:00:49 sera Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit java-vm-2 eutils prefix versionator
|
||||
|
||||
# This URIs need to be updated when bumping!
|
||||
JRE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jre6-downloads-1637595.html"
|
||||
|
||||
MY_PV="$(get_version_component_range 2)u$(get_version_component_range 4)"
|
||||
S_PV="$(replace_version_separator 3 '_')"
|
||||
|
||||
X86_AT="jre-${MY_PV}-linux-i586.bin"
|
||||
AMD64_AT="jre-${MY_PV}-linux-x64.bin"
|
||||
IA64_AT="jre-${MY_PV}-linux-ia64.bin"
|
||||
|
||||
DESCRIPTION="Oracle's Java SE Runtime Environment"
|
||||
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/"
|
||||
SRC_URI="
|
||||
amd64? ( ${AMD64_AT} )
|
||||
ia64? ( ${IA64_AT} )
|
||||
x86? ( ${X86_AT} )"
|
||||
|
||||
LICENSE="Oracle-BCLA-JavaSE"
|
||||
SLOT="1.6"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="X alsa jce nsplugin"
|
||||
|
||||
RESTRICT="fetch strip"
|
||||
|
||||
RDEPEND="
|
||||
X? (
|
||||
x11-libs/libXext
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXtst
|
||||
x11-libs/libX11
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
jce? ( dev-java/sun-jce-bin:1.6 )
|
||||
!prefix? ( sys-libs/glibc )"
|
||||
|
||||
S="${WORKDIR}/jre${S_PV}"
|
||||
|
||||
pkg_nofetch() {
|
||||
if use x86; then
|
||||
AT=${X86_AT}
|
||||
elif use amd64; then
|
||||
AT=${AMD64_AT}
|
||||
elif use ia64; then
|
||||
AT=${IA64_AT}
|
||||
fi
|
||||
|
||||
einfo "Due to Oracle no longer providing the distro-friendly DLJ bundles, the package"
|
||||
einfo "has become fetch restricted again. Alternatives are switching to"
|
||||
einfo "dev-java/icedtea-bin:6 or the source-based dev-java/icedtea:6"
|
||||
einfo ""
|
||||
einfo "Please download ${AT} from:"
|
||||
einfo "${JRE_URI}"
|
||||
einfo "and move it to ${DISTDIR}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
sh "${DISTDIR}"/${A} -noregister || die "Failed to unpack"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# This needs to be done before CDS - #215225
|
||||
java-vm_set-pax-markings "${S}"
|
||||
|
||||
# see bug #207282
|
||||
einfo "Creating the Class Data Sharing archives"
|
||||
if use x86; then
|
||||
bin/java -client -Xshare:dump || die
|
||||
fi
|
||||
# limit heap size for large memory on x86 #405239
|
||||
# this is a workaround and shouldn't be needed.
|
||||
bin/java -server -Xmx64m -Xshare:dump || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# We should not need the ancient plugin for Firefox 2 anymore, plus it has
|
||||
# writable executable segments
|
||||
if use x86; then
|
||||
rm -vf lib/i386/libjavaplugin_oji.so \
|
||||
lib/i386/libjavaplugin_nscp*.so
|
||||
rm -vrf plugin/i386
|
||||
fi
|
||||
# Without nsplugin flag, also remove the new plugin
|
||||
local arch=${ARCH};
|
||||
use x86 && arch=i386;
|
||||
if ! use nsplugin; then
|
||||
rm -vf lib/${arch}/libnpjp2.so \
|
||||
lib/${arch}/libjavaplugin_jni.so
|
||||
fi
|
||||
|
||||
dodir /opt/${P}
|
||||
cp -pPR bin lib man "${ED}"/opt/${P} || die
|
||||
|
||||
# Remove empty dirs we might have copied
|
||||
find "${D}" -type d -empty -exec rmdir {} + || die
|
||||
|
||||
dodoc COPYRIGHT README
|
||||
|
||||
if use jce; then
|
||||
dodir /opt/${P}/lib/security/strong-jce
|
||||
mv "${ED}"/opt/${P}/lib/security/US_export_policy.jar \
|
||||
"${ED}"/opt/${P}/lib/security/strong-jce || die
|
||||
mv "${ED}"/opt/${P}/lib/security/local_policy.jar \
|
||||
"${ED}"/opt/${P}/lib/security/strong-jce || die
|
||||
dosym /opt/sun-jce-bin-1.6.0/jre/lib/security/unlimited-jce/US_export_policy.jar \
|
||||
/opt/${P}/lib/security/US_export_policy.jar
|
||||
dosym /opt/sun-jce-bin-1.6.0/jre/lib/security/unlimited-jce/local_policy.jar \
|
||||
/opt/${P}/lib/security/local_policy.jar
|
||||
fi
|
||||
|
||||
if use nsplugin; then
|
||||
install_mozilla_plugin /opt/${P}/lib/${arch}/libnpjp2.so
|
||||
fi
|
||||
|
||||
# Install desktop file for the Java Control Panel.
|
||||
# Using ${PN}-${SLOT} to prevent file collision with jre and or other slots.
|
||||
# make_desktop_entry can't be used as ${P} would end up in filename.
|
||||
newicon lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png \
|
||||
sun-jcontrol-${PN}-${SLOT}.png || die
|
||||
sed -e "s#Name=.*#Name=Java Control Panel for Oracle JDK ${SLOT} (${PN})#" \
|
||||
-e "s#Exec=.*#Exec=/opt/${P}/bin/jcontrol#" \
|
||||
-e "s#Icon=.*#Icon=sun-jcontrol-${PN}-${SLOT}.png#" \
|
||||
lib/desktop/applications/sun_java.desktop > \
|
||||
"${T}"/jcontrol-${PN}-${SLOT}.desktop || die
|
||||
domenu "${T}"/jcontrol-${PN}-${SLOT}.desktop
|
||||
|
||||
# bug #56444
|
||||
cp "${FILESDIR}"/fontconfig.Gentoo.properties-r1 "${T}"/fontconfig.properties || die
|
||||
eprefixify "${T}"/fontconfig.properties
|
||||
insinto /opt/${P}/lib/
|
||||
doins "${T}"/fontconfig.properties
|
||||
|
||||
set_java_env "${FILESDIR}/${VMHANDLE}.env-r1"
|
||||
java-vm_revdep-mask
|
||||
}
|
||||
|
||||
QA_TEXTRELS_x86="
|
||||
opt/${P}/lib/i386/client/libjvm.so
|
||||
opt/${P}/lib/i386/motif21/libmawt.so
|
||||
opt/${P}/lib/i386/server/libjvm.so"
|
||||
QA_FLAGS_IGNORED="
|
||||
/opt/${P}/bin/java
|
||||
/opt/${P}/bin/java_vm
|
||||
/opt/${P}/bin/javaws
|
||||
/opt/${P}/bin/keytool
|
||||
/opt/${P}/bin/orbd
|
||||
/opt/${P}/bin/pack200
|
||||
/opt/${P}/bin/policytool
|
||||
/opt/${P}/bin/rmid
|
||||
/opt/${P}/bin/rmiregistry
|
||||
/opt/${P}/bin/servertool
|
||||
/opt/${P}/bin/tnameserv
|
||||
/opt/${P}/bin/unpack200
|
||||
/opt/${P}/lib/jexec"
|
||||
for java_system_arch in amd64 i386; do
|
||||
QA_FLAGS_IGNORED+="
|
||||
/opt/${P}/lib/${java_system_arch}/headless/libmawt.so
|
||||
/opt/${P}/lib/${java_system_arch}/jli/libjli.so
|
||||
/opt/${P}/lib/${java_system_arch}/libawt.so
|
||||
/opt/${P}/lib/${java_system_arch}/libcmm.so
|
||||
/opt/${P}/lib/${java_system_arch}/libdcpr.so
|
||||
/opt/${P}/lib/${java_system_arch}/libdeploy.so
|
||||
/opt/${P}/lib/${java_system_arch}/libdt_socket.so
|
||||
/opt/${P}/lib/${java_system_arch}/libfontmanager.so
|
||||
/opt/${P}/lib/${java_system_arch}/libhprof.so
|
||||
/opt/${P}/lib/${java_system_arch}/libinstrument.so
|
||||
/opt/${P}/lib/${java_system_arch}/libioser12.so
|
||||
/opt/${P}/lib/${java_system_arch}/libj2gss.so
|
||||
/opt/${P}/lib/${java_system_arch}/libj2pcsc.so
|
||||
/opt/${P}/lib/${java_system_arch}/libj2pkcs11.so
|
||||
/opt/${P}/lib/${java_system_arch}/libjaas_unix.so
|
||||
/opt/${P}/lib/${java_system_arch}/libjava_crw_demo.so
|
||||
/opt/${P}/lib/${java_system_arch}/libjavaplugin_jni.so
|
||||
/opt/${P}/lib/${java_system_arch}/libjava.so
|
||||
/opt/${P}/lib/${java_system_arch}/libjawt.so
|
||||
/opt/${P}/lib/${java_system_arch}/libJdbcOdbc.so
|
||||
/opt/${P}/lib/${java_system_arch}/libjdwp.so
|
||||
/opt/${P}/lib/${java_system_arch}/libjpeg.so
|
||||
/opt/${P}/lib/${java_system_arch}/libjsig.so
|
||||
/opt/${P}/lib/${java_system_arch}/libjsoundalsa.so
|
||||
/opt/${P}/lib/${java_system_arch}/libjsound.so
|
||||
/opt/${P}/lib/${java_system_arch}/libmanagement.so
|
||||
/opt/${P}/lib/${java_system_arch}/libmlib_image.so
|
||||
/opt/${P}/lib/${java_system_arch}/libnative_chmod_g.so
|
||||
/opt/${P}/lib/${java_system_arch}/libnative_chmod.so
|
||||
/opt/${P}/lib/${java_system_arch}/libnet.so
|
||||
/opt/${P}/lib/${java_system_arch}/libnio.so
|
||||
/opt/${P}/lib/${java_system_arch}/libnpjp2.so
|
||||
/opt/${P}/lib/${java_system_arch}/libnpt.so
|
||||
/opt/${P}/lib/${java_system_arch}/librmi.so
|
||||
/opt/${P}/lib/${java_system_arch}/libsplashscreen.so
|
||||
/opt/${P}/lib/${java_system_arch}/libunpack.so
|
||||
/opt/${P}/lib/${java_system_arch}/libverify.so
|
||||
/opt/${P}/lib/${java_system_arch}/libzip.so
|
||||
/opt/${P}/lib/${java_system_arch}/motif21/libmawt.so
|
||||
/opt/${P}/lib/${java_system_arch}/native_threads/libhpi.so
|
||||
/opt/${P}/lib/${java_system_arch}/server/libjvm.so
|
||||
/opt/${P}/lib/${java_system_arch}/xawt/libmawt.so"
|
||||
done
|
@ -0,0 +1,177 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/cmake/cmake-2.8.8-r3.ebuild,v 1.1 2012/06/14 10:22:27 kensington Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
CMAKE_REMOVE_MODULES="no"
|
||||
inherit elisp-common toolchain-funcs eutils versionator flag-o-matic base cmake-utils virtualx
|
||||
|
||||
MY_P="${PN}-$(replace_version_separator 3 - ${MY_PV})"
|
||||
|
||||
DESCRIPTION="Cross platform Make"
|
||||
HOMEPAGE="http://www.cmake.org/"
|
||||
SRC_URI="http://www.cmake.org/files/v$(get_version_component_range 1-2)/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="CMake"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0"
|
||||
IUSE="emacs ncurses qt4 vim-syntax"
|
||||
|
||||
DEPEND="
|
||||
>=app-arch/libarchive-2.8.0
|
||||
>=net-misc/curl-7.20.0-r1[ssl]
|
||||
>=dev-libs/expat-2.0.1
|
||||
virtual/pkgconfig
|
||||
sys-libs/zlib
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
qt4? ( x11-libs/qt-gui:4 )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
emacs? ( virtual/emacs )
|
||||
vim-syntax? (
|
||||
|| (
|
||||
app-editors/vim
|
||||
app-editors/gvim
|
||||
)
|
||||
)
|
||||
"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
VIMFILE="${PN}.vim"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
CMAKE_BINARY="${S}/Bootstrap.cmk/cmake"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.6.3-darwin-bundle.patch
|
||||
"${FILESDIR}"/${PN}-2.6.3-no-duplicates-in-rpath.patch
|
||||
"${FILESDIR}"/${PN}-2.6.3-fix_broken_lfs_on_aix.patch
|
||||
"${FILESDIR}"/${PN}-2.8.0-darwin-default-install_name.patch
|
||||
"${FILESDIR}"/${PN}-2.8.1-libform.patch
|
||||
"${FILESDIR}"/${PN}-2.8.4-FindPythonLibs.patch
|
||||
"${FILESDIR}"/${PN}-2.8.7-FindBoost-python.patch
|
||||
"${FILESDIR}"/${PN}-2.8.7-FindBLAS.patch
|
||||
"${FILESDIR}"/${PN}-2.8.7-FindLAPACK.patch
|
||||
"${FILESDIR}"/${PN}-2.8.8-FindPkgConfig.patch
|
||||
"${FILESDIR}"/${PN}-2.8.8-more-no_host_paths.patch
|
||||
"${FILESDIR}"/${PN}-2.8.8-tests.patch
|
||||
"${FILESDIR}"/${PN}-2.8.8-pkgconfig.patch
|
||||
)
|
||||
|
||||
cmake_src_bootstrap() {
|
||||
# Cleanup args to extract only JOBS.
|
||||
# Because bootstrap does not know anything else.
|
||||
echo ${MAKEOPTS} | egrep -o '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' > /dev/null
|
||||
if [ $? -eq 0 ]; then
|
||||
par_arg=$(echo ${MAKEOPTS} | egrep -o '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' | egrep -o '[[:digit:]]+')
|
||||
par_arg="--parallel=${par_arg}"
|
||||
else
|
||||
par_arg="--parallel=1"
|
||||
fi
|
||||
|
||||
tc-export CC CXX LD
|
||||
|
||||
./bootstrap \
|
||||
--prefix="${T}/cmakestrap/" \
|
||||
${par_arg} \
|
||||
|| die "Bootstrap failed"
|
||||
}
|
||||
|
||||
cmake_src_test() {
|
||||
# fix OutDir test
|
||||
# this is altered thanks to our eclass
|
||||
sed -i -e 's:#IGNORE ::g' "${S}"/Tests/OutDir/CMakeLists.txt || die
|
||||
|
||||
pushd "${CMAKE_BUILD_DIR}" > /dev/null
|
||||
|
||||
local ctestargs
|
||||
[[ -n ${TEST_VERBOSE} ]] && ctestargs="--extra-verbose --output-on-failure"
|
||||
|
||||
# Excluded tests:
|
||||
# BootstrapTest: we actualy bootstrap it every time so why test it.
|
||||
# SimpleCOnly_sdcc: sdcc choke on global cflags so just skip the test
|
||||
# as it was never intended to be used this way.
|
||||
"${CMAKE_BUILD_DIR}"/bin/ctest ${ctestargs} \
|
||||
-E BootstrapTest SimpleCOnly_sdcc \
|
||||
|| die "Tests failed"
|
||||
|
||||
popd > /dev/null
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
einfo "Fixing java access violations ..."
|
||||
# bug 387227
|
||||
addpredict /proc/self/coredump_filter
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
|
||||
# disable running of cmake in boostrap command
|
||||
sed -i \
|
||||
-e '/"${cmake_bootstrap_dir}\/cmake"/s/^/#DONOTRUN /' \
|
||||
bootstrap || die "sed failed"
|
||||
|
||||
# Add gcc libs to the default link paths
|
||||
sed -i \
|
||||
-e "s|@GENTOO_PORTAGE_GCCLIBDIR@|${EPREFIX}/usr/${CHOST}/lib/|g" \
|
||||
-e "s|@GENTOO_PORTAGE_EPREFIX@|${EPREFIX}/|g" \
|
||||
Modules/Platform/{UnixPaths,Darwin}.cmake || die "sed failed"
|
||||
|
||||
cmake_src_bootstrap
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# make things work with gentoo java setup
|
||||
# in case java-config cannot be run, the variable just becomes unset
|
||||
# per bug #315229
|
||||
export JAVA_HOME=$(java-config -g JAVA_HOME 2> /dev/null)
|
||||
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_USE_SYSTEM_LIBRARIES=ON
|
||||
-DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
|
||||
-DCMAKE_DOC_DIR=/share/doc/${PF}
|
||||
-DCMAKE_MAN_DIR=/share/man
|
||||
-DCMAKE_DATA_DIR=/share/${PN}
|
||||
$(cmake-utils_use_build ncurses CursesDialog)
|
||||
$(cmake-utils_use_build qt4 QtDialog)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
use emacs && elisp-compile Docs/cmake-mode.el
|
||||
}
|
||||
|
||||
src_test() {
|
||||
VIRTUALX_COMMAND="cmake_src_test" virtualmake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
if use emacs; then
|
||||
elisp-install ${PN} Docs/cmake-mode.el Docs/cmake-mode.elc
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles/syntax
|
||||
doins Docs/cmake-syntax.vim
|
||||
|
||||
insinto /usr/share/vim/vimfiles/indent
|
||||
doins Docs/cmake-indent.vim
|
||||
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
doins "${FILESDIR}/${VIMFILE}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST 99737-fancytasks-1.0.98.tar.bz2 184203 RMD160 ab037245a935eb4c387e354863ae9e3f518c6821 SHA1 844b7a6668636f39bd561b75f72c8bc4e8ea2de3 SHA256 7529ade20549ab7036f779d90a105cb26d0b25753d7838f9de41b7d964063477
|
||||
DIST 99737-fancytasks-1.0.99.tar.bz2 183948 RMD160 279a1ccc23b7fea4d193d9bb5efb0e46aedee000 SHA1 559773a00a4a685842059498c53dc2b7d9e16264 SHA256 67bfebf5f71ff589ebeb3c21e1e30a3c5cee936004d2a1f7ad075794724bfe20
|
||||
DIST 99737-fancytasks-1.1.0.tar.bz2 189982 RMD160 70bffb299b24d3940c23ce70240336f5837753c0 SHA1 23087dc9c1f99a253b7f564873a3c3a4be10f4c2 SHA256 228482fd64b6472c5d7f37dab56b71f40e388a1a87321123e13a0819314f475e
|
||||
DIST 99737-fancytasks-1.1.2.tar.bz2 190910 RMD160 e6037e6567b40cf683ef16841131ccaa851e71fb SHA1 5f8b68f69e136009751e5f1f5362cfc392a6e93c SHA256 80ecc4956b76da68578544be56e3fdc0315f6d682d1e3404bce84236976c709c
|
||||
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-misc/fancytasks/fancytasks-1.0.99.ebuild,v 1.1 2012/03/13 08:32:20 johu Exp $
|
||||
|
||||
EAPI=4
|
||||
KDE_LINGUAS="de en_GB es et fr km nds pl pt ru sv tr uk"
|
||||
KDE_LINGUAS_DIR=( applet/locale containment/locale )
|
||||
KDE_MINIMAL="4.8"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="Task and launch representation plasmoid"
|
||||
HOMEPAGE="http://kde-look.org/content/show.php/Fancy+Tasks?content=99737"
|
||||
SRC_URI="http://kde-look.org/CONTENT/content-files/99737-${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
$(add_kdebase_dep plasma-workspace)
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXext
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( CHANGELOG README TODO )
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-misc/fancytasks/fancytasks-1.0.98.ebuild,v 1.2 2012/03/03 13:52:31 johu Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-misc/fancytasks/fancytasks-1.1.2.ebuild,v 1.1 2012/06/14 15:39:02 kensington Exp $
|
||||
|
||||
EAPI=4
|
||||
KDE_LINGUAS="de en_GB es et fr km nds pl pt ru sv tr uk"
|
@ -1 +1,2 @@
|
||||
DIST plasma-widget-menubar-0.1.17.tar.bz2 26686 RMD160 2c67d56c76b39d1e089d96fbea6a7d155fb1ab8b SHA1 e298bcd765c9bc014ec0ab9d80d69de98e689e27 SHA256 2c9bee52b031f7bf611e5d68d498f20d4d2d90c45d4c5a25007e391c5f9d7b6a
|
||||
DIST plasma-widget-menubar-0.1.18.tar.bz2 26963 RMD160 02d4d85609efaace2c24894f1236772700ee9a34 SHA1 79d2be55443a95762f8e322d011b63cfdb6cb9e8 SHA256 38eee1b1ef566b5c5f440f54adab67cbf3497128883591bda386fe796ba62e84
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-misc/plasma-widget-menubar/plasma-widget-menubar-0.1.18.ebuild,v 1.1 2012/06/14 11:44:04 kensington Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="A Plasma widget to display menubar of application windows"
|
||||
HOMEPAGE="https://launchpad.net/plasma-widget-menubar"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/libdbusmenu-qt-0.6.0
|
||||
>=dev-libs/qjson-0.7.1
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
!kde-misc/plasma-indicatordisplay
|
||||
"
|
||||
|
||||
# last checked 0.1.18
|
||||
RESTRICT="test"
|
@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-client/mailx/mailx-8.1.2.20050715-r2.ebuild,v 1.4 2011/03/20 13:26:20 eras Exp $
|
||||
|
||||
inherit eutils flag-o-matic
|
||||
|
||||
MX_MAJ_VER=${PV%.*}
|
||||
MX_MIN_VER=${PV##*.}
|
||||
MY_PV=${MX_MAJ_VER}-0.${MX_MIN_VER}cvs
|
||||
S=${WORKDIR}/${PN}-${MY_PV}.orig/
|
||||
debian_patch=${PN}_${MY_PV}-1.diff.gz
|
||||
|
||||
DESCRIPTION="The /bin/mail program, which is used to send mail via shell scripts"
|
||||
HOMEPAGE="http://www.debian.org/"
|
||||
SRC_URI="mirror://gentoo/mailx_${MY_PV}.orig.tar.gz
|
||||
mirror://gentoo/${debian_patch}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=net-libs/liblockfile-1.03
|
||||
virtual/mta
|
||||
mail-client/mailx-support"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
!mail-client/nail
|
||||
!net-mail/mailutils"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${DISTDIR}/${debian_patch}"
|
||||
epatch "${FILESDIR}/${P}-nostrip.patch"
|
||||
sed -i -e "s: -O2: \$(EXTRAFLAGS):g" Makefile
|
||||
epatch "${FILESDIR}/${P}-offsetof.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make EXTRAFLAGS="${CFLAGS}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /bin /usr/share/man/man1 /etc /usr/lib
|
||||
|
||||
insinto /bin
|
||||
insopts -m 755
|
||||
doins mail || die
|
||||
|
||||
doman mail.1
|
||||
|
||||
dosym mail /bin/Mail
|
||||
dosym mail /bin/mailx
|
||||
dosym mail.1 /usr/share/man/man1/Mail.1
|
||||
|
||||
cd "${S}"/misc
|
||||
insinto /usr/share/${PN}/
|
||||
insopts -m 644
|
||||
doins mail.help mail.tildehelp || die
|
||||
insinto /etc
|
||||
insopts -m 644
|
||||
doins mail.rc || die
|
||||
}
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-client/mailx/mailx-8.1.2.20050715-r4.ebuild,v 1.1 2012/01/10 14:38:19 eras Exp $
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
MX_MAJ_VER=${PV%.*}
|
||||
MX_MIN_VER=${PV##*.}
|
||||
MY_PV=${MX_MAJ_VER}-0.${MX_MIN_VER}cvs
|
||||
S=${WORKDIR}/${PN}-${MY_PV}.orig/
|
||||
debian_patch=${PN}_${MY_PV}-1.diff.gz
|
||||
|
||||
DESCRIPTION="The /bin/mail program, which is used to send mail via shell scripts"
|
||||
HOMEPAGE="http://www.debian.org/"
|
||||
SRC_URI="mirror://gentoo/mailx_${MY_PV}.orig.tar.gz
|
||||
mirror://gentoo/${debian_patch}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=net-libs/liblockfile-1.03
|
||||
virtual/mta
|
||||
mail-client/mailx-support"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
!mail-client/nail
|
||||
!net-mail/mailutils"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${DISTDIR}/${debian_patch}"
|
||||
epatch "${FILESDIR}/${P}-nostrip.patch"
|
||||
sed -i -e "s: -O2: \$(EXTRAFLAGS):g" Makefile
|
||||
epatch "${FILESDIR}/${P}-offsetof.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC=$(tc-getCC) EXTRAFLAGS="${CFLAGS}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/bin /usr/share/man/man1 /etc
|
||||
|
||||
insinto /usr/bin
|
||||
insopts -m 755
|
||||
doins mail || die
|
||||
|
||||
doman mail.1
|
||||
|
||||
dosym mail /usr/bin/Mail
|
||||
dosym mail /usr/bin/mailx
|
||||
dosym mail.1 /usr/share/man/man1/Mail.1
|
||||
|
||||
dodoc misc/mail.help misc/mail.tildehelp || die
|
||||
#cd "${S}"/misc
|
||||
#insinto /usr/share/${PN}/
|
||||
#insopts -m 644
|
||||
#doins mail.help mail.tildehelp || die
|
||||
insinto /etc
|
||||
insopts -m 644
|
||||
doins misc/mail.rc || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "mail command now lives in /usr/bin."
|
||||
elog "Please adjust your scripts if necessary."
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST graphite2-1.1.2.tgz 3677920 RMD160 389819c589a448d68626356566768dee39a451fe SHA1 afc07f4afd9aa4a2f8ac37bb7178635fd20dc9a7 SHA256 3e96d503bd8014b5ea06741487f5db2aab2d5785d43aa046c7d6de74e1b24f87
|
||||
DIST graphite2-1.1.3.tgz 3680838 RMD160 f6858b233753020b83624fe5c8b3e98c3ea1802b SHA1 f5612a5009e52e388eb1f31c692f3ce6bae78209 SHA256 0eb19282a1941bdd5e6d7165718c5d4692d62bac6c1eea56d9e522715cb144f7
|
||||
|
@ -0,0 +1,100 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphite2/graphite2-1.1.3.ebuild,v 1.1 2012/06/14 08:32:51 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND="test? 2"
|
||||
inherit base cmake-utils perl-module python
|
||||
|
||||
DESCRIPTION="Library providing rendering capabilities for complex non-Roman writing systems"
|
||||
HOMEPAGE="http://graphite.sil.org/"
|
||||
SRC_URI="mirror://sourceforge/silgraphite/${PN}/${P}.tgz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="perl test"
|
||||
|
||||
RDEPEND="
|
||||
perl? ( dev-lang/perl )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
perl? ( virtual/perl-Module-Build )
|
||||
test? (
|
||||
dev-libs/glib:2
|
||||
media-libs/fontconfig
|
||||
media-libs/silgraphite
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.1.0-includes-libs-perl.patch"
|
||||
"${FILESDIR}/${PN}-fix_wrong_linker_opts.patch"
|
||||
"${FILESDIR}/${PN}-1.0.2-no_harfbuzz_tests.patch"
|
||||
"${FILESDIR}/${PN}-1.0.3-no-test-binaries.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
use perl && perl-module_pkg_setup
|
||||
if use test; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
|
||||
# fix perl linking
|
||||
if use perl; then
|
||||
_check_build_dir init
|
||||
sed -i \
|
||||
-e "s:@BUILD_DIR@:\"${CMAKE_BUILD_DIR}/src\":" \
|
||||
contrib/perl/Build.PL || die
|
||||
fi
|
||||
|
||||
# make tests optional
|
||||
if ! use test; then
|
||||
sed -i \
|
||||
-e '/tests/d' \
|
||||
CMakeLists.txt || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
"-DVM_MACHINE_TYPE=direct"
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
if use perl; then
|
||||
cd contrib/perl
|
||||
perl-module_src_prep
|
||||
perl-module_src_compile
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cmake-utils_src_test
|
||||
if use perl; then
|
||||
cd contrib/perl
|
||||
perl-module_src_test
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
if use perl; then
|
||||
cd contrib/perl
|
||||
perl-module_src_install
|
||||
fixlocalpod
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST viewnior-1.1.tar.gz 512101 RMD160 af8030e89ea90339d3c38f63f7ecdb69b1fb6717 SHA1 177506883aa5f711dcd9e7aa826d9c7c8dece9bd SHA256 f3826003bae241c068aa469c2d0dec6849da8b973815f570dd6d7addc7c2735d
|
||||
DIST viewnior-1.3.tar.gz 525015 RMD160 4e84aa41ec61becc8d68bef3c93eec6405106de9 SHA1 5cb0bca122d91b380445a9c55dfcb5609203edb3 SHA256 46c97c1a85361519b42fe008cfb8911e66f709f3a3a988c11047ab3726889f10
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/viewnior/viewnior-1.3.ebuild,v 1.1 2012/06/14 07:47:36 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
inherit fdo-mime gnome2-utils
|
||||
|
||||
DESCRIPTION="Fast and simple image viewer"
|
||||
HOMEPAGE="http://xsisqox.github.com/Viewnior/index.html"
|
||||
SRC_URI="mirror://github/xsisqox/Viewnior/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/glib:2
|
||||
>=x11-libs/gtk+-2.20:2
|
||||
x11-misc/shared-mime-info"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS="AUTHORS ChangeLog* NEWS README TODO"
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST libvisio-0.0.16.tar.xz 318296 RMD160 fe5fca2fba490a4cef7b23104ce2e58374f09451 SHA1 c9e943728431e8614d4212e1be705f2a44855dd0 SHA256 62fea7ed3d441179a636efdf0297284fbddfa7fb2a5be3b1dd9468ba6da8f5d0
|
||||
DIST libvisio-0.0.17.tar.xz 319132 RMD160 aa076d376fc73ba1e2505c4c625d297b24dfec9d SHA1 46147926c96d09840ffcd63448e8bd0c6f82a641 SHA256 bf072fec9f38789755bc826d8aa4445d823faebb7603d919821437703eb349cc
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libvisio/libvisio-0.0.17.ebuild,v 1.1 2012/06/14 08:29:52 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/git/libreoffice/contrib/libvisio/"
|
||||
inherit base
|
||||
[[ ${PV} == 9999 ]] && inherit autotools git-2
|
||||
|
||||
DESCRIPTION="Library parsing the visio documents"
|
||||
HOMEPAGE="http://www.freedesktop.org/wiki/Software/libvisio"
|
||||
[[ ${PV} == 9999 ]] || SRC_URI="http://dev-www.libreoffice.org/src/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
[[ ${PV} == 9999 ]] || KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
RDEPEND="
|
||||
app-text/libwpd:0.9
|
||||
app-text/libwpg:0.2
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-libs/boost-1.46
|
||||
virtual/pkgconfig
|
||||
sys-devel/libtool
|
||||
doc? ( app-doc/doxygen )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
[[ -d m4 ]] || mkdir "m4"
|
||||
base_src_prepare
|
||||
[[ ${PV} == 9999 ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
$(use_enable static-libs static) \
|
||||
--disable-werror \
|
||||
$(use_with doc docs)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST kmetronome-0.10.0.tar.bz2 249488 RMD160 c59563bc9e9cc8be0483e113f9be7d670613154e SHA1 1b928d30a1a0858a81de88c44c0a22b3ecd67b60 SHA256 d5a126ac118a2a2255b6b8067727deabc78e5e1a4c64c04a6bf63b915a868194
|
||||
DIST kmetronome-0.10.1.tar.bz2 201241 RMD160 715e1d1f538c447a3851cac7d0be85741b9f0b90 SHA1 593bcc9b296e2fa2071b280219998e9ded9066e6 SHA256 76907378433fe1e7041ba575b4cef8132819a3eed63373e1c2d4bfc746eb2d30
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/kmetronome/kmetronome-0.10.1.ebuild,v 1.1 2012/06/14 14:46:38 kensington Exp $
|
||||
|
||||
EAPI=4
|
||||
KDE_LINGUAS="cs de es fr tr"
|
||||
KDE_HANDBOOK="optional"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="MIDI based metronome using ALSA sequencer"
|
||||
HOMEPAGE="http://kmetronome.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
media-libs/alsa-lib
|
||||
media-sound/drumstick
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README TODO )
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
-DSTATIC_DRUMSTICK=OFF
|
||||
)
|
||||
|
||||
kde4-base_src_configure
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
=dev-java/java-config-2* || ( app-admin/eselect-java <dev-java/java-config-2.2 )
|
||||
alsa? ( app-emulation/emul-linux-x86-soundlibs ) X? ( app-emulation/emul-linux-x86-xlibs ) =dev-java/java-config-2* || ( app-admin/eselect-java <dev-java/java-config-2.2 )
|
||||
1.6
|
||||
jre-6u33-linux-i586.bin
|
||||
fetch strip
|
||||
http://www.oracle.com/technetwork/java/javase/
|
||||
Oracle-BCLA-JavaSE
|
||||
Oracle's Java SE Runtime Environment (32bit)
|
||||
-* ~amd64
|
||||
eutils fdo-mime java-vm-2 multilib pax-utils prefix toolchain-funcs user versionator
|
||||
X alsa nsplugin
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
compile install nofetch postinst postrm prerm setup unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue