From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1W5eJd-0000Ff-Vt for mharc-grub-devel@gnu.org; Tue, 21 Jan 2014 11:36:41 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54031) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5eJY-00007z-22 for grub-devel@gnu.org; Tue, 21 Jan 2014 11:36:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W5eJS-0004PW-0P for grub-devel@gnu.org; Tue, 21 Jan 2014 11:36:35 -0500 Received: from mail-ea0-x22c.google.com ([2a00:1450:4013:c01::22c]:44285) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5eJR-0004OQ-PJ for grub-devel@gnu.org; Tue, 21 Jan 2014 11:36:29 -0500 Received: by mail-ea0-f172.google.com with SMTP id g15so3280915eak.31 for ; Tue, 21 Jan 2014 08:36:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=WGWuIPjuA/4FzH/ObfOabi9zPGgjol84psaIR+3iQoc=; b=E5msytWlF4EHSC8OATKm9lp3jiINte1nMQMy+ffEQxDhbDirELiT1ER1sT0MRSVFH3 LV8DM0iRVvvEhXk5+A9Tzb9a+8ZfUc5l7tfgg/0LZkhtdFoWEzjvm+ojwO+U+wbBAttU wib0g7h7TNYxKweGLdtwtQd6tjSLTEakrRoUVar/AMNfvQ5nw2YSbQoGCZV8d/0iK5mU nvtfw+NLJxTYcC2/11xqjB0aBW2VcPDN1dSB2EeU4xKPHFDKeP2FQWwCyBex6FtNKYfB otkchmxjnOx0z0Df8XMmnVsQfBNSdWGW2LdHKBqw3Fl412THze9Go+LtC+Afk326sxqU XDjw== X-Received: by 10.14.115.8 with SMTP id d8mr2098746eeh.83.1390322188763; Tue, 21 Jan 2014 08:36:28 -0800 (PST) Received: from [192.168.42.92] (144-228.197-178.cust.bluewin.ch. [178.197.228.144]) by mx.google.com with ESMTPSA id z49sm16557653eeo.10.2014.01.21.08.36.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Jan 2014 08:36:27 -0800 (PST) Message-ID: <52DEA206.1000406@gmail.com> Date: Tue, 21 Jan 2014 17:36:22 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.2.0 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: [PATCH] add GRUB_WINDOWS_DLLS to make windowsdir to allow shipping runtime files References: <1390062368-17349-1-git-send-email-arvidjaar@gmail.com> <52DB291D.5050800@gmail.com> <20140119081509.1db69b7c@opensuse.site> <52DE210C.1080407@gmail.com> <20140121203351.36c3aaff@opensuse.site> In-Reply-To: <20140121203351.36c3aaff@opensuse.site> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="K0cHalBQaEgnRW9KCRNK90d77GgEB74Fu" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c01::22c X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2014 16:36:40 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --K0cHalBQaEgnRW9KCRNK90d77GgEB74Fu Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Go ahead. On 21.01.2014 17:33, Andrey Borzenkov wrote: > =D0=92 Tue, 21 Jan 2014 08:26:04 +0100 > Vladimir '=CF=86-coder/phcoder' Serbinenko =D0=BF=D0= =B8=D1=88=D0=B5=D1=82: >=20 >> On 19.01.2014 05:15, Andrey Borzenkov wrote: >>> =D0=92 Sun, 19 Jan 2014 02:23:41 +0100 >>> Vladimir '=CF=86-coder/phcoder' Serbinenko =D0=BF= =D0=B8=D1=88=D0=B5=D1=82: >>> >>>> On 18.01.2014 17:26, Andrey Borzenkov wrote: >>>>> export GRUB_EXTRA_DLLS=3D"/path/to/liblzma.dll /path/to/libintl.dll= " >>>>> make >>>>> make windowszip >>>> Perhaps a better name to indicate that you could use it to add any e= xtra >>>> files to zip. Perhaps GRUB_WINDOWS_EXTRA_DIST ? >>>> >>> >>> I thought about it, but was not sure - *DIST would imply arbitrary >>> file location inside archive and that becomes far too complicated. >> I don't think that just fixing target would be of any issue. >=20 >=20 > Is it OK? >=20 > From: Andrey Borzenkov > Subject: [PATCH] add GRUB_WINDOWS_EXTRA_DIST to allow shipping runtime = files >=20 > Not all toolkits provide static libraries. This patch enables creation = of self > contained distribution that does not require pre-existing runtime libra= ries. > Intended usage is >=20 > export GRUB_WINDOWS_EXTRA_DIST=3D"/path/to/liblzma.dll /path/to/libintl= =2Edll" > make > make windowszip >=20 > As those libraries and locations are dependent on toolchain in use, try= ing > to autodetect them is likely impossible. So just provide a simple way t= o > package everything in one step. >=20 > Also remove $(windowsdir) after ZIP was created same as other "make dis= t" > targets. >=20 > --- > Makefile.am | 4 ++++ > 1 file changed, 4 insertions(+) >=20 > diff --git a/Makefile.am b/Makefile.am > index 97c062d..f02ae0a 100644 > --- a/Makefile.am > +++ b/Makefile.am > @@ -420,10 +420,14 @@ windowsdir: $(PROGRAMS) $(starfield_DATA) $(platf= orm_DATA) > for x in $(starfield_DATA); do \ > cp -fp $$x $(windowsdir)/themes/starfield/$$(basename $$x); \ > done > + for x in $(GRUB_WINDOWS_EXTRA_DIST); do \ > + cp -fp $$x $(windowsdir); \ > + done > =20 > windowszip=3D$(top_builddir)/$(PACKAGE)-$(VERSION)-for-windows.zip > windowszip: windowsdir > test -f $(windowszip) && rm $(windowszip) || true > zip -r $(windowszip) $(windowsdir) > + rm -rf $(windowsdir) > =20 > EXTRA_DIST +=3D linguas.sh >=20 >=20 >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 --K0cHalBQaEgnRW9KCRNK90d77GgEB74Fu Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlLeogYACgkQmBXlbbo5nOuMlAD9FuHK124j/tREDW8Pga17h3Rl iqfya+zBrg+7qDN6EzkA/RAIKUIWrmy+qASAcMqhwG1d5IIoA0/gRcVllI1YFdEA =lYn9 -----END PGP SIGNATURE----- --K0cHalBQaEgnRW9KCRNK90d77GgEB74Fu--