From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: libgit2, libgit2-glib: pkg-config file: dependencies on other libraries: how to represent them in Guix? Date: Sat, 18 Jun 2016 11:16:20 +0200 Message-ID: <20160618111620.0463482f@scratchpost.org> References: <20160617195657.38541268@scratchpost.org> <8760t77xbs.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bECMg-00030s-Vf for guix-devel@gnu.org; Sat, 18 Jun 2016 05:16:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bECMc-0002kU-NQ for guix-devel@gnu.org; Sat, 18 Jun 2016 05:16:29 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:56049) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bECMc-0002kQ-GY for guix-devel@gnu.org; Sat, 18 Jun 2016 05:16:26 -0400 In-Reply-To: <8760t77xbs.fsf@elephly.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel@gnu.org Also, it seems the only thing libgit2 uses openssl for is for the SHA1 hash. But there's also a builtin SHA1 hash in libgit2 under src/hash/hash_generic.c which we could use instead - should we? It seems that Apple already deprecated OpenSSL so the support for libgit2 without OpenSSL should be fine. There's a check in CMakeFiles.txt for SHA1_TYPE=builtin . I'm not well-versed in cmake, however, so no idea how to set that. Also, USE_OPENSSL defaults to ON. That's an externally-visible option. I would know how to set that to OFF.