parent
41f1a38b8a
commit
93dad823c9
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST ansible-base-2.10.2.tar.gz 6023200 BLAKE2B 80abfa3fab56d3f997cbe90b557ffd5004b216709d6ba2c6d50ea0fb7a2e5a2ad49ce83bfc7a17054582e786f53ce29814d8b5a3fc2408a1e729b1647619080c SHA512 2ee60303841e88d3451ddbcc4c18473d3a37253873406b0783816b1bbf9d8404599ebed12bac7c7f32693314048668b84f3a1c593621c7b8c37a7b48687c769b
|
||||
DIST ansible-base-2.10.3.tar.gz 5836841 BLAKE2B 000ee1e369beb450a9a58680030fc7605f62020a28f0ec4634569be0b12ca54c79d0c36a6022895f93b6f8449b8f8483e07590eeea233383490600bbce600aff SHA512 4da2c79c7d990bbe07e136447643484d947e512693194017623deadd88d6556dac67865069182059ae2daf82a13876600dc5472712d6ab6e0556cb829fce3b5b
|
||||
|
@ -0,0 +1,77 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="Model-driven deployment, config management, and command execution framework"
|
||||
HOMEPAGE="https://ansible.com/"
|
||||
SRC_URI="https://releases.ansible.com/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~x64-macos"
|
||||
IUSE="doc test"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/netaddr[${PYTHON_USEDEP}]
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
net-misc/sshpass
|
||||
virtual/ssh
|
||||
!<app-admin/ansible-2.10
|
||||
"
|
||||
# ansible-2.10 or above is needed for the collections
|
||||
DEPEND="
|
||||
!<app-admin/ansible-2.10
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-16.6[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx-notfound-page[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygments-2.4.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
|
||||
dev-python/passlib[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/unittest2[${PYTHON_USEDEP}]
|
||||
dev-vcs/git
|
||||
)"
|
||||
|
||||
python_compile() {
|
||||
# disable version checks on upgrade
|
||||
export ANSIBLE_SKIP_CONFLICT_CHECK=1
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
cd docs/docsite || die
|
||||
export CPUS=4
|
||||
emake -f Makefile.sphinx html
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/docsite/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
|
||||
dodoc -r examples
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST ansible-2.10.0.tar.gz 25454980 BLAKE2B 91f930518b90b36aa2c21f553092233059fada86fd1674c9c6e881484b1bd4e68a3eaa05d82e15115906e55da99c43394c3de36a898e26bb222f780b82f8a5bd SHA512 878036f06e1705e4392223bda210b2acae0232069d0cec02a47f13f6b3bc6c9538fb515a2d2dc6003695bcf0915fdd3dfc5b8dc59355e37e2ca8fa48bbd79657
|
||||
DIST ansible-2.10.1.tar.gz 25851704 BLAKE2B f9f42ab9f7864a48f0d960b4e8149dfba3ece6c4b01c08db59f9ba5fbcd39771c7b315bf7c9853641d15c2bb6319c9b9ebc791440fc8933780895024c9b74c12 SHA512 46bbbfb22e5c3715df0069d420b174877dffd59f91613779e7057648d15751d528a9cb57357709d0c04a507a60e20c87b109ba1904e1f313441cf5832ba93b5e
|
||||
|
@ -0,0 +1,82 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
DISTUTILS_USE_SETUPTOOLS=bdepend
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="Model-driven deployment, config management, and command execution framework"
|
||||
HOMEPAGE="https://ansible.com/"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/ansible/ansible.git"
|
||||
EGIT_BRANCH="devel"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~x64-macos"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="doc test"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/netaddr[${PYTHON_USEDEP}]
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
net-misc/sshpass
|
||||
virtual/ssh
|
||||
app-admin/ansible-base
|
||||
"
|
||||
DEPEND="
|
||||
>=dev-python/packaging-16.6[${PYTHON_USEDEP}]
|
||||
app-admin/ansible-base
|
||||
doc? (
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx-notfound-page[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygments-2.4.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
|
||||
dev-python/passlib[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/unittest2[${PYTHON_USEDEP}]
|
||||
dev-vcs/git
|
||||
)"
|
||||
|
||||
PATCHES=( "${FILESDIR}/ansible-2.10.0-CVE-2020-25635-6.patch" )
|
||||
|
||||
python_compile() {
|
||||
export ANSIBLE_SKIP_CONFLICT_CHECK=1
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
cd docs/docsite || die
|
||||
export CPUS=4
|
||||
emake -f Makefile.sphinx html
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/docsite/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
--- conky-1.10.8/src/conky.cc.orig 2020-08-28 13:17:22.330113596 -0400
|
||||
+++ conky-1.10.8/src/conky.cc 2020-08-28 13:19:48.564891015 -0400
|
||||
@@ -478,9 +478,9 @@
|
||||
struct MHD_Daemon *httpd;
|
||||
static conky::simple_config_setting<bool> http_refresh("http_refresh", false, true);
|
||||
|
||||
-int sendanswer(void *cls, struct MHD_Connection *connection, const char *url, const char *method, const char *version, const char *upload_data, size_t *upload_data_size, void **con_cls) {
|
||||
+MHD_Result sendanswer(void *cls, struct MHD_Connection *connection, const char *url, const char *method, const char *version, const char *upload_data, size_t *upload_data_size, void **con_cls) {
|
||||
struct MHD_Response *response = MHD_create_response_from_data(webpage.length(), (void*) webpage.c_str(), MHD_NO, MHD_NO);
|
||||
- int ret = MHD_queue_response (connection, MHD_HTTP_OK, response);
|
||||
+ MHD_Result ret = MHD_queue_response (connection, MHD_HTTP_OK, response);
|
||||
MHD_destroy_response(response);
|
||||
if(cls || url || method || version || upload_data || upload_data_size || con_cls) {} //make compiler happy
|
||||
return ret;
|
@ -0,0 +1,31 @@
|
||||
From 16be0e1571a586168855bedb6da1ddc732b0bbf4 Mon Sep 17 00:00:00 2001
|
||||
From: Brenden Matthews <brenden@brndn.io>
|
||||
Date: Thu, 22 Oct 2020 13:02:00 -0400
|
||||
Subject: [PATCH] Build fix for libmicrohttpd.
|
||||
|
||||
---
|
||||
src/conky.cc | 9 +++++----
|
||||
1 file changed, 5 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/src/conky.cc b/src/conky.cc
|
||||
index 79633a40..b1743466 100644
|
||||
--- a/src/conky.cc
|
||||
+++ b/src/conky.cc
|
||||
@@ -322,12 +322,13 @@ struct MHD_Daemon *httpd;
|
||||
static conky::simple_config_setting<bool> http_refresh("http_refresh", false,
|
||||
true);
|
||||
|
||||
-int sendanswer(void *cls, struct MHD_Connection *connection, const char *url,
|
||||
- const char *method, const char *version, const char *upload_data,
|
||||
- size_t *upload_data_size, void **con_cls) {
|
||||
+MHD_Result sendanswer(void *cls, struct MHD_Connection *connection,
|
||||
+ const char *url, const char *method, const char *version,
|
||||
+ const char *upload_data, unsigned long *upload_data_size,
|
||||
+ void **con_cls) {
|
||||
struct MHD_Response *response = MHD_create_response_from_buffer(
|
||||
webpage.length(), (void *)webpage.c_str(), MHD_RESPMEM_PERSISTENT);
|
||||
- int ret = MHD_queue_response(connection, MHD_HTTP_OK, response);
|
||||
+ MHD_Result ret = MHD_queue_response(connection, MHD_HTTP_OK, response);
|
||||
MHD_destroy_response(response);
|
||||
if (cls || url || method || version || upload_data || upload_data_size ||
|
||||
con_cls) {} // make compiler happy
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1,3 @@
|
||||
DIST ibus-1.5.22.tar.gz 3578251 BLAKE2B 08ad72bd455d2841700b11a4ade88e2b9768433f86bac4baf20db882580b10a4705f545a845a03d3b4196a75c43d33c51ffd31a3516d71030f891ce48dce69c2 SHA512 0abe89acc6da8cea484a6b9f807c08e94869072f374f9e8f4541a426636f818f1c3cb8b9237f97245771f9e4bf19184983d8ac924177dc4824ca6e8b5304425d
|
||||
DIST ibus-1.5.23-gentoo-patches-1.tar.xz 1596 BLAKE2B 5a2c084cb25cb35d16eba8e6953c1ffc249875ab11485a675497f04a4366ea3fe216bab3407f390a0330f4f17cf5a70a43547160cc9c29a6b14890fcb7867456 SHA512 a1c2a77dbc4185c3658c36b998c9d925fff2bbeb9bc5fde5c74c62081056f134875d557ba0b4af7b06d56f004975889f453adea623541d3bfff2c391912efa05
|
||||
DIST ibus-1.5.23.tar.gz 3557661 BLAKE2B 4cfb3287c80d46e55090d4f361dd977f4be5988a8b7ffc24755954090dc25021ea6cbb6798769494e6cd70267aac6daa238fdc7cf4156296d93f79f325a18ac4 SHA512 4ea66d0a7203d665fb5c90e59ddf294614feeafc4f06b10e35989671a9bf39d5977e9061b9be224cd5a9439ac2f697a4326ff221ae868f5ebed46cbb09e9a205
|
||||
|
@ -0,0 +1,189 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python{3_6,3_7,3_8} )
|
||||
VALA_MIN_API_VERSION="0.34"
|
||||
VALA_MAX_API_VERSION="0.50"
|
||||
VALA_USE_DEPEND="vapigen"
|
||||
|
||||
inherit autotools bash-completion-r1 gnome2-utils python-r1 vala virtualx xdg-utils
|
||||
|
||||
GENTOO_VER=1
|
||||
DESCRIPTION="Intelligent Input Bus for Linux / Unix OS"
|
||||
HOMEPAGE="https://github.com/ibus/ibus/wiki"
|
||||
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="+X +emoji +gtk +gtk2 +introspection kde nls +python test +unicode vala wayland"
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="emoji? ( gtk )
|
||||
gtk2? ( gtk )
|
||||
kde? ( gtk )
|
||||
python? (
|
||||
${PYTHON_REQUIRED_USE}
|
||||
introspection
|
||||
)
|
||||
test? ( gtk )
|
||||
vala? ( introspection )"
|
||||
|
||||
CDEPEND="app-text/iso-codes
|
||||
dev-libs/glib:2
|
||||
gnome-base/dconf
|
||||
gnome-base/librsvg:2
|
||||
sys-apps/dbus[X?]
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
!gtk? ( x11-libs/gtk+:2 )
|
||||
)
|
||||
gtk? (
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libX11
|
||||
x11-libs/libXi
|
||||
gtk2? ( x11-libs/gtk+:2 )
|
||||
)
|
||||
introspection? ( dev-libs/gobject-introspection )
|
||||
kde? ( dev-qt/qtgui:5 )
|
||||
nls? ( virtual/libintl )
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
)
|
||||
wayland? (
|
||||
dev-libs/wayland
|
||||
x11-libs/libxkbcommon
|
||||
)"
|
||||
RDEPEND="${CDEPEND}
|
||||
python? (
|
||||
gtk? (
|
||||
x11-libs/gtk+:3[introspection]
|
||||
)
|
||||
)"
|
||||
DEPEND="${CDEPEND}
|
||||
$(vala_depend)
|
||||
dev-util/glib-utils
|
||||
virtual/pkgconfig
|
||||
emoji? (
|
||||
app-i18n/unicode-cldr
|
||||
app-i18n/unicode-emoji
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
unicode? ( app-i18n/unicode-data )"
|
||||
|
||||
src_prepare() {
|
||||
vala_src_prepare --ignore-use
|
||||
sed -i "/UCD_DIR=/s/\$with_emoji_annotation_dir/\$with_ucd_dir/" configure.ac
|
||||
if ! has_version 'x11-libs/gtk+:3[wayland]'; then
|
||||
touch ui/gtk3/panelbinding.vala
|
||||
fi
|
||||
if ! use emoji; then
|
||||
touch \
|
||||
tools/main.vala \
|
||||
ui/gtk3/panel.vala
|
||||
fi
|
||||
if ! use kde; then
|
||||
touch ui/gtk3/panel.vala
|
||||
fi
|
||||
if [[ -n ${GENTOO_VER} ]]; then
|
||||
einfo "Try to apply Gentoo specific patch set"
|
||||
eapply "${WORKDIR}"/patches-gentoo/*.patch
|
||||
fi
|
||||
|
||||
# for multiple Python implementations
|
||||
sed -i "s/^\(PYGOBJECT_DIR =\).*/\1/" bindings/Makefile.am
|
||||
# fix for parallel install
|
||||
sed -i "/^if ENABLE_PYTHON2/,/^endif/d" bindings/pygobject/Makefile.am
|
||||
# require user interaction
|
||||
sed -i "/^TESTS += ibus-\(compose\|keypress\)/d" src/tests/Makefile.am
|
||||
|
||||
sed -i "/^bash_completion/d" tools/Makefile.am
|
||||
|
||||
default
|
||||
eautoreconf
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local unicodedir="${EPREFIX}"/usr/share/unicode
|
||||
local python_conf=()
|
||||
if use python; then
|
||||
python_setup
|
||||
python_conf+=(
|
||||
$(use_enable gtk setup)
|
||||
--with-python=${EPYTHON}
|
||||
)
|
||||
else
|
||||
python_conf+=( --disable-setup )
|
||||
fi
|
||||
|
||||
econf \
|
||||
$(use_enable X xim) \
|
||||
$(use_enable emoji emoji-dict) \
|
||||
$(use_with emoji unicode-emoji-dir "${unicodedir}"/emoji) \
|
||||
$(use_with emoji emoji-annotation-dir "${unicodedir}"/cldr/common/annotations) \
|
||||
$(use_enable gtk gtk3) \
|
||||
$(use_enable gtk ui) \
|
||||
$(use_enable gtk2) \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable kde appindicator) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable test tests) \
|
||||
$(use_enable unicode unicode-dict) \
|
||||
$(use_with unicode ucd-dir "${EPREFIX}/usr/share/unicode-data") \
|
||||
$(use_enable vala) \
|
||||
$(use_enable wayland) \
|
||||
"${python_conf[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
virtx emake -j1 check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
|
||||
if use python; then
|
||||
python_install() {
|
||||
emake -C bindings/pygobject \
|
||||
pyoverridesdir="$(${EPYTHON} -c 'import gi; print(gi._overridesdir)')" \
|
||||
DESTDIR="${D}" \
|
||||
install
|
||||
|
||||
python_optimize
|
||||
}
|
||||
python_foreach_impl python_install
|
||||
fi
|
||||
|
||||
keepdir /usr/share/ibus/engine
|
||||
|
||||
newbashcomp tools/${PN}.bash ${PN}
|
||||
|
||||
insinto /etc/X11/xinit/xinput.d
|
||||
newins xinput-${PN} ${PN}.conf
|
||||
|
||||
# Undo compression of man page
|
||||
find "${ED}"/usr/share/man -type f -name '*.gz' -exec gzip -d {} \; || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use gtk && gnome2_query_immodules_gtk3
|
||||
use gtk2 && gnome2_query_immodules_gtk2
|
||||
xdg_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
dconf update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use gtk && gnome2_query_immodules_gtk3
|
||||
use gtk2 && gnome2_query_immodules_gtk2
|
||||
xdg_icon_cache_update
|
||||
gnome2_schemas_update
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST fbpdf-0_p20190202-dfe9f0067549f759cdc04f2f62b4f89cd6e1b199.tar.gz 7874 BLAKE2B 873da768b0152559536c73b7ed575c3457efe184934a38d0a9600412ac3a8616297194ab045be1d7eddb470d8d73ead4c655797fd7ba1efe6f2be9a19a5318b4 SHA512 f216a0993573e4e491845638b72ff019910f8a333ed618158e81bcb3f68619596f0354b0039c38c7619dd65c040aa599ed8923ac974717b86fb431e5c6954f3b
|
||||
DIST fbpdf-0_p20200614-27c9e28e9199a2491d0ee0a885760bedb1d4547b.tar.gz 8432 BLAKE2B 0004f8558b86c349744a37099ef86963d368ee9dedeefca861761f88adc3c94a3db9f46c9e1a6f6026357512a8320b956cd7c48108aa6c6657b84193fd5d4b49 SHA512 e037cd536e3a26b6d2364eb52803de67606bac418db8691c7530a889c95dd1f8661985021237ce7fea95f56ab5a308caf8d470c6c036b51b17211f9c200aba51
|
||||
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs vcs-snapshot
|
||||
|
||||
COMMIT="dfe9f0067549f759cdc04f2f62b4f89cd6e1b199"
|
||||
|
||||
DESCRIPTION="framebuffer pdf and djvu viewer"
|
||||
HOMEPAGE="https://github.com/aligrudi/fbpdf"
|
||||
|
||||
SRC_URI="https://github.com/aligrudi/fbpdf/archive/${COMMIT}.tar.gz -> ${P}-${COMMIT}.tar.gz"
|
||||
|
||||
LICENSE="BSD ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=app-text/mupdf-1.10:0=
|
||||
app-text/djvu:0=
|
||||
!media-gfx/fbida[fbcon(-)]
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
S=${WORKDIR}/${P}-${COMMIT}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-use-pkg-config.patch
|
||||
"${FILESDIR}"/${P}-printf.patch
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin fbpdf fbdjvu
|
||||
dodoc README
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
https://bugs.gentoo.org/714736
|
||||
|
||||
From e89e36c01d09ca6aec03732e922e749257cac3f4 Mon Sep 17 00:00:00 2001
|
||||
From: Dmitry Bogatov <KAction@disroot.org>
|
||||
Date: Sun, 9 Feb 2020 00:47:09 -0500
|
||||
Subject: [PATCH] Avoid passing non-constant format string to printf
|
||||
|
||||
gcc complains loudly on any code that uses anything but string literal
|
||||
as format string to printf. Right now format string is "const char *"
|
||||
and does not contain %-sequences, but should '%' appear in "usage"
|
||||
string in future, bad things would happen.
|
||||
|
||||
Since formatting functionality of "printf" is not used anyway, replacing
|
||||
it with "puts" makes code both safer and easier to understand.
|
||||
---
|
||||
fbpdf.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/fbpdf.c b/fbpdf.c
|
||||
index a58797f..65b654b 100644
|
||||
--- a/fbpdf.c
|
||||
+++ b/fbpdf.c
|
||||
@@ -351,13 +351,13 @@ static void mainloop(void)
|
||||
}
|
||||
|
||||
static char *usage =
|
||||
- "usage: fbpdf [-r rotation] [-z zoom x10] [-p page] filename\n";
|
||||
+ "usage: fbpdf [-r rotation] [-z zoom x10] [-p page] filename";
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
int i = 1;
|
||||
if (argc < 2) {
|
||||
- printf(usage);
|
||||
+ puts(usage);
|
||||
return 1;
|
||||
}
|
||||
strcpy(filename, argv[argc - 1]);
|
@ -1,3 +1,2 @@
|
||||
DIST mupdf-1.16.1-source.tar.xz 45800404 BLAKE2B bc4158a457056c55db52a518efc13c289cca537c29a6b563046297dc225f3ce0add781adb8520c4d0829d653ed0539042597e341cb21c4fb4c462ed422bf735b SHA512 fa657e6b9251aff91c25e91b335ea829b797dd91a759505bfd7259f8236613f590a044bc741e9b0587da55817a1ab8c1499c067d65d683d099259d06d91a8f50
|
||||
DIST mupdf-1.17.0-source.tar.xz 48559964 BLAKE2B f46b09a6d288054da79bea356df4d7d98fe2759cf82bea1f0df2e961b94acebbab58826f7a731c4c68e8b086fd9367fddcabea6c7d2838f25ed84ddc1a0c2bd9 SHA512 39188e6ce3eaefb525b2c32767c4bf52ed881b41889edef086aa64bfe1c38e6f3cb853450c8284d175ef8854f32e9bc67415a692048ead26cf31c35645f9e0e5
|
||||
DIST mupdf-1.18.0-source.tar.xz 53621544 BLAKE2B d0057f4240bd4f6b4b6d9381ae1c3871c56b97604d5c6ea6438a8bde72d4696c10a9f0e8e2ed8f43d63a04bb1d973bade8a708327c00b0d0c6802b28af697a55 SHA512 7551f18b9bac6e2dc1cf073741cbc975ce3a16dc7e37c9d5a58254c67bf2c07bb36185d6585e435d4126f3ae351f67d7432d19a986c9b47b15105ca43db0edb8
|
||||
|
@ -1,45 +0,0 @@
|
||||
From 8561b744ac95ab6145a1163fa1d7c490a3329465 Mon Sep 17 00:00:00 2001
|
||||
From: William <wonko@undefined.re>
|
||||
Date: Mon, 12 Nov 2018 16:50:07 +0100
|
||||
Subject: [PATCH] hardcode missing ssl functions
|
||||
|
||||
---
|
||||
source/helpers/pkcs7/pkcs7-openssl.c | 22 ++++++++++++++++++++++
|
||||
1 file changed, 22 insertions(+)
|
||||
|
||||
diff --git a/source/helpers/pkcs7/pkcs7-openssl.c b/source/helpers/pkcs7/pkcs7-openssl.c
|
||||
index 58dbf65..2b1f9e9 100644
|
||||
--- a/source/helpers/pkcs7/pkcs7-openssl.c
|
||||
+++ b/source/helpers/pkcs7/pkcs7-openssl.c
|
||||
@@ -511,6 +511,28 @@ static void signer_drop_designated_name(pdf_pkcs7_signer *signer, pdf_pkcs7_desi
|
||||
fz_free(osigner->ctx, dn);
|
||||
}
|
||||
|
||||
+int
|
||||
+PKCS12_SAFEBAG_get_nid(const PKCS12_SAFEBAG *bag)
|
||||
+{
|
||||
+ return OBJ_obj2nid(bag->type);
|
||||
+}
|
||||
+
|
||||
+const STACK_OF(PKCS12_SAFEBAG) *
|
||||
+PKCS12_SAFEBAG_get0_safes(const PKCS12_SAFEBAG *bag)
|
||||
+{
|
||||
+ if (OBJ_obj2nid(bag->type) != NID_safeContentsBag)
|
||||
+ return NULL;
|
||||
+ return bag->value.safes;
|
||||
+}
|
||||
+
|
||||
+const PKCS8_PRIV_KEY_INFO *
|
||||
+PKCS12_SAFEBAG_get0_p8inf(const PKCS12_SAFEBAG *bag)
|
||||
+{
|
||||
+ if (PKCS12_SAFEBAG_get_nid(bag) != NID_keyBag)
|
||||
+ return NULL;
|
||||
+ return bag->value.keybag;
|
||||
+}
|
||||
+
|
||||
static void add_from_bags(X509 **pX509, EVP_PKEY **pPkey, const STACK_OF(PKCS12_SAFEBAG) *bags, const char *pw);
|
||||
|
||||
static void add_from_bag(X509 **pX509, EVP_PKEY **pPkey, PKCS12_SAFEBAG *bag, const char *pw)
|
||||
--
|
||||
2.19.1
|
||||
|
@ -1,128 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic toolchain-funcs xdg desktop
|
||||
|
||||
DESCRIPTION="A lightweight PDF viewer and toolkit written in portable C"
|
||||
HOMEPAGE="https://mupdf.com/"
|
||||
SRC_URI="https://mupdf.com/downloads/archive/${P}-source.tar.xz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 s390 x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="X +javascript libressl opengl ssl static-libs"
|
||||
|
||||
# Although we use the bundled, patched version of freeglut in mupdf (because of
|
||||
# bug #653298), the best way to ensure that its dependencies are present is to
|
||||
# install system's freeglut.
|
||||
RDEPEND="
|
||||
media-libs/freetype:2=[static-libs?]
|
||||
media-libs/harfbuzz:=[static-libs?,truetype]
|
||||
media-libs/jbig2dec:=[static-libs?]
|
||||
media-libs/libpng:0=[static-libs?]
|
||||
>=media-libs/openjpeg-2.1:2=[static-libs?]
|
||||
virtual/jpeg[static-libs?]
|
||||
opengl? ( >=media-libs/freeglut-3.0.0:= )
|
||||
ssl? (
|
||||
libressl? ( >=dev-libs/libressl-2.8:0=[static-libs?] )
|
||||
!libressl? ( >=dev-libs/openssl-1.1:0=[static-libs?] )
|
||||
)
|
||||
X? (
|
||||
x11-libs/libX11[static-libs?]
|
||||
x11-libs/libXext[static-libs?]
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
REQUIRED_USE="opengl? ( !static-libs )"
|
||||
|
||||
S=${WORKDIR}/${P}-source
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.15-CFLAGS.patch
|
||||
"${FILESDIR}"/${PN}-1.15-Makefile.patch
|
||||
"${FILESDIR}"/${PN}-1.10a-add-desktop-pc-xpm-files.patch
|
||||
# See bugs #662352
|
||||
"${FILESDIR}"/${PN}-1.15-openssl-x11.patch
|
||||
"${FILESDIR}"/${PN}-1.16.1-freeglut-fg_gl2-gcc-10.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
xdg_src_prepare
|
||||
use hppa && append-cflags -ffunction-sections
|
||||
|
||||
use javascript || \
|
||||
sed -e '/* #define FZ_ENABLE_JS/ a\#define FZ_ENABLE_JS 0' \
|
||||
-i include/mupdf/fitz/config.h
|
||||
|
||||
# See bug #670832
|
||||
use ssl && use libressl && eapply "${FILESDIR}"/${PN}-1.14-libressl.patch
|
||||
|
||||
sed -e "1iOS = Linux" \
|
||||
-e "1iCC = $(tc-getCC)" \
|
||||
-e "1iLD = $(tc-getLD)" \
|
||||
-e "1iAR = $(tc-getAR)" \
|
||||
-e "1iverbose = yes" \
|
||||
-e "1ibuild = debug" \
|
||||
-e "1iprefix = ${ED}/usr" \
|
||||
-e "1ilibdir = ${ED}/usr/$(get_libdir)" \
|
||||
-e "1idocdir = ${ED}/usr/share/doc/${PF}" \
|
||||
-i Makerules || die
|
||||
}
|
||||
|
||||
_emake() {
|
||||
# When HAVE_OBJCOPY is yes, we end up with a lot of QA warnings.
|
||||
|
||||
# We don't use system's freeglut because upstream has a special modified
|
||||
# version of it that gives mupdf clipboard support. See bug #653298
|
||||
|
||||
# As of v1.15.0, mupdf started using symbols in mujs that were not part
|
||||
# of any release. We thus go back to using the bundled version of it.
|
||||
# Bug #685244
|
||||
emake \
|
||||
GENTOO_PV=${PV} \
|
||||
HAVE_GLUT=$(usex opengl) \
|
||||
HAVE_LIBCRYPTO=$(usex ssl) \
|
||||
HAVE_X11=$(usex X) \
|
||||
USE_SYSTEM_LIBS=yes \
|
||||
USE_SYSTEM_MUJS=no \
|
||||
USE_SYSTEM_GLUT=no \
|
||||
HAVE_OBJCOPY=no \
|
||||
"$@"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
_emake XCFLAGS="-fpic"
|
||||
|
||||
use static-libs && \
|
||||
_emake build/debug/lib${PN}.a
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use X || use opengl ; then
|
||||
domenu platform/debian/${PN}.desktop
|
||||
doicon platform/debian/${PN}.xpm
|
||||
else
|
||||
rm docs/man/${PN}.1
|
||||
fi
|
||||
|
||||
_emake install
|
||||
|
||||
dosym libmupdf.so.${PV} /usr/$(get_libdir)/lib${PN}.so
|
||||
|
||||
use static-libs && \
|
||||
dolib.a build/debug/lib${PN}.a
|
||||
if use opengl ; then
|
||||
einfo "mupdf symlink points to mupdf-gl (bug 616654)"
|
||||
dosym ${PN}-gl /usr/bin/${PN}
|
||||
elif use X ; then
|
||||
einfo "mupdf symlink points to mupdf-x11 (bug 616654)"
|
||||
dosym ${PN}-x11 /usr/bin/${PN}
|
||||
fi
|
||||
insinto /usr/$(get_libdir)/pkgconfig
|
||||
doins platform/debian/${PN}.pc
|
||||
|
||||
dodoc README CHANGES CONTRIBUTORS
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST nuspell-3.1.2.tar.gz 379029 BLAKE2B 80f773ffdcbfbeee0dd13cd325bb4fec5efa5b54ece92ac1589c418aab46c925419e9e1bc7e257a8320e24399f49bb867600679e34a5e40070b01a660578c92c SHA512 ed5206cb9ffa7e4ec6843988a75627d4ae7d5170444b6e7bd3496c1bf61c25412c4e68864800f2ad238d014b4e50d25282f367de2900f8a230f3ecc9ae5772be
|
||||
DIST nuspell-4.0.0.tar.gz 379136 BLAKE2B 90aebe8318cd28240dfb7c1b034b2c045ac208c6d25344a3f2fc2f1a38995a1d6f81e70399c644c70255fbbb30f61e340808d1a71dfccab1726f89b742cf7b65 SHA512 2b08e30c4ac91a243c74f21eaf4a8d55d8b1c834e0f293fea76a9f02660f2ee89fe4d4071b1b9ed97b8c1db80b0645c71f8746738d97fc3ae779a65dc1583d3b
|
||||
DIST nuspell-4.0.1.tar.gz 379342 BLAKE2B be52797ddd737c523a6141fc1c2683690cfcd1aa09e6548d7eed593ab023d2b45d3538f2a9964a7c2b4abc6506c67058cdc2479ec12ae5438ffe9faa00f0680c SHA512 122616fd24c2de35000ba12d680d3617e7fe97881d33febbcb106ce70d3bac356a00d90680a1bc8ee631ed532ace0f4b4f9fce4760a25b0f7fc1d60553e74528
|
||||
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Spell checker library and CLI for complex natural languages"
|
||||
HOMEPAGE="https://nuspell.github.io/ https://github.com/nuspell/nuspell"
|
||||
SRC_URI="https://github.com/nuspell/nuspell/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3+"
|
||||
SLOT="0/4" # due to libnuspell.so.4
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="dev-libs/icu"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-text/pandoc )
|
||||
test? ( >=dev-cpp/catch-2.3.0:0 )
|
||||
>=dev-libs/boost-1.62[icu,nls]"
|
||||
|
||||
DOCS=( CHANGELOG.md )
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_prepare() {
|
||||
rm -R external/Catch2/ || die
|
||||
if ! use test ; then
|
||||
rm -R external/hunspell/ || die
|
||||
fi
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo
|
||||
einfo 'Nuspell needs language packs and/or dictionaries to be of use'
|
||||
einfo 'e.g. package app-dicts/myspell-en or one of its siblings.'
|
||||
einfo
|
||||
einfo 'Besides MySpell dictionaries, for other options please'
|
||||
einfo 'see https://nuspell.github.io/#languages-and-users .'
|
||||
einfo
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST poppler-0.90.1.tar.xz 1633804 BLAKE2B 5c7256bca74af6cc2732fb6c413bec10ea579f28fe623ccb5d4863c62d39329a4264c240ee0e395a78de577a960a5156ba20f957990c0cde91efcee72dbc2fef SHA512 c0a38c3c40196f8b847f0737152d0cbb40656870a8ceb766134ee22ec7c21bc979a13f56b7596a13ae2f08f1a9a2c396ba7f5ff176d02c262af7e863c2afde34
|
||||
DIST poppler-20.09.0.tar.xz 1642932 BLAKE2B be61275560bf57c639f185b5ebbd8b37b99fd008412f49890ed644e95f4d8f2c4ca865b081eea99f2604d44fa1c0c31bd551339340f03cb43ab7f5a03992f760 SHA512 fbd57dd0754279d4b0a20ccbdbfb06abc5a5d84e63915676353fd42d5b80318904cf7e6ae462db445ed6c6e011fc24675dccbb8bd3597fc6532657a4ea23406a
|
||||
DIST poppler-20.10.0.tar.xz 1644528 BLAKE2B ce38491805ff8ecb45eea45c44c93ec85404cb310ed6da49d7ce752a4e572abfbd7f5740448d6fb0c0958aa5661ebf87a3a2988bf51b0d0f0b1ea102110952b9 SHA512 edbcd53a06df9a5911a58fd05066e44dc8ab9a1dbc6da852b40bbc5627b9c0fcb35d97f46e3fcd78f7d08f86cba37e2ab3ff81b9a18fad300571df2bf1ef91a9
|
||||
DIST poppler-20.11.0.tar.xz 1648432 BLAKE2B 373464ba60ed84863b40eca2e4f99ebc1625ea06f68a1621165675cf46e70713b649f90630049d15c5c2bc59bd0befb437a4039b47e17509d4fcc4fed8586d53 SHA512 c8237e931ef20d939656e2600453fffb12a2beeafb273782b2069aec6e5915d8cc85136982b7eaf5956af30ce00da2faf84d86ffab47f725447dfbb9d6ffe335
|
||||
|
@ -0,0 +1,64 @@
|
||||
From 083bc159ce35e21ab5bb942e91e98a95ce1f8f99 Mon Sep 17 00:00:00 2001
|
||||
From: Lars Wendler <polynomial-c@gentoo.org>
|
||||
Date: Mon, 2 Nov 2020 14:30:22 +0100
|
||||
Subject: [PATCH] build: respect cflags
|
||||
|
||||
---
|
||||
cmake/modules/PopplerMacros.cmake | 41 -------------------------------
|
||||
1 file changed, 41 deletions(-)
|
||||
|
||||
diff --git a/cmake/modules/PopplerMacros.cmake b/cmake/modules/PopplerMacros.cmake
|
||||
index 6e5f0050..1a3d0f9f 100644
|
||||
--- a/cmake/modules/PopplerMacros.cmake
|
||||
+++ b/cmake/modules/PopplerMacros.cmake
|
||||
@@ -145,47 +145,6 @@ if(CMAKE_COMPILER_IS_GNUCXX)
|
||||
endif(GCC_HAS_AS_NEEDED)
|
||||
endif (CMAKE_COMPILER_IS_GNUCXX)
|
||||
|
||||
-if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||
-# set the default compile warnings
|
||||
- set(_warn "-Wall -Wextra -Wpedantic")
|
||||
- set(_warn "${_warn} -Wno-unused-parameter")
|
||||
- set(_warn "${_warn} -Wcast-align")
|
||||
- set(_warn "${_warn} -Wformat-security")
|
||||
- set(_warn "${_warn} -Wframe-larger-than=65536")
|
||||
- set(_warn "${_warn} -Wmissing-format-attribute")
|
||||
- set(_warn "${_warn} -Wnon-virtual-dtor")
|
||||
- set(_warn "${_warn} -Woverloaded-virtual")
|
||||
- set(_warn "${_warn} -Wmissing-declarations")
|
||||
- set(_warn "${_warn} -Wundef")
|
||||
- set(_warn "${_warn} -Wzero-as-null-pointer-constant")
|
||||
- set(_warn "${_warn} -Wshadow")
|
||||
- set(_warn "${_warn} -Wweak-vtables")
|
||||
-
|
||||
- # set extra warnings
|
||||
- set(_warnx "${_warnx} -Wconversion")
|
||||
-
|
||||
- set(DEFAULT_COMPILE_WARNINGS "${_warn}")
|
||||
- set(DEFAULT_COMPILE_WARNINGS_EXTRA "${_warn} ${_warnx}")
|
||||
-
|
||||
- set(_save_cxxflags "${CMAKE_CXX_FLAGS}")
|
||||
- set(CMAKE_CXX_FLAGS "-fno-exceptions -fno-check-new -fno-common -D_DEFAULT_SOURCE")
|
||||
- set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g ${_save_cxxflags}")
|
||||
- set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG ${_save_cxxflags}")
|
||||
- # clang does not support -fno-reorder-blocks -fno-schedule-insns, so do not use -O2
|
||||
- set(CMAKE_CXX_FLAGS_DEBUG "-g ${_save_cxxflags}")
|
||||
- set(CMAKE_CXX_FLAGS_DEBUGFULL "-g3 -fno-inline ${_save_cxxflags}")
|
||||
- set(CMAKE_CXX_FLAGS_PROFILE "-g3 -fno-inline -ftest-coverage -fprofile-arcs ${_save_cxxflags}")
|
||||
- set(_save_cflags "${CMAKE_C_FLAGS}")
|
||||
- set(CMAKE_C_FLAGS "-std=c99 -D_DEFAULT_SOURCE")
|
||||
- set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -g ${_save_cflags}")
|
||||
- set(CMAKE_C_FLAGS_RELEASE "-O2 -DNDEBUG ${_save_cflags}")
|
||||
- # clang does not support -fno-reorder-blocks -fno-schedule-insns, so do not use -O2
|
||||
- set(CMAKE_C_FLAGS_DEBUG "-g ${_save_cflags}")
|
||||
- set(CMAKE_C_FLAGS_DEBUGFULL "-g3 -fno-inline ${_save_cflags}")
|
||||
- set(CMAKE_C_FLAGS_PROFILE "-g3 -fno-inline -ftest-coverage -fprofile-arcs ${_save_cflags}")
|
||||
-
|
||||
-endif()
|
||||
-
|
||||
if(CMAKE_C_COMPILER MATCHES "icc")
|
||||
set(_save_cxxflags "${CMAKE_CXX_FLAGS}")
|
||||
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g ${_save_cxxflags}")
|
||||
--
|
||||
2.29.2
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST vgrep-2.3.1.tar.gz 1149421 BLAKE2B c4c9a414bba5e509d57faa9ca6f6ce5cae1dbb001ff8b410ad54691ec6bf39f41c535fd25bdd5d93fdf89b4e4b49acf4dfa9a8956653e5c5e2ce39bd7da8d484 SHA512 0fa65151ae40f7fefc4e5b1af8e6ea332b50b1136849ec0902dd110786ca14204441e27c65a036b08fa56bf04a6325d8aa8ef2d4d02cdb0e0fe219896e24d694
|
||||
DIST vgrep-2.3.3.tar.gz 1149769 BLAKE2B 59f15e0f2d9fd069b4926cb26a0517cb1d201dccce53d7c6b3ec1954693a3286396e8d4d72e2c3bcc4bb8e70083ba1ea349dfc4bec244caa112fcc2289063c25 SHA512 b745ec24bb5c329a3d0e4e756e54432f3acf9c24f9492339b69850d5a8e688074323d7e56c584e59f3aedf3a41b84997497791512dae2950424eaed56d6b7329
|
||||
DIST vgrep-2.4.0.tar.gz 1196159 BLAKE2B f8b6b8166feb17ddeea7978ff14fd729ee395feb9658cbfc838f978f33169c7ca15dcd4008af54582aca25a0803924c508da11603d02e42d1e597a5813f78c3b SHA512 c614b52fe7fa720d3d2bb57830805c1ebb7c47db549aadda9309676b9c286447e693e51f74f969ccd0450934510bfe79c1603717022dd69c9f7f2709cbfd4465
|
||||
DIST vgrep-2.5.0.tar.gz 1355064 BLAKE2B 7a724fed16ec4589ace159dd5dcbea8e4450393f2c356430d9e8e87b799191b06137e20f2d0c32c53b71ff79d5abaa5551f6254ef6989631d9f6b9d771a5fe18 SHA512 95ee8ff1ca705cec8deaabf8e20d39df23dbac1ab797d025ca253904bcb7f4cbedda3ef052d006064c8d652c06b50cc3e5e532108b23a95511ee7b85b8abb3d4
|
||||
|
@ -0,0 +1,15 @@
|
||||
https://github.com/vrothberg/vgrep/issues/130
|
||||
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -113,7 +113,8 @@ install: install-docs
|
||||
|
||||
.PHONY: install-docs
|
||||
install-docs: docs
|
||||
- sudo cp docs/*.1 ${MAN_DIR}/man1/
|
||||
+ mkdir -p ${MAN_DIR}/man1/
|
||||
+ cp docs/*.1 ${MAN_DIR}/man1/
|
||||
|
||||
.PHONY: uninstall
|
||||
uninstall:
|
||||
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="A pager for grep, git-grep and similar grep implementations"
|
||||
HOMEPAGE="https://github.com/vrothberg/vgrep"
|
||||
SRC_URI="https://github.com/vrothberg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD GPL-3+ MIT MIT-with-advertising"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
# Uses golangci-lint
|
||||
RESTRICT="test"
|
||||
|
||||
BDEPEND="dev-go/go-md2man"
|
||||
|
||||
DOCS=( README.md )
|
||||
|
||||
PATCHES=( "${FILESDIR}"/vgrep-2.5.0-remove-sudo.patch )
|
||||
|
||||
# go binary
|
||||
QA_PRESTRIPPED="usr/bin/vgrep"
|
||||
|
||||
src_compile() {
|
||||
emake build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local prefix="${D}/usr"
|
||||
mkdir -p "${prefix}"/bin || die
|
||||
|
||||
emake PREFIX="${prefix}" install
|
||||
}
|
Binary file not shown.
@ -1 +1 @@
|
||||
DIST vimtex-20180324.tar.gz 684092 BLAKE2B 4472c9e62c5795b621a9230fbd7ea1f018c6df440f58065e7b439f64ae67f4064b158094c8d0b8a6eba6202bc9e6729b792fced02ea9deeaf400f0240537795d SHA512 59038aff6ec761a9f73db7d638a70e9ea5ba4d3ef4bd9283f3a62beb5e412f1a3c752dd0d739dc4c9c5e33e4a00a84a91da56e8fea2b8113b7ef73d219997409
|
||||
DIST vimtex-1.5.tar.gz 1666938 BLAKE2B 7d203f25b1f5c653bb270fb4cb5463d2851fe63d52dde9b99d8ca4e2c7936f7291c649e5a71d25c01329a2caf3aa4258f302d2585c6b7e67991e5f91dd785526 SHA512 9009a830e117c8d1d6b00f97cb1382704c77120e05810ad40d1ec191cb547e5045101d2901b88d85b42d17ba51cdd5f5a00b2f80aa2424e2529bb19c7f651f00
|
||||
|
@ -1,22 +1,14 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EAPI=7
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/lervag/vimtex.git"
|
||||
inherit git-r3
|
||||
else
|
||||
inherit vcs-snapshot
|
||||
COMMIT_HASH="17d809706edcb277f1ee7fa5e33aff3619926fe4"
|
||||
SRC_URI="https://github.com/lervag/vimtex/archive/${COMMIT_HASH}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="vim plugin: a modern vim plugin for editing LaTeX files"
|
||||
HOMEPAGE="https://github.com/lervag/vimtex"
|
||||
SRC_URI="https://github.com/lervag/vimtex/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
LICENSE="MIT"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}"
|
@ -0,0 +1,11 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: maintains a history of previous yanks and deletes"
|
||||
HOMEPAGE="https://www.vim.org/scripts/script.php?script_id=1234"
|
||||
LICENSE="vim"
|
||||
KEYWORDS="~amd64 ~x86"
|
Binary file not shown.
Binary file not shown.
@ -1 +0,0 @@
|
||||
DIST mono-addins-1.0.tar.gz 548940 BLAKE2B 6cce06462398d3407655c0579fe3bf873487e22e189bc53bcc4061c0333dd6388d3d13688f79490b29cf34b1dda140531d4257e7f84b0261069a95673e431d18 SHA512 ba2f625b2f9c9f0c367c87670c930b4c8ee874b04721fd1ca636c8ef5c27702256057c9bcebc9a3d1edd7bedd21a700268cbeadeecc795d3004a7b7ada8f5c24
|
@ -1,15 +0,0 @@
|
||||
diff -u origin/configure.ac mono-addins-mono-addins-1.0/configure.ac
|
||||
--- origin/configure.ac
|
||||
+++ mono-addins-mono-addins-1.0/configure.ac
|
||||
@@ -18,7 +18,10 @@
|
||||
|
||||
AC_PROG_INSTALL
|
||||
|
||||
-AC_PATH_PROG(MCS, gmcs, no)
|
||||
+MCS=no
|
||||
+AC_PATH_PROG(MCS, gmcs)
|
||||
+AC_PATH_PROG(MCS, dmcs)
|
||||
+AC_PATH_PROG(MCS, mcs)
|
||||
if test "x$MCS" = "xno"; then
|
||||
AC_MSG_ERROR([mcs Not found])
|
||||
fi
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>dotnet@gentoo.org</email>
|
||||
<name>Gentoo Dotnet Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">mono/mono-addins</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils dotnet multilib autotools-utils
|
||||
|
||||
DESCRIPTION="A generic framework for creating extensible applications"
|
||||
HOMEPAGE="http://www.mono-project.com/Mono.Addins"
|
||||
SRC_URI="https://github.com/mono/${PN}/archive/${P}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+gtk"
|
||||
|
||||
RDEPEND=">=dev-lang/mono-3
|
||||
gtk? ( >=dev-dotnet/gtk-sharp-2.12.21:2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
MAKEOPTS="${MAKEOPTS} -j1" #nowarn
|
||||
|
||||
S="${WORKDIR}/${PN}-${P}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/gmcs.patch"
|
||||
|
||||
eautoreconf
|
||||
autotools-utils_src_prepare
|
||||
## with dev-dotnet/gtk-sharp-2.99.1
|
||||
## it gives
|
||||
## checking for GTK_SHARP_20... no
|
||||
## configure: error: Package requirements (gtk-sharp-2.0) were not met:
|
||||
##
|
||||
## No package 'gtk-sharp-2.0' found
|
||||
|
||||
sed -i "s;Mono.Cairo;Mono.Cairo, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756;g" Mono.Addins.Gui/Mono.Addins.Gui.csproj || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable gtk gui)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dotnet_multilib_comply
|
||||
}
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue