Sync with portage [Thu Sep 12 11:10:28 MSK 2013].

mhiretskiy
root 11 years ago
parent ddb8c8e10d
commit e0f585cc63

@ -1,2 +1 @@
DIST abrt-2.0.12.tar.gz 1090121 SHA256 2957f4136958078c3c8c9b2031febd8b322ef8705ca25a51592279b3ccd5c9e2 SHA512 5432205edb4483fb1883b9bcebab48784b16dd9e72c3a929ea0d50c48dab638d80f136b6b0d7648d8ec9fcb79d5ce8c1be37d36301d3b2b151868901be82a63a WHIRLPOOL 9b39fe91f77e2de5b3816d5cfc10f75c7c3d7dedfc354ed4e052b50e6cebb94bd26fec94aaba6cfd1cc79b71f1cc34b77bfd70d27d25761fa853a6a2af5ef7ce
DIST abrt-2.0.8.tar.gz 960737 SHA256 aaad9f6914e40bda8783ff10e34f62a9712bfebda06373a7c056e3ca8bad4e5b SHA512 3b4dbb09309a45d3596c6d890f103e95aff12a4246bcea1dc5ae558869ff138c87559f0362534156a5d628a642e43621a5147a6eeaa5abbb3d3b5299d42ced17 WHIRLPOOL 51f82e8913708c7398889ccff0e2a0d41fe9e037c20a32547bae7f859ff2e04004f399fd5f118b20c14dc4438d7bd56fa6fc6318ad99f474f218dd6e5bb0d32c

@ -1,132 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/abrt/abrt-2.0.8.ebuild,v 1.9 2013/09/11 08:59:06 mgorny Exp $
EAPI="4"
PYTHON_DEPEND="2:2.6"
# Need gnome2-utils for gnome2_icon_cache_update
inherit autotools eutils gnome2-utils python systemd user
DESCRIPTION="Automatic bug detection and reporting tool"
HOMEPAGE="https://fedorahosted.org/abrt/"
SRC_URI="https://fedorahosted.org/released/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="debug"
COMMON_DEPEND=">=dev-libs/btparser-0.16
>=dev-libs/glib-2.21:2
>=dev-libs/libreport-2.0.9
dev-libs/libxml2
dev-libs/nss
sys-apps/dbus
sys-fs/inotify-tools
x11-libs/gtk+:2
x11-libs/libnotify"
RDEPEND="${COMMON_DEPEND}
app-arch/cpio
dev-libs/elfutils
>=sys-devel/gdb-7"
DEPEND="${COMMON_DEPEND}
app-text/asciidoc
app-text/xmlto
>=dev-util/intltool-0.35.0
virtual/pkgconfig
>=sys-devel/gettext-0.17"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
enewgroup abrt
enewuser abrt -1 -1 -1 abrt
}
src_prepare() {
# Disable redhat-specific code not usable in gentoo, or that requires
# bugs.gentoo.org infra support.
epatch "${FILESDIR}/${PN}-2.0.8-gentoo.patch"
# Using a server response as a format string is a bad idea
epatch "${FILESDIR}/${PN}-2.0.6-format-security.patch"
# -Werror should not be used by default
sed -e 's/^[ \t]*-Werror[ \t]*$/\t$(NULL)/' \
-e 's/-Werror\( \|$\)//g' \
-i src/applet/Makefile.* src/cli/Makefile.* src/daemon/Makefile.* \
src/gui-gtk/Makefile.* src/hooks/Makefile.* src/lib/Makefile.* \
src/plugins/Makefile.* || die "sed failed"
# pyhook test is sensitive to the format of python's error messages, and
# fails with certain python versions
sed -e '/pyhook.at/ d' \
-i tests/Makefile.* tests/testsuite.at || die "sed 2 failed"
# automake-1.12, #427926
sed \
-e "/AC_PROG_LIBTOOL/s:^:AM_PROG_AR\n:g" \
-e "/AC_PROG_CC/s:$:\nAM_PROG_CC_C_O\n:g" \
-e 's:-Werror::g' \
-i configure.ac || die
sed \
-e 's:AM_PROG_MKDIR_P:AC_PROG_MKDIR_P:g' \
-i m4/* aclocal.m4 || die
eautoreconf
python_clean_py-compile_files
python_convert_shebangs -r 2 src
}
src_configure() {
# Configure checks for python.pc; our python-2.7 installs python-2.7.pc,
# while python-2.6 does not install any pkgconfig file.
export PYTHON_CFLAGS=$(python-config --includes)
export PYTHON_LIBS=$(python-config --libs)
myeconfargs=(
"--localstatedir=${EPREFIX}/var"
"$(systemd_with_unitdir)"
)
# --disable-debug enables debug!
use debug && myeconfargs=( "${myeconfargs[@]}" --enable-debug )
econf "${myeconfargs[@]}"
}
src_install() {
default
keepdir /var/run/abrt
# /var/spool/abrt is created by dev-libs/libreport
diropts -m 700 -o abrt -g abrt
keepdir /var/spool/abrt-upload
diropts -m 775 -o abrt -g abrt
keepdir /var/cache/abrt-di
find "${D}" -name '*.la' -exec rm -f {} + || die
newinitd "${FILESDIR}/${PN}-2.0.5-init" abrt
newconfd "${FILESDIR}/${PN}-2.0.5-conf" abrt
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_icon_cache_update
python_mod_optimize abrt_exception_handler.py
elog "To start the bug detection service on an openrc-based system, do"
elog "# /etc/init.d/abrt start"
}
pkg_postrm() {
gnome2_icon_cache_update
python_mod_cleanup abrt_exception_handler.py
}

@ -1,15 +0,0 @@
# abrtd command-line options
# Default: ""
ABRTD_OPTS=""
# Run abrt-harvest-vmcore to make new kdump dumps available for abrtd
START_VMCORE="yes"
# Install abrt-ccpp hook to watch for segfaults
START_CCPP="yes"
# Start abrt-dump-oops to watch for kernel oops
START_OOPS="yes"
# abrt-dump-oops command-line options
# Default: "-rwxD /var/log/messages"
OOPS_OPTS="-rwxD /var/log/messages"

@ -1,57 +0,0 @@
#!/sbin/runscript
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/abrt/files/abrt-2.0.5-init,v 1.1 2011/11/16 07:44:24 tetromino Exp $
description="Automated crash detection service"
depend() {
need dbus logger
}
start() {
ebegin "Starting abrtd"
start-stop-daemon --start --quiet --pidfile /var/run/abrtd.pid \
--exec /usr/sbin/abrtd -- ${ABRTD_OPTS}
eend $?
if [[ "${START_VMCORE}" = "yes" ]]; then
ebegin "Running abrt-harvest-vmcore"
/usr/sbin/abrt-harvest-vmcore
eend $?
fi
if [[ "${START_CCPP}" = "yes" ]]; then
ebegin "Installing abrt-ccpp hook"
/usr/sbin/abrt-install-ccpp-hook install
eend $?
fi
if [[ "${START_OOPS}" = "yes" ]]; then
ebegin "Starting abrt-dump-oops"
start-stop-daemon --start --quiet \
--pidfile /var/run/abrt-dump-oops.pid \
--make-pidfile --background \
--exec /usr/bin/abrt-dump-oops -- ${OOPS_OPTS}
eend $?
fi
}
stop() {
if [[ "${START_OOPS}" = "yes" ]]; then
ebegin "Stopping abrt-dump-oops"
start-stop-daemon --stop --quiet \
--pidfile /var/run/abrt-dump-oops.pid
eend $?
fi
if [[ "${START_CCPP}" = "yes" ]]; then
ebegin "Uninstalling abrt-ccpp hook"
/usr/sbin/abrt-install-ccpp-hook uninstall
eend $?
fi
ebegin "Stopping abrtd"
start-stop-daemon --stop --quiet --pidfile /var/run/abrtd.pid
eend $?
}

@ -1,239 +0,0 @@
From bbcd5fc8782a1a26fdbf60563b9973093e171ebf Mon Sep 17 00:00:00 2001
From: Alexandre Rostovtsev <tetromino@gmail.com>
Date: Sat, 8 Oct 2011 03:31:56 -0400
Subject: [PATCH] Disable code not relevant for Gentoo
Disable code that is only relevant for an RPM-based distro or that
requires additional bugs.gentoo.org infrastructure support.
---
configure.ac | 1 -
doc/Makefile.am | 2 --
src/daemon/Makefile.am | 23 +----------------------
src/daemon/abrt_event.conf | 2 +-
src/plugins/Makefile.am | 16 ----------------
src/plugins/abrt-action-list-dsos | 18 ++++--------------
src/plugins/ccpp_event.conf | 7 +++----
src/plugins/koops_event.conf | 4 ++--
src/plugins/python_event.conf | 6 +++---
9 files changed, 14 insertions(+), 65 deletions(-)
diff --git a/configure.ac b/configure.ac
index 6b0732c..a340b55 100644
--- a/configure.ac
+++ b/configure.ac
@@ -60,7 +60,6 @@ PKG_CHECK_MODULES([GTK], [gtk+-2.0])
PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.21])
PKG_CHECK_MODULES([DBUS], [dbus-1])
PKG_CHECK_MODULES([LIBXML], [libxml-2.0])
-PKG_CHECK_MODULES([RPM], [rpm])
PKG_CHECK_MODULES([LIBNOTIFY], [libnotify])
PKG_CHECK_MODULES([NSS], [nss])
PKG_CHECK_MODULES([BTPARSER], [btparser])
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 551bc65..51fc97d 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -11,12 +11,10 @@ MAN1_TXT += abrt-action-list-dsos.txt
MAN1_TXT += abrt-retrace-client.txt
MAN1_TXT += abrt-handle-upload.txt
MAN1_TXT += abrt-server.txt
-MAN1_TXT += abrt-action-save-package-data.txt
MAN1_TXT += abrt-install-ccpp-hook.txt
MAN5_TXT =
MAN5_TXT += abrt.conf.txt
-MAN5_TXT += abrt-action-save-package-data.conf.txt
MAN8_TXT =
MAN8_TXT += abrtd.txt
diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am
index 82ba93b..07ff6c0 100644
--- a/src/daemon/Makefile.am
+++ b/src/daemon/Makefile.am
@@ -6,9 +6,6 @@ dist_eventsconf_DATA = \
bin_SCRIPTS = \
abrt-handle-upload
-bin_PROGRAMS = \
- abrt-action-save-package-data
-
sbin_PROGRAMS = \
abrtd \
abrt-server
@@ -60,30 +57,12 @@ abrt_handle_event_LDADD = \
../lib/libabrt.la \
$(LIBREPORT_LIBS)
-abrt_action_save_package_data_SOURCES = \
- rpm.h rpm.c \
- abrt-action-save-package-data.c
-abrt_action_save_package_data_CPPFLAGS = \
- -I$(srcdir)/../include \
- -I$(srcdir)/../lib \
- -DCONF_DIR=\"$(CONF_DIR)\" \
- $(GLIB_CFLAGS) \
- $(LIBREPORT_CFLAGS) \
- -D_GNU_SOURCE \
- -Wall -Wwrite-strings -Werror
-abrt_action_save_package_data_LDADD = \
- $(RPM_LIBS) \
- $(LIBREPORT_LIBS) \
- ../lib/libabrt.la
-
dbusabrtconfdir = ${sysconfdir}/dbus-1/system.d/
dist_dbusabrtconf_DATA = dbus-abrt.conf
daemonconfdir = $(CONF_DIR)
dist_daemonconf_DATA = \
- abrt.conf \
- abrt-action-save-package-data.conf \
- gpg_keys
+ abrt.conf
comredhatabrtservicedir = ${datadir}/dbus-1/system-services
dist_comredhatabrtservice_DATA = com.redhat.abrt.service
diff --git a/src/daemon/abrt_event.conf b/src/daemon/abrt_event.conf
index dec0f0e..d2e48ff 100644
--- a/src/daemon/abrt_event.conf
+++ b/src/daemon/abrt_event.conf
@@ -44,7 +44,7 @@
# Determine in which package/component the crash happened (if not yet done):
-EVENT=post-create component= remote!=1
+#EVENT=post-create component= remote!=1
abrt-action-save-package-data
diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am
index 9a26877..ac0033d 100644
--- a/src/plugins/Makefile.am
+++ b/src/plugins/Makefile.am
@@ -1,7 +1,6 @@
-include ../../config.mak
bin_SCRIPTS = \
- abrt-action-install-debuginfo \
abrt-action-analyze-core \
abrt-action-analyze-vmcore \
abrt-action-list-dsos
@@ -16,8 +15,6 @@ bin_PROGRAMS = \
abrt-action-analyze-backtrace \
abrt-retrace-client
-libexec_PROGRAMS = abrt-action-install-debuginfo-to-abrt-cache
-
#dist_pluginsconf_DATA = Python.conf
eventsdir = $(EVENTS_DIR)
@@ -49,7 +46,6 @@ dist_eventsconf_DATA = \
PYTHON_FILES = \
- abrt-action-install-debuginfo.in \
abrt-action-list-dsos \
abrt-action-analyze-core
@@ -157,18 +153,6 @@ abrt_action_analyze_backtrace_LDADD = \
$(LIBREPORT_LIBS) \
$(BTPARSER_LIBS)
-abrt_action_install_debuginfo_to_abrt_cache_SOURCES = \
- abrt-action-install-debuginfo-to-abrt-cache.c
-abrt_action_install_debuginfo_to_abrt_cache_CPPFLAGS = \
- -I$(srcdir)/../include \
- -I$(srcdir)/../lib \
- -D_GNU_SOURCE \
- $(LIBREPORT_CFLAGS) \
- -Wall -Wwrite-strings
-abrt_action_install_debuginfo_to_abrt_cache_LDADD = \
- $(LIBREPORT_LIBS) \
- ../lib/libabrt.la
-
abrt_retrace_client_SOURCES = \
abrt-retrace-client.c
abrt_retrace_client_CFLAGS = \
diff --git a/src/plugins/abrt-action-list-dsos b/src/plugins/abrt-action-list-dsos
index 81a9927..bf1491c 100644
--- a/src/plugins/abrt-action-list-dsos
+++ b/src/plugins/abrt-action-list-dsos
@@ -5,7 +5,6 @@
import sys
import os
import getopt
-import rpm
def log(s):
sys.stderr.write("%s\n" % s)
@@ -68,19 +67,10 @@ if __name__ == "__main__":
try:
dso_paths = parse_maps(memfile)
for path in dso_paths:
- ts = rpm.TransactionSet()
- mi = ts.dbMatch('basenames', path)
- if len(mi):
- for h in mi:
- if outname:
- outfile = xopen(outname, "w")
- outname = None
- outfile.write("%s %s (%s) %s\n" %
- (path,
- h[rpm.RPMTAG_NEVRA],
- h[rpm.RPMTAG_VENDOR],
- h[rpm.RPMTAG_INSTALLTIME])
- )
+ if outname:
+ outfile = xopen(outname, "w")
+ outname = None
+ outfile.write(path)
except Exception, ex:
error_msg_and_die("Can't get the DSO list: %s" % ex)
diff --git a/src/plugins/ccpp_event.conf b/src/plugins/ccpp_event.conf
index 7d0d78c..5d4fa74 100644
--- a/src/plugins/ccpp_event.conf
+++ b/src/plugins/ccpp_event.conf
@@ -28,11 +28,10 @@ EVENT=collect_xsession_errors analyzer=CCpp dso_list~=.*/libX11.*
# or was this ability lost with move to python installer?
EVENT=analyze_LocalGDB analyzer=CCpp
abrt-action-analyze-core --core=coredump -o build_ids &&
- /usr/libexec/abrt-action-install-debuginfo-to-abrt-cache --size_mb=4096 &&
abrt-action-generate-backtrace &&
abrt-action-analyze-backtrace
# Bugzilla requires nonempty duphash
-EVENT=report_Bugzilla analyzer=CCpp duphash!=
- test -f component || abrt-action-save-package-data
- reporter-bugzilla -f -b -c /etc/libreport/plugins/Bugzilla.conf
+# EVENT=report_Bugzilla analyzer=CCpp duphash!=
+# test -f component || abrt-action-save-package-data
+# reporter-bugzilla -f -b -c /etc/libreport/plugins/Bugzilla.conf
diff --git a/src/plugins/koops_event.conf b/src/plugins/koops_event.conf
index d203e1a..83842f9 100644
--- a/src/plugins/koops_event.conf
+++ b/src/plugins/koops_event.conf
@@ -13,5 +13,5 @@ EVENT=post-create analyzer=Kerneloops
EVENT=report_Kerneloops analyzer=Kerneloops
reporter-kerneloops
-EVENT=report_Bugzilla analyzer=Kerneloops
- reporter-bugzilla -f -b
+# EVENT=report_Bugzilla analyzer=Kerneloops
+# reporter-bugzilla -f -b
diff --git a/src/plugins/python_event.conf b/src/plugins/python_event.conf
index 16508c1..0cd10c6 100644
--- a/src/plugins/python_event.conf
+++ b/src/plugins/python_event.conf
@@ -1,6 +1,6 @@
EVENT=post-create analyzer=Python
abrt-action-analyze-python
-EVENT=report_Bugzilla analyzer=Python
- test -f component || abrt-action-save-package-data
- reporter-bugzilla -f -b -c /etc/libreport/plugins/Bugzilla.conf
+# EVENT=report_Bugzilla analyzer=Python
+# test -f component || abrt-action-save-package-data
+# reporter-bugzilla -f -b -c /etc/libreport/plugins/Bugzilla.conf
--
1.7.8.rc1

@ -1,72 +0,0 @@
From ecfc461fd979aeb2d3ce4b9d811e4bf4a7730532 Mon Sep 17 00:00:00 2001
From: Jiri Moskovcak <jmoskovc@redhat.com>
Date: Sat, 5 Nov 2011 18:04:54 +0100
Subject: [PATCH] - glib 2.31 build fixes
---
src/applet/applet.c | 14 +++++++++++++-
src/gui-gtk/main.c | 4 ++--
2 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/src/applet/applet.c b/src/applet/applet.c
index 95b7091..bead61f 100644
--- a/src/applet/applet.c
+++ b/src/applet/applet.c
@@ -766,10 +766,20 @@ int main(int argc, char** argv)
textdomain(PACKAGE);
#endif
+ /* Glib 2.31:
+ * Major changes to threading and synchronisation
+ - threading is now always enabled in GLib
+ - support for custom thread implementations (including our own internal
+ - support for errorcheck mutexes) has been removed
+ */
+#if (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION < 31)
+ //can't use log(), because g_verbose is not set yet
+ g_print("abrt-applet: glib < 2.31 - init threading\n");
/* Need to be thread safe */
g_thread_init(NULL);
gdk_threads_init();
gdk_threads_enter();
+#endif
gtk_init(&argc, &argv);
@@ -869,8 +879,10 @@ int main(int argc, char** argv)
/* Enter main loop */
gtk_main();
-
+#if (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION < 31)
gdk_threads_leave();
+#endif
+
if (notify_is_initted())
notify_uninit();
diff --git a/src/gui-gtk/main.c b/src/gui-gtk/main.c
index b31509b..a24745a 100644
--- a/src/gui-gtk/main.c
+++ b/src/gui-gtk/main.c
@@ -912,7 +912,7 @@ static gboolean handle_signal_pipe(GIOChannel *gio, GIOCondition condition, gpoi
*/
gchar buf[16];
gsize bytes_read;
- g_io_channel_read(gio, buf, sizeof(buf), &bytes_read);
+ g_io_channel_read_chars(gio, buf, sizeof(buf), &bytes_read, NULL);
/* Destroy zombies */
while (safe_waitpid(-1, NULL, WNOHANG) > 0)
@@ -975,7 +975,7 @@ static gboolean handle_inotify_cb(GIOChannel *gio, GIOCondition condition, gpoin
/* We read inotify events, but don't analyze them */
gchar buf[sizeof(struct inotify_event) + PATH_MAX + 64];
gsize bytes_read;
- while (g_io_channel_read(gio, buf, sizeof(buf), &bytes_read) == G_IO_ERROR_NONE
+ while (g_io_channel_read_chars(gio, buf, sizeof(buf), &bytes_read, NULL) == G_IO_STATUS_NORMAL
&& bytes_read > 0
) {
continue;
--
1.7.8.rc1

@ -1,275 +0,0 @@
commit fcb24c0966f53dc52d9bad6158ab8290a72ed69e
Author: Alexandre Rostovtsev <tetromino@gmail.com>
Date: Sat Oct 8 03:31:56 2011 -0400
Disable code not relevant for Gentoo
Disable code that is only relevant for an RPM-based distro or that
requires additional bugs.gentoo.org infrastructure support. Ensure that
crashes still get analyzed even if they cannot be assigned to any
package (since we lack any way of doing that at the moment).
diff --git a/configure.ac b/configure.ac
index 4391239..1a78ca9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -65,7 +65,6 @@ PKG_CHECK_MODULES([GTK], [$GTK_VER])
PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.21])
PKG_CHECK_MODULES([DBUS], [dbus-1])
PKG_CHECK_MODULES([LIBXML], [libxml-2.0])
-PKG_CHECK_MODULES([RPM], [rpm])
PKG_CHECK_MODULES([LIBNOTIFY], [libnotify])
PKG_CHECK_MODULES([NSS], [nss])
PKG_CHECK_MODULES([BTPARSER], [btparser])
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 5025f93..721fbaa 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -17,7 +17,6 @@ MAN1_TXT += abrt-install-ccpp-hook.txt
MAN5_TXT =
MAN5_TXT += abrt.conf.txt
-MAN5_TXT += abrt-action-save-package-data.conf.txt
MAN8_TXT =
MAN8_TXT += abrtd.txt abrt-dbus.txt
diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am
index bed3c44..7697f50 100644
--- a/src/daemon/Makefile.am
+++ b/src/daemon/Makefile.am
@@ -6,9 +6,6 @@ dist_eventsconf_DATA = \
bin_SCRIPTS = \
abrt-handle-upload
-bin_PROGRAMS = \
- abrt-action-save-package-data
-
sbin_PROGRAMS = \
abrtd \
abrt-server \
@@ -77,30 +74,12 @@ abrt_handle_event_LDADD = \
$(LIBREPORT_LIBS) \
$(BTPARSER_LIBS)
-abrt_action_save_package_data_SOURCES = \
- rpm.h rpm.c \
- abrt-action-save-package-data.c
-abrt_action_save_package_data_CPPFLAGS = \
- -I$(srcdir)/../include \
- -I$(srcdir)/../lib \
- -DCONF_DIR=\"$(CONF_DIR)\" \
- $(GLIB_CFLAGS) \
- $(LIBREPORT_CFLAGS) \
- -D_GNU_SOURCE \
- -Wall -Wwrite-strings -Werror
-abrt_action_save_package_data_LDADD = \
- $(RPM_LIBS) \
- $(LIBREPORT_LIBS) \
- ../lib/libabrt.la
-
dbusabrtconfdir = ${sysconfdir}/dbus-1/system.d/
dist_dbusabrtconf_DATA = dbus-abrt.conf
daemonconfdir = $(CONF_DIR)
dist_daemonconf_DATA = \
- abrt.conf \
- abrt-action-save-package-data.conf \
- gpg_keys
+ abrt.conf
comredhatabrtservicedir = ${datadir}/dbus-1/system-services
dist_comredhatabrtservice_DATA = com.redhat.abrt.service
diff --git a/src/daemon/abrt_event.conf b/src/daemon/abrt_event.conf
index 9b67034..db133e1 100644
--- a/src/daemon/abrt_event.conf
+++ b/src/daemon/abrt_event.conf
@@ -44,7 +44,7 @@
# Determine in which package/component the crash happened (if not yet done):
-EVENT=post-create component= remote!=1
+#EVENT=post-create component= remote!=1
abrt-action-save-package-data
@@ -60,19 +60,19 @@ EVENT=post-create
if [ -f uid ]; then getent passwd "`cat uid`" | cut -d: -f1 >username; fi
-EVENT=notify package!= uid!=
+EVENT=notify uid!=
dbus-send --system --type=signal /com/redhat/abrt com.redhat.abrt.Crash \
string:"`cat package`" string:"$DUMP_DIR" string:"`cat uid`"
-EVENT=notify package!= uid=
+EVENT=notify uid=
dbus-send --system --type=signal /com/redhat/abrt com.redhat.abrt.Crash \
string:"`cat package`" string:"$DUMP_DIR"
-EVENT=notify_dup package!= uid!=
+EVENT=notify_dup uid!=
dbus-send --system --type=signal /com/redhat/abrt com.redhat.abrt.Crash \
string:"`cat package`" string:"$DUMP_DIR" string:"`cat uid`"
-EVENT=notify_dup package!= uid=
+EVENT=notify_dup uid=
dbus-send --system --type=signal /com/redhat/abrt com.redhat.abrt.Crash \
string:"`cat package`" string:"$DUMP_DIR"
diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am
index 5edbd3e..4f01fac 100644
--- a/src/plugins/Makefile.am
+++ b/src/plugins/Makefile.am
@@ -1,7 +1,6 @@
-include ../../config.mak
bin_SCRIPTS = \
- abrt-action-install-debuginfo \
abrt-action-analyze-core \
abrt-action-analyze-vmcore \
abrt-action-list-dsos
@@ -18,8 +17,6 @@ bin_PROGRAMS = \
abrt-retrace-client \
abrt-dedup-client
-libexec_PROGRAMS = abrt-action-install-debuginfo-to-abrt-cache
-
#dist_pluginsconf_DATA = Python.conf
eventsdir = $(EVENTS_DIR)
@@ -51,7 +48,6 @@ dist_eventsconf_DATA = \
PYTHON_FILES = \
- abrt-action-install-debuginfo.in \
abrt-action-list-dsos \
abrt-action-analyze-core \
abrt-action-analyze-vmcore.in
@@ -186,18 +182,6 @@ abrt_action_analyze_backtrace_LDADD = \
$(LIBREPORT_LIBS) \
$(BTPARSER_LIBS)
-abrt_action_install_debuginfo_to_abrt_cache_SOURCES = \
- abrt-action-install-debuginfo-to-abrt-cache.c
-abrt_action_install_debuginfo_to_abrt_cache_CPPFLAGS = \
- -I$(srcdir)/../include \
- -I$(srcdir)/../lib \
- -D_GNU_SOURCE \
- $(LIBREPORT_CFLAGS) \
- -Wall -Wwrite-strings
-abrt_action_install_debuginfo_to_abrt_cache_LDADD = \
- $(LIBREPORT_LIBS) \
- ../lib/libabrt.la
-
abrt_retrace_client_SOURCES = \
abrt-retrace-client.c \
https-utils.c
diff --git a/src/plugins/abrt-action-list-dsos b/src/plugins/abrt-action-list-dsos
index 81a9927..bf1491c 100644
--- a/src/plugins/abrt-action-list-dsos
+++ b/src/plugins/abrt-action-list-dsos
@@ -5,7 +5,6 @@
import sys
import os
import getopt
-import rpm
def log(s):
sys.stderr.write("%s\n" % s)
@@ -68,19 +67,10 @@ if __name__ == "__main__":
try:
dso_paths = parse_maps(memfile)
for path in dso_paths:
- ts = rpm.TransactionSet()
- mi = ts.dbMatch('basenames', path)
- if len(mi):
- for h in mi:
- if outname:
- outfile = xopen(outname, "w")
- outname = None
- outfile.write("%s %s (%s) %s\n" %
- (path,
- h[rpm.RPMTAG_NEVRA],
- h[rpm.RPMTAG_VENDOR],
- h[rpm.RPMTAG_INSTALLTIME])
- )
+ if outname:
+ outfile = xopen(outname, "w")
+ outname = None
+ outfile.write(path)
except Exception, ex:
error_msg_and_die("Can't get the DSO list: %s" % ex)
diff --git a/src/plugins/ccpp_event.conf b/src/plugins/ccpp_event.conf
index 0e17389..2abd5ce 100644
--- a/src/plugins/ccpp_event.conf
+++ b/src/plugins/ccpp_event.conf
@@ -31,18 +31,11 @@ EVENT=collect_xsession_errors analyzer=CCpp dso_list~=.*/libX11.*
# or was this ability lost with move to python installer?
EVENT=analyze_LocalGDB analyzer=CCpp
abrt-action-analyze-core --core=coredump -o build_ids &&
- /usr/libexec/abrt-action-install-debuginfo-to-abrt-cache --size_mb=4096 &&
abrt-action-generate-backtrace &&
- abrt-action-analyze-backtrace &&
- (
- bug_id=$(reporter-bugzilla -h `cat duphash`) &&
- if test -n "$bug_id"; then
- abrt-bodhi -r -b $bug_id
- fi
- )
+ abrt-action-analyze-backtrace
# Bugzilla requires nonempty duphash
-EVENT=report_Bugzilla analyzer=CCpp duphash!=
- test -f component || abrt-action-save-package-data
- reporter-bugzilla -b -c /etc/libreport/plugins/bugzilla.conf
+# EVENT=report_Bugzilla analyzer=CCpp duphash!=
+# test -f component || abrt-action-save-package-data
+# reporter-bugzilla -b -c /etc/libreport/plugins/bugzilla.conf
diff --git a/src/plugins/ccpp_retrace_event.conf b/src/plugins/ccpp_retrace_event.conf
index 60e53d7..893502f 100644
--- a/src/plugins/ccpp_retrace_event.conf
+++ b/src/plugins/ccpp_retrace_event.conf
@@ -1,9 +1,3 @@
EVENT=analyze_RetraceServer analyzer=CCpp
abrt-retrace-client batch --dir "$DUMP_DIR" --status-delay 10 &&
- abrt-action-analyze-backtrace &&
- (
- bug_id=$(reporter-bugzilla -h `cat duphash`) &&
- if test -n "$bug_id"; then
- abrt-bodhi -r -b $bug_id
- fi
- )
+ abrt-action-analyze-backtrace
diff --git a/src/plugins/koops_event.conf b/src/plugins/koops_event.conf
index 2fdccda..6cc14ae 100644
--- a/src/plugins/koops_event.conf
+++ b/src/plugins/koops_event.conf
@@ -10,8 +10,8 @@ EVENT=post-create analyzer=Kerneloops
reporter-kerneloops
# report
-#EVENT=report_Kerneloops analyzer=Kerneloops
- reporter-kerneloops
+# EVENT=report_Kerneloops analyzer=Kerneloops
+# reporter-kerneloops
-EVENT=report_Bugzilla analyzer=Kerneloops
- reporter-bugzilla -b
+# EVENT=report_Bugzilla analyzer=Kerneloops
+# reporter-bugzilla -b
diff --git a/src/plugins/python_event.conf b/src/plugins/python_event.conf
index bbd9517..ad5f40d 100644
--- a/src/plugins/python_event.conf
+++ b/src/plugins/python_event.conf
@@ -1,6 +1,6 @@
EVENT=post-create analyzer=Python
abrt-action-analyze-python
-EVENT=report_Bugzilla analyzer=Python
- test -f component || abrt-action-save-package-data
- reporter-bugzilla -b -c /etc/libreport/plugins/bugzilla.conf
+# EVENT=report_Bugzilla analyzer=Python
+# test -f component || abrt-action-save-package-data
+# reporter-bugzilla -b -c /etc/libreport/plugins/bugzilla.conf

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/glance/glance-2012.2.4-r3.ebuild,v 1.1 2013/07/02 15:33:35 prometheanfire Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/glance/glance-2012.2.4-r4.ebuild,v 1.1 2013/09/12 04:47:49 prometheanfire Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
@ -20,7 +20,7 @@ REQUIRED_USE="|| ( ldap mysql postgres sqlite )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}
>=dev-python/boto-2.1.1
>=dev-python/boto-2.1.1[${PYTHON_USEDEP}]
dev-python/anyjson[${PYTHON_USEDEP}]
>=dev-python/eventlet-0.9.12[${PYTHON_USEDEP}]
>=dev-python/greenlet-0.3.1[${PYTHON_USEDEP}]
@ -32,20 +32,23 @@ RDEPEND="${DEPEND}
dev-python/passlib[${PYTHON_USEDEP}]
dev-python/paste[${PYTHON_USEDEP}]
dev-python/pastedeploy[${PYTHON_USEDEP}]
dev-python/pycrypto
dev-python/pycrypto[${PYTHON_USEDEP}]
dev-python/python-glanceclient[${PYTHON_USEDEP}]
dev-python/routes[${PYTHON_USEDEP}]
>=dev-python/sqlalchemy-migrate-0.7
>=dev-python/sqlalchemy-migrate-0.7[${PYTHON_USEDEP}]
=dev-python/webob-1.0.8-r1[${PYTHON_USEDEP}]
virtual/python-argparse[${PYTHON_USEDEP}]
swift? (
>=dev-python/python-swiftclient-1.2[${PYTHON_USEDEP}]
<dev-python/python-swiftclient-2[${PYTHON_USEDEP}]
)
sqlite? ( dev-python/sqlalchemy[sqlite] )
mysql? ( dev-python/sqlalchemy[mysql] )
postgres? ( dev-python/sqlalchemy[postgres] )
ldap? ( dev-python/python-ldap )"
sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}]
<dev-python/sqlalchemy-0.7.10[sqlite,${PYTHON_USEDEP}] )
mysql? ( >=dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}]
<dev-python/sqlalchemy-0.7.10[mysql,${PYTHON_USEDEP}] )
postgres? ( >=dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}]
<dev-python/sqlalchemy-0.7.10[postgres,${PYTHON_USEDEP}] )
ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )"
PATCHES=(
"${FILESDIR}/glance-gbug-474064-folsom.patch"

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/glance/glance-2013.1.3.ebuild,v 1.1 2013/08/11 01:00:33 prometheanfire Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/glance/glance-2013.1.3-r1.ebuild,v 1.1 2013/09/12 04:47:49 prometheanfire Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
@ -20,7 +20,7 @@ REQUIRED_USE="|| ( ldap mysql postgres sqlite )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}
dev-python/boto
dev-python/boto[${PYTHON_USEDEP}]
dev-python/anyjson[${PYTHON_USEDEP}]
>=dev-python/eventlet-0.9.12[${PYTHON_USEDEP}]
>=dev-python/greenlet-0.3.1[${PYTHON_USEDEP}]
@ -34,24 +34,24 @@ RDEPEND="${DEPEND}
dev-python/passlib[${PYTHON_USEDEP}]
dev-python/paste[${PYTHON_USEDEP}]
dev-python/pastedeploy[${PYTHON_USEDEP}]
dev-python/pycrypto
dev-python/pycrypto[${PYTHON_USEDEP}]
>=dev-python/python-keystoneclient-0.2.0[${PYTHON_USEDEP}]
dev-python/python-glanceclient[${PYTHON_USEDEP}]
dev-python/routes[${PYTHON_USEDEP}]
>=dev-python/sqlalchemy-migrate-0.7
>=dev-python/sqlalchemy-migrate-0.7[${PYTHON_USEDEP}]
>=dev-python/webob-1.2[${PYTHON_USEDEP}]
virtual/python-argparse[${PYTHON_USEDEP}]
swift? (
>=dev-python/python-swiftclient-1.2[${PYTHON_USEDEP}]
<dev-python/python-swiftclient-2[${PYTHON_USEDEP}]
)
sqlite? ( >=dev-python/sqlalchemy-0.7[sqlite]
<dev-python/sqlalchemy-0.8[sqlite] )
mysql? ( >=dev-python/sqlalchemy-0.7[mysql]
<dev-python/sqlalchemy-0.8[mysql] )
postgres? ( >=dev-python/sqlalchemy-0.7[postgres]
<dev-python/sqlalchemy-0.8[postgres] )
ldap? ( dev-python/python-ldap )"
sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}]
<dev-python/sqlalchemy-0.7.10[sqlite,${PYTHON_USEDEP}] )
mysql? ( >=dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}]
<dev-python/sqlalchemy-0.7.10[mysql,${PYTHON_USEDEP}] )
postgres? ( >=dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}]
<dev-python/sqlalchemy-0.7.10[postgres,${PYTHON_USEDEP}] )
ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )"
PATCHES=(
)

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/glance/glance-2013.1.9999.ebuild,v 1.2 2013/08/19 03:23:53 prometheanfire Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/glance/glance-2013.1.9999.ebuild,v 1.3 2013/09/12 04:47:49 prometheanfire Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
@ -21,7 +21,7 @@ REQUIRED_USE="|| ( ldap mysql postgres sqlite )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}
dev-python/boto
dev-python/boto[${PYTHON_USEDEP}]
dev-python/anyjson[${PYTHON_USEDEP}]
>=dev-python/eventlet-0.9.12[${PYTHON_USEDEP}]
>=dev-python/greenlet-0.3.1[${PYTHON_USEDEP}]
@ -35,24 +35,24 @@ RDEPEND="${DEPEND}
dev-python/passlib[${PYTHON_USEDEP}]
dev-python/paste[${PYTHON_USEDEP}]
dev-python/pastedeploy[${PYTHON_USEDEP}]
dev-python/pycrypto
dev-python/pycrypto[${PYTHON_USEDEP}]
>=dev-python/python-keystoneclient-0.2.0[${PYTHON_USEDEP}]
dev-python/python-glanceclient[${PYTHON_USEDEP}]
dev-python/routes[${PYTHON_USEDEP}]
>=dev-python/sqlalchemy-migrate-0.7
>=dev-python/sqlalchemy-migrate-0.7[${PYTHON_USEDEP}]
>=dev-python/webob-1.2[${PYTHON_USEDEP}]
virtual/python-argparse[${PYTHON_USEDEP}]
swift? (
>=dev-python/python-swiftclient-1.2[${PYTHON_USEDEP}]
<dev-python/python-swiftclient-2[${PYTHON_USEDEP}]
)
sqlite? ( >=dev-python/sqlalchemy-0.7[sqlite]
<=dev-python/sqlalchemy-0.8[sqlite] )
mysql? ( >=dev-python/sqlalchemy-0.7[mysql]
<=dev-python/sqlalchemy-0.8[mysql] )
postgres? ( >=dev-python/sqlalchemy-0.7[postgres]
<=dev-python/sqlalchemy-0.8[postgres] )
ldap? ( dev-python/python-ldap )"
sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}]
<dev-python/sqlalchemy-0.7.10[sqlite,${PYTHON_USEDEP}] )
mysql? ( >=dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}]
<dev-python/sqlalchemy-0.7.10[mysql,${PYTHON_USEDEP}] )
postgres? ( >=dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}]
<dev-python/sqlalchemy-0.7.10[postgres,${PYTHON_USEDEP}] )
ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )"
python_install() {
distutils-r1_python_install

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/glance/glance-9999.ebuild,v 1.4 2013/08/02 18:17:27 prometheanfire Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/glance/glance-9999.ebuild,v 1.5 2013/09/12 04:47:49 prometheanfire Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
@ -21,7 +21,7 @@ REQUIRED_USE="|| ( ldap mysql postgres sqlite )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}
dev-python/boto
dev-python/boto[${PYTHON_USEDEP}]
dev-python/anyjson[${PYTHON_USEDEP}]
>=dev-python/eventlet-0.9.12[${PYTHON_USEDEP}]
>=dev-python/greenlet-0.3.1[${PYTHON_USEDEP}]
@ -35,24 +35,24 @@ RDEPEND="${DEPEND}
dev-python/passlib[${PYTHON_USEDEP}]
dev-python/paste[${PYTHON_USEDEP}]
dev-python/pastedeploy[${PYTHON_USEDEP}]
dev-python/pycrypto
dev-python/pycrypto[${PYTHON_USEDEP}]
>=dev-python/python-keystoneclient-0.2.0[${PYTHON_USEDEP}]
dev-python/python-glanceclient[${PYTHON_USEDEP}]
dev-python/routes[${PYTHON_USEDEP}]
>=dev-python/sqlalchemy-migrate-0.7
>=dev-python/sqlalchemy-migrate-0.7[${PYTHON_USEDEP}]
>=dev-python/webob-1.2[${PYTHON_USEDEP}]
virtual/python-argparse[${PYTHON_USEDEP}]
swift? (
>=dev-python/python-swiftclient-1.2[${PYTHON_USEDEP}]
<dev-python/python-swiftclient-2[${PYTHON_USEDEP}]
)
sqlite? ( >=dev-python/sqlalchemy-0.7[sqlite]
<=dev-python/sqlalchemy-0.8[sqlite] )
mysql? ( >=dev-python/sqlalchemy-0.7[mysql]
<=dev-python/sqlalchemy-0.8[mysql] )
postgres? ( >=dev-python/sqlalchemy-0.7[postgres]
<=dev-python/sqlalchemy-0.8[postgres] )
ldap? ( dev-python/python-ldap )"
sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}]
<dev-python/sqlalchemy-0.7.10[sqlite,${PYTHON_USEDEP}] )
mysql? ( >=dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}]
<dev-python/sqlalchemy-0.7.10[mysql,${PYTHON_USEDEP}] )
postgres? ( >=dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}]
<dev-python/sqlalchemy-0.7.10[postgres,${PYTHON_USEDEP}] )
ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )"
python_install() {
distutils-r1_python_install

@ -0,0 +1,10 @@
[Unit]
Description=Machine Check Exception Logging Daemon
After=syslog.target
[Service]
ExecStart=/usr/sbin/mcelog --ignorenodev --daemon --foreground
StandardOutput=syslog
[Install]
WantedBy=multi-user.target

@ -0,0 +1,60 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/mcelog/mcelog-1.0_pre3_p20130621-r1.ebuild,v 1.1 2013/09/11 12:07:40 pacho Exp $
EAPI=5
inherit linux-info eutils systemd toolchain-funcs vcs-snapshot
COMMIT="b842ecb44965722ecd67bed1ed9d900073e3313f"
DESCRIPTION="A tool to log and decode Machine Check Exceptions"
HOMEPAGE="http://mcelog.org/"
SRC_URI="https://github.com/andikleen/${PN}/tarball/${COMMIT} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="selinux"
RDEPEND="selinux? ( sec-policy/selinux-mcelog )"
CONFIG_CHECK="~X86_MCE"
# TODO: add mce-inject to the tree to support test phase
RESTRICT="test"
src_prepare() {
epatch "${FILESDIR}"/${PN}-0.8_pre1-timestamp-${PN}.patch \
"${FILESDIR}"/${PN}-1.0_pre3_p20120918-build.patch \
"${FILESDIR}"/${PN}-1.0_pre3_p20120918-bashism.patch
tc-export CC
}
src_install() {
dosbin ${PN}
insinto /etc/cron.daily
newins ${PN}.cron ${PN}
insinto /etc/logrotate.d/
newins ${PN}.logrotate ${PN}
newinitd "${FILESDIR}"/${PN}.init ${PN}
systemd_dounit "${FILESDIR}"/${PN}.service
insinto /etc/${PN}
doins mcelog.conf
exeinto /etc/${PN}
doexe triggers/*
dodoc CHANGES README TODO *.pdf
doman ${PN}.8
}
pkg_postinst() {
einfo "The default configuration set is now installed in /etc/${PN}"
einfo "you might want to edit those files."
einfo
einfo "A sample cronjob is installed into /etc/cron.daily"
einfo "without executable bit (system service is the preferred method now)"
}

@ -2,3 +2,4 @@ DIST phpvirtualbox-4.1-11.zip 2763347 SHA256 91a78c7dead035edf8138a363c6b3cb89d8
DIST phpvirtualbox-4.1-7.zip 2760199 SHA256 16c27cd1bcc843b464752c3dd7091247b690218bca06fcecbdd130c5daf70b7c SHA512 657d5c5424d540ef3da9db54e638d227b68fcc336ec097f8a319a689990a53ad9f17af6fd0cd4be699212e83f06468bb65c4da03faf0a65ff77386f23aaf9409 WHIRLPOOL f2327749d6333bc07dce1f28f42e297f8e24777b556967513218d429e78db1fdd00112cca5ddd91d94012a8b0c5ab7c475c7209b3f12e2bad95085ce112f6f3d
DIST phpvirtualbox-4.2-3b.zip 3184088 SHA256 23134a05d22ac9429524abb9d7165eb4c0ef7c52c917e9ced317e9ff71d0405f SHA512 c0ebf5fb2defd23b5999d7616e47a93696259973b563e2e0cd415db0a9f5be5f3798ac9e6d242c44208ce2c51ba2ab7cf43288ae8108563b45bd119ba2fa8c2f WHIRLPOOL 467385c219fc525151285390fa5a68b273b52be699e97a308f77c74bdeab911a845a7e28343b665ee2d6126aca2f0c3021816adbaa23b0d563ea06d7ec20c62c
DIST phpvirtualbox-4.2-4.zip 3663173 SHA256 dd2681dc9703ec68a995cac98719863dca9e0720e45f5e0322dbb6fa3858138b SHA512 51e3b90bb5fcedbd45a6e54cf3ea6cc74cd764bdc107f97f9cb24c27f2c5d53a862781b808ab7d53cdbbd9d4cff93734d7578676b409d10326895dd1c5dcdc15 WHIRLPOOL 1678790492df50f7ae63bd4b44dbcd0ddd892c1bef9d455bf47bb20f1dcdac4955645fe71d549095ccc4a19f5960abf0f34fa1d95c4f4c8d82a34848a405fe06
DIST phpvirtualbox-4.2-7.zip 3425805 SHA256 3dc078d7058d75aa5745f531a6d485a11fff18972df1a638a749f019e0196e4e SHA512 a066f127115a83c6061e8c0ff6447464818511f3ab7805c119f75ddc88459efd144d45fb358ce52959301f2f1a4f2609f7f42c2bb24213a5be98f2036085a81b WHIRLPOOL d6cf095b9768b7a9c0113c8df354dad124a0b2dc0a52e8518dfde230823c95dcad6b6e3df56cc41a4474b8b73cb281f3bfc91f417078e0b6f1136acd70dca4cf

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/phpvirtualbox/phpvirtualbox-4.1.11.ebuild,v 1.1 2012/10/10 20:15:35 hwoarang Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/phpvirtualbox/phpvirtualbox-4.1.11.ebuild,v 1.2 2013/09/11 20:29:44 hwoarang Exp $
EAPI="2"
@ -10,7 +10,7 @@ MY_PV="$(replace_version_separator 2 '-')"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="Web-based administration for VirtualBox in PHP"
HOMEPAGE="http://phpvirtualbox.googlecode.com"
HOMEPAGE="https://sourceforge.net/projects/phpvirtualbox/"
SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.zip"
LICENSE="GPL-2"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/phpvirtualbox/phpvirtualbox-4.1.7-r2.ebuild,v 1.3 2012/08/18 10:53:51 hwoarang Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/phpvirtualbox/phpvirtualbox-4.1.7-r2.ebuild,v 1.4 2013/09/11 20:29:44 hwoarang Exp $
EAPI="2"
@ -10,7 +10,7 @@ MY_PV="$(replace_version_separator 2 '-')"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="Web-based administration for VirtualBox in PHP"
HOMEPAGE="http://phpvirtualbox.googlecode.com"
HOMEPAGE="https://sourceforge.net/projects/phpvirtualbox/"
SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.zip"
LICENSE="GPL-2"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/phpvirtualbox/phpvirtualbox-4.2.3b.ebuild,v 1.1 2012/10/23 19:17:16 hwoarang Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/phpvirtualbox/phpvirtualbox-4.2.3b.ebuild,v 1.2 2013/09/11 20:29:44 hwoarang Exp $
EAPI="2"
@ -10,7 +10,7 @@ MY_PV="$(replace_version_separator 2 '-')"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="Web-based administration for VirtualBox in PHP"
HOMEPAGE="http://phpvirtualbox.googlecode.com"
HOMEPAGE="https://sourceforge.net/projects/phpvirtualbox/"
SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.zip"
LICENSE="GPL-2"

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/phpvirtualbox/phpvirtualbox-4.2.4.ebuild,v 1.3 2013/02/16 11:56:04 pacho Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/phpvirtualbox/phpvirtualbox-4.2.4.ebuild,v 1.4 2013/09/11 20:29:44 hwoarang Exp $
EAPI="5"
@ -10,7 +10,7 @@ MY_PV="$(replace_version_separator 2 '-')"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="Web-based administration for VirtualBox in PHP"
HOMEPAGE="http://phpvirtualbox.googlecode.com"
HOMEPAGE="https://sourceforge.net/projects/phpvirtualbox/"
SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.zip"
LICENSE="GPL-2"

@ -0,0 +1,73 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/phpvirtualbox/phpvirtualbox-4.2.7.ebuild,v 1.1 2013/09/11 20:29:44 hwoarang Exp $
EAPI="5"
inherit versionator eutils webapp depend.php readme.gentoo
MY_PV="$(replace_version_separator 2 '-')"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="Web-based administration for VirtualBox in PHP"
HOMEPAGE="https://sourceforge.net/projects/phpvirtualbox/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
dev-lang/php[session,unicode,soap,gd]
"
DEPEND="app-arch/unzip"
S="${WORKDIR}"/${MY_P}
need_php_httpd
DISABLE_AUTOFORMATTING="yes"
DOC_CONTENTS="
Local or remote virtualbox hosts must be compiled with
'vboxwebsrv' useflag and the respective init script
must be running to use this interface:
/etc/init.d/vboxwebsrv start
To enable the automatic startup mode feature uncomment the
following line in the config.php file:
var \$startStopConfig = true;
You should also add the /etc/init.d/vboxinit script to the
default runlevel on the virtualbox host:
\`rc-update add vboxinit default\`
If the server is on a remote host, than the script must be
copied manually from
'${FILESDIR}'/vboxinit-initd to
/etc/init.d/vboxinit on the remote host."
src_install() {
webapp_src_preinst
dodoc CHANGELOG.txt LICENSE.txt README.txt
rm -f CHANGELOG.txt LICENSE.txt README.txt
insinto "${MY_HTDOCSDIR}"
doins -r .
webapp_configfile "${MY_HTDOCSDIR}"/config.php-example
webapp_serverowned "${MY_HTDOCSDIR}"/config.php-example
webapp_src_install
if has_version app-emulation/virtualbox[vboxwebsrv] || \
has_version app-emulation/virtualbox-bin[vboxwebsrv]
then
newinitd "${FILESDIR}"/vboxinit-initd vboxinit
fi
readme.gentoo_create_doc
}
pkg_postinst() {
webapp_pkg_postinst
readme.gentoo_print_elog
}

@ -0,0 +1,38 @@
From b7eb1ff48dd1210aa3e1002afc503d5df75d50b9 Mon Sep 17 00:00:00 2001
From: Alexandre Rostovtsev <tetromino@gentoo.org>
Date: Tue, 7 Aug 2012 01:29:01 -0400
Subject: [PATCH] Do not check for libGL symbols when checking libOSMesa
If mesa had been built with shared glapi, glAccum is not available in
libOSMesa without explicitly linking to libGL. In addition, in
mesa-8.0.x and earlier, libOSMesa needs to be explicitly linked to
libglapi if mesa was built with shared glapi, see
https://bugs.gentoo.org/show_bug.cgi?id=399813
And in mesa-8.1.x, libOSMesa in addition needs libdl, libpthread, and
libstdc++, see https://bugs.gentoo.org/show_bug.cgi?id=431832
---
configure.ac | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 66b4dd6..0303d87 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1213,7 +1213,13 @@ This probably prevents linking to OpenGL. Try deleting the file and restarting c
if test "x$with_osmesa" != "xno"
then
- WINE_CHECK_SONAME(OSMesa,glAccum,,,[$X_LIBS $XLIB -lm $X_EXTRA_LIBS])
+ WINE_CHECK_SONAME(OSMesa,OSMesaCreateContext,,,[$X_LIBS $XLIB -lm $X_EXTRA_LIBS])
+ if test "x$ac_cv_lib_soname_OSMesa" = "x"; then
+ osmesa_save_CC=$CC
+ CC=$CXX
+ WINE_CHECK_SONAME(OSMesa,OSMesaCreateContext,,,[-lglapi -lpthread -ldl $X_LIBS $XLIB -lm $X_EXTRA_LIBS])
+ CC=$osmesa_save_CC
+ fi
WINE_NOTICE_WITH(osmesa,[test "x$ac_cv_lib_soname_OSMesa" = "x"],
[libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.])
fi
--
1.8.3.2

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-9999.ebuild,v 1.151 2013/09/01 15:31:53 tetromino Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-9999.ebuild,v 1.152 2013/09/12 02:38:44 tetromino Exp $
EAPI="5"
@ -176,7 +176,7 @@ src_prepare() {
local PATCHES=(
"${FILESDIR}"/${PN}-1.5.26-winegcc.patch #260726
"${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
"${FILESDIR}"/${PN}-1.5.17-osmesa-check.patch #429386
"${FILESDIR}"/${PN}-1.7.2-osmesa-check.patch #429386
"${FILESDIR}"/${PN}-1.6-memset-O3.patch #480508
)
[[ ${PV} == "9999" ]] || PATCHES+=(

@ -1 +1,2 @@
DIST laptop-mode-tools_1.63.tar.gz 107339 SHA256 04b9bf8cce4172a810ce4026e75e0e7bfd0e05e456bbf3f13b8e9b4178d2c65b SHA512 41e48483883556541e3c5882cff2b029395d1814902d979b36e3db66385dcb22821d99ab2d0720b24b48c23afe02c94692d6222afd268a38063a1bb2bfe4c87a WHIRLPOOL 4d2b26fbe66cfa706ad660800936f2d795e493234b9154e3267db81bd476e5cb0b2f9c528d0df895238ea1ce618e2a3d87739ec5ae5dec367a787feb9dcedf79
DIST laptop-mode-tools_1.64.tar.gz 110165 SHA256 68b2016f51759285755a79a187a35466a4e46a7cfe4ef05bb1fcac7036c29605 SHA512 539388f5a86fc73a171aadafe8d3a04385cadedb41d3cb53822d4ad55b77262a82e717bfa910ec64c1ebba4d14cc02c9e1fab575c752ef8a77c2f67a023c8188 WHIRLPOOL 7201b1a69ea4265a1be9c659286a720cbfd66d840c43706a7f8099959b481fb1c018a2cb5f76c4bf7fdecbdcd3974da207e7af2b4439321b1961c87123a8900a

@ -0,0 +1,91 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/laptop-mode-tools-1.64.ebuild,v 1.1 2013/09/11 19:57:19 alonbl Exp $
EAPI=5
inherit eutils multilib systemd udev
MY_P=${PN}_${PV}
DESCRIPTION="Linux kernel laptop_mode user-space utilities"
HOMEPAGE="http://www.samwel.tk/laptop_mode/"
SRC_URI="http://www.samwel.tk/laptop_mode/tools/downloads/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="+acpi apm bluetooth scsi"
RDEPEND="net-wireless/wireless-tools
sys-apps/ethtool
sys-apps/hdparm
acpi? ( sys-power/acpid )
apm? ( sys-apps/apmd )
bluetooth? ( net-wireless/bluez:= )
scsi? ( sys-apps/sdparm )"
DEPEND=""
S=${WORKDIR}/${MY_P}
src_prepare() {
# This should avoid conflict with pm-powersave wrt #327443 and #396703
cat <<-EOF > "${T}"/${PN}
HOOK_BLACKLIST="00powersave"
EOF
}
src_compile() { :; }
src_install() {
DESTDIR="${D}" \
INIT_D="none" \
MAN_D="/usr/share/man" \
LIB_D="/usr/$(get_libdir)" \
UDEV_D="$(udev_get_udevdir)" \
SYSTEMD_UNIT_D="$(systemd_get_unitdir)" \
TMPFILES_D="/usr/$(get_libdir)/tmpfiles.d" \
ACPI="$(use acpi && echo force || echo disabled)" \
PMU="$(false && echo force || echo disabled)" \
APM="$(use apm && echo force || echo disabled)" \
SYSTEMD=yes \
sh ./install.sh || die
dodoc Documentation/*.txt README
newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode
# See src_prepare()
insinto /etc/pm/config.d
doins "${T}"/${PN}
}
pkg_postinst() {
if use acpi || use apm; then
if use acpi; then
daemon_name="acpid"
elif use apm; then
deamon_name="apmd"
fi
if [ "$(rc-config list default | grep laptop_mode)" = "" ] || [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
ewarn "To enable automatic power state event handling,"
ewarn "e.g. enabling laptop_mode after unplugging the battery,"
ewarn "both laptop_mode and the ${daemon_name} daemon must be"
ewarn "added to default runlevel:"
if [ "$(rc-config list default | grep laptop_mode)" = "" ]; then
ewarn "# rc-update add laptop_mode default"
fi
if [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
ewarn "# rc-update add ${daemon_name} default"
fi
fi
else
ewarn "Without USE=\"acpi\" or USE=\"apm\" ${PN} can not"
ewarn "automatically disable laptop_mode on low battery."
ewarn
ewarn "This means you can lose up to 10 minutes of work if running"
ewarn "out of battery while laptop_mode is enabled."
ewarn
ewarn "Please see laptop-mode.txt in /usr/share/doc/${PF} for further"
ewarn "information."
ewarn
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.8-r1.ebuild,v 1.1 2013/09/10 19:25:33 fuzzyray Exp $
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.8-r1.ebuild,v 1.2 2013/09/11 17:22:19 fuzzyray Exp $
EAPI="5"
@ -51,7 +51,7 @@ python_install_all() {
# Create cache directory for revdep-rebuild
keepdir /var/cache/revdep-rebuild
use prefix || fowners root:root /var/cache/revdep-rebuild
use prefix || fowners root:0 /var/cache/revdep-rebuild
fperms 0700 /var/cache/revdep-rebuild
# remove on Gentoo Prefix platforms where it's broken anyway

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-9999.ebuild,v 1.30 2013/09/05 18:25:00 mgorny Exp $
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-9999.ebuild,v 1.31 2013/09/11 17:22:19 fuzzyray Exp $
EAPI="5"
@ -44,7 +44,7 @@ python_install_all() {
# Create cache directory for revdep-rebuild
keepdir /var/cache/revdep-rebuild
use prefix || fowners root:root /var/cache/revdep-rebuild
use prefix || fowners root:0 /var/cache/revdep-rebuild
fperms 0700 /var/cache/revdep-rebuild
# remove on Gentoo Prefix platforms where it's broken anyway

@ -0,0 +1,99 @@
--- a/Portage.pm 2013-09-11 08:34:10.792161194 +0200
+++ b/Portage.pm 2013-09-11 09:00:45.737142232 +0200
@@ -46,11 +46,13 @@
our $used_make_conf = "";
# --- private members ---
-my %_environment = ();
-my $_EPREFIX = "";
-my @_profiles = ();
-my %_use_eh_safe = (); ## USE_EXPAND_HIDDEN safe hash. See _read_make_defaults()
-my %_use_order = ();
+my %_environment = ();
+my $_EPREFIX = "";
+my $_PORTDIR = "";
+my $_PORTDIR_OVERLAY = "";
+my @_profiles = ();
+my %_use_eh_safe = (); ## USE_EXPAND_HIDDEN safe hash. See _read_make_defaults()
+my %_use_order = ();
# $_use_temp - hashref that represents the current state of
# all known flags. This is for data gathering, the public
@@ -87,7 +89,7 @@
# --- private methods ---
sub _add_flag;
sub _add_temp;
-sub _determine_eprefix;
+sub _determine_eprefix_portdir;
sub _determine_make_conf;
sub _determine_profiles;
sub _final_cleaning;
@@ -112,7 +114,7 @@
# --- Package initialization ---
INIT {
$_environment{$_} = {} for qw{USE USE_EXPAND USE_EXPAND_HIDDEN};
- _determine_eprefix;
+ _determine_eprefix_portdir;
_determine_make_conf;
_determine_profiles;
_read_make_globals;
@@ -223,14 +225,29 @@
}
-# Determine the value for EPREFIX and save it
-# in $_EPREFIX. This is done using 'portageq'.
+# Determine the values for EPREFIX, PORTDIR
+# and PORTDIR_OVERLAY. These are saved in
+# $_EPREFIX, $_PORTDIR and $_PORTDIR_OVERLAY.
+# This is done using 'portageq'.
# Other output from portageq is printed on
# STDERR.
# No parameters accepted.
-sub _determine_eprefix {
+sub _determine_eprefix_portdir {
my $tmp = "/tmp/ufed_$$.tmp";
- $_EPREFIX = qx{portageq envvar EPREFIX 2>$tmp};
+ my @res = map {
+ my $x = $_;
+ chomp $x;
+ $x =~ s/'//g;
+ $x
+ } qx{portageq envvar -v EPREFIX PORTDIR PORTDIR_OVERLAY 2>$tmp};
+
+ while (my $res = shift @res) {
+ if ($res =~ /^(.*)=(.*)$/) {
+ "EPREFIX" eq $1 and $_EPREFIX = $2;
+ "PORTDIR" eq $1 and $_PORTDIR = $2;
+ "PORTDIR_OVERLAY" eq $1 and $_PORTDIR_OVERLAY = $2;
+ }
+ }
die "Couldn't determine EPREFIX from Portage" if $? != 0;
if ( -s $tmp ) {
@@ -241,7 +258,6 @@
}
-e $tmp and unlink $tmp;
- chomp($_EPREFIX);
return;
}
@@ -631,13 +647,11 @@
}
# Add PORTDIR and overlays to @_profiles
- defined ($_environment{PORTDIR})
- and push @_profiles, "$_environment{PORTDIR}/profiles"
+ length ($_PORTDIR)
+ and push @_profiles, "${_PORTDIR}/profiles"
or die("Unable to determine PORTDIR!\nSomething is seriously broken here!\n");
- defined ($_environment{PORTDIR_OVERLAY})
- and push @_profiles,
- map { my $x=$_; $x =~ s/^\s*(\S+)\s*$/$1\/profiles/mg ; $x }
- split('\n', $_environment{PORTDIR_OVERLAY});
+ length ($_PORTDIR_OVERLAY)
+ and push @_profiles, split(' ', $_PORTDIR_OVERLAY);
-e "${_EPREFIX}/etc/portage/profile"
and push @_profiles, "${_EPREFIX}/etc/portage/profile";
return;

@ -0,0 +1,41 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/ufed/ufed-0.90_rc2-r1.ebuild,v 1.1 2013/09/11 17:51:19 fuzzyray Exp $
EAPI=5
inherit base eutils multilib autotools
DESCRIPTION="Gentoo Linux USE flags editor"
HOMEPAGE="http://www.gentoo.org/"
SRC_URI="mirror://gentoo/${P}.tar.bz2
http://dev.gentoo.org/~fuzzyray/distfiles/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE=""
COMMON_DEPEND="sys-libs/ncurses"
RDEPEND="${COMMON_DEPEND}
dev-lang/perl"
DEPEND="${COMMON_DEPEND}
virtual/pkgconfig"
# Populate the patches array for patches applied for -rX releases
# It is an array of patch file names of the form:
# "${FILESDIR}"/${P}-make.globals-path.patch
PATCHES=(
"${FILESDIR}"/${P}-get_portdir_from_portageq.patch
)
src_prepare() {
base_src_prepare
# Change the version number to reflect the ebuild version
sed -i "s:,\[git\],:,\[${PVR}\],:" configure.ac
eautoreconf
}
src_configure() {
econf --libexecdir="${EPREFIX}"/usr/$(get_libdir)/ufed
}

@ -0,0 +1,41 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/build-docbook-catalog/build-docbook-catalog-1.19.1-r1.ebuild,v 1.1 2013/09/11 20:02:23 ottxor Exp $
EAPI=5
inherit eutils
DESCRIPTION="DocBook XML catalog auto-updater"
HOMEPAGE="http://sources.gentoo.org/gentoo-src/build-docbook-catalog/"
SRC_URI="mirror://gentoo/${P}.tar.xz
http://dev.gentoo.org/~floppym/distfiles/${P}.tar.xz
http://dev.gentoo.org/~vapier/dist/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="userland_BSD kernel_linux"
RDEPEND="kernel_linux? ( sys-apps/util-linux )
!kernel_linux? ( app-misc/getopt )
!<app-text/docbook-xsl-stylesheets-1.73.1
userland_BSD? ( sys-apps/flock )
dev-libs/libxml2"
DEPEND=""
src_prepare() {
if use prefix ; then
sed -i -e "/^\(ROOTCONFDIR\|DOCBOOKDIR\)=/s:=/:=${EPREFIX}/:" build-docbook-catalog || die
sed -i -e "/^\(SYSCONFDIR\|PREFIX\) = /s:= /:= ${EPREFIX}/:" Makefile || die
if use !kernel_linux ; then
sed -i -e '/opts=/s/getopt/getopt-long/' build-docbook-catalog || die
fi
epatch "${FILESDIR}"/${P}-no-flock.patch # obsoletes flock requirement
fi
}
pkg_postinst() {
# New version -> regen files
build-docbook-catalog
}

@ -0,0 +1,33 @@
build-docbook-catalog: avoid usage of non-portable flock
Solaris has no flock(1), hence use shell-provided until instead to
simulate lock.
--- build-docbook-catalog
+++ build-docbook-catalog
@@ -65,10 +65,14 @@
mkdir -p "${ROOT}${ROOTCONFDIR}" || error "could not create ${ROOTCONFDIR}"
fi
+ local lock="${ROOT}${ROOTCONFDIR}"/build-docbook-catalog-lock
(
# Lock the dir to avoid trashing other runs that might
# be running parallel.
- flock 123 || error "unable to lock ${ROOTCONFDIR}"
+ touch "${lock}".$$ && \
+ until ln "${lock}".$$ "${lock}" 2>/dev/null; do sleep 1; done && \
+ rm "${lock}".$$
+ [[ -f ${lock}.$$ ]] && error "unable to lock ${ROOTCONFDIR}"
create_catalogs # will exit on error
for type in xsl xsl-ns xsl-saxon xsl-xalan; do
@@ -90,7 +94,8 @@
populate_entities
fi
- ) 123>"${ROOT}${ROOTCONFDIR}/.keep"
+ )
+ rm "${lock}"
exit 0
}

@ -0,0 +1,41 @@
See also http://finkproject.org/doc/porting/libtool.php
(Section 3.3) Fixing 1.4.x (Subsection 1) The flat_namespace bug
--- configure~ 2007-10-08 01:55:00 +0200
+++ configure 2007-10-08 01:55:27 +0200
@@ -3063,9 +3063,6 @@
case "${host}" in
- *-*-darwin*)
- LINKFLAGS="-no-undefined"
- ;;
*)
if test "$GXX"
then
@@ -7907,7 +7904,7 @@
;;
darwin* | rhapsody*)
- allow_undefined_flag='-undefined suppress'
+ allow_undefined_flag='-undefined suppress -flat_namespace'
# FIXME: Relying on posixy $() will cause problems for
# cross-compilation, but unfortunately the echo tests do not
# yet detect zsh echo's removal of \ escapes.
--- config/ltmain.sh~ 2002-01-17 14:45:52 +0100
+++ config/ltmain.sh 2007-10-08 03:08:26 +0200
@@ -3913,10 +3913,15 @@
# Directory that this library needs to be installed in:
libdir='$install_libdir'"
+case "${host}" in
+ *-*-darwin*)
+ ;;
+ *)
if test "$installed" = no && test $need_relink = yes; then
$echo >> $output "\
relink_command=\"$relink_command\""
fi
+esac
done
fi

@ -0,0 +1,116 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/openjade/openjade-1.3.2-r6.ebuild,v 1.1 2013/09/11 19:29:04 ottxor Exp $
EAPI=5
inherit autotools sgml-catalog eutils flag-o-matic multilib
DESCRIPTION="Jade is an implementation of DSSSL - an ISO standard for formatting SGML and XML documents"
HOMEPAGE="http://openjade.sourceforge.net"
SRC_URI="mirror://sourceforge/openjade/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="static-libs"
RDEPEND="app-text/sgml-common
>=app-text/opensp-1.5.1"
DEPEND="dev-lang/perl
${RDEPEND}"
src_prepare() {
epatch "${FILESDIR}"/${P}-deplibs.patch
epatch "${FILESDIR}"/${P}-ldflags.patch
epatch "${FILESDIR}"/${P}-msggen.pl.patch
epatch "${FILESDIR}"/${P}-respect-ldflags.patch
epatch "${FILESDIR}"/${P}-libosp-la.patch
epatch "${FILESDIR}"/${P}-gcc46.patch
epatch "${FILESDIR}"/${P}-darwin.patch
# Please note! Opts are disabled. If you know what you're doing
# feel free to remove this line. It may cause problems with
# docbook-sgml-utils among other things.
ALLOWED_FLAGS="-O -O1 -O2 -pipe -g -march"
strip-flags
# Default CFLAGS and CXXFLAGS is -O2 but this make openjade segfault
# on hppa. Using -O1 works fine. So I force it here.
use hppa && replace-flags -O2 -O1
ln -s config/configure.in configure.ac || die
cp "${FILESDIR}"/${P}-acinclude.m4 acinclude.m4 || die
rm config/missing || die
AT_NOEAUTOMAKE=yes
eautoreconf
SGML_PREFIX="${EPREFIX}"/usr/share/sgml
}
src_configure() {
# We need Prefix env, bug #287358
export CONFIG_SHELL="${CONFIG_SHELL:-${BASH}}"
econf \
--enable-http \
--enable-default-catalog="${EPREFIX}"/etc/sgml/catalog \
--enable-default-search-path="${EPREFIX}"/usr/share/sgml \
--enable-splibdir="${EPREFIX}"/usr/$(get_libdir) \
--libdir="${EPREFIX}"/usr/$(get_libdir) \
--datadir="${EPREFIX}"/usr/share/sgml/${P} \
$(use_enable static-libs static)
}
src_compile() {
# Bug 412725.
unset INCLUDE
emake -j1 SHELL="${BASH}"
}
src_install() {
insinto /usr/$(get_libdir)
make DESTDIR="${D}" \
SHELL="${BASH}" \
libdir="${EPREFIX}"/usr/$(get_libdir) \
install install-man
prune_libtool_files
dosym openjade /usr/bin/jade
dosym onsgmls /usr/bin/nsgmls
dosym osgmlnorm /usr/bin/sgmlnorm
dosym ospam /usr/bin/spam
dosym ospent /usr/bin/spent
dosym osx /usr/bin/sgml2xml
insinto /usr/share/sgml/${P}/
doins dsssl/builtins.dsl
echo 'SYSTEM "builtins.dsl" "builtins.dsl"' > ${ED}/usr/share/sgml/${P}/catalog
insinto /usr/share/sgml/${P}/dsssl
doins dsssl/{dsssl.dtd,style-sheet.dtd,fot.dtd}
newins "${FILESDIR}"/${P}.dsssl-catalog catalog
# Breaks sgml2xml among other things
# insinto /usr/share/sgml/${P}/unicode
# doins unicode/{catalog,unicode.sd,unicode.syn,gensyntax.pl}
insinto /usr/share/sgml/${P}/pubtext
doins pubtext/*
dodoc NEWS README VERSION
dohtml doc/*.htm
insinto /usr/share/doc/${PF}/jadedoc
doins jadedoc/*.htm
insinto /usr/share/doc/${PF}/jadedoc/images
doins jadedoc/images/*
}
sgml-catalog_cat_include "/etc/sgml/${P}.cat" \
"/usr/share/sgml/openjade-${PV}/catalog"
sgml-catalog_cat_include "/etc/sgml/${P}.cat" \
"/usr/share/sgml/openjade-${PV}/dsssl/catalog"
sgml-catalog_cat_include "/etc/sgml/sgml-docbook.cat" \
"/etc/sgml/${P}.cat"

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/texlive-core/texlive-core-2013-r1.ebuild,v 1.1 2013/08/27 16:29:26 aballier Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/texlive-core/texlive-core-2013-r1.ebuild,v 1.3 2013/09/11 17:40:11 aballier Exp $
EAPI=5
@ -67,7 +67,7 @@ for i in ${TL_CORE_EXTRA_SRC_MODULES}; do
done
SRC_URI="${SRC_URI} )"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="cjk X doc source tk xetex"
TEXMF_PATH=/usr/share/texmf-dist
@ -113,8 +113,8 @@ DEPEND="${COMMON_DEPEND}
app-arch/xz-utils"
RDEPEND="${COMMON_DEPEND}
>=app-text/ps2pkm-1.5_p20120701
>=app-text/dvipsk-5.992_p20120701
>=app-text/ps2pkm-1.5_p20130530
>=app-text/dvipsk-5.993_p20130530
>=dev-tex/bibtexu-3.71_p20130530
virtual/perl-Getopt-Long
xetex? ( >=app-text/xdvipdfmx-0.7.9_p20130530 )
@ -165,17 +165,17 @@ src_configure() {
tc-export CC CXX AR RANLIB
ECONF_SOURCE="${B}" \
econf -C \
--bindir=/usr/bin \
--bindir="${EPREFIX}"/usr/bin \
--datadir="${S}" \
--with-system-freetype2 \
--with-freetype2-include=/usr/include \
--with-system-zlib \
--with-system-libpng \
--with-system-xpdf \
--with-system-poppler \
--with-system-teckit \
--with-teckit-includes=/usr/include/teckit \
--with-teckit-includes="${EPREFIX}"/usr/include/teckit \
--with-system-kpathsea \
--with-kpathsea-includes="${EPREFIX}"/usr/include \
--with-system-icu \
--with-system-ptexenc \
--with-system-harfbuzz \
@ -232,7 +232,7 @@ src_configure() {
src_compile() {
tc-export CC CXX AR RANLIB
emake SHELL=/bin/sh texmf=${TEXMF_PATH:-/usr/share/texmf-dist} || die "emake failed"
emake SHELL="${EPREFIX}"/bin/sh texmf="${EPREFIX}"${TEXMF_PATH:-/usr/share/texmf-dist} || die "emake failed"
cd "${B}"
# Mimic updmap --syncwithtrees to enable only fonts installed
@ -251,12 +251,12 @@ src_compile() {
src_install() {
dodir ${TEXMF_PATH:-/usr/share/texmf-dist}/web2c
emake DESTDIR="${D}" texmf="${D}${TEXMF_PATH:-/usr/share/texmf-dist}" run_texlinks="true" run_mktexlsr="true" install || die "install failed"
emake DESTDIR="${D}" texmf="${ED}${TEXMF_PATH:-/usr/share/texmf-dist}" run_texlinks="true" run_mktexlsr="true" install || die "install failed"
cd "${B}"
dodir /usr/share # just in case
cp -pR texmf-dist "${D}/usr/share/" || die "failed to install texmf trees"
cp -pR "${WORKDIR}"/tlpkg "${D}/usr/share/" || die "failed to install tlpkg files"
cp -pR texmf-dist "${ED}/usr/share/" || die "failed to install texmf trees"
cp -pR "${WORKDIR}"/tlpkg "${ED}/usr/share/" || die "failed to install tlpkg files"
# When X is disabled mf-nowin doesn't exist but some scripts expect it to
# exist. Instead, it is called mf, so we symlink it to please everything.
@ -278,23 +278,23 @@ src_install() {
cd "${B}/texk/web2c"
dodoc ChangeLog NEWS PROJECTS README || die "failed to install web2c docs"
use doc || rm -rf "${D}/usr/share/texmf-dist/doc"
use doc || rm -rf "${ED}/usr/share/texmf-dist/doc"
dodir /etc/env.d
echo 'CONFIG_PROTECT_MASK="/etc/texmf/web2c /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d"' > "${D}/etc/env.d/98texlive"
echo 'CONFIG_PROTECT_MASK="/etc/texmf/web2c /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d"' > "${ED}/etc/env.d/98texlive"
# populate /etc/texmf
keepdir /etc/texmf/web2c
# take care of updmap.cfg and language.d files
keepdir /etc/texmf/{updmap.d,language.dat.d,language.def.d,language.dat.lua.d}
mv "${D}${TEXMF_PATH}/web2c/updmap.cfg" "${D}/etc/texmf/updmap.d/00updmap.cfg" || die "moving updmap.cfg failed"
mv "${ED}${TEXMF_PATH}/web2c/updmap.cfg" "${ED}/etc/texmf/updmap.d/00updmap.cfg" || die "moving updmap.cfg failed"
# Remove fmtutil.cnf, it will be regenerated from /etc/texmf/fmtutil.d files
# by texmf-update
rm -f "${D}${TEXMF_PATH}/web2c/fmtutil.cnf"
rm -f "${ED}${TEXMF_PATH}/web2c/fmtutil.cnf"
# Remove bundled and invalid updmap.cfg
rm -f "${D}/usr/share/texmf-dist/web2c/updmap.cfg"
rm -f "${ED}/usr/share/texmf-dist/web2c/updmap.cfg"
texlive-common_handle_config_files
@ -308,11 +308,11 @@ src_install() {
dosym pdftex /usr/bin/pdfvirtex
# Rename mpost to leave room for mplib
mv "${D}/usr/bin/mpost" "${D}/usr/bin/mpost-${P}"
mv "${ED}/usr/bin/mpost" "${ED}/usr/bin/mpost-${P}"
dosym "mpost-${P}" /usr/bin/mpost
# Ditto for pdftex
mv "${D}/usr/bin/pdftex" "${D}/usr/bin/pdftex-${P}"
mv "${ED}/usr/bin/pdftex" "${ED}/usr/bin/pdftex-${P}"
dosym "pdftex-${P}" /usr/bin/pdftex
}
@ -321,7 +321,7 @@ pkg_preinst() {
if has_version =app-text/texlive-core-2007* ; then
for i in pdftex/pdflatex aleph/aleph aleph/lamed omega/lambda omega/omega xetex/xetex xetex/xelatex tex/tex pdftex/etex pdftex/pdftex pdftex/pdfetex ; do
for j in log fmt ; do
local file="${ROOT}/var/lib/texmf/web2c/${i}.${j}"
local file="${EROOT}/var/lib/texmf/web2c/${i}.${j}"
if [ -f "${file}" ] ; then
elog "Removing stray ${file} from TeXLive 2007 install."
rm -f "${file}"
@ -329,7 +329,7 @@ pkg_preinst() {
done
done
for j in base log ; do
local file="${ROOT}/var/lib/texmf/web2c/metafont/mf.${j}"
local file="${EROOT}/var/lib/texmf/web2c/metafont/mf.${j}"
if [ -f "${file}" ] ; then
elog "Removing stray ${file} from TeXLive 2007 install."
rm -f "${file}"
@ -342,8 +342,8 @@ pkg_postinst() {
etexmf-update
elog
elog "If you have configuration files in /etc/texmf to merge,"
elog "please update them and run /usr/sbin/texmf-update."
elog "If you have configuration files in ${EPREFIX}/etc/texmf to merge,"
elog "please update them and run ${EPREFIX}/usr/sbin/texmf-update."
elog
ewarn "If you are migrating from an older TeX distribution"
ewarn "Please make sure you have read:"

@ -0,0 +1,84 @@
Many clients seem to use blockquote tags to flag quotes these days, so
write them out as quotes, so they remain readable.
diff -ru src.orig/html_tag.c src/html_tag.c
--- src.orig/html_tag.c 2013-09-11 11:51:53.000000000 +0200
+++ src/html_tag.c 2013-09-11 12:43:25.000000000 +0200
@@ -87,8 +87,8 @@
else if CMP("P", str) { start_p(); }
else if CMP("/P", str) { paragraphen_ende(); }
- else if CMP("BLOCKQUOTE", str) { start_p(); }
- else if CMP("/BLOCKQUOTE", str) { paragraphen_ende(); }
+ else if CMP("BLOCKQUOTE", str) { start_p(); quote++; }
+ else if CMP("/BLOCKQUOTE", str) { paragraphen_ende(); if (quote>0) quote--;}
else if CMP("Q", str) { wort_plus_ch('"'); }
else if CMP("/Q", str) { wort_plus_ch('"'); }
diff -ru src.orig/multibyte.h src/multibyte.h
--- src.orig/multibyte.h 2005-09-20 12:57:54.000000000 +0200
+++ src/multibyte.h 2013-09-11 11:56:13.000000000 +0200
@@ -16,6 +16,7 @@
#define ATOI(n) wcstoi(n)
#define ONESPACE L" "
+ #define QUOTE L">"
#define WORT_PLUS_STRING(str) wort_plus_string(L##str)
#define STRSTR(haystack, needle) wcsstr(haystack, L##needle)
@@ -40,6 +41,7 @@
#define ATOI(n) atoi(n)
#define ONESPACE " "
+ #define QUOTE ">"
#define WORT_PLUS_STRING(str) wort_plus_string(str)
#define STRSTR(haystack, needle) strstr(haystack, needle)
diff -ru src.orig/text.h src/text.h
--- src.orig/text.h 2013-09-11 12:48:23.000000000 +0200
+++ src/text.h 2013-09-11 12:48:27.000000000 +0200
@@ -26,6 +26,7 @@
int tab;
int spaces;
+int quote;
void print_zeile();
int is_zeile_empty();
diff -ru src.orig/text.c src/text.c
--- src.orig/text.c 2006-01-22 20:31:45.000000000 +0100
+++ src/text.c 2013-09-11 12:45:09.000000000 +0200
@@ -28,6 +28,7 @@
int breite=76,
hr_breite=76,
paragraph=0,
+ quote=0,
tab=4, /* tabulator */
spaces=0, /* spaces at beginning of line */
@@ -325,6 +326,12 @@
printf(" z0: zeilen_pos: %d\n",zeilen_pos);
#endif
print_zeile();
+ if (quote > 0)
+ {
+ i=0;
+ while (i<quote) { zeile_plus_wort(QUOTE,1,1); i++; }
+ zeile_plus_wort(ONESPACE,1,1);
+ }
i=0;
while (i<spaces) { zeile_plus_wort(ONESPACE,1,1); i++; }
if (orderedlist>0) { zeile_plus_wort(ONESPACE,1,1); }
@@ -345,6 +352,12 @@
printf(" z2: zeilen_len: %d\n",zeilen_len);
printf(" z2: zeilen_pos: %d\n",zeilen_pos);
#endif
+ if (quote > 0)
+ {
+ i=0;
+ while (i<quote) { zeile_plus_wort(QUOTE,1,1); i++; }
+ zeile_plus_wort(ONESPACE,1,1);
+ }
i=0;
while (i<spaces) { zeile_plus_wort(ONESPACE,1,1); i++; }
if (orderedlist>0) { zeile_plus_wort(ONESPACE,1,1); }

@ -0,0 +1,79 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/vilistextum/vilistextum-2.6.9-r1.ebuild,v 1.1 2013/09/11 17:29:20 grobian Exp $
EAPI="2"
inherit eutils autotools
DESCRIPTION="Html to ascii converter specifically programmed to get the best out of incorrect html"
HOMEPAGE="http://bhaak.dyndns.org/vilistextum/"
SRC_URI="http://bhaak.dyndns.org/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
#IUSE="unicode kde"
IUSE="unicode"
DEPEND="virtual/libiconv"
RDEPEND=""
# KDE support will be available once a version of kaptain in stable
# kde? ( kde-misc/kaptain )"
src_prepare() {
epatch \
"${FILESDIR}/${P}-gentoo.diff" \
"${FILESDIR}/${P}-prefix.patch" \
"${FILESDIR}/${P}-darwin11.patch" \
"${FILESDIR}/${P}-blockquote.patch"
eautoreconf
}
get_locale() {
locale -a | grep -i "$1\.utf.*8\$"
}
find_locale() {
local l t
# we basically prefer to find en_US.UTF-8, but it may not always be
# available, in which case it is better not to hardcode to use it
l=$(get_locale en_US)
if [[ -z ${l} ]] ; then
for t in "en_GB" "en_.*" ".*" ; do
l=$(get_locale ${t})
if [[ -n ${l} ]] ; then
l=${l%%$'\n'*}
break;
fi
done
fi
[[ -z ${l} ]] && die "Failed to find a unicode locale"
echo "${l}"
}
src_configure() {
# need hardwired locale simply because locale -a | grep -i utf-8 | head -n1
# isn't always returning the most sensical (and working) locale
econf \
$(use_enable unicode multibyte) \
$(use_with unicode unicode-locale $(find_locale))
}
src_test() {
if $(locale -a | grep -iq "en_US\.utf.*8"); then
emake -j1 \
check || die
else
ewarn "If you like to run the test,"
ewarn "please make sure en_US.UTF-8 is installed."
die "en_US.UTF-8 locale is missing"
fi
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc README CHANGES || die
dohtml doc/*.html || die
}

@ -0,0 +1,15 @@
https://github.com/klen/python-mode/issues/162
--- a/ftplugin/python/init-pymode.vim
+++ b/ftplugin/python/init-pymode.vim
@@ -46,10 +46,9 @@ if !pymode#Default('g:pymode_path', 1) || g:pymode_path
python << EOF
import sys, vim, os
-curpath = vim.eval("getcwd()")
libpath = os.path.join(vim.eval("expand('<sfile>:p:h:h:h')"), 'pylibs')
-sys.path = [libpath, curpath] + vim.eval("g:pymode_paths") + sys.path
+sys.path = [libpath] + vim.eval("g:pymode_paths") + sys.path
EOF
endif " }}}

@ -0,0 +1,56 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-vim/python-mode/python-mode-0.6.18-r3.ebuild,v 1.1 2013/09/12 02:38:29 radhermit Exp $
EAPI=5
VIM_PLUGIN_MESSAGES="filetype"
VIM_PLUGIN_HELPFILES="PythonModeCommands"
VIM_PLUGIN_HELPURI="https://github.com/klen/python-mode"
inherit vim-plugin eutils
DESCRIPTION="Provide python code looking for bugs, refactoring and other useful things"
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=3770 https://github.com/klen/python-mode"
SRC_URI="https://github.com/klen/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-3"
KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-python/astng
dev-python/autopep8
dev-python/pyflakes
dev-python/pylint
dev-python/rope
dev-python/ropemode
"
src_prepare() {
epatch "${FILESDIR}"/${P}-dont-add-cwd-to-syspath.patch
# debundling fun
rm -rf pylibs/pylama/{pep8.py,pyflakes} pylibs/{autopep8.py}
#rm -rf pylibs/{rope,ropemode} #475686
sed -e 's/from .pep8/from pep8/g' \
-e 's/from .pyflakes/from pyflakes/g' \
-i pylibs/pylama/utils.py || die
# there's still pylint left, I failed to debundle it :/
mv pylint.ini "${T}" || die
sed -e "s|expand(\"<sfile>:p:h:h\")|\"${EPREFIX}/usr/share/${PN}\"|" \
-i autoload/pymode.vim || die # use custom path
}
src_install() {
vim-plugin_src_install
insinto usr/share/${PN}
doins "${T}"/pylint.ini
}
pkg_postinst() {
vim-plugin_pkg_postinst
einfo "If you use custom pylintrc make sure you append the contents of"
einfo " ${EPREFIX}/usr/share/${PN}/pylint.ini"
einfo "to it. Otherwise PyLint command will not work properly."
}

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/pe-format/pe-format-2.9999.ebuild,v 1.2 2013/09/11 08:02:51 mgorny Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/pe-format/pe-format-2.9999.ebuild,v 1.3 2013/09/11 10:52:16 mgorny Exp $
EAPI=4
@ -28,7 +28,7 @@ RDEPEND="!<sys-apps/openrc-0.9.4"
KEYWORDS=
SRC_URI=
DEPEND="sys-devel/systemd-sdk"
DEPEND="sys-devel/systemd-m4"
#endif
src_configure() {

@ -1,4 +1,5 @@
DIST cglib-src-2.0.2.jar 445834 SHA256 91644a03487a9a0161a54e0c3644c34c44e507557dcf4b8b97a60dd91e67cd1c SHA512 6cfaf0b03043a2ae36a83eb4b4c23026d02943ee56bd89d9556a9670385844a181d220291efe5eb1c248854a2f2adf46ca9de041d4670f80672b3cc7d5ee8b42 WHIRLPOOL 8afcd44f17bdf7e52c00d9e5b21f390f8ae8316a6c40db063c2f4dd7e503059d6b985fe259871801c51a8847b0280f8fc78bb982ea02833065c57abddd172712
DIST cglib-src-2.1_3.jar 1610524 SHA256 652c7533f5c6d4bf66ba13871f70133e9ffdca648e49354cff7f39824282739e SHA512 9bd34c3448870f9ba8e0e985b679bf077d9f0c66d815a93cede35b743958e0f0fe03382933d2a696a55f41ad8669ca392daef4ad0e12c17dd5744262984f4e14 WHIRLPOOL 44e999b8de2e3ba37e6667ee46e68fa463e6609ad08fd69b744e36719a9b4ff4d9e95fc626487b7a788dae128d514c70ee3900da6f217d4208d534b776305a24
DIST cglib-src-2.2.jar 1520971 SHA256 762e0214f0d31f224e712a7a5b4768c16ad24741ba98fc2e94715ae390d07fcb SHA512 ef0694684345c08f6e107c5a32177b63f53e4779a729f3f28d98f6cde1d8edaa9cf9c8e1fc9325f5c22f4214f5795d34fb3a13bfe298705f424d569b3e7b7baa WHIRLPOOL a7072eab907cb08c2b44d2cacf837abac70fbcaf7af4c30483479c4994c27dfdad02c916dced3f75e45de73bc111ee3efc133ae30766cd7ed26695cfa63f7773
DIST cglib-src-3.0.jar 1537863 SHA256 40f8cc721f80b820207f0061b10ad51151f577b2d7d94d93f19a85aa2551e674 SHA512 7791c36ed1908ddbc35a0bf1f4f54c3554b0fe4f707b318d7d24189fb513d8712335f2e41f90065e8eb102657d53699cc709a1b9f7a12a8f924c6a755969a829 WHIRLPOOL d9e4f80e7cbe1bc39aad654e437347551e13c66bcc3139f8991e870c123bdd83603a26b9d5a07a902c2fa668ba7cb42285417578b836e195f5660b691c6ddc79
DIST cglib.2.2.3.zip 2417681 SHA256 23e605c9b8972d4944c90391aaecf7b00ed59096a0a8936bb16e5b30cdbaa1b2 SHA512 c7bcdc8035c1edcff45a2325d52dba464df0737d1e3941f59174a7e3e3896002a7de7d7fa47271b3575704aeed96e82a1041fb1a7f189bf37575323f02dcdd7b WHIRLPOOL b002b2c6d55a004bf5e3e3804942d2bb2a276382dfcab65304a3eb998aa80324386b3c7e0984969da0c41c75ad6be62543f7f83a6940d0c75c90bc05dcce7192

@ -0,0 +1,49 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/cglib/cglib-3.0.ebuild,v 1.1 2013/09/11 17:28:09 ercpe Exp $
EAPI="5"
JAVA_PKG_IUSE="doc examples source test"
inherit java-pkg-2 java-ant-2
DESCRIPTION="cglib is a powerful, high performance and quality Code Generation Library."
HOMEPAGE="http://cglib.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.jar"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="~amd64 ~x86"
IUSE=""
COMMON_DEP="dev-java/asm:4
>=dev-java/ant-core-1.7.0"
RDEPEND=">=virtual/jre-1.5
${COMMON_DEP}"
DEPEND=">=virtual/jdk-1.5
test? ( dev-java/junit:4 )
${COMMON_DEP}"
S="${WORKDIR}"
JAVA_ANT_REWRITE_CLASSPATH="yes"
EANT_GENTOO_CLASSPATH="asm-4 ant-core"
java_prepare() {
find . -iname '*.jar' -delete || die
epatch "${FILESDIR}"/${P}-build.xml.patch
}
src_install() {
java-pkg_newjar dist/${P}.jar ${PN}.jar
use doc && java-pkg_dojavadoc docs
use source && java-pkg_dosrc src/proxy/net
use examples && java-pkg_doexamples --subdir samples src/proxy/samples
}
src_test() {
java-pkg-2_src_test
}

@ -0,0 +1,36 @@
diff -Nru /tmp/cglib-3.0.orig/build.xml ./build.xml
--- /tmp/cglib-3.0.orig/build.xml 2012-08-17 19:21:37.387574672 +0300
+++ ./build.xml 2012-08-17 19:26:58.982564260 +0300
@@ -73,7 +73,7 @@
<target depends="prepare" description="Compile shareable components"
name="compile">
<javac debug="${compile.debug}" deprecation="${compile.deprecation}" destdir="${build.home}/classes" optimize="${compile.optimize}" srcdir="${source.home}"
- target="${compile.target}" bootclasspath="${compile.bootclasspath}" extdirs="${compile.extdirs}" source="${compile.source}">
+ target="${compile.target}" extdirs="${compile.extdirs}" source="${compile.source}">
<classpath refid="compile.classpath"/>
<compilerarg compiler="jikes" value="-nowarn"/>
</javac>
@@ -124,14 +124,6 @@
<exclude name="samples/**" />
</jar>
- <taskdef name="jarjar" classname="com.tonicsystems.jarjar.JarJarTask" classpathref="compile.classpath"/>
- <jarjar basedir="${build.home}/classes" jarfile="${dist.home}/${component.name}-nodep-${component.version}.jar" >
- <zipfileset dir="lib" includes="asm*.txt"/>
- <zipfileset src="lib/asm-4.0.jar" excludes="META-INF"/>
- <rule pattern="org.objectweb.asm.**" result="net.sf.cglib.asm.@1"/>
- <include name="**/*"/>
- <exclude name="samples/**"/>
- </jarjar>
</target>
<target depends="compile,javadoc" description="Create docs and source distribution" name="srcjar">
@@ -246,7 +238,7 @@
<!-- <jvmarg value="-verbose:class"/> -->
<!-- <jvmarg value="-Xprof"/> -->
<!-- <jvmarg value="-server"/> -->
- <!-- <sysproperty key="cglib.debugLocation" value="debug"/> -->
+ <sysproperty key="cglib.debugLocation" value="${cglib.debugLocation}"/>
<!-- <jvmarg value="-Djava.security.policy==java.policy" /> -->
<!-- <jvmarg value="-Djava.security.manager" /> -->

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/easymock-classextension/easymock-classextension-3.2.ebuild,v 1.1 2013/09/10 17:56:15 ercpe Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-java/easymock-classextension/easymock-classextension-3.2-r1.ebuild,v 1.1 2013/09/11 16:28:39 ercpe Exp $
EAPI="5"
@ -19,11 +19,6 @@ SLOT="3.2"
KEYWORDS="~amd64 ~x86"
IUSE=""
ACOMMON_DEPEND="
dev-java/junit
dev-java/objenesis
dev-java/cglib:2.2
"
CDEPEND="dev-java/easymock:${SLOT}"
DEPEND=">=virtual/jdk-1.5
app-arch/unzip

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/easymock/easymock-3.2.ebuild,v 1.1 2013/09/10 17:53:33 ercpe Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-java/easymock/easymock-3.2-r1.ebuild,v 1.1 2013/09/11 16:26:16 ercpe Exp $
EAPI="5"
@ -18,13 +18,12 @@ KEYWORDS="~amd64 ~x86"
IUSE=""
COMMON_DEPEND="
dev-java/junit
dev-java/objenesis
dev-java/junit:4
dev-java/objenesis:0
dev-java/cglib:2.2
"
DEPEND=">=virtual/jdk-1.5
dev-java/junit:4
app-arch/unzip
${COMMON_DEPEND}"

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/hamcrest-library/hamcrest-library-1.3.ebuild,v 1.1 2013/09/10 17:26:05 ercpe Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-java/hamcrest-library/hamcrest-library-1.3-r1.ebuild,v 1.1 2013/09/11 16:22:37 ercpe Exp $
EAPI="5"
@ -21,8 +21,8 @@ SLOT="${PV}"
KEYWORDS="~amd64 ~x86"
CDEPEND="
~dev-java/hamcrest-generator-${PV}
~dev-java/hamcrest-core-${PV}
dev-java/hamcrest-generator:${SLOT}
dev-java/hamcrest-core:${SLOT}
dev-java/qdox:1.12
"
DEPEND=">=virtual/jdk-1.5

@ -0,0 +1 @@
DIST minlog-1.2.zip 19766 SHA256 cd4d58a97085acc4c3cb4d455584eb4463483d7df822d517f9b3af005e13ca22 SHA512 79c341288fc4c18ceb307011b3591e239d00a356fc78379449bbcc4d93b0355665a4425dd31a23d83c79eeebf19a591b9d3fb34d6107a4a503125dc683b4519c WHIRLPOOL e42c5c61eba879857189855f9e1ee1d3326588d701d67c7c41453e2dda2083adc192f3e6bfdb8a1be45cbd1a53438dc44e4f2356aac0b7f2c3bc178dfb1717bd

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>java</herd>
<upstream>
<remote-id type="google-code">minlog</remote-id>
</upstream>
</pkgmetadata>

@ -0,0 +1,25 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/minlog/minlog-1.2.ebuild,v 1.1 2013/09/11 17:33:34 ercpe Exp $
EAPI="5"
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="Minimal overhead Java logging"
HOMEPAGE="https://code.google.com/p/minlog/"
SRC_URI="https://${PN}.googlecode.com/files/${P}.zip"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="${CDEPEND}
>=virtual/jdk-1.5"
RDEPEND="${CDEPEND}
>=virtual/jre-1.5"
S="${WORKDIR}/${PN}"

@ -1,5 +1,6 @@
DIST UnlimitedJCEPolicyJDK7.zip 7426 SHA256 7a8d790e7bd9c2f82a83baddfae765797a4a56ea603c9150c87b7cdb7800194d SHA512 02eca7da8f3fffea388431d5352290535a63d53a1f5c795d6511ccba62445787a0ee6ad4bc1852e5262860b6d607ba2a8c6a3dbb0c3e1d7c3a67ac7bbc783204 WHIRLPOOL 02460c7ca54f5f62c3f349addf8e2a101f7a56987e9f62365fac3f703b0c93ac5de4d55697a3d04f78b547b072e0acc95a0720d2ce3b429d2fd5936d50edd1ac
DIST javafx_samples-2_2_25-linux.zip 20405501 SHA256 952c4c7d016d429319801871095e2d1918604b70076a6766ce5b87bfd8e672e6 SHA512 01eeea9c5c924a2e7bb16e3388584f86d749b1bf4c8fc2a22ec6fef2236108e2255dac145a0554a9d7f7156b900ba6b171dd1871865bbc34f3a480822a2dd10a WHIRLPOOL 248145b1e28018fc59f2d08a79cd773d1a178365874d2fc4a4801ca7e6b8f8c1daeb95f90b7d926e5ab2931c89a0fadea7aaec495e19351911b3e4ab101615fd
DIST javafx_samples-2_2_40-linux.zip 21220898 SHA256 95a35da4036d39ffbc1c97ee8c1f5823ad84bcf58cc08ca147935158973d0773 SHA512 52fd60df51e8b882ac1aa62cd9e2339146512e2b2483d56fdcc25de1f1adbd35f3e2f6054c3380826698f78a7c4ea69e38f8747507a1b174ef5fd909c97521a9 WHIRLPOOL a9fea00a50114c14226dde2347c03435f4a0b8e458576a9c6fc5fc26af87252b281208dcb697a97d511508ac89b7891628e2042b8433c17c956503f8739cde72
DIST jdk-7u25-linux-arm-sfp-demos.tar.gz 8493192 SHA256 f1bc88d1e4330770893428e33e96c37229313d2e39c400337e157db785f4d48e SHA512 48c4e27dd065873d6e19efa32108da14414e706615dec29317e8fefad2c7d0d93af1bb107260ba25a1745d615b1006af3843c247cf76d2746eef551dd0856749 WHIRLPOOL 97be631ee9483da1ea4a2166b529a7de12d7bbf6a825faa095070be7bd0d54ec3cbd389bc32166f1b85f6c0e7b5dd6b79d5d37a34a95550d9d53c640eac42e4a
DIST jdk-7u25-linux-arm-sfp.tar.gz 68284011 SHA256 94509d4106012ae2445c496a3449952e636a48a4729f149e9c182756597d1c00 SHA512 4bb5f281c6eafaac08053128401e3c64f9b084c44a9d5b8389e294b9a3141f76b1ab353e5a38b292f2c5f8269242eba3283151f92ba6c2015db6fb1985f8bba5 WHIRLPOOL 72ece2e4c4204d3709693ba46b771cde2643392950019a2634e7ad8585177d1633cb74b4f7f46c87492b81bc9f265d339a7356a7c66dc3772211fa4e85a46158
DIST jdk-7u25-linux-i586-demos.tar.gz 14762641 SHA256 b6d9a86acb272a32c68c03f885e6b2cc4cc43e7be36d709e0adc4c5856ad835a SHA512 d3eef7dd3de2f348fb6808694f718ba75b2b80a22a491ca9c3cffa722c43e83383ee2e15188c1a7a8d9a2cab4defbfdc761be877eab642c308896254eaf12959 WHIRLPOOL f1b9b42fa616d4d082af339b98a4e0d9810e64def44878438a1c5366a10c3a628739a08f80aba2b685eeecf915511739242d0d5c3dfc3b1f429197afc0eafb74
@ -14,3 +15,19 @@ DIST jdk-7u25-solaris-sparcv9-demos.tar.gz 903835 SHA256 81a474d06d2f1e638d037c3
DIST jdk-7u25-solaris-sparcv9.tar.gz 18529544 SHA256 4a6a761ec6d21ee5891f7b34cf1b6450c97b1e6c489473785caa3e54b11face3 SHA512 c9772c616ae74a7f521612f68dffdb0e91d8b1901958d66e1191713f20bbd5c874f8c9e1e250546c82ac3dc196c9ecfd1ee6a254724886ca4018571acacb1fb7 WHIRLPOOL 03d51604429d0aa1a4294284cb30c315d3ad37aaba8552a979102487410fcabbad5498e10c58979e681d24612dec29922b8d19b6056f8618aeae1b2a6c5a5c6d
DIST jdk-7u25-solaris-x64-demos.tar.gz 864208 SHA256 7d892aab6c3b790487823501752c163b3daec52a2306bd82ce6021b68b034eda SHA512 45e87988852f26113ebcb9cd814f159a502621196b143e22f60dc6e48d5499d62f3232f0c470644037efd31a5713667757e5a56fcf6c477e14edc1f7471a81c5 WHIRLPOOL f568e9d7d49239019e55a089af7496872a55a80faefe173cd431dfc427fdc9a7a76c3a94f0ed666aa154ade3334589cf35dae574a949bc8a0015be8e3b1b04cd
DIST jdk-7u25-solaris-x64.tar.gz 15822924 SHA256 2644c8c3662bacadc68978f18faa5b35295ae4aaeaf56a89e90133cc4da61d1c SHA512 86f8a1ab556f5b09daabec7788bba67014433e2b187ac2f97ab1147c6f0aa0635d5b4ef8cdd1e8f8dcaaf7d0b7284425242c161f38defd21883c2ae5def70daf WHIRLPOOL bbb3fe95333e8e1af530cd8e1c7a1343127f77ac347777b8fb46a3fdbdceed6a32879a2ce1c3024193fe0f7dedf95fd997b3e67d1bcc11f4c71dff2b392eb54f
DIST jdk-7u40-linux-arm-vfp-hflt-demos.tar.gz 10373057 SHA256 ef9378fd190a937a871becd4d885cf899fb8e8b3856a67c335238a817a4078a1 SHA512 c2d2489beb0ecc9837b83cc315c6f99f772f7aa1d1e8b7dd624f04881d53d63dbb5276c1f92c3b630ad940dc94fc8121d3d6a823d8c31011453050d6facf9902 WHIRLPOOL 1bf475acc29f1fa131ffa01939b045368e62329f672b01bc5fcf6ad8eb880522feecb0486376db70b3e1621e95f349792265d9083242d64af2764028f4b15191
DIST jdk-7u40-linux-arm-vfp-hflt.tar.gz 70909108 SHA256 d19d8a3e60768ff51c4b0e9c9427093233562ed6e86d3148673b79553efda4d2 SHA512 ba4fb6360fbfbb5bb0a2e89137a33792f2a36ebb17ae662f8ac984669a3ffcdb4f2305a748339b8810fd89b008033262132c14b86e540fc068b8a44e6e6da25f WHIRLPOOL 60ac320341cb9df278930e44fb9350279f0e28542686400cddd5793bfb103ee8bb24f59d550e66f64a0a5ec986a5a75fc4686f7fe8994a157944cae48fd10d8b
DIST jdk-7u40-linux-arm-vfp-sflt-demos.tar.gz 10203198 SHA256 51e32ec094b8a7925533be63b95cf1fa7b6adccbc627c6bfce459643fb3b77a0 SHA512 dcfe64c52201eb4829284bbfada02fc8ef0a16a25f1f32f818e978014afb90d98fcc26fd696a0050ef689596a349cd0e80674f706093ac90e5edb4ee8f22531e WHIRLPOOL 4bf34b43e365478e11c5cacbfdb7b7d3a5a8482dec851c555ea9ddb41bfdd6480d67146fe2866002dae5a7e8b6cb4d36e21861eeeac77c673b1ba6c6ecee9913
DIST jdk-7u40-linux-arm-vfp-sflt.tar.gz 70907994 SHA256 bcc618f995bf4d1c34a9621158adbf5e92b43e2c4b83ed9d61617ca0526942e9 SHA512 5159627c696222368979e12d2a1cf294d012831923ae371969d4eb752fcc697e5c1e2891b5bb665ccc77805ff64aa7543f78a29e94236aa495fd79766398fdd6 WHIRLPOOL b690cedb796c214a9eb4d3f37ee971d48bad1007450c6ba4b4d3357ac57f26e9de021ea593d1b5f89554eba456ae3608795d9c5dd6e86101f42f5c7bc5919f24
DIST jdk-7u40-linux-i586-demos.tar.gz 17364351 SHA256 1d5a844159b57855fa6855ce8c5cfa0ff517697fe4cbe4a9db9ec0074397608a SHA512 adcac9078050217fd79f89bf75f2c64f45a9d613730a37e79ad04497fc95dbe391c9da952b5b317c6757425d0a14d84d11f153147673cee451ba2823c53a33e4 WHIRLPOOL 852f08868c0cb799d6227a127a1c89f5f4afd245c157395bc5688e1f7acf27477d3fde6d895f7a31f06a8cb65617b115f073c6e880608c5b6abc178e65feb6cb
DIST jdk-7u40-linux-i586.tar.gz 139278165 SHA256 3a70b0c41cdf089d423c28336495c3e205f4fcb34f538dd82b80044eba670e8b SHA512 9737ef588d3fc99c70074eb760d0a8e545f4d9069860f3b14c192dd3f07b7c5bd36367f00138fdd8d59d31c8a6e914284aa77f1fe924f3d676ad6148b8b2bbe8 WHIRLPOOL fb484e9e338e4cc94a68615eabbc842cf2301ca6733bd44dd12df30048566d6614f036ddf0e86050425960da0a912d57437496a876d271b227f2f046a8ccd408
DIST jdk-7u40-linux-x64-demos.tar.gz 17433351 SHA256 c07057339325b76ec5f449492c7f9cd0bb7a7283ad7f9c2fdafff6b3d2938f19 SHA512 cd492bc56536aab8c80c3c4e79db53d028082d7638227b5141f407f2c4633b0645b929f63f321491e194b15395cb8a12ee10ac6a9ed3e3d54fdd19d92abf02de WHIRLPOOL 842e6e06fb9c0f8482e67ce1b152bab94e6350987fe775a3acc5118f7ff88696ff84c164e60ed130726fb2a1e46475c10408c3771ac2b745e885e964ea68ed29
DIST jdk-7u40-linux-x64.tar.gz 138021223 SHA256 72f6e010592cad5e994276eee7db5f0b0d7c15c06949bd81f0e14811048bcf2c SHA512 4d6144892a542f1ec8e60341195771eb9a5c9153e5ea7cd1f3281479349db54fe48d8e5fc0931f4a4489d4c049dd7edc93204bcf775f62eae27c6da1c5fc0db4 WHIRLPOOL 008e427748e0fdfc498a4714f1e80996d59d5ec694132a56fe6e42e9b1c324e5ec5c1cbdd32bcafff53f136ed95e9101d3c5d487c193b2348253a03ae0bcf234
DIST jdk-7u40-solaris-i586-demos.tar.gz 16775447 SHA256 ca776da248987143bbf39617c724a5cc73c6ee07e565f411a29a73bf7d825926 SHA512 9d553fd5008e7eb8c1cf3283084b08d97772a69a34daa2377b06e9e6f28bec71dc9825ff6e3ba4b47e61e8739dfc7489f8568d660590648919d0906b1901b627 WHIRLPOOL 8ea4cca2b75b85366b9fd0b29e558638d4ef5d4f0884e95c46e35c09f2b439ff46807ab7a826f3710d2d53c3f94dffc1bcb8e313118a19a8b4db5de95a5dff00
DIST jdk-7u40-solaris-i586.tar.gz 99916137 SHA256 24ef9d2b7cfad3ff38c68211c7d8bbfe106bdc41bdb26ae3a74d1b65197ee041 SHA512 dfd78dc541462399e240e6efb5a7e1482d1b159f62ff7c1394fafc9ea56ce1c63ec51bb10bdfd8cec46c43080b6ee8c302fc3e40f2fb29ef660811a4722eb279 WHIRLPOOL d003314bc8254c19d75b8ab4fa4d4abe4367d9d564371063987935585818f51583c518fd258b93a61cfd8d5f13f4f13d27ee0ca745a84acd97b0c49993c63191
DIST jdk-7u40-solaris-sparc-demos.tar.gz 16774323 SHA256 4ef78890ea632e81a449017166fcc8253b63debb7d0bbcece2d7e2dac5785c94 SHA512 3b3a2ae6048e5b74bba293638a1282474fa594bd1357671e00b5e8e270b9f5234ab63975c2ea3c0303f1aa37b1cf06d9589c76e1fa73c29789cf9bd37f471b49 WHIRLPOOL 693ec37b0fcfa2e361d3d24e9c5f6cee562566e471c48874bde56707e239ea2440ef37b51ed2836b7740eafde749ffa2a8633faf287da8aae971e6c445afc71b
DIST jdk-7u40-solaris-sparc.tar.gz 102831956 SHA256 ada77dc4e42bd1ac71db8d9d0122798690dab39ceff8b5b9abc763a1cb745a48 SHA512 0c7f8bc7e760806e14c41f6b7af42a2504950f0952b5947d228f83da8fc58709de7a04285ae0cdfa73ee879d37046321e5a2cb79bb234a1fc901928ff436b175 WHIRLPOOL b0b9437d99e632aa5801db4d2436658dfba5760bacb7feacd783ed635c5f3b19b1570183edc7fded10b21d658e7d6674d989dd1747c0d1506d4fd750d4887bcc
DIST jdk-7u40-solaris-sparcv9-demos.tar.gz 904618 SHA256 993ccd95b07ca0bb06a138fb41f1a087b7b284ab0f644439d0e882bbd854b927 SHA512 636ab0e55ed61ff2da844f8d076b00ce9cd97204645a7a3ddda13bf47a972e377031b182d9352e063417323bfa26c6f99c4877628fc8a06a3b016863fe198c1e WHIRLPOOL 9d6a710554e04b184002c11461dfce13bd2fcf46dc6dc915056aa954034432c7dd149bb215b41e3842ff0bd2c58b005fb95b84cfeda5a92e7840700b23d222e0
DIST jdk-7u40-solaris-sparcv9.tar.gz 19066335 SHA256 147d1dfc2b8283cff491741e4cfbb5e31e874c52fb7b798e777f79a2a5ad529d SHA512 03dffef82ac30b71e513774632cad2ffd8f45b977c049bf36eb5773d71d045f03d2808bd2fc8a7e0ff1e840635511f4ce35b09288e98795d816c7693dc4585e4 WHIRLPOOL 2e3364c04fdb1154e931a0456cd87a649a6a45c54116f465935059e6f477231210ef722a0d6a1256fbce36e727b5917eeeb3aa307d8f19cb774e12a30a118666
DIST jdk-7u40-solaris-x64-demos.tar.gz 864605 SHA256 e6c054908d3f635debc4b359bdd0562e44f480f8b5d25f56dd1f942d1c5af390 SHA512 25b0d2274db299b5c13293c57827407f82ce1c19f2ca1539d037308b10f426269c957e1e00eca4c4385922ba3b1c8af44db4637d039a3f1a2487304d36a9a221 WHIRLPOOL 1f5930a331e2bb0c3d5d4e1285fc3f03c0af6cb154d97fa49d3a7ef1d69eef245fbed3ce1f870e04c8afd0f7fd02f9db28dd8753fb190872ee7d39ee4f4dc0c1
DIST jdk-7u40-solaris-x64.tar.gz 16952414 SHA256 70d058c2e80a428d2c869cdfe3ffab868c187d7f3798754f180cce38dd852eb4 SHA512 62e9f469ae3c6c06847e4f56a5c3b0675ce103aaca07417e88fb5bbd54c63f3bc3b9c68f2ceb609c45719ef27d477efb4cb5edf0bf713d3559e574d3645a2d9c WHIRLPOOL 7952c069b1c6d2868aa8a5d4ce84aa2cdf69aaecc7dab23b19fa2d97c7d3438df8bee5a9d5e73855bfba85b36fec3121843e5ec7ed4872c2c2c2b686f914c15c

@ -0,0 +1,257 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.7.0.40.ebuild,v 1.1 2013/09/11 15:27:36 tomwij Exp $
EAPI="5"
inherit eutils java-vm-2 prefix versionator
# This URIs need to be updated when bumping!
JDK_URI="http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html"
JCE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html"
# This is a list of archs supported by this update.
# Currently arm comes and goes.
AT_AVAILABLE=( amd64 arm x86 x64-solaris x86-solaris sparc-solaris sparc64-solaris )
# Sometimes some or all of the demos are missing, this is to not have to rewrite half
# the ebuild when it happens.
DEMOS_AVAILABLE=( amd64 arm x86 x64-solaris x86-solaris sparc-solaris sparc64-solaris )
FX_VERSION="2_2_40"
MY_PV="$(get_version_component_range 2)u$(get_version_component_range 4)"
S_PV="$(replace_version_separator 3 '_')"
AT_x86="jdk-${MY_PV}-linux-i586.tar.gz"
AT_amd64="jdk-${MY_PV}-linux-x64.tar.gz"
AT_arm="jdk-${MY_PV}-linux-arm-vfp-sflt.tar.gz jdk-${MY_PV}-linux-arm-vfp-hflt.tar.gz"
AT_x86_solaris="jdk-${MY_PV}-solaris-i586.tar.gz"
AT_x64_solaris="${AT_x86_solaris} jdk-${MY_PV}-solaris-x64.tar.gz"
AT_sparc_solaris="jdk-${MY_PV}-solaris-sparc.tar.gz"
AT_sparc64_solaris="${AT_sparc_solaris} jdk-${MY_PV}-solaris-sparcv9.tar.gz"
FXDEMOS_linux="javafx_samples-${FX_VERSION}-linux.zip"
DEMOS_x86="${FXDEMOS_linux} jdk-${MY_PV}-linux-i586-demos.tar.gz"
DEMOS_amd64="${FXDEMOS_linux} jdk-${MY_PV}-linux-x64-demos.tar.gz"
DEMOS_arm="${FXDEMOS_linux} jdk-${MY_PV}-linux-arm-vfp-sflt-demos.tar.gz jdk-${MY_PV}-linux-arm-vfp-hflt-demos.tar.gz"
DEMOS_x86_solaris="jdk-${MY_PV}-solaris-i586-demos.tar.gz"
DEMOS_x64_solaris="${DEMOS_x86_solaris} jdk-${MY_PV}-solaris-x64-demos.tar.gz"
DEMOS_sparc_solaris="jdk-${MY_PV}-solaris-sparc-demos.tar.gz"
DEMOS_sparc64_solaris="${DEMOS_sparc_solaris} jdk-${MY_PV}-solaris-sparcv9-demos.tar.gz"
JCE_DIR="UnlimitedJCEPolicy"
JCE_FILE="${JCE_DIR}JDK7.zip"
DESCRIPTION="Oracle's Java SE Development Kit"
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/"
for d in "${AT_AVAILABLE[@]}"; do
SRC_URI+=" ${d}? ("
SRC_URI+=" $(eval "echo \${$(echo AT_${d/-/_})}")"
if has ${d} "${DEMOS_AVAILABLE[@]}"; then
SRC_URI+=" examples? ( $(eval "echo \${$(echo DEMOS_${d/-/_})}") )"
fi
SRC_URI+=" )"
done
unset d
SRC_URI+=" jce? ( ${JCE_FILE} )"
LICENSE="Oracle-BCLA-JavaSE examples? ( BSD )"
SLOT="1.7"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="+X alsa derby doc examples +fontconfig jce nsplugin pax_kernel source"
RESTRICT="fetch strip"
QA_PREBUILT="*"
RDEPEND="
X? (
x11-libs/libX11
x11-libs/libXext
x11-libs/libXi
x11-libs/libXrender
x11-libs/libXtst
)
alsa? ( media-libs/alsa-lib )
doc? ( dev-java/java-sdk-docs:1.7 )
fontconfig? ( media-libs/fontconfig )
!prefix? ( sys-libs/glibc )"
# scanelf won't create a PaX header, so depend on paxctl to avoid fallback
# marking. #427642
DEPEND="
jce? ( app-arch/unzip )
examples? ( kernel_linux? ( app-arch/unzip ) )
pax_kernel? ( sys-apps/paxctl )"
S="${WORKDIR}"/jdk${S_PV}
check_tarballs_available() {
local uri=$1; shift
local dl= unavailable=
for dl in "${@}"; do
[[ ! -f "${DISTDIR}/${dl}" ]] && unavailable+=" ${dl}"
done
if [[ -n "${unavailable}" ]]; then
if [[ -z ${_check_tarballs_available_once} ]]; then
einfo
einfo "Oracle requires you to download the needed files manually after"
einfo "accepting their license through a javascript capable web browser."
einfo
_check_tarballs_available_once=1
fi
einfo "Download the following files:"
for dl in ${unavailable}; do
einfo " ${dl}"
done
einfo "at '${uri}'"
einfo "and move them to '${DISTDIR}'"
einfo
fi
}
pkg_nofetch() {
local distfiles=( $(eval "echo \${$(echo AT_${ARCH/-/_})}") )
if use examples && has ${ARCH} "${DEMOS_AVAILABLE[@]}"; then
distfiles+=( $(eval "echo \${$(echo DEMOS_${ARCH/-/_})}") )
fi
check_tarballs_available "${JDK_URI}" "${distfiles[@]}"
use jce && check_tarballs_available "${JCE_URI}" "${JCE_FILE}"
}
src_unpack() {
# Special case for ARM soft VS hard float.
if use arm ; then
if [[ ${CHOST} == *-hardfloat-* ]] ; then
unpack jdk-${MY_PV}-linux-arm-vfp-hflt.tar.gz
use examples && unpack jdk-${MY_PV}-linux-arm-vfp-hflt-demos.tar.gz
else
unpack jdk-${MY_PV}-linux-arm-vfp-sflt.tar.gz
use examples && unpack jdk-${MY_PV}-linux-arm-vfp-sflt-demos.tar.gz
fi
use examples && unpack javafx_samples-${FX_VERSION}-linux.zip
use jce && unpack ${JCE_FILE}
else
default
fi
}
src_prepare() {
if use jce; then
mv "${WORKDIR}"/${JCE_DIR} "${S}"/jre/lib/security/ || die
fi
}
src_compile() {
# This needs to be done before CDS - #215225
java-vm_set-pax-markings "${S}"
# see bug #207282
einfo "Creating the Class Data Sharing archives"
case ${ARCH} in
arm|ia64)
bin/java -client -Xshare:dump || die
;;
x86)
bin/java -client -Xshare:dump || die
bin/java -server -Xshare:dump || die
;;
*)
bin/java -server -Xshare:dump || die
;;
esac
# Create files used as storage for system preferences.
mkdir jre/.systemPrefs || die
touch jre/.systemPrefs/.system.lock || die
touch jre/.systemPrefs/.systemRootModFile || die
}
src_install() {
local dest="/opt/${P}"
local ddest="${ED}${dest}"
# We should not need the ancient plugin for Firefox 2 anymore, plus it has
# writable executable segments
if use x86; then
rm -vf {,jre/}lib/i386/libjavaplugin_oji.so \
{,jre/}lib/i386/libjavaplugin_nscp*.so
rm -vrf jre/plugin/i386
fi
# Without nsplugin flag, also remove the new plugin
local arch=${ARCH};
use x86 && arch=i386;
if ! use nsplugin; then
rm -vf {,jre/}lib/${arch}/libnpjp2.so \
{,jre/}lib/${arch}/libjavaplugin_jni.so
fi
dodoc COPYRIGHT
dohtml README.html
dodir "${dest}"
cp -pPR bin include jre lib man "${ddest}" || die
if use derby; then
cp -pPR db "${ddest}" || die
fi
if use examples && has ${ARCH} "${DEMOS_AVAILABLE[@]}"; then
cp -pPR demo sample "${ddest}" || die
if use kernel_linux; then
cp -pPR "${WORKDIR}"/javafx-samples-${FX_VERSION//_/.} \
"${ddest}"/javafx-samples || die
fi
fi
if use jce; then
dodir "${dest}"/jre/lib/security/strong-jce
mv "${ddest}"/jre/lib/security/US_export_policy.jar \
"${ddest}"/jre/lib/security/strong-jce || die
mv "${ddest}"/jre/lib/security/local_policy.jar \
"${ddest}"/jre/lib/security/strong-jce || die
dosym "${dest}"/jre/lib/security/${JCE_DIR}/US_export_policy.jar \
"${dest}"/jre/lib/security/US_export_policy.jar
dosym "${dest}"/jre/lib/security/${JCE_DIR}/local_policy.jar \
"${dest}"/jre/lib/security/local_policy.jar
fi
if use nsplugin; then
install_mozilla_plugin "${dest}"/jre/lib/${arch}/libnpjp2.so
fi
if use source; then
cp src.zip "${ddest}" || die
fi
# Install desktop file for the Java Control Panel.
# Using ${PN}-${SLOT} to prevent file collision with jre and or other slots.
# make_desktop_entry can't be used as ${P} would end up in filename.
newicon jre/lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png \
sun-jcontrol-${PN}-${SLOT}.png || die
sed -e "s#Name=.*#Name=Java Control Panel for Oracle JDK ${SLOT}#" \
-e "s#Exec=.*#Exec=/opt/${P}/jre/bin/jcontrol#" \
-e "s#Icon=.*#Icon=sun-jcontrol-${PN}-${SLOT}#" \
-e "s#Application;##" \
-e "/Encoding/d" \
jre/lib/desktop/applications/sun_java.desktop \
> "${T}"/jcontrol-${PN}-${SLOT}.desktop || die
domenu "${T}"/jcontrol-${PN}-${SLOT}.desktop
# Prune all fontconfig files so libfontconfig will be used and only install
# a Gentoo specific one if fontconfig is disabled.
# http://docs.oracle.com/javase/7/docs/technotes/guides/intl/fontconfig.html
rm "${ddest}"/jre/lib/fontconfig.*
if ! use fontconfig; then
cp "${FILESDIR}"/fontconfig.Gentoo.properties "${T}"/fontconfig.properties || die
eprefixify "${T}"/fontconfig.properties
insinto "${dest}"/jre/lib/
doins "${T}"/fontconfig.properties
fi
# Remove empty dirs we might have copied
find "${D}" -type d -empty -exec rmdir -v {} + || die
set_java_env
java-vm_revdep-mask
java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
}

@ -0,0 +1 @@
DIST reflectasm-1.05.zip 490426 SHA256 758ae79e429c18523eab1dbef3dcdbb2caf401a7b984251d949dbd1488a959c1 SHA512 256632ad1049394d021919784554b9bdf353a329fb32566922978a35a4345bad73f67aa27b3e459facc1f6e2309c0afb2fea2b1e73050bcdee2a5a47c275f9f5 WHIRLPOOL 852348adc18918c51da323e7a1ddffea97fbbbd2ceeb2b5abeebe763e8dbfbce76413e74829601f01c3895641ac35b234df2e849ab2b9b88998d2f2147369f83

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>java</herd>
<upstream>
<remote-id type="google-code">reflectasm</remote-id>
</upstream>
</pkgmetadata>

@ -0,0 +1,46 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/reflectasm/reflectasm-1.05.ebuild,v 1.1 2013/09/11 17:37:01 ercpe Exp $
EAPI="5"
JAVA_PKG_IUSE="doc source test"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="High performance Java reflection"
HOMEPAGE="https://code.google.com/p/reflectasm/"
SRC_URI="https://${PN}.googlecode.com/files/${P}.zip"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
CDEPEND="dev-java/asm:3"
DEPEND="${CDEPEND}
test? ( dev-java/junit:4 )
>=virtual/jdk-1.5"
RDEPEND="${CDEPEND}
>=virtual/jre-1.5"
S="${WORKDIR}/${P}/java"
JAVA_GENTOO_CLASSPATH="asm-3"
JAVA_SRC_DIR="${S}/src"
src_prepare() {
rm "${S}"/pom.xml || die
}
src_test() {
mkdir target/tests || die
testcp="$(java-pkg_getjars ${JAVA_GENTOO_CLASSPATH},junit-4):target/tests:${PN}.jar"
ejavac -cp "${testcp}" -d target/tests $(find test/ -name "*.java")
tests=$(find target/tests -name "*Test.class" \
| sed -e 's/target\/tests\///g' -e "s/\.class//" -e "s/\//./g" \
| grep -vP '\$');
ejunit4 -cp "${testcp}" ${tests}
}

@ -1,3 +1 @@
DIST btparser-0.17.tar.xz 309636 SHA256 3747087f15d56c08af6e3cafe6bd1b5f2eb8c1fa05ad5346c4730fe1bc07447d SHA512 fd1599032a4e00450a0038e1f8851caea625cc5d178ed241fd14c123a69437601a7bfe792b8b2cd45881f67d6d60817ad7ed8fb43e940809983b32c049bdad4e WHIRLPOOL 5d2d697f63cb4444157436808a01c3a3a224d92915ef4d8aff43efca7c62f557496dd92a3cecfc5fd581e48318152b66fa99873c11f90a67b6d240a2ac54c293
DIST btparser-0.19.tar.xz 343252 SHA256 1e25c9409c6a40cf186c5c1d965a80ba73d09326c26e712695c6c4f1733b8e49 SHA512 2aa12c56ad9924f2220f0988e545f13ed36e5833cef93b414a92cbdec31304a879e67347129d931f402387f76389ad7fd09817209bd3fbb286991947a5b816d6 WHIRLPOOL af60fe95ad5bd64272fcc2a5506df4744b62708a2a072f592c3f8cdb7a01a9151b4c5be4e554658bd6cbd649a769f1f7ecf51cf1f5f13f0998da75a8fb70fd79
DIST btparser-0.24.tar.xz 353700 SHA256 9cc1e172c864afb6dec45850ed7b2fa605d39013918027df81800899ea654e32 SHA512 3aee4a8cbc8cda7017cc7203b670ba30443b5f302d728ecb7ce06a9569367543669c9c02d10a71b2bbf0bbc65cb927c0e25a53a422fc3be5e4a2ee51e5495198 WHIRLPOOL a5feb168f9ab2d4442c37ba388c0ed4708781ab2e6becc89ea20ac2601a698600e47721c0818aad8e4df93888cfadfdec68aace0f659985d95cecb31cdb01b8f

@ -1,54 +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/btparser/btparser-0.17.ebuild,v 1.3 2012/10/04 14:47:35 ago Exp $
EAPI="4"
PYTHON_DEPEND="2:2.6"
inherit python
DESCRIPTION="Parser and analyzer for backtraces produced by gdb"
HOMEPAGE="https://fedorahosted.org/btparser/"
SRC_URI="https://fedorahosted.org/released/${PN}/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="static-libs"
RDEPEND=""
DEPEND="${RDEPEND}
app-arch/xz-utils"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
python_clean_py-compile_files
}
src_configure() {
# Configure checks for python.pc; our python-2.7 installs python-2.7.pc,
# while python-2.6 does not install any pkgconfig file.
export PYTHON_CFLAGS=$(python-config --includes)
export PYTHON_LIBS=$(python-config --libs)
econf \
$(use_enable static-libs static) \
--disable-maintainer-mode
}
src_install() {
default
find "${D}" -name '*.la' -exec rm -f {} +
}
pkg_postinst() {
python_mod_optimize btparser
}
pkg_postrm() {
python_mod_cleanup btparser
}

@ -1,54 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/btparser/btparser-0.19.ebuild,v 1.3 2013/03/25 16:19:29 ago Exp $
EAPI="4"
PYTHON_DEPEND="2:2.6"
inherit python
DESCRIPTION="Parser and analyzer for backtraces produced by gdb"
HOMEPAGE="https://fedorahosted.org/btparser/"
SRC_URI="https://fedorahosted.org/released/${PN}/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="static-libs"
RDEPEND=">=dev-libs/glib-2.21:2"
DEPEND="${RDEPEND}
app-arch/xz-utils"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
python_clean_py-compile_files
}
src_configure() {
# Configure checks for python.pc; our python-2.7 installs python-2.7.pc,
# while python-2.6 does not install any pkgconfig file.
export PYTHON_CFLAGS=$(python-config --includes)
export PYTHON_LIBS=$(python-config --libs)
econf \
$(use_enable static-libs static) \
--disable-maintainer-mode
}
src_install() {
default
find "${D}" -name '*.la' -exec rm -f {} +
}
pkg_postinst() {
python_mod_optimize btparser
}
pkg_postrm() {
python_mod_cleanup btparser
}

@ -1,2 +1 @@
DIST libreport-2.0.10.tar.gz 1204194 SHA256 ab8f2bb2eeb93719b6a946b8a810527cec653815fd59c3fb03efca88e6e80408 SHA512 f9eca6aacb28c856e5bc109545dbd371baf57de4f2431b988dfce0d9d1a1e38269a056a924453bbfaed7c80890ddddbddca086754385a7397e23b6d1b8a17702 WHIRLPOOL 2429cd98c9d897a953956d92a9680fd65ccaf79f89da84c0862356c11acf318a50b41a674ac4de07e020836a2e4efcd38f1d949e2136a2abb854324a2c9a2a5a
DIST libreport-2.0.13.tar.gz 1190147 SHA256 4a0609abe80b9432ae81c5a512680a7035b547cd1fef29c63c730d92c1be8b05 SHA512 cfe963db8091b245f8ceb7d8501466f4f9464c28d298faeafc9f6e57deafdfdc6501d468bf5ffd83703adb67bc1e05e06c56b5c0e0028bb2e0134788ddbb2181 WHIRLPOOL 647da27bf88cf77dbb25ace9f446dfe9a875370c27fef05999843dcee1f653ba07af44d4e5a36107dbf69f0241f1f66d3a6a58ae7897faca7b049d2b1aa00301

@ -0,0 +1,51 @@
From 438344fe7ce2edbd23f4df2dfd8e7b6be0a2d7c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
Date: Wed, 11 Sep 2013 11:10:32 +0200
Subject: [PATCH] Use proper json-c requirement in libreport-web.pc.
Depending on whether json-c was found as 'json' or 'json-c', require the
same package in the generated .pc file.
[Alexandre Rostovtsev <tetromino@gentoo.org>: backport to 2.0.13]
---
configure.ac | 9 +++++++--
libreport-web.pc.in | 2 +-
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 1e32c64..ace4cde 100644
--- a/configure.ac
+++ b/configure.ac
@@ -102,9 +102,14 @@ PKG_CHECK_MODULES([DBUS], [dbus-1])
PKG_CHECK_MODULES([LIBXML], [libxml-2.0])
PKG_CHECK_MODULES([NSS], [nss])
PKG_CHECK_MODULES([CURL], [libcurl])
-PKG_CHECK_MODULES([JSON_C], [json],,[
- PKG_CHECK_MODULES([JSON_C], [json-c])
+PKG_CHECK_MODULES([JSON_C], [json], [
+ JSON_C_PACKAGE=json
+], [
+ PKG_CHECK_MODULES([JSON_C], [json-c], [
+ JSON_C_PACKAGE=json-c
+ ])
])
+AC_SUBST([JSON_C_PACKAGE])
PKG_CHECK_MODULES([BTPARSER], [btparser])
PKG_CHECK_MODULES([NEWT], [libnewt])
PKG_CHECK_MODULES([PROXY], [libproxy-1.0], [
diff --git a/libreport-web.pc.in b/libreport-web.pc.in
index 14505f8..2a7c926 100644
--- a/libreport-web.pc.in
+++ b/libreport-web.pc.in
@@ -6,7 +6,7 @@ includedir=@includedir@
Name: libreport
Description: Library providing network API for libreport
Version: @VERSION@
-Requires: glib-2.0 libcurl libproxy-1.0 libxml-2.0 json btparser libreport
+Requires: glib-2.0 libcurl libproxy-1.0 libxml-2.0 @JSON_C_PACKAGE@ btparser libreport
Libs: -L${libdir} @XMLRPC_LIBS@ @XMLRPC_CLIENT_LIBS@ -lreport-web
Cflags: @XMLRPC_CFLAGS@ @XMLRPC_CLIENT_CFLAGS@
--
1.8.3.2

@ -1,252 +0,0 @@
commit 888816897cb8803c4cea94959f4df2051b046695
Author: Alexandre Rostovtsev <tetromino@gentoo.org>
Date: Tue Mar 6 23:05:32 2012 -0500
Replace RedHat and Fedora defaults with Gentoo ones
Also, make Bodhi optional like in 2.0.7 because we do not use it in Gentoo.
diff --git a/configure.ac b/configure.ac
index 851cc89..f4eba64 100644
--- a/configure.ac
+++ b/configure.ac
@@ -74,8 +74,6 @@ PKG_CHECK_MODULES([XMLRPC], [xmlrpc])
PKG_CHECK_MODULES([XMLRPC_CLIENT], [xmlrpc_client])
PKG_CHECK_MODULES([CURL], [libcurl])
PKG_CHECK_MODULES([GNOME_KEYRING], [gnome-keyring-1])
-PKG_CHECK_MODULES([JSON_C], [json])
-PKG_CHECK_MODULES([RPM], [rpm])
# Just PKG_CHECK_MODULES([PYTHON], [python]) works only with python2.7+
# Below, if python is not found, we set up for python2.6 w/o checking:
@@ -88,6 +86,22 @@ PKG_CHECK_MODULES([PROXY], [libproxy-1.0], [
AC_DEFINE([HAVE_PROXY], [1], [Use libproxy])
], [:])
+AS_IF([test "x$enable_bodhi" != "xno"], [
+ dnl Do the stuff needed for enabling the feature
+ AC_CHECK_LIB([json], [json_tokener_parse],
+ [AM_CONDITIONAL(HAVE_BODHI, true)
+ AC_DEFINE([HAVE_BODHI], [1], [have bodhi])
+ PKG_CHECK_MODULES([JSON_C], [json])
+ PKG_CHECK_MODULES([RPM], [rpm])],
+ [AM_CONDITIONAL(HAVE_BODHI, false)
+ AC_DEFINE([HAVE_BODHI], [0], [have bodhi])])
+ ],
+ [test "x$enable_bodhi" = "xno"], [
+ AM_CONDITIONAL(HAVE_BODHI, false)
+ AC_DEFINE([HAVE_BODHI], [0], [have bodhi])
+ ]
+)
+
PKG_PROG_PKG_CONFIG
AC_CHECK_HEADER([libtar.h], [],
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 70e0fb0..368be24 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -13,10 +13,8 @@ MAN1_TXT += reporter-bugzilla.txt
MAN1_TXT += reporter-kerneloops.txt
MAN1_TXT += reporter-mailx.txt
MAN1_TXT += reporter-print.txt
-MAN1_TXT += reporter-rhtsupport.txt
MAN1_TXT += reporter-upload.txt
MAN1_TXT += report.txt
-MAN1_TXT += abrt-bodhi.txt
MAN5_TXT =
MAN5_TXT += report_event.conf.txt
diff --git a/doc/reporter-bugzilla.txt b/doc/reporter-bugzilla.txt
index 94216ae..2154e7c 100644
--- a/doc/reporter-bugzilla.txt
+++ b/doc/reporter-bugzilla.txt
@@ -44,7 +44,7 @@ Configuration file lines should have 'PARAM = VALUE' format. The parameters are:
Password to Bugzilla account.
'BugzillaURL'::
- Bugzilla HTTP(S) address. (default: https://bugzilla.redhat.com)
+ Bugzilla HTTP(S) address. (default: https://bugs.gentoo.org/)
'SSLVerify'::
Use yes/true/on/1 to verify server's SSL certificate. (default: yes)
diff --git a/src/lib/dump_dir.c b/src/lib/dump_dir.c
index 374c641..ef946f2 100644
--- a/src/lib/dump_dir.c
+++ b/src/lib/dump_dir.c
@@ -494,7 +494,7 @@ void dd_create_basic_files(struct dump_dir *dd, uid_t uid)
release = load_text_file("/etc/system-release",
DD_LOAD_TEXT_RETURN_NULL_ON_FAILURE);
if (!release)
- release = load_text_file("/etc/redhat-release", /*flags:*/ 0);
+ release = load_text_file("/etc/gentoo-release", /*flags:*/ 0);
dd_save_text(dd, FILENAME_OS_RELEASE, release);
free(release);
}
diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am
index 6514ff6..3ef8ba7 100644
--- a/src/plugins/Makefile.am
+++ b/src/plugins/Makefile.am
@@ -2,13 +2,14 @@ pluginslibdir = $(PLUGINS_LIB_DIR)
bin_PROGRAMS = \
reporter-bugzilla \
- reporter-rhtsupport \
reporter-kerneloops \
reporter-upload \
reporter-mailx \
reporter-print \
- report \
- abrt-bodhi
+ report
+if HAVE_BODHI
+bin_PROGRAMS += abrt-bodhi
+endif
pluginsconfdir = $(PLUGINS_CONF_DIR)
@@ -16,7 +17,6 @@ reportpluginsconfdir = $(REPORT_PLUGINS_CONF_DIR)
dist_reportpluginsconf_DATA = \
bugzilla.conf \
- rhtsupport.conf \
mailx.conf
eventsdir = $(EVENTS_DIR)
@@ -27,7 +27,6 @@ dist_events_DATA = \
report_Logger.conf \
report_Logger.xml \
report_Mailx.xml \
- report_RHTSupport.xml \
report_Kerneloops.xml \
report_Uploader.xml
@@ -39,7 +38,6 @@ dist_eventsconf_DATA = \
mailx_event.conf \
print_event.conf \
bugzilla_event.conf \
- rhtsupport_event.conf \
uploader_event.conf
EXTRA_DIST = \
@@ -48,7 +46,6 @@ EXTRA_DIST = \
report_Logger.conf \
report_Logger.xml.in \
report_Mailx.xml.in \
- report_RHTSupport.xml.in \
report_Kerneloops.xml.in \
report_Uploader.xml.in
@@ -76,33 +73,6 @@ reporter_bugzilla_LDADD = \
../lib/libabrt_web.la \
../lib/libreport.la
-reporter_rhtsupport_SOURCES = \
- abrt_rh_support.h abrt_rh_support.c \
- reporter-rhtsupport.h \
- reporter-rhtsupport-parse.c \
- reporter-rhtsupport.c
-reporter_rhtsupport_CPPFLAGS = \
- -I$(srcdir)/../include \
- -I$(srcdir)/../lib \
- -DBIN_DIR=\"$(bindir)\" \
- -DCONF_DIR=\"$(CONF_DIR)\" \
- -DLOCALSTATEDIR='"$(localstatedir)"' \
- -DDEBUG_DUMPS_DIR=\"$(DEBUG_DUMPS_DIR)\" \
- -DDEBUG_INFO_DIR=\"$(DEBUG_INFO_DIR)\" \
- -DPLUGINS_LIB_DIR=\"$(PLUGINS_LIB_DIR)\" \
- -DPLUGINS_CONF_DIR=\"$(REPORT_PLUGINS_CONF_DIR)\" \
- $(GLIB_CFLAGS) \
- $(LIBREPORT_CFLAGS) \
- $(XMLRPC_CFLAGS) $(XMLRPC_CLIENT_CFLAGS) \
- -D_GNU_SOURCE \
- -Wall -Wwrite-strings -Werror
-reporter_rhtsupport_LDFLAGS = -ltar
-reporter_rhtsupport_LDADD = \
- $(GLIB_LIBS) \
- $(XMLRPC_LIBS) $(XMLRPC_CLIENT_LIBS) \
- ../lib/libabrt_web.la \
- ../lib/libreport.la
-
reporter_upload_SOURCES = \
reporter-upload.c
reporter_upload_CPPFLAGS = \
@@ -201,6 +171,7 @@ report_CPPFLAGS = \
report_LDADD = \
../lib/libreport.la
+if HAVE_BODHI
abrt_bodhi_SOURCES = \
abrt-bodhi.c
abrt_bodhi_CPPFLAGS = \
@@ -217,5 +188,6 @@ abrt_bodhi_LDADD = \
$(RPM_LIBS) \
../lib/libreport.la \
../lib/libabrt_web.la
+endif
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
diff --git a/src/plugins/bugzilla.conf b/src/plugins/bugzilla.conf
index 18eba5a..f5afe6f 100644
--- a/src/plugins/bugzilla.conf
+++ b/src/plugins/bugzilla.conf
@@ -1,5 +1,5 @@
# Bugzilla URL
-BugzillaURL = https://bugzilla.redhat.com/
+BugzillaURL = https://bugs.gentoo.org/
# yes means that ssl certificates will be checked
SSLVerify = yes
# your login has to exist, if you don have any, please create one
diff --git a/src/plugins/report_Bugzilla.conf b/src/plugins/report_Bugzilla.conf
index f1a77f5..bb2e651 100644
--- a/src/plugins/report_Bugzilla.conf
+++ b/src/plugins/report_Bugzilla.conf
@@ -1,4 +1,4 @@
-Bugzilla_BugzillaURL = https://bugzilla.redhat.com
+Bugzilla_BugzillaURL = https://bugs.gentoo.org/
Bugzilla_Login =
Bugzilla_Password =
Bugzilla_SSLVerify = yes
diff --git a/src/plugins/report_Bugzilla.xml.in b/src/plugins/report_Bugzilla.xml.in
index bda60bc..127b07e 100644
--- a/src/plugins/report_Bugzilla.xml.in
+++ b/src/plugins/report_Bugzilla.xml.in
@@ -15,8 +15,8 @@
<_label>Bugzilla URL</_label>
<allow-empty>no</allow-empty>
<_description>Address of Bugzilla server</_description>
- <default-value>https://bugzilla.redhat.com</default-value>
- <_note-html>You can create bugzilla.redhat.com account &lt;a href="https://bugzilla.redhat.com/createaccount.cgi"&gt;here&lt;/a&gt;</_note-html>
+ <default-value>https://bugs.gentoo.org/</default-value>
+ <_note-html>You can create bugs.gentoo.org account &lt;a href="https://bugs.gentoo.org/createaccount.cgi"&gt;here&lt;/a&gt;</_note-html>
</option>
<option type="text" name="Bugzilla_Login">
<_label>User name</_label>
diff --git a/src/plugins/reporter-bugzilla.c b/src/plugins/reporter-bugzilla.c
index ee0da0f..1334ab0 100644
--- a/src/plugins/reporter-bugzilla.c
+++ b/src/plugins/reporter-bugzilla.c
@@ -34,7 +34,7 @@ static void set_settings(struct bugzilla_struct *b, map_string_h *settings)
environ = getenv("Bugzilla_BugzillaURL");
b->b_bugzilla_url = environ ? environ : get_map_string_item_or_empty(settings, "BugzillaURL");
if (!b->b_bugzilla_url[0])
- b->b_bugzilla_url = "https://bugzilla.redhat.com";
+ b->b_bugzilla_url = "https://bugs.gentoo.org/";
b->b_bugzilla_xmlrpc = xasprintf("%s"XML_RPC_SUFFIX, b->b_bugzilla_url);
environ = getenv("Bugzilla_SSLVerify");
diff --git a/src/report-python/__init__.py b/src/report-python/__init__.py
index 6f4f543..2a405f8 100644
--- a/src/report-python/__init__.py
+++ b/src/report-python/__init__.py
@@ -21,8 +21,8 @@ from report.io import TextIO, GTKIO, NewtIO
import os
-SYSTEM_RELEASE_PATHS = ["/etc/system-release","/etc/redhat-release"]
-SYSTEM_RELEASE_DEPS = ["system-release", "redhat-release"]
+SYSTEM_RELEASE_PATHS = ["/etc/system-release","/etc/gentoo-release"]
+SYSTEM_RELEASE_DEPS = ["system-release", "gentoo-release"]
_hardcoded_default_product = ""
_hardcoded_default_version = ""

@ -1,94 +0,0 @@
From 39ac9fd01c90371285a2d9b40f95089342b8929d Mon Sep 17 00:00:00 2001
From: Alexandre Rostovtsev <tetromino@gentoo.org>
Date: Tue, 6 Mar 2012 23:32:46 -0500
Subject: [PATCH 2/2] Disable bugzilla plugin (requires Gentoo infrastructure
changes)
---
doc/Makefile.am | 1 -
src/plugins/Makefile.am | 28 ----------------------------
2 files changed, 0 insertions(+), 29 deletions(-)
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 368be24..863b6d1 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -9,7 +9,6 @@ XMLTO_SILENT_0 = @echo " XMLTO " $@;
MAN1_TXT =
MAN1_TXT += report-cli.txt
-MAN1_TXT += reporter-bugzilla.txt
MAN1_TXT += reporter-kerneloops.txt
MAN1_TXT += reporter-mailx.txt
MAN1_TXT += reporter-print.txt
diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am
index 3ef8ba7..47a5f4f 100644
--- a/src/plugins/Makefile.am
+++ b/src/plugins/Makefile.am
@@ -1,7 +1,6 @@
pluginslibdir = $(PLUGINS_LIB_DIR)
bin_PROGRAMS = \
- reporter-bugzilla \
reporter-kerneloops \
reporter-upload \
reporter-mailx \
@@ -16,14 +15,11 @@ pluginsconfdir = $(PLUGINS_CONF_DIR)
reportpluginsconfdir = $(REPORT_PLUGINS_CONF_DIR)
dist_reportpluginsconf_DATA = \
- bugzilla.conf \
mailx.conf
eventsdir = $(EVENTS_DIR)
dist_events_DATA = \
- report_Bugzilla.xml \
- report_Bugzilla.conf \
report_Logger.conf \
report_Logger.xml \
report_Mailx.xml \
@@ -37,12 +33,9 @@ eventsconfdir = $(EVENTS_CONF_DIR)
dist_eventsconf_DATA = \
mailx_event.conf \
print_event.conf \
- bugzilla_event.conf \
uploader_event.conf
EXTRA_DIST = \
- report_Bugzilla.xml.in \
- report_Bugzilla.conf \
report_Logger.conf \
report_Logger.xml.in \
report_Mailx.xml.in \
@@ -52,27 +45,6 @@ EXTRA_DIST = \
$(DESTDIR)/$(DEBUG_INFO_DIR):
$(mkdir_p) '$@'
-reporter_bugzilla_SOURCES = \
- reporter-bugzilla.c rhbz.c rhbz.h
-reporter_bugzilla_CPPFLAGS = \
- -I$(srcdir)/../include \
- -I$(srcdir)/../lib \
- -DBIN_DIR=\"$(bindir)\" \
- -DCONF_DIR=\"$(CONF_DIR)\" \
- -DLOCALSTATEDIR='"$(localstatedir)"' \
- -DDEBUG_DUMPS_DIR=\"$(DEBUG_DUMPS_DIR)\" \
- -DDEBUG_INFO_DIR=\"$(DEBUG_INFO_DIR)\" \
- -DPLUGINS_LIB_DIR=\"$(PLUGINS_LIB_DIR)\" \
- -DPLUGINS_CONF_DIR=\"$(REPORT_PLUGINS_CONF_DIR)\" \
- $(GLIB_CFLAGS) \
- $(LIBREPORT_CFLAGS) \
- -D_GNU_SOURCE \
- -Wall -Wwrite-strings
-reporter_bugzilla_LDADD = \
- $(GLIB_LIBS) \
- ../lib/libabrt_web.la \
- ../lib/libreport.la
-
reporter_upload_SOURCES = \
reporter-upload.c
reporter_upload_CPPFLAGS = \
--
1.7.8.5

@ -1,117 +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/libreport/libreport-2.0.10.ebuild,v 1.4 2012/10/04 14:49:28 ago Exp $
EAPI="4"
PYTHON_DEPEND="2:2.6"
inherit autotools eutils python user
DESCRIPTION="Generic library for reporting software bugs"
HOMEPAGE="https://fedorahosted.org/abrt/"
SRC_URI="https://fedorahosted.org/released/abrt/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="debug"
RDEPEND=">=dev-libs/glib-2.21:2
dev-libs/newt
dev-libs/nss
dev-libs/libtar
dev-libs/libxml2
dev-libs/xmlrpc-c
gnome-base/gnome-keyring
net-libs/libproxy
net-misc/curl[ssl]
sys-apps/dbus
x11-libs/gtk+:2"
DEPEND="${RDEPEND}
app-text/asciidoc
app-text/xmlto
>=dev-util/intltool-0.3.50
virtual/pkgconfig
>=sys-devel/gettext-0.17"
# Tests require python-meh, which is highly redhat-specific.
RESTRICT="test"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
enewgroup abrt
enewuser abrt -1 -1 -1 abrt
}
src_prepare() {
# Replace redhat- and fedora-specific defaults with gentoo ones
epatch "${FILESDIR}/${PN}-2.0.9-gentoo.patch"
# Disable bugzilla plugin for now (requires bugs.gentoo.org infra support)
epatch "${FILESDIR}/${PN}-2.0.9-no-bugzilla.patch"
# Modify uploader_event so that the gui recognizes it
epatch "${FILESDIR}/${PN}-2.0.7-uploader_event-syntax.patch"
# automake-1.12
sed \
-e 's:AM_PROG_MKDIR_P:AC_PROG_MKDIR_P:g' \
-i aclocal.m4 || die
sed \
-e 's:mkdir_p:MKDIR_P:g' \
-i src/plugins/Makefile.am src/lib/Makefile.am || die
sed \
-e "/AC_PROG_LIBTOOL/s:^:AM_PROG_AR\n:g" \
-i configure.ac || die
# -Werror should not be used by default
sed -e "s/-Werror\( \|$\)//" \
-i src/client-python/Makefile.* src/cli/Makefile.* \
src/gtk-helpers/Makefile.* src/gui-wizard-gtk/Makefile.* \
src/lib/Makefile.* src/plugins/Makefile.* \
src/report-python/Makefile.* configure.ac || die "sed failed"
python_clean_py-compile_files
mkdir m4
eautoreconf
}
src_configure() {
# Gentoo's xmlrpc-c does not provide a pkgconfig file
# XXX: this is probably cross-compile-unfriendly
export XMLRPC_CFLAGS=$(xmlrpc-c-config --cflags)
export XMLRPC_LIBS=$(xmlrpc-c-config --libs)
export XMLRPC_CLIENT_CFLAGS=$(xmlrpc-c-config client --cflags)
export XMLRPC_CLIENT_LIBS=$(xmlrpc-c-config client --libs)
# Configure checks for python.pc; our python-2.7 installs python-2.7.pc,
# while python-2.6 does not install any pkgconfig file.
export PYTHON_CFLAGS=$(python-config --includes)
export PYTHON_LIBS=$(python-config --libs)
ECONF="--disable-bodhi
--localstatedir=${EPREFIX}/var"
# --disable-debug enables debug!
use debug && ECONF="${ECONF} --enable-debug"
econf ${ECONF}
}
src_install() {
default
# Need to set correct ownership for use by app-admin/abrt
diropts -o abrt -g abrt
keepdir /var/spool/abrt
find "${D}" -name '*.la' -exec rm -f {} + || die
}
pkg_postinst() {
python_mod_optimize report reportclient
}
pkg_postrm() {
python_mod_cleanup report reportclient
}

@ -0,0 +1,94 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libreport/libreport-2.0.13-r1.ebuild,v 1.1 2013/09/12 03:53:58 tetromino Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_6,2_7} )
inherit autotools eutils python-r1 user
DESCRIPTION="Generic library for reporting software bugs"
HOMEPAGE="https://fedorahosted.org/abrt/"
SRC_URI="https://fedorahosted.org/released/abrt/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug"
COMMON_DEPEND=">=dev-libs/btparser-0.18:=
>=dev-libs/glib-2.21:2
dev-libs/json-c:=
dev-libs/libtar
dev-libs/libxml2:2
dev-libs/newt:=
dev-libs/nss:=
dev-libs/xmlrpc-c:=
net-libs/libproxy:=
net-misc/curl:=[ssl]
sys-apps/dbus
>=x11-libs/gtk+-3.3.12:3
x11-misc/xdg-utils
${PYTHON_DEPS}
"
RDEPEND="${COMMON_DEPEND}
|| ( gnome-base/gnome-keyring >=kde-base/kwalletd-4.8 )
"
DEPEND="${COMMON_DEPEND}
app-text/asciidoc
app-text/xmlto
>=dev-util/intltool-0.3.50
>=sys-devel/gettext-0.17
virtual/pkgconfig
"
# Tests require python-meh, which is highly redhat-specific.
RESTRICT="test"
pkg_setup() {
enewgroup abrt
enewuser abrt -1 -1 -1 abrt
}
src_prepare() {
# Replace redhat- and fedora-specific defaults with gentoo ones, and disable
# code that requires gentoo infra support.
epatch "${FILESDIR}/${PN}-2.0.13-gentoo.patch"
# Modify uploader_event so that the gui recognizes it
epatch "${FILESDIR}/${PN}-2.0.7-uploader_event-syntax.patch"
# automake-1.12
epatch "${FILESDIR}/${PN}-2.0.13-automake-1.12.patch"
# json-c-0.11, https://github.com/abrt/libreport/pull/{159,174}
epatch "${FILESDIR}/${PN}-2.0.13-json-c-0.11"{,-pc}.patch
mkdir -p m4
eautoreconf
python_copy_sources
}
src_configure() {
python_foreach_impl run_in_build_dir econf \
--disable-bodhi \
--localstatedir="${EPREFIX}/var" \
$(usex debug --enable-debug "")
# --disable-debug enables debug!
}
src_compile() {
python_foreach_impl run_in_build_dir default
}
src_install() {
python_foreach_impl run_in_build_dir default
# Need to set correct ownership for use by app-admin/abrt
diropts -o abrt -g abrt
keepdir /var/spool/abrt
prune_libtool_files --modules
}

@ -1,2 +1,3 @@
DIST luasec-0.4.1.tar.gz 28646 SHA256 9a9ea9f23044d41be29aea3de1bd795118a29e7311ea4c55fe1f0bc1c74a448b SHA512 bc934e952294ec45c9c8cfb70f68ebcd415b241d4af8dbf649016a7d14d7da5380d12cbf490560425235168f2c5abbbcd48192068a4e8e6bf523c92cfbf604d9 WHIRLPOOL 90ebad1e0f9fba88bbfe3832ef61cf1daab3cf3694bb0d4466772a24ad103f737737af93df77cc6aea04a98fb9ad0cdf0dcf6f2a09667643a8cabbd6030e7d49
DIST luasec-0.4.1_p20130620.tar.gz 45297 SHA256 8bb3e8c5c3a4980f027b7ab41d5a08a2d44834e4230bcb6a2638ba4a7a3dc53f SHA512 914ae2adf7ce48c78d972ae5cbe2b52cbd42083cbe98063c36bd52af52b3bdec4cb389b8599928b2703436fc8eaf70de3212def0adaf936c7bbedf650f9c8c4e WHIRLPOOL 7a7c8e43ae846a8351c39a1dbfaab091a9d12c197538413137c0de807da6d20b894155fd9ec1f4bdefd7090a7b7cdb7ef195165870a6b5addd1ad66ad7208d11
DIST luasec-0.4.tar.gz 27829 SHA256 111732f0e646120a701d33e7d3a613a9a901c11c0a01d0805d73ef90c3f0abd5 SHA512 dfd1b7427ffbd0537707885cdf3ef0d453c745d0c37f682cae71c47374aff6a935d1687ffc8252cc25d5dec174644e962fbcac0e735ba3f07d633c432ecd08bc WHIRLPOOL 72b7eb7eb0640d9c132918bb82dff6ef36701d105ac309ef0f5a6a84929d9cf0bb48ff9891d138d85a25e357d53493e590735712f45ac7e98fd866d29c1740f0

@ -0,0 +1,40 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lua/luasec/luasec-0.4.1_p20130620.ebuild,v 1.1 2013/09/11 19:18:44 mrueg Exp $
EAPI=5
inherit vcs-snapshot multilib toolchain-funcs
DESCRIPTION="Lua binding for OpenSSL library to provide TLS/SSL communication."
HOMEPAGE="https://github.com/brunoos/luasec http://www.inf.puc-rio.br/~brunoos/luasec/"
COMMIT="063e8a8a5c57858cdc845f8d51b994426edd37ab"
SRC_URI="https://github.com/brunoos/luasec/tarball/${COMMIT} -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
RDEPEND=">=dev-lang/lua-5.1[deprecated]
dev-lua/luasocket
dev-libs/openssl"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
sed -i -e "s#^LUAPATH.*#LUAPATH=$(pkg-config --variable INSTALL_LMOD lua)#"\
-e "s#^LUACPATH.*#LUACPATH=$(pkg-config --variable INSTALL_CMOD lua)#" Makefile || die
sed -i -e "s/-O2//" src/Makefile || die
}
src_compile() {
emake \
CC="$(tc-getCC)" \
LD="$(tc-getCC)" \
linux
}
src_install() {
emake DESTDIR="${D}" install
}

@ -1 +1,2 @@
DIST luasocket-2.0.2.tar.gz 115443 SHA256 4fd9c775cfd98841299851e29b30176caf289370fea1ff1e00bb67c2d6842ca6 SHA512 3ea46dc96a4530def11c2c0ad34c9e2e9d2095b1b671ca7dd29c91953adcb22d621de3960f65045d15fd0a16b1c75c629c8cef1218281fd2d3373c76dc4759f3 WHIRLPOOL 34d68f1f7cbe2c56108d038af9f776c38917deb759398b13fc7f9b879505699a710f9a8c815e3f05a23d840777bebf84eddf8555edc5f948e26338a8f246c4c9
DIST luasocket-3.0_rc1.tar.gz 328598 SHA256 8b67d9b5b545e1b694753dab7bd6cdbc24c290f2b21ba1e14c77b32817ea1249 SHA512 f6efce259aaacaa11472911471f8a13b118fe009b8953a82c6aa18b9ec829cd1293180904e56935cb130d36d267e3f27c91db2d78e03f7488f3e100571ed0540 WHIRLPOOL 31870d4450f0dffbf74669450188c0e491c916ec5b1df853ce8400987bc99528b730b5de9063183d9e75433af412ccacaa8c41ed9c34720f2c2f63c62c817923

@ -0,0 +1,42 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lua/luasocket/luasocket-3.0_rc1.ebuild,v 1.3 2013/09/11 19:22:32 mrueg Exp $
EAPI=5
inherit multilib flag-o-matic
DESCRIPTION="Networking support library for the Lua language."
HOMEPAGE="http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/"
SRC_URI="https://github.com/diegonehab/${PN}/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="debug"
RDEPEND=">=dev-lang/lua-5.1[deprecated]"
DEPEND="${RDEPEND}
virtual/pkgconfig"
S=${WORKDIR}/${PN}-${PV/_/-}
RESTRICT="test"
src_compile() {
emake \
CC="$(tc-getCC) ${CFLAGS}" \
LD="$(tc-getCC) ${LDFLAGS}"\
$(usex debug DEBUG="DEBUG" "")
}
src_install() {
emake \
DESTDIR="${D}" \
LUAPREFIX_linux=/usr \
LUAV=$(pkg-config --variable V lua) \
CDIR_linux=$(get_libdir)/lua/${LUAV} \
install
dodoc NEW README
dohtml doc/*
}

@ -0,0 +1 @@
DIST cairocffi-0.5.1.tar.gz 70948 SHA256 eb85249f03254f42ee298c20d5827fbab2b95128919203d0581c37d929e824ee SHA512 e34a8c2c53c6fe29573293372b3fb952a8f5051d7c51125523fbbbcf0499b80ccc743713b6c6560d2ca74cfb96392810e7396320c6e70e55f01ff7663f921612 WHIRLPOOL 98b8735fab09bce06ef55ff1738430123661a28af08fb46442ab9333a044c6e38ab2bdf36898eec4493ed08982e375f0901fa8f8200fcf6f84ac10d807623848

@ -0,0 +1,25 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/cairocffi/cairocffi-0.5.1.ebuild,v 1.1 2013/09/12 02:43:06 patrick Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_6,2_7} )
inherit distutils-r1
DESCRIPTION="CFFI-based drop-in replacement for Pycairo"
MY_PN="${PN}"
MY_P="${MY_PN}-${PV}"
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
HOMEPAGE="https://github.com/SimonSapin/cairocffi"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="dev-python/cffi[${PYTHON_USEDEP}]
x11-libs/cairo"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
S="${WORKDIR}/${MY_P}"

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>
<upstream>
<remote-id type="pypi">cairocffi</remote-id>
</upstream>
</pkgmetadata>

@ -0,0 +1,42 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/lockfile/lockfile-0.8-r1.ebuild,v 1.1 2013/09/12 05:24:35 prometheanfire Exp $
EAPI="5"
PYTHON_COMPAT=( python2_6 python2_7 )
inherit distutils-r1
DESCRIPTION="Platform-independent file locking module"
HOMEPAGE="http://code.google.com/p/pylockfile/ http://pypi.python.org/pypi/lockfile http://smontanaro.dyndns.org/python/"
SRC_URI="http://pylockfile.googlecode.com/files/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~x86"
IUSE="doc"
DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
RDEPEND=""
DOCS=( ACKS README RELEASE-NOTES )
python_compile() {
distutils-r1_python_compile
if use doc; then
einfo "Generation of documentation"
cd doc
emake html || die "Generation of documentation failed"
fi
}
src_install() {
distutils-r1_python_install_all
if use doc; then
cd doc/.build/html
docinto html
cp -R [a-z]* _static "${ED}usr/share/doc/${PF}/html" || die "Installation of documentation failed"
fi
}

@ -0,0 +1 @@
DIST Pyphen-0.8.tar.gz 962586 SHA256 378169ce89b8d3b6a0b95bbfdedc9da8c428d6b7c98ff6498ff41c390702a21a SHA512 230ae11fa3aabba52c923a562284cbc9051c42aa8bc6336bf7e66a47db8974adb3fe136f605bac4cb8c5dee20e68181e6fb3b0c5726a35ab85d11ac5e30c537a WHIRLPOOL 6a7ce38c2d0ca801d58464de8d2c184b28762ecb7b469494675ae87384bbf76cd333d4e3c7aeb32c75cc37c40d5169bb8dd833e3d979e421475ebd6ec5dc8092

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>
<upstream>
<remote-id type="pypi">Pyphen</remote-id>
</upstream>
</pkgmetadata>

@ -0,0 +1,24 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyphen/pyphen-0.8.ebuild,v 1.1 2013/09/12 02:12:09 patrick Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_6,2_7} )
inherit distutils-r1
DESCRIPTION="Python module for hyphenation using hunspell dictionaries"
MY_PN="Pyphen"
MY_P="${MY_PN}-${PV}"
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
HOMEPAGE="https://github.com/Kozea/Pyphen"
LICENSE="GPL-2+ LGPL-2+ MPL-1.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
S="${WORKDIR}/${MY_P}"

@ -0,0 +1,69 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlalchemy/sqlalchemy-0.7.9-r1.ebuild,v 1.1 2013/09/11 17:39:14 prometheanfire Exp $
EAPI=5
# py3 appears underdone,
PYTHON_COMPAT=( python{2_6,2_7} )
inherit distutils-r1 eutils flag-o-matic
MY_PN="SQLAlchemy"
MY_P="${MY_PN}-${PV/_}"
DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
HOMEPAGE="http://www.sqlalchemy.org/ http://pypi.python.org/pypi/SQLAlchemy"
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd \
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc examples firebird mssql mysql postgres +sqlite test"
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
firebird? ( dev-python/kinterbasdb )
mssql? ( dev-python/pymssql )
mysql? ( dev-python/mysql-python )
postgres? ( >=dev-python/psycopg-2 )
sqlite? (
>=dev-db/sqlite-3.3.13 )"
DEPEND="${RDEPEND}
test? (
>=dev-db/sqlite-3.3.13
>=dev-python/nose-0.10.4[${PYTHON_USEDEP}]
)"
# py26 tests needs
DISTUTILS_NO_PARALLEL_BUILD=1
S="${WORKDIR}/${MY_P}"
PATCHES=( "${FILESDIR}/${PN}-0.7-logging.handlers.patch" )
python_prepare_all() {
# Disable tests hardcoding function call counts specific to Python versions.
rm -fr test/aaa_profiling
distutils-r1_python_prepare_all
}
python_configure_all() {
append-flags -fno-strict-aliasing
}
python_test() {
"${PYTHON}" sqla_nose.py || die
}
python_install_all() {
if use doc; then
pushd doc > /dev/null
rm -fr build
dohtml -r [a-z]* _images _static
popd > /dev/null
fi
if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples
fi
}

@ -0,0 +1,38 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/suds/suds-0.4-r1.ebuild,v 1.1 2013/09/12 05:14:18 prometheanfire Exp $
EAPI="5"
PYTHON_COMPAT=( python2_6 python2_7 )
inherit distutils-r1
DESCRIPTION="Lightweight SOAP client"
HOMEPAGE="https://fedorahosted.org/suds/ http://pypi.python.org/pypi/suds"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/epydoc[${PYTHON_USEDEP}] )"
RDEPEND=""
python_compile() {
distutils-r1_python_compile
if use doc; then
einfo "Generation of documentation"
epydoc -n "Suds - ${DESCRIPTION}" -o doc suds || die "Generation of documentation failed"
fi
}
python_install() {
distutils-r1_python_install_all
if use doc; then
dohtml -r doc/* || die "Installation of documentation failed"
fi
}

@ -1 +1,2 @@
DIST tinycss-0.2.tar.gz 64163 SHA256 168c7ee8cd8436bace87018684addb9b57474a62eceacd21aed69dda5abc4c62 SHA512 c011f685601c6d552f6c25e19654c5141a71ade52fee08eddc3fe3cfc8994d2ddf690bba218eeb6ad5da03b68f4693dcc055c8a65202459da6868534eb41d798 WHIRLPOOL 136a6d69fbe678cfa7805f99e7ca54fa99a3773b27460aee63b475e2af28e2fa68922ff70a7c0dd3cc74a318c7d160a64049920c7e2cab043845c78ae07507df
DIST tinycss-0.3.tar.gz 72860 SHA256 a4adabd1c417080372c789220f7f9985995e74f2fb612848306872a232862cde SHA512 1fdf29777ee7b3ef39cf2169d8f464a7e5aea850de8a7976acf3ed9e73e831ea0d7ee52b4c8c9979b2263509cbffe1bde85cf6da178ddeaac9009ace7a2b4441 WHIRLPOOL 2fc7433e2410e8641f2c939f2d22ba3ab423908e20213559b34e8fb5002776a9ddfe7640c8a68c59af05b1c0e1493481c315011bef8055afd858e7a4c66ebdd4

@ -0,0 +1,31 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/tinycss/tinycss-0.3.ebuild,v 1.1 2013/09/12 02:59:37 patrick Exp $
EAPI=5
PYTHON_COMPAT=( python{2_7,3_2} )
inherit distutils-r1
DESCRIPTION="A complete yet simple CSS parser for Python"
HOMEPAGE="http://github.com/SimonSapin/tinycss/ http://packages.python.org/tinycss/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-python/lxml[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
DOCS=( CHANGES README.rst )
python_test() {
export TINYCSS_SKIP_SPEEDUPS_TESTS=1
local test
for test in ${PN}/tests/test_*.py; do
py.test $test
done
}

@ -0,0 +1 @@
DIST WeasyPrint-0.19.2.tar.gz 324312 SHA256 63fa62b40a5bd3a1f14887950f6f40d73fff752507cd41f0040606b3d5399ba4 SHA512 c491ec6788b164857265f11391148d761a737a47045288258f5584b277d58075e49384a9c0fa93ab849adbc1672684518039e2cc7bcf76b684dbab196f666166 WHIRLPOOL 3490b2724a0212a182eb2e9888f8fbec3b5173b0fcd5917ca51c963ea128c7071b59dd30f5b006628ccb3f8aa2f4e3dcc45eea8698182b77f597aacdfdf87198

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>
<upstream>
<remote-id type="pypi">WeasyPrint</remote-id>
</upstream>
</pkgmetadata>

@ -0,0 +1,34 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/weasyprint/weasyprint-0.19.2.ebuild,v 1.1 2013/09/12 03:02:26 patrick Exp $
EAPI="5"
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
DESCRIPTION="Visual rendering engine for HTML and CSS that can export to PDF."
MY_PN="WeasyPrint"
MY_P="${MY_PN}-${PV}"
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
HOMEPAGE="https://http://weasyprint.org"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="x11-libs/cairo
x11-libs/pango
media-gfx/cairosvg
dev-python/cffi[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/cairocffi[${PYTHON_USEDEP}]
dev-python/tinycss[${PYTHON_USEDEP}]
dev-python/cssselect[${PYTHON_USEDEP}]
dev-python/pyphen[${PYTHON_USEDEP}]
"
# x11-libs/gdk-pixbuf # optional dep
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
S="${WORKDIR}/${MY_P}"

@ -1,2 +1 @@
DIST rack-ssl-1.3.2.tgz 3069 SHA256 afe71e701982779c97b00a0946992628f02bd8f3cf9b548e66d08e72619f035b SHA512 f9866502faf76c6aa4b5a526bf2a266331bb8fe85639836cf79ead656667131f6b48b8221385caec32abfef538ef7077cfdec3bfb39b7db406cd46ff91221df3 WHIRLPOOL 6059d50b3e7af804093816198f5750750e1268e23442051633fadd7a3bb59f9327207cd1ab97bae0b53527d7c1db40e2333af6a50b00574f7f11a2beee61f939
DIST rack-ssl-1.3.3-git.tgz 3166 SHA256 97a2f275fae3ea9d240c2a839eaf03cb236d32ba00357a3df57e36aa00729e88 SHA512 217655a2f34fa9977d9ac09f24c33dc5fe55f4f1233e003ae943b6fb73f047ff46bf3eab2430409951670b1181e367077ac7f192fde3716c9c96b14538d88d8c WHIRLPOOL 4e8b0afa664d6bd88078b6678afeedf4265ae9ffe87a4dd15e93b9b57a062157799bcb01938ec9181ab52167bfb978dce57d640f5c01dd777492f917e6439846

@ -1,25 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack-ssl/rack-ssl-1.3.2.ebuild,v 1.5 2013/01/15 06:56:54 zerochaos Exp $
EAPI=4
USE_RUBY="ruby18 ree18 ruby19"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README.md"
inherit ruby-fakegem eutils versionator
DESCRIPTION="Force SSL/TLS in your app."
HOMEPAGE="https://github.com/josh/rack-ssl/"
SRC_URI="https://github.com/josh/rack-ssl/tarball/v${PV} -> ${P}.tgz"
RUBY_S="josh-rack-ssl-*"
LICENSE="MIT"
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
ruby_add_rdepend "virtual/ruby-ssl"
ruby_add_bdepend "test? ( dev-ruby/rack-test )"

@ -1 +1,2 @@
DIST thread_safe-0.1.2.gem 136704 SHA256 7e2b957c28f2676b0a5ba5c0ad3a92988887922edfcb7be66acac6106881beaf SHA512 87ad4d7cc2d0f4fd784417c56a22f9a2be93a5b783914246e9c638f7c8327b0528e7df2be30318b109b3f810674c844e1e96d6c3f4d92465bf921f9d21878c66 WHIRLPOOL 851993483a932f53f2d441c5b2e08094963dbcf4411508af52106e7ec57a68305b60729ccea64b1644830abdd076b29f5bb4aebd96110e87f7ef12de8787ebc3
DIST thread_safe-0.1.3.gem 136704 SHA256 f8b9f8db0889aa97676b4a1efe919b1e76601ed9c9662a986825755bba305c38 SHA512 ef54d618a3de34716705d23081dbc325031be33dd6819f28b3601bbc62da4c79d4ae0c5dcad5490efa25f998184509b672be3b6f223fbfc9505d64a7c217c3cb WHIRLPOOL 5ea88ad1b8f15d9472b5d5eeaf21c9e23f85d50381ace20d4243ff19165dde80ac95d3f9990a95d88614d15b2d7828ddc7acd37e5a39c34008c7a3a0a97459b2

@ -0,0 +1,23 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/thread_safe/thread_safe-0.1.3.ebuild,v 1.1 2013/09/11 13:02:11 mrueg Exp $
EAPI=5
# jruby → there is code for this in ext but that requires compiling java.
USE_RUBY="ruby19"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README.md"
inherit ruby-fakegem
DESCRIPTION="A collection of thread-safe versions of common core Ruby classes"
HOMEPAGE="https://github.com/headius/thread_safe"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
ruby_add_rdepend "dev-ruby/atomic"

@ -1,3 +1,2 @@
DIST timecop-0.3.5.gem 13824 SHA256 ddd30e99586f1e07dea62057dadb5161d58b81b225f50b5d5f07df554eded760 SHA512 c69de431cc274b941a8146bfde5cebde0466f23d695d3b2d080ab54056e289e59e8ffe92f0b8feedf8387e474800afd7a9e604e689fc3c175f60d04e065a3d92 WHIRLPOOL fe2594fe239a1a834a0746dfdef9e14becf2230dbcdac05e3e7929a5cf088f2b36d543e28b6c098d3942e2f101981bcfbc8b3585d19bd3dc5f4e6e6f670513f1
DIST timecop-0.5.0.gem 14848 SHA256 c762cbf129475e73018d54c432d539020a0d00a554133e7160e53c061e1271df SHA512 be67ae936d70cc09a194703c4ac942b159b21249b463f3c87dec3dfd957eb69c92b2fe647aff8b6e816d62d0984f7c6037b0f8c7d8379efd89905d11bc8dcc63 WHIRLPOOL f08b8679ff14aa27d2180dbc428bdb190babab76088259f76296f9bb187cd5159f5a0f13a4f8cbc60bec79efb9be06b2c8e0372361b62368ba85c1399b513198
DIST timecop-0.5.2.gem 15872 SHA256 a5c91b39c68501a3ba40dcfce597085be2ba11dcf916c0e881d55e712b25c10c SHA512 e77efa78d8842e72f0ecd62424ab2ce347246988325a76cac8c557cc431516ed25da742b1343329a4fb3559c565348c4261dd295f1ea79dac1087cdd36b0f28f WHIRLPOOL b5264e88ed28cfcfef8d7cfe0e5e9e59a811088891fc5e79e07ea9232cb507262cc1bad591ccf974f0c753eb68e209c9e888f3f0e7de8deaf0f3d77b0367479c
DIST timecop-0.5.9.2.gem 14336 SHA256 6b60a878cc6a7de5bfd1490747f4c6729e66f4fa760ec677447a3e9932529625 SHA512 9492778f46b263d7a7c5270fb8571be61e37c014e61e0f0eeb9c97063b05fbe8d157a70d0084d098cdc5955aed20db2ae995f121cd544cc763fc9609aa5d71b3 WHIRLPOOL 86a021a9f2c1c82968359c3ea0d67a63218bc5527af076825cb79e588b23d6a11386700f32fc7c6fa1dc96012b9d6785a4fffc5e2e63f5054880b47ee667f424

@ -1,28 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/timecop/timecop-0.3.5.ebuild,v 1.1 2012/02/28 16:52:15 flameeyes Exp $
EAPI="4"
# jruby → one full test fail, that works on theo ther implementations
USE_RUBY="ruby18 ree18 ruby19"
RUBY_FAKEGEM_TASK_TEST=""
RUBY_FAKEGEM_TASK_DOC="rdoc"
RUBY_FAKEGEM_DOCDIR="rdoc"
RUBY_FAKEGEM_EXTRADOC="README.rdoc History.rdoc"
inherit ruby-fakegem
DESCRIPTION="A gem providing 'time travel' and 'time freezing' capabilities"
HOMEPAGE="http://github.com/jtrupiano/timecop"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
# tests do not work; the issue has been reported upstream but I have had
# no answer yet; the use of timecop seems to generally work though.
RESTRICT=test

@ -1,27 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/timecop/timecop-0.5.0.ebuild,v 1.1 2012/09/14 13:47:01 graaff Exp $
EAPI="4"
USE_RUBY="ruby18 ree18 ruby19 jruby"
RUBY_FAKEGEM_TASK_TEST="test"
RUBY_FAKEGEM_TASK_DOC="rdoc"
RUBY_FAKEGEM_DOCDIR="rdoc"
RUBY_FAKEGEM_EXTRADOC="README.markdown History.rdoc"
inherit ruby-fakegem
DESCRIPTION="A gem providing 'time travel' and 'time freezing' capabilities"
HOMEPAGE="http://github.com/jtrupiano/timecop"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
all_ruby_prepare() {
sed -i -e '/bundler/ s:^:#:' Rakefile || die
}

@ -0,0 +1,33 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/timecop/timecop-0.5.9.2.ebuild,v 1.1 2013/09/11 14:09:09 mrueg Exp $
EAPI=5
USE_RUBY="ruby18 ruby19 jruby"
RUBY_FAKEGEM_TASK_TEST="test"
RUBY_FAKEGEM_TASK_DOC="rdoc"
RUBY_FAKEGEM_DOCDIR="rdoc"
RUBY_FAKEGEM_EXTRADOC="README.markdown"
inherit ruby-fakegem
DESCRIPTION="A gem providing 'time travel' and 'time freezing' capabilities"
HOMEPAGE="http://github.com/jtrupiano/timecop"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd"
IUSE=""
ruby_add_bdepend "test? ( dev-ruby/mocha )"
all_ruby_prepare() {
sed -i -e '/bundler/ s:^:#:' -e '/History.rdoc/d' Rakefile || die
sed -i -e '/rubygems/ a\gem "test-unit"' test/test_helper.rb || die
}
each_ruby_prepare() {
sed -i -e "/bin\/sh/ a\RUBY='${RUBY}'" test/run_tests.sh || die
}

@ -1,105 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/snack/snack-2.2.10-r4.ebuild,v 1.10 2011/04/12 18:13:12 arfrever Exp $
EAPI="3"
PYTHON_DEPEND="python? 2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"
inherit eutils distutils multilib
DESCRIPTION="The Snack Sound Toolkit (Tcl)"
HOMEPAGE="http://www.speech.kth.se/snack/"
SRC_URI="http://www.speech.kth.se/snack/dist/${PN}${PV}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
SLOT="0"
IUSE="alsa examples python threads vorbis"
RESTRICT="test" # Bug 78354
DEPEND="
>dev-lang/tcl-8.4.3
>dev-lang/tk-8.4.3
alsa? ( media-libs/alsa-lib )
vorbis? ( media-libs/libvorbis )"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}${PV}/unix"
PYTHON_MODNAME="tkSnack.py"
pkg_setup() {
if use python; then
python_pkg_setup
fi
}
src_prepare() {
# bug 226137 - snack depends on alsa private symbol _snd_pcm_mmap_hw_ptr
epatch "${FILESDIR}"/alsa-undef-sym.patch
# bug 270839 - error from /usr/include/bits/mathcalls.h:310
sed -i -e 's|^\(#define roundf(.*\)|//\1|' ../generic/jkFormatMP3.c
# adds -install_name (soname on Darwin)
[[ ${CHOST} == *-darwin* ]] && epatch "${FILESDIR}"/${P}-darwin.patch
}
src_configure() {
local myconf="--libdir="${EPREFIX}"/usr/$(get_libdir) --includedir="${EPREFIX}"/usr/include"
use alsa && myconf="${myconf} --enable-alsa"
use threads && myconf="${myconf} --enable-threads"
if use vorbis ; then
myconf="${myconf} --with-ogg-include="${EPREFIX}"/usr/include"
myconf="${myconf} --with-ogg-lib="${EPREFIX}"/usr/$(get_libdir)"
fi
econf ${myconf} || die "configure failed"
}
src_compile() {
# We do not want to run distutils_src_compile
emake || die
}
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
if use python ; then
cd "${S}"/../python
distutils_src_install
fi
cd "${S}"/..
dodoc README changes || die
dohtml doc/* || die
if use examples ; then
sed -i -e 's/wish[0-9.]+/wish/g' demos/tcl/* || die
docinto examples/tcl
dodoc demos/tcl/* || die
if use python ; then
docinto examples/python
dodoc demos/python/* || die
fi
fi
}
pkg_postinst() {
if use python; then
distutils_pkg_postinst
fi
}
pkg_postrm() {
if use python; then
distutils_pkg_postrm
fi
}

@ -0,0 +1,77 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/buildbot-slave/buildbot-slave-9999.ebuild,v 1.1 2013/09/11 20:22:04 hwoarang Exp $
EAPI="5"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
DISTUTILS_SRC_TEST="trial buildslave"
DISTUTILS_DISABLE_TEST_DEPENDENCY="1"
EGIT_REPO_URI="https://github.com/buildbot/buildbot.git"
[[ ${PV} = 9999 ]] && inherit git-2
inherit distutils readme.gentoo user
DESCRIPTION="BuildBot Slave Daemon"
HOMEPAGE="http://trac.buildbot.net/ http://code.google.com/p/buildbot/ http://pypi.python.org/pypi/buildbot-slave"
MY_PV="${PV/_p/p}"
MY_P="${PN}-${MY_PV}"
[[ ${PV} = 9999 ]] || SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
if [[ ${PV} == 9999 ]]; then
KEYWORDS=""
else
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-interix ~amd64-linux"
fi
IUSE="test"
RDEPEND="dev-python/setuptools
dev-python/twisted-core
!!<dev-util/buildbot-0.8.1
!<dev-util/buildbot-0.8.3"
DEPEND="${RDEPEND}
test? ( dev-python/mock )"
PYTHON_MODNAME="buildslave"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
python_pkg_setup
enewuser buildbot
DOC_CONTENTS="The \"buildbot\" user and the \"buildslave\" init script has been added
to support starting buildslave through Gentoo's init system. To use this,
set up your build slave following the documentation, make sure the
resulting directories are owned by the \"buildbot\" user and point
\"${ROOT}etc/conf.d/buildslave\" at the right location. The scripts can
run as a different user if desired. If you need to run more than one
build slave, just copy the scripts."
}
src_compile() {
[[ ${PV} = 9999 ]] && cd slave/
distutils_src_compile
}
src_install() {
[[ ${PV} = 9999 ]] && cd slave/
distutils_src_install
doman docs/buildslave.1
newconfd "${FILESDIR}/buildslave.confd" buildslave
newinitd "${FILESDIR}/buildslave.initd" buildslave
readme.gentoo_create_doc
}
pkg_postinst() {
[[ ${PV} = 9999 ]] && cd slave/
distutils_pkg_postinst
readme.gentoo_print_elog
}

@ -0,0 +1,125 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/buildbot/buildbot-9999.ebuild,v 1.1 2013/09/11 20:19:47 hwoarang Exp $
EAPI="5"
PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython"
DISTUTILS_SRC_TEST="trial"
DISTUTILS_DISABLE_TEST_DEPENDENCY="1"
EGIT_REPO_URI="https://github.com/buildbot/${PN}.git"
[[ ${PV} = 9999 ]] && inherit git-2
inherit distutils readme.gentoo user
MY_PV="${PV/_p/p}"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="BuildBot build automation system"
HOMEPAGE="http://trac.buildbot.net/ http://code.google.com/p/buildbot/ http://pypi.python.org/pypi/buildbot"
[[ ${PV} = 9999 ]] || SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
if [[ ${PV} == 9999 ]]; then
KEYWORDS=""
else
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris"
fi
IUSE="doc examples irc mail manhole test"
# sqlite3 module of Python 2.5 is not supported.
RDEPEND=">=dev-python/jinja-2.1
|| ( dev-lang/python:2.7 dev-lang/python:2.6 dev-python/simplejson )
|| ( dev-lang/python:2.7[sqlite] dev-lang/python:2.6[sqlite] dev-python/pysqlite:2 )
>=dev-python/twisted-core-8.0.0
dev-python/twisted-web
dev-python/sqlalchemy
dev-python/sqlalchemy-migrate
irc? ( dev-python/twisted-words )
mail? ( dev-python/twisted-mail )
manhole? ( dev-python/twisted-conch )"
DEPEND="${DEPEND}
dev-python/setuptools
doc? ( sys-apps/texinfo )
test? (
dev-python/mock
dev-python/twisted-mail
dev-python/twisted-web
dev-python/twisted-words
)"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
python_pkg_setup
enewuser buildbot
DOC_CONTENTS="The \"buildbot\" user and the \"buildmaster\" init script has been added
to support starting buildbot through Gentoo's init system. To use this,
set up your build master following the documentation, make sure the
resulting directories are owned by the \"buildbot\" user and point
\"${EROOT}etc/conf.d/buildmaster\" at the right location. The scripts can
run as a different user if desired. If you need to run more than one
build master, just copy the scripts."
}
src_compile() {
[[ ${PV} = 9999 ]] && cd master/
distutils_src_compile
if use doc; then
einfo "Generation of documentation"
pushd docs > /dev/null
emake buildbot.html buildbot.info
popd > /dev/null
fi
}
src_install() {
[[ ${PV} = 9999 ]] && cd master/
distutils_src_install
doman docs/buildbot.1
if use doc; then
dohtml -r docs/buildbot.html docs/images
doinfo docs/buildbot.info
fi
if use examples; then
insinto /usr/share/doc/${PF}
doins -r contrib docs/examples
fi
newconfd "${FILESDIR}/buildmaster.confd" buildmaster
newinitd "${FILESDIR}/buildmaster.initd" buildmaster
# In case of multiple masters, it's possible to edit web files
# so all master can share the changes. So protect them!
# If something else need to be protected, please open a bug
# on http://bugs.gentoo.org
local cp
add_config_protect() {
cp+=" $(python_get_sitedir)/${PN}/status/web"
}
python_execute_function -q add_config_protect
echo "CONFIG_PROTECT=\"${cp}\"" \
> 85${PN} || die
doenvd 85${PN}
readme.gentoo_create_doc
}
pkg_postinst() {
[[ ${PV} = 9999 ]] && cd master/
distutils_pkg_postinst
readme.gentoo_print_elog
elog
elog "Upstream recommends the following when upgrading:"
elog "Each time you install a new version of Buildbot, you should run the"
elog "\"buildbot upgrade-master\" command on each of your pre-existing build masters."
elog "This will add files and fix (or at least detect) incompatibilities between"
elog "your old config and the new code."
}

@ -1,2 +1,3 @@
DIST cmake-2.8.10.2.tar.gz 5768373 SHA256 ce524fb39da06ee6d47534bbcec6e0b50422e18b62abc4781a4ba72ea2910eb1 SHA512 e79759f4429977bb4292c9dc8a9d216ca7c21dca5fefce1fa223d7847a1128c8a3a11e1b6adaac40b2f30e0d6f504508a2845f888a319acc29c2ef6beff55df2 WHIRLPOOL f7327282d352ec04afb6349abc74aa3205ceb57efcb013650f18025e36010a27ca28725cd06e29e7bc5ff3196a4c8abeafcb733fba9c6bcc02159a5c6b8e90eb
DIST cmake-2.8.11.1.tar.gz 5886098 SHA256 b7dbb86824051319b8e082d2f892ebe6d5914b4dac9b9ef1aeac5e7ed054b0bf SHA512 2dae5e1a4256b332c759ba077e53fc01f8f7a3927098fbd14807ed631163bdf5286f072f2aff214e759b771c2e2365656db1718a86025b3456173715976f2904 WHIRLPOOL 04a655f46a094de9fdd0197caea990c289e2d7a0bbf731acc16d0925ce67c96b56cc237b6443a50f7618d9dcb07046635de26bf7a59de6ff03d7ed9a0bc7447c
DIST cmake-2.8.11.2.tar.gz 5887016 SHA256 b32acb483afdd14339941c6e4ec25f633d916a7a472653a0b00838771a6c0562 SHA512 05ac2293300bf15fdcf98f07dfa7b9862b117cd0d6f7e30c1995ecb8a3bfd94e2b7e778caaa05bc46bd88eca5afe7f6be38b1904275a9a2aeae562bfdbaeec94 WHIRLPOOL 28365c3d091eb41fdbd428d3f9de37ed547c68415bd726874587af1cefd81ed6dce8255527dbee9d3019a65cf1b1416b9f09dfb744befba4c1428da8f88e3907

@ -0,0 +1,199 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/cmake/cmake-2.8.11.2.ebuild,v 1.1 2013/09/11 18:00:59 kensington Exp $
EAPI=5
CMAKE_REMOVE_MODULES="no"
inherit elisp-common toolchain-funcs eutils versionator cmake-utils virtualx
MY_PV=${PV/_/-}
MY_P=${PN}-${MY_PV}
DESCRIPTION="Cross platform Make"
HOMEPAGE="http://www.cmake.org/"
SRC_URI="http://www.cmake.org/files/v$(get_version_component_range 1-2)/${MY_P}.tar.gz"
LICENSE="CMake"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
SLOT="0"
IUSE="emacs ncurses qt4 qt5 vim-syntax"
REQUIRED_USE="?? ( qt4 qt5 )"
DEPEND="
>=app-arch/libarchive-2.8.0:=
>=dev-libs/expat-2.0.1
>=net-misc/curl-7.20.0-r1[ssl]
sys-libs/zlib
virtual/pkgconfig
ncurses? ( sys-libs/ncurses )
qt4? (
dev-qt/qtcore:4
dev-qt/qtgui:4
)
qt5? (
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
)
"
RDEPEND="${DEPEND}
emacs? ( virtual/emacs )
vim-syntax? (
|| (
app-editors/vim
app-editors/gvim
)
)
"
S="${WORKDIR}/${MY_P}"
SITEFILE="50${PN}-gentoo.el"
VIMFILE="${PN}.vim"
CMAKE_BINARY="${S}/Bootstrap.cmk/cmake"
PATCHES=(
"${FILESDIR}"/${PN}-2.6.3-fix_broken_lfs_on_aix.patch
"${FILESDIR}"/${PN}-2.6.3-no-duplicates-in-rpath.patch
"${FILESDIR}"/${PN}-2.8.0-darwin-default-install_name.patch
"${FILESDIR}"/${PN}-2.8.7-FindLAPACK.patch
"${FILESDIR}"/${PN}-2.8.8-FindPkgConfig.patch
"${FILESDIR}"/${PN}-2.8.10-darwin-bundle.patch
"${FILESDIR}"/${PN}-2.8.10-darwin-isysroot.patch
"${FILESDIR}"/${PN}-2.8.10-desktop.patch
"${FILESDIR}"/${PN}-2.8.10-libform.patch
"${FILESDIR}"/${PN}-2.8.10.2-FindPythonInterp.patch
"${FILESDIR}"/${PN}-2.8.10.2-FindPythonLibs.patch
"${FILESDIR}"/${PN}-2.8.11-FindBLAS.patch
"${FILESDIR}"/${PN}-2.8.11-FindBoost-python.patch
"${FILESDIR}"/${PN}-2.8.11-FindImageMagick.patch
"${FILESDIR}"/${PN}-2.8.11-more-no_host_paths.patch
)
cmake_src_bootstrap() {
# Cleanup args to extract only JOBS.
# Because bootstrap does not know anything else.
echo ${MAKEOPTS} | egrep -o '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' > /dev/null
if [ $? -eq 0 ]; then
par_arg=$(echo ${MAKEOPTS} | egrep -o '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' | tail -n1 | egrep -o '[[:digit:]]+')
par_arg="--parallel=${par_arg}"
else
par_arg="--parallel=1"
fi
tc-export CC CXX LD
# bootstrap script isn't exactly /bin/sh compatible
${CONFIG_SHELL:-sh} ./bootstrap \
--prefix="${T}/cmakestrap/" \
${par_arg} \
|| die "Bootstrap failed"
}
cmake_src_test() {
# fix OutDir and SelectLibraryConfigurations tests
# these are altered thanks to our eclass
sed -i -e 's:#IGNORE ::g' \
"${S}"/Tests/{OutDir,CMakeOnly/SelectLibraryConfigurations}/CMakeLists.txt \
|| die
pushd "${CMAKE_BUILD_DIR}" > /dev/null
local ctestargs
[[ -n ${TEST_VERBOSE} ]] && ctestargs="--extra-verbose --output-on-failure"
# Excluded tests:
# BootstrapTest: we actualy bootstrap it every time so why test it.
# CTest.updatecvs, which fails to commit as root
# Qt4Deploy, which tries to break sandbox and ignores prefix
# TestUpload, which requires network access
"${CMAKE_BUILD_DIR}"/bin/ctest ${ctestargs} \
-E "(BootstrapTest|CTest.UpdateCVS|Qt4Deploy|TestUpload)" \
|| die "Tests failed"
popd > /dev/null
}
pkg_setup() {
# bug 387227
addpredict /proc/self/coredump_filter
}
src_prepare() {
cmake-utils_src_prepare
# disable running of cmake in boostrap command
sed -i \
-e '/"${cmake_bootstrap_dir}\/cmake"/s/^/#DONOTRUN /' \
bootstrap || die "sed failed"
# Add gcc libs to the default link paths
sed -i \
-e "s|@GENTOO_PORTAGE_GCCLIBDIR@|${EPREFIX}/usr/${CHOST}/lib/|g" \
-e "s|@GENTOO_PORTAGE_EPREFIX@|${EPREFIX}/|g" \
Modules/Platform/{UnixPaths,Darwin}.cmake || die "sed failed"
cmake_src_bootstrap
}
src_configure() {
# make things work with gentoo java setup
# in case java-config cannot be run, the variable just becomes unset
# per bug #315229
export JAVA_HOME=$(java-config -g JAVA_HOME 2> /dev/null)
local mycmakeargs=(
-DCMAKE_USE_SYSTEM_LIBRARIES=ON
-DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
-DCMAKE_DOC_DIR=/share/doc/${PF}
-DCMAKE_MAN_DIR=/share/man
-DCMAKE_DATA_DIR=/share/${PN}
$(cmake-utils_use_build ncurses CursesDialog)
)
if use qt4 || use qt5 ; then
mycmakeargs+=(
-DBUILD_QtDialog=ON
$(cmake-utils_use_find_package qt5 Qt5Widgets)
)
fi
cmake-utils_src_configure
}
src_compile() {
cmake-utils_src_compile
use emacs && elisp-compile Docs/cmake-mode.el
}
src_test() {
VIRTUALX_COMMAND="cmake_src_test" virtualmake
}
src_install() {
cmake-utils_src_install
if use emacs; then
elisp-install ${PN} Docs/cmake-mode.el Docs/cmake-mode.elc
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
fi
if use vim-syntax; then
insinto /usr/share/vim/vimfiles/syntax
doins Docs/cmake-syntax.vim
insinto /usr/share/vim/vimfiles/indent
doins Docs/cmake-indent.vim
insinto /usr/share/vim/vimfiles/ftdetect
doins "${FILESDIR}/${VIMFILE}"
fi
}
pkg_postinst() {
use emacs && elisp-site-regen
}
pkg_postrm() {
use emacs && elisp-site-regen
}

@ -1,2 +1,3 @@
DIST hedgewars-src-0.9.18-3.tar.bz2 180719233 SHA256 75cb5de74c480eb295d06a4a2db37fcc57560a464870f15989cf6bdf0e937daa SHA512 cdbcb160d062412386029d12b35c1167f20701c867386ddfaa8b470d1c0c97e8bed6d467f161b7ae5e7b520ea7c63178e30bef2cefc64895daa404f560543ccc WHIRLPOOL 96b6354970e0ae5d724bd13639de89256361819888571067e0c21f498ae778e582d43abdd80cf53a0c21788a566e067926aacbf70740de44b5af7192260ee035
DIST hedgewars-src-0.9.19.3.tar.bz2 191688324 SHA256 93adb39268e92b730d1014897bfcf55e0ee46e31b174f769b11408690a33ae90 SHA512 6aeb63e999ecba30af08db9c895b24527c3372558c50e5c58640fcdd0c7d4d800ae35de42f18945b870a4dc20b1f259e6748cc968fd0fdf6575ad6acc5c0aefe WHIRLPOOL dc4bd983ba6066368a8d0d3c14be5bb1aab10169f1fc7d607a4009714d085b8f0ed85670de76f64051a7f2b4cbecadde5cf1aad96254064f80ee48a636f9a582
DIST hedgewars-src-0.9.19.tar.bz2 191557733 SHA256 bfb2f342aa71b71efdacd4154162575a0b39f17507233af2a043324a04314d4f SHA512 96f060e5b04729207b8f1deaec0b37f5d02829aab525fa645c44cd277a9785534a78bbd87b3de5eb6c35f6575bab8d1cbbd920e653aa362fe5805024998f0753 WHIRLPOOL b6e92ae644db517e666b7d86e132312ae3e8521f54317e9b720e7cf0a5f56c0e617ef8e4ed075263619f0980ba757a2ab1308ff8492ec7d0381db0215813b2bb

@ -0,0 +1,67 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-strategy/hedgewars/hedgewars-0.9.19.3.ebuild,v 1.1 2013/09/11 12:46:44 hasufell Exp $
# TODO: when physfs-2.1.0 hits the tree, set
# -DPHYSFS_SYSTEM=ON
EAPI=5
CMAKE_BUILD_TYPE=Release
inherit cmake-utils eutils games
MY_P=${PN}-src-${PV}
DESCRIPTION="A turn-based strategy, artillery, action and comedy game"
HOMEPAGE="http://hedgewars.org/"
SRC_URI="http://download.gna.org/hedgewars/${MY_P}.tar.bz2"
LICENSE="GPL-2 Apache-2.0 FDL-1.3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
QA_FLAGS_IGNORED=${GAMES_BINDIR}/hwengine # pascal sucks
QA_PRESTRIPPED=${GAMES_BINDIR}/hwengine # pascal sucks
RDEPEND="
dev-lang/lua
dev-qt/qtgui:4
media-libs/freeglut
media-libs/libsdl[audio,opengl,video]
media-libs/sdl-image[png]
media-libs/sdl-mixer[vorbis]
media-libs/sdl-net
media-libs/sdl-ttf
sys-libs/zlib
virtual/ffmpeg"
DEPEND="${RDEPEND}
>=dev-lang/fpc-2.4"
RDEPEND="${RDEPEND}
>=media-fonts/dejavu-2.28"
S=${WORKDIR}/${PN}-src-${PV}
src_configure() {
local mycmakeargs=(
-DMINIMAL_FLAGS=ON
-DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}"
-DDATA_INSTALL_DIR="${GAMES_DATADIR}"
-DNOSERVER=TRUE
-DCMAKE_VERBOSE_MAKEFILE=TRUE
-DPHYSFS_SYSTEM=OFF
)
cmake-utils_src_configure
}
src_compile() {
cmake-utils_src_compile
}
src_install() {
DOCS="ChangeLog.txt README" cmake-utils_src_install
rm -f "${D}"/usr/share/games/hedgewars/Data/Fonts/DejaVuSans-Bold.ttf
dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf \
"${GAMES_DATADIR}"/hedgewars/Data/Fonts/DejaVuSans-Bold.ttf
newicon QTfrontend/res/hh25x25.png ${PN}.png
make_desktop_entry ${PN} Hedgewars
doman man/${PN}.6
prepgamesdirs
}

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-base/gdm/gdm-3.8.4.ebuild,v 1.2 2013/09/08 10:17:13 pacho Exp $
# $Header: /var/cvsroot/gentoo-x86/gnome-base/gdm/gdm-3.8.4.ebuild,v 1.3 2013/09/11 14:20:02 pacho Exp $
EAPI="5"
GNOME2_LA_PUNT="yes"
@ -13,7 +13,7 @@ HOMEPAGE="https://live.gnome.org/GDM"
LICENSE="GPL-2+"
SLOT="0"
IUSE="accessibility audit fallback fprint +gnome-shell +introspection ipv6 plymouth selinux smartcard tcpd test xinerama"
KEYWORDS="~amd64 ~arm ~ppc64 ~sh ~x86"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sh ~x86"
# NOTE: x11-base/xorg-server dep is for X_SERVER_PATH etc, bug #295686
# nspr used by smartcard extension

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome/gnome-3.8.0.ebuild,v 1.3 2013/08/01 02:50:27 tetromino Exp $
# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome/gnome-3.8.0.ebuild,v 1.4 2013/09/11 14:23:00 pacho Exp $
EAPI="5"
@ -12,7 +12,7 @@ SLOT="2.0" # Cannot be installed at the same time as gnome-2
# when unmasking for an arch
# double check none of the deps are still masked !
KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE="accessibility +bluetooth +cdr cups +extras +fallback"

@ -0,0 +1,58 @@
From 2e5a2450762f8dedf9ffd77028ed06b3a39a807d Mon Sep 17 00:00:00 2001
From: Weng Xuetian <wengxt@gmail.com>
Date: Mon, 9 Sep 2013 11:43:06 -0400
Subject: [PATCH] Delay KDE class initialization to main loop
Gui platform plugin is loaded during QApplication construction, but it
relies on some KApplication/QApplication data to work correctly.
This patch delays the initialization to main loop, to ensure
KApplication/QApplication is already constructed.
BUG: 324574
FIXED-IN: 4.11.2
REVIEW: 112602
---
qguiplatformplugin_kde/qguiplatformplugin_kde.cpp | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/qguiplatformplugin_kde/qguiplatformplugin_kde.cpp b/qguiplatformplugin_kde/qguiplatformplugin_kde.cpp
index ce22622..4f67cc5 100644
--- a/qguiplatformplugin_kde/qguiplatformplugin_kde.cpp
+++ b/qguiplatformplugin_kde/qguiplatformplugin_kde.cpp
@@ -28,6 +28,7 @@
#include <KDE/KFileDialog>
#include <KDE/KColorDialog>
#include <QtCore/QHash>
+#include <QtCore/QTimer>
#include <QtGui/QFileDialog>
#include <QtGui/QColorDialog>
#include <QtGui/QApplication>
@@ -153,9 +154,7 @@ class KQGuiPlatformPlugin : public QGuiPlatformPlugin
public:
KQGuiPlatformPlugin()
{
- connect(KIconLoader::global(), SIGNAL(iconLoaderSettingsChanged()), this, SLOT(updateToolbarIcons()));
- connect(KGlobalSettings::self(), SIGNAL(toolbarAppearanceChanged(int)), this, SLOT(updateToolbarStyle()));
- connect(KGlobalSettings::self(), SIGNAL(kdisplayStyleChanged()), this, SLOT(updateWidgetStyle()));
+ QMetaObject::invokeMethod(this, "init", Qt::QueuedConnection);
}
virtual QStringList keys() const { return QStringList() << QLatin1String("kde"); }
@@ -340,6 +339,13 @@ public: // ColorDialog
}
private slots:
+ void init()
+ {
+ connect(KIconLoader::global(), SIGNAL(iconLoaderSettingsChanged()), this, SLOT(updateToolbarIcons()));
+ connect(KGlobalSettings::self(), SIGNAL(toolbarAppearanceChanged(int)), this, SLOT(updateToolbarStyle()));
+ connect(KGlobalSettings::self(), SIGNAL(kdisplayStyleChanged()), this, SLOT(updateWidgetStyle()));
+ }
+
void updateToolbarStyle()
{
//from gtksymbol.cpp
--
1.8.3.2

@ -0,0 +1,14 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/qguiplatformplugin_kde/qguiplatformplugin_kde-4.11.1-r1.ebuild,v 1.1 2013/09/11 17:06:15 kensington Exp $
EAPI=5
KMNAME="kde-workspace"
inherit kde4-meta
DESCRIPTION="Helps integration of pure Qt applications with KDE Workspace"
KEYWORDS=" ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE="debug"
PATCHES=( "${FILESDIR}/${P}-missingicons.patch" )

@ -1,11 +1,11 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-misc/kanyremote/kanyremote-6.2.ebuild,v 1.2 2013/09/05 18:45:03 mgorny Exp $
# $Header: /var/cvsroot/gentoo-x86/kde-misc/kanyremote/kanyremote-6.2.ebuild,v 1.4 2013/09/11 15:46:19 kensington Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
inherit autotools python-single-r1 base
inherit autotools python-r1 base
DESCRIPTION="KDE frontend to Anyremote"
HOMEPAGE="http://anyremote.sourceforge.net/"
@ -16,28 +16,40 @@ SLOT="4"
KEYWORDS="~amd64 ~x86"
IUSE="bluetooth"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
>=app-mobilephone/anyremote-6.0[bluetooth?]
dev-python/PyQt4[X]
kde-base/pykde4
bluetooth? ( dev-python/pybluez )
dev-python/PyQt4[X,${PYTHON_USEDEP}]
kde-base/pykde4:4[${PYTHON_USEDEP}]
bluetooth? ( dev-python/pybluez[${PYTHON_USEDEP}] )
"
DEPEND="${RDEPEND}
sys-devel/gettext
"
REQUIRED_USE=${PYTHON_REQUIRED_USE}
src_prepare() {
# using gettextize no-interactive example from dev-util/bless package
cp $(type -p gettextize) "${T}"/
sed -i -e 's:read dummy < /dev/tty::' "${T}/gettextize"
"${T}"/gettextize -f --no-changelog > /dev/null
# remove deprecated entry
sed -e "/Encoding=UTF-8/d" \
-i kanyremote.desktop || die "fixing .desktop file failed"
"${T}"/gettextize -f --no-changelog > /dev/null
#fix documentation directory wrt bug #316087
# fix documentation directory wrt bug #316087
sed -i "s/doc\/${PN}/doc\/${PF}/g" Makefile.am
eautoreconf
# workaround to bluetooth check when bluetooth use flag is disabled
! use bluetooth && epatch "${FILESDIR}/disable_bluetooth.patch"
# disable bluetooth check to avoid errors
if ! use bluetooth ; then
sed -e "s/usepybluez = True/usepybluez = False/" -i kanyremote || die
fi
}
src_install() {
default
python_replicate_script "${D}"/usr/bin/kanyremote
}

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/hal-flash/hal-flash-0.2.0_rc1.ebuild,v 1.1 2013/08/06 16:53:22 ssuominen Exp $
# $Header: /var/cvsroot/gentoo-x86/media-libs/hal-flash/hal-flash-0.2.0_rc1.ebuild,v 1.2 2013/09/11 11:45:26 ssuominen Exp $
EAPI=5
inherit autotools eutils
@ -13,7 +13,7 @@ SRC_URI="http://build.opensuse.org/package/rawsourcefile/devel:openSUSE:Factory/
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE=""
COMMON_DEPEND="sys-apps/dbus

@ -1 +1 @@
Wed, 11 Sep 2013 10:06:56 +0000
Thu, 12 Sep 2013 05:36:56 +0000

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save