parent
33a23d5116
commit
c95bb14a36
@ -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-admin/eselect-opengl/eselect-opengl-1.2.6.1.ebuild,v 1.1 2012/06/13 16:06:04 lu_zero Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Utility to change the OpenGL interface being used"
|
||||
HOMEPAGE="http://www.gentoo.org/"
|
||||
|
||||
# Source:
|
||||
# http://www.opengl.org/registry/api/glext.h
|
||||
# http://www.opengl.org/registry/api/glxext.h
|
||||
GLEXT="75"
|
||||
GLXEXT="33"
|
||||
|
||||
MIRROR="http://dev.gentooexperimental.org/~scarabeus/"
|
||||
SRC_URI="${MIRROR}/glext.h.${GLEXT}.xz
|
||||
${MIRROR}/glxext.h.${GLXEXT}.xz
|
||||
http://dev.gentoo.org/~lu_zero/distfiles/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/xz-utils"
|
||||
RDEPEND=">=app-admin/eselect-1.2.4
|
||||
!<media-libs/mesa-8.0.3-r1
|
||||
!<x11-proto/glproto-1.4.15-r1"
|
||||
|
||||
pkg_postinst() {
|
||||
local impl="$(eselect opengl show)"
|
||||
if [[ -n "${impl}" && "${impl}" != '(none)' ]] ; then
|
||||
eselect opengl set "${impl}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# don't die on Darwin users
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
sed -i -e 's/libGL\.so/libGL.dylib/' opengl.eselect || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/eselect/modules"
|
||||
doins opengl.eselect
|
||||
doman opengl.eselect.5
|
||||
|
||||
# Install global glext.h and glxext.h
|
||||
insinto "/usr/$(get_libdir)/opengl/global/include/GL/"
|
||||
cd "${WORKDIR}"
|
||||
newins glext.h.${GLEXT} glext.h
|
||||
newins glxext.h.${GLXEXT} glxext.h
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST bootchart2-0.14.2.tar.bz2 775770 RMD160 cdfc030c12060737768cd6f6b55be508a8c517bc SHA1 75b3db97c239e8eee4c3143e35f77505480ec415 SHA256 0a9c9cd4065a1ad4d9e27e36888cf6258bb8c830a719e1a4afbf3b1092e728a4
|
||||
DIST bootchart2-0.14.4.tar.bz2 775936 RMD160 b54be20ce0f74d21cd58f78daa427dc12658588c SHA1 a5e9702717792e085e1d1798eb8d9317c2669be7 SHA256 9b2bd785569e0c49fe6082abfb488135f65bc82f7919e04857a4bd94471add7f
|
||||
|
@ -1,75 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bootchart2/bootchart2-0.14.2-r1.ebuild,v 1.3 2012/05/15 14:31:22 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit linux-info python systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="Performance analysis and visualization of the system boot process"
|
||||
HOMEPAGE="https://github.com/mmeeks/bootchart/"
|
||||
SRC_URI="mirror://github/mmeeks/bootchart/${P}.tar.bz2"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="svg"
|
||||
|
||||
RDEPEND="
|
||||
!app-benchmarks/bootchart
|
||||
dev-python/pycairo[svg?]
|
||||
dev-python/pygtk
|
||||
sys-apps/lsb-release"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
CONFIG_CHECK="~PROC_EVENTS ~TASKSTATS ~TASK_DELAY_ACCT ~TMPFS"
|
||||
|
||||
src_prepare() {
|
||||
tc-export CC
|
||||
sed \
|
||||
-e "/^install/s:py-install-compile::g" \
|
||||
-e "/^VER/s:0.14.1:0.14.2:g" \
|
||||
-e "/^SYSTEMD_UNIT_DIR/s:=.*:= $(systemd_get_unitdir):g" \
|
||||
-i Makefile || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
emake test
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export NO_PYTHON_COMPILE=0
|
||||
export DOCDIR=/usr/share/doc/${PF}
|
||||
default
|
||||
|
||||
# Note: LIBDIR is hardcoded as /lib in collector/common.h, so we shouldn't
|
||||
# just change it. Since no libraries are installed, /lib is fine.
|
||||
keepdir /lib/bootchart/tmpfs
|
||||
|
||||
installation() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
PY_SITEDIR=$(python_get_sitedir) \
|
||||
py-install-compile
|
||||
}
|
||||
python_execute_function installation
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}.init ${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Please add the init script to your default runlevel"
|
||||
elog "rc-update add bootchart2 default"
|
||||
echo
|
||||
python_mod_optimize pybootchartgui
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup pybootchartgui
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
Add missing symbols. Cherry picked from upstream master.
|
||||
Bug #420821.
|
||||
|
||||
--- a/lib/krb5/version-script.map 2012-01-10 21:53:51.000000000 +0000
|
||||
+++ b/lib/krb5/version-script.map 2012-06-13 16:23:26.000000000 +0000
|
||||
@@ -42,6 +42,7 @@
|
||||
krb5_auth_con_getrcache;
|
||||
krb5_auth_con_getremoteseqnumber;
|
||||
krb5_auth_con_getremotesubkey;
|
||||
+ krb5_auth_con_getsendsubkey;
|
||||
krb5_auth_con_init;
|
||||
krb5_auth_con_removeflags;
|
||||
krb5_auth_con_setaddrs;
|
||||
@@ -383,6 +384,14 @@
|
||||
krb5_h_errno_to_heim_errno;
|
||||
krb5_have_error_string;
|
||||
krb5_hmac;
|
||||
+ krb5_init_creds_init;
|
||||
+ krb5_init_creds_set_service;
|
||||
+ krb5_init_creds_set_keytab;
|
||||
+ krb5_init_creds_get;
|
||||
+ krb5_init_creds_set_password;
|
||||
+ krb5_init_creds_free;
|
||||
+ krb5_init_creds_get_creds;
|
||||
+ krb5_init_creds_get_error;
|
||||
krb5_init_context;
|
||||
krb5_init_ets;
|
||||
krb5_initlog;
|
@ -0,0 +1,148 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/heimdal/heimdal-1.5.2-r1.ebuild,v 1.1 2012/06/13 17:48:19 eras Exp $
|
||||
|
||||
EAPI=4
|
||||
# PYTHON_BDEPEND="2"
|
||||
VIRTUALX_REQUIRED="manual"
|
||||
|
||||
inherit autotools db-use eutils multilib python toolchain-funcs virtualx flag-o-matic
|
||||
|
||||
MY_P="${P}"
|
||||
DESCRIPTION="Kerberos 5 implementation from KTH"
|
||||
HOMEPAGE="http://www.h5l.org/"
|
||||
SRC_URI="http://www.h5l.org/dist/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="afs +berkdb caps hdb-ldap ipv6 otp +pkinit ssl static-libs threads test X"
|
||||
|
||||
RDEPEND="ssl? ( dev-libs/openssl )
|
||||
berkdb? ( sys-libs/db )
|
||||
!berkdb? ( sys-libs/gdbm )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
>=dev-db/sqlite-3.5.7
|
||||
>=sys-libs/e2fsprogs-libs-1.41.11
|
||||
sys-libs/ncurses
|
||||
sys-libs/readline
|
||||
afs? ( net-fs/openafs )
|
||||
hdb-ldap? ( >=net-nds/openldap-2.3.0 )
|
||||
X? ( x11-libs/libX11
|
||||
x11-libs/libXau
|
||||
x11-libs/libXt )
|
||||
!!app-crypt/mit-krb5
|
||||
!!app-crypt/mit-krb5-appl"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
=dev-lang/python-2*
|
||||
virtual/pkgconfig
|
||||
>=sys-devel/autoconf-2.62
|
||||
test? ( X? ( ${VIRTUALX_DEPEND} ) )"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/heimdal_missing-include.patch"
|
||||
epatch "${FILESDIR}/heimdal_db5.patch"
|
||||
epatch "${FILESDIR}/heimdal_disable-check-iprop.patch"
|
||||
epatch "${FILESDIR}/heimdal_link_order.patch"
|
||||
epatch "${FILESDIR}/heimdal_missing_symbols.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# QA
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
local myconf=""
|
||||
if use berkdb; then
|
||||
myconf="--with-berkeley-db --with-berkeley-db-include=$(db_includedir)"
|
||||
else
|
||||
myconf="--without-berkeley-db"
|
||||
fi
|
||||
econf \
|
||||
--enable-kcm \
|
||||
--disable-osfc2 \
|
||||
--enable-shared \
|
||||
--with-libintl=/usr \
|
||||
--with-readline=/usr \
|
||||
--with-sqlite3=/usr \
|
||||
--libexecdir=/usr/sbin \
|
||||
$(use_enable afs afs-support) \
|
||||
$(use_enable otp) \
|
||||
$(use_enable pkinit kx509) \
|
||||
$(use_enable pkinit pk-init) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable threads pthread-support) \
|
||||
$(use_with caps capng) \
|
||||
$(use_with hdb-ldap openldap /usr) \
|
||||
$(use_with ipv6) \
|
||||
$(use_with ssl openssl /usr) \
|
||||
$(use_with X x) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
INSTALL_CATPAGES="no" emake DESTDIR="${D}" install
|
||||
|
||||
dodoc ChangeLog README NEWS TODO
|
||||
|
||||
# Begin client rename and install
|
||||
for i in {telnetd,ftpd,rshd,popper}
|
||||
do
|
||||
mv "${D}"/usr/share/man/man8/{,k}${i}.8
|
||||
mv "${D}"/usr/sbin/{,k}${i}
|
||||
done
|
||||
|
||||
for i in {rcp,rsh,telnet,ftp,su,login,pagsh,kf}
|
||||
do
|
||||
mv "${D}"/usr/share/man/man1/{,k}${i}.1
|
||||
mv "${D}"/usr/bin/{,k}${i}
|
||||
done
|
||||
|
||||
mv "${D}"/usr/share/man/man5/{,k}ftpusers.5
|
||||
mv "${D}"/usr/share/man/man5/{,k}login.access.5
|
||||
|
||||
newinitd "${FILESDIR}"/heimdal-kdc.initd-r1 heimdal-kdc
|
||||
newinitd "${FILESDIR}"/heimdal-kadmind.initd-r1 heimdal-kadmind
|
||||
newinitd "${FILESDIR}"/heimdal-kpasswdd.initd-r1 heimdal-kpasswdd
|
||||
newinitd "${FILESDIR}"/heimdal-kcm.initd-r1 heimdal-kcm
|
||||
|
||||
newconfd "${FILESDIR}"/heimdal-kdc.confd heimdal-kdc
|
||||
newconfd "${FILESDIR}"/heimdal-kadmind.confd heimdal-kadmind
|
||||
newconfd "${FILESDIR}"/heimdal-kpasswdd.confd heimdal-kpasswdd
|
||||
newconfd "${FILESDIR}"/heimdal-kcm.confd heimdal-kcm
|
||||
|
||||
insinto /etc
|
||||
newins "${FILESDIR}"/krb5.conf krb5.conf.example
|
||||
|
||||
if use hdb-ldap; then
|
||||
insinto /etc/openldap/schema
|
||||
doins "${S}/lib/hdb/hdb.schema"
|
||||
fi
|
||||
|
||||
use static-libs || prune_libtool_files
|
||||
|
||||
# default database dir
|
||||
keepdir /var/heimdal
|
||||
|
||||
# Ugly hack for broken symlink - bug #417081
|
||||
rm "${D}"/usr/share/man/man5/qop.5 || die
|
||||
dosym mech.5 /usr/share/man/man5/qop.5
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
preserve_old_lib /usr/$(get_libdir)/libgssapi.so.2
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
preserve_old_lib_notify /usr/$(get_libdir)/libgssapi.so.2
|
||||
}
|
@ -1 +1 @@
|
||||
DIST myspell-af_ZA-20060316.zip 599374 RMD160 31dabd71b31833d98a7802db5d886bc489fc12e7 SHA1 63c5ee77933167da1a68004be935ea9b6aa4a352 SHA256 14af7c2729440a82aa64a5500b122a9375ab3a4af5f3089080cee15b2273ea42
|
||||
DIST dict-af.oxt 1668991 RMD160 c30a3e460fb0fc403922955df6004866649ea70a SHA1 f76ac4ab7d721d2e702e05cb7eafd46031ab9592 SHA256 55569b16d67e941f579ed3847e7409a6452de5d575b22e77776b05f8adccf26a
|
||||
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/myspell-af/myspell-af-20060316.ebuild,v 1.19 2012/05/17 18:07:02 aballier Exp $
|
||||
|
||||
MYSPELL_SPELLING_DICTIONARIES=(
|
||||
"af,ZA,af_ZA,Afrikaans (South Africa),af_ZA.zip"
|
||||
)
|
||||
|
||||
MYSPELL_HYPHENATION_DICTIONARIES=(
|
||||
)
|
||||
|
||||
MYSPELL_THESAURUS_DICTIONARIES=(
|
||||
)
|
||||
|
||||
inherit myspell
|
||||
|
||||
DESCRIPTION="Afrikaans dictionaries for myspell/hunspell"
|
||||
LICENSE="LGPL-2.1"
|
||||
HOMEPAGE="http://lingucomponent.openoffice.org/ http://translate.org.za/"
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
@ -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/myspell-af/myspell-af-20080701.ebuild,v 1.1 2012/06/13 15:53:55 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MYSPELL_DICT=(
|
||||
"af_ZA.aff"
|
||||
"af_ZA.dic"
|
||||
)
|
||||
|
||||
MYSPELL_HYPH=(
|
||||
"hyph_af_ZA.dic"
|
||||
)
|
||||
|
||||
MYSPELL_THES=(
|
||||
)
|
||||
|
||||
inherit myspell-r2
|
||||
|
||||
DESCRIPTION="Afrikaans dictionaries for myspell/hunspell"
|
||||
HOMEPAGE="http://extensions.services.openoffice.org/project/dict_af"
|
||||
SRC_URI="mirror://sourceforge/aoo-extensions/1109/0/dict-af.oxt"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/myspell-cs/myspell-cs-20070926.ebuild,v 1.4 2012/05/17 18:08:49 aballier Exp $
|
||||
|
||||
MYSPELL_SPELLING_DICTIONARIES=(
|
||||
"cs,CZ,cs_CZ,Czech (Czech Republic),cs_CZ.zip"
|
||||
)
|
||||
|
||||
MYSPELL_HYPHENATION_DICTIONARIES=(
|
||||
"cs,CZ,hyph_cs_CZ,Czech (Czech Republic),hyph_cs_CZ.zip"
|
||||
)
|
||||
|
||||
MYSPELL_THESAURUS_DICTIONARIES=(
|
||||
"cs,CZ,th_cs_CZ_v2,Czech (Czech Republic),thes_cs_CZ_v2.zip"
|
||||
)
|
||||
|
||||
inherit myspell
|
||||
|
||||
DESCRIPTION="Czech dictionaries for myspell/hunspell"
|
||||
LICENSE="GPL-2 MIT"
|
||||
HOMEPAGE="http://lingucomponent.openoffice.org/"
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
@ -1 +1 @@
|
||||
DIST myspell-eo-20060316.zip 97790 RMD160 c7797a50eb722613b0ef9784fce05468ff0968ae SHA1 480caf3eb18bf3686b28ee2b92789f65f35059af SHA256 9f98004a1d356cb30691db42069a5bb919e01b674aa00c1662b3ef245833a49c
|
||||
DIST 1.0-dev.oxt 186411 RMD160 88e1bdb8c2091bd601ac01a80ce0b9c22af2b84c SHA1 29e465f360da1aac54a25c1c210581d91069430e SHA256 dc07976e7ee03f556a0c2a0daaceca8fcccbaa823e6a9e31a8d709cb58666576
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/myspell-eo/myspell-eo-1.0.ebuild,v 1.1 2012/06/13 16:45:08 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MYSPELL_DICT=(
|
||||
"eo_l3.aff"
|
||||
"eo_l3.dic"
|
||||
)
|
||||
|
||||
MYSPELL_HYPH=(
|
||||
)
|
||||
|
||||
MYSPELL_THES=(
|
||||
)
|
||||
|
||||
inherit myspell-r2
|
||||
|
||||
DESCRIPTION="Esperanto dictionaries for myspell/hunspell"
|
||||
HOMEPAGE="http://nlp.fi.muni.cz/projekty/esperanto_spell_checker/"
|
||||
SRC_URI="mirror://sourceforge/aoo-extensions/3377/1/${PV}-dev.oxt"
|
||||
|
||||
LICENSE="GPL-2 LGPL-3 MPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
# move the dicts for nicer name
|
||||
mv literumilo.aff eo_l3.aff || die
|
||||
mv literumilo.dic eo_l3.dic || die
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/myspell-eo/myspell-eo-20060316.ebuild,v 1.19 2012/05/17 18:12:58 aballier Exp $
|
||||
|
||||
MYSPELL_SPELLING_DICTIONARIES=(
|
||||
"eo,ANY,eo_l3,Esperanto,eo.zip"
|
||||
)
|
||||
|
||||
MYSPELL_HYPHENATION_DICTIONARIES=(
|
||||
)
|
||||
|
||||
MYSPELL_THESAURUS_DICTIONARIES=(
|
||||
)
|
||||
|
||||
inherit myspell
|
||||
|
||||
DESCRIPTION="Esperanto dictionaries for myspell/hunspell"
|
||||
LICENSE="GPL-2"
|
||||
HOMEPAGE="http://lingucomponent.openoffice.org/"
|
||||
IUSE=""
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd"
|
@ -1,2 +1 @@
|
||||
DIST myspell-et_EE-20060316.zip 882162 RMD160 61f22463d02ba6f7a00745f15336deaa6a7a9ca8 SHA1 3301de6305b09c26052f42fa7047bec8f75afc84 SHA256 df02b0ee342504acd6c07481cb352906fe9b10d4feded7556079975a50d0d7a6
|
||||
DIST myspell-hyph_et_EE-20060316.zip 28092 RMD160 2dff9e32adf8c688de5012467b48e642a8078ad3 SHA1 29ca6d5c764a9e1e8dbf9dca406aff7d0ad51679 SHA256 6728cce61c6af413af483f5cde1fb7625b61071a67fe8834f31f1800930f917b
|
||||
DIST ispell-et_20030606.tar.gz 3421339 RMD160 a3b97c33fa87b3c8e69d283089c541f4af4f7bad SHA1 a633ab90e5e37981360143b5ee2b63bc62c4e0df SHA256 4aea338eef90a977134e81e075277912938ce1a97344d7a0dbf238e274a86116
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/myspell-et/myspell-et-20030606.ebuild,v 1.1 2012/06/13 16:57:59 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MYSPELL_DICT=(
|
||||
"latin9/ee_EE.aff"
|
||||
"latin9/ee_EE.dic"
|
||||
)
|
||||
|
||||
MYSPELL_HYPH=(
|
||||
"hyph_et_EE.dic"
|
||||
)
|
||||
|
||||
MYSPELL_THES=(
|
||||
)
|
||||
|
||||
inherit myspell-r2
|
||||
|
||||
DESCRIPTION="Estonian dictionaries for myspell/hunspell"
|
||||
HOMEPAGE="http://www.meso.ee/~jjpp/speller/"
|
||||
SRC_URI="http://www.meso.ee/~jjpp/speller/ispell-et_${PV}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/ispell-et_${PV}"
|
||||
|
||||
src_prepare() {
|
||||
# naming handling to be inline with others
|
||||
mv hyph_et.dic hyph_et_EE.dic || die
|
||||
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/myspell-et/myspell-et-20060316.ebuild,v 1.19 2012/05/17 18:14:09 aballier Exp $
|
||||
|
||||
MYSPELL_SPELLING_DICTIONARIES=(
|
||||
"et,EE,et_EE,Estonian (Estonia),et_EE.zip"
|
||||
)
|
||||
|
||||
MYSPELL_HYPHENATION_DICTIONARIES=(
|
||||
"et,EE,hyph_et_EE,Estonian (Estonia),hyph_et_EE.zip"
|
||||
)
|
||||
|
||||
MYSPELL_THESAURUS_DICTIONARIES=(
|
||||
)
|
||||
|
||||
inherit myspell
|
||||
|
||||
DESCRIPTION="Estonian dictionaries for myspell/hunspell"
|
||||
LICENSE="LGPL-2.1 myspell-et_EE-IEL"
|
||||
HOMEPAGE="http://lingucomponent.openoffice.org/ http://www.meso.ee/~jjpp/speller/"
|
||||
IUSE=""
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd"
|
@ -1 +1,2 @@
|
||||
DIST myspell-fo_FO-20060316.zip 353147 RMD160 bf67fcf5d25accbc9c2914c4c78f8d207f68bea6 SHA1 a875805bc44dd354d42d6efe13b1059d05488cab SHA256 e21d1b8fd9889d41686c9d8d6adf30668dca167b450f2b68d7d5b28b99d51744
|
||||
DIST hyph_fo_FO-20040420a.zip 16430 RMD160 a49b5f2d9f8b81fa21442305b7bd06a0944ba267 SHA1 85ad57dbee618da1b988a57a38ad4ca24da076df SHA256 cb87ce1bee0d547f82bd5d2d1a7fdaca312510581a1295e824a507c59c4c92a2
|
||||
DIST myspell-fo-0.4.1.tar.bz2 1395609 RMD160 63b348f8f6cfcc37518c6f4ca6f404d4da4a8430 SHA1 a42c3d0fe473657ba91e51ecd6565a2cf2970735 SHA256 bcd55618b2fde4a1e8adbb7c474cdb0d5b1983c6b5d61ee08c90664d190061f0
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/myspell-fo/myspell-fo-0.4.1.ebuild,v 1.1 2012/06/13 17:35:18 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MYSPELL_DICT=(
|
||||
"${P}/fo_FO.aff"
|
||||
"${P}/fo_FO.dic"
|
||||
)
|
||||
|
||||
MYSPELL_HYPH=(
|
||||
"hyph_fo_FO.dic"
|
||||
)
|
||||
|
||||
MYSPELL_THES=(
|
||||
)
|
||||
|
||||
inherit myspell-r2
|
||||
|
||||
DESCRIPTION="Faroese dictionaries for myspell/hunspell"
|
||||
HOMEPAGE="http://fo.speling.org/"
|
||||
SRC_URI="
|
||||
http://fo.speling.org/filer/${P}.tar.bz2
|
||||
http://fo.speling.org/filer/hyph_fo_FO-20040420a.zip
|
||||
"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1 MPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/myspell-fo/myspell-fo-20060316.ebuild,v 1.19 2012/05/17 18:14:43 aballier Exp $
|
||||
|
||||
MYSPELL_SPELLING_DICTIONARIES=(
|
||||
"fo,FO,fo_FO,Faroese (Faroe Islands),fo_FO.zip"
|
||||
)
|
||||
|
||||
MYSPELL_HYPHENATION_DICTIONARIES=(
|
||||
)
|
||||
|
||||
MYSPELL_THESAURUS_DICTIONARIES=(
|
||||
)
|
||||
|
||||
inherit myspell
|
||||
|
||||
DESCRIPTION="Faroese dictionaries for myspell/hunspell"
|
||||
LICENSE="GPL-2"
|
||||
HOMEPAGE="http://lingucomponent.openoffice.org/ http://fo.speling.org/"
|
||||
IUSE=""
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd"
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/myspell-fr/myspell-fr-20060316.ebuild,v 1.21 2012/05/17 18:15:18 aballier Exp $
|
||||
|
||||
MYSPELL_SPELLING_DICTIONARIES=(
|
||||
"fr,BE,fr_FR,French (Belgium),fr_FR.zip"
|
||||
"fr,CA,fr_FR,French (Canada),fr_FR.zip"
|
||||
"fr,FR,fr_FR,French (France),fr_FR.zip"
|
||||
"fr,LU,fr_FR,French (Luxembourg),fr_FR.zip"
|
||||
"fr,MC,fr_FR,French (Monaco),fr_FR.zip"
|
||||
"fr,CH,fr_FR,French (Switzerland),fr_FR.zip"
|
||||
)
|
||||
|
||||
MYSPELL_HYPHENATION_DICTIONARIES=(
|
||||
"fr,BE,hyph_fr_FR,French (Belgium),hyph_fr_FR.zip"
|
||||
"fr,CA,hyph_fr_FR,French (Canada),hyph_fr_FR.zip"
|
||||
"fr,FR,hyph_fr_FR,French (France),hyph_fr_FR.zip"
|
||||
"fr,LU,hyph_fr_FR,French (Luxembourg),hyph_fr_FR.zip"
|
||||
"fr,MC,hyph_fr_FR,French (Monaco),hyph_fr_FR.zip"
|
||||
"fr,CH,hyph_fr_FR,French (Switzerland),hyph_fr_FR.zip"
|
||||
)
|
||||
|
||||
MYSPELL_THESAURUS_DICTIONARIES=(
|
||||
"fr,BE,th_fr_FR,French (Belgium),thes_fr_FR.zip"
|
||||
"fr,CA,th_fr_FR,French (Canada),thes_fr_FR.zip"
|
||||
"fr,FR,th_fr_FR,French (France),thes_fr_FR.zip"
|
||||
"fr,LU,th_fr_FR,French (Luxembourg),thes_fr_FR.zip"
|
||||
"fr,MC,th_fr_FR,French (Monaco),thes_fr_FR.zip"
|
||||
"fr,CH,th_fr_FR,French (Switzerland),thes_fr_FR.zip"
|
||||
)
|
||||
|
||||
inherit myspell
|
||||
|
||||
DESCRIPTION="French dictionaries for myspell/hunspell"
|
||||
LICENSE="LGPL-2.1"
|
||||
HOMEPAGE="http://lingucomponent.openoffice.org/"
|
||||
IUSE=""
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-linux ~x86-macos"
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/myspell-sk/myspell-sk-20060316.ebuild,v 1.19 2012/05/17 18:28:18 aballier Exp $
|
||||
|
||||
MYSPELL_SPELLING_DICTIONARIES=(
|
||||
"sk,SK,sk_SK,Slovak (Slovakia),sk_SK.zip"
|
||||
)
|
||||
|
||||
MYSPELL_HYPHENATION_DICTIONARIES=(
|
||||
"sk,SK,hyph_sk_SK,Slovak (Slovakia),hyph_sk_SK.zip"
|
||||
)
|
||||
|
||||
MYSPELL_THESAURUS_DICTIONARIES=(
|
||||
"sk,SK,th_sk_SK,Slovak (Slovakia),thes_sk_SK.zip"
|
||||
)
|
||||
|
||||
inherit myspell
|
||||
|
||||
DESCRIPTION="Slovak dictionaries for myspell/hunspell"
|
||||
LICENSE="GPL-2 LGPL-2.1 MPL-1.1 MIT"
|
||||
HOMEPAGE="http://lingucomponent.openoffice.org/"
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
@ -0,0 +1 @@
|
||||
DIST myspell-sq_AL-1.6.4.zip 666207 RMD160 f4e397ab70a1dc45db73be6b64e86f658ad37ce7 SHA1 9012f9da8dc9aa5795fcf2f2ed37f52002dc2604 SHA256 40f95495ddc790cd98b68d60b4686dcd5886f7db9ff3d06f8aa1dfd8c51dd02e
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>app-dicts</herd>
|
||||
</pkgmetadata>
|
@ -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-dicts/myspell-sq/myspell-sq-1.6.4.ebuild,v 1.1 2012/06/13 15:41:43 scarabeus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MYSPELL_DICT=(
|
||||
"sq_AL.dic"
|
||||
"sq_AL.aff"
|
||||
)
|
||||
|
||||
MYSPELL_HYPH=(
|
||||
)
|
||||
|
||||
MYSPELL_THES=(
|
||||
)
|
||||
|
||||
inherit myspell-r2
|
||||
|
||||
DESCRIPTION="Albanian dictionaries for myspell/hunspell"
|
||||
HOMEPAGE="http://www.shkenca.org/k6i/albanian_dictionary_for_myspell_en.html"
|
||||
SRC_URI="http://www.shkenca.org/shkarkime/${PN}_AL-${PV}.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${PN}_AL-${PV}"
|
@ -1,255 +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/emacs-22.3-r9.ebuild,v 1.6 2012/06/01 17:12:08 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
inherit autotools elisp-common eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||
HOMEPAGE="http://www.gnu.org/software/emacs/"
|
||||
SRC_URI="mirror://gnu/emacs/${P}.tar.gz
|
||||
mirror://gentoo/${P}-patches-8.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3 FDL-1.2 BSD as-is MIT"
|
||||
SLOT="22"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="alsa gif gtk gzip-el hesiod jpeg kerberos motif png sound source tiff toolkit-scroll-bars X Xaw3d +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 )
|
||||
X? (
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
x11-misc/xbitmaps
|
||||
gif? ( media-libs/giflib )
|
||||
jpeg? ( virtual/jpeg )
|
||||
png? ( >=media-libs/libpng-1.4:0 )
|
||||
tiff? ( media-libs/tiff )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
!gtk? (
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
!Xaw3d? ( motif? ( >=x11-libs/openmotif-2.3:0 ) )
|
||||
)
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
alsa? ( virtual/pkgconfig )
|
||||
X? ( gtk? ( virtual/pkgconfig ) )
|
||||
gzip-el? ( app-arch/gzip )"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
>=app-emacs/emacs-common-gentoo-1.3[X?]"
|
||||
|
||||
# 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}"
|
||||
EMACS_SUFFIX="emacs-${SLOT}"
|
||||
SITEFILE="20${PN}-${SLOT}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_SUFFIX=patch epatch
|
||||
|
||||
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() {
|
||||
strip-flags
|
||||
filter-flags -fstack-protector -fstack-protector-all #285778
|
||||
replace-flags "-O[3-9]" -O2
|
||||
sed -i -e "s/-lungif/-lgif/g" configure* src/Makefile* || die
|
||||
|
||||
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 toolkit-scroll-bars)"
|
||||
myconf="${myconf} $(use_with gif) $(use_with jpeg)"
|
||||
myconf="${myconf} $(use_with png) $(use_with tiff)"
|
||||
myconf="${myconf} $(use_with xpm)"
|
||||
|
||||
# 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; then
|
||||
einfo "Configuring to build with Xaw3d (Athena/Lucid) toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=athena"
|
||||
myconf="${myconf} --without-gtk"
|
||||
elif use motif; then
|
||||
einfo "Configuring to build with Motif toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=motif"
|
||||
myconf="${myconf} --without-gtk"
|
||||
else
|
||||
einfo "Configuring to build with no toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=no"
|
||||
myconf="${myconf} --without-gtk"
|
||||
fi
|
||||
|
||||
local f tk=
|
||||
for f in gtk Xaw3d 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
|
||||
|
||||
econf \
|
||||
--program-suffix=-${EMACS_SUFFIX} \
|
||||
--infodir=/usr/share/info/${EMACS_SUFFIX} \
|
||||
--enable-locallisppath="/etc/emacs:${SITELISP}" \
|
||||
--without-carbon \
|
||||
--with-gameuser="${GAMES_USER_DED:-games}" \
|
||||
$(use_with hesiod) \
|
||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
|
||||
emake CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake install DESTDIR="${D}"
|
||||
|
||||
rm "${D}"/usr/bin/emacs-${FULL_VERSION}-${EMACS_SUFFIX} \
|
||||
|| die "removing duplicate emacs executable failed"
|
||||
mv "${D}"/usr/bin/emacs-${EMACS_SUFFIX} "${D}"/usr/bin/${EMACS_SUFFIX} \
|
||||
|| die "moving Emacs executable failed"
|
||||
|
||||
# move man pages to the correct place
|
||||
local m
|
||||
for m in "${D}"/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 "${D}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \
|
||||
|| die "moving info dir failed"
|
||||
touch "${D}"/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 "${D}"/usr/share/emacs/site-lisp/subdirs.el
|
||||
rm "${D}"/var/lib/games/emacs/{snake,tetris}-scores
|
||||
keepdir /var/lib/games/emacs
|
||||
|
||||
# remove unused <version>/site-lisp dir
|
||||
rm -rf "${D}"/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/*.[ch]
|
||||
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} "/usr/share/emacs/${FULL_VERSION}/src")
|
||||
X (let ((path (getenv "INFOPATH"))
|
||||
X (dir "/usr/share/info/${EMACS_SUFFIX}")
|
||||
X (re "\\\\\`/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 AUTHORS BUGS CONTRIBUTE README
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# move Info dir file to correct name
|
||||
local infodir=/usr/share/info/${EMACS_SUFFIX} f
|
||||
if [ -f "${D}"${infodir}/dir.orig ]; then
|
||||
mv "${D}"${infodir}/dir{.orig,} || die "moving info dir failed"
|
||||
elif [[ -d "${D}"${infodir} ]]; then
|
||||
# this should not happen in EAPI 4
|
||||
ewarn "Regenerating Info directory index in ${infodir} ..."
|
||||
rm -f "${D}"${infodir}/dir{,.*}
|
||||
for f in "${D}"${infodir}/*; do
|
||||
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
|
||||
install-info --info-dir="${D}"${infodir} "${f}" \
|
||||
|| die "install-info failed"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local f
|
||||
for f in "${ROOT}"/var/lib/games/emacs/{snake,tetris}-scores; do
|
||||
[ -e "${f}" ] || touch "${f}"
|
||||
done
|
||||
chown "${GAMES_USER_DED:-games}" "${ROOT}"/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
|
||||
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."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
}
|
@ -1,334 +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/emacs-23.4-r2.ebuild,v 1.2 2012/06/01 17:12:08 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
inherit autotools elisp-common eutils flag-o-matic multilib
|
||||
|
||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||
HOMEPAGE="http://www.gnu.org/software/emacs/"
|
||||
SRC_URI="mirror://gnu/emacs/${P}.tar.bz2
|
||||
mirror://gentoo/${P}-patches-3.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3 FDL-1.3 BSD as-is MIT W3C unicode PSF-2"
|
||||
SLOT="23"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="alsa aqua athena dbus gconf gif gpm gtk gzip-el hesiod jpeg kerberos livecd m17n-lib motif pax_kernel png sound source svg tiff toolkit-scroll-bars X Xaw3d xft +xpm"
|
||||
REQUIRED_USE="aqua? ( !X )"
|
||||
|
||||
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? ( virtual/pkgconfig )
|
||||
dbus? ( virtual/pkgconfig )
|
||||
X? ( virtual/pkgconfig )
|
||||
gzip-el? ( app-arch/gzip )
|
||||
pax_kernel? ( sys-apps/paxctl )"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
!<app-editors/emacs-vcs-${PV}
|
||||
>=app-emacs/emacs-common-gentoo-1.3[X?]"
|
||||
|
||||
EMACS_SUFFIX="emacs-${SLOT}"
|
||||
SITEFILE="20${PN}-${SLOT}-gentoo.el"
|
||||
# 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}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_SUFFIX=patch epatch
|
||||
epatch_user
|
||||
|
||||
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() {
|
||||
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 --without-ns"
|
||||
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"
|
||||
local f
|
||||
for f in athena Xaw3d motif; do
|
||||
use ${f} && ewarn "USE flag \"${f}\" ignored" \
|
||||
"(superseded by \"gtk\")"
|
||||
done
|
||||
elif use athena || use Xaw3d; then
|
||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
||||
use motif && ewarn "USE flag \"motif\" ignored" \
|
||||
"(superseded by \"athena\" or \"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
|
||||
elif use aqua; then
|
||||
einfo "Configuring to build with Cocoa support"
|
||||
myconf="${myconf} --with-ns --disable-ns-self-contained"
|
||||
myconf="${myconf} --without-x"
|
||||
else
|
||||
myconf="${myconf} --without-x --without-ns"
|
||||
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}" \
|
||||
--with-gameuser="${GAMES_USER_DED:-games}" \
|
||||
$(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
|
||||
# set last component of emacs-version to (package revision + 1)
|
||||
touch src/emacs-${FULL_VERSION}.${PR#r}
|
||||
emake CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
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
|
||||
local m
|
||||
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
|
||||
|
||||
if use aqua; then
|
||||
dodir /Applications/Gentoo
|
||||
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
|
||||
mv nextstep/Emacs.app \
|
||||
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
|
||||
elog "Emacs${EMACS_SUFFIX#emacs}.app is in ${EPREFIX}/Applications/Gentoo."
|
||||
elog "You may want to copy or symlink it into /Applications by yourself."
|
||||
fi
|
||||
}
|
||||
|
||||
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"
|
||||
elif [[ -d "${ED}"${infodir} ]]; then
|
||||
# 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_USER_DED:-games}" "${EROOT}"/var/lib/games/emacs
|
||||
|
||||
elisp-site-regen
|
||||
|
||||
if use livecd; then
|
||||
# force an update of the emacs symlink for the livecd/dvd,
|
||||
# because some microemacs packages set it with USE=livecd
|
||||
eselect emacs update
|
||||
else
|
||||
eselect emacs update ifunset
|
||||
fi
|
||||
|
||||
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,343 +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/emacs-24.1_rc.ebuild,v 1.1 2012/06/01 17:12:08 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools elisp-common eutils flag-o-matic multilib
|
||||
|
||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||
HOMEPAGE="http://www.gnu.org/software/emacs/"
|
||||
SRC_URI="mirror://gnu-alpha/emacs/pretest/${P/_/-}.tar.gz
|
||||
mirror://gentoo/${P}-patches-1.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3 FDL-1.3 BSD as-is MIT W3C unicode PSF-2"
|
||||
SLOT="24"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="alsa aqua athena dbus gconf gif gnutls gpm gsettings gtk gtk3 gzip-el hesiod imagemagick jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm"
|
||||
REQUIRED_USE="aqua? ( !X )"
|
||||
|
||||
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 )
|
||||
gnutls? ( net-libs/gnutls )
|
||||
libxml2? ( >=dev-libs/libxml2-2.2.0 )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
X? (
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
x11-misc/xbitmaps
|
||||
gconf? ( >=gnome-base/gconf-2.26.2 )
|
||||
gsettings? ( >=dev-libs/glib-2.28.6 )
|
||||
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 )
|
||||
imagemagick? ( >=media-gfx/imagemagick-6.6.2 )
|
||||
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? (
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
!gtk3? ( 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? ( virtual/pkgconfig )
|
||||
dbus? ( virtual/pkgconfig )
|
||||
gnutls? ( virtual/pkgconfig )
|
||||
libxml2? ( virtual/pkgconfig )
|
||||
X? ( virtual/pkgconfig )
|
||||
gzip-el? ( app-arch/gzip )
|
||||
pax_kernel? ( sys-apps/paxctl )"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
!<app-editors/emacs-vcs-24.1.9999-r1
|
||||
>=app-emacs/emacs-common-gentoo-1.3[X?]"
|
||||
|
||||
EMACS_SUFFIX="emacs-${SLOT}"
|
||||
SITEFILE="20${PN}-${SLOT}-gentoo.el"
|
||||
# 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}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_SUFFIX=patch epatch
|
||||
epatch_user
|
||||
|
||||
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
|
||||
|
||||
AT_M4DIR=m4 eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
strip-flags
|
||||
|
||||
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 --without-ns"
|
||||
myconf="${myconf} $(use_with gconf)"
|
||||
myconf="${myconf} $(use_with gsettings)"
|
||||
myconf="${myconf} $(use_with toolkit-scroll-bars)"
|
||||
myconf="${myconf} $(use_with wide-int)"
|
||||
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)"
|
||||
myconf="${myconf} $(use_with imagemagick)"
|
||||
|
||||
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
|
||||
|
||||
if use gtk; then
|
||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||
myconf="${myconf} --with-x-toolkit=$(usev gtk3 || echo gtk)"
|
||||
local f
|
||||
for f in athena Xaw3d motif; do
|
||||
use ${f} && ewarn "USE flag \"${f}\" ignored" \
|
||||
"(superseded by \"gtk\")"
|
||||
done
|
||||
elif use athena || use Xaw3d; then
|
||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
||||
use motif && ewarn "USE flag \"motif\" ignored" \
|
||||
"(superseded by \"athena\" or \"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
|
||||
|
||||
! use gtk && use gtk3 \
|
||||
&& ewarn "USE flag \"gtk3\" has no effect if \"gtk\" is not set."
|
||||
elif use aqua; then
|
||||
einfo "Configuring to build with Cocoa support"
|
||||
myconf="${myconf} --with-ns --disable-ns-self-contained"
|
||||
myconf="${myconf} --without-x"
|
||||
else
|
||||
myconf="${myconf} --without-x --without-ns"
|
||||
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}" \
|
||||
--with-gameuser="${GAMES_USER_DED:-games}" \
|
||||
--without-compress-info \
|
||||
--disable-maintainer-mode \
|
||||
$(use_with hesiod) \
|
||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||
$(use_with gpm) \
|
||||
$(use_with dbus) \
|
||||
$(use_with gnutls) \
|
||||
$(use_with libxml2 xml2) \
|
||||
$(use_with selinux) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
|
||||
# set last component of emacs-version to (package revision + 1)
|
||||
touch src/emacs-${FULL_VERSION}.${PR#r}
|
||||
emake CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
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
|
||||
local m
|
||||
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/{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
|
||||
|
||||
if use aqua; then
|
||||
dodir /Applications/Gentoo
|
||||
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
|
||||
mv nextstep/Emacs.app \
|
||||
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
|
||||
elog "Emacs${EMACS_SUFFIX#emacs}.app is in ${EPREFIX}/Applications/Gentoo."
|
||||
elog "You may want to copy or symlink it into /Applications by yourself."
|
||||
fi
|
||||
}
|
||||
|
||||
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"
|
||||
elif [[ -d "${ED}"${infodir} ]]; then
|
||||
# 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_USER_DED:-games}" "${EROOT}"/var/lib/games/emacs
|
||||
|
||||
elisp-site-regen
|
||||
|
||||
if use livecd; then
|
||||
# force an update of the emacs symlink for the livecd/dvd,
|
||||
# because some microemacs packages set it with USE=livecd
|
||||
eselect emacs update
|
||||
else
|
||||
eselect emacs update ifunset
|
||||
fi
|
||||
|
||||
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
|
||||
}
|
@ -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-emacs/ecb/ecb-2.40-r2.ebuild,v 1.1 2012/06/13 19:48:14 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit elisp eutils
|
||||
|
||||
DESCRIPTION="Source code browser for Emacs"
|
||||
HOMEPAGE="http://ecb.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/ecb/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="java"
|
||||
|
||||
DEPEND=">=app-emacs/cedet-1.0_pre6
|
||||
java? ( app-emacs/jde )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
SITEFILE="70${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-2.32-gentoo.patch"
|
||||
epatch "${FILESDIR}/${P}-cedet-version.patch"
|
||||
epatch "${FILESDIR}/${P}-emacs-24.patch"
|
||||
sed -i -e "s:@PF@:${PF}:" ecb-help.el || die "sed failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local loadpath="" sl=${EPREFIX}${SITELISP}
|
||||
if use java; then
|
||||
loadpath="${sl}/elib ${sl}/jde ${sl}/jde/lisp"
|
||||
fi
|
||||
|
||||
emake CEDET="${sl}/cedet" LOADPATH="${loadpath}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp_src_install
|
||||
|
||||
insinto "${SITEETC}/${PN}"
|
||||
doins -r ecb-images
|
||||
|
||||
doinfo info-help/ecb.info*
|
||||
dohtml html-help/*.html
|
||||
dodoc NEWS README RELEASE_NOTES
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
elog "ECB is now autoloaded in site-gentoo.el. Add the line"
|
||||
elog " (require 'ecb)"
|
||||
elog "to your ~/.emacs file to enable all features on Emacs startup."
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
https://bugs.gentoo.org/420237
|
||||
|
||||
--- ecb-2.40-orig/ecb.el
|
||||
+++ ecb-2.40/ecb.el
|
||||
@@ -1312,7 +1312,6 @@
|
||||
(ecb-select-ecb-frame)
|
||||
(ecb-update-directories-buffer))
|
||||
|
||||
- (let ((stack-trace-on-error stack-trace-on-error))
|
||||
;; we activate only if all before-hooks return non nil
|
||||
(when (run-hook-with-args-until-failure 'ecb-before-activate-hook)
|
||||
|
||||
@@ -1602,7 +1601,7 @@
|
||||
(error
|
||||
(ecb-clean-up-after-activation-failure
|
||||
"Errors during the snapshot of the windows-configuration." err-obj)))
|
||||
- ))))
|
||||
+ )))
|
||||
|
||||
|
||||
(defun ecb-deactivate ()
|
@ -1,2 +1,3 @@
|
||||
DIST kvm-kmod-2.6.32.27.tar.bz2 278391 RMD160 26c32746966b2d62e9bcebc5df666a81d633f5e5 SHA1 fa65bc8ccd34f10d0870fe1b84b75dbae98619d7 SHA256 801cbd622b3856ff4ba55e4cb7efe3604ce76200b78d99f8f38c18f2f9ac71e1
|
||||
DIST kvm-kmod-2.6.38.6.tar.bz2 319829 RMD160 fe351a1f266b2c4b95f8b4ea268222296e6b4677 SHA1 f00ed824ffdd8b808a545a0a0289d8fc343a9986 SHA256 03f530a6b49518a8c801309a848f84b39e6e4491074f624f4e667121f21b5a4a
|
||||
DIST kvm-kmod-3.3.6.tar.bz2 275650 RMD160 4076e90e55fd444c32562272840469590faf4c95 SHA1 109d253735b1bea7e0afcad8702185f8a6e74e1d SHA256 b6edcf64c468e4a880d7b633c716805462c07546d93799791c9d3eb6166e593f
|
||||
DIST kvm-kmod-3.4.tar.bz2 280821 RMD160 fc8718f792effa01d8b8139f6927504c2d7be8f9 SHA1 be112f03e9fa7f00b822de5f8733b4fe4cb026ca SHA256 94a7ce2d0f06c7b9f913be3432e768a2340e50235845fc4e9027abed8aee3291
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/kvm-kmod/kvm-kmod-2.6.38.6.ebuild,v 1.1 2011/05/25 14:56:34 cardoe Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/kvm-kmod/kvm-kmod-3.3.6.ebuild,v 1.1 2012/06/14 05:26:47 cardoe Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/kvm-kmod/kvm-kmod-3.4.ebuild,v 1.1 2012/06/14 05:26:47 cardoe Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils linux-mod
|
||||
|
||||
SRC_URI="mirror://sourceforge/kvm/${P}.tar.bz2"
|
||||
|
||||
DESCRIPTION="Kernel-based Virtual Machine kernel modules"
|
||||
HOMEPAGE="http://www.linux-kvm.org"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
IUSE=""
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod_pkg_setup
|
||||
|
||||
linux_config_exists || die "Your kernel sources are unconfigured"
|
||||
|
||||
if ! linux_chkconfig_present KVM; then
|
||||
eerror "KVM now needs CONFIG_KVM built into your kernel, even"
|
||||
eerror "if you're using the external modules from this package."
|
||||
eerror "Please enable KVM support in your kernel, found at:"
|
||||
eerror
|
||||
eerror " Virtualization"
|
||||
eerror " Kernel-based Virtual Machine (KVM) support"
|
||||
eerror
|
||||
die "KVM support not detected!"
|
||||
fi
|
||||
BUILD_TARGETS="all"
|
||||
MODULE_NAMES="kvm(kernel/arch/x86/kvm/:${S}:${S}/x86)"
|
||||
MODULE_NAMES="${MODULE_NAMES} kvm-intel(kernel/arch/x86/kvm/:${S}:${S}/x86)"
|
||||
MODULE_NAMES="${MODULE_NAMES} kvm-amd(kernel/arch/x86/kvm/:${S}:${S}/x86)"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local conf_opts
|
||||
|
||||
conf_opts="--kerneldir=$KV_DIR"
|
||||
|
||||
if has_multilib_profile && [[ "${DEFAULT_ABI}" == "x86" ]] ; then
|
||||
conf_opts="$conf_opts --arch=x86"
|
||||
fi
|
||||
|
||||
./configure ${conf_opts} || die "configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
linux-mod_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
find /lib/modules/${KV_FULL} -name 'kvm*.ko' -type f -delete
|
||||
|
||||
linux-mod_pkg_preinst
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
diff --git a/src/Makefile.in b/src/Makefile.in
|
||||
index ada3dca..6acd71c 100644
|
||||
--- a/src/Makefile.in
|
||||
+++ b/src/Makefile.in
|
||||
@@ -10,7 +10,7 @@ CPPFLAGS = @CPPFLAGS@
|
||||
DEFS = @DEFS@
|
||||
RANLIB = @RANLIB@
|
||||
LN_S = @LN_S@
|
||||
-LDFLAGS = @with_db_lib@
|
||||
+LDFLAGS = @with_db_lib@ @LDFLAGS@
|
||||
INC = @with_db_inc@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
@@ -55,7 +55,7 @@ all: $(LIBNAME) @build_supports@
|
||||
|
||||
$(LIBNAME): $(LIBOBJS)
|
||||
$(LIBTOOL) --mode=link $(CC) -o $@ $(LIBOBJS) -rpath $(libdir) \
|
||||
- -version-info $(CURRENT_VER):$(REVISION_VER):$(AGE_VER)
|
||||
+ -version-info $(CURRENT_VER):$(REVISION_VER):$(AGE_VER) $(LDFLAGS)
|
||||
|
||||
bims:
|
||||
(cd supports/bims; $(MAKE))
|
||||
diff --git a/src/supports/bims/Makefile.in b/src/supports/bims/Makefile.in
|
||||
index dc2534d..0e3041b 100644
|
||||
--- a/src/supports/bims/Makefile.in
|
||||
+++ b/src/supports/bims/Makefile.in
|
||||
@@ -10,7 +10,7 @@ CPPFLAGS = @CPPFLAGS@
|
||||
DEFS = @DEFS@
|
||||
RANLIB = @RANLIB@
|
||||
LN_S = @LN_S@
|
||||
-LDFLAGS = @with_db_lib@
|
||||
+LDFLAGS = @with_db_lib@ @LDFLAGS@
|
||||
INC = -I../..
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
@@ -45,7 +45,7 @@ all: $(LIBNAME)
|
||||
|
||||
$(LIBNAME): $(LIBOBJS)
|
||||
$(LIBTOOL) --mode=link $(CC) -o $@ $(LIBOBJS) -rpath $(libdir) \
|
||||
- -version-info $(CURRENT_VER):$(REVISION_VER):$(AGE_VER)
|
||||
+ -version-info $(CURRENT_VER):$(REVISION_VER):$(AGE_VER) $(LDFLAGS)
|
||||
|
||||
bims.lo: bims.c bims.h
|
||||
$(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) $(DEFS) $(INC) -o $@ bims.c
|
||||
diff --git a/util/Makefile.in b/util/Makefile.in
|
||||
index cb82736..16425d1 100644
|
||||
--- a/util/Makefile.in
|
||||
+++ b/util/Makefile.in
|
||||
@@ -10,7 +10,7 @@ CPPFLAGS = @CPPFLAGS@
|
||||
DEFS = @DEFS@
|
||||
RANLIB = @RANLIB@
|
||||
LN_S = @LN_S@
|
||||
-LDFLAGS = ../src/libtabe.la @with_db_lib@
|
||||
+LDFLAGS = ../src/libtabe.la @with_db_lib@ @LDFLAGS@
|
||||
INC = -I../src @with_db_inc@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
@ -1,3 +1,4 @@
|
||||
DIST cdb-0.75.tar.gz 54162 RMD160 d52288ee6df58fdc5a79efc16693cd5e305f9c65 SHA1 555749be5b2617e29e44b5326a2536813d62c248 SHA256 1919577799a50c080a8a05a1cbfa5fa7e7abc823d8d7df2eeb181e624b7952c5
|
||||
DIST multiskkserv-20020201.tar.bz2 159412 RMD160 f8f6228f93ba828f633055a84789953e5712bba6 SHA1 bcdd61f174095833edd54b2f844e3332e2bf10b3 SHA256 3bec276a3cd1831b9075eb61510f10b84c4605448bac4af7fa4d8b3af0612347
|
||||
DIST multiskkserv-20051220.tar.bz2 244023 RMD160 18dae8dcd6e26246a3243c143be46b533921464b SHA1 f7da523c2a998f7bf260799d369a3c8728a9b49d SHA256 c77ec5ec597cc6ff8f40fb63dcf4c470f61d2530a87846d8e4d6466eb5a490ec
|
||||
DIST multiskkserv-20100128.tar.xz 250004 RMD160 e88fa34ed339e6ff1674cfad10ebf42c9898437c SHA1 b8c0602707c3cdb7851d7f07f6d893dd4d1e7c5c SHA256 e216026891af86b5ce17d5103bdce25d7aac923e53306728fafa7ed7863681bc
|
||||
|
@ -0,0 +1,45 @@
|
||||
diff --git a/configure.in b/configure.in
|
||||
index 648f742..2ac4e92 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -108,22 +108,24 @@ if test "$with_cdb" = "no"; then
|
||||
else
|
||||
if test "$with_cdb" = "yes"; then
|
||||
for i in /usr/local /usr; do
|
||||
- if test -d "$i/include" -a -f "$i/include/cdb.h"; then
|
||||
- CDB_DIR="$i"
|
||||
- CDB_INCLUDES="-I$i/include"
|
||||
- available_cdb="yes"
|
||||
- for j in cdb.a buffer.a unix.a byte.a alloc.a; do
|
||||
- if test -f "$i/lib/$j"; then
|
||||
- LIBADD_CDB="$LIBADD_CDB $i/lib/$j"
|
||||
- else
|
||||
- available_cdb="no"
|
||||
- break
|
||||
- fi
|
||||
- done
|
||||
- if test "$available_cdb" = "yes"; then
|
||||
- break
|
||||
- fi
|
||||
- fi
|
||||
+ for inc in include include/cdb; do
|
||||
+ if test -d "$i/$inc" -a -f "$i/$inc/cdb.h"; then
|
||||
+ CDB_DIR="$i"
|
||||
+ CDB_INCLUDES="-I$i/$inc"
|
||||
+ available_cdb="yes"
|
||||
+ for j in cdb.a buffer.a unix.a byte.a alloc.a; do
|
||||
+ if test -f "$i/lib/$j"; then
|
||||
+ LIBADD_CDB="$LIBADD_CDB $i/lib/$j"
|
||||
+ else
|
||||
+ available_cdb="no"
|
||||
+ break
|
||||
+ fi
|
||||
+ done
|
||||
+ if test "$available_cdb" = "yes"; then
|
||||
+ break
|
||||
+ fi
|
||||
+ fi
|
||||
+ done
|
||||
done
|
||||
else
|
||||
if test -d "$with_cdb" -a -f "$with_cdb/cdb.h"; then
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/multiskkserv/multiskkserv-20100128.ebuild,v 1.1 2012/06/14 05:05:37 naota Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils fixheadtails autotools
|
||||
|
||||
DESCRIPTION="SKK server that handles multiple dictionaries"
|
||||
HOMEPAGE="http://www3.big.or.jp/~sian/linux/products/"
|
||||
SRC_URI="http://www3.big.or.jp/~sian/linux/products/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/xz-utils
|
||||
dev-db/cdb"
|
||||
RDEPEND="|| (
|
||||
>=app-i18n/skk-jisyo-200705[cdb]
|
||||
app-i18n/skk-jisyo-cdb
|
||||
)"
|
||||
|
||||
src_prepare() {
|
||||
ht_fix_all
|
||||
epatch "${FILESDIR}"/${P}-cdb.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --with-cdb=yes || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
newconfd "${FILESDIR}"/multiskkserv.conf multiskkserv || die
|
||||
newinitd "${FILESDIR}"/multiskkserv.initd multiskkserv || die
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README* || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "By default, multiskkserv will look up only SKK-JISYO.L.cdb."
|
||||
elog "If you want to use more dictionaries,"
|
||||
elog "edit /etc/conf.d/multiskkserv manually."
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
diff --git a/Makefile.common b/Makefile.common
|
||||
index 06f0b78..d9f8976 100644
|
||||
--- a/Makefile.common
|
||||
+++ b/Makefile.common
|
||||
@@ -19,10 +19,10 @@ all: do-it-all
|
||||
$(CC) -fpic $(CFLAGS) $(FPTR) $(VK_OPT) -DVERSION=\"$(VERSION)\" -Wall -I$(XLIB_INC) -c $<
|
||||
|
||||
$(CORE): $(CORE_OBJS)
|
||||
- $(CC) $(CFLAGS) $(DLFLAGS) $(CORE_OBJS) -o $@ -L$(XLIB_PATH) $(LIBDL)
|
||||
+ $(CC) $(CFLAGS) $(DLFLAGS) $(CORE_OBJS) -o $@ -L$(XLIB_PATH) $(LIBDL) $(LDFLAGS)
|
||||
|
||||
$(GUI): $(GUI_OBJS)
|
||||
- $(CC) $(CFLAGS) $(GUI_OBJS) -o $@ -L$(XLIB_PATH) $(LIBS) $(XFT_LIBS)
|
||||
+ $(CC) $(CFLAGS) $(GUI_OBJS) -o $@ -L$(XLIB_PATH) $(LIBS) $(XFT_LIBS) $(LDFLAGS)
|
||||
|
||||
main: $(CORE) $(GUI)
|
||||
@echo >/dev/null
|
||||
diff --git a/tools/Makefile.common b/tools/Makefile.common
|
||||
index fe16cc1..16ec511 100644
|
||||
--- a/tools/Makefile.common
|
||||
+++ b/tools/Makefile.common
|
||||
@@ -16,10 +16,10 @@ all: do-it-all
|
||||
$(CC) $(CFLAGS) $(DEFS) -Wall -I$(XLIB_INC) -c $<
|
||||
|
||||
xvnkb_ctrl: $(CONTROL_OBJS)
|
||||
- $(CC) $(CFLAGS) -o $@ $(CONTROL_OBJS) -L$(XLIB_PATH) $(LIBS)
|
||||
+ $(CC) $(CFLAGS) -o $@ $(CONTROL_OBJS) -L$(XLIB_PATH) $(LIBS) $(LDFLAGS)
|
||||
|
||||
xvnkb_setup: $(SETUP_OBJS)
|
||||
- $(CC) $(CFLAGS) -o $@ $(SETUP_OBJS) -L$(XLIB_PATH) $(LIBS) $(XFT_LIBS)
|
||||
+ $(CC) $(CFLAGS) -o $@ $(SETUP_OBJS) -L$(XLIB_PATH) $(LIBS) $(XFT_LIBS) $(LDFLAGS)
|
||||
|
||||
main-tools: $(TOOLS)
|
||||
|
@ -0,0 +1,13 @@
|
||||
diff --git a/compile/Make_gcc.mak b/compile/Make_gcc.mak
|
||||
index f042ac6..f91fe92 100644
|
||||
--- a/compile/Make_gcc.mak
|
||||
+++ b/compile/Make_gcc.mak
|
||||
@@ -28,7 +28,7 @@ include compile/clean_unix.mak
|
||||
#
|
||||
$(libmigemo_LIB): $(libmigemo_DSO)
|
||||
$(libmigemo_DSO): $(libmigemo_OBJ)
|
||||
- $(CC) -shared -o $(libmigemo_LIB) -Wl,-soname,$@ $(libmigemo_OBJ)
|
||||
+ $(CC) -shared -o $(libmigemo_LIB) -Wl,-soname,$@ $(libmigemo_OBJ) $(LDFLAGS)
|
||||
$(RM) $@ $(libmigemo)
|
||||
ln -s $(libmigemo_LIB) $@
|
||||
ln -s $(libmigemo_LIB) $(libmigemo)
|
@ -1,10 +0,0 @@
|
||||
# use, i.e. don't skip the full RPATH for the build tree
|
||||
SET(CMAKE_SKIP_BUILD_RPATH FALSE)
|
||||
|
||||
# when building, don't use the install RPATH already
|
||||
# (but later on when installing)
|
||||
SET(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
|
||||
|
||||
# add the automatically determined parts of the RPATH
|
||||
# which point to directories outside the build tree to the install RPATH
|
||||
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
@ -0,0 +1,13 @@
|
||||
diff --git a/uvconvert/Makefile b/uvconvert/Makefile
|
||||
index 8819779..c610965 100644
|
||||
--- a/uvconvert/Makefile
|
||||
+++ b/uvconvert/Makefile
|
||||
@@ -6,7 +6,7 @@ OPTFLAGS="-O3"
|
||||
|
||||
all: uvconv
|
||||
uvconv: ${OBJS} libvnconv
|
||||
- ${CXX} ${CXXFLAGS} ${OPTFLAGS} -o $@ ${OBJS} ${LIBS}
|
||||
+ ${CXX} ${CXXFLAGS} ${OPTFLAGS} -o $@ ${OBJS} ${LIBS} ${LDFLAGS}
|
||||
|
||||
${OBJS}: %.o: %.cpp
|
||||
${CXX} ${CXXFLAGS} ${OPTFLAGS} -c $< -o $@ -I${INCLUDE_DIR}
|
@ -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/dev-lang/v8/v8-3.10.8.11.ebuild,v 1.1 2012/05/31 00:13:01 floppym Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.10.8.16.ebuild,v 1.1 2012/06/14 00:35:39 floppym Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/actionmailer-3.0.15.ebuild,v 1.1 2012/06/13 17:42:54 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Framework for designing email-service layers"
|
||||
HOMEPAGE="http://rubyforge.org/projects/actionmailer/"
|
||||
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3.0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-rails-*/actionmailer"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/actionpack-${PV}
|
||||
>=dev-ruby/mail-2.2.19"
|
||||
ruby_add_bdepend "test? (
|
||||
=dev-ruby/mocha-0.10.5
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set test environment to our hand.
|
||||
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
|
||||
sed -i -e '/\/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
|
||||
|
||||
sed -i -e '/dependency.*mail/s:~>:>=:' "${RUBY_FAKEGEM_GEMSPEC}" || die
|
||||
|
||||
# Rename private method to avoid conflict with the simple_format
|
||||
# TextHelper. Already fixed in Rails 3.1.
|
||||
sed -i -e 's/simple_format/format_paragraph/' lib/action_mailer/mail_helper.rb || die
|
||||
}
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-3.0.15.ebuild,v 1.1 2012/06/13 17:42:31 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ree18"
|
||||
|
||||
# The default test task tries to test activerecord with SQLite as well.
|
||||
RUBY_FAKEGEM_TASK_TEST="test_action_pack"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Eases web-request routing, handling, and response."
|
||||
HOMEPAGE="http://rubyforge.org/projects/actionpack/"
|
||||
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3.0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-rails-*/actionpack"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activemodel-${PV}
|
||||
~dev-ruby/activesupport-${PV}
|
||||
>=dev-ruby/builder-2.1.2:0
|
||||
>=dev-ruby/erubis-2.6.6
|
||||
>=dev-ruby/i18n-0.5.0:0.5
|
||||
>=dev-ruby/rack-1.2.5:1.2
|
||||
>=dev-ruby/rack-mount-0.6.14:0.6
|
||||
>=dev-ruby/rack-test-0.5.7:0.5
|
||||
>=dev-ruby/tzinfo-0.3.23"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/bundler
|
||||
=dev-ruby/mocha-0.10.5
|
||||
~dev-ruby/activerecord-${PV}
|
||||
~dev-ruby/actionmailer-${PV}
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e '/\(system_timer\|horo\|faker\|rbench\|ruby-debug\|pg\)/d' ../Gemfile || die
|
||||
|
||||
# Loosen erubis dependency since this is not slotted.
|
||||
sed -i -e 's/~> 2.6.6/>= 2.6.6/' actionpack.gemspec || die
|
||||
|
||||
# Avoid fragile tests depending on hash ordering
|
||||
sed -i -e '/cookie_3=chocolate/ s:^:#:' test/controller/integration_test.rb || die
|
||||
sed -i -e '/test_to_s/,/end/ s:^:#:' test/template/html-scanner/tag_node_test.rb || die
|
||||
sed -i -e '/"name":"david"/ s:^:#:' test/controller/mime_responds_test.rb || die
|
||||
sed -i -e '/test_option_html_attributes_with_multiple_element_hash/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die
|
||||
sed -i -e '/test_option_html_attributes_with_multiple_hashes/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die
|
||||
|
||||
# Ignore one failure that does not seem to be caused by changes in
|
||||
# this version of Rails and that is unlikely to get upstream
|
||||
# attention due to this version being old.
|
||||
sed -i -e '/rendering a partial in an RJS template should pick the JS template over the HTML one/, / end/ s:^:#:' test/controller/new_base/render_rjs_test.rb || die
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activemodel/activemodel-3.0.15.ebuild,v 1.1 2012/06/13 17:41:03 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activemodel.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A toolkit for building modeling frameworks like Active Record and Active Resource."
|
||||
HOMEPAGE="http://github.com/rails/rails"
|
||||
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3.0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-rails-*/activemodel"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activesupport-${PV}
|
||||
>=dev-ruby/builder-2.1.2
|
||||
>=dev-ruby/i18n-0.5.0:0.5"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/ruby-debug
|
||||
>=dev-ruby/mocha-0.9.5
|
||||
virtual/ruby-test-unit
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set test environment to our hand.
|
||||
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
|
||||
sed -i -e '/load_paths/d' test/cases/helper.rb || die "Unable to remove load paths"
|
||||
}
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/activerecord-3.0.15.ebuild,v 1.1 2012/06/13 17:43:17 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ree18"
|
||||
|
||||
# this is not null so that the dependencies will actually be filled
|
||||
RUBY_FAKEGEM_TASK_TEST="test"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
|
||||
HOMEPAGE="http://rubyforge.org/projects/activerecord/"
|
||||
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3.0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="mysql postgres sqlite3"
|
||||
|
||||
RUBY_S="rails-rails-*/activerecord"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/activesupport-${PV}
|
||||
~dev-ruby/activemodel-${PV}
|
||||
>=dev-ruby/arel-2.0.10-r1:2.0
|
||||
>=dev-ruby/tzinfo-0.3.23
|
||||
sqlite3? ( >=dev-ruby/sqlite3-ruby-1.3.3 )
|
||||
mysql? ( dev-ruby/mysql2:0.2 )
|
||||
postgres? ( dev-ruby/pg )"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/bundler
|
||||
~dev-ruby/actionpack-${PV}
|
||||
>=dev-ruby/sqlite3-ruby-1.3.3
|
||||
=dev-ruby/mocha-0.10.5
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
# sed -i -e '/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|"mysql"\)/d' ../Gemfile || die
|
||||
# sed -i -e '/rack-ssl/d' ../railties/railties.gemspec || die
|
||||
# sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
|
||||
sed -i -e '/\(system_timer\|horo\|faker\|rbench\|ruby-debug\|pg\)/d' ../Gemfile || die
|
||||
|
||||
# Loosen erubis dependency since this is not slotted.
|
||||
sed -i -e 's/~> 2.6.6/>= 2.6.6/' ../actionpack/actionpack.gemspec || die
|
||||
|
||||
# Avoid tests depending on hash ordering
|
||||
sed -i -e '/test_should_automatically_build_new_associated/,/ end/ s:^:#:' test/cases/nested_attributes_test.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
;;
|
||||
*)
|
||||
if use sqlite3; then
|
||||
${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
@ -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/dev-ruby/activeresource/activeresource-3.0.15.ebuild,v 1.1 2012/06/13 17:41:26 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activeresource.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Think Active Record for web resources.."
|
||||
HOMEPAGE="http://rubyforge.org/projects/activeresource/"
|
||||
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3.0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-rails-*/activeresource"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/activesupport-${PV}
|
||||
~dev-ruby/activemodel-${PV}"
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/mocha-0.9.5
|
||||
virtual/ruby-test-unit
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set test environment to our hand.
|
||||
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
|
||||
sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
|
||||
|
||||
}
|
@ -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/dev-ruby/activesupport/activesupport-3.0.15.ebuild,v 1.1 2012/06/13 17:40:36 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
# jruby fails tests.
|
||||
USE_RUBY="ruby18 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
|
||||
|
||||
RUBY_FAKEGEM_BINWRAP=""
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Utility Classes and Extension to the Standard Library"
|
||||
HOMEPAGE="http://rubyforge.org/projects/activesupport/"
|
||||
SRC_URI="https://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3.0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-rails-*/${PN}"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/memcache-client-1.5.8"
|
||||
|
||||
# libxml-ruby and nokogiri are not strictly needed, but there are tests
|
||||
# using this code.
|
||||
ruby_add_bdepend "test? ( virtual/ruby-test-unit >=dev-ruby/libxml-2.0.0 dev-ruby/nokogiri =dev-ruby/mocha-0.10.5 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# don't support older mocha versions as the optional codepath
|
||||
# breaks JRuby
|
||||
epatch "${FILESDIR}"/${PN}-3.0.3-mocha-0.9.5.patch
|
||||
|
||||
# Set test environment to our hand.
|
||||
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
|
||||
sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST mail-2.2.19.tar.gz 655385 RMD160 c3b526019c07e6fa45810847250d8c9224ca8de1 SHA1 3f5fdd98220009ae888e1daded6c87ea70c799ef SHA256 ddd32479389e25af6819d5485c466ba2d64e10b5fffae88b14c3342c59009b5e
|
||||
DIST mail-2.3.0.tar.gz 667908 RMD160 f333cee45c4470088a8ed19c133dbd7f40900107 SHA1 4a441b7711c979472dc5e5018914f9059fd59aa4 SHA256 0d156d2167eec03e9b7a288368261cd8d434a463f21f4953c9ab44a993f98d9c
|
||||
DIST mail-2.3.3-git.tar.gz 668618 RMD160 18a3b862ba7360c67057cf5b0022782496570a68 SHA1 38aff6f8e666c6ee3b3dcaf9a89d5270ecd59ed4 SHA256 1adb276d2de312bd95fbe5552b9df2c3b802eedbdaaf25dbbbcd4cf45b5951e0
|
||||
DIST mail-2.4.4.tar.gz 677102 RMD160 76033e259ffb04f7ac2251d8d7c6fb74a981d870 SHA1 e4c1aa231070e7103e630f796246de77d3fb0901 SHA256 2195c789c5178388f3ed5094ddad93683bac601fe3d9ecb13a3a9f9e7d97ba87
|
||||
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mail/mail-2.3.3.ebuild,v 1.1 2012/06/14 06:21:29 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="spec"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.rdoc TODO.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="mail.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
GITHUB_USER="mikel"
|
||||
|
||||
DESCRIPTION="An email handling library"
|
||||
HOMEPAGE="https://github.com/mikel/mail"
|
||||
SRC_URI="https://github.com/${GITHUB_USER}/mail/tarball/${PV} -> ${P}-git.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2.3"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="${GITHUB_USER}-${PN}-*"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/activesupport-2.3.6
|
||||
>=dev-ruby/i18n-0.4.0
|
||||
>=dev-ruby/mime-types-1.16
|
||||
>=dev-ruby/treetop-1.4.8"
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/rspec:0 )
|
||||
test? ( dev-ruby/rspec:0 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/[Bb]undle/d' -e '6d' Rakefile || die "Unable to remove Bundler code."
|
||||
|
||||
# Fix up dependencies to match our own.
|
||||
sed -i -e 's/~>/>=/' mail.gemspec || die "Unable to fix up dependencies."
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
# Comment out failing specs on ruby19. Reported upstream:
|
||||
# https://github.com/mikel/mail/issues/318
|
||||
case ${RUBY} in
|
||||
*ruby19)
|
||||
sed -i -e '/should return itself on sort/,/end/ s:^:#:' spec/mail/parts_list_spec.rb || die
|
||||
sed -i -e '/should encode a non us-ascii filename/,/^ end/ s:^:#:' spec/mail/fields/content_type_field_spec.rb || die
|
||||
;;
|
||||
esac
|
||||
}
|
@ -1,6 +1,3 @@
|
||||
DIST mocha-0.10.0.gem 71168 RMD160 96075a586c50e8fdadd3017ef72b2b4bc48c5e27 SHA1 9fe4c957e1eb1634d97e8621ce62e3e8330b7ec7 SHA256 dd07d585a48603f475d1d10d22ac46bca11d4ab5366cd8095af4d43e9c183a06
|
||||
DIST mocha-0.10.3.gem 72192 RMD160 a623b882f403e3512bfa70251a3f338dda55625a SHA1 2369aa772502842ade413b3895358b1e82eb8c61 SHA256 92213fafe4c15469dabb77e92cee8a1dc5ec02a409dec8607b2e727aab271dbf
|
||||
DIST mocha-0.10.5.gem 73728 RMD160 5e29c4701db4fdd90012cf3e1c4ebe46a254e972 SHA1 b3490deeb5a2e50b86df3cdacf27f19b67fc6f3f SHA256 cb511ef036cf411a128175e0dca69081d97a58ec70beff5077f87d74eda6940a
|
||||
DIST mocha-0.11.4.gem 75776 RMD160 9d316ce200f56483829d14f30f420364151e1add SHA1 9890bf985e62e92c7b2fdf61771f0f6f451a80e8 SHA256 12e901203211af113231d539c92390d456d2f0be37339917b5a35efbee6bb3cc
|
||||
DIST mocha-0.9.10.gem 66048 RMD160 84e21fd238f0e6a768cef3cad5ddfebdb8ba5625 SHA1 d4800469173efb69183f2f5598f2ed528bafe8cd SHA256 8ad43f1fd75659c01b63e0e36a5fdfbe1a6a79e20c4bab12feced2bd938f9b15
|
||||
DIST mocha-0.9.12.gem 67584 RMD160 e15617c7074d1e7fea24f5344341a805bbbbc3df SHA1 9608f143af20514be95ac4385f693f9fe865acb6 SHA256 2fc7e3e00e920772b5a5cba16809b567f6f623f62e5c3c95f5c51d0935575f8f
|
||||
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mocha/mocha-0.10.0.ebuild,v 1.6 2012/05/05 19:04:32 armin76 Exp $
|
||||
|
||||
EAPI=2
|
||||
USE_RUBY="ruby18 ree18 ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test:units"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="rdoc"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc RELEASE.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="init.rb"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Ruby library for mocking and stubbing using a syntax like that of JMock, and SchMock"
|
||||
HOMEPAGE="http://mocha.rubyforge.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "
|
||||
doc? ( dev-ruby/coderay )"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/metaclass" #metaclass ~> 0.0.1
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
all_fakegem_compile
|
||||
|
||||
if use doc; then
|
||||
rake examples || die
|
||||
fi
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
docinto examples
|
||||
dodoc examples/*.rb || die
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mocha/mocha-0.10.3.ebuild,v 1.3 2012/05/05 19:04:32 armin76 Exp $
|
||||
|
||||
EAPI=2
|
||||
USE_RUBY="ruby18 ree18 ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test:units"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="rdoc"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc RELEASE.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="init.rb"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Ruby library for mocking and stubbing using a syntax like that of JMock, and SchMock"
|
||||
HOMEPAGE="http://mocha.rubyforge.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ia64 ~sparc ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "
|
||||
doc? ( dev-ruby/coderay )"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/metaclass" #metaclass ~> 0.0.1
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
all_fakegem_compile
|
||||
|
||||
if use doc; then
|
||||
rake examples || die
|
||||
fi
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
docinto examples
|
||||
dodoc examples/*.rb || die
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mocha/mocha-0.9.10.ebuild,v 1.10 2011/10/03 20:03:16 jer Exp $
|
||||
|
||||
EAPI=2
|
||||
USE_RUBY="ruby18 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test:units"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc RELEASE.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Ruby library for mocking and stubbing using a syntax like that of JMock, and SchMock"
|
||||
HOMEPAGE="http://mocha.rubyforge.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? ( virtual/ruby-test-unit )
|
||||
doc? ( dev-ruby/coderay )"
|
||||
|
||||
all_ruby_compile() {
|
||||
all_fakegem_compile
|
||||
|
||||
if use doc; then
|
||||
rake examples || die
|
||||
fi
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
docinto examples
|
||||
dodoc examples/*.rb || die
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue