new package: glade
This commit is contained in:
parent
46c619a5d5
commit
6b5f6cb622
9
x11-packages/glade/build.sh
Normal file
9
x11-packages/glade/build.sh
Normal file
@ -0,0 +1,9 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://glade.gnome.org/
|
||||
TERMUX_PKG_DESCRIPTION="User interface designer for Gtk+ and GNOME"
|
||||
TERMUX_PKG_LICENSE="LGPL-3.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=3.38.2
|
||||
TERMUX_PKG_SRCURL=https://github.com/GNOME/glade/archive/refs/tags/GLADE_3_38_2.tar.gz
|
||||
TERMUX_PKG_SHA256=8abd1e7e6f943156602c6591e763ff40cffc68ea144c523d9702276f54b91b1b
|
||||
TERMUX_PKG_DEPENDS="atk, fontconfig, freetype, gdk-pixbuf, glib, gtk3, libcairo, libxml2, pango, xsltproc, libglade"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-Dintrospection=false"
|
21
x11-packages/glade/fix-open-redef.patch
Normal file
21
x11-packages/glade/fix-open-redef.patch
Normal file
@ -0,0 +1,21 @@
|
||||
diff -uNr glade-GLADE_3_38_2/src/main.c glade-GLADE_3_38_2.mod/src/main.c
|
||||
--- glade-GLADE_3_38_2/src/main.c 2020-11-20 22:06:30.000000000 +0200
|
||||
+++ glade-GLADE_3_38_2.mod/src/main.c 2021-08-16 00:35:48.479806643 +0300
|
||||
@@ -110,7 +110,7 @@
|
||||
}
|
||||
|
||||
static void
|
||||
-open (GApplication *application,
|
||||
+glade_open (GApplication *application,
|
||||
GFile **files,
|
||||
gint n_files,
|
||||
const gchar *hint)
|
||||
@@ -191,7 +191,7 @@
|
||||
g_signal_connect (app, "handle-local-options", G_CALLBACK (handle_local_options), NULL);
|
||||
g_signal_connect (app, "startup", G_CALLBACK (startup), NULL);
|
||||
g_signal_connect (app, "activate", G_CALLBACK (activate), NULL);
|
||||
- g_signal_connect (app, "open", G_CALLBACK (open), NULL);
|
||||
+ g_signal_connect (app, "open", G_CALLBACK (glade_open), NULL);
|
||||
|
||||
status = g_application_run (G_APPLICATION (app), argc, argv);
|
||||
g_object_unref (app);
|
12
x11-packages/glade/meson.build.patch
Normal file
12
x11-packages/glade/meson.build.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -uNr glade-GLADE_3_38_2/meson.build glade-GLADE_3_38_2.mod/meson.build
|
||||
--- glade-GLADE_3_38_2/meson.build 2020-11-20 22:06:30.000000000 +0200
|
||||
+++ glade-GLADE_3_38_2.mod/meson.build 2021-08-16 00:30:10.241414718 +0300
|
||||
@@ -224,7 +224,7 @@
|
||||
return 0;
|
||||
}
|
||||
'''
|
||||
-tls_backend_support = cc.run(tls_backend_support_src, dependencies: gio_dep).stdout()
|
||||
+tls_backend_support = 'false'
|
||||
|
||||
output = '\nConfiguration:\n\n'
|
||||
output += '\tCompiler: ' + cc.get_id() + '\n'
|
Loading…
Reference in New Issue
Block a user