parent
834b23c54e
commit
02129579c8
@ -0,0 +1,8 @@
|
||||
DIST cl.h.1.1.xz 6940 RMD160 697d52b04bba416c233433ff5b9cba47d7327631 SHA1 2092a622e1494f0a31c1371147bc87478226b44b SHA256 11b0249ec6c35000686cfe775b1789fa010b6d058e123b00c720e8408881f13f
|
||||
DIST cl.hpp.1.1.xz 14764 RMD160 009ff35d03da82b8271785077d94f046193f91d6 SHA1 096b0e0fd42d841effa24c6323cf109aa2f6ecce SHA256 5d90ef4d964a6365d8e9305913c85dd0ffe6916df0a151a116b1b58b0e6c7ef4
|
||||
DIST cl_ext.h.1.1.xz 2740 RMD160 f2debb481b3f3c94cbca5a50bb77fb571c9538dd SHA1 f7c759f6d8077e6d1eb222d1acb4a9638bee4741 SHA256 aeb729345004bf67d2564e1dc55feb326ff017f3b291ffb8e1391de353e09620
|
||||
DIST cl_gl.h.1.1.xz 1856 RMD160 e92b5e843322c9e78f3fe72da43c1502109dc1f5 SHA1 3c4ad063ea5e4ee232b273cecbb85abf17dbf112 SHA256 eeddf3403c13776b3d13a25c9e47a01eee750c0120f74d402fad5d78b29f925a
|
||||
DIST cl_gl_ext.h.1.1.xz 1356 RMD160 0ba4c5d6f3c1d119d7a8844abd43b83db987b565 SHA1 829ae549cdd0de3878626858fb041d5a424ebd96 SHA256 594e463e3a24e62870c5c1914b05e796aeda8892bf6830ee8db3f722993fdf02
|
||||
DIST cl_platform.h.1.1.xz 5584 RMD160 034d4be552aa3ddb6cc45718c5aa7a195d7f3f59 SHA1 bdc027789de959d1aa33e70de8af90dd103780d3 SHA256 2f70eb47285fd46f75d48476e90ee3b7e9ba62166bc573bbb35cb0f9d7a2ea53
|
||||
DIST eselect-opencl-1.1.0.tar.xz 3272 RMD160 e6538d2207823487288dabce18e1baf8bd59ddf3 SHA1 fef7bf2949fb9b9f9f73a8fd30fca2f063abeb51 SHA256 0b49d847d4475119f969fc7bbcdc4ceb1905e37e102b10d0bdad4f8e6010bbbe
|
||||
DIST opencl.h.1.1.xz 944 RMD160 d9c8ee867a0068fbb05624d48d9e236d0f43acd3 SHA1 2b94aff101b7a3ee4261957b6d46edd6b81faf24 SHA256 c076e410eaffd9fbb056528f31a59fe1908481f0fd38981c13970727a0c4d096
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-opencl/eselect-opencl-1.1.0.ebuild,v 1.1 2012/01/21 09:23:17 xarthisius Exp $
|
||||
|
||||
EAPI=4
|
||||
CL_ABI=1.1
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Utility to change the OpenCL implementation being used"
|
||||
HOMEPAGE="http://www.gentoo.org/"
|
||||
|
||||
# Source:
|
||||
# http://www.khronos.org/registry/cl/api/${CL_ABI}/opencl.h
|
||||
# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_platform.h
|
||||
# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl.h
|
||||
# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_ext.h
|
||||
# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_gl.h
|
||||
# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl_gl_ext.h
|
||||
# http://www.khronos.org/registry/cl/api/${CL_ABI}/cl.hpp
|
||||
|
||||
MIRROR="http://dev.gentoo.org/~xarthisius/distfiles/"
|
||||
SRC_URI="${MIRROR}/opencl.h.${CL_ABI}.xz
|
||||
${MIRROR}/cl_platform.h.${CL_ABI}.xz
|
||||
${MIRROR}/cl.h.${CL_ABI}.xz
|
||||
${MIRROR}/cl_ext.h.${CL_ABI}.xz
|
||||
${MIRROR}/cl_gl.h.${CL_ABI}.xz
|
||||
${MIRROR}/cl_gl_ext.h.${CL_ABI}.xz
|
||||
${MIRROR}/cl.hpp.${CL_ABI}.xz
|
||||
${MIRROR}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/xz-utils"
|
||||
RDEPEND=">=app-admin/eselect-1.2.4"
|
||||
|
||||
pkg_postinst() {
|
||||
local impl="$(eselect opencl show)"
|
||||
if [[ -n "${impl}" && "${impl}" != '(none)' ]] ; then
|
||||
eselect opencl set "${impl}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
doins opencl.eselect
|
||||
#doman opencl.eselect.5
|
||||
|
||||
local headers=( opencl.h cl_platform.h cl.h cl_ext.h cl_gl.h cl_gl_ext.h cl.hpp )
|
||||
insinto /usr/$(get_libdir)/OpenCL/global/include/CL
|
||||
cd "${WORKDIR}"
|
||||
for f in ${headers[@]}; do
|
||||
newins ${f}.${CL_ABI} ${f}
|
||||
done
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>xarthisius@gentoo.org</email>
|
||||
<name>Kacper Kowalik</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Utility to switch OpenCL implementations between various providers.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -1,3 +1,4 @@
|
||||
DIST eselect-1.2.15.tar.bz2 169358 RMD160 9b5c2174786466f6a32e8b823eb4140e2581f945 SHA1 4875545e001904ab6f9a5a8c96150739ee1cff29 SHA256 fa8e3b2af2bc4a951ddb6067ba1e786a04681555ab7e83d50d4eb85047f2e7d7
|
||||
DIST eselect-1.2.17.tar.bz2 169990 RMD160 c97c8a147f3d737de12c4aa4993a17734464d85d SHA1 fd5721e49eb4705b66bda387eb70fe45ca3b72ba SHA256 37724f875bb13b8998f699bf56a59c55a0d9987943216ab784926a550aa8d138
|
||||
DIST eselect-1.2.18.tar.bz2 170120 RMD160 0a2dc01f0c50c03f81b6079b91190859d820ff61 SHA1 5ac5a5049e99d09063da9d99096a146cb22953cd SHA256 68581af8f7ca427dbd726b766071c833918fb5ae25ad03224def7e1599297b3c
|
||||
DIST eselect-1.3.tar.xz 163724 RMD160 45e30b66e4258ce607a57230956b057dc32c1ba5 SHA1 c63330bede6b6e5f86fa3392feb3abd9f7f23d8d SHA256 1700cc381eb7acbb49204157038be16fb63d9291b7b23612db32897566be506e
|
||||
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/eselect-1.3.ebuild,v 1.1 2012/01/21 19:02:55 ulm Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit bash-completion-r1
|
||||
|
||||
DESCRIPTION="Gentoo's multi-purpose configuration and management tool"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/eselect/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="sys-apps/sed
|
||||
|| (
|
||||
sys-apps/coreutils
|
||||
sys-freebsd/freebsd-bin
|
||||
app-misc/realpath
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
doc? ( dev-python/docutils )"
|
||||
RDEPEND="!app-admin/eselect-news
|
||||
${RDEPEND}
|
||||
sys-apps/file
|
||||
sys-libs/ncurses"
|
||||
|
||||
# Commented out: only few users of eselect will edit its source
|
||||
#PDEPEND="emacs? ( app-emacs/gentoo-syntax )
|
||||
# vim-syntax? ( app-vim/eselect-syntax )"
|
||||
|
||||
src_compile() {
|
||||
emake || die
|
||||
|
||||
if use doc; then
|
||||
emake html || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
newbashcomp misc/${PN}.bashcomp ${PN} || die
|
||||
dodoc AUTHORS ChangeLog NEWS README TODO doc/*.txt || die
|
||||
|
||||
if use doc; then
|
||||
dohtml *.html doc/* || die
|
||||
fi
|
||||
|
||||
# needed by news module
|
||||
keepdir /var/lib/gentoo/news
|
||||
fowners root:portage /var/lib/gentoo/news || die
|
||||
fperms g+w /var/lib/gentoo/news || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# fowners in src_install doesn't work for the portage group:
|
||||
# merging changes the group back to root
|
||||
[[ -z ${EROOT} ]] && local EROOT=${ROOT}
|
||||
chgrp portage "${EROOT}/var/lib/gentoo/news" \
|
||||
&& chmod g+w "${EROOT}/var/lib/gentoo/news"
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
DIST php-toolkit-1.0.1.tar.bz2 5291 RMD160 9e03f1f40fbbc827fab03fc56198941692128cb1 SHA1 f7f1f15b0cd4abae1dd2a85c31a15913cb4d2eb7 SHA256 cbcd59800ef99d10f8c1874eae4bcd14bca295c9ed6872536d3f17661e6330fd
|
||||
DIST php-toolkit-1.0.2.tar.bz2 5583 RMD160 c63dc32dcc4c90863f12c83b1add9c9bd2d27c7a SHA1 3f479a3e600d5401648e92ff4241a834cc306138 SHA256 f6f574d94a10e985a13ccb625e888ca84d8bffdb3bc9498b80ed68bce1e4d82a
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/php-toolkit/php-toolkit-1.0.1.ebuild,v 1.8 2008/04/14 01:31:52 vapier Exp $
|
||||
|
||||
DESCRIPTION="Utilities for managing installed copies of PHP"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/php/"
|
||||
SRC_URI="http://gentoo.longitekk.com/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
|
||||
src_install() {
|
||||
# install php-select
|
||||
dosbin php-select || die
|
||||
|
||||
dodir /usr/share/php-select
|
||||
insinto /usr/share/php-select
|
||||
doins php-select-modules/*
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/php-toolkit/php-toolkit-1.0.2.ebuild,v 1.1 2009/12/30 00:47:19 hoffie Exp $
|
||||
EAPI="2"
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Utilities for managing installed copies of PHP"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/php/"
|
||||
SRC_URI="http://dev.gentoo.org/~hoffie/distfiles/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
|
||||
src_configure() {
|
||||
sed -i php-select -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):" || \
|
||||
die "GENTOO_LIBDIR sed failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# install php-select
|
||||
dosbin php-select || die
|
||||
|
||||
dodir /usr/share/php-select
|
||||
insinto /usr/share/php-select
|
||||
doins php-select-modules/*
|
||||
|
||||
dodoc ChangeLog TODO
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST syslog-ng_3.2.4.tar.gz 1435115 RMD160 2927ba4d9b8a913f7117a659806c1721fe3d244e SHA1 ff732f7223bd2bd0424d4b9028b523cf62133af1 SHA256 e7bbd53121b57ba49089a0f95bf10a393e62b27a575c83d08e668c9dc1fe2f15
|
||||
DIST syslog-ng_3.2.5.tar.gz 1448844 RMD160 dcaf5bc623d163f36a8b7d76cfbaa09142a5a834 SHA1 5541cd6711b7a9d983601d8047b9a27d98ecbe9b SHA256 ffc9f3a0ebea836c1c737b1ff49efe731d885af1d8aacf9eca79d9144eeefa89
|
||||
DIST syslog-ng_3.3.1.tar.gz 2405280 RMD160 f337db97ff445d8bb8a087d1894103443d8d2c2c SHA1 f084d66754c7fa1eada56946f77ef3066faa27a1 SHA256 2cd5e0102504cb9d7bb25570bbb3fdd8657aa1b1afdc18f7b9aa892d8f9c9089
|
||||
DIST syslog-ng_3.3.3.tar.gz 2417218 RMD160 b585c9aac9e8f279956054ee7894afb0ecd1bcd2 SHA1 e2ec8ba4bde24809630a7675bf5d97f00be467f8 SHA256 eaea7e42829999925d9f628b1b8b09ef47864c58f61d604a9b6b45f8af9e2d4a
|
||||
DIST syslog-ng_3.3.4.tar.gz 2475254 RMD160 234a94e89a47f0520236c8a9a3d586d609a50476 SHA1 3437a50af027f281747087ab47a45aa5fbabbf14 SHA256 a7045694cd079a8efcfd73ca45cb7576f005ba26e6c83ccdfaf3cf81fa4e58aa
|
||||
|
@ -1,76 +0,0 @@
|
||||
commit 4b438115f6387eb52b6c39c1f751ecf0c4a5ac5f
|
||||
Author: Balazs Scheidler <bazsi@balabit.hu>
|
||||
Date: Sun Oct 23 20:19:58 2011 +0200
|
||||
|
||||
filters: fixed filter() evaluation when embedded as an AND/OR subexpression
|
||||
|
||||
When introducing the "init" method for filters one case was omitted: even
|
||||
though AND and OR expressions don't want to do anything on init, their
|
||||
subexpressions might, so this patch adds an init function to AND and OR
|
||||
which does nothing but calls the same for its "left" and "right"
|
||||
subexpression.
|
||||
|
||||
This patch fixes filter("xxx") expression evaluation when that is
|
||||
not a single expression, but rather included in an AND or OR.
|
||||
|
||||
Reported-By: Leonid Isaev <lisaev@umail.iu.edu>
|
||||
Cc: <syslog-ng-stable@balabit.hu>
|
||||
Signed-off-by: Balazs Scheidler <bazsi@balabit.hu>
|
||||
|
||||
--- a/lib/filter.c
|
||||
+++ b/lib/filter.c
|
||||
@@ -84,6 +84,17 @@ typedef struct _FilterOp
|
||||
} FilterOp;
|
||||
|
||||
static void
|
||||
+fop_init(FilterExprNode *s, GlobalConfig *cfg)
|
||||
+{
|
||||
+ FilterOp *self = (FilterOp *) s;
|
||||
+
|
||||
+ if (self->left && self->left->init)
|
||||
+ self->left->init(self->left, cfg);
|
||||
+ if (self->right && self->right->init)
|
||||
+ self->right->init(self->right, cfg);
|
||||
+}
|
||||
+
|
||||
+static void
|
||||
fop_free(FilterExprNode *s)
|
||||
{
|
||||
FilterOp *self = (FilterOp *) s;
|
||||
@@ -92,6 +103,14 @@ fop_free(FilterExprNode *s)
|
||||
filter_expr_unref(self->right);
|
||||
}
|
||||
|
||||
+static void
|
||||
+fop_init_instance(FilterOp *self)
|
||||
+{
|
||||
+ filter_expr_node_init(&self->super);
|
||||
+ self->super.init = fop_init;
|
||||
+ self->super.free_fn = fop_free;
|
||||
+}
|
||||
+
|
||||
static gboolean
|
||||
fop_or_eval(FilterExprNode *s, LogMessage *msg)
|
||||
{
|
||||
@@ -105,9 +124,8 @@ fop_or_new(FilterExprNode *e1, FilterExprNode *e2)
|
||||
{
|
||||
FilterOp *self = g_new0(FilterOp, 1);
|
||||
|
||||
- filter_expr_node_init(&self->super);
|
||||
+ fop_init_instance(self);
|
||||
self->super.eval = fop_or_eval;
|
||||
- self->super.free_fn = fop_free;
|
||||
self->super.modify = e1->modify || e2->modify;
|
||||
self->left = e1;
|
||||
self->right = e2;
|
||||
@@ -128,9 +146,8 @@ fop_and_new(FilterExprNode *e1, FilterExprNode *e2)
|
||||
{
|
||||
FilterOp *self = g_new0(FilterOp, 1);
|
||||
|
||||
- filter_expr_node_init(&self->super);
|
||||
+ fop_init_instance(self);
|
||||
self->super.eval = fop_and_eval;
|
||||
- self->super.free_fn = fop_free;
|
||||
self->super.modify = e1->modify || e2->modify;
|
||||
self->left = e1;
|
||||
self->right = e2;
|
@ -1,85 +0,0 @@
|
||||
While most places where OpenSSL was used were guarded by ENABLE_SSL
|
||||
ifs, some were not. This patch adds those guards to lib/crypto.c,
|
||||
modules/afsql/afsql.c and tests/loggen/loggen.c.
|
||||
|
||||
It also makes sure that OPENSSL_LIBS gets emptied when enable_ssl is
|
||||
set to no.
|
||||
|
||||
Signed-off-by: Gergely Nagy <algernon@balabit.hu>
|
||||
---
|
||||
configure.in | 4 ++++
|
||||
lib/crypto.c | 4 ++++
|
||||
modules/afsql/afsql.c | 3 +++
|
||||
tests/loggen/loggen.c | 3 +++
|
||||
4 files changed, 14 insertions(+), 0 deletions(-)
|
||||
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -679,6 +679,10 @@ else
|
||||
enable_ssl="no"
|
||||
fi
|
||||
|
||||
+if test "x$enable_ssl" = "xno"; then
|
||||
+ OPENSSL_LIBS=""
|
||||
+fi
|
||||
+
|
||||
dnl
|
||||
dnl Right now, openssl is never linked statically as it is only used by the
|
||||
dnl TLS build of the afsocket plugin which is loaded dynamically anyway.
|
||||
--- a/lib/crypto.c
|
||||
+++ b/lib/crypto.c
|
||||
@@ -29,6 +29,8 @@
|
||||
#include "crypto.h"
|
||||
#include "apphook.h"
|
||||
|
||||
+#if ENABLE_SSL
|
||||
+
|
||||
#include <openssl/rand.h>
|
||||
#include <openssl/ssl.h>
|
||||
#include <stdio.h>
|
||||
@@ -124,3 +126,5 @@ crypto_init(void)
|
||||
}
|
||||
|
||||
/* the crypto options (seed) are handled in main.c */
|
||||
+
|
||||
+#endif
|
||||
--- a/modules/afsql/afsql.c
|
||||
+++ b/modules/afsql/afsql.c
|
||||
@@ -35,7 +35,10 @@
|
||||
|
||||
#include <dbi/dbi.h>
|
||||
#include <string.h>
|
||||
+
|
||||
+#if ENABLE_SSL
|
||||
#include <openssl/md5.h>
|
||||
+#endif
|
||||
|
||||
/* field flags */
|
||||
enum
|
||||
--- a/tests/loggen/loggen.c
|
||||
+++ b/tests/loggen/loggen.c
|
||||
@@ -14,11 +14,14 @@
|
||||
#include <glib.h>
|
||||
#include <signal.h>
|
||||
|
||||
+#if ENABLE_SSL
|
||||
#include <openssl/crypto.h>
|
||||
#include <openssl/x509.h>
|
||||
#include <openssl/pem.h>
|
||||
#include <openssl/ssl.h>
|
||||
#include <openssl/err.h>
|
||||
+#endif
|
||||
+
|
||||
#include <unistd.h>
|
||||
|
||||
#define MAX_MESSAGE_LENGTH 8192
|
||||
--
|
||||
1.7.0.4
|
||||
|
||||
|
||||
______________________________________________________________________________
|
||||
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
|
||||
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
|
||||
FAQ: http://www.balabit.com/wiki/syslog-ng-faq
|
||||
|
||||
|
@ -0,0 +1,10 @@
|
||||
--- ./lib/scratch-buffers.c.orig 2012-01-20 17:44:43.871103296 -0500
|
||||
+++ ./lib/scratch-buffers.c 2012-01-20 17:44:56.313552034 -0500
|
||||
@@ -24,6 +24,7 @@
|
||||
|
||||
#include "tls-support.h"
|
||||
#include "scratch-buffers.h"
|
||||
+#include "misc.h"
|
||||
|
||||
TLS_BLOCK_START
|
||||
{
|
@ -1,122 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/syslog-ng-3.3.1.ebuild,v 1.6 2011/11/09 17:36:10 mr_bones_ Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit autotools fixheadtails eutils multilib
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
DESCRIPTION="syslog replacement with advanced filtering features"
|
||||
HOMEPAGE="http://www.balabit.com/products/syslog_ng/"
|
||||
SRC_URI="http://www.balabit.com/downloads/files/syslog-ng/sources/${MY_PV}/source/syslog-ng_${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="caps hardened ipv6 json mongodb +pcre selinux spoof-source sql ssl static tcpd"
|
||||
RESTRICT="test"
|
||||
|
||||
LIBS_DEPEND="
|
||||
spoof-source? ( net-libs/libnet )
|
||||
ssl? ( dev-libs/openssl )
|
||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
|
||||
!static? ( >=dev-libs/eventlog-0.2.12 )
|
||||
>=dev-libs/glib-2.10.1:2
|
||||
json? ( >=dev-libs/json-glib-0.12 )
|
||||
caps? ( sys-libs/libcap )
|
||||
sql? ( >=dev-db/libdbi-0.8.3 )"
|
||||
RDEPEND="
|
||||
!static? (
|
||||
pcre? ( dev-libs/libpcre )
|
||||
${LIBS_DEPEND}
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
${LIBS_DEPEND}
|
||||
static? ( >=dev-libs/eventlog-0.2.12[static-libs] )
|
||||
dev-util/pkgconfig
|
||||
sys-devel/flex"
|
||||
|
||||
S=${WORKDIR}/${PN}-${MY_PV}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-ssl.patch \
|
||||
"${FILESDIR}"/${P}-filter.patch
|
||||
ht_fix_file configure.in
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
if use static ; then
|
||||
myconf="${myconf} --enable-static-linking"
|
||||
else
|
||||
myconf="${myconf} --enable-dynamic-linking"
|
||||
fi
|
||||
econf \
|
||||
--disable-dependency-tracking \
|
||||
--disable-systemd \
|
||||
--with-ivykis=internal \
|
||||
--sysconfdir=/etc/syslog-ng \
|
||||
--localstatedir=/var/lib/misc \
|
||||
--with-pidfile-dir=/var/run \
|
||||
--with-module-dir=/usr/$(get_libdir)/syslog-ng \
|
||||
$(use_enable caps linux-caps) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable json) \
|
||||
$(use_with json json-glib) \
|
||||
$(use_enable mongodb) \
|
||||
$(use_enable pcre) \
|
||||
$(use_enable spoof-source) \
|
||||
$(use_enable sql) \
|
||||
$(use_enable ssl) \
|
||||
$(use_enable tcpd tcp-wrapper) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS \
|
||||
contrib/syslog-ng.conf* \
|
||||
contrib/syslog2ng "${FILESDIR}/syslog-ng.conf."*
|
||||
|
||||
# Install default configuration
|
||||
insinto /etc/syslog-ng
|
||||
if use hardened || use selinux ; then
|
||||
newins "${FILESDIR}/syslog-ng.conf.gentoo.hardened.${PV%.*}" syslog-ng.conf || die
|
||||
elif use userland_BSD ; then
|
||||
newins "${FILESDIR}/syslog-ng.conf.gentoo.fbsd.${PV%.*}" syslog-ng.conf || die
|
||||
else
|
||||
newins "${FILESDIR}/syslog-ng.conf.gentoo.${PV%.*}" syslog-ng.conf || die
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
# Install snippet for logrotate, which may or may not be installed
|
||||
if use hardened || use selinux ; then
|
||||
newins "${FILESDIR}/syslog-ng.logrotate.hardened" syslog-ng || die
|
||||
else
|
||||
newins "${FILESDIR}/syslog-ng.logrotate" syslog-ng || die
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}/syslog-ng.rc6.${PV%.*}" syslog-ng || die
|
||||
newconfd "${FILESDIR}/syslog-ng.confd" syslog-ng || die
|
||||
keepdir /etc/syslog-ng/patterndb.d
|
||||
find "${D}" -type f -name '*.la' -exec rm {} + || die
|
||||
rmdir "${D}"/usr/libexec
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "For detailed documentation please see the upstream website:"
|
||||
elog "http://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.3-guides/syslog-ng-ose-v3.3-guide-admin-en.html/index.html"
|
||||
|
||||
# bug #355257
|
||||
if ! has_version app-admin/logrotate ; then
|
||||
echo
|
||||
elog "It is highly recommended that app-admin/logrotate be emerged to"
|
||||
elog "manage the log files. ${PN} installs a file in /etc/logrotate.d"
|
||||
elog "for logrotate to use."
|
||||
echo
|
||||
fi
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST bacula-5.0.2.tar.gz 4189272 RMD160 cb2e767476baf0d0bc3573a39882870e41dda6db SHA1 fe5b8d682fe73d2458f0b2965ea88386ba40f0d5 SHA256 c465d00dd968832d129ba68eea59714357605a461d745cef7e802978c453c3fb
|
||||
DIST bacula-5.0.3.tar.gz 3800556 RMD160 0ae8f303b379daffdf09e4eab9b35182759add41 SHA1 4ced1c4f8984a063a1134b59968d163243017611 SHA256 9905598e18bbe94fa871ddcb3f13ef8b754dcb301331b67b5b92a65eb834fdb4
|
||||
DIST bacula-5.2.3.tar.gz 4011303 RMD160 f28525fbd8db5b8dd4505a956d012b20bcbb88ae SHA1 1aa6399192b2c778ccd2de994542b8d0ea1bca5b SHA256 6224f7139ceafa26f104f0140fdddac981c41c9940ae2a779e64bb4ae1ae492d
|
||||
DIST bacula-5.2.4.tar.gz 4031629 RMD160 4fd5e54d03b2ce1a762b8e374ab13d96fd07797e SHA1 99c17094ea86651fec316e00cc63247d661bd163 SHA256 7d3019326a4b732d9cac1000abf880a71c4047e9fd912a146b85ef9dc7b911c6
|
||||
|
@ -0,0 +1,347 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/bacula/bacula-5.2.4.ebuild,v 1.1 2012/01/22 14:01:21 tomjbe Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="python? 2"
|
||||
PYTHON_USE_WITH="threads"
|
||||
PYTHON_USE_WITH_OPT="python"
|
||||
|
||||
inherit eutils multilib python
|
||||
|
||||
MY_PV=${PV/_beta/-b}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
|
||||
DESCRIPTION="Featureful client/server network backup suite"
|
||||
HOMEPAGE="http://www.bacula.org/"
|
||||
SRC_URI="mirror://sourceforge/bacula/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
|
||||
IUSE="bacula-clientonly bacula-nodir bacula-nosd ipv6 logwatch mysql postgres python qt4 readline +sqlite3 ssl static tcpd vim-syntax X"
|
||||
|
||||
DEPEND="
|
||||
>=sys-libs/zlib-1.1.4
|
||||
dev-libs/gmp
|
||||
!bacula-clientonly? (
|
||||
postgres? ( dev-db/postgresql-base[threads] )
|
||||
mysql? ( virtual/mysql )
|
||||
sqlite3? ( dev-db/sqlite:3 )
|
||||
!bacula-nodir? ( virtual/mta )
|
||||
)
|
||||
qt4? (
|
||||
x11-libs/qt-svg:4
|
||||
x11-libs/qwt:5
|
||||
)
|
||||
ssl? ( dev-libs/openssl )
|
||||
logwatch? ( sys-apps/logwatch )
|
||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
|
||||
readline? ( >=sys-libs/readline-4.1 )
|
||||
dev-libs/lzo
|
||||
sys-libs/ncurses"
|
||||
RDEPEND="${DEPEND}
|
||||
!bacula-clientonly? (
|
||||
!bacula-nosd? (
|
||||
sys-block/mtx
|
||||
app-arch/mt-st
|
||||
)
|
||||
)
|
||||
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
|
||||
|
||||
REQUIRED_USE="|| ( ^^ ( mysql postgres sqlite3 ) bacula-clientonly )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
# create the daemon group and user
|
||||
if [ -z "$(egetent group bacula 2>/dev/null)" ]; then
|
||||
enewgroup bacula
|
||||
einfo
|
||||
einfo "The group 'bacula' has been created. Any users you add to this"
|
||||
einfo "group have access to files created by the daemons."
|
||||
einfo
|
||||
fi
|
||||
|
||||
if use bacula-clientonly && use static && use qt4; then
|
||||
ewarn
|
||||
ewarn "Building statically linked 'bat' is not supported. Ignorig 'qt4' useflag."
|
||||
ewarn
|
||||
fi
|
||||
|
||||
if ! use bacula-clientonly; then
|
||||
# USE=static only supported for bacula-clientonly
|
||||
if use static; then
|
||||
ewarn
|
||||
ewarn "USE=static only supported together with USE=bacula-clientonly."
|
||||
ewarn "Ignoring 'static' useflag."
|
||||
ewarn
|
||||
fi
|
||||
if [ -z "$(egetent passwd bacula 2>/dev/null)" ]; then
|
||||
enewuser bacula -1 -1 /var/lib/bacula bacula,disk,tape,cdrom,cdrw
|
||||
einfo
|
||||
einfo "The user 'bacula' has been created. Please see the bacula manual"
|
||||
einfo "for information about running bacula as a non-root user."
|
||||
einfo
|
||||
fi
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# adjusts default configuration files for several binaries
|
||||
# to /etc/bacula/<config> instead of ./<config>
|
||||
pushd src >&/dev/null || die
|
||||
for f in console/console.c dird/dird.c filed/filed.c \
|
||||
stored/bcopy.c stored/bextract.c stored/bls.c \
|
||||
stored/bscan.c stored/btape.c stored/stored.c \
|
||||
qt-console/main.cpp; do
|
||||
sed -i -e 's|^\(#define CONFIG_FILE "\)|\1/etc/bacula/|g' "${f}" \
|
||||
|| die "sed on ${f} failed"
|
||||
done
|
||||
popd >&/dev/null || die
|
||||
|
||||
# drop automatic install of unneeded documentation (for bug 356499)
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-doc.patch
|
||||
|
||||
# bug #310087
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-as-needed.patch
|
||||
|
||||
# bug #311161
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-lib-search-path.patch
|
||||
|
||||
# stop build for errors in subdirs
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-Makefile.patch
|
||||
|
||||
# bat needs to respect LDFLAGS
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-ldflags.patch
|
||||
|
||||
# bug #328701
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-openssl-1.patch
|
||||
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-fix-static.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=''
|
||||
|
||||
if use bacula-clientonly; then
|
||||
myconf="${myconf} \
|
||||
$(use_enable bacula-clientonly client-only) \
|
||||
$(use_enable !static libtool) \
|
||||
$(use_enable static static-cons) \
|
||||
$(use_enable static static-fd)"
|
||||
else
|
||||
myconf="${myconf} \
|
||||
$(use_enable !bacula-nodir build-dird) \
|
||||
$(use_enable !bacula-nosd build-stored)"
|
||||
# bug #311099
|
||||
# database support needed by dir-only *and* sd-only
|
||||
# build as well (for building bscan, btape, etc.)
|
||||
myconf="${myconf} \
|
||||
$(use_with mysql) \
|
||||
$(use_with sqlite3) \
|
||||
$(use_with postgres postgresql) \
|
||||
--enable-batch-insert"
|
||||
fi
|
||||
|
||||
# do not build bat if 'static' clientonly
|
||||
if ! use bacula-clientonly || ! use static; then
|
||||
myconf="${myconf} \
|
||||
$(use_enable qt4 bat)"
|
||||
fi
|
||||
|
||||
myconf="${myconf} \
|
||||
--disable-tray-monitor \
|
||||
$(use_with X x) \
|
||||
$(use_with python) \
|
||||
$(use_enable !readline conio) \
|
||||
$(use_enable readline) \
|
||||
$(use_with readline readline /usr) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_with tcpd tcp-wrappers)"
|
||||
|
||||
econf \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--htmldir=/usr/share/doc/${PF}/html \
|
||||
--with-pid-dir=/var/run \
|
||||
--sysconfdir=/etc/bacula \
|
||||
--with-subsys-dir=/var/lock/subsys \
|
||||
--with-working-dir=/var/lib/bacula \
|
||||
--with-scriptdir=/usr/libexec/bacula \
|
||||
--with-dir-user=bacula \
|
||||
--with-dir-group=bacula \
|
||||
--with-sd-user=root \
|
||||
--with-sd-group=bacula \
|
||||
--with-fd-user=root \
|
||||
--with-fd-group=bacula \
|
||||
--enable-smartalloc \
|
||||
--host=${CHOST} \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
insinto /usr/share/pixmaps
|
||||
doins scripts/bacula.png
|
||||
|
||||
# install bat icon and desktop file when enabled
|
||||
# (for some reason ./configure doesn't pick this up)
|
||||
if use qt4 && ! use static ; then
|
||||
insinto /usr/share/pixmaps
|
||||
doins src/qt-console/images/bat_icon.png
|
||||
insinto /usr/share/applications
|
||||
doins scripts/bat.desktop
|
||||
fi
|
||||
|
||||
# remove some scripts we don't need at all
|
||||
rm -f "${D}"/usr/libexec/bacula/{bacula,bacula-ctl-dir,bacula-ctl-fd,bacula-ctl-sd,startmysql,stopmysql}
|
||||
|
||||
# rename statically linked apps
|
||||
if use bacula-clientonly && use static ; then
|
||||
pushd "${D}"/usr/sbin || die
|
||||
mv static-bacula-fd bacula-fd || die
|
||||
mv static-bconsole bconsole || die
|
||||
popd || die
|
||||
fi
|
||||
|
||||
# extra files which 'make install' doesn't cover
|
||||
if ! use bacula-clientonly; then
|
||||
# the database update scripts
|
||||
diropts -m0750
|
||||
insinto /usr/libexec/bacula/updatedb
|
||||
insopts -m0754
|
||||
doins "${S}"/updatedb/*
|
||||
fperms 0640 /usr/libexec/bacula/updatedb/README
|
||||
|
||||
# the logrotate configuration
|
||||
# (now unconditional wrt bug #258187)
|
||||
diropts -m0755
|
||||
insinto /etc/logrotate.d
|
||||
insopts -m0644
|
||||
newins "${S}"/scripts/logrotate bacula
|
||||
|
||||
# the logwatch scripts
|
||||
if use logwatch; then
|
||||
diropts -m0750
|
||||
dodir /etc/log.d/scripts/services
|
||||
dodir /etc/log.d/scripts/shared
|
||||
dodir /etc/log.d/conf/logfiles
|
||||
dodir /etc/log.d/conf/services
|
||||
pushd "${S}"/scripts/logwatch >&/dev/null || die
|
||||
emake DESTDIR="${D}" install
|
||||
popd >&/dev/null || die
|
||||
fi
|
||||
fi
|
||||
|
||||
rm -vf "${D}"/usr/share/man/man1/bacula-bwxconsole.1*
|
||||
if ! use qt4; then
|
||||
rm -vf "${D}"/usr/share/man/man1/bat.1*
|
||||
fi
|
||||
rm -vf "${D}"/usr/share/man/man1/bacula-tray-monitor.1*
|
||||
if use bacula-clientonly || use bacula-nodir; then
|
||||
rm -vf "${D}"/usr/share/man/man8/bacula-dir.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/dbcheck.8*
|
||||
rm -vf "${D}"/usr/share/man/man1/bsmtp.1*
|
||||
rm -vf "${D}"/usr/libexec/bacula/create_*_database
|
||||
rm -vf "${D}"/usr/libexec/bacula/drop_*_database
|
||||
rm -vf "${D}"/usr/libexec/bacula/make_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bacula/update_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bacula/drop_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bacula/grant_*_privileges
|
||||
rm -vf "${D}"/usr/libexec/bacula/*_catalog_backup
|
||||
fi
|
||||
if use bacula-clientonly || use bacula-nosd; then
|
||||
rm -vf "${D}"/usr/share/man/man8/bacula-sd.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bcopy.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bextract.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bls.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bscan.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/btape.8*
|
||||
rm -vf "${D}"/usr/libexec/bacula/disk-changer
|
||||
rm -vf "${D}"/usr/libexec/bacula/mtx-changer
|
||||
rm -vf "${D}"/usr/libexec/bacula/dvd-handler
|
||||
fi
|
||||
|
||||
# documentation
|
||||
dodoc ChangeLog LICENSE ReleaseNotes SUPPORT technotes
|
||||
|
||||
# vim-files
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles/syntax
|
||||
doins scripts/bacula.vim
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
newins scripts/filetype.vim bacula_ft.vim
|
||||
fi
|
||||
|
||||
# setup init scripts
|
||||
myscripts="bacula-fd"
|
||||
if ! use bacula-clientonly; then
|
||||
if ! use bacula-nodir; then
|
||||
myscripts="${myscripts} bacula-dir"
|
||||
fi
|
||||
if ! use bacula-nosd; then
|
||||
myscripts="${myscripts} bacula-sd"
|
||||
fi
|
||||
fi
|
||||
for script in ${myscripts}; do
|
||||
# copy over init script and config to a temporary location
|
||||
# so we can modify them as needed
|
||||
cp "${FILESDIR}/${script}".confd "${T}/${script}".confd || die "failed to copy ${script}.confd"
|
||||
cp "${FILESDIR}/${script}".initd "${T}/${script}".initd || die "failed to copy ${script}.initd"
|
||||
# set database dependancy for the director init script
|
||||
case "${script}" in
|
||||
bacula-dir)
|
||||
case "${mydbtype}" in
|
||||
sqlite3)
|
||||
# sqlite3 databases don't have a daemon
|
||||
sed -i -e 's/need "%database%"/:/g' "${T}/${script}".initd || die
|
||||
;;
|
||||
*)
|
||||
# all other databases have daemons
|
||||
sed -i -e "s:%database%:${mydbtype}:" "${T}/${script}".initd || die
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
# install init script and config
|
||||
newinitd "${T}/${script}".initd "${script}"
|
||||
newconfd "${T}/${script}".confd "${script}"
|
||||
done
|
||||
|
||||
# make sure the working directory exists
|
||||
diropts -m0750
|
||||
keepdir /var/lib/bacula
|
||||
|
||||
# make sure bacula group can execute bacula libexec scripts
|
||||
fowners -R root:bacula /usr/libexec/bacula
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use bacula-clientonly; then
|
||||
fowners root:bacula /var/lib/bacula
|
||||
else
|
||||
fowners bacula:bacula /var/lib/bacula
|
||||
fi
|
||||
|
||||
if ! use bacula-clientonly && ! use bacula-nodir; then
|
||||
einfo
|
||||
einfo "If this is a new install, you must create the ${mydbtype} databases with:"
|
||||
einfo " /usr/libexec/bacula/create_${mydbtype}_database"
|
||||
einfo " /usr/libexec/bacula/make_${mydbtype}_tables"
|
||||
einfo " /usr/libexec/bacula/grant_${mydbtype}_privileges"
|
||||
einfo
|
||||
fi
|
||||
|
||||
einfo "Please note that 'bconsole' will always be installed. To compile 'bat'"
|
||||
einfo "you have to enable 'USE=qt4'."
|
||||
einfo
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST cdemu-client-1.2.0.tar.bz2 94066 RMD160 18c3dbb47cd384fdaa028dba3d22f78b3ee7c5d3 SHA1 ceee8c59ee09c034ce8e4c8561e10a7c8fe7ddd2 SHA256 e92c422e9283837e5d8a72b7815d127262d73c63e043675994f73e4bda227d33
|
||||
DIST cdemu-client-1.3.0.tar.gz 129627 RMD160 1ae6e8069898f8aec9955b2a2bd56c60ac931b6c SHA1 ba93541ead5fa343eb34925f463b830ba9301cec SHA256 2c384bdf8740b76cfbf5e9f0b1ef8ef13583f7e53c225702a0c7b536f70f13ae
|
||||
DIST cdemu-client-1.4.0.tar.gz 119584 RMD160 f15688157c3f7a537db33c3d58b5a5500c277c4f SHA1 240d909f04f5646231406a6eef6ceee262ba0c25 SHA256 d3223c9410217f45cd1df25a85cf3dc3cf361410e31911840efc79c729202ed2
|
||||
DIST cdemu-client-1.5.0.tar.bz2 97987 RMD160 1aa70e2d0be0623dfe84fb6a5ee1b491e01de516 SHA1 368320948eee567a09b24247b77ff42ea93d0497 SHA256 d4d7e3d232f799830c1c480d69f8789468552602e2737b0b0207f4d449095f99
|
||||
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdemu/cdemu-1.3.0.ebuild,v 1.4 2011/12/31 21:22:20 tetromino Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="Command-line tool for controlling the CDEmu daemon (cdemud)"
|
||||
HOMEPAGE="http://cdemu.org"
|
||||
SRC_URI="mirror://sourceforge/cdemu/cdemu-client-${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+cdemud"
|
||||
|
||||
RDEPEND="dev-python/dbus-python
|
||||
cdemud? ( ~app-cdr/cdemud-${PV} )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/intltool-0.21"
|
||||
|
||||
S=${WORKDIR}/cdemu-client-${PV}
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# disable compilation of python modules
|
||||
echo '#!/bin/sh' > py-compile || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die "install failed"
|
||||
dodoc AUTHORS ChangeLog README
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize cdemu
|
||||
python_need_rebuild
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup cdemu
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdemu/cdemu-1.5.0.ebuild,v 1.2 2012/01/22 00:37:47 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit eutils python
|
||||
|
||||
DESCRIPTION="Command-line tool for controlling the CDEmu daemon (cdemud)"
|
||||
HOMEPAGE="http://cdemu.org"
|
||||
SRC_URI="mirror://sourceforge/cdemu/cdemu-client-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+cdemud"
|
||||
|
||||
RDEPEND="dev-python/dbus-python
|
||||
cdemud? ( >=app-cdr/cdemud-1.4.0 )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/intltool-0.21"
|
||||
|
||||
S=${WORKDIR}/cdemu-client-${PV}
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_convert_shebangs -r 2 src
|
||||
# https://sourceforge.net/tracker/?func=detail&aid=3477103&group_id=93175&atid=603423
|
||||
epatch "${FILESDIR}/${P}-man-paragraph.patch"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Don't install into /etc/bash_completion.d/
|
||||
MAKEOPTS="${MAKEOPTS} bashcompdir=/usr/share/bash-completion" default
|
||||
mv "${ED}"/usr/share/bash-completion/cdemu{-bashcomp,} || die
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
From ead7336eac14a4dc8f8bce842a13d59b806aa934 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Rostovtsev <tetromino@gentoo.org>
|
||||
Date: Sat, 21 Jan 2012 17:02:42 -0500
|
||||
Subject: [PATCH] cdemu-client: missing paragraph break in man page
|
||||
|
||||
---
|
||||
cdemu-client/man/cdemu.1 | 1 +
|
||||
1 files changed, 1 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/cdemu-client/man/cdemu.1 b/cdemu-client/man/cdemu.1
|
||||
index 1c5dfdf..31fcb5a 100644
|
||||
--- a/cdemu-client/man/cdemu.1
|
||||
+++ b/cdemu-client/man/cdemu.1
|
||||
@@ -57,6 +57,7 @@ the client will prompt for it using standard input without echo.
|
||||
Allows an encoding for text-based image format (such as CUE) to be specified. This
|
||||
might be needed if the image descriptor file contains non-ASCII characters and does
|
||||
not use Unicode.
|
||||
+.TP
|
||||
.B --dvd-report-css <true/false>
|
||||
Mark the DVD image as CSS-encrypted. This influences the generation of fake
|
||||
Disc Structure 0x01, and as such works only with images of DVD videos that do
|
||||
--
|
||||
1.7.8.4
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST cdemu-daemon-1.2.0.tar.bz2 185441 RMD160 0bc2ea8f2fb2300231d1b97a929b8048f3691c34 SHA1 932c5400142332ee4714615d588dad0a603ee715 SHA256 ded6633e0987b2bdc7ffdb68c8e41b1f0294e5c1ddf3d48a0f4c6d116509d98d
|
||||
DIST cdemu-daemon-1.3.0.tar.gz 171782 RMD160 e63800c6586507d92c311fd20ca99f1f62855f17 SHA1 8e529e540e2bd31f2319a66308d9b4f1c213a018 SHA256 2d20f0df60c40a8a6a6a51bfde734f845ba72b63fa9b8728b6f44ce7f34b4d11
|
||||
DIST cdemu-daemon-1.4.0.tar.gz 174194 RMD160 77f633750918ccf2c4b5b299789cda730f49aee6 SHA1 b99c05c9d4c20a43a497d6e518e9041acb837a9c SHA256 369238cbcb923f3e4b54e9f5b346bea3199944344376cb7a4ea96643e1389854
|
||||
DIST cdemu-daemon-1.5.0.tar.bz2 133865 RMD160 c16e988ade156d82c4343f712aed8be2e78c1224 SHA1 26a4bae051bc6c75f36b47bc663f9aed2467e1b7 SHA256 d0e122c7769ba11b640bb140657d1f31dc827904578437ac1d5aa84dcc88a74f
|
||||
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdemud/cdemud-1.3.0.ebuild,v 1.4 2011/11/23 10:13:58 tetromino Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
DESCRIPTION="Daemon of the CDEmu optical media image mounting suite"
|
||||
HOMEPAGE="http://cdemu.org"
|
||||
SRC_URI="mirror://sourceforge/cdemu/cdemu-daemon-${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="alsa pulseaudio"
|
||||
|
||||
RDEPEND=">dev-libs/dbus-glib-0.6
|
||||
>=dev-libs/libdaemon-0.10
|
||||
>=dev-libs/libmirage-1.3.0
|
||||
media-libs/libao[alsa?,pulseaudio?]
|
||||
>=sys-fs/vhba-20101015"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/cdemu-daemon-${PV}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc AUTHORS ChangeLog README || die
|
||||
|
||||
newconfd "${FILESDIR}/${PN}.conf.d-1.1.0" ${PN} || die
|
||||
newinitd "${FILESDIR}/${PN}.init.d-1.1.0" ${PN} || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Either cdemu group users can start"
|
||||
elog "their own daemons or you can start"
|
||||
elog "a systembus style daemon, adding"
|
||||
elog "${PN} to the default runlevel by"
|
||||
elog " # rc-update add ${PN} default"
|
||||
elog "as root. Systembus style daemons can be configured"
|
||||
elog "in /etc/conf.d/{PN}"
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdemud/cdemud-1.5.0.ebuild,v 1.1 2012/01/22 00:30:14 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
DESCRIPTION="Daemon of the CDEmu optical media image mounting suite"
|
||||
HOMEPAGE="http://cdemu.org"
|
||||
SRC_URI="mirror://sourceforge/cdemu/cdemu-daemon-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="pulseaudio"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.28:2
|
||||
>=dev-libs/libmirage-${PV}
|
||||
>=media-libs/libao-0.8.0[pulseaudio?]
|
||||
sys-apps/dbus
|
||||
>=sys-fs/vhba-20101015
|
||||
!pulseaudio? ( >=media-libs/libao-0.8.0[alsa] )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/cdemu-daemon-${PV}
|
||||
|
||||
src_prepare() {
|
||||
if ! use pulseaudio; then
|
||||
sed -e 's:AUDIO_DRIVER=pulse:AUDIO_DRIVER=alsa:' \
|
||||
-i session/cdemu-daemon-session.sh || die "sed failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "You will need to load the vhba module to use cdemu devices:"
|
||||
elog " # modprobe vhba"
|
||||
elog "To automatically load the vhba module at boot time, edit your"
|
||||
elog "/etc/conf.d/modules file."
|
||||
|
||||
if [[ -e "${ROOT}etc/conf.d/cdemud" ]]; then
|
||||
elog
|
||||
elog "${PN} no longer installs an init.d service; instead, it is"
|
||||
elog "automatically activated when needed via dbus."
|
||||
elog "You can therefore remove ${ROOT}etc/conf.d/cdemud"
|
||||
fi
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST gcdemu-1.2.0.tar.bz2 317098 RMD160 d4b145c827f54d1e1b38c90cc04dcdd64a690548 SHA1 51fd7c9addf9439019ee5c7966b7c449d2c34128 SHA256 02e43c003f9cc8bc8f6a5e7fd7b6e7159c69d858b229702a1c66119404af8bde
|
||||
DIST gcdemu-1.3.0.tar.gz 350524 RMD160 2f2070948e22f9bd2d4f184d47a98e6c3115971d SHA1 40edfb7033aa34ac8dcc0d7fc6881e803ac9bce7 SHA256 d90670f5169f9870fe9a5573a285e5b72f48fd3e71cf3eebabd8db04d87e5a9b
|
||||
DIST gcdemu-1.4.0.tar.gz 127488 RMD160 e8747372eff629c0008518765268bb742fe4637d SHA1 aa0dc608675f6b8e3343d3200f014c6eb1e749b1 SHA256 c8a1f7b6ced6926e49315f3f69a51253ec4ec523b7bd362ddeb08408c5a505a0
|
||||
DIST gcdemu-1.5.0.tar.bz2 106163 RMD160 df52b724d4f9a72363a6102bdf1481adb7ffd699 SHA1 7f29b3978a3e759dd650c1bdc8d4173ca899b794 SHA256 43f3da30eb95759618d258acd312f45a7fe4a9792952954c77b0fea9459d0c85
|
||||
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/gcdemu/gcdemu-1.3.0.ebuild,v 1.6 2011/12/31 21:24:32 tetromino Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit python gnome2
|
||||
|
||||
DESCRIPTION="Gtk+ GUI for controlling the CDEmu daemon (cdemud)"
|
||||
HOMEPAGE="http://cdemu.org/"
|
||||
SRC_URI="mirror://sourceforge/cdemu/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="libnotify"
|
||||
|
||||
COMMON_DEPEND=">=dev-python/pygtk-2.6
|
||||
>=dev-python/pygobject-2.6:2
|
||||
>=dev-python/libgnome-python-2.6
|
||||
>=dev-python/gnome-applets-python-2.6
|
||||
dev-python/gconf-python
|
||||
>=dev-python/dbus-python-0.71
|
||||
>=app-cdr/cdemud-1.0.0"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-text/gnome-doc-utils
|
||||
dev-util/pkgconfig
|
||||
dev-util/intltool"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
libnotify? ( dev-python/notify-python )"
|
||||
|
||||
DOCS="AUTHORS ChangeLog README"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# disable compilation of python modules
|
||||
echo '#!/bin/sh' > py-compile || die
|
||||
python_convert_shebangs 2 src/gcdemu
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize ${PN}
|
||||
python_need_rebuild
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup ${PN}
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/gcdemu/gcdemu-1.5.0.ebuild,v 1.1 2012/01/22 00:30:43 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
|
||||
inherit gnome2 python
|
||||
|
||||
DESCRIPTION="Gtk+ GUI for controlling the CDEmu daemon (cdemud)"
|
||||
HOMEPAGE="http://cdemu.org/"
|
||||
SRC_URI="mirror://sourceforge/cdemu/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-cdr/cdemud-1.5.0
|
||||
>=dev-libs/glib-2.28:2
|
||||
dev-libs/gobject-introspection
|
||||
dev-python/pygobject:3
|
||||
sys-apps/dbus
|
||||
x11-libs/gdk-pixbuf[introspection]
|
||||
x11-libs/gtk+:3[introspection]
|
||||
x11-libs/libnotify[introspection]"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-util/intltool-0.21
|
||||
dev-util/pkgconfig
|
||||
sys-devel/gettext"
|
||||
|
||||
DOCS="AUTHORS ChangeLog README"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_convert_shebangs 2 src/gcdemu
|
||||
gnome2_src_prepare
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST isomaster-1.3.5.tar.bz2 196042 RMD160 813c729b5308e725cbcfea688de343260bae63c5 SHA1 76adcae894a169365e43eaac30f4a7c3926fa78c SHA256 27b9b53d5e361b56a6e302131af2dc97f7135f74786637e6244e075606226597
|
||||
DIST isomaster-1.3.7.tar.bz2 211673 RMD160 9efdd239c82072510fca2630120bd302b89a8d1c SHA1 b3fb70a0e71c6f8aafb42c7f26367966ea269bcc SHA256 258b1ce0a9da35dc172c7d44866056c6873bd2992984af1e84deb25f4a7b47f7
|
||||
DIST isomaster-1.3.8.tar.bz2 216102 RMD160 dcb7d84a2f6f6840bba865524680c9364e67e4d5 SHA1 3b5cce19899f63dd943930a2abc43812e6a08ff1 SHA256 9a6e8c5356cac3253501976f49c6b971d088da0fbfb6641d304ea8eda06ab30b
|
||||
DIST isomaster-1.3.9.tar.bz2 223514 RMD160 d237784666ead7c7a296008df4ee8abbcaa5abbb SHA1 5214f4e9b309adb1d3fb53d0617f142ef2dbbbf8 SHA256 2bf798a19af43113391144c4a3f2f3b33366f640c5695d356c151e83c49dc853
|
||||
|
@ -1,69 +0,0 @@
|
||||
diff -Naurp -p isomaster-1.3.7.orig/Makefile isomaster-1.3.7/Makefile
|
||||
--- isomaster-1.3.7.orig/Makefile 2010-01-09 14:18:00.333993253 +0100
|
||||
+++ isomaster-1.3.7/Makefile 2010-01-09 15:17:31.047246400 +0100
|
||||
@@ -65,21 +65,18 @@ OBJECTS = isomaster.o window.o browser.o
|
||||
|
||||
all: translations isomaster.desktop isomaster
|
||||
|
||||
-isomaster: $(OBJECTS) lib iniparser
|
||||
+isomaster: $(OBJECTS) lib
|
||||
@echo 'Linking isomaster'
|
||||
- @$(CC) $(OBJECTS) bk/bk.a iniparser-2.17/libiniparser.a $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) `pkg-config --libs gtk+-2.0` -o isomaster
|
||||
+ @$(CC) $(LDFLAGS) $(OBJECTS) bk/bk.a `pkg-config --libs gtk+-2.0` -liniparser -o isomaster
|
||||
|
||||
# static pattern rule
|
||||
$(OBJECTS): %.o: %.c %.h bk/bk.h Makefile
|
||||
@echo 'Compiling' $<
|
||||
- @$(CC) $< $(CFLAGS) $(CPPFLAGS) -c -o $@
|
||||
+ @$(CC) $(CFLAGS) $(CPPFLAGS) $< -c -o $@
|
||||
|
||||
lib:
|
||||
cd bk && $(MAKE)
|
||||
|
||||
-iniparser:
|
||||
- cd iniparser-2.17 && $(MAKE)
|
||||
-
|
||||
translations:
|
||||
ifndef WITHOUT_NLS
|
||||
cd po && $(MAKE)
|
||||
@@ -94,7 +91,6 @@ bk-doc:
|
||||
|
||||
clean:
|
||||
cd bk && $(MAKE) clean
|
||||
- cd iniparser-2.17 && $(MAKE) clean
|
||||
ifndef WITHOUT_NLS
|
||||
cd po && $(MAKE) clean
|
||||
endif
|
||||
diff -Naurp -p isomaster-1.3.7.orig/settings.c isomaster-1.3.7/settings.c
|
||||
--- isomaster-1.3.7.orig/settings.c 2010-01-09 14:18:00.329993692 +0100
|
||||
+++ isomaster-1.3.7/settings.c 2010-01-09 15:19:29.052995022 +0100
|
||||
@@ -607,7 +607,7 @@ void loadSettings(void)
|
||||
GBLappSettings.recentlyOpen[i] = NULL;
|
||||
if(GBLsettingsDictionary != NULL)
|
||||
{
|
||||
- char configNameStr[20] = "ui:recentlyopen";
|
||||
+ char configNameStr[46] = "ui:recentlyopen";
|
||||
snprintf(configNameStr + 15, 20, "%d", i);
|
||||
|
||||
tempStr = iniparser_getstring(GBLsettingsDictionary,
|
||||
@@ -892,7 +892,7 @@ void writeSettings(void)
|
||||
|
||||
for(int i = 0; i < 5; i++)
|
||||
{
|
||||
- char configNameStr[20] = "ui:recentlyopen";
|
||||
+ char configNameStr[46] = "ui:recentlyopen";
|
||||
snprintf(configNameStr + 15, 20, "%d", i);
|
||||
|
||||
iniparser_setstr(GBLsettingsDictionary, configNameStr,
|
||||
diff -Naurp -p isomaster-1.3.7.orig/settings.h isomaster-1.3.7/settings.h
|
||||
--- isomaster-1.3.7.orig/settings.h 2010-01-09 14:18:00.330993252 +0100
|
||||
+++ isomaster-1.3.7/settings.h 2010-01-09 14:34:59.495995595 +0100
|
||||
@@ -4,7 +4,7 @@
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "isomaster.h"
|
||||
-#include "iniparser-2.17/src/iniparser.h"
|
||||
+#include <iniparser.h>
|
||||
|
||||
#define ISOMASTER_DEFAULT_WINDOW_WIDTH 500
|
||||
#define ISOMASTER_DEFAULT_WINDOW_HEIGHT 550
|
@ -1,99 +0,0 @@
|
||||
From eabb3f85d12121409f901d64c556a9f579c11864 Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Pipping <sebastian@pipping.org>
|
||||
Date: Sat, 7 Jan 2012 19:30:52 +0100
|
||||
Subject: [PATCH] Handle NULL return from
|
||||
gtk_file_chooser_get_current_folder()
|
||||
|
||||
---
|
||||
isobrowser.c | 53 ++++++++++++++++++++++++++++++++++-------------------
|
||||
1 files changed, 34 insertions(+), 19 deletions(-)
|
||||
|
||||
diff --git a/isobrowser.c b/isobrowser.c
|
||||
index c03548b..e108f03 100644
|
||||
--- a/isobrowser.c
|
||||
+++ b/isobrowser.c
|
||||
@@ -9,6 +9,7 @@
|
||||
* Andrew Smith, http://littlesvr.ca/misc/contactandrew.php
|
||||
*
|
||||
* Contributors:
|
||||
+* Sebastian Pipping <sebastian@pipping.org>
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
@@ -1454,19 +1455,26 @@ gboolean openIsoCbk(GtkMenuItem* menuItem, gpointer data)
|
||||
|
||||
/* RECORD last iso dir */
|
||||
char* lastIsoDir = gtk_file_chooser_get_current_folder(GTK_FILE_CHOOSER(dialog));
|
||||
-
|
||||
- if(GBLappSettings.lastIsoDir != NULL && strlen(lastIsoDir) > strlen(GBLappSettings.lastIsoDir))
|
||||
+ if(lastIsoDir)
|
||||
+ {
|
||||
+ if(GBLappSettings.lastIsoDir != NULL && strlen(lastIsoDir) > strlen(GBLappSettings.lastIsoDir))
|
||||
+ {
|
||||
+ free(GBLappSettings.lastIsoDir);
|
||||
+ GBLappSettings.lastIsoDir = NULL;
|
||||
+ }
|
||||
+
|
||||
+ if(GBLappSettings.lastIsoDir == NULL)
|
||||
+ GBLappSettings.lastIsoDir = malloc(strlen(lastIsoDir) + 1);
|
||||
+
|
||||
+ strcpy(GBLappSettings.lastIsoDir, lastIsoDir);
|
||||
+
|
||||
+ g_free(lastIsoDir);
|
||||
+ }
|
||||
+ else /* e.g. when opening a file from the <Recently used> view */
|
||||
{
|
||||
free(GBLappSettings.lastIsoDir);
|
||||
GBLappSettings.lastIsoDir = NULL;
|
||||
}
|
||||
-
|
||||
- if(GBLappSettings.lastIsoDir == NULL)
|
||||
- GBLappSettings.lastIsoDir = malloc(strlen(lastIsoDir) + 1);
|
||||
-
|
||||
- strcpy(GBLappSettings.lastIsoDir, lastIsoDir);
|
||||
-
|
||||
- g_free(lastIsoDir);
|
||||
/* END RECORD last iso dir */
|
||||
}
|
||||
|
||||
@@ -1758,20 +1766,27 @@ gboolean saveIsoCbk(GtkWidget *widget, GdkEvent *event)
|
||||
|
||||
/* RECORD last iso dir */
|
||||
char* lastIsoDir = gtk_file_chooser_get_current_folder(GTK_FILE_CHOOSER(dialog));
|
||||
-
|
||||
- if(GBLappSettings.lastIsoDir != NULL && strlen(lastIsoDir) > strlen(GBLappSettings.lastIsoDir))
|
||||
+ if(lastIsoDir)
|
||||
+ {
|
||||
+ if(GBLappSettings.lastIsoDir != NULL && strlen(lastIsoDir) > strlen(GBLappSettings.lastIsoDir))
|
||||
+ {
|
||||
+ free(GBLappSettings.lastIsoDir);
|
||||
+ GBLappSettings.lastIsoDir = NULL;
|
||||
+ }
|
||||
+
|
||||
+ if(GBLappSettings.lastIsoDir == NULL)
|
||||
+ GBLappSettings.lastIsoDir = malloc(strlen(lastIsoDir) + 1);
|
||||
+
|
||||
+ strcpy(GBLappSettings.lastIsoDir, lastIsoDir);
|
||||
+
|
||||
+ g_free(lastIsoDir);
|
||||
+ }
|
||||
+ else /* e.g. when opening a file from the <Recently used> view */
|
||||
{
|
||||
free(GBLappSettings.lastIsoDir);
|
||||
GBLappSettings.lastIsoDir = NULL;
|
||||
}
|
||||
-
|
||||
- if(GBLappSettings.lastIsoDir == NULL)
|
||||
- GBLappSettings.lastIsoDir = malloc(strlen(lastIsoDir) + 1);
|
||||
-
|
||||
- strcpy(GBLappSettings.lastIsoDir, lastIsoDir);
|
||||
-
|
||||
- g_free(lastIsoDir);
|
||||
- /* END RECORD iso save dir */
|
||||
+ /* END RECORD last iso dir */
|
||||
|
||||
askedToAddExtension = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(addExtensionCheckbox));
|
||||
}
|
||||
--
|
||||
1.7.8.3
|
||||
|
@ -1,61 +0,0 @@
|
||||
From 598606c7b96e421ffbcb09ccd9aac61fa83cd0fe Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Pipping <sebastian@pipping.org>
|
||||
Date: Sat, 7 Jan 2012 17:42:13 +0100
|
||||
Subject: [PATCH] Unbundle iniparser, fix use of compile/link flags
|
||||
|
||||
---
|
||||
Makefile | 10 +++-------
|
||||
1 files changed, 3 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 363a36a..c0434fb 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -65,21 +65,18 @@ OBJECTS = isomaster.o window.o browser.o fsbrowser.o isobrowser.o error.o about.
|
||||
|
||||
all: translations isomaster.desktop isomaster
|
||||
|
||||
-isomaster: $(OBJECTS) lib iniparser
|
||||
+isomaster: $(OBJECTS) lib
|
||||
@echo 'Linking isomaster'
|
||||
- @$(CC) $(OBJECTS) bk/bk.a iniparser-2.17/libiniparser.a $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) `pkg-config --libs gtk+-2.0` -o isomaster
|
||||
+ @$(CC) $(LDFLAGS) $(OBJECTS) bk/bk.a `pkg-config --libs gtk+-2.0` -liniparser -o isomaster
|
||||
|
||||
# static pattern rule
|
||||
$(OBJECTS): %.o: %.c %.h bk/bk.h Makefile
|
||||
@echo 'Compiling' $<
|
||||
- @$(CC) $< $(CFLAGS) $(CPPFLAGS) -c -o $@
|
||||
+ @$(CC) $(CFLAGS) $(CPPFLAGS) $< -c -o $@
|
||||
|
||||
lib:
|
||||
cd bk && $(MAKE)
|
||||
|
||||
-iniparser:
|
||||
- cd iniparser-2.17 && $(MAKE)
|
||||
-
|
||||
translations:
|
||||
ifndef WITHOUT_NLS
|
||||
cd po && $(MAKE)
|
||||
@@ -94,7 +91,6 @@ bk-doc:
|
||||
|
||||
clean:
|
||||
cd bk && $(MAKE) clean
|
||||
- cd iniparser-2.17 && $(MAKE) clean
|
||||
ifndef WITHOUT_NLS
|
||||
cd po && $(MAKE) clean
|
||||
endif
|
||||
diff --git a/settings.h b/settings.h
|
||||
index fda67b7..e619e0c 100644
|
||||
--- a/settings.h
|
||||
+++ b/settings.h
|
||||
@@ -4,7 +4,7 @@
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "isomaster.h"
|
||||
-#include "iniparser-2.17/src/iniparser.h"
|
||||
+#include <iniparser.h>
|
||||
|
||||
#define ISOMASTER_DEFAULT_WINDOW_WIDTH 500
|
||||
#define ISOMASTER_DEFAULT_WINDOW_HEIGHT 550
|
||||
--
|
||||
1.7.8.3
|
@ -0,0 +1,14 @@
|
||||
--- Makefile
|
||||
+++ Makefile
|
||||
@@ -75,9 +75,9 @@
|
||||
isomaster: $(OBJECTS) lib iniparser
|
||||
@echo 'Linking isomaster'
|
||||
ifndef USE_SYSTEM_INIPARSER
|
||||
- @$(CC) $(LDFLAGS) `pkg-config --libs gtk+-2.0` $(OBJECTS) bk/bk.a iniparser-2.17/libiniparser.a -o isomaster
|
||||
+ @$(CC) $(LDFLAGS) $(OBJECTS) -o isomaster bk/bk.a iniparser-2.17/libiniparser.a `pkg-config --libs gtk+-2.0`
|
||||
else
|
||||
- @$(CC) $(LDFLAGS) `pkg-config --libs gtk+-2.0` $(OBJECTS) bk/bk.a -liniparser -o isomaster
|
||||
+ @$(CC) $(LDFLAGS) $(OBJECTS) -o isomaster bk/bk.a -liniparser `pkg-config --libs gtk+-2.0`
|
||||
endif
|
||||
|
||||
# static pattern rule
|
@ -0,0 +1,24 @@
|
||||
From d2cea534819267e9e8b7348b7cf6fdbad72c7b11 Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Pipping <sebastian@pipping.org>
|
||||
Date: Sat, 21 Jan 2012 21:34:33 +0100
|
||||
Subject: [PATCH] Fix compilation against iniparser 3.0.0 (bug #399629)
|
||||
|
||||
---
|
||||
Makefile | 1 +
|
||||
1 files changed, 1 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 3f4b383..43187fc 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -66,6 +66,7 @@ CPPFLAGS += -D_FILE_OFFSET_BITS=64
|
||||
|
||||
ifdef USE_SYSTEM_INIPARSER
|
||||
CPPFLAGS += -DUSE_SYSTEM_INIPARSER=$(USE_SYSTEM_INIPARSER)
|
||||
+CPPFLAGS += -Diniparser_setstr=iniparser_set # Define went away with iniparser 3.0.0, Gentoo bug #399629
|
||||
endif
|
||||
|
||||
OBJECTS = isomaster.o window.o browser.o fsbrowser.o isobrowser.o error.o about.o settings.o boot.o editfile.o
|
||||
--
|
||||
1.7.8.4
|
||||
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/isomaster/isomaster-1.3.7-r1.ebuild,v 1.1 2010/06/03 14:25:22 beandog Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Graphical CD image editor for reading, modifying and writing ISO images"
|
||||
HOMEPAGE="http://littlesvr.ca/isomaster"
|
||||
SRC_URI="http://littlesvr.ca/${PN}/releases/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND=">=x11-libs/gtk+-2:2
|
||||
dev-libs/iniparser"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig"
|
||||
|
||||
MYFLAGS=""
|
||||
|
||||
pkg_setup() {
|
||||
MYFLAGS="PREFIX=/usr"
|
||||
|
||||
if ! use nls; then
|
||||
MYFLAGS="${MYFLAGS} WITHOUT_NLS=1"
|
||||
MYFLAGS="${MYFLAGS} MYDOCPATH=/usr/share/doc/${PF}/bkisofs"
|
||||
MYFLAGS="${MYFLAGS} ICONPATH=/usr/share/pixmaps/${PN}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-noiniparser.patch"
|
||||
}
|
||||
|
||||
# bug 274361
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
emake ${MYFLAGS} || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake ${MYFLAGS} DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc {CHANGELOG,CREDITS,README,TODO}.TXT
|
||||
}
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/isomaster/isomaster-1.3.8.ebuild,v 1.1 2012/01/07 18:42:47 sping Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Graphical CD image editor for reading, modifying and writing ISO images"
|
||||
HOMEPAGE="http://littlesvr.ca/isomaster"
|
||||
SRC_URI="http://littlesvr.ca/${PN}/releases/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND=">=x11-libs/gtk+-2:2
|
||||
dev-libs/iniparser"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig"
|
||||
|
||||
MYFLAGS=""
|
||||
|
||||
pkg_setup() {
|
||||
MYFLAGS="PREFIX=/usr"
|
||||
|
||||
if ! use nls; then
|
||||
MYFLAGS="${MYFLAGS} WITHOUT_NLS=1"
|
||||
MYFLAGS="${MYFLAGS} MYDOCPATH=/usr/share/doc/${PF}/bkisofs"
|
||||
MYFLAGS="${MYFLAGS} ICONPATH=/usr/share/pixmaps/${PN}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-unbundle-iniparser.patch
|
||||
rm -R iniparser-2.17 || die
|
||||
|
||||
epatch "${FILESDIR}"/${P}-gtk_file_chooser_get_current.patch
|
||||
}
|
||||
|
||||
# bug 274361
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
emake ${MYFLAGS} || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake ${MYFLAGS} DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc {CHANGELOG,CREDITS,README,TODO}.TXT || die
|
||||
}
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/isomaster/isomaster-1.3.9-r1.ebuild,v 1.2 2012/01/21 21:22:10 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils fdo-mime toolchain-funcs
|
||||
|
||||
DESCRIPTION="Graphical CD image editor for reading, modifying and writing ISO images"
|
||||
HOMEPAGE="http://littlesvr.ca/isomaster"
|
||||
SRC_URI="http://littlesvr.ca/${PN}/releases/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND=">=dev-libs/iniparser-3.0.0
|
||||
x11-libs/gtk+:2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
pkg_setup() {
|
||||
myisoconf=(
|
||||
DEFAULT_EDITOR=leafpad
|
||||
MYDOCPATH=/usr/share/doc/${PF}/bkisofs
|
||||
USE_SYSTEM_INIPARSER=1
|
||||
PREFIX=/usr
|
||||
)
|
||||
|
||||
use nls || myisoconf+=( WITHOUT_NLS=1 )
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-asneeded.patch
|
||||
epatch "${FILESDIR}"/${P}-iniparser-3.0.0.patch #399629
|
||||
rm -R iniparser-2.17 || die
|
||||
}
|
||||
|
||||
src_configure() { :; } #274361
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
emake "${myisoconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake "${myisoconf[@]}" DESTDIR="${D}" install
|
||||
dodoc {CHANGELOG,CREDITS,README,TODO}.TXT *.txt
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/isomaster/isomaster-1.3.9.ebuild,v 1.3 2012/01/21 19:31:34 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils fdo-mime toolchain-funcs
|
||||
|
||||
DESCRIPTION="Graphical CD image editor for reading, modifying and writing ISO images"
|
||||
HOMEPAGE="http://littlesvr.ca/isomaster"
|
||||
SRC_URI="http://littlesvr.ca/${PN}/releases/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
|
||||
IUSE="nls"
|
||||
|
||||
#dev-libs/iniparser, see pkg_setup() and bug 399629
|
||||
RDEPEND="x11-libs/gtk+:2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
pkg_setup() {
|
||||
myisoconf=(
|
||||
DEFAULT_EDITOR=leafpad
|
||||
MYDOCPATH=/usr/share/doc/${PF}/bkisofs
|
||||
#USE_SYSTEM_INIPARSER=1
|
||||
PREFIX=/usr
|
||||
)
|
||||
|
||||
use nls || myisoconf+=( WITHOUT_NLS=1 )
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-asneeded.patch
|
||||
}
|
||||
|
||||
src_configure() { :; } #274361
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
emake "${myisoconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake "${myisoconf[@]}" DESTDIR="${D}" install
|
||||
dodoc {CHANGELOG,CREDITS,README,TODO}.TXT *.txt
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST mecab-naist-jdic-0.6.3b-20111013.tar.gz 14974238 RMD160 0f0bce78a7e304cfe6f3083cd5c947f95ddb7e0d SHA1 11fdc9bbbed6c6b3c9fe735a4c36c100328b902a SHA256 cb37700dc9a77b953f2bf3b15b49cfecd67848530a2cf8abcb09b594ca5628cc
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/mecab-naist-jdic/mecab-naist-jdic-0.6.3b_p20111013.ebuild,v 1.1 2012/01/21 02:55:44 matsuu Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_P="${P/_p/-}"
|
||||
DESCRIPTION="NAIST Japanese Dictionary"
|
||||
HOMEPAGE="http://sourceforge.jp/projects/naist-jdic/"
|
||||
SRC_URI="mirror://sourceforge.jp/naist-jdic/53500/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="unicode"
|
||||
|
||||
DEPEND="app-text/mecab[unicode=]"
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
use unicode && myconf="${myconf} --with-charset=utf-8"
|
||||
econf ${myconf}
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>gnome</herd>
|
||||
<herd>cjk</herd>
|
||||
</pkgmetadata>
|
@ -1,3 +1,2 @@
|
||||
DIST emacs-23.3-patches-4.tar.bz2 19275 RMD160 9a5d61bcf60422efd44efc5f206d9baf8e742bd6 SHA1 695d786f1d43ddbc0c269c780a43cfed9aeb35f0 SHA256 0d4393e221b78bd97c39a10f6e4206d2dbbcee7062e9626d37a3a45c72b34636
|
||||
DIST emacs-23.3.90.tar.gz 47721559 RMD160 0e816014a6dd0339caaf81415eceb7b0dcc52ef1 SHA1 9074a972df9fa03c03fc3d8fb759304691d7cb3a SHA256 d32bef9b9660e6e59c4b63a86ccb56b7ddffb71d22d9d016b6869655e513649c
|
||||
DIST emacs-24.0.92.tar.gz 50996706 RMD160 4530f9208765ef168bfb55831371cecc089e2433 SHA1 6d876d3f187be67c210242e8106e8f38c314f77d SHA256 861369d3006e59837bd2daac9931b17148d60cc16d074fb532b51ef9c5d1975f
|
||||
|
@ -1,344 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-23.3.9999-r1.ebuild,v 1.1 2012/01/09 12:59:24 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
inherit autotools elisp-common eutils flag-o-matic multilib
|
||||
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
EBZR_PROJECT="emacs"
|
||||
EBZR_BRANCH="emacs-23"
|
||||
EBZR_REPO_URI="bzr://bzr.savannah.gnu.org/emacs/${EBZR_BRANCH}/"
|
||||
# "Nosmart" is much faster for initial branching.
|
||||
EBZR_INITIAL_URI="nosmart+${EBZR_REPO_URI}"
|
||||
inherit bzr
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="mirror://gentoo/emacs-${PV}.tar.gz
|
||||
ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-${PV}.tar.gz"
|
||||
# FULL_VERSION keeps the full version number, which is needed in
|
||||
# order to determine some path information correctly for copy/move
|
||||
# operations later on
|
||||
FULL_VERSION="${PV%%_*}"
|
||||
S="${WORKDIR}/emacs-${FULL_VERSION}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||
HOMEPAGE="http://www.gnu.org/software/emacs/"
|
||||
|
||||
LICENSE="GPL-3 FDL-1.3 BSD as-is MIT W3C unicode PSF-2"
|
||||
SLOT="23"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="alsa athena dbus gconf gif gpm gtk gzip-el hesiod jpeg kerberos m17n-lib motif png sound source svg tiff toolkit-scroll-bars X Xaw3d xft +xpm"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
>=app-admin/eselect-emacs-1.2
|
||||
net-libs/liblockfile
|
||||
hesiod? ( net-dns/hesiod )
|
||||
kerberos? ( virtual/krb5 )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
gpm? ( sys-libs/gpm )
|
||||
dbus? ( sys-apps/dbus )
|
||||
X? (
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
x11-misc/xbitmaps
|
||||
gconf? ( >=gnome-base/gconf-2.26.2 )
|
||||
gif? ( media-libs/giflib )
|
||||
jpeg? ( virtual/jpeg )
|
||||
png? ( >=media-libs/libpng-1.4:0 )
|
||||
svg? ( >=gnome-base/librsvg-2.0 )
|
||||
tiff? ( media-libs/tiff )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
xft? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
x11-libs/libXft
|
||||
m17n-lib? (
|
||||
>=dev-libs/libotf-0.9.4
|
||||
>=dev-libs/m17n-lib-1.5.1
|
||||
)
|
||||
)
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
!gtk? (
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
!Xaw3d? (
|
||||
athena? ( x11-libs/libXaw )
|
||||
!athena? ( motif? ( >=x11-libs/openmotif-2.3:0 ) )
|
||||
)
|
||||
)
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
alsa? ( dev-util/pkgconfig )
|
||||
dbus? ( dev-util/pkgconfig )
|
||||
X? ( dev-util/pkgconfig )
|
||||
gzip-el? ( app-arch/gzip )"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
>=app-emacs/emacs-common-gentoo-1.3[X?]"
|
||||
|
||||
EMACS_SUFFIX="emacs-${SLOT}-vcs"
|
||||
SITEFILE="20${PN}-${SLOT}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
FULL_VERSION=$(grep 'defconst[ ]*emacs-version' lisp/version.el \
|
||||
| sed -e 's/^[^"]*"\([^"]*\)".*$/\1/')
|
||||
[[ ${FULL_VERSION} ]] || die "Cannot determine current Emacs version"
|
||||
einfo "Emacs branch: ${EBZR_BRANCH}"
|
||||
einfo "Revision: ${EBZR_REVISION:-${EBZR_REVNO}}"
|
||||
einfo "Emacs version number: ${FULL_VERSION}"
|
||||
[[ ${FULL_VERSION} =~ ^${PV%.*}(\..*)?$ ]] \
|
||||
|| die "Upstream version number changed to ${FULL_VERSION}"
|
||||
fi
|
||||
|
||||
sed -i \
|
||||
-e "s:/usr/lib/crtbegin.o:$(`tc-getCC` -print-file-name=crtbegin.o):g" \
|
||||
-e "s:/usr/lib/crtend.o:$(`tc-getCC` -print-file-name=crtend.o):g" \
|
||||
"${S}"/src/s/freebsd.h || die "unable to sed freebsd.h settings"
|
||||
|
||||
if ! use alsa; then
|
||||
# ALSA is detected even if not requested by its USE flag.
|
||||
# Suppress it by supplying pkg-config with a wrong library name.
|
||||
sed -i -e "/ALSA_MODULES=/s/alsa/DiSaBlEaLsA/" configure.in \
|
||||
|| die "unable to sed configure.in"
|
||||
fi
|
||||
if ! use gzip-el; then
|
||||
# Emacs' build system automatically detects the gzip binary and
|
||||
# compresses el files. We don't want that so confuse it with a
|
||||
# wrong binary name
|
||||
sed -i -e "s/ gzip/ PrEvEnTcOmPrEsSiOn/" configure.in \
|
||||
|| die "unable to sed configure.in"
|
||||
fi
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
ALLOWED_FLAGS=""
|
||||
strip-flags
|
||||
filter-flags -fstrict-aliasing
|
||||
append-flags $(test-flags -fno-strict-aliasing)
|
||||
|
||||
if use sh; then
|
||||
replace-flags -O[1-9] -O0 #262359
|
||||
elif use ia64; then
|
||||
replace-flags -O[2-9] -O1 #325373
|
||||
else
|
||||
replace-flags -O[3-9] -O2
|
||||
fi
|
||||
|
||||
local myconf
|
||||
|
||||
if use alsa && ! use sound; then
|
||||
einfo "Although sound USE flag is disabled you chose to have alsa,"
|
||||
einfo "so sound is switched on anyway."
|
||||
myconf="${myconf} --with-sound"
|
||||
else
|
||||
myconf="${myconf} $(use_with sound)"
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
myconf="${myconf} --with-x"
|
||||
myconf="${myconf} $(use_with gconf)"
|
||||
myconf="${myconf} $(use_with toolkit-scroll-bars)"
|
||||
myconf="${myconf} $(use_with gif) $(use_with jpeg)"
|
||||
myconf="${myconf} $(use_with png) $(use_with svg rsvg)"
|
||||
myconf="${myconf} $(use_with tiff) $(use_with xpm)"
|
||||
|
||||
if use xft; then
|
||||
myconf="${myconf} --with-xft"
|
||||
myconf="${myconf} $(use_with m17n-lib libotf)"
|
||||
myconf="${myconf} $(use_with m17n-lib m17n-flt)"
|
||||
else
|
||||
myconf="${myconf} --without-xft"
|
||||
myconf="${myconf} --without-libotf --without-m17n-flt"
|
||||
use m17n-lib && ewarn \
|
||||
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
|
||||
fi
|
||||
|
||||
# GTK+ is the default toolkit if USE=gtk is chosen with other
|
||||
# possibilities. Emacs upstream thinks this should be standard
|
||||
# policy on all distributions
|
||||
if use gtk; then
|
||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||
myconf="${myconf} --with-x-toolkit=gtk"
|
||||
elif use Xaw3d || use athena; then
|
||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
||||
elif use motif; then
|
||||
einfo "Configuring to build with Motif toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=motif"
|
||||
else
|
||||
einfo "Configuring to build with no toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=no"
|
||||
fi
|
||||
|
||||
local f tk=
|
||||
for f in gtk Xaw3d athena motif; do
|
||||
use ${f} || continue
|
||||
[[ ${tk} ]] \
|
||||
&& ewarn "USE flag \"${f}\" ignored (superseded by \"${tk}\")"
|
||||
tk="${tk}${tk:+ }${f}"
|
||||
done
|
||||
else
|
||||
myconf="${myconf} --without-x"
|
||||
fi
|
||||
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
# These variables are not needed for building. We add them to
|
||||
# configure options because they are stored in the Emacs binary
|
||||
# and available in variable "system-configuration-options".
|
||||
myconf="${myconf} EBZR_BRANCH=${EBZR_BRANCH} EBZR_REVNO=${EBZR_REVNO}"
|
||||
fi
|
||||
|
||||
# According to configure, this option is only used for GNU/Linux
|
||||
# (x86_64 and s390). For Gentoo Prefix we have to explicitly spell
|
||||
# out the location because $(get_libdir) does not necessarily return
|
||||
# something that matches the host OS's libdir naming (e.g. RHEL).
|
||||
local crtdir=$($(tc-getCC) -print-file-name=crt1.o)
|
||||
crtdir=${crtdir%/*}
|
||||
|
||||
econf \
|
||||
--program-suffix=-${EMACS_SUFFIX} \
|
||||
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
|
||||
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
|
||||
--with-crt-dir="${crtdir}" \
|
||||
$(use_with hesiod) \
|
||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||
$(use_with gpm) \
|
||||
$(use_with dbus) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
emake CC="$(tc-getCC)" bootstrap
|
||||
# cleanup, otherwise emacs will be dumped again in src_install
|
||||
(cd src; emake versionclean)
|
||||
fi
|
||||
# set last component of emacs-version to (package revision + 1)
|
||||
touch src/emacs-${FULL_VERSION}.${PR#r}
|
||||
emake CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
local i m
|
||||
|
||||
emake install DESTDIR="${D}"
|
||||
|
||||
rm "${ED}"/usr/bin/emacs-${FULL_VERSION}-${EMACS_SUFFIX} \
|
||||
|| die "removing duplicate emacs executable failed"
|
||||
mv "${ED}"/usr/bin/emacs-${EMACS_SUFFIX} "${ED}"/usr/bin/${EMACS_SUFFIX} \
|
||||
|| die "moving Emacs executable failed"
|
||||
|
||||
# move man pages to the correct place
|
||||
for m in "${ED}"/usr/share/man/man1/* ; do
|
||||
mv "${m}" "${m%.1}-${EMACS_SUFFIX}.1" || die "mv man failed"
|
||||
done
|
||||
|
||||
# move info dir to avoid collisions with the dir file generated by portage
|
||||
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \
|
||||
|| die "moving info dir failed"
|
||||
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
|
||||
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
|
||||
|
||||
# avoid collision between slots, see bug #169033 e.g.
|
||||
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
|
||||
rm -rf "${ED}"/usr/share/{applications,icons}
|
||||
rm "${ED}"/var/lib/games/emacs/{snake,tetris}-scores
|
||||
keepdir /var/lib/games/emacs
|
||||
|
||||
# remove unused <version>/site-lisp dir
|
||||
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
|
||||
|
||||
local c=";;"
|
||||
if use source; then
|
||||
insinto /usr/share/emacs/${FULL_VERSION}/src
|
||||
# This is not meant to install all the source -- just the
|
||||
# C source you might find via find-function
|
||||
doins src/*.{c,h,m}
|
||||
doins -r src/{m,s}
|
||||
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/src/Makefile.c
|
||||
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/src/{m,s}/README
|
||||
c=""
|
||||
fi
|
||||
|
||||
sed 's/^X//' >"${T}/${SITEFILE}" <<-EOF
|
||||
X
|
||||
;;; ${PN}-${SLOT} site-lisp configuration
|
||||
X
|
||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
||||
X ${c}(setq find-function-C-source-directory
|
||||
X ${c} "${EPREFIX}/usr/share/emacs/${FULL_VERSION}/src")
|
||||
X (let ((path (getenv "INFOPATH"))
|
||||
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
|
||||
X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
|
||||
X (and path
|
||||
X ;; move Emacs Info dir before anything else in /usr/share/info
|
||||
X (let* ((p (cons nil (split-string path ":" t))) (q p))
|
||||
X (while (and (cdr q) (not (string-match re (cadr q))))
|
||||
X (setq q (cdr q)))
|
||||
X (setcdr q (cons dir (delete dir (cdr q))))
|
||||
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
|
||||
EOF
|
||||
elisp-site-file-install "${T}/${SITEFILE}" || die
|
||||
|
||||
dodoc README BUGS
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# move Info dir file to correct name
|
||||
local infodir=/usr/share/info/${EMACS_SUFFIX} f
|
||||
if [[ -f ${ED}${infodir}/dir.orig ]]; then
|
||||
mv "${ED}"${infodir}/dir{.orig,} || die "moving info dir failed"
|
||||
else
|
||||
# this should not happen in EAPI 4
|
||||
ewarn "Regenerating Info directory index in ${infodir} ..."
|
||||
rm -f "${ED}"${infodir}/dir{,.*}
|
||||
for f in "${ED}"${infodir}/*; do
|
||||
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
|
||||
install-info --info-dir="${ED}"${infodir} "${f}" \
|
||||
|| die "install-info failed"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local f
|
||||
for f in "${EROOT}"/var/lib/games/emacs/{snake,tetris}-scores; do
|
||||
[[ -e ${f} ]] || touch "${f}"
|
||||
done
|
||||
chown games "${EROOT}"/var/lib/games/emacs
|
||||
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
|
||||
if use X; then
|
||||
elog "You need to install some fonts for Emacs."
|
||||
elog "Installing media-fonts/font-adobe-{75,100}dpi on the X server's"
|
||||
elog "machine would satisfy basic Emacs requirements under X11."
|
||||
elog "See also http://www.gentoo.org/proj/en/lisp/emacs/xft.xml"
|
||||
elog "for how to enable anti-aliased fonts."
|
||||
elog
|
||||
fi
|
||||
|
||||
elog "You can set the version to be started by /usr/bin/emacs through"
|
||||
elog "the Emacs eselect module, which also redirects man and info pages."
|
||||
elog "Therefore, several Emacs versions can be installed at the same time."
|
||||
elog "\"man emacs.eselect\" for details."
|
||||
elog
|
||||
elog "If you upgrade from a previous major version of Emacs, then it is"
|
||||
elog "strongly recommended that you use app-admin/emacs-updater to rebuild"
|
||||
elog "all byte-compiled elisp files of the installed Emacs packages."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-23.3.90.ebuild,v 1.1 2012/01/15 19:49:25 ulm Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-23.4.9999.ebuild,v 1.1 2012/01/22 10:27:44 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
WANT_AUTOMAKE="none"
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/gvim/gvim-7.3.409.ebuild,v 1.1 2012/01/21 03:23:33 lack Exp $
|
||||
|
||||
EAPI=3
|
||||
VIM_VERSION="7.3"
|
||||
inherit vim
|
||||
|
||||
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
|
||||
GVIMRC_FILE_SUFFIX="-r1"
|
||||
GVIM_DESKTOP_SUFFIX="-r2"
|
||||
|
||||
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
|
||||
http://dev.gentoo.org/~lack/vim/${VIM_ORG_PATCHES}"
|
||||
|
||||
S="${WORKDIR}/vim${VIM_VERSION/.}"
|
||||
DESCRIPTION="GUI version of the Vim text editor"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
vim_src_prepare
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-7.1.285-darwin-x11link.patch
|
||||
if [[ ${CHOST} == *-interix* ]]; then
|
||||
epatch "${FILESDIR}"/${PN}-7.1-interix-link.patch
|
||||
epatch "${FILESDIR}"/${PN}-7.1.319-interix-cflags.patch
|
||||
fi
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST tea-27.0.0.tar.bz2 207676 RMD160 8e2d46f919736f4da31d1df370b8b7ce2aff826b SHA1 b0d6d3b806468368f8d58bfa2f159ce0c8a04142 SHA256 9301ecc1098b0da23aa5653a8b6778276d18cce4d8ba92ee2d26b626b03885ac
|
||||
DIST tea-28.1.2.tar.bz2 233850 RMD160 5fe178096d01e4b91171b36c599c991405198dd3 SHA1 b6b6d42ed39a3095a41a066b72f69f381d11a27f SHA256 ba4eb9b16bf5fefe345093be36501e6826f29184f77b8cbf909091fcf8db8f9d
|
||||
DIST tea-31.2.0.tar.bz2 262806 RMD160 11514eebed9d789ca56d8289e32e2639821cbee0 SHA1 78986b8447eab21be136dc18a2e1afca39a442bb SHA256 81bb3d02a776a4a02fdb94751562194a32e6f8794ccf981d11db422cc44f836b
|
||||
DIST teagtk-17.6.6.tar.bz2 479197 RMD160 e8b6aabd7dfb86c43db88bceb7ebaec5f9738594 SHA1 17c3019c9dc6b53d87a9a3bc1cc02784d256f234 SHA256 e2583776fb38331f1e7989f7f8ea23bbae593af26f4c3cdeeae61a793b6bd752
|
||||
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/tea/tea-27.0.0.ebuild,v 1.1 2010/02/27 19:52:06 yngwin Exp $
|
||||
|
||||
EAPI="2"
|
||||
inherit eutils qt4-r2
|
||||
|
||||
DESCRIPTION="Small, lightweight Qt text editor"
|
||||
HOMEPAGE="http://tea-editor.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/tea-editor/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~x86 ~x86-fbsd"
|
||||
IUSE="aspell hunspell"
|
||||
|
||||
DEPEND="x11-libs/qt-core:4
|
||||
x11-libs/qt-gui:4
|
||||
x11-libs/qt-svg:4
|
||||
x11-libs/qt-script:4"
|
||||
RDEPEND="${DEPEND}
|
||||
aspell? ( app-text/aspell )
|
||||
hunspell? ( app-text/hunspell )"
|
||||
|
||||
src_configure() {
|
||||
local myopts
|
||||
if use aspell ; then
|
||||
myopts="USE_ASPELL=true"
|
||||
else
|
||||
myopts="USE_ASPELL=false"
|
||||
fi
|
||||
|
||||
if use hunspell ; then
|
||||
myopts="${myopts} USE_HUNSPELL=true"
|
||||
else
|
||||
myopts="${myopts} USE_HUNSPELL=false"
|
||||
fi
|
||||
|
||||
eqmake4 src.pro PREFIX="/usr/bin" ${myopts}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/tea || die
|
||||
dodoc AUTHORS ChangeLog NEWS NEWS-RU TODO || die
|
||||
doicon icons/tea_icon_v2.png || die
|
||||
|
||||
make_desktop_entry tea Tea tea_icon_v2 Utility
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2012 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.3.409.ebuild,v 1.1 2012/01/21 03:22:20 lack Exp $
|
||||
|
||||
EAPI=3
|
||||
VIM_VERSION="7.3"
|
||||
inherit vim
|
||||
|
||||
VIM_CORE_GENTOO_PATCHES="vim-core-${VIM_VERSION}-gentoo-patches-r1.tar.bz2"
|
||||
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
|
||||
VIMRC_FILE_SUFFIX="-r4"
|
||||
|
||||
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
|
||||
http://dev.gentoo.org/~lack/vim/${VIM_CORE_GENTOO_PATCHES}
|
||||
http://dev.gentoo.org/~lack/vim/${VIM_ORG_PATCHES}"
|
||||
|
||||
S="${WORKDIR}/vim${VIM_VERSION/.}"
|
||||
DESCRIPTION="vim and gvim shared files"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~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"
|
||||
IUSE=""
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim/vim-7.3.409.ebuild,v 1.1 2012/01/21 03:23:00 lack Exp $
|
||||
|
||||
EAPI=3
|
||||
VIM_VERSION="7.3"
|
||||
inherit vim
|
||||
|
||||
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/~lack/vim/${VIM_ORG_PATCHES}"
|
||||
|
||||
S="${WORKDIR}/vim${VIM_VERSION/.}"
|
||||
DESCRIPTION="Vim, an improved vi-style text editor"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
vim_src_prepare
|
||||
|
||||
if [[ ${CHOST} == *-interix* ]]; then
|
||||
epatch "${FILESDIR}"/${PN}-7.3-interix-link.patch
|
||||
fi
|
||||
epatch "${FILESDIR}"/${PN}-7.1.285-darwin-x11link.patch
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST zenburn-20090708.el.bz2 8162 RMD160 e0661b066e1a11b9332474440977666651afbf26 SHA1 f9f36d4b2fb6e2feb0174acf386136cc8d32605b SHA256 5b01db657c5120a3ea6179273e41166e66abc6d7732d2ac34c364ce2f2f856f1
|
||||
DIST zenburn-20110907.el.bz2 6979 RMD160 997cfa80a320af4a72e96d0fb5284621e46d9fcf SHA1 6e8ad7bc274606f752f8f292d25622f3e0a3090d SHA256 b376c33ea3f97678d59b7d8103c352899515f3a6e68ab7f294ab787d9b29abd5
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/zenburn/zenburn-20090708.ebuild,v 1.3 2010/05/22 15:55:53 pacho Exp $
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Zenburn color theme for Emacs"
|
||||
HOMEPAGE="http://slinky.imukuppi.org/zenburnpage/"
|
||||
# taken from: http://www.brockman.se/software/zenburn/zenburn.el
|
||||
SRC_URI="mirror://gentoo/${P}.el.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-emacs/color-theme"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
elog "To enable zenburn by default, initialise it in your ~/.emacs:"
|
||||
elog " (color-theme-zenburn)"
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
With BKL <smp_lock.h> gone away from linux.
|
||||
|
||||
Patch fixes build failure against stable kernel:
|
||||
CC [M] kqemu-1.4.0pre1/kqemu-linux.o
|
||||
kqemu-1.4.0pre1/kqemu-linux.c:27:28: error: linux/smp_lock.h: No such file or directory
|
||||
|
||||
Bug-URL: http://bugs.gentoo.org/368439
|
||||
Reported-by: Ian Abbott
|
||||
Patch-by: c.exe@gmx.de
|
||||
|
||||
diff --git a/kqemu-linux.c b/kqemu-linux.c
|
||||
index f7246f1..c476d28 100644
|
||||
--- a/kqemu-linux.c
|
||||
+++ b/kqemu-linux.c
|
||||
@@ -24,7 +24,9 @@
|
||||
#include <linux/proc_fs.h>
|
||||
#include <linux/version.h>
|
||||
#include <linux/ioctl.h>
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,39)
|
||||
#include <linux/smp_lock.h>
|
||||
+#endif
|
||||
#include <linux/miscdevice.h>
|
||||
#include <asm/atomic.h>
|
||||
#include <asm/processor.h>
|
@ -1,2 +1,3 @@
|
||||
DIST qemu-0.11.1.tar.gz 3830070 RMD160 4da00fa6c01d7ff6af0ee781bc9260da577ea7d3 SHA1 7b983cd18f44c6e7627532b662f010389d3bcdff SHA256 2ecd2fc0af2ce5d96067ae82cc98a08275c596de53fc929484bedee1d6e7893a
|
||||
DIST qemu-0.14.0.tar.gz 5439695 RMD160 1409264387e4cfe45143e10dd77b2574935e2d78 SHA1 cf8d916436d4b8775289399648e1f0ca9d867d18 SHA256 ba21e84d7853217830e167dae9999cdbff481189c6a0bb600ac7fb7201453108
|
||||
DIST qemu-1.0.tar.gz 10848714 RMD160 3a60aef6cfebba6896bdb12c99525da5456172fd SHA1 7dcb1b3516554d6d899d7488cd444dbb7721fcee SHA256 47674b7da559d5e1b44cc401af9ac5ad962d14e9eede12567b13e4b841989737
|
||||
|
@ -1,26 +1,41 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>qemu</herd>
|
||||
<maintainer>
|
||||
<email>lu_zero@gentoo.org</email>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name='aio'>Enables support for Linux's Async IO</flag>
|
||||
<herd>qemu</herd>
|
||||
<maintainer>
|
||||
<email>lu_zero@gentoo.org</email>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>slyfox@gentoo.org</email>
|
||||
<name>Sergei Trofimovich</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name='aio'>Enables support for Linux's Async IO</flag>
|
||||
<flag name='brltty'>Adds support for braille displays using brltty</flag>
|
||||
<flag name='curl'>Adds support for read-only block device emulation based on files
|
||||
located on http and ftp servers</flag>
|
||||
<flag name='esd'>Enable esound output for sound emulation</flag>
|
||||
<flag name='fdt'>Enables firmware device tree support</flag>
|
||||
<flag name='kqemu'>Enables the kernel acceleration module on a x86/x86-64 cpu</flag>
|
||||
<flag name='kvm'>Use the KVM (Kernel Virtual Machine) infrastructure on compatible hardware</flag>
|
||||
<flag name='alsa'>Enable alsa output for sound emulation</flag>
|
||||
<flag name='esd'>Enable esound output for sound emulation</flag>
|
||||
<flag name='gnutls'>Enable TLS support for the VNC console server</flag>
|
||||
<flag name='ncurses'>Enable the ncurses-based console</flag>
|
||||
<flag name='pulseaudio'>Enable pulseaudio output for sound emulation</flag>
|
||||
<flag name='qemu-ifup'>Provides the qemu-ifup script for use with
|
||||
QEMU's built in bridging</flag>
|
||||
<flag name='sdl'>Enable the SDL-based console</flag>
|
||||
<flag name='static'>Enable static build, useful to chroot in user-mode
|
||||
emulation</flag>
|
||||
<flag name='vde'>Enable Virtual Distributed Ethernet (VDE) based networking</flag>
|
||||
</use>
|
||||
<flag name='gnutls'>Enable TLS support for the VNC console server</flag>
|
||||
<flag name='kqemu'>Enables the kernel acceleration module on a x86/x86-64 cpu</flag>
|
||||
<flag name='kvm'>Use the KVM (Kernel Virtual Machine) infrastructure on compatible hardware</flag>
|
||||
<flag name='ncurses'>Enable the ncurses-based console</flag>
|
||||
<flag name='nss'>Build support for Smartcard devices emulation using <pkg>dev-libs/nss</pkg></flag>
|
||||
<flag name='pulseaudio'>Enable pulseaudio output for sound emulation</flag>
|
||||
<flag name='qemu-ifup'>Provides the qemu-ifup script for use with
|
||||
QEMU's built in bridging</flag>
|
||||
<flag name='rbd'>Enable rados block device backend support, see http://ceph.newdream.net/wiki/QEMU-RBD</flag>
|
||||
<flag name='sdl'>Enable the SDL-based console</flag>
|
||||
<flag name='static'>Enable static build, useful to chroot in user-mode
|
||||
emulation</flag>
|
||||
<flag name='spice'>Enable Spice protocol support via <pkg>app-emulation/spice</pkg></flag>
|
||||
<flag name='ssl'>Enable TLS support for the VNC console server</flag>
|
||||
<flag name='vde'>Enable Virtual Distributed Ethernet (VDE) based networking</flag>
|
||||
<flag name='vhost-net'>Enable accelerated networking using vhost-net, see http://www.linux-kvm.org/page/VhostNet</flag>
|
||||
<flag name='xattr'>
|
||||
Add support for getting and setting POSIX extended attributes, through
|
||||
<pkg>sys-apps/attr</pkg>. Requisite for the virtfs backend.
|
||||
</flag>
|
||||
<flag name='xen'>Enables support for Xen backends</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,253 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-1.0.ebuild,v 1.1 2012/01/22 11:52:57 slyfox Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://git.qemu.org/qemu.git
|
||||
http://git.qemu.org/git/qemu.git"
|
||||
GIT_ECLASS="git-2"
|
||||
fi
|
||||
|
||||
inherit eutils flag-o-matic ${GIT_ECLASS} linux-info toolchain-funcs
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://wiki.qemu.org/download/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="QEMU emulator and ABI wrapper"
|
||||
HOMEPAGE="http://www.qemu.org"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="+aio alsa bluetooth brltty curl esd fdt hardened jpeg ncurses nss \
|
||||
png pulseaudio qemu-ifup rbd sasl sdl spice ssl static threads vde \
|
||||
+vhost-net xattr xen"
|
||||
|
||||
COMMON_TARGETS="i386 x86_64 alpha arm cris m68k microblaze microblazeel mips mipsel ppc ppc64 sh4 sh4eb sparc sparc64 s390x"
|
||||
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 mips64 mips64el ppcemb xtensa xtensaeb"
|
||||
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb ppc64abi32 sparc32plus unicore32"
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS}; do
|
||||
IUSE="${IUSE} +qemu_softmmu_targets_${target}"
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS}; do
|
||||
IUSE="${IUSE} +qemu_user_targets_${target}"
|
||||
done
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
!app-emulation/qemu-kvm
|
||||
!app-emulation/qemu-user
|
||||
>=dev-libs/glib-2.0
|
||||
sys-apps/pciutils
|
||||
>=sys-apps/util-linux-2.16.0
|
||||
sys-libs/zlib
|
||||
aio? ( dev-libs/libaio )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
brltty? ( app-accessibility/brltty )
|
||||
curl? ( net-misc/curl )
|
||||
esd? ( media-sound/esound )
|
||||
fdt? ( >=sys-apps/dtc-1.2.0 )
|
||||
jpeg? ( virtual/jpeg )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
nss? ( dev-libs/nss )
|
||||
png? ( media-libs/libpng )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
qemu-ifup? ( sys-apps/iproute2 net-misc/bridge-utils )
|
||||
rbd? ( sys-cluster/ceph )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
sdl? ( >=media-libs/libsdl-1.2.11[X] )
|
||||
spice? ( >=app-emulation/spice-0.9.0
|
||||
>=app-emulation/spice-protocol-0.8.1 )
|
||||
ssl? ( net-libs/gnutls )
|
||||
vde? ( net-misc/vde )
|
||||
xattr? ( sys-apps/attr )
|
||||
xen? ( app-emulation/xen )
|
||||
|
||||
qemu_softmmu_targets_lm32? (
|
||||
x11-libs/libX11
|
||||
virtual/opengl
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/texi2html
|
||||
dev-util/pkgconfig
|
||||
>=sys-kernel/linux-headers-2.6.35
|
||||
"
|
||||
|
||||
# alpha ELF binary. don't let portage mess with it
|
||||
STRIP_MASK="usr/share/qemu/palcode-clipper"
|
||||
|
||||
QA_PRESTRIPPED="
|
||||
usr/share/qemu/openbios-ppc
|
||||
usr/share/qemu/openbios-sparc64
|
||||
usr/share/qemu/openbios-sparc32
|
||||
usr/share/qemu/palcode-clipper
|
||||
"
|
||||
# keep sorted
|
||||
QA_WX_LOAD="${QA_PRESTRIPPED}
|
||||
usr/bin/qemu-alpha
|
||||
usr/bin/qemu-arm
|
||||
usr/bin/qemu-armeb
|
||||
usr/bin/qemu-cris
|
||||
usr/bin/qemu-i386
|
||||
usr/bin/qemu-m68k
|
||||
usr/bin/qemu-microblaze
|
||||
usr/bin/qemu-microblazeel
|
||||
usr/bin/qemu-mips
|
||||
usr/bin/qemu-mipsel
|
||||
usr/bin/qemu-sh4
|
||||
usr/bin/qemu-sh4eb
|
||||
usr/bin/qemu-sparc
|
||||
usr/bin/qemu-sparc32plus
|
||||
usr/bin/qemu-sparc64
|
||||
usr/bin/qemu-s390x
|
||||
usr/bin/qemu-unicore32
|
||||
usr/bin/qemu-x86_64
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use qemu_softmmu_targets_x86_64 || ewarn "You disabled default target QEMU_SOFTMMU_TARGETS=x86_64"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# prevent docs to get automatically installed
|
||||
sed -i '/$(DESTDIR)$(docdir)/d' Makefile || die
|
||||
# Alter target makefiles to accept CFLAGS set via flag-o
|
||||
sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \
|
||||
Makefile Makefile.target || die
|
||||
# append CFLAGS while linking
|
||||
sed -i 's/$(LDFLAGS)/$(QEMU_CFLAGS) $(CFLAGS) $(LDFLAGS)/' rules.mak || die
|
||||
|
||||
# Fix underlinking.
|
||||
# Fault reproducer: USE=nss QEMU_SOFTMMU_TARGETS=lm32 QEMU_USER_TARGETS=
|
||||
sed -i 's/opengl_libs="-lGL"/opengl_libs="-lGL -lX11"/' configure || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local conf_opts audio_opts user_targets
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS} ; do
|
||||
use "qemu_softmmu_targets_${target}" && \
|
||||
softmmu_targets="${softmmu_targets} ${target}-softmmu"
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS} ; do
|
||||
use "qemu_user_targets_${target}" && \
|
||||
user_targets="${user_targets} ${target}-linux-user"
|
||||
done
|
||||
|
||||
if [ -z "${softmmu_targets}" ]; then
|
||||
conf_opts="${conf_opts} --disable-system"
|
||||
else
|
||||
einfo "Building the following softmmu targets: ${softmmu_targets}"
|
||||
fi
|
||||
|
||||
if [ ! -z "${user_targets}" ]; then
|
||||
einfo "Building the following user targets: ${user_targets}"
|
||||
conf_opts="${conf_opts} --enable-linux-user"
|
||||
else
|
||||
conf_opts="${conf_opts} --disable-linux-user"
|
||||
fi
|
||||
|
||||
# Fix QA issues. QEMU needs executable heaps and we need to mark it as such
|
||||
conf_opts="${conf_opts} --extra-ldflags=-Wl,-z,execheap"
|
||||
|
||||
# Add support for static builds
|
||||
use static && conf_opts="${conf_opts} --static"
|
||||
|
||||
# Fix the $(prefix)/etc issue
|
||||
conf_opts="${conf_opts} --sysconfdir=/etc"
|
||||
|
||||
#config options
|
||||
conf_opts="${conf_opts} $(use_enable aio linux-aio)"
|
||||
conf_opts="${conf_opts} $(use_enable bluetooth bluez)"
|
||||
conf_opts="${conf_opts} $(use_enable brltty brlapi)"
|
||||
conf_opts="${conf_opts} $(use_enable curl)"
|
||||
conf_opts="${conf_opts} $(use_enable fdt)"
|
||||
conf_opts="${conf_opts} $(use_enable hardened pie)"
|
||||
conf_opts="${conf_opts} $(use_enable jpeg vnc-jpeg)"
|
||||
conf_opts="${conf_opts} $(use_enable ncurses curses)"
|
||||
conf_opts="${conf_opts} $(use_enable nss smartcard-nss)"
|
||||
conf_opts="${conf_opts} $(use_enable qemu_softmmu_targets_lm32 opengl)" # single opengl user
|
||||
conf_opts="${conf_opts} $(use_enable png vnc-png)"
|
||||
conf_opts="${conf_opts} $(use_enable rbd)"
|
||||
conf_opts="${conf_opts} $(use_enable sasl vnc-sasl)"
|
||||
conf_opts="${conf_opts} $(use_enable sdl)"
|
||||
conf_opts="${conf_opts} $(use_enable spice)"
|
||||
conf_opts="${conf_opts} $(use_enable ssl vnc-tls)"
|
||||
conf_opts="${conf_opts} $(use_enable threads vnc-thread)"
|
||||
conf_opts="${conf_opts} $(use_enable vde)"
|
||||
conf_opts="${conf_opts} $(use_enable vhost-net)"
|
||||
conf_opts="${conf_opts} $(use_enable xen)"
|
||||
conf_opts="${conf_opts} $(use_enable xattr attr)"
|
||||
conf_opts="${conf_opts} --disable-darwin-user --disable-bsd-user"
|
||||
|
||||
# audio options
|
||||
audio_opts="oss"
|
||||
use alsa && audio_opts="alsa ${audio_opts}"
|
||||
use esd && audio_opts="esd ${audio_opts}"
|
||||
use pulseaudio && audio_opts="pa ${audio_opts}"
|
||||
use sdl && audio_opts="sdl ${audio_opts}"
|
||||
|
||||
set -- --prefix=/usr \
|
||||
--disable-strip \
|
||||
--disable-werror \
|
||||
--disable-kvm \
|
||||
--enable-nptl \
|
||||
--enable-uuid \
|
||||
${conf_opts} \
|
||||
--audio-drv-list="${audio_opts}" \
|
||||
--target-list="${softmmu_targets} ${user_targets}" \
|
||||
--cc="$(tc-getCC)" \
|
||||
--host-cc="$(tc-getBUILD_CC)"
|
||||
|
||||
echo ./configure "$@" # show actual options
|
||||
./configure "$@" || die "configure failed"
|
||||
# this is for qemu upstream's threaded support which is
|
||||
# in development and broken
|
||||
# the kvm project has its own support for threaded IO
|
||||
# which is always on and works
|
||||
# --enable-io-thread \
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Restricting parallel build until we get a patch to fix this
|
||||
emake || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
if [ ! -z "${softmmu_targets}" ]; then
|
||||
exeinto /etc/qemu
|
||||
use qemu-ifup && { doexe \
|
||||
"${FILESDIR}/qemu-ifup" \
|
||||
"${FILESDIR}/qemu-ifdown" \
|
||||
|| die "qemu interface scripts missing" ; }
|
||||
fi
|
||||
|
||||
dodoc Changelog MAINTAINERS TODO pci-ids.txt || die
|
||||
newdoc pc-bios/README README.pc-bios || die
|
||||
dohtml qemu-doc.html qemu-tech.html || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use qemu-ifup || return
|
||||
elog "You will need the Universal TUN/TAP driver compiled into your"
|
||||
elog "kernel or loaded as a module to use the virtual network device"
|
||||
elog "if using -net tap. You will also need support for 802.1d"
|
||||
elog "Ethernet Bridging and a configured bridge if using the provided"
|
||||
elog "qemu-ifup script from /etc/qemu."
|
||||
echo
|
||||
}
|
@ -1,2 +1,4 @@
|
||||
DIST ibus-hangul-1.2.0.20100102.tar.gz 424000 RMD160 3d8bd1ae193bd3c647aeadb5dbda21e5416070a3 SHA1 7483377b7a2108115e9eb3d2c39100971b47b1bb SHA256 4f146655cf75fa978e939708bb9c2a3329480ffd38b39ec738e33bd19b2944db
|
||||
DIST ibus-hangul-1.3.1.tar.gz 431214 RMD160 996172fb00854ae2000b3197707269ebd8d6808e SHA1 e1fb0e0560d8987c3106992693638a298bd2ea1c SHA256 1e5530c1d7add8970f3a98a76a0a2feda06a08d65af56fbba5329a6645915afc
|
||||
DIST ibus-hangul-1.3.2.tar.gz 435057 RMD160 3b27f4f5cc3ea8496513a9d4bd932ebd6e20b9d2 SHA1 c1f5dd0e0f7755457afcaae738d63ebf4514cf54 SHA256 0f6793c61d64461badadb042f0cea184ae69348d8bbfefe976f1e4a63a37a5a3
|
||||
DIST ibus-hangul-1.4.0.tar.gz 439462 RMD160 07ac966ba9f878ead7e17d31a653bd5514098305 SHA1 421d7164a27eeedfea49d54b61e2a5edd4f7d3a7 SHA256 a955ec0c9ea90ecd8e8d0fd2de1596a5ba1186463862c387d74a418d1707ca0a
|
||||
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-hangul/ibus-hangul-1.3.2.ebuild,v 1.1 2012/01/21 03:06:54 matsuu Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2:2.5"
|
||||
|
||||
inherit eutils python
|
||||
|
||||
DESCRIPTION="The Hangul engine for IBus input platform"
|
||||
HOMEPAGE="http://code.google.com/p/ibus/"
|
||||
SRC_URI="http://ibus.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND=">=app-i18n/ibus-1.2.99
|
||||
dev-python/pygobject
|
||||
dev-python/pygtk
|
||||
>=app-i18n/libhangul-0.1
|
||||
nls? ( virtual/libintl )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
nls? ( >=sys-devel/gettext-0.17 )"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# http://pkgs.fedoraproject.org/gitweb/?p=ibus-hangul.git
|
||||
epatch "${FILESDIR}/${PN}-ibus-1.4.patch" || die
|
||||
mv py-compile py-compile.orig || die
|
||||
ln -s "$(type -P true)" py-compile || die
|
||||
sed -i -e "s:python:$(PYTHON -2):" setup/ibus-setup-hangul.in || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable nls) || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize /usr/share/${PN}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup /usr/share/${PN}
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
XIM=kinput2
|
||||
XIM_PROGRAM=@EPREFIX@/usr/bin/kinput2
|
||||
XIM_ARGS="-@SERVER@ +kinput -xim"
|
||||
GTK_IM_MODULE=xim
|
||||
QT_IM_MODULE=xim
|
@ -0,0 +1,75 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/kinput2/kinput2-3.1-r2.ebuild,v 1.1 2012/01/22 11:14:22 matsuu Exp $
|
||||
|
||||
EAPI="3"
|
||||
inherit eutils
|
||||
|
||||
MY_P="${PN}-v${PV}"
|
||||
DESCRIPTION="A Japanese input server which supports the XIM protocol"
|
||||
HOMEPAGE="http://www.nec.co.jp/canna/"
|
||||
SRC_URI="ftp://ftp.sra.co.jp/pub/x11/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="freewnn"
|
||||
|
||||
RDEPEND="freewnn? ( >=app-i18n/freewnn-1.1.1_alpha19 )
|
||||
!freewnn? ( >=app-i18n/canna-3.5_beta2-r1 )
|
||||
x11-libs/libX11
|
||||
x11-libs/libXaw
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXp
|
||||
x11-libs/libXt"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
x11-misc/gccmakedep
|
||||
x11-misc/imake
|
||||
app-text/rman"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-r1-gentoo.diff"
|
||||
|
||||
if use freewnn; then
|
||||
sed -i -e '/\/\* #define UseWnn/s:^:#define UseWnn\n:' Kinput2.conf || die
|
||||
else
|
||||
sed -i -e '/\/\* #define UseCanna/s:^:#define UseCanna\n:' Kinput2.conf || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
xmkmf -a || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
XAPPLOADDIR="${EPREFIX}/usr/share/X11/app-defaults/" \
|
||||
CDEBUGFLAGS="${CFLAGS}" \
|
||||
LOCAL_LDFLAGS="${LDFLAGS}" \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake XAPPLOADDIR="/usr/share/X11/app-defaults/" DESTDIR="${D}" install || die
|
||||
rm -rf "${ED}/usr/lib/X11" || die
|
||||
|
||||
local server
|
||||
if use freewnn; then
|
||||
server="wnn"
|
||||
else
|
||||
server="canna"
|
||||
fi
|
||||
|
||||
insinto /etc/X11/xinit/xinput.d
|
||||
sed \
|
||||
-e "s:@EPREFIX@:${EPREFIX}:g" \
|
||||
-e "s:@SERVER@:${server}:g" \
|
||||
"${FILESDIR}/xinput-kinput2" > "${T}/kinput2.conf" || die
|
||||
doins "${T}/kinput2.conf" || die
|
||||
|
||||
dodoc README NEWS doc/* || die
|
||||
newman cmd/${PN}.man ${PN}.1 || die
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
--- prime-1.0.0.1.orig/src/prime.src 2005-03-07 16:51:34.000000000 +0900
|
||||
+++ prime-1.0.0.1/src/prime.src 2010-05-27 18:44:37.000000000 +0900
|
||||
@@ -12,8 +12,10 @@
|
||||
# the GNU General Public License version 2.
|
||||
#
|
||||
|
||||
+require 'rbconfig'
|
||||
+
|
||||
PRIME_BINDIR = '%bindir%'
|
||||
-PRIME_LIBDIR = '%rubydir%'
|
||||
+PRIME_LIBDIR = Config::CONFIG["sitelibdir"]
|
||||
$LOAD_PATH.unshift(PRIME_LIBDIR) unless $LOAD_PATH.member?(PRIME_LIBDIR)
|
||||
|
||||
require 'getoptlong'
|
@ -0,0 +1,12 @@
|
||||
diff -Naur prime-1.0.0.1.orig//src/Makefile.am prime-1.0.0.1//src/Makefile.am
|
||||
--- prime-1.0.0.1.orig//src/Makefile.am 2004-03-26 02:19:51.000000000 +0900
|
||||
+++ prime-1.0.0.1//src/Makefile.am 2010-05-27 18:29:20.000000000 +0900
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
## FIXME: Consider other commands.
|
||||
## FIXME: (2004-02-05) <komatsu@taiyaki.org>
|
||||
-@PRIME_COMMAND@: $(script_sources) Makefile
|
||||
+$(primelib_SCRIPTS): $(script_sources) Makefile
|
||||
ruby -e " \
|
||||
command_suffixes = ['', \
|
||||
'-userdict-update', '-userdict-convert', \
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/prime/prime-1.0.0.1-r1.ebuild,v 1.1 2012/01/22 11:06:26 matsuu Exp $
|
||||
|
||||
EAPI="3"
|
||||
# don't work with ruby19
|
||||
# jruby: sary-ruby issue
|
||||
# rbx: sary-ruby issue
|
||||
USE_RUBY="ruby18 ree18"
|
||||
inherit autotools eutils ruby-ng
|
||||
|
||||
DESCRIPTION="Japanese PRedictive Input Method Editor"
|
||||
HOMEPAGE="http://taiyaki.org/prime/"
|
||||
SRC_URI="http://prime.sourceforge.jp/src/${P/_/-}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=app-dicts/prime-dict-1.0.0
|
||||
>=dev-libs/suikyo-2.1.0
|
||||
dev-ruby/ruby-progressbar
|
||||
dev-ruby/sary-ruby"
|
||||
|
||||
S="${WORKDIR}/${P/_/-}"
|
||||
|
||||
all_ruby_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}/${P}-parallel.patch" \
|
||||
"${FILESDIR}/${P}-libdir.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
econf \
|
||||
--with-prime-docdir=/usr/share/doc/${PF}/html \
|
||||
--with-rubydir=$(ruby_rbconfig_value 'sitelibdir') || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake || die
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
emake DESTDIR="${D}" install install-etc || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
dodoc AUTHORS ChangeLog NEWS README TODO || die
|
||||
dohtml -r doc/* || die
|
||||
}
|
@ -1,195 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/beagle/beagle-0.3.9-r3.ebuild,v 1.7 2011/03/12 11:51:42 angelos Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit base gnome.org eutils mono mozextension autotools
|
||||
|
||||
DESCRIPTION="Search tool that ransacks your personal information space to find whatever you're looking for"
|
||||
HOMEPAGE="http://www.beagle-project.org/"
|
||||
LICENSE="MIT Apache-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="avahi chm debug doc eds firefox +galago gtk +pdf +inotify +ole thunderbird +google +xscreensaver"
|
||||
|
||||
#See bug 248331 for blocker reason.
|
||||
RDEPEND="!!sci-libs/beagle
|
||||
>=dev-lang/mono-1.9
|
||||
>=app-shells/bash-3.2
|
||||
app-arch/zip
|
||||
>=dev-db/sqlite-3.3.1
|
||||
>=dev-dotnet/ndesk-dbus-0.6.0
|
||||
>=dev-dotnet/ndesk-dbus-glib-0.4.1
|
||||
>=dev-dotnet/taglib-sharp-2.0
|
||||
gtk? (
|
||||
x11-libs/libX11
|
||||
>=gnome-base/librsvg-2.22.0:2
|
||||
sys-devel/gettext
|
||||
>=dev-dotnet/gtk-sharp-2.12.6:2
|
||||
>=dev-dotnet/gconf-sharp-2.24.0:2
|
||||
>=dev-dotnet/glade-sharp-2.12.6:2
|
||||
>=dev-dotnet/gnome-sharp-2.24.0:2
|
||||
>=dev-dotnet/gnomevfs-sharp-2.24.0:2
|
||||
x11-misc/xdg-utils
|
||||
>=x11-libs/gtk+-2.14.0:2
|
||||
>=dev-libs/atk-1.22.0
|
||||
)
|
||||
eds? (
|
||||
>=dev-dotnet/evolution-sharp-0.18.1
|
||||
>=dev-dotnet/gconf-sharp-2.24.0
|
||||
>=dev-dotnet/glib-sharp-2.12.6
|
||||
)
|
||||
ole? (
|
||||
>=app-text/wv-1.2.3
|
||||
>=dev-dotnet/gsf-sharp-0.8.1
|
||||
>=app-office/gnumeric-1.4.3-r3
|
||||
)
|
||||
|
||||
x11-misc/shared-mime-info
|
||||
>=dev-dotnet/glib-sharp-2.12.6:2
|
||||
dev-libs/gmime:2.4[mono]
|
||||
chm? ( dev-libs/chmlib )
|
||||
pdf? ( >=app-text/poppler-0.12.3-r3[utils] )
|
||||
galago? ( >=dev-dotnet/galago-sharp-0.5.0 )
|
||||
thunderbird? (
|
||||
|| (
|
||||
>=mail-client/thunderbird-1.5
|
||||
>=mail-client/thunderbird-bin-1.5
|
||||
)
|
||||
)
|
||||
firefox? (
|
||||
|| (
|
||||
>=www-client/firefox-1.5
|
||||
>=www-client/firefox-bin-1.5
|
||||
)
|
||||
)
|
||||
xscreensaver? ( x11-libs/libXScrnSaver )
|
||||
>=dev-libs/libbeagle-0.3.9
|
||||
avahi? ( >=net-dns/avahi-0.6.10[mono] )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( >=virtual/monodoc-1.2.4 )
|
||||
dev-util/pkgconfig
|
||||
xscreensaver? ( x11-proto/scrnsaverproto )
|
||||
>=dev-util/intltool-0.35"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup beagleindex
|
||||
enewuser beagleindex -1 -1 /var/lib/cache/beagle beagleindex
|
||||
if use thunderbird
|
||||
then
|
||||
if ! use inotify
|
||||
then
|
||||
eerror "You have enabled the thunderbird use flag. This use-flag depends on the inotify use-flag."
|
||||
eerror "Please enable the inotify use-flag also."
|
||||
eerror "See http://bugs.gentoo.org/263781 for more information."
|
||||
die "Please enable the inotify use-flag."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Fix bugs.gnome.org/556243
|
||||
sed -i -e "s:libgnome-desktop-2.so.2:libgnome-desktop-2.so:" \
|
||||
search/Beagle.Search.exe.config || die "gnome-desktop sed failed"
|
||||
|
||||
# Fix when using firefox 3.6
|
||||
epatch "${FILESDIR}/${P}-firefox-3.6.patch"
|
||||
|
||||
# Fix building against gmime-2.4, bug #311499
|
||||
epatch "${FILESDIR}/${P}-gmime24.patch"
|
||||
|
||||
# Remove bogus open check
|
||||
epatch "${FILESDIR}/${P}-openfix.patch"
|
||||
|
||||
# Port to mono-2.6
|
||||
epatch "${FILESDIR}/${P}-mono2.6.patch"
|
||||
|
||||
# Grow/shrink the number beagle-search results based on window size
|
||||
epatch "${FILESDIR}/${P}-grow-shrink.patch"
|
||||
|
||||
# Update tileIndex when removing a tile
|
||||
epatch "${FILESDIR}/${P}-update-tileindex.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --disable-static \
|
||||
--disable-dependency-tracking \
|
||||
--disable-epiphany-extension \
|
||||
$(use_enable debug xml-dump) \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable thunderbird) \
|
||||
$(use_enable eds evolution) \
|
||||
$(use_enable gtk gui) \
|
||||
$(use_enable ole gsf-sharp wv1) \
|
||||
$(use_enable xscreensaver xss) \
|
||||
$(use_enable inotify) \
|
||||
$(use_enable avahi) \
|
||||
$(use_enable google googlebackends)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed."
|
||||
|
||||
dodoc AUTHORS NEWS README || die "dodoc failed"
|
||||
|
||||
declare MOZILLA_FIVE_HOME
|
||||
if use firefox; then
|
||||
xpi_unpack "${S}"/firefox-extension/beagle.xpi \
|
||||
|| die "Unable to find Beagle Firefox Extension"
|
||||
mv "${WORKDIR}"/beagle "${WORKDIR}"/firefox-beagle
|
||||
|
||||
if has_version '>=www-client/firefox-1.5'; then
|
||||
MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-firefox"
|
||||
xpi_install "${WORKDIR}"/firefox-beagle \
|
||||
|| die "xpi install for firefox failed!"
|
||||
fi
|
||||
if has_version '>=www-client/firefox-bin-1.5'; then
|
||||
MOZILLA_FIVE_HOME="/opt/firefox"
|
||||
xpi_install "${WORKDIR}"/firefox-beagle \
|
||||
|| die "xpi install for firefox-bin failed!"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use thunderbird; then
|
||||
xpi_unpack "${S}"/thunderbird-extension/beagle.xpi \
|
||||
|| die "Unable to find Beagle Thunderbird Extension"
|
||||
mv "${WORKDIR}"/beagle "${WORKDIR}"/thunderbird-beagle
|
||||
|
||||
if has_version '>=mail-client/thunderbird-1.5'; then
|
||||
MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-thunderbird"
|
||||
xpi_install "${WORKDIR}"/thunderbird-beagle \
|
||||
|| die "xpi install for thunderbird failed!"
|
||||
fi
|
||||
if has_version '>=mail-client/thunderbird-bin-1.5'; then
|
||||
MOZILLA_FIVE_HOME="/opt/thunderbird"
|
||||
xpi_install "${WORKDIR}"/thunderbird-beagle \
|
||||
|| die "xpi install for thunderbird-bin failed!"
|
||||
fi
|
||||
fi
|
||||
|
||||
sed -i -e 's/CRAWL_ENABLED="yes"/CRAWL_ENABLED="no"/' \
|
||||
"${D}"/etc/beagle/crawl-rules/crawl-*
|
||||
|
||||
insinto /etc/beagle/crawl-rules
|
||||
doins "${FILESDIR}/crawl-portage"
|
||||
|
||||
keepdir "/usr/$(get_libdir)/beagle/Backends"
|
||||
diropts -o beagleindex -g beagleindex
|
||||
keepdir "/var/lib/cache/beagle/indexes"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If available, Beagle greatly benefits from using certain operating"
|
||||
elog "system features such as Extended Attributes and inotify."
|
||||
elog
|
||||
elog "If you want static queryables such as the portage tree and system"
|
||||
elog "documentation you will need to edit the /etc/beagle/crawl-* files"
|
||||
elog "and change CRAWL_ENABLE from 'no' to 'yes'."
|
||||
elog
|
||||
elog "For more info on how to create the optimal beagle environment, and"
|
||||
elog "basic usage info, see the Gentoo page of the Beagle website:"
|
||||
elog "http://www.beagle-project.org/Gentoo_Installation"
|
||||
}
|
@ -1,202 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/beagle/beagle-0.3.9-r4.ebuild,v 1.5 2011/03/12 11:51:42 angelos Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit base gnome.org eutils mono mozextension autotools
|
||||
|
||||
DESCRIPTION="Search tool that ransacks your personal information space to find whatever you're looking for"
|
||||
HOMEPAGE="http://www.beagle-project.org/"
|
||||
LICENSE="MIT Apache-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc x86"
|
||||
IUSE="avahi chm debug doc eds firefox +galago gtk +pdf +inotify +ole thunderbird +google +xscreensaver"
|
||||
|
||||
#See bug 248331 for blocker reason.
|
||||
RDEPEND="!!sci-libs/beagle
|
||||
>dev-lang/mono-2.4
|
||||
>=app-shells/bash-3.2
|
||||
app-arch/zip
|
||||
>=dev-db/sqlite-3.3.1
|
||||
>=dev-dotnet/ndesk-dbus-0.6.0
|
||||
>=dev-dotnet/ndesk-dbus-glib-0.4.1
|
||||
>=dev-dotnet/taglib-sharp-2.0
|
||||
gtk? (
|
||||
x11-libs/libX11
|
||||
>=gnome-base/librsvg-2.22.0:2
|
||||
sys-devel/gettext
|
||||
>=dev-dotnet/gtk-sharp-2.12.6:2
|
||||
>=dev-dotnet/gconf-sharp-2.24.0:2
|
||||
>=dev-dotnet/glade-sharp-2.12.6:2
|
||||
>=dev-dotnet/gnome-sharp-2.24.0:2
|
||||
>=dev-dotnet/gnomevfs-sharp-2.24.0:2
|
||||
x11-misc/xdg-utils
|
||||
>=x11-libs/gtk+-2.14.0:2
|
||||
>=dev-libs/atk-1.22.0
|
||||
)
|
||||
eds? (
|
||||
>=dev-dotnet/evolution-sharp-0.18.1
|
||||
>=dev-dotnet/gconf-sharp-2.24.0:2
|
||||
>=dev-dotnet/glib-sharp-2.12.6:2
|
||||
)
|
||||
ole? (
|
||||
>=app-text/wv-1.2.3
|
||||
>=dev-dotnet/gsf-sharp-0.8.1
|
||||
>=app-office/gnumeric-1.4.3-r3
|
||||
)
|
||||
|
||||
x11-misc/shared-mime-info
|
||||
>=dev-dotnet/glib-sharp-2.12.6:2
|
||||
dev-libs/gmime:2.4[mono]
|
||||
chm? ( dev-libs/chmlib )
|
||||
pdf? ( >=app-text/poppler-0.12.3-r3[utils] )
|
||||
galago? ( >=dev-dotnet/galago-sharp-0.5.0 )
|
||||
thunderbird? (
|
||||
|| (
|
||||
>=mail-client/thunderbird-1.5
|
||||
>=mail-client/thunderbird-bin-1.5
|
||||
)
|
||||
)
|
||||
firefox? (
|
||||
|| (
|
||||
>=www-client/firefox-1.5
|
||||
>=www-client/firefox-bin-1.5
|
||||
)
|
||||
)
|
||||
xscreensaver? ( x11-libs/libXScrnSaver )
|
||||
>=dev-libs/libbeagle-0.3.9
|
||||
avahi? ( >=net-dns/avahi-0.6.10[mono] )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( >=virtual/monodoc-1.2.4 )
|
||||
dev-util/pkgconfig
|
||||
xscreensaver? ( x11-proto/scrnsaverproto )
|
||||
>=dev-util/intltool-0.35"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup beagleindex
|
||||
enewuser beagleindex -1 -1 /var/lib/cache/beagle beagleindex
|
||||
if use thunderbird
|
||||
then
|
||||
if ! use inotify
|
||||
then
|
||||
eerror "You have enabled the thunderbird use flag. This use-flag depends on the inotify use-flag."
|
||||
eerror "Please enable the inotify use-flag also."
|
||||
eerror "See http://bugs.gentoo.org/263781 for more information."
|
||||
die "Please enable the inotify use-flag."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Fix bugs.gnome.org/556243
|
||||
sed -i -e "s:libgnome-desktop-2.so.2:libgnome-desktop-2.so:" \
|
||||
search/Beagle.Search.exe.config || die "gnome-desktop sed failed"
|
||||
|
||||
# Fix when using firefox 3.6
|
||||
epatch "${FILESDIR}/${P}-firefox-3.6.patch"
|
||||
|
||||
# Fix building against gmime-2.4, bug #311499
|
||||
epatch "${FILESDIR}/${P}-gmime24.patch"
|
||||
|
||||
# Remove bogus open check
|
||||
epatch "${FILESDIR}/${P}-openfix.patch"
|
||||
|
||||
# Port to mono-2.6
|
||||
epatch "${FILESDIR}/${P}-mono2.6.patch"
|
||||
|
||||
# Grow/shrink the number beagle-search results based on window size
|
||||
epatch "${FILESDIR}/${P}-grow-shrink.patch"
|
||||
|
||||
# Update tileIndex when removing a tile
|
||||
epatch "${FILESDIR}/${P}-update-tileindex.patch"
|
||||
|
||||
# Support mono-2.8, bug #341195
|
||||
epatch "${FILESDIR}/${P}-mono2.8.patch"
|
||||
|
||||
intltoolize --force --copy --automake || die "intltoolize failed"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --disable-static \
|
||||
--disable-dependency-tracking \
|
||||
--disable-epiphany-extension \
|
||||
$(use_enable debug xml-dump) \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable thunderbird) \
|
||||
$(use_enable eds evolution) \
|
||||
$(use_enable gtk gui) \
|
||||
$(use_enable ole gsf-sharp wv1) \
|
||||
$(use_enable xscreensaver xss) \
|
||||
$(use_enable inotify) \
|
||||
$(use_enable avahi) \
|
||||
$(use_enable google googlebackends)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" install || die "emake install failed."
|
||||
|
||||
dodoc AUTHORS NEWS README || die "dodoc failed"
|
||||
|
||||
declare MOZILLA_FIVE_HOME
|
||||
if use firefox; then
|
||||
xpi_unpack "${S}"/firefox-extension/beagle.xpi \
|
||||
|| die "Unable to find Beagle Firefox Extension"
|
||||
mv "${WORKDIR}"/beagle "${WORKDIR}"/firefox-beagle
|
||||
|
||||
if has_version '>=www-client/firefox-1.5'; then
|
||||
MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-firefox"
|
||||
xpi_install "${WORKDIR}"/firefox-beagle \
|
||||
|| die "xpi install for firefox failed!"
|
||||
fi
|
||||
if has_version '>=www-client/firefox-bin-1.5'; then
|
||||
MOZILLA_FIVE_HOME="/opt/firefox"
|
||||
xpi_install "${WORKDIR}"/firefox-beagle \
|
||||
|| die "xpi install for firefox-bin failed!"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use thunderbird; then
|
||||
xpi_unpack "${S}"/thunderbird-extension/beagle.xpi \
|
||||
|| die "Unable to find Beagle Thunderbird Extension"
|
||||
mv "${WORKDIR}"/beagle "${WORKDIR}"/thunderbird-beagle
|
||||
|
||||
if has_version '>=mail-client/thunderbird-1.5'; then
|
||||
MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-thunderbird"
|
||||
xpi_install "${WORKDIR}"/thunderbird-beagle \
|
||||
|| die "xpi install for thunderbird failed!"
|
||||
fi
|
||||
if has_version '>=mail-client/thunderbird-bin-1.5'; then
|
||||
MOZILLA_FIVE_HOME="/opt/thunderbird"
|
||||
xpi_install "${WORKDIR}"/thunderbird-beagle \
|
||||
|| die "xpi install for thunderbird-bin failed!"
|
||||
fi
|
||||
fi
|
||||
|
||||
sed -i -e 's/CRAWL_ENABLED="yes"/CRAWL_ENABLED="no"/' \
|
||||
"${ED}"/etc/beagle/crawl-rules/crawl-*
|
||||
|
||||
insinto /etc/beagle/crawl-rules
|
||||
doins "${FILESDIR}/crawl-portage"
|
||||
|
||||
keepdir "/usr/$(get_libdir)/beagle/Backends"
|
||||
diropts -o beagleindex -g beagleindex
|
||||
keepdir "/var/lib/cache/beagle/indexes"
|
||||
|
||||
find "${ED}" -name "*.la" -delete || die "remove of la files failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If available, Beagle greatly benefits from using certain operating"
|
||||
elog "system features such as Extended Attributes and inotify."
|
||||
elog
|
||||
elog "If you want static queryables such as the portage tree and system"
|
||||
elog "documentation you will need to edit the /etc/beagle/crawl-* files"
|
||||
elog "and change CRAWL_ENABLE from 'no' to 'yes'."
|
||||
elog
|
||||
elog "For more info on how to create the optimal beagle environment, and"
|
||||
elog "basic usage info, see the Gentoo page of the Beagle website:"
|
||||
elog "http://www.beagle-project.org/Gentoo_Installation"
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.5.ebuild,v 1.1 2012/01/21 06:04:11 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
|
||||
HOMEPAGE="https://launchpad.net/byobu"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="|| ( app-misc/screen app-misc/tmux )
|
||||
dev-libs/newt"
|
||||
|
||||
src_prepare() {
|
||||
python_convert_shebangs -r 2 .
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
# Create symlinks for backends
|
||||
dosym ${PN} /usr/bin/${PN}-screen
|
||||
dosym ${PN} /usr/bin/${PN}-tmux
|
||||
}
|
@ -0,0 +1,97 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-9999.ebuild,v 1.1 2012/01/21 17:22:14 slyfox Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://midnight-commander.org/git/mc.git"
|
||||
LIVE_ECLASSES="git-2 autotools"
|
||||
LIVE_EBUILD=yes
|
||||
fi
|
||||
|
||||
inherit flag-o-matic ${LIVE_ECLASSES}
|
||||
|
||||
if [[ -n ${LIVE_EBUILD} ]]; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://www.midnight-commander.org/downloads/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="GNU Midnight Commander is a text based file manager"
|
||||
HOMEPAGE="http://www.midnight-commander.org"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="+edit gpm mclib +ncurses nls samba slang test X +xdg"
|
||||
|
||||
REQUIRED_USE="^^ ( ncurses slang )"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.8:2
|
||||
gpm? ( sys-libs/gpm )
|
||||
kernel_linux? ( sys-fs/e2fsprogs )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
samba? ( net-fs/samba )
|
||||
slang? ( >=sys-libs/slang-2 )
|
||||
X? ( x11-libs/libX11
|
||||
x11-libs/libICE
|
||||
x11-libs/libXau
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libSM )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
dev-util/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
test? ( dev-libs/check )
|
||||
"
|
||||
|
||||
[[ -n ${LIVE_EBUILD} ]] && DEPEND="${DEPEND} dev-vcs/cvs" # needed only for SCM source tree (autopoint uses cvs)
|
||||
|
||||
src_prepare() {
|
||||
[[ -n ${LIVE_EBUILD} ]] && ./autogen.sh
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myscreen=ncurses
|
||||
use slang && myscreen=slang
|
||||
[[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket"
|
||||
|
||||
local homedir=".mc"
|
||||
use xdg && homedir="XDG"
|
||||
|
||||
econf \
|
||||
--disable-dependency-tracking \
|
||||
$(use_enable nls) \
|
||||
--enable-vfs \
|
||||
$(use_enable kernel_linux vfs-undelfs) \
|
||||
--enable-charset \
|
||||
$(use_with X x) \
|
||||
$(use_enable samba vfs-smb) \
|
||||
$(use_with gpm gpm-mouse) \
|
||||
--with-screen=${myscreen} \
|
||||
$(use_with edit) \
|
||||
$(use_enable mclib) \
|
||||
$(use_enable test tests) \
|
||||
--with-homedir=${homedir}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc AUTHORS README NEWS
|
||||
|
||||
# fix bug #334383
|
||||
if use kernel_linux && [[ ${EUID} == 0 ]] ; then
|
||||
fowners root:tty /usr/libexec/mc/cons.saver ||
|
||||
die "setting cons.saver's owner failed"
|
||||
fperms g+s /usr/libexec/mc/cons.saver ||
|
||||
die "setting cons.saver's permissions failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "To enable exiting to latest working directory,"
|
||||
elog "put this into your ~/.bashrc:"
|
||||
elog ". ${EPREFIX}/usr/libexec/mc/mc.sh"
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST strigi-0.7.1.tar.bz2 936454 RMD160 4dac3c3e8937dc1e0ea5cc759c95d64ba4e24898 SHA1 9e05a875a1c62ebb5c0c59bf2114253cd1bc2a07 SHA256 d1830506da50262c80d5a3b55ee7821b132184cbd251c527db8d9d76a9242ab3
|
||||
DIST strigi-0.7.6.tar.xz 696840 RMD160 39762730461327ba9e17e5b9e5a7bfbb4338940d SHA1 165e352a539cf3bc821e4681e0b070bbffd161e7 SHA256 bcd2eaed7256caa084e5cfff6f3ed6a9a7ca0a2544e07f9447b24b71e571e043
|
||||
DIST strigi-0.7.7.tar.xz 698312 RMD160 473fc190c003ea07b74b0e309052d65b220ec635 SHA1 31e80a5d762ab20391d07080ddb035f9b91a233f SHA256 de35cb6c4e909f88fa39649fdf3b5ebc2908e0c7311c305cdd93b42b4801d817
|
||||
|
@ -1,166 +0,0 @@
|
||||
diff -ruN strigi-0.7.5.orig/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp strigi-0.7.5/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp
|
||||
--- strigi-0.7.5.orig/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp 2011-06-02 11:29:26.000000000 +0200
|
||||
+++ strigi-0.7.5/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp 2011-08-02 23:25:04.936181179 +0200
|
||||
@@ -1,6 +1,7 @@
|
||||
/* This file is part of Strigi Desktop Search
|
||||
*
|
||||
* Copyright (C) 2010 Evgeny Egorochkin <phreedom.stdin@gmail.com>
|
||||
+ * Copyright (C) 2011 Tirtha Chatterjee <tirtha.p.chatterjee@gmail.com>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Library General Public
|
||||
@@ -348,7 +349,7 @@
|
||||
if ((size = in->size()) >= 0)
|
||||
ar.addValue(factory->durationProperty, (uint32_t)(size/(fc->bit_rate/8)));
|
||||
}
|
||||
- if(fc->nb_streams==1 && fc->streams[0]->codec->codec_type == CODEC_TYPE_AUDIO) {
|
||||
+ if(fc->nb_streams==1 && fc->streams[0]->codec->codec_type == AVMEDIA_TYPE_AUDIO) {
|
||||
ar.addValue(factory->typeProperty, NFO "Audio");
|
||||
ar.addValue(factory->typeProperty, NMM_DRAFT "MusicPiece");
|
||||
} else {
|
||||
@@ -359,7 +360,7 @@
|
||||
const AVStream &stream = *fc->streams[i];
|
||||
const AVCodecContext &codec = *stream.codec;
|
||||
|
||||
- if (codec.codec_type == CODEC_TYPE_AUDIO || codec.codec_type == CODEC_TYPE_VIDEO) {
|
||||
+ if (codec.codec_type == AVMEDIA_TYPE_AUDIO || codec.codec_type == AVMEDIA_TYPE_VIDEO) {
|
||||
const string streamuri = ar.newAnonymousUri();
|
||||
ar.addValue(factory->hasPartProperty, streamuri);
|
||||
ar.addTriplet(streamuri, partOfPropertyName, ar.path());
|
||||
@@ -370,8 +371,16 @@
|
||||
outs << (stream.duration * stream.time_base.num / stream.time_base.den);
|
||||
ar.addTriplet(streamuri, durationPropertyName,outs.str());
|
||||
}
|
||||
- if (size_t len = strlen(stream.language)) {
|
||||
- ar.addTriplet(streamuri, languagePropertyName, string(stream.language, len));
|
||||
+
|
||||
+ //FIXME we must stop using the deprecated fuction av_metadata_get and use
|
||||
+ // av_dict_get once we are able to detect the version of FFMpeg being used
|
||||
+ // using version macros. same goes for all occurences of this function.
|
||||
+ AVMetadataTag *entry = av_metadata_get(stream.metadata, "language", NULL, 0);
|
||||
+ if (entry != NULL) {
|
||||
+ const char *languageValue = entry->value;
|
||||
+ if (size_t len = strlen(languageValue)) {
|
||||
+ ar.addTriplet(streamuri, languagePropertyName, string(languageValue, len));
|
||||
+ }
|
||||
}
|
||||
const AVCodec *p = avcodec_find_decoder(codec.codec_id);
|
||||
if (p) {
|
||||
@@ -408,7 +417,7 @@
|
||||
ar.addTriplet(streamuri, bitratePropertyName, outs.str());
|
||||
}
|
||||
|
||||
- if (codec.codec_type == CODEC_TYPE_AUDIO) {
|
||||
+ if (codec.codec_type == AVMEDIA_TYPE_AUDIO) {
|
||||
|
||||
ar.addTriplet(streamuri, typePropertyName, audioClassName);
|
||||
if (codec.channels) {
|
||||
@@ -458,36 +467,83 @@
|
||||
}
|
||||
|
||||
// Tags
|
||||
-
|
||||
- if (int32_t len = strlen(fc->title)) {
|
||||
- ar.addValue(factory->titleProperty, string(fc->title, len) );
|
||||
+
|
||||
+ AVMetadataTag *entry = av_metadata_get(fc->metadata, "title", NULL, 0);
|
||||
+ if (entry != NULL)
|
||||
+ {
|
||||
+ const char *titleValue = entry->value;
|
||||
+ if (int32_t len = strlen(titleValue)) {
|
||||
+ ar.addValue(factory->titleProperty, string(titleValue, len) );
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ entry = av_metadata_get(fc->metadata, "author", NULL, 0);
|
||||
+ if (entry != NULL)
|
||||
+ {
|
||||
+ const char *authorValue = entry->value;
|
||||
+ if (int32_t len = strlen(authorValue)) {
|
||||
+ const string creatoruri = ar.newAnonymousUri();
|
||||
+ ar.addValue(factory->creatorProperty, creatoruri);
|
||||
+ ar.addTriplet(creatoruri, typePropertyName, contactClassName);
|
||||
+ ar.addTriplet(creatoruri, fullnamePropertyName, string(authorValue, len) );
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ entry = av_metadata_get(fc->metadata, "copyright", NULL, 0);
|
||||
+ if (entry != NULL)
|
||||
+ {
|
||||
+ const char *copyrightValue = entry->value;
|
||||
+ if (int32_t len = strlen(copyrightValue)) {
|
||||
+ ar.addValue(factory->copyrightProperty, string(copyrightValue, len) );
|
||||
+ }
|
||||
}
|
||||
- if (int32_t len = strlen(fc->author)) {
|
||||
- const string creatoruri = ar.newAnonymousUri();
|
||||
- ar.addValue(factory->creatorProperty, creatoruri);
|
||||
- ar.addTriplet(creatoruri, typePropertyName, contactClassName);
|
||||
- ar.addTriplet(creatoruri, fullnamePropertyName, string(fc->author, len) );
|
||||
- }
|
||||
- if (int32_t len = strlen(fc->copyright)) {
|
||||
- ar.addValue(factory->copyrightProperty, string(fc->copyright, len) );
|
||||
- }
|
||||
- if (int32_t len = strlen(fc->comment)) {
|
||||
- ar.addValue(factory->commentProperty, string(fc->comment, len) );
|
||||
- }
|
||||
- if (int32_t len = strlen(fc->album)) {
|
||||
- const string album = ar.newAnonymousUri();
|
||||
- ar.addValue(factory->albumProperty, album);
|
||||
+
|
||||
+ entry = av_metadata_get(fc->metadata, "comment", NULL, 0);
|
||||
+ if (entry != NULL)
|
||||
+ {
|
||||
+ const char *commentValue = entry->value;
|
||||
+ if (int32_t len = strlen(commentValue)) {
|
||||
+ ar.addValue(factory->commentProperty, string(commentValue, len) );
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ entry = av_metadata_get(fc->metadata, "album", NULL, 0);
|
||||
+ if (entry != NULL)
|
||||
+ {
|
||||
+ const char *albumValue = entry->value;
|
||||
+ if (int32_t len = strlen(albumValue)) {
|
||||
+ const string album = ar.newAnonymousUri();
|
||||
+ ar.addValue(factory->albumProperty, album);
|
||||
ar.addTriplet(album, typePropertyName, albumClassName);
|
||||
- ar.addTriplet(album, titlePropertyName, string(fc->album, len) );
|
||||
+ ar.addTriplet(album, titlePropertyName, string(albumValue, len) );
|
||||
+ }
|
||||
}
|
||||
- if (int32_t len = strlen(fc->genre)) {
|
||||
- ar.addValue(factory->genreProperty, string(fc->genre, len) );
|
||||
+
|
||||
+ entry = av_metadata_get(fc->metadata, "genre", NULL, 0);
|
||||
+ if (entry != NULL)
|
||||
+ {
|
||||
+ const char *genreValue = entry->value;
|
||||
+ if (int32_t len = strlen(genreValue)) {
|
||||
+ ar.addValue(factory->genreProperty, string(genreValue, len) );
|
||||
+ }
|
||||
}
|
||||
- if (fc->track) {
|
||||
- ar.addValue(factory->trackProperty, fc->track);
|
||||
+
|
||||
+ entry = av_metadata_get(fc->metadata, "track", NULL, 0);
|
||||
+ if (entry != NULL)
|
||||
+ {
|
||||
+ const char *trackValue = entry->value;
|
||||
+ if (int32_t len = strlen(trackValue)) {
|
||||
+ ar.addValue(factory->trackProperty, string(trackValue, len) );
|
||||
+ }
|
||||
}
|
||||
- if (fc->year) {
|
||||
- ar.addValue(factory->createdProperty, fc->year);
|
||||
+
|
||||
+ entry = av_metadata_get(fc->metadata, "year", NULL, 0);
|
||||
+ if (entry != NULL)
|
||||
+ {
|
||||
+ const char *yearValue = entry->value;
|
||||
+ if (int32_t len = strlen(yearValue)) {
|
||||
+ ar.addValue(factory->createdProperty, string(yearValue, len) );
|
||||
+ }
|
||||
}
|
||||
|
||||
av_close_input_stream(fc);
|
@ -1,11 +0,0 @@
|
||||
--- strigiclient/lib/CMakeLists.txt.orig 2011-07-13 19:57:19.000000000 +0200
|
||||
+++ strigiclient/lib/CMakeLists.txt 2011-07-13 19:59:15.000000000 +0200
|
||||
@@ -1,4 +1,7 @@
|
||||
if(NOT WIN32)
|
||||
add_subdirectory(htmlgui)
|
||||
endif(NOT WIN32)
|
||||
-add_subdirectory(searchclient)
|
||||
+
|
||||
+if(QT4_FOUND)
|
||||
+ add_subdirectory(searchclient)
|
||||
+endif(QT4_FOUND)
|
@ -1,27 +0,0 @@
|
||||
this was originally (now adapted for gentoo)
|
||||
commit 23d5ce636b7897dc3f233a5293f3164dac50566d
|
||||
Author: Jos van den Oever <jos@vandenoever.info>
|
||||
Date: Sun Jul 31 12:32:44 2011 +0200
|
||||
|
||||
Revert patch that breaks parsing of PDF files.
|
||||
The offending patch was 672c8b7b3cb4400bc505421f4cc70cf742ed9df0.
|
||||
|
||||
diff -ruN strigi-0.7.6.orig/libstreamanalyzer/lib/pdf/pdfparser.cpp strigi-0.7.6/libstreamanalyzer/lib/pdf/pdfparser.cpp
|
||||
--- strigi-0.7.6.orig/libstreamanalyzer/lib/pdf/pdfparser.cpp 2011-07-26 19:12:39.000000000 +0200
|
||||
+++ strigi-0.7.6/libstreamanalyzer/lib/pdf/pdfparser.cpp 2011-10-19 00:18:51.583639819 +0200
|
||||
@@ -35,12 +35,13 @@
|
||||
PdfParser::read(int32_t min, int32_t max) {
|
||||
int32_t off = (int32_t)(pos-start);
|
||||
int32_t d = (int32_t)(stream->position() - bufferStart);
|
||||
- bufferStart += off;
|
||||
+ min += d;
|
||||
+ if (max > 0) max += d;
|
||||
stream->reset(bufferStart);
|
||||
int32_t n = stream->read(start, min, max);
|
||||
// printf("objstart %i %i\n", d, n);
|
||||
if (n < min) return stream->status();
|
||||
- pos = start;
|
||||
+ pos = start + off;
|
||||
end = start + n;
|
||||
return Ok;
|
||||
}
|
@ -1,94 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/strigi/strigi-0.7.6-r1.ebuild,v 1.4 2011/12/23 23:32:40 johu Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
if [[ "${PV}" != "9999" ]]; then
|
||||
SRC_URI="http://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.xz"
|
||||
KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
else
|
||||
EGIT_REPO_URI="git://anongit.kde.org/strigi"
|
||||
GIT_ECLASS="git-2"
|
||||
EGIT_HAS_SUBMODULES="true"
|
||||
KEYWORDS=""
|
||||
fi
|
||||
|
||||
inherit cmake-utils ${GIT_ECLASS}
|
||||
|
||||
DESCRIPTION="Fast crawling desktop search engine with Qt4 GUI"
|
||||
HOMEPAGE="https://projects.kde.org/projects/kdesupport/strigi/strigi"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="clucene +dbus debug exif fam ffmpeg hyperestraier inotify log +qt4 test"
|
||||
|
||||
COMMONDEPEND="
|
||||
app-arch/bzip2:0
|
||||
dev-libs/libxml2:2
|
||||
sys-libs/zlib:0
|
||||
virtual/libiconv
|
||||
clucene? ( >=dev-cpp/clucene-0.9.21[-debug] )
|
||||
dbus? (
|
||||
sys-apps/dbus
|
||||
qt4? ( x11-libs/qt-dbus:4 )
|
||||
)
|
||||
exif? ( >=media-gfx/exiv2-0.17 )
|
||||
fam? ( virtual/fam )
|
||||
ffmpeg? ( virtual/ffmpeg )
|
||||
hyperestraier? ( app-text/hyperestraier )
|
||||
log? ( >=dev-libs/log4cxx-0.10.0 )
|
||||
qt4? (
|
||||
x11-libs/qt-core:4
|
||||
x11-libs/qt-gui:4
|
||||
)
|
||||
"
|
||||
DEPEND="${COMMONDEPEND}
|
||||
dev-libs/boost
|
||||
test? ( dev-util/cppunit )"
|
||||
RDEPEND=${COMMONDEPEND}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.7.5-no-qt4.patch"
|
||||
"${FILESDIR}/${PN}-0.7.6-crash.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
# Enabled: POLLING (only reliable way to check for files changed.)
|
||||
# Disabled: xine - recommended upstream to keep it this way
|
||||
mycmakeargs=(
|
||||
-DENABLE_POLLING=ON
|
||||
-DFORCE_DEPS=ON
|
||||
-DENABLE_CPPUNIT=OFF
|
||||
-DENABLE_REGENERATEXSD=OFF
|
||||
-DENABLE_XINE=OFF
|
||||
$(cmake-utils_use_enable clucene)
|
||||
$(cmake-utils_use_enable dbus)
|
||||
$(cmake-utils_use_enable exif EXIV2)
|
||||
$(cmake-utils_use_enable fam)
|
||||
$(cmake-utils_use_enable ffmpeg)
|
||||
$(cmake-utils_use_enable hyperestraier)
|
||||
$(cmake-utils_use_enable inotify)
|
||||
$(cmake-utils_use_enable log LOG4CXX)
|
||||
$(cmake-utils_use_enable qt4)
|
||||
$(cmake-utils_use_enable test CPPUNIT)
|
||||
)
|
||||
|
||||
if use qt4; then
|
||||
mycmakeargs+=(-DENABLE_DBUS=ON)
|
||||
fi
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use clucene && ! use hyperestraier; then
|
||||
echo
|
||||
elog "Because you didn't enable either of the available backends:"
|
||||
elog "clucene or hyperestraier, strigi may not be functional."
|
||||
elog "If you intend to use standalone strigi indexer (not needed for KDE),"
|
||||
elog "be sure to reinstall app-misc/strigi with either clucene (recommended)"
|
||||
elog "or hyperestraier (unreliable) USE flag enabled."
|
||||
echo
|
||||
fi
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST tasque-0.1.8.tar.bz2 462945 RMD160 b9b126bd907c9f8386a9b157ea5db1f6e16412f5 SHA1 02eabde5ec9f0d37fa700942689f2962dd81bee2 SHA256 15650e043009524519d1acc34abcb5f15a9b5b0b43ef2f83f19a979cc921c7d0
|
||||
DIST tasque-0.1.9.tar.bz2 478805 RMD160 4faf23be03ce7088d8937fd35a6bc741bbf82148 SHA1 ef5383c7368998b5019f79b46ea967d37167496d SHA256 1749b0c5a60d74f05f36193ff4aaf5b130ed3a47726f0b8e48c712805d1341af
|
||||
|
@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/tasque/tasque-0.1.8.ebuild,v 1.5 2011/03/12 11:53:20 angelos Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit gnome.org mono autotools
|
||||
|
||||
DESCRIPTION="Tasky is a simple task management app (TODO list) for the Linux Desktop"
|
||||
HOMEPAGE="http://live.gnome.org/Tasque"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="+rememberthemilk eds +sqlite hiveminder debug"
|
||||
|
||||
RDEPEND=">=dev-dotnet/gtk-sharp-2.12.7-r5
|
||||
>=dev-dotnet/gnome-sharp-2.24.0
|
||||
>=dev-dotnet/notify-sharp-0.4.0_pre20080912
|
||||
>=dev-dotnet/ndesk-dbus-0.6
|
||||
>=dev-dotnet/ndesk-dbus-glib-0.4
|
||||
eds? ( >=dev-dotnet/evolution-sharp-0.18.1 )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
BACKEND=false
|
||||
for usef in eds sqlite hiveminder rememberthemilk
|
||||
do
|
||||
use $usef && BACKEND=true
|
||||
done
|
||||
if [[ "${BACKEND}" != "true" ]]
|
||||
then
|
||||
eerror "You must select one of the following backends by enabling their useflag:"
|
||||
eerror "eds ( integrates with the evolution schedule )"
|
||||
eerror "sqlite ( uses a local, file-backed database to keep track of your TODO list )"
|
||||
eerror "rememberthemilk ( integrates with www.rememberthemilk.com )"
|
||||
eerror "hiveminder ( integrates with www.hiveminder.com )"
|
||||
die "Please select a backend"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
#http://bugzilla.gnome.org/show_bug.cgi?id=566355
|
||||
epatch "${FILESDIR}"/${P}-debug-fixup.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
#http://bugzilla.gnome.org/show_bug.cgi?id=568910
|
||||
export GTK_DOTNET_20_LIBS=" " \
|
||||
GTK_DOTNET_20_CFLAGS=" "
|
||||
econf --disable-backend-icecore \
|
||||
--enable-backend-rtm \
|
||||
$(use_enable sqlite backend-sqlite) \
|
||||
$(use_enable eds backend-eds) \
|
||||
$(use_enable hiveminder backend-hiveminder) \
|
||||
$(use_enable debug)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die "emake failed"
|
||||
dodoc NEWS TODO README AUTHORS || die "docs installation failed"
|
||||
mv_command="cp -pPR" mono_multilib_comply
|
||||
}
|
@ -1,102 +0,0 @@
|
||||
# Copyright 1999-2011 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.5.2-r1.ebuild,v 1.1 2011/12/20 23:43:57 johu Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="The server part of Akonadi"
|
||||
HOMEPAGE="http://pim.kde.org/akonadi"
|
||||
SRC_URI="mirror://kde/stable/${PN/-server/}/src/${P/-server/}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
SLOT="0"
|
||||
IUSE="mysql postgres +sqlite test"
|
||||
|
||||
CDEPEND="
|
||||
dev-libs/boost
|
||||
>=dev-libs/soprano-2.2
|
||||
>=x11-libs/qt-gui-4.5.0:4[dbus]
|
||||
>=x11-libs/qt-sql-4.5.0:4[mysql?,postgres?]
|
||||
>=x11-libs/qt-test-4.5.0:4
|
||||
x11-misc/shared-mime-info
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-libs/libxslt
|
||||
>=dev-util/automoc-0.9.88
|
||||
"
|
||||
RDEPEND="${CDEPEND}
|
||||
postgres? ( dev-db/postgresql-server )
|
||||
"
|
||||
|
||||
REQUIRED_USE="|| ( sqlite mysql postgres )"
|
||||
|
||||
S=${WORKDIR}/${P/-server/}
|
||||
|
||||
pkg_setup() {
|
||||
# Set default storage backend in order: SQLite, MySQL, PostgreSQL
|
||||
# reverse driver check to keep the order
|
||||
|
||||
if use postgres; then
|
||||
DRIVER="QPSQL"
|
||||
AVAILABLE+=" ${DRIVER}"
|
||||
fi
|
||||
|
||||
if use mysql; then
|
||||
DRIVER="QMYSQL"
|
||||
AVAILABLE+=" ${DRIVER}"
|
||||
fi
|
||||
|
||||
if use sqlite; then
|
||||
DRIVER="QSQLITE3"
|
||||
AVAILABLE+=" ${DRIVER}"
|
||||
fi
|
||||
|
||||
# Notify about driver name change
|
||||
if use sqlite && has_version "<=${CATEGORY}/${PN}-1.4.0[sqlite]"; then
|
||||
ewarn
|
||||
ewarn "SQLite driver name changed from QSQLITE to QSQLITE3."
|
||||
ewarn "Please edit your ~/.config/akonadi/akonadiserverrc."
|
||||
fi
|
||||
|
||||
# Notify about MySQL not being default anymore
|
||||
if ! use mysql && has_version "<=${CATEGORY}/${PN}-1.4.0[mysql]"; then
|
||||
ewarn
|
||||
ewarn "MySQL driver is not enabled by default in Gentoo anymore."
|
||||
ewarn "If you intend to use it, please enable mysql USE flag and reinstall"
|
||||
ewarn "${CATEGORY}/${PN}."
|
||||
ewarn "Otherwise select different driver in your ~/.config/akonadi/akonadiserverrc."
|
||||
ewarn "Available drivers are:${AVAILABLE}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
"-DAKONADI_USE_STRIGI_SEARCH=OFF"
|
||||
$(cmake-utils_use test AKONADI_BUILD_TESTS)
|
||||
$(cmake-utils_use sqlite INSTALL_QSQLITE_IN_QT_PREFIX)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Who knows, maybe it accidentally fixes our permission issues
|
||||
cat <<-EOF > "${T}"/akonadiserverrc
|
||||
[%General]
|
||||
Driver=${DRIVER}
|
||||
EOF
|
||||
insinto /usr/share/config/akonadi
|
||||
doins "${T}"/akonadiserverrc
|
||||
|
||||
cmake-utils_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
elog "${DRIVER} has been set as your default akonadi storage backend."
|
||||
elog "You can override it in your ~/.config/akonadi/akonadiserverrc."
|
||||
elog "Available drivers are: ${AVAILABLE}"
|
||||
}
|
@ -1,96 +0,0 @@
|
||||
# Copyright 1999-2011 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.6.2.ebuild,v 1.4 2011/12/07 22:06:37 hwoarang Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="The server part of Akonadi"
|
||||
HOMEPAGE="http://pim.kde.org/akonadi"
|
||||
SRC_URI="mirror://kde/stable/${PN/-server/}/src/${P/-server/}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
|
||||
SLOT="0"
|
||||
IUSE="mysql postgres +sqlite test"
|
||||
|
||||
CDEPEND="
|
||||
dev-libs/boost
|
||||
>=dev-libs/soprano-2.6.51
|
||||
>=x11-libs/qt-gui-4.5.0:4[dbus]
|
||||
>=x11-libs/qt-sql-4.5.0:4[mysql?,postgres?]
|
||||
>=x11-libs/qt-test-4.5.0:4
|
||||
x11-misc/shared-mime-info
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-libs/libxslt
|
||||
>=dev-util/automoc-0.9.88
|
||||
"
|
||||
RDEPEND="${CDEPEND}
|
||||
postgres? ( dev-db/postgresql-server )
|
||||
"
|
||||
|
||||
REQUIRED_USE="|| ( sqlite mysql postgres )"
|
||||
|
||||
S=${WORKDIR}/${P/-server/}
|
||||
|
||||
pkg_setup() {
|
||||
# Set default storage backend in order: SQLite, MySQL, PostgreSQL
|
||||
if use sqlite; then
|
||||
DRIVER="QSQLITE3"
|
||||
AVAILABLE+=" ${driver}"
|
||||
elif use mysql; then
|
||||
DRIVER="QMYSQL"
|
||||
AVAILABLE+=" ${driver}"
|
||||
elif use postgres; then
|
||||
DRIVER="QPSQL"
|
||||
AVAILABLE+=" ${driver}"
|
||||
fi
|
||||
|
||||
# Notify about driver name change
|
||||
if use sqlite && has_version "<=${CATEGORY}/${PN}-1.4.0[sqlite]"; then
|
||||
ewarn
|
||||
ewarn "SQLite driver name changed from QSQLITE to QSQLITE3."
|
||||
ewarn "Please edit your ~/.config/akonadi/akonadiserverrc."
|
||||
fi
|
||||
|
||||
# Notify about MySQL not being default anymore
|
||||
if ! use mysql && has_version "<=${CATEGORY}/${PN}-1.4.0[mysql]"; then
|
||||
ewarn
|
||||
ewarn "MySQL driver is not enabled by default in Gentoo anymore."
|
||||
ewarn "If you intend to use it, please enable mysql USE flag and reinstall"
|
||||
ewarn "${CATEGORY}/${PN}."
|
||||
ewarn "Otherwise select different driver in your ~/.config/akonadi/akonadiserverrc."
|
||||
ewarn "Available drivers are:${AVAILABLE}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
"-DAKONADI_USE_STRIGI_SEARCH=OFF"
|
||||
$(cmake-utils_use test AKONADI_BUILD_TESTS)
|
||||
$(cmake-utils_use sqlite INSTALL_QSQLITE_IN_QT_PREFIX)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Who knows, maybe it accidentally fixes our permission issues
|
||||
cat <<-EOF > "${T}"/akonadiserverrc
|
||||
[%General]
|
||||
Driver=${DRIVER}
|
||||
EOF
|
||||
insinto /usr/share/config/akonadi
|
||||
doins "${T}"/akonadiserverrc
|
||||
|
||||
cmake-utils_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
elog "${DRIVER} has been set as your default akonadi storage backend."
|
||||
elog "You can override it in your ~/.config/akonadi/akonadiserverrc."
|
||||
elog "Available drivers are: ${AVAILABLE}"
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST calibre-0.8.34.tar.xz 22016360 RMD160 a74a1768c2df5edf016f34e15523c3c8dd5ed902 SHA1 3e24379b6e9402311eb3673ca98e5964c50710c1 SHA256 33ce60f601cc4a9bb95ef4acac3b8cffa82b544acc515515bb3e47e032912234
|
||||
DIST calibre-0.8.35.tar.xz 23557860 RMD160 d445ed6deb4c7d9586799eef307f4d15a96486ef SHA1 3a1fa9d9096998a9bc0b811b769d9e60eec10dc4 SHA256 3ddd9c0f332bfaebca9de6dd0cc6b59e13cf38931532eddfa8e317d078711337
|
||||
DIST calibre-0.8.36.tar.xz 23581852 RMD160 7ae9a76e8bbb9a4ed8c0bd521bda397a61e473ba SHA1 f034f374e6017a110cbfe58898d22d44a9591f6b SHA256 ee62498fd310e0dd66a8b29ead038e12057eee34f4c0238d3993819f13c8eaa5
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue