From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vincent Legoll Subject: Re: Reverse dependencies Date: Fri, 12 Aug 2016 11:27:40 +0200 Message-ID: References: <20160716161333.GA29212@jasmine> <87d1legy06.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001a1146e50c8104680539dc7ed2 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35925) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYDck-0003Hz-SB for help-guix@gnu.org; Fri, 12 Aug 2016 10:39:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYDcj-0000xf-H0 for help-guix@gnu.org; Fri, 12 Aug 2016 10:39:50 -0400 Received: from mail-qk0-x22c.google.com ([2607:f8b0:400d:c09::22c]:35523) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYDcj-0000xR-BK for help-guix@gnu.org; Fri, 12 Aug 2016 10:39:49 -0400 Received: by mail-qk0-x22c.google.com with SMTP id v123so26806489qkh.2 for ; Fri, 12 Aug 2016 07:39:49 -0700 (PDT) In-Reply-To: <87d1legy06.fsf@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Alex Kost , ericbavier@openmailbox.org Cc: help-guix --001a1146e50c8104680539dc7ed2 Content-Type: text/plain; charset=UTF-8 Hello, > I think you mean inkscape is pulled when you build the system. Then you > will not find it like this. It is needed to build the fancy grub image, > and it is "pulled" by the system building code (specifically by > 'svg->png' procedure in (gnu system grub) module). If you want to avoid > it, you can specify an "empty" theme for example: > > (bootloader (grub-configuration (device "/dev/sda") > (theme (grub-theme)))) Thanks for that information, that was what I wanted to know (both the where does it come from, and the how to avoid it being pulled in) I think a "guix revdep $PKG" should be a valuable tool it should work: 1 - globally in the list of defined packages 2 - locally in the list of packages from the current user's profile 3 - systemly, from the list of installed packages in the system profile I'm trying Eric's suggestion (thanks Eric), and that seems to do 1, I need a way to modify it to do the other 2... (see the attached script) WDYT ? -- Vincent Legoll --001a1146e50c8104680539dc7ed2 Content-Type: text/x-scheme; charset=US-ASCII; name="revdep.scm" Content-Disposition: attachment; filename="revdep.scm" Content-Transfer-Encoding: base64 X-Attachment-Id: f_irrjsa8b0 Ozs7IEdOVSBHdWl4IC0tLSBGdW5jdGlvbmFsIHBhY2thZ2UgbWFuYWdlbWVudCBmb3IgR05VCjs7 OyBDb3B5cmlnaHQgPEMyPjxBOT4gMjAxNiBWaW5jZW50IExlZ29sbCA8dmluY2VudC5sZWdvbGxA Z21haWwuY29tPgo7OzsKOzs7IFRoaXMgZmlsZSBpcyBwYXJ0IG9mIEdOVSBHdWl4Lgo7OzsKOzs7 IEdOVSBHdWl4IGlzIGZyZWUgc29mdHdhcmU7IHlvdSBjYW4gcmVkaXN0cmlidXRlIGl0IGFuZC9v ciBtb2RpZnkgaXQKOzs7IHVuZGVyIHRoZSB0ZXJtcyBvZiB0aGUgR05VIEdlbmVyYWwgUHVibGlj IExpY2Vuc2UgYXMgcHVibGlzaGVkIGJ5Cjs7OyB0aGUgRnJlZSBTb2Z0d2FyZSBGb3VuZGF0aW9u OyBlaXRoZXIgdmVyc2lvbiAzIG9mIHRoZSBMaWNlbnNlLCBvciAoYXQKOzs7IHlvdXIgb3B0aW9u KSBhbnkgbGF0ZXIgdmVyc2lvbi4KOzs7Cjs7OyBHTlUgR3VpeCBpcyBkaXN0cmlidXRlZCBpbiB0 aGUgaG9wZSB0aGF0IGl0IHdpbGwgYmUgdXNlZnVsLCBidXQKOzs7IFdJVEhPVVQgQU5ZIFdBUlJB TlRZOyB3aXRob3V0IGV2ZW4gdGhlIGltcGxpZWQgd2FycmFudHkgb2YKOzs7IE1FUkNIQU5UQUJJ TElUWSBvciBGSVRORVNTIEZPUiBBIFBBUlRJQ1VMQVIgUFVSUE9TRS4gIFNlZSB0aGUKOzs7IEdO VSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlIGZvciBtb3JlIGRldGFpbHMuCjs7Owo7OzsgWW91IHNo b3VsZCBoYXZlIHJlY2VpdmVkIGEgY29weSBvZiB0aGUgR05VIEdlbmVyYWwgUHVibGljIExpY2Vu c2UKOzs7IGFsb25nIHdpdGggR05VIEd1aXguICBJZiBub3QsIHNlZSA8aHR0cDovL3d3dy5nbnUu b3JnL2xpY2Vuc2VzLz4uCgoodXNlLW1vZHVsZXMgKGd1aXggcGFja2FnZXMpCiAgICAgICAgICAg ICAoZ251IHBhY2thZ2VzKQogICAgICAgICAgICAgKHNyZmkgc3JmaS0xKQogICAgICAgICAgICAg KHNyZmkgc3JmaS0yNikKICAgICAgICAgICAgIChpY2UtOSBnZXRvcHQtbG9uZykpCiAJCihkZWZp bmUgKHJldmRlcCBwa2cpCiAgKGZvbGQtcGFja2FnZXMKICAgIChsYW1iZGEgKHBhY2thZ2UgXykK ICAgICAgKHdoZW4gKGFueSAoY3V0IGVxPyA8PiAoc3BlY2lmaWNhdGlvbi0+cGFja2FnZSBwa2cp KQogICAgICAgICAgICAgICAgIChtYXAgc2Vjb25kIChwYWNrYWdlLWRpcmVjdC1pbnB1dHMgcGFj a2FnZSkpKQogICAgICAgIChmb3JtYXQgI3QgIn5hIGRlcGVuZHMgb24gfmF+JSIKICAgICAgICAg ICAgICAgIChwYWNrYWdlLWZ1bGwtbmFtZSBwYWNrYWdlKSBwa2cpKSkKICAgICN0KSkKCihkZWZp bmUgKG1haW4gYXJncykKICAobGV0KiAoKG9wdGlvbi1zcGVjICcoKHZlcnNpb24gKHNpbmdsZS1j aGFyICNcdikgKHZhbHVlICNmKSkKICAgICAgICAgICAgICAgICAgICAgICAgKGhlbHAgICAgKHNp bmdsZS1jaGFyICNcaCkgKHZhbHVlICNmKSkpKQogICAgICAgICAob3B0aW9ucyAoZ2V0b3B0LWxv bmcgYXJncyBvcHRpb24tc3BlYykpCiAgICAgICAgIChoZWxwLXdhbnRlZCAob3B0aW9uLXJlZiBv cHRpb25zICdoZWxwICNmKSkKICAgICAgICAgKHZlcnNpb24td2FudGVkIChvcHRpb24tcmVmIG9w dGlvbnMgJ3ZlcnNpb24gI2YpKQogICAgICAgICAocGtncyAob3B0aW9uLXJlZiBvcHRpb25zICco KSAjZikpKQogICAgKGlmIChvciB2ZXJzaW9uLXdhbnRlZCBoZWxwLXdhbnRlZCkKICAgICAgICAo YmVnaW4KICAgICAgICAgIChpZiB2ZXJzaW9uLXdhbnRlZAogICAgICAgICAgICAgIChkaXNwbGF5 ICJyZXZkZXAuc2NtIHZlcnNpb24gMC4xXG4iKSkKICAgICAgICAgIChpZiBoZWxwLXdhbnRlZAog ICAgICAgICAgICAgIChkaXNwbGF5ICJcCnJldmRldi5zY20gW29wdGlvbnN8cGFja2FnZSBuYW1l c10KICAtdiwgLS12ZXJzaW9uICAgIERpc3BsYXkgdmVyc2lvbgogIC1oLCAtLWhlbHAgICAgICAg RGlzcGxheSB0aGlzIGhlbHBcbiIpKSkKICAgICAgICAobWFwIHJldmRlcCBwa2dzKSkpKQoKKG1h aW4gKGNvbW1hbmQtbGluZSkpCg== --001a1146e50c8104680539dc7ed2--