parent
3e8a981548
commit
9e4b8b12f5
@ -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
|
@ -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)"
|
||||
}
|
@ -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
|
||||
|
@ -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
|
||||
}
|
@ -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
|
||||
}
|
@ -1,14 +1,20 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX build-docbook-catalog-1.19.1-no-flock.patch 889 SHA256 e2f8b79bbfe03e310508d6f300382530bab95adcfdef8fe1a88593868c3265a0 SHA512 5909e416520e74509001e2ee592699c2163646246cdcefb592be831381c25b3dda3dc0cc0605fee5633bb225a7e17419896601ba33628c8856eecf73e450c812 WHIRLPOOL 8bc2eb13e4051e02e7701e802483139341cf6dec65d080df68f6870e926edd9d156c75ac19fcf08215d3f1448bfdd6d1ffba34cfb661a5e015a7f6dc62d15a4d
|
||||
DIST build-docbook-catalog-1.19.1.tar.xz 4552 SHA256 78c3c6f2e4703d5fd7f24bc737777fadfd52a0d2f7bf4bbdc217cb927721a149 SHA512 9c4b1a30d8b2f820046cf987296035a1418fa55f47c2adc6702cdaa3a01efc8584bdc6804889cf13a85bb1f30b129af5c62ecf8a7376d56d0738f717619ddcc3 WHIRLPOOL c219b126a570ba42e6ed78ccfe8fa581f929bd6562332d2722c33f167831841ffc32e3a919342af6f38c1babeeb6e42172da7c580046a692eae5777f630c2e57
|
||||
EBUILD build-docbook-catalog-1.19.1-r1.ebuild 1562 SHA256 8088de5df99190c94c98a873c1dc914766e6567904b0472e955125e937eec9c6 SHA512 d20b76343b936e0660afec3391daca237159c3a6fc92c7b838ae7855833ca7f0aed37546cba699299df6285d6ab808fb80e2e870f889f4cf396f244b53639cb9 WHIRLPOOL d247fb433e11456212cd5fd1947b4fd9bc74707162951a3a372094849dd7b4145f48c0b6f16fac4b86aefcc9078a9d0af8ddccee26900d2447b5dc37957bd48c
|
||||
EBUILD build-docbook-catalog-1.19.1.ebuild 907 SHA256 8bf98f77254c6e50b2b9a9928ae528719ab5862c9dab7152821d4c424b9c2da2 SHA512 e7e686ad48d61b98f8cf2332a2cf696747f7cd345c71aabb239f3db7f08b9c572193c9cfe8f229f0892e2760497c47c0f737aabef9ed7829f08ff12ddbab616e WHIRLPOOL c4869d8222183c5f8f6c9b18d28a0c4e0d2dff726f083b59f7da0f195aa2a9be372b0ef98514df86cf72b79ef49ba13509798bf45934f12ec8431ba3c1f0dd85
|
||||
MISC ChangeLog 5956 SHA256 436e644e215bdfe176449c84c562e19cae00978caa36a61ab138d2aa2c7fa78d SHA512 dffd4be4c23186b7fbdfc067d74a69e7f23c942b9b9c7b32044a093ef5f0d5a0ab7a89e8e3a8f027936319f40ac53def282c9eafc87a239a832cd5c615675bf2 WHIRLPOOL 209c097f351da32592e9208a52eb9db0dd8e6d8139677e8493eb9ca5911748fb2ab78a41c9fc0e52a1384f7065baf6350fbd142a2776b065e5422fc1e2a9da4f
|
||||
MISC ChangeLog 6180 SHA256 5f93d60d0af81e792c484469977b35429740e0b0ca650bff492ca9eee1222a52 SHA512 f18b676ece32bbf4fcbe32e8b0cf390ec546e782e31019c5fca3bd82261d530479ff3a2994a5826164ed0f3bc0cb9e71654685abf43fe278b967159cbc986e76 WHIRLPOOL 8d94b30da827e02fd34ca23f32273d7630b5f9a1493dcd5a7b661dec41b20835ea173bc98cf3428f86e98dd0fe027103725753b1379ff68a988546d679456d1a
|
||||
MISC metadata.xml 208 SHA256 98f8aa3fb70533eeab6b09d5bc30bd8f649ec13d9b04363490082fb87bb6032e SHA512 d5a7f3cb2fe57f8d7783ba358068648b122d9f5de81a17bff61ce600e42b6487e6f7e2a62c8be95cc7021cb3ea88716824b1ad0565da922ea753bea2417b3d3d WHIRLPOOL e38a6cdef2acb3efdc182efde482593790f773ab3bb9b66cced3af47e4ab39368757e17c4352c6cacaefa338341db88c3bcc3ffcd32aabd7984c5b19051a7bb7
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.20 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlHrsJEACgkQCaWpQKGI+9RoFgCfeIdrb7YMkGU0/gLtNeUxqclE
|
||||
AOcAn15xuCxCsGBehfkmPtXA8e7hszjX
|
||||
=+xwG
|
||||
iQEcBAEBCAAGBQJSMMxQAAoJEOeBhlrCAAWG5xIH/Rj3HEyKOwcHdtMGu25g2eqL
|
||||
/EkJY7fdNc1lC7wYA7xQU4WnAF3y8qdEUSjZmkBv+8XaZtTFOxVI1kBK2IGf5NEw
|
||||
qrzWfKB0k4XUQdD5jnkkKZDOm23pEpQeA4Zv96hlvfI244C+kGrDORxEHc14l3Pk
|
||||
FNcjeBJcpLMTmObKihdjUIuunHIVbGOEx6Sw5utNARaHKMiithGifOnFptMKOEfa
|
||||
KqDi7MR0+Wql/FCVvYDuV+6oav3YEzafp9t1cHvlWpWAUlmkDaZVvKOOsDi2DgCE
|
||||
XG89beX6a/YfhnzxU6kjQpmuw+frDD1TFhAvJOIFta+9ZcyIuQDle8BX9O5kYxg=
|
||||
=eOZa
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -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,9 +1,21 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX vilistextum-2.6.7-gentoo.diff 770 SHA256 a9d58adaf0d9b9813f45b0658db97b9ee2b43de230b629cdbb78f079398fb587 SHA512 7a7831993fcbf1023756909d7ca575b93eb373a1e4bf34025491ff9a5169c1a64cf1ed22a1505d907c66056c8a53ad098eeb0d8511c8619ff0d7d1de67d62583 WHIRLPOOL bd0d0e39602382a6a5619a5e4133c4b2d60ff08df26d90cf2b0e8833cc728c7e36a9638966b76698f1aae436c6ffc5b75c8205ebc0ce1e7f5aa7e224fa33de37
|
||||
AUX vilistextum-2.6.7-use-glibc-iconv.diff 16367 SHA256 01d2c7ba44ffa7b3ef0aaed163820fa25881b6ab4d383fa79364a9fd1965baaf SHA512 6fffecc9542c5818463f12fdefb7ced030761c700b8163f457d78c1844e6815b90af9ced5149b78874560ca95257882dad64179c84849bfc6ae8bcd23aee83ad WHIRLPOOL 6e5b8e949d0eadc090f2300acd1ac27f35df2533d1b8e91d4389ddc1dca9bd4f18a1714661ce7ad65e7ee9a11498fbde9bf708a1c9518fd00b0ef435dde7d7ca
|
||||
AUX vilistextum-2.6.9-blockquote.patch 2688 SHA256 393594f39d3695a9e218570fbe8ddd07240a45770871bd4af4d5e7e393513e96 SHA512 f7ecfd1466dbc729a87d816a40bbea97d896bb074619b5901abee238713bcb2e5763409459ce568685449b55b8adb5c272b858b3d3574e39bbd4f79fc4f4108e WHIRLPOOL d641a0fcf9cc119557ba34cfffe42c36437ce9a45d8b8c07cbcd1462a7e87d2d672c04a55b32ce469cf9b25a47063734a400b897aea0f8b9bb515b1867918f88
|
||||
AUX vilistextum-2.6.9-darwin11.patch 615 SHA256 e24b52353bb9e9f40d560b246238cd697b17fd98e1238b5d91893e7df605121d SHA512 35aeec20cb7e6ba1668d97f041bbd5b98712589eaaf0ab70a59d3a7df74e0d2e67abbab3a27c7c5ee5f6fe9d61f11610686df3459f0cb401cca03f3f671309ac WHIRLPOOL c0ded53e7621fea36ac2ac3229bb78eacf7b103d3bf74524c3d6bb0a5b5ca26407380000d7f52a9dd78c0c32aa187fe40506c55736dc121f4dd9311238962c23
|
||||
AUX vilistextum-2.6.9-gentoo.diff 763 SHA256 39bce048c11e797c2d0eaaa5e83eff0ddc1832a4c617bbca382c87b1ee12fe0a SHA512 b4c49ff27598cedeb06058d3237ea8ebc59a4df9031818f98b5fb22225733d94b820b892541dbddc38c28c08a62ff6f52ef8278c016522b1db95352653178b21 WHIRLPOOL 2b3d83a7827bca828aa01184949ba866946d3bda27c59e32fb1776ad346587dd608c87edaa098dfb53b34352e7d028d070ca3d6ce27eb0f55b424512ad7bf690
|
||||
AUX vilistextum-2.6.9-prefix.patch 837 SHA256 a1420515275ca09057abef458940311b9a3a3fd411cfca2cbcead0548834a75b SHA512 6f913d283542bfea02d062f872dc2471e7ea2bc4c29ddb8893aecb9abeb36e6cc821c393217a92421e6888f7c25aa072bfc16c56a69a40593ed504245d8cd187 WHIRLPOOL cf922064cc717d7acfe583e35cea6ba8454f825f65f4cabb09971e8f70b38c64b2d0c37c583f7f0361a7b6015a3c873cc2ecce2300363ea3b9ce5f0fd17738a6
|
||||
DIST vilistextum-2.6.9.tar.bz2 147743 SHA256 dddf05b4b9dbb408ea37b5654666f8cf57b5c1da0dd722de763bc86788723d0f SHA512 ce76a4061b766e4544d1a86986333314a3b6959439ba6995a2977c10b01b0142c524d4b215c3272a1dcfcc4f5b6fda03210de95d65cedecfc6a1c940cedf487d WHIRLPOOL b9b6011763143c49a0e5496a42102173b4aa5d16b6c21ccf60d3018ce7c3c7b86b54fc3cbe8bf58b1a3344de498768d79c9ebc7e5c2b3f0a51d822c45e69a56b
|
||||
EBUILD vilistextum-2.6.9-r1.ebuild 2053 SHA256 6db190adadb76d4e4164b0d4a073b1ae077e109cd5e06e4d0647e94496ce243a SHA512 6530158b702ba3dbd6e1cfc06b9c818607da5bb0057eebe466ec1436d63bb8963bf10c284a10b3db272b5b22460721a02a93ae6f4d7b9f5e674a0b3196b46e0f WHIRLPOOL ce9120697a43b9a75c9e0714310256d7bc82cefb886b288bc93eb402ed343a844468909bf308d9d254399b6d285ff3460e4ed2b3da48539310ddc529c5e090eb
|
||||
EBUILD vilistextum-2.6.9.ebuild 2007 SHA256 dd45ab059bba26d60bc0b479ba3fe01cafc52f1c0a5e23c0cc8d69bd9f57346d SHA512 478b8bfb9a6cd7b6ee8d76c8245d8c929355ead8eafd33ec9c2c951646c24ae7d0df6125cbf596f8f5ae2ae2ef808a3ce1240161a5a0ecd7f89a7716cddffa60 WHIRLPOOL cbf7e7b5c34d332bc31e68b6dc98187c2c68cdc0a27e43a0d1eb96766d4dbbbb9fd2840f84c1b39b95ed6d821c68e8c3cfb73b5d4583efcc8294e18ac67a5ae4
|
||||
MISC ChangeLog 5047 SHA256 2bd6159ba587a2b36e348ced62ef96ea2cd53cad4220bfce5a7d917f5e043aa6 SHA512 a6449a305ce1f5965d039cc5557df0ecdcd3dbce83a67a31f0a57ca4d48f26efdb4340c7ee6319adcb676997a2012bc6d37d01f6465d5bfc58989a16290288e0 WHIRLPOOL abbd6d987b8696c1ddc699c498f5a5a935ad435e33149e5a6cb1665f3eff31704281888b73f487c8130205abac42428c9ee6a94634af95a4163208887a53e475
|
||||
MISC ChangeLog 5256 SHA256 6ba8fbb63c1cf9a0c7040f761401655147131691fe0fdad8ea8e295a748be1ae SHA512 af6b861f07c6d46b105ef58918a7208179c6df10c036825140966df2413d17b6fd3bf64664197d7b08c51fd98c390737b65f02537baff86ed88e497120e0899c WHIRLPOOL 39705af666922ad99f7ea7e42132e09db5eb0e62cc10357aa11b6e226ce457b7f8e077c35724a7defbdd3650f9b1608f7ea1270bbfc8b861360692040f0cb42c
|
||||
MISC metadata.xml 165 SHA256 75ca85c472d4181ae0de529c83826baaebe75d9e750ee6621758b5096bceffcd SHA512 d99326d50355f1fa041618844027c043a114e7e63dec3c2d6c0c6023a5863bde8e62706bed974a394e21ce2e64ddf5539750c30e5913dacb39ed37cfd62e6eb3 WHIRLPOOL bb8b8cc1c4d9312dfe9015934c3c315a1ea6b9b6da2db22b231b434fd144ee7690ec2e242a1fba9c8e601610dc5cc9061c1995dd33c5b59c78a19a71f71d7a76
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.21 (SunOS)
|
||||
|
||||
iEYEAREIAAYFAlIwqHEACgkQX3X2B8XHTokDfQCdGqyUpmXvItZPwIi8hhftHzzZ
|
||||
kUIAn0V00ZU9x9JTFYn01raegzTaTvW6
|
||||
=Qzy2
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -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
|
||||
}
|
@ -1,26 +1,22 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX python-mode-0.6.18-dont-add-cwd-to-syspath.patch 496 SHA256 6179613855dc9e394f94d8e675f39277ad1e9e78e6388f09f44ee4ed44e4cbba SHA512 3008c54ec29aa0c6f9a96874bf970ddf6264b26090df55336a493ac4d69f52a8e2cb938323c064c158dc6fa7f8b94f5ae1d4761fc4b093c14bb7664e9a196696 WHIRLPOOL 58d6b5daf47bb3e69b55c6d8b57e44fb70fa0b630ee984240b2078686bd9683e3f341bc0b2ff19a2d96e7ac0034253cd9b364fc6dfc6820f147d3a6cfe307333
|
||||
DIST python-mode-0.6.10.tar.gz 474266 SHA256 ed97b9c260cafa38e01d1bc988e611df8a4681922e3ba4022e5ccac692b8f583 SHA512 562d91a377e783b2cf2583910f4c6b0e8530be9533b513198f5ac97e7581672f95f69e752d391d2a6ad9ac0621c967bc46c02f79fdc38d25172f14267fe27f7e WHIRLPOOL 404458e298ab3c093c031ac00cf43e66652a8054fecfb4d2c481d73a2efbb6949409545f5269bcb43f519b19a27dd8b68fb75a166dce1e78d49e1899bfe17901
|
||||
DIST python-mode-0.6.18.tar.gz 386846 SHA256 d46ff14b7ee639b698d1b0ae0e7ca0dcfa95a315ffb25e523ae720461f399c1d SHA512 0e3159a055304443c8b15590c424ac0f4a4303e343882ff91f01f5b959274931dea83969ab1dcd19ce95894c7da5be60699d51b852dc73165a99a271feec4e64 WHIRLPOOL 1a6114999c1b832335268dd7dd3e9ebfd48ce9e35cdc7058e4a1011d3ac0aeb36df85ab52599460e449c0ee645303aca17a8ecb44533a5d137a9b904c426b1da
|
||||
EBUILD python-mode-0.6.10.ebuild 1556 SHA256 6b8c70c856c10a7ad72daca504048c8dbf4b62cd6bd1cb981941b3dad857656d SHA512 ab288a06653158ec322aeeedba8532f057a260c2ddca307506c593f945f98b33adf1b6f7fa61cc3458277e6323514d7351a8d632b5bd97d334f0a8cbfb7b7594 WHIRLPOOL 75f72d0f1b7176b7d3044ff2b5b5e369b478259086b7a9797d3fd8f1753c2e8c9e1b62d1b8e555ee5573a28a19baaca1c0bcd617f2bfa5b2760275c16f65ddeb
|
||||
EBUILD python-mode-0.6.18-r2.ebuild 1617 SHA256 6a73138d7abfcf3d5f343fefd7b3c3abdf4dfc757e87ba8cc28838329a3872d5 SHA512 b14af4bdfcdfe3ae7e0784bd0f0a1305970d23dd1cda4c671b4c4cc1a16209e9896f6c51c8dca47bc69e1e7019e2a8be72601da354aee1c8ff596ff42c316c62 WHIRLPOOL c2d1cbb70de3ce87ec110a4cb57a2f90138e9160f98658555578892fced264cf6583776ade6b0fa8fa59523194f40aa5e3f79daf5da0fadd7024be7db705d2a4
|
||||
MISC ChangeLog 1828 SHA256 c43f78135a9f4bf5b68f98a1c565307a792f7dbe81d5f09e96e3ccda06254186 SHA512 7c07d69a0a06461681cc157a474096180e240fae9e3a001fc9444fe835d30d3adab04e37e08fe9b982da61e2d5652d9913c2c2c90d57164b79104efe72c3bf7c WHIRLPOOL 30c1aefd9a653b2202d014733734dbc3b3da3a87c857cb0cf5b04e4fa6bb2cce04d4723df0d6f92f4b186448752aaca149ec89241a6d851ef4e9b1fe5ebab243
|
||||
EBUILD python-mode-0.6.18-r3.ebuild 1681 SHA256 0f974be4995ef8dc8ac77c0543475c8cdd7d1ec8647e25161d16a6b1de25c118 SHA512 3701e82cda656c9eae82882e26cb8bd19bcd6783d66b1bdbb77f1601c4ec2d412d645250d97d706c905f18709a61d7f4358ae3b3b3cab401080fdef2d53e2cc8 WHIRLPOOL bdcc8b7eefe87dc9b265e07ad3961eded3c534dffefeca4ea415317b6b8ada5ecf48a49519df9774ee9c066742abcfa55c6fe1a56003b8d072eaddd0beaf2e74
|
||||
MISC ChangeLog 2119 SHA256 409d182c87dfc83793e1cea722268af8349bf10aa26e534a9427b3fbaab62735 SHA512 42ed011df60d946410a9dbf0c218b0a0a07ae3139aecc57e95c1d4317d373a934cc61781aafbb674f0836d73decf77e71cb6f8f02ba13ec682b3c8aa664cf01b WHIRLPOOL a8a96e57df82c1f9cd24a09faca0e59e4747eadbb39e843220fe923b98a74a376e0f499e2074235cb36729cb6592979515c16c953bd673c590b67da172d72c34
|
||||
MISC metadata.xml 515 SHA256 f5670d6b408e4126cf1d102ab35753c4ca7f2d6b702d782d729f10993af33a33 SHA512 a0eba9bd212d0c99d78873b995bc717f8bf641296455256b210eb882a9808618cc7cc02c15ddac30d2d2e18582f88c193d5f70c8c59d007e873fa612b7f1b9de WHIRLPOOL 6737017aca5f289d021186fde0693a613188e49407e2cb73ba9f05518fd602c8474aed51f5c95b032cef1a32fa1d73bdfff26822d108f81d9b373fc3a2e2620d
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.20 (GNU/Linux)
|
||||
Version: GnuPG v2.0.21 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCAAGBQJR1SnFAAoJEF0huFKJUZL5Fi4P/jYNY3A+PyiswsGGUaIZ3/3e
|
||||
YsZQ/45KgH73KZHyw7dUa/cimPpHO9r+0JOU5XiEICzPz5R4NWUK6QXvrcYL7K3v
|
||||
IfzXBiOr2hGW5OhyUjSlA78bDgnUTLrGK5302AR9QlmVlFWnufYFVaxLnx+grr8R
|
||||
H++kTxSbOMb/UtGSL0umLprjngxlmJR3xPxf2AWzJ6qcrgs8lvXo/lj4FDRzxO5E
|
||||
E1vaofqdTf8jUbKPfCkCU3/b05paMaa1Zlw1CDS6TgTHWXMeZN99W6Zs8jZyWYvi
|
||||
LReuwPfjWdvG4hVFRjjESPNkFbo4AHbDOyljucIko9S0arXOgGo2KEOO12eMLEx3
|
||||
9GkXCP6eYpYOj8x6ea/SCEATuSx++82G5qp1z0iHAdkyP2IL+9sBu1b2O9Qihq3B
|
||||
TTuXTJnYR1vOKdB0vDY8HIdHvAF+vFwZLlrc/meePNXApyRGbuBVLhMi1TEtDn1u
|
||||
GOl3OlTboK83O1TeBbSx1i7ozRBPNdSpACDCC4YdBCQoXxZPf/dRNrssxzpS08Jd
|
||||
DE8mPJanjFDJ9flJAGLA1NJdoydKTBh6q0Ed48WcVhRYL0/6/mxTOQb34tsNvR1S
|
||||
fynoKdTfO0D/Q9CIGitDrRHP3Q//rOksykXGNLxgOFTU5E43aA3R41RkZEuyGC5l
|
||||
gCugDuggeEtJguqiP3jq
|
||||
=HLug
|
||||
iQEcBAEBCAAGBQJSMSkpAAoJEEqz6FtPBkyjE0AH/3j3kGapQbCOvPfUnJTYMl0C
|
||||
QZ3SfQDhTU3xpPL0bFoG7/bYECTdmvVS7HnnmdRGsOcnxTgY7VvouPKeLTJEtwPl
|
||||
QVDyxcde1ZY+kh+8LgwXIdtlFvW5BtwI3PJX1fenFcTVhlu6sbrHSQsIYJ52uYSV
|
||||
YA4PHP2mQBKW8mogLxlI2upYzpJ3eJojPso9ms87S5bpbV3zY/IMkXy5qsXZhZrK
|
||||
FVhE+53bFaH+r3GouP4DGaaqPFPUWvNGGabOgrtrRXl9bXAK7lhToKpRBAGIws6R
|
||||
P45gTVBwFuIzKFC5LswKRiTc/Ktp4tHn0X+yvOw2LoeniAHWJEE2GP3NcuXI/hc=
|
||||
=0DPR
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -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."
|
||||
}
|
@ -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" /> -->
|
||||
|
@ -0,0 +1,9 @@
|
||||
# ChangeLog for dev-java/minlog
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/minlog/ChangeLog,v 1.1 2013/09/11 17:33:34 ercpe Exp $
|
||||
|
||||
*minlog-1.2 (11 Sep 2013)
|
||||
|
||||
11 Sep 2013; Johann Schmitz <ercpe@gentoo.org> +metadata.xml,
|
||||
+minlog-1.2.ebuild:
|
||||
Added ebuild for minlog-1.2 - Minimal overhead logging for java
|
@ -0,0 +1,18 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST minlog-1.2.zip 19766 SHA256 cd4d58a97085acc4c3cb4d455584eb4463483d7df822d517f9b3af005e13ca22 SHA512 79c341288fc4c18ceb307011b3591e239d00a356fc78379449bbcc4d93b0355665a4425dd31a23d83c79eeebf19a591b9d3fb34d6107a4a503125dc683b4519c WHIRLPOOL e42c5c61eba879857189855f9e1ee1d3326588d701d67c7c41453e2dda2083adc192f3e6bfdb8a1be45cbd1a53438dc44e4f2356aac0b7f2c3bc178dfb1717bd
|
||||
EBUILD minlog-1.2.ebuild 591 SHA256 1626b8473b3b0618a0cd900445e03a8f72540abf6caae2ab30bbe1cca03fb861 SHA512 7a2d3c754e4dda158a1d36aac1246acdad0b88d4bb23e440f62f3b5a88ba9ebdedc14e089d0f01136f3a1f9d7b680c7c1b850197402024827d580fedb96c8819 WHIRLPOOL f9c5ed47ea86c4740bf47e3176be8073bd8d46595dd3f75a1c158b25891c3f091e8646623d58b9ba59a1d799a372a805fc383e441b381734f27800560ad17a13
|
||||
MISC ChangeLog 381 SHA256 7f9954f80859a71b6f88e9ec854fb0efa65e91cce80ab4148fa96a2a51e91139 SHA512 561b3f89ce12e6e800cc07933f5e837e5e0fc7b0991aac3cd0b1a901cfc413d1d37fa5b12571e213e39a6a819fcdf5f625e4f4cf13fa4b54fbdd625b260b0889 WHIRLPOOL a7f8274f9a8a93e22173ff4dd0b909af24c4e79d7f6ec4491bccd6b36cb20ce8ec838c9382f38143f84cf206e794a6eefb4c9f1b371cd81c66b68a39a59d65ee
|
||||
MISC metadata.xml 235 SHA256 11dbbc5c8600c25a00d6a3e74a22635e48eea0defade8e022f29a6f74487a88c SHA512 1e4d35e8318b9ceaa8a4b878a93c2c1402e5115bc41c94ed78082c0a15055e35cf3ec8fca46d64b0bca5a6cb51584072dcc2eba11df10bfb12e61f46433549f6 WHIRLPOOL c240298617b95907bd3f3eee16083d9cdc55438febc2d3a3427961977555ba958f8953e1751b84e112bc035e547c2b18e0cda4f3cdbbe35287147ba01d0ab0c7
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.20 (GNU/Linux)
|
||||
|
||||
iQEcBAEBCAAGBQJSMKlvAAoJEKCEBkJ3xQHtKL0IAJjUNyQhsnNCF9uEwdqlCnQJ
|
||||
Uk/0UfPTbNIFCeq6Vn58VA58ldCdnpOVT8xU9zgjHGiapQ12Jl0bHIGflaBGLSEs
|
||||
OljnLB9czza6YyDqS/OsLjZfUeYnUPnL+oZdQ7O7OWxfwzwHjp7GnHRMEsz7+JyK
|
||||
SyL/KHMvLwtoficKARMTVXbib/Ppq69GQOZWoD5CyMjjQNJFAZzJk2H9x+MS9Dei
|
||||
lPJEgZRKICC64rZngG2DjQpLVRfw//lt7hBrTLeW5JXzjs6efVhq/3DXn5HfzUeb
|
||||
VSMkm+cEVKyRaRi/zlttylk3z0v2b2md/ToRutzSBtX7XnkD7T28ATZzzntF2Gs=
|
||||
=nbaz
|
||||
-----END PGP SIGNATURE-----
|
@ -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}"
|
@ -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,9 @@
|
||||
# ChangeLog for dev-java/reflectasm
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/reflectasm/ChangeLog,v 1.1 2013/09/11 17:37:01 ercpe Exp $
|
||||
|
||||
*reflectasm-1.05 (11 Sep 2013)
|
||||
|
||||
11 Sep 2013; Johann Schmitz <ercpe@gentoo.org> +metadata.xml,
|
||||
+reflectasm-1.05.ebuild:
|
||||
Added ebuild for reflectasm-1.05 - High performance Java reflection
|
@ -0,0 +1,18 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST reflectasm-1.05.zip 490426 SHA256 758ae79e429c18523eab1dbef3dcdbb2caf401a7b984251d949dbd1488a959c1 SHA512 256632ad1049394d021919784554b9bdf353a329fb32566922978a35a4345bad73f67aa27b3e459facc1f6e2309c0afb2fea2b1e73050bcdee2a5a47c275f9f5 WHIRLPOOL 852348adc18918c51da323e7a1ddffea97fbbbd2ceeb2b5abeebe763e8dbfbce76413e74829601f01c3895641ac35b234df2e849ab2b9b88998d2f2147369f83
|
||||
EBUILD reflectasm-1.05.ebuild 1141 SHA256 e97aa9915fe5461b7c9fd1bcd0571fed0b5a7e6d2220fad14a88f83fffc31f1b SHA512 0eb7f21b13d06945e338cd50e75cc2c99decda19309a2d637192f751d570a0acc970ce55775500395ec1c74b32243387af6e9e67ff9a07bb2135e4974797fa31 WHIRLPOOL 87382c1a0f69919538e82dfd6098a3886b8c5df72bd1fe8afe59dbc4a92218c2f4c76b78519daa72c1ae80b2697f286baac14af79c295ae84878e84a013c57e2
|
||||
MISC ChangeLog 403 SHA256 f697dcd6551c0ff5643b8b3d4e29ca1a86a2afc3922b98876578a785eccb533e SHA512 5f46240ffbb985aadd433be6e80b125173f3e929281325fc68355242c109df405e112b155a4de14f2e04a6dd98bf49231d90dfb56895dc8e38a4cdfd15462351 WHIRLPOOL 485cbae719598e3c5ac282f7a88c67cf62de5c86faefb0059d208f14809bfdfa713ef05c81a97dbad587a0de8a8d6698786cea4337ad7c61f2feca87ba0a4a02
|
||||
MISC metadata.xml 239 SHA256 e03c02d8712c91d6429d29477f896379f196cd16b4ce9f6489f23afca09fc1d3 SHA512 317ed2fa0f32619f768e8bcc8281da40343ad69174f2db4f737fe879383ac9894ac701fc84894f55c587266b0cb14144f5fc2a03a40a0da4f5bcc739383918e1 WHIRLPOOL 83f461d06d9627d53554633a6cffe4fa23991b3045795092d1c89d681604d2ac31355e68ca5981d5e0d40bb9770cce1586f86da8b0abf01759a31581067c0c44
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.20 (GNU/Linux)
|
||||
|
||||
iQEcBAEBCAAGBQJSMKo+AAoJEKCEBkJ3xQHtQ8gH+wfdXK39qGW4iDzT7Ym3t10Z
|
||||
2GyIeB978Q4e4/h4o71oLhgaBJisBF+PptWFq0IivpD52mhnPwKF4fJ1eqAsCdgE
|
||||
q7/m6OFHst6wb9zr9/gpeeAwJa+xMwlo5E0g2Ttqz/NtPSL8Zg2TyogaDTRd12hE
|
||||
/YlTpnYqy64tulqCIbW1vYyOOk9td+q/shmnC6Sy7i0dPYfuvfW07ecMiAS44+LD
|
||||
zsWF2Sjk2ilWD3D6Rw0RVfte7+X3GLf7X1mPSZ5devJdVsD+HO6CXhI8vpP7JGKG
|
||||
010suzoAo2w+X4tD2fE7U4XREJ1xvJNRAgmev9aUKvb2oHQM3Y2dkXUC+MwNOUo=
|
||||
=xMsG
|
||||
-----END PGP SIGNATURE-----
|
@ -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,18 +1,18 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
Hash: SHA256
|
||||
|
||||
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
|
||||
EBUILD btparser-0.17.ebuild 1159 SHA256 2a973a230e654d8ba9703d65aa7c63db8337bb8d48605b53731fb8e05ffc9871 SHA512 bd8606464594f92e602c40c427f3318ff63c94e4993b9363d3721617975b82df6be3d1cdc1189aaac7c57dde4da05c21710622f47f810a9e2a6e92f397a70f10 WHIRLPOOL b5491e7407ee2a68015c2de24eca068800a19346667d54b9e91b9d0e61eef5c5f8b367c013c4ce411b7e82e4289aa4695f2eb88adcf349f73436e5d6f57b9197
|
||||
EBUILD btparser-0.19.ebuild 1181 SHA256 8fe35c57776693649ec3195ff038d12651f5711e74f8d33690ce5104a6be3120 SHA512 479b01834f7c0d2b623d390e9acd3310ce4abec61df42a11001e423dd6f512b0642f5a40aa94e2ba5a8ac7bd69ba73f704b58f8a500851a8934cc226a5cc2859 WHIRLPOOL dc3e489e928dddafdd6cb4edc1af90bfd31c0e9f49315e689ac8ce10a37f7473861721f0627f1cbd0291ce47b59fcf33fa29ab768cef29a3c7c9642c74df1cd9
|
||||
EBUILD btparser-0.24.ebuild 1045 SHA256 06567f80d43a32daea9bef30147cf3968ac46e312a25518da49a90963114e844 SHA512 4fdea2b4b71d6047584d220c2f6bbfd8b30b93c19667817aaedb2c833a7bd0fcd23702d7aa4eba502164f8ed35680f3ae5d4679b78674f479b178b641bd5cb68 WHIRLPOOL 9db5acb88f44357419d639d91e1753446abb101cac5dadce959f75b8cb762bc77eb40791a5660157ddfef143798f66dfca1208b81ae32bb72a8090ba3ca420e7
|
||||
MISC ChangeLog 2179 SHA256 1379710c750367c84b7b041e7b8c628b8fa2df645aea9c1a911fdd575f0fc534 SHA512 d213eac1a0b6931d30750d42487c4a6f4725df5fa62027c42b0e3347d1a5aae59998774179e4a09217578e6fbd4b2d1de108f18199f74fc2b5ad17d0e647248e WHIRLPOOL c01262d19ac5683a53cb46319379e17b475f9afa666e85ce03b201e587b4b39aff98fecebb50ad62647c6963e1717308d20f8fa15df8e7d21308f2b045fccef5
|
||||
MISC ChangeLog 2304 SHA256 1edc8643ca232d089688bc51796a1d50f9196501403940e69a1fe55e9a51628e SHA512 392d342059155f2e24bb1678ecf8b10092606bf9a55f88919c8c7224021a84cca0d4dafc242eb154e30dd97092e263b3bbbfc7e1b6143b095d6f5c674961085a WHIRLPOOL d4522d002256189ddd09227988a4f68dfad43d63f27eb3dbecf004f2e5b9e4486d72a2792a40bba3cb9ce29ad4c696a34d840ac13b01f83d8cccedd562726984
|
||||
MISC metadata.xml 160 SHA256 4d793ecb79b17794248102d8409d16bc27b1022c72038bd2d1241e129693d5f2 SHA512 677650c05f31fc27035e12f3f5e4b095715dfe12d2d3483f800bfbc6e986a98dbb1997cd52ad7a177b5c120c9b87fe5a2452a4f0f9852ac9a58262e0c5d576c9 WHIRLPOOL 070602fb27fee6a25035c9e93f5c2422270a5781fd11dac318d3f5c32cf9e49163abf7999729df230d3e181b6a1362982744e1f0ac016bf59a3458ae23abbb83
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.20 (GNU/Linux)
|
||||
Version: GnuPG v2.0.21 (GNU/Linux)
|
||||
|
||||
iEYEAREKAAYFAlHQSA0ACgkQgAnW8HDreRbVLQCdH8QoUI3mRVSnE22j5Teu1TwE
|
||||
Q/UAoIdky/w1B5lfkzd8iWnXeha3dKqR
|
||||
=3fNv
|
||||
iQEcBAEBCAAGBQJSMTuvAAoJEJ0WA1zPCt1hOzAIAK57l9eClX3TpVPqM+wReg8K
|
||||
m5fUorbPfkGoiNvR3+9LGfxl4okwVBxem/dvKokkXanixWWzb+FoHZpoaPMuw4Q1
|
||||
UvCtpQDIc4Bq/yb0EPuepvDeObJKKShek1RkSCiVc8Kh6onOCn2NaG410hLSJsGE
|
||||
VcjmJQdJ4rSFcuQcSQG3q3Qq9PG38lKlrzcJQ1l+VEIdcmnC5yeZuA2X4bMQySkW
|
||||
5wnLXGrYiuWxLl5DIc6yuEO2cGJqWnknJtsNk+pq8hetxCbg4fYREwMDB3zH5m2L
|
||||
d8Rs3XKU7ial/eDwNXi8eG441PRvJJlQU2nvm7nvmqLVN132h6CfTGqeilzenwU=
|
||||
=COeZ
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -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
|
||||
}
|
@ -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 <a href="https://bugzilla.redhat.com/createaccount.cgi">here</a></_note-html>
|
||||
+ <default-value>https://bugs.gentoo.org/</default-value>
|
||||
+ <_note-html>You can create bugs.gentoo.org account <a href="https://bugs.gentoo.org/createaccount.cgi">here</a></_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
|
||||
}
|
@ -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
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue