parent
1ecac83ddf
commit
2d29608e02
@ -1,4 +1,4 @@
|
||||
DIST ibus-1.4.1.tar.gz 1479412 SHA256 2f46de279ef3c0a48d3f52061794cfc6544ad8cfe3f04d9d12b251d119a180d6 SHA512 465f5d099ca60612e9d28c77da6a8da2435cc50c3f2f9b93c4c9258d18bb963d85b84ed9d7f9c58e90dc07a4898dc9668a6e2a3484b69074a1777761389ba468 WHIRLPOOL 800e68481202dfd6f4cef0de692f4fa3ceb9e570d34b632f9547605a9ed9688be75a69402ff5df3df71fed12f463502d6e8041862dd065e725e6fa16ec968bcf
|
||||
DIST ibus-1.4.2.tar.gz 1489482 SHA256 2418d9960d177c0ce7d3dc5ef8ab75cfc00e30f5e2c730b7d82f4f22666a04d7 SHA512 0070f7d0a4bc6510692851f60e06e487f75fdbe47f50a2371f62dd06b89f20950161b5f1bb91e025dd8dced654d9e90eb910bb5be8e8923869e96e5048f8316d WHIRLPOOL c480ef6fabfe24f2350a0222945860e3b890b32373e159032cc4a9bb1a1df2ad22b6ce11fb9845c5ebacdb7662b9dd26bffb7dd8f6d366551e9ec226e2b14d8d
|
||||
DIST ibus-1.4.99.20121006.tar.gz 1889138 SHA256 45ef3b81d92f72454676697dcd967fccefa2400507256c7d29b4586fe64dbd15 SHA512 00864a83af0124594313a3c89a699c14d8982f3f655526004ed87498081545d63ec83fbd41eb23264a32920e0bd8191c6c46bea23748ddb5c37f2eae5004f2a2 WHIRLPOOL 6dc24d24e170e4722baa2044abd42c24073e8ad93c8b63b15491b6492c91ca84eb31ffcd14a8eb43db0c9a2f4498103c353d4c1eff23a6b8d8a7e0b042a5466b
|
||||
DIST ibus-1.5.1.tar.gz 1888861 SHA256 6023809ced2794b75fad07eb1b1d6288154b373920ecdcd51582a4cde4e0d017 SHA512 8fcc0a6156d8638023f8a430385abd5a278af1c6fec9127c721831d408157fe5c74a7f2a9a46749d71edd3ea419335f9edce8f095a1414707197c652bdad4404 WHIRLPOOL 01fae34b89df4959136061cca1b050b5cb8c180df897a4d5994d3c588a280632cae97fe955e637ad2fce16412a1b63c48212ec7e720d61d9e5f29c65298bc094
|
||||
DIST ibus-1.5.2.tar.gz 1882764 SHA256 394f5653e336c6bc02cb055b8eac9f0c9b2a337d582b278e3e825e8cf3f0230d SHA512 6dbf7c59ea57f1683c80595d292ccbe218b419513df2f03978f058a31f1df472bb82331f3432154991bec384a941f7c2bf13fa56e1fbb351f85faf51ee6f1e23 WHIRLPOOL c8113db0ddc021efbde74ef30edf9a3f063b657262614c78bdac12834afff2e446cc4e3873799ab06b44f925a9f1f8bb3cd9d860b1a5ccee78879911e93aca68
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/im-chooser/im-chooser-1.6.2.ebuild,v 1.1 2013/05/04 00:37:43 naota Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit gnome2 eutils
|
||||
|
||||
DESCRIPTION="Desktop Input Method configuration tool"
|
||||
HOMEPAGE="https://fedorahosted.org/im-chooser/"
|
||||
SRC_URI="https://fedorahosted.org/releases/i/m/im-chooser/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gnome"
|
||||
|
||||
RDEPEND=">=app-i18n/imsettings-1.3.0
|
||||
>=dev-libs/glib-2.16:2
|
||||
>=x11-libs/gtk+-2.16:2
|
||||
gnome? ( >=gnome-base/gnome-control-center-2.29:2 )"
|
||||
# || (
|
||||
# (
|
||||
# >=dev-libs/glib:3
|
||||
# >=x11-libs/gtk+:3
|
||||
# gnome? ( gnome-base/gnome-control-center:3 )
|
||||
# )
|
||||
# (
|
||||
# >=dev-libs/glib-2.16:2
|
||||
# >=x11-libs/gtk+-2.16:2
|
||||
# gnome? ( >=gnome-base/gnome-control-center-2.29:2 )
|
||||
# )
|
||||
# )
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/intltool
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.5.1-imchooserui.patch
|
||||
gnome2_src_prepare
|
||||
}
|
@ -0,0 +1,76 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/imsettings/imsettings-1.5.0.ebuild,v 1.1 2013/05/04 00:17:24 naota Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Delivery framework for general Input Method configuration"
|
||||
HOMEPAGE="http://tagoh.github.com/imsettings/"
|
||||
SRC_URI="http://imsettings.googlecode.com/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc gconf gtk3 qt4 static-libs xfconf"
|
||||
|
||||
# X11 connections are required for test.
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=">=dev-libs/check-0.9.4
|
||||
>=dev-libs/glib-2.26
|
||||
sys-apps/dbus
|
||||
>=x11-libs/gtk+-2.12:2
|
||||
>=x11-libs/libgxim-0.3.1
|
||||
>=x11-libs/libnotify-0.7
|
||||
x11-libs/libX11
|
||||
gconf? ( gnome-base/gconf )
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
qt4? ( dev-qt/qtcore:4 )
|
||||
xfconf? ( xfce-base/xfconf )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
dev-util/intltool
|
||||
doc? ( dev-util/gtk-doc )"
|
||||
|
||||
MY_XINPUTSH="90-xinput"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README )
|
||||
|
||||
src_prepare() {
|
||||
# Prevent automagic linking to libxfconf-0.
|
||||
if ! use gconf; then
|
||||
sed -i -e 's:gconf-2.0:dIsAbLe&:' configure || die
|
||||
fi
|
||||
if ! use gtk3; then
|
||||
sed -i -e 's:gtk+-3.0:dIsAbLe&:' configure || die
|
||||
fi
|
||||
if ! use qt4; then
|
||||
sed -i -e 's:QtCore:dIsAbLe&:' configure || die
|
||||
fi
|
||||
if ! use xfconf; then
|
||||
sed -i -e 's:libxfconf-0:dIsAbLe&:' configure || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
--with-xinputsh="${MY_XINPUTSH}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${ED}" -name '*.la' -exec rm -f '{}' +
|
||||
|
||||
fperms 0755 /usr/libexec/xinputinfo.sh
|
||||
fperms 0755 "/etc/X11/xinit/xinitrc.d/${MY_XINPUTSH}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [ ! -e "${EPREFIX}/etc/X11/xinit/xinputrc" ] ; then
|
||||
ln -sf xinput.d/xcompose.conf "${EPREFIX}/etc/X11/xinit/xinputrc"
|
||||
fi
|
||||
}
|
@ -1,4 +1,9 @@
|
||||
DIST gmock-1.6.0.zip 2053682 SHA256 341ad07c31c619ba32c88c2265bc23693da1df062f47f146a7ed340f646d82b7 SHA512 7adff00bb6ff81a6ffb704be71d0747636d69e24b4a8b709e1fb8c177a9a47f6dea8d14fde73034ebfb1529c291c7212a944ad92a34f88abdfe23c2d0b11b6f7 WHIRLPOOL 1a03ff8f2d96287f5deb24f970688f20f3480e77a4a71089ef1399a87f28f616bf0feaedc217e7ac1ca8ca1246e53f5d882f350704be111ae547961949939530
|
||||
DIST gtest-1.6.0.zip 1121697 SHA256 5ec97df8e75b4ee796604e74716d1b50582beba22c5502edd055a7e67a3965d8 SHA512 f4718dfbfa3339bb9449c3f14e5b44ae405ea7df64c10a0957a6300985b71c4642981d069a1382e27ae041a4e2873527a9e442aff978447e795a190f99fac115 WHIRLPOOL 745a49020d4353ed2fa38adfc80bbd777358c831719bbe3b7c90d243f84256615222ba5f04d48d98b9e1a803bb40766799b3aedd575024c19d853d9239a12f8a
|
||||
DIST jsoncpp-src-0.6.0-rc2.tar.gz 117661 SHA256 d4d193d163f520b08b9155cba978615892ca1359d77e3fb261fce2f86d09b283 SHA512 5d44e766aa2d7657bc68cf16173130febaa6744d5fca0c6df5465617a3f306023a17cbeb07a62ad1a34c2d183d916401b4be48f37c2416c895db4ad5d9481b3d WHIRLPOOL bfa7e70e14f3ed0911c5127da0d2099ca8b9159a900a5bc5147d1e50b5a9f9d5be69a8d46a761d277ca1edabaab8d0d3b9f81417572e4664ed8239fd83c953e6
|
||||
DIST mozc-1.10.1390.102.tar.bz2 57879881 SHA256 72a8ed6657daa1c03b1efe50c262a69be2ab66d45747a47df6e54996b6d5ee39 SHA512 4482e822f8a14bffd02cb1eaa5d14ba0a213266b2f0dd6402c42b9b357bf0d8c4dd572cef79f1d400bd68b7bd6cb4367933574f8f5967f68738249a300e3cfb9 WHIRLPOOL 90518e621ef784b438fcf677e211fdb6753719f3d78d14ce866ccea22d6d87f8d64e334bc568eebe93cb2850d3d545eb0b73d6f6de820eaf1d43f16bfdef4100
|
||||
DIST mozc-1.3.975.102.tar.bz2 55961505 SHA256 1ee57425c159bc0066645f086472f72aa16567fe5be272f35339c41e9a52d27a SHA512 dd26382f69820fd7a662c02a157dfcb382020cf15d0bcd613e9015d6142241c46c73755f28cdd23e2c07740dbddad65714474e84759c1313d6a1ffe84f3dc176 WHIRLPOOL b786924fa2c7ad5381ce35f565b320fb63cda4d03f35ce5b6878a4193adf52c22aebe06c953de8ba8f281a08ec2bf7583c26a684f94fa5c4ba73b5bec3a7f577
|
||||
DIST mozc-1.5.1090.102.tar.bz2 54911799 SHA256 b52c1879c4749041032578ec6c591d9741f521d54993070c050d09ae35bd2107 SHA512 9901e58af10c67025dd030bd70c3b7d6be34b1e868aefcc0705a18f1b3e76394e4a4b36811df2e598ee1647ecd1f24ddcfe87db889863a5095c31a5680833fec WHIRLPOOL d503fd0c7c2871288d887d834996a53952591eb25ed57a5ef789347a8bf8e39ecc54fb408d53daa3a9018848d52b28bc77c964e202a3479d582529ffc021b598
|
||||
DIST mozc-1.6.1187.102.tar.bz2 54828375 SHA256 2a9b54275400c768e14156e7654e9b9a4ca27353573627607c70d221c0e2db65 SHA512 0f182316e80baa8c3d268a266398bd2abad4db9ed54bba351b275681d17ef6fd5348d3b66fd95201028c38f29de293f124b9c4f45a5818f20faf17b1eea495ff WHIRLPOOL fb064dd78471d2060871f905cb1c81fd9c52cc15741493aad26df49db4259709860593b65586a6c44893a6454fd7f2d27815739e1525f1c8fd0cf9eb0efff92a
|
||||
DIST protobuf-2.4.1.tar.bz2 1440188 SHA256 cf8452347330834bbf9c65c2e68b5562ba10c95fa40d4f7ec0d2cb332674b0bf SHA512 52b0208c685e44126cb3915a74bde692ef91430f0407144b6c30b72a9f143b1ee4f1eea47a550184c689a1758b92582e7f26f0683c2d387205b957a69830f2f3 WHIRLPOOL e5462ff35f63413aff58640c24b9b561ac55749c489803ae009de21bf5d954a77516714361353ef02cfeb3c2d762620c89dc08a5fdee571e3a33b6f5c20edf6e
|
||||
DIST protobuf-2.5.0.tar.bz2 1866763 SHA256 13bfc5ae543cf3aa180ac2485c0bc89495e3ae711fc6fab4f8ffe90dfb4bb677 SHA512 5994b3669808b82fef5c860ecad36358c0767f84acac877e7bfcf722e59d972835a955714149bdd4158fbd1328a51d01397a563991d26475351ee72be48142ee WHIRLPOOL 7e6786e1f20bf253d0e386a95c2bbfe1b443f484d492f97552cadcea62c24461436aa88130e3ff20b4dc9f352c101458cb8c03686f1cc4e6e2133b6e78f5b70d
|
||||
|
@ -0,0 +1,12 @@
|
||||
diff --git a/gyp/common.gypi b/gyp/common.gypi
|
||||
index 6c176ff..3613b1b 100755
|
||||
--- a/gyp/common.gypi
|
||||
+++ b/gyp/common.gypi
|
||||
@@ -58,7 +58,6 @@
|
||||
# warning_cflags will be shared with Mac and Linux.
|
||||
'warning_cflags': [
|
||||
'-Wall',
|
||||
- '-Werror',
|
||||
'-Wno-char-subscripts',
|
||||
'-Wno-sign-compare',
|
||||
'-Wno-deprecated-declarations',
|
@ -0,0 +1,175 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/mozc/mozc-1.10.1390.102.ebuild,v 1.1 2013/05/04 03:20:57 naota Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
inherit elisp-common eutils multilib multiprocessing python-single-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="The Mozc engine for IBus Framework"
|
||||
HOMEPAGE="http://code.google.com/p/mozc/"
|
||||
|
||||
PROTOBUF_VER="2.5.0"
|
||||
GMOCK_VER="1.6.0"
|
||||
GTEST_VER="1.6.0"
|
||||
JSONCPP_VER="0.6.0-rc2"
|
||||
MOZC_URL="http://mozc.googlecode.com/files/${P}.tar.bz2"
|
||||
PROTOBUF_URL="http://protobuf.googlecode.com/files/protobuf-${PROTOBUF_VER}.tar.bz2"
|
||||
GMOCK_URL="https://googlemock.googlecode.com/files/gmock-${GMOCK_VER}.zip"
|
||||
GTEST_URL="https://googletest.googlecode.com/files/gtest-${GTEST_VER}.zip"
|
||||
JSONCPP_URL="mirror://sourceforge/jsoncpp/jsoncpp-src-${JSONCPP_VER}.tar.gz"
|
||||
SRC_URI="${MOZC_URL} ${PROTOBUF_URL}
|
||||
test? ( ${GMOCK_URL} ${GTEST_URL} ${JSONCPP_URL} )"
|
||||
|
||||
LICENSE="Apache-2.0 BSD Boost-1.0 ipadic public-domain unicode"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="emacs +ibus +qt4 renderer test"
|
||||
|
||||
RDEPEND="dev-libs/glib:2
|
||||
dev-libs/openssl
|
||||
x11-libs/libxcb
|
||||
emacs? ( virtual/emacs )
|
||||
ibus? ( >=app-i18n/ibus-1.4.1 )
|
||||
renderer? ( x11-libs/gtk+:2 )
|
||||
qt4? (
|
||||
dev-qt/qtgui:4
|
||||
app-i18n/zinnia
|
||||
)
|
||||
${PYTHON_DEPS}"
|
||||
DEPEND="${RDEPEND}
|
||||
~dev-libs/protobuf-2.4.1
|
||||
virtual/pkgconfig"
|
||||
|
||||
BUILDTYPE="${BUILDTYPE:-Release}"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
SITEFILE=50${PN}-gentoo.el
|
||||
|
||||
src_unpack() {
|
||||
unpack $(basename ${MOZC_URL})
|
||||
|
||||
cd "${S}"/protobuf
|
||||
unpack $(basename ${PROTOBUF_URL})
|
||||
mv protobuf-${PROTOBUF_VER} files || die
|
||||
|
||||
if use test; then
|
||||
cd "${S}"/third_party
|
||||
unpack $(basename ${GMOCK_URL}) $(basename ${GTEST_URL}) \
|
||||
$(basename ${JSONCPP_URL})
|
||||
mv gmock-${GMOCK_VER} gmock || die
|
||||
mv gtest-${GTEST_VER} gtest || die
|
||||
mv jsoncpp-src-${JSONCPP_VER} jsoncpp || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-drop-Werror.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="--server_dir=/usr/$(get_libdir)/mozc"
|
||||
|
||||
if ! use qt4 ; then
|
||||
myconf+=" --noqt"
|
||||
export GYP_DEFINES="use_libzinnia=0"
|
||||
fi
|
||||
|
||||
if ! use renderer ; then
|
||||
export GYP_DEFINES="${GYP_DEFINES} enable_gtk_renderer=0"
|
||||
fi
|
||||
|
||||
# export GYP_DEFINES="${GYP_DEFINES} use_libprotobuf=1"
|
||||
|
||||
"${PYTHON}" build_mozc.py gyp ${myconf} || die "gyp failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC CXX AR AS RANLIB LD
|
||||
|
||||
local my_makeopts=$(makeopts_jobs)
|
||||
# This is for a safety. -j without a number, makeopts_jobs returns 999.
|
||||
local myjobs=-j${my_makeopts/999/1}
|
||||
|
||||
local mytarget="server/server.gyp:mozc_server"
|
||||
use emacs && mytarget="${mytarget} unix/emacs/emacs.gyp:mozc_emacs_helper"
|
||||
use ibus && mytarget="${mytarget} unix/ibus/ibus.gyp:ibus_mozc"
|
||||
use renderer && mytarget="${mytarget} renderer/renderer.gyp:mozc_renderer"
|
||||
if use qt4 ; then
|
||||
export QTDIR="${EPREFIX}/usr"
|
||||
mytarget="${mytarget} gui/gui.gyp:mozc_tool"
|
||||
fi
|
||||
|
||||
V=1 "${PYTHON}" build_mozc.py build_tools -c "${BUILDTYPE}" ${myjobs} || die
|
||||
V=1 "${PYTHON}" build_mozc.py build -c "${BUILDTYPE}" ${mytarget} ${myjobs} || die
|
||||
|
||||
if use emacs ; then
|
||||
elisp-compile unix/emacs/*.el || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
tc-export CC CXX AR AS RANLIB LD
|
||||
V=1 "${PYTHON}" build_mozc.py runtests -c "${BUILDTYPE}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use emacs ; then
|
||||
dobin "out_linux/${BUILDTYPE}/mozc_emacs_helper" || die
|
||||
elisp-install ${PN} unix/emacs/*.{el,elc} || die
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}" ${PN} || die
|
||||
fi
|
||||
|
||||
if use ibus ; then
|
||||
exeinto /usr/libexec || die
|
||||
newexe "out_linux/${BUILDTYPE}/ibus_mozc" ibus-engine-mozc || die
|
||||
insinto /usr/share/ibus/component || die
|
||||
doins "out_linux/${BUILDTYPE}/obj/gen/unix/ibus/mozc.xml" || die
|
||||
insinto /usr/share/ibus-mozc || die
|
||||
(
|
||||
cd data/images/unix
|
||||
newins ime_product_icon_opensource-32.png product_icon.png || die
|
||||
for f in ui-*
|
||||
do
|
||||
newins ${f} ${f/ui-} || die
|
||||
done
|
||||
)
|
||||
|
||||
fi
|
||||
|
||||
exeinto "/usr/$(get_libdir)/mozc" || die
|
||||
doexe "out_linux/${BUILDTYPE}/mozc_server" || die
|
||||
|
||||
if use qt4 ; then
|
||||
exeinto "/usr/$(get_libdir)/mozc" || die
|
||||
doexe "out_linux/${BUILDTYPE}/mozc_tool" || die
|
||||
fi
|
||||
|
||||
if use renderer ; then
|
||||
exeinto "/usr/$(get_libdir)/mozc" || die
|
||||
doexe "out_linux/${BUILDTYPE}/mozc_renderer" || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use emacs ; then
|
||||
elisp-site-regen
|
||||
elog "You can use mozc-mode via LEIM (Library of Emacs Input Method)."
|
||||
elog "Write the following settings into your init file (~/.emacs.d/init.el"
|
||||
elog "or ~/.emacs) in order to use mozc-mode by default, or you can call"
|
||||
elog "\`set-input-method' and set \"japanese-mozc\" anytime you have loaded"
|
||||
elog "mozc.el"
|
||||
elog
|
||||
elog " (require 'mozc)"
|
||||
elog " (set-language-environment \"Japanese\")"
|
||||
elog " (setq default-input-method \"japanese-mozc\")"
|
||||
elog
|
||||
elog "Having the above settings, just type C-\\ which is bound to"
|
||||
elog "\`toggle-input-method' by default."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -0,0 +1,92 @@
|
||||
diff --git a/plugins/IMs/jianpin/dict/char2db.cpp b/plugins/IMs/jianpin/dict/char2db.cpp
|
||||
index f36dda9..fb17c6e 100644
|
||||
--- a/plugins/IMs/jianpin/dict/char2db.cpp
|
||||
+++ b/plugins/IMs/jianpin/dict/char2db.cpp
|
||||
@@ -166,6 +166,8 @@ int main(int argc, char * argv[])
|
||||
int i = 0;
|
||||
for (;;){
|
||||
in >> mark;
|
||||
+ if (in.eof())
|
||||
+ break;
|
||||
in.unget();
|
||||
if (mark == '%'){ //for comments
|
||||
in.getline(dummy, 255);
|
||||
@@ -175,9 +177,6 @@ int main(int argc, char * argv[])
|
||||
}
|
||||
in >> ckey.py >> c;
|
||||
|
||||
- if (in.eof())
|
||||
- break;
|
||||
-
|
||||
if (strlen(c) != 2){
|
||||
cout << "error on line: " << i << endl;
|
||||
exit(1);
|
||||
diff --git a/plugins/IMs/jianpin/dict/word2db.cpp b/plugins/IMs/jianpin/dict/word2db.cpp
|
||||
index 6b6b8e0..f9a6d0b 100644
|
||||
--- a/plugins/IMs/jianpin/dict/word2db.cpp
|
||||
+++ b/plugins/IMs/jianpin/dict/word2db.cpp
|
||||
@@ -103,6 +103,8 @@ int main(int argc, char * argv[])
|
||||
rec.access_count = MAX_ACCESS_COUNT;
|
||||
for (;;){
|
||||
in >> mark;
|
||||
+ if (in.eof())
|
||||
+ break;
|
||||
in.unget();
|
||||
if (mark == '%'){ //for comments
|
||||
in.getline(wk.py, sizeof(wk.py));
|
||||
@@ -113,9 +115,6 @@ int main(int argc, char * argv[])
|
||||
|
||||
in >> w >> wk.py;
|
||||
|
||||
- if (in.eof())
|
||||
- break;
|
||||
-
|
||||
if ((wk.py[0] < 'a') || (wk.py[0] > 'z')){
|
||||
cerr << " error on line:" << i << endl;
|
||||
db.close(0);
|
||||
diff --git a/plugins/IMs/table/dict/word2db.cpp b/plugins/IMs/table/dict/word2db.cpp
|
||||
index aa19a60..f0368ce 100644
|
||||
--- a/plugins/IMs/table/dict/word2db.cpp
|
||||
+++ b/plugins/IMs/table/dict/word2db.cpp
|
||||
@@ -112,6 +112,8 @@ int main(int argc, char * argv[])
|
||||
for (;;){
|
||||
j++;
|
||||
in >> mark;
|
||||
+ if (in.eof())
|
||||
+ break;
|
||||
in.unget();
|
||||
if ((mark == '%') || (mark == '#')){ //for comments
|
||||
in.getline((char *)wbuf, 1000);
|
||||
@@ -123,9 +125,6 @@ int main(int argc, char * argv[])
|
||||
|
||||
in >> wk.key >> w;
|
||||
|
||||
- if (in.eof())
|
||||
- break;
|
||||
-
|
||||
if ((wk.key[0] < 'a') || (wk.key[0] > 'z')){
|
||||
//cerr << " error on line:" << j << endl;
|
||||
errcnt ++;
|
||||
diff --git a/plugins/IMs/wubi/dict/word2db.cpp b/plugins/IMs/wubi/dict/word2db.cpp
|
||||
index a1df52b..3fe1e3e 100644
|
||||
--- a/plugins/IMs/wubi/dict/word2db.cpp
|
||||
+++ b/plugins/IMs/wubi/dict/word2db.cpp
|
||||
@@ -103,6 +103,8 @@ int main(int argc, char * argv[])
|
||||
for (;;){
|
||||
j++;
|
||||
in >> mark;
|
||||
+ if (in.eof())
|
||||
+ break;
|
||||
in.unget();
|
||||
if (mark == '%'){ //for comments
|
||||
in.getline(wk.key, sizeof(wk.key));
|
||||
@@ -114,9 +116,6 @@ int main(int argc, char * argv[])
|
||||
|
||||
in >> wk.key >> w;
|
||||
|
||||
- if (in.eof())
|
||||
- break;
|
||||
-
|
||||
if ((wk.key[0] < 'a') || (wk.key[0] > 'z')){
|
||||
//cerr << " error on line:" << j << endl;
|
||||
errcnt ++;
|
@ -0,0 +1,153 @@
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index 6a7a195..6d2b4e6 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -36,7 +36,7 @@ distclean: clean
|
||||
done && test -z "$$fail"
|
||||
|
||||
install-data:
|
||||
- cd plugins/IMs;make install-data
|
||||
+ cd plugins/IMs;$(MAKE) install-data
|
||||
|
||||
uninstall:
|
||||
@for dir in ${subdirs}; do \
|
||||
diff --git a/plugins/IMs/jianpin/Makefile.in b/plugins/IMs/jianpin/Makefile.in
|
||||
index cbbac33..50d7ef0 100644
|
||||
--- a/plugins/IMs/jianpin/Makefile.in
|
||||
+++ b/plugins/IMs/jianpin/Makefile.in
|
||||
@@ -25,7 +25,7 @@ OBJS=simpleim.o simpleimc.o pyphraser.o
|
||||
TARGET=jianpin.so
|
||||
|
||||
all:$(TARGET)
|
||||
- cd dict; make
|
||||
+ cd dict; $(MAKE)
|
||||
|
||||
jianpin.so:$(OBJS)
|
||||
$(LD_SHAREEXE) -shared -o $(TARGET) $(OBJS) $(LDFLAGS) -L$(bdblibs) $(LIBS) -l$(bdblib) $(gcclib)
|
||||
@@ -41,20 +41,20 @@ pyphraser.o:pyphraser.cpp pyphraser.h simpleimc.h $(include_path)wstring.h
|
||||
|
||||
clean:
|
||||
rm -f *.o $(TARGET) core *~ *.bak
|
||||
- cd dict; make clean
|
||||
+ cd dict; $(MAKE) clean
|
||||
|
||||
distclean:clean
|
||||
rm -rf Makefile
|
||||
- cd dict; make distclean
|
||||
+ cd dict; $(MAKE) distclean
|
||||
|
||||
install:all
|
||||
$(topdir)/mkinstalldirs $(xsim_libp)
|
||||
cp -f $(TARGET) $(xsim_libp)
|
||||
- cd dict; make install
|
||||
+ cd dict; $(MAKE) install
|
||||
|
||||
install-data:
|
||||
- cd dict;make install-data
|
||||
+ cd dict;$(MAKE) install-data
|
||||
|
||||
uninstall:
|
||||
cd $(xsim_libp); rm -f $(TARGET)
|
||||
- cd dict;make uninstall
|
||||
+ cd dict;$(MAKE) uninstall
|
||||
diff --git a/plugins/IMs/table/Makefile.in b/plugins/IMs/table/Makefile.in
|
||||
index a747560..cbc67bc 100644
|
||||
--- a/plugins/IMs/table/Makefile.in
|
||||
+++ b/plugins/IMs/table/Makefile.in
|
||||
@@ -25,7 +25,7 @@ OBJS=tableim.o tableimc.o
|
||||
TARGET=table.so
|
||||
|
||||
all:$(TARGET)
|
||||
- cd dict; make
|
||||
+ cd dict; $(MAKE)
|
||||
|
||||
$(TARGET):$(OBJS)
|
||||
$(LD_SHAREEXE) -shared -o $(TARGET) $(OBJS) $(LDFLAGS) -L$(bdblibs) $(LIBS) -l$(bdblib) $(gcclib)
|
||||
@@ -38,20 +38,20 @@ tableimc.o:tableimc.h tableimc.cpp $(include_path)wstring.h $(include_path)imc.h
|
||||
|
||||
clean:
|
||||
rm -f *.o $(TARGET) core *~ *.bak
|
||||
- cd dict; make clean
|
||||
+ cd dict; $(MAKE) clean
|
||||
|
||||
distclean:clean
|
||||
rm -rf Makefile
|
||||
- cd dict; make distclean
|
||||
+ cd dict; $(MAKE) distclean
|
||||
|
||||
install:all
|
||||
$(topdir)/mkinstalldirs $(xsim_libp)
|
||||
cp -f $(TARGET) $(xsim_libp)
|
||||
- cd dict; make install
|
||||
+ cd dict; $(MAKE) install
|
||||
|
||||
install-data:
|
||||
- cd dict;make install-data
|
||||
+ cd dict;$(MAKE) install-data
|
||||
|
||||
uninstall:
|
||||
cd $(xsim_libp); rm -f $(TARGET)
|
||||
- cd dict; make uninstall
|
||||
+ cd dict; $(MAKE) uninstall
|
||||
diff --git a/plugins/IMs/wubi/Makefile.in b/plugins/IMs/wubi/Makefile.in
|
||||
index 031f1a7..c3d0f88 100644
|
||||
--- a/plugins/IMs/wubi/Makefile.in
|
||||
+++ b/plugins/IMs/wubi/Makefile.in
|
||||
@@ -25,7 +25,7 @@ OBJS=wubiim.o wubiimc.o
|
||||
TARGET=wubi.so
|
||||
|
||||
all:$(TARGET)
|
||||
- cd dict; make
|
||||
+ cd dict; $(MAKE)
|
||||
|
||||
$(TARGET):$(OBJS)
|
||||
$(LD_SHAREEXE) -shared -o $(TARGET) $(OBJS) $(LDFLAGS) -L$(bdblibs) $(LIBS) -l$(bdblib) $(gcclib)
|
||||
@@ -38,20 +38,20 @@ wubiimc.o:wubiimc.h wubiimc.cpp $(include_path)wstring.h $(include_path)imc.h
|
||||
|
||||
clean:
|
||||
rm -f *.o $(TARGET) core *~ *.bak
|
||||
- cd dict; make clean
|
||||
+ cd dict; $(MAKE) clean
|
||||
|
||||
distclean:clean
|
||||
rm -rf Makefile
|
||||
- cd dict; make distclean
|
||||
+ cd dict; $(MAKE) distclean
|
||||
|
||||
install:all
|
||||
$(topdir)/mkinstalldirs $(xsim_libp)
|
||||
cp -f $(TARGET) $(xsim_libp)
|
||||
- cd dict; make install
|
||||
+ cd dict; $(MAKE) install
|
||||
|
||||
install-data:
|
||||
- cd dict;make install-data
|
||||
+ cd dict;$(MAKE) install-data
|
||||
|
||||
uninstall:
|
||||
cd $(xsim_libp); rm -f $(TARGET)
|
||||
- cd dict; make uninstall
|
||||
+ cd dict; $(MAKE) uninstall
|
||||
diff --git a/xsim/Makefile.in b/xsim/Makefile.in
|
||||
index d618a2c..bbe1599 100644
|
||||
--- a/xsim/Makefile.in
|
||||
+++ b/xsim/Makefile.in
|
||||
@@ -58,15 +58,15 @@ wstring.o:wstring.h wstring.cpp
|
||||
$(CXX) -c wstring.cpp $(CXXFLAGS) -I./IMdkit
|
||||
|
||||
IMdkit/libXimd.a:
|
||||
- cd IMdkit;make
|
||||
+ cd IMdkit;$(MAKE)
|
||||
|
||||
clean:
|
||||
rm -f *.o xsim core *~ *.bak
|
||||
- cd IMdkit; make clean
|
||||
+ cd IMdkit; $(MAKE) clean
|
||||
|
||||
distclean:clean
|
||||
rm -rf Makefile tags
|
||||
- cd IMdkit; make distclean
|
||||
+ cd IMdkit; $(MAKE) distclean
|
||||
|
||||
install:all
|
||||
$(topdir)/mkinstalldirs $(xsim_binp)
|
@ -0,0 +1 @@
|
||||
DIST zinnia-tomoe-0.6.0-20080911.tar.bz2 30666390 SHA256 fd1a264b8aeea0ebec59e8c8765864a9543a75fb2dba349745bb3a3587790927 SHA512 5c5cf06de46b8feebebca38d8ee4908af1d58f921e30bbbf92b9e5b79acb37e9c78466a1771dc01ddabe4740a0f03f41c50dce55fc38a414b582a1b4708886f5 WHIRLPOOL 578e92f1b6d52af65d6f9ecac71d714c8c50ded42b8e4f47ffecd9045cdac538544028baf18f360304e58049dcc81ae5a2b025f553b0de71ff1de89048f29070
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>cjk</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/zinnia-tomoe/zinnia-tomoe-0.6.0_p20080911.ebuild,v 1.1 2013/05/04 05:22:49 naota Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
MY_P=${P/_p/-}
|
||||
|
||||
DESCRIPTION="Handwriting model files trained with Tomoe data"
|
||||
HOMEPAGE="http://zinnia.sourceforge.net/index.html"
|
||||
SRC_URI="mirror://sourceforge/zinnia/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
@ -0,0 +1,90 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/bash-completion-1.3-r2.ebuild,v 1.1 2013/05/04 09:23:33 ssuominen Exp $
|
||||
|
||||
EAPI=3
|
||||
inherit prefix
|
||||
|
||||
DESCRIPTION="Programmable Completion for bash"
|
||||
HOMEPAGE="http://bash-completion.alioth.debian.org/"
|
||||
SRC_URI="http://bash-completion.alioth.debian.org/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="app-admin/eselect
|
||||
|| ( >=app-shells/bash-3.2 app-shells/zsh )
|
||||
sys-apps/miscfiles"
|
||||
PDEPEND="app-shells/gentoo-bashcomp"
|
||||
|
||||
src_prepare() {
|
||||
cp "${FILESDIR}"/bash-completion.sh-gentoo-1.2 "${T}"/bash-completion.sh || die
|
||||
eprefixify "${T}"/bash-completion.sh
|
||||
|
||||
find completions -name 'Makefile*' -exec rm -f {} +
|
||||
|
||||
# Part of >=sys-apps/util-linux-2.23 wrt #468544
|
||||
rm -f completions/rtcwake
|
||||
}
|
||||
|
||||
src_configure() { :; } # no-op
|
||||
src_compile() { :; } # no-op
|
||||
|
||||
src_install() {
|
||||
# Gentoo specific bash-completion.sh file.
|
||||
insinto /etc/profile.d
|
||||
doins "${T}"/bash-completion.sh || die
|
||||
|
||||
# All files from contrib/ in source package get installed
|
||||
insinto /usr/share/bash-completion
|
||||
doins -r "${S}"/completions/* || die
|
||||
|
||||
awk -v D="$ED" '
|
||||
BEGIN { out=".pre" }
|
||||
/^# A lot of the following one-liners/ { out="base" }
|
||||
/^# start of section containing completion functions called by other functions/ { out=".pre" }
|
||||
/^# start of section containing completion functions for external programs/ { out="base" }
|
||||
/^# source completion directory/ { out="" }
|
||||
/^unset -f have/ { out=".post" }
|
||||
out != "" { print > D"/usr/share/bash-completion/"out }' \
|
||||
bash_completion || die "failed to split bash_completion"
|
||||
|
||||
dodoc AUTHORS CHANGES README TODO || die "dodocs failes"
|
||||
|
||||
# This is backported from upstream 2.0 release. You can stop installing
|
||||
# this file after 2.0 is in Portage and use the one from the tarball
|
||||
# instead.
|
||||
# Installed to datadir instead of libdir because bash-completion(s)
|
||||
# are not ELF files.
|
||||
insinto /usr/share/pkgconfig
|
||||
doins "${FILESDIR}"/bash-completion.pc || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Any user can enable the module completions without editing their"
|
||||
elog ".bashrc by running:"
|
||||
elog
|
||||
elog " eselect bashcomp enable <module>"
|
||||
elog
|
||||
elog "The system administrator can also be enable this globally with"
|
||||
elog
|
||||
elog " eselect bashcomp enable --global <module>"
|
||||
elog
|
||||
elog "Make sure you at least enable the base module! Additional completion"
|
||||
elog "modules can be found by running"
|
||||
elog
|
||||
elog " eselect bashcomp list"
|
||||
elog
|
||||
elog "If you use non-login shells you still need to source"
|
||||
elog "/etc/profile.d/bash-completion.sh in your ~/.bashrc."
|
||||
|
||||
if has_version 'app-shells/zsh' ; then
|
||||
elog "If you are interested in using the provided bash completion functions with"
|
||||
elog "zsh, valuable tips on the effective use of bashcompinit are available:"
|
||||
elog " http://www.zsh.org/mla/workers/2003/msg00046.html"
|
||||
elog
|
||||
fi
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/mksh/mksh-46.ebuild,v 1.1 2013/05/04 08:23:39 patrick Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="MirBSD KSH Shell"
|
||||
HOMEPAGE="http://mirbsd.de/mksh"
|
||||
SRC_URI="http://www.mirbsd.org/MirOS/dist/mir/mksh/${PN}-R${PV}.tgz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="static"
|
||||
DEPEND="static? ( dev-libs/klibc )"
|
||||
RDEPEND=""
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
# we want to build static with klibc
|
||||
if use static; then unset CC; export CC="/usr/bin/klcc"; export LDSTATIC="-static"; fi
|
||||
export CPPFLAGS="${CPPFLAGS} -DMKSH_DEFAULT_PROFILEDIR=\\\"${EPREFIX}/etc\\\""
|
||||
# we can't assume lto existing/enabled, so we add a fallback
|
||||
sh Build.sh -r -c lto || sh Rebuild.sh || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /bin
|
||||
doexe mksh
|
||||
doman mksh.1
|
||||
dodoc dot.mkshrc
|
||||
}
|
||||
|
||||
src_test() {
|
||||
./test.sh || die
|
||||
}
|
@ -1,18 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>grobian@gentoo.org</email>
|
||||
<name>Fabian Groffen</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
<maintainer>
|
||||
<email>grobian@gentoo.org</email>
|
||||
<name>Fabian Groffen</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Tcsh is an enhanced, but completely compatible version of the Berkeley
|
||||
UNIX C shell (csh). It is a command language interpreter usable both as
|
||||
an interactive login shell and a shell script command processor. It
|
||||
includes a command-line editor, programmable word completion, spelling
|
||||
correction, a history mechanism, job control and a C-like syntax.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name='catalogs'>Add support for NLS catalogs</flag>
|
||||
</use>
|
||||
<use>
|
||||
<flag name="catalogs">Add support for NLS catalogs</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST newt-0.52.12.tar.gz 178027 SHA256 2ba88dc3d118daf509c58e3707c43ad57dd3415d8164054e93fe76439f348529 SHA512 71092b3379cb7faaf461ee87695951fc87bac637bdcce2a0db156e4ec1eba7241551150f973e555910461c53965ba4dacd5cf7bf9b30807f5ede3a9ae26d5726 WHIRLPOOL a517bcd88525a591c400fd57dde4d494ee029174b7ef96a70e215ad4ed9b6f4862c2e994445a5164a8eaf9ce314fbca350f1566e439a502dbc66dd0ce0def539
|
||||
DIST newt-0.52.13.tar.gz 183466 SHA256 01c254b00a3d27e22f13240b6db74df04e721ccec4d1d4fc7b45fee009efc05f SHA512 fb4066dc76f760edd1ce5bb215916f923337504b874029618193d5e526f35d638dffaf1774c5dfaa1b178579c008625bbead4088dcd58f2e5fac12311334eff9 WHIRLPOOL 8cbf35e7109332e5648e4053106cc6e328a1fa2266cb521eed77c807ebb8690c8ef26cbca0df09ce6fd7c54a5e776aa01b88b9956bf9a4f01e5986853089a23b
|
||||
DIST newt-0.52.14.tar.gz 183621 SHA256 f70f4f58baa60388ddf2e39249ffb00898fb40f2b2767e42e2ab51fe4b40978e SHA512 b01442d318ecc21800671aa8d0c94235c00674a0017d124d69b9148c946663fd572272401f935a759c1a6ef48b44cbee2a19c068c871afc2ee51e1952c36a79d WHIRLPOOL bd8af85cfee8377d23e2d074b532a80dd63472a71df38d86105061ebaa268cd7bbb56a11f53d9d54d0732a66557c283f72f96410be0f4f70838010dc7a3f7cca
|
||||
DIST newt-0.52.15.tar.gz 183171 SHA256 7a6151923e7a8a950f9a8a21668a5780d09b0f35f9d76a7ec606c71c35a0e241 SHA512 f93798e8e9e33b4bc1bbb6039d94ccdf55be76a0e0f918eb32a241fe527ea61121a8fc35ccd699e3f6202eb367ba4b4025b30264bd9b0face7c16782f113051e WHIRLPOOL 3b23d149964bb63b6c1de2f84c7d8eaac4ecb004698135e41afd0e3ca2702f8687f9ca46a4bc10c2d4a372b9b10e7dd792a6d56deee59e2f30f942776f6d625b
|
||||
|
@ -0,0 +1,22 @@
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index 75764e1..ca95bb6 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -78,7 +78,7 @@ showkey: showkey.o $(LIBNEWT)
|
||||
|
||||
_snackmodule.so: snackmodule.c $(LIBNEWTSH)
|
||||
@[ -n "$(PYTHONVERS)" ] && for ver in $(PYTHONVERS); do \
|
||||
- pyconfig=$$ver-config; \
|
||||
+ pyconfig=$${ver/python/python-config-}; \
|
||||
if ! $$pyconfig --cflags > /dev/null 2>&1 && \
|
||||
python-config --cflags > /dev/null 2>&1; then \
|
||||
echo $$pyconfig not found, using python-config; \
|
||||
@@ -90,7 +90,7 @@ _snackmodule.so: snackmodule.c $(LIBNEWTSH)
|
||||
PLDFLAGS=`$$pyconfig --ldflags`; \
|
||||
PLFLAGS=`$$pyconfig --libs`; \
|
||||
echo $(CC) $(SHCFLAGS) $(CPPFLAGS) $$PIFLAGS $$PCFLAGS -c -o $$ver/snackmodule.o snackmodule.c; \
|
||||
- $(CC) $(SHCFLAGS) $(CPPFLAGS) $$PIFLAGS $$PCFLAGS -c -o $$ver/snackmodule.o snackmodule.c; \
|
||||
+ $(CC) $(SHCFLAGS) $(CFLAGS) $(CPPFLAGS) $$PIFLAGS $$PCFLAGS -c -o $$ver/snackmodule.o snackmodule.c; \
|
||||
echo $(CC) --shared $$PLDFLAGS $$PLFLAGS $(LDFLAGS) -o $$ver/_snackmodule.so $$ver/snackmodule.o -L. -lnewt $(LIBS); \
|
||||
$(CC) --shared $$PLDFLAGS $$PLFLAGS $(LDFLAGS) -o $$ver/_snackmodule.so $$ver/snackmodule.o -L. -lnewt $(LIBS); \
|
||||
done || :
|
@ -0,0 +1,82 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.15.ebuild,v 1.1 2013/05/04 00:40:07 naota Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit eutils multilib python-r1 autotools
|
||||
|
||||
DESCRIPTION="Redhat's Newt windowing toolkit development files"
|
||||
HOMEPAGE="https://fedorahosted.org/newt/"
|
||||
SRC_URI="https://fedorahosted.org/releases/n/e/newt/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="gpm tcl nls"
|
||||
|
||||
RDEPEND="=sys-libs/slang-2*
|
||||
>=dev-libs/popt-1.6
|
||||
elibc_uclibc? ( sys-libs/ncurses )
|
||||
gpm? ( sys-libs/gpm )
|
||||
tcl? ( >=dev-lang/tcl-8.5 )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
src_prepare() {
|
||||
# bug 73850
|
||||
if use elibc_uclibc; then
|
||||
sed -i -e 's:-lslang:-lslang -lncurses:g' Makefile.in || die
|
||||
fi
|
||||
|
||||
sed -i Makefile.in \
|
||||
-e 's|-ltcl8.4|-ltcl|g' \
|
||||
-e 's|$(SHCFLAGS) -o|$(LDFLAGS) &|g' \
|
||||
-e 's|-g -o|$(CFLAGS) $(LDFLAGS) -o|g' \
|
||||
-e 's|-shared -o|$(CFLAGS) $(LDFLAGS) &|g' \
|
||||
-e 's|instroot|DESTDIR|g' \
|
||||
-e 's| make | $(MAKE) |g' \
|
||||
|| die "sed Makefile.in"
|
||||
|
||||
local langs=""
|
||||
if [ -n "${LINGUAS}" ]; then
|
||||
for lang in ${LINGUAS}; do
|
||||
test -r po/${lang}.po && langs="${langs} ${lang}.po"
|
||||
done
|
||||
sed -i po/Makefile \
|
||||
-e "/^CATALOGS = /cCATALOGS = ${langs}" \
|
||||
|| die "sed po/Makefile"
|
||||
fi
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-0.52.13-gold.patch \
|
||||
"${FILESDIR}"/${PN}-0.52.15-snack.patch \
|
||||
"${FILESDIR}"/${PN}-0.52.14-tcl.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with gpm gpm-support) \
|
||||
$(use_with tcl) \
|
||||
$(use_enable nls)
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
emake PYTHONVERS="${PYTHON}" || die "emake failed"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
PYTHONVERS="${PYTHON}" \
|
||||
install || die "make install failed"
|
||||
python_optimize
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
dodoc peanuts.py popcorn.py tutorial.sgml
|
||||
doman whiptail.1
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/paramiko/paramiko-1.10.1.ebuild,v 1.1 2013/05/04 03:35:52 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="SSH2 protocol library"
|
||||
HOMEPAGE="https://github.com/paramiko/paramiko/ http://pypi.python.org/pypi/paramiko"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND=">=dev-python/pycrypto-2.1[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" test.py --verbose || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
if use examples; then
|
||||
dodoc -r demos
|
||||
docompress -x /usr/share/doc/${PF}/demos
|
||||
fi
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST gettext_i18n_rails-0.7.1.gem 19968 SHA256 30984a7cf4b2db2938616d6fc65490d4f6640ae627ed679ff4fd39688142e615 SHA512 7db67841a52fe8b36d43bd4d263c561591bb0fda290ba6406596a93d13e0f96bf39174b3152d7352ea96a2c3bc89d364cc719e6ca4073926a1bc6efcec755c23 WHIRLPOOL 65520e7b0f7877c29be56f3407030e1e3ac51dc9a5028f1eed10890900585025aab81cea4b392ffd6f59d084eec81bd13f1d467b739fe6e4f9b787d05e2a932e
|
||||
DIST gettext_i18n_rails-0.8.0.gem 20992 SHA256 c614bb7e4d2f02ed1a48767674a5ac63d5bd46db5e830026cccdec59c63d80b3 SHA512 95e77be93269a332078b68a39796f8ff66710f9e80e38b5194c77ad0336722c869ecd9ccd80ad4490394f76a9b83fb080e6997f903f0e9a2b4e766dd57f8a349 WHIRLPOOL d82746b67d08a24af7dd4215c266470ec30880f21dd495e50cdd2a8d417232ca34dc9b9406981f323c77c212d301bba9d40202e41c9e5b4a39cdd5f2b7be8908
|
||||
DIST gettext_i18n_rails-0.9.2.gem 21504 SHA256 16dcc1404972854d9716682f68d877bea05817ffab77e19a8c3c7bc507941aa2 SHA512 899df8e3272edf908c02a084d7e6ae17240f5ea7f664fb52dc8247d599442d39e906989e5ac8508ce35aff4114e6c6fbdec8ee85da971de7387463f04d6de0a6 WHIRLPOOL 8d4dc9fccf1003a48b0d6e79f8f3d9bfb21d136f44eb15ed5c8ca5547229b0df468f804ef84f77abf838fe3838f2f4dd6a188b338a30c2980ca17ff984016a9c
|
||||
DIST gettext_i18n_rails-0.9.4.gem 22016 SHA256 f41ef446f21faebd9349cfb33fcba8a6a78929ed3db879a5503fed1315a96ec5 SHA512 a9834d549a1ba81f27992ab2741a23c84dbef975cd7adde3f639a511be2c2a40c7604703990484f92dc6b76988e552afa2d4c2842a2a524c53b89fc7458a9041 WHIRLPOOL c27bc7d1305ebce0831e2f9f624ac49e14a0625eda9a98195281909922d0ecca5f658a2a734fdf4573215e9963d1855108befd85b2b81b2f16d3c67fc5c132a0
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gettext_i18n_rails/gettext_i18n_rails-0.9.4.ebuild,v 1.1 2013/05/04 05:41:39 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# jruby support requires sqlite3 support for jruby.
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="Readme.md"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="init.rb"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="FastGettext / Rails integration."
|
||||
HOMEPAGE="https://github.com/grosser/gettext_i18n_rails"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/activerecord[sqlite3] dev-ruby/temple )"
|
||||
ruby_add_rdepend ">=dev-ruby/fast_gettext-0.4.8"
|
||||
|
||||
all_ruby_prepare() {
|
||||
rm Gemfile Gemfile.lock || die
|
||||
|
||||
# Remove specs for slim and hamlet, template engines we don't package.
|
||||
rm spec/gettext_i18n_rails/slim_parser_spec.rb spec/gettext_i18n_rails/haml_parser_spec.rb || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST hashie-1.2.0.gem 15872 SHA256 7395526d7a3e2e1e65e7a0437f5ba72dc4f3b47c2ed5d12b98c6d8dfc3d1f038 SHA512 d036833d098813e2135a4c7936ec1a983c74760852570c8ed45dd82ef1460c1ddb3f743477071ecd1e3f44d64546947328a5a98901694fde5d98d9f18f969ddf WHIRLPOOL dede5b7e80aed3e94a0894701ff686fc79665761046d8febca19198cb2388636edfb3dd1faf04e3680073d103dfd538fc1d9c1d417c125726d2620096b47324b
|
||||
DIST hashie-2.0.2.gem 27136 SHA256 2ffec408dd851d7e5f07200b78006487da9eef724715bb313b7194cbd3559b2a SHA512 c476cc7de9e1827c842a7e1fd43981d9c16c20f910ad8d77e9aca8225fd80ad96125e02bd0252c1f666dd6ab0b4add0e52d44ce8cf14655cea9d2cfe9181240c WHIRLPOOL 007f4c0c8dcef51fe73f78bbedb31e38f7fb2a8ec3c54b8ff13e968df04012925c8758f8ff8dfe95067ebacfc9a46ba978bbc216bef59cb82721930d79958abb
|
||||
DIST hashie-2.0.4.gem 27136 SHA256 1924adaa9dfc47d74ab20540f7f65c5e8dfa6e0a25fb50e17caea632ee1437a5 SHA512 41f4fa8dd984e810ebd582420bba3ef24c8d0479881399a47aa8705d49e4fdfbaec5b7dd7b3ebb5b1d085dbee34585bd7464ad63e2ad56594205d8c60754d282 WHIRLPOOL b59e607027f92150739fad6e27daa3f4c3c18cb6827375e9de851791347815d1065a8c8f575061b5d51f57411940fe558445b6c49012250c4dd4c7bd315d1849
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hashie/hashie-2.0.4.ebuild,v 1.1 2013/05/04 08:33:36 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby18 ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.markdown"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Hashie is a small collection of tools that make hashes more powerful."
|
||||
HOMEPAGE="http://intridea.com/posts/hashie-the-hash-toolkit"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove bundler
|
||||
rm Gemfile || die
|
||||
sed -i -e '/[Bb]undler/d' Rakefile || die
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST highline-1.6.13.gem 219136 SHA256 7dcb2a3c99001fba6f7597682aef935db0ebf69f293d7604954763b135195c96 SHA512 390df34d5810fd640212706366a33dadeffbc2b689db20d8584827f93ce30395d32f382c8ccfc8947b8cf6bbfa693b3691d4e21d36d3850fc6aa72b3ca63fb45 WHIRLPOOL c9125bb170152842137a6fc75b18e867f90f5a22e3b5c9e8eff6ac6900498d22b5e283fef57da4b6cbef3dc1e43210fabc4a7c3a11fbf8bbd89e5df4fb25af98
|
||||
DIST highline-1.6.15.gem 218624 SHA256 a1925472c2395c897354e66334891b9347887886181a6e5b6a55a44dfda39cc6 SHA512 b8ce321f198a67806b09049f8ef9a9ae888ecff8e226d427c9e4fc68bf0c17c916003e5ee47bacf1799435a480d1cc79e35fa7cd71c67c8ea7f427b16c981861 WHIRLPOOL 694b2dc539a7aa8e9d9c8ed29790eb54ebc6683bba7261e22b5915cceb705310130d16ea73500bd7af31091fdf172a33578fe38e24a957b057d1404f49f4fd9d
|
||||
DIST highline-1.6.8.gem 66560 SHA256 5dd4f1219ec60683e262716f21fe9c2f113ed8119dfa820c7294ebbf5c7cd38c SHA512 17f663ce09e09bd0d36ea64b9d6e57c040887eed1d73ec04116596a2c7c2d0cfef1cca927f1833895535636d39ebbb18fae9f57c81161bedd4600d35c2f4026f WHIRLPOOL c769aa17f7ca5af5fbc748fd4924b4a458f5a4b4b55861995de620a9e5ff06e1be5b31ce84de221a25c8f825b004a9ab00b3bff0792291ce7e40485acfd1013f
|
||||
DIST highline-1.6.18.gem 220672 SHA256 02b953647dc3b159b7215a468b45f606e07de54035bfce3d7d35479656e33d77 SHA512 3163562272fe62f056ad563227ec5ea8a0f73dba285732a8b858968ddd80afefa75ad041e55573b88ea5def77e2621e387bb60a6875d3fc2c23713906d8c7f19 WHIRLPOOL 4835052bc363d5fc4e2c9e7bb280de6af68a0b8695c00a9b3266d740c797f411bd4030d225a68cc06a596f6f0e665000601200ad15887861f26b41e9910b01a2
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/highline/highline-1.6.18.ebuild,v 1.1 2013/05/04 09:08:45 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby18 ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc TODO"
|
||||
RUBY_FAKEGEM_DOCDIR="doc/html"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Highline is a high-level command-line IO library for ruby."
|
||||
HOMEPAGE="http://highline.rubyforge.org/"
|
||||
|
||||
IUSE=""
|
||||
LICENSE="|| ( GPL-2 Ruby )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# fix up gemspec file not to call git
|
||||
sed -i -e '/git ls-files/d' highline.gemspec || die
|
||||
|
||||
# Avoid tests that require a real console because we can't provide
|
||||
# that when running tests through portage. These should pass when
|
||||
# run in a console. We should probably narrow this down more to the
|
||||
# specific tests.
|
||||
sed -i -e '/tc_highline/ s:^:#:' test/ts_all.rb || die
|
||||
|
||||
sed -i -e '/test_question_options/,/^ end/ s:^:#:' \
|
||||
-e '/test_paged_print_infinite_loop_bug/,/^ end/ s:^:#:' \
|
||||
-e '/test_cancel_paging/,/^ end/ s:^:#:' \
|
||||
test/tc_menu.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
ewarn "Skipping tests since they hang indefinitely."
|
||||
;;
|
||||
*)
|
||||
${RUBY} -S rake test || die
|
||||
;;
|
||||
esac
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/highline/highline-1.6.8.ebuild,v 1.7 2012/11/07 04:30:40 jer Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
USE_RUBY="ruby18 ruby19 jruby ree18"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README TODO"
|
||||
RUBY_FAKEGEM_DOCDIR="doc/html"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Highline is a high-level command-line IO library for ruby."
|
||||
HOMEPAGE="http://rubyforge.org/projects/highline/"
|
||||
|
||||
IUSE=""
|
||||
LICENSE="|| ( GPL-2 Ruby )"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Provide our own metadata since jruby can't handle the metadata.
|
||||
rm ../metadata || die
|
||||
|
||||
sed -i -e '/AUTHORS/s:^:#:' Rakefile || die "Fixing the Rakefile failed"
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-atk/ruby-atk-1.2.6.ebuild,v 1.1 2013/05/04 02:08:55 naota Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
inherit ruby-ng-gnome2
|
||||
|
||||
DESCRIPTION="Ruby Atk bindings"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
DEPEND="${DEPEND} dev-libs/atk"
|
||||
RDEPEND="${RDEPEND} dev-libs/atk"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/ruby-glib2-${PV}"
|
@ -0,0 +1 @@
|
||||
DIST ruby-gnome2-all-1.2.6.tar.gz 1718802 SHA256 b9e0093e82d53aead93ba1cd261faf03ccede873ee0e7ffd35090ce1c604be66 SHA512 b2e123ece31b89dc1d37040297d726b625d71579bbf60cb84c89b63f0fb9bf097d5f0675a16dfc7aecd8161913c737b22c057cc872dd454f341440c76901c07d WHIRLPOOL 2e4f47014b93838a9c31267fcca86458127ab9bc02b241a6bd0c3f14df8af7a25f6166d294577eb674f59c1e1d042208e5b448c83429011651dc6af0e9383b9a
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-cairo-gobject/ruby-cairo-gobject-1.2.6.ebuild,v 1.1 2013/05/04 06:48:59 naota Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
inherit ruby-ng-gnome2
|
||||
|
||||
RUBY_S="ruby-gnome2-all-${PV}/cairo-gobject"
|
||||
|
||||
DESCRIPTION="Ruby cairo-gobject bindings"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPNED="${DEPNED} x11-libs/cairo"
|
||||
RDEPEND="${RDEPEND} x11-libs/cairo"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/rcairo
|
||||
>=dev-ruby/ruby-glib2-${PV}"
|
@ -0,0 +1 @@
|
||||
DIST ruby-gnome2-all-1.2.6.tar.gz 1718802 SHA256 b9e0093e82d53aead93ba1cd261faf03ccede873ee0e7ffd35090ce1c604be66 SHA512 b2e123ece31b89dc1d37040297d726b625d71579bbf60cb84c89b63f0fb9bf097d5f0675a16dfc7aecd8161913c737b22c057cc872dd454f341440c76901c07d WHIRLPOOL 2e4f47014b93838a9c31267fcca86458127ab9bc02b241a6bd0c3f14df8af7a25f6166d294577eb674f59c1e1d042208e5b448c83429011651dc6af0e9383b9a
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gdk3/ruby-gdk3-1.2.6.ebuild,v 1.1 2013/05/04 05:19:38 naota Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
inherit ruby-ng-gnome2
|
||||
|
||||
DESCRIPTION="Ruby GDK-3.x bindings"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="${DEPEND} x11-libs/gtk+:3"
|
||||
RDEPEND="${RDEPEND} x11-libs/gtk+:3"
|
||||
|
||||
ruby_add_bdepend ">=dev-ruby/ruby-glib2-${PV}"
|
||||
ruby_add_rdepend ">=dev-ruby/ruby-gdkpixbuf2-${PV}
|
||||
>=dev-ruby/ruby-atk-${PV}
|
||||
>=dev-ruby/ruby-pango-${PV}"
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gdkpixbuf2/ruby-gdkpixbuf2-1.2.6.ebuild,v 1.1 2013/05/04 00:50:02 naota Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_NAME="gdk_pixbuf2"
|
||||
|
||||
inherit ruby-ng-gnome2
|
||||
|
||||
RUBY_S=ruby-gnome2-all-${PV}/${RUBY_FAKEGEM_NAME}
|
||||
|
||||
DESCRIPTION="Ruby GdkPixbuf2 bindings"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="x11-libs/gtk+:2"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/ruby-glib2-${PV}"
|
@ -0,0 +1,14 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gio2/ruby-gio2-1.2.6.ebuild,v 1.1 2013/05/04 02:25:53 naota Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
inherit ruby-ng-gnome2
|
||||
|
||||
DESCRIPTION="Ruby binding of GooCanvas"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/ruby-glib2-${PV}"
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-glib2/ruby-glib2-1.2.6.ebuild,v 1.1 2013/05/04 00:43:38 naota Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ree18 ruby19"
|
||||
|
||||
inherit ruby-ng-gnome2
|
||||
|
||||
DESCRIPTION="Ruby Glib2 bindings"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
RDEPEND="${RDEPEND} >=dev-libs/glib-2"
|
||||
DEPEND="${DEPEND}
|
||||
>=dev-libs/glib-2"
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} extconf.rb || die "extconf.rb failed"
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-goocanvas/ruby-goocanvas-1.2.6.ebuild,v 1.1 2013/05/04 03:24:18 naota Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
inherit ruby-ng-gnome2
|
||||
|
||||
DESCRIPTION="Ruby binding of GooCanvas"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
x11-libs/goocanvas:0"
|
||||
DEPEND="${DEPEND}
|
||||
x11-libs/goocanvas:0"
|
||||
|
||||
ruby_add_bdepend "dev-ruby/pkg-config
|
||||
dev-ruby/rcairo"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/ruby-gtk2-${PV}"
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gstreamer/ruby-gstreamer-1.2.6.ebuild,v 1.1 2013/05/04 03:33:30 naota Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
inherit ruby-ng-gnome2
|
||||
|
||||
DESCRIPTION="Ruby GStreamer bindings"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
media-libs/gstreamer:0.10
|
||||
media-libs/gst-plugins-base:0.10"
|
||||
DEPEND="${DEPEND}
|
||||
media-libs/gstreamer:0.10
|
||||
media-libs/gst-plugins-base:0.10"
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gtk2/ruby-gtk2-1.2.6.ebuild,v 1.1 2013/05/04 03:14:12 naota Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
inherit ruby-ng-gnome2
|
||||
|
||||
DESCRIPTION="Ruby Gtk2 bindings"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="${DEPEND} x11-libs/gtk+:2"
|
||||
RDEPEND="${RDEPEND} x11-libs/gtk+:2"
|
||||
|
||||
ruby_add_bdepend ">=dev-ruby/ruby-glib2-${PV}
|
||||
>=dev-ruby/ruby-pango-${PV}"
|
||||
ruby_add_rdepend ">=dev-ruby/ruby-gdkpixbuf2-${PV}
|
||||
>=dev-ruby/ruby-atk-${PV}
|
||||
>=dev-ruby/ruby-gio2-${PV}"
|
@ -0,0 +1 @@
|
||||
DIST ruby-gnome2-all-1.2.6.tar.gz 1718802 SHA256 b9e0093e82d53aead93ba1cd261faf03ccede873ee0e7ffd35090ce1c604be66 SHA512 b2e123ece31b89dc1d37040297d726b625d71579bbf60cb84c89b63f0fb9bf097d5f0675a16dfc7aecd8161913c737b22c057cc872dd454f341440c76901c07d WHIRLPOOL 2e4f47014b93838a9c31267fcca86458127ab9bc02b241a6bd0c3f14df8af7a25f6166d294577eb674f59c1e1d042208e5b448c83429011651dc6af0e9383b9a
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gtk3/ruby-gtk3-1.2.6.ebuild,v 1.1 2013/05/04 05:34:51 naota Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
inherit ruby-ng-gnome2
|
||||
|
||||
DESCRIPTION="Ruby Gtk3 bindings"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="${DEPEND} x11-libs/gtk+:3"
|
||||
RDEPEND="${RDEPEND} x11-libs/gtk+:3"
|
||||
|
||||
ruby_add_bdepend ">=dev-ruby/ruby-glib2-${PV}
|
||||
>=dev-ruby/ruby-pango-${PV}"
|
||||
ruby_add_rdepend ">=dev-ruby/ruby-gdkpixbuf2-${PV}
|
||||
>=dev-ruby/ruby-atk-${PV}
|
||||
>=dev-ruby/ruby-gdk3-${PV}
|
||||
>=dev-ruby/ruby-gio2-${PV}"
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gtksourceview/ruby-gtksourceview-1.2.6.ebuild,v 1.1 2013/05/04 03:46:09 naota Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_NAME="gtksourceview2"
|
||||
|
||||
inherit ruby-ng-gnome2
|
||||
|
||||
RUBY_S=ruby-gnome2-all-${PV}/gtksourceview2
|
||||
|
||||
DESCRIPTION="Ruby bindings for gtksourceview"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
x11-libs/gtksourceview:2.0"
|
||||
DEPEND="${DEPEND}
|
||||
x11-libs/gtksourceview:2.0"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/ruby-gtk2-${PV}"
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-pango/ruby-pango-1.2.6.ebuild,v 1.1 2013/05/04 02:54:23 naota Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
inherit ruby-ng-gnome2
|
||||
|
||||
DESCRIPTION="Ruby Pango bindings"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
DEPEND="${DEPEND}
|
||||
>=x11-libs/pango-1.2.1
|
||||
>=dev-ruby/rcairo-1.2.0"
|
||||
RDEPEND="${RDEPEND}
|
||||
>=x11-libs/pango-1.2.1
|
||||
>=dev-ruby/rcairo-1.2.0"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/ruby-glib2-${PV}"
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-poppler/ruby-poppler-1.2.6.ebuild,v 1.1 2013/05/04 03:54:47 naota Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
inherit ruby-ng-gnome2
|
||||
|
||||
DESCRIPTION="Ruby poppler-glib bindings"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
app-text/poppler[cairo]"
|
||||
DEPEND="${DEPEND}
|
||||
app-text/poppler[cairo]"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/ruby-gdkpixbuf2
|
||||
>=dev-ruby/ruby-glib2-${PV}
|
||||
>=dev-ruby/ruby-gtk2-${PV}"
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-rsvg/ruby-rsvg-1.2.6.ebuild,v 1.1 2013/05/04 04:04:31 naota Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_NAME=rsvg2
|
||||
|
||||
inherit ruby-ng-gnome2
|
||||
|
||||
RUBY_S=ruby-gnome2-all-${PV}/rsvg2
|
||||
|
||||
DESCRIPTION="Ruby bindings for librsvg"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="cairo"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
>=gnome-base/librsvg-2.8"
|
||||
DEPEND="${DEPEND}
|
||||
>=gnome-base/librsvg-2.8"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/ruby-glib2-${PV}
|
||||
>=dev-ruby/ruby-gdkpixbuf2-${PV}
|
||||
cairo? ( dev-ruby/rcairo )"
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-vte/ruby-vte-1.2.6.ebuild,v 1.1 2013/05/04 04:56:18 naota Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
inherit ruby-ng-gnome2
|
||||
|
||||
DESCRIPTION="Ruby vte bindings"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
>=x11-libs/vte-0.12.1:0"
|
||||
DEPEND="${DEPEND}
|
||||
>=x11-libs/vte-0.12.1:0"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/ruby-gtk2-${PV}"
|
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/exmap/exmap-0.10-r1.ebuild,v 1.1 2013/05/04 04:27:52 xmw Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils linux-mod
|
||||
|
||||
DESCRIPTION="A memory analysis kernel module with userland tool"
|
||||
HOMEPAGE="http://www.berthels.co.uk/exmap/"
|
||||
SRC_URI="http://www.berthels.co.uk/${PN}/download/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gtk"
|
||||
|
||||
RDEPEND="dev-libs/libpcre
|
||||
gtk? ( dev-cpp/gtkmm:2.4
|
||||
x11-libs/gtk+:2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/boost
|
||||
virtual/pkgconfig"
|
||||
|
||||
MODULE_NAMES="exmap(misc:${S}/kernel)"
|
||||
BUILD_TARGETS="clean kernel_modules"
|
||||
|
||||
src_prepare() {
|
||||
# patch find_task_by_pid to pid_task and &proc_root to NULL
|
||||
epatch "${FILESDIR}/${P}-kernel.patch"
|
||||
|
||||
# use $(MAKE), remove -g on CXXFLAGS, clean up CXX/LD invocations
|
||||
# remove -Werror, bug 468246
|
||||
epatch "${FILESDIR}/${PF}-makefiles.patch"
|
||||
|
||||
# somthing strange between linux-mod supplied ARCH and old kernels
|
||||
# which leads to arch/x86/Makefile: file/dir x86 not found
|
||||
if kernel_is lt 2 6 25 ; then
|
||||
sed -i -e 's:\$(MAKE):unset ARCH ; \$(MAKE):' kernel/Makefile || die
|
||||
fi
|
||||
|
||||
# new gcc include behavior
|
||||
epatch "${FILESDIR}/${P}-gcc.patch"
|
||||
|
||||
# gcc4.5 fails on return false as std::string
|
||||
epatch "${FILESDIR}/${P}-gcc45.patch"
|
||||
|
||||
# fix for 64bit from http://www.kdedevelopers.org/node/4166
|
||||
epatch "${FILESDIR}/${P}-fix64bit.patch"
|
||||
|
||||
# fix underlinking with -Wl,--as-needed
|
||||
epatch "${FILESDIR}/${P}-as-needed.patch"
|
||||
|
||||
# no longer call make clean in kernel source dir
|
||||
epatch "${FILESDIR}/${P}-kernel-3.5.patch"
|
||||
|
||||
rm -v src/{*.so,munged-ls-threeloads,prelinked-amule} || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export KERNEL_DIR
|
||||
linux-mod_src_compile
|
||||
|
||||
emake CXX="$(tc-getCXX)" LD="$(tc-getLD)" -C jutil || die
|
||||
emake CXX="$(tc-getCXX)" LD="$(tc-getLD)" -C src $(use gtk || echo exmtool) || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
|
||||
dobin src/exmtool || die
|
||||
use gtk && { dobin src/gexmap || die ; }
|
||||
dodoc TODO README || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
linux-mod_pkg_postinst
|
||||
|
||||
elog "Please load the exmap kernel module before running exmtool or gexmap."
|
||||
}
|
@ -0,0 +1,115 @@
|
||||
diff -ru exmap-0.10.orig/work/exmap-0.10/jutil/Makefile exmap-0.10/work/exmap-0.10/jutil/Makefile
|
||||
--- jutil/Makefile 2006-09-28 18:52:25.000000000 +0200
|
||||
+++ jutil/Makefile 2010-02-17 17:31:56.000000000 +0100
|
||||
@@ -12,21 +12,20 @@
|
||||
OBJ += $(ETOBJ)
|
||||
EXES += egtest
|
||||
|
||||
-CXX=g++
|
||||
-CXXFLAGS=-Wall -Werror -g -I.
|
||||
-LD=g++
|
||||
-LDFLAGS=-lpcre
|
||||
+CXX = g++
|
||||
+CXXFLAGS += -Wall -I.
|
||||
+LD = ld
|
||||
|
||||
build: $(LIBS) $(EXES)
|
||||
|
||||
trun: $(TROBJ) $(JLIB)
|
||||
- $(LD) $(TROBJ) -o trun $(LDFLAGS) -ljutil -L.
|
||||
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(TROBJ) -o trun -ljutil -lpcre -L.
|
||||
|
||||
$(JLIB): $(JOBJ)
|
||||
ar rs $(JLIB) $(JOBJ)
|
||||
|
||||
egtest: $(ETOBJ)
|
||||
- $(LD) $(ETOBJ) -o egtest $(LDFLAGS)
|
||||
+ $(CXX) $(CXXFLAGS) $(ETOBJ) -o egtest $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
rm -f $(OBJ) $(EXES) $(JLIB) *~
|
||||
diff -ru exmap-0.10.orig/work/exmap-0.10/kernel/Makefile exmap-0.10/work/exmap-0.10/kernel/Makefile
|
||||
--- kernel/Makefile 2006-09-28 18:52:25.000000000 +0200
|
||||
+++ kernel/Makefile 2010-02-17 17:30:06.000000000 +0100
|
||||
@@ -7,7 +7,7 @@
|
||||
build: kernel_modules
|
||||
|
||||
kernel_modules:
|
||||
- make -C /lib/modules/$(shell uname -r)/build M=$(CURDIR) modules
|
||||
+ $(MAKE) -C ${KERNEL_DIR} M=$(CURDIR) modules
|
||||
|
||||
clean:
|
||||
- make -C /lib/modules/$(shell uname -r)/build M=$(CURDIR) clean
|
||||
+ $(MAKE) -C ${KERNEL_DIR} M=$(CURDIR) clean
|
||||
Only in exmap-0.10/work/exmap-0.10/kernel/.tmp_versions: exmap.mod
|
||||
diff -ru exmap-0.10.orig/work/exmap-0.10/src/Makefile exmap-0.10/work/exmap-0.10/src/Makefile
|
||||
--- src/Makefile 2006-09-28 18:52:25.000000000 +0200
|
||||
+++ src/Makefile 2010-02-17 17:33:38.000000000 +0100
|
||||
@@ -1,5 +1,5 @@
|
||||
CXX=g++
|
||||
-LD=g++
|
||||
+LD=ld
|
||||
JUTILDIR=../jutil
|
||||
|
||||
#CXXFLAGS += -pg
|
||||
@@ -11,11 +11,12 @@
|
||||
|
||||
EXMAP_OBJ=Exmap.o Range.o Elf.o
|
||||
|
||||
-CXXFLAGS += -g -Wall -Werror -I$(JUTILDIR)
|
||||
-LDFLAGS += -lpcre -ljutil -L$(JUTILDIR)
|
||||
+CXXFLAGS += -Wall -I$(JUTILDIR)
|
||||
+LDFLAGS += -L$(JUTILDIR)
|
||||
+LIBS += -lpcre -ljutil
|
||||
|
||||
GTKCXXFLAGS = `pkg-config --cflags gtkmm-2.4`
|
||||
-GTKLDFLAGS = `pkg-config --libs gtkmm-2.4`
|
||||
+GTKLIBS = `pkg-config --libs gtkmm-2.4`
|
||||
|
||||
# ------------------------------------------------------------
|
||||
|
||||
@@ -76,34 +77,34 @@
|
||||
$(JUTILDIR)/trun $(TESTS)
|
||||
|
||||
gexmap: $(GEM_OBJ)
|
||||
- $(LD) -o gexmap $(GEM_OBJ) $(LDFLAGS) $(GTKLDFLAGS)
|
||||
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o gexmap $(GEM_OBJ) $(LIBS) $(GTKLIBS)
|
||||
|
||||
gexmap.o: gexmap.cpp
|
||||
- $(CC) $(CXXFLAGS) $(GTKCXXFLAGS) -c $<
|
||||
+ $(CXX) $(CXXFLAGS) $(GTKCXXFLAGS) -c $<
|
||||
|
||||
exmtool: $(CL_OBJ)
|
||||
- $(LD) -o exmtool $(CL_OBJ) $(LDFLAGS)
|
||||
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o exmtool $(CL_OBJ) $(LIBS)
|
||||
|
||||
elftool: $(ET_OBJ)
|
||||
- $(LD) -o elftool $(ET_OBJ) $(LDFLAGS)
|
||||
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o elftool $(ET_OBJ) $(LIBS)
|
||||
|
||||
showproc: $(SP_OBJ)
|
||||
- $(LD) -o showproc $(SP_OBJ) $(LDFLAGS)
|
||||
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o showproc $(SP_OBJ) $(LIBS)
|
||||
|
||||
t_range: $(TR_OBJ)
|
||||
- $(LD) -o t_range $(TR_OBJ) $(LDFLAGS)
|
||||
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o t_range $(TR_OBJ) $(LIBS)
|
||||
|
||||
t_elf: $(TE_OBJ)
|
||||
- $(LD) -o t_elf $(TE_OBJ) $(LDFLAGS)
|
||||
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o t_elf $(TE_OBJ) $(LIBS)
|
||||
|
||||
t_pcre: $(TP_OBJ)
|
||||
- $(LD) -o t_pcre $(TP_OBJ) $(LDFLAGS)
|
||||
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o t_pcre $(TP_OBJ) $(LIBS)
|
||||
|
||||
t_exmap: $(TX_OBJ)
|
||||
- $(LD) -o t_exmap $(TX_OBJ) $(LDFLAGS)
|
||||
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o t_exmap $(TX_OBJ) $(LIBS)
|
||||
|
||||
t_artsd: $(TA_OBJ)
|
||||
- $(LD) -o t_artsd $(TA_OBJ) $(LDFLAGS)
|
||||
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o t_artsd $(TA_OBJ) $(LIBS)
|
||||
|
||||
clean: cleantags cleandoc
|
||||
rm -f $(OBJS) $(EXES) $(SHLIBS) $(EXTRA_DEL_FILES)
|
@ -0,0 +1,45 @@
|
||||
https://bugs.gentoo.org/465558
|
||||
|
||||
From a4629ebff263dcb2e05feb9e41df649ea5ce3f78 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Rosin <peda@lysator.liu.se>
|
||||
Date: Sun, 28 Apr 2013 09:16:56 +0200
|
||||
Subject: [PATCH] libtool: break all the way out when a good nm is found
|
||||
|
||||
The current code tries to locate a compatible nm tool. It starts with
|
||||
a prefixed nm tool (great!) and includes a plain nm too (that's fine).
|
||||
The problem is that the code searches for the prefixed nm before the
|
||||
plain nm (normally fine), but doesn't break once it has found a valid
|
||||
match, and the plain nm ends up the winner.
|
||||
|
||||
Report and analysis by Mike Frysinger.
|
||||
|
||||
* m4/libtool.m4 (LT_PATH_NM): Break all the way out on a good match.
|
||||
|
||||
Signed-off-by: Peter Rosin <peda@lysator.liu.se>
|
||||
---
|
||||
m4/libtool.m4 | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/m4/libtool.m4 b/m4/libtool.m4
|
||||
index 3f50b0c..d7013c5 100644
|
||||
--- a/m4/libtool.m4
|
||||
+++ b/m4/libtool.m4
|
||||
@@ -3397,13 +3397,13 @@ else
|
||||
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
|
||||
*/dev/null* | *'Invalid file or object type'*)
|
||||
lt_cv_path_NM="$tmp_nm -B"
|
||||
- break
|
||||
+ break 2
|
||||
;;
|
||||
*)
|
||||
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
|
||||
*/dev/null*)
|
||||
lt_cv_path_NM="$tmp_nm -p"
|
||||
- break
|
||||
+ break 2
|
||||
;;
|
||||
*)
|
||||
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
|
||||
--
|
||||
1.8.2.1
|
||||
|
@ -1 +1,2 @@
|
||||
DIST tomahawk-0.6.1.tar.bz2 5185714 SHA256 c2b8da0cfb3e9e4653439ee349a2446d5d124a07afa51af6c57e743936ce29fe SHA512 a0612cb62573a22dbb8b47f4d22514cad2fa485bee83d8767fdf139c2a5ec7e380db1d7d7ee807b4632c994738e20d88f9c4875ab9e266007189c3568048f490 WHIRLPOOL f8ec753b8afad14d444bc4b3fd3d236cb90a8512895b90e0618a4cd250d750b2ef7f8b3fa9bee0505259ee94d2065b5d97804844379c419ce3088209c5a28996
|
||||
DIST tomahawk-0.7.0.tar.bz2 5238386 SHA256 983573409ec5ec57679c26f786e88939151984572e749c192d018d140414288d SHA512 8a2c7e3644530b37866bb4e28730fe244363431374cb093ac363a0b286907dbd101405cea20f6664a04f9c2a961c27251ee0ab2b2adf5beda785fd8116b31188 WHIRLPOOL 8d11e0fe43aa5561f73e25f2d1b50e85e01c1e695330affc9f8600cb1b24b3e3d03e6677d177fdf385a4fc210b356402efbde433765014bcd8daf67af5fbc7bc
|
||||
|
@ -0,0 +1,77 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/tomahawk/tomahawk-0.7.0.ebuild,v 1.1 2013/05/03 22:09:30 johu Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
QT_MINIMAL="4.7.0"
|
||||
|
||||
CMAKE_MIN_VERSION="2.8.6"
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
SRC_URI="http://download.tomahawk-player.org/${P}.tar.bz2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
else
|
||||
GIT_ECLASS="git-2"
|
||||
EGIT_REPO_URI="git://github.com/tomahawk-player/${PN}.git"
|
||||
KEYWORDS=""
|
||||
fi
|
||||
|
||||
inherit cmake-utils qt4-r2 ${GIT_ECLASS}
|
||||
|
||||
DESCRIPTION="Qt playdar social music player"
|
||||
HOMEPAGE="http://tomahawk-player.org/"
|
||||
|
||||
LICENSE="GPL-3 BSD"
|
||||
SLOT="0"
|
||||
IUSE="debug jabber twitter"
|
||||
|
||||
DEPEND="
|
||||
app-crypt/qca:2
|
||||
>=dev-cpp/clucene-2.3.3.4
|
||||
>=dev-libs/boost-1.41
|
||||
>=dev-libs/libattica-0.4.0
|
||||
dev-libs/qjson
|
||||
dev-libs/quazip
|
||||
>=dev-qt/qtcore-${QT_MINIMAL}:4
|
||||
>=dev-qt/qtdbus-${QT_MINIMAL}:4
|
||||
>=dev-qt/qtgui-${QT_MINIMAL}:4
|
||||
>=dev-qt/qtsql-${QT_MINIMAL}:4[sqlite]
|
||||
>=dev-qt/qtsvg-${QT_MINIMAL}:4
|
||||
>=dev-qt/qtwebkit-${QT_MINIMAL}:4
|
||||
>=media-libs/liblastfm-1.0.1
|
||||
>=media-libs/libechonest-2.0.3
|
||||
>=media-libs/phonon-4.5.0
|
||||
>=media-libs/taglib-1.6.0
|
||||
x11-libs/libX11
|
||||
jabber? ( >=net-libs/jreen-1.1.1 )
|
||||
twitter? ( net-libs/qtweetlib )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
app-crypt/qca-ossl
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog README.md )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_with jabber Jreen)
|
||||
$(cmake-utils_use_with twitter QTweetLib)
|
||||
)
|
||||
|
||||
mycmakeargs+=( -DBUILD_WITH_QT4=ON )
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
mycmakeargs+=( -DBUILD_RELEASE=ON )
|
||||
fi
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
}
|
@ -1 +1 @@
|
||||
Fri, 03 May 2013 21:36:55 +0000
|
||||
Sat, 04 May 2013 09:36:56 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri, 03 May 2013 21:36:55 +0000
|
||||
Sat, 04 May 2013 09:36:56 +0000
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue