Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
From 754897490d9478025d174c2b1c1849305f728324 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
Date: Mon, 28 Dec 2015 12:13:07 +0100
|
||||
Subject: [PATCH] libsecret.pc: add Libs.private field for libgcrypt
|
||||
|
||||
When libgcrypt is available, libsecret links with it. When dynamic
|
||||
linking is used, there is no problem: libsecret.so has a NEEDED
|
||||
pointing to libgcrypt, so linking an application with -lsecret works
|
||||
fine. However, when doing static linking, you must specify the entire
|
||||
chain of libraries, otherwise you get unresolved symbols errors, such
|
||||
as:
|
||||
|
||||
host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libsecret-1.a(libsecret_1_la-secret-session.o): In function `request_open_session_aes':
|
||||
build/libsecret-0.18.3/libsecret/secret-session.c:99: undefined reference to `gcry_mpi_release'
|
||||
build/libsecret-0.18.3/libsecret/secret-session.c:101: undefined reference to `gcry_mpi_aprint'
|
||||
build/libsecret-0.18.3/libsecret/secret-session.c:107: undefined reference to `gcry_free'
|
||||
|
||||
In order to solve this, we simply need to indicate in the Libs.private
|
||||
field of the .pc file that we depend on libgcrypt.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
---
|
||||
libsecret/libsecret.pc.in | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/libsecret/libsecret.pc.in b/libsecret/libsecret.pc.in
|
||||
index 0c342ef..d99cf44 100644
|
||||
--- a/libsecret/libsecret.pc.in
|
||||
+++ b/libsecret/libsecret.pc.in
|
||||
@@ -11,4 +11,5 @@ Description: GObject bindings for Secret Service API
|
||||
Version: @VERSION@
|
||||
Requires: glib-2.0 gobject-2.0 gio-2.0
|
||||
Libs: -L${libdir} -lsecret-@SECRET_MAJOR@
|
||||
+Libs.private: @LIBGCRYPT_LIBS@
|
||||
Cflags: -I${includedir}/libsecret-@SECRET_MAJOR@
|
||||
--
|
||||
2.6.4
|
||||
|
||||
17
deprecated/firmware/buildroot/package/libsecret/Config.in
Normal file
17
deprecated/firmware/buildroot/package/libsecret/Config.in
Normal file
@@ -0,0 +1,17 @@
|
||||
config BR2_PACKAGE_LIBSECRET
|
||||
bool "libsecret"
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
depends on BR2_USE_WCHAR # gettext dep in libglib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
|
||||
depends on BR2_USE_MMU # libglib2
|
||||
help
|
||||
libsecret is a library for storing and retrieving passwords and other
|
||||
secrets. It communicates with the "Secret Service" using DBus.
|
||||
gnome-keyring and ksecretservice are both implementations of a Secret
|
||||
Service.
|
||||
|
||||
https://wiki.gnome.org/Libsecret
|
||||
|
||||
comment "libsecret needs a toolchain w/ wchar, threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
@@ -0,0 +1,2 @@
|
||||
# From http://ftp.gnome.org/pub/GNOME/sources/libsecret/0.18/libsecret-0.18.4.sha256sum
|
||||
sha256 0f29b51698198e6999c91f4adce3119c8c457f546b133a85baea5ea9010a19ed libsecret-0.18.4.tar.xz
|
||||
30
deprecated/firmware/buildroot/package/libsecret/libsecret.mk
Normal file
30
deprecated/firmware/buildroot/package/libsecret/libsecret.mk
Normal file
@@ -0,0 +1,30 @@
|
||||
################################################################################
|
||||
#
|
||||
# libsecret
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBSECRET_VERSION_MAJOR = 0.18
|
||||
LIBSECRET_VERSION = $(LIBSECRET_VERSION_MAJOR).4
|
||||
LIBSECRET_SITE = http://ftp.gnome.org/pub/GNOME/sources/libsecret/$(LIBSECRET_VERSION_MAJOR)
|
||||
LIBSECRET_SOURCE = libsecret-$(LIBSECRET_VERSION).tar.xz
|
||||
LIBSECRET_INSTALL_STAGING = YES
|
||||
LIBSECRET_DEPENDENCIES = libglib2 host-intltool
|
||||
LIBSECRET_CONF_OPTS = \
|
||||
--disable-manpages \
|
||||
--disable-strict \
|
||||
--disable-coverage \
|
||||
--enable-introspection=no \
|
||||
--enable-vala=no
|
||||
LIBSECRET_LICENSE = LGPLv2.1+
|
||||
LIBSECRET_LICENSE_FILES = COPYING
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
|
||||
LIBSECRET_DEPENDENCIES += libgcrypt
|
||||
LIBSECRET_CONF_OPTS += --enable-gcrypt \
|
||||
--with-libgcrypt-prefix=$(STAGING_DIR)/usr
|
||||
else
|
||||
LIBSECRET_CONF_OPTS += --disable-gcrypt
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user