diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-04 21:03:51 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-04 21:03:51 +0000 |
commit | c4d92ab721dfc646b4a58429d965e9446294ce26 (patch) | |
tree | 8c0c331362f99c256c191229ac424b1cc8698005 /net-libs/libnma | |
parent | 5565fb7867ee9faddf046e42a0a3a1a207803938 (diff) |
gentoo auto-resync : 04:12:2022 - 21:03:51
Diffstat (limited to 'net-libs/libnma')
-rw-r--r-- | net-libs/libnma/Manifest | 2 | ||||
-rw-r--r-- | net-libs/libnma/files/libnma-1.10.4-path-eap-schema.patch | 32 | ||||
-rw-r--r-- | net-libs/libnma/libnma-1.10.4-r2.ebuild | 80 |
3 files changed, 114 insertions, 0 deletions
diff --git a/net-libs/libnma/Manifest b/net-libs/libnma/Manifest index ec2c743fc4e4..dbfda4d9d512 100644 --- a/net-libs/libnma/Manifest +++ b/net-libs/libnma/Manifest @@ -1,5 +1,7 @@ +AUX libnma-1.10.4-path-eap-schema.patch 1229 BLAKE2B 50c80e5f5e5bdfbe14e176daa5082162902af4184fd94093353aba3e4b68c181ba3fa0a10e756a81de1b43efa2142c2843fd08d317df806578bf78329ff4a804 SHA512 6d5dc9f13de966471cac8391d2422279abca235daf7e839b0b92fa00abc98f4949935822997920b2d0b597892c0402ef42b09a3af922f06abb1b1772cb70c015 DIST libnma-1.10.2.tar.xz 1360128 BLAKE2B 8caff2baaf1d7e0cb7a6cefee4917b5f294517cc3ee22446f0bbea0301664969bdf43d10fcdf15e938bdae07467ad0a048687e61c3c494c4f042a1f6800d5745 SHA512 f8ac5f73ee8bc918325d2beec3e1eea61fed18110103ba9c3eb21da02fbd054895aa5ce332942a9113bb4860d59958dbf9c3b91885663b6225daec25cadf7458 DIST libnma-1.10.4.tar.xz 1351932 BLAKE2B 0178407d04fed680b260ea7e4615f0d939483504209b4bc721e2a4fe49ecbf49d9ffde0476b4352973cda9de4f088ac50d557c12f67d970f21031c1741f692e3 SHA512 4fe0d6b0e5b3c1bd7654e03dce747ee390de76d6641eb317fecb901ed6768bf48785e4a99e6fc8f12864066d06a64e308a8dbb2081a2d57e3f1509ca712deccc EBUILD libnma-1.10.2.ebuild 1720 BLAKE2B b8097044c991d5ad1de2501c578ed57566c07843ca27c21c746e30df2298c83fc3e8a8ead3e38fc05ba9030ee3a82e02cde9cf963b18ba57808920811ae6968c SHA512 6c824e780fb011d73cda9eccafcd3e13c3dab86f1d59ef7c889199fdb24490e028e48f417996da4f525fd0d106169d57b6aeb7e0acc3903b5a2eebe30d8b2c3f +EBUILD libnma-1.10.4-r2.ebuild 1895 BLAKE2B 5d1d2fc3dce17fe5cb01f5f7e01d3980e755d92f85989424dc7e7e6102ec6b49257665481e91c809c57884e8d15443d906795506ec07e0ef2d411fb677369fe9 SHA512 12e5273dc5c807aa4bf6283a684e1f64b36618698a014ffa68c4dada6a0aa4aa778adf5d256803002d82dabef45713546598a5390ac737d57a2c4bf7c9964b0d EBUILD libnma-1.10.4.ebuild 1779 BLAKE2B 562d5c55285df7911789d00604001b1411a57d7e98b42a54f9fd499c4d1df0a24ccb6200c6ed8aa9b1a6a23e639d45a9f16621b15136246443c21e097ec9403c SHA512 ff1d4013c5464bd1569df5c649e70d1960eb1f8cd6581e9c24c13e2a4ea2094460c844c060889338370be7ab7d94f10fe1c7fa9246494a85d2a6f790927a1c89 MISC metadata.xml 470 BLAKE2B 634b69ece62b9f3f8aa9e82b1df56009823dffd8dd45a46b6ac58c3580179c7c6c87965c8da5d653188e81bfbe5c26c956d15181d23f23ec17b468ba3b585cbd SHA512 a15b193fd01eda0a1408af3ad93660ed7cf859e3837e8e83c5c76031cf50aa3634e8a4d2a47f8db8c311cb36b1eb2fb8a89f8c7adfb9fd6d596eb6e9e5e8bea6 diff --git a/net-libs/libnma/files/libnma-1.10.4-path-eap-schema.patch b/net-libs/libnma/files/libnma-1.10.4-path-eap-schema.patch new file mode 100644 index 000000000000..fe00ff9d9a9b --- /dev/null +++ b/net-libs/libnma/files/libnma-1.10.4-path-eap-schema.patch @@ -0,0 +1,32 @@ +From 0ab5c1e39e94e158650da847f8512ab5e2b03593 Mon Sep 17 00:00:00 2001 +From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org> +Date: Wed, 9 Nov 2022 08:00:19 +0000 +Subject: [PATCH] gschema: Remove path from eap schema + +This one needs to be relocatable, otherwise creating a new VPN +connection will fail with: + + settings object created with schema 'org.gnome.nm-applet.eap' + and path '/org/gnome/nm-applet/eap/<uuid>/', + but path '/org/gnome/nm-applet/eap/' is specified by schema + +Fixes: https://bugs.archlinux.org/task/76490 +--- + org.gnome.nm-applet.eap.gschema.xml.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/org.gnome.nm-applet.eap.gschema.xml.in b/org.gnome.nm-applet.eap.gschema.xml.in +index 0fc3ca9f..f4a56ea6 100644 +--- a/org.gnome.nm-applet.eap.gschema.xml.in ++++ b/org.gnome.nm-applet.eap.gschema.xml.in +@@ -1,6 +1,6 @@ + <?xml version="1.0" encoding="UTF-8"?> + <schemalist> +- <schema id="org.gnome.nm-applet.eap" path="/org/gnome/nm-applet/eap/" gettext-domain="nm-applet"> ++ <schema id="org.gnome.nm-applet.eap" gettext-domain="nm-applet"> + <key name="ignore-ca-cert" type="b"> + <default>false</default> + <summary>Ignore CA certificate</summary> +-- +GitLab + diff --git a/net-libs/libnma/libnma-1.10.4-r2.ebuild b/net-libs/libnma/libnma-1.10.4-r2.ebuild new file mode 100644 index 000000000000..845d3ba4a4fb --- /dev/null +++ b/net-libs/libnma/libnma-1.10.4-r2.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome.org gnome2-utils meson xdg vala + +DESCRIPTION="NetworkManager GUI library" +HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager" + +LICENSE="GPL-2+" +SLOT="0" +# pkcs11 default enabled as it's a small dep often already present by libnma users, and it was default enabled as IUSE=+gcr in nm-applet before +IUSE="gtk-doc +introspection +pkcs11 vala" +REQUIRED_USE="vala? ( introspection )" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +DEPEND=" + >=gui-libs/gtk-4.0:4 + app-text/iso-codes + net-misc/mobile-broadband-provider-info + >=dev-libs/glib-2.38:2 + >=x11-libs/gtk+-3.12:3[introspection?] + >=net-misc/networkmanager-1.7[introspection?] + pkcs11? ( >=app-crypt/gcr-4.0.0:4 ) + introspection? ( >=dev-libs/gobject-introspection-1.56:= ) +" +RDEPEND="${DEPEND} + !<gnome-extra/nm-applet-1.16.0" # gschema moved to here before nm-applet-1.16.0 +BDEPEND=" + dev-libs/libxml2 + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + gtk-doc? ( dev-util/gtk-doc + app-text/docbook-xml-dtd:4.3 ) + vala? ( $(vala_depend) + net-misc/networkmanager[vala] + ) +" + +PATCHES=( + # https://gitlab.gnome.org/GNOME/libnma/-/issues/18 + "${FILESDIR}/${PN}-1.10.4-path-eap-schema.patch" +) + +src_prepare() { + default + use vala && vala_setup + xdg_environment_reset +} + +src_configure() { + local emesonargs=( + -Dlibnma_gtk4=true + $(meson_use pkcs11 gcr) + -Dmore_asserts=0 + -Diso_codes=true + -Dmobile_broadband_provider_info=true + -Dld_gc=false + $(meson_use gtk-doc gtk_doc) + $(meson_use introspection) + $(meson_use vala vapi) + ) + meson_src_configure +} + +src_install() { + meson_src_install + rm "${D}/usr/share/glib-2.0/schemas/org.gnome.nm-applet.gschema.xml" || die +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} |