parent
1a45f45766
commit
bb2a80afec
@ -1,3 +1,2 @@
|
||||
DIST at-spi2-atk-2.0.2.tar.bz2 356867 RMD160 83be950352a8aa2754d2f6878cd702bd0d26f926 SHA1 f90e4708317d24b3a538cb452cc567b413a9c108 SHA256 4b958d3701afd0c8f83ecf297750032f06a07491007d85173997ce7371688725
|
||||
DIST at-spi2-atk-2.2.1.tar.xz 288636 RMD160 1c2212df1904a54fd01d5913bc2ca461b2aa37d7 SHA1 061579ed37bed065dbe70f20e6b428ccca4bf194 SHA256 6677def34b16c9a28d6ad96473ea56a3c0e13aa968e584df004cd44c8691ea1a
|
||||
DIST at-spi2-atk-2.2.2.tar.xz 288764 RMD160 35ddd995cdbdf4e285edfdd5bffc0b466931e679 SHA1 73459f7e417ab8f2d717ef715f02bf2044e9252c SHA256 b63b214cec23163bf59239c59b350d55a7fcfab7a95858ea833815e0b16a4041
|
||||
DIST at-spi2-atk-2.4.0.tar.xz 303684 RMD160 35ca9ecc50b0afbd86b2667f8a5a288d2f8c92cd SHA1 b92b6827bcc0fd8574c0e0f68983dd56ee2c1fc5 SHA256 28e9c21ec8a76cae4914bdbc011c4f6bf1beeaa27751a88534d87364e6a888bf
|
||||
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/at-spi2-atk/at-spi2-atk-2.2.1-r1.ebuild,v 1.2 2012/05/03 01:48:59 jdhore Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit eutils gnome2
|
||||
|
||||
DESCRIPTION="Gtk module for bridging AT-SPI to Atk"
|
||||
HOMEPAGE="http://live.gnome.org/Accessibility"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=app-accessibility/at-spi2-core-2.1.4
|
||||
>=dev-libs/atk-2.1.0
|
||||
dev-libs/glib:2
|
||||
>=sys-apps/dbus-1
|
||||
x11-libs/libX11
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!<gnome-extra/at-spi-1.32.0-r1
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
>=dev-util/intltool-0.40
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="AUTHORS NEWS README"
|
||||
# xevie is deprecated/broken since xorg-1.6/1.7
|
||||
G2CONF="${G2CONF} --enable-p2p"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# disable teamspaces test since that requires Novell.ICEDesktop.Daemon
|
||||
epatch "${FILESDIR}/${PN}-2.0.2-disable-teamspaces-test.patch"
|
||||
# Upstream patch, will be in next release
|
||||
epatch "${FILESDIR}/${P}-socket_ref_state_set-NULL.patch"
|
||||
|
||||
# FIXME: droute test fails
|
||||
sed -e 's:TESTS = droute-test\.*:TESTS = :' -i droute/Makefile.* ||
|
||||
die "sed droute/Makefile.* failed"
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
@ -1,66 +0,0 @@
|
||||
From 18d98d35c452678efc2bf09f38fb2d0594641613 Mon Sep 17 00:00:00 2001
|
||||
From: Mario Sanchez Prada <msanchez@igalia.com>
|
||||
Date: Fri, 28 Oct 2011 20:30:42 +0200
|
||||
Subject: [PATCH] Socket's implementation of ref_state_set to return empty
|
||||
sets instead of NULL
|
||||
|
||||
Calls to atk_object_ref_state_set() are expected to return a valid
|
||||
state set always, so it would be better if this implementation of
|
||||
socket's ref_state_set() returned empty sets instead of just NULL, to
|
||||
avoid calling to atk_state_set_*() functions over invalid instances of
|
||||
AtkStateSet (e.g. add_pending_items() in accessible-cache.c).
|
||||
|
||||
https://bugs.freedesktop.org/show_bug.cgi?id=42350
|
||||
---
|
||||
atk-adaptor/bridge.c | 16 ++++++++--------
|
||||
1 files changed, 8 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/atk-adaptor/bridge.c b/atk-adaptor/bridge.c
|
||||
index d049731..a1ee202 100644
|
||||
--- a/atk-adaptor/bridge.c
|
||||
+++ b/atk-adaptor/bridge.c
|
||||
@@ -334,17 +334,19 @@ socket_ref_state_set (AtkObject *accessible)
|
||||
DBusMessageIter iter, iter_array;
|
||||
AtkStateSet *set;
|
||||
|
||||
+ set = atk_state_set_new ();
|
||||
+
|
||||
if (!socket->embedded_plug_id)
|
||||
- return NULL;
|
||||
+ return set;
|
||||
|
||||
child_name = g_strdup (socket->embedded_plug_id);
|
||||
if (!child_name)
|
||||
- return NULL;
|
||||
+ return set;
|
||||
child_path = g_utf8_strchr (child_name + 1, -1, ':');
|
||||
if (!child_path)
|
||||
{
|
||||
g_free (child_name);
|
||||
- return NULL;
|
||||
+ return set;
|
||||
}
|
||||
*(child_path++) = '\0';
|
||||
message = dbus_message_new_method_call (child_name, child_path, ATSPI_DBUS_INTERFACE_ACCESSIBLE, "GetState");
|
||||
@@ -352,15 +354,13 @@ socket_ref_state_set (AtkObject *accessible)
|
||||
reply = dbus_connection_send_with_reply_and_block (spi_global_app_data->bus, message, 1, NULL);
|
||||
dbus_message_unref (message);
|
||||
if (reply == NULL)
|
||||
- return NULL;
|
||||
+ return set;
|
||||
if (strcmp (dbus_message_get_signature (reply), "au") != 0)
|
||||
{
|
||||
dbus_message_unref (reply);
|
||||
- return NULL;
|
||||
+ return set;
|
||||
}
|
||||
- set = atk_state_set_new ();
|
||||
- if (!set)
|
||||
- return NULL;
|
||||
+
|
||||
dbus_message_iter_init (reply, &iter);
|
||||
dbus_message_iter_recurse (&iter, &iter_array);
|
||||
do
|
||||
--
|
||||
1.7.7.2
|
||||
|
@ -1,2 +1,2 @@
|
||||
DIST at-spi2-core-2.2.1.tar.xz 430856 RMD160 9812e9b69776d97cb900f0da563c9e1e174d4af2 SHA1 c7569c9e25e0259be73449eb7ba0f2de135b4f12 SHA256 2a4129420decca3657e163a4dbb1a3cb28acafe32ea1292417fdd81084d48fac
|
||||
DIST at-spi2-core-2.2.3.tar.xz 429444 RMD160 cb98cce6aa359c4f8e3377a46b95f0b8b316f65b SHA1 8c410a62ec133c812b4c1006e4944f0bcd92183c SHA256 fb97f0a02fa378795e50857e22e640e099be1768081e28ca2dbdb3835f5b6af1
|
||||
DIST at-spi2-core-2.4.1.tar.xz 446444 RMD160 d1b52a9e16e76a1c9235b9220c0c73e48a9ed609 SHA1 162984c5bce4c6ab70f292facea6f1e30428d06f SHA256 5a1d8026bbe1d40d1f5a2c956d10b9ed39766f7880a73d80f37aa6e48c6c11e5
|
||||
|
@ -1,88 +0,0 @@
|
||||
From 72b5b5733841657af00f31370d26bdfd5a0b60b7 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Gorse <mgorse@novell.com>
|
||||
Date: Thu, 09 Jun 2011 16:50:58 +0000
|
||||
Subject: Make the bus launcher abort if an instance is already running
|
||||
|
||||
Upon starting up, at-spi-bus-launcher now looks for an X property with
|
||||
the bus address and tries to connect to it, aborting if successful.
|
||||
This fixes a bug where, if the launcher was run twice (perhaps by both
|
||||
an autostart script and a request for the bus address), the second
|
||||
instance would start its main loop, eventually abort, and delete the X
|
||||
property, which would cause a new X property to be created later,
|
||||
overriding the old one, if a different user requested the address,
|
||||
leading to a11y breakage.
|
||||
---
|
||||
diff --git a/bus/at-spi-bus-launcher.c b/bus/at-spi-bus-launcher.c
|
||||
index 9300979..dcc35e4 100644
|
||||
--- a/bus/at-spi-bus-launcher.c
|
||||
+++ b/bus/at-spi-bus-launcher.c
|
||||
@@ -27,6 +27,7 @@
|
||||
#include <signal.h>
|
||||
#include <sys/wait.h>
|
||||
#include <errno.h>
|
||||
+#include <stdio.h>
|
||||
|
||||
#include <gio/gio.h>
|
||||
#include <X11/Xlib.h>
|
||||
@@ -349,6 +350,49 @@ is_a11y_using_corba (void)
|
||||
return result;
|
||||
}
|
||||
|
||||
+static gboolean
|
||||
+already_running ()
|
||||
+{
|
||||
+ Atom AT_SPI_BUS;
|
||||
+ Atom actual_type;
|
||||
+ Display *bridge_display;
|
||||
+ int actual_format;
|
||||
+ unsigned char *data = NULL;
|
||||
+ unsigned long nitems;
|
||||
+ unsigned long leftover;
|
||||
+ gboolean result = FALSE;
|
||||
+
|
||||
+ bridge_display = XOpenDisplay (NULL);
|
||||
+ if (!bridge_display)
|
||||
+ return FALSE;
|
||||
+
|
||||
+ AT_SPI_BUS = XInternAtom (bridge_display, "AT_SPI_BUS", False);
|
||||
+ XGetWindowProperty (bridge_display,
|
||||
+ XDefaultRootWindow (bridge_display),
|
||||
+ AT_SPI_BUS, 0L,
|
||||
+ (long) BUFSIZ, False,
|
||||
+ (Atom) 31, &actual_type, &actual_format,
|
||||
+ &nitems, &leftover, &data);
|
||||
+
|
||||
+ if (data)
|
||||
+ {
|
||||
+ GDBusConnection *bus;
|
||||
+ GError *error = NULL;
|
||||
+ const gchar *old_session = g_getenv ("DBUS_SESSION_BUS_ADDRESS");
|
||||
+ /* TODO: Is there a better way to connect? This is really hacky */
|
||||
+ g_setenv ("DBUS_SESSION_BUS_ADDRESS", data, TRUE);
|
||||
+ bus = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &error);
|
||||
+ g_setenv ("DBUS_SESSION_BUS_ADDRESS", old_session, TRUE);
|
||||
+ if (bus != NULL)
|
||||
+ result = TRUE;
|
||||
+ g_object_unref (bus);
|
||||
+ }
|
||||
+
|
||||
+ XCloseDisplay (bridge_display);
|
||||
+ return result;
|
||||
+}
|
||||
+
|
||||
+
|
||||
int
|
||||
main (int argc,
|
||||
char **argv)
|
||||
@@ -363,6 +407,9 @@ main (int argc,
|
||||
if (is_a11y_using_corba ())
|
||||
return 0;
|
||||
|
||||
+ if (already_running ())
|
||||
+ return 0;
|
||||
+
|
||||
_global_app = g_slice_new0 (A11yBusLauncher);
|
||||
_global_app->loop = g_main_loop_new (NULL, FALSE);
|
||||
_global_app->launch_immediately = (argc == 2 && strcmp (argv[1], "--launch-immediately") == 0);
|
||||
--
|
||||
cgit v0.9
|
@ -1 +1,2 @@
|
||||
DIST caribou-0.4.1.tar.xz 361172 RMD160 cf1b5d7db50d7a88f39e56da6e268102ce019b0d SHA1 20bcab1d2ded1ad4e3465453d8cb4f620e895982 SHA256 d4d2328e0eadbf037f7e0ec146e835097fe56cb2b940985655e649c5556e4ed1
|
||||
DIST caribou-0.4.2.tar.xz 373604 RMD160 33ba1684b083f437e491fd4ecc74eaee501842c5 SHA1 ef8eebef9d630b708185341fff308732327b25cf SHA256 bcc64498b20c368747c3630d501a66ccf904db15d855f33fd4f963b5b19723ad
|
||||
|
@ -0,0 +1,81 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/caribou/caribou-0.4.2.ebuild,v 1.1 2012/05/14 00:53:54 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
PYTHON_DEPEND="2:2.5"
|
||||
PYTHON_USE_WITH="xml"
|
||||
|
||||
inherit gnome2 python
|
||||
|
||||
DESCRIPTION="Input assistive technology intended for switch and pointer users"
|
||||
HOMEPAGE="https://live.gnome.org/Caribou"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEPEND=">=dev-python/pygobject-2.90.3:3
|
||||
>=x11-libs/gtk+-3.0.0:3[introspection]
|
||||
x11-libs/gtk+:2
|
||||
>=dev-libs/gobject-introspection-0.10.7
|
||||
dev-libs/libgee:0
|
||||
dev-libs/libxml2
|
||||
>=media-libs/clutter-1.5.11:1.0[introspection]
|
||||
x11-libs/libX11
|
||||
x11-libs/libxklavier
|
||||
x11-libs/libXtst"
|
||||
# gsettings-desktop-schemas is needed for the 'toolkit-accessibility' key
|
||||
# pyatspi-2.1.90 needed to run caribou if pygobject:3 is installed
|
||||
# librsvg needed to load svg images in css styles
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
dev-python/dbus-python
|
||||
>=dev-python/pyatspi-2.1.90
|
||||
>=gnome-base/gsettings-desktop-schemas-3
|
||||
gnome-base/librsvg:2
|
||||
sys-apps/dbus"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-text/gnome-doc-utils
|
||||
dev-libs/libxslt
|
||||
>=dev-util/intltool-0.35.5
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="${G2CONF}
|
||||
--disable-static
|
||||
--disable-schemas-compile
|
||||
--enable-gtk3-module
|
||||
--enable-gtk2-module
|
||||
PYTHON=${EPREFIX}/usr/bin/python2
|
||||
VALAC=$(type -P valac-0.14)" # harmless even if valac-0.14 not found
|
||||
# PYTHON is substituted into several installed shell scripts
|
||||
# vala is not needed for tarball builds, but configure checks for it...
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# delete custom PYTHONPATH, useless on Gentoo and potential bug source
|
||||
sed -e '/export PYTHONPATH=.*python/ d' \
|
||||
-i bin/{antler-keyboard,caribou,caribou-preferences}.in ||
|
||||
die "sed failed"
|
||||
|
||||
python_clean_py-compile_files
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
python_mod_optimize caribou
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_pkg_postrm
|
||||
python_mod_cleanup caribou
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST monit-5.2.3.tar.gz 618139 RMD160 6e82619df575c1bc372edc76db92a211adff9634 SHA1 dae1a63fca9a44cf1bda53691711b8273efe3935 SHA256 920f50e752cbdc8e2c7f009e1c54bfd46f5646ea22bbab96c58eb5d1a19a0d8c
|
||||
DIST monit-5.3.2.tar.gz 1192207 RMD160 5215517216499d250a520f76979f483617631aa5 SHA1 346d90dfa526e35be2df2f15ba8ab62e1826f8c2 SHA256 406a06ac912525c8e76066d07235c848466b331532b2b3de931b61fe455ae915
|
||||
DIST monit-5.4.tar.gz 1197209 RMD160 1f011399d4e04a1d85277ed5ed2ba7750a2e855e SHA1 d497ff61da9d30c286e2a2079538a802e02436c2 SHA256 805c6545de2dd7f3d9e6e0c68018b2aadd5fc98b243c8868178f247a60906038
|
||||
|
@ -0,0 +1,235 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/tsm/tsm-6.3.0.0.ebuild,v 1.1 2012/05/14 16:12:10 pacho Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit versionator multilib eutils rpm
|
||||
|
||||
DESCRIPTION="Tivoli Storage Manager (TSM) Backup/Archive (B/A) Client and API"
|
||||
HOMEPAGE="http://www.tivoli.com/"
|
||||
|
||||
MY_PV_MAJOR=$(get_major_version)
|
||||
MY_PV_MINOR=$(get_version_component_range 2)
|
||||
MY_PV_TINY=$(get_version_component_range 3)
|
||||
MY_PV_PATCH=$(get_version_component_range 4)
|
||||
|
||||
MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
|
||||
MY_PVR_ALLDOTS=${PV}
|
||||
|
||||
if [[ ${MY_PV_PATCH} == 0 ]]; then
|
||||
MY_RELEASE_PATH=maintenance
|
||||
else
|
||||
MY_RELEASE_PATH=patches
|
||||
fi
|
||||
BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
|
||||
BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
|
||||
BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
|
||||
SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
|
||||
SRC_URI="${BASE_URI}${SRC_TAR}"
|
||||
|
||||
RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
|
||||
LICENSE="as-is Apache-1.1 JDOM gSOAP"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="acl java +tsm_cit +tsm_hw"
|
||||
QA_PREBUILT="opt/tivoli/tsm/client/api/bin64/cit/bin/* \
|
||||
opt/tivoli/tsm/client/ba/bin/cit/bin/*
|
||||
opt/tivoli/tsm/client/api/bin64/cit/VMware/esx-4/dispatcher
|
||||
opt/tivoli/tsm/client/ba/bin/cit/VMware/esx-4/dispatcher
|
||||
opt/tivoli/tsm/client/ba/bin/libzephyr.so
|
||||
usr/local/ibm/gsk8_64/lib64/N/icc/osslib/libcryptoIBM081.so.0.9.8
|
||||
usr/local/ibm/gsk8_64/lib64/C/icc/osslib/*"
|
||||
|
||||
MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT
|
||||
ja:JA_JP ko:KO_KR pl:PL_PL pt:PT_BR ru:RU_RU zh:ZH_CN zh_TW:ZH_TW"
|
||||
MY_LANG_PV="${MY_PVR_ALLDOTS}-"
|
||||
for lang in ${MY_LANGS}; do
|
||||
IUSE="${IUSE} linguas_${lang%:*}"
|
||||
SRC_URI="${SRC_URI} linguas_${lang%:*}? ( \
|
||||
${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
|
||||
${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
|
||||
done
|
||||
unset lang
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="dev-libs/expat
|
||||
dev-libs/libxml2
|
||||
=sys-fs/fuse-2*
|
||||
acl? ( sys-apps/acl )
|
||||
java? ( virtual/jre:1.6 )"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup tsm
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
local rpm rpms lang
|
||||
unpack ${SRC_TAR}
|
||||
|
||||
for rpm in *.rpm; do
|
||||
case ${rpm} in
|
||||
TIVsm-APIcit.*|TIVsm-BAcit.*)
|
||||
use tsm_cit && rpms="${rpms} ./${rpm}"
|
||||
;;
|
||||
TIVsm-BAhdw.*)
|
||||
use tsm_hw && rpms="${rpms} ./${rpm}"
|
||||
;;
|
||||
TIVsm-JBB.*|*-filepath-*)
|
||||
# "journal based backup" for all filesystems
|
||||
# requires a kernel module.
|
||||
# "Linux Filepath source code" available
|
||||
# by request from vendor
|
||||
;;
|
||||
*)
|
||||
rpms="${rpms} ./${rpm}"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
for rpm in ${A}; do
|
||||
case ${rpm} in
|
||||
*.rpm)
|
||||
rpms="${rpms} ${rpm}"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
rpm_unpack ${rpms}
|
||||
|
||||
# Avoid strange error messages caused by read-only files
|
||||
chmod -R u+w "${S}" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Avoid unnecessary dependency on ksh
|
||||
sed -i 's:^#!/usr/bin/ksh:#!/bin/bash:' \
|
||||
opt/tivoli/tsm/client/ba/bin/dsmj || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cp -a opt "${D}" || die
|
||||
cp -a usr "${D}" || die
|
||||
|
||||
# The RPM files contain postinstall scripts which can be extracted
|
||||
# e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
|
||||
# Below we try to mimic the behaviour of these scripts.
|
||||
# We don't deal with SELinux compliance (yet), though.
|
||||
local RPM_INSTALL_PREFIX CLIENTDIR TIVINV_DIR TIVINVFILE i
|
||||
RPM_INSTALL_PREFIX=/opt
|
||||
CLIENTDIR=$RPM_INSTALL_PREFIX/tivoli/tsm/client
|
||||
|
||||
# We don't bother setting timestamps to build dates.
|
||||
# But we should delete the corresponding files.
|
||||
rm -f "${D}"$CLIENTDIR/api/bin*/.buildDate || die
|
||||
rm -f "${D}"$CLIENTDIR/ba/bin*/.buildDate || die
|
||||
rm -f "${D}"$CLIENTDIR/lang/.buildDate || die
|
||||
|
||||
# Create links for messages; this is spread over several postin scripts.
|
||||
for i in $(cd "${D}"${CLIENTDIR}/lang; ls -1d ??_??); do
|
||||
dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
|
||||
dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
|
||||
done
|
||||
|
||||
# Mimic TIVsm-API64 postinstall script
|
||||
for i in libgpfs.so libdmapi.so; do
|
||||
dosym ../..$CLIENTDIR/api/bin64/${i} /usr/lib64/${i}
|
||||
done
|
||||
|
||||
# Mimic TIVsm-BA postinstall script
|
||||
# Create Tivoli Inventory file
|
||||
TIVINV_DIR="/opt/tivoli/tsm/tivinv"
|
||||
TIVINVFILE="TIVTSMBAC0603.SYS2"
|
||||
dodir $TIVINV_DIR
|
||||
echo " " \
|
||||
> "${D}$TIVINV_DIR/$TIVINVFILE"
|
||||
fperms 555 $TIVINV_DIR/$TIVINVFILE
|
||||
|
||||
# Create a link to libexpat if needed
|
||||
if [ ! -e "${ROOT}"/usr/lib64/libexpat.so.0 -a -e "${ROOT}"/usr/lib64/libexpat.so.1 ]
|
||||
then
|
||||
dosym /usr/lib64/libexpat.so.1 $CLIENTDIR/ba/bin/libexpat.so.0
|
||||
fi
|
||||
|
||||
# The gscrypt64 postinstall script only deals with s390[x] SELinux.
|
||||
|
||||
# Mimic gskssl64 postinstall script
|
||||
for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
|
||||
dosym ../local/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
|
||||
/usr/lib64/libgsk8${i}_64.so
|
||||
done
|
||||
for i in capicmd ver; do
|
||||
dosym ../local/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/${i}_64
|
||||
done
|
||||
|
||||
# Done with the postinstall scripts as the RPMs contain them.
|
||||
# Now on to some more Gentoo-specific installation.
|
||||
|
||||
[[ -d "${D}usr/lib" ]] && die "Using 32bit lib dir in 64bit only system"
|
||||
|
||||
# Avoid "QA Notice: Found an absolute symlink in a library directory"
|
||||
local target
|
||||
find "${D}"usr/lib* -lname '/*' | while read i; do
|
||||
target=$(readlink "${i}")
|
||||
rm -v "${i}" || die
|
||||
dosym "../..${target}" "${i#${D}}"
|
||||
done
|
||||
|
||||
fowners -R :tsm /opt/tivoli
|
||||
fperms -R g+rX,o-rx /opt/tivoli # Allow only tsm group users to access TSM tools
|
||||
fperms 4710 /opt/tivoli/tsm/client/ba/bin/dsmtca
|
||||
|
||||
keepdir /var/log/tsm
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/tsm.logrotate" tsm
|
||||
|
||||
keepdir /etc/tivoli
|
||||
|
||||
cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
|
||||
echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
|
||||
echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
|
||||
|
||||
# Added the hostname to be more friendly, the admin will need to edit this file anyway
|
||||
echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
|
||||
echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
|
||||
echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
|
||||
dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
|
||||
|
||||
cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt" || die
|
||||
dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
|
||||
|
||||
# Setup the env
|
||||
dodir /etc/env.d
|
||||
ENV_FILE="${D}/etc/env.d/80tivoli"
|
||||
echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
|
||||
echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
|
||||
echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
|
||||
echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
|
||||
|
||||
newconfd "${FILESDIR}/dsmc.conf.d" dsmc
|
||||
newinitd "${FILESDIR}/dsmc.init.d" dsmc
|
||||
newinitd "${FILESDIR}/dsmcad.init.d" dsmcad
|
||||
|
||||
elog
|
||||
elog "Note that you have to be either root or member of the group tsm to"
|
||||
elog "be able to use the Tivoli Storage Manager client."
|
||||
elog
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local i
|
||||
for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
|
||||
if [[ ! -e $i ]]; then
|
||||
touch $i || die
|
||||
chown :tsm $i || die
|
||||
chmod 0660 $i || die
|
||||
fi
|
||||
done
|
||||
|
||||
# Bug #375041: the log directory itself should not be world writable.
|
||||
# Have to do this in postinst due to bug #141619
|
||||
chown root:tsm /var/log/tsm || die
|
||||
chmod 0750 /var/log/tsm || die
|
||||
}
|
@ -0,0 +1,235 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/tsm/tsm-6.3.0.5.ebuild,v 1.1 2012/05/14 16:12:10 pacho Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit versionator multilib eutils rpm
|
||||
|
||||
DESCRIPTION="Tivoli Storage Manager (TSM) Backup/Archive (B/A) Client and API"
|
||||
HOMEPAGE="http://www.tivoli.com/"
|
||||
|
||||
MY_PV_MAJOR=$(get_major_version)
|
||||
MY_PV_MINOR=$(get_version_component_range 2)
|
||||
MY_PV_TINY=$(get_version_component_range 3)
|
||||
MY_PV_PATCH=$(get_version_component_range 4)
|
||||
|
||||
MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
|
||||
MY_PVR_ALLDOTS=${PV}
|
||||
|
||||
if [[ ${MY_PV_PATCH} == 0 ]]; then
|
||||
MY_RELEASE_PATH=maintenance
|
||||
else
|
||||
MY_RELEASE_PATH=patches
|
||||
fi
|
||||
BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
|
||||
BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
|
||||
BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
|
||||
SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
|
||||
SRC_URI="${BASE_URI}${SRC_TAR}"
|
||||
|
||||
RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
|
||||
LICENSE="as-is Apache-1.1 JDOM gSOAP"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="acl java +tsm_cit +tsm_hw"
|
||||
QA_PREBUILT="opt/tivoli/tsm/client/api/bin64/cit/bin/* \
|
||||
opt/tivoli/tsm/client/ba/bin/cit/bin/*
|
||||
opt/tivoli/tsm/client/api/bin64/cit/VMware/esx-4/dispatcher
|
||||
opt/tivoli/tsm/client/ba/bin/cit/VMware/esx-4/dispatcher
|
||||
opt/tivoli/tsm/client/ba/bin/libzephyr.so
|
||||
usr/local/ibm/gsk8_64/lib64/N/icc/osslib/libcryptoIBM081.so.0.9.8
|
||||
usr/local/ibm/gsk8_64/lib64/C/icc/osslib/*"
|
||||
|
||||
MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT
|
||||
ja:JA_JP ko:KO_KR pl:PL_PL pt:PT_BR ru:RU_RU zh:ZH_CN zh_TW:ZH_TW"
|
||||
MY_LANG_PV="${MY_PVR_ALLDOTS}-"
|
||||
for lang in ${MY_LANGS}; do
|
||||
IUSE="${IUSE} linguas_${lang%:*}"
|
||||
SRC_URI="${SRC_URI} linguas_${lang%:*}? ( \
|
||||
${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
|
||||
${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
|
||||
done
|
||||
unset lang
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="dev-libs/expat
|
||||
dev-libs/libxml2
|
||||
=sys-fs/fuse-2*
|
||||
acl? ( sys-apps/acl )
|
||||
java? ( virtual/jre:1.6 )"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup tsm
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
local rpm rpms lang
|
||||
unpack ${SRC_TAR}
|
||||
|
||||
for rpm in *.rpm; do
|
||||
case ${rpm} in
|
||||
TIVsm-APIcit.*|TIVsm-BAcit.*)
|
||||
use tsm_cit && rpms="${rpms} ./${rpm}"
|
||||
;;
|
||||
TIVsm-BAhdw.*)
|
||||
use tsm_hw && rpms="${rpms} ./${rpm}"
|
||||
;;
|
||||
TIVsm-JBB.*|*-filepath-*)
|
||||
# "journal based backup" for all filesystems
|
||||
# requires a kernel module.
|
||||
# "Linux Filepath source code" available
|
||||
# by request from vendor
|
||||
;;
|
||||
*)
|
||||
rpms="${rpms} ./${rpm}"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
for rpm in ${A}; do
|
||||
case ${rpm} in
|
||||
*.rpm)
|
||||
rpms="${rpms} ${rpm}"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
rpm_unpack ${rpms}
|
||||
|
||||
# Avoid strange error messages caused by read-only files
|
||||
chmod -R u+w "${S}" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Avoid unnecessary dependency on ksh
|
||||
sed -i 's:^#!/usr/bin/ksh:#!/bin/bash:' \
|
||||
opt/tivoli/tsm/client/ba/bin/dsmj || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cp -a opt "${D}" || die
|
||||
cp -a usr "${D}" || die
|
||||
|
||||
# The RPM files contain postinstall scripts which can be extracted
|
||||
# e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
|
||||
# Below we try to mimic the behaviour of these scripts.
|
||||
# We don't deal with SELinux compliance (yet), though.
|
||||
local RPM_INSTALL_PREFIX CLIENTDIR TIVINV_DIR TIVINVFILE i
|
||||
RPM_INSTALL_PREFIX=/opt
|
||||
CLIENTDIR=$RPM_INSTALL_PREFIX/tivoli/tsm/client
|
||||
|
||||
# We don't bother setting timestamps to build dates.
|
||||
# But we should delete the corresponding files.
|
||||
rm -f "${D}"$CLIENTDIR/api/bin*/.buildDate || die
|
||||
rm -f "${D}"$CLIENTDIR/ba/bin*/.buildDate || die
|
||||
rm -f "${D}"$CLIENTDIR/lang/.buildDate || die
|
||||
|
||||
# Create links for messages; this is spread over several postin scripts.
|
||||
for i in $(cd "${D}"${CLIENTDIR}/lang; ls -1d ??_??); do
|
||||
dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
|
||||
dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
|
||||
done
|
||||
|
||||
# Mimic TIVsm-API64 postinstall script
|
||||
for i in libgpfs.so libdmapi.so; do
|
||||
dosym ../..$CLIENTDIR/api/bin64/${i} /usr/lib64/${i}
|
||||
done
|
||||
|
||||
# Mimic TIVsm-BA postinstall script
|
||||
# Create Tivoli Inventory file
|
||||
TIVINV_DIR="/opt/tivoli/tsm/tivinv"
|
||||
TIVINVFILE="TIVTSMBAC0603.SYS2"
|
||||
dodir $TIVINV_DIR
|
||||
echo " " \
|
||||
> "${D}$TIVINV_DIR/$TIVINVFILE"
|
||||
fperms 555 $TIVINV_DIR/$TIVINVFILE
|
||||
|
||||
# Create a link to libexpat if needed
|
||||
if [ ! -e "${ROOT}"/usr/lib64/libexpat.so.0 -a -e "${ROOT}"/usr/lib64/libexpat.so.1 ]
|
||||
then
|
||||
dosym /usr/lib64/libexpat.so.1 $CLIENTDIR/ba/bin/libexpat.so.0
|
||||
fi
|
||||
|
||||
# The gscrypt64 postinstall script only deals with s390[x] SELinux.
|
||||
|
||||
# Mimic gskssl64 postinstall script
|
||||
for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
|
||||
dosym ../local/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
|
||||
/usr/lib64/libgsk8${i}_64.so
|
||||
done
|
||||
for i in capicmd ver; do
|
||||
dosym ../local/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/${i}_64
|
||||
done
|
||||
|
||||
# Done with the postinstall scripts as the RPMs contain them.
|
||||
# Now on to some more Gentoo-specific installation.
|
||||
|
||||
[[ -d "${D}usr/lib" ]] && die "Using 32bit lib dir in 64bit only system"
|
||||
|
||||
# Avoid "QA Notice: Found an absolute symlink in a library directory"
|
||||
local target
|
||||
find "${D}"usr/lib* -lname '/*' | while read i; do
|
||||
target=$(readlink "${i}")
|
||||
rm -v "${i}" || die
|
||||
dosym "../..${target}" "${i#${D}}"
|
||||
done
|
||||
|
||||
fowners -R :tsm /opt/tivoli
|
||||
fperms -R g+rX,o-rx /opt/tivoli # Allow only tsm group users to access TSM tools
|
||||
fperms 4710 /opt/tivoli/tsm/client/ba/bin/dsmtca
|
||||
|
||||
keepdir /var/log/tsm
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/tsm.logrotate" tsm
|
||||
|
||||
keepdir /etc/tivoli
|
||||
|
||||
cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
|
||||
echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
|
||||
echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
|
||||
|
||||
# Added the hostname to be more friendly, the admin will need to edit this file anyway
|
||||
echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
|
||||
echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
|
||||
echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
|
||||
dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
|
||||
|
||||
cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
|
||||
dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
|
||||
|
||||
# Setup the env
|
||||
dodir /etc/env.d
|
||||
ENV_FILE="${D}/etc/env.d/80tivoli"
|
||||
echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
|
||||
echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
|
||||
echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
|
||||
echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
|
||||
|
||||
newconfd "${FILESDIR}/dsmc.conf.d" dsmc
|
||||
newinitd "${FILESDIR}/dsmc.init.d" dsmc
|
||||
newinitd "${FILESDIR}/dsmcad.init.d" dsmcad
|
||||
|
||||
elog
|
||||
elog "Note that you have to be either root or member of the group tsm to"
|
||||
elog "be able to use the Tivoli Storage Manager client."
|
||||
elog
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local i
|
||||
for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
|
||||
if [[ ! -e $i ]]; then
|
||||
touch $i || die
|
||||
chown :tsm $i || die
|
||||
chmod 0660 $i || die
|
||||
fi
|
||||
done
|
||||
|
||||
# Bug #375041: the log directory itself should not be world writable.
|
||||
# Have to do this in postinst due to bug #141619
|
||||
chown root:tsm /var/log/tsm || die
|
||||
chmod 0750 /var/log/tsm || die
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST brasero-2.32.1.tar.bz2 4530933 RMD160 0acfcc53077cbbdaa5e0e593f290c41825f72838 SHA1 56141108561f2b8d45998662b86cf6e20f0ff4f2 SHA256 7b1056b6f19398912d51e3e583bc1b4d2a75ce2a8e15a96e1514fe6edb79df3b
|
||||
DIST brasero-3.2.0.tar.xz 2923972 RMD160 73e5cf390e390aa9e10742462384541944b385e5 SHA1 2dc4deeaeb357b96969ac9aaaf23cef68fe81bec SHA256 2e34309caefa9b2ca179e11c4501c5bfd2bcd5b8ed20bd959a249e034f54455c
|
||||
DIST brasero-3.4.0.tar.xz 3229628 RMD160 6a979083204444f8f7830906e509cef56f6433c2 SHA1 77b959a00c4f1af031804d828eb887a65a67d265 SHA256 e35b739a7db54d21564232303bb9d12609a02976c36cdd8848ff4376a0809198
|
||||
DIST brasero-3.4.1.tar.xz 3233512 RMD160 7f1f00107e0cd7eed5f05c6b3a7b9e1a2add0aad SHA1 ca636f3d2e8f4795a0794cd2a0ce3ded840e2a02 SHA256 e4fcd5dca1c7b0a930a43ae59953fa96db3f6beef41ceedb2f0ef8636e26a7a6
|
||||
|
@ -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/app-cdr/brasero/brasero-3.4.1.ebuild,v 1.1 2012/05/14 00:48:15 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="Brasero (aka Bonfire) is yet another application to burn CD/DVD for the gnome desktop."
|
||||
HOMEPAGE="http://projects.gnome.org/brasero/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="+css doc +introspection +libburn mp3 nautilus packagekit playlist test tracker"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/glib-2.29.14:2
|
||||
>=x11-libs/gtk+-3.0.0:3[introspection?]
|
||||
>=media-libs/gstreamer-0.10.15:0.10
|
||||
>=media-libs/gst-plugins-base-0.10:0.10
|
||||
>=dev-libs/libxml2-2.6:2
|
||||
>=x11-libs/libnotify-0.6.1
|
||||
|
||||
media-libs/libcanberra[gtk3]
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.6.3 )
|
||||
libburn? (
|
||||
>=dev-libs/libburn-0.4
|
||||
>=dev-libs/libisofs-0.6.4 )
|
||||
nautilus? ( >=gnome-base/nautilus-2.91.90 )
|
||||
playlist? ( >=dev-libs/totem-pl-parser-2.29.1 )
|
||||
tracker? ( >=app-misc/tracker-0.12 )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
media-libs/gst-plugins-good:0.10
|
||||
media-plugins/gst-plugins-gconf:0.10
|
||||
media-plugins/gst-plugins-meta:0.10[mp3?]
|
||||
x11-themes/hicolor-icon-theme
|
||||
css? ( media-libs/libdvdcss:1.2 )
|
||||
!libburn? (
|
||||
app-cdr/cdrdao
|
||||
app-cdr/dvd+rw-tools
|
||||
virtual/cdrtools )
|
||||
mp3? ( media-libs/gst-plugins-ugly:0.10 )
|
||||
packagekit? ( app-admin/packagekit-base )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-text/gnome-doc-utils
|
||||
virtual/pkgconfig
|
||||
sys-devel/gettext
|
||||
dev-util/intltool
|
||||
gnome-base/gnome-common:3
|
||||
>=dev-util/gtk-doc-am-1.12
|
||||
doc? ( >=dev-util/gtk-doc-1.12 )
|
||||
test? ( app-text/docbook-xml-dtd:4.3 )"
|
||||
# eautoreconf deps
|
||||
# gnome-base/gnome-common
|
||||
# dev-util/gtk-doc-am
|
||||
PDEPEND="gnome-base/gvfs"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="${G2CONF}
|
||||
--disable-scrollkeeper
|
||||
--disable-caches
|
||||
--disable-dependency-tracking
|
||||
$(use_enable !libburn cdrtools)
|
||||
$(use_enable !libburn cdrkit)
|
||||
$(use_enable !libburn cdrdao)
|
||||
$(use_enable !libburn growisofs)
|
||||
$(use_enable introspection)
|
||||
$(use_enable libburn libburnia)
|
||||
$(use_enable nautilus)
|
||||
$(use_enable playlist)
|
||||
$(use_enable tracker search)"
|
||||
|
||||
DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
|
||||
echo
|
||||
elog "If ${PN} doesn't handle some music or video format, please check"
|
||||
elog "your USE flags on media-plugins/gst-plugins-meta"
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST gcr-3.4.1.tar.xz 1335160 RMD160 f37beab1709caee67ae0ac13d4a5c56b7538116a SHA1 d7b9cadc8dec9f019c23ce72b5f797fb829005e1 SHA256 a0812b6e9623465b0053f4b1b09f3b9316317b2c6ed69a73bc2c5b3b6b849609
|
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/gcr/gcr-3.4.1.ebuild,v 1.1 2012/05/13 18:13:50 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit autotools gnome2 virtualx
|
||||
|
||||
DESCRIPTION="Libraries for cryptographic UIs and accessing PKCS#11 modules"
|
||||
HOMEPAGE="http://www.gnome.org/"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
SLOT="0"
|
||||
IUSE="debug doc +introspection"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
|
||||
|
||||
COMMON_DEPEND=">=app-crypt/gnupg-2
|
||||
>=app-crypt/p11-kit-0.6
|
||||
>=dev-libs/glib-2.30:2
|
||||
>=dev-libs/libgcrypt-1.2.2
|
||||
>=dev-libs/libtasn1-1
|
||||
>=sys-apps/dbus-1.0
|
||||
>=x11-libs/gtk+-3.0:3
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.29 )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!<gnome-base/gnome-keyring-3.3"
|
||||
# gcr was part of gnome-keyring until 3.3
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
sys-devel/gettext
|
||||
>=dev-util/intltool-0.35
|
||||
virtual/pkgconfig
|
||||
|
||||
dev-libs/gobject-introspection-common
|
||||
>=dev-util/gtk-doc-am-1.9
|
||||
|
||||
doc? ( >=dev-util/gtk-doc-1.9 )"
|
||||
# eautoreconf needs:
|
||||
# dev-libs/gobject-introspection-common
|
||||
# >=dev-util/gtk-doc-am-1.9
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="AUTHORS ChangeLog HACKING NEWS README"
|
||||
G2CONF="${G2CONF}
|
||||
$(use_enable debug)
|
||||
--disable-update-icon-cache
|
||||
--disable-update-mime"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# FIXME: failing tests
|
||||
if use test; then
|
||||
sed -e 's:test-subject-public-key::' \
|
||||
-e 's:test-system-prompt:$(NULL):' \
|
||||
-i gcr/tests/Makefile.am || die "sed failed"
|
||||
eautoreconf
|
||||
fi
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_test() {
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
Xemake check
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>gnome</herd>
|
||||
<use>
|
||||
<flag name="introspection">Use
|
||||
<pkg>dev-libs/gobject-introspection</pkg> for introspection</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -1,3 +1,3 @@
|
||||
DIST seahorse-2.32.0.tar.bz2 2491230 RMD160 5599cf02321be038d8aa5bc96174e2cf05c62945 SHA1 1469884b67483c876cfe5b986a76495739927a99 SHA256 f55468237246a485317d59e2fbc1b1ef5f5bd4c5a7b9ff6f40c3d921af0ed52d
|
||||
DIST seahorse-3.2.1.tar.xz 1963480 RMD160 2f48c7201abda484f21f84ea6d5715965bc18418 SHA1 e6819828bb2783566a91549cb5aab5286123965e SHA256 84f1df80055ca66179a023130e179de44053e7df91c1f6c7fd536563fac832b2
|
||||
DIST seahorse-3.2.2.tar.xz 1964064 RMD160 64f42c3c200c3dc83100cb8c63489a0814e0fec8 SHA1 08a231cbb1aac4103465dee45fd18583d44785ea SHA256 25146aa4c4bb4c375ec1afec524e1907852989bd1b0c9e12490326616ac6a7e9
|
||||
DIST seahorse-3.4.1.tar.xz 1999472 RMD160 3b1139e101b90e015663895160f089314d3ffdbb SHA1 877ad155b469c70dbe97982cba2fb0eb2d872924 SHA256 841443ed6d7f865e1c9347867527591287bcc5b2e281c8da11b2cb355d678faa
|
||||
|
@ -0,0 +1,25 @@
|
||||
From 5286af2304b3a59a2deeb508433c13d96fe2287c Mon Sep 17 00:00:00 2001
|
||||
From: Stef Walter <stefw@gnome.org>
|
||||
Date: Mon, 30 Apr 2012 20:29:42 +0200
|
||||
Subject: [PATCH] Fix typo in finalizing of GPGME keyring
|
||||
|
||||
---
|
||||
pgp/seahorse-gpgme-keyring.c | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/pgp/seahorse-gpgme-keyring.c b/pgp/seahorse-gpgme-keyring.c
|
||||
index 79ff39b..579ab09 100644
|
||||
--- a/pgp/seahorse-gpgme-keyring.c
|
||||
+++ b/pgp/seahorse-gpgme-keyring.c
|
||||
@@ -859,7 +859,7 @@ seahorse_gpgme_keyring_finalize (GObject *object)
|
||||
{
|
||||
SeahorseGpgmeKeyring *self = SEAHORSE_GPGME_KEYRING (object);
|
||||
|
||||
- g_clear_object (self->pv->actions);
|
||||
+ g_clear_object (&self->pv->actions);
|
||||
g_hash_table_destroy (self->pv->keys);
|
||||
|
||||
/* All monitoring and scheduling should be done */
|
||||
--
|
||||
1.7.8.6
|
||||
|
@ -1,3 +1,2 @@
|
||||
DIST xen-3.4.2.tar.gz 11187726 RMD160 2ef81df1f44356d60e04e21df2173ce5357d8509 SHA1 3cd2cafacd52bbac2e2da1cfd846ee6260b43455 SHA256 d17c33136041cc8da69214ccf527fc48637bee7a9ab4d68a88ec50e6a9d20b0b
|
||||
DIST xen-4.1.1.tar.gz 10355625 RMD160 4b3c0641b0f098889f627662aa6b8fea00c5b636 SHA1 f1b5ef4b663c339faf9c77fc895327cfbcc9776c SHA256 246289227507466b5da8b2d0da84a5b0e68a392527b16cde38898d0348890f5b
|
||||
DIST xen-4.1.2.tar.gz 10365786 RMD160 457797ec4be286afbbcad940a9ce04e44f3f40d6 SHA1 db584cb0a0cc614888d7df3b196d514fdb2edd6e SHA256 7d9c93057cf480d3f1efa792b19285a84fa3c06060ea5c5c453be00887389b0d
|
||||
|
@ -1,114 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen/xen-3.4.2-r4.ebuild,v 1.3 2011/10/15 19:38:16 hwoarang Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit mount-boot flag-o-matic toolchain-funcs base
|
||||
|
||||
DESCRIPTION="The Xen virtual machine monitor"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="debug custom-cflags pae acm flask xsm"
|
||||
|
||||
RDEPEND="|| ( sys-boot/grub
|
||||
sys-boot/grub-static )
|
||||
>=sys-kernel/xen-sources-2.6.18"
|
||||
PDEPEND="~app-emulation/xen-tools-${PV}"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/"${PN}-3.3.0-unexported-target-fix.patch
|
||||
"${FILESDIR}/"${P}-dump_registers-watchdog-fix.patch
|
||||
"${FILESDIR}/"${P}-no-DMA.patch
|
||||
"${FILESDIR}/"${P}-werror-idiocy.patch
|
||||
"${FILESDIR}/"${P}-fix-__addr_ok-limit.patch
|
||||
"${FILESDIR}/"${P}-CVE-2011-1583.patch
|
||||
)
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="boot/xen-syms-${PV}"
|
||||
|
||||
pkg_setup() {
|
||||
if [ -x "${S}/.config/" ]; then
|
||||
die "You will need to remove ${S}/.config by hand"
|
||||
fi
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]]; then
|
||||
if use x86 && use amd64; then
|
||||
die "Confusion! Both x86 and amd64 are set in your use flags!"
|
||||
elif use x86; then
|
||||
export XEN_TARGET_ARCH="x86_32"
|
||||
elif use amd64; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use xsm ; then
|
||||
export "XSM_ENABLE=y"
|
||||
use acm && export "ACM_SECURITY=y"
|
||||
if use flask ; then
|
||||
! use acm && export "FLASK_ENABLE=y"
|
||||
use acm && ewarn "Both acm and flask XSM specified, defaulting to acm."
|
||||
fi
|
||||
elif use acm || use flask ; then
|
||||
ewarn "acm and flask require USE=xsm to be set, dropping use flags"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
# try and remove all the default custom-cflags
|
||||
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} \;
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
use pae && myopt="${myopt} pae=y"
|
||||
|
||||
if use custom-cflags; then
|
||||
filter-flags -fPIE -fstack-protector
|
||||
replace-flags -O3 -O2
|
||||
else
|
||||
unset CFLAGS
|
||||
fi
|
||||
|
||||
# Send raw LDFLAGS so that --as-needed works
|
||||
emake CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" -C xen ${myopt} || die "compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
use pae && myopt="${myopt} pae=y"
|
||||
|
||||
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install || die "install failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the unoffical wiki page:"
|
||||
elog " http://www.gentoo.org/doc/en/xen-guide.xml"
|
||||
elog " http://en.gentoo-wiki.com/wiki/Xen/"
|
||||
|
||||
if use pae; then
|
||||
echo
|
||||
ewarn "This is a PAE build of Xen. It will *only* boot PAE kernels!"
|
||||
fi
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
commit d9c316e49a03dcd5736eb04396657cc369eb6215
|
||||
Author: Muneyuki Noguchi <nogu.dev@gmail.com>
|
||||
Date: Sat Apr 21 14:49:18 2012 +0900
|
||||
|
||||
Fix compile error with glib 2.32.
|
||||
|
||||
* notify/uim-libnotify.c
|
||||
- Don't include glib/gconvert.h directly.
|
||||
|
||||
diff --git a/notify/uim-libnotify.c b/notify/uim-libnotify.c
|
||||
index 414e74c..a6578a1 100644
|
||||
--- a/notify/uim-libnotify.c
|
||||
+++ b/notify/uim-libnotify.c
|
||||
@@ -37,7 +37,6 @@
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
#include <glib.h>
|
||||
-#include <glib/gconvert.h>
|
||||
#include <libnotify/notify.h>
|
||||
|
||||
#include "uim.h" /* for uim_bool */
|
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin-debug/libreoffice-bin-debug-3.5.2.2-r1.ebuild,v 1.1 2012/05/13 19:21:00 dilfridge Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
BASE_AMD64_URI="mirror://gentoo/amd64-debug-"
|
||||
BASE_X86_URI="mirror://gentoo/x86-debug-"
|
||||
|
||||
DESCRIPTION="LibreOffice, a full office productivity suite. Binary package, debug info."
|
||||
HOMEPAGE="http://www.libreoffice.org"
|
||||
SRC_URI_AMD64="
|
||||
kde? (
|
||||
!java? ( ${BASE_AMD64_URI}${PN/-bin-debug}-kde-${PVR}.tar.xz )
|
||||
java? ( ${BASE_AMD64_URI}${PN/-bin-debug}-kde-java-${PVR}.tar.xz )
|
||||
)
|
||||
gnome? (
|
||||
!java? ( ${BASE_AMD64_URI}${PN/-bin-debug}-gnome-${PVR}.tar.xz )
|
||||
java? ( ${BASE_AMD64_URI}${PN/-bin-debug}-gnome-java-${PVR}.tar.xz )
|
||||
)
|
||||
!kde? ( !gnome? (
|
||||
!java? ( ${BASE_AMD64_URI}${PN/-bin-debug}-base-${PVR}.tar.xz )
|
||||
java? ( ${BASE_AMD64_URI}${PN/-bin-debug}-base-java-${PVR}.tar.xz )
|
||||
) )
|
||||
"
|
||||
SRC_URI_X86="
|
||||
kde? (
|
||||
!java? ( ${BASE_X86_URI}${PN/-bin-debug}-kde-${PVR}.tar.xz )
|
||||
java? ( ${BASE_X86_URI}${PN/-bin-debug}-kde-java-${PVR}.tar.xz )
|
||||
)
|
||||
gnome? (
|
||||
!java? ( ${BASE_X86_URI}${PN/-bin-debug}-gnome-${PVR}.tar.xz )
|
||||
java? ( ${BASE_X86_URI}${PN/-bin-debug}-gnome-java-${PVR}.tar.xz )
|
||||
)
|
||||
!kde? ( !gnome? (
|
||||
!java? ( ${BASE_X86_URI}${PN/-bin-debug}-base-${PVR}.tar.xz )
|
||||
java? ( ${BASE_X86_URI}${PN/-bin-debug}-base-java-${PVR}.tar.xz )
|
||||
) )
|
||||
"
|
||||
|
||||
SRC_URI="
|
||||
x86? ( ${SRC_URI_X86} )
|
||||
"
|
||||
|
||||
IUSE="gnome java kde"
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~x86"
|
||||
|
||||
RDEPEND="=app-office/${PN/-debug}-${PVR}[gnome=,java=,kde=]"
|
||||
|
||||
RESTRICT="test strip"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
dodir /usr
|
||||
cp -aR "${S}"/usr/* "${ED}"/usr/
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST 10gen-mms-agent.zip 30129 RMD160 3d5990281baaa062fadee2f8d121c88901f04a77 SHA1 cb79e490987d4198aa7d7aaa83bdaa18b8aac311 SHA256 f354e04bafb721980b4d45917dce6c37d8f2295170199f1645b1363e92cc0ed2
|
||||
DIST 20111027-10gen-mms-agent.zip 25241 RMD160 418b238a317583bace686f1386b2a4d0c7c78a92 SHA1 37349cfa1453eaecf7354f3d4a2595efdea02a95 SHA256 e5625ce9029a376674d24b242527459403ac782d18c78d91beab93fa8f6783f1
|
||||
DIST 20120514-10gen-mms-agent.zip 30130 RMD160 d67b1bfced0daad063d7693d8d771189bd3000d3 SHA1 b881d490a67cf5484999fa4aa706b505612dd218 SHA256 a305434e79ba97f1bac6a8942ee5fccb8fde11dedc9ae4bd8eb5f6ad2beaef88
|
||||
DIST mongodb-src-r1.8.4.tar.gz 1727826 RMD160 6b561592b4f58f08ca2789e5ab92a3d31597912e SHA1 d296a6e04057e17989de5c7ded3a8c4d28285156 SHA256 c4e27bf22f2353e28ce169dbdbc24205baf863d1f61bd9a31b2230386cada4ae
|
||||
DIST mongodb-src-r2.0.4.tar.gz 2966431 RMD160 13cc2f7b83333dae8c5511190e5f44e8875b673f SHA1 174297b77368058d3e1eed8c98079222507f827b SHA256 65296df2777778f49a72513483d048f271339683c89d676b80e76687496a38f9
|
||||
DIST mongodb-src-r2.0.5.tar.gz 2971476 RMD160 ca4a9ad2955f94cdd6d2e55ffa45f9d5a20dd8de SHA1 5ee058e7d800568bc53d544a809c7b50cea0013e SHA256 5bdd2ccdeb89e1955313f7aabc6afd448cd25bcc1b85e976960f476025bcdc6e
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- virtuoso-opensource-6.1.4/libsrc/Wi/http_client.c
|
||||
+++ virtuoso-opensource-6.1.4/libsrc/Wi/http_client.c
|
||||
@@ -423,7 +423,7 @@
|
||||
socksreq[8] = 0; /* no name */
|
||||
if (name)
|
||||
{
|
||||
- strncat ((char*)socksreq + 8, name, sizeof(socksreq) - 8);
|
||||
+ strncat ((char*)socksreq + 8, name, sizeof(socksreq) - 9);
|
||||
socksreq[sizeof (socksreq) - 1] = 0;
|
||||
packetsize = 9 + strlen ((char *) socksreq + 8);
|
||||
}
|
@ -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-db/virtuoso-server/virtuoso-server-6.1.4-r1.ebuild,v 1.1 2012/05/13 18:39:59 creffett Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit virtuoso
|
||||
|
||||
DESCRIPTION="Server binaries for Virtuoso, high-performance object-relational SQL database"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE="kerberos ldap readline"
|
||||
|
||||
# Bug 305077
|
||||
#RESTRICT="test"
|
||||
|
||||
# zeroconf support looks like broken - disabling - last checked around 5.0.12
|
||||
# mono support fetches mono source and compiles it manually - disabling for now
|
||||
# mono? ( dev-lang/mono )
|
||||
COMMON_DEPEND="
|
||||
dev-libs/libxml2:2
|
||||
>=dev-libs/openssl-0.9.7i:0
|
||||
>=sys-libs/zlib-1.2.5.1-r2:0[minizip]
|
||||
kerberos? ( app-crypt/mit-krb5 )
|
||||
ldap? ( net-nds/openldap )
|
||||
readline? ( sys-libs/readline:0 )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
sys-apps/gawk
|
||||
>=sys-devel/bison-2.3
|
||||
>=sys-devel/flex-2.5.33
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
~dev-db/virtuoso-odbc-${PV}:${SLOT}
|
||||
"
|
||||
|
||||
VOS_EXTRACT="
|
||||
libsrc/Dk
|
||||
libsrc/Thread
|
||||
libsrc/Tidy
|
||||
libsrc/Wi
|
||||
libsrc/Xml.new
|
||||
libsrc/langfunc
|
||||
libsrc/odbcsdk
|
||||
libsrc/plugin
|
||||
libsrc/util
|
||||
binsrc/virtuoso
|
||||
binsrc/tests
|
||||
"
|
||||
|
||||
DOCS=(AUTHORS ChangeLog CREDITS INSTALL NEWS README)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-6.1.4-unbundle-minizip.patch"
|
||||
"${FILESDIR}/${PN}-6.1.4-strncat-overflow.patch"
|
||||
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
sed -e '/^lib_LTLIBRARIES\s*=.*/s/lib_/noinst_/' -i binsrc/virtuoso/Makefile.am \
|
||||
|| die "failed to disable installation of static lib"
|
||||
|
||||
virtuoso_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
myconf+="
|
||||
$(use_enable kerberos krb)
|
||||
$(use_enable ldap openldap)
|
||||
$(use_with readline)
|
||||
--disable-static
|
||||
--disable-hslookup
|
||||
--disable-rendezvous
|
||||
--without-iodbc
|
||||
"
|
||||
|
||||
virtuoso_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
virtuoso_src_install
|
||||
|
||||
# Rename isql executables (conflicts with unixODBC)
|
||||
mv "${ED}/usr/bin/isql" "${ED}/usr/bin/isql-v" || die
|
||||
mv "${ED}/usr/bin/isqlw" "${ED}/usr/bin/isqlw-v" || die
|
||||
|
||||
keepdir /var/lib/virtuoso/db
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST cpptasks-1.0b4.tar.gz 879715 RMD160 bfd90f71412ead94023da3b0a4156309dd4f6f4a SHA1 32c46e752cdac576d4b59d5f1d3324a75295c4ad SHA256 3472af7389c5a7daaff48a054c2b9f10994b55352025b8a2249a7dfcebca14c8
|
||||
DIST cpptasks-1.0b5.tar.gz 902930 RMD160 022b7a4201134229e510820079dff9ef8ccbb597 SHA1 486691ecfb02927de267080b2b237ce622c901eb SHA256 d181cee0c4e28bed202f8bf582dc42bbc824c7712ea29c7b17f036fc7cdfc209
|
||||
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/cpptasks/cpptasks-1.0_beta5.ebuild,v 1.1 2012/05/14 08:37:57 sera Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
JAVA_PKG_IUSE="doc source examples"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Ant-tasks to compile various source languages and produce executables, shared and static libraries"
|
||||
HOMEPAGE="http://ant-contrib.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/ant-contrib/ant-contrib/${P/_/-}/${P/_beta/b}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEP="
|
||||
dev-java/ant-core:0
|
||||
dev-java/xerces:2"
|
||||
RDEPEND="${COMMON_DEP}
|
||||
>=virtual/jre-1.4"
|
||||
DEPEND="${COMMON_DEP}
|
||||
>=virtual/jdk-1.4"
|
||||
|
||||
S="${WORKDIR}/${P/_beta/b}"
|
||||
|
||||
java_prepare() {
|
||||
find -name '*.jar' -exec rm -v {} + || die
|
||||
|
||||
# Doesn't apply any longer.
|
||||
# # https://sourceforge.net/tracker/index.php?func=detail&aid=829906&group_id=36177&atid=416920
|
||||
# # https://bugs.gentoo.org/show_bug.cgi?id=156596
|
||||
# epatch "${FILESDIR}/1.0b4-profiling.patch"
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
|
||||
EANT_BUILD_TARGET="jars"
|
||||
EANT_DOC_TARGET="javadocs -Dbuild.javadocs=build/api"
|
||||
EANT_GENTOO_CLASSPATH="ant-core,xerces-2"
|
||||
|
||||
# TODO
|
||||
#src_test() {
|
||||
# eant run-tests
|
||||
#}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar target/lib/${PN}.jar
|
||||
|
||||
java-pkg_register-ant-task
|
||||
|
||||
dodoc NOTICE
|
||||
use doc && java-pkg_dojavadoc build/api
|
||||
use examples && java-pkg_doexamples src/samples/*
|
||||
use source && java-pkg_dosrc src/main/java/*
|
||||
}
|
@ -0,0 +1,316 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-6.1.11.2.ebuild,v 1.1 2012/05/14 16:27:04 sera Exp $
|
||||
# Build written by Andrew John Hughes (gnu_andrew@member.fsf.org)
|
||||
|
||||
# *********************************************************
|
||||
# * IF YOU CHANGE THIS EBUILD, CHANGE ICEDTEA-7.* AS WELL *
|
||||
# *********************************************************
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools java-pkg-2 java-vm-2 pax-utils prefix versionator virtualx
|
||||
|
||||
ICEDTEA_PKG=${PN}$(replace_version_separator 1 -)
|
||||
OPENJDK_BUILD="24"
|
||||
OPENJDK_DATE="14_nov_2011"
|
||||
OPENJDK_TARBALL="openjdk-6-src-b${OPENJDK_BUILD}-${OPENJDK_DATE}.tar.gz"
|
||||
JAXP_TARBALL="jaxp144_03.zip"
|
||||
JAXWS_TARBALL="jdk6-jaxws2_1_6-2011_06_13.zip"
|
||||
JAF_TARBALL="jdk6-jaf-b20.zip"
|
||||
CACAO_TARBALL="cff92704c4e0.tar.gz"
|
||||
|
||||
DESCRIPTION="A harness to build OpenJDK using Free Software build tools and dependencies"
|
||||
HOMEPAGE="http://icedtea.classpath.org"
|
||||
SRC_URI="
|
||||
http://icedtea.classpath.org/download/source/${ICEDTEA_PKG}.tar.gz
|
||||
http://download.java.net/openjdk/jdk6/promoted/b${OPENJDK_BUILD}/${OPENJDK_TARBALL}
|
||||
http://icedtea.classpath.org/download/drops/${JAXWS_TARBALL}
|
||||
http://icedtea.classpath.org/download/drops/${JAF_TARBALL}
|
||||
http://icedtea.classpath.org/download/drops/${JAXP_TARBALL}
|
||||
!amd64? ( !sparc? ( !x86? (
|
||||
http://icedtea.classpath.org/download/drops/cacao/${CACAO_TARBALL}
|
||||
) ) )"
|
||||
|
||||
LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C"
|
||||
SLOT="6"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
IUSE="+X +alsa cjk +cups debug doc examples javascript +jbootstrap +nsplugin
|
||||
+nss pax_kernel pulseaudio +source systemtap test +webstart"
|
||||
|
||||
# Ideally the following were optional at build time.
|
||||
ALSA_COMMON_DEP="
|
||||
>=media-libs/alsa-lib-1.0"
|
||||
CUPS_COMMON_DEP="
|
||||
>=net-print/cups-1.2.12"
|
||||
X_COMMON_DEP="
|
||||
dev-libs/glib
|
||||
>=media-libs/freetype-2.3.5
|
||||
>=x11-libs/gtk+-2.8:2
|
||||
>=x11-libs/libX11-1.1.3
|
||||
>=x11-libs/libXext-1.1.1
|
||||
>=x11-libs/libXi-1.1.3
|
||||
>=x11-libs/libXrender-0.9.4
|
||||
>=x11-libs/libXtst-1.0.3"
|
||||
X_DEPEND="
|
||||
>=x11-libs/libXau-1.0.3
|
||||
>=x11-libs/libXdmcp-1.0.2
|
||||
>=x11-libs/libXinerama-1.0.2
|
||||
>=x11-libs/libXp-1.0.0
|
||||
x11-proto/inputproto
|
||||
>=x11-proto/xextproto-7.1.1
|
||||
x11-proto/xineramaproto
|
||||
x11-proto/xproto"
|
||||
|
||||
COMMON_DEP="
|
||||
>=media-libs/giflib-4.1.6
|
||||
>=media-libs/libpng-1.2
|
||||
>=sys-libs/zlib-1.2.3
|
||||
virtual/jpeg
|
||||
javascript? ( dev-java/rhino:1.6 )
|
||||
nss? ( >=dev-libs/nss-3.12.5-r1 )
|
||||
pulseaudio? ( >=media-sound/pulseaudio-0.9.11 )
|
||||
systemtap? ( >=dev-util/systemtap-1 )"
|
||||
|
||||
# media-fonts/lklug needs ppc ppc64 keywords
|
||||
RDEPEND="${COMMON_DEP}
|
||||
!dev-java/icedtea6
|
||||
X? (
|
||||
${X_COMMON_DEP}
|
||||
media-fonts/dejavu
|
||||
cjk? (
|
||||
media-fonts/arphicfonts
|
||||
media-fonts/baekmuk-fonts
|
||||
!ppc? ( !ppc64? ( media-fonts/lklug ) )
|
||||
media-fonts/lohit-fonts
|
||||
media-fonts/sazanami
|
||||
)
|
||||
)
|
||||
alsa? ( ${ALSA_COMMON_DEP} )
|
||||
cups? ( ${CUPS_COMMON_DEP} )"
|
||||
|
||||
# Only ant-core-1.8.1 has fixed ant -diagnostics when xerces+xalan are not present.
|
||||
# ca-certificates, perl and openssl are used for the cacerts keystore generation
|
||||
# xext headers have two variants depending on version - bug #288855
|
||||
# !eclipse-ecj-3.7 - bug #392587
|
||||
# autoconf - as long as we use eautoreconf, version restrictions for bug #294918
|
||||
DEPEND="${COMMON_DEP} ${ALSA_COMMON_DEP} ${CUPS_COMMON_DEP} ${X_COMMON_DEP}
|
||||
|| (
|
||||
>=dev-java/gcj-jdk-4.3
|
||||
dev-java/icedtea-bin:6
|
||||
dev-java/icedtea:6
|
||||
)
|
||||
app-arch/cpio
|
||||
app-arch/unzip
|
||||
app-arch/zip
|
||||
app-misc/ca-certificates
|
||||
>=dev-java/ant-core-1.8.1
|
||||
dev-java/ant-nodeps
|
||||
dev-lang/perl
|
||||
>=dev-libs/libxslt-1.1.26
|
||||
dev-libs/openssl
|
||||
virtual/pkgconfig
|
||||
sys-apps/lsb-release
|
||||
${X_DEPEND}
|
||||
jbootstrap? (
|
||||
|| ( <dev-java/eclipse-ecj-3.7 dev-java/ecj-gcj )
|
||||
)
|
||||
pax_kernel? ( sys-apps/paxctl )"
|
||||
|
||||
PDEPEND="webstart? ( dev-java/icedtea-web:6 )
|
||||
nsplugin? ( dev-java/icedtea-web:6[nsplugin] )"
|
||||
|
||||
S="${WORKDIR}"/${ICEDTEA_PKG}
|
||||
|
||||
pkg_setup() {
|
||||
JAVA_PKG_WANT_BUILD_VM="
|
||||
icedtea-6 icedtea-bin-6 icedtea6 icedtea6-bin
|
||||
gcj-jdk"
|
||||
JAVA_PKG_WANT_SOURCE="1.5"
|
||||
JAVA_PKG_WANT_TARGET="1.5"
|
||||
|
||||
java-vm-2_pkg_setup
|
||||
java-pkg-2_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${ICEDTEA_PKG}.tar.gz
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
# icedtea doesn't like some locales. #330433 #389717
|
||||
export LANG="C" LC_ALL="C"
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-${SLOT}_pax_kernel_support.patch #389751
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local config bootstrap
|
||||
local vm=$(java-pkg_get-current-vm)
|
||||
|
||||
# IcedTea6 can't be built using IcedTea7; its class files are too new
|
||||
if has "${vm}" icedtea6 icedtea-6 icedtea6-bin icedtea-bin-6; then
|
||||
use jbootstrap && bootstrap=yes
|
||||
elif has "${vm}" gcj-jdk; then
|
||||
# gcj-jdk ensures ecj is present.
|
||||
use jbootstrap || einfo "bootstrap forced on for ${vm}, ignoring use jbootstrap"
|
||||
bootstrap=yes
|
||||
else
|
||||
eerror "IcedTea${SLOT} must be built with either a JDK based on GNU Classpath or an existing build of IcedTea${SLOT}."
|
||||
die "Install a GNU Classpath JDK (gcj-jdk)"
|
||||
fi
|
||||
|
||||
if [[ ${bootstrap} ]]; then
|
||||
config="${config} --enable-bootstrap"
|
||||
|
||||
# icedtea-6 javac wrapper requires to always have ecj if bootstrapping #392337
|
||||
local ecj_jar="$(readlink "${EPREFIX}"/usr/share/eclipse-ecj/ecj.jar)"
|
||||
# Don't use eclipse-ecj-3.7 #392587
|
||||
local ecj_all=( "${EPREFIX}"/usr/share/{eclipse-ecj,ecj-gcj}-* )
|
||||
ecj_all=( "${ecj_all[@]/*eclipse-ecj-3.7*/}" )
|
||||
if ! has "${ecj_jar%/lib/ecj.jar}" "${ecj_all[@]}"; then
|
||||
ecj_jar="${ecj_jar%/lib/ecj.jar}"
|
||||
ewarn "${ecj_jar##*/} set as system ecj, can't use for bootstrap"
|
||||
ewarn "Found usable: ${ecj_all[@]##*/}"
|
||||
ewarn "using ${ecj_all##*/} instead"
|
||||
ecj_jar="${ecj_all}"/lib/ecj.jar
|
||||
fi
|
||||
config="${config} --with-ecj-jar=${ecj_jar}"
|
||||
else
|
||||
config="${config} --disable-bootstrap"
|
||||
fi
|
||||
|
||||
# Always use HotSpot as the primary VM if available. #389521 #368669 #357633 ...
|
||||
# Otherwise use CACAO
|
||||
if ! has "${ARCH}" amd64 sparc x86; then
|
||||
config="${config} --enable-cacao --with-cacao-src-zip=${DISTDIR}/${CACAO_TARBALL}"
|
||||
fi
|
||||
|
||||
# OpenJDK-specific parallelism support. Bug #389791, #337827
|
||||
# Implementation modified from waf-utils.eclass
|
||||
# Note that "-j" is converted to "-j1" as the system doesn't support --load-average
|
||||
local procs=$(echo -j1 ${MAKEOPTS} | sed -r "s/.*(-j\s*|--jobs=)([0-9]+).*/\2/" )
|
||||
config="${config} --with-parallel-jobs=${procs}";
|
||||
einfo "Configuring using --with-parallel-jobs=${procs}"
|
||||
|
||||
if use javascript ; then
|
||||
config="${config} --with-rhino=$(java-pkg_getjar rhino:1.6 js.jar)"
|
||||
else
|
||||
config="${config} --without-rhino"
|
||||
fi
|
||||
|
||||
unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
|
||||
|
||||
econf ${config} \
|
||||
--with-openjdk-src-zip="${DISTDIR}/${OPENJDK_TARBALL}" \
|
||||
--with-jaxp-drop-zip="${DISTDIR}/${JAXP_TARBALL}" \
|
||||
--with-jaxws-drop-zip="${DISTDIR}/${JAXWS_TARBALL}" \
|
||||
--with-jaf-drop-zip="${DISTDIR}/${JAF_TARBALL}" \
|
||||
--with-jdk-home="$(java-config -O)" \
|
||||
--with-abs-install-dir=/usr/$(get_libdir)/icedtea${SLOT} \
|
||||
$(use_enable !debug optimizations) \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable nss) \
|
||||
$(use_enable pulseaudio pulse-java) \
|
||||
$(use_enable systemtap) \
|
||||
$(use_with pax_kernel pax paxctl)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Would use GENTOO_VM otherwise.
|
||||
export ANT_RESPECT_JAVA_HOME=TRUE
|
||||
|
||||
# Load the least that's needed to avoid possible classpath collisions.
|
||||
export ANT_TASKS="ant-nodeps"
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Use Xvfb for tests
|
||||
unset DISPLAY
|
||||
|
||||
Xemake -j1 check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest="/usr/$(get_libdir)/icedtea${SLOT}"
|
||||
local ddest="${ED}/${dest}"
|
||||
dodir "${dest}"
|
||||
|
||||
dodoc README NEWS AUTHORS THANKYOU
|
||||
dosym /usr/share/doc/${PF} /usr/share/doc/${PN}${SLOT}
|
||||
|
||||
cd openjdk.build/j2sdk-image || die
|
||||
|
||||
# Ensures HeadlessGraphicsEnvironment is used.
|
||||
if ! use X; then
|
||||
rm -r jre/lib/$(get_system_arch)/xawt || die
|
||||
fi
|
||||
|
||||
#402507
|
||||
mkdir jre/.systemPrefs || die
|
||||
touch jre/.systemPrefs/.system.lock || die
|
||||
touch jre/.systemPrefs/.systemRootModFile || die
|
||||
|
||||
# doins can't handle symlinks.
|
||||
cp -vRP bin include jre lib man "${ddest}" || die
|
||||
|
||||
dodoc ASSEMBLY_EXCEPTION THIRD_PARTY_README
|
||||
|
||||
if use doc; then
|
||||
# java-pkg_dohtml needed for package-list #302654
|
||||
java-pkg_dohtml -r ../docs/* || die
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
dodir "${dest}/share";
|
||||
cp -vRP demo sample "${ddest}/share/" || die
|
||||
fi
|
||||
|
||||
if use source; then
|
||||
cp src.zip "${ddest}" || die
|
||||
fi
|
||||
|
||||
# Fix the permissions.
|
||||
find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
|
||||
|
||||
# Needs to be done before generating cacerts
|
||||
java-vm_set-pax-markings "${ddest}"
|
||||
|
||||
# We need to generate keystore - bug #273306
|
||||
einfo "Generating cacerts file from certificates in ${EPREFIX}/usr/share/ca-certificates/"
|
||||
mkdir "${T}/certgen" && cd "${T}/certgen" || die
|
||||
cp "${FILESDIR}/generate-cacerts.pl" . && chmod +x generate-cacerts.pl || die
|
||||
for c in "${EPREFIX}"/usr/share/ca-certificates/*/*.crt; do
|
||||
openssl x509 -text -in "${c}" >> all.crt || die
|
||||
done
|
||||
./generate-cacerts.pl "${ddest}/bin/keytool" all.crt || die
|
||||
cp -vRP cacerts "${ddest}/jre/lib/security/" || die
|
||||
chmod 644 "${ddest}/jre/lib/security/cacerts" || die
|
||||
|
||||
# Bug 390663
|
||||
cp "${FILESDIR}"/fontconfig.Gentoo.properties.src "${T}"/fontconfig.Gentoo.properties || die
|
||||
eprefixify "${T}"/fontconfig.Gentoo.properties
|
||||
insinto "${dest}"/jre/lib
|
||||
doins "${T}"/fontconfig.Gentoo.properties
|
||||
|
||||
set_java_env "${FILESDIR}/icedtea.env"
|
||||
if ! use X || ! use alsa || ! use cups; then
|
||||
java-vm_revdep-mask "${dest}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<=dev-java/icedtea-6.1.10.4:${SLOT}"; then
|
||||
# portage would preserve the symlink otherwise, related to bug #384397
|
||||
rm -f "${EROOT}/usr/lib/jvm/icedtea6"
|
||||
elog "To unify the layout and simplify scripts, the identifier of Icedtea-6*"
|
||||
elog "has changed from 'icedtea6' to 'icedtea-6' starting from version 6.1.10.4-r1"
|
||||
elog "If you had icedtea6 as system VM, the change should be automatic, however"
|
||||
elog "build VM settings in /etc/java-config-2/build/jdk.conf are not changed"
|
||||
elog "and the same holds for any user VM settings. Sorry for the inconvenience."
|
||||
fi
|
||||
}
|
@ -1,9 +1,12 @@
|
||||
DIST otp_doc_html_R13B04.tar.gz 27440785 RMD160 7257fad19ecfeee69b1c7021692374d1e29aba79 SHA1 dc0e68cb1dd6f45cbd5ea792260b16f91eaa0e2f SHA256 fdad0db55ab9339703e7cd61626b5cca95f187084d1dabf07ac97f528b4f47aa
|
||||
DIST otp_doc_html_R14B04.tar.gz 28816088 RMD160 0e44a933ae35fe95d1ecd9958c9e86ce398e259f SHA1 86f76adee9bf953e5578d7998fda9e7dfc0d43f5 SHA256 3b066d23d82667e2d0477856b22ea94262d65baf7366babe1c10d8bddc28ab5a
|
||||
DIST otp_doc_html_R15B.tar.gz 28996680 RMD160 79606286c3708a56dbc9e54efb60f184fe36c809 SHA1 a163b940fa6e4c60f4c9cfe47d993977660e7ed1 SHA256 40504ad983b450a2c6f7611b3be88ebd6349079764520cca050e9c8f6e79dc93
|
||||
DIST otp_doc_html_R15B01.tar.gz 30235738 RMD160 bf5eb7b1e3259f752196e563ba7500b7cee35b65 SHA1 dfbad0ffd99be2ae219615f7a354ee9d1442e1a7 SHA256 0b6eb18855b451882ff5be07d3c25b497b256ead14d6be98791bf056b958a8e7
|
||||
DIST otp_doc_man_R13B04.tar.gz 1033584 RMD160 3046e54a71bf6e114c9208f263caef831782d090 SHA1 660e52302d270138f8e9f2f2b6a562026998012c SHA256 3646198b64bbea0f3760987d20d3392b0b5b2955394a917b92a2c6664a310dd6
|
||||
DIST otp_doc_man_R14B04.tar.gz 1117663 RMD160 420d89fd32f2851253a5cef124ced50851dc2bb0 SHA1 41f4ea59c9622e39b30882e173983252b6faca81 SHA256 8514511e8a8ac3f3f67db06f333548edf283d9a8afcbc9e9eeca7b1af9a107da
|
||||
DIST otp_doc_man_R15B.tar.gz 1122044 RMD160 ba9352d78462a3ec3461ea955ae46b96cad95400 SHA1 4fb7b64ce06a5209a420914962784ca4a38d2113 SHA256 1839cc4cab3120401989e0e1d7ad6872a59e2fd9d3cd82f05ca8c4ebef18eb6b
|
||||
DIST otp_doc_man_R15B01.tar.gz 1287293 RMD160 57e25006fc250d364bb7e7fe0e607b703bea8202 SHA1 ec303c8e2957570b3b1ad56af8a5b29a6618d09a SHA256 5032bcb992369543139136896ba67b4f8fa58fd3d223941a01a39063b221212c
|
||||
DIST otp_src_R13B04.tar.gz 59060560 RMD160 5546431e710814da2089d70d5d02c658a1a2f79b SHA1 fe785833a8029cbb3aee188bdb417f4da33fbd06 SHA256 e2694383b3857f5edfc242b8c3acbfba4683e448387fa124d8e587cba234af43
|
||||
DIST otp_src_R14B04.tar.gz 70773703 RMD160 1619a05e7d3df9cb5f9c41e32d9cfb0d8b4edd56 SHA1 e469c20c8be6c51bb584a2dec235c4714a60b4db SHA256 099b35910e635b9148ac90f70fd9dd592920ed02406eb26c349efd8d1e959b6e
|
||||
DIST otp_src_R15B.tar.gz 74100507 RMD160 022ed91978e85f5a446a90825aa686dd608061a9 SHA1 8177a5d40e4a3d7eb8dc7f7898241a034f35ea72 SHA256 5bc34fc34fc890f84bae7ff1f7c81fbec2c9aa28a0ef51a57d7a8192204d8aa2
|
||||
DIST otp_src_R15B01.tar.gz 75592537 RMD160 98eeceb24ebc5f805d79ac0075b3eec7d537e823 SHA1 c6e1f2fad965deb3696184c1ee16472bcea2bf22 SHA256 f94f7de7328af3c0cdc42089c1a4ecd03bf98ec680f47eb5e6cddc50261cabde
|
||||
|
@ -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-lang/erlang/erlang-15.2.1.ebuild,v 1.1 2012/05/14 07:46:45 djc Exp $
|
||||
|
||||
EAPI=3
|
||||
WX_GTK_VER="2.8"
|
||||
|
||||
inherit elisp-common eutils java-pkg-opt-2 multilib versionator wxwidgets
|
||||
|
||||
# NOTE: If you need symlinks for binaries please tell maintainers or
|
||||
# open up a bug to let it be created.
|
||||
|
||||
# erlang uses a really weird versioning scheme which caused quite a few problems
|
||||
# already. Thus we do a slight modification converting all letters to digits to
|
||||
# make it more sane (see e.g. #26420)
|
||||
|
||||
# the next line selects the right source.
|
||||
ERL_VER=($(get_version_components))
|
||||
MY_PV="R$(get_major_version)B0${ERL_VER[2]}"
|
||||
|
||||
# ATTN!! Take care when processing the C, etc version!
|
||||
MY_P=otp_src_${MY_PV}
|
||||
|
||||
DESCRIPTION="Erlang programming language, runtime environment, and large collection of libraries"
|
||||
HOMEPAGE="http://www.erlang.org/"
|
||||
SRC_URI="http://www.erlang.org/download/${MY_P}.tar.gz
|
||||
http://erlang.org/download/otp_doc_man_${MY_PV}.tar.gz
|
||||
doc? ( http://erlang.org/download/otp_doc_html_${MY_PV}.tar.gz )"
|
||||
|
||||
LICENSE="ErlPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
|
||||
IUSE="compat-ethread doc emacs halfword hipe java kpoll odbc smp sctp ssl tk wxwidgets"
|
||||
|
||||
RDEPEND=">=dev-lang/perl-5.6.1
|
||||
ssl? ( >=dev-libs/openssl-0.9.7d )
|
||||
emacs? ( virtual/emacs )
|
||||
java? ( >=virtual/jdk-1.2 )
|
||||
odbc? ( dev-db/unixODBC )"
|
||||
DEPEND="${RDEPEND}
|
||||
wxwidgets? ( x11-libs/wxGTK:2.8[opengl] )
|
||||
sctp? ( net-misc/lksctp-tools )
|
||||
tk? ( dev-lang/tk )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
SITEFILE=50${PN}-gentoo.el
|
||||
|
||||
pkg_setup() {
|
||||
use wxwidgets && wxwidgets_pkg_setup
|
||||
if use halfword ; then
|
||||
use amd64 || die "halfword support is limited to amd64"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
use odbc || sed -i 's: odbc : :' lib/Makefile
|
||||
|
||||
# bug 263129, don't ignore LDFLAGS, reported upstream
|
||||
sed -e 's:LDFLAGS = \$(DED_LDFLAGS):LDFLAGS += \$(DED_LDFLAGS):' -i "${S}"/lib/megaco/src/flex/Makefile.in || die
|
||||
|
||||
if ! use wxwidgets; then
|
||||
sed -i 's: wx : :' lib/Makefile
|
||||
rm -rf lib/wx
|
||||
fi
|
||||
|
||||
# Nasty workaround, reported upstream
|
||||
cp "${S}"/lib/configure.in.src "${S}"/lib/configure.in || die
|
||||
|
||||
# bug 383697
|
||||
sed -i '1i#define OF(x) x' erts/emulator/drivers/common/gzio.c || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use java || export JAVAC=false
|
||||
|
||||
econf \
|
||||
--enable-threads \
|
||||
--enable-shared-zlib \ \
|
||||
$(use_enable sctp) \
|
||||
$(use_enable halfword halfword-emulator) \
|
||||
$(use_enable hipe) \
|
||||
$(use_with ssl ssl "${EPREFIX}"/usr) \
|
||||
$(use_enable ssl dynamic-ssl-lib) \
|
||||
$(use_enable kpoll kernel-poll) \
|
||||
$(use_enable smp smp-support) \
|
||||
$(use compat-ethread && echo "--enable-ethread-pre-pentium4-compatibility") \
|
||||
$(use x64-macos && echo "--enable-darwin-64bit") \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use java || export JAVAC=false
|
||||
emake -j1 || die
|
||||
|
||||
if use emacs ; then
|
||||
pushd lib/tools/emacs
|
||||
elisp-compile *.el || die
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
extract_version() {
|
||||
sed -n -e "/^$2 = \(.*\)$/s::\1:p" "${S}/$1/vsn.mk"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local ERL_LIBDIR=/usr/$(get_libdir)/erlang
|
||||
local ERL_INTERFACE_VER=$(extract_version lib/erl_interface EI_VSN)
|
||||
local ERL_ERTS_VER=$(extract_version erts VSN)
|
||||
|
||||
emake -j1 INSTALL_PREFIX="${D}" install || die
|
||||
dodoc AUTHORS README.md
|
||||
|
||||
dosym "${ERL_LIBDIR}/bin/erl" /usr/bin/erl
|
||||
dosym "${ERL_LIBDIR}/bin/erlc" /usr/bin/erlc
|
||||
dosym "${ERL_LIBDIR}/bin/escript" /usr/bin/escript
|
||||
dosym \
|
||||
"${ERL_LIBDIR}/lib/erl_interface-${ERL_INTERFACE_VER}/bin/erl_call" \
|
||||
/usr/bin/erl_call
|
||||
dosym "${ERL_LIBDIR}/erts-${ERL_ERTS_VER}/bin/beam" /usr/bin/beam
|
||||
use smp && dosym "${ERL_LIBDIR}/erts-${ERL_ERTS_VER}/bin/beam.smp" /usr/bin/beam.smp
|
||||
|
||||
## Remove ${D} from the following files
|
||||
sed -e "s:${D}::g" -i "${ED}${ERL_LIBDIR}/bin/erl" || die
|
||||
sed -e "s:${D}::g" -i "${ED}${ERL_LIBDIR}/bin/start" || die
|
||||
grep -rle "${D}" "${ED}/${ERL_LIBDIR}/erts-${ERL_ERTS_VER}" | xargs sed -i -e "s:${D}::g"
|
||||
|
||||
## Clean up the no longer needed files
|
||||
rm "${ED}/${ERL_LIBDIR}/Install"||die
|
||||
|
||||
for i in "${WORKDIR}"/man/man* ; do
|
||||
dodir "${ERL_LIBDIR}/${i##${WORKDIR}}"
|
||||
done
|
||||
for file in "${WORKDIR}"/man/man*/*.[1-9]; do
|
||||
# doman sucks so we can't use it
|
||||
cp ${file} "${ED}/${ERL_LIBDIR}"/man/man${file##*.}/
|
||||
done
|
||||
# extend MANPATH, so the normal man command can find it
|
||||
# see bug 189639
|
||||
dodir /etc/env.d/
|
||||
echo "MANPATH=\"${EPREFIX}${ERL_LIBDIR}/man\"" > "${ED}/etc/env.d/90erlang"
|
||||
|
||||
if use doc ; then
|
||||
dohtml -A README,erl,hrl,c,h,kwc,info -r \
|
||||
"${WORKDIR}"/doc "${WORKDIR}"/lib "${WORKDIR}"/erts-*
|
||||
fi
|
||||
|
||||
if use emacs ; then
|
||||
pushd "${S}"
|
||||
elisp-install erlang lib/tools/emacs/*.{el,elc}
|
||||
sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \
|
||||
"${FILESDIR}"/${SITEFILE} > "${T}"/${SITEFILE}
|
||||
elisp-site-file-install "${T}"/${SITEFILE}
|
||||
popd
|
||||
fi
|
||||
|
||||
# prepare erl for SMP, fixes bug #188112
|
||||
use smp && sed -i -e 's:\(exec.*erlexec\):\1 -smp:' \
|
||||
"${ED}/${ERL_LIBDIR}/bin/erl"
|
||||
|
||||
newinitd "${FILESDIR}"/epmd.init epmd || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
elog
|
||||
elog "If you need a symlink to one of Erlang's binaries,"
|
||||
elog "please open a bug on http://bugs.gentoo.org/"
|
||||
elog
|
||||
elog "Gentoo's versioning scheme differs from the author's, so please refer to this version as ${MY_PV}"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST LuaJIT-1.1.6.tar.gz 364447 RMD160 9ad03d5a88bb15548edd2f7263f79cc99be4a7c6 SHA1 cfe7e3f84b3641bba237164d2ad1c3d37f41cada SHA256 c3dee987635540f64ebe834aa6c8ef17e0c0b8248324ee20953f50c98be2dd8a
|
||||
DIST LuaJIT-2.0.0-beta10.tar.gz 890830 RMD160 7159791c2ad27856cb39e62a9b9f337a756ab9d2 SHA1 560d06621ea616bea1d67867faa235d608040396 SHA256 750e9317ca2c61fa17e739abc582c55c1fe69749ba65442dfd7f04ce20cf9ff6
|
||||
DIST LuaJIT-2.0.0-beta7.tar.gz 674740 RMD160 3a76a0f5c09712f1c99556b8978ed9de039f4d4d SHA1 77657de3cf7794437daac29a03870515213d0711 SHA256 ab28c05d7d306c6a678fe3f0549dcecd4373ed4ee7cb9d85444a958e584087d8
|
||||
DIST LuaJIT-2.0.0-beta8.tar.gz 720393 RMD160 34af1d6fe72c76f48e9023602bdbdea20e26e6f8 SHA1 4eadd45f6dc75d7b6daefe442925649028654753 SHA256 408aaa6606dc91a37fd58f2b75d47a20f831b1d57d33d1af18721327d745653f
|
||||
DIST beta8_hotfix1.patch 4876 RMD160 cb8f197a66e6fb59f6728515f75296438dce38ce SHA1 e540861975f0d44cad57efd8be616a399ac5f111 SHA256 142716faaa0dbb97938aa50179fc2ee4d3e45aab80951adfd7f96dc1fd1d7c43
|
||||
|
@ -0,0 +1,171 @@
|
||||
diff -ru LuaJIT-2.0.0-beta10.orig/etc/luajit.pc LuaJIT-2.0.0-beta10/etc/luajit.pc
|
||||
--- LuaJIT-2.0.0-beta10.orig/etc/luajit.pc 2012-05-12 22:55:18.768282860 -0300
|
||||
+++ LuaJIT-2.0.0-beta10/etc/luajit.pc 2012-05-12 22:55:48.412282447 -0300
|
||||
@@ -3,13 +3,13 @@
|
||||
minver=0
|
||||
relver=0
|
||||
version=${majver}.${minver}.${relver}-beta10
|
||||
-abiver=5.1
|
||||
+abiver=jit-5.1
|
||||
|
||||
-prefix=/usr/local
|
||||
+prefix=/usr
|
||||
exec_prefix=${prefix}
|
||||
-libdir=${exec_prefix}/lib
|
||||
+libdir=${exec_prefix}/@LIBDIR@
|
||||
libname=luajit-${abiver}
|
||||
-includedir=${prefix}/include/luajit-${majver}.${minver}
|
||||
+includedir=${prefix}/include/luajit-@SHORTVER@
|
||||
|
||||
INSTALL_LMOD=${prefix}/share/lua/${abiver}
|
||||
INSTALL_CMOD=${prefix}/lib/lua/${abiver}
|
||||
diff -ru LuaJIT-2.0.0-beta10.orig/Makefile LuaJIT-2.0.0-beta10/Makefile
|
||||
--- LuaJIT-2.0.0-beta10.orig/Makefile 2012-05-12 22:55:18.764282863 -0300
|
||||
+++ LuaJIT-2.0.0-beta10/Makefile 2012-05-12 22:58:17.928279877 -0300
|
||||
@@ -18,37 +18,38 @@
|
||||
RELVER= 0
|
||||
PREREL= -beta10
|
||||
VERSION= $(MAJVER).$(MINVER).$(RELVER)$(PREREL)
|
||||
-ABIVER= 5.1
|
||||
-NODOTABIVER= 51
|
||||
+SHORTVER= $(MAJVER).$(MINVER)
|
||||
+ABIVER= jit-$(SHORTVER)
|
||||
+NODOTSHORTVER= $(MAJVER)$(MINVER)
|
||||
|
||||
##############################################################################
|
||||
#
|
||||
# Change the installation path as needed. This automatically adjusts
|
||||
# the paths in src/luaconf.h, too. Note: PREFIX must be an absolute path!
|
||||
#
|
||||
-export PREFIX= /usr/local
|
||||
+export PREFIX= /usr
|
||||
##############################################################################
|
||||
|
||||
DPREFIX= $(DESTDIR)$(PREFIX)
|
||||
INSTALL_BIN= $(DPREFIX)/bin
|
||||
-INSTALL_LIB= $(DPREFIX)/lib
|
||||
+INSTALL_LIB= $(DPREFIX)/$(LIBDIR)
|
||||
INSTALL_SHARE= $(DPREFIX)/share
|
||||
-INSTALL_INC= $(DPREFIX)/include/luajit-$(MAJVER).$(MINVER)
|
||||
+INSTALL_INC= $(DPREFIX)/include/luajit-$(SHORTVER)
|
||||
|
||||
-INSTALL_JITLIB= $(INSTALL_SHARE)/luajit-$(VERSION)/jit
|
||||
+INSTALL_JITLIB= $(INSTALL_SHARE)/luajit-$(SHORTVER)/jit
|
||||
INSTALL_LMOD= $(INSTALL_SHARE)/lua/$(ABIVER)
|
||||
INSTALL_CMOD= $(INSTALL_LIB)/lua/$(ABIVER)
|
||||
INSTALL_MAN= $(INSTALL_SHARE)/man/man1
|
||||
INSTALL_PKGCONFIG= $(INSTALL_LIB)/pkgconfig
|
||||
|
||||
-INSTALL_TNAME= luajit-$(VERSION)
|
||||
+INSTALL_TNAME= luajit-$(SHORTVER)
|
||||
INSTALL_TSYMNAME= luajit
|
||||
-INSTALL_ANAME= libluajit-$(ABIVER).a
|
||||
-INSTALL_SONAME= libluajit-$(ABIVER).so.$(MAJVER).$(MINVER).$(RELVER)
|
||||
-INSTALL_SOSHORT= libluajit-$(ABIVER).so
|
||||
-INSTALL_DYLIBNAME= libluajit-$(NODOTABIVER).$(MAJVER).$(MINVER).$(RELVER).dylib
|
||||
-INSTALL_DYLIBSHORT1= libluajit-$(NODOTABIVER).dylib
|
||||
-INSTALL_DYLIBSHORT2= libluajit-$(NODOTABIVER).$(MAJVER).dylib
|
||||
+INSTALL_ANAME= libluajit-$(SHORTVER).a
|
||||
+INSTALL_SONAME= libluajit-$(SHORTVER).so.$(RELVER)
|
||||
+INSTALL_SOSHORT= libluajit-$(SHORTVER).so
|
||||
+INSTALL_DYLIBNAME= libluajit-$(NODOTSHORTVER).$(MAJVER).$(MINVER).$(RELVER).dylib
|
||||
+INSTALL_DYLIBSHORT1= libluajit-$(NODOTSHORTVER).dylib
|
||||
+INSTALL_DYLIBSHORT2= libluajit-$(NODOTSHORTVER).$(MAJVER).dylib
|
||||
INSTALL_PCNAME= luajit.pc
|
||||
|
||||
INSTALL_STATIC= $(INSTALL_LIB)/$(INSTALL_ANAME)
|
||||
@@ -57,7 +58,7 @@
|
||||
INSTALL_SHORT2= $(INSTALL_LIB)/$(INSTALL_SOSHORT)
|
||||
INSTALL_T= $(INSTALL_BIN)/$(INSTALL_TNAME)
|
||||
INSTALL_TSYM= $(INSTALL_BIN)/$(INSTALL_TSYMNAME)
|
||||
-INSTALL_PC= $(INSTALL_PKGCONFIG)/$(INSTALL_PCNAME)
|
||||
+INSTALL_PC= $(INSTALL_PKGCONFIG)/luajit-$(SHORTVER).pc
|
||||
|
||||
INSTALL_DIRS= $(INSTALL_BIN) $(INSTALL_LIB) $(INSTALL_INC) $(INSTALL_MAN) \
|
||||
$(INSTALL_PKGCONFIG) $(INSTALL_JITLIB) $(INSTALL_LMOD) $(INSTALL_CMOD)
|
||||
@@ -68,7 +69,7 @@
|
||||
INSTALL_X= install -m 0755
|
||||
INSTALL_F= install -m 0644
|
||||
LDCONFIG= ldconfig -n
|
||||
-SED_PC= sed -e "s|^prefix=.*|prefix=$(PREFIX)|"
|
||||
+SED_PC= sed -e "s|@SHORTVER@|$(SHORTVER)|" -e "s|@LIBDIR@|$(LIBDIR)|"
|
||||
|
||||
FILE_T= luajit
|
||||
FILE_A= libluajit.a
|
||||
@@ -108,7 +109,7 @@
|
||||
$(LDCONFIG) $(INSTALL_LIB) && \
|
||||
$(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT1) && \
|
||||
$(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT2) || :
|
||||
- cd etc && $(INSTALL_F) $(FILE_MAN) $(INSTALL_MAN)
|
||||
+ cd etc && $(INSTALL_F) $(FILE_MAN) $(INSTALL_MAN)/luajit-$(SHORTVER).1
|
||||
cd etc && $(SED_PC) $(FILE_PC) > $(FILE_PC).tmp && \
|
||||
$(INSTALL_F) $(FILE_PC).tmp $(INSTALL_PC) && \
|
||||
$(RM) $(FILE_PC).tmp
|
||||
diff -ru LuaJIT-2.0.0-beta10.orig/src/luaconf.h LuaJIT-2.0.0-beta10/src/luaconf.h
|
||||
--- LuaJIT-2.0.0-beta10.orig/src/luaconf.h 2012-05-12 22:55:18.776282852 -0300
|
||||
+++ LuaJIT-2.0.0-beta10/src/luaconf.h 2012-05-12 23:00:29.024277594 -0300
|
||||
@@ -22,16 +22,16 @@
|
||||
#define LUA_CPATH_DEFAULT \
|
||||
".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll"
|
||||
#else
|
||||
-#define LUA_ROOT "/usr/local/"
|
||||
-#define LUA_LDIR LUA_ROOT "share/lua/5.1/"
|
||||
-#define LUA_CDIR LUA_ROOT "lib/lua/5.1/"
|
||||
+#define LUA_ROOT "/usr/"
|
||||
+#define LUA_LDIR LUA_ROOT "share/lua/jit-2.0/"
|
||||
+#define LUA_CDIR LUA_ROOT "lib/lua/jit-2.0/"
|
||||
#ifdef LUA_XROOT
|
||||
-#define LUA_JDIR LUA_XROOT "share/luajit-2.0.0-beta10/"
|
||||
+#define LUA_JDIR LUA_XROOT "share/luajit-2.0/"
|
||||
#define LUA_XPATH \
|
||||
- ";" LUA_XROOT "share/lua/5.1/?.lua;" LUA_XROOT "share/lua/5.1/?/init.lua"
|
||||
-#define LUA_XCPATH LUA_XROOT "lib/lua/5.1/?.so;"
|
||||
+ ";" LUA_XROOT "share/lua/5.1/?.lua;" LUA_XROOT "share/lua/jit-2.0/?/init.lua"
|
||||
+#define LUA_XCPATH LUA_XROOT "lib/lua/jit-2.0/?.so;"
|
||||
#else
|
||||
-#define LUA_JDIR LUA_ROOT "share/luajit-2.0.0-beta10/"
|
||||
+#define LUA_JDIR LUA_ROOT "share/luajit-2.0/"
|
||||
#define LUA_XPATH
|
||||
#define LUA_XCPATH
|
||||
#endif
|
||||
diff -ru LuaJIT-2.0.0-beta10.orig/src/Makefile LuaJIT-2.0.0-beta10/src/Makefile
|
||||
--- LuaJIT-2.0.0-beta10.orig/src/Makefile 2012-05-12 22:55:18.772282855 -0300
|
||||
+++ LuaJIT-2.0.0-beta10/src/Makefile 2012-05-12 23:01:37.340276596 -0300
|
||||
@@ -13,8 +13,8 @@
|
||||
MAJVER= 2
|
||||
MINVER= 0
|
||||
RELVER= 0
|
||||
-ABIVER= 5.1
|
||||
-NODOTABIVER= 51
|
||||
+SHORTVER= $(MAJVER).$(MINVER)
|
||||
+NODOTSHORTVER= $(MAJVER)$(MINVER)
|
||||
|
||||
##############################################################################
|
||||
############################# COMPILER OPTIONS #############################
|
||||
@@ -204,10 +204,9 @@
|
||||
TARGET_AR= $(CROSS)ar rcus
|
||||
TARGET_STRIP= $(CROSS)strip
|
||||
|
||||
-TARGET_SONAME= libluajit-$(ABIVER).so.$(MAJVER)
|
||||
-TARGET_DYLIBNAME= libluajit-$(NODOTABIVER).$(MAJVER).dylib
|
||||
-TARGET_DYLIBPATH= $(or $(PREFIX),/usr/local)/lib/$(TARGET_DYLIBNAME)
|
||||
-TARGET_DLLNAME= lua$(NODOTABIVER).dll
|
||||
+TARGET_SONAME= libluajit-$(SHORTVER).so.$(RELVER)
|
||||
+TARGET_DYLIBNAME= libluajit-$(NODOTSHORTVER).$(MAJVER).$(MINVER).$(RELVER).dylib
|
||||
+TARGET_DLLNAME= lua$(NODOTSHORTVER).dll
|
||||
TARGET_XSHLDFLAGS= -shared -fPIC -Wl,-soname,$(TARGET_SONAME)
|
||||
TARGET_DYNXLDOPTS=
|
||||
|
||||
@@ -476,10 +475,8 @@
|
||||
endif
|
||||
endif
|
||||
|
||||
-Q= @
|
||||
-E= @echo
|
||||
-#Q=
|
||||
-#E= @:
|
||||
+Q=
|
||||
+E= @:
|
||||
|
||||
##############################################################################
|
||||
# Make targets.
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/luajit/luajit-2.0.0_beta10.ebuild,v 1.1 2012/05/13 20:37:14 rafaelmartins Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils multilib pax-utils versionator toolchain-funcs
|
||||
|
||||
MY_P="LuaJIT-$(get_version_component_range 1-3)-$(get_version_component_range 4)"
|
||||
if [[ $(get_version_component_range 5) != "" ]]; then
|
||||
HOTFIX="$(get_version_component_range 4-5)"
|
||||
HOTFIX="${HOTFIX/_p/_hotfix}.patch"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Just-In-Time Compiler for the Lua programming language"
|
||||
HOMEPAGE="http://luajit.org/"
|
||||
SRC_URI="http://luajit.org/download/${MY_P}.tar.gz
|
||||
${HOTFIX:+http://luajit.org/download/${HOTFIX}}"
|
||||
|
||||
LICENSE="MIT"
|
||||
# this should probably be pkgmoved to 2.0 for sake of consistency.
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare(){
|
||||
if [[ -n ${HOTFIX} ]]; then
|
||||
epatch "${DISTDIR}/${HOTFIX}"
|
||||
fi
|
||||
|
||||
epatch "${FILESDIR}"/${MY_P}-gentoo.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
HOST_CC="$(tc-getBUILD_CC)" \
|
||||
STATIC_CC="$(tc-getCC)" \
|
||||
DYNAMIC_CC="$(tc-getCC) -fPIC" \
|
||||
TARGET_LD="$(tc-getCC)" \
|
||||
TARGET_AR="$(tc-getAR) rcus" \
|
||||
TARGET_STRIP="true" \
|
||||
LDCONFIG="true" \
|
||||
LIBDIR="$(get_libdir)"
|
||||
}
|
||||
|
||||
src_install(){
|
||||
emake install \
|
||||
DESTDIR="${D}" \
|
||||
HOST_CC="$(tc-getBUILD_CC)" \
|
||||
STATIC_CC="$(tc-getCC)" \
|
||||
DYNAMIC_CC="$(tc-getCC) -fPIC" \
|
||||
TARGET_LD="$(tc-getCC)" \
|
||||
TARGET_AR="$(tc-getAR) rcus" \
|
||||
TARGET_STRIP="true" \
|
||||
LDCONFIG="true" \
|
||||
LIBDIR="$(get_libdir)"
|
||||
|
||||
pax-mark m "${D}usr/bin/luajit-2.0"
|
||||
|
||||
cd "${S}"/doc
|
||||
dohtml -r *
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST opensc-0.11.13.tar.gz 1513327 RMD160 cd900866e51cd64fa7c5a3287cd58193dec26528 SHA1 408b374286004c3df15ec17856f69fd4c2a1aceb SHA256 a9a42d6d51fb500f34248fcd0d4083c99d25bc5e74df60fe4efa19b5b4e6d890
|
||||
DIST opensc-0.12.0.tar.gz 1409151 RMD160 ff377d21daaf2777b8518ed166237f831692f36d SHA1 1400da0732a4cbf9ff7f8296bf59c6e153207247 SHA256 84f8a8e1825e487d321390f0650c590334c76f81291d2eb5a315ad73459d2f6f
|
||||
DIST opensc-0.12.1.tar.gz 1579129 RMD160 ab1f1a27fce1e2769d21d15c79fd7eef386ba4cd SHA1 656524f2aef61cfeea60b7795ef5a942bcca6f30 SHA256 e9b5812dd8024484c6bb7400fb3e638aca2e9b112a7ffb161c300fe2260b28c8
|
||||
DIST opensc-0.12.2.tar.gz 1738553 RMD160 45504135db05fd404a357ebd8bea047c5c8604dc SHA1 8c34be52eb94025eb181c02b466223901bef744c SHA256 50e7371c0f45a3ed887098b712554905e3ef639d4dfca5ac90b8af5f69f1e675
|
||||
|
@ -1,42 +0,0 @@
|
||||
Index: opensc-0.12.0/src/pkcs11/Makefile.am
|
||||
===================================================================
|
||||
--- opensc-0.12.0.orig/src/pkcs11/Makefile.am
|
||||
+++ opensc-0.12.0/src/pkcs11/Makefile.am
|
||||
@@ -15,9 +15,10 @@ OPENSC_PKCS11_SRC = pkcs11-global.c pkcs
|
||||
mechanism.c openssl.c framework-pkcs15.c \
|
||||
framework-pkcs15init.c debug.c opensc-pkcs11.exports \
|
||||
pkcs11-display.c pkcs11-display.h
|
||||
-OPENSC_PKCS11_LIBS = $(OPTIONAL_OPENSSL_LIBS) $(PTHREAD_LIBS) \
|
||||
+OPENSC_PKCS11_LIBS = \
|
||||
$(top_builddir)/src/common/libcompat.la \
|
||||
- $(top_builddir)/src/libopensc/libopensc.la
|
||||
+ $(top_builddir)/src/libopensc/libopensc.la \
|
||||
+ $(OPTIONAL_OPENSSL_LIBS) $(PTHREAD_LIBS)
|
||||
|
||||
libpkcs11_la_SOURCES = libpkcs11.c
|
||||
libpkcs11_la_LIBADD = $(LTLIB_LIBS)
|
||||
@@ -35,7 +36,7 @@ onepin_opensc_pkcs11_la_LDFLAGS = $(AM_L
|
||||
-module -shared -avoid-version -no-undefined
|
||||
|
||||
pkcs11_spy_la_SOURCES = pkcs11-spy.c pkcs11-display.c pkcs11-display.h pkcs11-spy.exports
|
||||
-pkcs11_spy_la_LIBADD = $(OPTIONAL_OPENSSL_LIBS) $(LTLIB_LIBS) libpkcs11.la
|
||||
+pkcs11_spy_la_LIBADD = libpkcs11.la $(OPTIONAL_OPENSSL_LIBS) $(LTLIB_LIBS)
|
||||
pkcs11_spy_la_LDFLAGS = $(AM_LDFLAGS) \
|
||||
-export-symbols "$(srcdir)/pkcs11-spy.exports" \
|
||||
-module -shared -avoid-version -no-undefined
|
||||
Index: opensc-0.12.0/src/tools/Makefile.am
|
||||
===================================================================
|
||||
--- opensc-0.12.0.orig/src/tools/Makefile.am
|
||||
+++ opensc-0.12.0/src/tools/Makefile.am
|
||||
@@ -24,8 +24,9 @@ opensc_explorer_LDADD = $(OPTIONAL_READL
|
||||
pkcs15_tool_SOURCES = pkcs15-tool.c util.c
|
||||
pkcs15_tool_LDADD = $(OPTIONAL_OPENSSL_LIBS)
|
||||
pkcs11_tool_SOURCES = pkcs11-tool.c util.c
|
||||
-pkcs11_tool_LDADD = $(OPTIONAL_OPENSSL_LIBS) $(LTLIB_LIBS) \
|
||||
- $(top_builddir)/src/pkcs11/libpkcs11.la
|
||||
+pkcs11_tool_LDADD = \
|
||||
+ $(top_builddir)/src/pkcs11/libpkcs11.la \
|
||||
+ $(OPTIONAL_OPENSSL_LIBS) $(LTLIB_LIBS)
|
||||
pkcs15_crypt_SOURCES = pkcs15-crypt.c util.c
|
||||
pkcs15_crypt_LDADD = $(OPTIONAL_OPENSSL_LIBS)
|
||||
cryptoflex_tool_SOURCES = cryptoflex-tool.c util.c
|
@ -0,0 +1,64 @@
|
||||
From 9e62ac20a1dc39e001875e57067ab7fa2389ae73 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@flameeyes.eu>
|
||||
Date: Sun, 13 May 2012 14:55:35 -0700
|
||||
Subject: [PATCH] build: fix parallel install by creating directory in the
|
||||
rule
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Relying on the rule that creates the directory is a bad idea to be
|
||||
parallel safe.
|
||||
|
||||
Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
|
||||
---
|
||||
etc/Makefile.am | 4 ++--
|
||||
src/pkcs11/Makefile.am | 7 ++++---
|
||||
2 files changed, 6 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/etc/Makefile.am b/etc/Makefile.am
|
||||
index 0ef546f..478a7bb 100644
|
||||
--- a/etc/Makefile.am
|
||||
+++ b/etc/Makefile.am
|
||||
@@ -18,8 +18,8 @@ opensc.conf: opensc.conf.in force
|
||||
-e 's|@DEFAULT_PCSC_PROVIDER[@]|$(DEFAULT_PCSC_PROVIDER)|g' \
|
||||
< $< > $@
|
||||
|
||||
-sysconf_DATA=#required in order to create dir
|
||||
-install-exec-hook: install-sysconfDATA opensc.conf
|
||||
+install-exec-hook: opensc.conf
|
||||
+ $(mkdir_p) "$(DESTDIR)$(sysconfdir)"
|
||||
if [ -f "$(DESTDIR)$(sysconfdir)/opensc.conf" ]; then \
|
||||
$(INSTALL_DATA) opensc.conf "$(DESTDIR)$(sysconfdir)/opensc.conf.new"; \
|
||||
else \
|
||||
diff --git a/src/pkcs11/Makefile.am b/src/pkcs11/Makefile.am
|
||||
index ba5e70d..742c5fb 100644
|
||||
--- a/src/pkcs11/Makefile.am
|
||||
+++ b/src/pkcs11/Makefile.am
|
||||
@@ -52,19 +52,20 @@ pkcs11-jar: jar-dir
|
||||
-k"testcert" jar-dir
|
||||
|
||||
if WIN32
|
||||
-install-exec-hook: install-pkcs11DATA
|
||||
+install-exec-hook:
|
||||
+ $(mkdir_p) "$(DESTDIR)$(libdir)"
|
||||
for l in opensc-pkcs11.dll onepin-opensc-pkcs11.dll pkcs11-spy.dll; do \
|
||||
mv "$(DESTDIR)$(libdir)/$$l" "$(DESTDIR)$(bindir)/$$l"; \
|
||||
done
|
||||
else
|
||||
# see http://wiki.cacert.org/wiki/Pkcs11TaskForce
|
||||
-pkcs11_DATA = #This will create the directory
|
||||
if CYGWIN
|
||||
PKCS11_SUFFIX=.dll
|
||||
else
|
||||
PKCS11_SUFFIX=.so
|
||||
endif
|
||||
-install-exec-hook: install-pkcs11DATA
|
||||
+install-exec-hook:
|
||||
+ $(mkdir_p) "$(DESTDIR)$(pkcs11dir)"
|
||||
for l in opensc-pkcs11$(PKCS11_SUFFIX) onepin-opensc-pkcs11$(PKCS11_SUFFIX) pkcs11-spy$(PKCS11_SUFFIX); do \
|
||||
rm -f "$(DESTDIR)$(pkcs11dir)/$$l"; \
|
||||
$(LN_S) ../$$l "$(DESTDIR)$(pkcs11dir)/$$l"; \
|
||||
--
|
||||
1.7.8.6
|
||||
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/opensc/opensc-0.11.13.ebuild,v 1.9 2012/05/04 18:35:51 jdhore Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="SmartCard library and applications"
|
||||
HOMEPAGE="http://www.opensc-project.org/opensc/"
|
||||
|
||||
SRC_URI="http://www.opensc-project.org/files/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ppc ppc64 s390 sh sparc x86"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="doc openct pcsc-lite"
|
||||
|
||||
# libtool is required at runtime for libltdl
|
||||
RDEPEND="dev-libs/openssl
|
||||
sys-libs/zlib
|
||||
sys-devel/libtool
|
||||
sys-libs/readline
|
||||
openct? ( >=dev-libs/openct-0.5.0 )
|
||||
pcsc-lite? ( >=sys-apps/pcsc-lite-1.3.0 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
if use openct; then
|
||||
elog "Support for openct is deprecated."
|
||||
elog "It is recommended to use pcsc-lite."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}+pcsc-lite-1.6.2.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--docdir="/usr/share/doc/${PF}" \
|
||||
--htmldir="/usr/share/doc/${PF}/html" \
|
||||
$(use_enable doc) \
|
||||
$(use_enable openct) \
|
||||
$(use_enable pcsc-lite pcsc) \
|
||||
--with-pinentry="/usr/bin/pinentry"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
}
|
@ -1,68 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/opensc/opensc-0.12.0-r2.ebuild,v 1.3 2012/05/04 18:35:51 jdhore Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="Libraries and applications to access smartcards."
|
||||
HOMEPAGE="http://www.opensc-project.org/opensc/"
|
||||
|
||||
SRC_URI="http://www.opensc-project.org/files/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="doc +pcsc-lite openct readline ssl zlib"
|
||||
|
||||
# libtool is required at runtime for libltdl
|
||||
RDEPEND="sys-devel/libtool
|
||||
zlib? ( sys-libs/zlib )
|
||||
readline? ( sys-libs/readline )
|
||||
ssl? ( dev-libs/openssl )
|
||||
openct? ( >=dev-libs/openct-0.5.0 )
|
||||
pcsc-lite? ( >=sys-apps/pcsc-lite-1.3.0 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt"
|
||||
|
||||
REQUIRED_USE="
|
||||
pcsc-lite? ( !openct )
|
||||
openct? ( !pcsc-lite )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-crossbuild.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# disable everything, enable selectively
|
||||
local myconf="--disable-pcsc --disable-openct --disable-ctapi"
|
||||
|
||||
if use pcsc-lite; then
|
||||
myconf+=" --enable-pcsc"
|
||||
elif use openct; then
|
||||
myconf+=" --enable-openct"
|
||||
else
|
||||
myconf+=" --enable-ctapi"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--docdir="/usr/share/doc/${PF}" \
|
||||
--htmldir="/usr/share/doc/${PF}/html" \
|
||||
--disable-static \
|
||||
$(use_enable doc) \
|
||||
$(use_enable openct) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable zlib) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
find "${D}" -name '*.la' -delete
|
||||
|
||||
dodoc ChangeLog
|
||||
}
|
@ -1,68 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/opensc/opensc-0.12.1.ebuild,v 1.2 2012/05/04 18:35:51 jdhore Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="Libraries and applications to access smartcards."
|
||||
HOMEPAGE="http://www.opensc-project.org/opensc/"
|
||||
|
||||
SRC_URI="http://www.opensc-project.org/files/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="doc +pcsc-lite openct readline ssl zlib"
|
||||
|
||||
# libtool is required at runtime for libltdl
|
||||
RDEPEND="sys-devel/libtool
|
||||
zlib? ( sys-libs/zlib )
|
||||
readline? ( sys-libs/readline )
|
||||
ssl? ( dev-libs/openssl )
|
||||
openct? ( >=dev-libs/openct-0.5.0 )
|
||||
pcsc-lite? ( >=sys-apps/pcsc-lite-1.3.0 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt"
|
||||
|
||||
REQUIRED_USE="
|
||||
pcsc-lite? ( !openct )
|
||||
openct? ( !pcsc-lite )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-crossbuild.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# disable everything, enable selectively
|
||||
local myconf="--disable-pcsc --disable-openct --disable-ctapi"
|
||||
|
||||
if use pcsc-lite; then
|
||||
myconf+=" --enable-pcsc"
|
||||
elif use openct; then
|
||||
myconf+=" --enable-openct"
|
||||
else
|
||||
myconf+=" --enable-ctapi"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--docdir="/usr/share/doc/${PF}" \
|
||||
--htmldir="/usr/share/doc/${PF}/html" \
|
||||
--disable-static \
|
||||
$(use_enable doc) \
|
||||
$(use_enable openct) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable zlib) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
find "${D}" -name '*.la' -delete
|
||||
|
||||
dodoc ChangeLog
|
||||
}
|
@ -0,0 +1,95 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/xerces-c/xerces-c-3.1.1-r1.ebuild,v 1.1 2012/05/13 18:03:11 pacho Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="A validating XML parser written in a portable subset of C++."
|
||||
HOMEPAGE="http://xerces.apache.org/xerces-c/"
|
||||
SRC_URI="mirror://apache/xerces/c/3/sources/${P}.tar.gz"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="curl doc iconv icu sse2 static-libs threads elibc_Darwin elibc_FreeBSD"
|
||||
|
||||
RDEPEND="icu? ( >=dev-libs/icu-4.2 )
|
||||
curl? ( net-misc/curl )
|
||||
virtual/libiconv"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
pkg_setup() {
|
||||
export ICUROOT="/usr"
|
||||
|
||||
if use iconv && use icu ; then
|
||||
ewarn "This package can use iconv or icu for loading messages"
|
||||
ewarn "and transcoding, but not both. ICU will precede."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
use threads || epatch "${FILESDIR}/${PV}-disable-thread-tests.patch"
|
||||
|
||||
sed -i \
|
||||
-e 's|$(prefix)/msg|$(DESTDIR)/$(prefix)/share/xerces-c/msg|' \
|
||||
src/xercesc/util/MsgLoaders/MsgCatalog/Makefile.in || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mloader="inmemory"
|
||||
use iconv && mloader="iconv"
|
||||
use icu && mloader="icu"
|
||||
|
||||
local transcoder="gnuiconv"
|
||||
use elibc_FreeBSD && transcoder="iconv"
|
||||
use elibc_Darwin && transcoder="macosunicodeconverter"
|
||||
use icu && transcoder="icu"
|
||||
# for interix maybe: transcoder="windows"
|
||||
|
||||
# 'cfurl' is only available on OSX and 'socket' isn't supposed to work.
|
||||
# But the docs aren't clear about it, so we would need some testing...
|
||||
local netaccessor="socket"
|
||||
use elibc_Darwin && netaccessor="cfurl"
|
||||
use curl && netaccessor="curl"
|
||||
|
||||
econf \
|
||||
--disable-pretty-make \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable threads) \
|
||||
--enable-msgloader-${mloader} \
|
||||
--enable-netaccessor-${netaccessor} \
|
||||
--enable-transcoder-${transcoder} \
|
||||
$(use_enable sse2)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use doc ; then
|
||||
cd "${S}/doc"
|
||||
doxygen || die "making docs failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install || die "emake failed"
|
||||
|
||||
use static-libs || rm "${D}"/lib*/*.la
|
||||
|
||||
# To make sure an appropriate NLS msg file is around when using the iconv msgloader
|
||||
# ICU has the messages compiled in.
|
||||
if use iconv && ! use icu ; then
|
||||
doenvd "${FILESDIR}/50xerces-c"
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
rm -rf samples/Makefile* samples/runConfigure samples/src/*/Makefile* samples/.libs
|
||||
doins -r samples
|
||||
dohtml -r doc/html/*
|
||||
fi
|
||||
|
||||
dodoc CREDITS KEYS NOTICE README version.incl
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST py-1.4.3.zip 225164 RMD160 1a251ae6cf428944b2066e44769edd68d46c2477 SHA1 a6152eb5d6f21fb500cd63f7e7c671dbcae4fb52 SHA256 5db1b4268a955e3f9fefe5fa18ed130ab68db10f4f99a752dba0650564b0d529
|
||||
DIST py-1.4.5.zip 225478 RMD160 29243faa4f98c498ad8691ad8f6099765bc465c4 SHA1 b390e16faeffbdfe7fba33f6b3a76f91d1a06bd5 SHA256 8425c7140cfc5acf5b67cfb2f2af8d835ab2f6663ee2ca3d7206c1d81e1d35ea
|
||||
DIST py-1.4.6.zip 226821 RMD160 bafe977396c25e9fc2c0240434534b62f3a0b696 SHA1 abb02f2692df97208070e3879388091273b11403 SHA256 59304dd3102b4604da2b11e515f5f44093a8f627a8dc08bd5dcdd964f8960c78
|
||||
DIST py-1.4.7.zip 227360 RMD160 29812ea1b8377bf1cbb5d760d970bde01badd3c1 SHA1 d86f001504b018728af2f58e5675294b1b127743 SHA256 b66ec2289357146be31a5a2050e1e298654da33c95a50b890bc09c764b905ff2
|
||||
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/py/py-1.4.3.ebuild,v 1.7 2011/10/06 17:47:05 jer Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
DISTUTILS_SRC_TEST="py.test"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="library with cross-python path, ini-parsing, io, code, log facilities"
|
||||
HOMEPAGE="http://pylib.org/ http://pypi.python.org/pypi/py"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
dev-python/setuptools
|
||||
test? ( >=dev-python/pytest-2.0.3 )"
|
||||
RDEPEND=""
|
||||
|
||||
DOCS="CHANGELOG README.txt"
|
||||
|
||||
src_prepare() {
|
||||
distutils_src_prepare
|
||||
|
||||
# Disable failing tests.
|
||||
rm -f testing/path/test_svnauth.py
|
||||
rm -f testing/path/test_svnurl.py
|
||||
rm -f testing/path/test_svnwc.py
|
||||
}
|
@ -1,34 +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/py/py-1.4.6.ebuild,v 1.1 2012/02/14 03:05:37 patrick Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
DISTUTILS_SRC_TEST="py.test"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="library with cross-python path, ini-parsing, io, code, log facilities"
|
||||
HOMEPAGE="http://pylib.org/ http://pypi.python.org/pypi/py"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
dev-python/setuptools
|
||||
test? ( >=dev-python/pytest-2.0.3 )"
|
||||
RDEPEND=""
|
||||
|
||||
DOCS="CHANGELOG README.txt"
|
||||
|
||||
src_prepare() {
|
||||
distutils_src_prepare
|
||||
|
||||
# Disable failing tests.
|
||||
rm -f testing/path/test_svnauth.py
|
||||
rm -f testing/path/test_svnurl.py
|
||||
rm -f testing/path/test_svnwc.py
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST pyatspi-2.2.1.tar.xz 266112 RMD160 4cff97c02e18aa68721e7f24ea1ee22ddde88f8d SHA1 c00b07657122337fc5514f6e9ad83f36e7578200 SHA256 814afe09407d2197871ba5c202362421ed5bae80d11b2d110ca91510f69db37a
|
||||
DIST pyatspi-2.4.0.tar.xz 271912 RMD160 95f4f3097225ab9899f35d7acf08efd5ce6e38b3 SHA1 5c107a92ae13322bc333cafa997d16ab0441fcd5 SHA256 ac2a8101535d832ed7183d2071ba133aed6965a6a0c6dfd632bb4818900b1c83
|
||||
|
@ -0,0 +1,76 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyatspi/pyatspi-2.4.0.ebuild,v 1.1 2012/05/14 00:14:18 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
PYTHON_DEPEND="2:2.5"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.5 3.* *-jython"
|
||||
|
||||
inherit gnome2 python
|
||||
|
||||
DESCRIPTION="Python binding to at-spi library"
|
||||
HOMEPAGE="http://live.gnome.org/Accessibility"
|
||||
|
||||
# Note: only some of the tests are GPL-licensed, everything else is LGPL
|
||||
LICENSE="LGPL-2 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~x86"
|
||||
IUSE="test"
|
||||
|
||||
COMMON_DEPEND="dev-python/dbus-python
|
||||
>=dev-python/pygobject-2.90.1:3
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
>=sys-apps/dbus-1
|
||||
>=app-accessibility/at-spi2-core-${PV}[introspection]
|
||||
!<gnome-extra/at-spi-1.32.0-r1
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
>=dev-libs/atk-2.1.0
|
||||
>=dev-libs/dbus-glib-0.7
|
||||
dev-libs/glib:2
|
||||
dev-libs/libxml2:2
|
||||
>=x11-libs/gtk+-2.10:2 )"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="${G2CONF} $(use_enable test tests)"
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
gnome2_src_prepare
|
||||
|
||||
python_clean_py-compile_files
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
python_execute_function -s gnome2_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_execute_function -s gnome2_src_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
python_execute_function -s -d
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_execute_function -s gnome2_src_install
|
||||
python_clean_installation_image
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
python_mod_optimize pyatspi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_pkg_postrm
|
||||
python_mod_cleanup pyatspi
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST python-oembed-0.2.1.tar.gz 7809 RMD160 3438980872d3b59cacd1ff4bbb452cbc46905aec SHA1 dcfe66cf4a8496be0a2ea40cd9e80d7247e7082c SHA256 70ac9320a2548185dca71af48fff657d4b11e20840bba101a87405cda0e4e0af
|
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-oembed/python-oembed-0.2.1.ebuild,v 1.1 2012/05/13 20:28:37 rafaelmartins Exp $
|
||||
|
||||
EAPI=4
|
||||
DISTUTILS_SRC_TEST="nosetests"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
PYTHON_DEPEND="2"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="A Python library that implements an OEmbed consumer."
|
||||
HOMEPAGE="http://pypi.python.org/pypi/python-oembed"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-python/setuptools"
|
||||
RDEPEND="${DEPEND}"
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue