mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-05 18:33:17 +00:00
bump(x11/thunar): 4.20.0
This commit is contained in:
22
x11-packages/thunar/0001-fix-hardcoded-paths.patch
Normal file
22
x11-packages/thunar/0001-fix-hardcoded-paths.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
--- a/plugins/thunar-sendto-email/main.c
|
||||
+++ b/plugins/thunar-sendto-email/main.c
|
||||
@@ -434,7 +434,7 @@
|
||||
gint n;
|
||||
|
||||
/* create a temporary directory */
|
||||
- tmpdir = g_strdup ("/tmp/thunar-sendto-email.XXXXXX");
|
||||
+ tmpdir = g_strdup ("@TERMUX_PREFIX@/tmp/thunar-sendto-email.XXXXXX");
|
||||
if (G_UNLIKELY (mkdtemp (tmpdir) == NULL))
|
||||
{
|
||||
/* tell the user that we failed to create a temporary directory */
|
||||
--- a/plugins/thunar-uca/thunar-uca-model.c
|
||||
+++ b/plugins/thunar-uca/thunar-uca-model.c
|
||||
@@ -53,7 +53,7 @@
|
||||
|
||||
/* not all systems define _PATH_BSHELL */
|
||||
#ifndef _PATH_BSHELL
|
||||
-#define _PATH_BSHELL "/bin/sh"
|
||||
+#define _PATH_BSHELL "@TERMUX_PREFIX@/bin/sh"
|
||||
#endif
|
||||
|
||||
|
||||
@@ -2,20 +2,20 @@ TERMUX_PKG_HOMEPAGE=https://docs.xfce.org/xfce/thunar/start
|
||||
TERMUX_PKG_DESCRIPTION="Modern file manager for XFCE environment"
|
||||
TERMUX_PKG_LICENSE="GPL-2.0, LGPL-2.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION="4.18.11"
|
||||
TERMUX_PKG_VERSION="4.20.0"
|
||||
TERMUX_PKG_SRCURL=https://archive.xfce.org/src/xfce/thunar/${TERMUX_PKG_VERSION%.*}/thunar-${TERMUX_PKG_VERSION}.tar.bz2
|
||||
TERMUX_PKG_SHA256=7d0bdae2076a568c137d403ab5600e06a7a4f7a02514d486da7b8414aa75d612
|
||||
TERMUX_PKG_SHA256=27731a76f3aecf3752b1ca35afad89e264c52244f70083d933507dd4a17548b0
|
||||
TERMUX_PKG_AUTO_UPDATE=true
|
||||
TERMUX_PKG_DEPENDS="atk, desktop-file-utils, exo, gdk-pixbuf, glib, gtk3, harfbuzz, libcairo, libexif, libice, libnotify, libsm, libx11, libxfce4ui, libxfce4util, pango, pcre2, shared-mime-info, xfce4-panel, xfconf, zlib"
|
||||
TERMUX_PKG_BUILD_DEPENDS="g-ir-scanner"
|
||||
TERMUX_PKG_BUILD_DEPENDS="g-ir-scanner, xfce4-dev-tools"
|
||||
TERMUX_PKG_RECOMMENDS="gvfs, hicolor-icon-theme, thunar-archive-plugin, tumbler"
|
||||
TERMUX_PKG_VERSIONED_GIR=false
|
||||
TERMUX_PKG_DISABLE_GIR=false
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
||||
--disable-debug
|
||||
--enable-gtk-doc-html=no
|
||||
--enable-introspection=yes
|
||||
"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
|
||||
termux_step_pre_configure() {
|
||||
termux_setup_gir
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
</signal>
|
||||
</interface>
|
||||
<boxed name="ThunarxFileInfoList" get-type="thunarx_file_info_list_get_type"/>
|
||||
<interface name="ThunarxMenuProvider" get-type="thunarx_menu_provider_get_type">
|
||||
</interface>
|
||||
<class name="ThunarxMenu" get-type="thunarx_menu_get_type" parents="GObject">
|
||||
</class>
|
||||
<class name="ThunarxMenuItem" get-type="thunarx_menu_item_get_type" parents="GObject">
|
||||
@@ -20,8 +22,6 @@
|
||||
<signal name="activate" return="void" when="last">
|
||||
</signal>
|
||||
</class>
|
||||
<interface name="ThunarxMenuProvider" get-type="thunarx_menu_provider_get_type">
|
||||
</interface>
|
||||
<interface name="ThunarxPreferencesProvider" get-type="thunarx_preferences_provider_get_type">
|
||||
</interface>
|
||||
<class name="ThunarxPropertyPage" get-type="thunarx_property_page_get_type" parents="GtkBin,GtkContainer,GtkWidget,GInitiallyUnowned,GObject">
|
||||
|
||||
Reference in New Issue
Block a user