all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ng0 <ng0@infotropique.org>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: guix-devel@gnu.org, David Seaward <dseaward925@gmail.com>
Subject: Re: Scope of support for Guix on other distros
Date: Sat, 7 Oct 2017 10:11:45 +0000	[thread overview]
Message-ID: <20171007101145.df3z6cvqvpdrx5bg@abyayala> (raw)
In-Reply-To: <87bmlo4m3w.fsf@elephly.net>

[-- Attachment #1: Type: text/plain, Size: 1983 bytes --]

Ricardo Wurmus transcribed 0.5K bytes:
> 
> Christopher Allan Webber <cwebber@dustycloud.org> writes:
> 
> > Since these don't provide Guix in the main repo (and Debian won't
> > because we violate the FHS with /gnu/) we could probably auto-generate
> > the .deb or .rpm from some gexp?
> 
> I was thinking about adding support for the “deb” package format to
> “guix pack”.  We can already create fat tarballs, so it shouldn’t be too
> much effort to create fat Debian archives.
> 
> -- 
> Ricardo
> 
> GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
> https://elephly.net
> 
> 
> 

If it helps, this is how cURL/gnURL creates rpms (or at least cURL):

# Build source and binary rpms. For rpm-3.0 and above, the ~/.rpmmacros
# must contain the following line:
# %_topdir /home/loic/local/rpm
# and that /home/loic/local/rpm contains the directory SOURCES, BUILD etc.
#
# cd /home/loic/local/rpm ; mkdir -p SOURCES BUILD RPMS/i386 SPECS SRPMS
#
# If additional configure flags are needed to build the package, add the
# following in ~/.rpmmacros
# %configure CFLAGS="%{optflags}" ./configure %{_target_platform} --prefix=%{_prefix} ${AM_CONFIGFLAGS}
# and run make rpm in the following way:
# AM_CONFIGFLAGS='--with-uri=/home/users/loic/local/RedHat-6.2' make rpm
#

rpms:
        $(MAKE) RPMDIST=curl rpm
        $(MAKE) RPMDIST=curl-ssl rpm

rpm:
        RPM_TOPDIR=`rpm --showrc | $(PERL) -n -e 'print if(s/.*_topdir\s+(.*)/$$1/)'` ; \
        cp $(srcdir)/packages/Linux/RPM/$(RPMDIST).spec $$RPM_TOPDIR/SPECS ; \
        cp $(PACKAGE)-$(VERSION).tar.gz $$RPM_TOPDIR/SOURCES ; \
        rpm -ba --clean --rmsource $$RPM_TOPDIR/SPECS/$(RPMDIST).spec ; \
        mv $$RPM_TOPDIR/RPMS/i386/$(RPMDIST)-*.rpm . ; \
        mv $$RPM_TOPDIR/SRPMS/$(RPMDIST)-*.src.rpm .


-- 
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://krosos.org/dist/keys/
https://www.infotropique.org https://krosos.org

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2017-10-07 10:12 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-02  9:18 Scope of support for Guix on other distros David Seaward
2017-10-02 14:03 ` Konrad Hinsen
2017-10-02 15:19   ` Ludovic Courtès
2017-10-02 16:00   ` Christopher Allan Webber
2017-10-02 16:38     ` ng0
2017-10-02 18:52       ` Christopher Allan Webber
2017-10-02 19:12         ` ng0
2017-10-03  7:48         ` Tobias Platen
2017-10-03  9:21           ` Mark H Weaver
2017-10-03 10:38             ` Christopher Allan Webber
2017-10-03 19:16               ` Mark H Weaver
2017-10-04 10:17                 ` Christopher Allan Webber
2017-10-03  9:27         ` Ricardo Wurmus
2017-10-03 10:02           ` David Seaward
2017-10-03 10:37           ` Christopher Allan Webber
2017-10-04 14:21             ` Ludovic Courtès
2017-10-05 13:40             ` Ludovic Courtès
2017-10-07 10:11           ` ng0 [this message]
2017-10-07 13:22             ` Hartmut Goebel
2017-10-08 15:22       ` Adonay Felipe Nogueira
2017-10-02 18:01 ` Mark H Weaver
2017-10-02 19:30 ` Pjotr Prins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171007101145.df3z6cvqvpdrx5bg@abyayala \
    --to=ng0@infotropique.org \
    --cc=dseaward925@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.