new package: zenity (#316)
This commit is contained in:
parent
fdd543f299
commit
ec3365e240
8
x11-packages/zenity/Makefile.am.patch
Normal file
8
x11-packages/zenity/Makefile.am.patch
Normal 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
|
||||||
|
|
10
x11-packages/zenity/build.sh
Normal file
10
x11-packages/zenity/build.sh
Normal 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
|
||||||
|
}
|
11
x11-packages/zenity/main.c.patch
Normal file
11
x11-packages/zenity/main.c.patch
Normal 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);
|
Loading…
Reference in New Issue
Block a user