parent
ee55877bcb
commit
1ce5cce6ca
@ -1,2 +1,3 @@
|
||||
DIST seahorse-3.12.2.tar.xz 1398292 SHA256 5e6fb25373fd4490e181e2fa0f5cacf99b78b2f6caa5d91c9c605900fb5f3839 SHA512 016c87f1a356d3d0ac57931e139c20c67b4e36832d9a8947ff39bfc040d970ea25bfd8573624dbb3ebcec05db0803667d42afb2cb15a09d0ec8199dcc5543796 WHIRLPOOL 7cd023d0d90b23c3a39a776a872dc2ba218dbcf73670561ff94f397a97ec5dd97baece8e956d810dfb6613acf82d20b93f398ca7e5af54af1a78b67e6901d6f4
|
||||
DIST seahorse-3.14.0.tar.xz 1450280 SHA256 2ea22830f5af1a11fadbdd8da6b34513410f2c371d9ec75fbf9b9b2d9177fc8a SHA512 2d40f9f2a60bcebf23c1b573f9585251af64e8bec64898e25f6dec8cd7dbd6c559bc51c47b9a7ef2e4a83ffa1328c9721ccb0e7863b03707b35725e5baabc3b5 WHIRLPOOL 700c2311a94f9ade51a2581cdf9829a177bb100fedafb321fa3b9febc6988340bb4c56f62fee8637b572d7955e6d270f44d43986df52d632eecca175f36f3b1e
|
||||
DIST seahorse-3.14.1.tar.xz 1504128 SHA256 092a890982fa594da8a384f156b961392f69ce5d9518a9801035e6deb1f05e93 SHA512 1147ea601c1cb17dd1606d02f86261b0381dfdab14329fee7d68bd635420fec98174b2509b09c68216918bd9ca31f22ea538fa34cae1a8e0f4c44714b9693c0f WHIRLPOOL 208c841a28b8c7c0916c02e1a68eaa7c74681c5a3b8e0be30f65a4da953cefd9bb94d57373640513b68de9b204e9d1fc65429bf5dca0344336390068fe4a47e1
|
||||
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/seahorse/seahorse-3.14.1.ebuild,v 1.1 2015/03/07 12:44:57 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="A GNOME application for managing encryption keys"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Seahorse"
|
||||
|
||||
LICENSE="GPL-2+ FDL-1.1+"
|
||||
SLOT="0"
|
||||
IUSE="debug ldap zeroconf"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=app-crypt/gcr-3.11.91:=
|
||||
>=dev-libs/glib-2.10:2
|
||||
>=x11-libs/gtk+-3.4:3
|
||||
>=app-crypt/libsecret-0.16
|
||||
>=net-libs/libsoup-2.33.92:2.4
|
||||
x11-misc/shared-mime-info
|
||||
|
||||
net-misc/openssh
|
||||
>=app-crypt/gpgme-1
|
||||
>=app-crypt/gnupg-1.4
|
||||
|
||||
ldap? ( net-nds/openldap:= )
|
||||
zeroconf? ( >=net-dns/avahi-0.6:= )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-util/intltool-0.35
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
# Need seahorse-plugins git snapshot
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!<app-crypt/seahorse-plugins-2.91.0_pre20110114
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# Do not mess with CFLAGS with USE="debug"
|
||||
sed -e '/CFLAGS="$CFLAGS -g/d' \
|
||||
-e '/CFLAGS="$CFLAGS -O0/d' \
|
||||
-i configure.ac configure || die "sed 1 failed"
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# bindir is needed due to bad macro expansion in desktop file, bug #508610
|
||||
gnome2_src_configure \
|
||||
--bindir=/usr/bin \
|
||||
--enable-pgp \
|
||||
--enable-ssh \
|
||||
--enable-pkcs11 \
|
||||
--enable-hkp \
|
||||
$(use_enable debug) \
|
||||
$(use_enable ldap) \
|
||||
$(use_enable zeroconf sharing) \
|
||||
ITSTOOL=$(type -P true) \
|
||||
VALAC=$(type -P true)
|
||||
}
|
@ -0,0 +1,348 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-23.4-r13.ebuild,v 1.1 2015/03/07 15:06:19 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
inherit autotools elisp-common eutils flag-o-matic multilib readme.gentoo
|
||||
|
||||
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
|
||||
http://dev.gentoo.org/~ulm/emacs/${P}-patches-17.tar.xz"
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3+ BSD HPND 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"
|
||||
IUSE="alsa aqua athena dbus games 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.16
|
||||
>=app-emacs/emacs-common-gentoo-1.5[games?,X?]
|
||||
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:0= )
|
||||
png? ( >=media-libs/libpng-1.4:0= )
|
||||
svg? ( >=gnome-base/librsvg-2.0 )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
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? (
|
||||
motif? ( >=x11-libs/motif-2.3:0 )
|
||||
!motif? (
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
!Xaw3d? ( athena? ( x11-libs/libXaw ) )
|
||||
)
|
||||
)
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
alsa? ( virtual/pkgconfig )
|
||||
dbus? ( virtual/pkgconfig )
|
||||
X? ( virtual/pkgconfig )
|
||||
gzip-el? ( app-arch/gzip )
|
||||
pax_kernel? (
|
||||
sys-apps/attr
|
||||
sys-apps/paxctl
|
||||
)"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
!<app-editors/emacs-vcs-${PV}"
|
||||
|
||||
EMACS_SUFFIX="${PN/emacs/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 "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 \
|
||||
|| die "unable to sed ctags.1"
|
||||
|
||||
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 -pie
|
||||
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+=" --with-sound"
|
||||
else
|
||||
myconf+=" $(use_with sound)"
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
myconf+=" --with-x --without-ns"
|
||||
myconf+=" $(use_with gconf)"
|
||||
myconf+=" $(use_with toolkit-scroll-bars)"
|
||||
myconf+=" $(use_with gif)"
|
||||
myconf+=" $(use_with jpeg)"
|
||||
myconf+=" $(use_with png)"
|
||||
myconf+=" $(use_with svg rsvg)"
|
||||
myconf+=" $(use_with tiff)"
|
||||
myconf+=" $(use_with xpm)"
|
||||
|
||||
if use xft; then
|
||||
myconf+=" --with-xft"
|
||||
myconf+=" $(use_with m17n-lib libotf)"
|
||||
myconf+=" $(use_with m17n-lib m17n-flt)"
|
||||
else
|
||||
myconf+=" --without-xft"
|
||||
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
|
||||
local f
|
||||
if use gtk; then
|
||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||
myconf+=" --with-x-toolkit=gtk"
|
||||
for f in motif Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"gtk\" is set."
|
||||
done
|
||||
elif use motif; then
|
||||
einfo "Configuring to build with Motif toolkit"
|
||||
myconf+=" --with-x-toolkit=motif"
|
||||
for f in Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"motif\" is set."
|
||||
done
|
||||
elif use athena || use Xaw3d; then
|
||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
||||
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
||||
else
|
||||
einfo "Configuring to build with no toolkit"
|
||||
myconf+=" --with-x-toolkit=no"
|
||||
fi
|
||||
elif use aqua; then
|
||||
einfo "Configuring to build with Nextstep (Cocoa) support"
|
||||
myconf+=" --with-ns --disable-ns-self-contained"
|
||||
myconf+=" --without-x"
|
||||
else
|
||||
myconf+=" --without-x --without-ns"
|
||||
fi
|
||||
|
||||
# Save version information in the Emacs binary. It will be available
|
||||
# in variable "system-configuration-options".
|
||||
myconf+=" GENTOO_PACKAGE=${CATEGORY}/${PF}"
|
||||
|
||||
# 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} \
|
||||
--localstatedir="${EPREFIX}"/var \
|
||||
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
|
||||
--with-crt-dir="${crtdir}" \
|
||||
--with-gameuser=":gamestat" \
|
||||
$(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
|
||||
emake CC="$(tc-getCC)" \
|
||||
AR="$(tc-getAR) cq" \
|
||||
RANLIB="$(tc-getRANLIB)"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
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
|
||||
mv "${ED}"/usr/share/man/man1/{emacs,${EMACS_SUFFIX}}.1 \
|
||||
|| die "moving emacs man page failed"
|
||||
for m in b2m ctags ebrowse emacsclient etags grep-changelog rcs-checkin; do
|
||||
mv "${ED}"/usr/share/man/man1/${m}{,-${EMACS_SUFFIX}}.1 \
|
||||
|| die "moving ${m} man page 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 -rf "${ED}"/var
|
||||
|
||||
# remove unused <version>/site-lisp dir
|
||||
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
|
||||
|
||||
# remove COPYING file (except for etc/COPYING used by describe-copying)
|
||||
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING
|
||||
|
||||
local cdir
|
||||
if use source; then
|
||||
cdir="/usr/share/emacs/${FULL_VERSION}/src"
|
||||
insinto "${cdir}"
|
||||
# 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
|
||||
elif has installsources ${FEATURES}; then
|
||||
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
|
||||
fi
|
||||
|
||||
sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF
|
||||
X
|
||||
;;; ${PN}-${SLOT} site-lisp configuration
|
||||
X
|
||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
||||
Y (setq find-function-C-source-directory
|
||||
Y "${EPREFIX}${cdir}")
|
||||
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
|
||||
fi
|
||||
|
||||
DOC_CONTENTS="You can set the version to be started by /usr/bin/emacs
|
||||
through the Emacs eselect module, which also redirects man and info
|
||||
pages. Therefore, several Emacs versions can be installed at the
|
||||
same time. \"man emacs.eselect\" for details.
|
||||
\\n\\nIf you upgrade from a previous major version of Emacs, then
|
||||
it is strongly recommended that you use app-admin/emacs-updater
|
||||
to rebuild all byte-compiled elisp files of the installed Emacs
|
||||
packages."
|
||||
use X && DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs.
|
||||
Installing media-fonts/font-adobe-{75,100}dpi on the X server's
|
||||
machine would satisfy basic Emacs requirements under X11.
|
||||
See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs
|
||||
for how to enable anti-aliased fonts."
|
||||
use aqua && DOC_CONTENTS+="\\n\\nEmacs${EMACS_SUFFIX#emacs}.app is in
|
||||
\"${EPREFIX}/Applications/Gentoo\". You may want to copy or symlink
|
||||
it into /Applications by yourself."
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
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() {
|
||||
elisp-site-regen
|
||||
readme.gentoo_print_elog
|
||||
|
||||
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
|
||||
elif [[ $(readlink "${EROOT}"/usr/bin/emacs) = ${EMACS_SUFFIX} ]]; then
|
||||
# refresh symlinks in case any installed files have changed
|
||||
eselect emacs set ${EMACS_SUFFIX}
|
||||
else
|
||||
eselect emacs update ifunset
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
}
|
@ -0,0 +1,338 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-24.4-r4.ebuild,v 1.1 2015/03/07 15:06:19 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools elisp-common eutils flag-o-matic multilib readme.gentoo
|
||||
|
||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||
HOMEPAGE="http://www.gnu.org/software/emacs/"
|
||||
SRC_URI="mirror://gnu/emacs/${P}.tar.xz
|
||||
http://dev.gentoo.org/~ulm/emacs/${P}-patches-5.tar.xz"
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3+ BSD HPND 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"
|
||||
IUSE="acl alsa aqua athena dbus games gconf gfile gif gnutls gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm zlib"
|
||||
REQUIRED_USE="?? ( aqua X )"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
>=app-admin/eselect-emacs-1.16
|
||||
>=app-emacs/emacs-common-gentoo-1.5[games?,X?]
|
||||
net-libs/liblockfile
|
||||
acl? ( virtual/acl )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
dbus? ( sys-apps/dbus )
|
||||
gfile? ( >=dev-libs/glib-2.28.6 )
|
||||
gnutls? ( net-libs/gnutls )
|
||||
gpm? ( sys-libs/gpm )
|
||||
hesiod? ( net-dns/hesiod )
|
||||
kerberos? ( virtual/krb5 )
|
||||
libxml2? ( >=dev-libs/libxml2-2.2.0 )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
zlib? ( sys-libs/zlib )
|
||||
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:0= )
|
||||
png? ( >=media-libs/libpng-1.4:0= )
|
||||
svg? ( >=gnome-base/librsvg-2.0 )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
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? (
|
||||
motif? ( >=x11-libs/motif-2.3:0 )
|
||||
!motif? (
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
!Xaw3d? ( athena? ( x11-libs/libXaw ) )
|
||||
)
|
||||
)
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
gzip-el? ( app-arch/gzip )
|
||||
pax_kernel? (
|
||||
sys-apps/attr
|
||||
sys-apps/paxctl
|
||||
)"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
!<app-editors/emacs-vcs-${PV}"
|
||||
|
||||
EMACS_SUFFIX="${PN/emacs/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
|
||||
|
||||
# Fix filename reference in redirected man page
|
||||
sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 \
|
||||
|| die "unable to sed ctags.1"
|
||||
|
||||
AT_M4DIR=m4 eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
strip-flags
|
||||
filter-flags -pie #526948
|
||||
|
||||
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; then
|
||||
use sound || ewarn \
|
||||
"USE flag \"alsa\" overrides \"-sound\"; enabling sound support."
|
||||
myconf+=" --with-sound=alsa"
|
||||
else
|
||||
myconf+=" --with-sound=$(usex sound oss)"
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
myconf+=" --with-x --without-ns"
|
||||
myconf+=" $(use_with gconf)"
|
||||
myconf+=" $(use_with gsettings)"
|
||||
myconf+=" $(use_with toolkit-scroll-bars)"
|
||||
myconf+=" $(use_with gif)"
|
||||
myconf+=" $(use_with jpeg)"
|
||||
myconf+=" $(use_with png)"
|
||||
myconf+=" $(use_with svg rsvg)"
|
||||
myconf+=" $(use_with tiff)"
|
||||
myconf+=" $(use_with xpm)"
|
||||
myconf+=" $(use_with imagemagick)"
|
||||
|
||||
if use xft; then
|
||||
myconf+=" --with-xft"
|
||||
myconf+=" $(use_with m17n-lib libotf)"
|
||||
myconf+=" $(use_with m17n-lib m17n-flt)"
|
||||
else
|
||||
myconf+=" --without-xft"
|
||||
myconf+=" --without-libotf --without-m17n-flt"
|
||||
use m17n-lib && ewarn \
|
||||
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
|
||||
fi
|
||||
|
||||
local f
|
||||
if use gtk; then
|
||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||
myconf+=" --with-x-toolkit=$(usex gtk3 gtk3 gtk2)"
|
||||
for f in motif Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"gtk\" is set."
|
||||
done
|
||||
elif use motif; then
|
||||
einfo "Configuring to build with Motif toolkit"
|
||||
myconf+=" --with-x-toolkit=motif"
|
||||
for f in Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"motif\" is set."
|
||||
done
|
||||
elif use athena || use Xaw3d; then
|
||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
||||
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
||||
else
|
||||
einfo "Configuring to build with no toolkit"
|
||||
myconf+=" --with-x-toolkit=no"
|
||||
fi
|
||||
elif use aqua; then
|
||||
einfo "Configuring to build with Nextstep (Cocoa) support"
|
||||
myconf+=" --with-ns --disable-ns-self-contained"
|
||||
myconf+=" --without-x"
|
||||
else
|
||||
myconf+=" --without-x --without-ns"
|
||||
fi
|
||||
|
||||
# Save version information in the Emacs binary. It will be available
|
||||
# in variable "system-configuration-options".
|
||||
myconf+=" GENTOO_PACKAGE=${CATEGORY}/${PF}"
|
||||
|
||||
econf \
|
||||
--program-suffix="-${EMACS_SUFFIX}" \
|
||||
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
|
||||
--localstatedir="${EPREFIX}"/var \
|
||||
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
|
||||
--with-gameuser=":gamestat" \
|
||||
--without-compress-install \
|
||||
--with-file-notification=$(usev gfile || usev inotify || echo no) \
|
||||
$(use_enable acl) \
|
||||
$(use_with dbus) \
|
||||
$(use_with gnutls) \
|
||||
$(use_with gpm) \
|
||||
$(use_with hesiod) \
|
||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||
$(use_with libxml2 xml2) \
|
||||
$(use_with selinux) \
|
||||
$(use_with wide-int) \
|
||||
$(use_with zlib) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
|
||||
emake
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" NO_BIN_LINK=t install
|
||||
|
||||
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} \
|
||||
|| die "moving emacs executable failed"
|
||||
mv "${ED}"/usr/share/man/man1/{emacs-,}${EMACS_SUFFIX}.1 \
|
||||
|| die "moving emacs man page failed"
|
||||
|
||||
# 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 -rf "${ED}"/var
|
||||
|
||||
# remove unused <version>/site-lisp dir
|
||||
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
|
||||
|
||||
# remove COPYING file (except for etc/COPYING used by describe-copying)
|
||||
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING
|
||||
|
||||
if use gzip-el; then
|
||||
# compress .el files when a corresponding .elc exists
|
||||
find "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp -type f \
|
||||
-name "*.elc" -print | sed 's/\.elc$/.el/' | xargs gzip -9n
|
||||
assert "gzip .el failed"
|
||||
fi
|
||||
|
||||
local cdir
|
||||
if use source; then
|
||||
cdir="/usr/share/emacs/${FULL_VERSION}/src"
|
||||
insinto "${cdir}"
|
||||
# This is not meant to install all the source -- just the
|
||||
# C source you might find via find-function
|
||||
doins src/*.{c,h,m}
|
||||
elif has installsources ${FEATURES}; then
|
||||
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
|
||||
fi
|
||||
|
||||
sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF
|
||||
X
|
||||
;;; ${PN}-${SLOT} site-lisp configuration
|
||||
X
|
||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
||||
Y (setq find-function-C-source-directory
|
||||
Y "${EPREFIX}${cdir}")
|
||||
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
|
||||
fi
|
||||
|
||||
DOC_CONTENTS="You can set the version to be started by /usr/bin/emacs
|
||||
through the Emacs eselect module, which also redirects man and info
|
||||
pages. Therefore, several Emacs versions can be installed at the
|
||||
same time. \"man emacs.eselect\" for details.
|
||||
\\n\\nIf you upgrade from Emacs version 24.2 or earlier, then it is
|
||||
strongly recommended that you use app-admin/emacs-updater to rebuild
|
||||
all byte-compiled elisp files of the installed Emacs packages."
|
||||
use X && DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs.
|
||||
Installing media-fonts/font-adobe-{75,100}dpi on the X server's
|
||||
machine would satisfy basic Emacs requirements under X11.
|
||||
See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs
|
||||
for how to enable anti-aliased fonts."
|
||||
use aqua && DOC_CONTENTS+="\\n\\nEmacs${EMACS_SUFFIX#emacs}.app is in
|
||||
\"${EPREFIX}/Applications/Gentoo\". You may want to copy or symlink
|
||||
it into /Applications by yourself."
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
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() {
|
||||
elisp-site-regen
|
||||
|
||||
local pvr
|
||||
for pvr in ${REPLACING_VERSIONS}; do
|
||||
[[ ${pvr%%[-_]*} = 24.[12] ]] && FORCE_PRINT_ELOG=1
|
||||
done
|
||||
readme.gentoo_print_elog
|
||||
|
||||
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
|
||||
elif [[ $(readlink "${EROOT}"/usr/bin/emacs) = ${EMACS_SUFFIX} ]]; then
|
||||
# refresh symlinks in case any installed files have changed
|
||||
eselect emacs set ${EMACS_SUFFIX}
|
||||
else
|
||||
eselect emacs update ifunset
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
}
|
@ -1,145 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/crossover-bin/crossover-bin-12.1.2-r2.ebuild,v 1.1 2014/11/12 16:39:44 axs Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE="threads"
|
||||
|
||||
inherit python-single-r1 unpacker
|
||||
|
||||
DESCRIPTION="Commercial version of app-emulation/wine with paid support"
|
||||
HOMEPAGE="http://www.codeweavers.com/products/crossover/"
|
||||
SRC_URI="install-crossover-${PV}.bin"
|
||||
|
||||
LICENSE="CROSSOVER-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
IUSE="+capi +cups doc +gphoto2 +gsm +jpeg +lcms +ldap +mp3 +nls +openal +opengl +png +scanner +ssl +v4l"
|
||||
RESTRICT="fetch test"
|
||||
QA_FLAGS_IGNORED="opt/cxoffice/.*"
|
||||
QA_PRESTRIPPED="opt/cxoffice/lib/.*
|
||||
opt/cxoffice/bin/cxburner
|
||||
opt/cxoffice/bin/cxntlm_auth
|
||||
opt/cxoffice/bin/wineserver
|
||||
opt/cxoffice/bin/unrar
|
||||
opt/cxoffice/bin/wine-preloader
|
||||
opt/cxoffice/bin/cxdiag
|
||||
opt/cxoffice/bin/cxgettext
|
||||
opt/cxoffice/bin/wineloader
|
||||
"
|
||||
S="${WORKDIR}"
|
||||
|
||||
REGULAR_DEPS="
|
||||
capi? ( net-dialup/capi4k-utils )
|
||||
cups? ( net-print/cups[abi_x86_32(-)] )
|
||||
gsm? ( media-sound/gsm[abi_x86_32(-)] )
|
||||
jpeg? ( virtual/jpeg[abi_x86_32(-)] )
|
||||
lcms? ( media-libs/lcms:0 )
|
||||
ldap? ( net-nds/openldap[abi_x86_32(-)] )
|
||||
gphoto2? ( media-libs/libgphoto2[abi_x86_32(-)] )
|
||||
mp3? ( >=media-sound/mpg123-1.5.0[abi_x86_32(-)] )
|
||||
nls? ( sys-devel/gettext[abi_x86_32(-)] )
|
||||
openal? ( media-libs/openal[abi_x86_32(-)] )
|
||||
opengl? (
|
||||
virtual/glu[abi_x86_32(-)]
|
||||
virtual/opengl[abi_x86_32(-)]
|
||||
)
|
||||
png? ( media-libs/libpng:0[abi_x86_32(-)] )
|
||||
scanner? ( media-gfx/sane-backends[abi_x86_32(-)] )
|
||||
ssl? ( dev-libs/openssl:0[abi_x86_32(-)] )
|
||||
v4l? ( media-libs/libv4l[abi_x86_32(-)] )
|
||||
media-libs/alsa-lib[abi_x86_32(-)]
|
||||
>=media-libs/freetype-2.0.0[abi_x86_32(-)]
|
||||
media-libs/mesa[abi_x86_32(-)]
|
||||
sys-apps/util-linux[abi_x86_32(-)]
|
||||
sys-libs/zlib[abi_x86_32(-)]
|
||||
x11-libs/libICE[abi_x86_32(-)]
|
||||
x11-libs/libSM[abi_x86_32(-)]
|
||||
x11-libs/libX11[abi_x86_32(-)]
|
||||
x11-libs/libXau[abi_x86_32(-)]
|
||||
x11-libs/libXdmcp[abi_x86_32(-)]
|
||||
x11-libs/libXext[abi_x86_32(-)]
|
||||
x11-libs/libXi[abi_x86_32(-)]
|
||||
x11-libs/libXrandr[abi_x86_32(-)]
|
||||
x11-libs/libXxf86vm[abi_x86_32(-)]
|
||||
x11-libs/libxcb[abi_x86_32(-)]
|
||||
"
|
||||
|
||||
EMUL_DEPS="
|
||||
app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)]
|
||||
app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)]
|
||||
openal? ( app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)] )
|
||||
opengl? ( app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] )
|
||||
scanner? ( app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )
|
||||
v4l? ( app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )
|
||||
"
|
||||
|
||||
DEPEND="dev-lang/perl
|
||||
app-arch/unzip
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
!prefix? ( sys-libs/glibc )
|
||||
>=dev-python/pygtk-2.10[${PYTHON_USEDEP}]
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
dev-util/desktop-file-utils
|
||||
!app-emulation/crossover-office-pro-bin
|
||||
!app-emulation/crossover-office-bin
|
||||
|| ( ( ${REGULAR_DEPS} ) ( ${EMUL_DEPS} ) )
|
||||
"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please visit ${HOMEPAGE}"
|
||||
einfo "and place ${A} in ${DISTDIR}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
# self unpacking zip archive; unzip warns about the exe stuff
|
||||
unpack_zip ${A}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
sed -e 's:/usr/local/etc/xdg /etc/xdg::' -i "${WORKDIR}/bin/locate_gui.sh" \
|
||||
|| die "Could not patch ${WORKDIR}/bin/locate_gui.sh"
|
||||
|
||||
# Remove unnecessary files
|
||||
rm -r license.txt guis/ || die "Could not remove files"
|
||||
use doc || rm -r doc/ || die "Could not remove files"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Install crossover symlink, bug #476314
|
||||
dosym /opt/cxoffice/bin/crossover /opt/bin/crossover
|
||||
|
||||
# Install documentation
|
||||
dodoc README changelog.txt
|
||||
rm README changelog.txt || die "Could not remove README and changelog.txt"
|
||||
|
||||
# Install files
|
||||
dodir /opt/cxoffice
|
||||
cp -r ./* "${ED}opt/cxoffice" \
|
||||
|| die "Could not install into ${ED}opt/cxoffice"
|
||||
|
||||
# Install configuration file
|
||||
insinto /opt/cxoffice/etc
|
||||
doins share/crossover/data/cxoffice.conf
|
||||
|
||||
# Install requisite directories for menus
|
||||
dodir "/usr/share/applications"
|
||||
dodir "/etc/xdg/menus/applications-merged"
|
||||
|
||||
# Install menus
|
||||
XDG_CONFIG_DIRS="${ED}etc/xdg" \
|
||||
XDG_DATA_DIRS="${ED}usr/share" \
|
||||
"${ED}opt/cxoffice/bin/cxmenu" --crossover --install \
|
||||
|| die "Could not install menus"
|
||||
|
||||
# Fix menus
|
||||
sed -e "s:${ED}:/:" -i "${ED}usr/share/applications/"* \
|
||||
|| die "Could not fix menus"
|
||||
}
|
@ -1,145 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/crossover-bin/crossover-bin-12.2.0-r2.ebuild,v 1.1 2014/11/12 16:39:44 axs Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE="threads"
|
||||
|
||||
inherit python-single-r1 unpacker
|
||||
|
||||
DESCRIPTION="Commercial version of app-emulation/wine with paid support"
|
||||
HOMEPAGE="http://www.codeweavers.com/products/crossover/"
|
||||
SRC_URI="install-crossover-${PV}.bin"
|
||||
|
||||
LICENSE="CROSSOVER-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
IUSE="+capi +cups doc +gphoto2 +gsm +jpeg +lcms +ldap +mp3 +nls +openal +opengl +png +scanner +ssl +v4l"
|
||||
RESTRICT="fetch test"
|
||||
QA_FLAGS_IGNORED="opt/cxoffice/.*"
|
||||
QA_PRESTRIPPED="opt/cxoffice/lib/.*
|
||||
opt/cxoffice/bin/cxburner
|
||||
opt/cxoffice/bin/cxntlm_auth
|
||||
opt/cxoffice/bin/wineserver
|
||||
opt/cxoffice/bin/unrar
|
||||
opt/cxoffice/bin/wine-preloader
|
||||
opt/cxoffice/bin/cxdiag
|
||||
opt/cxoffice/bin/cxgettext
|
||||
opt/cxoffice/bin/wineloader
|
||||
"
|
||||
S="${WORKDIR}"
|
||||
|
||||
REGULAR_DEPS="
|
||||
capi? ( net-dialup/capi4k-utils )
|
||||
cups? ( net-print/cups[abi_x86_32(-)] )
|
||||
gsm? ( media-sound/gsm[abi_x86_32(-)] )
|
||||
jpeg? ( virtual/jpeg[abi_x86_32(-)] )
|
||||
lcms? ( media-libs/lcms:0 )
|
||||
ldap? ( net-nds/openldap[abi_x86_32(-)] )
|
||||
gphoto2? ( media-libs/libgphoto2[abi_x86_32(-)] )
|
||||
mp3? ( >=media-sound/mpg123-1.5.0[abi_x86_32(-)] )
|
||||
nls? ( sys-devel/gettext[abi_x86_32(-)] )
|
||||
openal? ( media-libs/openal[abi_x86_32(-)] )
|
||||
opengl? (
|
||||
virtual/glu[abi_x86_32(-)]
|
||||
virtual/opengl[abi_x86_32(-)]
|
||||
)
|
||||
png? ( media-libs/libpng:0[abi_x86_32(-)] )
|
||||
scanner? ( media-gfx/sane-backends[abi_x86_32(-)] )
|
||||
ssl? ( dev-libs/openssl:0[abi_x86_32(-)] )
|
||||
v4l? ( media-libs/libv4l[abi_x86_32(-)] )
|
||||
media-libs/alsa-lib[abi_x86_32(-)]
|
||||
>=media-libs/freetype-2.0.0[abi_x86_32(-)]
|
||||
media-libs/mesa[abi_x86_32(-)]
|
||||
sys-apps/util-linux[abi_x86_32(-)]
|
||||
sys-libs/zlib[abi_x86_32(-)]
|
||||
x11-libs/libICE[abi_x86_32(-)]
|
||||
x11-libs/libSM[abi_x86_32(-)]
|
||||
x11-libs/libX11[abi_x86_32(-)]
|
||||
x11-libs/libXau[abi_x86_32(-)]
|
||||
x11-libs/libXdmcp[abi_x86_32(-)]
|
||||
x11-libs/libXext[abi_x86_32(-)]
|
||||
x11-libs/libXi[abi_x86_32(-)]
|
||||
x11-libs/libXrandr[abi_x86_32(-)]
|
||||
x11-libs/libXxf86vm[abi_x86_32(-)]
|
||||
x11-libs/libxcb[abi_x86_32(-)]
|
||||
"
|
||||
|
||||
EMUL_DEPS="
|
||||
app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)]
|
||||
app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)]
|
||||
openal? ( app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)] )
|
||||
opengl? ( app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] )
|
||||
scanner? ( app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )
|
||||
v4l? ( app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )
|
||||
"
|
||||
|
||||
DEPEND="dev-lang/perl
|
||||
app-arch/unzip
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
!prefix? ( sys-libs/glibc )
|
||||
>=dev-python/pygtk-2.10[${PYTHON_USEDEP}]
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
dev-util/desktop-file-utils
|
||||
!app-emulation/crossover-office-pro-bin
|
||||
!app-emulation/crossover-office-bin
|
||||
|| ( ( ${REGULAR_DEPS} ) ( ${EMUL_DEPS} ) )
|
||||
"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please visit ${HOMEPAGE}"
|
||||
einfo "and place ${A} in ${DISTDIR}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
# self unpacking zip archive; unzip warns about the exe stuff
|
||||
unpack_zip ${A}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
sed -e 's:/usr/local/etc/xdg /etc/xdg::' -i "${WORKDIR}/bin/locate_gui.sh" \
|
||||
|| die "Could not patch ${WORKDIR}/bin/locate_gui.sh"
|
||||
|
||||
# Remove unnecessary files
|
||||
rm -r license.txt guis/ || die "Could not remove files"
|
||||
use doc || rm -r doc/ || die "Could not remove files"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Install crossover symlink, bug #476314
|
||||
dosym /opt/cxoffice/bin/crossover /opt/bin/crossover
|
||||
|
||||
# Install documentation
|
||||
dodoc README changelog.txt
|
||||
rm README changelog.txt || die "Could not remove README and changelog.txt"
|
||||
|
||||
# Install files
|
||||
dodir /opt/cxoffice
|
||||
cp -r ./* "${ED}opt/cxoffice" \
|
||||
|| die "Could not install into ${ED}opt/cxoffice"
|
||||
|
||||
# Install configuration file
|
||||
insinto /opt/cxoffice/etc
|
||||
doins share/crossover/data/cxoffice.conf
|
||||
|
||||
# Install requisite directories for menus
|
||||
dodir "/usr/share/applications"
|
||||
dodir "/etc/xdg/menus/applications-merged"
|
||||
|
||||
# Install menus
|
||||
XDG_CONFIG_DIRS="${ED}etc/xdg" \
|
||||
XDG_DATA_DIRS="${ED}usr/share" \
|
||||
"${ED}opt/cxoffice/bin/cxmenu" --crossover --install \
|
||||
|| die "Could not install menus"
|
||||
|
||||
# Fix menus
|
||||
sed -e "s:${ED}:/:" -i "${ED}usr/share/applications/"* \
|
||||
|| die "Could not fix menus"
|
||||
}
|
@ -1,143 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/crossover-bin/crossover-bin-12.2.1-r2.ebuild,v 1.1 2014/11/12 16:39:44 axs Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE="threads"
|
||||
|
||||
inherit python-single-r1 unpacker
|
||||
|
||||
DESCRIPTION="Commercial version of app-emulation/wine with paid support"
|
||||
HOMEPAGE="http://www.codeweavers.com/products/crossover/"
|
||||
SRC_URI="install-crossover-${PV}.bin"
|
||||
|
||||
LICENSE="CROSSOVER-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
IUSE="+capi +cups doc +gphoto2 +gsm +jpeg +lcms +ldap +mp3 +nls +openal +opengl +png +scanner +ssl +v4l"
|
||||
RESTRICT="fetch test"
|
||||
QA_FLAGS_IGNORED="opt/cxoffice/.*"
|
||||
QA_PRESTRIPPED="opt/cxoffice/lib/.*
|
||||
opt/cxoffice/bin/cxburner
|
||||
opt/cxoffice/bin/cxntlm_auth
|
||||
opt/cxoffice/bin/wineserver
|
||||
opt/cxoffice/bin/unrar
|
||||
opt/cxoffice/bin/wine-preloader
|
||||
opt/cxoffice/bin/cxdiag
|
||||
opt/cxoffice/bin/cxgettext
|
||||
opt/cxoffice/bin/wineloader
|
||||
"
|
||||
S="${WORKDIR}"
|
||||
|
||||
REGULAR_DEPS="
|
||||
capi? ( net-dialup/capi4k-utils )
|
||||
cups? ( net-print/cups[abi_x86_32(-)] )
|
||||
gsm? ( media-sound/gsm[abi_x86_32(-)] )
|
||||
jpeg? ( virtual/jpeg[abi_x86_32(-)] )
|
||||
lcms? ( media-libs/lcms:0 )
|
||||
ldap? ( net-nds/openldap[abi_x86_32(-)] )
|
||||
gphoto2? ( media-libs/libgphoto2[abi_x86_32(-)] )
|
||||
mp3? ( >=media-sound/mpg123-1.5.0[abi_x86_32(-)] )
|
||||
nls? ( sys-devel/gettext[abi_x86_32(-)] )
|
||||
openal? ( media-libs/openal[abi_x86_32(-)] )
|
||||
opengl? (
|
||||
virtual/glu[abi_x86_32(-)]
|
||||
virtual/opengl[abi_x86_32(-)]
|
||||
)
|
||||
png? ( media-libs/libpng:0[abi_x86_32(-)] )
|
||||
scanner? ( media-gfx/sane-backends[abi_x86_32(-)] )
|
||||
ssl? ( dev-libs/openssl:0[abi_x86_32(-)] )
|
||||
v4l? ( media-libs/libv4l[abi_x86_32(-)] )
|
||||
media-libs/alsa-lib[abi_x86_32(-)]
|
||||
>=media-libs/freetype-2.0.0[abi_x86_32(-)]
|
||||
media-libs/mesa[abi_x86_32(-)]
|
||||
sys-apps/util-linux[abi_x86_32(-)]
|
||||
sys-libs/zlib[abi_x86_32(-)]
|
||||
x11-libs/libICE[abi_x86_32(-)]
|
||||
x11-libs/libSM[abi_x86_32(-)]
|
||||
x11-libs/libX11[abi_x86_32(-)]
|
||||
x11-libs/libXau[abi_x86_32(-)]
|
||||
x11-libs/libXdmcp[abi_x86_32(-)]
|
||||
x11-libs/libXext[abi_x86_32(-)]
|
||||
x11-libs/libXi[abi_x86_32(-)]
|
||||
x11-libs/libXrandr[abi_x86_32(-)]
|
||||
x11-libs/libXxf86vm[abi_x86_32(-)]
|
||||
x11-libs/libxcb[abi_x86_32(-)]
|
||||
"
|
||||
|
||||
EMUL_DEPS="
|
||||
app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)]
|
||||
app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)]
|
||||
openal? ( app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)] )
|
||||
opengl? ( app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] )
|
||||
scanner? ( app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )
|
||||
v4l? ( app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )
|
||||
"
|
||||
|
||||
DEPEND="dev-lang/perl
|
||||
app-arch/unzip
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
!prefix? ( sys-libs/glibc )
|
||||
>=dev-python/pygtk-2.10[${PYTHON_USEDEP}]
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
dev-util/desktop-file-utils
|
||||
!app-emulation/crossover-office-pro-bin
|
||||
!app-emulation/crossover-office-bin
|
||||
|| ( ( ${REGULAR_DEPS} ) ( ${EMUL_DEPS} ) )
|
||||
"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please visit ${HOMEPAGE}"
|
||||
einfo "and place ${A} in ${DISTDIR}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
# self unpacking zip archive; unzip warns about the exe stuff
|
||||
unpack_zip ${A}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
sed -e 's:/usr/local/etc/xdg /etc/xdg::' -i "${WORKDIR}/bin/locate_gui.sh" \
|
||||
|| die "Could not patch ${WORKDIR}/bin/locate_gui.sh"
|
||||
|
||||
# Remove unnecessary files
|
||||
rm -r license.txt guis/ || die "Could not remove files"
|
||||
use doc || rm -r doc/ || die "Could not remove files"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Install crossover symlink, bug #476314
|
||||
dosym /opt/cxoffice/bin/crossover /opt/bin/crossover
|
||||
|
||||
# Install documentation
|
||||
dodoc README changelog.txt
|
||||
rm README changelog.txt || die "Could not remove README and changelog.txt"
|
||||
|
||||
# Install files
|
||||
dodir /opt/cxoffice
|
||||
cp -r ./* "${ED}opt/cxoffice" \
|
||||
|| die "Could not install into ${ED}opt/cxoffice"
|
||||
|
||||
# Install configuration file
|
||||
insinto /opt/cxoffice/etc
|
||||
doins share/crossover/data/cxoffice.conf
|
||||
|
||||
# Install requisite directories for menus
|
||||
dodir "/usr/share/applications"
|
||||
dodir "/etc/xdg/menus/applications-merged"
|
||||
|
||||
# Install menus
|
||||
XDG_CONFIG_DIRS="${ED}etc/xdg" \
|
||||
XDG_DATA_DIRS="${ED}usr/share" \
|
||||
"${ED}opt/cxoffice/bin/cxmenu" --crossover --install \
|
||||
|| die "Could not install menus"
|
||||
|
||||
# Fix menus
|
||||
sed -e "s:${ED}:/:" -i "${ED}usr/share/applications/"* \
|
||||
|| die "Could not fix menus"
|
||||
}
|
@ -1,143 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/crossover-bin/crossover-bin-12.2.2-r1.ebuild,v 1.1 2014/11/12 16:39:44 axs Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE="threads"
|
||||
|
||||
inherit python-single-r1 unpacker
|
||||
|
||||
DESCRIPTION="Commercial version of app-emulation/wine with paid support"
|
||||
HOMEPAGE="http://www.codeweavers.com/products/crossover/"
|
||||
SRC_URI="install-crossover-${PV}.bin"
|
||||
|
||||
LICENSE="CROSSOVER-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
IUSE="+capi +cups doc +gphoto2 +gsm +jpeg +lcms +ldap +mp3 +nls +openal +opengl +png +scanner +ssl +v4l"
|
||||
RESTRICT="fetch test"
|
||||
QA_FLAGS_IGNORED="opt/cxoffice/.*"
|
||||
QA_PRESTRIPPED="opt/cxoffice/lib/.*
|
||||
opt/cxoffice/bin/cxburner
|
||||
opt/cxoffice/bin/cxntlm_auth
|
||||
opt/cxoffice/bin/wineserver
|
||||
opt/cxoffice/bin/unrar
|
||||
opt/cxoffice/bin/wine-preloader
|
||||
opt/cxoffice/bin/cxdiag
|
||||
opt/cxoffice/bin/cxgettext
|
||||
opt/cxoffice/bin/wineloader
|
||||
"
|
||||
S="${WORKDIR}"
|
||||
|
||||
REGULAR_DEPS="
|
||||
capi? ( net-dialup/capi4k-utils )
|
||||
cups? ( net-print/cups[abi_x86_32(-)] )
|
||||
gsm? ( media-sound/gsm[abi_x86_32(-)] )
|
||||
jpeg? ( virtual/jpeg[abi_x86_32(-)] )
|
||||
lcms? ( media-libs/lcms:0 )
|
||||
ldap? ( net-nds/openldap[abi_x86_32(-)] )
|
||||
gphoto2? ( media-libs/libgphoto2[abi_x86_32(-)] )
|
||||
mp3? ( >=media-sound/mpg123-1.5.0[abi_x86_32(-)] )
|
||||
nls? ( sys-devel/gettext[abi_x86_32(-)] )
|
||||
openal? ( media-libs/openal[abi_x86_32(-)] )
|
||||
opengl? (
|
||||
virtual/glu[abi_x86_32(-)]
|
||||
virtual/opengl[abi_x86_32(-)]
|
||||
)
|
||||
png? ( media-libs/libpng:0[abi_x86_32(-)] )
|
||||
scanner? ( media-gfx/sane-backends[abi_x86_32(-)] )
|
||||
ssl? ( dev-libs/openssl:0[abi_x86_32(-)] )
|
||||
v4l? ( media-libs/libv4l[abi_x86_32(-)] )
|
||||
media-libs/alsa-lib[abi_x86_32(-)]
|
||||
>=media-libs/freetype-2.0.0[abi_x86_32(-)]
|
||||
media-libs/mesa[abi_x86_32(-)]
|
||||
sys-apps/util-linux[abi_x86_32(-)]
|
||||
sys-libs/zlib[abi_x86_32(-)]
|
||||
x11-libs/libICE[abi_x86_32(-)]
|
||||
x11-libs/libSM[abi_x86_32(-)]
|
||||
x11-libs/libX11[abi_x86_32(-)]
|
||||
x11-libs/libXau[abi_x86_32(-)]
|
||||
x11-libs/libXdmcp[abi_x86_32(-)]
|
||||
x11-libs/libXext[abi_x86_32(-)]
|
||||
x11-libs/libXi[abi_x86_32(-)]
|
||||
x11-libs/libXrandr[abi_x86_32(-)]
|
||||
x11-libs/libXxf86vm[abi_x86_32(-)]
|
||||
x11-libs/libxcb[abi_x86_32(-)]
|
||||
"
|
||||
|
||||
EMUL_DEPS="
|
||||
app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)]
|
||||
app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)]
|
||||
openal? ( app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)] )
|
||||
opengl? ( app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] )
|
||||
scanner? ( app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )
|
||||
v4l? ( app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )
|
||||
"
|
||||
|
||||
DEPEND="dev-lang/perl
|
||||
app-arch/unzip
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
!prefix? ( sys-libs/glibc )
|
||||
>=dev-python/pygtk-2.10[${PYTHON_USEDEP}]
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
dev-util/desktop-file-utils
|
||||
!app-emulation/crossover-office-pro-bin
|
||||
!app-emulation/crossover-office-bin
|
||||
|| ( ( ${REGULAR_DEPS} ) ( ${EMUL_DEPS} ) )
|
||||
"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please visit ${HOMEPAGE}"
|
||||
einfo "and place ${A} in ${DISTDIR}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
# self unpacking zip archive; unzip warns about the exe stuff
|
||||
unpack_zip ${A}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
sed -e 's:/usr/local/etc/xdg /etc/xdg::' -i "${WORKDIR}/bin/locate_gui.sh" \
|
||||
|| die "Could not patch ${WORKDIR}/bin/locate_gui.sh"
|
||||
|
||||
# Remove unnecessary files
|
||||
rm -r license.txt guis/ || die "Could not remove files"
|
||||
use doc || rm -r doc/ || die "Could not remove files"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Install crossover symlink, bug #476314
|
||||
dosym /opt/cxoffice/bin/crossover /opt/bin/crossover
|
||||
|
||||
# Install documentation
|
||||
dodoc README changelog.txt
|
||||
rm README changelog.txt || die "Could not remove README and changelog.txt"
|
||||
|
||||
# Install files
|
||||
dodir /opt/cxoffice
|
||||
cp -r ./* "${ED}opt/cxoffice" \
|
||||
|| die "Could not install into ${ED}opt/cxoffice"
|
||||
|
||||
# Install configuration file
|
||||
insinto /opt/cxoffice/etc
|
||||
doins share/crossover/data/cxoffice.conf
|
||||
|
||||
# Install requisite directories for menus
|
||||
dodir "/usr/share/applications"
|
||||
dodir "/etc/xdg/menus/applications-merged"
|
||||
|
||||
# Install menus
|
||||
XDG_CONFIG_DIRS="${ED}etc/xdg" \
|
||||
XDG_DATA_DIRS="${ED}usr/share" \
|
||||
"${ED}opt/cxoffice/bin/cxmenu" --crossover --install \
|
||||
|| die "Could not install menus"
|
||||
|
||||
# Fix menus
|
||||
sed -e "s:${ED}:/:" -i "${ED}usr/share/applications/"* \
|
||||
|| die "Could not fix menus"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST ibus-cangjie-2.1.tar.xz 147796 SHA256 00563b16fdbc8033e019b37e3ee17f62fb5dd05c68fd67b114909d7261cd433c SHA512 8ac4b7d9ecd91f9a04190db2aeda595f0740c10afe49aa7f5961eb30962fec5874131c4831b3bf473b008549bb2bb51195c6ab81f32008edbe4f3239e69afadf WHIRLPOOL 6def3a79d6f38382844340e1a1bb5a66911c5db3e260f295c7d5db66b1e4d314ec23f5df184cb4eb6a236688bffad54e61df6604c4a758a622aab4e6c86f4d99
|
||||
DIST ibus-cangjie-2.2.tar.xz 148012 SHA256 7c816173d8f79072ada988d7770928572d28be5dd375b4f7e690c9f57dd49018 SHA512 847e6bcc6e89fa864073937b34d5abf26a598b867881fd45d962b107a84470585040afcac5152f4f237be4175a53acad3ac8e7eb48fd8bae8ff2cdd04e2de70b WHIRLPOOL 278b125a9ef1c95c92a5a7a39a7c742bac3fca92b021dffeb156814be5a71fd0d0a3ec1f3fbb141d40a703626914ffc2b26e6d8741cf29415473b293ce8ab56d
|
||||
DIST ibus-cangjie-2.3.tar.xz 151184 SHA256 88d4cbf4d1de5cdb90b880a0f2014fbf2c18bf2581760408442bb8195c89e7ff SHA512 adbd51cbd6e4e816c12ab230c9173cf884fc300b886da51a40cb3956b66d43cb13fd477b4923b43032efb5c82d410c1766bb1f6d18445fa704b7db91e13d2497 WHIRLPOOL 0fd4e5ecc0fe8f83367e16e848ad69c02b7a973bde9c705431afe131c1d4dfe78445f62cff34dae1f198c4a4846ab114bc08fd7f3a2e616dd730a4b6f8690c7c
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-cangjie/ibus-cangjie-2.3.ebuild,v 1.1 2015/03/06 20:24:54 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{3_2,3_3,3_4} )
|
||||
|
||||
inherit autotools-utils gnome2-utils python-r1 eutils
|
||||
|
||||
DESCRIPTION="The IBus engine for users of the Cangjie and Quick input methods"
|
||||
HOMEPAGE="http://cangjians.github.io"
|
||||
SRC_URI="https://github.com/Cangjians/ibus-cangjie/releases/download/v${PV}/ibus-cangjie-${PV}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
>=app-i18n/ibus-1.4.1
|
||||
app-i18n/libcangjie
|
||||
dev-python/cangjie[${PYTHON_USEDEP}]
|
||||
dev-util/intltool
|
||||
sys-devel/gettext"
|
||||
|
||||
RDEPEND=">=app-i18n/ibus-1.4.1
|
||||
app-i18n/libcangjie
|
||||
dev-python/cangjie[${PYTHON_USEDEP}]
|
||||
virtual/libintl
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
src_configure() {
|
||||
python_foreach_impl autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl autotools-utils_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl autotools-utils_src_install
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST gnumeric-1.12.18.tar.xz 18064824 SHA256 402224f858cfa4e91503ab1be0491fa3322713dabe56b6eae171def8b736d9e9 SHA512 241a80d79d1d20f484b2e262b86c6dd12192842b5baf7f11c3402b63810f1e67080b6ec44f05a1de88ae3f0cd476cd9ffb2ecbebe2cdf9104bb45287c8e5b8b9 WHIRLPOOL 8b646780e493d3bbb1ee357876481c2a19115bfed3909db0fddf212fc6ba808493e2c7c477efc13d23240aa36ba6957b3041d96c260fe155a5157530fdefcdbf
|
||||
DIST gnumeric-1.12.19.tar.xz 18432584 SHA256 2dc6b2203887e5a28b52da7493219c8acf7f131b44c214c5b00522aa5bc8e9d3 SHA512 845546c7c3ddde4bf332de0552d1960a5f4714d986f6caa3a6b4cf1d515d6cc08ec5b243211e26c5c11c4384007468ea2c12cc70bd65093b5f5db687d0ae1d63 WHIRLPOOL 4ef80e3894d5923e1bbb0810a6b11d917fa5e08c178c123b7a178405446e2d79367a4f3b3ee953fa8c32f6e4ba0005f122a40aef83b25021dd323d6bd3b83fb8
|
||||
DIST gnumeric-1.12.20.tar.xz 18440828 SHA256 4d491147e973afc0302823047780027c255a91343d839cf17562a852f42c21cd SHA512 12c58ff1fa802459529f273c9df4962ee6b5056f03539ab9a9351816cfabb706e1832a3eb365a12083a7c11c9bd35d63af3d2558116842c4e3fea50bab3c05ee WHIRLPOOL 55654477f5ff43b8a99263c10d537c70d083768da064b98f2f7387b989ae28c5ddf238f288c0297e5e7b552d99978ae99e410050624dc1b600351bfaa49b4e1d
|
||||
DIST gnumeric-1.12.21.tar.xz 18460624 SHA256 6eed42120babb7b2a857115f2ad6320bf255c7bd71a939344e5a6df744a09ef4 SHA512 5341cf04fe0f1115e8bda53fce57650b44195d482abef5f9f8c5683de756007df5f167d5df0ae2ea5a40d06b7cce3ab67233d49cbe28a32eadbd1dced16c773d WHIRLPOOL 3339aab18bd2bcf4c32417d7b92093c9deac730553fc79046e6138ed4c6234d2830c8c3392493b7e314c4c87983f36b9c385f69c020538426c4f2788900c9338
|
||||
|
@ -1,6 +1,2 @@
|
||||
DIST tcomment-2.08.tar.gz 23070 SHA256 d34a7fd2736ca63752cc90f9749dd4897150fdef490f3841c38d0f95272ec769 SHA512 f3067aab71684e3b6f1ace5b2472e312f517545760e7e0a9f350a1b0756d529b6c4184197b61aacf22bfed6bef06839ff9ef839c28702d6fd0c02101659d64c8 WHIRLPOOL 0c8f6b421ffd45d0d26de618d4fcebbc534e316fead7e0fb87d8701dcd0e005aeaad151f9c5abb21cd6cd82292ce40f9c65f5c7e1494f08f052c30a715cc4c81
|
||||
DIST tcomment-2.09.tar.gz 26565 SHA256 bfd62474beb976ced93da66baa40fbbba721b961968c403f1d14c3ba5b9feaf8 SHA512 4d1522d4a00b4835655505e9f2223ea0071bab6327049a2be5d85e9a40f6b0625ea5947741185ed76fc174fb1107688e7bb9c5e6226147e68777c77f9ad2a097 WHIRLPOOL 894a4f3d31a6a700a9ed4504119187bfd4c9d6f979404b7b43b23d52873943dc37e21680664b7ce1b07550e92f20c794bfd2ebb072f8fb3760b97ff7a7185957
|
||||
DIST tcomment-3.00.tar.gz 28551 SHA256 ebf3712eda48b933e736feb5149f1db8f51badeb15720f0195d28229785058a6 SHA512 e9d28d1cab47a6098afe8510b0637ef11ab77f3862a5fc3c9490b2d6ba7cf6985cb1f66f06b3ada048f2ace6daafa1ae8217c5440c4e5a7673fddef21e48f30d WHIRLPOOL 556d8481f32b6a278b12865e3c78a95bd1ffec35a8b880fd125e00ab3fa7d4f724abb1a8981a1b5f7a41d6ff4a6864a6a9db13ba466b4511a392c3252690e6de
|
||||
DIST tcomment-3.01.tar.gz 33841 SHA256 9d81a3724c2c3b1751728e382d97b7723c7033ad0830ab39526fe04084a67470 SHA512 0dfde4af54d03666bb0322039d8226795f03a731e2260d93d5104bf46d5551a6579ae46628f241368253dc3daf14a58740a04c7042ed8539fe872231f1fafb75 WHIRLPOOL 59893442df54b9848d4c68b9a68359520938c91284ee3619a09a8cfc1f2ac8be3704d77ec534f21cce504035baf9390ef8f3c98210e6d50ca83567507a5de612
|
||||
DIST tcomment-3.03.tar.gz 34370 SHA256 3fbd18a42de3dd8e10f72e16d5ffc644ad7d1846c19752d1f5e00d7ce00e5050 SHA512 178db6ab0effaf0426e473af5fe732e3e74aa6f12e2a4c1713e9438b6d0c80b321eee8d40b8e23272f96554e8abf746fd209f5339ea837e5febc32ec6690d63d WHIRLPOOL 02e8172cbba614d0a4afbdf20971eb5cf1a169f8eccefaaafbe9086c6cf3ce189127f6da67dd4c5eb31221f0715354e92acf7f088ed614ee1cb0ae2c63d529d1
|
||||
DIST tcomment-3.04.tar.gz 36010 SHA256 5bf571b2753fae513c4adc0726274b2094ae5fb0071a9cb634cf0309685a2cbb SHA512 b9fc84ea606b97ae5679ae1b695c9c06cf533d945391fd8ffe55411784334285be5c9d01e672679890b5fe7e1ac7dcb0140389e36c9e9d70b26b394ceae1b371 WHIRLPOOL 7193b298642392554ada0e3004df530b0ada23fb3e72c1d3b2d4cbff34198204c27b7b20777a829701d25d623306d7638da3743468d91959b2361c4f2066ba4e
|
||||
DIST tcomment-3.06.tar.gz 37691 SHA256 5a12cb8da962758f6635d328cde0421f4e34e4cffa99503f259f7939127ae690 SHA512 f26310d69e9a81f85e0270ca6a85b86c9ad841fbff98a0ea06134209d82f7f33298a7d7e07e641c5fde1c01a59a52fdfd8f5d649665d73f07a4ed42b1b41ca92 WHIRLPOOL 3531681fefe140911e7cb1683ba8b1969f328cd8658bfda57a659a66ded56dba05910daa4c097e9d10d6b101adcc9757858e69ea3d14eca48c3818ba31b575dc
|
||||
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/tcomment/tcomment-2.08.ebuild,v 1.1 2013/09/26 07:56:34 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
MY_PN="tcomment_vim"
|
||||
DESCRIPTION="vim plugin: an extensible and universal comment toggler"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=1173 https://github.com/tomtom/tcomment_vim"
|
||||
SRC_URI="https://github.com/tomtom/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="GPL-3"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}.txt"
|
||||
|
||||
S=${WORKDIR}/${MY_PN}-${PV}
|
||||
|
||||
src_prepare() {
|
||||
rm -r README spec ${PN}-addon* || die
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/tcomment/tcomment-2.09.ebuild,v 1.1 2013/10/19 12:56:55 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
MY_PN="tcomment_vim"
|
||||
DESCRIPTION="vim plugin: an extensible and universal comment toggler"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=1173 https://github.com/tomtom/tcomment_vim"
|
||||
SRC_URI="https://github.com/tomtom/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="GPL-3"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}.txt"
|
||||
|
||||
S=${WORKDIR}/${MY_PN}-${PV}
|
||||
|
||||
src_prepare() {
|
||||
rm -r README spec addon* || die
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/tcomment/tcomment-3.00.ebuild,v 1.1 2014/01/23 07:19:51 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
MY_PN="tcomment_vim"
|
||||
DESCRIPTION="vim plugin: an extensible and universal comment toggler"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=1173 https://github.com/tomtom/tcomment_vim"
|
||||
SRC_URI="https://github.com/tomtom/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="GPL-3"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}.txt"
|
||||
|
||||
S=${WORKDIR}/${MY_PN}-${PV}
|
||||
|
||||
src_prepare() {
|
||||
rm -r README spec addon* || die
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/tcomment/tcomment-3.01.ebuild,v 1.1 2014/03/29 00:04:01 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
MY_PN="tcomment_vim"
|
||||
DESCRIPTION="vim plugin: an extensible and universal comment toggler"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=1173 https://github.com/tomtom/tcomment_vim"
|
||||
SRC_URI="https://github.com/tomtom/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="GPL-3"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}.txt"
|
||||
|
||||
S=${WORKDIR}/${MY_PN}-${PV}
|
||||
|
||||
src_prepare() {
|
||||
rm -r README spec addon* || die
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/tcomment/tcomment-3.03.ebuild,v 1.1 2014/04/15 05:01:49 radhermit Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/tcomment/tcomment-3.06.ebuild,v 1.1 2015/03/06 23:03:00 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST antlr-3.4-complete.jar 2388361 SHA256 9d3e866b610460664522520f73b81777b5626fb0a282a5952b9800b751550bf7 SHA512 04be4dfba3a21f3ab9d9e439a64958bd8e844a9f151b798383bd9e0dd6ebc416783ae7cb1d1dbb27fb7288ab9756b13b8338cdb8ceb41a10949c852ad45ab1f2 WHIRLPOOL 488b7b9af1d1d06cca163d43e7be190730e2f0421796c21a26ace11196ee37a16b1bdeea78a1e2e64f8ca0e87f67a2aecd066af21505f3dd92dd76de40a94fa0
|
||||
DIST mysql-workbench-community-6.0.9-src.tar.gz 22899136 SHA256 dc88637c62336dd3e68fb2213090c66be0ca81986b7659af934e63599e778e1f SHA512 a99156feed82ce61ff127ca4a26f825bde332c68ac81558b9112933f1eda45ab1a3e5faadada336f22ba4cc4197dbb9d48a33cb6a827823660eb8350119d492c WHIRLPOOL 443350529989336c978feb9b6cbd5b3fed300ecf534941eb4e000a49936f23d3a569a6e26e605f71adac8e7b36b9e95bff8aa8e92b90f4ae202d213f2832792c
|
||||
DIST mysql-workbench-community-6.2.3-src.tar.gz 14576661 SHA256 4caba8cf1f8dc0fc57e98a6170ad4718ba44c8f6622ef2359c7a550d080b3846 SHA512 c7d4130e6aeea842347ebf137502159fa17e2baf28bf36e1cb2d39dacf07671b53cfcb54d4f6559ee01d3945d453bedf81b3e58d5f805df15e63bbf113acee27 WHIRLPOOL 15e7624e29cc1a2cf1a786a50c02c2124cbeeb7577be617dcdb3751613d7bdf1cd26a44a430cc08861d3f0416a46ef7bf82abd7d6b03052f651c6a963b858688
|
||||
DIST mysql-workbench-gpl-5.2.47-src.tar.gz 21924533 SHA256 e6928beb157f1e0abbb8885d16544eefe4d25b05f54dc0fb75b8375d8775838c SHA512 0229c1c3e9b7082f1752cd3f95f4372d9af6bd83b89607f7e74b5460ad72b263b5c89c868ebe19e5182878122357113db0a782865042e096a1d4519733569e15 WHIRLPOOL 40455319a8001ae9365cd164702794be17aa134b254a6a79cfc15c2321a42dfbc463b59f6bb7a34d3d0252fca2b81310014928646d0d5d8e929c46b3de470cb5
|
||||
DIST mysql-workbench-community-6.2.5-src.tar.gz 13037465 SHA256 40a5dbf72b55441ea3e9466dce2de47611777c88da2b65b748f10b06dfa0794e SHA512 6cc9ba91a9fd4d19bdec157084fd5b510cc274e2851b54855441ad97dd042009064a00aa330a5689c18ed70a0996bf23411be475339ee96ba2ff5252c49d7839 WHIRLPOOL 74de61140edd91ee85c222338c02d3672869a0231bb25eb5f37c43a9cad2e280db521261a4ec6557e237c3f48cab84e92838a100949835fe85db924b5a382cba
|
||||
|
@ -0,0 +1,12 @@
|
||||
--- plugins/migration/CMakeLists.txt.~1~ 2015-02-25 09:08:47.000000000 +0100
|
||||
+++ plugins/migration/CMakeLists.txt 2015-03-07 07:28:56.745378152 +0100
|
||||
@@ -10,7 +10,8 @@
|
||||
if (UNIX)
|
||||
configure_file(wbcopytables.in wbcopytables)
|
||||
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/wbcopytables DESTINATION ${WB_INSTALL_BIN_DIR})
|
||||
-
|
||||
+
|
||||
+ SET(CMAKE_INSTALL_RPATH "${WB_INSTALL_LIB_DIR}")
|
||||
add_executable(wbcopytables-bin
|
||||
copytable/copytable.cpp
|
||||
copytable/python_copy_data_source.cpp
|
@ -1,98 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-workbench/mysql-workbench-5.2.47-r1.ebuild,v 1.2 2013/09/01 13:10:15 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
GCONF_DEBUG="no"
|
||||
PYTHON_DEPEND=2
|
||||
|
||||
PYTHON_USE_WITH=sqlite
|
||||
PYTHON_USE_WITH_OPT=doc
|
||||
|
||||
inherit gnome2 eutils flag-o-matic python autotools
|
||||
|
||||
MY_P="${PN}-gpl-${PV}-src"
|
||||
|
||||
DESCRIPTION="MySQL Workbench"
|
||||
HOMEPAGE="http://dev.mysql.com/workbench/"
|
||||
SRC_URI="mirror://mysql/Downloads/MySQLGUITools/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug doc gnome-keyring nls static-libs"
|
||||
|
||||
# Build system bundles an unreleased copy of dev-libs/antlr-c 3.4 so we
|
||||
# can't depend on our own packaged version right now.
|
||||
|
||||
CDEPEND="dev-db/sqlite:3
|
||||
>=x11-libs/gtk+-2.6:2
|
||||
dev-libs/glib:2
|
||||
gnome-base/libglade:2.0
|
||||
dev-libs/libsigc++:2
|
||||
>=dev-libs/antlr-c-3.4
|
||||
dev-libs/boost
|
||||
>=dev-cpp/ctemplate-0.95
|
||||
>=dev-libs/libxml2-2.6.2:2
|
||||
>=dev-cpp/glibmm-2.14:2
|
||||
>=dev-cpp/gtkmm-2.14:2.4
|
||||
dev-db/libiodbc
|
||||
dev-libs/libzip
|
||||
>=virtual/mysql-5.1
|
||||
dev-libs/libpcre
|
||||
virtual/opengl
|
||||
>=dev-lang/lua-5.1[deprecated]
|
||||
x11-libs/pango
|
||||
|| ( sys-libs/e2fsprogs-libs
|
||||
dev-libs/ossp-uuid )
|
||||
>=x11-libs/cairo-1.5.12[svg]
|
||||
dev-python/pexpect
|
||||
>=dev-python/paramiko-1.7.4
|
||||
gnome-keyring? ( gnome-base/libgnome-keyring )
|
||||
nls? ( sys-devel/gettext )"
|
||||
RDEPEND="${CDEPEND}
|
||||
app-admin/sudo
|
||||
>=sys-apps/net-tools-1.60_p20120127084908"
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}"/"${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
# Make sure we use Python 2 since the code is not compatible with 3.
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Remove hardcoded CXXFLAGS
|
||||
sed -i -e 's/debug_flags="-ggdb3 /debug_flags="/' configure || die
|
||||
sed -i -e 's/-O0 -g3//' ext/scintilla/gtk/Makefile.in ext/scintilla/gtk/Makefile.am || die
|
||||
|
||||
# Remove bundled ctemplate version to make sure we use the system
|
||||
# version, but leave a directory to avoid confusing configure, bug
|
||||
# 357539.
|
||||
rm -rf ext/ctemplate || die
|
||||
mkdir -p ext/ctemplate/ctemplate-src || die
|
||||
|
||||
# Remove antlr-runtime to ensure we use the system version.
|
||||
rm -rf ext/antlr-runtime/* || die
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-5.2.44-my_lib.patch
|
||||
|
||||
# Regenerate autotools files to work around broken libtool for
|
||||
# antlr, bug 431756.
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable nls i18n) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
@ -1,94 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-workbench/mysql-workbench-5.2.47.ebuild,v 1.4 2013/12/24 12:53:01 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
GCONF_DEBUG="no"
|
||||
PYTHON_DEPEND=2
|
||||
|
||||
PYTHON_USE_WITH=sqlite
|
||||
PYTHON_USE_WITH_OPT=doc
|
||||
|
||||
inherit gnome2 eutils flag-o-matic python autotools
|
||||
|
||||
MY_P="${PN}-gpl-${PV}-src"
|
||||
|
||||
DESCRIPTION="MySQL Workbench"
|
||||
HOMEPAGE="http://dev.mysql.com/workbench/"
|
||||
SRC_URI="mirror://mysql/Downloads/MySQLGUITools/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug doc gnome-keyring nls static-libs"
|
||||
|
||||
# Build system bundles an unreleased copy of dev-libs/antlr-c 3.4 so we
|
||||
# can't depend on our own packaged version right now.
|
||||
|
||||
CDEPEND="dev-db/sqlite:3
|
||||
>=x11-libs/gtk+-2.6:2
|
||||
dev-libs/glib:2
|
||||
gnome-base/libglade:2.0
|
||||
dev-libs/libsigc++:2
|
||||
dev-libs/boost
|
||||
>=dev-cpp/ctemplate-0.95
|
||||
>=dev-libs/libxml2-2.6.2:2
|
||||
>=dev-cpp/glibmm-2.14:2
|
||||
>=dev-cpp/gtkmm-2.14:2.4
|
||||
dev-db/libiodbc
|
||||
dev-libs/libzip
|
||||
>=virtual/mysql-5.1
|
||||
dev-libs/libpcre
|
||||
virtual/opengl
|
||||
>=dev-lang/lua-5.1[deprecated]
|
||||
x11-libs/pango
|
||||
|| ( sys-libs/e2fsprogs-libs
|
||||
dev-libs/ossp-uuid )
|
||||
>=x11-libs/cairo-1.5.12[svg]
|
||||
dev-python/pexpect
|
||||
>=dev-python/paramiko-1.7.4
|
||||
gnome-keyring? ( gnome-base/libgnome-keyring )
|
||||
nls? ( sys-devel/gettext )"
|
||||
RDEPEND="${CDEPEND}
|
||||
app-admin/sudo
|
||||
>=sys-apps/net-tools-1.60_p20120127084908"
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}"/"${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
# Make sure we use Python 2 since the code is not compatible with 3.
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Remove hardcoded CXXFLAGS
|
||||
sed -i -e 's/debug_flags="-ggdb3 /debug_flags="/' configure || die
|
||||
sed -i -e 's/-O0 -g3//' ext/scintilla/gtk/Makefile.in ext/scintilla/gtk/Makefile.am || die
|
||||
|
||||
# Remove bundled ctemplate version to make sure we use the system
|
||||
# version, but leave a directory to avoid confusing configure, bug
|
||||
# 357539.
|
||||
rm -rf ext/ctemplate || die
|
||||
mkdir -p ext/ctemplate/ctemplate-src || die
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-5.2.44-my_lib.patch
|
||||
|
||||
# Regenerate autotools files to work around broken libtool for
|
||||
# antlr, bug 431756.
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable nls i18n) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
@ -0,0 +1,102 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-workbench/mysql-workbench-6.2.5.ebuild,v 1.2 2015/03/07 08:07:32 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
GCONF_DEBUG="no"
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
CMAKE_MIN_VERSION="2.8.11.1"
|
||||
|
||||
inherit gnome2 eutils flag-o-matic python-single-r1 cmake-utils
|
||||
|
||||
MY_P="${PN}-community-${PV}-src"
|
||||
|
||||
DESCRIPTION="MySQL Workbench"
|
||||
HOMEPAGE="http://dev.mysql.com/workbench/"
|
||||
SRC_URI="mirror://mysql/Downloads/MySQLGUITools/${MY_P}.tar.gz https://github.com/antlr/website-antlr3/blob/gh-pages/download/antlr-3.4-complete.jar?raw=true -> antlr-3.4-complete.jar"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug doc gnome-keyring"
|
||||
|
||||
# glibc: deprecated mutex functions, removed in 2.36.0
|
||||
CDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/glib:2
|
||||
dev-cpp/atkmm
|
||||
dev-cpp/pangomm
|
||||
>=dev-cpp/glibmm-2.14:2
|
||||
>=dev-cpp/gtkmm-2.14:2.4
|
||||
dev-libs/atk
|
||||
x11-libs/pango
|
||||
>=x11-libs/gtk+-2.20:2
|
||||
gnome-base/libglade:2.0
|
||||
>=x11-libs/cairo-1.5.12[glib,svg]
|
||||
dev-libs/libsigc++:2
|
||||
dev-libs/boost
|
||||
>=dev-cpp/ctemplate-0.95
|
||||
>=dev-libs/libxml2-2.6.2:2
|
||||
dev-libs/libzip
|
||||
>=virtual/mysql-5.1
|
||||
dev-libs/libpcre
|
||||
>=sci-libs/gdal-1.11.1-r1[-mdb]
|
||||
virtual/opengl
|
||||
>=dev-lang/lua-5.1[deprecated]
|
||||
|| ( sys-libs/e2fsprogs-libs dev-libs/ossp-uuid )
|
||||
dev-libs/tinyxml[stl]
|
||||
dev-db/mysql-connector-c++
|
||||
dev-db/vsqlite++
|
||||
|| ( dev-db/libiodbc dev-db/unixODBC )
|
||||
gnome-keyring? ( gnome-base/libgnome-keyring )
|
||||
dev-python/pexpect
|
||||
>=dev-python/paramiko-1.7.4
|
||||
"
|
||||
|
||||
# lua perhaps no longer needed? Was used via libgrt only
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
app-admin/sudo
|
||||
>=sys-apps/net-tools-1.60_p20120127084908"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
dev-lang/swig
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}"/"${MY_P}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${PN}-community-${PV}-src.tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
## Patch CMakeLists.txt
|
||||
epatch "${FILESDIR}/${PN}-6.2.3-CMakeLists.patch" \
|
||||
"${FILESDIR}/${PN}-6.2.5-wbcopytables.patch" \
|
||||
"${FILESDIR}/${PN}-6.1.7-mysql_options4.patch"
|
||||
|
||||
## remove hardcoded CXXFLAGS
|
||||
sed -i -e 's/-O0 -g3//' ext/scintilla/gtk/CMakeLists.txt || die
|
||||
|
||||
## package is very fragile...
|
||||
strip-flags
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_use gnome-keyring GNOME_KEYRING)
|
||||
-DLIB_INSTALL_DIR="/usr/$(get_libdir)"
|
||||
-DPYTHON_INCLUDE_DIR="$(python_get_includedir)"
|
||||
-DPYTHON_LIBRARY="$(python_get_library_path)"
|
||||
)
|
||||
ANTLR_JAR_PATH="${DISTDIR}/antlr-3.4-complete.jar" cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Work around parallel build issues, bug 507838
|
||||
cmake-utils_src_compile -j1
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST mysql-extras-20150113-1853Z.tar.bz2 1494439 SHA256 420553dc8557d0622ad762ee6924900acc74fd4f367fd3840acab03114fada4d SHA512 b1252d905b71a6f42484eaa796ebcd2f0769affc566e6c277ef3bc0ef9bc446a1c22aac3faa48ef7b9305056a1302b37d7ef86b547c44514528a5956ce61d372 WHIRLPOOL d14f0d88358eb0bbd2c338052ec086ab8260988497ef09da934365ded3c30c7e905ea936a0c9817ccb49d1f6e3408b3f6a438455a2455c65c2f26a9fc6367ff3
|
||||
DIST percona-server-5.6.22-71.0.tar.gz 33992150 SHA256 0a7269a71e009bc802adef1dd3502562f22b881b7f88823ca84c987724dcf10c SHA512 b427473c130a39fc2985801a28d5c31295ad50c8ca7ebdd864d6c55389a0b095cef8eb47ebdc09d79e3aff6505b75bd9241442151ee87f986237b8a3be7873b0 WHIRLPOOL a89fb19498a0c74b4d3ad90ff047601524e9ba76513351433cdcd68ebe5524cc52f0ab1a54ae665b686562d55cb7c0df92ccb6be57709b2733aba4973f3b82ec
|
||||
DIST percona-server-5.6.22-72.0.tar.gz 34022879 SHA256 24eba36d13fbdd6c29528c32dc69b6767f0bacfba37d9de6b9637fdddccb314d SHA512 bbcaf5af03617f6aeb500d0aa17879ae3a7574d9a3959e37e4e74cb6226ce07d671b9ffdb611326fb066ed33150b9e299f95945282951adfbfe6e915574c59ed WHIRLPOOL c11216114fef6d0a1d6fa35eb1760209675d18dfd20dd4517b9eb8059cf8fe4d65a7405e38f514f1a45ae5d657120aa1691b2a9d8cdfdc70be4463a152ccd698
|
||||
DIST percona-server-5.6.23-72.1.tar.gz 34049056 SHA256 5382630b98dd05f72e372ede5535ddcad2e389b594311a69f03a3d95f68d4907 SHA512 4b59add413d85b81639b2c43a41dbedfc1dbacbe914249c8c6b6cc8d35d2906359ea0c149aa55e113fd2bcc7b7dfe34e7ea57264f60d84e2bee392860d80ebd0 WHIRLPOOL d2a43540ed739982efd941295a4adac4acf2e6b9cbc4ca05509aac980a98849833fdaa36bf8a758459c11374cb1ca73e7853f8ce032592544dc578a9f4f2a04e
|
||||
|
@ -0,0 +1,138 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/percona-server/percona-server-5.6.23.72.1.ebuild,v 1.1 2015/03/07 03:57:20 grknight Exp $
|
||||
|
||||
EAPI="5"
|
||||
MY_EXTRAS_VER="20150113-1853Z"
|
||||
|
||||
inherit toolchain-funcs mysql-multilib
|
||||
# only to make repoman happy. it is really set in the eclass
|
||||
IUSE="$IUSE"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux"
|
||||
|
||||
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
|
||||
EPATCH_EXCLUDE=''
|
||||
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
|
||||
RDEPEND="${RDEPEND}"
|
||||
|
||||
# Please do not add a naive src_unpack to this ebuild
|
||||
# If you want to add a single patch, copy the ebuild to an overlay
|
||||
# and create your own mysql-extras tarball, looking at 000_index.txt
|
||||
|
||||
# Official test instructions:
|
||||
# USE='extraengine perl ssl static-libs community' \
|
||||
# FEATURES='test userpriv -usersandbox' \
|
||||
# ebuild percona-server-X.X.XX.ebuild \
|
||||
# digest clean package
|
||||
multilib_src_test() {
|
||||
|
||||
if ! multilib_is_native_abi ; then
|
||||
einfo "Server tests not available on non-native abi".
|
||||
return 0;
|
||||
fi
|
||||
|
||||
local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
|
||||
local retstatus_unit
|
||||
local retstatus_tests
|
||||
|
||||
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||
# localhost. Also causes weird failures.
|
||||
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||
|
||||
if ! use "minimal" ; then
|
||||
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||
fi
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
addpredict /this-dir-does-not-exist/t9.MYI
|
||||
|
||||
# Run CTest (test-units)
|
||||
cmake-utils_src_test
|
||||
retstatus_unit=$?
|
||||
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
|
||||
|
||||
# Ensure that parallel runs don't die
|
||||
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||
# Enable parallel testing, auto will try to detect number of cores
|
||||
# You may set this by hand.
|
||||
# The default maximum is 8 unless MTR_MAX_PARALLEL is increased
|
||||
export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
|
||||
|
||||
# create directories because mysqladmin might right out of order
|
||||
mkdir -p "${T}"/var-tests{,/log}
|
||||
|
||||
# These are failing in Percona 5.6 for now and are believed to be
|
||||
# false positives:
|
||||
#
|
||||
# main.information_schema, binlog.binlog_statement_insert_delayed,
|
||||
# main.mysqld--help-notwin, binlog.binlog_mysqlbinlog_filter
|
||||
# perfschema.binlog_edge_mix, perfschema.binlog_edge_stmt
|
||||
# funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers
|
||||
# engines/funcs.db_alter_character_set engines/funcs.db_alter_character_set_collate
|
||||
# engines/funcs.db_alter_collate_ascii engines/funcs.db_alter_collate_utf8
|
||||
# engines/funcs.db_create_character_set engines/funcs.db_create_character_set_collate
|
||||
# fails due to USE=-latin1 / utf8 default
|
||||
#
|
||||
# main.mysql_client_test:
|
||||
# segfaults at random under Portage only, suspect resource limits.
|
||||
#
|
||||
# main.percona_bug1289599
|
||||
# Looks to be a syntax error in the test file itself
|
||||
#
|
||||
# main.variables main.myisam main.merge_recover
|
||||
# fails due to ulimit not able to open enough files (needs 5000)
|
||||
#
|
||||
# main.mysqlhotcopy_archive main.mysqlhotcopy_myisam
|
||||
# Called with bad parameters should be reported upstream
|
||||
|
||||
for t in main.mysql_client_test \
|
||||
binlog.binlog_statement_insert_delayed main.information_schema \
|
||||
main.mysqld--help-notwin binlog.binlog_mysqlbinlog_filter \
|
||||
perfschema.binlog_edge_mix perfschema.binlog_edge_stmt \
|
||||
funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers \
|
||||
main.variables main.myisam main.merge_recover \
|
||||
engines/funcs.db_alter_character_set engines/funcs.db_alter_character_set_collate \
|
||||
engines/funcs.db_alter_collate_ascii engines/funcs.db_alter_collate_utf8 \
|
||||
engines/funcs.db_create_character_set engines/funcs.db_create_character_set_collate \
|
||||
main.percona_bug1289599 main.mysqlhotcopy_archive main.mysqlhotcopy_myisam ; do
|
||||
mysql-multilib_disable_test "$t" "False positives in Gentoo"
|
||||
done
|
||||
|
||||
# Run mysql tests
|
||||
pushd "${TESTDIR}"
|
||||
|
||||
# Set file limits higher so tests run
|
||||
ulimit -n 3000
|
||||
|
||||
# run mysql-test tests
|
||||
perl mysql-test-run.pl --force --vardir="${T}/var-tests" \
|
||||
--testcase-timeout=30
|
||||
retstatus_tests=$?
|
||||
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
popd
|
||||
|
||||
# Cleanup is important for these testcases.
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
|
||||
failures=""
|
||||
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
|
||||
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
[[ -z "$failures" ]] || die "Test failures: $failures"
|
||||
einfo "Tests successfully completed"
|
||||
|
||||
else
|
||||
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST jna-3.0.3.tar.bz2 647451 SHA256 c214d0ced142972e64421bdd22a2bb4f841df27cf38519602845f7410d11bc7f SHA512 d3ab5c36bb8b5abb39134bbba05f6ab28fa4b2a81732f28d2738148920d6878352f5afabf57931cc5342c2a131c6be138ffc3feae8c27944f7401e863115bf8a WHIRLPOOL 9bea33d3358aae837871401ef4c4ee91b4e037fb2111fe6e0b838f2974970a005222e44684b3adc259ba1fdc186fc2a254fd68352ed2254c148c5e8e61cc7b92
|
||||
DIST jna-3.2.4.tar.bz2 191082 SHA256 b6f842e6dcc13b64d26f3ad9e4989aa51276b964fe211a51a2408c3c33c2beb0 SHA512 25efbe90887f8871b94c297e647822a0b12d6b97c5aede080e0cf2708a94292c8358ca796261488a452672cfb7b459cfe041321aff92606e0b52db12fd00db80 WHIRLPOOL fbad9ee3d691e01c77c1317ac368941eb92daef9e95a1c432beeab78988eb9b4711504231adcd3e51ebecaf742b8f62a10f0bbe7769018fe23202447f48132ec
|
||||
DIST jna-3.4.0.tar.gz 34547165 SHA256 bff8fb935044a1e5de611e576e30a08c263e6a26a9f4c631dbe3a0cac2d79f14 SHA512 30c4e6a3a5ac133095248d3eb7d4983a91e11a267a581268a91316927ac75c5a133a58625d321276ac0b229c42c502f85492672d99713c90de98a648bd008b35 WHIRLPOOL 0a5a9d35db0e0090375235048c985fd8bd9ccf319d03c1c3db33e81d3e1a1bec8718a48f6b8180c7531d3963ae91b5337f539eb69e3db73b3f87ea693706fe08
|
||||
|
@ -1,68 +0,0 @@
|
||||
--- native/Makefile.orig 2009-12-30 20:13:34.000000000 +1300
|
||||
+++ native/Makefile 2009-12-30 20:21:39.000000000 +1300
|
||||
@@ -54,7 +54,6 @@
|
||||
LIBSFX=.so
|
||||
ARSFX=.a
|
||||
JNISFX=$(LIBSFX)
|
||||
-CC=gcc
|
||||
LD=gcc
|
||||
LIBS=
|
||||
# Default to Sun recommendations for JNI compilation
|
||||
@@ -67,10 +65,10 @@
|
||||
COUT=-o $@
|
||||
CINCLUDES=$(JAVA_INCLUDES) -I"$(JAVAH)" -I$(FFI_BUILD)/include
|
||||
CDEFINES=-D_REENTRANT
|
||||
-PCFLAGS=-W -Wall -Wno-unused -Wno-parentheses
|
||||
-CFLAGS=$(PCFLAGS) $(CFLAGS_EXTRA) $(COPT) $(CDEBUG) $(CDEFINES) $(CINCLUDES) \
|
||||
+PCFLAGS=-Wall -Wno-unused -Wno-parentheses
|
||||
+CFLAGS+=$(PCFLAGS) $(CFLAGS_EXTRA) $(COPT) $(CDEBUG) $(CDEFINES) $(CINCLUDES) \
|
||||
-DVERSION='"$(VERSION)"' -DCHECKSUM='"$(CHECKSUM)"'
|
||||
-LDFLAGS=-o $@ -shared
|
||||
+LDFLAGS+= -o $@ -shared
|
||||
ifeq ($(DYNAMIC_LIBFFI),true)
|
||||
CFLAGS += $(shell pkg-config --cflags libffi 2>/dev/null || echo)
|
||||
LIBS += $(shell pkg-config --libs libffi 2>/dev/null || echo -lffi)
|
||||
@@ -109,7 +107,7 @@
|
||||
ifneq ($(MINGW),)
|
||||
CC = $(MINGW) -m64 -mno-cygwin
|
||||
LD = $(CC)
|
||||
-LDFLAGS=-o $@ -shared
|
||||
+LDFLAGS+= -o $@ -shared
|
||||
LIBS= -lmingwex -lpsapi -lkernel32 -lmsvcrt
|
||||
FFI_CONFIG += --host=x86_64-pc-mingw32
|
||||
else
|
||||
@@ -129,14 +127,14 @@
|
||||
ARCH=$(shell uname -m | sed 's/i.86/i386/g')
|
||||
PCFLAGS+=-fPIC
|
||||
CDEFINES+=-DHAVE_PROTECTION
|
||||
-LDFLAGS+=-Wl,-soname,$@
|
||||
+LDFLAGS+= -Wl,-soname,$(shell basename $@)
|
||||
endif
|
||||
|
||||
ifeq ($(OS),freebsd)
|
||||
ARCH=$(shell uname -m | sed 's/i.86/i386/g')
|
||||
PCFLAGS+=-fPIC
|
||||
CINCLUDES+=-I/usr/X11R6/include
|
||||
-LDFLAGS=-o $@ -shared
|
||||
+LDFLAGS+=-o $@ -shared
|
||||
CDEFINES+=-DHAVE_PROTECTION -DFFI_MMAP_EXEC_WRIT
|
||||
endif
|
||||
|
||||
@@ -144,7 +142,7 @@
|
||||
ARCH=$(shell uname -m | sed 's/i.86/i386/g')
|
||||
PCFLAGS+=-fPIC
|
||||
CINCLUDES+=-I/usr/X11R6/include
|
||||
-LDFLAGS=-o $@ -shared
|
||||
+LDFLAGS+= -o $@ -shared
|
||||
CDEFINES+=-DHAVE_PROTECTION -DFFI_MMAP_EXEC_WRIT
|
||||
endif
|
||||
|
||||
@@ -191,7 +189,7 @@
|
||||
endif
|
||||
PCFLAGS+=$(ISYSROOT) -x objective-c
|
||||
CDEFINES+=-DTARGET_RT_MAC_CFM=0 -DFFI_MMAP_EXEC_WRIT
|
||||
-LDFLAGS=$(ARCHFLAGS) -dynamiclib -o $@ -framework JavaVM \
|
||||
+LDFLAGS+=$(ARCHFLAGS) -dynamiclib -o $@ -framework JavaVM \
|
||||
-compatibility_version $(shell echo ${VERSION}|sed 's/^\([0-9][0-9]*\).*/\1/g') \
|
||||
-current_version $(VERSION) \
|
||||
-mmacosx-version-min=10.3 \
|
@ -1,21 +0,0 @@
|
||||
--- native/Makefile.orig 2009-06-03 22:09:02.000000000 +0200
|
||||
+++ native/Makefile 2009-06-03 22:14:56.000000000 +0200
|
||||
@@ -49,7 +49,6 @@
|
||||
LIBPFX=lib
|
||||
LIBSFX=.so
|
||||
JNISFX=$(LIBSFX)
|
||||
-CC=gcc
|
||||
LD=gcc
|
||||
# Default to Sun recommendations for JNI compilation
|
||||
#COPT=-O2 -fomit-frame-pointer
|
||||
@@ -61,8 +60,8 @@
|
||||
COUT=-o $@
|
||||
CINCLUDES=$(JAVA_INCLUDES) -I"$(JAVAH)" -I$(FFI_BUILD)/include
|
||||
CDEFINES=-D_REENTRANT
|
||||
-PCFLAGS=-W -Wall -Wno-unused -Wno-parentheses
|
||||
-CFLAGS=$(PCFLAGS) $(COPT) $(CDEBUG) $(CDEFINES) $(CINCLUDES) \
|
||||
+PCFLAGS=-Wall -Wno-unused -Wno-parentheses
|
||||
+CFLAGS+=$(PCFLAGS) $(COPT) $(CDEBUG) $(CDEFINES) $(CINCLUDES) \
|
||||
-DVERSION='"$(VERSION)"' -DCHECKSUM='"$(CHECKSUM)"'
|
||||
# -static-libgcc avoids gcc library incompatibilities across linux systems
|
||||
LDFLAGS=-o $@ -shared -static-libgcc
|
@ -1,65 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jna/jna-3.0.3-r1.ebuild,v 1.4 2012/05/03 07:42:50 jdhore Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
JAVA_PKG_IUSE="test doc source"
|
||||
WANT_ANT_TASKS="ant-nodeps"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="Java Native Access (JNA)"
|
||||
HOMEPAGE="https://jna.dev.java.net/"
|
||||
# repack and mirror
|
||||
#SRC_URI="http://jna.dev.java.net/source/browse/*checkout*/jna/tags/${PV}/jnalib/dist/src.zip"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/libffi
|
||||
>=virtual/jre-1.4"
|
||||
|
||||
DEPEND="virtual/libffi
|
||||
virtual/pkgconfig
|
||||
!test? ( >=virtual/jdk-1.4 )
|
||||
test? (
|
||||
dev-java/ant-junit
|
||||
dev-java/ant-trax
|
||||
>=virtual/jdk-1.5
|
||||
)"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
|
||||
java_prepare() {
|
||||
# remove bundled libffi
|
||||
rm -rf native/libffi || die
|
||||
|
||||
# respect CFLAGS, don't inhibit warnings, honour CC
|
||||
epatch "${FILESDIR}/makefile-flags.patch"
|
||||
|
||||
# bug #272054
|
||||
append-cflags $(pkg-config --cflags-only-I libffi)
|
||||
|
||||
# Fetch our own prebuilt libffi.
|
||||
mkdir -p build/native/libffi/.libs || die
|
||||
ln -snf "/usr/$(get_libdir)/libffi.so" \
|
||||
build/native/libffi/.libs/libffi_convenience.a || die
|
||||
|
||||
# Build to same directory on 64-bit archs.
|
||||
ln -snf build build-d64 || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar build/${PN}.jar
|
||||
java-pkg_doso build/native/libjnidispatch.so
|
||||
use source && java-pkg_dosrc src/com
|
||||
use doc && java-pkg_dojavadoc doc/javadoc
|
||||
}
|
||||
|
||||
src_test() {
|
||||
unset DISPLAY
|
||||
ANT_TASKS="ant-junit ant-nodeps ant-trax" ANT_OPTS="-Djava.awt.headless=true" eant test
|
||||
}
|
@ -1,76 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jna/jna-3.2.4.ebuild,v 1.6 2012/05/03 07:42:50 jdhore Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
JAVA_PKG_IUSE="test doc source"
|
||||
WANT_ANT_TASKS="ant-nodeps"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="Java Native Access (JNA)"
|
||||
HOMEPAGE="https://jna.dev.java.net/"
|
||||
# repack and mirror
|
||||
#SRC_URI="http://jna.dev.java.net/source/browse/*checkout*/jna/tags/${PV}/jnalib/dist/src.zip"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/libffi
|
||||
>=virtual/jre-1.4"
|
||||
|
||||
DEPEND="virtual/libffi
|
||||
virtual/pkgconfig
|
||||
!test? ( >=virtual/jdk-1.4 )
|
||||
test? (
|
||||
dev-java/junit:0
|
||||
dev-java/ant-junit:0
|
||||
dev-java/ant-trax:0
|
||||
>=virtual/jdk-1.5
|
||||
)"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
|
||||
java_prepare() {
|
||||
# remove bundled libffi
|
||||
rm -rf native/libffi || die
|
||||
|
||||
# respect CFLAGS, don't inhibit warnings, honour CC
|
||||
epatch "${FILESDIR}/${PV}-makefile-flags.patch"
|
||||
|
||||
sed -i -e '/profiler-build-impl.xml/d' build.xml || die
|
||||
sed -i -e '/clover.jar"/d' build.xml || die
|
||||
sed -i -e 's:,clover.jar::' build.xml || die
|
||||
sed -i -e '/signjar/d' build.xml || die
|
||||
|
||||
# Fetch our own prebuilt libffi.
|
||||
mkdir -p build/native/libffi/.libs || die
|
||||
ln -snf "/usr/$(get_libdir)/libffi.so" \
|
||||
build/native/libffi/.libs/libffi_convenience.a || die
|
||||
|
||||
# Build to same directory on 64-bit archs.
|
||||
ln -snf build build-d64 || die
|
||||
}
|
||||
|
||||
EANT_EXTRA_ARGS="-Ddynlink.native=true"
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar build/${PN}.jar
|
||||
java-pkg_doso build/native/libjnidispatch.so
|
||||
use source && java-pkg_dosrc src/com
|
||||
use doc && java-pkg_dojavadoc doc/javadoc
|
||||
}
|
||||
|
||||
src_test() {
|
||||
unset DISPLAY
|
||||
|
||||
mkdir -p lib
|
||||
java-pkg_jar-from --into lib --build-only junit
|
||||
|
||||
ANT_TASKS="ant-junit ant-nodeps ant-trax" \
|
||||
ANT_OPTS="-Djava.awt.headless=true" eant \
|
||||
${EANT_EXTRA_ARGS} test
|
||||
}
|
@ -0,0 +1,74 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpeas/libpeas-1.12.1-r1.ebuild,v 1.1 2015/03/07 10:51:43 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit gnome2 multilib python-r1 virtualx
|
||||
|
||||
DESCRIPTION="A GObject plugins library"
|
||||
HOMEPAGE="http://developer.gnome.org/libpeas/stable/"
|
||||
|
||||
LICENSE="LGPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux"
|
||||
IUSE="+gtk glade +python"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ?? ( $(python_gen_useflags 'python3*') ) )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.32:2
|
||||
>=dev-libs/gobject-introspection-1.39
|
||||
glade? ( >=dev-util/glade-3.9.1:3.10 )
|
||||
gtk? ( >=x11-libs/gtk+-3:3[introspection] )
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
>=dev-python/pygobject-3.0.0:3[${PYTHON_USEDEP}] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/gtk-doc-am-1.11
|
||||
>=dev-util/intltool-0.40
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
# --disable-seed because it's dead, bug #541890
|
||||
local myconf=(
|
||||
$(use_enable glade glade-catalog)
|
||||
$(use_enable gtk)
|
||||
--disable-deprecation
|
||||
--disable-seed
|
||||
--disable-static
|
||||
|
||||
# possibly overriden below
|
||||
--disable-python{2,3}
|
||||
)
|
||||
# Wtf, --disable-gcov, --enable-gcov=no, --enable-gcov, all enable gcov
|
||||
# What do we do about gdb, valgrind, gcov, etc?
|
||||
|
||||
python_configure() {
|
||||
local v
|
||||
python_is_python3 && v=3 || v=2
|
||||
myconf+=(
|
||||
"--enable-python${v}"
|
||||
# it is just 'PYTHON' for py3 in the build system
|
||||
"PYTHON${v#3}=${PYTHON}"
|
||||
"PYTHON${v}_CONFIG=${PYTHON}-config"
|
||||
)
|
||||
}
|
||||
use python && python_foreach_impl python_configure
|
||||
|
||||
gnome2_src_configure "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# FIXME: Tests fail because of some bug involving Xvfb and Gtk.IconTheme
|
||||
# DO NOT REPORT UPSTREAM, this is not a libpeas bug.
|
||||
# To reproduce:
|
||||
# >>> from gi.repository import Gtk
|
||||
# >>> Gtk.IconTheme.get_default().has_icon("gtk-about")
|
||||
# This should return True, it returns False for Xvfb
|
||||
Xemake check
|
||||
}
|
@ -0,0 +1,346 @@
|
||||
diff --git sbcl-1.2.7/contrib/sb-bsd-sockets/tests.lisp sbcl-1.2.7/contrib/sb-bsd-sockets/tests.lisp
|
||||
--- sbcl-1.2.7/contrib/sb-bsd-sockets/tests.lisp
|
||||
+++ sbcl-1.2.7/contrib/sb-bsd-sockets/tests.lisp
|
||||
@@ -35,15 +35,15 @@
|
||||
;;; See https://bugs.launchpad.net/sbcl/+bug/659857
|
||||
;;; Apparently getprotobyname_r on FreeBSD says -1 and EINTR
|
||||
;;; for unknown protocols...
|
||||
-#-(and freebsd sb-thread)
|
||||
-#-(and dragonfly sb-thread)
|
||||
-(deftest get-protocol-by-name/error
|
||||
- (handler-case (get-protocol-by-name "nonexistent-protocol")
|
||||
- (unknown-protocol ()
|
||||
- t)
|
||||
- (:no-error ()
|
||||
- nil))
|
||||
- t)
|
||||
+;#-(and freebsd sb-thread)
|
||||
+;#-(and dragonfly sb-thread)
|
||||
+;(deftest get-protocol-by-name/error
|
||||
+; (handler-case (get-protocol-by-name "nonexistent-protocol")
|
||||
+; (unknown-protocol ()
|
||||
+; t)
|
||||
+; (:no-error ()
|
||||
+; nil))
|
||||
+; t)
|
||||
|
||||
(deftest make-inet-socket.smoke
|
||||
;; make a socket
|
||||
@@ -91,17 +91,17 @@
|
||||
(:no-error nil))
|
||||
t)
|
||||
|
||||
-#-win32
|
||||
-(deftest make-inet6-socket.smoke
|
||||
- (let ((s (make-instance 'inet6-socket :type :stream :protocol (get-protocol-by-name "tcp"))))
|
||||
- (and (> (socket-file-descriptor s) 1) t))
|
||||
- t)
|
||||
+;#-win32
|
||||
+;(deftest make-inet6-socket.smoke
|
||||
+; (let ((s (make-instance 'inet6-socket :type :stream :protocol (get-protocol-by-name "tcp"))))
|
||||
+; (and (> (socket-file-descriptor s) 1) t))
|
||||
+; t)
|
||||
|
||||
-#-win32
|
||||
-(deftest make-inet6-socket.keyword
|
||||
- (let ((s (make-instance 'inet6-socket :type :stream :protocol :tcp)))
|
||||
- (and (> (socket-file-descriptor s) 1) t))
|
||||
- t)
|
||||
+;#-win32
|
||||
+;(deftest make-inet6-socket.keyword
|
||||
+; (let ((s (make-instance 'inet6-socket :type :stream :protocol :tcp)))
|
||||
+; (and (> (socket-file-descriptor s) 1) t))
|
||||
+; t)
|
||||
|
||||
(deftest* (non-block-socket)
|
||||
(let ((s (make-instance 'inet-socket :type :stream :protocol :tcp)))
|
||||
@@ -109,52 +109,52 @@
|
||||
(non-blocking-mode s))
|
||||
t)
|
||||
|
||||
-(deftest inet-socket-bind
|
||||
- (let* ((tcp (get-protocol-by-name "tcp"))
|
||||
- (address (make-inet-address "127.0.0.1"))
|
||||
- (s1 (make-instance 'inet-socket :type :stream :protocol tcp))
|
||||
- (s2 (make-instance 'inet-socket :type :stream :protocol tcp)))
|
||||
- (unwind-protect
|
||||
- ;; Given the functions we've got so far, if you can think of a
|
||||
- ;; better way to make sure the bind succeeded than trying it
|
||||
- ;; twice, let me know
|
||||
- (progn
|
||||
- (socket-bind s1 address 0)
|
||||
- (handler-case
|
||||
- (let ((port (nth-value 1 (socket-name s1))))
|
||||
- (socket-bind s2 address port)
|
||||
- nil)
|
||||
- (address-in-use-error () t)))
|
||||
- (socket-close s1)
|
||||
- (socket-close s2)))
|
||||
- t)
|
||||
-
|
||||
-#-win32
|
||||
-(deftest inet6-socket-bind
|
||||
- (let* ((tcp (get-protocol-by-name "tcp"))
|
||||
- (address (make-inet6-address "::1"))
|
||||
- (s1 (make-instance 'inet6-socket :type :stream :protocol tcp))
|
||||
- (s2 (make-instance 'inet6-socket :type :stream :protocol tcp)))
|
||||
- (unwind-protect
|
||||
- ;; Given the functions we've got so far, if you can think of a
|
||||
- ;; better way to make sure the bind succeeded than trying it
|
||||
- ;; twice, let me know
|
||||
- (handler-case
|
||||
- (socket-bind s1 address 0)
|
||||
- (socket-error ()
|
||||
- ;; This may mean no IPv6 support, can't fail a test
|
||||
- ;; because of that
|
||||
- t)
|
||||
- (:no-error (x)
|
||||
- (declare (ignore x))
|
||||
- (handler-case
|
||||
- (let ((port (nth-value 1 (socket-name s1))))
|
||||
- (socket-bind s2 address port)
|
||||
- nil)
|
||||
- (address-in-use-error () t))))
|
||||
- (socket-close s1)
|
||||
- (socket-close s2)))
|
||||
- t)
|
||||
+;(deftest inet-socket-bind
|
||||
+; (let* ((tcp (get-protocol-by-name "tcp"))
|
||||
+; (address (make-inet-address "127.0.0.1"))
|
||||
+; (s1 (make-instance 'inet-socket :type :stream :protocol tcp))
|
||||
+; (s2 (make-instance 'inet-socket :type :stream :protocol tcp)))
|
||||
+; (unwind-protect
|
||||
+; ;; Given the functions we've got so far, if you can think of a
|
||||
+; ;; better way to make sure the bind succeeded than trying it
|
||||
+; ;; twice, let me know
|
||||
+; (progn
|
||||
+; (socket-bind s1 address 0)
|
||||
+; (handler-case
|
||||
+; (let ((port (nth-value 1 (socket-name s1))))
|
||||
+; (socket-bind s2 address port)
|
||||
+; nil)
|
||||
+; (address-in-use-error () t)))
|
||||
+; (socket-close s1)
|
||||
+; (socket-close s2)))
|
||||
+; t)
|
||||
+
|
||||
+;#-win32
|
||||
+;(deftest inet6-socket-bind
|
||||
+; (let* ((tcp (get-protocol-by-name "tcp"))
|
||||
+; (address (make-inet6-address "::1"))
|
||||
+; (s1 (make-instance 'inet6-socket :type :stream :protocol tcp))
|
||||
+; (s2 (make-instance 'inet6-socket :type :stream :protocol tcp)))
|
||||
+; (unwind-protect
|
||||
+; ;; Given the functions we've got so far, if you can think of a
|
||||
+; ;; better way to make sure the bind succeeded than trying it
|
||||
+; ;; twice, let me know
|
||||
+; (handler-case
|
||||
+; (socket-bind s1 address 0)
|
||||
+; (socket-error ()
|
||||
+; ;; This may mean no IPv6 support, can't fail a test
|
||||
+; ;; because of that
|
||||
+; t)
|
||||
+; (:no-error (x)
|
||||
+; (declare (ignore x))
|
||||
+; (handler-case
|
||||
+; (let ((port (nth-value 1 (socket-name s1))))
|
||||
+; (socket-bind s2 address port)
|
||||
+; nil)
|
||||
+; (address-in-use-error () t))))
|
||||
+; (socket-close s1)
|
||||
+; (socket-close s2)))
|
||||
+; t)
|
||||
|
||||
(deftest* (simple-sockopt-test)
|
||||
;; test we can set SO_REUSEADDR on a socket and retrieve it, and in
|
||||
@@ -221,37 +221,37 @@
|
||||
;;; to look at /etc/syslog.conf or local equivalent to find out where
|
||||
;;; the message ended up
|
||||
|
||||
-#-win32
|
||||
-(deftest simple-local-client
|
||||
- (progn
|
||||
- ;; SunOS (Solaris) and Darwin systems don't have a socket at
|
||||
- ;; /dev/log. We might also be building in a chroot or
|
||||
- ;; something, so don't fail this test just because the file is
|
||||
- ;; unavailable, or if it's a symlink to some weird character
|
||||
- ;; device.
|
||||
- (when (block nil
|
||||
- (handler-bind ((sb-posix:syscall-error
|
||||
- (lambda (e)
|
||||
- (declare (ignore e))
|
||||
- (return nil))))
|
||||
- (sb-posix:s-issock
|
||||
- (sb-posix::stat-mode (sb-posix:stat "/dev/log")))))
|
||||
- (let ((s (make-instance 'local-socket :type :datagram)))
|
||||
- (format t "Connecting ~A... " s)
|
||||
- (finish-output)
|
||||
- (handler-case
|
||||
- (socket-connect s "/dev/log")
|
||||
- (sb-bsd-sockets::socket-error ()
|
||||
- (setq s (make-instance 'local-socket :type :stream))
|
||||
- (format t "failed~%Retrying with ~A... " s)
|
||||
- (finish-output)
|
||||
- (socket-connect s "/dev/log")))
|
||||
- (format t "ok.~%")
|
||||
- (let ((stream (socket-make-stream s :input t :output t :buffering :none)))
|
||||
- (format stream
|
||||
- "<7>bsd-sockets: Don't panic. We're testing local-domain client code; this message can safely be ignored"))))
|
||||
- t)
|
||||
- t)
|
||||
+;#-win32
|
||||
+;(deftest simple-local-client
|
||||
+; (progn
|
||||
+; ;; SunOS (Solaris) and Darwin systems don't have a socket at
|
||||
+; ;; /dev/log. We might also be building in a chroot or
|
||||
+; ;; something, so don't fail this test just because the file is
|
||||
+; ;; unavailable, or if it's a symlink to some weird character
|
||||
+; ;; device.
|
||||
+; (when (block nil
|
||||
+; (handler-bind ((sb-posix:syscall-error
|
||||
+; (lambda (e)
|
||||
+; (declare (ignore e))
|
||||
+; (return nil))))
|
||||
+; (sb-posix:s-issock
|
||||
+; (sb-posix::stat-mode (sb-posix:stat "/dev/log")))))
|
||||
+; (let ((s (make-instance 'local-socket :type :datagram)))
|
||||
+; (format t "Connecting ~A... " s)
|
||||
+; (finish-output)
|
||||
+; (handler-case
|
||||
+; (socket-connect s "/dev/log")
|
||||
+; (sb-bsd-sockets::socket-error ()
|
||||
+; (setq s (make-instance 'local-socket :type :stream))
|
||||
+; (format t "failed~%Retrying with ~A... " s)
|
||||
+; (finish-output)
|
||||
+; (socket-connect s "/dev/log")))
|
||||
+; (format t "ok.~%")
|
||||
+; (let ((stream (socket-make-stream s :input t :output t :buffering :none)))
|
||||
+; (format stream
|
||||
+; "<7>bsd-sockets: Don't panic. We're testing local-domain client code; this message can safely be ignored"))))
|
||||
+; t)
|
||||
+; t)
|
||||
|
||||
|
||||
;;; these require that the internet (or bits of it, at least) is available
|
||||
@@ -367,59 +367,59 @@
|
||||
len address port (subseq buf 0 (min 10 len)))))))
|
||||
|
||||
#+sb-thread
|
||||
-(deftest interrupt-io
|
||||
- (let (result)
|
||||
- (labels
|
||||
- ((client (port)
|
||||
- (setf result
|
||||
- (let ((s (make-instance 'inet-socket
|
||||
- :type :stream
|
||||
- :protocol :tcp)))
|
||||
- (socket-connect s #(127 0 0 1) port)
|
||||
- (let ((stream (socket-make-stream s
|
||||
- :input t
|
||||
- :output t
|
||||
- :buffering :none)))
|
||||
- (handler-case
|
||||
- (prog1
|
||||
- (catch 'stop
|
||||
- (progn
|
||||
- (read-char stream)
|
||||
- (sleep 0.1)
|
||||
- (sleep 0.1)
|
||||
- (sleep 0.1)))
|
||||
- (close stream))
|
||||
- (error (c)
|
||||
- c))))))
|
||||
- (server ()
|
||||
- (let ((s (make-instance 'inet-socket
|
||||
- :type :stream
|
||||
- :protocol :tcp)))
|
||||
- (setf (sockopt-reuse-address s) t)
|
||||
- (socket-bind s (make-inet-address "127.0.0.1") 0)
|
||||
- (socket-listen s 5)
|
||||
- (multiple-value-bind (* port)
|
||||
- (socket-name s)
|
||||
- (let* ((client (sb-thread:make-thread
|
||||
- (lambda () (client port))))
|
||||
- (r (socket-accept s))
|
||||
- (stream (socket-make-stream r
|
||||
- :input t
|
||||
- :output t
|
||||
- :buffering :none))
|
||||
- (ok :ok))
|
||||
- (socket-close s)
|
||||
- (sleep 5)
|
||||
- (sb-thread:interrupt-thread client
|
||||
- (lambda () (throw 'stop ok)))
|
||||
- (sleep 5)
|
||||
- (setf ok :not-ok)
|
||||
- (write-char #\x stream)
|
||||
- (close stream)
|
||||
- (socket-close r))))))
|
||||
- (server))
|
||||
- result)
|
||||
- :ok)
|
||||
+;(deftest interrupt-io
|
||||
+; (let (result)
|
||||
+; (labels
|
||||
+; ((client (port)
|
||||
+; (setf result
|
||||
+; (let ((s (make-instance 'inet-socket
|
||||
+; :type :stream
|
||||
+; :protocol :tcp)))
|
||||
+; (socket-connect s #(127 0 0 1) port)
|
||||
+; (let ((stream (socket-make-stream s
|
||||
+; :input t
|
||||
+; :output t
|
||||
+; :buffering :none)))
|
||||
+; (handler-case
|
||||
+; (prog1
|
||||
+; (catch 'stop
|
||||
+; (progn
|
||||
+; (read-char stream)
|
||||
+; (sleep 0.1)
|
||||
+; (sleep 0.1)
|
||||
+; (sleep 0.1)))
|
||||
+; (close stream))
|
||||
+; (error (c)
|
||||
+; c))))))
|
||||
+; (server ()
|
||||
+; (let ((s (make-instance 'inet-socket
|
||||
+; :type :stream
|
||||
+; :protocol :tcp)))
|
||||
+; (setf (sockopt-reuse-address s) t)
|
||||
+; (socket-bind s (make-inet-address "127.0.0.1") 0)
|
||||
+; (socket-listen s 5)
|
||||
+; (multiple-value-bind (* port)
|
||||
+; (socket-name s)
|
||||
+; (let* ((client (sb-thread:make-thread
|
||||
+; (lambda () (client port))))
|
||||
+; (r (socket-accept s))
|
||||
+; (stream (socket-make-stream r
|
||||
+; :input t
|
||||
+; :output t
|
||||
+; :buffering :none))
|
||||
+; (ok :ok))
|
||||
+; (socket-close s)
|
||||
+; (sleep 5)
|
||||
+; (sb-thread:interrupt-thread client
|
||||
+; (lambda () (throw 'stop ok)))
|
||||
+; (sleep 5)
|
||||
+; (setf ok :not-ok)
|
||||
+; (write-char #\x stream)
|
||||
+; (close stream)
|
||||
+; (socket-close r))))))
|
||||
+; (server))
|
||||
+; result)
|
||||
+; :ok)
|
||||
|
||||
(defmacro with-client-and-server ((server-socket-var client-socket-var) &body body)
|
||||
(let ((listen-socket (gensym "LISTEN-SOCKET")))
|
||||
@@ -478,5 +478,6 @@
|
||||
(define-shutdown-test ,(make-name 'shutdown.client.ub8)
|
||||
client server (unsigned-byte 8) ,direction)))))
|
||||
|
||||
- (define-shutdown-tests :output)
|
||||
- (define-shutdown-tests :io))
|
||||
+; (define-shutdown-tests :output)
|
||||
+; (define-shutdown-tests :io))
|
||||
+)
|
@ -0,0 +1,236 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/sbcl-1.2.9.ebuild,v 1.1 2015/03/07 12:50:38 grozin Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit multilib eutils flag-o-matic pax-utils
|
||||
|
||||
#same order as http://www.sbcl.org/platform-table.html
|
||||
BV_X86=1.2.7
|
||||
BV_AMD64=1.2.9
|
||||
BV_PPC=1.2.7
|
||||
BV_SPARC=1.0.28
|
||||
BV_ALPHA=1.0.28
|
||||
BV_ARM=1.2.7
|
||||
BV_PPC_MACOS=1.0.47
|
||||
BV_X86_MACOS=1.1.6
|
||||
BV_X64_MACOS=1.1.8
|
||||
BV_SPARC_SOLARIS=1.0.23
|
||||
BV_X86_SOLARIS=1.2.7
|
||||
BV_X64_SOLARIS=1.2.7
|
||||
|
||||
DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp"
|
||||
HOMEPAGE="http://sbcl.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2
|
||||
x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 )
|
||||
amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 )
|
||||
ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 )
|
||||
sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 )
|
||||
alpha? ( mirror://sourceforge/sbcl/${PN}-${BV_ALPHA}-alpha-linux-binary.tar.bz2 )
|
||||
arm? ( mirror://sourceforge/sbcl/${PN}-${BV_ARM}-armhf-linux-binary.tar.bz2 )
|
||||
ppc-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC_MACOS}-powerpc-darwin-binary.tar.bz2 )
|
||||
x86-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_X86_MACOS}-x86-darwin-binary.tar.bz2 )
|
||||
x64-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_X64_MACOS}-x86-64-darwin-binary.tar.bz2 )
|
||||
sparc-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC_SOLARIS}-sparc-solaris-binary.tar.bz2 )
|
||||
x86-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_X86_SOLARIS}-x86-solaris-binary.tar.bz2 )
|
||||
x64-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_X64_SOLARIS}-x86-64-solaris-binary.tar.bz2 )"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="debug doc source +threads +unicode pax_kernel zlib"
|
||||
|
||||
CDEPEND=">=dev-lisp/asdf-3.1:="
|
||||
DEPEND="${CDEPEND}
|
||||
doc? ( sys-apps/texinfo >=media-gfx/graphviz-2.26.0 )
|
||||
pax_kernel? ( sys-apps/paxctl sys-apps/elfix )"
|
||||
RDEPEND="${CDEPEND}
|
||||
!prefix? ( elibc_glibc? ( >=sys-libs/glibc-2.6 ) )"
|
||||
|
||||
# Disable warnings about executable stacks, as this won't be fixed soon by upstream
|
||||
QA_EXECSTACK="usr/bin/sbcl"
|
||||
|
||||
CONFIG="${S}/customize-target-features.lisp"
|
||||
ENVD="${T}/50sbcl"
|
||||
|
||||
# Prevent ASDF from using the system libraries
|
||||
CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)"
|
||||
ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)"
|
||||
|
||||
usep() {
|
||||
use ${1} && echo "true" || echo "false"
|
||||
}
|
||||
|
||||
sbcl_feature() {
|
||||
echo "$( [[ ${1} == "true" ]] && echo "(enable ${2})" || echo "(disable ${2})")" >> "${CONFIG}"
|
||||
}
|
||||
|
||||
sbcl_apply_features() {
|
||||
sed 's/^X//' > "${CONFIG}" <<-'EOF'
|
||||
(lambda (list)
|
||||
X (flet ((enable (x) (pushnew x list))
|
||||
X (disable (x) (setf list (remove x list))))
|
||||
EOF
|
||||
if use x86 || use amd64; then
|
||||
sbcl_feature "$(usep threads)" ":sb-thread"
|
||||
fi
|
||||
sbcl_feature "true" ":sb-ldb"
|
||||
sbcl_feature "false" ":sb-test"
|
||||
sbcl_feature "$(usep unicode)" ":sb-unicode"
|
||||
sbcl_feature "$(usep zlib)" ":sb-core-compression"
|
||||
sbcl_feature "$(usep debug)" ":sb-xref-for-internals"
|
||||
sed 's/^X//' >> "${CONFIG}" <<-'EOF'
|
||||
X )
|
||||
X list)
|
||||
EOF
|
||||
cat "${CONFIG}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mv sbcl-*-* sbcl-binary || die
|
||||
cd "${S}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/gentoo-fix_install_man.patch
|
||||
# bug #468482
|
||||
epatch "${FILESDIR}"/concurrency-test-1.2.6.patch
|
||||
# bugs #486552, #527666, #517004
|
||||
epatch "${FILESDIR}"/bsd-sockets-test-1.2.9.patch
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-1.0.6-solaris.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.2.7-verbose-build.patch
|
||||
|
||||
# To make the hardened compiler NOT compile with -fPIE -pie
|
||||
if gcc-specs-pie ; then
|
||||
einfo "Disabling PIE..."
|
||||
epatch "${FILESDIR}"/${PN}-1.1.17-gentoo-fix_nopie_for_hardened_toolchain.patch
|
||||
fi
|
||||
|
||||
# bug #526194
|
||||
sed -e "s@CFLAGS =@CFLAGS = ${CFLAGS}@" \
|
||||
-e "s@LINKFLAGS =@LINKFLAGS = ${LDFLAGS}@" \
|
||||
-i src/runtime/GNUmakefile || die
|
||||
|
||||
sed -e "s@SBCL_PREFIX=\"/usr/local\"@SBCL_PREFIX=\"${EPREFIX}/usr\"@" \
|
||||
-i make-config.sh || die
|
||||
|
||||
cp "${EPREFIX}"/usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die
|
||||
|
||||
use source && sed 's%"$(BUILD_ROOT)%$(MODULE).lisp "$(BUILD_ROOT)%' -i contrib/vanilla-module.mk
|
||||
|
||||
# Some shells(such as dash) don't have "time" as builtin
|
||||
# and we don't want to DEPEND on sys-process/time
|
||||
sed "s,^time ,," -i make.sh || die
|
||||
sed "s,/lib,/$(get_libdir),g" -i install.sh || die
|
||||
# #define SBCL_HOME ...
|
||||
sed "s,/usr/local/lib,${EPREFIX}/usr/$(get_libdir),g" -i src/runtime/runtime.c || die
|
||||
# change location of /etc/sbclrc ...
|
||||
sed "s,/etc/sbclrc,${EPREFIX}/etc/sbclrc,g" -i src/code/toplevel.lisp || die
|
||||
|
||||
find . -type f -name .cvsignore -delete
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# customizing SBCL version as per
|
||||
# http://sbcl.cvs.sourceforge.net/sbcl/sbcl/doc/PACKAGING-SBCL.txt?view=markup
|
||||
echo -e ";;; Auto-generated by Gentoo\n\"gentoo-${PR}\"" > branch-version.lisp-expr
|
||||
|
||||
# applying customizations
|
||||
sbcl_apply_features
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local bindir="${WORKDIR}"/sbcl-binary
|
||||
|
||||
strip-unsupported-flags ; filter-flags -fomit-frame-pointer
|
||||
|
||||
if host-is-pax ; then
|
||||
# To disable PaX on hardened systems
|
||||
pax-mark -mr "${bindir}"/src/runtime/sbcl
|
||||
|
||||
# Hack to disable PaX on second GENESIS stage
|
||||
sed -i -e '/^[ \t]*echo \/\/doing warm init - compilation phase$/a\ paxmark.sh -mr \.\/src\/runtime\/sbcl' \
|
||||
"${S}"/make-target-2.sh || die "Cannot disable PaX on second GENESIS runtime"
|
||||
fi
|
||||
|
||||
# clear the environment to get rid of non-ASCII strings, see bug 174702
|
||||
# set HOME for paludis
|
||||
env - HOME="${T}" PATH="${PATH}" \
|
||||
CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" \
|
||||
CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" \
|
||||
GNUMAKE=make ./make.sh \
|
||||
"sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" \
|
||||
|| die "make failed"
|
||||
|
||||
# need to set HOME because libpango(used by graphviz) complains about it
|
||||
if use doc; then
|
||||
env - HOME="${T}" PATH="${PATH}" \
|
||||
CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
|
||||
ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
|
||||
make -C doc/manual info html || die "Cannot build manual"
|
||||
env - HOME="${T}" PATH="${PATH}" \
|
||||
CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
|
||||
ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
|
||||
make -C doc/internals info html || die "Cannot build internal docs"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ewarn "Unfortunately, it is known that some tests fail eg."
|
||||
ewarn "run-program.impure.lisp. This is an issue of the upstream's"
|
||||
ewarn "development and not of Gentoo's side. Please, before filing"
|
||||
ewarn "any bug(s) search for older submissions. Thank you."
|
||||
time ( cd tests && sh run-tests.sh )
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# install system-wide initfile
|
||||
dodir /etc/
|
||||
sed 's/^X//' > "${ED}"/etc/sbclrc <<-EOF
|
||||
;;; The following is required if you want source location functions to
|
||||
;;; work in SLIME, for example.
|
||||
X
|
||||
(setf (logical-pathname-translations "SYS")
|
||||
X '(("SYS:SRC;**;*.*.*" #p"${EPREFIX}/usr/$(get_libdir)/sbcl/src/**/*.*")
|
||||
X ("SYS:CONTRIB;**;*.*.*" #p"${EPREFIX}/usr/$(get_libdir)/sbcl/**/*.*")))
|
||||
X
|
||||
;;; Setup ASDF2
|
||||
(load "${EPREFIX}/etc/common-lisp/gentoo-init.lisp")
|
||||
EOF
|
||||
|
||||
# Install documentation
|
||||
unset SBCL_HOME
|
||||
INSTALL_ROOT="${ED}/usr" LIB_DIR="${EPREFIX}/usr/$(get_libdir)" DOC_DIR="${ED}/usr/share/doc/${PF}" \
|
||||
sh install.sh || die "install.sh failed"
|
||||
|
||||
# bug #517008
|
||||
pax-mark -mr "${D}"/usr/bin/sbcl
|
||||
|
||||
# rm empty directories lest paludis complain about this
|
||||
find "${ED}" -empty -type d -exec rmdir -v {} +
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/manual/
|
||||
doinfo doc/manual/*.info*
|
||||
dohtml -r doc/internals/sbcl-internals
|
||||
doinfo doc/internals/sbcl-internals.info
|
||||
docinto internals-notes && dodoc doc/internals-notes/*
|
||||
else
|
||||
rm -Rv "${ED}/usr/share/doc/${PF}" || die
|
||||
fi
|
||||
|
||||
dodoc BUGS CREDITS INSTALL NEWS OPTIMIZATIONS PRINCIPLES README TLA TODO
|
||||
|
||||
# install the SBCL source
|
||||
if use source; then
|
||||
./clean.sh
|
||||
cp -av src "${ED}/usr/$(get_libdir)/sbcl/" || die
|
||||
fi
|
||||
|
||||
# necessary for running newly-saved images
|
||||
echo "SBCL_HOME=${EPREFIX}/usr/$(get_libdir)/${PN}" > "${ENVD}"
|
||||
echo "SBCL_SOURCE_ROOT=${EPREFIX}/usr/$(get_libdir)/${PN}/src" >> "${ENVD}"
|
||||
doenvd "${ENVD}"
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
DIST MDB2_Driver_sqlite-1.5.0b3.tgz 36441 SHA256 e7302024581b9a6ae3e074308f5e65183d312c5bce2b71615702a69bdefd53e6 SHA512 b9c31178722903efaf12875f5b144d1bbd9690879982c9ffb5080ced6c75453d5b875f669967fe6bad2be7b5ceb36582016bf034f618d253bf0239ff69f273a3 WHIRLPOOL 2428214c49491e38f7756586e6821c856b4eed72f8b78e4ffd0b915888b7ccd105fecebe5e7c7f54a37a9ec4f6643bf1b3ef9a78eefb11b9760d0b4e1c4b9a9b
|
||||
DIST MDB2_Driver_sqlite-1.5.0b4.tgz 37253 SHA256 17af4c80adc874a67860511a743773a5a21266264437851932c0568145898b80 SHA512 30f5af249684456300c69845cea10854ef92634ad526a0566aaa940560e06b1cd957014b8dc33d0f97a567646c751c7dee27abfedd65ac4e0d593d70a4f55c7e WHIRLPOOL 8547bcbbcad6b8f3927318fdb24a93e2f532d392f3c0813eec89b8e1ffe69bf48973a8e926b87777b78109d5055aca7613690b3168c92ed4c03c3af670734f96
|
@ -1,17 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-MDB2_Driver_sqlite/PEAR-MDB2_Driver_sqlite-1.5.0_beta3.ebuild,v 1.10 2014/01/26 18:35:20 olemarkus Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
DESCRIPTION="Database Abstraction Layer, sqlite driver"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ~ppc64 ~s390 ~sh sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-php/PEAR-MDB2-2.5.0_beta3
|
||||
dev-lang/php[sqlite2]"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,17 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-MDB2_Driver_sqlite/PEAR-MDB2_Driver_sqlite-1.5.0_beta4.ebuild,v 1.1 2013/11/03 21:12:19 mabi Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit php-pear-r1
|
||||
|
||||
DESCRIPTION="Database Abstraction Layer, sqlite driver"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-php/PEAR-MDB2-2.5.0_beta3
|
||||
dev-lang/php[sqlite2]"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,5 +1,3 @@
|
||||
DIST xdebug-2.2.3.tgz 250543 SHA256 b351872da46ed8378dff90a87673f5ec1e0bdd94324558ebc898e1d115e9d71c SHA512 2ba62010776a1bf05fbbc9bee086b88ce23d257814e309732e4ec3015079213a7a8cf855256edadd8566d564050a6e517ac9f3c239e3be3af0bfdcb3a79d21bc WHIRLPOOL 66c4da83a91ff6d838a72f2286b5e462e0e45c2ce8083b4826b454292c1d9d895e3b3b928ab7e0cec2cd7cd1a986cb3f13043ee80edb0915d52797f85ab0fc9d
|
||||
DIST xdebug-2.2.5.tgz 255840 SHA256 adc6fe92dcff2368be94d20a5997aadb4d46d74551e2dd6602a704a35a195a6f SHA512 19177fef02716beee172f68cb1ef26bdf7f949b06ade2047e7b9131d70b1f8794b8db7c115f2b6114a42d7568c0d4bc6d850a705627db83d5b3020aeee44ac40 WHIRLPOOL 6f6ce56acf0f09f846fd59818d81c1fdcf4e3cb74f234f427b7c7fd985578faeb982b3774bb7748ef6ea0876cea3d5f3d15550bfbe589557c787f4e433a951bd
|
||||
DIST xdebug-2.2.6.tgz 256161 SHA256 6dd1cba0605e75009331aa3625a19ef49ade5a75aa9fe2ff8a818108d2cce84e SHA512 18deac94f8f9c102dce83ed1accd0831e5b8c2f5d47ea60f89c8b493e5e180d0dfa153065089e1081276db8960ff2ea4082103f228f9191c572888180efa6f82 WHIRLPOOL 0e152ea5740bc8ca8cc6d0178bb59556f98ba0722a0b3cdaeecdc5aa551324cadf5f1c11b215058cf890c16eb7e9e108919a389a6c89d60a469396a20cc083ed
|
||||
DIST xdebug-2.2.7.tgz 256437 SHA256 4fce7fc794ccbb1dd0b961191cd0323516e216502fe7209b03711fc621642245 SHA512 ddbf2b2c4086962e1e51767ebf0ab61f6199a2aad8d85be40c3fb731247a93744365757803cc6e3f190dc130282cbf7f01a6f9f8acac277011e7d767a24b2ba3 WHIRLPOOL d050dfa80a6f6be845a5a201164b508020c2ca492cad520f92fe470205d3bdd6f1721c16c0ed02614da28f9c7c0bb56c6567dc95c65e45352a9738bb14d2aa86
|
||||
DIST xdebug-2.3.1.tgz 266218 SHA256 b50365896089c76d6d64924b66428cc5ef6b4802371e3d422581b3c34d3ca64c SHA512 aca3ce1546f8b99482f55c0f09e532addecff7db4cc81818260b2d3524fd6888e05c15ed0f98f25a139c40e011540705f02aab56f4c52d90212a843459493bd2 WHIRLPOOL 69e4545c1489f240a23ba4ee70afec754471e5cbffdd48a1d5f5db1eace13982807b1e30ae2efd541f79b658613e770ad2dea1ca016a67037e5b5b59ce08fb9c
|
||||
|
@ -1,89 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/xdebug/xdebug-2.2.3.ebuild,v 1.5 2013/08/23 13:41:34 ago Exp $
|
||||
|
||||
EAPI="5"
|
||||
PHP_EXT_NAME="xdebug"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="yes"
|
||||
|
||||
USE_PHP="php5-5 php5-3 php5-4"
|
||||
|
||||
MY_PV="${PV/_/}"
|
||||
MY_PV="${MY_PV/rc/RC}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
inherit php-ext-source-r2
|
||||
|
||||
KEYWORDS="amd64 ~hppa ppc ppc64 x86"
|
||||
|
||||
DESCRIPTION="A PHP debugging and profiling extension"
|
||||
HOMEPAGE="http://www.xdebug.org/"
|
||||
SRC_URI="http://pecl.php.net/get/${PN}-${MY_PV}.tgz"
|
||||
LICENSE="Xdebug"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
~dev-php/xdebug-client-${PV}"
|
||||
|
||||
src_install() {
|
||||
dodoc NEWS README CREDITS
|
||||
php-ext-source-r2_src_install
|
||||
|
||||
php-ext-source-r2_addtoinifiles "xdebug.auto_trace" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.trace_output_dir" '"/tmp"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.trace_output_name" '"trace.%c"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.trace_format" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.trace_options" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.collect_includes" '"1"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.collect_params" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.collect_return" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.collect_vars" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.default_enable" '"1"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.extended_info" '"1"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.manual_url" '"http://www.php.net"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.max_nesting_level" '"100"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.show_exception_trace" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.show_local_vars" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.show_mem_delta" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump.COOKIE" '"NULL"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump.ENV" '"NULL"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump.FILES" '"NULL"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump.GET" '"NULL"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump.POST" '"NULL"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump.REQUEST" '"NULL"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump.SERVER" '"NULL"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump.SESSION" '"NULL"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump_globals" '"1"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump_once" '"1"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump_undefined" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.profiler_enable" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.profiler_output_dir" '"/tmp"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.profiler_output_name" '"cachegrind.out.%p"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.profiler_enable_trigger" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.profiler_append" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.profiler_aggregate" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.remote_enable" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.remote_handler" '"dbgp"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.remote_host" '"localhost"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.remote_mode" '"req"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.remote_port" '"9000"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.remote_autostart" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.remote_log" '""'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.idekey" '""'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.var_display_max_data" '"512"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.var_display_max_depth" '"2"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.var_display_max_children" '"128"'
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "We have set xdebug.default_enable to 0 (off), as xdebug can be"
|
||||
ewarn "installed as a dependency, and not all users will want xdebug to be"
|
||||
ewarn "enabled by default. If you want to enable it, you should edit the"
|
||||
ewarn "ini file and set xdebug.default_enable to 1. Alternatively you can"
|
||||
ewarn "call xdebug_enable() in your code."
|
||||
}
|
@ -1,89 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/xdebug/xdebug-2.2.5.ebuild,v 1.1 2014/10/02 15:09:37 grknight Exp $
|
||||
|
||||
EAPI="5"
|
||||
PHP_EXT_NAME="xdebug"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="yes"
|
||||
|
||||
USE_PHP="php5-5 php5-4"
|
||||
|
||||
MY_PV="${PV/_/}"
|
||||
MY_PV="${MY_PV/rc/RC}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
inherit php-ext-source-r2
|
||||
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
|
||||
|
||||
DESCRIPTION="A PHP debugging and profiling extension"
|
||||
HOMEPAGE="http://www.xdebug.org/"
|
||||
SRC_URI="http://pecl.php.net/get/${PN}-${MY_PV}.tgz"
|
||||
LICENSE="Xdebug"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
~dev-php/xdebug-client-${PV}"
|
||||
|
||||
src_install() {
|
||||
dodoc NEWS README CREDITS
|
||||
php-ext-source-r2_src_install
|
||||
|
||||
php-ext-source-r2_addtoinifiles "xdebug.auto_trace" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.trace_output_dir" '"/tmp"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.trace_output_name" '"trace.%c"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.trace_format" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.trace_options" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.collect_includes" '"1"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.collect_params" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.collect_return" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.collect_vars" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.default_enable" '"1"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.extended_info" '"1"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.manual_url" '"http://www.php.net"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.max_nesting_level" '"100"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.show_exception_trace" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.show_local_vars" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.show_mem_delta" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump.COOKIE" '"NULL"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump.ENV" '"NULL"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump.FILES" '"NULL"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump.GET" '"NULL"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump.POST" '"NULL"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump.REQUEST" '"NULL"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump.SERVER" '"NULL"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump.SESSION" '"NULL"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump_globals" '"1"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump_once" '"1"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.dump_undefined" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.profiler_enable" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.profiler_output_dir" '"/tmp"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.profiler_output_name" '"cachegrind.out.%p"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.profiler_enable_trigger" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.profiler_append" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.profiler_aggregate" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.remote_enable" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.remote_handler" '"dbgp"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.remote_host" '"localhost"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.remote_mode" '"req"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.remote_port" '"9000"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.remote_autostart" '"0"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.remote_log" '""'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.idekey" '""'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.var_display_max_data" '"512"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.var_display_max_depth" '"2"'
|
||||
php-ext-source-r2_addtoinifiles "xdebug.var_display_max_children" '"128"'
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "We have set xdebug.default_enable to 0 (off), as xdebug can be"
|
||||
ewarn "installed as a dependency, and not all users will want xdebug to be"
|
||||
ewarn "enabled by default. If you want to enable it, you should edit the"
|
||||
ewarn "ini file and set xdebug.default_enable to 1. Alternatively you can"
|
||||
ewarn "call xdebug_enable() in your code."
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue