parent
2078dd5461
commit
9a5e43ce00
@ -1 +1 @@
|
||||
DIST eselect-rust-0.1_pre20140820.tar.gz 64223 SHA256 dd96753e58cbae3956ca1c080e74e1ce91b1e1b72945d1a88c99b615186f5e8f SHA512 570d39593931f54895acc57270fb88a4bfe3d4c57dc4190c88aee83a62666c2ff7cd29dc47a90d205e0b1d4fcc8c7b9edb2dea2e33b59319b0c2d9a190e9059d WHIRLPOOL d5085b7d00616c577f4d457c13bf672d0e961fb908da8e23177a3e35e4b78f4ac77f8dd3a38084e379decea58842b110d020dfd2c3c2af72289cd7e558ed3d84
|
||||
DIST eselect-rust-0.2_pre20141011.tar.gz 63628 SHA256 1b4d992ec2caeefc34465920a9a70aec8ed7f1707e6b3416624d324edf141ea5 SHA512 c8f970f9827d97df518b21825a2a0d6e62dd16b5ff08c7c6dbaea122a3cbad51d0af13552078479e35f0711fce6042591bdc31d1c2b6c9e02bab3e24d5c9afe9 WHIRLPOOL 86f285028a5dcd0d1d2cc8a2c59ac3bd9ce9b60558e1579983933c4dcc5e208554bdc48fad3abc7be08e423b3f0cd7c8106fe09d26bceef4fe5bbb9b9b34a39c
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST salt-2014.1.10.tar.gz 2813318 SHA256 f175fc0385849fe557c0c91b0331926dacd665ae0ba3aa0d585bd7670d13edc5 SHA512 36381f371e98b157cbb7a36e3f77fa00da315997dd57cf24cff555f2532e090938e031901141efdad502da131992b957433d6b4bf493a83108bf7c273f4e616f WHIRLPOOL c7dbe44c914f3d7e1de566815bb7124a55a8f82214f89f8f59fcf900d315e70c2363471f7185c4f99af8d35f4ea20b7b31076f8913581f6b7954d662bf45424d
|
||||
DIST salt-2014.1.11.tar.gz 2820888 SHA256 80b9451a56d2282e46964965baa27063f5e26b374a0f8e5883b208730daf6e1c SHA512 11948b8f3673b41d479d6469be0686e20e3d9eeabb1b95bff250f04cbe0c231ba1ac6b1fa114d2d56324eca75d06fd33b6675fe57a6747a7a8f210fd9eda6f8d WHIRLPOOL 6a61f6ce6dc1827afdc21750dccc67c83b974fa3ced7986ed7553099b3b3c33e9eac93bfa34768b5abc95ec4e87f3038db9594f9025a72db580fccdcaa28e96c
|
||||
DIST salt-2014.1.12.tar.gz 2823504 SHA256 244921334b0db5c5b8801916df90e02539add5f5d7c8ce45be1c122721a4a32c SHA512 5445322749d76a6f2e0ef2f29e2ef778bb7c9e3afcd72e2af76a21054aade882e076e572aed5e69516356cd8d79a87bee2e8803e24aa3493017a4191bfb012d7 WHIRLPOOL 7be65a85efbd370d2a1750037b7c1b69e205336c42b402314fccc3418ebed1a9717c754cd13b9e2cf8ebd67e3817880db4fba46d1fb1a0f33b842a7bd94eb9ef
|
||||
DIST salt-2014.1.13.tar.gz 2846659 SHA256 0ab37478e18e6490eccef4deb9f77a20c99ffcc6f97b48e25eb546f8b73f3c22 SHA512 967f7759cbeb55dba0842c8f6efa281a28afa3e9ad7fd0771c587629e8e601cdaf440573e2453e1f21ec3dafa01f0b042ecbd1faa515c9d088cefb19f6ce6629 WHIRLPOOL d992900416f55f857f7685b2110fad6aa43e5859005259dc7db66853aa57c74a8ac06c1894d4c4bf26959c61ccacdff3273c1cbf18039ec005d36fffbc30fbbb
|
||||
|
@ -0,0 +1,89 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/salt/salt-2014.1.13.ebuild,v 1.1 2014/10/18 01:49:25 chutzpah Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=(python{2_6,2_7})
|
||||
|
||||
inherit eutils distutils-r1 systemd
|
||||
|
||||
DESCRIPTION="Salt is a remote execution and configuration manager"
|
||||
HOMEPAGE="http://saltstack.org/"
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://github.com/${PN}stack/${PN}.git"
|
||||
EGIT_BRANCH="develop"
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="ldap libcloud libvirt mako mongodb mysql openssl redis timelib test"
|
||||
|
||||
RDEPEND=">=dev-python/pyzmq-2.2.0[${PYTHON_USEDEP}]
|
||||
dev-python/msgpack[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/m2crypto[${PYTHON_USEDEP}]
|
||||
dev-python/pycrypto[${PYTHON_USEDEP}]
|
||||
dev-python/pycryptopp[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
libcloud? ( >=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}] )
|
||||
sys-apps/pciutils
|
||||
mako? ( dev-python/mako[${PYTHON_USEDEP}] )
|
||||
ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
|
||||
openssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )
|
||||
libvirt? ( || (
|
||||
dev-python/libvirt-python[${PYTHON_USEDEP}]
|
||||
app-emulation/libvirt[python,${PYTHON_USEDEP}]
|
||||
)
|
||||
)
|
||||
mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
|
||||
mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
|
||||
redis? ( dev-python/redis-py[${PYTHON_USEDEP}] )
|
||||
timelib? ( dev-python/timelib[${PYTHON_USEDEP}] )"
|
||||
DEPEND="test? (
|
||||
dev-python/pip
|
||||
dev-python/virtualenv
|
||||
dev-python/timelib
|
||||
>=dev-python/SaltTesting-2014.4.24
|
||||
${RDEPEND}
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2014.1.2-tests-nonroot.patch"
|
||||
"${FILESDIR}/${PN}-2014.1.5-tests-nonroot.patch"
|
||||
)
|
||||
DOCS=(README.rst AUTHORS)
|
||||
|
||||
python_prepare() {
|
||||
sed -i '/install_requires=/ d' setup.py || die "sed failed"
|
||||
|
||||
# this test fails because it trys to "pip install distribute"
|
||||
rm tests/unit/{modules,states}/zcbuildout_test.py
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
USE_SETUPTOOLS=1 distutils-r1_python_install_all
|
||||
|
||||
for s in minion master syndic; do
|
||||
newinitd "${FILESDIR}"/${s}-initd-3 salt-${s}
|
||||
newconfd "${FILESDIR}"/${s}-confd-1 salt-${s}
|
||||
systemd_dounit "${FILESDIR}"/salt-${s}.service
|
||||
done
|
||||
|
||||
insinto /etc/${PN}
|
||||
doins conf/*
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# testsuite likes lots of files
|
||||
ulimit -n 3072
|
||||
USE_SETUPTOOLS=1 SHELL="/bin/bash" TMPDIR=/tmp ./tests/runtests.py --unit-tests --no-report --verbose || die
|
||||
}
|
@ -0,0 +1,333 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-24.4_rc1.ebuild,v 1.1 2014/10/18 09:43:07 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit 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-alpha/emacs/pretest/${P/_/-}.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.4-r1[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 )
|
||||
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
|
||||
|
||||
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="${GAMES_USER_DED:-games}" \
|
||||
--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
|
||||
|
||||
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
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
DIST rust-0.11.0.tar.gz 21555837 SHA256 d1b3e36448bf12b8c9289024df416de10774b6d3235d7b1d22b248ef634411ba SHA512 a29e8a1c44097cc78d36d637d1ebf9b1b914d58a56d52f8112959a68916a2df9f5f63f93e596ba6db5be21a962912503e0fd678330a9dac6abe04a59d5af4584 WHIRLPOOL b7fb24920aca2a537af0c7e20925302a20fbd662209a1774a8ecc7c2cf9aaeb9b4fabfdd45620a0fda88b49122abc04882f7254a984b06df47212e537f8713f8
|
||||
DIST rust-0.12.0.tar.gz 21223176 SHA256 883e66b24d90d9957c5c538469fcde6f0668e5fb6448beecfc60884060e769b7 SHA512 b01f6ae97fb012ab701b47a8f240a764d0a6f3ee2224ab67289c61f021a1cef2e99a4b61aa3f8991ce90f52b19d6ec93a5a041e5ee4988803e6ef239c8b91445 WHIRLPOOL 8f952936f06d95c4eba4803752d690831d9e60b5f66e289d5c9083108f66bae403917c42744d4a611d636a69c2bd11d69c51c59ce3f899fe3fa94d15e30c4cfd
|
@ -0,0 +1,2 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(require 'rust-mode)
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>jauhien@gentoo.org</email>
|
||||
<name>Jauhien Piatlicki</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/rust-mode/rust-mode-0.11.0.ebuild,v 1.1 2014/10/18 11:48:14 jauhien Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="A major emacs mode for editing Rust source code"
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
SRC_URI="http://static.rust-lang.org/dist/rust-${PV}.tar.gz"
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="!!<=app-admin/eselect-rust-0.1_pre20140820
|
||||
!<=dev-lang/rust-0.11.0-r1:0.11
|
||||
!<=dev-lang/rust-999:nightly
|
||||
!<=dev-lang/rust-9999-r2:git
|
||||
"
|
||||
|
||||
S="${WORKDIR}/rust-${PV}/src/etc/emacs"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/rust-mode/rust-mode-0.12.0.ebuild,v 1.1 2014/10/18 11:48:14 jauhien Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="A major emacs mode for editing Rust source code"
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
SRC_URI="http://static.rust-lang.org/dist/rust-${PV}.tar.gz"
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="!!<=app-admin/eselect-rust-0.1_pre20140820
|
||||
!<=dev-lang/rust-0.11.0-r1:0.11
|
||||
!<=dev-lang/rust-999:nightly
|
||||
!<=dev-lang/rust-9999-r2:git
|
||||
"
|
||||
|
||||
S="${WORKDIR}/rust-${PV}/src/etc/emacs"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/rust-mode/rust-mode-9999.ebuild,v 1.1 2014/10/18 12:42:52 jauhien Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit elisp git-r3
|
||||
|
||||
DESCRIPTION="A major emacs mode for editing Rust source code"
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
EGIT_REPO_URI="git://github.com/rust-lang/rust.git"
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 )"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
|
||||
DEPEND="!!<=app-admin/eselect-rust-0.1_pre20140820
|
||||
!<=dev-lang/rust-0.11.0-r1:0.11
|
||||
!<=dev-lang/rust-999:nightly
|
||||
!<=dev-lang/rust-9999-r2:git
|
||||
"
|
||||
|
||||
S="${S}/src/etc/emacs"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
@ -1,2 +1 @@
|
||||
DIST e-uae-0.8.28.tar.bz2 1148790 SHA256 afc8b30fb9aa0819a4e53b3eb0db8e658e5a2b23d7dbf436f6b5a49b2269da86 SHA512 fb23ca82629f976b6db7fb196d85d709ed23a87732280eb2546021964e02b0030f7065bb7f5d58f6e1baa17213687f2d571902f555b15a26b164b72f821babaa WHIRLPOOL 6fed7cf792ba997afa927a3660350ef4b1890f85a3c9424d93eb64e9e39e739ed0fff3eb08bd455f8d2ea865e7bb003ef5c05569e72a91130c095a2603cf9f3e
|
||||
DIST e-uae-0.8.29-WIP4.tar.bz2 1122718 SHA256 9828cb0fca783160bcb33900d0254f4bdaade1c9a41256e5f298e973d0c07456 SHA512 63d5c60ca017ba7ffaba32c4d7edceba0410b773066cc58e226c8cc2c92152eb3689698b0affe478cc63c996c731fbbf56d9028dfd000394d904f193f860473f WHIRLPOOL 4d0bab2b8492cfe6a6b2e38fab7b2eb9ad4b33b38b191d9949cb946f6e5a4365b00ccec118acb8b4d537b70b73b8d9deb0c8235b5966f1488d9a03e3a245dfeb
|
||||
|
@ -1,134 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/e-uae/e-uae-0.8.28-r3.ebuild,v 1.11 2012/12/11 18:21:18 grobian Exp $
|
||||
|
||||
EAPI="1"
|
||||
|
||||
inherit eutils flag-o-matic pax-utils
|
||||
|
||||
DESCRIPTION="The Ubiquitous Amiga Emulator with an emulation core largely based on WinUAE"
|
||||
HOMEPAGE="http://www.rcdrummond.net/uae/"
|
||||
SRC_URI="http://www.rcdrummond.net/uae/${P}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="X dga ncurses sdl gtk alsa oss sdl-sound capslib"
|
||||
|
||||
# Note: opposed to ./configure --help zlib support required! Check
|
||||
# src/Makefile.am that includes zfile.c unconditionaly.
|
||||
RDEPEND="X? ( x11-libs/libXt
|
||||
x11-libs/libxkbfile
|
||||
x11-libs/libXext
|
||||
dga? ( x11-libs/libXxf86dga
|
||||
x11-libs/libXxf86vm )
|
||||
)
|
||||
!X? ( sdl? ( media-libs/libsdl )
|
||||
!sdl? ( sys-libs/ncurses ) )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
!alsa? ( sdl-sound? ( media-libs/sdl-sound ) )
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
capslib? ( games-emulation/caps )
|
||||
sys-libs/zlib
|
||||
virtual/cdrtools"
|
||||
|
||||
DEPEND="$RDEPEND
|
||||
X? ( dga? ( x11-proto/xf86vidmodeproto
|
||||
x11-proto/xf86dgaproto ) )"
|
||||
|
||||
pkg_setup() {
|
||||
# Sound setup.
|
||||
if use alsa; then
|
||||
elog "Choosing alsa as sound target to use."
|
||||
myconf="--with-alsa --without-sdl-sound"
|
||||
elif use sdl-sound ; then
|
||||
if ! use sdl ; then
|
||||
ewarn "sdl-sound is not enabled because sdl is switched off. Leaving"
|
||||
ewarn "sound on oss autodetection."
|
||||
myconf="--without-alsa --without-sdl-sound"
|
||||
ebeep
|
||||
else
|
||||
elog "Choosing sdl-sound as sound target to use."
|
||||
myconf="--without-alsa --with-sdl-sound"
|
||||
fi
|
||||
elif use oss ; then
|
||||
elog "Choosing oss as sound target to use."
|
||||
ewarn "oss will be autodetected. See output of configure."
|
||||
myconf="--without-alsa --without-sdl-sound"
|
||||
else
|
||||
ewarn "There is no alsa, sdl-sound or oss in USE. Sound target disabled!"
|
||||
myconf="--disable-audio"
|
||||
fi
|
||||
|
||||
# VIDEO setup. X is autodetected (there is no --with-X option).
|
||||
if use X ; then
|
||||
elog "Using X11 for video output."
|
||||
myconf="$myconf --without-curses --without-sdl-gfx"
|
||||
use dga && myconf="$myconf --enable-dga --enable-vidmode"
|
||||
elif use sdl ; then
|
||||
elog "Using sdl for video output."
|
||||
myconf="$myconf --with-sdl --with-sdl-gfx --without-curses"
|
||||
elif use ncurses; then
|
||||
elog "Using ncurses for video output."
|
||||
myconf="$myconf --with-curses --without-sdl-gfx"
|
||||
else
|
||||
ewarn "There is no X or sdl or ncurses in USE!"
|
||||
ewarn "Following upstream falling back on ncurses."
|
||||
myconf="$myconf --with-curses --without-sdl-gfx"
|
||||
ebeep
|
||||
fi
|
||||
|
||||
use gtk && myconf="$myconf --enable-ui --enable-threads"
|
||||
use gtk || myconf="$myconf --disable-ui"
|
||||
|
||||
use capslib && myconf="$myconf --with-caps"
|
||||
|
||||
myconf="$myconf --with-zlib"
|
||||
|
||||
# And explicitly state defaults:
|
||||
myconf="$myconf --enable-aga"
|
||||
myconf="$myconf --enable-autoconfig --enable-scsi-device --enable-cdtv --enable-cd32"
|
||||
myconf="$myconf --enable-bsdsock"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
epatch "${FILESDIR}/${P}-shm-crash.patch"
|
||||
epatch "${FILESDIR}/${P}-fix-joystick-conflicts.patch"
|
||||
epatch "${FILESDIR}/${P}-fix-atoscroll-screen-support.patch"
|
||||
epatch "${FILESDIR}/${P}-fix-JIT-cache-on-NX-cpu.patch"
|
||||
epatch "${FILESDIR}/${P}-gtkui_64bit_fix.diff"
|
||||
epatch "${FILESDIR}/${P}-themes_rendering_fix.diff"
|
||||
# bug #425680
|
||||
sed -i -e 's/getline/mygetline/' src/gui-none/nogui.c || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
strip-flags
|
||||
|
||||
econf ${myconf} \
|
||||
--with-libscg-includedir=/usr/include/scsilib \
|
||||
|| die "./configure failed"
|
||||
|
||||
emake -j1 || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
# The emulator needs to be able to create executable heap
|
||||
# - doesn't need trampoline emulation though.
|
||||
pax-mark me "${D}/usr/bin/uae"
|
||||
|
||||
insinto /usr/share/uae/amiga-tools
|
||||
doins amiga/{*hack,trans*,uae*,*.library}
|
||||
|
||||
# Rename it to e-uae
|
||||
mv "${D}/usr/bin/uae" "${D}/usr/bin/e-uae"
|
||||
mv "${D}/usr/bin/readdisk" "${D}/usr/bin/e-readdisk"
|
||||
mv "${D}/usr/share/uae" "${D}/usr/share/${PN}"
|
||||
|
||||
dodoc docs/* README ChangeLog
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
diff -Naur e-uae-0.8.28.orig/src/od-generic/memory.c e-uae-0.8.28/src/od-generic/memory.c
|
||||
--- e-uae-0.8.28.orig/src/od-generic/memory.c 2005-01-07 05:25:04.000000000 +0300
|
||||
+++ e-uae-0.8.28/src/od-generic/memory.c 2006-06-14 20:55:33.000000000 +0400
|
||||
@@ -14,6 +14,9 @@
|
||||
#ifdef JIT
|
||||
|
||||
#include <sys/mman.h>
|
||||
+#include <malloc.h>
|
||||
+#include <stdlib.h>
|
||||
+#include <unistd.h>
|
||||
|
||||
/*
|
||||
* Allocate executable memory for JIT cache
|
||||
@@ -22,7 +25,9 @@
|
||||
{
|
||||
void *cache;
|
||||
|
||||
- if ((cache = malloc (size)))
|
||||
+ size = size < getpagesize() ? getpagesize() : size;
|
||||
+
|
||||
+ if ((cache = valloc (size)))
|
||||
mprotect (cache, size, PROT_READ|PROT_WRITE|PROT_EXEC);
|
||||
|
||||
return cache;
|
@ -1,85 +0,0 @@
|
||||
diff -Naur e-uae-0.8.28.orig/src/picasso96.c e-uae-0.8.28/src/picasso96.c
|
||||
--- e-uae-0.8.28.orig/src/picasso96.c 2005-09-01 22:17:22.000000000 +0400
|
||||
+++ e-uae-0.8.28/src/picasso96.c 2006-06-14 20:53:06.000000000 +0400
|
||||
@@ -5,7 +5,7 @@
|
||||
*
|
||||
* Copyright 1997-2001 Brian King <Brian_King@Mitel.com, Brian_King@Cloanto.com>
|
||||
* Copyright 2000-2001 Bernd Roesch
|
||||
- * Copyright 2003-2004 Richard Drummond
|
||||
+ * Copyright 2003-2005 Richard Drummond
|
||||
*
|
||||
* Theory of operation:
|
||||
* On the Amiga side, a Picasso card consists mainly of a memory area that
|
||||
@@ -27,7 +27,6 @@
|
||||
* accesses which may be rather slow.
|
||||
*
|
||||
* TODO:
|
||||
- * - add panning capability
|
||||
* - we want to add a manual switch to override SetSwitch for hardware banging
|
||||
* programs started from a Picasso workbench.
|
||||
*/
|
||||
@@ -615,7 +614,7 @@
|
||||
* coordinates for the source rectangle in the framebuffer - not the source
|
||||
* coordinates.
|
||||
*/
|
||||
- srcp = ri->Memory + dstx * Bpp + dsty * ri->BytesPerRow;
|
||||
+ srcp = ri->Memory + (dstx + xoff) * Bpp + (dsty + yoff) * ri->BytesPerRow;
|
||||
|
||||
dstp += dsty * picasso_vidinfo.rowbytes + dstx * picasso_vidinfo.pixbytes;
|
||||
|
||||
@@ -625,7 +624,6 @@
|
||||
width,height, picasso_vidinfo.pixbytes));
|
||||
P96TRACE (("P96: gfxmem is at 0x%x\n", gfxmemory));
|
||||
|
||||
- DX_Invalidate (dsty, dsty + height - 1);
|
||||
|
||||
|
||||
|
||||
@@ -771,11 +769,11 @@
|
||||
|
||||
static void flush_currline (void)
|
||||
{
|
||||
- unsigned int line_no = (unsigned int)(currline_y - picasso96_state.YOffset);
|
||||
+ int line_no = currline_y - picasso96_state.YOffset;
|
||||
|
||||
- /* We only need to flush this line to the screen if the line
|
||||
- * is acutally visible on screen */
|
||||
- if (/*line_no >= 0 && */line_no < picasso96_state.Height) {
|
||||
+ /* We only need to flush this line to the screen if the line
|
||||
+ * is acutally visible on screen */
|
||||
+ if (line_no >= 0 && line_no < picasso96_state.Height) {
|
||||
|
||||
/* Tell the graphics system that this line needs to be
|
||||
* redrawn */
|
||||
@@ -795,10 +793,11 @@
|
||||
srcp += first_byte;
|
||||
first_byte = 0;
|
||||
}
|
||||
- if (first_byte + byte_count > picasso96_state.Width * fb_bpp)
|
||||
+ if ((first_byte + byte_count) > (picasso96_state.Width * fb_bpp))
|
||||
byte_count = picasso96_state.Width * fb_bpp - first_byte;
|
||||
|
||||
- write_currline (srcp, line_no, first_byte, byte_count);
|
||||
+ if (byte_count > 0)
|
||||
+ write_currline (srcp, line_no, first_byte, byte_count);
|
||||
}
|
||||
}
|
||||
currline_start = 0xFFFFFFFF;
|
||||
@@ -1548,6 +1547,8 @@
|
||||
picasso96_state.YOffset = (uae_s16) m68k_dreg (®s, 2);
|
||||
picasso96_state.RGBFormat = m68k_dreg (®s, 7);
|
||||
|
||||
+ wgfx_flushline();
|
||||
+
|
||||
/* Get our BoardInfo ptr's BitMapExtra ptr */
|
||||
bmeptr = get_long (bi + PSSO_BoardInfo_BitMapExtra);
|
||||
|
||||
@@ -2830,7 +2831,7 @@
|
||||
|
||||
/* If this line is outside of the p96 screen in the framebuffer
|
||||
* we ignore it */
|
||||
- if (line_no < picasso96_state.VirtualHeight) {
|
||||
+ if ((line_no >= picasso96_state.YOffset) && (line_no < picasso96_state.YOffset + picasso96_state.Height)) {
|
||||
currline_start = picasso96_state.Address + line_no * picasso96_state.BytesPerRow;
|
||||
currline_end = currline_start + picasso96_state.BytesPerRow;
|
||||
currline_min = addr;
|
@ -1,25 +0,0 @@
|
||||
diff -Naur e-uae-0.8.28.orig/src/jd-linuxold/joystick.c e-uae-0.8.28/src/jd-linuxold/joystick.c
|
||||
--- e-uae-0.8.28.orig/src/jd-linuxold/joystick.c 2005-08-21 19:02:09.000000000 +0400
|
||||
+++ e-uae-0.8.28/src/jd-linuxold/joystick.c 2006-06-14 20:54:30.000000000 +0400
|
||||
@@ -8,7 +8,7 @@
|
||||
*
|
||||
* Copyright 1997 Bernd Schmidt
|
||||
* Copyright 1998 Krister Walfridsson
|
||||
- * Copyright 2003-2005 Richard Drummond
|
||||
+ * Copyright 2003-2006 Richard Drummond
|
||||
* Copyright 2004 Nick Seow (Alternative Linux joystick device path)
|
||||
*/
|
||||
|
||||
@@ -75,8 +75,10 @@
|
||||
int fd = nr == 0 ? js0 : js1;
|
||||
struct joy_range *r = nr == 0 ? &range0 : &range1;
|
||||
|
||||
- if (nr >= nr_joysticks)
|
||||
- return;
|
||||
+ if (currprefs.input_selected_setting == 0) {
|
||||
+ if (jsem_isjoy (0, &currprefs) != (int)nr && jsem_isjoy (1, &currprefs) != (int)nr)
|
||||
+ return;
|
||||
+ }
|
||||
|
||||
len = read(fd, &buffer, sizeof(buffer));
|
||||
if (len != sizeof(buffer))
|
@ -1,12 +0,0 @@
|
||||
diff -Naru e-uae-0.8.28.orig/src/gui-gtk/util.h e-uae-0.8.28/src/gui-gtk/util.h
|
||||
--- e-uae-0.8.28.orig/src/gui-gtk/util.h 2005-08-30 18:00:57.000000000 +0400
|
||||
+++ e-uae-0.8.28/src/gui-gtk/util.h 2006-07-17 14:31:59.000000000 +0400
|
||||
@@ -34,7 +34,7 @@
|
||||
extern void add_table_padding (GtkWidget *table, int x, int y);
|
||||
extern void add_to_table(GtkWidget *table, GtkWidget *widget, int x, int y, int width, int xflags);
|
||||
|
||||
-#define GTKUTIL_TABLE_END 0
|
||||
+#define GTKUTIL_TABLE_END ((GtkWidget *)0)
|
||||
#define GTKUTIL_ROW_END ((GtkWidget *)1)
|
||||
|
||||
extern GtkWidget *gtkutil_add_table (GtkWidget *container, ...);
|
@ -1,12 +0,0 @@
|
||||
diff -Naur e-uae-0.8.28.orig/src/gfx-x11/xwin.c e-uae-0.8.28/src/gfx-x11/xwin.c
|
||||
--- e-uae-0.8.28.orig/src/gfx-x11/xwin.c 2005-08-21 19:10:40.000000000 +0400
|
||||
+++ e-uae-0.8.28/src/gfx-x11/xwin.c 2006-06-14 17:50:29.000000000 +0400
|
||||
@@ -1215,7 +1215,7 @@
|
||||
|
||||
if (! dgamode) {
|
||||
if (! screen_is_picasso && refresh_necessary) {
|
||||
- DO_PUTIMAGE (ami_dinfo.ximg, 0, 0, 0, 0, currprefs.gfx_width_fs, currprefs.gfx_height_fs);
|
||||
+ DO_PUTIMAGE (ami_dinfo.ximg, 0, 0, 0, 0, current_width, current_height);
|
||||
refresh_necessary = 0;
|
||||
}
|
||||
if (cursorOn && !currprefs.x11_hide_cursor) {
|
@ -1,215 +0,0 @@
|
||||
diff -Naur e-uae-0.8.28.orig/src/gui-gtk/led.c e-uae-0.8.28/src/gui-gtk/led.c
|
||||
--- e-uae-0.8.28.orig/src/gui-gtk/led.c 2004-06-15 01:14:49.000000000 +0400
|
||||
+++ e-uae-0.8.28/src/gui-gtk/led.c 2006-07-18 17:01:48.000000000 +0400
|
||||
@@ -1,15 +1,17 @@
|
||||
-/*
|
||||
- * led.c
|
||||
- *
|
||||
- * Copyright 2004 Martin Garton
|
||||
- */
|
||||
+ /*
|
||||
+ * E-UAE - The portable Amiga Emulator
|
||||
+ *
|
||||
+ * Custom Gtk+ LED widget
|
||||
+ *
|
||||
+ * Copyright 2004 Martin Garton
|
||||
+ * Copyright 2006 Richard Drummond
|
||||
+ */
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
|
||||
-#include <gdk/gdkkeysyms.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "led.h"
|
||||
@@ -21,14 +23,19 @@
|
||||
static void led_class_init (LedClass *class);
|
||||
static gint led_expose (GtkWidget *w, GdkEventExpose *event);
|
||||
static void led_destroy (GtkObject *object);
|
||||
+static void led_realize (GtkWidget *widget);
|
||||
+static void led_unrealize (GtkWidget *widget);
|
||||
+static void led_size_request (GtkWidget *widget, GtkRequisition *requisition);
|
||||
+static void led_size_allocate (GtkWidget *widget, GtkAllocation *allocation);
|
||||
+
|
||||
|
||||
guint led_get_type ()
|
||||
{
|
||||
static guint led_type = 0;
|
||||
|
||||
if (!led_type) {
|
||||
- GtkTypeInfo led_info = {
|
||||
- "Led",
|
||||
+ static const GtkTypeInfo led_info = {
|
||||
+ (char *) "Led",
|
||||
sizeof (Led),
|
||||
sizeof (LedClass),
|
||||
(GtkClassInitFunc) led_class_init,
|
||||
@@ -48,39 +55,102 @@
|
||||
{
|
||||
GtkObjectClass *object_class = (GtkObjectClass *) class;
|
||||
GtkWidgetClass *widget_class = (GtkWidgetClass *) class;
|
||||
- parent_class = gtk_type_class (gtk_object_get_type ());
|
||||
+ parent_class = gtk_type_class (gtk_widget_get_type ());
|
||||
|
||||
object_class->destroy = led_destroy;
|
||||
widget_class->expose_event = led_expose;
|
||||
+ widget_class->realize = led_realize;
|
||||
+ widget_class->unrealize = led_unrealize;
|
||||
+ widget_class->size_request = led_size_request;
|
||||
+ widget_class->size_allocate = led_size_allocate;
|
||||
}
|
||||
|
||||
static void led_init (Led *theled)
|
||||
{
|
||||
theled->color = LED_OFF;
|
||||
-
|
||||
- GTK_WIDGET (theled)->requisition.width = LED_W + GTK_MISC (theled)->xpad * 2;
|
||||
- GTK_WIDGET (theled)->requisition.height = LED_H + GTK_MISC (theled)->ypad * 2;
|
||||
}
|
||||
|
||||
-
|
||||
GtkWidget *led_new (void)
|
||||
{
|
||||
return gtk_type_new (led_get_type ());
|
||||
}
|
||||
|
||||
-
|
||||
static gint led_expose (GtkWidget *w, GdkEventExpose *event)
|
||||
{
|
||||
if (w && GTK_WIDGET_DRAWABLE (w)) {
|
||||
- GtkStyle *style = gtk_style_copy (w->style);
|
||||
- style->bg[GTK_STATE_NORMAL] = LED (w)->color;
|
||||
- gtk_style_attach (style, w->window);
|
||||
- gtk_draw_flat_box (style, w->window, GTK_STATE_NORMAL, GTK_SHADOW_NONE,
|
||||
- 0, 0, LED_W, LED_H);
|
||||
+ Led *theled = LED (w);
|
||||
+ gdk_draw_rectangle (w->window, theled->gc, TRUE, 0, 0,
|
||||
+ w->allocation.width, w->allocation.height);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
+static void led_realize (GtkWidget *widget)
|
||||
+{
|
||||
+ Led *theled;
|
||||
+ GdkWindowAttr attributes;
|
||||
+ gint attributes_mask;
|
||||
+
|
||||
+ g_return_if_fail (widget != NULL);
|
||||
+ g_return_if_fail (IS_LED (widget));
|
||||
+
|
||||
+ GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED);
|
||||
+ theled = LED (widget);
|
||||
+
|
||||
+ attributes.x = widget->allocation.x;
|
||||
+ attributes.y = widget->allocation.y;
|
||||
+ attributes.width = widget->allocation.width;
|
||||
+ attributes.height = widget->allocation.height;
|
||||
+ attributes.wclass = GDK_INPUT_OUTPUT;
|
||||
+ attributes.window_type = GDK_WINDOW_CHILD;
|
||||
+ attributes.event_mask = gtk_widget_get_events (widget) | GDK_EXPOSURE_MASK;
|
||||
+ attributes.visual = gtk_widget_get_visual (widget);
|
||||
+ attributes.colormap = gtk_widget_get_colormap (widget);
|
||||
+
|
||||
+ attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL | GDK_WA_COLORMAP;
|
||||
+ widget->window = gdk_window_new (widget->parent->window, &attributes, attributes_mask);
|
||||
+
|
||||
+ gdk_window_set_user_data (widget->window, widget);
|
||||
+
|
||||
+ theled->gc = gdk_gc_new (widget->window);
|
||||
+ gdk_gc_set_rgb_fg_color (theled->gc, &theled->color);
|
||||
+
|
||||
+ led_expose (widget, NULL);
|
||||
+}
|
||||
+
|
||||
+static void led_unrealize (GtkWidget *widget)
|
||||
+{
|
||||
+ Led *theled = LED (widget);
|
||||
+
|
||||
+ g_object_unref (theled->gc);
|
||||
+ theled->gc = NULL;
|
||||
+
|
||||
+ GTK_WIDGET_CLASS (parent_class)->unrealize (widget);
|
||||
+}
|
||||
+
|
||||
+static void led_size_request (GtkWidget *widget, GtkRequisition *requisition)
|
||||
+{
|
||||
+ requisition->width = LED_W;
|
||||
+ requisition->height = LED_H;
|
||||
+}
|
||||
+
|
||||
+static void led_size_allocate (GtkWidget *widget, GtkAllocation *allocation)
|
||||
+{
|
||||
+ Led *theled = LED (widget);
|
||||
+
|
||||
+ g_return_if_fail (widget != NULL);
|
||||
+ g_return_if_fail (IS_LED (widget));
|
||||
+ g_return_if_fail (allocation != NULL);
|
||||
+
|
||||
+ widget->allocation = *allocation;
|
||||
+
|
||||
+ if (GTK_WIDGET_REALIZED (widget)) {
|
||||
+ gdk_window_move_resize (widget->window,
|
||||
+ allocation->x, allocation->y,
|
||||
+ allocation->width, allocation->height);
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
static void led_destroy (GtkObject *o)
|
||||
{
|
||||
g_return_if_fail (o != NULL);
|
||||
@@ -95,6 +165,8 @@
|
||||
{
|
||||
l->color = col;
|
||||
|
||||
- if (GTK_WIDGET_DRAWABLE (l))
|
||||
+ if (GTK_WIDGET_REALIZED (l)) {
|
||||
+ gdk_gc_set_rgb_fg_color (l->gc, &l->color);
|
||||
led_expose (GTK_WIDGET (l), NULL);
|
||||
+ }
|
||||
}
|
||||
diff -Naur e-uae-0.8.28.orig/src/gui-gtk/led.h e-uae-0.8.28/src/gui-gtk/led.h
|
||||
--- e-uae-0.8.28.orig/src/gui-gtk/led.h 2004-05-20 00:56:23.000000000 +0400
|
||||
+++ e-uae-0.8.28/src/gui-gtk/led.h 2006-07-18 17:01:42.000000000 +0400
|
||||
@@ -1,10 +1,16 @@
|
||||
-/* led.h */
|
||||
+ /*
|
||||
+ * E-UAE - The portable Amiga Emulator
|
||||
+ *
|
||||
+ * Custom Gtk+ LED widget
|
||||
+ *
|
||||
+ * Copyright 2004 Martin Garton
|
||||
+ * Copyright 2006 Richard Drummond
|
||||
+ */
|
||||
|
||||
#ifndef __LED_H__
|
||||
#define __LED_H__
|
||||
|
||||
#include <gdk/gdk.h>
|
||||
-#include <gtk/gtkmisc.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -21,15 +27,15 @@
|
||||
|
||||
struct _Led
|
||||
{
|
||||
- GtkMisc widget;
|
||||
- GdkColor color;
|
||||
+ GtkWidget widget;
|
||||
+
|
||||
+ GdkGC *gc;
|
||||
+ GdkColor color;
|
||||
};
|
||||
|
||||
struct _LedClass
|
||||
{
|
||||
GtkWidgetClass parent_class;
|
||||
-
|
||||
- //void (* led) (Led *led );
|
||||
};
|
||||
|
||||
guint led_get_type (void);
|
@ -1,6 +1,2 @@
|
||||
DIST lxc-0.8.0-backports-1.tar.xz 2424 SHA256 5b68b96b9fbc2d0f5b2ad2e7fb996a3d837114237a306de39d9939f31756a522 SHA512 9898d78836cc546e80015a18070e3976118d2efb006584ecfb2887a4474598766e023eb6c120c16dae2e94dddc33c8a4e928fd44bc6fb2260a1913c06f5d374e WHIRLPOOL ef11f25ec8891f431be7aed32b38c0cc51e1096a37ea71c38aed4448ab0305784b510e2b55bdc73e5ef2128344a6c88adb3add798323f77e276b5185e53f5ef9
|
||||
DIST lxc-0.8.0-rc2-backports-2.tar.xz 4616 SHA256 c371817b5be47ed70dea410a32dc434a060073992d5299d2c88853de79aa2111 SHA512 ca646ae325a4cf94632c443397834a8a7dc004874b528d2d685b698b3eda1e72e09ecfd68899b9c0cd17d5d7bf1a62230dd6d17d26f73d2d4ecbf1932c31b996 WHIRLPOOL 76deca3e2b7fe306c0e2f538759fb33656f08c52d1b59570edc6f3d2444d387a0f7944f759baf41402e747eb055ab403a82a40b95ba0c7d42d0644a5f990e851
|
||||
DIST lxc-0.8.0-rc2.tar.gz 302999 SHA256 1f0ee0464507d26e494784e841b68c765ecd3abc5976012e226f69d1aa361bef SHA512 e6608f980489f67d412c9a50f8c3f65c1afbba520dfdfe2b695c597c2706544291f31c8cfca2d86cfbab09029f8a5706fae5ab72f1c45dccca5f7e2ae8851181 WHIRLPOOL b41fe7e14315b9e6702070535edfee68379c01fba23d143c5f11afa20f6d392c8bc32953da46ec3f74d7a2affe9f828d918f23a8a16c430e3b8ffcc9b2c10057
|
||||
DIST lxc-0.8.0.tar.gz 309973 SHA256 eac833730b94e423d4bef6834bc4a716437d2abd6ab8b24334c506aaaa08692c SHA512 47333e2010d0f4488b8876ba933f2d26304874bec0371a7ab3b6e5bd1a50a7d2312ff8507e273f1ee2341a7f2e3b79cd71e5e19ac31006a4e429ee96b01733f6 WHIRLPOOL 693b7d354dec7c6102d5ce3a42a9b618e213fd9ee8c592068ebadb7f25094606abce6c3da77b483fab0938410215010f71d487f336856c87327d6a98f20b65dd
|
||||
DIST lxc-1.0.3.tar.gz 538073 SHA256 9fc4ac60a842058e4ad0fe6a281dc0079ee9830afa1852a10fa044219f2c6412 SHA512 95d7080cdb34776b601959bbc95572b1d6defeaec6820a38d9b09eb05bb43eaa4a2c4d9fae26f4d1a7ee13ad6cd104c36dd5cbe6ee5e44f274135e42370cc983 WHIRLPOOL 99324332f6d1f50dc3c0c9e54a565295b2186183f9e198418a8a891b799befebabf42784eab02988643ee0c1c77389dc0ce9ae28a5da4df42f9eb2749e0b0da4
|
||||
DIST lxc-1.0.4.tar.gz 548741 SHA256 bcb04752fddc581030727be179a9f65715e11b0a04bf9bb119adb1b2d117bd9a SHA512 ec30e01e2dab393a74b50279981a9bb0e93da2ed2c82b33e218cd1146df20b5443a75ace623c30b6c9718f8a23e4a447484bf316c9155324fe931741d2ed9f06 WHIRLPOOL 2ae27940884bb645674410ff223f80e63b90cda7a4fdf189133ebab91621c0fc95ddb24e439f08ffbf93a3056e32dcc88cdc04ac75d9c4ad8a4779c177845074
|
||||
DIST lxc-1.0.6.tar.gz 561249 SHA256 2aea199a89e2cd946f93406af6c3f62844f36954b79a6991b36d2c33022cb11c SHA512 fe85ccb57865d86704df6b4b79d60f31892785b07dc9dd2580cc6c384c89c29c23516e906b7a16bc03c6582c1fb2432bb8ff11bd17c09efa8f6a035fb41f46b1 WHIRLPOOL 9e77453fbe31523a2e8f39cfaba6f09fef68d00b54549167a0cde56c00934f827f5b4190b9fb64242f36782a9fcda63e6796c35fd47420870c2cee7b9bc0a1c8
|
||||
|
@ -0,0 +1,137 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/files/lxc.initd.3,v 1.1 2014/10/18 17:00:37 hwoarang Exp $
|
||||
|
||||
CONTAINER=${SVCNAME#*.}
|
||||
|
||||
lxc_get_configfile() {
|
||||
if [ -f "/etc/lxc/${CONTAINER}.conf" ]; then
|
||||
echo "/etc/lxc/${CONTAINER}.conf"
|
||||
elif [ -f "/etc/lxc/${CONTAINER}/config" ]; then
|
||||
echo "/etc/lxc/${CONTAINER}/config"
|
||||
else
|
||||
eerror "Unable to find a suitable configuration file."
|
||||
eerror "If you set up the container in a non-standard"
|
||||
eerror "location, please set the CONFIGFILE variable."
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
[ $CONTAINER != $SVCNAME ] && CONFIGFILE=${CONFIGFILE:-$(lxc_get_configfile)}
|
||||
|
||||
lxc_get_var() {
|
||||
awk 'BEGIN { FS="[ \t]*=[ \t]*" } $1 == "'$1'" { print $2; exit }' ${CONFIGFILE}
|
||||
}
|
||||
|
||||
lxc_get_net_link_type() {
|
||||
awk 'BEGIN { FS="[ \t]*=[ \t]*"; _link=""; _type="" }
|
||||
$1 == "lxc.network.type" {_type=$2;}
|
||||
$1 == "lxc.network.link" {_link=$2;}
|
||||
{if(_link != "" && _type != ""){
|
||||
printf("%s:%s\n", _link, _type );
|
||||
_link=""; _type="";
|
||||
}; }' <${CONFIGFILE}
|
||||
}
|
||||
|
||||
checkconfig() {
|
||||
if [ ${CONTAINER} = ${SVCNAME} ]; then
|
||||
eerror "You have to create an init script for each container:"
|
||||
eerror " ln -s lxc /etc/init.d/lxc.container"
|
||||
return 1
|
||||
fi
|
||||
|
||||
# no need to output anything, the function takes care of that.
|
||||
[ -z "${CONFIGFILE}" ] && return 1
|
||||
|
||||
utsname=$(lxc_get_var lxc.utsname)
|
||||
if [ ${CONTAINER} != ${utsname} ]; then
|
||||
eerror "You should use the same name for the service and the"
|
||||
eerror "container. Right now the container is called ${utsname}"
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
depend() {
|
||||
# be quiet, since we have to run depend() also for the
|
||||
# non-muxed init script, unfortunately.
|
||||
checkconfig 2>/dev/null || return 0
|
||||
|
||||
config ${CONFIGFILE}
|
||||
need localmount
|
||||
|
||||
local _x _if
|
||||
for _x in $(lxc_get_net_link_type); do
|
||||
_if=${_x%:*}
|
||||
case "${_x##*:}" in
|
||||
# when the network type is set to phys, we can make use of a
|
||||
# network service (for instance to set it up before we disable
|
||||
# the net_admin capability), but we might also not set it up
|
||||
# at all on the host and leave the net_admin capable service
|
||||
# to take care of it.
|
||||
phys) use net.${_if} ;;
|
||||
*) need net.${_if} ;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
start() {
|
||||
checkconfig || return 1
|
||||
rm /var/log/lxc/${CONTAINER}.log
|
||||
|
||||
rootpath=$(lxc_get_var lxc.rootfs)
|
||||
|
||||
# Check the format of our init and the chroot's init, to see
|
||||
# if we have to use linux32 or linux64; always use setarch
|
||||
# when required, as that makes it easier to deal with
|
||||
# x32-based containers.
|
||||
case $(scanelf -BF '%a#f' ${rootpath}/sbin/init) in
|
||||
EM_X86_64) setarch=linux64;;
|
||||
EM_386) setarch=linux32;;
|
||||
esac
|
||||
|
||||
ebegin "Starting ${CONTAINER}"
|
||||
env -i ${setarch} $(type -p lxc-start) -l WARN -n ${CONTAINER} -f ${CONFIGFILE} -d -o /var/log/lxc/${CONTAINER}.log
|
||||
sleep 0.5
|
||||
|
||||
# lxc-start -d will _always_ report a correct startup, even if it
|
||||
# failed, so rather than trust that, check that the cgroup exists.
|
||||
[ -d /sys/fs/cgroup/cpuset/lxc/${CONTAINER} ]
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
checkconfig || return 1
|
||||
|
||||
|
||||
if ! [ -d /sys/fs/cgroup/cpuset/lxc/${CONTAINER} ]; then
|
||||
ewarn "${CONTAINER} doesn't seem to be started."
|
||||
return 0
|
||||
fi
|
||||
|
||||
init_pid=$(lxc-info -n ${CONTAINER} --pid | awk '{ print $2 }')
|
||||
|
||||
if [ -z "${init_pid}" ]; then
|
||||
ewarn "${CONTAINER} doesn't seem to be running."
|
||||
return 0
|
||||
fi
|
||||
|
||||
ebegin "Shutting down system in ${CONTAINER}"
|
||||
kill -PWR ${init_pid}
|
||||
eend $?
|
||||
|
||||
TIMEOUT=${TIMEOUT:-30}
|
||||
i=0
|
||||
while [ -n "$(pgrep -P ${init_pid})" -a $i -lt ${TIMEOUT} ]; do
|
||||
sleep 1
|
||||
i=$(expr $i + 1)
|
||||
done
|
||||
|
||||
if [ -n "${missingprocs}" ]; then
|
||||
ewarn "Something failed to properly shut down in ${CONTAINER}"
|
||||
fi
|
||||
|
||||
ebegin "Stopping ${CONTAINER}"
|
||||
lxc-stop -n ${CONTAINER}
|
||||
eend $?
|
||||
}
|
@ -1,144 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/lxc-0.8.0-r1.ebuild,v 1.3 2013/09/10 05:22:55 maekke Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MY_P="${P/_/-}"
|
||||
|
||||
BACKPORTS=1
|
||||
|
||||
inherit eutils linux-info versionator flag-o-matic
|
||||
|
||||
if [[ -n ${BACKPORTS} ]]; then
|
||||
inherit autotools
|
||||
fi
|
||||
|
||||
DESCRIPTION="LinuX Containers userspace utilities"
|
||||
HOMEPAGE="http://lxc.sourceforge.net/"
|
||||
SRC_URI="http://lxc.sourceforge.net/download/lxc/${MY_P}.tar.gz
|
||||
${BACKPORTS:+http://dev.gentoo.org/~flameeyes/${PN}/${MY_P}-backports-${BACKPORTS}.tar.xz}"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND="sys-libs/libcap"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/docbook-sgml-utils
|
||||
>=sys-kernel/linux-headers-3.2"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
sys-apps/util-linux
|
||||
app-misc/pax-utils
|
||||
>=sys-apps/openrc-0.9.9.1
|
||||
virtual/awk"
|
||||
|
||||
CONFIG_CHECK="~CGROUPS ~CGROUP_DEVICE
|
||||
~CPUSETS ~CGROUP_CPUACCT
|
||||
~RESOURCE_COUNTERS
|
||||
~CGROUP_SCHED
|
||||
|
||||
~NAMESPACES
|
||||
~IPC_NS ~USER_NS ~PID_NS
|
||||
|
||||
~DEVPTS_MULTIPLE_INSTANCES
|
||||
~CGROUP_FREEZER
|
||||
~UTS_NS ~NET_NS
|
||||
~VETH ~MACVLAN
|
||||
|
||||
~POSIX_MQUEUE
|
||||
~!NETPRIO_CGROUP
|
||||
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS
|
||||
"
|
||||
|
||||
ERROR_DEVPTS_MULTIPLE_INSTANCES="CONFIG_DEVPTS_MULTIPLE_INSTANCES: needed for pts inside container"
|
||||
|
||||
ERROR_CGROUP_FREEZER="CONFIG_CGROUP_FREEZER: needed to freeze containers"
|
||||
|
||||
ERROR_UTS_NS="CONFIG_UTS_NS: needed to unshare hostnames and uname info"
|
||||
ERROR_NET_NS="CONFIG_NET_NS: needed for unshared network"
|
||||
|
||||
ERROR_VETH="CONFIG_VETH: needed for internal (host-to-container) networking"
|
||||
ERROR_MACVLAN="CONFIG_MACVLAN: needed for internal (inter-container) networking"
|
||||
|
||||
ERROR_POSIX_MQUEUE="CONFIG_POSIX_MQUEUE: needed for lxc-execute command"
|
||||
|
||||
ERROR_NETPRIO_CGROUP="CONFIG_NETPRIO_CGROUP: as of kernel 3.3 and lxc 0.8.0_rc1 this causes LXCs to fail booting."
|
||||
|
||||
ERROR_GRKERNSEC_CHROOT_MOUNT=":CONFIG_GRKERNSEC_CHROOT_MOUNT some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_DOUBLE=":CONFIG_GRKERNSEC_CHROOT_DOUBLE some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_PIVOT=":CONFIG_GRKERNSEC_CHROOT_PIVOT some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_CHMOD=":CONFIG_GRKERNSEC_CHROOT_CHMOD some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_CAPS=":CONFIG_GRKERNSEC_CHROOT_CAPS some GRSEC features make LXC unusable see postinst notes"
|
||||
|
||||
DOCS=(AUTHORS CONTRIBUTING MAINTAINERS TODO README doc/FAQ.txt)
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac || die
|
||||
if [[ -n ${BACKPORTS} ]]; then
|
||||
epatch "${WORKDIR}"/patches/*
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
econf \
|
||||
--localstatedir=/var \
|
||||
--bindir=/usr/sbin \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--with-config-path=/etc/lxc \
|
||||
--with-rootfs-path=/usr/lib/lxc/rootfs \
|
||||
--enable-doc \
|
||||
--disable-apparmor \
|
||||
$(use_enable examples)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
rm -r "${D}"/usr/sbin/lxc-setcap \
|
||||
|| die "unable to remove lxc-setcap"
|
||||
|
||||
keepdir /etc/lxc /usr/lib/lxc/rootfs
|
||||
|
||||
find "${D}" -name '*.la' -delete
|
||||
|
||||
# Gentoo-specific additions!
|
||||
newinitd "${FILESDIR}/${PN}.initd.2" ${PN}
|
||||
keepdir /var/log/lxc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "There is an init script provided with the package now; no documentation"
|
||||
elog "is currently available though, so please check out /etc/init.d/lxc ."
|
||||
elog "You _should_ only need to symlink it to /etc/init.d/lxc.configname"
|
||||
elog "to start the container defined into /etc/lxc/configname.conf ."
|
||||
elog "For further information about LXC development see"
|
||||
elog "http://blog.flameeyes.eu/tag/lxc" # remove once proper doc is available
|
||||
elog ""
|
||||
ewarn "With version 0.7.4, the mountpoint syntax came back to the one used by 0.7.2"
|
||||
ewarn "and previous versions. This means you'll have to use syntax like the following"
|
||||
ewarn ""
|
||||
ewarn " lxc.rootfs = /container"
|
||||
ewarn " lxc.mount.entry = /usr/portage /container/usr/portage none bind 0 0"
|
||||
ewarn ""
|
||||
ewarn "To use the Fedora, Debian and (various) Ubuntu auto-configuration scripts, you"
|
||||
ewarn "will need sys-apps/yum or dev-util/debootstrap."
|
||||
ewarn ""
|
||||
ewarn "Some GrSecurity settings in relation to chroot security will cause LXC not to"
|
||||
ewarn "work, while others will actually make it much more secure. Please refer to"
|
||||
ewarn "Diego Elio Pettenò's weblog at http://blog.flameeyes.eu/tag/lxc for further"
|
||||
ewarn "details."
|
||||
}
|
@ -1,146 +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/lxc/lxc-0.8.0-r2.ebuild,v 1.1 2014/04/19 17:14:23 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
MY_P="${P/_/-}"
|
||||
|
||||
BACKPORTS=1
|
||||
|
||||
inherit eutils linux-info versionator flag-o-matic systemd
|
||||
|
||||
if [[ -n ${BACKPORTS} ]]; then
|
||||
inherit autotools
|
||||
fi
|
||||
|
||||
DESCRIPTION="LinuX Containers userspace utilities"
|
||||
HOMEPAGE="http://lxc.sourceforge.net/"
|
||||
SRC_URI="http://lxc.sourceforge.net/download/lxc/${MY_P}.tar.gz
|
||||
${BACKPORTS:+http://dev.gentoo.org/~flameeyes/${PN}/${MY_P}-backports-${BACKPORTS}.tar.xz}"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND="sys-libs/libcap"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/docbook-sgml-utils
|
||||
>=sys-kernel/linux-headers-3.2"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
sys-apps/util-linux
|
||||
app-misc/pax-utils
|
||||
>=sys-apps/openrc-0.9.9.1
|
||||
virtual/awk"
|
||||
|
||||
CONFIG_CHECK="~CGROUPS ~CGROUP_DEVICE
|
||||
~CPUSETS ~CGROUP_CPUACCT
|
||||
~RESOURCE_COUNTERS
|
||||
~CGROUP_SCHED
|
||||
|
||||
~NAMESPACES
|
||||
~IPC_NS ~USER_NS ~PID_NS
|
||||
|
||||
~DEVPTS_MULTIPLE_INSTANCES
|
||||
~CGROUP_FREEZER
|
||||
~UTS_NS ~NET_NS
|
||||
~VETH ~MACVLAN
|
||||
|
||||
~POSIX_MQUEUE
|
||||
~!NETPRIO_CGROUP
|
||||
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS
|
||||
"
|
||||
|
||||
ERROR_DEVPTS_MULTIPLE_INSTANCES="CONFIG_DEVPTS_MULTIPLE_INSTANCES: needed for pts inside container"
|
||||
|
||||
ERROR_CGROUP_FREEZER="CONFIG_CGROUP_FREEZER: needed to freeze containers"
|
||||
|
||||
ERROR_UTS_NS="CONFIG_UTS_NS: needed to unshare hostnames and uname info"
|
||||
ERROR_NET_NS="CONFIG_NET_NS: needed for unshared network"
|
||||
|
||||
ERROR_VETH="CONFIG_VETH: needed for internal (host-to-container) networking"
|
||||
ERROR_MACVLAN="CONFIG_MACVLAN: needed for internal (inter-container) networking"
|
||||
|
||||
ERROR_POSIX_MQUEUE="CONFIG_POSIX_MQUEUE: needed for lxc-execute command"
|
||||
|
||||
ERROR_NETPRIO_CGROUP="CONFIG_NETPRIO_CGROUP: as of kernel 3.3 and lxc 0.8.0_rc1 this causes LXCs to fail booting."
|
||||
|
||||
ERROR_GRKERNSEC_CHROOT_MOUNT=":CONFIG_GRKERNSEC_CHROOT_MOUNT some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_DOUBLE=":CONFIG_GRKERNSEC_CHROOT_DOUBLE some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_PIVOT=":CONFIG_GRKERNSEC_CHROOT_PIVOT some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_CHMOD=":CONFIG_GRKERNSEC_CHROOT_CHMOD some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_CAPS=":CONFIG_GRKERNSEC_CHROOT_CAPS some GRSEC features make LXC unusable see postinst notes"
|
||||
|
||||
DOCS=(AUTHORS CONTRIBUTING MAINTAINERS TODO README doc/FAQ.txt)
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac || die
|
||||
if [[ -n ${BACKPORTS} ]]; then
|
||||
epatch "${WORKDIR}"/patches/*
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
econf \
|
||||
--localstatedir=/var \
|
||||
--bindir=/usr/sbin \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--with-config-path=/etc/lxc \
|
||||
--with-rootfs-path=/usr/lib/lxc/rootfs \
|
||||
--enable-doc \
|
||||
--disable-apparmor \
|
||||
$(use_enable examples)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
rm -r "${D}"/usr/sbin/lxc-setcap \
|
||||
|| die "unable to remove lxc-setcap"
|
||||
|
||||
keepdir /etc/lxc /usr/lib/lxc/rootfs
|
||||
|
||||
find "${D}" -name '*.la' -delete
|
||||
|
||||
# Gentoo-specific additions!
|
||||
newinitd "${FILESDIR}/${PN}.initd.2" ${PN}
|
||||
keepdir /var/log/lxc
|
||||
|
||||
systemd_newunit "${FILESDIR}"/lxc_at.service "lxc@.service"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "There is an init script provided with the package now; no documentation"
|
||||
elog "is currently available though, so please check out /etc/init.d/lxc ."
|
||||
elog "You _should_ only need to symlink it to /etc/init.d/lxc.configname"
|
||||
elog "to start the container defined into /etc/lxc/configname.conf ."
|
||||
elog "For further information about LXC development see"
|
||||
elog "http://blog.flameeyes.eu/tag/lxc" # remove once proper doc is available
|
||||
elog ""
|
||||
ewarn "With version 0.7.4, the mountpoint syntax came back to the one used by 0.7.2"
|
||||
ewarn "and previous versions. This means you'll have to use syntax like the following"
|
||||
ewarn ""
|
||||
ewarn " lxc.rootfs = /container"
|
||||
ewarn " lxc.mount.entry = /usr/portage /container/usr/portage none bind 0 0"
|
||||
ewarn ""
|
||||
ewarn "To use the Fedora, Debian and (various) Ubuntu auto-configuration scripts, you"
|
||||
ewarn "will need sys-apps/yum or dev-util/debootstrap."
|
||||
ewarn ""
|
||||
ewarn "Some GrSecurity settings in relation to chroot security will cause LXC not to"
|
||||
ewarn "work, while others will actually make it much more secure. Please refer to"
|
||||
ewarn "Diego Elio Pettenò's weblog at http://blog.flameeyes.eu/tag/lxc for further"
|
||||
ewarn "details."
|
||||
}
|
@ -1,150 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/lxc-0.8.0_rc2-r1.ebuild,v 1.1 2012/08/04 04:58:06 flameeyes Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MY_P="${P/_/-}"
|
||||
|
||||
BACKPORTS=2
|
||||
|
||||
inherit eutils linux-info versionator flag-o-matic
|
||||
|
||||
if [[ -n ${BACKPORTS} ]]; then
|
||||
inherit autotools
|
||||
fi
|
||||
|
||||
DESCRIPTION="LinuX Containers userspace utilities"
|
||||
HOMEPAGE="http://lxc.sourceforge.net/"
|
||||
SRC_URI="http://lxc.sourceforge.net/download/lxc/${MY_P}.tar.gz
|
||||
${BACKPORTS:+http://dev.gentoo.org/~flameeyes/${PN}/${MY_P}-backports-${BACKPORTS}.tar.xz}"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
IUSE="examples vanilla"
|
||||
|
||||
RDEPEND="sys-libs/libcap"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/docbook-sgml-utils
|
||||
>=sys-kernel/linux-headers-3.2"
|
||||
|
||||
# For init script, so protect with vanilla, they are not strictly
|
||||
# needed.
|
||||
RDEPEND="${RDEPEND}
|
||||
!vanilla? (
|
||||
sys-apps/util-linux
|
||||
app-misc/pax-utils
|
||||
>=sys-apps/openrc-0.9.9.1
|
||||
virtual/awk
|
||||
)"
|
||||
|
||||
CONFIG_CHECK="~CGROUPS ~CGROUP_DEVICE
|
||||
~CPUSETS ~CGROUP_CPUACCT
|
||||
~RESOURCE_COUNTERS ~CGROUP_MEM_RES_CTLR
|
||||
~CGROUP_SCHED
|
||||
|
||||
~NAMESPACES
|
||||
~IPC_NS ~USER_NS ~PID_NS
|
||||
|
||||
~DEVPTS_MULTIPLE_INSTANCES
|
||||
~CGROUP_FREEZER
|
||||
~UTS_NS ~NET_NS
|
||||
~VETH ~MACVLAN
|
||||
|
||||
~POSIX_MQUEUE
|
||||
~!NETPRIO_CGROUP
|
||||
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS
|
||||
"
|
||||
|
||||
ERROR_DEVPTS_MULTIPLE_INSTANCES="CONFIG_DEVPTS_MULTIPLE_INSTANCES: needed for pts inside container"
|
||||
|
||||
ERROR_CGROUP_FREEZER="CONFIG_CGROUP_FREEZER: needed to freeze containers"
|
||||
|
||||
ERROR_UTS_NS="CONFIG_UTS_NS: needed to unshare hostnames and uname info"
|
||||
ERROR_NET_NS="CONFIG_NET_NS: needed for unshared network"
|
||||
|
||||
ERROR_VETH="CONFIG_VETH: needed for internal (host-to-container) networking"
|
||||
ERROR_MACVLAN="CONFIG_MACVLAN: needed for internal (inter-container) networking"
|
||||
|
||||
ERROR_POSIX_MQUEUE="CONFIG_POSIX_MQUEUE: needed for lxc-execute command"
|
||||
|
||||
ERROR_NETPRIO_CGROUP="CONFIG_NETPRIO_CGROUP: as of kernel 3.3 and lxc 0.8.0_rc1 this causes LXCs to fail booting."
|
||||
|
||||
ERROR_GRKERNSEC_CHROOT_MOUNT=":CONFIG_GRKERNSEC_CHROOT_MOUNT some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_DOUBLE=":CONFIG_GRKERNSEC_CHROOT_DOUBLE some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_PIVOT=":CONFIG_GRKERNSEC_CHROOT_PIVOT some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_CHMOD=":CONFIG_GRKERNSEC_CHROOT_CHMOD some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_CAPS=":CONFIG_GRKERNSEC_CHROOT_CAPS some GRSEC features make LXC unusable see postinst notes"
|
||||
|
||||
DOCS=(AUTHORS CONTRIBUTING MAINTAINERS TODO README doc/FAQ.txt)
|
||||
|
||||
src_prepare() {
|
||||
if [[ -n ${BACKPORTS} ]]; then
|
||||
epatch "${WORKDIR}"/patches/*
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
econf \
|
||||
--localstatedir=/var \
|
||||
--bindir=/usr/sbin \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--with-config-path=/etc/lxc \
|
||||
--with-rootfs-path=/usr/lib/lxc/rootfs \
|
||||
--enable-doc \
|
||||
$(use_enable examples)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
rm -r "${D}"/usr/sbin/lxc-setcap \
|
||||
|| die "unable to remove lxc-setcap"
|
||||
|
||||
keepdir /etc/lxc /usr/lib/lxc/rootfs
|
||||
|
||||
find "${D}" -name '*.la' -delete
|
||||
|
||||
use vanilla && return 0
|
||||
|
||||
# Gentoo-specific additions!
|
||||
newinitd "${FILESDIR}/${PN}.initd.2" ${PN}
|
||||
keepdir /var/log/lxc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use vanilla; then
|
||||
elog "There is an init script provided with the package now; no documentation"
|
||||
elog "is currently available though, so please check out /etc/init.d/lxc ."
|
||||
elog "You _should_ only need to symlink it to /etc/init.d/lxc.configname"
|
||||
elog "to start the container defined into /etc/lxc/configname.conf ."
|
||||
elog "For further information about LXC development see"
|
||||
elog "http://blog.flameeyes.eu/tag/lxc" # remove once proper doc is available
|
||||
elog ""
|
||||
fi
|
||||
ewarn "With version 0.7.4, the mountpoint syntax came back to the one used by 0.7.2"
|
||||
ewarn "and previous versions. This means you'll have to use syntax like the following"
|
||||
ewarn ""
|
||||
ewarn " lxc.rootfs = /container"
|
||||
ewarn " lxc.mount.entry = /usr/portage /container/usr/portage none bind 0 0"
|
||||
ewarn ""
|
||||
ewarn "To use the Fedora, Debian and (various) Ubuntu auto-configuration scripts, you"
|
||||
ewarn "will need sys-apps/yum or dev-util/debootstrap."
|
||||
ewarn ""
|
||||
ewarn "Some GrSecurity settings in relation to chroot security will cause LXC not to"
|
||||
ewarn "work, while others will actually make it much more secure. Please refer to"
|
||||
ewarn "Diego Elio Pettenò's weblog at http://blog.flameeyes.eu/tag/lxc for further"
|
||||
ewarn "details."
|
||||
}
|
@ -0,0 +1,304 @@
|
||||
From: Devan Franchini <twitch153@gentoo.org>
|
||||
Date: Fri, 18 Oct 2014 15:21:24 -0400
|
||||
Subject: [PATCH] Removes doctest remnants
|
||||
|
||||
--- a/layman/api.py 2014-10-18 14:27:13.233842116 -0400
|
||||
+++ b/layman/api.py 2014-10-18 14:29:51.184849673 -0400
|
||||
@@ -714,15 +714,3 @@
|
||||
write = os.fdopen(fd_w, 'w')
|
||||
read = os.fdopen(fd_r, 'r')
|
||||
return (read, write, fd_r, fd_w)
|
||||
-
|
||||
-
|
||||
-if __name__ == '__main__':
|
||||
- import doctest, sys
|
||||
-
|
||||
- # Ignore warnings here. We are just testing
|
||||
- from warnings import filterwarnings, resetwarnings
|
||||
- filterwarnings('ignore')
|
||||
-
|
||||
- doctest.testmod(sys.modules[__name__])
|
||||
-
|
||||
- resetwarnings()
|
||||
--- a/layman/argsparser.py 2014-10-18 14:27:13.233842116 -0400
|
||||
+++ b/layman/argsparser.py 2014-10-18 14:30:35.256851781 -0400
|
||||
@@ -404,14 +404,3 @@
|
||||
self.output.debug('ARGSPARSER: Returning keys', 9)
|
||||
|
||||
return keys
|
||||
-
|
||||
-
|
||||
-#===============================================================================
|
||||
-#
|
||||
-# Testing
|
||||
-#
|
||||
-#-------------------------------------------------------------------------------
|
||||
-
|
||||
-if __name__ == '__main__':
|
||||
- import doctest
|
||||
- doctest.testmod(sys.modules[__name__])
|
||||
--- a/layman/cli.py 2014-10-18 14:27:13.233842116 -0400
|
||||
+++ b/layman/cli.py 2014-10-18 14:32:11.456856384 -0400
|
||||
@@ -397,15 +397,3 @@
|
||||
# blank newline -- no " *"
|
||||
self.output.notice('')
|
||||
return info != {}
|
||||
-
|
||||
-
|
||||
-if __name__ == '__main__':
|
||||
- import doctest
|
||||
-
|
||||
- # Ignore warnings here. We are just testing
|
||||
- from warnings import filterwarnings, resetwarnings
|
||||
- filterwarnings('ignore')
|
||||
-
|
||||
- doctest.testmod(sys.modules[__name__])
|
||||
-
|
||||
- resetwarnings()
|
||||
--- a/layman/config.py 2014-10-18 14:27:13.233842116 -0400
|
||||
+++ b/layman/config.py 2014-10-18 14:31:02.528853086 -0400
|
||||
@@ -348,13 +348,3 @@
|
||||
if new_defaults is not None:
|
||||
self._defaults.update(new_defaults)
|
||||
return
|
||||
-
|
||||
-#===============================================================================
|
||||
-#
|
||||
-# Testing
|
||||
-#
|
||||
-#-------------------------------------------------------------------------------
|
||||
-
|
||||
-if __name__ == '__main__':
|
||||
- import doctest
|
||||
- doctest.testmod(sys.modules[__name__])
|
||||
--- a/layman/db.py 2014-10-18 14:27:13.234842116 -0400
|
||||
+++ b/layman/db.py 2014-10-18 14:32:32.160857374 -0400
|
||||
@@ -315,21 +315,3 @@
|
||||
raise Exception('Syncing overlay "' + overlay_name +
|
||||
'" returned status ' + str(result) + '!' +
|
||||
'\ndb.sync()')
|
||||
-
|
||||
-
|
||||
-#===============================================================================
|
||||
-#
|
||||
-# Testing
|
||||
-#
|
||||
-#-------------------------------------------------------------------------------
|
||||
-
|
||||
-if __name__ == '__main__':
|
||||
- import doctest, sys
|
||||
-
|
||||
- # Ignore warnings here. We are just testing
|
||||
- from warnings import filterwarnings, resetwarnings
|
||||
- filterwarnings('ignore')
|
||||
-
|
||||
- doctest.testmod(sys.modules[__name__])
|
||||
-
|
||||
- resetwarnings()
|
||||
--- a/layman/dbbase.py 2014-10-18 14:27:13.234842116 -0400
|
||||
+++ b/layman/dbbase.py 2014-10-18 14:31:14.648853666 -0400
|
||||
@@ -252,21 +252,3 @@
|
||||
"""returns a list of the overlay names
|
||||
"""
|
||||
return sorted(self.overlays)
|
||||
-
|
||||
-
|
||||
-#===============================================================================
|
||||
-#
|
||||
-# Testing
|
||||
-#
|
||||
-#-------------------------------------------------------------------------------
|
||||
-
|
||||
-if __name__ == '__main__':
|
||||
- import doctest
|
||||
-
|
||||
- # Ignore warnings here. We are just testing
|
||||
- from warnings import filterwarnings, resetwarnings
|
||||
- filterwarnings('ignore')
|
||||
-
|
||||
- doctest.testmod(sys.modules[__name__])
|
||||
-
|
||||
- resetwarnings()
|
||||
--- a/layman/overlays/archive.py 2014-10-18 14:27:13.253842116 -0400
|
||||
+++ b/layman/overlays/archive.py 2014-10-18 14:31:54.640855579 -0400
|
||||
@@ -188,15 +188,3 @@
|
||||
'''
|
||||
|
||||
return self.is_supported()
|
||||
-
|
||||
-
|
||||
-if __name__ == '__main__':
|
||||
- import doctest
|
||||
-
|
||||
- # Ignore warnings here. We are just testing.
|
||||
- from warnings import filterwarnings, resetwarnings
|
||||
- filterwarnings('ignore')
|
||||
-
|
||||
- doctest.testmod(sys.modules[__name__])
|
||||
-
|
||||
- resetwarnings()
|
||||
--- a/layman/overlays/modules/tar/tar.py 2014-10-18 14:27:13.245842116 -0400
|
||||
+++ b/layman/overlays/modules/tar/tar.py 2014-10-18 15:10:13.303965557 -0400
|
||||
@@ -94,14 +94,3 @@
|
||||
return require_supported(
|
||||
[(self.command(), 'tar', 'app-arch/tar'), ],
|
||||
self.output.warn)
|
||||
-
|
||||
-if __name__ == '__main__':
|
||||
- import doctest
|
||||
-
|
||||
- # Ignore warnings here. We are just testing
|
||||
- from warnings import filterwarnings, resetwarnings
|
||||
- filterwarnings('ignore')
|
||||
-
|
||||
- doctest.testmod(sys.modules[__name__])
|
||||
-
|
||||
- resetwarnings()
|
||||
--- a/layman/overlays/overlay.py 2014-10-18 14:27:13.253842116 -0400
|
||||
+++ b/layman/overlays/overlay.py 2014-10-18 14:31:38.624854813 -0400
|
||||
@@ -546,14 +546,3 @@
|
||||
def source_types(self):
|
||||
for i in self.sources:
|
||||
yield i.type
|
||||
-
|
||||
-
|
||||
-#==============================================================================
|
||||
-#
|
||||
-# Testing
|
||||
-#
|
||||
-#------------------------------------------------------------------------------
|
||||
-
|
||||
-if __name__ == '__main__':
|
||||
- import doctest
|
||||
- doctest.testmod(sys.modules[__name__])
|
||||
--- a/layman/remotedb.py 2014-10-18 14:27:13.253842116 -0400
|
||||
+++ b/layman/remotedb.py 2014-10-18 14:29:31.064848710 -0400
|
||||
@@ -384,14 +384,3 @@
|
||||
self.signed_urls = [i.strip()
|
||||
for i in self.config['gpg_signed_lists'].split('\n') if len(i)]
|
||||
'''
|
||||
-
|
||||
-if __name__ == '__main__':
|
||||
- import doctest
|
||||
-
|
||||
- # Ignore warnings here. We are just testing
|
||||
- from warnings import filterwarnings, resetwarnings
|
||||
- filterwarnings('ignore')
|
||||
-
|
||||
- doctest.testmod(sys.modules[__name__])
|
||||
-
|
||||
- resetwarnings()
|
||||
--- a/layman/tests/dtest.py 2014-10-18 14:27:13.254842117 -0400
|
||||
+++ /dev/null 2014-10-18 08:55:00.218326161 -0400
|
||||
@@ -1,93 +0,0 @@
|
||||
-#!/usr/bin/python
|
||||
-# -*- coding: utf-8 -*-
|
||||
-#################################################################################
|
||||
-# LAYMAN DOCTEST AGGREGATOR
|
||||
-#################################################################################
|
||||
-# File: dtest.py
|
||||
-#
|
||||
-# Combines the doctests that are available for the different modules
|
||||
-#
|
||||
-# Copyright:
|
||||
-# (c) 2005 - 2008 Gunnar Wrobel
|
||||
-# Distributed under the terms of the GNU General Public License v2
|
||||
-#
|
||||
-# Author(s):
|
||||
-# Gunnar Wrobel <wrobel@gentoo.org>
|
||||
-#
|
||||
-'''Aggregates doctests from all modules that provide such tests.'''
|
||||
-
|
||||
-__version__ = '$Id: layman-2.2.0-removes-doctest-remnants.patch,v 1.2 2014/10/18 19:28:57 twitch153 Exp $'
|
||||
-
|
||||
-#===============================================================================
|
||||
-#
|
||||
-# Dependencies
|
||||
-#
|
||||
-#-------------------------------------------------------------------------------
|
||||
-
|
||||
-import unittest, doctest
|
||||
-
|
||||
-# On module creation:
|
||||
-
|
||||
-# 1.) Check header section (copyright notice)
|
||||
-# 2.) Add module doc string
|
||||
-# 3.) Add version string
|
||||
-# 4.) Add testing handler at bottom of module
|
||||
-# 5.) Add module into tests/dtest.py. Check that tests run through
|
||||
-# 6.) Run pylint over the code. Fix any reasonable complaints.
|
||||
-# 7.) Whitespace clean the buffer.
|
||||
-# 8.) Add svn:keywords "Id" to file.
|
||||
-
|
||||
-# On module change:
|
||||
-
|
||||
-# 1.) Check header section (copyright notice)
|
||||
-# 5.) Check that tests run through
|
||||
-# 6.) Run pylint over the code. Fix any reasonable complaints.
|
||||
-# 7.) Whitespace clean the buffer.
|
||||
-
|
||||
-# clean modules : CT
|
||||
-# not yet clean : UT
|
||||
-# clean but no testing : CN
|
||||
-# unclean but no testing: UN
|
||||
-
|
||||
-import layman.api #CT
|
||||
-import layman.argsparser #CT
|
||||
-import layman.cli #CT
|
||||
-import layman.config #CT
|
||||
-import layman.db #CT
|
||||
-import layman.dbbase #CT
|
||||
-import layman.utils #CT
|
||||
-import layman.overlays.overlay #CT
|
||||
-import layman.overlays.tar #CT
|
||||
-
|
||||
-#===============================================================================
|
||||
-#
|
||||
-# Test Suite
|
||||
-#
|
||||
-#-------------------------------------------------------------------------------
|
||||
-
|
||||
-def test_suite():
|
||||
- return unittest.TestSuite((
|
||||
- doctest.DocTestSuite(layman.api),
|
||||
- doctest.DocTestSuite(layman.config),
|
||||
- doctest.DocTestSuite(layman.argsparser),
|
||||
- doctest.DocTestSuite(layman.db),
|
||||
- doctest.DocTestSuite(layman.dbbase),
|
||||
- doctest.DocTestSuite(layman.utils),
|
||||
- doctest.DocTestSuite(layman.overlays.overlay),
|
||||
- doctest.DocTestSuite(layman.overlays.tar),
|
||||
- ))
|
||||
-
|
||||
-#===============================================================================
|
||||
-#
|
||||
-# Run Testing
|
||||
-#
|
||||
-#-------------------------------------------------------------------------------
|
||||
-
|
||||
-if __name__ == '__main__':
|
||||
- # Ignore warnings here. We are just testing
|
||||
- from warnings import filterwarnings, resetwarnings
|
||||
- filterwarnings('ignore')
|
||||
-
|
||||
- unittest.main(defaultTest='test_suite')
|
||||
-
|
||||
- resetwarnings()
|
||||
--- a/layman/utils.py 2014-10-18 14:27:13.254842117 -0400
|
||||
+++ b/layman/utils.py 2014-10-18 14:30:24.088851247 -0400
|
||||
@@ -347,14 +347,3 @@
|
||||
for key in kwargs:
|
||||
result[key] = kwargs[key]
|
||||
return result
|
||||
-
|
||||
-
|
||||
-#===============================================================================
|
||||
-#
|
||||
-# Testing
|
||||
-#
|
||||
-#-------------------------------------------------------------------------------
|
||||
-
|
||||
-if __name__ == '__main__':
|
||||
- import doctest
|
||||
- doctest.testmod(sys.modules[__name__])
|
||||
|
@ -0,0 +1,2 @@
|
||||
DIST rust-0.11.0.tar.gz 21555837 SHA256 d1b3e36448bf12b8c9289024df416de10774b6d3235d7b1d22b248ef634411ba SHA512 a29e8a1c44097cc78d36d637d1ebf9b1b914d58a56d52f8112959a68916a2df9f5f63f93e596ba6db5be21a962912503e0fd678330a9dac6abe04a59d5af4584 WHIRLPOOL b7fb24920aca2a537af0c7e20925302a20fbd662209a1774a8ecc7c2cf9aaeb9b4fabfdd45620a0fda88b49122abc04882f7254a984b06df47212e537f8713f8
|
||||
DIST rust-0.12.0.tar.gz 21223176 SHA256 883e66b24d90d9957c5c538469fcde6f0668e5fb6448beecfc60884060e769b7 SHA512 b01f6ae97fb012ab701b47a8f240a764d0a6f3ee2224ab67289c61f021a1cef2e99a4b61aa3f8991ce90f52b19d6ec93a5a041e5ee4988803e6ef239c8b91445 WHIRLPOOL 8f952936f06d95c4eba4803752d690831d9e60b5f66e289d5c9083108f66bae403917c42744d4a611d636a69c2bd11d69c51c59ce3f899fe3fa94d15e30c4cfd
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>jauhien@gentoo.org</email>
|
||||
<name>Jauhien Piatlicki</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/rust-zshcomp/rust-zshcomp-0.11.0.ebuild,v 1.1 2014/10/18 11:52:06 jauhien Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
DESCRIPTION="Rust zsh completions"
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
SRC_URI="http://static.rust-lang.org/dist/rust-${PV}.tar.gz"
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="app-shells/zsh
|
||||
!!<=app-admin/eselect-rust-0.1_pre20140820
|
||||
!<=dev-lang/rust-0.11.0-r1:0.11
|
||||
!<=dev-lang/rust-999:nightly
|
||||
!<=dev-lang/rust-9999-r2:git
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/rust-${PV}"
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins src/etc/zsh/_rust
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/rust-zshcomp/rust-zshcomp-0.12.0.ebuild,v 1.1 2014/10/18 11:52:06 jauhien Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
DESCRIPTION="Rust zsh completions"
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
SRC_URI="http://static.rust-lang.org/dist/rust-${PV}.tar.gz"
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="app-shells/zsh
|
||||
!!<=app-admin/eselect-rust-0.1_pre20140820
|
||||
!<=dev-lang/rust-0.11.0-r1:0.11
|
||||
!<=dev-lang/rust-999:nightly
|
||||
!<=dev-lang/rust-9999-r2:git
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/rust-${PV}"
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins src/etc/zsh/_rust
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/rust-zshcomp/rust-zshcomp-9999.ebuild,v 1.1 2014/10/18 12:44:35 jauhien Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit git-r3
|
||||
|
||||
DESCRIPTION="Rust zsh completions"
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
EGIT_REPO_URI="git://github.com/rust-lang/rust.git"
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 )"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
|
||||
DEPEND="app-shells/zsh
|
||||
!!<=app-admin/eselect-rust-0.1_pre20140820
|
||||
!<=dev-lang/rust-0.11.0-r1:0.11
|
||||
!<=dev-lang/rust-999:nightly
|
||||
!<=dev-lang/rust-9999-r2:git
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins src/etc/zsh/_rust
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST kchmviewer-6.0.tar.gz 310642 SHA256 81c856434a86977039c36cb10f2427cc8cb1ea29a778f24fff2285d49c717979 SHA512 029335e4acea711f31c7d17751292c6b755504b97b73864b5d25a7a8a2853c0499658056bad9f9c0b6324f61c024feb5a943dc670fdccb37fcdee1346d7334d9 WHIRLPOOL 2b368654d50d0e553d116ca52f3b1ebe3d709a6b52933d54a54d2360c51356628d58c3cc789e32da54a5897b1cbee185380dbcbe0b6824146ec1ad39dc5c9280
|
||||
DIST kchmviewer-6.1.tar.gz 346587 SHA256 f673c3aaca735d799d14b9f6f1b302e9bb77d5c0a0b601b4b5e0beed1c99fe78 SHA512 aabcf98510a5a0cd38f3937e14c86e15b2514cf118e7d17e96a3a4779bb7c0985248f352844a021a66d482cfecdc3c405c816f71a7bec02d1765f8e4d7510126 WHIRLPOOL 1585726cdf4295a49c16733ee9a93d97d6087977dd8e151681bb73d19d34052c9a9423e3488e4152b7736ce8e9bf3cf02be26554ea6fffe2ccaaef9297f593a7
|
||||
DIST kchmviewer-7.1.tar.gz 340934 SHA256 a410d0a343d8a871cc860e2983079981806eb70cbf0c970fa1bcf5689821144f SHA512 6e98441358eab74d80adee437b1ad24dbf3e5b5a6ae4c5d7744537a169a6a64303b8e2b4bf1e636c0f6d955bdd1a59b7f1db2d45fc6dfecb6bb3a31088abce61 WHIRLPOOL 6e5bf2639057aa5f55ce25e9d457ca267b2ab015b5553e9edbc7bbe2997bc1d6ebcdadc656b06b15ada115eb196104a3770fdd68234b47bb3f352d3d6a9b23b3
|
||||
|
@ -0,0 +1,91 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/kchmviewer/kchmviewer-7.1.ebuild,v 1.1 2014/10/17 16:48:02 kensington Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_REQUIRED="optional"
|
||||
KDE_LINGUAS="cs fr hu it nl pt_BR ru sv tr uk zh_CN zh_TW"
|
||||
inherit eutils fdo-mime kde4-base qmake-utils
|
||||
|
||||
DESCRIPTION="A feature rich chm file viewer, based on Qt"
|
||||
HOMEPAGE="http://www.kchmviewer.net/"
|
||||
SRC_URI="mirror://sourceforge/kchmviewer/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="debug kde"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/chmlib
|
||||
dev-libs/libzip
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtdbus:4
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtwebkit:4
|
||||
kde? (
|
||||
$(add_kdebase_dep kdelibs)
|
||||
!kde-base/okular[chm]
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
use kde && kde4-base_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local lang
|
||||
for lang in ${KDE_LINGUAS} ; do
|
||||
if ! use linguas_${lang} ; then
|
||||
rm po/${PN}_${lang}.po
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use kde; then
|
||||
kde4-base_src_configure
|
||||
else
|
||||
eqmake4
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use kde; then
|
||||
kde4-base_src_compile
|
||||
else
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc DBUS-bindings FAQ
|
||||
doicon packages/kchmviewer.png
|
||||
|
||||
if use kde; then
|
||||
kde4-base_src_install
|
||||
else
|
||||
dobin bin/kchmviewer
|
||||
domenu packages/kchmviewer.desktop
|
||||
dodoc ChangeLog README
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use kde; then
|
||||
kde4-base_pkg_postinst
|
||||
else
|
||||
fdo-mime_desktop_database_update
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use kde; then
|
||||
kde4-base_pkg_postrm
|
||||
else
|
||||
fdo-mime_desktop_database_update
|
||||
fi
|
||||
}
|
@ -1,15 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>kde</herd>
|
||||
<longdescription lang="en">
|
||||
KchmViewer is a chm (MS HTML help file format) viewer It uses Trolltech Qt
|
||||
widget library with optional KDE libraries. It does not require KDE, but may
|
||||
be compiled with full KDE support, including KDE widgets and KIO/KHTML. The
|
||||
main advantage of KchmViewer is extra support for non-English languages.
|
||||
Unlike other viewers, KchmViewer in most cases is able to detect help file
|
||||
encoding, correctly shows tables of context of Russian, Korean, Chinese and
|
||||
Japanese help files, and does correct search in non-English help files
|
||||
(search for MBCS languages - ja/ko/ch is still in progress).
|
||||
</longdescription>
|
||||
<herd>kde</herd>
|
||||
<longdescription lang="en">
|
||||
KchmViewer is a chm (MS HTML help file format) viewer It uses Trolltech Qt
|
||||
widget library with optional KDE libraries. It does not require KDE, but may
|
||||
be compiled with full KDE support, including KDE widgets and KIO/KHTML. The
|
||||
main advantage of KchmViewer is extra support for non-English languages.
|
||||
Unlike other viewers, KchmViewer in most cases is able to detect help file
|
||||
encoding, correctly shows tables of context of Russian, Korean, Chinese and
|
||||
Japanese help files, and does correct search in non-English help files
|
||||
(search for MBCS languages - ja/ko/ch is still in progress).
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">kchmviewer</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST bash-support-3.12.tar.bz2 84647 SHA256 029754c033c3a0e4583d21c1888e19a6b5e982f1eff8d9dec1c540652a571452 SHA512 5c4b778482be34fe9e60389dd6ee94c4db7c067ae5a4d8c00a3dcfd831fbb3e32073f05826b43687536b7dcb892df8f12ba6732fb723e418e12870058a0b1eb5 WHIRLPOOL b36daa58ddb86a9df82628d5906151d5b2a62545f4daaefba08bf48ccf909b52885835b262a44df9f16169511856c78cdce51d9276da4e4b17cce3a8b5e41dc7
|
||||
DIST bash-support-4.1.tar.bz2 112365 SHA256 a2b5f309a23a01bcb972b6465faf37bba26a426b4360f675e607b019b8fef42b SHA512 705f2f7e20ebb9925b73d84661382afd54833264cbc1047bb32e95b64e8a10781539edb8c78915ac2765904787321704e622a578d05bfd34a59db980de42bd1a WHIRLPOOL 69f7271d394fcf9adbd503fac9a614ecc780a07ffbe875d53a37245ef80f4ddc5ab8c9269f312da5c94bfd20b42e441a4f3ed447d276f65afddb0f8c76ece717
|
||||
DIST bash-support-4.2.1.tar.bz2 115200 SHA256 a231394928bb82db90bb9b6b39b32843fd706998abce07ec712125a1fa968fdd SHA512 12ab39f5cffb58e4adb2137265d6c4f1a61b5f2e360f6866c21ead0a67e02a5445bd12fec5b00b26e5d6102b3aaab99b8b13539a67575067c3ef9b26c4ef8fba WHIRLPOOL 5e2dd6579033d3febbc70a02c6b6aef61cfa27ed6fb185a8a54ecbbe150a953a8ec618d61768023f4c22e8430a88e6aac17539bff92dda5b65c5a764935f91da
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/bash-support/bash-support-4.2.1.ebuild,v 1.1 2014/10/18 03:39:00 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: Bash-IDE - Write and run bash scripts using menus and hotkeys"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=365"
|
||||
LICENSE="public-domain"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}"
|
||||
|
||||
src_install() {
|
||||
dodoc ${PN}/doc/{ChangeLog,bash-hotkeys.pdf}
|
||||
rm -rf ${PN}/doc
|
||||
|
||||
vim-plugin_src_install
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST c-support-6.0.tar.bz2 130832 SHA256 8dfb9c283967906f3a1c6d251a7d4734b58debc6da6ed4fdb0788c526492ed72 SHA512 280e8e91b8961ad856524f1869ecd580870ccbb6064c02aefdd5cec7f55a7bf12a17c76a4de91c8d2a7fed25bd96e793909f7cc258b9664f295e1324e0b392da WHIRLPOOL 5743eec9901453007a65d056cfa061f23d6f4326338071ec38748590202d81988b4699c3329d58f94334434f4506ba34b87273618e806efa2484b8ec93e83b08
|
||||
DIST c-support-6.1.1.tar.bz2 167371 SHA256 fdb8fe02383f2e998b2549194bbb6d0cb0a13d3141ca0c4d8d422b6117e83c86 SHA512 dda33732505341bc260b9c3f73f95c70c3ee6f0eb50b9d1fd534fc8e83fb21d0caa3feea0ae50cf59da4abbef455c31fe1c02c80bb9168423cfa332941ff0886 WHIRLPOOL 3a409cd378eac9e29b8e5c2fc7d9f95bacdf1dcb3c7a860e2e0c9af8fa29c1ec42129e0916ecbcd158cfb1d5bc3d0c72c423d2f661120ac860baa74f1047e5ac
|
||||
DIST c-support-6.1.tar.bz2 164255 SHA256 00cf3d664e6414f332535acd769ffadfcb68c4c1c5a85aba8ce5b8124e97dd72 SHA512 6fdc4f757ba0febfebe0c8898b6b0d582e03d6f7d08523e8663368011c41d6444df2620f96c6276d959b4a05b7c83a0e377bc5a8e75aaed5cf478f8bc83ce9ec WHIRLPOOL 01f2f5cf934882eb4c57a363e4cdaa2b7f43494cb6fb4324dcd2f679ad5e0a31698dc13b46a7f5ba5287cadce68fadb4258f6dad7ba051f9a62247d599d73150
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/c-support/c-support-6.1.1.ebuild,v 1.1 2014/10/18 03:41:39 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: C/C++-IDE -- Write and run programs using menus and hotkeys"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=213"
|
||||
LICENSE="public-domain"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}"
|
||||
|
||||
src_install() {
|
||||
dodoc ${PN}/doc/{ChangeLog,c-hotkeys.pdf}
|
||||
rm -r ${PN}/doc || die
|
||||
|
||||
vim-plugin_src_install
|
||||
}
|
@ -1,8 +1,2 @@
|
||||
DIST easy-align-2.5.1.tar.gz 13019 SHA256 8a441063b8926c7b5d29027624af61a5a1e6a6759fa6752e1429a0ded961ab14 SHA512 d8ac03f8fbd40eef7dc2c31e5460db2c540b8ea766146e89f9a6cf97e0fafece8dec411a8139e64bf8921e453c937a0e02c6935a22d89088da547b03b4baacdb WHIRLPOOL 7e4c28bf3f6e7f94199e9da9a5052766d8311f2e9a1d51fe09b3f541ce8c4ff0935daddde0eee90dfcce1cf9683a454d1794e708e2489f8eb94acfa5df3d5f15
|
||||
DIST easy-align-2.6.0.tar.gz 13845 SHA256 331229a2ea13de6c51fc38899efec4228394a2924816c35194f7c650ff7b0c70 SHA512 b04e9eed5c5ad5c448c45c2567ba82dfd669cf009d2b3105b5bac4d26637e1d6e5a0c071dde22dfbb8a5ba2f2085b4386055384ec63f1042d1d0171dabf3bb0a WHIRLPOOL e8e3f13b5f04fcd4cf60a1e2d7a65e6a26694ecd9f111f43f7a6801fd80eb8cf49d7aa71e1f8f2c37ba023a05fee05c3e6780b046234bee0df1a09dbd17c5376
|
||||
DIST easy-align-2.6.1.tar.gz 14066 SHA256 d83693510039388b84fc9fccb6931baaa7b41bf41ff71ac84deb70873e340135 SHA512 6a5127b3f160d7399d0f4822c1bf4743e704ed5d60ff453291754f53c23cc19aa006cc65b84be15d5693244a26ee5f08755da004aa89ec360f0aa84c1566ecb8 WHIRLPOOL 919c984a55fdc97b0a4225ce7cd313bec886068e6742b3a5303aeb08635f2baf0f916cce128dbeb0eb490dd08e46aab03c37ca92161e93992ca68878b0856cdf
|
||||
DIST easy-align-2.7.0.tar.gz 15241 SHA256 e071cfdda67268365efaf78bbb640469c1c2da7eeb0f5b819525e7049cffc8d9 SHA512 5654ab3daad29a5451de7db6ef011022d7f1b32fb616c4fe966d173f7031b0e90efe312f26ebe411dc64c7f418457e1468869b87346777c760ebf3737a9809ae WHIRLPOOL c3e76858822add429ca70f1881dbf9e71ff955e076ef0eae43c75e0dc06c5fed80ecd1891684089b63e4b21e9326def6c13f7a0a5f6f8d78edfeaf980391df62
|
||||
DIST easy-align-2.8.0.tar.gz 15934 SHA256 2263ebd1cc73a42d4d0e89566e213c4bb2bb2253d14e2dd54a8c23792d38cfe9 SHA512 dfd7073079ed9809b026ad6e2a804a5d82d8dccd075b35fa6538dd86b304a811cfe0c621d00ae3189bf13f366e36fc2de81330e843d076d53d947c8540d31132 WHIRLPOOL dbce1dfccf0ae428d0c9bc3ede75bd09401e1edd978b3cbcc8fa4b7440e7f0ad2730cc029b67c82641c9e700648fd156665d0ad13ca6abfe08fed8096812a6f2
|
||||
DIST easy-align-2.9.0.tar.gz 16892 SHA256 e359ba3f806aabf89056472398f2ad763f5ba8068814fae623ec24af969513ca SHA512 8c4ac655c932206ac7bd68484698ea22ed2d611ae79aca5ea244d81f866b9422755294b4bf63127309d94396dc9027df4fe99a7cd16e83548a9b13d9b0176171 WHIRLPOOL 589aa357deb6f7359930b77cf93c3cbfa5c6b5a0a690961b603cfa891c7ae759dae9525fb14b1ce376ebeb9be3edbad4bf5f1d5a6afb3087cb97b40ce27eb558
|
||||
DIST easy-align-2.9.2.tar.gz 21513 SHA256 dfc850e6f115c0949146b452e92b9f1e1e19c6ff9b80b4ea515100a6a5357c7b SHA512 02879b009331c30ee57ed3ecde0037767f03282d3ba3132eec956f4be7293101b8d7c9308d5ef6437538699d877e1a4fc142feac2796f9928874d6cbf1250b5b WHIRLPOOL f7f479c4c0c36d7df818d33cb51b0362c79ce38db2c35dbe1da5073435eb14909bb06943b6a7901b4021308ad8e713bc0bd451509642dc6ae27e6f284da0ad94
|
||||
DIST easy-align-2.9.4.tar.gz 21247 SHA256 f01c57335acdd6982789e636aa9586417d39a991410882d82bacf3a2fd6491b5 SHA512 ba2f7f38202cb5ca959a40e8b1de37e3687577f71b39fb16765a8c50f8c1c51563375b34ae407e13874990ac5e9af8bbd9f36256b8a9563417b4f561adbb0f9a WHIRLPOOL 26d101fac05b3ccbee92b221be72ded5cce3a10872c4bd59dd7689c6faf992f1065490948b7c23545d75358927c734113a5772f2044a06df870f0a98792fd239
|
||||
DIST easy-align-2.9.6.tar.gz 21391 SHA256 212499ef4311b2dd7bd303f618c1b7e7b42396e2a7e13156d769d3f673c96e22 SHA512 ae351ef1789253ce541656dc455969148f9e8d28de3a44cd579eae7eff0e9cca1d89c508c60f5cead4e43e64038dd0c93a933a2e147ebdae1b98f0f4d2eaacc8 WHIRLPOOL 72de29a96882ca903eba5877666bb1a8eb11b7ba80034489f4d442aa96118bf5900ccd5b9fca4d08a32489af2ca4fa14e8e60db6b230de07f425093039207ea0
|
||||
|
@ -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/easy-align/easy-align-2.5.1.ebuild,v 1.1 2013/09/28 01:46:12 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit vim-plugin
|
||||
|
||||
MY_PN="vim-${PN}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
DESCRIPTION="vim plugin: a simple alignment plugin"
|
||||
HOMEPAGE="https://github.com/junegunn/vim-easy-align http://www.vim.org/scripts/script.php?script_id=4520"
|
||||
SRC_URI="https://github.com/junegunn/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}"
|
||||
|
||||
S=${WORKDIR}/${MY_PN}-${PV}
|
||||
|
||||
src_prepare() {
|
||||
rmdir test || 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/easy-align/easy-align-2.6.0.ebuild,v 1.1 2013/10/06 04:59:18 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit vim-plugin
|
||||
|
||||
MY_PN="vim-${PN}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
DESCRIPTION="vim plugin: a simple alignment plugin"
|
||||
HOMEPAGE="https://github.com/junegunn/vim-easy-align http://www.vim.org/scripts/script.php?script_id=4520"
|
||||
SRC_URI="https://github.com/junegunn/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}"
|
||||
|
||||
S=${WORKDIR}/${MY_PN}-${PV}
|
||||
|
||||
src_prepare() {
|
||||
rmdir test || 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/easy-align/easy-align-2.6.1.ebuild,v 1.1 2013/10/10 23:26:53 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit vim-plugin
|
||||
|
||||
MY_PN="vim-${PN}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
DESCRIPTION="vim plugin: a simple alignment plugin"
|
||||
HOMEPAGE="https://github.com/junegunn/vim-easy-align http://www.vim.org/scripts/script.php?script_id=4520"
|
||||
SRC_URI="https://github.com/junegunn/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}"
|
||||
|
||||
S=${WORKDIR}/${MY_PN}-${PV}
|
||||
|
||||
src_prepare() {
|
||||
rmdir test || 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/easy-align/easy-align-2.7.0.ebuild,v 1.1 2013/10/21 21:57:11 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit vim-plugin
|
||||
|
||||
MY_PN="vim-${PN}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
DESCRIPTION="vim plugin: a simple alignment plugin"
|
||||
HOMEPAGE="https://github.com/junegunn/vim-easy-align http://www.vim.org/scripts/script.php?script_id=4520"
|
||||
SRC_URI="https://github.com/junegunn/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}"
|
||||
|
||||
S=${WORKDIR}/${MY_PN}-${PV}
|
||||
|
||||
src_prepare() {
|
||||
rmdir test || 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/easy-align/easy-align-2.8.0.ebuild,v 1.1 2013/11/02 12:37:10 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit vim-plugin
|
||||
|
||||
MY_PN="vim-${PN}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
DESCRIPTION="vim plugin: a simple alignment plugin"
|
||||
HOMEPAGE="https://github.com/junegunn/vim-easy-align http://www.vim.org/scripts/script.php?script_id=4520"
|
||||
SRC_URI="https://github.com/junegunn/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}"
|
||||
|
||||
S=${WORKDIR}/${MY_PN}-${PV}
|
||||
|
||||
src_prepare() {
|
||||
rmdir test || 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/easy-align/easy-align-2.9.0.ebuild,v 1.1 2013/12/07 10:53:03 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit vim-plugin
|
||||
|
||||
MY_PN="vim-${PN}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
DESCRIPTION="vim plugin: a simple alignment plugin"
|
||||
HOMEPAGE="https://github.com/junegunn/vim-easy-align http://www.vim.org/scripts/script.php?script_id=4520"
|
||||
SRC_URI="https://github.com/junegunn/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}"
|
||||
|
||||
S=${WORKDIR}/${MY_PN}-${PV}
|
||||
|
||||
src_prepare() {
|
||||
rmdir test || die
|
||||
}
|
@ -1,12 +1,13 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/easy-align/easy-align-2.9.2.ebuild,v 1.1 2014/03/20 05:01:16 radhermit Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/easy-align/easy-align-2.9.6.ebuild,v 1.1 2014/10/18 04:05:30 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit vim-plugin
|
||||
|
||||
MY_PN="vim-${PN}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
MY_PN=vim-${PN}
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="vim plugin: a simple alignment plugin"
|
||||
HOMEPAGE="https://github.com/junegunn/vim-easy-align http://www.vim.org/scripts/script.php?script_id=4520"
|
||||
SRC_URI="https://github.com/junegunn/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
@ -1,2 +1,3 @@
|
||||
DIST easytags-3.4.3.tar.gz 34968 SHA256 196b069b06a31c35900b3272d78fa5a137c5028c57311d49ec11252a0ec8865f SHA512 bf90076553167e16f63d34797521c66cb5dc32d107d26be69f766dc98564d494e232b1f3e72eae9a513ebb1da97ebb92c0964f3d184b3eccae3ed6af6181d3da WHIRLPOOL fe98877ce86c097f92d33fbed4b173556937ed5276a9fdd37972df2986241e56d293f3ddf15d5c7224d40b467064b489c7e912bc7094e5b8c32906e57a0a9fec
|
||||
DIST easytags-3.4.4.tar.gz 34983 SHA256 75eff64328f069d574234371ac568c2088cd36fb009d84772e2df6b8b3d5854d SHA512 19da4f81c01ded9bb11f989ffab9f43b77d2462b3d2c9a864fd95124fccb29ab77f4ff5b87c3d92daf581d446b775c05df284169ba576afe4f55b290acf7c032 WHIRLPOOL 71a64973e6a1947839bde39df242a7db799da8606241e8a54fb7506dada8835e741981a2faf1b274435d0675bf440621f295880769ab359d90e0505f66729f90
|
||||
DIST easytags-3.7.tar.gz 38920 SHA256 b88cf33e26c062ac4fd17f541d19f0ffdaabb0afbc21d71baef23f26d0c9c64b SHA512 8b32f83f65fd0ebd0c585584527333a9c3c945d726b3186a468071c2a67a242085dbf346ef2e9c7797a2dce06957429b8aaf4ba01d733083e13e50e642f97eff WHIRLPOOL 82c51ad2b3354ac80359230695e0e3420cc8fede30f5e9d070f817c7d81c97c91df029ca13c3da99ca1ecc2a451b80c1c4ff1f4bbb3d5fce44c3a0f4039ac52f
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/easytags/easytags-3.7.ebuild,v 1.1 2014/10/18 04:03:19 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit python-single-r1 vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: automated tag file generation and syntax highlighting"
|
||||
HOMEPAGE="http://peterodding.com/code/vim/easytags/"
|
||||
SRC_URI="https://github.com/xolox/vim-${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
>=app-vim/vim-misc-1.16.1
|
||||
dev-util/ctags"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}.txt"
|
||||
|
||||
S=${WORKDIR}/vim-${P}
|
||||
|
||||
src_prepare() {
|
||||
# remove unnecessary files
|
||||
rm addon-info.json INSTALL.md README.md || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
vim-plugin_src_install
|
||||
|
||||
# fix scripts
|
||||
fperms 755 /usr/share/vim/vimfiles/misc/easytags/{normalize-tags,why-so-slow}.py
|
||||
python_fix_shebang "${ED}"/usr/share/vim/vimfiles/misc/easytags/{normalize-tags,why-so-slow}.py
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST notes-0.23.10.tar.gz 50999 SHA256 00e3851d77fb300a4b689dac76cf0c95696a4a749e41b1f58fe9feeae838796b SHA512 e630618dca259e73ba81ebf91912471c36a5d1133f6eba67c2dfd436c587bf865a62d70c8ea5bafefd72347b24acdb16ec42a3ef67f346868eb69aaa5ed6662e WHIRLPOOL b263b0b0755091d60f191540c846b24d82bf3141c5753f7b21514abbabeefb8898eae220482c4d67652bf9da0f6c4e3075d09a2f176431343cfb9904a6413f4d
|
||||
DIST notes-0.23.11.tar.gz 51003 SHA256 6f4c4cecc9cb0f95004009fd9d218c41e5316afe2ebe166b0fa62092ea132cb5 SHA512 4a63b5eebfbe51bb01b311331300bfc1643e56876291f5f5093342055e2f34a9ee0fec8a3cd1f2b97ff5b62c50be7ac0674e91c3741fec145e6e7a337eacf2fa WHIRLPOOL 58cf027cc1aa1ff4864f6a539d2e21a08a7a026bd67e38062f26ff20a5fdc5962aa1dfac830bab69e4aeec05df689eb17432e67869d3410ade94dcedbeb0543c
|
||||
DIST notes-0.23.4.tar.gz 50584 SHA256 7a451ed17f9270ca20711b4e96d55e14ccb9db10faefeeec01f18d1b86b93ba8 SHA512 2bdcf967846d910a2bcc8cdf6987b6658a3614e63556eb9e7521d9559a19e49a131be0e8e26f09d88e533d7d5dae283c18aedfe47e829e30315dbd5416f935fb WHIRLPOOL 17248cd88721fc08fe246a50e445b46f33c36316ffb9f24aad7a78d9b81bfef22e603bd7dfbf5c184cbf651ebf75b03ad171390ef092914d07e523af33c2e130
|
||||
DIST notes-0.27.tar.gz 52022 SHA256 f0a1e64c7a18acf7b838f32b9efa025f36e93d7e948d589a817d04267e811ae6 SHA512 f4cb2261edf855ddb43cff2902642bbfd740e311e5589f2093d70fd6a214b6d8d13b9e0992281d9f8f8dbf188561ec883d0a7445d63f4ecdc6e3551e1da5035f WHIRLPOOL ebc602c5a57851ef4fec8b227fe1176ba889a4efead22b504c14f804aae9a22870a23ba70ae5b22f3df238932eecb9ec979091e7106939b6e852a4e8eda2d26b
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/notes/notes-0.27.ebuild,v 1.1 2014/10/18 04:00:18 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
inherit python-single-r1 vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: easy note taking in vim"
|
||||
HOMEPAGE="http://peterodding.com/code/vim/notes/"
|
||||
SRC_URI="https://github.com/xolox/vim-notes/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
>=app-vim/vim-misc-1.16.1"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}.txt"
|
||||
|
||||
S=${WORKDIR}/vim-${P}
|
||||
|
||||
src_prepare() {
|
||||
# remove unnecessary files
|
||||
rm addon-info.json INSTALL.md README.md || die
|
||||
|
||||
python_fix_shebang .
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
DIST rust-0.11.0.tar.gz 21555837 SHA256 d1b3e36448bf12b8c9289024df416de10774b6d3235d7b1d22b248ef634411ba SHA512 a29e8a1c44097cc78d36d637d1ebf9b1b914d58a56d52f8112959a68916a2df9f5f63f93e596ba6db5be21a962912503e0fd678330a9dac6abe04a59d5af4584 WHIRLPOOL b7fb24920aca2a537af0c7e20925302a20fbd662209a1774a8ecc7c2cf9aaeb9b4fabfdd45620a0fda88b49122abc04882f7254a984b06df47212e537f8713f8
|
||||
DIST rust-0.12.0.tar.gz 21223176 SHA256 883e66b24d90d9957c5c538469fcde6f0668e5fb6448beecfc60884060e769b7 SHA512 b01f6ae97fb012ab701b47a8f240a764d0a6f3ee2224ab67289c61f021a1cef2e99a4b61aa3f8991ce90f52b19d6ec93a5a041e5ee4988803e6ef239c8b91445 WHIRLPOOL 8f952936f06d95c4eba4803752d690831d9e60b5f66e289d5c9083108f66bae403917c42744d4a611d636a69c2bd11d69c51c59ce3f899fe3fa94d15e30c4cfd
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>jauhien@gentoo.org</email>
|
||||
<name>Jauhien Piatlicki</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/rust-mode/rust-mode-0.11.0.ebuild,v 1.1 2014/10/18 11:50:31 jauhien Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="Rust mode for vim"
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
SRC_URI="http://static.rust-lang.org/dist/rust-${PV}.tar.gz"
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="!!<=app-admin/eselect-rust-0.1_pre20140820
|
||||
!<=dev-lang/rust-0.11.0-r1:0.11
|
||||
!<=dev-lang/rust-999:nightly
|
||||
!<=dev-lang/rust-9999-r2:git
|
||||
"
|
||||
|
||||
S="${WORKDIR}/rust-${PV}/src/etc/vim"
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/rust-mode/rust-mode-0.12.0.ebuild,v 1.1 2014/10/18 11:50:31 jauhien Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="Rust mode for vim"
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
SRC_URI="http://static.rust-lang.org/dist/rust-${PV}.tar.gz"
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="!!<=app-admin/eselect-rust-0.1_pre20140820
|
||||
!<=dev-lang/rust-0.11.0-r1:0.11
|
||||
!<=dev-lang/rust-999:nightly
|
||||
!<=dev-lang/rust-9999-r2:git
|
||||
"
|
||||
|
||||
S="${WORKDIR}/rust-${PV}/src/etc/vim"
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/rust-mode/rust-mode-9999.ebuild,v 1.1 2014/10/18 12:43:35 jauhien Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit vim-plugin git-r3
|
||||
|
||||
DESCRIPTION="Rust mode for vim"
|
||||
HOMEPAGE="http://www.rust-lang.org/"
|
||||
EGIT_REPO_URI="git://github.com/rust-lang/rust.git"
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 )"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
|
||||
DEPEND="!!<=app-admin/eselect-rust-0.1_pre20140820
|
||||
!<=dev-lang/rust-0.11.0-r1:0.11
|
||||
!<=dev-lang/rust-999:nightly
|
||||
!<=dev-lang/rust-9999-r2:git
|
||||
"
|
||||
|
||||
S="${S}/src/etc/vim"
|
@ -1,5 +1,2 @@
|
||||
DIST session-1.4.22.tar.gz 22843 SHA256 ba04634210a1a3644c84e3395721be9a2dbefa5b95180c1f8a3b6674753a10fa SHA512 cd321815b3009609a3921455699d928d26eed6c35921dfd632173641f717a6a7df3b3e86db84c80eb9db6583a03c9380dbf44907d68450faa69f53a18a79008d WHIRLPOOL 70b3e39f37ca8684cd69cb3ef026cab771ba4d6c161ac8d1da55dce3537b9d68d55c27c80559df948d88afb497cac8ee2e4b859fe763aad3ca84f04d032c2a5a
|
||||
DIST session-1.5.tar.gz 24088 SHA256 337b261f5079b384507933070a890d13e1a594d2cd19287873ebe5c4dad57fa5 SHA512 c0cf0326921dbe1b03683ccba3478d50c28ad20687b219abf514ca5fb6a6210db0e4fa8eb0a9217da36a5299fcfc216e1a21279d63c0cd1db4d118defa2483dd WHIRLPOOL 1ba0b5507acdb41e41633a670e84b6ae346b4cdd752e204767483331d53308c28024cecf18ddc95371a9a395d8c527955a953fd2e982055c690592d7a828f709
|
||||
DIST session-2.4.14.tar.gz 29673 SHA256 d91ac7dadc8da69b50c6eaf22be8f7afaf5345d2debb9c8f6515cad3b8d77d3f SHA512 92cb7031dd5b99e9b19fc9bca47e45de481c4e2579c1545eb9f19a8cc6ee38e60037d17c4c78a2751f37e748dc15e3cb234c1ac75b9fd66effabbbc6bb1c960b WHIRLPOOL dd3e3df4970b4391ebfbee428acd5e47e5576e3b7fac5bfb0832b1e0844819bead3361c7ec80b0a61518ae4b31d2bfbbf66bb06144dee68101c1ddfd34c63bc6
|
||||
DIST session-2.4.8.tar.gz 29465 SHA256 8bbba0bd667b9364858678b67f336f2e5145dce902335f6bfcdbf367af1729ae SHA512 4a884aac8de47f70df590b383601dfda58651da0e30b6c5c2233c7cf01bf30395ff43e047091c937498f493fa16d9d5e8c710685fa71ec85a51e9121a10908c2 WHIRLPOOL a00d4e9672fbca0c900ce6ec4165a84315254c7882efbefe796bc932a65ac1caf99cb1873d17ea9558402b19f4d04e29f83caee4c9ad8db78b59e5d796c94d2d
|
||||
DIST session-2.4.9.tar.gz 29492 SHA256 a3912e9a6a001a7f1040af15c057c8aae38d1e3cb7f46275b74236ca5a495356 SHA512 21296b97aeb6c45b20d06df9e346e54d8ab8a4f4559a9061f7610d3880753875c4a8bce9388a014a64622ceb7ad96609a0ee4f3c42f11bc8b3c2932b0c1b6092 WHIRLPOOL 9a70cdc801719c4599665582eb77cc621157872049e34f06a007780b7a8601f0a659cb1087c5c33246d1eb43a02c2aef61447a02b035dca46d2636dbcda5fae9
|
||||
DIST session-2.7.tar.gz 31788 SHA256 d500fedd7d6697ba7fb6522538e2bd1cc5d330de2b9d9487f3a782d7f161cb06 SHA512 6bc373b283ed69aa22dd2b305562b07188b98a5ad624593031a9c71242c95832bc56021db6b22c62b806f8be6e0106ddd18319f2eb01a898c2686a322244ad66 WHIRLPOOL 5939ce656cba364de6adb330f8a603276810c8b740aec796aa9732fea057d061dde26a14f66ffcd23ba3799349dfb9687cca43449aeaf13a002be18ffa501dc3
|
||||
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/session/session-1.4.22.ebuild,v 1.1 2011/11/17 16:41:39 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
MY_PN="vim-${PN}"
|
||||
DESCRIPTION="vim plugin: extended session management for vim"
|
||||
HOMEPAGE="http://peterodding.com/code/vim/session/"
|
||||
SRC_URI="https://github.com/xolox/${MY_PN}/tarball/${PV} -> ${P}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}.txt"
|
||||
|
||||
RDEPEND=">=app-vim/xolox-misc-20110926"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mv *-${MY_PN}-* "${S}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# remove unneeded files
|
||||
rm *.md || die
|
||||
rm -r autoload/xolox/misc || die
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/session/session-1.5.ebuild,v 1.1 2012/08/03 22:10:50 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit vim-plugin vcs-snapshot
|
||||
|
||||
DESCRIPTION="vim plugin: extended session management for vim"
|
||||
HOMEPAGE="http://peterodding.com/code/vim/session/"
|
||||
SRC_URI="https://github.com/xolox/vim-session/tarball/${PV} -> ${P}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}.txt"
|
||||
|
||||
RDEPEND=">=app-vim/xolox-misc-20111124"
|
||||
|
||||
src_prepare() {
|
||||
# remove unneeded files
|
||||
rm *.md || die
|
||||
rm -r autoload/xolox/misc || die
|
||||
}
|
@ -1,24 +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/session/session-2.4.8.ebuild,v 1.1 2013/09/01 23:21:11 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: extended session management for vim"
|
||||
HOMEPAGE="http://peterodding.com/code/vim/session/"
|
||||
SRC_URI="https://github.com/xolox/vim-${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}.txt"
|
||||
|
||||
RDEPEND=">=app-vim/vim-misc-1.8.5"
|
||||
|
||||
S=${WORKDIR}/vim-${P}
|
||||
|
||||
src_prepare() {
|
||||
# remove unneeded files
|
||||
rm addon-info.json *.md || die
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/session/session-2.4.9.ebuild,v 1.1 2013/11/04 05:55:12 radhermit Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/session/session-2.7.ebuild,v 1.1 2014/10/18 03:57:07 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -0,0 +1,22 @@
|
||||
# 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.04.ebuild,v 1.1 2014/10/18 03:30:47 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,3 +1,4 @@
|
||||
DIST vim-misc-1.11.tar.gz 50573 SHA256 a9454c5e9bb296b2fa1a2e192fff2db41ec1b01742d939c898e84e4f8265a2f1 SHA512 170e7c6b0e114b13decbd21cc60c45cdf6025cbef7b1fa593767a240b707abf3995ff161e7a76078f9883ce05cf93f7e3b0b8882bfc012792e4dd988e172ba19 WHIRLPOOL 0bd23eb38be576190822e00d5f9db4e03011c0816f8ab9fd54910bf23a127776c5bcf2887b76bc247372839a7b714cfb8d52412e3da2f7925dcc91a0959b5315
|
||||
DIST vim-misc-1.13.1.tar.gz 53469 SHA256 3340b11115eca665ceb349a7824bb1ea592d38c390e719ce3f2359590e6d8054 SHA512 64a88d1100a775702d4142cdd1c4e800d7e455c571101c592f3e446a07af344ac515bf48c46a3427cdb2f209c7ee54cef6d8d6970119e173099494e6d7472a10 WHIRLPOOL c02777dc4917e85039b0db9b52587e10b511e214b1b606de80cb656f6427fbee50a4472daa0ddcb2625dd921b6afad96527945f52e4252a9129aa7e9e9ab66f0
|
||||
DIST vim-misc-1.16.1.tar.gz 55532 SHA256 cb4abbc2cfad35ca56b5077395204e04c65ff95718a9b69f2a92e87ae417aea6 SHA512 365d091f91d6bb6cba39e7a880b7cc40c65ccf8a6117d881ae6e0c4317bee77273cd3b27e3cf6b66b8c7fb321a603143b917a2e884c52eded66f19a613340651 WHIRLPOOL 7d1649c5e1641d7041b898fae29c2354003991c62eeadba1e82ee087f177a48932fb01025841b1e63fad569c891b5d3d52e7273c9301aa5fc026b1dca64d8a62
|
||||
DIST vim-misc-1.8.5.tar.gz 36377 SHA256 2cb84c92a8caa2ce0d2a1b5513161cf065b8e51df8a918b7afdea24e48c005ab SHA512 bf85e2942a549fdabf7d8c3b85a6bece4643ef2c34e43e70836e1a2ae9654cabaab045878b854722a77b1d8cf2e4b1d66827f5ea39e5fd3502265f3444f79066 WHIRLPOOL cdcdf3f985a8c7025a7614cc644d22ee3036d4d67485ef27ce90a98bedb9d0b7fc2fd4db729f84b292c1df24a63aa4c8a7f5a723733b72bad7639f279b0b0475
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/vim-misc/vim-misc-1.16.1.ebuild,v 1.1 2014/10/18 03:48:59 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: miscellaneous auto-load scripts"
|
||||
HOMEPAGE="http://peterodding.com/code/vim/misc/"
|
||||
SRC_URI="https://github.com/xolox/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="!app-vim/xolox-misc"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="misc.txt"
|
||||
|
||||
src_prepare() {
|
||||
rm addon-info.json autoload/xolox/misc/echo.exe || die
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST voom-4.6.tar.bz2 108007 SHA256 c81b6c1f425ea49aea342a949c8fb45ee659f8f301913f7097b4afe9ce6cf543 SHA512 a29cf58f22edf0e6b1f381f703fea443fd4719262ae507a871f70b7a2aad9c4771642d7024c61fb809876e6c9779d901308cfa63e229c99801127a74883fcbba WHIRLPOOL d68b4efcefa194f12642f702acd659c0f6d212a18369492603e19ffe6a421310523bbce843e54553f96039b2ac1b750cc52836b83548f0973266eb416f36f3f1
|
||||
DIST voom-4.7.tar.bz2 109314 SHA256 744b2ea7f6ccdfcd10ad1815e0d233d65e3905e6bfdb91e041270555307b160e SHA512 83b600baa28c2af11028646c34e09fb28f35a7746c9c681e9dd789f3f8f0c37fe4bcf57e34abcf5c462703cbc4d44244345f298d66109bcd3d8364a313eb20b5 WHIRLPOOL 480e56b8dbd9192669de58ade5e4dab8012745c946d68ab89b65d0163415d57568f134970b2ffe1b43297747264b85dfdf48dcfe58f364398249972bbba113e2
|
||||
DIST voom-5.0.tar.bz2 99786 SHA256 9ee8d015ad2fab4ef975b6ac3c5785bb6a72d70e57db7a44d6f0ed537aee06e0 SHA512 9447fc65832aa0b7bd423a91d2f80979f44f9576af3a4eedb7bb7f6e3d6dc2732b6e18f57557099976630f3f8938134e0898393787768375d0edfab704590384 WHIRLPOOL 2ef7dd3e29d96217c4b4f38ed290cfec4feb1ce5d2694fdc8ce1f52159400afd12bc45a52bfbacc22449f05e2eaab939acecc2d3a94d8541c05b16d79fea0622
|
||||
DIST voom-5.1.tar.bz2 102211 SHA256 2af7f5589606ecb214671fc817aacf599f3bb39e38e295ff76891839b161e931 SHA512 3798c6d5079ebdf4f447f62613340e46a6b593e0a97226b0aecc90889c6cd2f6f2ce36eb88395a12a0e27ff3803c7693f1c56443928914bfea134d8a75df8c91 WHIRLPOOL 4c96caedc4413487c6fd213c62315334c9e8bc2707455413f0c39d297576d076bddc6a5cf99a99ecd40c55b453f370e8f021402c5139607cf55f79a7f3e153da
|
||||
|
@ -0,0 +1,16 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/voom/voom-5.1.ebuild,v 1.1 2014/10/18 03:45:21 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: emulates a two-pane text outliner"
|
||||
HOMEPAGE="http://vim-voom.github.com/ http://www.vim.org/scripts/script.php?script_id=2657"
|
||||
LICENSE="CC0-1.0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}.txt"
|
||||
|
||||
RDEPEND="|| ( app-editors/vim[python] app-editors/gvim[python] )"
|
@ -0,0 +1,167 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.8.7.ebuild,v 1.1 2014/10/18 15:09:26 floppym Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib multilib-minimal versionator
|
||||
|
||||
SRC_PV="$(printf "%u%02u%02u%02u" $(get_version_components))"
|
||||
DOC_PV="${SRC_PV}"
|
||||
# DOC_PV="$(printf "%u%02u%02u00" $(get_version_components $(get_version_component_range 1-3)))"
|
||||
|
||||
DESCRIPTION="A SQL Database Engine in a C Library"
|
||||
HOMEPAGE="http://sqlite.org/"
|
||||
SRC_URI="doc? ( http://sqlite.org/2014/${PN}-doc-${DOC_PV}.zip )
|
||||
tcl? ( http://sqlite.org/2014/${PN}-src-${SRC_PV}.zip )
|
||||
!tcl? (
|
||||
test? ( http://sqlite.org/2014/${PN}-src-${SRC_PV}.zip )
|
||||
!test? ( http://sqlite.org/2014/${PN}-autoconf-${SRC_PV}.tar.gz )
|
||||
)"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug doc icu +readline secure-delete static-libs tcl test"
|
||||
|
||||
RDEPEND="icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] )
|
||||
readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] )
|
||||
tcl? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] )
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20131008-r14
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-arch/unzip )
|
||||
tcl? ( app-arch/unzip )
|
||||
test? (
|
||||
app-arch/unzip
|
||||
dev-lang/tcl[${MULTILIB_USEDEP}]
|
||||
)"
|
||||
|
||||
amalgamation() {
|
||||
use !tcl && use !test
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if amalgamation; then
|
||||
S="${WORKDIR}/${PN}-autoconf-${SRC_PV}"
|
||||
else
|
||||
S="${WORKDIR}/${PN}-src-${SRC_PV}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if amalgamation; then
|
||||
epatch "${FILESDIR}/${PN}-3.8.1-autoconf-dlopen_check.patch"
|
||||
else
|
||||
epatch "${FILESDIR}/${PN}-3.8.1-src-dlopen_check.patch"
|
||||
epatch "${FILESDIR}/${PN}-3.8.1-tests-icu-52.patch"
|
||||
fi
|
||||
|
||||
eautoreconf
|
||||
|
||||
# At least ppc-aix, x86-interix and *-solaris need newer libtool.
|
||||
# use prefix && eautoreconf
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# `configure` from amalgamation tarball does not add -DSQLITE_DEBUG or -DNDEBUG flag.
|
||||
if amalgamation; then
|
||||
if use debug; then
|
||||
append-cppflags -DSQLITE_DEBUG
|
||||
else
|
||||
append-cppflags -DNDEBUG
|
||||
fi
|
||||
fi
|
||||
|
||||
# Support column metadata functions.
|
||||
# http://sqlite.org/c3ref/column_database_name.html
|
||||
# http://sqlite.org/c3ref/table_column_metadata.html
|
||||
append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA
|
||||
|
||||
# Support Full-Text Search versions 3 and 4.
|
||||
# http://sqlite.org/fts3.html
|
||||
append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4
|
||||
|
||||
# Support R*Trees.
|
||||
# http://sqlite.org/rtree.html
|
||||
append-cppflags -DSQLITE_ENABLE_RTREE
|
||||
|
||||
# Support soundex() function.
|
||||
# http://sqlite.org/lang_corefunc.html#soundex
|
||||
append-cppflags -DSQLITE_SOUNDEX
|
||||
|
||||
# Support unlock notification.
|
||||
# http://sqlite.org/unlock_notify.html
|
||||
append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY
|
||||
|
||||
if use icu; then
|
||||
append-cppflags -DSQLITE_ENABLE_ICU
|
||||
if amalgamation; then
|
||||
sed -e "s/LIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed"
|
||||
else
|
||||
sed -e "s/TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Enable secure_delete pragma.
|
||||
# http://sqlite.org/pragma.html#pragma_secure_delete
|
||||
if use secure-delete; then
|
||||
append-cppflags -DSQLITE_SECURE_DELETE
|
||||
fi
|
||||
|
||||
# Starting from 3.6.23, SQLite has locking strategies that are specific to
|
||||
# OSX. By default they are enabled, and use semantics that only make sense
|
||||
# on OSX. However, they require gethostuuid() function for that, which is
|
||||
# only available on OSX starting from 10.6 (Snow Leopard). For earlier
|
||||
# versions of OSX we have to disable all this nifty locking options, as
|
||||
# suggested by upstream.
|
||||
if [[ "${CHOST}" == *-darwin[56789] ]]; then
|
||||
append-cppflags -DSQLITE_ENABLE_LOCKING_STYLE="0"
|
||||
fi
|
||||
|
||||
if [[ "${CHOST}" == *-mint* ]]; then
|
||||
append-cppflags -DSQLITE_OMIT_WAL
|
||||
fi
|
||||
|
||||
# `configure` from amalgamation tarball does not support
|
||||
# --with-readline-inc and --(enable|disable)-tcl options.
|
||||
econf \
|
||||
--enable-$(amalgamation && echo dynamic-extensions || echo load-extension) \
|
||||
--enable-threadsafe \
|
||||
$(use_enable readline) \
|
||||
$(use_enable static-libs static) \
|
||||
$(amalgamation || echo --with-readline-inc="-I${EPREFIX}/usr/include/readline") \
|
||||
$(amalgamation || use_enable debug) \
|
||||
$(amalgamation || echo --enable-tcl)
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}"
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
if [[ "${EUID}" -eq 0 ]]; then
|
||||
ewarn "Skipping tests due to root permissions"
|
||||
return
|
||||
fi
|
||||
|
||||
emake $(use debug && echo fulltest || echo test)
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
prune_libtool_files
|
||||
|
||||
doman sqlite3.1
|
||||
|
||||
if use doc; then
|
||||
dohtml -A ico,odg,pdf,svg -r "${WORKDIR}/${PN}-doc-${DOC_PV}/"
|
||||
fi
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/elixir/elixir-1.0.1.ebuild,v 1.1 2014/10/17 19:35:47 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Elixir programming language"
|
||||
HOMEPAGE="http://elixir-lang.org"
|
||||
SRC_URI="https://github.com/elixir-lang/elixir/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 ErlPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/erlang-17"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
emake Q=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" PREFIX="/usr" install
|
||||
dodoc README.md CHANGELOG.md CONTRIBUTING.md
|
||||
}
|
@ -1,141 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/go/go-1.3.1.ebuild,v 1.2 2014/08/28 11:20:50 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
export CTARGET=${CTARGET:-${CHOST}}
|
||||
|
||||
inherit bash-completion-r1 elisp-common eutils
|
||||
|
||||
if [[ ${PV} = 9999 ]]; then
|
||||
EHG_REPO_URI="https://go.googlecode.com/hg"
|
||||
inherit mercurial
|
||||
else
|
||||
SRC_URI="https://storage.googleapis.com/golang/go${PV}.src.tar.gz"
|
||||
# Upstream only supports go on amd64, arm and x86 architectures.
|
||||
KEYWORDS="-* ~amd64 ~arm ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x86-macos"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A concurrent garbage collected and typesafe programming language"
|
||||
HOMEPAGE="http://www.golang.org"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="emacs vim-syntax zsh-completion"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="emacs? ( virtual/emacs )
|
||||
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
|
||||
zsh-completion? ( app-shells/zsh-completion )"
|
||||
|
||||
# The tools in /usr/lib/go should not cause the multilib-strict check to fail.
|
||||
QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
|
||||
|
||||
# The go language uses *.a files which are _NOT_ libraries and should not be
|
||||
# stripped.
|
||||
STRIP_MASK="/usr/lib/go/pkg/linux*/*.a /usr/lib/go/pkg/freebsd*/*.a"
|
||||
|
||||
if [[ ${PV} != 9999 ]]; then
|
||||
S="${WORKDIR}"/go
|
||||
fi
|
||||
|
||||
src_prepare()
|
||||
{
|
||||
if [[ ${PV} != 9999 ]]; then
|
||||
epatch "${FILESDIR}"/${PN}-1.2-no-Werror.patch
|
||||
fi
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_compile()
|
||||
{
|
||||
export GOROOT_FINAL="${EPREFIX}"/usr/lib/go
|
||||
export GOROOT="$(pwd)"
|
||||
export GOBIN="${GOROOT}/bin"
|
||||
if [[ $CTARGET = armv5* ]]
|
||||
then
|
||||
export GOARM=5
|
||||
fi
|
||||
|
||||
cd src
|
||||
./make.bash || die "build failed"
|
||||
cd ..
|
||||
|
||||
if use emacs; then
|
||||
elisp-compile misc/emacs/*.el
|
||||
fi
|
||||
}
|
||||
|
||||
src_test()
|
||||
{
|
||||
cd src
|
||||
PATH="${GOBIN}:${PATH}" \
|
||||
./run.bash --no-rebuild --banner || die "tests failed"
|
||||
}
|
||||
|
||||
src_install()
|
||||
{
|
||||
dobin bin/*
|
||||
dodoc AUTHORS CONTRIBUTORS PATENTS README
|
||||
|
||||
dodir /usr/lib/go
|
||||
insinto /usr/lib/go
|
||||
|
||||
# There is a known issue which requires the source tree to be installed [1].
|
||||
# Once this is fixed, we can consider using the doc use flag to control
|
||||
# installing the doc and src directories.
|
||||
# [1] http://code.google.com/p/go/issues/detail?id=2775
|
||||
doins -r doc include lib pkg src
|
||||
|
||||
dobashcomp misc/bash/go
|
||||
|
||||
if use emacs; then
|
||||
elisp-install ${PN} misc/emacs/*.el misc/emacs/*.elc
|
||||
fi
|
||||
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles
|
||||
doins -r misc/vim/ftdetect
|
||||
doins -r misc/vim/ftplugin
|
||||
doins -r misc/vim/syntax
|
||||
doins -r misc/vim/plugin
|
||||
doins -r misc/vim/indent
|
||||
fi
|
||||
|
||||
if use zsh-completion; then
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins misc/zsh/go
|
||||
fi
|
||||
|
||||
fperms -R +x /usr/lib/go/pkg/tool
|
||||
}
|
||||
|
||||
pkg_postinst()
|
||||
{
|
||||
if use emacs; then
|
||||
elisp-site-regen
|
||||
fi
|
||||
|
||||
# If the go tool sees a package file timestamped older than a dependancy it
|
||||
# will rebuild that file. So, in order to stop go from rebuilding lots of
|
||||
# packages for every build we need to fix the timestamps. The compiler and
|
||||
# linker are also checked - so we need to fix them too.
|
||||
ebegin "fixing timestamps to avoid unnecessary rebuilds"
|
||||
tref="usr/lib/go/pkg/*/runtime.a"
|
||||
find "${EROOT}"usr/lib/go -type f \
|
||||
-exec touch -r "${EROOT}"${tref} {} \;
|
||||
eend $?
|
||||
|
||||
if [[ ${PV} != 9999 && -n ${REPLACING_VERSIONS} &&
|
||||
${REPLACING_VERSIONS} != ${PV} ]]; then
|
||||
elog "Release notes are located at http://golang.org/doc/go${PV}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm()
|
||||
{
|
||||
if use emacs; then
|
||||
elisp-site-regen
|
||||
fi
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue