Sync with portage [Mon Nov 24 10:37:05 MSK 2014].

mhiretskiy
root 10 years ago
parent 470be38ec1
commit b06bbd6c52

@ -0,0 +1,46 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/at-spi2-atk/at-spi2-atk-2.12.1-r1.ebuild,v 1.2 2014/11/24 01:41:11 tetromino Exp $
EAPI="5"
GCONF_DEBUG="no"
GNOME2_LA_PUNT="yes"
inherit eutils gnome2 multilib-minimal virtualx
DESCRIPTION="Gtk module for bridging AT-SPI to Atk"
HOMEPAGE="http://live.gnome.org/Accessibility"
LICENSE="LGPL-2+"
SLOT="2"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE=""
COMMON_DEPEND="
>=app-accessibility/at-spi2-core-2.11.2[${MULTILIB_USEDEP}]
>=dev-libs/atk-2.11.90[${MULTILIB_USEDEP}]
>=dev-libs/glib-2.32:2[${MULTILIB_USEDEP}]
>=sys-apps/dbus-1.5[${MULTILIB_USEDEP}]
"
RDEPEND="${COMMON_DEPEND}
!<gnome-extra/at-spi-1.32.0-r1
abi_x86_32? (
!<=app-emulation/emul-linux-x86-gtklibs-20140508-r3
!app-emulation/emul-linux-x86-gtklibs[-abi_x86_32(-)]
)
"
DEPEND="${COMMON_DEPEND}
virtual/pkgconfig[${MULTILIB_USEDEP}]
"
multilib_src_configure() {
ECONF_SOURCE=${S} \
gnome2_src_configure --enable-p2p
}
multilib_src_test() {
Xemake check
}
multilib_src_compile() { gnome2_src_compile; }
multilib_src_install() { gnome2_src_install; }

@ -0,0 +1,65 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/at-spi2-core/at-spi2-core-2.12.0-r1.ebuild,v 1.2 2014/11/24 01:40:34 tetromino Exp $
EAPI="5"
GCONF_DEBUG="no"
GNOME2_LA_PUNT="yes"
inherit eutils gnome2 multilib-minimal
DESCRIPTION="D-Bus accessibility specifications and registration daemon"
HOMEPAGE="http://live.gnome.org/Accessibility"
LICENSE="LGPL-2+"
SLOT="2"
IUSE="+X +introspection"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos"
# x11-libs/libSM is needed until upstream #719808 is solved either
# making the dep unneeded or fixing their configure
# Only libX11 is optional right now
COMMON_DEPEND="
>=dev-libs/glib-2.36:2[${MULTILIB_USEDEP}]
>=sys-apps/dbus-1[${MULTILIB_USEDEP}]
x11-libs/libSM[${MULTILIB_USEDEP}]
x11-libs/libXi[${MULTILIB_USEDEP}]
x11-libs/libXtst[${MULTILIB_USEDEP}]
introspection? ( >=dev-libs/gobject-introspection-0.9.6 )
X? ( x11-libs/libX11[${MULTILIB_USEDEP}] )
"
RDEPEND="${COMMON_DEPEND}
abi_x86_32? (
!<=app-emulation/emul-linux-x86-gtklibs-20140508-r3
!app-emulation/emul-linux-x86-gtklibs[-abi_x86_32(-)]
)
"
DEPEND="${COMMON_DEPEND}
>=dev-util/gtk-doc-am-1.9
>=dev-util/intltool-0.40
virtual/pkgconfig[${MULTILIB_USEDEP}]
"
src_prepare() {
# disable teamspaces test since that requires Novell.ICEDesktop.Daemon
epatch "${FILESDIR}/${PN}-2.0.2-disable-teamspaces-test.patch"
gnome2_src_prepare
}
multilib_src_configure() {
# xevie is deprecated/broken since xorg-1.6/1.7
ECONF_SOURCE=${S} \
gnome2_src_configure \
--disable-xevie \
$(multilib_native_use_enable introspection) \
$(use_enable X x11)
# work-around gtk-doc out-of-source brokedness
if multilib_is_native_abi; then
ln -s "${S}"/doc/libatspi/html doc/libatspi/html || die
fi
}
multilib_src_compile() { gnome2_src_compile; }
multilib_src_install() { gnome2_src_install; }

@ -1,4 +1 @@
DIST flite-1.2-release.tar.bz2 7817919 SHA256 10ff42ce08a628c7fd84d26b5228d549e9eecb1eb03cb158e87d8be66bc58ae2 SHA512 2521389f5b887b02428516b556f13a78b80a4f29486f1c00aa326fe32521b851cd0d50548243ac4708a698a2b84d8218c8fb915c408ac0c3410a341cb8f36754 WHIRLPOOL 653f73704cff31581bbd3b8e003691af448ca041510b334ecfbe5d382691e98996db76fea6b05b1c3e3892b91fe036b7b9ff874905ae60bd549275b379aa0f91
DIST flite-1.3-release.tar.gz 10663835 SHA256 922225f7001e57a0fbace8833b0a48790a68f6c7b491f2d47c78ad537ab78a8b SHA512 f528dcd103a4c000b62059c4e94dd3673737be92e4cf93474e95b1bbbc596fe487c973cce2ef91a71181ba9a84e9580311ce40bac96bc9ba3544b17074d78d25 WHIRLPOOL 2f5086aa12d00a12c542c3d109acb6a357028d364e07efbb939652dc4a593251d9eac9fd45f86fa03bac10a386e0797e4f7dffe651af9681ada223ada6cc7cdc
DIST flite-1.4-release.tar.bz2 15163897 SHA256 45c662160aeca6560589f78daf42ab62c6111dd4d244afc28118c4e6f553cd0c SHA512 eec1022077fb7a47db3848ae6944509e18a6c86a25aa24f921b8b6c2af708fc9811b287e76d96cf64fc68f8e1d0a43b7e878659f15bfcf76957eddd75e599112 WHIRLPOOL 5e641fe58fb1c28609154377f009691587a74fbbad7a621947ca06382e5e2da52d3be86f1388730c42dc2a671881320b37dfc10a91185e601d0838526ddae2f2
DIST flite_lexfix.tar.gz 2857920 SHA256 caa81ffa962b31dbbc0211bc20506a2bb02c707695b286f072c8ec264e32252c SHA512 7decfd0c09889ddbff642df7c8363313faa3aaa888cf20dfaa42d9bd88f64858d336fc9f9975c236f5bd4e6bce62c990c20c6edb73f5976b72733c5346c66a93 WHIRLPOOL d2b5473a98c69308bc7025de0e2432dddaf3d6532bfac0f688a5e09ab94765883412dec4f3ef0bcb4565676026dfa9c61c5d2c8e203d29d5f96acd39f980d16b

@ -1,14 +0,0 @@
diff -Naur flite-1.2-release.orig/tools/find_sts_main.c flite-1.2-release/tools/find_sts_main.c
--- tools/find_sts_main.c 2002-12-26 17:18:30.000000000 +0000
+++ tools/find_sts_main.c 2004-05-31 10:28:14.399281736 +0000
@@ -40,6 +40,10 @@
#include <stdio.h>
#include <math.h>
#include <string.h>
+
+/* to allow some normally const fields to be manipulated during building */
+#define const
+
#include "cst_wave.h"
#include "cst_track.h"
#include "cst_sigpr.h"

@ -1,50 +0,0 @@
From a85193f122b7ec0d377e0a39ac58c64f12c51085 Mon Sep 17 00:00:00 2001
From: Rui Matos <tiagomatos@gmail.com>
Date: Mon, 6 Jan 2014 13:45:00 +0000
Subject: [PATCH] auserver.c: Only write audio data to a file in debug builds
This isn't useful in regular builds and is actually a security
concern.
---
src/audio/auserver.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/audio/auserver.c b/src/audio/auserver.c
index 29716d3..3e838d0 100644
--- a/src/audio/auserver.c
+++ b/src/audio/auserver.c
@@ -58,9 +58,11 @@ static int play_wave_from_socket(snd_header *header,int audiostream)
int q,i,n,r;
unsigned char bytes[CST_AUDIOBUFFSIZE];
short shorts[CST_AUDIOBUFFSIZE];
+#ifdef DEBUG
cst_file fff;
fff = cst_fopen("/tmp/awb.wav",CST_OPEN_WRITE|CST_OPEN_BINARY);
+#endif
if ((audio_device = audio_open(header->sample_rate,1,
(header->encoding == CST_SND_SHORT) ?
@@ -107,7 +109,9 @@ static int play_wave_from_socket(snd_header *header,int audiostream)
for (q=r; q > 0; q-=n)
{
n = audio_write(audio_device,shorts,q);
+#ifdef DEBUG
cst_fwrite(fff,shorts,2,q);
+#endif
if (n <= 0)
{
audio_close(audio_device);
@@ -116,7 +120,9 @@ static int play_wave_from_socket(snd_header *header,int audiostream)
}
}
audio_close(audio_device);
+#ifdef DEBUG
cst_fclose(fff);
+#endif
return CST_OK_FORMAT;
--
1.8.3.1

@ -1,333 +0,0 @@
diff -uNr flite-1.3-release/configure.in flite-1.3-release-mod/configure.in
--- flite-1.3-release/configure.in 2005-08-13 13:43:21.000000000 +0200
+++ flite-1.3-release-mod/configure.in 2006-11-13 21:16:27.000000000 +0200
@@ -206,10 +206,10 @@
AC_CHECK_HEADER(sys/audioio.h,
[AUDIODRIVER="sun"
AUDIODEFS=-DCST_AUDIO_SUNOS])
-dnl AC_CHECK_HEADER(sys/asoundlib.h,
-dnl [AUDIODRIVER="alsa"
-dnl AUDIODEFS=-DCST_AUDIO_ALSA
-dnl AUDIOLIBS=-lasound])
+AC_CHECK_HEADER(alsa/asoundlib.h,
+ [AUDIODRIVER="alsa"
+ AUDIODEFS=-DCST_AUDIO_ALSA
+ AUDIOLIBS=-lasound])
AC_CHECK_HEADER(mmsystem.h,
[AUDIODRIVER="wince"
AUDIODEFS=-DCST_AUDIO_WINCE
diff -uNr flite-1.3-release/src/audio/au_alsa.c flite-1.3-release-mod/src/audio/au_alsa.c
--- flite-1.3-release/src/audio/au_alsa.c 1970-01-01 02:00:00.000000000 +0200
+++ flite-1.3-release-mod/src/audio/au_alsa.c 2006-11-13 21:16:54.000000000 +0200
@@ -0,0 +1,311 @@
+/*************************************************************************/
+/* */
+/* Language Technologies Institute */
+/* Carnegie Mellon University */
+/* Copyright (c) 2000 */
+/* All Rights Reserved. */
+/* */
+/* Permission is hereby granted, free of charge, to use and distribute */
+/* this software and its documentation without restriction, including */
+/* without limitation the rights to use, copy, modify, merge, publish, */
+/* distribute, sublicense, and/or sell copies of this work, and to */
+/* permit persons to whom this work is furnished to do so, subject to */
+/* the following conditions: */
+/* 1. The code must retain the above copyright notice, this list of */
+/* conditions and the following disclaimer. */
+/* 2. Any modifications must be clearly marked as such. */
+/* 3. Original authors' names are not deleted. */
+/* 4. The authors' names are not used to endorse or promote products */
+/* derived from this software without specific prior written */
+/* permission. */
+/* */
+/* CARNEGIE MELLON UNIVERSITY AND THE CONTRIBUTORS TO THIS WORK */
+/* DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING */
+/* ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT */
+/* SHALL CARNEGIE MELLON UNIVERSITY NOR THE CONTRIBUTORS BE LIABLE */
+/* FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES */
+/* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN */
+/* AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, */
+/* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF */
+/* THIS SOFTWARE. */
+/* */
+/*********************************************************************** */
+/* Author: Lukas Loehrer ( */
+/* Date: January 2005 */
+/*************************************************************************/
+/* */
+/* Native access to alsa audio devices on Linux */
+/* Tested with libasound version 1.0.10 */
+/*************************************************************************/
+
+#include <stdlib.h>
+#include <unistd.h>
+#include <sys/types.h>
+#include <assert.h>
+#include <errno.h>
+
+#include "cst_string.h"
+#include "cst_wave.h"
+#include "cst_audio.h"
+
+#include <alsa/asoundlib.h>
+
+
+/*static char *pcm_dev_name = "hw:0,0"; */
+static char *pcm_dev_name ="default";
+
+static inline void print_pcm_state(snd_pcm_t *handle, char *msg)
+{
+ fprintf(stderr, "PCM state at %s = %s\n", msg,
+ snd_pcm_state_name(snd_pcm_state(handle)));
+}
+
+cst_audiodev *audio_open_alsa(int sps, int channels, cst_audiofmt fmt)
+{
+ cst_audiodev *ad;
+ unsigned int real_rate;
+ int err;
+
+ /* alsa specific stuff */
+ snd_pcm_t *pcm_handle;
+ snd_pcm_stream_t stream = SND_PCM_STREAM_PLAYBACK;
+ snd_pcm_hw_params_t *hwparams;
+ snd_pcm_format_t format;
+ snd_pcm_access_t access = SND_PCM_ACCESS_RW_INTERLEAVED;
+
+ /* Allocate the snd_pcm_hw_params_t structure on the stack. */
+ snd_pcm_hw_params_alloca(&hwparams);
+
+ /* Open pcm device */
+ err = snd_pcm_open(&pcm_handle, pcm_dev_name, stream, 0);
+ if (err < 0)
+ {
+ cst_errmsg("audio_open_alsa: failed to open audio device %s. %s\n",
+ pcm_dev_name, snd_strerror(err));
+ return NULL;
+ }
+
+ /* Init hwparams with full configuration space */
+ err = snd_pcm_hw_params_any(pcm_handle, hwparams);
+ if (err < 0)
+ {
+ snd_pcm_close(pcm_handle);
+ cst_errmsg("audio_open_alsa: failed to get hardware parameters from audio device. %s\n", snd_strerror(err));
+ return NULL;
+ }
+
+ /* Set access mode */
+ err = snd_pcm_hw_params_set_access(pcm_handle, hwparams, access);
+ if (err < 0)
+ {
+ snd_pcm_close(pcm_handle);
+ cst_errmsg("audio_open_alsa: failed to set access mode. %s.\n", snd_strerror(err));
+ return NULL;
+ }
+
+ /* Determine matching alsa sample format */
+ /* This could be implemented in a more */
+ /* flexible way (byte order conversion). */
+ switch (fmt)
+ {
+ case CST_AUDIO_LINEAR16:
+ if (CST_LITTLE_ENDIAN)
+ format = SND_PCM_FORMAT_S16_LE;
+ else
+ format = SND_PCM_FORMAT_S16_BE;
+ break;
+ case CST_AUDIO_LINEAR8:
+ format = SND_PCM_FORMAT_U8;
+ break;
+ case CST_AUDIO_MULAW:
+ format = SND_PCM_FORMAT_MU_LAW;
+ break;
+ default:
+ snd_pcm_close(pcm_handle);
+ cst_errmsg("audio_open_alsa: failed to find suitable format.\n");
+ return NULL;
+ break;
+ }
+
+ /* Set samble format */
+ err = snd_pcm_hw_params_set_format(pcm_handle, hwparams, format);
+ if (err <0)
+ {
+ snd_pcm_close(pcm_handle);
+ cst_errmsg("audio_open_alsa: failed to set format. %s.\n", snd_strerror(err));
+ return NULL;
+ }
+
+ /* Set sample rate near the disired rate */
+ real_rate = sps;
+ err = snd_pcm_hw_params_set_rate_near(pcm_handle, hwparams, &real_rate, 0);
+ if (err < 0)
+ {
+ snd_pcm_close(pcm_handle);
+ cst_errmsg("audio_open_alsa: failed to set sample rate near %d. %s.\n", sps, snd_strerror(err));
+ return NULL;
+ }
+ /*FIXME: This is probably too strict */
+ assert(sps == real_rate);
+
+ /* Set number of channels */
+ assert(channels >0);
+ err = snd_pcm_hw_params_set_channels(pcm_handle, hwparams, channels);
+ if (err < 0)
+ {
+ snd_pcm_close(pcm_handle);
+ cst_errmsg("audio_open_alsa: failed to set number of channels to %d. %s.\n", channels, snd_strerror(err));
+ return NULL;
+ }
+
+ /* Commit hardware parameters */
+ err = snd_pcm_hw_params(pcm_handle, hwparams);
+ if (err < 0)
+ {
+ snd_pcm_close(pcm_handle);
+ cst_errmsg("audio_open_alsa: failed to set hw parameters. %s.\n", snd_strerror(err));
+ return NULL;
+ }
+
+ /* Make sure the device is ready to accept data */
+ assert(snd_pcm_state(pcm_handle) == SND_PCM_STATE_PREPARED);
+
+ /* Write hardware parameters to flite audio device data structure */
+ ad = cst_alloc(cst_audiodev, 1);
+ assert(ad != NULL);
+ ad->real_sps = ad->sps = sps;
+ ad->real_channels = ad->channels = channels;
+ ad->real_fmt = ad->fmt = fmt;
+ ad->platform_data = (void *) pcm_handle;
+
+ return ad;
+}
+
+int audio_close_alsa(cst_audiodev *ad)
+{
+ int result;
+ snd_pcm_t *pcm_handle;
+
+ if (ad == NULL)
+ return 0;
+
+ pcm_handle = (snd_pcm_t *) ad->platform_data;
+ result = snd_pcm_close(pcm_handle);
+ if (result < 0)
+ {
+ cst_errmsg("audio_close_alsa: Error: %s.\n", snd_strerror(result));
+ }
+ cst_free(ad);
+ return result;
+}
+
+/* Returns zero if recovery was successful. */
+static int recover_from_error(snd_pcm_t *pcm_handle, ssize_t res)
+{
+ if (res == -EPIPE) /* xrun */
+ {
+ res = snd_pcm_prepare(pcm_handle);
+ if (res < 0)
+ {
+ /* Failed to recover from xrun */
+ cst_errmsg("recover_from_write_error: failed to recover from xrun. %s\n.", snd_strerror(res));
+ return res;
+ }
+ }
+ else if (res == -ESTRPIPE) /* Suspend */
+ {
+ while ((res = snd_pcm_resume(pcm_handle)) == -EAGAIN)
+ {
+ snd_pcm_wait(pcm_handle, 1000);
+ }
+ if (res < 0)
+ {
+ res = snd_pcm_prepare(pcm_handle);
+ if (res <0)
+ {
+ /* Resume failed */
+ cst_errmsg("audio_recover_from_write_error: failed to resume after suspend. %s\n.", snd_strerror(res));
+ return res;
+ }
+ }
+ }
+ else if (res < 0)
+ {
+ /* Unknown failure */
+ cst_errmsg("audio_recover_from_write_error: %s.\n", snd_strerror(res));
+ return res;
+ }
+ return 0;
+}
+
+int audio_write_alsa(cst_audiodev *ad, void *samples, int num_bytes)
+{
+ size_t frame_size;
+ ssize_t num_frames, res;
+ snd_pcm_t *pcm_handle;
+ char *buf = (char *) samples;
+
+ /* Determine frame size in bytes */
+ frame_size = audio_bps(ad->real_fmt) * ad->real_channels;
+ /* Require that only complete frames are handed in */
+ assert((num_bytes % frame_size) == 0);
+ num_frames = num_bytes / frame_size;
+ pcm_handle = (snd_pcm_t *) ad->platform_data;
+
+ while (num_frames > 0)
+ {
+ res = snd_pcm_writei(pcm_handle, buf, num_frames);
+ if (res != num_frames)
+ {
+ if (res == -EAGAIN || (res > 0 && res < num_frames))
+ {
+ snd_pcm_wait(pcm_handle, 100);
+ }
+ else if (recover_from_error(pcm_handle, res) < 0)
+ {
+ return -1;
+ }
+ }
+
+ if (res >0)
+ {
+ num_frames -= res;
+ buf += res * frame_size;
+ }
+ }
+ return num_bytes;
+}
+
+int audio_flush_alsa(cst_audiodev *ad)
+{
+ int result;
+ result = snd_pcm_drain((snd_pcm_t *) ad->platform_data);
+ if (result < 0)
+ {
+ cst_errmsg("audio_flush_alsa: Error: %s.\n", snd_strerror(result));
+ }
+ /* Prepare device for more data */
+ result = snd_pcm_prepare((snd_pcm_t *) ad->platform_data);
+if (result < 0)
+ {
+ cst_errmsg("audio_flush_alsa: Error: %s.\n", snd_strerror(result));
+ }
+ return result;
+}
+
+int audio_drain_alsa(cst_audiodev *ad)
+{
+ int result;
+ result = snd_pcm_drop((snd_pcm_t *) ad->platform_data);
+ if (result < 0)
+ {
+ cst_errmsg("audio_drain_alsa: Error: %s.\n", snd_strerror(result));
+ }
+/* Prepare device for more data */
+ result = snd_pcm_prepare((snd_pcm_t *) ad->platform_data);
+if (result < 0)
+ {
+ cst_errmsg("audio_drain_alsa: Error: %s.\n", snd_strerror(result));
+ }
+ return result;
+}

@ -1,29 +0,0 @@
diff -Naur flite-1.3-release/main/Makefile flite-1.3-release.new/main/Makefile
--- flite-1.3-release/main/Makefile 2014-02-12 12:08:32.222776141 -0800
+++ flite-1.3-release.new/main/Makefile 2014-02-12 12:29:32.308048276 -0800
@@ -48,15 +48,23 @@
ALL = $(BINDIR)/flite$(EXEEXT) $(BINDIR)/flite_time$(EXEEXT) \
$(BINDIR)/t2p$(EXEEXT)
+include $(TOP)/config/common_make_rules
+
flite_LIBS = flite_$(FL_VOX) flite_$(FL_LANG) flite_$(FL_LEX)
flite_LIBS_flags = -L$(LIBDIR) $(flite_LIBS:%=-l%)
+ifdef SHFLAGS
flite_LIBS_deps = $(flite_LIBS:%=$(LIBDIR)/lib%.so)
+else
+flite_LIBS_deps = $(flite_LIBS:%=$(LIBDIR)/lib%.a)
+endif
flite_time_LIBS = flite_cmu_time_awb flite_$(FL_LANG) flite_$(FL_LEX)
flite_time_LIBS_flags = -L$(LIBDIR) $(flite_time_LIBS:%=-l%)
+ifdef SHFLAGS
flite_time_LIBS_deps = $(flite_time_LIBS:%=$(LIBDIR)/lib%.so)
-
-include $(TOP)/config/common_make_rules
+else
+flite_time_LIBS_deps = $(flite_time_LIBS:%=$(LIBDIR)/lib%.a)
+endif
$(BINDIR)/flite$(EXEEXT): flite_main.o $(FLITELIBS) $(flite_LIBS_deps)
$(CC) $(CFLAGS) -o $@ flite_main.o $(flite_LIBS_flags) $(LDFLAGS)

@ -1,11 +0,0 @@
--- flite-1.3-release/config/common_make_rules 2013-04-03 15:28:04.004893371 +0100
+++ flite-1.3-release/config/common_make_rules 2013-04-03 15:27:50.574992901 +0100
@@ -69,7 +69,7 @@
ifdef SHFLAGS
FLITELIBS = $(LIBDIR)/libflite.so
-LDFLAGS += -L$(LIBDIR) -lflite $(OTHERLIBS)
+LDFLAGS += -L$(LIBDIR) -lflite -lm $(OTHERLIBS)
else
FLITELIBS = $(LIBDIR)/libflite.a
LDFLAGS += -L$(LIBDIR) -lflite -lm $(AUDIOLIBS) $(OTHERLIBS)

@ -1,24 +0,0 @@
diff -Naur flite-1.3-release/config/common_make_rules flite-1.3-release.new/config/common_make_rules
--- flite-1.3-release/config/common_make_rules 2014-02-12 09:56:23.058678651 -0800
+++ flite-1.3-release.new/config/common_make_rules 2014-02-12 11:27:18.039561163 -0800
@@ -67,6 +67,11 @@
BUILDDIRS=$(OBJDIR) $(BINDIR) $(LIBDIR)
+ifndef SO_LDFLAGS
+SO_LDFLAGS := $(LDFLAGS)
+endif
+export SO_LDFLAGS
+
ifdef SHFLAGS
FLITELIBS = $(LIBDIR)/libflite.so
LDFLAGS += -L$(LIBDIR) -lflite -lm $(OTHERLIBS)
@@ -130,7 +135,7 @@
@ rm -rf shared_os && mkdir shared_os
@ rm -f $@ $@.${PROJECT_VERSION} $@.${PROJECT_SHLIB_VERSION}
@ (cd shared_os && ar x ../$<)
- @ (cd shared_os && $(CC) -shared -Wl,-soname,$@.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_VERSION} *.os -L../ $($(@:%.so=%_LDLIBS)))
+ @ (cd shared_os && $(CC) -shared -Wl,-soname,$@.${PROJECT_SHLIB_VERSION} $(SO_LDFLAGS) -o ../$@.${PROJECT_VERSION} *.os -L../ $($(@:%.so=%_LDLIBS)))
@ ln -s $@.${PROJECT_VERSION} $@.${PROJECT_SHLIB_VERSION}
@ ln -s $@.${PROJECT_SHLIB_VERSION} $@
@ rm -rf shared_os

@ -1,170 +0,0 @@
diff -uNr flite-1.3-release/config/common_make_rules flite-1.3-release-mod/config/common_make_rules
--- flite-1.3-release/config/common_make_rules 2004-12-20 00:20:43.000000000 +0200
+++ flite-1.3-release-mod/config/common_make_rules 2006-11-12 12:17:25.000000000 +0200
@@ -59,27 +59,35 @@
endif
OBJDIR=$(BUILDDIR)/obj/$(DIRNAME)
BINDIR=$(BUILDDIR)/bin
+LIBDIR=$(BUILDDIR)/lib
ifeq ($(HOST_PLATFORM),$(TARGET_PLATFORM))
BINDIR=$(TOP)/bin
+LIBDIR=$(TOP)/lib
endif
-LIBDIR=$(BUILDDIR)/lib
BUILDDIRS=$(OBJDIR) $(BINDIR) $(LIBDIR)
-FLITELIBS = $(BUILDDIR)/lib/libflite.a
-LDFLAGS += -L$(BUILDDIR)/lib -lflite -lm $(AUDIOLIBS) $(OTHERLIBS)
+ifdef SHFLAGS
+FLITELIBS = $(LIBDIR)/libflite.so
+LDFLAGS += -L$(LIBDIR) -lflite $(OTHERLIBS)
+else
+FLITELIBS = $(LIBDIR)/libflite.a
+LDFLAGS += -L$(LIBDIR) -lflite -lm $(AUDIOLIBS) $(OTHERLIBS)
+endif
FULLOBJS = $(OBJS:%=$(OBJDIR)/%)
ifdef SHFLAGS
SOOBJS = $(OBJS:.o=.os)
-FULLSHOBJS = $(SOOBJS:%=$(OBJDIR)/%)
+FULLSOOBJS = $(SOOBJS:%=$(OBJDIR)/%)
ifdef LIBNAME
ALL += $(OBJDIR)/.build_so
endif
-endif
+else
ifdef LIBNAME
ALL += $(OBJDIR)/.build_lib
endif
+endif
+
# Only do some directories when you are not cross compiling
ifeq ($(HOST_PLATFORM),$(TARGET_PLATFORM))
OTHER_BUILD_DIRS = $(HOST_ONLY_DIRS)
@@ -117,14 +125,14 @@
@ touch $(OBJDIR)/.build_so
# Used in the lib/ directory and in building new voices
-$(OBJDIR)/%.so: %.shared.a
+%.so: %.shared.a
@ echo making $@
@ rm -rf shared_os && mkdir shared_os
- @ rm -f $@ $(LIBDIR)/$@.${PROJECT_VERSION} $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION}
+ @ rm -f $@ $@.${PROJECT_VERSION} $@.${PROJECT_SHLIB_VERSION}
@ (cd shared_os && ar x ../$<)
- @ (cd shared_os && $(CC) -shared -Wl,-soname,$@.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_VERSION} *.os)
- @ ln -s $(LIBDIR)/$@.${PROJECT_VERSION} $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION}
- @ ln -s $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION} $(LIBDIR)/$@
+ @ (cd shared_os && $(CC) -shared -Wl,-soname,$@.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_VERSION} *.os -L../ $($(@:%.so=%_LDLIBS)))
+ @ ln -s $@.${PROJECT_VERSION} $@.${PROJECT_SHLIB_VERSION}
+ @ ln -s $@.${PROJECT_SHLIB_VERSION} $@
@ rm -rf shared_os
$(OBJDIR)/.make_build_dirs:
diff -uNr flite-1.3-release/lib/Makefile flite-1.3-release-mod/lib/Makefile
--- flite-1.3-release/lib/Makefile 1970-01-01 02:00:00.000000000 +0200
+++ flite-1.3-release-mod/lib/Makefile 2006-11-12 12:17:40.000000000 +0200
@@ -0,0 +1,73 @@
+###########################################################################
+## ##
+## Language Technologies Institute ##
+## Carnegie Mellon University ##
+## Copyright (c) 1999 ##
+## All Rights Reserved. ##
+## ##
+## Permission is hereby granted, free of charge, to use and distribute ##
+## this software and its documentation without restriction, including ##
+## without limitation the rights to use, copy, modify, merge, publish, ##
+## distribute, sublicense, and/or sell copies of this work, and to ##
+## permit persons to whom this work is furnished to do so, subject to ##
+## the following conditions: ##
+## 1. The code must retain the above copyright notice, this list of ##
+## conditions and the following disclaimer. ##
+## 2. Any modifications must be clearly marked as such. ##
+## 3. Original authors' names are not deleted. ##
+## 4. The authors' names are not used to endorse or promote products ##
+## derived from this software without specific prior written ##
+## permission. ##
+## ##
+## CARNEGIE MELLON UNIVERSITY AND THE CONTRIBUTORS TO THIS WORK ##
+## DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ##
+## ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT ##
+## SHALL CARNEGIE MELLON UNIVERSITY NOR THE CONTRIBUTORS BE LIABLE ##
+## FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES ##
+## WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN ##
+## AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ##
+## ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF ##
+## THIS SOFTWARE. ##
+## ##
+###########################################################################
+## ##
+## FLITE libraries ##
+## ##
+###########################################################################
+TOP=..
+DIRNAME=lib
+BUILD_DIRS =
+ALL_DIRS=
+FILES = Makefile
+LIBNAMES = flite flite_cmulex flite_usenglish \
+ flite_cmu_us_kal flite_cmu_us_kal16 flite_cmu_time_awb
+
+STATICLIBS= $(LIBNAMES:%=lib%.a)
+SHAREDARLIBS= $(LIBNAMES:%=lib%.shared.a)
+#SHAREDLIBS = $(LIBNAMES:%=lib%.so)
+SHAREDLIBS = $(SHAREDARLIBS:%.shared.a=%.so)
+VERSIONSHAREDLIBS = $(SHAREDLIBS:%=%.${PROJECT_VERSION}) \
+ $(SHAREDLIBS:%=%.${PROJECT_SHLIB_VERSION})
+ALL_LIBS = $(SHAREDLIBS) $(VERSIONSHAREDLIBS)
+
+ALL = shared_libs
+
+LOCAL_CLEAN=*.a *.so *.so.${PROJECT_VERSION} *.so.${PROJECT_SHLIB_VERSION}
+
+include $(TOP)/config/common_make_rules
+
+ifdef SHFLAGS
+shared_libs: $(SHAREDLIBS)
+libflite_LDLIBS = -lm $(AUDIOLIBS)
+libflite_cmulex_LDLIBS = -lflite
+libflite_usenglish_LDLIBS = -lflite
+libflite_cmu_us_kal_LDLIBS = -lflite_cmulex -lflite_usenglish
+libflite_cmu_us_kal16_LDLIBS = -lflite_cmulex -lflite_usenglish
+libflite_cmu_time_awb_LDLIBS = -lflite -lflite_cmulex -lflite_usenglish
+else
+shared_libs: nothing
+endif
+
+install:
+ @ tar cvf - $(ALL_LIBS) | ( cd $(INSTALLLIBDIR) && tar xf -)
+
diff -uNr flite-1.3-release/main/Makefile flite-1.3-release-mod/main/Makefile
--- flite-1.3-release/main/Makefile 2005-08-08 00:38:42.000000000 +0200
+++ flite-1.3-release-mod/main/Makefile 2006-11-12 11:44:46.000000000 +0200
@@ -50,11 +50,11 @@
flite_LIBS = flite_$(FL_VOX) flite_$(FL_LANG) flite_$(FL_LEX)
flite_LIBS_flags = -L$(LIBDIR) $(flite_LIBS:%=-l%)
-flite_LIBS_deps = $(flite_LIBS:%=$(LIBDIR)/lib%.a)
+flite_LIBS_deps = $(flite_LIBS:%=$(LIBDIR)/lib%.so)
flite_time_LIBS = flite_cmu_time_awb flite_$(FL_LANG) flite_$(FL_LEX)
flite_time_LIBS_flags = -L$(LIBDIR) $(flite_time_LIBS:%=-l%)
-flite_time_LIBS_deps = $(flite_time_LIBS:%=$(LIBDIR)/lib%.a)
+flite_time_LIBS_deps = $(flite_time_LIBS:%=$(LIBDIR)/lib%.so)
include $(TOP)/config/common_make_rules
diff -uNr flite-1.3-release/Makefile flite-1.3-release-mod/Makefile
--- flite-1.3-release/Makefile 2005-11-01 15:40:45.000000000 +0200
+++ flite-1.3-release-mod/Makefile 2006-11-12 11:44:46.000000000 +0200
@@ -41,7 +41,7 @@
###########################################################################
TOP=.
DIRNAME=
-BUILD_DIRS = include src lang doc
+BUILD_DIRS = include src lang lib doc
ALL_DIRS=config $(BUILD_DIRS) testsuite sapi palm tools main
CONFIG=configure configure.in config.sub config.guess \
missing install-sh mkinstalldirs

@ -1,50 +0,0 @@
From a85193f122b7ec0d377e0a39ac58c64f12c51085 Mon Sep 17 00:00:00 2001
From: Rui Matos <tiagomatos@gmail.com>
Date: Mon, 6 Jan 2014 13:45:00 +0000
Subject: [PATCH] auserver.c: Only write audio data to a file in debug builds
This isn't useful in regular builds and is actually a security
concern.
---
src/audio/auserver.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/audio/auserver.c b/src/audio/auserver.c
index 29716d3..3e838d0 100644
--- a/src/audio/auserver.c
+++ b/src/audio/auserver.c
@@ -58,9 +58,11 @@ static int play_wave_from_socket(snd_header *header,int audiostream)
int q,i,n,r;
unsigned char bytes[CST_AUDIOBUFFSIZE];
short shorts[CST_AUDIOBUFFSIZE];
+#ifdef DEBUG
cst_file fff;
fff = cst_fopen("/tmp/awb.wav",CST_OPEN_WRITE|CST_OPEN_BINARY);
+#endif
if ((audio_device = audio_open(header->sample_rate,1,
(header->encoding == CST_SND_SHORT) ?
@@ -107,7 +109,9 @@ static int play_wave_from_socket(snd_header *header,int audiostream)
for (q=r; q > 0; q-=n)
{
n = audio_write(audio_device,shorts,q);
+#ifdef DEBUG
cst_fwrite(fff,shorts,2,q);
+#endif
if (n <= 0)
{
audio_close(audio_device);
@@ -116,7 +120,9 @@ static int play_wave_from_socket(snd_header *header,int audiostream)
}
}
audio_close(audio_device);
+#ifdef DEBUG
cst_fclose(fff);
+#endif
return CST_OK_FORMAT;
--
1.8.3.1

@ -1,70 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/flite/flite-1.2-r1.ebuild,v 1.16 2013/08/25 14:42:09 jer Exp $
inherit eutils
DESCRIPTION="Flite text to speech engine"
HOMEPAGE="http://www.speech.cs.cmu.edu/flite/index.html"
SRC_URI="http://www.speech.cs.cmu.edu/flite/packed/${P}/${P}-release.tar.bz2
http://www.speech.cs.cmu.edu/flite/packed/${P}/${PN}_lexfix.tar.gz"
LICENSE="BSD freetts public-domain regexp-UofT BSD-2"
SLOT="0"
KEYWORDS=" ~alpha amd64 ppc sparc x86"
IUSE="static"
S=${WORKDIR}/${P}-release
src_unpack() {
unpack ${P}-release.tar.bz2
unpack ${PN}_lexfix.tar.gz
# Move the update into ${S}
cd ${PN}
tar -cf - . | (cd "${S}"; tar -xf -)
cd "${S}"
epatch "${FILESDIR}"/const.patch
}
src_compile() {
local myconf
if ! use static ; then
myconf="${myconf} --enable-shared"
fi
myconf="${myconf} --with-vox=cmu_us_kal16"
econf ${myconf} || die "Failed configuration"
# -j2 borks when we make the shared libs
emake -j1 || die "Failed compilation"
}
src_install() {
dobin bin/* || die
dodoc ACKNOWLEDGEMENTS README
if use static ; then
dolib.a lib/*.a
else
for lib in lib/*.so*; do
if [ -f ${lib} ]; then
dolib.so ${lib}
lib=`basename ${lib}`
majlib=`echo ${lib} | sed 's:\(\.so\.[0-9]\)\(\.[0-9]*\)*$:\1:'`
noverlib=`echo ${lib} | sed 's:\(\.so\)\(\.[0-9]*\)*$:\1:'`
dosym ${lib} /usr/lib/${majlib}
dosym ${lib} /usr/lib/${noverlib}
fi
done
fi
insinto /usr/include/flite
cd "${S}"/include
for file in *.h; do
doins ${file}
dosed 's:#include "\(.*\)":#include <flite/\1>:g' /usr/include/flite/${file}
done
dosym flite/flite.h /usr/include/flite.h
}

@ -1,78 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/flite/flite-1.2-r2.ebuild,v 1.4 2014/08/02 11:19:45 armin76 Exp $
EAPI=5
inherit eutils
DESCRIPTION="Flite text to speech engine"
HOMEPAGE="http://www.speech.cs.cmu.edu/flite/index.html"
SRC_URI="http://www.speech.cs.cmu.edu/flite/packed/${P}/${P}-release.tar.bz2
http://www.speech.cs.cmu.edu/flite/packed/${P}/${PN}_lexfix.tar.gz"
LICENSE="BSD freetts public-domain regexp-UofT BSD-2"
SLOT="0"
KEYWORDS="alpha amd64 ~ppc sparc ~x86"
IUSE="static"
S=${WORKDIR}/${P}-release
src_unpack() {
unpack ${P}-release.tar.bz2
unpack ${PN}_lexfix.tar.gz
# Move the update into ${S}
cd ${PN}
tar -cf - . | (cd "${S}"; tar -xf -)
}
src_prepare() {
epatch "${FILESDIR}"/const.patch
epatch "${FILESDIR}"/${P}-tempfile.patch
}
src_configure() {
local myconf
if ! use static ; then
myconf="${myconf} --enable-shared"
fi
myconf="${myconf} --with-vox=cmu_us_kal16"
econf ${myconf}
# -j2 borks when we make the shared libs
}
src_compile() {
emake -j1
}
src_install() {
dobin bin/*
dodoc ACKNOWLEDGEMENTS README
if use static ; then
dolib.a lib/*.a
else
for lib in lib/*.so*; do
if [ -f ${lib} ]; then
dolib.so ${lib}
lib=`basename ${lib}`
majlib=`echo ${lib} | sed 's:\(\.so\.[0-9]\)\(\.[0-9]*\)*$:\1:'`
noverlib=`echo ${lib} | sed 's:\(\.so\)\(\.[0-9]*\)*$:\1:'`
dosym ${lib} /usr/lib/${majlib}
dosym ${lib} /usr/lib/${noverlib}
fi
done
fi
insinto /usr/include/flite
cd "${S}"/include
for file in *.h; do
doins ${file}
sed -i -e 's:#include "\(.*\)":#include <flite/\1>:g' \
"${D}"/usr/include/flite/${file} || die "sed failed"
done
dosym flite/flite.h /usr/include/flite.h
}

@ -1,73 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/flite/flite-1.3-r1.ebuild,v 1.6 2014/08/02 11:19:45 armin76 Exp $
EAPI=5
inherit eutils
DESCRIPTION="Flite text to speech engine"
HOMEPAGE="http://www.speech.cs.cmu.edu/flite/index.html"
SRC_URI="http://www.speech.cs.cmu.edu/flite/packed/${P}/${P}-release.tar.gz"
LICENSE="BSD freetts public-domain regexp-UofT BSD-2"
SLOT="0"
KEYWORDS="alpha amd64 arm ~ppc ~ppc64 sparc x86"
IUSE="alsa static"
S=${WORKDIR}/${P}-release
src_prepare() {
epatch "${FILESDIR}"/${P}-tempfile.patch
if use alsa; then
epatch "${FILESDIR}"/${P}-alsa-support.patch
fi
epatch "${FILESDIR}"/${P}-shared-libs.patch
epatch "${FILESDIR}"/${P}-fix-static.patch
epatch "${FILESDIR}"/${P}-respect-ldflags.patch
epatch "${FILESDIR}"/${P}-libm.patch
}
src_configure() {
local myconf
if ! use static ; then
myconf="--enable-shared"
fi
myconf="${myconf} --with-vox=cmu_us_kal16"
econf ${myconf}
}
src_compile() {
emake -j1
}
src_install() {
dobin bin/*
dodoc ACKNOWLEDGEMENTS README
if use static ; then
dolib.a lib/*.a
else
for lib in lib/*.so*; do
if [ -f ${lib} ]; then
dolib.so ${lib}
lib=`basename ${lib}`
majlib=`echo ${lib} | sed 's:\(\.so\.[0-9]\)\(\.[0-9]*\)*$:\1:'`
noverlib=`echo ${lib} | sed 's:\(\.so\)\(\.[0-9]*\)*$:\1:'`
dosym ${lib} /usr/lib/${majlib}
dosym ${lib} /usr/lib/${noverlib}
fi
done
fi
insinto /usr/include/flite
cd "${S}"/include
for file in *.h; do
doins ${file}
sed -i -e 's:#include "\(.*\)":#include <flite/\1>:g' \
"${D}"/usr/include/flite/${file} || die "sed failed"
done
dosym flite/flite.h /usr/include/flite.h
}

@ -1,65 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/flite/flite-1.3.ebuild,v 1.14 2013/08/25 14:42:09 jer Exp $
inherit eutils
DESCRIPTION="Flite text to speech engine"
HOMEPAGE="http://www.speech.cs.cmu.edu/flite/index.html"
SRC_URI="http://www.speech.cs.cmu.edu/flite/packed/${P}/${P}-release.tar.gz"
LICENSE="BSD freetts public-domain regexp-UofT BSD-2"
SLOT="0"
KEYWORDS="alpha amd64 arm ppc ppc64 sparc x86"
IUSE="alsa static"
S=${WORKDIR}/${P}-release
src_unpack() {
unpack ${P}-release.tar.gz
if use alsa; then
epatch "${FILESDIR}"/${P}-alsa-support.patch
fi
epatch "${FILESDIR}"/${P}-shared-libs.patch
}
src_compile() {
local myconf
if ! use static ; then
myconf="--enable-shared"
fi
myconf="${myconf} --with-vox=cmu_us_kal16"
econf ${myconf} || die "Failed configuration"
emake -j1 || die "Failed compilation"
}
src_install() {
dobin bin/* || die
dodoc ACKNOWLEDGEMENTS README
if use static ; then
dolib.a lib/*.a
else
for lib in lib/*.so*; do
if [ -f ${lib} ]; then
dolib.so ${lib}
lib=`basename ${lib}`
majlib=`echo ${lib} | sed 's:\(\.so\.[0-9]\)\(\.[0-9]*\)*$:\1:'`
noverlib=`echo ${lib} | sed 's:\(\.so\)\(\.[0-9]*\)*$:\1:'`
dosym ${lib} /usr/lib/${majlib}
dosym ${lib} /usr/lib/${noverlib}
fi
done
fi
insinto /usr/include/flite
cd "${S}"/include
for file in *.h; do
doins ${file}
dosed 's:#include "\(.*\)":#include <flite/\1>:g' /usr/include/flite/${file}
done
dosym flite/flite.h /usr/include/flite.h
}

@ -1,71 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/flite/flite-1.4-r3.ebuild,v 1.1 2014/02/12 21:21:11 teiresias Exp $
EAPI=4
inherit autotools eutils
DESCRIPTION="Flite text to speech engine"
HOMEPAGE="http://www.speech.cs.cmu.edu/flite/index.html"
SRC_URI=" http://www.speech.cs.cmu.edu/${PN}/packed/${P}/${P}-release.tar.bz2"
LICENSE="BSD freetts public-domain regexp-UofT BSD-2"
SLOT="0"
KEYWORDS=" ~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
IUSE="alsa oss static-libs"
DEPEND="alsa? ( >=media-libs/alsa-lib-1.0.24.1 )"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${P}-release
get_audio() {
if use alsa; then
echo alsa
elif use oss; then
echo oss
else
echo none
fi
}
src_prepare() {
epatch "${FILESDIR}"/${P}-tempfile.patch
epatch "${FILESDIR}"/${P}-fix-parallel-builds.patch
epatch "${FILESDIR}"/${P}-respect-destdir.patch
epatch "${FILESDIR}"/${P}-ldflags.patch
epatch "${FILESDIR}"/${P}-audio-interface.patch
sed -i main/Makefile \
-e '/-rpath/s|$(LIBDIR)|$(INSTALLLIBDIR)|g' \
|| die
eautoreconf
}
src_configure() {
local myconf
if ! use static-libs; then
myconf=--enable-shared
fi
myconf="${myconf} --with-audio=$(get_audio)"
econf ${myconf}
}
src_compile() {
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
}
src_install() {
emake DESTDIR="${D}" install
dodoc ACKNOWLEDGEMENTS README
if ! use static-libs; then
rm -rf "${D}"/usr/lib*/*.a
fi
}
pkg_postinst() {
if [ "$(get_audio)" = "none" ]; then
ewarn "you have built flite without audio support."
ewarn "If you want audio support, re-emerge"
ewarn "flite with alsa or oss in your use flags."
fi
}

@ -1,10 +1,10 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-dispatcher/speech-dispatcher-0.8-r2.ebuild,v 1.14 2013/08/29 19:49:47 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-dispatcher/speech-dispatcher-0.8-r2.ebuild,v 1.15 2014/11/23 17:23:43 floppym Exp $
EAPI=5
PYTHON_COMPAT=( python3_2 python3_3 )
PYTHON_COMPAT=( python{3_3,3_4} )
inherit eutils python-r1

@ -1,48 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/ccze/ccze-0.2.1-r2.ebuild,v 1.8 2012/03/18 15:51:16 armin76 Exp $
inherit fixheadtails autotools eutils toolchain-funcs
DESCRIPTION="A flexible and fast logfile colorizer"
HOMEPAGE="http://dev.gentoo.org/~joker/ccze/ccze.txt"
SRC_URI="mirror://gentoo/${P}.tar.gz"
RESTRICT="test"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~x86-fbsd"
IUSE=""
DEPEND="dev-libs/libpcre"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/ccze-fbsd.patch || die "epatch ccze-fbsd.patch failed"
epatch "${FILESDIR}"/ccze-segfault.patch || die "epatch ccze-segfault.patch"
# GCC 4.x fixes
sed -e 's/-Wswitch -Wmulticharacter/-Wswitch/' \
-i src/Makefile.in
sed -e '/AC_CHECK_TYPE(error_t, int)/d' \
-i configure.ac
eautoreconf
ht_fix_file Rules.mk.in
}
src_compile() {
# Bug #243314
tc-export CC
econf || die
emake || die
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog ChangeLog-0.1 NEWS THANKS README FAQ
}

@ -1,8 +1,8 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/ccze/ccze-0.2.1-r3.ebuild,v 1.8 2012/03/18 15:51:16 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/ccze/ccze-0.2.1-r3.ebuild,v 1.9 2014/11/23 10:01:06 jer Exp $
EAPI=4
EAPI=5
inherit fixheadtails autotools eutils toolchain-funcs
@ -29,6 +29,7 @@ src_prepare() {
epatch "${FILESDIR}"/ccze-fbsd.patch
epatch "${FILESDIR}"/ccze-segfault.patch
epatch "${FILESDIR}"/ccze-ldflags.patch
epatch "${FILESDIR}"/${P}-tinfo.patch
# GCC 4.x fixes
sed -e 's/-Wswitch -Wmulticharacter/-Wswitch/' \

@ -0,0 +1,10 @@
--- a/configure.ac
+++ b/configure.ac
@@ -100,6 +100,7 @@
strndup strstr])
AC_CHECK_LIB(ncurses, initscr, [], [AC_ERROR(NCurses library not found)])
+AC_SEARCH_LIBS(stdscr, tinfo,,[AC_ERROR([Cannot find a library providing stdscr])])
AC_CHECK_FUNC(dlopen, [], [AC_CHECK_LIB(dl, dlopen)])
AC_CHECK_FUNC(getopt_long, [], [AC_CHECK_LIB(gnugetopt, getopt_long)])

@ -1,5 +1,5 @@
--- src/ccze-compat.h.old 2006-10-13 12:50:16 +0200
+++ src/ccze-compat.h 2006-10-13 12:49:21 +0200
--- a/src/ccze-compat.h
+++ b/src/ccze-compat.h
@@ -29,6 +29,11 @@
#include <stddef.h>
#include <stdio.h>
@ -12,8 +12,8 @@
#ifndef HAVE_STRNDUP
char *strndup (const char *s, size_t size);
#endif
--- src/ccze-compat.c.old 2006-10-13 12:51:35 +0200
+++ src/ccze-compat.c 2006-10-13 12:51:44 +0200
--- a/src/ccze-compat.c
+++ b/src/ccze-compat.c
@@ -275,7 +275,7 @@
char **valuep)
{

@ -1,5 +1,5 @@
--- ccze-0.2.1/src/Makefile.in.org 2010-01-22 17:06:57.000000000 +0100
+++ ccze-0.2.1/src/Makefile.in 2010-01-22 18:00:28.000000000 +0100
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -75,7 +75,7 @@
${PROGRAM}: ${OBJECTS} ${PLUGIN_SOBJS}
${CC} -rdynamic ${ALL_CFLAGS} -o $@ $^ ${ALL_LDFLAGS}

@ -1,6 +1,5 @@
diff -ruN ccze-0.2.1.orig/src/ccze.c ccze-0.2.1/src/ccze.c
--- ccze-0.2.1.orig/src/ccze.c 2003-05-13 20:09:30.000000000 +0200
+++ ccze-0.2.1/src/ccze.c 2006-12-12 20:36:09.000000000 +0100
--- a/src/ccze.c
+++ b/src/ccze.c
@@ -209,7 +209,7 @@
}
break;

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/eselect-1.4.3.ebuild,v 1.2 2014/11/19 11:27:17 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/eselect-1.4.3.ebuild,v 1.3 2014/11/22 19:13:06 zlogene Exp $
EAPI=4
@ -12,7 +12,7 @@ SRC_URI="http://dev.gentoo.org/~ulm/eselect/${P}.tar.xz"
LICENSE="GPL-2+ || ( GPL-2+ CC-BY-SA-2.5 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc emacs vim-syntax"
RDEPEND="sys-apps/sed

@ -1,11 +1,12 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/system-tools-backends/system-tools-backends-2.10.2.ebuild,v 1.10 2014/06/22 18:46:20 maekke Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/system-tools-backends/system-tools-backends-2.10.2.ebuild,v 1.11 2014/11/23 22:27:19 pacho Exp $
EAPI="3"
EAPI="5"
GCONF_DEBUG="no"
GNOME_TARBALL_SUFFIX="bz2"
inherit eutils gnome2 user
inherit eutils gnome2 readme.gentoo user
DESCRIPTION="Tools aimed to make easy the administration of UNIX systems"
HOMEPAGE="http://projects.gnome.org/gst/"
@ -15,48 +16,52 @@ SLOT="0"
KEYWORDS="alpha amd64 ~arm ia64 ppc sparc x86"
IUSE=""
RDEPEND="!<app-admin/gnome-system-tools-1.1.91
RDEPEND="
!<app-admin/gnome-system-tools-1.1.91
>=sys-apps/dbus-1.1.2
>=dev-libs/dbus-glib-0.74
>=dev-libs/glib-2.15.2:2
>=dev-perl/Net-DBus-0.33.4
dev-lang/perl
>=sys-auth/polkit-0.94
userland_GNU? ( virtual/shadow )"
userland_GNU? ( virtual/shadow )
"
DEPEND="${RDEPEND}
virtual/pkgconfig
>=dev-util/intltool-0.40"
pkg_setup() {
DOCS="AUTHORS ChangeLog NEWS README TODO"
G2CONF="${G2CONF}
--localstatedir=/var"
DISABLE_AUTOFORMATTING="yes"
DOC_CONTENTS="You need to add yourself to the group stb-admin and
add system-tools-backends to the default runlevel.
You can do this as root like so:
# rc-update add system-tools-backends default
"
pkg_setup() {
enewgroup stb-admin
}
src_prepare() {
gnome2_src_prepare
# Change default permission, only people in stb-admin is allowed
# to speak to the dispatcher.
epatch "${FILESDIR}/${PN}-2.8.2-default-permissions.patch"
# Apply fix from ubuntu for CVE 2008 4311
epatch "${FILESDIR}/${PN}-2.8.2-cve-2008-4311.patch"
gnome2_src_prepare
}
src_configure() {
gnome2_src_configure --localstatedir=/var
}
src_install() {
gnome2_src_install
newinitd "${FILESDIR}"/stb.rc system-tools-backends
readme.gentoo_create_doc
}
pkg_postinst() {
echo
elog "You need to add yourself to the group stb-admin and"
elog "add system-tools-backends to the default runlevel."
elog "You can do this as root like so:"
elog " # rc-update add system-tools-backends default"
echo
gnome2_pkg_postinst
readme.gentoo_print_elog
}

@ -0,0 +1,24 @@
diff -ur pax-3.4-orig/lib/fts.c pax-3.4/lib/fts.c
--- pax-3.4-orig/lib/fts.c 2005-07-29 09:55:25.000000000 +0200
+++ pax-3.4/lib/fts.c 2014-10-30 21:38:42.404092744 +0100
@@ -35,7 +35,7 @@
#include <fcntl.h>
#include <dirent.h>
#include <errno.h>
-#include <fts.h>
+#include "fts.h"
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff -ur pax-3.4-orig/src/ftree.c pax-3.4/src/ftree.c
--- pax-3.4-orig/src/ftree.c 2005-07-29 09:46:06.000000000 +0200
+++ pax-3.4/src/ftree.c 2014-10-30 21:39:14.876093149 +0100
@@ -46,7 +46,7 @@
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
-#include <fts.h>
+#include "../lib/fts.h"
#include "pax.h"
#include "ftree.h"
#include "extern.h"

@ -0,0 +1,39 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/pax/pax-3.4.12.16-r1.ebuild,v 1.1 2014/11/23 17:45:44 remi Exp $
EAPI="4"
inherit eutils rpm versionator autotools
MY_PV=$(get_version_component_range 1-2)
MY_P="${PN}-${MY_PV}"
RPM_PV=$(get_version_component_range 3)
FC_PV=$(get_version_component_range 4)
DESCRIPTION="pax (Portable Archive eXchange) is the POSIX standard archive tool"
HOMEPAGE="http://www.openbsd.org/cgi-bin/cvsweb/src/bin/pax/"
SRC_URI="mirror://fedora-dev/releases/${FC_PV}/Everything/source/SRPMS/${MY_P}-${RPM_PV}.fc${FC_PV}.src.rpm"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE=""
S=${WORKDIR}/${MY_P}
src_prepare() {
rpm_spec_epatch ../${PN}.spec
epatch "${FILESDIR}"/pax-3.4-x32.patch
epatch "${FILESDIR}"/pax-3.4-fix-fts-includes.patch
sed -i configure.in \
-e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \
-e '/AC_PROG_RANLIB/a AC_PROG_MKDIR_P' \
|| die
eautoreconf
}
src_install() {
default
dodoc AUTHORS ChangeLog NEWS README THANKS
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.13.ebuild,v 1.10 2014/11/20 13:30:44 klausman Exp $
# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.13.ebuild,v 1.11 2014/11/23 19:04:22 zlogene Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
@ -14,7 +14,7 @@ SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}-signed.tar"
LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
IUSE="doc +keyutils openldap +pkinit selinux +threads test xinetd"
CDEPEND="!!app-crypt/heimdal

@ -0,0 +1,92 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-dicts/opendict/opendict-0.6.3-r1.ebuild,v 1.1 2014/11/23 20:15:44 pacho Exp $
EAPI=5
GCONF_DEBUG="no" # We skip gnome2_src_configure entirely
PYTHON_COMPAT=( python2_7 )
inherit eutils gnome2 python-single-r1 readme.gentoo
DESCRIPTION="OpenDict is a free cross-platform dictionary program"
HOMEPAGE="http://opendict.sourceforge.net/"
SRC_URI="http://opendict.idiles.com/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
dev-python/wxpython:2.8[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
DISABLE_AUTOFORMATTING="yes"
DOC_CONTENTS="If you want system-wide plugins, unzip them into
${ROOT}usr/share/${PN}/dictionaries/plugins
Some are available from http://opendict.sourceforge.net/?cid=3"
src_prepare() {
epatch "${FILESDIR}"/${P}-pyxml.patch
sed -e "s:), '..')):), '../../../../..', 'share', 'opendict')):g" \
-i "${S}/lib/info.py"
gnome2_src_prepare
}
src_configure() {
# override gnome2_src_configure
default
}
src_compile() {
# evil makefile
:
}
src_install() {
# makefile is broken, do it manually
dodir /usr/share/${PN}/dictionaries/plugins # global dictionary plugins folder
# Needed by GUI
insinto /usr/share/${PN}
doins "${S}"/copying.html
insinto /usr/share/${PN}/pixmaps
doins "${S}"/pixmaps/*
DHOME="$(python_get_sitedir)/opendict"
insinto "${DHOME}/lib"
doins -r "${S}"/lib/*
exeinto "${DHOME}"
python_fix_shebang opendict.py
doexe opendict.py
dosym "${DHOME}/opendict.py" /usr/bin/opendict
domenu misc/${PN}.desktop
insinto /usr/share/icons/hicolor/24x24/apps/
newins "${S}/pixmaps/icon-24x24.png" opendict.png
insinto /usr/share/icons/hicolor/32x32/apps/
newins "${S}/pixmaps/icon-32x32.png" opendict.png
insinto /usr/share/icons/hicolor/48x48/apps/
newins "${S}/pixmaps/icon-48x48.png" opendict.png
insinto /usr/share/icons/hicolor/scalable/apps/
newins "${S}/pixmaps/SVG/icon-rune.svg" opendict.svg
doman opendict.1
dodoc README.txt TODO.txt doc/Plugin-HOWTO.html
readme.gentoo_create_doc
}
pkg_postinst() {
gnome2_pkg_postinst
readme.gentoo_print_elog
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/adie/adie-1.6.49.ebuild,v 1.1 2014/11/10 22:06:35 mabi Exp $
# $Header: /var/cvsroot/gentoo-x86/app-editors/adie/adie-1.6.49.ebuild,v 1.2 2014/11/23 07:06:05 jer Exp $
EAPI="5"
@ -10,7 +10,7 @@ DESCRIPTION="Text editor based on the FOX Toolkit"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
KEYWORDS="~alpha ~amd64 hppa ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
DEPEND="x11-libs/fox:1.6"

@ -7,3 +7,4 @@ DIST vim-patches-7.4.273.patch.bz2 506378 SHA256 065447179d22602315e2965d135cf9f
DIST vim-patches-7.4.430.patch.bz2 680438 SHA256 173ebaaf7e39e9cc9face31e6f8269ec7e5880998a8b846a80f88bc65fa40be3 SHA512 dd58e693286bf73d49a3f0625d597fc88c6a72eb386eae9f8e656854ac42f92a3e0bc0b43efd23e55d65040ec4f767ab48366753736b1b843b85c2a738829a54 WHIRLPOOL 7ce6e2de659103edf2dc5ff09c66fbe3d24d5f1fcaf34e49daef65a1d5f498c9326c5384615cb011848d60fb5ec538a531b28f63d2c2f9a51db979bf3141086e
DIST vim-patches-7.4.475.patch.bz2 704060 SHA256 35e1f82629e888865d03ddf8647554a607d94fc5ba33502822fa171d4914aba3 SHA512 80e26c872793604b6ff76bbb9b63d10ed9633b448008158d2f2538e9a18c62f7070b5f014b221643d2e97d0d6f7812ffc8a038f7acb2e1558ac5a083d6db8ee0 WHIRLPOOL 983c51f3d1220ab0512491f04e72cbf90a2891d44c578dcde043737a700c329cc3a090f3d2bf581ad4a23b6765bb72517f76520da1299ea8a65c6ac5957578da
DIST vim-patches-7.4.488.patch.bz2 755739 SHA256 831bd6338a5169d90b82c313ea73256a70325ad8b721e2b7052d9d5ec5ff2fde SHA512 53a1041e2baa6477b179fd7879ca76867a8fff9cc21a7e843519fb96c3f880f6053760a7465d68c84ee4d7f6cb42cc2017152789a4b57db7953d20bbfa7dd4aa WHIRLPOOL 0bfc8d839e1d886ac8339edf01bb84e46f8c1d3754791d565d3b4050ebf678b548792c8d94b1c8f09824ebbee52fb1df9c65670b63fa860032278b318b89db66
DIST vim-patches-7.4.527.patch.bz2 791537 SHA256 18cc9809e5322ea121c0326246d268bd7e8a56457fa00c12756538f0efa4d80b SHA512 55cfe5be9a4f356c8053450b55c79a8ecb38a64a77a97613e020de6ff9149508f7298a9ac3adb2b830e7cc1d68e183986ceb894401a8cce011e020371286f8cc WHIRLPOOL a7d443387705bd89ff7ea17b915842f8d055640546715836555361de0d7d6bfc82b9211cedfa51ebf2b4b8fbb294dcb6940007e1884a53e5ad7dc4f352ede4df

@ -0,0 +1,405 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/gvim/gvim-7.4.527.ebuild,v 1.1 2014/11/24 03:47:09 radhermit Exp $
EAPI=5
VIM_VERSION="7.4"
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
PYTHON_REQ_USE=threads
inherit eutils vim-doc flag-o-matic fdo-mime versionator bash-completion-r1 prefix python-single-r1
if [[ ${PV} == 9999* ]] ; then
inherit mercurial
EHG_REPO_URI="https://vim.googlecode.com/hg/"
EHG_PROJECT="vim"
else
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}
http://dev.gentoo.org/~radhermit/vim/vim-${VIM_VERSION}-gentoo-patches.tar.bz2"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
fi
DESCRIPTION="GUI version of the Vim text editor"
HOMEPAGE="http://www.vim.org/"
SLOT="0"
LICENSE="vim"
IUSE="acl aqua cscope debug gnome gtk lua luajit motif neXt netbeans nls perl python racket ruby selinux session tcl"
REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
luajit? ( lua )
"
RDEPEND="
~app-editors/vim-core-${PV}
>=app-admin/eselect-vi-1.1
>=sys-libs/ncurses-5.2-r2
x11-libs/libXext
x11-libs/libXt
acl? ( kernel_linux? ( sys-apps/acl ) )
!aqua? (
gtk? (
>=x11-libs/gtk+-2.6:2
x11-libs/libXft
gnome? ( >=gnome-base/libgnomeui-2.6 )
)
!gtk? (
motif? ( >=x11-libs/motif-2.3:0 )
!motif? (
neXt? ( x11-libs/neXtaw )
!neXt? ( x11-libs/libXaw )
)
)
)
cscope? ( dev-util/cscope )
lua? (
luajit? ( dev-lang/luajit )
!luajit? ( dev-lang/lua[deprecated] )
)
nls? ( virtual/libintl )
perl? ( dev-lang/perl )
python? ( ${PYTHON_DEPS} )
racket? ( dev-scheme/racket )
ruby? ( || ( dev-lang/ruby:2.1 dev-lang/ruby:2.0 dev-lang/ruby:1.9 ) )
selinux? ( sys-libs/libselinux )
session? ( x11-libs/libSM )
tcl? ( dev-lang/tcl )
"
DEPEND="${RDEPEND}
>=app-admin/eselect-vi-1.1
dev-util/ctags
sys-devel/autoconf
virtual/pkgconfig
nls? ( sys-devel/gettext )
"
S=${WORKDIR}/vim${VIM_VERSION/.}
pkg_setup() {
# people with broken alphabets run into trouble. bug 82186.
unset LANG LC_ALL
export LC_COLLATE="C"
# Gnome sandbox silliness. bug #114475.
mkdir -p "${T}"/home
export HOME="${T}"/home
use python && python-single-r1_pkg_setup
}
src_prepare() {
if [[ ${PV} != 9999* ]] ; then
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2} ]] ; then
# Apply any patches available from vim.org for this version
epatch "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2}
fi
if [[ -d "${WORKDIR}"/patches/ ]]; then
# Gentoo patches to fix runtime issues, cross-compile errors, etc
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/patches/
fi
fi
# Fixup a script to use awk instead of nawk
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|| die "mve.awk sed failed"
# Read vimrc and gvimrc from /etc/vim
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
# Hopefully this pattern won't break for a while at least.
# This fixes bug 29398 (27 Sep 2003 agriffis)
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
"${S}"/runtime/doc/syntax.txt \
"${S}"/runtime/doc/tagsrch.txt \
"${S}"/runtime/doc/usr_29.txt \
"${S}"/runtime/menu.vim \
"${S}"/src/configure.in || die 'sed failed'
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
# this is NeXT, but it's actually just a file in dev-libs/9libs
# This fixes bug 43885 (20 Mar 2004 agriffis)
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
# correctly. To avoid some really entertaining error messages about stuff
# which isn't even in the source file being invalid, we'll do some trickery
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
# Try to avoid sandbox problems. Bug #114475.
if [[ -d "${S}"/src/po ]] ; then
sed -i '/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
"${S}"/src/po/Makefile
fi
if version_is_at_least 7.3.122 ; then
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
fi
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
if version_is_at_least 7.3 ; then
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
fi
epatch_user
}
src_configure() {
local myconf
# Fix bug 37354: Disallow -funroll-all-loops on amd64
# Bug 57859 suggests that we want to do this for all archs
filter-flags -funroll-all-loops
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
# everyone since previous flag filtering bugs have turned out to affect
# multiple archs...
replace-flags -O3 -O2
# Fix bug 18245: Prevent "make" from the following chain:
# (1) Notice configure.in is newer than auto/configure
# (2) Rebuild auto/configure
# (3) Notice auto/configure is newer than auto/config.mk
# (4) Run ./configure (with wrong args) to remake auto/config.mk
sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
rm -f src/auto/configure
emake -j1 -C src autoconf
# This should fix a sandbox violation (see bug 24447). The hvc
# things are for ppc64, see bug 86433.
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
[[ -e ${file} ]] && addwrite $file
done
use debug && append-flags "-DDEBUG"
myconf="--with-features=huge --disable-gpm --enable-multibyte"
myconf+=" $(use_enable acl)"
myconf+=" $(use_enable cscope)"
myconf+=" $(use_enable lua luainterp)"
myconf+=" $(use_with luajit)"
myconf+=" $(use_enable netbeans)"
myconf+=" $(use_enable nls)"
myconf+=" $(use_enable perl perlinterp)"
myconf+=" $(use_enable racket mzschemeinterp)"
myconf+=" $(use_enable ruby rubyinterp)"
myconf+=" $(use_enable selinux)"
myconf+=" $(use_enable session xsmp)"
myconf+=" $(use_enable tcl tclinterp)"
if use python ; then
if [[ ${EPYTHON} == python3* ]] ; then
myconf+=" --enable-python3interp"
export vi_cv_path_python3="${PYTHON}"
else
myconf+=" --enable-pythoninterp"
export vi_cv_path_python="${PYTHON}"
fi
else
myconf+=" --disable-pythoninterp --disable-python3interp"
fi
# --with-features=huge forces on cscope even if we --disable it. We need
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
if ! use cscope ; then
sed -i '/# define FEAT_CSCOPE/d' src/feature.h || \
die "couldn't disable cscope"
fi
# gvim's GUI preference order is as follows:
# aqua CARBON (not tested)
# -aqua gtk gnome GNOME2
# -aqua gtk -gnome GTK2
# -aqua -gtk motif MOTIF
# -aqua -gtk -motif neXt NEXTAW
# -aqua -gtk -motif -neXt ATHENA
echo ; echo
if use aqua ; then
einfo "Building gvim with the Carbon GUI"
myconf+=" --enable-darwin --enable-gui=carbon"
elif use gtk ; then
myconf+=" --enable-gtk2-check"
if use gnome ; then
einfo "Building gvim with the Gnome 2 GUI"
myconf+=" --enable-gui=gnome2"
else
einfo "Building gvim with the gtk+-2 GUI"
myconf+=" --enable-gui=gtk2"
fi
elif use motif ; then
einfo "Building gvim with the MOTIF GUI"
myconf+=" --enable-gui=motif"
elif use neXt ; then
einfo "Building gvim with the neXtaw GUI"
myconf+=" --enable-gui=nextaw"
else
einfo "Building gvim with the Athena GUI"
myconf+=" --enable-gui=athena"
fi
echo ; echo
# Let Portage do the stripping. Some people like that.
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
# Keep Gentoo Prefix env contained within the EPREFIX
use prefix && myconf+=" --without-local-dir"
if [[ ${CHOST} == *-interix* ]]; then
# avoid finding of this function, to avoid having to patch either
# configure or the source, which would be much more hackish.
# after all vim does it right, only interix is badly broken (again)
export ac_cv_func_sigaction=no
fi
econf \
--with-modified-by=Gentoo-${PVR} \
--with-vim-name=gvim --with-x \
${myconf}
}
src_compile() {
# The following allows emake to be used
emake -j1 -C src auto/osdef.h objects
emake
}
src_test() {
echo
einfo "Starting vim tests. Several error messages will be shown"
einfo "while the tests run. This is normal behaviour and does not"
einfo "indicate a fault."
echo
ewarn "If the tests fail, your terminal may be left in a strange"
ewarn "state. Usually, running 'reset' will fix this."
echo
# Don't let vim talk to X
unset DISPLAY
# We've got to call make test from within testdir, since the Makefiles
# don't pass through our VIMPROG argument
cd "${S}"/src/testdir
# Test 49 won't work inside a portage environment
einfo "Test 49 isn't sandbox-friendly, so it will be skipped."
sed -i 's~test49.out~~g' Makefile
# We don't want to rebuild vim before running the tests
sed -i 's,: \$(VIMPROG),: ,' Makefile
# Make gvim not try to connect to X. See :help gui-x11-start
# in vim for how this evil trickery works.
ln -s "${S}"/src/gvim "${S}"/src/testvim
# Don't try to do the additional GUI test
emake -j1 VIMPROG=../testvim nongui
}
# Make convenience symlinks, hopefully without stepping on toes. Some
# of these links are "owned" by the vim ebuild when it is installed,
# but they might be good for gvim as well (see bug 45828)
update_vim_symlinks() {
has "${EAPI:-0}" 0 1 2 && use !prefix && EROOT="${ROOT}"
local f syms
syms="vimdiff rvim rview"
einfo "Calling eselect vi update..."
# Call this with --if-unset to respect user's choice (bug 187449)
eselect vi update --if-unset
# Make or remove convenience symlink, vim -> gvim
if [[ -f "${EROOT}"/usr/bin/gvim ]]; then
ln -s gvim "${EROOT}"/usr/bin/vim 2>/dev/null
elif [[ -L "${EROOT}"/usr/bin/vim && ! -f "${EROOT}"/usr/bin/vim ]]; then
rm "${EROOT}"/usr/bin/vim
fi
# Make or remove convenience symlinks to vim
if [[ -f "${EROOT}"/usr/bin/vim ]]; then
for f in ${syms}; do
ln -s vim "${EROOT}"/usr/bin/${f} 2>/dev/null
done
else
for f in ${syms}; do
if [[ -L "${EROOT}"/usr/bin/${f} && ! -f "${EROOT}"/usr/bin/${f} ]]; then
rm -f "${EROOT}"/usr/bin/${f}
fi
done
fi
# This will still break if you merge then remove the vi package,
# but there's only so much you can do, eh? Unfortunately we don't
# have triggers like are done in rpm-land.
}
src_install() {
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
dobin src/gvim
dosym gvim /usr/bin/gvimdiff
dosym gvim /usr/bin/evim
dosym gvim /usr/bin/eview
dosym gvim /usr/bin/gview
dosym gvim /usr/bin/rgvim
dosym gvim /usr/bin/rgview
dodir /usr/share/man/man1
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gvim.1
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gview.1
echo ".so vimdiff.1" > "${ED}"/usr/share/man/man1/gvimdiff.1
insinto /etc/vim
newins "${FILESDIR}"/gvimrc-r1 gvimrc
eprefixify "${ED}"/etc/vim/gvimrc
newmenu "${FILESDIR}"/gvim.desktop-r2 gvim.desktop
doicon "${FILESDIR}"/gvim.xpm
# bash completion script, bug #79018.
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
# We shouldn't be installing the ex or view man page symlinks, as they
# are managed by eselect-vi
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
}
pkg_postinst() {
# Update documentation tags (from vim-doc.eclass)
update_vim_helptags
# Update fdo mime stuff, bug #78394
fdo-mime_mime_database_update
if [[ -z ${REPLACING_VERSIONS} ]] ; then
echo
elog "Vim 7 includes an integrated spell checker. You need to install"
elog "word list files before you can use it. There are ebuilds for"
elog "some of these named app-vim/vim-spell-*. If your language of"
elog "choice is not included, please consult vim-spell.eclass for"
elog "instructions on how to make a package."
echo
ewarn "Note that the English word lists are no longer installed by"
ewarn "default."
echo
fi
# Make convenience symlinks
update_vim_symlinks
}
pkg_postrm() {
# Update documentation tags (from vim-doc.eclass)
update_vim_helptags
# Update fdo mime stuff, bug #78394
fdo-mime_mime_database_update
# Make convenience symlinks
update_vim_symlinks
}

@ -6,13 +6,8 @@ DIST vim-core-7.3-gentoo-patches-r3.tar.bz2 3379 SHA256 2e0b38221b69d13c43cafb8c
DIST vim-core-7.3-gentoo-patches-r4.tar.bz2 3015 SHA256 a4f61e4d0cd1848812f603e7f6b8a5304d13ac199f4e3061264cd3bec75a17c5 SHA512 0ba7a20dfdc2c24a92a4af5a6fe49a94d5d5c5e9111c42c4812d0cd52c26cc567acd2d7e74f66730afd3c4bc9f1667b0ad9c1f82f93d2844d8309b143f293676 WHIRLPOOL cec628c0f19971077677e667cc8903ea0a56041799a43907d47acc218fd9e0a6ea2a2a30999c74512fb36d233c6ac6d436f033684290155ff6ae70be5277bdbf
DIST vim-patches-7.3.1214.patch.bz2 1678514 SHA256 ad8e7742b14337f77bc8d35a77b18455bc601d895dfa18faa8c62ef5ffcaf10b SHA512 1b336d6d55b1c123503590b8ccc8c6cfa516e29fdb9e273dcb79700ef0a4a0c1bf2c7a386d38de7ece1a69634016cd1e6f78f8cc5cb96a30f4c59483f5214c69 WHIRLPOOL 85f07bfc1a4fa28312185bb8a54225e0d69c09cdfc4d0aa492abc74639b77e2d908f08b561d1446292fbbe09ef0a8aeca67fb0a2720a70f93e9e05605c6d4b2a
DIST vim-patches-7.3.762.patch.bz2 1102824 SHA256 91dd83f66b1f362be987cff40c00c05b8dc699000b8b4932437829ed34936dab SHA512 b7288438f98b56e082a957c5178818f549dd8e2aca31301f432d3c6d94c0702e482e4c14b17c122f6a83a11bb21dcc165725b3996a503f6cb45400492ae783bd WHIRLPOOL cc1140556487fde2c2ee9a9351f4a062a080d270cfa8e728295beb233288efc7acdb750181dc25a2a1b74d4b547e1219e3f043c89b6a27348f7aa916d64f9fd3
DIST vim-patches-7.4.155.patch.bz2 183677 SHA256 df57d372ace540809dde22ad649ee7f13c4a165770cef28bb76d8dc7aa630671 SHA512 0667810a1ae908f5739ab37b32688fff3d65c4f69e83d3f9d0364112e8e7f70c77eeae3d672725df25ad837a75e373619321c1f183e7ded67afad544fbdd7801 WHIRLPOOL 829ab6152daed43323af6537669d4c3d6367138d0858c746ba02a6fc15497ef7161c62ccbe9bac7526296f5adf52a4ba1fe86c3539dd559ddc5cb4f6e0f90cfe
DIST vim-patches-7.4.169.patch.bz2 220499 SHA256 faf5e06098d45b25cea6ddb9e4ef080ce4717f2c2148678ded4f715bcb9fd652 SHA512 1102d7f89ad0cdd81f4bfa03875d400be3b642565527c61e72583b85723ef5f25ed7d7bc0dd6b620d013f65f500add84b96db734f45c21369e22405f6f6a6f8d WHIRLPOOL 1e45b776f85c941b3b741018338ece2b299576e5261103bc381e9b1f1162652bd79f119e060710dbabf99e3bff0668de9485df38b57897f716bd52a2f1f3cb2f
DIST vim-patches-7.4.193.patch.bz2 252912 SHA256 9fbfa1758610a84315bb74c3e6d8224779fd5ef1fccb3acabc488d855966839a SHA512 d86d1bcc2dea13971772ff716dfd455c66d7e8df280c2a7293ec2d7baa10a0e184b4083044665db7b4a0a7c64bbcc0c3f20e43fd937dd712fb4cfd6ce9a0a5ab WHIRLPOOL 46203445b9d8b445f2be63262a60d7e48ddf922c5830326af84199760e8770b0b987974f4abb52d97099ddfabb6c0f93cb6647bfe5e0f94eed056bbb10aee3db
DIST vim-patches-7.4.273.patch.bz2 506378 SHA256 065447179d22602315e2965d135cf9f1db4394ff5655520719f6338ff29e89ca SHA512 029a5cef758e4b201eabbc82458f3e1c3674582715a8c78a7270f3ecd57980b1cef66a0152526fd3505685c27c07f6e6742da48da9ad9546e3cfc2a5e7c11164 WHIRLPOOL 305322e991e9640b80147dd5ceac9dd6dae93a07610f807bbf01c0fdf37cba67ea41a1b2720c8a43da0161c57e0a522086f135efc712fb0106497a21288a872a
DIST vim-patches-7.4.326.patch.bz2 547801 SHA256 ef055424ee6a38967a38420c136ad54cde2f0da02417b9cd5893a1eaeae589fb SHA512 f047a9cbe01ce1820eed33b9ca7de769851b22e39083e17c6d41f1f9d705a64f608e12ad9a383d2c3d45da20466f4e6db26118424452b76c3344043c163bee1a WHIRLPOOL 01dbc695dc6ca698fa64bfc02a12ef97cb8d12e52992acf529fcc5f0264b8db58d33ef909b65ded282e77a06a352a23f5d592bfaa9d2a4ddfc566813bc725afc
DIST vim-patches-7.4.417.patch.bz2 672822 SHA256 244a556bf45a11d9b9a8669239062a400e1e73ea940e54b7bbaca954da7fc6be SHA512 abda7e717a486f677e0f6720beecc903879deadac9a61faf628a7c590030b81269c48c20de6e1fe99011072e9e7a675552917e7d367f9c2d3596688543e371e9 WHIRLPOOL 4398c9de866a2a84257fe2cd6743a75c494ecbd47ef2d5dd4393834e84801bf1786905dbf368f65b98eafb1541aaa5eda05b81f042afea564469f294add3f548
DIST vim-patches-7.4.430.patch.bz2 680438 SHA256 173ebaaf7e39e9cc9face31e6f8269ec7e5880998a8b846a80f88bc65fa40be3 SHA512 dd58e693286bf73d49a3f0625d597fc88c6a72eb386eae9f8e656854ac42f92a3e0bc0b43efd23e55d65040ec4f767ab48366753736b1b843b85c2a738829a54 WHIRLPOOL 7ce6e2de659103edf2dc5ff09c66fbe3d24d5f1fcaf34e49daef65a1d5f498c9326c5384615cb011848d60fb5ec538a531b28f63d2c2f9a51db979bf3141086e
DIST vim-patches-7.4.475.patch.bz2 704060 SHA256 35e1f82629e888865d03ddf8647554a607d94fc5ba33502822fa171d4914aba3 SHA512 80e26c872793604b6ff76bbb9b63d10ed9633b448008158d2f2538e9a18c62f7070b5f014b221643d2e97d0d6f7812ffc8a038f7acb2e1558ac5a083d6db8ee0 WHIRLPOOL 983c51f3d1220ab0512491f04e72cbf90a2891d44c578dcde043737a700c329cc3a090f3d2bf581ad4a23b6765bb72517f76520da1299ea8a65c6ac5957578da
DIST vim-patches-7.4.488.patch.bz2 755739 SHA256 831bd6338a5169d90b82c313ea73256a70325ad8b721e2b7052d9d5ec5ff2fde SHA512 53a1041e2baa6477b179fd7879ca76867a8fff9cc21a7e843519fb96c3f880f6053760a7465d68c84ee4d7f6cb42cc2017152789a4b57db7953d20bbfa7dd4aa WHIRLPOOL 0bfc8d839e1d886ac8339edf01bb84e46f8c1d3754791d565d3b4050ebf678b548792c8d94b1c8f09824ebbee52fb1df9c65670b63fa860032278b318b89db66
DIST vim-patches-7.4.52.patch.bz2 14 SHA256 d3dda84eb03b9738d118eb2be78e246106900493c0ae07819ad60815134a8058 SHA512 6de201dfed1d45412509c65deb34690dc2d09c6aafccfe491fd2f440f92842b9c755b61dc7bcdd4cc0c9f18cf46c2b3a1241e99c4c2a33fff5555e7b2f0b6348 WHIRLPOOL 39fd27630df1bd07de69b6bae68be5028bbefbc8ffdac645d5e0527eb1ed9575d0aaf97b39d0d6c9b69401846fbf8aeb3383b14bafb4a7564a20e92182dbd4b0
DIST vim-patches-7.4.527.patch.bz2 791537 SHA256 18cc9809e5322ea121c0326246d268bd7e8a56457fa00c12756538f0efa4d80b SHA512 55cfe5be9a4f356c8053450b55c79a8ecb38a64a77a97613e020de6ff9149508f7298a9ac3adb2b830e7cc1d68e183986ceb894401a8cce011e020371286f8cc WHIRLPOOL a7d443387705bd89ff7ea17b915842f8d055640546715836555361de0d7d6bfc82b9211cedfa51ebf2b4b8fbb294dcb6940007e1884a53e5ad7dc4f352ede4df

@ -1,230 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim-core/vim-core-7.4.169.ebuild,v 1.1 2014/02/06 07:00:46 radhermit Exp $
EAPI=5
VIM_VERSION="7.4"
inherit eutils vim-doc flag-o-matic versionator bash-completion-r1 prefix
if [[ ${PV} == 9999* ]] ; then
inherit mercurial
EHG_REPO_URI="https://vim.googlecode.com/hg/"
EHG_PROJECT="vim"
else
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
http://dev.gentoo.org/~radhermit/vim/${PN}-7.3-gentoo-patches-r4.tar.bz2
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}"
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 ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
DESCRIPTION="vim and gvim shared files"
HOMEPAGE="http://www.vim.org/"
SLOT="0"
LICENSE="vim"
IUSE="nls acl minimal"
DEPEND="sys-devel/autoconf"
PDEPEND="!minimal? ( app-vim/gentoo-syntax )"
S=${WORKDIR}/vim${VIM_VERSION/.}
pkg_setup() {
# people with broken alphabets run into trouble. bug 82186.
unset LANG LC_ALL
export LC_COLLATE="C"
# Gnome sandbox silliness. bug #114475.
mkdir -p "${T}"/home
export HOME="${T}"/home
}
src_prepare() {
if [[ ${PV} != 9999* ]] ; then
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2} ]] ; then
# Apply any patches available from vim.org for this version
epatch "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2}
fi
if [[ -d "${WORKDIR}"/gentoo/patches-core/ ]]; then
# Patches for vim-core only (runtime/*)
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/gentoo/patches-core/
fi
fi
# Fixup a script to use awk instead of nawk
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|| die "mve.awk sed failed"
# Read vimrc and gvimrc from /etc/vim
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
# Hopefully this pattern won't break for a while at least.
# This fixes bug 29398 (27 Sep 2003 agriffis)
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
"${S}"/runtime/doc/syntax.txt \
"${S}"/runtime/doc/tagsrch.txt \
"${S}"/runtime/doc/usr_29.txt \
"${S}"/runtime/menu.vim \
"${S}"/src/configure.in || die 'sed failed'
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
# this is NeXT, but it's actually just a file in dev-libs/9libs
# This fixes bug 43885 (20 Mar 2004 agriffis)
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
# correctly. To avoid some really entertaining error messages about stuff
# which isn't even in the source file being invalid, we'll do some trickery
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
# Try to avoid sandbox problems. Bug #114475.
if [[ -d "${S}"/src/po ]] ; then
sed -i -e \
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
"${S}"/src/po/Makefile
fi
if version_is_at_least 7.3.122 ; then
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
fi
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
if version_is_at_least 7.3 ; then
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
fi
}
src_configure() {
local myconf
# Fix bug 37354: Disallow -funroll-all-loops on amd64
# Bug 57859 suggests that we want to do this for all archs
filter-flags -funroll-all-loops
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
# everyone since previous flag filtering bugs have turned out to affect
# multiple archs...
replace-flags -O3 -O2
# Fix bug 18245: Prevent "make" from the following chain:
# (1) Notice configure.in is newer than auto/configure
# (2) Rebuild auto/configure
# (3) Notice auto/configure is newer than auto/config.mk
# (4) Run ./configure (with wrong args) to remake auto/config.mk
sed -i 's/ auto.config.mk:/:/' src/Makefile || die "Makefile sed failed"
rm -f src/auto/configure
emake -j1 -C src autoconf
# This should fix a sandbox violation (see bug 24447). The hvc
# things are for ppc64, see bug 86433.
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
[[ -e ${file} ]] && addwrite $file
done
# Let Portage do the stripping. Some people like that.
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
# Keep Gentoo Prefix env contained within the EPREFIX
use prefix && myconf+=" --without-local-dir"
econf \
--with-modified-by=Gentoo-${PVR} \
--with-features=tiny \
--enable-gui=no \
--without-x \
--disable-darwin \
--disable-perlinterp \
--disable-pythoninterp \
--disable-rubyinterp \
--disable-gpm \
--disable-selinux \
$(use_enable nls) \
$(use_enable acl) \
${myconf}
}
src_compile() {
# The following allows emake to be used
emake -j1 -C src auto/osdef.h objects
emake tools
}
src_test() { :; }
src_install() {
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
dodir /usr/{bin,share/{man/man1,vim}}
cd src || die "cd src failed"
emake \
installruntime \
installmanlinks \
installmacros \
installtutor \
installtutorbin \
installtools \
install-languages \
install-icons \
DESTDIR="${D}" \
BINDIR="${EPREFIX}"/usr/bin \
MANDIR="${EPREFIX}"/usr/share/man \
DATADIR="${EPREFIX}"/usr/share
keepdir ${vimfiles}/keymap
# default vimrc is installed by vim-core since it applies to
# both vim and gvim
insinto /etc/vim/
newins "${FILESDIR}"/vimrc-r4 vimrc
eprefixify "${ED}"/etc/vim/vimrc
if use minimal ; then
# To save space, install only a subset of the files.
# Helps minimalize the livecd, bug 65144.
eshopts_push -s extglob
rm -fr "${ED}${vimfiles}"/{compiler,doc,ftplugin,indent}
rm -fr "${ED}${vimfiles}"/{macros,print,tools,tutor}
rm "${ED}"/usr/bin/vimtutor
local keep_colors="default"
ignore=$(rm -fr "${ED}${vimfiles}"/colors/!(${keep_colors}).vim )
local keep_syntax="conf|crontab|fstab|inittab|resolv|sshdconfig"
# tinkering with the next line might make bad things happen ...
keep_syntax="${keep_syntax}|syntax|nosyntax|synload"
ignore=$(rm -fr "${ED}${vimfiles}"/syntax/!(${keep_syntax}).vim )
eshopts_pop
fi
# These files might have slight security issues, so we won't
# install them. See bug #77841. We don't mind if these don't
# exist.
rm "${ED}${vimfiles}"/tools/{vimspell.sh,tcltags} 2>/dev/null
newbashcomp "${FILESDIR}"/xxd-completion xxd
# We shouldn't be installing the ex or view man page symlinks, as they
# are managed by eselect-vi
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
}
pkg_postinst() {
# Update documentation tags (from vim-doc.eclass)
update_vim_helptags
}
pkg_postrm() {
# Update documentation tags (from vim-doc.eclass)
update_vim_helptags
}

@ -1,232 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim-core/vim-core-7.4.193.ebuild,v 1.1 2014/03/10 19:08:30 radhermit Exp $
EAPI=5
VIM_VERSION="7.4"
inherit eutils vim-doc flag-o-matic versionator bash-completion-r1 prefix
if [[ ${PV} == 9999* ]] ; then
inherit mercurial
EHG_REPO_URI="https://vim.googlecode.com/hg/"
EHG_PROJECT="vim"
else
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
http://dev.gentoo.org/~radhermit/vim/${PN}-7.3-gentoo-patches-r4.tar.bz2
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}"
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 ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
DESCRIPTION="vim and gvim shared files"
HOMEPAGE="http://www.vim.org/"
SLOT="0"
LICENSE="vim"
IUSE="nls acl minimal"
DEPEND="sys-devel/autoconf"
PDEPEND="!minimal? ( app-vim/gentoo-syntax )"
S=${WORKDIR}/vim${VIM_VERSION/.}
pkg_setup() {
# people with broken alphabets run into trouble. bug 82186.
unset LANG LC_ALL
export LC_COLLATE="C"
# Gnome sandbox silliness. bug #114475.
mkdir -p "${T}"/home
export HOME="${T}"/home
}
src_prepare() {
if [[ ${PV} != 9999* ]] ; then
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2} ]] ; then
# Apply any patches available from vim.org for this version
epatch "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2}
fi
if [[ -d "${WORKDIR}"/gentoo/patches-core/ ]]; then
# Patches for vim-core only (runtime/*)
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/gentoo/patches-core/
fi
fi
# Fixup a script to use awk instead of nawk
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|| die "mve.awk sed failed"
# Read vimrc and gvimrc from /etc/vim
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
# Hopefully this pattern won't break for a while at least.
# This fixes bug 29398 (27 Sep 2003 agriffis)
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
"${S}"/runtime/doc/syntax.txt \
"${S}"/runtime/doc/tagsrch.txt \
"${S}"/runtime/doc/usr_29.txt \
"${S}"/runtime/menu.vim \
"${S}"/src/configure.in || die 'sed failed'
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
# this is NeXT, but it's actually just a file in dev-libs/9libs
# This fixes bug 43885 (20 Mar 2004 agriffis)
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
# correctly. To avoid some really entertaining error messages about stuff
# which isn't even in the source file being invalid, we'll do some trickery
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
# Try to avoid sandbox problems. Bug #114475.
if [[ -d "${S}"/src/po ]] ; then
sed -i -e \
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
"${S}"/src/po/Makefile
fi
if version_is_at_least 7.3.122 ; then
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
fi
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
if version_is_at_least 7.3 ; then
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
fi
epatch_user
}
src_configure() {
local myconf
# Fix bug 37354: Disallow -funroll-all-loops on amd64
# Bug 57859 suggests that we want to do this for all archs
filter-flags -funroll-all-loops
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
# everyone since previous flag filtering bugs have turned out to affect
# multiple archs...
replace-flags -O3 -O2
# Fix bug 18245: Prevent "make" from the following chain:
# (1) Notice configure.in is newer than auto/configure
# (2) Rebuild auto/configure
# (3) Notice auto/configure is newer than auto/config.mk
# (4) Run ./configure (with wrong args) to remake auto/config.mk
sed -i 's/ auto.config.mk:/:/' src/Makefile || die "Makefile sed failed"
rm -f src/auto/configure
emake -j1 -C src autoconf
# This should fix a sandbox violation (see bug 24447). The hvc
# things are for ppc64, see bug 86433.
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
[[ -e ${file} ]] && addwrite $file
done
# Let Portage do the stripping. Some people like that.
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
# Keep Gentoo Prefix env contained within the EPREFIX
use prefix && myconf+=" --without-local-dir"
econf \
--with-modified-by=Gentoo-${PVR} \
--with-features=tiny \
--enable-gui=no \
--without-x \
--disable-darwin \
--disable-perlinterp \
--disable-pythoninterp \
--disable-rubyinterp \
--disable-gpm \
--disable-selinux \
$(use_enable nls) \
$(use_enable acl) \
${myconf}
}
src_compile() {
# The following allows emake to be used
emake -j1 -C src auto/osdef.h objects
emake tools
}
src_test() { :; }
src_install() {
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
dodir /usr/{bin,share/{man/man1,vim}}
cd src || die "cd src failed"
emake \
installruntime \
installmanlinks \
installmacros \
installtutor \
installtutorbin \
installtools \
install-languages \
install-icons \
DESTDIR="${D}" \
BINDIR="${EPREFIX}"/usr/bin \
MANDIR="${EPREFIX}"/usr/share/man \
DATADIR="${EPREFIX}"/usr/share
keepdir ${vimfiles}/keymap
# default vimrc is installed by vim-core since it applies to
# both vim and gvim
insinto /etc/vim/
newins "${FILESDIR}"/vimrc-r4 vimrc
eprefixify "${ED}"/etc/vim/vimrc
if use minimal ; then
# To save space, install only a subset of the files.
# Helps minimalize the livecd, bug 65144.
eshopts_push -s extglob
rm -fr "${ED}${vimfiles}"/{compiler,doc,ftplugin,indent}
rm -fr "${ED}${vimfiles}"/{macros,print,tools,tutor}
rm "${ED}"/usr/bin/vimtutor
local keep_colors="default"
ignore=$(rm -fr "${ED}${vimfiles}"/colors/!(${keep_colors}).vim )
local keep_syntax="conf|crontab|fstab|inittab|resolv|sshdconfig"
# tinkering with the next line might make bad things happen ...
keep_syntax="${keep_syntax}|syntax|nosyntax|synload"
ignore=$(rm -fr "${ED}${vimfiles}"/syntax/!(${keep_syntax}).vim )
eshopts_pop
fi
# These files might have slight security issues, so we won't
# install them. See bug #77841. We don't mind if these don't
# exist.
rm "${ED}${vimfiles}"/tools/{vimspell.sh,tcltags} 2>/dev/null
newbashcomp "${FILESDIR}"/xxd-completion xxd
# We shouldn't be installing the ex or view man page symlinks, as they
# are managed by eselect-vi
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
}
pkg_postinst() {
# Update documentation tags (from vim-doc.eclass)
update_vim_helptags
}
pkg_postrm() {
# Update documentation tags (from vim-doc.eclass)
update_vim_helptags
}

@ -1,232 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim-core/vim-core-7.4.326.ebuild,v 1.1 2014/06/16 05:57:58 radhermit Exp $
EAPI=5
VIM_VERSION="7.4"
inherit eutils vim-doc flag-o-matic versionator bash-completion-r1 prefix
if [[ ${PV} == 9999* ]] ; then
inherit mercurial
EHG_REPO_URI="https://vim.googlecode.com/hg/"
EHG_PROJECT="vim"
else
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
http://dev.gentoo.org/~radhermit/vim/${PN}-7.3-gentoo-patches-r4.tar.bz2
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}"
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 ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
DESCRIPTION="vim and gvim shared files"
HOMEPAGE="http://www.vim.org/"
SLOT="0"
LICENSE="vim"
IUSE="nls acl minimal"
DEPEND="sys-devel/autoconf"
PDEPEND="!minimal? ( app-vim/gentoo-syntax )"
S=${WORKDIR}/vim${VIM_VERSION/.}
pkg_setup() {
# people with broken alphabets run into trouble. bug 82186.
unset LANG LC_ALL
export LC_COLLATE="C"
# Gnome sandbox silliness. bug #114475.
mkdir -p "${T}"/home
export HOME="${T}"/home
}
src_prepare() {
if [[ ${PV} != 9999* ]] ; then
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2} ]] ; then
# Apply any patches available from vim.org for this version
epatch "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2}
fi
if [[ -d "${WORKDIR}"/gentoo/patches-core/ ]]; then
# Patches for vim-core only (runtime/*)
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/gentoo/patches-core/
fi
fi
# Fixup a script to use awk instead of nawk
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|| die "mve.awk sed failed"
# Read vimrc and gvimrc from /etc/vim
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
# Hopefully this pattern won't break for a while at least.
# This fixes bug 29398 (27 Sep 2003 agriffis)
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
"${S}"/runtime/doc/syntax.txt \
"${S}"/runtime/doc/tagsrch.txt \
"${S}"/runtime/doc/usr_29.txt \
"${S}"/runtime/menu.vim \
"${S}"/src/configure.in || die 'sed failed'
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
# this is NeXT, but it's actually just a file in dev-libs/9libs
# This fixes bug 43885 (20 Mar 2004 agriffis)
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
# correctly. To avoid some really entertaining error messages about stuff
# which isn't even in the source file being invalid, we'll do some trickery
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
# Try to avoid sandbox problems. Bug #114475.
if [[ -d "${S}"/src/po ]] ; then
sed -i -e \
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
"${S}"/src/po/Makefile
fi
if version_is_at_least 7.3.122 ; then
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
fi
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
if version_is_at_least 7.3 ; then
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
fi
epatch_user
}
src_configure() {
local myconf
# Fix bug 37354: Disallow -funroll-all-loops on amd64
# Bug 57859 suggests that we want to do this for all archs
filter-flags -funroll-all-loops
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
# everyone since previous flag filtering bugs have turned out to affect
# multiple archs...
replace-flags -O3 -O2
# Fix bug 18245: Prevent "make" from the following chain:
# (1) Notice configure.in is newer than auto/configure
# (2) Rebuild auto/configure
# (3) Notice auto/configure is newer than auto/config.mk
# (4) Run ./configure (with wrong args) to remake auto/config.mk
sed -i 's/ auto.config.mk:/:/' src/Makefile || die "Makefile sed failed"
rm -f src/auto/configure
emake -j1 -C src autoconf
# This should fix a sandbox violation (see bug 24447). The hvc
# things are for ppc64, see bug 86433.
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
[[ -e ${file} ]] && addwrite $file
done
# Let Portage do the stripping. Some people like that.
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
# Keep Gentoo Prefix env contained within the EPREFIX
use prefix && myconf+=" --without-local-dir"
econf \
--with-modified-by=Gentoo-${PVR} \
--with-features=tiny \
--enable-gui=no \
--without-x \
--disable-darwin \
--disable-perlinterp \
--disable-pythoninterp \
--disable-rubyinterp \
--disable-gpm \
--disable-selinux \
$(use_enable nls) \
$(use_enable acl) \
${myconf}
}
src_compile() {
# The following allows emake to be used
emake -j1 -C src auto/osdef.h objects
emake tools
}
src_test() { :; }
src_install() {
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
dodir /usr/{bin,share/{man/man1,vim}}
cd src || die "cd src failed"
emake \
installruntime \
installmanlinks \
installmacros \
installtutor \
installtutorbin \
installtools \
install-languages \
install-icons \
DESTDIR="${D}" \
BINDIR="${EPREFIX}"/usr/bin \
MANDIR="${EPREFIX}"/usr/share/man \
DATADIR="${EPREFIX}"/usr/share
keepdir ${vimfiles}/keymap
# default vimrc is installed by vim-core since it applies to
# both vim and gvim
insinto /etc/vim/
newins "${FILESDIR}"/vimrc-r4 vimrc
eprefixify "${ED}"/etc/vim/vimrc
if use minimal ; then
# To save space, install only a subset of the files.
# Helps minimalize the livecd, bug 65144.
eshopts_push -s extglob
rm -fr "${ED}${vimfiles}"/{compiler,doc,ftplugin,indent}
rm -fr "${ED}${vimfiles}"/{macros,print,tools,tutor}
rm "${ED}"/usr/bin/vimtutor
local keep_colors="default"
ignore=$(rm -fr "${ED}${vimfiles}"/colors/!(${keep_colors}).vim )
local keep_syntax="conf|crontab|fstab|inittab|resolv|sshdconfig"
# tinkering with the next line might make bad things happen ...
keep_syntax="${keep_syntax}|syntax|nosyntax|synload"
ignore=$(rm -fr "${ED}${vimfiles}"/syntax/!(${keep_syntax}).vim )
eshopts_pop
fi
# These files might have slight security issues, so we won't
# install them. See bug #77841. We don't mind if these don't
# exist.
rm "${ED}${vimfiles}"/tools/{vimspell.sh,tcltags} 2>/dev/null
newbashcomp "${FILESDIR}"/xxd-completion xxd
# We shouldn't be installing the ex or view man page symlinks, as they
# are managed by eselect-vi
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
}
pkg_postinst() {
# Update documentation tags (from vim-doc.eclass)
update_vim_helptags
}
pkg_postrm() {
# Update documentation tags (from vim-doc.eclass)
update_vim_helptags
}

@ -1,232 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim-core/vim-core-7.4.417.ebuild,v 1.1 2014/08/25 00:03:56 radhermit Exp $
EAPI=5
VIM_VERSION="7.4"
inherit eutils vim-doc flag-o-matic versionator bash-completion-r1 prefix
if [[ ${PV} == 9999* ]] ; then
inherit mercurial
EHG_REPO_URI="https://vim.googlecode.com/hg/"
EHG_PROJECT="vim"
else
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
http://dev.gentoo.org/~radhermit/vim/${PN}-7.3-gentoo-patches-r4.tar.bz2
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}"
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 ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
DESCRIPTION="vim and gvim shared files"
HOMEPAGE="http://www.vim.org/"
SLOT="0"
LICENSE="vim"
IUSE="nls acl minimal"
DEPEND="sys-devel/autoconf"
PDEPEND="!minimal? ( app-vim/gentoo-syntax )"
S=${WORKDIR}/vim${VIM_VERSION/.}
pkg_setup() {
# people with broken alphabets run into trouble. bug 82186.
unset LANG LC_ALL
export LC_COLLATE="C"
# Gnome sandbox silliness. bug #114475.
mkdir -p "${T}"/home
export HOME="${T}"/home
}
src_prepare() {
if [[ ${PV} != 9999* ]] ; then
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2} ]] ; then
# Apply any patches available from vim.org for this version
epatch "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2}
fi
if [[ -d "${WORKDIR}"/gentoo/patches-core/ ]]; then
# Patches for vim-core only (runtime/*)
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/gentoo/patches-core/
fi
fi
# Fixup a script to use awk instead of nawk
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|| die "mve.awk sed failed"
# Read vimrc and gvimrc from /etc/vim
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
# Hopefully this pattern won't break for a while at least.
# This fixes bug 29398 (27 Sep 2003 agriffis)
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
"${S}"/runtime/doc/syntax.txt \
"${S}"/runtime/doc/tagsrch.txt \
"${S}"/runtime/doc/usr_29.txt \
"${S}"/runtime/menu.vim \
"${S}"/src/configure.in || die 'sed failed'
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
# this is NeXT, but it's actually just a file in dev-libs/9libs
# This fixes bug 43885 (20 Mar 2004 agriffis)
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
# correctly. To avoid some really entertaining error messages about stuff
# which isn't even in the source file being invalid, we'll do some trickery
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
# Try to avoid sandbox problems. Bug #114475.
if [[ -d "${S}"/src/po ]] ; then
sed -i -e \
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
"${S}"/src/po/Makefile
fi
if version_is_at_least 7.3.122 ; then
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
fi
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
if version_is_at_least 7.3 ; then
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
fi
epatch_user
}
src_configure() {
local myconf
# Fix bug 37354: Disallow -funroll-all-loops on amd64
# Bug 57859 suggests that we want to do this for all archs
filter-flags -funroll-all-loops
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
# everyone since previous flag filtering bugs have turned out to affect
# multiple archs...
replace-flags -O3 -O2
# Fix bug 18245: Prevent "make" from the following chain:
# (1) Notice configure.in is newer than auto/configure
# (2) Rebuild auto/configure
# (3) Notice auto/configure is newer than auto/config.mk
# (4) Run ./configure (with wrong args) to remake auto/config.mk
sed -i 's/ auto.config.mk:/:/' src/Makefile || die "Makefile sed failed"
rm -f src/auto/configure
emake -j1 -C src autoconf
# This should fix a sandbox violation (see bug 24447). The hvc
# things are for ppc64, see bug 86433.
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
[[ -e ${file} ]] && addwrite $file
done
# Let Portage do the stripping. Some people like that.
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
# Keep Gentoo Prefix env contained within the EPREFIX
use prefix && myconf+=" --without-local-dir"
econf \
--with-modified-by=Gentoo-${PVR} \
--with-features=tiny \
--enable-gui=no \
--without-x \
--disable-darwin \
--disable-perlinterp \
--disable-pythoninterp \
--disable-rubyinterp \
--disable-gpm \
--disable-selinux \
$(use_enable nls) \
$(use_enable acl) \
${myconf}
}
src_compile() {
# The following allows emake to be used
emake -j1 -C src auto/osdef.h objects
emake tools
}
src_test() { :; }
src_install() {
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
dodir /usr/{bin,share/{man/man1,vim}}
cd src || die "cd src failed"
emake \
installruntime \
installmanlinks \
installmacros \
installtutor \
installtutorbin \
installtools \
install-languages \
install-icons \
DESTDIR="${D}" \
BINDIR="${EPREFIX}"/usr/bin \
MANDIR="${EPREFIX}"/usr/share/man \
DATADIR="${EPREFIX}"/usr/share
keepdir ${vimfiles}/keymap
# default vimrc is installed by vim-core since it applies to
# both vim and gvim
insinto /etc/vim/
newins "${FILESDIR}"/vimrc-r4 vimrc
eprefixify "${ED}"/etc/vim/vimrc
if use minimal ; then
# To save space, install only a subset of the files.
# Helps minimalize the livecd, bug 65144.
eshopts_push -s extglob
rm -fr "${ED}${vimfiles}"/{compiler,doc,ftplugin,indent}
rm -fr "${ED}${vimfiles}"/{macros,print,tools,tutor}
rm "${ED}"/usr/bin/vimtutor
local keep_colors="default"
ignore=$(rm -fr "${ED}${vimfiles}"/colors/!(${keep_colors}).vim )
local keep_syntax="conf|crontab|fstab|inittab|resolv|sshdconfig"
# tinkering with the next line might make bad things happen ...
keep_syntax="${keep_syntax}|syntax|nosyntax|synload"
ignore=$(rm -fr "${ED}${vimfiles}"/syntax/!(${keep_syntax}).vim )
eshopts_pop
fi
# These files might have slight security issues, so we won't
# install them. See bug #77841. We don't mind if these don't
# exist.
rm "${ED}${vimfiles}"/tools/{vimspell.sh,tcltags} 2>/dev/null
newbashcomp "${FILESDIR}"/xxd-completion xxd
# We shouldn't be installing the ex or view man page symlinks, as they
# are managed by eselect-vi
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
}
pkg_postinst() {
# Update documentation tags (from vim-doc.eclass)
update_vim_helptags
}
pkg_postrm() {
# Update documentation tags (from vim-doc.eclass)
update_vim_helptags
}

@ -1,233 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim-core/vim-core-7.4.52.ebuild,v 1.1 2013/10/15 23:13:15 radhermit Exp $
EAPI=5
VIM_VERSION="7.4"
inherit eutils vim-doc flag-o-matic versionator bash-completion-r1 prefix
if [[ ${PV} == 9999* ]] ; then
inherit mercurial
EHG_REPO_URI="https://vim.googlecode.com/hg/"
EHG_PROJECT="vim"
else
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
http://dev.gentoo.org/~radhermit/vim/${PN}-7.3-gentoo-patches-r3.tar.bz2
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}"
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 ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
DESCRIPTION="vim and gvim shared files"
HOMEPAGE="http://www.vim.org/"
SLOT="0"
LICENSE="vim"
IUSE="nls acl minimal"
DEPEND="sys-devel/autoconf"
PDEPEND="!minimal? ( app-vim/gentoo-syntax )"
S=${WORKDIR}/vim${VIM_VERSION/.}
pkg_setup() {
# people with broken alphabets run into trouble. bug 82186.
unset LANG LC_ALL
export LC_COLLATE="C"
# Gnome sandbox silliness. bug #114475.
mkdir -p "${T}"/home
export HOME="${T}"/home
}
src_prepare() {
if [[ ${PV} != 9999* ]] ; then
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2} ]] ; then
# Apply any patches available from vim.org for this version
epatch "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2}
fi
if [[ -d "${WORKDIR}"/gentoo/patches-core/ ]]; then
# Patches for vim-core only (runtime/*)
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/gentoo/patches-core/
fi
fi
# Fixup a script to use awk instead of nawk
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|| die "mve.awk sed failed"
# Patch to build with ruby-1.8.0_pre5 and following
sed -i 's/defout/stdout/g' "${S}"/src/if_ruby.c
# Read vimrc and gvimrc from /etc/vim
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
# Hopefully this pattern won't break for a while at least.
# This fixes bug 29398 (27 Sep 2003 agriffis)
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
"${S}"/runtime/doc/syntax.txt \
"${S}"/runtime/doc/tagsrch.txt \
"${S}"/runtime/doc/usr_29.txt \
"${S}"/runtime/menu.vim \
"${S}"/src/configure.in || die 'sed failed'
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
# this is NeXT, but it's actually just a file in dev-libs/9libs
# This fixes bug 43885 (20 Mar 2004 agriffis)
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
# correctly. To avoid some really entertaining error messages about stuff
# which isn't even in the source file being invalid, we'll do some trickery
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
# Try to avoid sandbox problems. Bug #114475.
if [[ -d "${S}"/src/po ]] ; then
sed -i -e \
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
"${S}"/src/po/Makefile
fi
if version_is_at_least 7.3.122 ; then
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
fi
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
if version_is_at_least 7.3 ; then
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
fi
}
src_configure() {
local myconf
# Fix bug 37354: Disallow -funroll-all-loops on amd64
# Bug 57859 suggests that we want to do this for all archs
filter-flags -funroll-all-loops
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
# everyone since previous flag filtering bugs have turned out to affect
# multiple archs...
replace-flags -O3 -O2
# Fix bug 18245: Prevent "make" from the following chain:
# (1) Notice configure.in is newer than auto/configure
# (2) Rebuild auto/configure
# (3) Notice auto/configure is newer than auto/config.mk
# (4) Run ./configure (with wrong args) to remake auto/config.mk
sed -i 's/ auto.config.mk:/:/' src/Makefile || die "Makefile sed failed"
rm -f src/auto/configure
emake -j1 -C src autoconf
# This should fix a sandbox violation (see bug 24447). The hvc
# things are for ppc64, see bug 86433.
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
[[ -e ${file} ]] && addwrite $file
done
# Let Portage do the stripping. Some people like that.
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
# Keep Gentoo Prefix env contained within the EPREFIX
use prefix && myconf+=" --without-local-dir"
econf \
--with-modified-by=Gentoo-${PVR} \
--with-features=tiny \
--enable-gui=no \
--without-x \
--disable-darwin \
--disable-perlinterp \
--disable-pythoninterp \
--disable-rubyinterp \
--disable-gpm \
--disable-selinux \
$(use_enable nls) \
$(use_enable acl) \
${myconf}
}
src_compile() {
# The following allows emake to be used
emake -j1 -C src auto/osdef.h objects
emake tools
}
src_test() { :; }
src_install() {
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
dodir /usr/{bin,share/{man/man1,vim}}
cd src || die "cd src failed"
emake \
installruntime \
installmanlinks \
installmacros \
installtutor \
installtutorbin \
installtools \
install-languages \
install-icons \
DESTDIR="${D}" \
BINDIR="${EPREFIX}"/usr/bin \
MANDIR="${EPREFIX}"/usr/share/man \
DATADIR="${EPREFIX}"/usr/share
keepdir ${vimfiles}/keymap
# default vimrc is installed by vim-core since it applies to
# both vim and gvim
insinto /etc/vim/
newins "${FILESDIR}"/vimrc-r4 vimrc
eprefixify "${ED}"/etc/vim/vimrc
if use minimal ; then
# To save space, install only a subset of the files.
# Helps minimalize the livecd, bug 65144.
eshopts_push -s extglob
rm -fr "${ED}${vimfiles}"/{compiler,doc,ftplugin,indent}
rm -fr "${ED}${vimfiles}"/{macros,print,tools,tutor}
rm "${ED}"/usr/bin/vimtutor
local keep_colors="default"
ignore=$(rm -fr "${ED}${vimfiles}"/colors/!(${keep_colors}).vim )
local keep_syntax="conf|crontab|fstab|inittab|resolv|sshdconfig"
# tinkering with the next line might make bad things happen ...
keep_syntax="${keep_syntax}|syntax|nosyntax|synload"
ignore=$(rm -fr "${ED}${vimfiles}"/syntax/!(${keep_syntax}).vim )
eshopts_pop
fi
# These files might have slight security issues, so we won't
# install them. See bug #77841. We don't mind if these don't
# exist.
rm "${ED}${vimfiles}"/tools/{vimspell.sh,tcltags} 2>/dev/null
newbashcomp "${FILESDIR}"/xxd-completion xxd
# We shouldn't be installing the ex or view man page symlinks, as they
# are managed by eselect-vi
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
}
pkg_postinst() {
# Update documentation tags (from vim-doc.eclass)
update_vim_helptags
}
pkg_postrm() {
# Update documentation tags (from vim-doc.eclass)
update_vim_helptags
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim-core/vim-core-7.4.155.ebuild,v 1.1 2014/01/23 10:30:29 radhermit Exp $
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim-core/vim-core-7.4.527.ebuild,v 1.1 2014/11/24 03:29:18 radhermit Exp $
EAPI=5
VIM_VERSION="7.4"
@ -12,10 +12,9 @@ if [[ ${PV} == 9999* ]] ; then
EHG_PROJECT="vim"
else
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
http://dev.gentoo.org/~radhermit/vim/${PN}-7.3-gentoo-patches-r3.tar.bz2
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}"
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}
http://dev.gentoo.org/~radhermit/vim/vim-${VIM_VERSION}-gentoo-patches.tar.bz2"
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 ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
@ -48,10 +47,10 @@ src_prepare() {
epatch "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2}
fi
if [[ -d "${WORKDIR}"/gentoo/patches-core/ ]]; then
# Patches for vim-core only (runtime/*)
if [[ -d "${WORKDIR}"/patches/ ]]; then
# Gentoo patches to fix runtime issues, cross-compile errors, etc
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/gentoo/patches-core/
epatch "${WORKDIR}"/patches/
fi
fi
@ -100,6 +99,8 @@ src_prepare() {
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
fi
epatch_user
}
src_configure() {
@ -119,7 +120,7 @@ src_configure() {
# (2) Rebuild auto/configure
# (3) Notice auto/configure is newer than auto/config.mk
# (4) Run ./configure (with wrong args) to remake auto/config.mk
sed -i 's/ auto.config.mk:/:/' src/Makefile || die "Makefile sed failed"
sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
rm -f src/auto/configure
emake -j1 -C src autoconf
@ -137,7 +138,6 @@ src_configure() {
econf \
--with-modified-by=Gentoo-${PVR} \
--with-features=tiny \
--enable-gui=no \
--without-x \
--disable-darwin \

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim-core/vim-core-9999.ebuild,v 1.11 2014/10/26 17:47:20 radhermit Exp $
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim-core/vim-core-9999.ebuild,v 1.12 2014/11/24 03:29:18 radhermit Exp $
EAPI=5
VIM_VERSION="7.4"
@ -138,7 +138,6 @@ src_configure() {
econf \
--with-modified-by=Gentoo-${PVR} \
--with-features=tiny \
--enable-gui=no \
--without-x \
--disable-darwin \

@ -7,3 +7,4 @@ DIST vim-patches-7.4.273.patch.bz2 506378 SHA256 065447179d22602315e2965d135cf9f
DIST vim-patches-7.4.430.patch.bz2 680438 SHA256 173ebaaf7e39e9cc9face31e6f8269ec7e5880998a8b846a80f88bc65fa40be3 SHA512 dd58e693286bf73d49a3f0625d597fc88c6a72eb386eae9f8e656854ac42f92a3e0bc0b43efd23e55d65040ec4f767ab48366753736b1b843b85c2a738829a54 WHIRLPOOL 7ce6e2de659103edf2dc5ff09c66fbe3d24d5f1fcaf34e49daef65a1d5f498c9326c5384615cb011848d60fb5ec538a531b28f63d2c2f9a51db979bf3141086e
DIST vim-patches-7.4.475.patch.bz2 704060 SHA256 35e1f82629e888865d03ddf8647554a607d94fc5ba33502822fa171d4914aba3 SHA512 80e26c872793604b6ff76bbb9b63d10ed9633b448008158d2f2538e9a18c62f7070b5f014b221643d2e97d0d6f7812ffc8a038f7acb2e1558ac5a083d6db8ee0 WHIRLPOOL 983c51f3d1220ab0512491f04e72cbf90a2891d44c578dcde043737a700c329cc3a090f3d2bf581ad4a23b6765bb72517f76520da1299ea8a65c6ac5957578da
DIST vim-patches-7.4.488.patch.bz2 755739 SHA256 831bd6338a5169d90b82c313ea73256a70325ad8b721e2b7052d9d5ec5ff2fde SHA512 53a1041e2baa6477b179fd7879ca76867a8fff9cc21a7e843519fb96c3f880f6053760a7465d68c84ee4d7f6cb42cc2017152789a4b57db7953d20bbfa7dd4aa WHIRLPOOL 0bfc8d839e1d886ac8339edf01bb84e46f8c1d3754791d565d3b4050ebf678b548792c8d94b1c8f09824ebbee52fb1df9c65670b63fa860032278b318b89db66
DIST vim-patches-7.4.527.patch.bz2 791537 SHA256 18cc9809e5322ea121c0326246d268bd7e8a56457fa00c12756538f0efa4d80b SHA512 55cfe5be9a4f356c8053450b55c79a8ecb38a64a77a97613e020de6ff9149508f7298a9ac3adb2b830e7cc1d68e183986ceb894401a8cce011e020371286f8cc WHIRLPOOL a7d443387705bd89ff7ea17b915842f8d055640546715836555361de0d7d6bfc82b9211cedfa51ebf2b4b8fbb294dcb6940007e1884a53e5ad7dc4f352ede4df

@ -0,0 +1,378 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim/vim-7.4.527.ebuild,v 1.1 2014/11/24 03:45:46 radhermit Exp $
EAPI=5
VIM_VERSION="7.4"
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
PYTHON_REQ_USE=threads
inherit eutils vim-doc flag-o-matic fdo-mime versionator bash-completion-r1 python-single-r1
if [[ ${PV} == 9999* ]] ; then
inherit mercurial
EHG_REPO_URI="https://vim.googlecode.com/hg/"
EHG_PROJECT="vim"
else
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}
http://dev.gentoo.org/~radhermit/vim/vim-${VIM_VERSION}-gentoo-patches.tar.bz2"
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 ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
DESCRIPTION="Vim, an improved vi-style text editor"
HOMEPAGE="http://www.vim.org/"
SLOT="0"
LICENSE="vim"
IUSE="X acl cscope debug gpm lua luajit minimal nls perl python racket ruby selinux tcl vim-pager"
REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
luajit? ( lua )
"
RDEPEND="
>=app-admin/eselect-vi-1.1
>=sys-libs/ncurses-5.2-r2
nls? ( virtual/libintl )
acl? ( kernel_linux? ( sys-apps/acl ) )
cscope? ( dev-util/cscope )
gpm? ( >=sys-libs/gpm-1.19.3 )
lua? (
luajit? ( dev-lang/luajit )
!luajit? ( dev-lang/lua[deprecated] )
)
!minimal? (
~app-editors/vim-core-${PV}
dev-util/ctags
)
perl? ( dev-lang/perl )
python? ( ${PYTHON_DEPS} )
racket? ( dev-scheme/racket )
ruby? ( || ( dev-lang/ruby:2.1 dev-lang/ruby:2.0 dev-lang/ruby:1.9 ) )
selinux? ( sys-libs/libselinux )
tcl? ( dev-lang/tcl )
X? ( x11-libs/libXt )
"
DEPEND="${RDEPEND}
>=app-admin/eselect-vi-1.1
sys-devel/autoconf
>=sys-libs/ncurses-5.2-r2
nls? ( sys-devel/gettext )
"
S=${WORKDIR}/vim${VIM_VERSION/.}
pkg_setup() {
# people with broken alphabets run into trouble. bug 82186.
unset LANG LC_ALL
export LC_COLLATE="C"
# Gnome sandbox silliness. bug #114475.
mkdir -p "${T}"/home
export HOME="${T}"/home
use python && python-single-r1_pkg_setup
}
src_prepare() {
if [[ ${PV} != 9999* ]] ; then
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2} ]] ; then
# Apply any patches available from vim.org for this version
epatch "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2}
fi
if [[ -d "${WORKDIR}"/patches/ ]]; then
# Gentoo patches to fix runtime issues, cross-compile errors, etc
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/patches/
fi
fi
# Fixup a script to use awk instead of nawk
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|| die "mve.awk sed failed"
# Read vimrc and gvimrc from /etc/vim
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
# Hopefully this pattern won't break for a while at least.
# This fixes bug 29398 (27 Sep 2003 agriffis)
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
"${S}"/runtime/doc/syntax.txt \
"${S}"/runtime/doc/tagsrch.txt \
"${S}"/runtime/doc/usr_29.txt \
"${S}"/runtime/menu.vim \
"${S}"/src/configure.in || die 'sed failed'
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
# this is NeXT, but it's actually just a file in dev-libs/9libs
# This fixes bug 43885 (20 Mar 2004 agriffis)
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
# correctly. To avoid some really entertaining error messages about stuff
# which isn't even in the source file being invalid, we'll do some trickery
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
# conditionally make the manpager.sh script
if use vim-pager ; then
cat <<-END > "${S}"/runtime/macros/manpager.sh
#!/bin/sh
sed -e 's/\x1B\[[[:digit:]]\+m//g' | col -b | \\
vim \\
-c 'let no_plugin_maps = 1' \\
-c 'set nolist nomod ft=man' \\
-c 'let g:showmarks_enable=0' \\
-c 'runtime! macros/less.vim' -
END
fi
# Try to avoid sandbox problems. Bug #114475.
if [[ -d "${S}"/src/po ]] ; then
sed -i '/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
"${S}"/src/po/Makefile
fi
if version_is_at_least 7.3.122 ; then
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
fi
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
if version_is_at_least 7.3 ; then
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
fi
epatch_user
}
src_configure() {
local myconf
# Fix bug 37354: Disallow -funroll-all-loops on amd64
# Bug 57859 suggests that we want to do this for all archs
filter-flags -funroll-all-loops
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
# everyone since previous flag filtering bugs have turned out to affect
# multiple archs...
replace-flags -O3 -O2
# Fix bug 18245: Prevent "make" from the following chain:
# (1) Notice configure.in is newer than auto/configure
# (2) Rebuild auto/configure
# (3) Notice auto/configure is newer than auto/config.mk
# (4) Run ./configure (with wrong args) to remake auto/config.mk
sed -i 's# auto/config\.mk:#:#' src/Makefile || die "Makefile sed failed"
rm -f src/auto/configure
emake -j1 -C src autoconf
# This should fix a sandbox violation (see bug 24447). The hvc
# things are for ppc64, see bug 86433.
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
[[ -e ${file} ]] && addwrite $file
done
if use minimal ; then
myconf="--with-features=tiny \
--disable-nls \
--disable-multibyte \
--disable-acl \
--enable-gui=no \
--without-x \
--disable-darwin \
--disable-luainterp \
--disable-perlinterp \
--disable-pythoninterp \
--disable-mzschemeinterp \
--disable-rubyinterp \
--disable-selinux \
--disable-tclinterp \
--disable-gpm"
else
use debug && append-flags "-DDEBUG"
myconf="--with-features=huge --enable-multibyte"
myconf+=" $(use_enable acl)"
myconf+=" $(use_enable cscope)"
myconf+=" $(use_enable gpm)"
myconf+=" $(use_enable lua luainterp)"
myconf+=" $(use_with luajit)"
myconf+=" $(use_enable nls)"
myconf+=" $(use_enable perl perlinterp)"
myconf+=" $(use_enable racket mzschemeinterp)"
myconf+=" $(use_enable ruby rubyinterp)"
myconf+=" $(use_enable selinux)"
myconf+=" $(use_enable tcl tclinterp)"
if use python ; then
if [[ ${EPYTHON} == python3* ]] ; then
myconf+=" --enable-python3interp"
export vi_cv_path_python3="${PYTHON}"
else
myconf+=" --enable-pythoninterp"
export vi_cv_path_python="${PYTHON}"
fi
else
myconf+=" --disable-pythoninterp --disable-python3interp"
fi
# --with-features=huge forces on cscope even if we --disable it. We need
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
if ! use cscope ; then
sed -i '/# define FEAT_CSCOPE/d' src/feature.h || \
die "couldn't disable cscope"
fi
# don't test USE=X here ... see bug #19115
# but need to provide a way to link against X ... see bug #20093
myconf+=" --enable-gui=no --disable-darwin $(use_with X x)"
fi
# Let Portage do the stripping. Some people like that.
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
# Keep Gentoo Prefix env contained within the EPREFIX
use prefix && myconf+=" --without-local-dir"
econf \
--with-modified-by=Gentoo-${PVR} \
${myconf}
}
src_compile() {
# The following allows emake to be used
emake -j1 -C src auto/osdef.h objects
emake
}
src_test() {
echo
einfo "Starting vim tests. Several error messages will be shown"
einfo "while the tests run. This is normal behaviour and does not"
einfo "indicate a fault."
echo
ewarn "If the tests fail, your terminal may be left in a strange"
ewarn "state. Usually, running 'reset' will fix this."
echo
# Don't let vim talk to X
unset DISPLAY
# We've got to call make test from within testdir, since the Makefiles
# don't pass through our VIMPROG argument
cd "${S}"/src/testdir
# Test 49 won't work inside a portage environment
einfo "Test 49 isn't sandbox-friendly, so it will be skipped."
sed -i 's~test49.out~~g' Makefile
# We don't want to rebuild vim before running the tests
sed -i 's,: \$(VIMPROG),: ,' Makefile
# Don't try to do the additional GUI test
emake -j1 VIMPROG=../vim nongui
}
# Make convenience symlinks, hopefully without stepping on toes. Some
# of these links are "owned" by the vim ebuild when it is installed,
# but they might be good for gvim as well (see bug 45828)
update_vim_symlinks() {
has "${EAPI:-0}" 0 1 2 && use !prefix && EROOT="${ROOT}"
local f syms
syms="vimdiff rvim rview"
einfo "Calling eselect vi update..."
# Call this with --if-unset to respect user's choice (bug 187449)
eselect vi update --if-unset
# Make or remove convenience symlink, vim -> gvim
if [[ -f "${EROOT}"/usr/bin/gvim ]]; then
ln -s gvim "${EROOT}"/usr/bin/vim 2>/dev/null
elif [[ -L "${EROOT}"/usr/bin/vim && ! -f "${EROOT}"/usr/bin/vim ]]; then
rm "${EROOT}"/usr/bin/vim
fi
# Make or remove convenience symlinks to vim
if [[ -f "${EROOT}"/usr/bin/vim ]]; then
for f in ${syms}; do
ln -s vim "${EROOT}"/usr/bin/${f} 2>/dev/null
done
else
for f in ${syms}; do
if [[ -L "${EROOT}"/usr/bin/${f} && ! -f "${EROOT}"/usr/bin/${f} ]]; then
rm -f "${EROOT}"/usr/bin/${f}
fi
done
fi
# This will still break if you merge then remove the vi package,
# but there's only so much you can do, eh? Unfortunately we don't
# have triggers like are done in rpm-land.
}
src_install() {
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
# Note: Do not install symlinks for 'vi', 'ex', or 'view', as these are
# managed by eselect-vi
dobin src/vim
dosym vim /usr/bin/vimdiff
dosym vim /usr/bin/rvim
dosym vim /usr/bin/rview
if use vim-pager ; then
dosym ${vimfiles}/macros/less.sh /usr/bin/vimpager
dosym ${vimfiles}/macros/manpager.sh /usr/bin/vimmanpager
insinto ${vimfiles}/macros
doins runtime/macros/manpager.sh
fperms a+x ${vimfiles}/macros/manpager.sh
fi
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
# keep in sync with 'complete ... -F' list
bashcomp_alias vim ex vi view rvim rview vimdiff
# We shouldn't be installing the ex or view man page symlinks, as they
# are managed by eselect-vi
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
}
pkg_postinst() {
# Update documentation tags (from vim-doc.eclass)
update_vim_helptags
if [[ -z ${REPLACING_VERSIONS} ]] ; then
if use X ; then
echo
elog "The 'X' USE flag enables vim <-> X communication, like"
elog "updating the xterm titlebar. It does not install a GUI."
fi
echo
elog "To install a GUI version of vim, use the app-editors/gvim"
elog "package."
echo
elog "Vim 7 includes an integrated spell checker. You need to install"
elog "word list files before you can use it. There are ebuilds for"
elog "some of these named app-vim/vim-spell-*. If your language of"
elog "choice is not included, please consult vim-spell.eclass for"
elog "instructions on how to make a package."
echo
ewarn "Note that the English word lists are no longer installed by"
ewarn "default."
fi
# Make convenience symlinks
update_vim_symlinks
}
pkg_postrm() {
# Update documentation tags (from vim-doc.eclass)
update_vim_helptags
# Make convenience symlinks
update_vim_symlinks
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/xemacs-21.4.22-r4.ebuild,v 1.7 2014/11/20 15:20:07 klausman Exp $
# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/xemacs-21.4.22-r4.ebuild,v 1.8 2014/11/23 13:41:35 zlogene Exp $
# Note: xemacs currently does not work with a hardened profile. If you
# want to use xemacs on a hardened profile then compile with the
@ -18,7 +18,7 @@ SRC_URI="http://ftp.xemacs.org/xemacs-21.4/${P}.tar.gz
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="alpha amd64 hppa ppc ~ppc64 ~sparc ~x86"
KEYWORDS="alpha amd64 hppa ppc ~ppc64 ~sparc x86"
IUSE="eolconv gif gpm pop postgres ldap xface nas dnd X jpeg tiff png mule motif freewnn canna xim athena neXt Xaw3d gdbm berkdb"
X_DEPEND="x11-libs/libXt x11-libs/libXmu x11-libs/libXext x11-misc/xbitmaps"

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/eselect-mode/eselect-mode-1.4.3.ebuild,v 1.2 2014/11/19 11:26:59 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emacs/eselect-mode/eselect-mode-1.4.3.ebuild,v 1.3 2014/11/22 19:13:57 zlogene Exp $
EAPI=5
@ -13,7 +13,7 @@ SRC_URI="http://dev.gentoo.org/~ulm/eselect/${MY_P}.tar.xz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
S="${WORKDIR}/${MY_P}/misc"
SITEFILE="50${PN}-gentoo.el"

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/python-mode/python-mode-6.1.2.ebuild,v 1.6 2014/11/11 10:47:37 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-emacs/python-mode/python-mode-6.1.2.ebuild,v 1.8 2014/11/23 20:36:27 ago Exp $
EAPI=5
@ -13,7 +13,7 @@ SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${MY_P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="amd64 arm hppa ia64 ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
KEYWORDS="amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
S="${WORKDIR}/${MY_P}"
SITEFILE="50${PN}-gentoo.el"

@ -0,0 +1,138 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-gtklibs/emul-linux-x86-gtklibs-20140508-r5.ebuild,v 1.1 2014/11/24 02:50:47 tetromino Exp $
EAPI=5
inherit emul-linux-x86
LICENSE="GPL-2 LGPL-2 FTL LGPL-2.1 LGPL-3 MPL-1.1 MIT"
KEYWORDS="-* ~amd64"
IUSE="abi_x86_32"
DEPEND=""
RDEPEND="~app-emulation/emul-linux-x86-baselibs-${PV}
~app-emulation/emul-linux-x86-xlibs-${PV}
~app-emulation/emul-linux-x86-opengl-${PV}
!abi_x86_32? (
!>=media-gfx/graphite2-1.2.4-r1[abi_x86_32(-)]
!>=media-libs/harfbuzz-0.9.26-r1[abi_x86_32(-)]
!>=app-accessibility/at-spi2-core-2.12.0-r1[abi_x86_32(-)]
!>=app-accessibility/at-spi2-atk-2.12.1-r1[abi_x86_32(-)]
!>=x11-libs/gtk+-3.12.2-r1[abi_x86_32(-)]
!>=x11-libs/libnotify-0.7.6-r1[abi_x86_32(-)]
)
abi_x86_32? (
>=x11-libs/pixman-0.32.4[abi_x86_32(-)]
>=x11-libs/cairo-1.12.16-r2[abi_x86_32(-)]
>=x11-libs/gdk-pixbuf-2.30.7[abi_x86_32(-)]
>=media-gfx/graphite2-1.2.4-r1[abi_x86_32(-)]
>=media-libs/harfbuzz-0.9.26-r1[abi_x86_32(-)]
>=x11-libs/pango-1.36.3[abi_x86_32(-)]
>=x11-libs/pangox-compat-0.0.2-r1[abi_x86_32(-)]
>=media-libs/imlib-1.9.15-r4[abi_x86_32(-)]
>=dev-libs/atk-2.10.0-r1[abi_x86_32(-)]
>=x11-libs/gtk+-2.24.23-r2:2[abi_x86_32(-)]
>=gnome-base/gconf-3.2.6-r3[abi_x86_32(-)]
>=gnome-base/gnome-vfs-2.24.4-r2[abi_x86_32(-)]
>=gnome-base/libglade-2.6.4-r2[abi_x86_32(-)]
>=app-accessibility/at-spi2-core-2.12.0-r1[abi_x86_32(-)]
>=app-accessibility/at-spi2-atk-2.12.1-r1[abi_x86_32(-)]
>=x11-libs/gtk+-3.12.2-r1[abi_x86_32(-)]
>=x11-libs/libnotify-0.7.6-r1[abi_x86_32(-)]
)"
# RDEPEND on opengl stuff needed due cairo, bug #410213
my_gdk_pixbuf_query_loaders() {
# causes segfault if set
unset __GL_NO_DSO_FINALIZER
local tmp_file=$(mktemp --suffix=tmp.XXXXXXXXXXgdk_pixbuf_queryloaders)
if [ -z "${tmp_file}" ]; then
ewarn "Cannot create temporary file"
return 1
fi
if gdk-pixbuf-query-loaders32 > "${tmp_file}"; then
cat "${tmp_file}" > "${ROOT}usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders.cache"
else
ewarn "Warning, gdk-pixbuf-query-loaders32 failed."
fi
rm "${tmp_file}"
}
my_pango_querymodules() {
PANGO_CONFDIR="/etc/pango/i686-pc-linux-gnu"
einfo "Generating pango modules listing..."
mkdir -p "${PANGO_CONFDIR}"
local pango_conf="${PANGO_CONFDIR}/pango.modules"
local tmp_file=$(mktemp -t tmp.XXXXXXXXXXpango_querymodules)
if [ -z "${tmp_file}" ]; then
ewarn "Cannot create temporary file"
return 1
fi
if pango-querymodules32 > "${tmp_file}"; then
cat "${tmp_file}" > "${pango_conf}"
else
ewarn "Cannot update pango.modules, file generation failed"
fi
rm "${tmp_file}"
}
my_gtk_query_immodules() {
GTK2_CONFDIR="/etc/gtk-2.0/i686-pc-linux-gnu"
einfo "Generating gtk+ immodules/gdk-pixbuf loaders listing..."
mkdir -p "${GTK2_CONFDIR}"
local gtk_conf="${ROOT}${GTK2_CONFDIR}/gtk.immodules"
local tmp_file=$(mktemp -t tmp.XXXXXXXXXXgtk_query_immodules)
if [ -z "${tmp_file}" ]; then
ewarn "Cannot create temporary file"
return 1
fi
if gtk-query-immodules-2.0-32 > "${tmp_file}"; then
cat "${tmp_file}" > "${gtk_conf}"
else
ewarn "Cannot update gtk.immodules, file generation failed"
fi
rm "${tmp_file}"
}
src_prepare() {
query_tools="${S}/usr/bin/gtk-query-immodules-2.0|${S}/usr/bin/gdk-pixbuf-query-loaders|${S}/usr/bin/i686-pc-linux-gnu-gdk-pixbuf-query-loaders|${S}/usr/bin/pango-querymodules"
ALLOWED="(${S}/etc/env.d|${S}/etc/gtk-2.0|${S}/etc/pango/i686-pc-linux-gnu|${query_tools})"
emul-linux-x86_src_prepare
# these tools generate an index in /etc/{pango,gtk-2.0}/${CHOST}
mv -f "${S}/usr/bin/pango-querymodules"{,32} || die
mv -f "${S}/usr/bin/gtk-query-immodules-2.0"{,-32} || die
mv -f "${S}/usr/bin/gdk-pixbuf-query-loaders"{,32} || die
# Remove migrated stuff.
use abi_x86_32 && rm -f $(cat "${FILESDIR}/remove-native-${PVR}")
}
pkg_preinst() {
#bug 169058
for l in "${ROOT}/usr/lib32/{pango,gtk-2.0}" ; do
[[ -L ${l} ]] && rm -f ${l}
done
}
pkg_postinst() {
if ! use abi_x86_32; then
my_pango_querymodules
my_gdk_pixbuf_query_loaders
my_gtk_query_immodules
fi
# gdk-pixbuf.loaders should be in their CHOST directories respectively.
if [[ -e "${ROOT}/etc/gtk-2.0/gdk-pixbuf.loaders" ]] ; then
ewarn
ewarn "File /etc/gtk-2.0/gdk-pixbuf.loaders shouldn't be present on"
ewarn "multilib systems, please remove it by hand."
ewarn
fi
}

@ -0,0 +1,222 @@
usr/lib32/libpixman-1.so
usr/lib32/libpixman-1.so.0
usr/lib32/libpixman-1.so.0.32.4
usr/lib32/pkgconfig/pixman-1.pc
usr/lib32/cairo/cairo-fdr.so
usr/lib32/cairo/cairo-fdr.so.0
usr/lib32/cairo/cairo-fdr.so.0.0.0
usr/lib32/cairo/cairo-sphinx.so
usr/lib32/cairo/cairo-sphinx.so.0
usr/lib32/cairo/cairo-sphinx.so.0.0.0
usr/lib32/cairo/libcairo-trace.so
usr/lib32/cairo/libcairo-trace.so.0
usr/lib32/cairo/libcairo-trace.so.0.0.0
usr/lib32/libcairo-gobject.so
usr/lib32/libcairo-gobject.so.2
usr/lib32/libcairo-gobject.so.2.11200.16
usr/lib32/libcairo-script-interpreter.so
usr/lib32/libcairo-script-interpreter.so.2
usr/lib32/libcairo-script-interpreter.so.2.11200.16
usr/lib32/libcairo.so
usr/lib32/libcairo.so.2
usr/lib32/libcairo.so.2.11200.16
usr/lib32/pkgconfig/cairo-egl.pc
usr/lib32/pkgconfig/cairo-fc.pc
usr/lib32/pkgconfig/cairo-ft.pc
usr/lib32/pkgconfig/cairo-gl.pc
usr/lib32/pkgconfig/cairo-glx.pc
usr/lib32/pkgconfig/cairo-gobject.pc
usr/lib32/pkgconfig/cairo-pdf.pc
usr/lib32/pkgconfig/cairo-png.pc
usr/lib32/pkgconfig/cairo-ps.pc
usr/lib32/pkgconfig/cairo-script.pc
usr/lib32/pkgconfig/cairo-svg.pc
usr/lib32/pkgconfig/cairo-tee.pc
usr/lib32/pkgconfig/cairo-xlib-xrender.pc
usr/lib32/pkgconfig/cairo-xlib.pc
usr/lib32/pkgconfig/cairo.pc
usr/bin/gdk-pixbuf-query-loaders32
usr/lib32/libgdk_pixbuf_xlib-2.0.so.0.3000.7
usr/lib32/libgdk_pixbuf-2.0.so
usr/lib32/libgdk_pixbuf_xlib-2.0.so
usr/lib32/pkgconfig/gdk-pixbuf-2.0.pc
usr/lib32/pkgconfig/gdk-pixbuf-xlib-2.0.pc
usr/lib32/libgdk_pixbuf-2.0.so.0.3000.7
usr/lib32/libgdk_pixbuf_xlib-2.0.so.0
usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ras.so
usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ani.so
usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-icns.so
usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xbm.so
usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pcx.so
usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pnm.so
usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.so
usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so
usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-wbmp.so
usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tga.so
usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-bmp.so
usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.so
usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tiff.so
usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-qtif.so
usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so
usr/lib32/libgdk_pixbuf-2.0.so.0
usr/bin/pango-querymodules32
usr/lib32/libpango-1.0.so
usr/lib32/libpango-1.0.so.0
usr/lib32/libpango-1.0.so.0.3600.3
usr/lib32/libpangocairo-1.0.so
usr/lib32/libpangocairo-1.0.so.0
usr/lib32/libpangocairo-1.0.so.0.3600.3
usr/lib32/libpangoft2-1.0.so
usr/lib32/libpangoft2-1.0.so.0
usr/lib32/libpangoft2-1.0.so.0.3600.3
usr/lib32/libpangox-1.0.so
usr/lib32/libpangox-1.0.so.0
usr/lib32/libpangox-1.0.so.0.0.0
usr/lib32/libpangoxft-1.0.so
usr/lib32/libpangoxft-1.0.so.0
usr/lib32/libpangoxft-1.0.so.0.3600.3
usr/lib32/pango/1.8.0/modules/pango-arabic-lang.so
usr/lib32/pango/1.8.0/modules/pango-indic-lang.so
usr/lib32/pango/1.8.0/modules/pango-basic-fc.so
usr/lib32/pkgconfig/pango.pc
usr/lib32/pkgconfig/pangocairo.pc
usr/lib32/pkgconfig/pangoft2.pc
usr/lib32/pkgconfig/pangox.pc
usr/lib32/pkgconfig/pangoxft.pc
usr/lib32/libgraphite2.so
usr/lib32/libgraphite2.so.3
usr/lib32/libgraphite2.so.3.0.1
usr/lib32/pkgconfig/graphite2.pc
usr/lib32/libharfbuzz-gobject.so
usr/lib32/libharfbuzz-gobject.so.0
usr/lib32/libharfbuzz-gobject.so.0.923.0
usr/lib32/libharfbuzz.so
usr/lib32/libharfbuzz.so.0
usr/lib32/libharfbuzz.so.0.923.0
usr/lib32/pkgconfig/harfbuzz-gobject.pc
usr/lib32/pkgconfig/harfbuzz.pc
usr/lib32/libImlib.so
usr/lib32/libImlib.so.1
usr/lib32/libImlib.so.1.9.15
usr/lib32/pkgconfig/imlib.pc
usr/lib32/libatk-1.0.so
usr/lib32/libatk-1.0.so.0
usr/lib32/libatk-1.0.so.0.21009.1
usr/lib32/pkgconfig/atk.pc
usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-file.so
usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-cups.so
usr/lib32/gtk-2.0/2.10.0/printbackends/libprintbackend-lpr.so
usr/lib32/gtk-2.0/2.10.0/engines/libpixmap.so
usr/lib32/gtk-2.0/2.10.0/immodules/im-am-et.so
usr/lib32/gtk-2.0/2.10.0/immodules/im-inuktitut.so
usr/lib32/gtk-2.0/2.10.0/immodules/im-cedilla.so
usr/lib32/gtk-2.0/2.10.0/immodules/im-viqr.so
usr/lib32/gtk-2.0/2.10.0/immodules/im-cyrillic-translit.so
usr/lib32/gtk-2.0/2.10.0/immodules/im-thai.so
usr/lib32/gtk-2.0/2.10.0/immodules/im-ipa.so
usr/lib32/gtk-2.0/2.10.0/immodules/im-ti-et.so
usr/lib32/gtk-2.0/2.10.0/immodules/im-ti-er.so
usr/lib32/gtk-2.0/2.10.0/immodules/im-multipress.so
usr/lib32/gtk-2.0/2.10.0/immodules/im-xim.so
usr/lib32/gtk-2.0/include/gdkconfig.h
usr/lib32/gtk-2.0/modules/libgail.so
usr/lib32/gtk-2.0/modules/libferret.so
usr/lib32/libgailutil.so
usr/lib32/libgailutil.so.18
usr/lib32/libgailutil.so.18.0.1
usr/lib32/libgdk-x11-2.0.so
usr/lib32/libgdk-x11-2.0.so.0
usr/lib32/libgdk-x11-2.0.so.0.2400.23
usr/lib32/libgtk-x11-2.0.so
usr/lib32/libgtk-x11-2.0.so.0
usr/lib32/libgtk-x11-2.0.so.0.2400.23
usr/lib32/pkgconfig/gail.pc
usr/lib32/pkgconfig/gdk-2.0.pc
usr/lib32/pkgconfig/gdk-x11-2.0.pc
usr/lib32/pkgconfig/gtk+-2.0.pc
usr/lib32/pkgconfig/gtk+-unix-print-2.0.pc
usr/lib32/pkgconfig/gtk+-x11-2.0.pc
usr/lib32/gtk-2.0/2.10.0/engines/libmurrine.so
usr/lib32/gtk-2.0/2.10.0/engines/libmist.so
usr/lib32/gtk-2.0/2.10.0/engines/libthinice.so
usr/lib32/gtk-2.0/2.10.0/engines/libglide.so
usr/lib32/gtk-2.0/2.10.0/engines/libhcengine.so
usr/lib32/gtk-2.0/2.10.0/engines/libclearlooks.so
usr/lib32/gtk-2.0/2.10.0/engines/libxfce.so
usr/lib32/gtk-2.0/2.10.0/engines/libindustrial.so
usr/lib32/gtk-2.0/2.10.0/engines/libredmond95.so
usr/lib32/gtk-2.0/2.10.0/engines/libcrux-engine.so
usr/lib32/pkgconfig/gtk-engines-2.pc
usr/lib32/GConf/2/libgconfbackend-evoldap.so
usr/lib32/GConf/2/libgconfbackend-oldxml.so
usr/lib32/GConf/2/libgconfbackend-xml.so
usr/lib32/gio/modules/libgsettingsgconfbackend.so
usr/lib32/libgconf-2.so
usr/lib32/libgconf-2.so.4
usr/lib32/libgconf-2.so.4.1.5
usr/lib32/pkgconfig/gconf-2.0.pc
usr/lib32/gnome-vfs-2.0/include/gnome-vfs-file-size.h
usr/lib32/gnome-vfs-2.0/modules/libbzip2.so
usr/lib32/gnome-vfs-2.0/modules/libcomputer.so
usr/lib32/gnome-vfs-2.0/modules/libdns-sd.so
usr/lib32/gnome-vfs-2.0/modules/libfile.so
usr/lib32/gnome-vfs-2.0/modules/libftp.so
usr/lib32/gnome-vfs-2.0/modules/libgzip.so
usr/lib32/gnome-vfs-2.0/modules/libhttp.so
usr/lib32/gnome-vfs-2.0/modules/libnetwork.so
usr/lib32/gnome-vfs-2.0/modules/libnntp.so
usr/lib32/gnome-vfs-2.0/modules/libsftp.so
usr/lib32/gnome-vfs-2.0/modules/libtar.so
usr/lib32/gnome-vfs-2.0/modules/libvfs-test.so
usr/lib32/libgnomevfs-2.so
usr/lib32/libgnomevfs-2.so.0
usr/lib32/libgnomevfs-2.so.0.2400.4
usr/lib32/pkgconfig/gnome-vfs-2.0.pc
usr/lib32/pkgconfig/gnome-vfs-module-2.0.pc
usr/lib32/libglade-2.0.so
usr/lib32/libglade-2.0.so.0
usr/lib32/libglade-2.0.so.0.0.7
usr/lib32/pkgconfig/libglade-2.0.pc
usr/lib32/libatspi.so
usr/lib32/libatspi.so.0
usr/lib32/libatspi.so.0.0.1
usr/lib32/pkgconfig/atspi-2.pc
usr/lib32/libatk-bridge-2.0.so
usr/lib32/libatk-bridge-2.0.so.0
usr/lib32/libatk-bridge-2.0.so.0.0.0
usr/lib32/gtk-2.0/modules/libatk-bridge.so
usr/lib32/pkgconfig/atk-bridge-2.0.pc
usr/lib32/libgdk-3.so
usr/lib32/libgdk-3.so.0
usr/lib32/libgdk-3.so.0.1000.8
usr/lib32/libgtk-3.so
usr/lib32/libgtk-3.so.0
usr/lib32/libgtk-3.so.0.1000.8
usr/lib32/libgailutil-3.so
usr/lib32/libgailutil-3.so.0
usr/lib32/libgailutil-3.so.0.0.0
usr/lib32/gtk-3.0/3.0.0/immodules/im-am-et.so
usr/lib32/gtk-3.0/3.0.0/immodules/im-cedilla.so
usr/lib32/gtk-3.0/3.0.0/immodules/im-cyrillic-translit.so
usr/lib32/gtk-3.0/3.0.0/immodules/im-inuktitut.so
usr/lib32/gtk-3.0/3.0.0/immodules/im-ipa.so
usr/lib32/gtk-3.0/3.0.0/immodules/im-multipress.so
usr/lib32/gtk-3.0/3.0.0/immodules/im-thai.so
usr/lib32/gtk-3.0/3.0.0/immodules/im-ti-er.so
usr/lib32/gtk-3.0/3.0.0/immodules/im-ti-et.so
usr/lib32/gtk-3.0/3.0.0/immodules/im-viqr.so
usr/lib32/gtk-3.0/3.0.0/immodules/im-xim.so
usr/lib32/gtk-3.0/3.0.0/printbackends/libprintbackend-cups.so
usr/lib32/gtk-3.0/3.0.0/printbackends/libprintbackend-file.so
usr/lib32/gtk-3.0/3.0.0/printbackends/libprintbackend-lpr.so
usr/lib32/pkgconfig/gdk-3.0.pc
usr/lib32/pkgconfig/gdk-x11-3.0.pc
usr/lib32/pkgconfig/gtk+-3.0.pc
usr/lib32/pkgconfig/gtk+-unix-print-3.0.pc
usr/lib32/pkgconfig/gtk+-x11-3.0.pc
usr/lib32/pkgconfig/gail-3.0.pc
usr/lib32/libnotify.so
usr/lib32/libnotify.so.4
usr/lib32/libnotify.so.4.0.0
usr/lib32/pkgconfig/libnotify.pc

@ -1,3 +1,4 @@
DIST appliance-1.20.0.tar.xz 53676256 SHA256 2ce9950c303b4e01b8d9d9e46248b4256a2a290dd44cc6c593cb1029a05272e8 SHA512 f4dcf6b33e2fe8620e343fd29e1b7340700fc8c654a4b2c4fbf122e6d5775a613b542d08f81aae750f973e593764da57cb3da331ae1922aea992392a2c404252 WHIRLPOOL 10a0685a98246b2701c17cae44e37ef7a6d6154489e62b634e00986b5380f72132d8be059cd516330f86478fffb38855b9792321fefd3e8fb9554c0806428314
DIST appliance-1.24.8.tar.xz 68687024 SHA256 dfd113257b8416a52211ccc250b190082831b688f6a4bbbe8d22f0ad0f4ff8ac SHA512 c20d7c40602409907654eafdbbeec752c146ca8f9b6e372911a282416de94aedf06ca97555b62da7fb07f65c5c005529fac7693c9ff7034835568bffefd47b7d WHIRLPOOL 9f9250ee09a2faeb99d0cdc688dde1de6bb094c127767ff608b1306425d9bf84d45d2430fc97e54d96ee6ff4cf1fe42213531022e3317eb28fa393ab41479017
DIST appliance-1.26.0.tar.xz 94753208 SHA256 446e8f0cfb24977843049984879d471760a1f56dd9f891f2a66c16827c7dfbcf SHA512 5d493ed6e8601dde8d5a45debfee71696b96a36d0f69d428388a6f2a2d49e12c0a66bcee210fe606fc9b2b41cb42d0d2a9f5d12425f2b234423194b2609f081f WHIRLPOOL 18cb09b44ce568e4270e574fffe7ffd935c4d64564abaae66c3d70202db9df75b013a0ed8add639ac13ea4ebd0ec9d74645a774d2e969686c8bc0d616587f625
DIST appliance-1.28.1.tar.xz 100065044 SHA256 d6aa214ba05666ca7b8494b2f1814f2f291e569a9476e837e4b9d061ff92cfa2 SHA512 f13c556953d3542f92c2c007d3e97c3568382a1879e7a558471dbeac8962bd2809e446bbf0f4647002967112abe8f9a9a06910b74e9b7d72694cf49859a26330 WHIRLPOOL fa80fc747e4270fb3bc3b853ea9abf62fd655cab4c72eb6a084d319078a9f89baf2a8c00b34c9dcbc8fb875f1526c0a8e681a6f4917710934a9c2a8d99010e04

@ -0,0 +1,44 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libguestfs-appliance/libguestfs-appliance-1.28.1.ebuild,v 1.1 2014/11/23 17:30:16 maksbotan Exp $
EAPI=5
CHECKREQS_DISK_USR=500M
CHECKREQS_DISK_BUILD=500M
inherit check-reqs
DESCRIPTION="VM appliance disk image used in libguestfs package"
HOMEPAGE="http://libguestfs.org/"
SRC_URI="http://libguestfs.org/download/binaries/appliance/appliance-${PV}.tar.xz"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="app-arch/xz-utils"
# Mixing libguestfs versions causes weird problems. #501588
RDEPEND="!<app-emulation/libguestfs-${PV}"
S="${WORKDIR}"
src_unpack() {
# We'll unpack the tarball directly into ${D} to speed up install.
# Otherwise we need to duplicate hundreds of data.
:
}
src_install() {
dodir /usr/share/guestfs
cd "${ED}"/usr/share/guestfs
unpack ${A}
cd appliance || die
dodoc README*
rm README* || die
chmod 755 . || die
chmod 644 * || die
newenvd "${FILESDIR}"/env.file 99"${PN}"
}

@ -2,3 +2,4 @@ DIST VBoxGuestAdditions_4.2.24.iso 59760640 SHA256 9e50d9dcbc973e448389aabdf5feb
DIST VBoxGuestAdditions_4.2.26.iso 60534784 SHA256 6986eebc92da52799a4f54098504669dafc04479821ebbdc7ca421a76db040a5 SHA512 bea7a98f60972458a65b4989556d0c5e309c5cdc2bce114f0312f9582f66d2f06f5b6274c6222d14272a1541640bd039ca425e0ceaf9fe569eac3037ac8ed8ca WHIRLPOOL 9d513f7aa9096bf41e0b01cefbfabf82f10c70917d18de6cf4b825ee009c9910141866a9af577b2a5a170d5c21820ba76214e29bc748561c91817daace3eb533
DIST VBoxGuestAdditions_4.3.16.iso 58232832 SHA256 d58f678613bd37f5f94bcf324708af63572fc8582833a2558574090231fd080f SHA512 f4a0e36730a6d0282bc022bc52b75a3a54d21d0e79904f4a34ba73ee033a6a98b4cc42ac4c53b5028c2c8c83d2816d571edf31ce9ec99fab62e6fb7a25dcd905 WHIRLPOOL 9a8a120e16786c62e427418019a95aca6835a106d60e962dcd134fe87291313d67aba1941855442644b887e238144b29346bcdfc8869bc9066b8dc5841a46d91
DIST VBoxGuestAdditions_4.3.18.iso 58298368 SHA256 e5b425ec4f6a62523855c3cbd3975d17f962f27df093d403eab27c0e7f71464a SHA512 ee65476dba01d63a3029715ed7daaca5671e8ae1b81be2ddf5becb7d8eaae2e908af4b06abcb0695405d4031299090fd1e00fcc48425278a1871afbe34c40e09 WHIRLPOOL f96de01b8ba5ccfeafd99eed4317e365d348c42b635d37235f302411ace893d1b102fe9c6837f929fd11b6fe3874525e8f354e048676eda3e3e585a653f3fdc7
DIST VBoxGuestAdditions_4.3.20.iso 58343424 SHA256 9ab48f44ac26a6deb374cb5fe6bad103bbf4fdf5186140e2d40ebe48bd01f3ea SHA512 8197407b9383aa87305a9e1bff21aa5bc44ff7c0a5836b3c982b123d1e931f43138987a13463863e914f38bebf07f8bdb80d7b847919d6ca19a7416fcade2514 WHIRLPOOL c5914b2a5c2f3782c745b833b98ed55e2dcb06ab64c2ac8a550433d77173a6b431b20563ba6bedc4e1dcaad525fad536cdc08b1e26e80d54edd5512f35c2bf55

@ -0,0 +1,36 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-additions/virtualbox-additions-4.3.20.ebuild,v 1.1 2014/11/23 14:17:54 polynomial-c Exp $
EAPI=5
inherit eutils
MY_PN=VBoxGuestAdditions
MY_PV="${PV/beta/BETA}"
MY_PV="${MY_PV/rc/RC}"
MY_P=${MY_PN}_${MY_PV}
DESCRIPTION="CD image containing guest additions for VirtualBox"
HOMEPAGE="http://www.virtualbox.org/"
SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.iso"
LICENSE="GPL-2+ LGPL-2.1+ MIT SGI-B-2.0 CDDL"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="mirror"
RDEPEND="!app-emulation/virtualbox-bin
!=app-emulation/virtualbox-9999"
S="${WORKDIR}"
src_unpack() {
return 0
}
src_install() {
insinto /usr/share/${PN/-additions}
newins "${DISTDIR}"/${MY_P}.iso ${MY_PN}.iso
}

@ -2,6 +2,7 @@ DIST Oracle_VM_VirtualBox_Extension_Pack-4.2.24-92790.tar.gz 12404740 SHA256 f58
DIST Oracle_VM_VirtualBox_Extension_Pack-4.2.26-95022.tar.gz 12434839 SHA256 561b9f28e5caca5ae2f65033ad8cbb1b5fd5a11131d56ce2aa8a892b90922989 SHA512 49f6cd0c6b036fcd598ac758930c7cb94222066740f02e896db121e432cd7090ba789f158f05d45f11af1efdfb4eafd820746b9e1bae0689c82c76b4e2cd2e86 WHIRLPOOL 21fd3823137e52be718f91d46a82f34e9512264d2e472b862151a6b54206bd0e42f752fa74dfd323b8ec4d4b560169f43ecd356697d6803ce498d00fd7c26cfa
DIST Oracle_VM_VirtualBox_Extension_Pack-4.3.16-95972.tar.gz 15797030 SHA256 93b01ac2c575388ea6ae994450907c24e30a788c271ae9ff18512a06f28d9abd SHA512 a358c89200949380f9e4324854bd65b4adcc2e4b175a1fb7c79e1589c19613b9cb2ded7a400e1daf4e210b9484f2f9d82ed84959384839106655d80ee3b2d3bd WHIRLPOOL 6d4cef22fa5b3decc88d754ce04ec302b34357a74e836b4a99edcff3efaedcfa117787a40146e088f8ff7562bd0d1c524add895e7d1d90da4a1bd40515e08e8f
DIST Oracle_VM_VirtualBox_Extension_Pack-4.3.18-96516.tar.gz 15793634 SHA256 9c98f8256935492e6e45f7998e1c0e2fd859d87b24123d35ea0065fd0fd62d60 SHA512 ae51c0663a3c4ad220a63988463f7b785bf759b886d297fb0aceefa80462b511447a7d2527d2f971fd9030dc252a3e6576910514e0e7c60b3eb7889d97fcd440 WHIRLPOOL 75c0d312d47715e4bdb16643b2700abe617195eb1feb3fde814111c2dc7d77d03017698e49d0c77a99bb2c95211d888f436a0ed6d58a914cd05456a6531d042c
DIST Oracle_VM_VirtualBox_Extension_Pack-4.3.20-96996.tar.gz 15945984 SHA256 7e1253f7013e9cdc84a614a0db38b40de7bbd330cb5b85bd3ef3de213773450d SHA512 cb8fff9c4d82c5dc2cec42c95f9e87004cd89dc51bea015384bc3f633c8a09fb034f78c78c7f7c8f9b3684bfb6d92851eefcac618f204b411fa0b8de347906c2 WHIRLPOOL effd71f667913fba3c6f2c88ed73ad8ce009bc732b78d5d6c79dcdec5f9c14eee98d144046bb7ecaf2d6fd0766ac7c403131ceb44b204e2401fe4a503c2183c0
DIST VirtualBox-4.2.24-92790-Linux_amd64.run 86066641 SHA256 1a36b91e0b8b9f2aeb91ebd6b2d4869b6cbdd1f72e6002c1e2c4aa3c2f6f126e SHA512 4a20b5d2cfdc6f1d69b7407df7ab55279d4b2c1106d1996f6ab9b87faabc0071d89fbe56a3a2a190b9500eb969cc636c0820650efca5f162b7b0fd3f4b9c07cd WHIRLPOOL 7d0e858abe12612e5c08be8f17aa980c612fd998b6ab4678736d65681c0cbca4fcf70c59a48890b365ea70143a3bad85fe8020c450d1dfad4103d21adb54ad2e
DIST VirtualBox-4.2.24-92790-Linux_x86.run 85841357 SHA256 c7767ec0178fc4b37a547722b9da5933d786110b84e44d52ceaebe158ba530fb SHA512 3544becd17798b5e556dadd454103345263739b84253b823b189a73032d5f39f1d7056fa79aae3e3a7f7fef5b0a50b14dc93c984eee7919915087b97fcdf3aa4 WHIRLPOOL bcb2dc4fb2af77edc840f0d2047423ccdbaf1ba93605e03d2f26f4eb78c01887485741fc3906e630e859f206acb04854525dccfe508904d2f6612d75338775ff
DIST VirtualBox-4.2.26-95022-Linux_amd64.run 86906322 SHA256 a0c13f5cf239257a73d3805c5e4b37b97317cdcbc95fb902b71b8027e1b18627 SHA512 0f6eabfbcc5e2ba8dffd236b19426e7bcca150df46b6787cf3b0208fd57fdc6e6dc7906bb853a447582dc560d1a9b56c92a5f995ba5fae50f168054f349d7786 WHIRLPOOL 39af2a322edc7f4eb8a9b46ae3b40f5bb5a4b5a5b752210edb50656464a50ca669aadbad972270c3a932a509332bd5aa28f215013d33c5e7e96b9f7c0f05c6ab
@ -10,7 +11,10 @@ DIST VirtualBox-4.3.16-95972-Linux_amd64.run 85513682 SHA256 600a85b0bf3a3520675
DIST VirtualBox-4.3.16-95972-Linux_x86.run 85022157 SHA256 39396bd1ce12b78d8ad468700c98dc50a4b8b0af5e45921399c14347abdcfac1 SHA512 cb239eb66138f3d64b07b3d7c4081d6b0d078a833641967259d22405f821f58e18738c91f98abaa6b8632b0a4207e1071410bb6131ddff0b07569aa360fc3aa5 WHIRLPOOL e90bbac171fe9025f65a523b003e0096113aad5f9aac3cf6dab70345aeca4106bdf8adf135ab1887f945912e1e84299ead10c03e206fb447511cc5de2ad067df
DIST VirtualBox-4.3.18-96516-Linux_amd64.run 85554642 SHA256 d723dde34d88970f26da1fb95ecac2afb03bee48ced1df4891b47d655809fefc SHA512 90beaa08f1ddb5966cb9884cdcfffde2ceb695b22c93bb976dfd5da4a3121c25e5eb39a715fbbed98102f97ebb20f07381bce18663196b3aa854a76830a7d1bb WHIRLPOOL 39697f1ff5f4d97a51ab0442a3d23efd71522d184443c2e4b292b8e4a59d982066e1be15b73acf9d234a9b8b3a0c733afccc1a6feec17576f37ec7cb5bdba9b0
DIST VirtualBox-4.3.18-96516-Linux_x86.run 85134796 SHA256 128d5711b3074ad00bcb6fb9c610016b81213f3a2a1cf308b33a1d20fafa876f SHA512 625894c1d99c53bacb75f1061baa3957b5146b64f911d328d4a34e39a48ff95c0ce39f75ba7c6ad66ab41918bf2ad8789af5946f0036039af1c8d49784631b7d WHIRLPOOL 3ba2a10eb988027e408853b7f889f07f39e6b4717ba6f630fe3c8ccee05267ad39187bf7e658ad5bcc77212b7a2b445ab2db439b1dc880de7ac41e8b44bc2e11
DIST VirtualBox-4.3.20-96996-Linux_amd64.run 85534160 SHA256 46ac2b2848e71259274ee975a71da0c93189b2f02dad74a84a46e152af68e0ca SHA512 7ec03c217c885f0a2a394d3500eac111ee0ef5269da61ea20a0794b68592674d95fa3bc1ee6b27398cbf8989359ed6d39e7aaa56f17d1ee86bd0eb454bf7c39a WHIRLPOOL 2b997b800d0c9dad629a0b00fa5b5bd8fcca0afde14fdc2e6a48cb1b4f3b11a10940d386412bafe3b960e4773930982cc45f15895e11b869370884e27477b7b8
DIST VirtualBox-4.3.20-96996-Linux_x86.run 85001676 SHA256 cd11e4db474924d25004c38455c0114d43f7826590eb85057ecf4cc89e591099 SHA512 22ec8f09d03a57c9d72d2774078321de365c4b4a112b82f6cd3818130937c74373d23cc7755d50b94ee6ab73650d8c237b2a43c25a9e0718c772de7c23075d91 WHIRLPOOL 4426456acbb6a5122c45fce26d9019b01a5d74c2c035201b941a5a79105c1d41a9fb322ae73a0611512662536a9c931ecfd44ff09314616da9ce61de836fd44a
DIST VirtualBoxSDK-4.2.24-92790.zip 9738032 SHA256 096d9ccf56b221c014e036ebda70f02e4857a12246d9cf58d36ffb6de736b7d6 SHA512 9933d4c494731b245c8d08d50a4194217745623543e879966214ebe3b14ec8d43a510a1eac08135115ec2eea87f9a68b904faa8b5deab8cd8c83a7b06c4d9a11 WHIRLPOOL cd736c06bb1c031d6b40edaa7a5e5c7d79c963dc3f427e8ecf96a61a762f0771203f8fc945321f80af72a092c495bfd17d1f12c1e90973207f765c06fb938e1c
DIST VirtualBoxSDK-4.2.26-95022.zip 9738427 SHA256 997760832e997e9adbf772cbc5c56efb734006d16251148cf39fcb0db3800cd5 SHA512 d22ae20f0bdc0078388dfc9cdc8ce7ff7c682a3e399c45bbf9ebb4c2ae5145ef2833f57adbdf15bbbb7313655d4f3551dd0e0ffc6f32a9aa1606ece7e58b047d WHIRLPOOL 63906988190812dc3a5d5c1e1bf4dd48ed2561e70de371d54fb4415458be6555ebba9cf9fb83207637cae7f6e126f1872b19a496233484a35d6c500f9f265a07
DIST VirtualBoxSDK-4.3.16-95972.zip 11689147 SHA256 5b465511619dd6a659732c0c1c83581fd5c0fb3f7079f9010cc5119848d7c135 SHA512 1a17c90d06cce552ac3b5b253c2bc5cd9594610e296131088c93039b4e8a7563d377671b529da48e795cfbc15de6781f8a41c47a8ae37167536302bfa9d4efad WHIRLPOOL 28bffca64b65bc24d12a10c25a3d62c02007e05b76cee4fe771cc86e55cd03e10ba7a2a321095c4786ca509f4bb667bd7456e82d28c2e19bf5297de55a5ecffd
DIST VirtualBoxSDK-4.3.18-96516.zip 11690531 SHA256 5e0c95b626625960aa686d754d7102697f60b37a477ff63c984dce8dcf943b19 SHA512 353d3ce8d8b1decc4b61e3fa0088a041a8f1f5a7042b71e808ab3fd41ef13a8c5ac1596bf7a0a3ddc4b6c1432aca815ded3085cce83552d472c4338c5e4d8661 WHIRLPOOL b3ffc353590fd34851a2f91a8f8a7f9484921c81dde7d87be11168ab2c8c6b2c30f006e5b531b3cde278d8e61c4a6f65739ca1ef0ce3e5cef02acdcac3a53e55
DIST VirtualBoxSDK-4.3.20-96996.zip 11191320 SHA256 19376f46551198f5725703e53867b35c70d4a8a0c1364b738df52c562f9b68ef SHA512 8a141954a4b7befe96a3c6b760da7bcbf0876dee3ae610cfba44d11a32c56b7384a90cd45a90cfbb3d8ad65b7fa63dd8bf04e1e9883d663d5f3269768b6183ae WHIRLPOOL 07ea47822a7cf841187b3f88dda6238355fe1eb008be1368971ee463e0dbeab140ff69406d16d87ab62dbda75e4b585f694c9ed8eb986cad379e1453b2c84c04

@ -0,0 +1,357 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/virtualbox-bin-4.3.20.96996.ebuild,v 1.1 2014/11/23 14:17:09 polynomial-c Exp $
EAPI=5
inherit eutils fdo-mime gnome2 pax-utils udev unpacker versionator
MAIN_PV="$(get_version_component_range 1-3)"
if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
MY_PV="${MAIN_PV}_$(get_version_component_range 5)"
MY_PV="${MY_PV/beta/BETA}"
MY_PV="${MY_PV/rc/RC}"
else
MY_PV="${MAIN_PV}"
fi
VBOX_BUILD_ID="$(get_version_component_range 4)"
VBOX_PV="${MY_PV}-${VBOX_BUILD_ID}"
MY_P="VirtualBox-${VBOX_PV}-Linux"
# needed as sometimes the extpack gets another build ID
EXTP_PV="${VBOX_PV}"
EXTP_PN="Oracle_VM_VirtualBox_Extension_Pack"
EXTP_P="${EXTP_PN}-${EXTP_PV}"
# needed as sometimes the SDK gets another build ID
SDK_PV="${VBOX_PV}"
SDK_P="VirtualBoxSDK-${SDK_PV}"
DESCRIPTION="Family of powerful x86 virtualization products for enterprise as well as home use"
HOMEPAGE="http://www.virtualbox.org/"
SRC_URI="amd64? ( http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_amd64.run )
x86? ( http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_x86.run )
http://download.virtualbox.org/virtualbox/${MY_PV}/${EXTP_P}.vbox-extpack -> ${EXTP_P}.tar.gz"
LICENSE="GPL-2 PUEL"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+additions +chm headless python vboxwebsrv rdesktop-vrdp"
RESTRICT="mirror"
if [[ "${PV}" != *beta* ]] ; then
SRC_URI+="
sdk? ( http://download.virtualbox.org/virtualbox/${MY_PV}/${SDK_P}.zip )"
IUSE+=" sdk"
fi
DEPEND="app-arch/unzip"
RDEPEND="!!app-emulation/virtualbox
!app-emulation/virtualbox-additions
~app-emulation/virtualbox-modules-${MAIN_PV}
!headless? (
x11-libs/libXcursor
media-libs/libsdl[X]
x11-libs/libXrender
x11-libs/libXfixes
media-libs/libpng
x11-libs/libXi
x11-libs/libXrandr
x11-libs/libXinerama
x11-libs/libXft
media-libs/freetype
media-libs/fontconfig
x11-libs/libXext
dev-libs/glib
chm? ( dev-libs/expat )
)
x11-libs/libXt
dev-libs/libxml2
x11-libs/libXau
x11-libs/libX11
x11-libs/libXmu
x11-libs/libSM
x11-libs/libICE
x11-libs/libXdmcp
python? ( dev-lang/python:2.7 )"
S=${WORKDIR}
QA_TEXTRELS_amd64="opt/VirtualBox/VBoxVMM.so"
QA_TEXTRELS_x86="opt/VirtualBox/VBoxGuestPropSvc.so
opt/VirtualBox/VBoxSDL.so
opt/VirtualBox/VBoxDbg.so
opt/VirtualBox/VBoxSharedFolders.so
opt/VirtualBox/VBoxDD2.so
opt/VirtualBox/VBoxOGLrenderspu.so
opt/VirtualBox/VBoxPython.so
opt/VirtualBox/VBoxPython2_7.so
opt/VirtualBox/VBoxDD.so
opt/VirtualBox/VBoxVRDP.so
opt/VirtualBox/VBoxDDU.so
opt/VirtualBox/VBoxREM64.so
opt/VirtualBox/VBoxSharedClipboard.so
opt/VirtualBox/VBoxHeadless.so
opt/VirtualBox/VBoxRT.so
opt/VirtualBox/VRDPAuth.so
opt/VirtualBox/VBoxREM.so
opt/VirtualBox/VBoxSettings.so
opt/VirtualBox/VBoxKeyboard.so
opt/VirtualBox/VBoxSharedCrOpenGL.so
opt/VirtualBox/VBoxVMM.so
opt/VirtualBox/VirtualBox.so
opt/VirtualBox/VBoxOGLhosterrorspu.so
opt/VirtualBox/components/VBoxC.so
opt/VirtualBox/components/VBoxSVCM.so
opt/VirtualBox/VBoxREM32.so
opt/VirtualBox/VBoxXPCOMC.so
opt/VirtualBox/VBoxOGLhostcrutil.so
opt/VirtualBox/VBoxNetDHCP.so
opt/VirtualBox/VBoxGuestControlSvc.so"
QA_PRESTRIPPED="opt/VirtualBox/VBoxDD.so
opt/VirtualBox/VBoxDD2.so
opt/VirtualBox/VBoxDDU.so
opt/VirtualBox/VBoxDbg.so
opt/VirtualBox/VBoxGuestControlSvc.so
opt/VirtualBox/VBoxGuestPropSvc.so
opt/VirtualBox/VBoxHeadless
opt/VirtualBox/VBoxHeadless.so
opt/VirtualBox/VBoxKeyboard.so
opt/VirtualBox/VBoxManage
opt/VirtualBox/VBoxNetAdpCtl
opt/VirtualBox/VBoxNetDHCP
opt/VirtualBox/VBoxNetDHCP.so
opt/VirtualBox/VBoxOGLhostcrutil.so
opt/VirtualBox/VBoxOGLhosterrorspu.so
opt/VirtualBox/VBoxOGLrenderspu.so
opt/VirtualBox/VBoxPython.so
opt/VirtualBox/VBoxPython2_7.so
opt/VirtualBox/VBoxREM.so
opt/VirtualBox/VBoxREM32.so
opt/VirtualBox/VBoxREM64.so
opt/VirtualBox/VBoxRT.so
opt/VirtualBox/VBoxSDL
opt/VirtualBox/VBoxSDL.so
opt/VirtualBox/VBoxSVC
opt/VirtualBox/VBoxSettings.so
opt/VirtualBox/VBoxSharedClipboard.so
opt/VirtualBox/VBoxSharedCrOpenGL.so
opt/VirtualBox/VBoxSharedFolders.so
opt/VirtualBox/VBoxTestOGL
opt/VirtualBox/VBoxTunctl
opt/VirtualBox/VBoxVMM.so
opt/VirtualBox/VBoxVRDP.so
opt/VirtualBox/VBoxXPCOM.so
opt/VirtualBox/VBoxXPCOMC.so
opt/VirtualBox/VBoxXPCOMIPCD
opt/VirtualBox/VRDPAuth.so
opt/VirtualBox/VirtualBox
opt/VirtualBox/VirtualBox.so
opt/VirtualBox/accessible/libqtaccessiblewidgets.so
opt/VirtualBox/components/VBoxC.so
opt/VirtualBox/components/VBoxSVCM.so
opt/VirtualBox/components/VBoxXPCOMIPCC.so
opt/VirtualBox/kchmviewer
opt/VirtualBox/libQtCoreVBox.so.4
opt/VirtualBox/libQtGuiVBox.so.4
opt/VirtualBox/libQtNetworkVBox.so.4
opt/VirtualBox/libQtOpenGLVBox.so.4
opt/VirtualBox/vboxwebsrv"
PYTHON_UPDATER_IGNORE="1"
src_unpack() {
unpack_makeself ${MY_P}_${ARCH}.run
unpack ./VirtualBox.tar.bz2
mkdir "${S}"/${EXTP_PN} || die
pushd "${S}"/${EXTP_PN} &>/dev/null || die
unpack ${EXTP_P}.tar.gz
popd &>/dev/null || die
if [[ "${PV}" != *beta* ]] && use sdk ; then
unpack VirtualBoxSDK-${SDK_PV}.zip
fi
}
src_configure() {
:;
}
src_compile() {
:;
}
src_install() {
# create virtualbox configurations files
insinto /etc/vbox
newins "${FILESDIR}/${PN}-config" vbox.cfg
if ! use headless ; then
pushd "${S}"/icons &>/dev/null || die
for size in * ; do
if [ -f "${size}/virtualbox.png" ] ; then
insinto "/usr/share/icons/hicolor/${size}/apps"
newins "${size}/virtualbox.png" ${PN}.png
fi
done
dodir /usr/share/pixmaps
cp "48x48/virtualbox.png" "${D}/usr/share/pixmaps/${PN}.png" \
|| die
popd &>/dev/null || die
newmenu "${FILESDIR}"/${PN}.desktop-2 ${PN}.desktop
fi
pushd "${S}"/${EXTP_PN} &>/dev/null || die
insinto /opt/VirtualBox/ExtensionPacks/${EXTP_PN}
doins -r linux.${ARCH}
doins ExtPack* PXE-Intel.rom
popd &>/dev/null || die
rm -rf "${S}"/${EXTP_PN}
insinto /opt/VirtualBox
dodir /opt/bin
doins UserManual.pdf
if [[ "${PV}" != *beta* ]] && use sdk ; then
doins -r sdk
fi
if use additions; then
doins -r additions
fi
if use vboxwebsrv; then
doins vboxwebsrv
fowners root:vboxusers /opt/VirtualBox/vboxwebsrv
fperms 0750 /opt/VirtualBox/vboxwebsrv
dosym /opt/VirtualBox/VBox.sh /opt/bin/vboxwebsrv
newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
fi
if use rdesktop-vrdp; then
doins rdesktop-vrdp
doins -r rdesktop-vrdp-keymaps
fperms 0750 /opt/VirtualBox/rdesktop-vrdp
dosym /opt/VirtualBox/rdesktop-vrdp /opt/bin/rdesktop-vrdp
fi
if ! use headless && use chm; then
doins kchmviewer VirtualBox.chm
fowners root:vboxusers /opt/VirtualBox/kchmviewer
fperms 0750 /opt/VirtualBox/kchmviewer
fi
if use python ; then
local pyslot
for pyslot in 2.7 ; do
if has_version "dev-lang/python:${pyslot}" && [ -f "${S}/VBoxPython${pyslot/./_}.so" ] ; then
doins VBoxPython${pyslot/./_}.so
fi
done
fi
rm -rf src rdesktop* deffiles install* routines.sh runlevel.sh \
vboxdrv.sh VBox.sh VBox.png vboxnet.sh additions VirtualBox.desktop \
VirtualBox.tar.bz2 LICENSE VBoxSysInfo.sh rdesktop* vboxwebsrv \
webtest kchmviewer VirtualBox.chm vbox-create-usb-node.sh \
90-vbox-usb.fdi uninstall.sh vboxshell.py vboxdrv-pardus.py \
VBoxPython?_*.so
if use headless ; then
rm -rf VBoxSDL VirtualBox VBoxKeyboard.so
fi
doins -r * || die
# create symlinks for working around unsupported $ORIGIN/.. in VBoxC.so (setuid)
dosym /opt/VirtualBox/VBoxVMM.so /opt/VirtualBox/components/VBoxVMM.so
dosym /opt/VirtualBox/VBoxREM.so /opt/VirtualBox/components/VBoxREM.so
dosym /opt/VirtualBox/VBoxRT.so /opt/VirtualBox/components/VBoxRT.so
dosym /opt/VirtualBox/VBoxDDU.so /opt/VirtualBox/components/VBoxDDU.so
dosym /opt/VirtualBox/VBoxXPCOM.so /opt/VirtualBox/components/VBoxXPCOM.so
local each
for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,NetNAT,TestOGL,ExtPackHelperApp}; do
fowners root:vboxusers /opt/VirtualBox/${each}
fperms 0750 /opt/VirtualBox/${each}
pax-mark -m "${D}"/opt/VirtualBox/${each}
done
# VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
fperms 4750 /opt/VirtualBox/VBoxNetAdpCtl
fperms 4750 /opt/VirtualBox/VBoxNetDHCP
fperms 4750 /opt/VirtualBox/VBoxNetNAT
if ! use headless ; then
# Hardened build: Mark selected binaries set-user-ID-on-execution
for each in VBox{SDL,Headless} VirtualBox; do
fowners root:vboxusers /opt/VirtualBox/${each}
fperms 4510 /opt/VirtualBox/${each}
pax-mark -m "${D}"/opt/VirtualBox/${each}
done
dosym /opt/VirtualBox/VBox.sh /opt/bin/VirtualBox
dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxSDL
else
# Hardened build: Mark selected binaries set-user-ID-on-execution
fowners root:vboxusers /opt/VirtualBox/VBoxHeadless
fperms 4510 /opt/VirtualBox/VBoxHeadless
pax-mark -m "${D}"/opt/VirtualBox/VBoxHeadless
fi
exeinto /opt/VirtualBox
newexe "${FILESDIR}/${PN}-3-wrapper" "VBox.sh"
fowners root:vboxusers /opt/VirtualBox/VBox.sh
fperms 0750 /opt/VirtualBox/VBox.sh
dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxManage
dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxVRDP
dosym /opt/VirtualBox/VBox.sh /opt/bin/VBoxHeadless
dosym /opt/VirtualBox/VBoxTunctl /opt/bin/VBoxTunctl
# set an env-variable for 3rd party tools
echo -n "VBOX_APP_HOME=/opt/VirtualBox" > "${T}/90virtualbox"
doenvd "${T}/90virtualbox"
local udevdir="$(get_udevdir)"
insinto ${udevdir}/rules.d
doins "${FILESDIR}"/10-virtualbox.rules
sed "s@%UDEVDIR%@${udevdir}@" \
-i "${D}"${udevdir}/rules.d/10-virtualbox.rules || die
# move udev scripts into ${udevdir} (bug #372491)
mv "${D}"/opt/VirtualBox/VBoxCreateUSBNode.sh "${D}"${udevdir} || die
fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
}
pkg_postinst() {
fdo-mime_desktop_database_update
gnome2_icon_cache_update
udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
elog ""
if ! use headless ; then
elog "To launch VirtualBox just type: \"VirtualBox\""
elog ""
fi
elog "You must be in the vboxusers group to use VirtualBox."
elog ""
elog "For advanced networking setups you should emerge:"
elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
elog ""
elog "Please visit http://www.virtualbox.org/wiki/Editions for"
elog "an overview about the different features of ${PN}"
elog "and virtualbox-ose"
if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
elog ""
elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
elog "or else USB in ${PN} won't work."
fi
}
pkg_postrm() {
fdo-mime_desktop_database_update
}

@ -2,3 +2,4 @@ DIST Oracle_VM_VirtualBox_Extension_Pack-4.2.24-92790.tar.gz 12404740 SHA256 f58
DIST Oracle_VM_VirtualBox_Extension_Pack-4.2.26-95022.tar.gz 12434839 SHA256 561b9f28e5caca5ae2f65033ad8cbb1b5fd5a11131d56ce2aa8a892b90922989 SHA512 49f6cd0c6b036fcd598ac758930c7cb94222066740f02e896db121e432cd7090ba789f158f05d45f11af1efdfb4eafd820746b9e1bae0689c82c76b4e2cd2e86 WHIRLPOOL 21fd3823137e52be718f91d46a82f34e9512264d2e472b862151a6b54206bd0e42f752fa74dfd323b8ec4d4b560169f43ecd356697d6803ce498d00fd7c26cfa
DIST Oracle_VM_VirtualBox_Extension_Pack-4.3.16-95972.tar.gz 15797030 SHA256 93b01ac2c575388ea6ae994450907c24e30a788c271ae9ff18512a06f28d9abd SHA512 a358c89200949380f9e4324854bd65b4adcc2e4b175a1fb7c79e1589c19613b9cb2ded7a400e1daf4e210b9484f2f9d82ed84959384839106655d80ee3b2d3bd WHIRLPOOL 6d4cef22fa5b3decc88d754ce04ec302b34357a74e836b4a99edcff3efaedcfa117787a40146e088f8ff7562bd0d1c524add895e7d1d90da4a1bd40515e08e8f
DIST Oracle_VM_VirtualBox_Extension_Pack-4.3.18-96516.tar.gz 15793634 SHA256 9c98f8256935492e6e45f7998e1c0e2fd859d87b24123d35ea0065fd0fd62d60 SHA512 ae51c0663a3c4ad220a63988463f7b785bf759b886d297fb0aceefa80462b511447a7d2527d2f971fd9030dc252a3e6576910514e0e7c60b3eb7889d97fcd440 WHIRLPOOL 75c0d312d47715e4bdb16643b2700abe617195eb1feb3fde814111c2dc7d77d03017698e49d0c77a99bb2c95211d888f436a0ed6d58a914cd05456a6531d042c
DIST Oracle_VM_VirtualBox_Extension_Pack-4.3.20-96996.tar.gz 15945984 SHA256 7e1253f7013e9cdc84a614a0db38b40de7bbd330cb5b85bd3ef3de213773450d SHA512 cb8fff9c4d82c5dc2cec42c95f9e87004cd89dc51bea015384bc3f633c8a09fb034f78c78c7f7c8f9b3684bfb6d92851eefcac618f204b411fa0b8de347906c2 WHIRLPOOL effd71f667913fba3c6f2c88ed73ad8ce009bc732b78d5d6c79dcdec5f9c14eee98d144046bb7ecaf2d6fd0766ac7c403131ceb44b204e2401fe4a503c2183c0

@ -0,0 +1,41 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-extpack-oracle/virtualbox-extpack-oracle-4.3.20.96996.ebuild,v 1.1 2014/11/23 14:18:48 polynomial-c Exp $
EAPI=5
inherit eutils multilib versionator
MAIN_PV="$(get_version_component_range 1-3)"
if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
MY_PV="${MAIN_PV}_$(get_version_component_range 5)"
MY_PV="${MY_PV/beta/BETA}"
MY_PV="${MY_PV/rc/RC}"
else
MY_PV="${MAIN_PV}"
fi
VBOX_BUILD_ID="$(get_version_component_range 4)"
MY_PN="Oracle_VM_VirtualBox_Extension_Pack"
MY_P="${MY_PN}-${MY_PV}-${VBOX_BUILD_ID}"
DESCRIPTION="PUEL extensions for VirtualBox"
HOMEPAGE="http://www.virtualbox.org/"
SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.vbox-extpack -> ${MY_P}.tar.gz"
LICENSE="PUEL"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="mirror strip"
RDEPEND="~app-emulation/virtualbox-${MAIN_PV}"
S="${WORKDIR}"
QA_PREBUILT="/usr/$(get_libdir)/virtualbox/ExtensionPacks/${MY_PN}/.*"
src_install() {
insinto /usr/$(get_libdir)/virtualbox/ExtensionPacks/${MY_PN}
doins -r linux.${ARCH}
doins ExtPack* PXE-Intel.rom
}

@ -2,3 +2,4 @@ DIST VirtualBox-4.2.24.tar.bz2 77067941 SHA256 6ae695a84f722e1a9fbf1fa5e89d2c052
DIST VirtualBox-4.2.26.tar.bz2 77724304 SHA256 7fa840edd5c0e691936c14fcf49d50f4654fd63e2b71510232c226dda863b270 SHA512 c2a0c201e677a23702865256b80af2118b067356313939b1d3af3bf8f42746c2eaf04ab3d7ece8a3d98b2be67c1d3d2b2b34d4debbe2fc667e375391f2510b51 WHIRLPOOL 495cd625e1641e630ef826ca6d287d462af681b699205af7095b04bc96e381af728beb0c265fac609830955208c1c17265469c3450e495e077146a0545c20694
DIST VirtualBox-4.3.16.tar.bz2 97875965 SHA256 99c32e646dbc93cbf4cc0b62ca6c1d24113a295fd758dc15724c14908dd6dcb3 SHA512 c63378a736a04c8a7932b2c3bfdd1f60758d0dd3c6efe6137cf1129289ef527e2f32b5da666ff06c62add77766de7dfcef105f6b8a4b5d41a554c7b350b31c56 WHIRLPOOL f0230f63f626c78ae5514b2cc06d673fa2c668945c65b2fd6184cc817dd1e0bebe6f2ed1783a29889f9e723d7851ba5b4d200e7a43b48803ec2aaf2f8f612f88
DIST VirtualBox-4.3.18.tar.bz2 98022191 SHA256 9798acbc78b2645f2a02446ef6be181ede1a377792007af2a3280c962edc24cb SHA512 d19933f9869b2fe6ed121896b49da0f82451954ff9ee3b53d6d3374a1bd178049d1528df78100187e2fc1d36518c924f19cf12bd3d1718c98a5771e2112ee5d3 WHIRLPOOL eeaf2f8d72e2d02792f5b58fa21297c80d58f5fd66801c04721bf24780600e5643b2446d6a6115625e8922565c8197b8b67e7384a2138509dddd7b2fa32a95be
DIST VirtualBox-4.3.20.tar.bz2 100184338 SHA256 1484f8e9993ec4fe3892c5165db84d238713d2506e147ed8236541ece642e965 SHA512 5398bcd03eb8987978682dfe84512bfa2935e7d50164e22abf3f8f424fc24a29d4aea486399da01d9895eca4ad07a1f15ca6f5880aff3a255700519fe0f19dc5 WHIRLPOOL 9e7419d4958bb307ca7232c7e8d3935ed43687bec1e1b881a22fe44987cd0bc66e927922a0e8ac78457567b22300ecc76ca0f40e71bcbcf0b75b07c1e86c0cfd

@ -0,0 +1,213 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.3.20.ebuild,v 1.1 2014/11/23 14:22:45 polynomial-c Exp $
EAPI=5
inherit eutils linux-mod systemd user
MY_PV="${PV/beta/BETA}"
MY_PV="${MY_PV/rc/RC}"
MY_P=VirtualBox-${MY_PV}
DESCRIPTION="VirtualBox kernel modules and user-space tools for Gentoo guests"
HOMEPAGE="http://www.virtualbox.org/"
SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="X"
RDEPEND="X? ( ~x11-drivers/xf86-video-virtualbox-${PV}
x11-apps/xrandr
x11-apps/xrefresh
x11-libs/libXmu
x11-libs/libX11
x11-libs/libXt
x11-libs/libXext
x11-libs/libXau
x11-libs/libXdmcp
x11-libs/libSM
x11-libs/libICE
x11-proto/glproto )
sys-apps/dbus
!!x11-drivers/xf86-input-virtualbox"
DEPEND="${RDEPEND}
>=dev-util/kbuild-0.1.9998_pre20131130
>=dev-lang/yasm-0.6.2
sys-devel/bin86
sys-libs/pam
sys-power/iasl
X? ( x11-proto/renderproto )
!X? ( x11-proto/xproto )"
BUILD_TARGETS="all"
BUILD_TARGET_ARCH="${ARCH}"
MODULE_NAMES="vboxguest(misc:${WORKDIR}/vboxguest:${WORKDIR}/vboxguest)
vboxsf(misc:${WORKDIR}/vboxsf:${WORKDIR}/vboxsf)"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
linux-mod_pkg_setup
BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
enewgroup vboxguest
enewuser vboxguest -1 /bin/sh /dev/null vboxguest
# automount Error: VBoxServiceAutoMountWorker: Group "vboxsf" does not exist
enewgroup vboxsf
}
src_unpack() {
unpack ${A}
# Create and unpack a tarball with the sources of the Linux guest
# kernel modules, to include all the needed files
"${S}"/src/VBox/Additions/linux/export_modules "${WORKDIR}/vbox-kmod.tar.gz"
unpack ./vbox-kmod.tar.gz
# Remove shipped binaries (kBuild,yasm), see bug #232775
cd "${S}"
rm -rf kBuild/bin tools
}
src_prepare() {
# PaX fixes (see bug #298988)
pushd "${WORKDIR}" &>/dev/null || die
epatch "${FILESDIR}"/vboxguest-4.1.0-log-use-c99.patch
popd &>/dev/null || die
# Disable things unused or splitted into separate ebuilds
cp "${FILESDIR}/${PN}-3-localconfig" LocalConfig.kmk || die
# stupid new header references...
for vboxheader in {product,revision}-generated.h ; do
for mdir in vbox{guest,sf} ; do
ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \
"${WORKDIR}/${mdir}/${vboxheader}"
done
done
}
src_configure() {
# build the user-space tools, warnings are harmless
./configure --nofatal \
--disable-xpcom \
--disable-sdl-ttf \
--disable-pulse \
--disable-alsa \
--build-headless || die "configure failed"
}
src_compile() {
source ./env.sh
for each in /src/VBox/{Runtime,Additions/common} \
/src/VBox/Additions/linux/sharedfolders ; do
cd "${S}"${each} || die
MAKE="kmk" \
emake TOOL_YASM_AS=yasm \
KBUILD_PATH="${S}/kBuild" \
KBUILD_VERBOSE=2
done
if use X; then
cd "${S}"/src/VBox/Additions/x11/VBoxClient || die
MAKE="kmk" \
emake TOOL_YASM_AS=yasm \
KBUILD_PATH="${S}/kBuild"
fi
# Now creating the kernel modules. We must do this _after_
# we compiled the user-space tools as we need two of the
# automatically generated header files. (>=3.2.0)
linux-mod_src_compile
}
src_install() {
linux-mod_src_install
cd "${S}"/out/linux.${ARCH}/release/bin/additions || die
insinto /sbin
newins mount.vboxsf mount.vboxsf
fperms 4755 /sbin/mount.vboxsf
newinitd "${FILESDIR}"/${PN}-8.initd ${PN}
insinto /usr/sbin/
newins VBoxService vboxguest-service
fperms 0755 /usr/sbin/vboxguest-service
insinto /usr/bin
doins VBoxControl
fperms 0755 /usr/bin/VBoxControl
# VBoxClient user service and xrandr wrapper
if use X ; then
doins VBoxClient
fperms 0755 /usr/bin/VBoxClient
pushd "${S}"/src/VBox/Additions/x11/Installer &>/dev/null \
|| die
newins 98vboxadd-xclient VBoxClient-all
fperms 0755 /usr/bin/VBoxClient-all
popd &>/dev/null || die
fi
# udev rule for vboxdrv
local udev_rules_dir="/lib/udev/rules.d"
dodir ${udev_rules_dir}
echo 'KERNEL=="vboxguest", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
>> "${D}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
|| die
echo 'KERNEL=="vboxuser", OWNER="vboxguest", GROUP="vboxguest", MODE="0660"' \
>> "${D}/${udev_rules_dir}/60-virtualbox-guest-additions.rules" \
|| die
# VBoxClient autostart file
insinto /etc/xdg/autostart
doins "${FILESDIR}"/vboxclient.desktop
# sample xorg.conf
insinto /usr/share/doc/${PF}
doins "${FILESDIR}"/xorg.conf.vbox
systemd_dounit "${FILESDIR}/${PN}.service"
}
pkg_postinst() {
linux-mod_pkg_postinst
if ! use X ; then
elog "use flag X is off, enable it to install the"
elog "X Window System video driver."
fi
elog ""
elog "Please add users to the \"vboxguest\" group so they can"
elog "benefit from seamless mode, auto-resize and clipboard."
elog ""
elog "The vboxsf group has been added to make automount services work."
elog "These services are part of the shared folders support."
elog ""
elog "Please add:"
elog "/etc/init.d/${PN}"
elog "to the default runlevel in order to start"
elog "needed services."
elog "To use the VirtualBox X driver, use the following"
elog "file as your /etc/X11/xorg.conf:"
elog " /usr/share/doc/${PF}/xorg.conf.vbox"
elog ""
elog "Also make sure you use the Mesa library for OpenGL:"
elog " eselect opengl set xorg-x11"
elog ""
elog "An autostart .desktop file has been installed to start"
elog "VBoxClient in desktop sessions."
elog ""
elog "You can mount shared folders with:"
elog " mount -t vboxsf <shared_folder_name> <mount_point>"
elog ""
elog "Warning:"
elog "this ebuild is only needed if you are running gentoo"
elog "inside a VirtualBox Virtual Machine, you don't need"
elog "it to run VirtualBox itself."
elog ""
}

@ -2,3 +2,4 @@ DIST vbox-kernel-module-src-4.2.24.tar.xz 494432 SHA256 b1fec8e809885104f3d86f47
DIST vbox-kernel-module-src-4.2.26.tar.xz 512708 SHA256 489e78b2ffcd29663c58c6d827c077001ff28347a5ad6d99e6ecbd6afe68d372 SHA512 881b742c11a51a6af41a0aa094f92f07daac635c543166504766b87e9eccbe3bede7983bc94cec67948bce141b1ed9f9a2a39e3fee726df9c9b1c135aec5b89e WHIRLPOOL 47a6eeedf5e19c37cb4b1efa4c79580577e35efaef950813f94429abdd068ad113943dee3e1644708687fe309153ac57ae18e5dfd887d61b873fd01a428db74b
DIST vbox-kernel-module-src-4.3.16.tar.xz 536308 SHA256 473ed755760a9566fadf2c900662e2848acdf9b111d8bf2ce8fdbc8b0d38072d SHA512 f20162f5cc6b79c333ddd2aaa6f3faa3a7f2364558e6578156b8c62c173483dfdc48907161a679241fab4b9a8705251bc29711fb5a263c7b55afd4afe56faa15 WHIRLPOOL 9d6eb00529c1438f3d77ecc1f9ed99b84e7e3d7b06f2485a049e4fae8ff310736bb99f4461006722334a328ceb398a475737f45166ab5973172346ec44e35842
DIST vbox-kernel-module-src-4.3.18.tar.xz 537128 SHA256 88a7b8f42385a2eefcc971a56a347786d046538262871cb7814c9449c03bd5aa SHA512 c02273f4350e3e4ab7c961ab9faef100a26361cb34948df8b2cb37b72c337e6b0c555bbce8051089b250bffb0a422d5dfc9cd801b8d33ea3b2481ce8375150de WHIRLPOOL 35522cee25fcc2e5c5cd74d8a715b0ccccc488e0ccf1a87082c7335fc2dacb02b93be218f38f693b8b3d1b5bfcca2dd1aa31b1a4a732a70df6c5479d5eb2bc30
DIST vbox-kernel-module-src-4.3.20.tar.xz 536840 SHA256 e7413cfcfdb762b597cbaf974c8743e57bb1b3eaf1333c4dc4722074797de69c SHA512 30ab21d677012e37c95aef1b03932e21ffde7f0a4b7d73a55b3a58edbc33da8ae125943aa2e7030474d032b42c76c4fc5b01b8b1ef8d1f820059de1c7568b67c WHIRLPOOL 9b881d9e59883f3ce743f0abf950eeab3066c5df9d2bbd8e90d8758bdfa444f69d58511c5bafae0dc0cd92ddfffa44bc5765776116252d59264a2ccce4fc01ee

@ -0,0 +1,59 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-modules/virtualbox-modules-4.3.20.ebuild,v 1.1 2014/11/23 14:15:36 polynomial-c Exp $
# XXX: the tarball here is just the kernel modules split out of the binary
# package that comes from virtualbox-bin
EAPI=5
inherit eutils linux-mod user
MY_P=vbox-kernel-module-src-${PV}
DESCRIPTION="Kernel Modules for Virtualbox"
HOMEPAGE="http://www.virtualbox.org/"
SRC_URI="http://dev.gentoo.org/~polynomial-c/virtualbox/${MY_P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="pax_kernel"
RDEPEND="!=app-emulation/virtualbox-9999"
S=${WORKDIR}
BUILD_TARGETS="all"
BUILD_TARGET_ARCH="${ARCH}"
MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S}) vboxpci(misc:${S})"
pkg_setup() {
linux-mod_pkg_setup
BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
enewgroup vboxusers
}
src_prepare() {
if kernel_is -ge 2 6 33 ; then
# evil patch for new kernels - header moved
grep -lR linux/autoconf.h * | xargs sed -i -e 's:<linux/autoconf.h>:<generated/autoconf.h>:'
fi
if use pax_kernel && kernel_is -ge 3 0 0 ; then
epatch "${FILESDIR}"/${PN}-4.1.4-pax-const.patch
fi
}
src_install() {
linux-mod_src_install
insinto /usr/lib/modules-load.d/
doins "${FILESDIR}"/virtualbox.conf
}
pkg_postinst() {
linux-mod_pkg_postinst
elog "If you are using sys-apps/openrc, please add \"vboxdrv\", \"vboxnetflt\""
elog "and \"vboxnetadp\" to:"
elog " /etc/conf.d/modules"
}

@ -2,6 +2,7 @@ DIST VirtualBox-4.2.24.tar.bz2 77067941 SHA256 6ae695a84f722e1a9fbf1fa5e89d2c052
DIST VirtualBox-4.2.26.tar.bz2 77724304 SHA256 7fa840edd5c0e691936c14fcf49d50f4654fd63e2b71510232c226dda863b270 SHA512 c2a0c201e677a23702865256b80af2118b067356313939b1d3af3bf8f42746c2eaf04ab3d7ece8a3d98b2be67c1d3d2b2b34d4debbe2fc667e375391f2510b51 WHIRLPOOL 495cd625e1641e630ef826ca6d287d462af681b699205af7095b04bc96e381af728beb0c265fac609830955208c1c17265469c3450e495e077146a0545c20694
DIST VirtualBox-4.3.16.tar.bz2 97875965 SHA256 99c32e646dbc93cbf4cc0b62ca6c1d24113a295fd758dc15724c14908dd6dcb3 SHA512 c63378a736a04c8a7932b2c3bfdd1f60758d0dd3c6efe6137cf1129289ef527e2f32b5da666ff06c62add77766de7dfcef105f6b8a4b5d41a554c7b350b31c56 WHIRLPOOL f0230f63f626c78ae5514b2cc06d673fa2c668945c65b2fd6184cc817dd1e0bebe6f2ed1783a29889f9e723d7851ba5b4d200e7a43b48803ec2aaf2f8f612f88
DIST VirtualBox-4.3.18.tar.bz2 98022191 SHA256 9798acbc78b2645f2a02446ef6be181ede1a377792007af2a3280c962edc24cb SHA512 d19933f9869b2fe6ed121896b49da0f82451954ff9ee3b53d6d3374a1bd178049d1528df78100187e2fc1d36518c924f19cf12bd3d1718c98a5771e2112ee5d3 WHIRLPOOL eeaf2f8d72e2d02792f5b58fa21297c80d58f5fd66801c04721bf24780600e5643b2446d6a6115625e8922565c8197b8b67e7384a2138509dddd7b2fa32a95be
DIST VirtualBox-4.3.20.tar.bz2 100184338 SHA256 1484f8e9993ec4fe3892c5165db84d238713d2506e147ed8236541ece642e965 SHA512 5398bcd03eb8987978682dfe84512bfa2935e7d50164e22abf3f8f424fc24a29d4aea486399da01d9895eca4ad07a1f15ca6f5880aff3a255700519fe0f19dc5 WHIRLPOOL 9e7419d4958bb307ca7232c7e8d3935ed43687bec1e1b881a22fe44987cd0bc66e927922a0e8ac78457567b22300ecc76ca0f40e71bcbcf0b75b07c1e86c0cfd
DIST virtualbox-4.2.18-patches-01.tar.xz 3788 SHA256 9a147e3a3da7e1e07b70aed67042c822897c7874ccaa3690c9497862373d8222 SHA512 021f8a566ede223ead5a2605bff3917195165c543f760ee7af004ab97d5dcf0771e6ccb62148d7986a34872ea8c35db952286fb8534b1f69804e192701bd8108 WHIRLPOOL 9818df1703636fecfbda1bbeb4d167d845701fe9de2827a97573a26ffb3cb9feaa22ee2849c45d3ea700a9c305185eb404b15572b0f4e666f8a8e6158a48b9eb
DIST virtualbox-4.2.26-patches-01.tar.xz 3804 SHA256 0cccbd963ae77e85e8c7bc1a5ec73f8eec0dfcbba30e8b85281c3adeb849e66f SHA512 7b5de7efe0087ee6148201ad7bb987a95cdf4e1a0625ed2f368fcbf1080505e8904f67be69aedbcc5469348f62351b6b913aae438f2ea8868f2b07a7a42d3538 WHIRLPOOL 99b981c05f877750bd5bbdb1ec9098ad8bb07805fa6ddaa81a8309def3ec40189b6b947115d5ea86cc8d887ac2cca64f3d13257ea6f872e8a0974c7da20c3e7d
DIST virtualbox-4.3.16-patches-01.tar.xz 4288 SHA256 270c4f01b2c13c4133987b3acc073dfbf78840212cf09f083dbf8fc80407ce6f SHA512 595f88c4b388b4807347c15c1750ec73aceba1c82ad993e9a05c7b78dfece7b679aff0338b3a48e2ccee7911fb5ed0dba803052332a270230078551f747052bc WHIRLPOOL 2157ee3fb9beed906cff28647c869e37d62551ad8c93801c0f0ec6893675f11786aa6d92acf11c348d30aa58b6e03a3faa879c664dddac6e5b8525035986c9ca

@ -0,0 +1,401 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-4.3.20.ebuild,v 1.1 2014/11/23 14:20:48 polynomial-c Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit eutils fdo-mime flag-o-matic java-pkg-opt-2 linux-info multilib pax-utils python-single-r1 qt4-r2 toolchain-funcs udev
MY_PV="${PV/beta/BETA}"
MY_PV="${MY_PV/rc/RC}"
MY_P=VirtualBox-${MY_PV}
SRC_URI="http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}.tar.bz2
http://dev.gentoo.org/~polynomial-c/${PN}/patchsets/${PN}-4.3.16-patches-01.tar.xz"
S="${WORKDIR}/${MY_P}"
DESCRIPTION="Family of powerful x86 virtualization products for enterprise as well as home use"
HOMEPAGE="http://www.virtualbox.org/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+additions alsa doc extensions headless java pam pulseaudio +opengl python +qt4 +sdk vboxwebsrv vnc"
RDEPEND="!app-emulation/virtualbox-bin
~app-emulation/virtualbox-modules-${PV}
dev-libs/libIDL
>=dev-libs/libxslt-1.1.19
net-misc/curl
dev-libs/openssl
dev-libs/libxml2
media-libs/libpng
media-libs/libvpx
sys-libs/zlib
>=virtual/udev-171
!headless? (
qt4? (
dev-qt/qtgui:4
dev-qt/qtcore:4
opengl? ( dev-qt/qtopengl:4 )
x11-libs/libXinerama
)
opengl? ( virtual/opengl media-libs/freeglut )
x11-libs/libX11
x11-libs/libXcursor
x11-libs/libXext
x11-libs/libXmu
x11-libs/libXt
media-libs/libsdl:0[X,video]
)
vnc? ( >=net-libs/libvncserver-0.9.9 )
java? ( || ( virtual/jre:1.7 virtual/jre:1.6 ) )"
DEPEND="${RDEPEND}
>=dev-util/kbuild-0.1.9998_pre20131130
>=dev-lang/yasm-0.6.2
sys-devel/bin86
sys-power/iasl
pam? ( sys-libs/pam )
sys-libs/libcap
doc? (
dev-texlive/texlive-basic
dev-texlive/texlive-latex
dev-texlive/texlive-latexrecommended
dev-texlive/texlive-latexextra
dev-texlive/texlive-fontsrecommended
dev-texlive/texlive-fontsextra
)
java? ( || ( virtual/jdk:1.7 virtual/jdk:1.6 ) )
virtual/pkgconfig
alsa? ( >=media-libs/alsa-lib-1.0.13 )
!headless? ( x11-libs/libXinerama )
pulseaudio? ( media-sound/pulseaudio )
vboxwebsrv? ( net-libs/gsoap[-gnutls] )
${PYTHON_DEPS}"
PDEPEND="additions? ( ~app-emulation/virtualbox-additions-${PV} )
extensions? ( =app-emulation/virtualbox-extpack-oracle-${PV}* )"
QA_TEXTRELS_x86="usr/lib/virtualbox-ose/VBoxGuestPropSvc.so
usr/lib/virtualbox/VBoxSDL.so
usr/lib/virtualbox/VBoxSharedFolders.so
usr/lib/virtualbox/VBoxDD2.so
usr/lib/virtualbox/VBoxOGLrenderspu.so
usr/lib/virtualbox/VBoxPython.so
usr/lib/virtualbox/VBoxDD.so
usr/lib/virtualbox/VBoxDDU.so
usr/lib/virtualbox/VBoxREM64.so
usr/lib/virtualbox/VBoxSharedClipboard.so
usr/lib/virtualbox/VBoxHeadless.so
usr/lib/virtualbox/VBoxRT.so
usr/lib/virtualbox/VBoxREM.so
usr/lib/virtualbox/VBoxSettings.so
usr/lib/virtualbox/VBoxKeyboard.so
usr/lib/virtualbox/VBoxSharedCrOpenGL.so
usr/lib/virtualbox/VBoxVMM.so
usr/lib/virtualbox/VirtualBox.so
usr/lib/virtualbox/VBoxOGLhosterrorspu.so
usr/lib/virtualbox/components/VBoxC.so
usr/lib/virtualbox/components/VBoxSVCM.so
usr/lib/virtualbox/components/VBoxDDU.so
usr/lib/virtualbox/components/VBoxRT.so
usr/lib/virtualbox/components/VBoxREM.so
usr/lib/virtualbox/components/VBoxVMM.so
usr/lib/virtualbox/VBoxREM32.so
usr/lib/virtualbox/VBoxPython2_4.so
usr/lib/virtualbox/VBoxPython2_5.so
usr/lib/virtualbox/VBoxPython2_6.so
usr/lib/virtualbox/VBoxPython2_7.so
usr/lib/virtualbox/VBoxXPCOMC.so
usr/lib/virtualbox/VBoxOGLhostcrutil.so
usr/lib/virtualbox/VBoxNetDHCP.so
usr/lib/virtualbox/VBoxNetNAT.so"
REQUIRED_USE="
java? ( sdk )
python? (
( sdk )
)
vboxwebsrv? ( java )
${PYTHON_REQUIRED_USE}
"
pkg_setup() {
if ! use headless && ! use qt4 ; then
einfo "No USE=\"qt4\" selected, this build will not include"
einfo "any Qt frontend."
elif use headless && use qt4 ; then
einfo "You selected USE=\"headless qt4\", defaulting to"
einfo "USE=\"headless\", this build will not include any X11/Qt frontend."
fi
if ! use opengl ; then
einfo "No USE=\"opengl\" selected, this build will lack"
einfo "the OpenGL feature."
fi
if ! use python ; then
einfo "You have disabled the \"python\" USE flag. This will only"
einfo "disable the python bindings being installed."
fi
java-pkg-opt-2_pkg_setup
python-single-r1_pkg_setup
}
src_prepare() {
# Remove shipped binaries (kBuild,yasm), see bug #232775
rm -rf kBuild/bin tools
# Disable things unused or split into separate ebuilds
sed -e "s@MY_LIBDIR@$(get_libdir)@" \
"${FILESDIR}"/${PN}-4-localconfig > LocalConfig.kmk || die
# Respect LDFLAGS
sed -e "s@_LDFLAGS\.${ARCH}*.*=@& ${LDFLAGS}@g" \
-i Config.kmk src/libs/xpcom18a4/Config.kmk || die
# Use PAM only when pam USE flag is enbaled (bug #376531)
if ! use pam ; then
elog "Disabling PAM removes the possibility to use the VRDP features."
sed -i 's@^.*VBOX_WITH_PAM@#VBOX_WITH_PAM@' Config.kmk || die
sed -i 's@\(.*/auth/Makefile.kmk.*\)@#\1@' \
src/VBox/HostServices/Makefile.kmk || die
fi
# add correct java path
if use java ; then
sed "s@/usr/lib/jvm/java-6-sun@$(java-config -O)@" \
-i "${S}"/Config.kmk || die
java-pkg-opt-2_src_prepare
fi
if ! gcc-specs-pie ; then
EPATCH_EXCLUDE="050_${PN}-4.3.14-nopie.patch"
fi
EPATCH_SUFFIX="patch" \
EPATCH_FORCE="yes" \
epatch "${WORKDIR}/patches"
epatch_user
}
src_configure() {
local myconf
use alsa || myconf+=" --disable-alsa"
use doc || myconf+=" --disable-docs"
use java || myconf+=" --disable-java"
use opengl || myconf+=" --disable-opengl"
use pulseaudio || myconf+=" --disable-pulse"
use python || myconf+=" --disable-python"
use vboxwebsrv && myconf+=" --enable-webservice"
use vnc && myconf+=" --enable-vnc"
if ! use headless ; then
use qt4 || myconf+=" --disable-qt4"
else
myconf+=" --build-headless --disable-opengl"
fi
if use amd64 && ! has_multilib_profile ; then
myconf+=" --disable-vmmraw"
fi
# not an autoconf script
./configure \
--with-gcc="$(tc-getCC)" \
--with-g++="$(tc-getCXX)" \
--disable-kmods \
--disable-dbus \
--disable-devmapper \
${myconf} \
|| die "configure failed"
}
src_compile() {
source ./env.sh
# Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
# and strip all flags
# strip-flags
MAKE="kmk" emake \
VBOX_BUILD_PUBLISHER=_Gentoo \
TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" \
TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" \
TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" \
TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \
VBOX_GCC_OPT="${CXXFLAGS}" \
TOOL_YASM_AS=yasm KBUILD_PATH="${S}/kBuild" \
KBUILD_VERBOSE=2 \
all
}
src_install() {
cd "${S}"/out/linux.${ARCH}/release/bin || die
# Create configuration files
insinto /etc/vbox
newins "${FILESDIR}/${PN}-4-config" vbox.cfg
# Set the right libdir
sed -i \
-e "s@MY_LIBDIR@$(get_libdir)@" \
"${D}"/etc/vbox/vbox.cfg || die "vbox.cfg sed failed"
# Symlink binaries to the shipped wrapper
exeinto /usr/$(get_libdir)/${PN}
newexe "${FILESDIR}/${PN}-ose-3-wrapper" "VBox"
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBox
fperms 0750 /usr/$(get_libdir)/${PN}/VBox
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxManage
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxVRDP
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxHeadless
dosym /usr/$(get_libdir)/${PN}/VBoxTunctl /usr/bin/VBoxTunctl
# Install binaries and libraries
insinto /usr/$(get_libdir)/${PN}
doins -r components
if use sdk ; then
doins -r sdk
fi
if use vboxwebsrv ; then
doins vboxwebsrv
fowners root:vboxusers /usr/$(get_libdir)/${PN}/vboxwebsrv
fperms 0750 /usr/$(get_libdir)/${PN}/vboxwebsrv
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/vboxwebsrv
newinitd "${FILESDIR}"/vboxwebsrv-initd vboxwebsrv
newconfd "${FILESDIR}"/vboxwebsrv-confd vboxwebsrv
fi
local gcfiles="*gc"
if use amd64 && ! has_multilib_profile ; then
gcfiles=""
fi
for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,NetNAT,ExtPackHelperApp} *so *r0 ${gcfiles} ; do
doins ${each}
fowners root:vboxusers /usr/$(get_libdir)/${PN}/${each}
fperms 0750 /usr/$(get_libdir)/${PN}/${each}
done
# VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
fperms 4750 /usr/$(get_libdir)/${PN}/VBoxNetAdpCtl
fperms 4750 /usr/$(get_libdir)/${PN}/VBoxNetDHCP
fperms 4750 /usr/$(get_libdir)/${PN}/VBoxNetNAT
# VBoxSVC and VBoxManage need to be pax-marked (bug #403453)
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VBoxSVC || die
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VBoxManage || die
if ! use headless ; then
for each in VBox{SDL,Headless} ; do
doins ${each}
fowners root:vboxusers /usr/$(get_libdir)/${PN}/${each}
fperms 4750 /usr/$(get_libdir)/${PN}/${each}
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/${each}
done
if use opengl && use qt4 ; then
doins VBoxTestOGL
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBoxTestOGL
fperms 0750 /usr/$(get_libdir)/${PN}/VBoxTestOGL
fi
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxSDL
if use qt4 ; then
doins VirtualBox
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VirtualBox
fperms 4750 /usr/$(get_libdir)/${PN}/VirtualBox
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VirtualBox \
|| die
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VirtualBox
newmenu "${FILESDIR}"/${PN}-ose.desktop-2 ${PN}.desktop
fi
pushd "${S}"/src/VBox/Resources/OSE &>/dev/null || die
for size in 16 32 48 64 128 ; do
newicon -s ${size} ${PN}-${size}px.png ${PN}.png
done
newicon ${PN}-48px.png ${PN}.png
popd &>/dev/null || die
else
doins VBoxHeadless
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBoxHeadless
fperms 4750 /usr/$(get_libdir)/${PN}/VBoxHeadless
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VBoxHeadless || die
fi
insinto /usr/$(get_libdir)/${PN}
# Install EFI Firmware files (bug #320757)
pushd "${S}"/src/VBox/Devices/EFI/FirmwareBin &>/dev/null || die
for fwfile in VBoxEFI{32,64}.fd ; do
doins ${fwfile}
fowners root:vboxusers /usr/$(get_libdir)/${PN}/${fwfile}
done
popd &>/dev/null || die
# New way of handling USB device nodes for VBox (bug #356215)
local udevdir="$(get_udevdir)"
insinto ${udevdir}
doins VBoxCreateUSBNode.sh
fowners root:vboxusers ${udevdir}/VBoxCreateUSBNode.sh
fperms 0750 ${udevdir}/VBoxCreateUSBNode.sh
insinto ${udevdir}/rules.d
doins "${FILESDIR}"/10-virtualbox.rules
sed "s@%UDEVDIR%@${udevdir}@" \
-i "${D}"${udevdir}/rules.d/10-virtualbox.rules || die
insinto /usr/share/${PN}
if ! use headless && use qt4 ; then
doins -r nls
fi
# VRDPAuth only works with this (bug #351949)
dosym VBoxAuth.so /usr/$(get_libdir)/${PN}/VRDPAuth.so
# set an env-variable for 3rd party tools
echo -n "VBOX_APP_HOME=/usr/$(get_libdir)/${PN}" > "${T}/90virtualbox"
doenvd "${T}/90virtualbox"
if use java ; then
java-pkg_regjar "${D}/usr/$(get_libdir)/${PN}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
java-pkg_regso "${D}/usr/$(get_libdir)/${PN}/libvboxjxpcom.so"
fi
}
pkg_postinst() {
fdo-mime_desktop_database_update
udevadm control --reload-rules && udevadm trigger --subsystem-match=usb
if ! use headless && use qt4 ; then
elog "To launch VirtualBox just type: \"VirtualBox\"."
fi
elog "You must be in the vboxusers group to use VirtualBox."
elog ""
elog "The latest user manual is available for download at:"
elog "http://download.virtualbox.org/virtualbox/${PV}/UserManual.pdf"
elog ""
elog "For advanced networking setups you should emerge:"
elog "net-misc/bridge-utils and sys-apps/usermode-utilities"
elog ""
elog "IMPORTANT!"
elog "If you upgrade from app-emulation/virtualbox-ose make sure to run"
elog "\"env-update\" as root and logout and relogin as the user you wish"
elog "to run ${PN} as."
elog ""
elog "Starting with version 4.0.0, ${PN} has USB-1 support."
elog "For USB-2 support, PXE-boot ability and VRDP support please emerge"
elog " app-emulation/virtualbox-extpack-oracle"
elog "package."
if [ -e "${ROOT}/etc/udev/rules.d/10-virtualbox.rules" ] ; then
elog ""
elog "Please remove \"${ROOT}/etc/udev/rules.d/10-virtualbox.rules\""
elog "or else USB in ${PN} won't work."
fi
}
pkg_postrm() {
fdo-mime_desktop_database_update
}

@ -0,0 +1 @@
DIST vpcs-0.6-src.tbz 131820 SHA256 cc311b0dea9ea02ef95f26704d73e34d293caa503600a0acca202d577afd3ceb SHA512 a740f264551de9e8dd95de2fbba444d9525f63c4c5473aea6cf1016c99d7866f3d0623f9f934bda7a0b565c23179647734c400ce3bb685fdab8ec6c35f25d671 WHIRLPOOL a4396f11ed64583ee5d0c7a681fb8f05c792b27eaac057b3ad85d63173d7ccdb7cd679e4b0a1a0f2904d64c51d922f75ab08b638053a0364443f4a0661b80fda

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>idella4@gentoo.org</email>
</maintainer>
<maintainer>
<email>aaron@flappyport.com</email>
<name>Arron Bauman</name>
<description>proxy maintainer</description>
</maintainer>
</pkgmetadata>

@ -0,0 +1,45 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vpcs/vpcs-0.6.ebuild,v 1.1 2014/11/23 09:33:46 idella4 Exp $
EAPI=5
inherit toolchain-funcs
DESCRIPTION="Simulate up to 9 PCs in place of VMware boxes in a Dynamips network"
HOMEPAGE="http://vpcs.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}-src.tbz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND=""
S="${S}/src/"
src_prepare() {
# move Makefile in place
cp Makefile.linux Makefile
# replace hardcoded CFLAGS with user set CFLAGS
# append -fno-strict-aliasing to CFLAGS to suppress QA issues from upstream
# add user $LDFLAGS in the front and remove -s that strips binary
sed -e "s/-D\$(CPUTYPE)/${CFLAGS} -fno-strict-aliasing/" \
-e "s/^LDFLAGS=/LDFLAGS=${LDFLAGS} /" \
-e "s/-s //" \
-i Makefile || die
}
src_compile() {
emake CC=$(tc-getCC)
}
src_install() {
#put binary in /usr/bin
dobin vpcs
doman ../man/vpcs.1
}

@ -1,3 +1,2 @@
DIST manpages-de-0.12.tar.bz2 530398 SHA256 81ee3cb852ba3dfb9b16a926c1d24a0aafea699a42a02b3a0ac2386f971417ed SHA512 72b938e3f593c77fcfcc2cede7a638909778316c228d377ce20439d35bbd8364cf1a3491905ab6b75ac7e56681c83f0ef64832b8a492d4282331e0564cb563eb WHIRLPOOL 96b1529abc83c7dc3f5a8ff075bd63b26e2c40fa8a1a323cb5a9f46c4dee6d78ce7b2baa2d4ef8a1de50a83644e1e526f34d81dc22cfe581264edcb2715815c4
DIST manpages-de-0.8.tar.bz2 475407 SHA256 c40468b87ac1029af0df8e37d36dff6da38e5d823db932c4cd774f1a1bb9f15e SHA512 526b8498e7825f14cf35bd2d3517ee19df0fd9b698582e0e99c6778d58b022e8f2dc1136c04597bf216b424e2f77c70eaad42dcb933450f75a3d595737e79868 WHIRLPOOL ff62cd7aa9c50ae2a8ef980e58531f7ff4c580c06e24a21262ffa6b57a403e41352ef5a6b235cecfb44da7b7c53f0acd2090c88c7e97c5aa5b948c1f37fa85e3
DIST manpages-de-1.7.tar.xz 1300384 SHA256 7bb014f4ffdc7a303791bb0ee672d901348babcb4c23002cecd3fc145831728a SHA512 d70f25daf10e233358b705c06a7c9e123fffc492429b4b9e1717c5db3a47d92fefb5e628fc75056306bc8bf0da7146aabd2c80a77cb50a430d2e11d6ce9712e0 WHIRLPOOL d8198220f4998e2550166a4b79434c4c1031c1e320b4b858dbf1468c1b1f19aa1d6a02816acd470191546dd5b08b4d1fff4fe612652866db932ee5b4e3dae33a
DIST manpages-de-1.8.tar.xz 1345324 SHA256 e9d82b7bf41accd492b66b7ef2cbaefb5ce30c5ab2a2ad9ae1833424a8b93d6f SHA512 284be71610ddc11f578179f809ecaf2d92eb77b4ba1281ce21f3486e312c2888fc2d830967589702f0df6cee28da6adb4737b416cf8214001ddd14de0292ecd3 WHIRLPOOL e5d2b4afc6cd1b9231f8d837d7507a494b152c30687540bc128994f56e70e29ce9c3918621fb4ed3e62a1be21cddf4a324dd0379160b631885cbce064e0201e3

@ -1,32 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/man-pages-de/man-pages-de-0.12.ebuild,v 1.5 2014/01/30 20:27:35 vapier Exp $
EAPI=4
MY_P="${PN/-/}-${PV}"
DESCRIPTION="A somewhat comprehensive collection of Linux german man page translations"
HOMEPAGE="http://alioth.debian.org/projects/manpages-de/"
SRC_URI="http://manpages-de.alioth.debian.org/downloads/${MY_P}.tar.bz2"
LICENSE="GPL-3+ man-pages GPL-2+ GPL-2 BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE=""
DEPEND="dev-lang/perl"
RDEPEND="virtual/man"
S=${WORKDIR}/${MY_P}
src_compile() { :; }
src_install() {
emake MANDIR="${ED}"/usr/share/man/de install
dodoc CHANGES README
# Remove man pages provided by other packages
# - shadow
rm "${ED}"/usr/share/man/de/man1/groups.1*
}

@ -1,36 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/man-pages-de/man-pages-de-0.8.ebuild,v 1.12 2014/01/30 20:27:35 vapier Exp $
MY_PN=manpages-de
DESCRIPTION="A somewhat comprehensive collection of Linux german man page translations"
HOMEPAGE="http://alioth.debian.org/projects/manpages-de/"
SRC_URI="http://manpages-de.alioth.debian.org/downloads/${MY_PN}-${PV}.tar.bz2"
LICENSE="GPL-3+ man-pages GPL-2+ GPL-2 BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
IUSE=""
DEPEND="dev-lang/perl"
RDEPEND="virtual/man"
S=${WORKDIR}/${MY_PN}-${PV}
src_compile() { :; }
src_install() {
emake MANDIR="${D}"/usr/share/man/de install || die
dodoc CHANGES README
# Remove man pages provided by other packages
# - shadow
rm "${D}"/usr/share/man/de/man1/{chsh,groups,login,passwd,newgrp,su}.1*
# - man
rm "${D}"/usr/share/man/de/man1/{apropos,man,whatis}.1*
# - man-db
rm "${D}"/usr/share/man/de/man1/{manpath,zsoelim}.1*
rm "${D}"/usr/share/man/de/man5/manpath.5*
rm "${D}"/usr/share/man/de/man8/{catman,mandb}.8*
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/man-pages-de/man-pages-de-1.7.ebuild,v 1.9 2014/11/11 10:45:48 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-i18n/man-pages-de/man-pages-de-1.7.ebuild,v 1.10 2014/11/22 21:00:27 zlogene Exp $
EAPI=5
@ -14,7 +14,7 @@ SRC_URI="http://manpages-de.alioth.debian.org/downloads/${MY_P}.tar.xz"
LICENSE="GPL-3+ man-pages GPL-2+ GPL-2 BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86"
IUSE=""
RDEPEND="virtual/man"

@ -0,0 +1,50 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/man-pages-de/man-pages-de-1.8.ebuild,v 1.1 2014/11/22 22:05:30 mrueg Exp $
EAPI=5
inherit eutils autotools
MY_P="${PN/-/}-${PV}"
DESCRIPTION="A somewhat comprehensive collection of Linux german man page translations"
HOMEPAGE="http://alioth.debian.org/projects/manpages-de/"
SRC_URI="http://manpages-de.alioth.debian.org/downloads/${MY_P}.tar.xz"
LICENSE="GPL-3+ man-pages GPL-2+ GPL-2 BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE=""
RDEPEND="virtual/man"
DEPEND="${RDEPEND}
app-text/po4a"
S=${WORKDIR}/${MY_P}
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.3-bzip2.patch
# Use the same compression as every other manpage
local PORTAGE_COMPRESS_LOCAL=${PORTAGE_COMPRESS-bzip2}
if [[ ${PORTAGE_COMPRESS+set} == "set" ]] ; then
PORTAGE_COMPRESS_LOCAL="#"
fi
if [[ ${PORTAGE_COMPRESS_FLAGS+set} != "set" ]] ; then
case ${PORTAGE_COMPRESS_LOCAL} in
bzip2|gzip) local PORTAGE_COMPRESS_FLAGS_LOCAL="-9"
;;
esac
fi
sed -i -e "s/gzip --best/${PORTAGE_COMPRESS_LOCAL} ${PORTAGE_COMPRESS_FLAGS_LOCAL}/"\
po/man{1,2,3,4,5,6,7,8}/Makefile.in po/common.mk || die
eautoreconf
}
src_compile() { :; }
src_install() {
emake mandir="${ED}"/usr/share/man install
dodoc CHANGES README
}

@ -1,2 +1,3 @@
DIST evemu-1.2.0.tar.xz 498400 SHA256 bcc2a97a8e10048ff6b9122180d27ccada63d4f8ca89e61e962201a13551f475 SHA512 41bef7b2e0f0769e4affb5633f41e5352224f5acfb5a001a27548f2236a1dc23d444bbfc3e93ea8eb518a7f4e628185eef9ca5ecefa4d87b201224bfeee28044 WHIRLPOOL 31879f637959265f7c8067c8dedd2b57fa82aeaac94af53fd42270715579163165f7a3d4fb460f2d15080c42d467c4a872c1dbc964018b684f32db49613ef97b
DIST evemu-2.0.0.tar.xz 508212 SHA256 2734e980c2bd7450270aec49a14e04d0042a6d39d3946c23ed99a3f86c9af061 SHA512 4853c36dda5e5e015561cffe0cbfbe8e17c10562c7842dd0d9a969cd1b26a1513be49f4310733be862c847828b6dae1cb77b0ae6c98463fcd7cf8619f6502053 WHIRLPOOL a222ebd92c146e3a787b6a51ea5edb2aa373ce2be1b2b82988786e575f744ac206febce0af5c0e2be3c2e43b1155f387e6db5f1dcde5e0aa739ca09ab0f8d111
DIST evemu-2.1.0.tar.xz 502240 SHA256 0c87360882751356e9f977ebf7438c00fe97deb232ac725dd86e5ba78203ee97 SHA512 16ed613aa465d85f617a5dd6b958b0480c55477836effc86c293facdb500152d5b387a79f14802f2db6a3c721cc754cac2e8fc605f5e689962742b8fc361c81b WHIRLPOOL bc4e9631eebe6329d726adf853e8ef716246d70cf4f3ee50497bec6d654c8483c9291a40f532d488813d0c2568cd106e03a131cfa6aab86f037ad3ee1f0a8d18

@ -0,0 +1,44 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/evemu/evemu-2.1.0.ebuild,v 1.1 2014/11/24 00:31:09 radhermit Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
AUTOTOOLS_AUTORECONF=1
AUTOTOOLS_IN_SOURCE_BUILD=1
inherit autotools-utils python-single-r1
DESCRIPTION="Tools and bindings for kernel input event device emulation, data capture, and replay"
HOMEPAGE="http://www.freedesktop.org/wiki/Evemu/"
SRC_URI="http://www.freedesktop.org/software/${PN}/${P}.tar.xz"
LICENSE="LGPL-3 GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="python static-libs"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RDEPEND="python? ( ${PYTHON_DEPS} )
>=dev-libs/libevdev-1.2.99.902"
DEPEND="app-arch/xz-utils
${RDEPEND}"
PATCHES=( "${FILESDIR}"/${PN}-1.2.0-install-man.patch )
src_prepare() {
if ! use python ; then
sed '/SUBDIRS/s/python//' -i Makefile.am || die
fi
autotools-utils_src_prepare
}
src_test() {
if use python ; then
if [[ ! ${EUID} -eq 0 ]] || has sandbox $FEATURES || has usersandbox $FEATURES ; then
ewarn "Tests require userpriv, sandbox, and usersandbox to be disabled in FEATURES."
else
emake check
fi
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/obexftp-0.23-r2.ebuild,v 1.5 2014/06/14 10:50:36 phajdan.jr Exp $
# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/obexftp/obexftp-0.23-r2.ebuild,v 1.6 2014/11/22 18:37:15 dilfridge Exp $
EAPI="5"
@ -101,6 +101,5 @@ pkg_postinst() {
}
pkg_postrm() {
use perl && perl-module_pkg_postrm
use python && distutils-r1_pkg_postrm
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/akonadi-server/akonadi-server-1.13.0.ebuild,v 1.4 2014/11/13 15:19:17 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-office/akonadi-server/akonadi-server-1.13.0.ebuild,v 1.5 2014/11/23 14:25:37 zlogene Exp $
EAPI=5
@ -11,7 +11,7 @@ if [[ $PV = *9999* ]]; then
KEYWORDS=""
else
SRC_URI="mirror://kde/stable/${PN/-server/}/src/${P/-server/}.tar.bz2"
KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
S="${WORKDIR}/${P/-server/}"
fi

@ -1,8 +1,9 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/calcurse/calcurse-3.1.4.ebuild,v 1.4 2013/07/04 12:18:27 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-office/calcurse/calcurse-3.1.4.ebuild,v 1.5 2014/11/23 09:17:04 jer Exp $
EAPI=5
inherit autotools eutils
DESCRIPTION="a text-based calendar and scheduling application"
HOMEPAGE="http://calcurse.org/"
@ -11,11 +12,13 @@ SRC_URI="http://calcurse.org/files/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
CC_LINGUAS=( de en es fr nl pt_BR ru )
IUSE+=" ${CC_LINGUAS[@]/#/linguas_}"
RDEPEND="sys-libs/ncurses"
DEPEND="${RDEPEND}"
DOCS=( AUTHORS NEWS README TODO )
src_prepare() {
epatch "${FILESDIR}"/${P}-tinfo.patch
eautoreconf
}

@ -0,0 +1,21 @@
--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,7 @@
#-------------------------------------------------------------------------------
AC_PREREQ(2.59)
AC_INIT([calcurse],
- m4_esyscmd([build-aux/git-version-gen .version]),
+ m4_esyscmd_s([cat .version]),
[bugs@calcurse.org])
AM_INIT_AUTOMAKE
#m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
@@ -51,6 +51,9 @@
LIBS="$LIBS -l$available_ncurses"
])
+AC_SEARCH_LIBS([cbreak], [tinfow tinfo],,
+ AC_MSG_ERROR([Cannot find a library providing cbreak]))
+
AC_CHECK_HEADERS([pthread.h], [
AC_CHECK_LIB(pthread, pthread_create, [
LIBS="$LIBS -pthread"

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/eix/eix-0.30.4.ebuild,v 1.2 2014/11/22 16:59:28 zlogene Exp $
# $Header: /var/cvsroot/gentoo-x86/app-portage/eix/eix-0.30.4.ebuild,v 1.3 2014/11/23 06:54:47 jer Exp $
EAPI=5
@ -13,7 +13,7 @@ SRC_URI="http://dev.gentoo.org/~axs/distfiles/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
IUSE="debug +dep doc nls optimization security strong-optimization strong-security sqlite swap-remote tools"
BOTHDEPEND="sqlite? ( >=dev-db/sqlite-3 )

@ -1,9 +1,9 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/flaggie/flaggie-0.2.1.ebuild,v 1.11 2014/07/06 13:15:31 mgorny Exp $
# $Header: /var/cvsroot/gentoo-x86/app-portage/flaggie/flaggie-0.2.1.ebuild,v 1.12 2014/11/23 22:55:47 mgorny Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy pypy2_0 )
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
inherit bash-completion-r1 distutils-r1

@ -1,9 +1,9 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/flaggie/flaggie-9999.ebuild,v 1.10 2014/07/06 13:15:31 mgorny Exp $
# $Header: /var/cvsroot/gentoo-x86/app-portage/flaggie/flaggie-9999.ebuild,v 1.11 2014/11/23 22:55:47 mgorny Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy pypy2_0 )
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
inherit bash-completion-r1 distutils-r1

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/g-sorcery/g-sorcery-0.1-r1.ebuild,v 1.7 2014/11/09 07:51:32 zlogene Exp $
# $Header: /var/cvsroot/gentoo-x86/app-portage/g-sorcery/g-sorcery-0.1-r1.ebuild,v 1.9 2014/11/23 16:32:38 zlogene Exp $
EAPI=5
@ -14,7 +14,7 @@ SRC_URI="https://github.com/jauhien/g-sorcery/archive/v${PV}.tar.gz -> ${P}.tar.
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
PDEPEND=">=app-portage/layman-2.2.0[g-sorcery]"

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/genlop/genlop-0.30.9-r1.ebuild,v 1.10 2014/10/29 09:39:02 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-portage/genlop/genlop-0.30.9-r1.ebuild,v 1.11 2014/11/23 18:50:59 zlogene Exp $
EAPI="5"
@ -12,7 +12,7 @@ SRC_URI="mirror://gentoo//${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd"
IUSE=""
DEPEND="dev-lang/perl

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/layman/layman-2.2.0-r5.ebuild,v 1.2 2014/11/09 07:51:05 zlogene Exp $
# $Header: /var/cvsroot/gentoo-x86/app-portage/layman/layman-2.2.0-r5.ebuild,v 1.4 2014/11/23 16:33:01 zlogene Exp $
EAPI="5"
@ -15,7 +15,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~x86 ~ppc-aix ~x86-fbsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="bazaar cvs darcs +git g-sorcery mercurial squashfs subversion test"
DEPEND="test? ( dev-vcs/subversion )"

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/metagen/metagen-0.6.2-r1.ebuild,v 1.5 2014/11/19 11:20:08 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/app-portage/metagen/metagen-0.6.2-r1.ebuild,v 1.8 2014/11/23 14:07:06 zlogene Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_6,2_7} )
@ -13,7 +13,7 @@ SRC_URI="http://dev.gentoo.org/~neurogeek/metagen_releases/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 hppa ~ppc ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 hppa ppc x86 ~amd64-linux ~x86-linux"
IUSE=""
DEPEND=">=dev-python/jaxml-3.01[${PYTHON_USEDEP}]

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh-completions/zsh-completions-0.12.0.ebuild,v 1.1 2014/11/21 10:28:13 radhermit Exp $
# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh-completions/zsh-completions-0.12.0-r1.ebuild,v 1.1 2014/11/23 19:15:14 mrueg Exp $
EAPI=5
@ -20,6 +20,11 @@ SLOT="0"
RDEPEND="app-shells/zsh"
src_prepare() {
# File collision with dev-python/pip
rm src/_pip || die
}
src_install() {
insinto /usr/share/zsh/site-functions
doins src/_*

@ -0,0 +1,248 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-1.48-r1.ebuild,v 1.1 2014/11/23 12:37:49 jlec Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="sqlite,ssl"
inherit bash-completion-r1 distutils-r1 eutils fdo-mime multilib toolchain-funcs
DESCRIPTION="Ebook management application"
HOMEPAGE="http://calibre-ebook.com/"
[[ ${PV} == ${PV%.*}.${PV#*.} ]] && MY_PV=${PV}.0 || MY_PV=${PV}
SRC_URI="http://sourceforge.net/projects/calibre/files/${MY_PV}/${PN}-${MY_PV}.tar.xz"
LICENSE="
GPL-3+
GPL-3
GPL-2+
GPL-2
GPL-1+
LGPL-3+
LGPL-2.1+
LGPL-2.1
BSD
MIT
Old-MIT
Apache-2.0
public-domain
|| ( Artistic GPL-1+ )
CC-BY-3.0
OFL-1.1
PSF-2
unRAR
"
KEYWORDS="~amd64 ~arm ~x86"
SLOT="0"
IUSE="+udisks"
COMMON_DEPEND="
>=app-text/podofo-0.8.2:=
>=app-text/poppler-0.20.2:=[qt4,xpdf-headers(+)]
>=dev-libs/chmlib-0.40:=
>=dev-libs/icu-4.4:=
>=dev-python/apsw-3.7.17[${PYTHON_USEDEP}]
>=dev-python/beautifulsoup-3.0.5:python-2[${PYTHON_USEDEP}]
>=dev-python/cssselect-0.7.1[${PYTHON_USEDEP}]
>=dev-python/cssutils-0.9.9[${PYTHON_USEDEP}]
>=dev-python/dbus-python-0.82.2[${PYTHON_USEDEP}]
>=dev-python/dnspython-1.6.0[${PYTHON_USEDEP}]
>=dev-python/lxml-3.2.1[${PYTHON_USEDEP}]
>=dev-python/mechanize-0.1.11[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-1.4.1[${PYTHON_USEDEP}]
<dev-python/PyQt4-4.11.3[X,svg,webkit,${PYTHON_USEDEP}]
dev-python/netifaces[${PYTHON_USEDEP}]
dev-qt/qtdbus:4=
dev-qt/qtsvg:4=
media-fonts/liberation-fonts
>=media-gfx/imagemagick-6.5.9[jpeg,png]
>=media-libs/freetype-2:=
>=media-libs/libwmf-0.2.8
>=media-libs/libmtp-1.1.5:=
virtual/libusb:1=
virtual/python-imaging[${PYTHON_USEDEP}]
>=x11-misc/xdg-utils-1.0.2-r2"
RDEPEND="${COMMON_DEPEND}
udisks? ( || ( sys-fs/udisks:2 sys-fs/udisks:0 ) )"
DEPEND="${COMMON_DEPEND}
>=dev-python/setuptools-0.6_rc5[${PYTHON_USEDEP}]
>=virtual/podofo-build-0.8.2"
S="${WORKDIR}"/${PN}
PATCHES=(
# no_updates: do not annoy user with "new version is availible all the time
# disable_plugins: walking sec-hole, wait for upstream to use GHNS interface
# C locale: if LC_ALL=C do not raise an exception when locale cannot be canonicalized
"${FILESDIR}"/${PN}-1.34-no_updates_dialog.patch
"${FILESDIR}"/${PN}-disable_plugins.patch
)
export_xdg_dirs() {
# Bug #295672 - Avoid sandbox violation in ~/.config by forcing
# variables to point to our fake temporary $HOME.
export HOME="${T}/fake_homedir"
export XDG_CONFIG_HOME="${HOME}/.config"
export XDG_DATA_HOME="${HOME}/.local/share"
export CALIBRE_CONFIG_DIRECTORY="${XDG_CONFIG_HOME}/calibre"
}
python_prepare_all() {
# Fix outdated version constant.
#sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \
# -i src/calibre/constants.py || \
# die "sed failed to patch constants.py"
# Avoid sandbox violation in /usr/share/gnome/apps when linux.py
# calls xdg-* (bug #258938).
sed \
-e "s|'xdg-desktop-menu', 'install'|\\0, '--mode', 'user'|" \
-e "s|check_call(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
-e "s|\\(CurrentDir(tdir)\\), \\\\\$|\\1:|" \
-e "s|PreserveMIMEDefaults():||" \
-e "s|xdg-icon-resource install|\\0 --mode user|" \
-e "s|cc(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
-e "s|'xdg-mime', 'install'|\\0, '--mode', 'user'|" \
-i src/calibre/linux.py || die "sed failed to patch linux.py"
# Disable unnecessary privilege dropping for bug #287067.
sed \
-e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
-i setup/install.py || die "sed failed to patch install.py"
sed -e "/^ self\\.check_call(qmc + \\[.*\\.pro'\\])$/a\
\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \
'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \
'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \
'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \
'-i', 'Makefile'])" \
-i setup/extensions.py || die "sed failed to patch extensions.py"
# use system beautifulsoup, instead of bundled
rm -f "${S}"/src/calibre/ebooks/BeautifulSoup.py || die "could not remove bundled beautifulsoup"
find "${S}" -type f -name \*.py -exec \
sed -e 's/calibre.ebooks.BeautifulSoup/BeautifulSoup/' -i {} + \
|| die "could not sed bundled beautifulsoup out of the source tree"
# override install path for bash-completions
local mybcd="${D}/$(get_bashcompdir)"
sed -e "s#^def \(get_bash_completion_path.*\)\$#def \1\n return os.path.join('${mybcd}','calibre')\n\ndef old_\1#" \
-i "${S}"/src/calibre/linux.py || die "Could not fix bash-completions install path"
tc-export CC CXX
distutils-r1_python_prepare_all
}
python_install() {
# Bypass kbuildsycoca and update-mime-database in order to
# avoid sandbox violations if xdg-mime tries to call them.
cat - > "${T}/kbuildsycoca" <<-EOF
#!${BASH}
exit 0
EOF
cp "${T}"/{kbuildsycoca,update-mime-database} || die
chmod +x "${T}"/{kbuildsycoca,update-mime-database} || die
# Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
# violation with kbuildsycoca as in bug #287067, comment #13.
export -n DISPLAY
# Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
# File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
# return _parse_localename(localename)
# File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
# raise ValueError, 'unknown locale: %s' % localename
#ValueError: unknown locale: 46
export -n LANGUAGE
export_xdg_dirs
mkdir -p "${XDG_CONFIG_HOME}" "${CALIBRE_CONFIG_DIRECTORY}" || die
# Bug #334243 - respect LDFLAGS when building extensions
export OVERRIDE_CFLAGS="$CFLAGS" OVERRIDE_LDFLAGS="$LDFLAGS"
local libdir=$(get_libdir)
[[ -n $libdir ]] || die "get_libdir returned an empty string"
# Bug #472690 - Avoid sandbox violation for /dev/dri/card0.
local x
for x in /dev/dri/card[0-9] ; do
[[ -e ${x} ]] && addpredict ${x}
done
dodir $(python_get_sitedir) # for init_calibre.py
PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
esetup.py install \
--root="${D}" \
--prefix="${EPREFIX}/usr" \
--libdir="${EPREFIX}/usr/${libdir}" \
--staging-root="${ED}usr" \
--staging-libdir="${ED}usr/${libdir}"
}
python_install_all() {
export_xdg_dirs
python_replicate_script "${ED}"/usr/bin/*
grep -rlZ "${ED}" "${ED}" | xargs -0 sed -e "s:${D}:/:g" -i ||
die "failed to fix harcoded \$D in paths"
# The menu entries end up here due to '--mode user' being added to
# xdg-* options in src_prepare.
dodir /usr/share/mime/packages
chmod -fR a+rX,u+w,g-w,o-w "${HOME}"/.local || die
mv "${HOME}"/.local/share/mime/packages/* "${ED}"usr/share/mime/packages/ ||
die "failed to register mime types"
dodir /usr/share/icons
mv "${HOME}"/.local/share/icons/* "${ED}"usr/share/icons/ ||
die "failed to install icon files"
domenu "${HOME}"/.local/share/applications/*.desktop
find "${ED}"usr/share -type d -empty -delete || die
cd "${ED}"/usr/share/calibre/fonts/liberation || die
local x
for x in * ; do
[[ -f ${EROOT}usr/share/fonts/liberation-fonts/${x} ]] || continue
ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
done
einfo "Compiling python modules"
python_foreach_impl python_optimize "${ED}"usr/$(get_libdir)/${PN}
newinitd "${FILESDIR}"/calibre-server.init calibre-server
newconfd "${FILESDIR}"/calibre-server.conf calibre-server
bashcomp_alias calibre \
lrf2lrs \
ebook-meta \
ebook-polish \
lrfviewer \
ebook-viewer \
ebook-edit \
fetch-ebook-metadata \
calibre-smtp \
calibre-server \
calibre-debug \
ebook-device \
ebook-convert
}
pkg_postinst() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
}
pkg_postrm() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
}

@ -0,0 +1 @@
DIST emmet-0.85.tar.bz2 31274 SHA256 738204ed94354b4c7ec9f72e2139459890d160c276c7782c158c9ddce6f8d499 SHA512 567f79c43ac0d5560dea2130e6fb6d32f25d35b20c3bbf8fc40b7cdc8c20e2d9352b9e1c03e57de2077ac192915ab174a6bee442d5311f01cc79c3fe6e10af56 WHIRLPOOL 835b4360f71e3824145c722f0f203f0941598ec9709d68cff67ddd253b82719d4e8bcaafe61efcd19d0ce21ac0e5e907083f2347ba534ed968580bcaf6cf774b

@ -0,0 +1,14 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-vim/emmet/emmet-0.85.ebuild,v 1.1 2014/11/24 04:24:47 radhermit Exp $
EAPI=5
inherit vim-plugin
DESCRIPTION="vim plugin: HTML and CSS hi-speed coding"
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=2981 http://mattn.github.io/emmet-vim/ http://emmet.io/"
LICENSE="BSD"
KEYWORDS="~amd64 ~x86"
VIM_PLUGIN_HELPFILES="${PN}.txt"

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>vim</herd>
</pkgmetadata>

@ -1,3 +1 @@
DIST zencoding-vim-0.58.tar.gz 21262 SHA256 28088b4158ee5f037fb4e63e62bba1206ae84b3b070cf4393a4cd893281fc1cb SHA512 ed6eea831660bb0fb4317f90ac0d908d4eb13f79208f502d8bb4d0084a10770387e7764f18f28f9a68b1ce36ac208563ef76b2c7dcd653a3a6475247008ffa8c WHIRLPOOL 2c0a4dcdf9d4707d910b03976b697835ead978f2ab6b55c5dc66e7024ea940134c7e24927fb15e5f0046824ccc3f8e280050d2233656d17769be3580cd9d2669
DIST zencoding-vim-0.74.tar.bz2 24138 SHA256 aa9b8635e0667bf66d40c102281b4a3ece32afc66df91049adaedecd1324bcfc SHA512 386f86247b95d8944a28b879c7b7af3105347ac10637e20590edae23736907e0ff6d948a96da335ce3fd8a8daf6da2007db6983a9095968aa61dbb424da55304 WHIRLPOOL bab44e1ad17f732bfdfbde88dff21fa1d1c43f7e46431e04f02bc6f0a9043a1faab5b6220360a705375a82c806145ed39db2590720541ee9a0912f03f5e513bf
DIST zencoding-vim-0.80.tar.bz2 24853 SHA256 5469a2c388ff399547556251cf10549512bf5b75d3bb1b6431f3e9273eccf5cf SHA512 1f1478f560f7bcd6b05fca810633d7e61fb5dc6eca144ef5bd94c6a2b5e67035eeb470632d215d192473a4e80525a429538478c1c90299aea88d42beb08dbf29 WHIRLPOOL 71f9e8d599264e6a9be4d959cb322a1793887cf1530811723f295e4356157ee37191bb325c347faa4e5b0fa189c29b586219162c5dcb84db5e0403a4e070a87f

@ -1,26 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-vim/zencoding-vim/zencoding-vim-0.58.ebuild,v 1.3 2012/02/16 19:14:18 phajdan.jr Exp $
EAPI=4
inherit vim-plugin
MY_PN="ZenCoding.vim"
DESCRIPTION="vim plugin: HTML and CSS hi-speed coding"
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=2981 http://mattn.github.com/zencoding-vim/"
SRC_URI="https://github.com/vim-scripts/${MY_PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="BSD"
KEYWORDS="amd64 x86"
IUSE=""
VIM_PLUGIN_HELPFILES="${PN}.txt"
src_unpack() {
unpack ${A}
mv *-${MY_PN}-* "${S}"
}
src_prepare() {
rm README || die
}

@ -1,15 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-vim/zencoding-vim/zencoding-vim-0.74.ebuild,v 1.3 2012/12/04 11:23:42 ago Exp $
EAPI=4
inherit vim-plugin
DESCRIPTION="vim plugin: HTML and CSS hi-speed coding"
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=2981 http://mattn.github.com/zencoding-vim/"
LICENSE="BSD"
KEYWORDS="amd64 x86"
IUSE=""
VIM_PLUGIN_HELPFILES="zencoding.txt"

@ -1,7 +1,4 @@
DIST autotools-java.tar 2770 SHA256 b74a069cf94d05cfbfe3eb65d42603d9a9d46a130044d76ffbf55ae822b62b3d SHA512 a193c3c3f8cc654967905c9ab559098425f1688a75c21a4207959fbe13572b4dba3e5c21e04913f20e5aa1b1c2fd2b13dcef91cc4f031b06884ac3130edc5757 WHIRLPOOL 3fbf5f0ab1a4bd231e69f924442f047c1e872f04c85afc46dca423c93641264347dc2d2c2a8b1cca740bf349d4db02594144c3797eb1c4bd649a35c169f7c86e
DIST hyperdex-1.1.0.tar.gz 1243852 SHA256 e4e10bb85fb44e0bc479dfad6f6e7ee7aef00edc310b9069db3db44bb0b0e143 SHA512 54cb5ca1f14f4744885639c38ab1a84959100b80df50da1befa86db7fb1046e1045a84378b7dae253935f9c7bcfca6fa37ec1bfe699f611c55fe75b18f0fd37e WHIRLPOOL 5bf9b88f17b4e2a32aff6182a4734f9aeacd5e5ab9b83525edd917a399992612d27161bbcfdc4217cf84ae33530a743a5f75a10f788817a5336c9ab99161b345
DIST hyperdex-1.2.0.tar.gz 1318103 SHA256 37a3accf8262fadfd2c357543ae5c39286f2071c60ee7ff7d29a826c305443ed SHA512 bd6904fa6a8a2d6c350b3276229e6e7b8bf02628a5719ac64b348f7e8561dab54814c1ebb2b490ac09528d7f2af2b585fdcb6f4d22a65446f91e6dcd92c3eadd WHIRLPOOL 588dd18308d0f1382283d761fc447a7c5e8939135a46e5e9d999368997f974c4dd63a7661e7554971843160270ef245975ea790060dc2a14cb2c210c1d084cd7
DIST hyperdex-1.3.0.tar.gz 1328880 SHA256 baf994550565a5e3093944bb8a919582d9dc55c82e11a89eeb0322a904d58ae7 SHA512 96f679f97933004918784127b7d7dc9c7949bdab77486c71f4d1715a76a6e0d0d747b8f31b3984fe9bed4d5823e62d471319b30e2274ae9cef82ad8e07439073 WHIRLPOOL a1d24d563eb8f4b54e23a49c5d25996cf7bcdac43786a604ff88fbc97fa86f01c3a812c678fd3214818b56de90172d981db5fefaa93337d53ceb602c71666631
DIST hyperdex-1.3.1.tar.gz 1328901 SHA256 6c664c4b606431562c3a767ffc3ab5d31feaec7bd8e3cdb691d3bf871bade53a SHA512 e296a7ffc1d5e668c5f6b6dc931148d3a7ae81df98782c7702b4759d36e9e31c7347a43d5f0aa4d5c564f4116bd5fa6e658724cf60838b318bf9658845b362a1 WHIRLPOOL b46f00ae30b3c521dad703f80e548e4357a6179d5672ab55aa608e52d2923c4b5bfd06c312f5d9a3ceace20c35d514656357793e7cc2736205bede9b6dcc9ffe
DIST hyperdex-1.4.4.tar.gz 1358725 SHA256 ab0b8e4ef343eecb1616f7d25ae648cbd9927076e7f9659cc75f42b72b64648b SHA512 284b1c2f907dfba310ae72f3fd42ceb292348482b8ebb5f69af2662e4596f846f1cb83bb5bdf9c8aa330ca8e53d5d3da5df9708a11d4ab58e4741e767c012da1 WHIRLPOOL a4d55d746207cfaf3925f8e35ca52671ac47178c9312227e74776bc996747e409981565748c9e1dc7f4c54901660171dabb8885883d1f8145adc5fc980ceaabc
DIST hyperdex-1.4.5.tar.gz 1359099 SHA256 b88ef1792778b3e4094563d046095ec82b99e13a4c5c77373025a8ae379e0322 SHA512 51dbfbc57aa8c4d112f7321e4971458d969dab3dbd9ead65cd00f320b70a5f3206a8905198b1685afdc18b6e4749e1cbd58184df837946c3db07f2bb507f3852 WHIRLPOOL 372c00c8d4a1d64b051f9787e364e57d9fcf2e955dbe8fae42c4d47e1352951bcaa1fdb609fcc2718761b70cb5ce267cb5fd01181c4083593e7a057ae7cb18bd
DIST hyperdex-1.5.0.tar.gz 1415134 SHA256 47292b90a0e69a9323ff99067ee9798e309fe28b117fced54a35ff0f3ab24bdf SHA512 5f98b7bc92d1ef7a6bc614f420230a6a3837a93409475b8d90b1df5135c46aa01b26909044fe293c63fdd88e9a14af5cd598a2f0223991e51aea60c8afe1765e WHIRLPOOL fbee334a0d7cc678f1ae4de22898ff87bc6698137ebc7e999fff3501164c516a46c4f2206de08b3e47167168c1ccd2f109a0c827b660d9ea17f221375cd4865f

@ -1,45 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/hyperdex/hyperdex-1.1.0.ebuild,v 1.1 2014/02/21 03:34:49 patrick Exp $
EAPI=5
RESTRICT="test"
PYTHON_DEPEND="2:2.6"
inherit eutils python
DESCRIPTION="A searchable distributed Key-Value Store"
HOMEPAGE="http://hyperdex.org"
SRC_URI="http://hyperdex.org/src/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+python"
# need to add ruby and java useflags too
DEPEND="dev-cpp/glog
dev-cpp/sparsehash
dev-libs/cityhash
dev-libs/libpo6
dev-libs/libe
dev-libs/busybee
dev-libs/popt
dev-libs/replicant"
RDEPEND="${DEPEND}"
pkg_setup() {
python_set_active_version 2
}
src_configure() {
econf --disable-static \
$(use_enable python python-bindings)
}
src_install() {
emake DESTDIR="${D}" install || die "Failed to install"
newinitd "${FILESDIR}/hyperdex.initd" hyperdex || die "Failed to install init script"
newconfd "${FILESDIR}/hyperdex.confd" hyperdex || die "Failed to install config file"
find "${D}" -name '*.la' -exec rm {} \; # bad buildsystem! bad!
}

@ -1,47 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/hyperdex/hyperdex-1.3.0.ebuild,v 1.1 2014/05/22 08:35:49 patrick Exp $
EAPI=5
PYTHON_COMPAT=( python2_7)
inherit eutils python-r1 autotools
DESCRIPTION="A searchable distributed Key-Value Store"
HOMEPAGE="http://hyperdex.org"
SRC_URI="http://hyperdex.org/src/${P}.tar.gz
http://dev.gentooexperimental.org/~patrick/autotools-java.tar"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+python"
# need to add ruby and java useflags too
DEPEND="dev-cpp/glog
dev-cpp/sparsehash
dev-libs/cityhash
dev-libs/libpo6
dev-libs/libe
dev-libs/busybee
dev-libs/popt
dev-libs/replicant
dev-libs/json-c"
RDEPEND="${DEPEND}"
src_prepare() {
cp "${WORKDIR}/"*.m4 m4/
sed -i -e 's~json/json.h~json-c/json.h~' configure.ac common/datatype_document.cc daemon/index_document.cc || die "Blergh!"
eautoreconf
}
src_configure() {
econf --disable-static \
$(use_enable python python-bindings)
}
src_install() {
emake DESTDIR="${D}" install || die "Failed to install"
newinitd "${FILESDIR}/hyperdex.initd" hyperdex || die "Failed to install init script"
newconfd "${FILESDIR}/hyperdex.confd" hyperdex || die "Failed to install config file"
find "${D}" -name '*.la' -exec rm {} \; # bad buildsystem! bad!
}

@ -1,47 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/hyperdex/hyperdex-1.3.1.ebuild,v 1.1 2014/07/11 02:56:11 patrick Exp $
EAPI=5
PYTHON_COMPAT=( python2_7)
inherit eutils python-r1 autotools
DESCRIPTION="A searchable distributed Key-Value Store"
HOMEPAGE="http://hyperdex.org"
SRC_URI="http://hyperdex.org/src/${P}.tar.gz
http://dev.gentooexperimental.org/~patrick/autotools-java.tar"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+python"
# need to add ruby and java useflags too
DEPEND="dev-cpp/glog
dev-cpp/sparsehash
dev-libs/cityhash
dev-libs/libpo6
dev-libs/libe
dev-libs/busybee
dev-libs/popt
dev-libs/replicant
dev-libs/json-c"
RDEPEND="${DEPEND}"
src_prepare() {
cp "${WORKDIR}/"*.m4 m4/
sed -i -e 's~json/json.h~json-c/json.h~' configure.ac common/datatype_document.cc daemon/index_document.cc || die "Blergh!"
eautoreconf
}
src_configure() {
econf --disable-static \
$(use_enable python python-bindings)
}
src_install() {
emake DESTDIR="${D}" install || die "Failed to install"
newinitd "${FILESDIR}/hyperdex.initd" hyperdex || die "Failed to install init script"
newconfd "${FILESDIR}/hyperdex.confd" hyperdex || die "Failed to install config file"
find "${D}" -name '*.la' -exec rm {} \; # bad buildsystem! bad!
}

@ -1,9 +1,11 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/hyperdex/hyperdex-1.2.0-r1.ebuild,v 1.1 2014/05/07 03:38:14 patrick Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-db/hyperdex/hyperdex-1.5.0.ebuild,v 1.2 2014/11/23 13:52:45 patrick Exp $
EAPI=5
# Tests fail, again
RESTRICT="test"
PYTHON_COMPAT=( python2_7)
inherit eutils python-r1 autotools
@ -16,7 +18,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+python"
IUSE="test +python"
# need to add ruby and java useflags too
DEPEND="dev-cpp/glog
@ -27,9 +29,12 @@ DEPEND="dev-cpp/glog
dev-libs/busybee
dev-libs/popt
dev-libs/replicant
dev-libs/libmacaroons
dev-libs/json-c"
RDEPEND="${DEPEND}"
REQUIRED_USE="test? ( python )"
src_prepare() {
cp "${WORKDIR}/"*.m4 m4/
sed -i -e 's~json/json.h~json-c/json.h~' configure.ac common/datatype_document.cc daemon/index_document.cc || die "Blergh!"

@ -1,2 +1 @@
DIST libdbi-drivers-0.8.3-1.tar.gz 1534420 SHA256 4ab9944398ce769c0deeb64d2f73555c67bc25ccd2ade1ccf552226c7b2acf72 SHA512 c2cb76234b9137cc4a05af42a69ea7d5b08586287378406cbd4d114598598057f29cccb368bfbe0f86e19846ceab88ed636cccff6555ef9f7eebbb98bbcd3824 WHIRLPOOL fc8df681ccdf6995727b0bf7aa315090dc4af2849c02e6b78913f6d5ecdc51c5e60b7eba3f515050a4ae93e74dfa7f1dcc1f7aca7fe3c12e3f02ecfd04184700
DIST libdbi-drivers-0.9.0.tar.gz 1829864 SHA256 43d2eacd573a4faff296fa925dd97fbf2aedbf1ae35c6263478210c61004c854 SHA512 f4d3aaa71014697c53012a10bf9f0af398bcf5ee5872af165f8f43a682d2fb3045a9172ffea0e068dcbfcad52494878c037d8d90fadfaf176936e42f7f1e85c1 WHIRLPOOL 6ed745a19afe4b6b5d51f7730ca9698e645fac529051aeaae886938e063f8fcd3357c2f24913a5428db4847de1de38e931acc1e3e20aeed3e6d71b6877a104d6

@ -1,15 +0,0 @@
diff -Nuar libdbi-drivers-0.8.3-1.orig/configure.in libdbi-drivers-0.8.3-1/configure.in
--- libdbi-drivers-0.8.3-1.orig/configure.in 2008-10-09 17:09:09.303141877 -0700
+++ libdbi-drivers-0.8.3-1/configure.in 2008-10-09 17:10:48.100635797 -0700
@@ -149,7 +149,8 @@
-ac_docs="YES"
+ac_docs="no"
AC_ARG_ENABLE(docs,
[ --disable-docs do not build and install the documentation.],
- [ ac_docs="NO" ])
+ [ ac_docs="$enableval" ],
+ [ ac_docs="no" ])
-if test "$ac_docs" = "YES"; then
+if test "$ac_docs" = "yes"; then
dnl AC_PATH_PROGS(myjade, openjade jade)

@ -1,25 +0,0 @@
diff -Nuar libdbi-drivers-0.8.3-1.orig/acinclude.m4 libdbi-drivers-0.8.3-1/acinclude.m4
--- libdbi-drivers-0.8.3-1.orig/acinclude.m4 2007-12-30 11:05:40.000000000 +0000
+++ libdbi-drivers-0.8.3-1/acinclude.m4 2009-10-26 06:50:49.823477194 +0000
@@ -450,8 +450,8 @@
firebird_incdirs="/opt/firebird/include /usr/include /usr/local/include /usr/include/firebird /usr/local/include/firebird /usr/local/firebird/include /opt/firebird/include"
AC_FIND_FILE(ibase.h, $firebird_incdirs, ac_firebird_incdir)
firebird_libdirs="/opt/firebird/lib /usr/lib /usr/local/lib /usr/lib/firebird /usr/local/lib/firebird /usr/local/firebird/lib /opt/firebird/lib"
-dnl AC_FIND_FILE(libfbclient.so, $firebird_libdirs, ac_firebird_libdir)
- AC_FIND_FILE(libfbembed.so, $firebird_libdirs, ac_firebird_libdir)
+ AC_FIND_FILE(libfbclient.so, $firebird_libdirs, ac_firebird_libdir)
+dnl AC_FIND_FILE(libfbembed.so, $firebird_libdirs, ac_firebird_libdir)
if test "$ac_firebird_incdir" = "no"; then
AC_MSG_RESULT(no)
AC_MSG_ERROR([Invalid Firebird/Interbase directory - include files not found.])
@@ -479,8 +479,8 @@
[SCHAR_MSG="no"])
AC_MSG_RESULT([$SCHAR_MSG])
-dnl FIREBIRD_LIBS="-lfbclient"
- FIREBIRD_LIBS="-lfbembed"
+ FIREBIRD_LIBS="-lfbclient"
+dnl FIREBIRD_LIBS="-lfbembed"
FIREBIRD_INCLUDE="-I$ac_firebird_incdir"
FIREBIRD_LDFLAGS="-L$ac_firebird_libdir"

@ -1,12 +0,0 @@
diff -ur libdbi-drivers-0.8.3-1-old/configure.in libdbi-drivers-0.8.3-1/configure.in
--- libdbi-drivers-0.8.3-1-old/configure.in 2013-05-14 02:28:23.315926087 +0000
+++ libdbi-drivers-0.8.3-1/configure.in 2013-05-14 02:29:05.655762313 +0000
@@ -3,7 +3,7 @@
AM_MAINTAINER_MODE
AM_INIT_AUTOMAKE(libdbi-drivers, 0.8.3-1)
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS(config.h)
AC_LIBTOOL_WIN32_DLL
dnl library versioning currently unnecessary...

@ -1,12 +0,0 @@
diff -urN libdbi-drivers-0.8.3-1.orig/drivers/oracle/dbd_oracle.c libdbi-drivers-0.8.3-1/drivers/oracle/dbd_oracle.c
--- libdbi-drivers-0.8.3-1.orig/drivers/oracle/dbd_oracle.c 2009-01-26 16:31:42.000000000 +0300
+++ libdbi-drivers-0.8.3-1/drivers/oracle/dbd_oracle.c 2009-01-26 16:32:38.000000000 +0300
@@ -841,7 +841,7 @@
{
struct tm tmt;
/* char stime[101], *cp = NULL; */
-/* time_t loct = 0L; */
+ time_t loct = 0L;
/* memset(stime, 0, sizeof(stime)); */

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

Loading…
Cancel
Save