From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C83B213838B for ; Tue, 9 Sep 2014 17:41:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1995BE087A; Tue, 9 Sep 2014 17:41:08 +0000 (UTC) Received: from mail-vc0-f193.google.com (mail-vc0-f193.google.com [209.85.220.193]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B74EAE085C for ; Tue, 9 Sep 2014 17:41:06 +0000 (UTC) Received: by mail-vc0-f193.google.com with SMTP id ij19so1294920vcb.4 for ; Tue, 09 Sep 2014 10:41:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=6u1GUoFXPfyj3m7w/Tamtq78ifvwvZv6ppVIMV8UZBI=; b=LKN/a5LRNdTtCHdzIpLh3gWE2cww8isrMpzkjWWdHY4IS31vhDXjyd3O7E3GkrM7qP fKWtnchOFOy6MAlLQ0WpvyBECdcDvJKZJi9SvSz7hKiCySPgH+p2Pv/iD1DEWxB4rNl3 a/CV6A/XSJz3tmIc19TnSqCknioNQJI2NZex+YYjOwDMO5qOyGHG8PHQ82WFzixnUVqh UxaqLSdLan6ocj+CbA+J3ajKiiT4VIOqVeJLaUBFFvCB8+odyZZUtlemC6YLepMc1fzK fLQPhLaYLjX8muSfMv7k4IWcH8IgRttLu/Up/74rK0nc3PtkKFSapblwxcq00aYPbrhS Z6hQ== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.220.97.5 with SMTP id j5mr32232359vcn.16.1410284465797; Tue, 09 Sep 2014 10:41:05 -0700 (PDT) Sender: freemanrich@gmail.com Received: by 10.52.8.229 with HTTP; Tue, 9 Sep 2014 10:41:05 -0700 (PDT) In-Reply-To: References: Date: Tue, 9 Sep 2014 13:41:05 -0400 X-Google-Sender-Auth: EagWo2B7sJjZ_Bc88ejpX5BTr7s Message-ID: Subject: Re: [gentoo-user] post build files From: Rich Freeman To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: c8f478d9-0caa-4bd5-a988-ac7cd02043ea X-Archives-Hash: 0c0a7e58b305f779f4db552b341423a3 On Tue, Sep 9, 2014 at 11:20 AM, James wrote: > I'm rather new to hacking ebuilds. I have read most every doc > I can find on the subject. One thing I'm looking for is a post-build > document that shows me the path/name of everything built. If you literally want a list of everything that was installed by a Gentoo ebuild, then the simplest thing is to run qlist from app-portage/portage-utils. Of course, the list of what a package /could/ install can vary based on USE flags or environment. If you're trying to learn how ebuilds work, devmanual.gentoo.org is the definitive resource. If you have specific questions feel free to ask, but just about anything you want to know is there. By all means try reading a few ebuilds to get a hang for things as well, but I'd start with simple ones (avoid trying to learn by looking at packages that use complex eclasses). The simplest ebuilds tend to be for simple, standalone programs. Keep in mind that ebuilds work by extending functions defined by PMS, so an ebuild can contain fairly little content and yet be fairly functional (the default functions are running for most of the build phases). The idea is if all a package does is run configure ; make ; make install it often needs almost nothing in the ebuild to work. -- Rich