From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: [PACKAGE] musl libc Date: Tue, 02 Aug 2016 08:45:27 +0000 Message-ID: <8737mnh848.fsf@we.make.ritual.n0.is> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUVL5-0007xx-JS for guix-devel@gnu.org; Tue, 02 Aug 2016 04:46:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUVKy-0004ko-7W for guix-devel@gnu.org; Tue, 02 Aug 2016 04:46:13 -0400 Received: from mithlond.libertad.in-berlin.de ([2001:67c:1400:2490::1]:42178 helo=beleriand.n0.is) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUVKx-0004kB-SV for guix-devel@gnu.org; Tue, 02 Aug 2016 04:46:08 -0400 In-Reply-To: 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: Vincent Legoll , guix-devel Hi, thanks for the work on this. Vincent Legoll writes: > Hello, > > Please, have a look at the attached musl libc packaging. > > It may be of use for having smaller statically linked binaries > of selected packages. > > Advise about how to finish the submission process, in which > scm file should this go ? I did it standalone, but it looks like > that's not the way things go in guix. Should it go with glibc ? It can go standalone, I don't see any fitting file at the moment. 'base.scm' maybe, but I would just create gnu/packages/musl.scm and add the file in 'gnu/local.mk'. > I'll post a sinit packaging that show how musl can be used. > The sinit package is a minimalistic /sbin/init replacement. > > -- > Vincent Legoll > ;;; GNU Guix --- Functional package management for GNU > ;;; Copyright 2016 Vincent Legoll > ;;; > ;;; This file is part of GNU Guix. > ;;; > ;;; GNU Guix is free software; you can redistribute it and/or modify it > ;;; under the terms of the GNU General Public License as published by > ;;; the Free Software Foundation; either version 3 of the License, or (at > ;;; your option) any later version. > ;;; > ;;; GNU Guix is distributed in the hope that it will be useful, but > ;;; WITHOUT ANY WARRANTY; without even the implied warranty of > ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > ;;; GNU General Public License for more details. > ;;; > ;;; You should have received a copy of the GNU General Public License > ;;; along with GNU Guix. If not, see . > > (define-module (musl) > #:use-module (guix download) > #:use-module (guix packages) > #:use-module (guix build-system gnu) > #:use-module (guix licenses) > #:use-module (gnu packages)) > > (define-public musl > (package > (name "musl") > (version "1.1.15") > (source (origin > (method url-fetch) > (uri (string-append "http://www.musl-libc.org/releases/" name "-" > version ".tar.gz")) > (sha256 > (base32 > "1ymhxkskivzph0q34zadwfglc5gyahqajm7chqqn2zraxv3lgr4p")))) > (build-system gnu-build-system) > (arguments `(#:tests? #f)) ; Musl has no tests > > (synopsis "New C standard library to power a new generation of Linux-based > devices") > (description "The musl libc is lightweight, fast, simple, free, and strives > to be correct in the sense of standards-conformance and safety.") > (home-page "http://www.musl-libc.org") > (license (x11-style "file://COPYRIGHT")))) > -- ♥Ⓐ ng0 Current Keys: https://we.make.ritual.n0.is/ng0.txt For non-prism friendly talk find me on http://www.psyced.org