glib2 2.62.4

This commit is contained in:
idriskalp
2019-12-22 18:57:32 +03:00
parent 8c28deef83
commit 05c5b365bc
3 changed files with 55 additions and 21 deletions
+25 -17
View File
@@ -11,41 +11,49 @@ from pisi.actionsapi import shelltools
def setup():
options = "--with-pcre=system \
--disable-fam \
--disable-libelf \
--enable-gtk-doc=no \
--disable-libmount \
--disable-static \
--enable-shared \
--disable-man \
--enable-systemtap"
options = "-Dselinux=disabled \
-Dman=true \
-Dgtk_doc=false"
if get.buildTYPE() == "_emul32":
options += " --libdir=/usr/lib32 \
--bindir=/_emul32/bin \
--sbindir=/_emul32/sbin \
--disable-dtrace"
--prefix=/usr"
shelltools.export("CC", "%s -m32" % get.CC())
shelltools.export("CXX", "%s -m32" % get.CXX())
shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")
else :
options += " --libdir=/usr/lib \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--datadir=/usr/share \
--prefix=/usr"
#autotools.autoreconf("-vif")
autotools.configure(options)
shelltools.makedirs("build")
shelltools.cd("build")
shelltools.system("meson .. %s" % options)
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
#pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make("-j1")
#autotools.make("-j1")
shelltools.cd("build")
shelltools.system("ninja")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("build")
#autotools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.system("ninja install")
if get.buildTYPE() == "_emul32":
pisitools.domove("/_emul32/bin/gio-querymodules", "/usr/bin/32/")
pisitools.removeDir("/_emul32")
pisitools.removeDir("/usr/share/gdb")
pisitools.dodoc("AUTHORS", "ChangeLog", "README", "NEWS")
#pisitools.removeDir("/usr/share/gdb")
if get.buildTYPE() != "_emul32":
shelltools.cd("..")
pisitools.dodoc("AUTHORS", "COPYING", "README*")
@@ -0,0 +1,24 @@
diff --git i/gio/glib-compile-schemas.c w/gio/glib-compile-schemas.c
index b8de0907248f6860..130f89b1728f7932 100644
--- i/gio/glib-compile-schemas.c
+++ w/gio/glib-compile-schemas.c
@@ -1219,19 +1219,6 @@ parse_state_start_schema (ParseState *state,
return;
}
- if (path && (g_str_has_prefix (path, "/apps/") ||
- g_str_has_prefix (path, "/desktop/") ||
- g_str_has_prefix (path, "/system/")))
- {
- gchar *message = NULL;
- message = g_strdup_printf (_("Warning: Schema “%s” has path “%s”. "
- "Paths starting with "
- "“/apps/”, “/desktop/” or “/system/” are deprecated."),
- id, path);
- g_printerr ("%s\n", message);
- g_free (message);
- }
-
state->schema_state = schema_state_new (path, gettext_domain,
extends, extends_name, list_of);
+6 -4
View File
@@ -12,15 +12,17 @@
<IsA>library</IsA>
<Summary>A library of handy utility functions</Summary>
<Description>glib2 is the low-level core library that forms the basis for projects such as GTK+ and GNOME. It provides data structure handling for C, portability wrappers, and interfaces for such runtime functionality as an event loop, threads, dynamic loading, and an object system.</Description>
<Archive sha1sum="12d7466550156ac8a765f603b0df7604cdf34cfd" type="tarxz">mirrors://gnome/glib/2.54/glib-2.54.3.tar.xz</Archive>
<Archive sha1sum="f9a493c86f98482f13c6ed742c19487e6fa8f34b" type="tarxz">mirrors://gnome/glib/2.62/glib-2.62.4.tar.xz</Archive>
<BuildDependencies>
<Dependency versionFrom="8.36">libpcre-devel</Dependency>
<Dependency versionFrom="8.43">libpcre-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>libffi-devel</Dependency>
<Dependency>docbook-xsl</Dependency>
<Dependency>meson</Dependency>
<Dependency>ninja</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">deprecated-no-warn.patch</Patch>
<Patch>glib-2.54.3-skip_warnings-1.patch</Patch>
<Patch level="1">noisy-glib-compile-schemas.diff</Patch>
</Patches>
</Source>