From owner-freebsd-ports@freebsd.org Fri Oct 14 11:06:43 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4F5DCC11CA3 for ; Fri, 14 Oct 2016 11:06:43 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-qt0-f176.google.com (mail-qt0-f176.google.com [209.85.216.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AB1C6D6D; Fri, 14 Oct 2016 11:06:42 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: by mail-qt0-f176.google.com with SMTP id f6so73682828qtd.2; Fri, 14 Oct 2016 04:06:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=8DufylqyVedoAXcP5HvBbe87GDfAic9OC1FCubGj1Cg=; b=BYr7OvKWyM0oOHWydOqd1vBTuCpqCEsWtGImQzpRz/PsKG1OqS/nmA11cLzruk/8Gn 4Od39iY8w4B/dFKTpxBjp5gZ4jPo5pha0Lj/7PkxRhpk4vFqEujn4ADLTPVUKdO5fF9f OoaJpoHlkN3zc35curjUUgRrddqXzCDwvbLBN/n22euywGxvvQ3JEXH18xNGoIBUocqZ Z3GCQKv/LDkipfvAbRBrI6GxYZytYHk2Olcj12J7yBY69UHPSXrPuNBfEc3jGzllsxCY npF1JeMhJ7sCVCGXcboURj3uRh/a6xBjvzKbY+BumAOU9wBWDpcgErQ2GrhF/SSeaPzI lMEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=8DufylqyVedoAXcP5HvBbe87GDfAic9OC1FCubGj1Cg=; b=J3QhvMKcKPrvOF6PGg5L88p05v8BIu92Bv82zx2pwwEdfz4SJf9WOBdQZRvAIrj7l9 Hi6JFrOkFsBSo6PkkUUj4MnCtEFJ6XxzkwAYXFcLM+82inZhmgPtn2/FV7Tsx8Z3jP6O OuTKfh+LucAjHc8IDJYy2/EPT4c0Ckp970I+FkEVIsF2fduC6p7Ts/YLlIFV+wSPc6Fv wdXAzPpwVz6nAmjHakiW3eSPkxTAN8qavSgLntRmp3GVXnhOhOC82PoRQRoHBFAjMBsZ WWeo4hkRDviYWCgWwRTX4CqcNQ9dDzKzkTDsMkIwsvO/x2B1i5QjeRzq5yijQSLsouIA mO3A== X-Gm-Message-State: AA6/9Rk+oYIgmCx7xe+ydJWIvakwuUZlN57Ty4+Nczb5QmOHMgc2KO/IFoE4WYhfL19T76BsdAYCM5oefuCsMQ== X-Received: by 10.237.59.220 with SMTP id s28mr12032891qte.37.1476443136080; Fri, 14 Oct 2016 04:05:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.170.149 with HTTP; Fri, 14 Oct 2016 04:05:35 -0700 (PDT) In-Reply-To: <20161014092250.oyi6d5iks3s4pjol@ivaldir.etoilebsd.net> References: <638fe078-80db-2492-90be-f1280eb8d445@freebsd.org> <20161012092403.66a41d9e@freedom.alkumuna.eu> <00f3768e-f57a-661c-aa62-89cdf10926bd@netfence.it> <5a38b25d-2ac9-cd9b-0701-fbaad5af06c0@FreeBSD.org> <20161014092250.oyi6d5iks3s4pjol@ivaldir.etoilebsd.net> From: David Demelier Date: Fri, 14 Oct 2016 13:05:35 +0200 Message-ID: Subject: Re: harder and harder to avoid pkg To: Baptiste Daroussin Cc: Mathieu Arnold , Julian Elischer , Andrea Venturoli , "freebsd-ports@freebsd.org" , Matthieu Volat Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2016 11:06:43 -0000 2016-10-14 11:22 GMT+02:00 Baptiste Daroussin : > It is imho doable in both sides. > > We could imagine tagging the plist/manifest so pkg can allow a user to install > only the things tagged as runtime for exemple which would do the job. for what > Julian is asking for beside adding lots of complexity pkg(8) and adding a > nightmare in the solver. > > That would "please" the people that want "hey keep the giant flat package as it > is better for dev given I don't have to install the -devel version something" > and the people wanting fine grain selection if they need to. > > But on the ports side that would be a nightmare having to tag all the plist (and > this cannot be automated because there are to many corner cases. IIRC, rpm builders have script that automate this by finding files in standard directories. Probably by checking in the stage a include/ directory and "tag" it as the development part. It will be the most smart way of doing this but still require some addition to pkg. Probably like: - pkg install mylib - pkg install -t dev mylib - pkg install -t runtime mylib - pkg install -t dev,runtime,doc mylib Just thinking ;) -- Demelier David