parent
b44ff1a2d6
commit
02700e67e9
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST orca-3.22.2.tar.xz 2345292 BLAKE2B 86a0d0ab6d7ea7e0d25100e9a3eb525ca8981270648849594ce53257b098dcfec49eaccc4922fcc701418e57a91603796a20f1727b0020b359500662bdadc860 SHA512 0c4f3055509fd983da1081c4e33a4675ca498e75a8f2701318c000810cf691758eaded01969a6b56a2c25cf507bc4cb7e099f8498d1a0f6fa739d074a23528c5
|
||||
DIST orca-3.24.0.tar.xz 2391740 BLAKE2B 1f294bc8e1c593690c511f0d7d660230c420b33de59c8b1e78ee8d7b16f973b9fff9ce4d656de7202ffd5789ae3604d030c442e8c35eecfd5c5dca058031e996 SHA512 9aa65b534f69bb4a1b800e715776416843ac3756ec1267feca3c66476e34e54f6744f70c0f8ac8868a009d38b6cc165267268491a9ad29ebbd3601dba09d424c
|
||||
|
@ -1,72 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
GNOME2_LA_PUNT="yes"
|
||||
PYTHON_COMPAT=( python3_{4,5} )
|
||||
PYTHON_REQ_USE="threads"
|
||||
|
||||
inherit gnome2 python-r1
|
||||
|
||||
DESCRIPTION="Extensible screen reader that provides access to the desktop"
|
||||
HOMEPAGE="https://wiki.gnome.org/Projects/Orca"
|
||||
|
||||
LICENSE="LGPL-2.1+ CC-BY-SA-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
|
||||
|
||||
IUSE="+braille"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
COMMON_DEPEND="${PYTHON_DEPS}
|
||||
>=app-accessibility/at-spi2-atk-2.12:2
|
||||
>=app-accessibility/at-spi2-core-2.12:2[introspection]
|
||||
>=dev-libs/atk-2.10
|
||||
>=dev-libs/glib-2.28:2
|
||||
dev-python/gst-python:1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygobject-3.10:3[${PYTHON_USEDEP}]
|
||||
media-libs/gstreamer:1.0[introspection]
|
||||
>=x11-libs/gtk+-3.6.2:3[introspection]
|
||||
braille? (
|
||||
>=app-accessibility/brltty-5.0-r3[python,${PYTHON_USEDEP}]
|
||||
dev-libs/liblouis[python,${PYTHON_USEDEP}] )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
>=app-accessibility/speech-dispatcher-0.8[python,${PYTHON_USEDEP}]
|
||||
dev-libs/atk[introspection]
|
||||
dev-python/pyatspi[${PYTHON_USEDEP}]
|
||||
dev-python/setproctitle[${PYTHON_USEDEP}]
|
||||
x11-libs/libwnck:3[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-util/intltool-0.50
|
||||
dev-util/itstool
|
||||
virtual/pkgconfig
|
||||
"
|
||||
# app-text/yelp-tools
|
||||
|
||||
src_prepare() {
|
||||
gnome2_src_prepare
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
python_foreach_impl run_in_build_dir gnome2_src_configure \
|
||||
$(use_with braille liblouis)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl run_in_build_dir gnome2_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installing() {
|
||||
gnome2_src_install
|
||||
# Massage shebang to make python_doscript happy
|
||||
sed -e 's:#!'"${PYTHON}:#!/usr/bin/python:" \
|
||||
-i src/orca/orca || die
|
||||
python_doscript src/orca/orca
|
||||
}
|
||||
python_foreach_impl run_in_build_dir installing
|
||||
}
|
Binary file not shown.
@ -0,0 +1,193 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils linux-info readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="An advanced, highly configurable system monitor for X"
|
||||
HOMEPAGE="https://github.com/brndnmtthws/conky"
|
||||
SRC_URI="https://github.com/brndnmtthws/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3 BSD LGPL-2.1 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="apcupsd audacious cmus curl eve hddtemp ical iconv imlib iostats ipv6 irc
|
||||
lua-cairo lua-imlib lua-rsvg math moc mpd mysql nano-syntax ncurses
|
||||
nvidia +portmon pulseaudio rss systemd thinkpad truetype vim-syntax
|
||||
weather-metar weather-xoap webserver wifi X xmms2"
|
||||
|
||||
DEPEND_COMMON="
|
||||
X? (
|
||||
imlib? ( media-libs/imlib2[X] )
|
||||
lua-cairo? (
|
||||
>=dev-lua/toluapp-1.0.93
|
||||
x11-libs/cairo[X] )
|
||||
lua-imlib? (
|
||||
>=dev-lua/toluapp-1.0.93
|
||||
media-libs/imlib2[X] )
|
||||
lua-rsvg? (
|
||||
>=dev-lua/toluapp-1.0.93
|
||||
gnome-base/librsvg )
|
||||
nvidia? ( || ( x11-drivers/nvidia-drivers[tools,static-libs] media-video/nvidia-settings ) )
|
||||
truetype? ( x11-libs/libXft >=media-libs/freetype-2 )
|
||||
x11-libs/libX11
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXext
|
||||
audacious? ( >=media-sound/audacious-1.5 dev-libs/glib:2 )
|
||||
xmms2? ( media-sound/xmms2 )
|
||||
)
|
||||
cmus? ( media-sound/cmus )
|
||||
curl? ( net-misc/curl )
|
||||
eve? ( net-misc/curl dev-libs/libxml2 )
|
||||
ical? ( dev-libs/libical )
|
||||
iconv? ( virtual/libiconv )
|
||||
irc? ( net-libs/libircclient )
|
||||
mysql? ( >=virtual/mysql-5.0 )
|
||||
ncurses? ( sys-libs/ncurses:= )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
rss? ( dev-libs/libxml2 net-misc/curl dev-libs/glib:2 )
|
||||
systemd? ( sys-apps/systemd )
|
||||
wifi? ( net-wireless/wireless-tools )
|
||||
weather-metar? ( net-misc/curl )
|
||||
weather-xoap? ( dev-libs/libxml2 net-misc/curl )
|
||||
webserver? ( net-libs/libmicrohttpd )
|
||||
>=dev-lang/lua-5.1.4-r8:0
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND_COMMON}
|
||||
apcupsd? ( sys-power/apcupsd )
|
||||
hddtemp? ( app-admin/hddtemp )
|
||||
moc? ( media-sound/moc )
|
||||
nano-syntax? ( app-editors/nano )
|
||||
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
|
||||
"
|
||||
DEPEND="
|
||||
${DEPEND_COMMON}
|
||||
app-text/docbook2X
|
||||
"
|
||||
|
||||
CONFIG_CHECK=~IPV6
|
||||
|
||||
DOCS=( README.md TODO ChangeLog NEWS AUTHORS )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-cpu-hotplug.patch
|
||||
"${FILESDIR}"/${P}-out_to_x-segfault.patch
|
||||
)
|
||||
|
||||
DISABLE_AUTOFORMATTING="yes"
|
||||
DOC_CONTENTS="You can find sample configurations at ${ROOT%/}/usr/share/doc/${PF}.
|
||||
To customize, copy to ${XDG_CONFIG_HOME}/conky/conky.conf
|
||||
and edit it to your liking.
|
||||
|
||||
There are pretty html docs available at the conky homepage
|
||||
or in ${ROOT%/}/usr/share/doc/${PF}/html.
|
||||
|
||||
Also see https://wiki.gentoo.org/wiki/Conky/HOWTO"
|
||||
|
||||
pkg_setup() {
|
||||
use ipv6 && linux-info_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
|
||||
sed -i -e "s|find_program(APP_MAN man)|set(APP_MAN $(which man) CACHE FILEPATH MAN_BINARY)|" \
|
||||
cmake/ConkyPlatformChecks.cmake || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs
|
||||
|
||||
if use X; then
|
||||
mycmakeargs=(
|
||||
-DBUILD_X11=ON
|
||||
-DOWN_WINDOW=ON
|
||||
-DBUILD_XDAMAGE=ON
|
||||
-DBUILD_XINERAMA=ON
|
||||
-DBUILD_XDBE=ON
|
||||
-DBUILD_XFT=$(usex truetype)
|
||||
-DBUILD_IMLIB2=$(usex imlib)
|
||||
-DBUILD_XSHAPE=ON
|
||||
-DBUILD_ARGB=ON
|
||||
-DBUILD_LUA_CAIRO=$(usex lua-cairo)
|
||||
-DBUILD_LUA_IMLIB2=$(usex lua-imlib)
|
||||
-DBUILD_LUA_RSVG=$(usex lua-rsvg)
|
||||
-DBUILD_NVIDIA=$(usex nvidia)
|
||||
-DBUILD_AUDACIOUS=$(usex audacious)
|
||||
-DBUILD_XMMS2=$(usex xmms2)
|
||||
)
|
||||
else
|
||||
mycmakeargs=(
|
||||
-DBUILD_X11=OFF
|
||||
-DBUILD_NVIDIA=OFF
|
||||
-DBUILD_LUA_CAIRO=OFF
|
||||
-DBUILD_LUA_IMLIB2=OFF
|
||||
-DBUILD_LUA_RSVG=OFF
|
||||
-DBUILD_AUDACIOUS=OFF
|
||||
-DBUILD_XMMS2=OFF
|
||||
)
|
||||
fi
|
||||
|
||||
mycmakeargs+=(
|
||||
-DBUILD_APCUPSD=$(usex apcupsd)
|
||||
-DBUILD_CMUS=$(usex cmus)
|
||||
-DBUILD_CURL=$(usex curl)
|
||||
-DBUILD_EVE=$(usex eve)
|
||||
-DBUILD_HDDTEMP=$(usex hddtemp)
|
||||
-DBUILD_IOSTATS=$(usex iostats)
|
||||
-DBUILD_ICAL=$(usex ical)
|
||||
-DBUILD_ICONV=$(usex iconv)
|
||||
-DBUILD_IPV6=$(usex ipv6)
|
||||
-DBUILD_IRC=$(usex irc)
|
||||
-DBUILD_MATH=$(usex math)
|
||||
-DBUILD_MOC=$(usex moc)
|
||||
-DBUILD_MPD=$(usex mpd)
|
||||
-DBUILD_MYSQL=$(usex mysql)
|
||||
-DBUILD_NCURSES=$(usex ncurses)
|
||||
-DBUILD_PORT_MONITORS=$(usex portmon)
|
||||
-DBUILD_PULSEAUDIO=$(usex pulseaudio)
|
||||
-DBUILD_RSS=$(usex rss)
|
||||
-DBUILD_JOURNAL=$(usex systemd)
|
||||
-DBUILD_IBM=$(usex thinkpad)
|
||||
-DBUILD_WEATHER_METAR=$(usex weather-metar)
|
||||
-DBUILD_WEATHER_XOAP=$(usex weather-xoap)
|
||||
-DBUILD_HTTP=$(usex webserver)
|
||||
-DBUILD_WLAN=$(usex wifi)
|
||||
-DBUILD_BUILTIN_CONFIG=ON
|
||||
-DBUILD_OLD_CONFIG=OFF
|
||||
-DBUILD_I18N=ON
|
||||
-DMAINTAINER_MODE=ON
|
||||
-DRELEASE=ON
|
||||
-DBUILD_BMPX=OFF
|
||||
-DDOC_PATH=/usr/share/doc/${PF}
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
doins "${S}"/extras/vim/ftdetect/conkyrc.vim
|
||||
|
||||
insinto /usr/share/vim/vimfiles/syntax
|
||||
doins "${S}"/extras/vim/syntax/conkyrc.vim
|
||||
fi
|
||||
|
||||
if use nano-syntax; then
|
||||
insinto /usr/share/nano/
|
||||
doins "${S}"/extras/nano/conky.nanorc
|
||||
fi
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
From 562c7375883445acb58388ff16d9eb126b7e12a1 Mon Sep 17 00:00:00 2001
|
||||
From: Brenden Matthews <brenden@diddyinc.com>
|
||||
Date: Tue, 23 Jan 2018 13:52:11 -0500
|
||||
Subject: [PATCH] Fix segfault when out_to_x = false. (#455)
|
||||
|
||||
This resolves #454.
|
||||
---
|
||||
src/conky.cc | 24 ++++++++++++++----------
|
||||
1 file changed, 14 insertions(+), 10 deletions(-)
|
||||
|
||||
diff --git a/src/conky.cc b/src/conky.cc
|
||||
index 48256ecc..f10d08fb 100644
|
||||
--- a/src/conky.cc
|
||||
+++ b/src/conky.cc
|
||||
@@ -2076,20 +2076,24 @@ static void main_loop(void)
|
||||
sigaddset(&newmask, SIGUSR1);
|
||||
#endif
|
||||
|
||||
+#ifdef BUILD_X11
|
||||
#ifdef BUILD_XSHAPE
|
||||
- /* allow only decorated windows to be given mouse input */
|
||||
- int major_version, minor_version;
|
||||
- if (!XShapeQueryVersion(display, &major_version, &minor_version)) {
|
||||
- NORM_ERR("Input shapes are not supported");
|
||||
- } else {
|
||||
- if (own_window.get(*state) &&
|
||||
- (own_window_type.get(*state) != TYPE_NORMAL ||
|
||||
- (TEST_HINT(own_window_hints.get(*state), HINT_UNDECORATED)))) {
|
||||
- XShapeCombineRectangles(display, window.window, ShapeInput, 0, 0,
|
||||
- NULL, 0, ShapeSet, Unsorted);
|
||||
+ if (out_to_x.get(*state)) {
|
||||
+ /* allow only decorated windows to be given mouse input */
|
||||
+ int major_version, minor_version;
|
||||
+ if (!XShapeQueryVersion(display, &major_version, &minor_version)) {
|
||||
+ NORM_ERR("Input shapes are not supported");
|
||||
+ } else {
|
||||
+ if (own_window.get(*state) &&
|
||||
+ (own_window_type.get(*state) != TYPE_NORMAL ||
|
||||
+ (TEST_HINT(own_window_hints.get(*state), HINT_UNDECORATED)))) {
|
||||
+ XShapeCombineRectangles(display, window.window, ShapeInput, 0, 0,
|
||||
+ NULL, 0, ShapeSet, Unsorted);
|
||||
+ }
|
||||
}
|
||||
}
|
||||
#endif /* BUILD_XSHAPE */
|
||||
+#endif /* BUILD_X11 */
|
||||
|
||||
last_update_time = 0.0;
|
||||
next_update_time = get_time() - fmod(get_time(), active_update_interval());
|
@ -0,0 +1 @@
|
||||
DIST su-exec-0.2.tar.gz 2426 BLAKE2B 79eda06463a238371e35dcc7acf2df9e8a7696a531a5dc9d0e9650219a5c72d71cf0e368f2178f83e949cf0f05fbc01e7023085fa2cffebcd8b78e82ab9756e2 SHA512 68155a06c716b362aee1214f22cd325b3e934c05b653d3b084a720458fb04207c0681d218b72adfd5ae8fab0262f7ab90e49eb2e218d1b0d7d7af7911715d4e1
|
@ -0,0 +1,11 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>mrueg@gentoo.org</email>
|
||||
<name>Manuel Rüger</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">ncopa/su-exec</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Switch user and group id and exec"
|
||||
HOMEPAGE="https://github.com/ncopa/su-exec"
|
||||
SRC_URI="https://github.com/ncopa/su-exec/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "s/-Werror//" Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
CC=$(tc-getCC) emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
dodoc README.md
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST clamav-0.99.2.tar.gz 16067497 BLAKE2B 4155e3125ccc45cc6828033f207b6b8d3514253dfb8156428ad4096c0901d5a8500f9dd253b8f40afdc49a6039b647627868f75d51829ab7bd247ada5f3b8383 SHA512 7744ba8a344b163cf98e9737cddfd25d2120b34ee9c4518380e028c9ec3cd50127b198b0dfa9fde30f5ce9aab0c0e6384712fbc11287e77d16ce052fd7b6ac44
|
||||
DIST clamav-0.99.3.tar.gz 16082645 BLAKE2B 3be06e563f17a07e4c7e95eb3efbb61e80858bcb3dffc584f13ec30dc2ef9c5257aec78605f1c03e183b4b7ed5b08343a25b579b2b12e54458694eff624aa01e SHA512 0d3c75d571ed4aa4937ef2b743a39a9a144f5adfd6f56f71046e5a8387b8ed7c3c4d9a4196aa85750f9ec4dc545720fdd659289d0cce086ab13a7cc505a0ab3e
|
||||
|
@ -0,0 +1,159 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools eutils flag-o-matic user systemd
|
||||
|
||||
DESCRIPTION="Clam Anti-Virus Scanner"
|
||||
HOMEPAGE="http://www.clamav.net/"
|
||||
SRC_URI="https://www.clamav.net/downloads/production/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="bzip2 clamdtop iconv ipv6 libressl milter metadata-analysis-api selinux static-libs uclibc"
|
||||
|
||||
CDEPEND="bzip2? ( app-arch/bzip2 )
|
||||
clamdtop? ( sys-libs/ncurses:0 )
|
||||
iconv? ( virtual/libiconv )
|
||||
metadata-analysis-api? ( dev-libs/json-c:= )
|
||||
milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) )
|
||||
dev-libs/libtommath
|
||||
>=sys-libs/zlib-1.2.2:=
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
sys-devel/libtool
|
||||
|| ( dev-libs/libpcre2 >dev-libs/libpcre-6 )
|
||||
!!<app-antivirus/clamav-0.99"
|
||||
# hard block clamav < 0.99 due to linking problems Bug #567680
|
||||
# openssl is now *required* see this link as to why
|
||||
# http://blog.clamav.net/2014/02/introducing-openssl-as-dependency-to.html
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-clamav )"
|
||||
|
||||
DOCS=( AUTHORS BUGS ChangeLog FAQ INSTALL NEWS README UPGRADE )
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.99.2-gcc-6.patch
|
||||
"${FILESDIR}"/${PN}-0.99.2-tinfo.patch
|
||||
"${FILESDIR}"/${PN}-0.99.2-bytecode_api.patch
|
||||
"${FILESDIR}"/${PN}-0.99.2-pcre2-compile-erroffset.patch
|
||||
"${FILESDIR}"/${PN}-0.99.3-fix-fd-leaks-in-cli_scanscript.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup clamav
|
||||
enewuser clamav -1 -1 /dev/null clamav
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use ppc64 && append-flags -mminimal-toc
|
||||
use uclibc && export ac_cv_type_error_t=yes
|
||||
|
||||
econf \
|
||||
$(use_enable bzip2) \
|
||||
$(use_enable clamdtop) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable milter) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with iconv) \
|
||||
$(use_with metadata-analysis-api libjson /usr) \
|
||||
--cache-file="${S}"/config.cache \
|
||||
--disable-experimental \
|
||||
--disable-gcc-vcheck \
|
||||
--disable-zlib-vcheck \
|
||||
--enable-id-check \
|
||||
--with-dbdir="${EPREFIX}"/var/lib/clamav \
|
||||
--with-system-tommath \
|
||||
--with-zlib="${EPREFIX}"/usr
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
rm -rf "${ED}"/var/lib/clamav
|
||||
newinitd "${FILESDIR}"/clamd.initd-r6 clamd
|
||||
newconfd "${FILESDIR}"/clamd.conf-r1 clamd
|
||||
|
||||
systemd_dotmpfilesd "${FILESDIR}/tmpfiles.d/clamav.conf"
|
||||
systemd_newunit "${FILESDIR}/clamd_at.service" "clamd@.service"
|
||||
systemd_dounit "${FILESDIR}/clamd.service"
|
||||
systemd_dounit "${FILESDIR}/freshclamd.service"
|
||||
|
||||
keepdir /var/lib/clamav
|
||||
fowners clamav:clamav /var/lib/clamav
|
||||
keepdir /var/log/clamav
|
||||
fowners clamav:clamav /var/log/clamav
|
||||
|
||||
dodir /etc/logrotate.d
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/clamav.logrotate clamav
|
||||
|
||||
# Modify /etc/{clamd,freshclam}.conf to be usable out of the box
|
||||
sed -i -e "s:^\(Example\):\# \1:" \
|
||||
-e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/clamd.pid:" \
|
||||
-e "s:.*\(LocalSocket\) .*:\1 ${EPREFIX}/var/run/clamav/clamd.sock:" \
|
||||
-e "s:.*\(User\) .*:\1 clamav:" \
|
||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamd.log:" \
|
||||
-e "s:^\#\(LogTime\).*:\1 yes:" \
|
||||
-e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
|
||||
"${ED}"/etc/clamd.conf.sample || die
|
||||
sed -i -e "s:^\(Example\):\# \1:" \
|
||||
-e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/freshclam.pid:" \
|
||||
-e "s:.*\(DatabaseOwner\) .*:\1 clamav:" \
|
||||
-e "s:^\#\(UpdateLogFile\) .*:\1 ${EPREFIX}/var/log/clamav/freshclam.log:" \
|
||||
-e "s:^\#\(NotifyClamd\).*:\1 ${EPREFIX}/etc/clamd.conf:" \
|
||||
-e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \
|
||||
-e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
|
||||
"${ED}"/etc/freshclam.conf.sample || die
|
||||
|
||||
if use milter ; then
|
||||
# MilterSocket one to include ' /' because there is a 2nd line for
|
||||
# inet: which we want to leave
|
||||
dodoc "${FILESDIR}"/clamav-milter.README.gentoo
|
||||
sed -i -e "s:^\(Example\):\# \1:" \
|
||||
-e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/clamav-milter.pid:" \
|
||||
-e "s+^\#\(ClamdSocket\) .*+\1 unix:${EPREFIX}/var/run/clamav/clamd.sock+" \
|
||||
-e "s:.*\(User\) .*:\1 clamav:" \
|
||||
-e "s+^\#\(MilterSocket\) /.*+\1 unix:${EPREFIX}/var/run/clamav/clamav-milter.sock+" \
|
||||
-e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
|
||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamav-milter.log:" \
|
||||
"${ED}"/etc/clamav-milter.conf.sample || die
|
||||
cat >> "${ED}"/etc/conf.d/clamd <<-EOF
|
||||
MILTER_NICELEVEL=19
|
||||
START_MILTER=no
|
||||
EOF
|
||||
|
||||
systemd_newunit "${FILESDIR}/clamav-milter.service-r1" clamav-milter.service
|
||||
fi
|
||||
|
||||
for i in clamd freshclam clamav-milter
|
||||
do
|
||||
[[ -f "${D}"/etc/"${i}".conf.sample ]] && mv "${D}"/etc/"${i}".conf{.sample,}
|
||||
done
|
||||
|
||||
prune_libtool_files --all
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake quick-check
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use milter ; then
|
||||
elog "For simple instructions how to setup the clamav-milter read the"
|
||||
elog "clamav-milter.README.gentoo in /usr/share/doc/${PF}"
|
||||
fi
|
||||
if test -z $(find "${ROOT}"var/lib/clamav -maxdepth 1 -name 'main.c*' -print -quit) ; then
|
||||
ewarn "You must run freshclam manually to populate the virus database files"
|
||||
ewarn "before starting clamav for the first time.\n"
|
||||
fi
|
||||
}
|
@ -0,0 +1,132 @@
|
||||
Author: Manuel Mausz <manuel-clamav@mausz.at>
|
||||
|
||||
http://lists.clamav.net/pipermail/clamav-users/2018-January/005687.html
|
||||
|
||||
--- clamav-0.99.3/libclamav/scanners.c.orig 2018-01-26 14:35:23.299386703 +0100
|
||||
+++ clamav-0.99.3/libclamav/scanners.c 2018-01-26 14:47:44.422451335 +0100
|
||||
@@ -1342,39 +1342,35 @@
|
||||
return CL_CLEAN;
|
||||
}
|
||||
|
||||
- /* dump to disk only if explicitly asked to
|
||||
- * or if necessary to check relative offsets,
|
||||
- * otherwise we can process just in-memory */
|
||||
- if(ctx->engine->keeptmp || (troot && troot->ac_reloff_num > 0)) {
|
||||
- if((ret = cli_gentempfd(ctx->engine->tmpdir, &tmpname, &ofd))) {
|
||||
- cli_dbgmsg("cli_scanscript: Can't generate temporary file/descriptor\n");
|
||||
- return ret;
|
||||
- }
|
||||
- if (ctx->engine->keeptmp)
|
||||
- cli_dbgmsg("cli_scanscript: saving normalized file to %s\n", tmpname);
|
||||
- }
|
||||
-
|
||||
if(!(normalized = cli_malloc(SCANBUFF + maxpatlen))) {
|
||||
cli_dbgmsg("cli_scanscript: Unable to malloc %u bytes\n", SCANBUFF);
|
||||
- free(tmpname);
|
||||
return CL_EMEM;
|
||||
}
|
||||
-
|
||||
text_normalize_init(&state, normalized, SCANBUFF + maxpatlen);
|
||||
- ret = CL_CLEAN;
|
||||
-
|
||||
|
||||
if ((ret = cli_ac_initdata(&tmdata, troot?troot->ac_partsigs:0, troot?troot->ac_lsigs:0, troot?troot->ac_reloff_num:0, CLI_DEFAULT_AC_TRACKLEN))) {
|
||||
- free(tmpname);
|
||||
+ free(normalized);
|
||||
return ret;
|
||||
}
|
||||
|
||||
if ((ret = cli_ac_initdata(&gmdata, groot->ac_partsigs, groot->ac_lsigs, groot->ac_reloff_num, CLI_DEFAULT_AC_TRACKLEN))) {
|
||||
cli_ac_freedata(&tmdata);
|
||||
- free(tmpname);
|
||||
+ free(normalized);
|
||||
return ret;
|
||||
}
|
||||
|
||||
+ /* dump to disk only if explicitly asked to
|
||||
+ * or if necessary to check relative offsets,
|
||||
+ * otherwise we can process just in-memory */
|
||||
+ if(ctx->engine->keeptmp || (troot && troot->ac_reloff_num > 0)) {
|
||||
+ if((ret = cli_gentempfd(ctx->engine->tmpdir, &tmpname, &ofd))) {
|
||||
+ cli_dbgmsg("cli_scanscript: Can't generate temporary file/descriptor\n");
|
||||
+ goto done;
|
||||
+ }
|
||||
+ if (ctx->engine->keeptmp)
|
||||
+ cli_dbgmsg("cli_scanscript: saving normalized file to %s\n", tmpname);
|
||||
+ }
|
||||
+
|
||||
mdata[0] = &tmdata;
|
||||
mdata[1] = &gmdata;
|
||||
|
||||
@@ -1388,9 +1384,8 @@
|
||||
|
||||
if (write(ofd, state.out, state.out_pos) == -1) {
|
||||
cli_errmsg("cli_scanscript: can't write to file %s\n",tmpname);
|
||||
- close(ofd);
|
||||
- free(tmpname);
|
||||
- return CL_EWRITE;
|
||||
+ ret = CL_EWRITE;
|
||||
+ goto done;
|
||||
}
|
||||
text_normalize_reset(&state);
|
||||
}
|
||||
@@ -1409,11 +1404,6 @@
|
||||
funmap(*ctx->fmap);
|
||||
}
|
||||
*ctx->fmap = map;
|
||||
-
|
||||
- /* If we aren't keeping temps, delete the normalized file after scan. */
|
||||
- if(!(ctx->engine->keeptmp))
|
||||
- if (cli_unlink(tmpname)) ret = CL_EUNLINK;
|
||||
-
|
||||
} else {
|
||||
/* Since the above is moderately costly all in all,
|
||||
* do the old stuff if there's no relative offsets. */
|
||||
@@ -1421,11 +1411,8 @@
|
||||
if (troot) {
|
||||
cli_targetinfo(&info, 7, map);
|
||||
ret = cli_ac_caloff(troot, &tmdata, &info);
|
||||
- if (ret) {
|
||||
- cli_ac_freedata(&tmdata);
|
||||
- free(tmpname);
|
||||
- return ret;
|
||||
- }
|
||||
+ if (ret)
|
||||
+ goto done;
|
||||
}
|
||||
|
||||
while(1) {
|
||||
@@ -1466,13 +1453,6 @@
|
||||
|
||||
}
|
||||
|
||||
- if(ctx->engine->keeptmp) {
|
||||
- free(tmpname);
|
||||
- if (ofd >= 0)
|
||||
- close(ofd);
|
||||
- }
|
||||
- free(normalized);
|
||||
-
|
||||
if(ret != CL_VIRUS || SCAN_ALL) {
|
||||
if ((ret = cli_exp_eval(ctx, troot, &tmdata, NULL, NULL)) == CL_VIRUS)
|
||||
viruses_found++;
|
||||
@@ -1481,9 +1461,19 @@
|
||||
viruses_found++;
|
||||
}
|
||||
|
||||
+done:
|
||||
+ free(normalized);
|
||||
cli_ac_freedata(&tmdata);
|
||||
cli_ac_freedata(&gmdata);
|
||||
|
||||
+ if (ofd != -1)
|
||||
+ close(ofd);
|
||||
+ if (tmpname != NULL) {
|
||||
+ if (!ctx->engine->keeptmp)
|
||||
+ if (cli_unlink(tmpname)) ret = CL_EUNLINK;
|
||||
+ free(tmpname);
|
||||
+ }
|
||||
+
|
||||
if (SCAN_ALL && viruses_found)
|
||||
return CL_VIRUS;
|
||||
|
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST file-roller-3.22.3.tar.xz 1423048 BLAKE2B 75caad8a215737256595a44d7599f581d60636c7c2eeaaa9a0c5c5ace583725ac22a9502311aed672f2f935c9372e2689ed0bcf867f6dadc538919c4d4b68f87 SHA512 f234388686cf539fc085866322083199176f94043e4c2c888d5806a2efa0dfcf5a090f64240a3d08aae39ed3d34d6b281e1a06d748c56b0f80508a01fac40b28
|
||||
DIST file-roller-3.24.1.tar.xz 1428216 BLAKE2B 7a74ac56fba36a60ba1f7cc0fb905b92336a349f786963a65ea2442fb078704c6e00b46686334f56cf270c861abe7ca252e0ee39f66349f6a4cc3b769a9e7dde SHA512 bd8750b8ffe3e7d3c74492e2ffdde519e7879d46f16c559d06042bac60c8ee63f492aeeaa66b4aff7c997150f4f2955e02a3b0565edf4bd7641a089ed052f268
|
||||
|
@ -1,87 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit eutils gnome2 readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="Archive manager for GNOME"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/FileRoller"
|
||||
|
||||
LICENSE="GPL-2+ CC-BY-SA-3.0"
|
||||
SLOT="0"
|
||||
IUSE="libnotify packagekit"
|
||||
KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
|
||||
# gdk-pixbuf used extensively in the source
|
||||
# cairo used in eggtreemultidnd.c
|
||||
# pango used in fr-window
|
||||
RDEPEND="
|
||||
>=app-arch/libarchive-3:=
|
||||
>=dev-libs/glib-2.36:2
|
||||
>=dev-libs/json-glib-0.14
|
||||
>=x11-libs/gtk+-3.13.2:3
|
||||
sys-apps/file
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/pango
|
||||
libnotify? ( >=x11-libs/libnotify-0.4.3:= )
|
||||
packagekit? ( app-admin/packagekit-base )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/intltool-0.50.1
|
||||
dev-util/itstool
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
# eautoreconf needs:
|
||||
# gnome-base/gnome-common
|
||||
|
||||
DISABLE_AUTOFORMATTING="yes"
|
||||
DOC_CONTENTS="
|
||||
${PN} is a frontend for several archiving utilities. If you want a
|
||||
particular archive format support, see ${HOMEPAGE}
|
||||
and install the relevant package. For example:
|
||||
7-zip - app-arch/p7zip
|
||||
ace - app-arch/unace
|
||||
arj - app-arch/arj
|
||||
cpio - app-arch/cpio
|
||||
deb - app-arch/dpkg
|
||||
iso - app-cdr/cdrtools
|
||||
jar,zip - app-arch/zip and app-arch/unzip
|
||||
lha - app-arch/lha
|
||||
lzop - app-arch/lzop
|
||||
lz4 - app-arch/lz4
|
||||
rar - app-arch/unrar or app-arch/unar
|
||||
rpm - app-arch/rpm
|
||||
unstuff - app-arch/stuffit
|
||||
zoo - app-arch/zoo"
|
||||
|
||||
src_prepare() {
|
||||
# File providing Gentoo package names for various archivers
|
||||
cp -f "${FILESDIR}"/3.22-packages.match data/packages.match || die
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# --disable-debug because enabling it adds -O0 to CFLAGS
|
||||
gnome2_src_configure \
|
||||
--disable-run-in-place \
|
||||
--disable-static \
|
||||
--disable-debug \
|
||||
--enable-magic \
|
||||
--enable-libarchive \
|
||||
$(use_enable libnotify notification) \
|
||||
$(use_enable packagekit)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
readme.gentoo_print_elog
|
||||
}
|
Binary file not shown.
@ -1,77 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="CD/DVD burning application for the GNOME desktop"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Brasero"
|
||||
|
||||
LICENSE="GPL-2+ CC-BY-SA-3.0"
|
||||
SLOT="0/3.1" # subslot is 3.suffix of libbrasero-burn3
|
||||
IUSE="+css +introspection +libburn mp3 nautilus packagekit playlist test tracker"
|
||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/glib-2.29.14:2
|
||||
>=x11-libs/gtk+-3:3[introspection?]
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
>=dev-libs/libxml2-2.6:2
|
||||
>=x11-libs/libnotify-0.6.1:=
|
||||
|
||||
media-libs/libcanberra[gtk3]
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.30:= )
|
||||
libburn? (
|
||||
>=dev-libs/libburn-0.4:=
|
||||
>=dev-libs/libisofs-0.6.4:= )
|
||||
nautilus? ( >=gnome-base/nautilus-2.91.90 )
|
||||
playlist? ( >=dev-libs/totem-pl-parser-2.29.1:= )
|
||||
tracker? ( >=app-misc/tracker-1:0= )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
media-libs/gst-plugins-good:1.0
|
||||
media-plugins/gst-plugins-meta:1.0
|
||||
x11-themes/hicolor-icon-theme
|
||||
css? ( media-libs/libdvdcss:1.2 )
|
||||
!libburn? (
|
||||
app-cdr/cdrdao
|
||||
app-cdr/dvd+rw-tools
|
||||
virtual/cdrtools )
|
||||
mp3? (
|
||||
media-libs/gst-plugins-ugly:1.0
|
||||
media-plugins/gst-plugins-mad:1.0 )
|
||||
packagekit? ( app-admin/packagekit-base )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-util/intltool-0.50
|
||||
dev-util/itstool
|
||||
>=dev-util/gtk-doc-am-1.12
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
test? ( app-text/docbook-xml-dtd:4.3 )
|
||||
"
|
||||
# eautoreconf deps
|
||||
# app-text/yelp-tools
|
||||
# gnome-base/gnome-common
|
||||
|
||||
PDEPEND="gnome-base/gvfs"
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
--disable-caches \
|
||||
$(use_enable !libburn cdrtools) \
|
||||
$(use_enable !libburn cdrkit) \
|
||||
$(use_enable !libburn cdrdao) \
|
||||
$(use_enable !libburn growisofs) \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable libburn libburnia) \
|
||||
$(use_enable nautilus) \
|
||||
$(use_enable playlist) \
|
||||
$(use_enable tracker search)
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST krb5-1.15.2.tar.gz 9380755 BLAKE2B 3f5d00a70bf44ef077872bde282e4753e82acb70632e136b8f9f8d3a192e3e7b692840803e5a3f67ddb202d53631767ea9eb8b7615d45a3479389a01a6390ac4 SHA512 e5814bb66384b13637c37918df694c6b9933c29c2d952da0ed0dcd2e623b269060b4c16b6c02162039dadebdab99ff1085e37e7621ae4748dafb036424e612c2
|
||||
DIST krb5-1.16.tar.gz 9474479 BLAKE2B 0c5caa0a0d2308a447d47ab94d7b8dc92a67ad78b3bac1678c3f3ece3905f27feda5a23d28b3c13ebd64d1760726888c759fb19da82ad960c6f84a433b753873 SHA512 7e162467b95dad2b6aaa11686d08a00f1cc4eb08247fca8f0e5a8bcaa5f9f7b42cdf00db69c5c6111bdf9eb8063d53cef3bb207ce5d6a287615ca10b710153f9
|
||||
|
@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Kerberos 5 administration server
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/kadmind -nofork
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Kerberos 5 KDC
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/krb5kdc -n
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Kerberos 5 propagation server
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/kpropd -S
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Kerberos 5 propagation server
|
||||
|
||||
[Socket]
|
||||
ListenStream=754
|
||||
Accept=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Kerberos 5 propagation server
|
||||
Conflicts=mit-krb5kpropd.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/kpropd
|
||||
StandardInput=socket
|
||||
StandardError=syslog
|
@ -0,0 +1,155 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit autotools flag-o-matic multilib-minimal python-any-r1 systemd versionator
|
||||
|
||||
MY_P="${P/mit-}"
|
||||
P_DIR=$(get_version_component_range 1-2)
|
||||
DESCRIPTION="MIT Kerberos V"
|
||||
HOMEPAGE="https://web.mit.edu/kerberos/www/"
|
||||
SRC_URI="https://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="doc +keyutils libressl nls openldap +pkinit selinux +threads test xinetd"
|
||||
|
||||
# Test suite require network access
|
||||
RESTRICT="test"
|
||||
|
||||
CDEPEND="
|
||||
!!app-crypt/heimdal
|
||||
>=sys-libs/e2fsprogs-libs-1.42.9[${MULTILIB_USEDEP}]
|
||||
|| (
|
||||
>=dev-libs/libverto-0.2.5[libev,${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libverto-0.2.5[libevent,${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libverto-0.2.5[tevent,${MULTILIB_USEDEP}]
|
||||
)
|
||||
keyutils? ( >=sys-apps/keyutils-1.5.8[${MULTILIB_USEDEP}] )
|
||||
openldap? ( >=net-nds/openldap-2.4.38-r1[${MULTILIB_USEDEP}] )
|
||||
pkinit? (
|
||||
!libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] )
|
||||
libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
xinetd? ( sys-apps/xinetd )
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20140508-r1
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)"
|
||||
DEPEND="${CDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
virtual/yacc
|
||||
doc? ( virtual/latex-base )
|
||||
test? (
|
||||
${PYTHON_DEPS}
|
||||
dev-lang/tcl:0
|
||||
dev-util/dejagnu
|
||||
)"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-kerberos )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}/src
|
||||
|
||||
MULTILIB_CHOST_TOOLS=(
|
||||
/usr/bin/krb5-config
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}/${PN}-1.12_warn_cflags.patch"
|
||||
eapply -p2 "${FILESDIR}/${PN}-config_LDFLAGS.patch"
|
||||
|
||||
# Make sure we always use the system copies.
|
||||
rm -rf util/{et,ss,verto}
|
||||
sed -i 's:^[[:space:]]*util/verto$::' configure.in || die
|
||||
|
||||
eapply_user
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# QA
|
||||
append-flags -fno-strict-aliasing
|
||||
append-flags -fno-strict-overflow
|
||||
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
use keyutils || export ac_cv_header_keyutils_h=no
|
||||
ECONF_SOURCE=${S} \
|
||||
WARN_CFLAGS="set" \
|
||||
econf \
|
||||
$(use_with openldap ldap) \
|
||||
"$(multilib_native_use_with test tcl "${EPREFIX}/usr")" \
|
||||
$(use_enable nls) \
|
||||
$(use_enable pkinit) \
|
||||
$(use_enable threads thread-support) \
|
||||
--without-hesiod \
|
||||
--enable-shared \
|
||||
--with-system-et \
|
||||
--with-system-ss \
|
||||
--enable-dns-for-realm \
|
||||
--enable-kdc-lookaside-cache \
|
||||
--with-system-verto \
|
||||
--disable-rpath
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake -j1
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
multilib_is_native_abi && emake -j1 check
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \
|
||||
install
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
# default database dir
|
||||
keepdir /var/lib/krb5kdc
|
||||
|
||||
cd ..
|
||||
dodoc README
|
||||
|
||||
if use doc; then
|
||||
dodoc -r doc/html
|
||||
docinto pdf
|
||||
dodoc doc/pdf/*.pdf
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r2 mit-krb5kadmind
|
||||
newinitd "${FILESDIR}"/mit-krb5kdc.initd-r2 mit-krb5kdc
|
||||
newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r2 mit-krb5kpropd
|
||||
newconfd "${FILESDIR}"/mit-krb5kadmind.confd mit-krb5kadmind
|
||||
newconfd "${FILESDIR}"/mit-krb5kdc.confd mit-krb5kdc
|
||||
newconfd "${FILESDIR}"/mit-krb5kpropd.confd mit-krb5kpropd
|
||||
|
||||
systemd_newunit "${FILESDIR}"/mit-krb5kadmind.service mit-krb5kadmind.service
|
||||
systemd_newunit "${FILESDIR}"/mit-krb5kdc.service mit-krb5kdc.service
|
||||
systemd_newunit "${FILESDIR}"/mit-krb5kpropd.service mit-krb5kpropd.service
|
||||
systemd_newunit "${FILESDIR}"/mit-krb5kpropd_at.service "mit-krb5kpropd@.service"
|
||||
systemd_newunit "${FILESDIR}"/mit-krb5kpropd.socket mit-krb5kpropd.socket
|
||||
|
||||
insinto /etc
|
||||
newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
|
||||
insinto /var/lib/krb5kdc
|
||||
newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example
|
||||
|
||||
if use openldap ; then
|
||||
insinto /etc/openldap/schema
|
||||
doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema"
|
||||
fi
|
||||
|
||||
if use xinetd ; then
|
||||
insinto /etc/xinetd.d
|
||||
newins "${FILESDIR}/kpropd.xinetd" kpropd
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,3 +1 @@
|
||||
DIST gnome-dictionary-3.20.0.tar.xz 871916 BLAKE2B 8f2c2ad2f93c8d6f97b3609427923352c975c5a35899b645683cbda13f5eb4b1b7630f05ff95a0a42ecaef8227c21ab3cab8c637b6d1172d46d60f5c637e9170 SHA512 9be2564b5bf543e80afdb946c16b16e2daf6c31875e352b7c2d7e34436791fc9470eadb42eba3a4c1893e2f2568e6bb88d19ea4a0b8dbb2eca2dd4c95aeaf229
|
||||
DIST gnome-dictionary-3.24.0.tar.xz 878756 BLAKE2B c6e7d16965147eea44b2fe438f94c31488cd3b6edeb9e815d5a9314ca46de793596844cc8fae5daa77110011549ed598924591a6ef4c675e6c7d743ed660d3e6 SHA512 1c31149b02978a1840563941767e3ce2be4f6a5e790eb9126c0f0c50d932987f46447fe3bac0e2eb8ce87be1521d13e56d8a14e86407e367a6dd76cd5a77de30
|
||||
DIST gnome-dictionary-3.24.1.tar.xz 880500 BLAKE2B f730276612d2578e7b25121b49be9639cf7a9fc67bda9687285f6d3873d3b825301246447d968b24ed29240a1b0e7fc48d63c8454e704b799eebdf340f5f6da2 SHA512 b3ee838888a97e914add58dd4b61fa096b9488aab360815f2e7b674e7a57b237849a1ccaf107c1e94968e534b24ee24d827c42a3a1b0dfd8c5ef25eeb90456d3
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="Dictionary utility for GNOME"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Dictionary"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2.1+ FDL-1.1+"
|
||||
SLOT="0/10" # subslot = suffix of libgdict-1.0.so
|
||||
IUSE="debug +introspection ipv6"
|
||||
KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/glib-2.39:2[dbus]
|
||||
x11-libs/cairo:=
|
||||
>=x11-libs/gtk+-3.20:3
|
||||
x11-libs/pango
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.42:= )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
gnome-base/gsettings-desktop-schemas
|
||||
!<gnome-extra/gnome-utils-3.4
|
||||
"
|
||||
# ${PN} was part of gnome-utils before 3.4
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-util/gtk-doc-am-1.15
|
||||
>=dev-util/intltool-0.40
|
||||
dev-util/itstool
|
||||
>=sys-devel/gettext-0.17
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
$(usex debug --enable-debug=yes ' ') \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable ipv6)
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="Dictionary utility for GNOME"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Dictionary"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2.1+ FDL-1.1+"
|
||||
SLOT="0/10" # subslot = suffix of libgdict-1.0.so
|
||||
IUSE="debug +introspection ipv6"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/glib-2.42:2[dbus]
|
||||
x11-libs/cairo:=
|
||||
>=x11-libs/gtk+-3.21.1:3
|
||||
x11-libs/pango
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.42:= )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
gnome-base/gsettings-desktop-schemas
|
||||
!<gnome-extra/gnome-utils-3.4
|
||||
"
|
||||
# ${PN} was part of gnome-utils before 3.4
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-util/gtk-doc-am-1.15
|
||||
>=dev-util/intltool-0.40
|
||||
dev-util/itstool
|
||||
>=sys-devel/gettext-0.17
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
$(usex debug --enable-debug=yes ' ') \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable ipv6)
|
||||
}
|
Binary file not shown.
@ -1 +0,0 @@
|
||||
DIST podbrowser-0.12.tar.gz 81394 BLAKE2B 14729238bbdd95dbe1c27c3de5067132b9b6c1b1df80bbc8be334afb4c02324629824d63e3870adbe26a8e2dd78c8cd68c3a04be8b9d12570e67060b32d7bf34 SHA512 ff6a734f2df8bb0913c9030fd103490e59178bc672ac1c152eb9a0c2aece82c293615cbfcc7cf99dcfe2c448bdc35d2c6fdcb9b106e958d3ffb62b2eb9372c77
|
@ -1,32 +0,0 @@
|
||||
# $Id: Makefile,v 1.4 2005/10/05 10:07:40 jodrell Exp $
|
||||
NAME=podbrowser
|
||||
PREFIX=/usr/local
|
||||
BINDIR=$(PREFIX)/bin
|
||||
DATADIR=$(PREFIX)/share
|
||||
ICONDIR=$(DATADIR)/icons/hicolor/48x48/apps
|
||||
MANDIR=$(DATADIR)/man/man1
|
||||
DESTDIR=
|
||||
|
||||
all: podbrowser
|
||||
|
||||
podbrowser:
|
||||
@mkdir -p build
|
||||
|
||||
perl -ne 's!\@PREFIX\@!$(PREFIX)!g ; s!\@LIBDIR\@!$(LIBDIR)!g ; print' < $(NAME).pl > build/$(NAME)
|
||||
pod2man $(NAME).pl | gzip -c > build/$(NAME).1.gz
|
||||
|
||||
install:
|
||||
mkdir -p $(DESTDIR)/$(BINDIR) \
|
||||
$(DESTDIR)/$(DATADIR)/$(NAME) \
|
||||
$(DESTDIR)/$(DATADIR)/applications \
|
||||
$(DESTDIR)/$(ICONDIR) \
|
||||
$(DESTDIR)/$(MANDIR)
|
||||
install -m 0644 $(NAME).glade $(DESTDIR)/$(DATADIR)/$(NAME)/
|
||||
install -m 0644 $(NAME).png $(DESTDIR)/$(ICONDIR)/
|
||||
install -m 0644 $(NAME).desktop $(DESTDIR)/$(DATADIR)/applications/
|
||||
install -m 0644 build/$(NAME).1.gz $(DESTDIR)/$(MANDIR)/
|
||||
install -m 0755 build/$(NAME) $(DESTDIR)/$(BINDIR)/$(NAME)
|
||||
install -m 0755 html2ps-$(NAME) $(DESTDIR)/$(BINDIR)/html2ps-$(NAME)
|
||||
|
||||
clean:
|
||||
rm -rf build
|
@ -1,32 +0,0 @@
|
||||
X-Description: Provide alternative icons if those expected not in current theme
|
||||
X-Author: Jeffrey Ratcliffe <Jeffrey.Ratcliffe@gmail.com>
|
||||
X-Bugs-Gentoo: https://bugs.gentoo.org/319573
|
||||
|
||||
--- podbrowser-0.12/podbrowser.pl
|
||||
+++ podbrowser-0.12/podbrowser.pl
|
||||
@@ -60,9 +60,22 @@
|
||||
my $APP = Gtk2::GladeXML->new($GLADE_FILE);
|
||||
my $THEME = get_an_icon_theme();
|
||||
my $TIPS = Gtk2::Tooltips->new;
|
||||
-my $IDX_PBF = Gtk2::Gdk::Pixbuf->new_from_file($THEME->lookup_icon('stock_bookmark', 16, 'force-svg')->get_filename)->scale_simple(16, 16, 'bilinear');
|
||||
-my $PAGE_PBF = Gtk2::Gdk::Pixbuf->new_from_file($THEME->lookup_icon('stock_new-text', 16, 'force-svg')->get_filename)->scale_simple(16, 16, 'bilinear');
|
||||
-my $FOLDER_PBF = Gtk2::Gdk::Pixbuf->new_from_file($THEME->lookup_icon('gnome-fs-directory', 16, 'force-svg')->get_filename)->scale_simple(16, 16, 'bilinear');
|
||||
+my ( $IDX_PBF, $PAGE_PBF, $FOLDER_PBF );
|
||||
+if ($THEME->lookup_icon('stock_bookmark', 16, 'force-svg')) {
|
||||
+ $IDX_PBF = Gtk2::Gdk::Pixbuf->new_from_file($THEME->lookup_icon('stock_bookmark', 16, 'force-svg')->get_filename)->scale_simple(16, 16, 'bilinear');
|
||||
+} else {
|
||||
+ $IDX_PBF = Gtk2::Image->new->render_icon( 'gtk-index', 'menu' );
|
||||
+}
|
||||
+if ($THEME->lookup_icon('stock_new-text', 16, 'force-svg')) {
|
||||
+ $PAGE_PBF = Gtk2::Gdk::Pixbuf->new_from_file($THEME->lookup_icon('stock_new-text', 16, 'force-svg')->get_filename)->scale_simple(16, 16, 'bilinear');
|
||||
+} else {
|
||||
+ $PAGE_PBF = Gtk2::Image->new->render_icon( 'gtk-new', 'menu' );
|
||||
+}
|
||||
+if ($THEME->lookup_icon('gnome-fs-directory', 16, 'force-svg')) {
|
||||
+ $FOLDER_PBF = Gtk2::Gdk::Pixbuf->new_from_file($THEME->lookup_icon('gnome-fs-directory', 16, 'force-svg')->get_filename)->scale_simple(16, 16, 'bilinear');
|
||||
+} else {
|
||||
+ $FOLDER_PBF = Gtk2::Image->new->render_icon( 'gtk-directory', 'menu' );
|
||||
+}
|
||||
my $NORMAL_CURSOR = Gtk2::Gdk::Cursor->new('left_ptr');
|
||||
my $BUSY_CURSOR = Gtk2::Gdk::Cursor->new('watch');
|
||||
my $ITEMS = {};
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>perl@gentoo.org</email>
|
||||
<name>Gentoo Perl Project</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="PodBrowser is a documentation browser for Perl"
|
||||
HOMEPAGE="http://jodrell.net/projects/podbrowser"
|
||||
SRC_URI="http://jodrell.net/files/podbrowser/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
IUSE=""
|
||||
SRC_TEST="do"
|
||||
|
||||
RDEPEND="dev-perl/gtk2-gladexml
|
||||
dev-perl/Gtk2
|
||||
dev-perl/HTML-Parser
|
||||
dev-perl/Locale-gettext
|
||||
virtual/perl-Pod-Simple
|
||||
dev-perl/URI
|
||||
dev-perl/Gtk2-Ex-PodViewer
|
||||
dev-perl/Gtk2-Ex-PrintDialog
|
||||
dev-perl/Gtk2-Ex-Simple-List
|
||||
|| ( >=dev-lang/perl-5.16 <dev-lang/perl-5.16[-build] )
|
||||
>=x11-libs/gtk+-2.6.0:2
|
||||
>=x11-themes/gnome-icon-theme-2.10.0
|
||||
>=gnome-base/libglade-2:2.0"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/missing_icon.patch
|
||||
cp "${FILESDIR}"/Makefile.new "${S}"/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake DESTDIR="${D}" PREFIX=/usr
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake PREFIX=/usr DESTDIR="${D}" install
|
||||
}
|
Binary file not shown.
@ -1,21 +1,20 @@
|
||||
DIST asar-0.13.0.tar.gz 1622264 BLAKE2B 018bccc3d2b54040fe7c6e6c1ecfbe0ab4d52554feab78fae41a09d35b7e934720cba45f77239eda46d746390c4f072b3e0eecdf7f0953882d6f27cb940de018 SHA512 619b59e9576a185905b455b780630188ce32aed72b424c69967a7bf15236d1edf2f5d92f7dde972599679c88fe0a80f05295a3d82b2ae0944be08d332a659aee
|
||||
DIST atom-1.22.1.tar.gz 9541647 BLAKE2B 8801172da7b59dcf0974dc916e83633d52de8419b28db46578851d528dfce55b8dff1103e8e485a54203a7732e9288254d4d1b6ce1328d5e7340412e45fa14be SHA512 fb1a27c59ee6db8c659eb91fb397def3c05bd094b8a0614eb81a0ffabddcd61d480783f37af303773a9a9d15712630966ac162f3978e00ea2d8f8ef1ac78191a
|
||||
DIST atom-1.23.0-beta1.tar.gz 9553918 BLAKE2B ed44c6fca17bad667da145e1bcea17ae85330f4bb0dadf886c7b9ab929e3f580cb074532b0cc60f96d75d4d2bb68fedd7c25c4569983d008a024575a6d9b21e2 SHA512 3bcbe9ab9090eeb26cc6f121349c2c6bc4a3bdd58c36b7a2452320dde851bb0e2e60ed8040f406ed560cfd1a3cc217f220d98755ae50b8b81f123fca8e33bd44
|
||||
DIST atom-bin-1.22.1.rpm 129683452 BLAKE2B 7f408fced77dd1a965521ca7d905b568c2e5c9db19f5948a7c4c711372d53dfcc9b0988d5ec7c1ee748b1a1a3edc7c8e1e7cb919a223069263004e8683694404 SHA512 bd8305a36a8f6755907de576fe02bba64fcff08f804cf22f784323f58440d7c5b251d8da34c74a679c2d7f66b5afdf11c897337a314e829e2b5f06573ef0bddc
|
||||
DIST atom-bin-1.23.0-beta1.rpm 129888621 BLAKE2B f32ee16773fcf4cc956fd21adb6c3a03e2ba07f2c7ce4518e2f2721b1cf6051bcee01934d657ade38050b8d4c2049d693bf53ccb834301e71078a81d6f2e87d7 SHA512 44c19db7452cbbf704950e2ce3347fa52525f44563744860061fd07880a7f7eaa958de8c954b634df7055c26953a99321c1aeb332cbd290d86369d0e3a31ccf9
|
||||
DIST atom-1.23.3.tar.gz 9553983 BLAKE2B ed5f77a51fbbf7a5ba828f5c488b139067636865fef30c88926baf5855b89a7283a35de383cfc65a06391479ec70c067e8ddacd5132b46859b4d4c6ee5cf35e8 SHA512 879a6a209659b612efcef6d3cac9c218da033295b3cc915259e2d4ab51567627a2369b2b8630f6e8a4706aa7b4e0cfb7cc3a55b635f559c8a913cc19e702d524
|
||||
DIST atom-1.24.0-beta3.tar.gz 9550090 BLAKE2B e74923afb56573530a3297d7ce27197af478b2697f49e3d1d9d239e12281a43ab614f8bb9356451372723af7a2bb6cfe2dc21c2e672a321eeeeca6455dcedd9b SHA512 31dc4e9be108fdd5e770a21e94f1284f3e5aa3a8293bce542fbf5a449930bb4f9a3f2405653e27809ccb3d2395b9bf3e0e630b4b1d6c2f7995859b2af391c554
|
||||
DIST atom-bin-1.23.3.rpm 129956012 BLAKE2B eedb8a55955dbd30d85073e536435a6faa214e9f197acda4f3c7a46408ed5fdcff16141b28c519b1d1fc680d0a17f77d0f22ccb561eaea9665c7836ef282ab8d SHA512 f17b0edc33c537ced60360ff5daba44257ac2a85fdb8cf10e886133429093cbd99cd5835ea1ec451a2c1c485971dd5176585357b980d7dbab17f12ee0adacbe8
|
||||
DIST atom-bin-1.24.0-beta3.rpm 129894085 BLAKE2B 9c58bd91ed3d4c9eaf97de0b2ba168c1f4118890f40f8aa9c4f50a9fe24d614c1d52ce8d91f0efdfc8b7bb01891096d8e39a2e2f67faefdd6db33e0114288892 SHA512 a942732dfc975c44c3db11c8e43b88e6dbe247245947964704ee2ada79a8732da5a6f6cedd960556349844ca92333c3504541b300975bd4daad639abb3ce309b
|
||||
DIST atomdep-atom--nsfw-1.0.18.tar.gz 20870 BLAKE2B 2e90e2cc337b2d40805db44c48a6f9da2b4e749bd5d036bdeec78790286a0d0c7e4536a8d461480b91c45552ce1f6db06e6f70f975e52b2ec90146714c4a0fb9 SHA512 61c78a57d6b75fada687843bf0dca2f1a4d16a8546769789047a202fc831535ee206112962fc4680c7d37b4da3d611f6b5a153e1b6ab919e51759906288b09ff
|
||||
DIST atomdep-cached-run-in-this-context-0.4.1.tar.gz 2388 BLAKE2B 9cf59f69c3433a9982c1dedf58c03eef5e1ccf1275f92ed192a2de601f38caceea5926e9b3a8571e2124b83e49c99a14f262db39a44732e1ff6550d6cd46d500 SHA512 942db40139b0beda616a25628772e515ce92ceca3e9a5288b10920e68c35149c52677a975e6e30f278ec64f06ae341fa1fa00702b339b2fb8f7af1cf9685efe5
|
||||
DIST atomdep-ctags-3.0.0.tar.gz 12864 BLAKE2B 561a64734f67cd7943f2d6f972e4d1ec55913934357e7a0d3077c2910f938071b090f55880788ebeab5d7fcaa3009c8984a9045dc83089c46d276152653eb156 SHA512 af1d3764cc3a6bb781a9a2357eeb8503886fc14481c3dbe4a899d3c672fea9325524aed3a4c1c87965bc4cce2fbae20b56b32690849afc1fcb751cd5462adbcc
|
||||
DIST atomdep-fs-admin-0.1.6.tar.gz 5539 BLAKE2B 9ee1857152cca343673a270c1044ad33a3ddbfb5b8389f2e0449e99348d0bdd4aaaa7e4c07bfb8871ae840f1a69cd90074a769f80fa3cc7f914050bc6f45b29c SHA512 2474523d5441ad882000633a929bcdbc5771b859a80f16a69c15504ff240a59b558e2edb1ca6e12ce91ad58da935243f3950a16e664529c59da70b9912903ae7
|
||||
DIST atomdep-git-utils-5.1.0.tar.gz 4141959 BLAKE2B 7504a4ba57b093da659ed0ba7319863636d7f9f1e9a6a4bbd4b6c6fcf9922c9ca32398b44550e4a94d519471ca5cf249976426583f998186398c147c6cce5636 SHA512 1f9c38646b25a526c0399d538e58864c552d65802402df82f8303a936374121db40f61195ea3254e56e31dd9d25b847b325264911f62d6beddfc24931a9367bf
|
||||
DIST atomdep-keyboard-layout-2.0.13.tar.gz 17881 BLAKE2B e86a399be545a43768a53d5d9279dae1bc4d87fd99af87a10861f2e3367d6786e3631f8dc77671b08b06e30290f2c97833402e3732a010ae31c7c1c02d9d6afd SHA512 5b155cddb0484edb47a334b21183eccabe6b376290b97b4469732541f4231337b526b90bc37d321ff6dc367d481b1e3c6feb5d39dc9ba67abef8914b53615a66
|
||||
DIST atomdep-keytar-4.0.5.tar.gz 15594 BLAKE2B 3ced4a3eca1036ce21435473d013bc98537959d8488425581089c230b3e6ce276264754c607c29adf9d9d6272bde10066b23c7de502030c35ff2a5d907b17a4b SHA512 bd4dcd75517c057bacfed57490b9c1614f52169cc786a167eb1b391bf83845b23cdc53e20c72e7902140a5da7f865ad8bdc2d456063ebc1b86f6cb9fa1178929
|
||||
DIST atomdep-keytar-4.1.0.tar.gz 8564 BLAKE2B 69b745c6afd22dd4ffd5694205294f4cc7985b9ae5df51e5c7671cee296a2d28732ccd453417eeb60cc66fdfd39247ee90205808fdbfbea8b5585029c22d4d76 SHA512 2f72aa89232da558ad96e838bae23e2b95cb9def52015105584f120902214221f4200fc24dba27e6fe69ad52ca2b429e9f9e28d8ef15f4771e29a829c09ba6f9
|
||||
DIST atomdep-nsfw-1.0.16.tar.gz 43214 BLAKE2B 261539bebfe494aad0b372f1837a87c7c2a410bb591df523ea25bd5acd008f7eb0e8460a218fd4ee70d98bc26dd166472e9ea0aea265971cf2e904da913dda88 SHA512 0060d7fb5016454aaaf7df438d973b9a389a6e5f7a166c5d402cf8ef8bcda724501c3bfbd44e37e9e6c38d5f1decaeb48c571aad9145dec38ba0c94073b9702a
|
||||
DIST atomdep-nslog-3.0.0.tar.gz 2270 BLAKE2B 3258b7e7d7f94a89b0e5a21bfedfbe71bbfe3d776871aaeb3443ce6a7759860abfef2b8af823dab009183b5378c1ed06c7b2729df9acc09d3c5ea6a5f47ff160 SHA512 6a0ce8970ae12fdefd0935916e5501bb89e366fb66b05fffade884f3adf4add4b135eb4f0f208684e28424fdb9858ee8193eb1f3db1f7eac3cb49bdb5d1a4bb1
|
||||
DIST atomdep-oniguruma-6.2.1.tar.gz 586350 BLAKE2B 65574ef004c98cced7a9f5917845015ccd84b2383a85d889365da5c73313114454458b441bf6588eaee2a17150d674b7754ccc0bbb2d68ae3d98f7d5ca63530e SHA512 faa46dc4c1b8d7e75ab54512de9a823c5b958a7ccb43333375b33e16de47a464ea2a9ba9996596a8359d423a3e8c9d63cc92a5162b3f9d44b4485304073b41f1
|
||||
DIST atomdep-pathwatcher-8.0.1.tar.gz 18357 BLAKE2B 8e2b86da307757c352d0cab5eff64cc31e6745bf10a982f6ef11a0fd92eeeadf5b438aaaaa00e679100600691e59ff7aa7badf33e62c33a2497b5573cf7b4711 SHA512 34df8fecf456753f1977517018e5ff78b143f2d36e1417435bfcac2f9b9f8bd045a8080e7d0ad5d2930c63fa110c539911447863c46e757a4bb8f8c4f5bda999
|
||||
DIST atomdep-scrollbar-style-3.2.0.tar.gz 3498 BLAKE2B 2d1a88f2764b5a51da92e41f5dd5424a4ffbc13ec9b2e826236097ff7ebb0babd22b4e4cd00873e786aa52d901eedce49bd102ad6398eda614734bdd78b8b4e3 SHA512 9f5fcc2bcb13cb81e95a52aa6db0c99ffd67c9cd48a9faf0223587359f4082c3e867cb384497dc6be3e8230b4cd035e910a7048d431e81a28dfded0bc572da18
|
||||
DIST atomdep-spellchecker-3.4.3.tar.gz 480739 BLAKE2B 5549ca23c50efc4573cb990d8cd79bc564dd4890e8509915e89173c8cb49ed0f9d17ff22c73f61e00487f9a09de3e6b0de542a755fa3eeeb2cc8bd766016ec62 SHA512 cef2aa6adf95772f0d38760adb9a805ad540bfb422647486ccd63db7afcca508eb821b6099d9913912dd1b0881f3b5ccc62d203f2ce6bc47859f36a76c781376
|
||||
DIST atomdep-spellchecker-3.4.4.tar.gz 481892 BLAKE2B 3bae26ffffbaffdbac6f082c6f33ea4f5127583663e1df3ed8d98cebed2ce11ea0d9965615e369383695df6ad55aa996e8968e6616415d359ffae640a679f47b SHA512 974b3ce9866ce7e3f30137856ea0f4b1348c105edb833a94620c6b53cfa7052c37575f6dcd160a322fa10c61babfc32c916786d9d44ad10efdb2ab3578620ac1
|
||||
DIST atomdep-superstring-2.2.13.tar.gz 793833 BLAKE2B b5e8003c25ec38da1eae92022e972467b33ab45ea9db918a0acae6af10abb8a48609d76318558d327d013f65ea01888450ceb991dbfed39530ddd7076f1cf995 SHA512 9e2ce1ec9dffc0ccd700ed4b2f069dfc6cf258ae842dfe7a5242db99c0899ad77a692d2697695c3ca6d42cf4b9c590e9f29f469399d519029052b7ed806b39f8
|
||||
DIST atomdep-superstring-2.2.16.tar.gz 795922 BLAKE2B 58f66a51f20f11bd6d4335c945c5af2418ab5e210af989f9480e319a55cf273d63c97db2c5a32e8196dc06c14bbb552ea1e34d2e8910807f8e2d04925c953b41 SHA512 1ea105483032a5f6fb3b752dce33cef7498a9d597cdef35efb00ef26dba95c84dda863452eaa954d38c9c22510397aedfeed2ed44874560fdca4151d87d49e5c
|
||||
DIST nodejs-nan-2.6.2.tar.gz 161949 BLAKE2B f74e8d56e67ae03e60e0be7752ed9527bd8499c01f7df8899f3eb6735b1286633753e8bf595781b6d3d1446df20483fc0377bd745be10c6bae0ad66426751b79 SHA512 d1b5ed12e90accfa117cb73b9432897631ed2dd6045f93fa8b53237a13cec0ec467b14c035e9e4d4a5c6588949c1c80b0eef48a46d5c9c0a1f81ef400da031c3
|
||||
|
@ -1,358 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit elisp-common flag-o-matic multilib readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||
HOMEPAGE="https://www.gnu.org/software/emacs/"
|
||||
SRC_URI="mirror://gnu/emacs/${P}.tar.xz
|
||||
https://dev.gentoo.org/~ulm/emacs/${P}-patches-1.tar.xz"
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
|
||||
SLOT="25"
|
||||
KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
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 motif pax_kernel png selinux sound source ssl svg 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?]
|
||||
net-libs/liblockfile
|
||||
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 )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
ssl? ( net-libs/gnutls:0= )
|
||||
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:3=
|
||||
)
|
||||
!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 )"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
!<app-editors/emacs-vcs-${PV}"
|
||||
|
||||
EMACS_SUFFIX="${PN/emacs/emacs-${SLOT}}"
|
||||
SITEFILE="20${PN}-${SLOT}-gentoo.el"
|
||||
# FULL_VERSION keeps the full version number, which is needed in
|
||||
# order to determine some path information correctly for copy/move
|
||||
# operations later on
|
||||
FULL_VERSION="${PV%%_*}"
|
||||
S="${WORKDIR}/emacs-${FULL_VERSION}"
|
||||
|
||||
src_prepare() {
|
||||
eapply ../patch
|
||||
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
|
||||
#touch src/stamp-h.in || die
|
||||
}
|
||||
|
||||
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}" \
|
||||
--with-gameuser=":gamestat" \
|
||||
--without-compress-install \
|
||||
--with-file-notification=$(usev inotify || usev gfile || echo no) \
|
||||
$(use_enable acl) \
|
||||
$(use_with dbus) \
|
||||
$(use_with dynamic-loading modules) \
|
||||
$(use_with gpm) \
|
||||
$(use_with hesiod) \
|
||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||
$(use_with libxml2 xml2) \
|
||||
$(use_with selinux) \
|
||||
$(use_with ssl gnutls) \
|
||||
$(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}"/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
|
||||
}
|
Binary file not shown.
@ -1,3 +1,2 @@
|
||||
DIST kompose-1.6.0.tar.gz 5227025 BLAKE2B e24e5d142db7a1e55c8e2c05db2a7717a6bc178c3ed73ec2732fb10ae39c90dd2da41ce604fc590e8888ef1b92d5ba68821f66f54e2285d90c2bc9e3af3f1da0 SHA512 57e8b3530ad260d0ed6a679119c559f616c45d407db8929797dbf321e32917bc236ac41e1042f65aa8460026d54cb03180e8b8264dadb6fe05ec6d21293140a3
|
||||
DIST kompose-1.7.0.tar.gz 5230263 BLAKE2B c2e50ceadaa3f88b5d6a9c6fbca93a0a45a16fb4d208a9194578174d9b67697f70d52f8f7a517609b56acf0cb646a9ca4e9137e1a830646e1084c10aabfd1cc0 SHA512 bcda4d891cdc8a0e331aad3baca9e88be32d302ed1ab89a561874881ec9e1dd04f7158f9315ee59a49d4906cc9d08821a417ff04a8ebe9871edece842b2e85b9
|
||||
DIST kompose-1.8.0.tar.gz 5230179 BLAKE2B 47f2770eb527bb3b40e1734f9e5173ce4de55ef55460f624dcb22374d94d4a4ae650d82db6508dd0e441535c03da8a0f61d7600425e44604b580ecff493ba987 SHA512 4e618f9e9adc65abd2be503dd28b6d7761945a99788e910cc072d04b6088e953152f9354fe168fe7bf22252f698b957e2cc23440d242bed62c4b7415dc513e33
|
||||
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit golang-build golang-vcs-snapshot
|
||||
|
||||
EGO_PN="github.com/kubernetes/kompose"
|
||||
EGIT_COMMIT="v${PV}"
|
||||
KOMPOSE_COMMIT="e4adfef"
|
||||
ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="Tool to move from docker-compose to Kubernetes"
|
||||
HOMEPAGE="https://github.com/kubernetes/kompose https://kompose.io"
|
||||
SRC_URI="${ARCHIVE_URI}"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="hardened"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_compile() {
|
||||
export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')"
|
||||
GOPATH="${S}" go build -v -ldflags="-X github.com/kubernetes/kompose/cmd.GITCOMMIT=${COMPOSE_KOMMIT}" -o bin/kompose src/${EGO_PN}/main.go || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
dodoc -r src/${EGO_PN}/{docs,{README,RELEASE,ROADMAP,CHANGELOG,CONTRIBUTING}.md}
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
# Group which owns the shared socket
|
||||
LXD_OPTIONS+=" --group lxd"
|
||||
|
||||
|
||||
|
||||
# Enable cpu profiling into the specified file
|
||||
#LXD_OPTIONS+=" --cpuprofile /tmp/lxc_cpu_profile"
|
||||
|
||||
# Enable memory profiling into the specified file
|
||||
#LXD_OPTIONS+=" --memprofile /tmp/lxc_mem_profile"
|
||||
|
||||
|
||||
|
||||
# Enables debug mode
|
||||
#LXD_OPTIONS+=" --debug"
|
||||
|
||||
# For debugging, print a complete stack trace every n seconds
|
||||
#LXD_OPTIONS+=" --print-goroutines-every 5"
|
||||
|
||||
# Enables verbose mode
|
||||
#LXD_OPTIONS+=" -v"
|
||||
|
||||
# Logfile to log to
|
||||
#LXD_OPTIONS+=" --logfile /var/log/lxd/lxd.log"
|
||||
|
||||
# Enables syslog logging
|
||||
#LXD_OPTIONS+=" --syslog"
|
@ -1,46 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
DAEMON=/usr/sbin/lxd
|
||||
PIDFILE=/run/lxd.pid
|
||||
|
||||
extra_commands="stopall"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
use lxcfs
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting lxd service"
|
||||
|
||||
start-stop-daemon --start \
|
||||
--pidfile ${PIDFILE} \
|
||||
--exec ${DAEMON} \
|
||||
--background \
|
||||
--make-pidfile \
|
||||
-- \
|
||||
${LXD_OPTIONS}
|
||||
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
if [ "$RC_GOINGDOWN" = "YES" ] || [ "$RC_REBOOT" = "YES" ]; then
|
||||
stopall
|
||||
else
|
||||
ebegin "Stopping lxd service (but not containers)"
|
||||
start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE}
|
||||
eend $?
|
||||
fi
|
||||
}
|
||||
|
||||
stopall() {
|
||||
ebegin "Stopping lxd service and containers"
|
||||
if "${DAEMON}" shutdown; then
|
||||
/etc/init.d/lxd zap
|
||||
rm -f ${PIDFILE}
|
||||
fi
|
||||
eend $?
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=Container hypervisor based on LXC
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/lxd --group lxd
|
||||
KillMode=process
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -0,0 +1 @@
|
||||
DIST punes-0.102.tar.gz 4670534 BLAKE2B 04576110e4fcd9aeaa3dfb6812ab7a21305200c82651be00defcb59b91374b155b279818f2e09d217841aa8567c41e06067252538fb68b7b907d5ab29b02c678 SHA512 dff95b25f64ed03060b6dd187d7a283acfddb6bea4168df5be4d309bd6aabdcaa5d0ea0312d0824205bf134cd0ddabf014e82a81c8a901a59258475ec24bd394
|
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>azamat.hackimov@gmail.com</email>
|
||||
<name>Azamat H. Hackimov</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Nintendo Entertainment System (NES) emulator
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="cg">Add support for Nvidia CG Toolkit</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">punesemu/puNES</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit autotools xdg-utils
|
||||
|
||||
DESCRIPTION="Nintendo Entertainment System (NES) emulator"
|
||||
HOMEPAGE="https://github.com/punesemu/puNES"
|
||||
SRC_URI="https://github.com/punesemu/puNES/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="cg"
|
||||
|
||||
RDEPEND="
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
cg? ( media-gfx/nvidia-cg-toolkit )
|
||||
media-libs/alsa-lib
|
||||
media-libs/libsdl[opengl]
|
||||
virtual/opengl"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/puNES-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i "/update-desktop-database/d" misc/Makefile.am || die
|
||||
eautoreconf
|
||||
# FIXME why eautoreconf can't handle this?
|
||||
cd "src/extra/lib7zip-1.6.5" || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-qt5 \
|
||||
$(use_with cg opengl-nvidia-cg)
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST gcal-3.6.3.tar.xz 1640172 BLAKE2B 322a3bf34a389ab92daa0262b8b36f99b585c7f76e46e5a921a5e23ced74ae98bf09446e02988c98c29ecadf631b6624cb43e76c8da736a185e52ed34441c334 SHA512 9be7d6e58a55fbb7531f91bd2a6fa51e8d62364636c31d8d65f6ac24415ac2de8af5eaab8496e155c2820b7480ecf926c4395114ff4363deb21bd268dec44963
|
||||
DIST gcal-4.1.tar.xz 1658948 BLAKE2B 980b509923d7e3afbd391f1129a77e647f61e09d68aec29490bc16041260e56082097732f015260515036a4560bee18391c8f6aaa5eaff69740f18a37a44d8f2 SHA512 24b9ee87c3dbfd3231b2017fd0a3030cc5b7c7fde032ea1fcf816b0f10dc40d808c646aa8ece86651da4f3928fecf35f84f4c68c0bfdb8cf63e3ecc189d2074d
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="The GNU Calendar - a replacement for cal"
|
||||
HOMEPAGE="https://www.gnu.org/software/gcal/"
|
||||
SRC_URI="mirror://gnu/gcal/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="ncurses nls unicode"
|
||||
|
||||
DEPEND="
|
||||
app-arch/xz-utils
|
||||
nls? ( >=sys-devel/gettext-0.17 )"
|
||||
|
||||
RDEPEND="nls? ( virtual/libintl )"
|
||||
|
||||
DOCS=( BUGS LIMITATIONS NEWS README THANKS TODO )
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
append-cppflags -D_GNU_SOURCE
|
||||
econf \
|
||||
--disable-rpath \
|
||||
$(use_enable nls) \
|
||||
$(use_enable ncurses term) \
|
||||
$(use_enable unicode)
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST gnote-3.22.1.tar.xz 3309984 BLAKE2B 0d8efac1e58a931682da5d2b10e2ed58df43a581aac428cb93f6f208be1e888c41f5f6a9595305a3f16ec95a1b2f33a11a0800a1ba3ac641d6ac31129ec9a3f8 SHA512 0bbf89b39699294fe5a373decf10bcd7f3a86a20c49b9d82699fb758c7cd27b6939764236a1a7ffe21964a2ae196780d0861123776b1568344935e0b649e2f5f
|
||||
DIST gnote-3.24.0.tar.xz 3307940 BLAKE2B 2f0ef3649b9fd998a03e18959612ef87be0e36e9f2e65c2562b891c1f8baf529f1b7186ef1bb077bfc85b5cbb8a0686110ec09a189dc06d4fb78327696fa4d09 SHA512 640f24d1829a546e53eb2d269f965daafa651e141566fd2f7a4572245b309c06259f548fa38c86c55954f2d0f8f98c48b7da2ed982864ae6ffbcac4b5d64aecb
|
||||
DIST gnote-3.24.1.tar.xz 3310012 BLAKE2B b6167dbb2461e574e4f21b2f227eb9a3c89708ddd15a561146faa044130e5c9ccc6d64b4923c30726160ee35d4ab5a0ae04b1593e74af2fa6566582af9bc1f18 SHA512 759fb2984312a3e3d5aed9b79f2309021b69df57b820d34814a5d3d9b5c9201abc6e50d83bf64f30974991d779b0b85e599435a24ee1326b867a2a4be8e0f37e
|
||||
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit gnome2 readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="Desktop note-taking application"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Gnote"
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="debug"
|
||||
|
||||
# Automagic glib-2.32 dep
|
||||
COMMON_DEPEND="
|
||||
>=app-crypt/libsecret-0.8
|
||||
>=app-text/gtkspell-3.0:3
|
||||
>=dev-cpp/glibmm-2.32:2
|
||||
>=dev-cpp/gtkmm-3.18:3.0
|
||||
>=dev-libs/boost-1.34:=
|
||||
>=dev-libs/glib-2.32:2[dbus]
|
||||
>=dev-libs/libxml2-2:2
|
||||
dev-libs/libxslt
|
||||
>=sys-apps/util-linux-2.16:=
|
||||
>=x11-libs/gtk+-3.20:3
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
gnome-base/gsettings-desktop-schemas
|
||||
"
|
||||
DEPEND="${DEPEND}
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
>=dev-util/intltool-0.35.0
|
||||
dev-util/itstool
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# Do not alter CFLAGS
|
||||
sed 's/-DDEBUG -g/-DDEBUG/' -i configure.ac configure || die
|
||||
|
||||
gnome2_src_prepare
|
||||
|
||||
if has_version net-fs/wdfs; then
|
||||
DOC_CONTENTS="You have net-fs/wdfs installed. app-misc/gnote will use it to
|
||||
synchronize notes."
|
||||
else
|
||||
DOC_CONTENTS="Gnote can use net-fs/wdfs to synchronize notes.
|
||||
If you want to use that functionality just emerge net-fs/wdfs.
|
||||
Gnote will automatically detect that you did and let you use it."
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
--disable-static \
|
||||
$(use_enable debug)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
readme.gentoo_print_elog
|
||||
}
|
@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit gnome2 readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="Desktop note-taking application"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Gnote"
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
# Automagic:
|
||||
# glib-2.32 dep
|
||||
# >=dev-libs/unittest++-1.5.1 (but not detected due to missing .pc)
|
||||
COMMON_DEPEND="
|
||||
>=app-crypt/libsecret-0.8
|
||||
>=app-text/gtkspell-3.0:3
|
||||
>=dev-cpp/glibmm-2.32:2
|
||||
>=dev-cpp/gtkmm-3.18:3.0
|
||||
>=dev-libs/glib-2.32:2[dbus]
|
||||
>=dev-libs/libxml2-2:2
|
||||
dev-libs/libxslt
|
||||
>=sys-apps/util-linux-2.16:=
|
||||
>=x11-libs/gtk+-3.20:3
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
gnome-base/gsettings-desktop-schemas
|
||||
"
|
||||
DEPEND="${DEPEND}
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
>=dev-util/intltool-0.35.0
|
||||
dev-util/itstool
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# Do not alter CFLAGS
|
||||
sed 's/-DDEBUG -g/-DDEBUG/' -i configure.ac configure || die
|
||||
|
||||
gnome2_src_prepare
|
||||
|
||||
if has_version net-fs/wdfs; then
|
||||
DOC_CONTENTS="You have net-fs/wdfs installed. app-misc/gnote will use it to
|
||||
synchronize notes."
|
||||
else
|
||||
DOC_CONTENTS="Gnote can use net-fs/wdfs to synchronize notes.
|
||||
If you want to use that functionality just emerge net-fs/wdfs.
|
||||
Gnote will automatically detect that you did and let you use it."
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
--disable-static \
|
||||
$(use_enable debug)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
readme.gentoo_print_elog
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
--- a/window.c 2016-09-29 05:31:24.000000000 +0800
|
||||
+++ b/window.c 2017-12-22 09:38:43.709617000 +0800
|
||||
@@ -981,7 +981,7 @@
|
||||
|
||||
input_parse(wp);
|
||||
|
||||
- wp->pipe_off = size;
|
||||
+ wp->pipe_off = EVBUFFER_LENGTH(evb);
|
||||
}
|
@ -0,0 +1,91 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools flag-o-matic versionator
|
||||
|
||||
DESCRIPTION="Terminal multiplexer"
|
||||
HOMEPAGE="http://tmux.github.io/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="debug selinux utempter vim-syntax kernel_FreeBSD kernel_linux"
|
||||
|
||||
CDEPEND="
|
||||
>=dev-libs/libevent-2.1.5-r4:=
|
||||
utempter? (
|
||||
kernel_linux? ( sys-libs/libutempter )
|
||||
kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) )
|
||||
)
|
||||
sys-libs/ncurses:0="
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-screen )
|
||||
vim-syntax? (
|
||||
|| (
|
||||
app-editors/vim
|
||||
app-editors/gvim
|
||||
)
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.3-flags.patch
|
||||
|
||||
# usptream fixes (can be removed with next version bump)
|
||||
"${FILESDIR}"/${P}-screen_write_copy-fix.patch
|
||||
"${FILESDIR}"/${P}-pipe_pane-fix.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# regenerate aclocal.m4 to support earlier automake versions
|
||||
rm aclocal.m4 || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# bug 438558
|
||||
# 1.7 segfaults when entering copy mode if compiled with -Os
|
||||
replace-flags -Os -O2
|
||||
|
||||
econf \
|
||||
--sysconfdir="${EPREFIX}"/etc \
|
||||
$(use_enable debug) \
|
||||
$(use_enable utempter)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
dodoc example_tmux.conf
|
||||
docompress -x /usr/share/doc/${PF}/example_tmux.conf
|
||||
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
doins "${FILESDIR}"/tmux.vim
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! version_is_at_least 1.9a ${REPLACING_VERSIONS:-1.9a}; then
|
||||
ewarn
|
||||
ewarn "Some configuration options changed in this release."
|
||||
ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/"
|
||||
ewarn
|
||||
ewarn "WARNING: After updating to ${P} you will _not_ be able to connect to any"
|
||||
ewarn "older, running tmux server instances. You'll have to use an existing client to"
|
||||
ewarn "end your old sessions or kill the old server instances. Otherwise you'll have"
|
||||
ewarn "to temporarily downgrade to access them."
|
||||
ewarn
|
||||
fi
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST tracker-1.12.3.tar.xz 5053768 BLAKE2B e67054e8a9f61c7342ae05136aef20589efb59991b5222d046359f936eb1b1bd970d00ec21f3e749aeaa22df58115f89085197a0fd7abd910e1fbfcbea19211b SHA512 4c2155a295bc431740e52394885edfa2fd8487ef2f4b6749b9392a82ac355a440fb34381267a8793414fe750501fed7e1b1d0c5b06a766282513de78adde41d3
|
||||
DIST tracker-1.12.4.tar.xz 5051884 BLAKE2B 99cc85fc4d49691eb0a73e4f1776d9971b5cbe5844478825e473137b4d7b13e2578065be497da57285abc2d3cf4c6d1ed1b077a01cd68dc093e18ddd7674c1f1 SHA512 e81af22733c7d80535c79e23a4b3edbbcf888eede1dff071d466518054e90d4c207af76bcb4d8c73dc20729ae2eab60444ca91ee7ae09e96c0da2fdab97752c1
|
||||
|
@ -1,249 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
GNOME2_LA_PUNT="yes"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit autotools bash-completion-r1 eutils gnome2 linux-info multilib python-any-r1 vala versionator virtualx
|
||||
|
||||
DESCRIPTION="A tagging metadata database, search tool and indexer"
|
||||
HOMEPAGE="https://wiki.gnome.org/Projects/Tracker"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2.1+"
|
||||
SLOT="0/100"
|
||||
IUSE="cue elibc_glibc exif ffmpeg firefox-bookmarks flac gif gsf gstreamer
|
||||
gtk iptc +iso +jpeg libav +miner-fs mp3 nautilus networkmanager pdf playlist
|
||||
rss seccomp stemmer test thunderbird +tiff upnp-av upower +vorbis +xml xmp xps"
|
||||
|
||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86"
|
||||
|
||||
REQUIRED_USE="
|
||||
?? ( gstreamer ffmpeg )
|
||||
cue? ( gstreamer )
|
||||
upnp-av? ( gstreamer )
|
||||
!miner-fs? ( !cue !exif !flac !gif !gsf !iptc !iso !jpeg !mp3 !pdf !playlist !tiff !vorbis !xml !xmp !xps )
|
||||
"
|
||||
|
||||
# According to NEWS, introspection is non-optional
|
||||
# glibc-2.12 needed for SCHED_IDLE (see bug #385003)
|
||||
# seccomp is automagic, though we want to use it whenever possible (linux)
|
||||
# >=media-libs/libmediaart-1.9:2.0 is suggested to be disabled for 1.10 for security;
|
||||
# It is disable in configure in 1.12; revisit for 1.14/2 (configure flag)
|
||||
RDEPEND="
|
||||
>=app-i18n/enca-1.9
|
||||
>=dev-db/sqlite-3.20:=
|
||||
>=dev-libs/glib-2.44:2
|
||||
>=dev-libs/gobject-introspection-0.9.5:=
|
||||
>=dev-libs/icu-4.8.1.1:=
|
||||
>=dev-libs/json-glib-1.0
|
||||
>=media-libs/libpng-1.2:0=
|
||||
>=net-libs/libsoup-2.40:2.4
|
||||
>=x11-libs/pango-1:=
|
||||
sys-apps/util-linux
|
||||
virtual/imagemagick-tools[png,jpeg?]
|
||||
|
||||
cue? ( media-libs/libcue )
|
||||
elibc_glibc? ( >=sys-libs/glibc-2.12 )
|
||||
exif? ( >=media-libs/libexif-0.6 )
|
||||
ffmpeg? (
|
||||
libav? ( media-video/libav:= )
|
||||
!libav? ( media-video/ffmpeg:0= )
|
||||
)
|
||||
firefox-bookmarks? ( || (
|
||||
>=www-client/firefox-4.0
|
||||
>=www-client/firefox-bin-4.0 ) )
|
||||
flac? ( >=media-libs/flac-1.2.1 )
|
||||
gif? ( media-libs/giflib:= )
|
||||
gsf? ( >=gnome-extra/libgsf-1.14.24 )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0 )
|
||||
gtk? (
|
||||
>=x11-libs/gtk+-3:3 )
|
||||
iptc? ( media-libs/libiptcdata )
|
||||
iso? ( >=sys-libs/libosinfo-0.2.9:= )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
upower? ( || ( >=sys-power/upower-0.9 sys-power/upower-pm-utils ) )
|
||||
mp3? ( >=media-libs/taglib-1.6 )
|
||||
networkmanager? ( >=net-misc/networkmanager-0.8:= )
|
||||
pdf? (
|
||||
>=x11-libs/cairo-1:=
|
||||
>=app-text/poppler-0.16[cairo,utils]
|
||||
>=x11-libs/gtk+-2.12:2 )
|
||||
playlist? ( >=dev-libs/totem-pl-parser-3 )
|
||||
rss? ( >=net-libs/libgrss-0.7:0 )
|
||||
stemmer? ( dev-libs/snowball-stemmer )
|
||||
thunderbird? ( || (
|
||||
>=mail-client/thunderbird-5.0
|
||||
>=mail-client/thunderbird-bin-5.0 ) )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
upnp-av? ( >=media-libs/gupnp-dlna-0.9.4:2.0 )
|
||||
vorbis? ( >=media-libs/libvorbis-0.22 )
|
||||
xml? ( >=dev-libs/libxml2-2.6 )
|
||||
xmp? ( >=media-libs/exempi-2.1 )
|
||||
xps? ( app-text/libgxps )
|
||||
!gstreamer? ( !ffmpeg? ( || ( media-video/totem media-video/mplayer ) ) )
|
||||
seccomp? ( >=sys-libs/libseccomp-2.0 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
$(vala_depend)
|
||||
dev-util/gdbus-codegen
|
||||
>=dev-util/gtk-doc-am-1.8
|
||||
>=dev-util/intltool-0.40.0
|
||||
>=sys-devel/gettext-0.17
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
>=dev-libs/dbus-glib-0.82-r1
|
||||
>=sys-apps/dbus-1.3.1[X] )
|
||||
"
|
||||
PDEPEND="nautilus? ( ~gnome-extra/nautilus-tracker-tags-${PV} )"
|
||||
|
||||
function inotify_enabled() {
|
||||
if linux_config_exists; then
|
||||
if ! linux_chkconfig_present INOTIFY_USER; then
|
||||
ewarn "You should enable the INOTIFY support in your kernel."
|
||||
ewarn "Check the 'Inotify support for userland' under the 'File systems'"
|
||||
ewarn "option. It is marked as CONFIG_INOTIFY_USER in the config"
|
||||
die 'missing CONFIG_INOTIFY'
|
||||
fi
|
||||
else
|
||||
einfo "Could not check for INOTIFY support in your kernel."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
inotify_enabled
|
||||
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Don't run 'firefox --version' or 'thunderbird --version'; it results in
|
||||
# access violations on some setups (bug #385347, #385495).
|
||||
create_version_script "www-client/firefox" "Mozilla Firefox" firefox-version.sh
|
||||
create_version_script "mail-client/thunderbird" "Mozilla Thunderbird" thunderbird-version.sh
|
||||
|
||||
eautoreconf # See bug #367975
|
||||
gnome2_src_prepare
|
||||
vala_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
if use gstreamer ; then
|
||||
myconf="${myconf} --enable-generic-media-extractor=gstreamer"
|
||||
if use upnp-av; then
|
||||
myconf="${myconf} --with-gstreamer-backend=gupnp-dlna"
|
||||
else
|
||||
myconf="${myconf} --with-gstreamer-backend=discoverer"
|
||||
fi
|
||||
elif use ffmpeg ; then
|
||||
myconf="${myconf} --enable-generic-media-extractor=libav"
|
||||
else
|
||||
myconf="${myconf} --enable-generic-media-extractor=external"
|
||||
fi
|
||||
|
||||
# unicode-support: libunistring, libicu or glib ?
|
||||
# According to NEWS, introspection is required
|
||||
# is not being generated
|
||||
# nautilus extension is in a separate package, nautilus-tracker-tags
|
||||
# miner-evolution disabled as it's incompatible with current eds
|
||||
gnome2_src_configure \
|
||||
--disable-hal \
|
||||
--disable-miner-evolution \
|
||||
--disable-nautilus-extension \
|
||||
--disable-static \
|
||||
--enable-abiword \
|
||||
--enable-artwork \
|
||||
--enable-dvi \
|
||||
--enable-enca \
|
||||
--enable-guarantee-metadata \
|
||||
--enable-icon \
|
||||
--enable-introspection \
|
||||
--disable-libmediaart \
|
||||
--enable-libpng \
|
||||
--enable-miner-apps \
|
||||
--enable-miner-user-guides \
|
||||
--enable-ps \
|
||||
--enable-text \
|
||||
--enable-tracker-fts \
|
||||
--enable-tracker-writeback \
|
||||
--with-unicode-support=libicu \
|
||||
--with-bash-completion-dir="$(get_bashcompdir)" \
|
||||
$(use_enable cue libcue) \
|
||||
$(use_enable exif libexif) \
|
||||
$(use_enable firefox-bookmarks miner-firefox) \
|
||||
$(use_with firefox-bookmarks firefox-plugin-dir "${EPREFIX}"/usr/$(get_libdir)/firefox/extensions) \
|
||||
FIREFOX="${S}"/firefox-version.sh \
|
||||
$(use_enable flac libflac) \
|
||||
$(use_enable gif libgif) \
|
||||
$(use_enable gsf libgsf) \
|
||||
$(use_enable gtk tracker-needle) \
|
||||
$(use_enable gtk tracker-preferences) \
|
||||
$(use_enable iptc libiptcdata) \
|
||||
$(use_enable iso libosinfo) \
|
||||
$(use_enable jpeg libjpeg) \
|
||||
$(use_enable upower upower) \
|
||||
$(use_enable miner-fs) \
|
||||
$(use_enable mp3 taglib) \
|
||||
$(use_enable mp3) \
|
||||
$(use_enable networkmanager network-manager) \
|
||||
$(use_enable pdf poppler) \
|
||||
$(use_enable playlist) \
|
||||
$(use_enable rss miner-rss) \
|
||||
$(use_enable stemmer libstemmer) \
|
||||
$(use_enable test functional-tests) \
|
||||
$(use_enable test unit-tests) \
|
||||
$(use_enable thunderbird miner-thunderbird) \
|
||||
$(use_with thunderbird thunderbird-plugin-dir "${EPREFIX}"/usr/$(get_libdir)/thunderbird/extensions) \
|
||||
THUNDERBIRD="${S}"/thunderbird-version.sh \
|
||||
$(use_enable tiff libtiff) \
|
||||
$(use_enable vorbis libvorbis) \
|
||||
$(use_enable xml libxml2) \
|
||||
$(use_enable xmp exempi) \
|
||||
$(use_enable xps libgxps) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# G_MESSAGES_DEBUG, upstream bug #699401#c1
|
||||
virtx emake check TESTS_ENVIRONMENT="dbus-run-session" G_MESSAGES_DEBUG="all"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
|
||||
# Manually symlink extensions for {firefox,thunderbird}-bin
|
||||
if use firefox-bookmarks; then
|
||||
dosym ../../../share/xul-ext/trackerfox \
|
||||
/usr/$(get_libdir)/firefox-bin/extensions/trackerfox@bustany.org
|
||||
fi
|
||||
|
||||
if use thunderbird; then
|
||||
dosym ../../../share/xul-ext/trackerbird \
|
||||
/usr/$(get_libdir)/thunderbird-bin/extensions/trackerbird@bustany.org
|
||||
fi
|
||||
}
|
||||
|
||||
create_version_script() {
|
||||
# Create script $3 that prints "$2 MAX(VERSION($1), VERSION($1-bin))"
|
||||
|
||||
local v=$(best_version ${1})
|
||||
v=${v#${1}-}
|
||||
local vbin=$(best_version ${1}-bin)
|
||||
vbin=${vbin#${1}-bin-}
|
||||
|
||||
if [[ -z ${v} ]]; then
|
||||
v=${vbin}
|
||||
else
|
||||
version_compare ${v} ${vbin}
|
||||
[[ $? -eq 1 ]] && v=${vbin}
|
||||
fi
|
||||
|
||||
echo -e "#!/bin/sh\necho $2 $v" > "$3" || die
|
||||
chmod +x "$3" || die
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST kmymoney-4.8.0.tar.xz 20785888 BLAKE2B 23819f5ef4f1ec0951f8b598041b7516efae94ccc6677404b133039023e6141e078226938d2c6d6fa6332803d4ee23d1c855e4db1945ada3d02d8302103876d0 SHA512 883635a94333341cbe3d6c835fe1dbc1cc5ed5cc834f76c945030ec680aee4fc6ceb367fdde811672a392eb5cd7b735c858e0be5a7f7964a4ccf5f9ba8865381
|
||||
DIST kmymoney-4.8.1.1.tar.xz 20963444 BLAKE2B d2be72a1c7dc41f48405ee406c419b9eb74cc02a80949965b8241331c00fbec23c32177aea0a401a76ef64a97e25e9e532c28e4f29bf88c9c2fd04f608790df6 SHA512 1f730f7db9117469aebaab33891f6064f648fa0ad25afff9ac1fab8d638c376d8e1f013401512c4be060436d6bbdfdacad6427b1e0911ac6b46288db1e242783
|
||||
|
@ -1,29 +0,0 @@
|
||||
Some 8 cmake patches were necessary to get libalkimia detection right.
|
||||
This just copies the current state of 4.8 branch.
|
||||
|
||||
--- a/CMakeLists.txt 2016-10-26 12:17:23.390317411 +0200
|
||||
+++ b/CMakeLists.txt 2016-10-26 12:17:53.750544101 +0200
|
||||
@@ -110,14 +110,21 @@
|
||||
add_custom_target(apidoc ${DOXYGEN} ${CMAKE_CURRENT_BINARY_DIR}/kmymoney.doxygen)
|
||||
endif(DOXYGEN_FOUND)
|
||||
|
||||
-find_package(LibAlkimia 4.3.2 REQUIRED)
|
||||
+find_package(LibAlkimia REQUIRED)
|
||||
#TODO: remove when LibAlkimia minimum version will be raised
|
||||
if (NOT LIBALKIMIA_LIBRARIES AND LIBALKIMIA_LIBRARY)
|
||||
# LibAlkimia 4.3.2 does not properly define LIBALKIMIA_LIBRARIES
|
||||
find_package(GMP REQUIRED)
|
||||
set(LIBALKIMIA_LIBRARIES ${GMP_LIBRARIES} ${LIBALKIMIA_LIBRARY} )
|
||||
endif()
|
||||
-
|
||||
+# make sure we have the matching version of LibAlkimia (not too new)
|
||||
+if(${LibAlkimia_FOUND})
|
||||
+ if (DEFINED ${LibAlkimia_VERSION})
|
||||
+ if (NOT "${LibAlkimia_VERSION}" VERSION_LESS "6.0.0")
|
||||
+ message(FATAL_ERROR "This version of KMyMoney requires LibAlkimia < 6.0.0 and does not work with the installed version of LibAlkimia")
|
||||
+ endif()
|
||||
+ endif()
|
||||
+endif()
|
||||
# check for PkgConfig
|
||||
find_package(PkgConfig)
|
||||
|
@ -1,38 +0,0 @@
|
||||
From b0a68ca075928aa29ee1e0007bfb14d714f5a948 Mon Sep 17 00:00:00 2001
|
||||
From: Ralf Habacker <ralf.habacker@freenet.de>
|
||||
Date: Thu, 10 Aug 2017 13:45:04 +0200
|
||||
Subject: Fix 'Compile error on Fedora 26'
|
||||
|
||||
CMake build system used some outdated variables which has been replaced
|
||||
by cmake build in variables to fix the issue.
|
||||
|
||||
FIXED-IN:4.8.1
|
||||
BUG:383351
|
||||
---
|
||||
kmymoney/dialogs/settings/CMakeLists.txt | 9 ++++-----
|
||||
1 file changed, 4 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/kmymoney/dialogs/settings/CMakeLists.txt b/kmymoney/dialogs/settings/CMakeLists.txt
|
||||
index 5aacbea..b007dfb 100644
|
||||
--- a/kmymoney/dialogs/settings/CMakeLists.txt
|
||||
+++ b/kmymoney/dialogs/settings/CMakeLists.txt
|
||||
@@ -1,12 +1,11 @@
|
||||
add_custom_command(
|
||||
- OUTPUT ${KMyMoney2_BINARY_DIR}/kmymoneysettings.h ${KMyMoney2_BINARY_DIR}/kmymoneysettings.cpp
|
||||
- DEPENDS ${KMyMoney2_SOURCE_DIR}/kmymoney.kcfg ${KMyMoney2_SOURCE_DIR}/kmymoneysettings.kcfgc
|
||||
- COMMAND ${KDE4_KCFGC_EXECUTABLE} -d ${KMyMoney2_BINARY_DIR}/ ${KMyMoney2_SOURCE_DIR}/kmymoney.kcfg ${KMyMoney2_SOURCE_DIR}/kmymoneysettings.kcfgc
|
||||
+ OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/kmymoneysettings.h ${CMAKE_CURRENT_BINARY_DIR}/kmymoneysettings.cpp
|
||||
+ DEPENDS ${CMAKE_SOURCE_DIR}/kmymoney/kmymoney.kcfg ${CMAKE_SOURCE_DIR}/kmymoney/kmymoneysettings.kcfgc
|
||||
+ COMMAND ${KDE4_KCFGC_EXECUTABLE} -d ${CMAKE_CURRENT_BINARY_DIR}/ ${CMAKE_SOURCE_DIR}/kmymoney/kmymoney.kcfg ${CMAKE_SOURCE_DIR}/kmymoney/kmymoneysettings.kcfgc
|
||||
)
|
||||
|
||||
-
|
||||
set (libsettings_a_SOURCES
|
||||
- ${KMyMoney2_BINARY_DIR}/kmymoneysettings.h
|
||||
+ ${CMAKE_CURRENT_BINARY_DIR}/kmymoneysettings.cpp
|
||||
ksettingscolors.cpp
|
||||
ksettingsfonts.cpp
|
||||
ksettingsforecast.cpp
|
||||
--
|
||||
cgit v0.11.2
|
||||
|
@ -1,289 +0,0 @@
|
||||
commit 5979b1e92d67124591d10b18b173852882f077e7
|
||||
Author: Christian Dávid <christian-david@web.de>
|
||||
Date: Mon Jun 13 00:05:27 2016 +0200
|
||||
|
||||
Removed national credit transfers
|
||||
|
||||
They are not supported by the banks anymore. So they can be removed.
|
||||
|
||||
Unfortunately they contained the only example for a task converter.
|
||||
Due to the removed plugin the CMakeLists.txt for sepa could be
|
||||
simplified.
|
||||
|
||||
Cherry-picked from d514e650
|
||||
|
||||
diff --git a/kmymoney/plugins/kbanking/aqbankingkmmoperators.cpp b/kmymoney/plugins/kbanking/aqbankingkmmoperators.cpp
|
||||
index 6c2b5d8a..8b67bcbb 100644
|
||||
--- a/kmymoney/plugins/kbanking/aqbankingkmmoperators.cpp
|
||||
+++ b/kmymoney/plugins/kbanking/aqbankingkmmoperators.cpp
|
||||
@@ -24,9 +24,9 @@
|
||||
#include <aqbanking/value.h>
|
||||
|
||||
#include "payeeidentifier/payeeidentifiertyped.h"
|
||||
+#include "payeeidentifier/nationalaccount/nationalaccount.h"
|
||||
#include "tasksettings/credittransfersettingsbase.h"
|
||||
#include "onlinetasks/sepa/tasks/sepaonlinetransfer.h"
|
||||
-#include "onlinetasks/national/tasks/germanonlinetransfer.h"
|
||||
#include "gwenhywfarqtoperators.h"
|
||||
|
||||
/**
|
||||
@@ -49,40 +49,6 @@ static const QString dtausChars = QString::fromUtf8("0123456789ABCDEFGHIJKLMNOPQ
|
||||
*/
|
||||
static const QString sepaChars = QString("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz':?.,- (+)/");
|
||||
|
||||
-QSharedPointer<germanOnlineTransfer::settings> AB_TransactionLimits_toGermanOnlineTaskSettings(const AB_TRANSACTION_LIMITS* aqlimits)
|
||||
-{
|
||||
- Q_CHECK_PTR(aqlimits);
|
||||
-
|
||||
- QSharedPointer<creditTransferSettingsBase> settings(new creditTransferSettingsBase);
|
||||
-
|
||||
- // AqBanking returns 0 as min length even if it requires one
|
||||
- int minLength = AB_TransactionLimits_GetMinLenPurpose(aqlimits);
|
||||
- if (minLength == 0)
|
||||
- minLength = 1;
|
||||
- settings->setPurposeLimits(AB_TransactionLimits_GetMaxLinesPurpose(aqlimits),
|
||||
- AB_TransactionLimits_GetMaxLenPurpose(aqlimits),
|
||||
- minLength
|
||||
- );
|
||||
-
|
||||
- // AqBanking returns 0 as min length even if it requires one
|
||||
- minLength = AB_TransactionLimits_GetMinLenRemoteName(aqlimits);
|
||||
- if (minLength == 0)
|
||||
- minLength = 1;
|
||||
- settings->setRecipientNameLimits(AB_TransactionLimits_GetMaxLinesRemoteName(aqlimits),
|
||||
- AB_TransactionLimits_GetMaxLenRemoteName(aqlimits),
|
||||
- minLength
|
||||
- );
|
||||
-
|
||||
- minLength = AB_TransactionLimits_GetMinLenLocalName(aqlimits);
|
||||
- if (minLength == 0)
|
||||
- minLength = 1;
|
||||
- settings->setPayeeNameLimits(1, AB_TransactionLimits_GetMaxLenLocalName(aqlimits), minLength);
|
||||
-
|
||||
- settings->setAllowedChars(dtausChars);
|
||||
-
|
||||
- return settings.dynamicCast<germanOnlineTransfer::settings>();
|
||||
-}
|
||||
-
|
||||
/** @todo Check if AB_TransactionLimits_GetMaxLenCustomerReference really is the limit for the sepa reference */
|
||||
QSharedPointer<sepaOnlineTransfer::settings> AB_TransactionLimits_toSepaOnlineTaskSettings(const AB_TRANSACTION_LIMITS* aqlimits)
|
||||
{
|
||||
diff --git a/kmymoney/plugins/kbanking/aqbankingkmmoperators.h b/kmymoney/plugins/kbanking/aqbankingkmmoperators.h
|
||||
index a314cd72..5205a884 100644
|
||||
--- a/kmymoney/plugins/kbanking/aqbankingkmmoperators.h
|
||||
+++ b/kmymoney/plugins/kbanking/aqbankingkmmoperators.h
|
||||
@@ -29,7 +29,6 @@
|
||||
|
||||
#include "onlinetasks/interfaces/tasks/ionlinetasksettings.h"
|
||||
#include "onlinetasks/sepa/tasks/sepaonlinetransfer.h"
|
||||
-#include "onlinetasks/national/tasks/germanonlinetransfer.h"
|
||||
|
||||
class AB_ACCOUNT;
|
||||
class AB_TRANSACTION_LIMITS;
|
||||
@@ -43,12 +42,6 @@ class nationalAccount;
|
||||
}
|
||||
|
||||
/**
|
||||
- * @brief AB_TransactionLimits_toGermanOnlineTaskSettings
|
||||
- * @param aqlimits IN
|
||||
- */
|
||||
-QSharedPointer<germanOnlineTransfer::settings> AB_TransactionLimits_toGermanOnlineTaskSettings(const AB_TRANSACTION_LIMITS* aqlimits);
|
||||
-
|
||||
-/**
|
||||
* @brief AB_TransactionLimits_toSepaOnlineTaskSettings
|
||||
* @param aqlimits IN
|
||||
*/
|
||||
diff --git a/kmymoney/plugins/kbanking/mymoneybanking.cpp b/kmymoney/plugins/kbanking/mymoneybanking.cpp
|
||||
index d8c4a571..a64eaf61 100644
|
||||
--- a/kmymoney/plugins/kbanking/mymoneybanking.cpp
|
||||
+++ b/kmymoney/plugins/kbanking/mymoneybanking.cpp
|
||||
@@ -598,11 +598,7 @@ void KBankingPlugin::sendOnlineJob(QList<onlineJob>& jobs)
|
||||
|
||||
if (!jobs.isEmpty()) {
|
||||
foreach (onlineJob job, jobs) {
|
||||
- if (germanOnlineTransfer::name() == job.task()->taskName()) {
|
||||
- onlineJobTyped<germanOnlineTransfer> typedJob(job);
|
||||
- enqueTransaction(typedJob);
|
||||
- job = typedJob;
|
||||
- } else if (sepaOnlineTransfer::name() == job.task()->taskName()) {
|
||||
+ if (sepaOnlineTransfer::name() == job.task()->taskName()) {
|
||||
onlineJobTyped<sepaOnlineTransfer> typedJob(job);
|
||||
enqueTransaction(typedJob);
|
||||
job = typedJob;
|
||||
@@ -646,14 +642,8 @@ QStringList KBankingPlugin::availableJobs(QString accountId)
|
||||
|
||||
// Check availableJobs
|
||||
|
||||
- // national transfer
|
||||
- AB_JOB *abJob = AB_JobSingleTransfer_new(abAccount);
|
||||
- if (AB_Job_CheckAvailability(abJob) == 0)
|
||||
- list.append(germanOnlineTransfer::name());
|
||||
- AB_Job_free(abJob);
|
||||
-
|
||||
// sepa transfer
|
||||
- abJob = AB_JobSepaTransfer_new(abAccount);
|
||||
+ AB_JOB* abJob = AB_JobSepaTransfer_new(abAccount);
|
||||
if (AB_Job_CheckAvailability(abJob) == 0)
|
||||
list.append(sepaOnlineTransfer::name());
|
||||
AB_Job_free(abJob);
|
||||
@@ -686,17 +676,7 @@ IonlineTaskSettings::ptr KBankingPlugin::settings(QString accountId, QString tas
|
||||
if (abAcc == 0)
|
||||
return IonlineTaskSettings::ptr();
|
||||
|
||||
- if (germanOnlineTransfer::name() == taskName) {
|
||||
- // Get Limits for germanOnlineTransfer
|
||||
- QScopedPointer<AB_JOB, QScopedPointerAbJobDeleter> abJob(AB_JobSingleTransfer_new(abAcc));
|
||||
- if (AB_Job_CheckAvailability(abJob.data()) != 0)
|
||||
- return IonlineTaskSettings::ptr();
|
||||
-
|
||||
- const AB_TRANSACTION_LIMITS* limits = AB_Job_GetFieldLimits(abJob.data());
|
||||
- return AB_TransactionLimits_toGermanOnlineTaskSettings(limits).dynamicCast<IonlineTaskSettings>();
|
||||
- //! @todo needs free? because that is not possible with const AB_TRANSACTION_LIMITS*
|
||||
- // AB_TransactionLimits_free( limits );
|
||||
- } else if (sepaOnlineTransfer::name() == taskName) {
|
||||
+ if (sepaOnlineTransfer::name() == taskName) {
|
||||
// Get limits for sepaonlinetransfer
|
||||
QScopedPointer<AB_JOB, QScopedPointerAbJobDeleter> abJob(AB_JobSepaTransfer_new(abAcc));
|
||||
if (AB_Job_CheckAvailability(abJob.data()) != 0)
|
||||
@@ -707,62 +687,6 @@ IonlineTaskSettings::ptr KBankingPlugin::settings(QString accountId, QString tas
|
||||
return IonlineTaskSettings::ptr();
|
||||
}
|
||||
|
||||
-bool KBankingPlugin::enqueTransaction(onlineJobTyped<germanOnlineTransfer>& job)
|
||||
-{
|
||||
- /* get AqBanking account */
|
||||
- QString accId = job.constTask()->responsibleAccount();
|
||||
- AB_ACCOUNT *abAccount = aqbAccount(accId);
|
||||
- if (!abAccount) {
|
||||
- job.addJobMessage(onlineJobMessage(onlineJobMessage::warning, "KBanking", i18n("<qt>"
|
||||
- "The given application account <b>%1</b> "
|
||||
- "has not been mapped to an online "
|
||||
- "account."
|
||||
- "</qt>",
|
||||
- MyMoneyFile::instance()->account(accId).name())));
|
||||
- return false;
|
||||
- }
|
||||
- //setupAccountReference(acc, ba); // needed?
|
||||
-
|
||||
- AB_JOB *abJob = AB_JobSingleTransfer_new(abAccount);
|
||||
- int rv = AB_Job_CheckAvailability(abJob);
|
||||
- if (rv) {
|
||||
- qDebug("AB_ERROR_OFFSET is %i", AB_ERROR_OFFSET);
|
||||
- job.addJobMessage(onlineJobMessage::error, "AqBanking",
|
||||
- QString("National credit transfers for account \"%1\" are not available, error code %2.").arg(MyMoneyFile::instance()->account(accId).name(), rv),
|
||||
- QString::number(rv)
|
||||
- );
|
||||
- return false;
|
||||
- }
|
||||
- AB_TRANSACTION *abTransaction = AB_Transaction_new();
|
||||
-
|
||||
- // Recipient
|
||||
- payeeIdentifiers::nationalAccount beneficiaryAcc = job.task()->beneficiaryTyped();
|
||||
- AB_Transaction_SetRemoteAccount(abTransaction, beneficiaryAcc);
|
||||
-
|
||||
- // Origin Account
|
||||
- AB_Transaction_SetLocalAccount(abTransaction, abAccount);
|
||||
-
|
||||
- // Purpose
|
||||
- QStringList qPurpose = job.task()->purpose().split('\n', QString::SkipEmptyParts);
|
||||
- GWEN_STRINGLIST *purpose = GWEN_StringList_fromQStringList(qPurpose);
|
||||
- AB_Transaction_SetPurpose(abTransaction, purpose);
|
||||
- GWEN_StringList_free(purpose);
|
||||
-
|
||||
- // Other
|
||||
- AB_Transaction_SetTextKey(abTransaction, job.task()->textKey());
|
||||
- AB_Transaction_SetValue(abTransaction, AB_Value_fromMyMoneyMoney(job.task()->value()));
|
||||
-
|
||||
- /** @todo LOW remove Debug info */
|
||||
- qDebug() << "SetTransaction: " << AB_Job_SetTransaction(abJob, abTransaction);
|
||||
-
|
||||
- GWEN_DB_NODE *gwenNode = AB_Job_GetAppData(abJob);
|
||||
- GWEN_DB_SetCharValue(gwenNode, GWEN_DB_FLAGS_DEFAULT, "kmmOnlineJobId", m_kbanking->mappingId(job).toLatin1().constData());
|
||||
-
|
||||
- qDebug() << "Enqueue: " << m_kbanking->enqueueJob(abJob);
|
||||
- //delete localAcc;
|
||||
- return true;
|
||||
-}
|
||||
-
|
||||
bool KBankingPlugin::enqueTransaction(onlineJobTyped<sepaOnlineTransfer>& job)
|
||||
{
|
||||
/* get AqBanking account */
|
||||
diff --git a/kmymoney/plugins/kbanking/mymoneybanking.h b/kmymoney/plugins/kbanking/mymoneybanking.h
|
||||
index c2559ae7..7936704e 100644
|
||||
--- a/kmymoney/plugins/kbanking/mymoneybanking.h
|
||||
+++ b/kmymoney/plugins/kbanking/mymoneybanking.h
|
||||
@@ -64,7 +64,6 @@ class KBAccountSettings;
|
||||
|
||||
#include "mymoney/onlinejobtyped.h"
|
||||
#include "onlinetasks/sepa/tasks/sepaonlinetransfer.h"
|
||||
-#include "onlinetasks/national/tasks/germanonlinetransfer.h"
|
||||
|
||||
/**
|
||||
* This class represents the KBanking plugin towards KMymoney.
|
||||
@@ -184,7 +183,6 @@ private:
|
||||
*/
|
||||
void startPasswordTimer();
|
||||
|
||||
- bool enqueTransaction(onlineJobTyped<germanOnlineTransfer>& job);
|
||||
bool enqueTransaction(onlineJobTyped<sepaOnlineTransfer>& job);
|
||||
|
||||
|
||||
diff --git a/kmymoney/plugins/kbanking/tasksettings/credittransfersettingsbase.h b/kmymoney/plugins/kbanking/tasksettings/credittransfersettingsbase.h
|
||||
index 28d55a06..3bac6ce8 100644
|
||||
--- a/kmymoney/plugins/kbanking/tasksettings/credittransfersettingsbase.h
|
||||
+++ b/kmymoney/plugins/kbanking/tasksettings/credittransfersettingsbase.h
|
||||
@@ -20,14 +20,13 @@
|
||||
#define CREDITTRANSFERSETTINGSBASE_H
|
||||
|
||||
#include "onlinetasks/sepa/tasks/sepaonlinetransfer.h"
|
||||
-#include "onlinetasks/national/tasks/germanonlinetransfer.h"
|
||||
|
||||
/**
|
||||
* @brief Base class for sepaCreditTransfer and germanCreditTransfer settings
|
||||
*
|
||||
* @internal Both credit transfers have similar fields
|
||||
*/
|
||||
-class creditTransferSettingsBase : public sepaOnlineTransfer::settings, public germanOnlineTransfer::settings
|
||||
+class creditTransferSettingsBase : public sepaOnlineTransfer::settings
|
||||
{
|
||||
public:
|
||||
creditTransferSettingsBase()
|
||||
diff --git a/kmymoney/plugins/onlinetasks/CMakeLists.txt b/kmymoney/plugins/onlinetasks/CMakeLists.txt
|
||||
index 7be53137..2e57b214 100644
|
||||
--- a/kmymoney/plugins/onlinetasks/CMakeLists.txt
|
||||
+++ b/kmymoney/plugins/onlinetasks/CMakeLists.txt
|
||||
@@ -1,5 +1,4 @@
|
||||
|
||||
add_subdirectory(interfaces)
|
||||
add_subdirectory(sepa)
|
||||
-add_subdirectory(national)
|
||||
add_subdirectory(unavailabletask)
|
||||
diff --git a/kmymoney/plugins/onlinetasks/sepa/CMakeLists.txt b/kmymoney/plugins/onlinetasks/sepa/CMakeLists.txt
|
||||
index 3c2d9db1..e3962d7a 100644
|
||||
--- a/kmymoney/plugins/onlinetasks/sepa/CMakeLists.txt
|
||||
+++ b/kmymoney/plugins/onlinetasks/sepa/CMakeLists.txt
|
||||
@@ -2,6 +2,7 @@ set( sepaOnlineTasks_SRCS
|
||||
tasks/sepaonlinetransferimpl.cpp
|
||||
ui/sepacredittransferedit.cpp
|
||||
sepastorageplugin.cpp
|
||||
+ sepaonlinetasksloader.cpp
|
||||
)
|
||||
|
||||
set( sepaOnlineTasks_HEADER
|
||||
@@ -12,14 +13,8 @@ kde4_add_ui_files( sepaOnlineTasks_SRCS
|
||||
ui/sepacredittransferedit.ui
|
||||
)
|
||||
|
||||
-automoc4( konlinetasks_sepa_OBJECTS sepaOnlineTasks_SRCS)
|
||||
-add_library( konlinetasks_sepa_OBJECTS OBJECT ${sepaOnlineTasks_SRCS} )
|
||||
-
|
||||
-# Add actual plugin here it is not part of the objects
|
||||
-# needed if multiple plugins are linked (needed for unit tests)
|
||||
-kde4_add_plugin(konlinetasks_sepa
|
||||
- $<TARGET_OBJECTS:konlinetasks_sepa_OBJECTS>
|
||||
- sepaonlinetasksloader.cpp
|
||||
+add_library(konlinetasks_sepa MODULE
|
||||
+ ${sepaOnlineTasks_SRCS}
|
||||
)
|
||||
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/kmymoney-sepaorders.desktop.in ${CMAKE_CURRENT_BINARY_DIR}/kmymoney-sepaorders.desktop)
|
@ -1,22 +0,0 @@
|
||||
From: Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com>
|
||||
Date: Sat, 06 Aug 2016 11:14:18 +0000
|
||||
Subject: Remove Qt::WindowStaysOnTopHint from CSV dialog
|
||||
X-Git-Url: http://quickgit.kde.org/?p=kmymoney.git&a=commitdiff&h=d129b22e2da6e7972008f2b5ef3eccc95d758201
|
||||
---
|
||||
Remove Qt::WindowStaysOnTopHint from CSV dialog
|
||||
|
||||
BUG: 363429
|
||||
---
|
||||
|
||||
|
||||
--- a/kmymoney/plugins/csvimport/csvdialog.cpp
|
||||
+++ b/kmymoney/plugins/csvimport/csvdialog.cpp
|
||||
@@ -224,7 +224,6 @@
|
||||
|
||||
m_investmentDlg->init();
|
||||
Qt::WindowFlags eFlags = windowFlags();
|
||||
- eFlags |= Qt::WindowStaysOnTopHint;
|
||||
m_wiz->setWindowFlags(eFlags);
|
||||
m_wiz->show();
|
||||
}// CSVDialog
|
||||
|
@ -1,77 +0,0 @@
|
||||
From cddb71b5bbe0c7d73877f0308ad0ac64d9f99c20 Mon Sep 17 00:00:00 2001
|
||||
From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
|
||||
Date: Thu, 10 Nov 2016 15:53:32 +0100
|
||||
Subject: [PATCH 1/2] Use GpgME++ if possible, QGpgme from kdepimlibs-4 as
|
||||
fallback
|
||||
|
||||
Remove bogus qgpgme include.
|
||||
|
||||
REVIEW: 129371
|
||||
---
|
||||
CMakeLists.txt | 9 ++++++++-
|
||||
libkdchart/kdablibfakes/src/KDABLibFakes.h | 3 +++
|
||||
libkgpgfile/CMakeLists.txt | 2 +-
|
||||
libkgpgfile/kgpgfile.cpp | 1 -
|
||||
4 files changed, 12 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 2251518..5a01673 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -76,7 +76,14 @@ else (WIN32)
|
||||
find_package(Boost "1.33.1" COMPONENTS graph)
|
||||
endif (WIN32)
|
||||
# needed by libkgpgfile
|
||||
-find_package(QGpgme REQUIRED)
|
||||
+find_package(Gpgmepp 1.7.0)
|
||||
+set(GPGMEPP_LIBS Gpgmepp)
|
||||
+if (NOT Gpgmepp_FOUND)
|
||||
+ find_package(QGpgme REQUIRED)
|
||||
+ set(GPGMEPP_LIBS ${QGPGME_LIBRARIES})
|
||||
+else (NOT Gpgmepp_FOUND)
|
||||
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
|
||||
+endif (NOT Gpgmepp_FOUND)
|
||||
find_package(KdepimLibs REQUIRED)
|
||||
find_package(SharedMimeInfo REQUIRED)
|
||||
|
||||
diff --git a/libkdchart/kdablibfakes/src/KDABLibFakes.h b/libkdchart/kdablibfakes/src/KDABLibFakes.h
|
||||
index f47ec24..b998723 100644
|
||||
--- a/libkdchart/kdablibfakes/src/KDABLibFakes.h
|
||||
+++ b/libkdchart/kdablibfakes/src/KDABLibFakes.h
|
||||
@@ -59,6 +59,9 @@
|
||||
#elif defined (Q_OS_DARWIN) || defined (Q_OS_CYGWIN)
|
||||
#define ISNAN(x) std::isnan(x)
|
||||
#define ISINF(x) std::isinf(x)
|
||||
+#elif defined (__GXX_EXPERIMENTAL_CXX0X) || __cplusplus >= 201103L
|
||||
+#define ISNAN(x) std::isnan(x)
|
||||
+#define ISINF(x) std::isinf(x)
|
||||
#else
|
||||
#define ISNAN(x) isnan(x)
|
||||
#define ISINF(x) isinf(x)
|
||||
diff --git a/libkgpgfile/CMakeLists.txt b/libkgpgfile/CMakeLists.txt
|
||||
index a41a6a4..a7c982e 100644
|
||||
--- a/libkgpgfile/CMakeLists.txt
|
||||
+++ b/libkgpgfile/CMakeLists.txt
|
||||
@@ -7,6 +7,6 @@ set(kgpgfile_STAT_SRCS
|
||||
)
|
||||
|
||||
kde4_add_library(kgpgfile STATIC ${kgpgfile_STAT_SRCS})
|
||||
-target_link_libraries(kgpgfile ${QGPGME_LIBRARIES})
|
||||
+target_link_libraries(kgpgfile ${GPGMEPP_LIBS})
|
||||
|
||||
|
||||
diff --git a/libkgpgfile/kgpgfile.cpp b/libkgpgfile/kgpgfile.cpp
|
||||
index b1870be..a5d3d4e 100644
|
||||
--- a/libkgpgfile/kgpgfile.cpp
|
||||
+++ b/libkgpgfile/kgpgfile.cpp
|
||||
@@ -47,7 +47,6 @@
|
||||
#include <gpgme++/keylistresult.h>
|
||||
#include <gpgme++/key.h>
|
||||
#include <gpgme++/data.h>
|
||||
-#include <qgpgme/dataprovider.h>
|
||||
|
||||
class KGPGFile::Private
|
||||
{
|
||||
--
|
||||
2.7.3
|
||||
|
@ -1,172 +0,0 @@
|
||||
From c66ab47628ad0cf76cc63de0bdf1ed578e4138ed Mon Sep 17 00:00:00 2001
|
||||
From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
|
||||
Date: Thu, 10 Nov 2016 16:18:42 +0100
|
||||
Subject: [PATCH 2/2] Make kdepimlibs optional
|
||||
|
||||
Based on b5de50ccaa1571c4feb0c17ea8016554e3b822d7 from master.
|
||||
|
||||
REVIEW: 129371
|
||||
---
|
||||
CMakeLists.txt | 5 ++++-
|
||||
kmymoney/dialogs/settings/ksettingsschedules.cpp | 5 ++++-
|
||||
kmymoney/kmymoney.cpp | 20 +++++++++++++++++++-
|
||||
3 files changed, 27 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 5a01673..6662521 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -84,7 +84,7 @@ if (NOT Gpgmepp_FOUND)
|
||||
else (NOT Gpgmepp_FOUND)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
|
||||
endif (NOT Gpgmepp_FOUND)
|
||||
-find_package(KdepimLibs REQUIRED)
|
||||
+find_package(KdepimLibs)
|
||||
find_package(SharedMimeInfo REQUIRED)
|
||||
|
||||
# set the configuration switch signaling that KDE PIM libraries were found
|
||||
@@ -417,6 +417,7 @@ macro(nice_yesno _varname)
|
||||
endif(${_varname})
|
||||
endmacro(nice_yesno _varname)
|
||||
|
||||
+nice_yesno("KdepimLibs_FOUND")
|
||||
nice_yesno("LIBOFX_FOUND")
|
||||
nice_yesno("LIBOFX_HAVE_CLIENTUID")
|
||||
nice_yesno("KBANKING_FOUND")
|
||||
@@ -433,6 +434,8 @@ message("
|
||||
|
||||
Configure results (user options):
|
||||
--------------------------------------------
|
||||
+KDE PIM holidays: ${nice_KdepimLibs_FOUND}
|
||||
+
|
||||
OFX plugin: ${nice_LIBOFX_FOUND}
|
||||
OFX clientuid support ${nice_LIBOFX_HAVE_CLIENTUID}
|
||||
|
||||
diff --git a/kmymoney/dialogs/settings/ksettingsschedules.cpp b/kmymoney/dialogs/settings/ksettingsschedules.cpp
|
||||
index da138a7..1f0d16f 100644
|
||||
--- a/kmymoney/dialogs/settings/ksettingsschedules.cpp
|
||||
+++ b/kmymoney/dialogs/settings/ksettingsschedules.cpp
|
||||
@@ -24,8 +24,10 @@
|
||||
|
||||
#include <kdeversion.h>
|
||||
#include <KStandardDirs>
|
||||
+#ifdef HAVE_KDEPIMLIBS
|
||||
#include <KHolidays/Holidays>
|
||||
using namespace KHolidays;
|
||||
+#endif
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Project Includes
|
||||
@@ -50,6 +52,7 @@ KSettingsSchedules::KSettingsSchedules(QWidget* parent) :
|
||||
void KSettingsSchedules::loadList()
|
||||
{
|
||||
QStringList regions;
|
||||
+#ifdef HAVE_KDEPIMLIBS
|
||||
QStringList regionCodes = HolidayRegion::regionCodes();
|
||||
|
||||
foreach (const QString ®ionCode, regionCodes) {
|
||||
@@ -65,7 +68,7 @@ void KSettingsSchedules::loadList()
|
||||
regions << region;
|
||||
}
|
||||
regions.sort();
|
||||
-
|
||||
+#endif
|
||||
m_regionMap[m_holidayRegion->itemText(0)] = "";
|
||||
m_holidayRegion->insertItems(1, regions);
|
||||
}
|
||||
diff --git a/kmymoney/kmymoney.cpp b/kmymoney/kmymoney.cpp
|
||||
index a4251f0..0bd2d3b 100644
|
||||
--- a/kmymoney/kmymoney.cpp
|
||||
+++ b/kmymoney/kmymoney.cpp
|
||||
@@ -89,7 +89,9 @@
|
||||
#include <kinputdialog.h>
|
||||
#include <kxmlguifactory.h>
|
||||
#include <krecentfilesaction.h>
|
||||
+#ifdef HAVE_KDEPIMLIBS
|
||||
#include <KHolidays/Holidays>
|
||||
+#endif
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Project Includes
|
||||
@@ -221,7 +223,9 @@ public:
|
||||
m_additionalKeyLabel(0),
|
||||
m_additionalKeyButton(0),
|
||||
m_recentFiles(0),
|
||||
+#ifdef HAVE_KDEPIMLIBS
|
||||
m_holidayRegion(0),
|
||||
+#endif
|
||||
m_applicationIsReady(true) {
|
||||
// since the days of the week are from 1 to 7,
|
||||
// and a day of the week is used to index this bit array,
|
||||
@@ -343,9 +347,10 @@ public:
|
||||
KPushButton* m_additionalKeyButton;
|
||||
|
||||
KRecentFilesAction* m_recentFiles;
|
||||
-
|
||||
+#ifdef HAVE_KDEPIMLIBS
|
||||
// used by the calendar interface for schedules
|
||||
KHolidays::HolidayRegion* m_holidayRegion;
|
||||
+#endif
|
||||
QBitArray m_processingDays;
|
||||
QMap<QDate, bool> m_holidayMap;
|
||||
QStringList m_consistencyCheckResult;
|
||||
@@ -455,7 +460,9 @@ KMyMoneyApp::~KMyMoneyApp()
|
||||
delete d->m_transactionEditor;
|
||||
delete d->m_endingBalanceDlg;
|
||||
delete d->m_moveToAccountSelector;
|
||||
+#ifdef HAVE_KDEPIMLIBS
|
||||
delete d->m_holidayRegion;
|
||||
+#endif
|
||||
delete d;
|
||||
}
|
||||
|
||||
@@ -7732,6 +7739,7 @@ void KMyMoneyApp::slotOnlineJobLog(const QStringList& onlineJobIds)
|
||||
|
||||
void KMyMoneyApp::setHolidayRegion(const QString& holidayRegion)
|
||||
{
|
||||
+#ifdef HAVE_KDEPIMLIBS
|
||||
//since the cost of updating the cache is now not negligible
|
||||
//check whether the region has been modified
|
||||
if (!d->m_holidayRegion || d->m_holidayRegion->regionCode() != holidayRegion) {
|
||||
@@ -7743,10 +7751,14 @@ void KMyMoneyApp::setHolidayRegion(const QString& holidayRegion)
|
||||
//clear and update the holiday cache
|
||||
preloadHolidays();
|
||||
}
|
||||
+#else
|
||||
+ Q_UNUSED(holidayRegion);
|
||||
+#endif
|
||||
}
|
||||
|
||||
bool KMyMoneyApp::isProcessingDate(const QDate& date) const
|
||||
{
|
||||
+#ifdef HAVE_KDEPIMLIBS
|
||||
if (!d->m_processingDays.testBit(date.dayOfWeek()))
|
||||
return false;
|
||||
if (!d->m_holidayRegion || !d->m_holidayRegion->isValid())
|
||||
@@ -7760,10 +7772,15 @@ bool KMyMoneyApp::isProcessingDate(const QDate& date) const
|
||||
d->m_holidayMap.insert(date, processingDay);
|
||||
return processingDay;
|
||||
}
|
||||
+#else
|
||||
+ Q_UNUSED(date);
|
||||
+ return true;
|
||||
+#endif
|
||||
}
|
||||
|
||||
void KMyMoneyApp::preloadHolidays()
|
||||
{
|
||||
+#ifdef HAVE_KDEPIMLIBS
|
||||
//clear the cache before loading
|
||||
d->m_holidayMap.clear();
|
||||
//only do this if it is a valid region
|
||||
@@ -7792,6 +7809,7 @@ void KMyMoneyApp::preloadHolidays()
|
||||
}
|
||||
}
|
||||
}
|
||||
+#endif
|
||||
}
|
||||
|
||||
KMStatus::KMStatus(const QString &text)
|
||||
--
|
||||
2.7.3
|
||||
|
@ -1,28 +0,0 @@
|
||||
From: Thomas Baumgart <thb@net-bembel.de>
|
||||
Date: Wed, 13 Jul 2016 05:48:46 +0000
|
||||
Subject: Added versioning to kmm_payeeidentifier library
|
||||
X-Git-Url: http://quickgit.kde.org/?p=kmymoney.git&a=commitdiff&h=1b818335b4242ad5096489ab4f8e3e7c3fc62d55
|
||||
---
|
||||
Added versioning to kmm_payeeidentifier library
|
||||
|
||||
The missing version caused incorrect naming of the library.
|
||||
|
||||
Modified version of patch provided by Christian Dávid in commit
|
||||
4a0fed749df71bb2acfc15bd6c0bff4806927f01
|
||||
BUG: 364387
|
||||
FIXED-IN: 4.8.1
|
||||
---
|
||||
|
||||
|
||||
--- a/kmymoney/mymoney/payeeidentifier/CMakeLists.txt
|
||||
+++ b/kmymoney/mymoney/payeeidentifier/CMakeLists.txt
|
||||
@@ -11,6 +11,8 @@
|
||||
add_library( kmm_payeeidentifier SHARED
|
||||
${PAYEEIDENTIFIER_SCRS}
|
||||
)
|
||||
+
|
||||
+set_target_properties(kmm_payeeidentifier PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION})
|
||||
|
||||
generate_export_header( kmm_payeeidentifier )
|
||||
|
||||
|
@ -1,210 +0,0 @@
|
||||
From: Cristian Oneț <onet.cristian@gmail.com>
|
||||
Date: Thu, 16 Jun 2016 07:06:32 +0000
|
||||
Subject: Fix the tests of the 4.8 build.
|
||||
X-Git-Url: http://quickgit.kde.org/?p=kmymoney.git&a=commitdiff&h=29ab40829f86f6bd32229ededcc09bf2736e67bd
|
||||
---
|
||||
Fix the tests of the 4.8 build.
|
||||
|
||||
Do this by backporting the change that is already in frameworks in commit 77085ff468336f26f6bcf5f2a1a08e16409172e6. Did not use cherry pick because the testfile was moved in frameworks.
|
||||
|
||||
BUG: 364355
|
||||
---
|
||||
|
||||
|
||||
--- a/kmymoney/mymoney/storage/mymoneymap.h
|
||||
+++ b/kmymoney/mymoney/storage/mymoneymap.h
|
||||
@@ -195,7 +195,7 @@
|
||||
that = *(dynamic_cast<QMap<Key, T>* >(const_cast<MyMoneyMap<Key, T>* >(this)));
|
||||
}
|
||||
|
||||
- inline size_t count(void) const {
|
||||
+ inline int count(void) const {
|
||||
return QMap<Key, T>::count();
|
||||
}
|
||||
|
||||
|
||||
--- a/kmymoney/mymoney/storage/mymoneyseqaccessmgrtest.cpp
|
||||
+++ b/kmymoney/mymoney/storage/mymoneyseqaccessmgrtest.cpp
|
||||
@@ -58,13 +58,13 @@
|
||||
QCOMPARE(m->m_nextPayeeID, 0ul);
|
||||
QCOMPARE(m->m_nextScheduleID, 0ul);
|
||||
QCOMPARE(m->m_nextReportID, 0ul);
|
||||
- QCOMPARE(m->m_institutionList.count(), 0ul);
|
||||
- QCOMPARE(m->m_accountList.count(), 5ul);
|
||||
- QCOMPARE(m->m_transactionList.count(), 0ul);
|
||||
- QCOMPARE(m->m_transactionKeys.count(), 0ul);
|
||||
- QCOMPARE(m->m_payeeList.count(), 0ul);
|
||||
- QCOMPARE(m->m_tagList.count(), 0ul);
|
||||
- QCOMPARE(m->m_scheduleList.count(), 0ul);
|
||||
+ QCOMPARE(m->m_institutionList.count(), 0);
|
||||
+ QCOMPARE(m->m_accountList.count(), 5);
|
||||
+ QCOMPARE(m->m_transactionList.count(), 0);
|
||||
+ QCOMPARE(m->m_transactionKeys.count(), 0);
|
||||
+ QCOMPARE(m->m_payeeList.count(), 0);
|
||||
+ QCOMPARE(m->m_tagList.count(), 0);
|
||||
+ QCOMPARE(m->m_scheduleList.count(), 0);
|
||||
|
||||
QCOMPARE(m->m_dirty, false);
|
||||
QCOMPARE(m->m_creationDate, QDate::currentDate());
|
||||
@@ -187,7 +187,7 @@
|
||||
|
||||
QCOMPARE(m->m_nextAccountID, 1ul);
|
||||
QCOMPARE(m->dirty(), true);
|
||||
- QCOMPARE(m->m_accountList.count(), static_cast<std::size_t>(6));
|
||||
+ QCOMPARE(m->m_accountList.count(), 6);
|
||||
QCOMPARE(m->m_accountList["A000001"].name(), QLatin1String("AccountName"));
|
||||
}
|
||||
|
||||
@@ -235,7 +235,7 @@
|
||||
m->m_dirty = false;
|
||||
|
||||
QCOMPARE(m->m_nextAccountID, 2ul);
|
||||
- QCOMPARE(m->m_accountList.count(), static_cast<std::size_t>(7));
|
||||
+ QCOMPARE(m->m_accountList.count(), 7);
|
||||
|
||||
// try to add account to undefined account
|
||||
try {
|
||||
@@ -271,7 +271,7 @@
|
||||
i.setName("Inst Name");
|
||||
|
||||
m->addInstitution(i);
|
||||
- QCOMPARE(m->m_institutionList.count(), static_cast<std::size_t>(1));
|
||||
+ QCOMPARE(m->m_institutionList.count(), 1);
|
||||
QCOMPARE(m->m_nextInstitutionID, 1ul);
|
||||
QCOMPARE(m->m_institutionList["I000001"].name(), QLatin1String("Inst Name"));
|
||||
}
|
||||
@@ -950,11 +950,11 @@
|
||||
// check that we can remove an unreferenced payee
|
||||
MyMoneyPayee p = m->payee("P000001");
|
||||
try {
|
||||
- QCOMPARE(m->m_payeeList.count(), static_cast<std::size_t>(1));
|
||||
+ QCOMPARE(m->m_payeeList.count(), 1);
|
||||
m->removePayee(p);
|
||||
m->commitTransaction();
|
||||
m->startTransaction();
|
||||
- QCOMPARE(m->m_payeeList.count(), static_cast<std::size_t>(0));
|
||||
+ QCOMPARE(m->m_payeeList.count(), 0);
|
||||
QCOMPARE(m->dirty(), true);
|
||||
} catch (const MyMoneyException &) {
|
||||
QFAIL("Unexpected exception");
|
||||
@@ -996,7 +996,7 @@
|
||||
QFAIL("Expected exception");
|
||||
} catch (const MyMoneyException &) {
|
||||
}
|
||||
- QCOMPARE(m->m_payeeList.count(), static_cast<std::size_t>(1));
|
||||
+ QCOMPARE(m->m_payeeList.count(), 1);
|
||||
}
|
||||
|
||||
void MyMoneySeqAccessMgrTest::testAddTag()
|
||||
@@ -1046,11 +1046,11 @@
|
||||
// check that we can remove an unreferenced tag
|
||||
MyMoneyTag ta = m->tag("G000001");
|
||||
try {
|
||||
- QCOMPARE(m->m_tagList.count(), static_cast<std::size_t>(1));
|
||||
+ QCOMPARE(m->m_tagList.count(), 1);
|
||||
m->removeTag(ta);
|
||||
m->commitTransaction();
|
||||
m->startTransaction();
|
||||
- QCOMPARE(m->m_tagList.count(), static_cast<std::size_t>(0));
|
||||
+ QCOMPARE(m->m_tagList.count(), 0);
|
||||
QCOMPARE(m->dirty(), true);
|
||||
} catch (const MyMoneyException &) {
|
||||
QFAIL("Unexpected exception");
|
||||
@@ -1094,7 +1094,7 @@
|
||||
QFAIL("Expected exception");
|
||||
} catch (const MyMoneyException &) {
|
||||
}
|
||||
- QCOMPARE(m->m_tagList.count(), static_cast<std::size_t>(1));
|
||||
+ QCOMPARE(m->m_tagList.count(), 1);
|
||||
}
|
||||
|
||||
void MyMoneySeqAccessMgrTest::testRemoveAccountFromTree()
|
||||
@@ -1267,7 +1267,7 @@
|
||||
|
||||
|
||||
try {
|
||||
- QCOMPARE(m->m_scheduleList.count(), static_cast<std::size_t>(0));
|
||||
+ QCOMPARE(m->m_scheduleList.count(), 0);
|
||||
MyMoneyTransaction t1;
|
||||
MyMoneySplit s1, s2;
|
||||
s1.setAccountId("A000001");
|
||||
@@ -1287,7 +1287,7 @@
|
||||
|
||||
m->addSchedule(schedule);
|
||||
|
||||
- QCOMPARE(m->m_scheduleList.count(), static_cast<std::size_t>(1));
|
||||
+ QCOMPARE(m->m_scheduleList.count(), 1);
|
||||
QCOMPARE(schedule.id(), QLatin1String("SCH000001"));
|
||||
QCOMPARE(m->m_scheduleList["SCH000001"].id(), QLatin1String("SCH000001"));
|
||||
} catch (const MyMoneyException &) {
|
||||
@@ -1342,7 +1342,7 @@
|
||||
sched.setName("New Sched-Name");
|
||||
try {
|
||||
m->modifySchedule(sched);
|
||||
- QCOMPARE(m->m_scheduleList.count(), static_cast<std::size_t>(1));
|
||||
+ QCOMPARE(m->m_scheduleList.count(), 1);
|
||||
QCOMPARE(m->m_scheduleList["SCH000001"].name(), QLatin1String("New Sched-Name"));
|
||||
|
||||
} catch (const MyMoneyException &) {
|
||||
@@ -1373,7 +1373,7 @@
|
||||
try {
|
||||
m->removeSchedule(sched);
|
||||
m->commitTransaction();
|
||||
- QCOMPARE(m->m_scheduleList.count(), static_cast<std::size_t>(0));
|
||||
+ QCOMPARE(m->m_scheduleList.count(), 0);
|
||||
|
||||
} catch (const MyMoneyException &) {
|
||||
m->rollbackTransaction();
|
||||
@@ -1548,13 +1548,13 @@
|
||||
void MyMoneySeqAccessMgrTest::testAddCurrency()
|
||||
{
|
||||
MyMoneySecurity curr("EUR", "Euro", "?", 100, 100);
|
||||
- QCOMPARE(m->m_currencyList.count(), static_cast<std::size_t>(0));
|
||||
+ QCOMPARE(m->m_currencyList.count(), 0);
|
||||
m->m_dirty = false;
|
||||
try {
|
||||
m->addCurrency(curr);
|
||||
m->commitTransaction();
|
||||
m->startTransaction();
|
||||
- QCOMPARE(m->m_currencyList.count(), static_cast<std::size_t>(1));
|
||||
+ QCOMPARE(m->m_currencyList.count(), 1);
|
||||
QCOMPARE(m->m_currencyList["EUR"].name(), QLatin1String("Euro"));
|
||||
QCOMPARE(m->dirty(), true);
|
||||
} catch (const MyMoneyException &) {
|
||||
@@ -1582,7 +1582,7 @@
|
||||
m->modifyCurrency(curr);
|
||||
m->commitTransaction();
|
||||
m->startTransaction();
|
||||
- QCOMPARE(m->m_currencyList.count(), static_cast<std::size_t>(1));
|
||||
+ QCOMPARE(m->m_currencyList.count(), 1);
|
||||
QCOMPARE(m->m_currencyList["EUR"].name(), QLatin1String("EURO"));
|
||||
QCOMPARE(m->dirty(), true);
|
||||
} catch (const MyMoneyException &) {
|
||||
@@ -1611,7 +1611,7 @@
|
||||
m->removeCurrency(curr);
|
||||
m->commitTransaction();
|
||||
m->startTransaction();
|
||||
- QCOMPARE(m->m_currencyList.count(), static_cast<std::size_t>(0));
|
||||
+ QCOMPARE(m->m_currencyList.count(), 0);
|
||||
QCOMPARE(m->dirty(), true);
|
||||
} catch (const MyMoneyException &) {
|
||||
QFAIL("Unexpected exception");
|
||||
@@ -1668,7 +1668,7 @@
|
||||
try {
|
||||
m->addCurrency(unknownCurr);
|
||||
m->m_dirty = false;
|
||||
- QCOMPARE(m->m_currencyList.count(), static_cast<std::size_t>(2));
|
||||
+ QCOMPARE(m->m_currencyList.count(), 2);
|
||||
QCOMPARE(m->currencyList().count(), 2);
|
||||
QCOMPARE(m->dirty(), false);
|
||||
} catch (const MyMoneyException &) {
|
||||
@@ -1797,7 +1797,7 @@
|
||||
|
||||
QCOMPARE(m->m_nextOnlineJobID, 1ul);
|
||||
QCOMPARE(m->dirty(), true);
|
||||
- QCOMPARE(m->m_onlineJobList.count(), static_cast<std::size_t>(1));
|
||||
+ QCOMPARE(m->m_onlineJobList.count(), 1);
|
||||
QVERIFY(! m->m_onlineJobList["O000001"].isNull());
|
||||
|
||||
}
|
||||
|
@ -1,89 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
SQL_REQUIRED="always"
|
||||
VIRTUALX_REQUIRED="test"
|
||||
VIRTUALDBUS_TEST="true"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="Personal finance manager by KDE"
|
||||
HOMEPAGE="https://kmymoney.org/"
|
||||
if [[ ${KDE_BUILD_TYPE} = release ]]; then
|
||||
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="4"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="calendar debug doc hbci ofx quotes weboob"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=app-crypt/gpgme-1.7.0[cxx]
|
||||
<app-office/libalkimia-6.0.0
|
||||
dev-libs/gmp:0=
|
||||
dev-libs/libgpg-error
|
||||
x11-misc/shared-mime-info
|
||||
calendar? ( dev-libs/libical:= )
|
||||
hbci? (
|
||||
>=net-libs/aqbanking-5.5.1
|
||||
>=sys-libs/gwenhywfar-4.15.3[qt4]
|
||||
)
|
||||
ofx? ( >=dev-libs/libofx-0.9.4 )
|
||||
weboob? ( www-client/weboob )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
quotes? ( dev-perl/Finance-Quote )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-libs/boost
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-tests.patch"
|
||||
"${FILESDIR}/${P}-alkimia-detect.patch"
|
||||
"${FILESDIR}/${P}-fix-csvdialog.patch"
|
||||
"${FILESDIR}/${P}-soversion.patch"
|
||||
"${FILESDIR}/${P}-gpgmepp.patch"
|
||||
"${FILESDIR}/${P}-kdepimlibs-optional.patch"
|
||||
"${FILESDIR}/${P}-drop-national-onlinetasks.patch"
|
||||
"${FILESDIR}/${P}-cmake-3.9.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
kde4-base_src_prepare
|
||||
|
||||
# don't install as executable
|
||||
sed -i kmymoney/CMakeLists.txt \
|
||||
-e "/install.*kmymoney.appdata/ s/PROGRAMS/FILES/" || die
|
||||
|
||||
# bug #617636, complement to drop-national-onlinetasks.patch
|
||||
rm -r kmymoney/plugins/onlinetasks/national || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DUSE_QT_DESIGNER=OFF
|
||||
-DENABLE_LIBICAL=$(usex calendar)
|
||||
-DUSE_DEVELOPER_DOC=$(usex doc)
|
||||
-DENABLE_KBANKING=$(usex hbci)
|
||||
-DENABLE_LIBOFX=$(usex ofx)
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_KdepimLibs=ON
|
||||
-DENABLE_WEBOOB=$(usex weboob)
|
||||
)
|
||||
kde4-base_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
kde4-base_src_compile
|
||||
use doc && kde4-base_src_compile apidoc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use doc && HTML_DOCS=("${BUILD_DIR}/apidocs/html/")
|
||||
kde4-base_src_install
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue