bump(x11/xarchiver): 0.5.4.23
This commit is contained in:
parent
a5177dc636
commit
d79307b147
|
@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/ib/xarchiver
|
|||
TERMUX_PKG_DESCRIPTION="GTK+ frontend to various command line archivers"
|
||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION="0.5.4.22"
|
||||
TERMUX_PKG_VERSION="0.5.4.23"
|
||||
TERMUX_PKG_SRCURL=https://github.com/ib/xarchiver/archive/${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=425b203f59a5e3d0747e80cbbe0af0beb0f9b77bbe29a9b233e85c54a4ff6193
|
||||
TERMUX_PKG_SHA256=319935cd323e865d8aa12023b5286c314c128491ac58e853e63f6d6ea3da2a27
|
||||
TERMUX_PKG_AUTO_UPDATE=true
|
||||
TERMUX_PKG_UPDATE_TAG_TYPE="newest-tag"
|
||||
TERMUX_PKG_DEPENDS="gdk-pixbuf, glib, gtk3"
|
||||
|
|
|
@ -1,21 +1,20 @@
|
|||
diff -uNr xarchiver-0.5.4.13/src/pref_dialog.c xarchiver-0.5.4.13.mod/src/pref_dialog.c
|
||||
--- xarchiver-0.5.4.13/src/pref_dialog.c 2018-03-13 12:22:11.000000000 +0200
|
||||
+++ xarchiver-0.5.4.13.mod/src/pref_dialog.c 2018-06-23 22:33:11.088517276 +0300
|
||||
@@ -357,7 +357,7 @@
|
||||
gtk_misc_set_alignment (GTK_MISC (label9), 0, 0.5);
|
||||
prefs_data->combo_prefered_temp_dir = gtk_combo_box_text_new();
|
||||
gtk_combo_box_set_focus_on_click(GTK_COMBO_BOX(prefs_data->combo_prefered_temp_dir), FALSE);
|
||||
- gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(prefs_data->combo_prefered_temp_dir), _("/tmp"));
|
||||
+ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(prefs_data->combo_prefered_temp_dir), _("@TERMUX_PREFIX@/tmp"));
|
||||
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(prefs_data->combo_prefered_temp_dir), _("choose..."));
|
||||
g_signal_connect (prefs_data->combo_prefered_temp_dir,"changed",G_CALLBACK (xa_prefs_combo_changed),GUINT_TO_POINTER(1));
|
||||
gtk_table_attach(GTK_TABLE(table2), prefs_data->combo_prefered_temp_dir, 1, 2, 5, 6,
|
||||
@@ -369,7 +369,7 @@
|
||||
gtk_misc_set_alignment (GTK_MISC (label10), 0, 0.5);
|
||||
prefs_data->combo_prefered_extract_dir = gtk_combo_box_text_new();
|
||||
gtk_combo_box_set_focus_on_click(GTK_COMBO_BOX(prefs_data->combo_prefered_extract_dir), FALSE);
|
||||
- gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(prefs_data->combo_prefered_extract_dir), _("/tmp"));
|
||||
+ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(prefs_data->combo_prefered_extract_dir), _("@TERMUX_PREFIX@/tmp"));
|
||||
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(prefs_data->combo_prefered_extract_dir), _("choose..."));
|
||||
g_signal_connect (prefs_data->combo_prefered_extract_dir,"changed",G_CALLBACK (xa_prefs_combo_changed),GUINT_TO_POINTER(1));
|
||||
gtk_table_attach(GTK_TABLE(table2), prefs_data->combo_prefered_extract_dir, 1, 2, 6, 7,
|
||||
--- a/src/pref_dialog.c
|
||||
+++ b/src/pref_dialog.c
|
||||
@@ -384,7 +384,7 @@
|
||||
prefs_dialog->preferred_temp_dir = gtk_combo_box_text_new();
|
||||
gtk_table_attach(GTK_TABLE(table), prefs_dialog->preferred_temp_dir,
|
||||
1, 2, 5, 6, GTK_EXPAND | GTK_FILL, GTK_SHRINK, 0, 0);
|
||||
- gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(prefs_dialog->preferred_temp_dir), _("/tmp"));
|
||||
+ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(prefs_dialog->preferred_temp_dir), _("@TERMUX_PREFIX@/tmp"));
|
||||
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(prefs_dialog->preferred_temp_dir), _("choose..."));
|
||||
gtk_combo_box_set_focus_on_click(GTK_COMBO_BOX(prefs_dialog->preferred_temp_dir), FALSE);
|
||||
g_signal_connect(prefs_dialog->preferred_temp_dir, "changed", G_CALLBACK(xa_prefs_combo_changed), GUINT_TO_POINTER(1));
|
||||
@@ -397,7 +397,7 @@
|
||||
prefs_dialog->preferred_extract_dir = gtk_combo_box_text_new();
|
||||
gtk_table_attach(GTK_TABLE(table), prefs_dialog->preferred_extract_dir,
|
||||
1, 2, 6, 7, GTK_EXPAND | GTK_FILL, GTK_SHRINK, 0, 0);
|
||||
- gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(prefs_dialog->preferred_extract_dir), _("/tmp"));
|
||||
+ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(prefs_dialog->preferred_extract_dir), _("@TERMUX_PREFIX@/tmp"));
|
||||
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(prefs_dialog->preferred_extract_dir), _("choose..."));
|
||||
gtk_combo_box_set_focus_on_click(GTK_COMBO_BOX(prefs_dialog->preferred_extract_dir), FALSE);
|
||||
g_signal_connect(prefs_dialog->preferred_extract_dir, "changed", G_CALLBACK(xa_prefs_combo_changed), GUINT_TO_POINTER(1));
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
--- a/src/extract_dialog.c
|
||||
+++ b/src/extract_dialog.c
|
||||
@@ -909,7 +909,7 @@
|
||||
if (!path || !*path)
|
||||
{
|
||||
g_free(path);
|
||||
- path = g_strdup("/tmp");
|
||||
+ path = g_strdup("@TERMUX_PREFIX@/tmp");
|
||||
}
|
||||
|
||||
gtk_entry_set_text(GTK_ENTRY(multi_extract->destination_path_entry), path);
|
Loading…
Reference in New Issue