new package: zenity (#316)

This commit is contained in:
Suhan G Paradkar 2021-05-11 16:45:10 +05:30 committed by Yaksh Bariya
parent fdd543f299
commit ec3365e240
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
3 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,8 @@
diff '--color=auto' -uNr zenity-ZENITY_3_32_0/help/Makefile.am zenity-ZENITY_3_32_0.mod/help/Makefile.am
--- zenity-ZENITY_3_32_0/help/Makefile.am 2019-03-22 15:37:18.000000000 +0530
+++ zenity-ZENITY_3_32_0.mod/help/Makefile.am 2021-05-11 10:14:01.874017794 +0530
@@ -1,4 +1,3 @@
-@YELP_HELP_RULES@
HELP_ID = zenity

View File

@ -0,0 +1,10 @@
TERMUX_PKG_HOMEPAGE=https://gitlab.gnome.org/GNOME/zenity
TERMUX_PKG_DESCRIPTION="a rewrite of gdialog, the GNOME port of dialog"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_VERSION=3.32.0
TERMUX_PKG_SRCURL=https://download.gnome.org/sources/zenity/${TERMUX_PKG_VERSION:0:4}/zenity-$TERMUX_PKG_VERSION.tar.xz
TERMUX_PKG_SHA256=e786e733569c97372c3ef1776e71be7e7599ebe87e11e8ad67dcc2e63a82cd95
TERMUX_PKG_DEPENDS="glib, gtk3"
termux_step_pre_configure() {
autoreconf -fi
}

View File

@ -0,0 +1,11 @@
diff '--color=auto' -uNr zenity-ZENITY_3_32_0/src/main.c zenity-ZENITY_3_32_0.mod/src/main.c
--- zenity-ZENITY_3_32_0/src/main.c 2019-03-22 15:37:18.000000000 +0530
+++ zenity-ZENITY_3_32_0.mod/src/main.c 2021-05-10 19:13:47.618026514 +0530
@@ -44,7 +44,6 @@
#endif
bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
- bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
gtk_init (&argc, &argv);