From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: Scope of support for Guix on other distros Date: Sat, 7 Oct 2017 10:11:45 +0000 Message-ID: <20171007101145.df3z6cvqvpdrx5bg@abyayala> References: <1506935892.5574.15.camel@gmail.com> <9f2ed1cd-f7df-1a8f-8789-15bc53e46233@fastmail.net> <87tvzh5ylu.fsf@dustycloud.org> <20171002163817.bypveuihimo5akw2@abyayala> <87shf15qn0.fsf@dustycloud.org> <87bmlo4m3w.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="oqjhgn4cukzesmzw" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0m5S-0004CK-7i for guix-devel@gnu.org; Sat, 07 Oct 2017 06:12:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0m5P-0001uU-0v for guix-devel@gnu.org; Sat, 07 Oct 2017 06:12:02 -0400 Received: from aibo.runbox.com ([91.220.196.211]:60412) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e0m5O-0001tx-Pv for guix-devel@gnu.org; Sat, 07 Oct 2017 06:11:58 -0400 Content-Disposition: inline In-Reply-To: <87bmlo4m3w.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, David Seaward --oqjhgn4cukzesmzw Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Ricardo Wurmus transcribed 0.5K bytes: >=20 > Christopher Allan Webber writes: >=20 > > 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? >=20 > I was thinking about adding support for the =E2=80=9Cdeb=E2=80=9D package= format to > =E2=80=9Cguix pack=E2=80=9D. We can already create fat tarballs, so it s= houldn=E2=80=99t be too > much effort to create fat Debian archives. >=20 > --=20 > Ricardo >=20 > GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC > https://elephly.net >=20 >=20 >=20 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=3D"%{optflags}" ./configure %{_target_platform} --prefi= x=3D%{_prefix} ${AM_CONFIGFLAGS} # and run make rpm in the following way: # AM_CONFIGFLAGS=3D'--with-uri=3D/home/users/loic/local/RedHat-6.2' make rpm # rpms: $(MAKE) RPMDIST=3Dcurl rpm $(MAKE) RPMDIST=3Dcurl-ssl rpm rpm: RPM_TOPDIR=3D`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 . --=20 ng0 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://krosos.org/dist/keys/ https://www.infotropique.org https://krosos.org --oqjhgn4cukzesmzw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlnYqGEACgkQ4i+bv+40 hYjtvBAAtN0163xA4l4ltrU5KOCW3vriOzxB+YpK9YDxVIfHIUTCkVuN9SG24sJh FECjtDPSbXu4NAtQC7Ra+FCjcFH64p1dA1q6OyDr/aS7FT+KkGuHNtkTaR8ZgUax 61d3HL46jNNnYSrI/vr9irBXyfdhO/hk5JYuhOs2CJ0f0F9TU0sJzn30SJydL9DD kEDOuZA73jFPH2g/Rm8Q4oZEPDx6VrTu0x7yjYJ5Mu0J4PAOe8CjhpALqU9Oex6y 4Vz1ea4BZMJcFvUeNl2AwCMgknMDhZJdmVkmVRda8liHNu3sWt79dsSFgKGmBkhh 4HwfWbtdQiD1OwvAiiFEM8WVDZpRZT22OdJ5n35tFB/15/MtQgLDNSxZB6H8TF60 UtBafsUJiBWsmXrkv+eaa+sX7ceuclaygTbUkuYwzwDs0KxXDBn57X3xq+0heWUc qmLpgR2IklGiARX8e5qm5xHljMR/VF406ht+xj8F20iJkYtR8VOKVHODOll0DkZ2 nqvRCLD3K2gv+1KPvSMs4BoVjPmJ8CTZeEkTw0hN+nGpUUkmxrniEQP07igThtnv 6T8uc3Puw89ahm9iBeSJeqsxbCZ+HmDgC2eu+PwtTwvrgkC5KgCIG9azms8ObB2E KqIV4lnHNfPf/XZ16hN6hj/k5dXNdm2Ez+l9+mGnx1K7OEHPoQA= =KPVL -----END PGP SIGNATURE----- --oqjhgn4cukzesmzw--