Initial import
This commit is contained in:
3
x11-terms/terminology/Manifest
Normal file
3
x11-terms/terminology/Manifest
Normal file
@@ -0,0 +1,3 @@
|
||||
AUX terminology-1.5.0-autohide.patch 2281 SHA256 bb44845d6d175dbe3f727bd5c7ad16b5bec1ae57bfad2f194afa79df0ae7aaa4 SHA512 92d08232ffe0fcf56171ad3ec9d5c272381dabaa34f21f19ba8e77c7add73d4caf04d271d1243e55cdc23bf010ac57d56088d514412efed394fc743a827cdb1a WHIRLPOOL ed514b40984829c9cfd7c097ffe857bae0e41a687c37d22b0e2fd8489563820bfd939b76f681a606af107ee93611669232074edff799023ce606cb1d07a84bb1
|
||||
DIST terminology-1.5.0.tar.xz 4884284 SHA256 de55e503b382bb7c42a7def04c5ef7bff01e3e1fb0b379a4591544899eab8a6c SHA512 ade2363e0a834b25a67157d0cfa946b3b09d8a2941fd7da9dd3792cf8d201f218c7723b691eab325d9bdadeefddfea56c19e562ebc37466cb3a9b3b45c9f708b WHIRLPOOL 2bf2cffc74b8059e68808f835009aa3e920e7e708179c801ca9f40ef6ef1e3a8c8b480a49c23d78c62a5c1ea6840f423ab90b81554747dd8846be568db39b9f5
|
||||
EBUILD terminology-1.5.0-r1.ebuild 934 SHA256 fc608849288402ff633d2645a80edf77c8ca8f009dfd32e0a62be7b719750c09 SHA512 76f14a700aa10c6862e404c047d9fdcf66bf8d0cf820a3de3eaa3e7fc4e0402006e954ee0f08086bff8772c741f5f81be2f41dfbafdd069d5460d9988502b94a WHIRLPOOL 28c820caaa9d0c0e42051f79340fa846e7449b8f139fdbb08c002f95ac36414a38a2ea44bdc66c78bb874fc82e9076d406a0eb96be6355544ef407caf542ee8b
|
||||
61
x11-terms/terminology/files/terminology-1.5.0-autohide.patch
Normal file
61
x11-terms/terminology/files/terminology-1.5.0-autohide.patch
Normal file
@@ -0,0 +1,61 @@
|
||||
diff -ur a/src/bin/config.h b/src/bin/config.h
|
||||
--- a/src/bin/config.h 2019-09-11 17:37:45.989627197 -0400
|
||||
+++ b/src/bin/config.h 2019-09-11 17:30:25.221997408 -0400
|
||||
@@ -116,4 +116,6 @@
|
||||
const char *config_theme_path_get(const Config *config);
|
||||
const char *config_theme_path_default_get(const Config *config);
|
||||
|
||||
+#define CONFIG_CURSOR_IDLE_TIMEOUT_MAX 60.0
|
||||
+
|
||||
#endif
|
||||
diff -ur a/src/bin/options_behavior.c b/src/bin/options_behavior.c
|
||||
--- a/src/bin/options_behavior.c 2019-09-11 17:37:45.990627176 -0400
|
||||
+++ b/src/bin/options_behavior.c 2019-09-11 17:31:58.374017228 -0400
|
||||
@@ -221,7 +221,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
- config->hide_cursor = INFINITY;
|
||||
+ config->hide_cursor = CONFIG_CURSOR_IDLE_TIMEOUT_MAX + 1.0;
|
||||
elm_object_disabled_set(ctx->sld_hide_cursor, EINA_TRUE);
|
||||
}
|
||||
config_save(config, NULL);
|
||||
@@ -629,7 +629,7 @@
|
||||
evas_object_size_hint_align_set(o, EVAS_HINT_FILL, 0.5);
|
||||
elm_object_text_set(o, _("Translucent"));
|
||||
elm_object_text_set(o, _("Auto hide the mouse cursor when idle:"));
|
||||
- elm_check_state_set(o, !isnan(config->hide_cursor));
|
||||
+ elm_check_state_set(o, config->hide_cursor < CONFIG_CURSOR_IDLE_TIMEOUT_MAX);
|
||||
elm_box_pack_end(bx, o);
|
||||
evas_object_show(o);
|
||||
evas_object_smart_callback_add(o, "changed",
|
||||
@@ -643,7 +643,7 @@
|
||||
elm_slider_span_size_set(o, 40);
|
||||
elm_slider_unit_format_set(o, _("%1.1f s"));
|
||||
elm_slider_indicator_format_set(o, _("%1.1f s"));
|
||||
- elm_slider_min_max_set(o, 0.0, 60.0);
|
||||
+ elm_slider_min_max_set(o, 0.0, CONFIG_CURSOR_IDLE_TIMEOUT_MAX);
|
||||
elm_slider_value_set(o, config->hide_cursor);
|
||||
elm_box_pack_end(bx, o);
|
||||
evas_object_show(o);
|
||||
diff -ur a/src/bin/win.c b/src/bin/win.c
|
||||
--- a/src/bin/win.c 2019-09-11 17:37:45.990627176 -0400
|
||||
+++ b/src/bin/win.c 2019-09-11 17:33:06.533568215 -0400
|
||||
@@ -1609,7 +1609,7 @@
|
||||
if (wn->on_popover)
|
||||
return;
|
||||
|
||||
- if (!isnan(wn->config->hide_cursor))
|
||||
+ if (wn->config->hide_cursor < CONFIG_CURSOR_IDLE_TIMEOUT_MAX)
|
||||
{
|
||||
if (wn->hide_cursor_timer)
|
||||
{
|
||||
@@ -1819,7 +1819,7 @@
|
||||
|
||||
}
|
||||
|
||||
- if (!isnan(wn->config->hide_cursor))
|
||||
+ if (wn->config->hide_cursor < CONFIG_CURSOR_IDLE_TIMEOUT_MAX)
|
||||
{
|
||||
wn->hide_cursor_timer = ecore_timer_add(
|
||||
wn->config->hide_cursor, _hide_cursor, wn);
|
||||
49
x11-terms/terminology/terminology-1.5.0-r1.ebuild
Normal file
49
x11-terms/terminology/terminology-1.5.0-r1.ebuild
Normal file
@@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit meson xdg-utils
|
||||
|
||||
DESCRIPTION="Feature rich terminal emulator using the Enlightenment Foundation Libraries"
|
||||
HOMEPAGE="https://www.enlightenment.org/about-terminology"
|
||||
SRC_URI="https://download.enlightenment.org/rel/apps/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 x86"
|
||||
IUSE="extras nls"
|
||||
|
||||
RDEPEND="
|
||||
|| ( dev-libs/efl[gles2] dev-libs/efl[opengl] )
|
||||
|| ( dev-libs/efl[X] dev-libs/efl[wayland] )
|
||||
app-arch/lz4
|
||||
dev-libs/efl[eet,fontconfig]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}/${P}-autohide.patch"
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_use nls)
|
||||
$(meson_use extras tests)
|
||||
)
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
Reference in New Issue
Block a user