]> git.pld-linux.org Git - packages/libsecret.git/commitdiff
- added sh patch (don't use non-standard $'...' expansion)
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 27 Oct 2018 20:07:46 +0000 (22:07 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 27 Oct 2018 20:07:46 +0000 (22:07 +0200)
libsecret-sh.patch [new file with mode: 0644]
libsecret.spec

diff --git a/libsecret-sh.patch b/libsecret-sh.patch
new file mode 100644 (file)
index 0000000..d13e345
--- /dev/null
@@ -0,0 +1,11 @@
+--- libsecret-0.18.6/libsecret/Makefile.am.orig        2017-12-05 14:16:03.000000000 +0100
++++ libsecret-0.18.6/libsecret/Makefile.am     2018-10-27 22:00:21.508203881 +0200
+@@ -89,7 +89,7 @@
+       $(AM_V_GEN) gdbus-codegen --interface-prefix org.freedesktop.Secret. \
+               --generate-c-code temp-dbus-generated --c-namespace SecretGen $<
+ secret-dbus-generated.c: temp-dbus-generated.c Makefile.am
+-      $(AM_V_GEN) sed -e $$'1i\\\n#define GLIB_DISABLE_DEPRECATION_WARNINGS' \
++      $(AM_V_GEN) sed -e '1i#define GLIB_DISABLE_DEPRECATION_WARNINGS' \
+               -e 's/secret_gen_/_secret_gen_/g' -e 's/type-/type/g' \
+               -e 's/temp-dbus-generated.h/secret-dbus-generated.h/g' \
+               temp-dbus-generated.c > secret-dbus-generated.c
index 4ff0b5d713a173327125a51f55cdae7b73ddc074..32bbafc2e66b2eebf9019ea2f4d57f939be84f1c 100644 (file)
@@ -13,7 +13,11 @@ License:     LGPL v2.1+
 Group:         Libraries
 Source0:       http://ftp.gnome.org/pub/GNOME/sources/libsecret/0.18/%{name}-%{version}.tar.xz
 # Source0-md5: c6cf132a56bd346fbf49a43abb02e5c2
+Patch0:                %{name}-sh.patch
 URL:           https://live.gnome.org/Libsecret
+BuildRequires: autoconf >= 2.63
+BuildRequires: automake >= 1:1.11
+BuildRequires: gettext-tools
 BuildRequires: glib2-devel >= 1:2.38.0
 BuildRequires: gobject-introspection-devel >= 1.29
 %{?with_apidocs:BuildRequires: gtk-doc >= 1.9}
@@ -96,8 +100,15 @@ API libsecret dla jÄ™zyka Vala.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+%{__intltoolize}
+%{__libtoolize}
+%{__aclocal} -I build/m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
        --disable-silent-rules \
        %{__enable_disable static_libs static} \
This page took 0.083948 seconds and 4 git commands to generate.