parent
b34b702f4c
commit
67f7165812
@ -1,4 +1,4 @@
|
|||||||
DIST httpd-2.2.31.tar.bz2 5610489 SHA256 f32f9d19f535dac63b06cb55dfc023b40dcd28196b785f79f9346779e22f26ac SHA512 5aa47d4b76f692bbd8b309135ff99152df98cf69b505b9daf3f13f7f2a31443eaf4995161adfbc47a133b4d0e091fda2d95fc6b87a956f0ada18d7466ee28e74 WHIRLPOOL a2e3e53c51719cb6f7e641b41788cd89ce7b4d2ea105b403bfa3b3d4479b69c5604228269062f66722594e105e91121d05b1c9f27ca7dc4ecfcf339da8b8375c
|
|
||||||
DIST httpd-2.2.34.tar.bz2 5779739 SHA256 e53183d5dfac5740d768b4c9bea193b1099f4b06b57e5f28d7caaf9ea7498160 SHA512 e6dac5865a48533c025fe17523ee74d68c3a23f9512c9441b78a140e33cfb6835573eb049b0ad424eb5c5ca78a1915778c54e8a409da95fbdd3890cb99e08240 WHIRLPOOL 0bd86b3644fae79c74928c0cd8bc3e4b7d821544a760dbe6459df43210f690d3c4dc74168e029b0b5bbaba6fcd0433aeb4312794455d91b00b7c36c537dfdefd
|
DIST httpd-2.2.34.tar.bz2 5779739 SHA256 e53183d5dfac5740d768b4c9bea193b1099f4b06b57e5f28d7caaf9ea7498160 SHA512 e6dac5865a48533c025fe17523ee74d68c3a23f9512c9441b78a140e33cfb6835573eb049b0ad424eb5c5ca78a1915778c54e8a409da95fbdd3890cb99e08240 WHIRLPOOL 0bd86b3644fae79c74928c0cd8bc3e4b7d821544a760dbe6459df43210f690d3c4dc74168e029b0b5bbaba6fcd0433aeb4312794455d91b00b7c36c537dfdefd
|
||||||
DIST httpd-2.4.27.tar.bz2 6527394 SHA256 71fcc128238a690515bd8174d5330a5309161ef314a326ae45c7c15ed139c13a SHA512 7e7e8070715b74cb6890096a74e194f4c6a49c14bda685b1ad832e84312f1ac4316ea03a430e679502bfd8e1853aefa544ee002a20d0f7e994b9a590c74bc42c WHIRLPOOL 35aeaa01b2bf5772ad21d1011e619befd75fdaade5aa0ca7c61367e7b7a66af28dccf8729a53418f2598199721b68aac7d8c575797ed218150d00af4e8dd4dba
|
DIST httpd-2.4.27.tar.bz2 6527394 SHA256 71fcc128238a690515bd8174d5330a5309161ef314a326ae45c7c15ed139c13a SHA512 7e7e8070715b74cb6890096a74e194f4c6a49c14bda685b1ad832e84312f1ac4316ea03a430e679502bfd8e1853aefa544ee002a20d0f7e994b9a590c74bc42c WHIRLPOOL 35aeaa01b2bf5772ad21d1011e619befd75fdaade5aa0ca7c61367e7b7a66af28dccf8729a53418f2598199721b68aac7d8c575797ed218150d00af4e8dd4dba
|
||||||
DIST httpd-2.4.28.tar.bz2 6553163 SHA256 c1197a3a62a4ab5c584ab89b249af38cf28b4adee9c0106b62999fd29f920666 SHA512 8de8e32b87e6de220e492e74db9df0882fae11c3b9732f3d3316da048c04767ac4429c0433c36f87d8705263e3376f97a7e1f66a9d7a518632a67b6fe617590a WHIRLPOOL a4c8be522d5e900e01cefc0fc6d196e3e49e45e2daffa9ec22b2dc44deace506da5a4cf68afd04b0062b87ffcd27b6e59d0b8ae71cc2304d5080d066174e95ed
|
DIST httpd-2.4.28.tar.bz2 6553163 SHA256 c1197a3a62a4ab5c584ab89b249af38cf28b4adee9c0106b62999fd29f920666 SHA512 8de8e32b87e6de220e492e74db9df0882fae11c3b9732f3d3316da048c04767ac4429c0433c36f87d8705263e3376f97a7e1f66a9d7a518632a67b6fe617590a WHIRLPOOL a4c8be522d5e900e01cefc0fc6d196e3e49e45e2daffa9ec22b2dc44deace506da5a4cf68afd04b0062b87ffcd27b6e59d0b8ae71cc2304d5080d066174e95ed
|
||||||
|
DIST httpd-2.4.29.tar.bz2 6567926 SHA256 777753a5a25568a2a27428b2214980564bc1c38c1abf9ccc7630b639991f7f00 SHA512 840982fd3d21463bc5c1747f211dfacf3abdf634d149e49bb49fd2e5deda140de602dbdf31e1bbe5337a48f718ab2261c408e83a8dd39a9291ee7b6b7a85639a WHIRLPOOL bd91e3baa3c2b25cb6a4e48062c38a97f9c941884be2e44805a3a08e1fdfb13bf18b37b6c7ab9e7656934f2d3b8c2893e79480ee119f073bfbb376b6c3e32a74
|
||||||
|
@ -1,89 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="4"
|
|
||||||
inherit flag-o-matic eutils
|
|
||||||
|
|
||||||
DESCRIPTION="Useful Apache tools - htdigest, htpasswd, ab, htdbm"
|
|
||||||
HOMEPAGE="https://httpd.apache.org/"
|
|
||||||
SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
|
||||||
IUSE="ssl"
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
RDEPEND="=dev-libs/apr-1*
|
|
||||||
=dev-libs/apr-util-1*
|
|
||||||
dev-libs/expat
|
|
||||||
dev-libs/libpcre
|
|
||||||
kernel_linux? ( sys-apps/util-linux )
|
|
||||||
ssl? ( dev-libs/openssl )
|
|
||||||
!<www-servers/apache-2.2.4"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
sys-devel/libtool"
|
|
||||||
|
|
||||||
S="${WORKDIR}/httpd-${PV}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# Apply these patches:
|
|
||||||
# (1) apache-tools-2.2.20-Makefile.patch:
|
|
||||||
# - fix up the `make install' for support/
|
|
||||||
# - remove envvars from `make install'
|
|
||||||
epatch "${FILESDIR}"/${PN}-2.2.20-Makefile.patch
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# Brain dead check.
|
|
||||||
tc-is-cross-compiler && export ap_cv_void_ptr_lt_long="no"
|
|
||||||
|
|
||||||
# Instead of filtering --as-needed (bug #128505), append --no-as-needed
|
|
||||||
append-ldflags $(no-as-needed)
|
|
||||||
|
|
||||||
# econf overwrites the stuff from config.layout.
|
|
||||||
econf \
|
|
||||||
--sbindir=/usr/sbin \
|
|
||||||
--with-z=/usr \
|
|
||||||
--with-apr=/usr \
|
|
||||||
--with-apr-util=/usr \
|
|
||||||
--with-pcre=/usr \
|
|
||||||
$(use_enable ssl) \
|
|
||||||
$(usex ssl '--with-ssl=/usr' '')
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
cd support || die
|
|
||||||
emake
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install () {
|
|
||||||
cd support || die
|
|
||||||
|
|
||||||
make DESTDIR="${D}" install || die
|
|
||||||
|
|
||||||
# install manpages
|
|
||||||
doman "${S}"/docs/man/{dbmmanage,htdigest,htpasswd,htdbm}.1 \
|
|
||||||
"${S}"/docs/man/{htcacheclean,rotatelogs,ab,logresolve}.8
|
|
||||||
|
|
||||||
# Providing compatiblity symlinks for #177697 (which we'll stop to install
|
|
||||||
# at some point).
|
|
||||||
pushd "${D}"/usr/sbin/ >/dev/null || die
|
|
||||||
for i in *; do
|
|
||||||
dosym /usr/sbin/${i} /usr/sbin/${i}2
|
|
||||||
done
|
|
||||||
popd >/dev/null || die
|
|
||||||
|
|
||||||
# Provide a symlink for ab-ssl
|
|
||||||
if use ssl; then
|
|
||||||
dosym /usr/sbin/ab /usr/sbin/ab-ssl
|
|
||||||
dosym /usr/sbin/ab /usr/sbin/ab2-ssl
|
|
||||||
fi
|
|
||||||
|
|
||||||
# make htpasswd accessible for non-root users
|
|
||||||
dosym /usr/sbin/htpasswd /usr/bin/htpasswd
|
|
||||||
dosym /usr/sbin/htdigest /usr/bin/htdigest
|
|
||||||
|
|
||||||
dodoc "${S}"/CHANGES
|
|
||||||
}
|
|
@ -0,0 +1,106 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
inherit flag-o-matic eutils multilib toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="Useful Apache tools - htdigest, htpasswd, ab, htdbm"
|
||||||
|
HOMEPAGE="https://httpd.apache.org/"
|
||||||
|
SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc64-solaris ~x64-solaris"
|
||||||
|
IUSE="libressl ssl"
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
RDEPEND=">=dev-libs/apr-1.5.0:1
|
||||||
|
dev-libs/apr-util:1
|
||||||
|
dev-libs/expat
|
||||||
|
dev-libs/libpcre
|
||||||
|
kernel_linux? ( sys-apps/util-linux )
|
||||||
|
ssl? (
|
||||||
|
!libressl? ( dev-libs/openssl:0= )
|
||||||
|
libressl? ( dev-libs/libressl:0= )
|
||||||
|
)"
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
sys-devel/libtool"
|
||||||
|
|
||||||
|
S="${WORKDIR}/httpd-${PV}"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${PN}-2.4.7-Makefile.patch" #459446
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# This package really should upgrade to using pcre's .pc file.
|
||||||
|
cat <<-\EOF >"${T}"/pcre-config
|
||||||
|
#!/bin/bash
|
||||||
|
flags=()
|
||||||
|
for flag; do
|
||||||
|
if [[ ${flag} == "--version" ]]; then
|
||||||
|
flags+=( --modversion )
|
||||||
|
else
|
||||||
|
flags+=( "${flag}" )
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
exec ${PKG_CONFIG} libpcre "${flags[@]}"
|
||||||
|
EOF
|
||||||
|
chmod a+x "${T}"/pcre-config
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# Brain dead check.
|
||||||
|
tc-is-cross-compiler && export ap_cv_void_ptr_lt_long="no"
|
||||||
|
|
||||||
|
tc-export PKG_CONFIG
|
||||||
|
|
||||||
|
# Instead of filtering --as-needed (bug #128505), append --no-as-needed
|
||||||
|
#append-ldflags $(no-as-needed)
|
||||||
|
|
||||||
|
# econf overwrites the stuff from config.layout.
|
||||||
|
ac_cv_path_PKGCONFIG=${PKG_CONFIG} \
|
||||||
|
econf \
|
||||||
|
--libexecdir="${EPREFIX}"/usr/$(get_libdir)/apache2/modules \
|
||||||
|
--sbindir="${EPREFIX}"/usr/sbin \
|
||||||
|
--with-perl="${EPREFIX}"/usr/bin/perl \
|
||||||
|
--with-expat="${EPREFIX}"/usr \
|
||||||
|
--with-z="${EPREFIX}"/usr \
|
||||||
|
--with-apr="${SYSROOT}${EPREFIX}"/usr \
|
||||||
|
--with-apr-util="${SYSROOT}${EPREFIX}"/usr \
|
||||||
|
--with-pcre="${T}"/pcre-config \
|
||||||
|
$(use_enable ssl) \
|
||||||
|
$(usex ssl '--with-ssl="${EPREFIX}"/usr' '')
|
||||||
|
sed -i \
|
||||||
|
-e '/^LTFLAGS/s:--silent::' \
|
||||||
|
build/rules.mk build/config_vars.mk || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake -C support
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake -C support DESTDIR="${D}" install
|
||||||
|
dodoc CHANGES
|
||||||
|
doman docs/man/{dbmmanage,htdigest,htpasswd,htdbm,ab,logresolve}.1 \
|
||||||
|
docs/man/{htcacheclean,rotatelogs}.8
|
||||||
|
|
||||||
|
# Providing compatiblity symlinks for #177697 (which we'll stop to install
|
||||||
|
# at some point).
|
||||||
|
pushd "${ED}"/usr/sbin >/dev/null || die
|
||||||
|
local i
|
||||||
|
for i in *; do
|
||||||
|
dosym ${i} /usr/sbin/${i}2
|
||||||
|
done
|
||||||
|
popd >/dev/null || die
|
||||||
|
|
||||||
|
# Provide a symlink for ab-ssl
|
||||||
|
if use ssl; then
|
||||||
|
dosym ab /usr/bin/ab-ssl
|
||||||
|
dosym ab /usr/bin/ab2-ssl
|
||||||
|
fi
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
DIST keepassxc-2.1.4.tar.gz 3345520 SHA256 40a990dbcf442eb3cad99452b58ffd36e5855b39e78f213ea20e99fbc7876701 SHA512 48030eb6df595c73644f43d6222654c5f76962ae5aa2f44ca4dc9c8e45726380c6be4300af7a8279b07c06b70912da444f2b17c5b6c37a91cb239d695e7518d8 WHIRLPOOL da2bdac3e334b48903c6b20532ea4a0af0fe057e10e702ba6a4221e828b8f416d666ff67407b434d38b4cbbe5119d3c8a49927e4d5092f4f62ab49e30981017c
|
DIST keepassxc-2.1.4.tar.gz 3345520 SHA256 40a990dbcf442eb3cad99452b58ffd36e5855b39e78f213ea20e99fbc7876701 SHA512 48030eb6df595c73644f43d6222654c5f76962ae5aa2f44ca4dc9c8e45726380c6be4300af7a8279b07c06b70912da444f2b17c5b6c37a91cb239d695e7518d8 WHIRLPOOL da2bdac3e334b48903c6b20532ea4a0af0fe057e10e702ba6a4221e828b8f416d666ff67407b434d38b4cbbe5119d3c8a49927e4d5092f4f62ab49e30981017c
|
||||||
DIST keepassxc-2.2.1.tar.gz 3880551 SHA256 184663e8b08e081dedf4c9dbdd68bf86ed0f5e32388b4781b7afcf89ef5c8e4d SHA512 bce2a0d6d3ad32bb507afac22670b34c37f5e36de6a30bb7c9b5a523c12bad59d95a414b90608451660fb9ce224279c7658e1892f2b99c673908449cc86e5595 WHIRLPOOL 32a0ede5c150bc4fc54c1b0a8f3c46110a19349d732913bdc9f3bc6492c1998569b2cd7a178ec9bb11e5b8dc9698138d8a7f26000211377a0c90f505605fe54c
|
DIST keepassxc-2.2.1.tar.gz 3880551 SHA256 184663e8b08e081dedf4c9dbdd68bf86ed0f5e32388b4781b7afcf89ef5c8e4d SHA512 bce2a0d6d3ad32bb507afac22670b34c37f5e36de6a30bb7c9b5a523c12bad59d95a414b90608451660fb9ce224279c7658e1892f2b99c673908449cc86e5595 WHIRLPOOL 32a0ede5c150bc4fc54c1b0a8f3c46110a19349d732913bdc9f3bc6492c1998569b2cd7a178ec9bb11e5b8dc9698138d8a7f26000211377a0c90f505605fe54c
|
||||||
|
DIST keepassxc-2.2.2.tar.gz 3885990 SHA256 d36b21415f666d68eb130d739302759a0746b8df9315f828b44b7c1333c2d6a3 SHA512 73a167a79af56d4b6dbef7ce4050ca599f2c107a5c8af3b9e28241504572988b2d8b258135b7a34dfceae5a18cbda26b97ed513bbde14fe3d38e3f41b882d34b WHIRLPOOL 8dd6bf0e02d251f7a2b0dc2850d219257d9de6c856b03f7d867d1606cfed67d07c7126b1c9ccb1b843e26db8d15f9a8e76ce0514f42df12199418b71e2969913
|
||||||
|
@ -0,0 +1,77 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
SCM=""
|
||||||
|
[[ "${PV}" == 9999 ]] && SCM="git-r3"
|
||||||
|
inherit cmake-utils gnome2-utils xdg-utils ${SCM}
|
||||||
|
unset SCM
|
||||||
|
|
||||||
|
DESCRIPTION="KeePassXC - KeePass Cross-platform Community Edition"
|
||||||
|
HOMEPAGE="https://keepassxc.org"
|
||||||
|
|
||||||
|
if [[ "${PV}" != 9999 ]] ; then
|
||||||
|
SRC_URI="https://github.com/keepassxreboot/keepassxc/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
else
|
||||||
|
EGIT_REPO_URI="https://github.com/keepassxreboot/${PN}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1 GPL-2 GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="autotype debug http test yubikey"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-libs/libgcrypt:=
|
||||||
|
dev-qt/qtcore:5
|
||||||
|
dev-qt/qtdbus:5
|
||||||
|
dev-qt/qtgui:5
|
||||||
|
dev-qt/qtnetwork:5
|
||||||
|
dev-qt/qtwidgets:5
|
||||||
|
sys-libs/zlib
|
||||||
|
autotype? (
|
||||||
|
dev-qt/qtx11extras:5
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libXi
|
||||||
|
x11-libs/libXtst
|
||||||
|
)
|
||||||
|
yubikey? ( sys-auth/ykpers )
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
dev-qt/linguist-tools:5
|
||||||
|
dev-qt/qtconcurrent:5
|
||||||
|
test? ( dev-qt/qttest:5 )
|
||||||
|
"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
use test || \
|
||||||
|
sed -e "/^find_package(Qt5Test/d" -i CMakeLists.txt || die
|
||||||
|
|
||||||
|
cmake-utils_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DWITH_GUI_TESTS=OFF
|
||||||
|
-DWITH_TESTS="$(usex test)"
|
||||||
|
-DWITH_XC_AUTOTYPE="$(usex autotype)"
|
||||||
|
-DWITH_XC_HTTP="$(usex http)"
|
||||||
|
-DWITH_XC_YUBIKEY="$(usex yubikey)"
|
||||||
|
)
|
||||||
|
cmake-utils_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
xdg_desktop_database_update
|
||||||
|
xdg_mimeinfo_database_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
xdg_desktop_database_update
|
||||||
|
xdg_mimeinfo_database_update
|
||||||
|
}
|
@ -1,31 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
GENTOO_DEPEND_ON_PERL_SUBSLOT=yes
|
|
||||||
inherit perl-app
|
|
||||||
|
|
||||||
DESCRIPTION="Simple log watcher"
|
|
||||||
HOMEPAGE="https://sourceforge.net/projects/swatch/"
|
|
||||||
SRC_URI="mirror://sourceforge/swatch/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ppc x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="dev-perl/Date-Manip
|
|
||||||
dev-perl/Date-Calc
|
|
||||||
dev-perl/File-Tail
|
|
||||||
dev-perl/TimeDate
|
|
||||||
>=virtual/perl-Time-HiRes-1.12
|
|
||||||
!app-admin/swatch"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake install
|
|
||||||
newinitd "${FILESDIR}/${PN}-init" "${PN}"
|
|
||||||
newconfd "${FILESDIR}/${PN}-confd" "${PN}"
|
|
||||||
insinto /etc
|
|
||||||
doins "${FILESDIR}/${PN}rc"
|
|
||||||
}
|
|
@ -1,4 +1,4 @@
|
|||||||
DIST dpkg_1.17.26.tar.xz 4410860 SHA256 aa4e758752cdfd7ecb118d7a7d31139a0c090c92aa494aa2e46603006deb1ec8 SHA512 4d2f2a7691dd34d47b62ec1f602d9bab612b151f05362607ec8e31037c4ba0baf5d609c46352240e9806e5781db8df9781e8a0ee9fd24faf54f8b43244a7e538 WHIRLPOOL 56decf0774f2d4405fb0934415c50749230c06fe9112e0ebb4458a8917538c83644eadb885d24350bbf713a6250dd5687956b70d47e22c06cf39ff87cb2d5a23
|
DIST dpkg_1.17.26.tar.xz 4410860 SHA256 aa4e758752cdfd7ecb118d7a7d31139a0c090c92aa494aa2e46603006deb1ec8 SHA512 4d2f2a7691dd34d47b62ec1f602d9bab612b151f05362607ec8e31037c4ba0baf5d609c46352240e9806e5781db8df9781e8a0ee9fd24faf54f8b43244a7e538 WHIRLPOOL 56decf0774f2d4405fb0934415c50749230c06fe9112e0ebb4458a8917538c83644eadb885d24350bbf713a6250dd5687956b70d47e22c06cf39ff87cb2d5a23
|
||||||
DIST dpkg_1.18.18.tar.xz 4501988 SHA256 c88b61e3d4660500753142689e8ddbeff1c731f29549f3338e6975f655936ff5 SHA512 7682c8ac523ff710acd6742b9a884ed8ec8537e3b38496f871f112fdfd2f874af6d676cfef2d31d2474c5637df043838c814ef4038097b009cf06b3d4e66029c WHIRLPOOL aabdc0df8e07fc5190e3bfa3ee29537b655410f739f5c7930086aba8e30745aceccbe671963b045d74acb2ace704a846b650c83c8fb515abbbccf5d71d70dde8
|
DIST dpkg_1.18.18.tar.xz 4501988 SHA256 c88b61e3d4660500753142689e8ddbeff1c731f29549f3338e6975f655936ff5 SHA512 7682c8ac523ff710acd6742b9a884ed8ec8537e3b38496f871f112fdfd2f874af6d676cfef2d31d2474c5637df043838c814ef4038097b009cf06b3d4e66029c WHIRLPOOL aabdc0df8e07fc5190e3bfa3ee29537b655410f739f5c7930086aba8e30745aceccbe671963b045d74acb2ace704a846b650c83c8fb515abbbccf5d71d70dde8
|
||||||
DIST dpkg_1.18.23.tar.xz 4516252 SHA256 cc08802a0cea2ccd0c10716bc71531ff9b9234dd454b83a59f71117a37f36923 SHA512 4f9bed1fb0558fa6b003601b7be8d67eb592140b7f9ac4cf0bccb394e14b42a822cdc692c8c6e27ad2929719fe78659f21c128cb17618733d344fd3489f42be7 WHIRLPOOL 711083cdecafe9a54ad4fe13b804730ba56a3bc7e8c396624b6a87a8130d5151e7ecea8b518f8eb3aaba9dc64544f6a766b89500a517dcca8a585f7bc74af7cf
|
|
||||||
DIST dpkg_1.18.24.tar.xz 4530444 SHA256 d853081d3e06bfd46a227056e591f094e42e78fa8a5793b0093bad30b710d7b4 SHA512 74df36a49a1b6b2243db14bd7ee0b69e50c2f0e79fc87e86e9b3cba2261fb717e421f7190a3ba54b4680a2f83855e5857dcb2625aa56847133258567392f1d42 WHIRLPOOL 94406a061e39aa755e8bf9a4ec2584a117676b4309b2b94442490571fa1c0a91cc2631083630bf5c701fd9a894891c7658ac70e583ef89be16a2776f941445f0
|
DIST dpkg_1.18.24.tar.xz 4530444 SHA256 d853081d3e06bfd46a227056e591f094e42e78fa8a5793b0093bad30b710d7b4 SHA512 74df36a49a1b6b2243db14bd7ee0b69e50c2f0e79fc87e86e9b3cba2261fb717e421f7190a3ba54b4680a2f83855e5857dcb2625aa56847133258567392f1d42 WHIRLPOOL 94406a061e39aa755e8bf9a4ec2584a117676b4309b2b94442490571fa1c0a91cc2631083630bf5c701fd9a894891c7658ac70e583ef89be16a2776f941445f0
|
||||||
|
DIST dpkg_1.19.0.4.tar.xz 4559160 SHA256 98a66bb19012f9bde848e1e02903fe411dd0b9e61921108ee4323c4167e6990a SHA512 3452889a0b5820372a9dd919becff694d4814f12a77b633f0c5f75f2a3bf6c883894b11dcc93e3be591bec42e15ae9824c2496c470962691759525f6aa42f250 WHIRLPOOL ab55132d23bf96b4447b9e5d5d8a46395625d871b2599a8d24daeec9211d4fffe188764e5014a3baae7452085e1af076dcca5a64ac1fb22fa216fa0c81cf68e9
|
||||||
|
@ -1 +1 @@
|
|||||||
DIST untangle-https-backup-0.0.6.tar.gz 15730 SHA256 91f5a308557d89de50d4f741c623b3b2073878bae44d2efa64b9237b06d18baa SHA512 a7854fe23faba88ee21e3bc9aaaedc54aefc58d8cd844d200d184ddffcff3cc5c90ff429464914e89cbfc4651057007ad328a665ed706d65ba3e1bda87965da1 WHIRLPOOL 913bec9d3bd291798688aa9a1cda9af8fbd746574401d3387f42e7f32bcd817e34702e498594012db19b06ff214b997bd06b0a0712e4690d9549cb5df5a06770
|
DIST untangle-https-backup-0.0.7.tar.gz 15846 SHA256 c12d0735a60fa147b1943514af4e4627cb1766e7ac9598a0073944db423c62be SHA512 0b5cd7962340492ea8dd3d63b4d4bf38906c3b0de73456f80c8fd678708777d159b60cb1d58ef13f0e51b6dc97b16823ddaf8de60d21373160df0e735b54420a WHIRLPOOL 4ef4f9148f59921d663e553261badcf0bc53370d022cb4a8f4b8cdc8c173bb3d4704b24f1e094a7a96fb31e19433f31b67ffa39d606c8d80fd9180fcebe33278
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
DIST emacs-26.0.90.tar.xz 43908428 SHA256 efb27124cb8f3eeba9472f4f5774b5d9bf4f87fd4d6023aae78469fb5667cf2c SHA512 c263d1d1a12d8b21cc43ddcb46a28ce3a54d0ef09e240518f19bfdabf4c4ceebc3c2d1521aae9808cafdd3e731c93dd22b4f1e7e619e38076aa4ffdbaadea93b WHIRLPOOL 383b4e2fb73a9cfc825859a2f3b791dfbc0ef186fe5c25126e1d562aff27900f5bad452725f62dedb3be5492b365dff80e30d64a3cff709e305697662f252ada
|
@ -0,0 +1,386 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit autotools elisp-common flag-o-matic multilib readme.gentoo-r1
|
||||||
|
|
||||||
|
if [[ ${PV##*.} = 9999 ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://git.savannah.gnu.org/git/emacs.git"
|
||||||
|
EGIT_BRANCH="emacs-26"
|
||||||
|
EGIT_CHECKOUT_DIR="${WORKDIR}/emacs"
|
||||||
|
S="${EGIT_CHECKOUT_DIR}"
|
||||||
|
else
|
||||||
|
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/emacs-${PV}.tar.xz
|
||||||
|
mirror://gnu-alpha/emacs/pretest/emacs-${PV}.tar.xz"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||||
|
# 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}"
|
||||||
|
[[ ${FULL_VERSION} != ${PV} ]] && S="${WORKDIR}/emacs"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||||
|
HOMEPAGE="https://www.gnu.org/software/emacs/"
|
||||||
|
|
||||||
|
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
|
||||||
|
SLOT="26"
|
||||||
|
IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gconf gfile gif gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib mailutils motif pax_kernel png selinux sound source ssl svg systemd +threads tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib"
|
||||||
|
REQUIRED_USE="?? ( aqua X )"
|
||||||
|
|
||||||
|
RDEPEND="sys-libs/ncurses:0=
|
||||||
|
>=app-eselect/eselect-emacs-1.16
|
||||||
|
>=app-emacs/emacs-common-gentoo-1.5[games?,X?]
|
||||||
|
acl? ( virtual/acl )
|
||||||
|
alsa? ( media-libs/alsa-lib )
|
||||||
|
dbus? ( sys-apps/dbus )
|
||||||
|
gpm? ( sys-libs/gpm )
|
||||||
|
hesiod? ( net-dns/hesiod )
|
||||||
|
!inotify? ( gfile? ( >=dev-libs/glib-2.28.6 ) )
|
||||||
|
kerberos? ( virtual/krb5 )
|
||||||
|
libxml2? ( >=dev-libs/libxml2-2.2.0 )
|
||||||
|
mailutils? ( net-mail/mailutils[clients] )
|
||||||
|
!mailutils? ( net-libs/liblockfile )
|
||||||
|
selinux? ( sys-libs/libselinux )
|
||||||
|
ssl? ( net-libs/gnutls:0= )
|
||||||
|
systemd? ( sys-apps/systemd )
|
||||||
|
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:0= )
|
||||||
|
jpeg? ( virtual/jpeg:0= )
|
||||||
|
png? ( >=media-libs/libpng-1.4:0= )
|
||||||
|
svg? ( >=gnome-base/librsvg-2.0 )
|
||||||
|
tiff? ( media-libs/tiff:0 )
|
||||||
|
xpm? ( x11-libs/libXpm )
|
||||||
|
imagemagick? ( >=media-gfx/imagemagick-6.6.2:0= )
|
||||||
|
xft? (
|
||||||
|
media-libs/fontconfig
|
||||||
|
media-libs/freetype
|
||||||
|
x11-libs/libXft
|
||||||
|
cairo? ( >=x11-libs/cairo-1.12.18 )
|
||||||
|
m17n-lib? (
|
||||||
|
>=dev-libs/libotf-0.9.4
|
||||||
|
>=dev-libs/m17n-lib-1.5.1
|
||||||
|
)
|
||||||
|
)
|
||||||
|
gtk? (
|
||||||
|
xwidgets? (
|
||||||
|
x11-libs/gtk+:3
|
||||||
|
net-libs/webkit-gtk:4=
|
||||||
|
)
|
||||||
|
!xwidgets? (
|
||||||
|
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 )"
|
||||||
|
|
||||||
|
if [[ ${PV##*.} = 9999 ]]; then
|
||||||
|
DEPEND="${DEPEND}
|
||||||
|
sys-apps/texinfo"
|
||||||
|
fi
|
||||||
|
|
||||||
|
EMACS_SUFFIX="${PN/emacs/emacs-${SLOT}}"
|
||||||
|
SITEFILE="20${PN}-${SLOT}-gentoo.el"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
if [[ ${PV##*.} = 9999 ]]; then
|
||||||
|
FULL_VERSION=$(sed -n 's/^AC_INIT([^,]*,[ \t]*\([^ \t,)]*\).*/\1/p' \
|
||||||
|
configure.ac)
|
||||||
|
[[ ${FULL_VERSION} ]] || die "Cannot determine current Emacs version"
|
||||||
|
einfo "Emacs branch: ${EGIT_BRANCH}"
|
||||||
|
einfo "Commit: ${EGIT_VERSION}"
|
||||||
|
einfo "Emacs version number: ${FULL_VERSION}"
|
||||||
|
[[ ${FULL_VERSION} =~ ^${PV%.*}(\..*)?$ ]] \
|
||||||
|
|| die "Upstream version number changed to ${FULL_VERSION}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
eapply_user
|
||||||
|
|
||||||
|
# Fix filename reference in redirected man page
|
||||||
|
sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 \
|
||||||
|
|| die "unable to sed ctags.1"
|
||||||
|
|
||||||
|
AT_M4DIR=m4 eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
strip-flags
|
||||||
|
filter-flags -pie #526948
|
||||||
|
|
||||||
|
if use sh; then
|
||||||
|
replace-flags "-O[1-9]" -O0 #262359
|
||||||
|
elif use ia64; then
|
||||||
|
replace-flags "-O[2-9]" -O1 #325373
|
||||||
|
else
|
||||||
|
replace-flags "-O[3-9]" -O2
|
||||||
|
fi
|
||||||
|
|
||||||
|
local myconf
|
||||||
|
|
||||||
|
if use alsa; then
|
||||||
|
use sound || ewarn \
|
||||||
|
"USE flag \"alsa\" overrides \"-sound\"; enabling sound support."
|
||||||
|
myconf+=" --with-sound=alsa"
|
||||||
|
else
|
||||||
|
myconf+=" --with-sound=$(usex sound oss)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use X; then
|
||||||
|
myconf+=" --with-x --without-ns"
|
||||||
|
myconf+=" $(use_with gconf)"
|
||||||
|
myconf+=" $(use_with gsettings)"
|
||||||
|
myconf+=" $(use_with toolkit-scroll-bars)"
|
||||||
|
myconf+=" $(use_with gif)"
|
||||||
|
myconf+=" $(use_with jpeg)"
|
||||||
|
myconf+=" $(use_with png)"
|
||||||
|
myconf+=" $(use_with svg rsvg)"
|
||||||
|
myconf+=" $(use_with tiff)"
|
||||||
|
myconf+=" $(use_with xpm)"
|
||||||
|
myconf+=" $(use_with imagemagick)"
|
||||||
|
|
||||||
|
if use xft; then
|
||||||
|
myconf+=" --with-xft"
|
||||||
|
myconf+=" $(use_with cairo)"
|
||||||
|
myconf+=" $(use_with m17n-lib libotf)"
|
||||||
|
myconf+=" $(use_with m17n-lib m17n-flt)"
|
||||||
|
else
|
||||||
|
myconf+=" --without-xft"
|
||||||
|
myconf+=" --without-cairo"
|
||||||
|
myconf+=" --without-libotf --without-m17n-flt"
|
||||||
|
use cairo && ewarn \
|
||||||
|
"USE flag \"cairo\" has no effect if \"xft\" is not set."
|
||||||
|
use m17n-lib && ewarn \
|
||||||
|
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
|
||||||
|
fi
|
||||||
|
|
||||||
|
local f line
|
||||||
|
if use gtk; then
|
||||||
|
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||||
|
while read line; do ewarn "${line}"; done <<-EOF
|
||||||
|
Your version of GTK+ will have problems with closing open
|
||||||
|
displays. This is no problem if you just use one display, but
|
||||||
|
if you use more than one and close one of them Emacs may crash.
|
||||||
|
See <https://bugzilla.gnome.org/show_bug.cgi?id=85715>.
|
||||||
|
If you intend to use more than one display, then it is strongly
|
||||||
|
recommended that you compile Emacs with the Athena/Lucid or the
|
||||||
|
Motif toolkit instead.
|
||||||
|
EOF
|
||||||
|
if use xwidgets; then
|
||||||
|
myconf+=" --with-x-toolkit=gtk3 --with-xwidgets"
|
||||||
|
else
|
||||||
|
myconf+=" --with-x-toolkit=$(usex gtk3 gtk3 gtk2)"
|
||||||
|
myconf+=" --without-xwidgets"
|
||||||
|
fi
|
||||||
|
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
|
||||||
|
! use gtk && use xwidgets && ewarn \
|
||||||
|
"USE flag \"xwidgets\" has no effect if \"gtk\" is not set."
|
||||||
|
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}" \
|
||||||
|
--without-compress-install \
|
||||||
|
--with-file-notification=$(usev inotify || usev gfile || echo no) \
|
||||||
|
--without-pop \
|
||||||
|
$(use_enable acl) \
|
||||||
|
$(use_with dbus) \
|
||||||
|
$(use_with dynamic-loading modules) \
|
||||||
|
$(use_with games gameuser ":gamestat") \
|
||||||
|
$(use_with gpm) \
|
||||||
|
$(use_with hesiod) \
|
||||||
|
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||||
|
$(use_with libxml2 xml2) \
|
||||||
|
$(use_with mailutils) \
|
||||||
|
$(use_with selinux) \
|
||||||
|
$(use_with ssl gnutls) \
|
||||||
|
$(use_with systemd libsystemd) \
|
||||||
|
$(use_with threads) \
|
||||||
|
$(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/{appdata,applications,icons}
|
||||||
|
rm -rf "${ED}/usr/$(get_libdir)"
|
||||||
|
rm -rf "${ED}"/var
|
||||||
|
|
||||||
|
# remove unused <version>/site-lisp dir
|
||||||
|
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
|
||||||
|
|
||||||
|
# remove COPYING file (except for etc/COPYING used by describe-copying)
|
||||||
|
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING
|
||||||
|
|
||||||
|
if use gzip-el; then
|
||||||
|
# compress .el files when a corresponding .elc exists
|
||||||
|
find "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp -type f \
|
||||||
|
-name "*.elc" -print | sed 's/\.elc$/.el/' | xargs gzip -9n
|
||||||
|
assert "gzip .el failed"
|
||||||
|
fi
|
||||||
|
|
||||||
|
local cdir
|
||||||
|
if use source; then
|
||||||
|
cdir="/usr/share/emacs/${FULL_VERSION}/src"
|
||||||
|
insinto "${cdir}"
|
||||||
|
# This is not meant to install all the source -- just the
|
||||||
|
# C source you might find via find-function
|
||||||
|
doins src/*.{c,h,m}
|
||||||
|
elif has installsources ${FEATURES}; then
|
||||||
|
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
|
||||||
|
fi
|
||||||
|
|
||||||
|
sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF
|
||||||
|
X
|
||||||
|
;;; ${PN}-${SLOT} site-lisp configuration
|
||||||
|
X
|
||||||
|
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
||||||
|
Y (setq find-function-C-source-directory
|
||||||
|
Y "${EPREFIX}${cdir}")
|
||||||
|
X (let ((path (getenv "INFOPATH"))
|
||||||
|
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
|
||||||
|
X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
|
||||||
|
X (and path
|
||||||
|
X ;; move Emacs Info dir before anything else in /usr/share/info
|
||||||
|
X (let* ((p (cons nil (split-string path ":" t))) (q p))
|
||||||
|
X (while (and (cdr q) (not (string-match re (cadr q))))
|
||||||
|
X (setq q (cdr q)))
|
||||||
|
X (setcdr q (cons dir (delete dir (cdr q))))
|
||||||
|
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
|
||||||
|
EOF
|
||||||
|
elisp-site-file-install "${T}/${SITEFILE}" || die
|
||||||
|
|
||||||
|
dodoc README BUGS CONTRIBUTE
|
||||||
|
|
||||||
|
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
|
||||||
|
readme.gentoo_print_elog
|
||||||
|
|
||||||
|
if use livecd; then
|
||||||
|
# force an update of the emacs symlink for the livecd/dvd,
|
||||||
|
# because some microemacs packages set it with USE=livecd
|
||||||
|
eselect emacs update
|
||||||
|
elif [[ $(readlink "${EROOT}"/usr/bin/emacs) = ${EMACS_SUFFIX} ]]; then
|
||||||
|
# refresh symlinks in case any installed files have changed
|
||||||
|
eselect emacs set ${EMACS_SUFFIX}
|
||||||
|
else
|
||||||
|
eselect emacs update ifunset
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
elisp-site-regen
|
||||||
|
eselect emacs update ifunset
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
DIST CodeMirror-5.18.2.tar.gz 923001 SHA256 edfccf28e609a08476e9da4f592d7aa23b7e73af3954d90605e0c650abd20a1a SHA512 c979c1ef02bb222b08e64847e5caab9c8a525c96d0eef656a00730d6710b0144144ac656eddef05d50c30c7d33da7dffe1a7580b9d47a5d958af9d6484ea705f WHIRLPOOL 9baaada10513eaad75bb6e8f2d73fd076b85f8a85adec1dc235857ae1f9160d6f463859356d5fce69c882ca4b3a2efc802a62453eb2435f868d9691cb435d73f
|
DIST CodeMirror-5.18.2.tar.gz 923001 SHA256 edfccf28e609a08476e9da4f592d7aa23b7e73af3954d90605e0c650abd20a1a SHA512 c979c1ef02bb222b08e64847e5caab9c8a525c96d0eef656a00730d6710b0144144ac656eddef05d50c30c7d33da7dffe1a7580b9d47a5d958af9d6484ea705f WHIRLPOOL 9baaada10513eaad75bb6e8f2d73fd076b85f8a85adec1dc235857ae1f9160d6f463859356d5fce69c882ca4b3a2efc802a62453eb2435f868d9691cb435d73f
|
||||||
DIST notepadqq-1.0.1.tar.gz 1056249 SHA256 552f274b9c9d3d48e2e55462f33aea8df8ebd0f421b0d7a23b78a46693fbed34 SHA512 781ddf9960227c4ad21fb7e763180cfed7f1c5c0237277335577932678a42a4c2f303f61922d93ec850dbc86df36c292ff10ae053a6e00d7127a48c7ac4e359c WHIRLPOOL 53f47ce9af83e57121e8ad261aece0eda53bbe42d02edebdfd8ffeb3874146c6ab7d63e2347755ac6a447413f46254c6db7ac7aed8809c4ad1baf5a7e0e586fb
|
DIST notepadqq-1.0.1.tar.gz 1056249 SHA256 552f274b9c9d3d48e2e55462f33aea8df8ebd0f421b0d7a23b78a46693fbed34 SHA512 781ddf9960227c4ad21fb7e763180cfed7f1c5c0237277335577932678a42a4c2f303f61922d93ec850dbc86df36c292ff10ae053a6e00d7127a48c7ac4e359c WHIRLPOOL 53f47ce9af83e57121e8ad261aece0eda53bbe42d02edebdfd8ffeb3874146c6ab7d63e2347755ac6a447413f46254c6db7ac7aed8809c4ad1baf5a7e0e586fb
|
||||||
|
DIST notepadqq-1.2.0.tar.gz 2082931 SHA256 423d224724deb5298837327ce7efa0d71dbe73693c783241eeb7bb2327ee97d4 SHA512 4b6b3e646add4dc21b4d4ddecacefa59785e6525d52ecc17ca418ba14f38ef9024f48af6db3538d195327942971eb9ccf0b5567da58ba15facad332b47742717 WHIRLPOOL 472e7579f49328f9323b9b8c7432372cad7d64627e78f4dc2690aabd2d7f9e0506d4b8f5e7a287f58fcf5bc102a5125387b465a78f9dfdf983e48b9510d478ce
|
||||||
|
@ -0,0 +1,52 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit qmake-utils xdg-utils
|
||||||
|
|
||||||
|
CM_PV="5.18.2"
|
||||||
|
|
||||||
|
DESCRIPTION="Notepad++-like editor for Linux"
|
||||||
|
HOMEPAGE="http://notepadqq.altervista.org"
|
||||||
|
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-qt/qtcore:5
|
||||||
|
dev-qt/qtgui:5
|
||||||
|
dev-qt/qtnetwork:5
|
||||||
|
dev-qt/qtprintsupport:5
|
||||||
|
dev-qt/qtwebkit:5
|
||||||
|
dev-qt/qtwidgets:5
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# Silence a QA warning
|
||||||
|
sed '/^OnlyShowIn/d' \
|
||||||
|
-i support_files/shortcuts/notepadqq.desktop \
|
||||||
|
|| die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
eqmake5 PREFIX="${EPREFIX}/usr" ${PN}.pro
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake INSTALL_ROOT="${D}" install
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
xdg_desktop_database_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_desktop_database_update
|
||||||
|
}
|
@ -0,0 +1,598 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru sk sl sr_RS@cyrillic sr_RS@latin sv te th tr uk wa zh_CN zh_TW"
|
||||||
|
PLOCALE_BACKUP="en"
|
||||||
|
|
||||||
|
inherit autotools eutils flag-o-matic gnome2-utils l10n multilib multilib-minimal pax-utils toolchain-funcs virtualx versionator xdg-utils
|
||||||
|
|
||||||
|
MY_PN="${PN%%-*}"
|
||||||
|
MY_P="${MY_PN}-${PV}"
|
||||||
|
|
||||||
|
if [[ ${PV} == "9999" ]] ; then
|
||||||
|
EGIT_REPO_URI="https://source.winehq.org/git/wine.git"
|
||||||
|
EGIT_BRANCH="master"
|
||||||
|
inherit git-r3
|
||||||
|
SRC_URI=""
|
||||||
|
#KEYWORDS=""
|
||||||
|
else
|
||||||
|
MAJOR_V=$(get_version_component_range 1)
|
||||||
|
SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}.x/${MY_P}.tar.xz"
|
||||||
|
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||||
|
fi
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
STAGING_P="wine-staging-${PV}"
|
||||||
|
STAGING_DIR="${WORKDIR}/${STAGING_P}"
|
||||||
|
GWP_V="20170830"
|
||||||
|
PATCHDIR="${WORKDIR}/gentoo-wine-patches"
|
||||||
|
|
||||||
|
DESCRIPTION="Free implementation of Windows(tm) on Unix, with Wine-Staging patchset"
|
||||||
|
HOMEPAGE="https://www.winehq.org/"
|
||||||
|
SRC_URI="${SRC_URI}
|
||||||
|
https://dev.gentoo.org/~np-hardass/distfiles/wine/gentoo-wine-patches-${GWP_V}.tar.xz
|
||||||
|
"
|
||||||
|
|
||||||
|
if [[ ${PV} == "9999" ]] ; then
|
||||||
|
STAGING_EGIT_REPO_URI="https://github.com/wine-compholio/wine-staging.git"
|
||||||
|
else
|
||||||
|
SRC_URI="${SRC_URI}
|
||||||
|
staging? ( https://github.com/wine-compholio/wine-staging/archive/v${PV}.tar.gz -> ${STAGING_P}.tar.gz )"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
SLOT="${PV}"
|
||||||
|
IUSE="+abi_x86_32 +abi_x86_64 +alsa capi cups custom-cflags dos elibc_glibc +fontconfig +gecko gphoto2 gsm gstreamer +jpeg kernel_FreeBSD +lcms ldap +mono mp3 ncurses netapi nls odbc openal opencl +opengl osmesa oss +perl pcap pipelight +png prelink pulseaudio +realtime +run-exes s3tc samba scanner selinux +ssl staging test themes +threads +truetype udev +udisks v4l vaapi +X +xcomposite xinerama +xml"
|
||||||
|
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )
|
||||||
|
X? ( truetype )
|
||||||
|
elibc_glibc? ( threads )
|
||||||
|
osmesa? ( opengl )
|
||||||
|
pipelight? ( staging )
|
||||||
|
s3tc? ( staging )
|
||||||
|
test? ( abi_x86_32 )
|
||||||
|
themes? ( staging )
|
||||||
|
vaapi? ( staging )" # osmesa-opengl #286560 # X-truetype #551124
|
||||||
|
|
||||||
|
# FIXME: the test suite is unsuitable for us; many tests require net access
|
||||||
|
# or fail due to Xvfb's opengl limitations.
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
COMMON_DEPEND="
|
||||||
|
X? (
|
||||||
|
x11-libs/libXcursor[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXext[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXrandr[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
|
||||||
|
capi? ( net-libs/libcapi[${MULTILIB_USEDEP}] )
|
||||||
|
cups? ( net-print/cups:=[${MULTILIB_USEDEP}] )
|
||||||
|
fontconfig? ( media-libs/fontconfig:=[${MULTILIB_USEDEP}] )
|
||||||
|
gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] )
|
||||||
|
gsm? ( media-sound/gsm:=[${MULTILIB_USEDEP}] )
|
||||||
|
gstreamer? (
|
||||||
|
media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
|
||||||
|
media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
jpeg? ( virtual/jpeg:0=[${MULTILIB_USEDEP}] )
|
||||||
|
lcms? ( media-libs/lcms:2=[${MULTILIB_USEDEP}] )
|
||||||
|
ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] )
|
||||||
|
mp3? ( >=media-sound/mpg123-1.5.0[${MULTILIB_USEDEP}] )
|
||||||
|
ncurses? ( >=sys-libs/ncurses-5.2:0=[${MULTILIB_USEDEP}] )
|
||||||
|
netapi? ( net-fs/samba[netapi(+),${MULTILIB_USEDEP}] )
|
||||||
|
nls? ( sys-devel/gettext[${MULTILIB_USEDEP}] )
|
||||||
|
odbc? ( dev-db/unixODBC:=[${MULTILIB_USEDEP}] )
|
||||||
|
openal? ( media-libs/openal:=[${MULTILIB_USEDEP}] )
|
||||||
|
opencl? ( virtual/opencl[${MULTILIB_USEDEP}] )
|
||||||
|
opengl? (
|
||||||
|
virtual/glu[${MULTILIB_USEDEP}]
|
||||||
|
virtual/opengl[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
osmesa? ( >=media-libs/mesa-13[osmesa,${MULTILIB_USEDEP}] )
|
||||||
|
pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] )
|
||||||
|
png? ( media-libs/libpng:0=[${MULTILIB_USEDEP}] )
|
||||||
|
pulseaudio? ( media-sound/pulseaudio[${MULTILIB_USEDEP}] )
|
||||||
|
scanner? ( media-gfx/sane-backends:=[${MULTILIB_USEDEP}] )
|
||||||
|
ssl? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] )
|
||||||
|
staging? ( sys-apps/attr[${MULTILIB_USEDEP}] )
|
||||||
|
themes? (
|
||||||
|
dev-libs/glib:2[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/cairo[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/gtk+:3[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
truetype? ( >=media-libs/freetype-2.0.0[${MULTILIB_USEDEP}] )
|
||||||
|
udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
|
||||||
|
udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
|
||||||
|
v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] )
|
||||||
|
vaapi? ( x11-libs/libva[X,${MULTILIB_USEDEP}] )
|
||||||
|
xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] )
|
||||||
|
xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] )
|
||||||
|
xml? (
|
||||||
|
dev-libs/libxml2[${MULTILIB_USEDEP}]
|
||||||
|
dev-libs/libxslt[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
abi_x86_32? (
|
||||||
|
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||||
|
!<app-emulation/emul-linux-x86-baselibs-20140508-r14
|
||||||
|
!app-emulation/emul-linux-x86-db[-abi_x86_32(-)]
|
||||||
|
!<app-emulation/emul-linux-x86-db-20140508-r3
|
||||||
|
!app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)]
|
||||||
|
!<app-emulation/emul-linux-x86-medialibs-20140508-r6
|
||||||
|
!app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)]
|
||||||
|
!<app-emulation/emul-linux-x86-opengl-20140508-r1
|
||||||
|
!app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)]
|
||||||
|
!<app-emulation/emul-linux-x86-sdl-20140508-r1
|
||||||
|
!app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)]
|
||||||
|
!<app-emulation/emul-linux-x86-soundlibs-20140508
|
||||||
|
!app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)]
|
||||||
|
!<app-emulation/emul-linux-x86-xlibs-20140508
|
||||||
|
)"
|
||||||
|
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
app-emulation/wine-desktop-common
|
||||||
|
>app-eselect/eselect-wine-0.3
|
||||||
|
!app-emulation/wine:0
|
||||||
|
dos? ( >=games-emulation/dosbox-0.74_p20160629 )
|
||||||
|
gecko? ( app-emulation/wine-gecko:2.47[abi_x86_32?,abi_x86_64?] )
|
||||||
|
mono? ( app-emulation/wine-mono:4.7.1 )
|
||||||
|
perl? (
|
||||||
|
dev-lang/perl
|
||||||
|
dev-perl/XML-Simple
|
||||||
|
)
|
||||||
|
pulseaudio? (
|
||||||
|
realtime? ( sys-auth/rtkit )
|
||||||
|
)
|
||||||
|
s3tc? ( >=media-libs/libtxc_dxtn-1.0.1-r1[${MULTILIB_USEDEP}] )
|
||||||
|
samba? ( >=net-fs/samba-3.0.25[winbind] )
|
||||||
|
selinux? ( sec-policy/selinux-wine )
|
||||||
|
udisks? ( sys-fs/udisks:2 )"
|
||||||
|
|
||||||
|
# tools/make_requests requires perl
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
dev-util/patchbin
|
||||||
|
sys-devel/flex
|
||||||
|
>=sys-kernel/linux-headers-2.6
|
||||||
|
virtual/pkgconfig
|
||||||
|
virtual/yacc
|
||||||
|
X? (
|
||||||
|
x11-proto/inputproto
|
||||||
|
x11-proto/xextproto
|
||||||
|
x11-proto/xf86vidmodeproto
|
||||||
|
)
|
||||||
|
prelink? ( sys-devel/prelink )
|
||||||
|
staging? (
|
||||||
|
dev-lang/perl
|
||||||
|
dev-perl/XML-Simple
|
||||||
|
)
|
||||||
|
xinerama? ( x11-proto/xineramaproto )"
|
||||||
|
|
||||||
|
# These use a non-standard "Wine" category, which is provided by
|
||||||
|
# /etc/xdg/applications-merged/wine.menu
|
||||||
|
QA_DESKTOP_FILE="usr/share/applications/wine-browsedrive.desktop
|
||||||
|
usr/share/applications/wine-notepad.desktop
|
||||||
|
usr/share/applications/wine-uninstaller.desktop
|
||||||
|
usr/share/applications/wine-winecfg.desktop"
|
||||||
|
|
||||||
|
wine_compiler_check() {
|
||||||
|
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
||||||
|
|
||||||
|
# GCC-specific bugs
|
||||||
|
if tc-is-gcc; then
|
||||||
|
# bug #549768
|
||||||
|
if use abi_x86_64 && [[ $(gcc-major-version) = 5 && $(gcc-minor-version) -le 2 ]]; then
|
||||||
|
ebegin "Checking for gcc-5 ms_abi compiler bug"
|
||||||
|
$(tc-getCC) -O2 "${PATCHDIR}/files/pr66838.c" -o "${T}"/pr66838 || die
|
||||||
|
# Run in subshell to prevent "Aborted" message
|
||||||
|
( "${T}"/pr66838 || false ) >/dev/null 2>&1
|
||||||
|
if ! eend $?; then
|
||||||
|
eerror "64-bit wine cannot be built with gcc-5.1 or initial patchset of 5.2.0"
|
||||||
|
eerror "due to compiler bugs; please re-emerge the latest gcc-5.2.x ebuild,"
|
||||||
|
eerror "or use gcc-config to select a different compiler version."
|
||||||
|
eerror "See https://bugs.gentoo.org/549768"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
# bug #574044
|
||||||
|
if use abi_x86_64 && [[ $(gcc-major-version) = 5 && $(gcc-minor-version) = 3 ]]; then
|
||||||
|
ebegin "Checking for gcc-5-3 stack realignment compiler bug"
|
||||||
|
# Compile in subshell to prevent "Aborted" message
|
||||||
|
( $(tc-getCC) -O2 -mincoming-stack-boundary=3 "${PATCHDIR}/files/pr69140.c" -o "${T}"/pr69140 ) >/dev/null 2>&1
|
||||||
|
if ! eend $?; then
|
||||||
|
eerror "Wine cannot be built with this version of gcc-5.3"
|
||||||
|
eerror "due to compiler bugs; please re-emerge the latest gcc-5.3.x ebuild,"
|
||||||
|
eerror "or use gcc-config to select a different compiler version."
|
||||||
|
eerror "See https://bugs.gentoo.org/574044"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Ensure compiler support
|
||||||
|
if use abi_x86_64; then
|
||||||
|
ebegin "Checking for 64-bit compiler with builtin_ms_va_list support"
|
||||||
|
# Compile in subshell to prevent "Aborted" message
|
||||||
|
( $(tc-getCC) -O2 "${PATCHDIR}/files/builtin_ms_va_list.c" -o "${T}"/builtin_ms_va_list >/dev/null 2>&1)
|
||||||
|
if ! eend $?; then
|
||||||
|
eerror "This version of $(tc-getCC) does not support builtin_ms_va_list, can't enable 64-bit wine"
|
||||||
|
eerror
|
||||||
|
eerror "You need gcc-4.4+ or clang 3.8+ to build 64-bit wine"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
wine_build_environment_check() {
|
||||||
|
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
||||||
|
|
||||||
|
if use abi_x86_64; then
|
||||||
|
if tc-is-gcc && [[ $(gcc-major-version) -lt 4 || ( $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 4 ) ]]; then
|
||||||
|
eerror "You need gcc-4.4+ to compile 64-bit wine"
|
||||||
|
die
|
||||||
|
elif tc-is-clang && [[ $(clang-major-version) -lt 3 || ( $(clang-major-version) -eq 3 && $(clang-minor-version) -lt 8 ) ]]; then
|
||||||
|
eerror "You need clang-3.8+ to compile 64-bit wine"
|
||||||
|
die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if tc-is-gcc && [[ $(gcc-major-version) -eq 5 && $(gcc-minor-version) -le 3 ]]; then
|
||||||
|
ewarn "GCC-5.0-5.3 suffered from compiler bugs and are no longer supported by"
|
||||||
|
ewarn "Gentoo's Toolchain Team. If your ebuild fails the compiler checks in"
|
||||||
|
ewarn "the configure phase, either update your compiler or switch to <5.0 || >=5.4"
|
||||||
|
fi
|
||||||
|
if tc-is-gcc && [[ $(gcc-major-version) -eq 5 && $(gcc-minor-version) -eq 4 ]]; then
|
||||||
|
if has "-march=i686" ${CFLAGS} && ! has "-mtune=generic" ${CFLAGS}; then
|
||||||
|
ewarn "Compilation can hang with CFLAGS=\"-march=i686\". You can temporarily work"
|
||||||
|
ewarn "around this by adding \"-mtune=generic\" to your CFLAGS for wine."
|
||||||
|
ewarn "See package.env in man 5 portage for more information on how to do this."
|
||||||
|
ewarn "See https://bugs.gentoo.org/show_bug.cgi?id=613128 for more details"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use abi_x86_32 && use opencl && [[ "$(eselect opencl show 2> /dev/null)" == "intel" ]]; then
|
||||||
|
eerror "You cannot build wine with USE=opencl because intel-ocl-sdk is 64-bit only."
|
||||||
|
eerror "See https://bugs.gentoo.org/487864 for more details."
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
wine_env_vcs_vars() {
|
||||||
|
local pn_live_var="${PN//[-+]/_}_LIVE_COMMIT"
|
||||||
|
local pn_live_val="${pn_live_var}"
|
||||||
|
eval pn_live_val='$'${pn_live_val}
|
||||||
|
if [[ ! -z ${pn_live_val} ]]; then
|
||||||
|
if use staging; then
|
||||||
|
eerror "Because of the multi-repo nature of ${MY_PN}, ${pn_live_var}"
|
||||||
|
eerror "cannot be used to set the commit. Instead, you may use the"
|
||||||
|
eerror "environmental variables WINE_COMMIT, and STAGING_COMMIT."
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if [[ ! -z ${EGIT_COMMIT} ]]; then
|
||||||
|
eerror "Commits must now be specified using the environmental variables"
|
||||||
|
eerror "WINE_COMMIT, STAGING_COMMIT, and D3D9_COMMIT"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
wine_build_environment_check || die
|
||||||
|
|
||||||
|
# Verify OSS support
|
||||||
|
if use oss && ! use kernel_FreeBSD; then
|
||||||
|
if ! has_version ">=media-sound/oss-4"; then
|
||||||
|
eerror "You cannot build wine with USE=oss without having support from a"
|
||||||
|
eerror "FreeBSD kernel or >=media-sound/oss-4 (only available through external repos)"
|
||||||
|
eerror
|
||||||
|
die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
wine_build_environment_check || die
|
||||||
|
wine_env_vcs_vars || die
|
||||||
|
|
||||||
|
WINE_VARIANT="${PN#wine}-${PV}"
|
||||||
|
WINE_VARIANT="${WINE_VARIANT#-}"
|
||||||
|
|
||||||
|
MY_PREFIX="${EPREFIX}/usr/lib/wine-${WINE_VARIANT}"
|
||||||
|
MY_DATAROOTDIR="${EPREFIX}/usr/share/wine-${WINE_VARIANT}"
|
||||||
|
MY_DATADIR="${MY_DATAROOTDIR}"
|
||||||
|
MY_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
|
||||||
|
MY_INCLUDEDIR="${EPREFIX}/usr/include/wine-${WINE_VARIANT}"
|
||||||
|
MY_LIBEXECDIR="${EPREFIX}/usr/libexec/wine-${WINE_VARIANT}"
|
||||||
|
MY_LOCALSTATEDIR="${EPREFIX}/var/wine-${WINE_VARIANT}"
|
||||||
|
MY_MANDIR="${MY_DATADIR}/man"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
if [[ ${PV} == "9999" ]] ; then
|
||||||
|
EGIT_CHECKOUT_DIR="${S}" EGIT_COMMIT="${WINE_COMMIT}" git-r3_src_unpack
|
||||||
|
if use staging; then
|
||||||
|
local CURRENT_WINE_COMMIT=${EGIT_VERSION}
|
||||||
|
|
||||||
|
git-r3_fetch "${STAGING_EGIT_REPO_URI}" "${STAGING_COMMIT}"
|
||||||
|
git-r3_checkout "${STAGING_EGIT_REPO_URI}" "${STAGING_DIR}"
|
||||||
|
|
||||||
|
local COMPAT_WINE_COMMIT=$("${STAGING_DIR}/patches/patchinstall.sh" --upstream-commit) || die
|
||||||
|
|
||||||
|
if [[ "${CURRENT_WINE_COMMIT}" != "${COMPAT_WINE_COMMIT}" ]]; then
|
||||||
|
einfo "The current Staging patchset is not guaranteed to apply on this WINE commit."
|
||||||
|
einfo "If src_prepare fails, try emerging with the env var WINE_COMMIT."
|
||||||
|
einfo "Example: WINE_COMMIT=${COMPAT_WINE_COMMIT} emerge -1 wine"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
default
|
||||||
|
|
||||||
|
l10n_find_plocales_changes "${S}/po" "" ".po"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
|
||||||
|
eapply_bin(){
|
||||||
|
local patch
|
||||||
|
for patch in ${PATCHES_BIN[@]}; do
|
||||||
|
patchbin --nogit < "${patch}" || die
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
local md5="$(md5sum server/protocol.def)"
|
||||||
|
local PATCHES=(
|
||||||
|
"${PATCHDIR}/patches/${MY_PN}-1.5.26-winegcc.patch" #260726
|
||||||
|
"${PATCHDIR}/patches/${MY_PN}-1.9.5-multilib-portage.patch" #395615
|
||||||
|
"${PATCHDIR}/patches/${MY_PN}-1.6-memset-O3.patch" #480508
|
||||||
|
"${PATCHDIR}/patches/${MY_PN}-2.0-multislot-apploader.patch"
|
||||||
|
)
|
||||||
|
local PATCHES_BIN=(
|
||||||
|
)
|
||||||
|
if use staging; then
|
||||||
|
ewarn "Applying the Wine-Staging patchset. Any bug reports to the"
|
||||||
|
ewarn "Wine bugzilla should explicitly state that staging was used."
|
||||||
|
|
||||||
|
local STAGING_EXCLUDE=""
|
||||||
|
STAGING_EXCLUDE="${STAGING_EXCLUDE} -W winhlp32-Flex_Workaround" # Avoid double patching https://bugs.winehq.org/show_bug.cgi?id=42132
|
||||||
|
use pipelight || STAGING_EXCLUDE="${STAGING_EXCLUDE} -W Pipelight"
|
||||||
|
|
||||||
|
# Launch wine-staging patcher in a subshell, using eapply as a backend, and gitapply.sh as a backend for binary patches
|
||||||
|
ebegin "Running Wine-Staging patch installer"
|
||||||
|
(
|
||||||
|
set -- DESTDIR="${S}" --backend=eapply --no-autoconf --all ${STAGING_EXCLUDE}
|
||||||
|
cd "${STAGING_DIR}/patches"
|
||||||
|
source "${STAGING_DIR}/patches/patchinstall.sh"
|
||||||
|
)
|
||||||
|
eend $? || die "Failed to apply Wine-Staging patches"
|
||||||
|
fi
|
||||||
|
|
||||||
|
default
|
||||||
|
eapply_bin
|
||||||
|
eautoreconf
|
||||||
|
|
||||||
|
# Modification of the server protocol requires regenerating the server requests
|
||||||
|
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
|
||||||
|
einfo "server/protocol.def was patched; running tools/make_requests"
|
||||||
|
tools/make_requests || die #432348
|
||||||
|
fi
|
||||||
|
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
||||||
|
if ! use run-exes; then
|
||||||
|
sed -i '/^MimeType/d' loader/wine.desktop || die #117785
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Edit wine.desktop to work for specific variant
|
||||||
|
sed -e "/^Exec=/s/wine /wine-${WINE_VARIANT} /" -i loader/wine.desktop || die
|
||||||
|
|
||||||
|
# hi-res default icon, #472990, https://bugs.winehq.org/show_bug.cgi?id=24652
|
||||||
|
cp "${PATCHDIR}/files/oic_winlogo.ico" dlls/user32/resources/ || die
|
||||||
|
|
||||||
|
l10n_get_locales > po/LINGUAS || die # otherwise wine doesn't respect LINGUAS
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
wine_compiler_check || die
|
||||||
|
|
||||||
|
export LDCONFIG=/bin/true
|
||||||
|
use custom-cflags || strip-flags
|
||||||
|
|
||||||
|
multilib-minimal_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
local myconf=(
|
||||||
|
--prefix="${MY_PREFIX}"
|
||||||
|
--datarootdir="${MY_DATAROOTDIR}"
|
||||||
|
--datadir="${MY_DATADIR}"
|
||||||
|
--docdir="${MY_DOCDIR}"
|
||||||
|
--includedir="${MY_INCLUDEDIR}"
|
||||||
|
--libdir="${EPREFIX}/usr/$(get_libdir)/wine-${WINE_VARIANT}"
|
||||||
|
--libexecdir="${MY_LIBEXECDIR}"
|
||||||
|
--localstatedir="${MY_LOCALSTATEDIR}"
|
||||||
|
--mandir="${MY_MANDIR}"
|
||||||
|
--sysconfdir=/etc/wine
|
||||||
|
$(use_with alsa)
|
||||||
|
$(use_with capi)
|
||||||
|
$(use_with lcms cms)
|
||||||
|
$(use_with cups)
|
||||||
|
$(use_with ncurses curses)
|
||||||
|
$(use_with udisks dbus)
|
||||||
|
$(use_with fontconfig)
|
||||||
|
$(use_with ssl gnutls)
|
||||||
|
$(use_enable gecko mshtml)
|
||||||
|
$(use_with gphoto2 gphoto)
|
||||||
|
$(use_with gsm)
|
||||||
|
$(use_with gstreamer)
|
||||||
|
--without-hal
|
||||||
|
$(use_with jpeg)
|
||||||
|
$(use_with ldap)
|
||||||
|
$(use_enable mono mscoree)
|
||||||
|
$(use_with mp3 mpg123)
|
||||||
|
$(use_with netapi)
|
||||||
|
$(use_with nls gettext)
|
||||||
|
$(use_with openal)
|
||||||
|
$(use_with opencl)
|
||||||
|
$(use_with opengl)
|
||||||
|
$(use_with osmesa)
|
||||||
|
$(use_with oss)
|
||||||
|
$(use_with pcap)
|
||||||
|
$(use_with png)
|
||||||
|
$(use_with pulseaudio pulse)
|
||||||
|
$(use_with threads pthread)
|
||||||
|
$(use_with scanner sane)
|
||||||
|
$(use_enable test tests)
|
||||||
|
$(use_with truetype freetype)
|
||||||
|
$(use_with udev)
|
||||||
|
$(use_with v4l)
|
||||||
|
$(use_with X x)
|
||||||
|
$(use_with xcomposite)
|
||||||
|
$(use_with xinerama)
|
||||||
|
$(use_with xml)
|
||||||
|
$(use_with xml xslt)
|
||||||
|
)
|
||||||
|
|
||||||
|
use staging && myconf+=(
|
||||||
|
--with-xattr
|
||||||
|
$(use_with themes gtk3)
|
||||||
|
$(use_with vaapi va)
|
||||||
|
)
|
||||||
|
|
||||||
|
local PKG_CONFIG AR RANLIB
|
||||||
|
# Avoid crossdev's i686-pc-linux-gnu-pkg-config if building wine32 on amd64; #472038
|
||||||
|
# set AR and RANLIB to make QA scripts happy; #483342
|
||||||
|
tc-export PKG_CONFIG AR RANLIB
|
||||||
|
|
||||||
|
if use amd64; then
|
||||||
|
if [[ ${ABI} == amd64 ]]; then
|
||||||
|
myconf+=( --enable-win64 )
|
||||||
|
else
|
||||||
|
myconf+=( --disable-win64 )
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Note: using --with-wine64 results in problems with multilib.eclass
|
||||||
|
# CC/LD hackery. We're using separate tools instead.
|
||||||
|
fi
|
||||||
|
|
||||||
|
ECONF_SOURCE=${S} \
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
emake depend
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_test() {
|
||||||
|
# FIXME: win32-only; wine64 tests fail with "could not find the Wine loader"
|
||||||
|
if [[ ${ABI} == x86 ]]; then
|
||||||
|
if [[ $(id -u) == 0 ]]; then
|
||||||
|
ewarn "Skipping tests since they cannot be run under the root user."
|
||||||
|
ewarn "To run the test ${MY_PN} suite, add userpriv to FEATURES in make.conf"
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
WINEPREFIX="${T}/.wine-${ABI}" \
|
||||||
|
Xemake test
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install_all() {
|
||||||
|
local DOCS=( ANNOUNCE AUTHORS README )
|
||||||
|
add_locale_docs() {
|
||||||
|
local locale_doc="documentation/README.$1"
|
||||||
|
[[ ! -e ${locale_doc} ]] || DOCS+=( ${locale_doc} )
|
||||||
|
}
|
||||||
|
l10n_for_each_locale_do add_locale_docs
|
||||||
|
|
||||||
|
einstalldocs
|
||||||
|
prune_libtool_files --all
|
||||||
|
|
||||||
|
if ! use perl ; then # winedump calls function_grep.pl, and winemaker is a perl script
|
||||||
|
rm "${D%/}${MY_PREFIX}"/bin/{wine{dump,maker},function_grep.pl} \
|
||||||
|
"${D%/}${MY_MANDIR}"/man1/wine{dump,maker}.1 || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Remove wineconsole if neither backend is installed #551124
|
||||||
|
if ! use X && ! use ncurses; then
|
||||||
|
rm "${D%/}${MY_PREFIX}"/bin/wineconsole* || die
|
||||||
|
rm "${D%/}${MY_MANDIR}"/man1/wineconsole* || die
|
||||||
|
rm_wineconsole() {
|
||||||
|
rm "${D%/}${MY_PREFIX}/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die
|
||||||
|
}
|
||||||
|
multilib_foreach_abi rm_wineconsole
|
||||||
|
fi
|
||||||
|
|
||||||
|
use abi_x86_32 && pax-mark psmr "${D%/}${MY_PREFIX}"/bin/wine{,-preloader} #255055
|
||||||
|
use abi_x86_64 && pax-mark psmr "${D%/}${MY_PREFIX}"/bin/wine64{,-preloader}
|
||||||
|
|
||||||
|
if use abi_x86_64 && ! use abi_x86_32; then
|
||||||
|
dosym wine64 "${MY_PREFIX}"/bin/wine # 404331
|
||||||
|
dosym wine64-preloader "${MY_PREFIX}"/bin/wine-preloader
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Failglob for bin and man loops
|
||||||
|
local glob_state=$(shopt -p failglob)
|
||||||
|
shopt -s failglob
|
||||||
|
|
||||||
|
# Make wrappers for binaries for handling multiple variants
|
||||||
|
# Note: wrappers instead of symlinks because some are shell which use basename
|
||||||
|
local b
|
||||||
|
for b in "${D%/}${MY_PREFIX}"/bin/*; do
|
||||||
|
make_wrapper "${b##*/}-${WINE_VARIANT}" "${MY_PREFIX}/bin/${b##*/}"
|
||||||
|
done
|
||||||
|
|
||||||
|
# respect LINGUAS when installing man pages, #469418
|
||||||
|
local l
|
||||||
|
for l in de fr pl; do
|
||||||
|
use linguas_${l} || rm -r "${D%/}${MY_MANDIR}"/${l}*
|
||||||
|
done
|
||||||
|
|
||||||
|
eval "${glob_state}"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
eselect wine register ${P}
|
||||||
|
if [[ ${PN} == "wine-vanilla" ]]; then
|
||||||
|
eselect wine register --vanilla ${P} || die
|
||||||
|
else
|
||||||
|
if use staging; then
|
||||||
|
eselect wine register --staging ${P} || die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
eselect wine update --all --if-unset || die
|
||||||
|
|
||||||
|
xdg_desktop_database_update
|
||||||
|
|
||||||
|
if ! use gecko; then
|
||||||
|
ewarn "Without Wine Gecko, wine prefixes will not have a default"
|
||||||
|
ewarn "implementation of iexplore. Many older windows applications"
|
||||||
|
ewarn "rely upon the existence of an iexplore implementation, so"
|
||||||
|
ewarn "you will likely need to install an external one, like via winetricks"
|
||||||
|
fi
|
||||||
|
if ! use mono; then
|
||||||
|
ewarn "Without Wine Mono, wine prefixes will not have a default"
|
||||||
|
ewarn "implementation of .NET. Many windows applications rely upon"
|
||||||
|
ewarn "the existence of a .NET implementation, so you will likely need"
|
||||||
|
ewarn "to install an external one, like via winetricks"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_prerm() {
|
||||||
|
eselect wine deregister ${P}
|
||||||
|
if [[ ${PN} == "wine-vanilla" ]]; then
|
||||||
|
eselect wine deregister --vanilla ${P} || die
|
||||||
|
else
|
||||||
|
if use staging; then
|
||||||
|
eselect wine deregister --staging ${P} || die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
eselect wine update --all --if-unset || die
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_desktop_database_update
|
||||||
|
}
|
@ -1,3 +1,4 @@
|
|||||||
DIST fcitx-anthy-0.1.1.tar.xz 68604 SHA256 c508068c7c9a56c26ea44b8e6ddb90a2ea75860031f89e171dcda8ec4cd08955 SHA512 e2c4bb20f0b0a370e5f28bff14312c2c14210695418438ebe697b94570fe502be8c96dc8fbf813fd3aa6e352283a7d31808a1f12266d4a8050646a8ae86de9d9 WHIRLPOOL 48f674ef23d62f2dc1286712cbb252d709d9e3890921d1f9296ff89f85c5ae211daa887841fc01f267fe44764275e8b6de4aef859d9f1456cb24f00023b262ce
|
DIST fcitx-anthy-0.1.1.tar.xz 68604 SHA256 c508068c7c9a56c26ea44b8e6ddb90a2ea75860031f89e171dcda8ec4cd08955 SHA512 e2c4bb20f0b0a370e5f28bff14312c2c14210695418438ebe697b94570fe502be8c96dc8fbf813fd3aa6e352283a7d31808a1f12266d4a8050646a8ae86de9d9 WHIRLPOOL 48f674ef23d62f2dc1286712cbb252d709d9e3890921d1f9296ff89f85c5ae211daa887841fc01f267fe44764275e8b6de4aef859d9f1456cb24f00023b262ce
|
||||||
DIST fcitx-anthy-0.2.1.tar.xz 72196 SHA256 fd208474666f09f1c189c10c2c0fa9cfda33948b704410e02878fdd92174d78d SHA512 18599251d6ebda96a23f81f63d91e9a9d469d2ea534975c2f4ddbc80584d70646ac6d157d0571f9d48565c0cfd1bb111e2907cae2c00b750014b9f39a7bcf961 WHIRLPOOL 99632911a7831ce24c7535b0e0a249cbbc48b24ec44682f6a09e3dc0a61d7eb74363642098158cc409c3390fb141d03591f1e1b1b3683164d4d6002fe9c92769
|
DIST fcitx-anthy-0.2.1.tar.xz 72196 SHA256 fd208474666f09f1c189c10c2c0fa9cfda33948b704410e02878fdd92174d78d SHA512 18599251d6ebda96a23f81f63d91e9a9d469d2ea534975c2f4ddbc80584d70646ac6d157d0571f9d48565c0cfd1bb111e2907cae2c00b750014b9f39a7bcf961 WHIRLPOOL 99632911a7831ce24c7535b0e0a249cbbc48b24ec44682f6a09e3dc0a61d7eb74363642098158cc409c3390fb141d03591f1e1b1b3683164d4d6002fe9c92769
|
||||||
DIST fcitx-anthy-0.2.2.tar.xz 72360 SHA256 c8dd54fee3ada834d6ed0df561a95210256ea2a17fa5e00d9ae09892bafbd92b SHA512 a4b1eeba813481cc40617e70bd5ee97d1921dc92bab15cf0bdc059d689c239e46caf9e8aba3403ff6374acfbdea565261a948444fe40fa18d5513797eccbd28d WHIRLPOOL 7427384e8e12d7e35027a4a149cc758828fb9664204490d35f7b43ad083cc8545c4b52164af716065bccdd4a347f047e34c80cac32699641798fd2e21dccc8ea
|
DIST fcitx-anthy-0.2.2.tar.xz 72360 SHA256 c8dd54fee3ada834d6ed0df561a95210256ea2a17fa5e00d9ae09892bafbd92b SHA512 a4b1eeba813481cc40617e70bd5ee97d1921dc92bab15cf0bdc059d689c239e46caf9e8aba3403ff6374acfbdea565261a948444fe40fa18d5513797eccbd28d WHIRLPOOL 7427384e8e12d7e35027a4a149cc758828fb9664204490d35f7b43ad083cc8545c4b52164af716065bccdd4a347f047e34c80cac32699641798fd2e21dccc8ea
|
||||||
|
DIST fcitx-anthy-0.2.3.tar.xz 78020 SHA256 ed9b4956356ca68e5f7bdd46492873ebebc921a6cf713d7fc62e5680393f5d06 SHA512 2769871059053fb370ba84af7cdf0c461d64724a240d58a5a8889cfd9bfb5d145998f79ed2d06a1ae1ab907f9db04fc122bfaf6957ef572fc833e400ffefc642 WHIRLPOOL 4550f529d98b31abf7e632998fdd5d082045ce2daff251a860f7feaa966fba2955d7fdfbdf0be977f81c64cdd0473f082e8356569d70f3c29943846e9ea92570
|
||||||
|
@ -0,0 +1,41 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="6"
|
||||||
|
|
||||||
|
inherit cmake-utils gnome2-utils
|
||||||
|
|
||||||
|
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://github.com/fcitx/fcitx-anthy"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Japanese Anthy input methods for Fcitx"
|
||||||
|
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-anthy"
|
||||||
|
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||||
|
SRC_URI=""
|
||||||
|
else
|
||||||
|
SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="4"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND=">=app-i18n/fcitx-4.2.9:4[X,xml]
|
||||||
|
app-i18n/anthy:=
|
||||||
|
virtual/libintl"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
DOCS=(AUTHORS)
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
@ -0,0 +1,41 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="6"
|
||||||
|
|
||||||
|
inherit cmake-utils gnome2-utils
|
||||||
|
|
||||||
|
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://github.com/fcitx/fcitx-anthy"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Japanese Anthy input methods for Fcitx"
|
||||||
|
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-anthy"
|
||||||
|
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||||
|
SRC_URI=""
|
||||||
|
else
|
||||||
|
SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="4"
|
||||||
|
KEYWORDS=""
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND=">=app-i18n/fcitx-4.2.9:4[X,xml]
|
||||||
|
app-i18n/anthy:=
|
||||||
|
virtual/libintl"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
DOCS=(AUTHORS)
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
DIST fcitx-cloudpinyin-0.3.1.tar.xz 19296 SHA256 2c919bf7979964bef861b432b821fc43fa94824e82372b03c653219b0fc05f6e SHA512 fda8501d8c132b3810f70d984f77652cefad5a052580c6607f893efdfed132a05053c6edf3ea8ba829e33abc237808eac6ca3521c6616ad2cfa5e3c4e0045297 WHIRLPOOL bcd8aae0339ecdc3db58a950c475e81133a90b08f9294dfea224d38ec7b6e2f929fff2d389761f2c90ee1553b9bd02fd8bf93ab9ef7c23101affebfff7b76d33
|
DIST fcitx-cloudpinyin-0.3.1.tar.xz 19296 SHA256 2c919bf7979964bef861b432b821fc43fa94824e82372b03c653219b0fc05f6e SHA512 fda8501d8c132b3810f70d984f77652cefad5a052580c6607f893efdfed132a05053c6edf3ea8ba829e33abc237808eac6ca3521c6616ad2cfa5e3c4e0045297 WHIRLPOOL bcd8aae0339ecdc3db58a950c475e81133a90b08f9294dfea224d38ec7b6e2f929fff2d389761f2c90ee1553b9bd02fd8bf93ab9ef7c23101affebfff7b76d33
|
||||||
DIST fcitx-cloudpinyin-0.3.4.tar.xz 20796 SHA256 c131e8cfd4d171f7749c2934f13092dcdffcf3d4ff1cefde7ed67daed74b7d90 SHA512 ecfab0e45387793986fc75f24372d69910552d6168c9dd63f258bf05bfa397350bfea2a6fc419ab067fc5a7737a3e8c39d4b8ae5d0501871e3365c8a07553b09 WHIRLPOOL 7dbecb3f5ec38c50364abddeb5c44318503fdf40783b6efd5c8ece029f0cd56f750057b547a25fa6836458ed15646d5923e09c4fc33d927f9d1a40e5332577c7
|
DIST fcitx-cloudpinyin-0.3.4.tar.xz 20796 SHA256 c131e8cfd4d171f7749c2934f13092dcdffcf3d4ff1cefde7ed67daed74b7d90 SHA512 ecfab0e45387793986fc75f24372d69910552d6168c9dd63f258bf05bfa397350bfea2a6fc419ab067fc5a7737a3e8c39d4b8ae5d0501871e3365c8a07553b09 WHIRLPOOL 7dbecb3f5ec38c50364abddeb5c44318503fdf40783b6efd5c8ece029f0cd56f750057b547a25fa6836458ed15646d5923e09c4fc33d927f9d1a40e5332577c7
|
||||||
|
DIST fcitx-cloudpinyin-0.3.5.tar.xz 22424 SHA256 2515fe35d1f9d377a997ce8095425ad71d0c76e3fcba2e1fffefc2ba46b765a3 SHA512 b56cde4955fab02d204cfe937b46aeb5b6adf9e4eb4fead6e7b8e0b5cd1ebce06a0de3f9d477a1cb58eb077655f17975b7e13951074d1766b283b86eeb5b276e WHIRLPOOL bf05a4c882d14a9ac3a52bd2d3faf87ee67aea583199d7c5888f425db0f080bd6bc73a8fd3a2236f69a65f40ceef9bf2882dd24838f7dbba8407eafc8695235a
|
||||||
|
@ -0,0 +1,34 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="6"
|
||||||
|
|
||||||
|
inherit cmake-utils
|
||||||
|
|
||||||
|
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://github.com/fcitx/fcitx-cloudpinyin"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Internet look-up support for Chinese Pinyin input methods for Fcitx"
|
||||||
|
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-cloudpinyin"
|
||||||
|
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||||
|
SRC_URI=""
|
||||||
|
else
|
||||||
|
SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="4"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND=">=app-i18n/fcitx-4.2.9:4
|
||||||
|
net-misc/curl:=
|
||||||
|
virtual/libiconv
|
||||||
|
virtual/libintl"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
DOCS=()
|
@ -0,0 +1,34 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="6"
|
||||||
|
|
||||||
|
inherit cmake-utils
|
||||||
|
|
||||||
|
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://github.com/fcitx/fcitx-cloudpinyin"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Internet look-up support for Chinese Pinyin input methods for Fcitx"
|
||||||
|
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-cloudpinyin"
|
||||||
|
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||||
|
SRC_URI=""
|
||||||
|
else
|
||||||
|
SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="4"
|
||||||
|
KEYWORDS=""
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND=">=app-i18n/fcitx-4.2.9:4
|
||||||
|
net-misc/curl:=
|
||||||
|
virtual/libiconv
|
||||||
|
virtual/libintl"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
DOCS=()
|
@ -1,2 +1,3 @@
|
|||||||
DIST fcitx-hangul-0.2.1.tar.xz 25064 SHA256 a084789d2f5646af9e60b8f95385ee1cbbd2dc402709a8b3a8ea82a16fbbae97 SHA512 da1a0926be129dcf49b5fd199b7a75d4f66d3c58944c7f5ae70219a2903c0277a99e9bd05e0758ae86f24b51f910425d70ea86112d85e852cf6f5f1f7fe78db8 WHIRLPOOL c4dae7a479d385da877ffdea36d439e61fa441090b8f86cecf83239250f1cc1ba19204f378ce39c02fe135dd120a4858819c183b25a79dc1989b0a236b6d37bd
|
DIST fcitx-hangul-0.2.1.tar.xz 25064 SHA256 a084789d2f5646af9e60b8f95385ee1cbbd2dc402709a8b3a8ea82a16fbbae97 SHA512 da1a0926be129dcf49b5fd199b7a75d4f66d3c58944c7f5ae70219a2903c0277a99e9bd05e0758ae86f24b51f910425d70ea86112d85e852cf6f5f1f7fe78db8 WHIRLPOOL c4dae7a479d385da877ffdea36d439e61fa441090b8f86cecf83239250f1cc1ba19204f378ce39c02fe135dd120a4858819c183b25a79dc1989b0a236b6d37bd
|
||||||
DIST fcitx-hangul-0.3.0.tar.xz 25600 SHA256 978a66471eb200cc3807fe84e9b5f1392fefdcd51031e5a0bd8647fa994507cb SHA512 07085508da98c49bcecf75fbfad6681263a735a1efcc4fb7a6fa05cb215dfe0c338e95e26cc55e488501b5abbc1007464b1bbf488f07aaca2d1a0a18c8173074 WHIRLPOOL 9833d6eb8484be33e84275174b2b81cc88dbb8d2561c15c7897e172fef61045c856cb9c2c42e7df9baf4d3dbdeb987db556b6a2e8a3e1462cd93f80b6a933b7a
|
DIST fcitx-hangul-0.3.0.tar.xz 25600 SHA256 978a66471eb200cc3807fe84e9b5f1392fefdcd51031e5a0bd8647fa994507cb SHA512 07085508da98c49bcecf75fbfad6681263a735a1efcc4fb7a6fa05cb215dfe0c338e95e26cc55e488501b5abbc1007464b1bbf488f07aaca2d1a0a18c8173074 WHIRLPOOL 9833d6eb8484be33e84275174b2b81cc88dbb8d2561c15c7897e172fef61045c856cb9c2c42e7df9baf4d3dbdeb987db556b6a2e8a3e1462cd93f80b6a933b7a
|
||||||
|
DIST fcitx-hangul-0.3.1.tar.xz 26612 SHA256 6dd5fd5956924c85af92ebefaef1e113e38fa814355fbb0f07c26049c3014437 SHA512 6ad2e34644c9246490a91342a11b186d40702f7e587beeb056ad98538da50dbf9fdc9f298e5b379bef50f63ad5be5da79ba84e60a22b57c330d0a68dd5bf5ca6 WHIRLPOOL 76796f5ce6b904971ca2c4db0b24eeaa436033b054fed5f16a46f0c31dfcf8dc324c336c1731634cc507874dc1758a363be70d8fa8753c90b9204b4edf6c6da8
|
||||||
|
@ -0,0 +1,43 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="6"
|
||||||
|
|
||||||
|
inherit cmake-utils gnome2-utils
|
||||||
|
|
||||||
|
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://github.com/fcitx/fcitx-hangul"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Korean Hangul input method for Fcitx"
|
||||||
|
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-hangul"
|
||||||
|
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||||
|
SRC_URI=""
|
||||||
|
else
|
||||||
|
SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="4"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND=">=app-i18n/fcitx-4.2.9:4
|
||||||
|
app-i18n/libhangul:=
|
||||||
|
virtual/libiconv
|
||||||
|
virtual/libintl"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
sys-devel/gettext
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
DOCS=(AUTHORS)
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
@ -0,0 +1,43 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="6"
|
||||||
|
|
||||||
|
inherit cmake-utils gnome2-utils
|
||||||
|
|
||||||
|
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://github.com/fcitx/fcitx-hangul"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Korean Hangul input method for Fcitx"
|
||||||
|
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-hangul"
|
||||||
|
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||||
|
SRC_URI=""
|
||||||
|
else
|
||||||
|
SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="4"
|
||||||
|
KEYWORDS=""
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND=">=app-i18n/fcitx-4.2.9:4
|
||||||
|
app-i18n/libhangul:=
|
||||||
|
virtual/libiconv
|
||||||
|
virtual/libintl"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
sys-devel/gettext
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
DOCS=(AUTHORS)
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
DIST fcitx-rime-0.2.0.tar.xz 8116 SHA256 e4bc9243abffd1851b4ee19c88d7c2b32ede134aeda60aee930388f9f33ca269 SHA512 3f02d7bf0e47981e7a135ccaa46653be319d1bb716bd939b50419e47b8d3c07b347434e8529522d4266bd5fac6dbc2cdc1bfd4b7ea0607250023f70f97006228 WHIRLPOOL 7dbdcd3ac90f2d901b5b5c06541b9f6f1debf4ad833c2ddacb840dbd80a4443725fc7bdb41ad2261db8f34cb0dc77fe3d5f0c45e69a0a056618518007c1c708e
|
DIST fcitx-rime-0.2.0.tar.xz 8116 SHA256 e4bc9243abffd1851b4ee19c88d7c2b32ede134aeda60aee930388f9f33ca269 SHA512 3f02d7bf0e47981e7a135ccaa46653be319d1bb716bd939b50419e47b8d3c07b347434e8529522d4266bd5fac6dbc2cdc1bfd4b7ea0607250023f70f97006228 WHIRLPOOL 7dbdcd3ac90f2d901b5b5c06541b9f6f1debf4ad833c2ddacb840dbd80a4443725fc7bdb41ad2261db8f34cb0dc77fe3d5f0c45e69a0a056618518007c1c708e
|
||||||
DIST fcitx-rime-0.3.1.tar.xz 39648 SHA256 3ca74de4d20e8fd0e67eb4ccae8af3790bb1f557f183c2af32cb45f371e8521d SHA512 5d3c8fc119e1a104987a7876f3b1c54da074e34ce9feb9c02efa7c9cfd788c3735680a03cdb50d69a5512a9f075c7326bdc267cf076daa916238898da81d2388 WHIRLPOOL ed8f4ed563dfbe01aaac71bb847d4a9b641b041f9916c8c6c34a444202ac00720ebe4274c30906141b103fbbf55d7ce045cef094792c1fffadae03dd0ce73f7a
|
DIST fcitx-rime-0.3.1.tar.xz 39648 SHA256 3ca74de4d20e8fd0e67eb4ccae8af3790bb1f557f183c2af32cb45f371e8521d SHA512 5d3c8fc119e1a104987a7876f3b1c54da074e34ce9feb9c02efa7c9cfd788c3735680a03cdb50d69a5512a9f075c7326bdc267cf076daa916238898da81d2388 WHIRLPOOL ed8f4ed563dfbe01aaac71bb847d4a9b641b041f9916c8c6c34a444202ac00720ebe4274c30906141b103fbbf55d7ce045cef094792c1fffadae03dd0ce73f7a
|
||||||
|
DIST fcitx-rime-0.3.2.tar.xz 40960 SHA256 f97ea6f515fcc5f526cc25dce3d4ba05fa1c83001f68502d6c284ba39cd5a82d SHA512 8c6d845b0899d9b8b9b41b895abd5c1b8916856b71f529aabd08d1c27a2b09bb5a9343912d088da460c2e22da0a3ce759a34fd13099a149bb8cd1ff4eafe29f1 WHIRLPOOL 57b979a8ef850ec1c4f85b6b3b5841ad17f73c1861223d033c7b79db6c301f1f0da13c4ab53661a4899ad13db40c424f3c1b257dd2058e28fe89f6d57c2bf17b
|
||||||
|
@ -0,0 +1,50 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="6"
|
||||||
|
|
||||||
|
inherit cmake-utils gnome2-utils
|
||||||
|
|
||||||
|
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://github.com/fcitx/fcitx-rime"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Chinese RIME input method for Fcitx"
|
||||||
|
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-rime"
|
||||||
|
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||||
|
SRC_URI=""
|
||||||
|
else
|
||||||
|
SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="4"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND=">=app-i18n/fcitx-4.2.9:4
|
||||||
|
>=app-i18n/librime-1.0.0:=
|
||||||
|
app-i18n/rime-data
|
||||||
|
virtual/libintl"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
DOCS=()
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DRIME_DATA_DIR="${EPREFIX}/usr/share/rime-data"
|
||||||
|
)
|
||||||
|
|
||||||
|
cmake-utils_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
@ -0,0 +1,50 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="6"
|
||||||
|
|
||||||
|
inherit cmake-utils gnome2-utils
|
||||||
|
|
||||||
|
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://github.com/fcitx/fcitx-rime"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Chinese RIME input method for Fcitx"
|
||||||
|
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-rime"
|
||||||
|
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||||
|
SRC_URI=""
|
||||||
|
else
|
||||||
|
SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="4"
|
||||||
|
KEYWORDS=""
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND=">=app-i18n/fcitx-4.2.9:4
|
||||||
|
>=app-i18n/librime-1.0.0:=
|
||||||
|
app-i18n/rime-data
|
||||||
|
virtual/libintl"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
DOCS=()
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DRIME_DATA_DIR="${EPREFIX}/usr/share/rime-data"
|
||||||
|
)
|
||||||
|
|
||||||
|
cmake-utils_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
DIST fcitx-sunpinyin-0.4.0.tar.xz 40264 SHA256 366af4123455bd85e5af104ca0368057470079937f79eaa70e58951de4743acc SHA512 53def2f36de0d9517da0d154ae8926075c69a5712bf74a3e5ba5ba6266e2d94152dac77e051473828d98ed6a78d3f10557a8ca2081bf1f799405a4f6a4afb83f WHIRLPOOL 2c92a9d0a9d48eb8e4aca895ccddb91f1d1fbaf137bdc4fe32519cd25a8294be39140d117a0d4d20a5a3fa3c21086bd6edbd44d93fafdf8f885aa7d3d36f9843
|
DIST fcitx-sunpinyin-0.4.0.tar.xz 40264 SHA256 366af4123455bd85e5af104ca0368057470079937f79eaa70e58951de4743acc SHA512 53def2f36de0d9517da0d154ae8926075c69a5712bf74a3e5ba5ba6266e2d94152dac77e051473828d98ed6a78d3f10557a8ca2081bf1f799405a4f6a4afb83f WHIRLPOOL 2c92a9d0a9d48eb8e4aca895ccddb91f1d1fbaf137bdc4fe32519cd25a8294be39140d117a0d4d20a5a3fa3c21086bd6edbd44d93fafdf8f885aa7d3d36f9843
|
||||||
DIST fcitx-sunpinyin-0.4.1.tar.xz 41076 SHA256 7bd0c61a3c821719760bff72c3c114b28e277b87f54dcb61d83e3548b1eb6777 SHA512 7ad9065d86d7bb3ceb6536a0fe3559bf2ba60aebe69e2f07c8dadad1a0a2283a1b85712105c6c2a2bf19b9645c4392204db9c3d1db234618ba7f62ee44eda85c WHIRLPOOL 9339656a5b8cf1359af8f3ceeaa630862a31d4a1089a4b3a738f65c275f0f61d8d06bbe89e496f8922ba4b09b384d96aeac43d7bdfcf21bdaa555c79efd10709
|
DIST fcitx-sunpinyin-0.4.1.tar.xz 41076 SHA256 7bd0c61a3c821719760bff72c3c114b28e277b87f54dcb61d83e3548b1eb6777 SHA512 7ad9065d86d7bb3ceb6536a0fe3559bf2ba60aebe69e2f07c8dadad1a0a2283a1b85712105c6c2a2bf19b9645c4392204db9c3d1db234618ba7f62ee44eda85c WHIRLPOOL 9339656a5b8cf1359af8f3ceeaa630862a31d4a1089a4b3a738f65c275f0f61d8d06bbe89e496f8922ba4b09b384d96aeac43d7bdfcf21bdaa555c79efd10709
|
||||||
|
DIST fcitx-sunpinyin-0.4.2.tar.xz 42984 SHA256 0bf2d72d77732f06e7f04c119507c08b9618b21c4027e3997186bd7e4d0788c4 SHA512 8ade5d94e5227c0b72d2844c09c2699e4b8c66cecbd4107791168d27e15f68b28a4445bf42df7bd6fb44119ec42c5b574293bb417dcde8998578f0debd656a2a WHIRLPOOL 18c55c3e7fd7a5ad8ef52d7734cbe2b65e4ec635535a0ecb841199af5a39ec3ca720807857ada4b493b7c4de80431b74deb0f8a6c8863ed8f1633e6d6a15f33e
|
||||||
|
@ -0,0 +1,41 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="6"
|
||||||
|
|
||||||
|
inherit cmake-utils gnome2-utils
|
||||||
|
|
||||||
|
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://github.com/fcitx/fcitx-sunpinyin"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Chinese SunPinyin input method for Fcitx"
|
||||||
|
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-sunpinyin"
|
||||||
|
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||||
|
SRC_URI=""
|
||||||
|
else
|
||||||
|
SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="4"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND=">=app-i18n/fcitx-4.2.9:4
|
||||||
|
>=app-i18n/sunpinyin-2.0.4_alpha:=
|
||||||
|
virtual/libintl"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
DOCS=(AUTHORS)
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
@ -0,0 +1,41 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="6"
|
||||||
|
|
||||||
|
inherit cmake-utils gnome2-utils
|
||||||
|
|
||||||
|
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://github.com/fcitx/fcitx-sunpinyin"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Chinese SunPinyin input method for Fcitx"
|
||||||
|
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-sunpinyin"
|
||||||
|
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||||
|
SRC_URI=""
|
||||||
|
else
|
||||||
|
SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="4"
|
||||||
|
KEYWORDS=""
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND=">=app-i18n/fcitx-4.2.9:4
|
||||||
|
>=app-i18n/sunpinyin-2.0.4_alpha:=
|
||||||
|
virtual/libintl"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
DOCS=(AUTHORS)
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
@ -1,3 +1,4 @@
|
|||||||
DIST fcitx-table-extra-0.3.3.tar.xz 3350592 SHA256 ae2bbf9146dfdeafb6220c9a738ddc1f0437da2c5f2da0d578ba4970bc74767d SHA512 ea100ba7bfc558395b678390bb787b15f674c13140ab22b5a9ef423e5114399633d24ec322904fd61d8f3613058744d08f615d4330ed948aad9dcff09818e36f WHIRLPOOL 10a61ea0aac14e9b55902276557c5b5daba17c14a3101d4e4e1384c8922c89dbfe96b1ac543e9ad3408f0951ecd7869a8c4c0d36d168129b2f78d611a0f70158
|
DIST fcitx-table-extra-0.3.3.tar.xz 3350592 SHA256 ae2bbf9146dfdeafb6220c9a738ddc1f0437da2c5f2da0d578ba4970bc74767d SHA512 ea100ba7bfc558395b678390bb787b15f674c13140ab22b5a9ef423e5114399633d24ec322904fd61d8f3613058744d08f615d4330ed948aad9dcff09818e36f WHIRLPOOL 10a61ea0aac14e9b55902276557c5b5daba17c14a3101d4e4e1384c8922c89dbfe96b1ac543e9ad3408f0951ecd7869a8c4c0d36d168129b2f78d611a0f70158
|
||||||
DIST fcitx-table-extra-0.3.6.tar.xz 3694520 SHA256 9f80984d23622b90a7d5fbf439f54d7d46f6e2f640618b00079214f50a62a233 SHA512 3970fd9fb14afef5bc55fcfb8234c12951cf88a8ead9be1575ba3100d08f83f23c923093722380ca9c066d6a3fa065bd51f176b09815b0c85f13d8351a004304 WHIRLPOOL b296eb3198cbf578c4b556942591aee9a9998e3677776a8a6d5a4b80cc3e360d4b6cd784e88d5eb3714879d1ec1231d13e2ad9cca50439470362ae1a9473963a
|
DIST fcitx-table-extra-0.3.6.tar.xz 3694520 SHA256 9f80984d23622b90a7d5fbf439f54d7d46f6e2f640618b00079214f50a62a233 SHA512 3970fd9fb14afef5bc55fcfb8234c12951cf88a8ead9be1575ba3100d08f83f23c923093722380ca9c066d6a3fa065bd51f176b09815b0c85f13d8351a004304 WHIRLPOOL b296eb3198cbf578c4b556942591aee9a9998e3677776a8a6d5a4b80cc3e360d4b6cd784e88d5eb3714879d1ec1231d13e2ad9cca50439470362ae1a9473963a
|
||||||
DIST fcitx-table-extra-0.3.7.tar.xz 3704164 SHA256 8933570ecd803a4f4fe932c983004e669d81b2f08c3bcaa532151545a42e659e SHA512 628eb7d2b09a3383ab92460dc8c2bc86771482cc84bdce847a394ee595423642dff29a39ccf31f56ea8de833f25e9d42952b55b754dd234d0831b5de5431d16a WHIRLPOOL 2744d91154d51d2388192ce313f4be2e839d5dc33e20622a68208e8e4f155883aedb7b4828e619a1a81e21ea4f893fb6806e59ebed66d842259477a7b4127122
|
DIST fcitx-table-extra-0.3.7.tar.xz 3704164 SHA256 8933570ecd803a4f4fe932c983004e669d81b2f08c3bcaa532151545a42e659e SHA512 628eb7d2b09a3383ab92460dc8c2bc86771482cc84bdce847a394ee595423642dff29a39ccf31f56ea8de833f25e9d42952b55b754dd234d0831b5de5431d16a WHIRLPOOL 2744d91154d51d2388192ce313f4be2e839d5dc33e20622a68208e8e4f155883aedb7b4828e619a1a81e21ea4f893fb6806e59ebed66d842259477a7b4127122
|
||||||
|
DIST fcitx-table-extra-0.3.8.tar.xz 3700736 SHA256 c91bb19c1a7b53c5339bf2f75ae83839020d337990f237a8b9bc0f4416c120ef SHA512 454798e9bd25c630ce98e2daf7296e82ba5fbc98027171038a5a7b9ac3169c153302a6703d9416718ec3a0b76db6d732caf3f03c6e6005841c9d7798702542df WHIRLPOOL 8cc9ec82851872b0ab3f81913099465fe17d32a5e363027de8f16cd71c3d0b14a8dfbd7f035cddb8bcb96b83fd615a5d74784dc1d5ed9a6c72f2b249276161fb
|
||||||
|
@ -0,0 +1,39 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="6"
|
||||||
|
|
||||||
|
inherit cmake-utils gnome2-utils
|
||||||
|
|
||||||
|
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://github.com/fcitx/fcitx-table-extra"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Extra Chinese table input methods for Fcitx"
|
||||||
|
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-table-extra"
|
||||||
|
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||||
|
SRC_URI=""
|
||||||
|
else
|
||||||
|
SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="4"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND=">=app-i18n/fcitx-4.2.9:4[table]"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
DOCS=(AUTHORS)
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
@ -0,0 +1,39 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="6"
|
||||||
|
|
||||||
|
inherit cmake-utils gnome2-utils
|
||||||
|
|
||||||
|
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://github.com/fcitx/fcitx-table-extra"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Extra Chinese table input methods for Fcitx"
|
||||||
|
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-table-extra"
|
||||||
|
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
|
||||||
|
SRC_URI=""
|
||||||
|
else
|
||||||
|
SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="4"
|
||||||
|
KEYWORDS=""
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND=">=app-i18n/fcitx-4.2.9:4[table]"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
DOCS=(AUTHORS)
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
@ -1,38 +1,38 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=5
|
EAPI="6"
|
||||||
|
|
||||||
inherit cmake-utils multilib versionator vcs-snapshot toolchain-funcs
|
inherit cmake-utils vcs-snapshot
|
||||||
|
|
||||||
DESCRIPTION="Rime Input Method Engine library"
|
DESCRIPTION="Rime Input Method Engine library"
|
||||||
HOMEPAGE="http://rime.im/"
|
HOMEPAGE="http://rime.im/ https://github.com/rime/librime"
|
||||||
SRC_URI="https://github.com/rime/${PN}/archive/rime-${PV}.tar.gz -> ${P}.tar.gz"
|
SRC_URI="https://github.com/rime/${PN}/archive/rime-${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
LICENSE="GPL-3"
|
||||||
SLOT="0"
|
SLOT="0/1"
|
||||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||||
IUSE="static-libs test"
|
IUSE="static-libs test"
|
||||||
|
|
||||||
RDEPEND=">app-i18n/opencc-1.0.2:=
|
RDEPEND="app-i18n/opencc:=
|
||||||
dev-cpp/glog
|
dev-cpp/glog:=
|
||||||
>=dev-cpp/yaml-cpp-0.5.0
|
>=dev-cpp/yaml-cpp-0.5.0:=
|
||||||
dev-db/kyotocabinet
|
>=dev-libs/boost-1.46.0:=[threads]
|
||||||
dev-libs/leveldb
|
dev-libs/leveldb:=
|
||||||
dev-libs/marisa
|
dev-libs/marisa:="
|
||||||
>=dev-libs/boost-1.46.0[threads(+)]
|
|
||||||
sys-libs/zlib"
|
|
||||||
DEPEND="${RDEPEND}
|
DEPEND="${RDEPEND}
|
||||||
x11-proto/xproto
|
x11-proto/xproto
|
||||||
test? ( dev-cpp/gtest )"
|
test? ( dev-cpp/gtest )"
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
local mycmakeargs=(
|
local mycmakeargs=(
|
||||||
$(cmake-utils_use_build static-libs STATIC)
|
-DBOOST_USE_CXX11=ON
|
||||||
-DBUILD_DATA=OFF
|
-DBUILD_DATA=OFF
|
||||||
-DBUILD_SEPARATE_LIBS=OFF
|
-DBUILD_SEPARATE_LIBS=OFF
|
||||||
$(cmake-utils_use_build test TEST)
|
-DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
|
||||||
-DLIB_INSTALL_DIR=/usr/$(get_libdir)
|
-DBUILD_STATIC=$(usex static-libs)
|
||||||
|
-DBUILD_TEST=$(usex test)
|
||||||
)
|
)
|
||||||
|
|
||||||
cmake-utils_src_configure
|
cmake-utils_src_configure
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,11 @@
|
|||||||
|
--- /src/prediction/user_history_predictor.cc
|
||||||
|
+++ /src/prediction/user_history_predictor.cc
|
||||||
|
@@ -841,7 +841,7 @@
|
||||||
|
// swap.
|
||||||
|
if (i + 1 < prefix.size()) {
|
||||||
|
string swapped_prefix = prefix;
|
||||||
|
- swap(swapped_prefix[i], swapped_prefix[i + 1]);
|
||||||
|
+ std::swap(swapped_prefix[i], swapped_prefix[i + 1]);
|
||||||
|
if (Util::StartsWith(str, swapped_prefix)) {
|
||||||
|
return true;
|
||||||
|
}
|
@ -1,46 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
|
||||||
inherit eutils multilib python-any-r1 scons-utils toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="A Statistical Language Model based Chinese input method library"
|
|
||||||
HOMEPAGE="https://github.com/sunpinyin/sunpinyin"
|
|
||||||
SRC_URI="https://dev.gentoo.org/~yngwin/distfiles/${P}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1 CDDL"
|
|
||||||
SLOT="0/1"
|
|
||||||
KEYWORDS="amd64 ~ppc ppc64 ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="dev-db/sqlite:3"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
dev-util/intltool
|
|
||||||
sys-devel/gettext
|
|
||||||
virtual/pkgconfig"
|
|
||||||
PDEPEND="app-i18n/sunpinyin-data"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}"/${PN}-2.0.4-pod2man.patch
|
|
||||||
epatch_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
tc-export CXX
|
|
||||||
myesconsargs=(
|
|
||||||
--prefix="${EPREFIX}"/usr
|
|
||||||
--libdir="${EPREFIX}"/usr/$(get_libdir)
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
escons
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
escons --install-sandbox="${D}" install
|
|
||||||
rm -rf "${D}"/usr/share/doc/${PN} || die
|
|
||||||
dodoc doc/{README,SLM-inst.mk,SLM-train.mk}
|
|
||||||
}
|
|
@ -0,0 +1,158 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
SCM=""
|
||||||
|
[[ "${PV}" = 9999 ]] && SCM="git-r3"
|
||||||
|
inherit autotools eutils flag-o-matic pam toolchain-funcs user ${SCM}
|
||||||
|
unset SCM
|
||||||
|
|
||||||
|
DESCRIPTION="screen manager with VT100/ANSI terminal emulation"
|
||||||
|
HOMEPAGE="https://www.gnu.org/software/screen/"
|
||||||
|
|
||||||
|
if [[ "${PV}" != 9999 ]] ; then
|
||||||
|
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
else
|
||||||
|
EGIT_REPO_URI="git://git.savannah.gnu.org/screen.git"
|
||||||
|
EGIT_CHECKOUT_DIR="${WORKDIR}/${P}" # needed for setting S later on
|
||||||
|
S="${WORKDIR}"/${P}/src
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="debug nethack pam selinux multiuser"
|
||||||
|
|
||||||
|
CDEPEND="
|
||||||
|
>=sys-libs/ncurses-5.2:0=
|
||||||
|
pam? ( virtual/pam )"
|
||||||
|
RDEPEND="${CDEPEND}
|
||||||
|
selinux? ( sec-policy/selinux-screen )"
|
||||||
|
DEPEND="${CDEPEND}
|
||||||
|
sys-apps/texinfo"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
# Don't use utempter even if it is found on the system.
|
||||||
|
"${FILESDIR}"/${PN}-4.3.0-no-utempter.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
# Make sure utmp group exists, as it's used later on.
|
||||||
|
enewgroup utmp 406
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# sched.h is a system header and causes problems with some C libraries
|
||||||
|
mv sched.h _sched.h || die
|
||||||
|
sed -i '/include/ s:sched.h:_sched.h:' screen.h || die
|
||||||
|
|
||||||
|
# Fix manpage.
|
||||||
|
sed -i \
|
||||||
|
-e "s:/usr/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \
|
||||||
|
-e "s:/usr/local/screens:${EPREFIX}/tmp/screen:g" \
|
||||||
|
-e "s:/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \
|
||||||
|
-e "s:/etc/utmp:${EPREFIX}/var/run/utmp:g" \
|
||||||
|
-e "s:/local/screens/S\\\-:${EPREFIX}/tmp/screen/S\\\-:g" \
|
||||||
|
doc/screen.1 \
|
||||||
|
|| die
|
||||||
|
|
||||||
|
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||||
|
sed -i -e '/^#define UTMPOK/s/define/undef/' acconfig.h || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# reconfigure
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
append-cppflags "-DMAXWIN=${MAX_SCREEN_WINDOWS:-100}"
|
||||||
|
|
||||||
|
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||||
|
# enable msg_header by upping the feature standard compatible
|
||||||
|
# with c99 mode
|
||||||
|
append-cppflags -D_XOPEN_SOURCE=600
|
||||||
|
fi
|
||||||
|
|
||||||
|
use nethack || append-cppflags "-DNONETHACK"
|
||||||
|
use debug && append-cppflags "-DDEBUG"
|
||||||
|
|
||||||
|
econf \
|
||||||
|
--with-socket-dir="${EPREFIX}/tmp/screen" \
|
||||||
|
--with-sys-screenrc="${EPREFIX}/etc/screenrc" \
|
||||||
|
--with-pty-mode=0620 \
|
||||||
|
--with-pty-group=5 \
|
||||||
|
--enable-rxvt_osc \
|
||||||
|
--enable-telnet \
|
||||||
|
--enable-colors256 \
|
||||||
|
$(use_enable pam)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
LC_ALL=POSIX emake comm.h term.h
|
||||||
|
emake osdef.h
|
||||||
|
|
||||||
|
emake -C doc screen.info
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local DOCS=(
|
||||||
|
README ChangeLog INSTALL TODO NEWS* patchlevel.h
|
||||||
|
doc/{FAQ,README.DOTSCREEN,fdpat.ps,window_to_display.ps}
|
||||||
|
)
|
||||||
|
|
||||||
|
default
|
||||||
|
|
||||||
|
local tmpfiles_perms tmpfiles_group
|
||||||
|
|
||||||
|
if use multiuser || use prefix
|
||||||
|
then
|
||||||
|
fperms 4755 /usr/bin/screen-${PV}
|
||||||
|
tmpfiles_perms="0755"
|
||||||
|
tmpfiles_group="root"
|
||||||
|
else
|
||||||
|
fowners root:utmp /usr/bin/screen-${PV}
|
||||||
|
fperms 2755 /usr/bin/screen-${PV}
|
||||||
|
tmpfiles_perms="0775"
|
||||||
|
tmpfiles_group="utmp"
|
||||||
|
fi
|
||||||
|
|
||||||
|
dodir /etc/tmpfiles.d
|
||||||
|
echo "d /tmp/screen ${tmpfiles_perms} root ${tmpfiles_group}" \
|
||||||
|
> "${ED}"/etc/tmpfiles.d/screen.conf
|
||||||
|
|
||||||
|
insinto /usr/share/screen
|
||||||
|
doins terminfo/{screencap,screeninfo.src}
|
||||||
|
|
||||||
|
insinto /etc
|
||||||
|
doins "${FILESDIR}"/screenrc
|
||||||
|
|
||||||
|
pamd_mimic_system screen auth
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if [[ -z ${REPLACING_VERSIONS} ]]
|
||||||
|
then
|
||||||
|
elog "Some dangerous key bindings have been removed or changed to more safe values."
|
||||||
|
elog "We enable some xterm hacks in our default screenrc, which might break some"
|
||||||
|
elog "applications. Please check /etc/screenrc for information on these changes."
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Add /tmp/screen in case it doesn't exist yet. This should solve
|
||||||
|
# problems like bug #508634 where tmpfiles.d isn't in effect.
|
||||||
|
local rundir="${EROOT%/}/tmp/screen"
|
||||||
|
if [[ ! -d ${rundir} ]] ; then
|
||||||
|
if use multiuser || use prefix ; then
|
||||||
|
tmpfiles_group="root"
|
||||||
|
else
|
||||||
|
tmpfiles_group="utmp"
|
||||||
|
fi
|
||||||
|
mkdir -m 0775 "${rundir}"
|
||||||
|
chgrp ${tmpfiles_group} "${rundir}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
ewarn "This revision changes the screen socket location to ${rundir}"
|
||||||
|
}
|
@ -0,0 +1,125 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
BASHCOMP_P=bashcomp-2.0.2
|
||||||
|
inherit versionator
|
||||||
|
|
||||||
|
DESCRIPTION="Programmable Completion for bash"
|
||||||
|
HOMEPAGE="https://github.com/scop/bash-completion"
|
||||||
|
SRC_URI="https://github.com/scop/bash-completion/releases/download/${PV}/${P}.tar.xz
|
||||||
|
https://bitbucket.org/mgorny/bashcomp2/downloads/${BASHCOMP_P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris"
|
||||||
|
IUSE="test"
|
||||||
|
# Multiple test failures, need to investigate the exact problem
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
RDEPEND=">=app-shells/bash-4.3_p30-r1
|
||||||
|
sys-apps/miscfiles
|
||||||
|
!app-eselect/eselect-bashcomp"
|
||||||
|
DEPEND="app-arch/xz-utils
|
||||||
|
test? (
|
||||||
|
${RDEPEND}
|
||||||
|
app-misc/dtach
|
||||||
|
dev-util/dejagnu
|
||||||
|
dev-tcltk/tcllib
|
||||||
|
)"
|
||||||
|
PDEPEND=">=app-shells/gentoo-bashcomp-20140911"
|
||||||
|
|
||||||
|
# Remove unwanted completions.
|
||||||
|
STRIP_COMPLETIONS=(
|
||||||
|
# Slackware package stuff, quite generic names cause collisions
|
||||||
|
# (e.g. with sys-apps/pacman)
|
||||||
|
explodepkg installpkg makepkg pkgtool removepkg upgradepkg
|
||||||
|
|
||||||
|
# Debian/Red Hat network stuff
|
||||||
|
ifdown ifup ifstatus
|
||||||
|
|
||||||
|
# Installed in app-editors/vim-core
|
||||||
|
xxd
|
||||||
|
|
||||||
|
# Now-dead symlinks to deprecated completions
|
||||||
|
hd ncal
|
||||||
|
|
||||||
|
# Installed by sys-apps/util-linux-2.28
|
||||||
|
mount umount mount.linux umount.linux
|
||||||
|
|
||||||
|
# Installed by sys-apps/util-linux-2.31
|
||||||
|
rfkill
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
eapply "${WORKDIR}/${BASHCOMP_P}/${PN}"-2.1_p*.patch
|
||||||
|
# Bug 543100, update bug 601194
|
||||||
|
eapply "${FILESDIR}/${PN}-2.1-escape-characters-r1.patch"
|
||||||
|
eapply_user
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
# Tests need an interactive shell, #477066
|
||||||
|
# idea stolen from:
|
||||||
|
# http://pkgs.fedoraproject.org/cgit/rpms/bash-completion.git/tree/bash-completion.spec
|
||||||
|
|
||||||
|
# real-time output of the log ;-)
|
||||||
|
touch "${T}/dtach-test.log" || die
|
||||||
|
tail -f "${T}/dtach-test.log" &
|
||||||
|
local tail_pid=${!}
|
||||||
|
|
||||||
|
nonfatal dtach -N "${T}/dtach.sock" \
|
||||||
|
bash -c 'emake check &> "${T}"/dtach-test.log; echo ${?} > "${T}"/dtach-test.out'
|
||||||
|
|
||||||
|
kill "${tail_pid}"
|
||||||
|
[[ -f ${T}/dtach-test.out ]] || die "Unable to run tests"
|
||||||
|
[[ $(<"${T}"/dtach-test.out) == 0 ]] || die "Tests failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
# work-around race conditions, bug #526996
|
||||||
|
mkdir -p "${ED}"/usr/share/bash-completion/{completions,helpers} || die
|
||||||
|
|
||||||
|
emake DESTDIR="${D}" profiledir="${EPREFIX}"/etc/bash/bashrc.d install
|
||||||
|
|
||||||
|
local file
|
||||||
|
for file in "${STRIP_COMPLETIONS[@]}"; do
|
||||||
|
rm "${ED}"/usr/share/bash-completion/completions/${file} || die
|
||||||
|
done
|
||||||
|
# remove deprecated completions (moved to other packages)
|
||||||
|
rm "${ED}"/usr/share/bash-completion/completions/_* || die
|
||||||
|
|
||||||
|
dodoc AUTHORS CHANGES CONTRIBUTING.md README.md
|
||||||
|
|
||||||
|
# install the eselect module
|
||||||
|
insinto /usr/share/eselect/modules
|
||||||
|
doins "${WORKDIR}/${BASHCOMP_P}/bashcomp.eselect"
|
||||||
|
doman "${WORKDIR}/${BASHCOMP_P}/bashcomp.eselect.5"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
local v
|
||||||
|
for v in ${REPLACING_VERSIONS}; do
|
||||||
|
if ! version_is_at_least 2.1-r90 ${v}; then
|
||||||
|
ewarn "For bash-completion autoloader to work, all completions need to"
|
||||||
|
ewarn "be installed in /usr/share/bash-completion/completions. You may"
|
||||||
|
ewarn "need to rebuild packages that installed completions in the old"
|
||||||
|
ewarn "location. You can do this using:"
|
||||||
|
ewarn
|
||||||
|
ewarn "$ find ${EPREFIX}/usr/share/bash-completion -maxdepth 1 -type f '!' -name 'bash_completion' -exec emerge -1v {} +"
|
||||||
|
ewarn
|
||||||
|
ewarn "After the rebuild, you should remove the old setup symlinks:"
|
||||||
|
ewarn
|
||||||
|
ewarn "$ find ${EPREFIX}/etc/bash_completion.d -type l -delete"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
if has_version 'app-shells/zsh'; then
|
||||||
|
elog
|
||||||
|
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
|
||||||
|
}
|
@ -1,94 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
MATE_LA_PUNT="yes"
|
|
||||||
|
|
||||||
inherit mate
|
|
||||||
|
|
||||||
if [[ ${PV} != 9999 ]]; then
|
|
||||||
KEYWORDS="amd64 ~arm x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="Atril document viewer for MATE"
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
IUSE="caja dbus debug djvu dvi epub +introspection gnome-keyring gtk3 +postscript t1lib tiff xps"
|
|
||||||
|
|
||||||
REQUIRED_USE="t1lib? ( dvi )"
|
|
||||||
|
|
||||||
RDEPEND=">=app-text/poppler-0.16:0=[cairo]
|
|
||||||
app-text/rarian:0
|
|
||||||
dev-libs/atk:0
|
|
||||||
>=dev-libs/glib-2.36:2
|
|
||||||
>=dev-libs/libxml2-2.5:2
|
|
||||||
>=mate-base/mate-desktop-1.9[gtk3(-)=]
|
|
||||||
sys-libs/zlib:0
|
|
||||||
x11-libs/gdk-pixbuf:2
|
|
||||||
x11-libs/libICE:0
|
|
||||||
>=x11-libs/libSM-1:0
|
|
||||||
x11-libs/libX11:0
|
|
||||||
>=x11-libs/cairo-1.9.10:0
|
|
||||||
x11-libs/pango:0
|
|
||||||
caja? ( >=mate-base/caja-1.8[gtk3(-)=,introspection?] )
|
|
||||||
djvu? ( >=app-text/djvu-3.5.17:0 )
|
|
||||||
dvi? (
|
|
||||||
virtual/tex-base:0
|
|
||||||
t1lib? ( >=media-libs/t1lib-5:5 )
|
|
||||||
)
|
|
||||||
epub? ( dev-libs/mathjax )
|
|
||||||
gnome-keyring? ( >=app-crypt/libsecret-0.5:0 )
|
|
||||||
!gtk3? (
|
|
||||||
>=x11-libs/gtk+-2.24.0:2[introspection?]
|
|
||||||
epub? ( >=net-libs/webkit-gtk-2.4.3:2 )
|
|
||||||
)
|
|
||||||
gtk3? (
|
|
||||||
>=x11-libs/gtk+-3.0:3[introspection?]
|
|
||||||
epub? ( >=net-libs/webkit-gtk-2.4.3:4 )
|
|
||||||
)
|
|
||||||
introspection? ( >=dev-libs/gobject-introspection-0.6:= )
|
|
||||||
postscript? ( >=app-text/libspectre-0.2:0 )
|
|
||||||
tiff? ( >=media-libs/tiff-3.6:0 )
|
|
||||||
xps? ( >=app-text/libgxps-0.2.0:0 )
|
|
||||||
!!app-text/mate-document-viewer"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
app-text/docbook-xml-dtd:4.1.2
|
|
||||||
app-text/yelp-tools:0
|
|
||||||
>=app-text/scrollkeeper-dtd-1:1.0
|
|
||||||
dev-util/gtk-doc
|
|
||||||
dev-util/gtk-doc-am
|
|
||||||
>=dev-util/intltool-0.50.1:*
|
|
||||||
virtual/pkgconfig:*
|
|
||||||
sys-devel/gettext:*"
|
|
||||||
|
|
||||||
# Tests use dogtail which is not available on Gentoo.
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# Passing --disable-help would drop offline help, that would be inconsistent
|
|
||||||
# with helps of the most of GNOME apps that doesn't require network for that.
|
|
||||||
mate_src_configure \
|
|
||||||
--disable-tests \
|
|
||||||
--enable-comics \
|
|
||||||
--enable-pdf \
|
|
||||||
--enable-pixbuf \
|
|
||||||
--enable-previewer \
|
|
||||||
--enable-thumbnailer \
|
|
||||||
--with-matedesktop \
|
|
||||||
--with-gtk=$(usex gtk3 3.0 2.0) \
|
|
||||||
$(use_with gnome-keyring keyring) \
|
|
||||||
$(use_enable caja) \
|
|
||||||
$(use_enable dbus) \
|
|
||||||
$(use_enable debug) \
|
|
||||||
$(use_enable djvu) \
|
|
||||||
$(use_enable dvi) \
|
|
||||||
$(use_enable epub) \
|
|
||||||
$(use_enable introspection) \
|
|
||||||
$(use_enable postscript ps) \
|
|
||||||
$(use_enable t1lib) \
|
|
||||||
$(use_enable tiff) \
|
|
||||||
$(use_enable xps)
|
|
||||||
}
|
|
@ -1,96 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
MATE_LA_PUNT="yes"
|
|
||||||
|
|
||||||
inherit mate
|
|
||||||
|
|
||||||
if [[ ${PV} != 9999 ]]; then
|
|
||||||
KEYWORDS="~amd64 ~arm ~x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="Atril document viewer for MATE"
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
IUSE="caja dbus debug djvu dvi epub +introspection gnome-keyring gtk3 +postscript t1lib tiff xps"
|
|
||||||
|
|
||||||
REQUIRED_USE="t1lib? ( dvi )"
|
|
||||||
|
|
||||||
COMMON_DEPEND=">=app-text/poppler-0.16:0=[cairo]
|
|
||||||
dev-libs/atk:0
|
|
||||||
>=dev-libs/glib-2.36:2
|
|
||||||
>=dev-libs/libxml2-2.5:2
|
|
||||||
>=mate-base/mate-desktop-1.9[gtk3(-)=]
|
|
||||||
sys-libs/zlib:0
|
|
||||||
x11-libs/gdk-pixbuf:2
|
|
||||||
x11-libs/libICE:0
|
|
||||||
>=x11-libs/libSM-1:0
|
|
||||||
x11-libs/libX11:0
|
|
||||||
>=x11-libs/cairo-1.9.10:0
|
|
||||||
x11-libs/pango:0
|
|
||||||
caja? ( >=mate-base/caja-1.8[gtk3(-)=,introspection?] )
|
|
||||||
djvu? ( >=app-text/djvu-3.5.17:0 )
|
|
||||||
dvi? (
|
|
||||||
virtual/tex-base:0
|
|
||||||
t1lib? ( >=media-libs/t1lib-5:5 )
|
|
||||||
)
|
|
||||||
epub? ( dev-libs/mathjax )
|
|
||||||
gnome-keyring? ( >=app-crypt/libsecret-0.5:0 )
|
|
||||||
!gtk3? (
|
|
||||||
>=x11-libs/gtk+-2.24.0:2[introspection?]
|
|
||||||
epub? ( >=net-libs/webkit-gtk-2.4.3:2 )
|
|
||||||
)
|
|
||||||
gtk3? (
|
|
||||||
>=x11-libs/gtk+-3.0:3[introspection?]
|
|
||||||
epub? ( >=net-libs/webkit-gtk-2.4.3:4 )
|
|
||||||
)
|
|
||||||
introspection? ( >=dev-libs/gobject-introspection-0.6:= )
|
|
||||||
postscript? ( >=app-text/libspectre-0.2:0 )
|
|
||||||
tiff? ( >=media-libs/tiff-3.6:0 )
|
|
||||||
xps? ( >=app-text/libgxps-0.2.0:0 )
|
|
||||||
!!app-text/mate-document-viewer"
|
|
||||||
|
|
||||||
RDEPEND="${COMMON_DEPEND}"
|
|
||||||
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
app-text/docbook-xml-dtd:4.1.2
|
|
||||||
app-text/rarian:0
|
|
||||||
app-text/yelp-tools:0
|
|
||||||
>=app-text/scrollkeeper-dtd-1:1.0
|
|
||||||
dev-util/gtk-doc
|
|
||||||
dev-util/gtk-doc-am
|
|
||||||
>=dev-util/intltool-0.50.1:*
|
|
||||||
virtual/pkgconfig:*
|
|
||||||
sys-devel/gettext:*"
|
|
||||||
|
|
||||||
# Tests use dogtail which is not available on Gentoo.
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# Passing --disable-help would drop offline help, that would be inconsistent
|
|
||||||
# with helps of the most of GNOME apps that doesn't require network for that.
|
|
||||||
mate_src_configure \
|
|
||||||
--disable-tests \
|
|
||||||
--enable-comics \
|
|
||||||
--enable-pdf \
|
|
||||||
--enable-pixbuf \
|
|
||||||
--enable-previewer \
|
|
||||||
--enable-thumbnailer \
|
|
||||||
--with-matedesktop \
|
|
||||||
--with-gtk=$(usex gtk3 3.0 2.0) \
|
|
||||||
$(use_with gnome-keyring keyring) \
|
|
||||||
$(use_enable caja) \
|
|
||||||
$(use_enable dbus) \
|
|
||||||
$(use_enable debug) \
|
|
||||||
$(use_enable djvu) \
|
|
||||||
$(use_enable dvi) \
|
|
||||||
$(use_enable epub) \
|
|
||||||
$(use_enable introspection) \
|
|
||||||
$(use_enable postscript ps) \
|
|
||||||
$(use_enable t1lib) \
|
|
||||||
$(use_enable tiff) \
|
|
||||||
$(use_enable xps)
|
|
||||||
}
|
|
@ -1,94 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
MATE_LA_PUNT="yes"
|
|
||||||
|
|
||||||
inherit mate
|
|
||||||
|
|
||||||
if [[ ${PV} != 9999 ]]; then
|
|
||||||
KEYWORDS="~amd64 ~arm ~x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="Atril document viewer for MATE"
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
IUSE="caja dbus debug djvu dvi epub +introspection gnome-keyring gtk3 +postscript t1lib tiff xps"
|
|
||||||
|
|
||||||
REQUIRED_USE="t1lib? ( dvi )"
|
|
||||||
|
|
||||||
COMMON_DEPEND=">=app-text/poppler-0.22:0=[cairo]
|
|
||||||
dev-libs/atk:0
|
|
||||||
>=dev-libs/glib-2.36:2
|
|
||||||
>=dev-libs/libxml2-2.5:2
|
|
||||||
sys-libs/zlib:0
|
|
||||||
x11-libs/gdk-pixbuf:2
|
|
||||||
x11-libs/libICE:0
|
|
||||||
>=x11-libs/libSM-1:0
|
|
||||||
x11-libs/libX11:0
|
|
||||||
>=x11-libs/cairo-1.9.10:0
|
|
||||||
x11-libs/pango:0
|
|
||||||
caja? ( >=mate-base/caja-1.8[gtk3(-)=,introspection?] )
|
|
||||||
djvu? ( >=app-text/djvu-3.5.17:0 )
|
|
||||||
dvi? (
|
|
||||||
virtual/tex-base:0
|
|
||||||
t1lib? ( >=media-libs/t1lib-5:5 )
|
|
||||||
)
|
|
||||||
epub? ( dev-libs/mathjax )
|
|
||||||
gnome-keyring? ( >=app-crypt/libsecret-0.5:0 )
|
|
||||||
!gtk3? (
|
|
||||||
>=x11-libs/gtk+-2.24.0:2[introspection?]
|
|
||||||
epub? ( >=net-libs/webkit-gtk-2.4.3:2 )
|
|
||||||
)
|
|
||||||
gtk3? (
|
|
||||||
>=x11-libs/gtk+-3.0:3[introspection?]
|
|
||||||
epub? ( >=net-libs/webkit-gtk-2.4.3:4 )
|
|
||||||
)
|
|
||||||
introspection? ( >=dev-libs/gobject-introspection-0.6:= )
|
|
||||||
postscript? ( >=app-text/libspectre-0.2:0 )
|
|
||||||
tiff? ( >=media-libs/tiff-3.6:0 )
|
|
||||||
xps? ( >=app-text/libgxps-0.2.1:0 )
|
|
||||||
!!app-text/mate-document-viewer"
|
|
||||||
|
|
||||||
RDEPEND="${COMMON_DEPEND}"
|
|
||||||
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
app-text/docbook-xml-dtd:4.1.2
|
|
||||||
app-text/rarian:0
|
|
||||||
app-text/yelp-tools:0
|
|
||||||
>=app-text/scrollkeeper-dtd-1:1.0
|
|
||||||
dev-util/gtk-doc
|
|
||||||
dev-util/gtk-doc-am
|
|
||||||
>=dev-util/intltool-0.50.1:*
|
|
||||||
virtual/pkgconfig:*
|
|
||||||
sys-devel/gettext:*"
|
|
||||||
|
|
||||||
# Tests use dogtail which is not available on Gentoo.
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# Passing --disable-help would drop offline help, that would be inconsistent
|
|
||||||
# with helps of the most of GNOME apps that doesn't require network for that.
|
|
||||||
mate_src_configure \
|
|
||||||
--disable-tests \
|
|
||||||
--enable-comics \
|
|
||||||
--enable-pdf \
|
|
||||||
--enable-pixbuf \
|
|
||||||
--enable-previewer \
|
|
||||||
--enable-thumbnailer \
|
|
||||||
--with-gtk=$(usex gtk3 3.0 2.0) \
|
|
||||||
$(use_with gnome-keyring keyring) \
|
|
||||||
$(use_enable caja) \
|
|
||||||
$(use_enable dbus) \
|
|
||||||
$(use_enable debug) \
|
|
||||||
$(use_enable djvu) \
|
|
||||||
$(use_enable dvi) \
|
|
||||||
$(use_enable epub) \
|
|
||||||
$(use_enable introspection) \
|
|
||||||
$(use_enable postscript ps) \
|
|
||||||
$(use_enable t1lib) \
|
|
||||||
$(use_enable tiff) \
|
|
||||||
$(use_enable xps)
|
|
||||||
}
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue