From owner-freebsd-ports@freebsd.org Thu Dec 7 11:16:23 2017 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 6A710E837F3 for ; Thu, 7 Dec 2017 11:16:23 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-it0-x22a.google.com (mail-it0-x22a.google.com [IPv6:2607:f8b0:4001:c0b::22a]) (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 31EB681D36 for ; Thu, 7 Dec 2017 11:16:23 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-it0-x22a.google.com with SMTP id p139so13955411itb.1 for ; Thu, 07 Dec 2017 03:16:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=32SCuQOAfytAXTm4Yb+CW3k6KjEV67NnuLJhXyOxjxU=; b=Pz5fCCz0eFy8Dj+SDiioIAB5DueP5+lvEz5wd+WxsBJxx+py/rrHaJsOEE4arqtxdT KZQjJ+qPlIysceUMoFwEuO8hdAusQy/eNXMwSXFxbWx8Y2A7n8xyf1lb6vmaFSDyqznK i9h8URU8efCwYBkC1vsv2PTc3znK1G8ftn3rwCtJBSmEBsRl70YWb09LTQsFfvvO1ruM PBJmRKaO/zh4z+q5VREUxi6yLHhmgAnxvDs1Rp7BsU8WNOA5aTz8Ftrth5T9LEgDFbp8 iCR8+Rhqdr2Dz46v7AJBdofLLvqoFfypo6eXzgPntUTCU1CkBq+TUte8Ah68bv1igmTh pcEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=32SCuQOAfytAXTm4Yb+CW3k6KjEV67NnuLJhXyOxjxU=; b=PTlAH/F2w4phu4d/CJyd9NKqYtOd8Gx0sSPoa0oqAjLd3PkK1EH8iMSBpSxeA3ZvXH zLMgRJmb0NR+wB4pJBEwrS4xxWp5OcePB63dK51tntzfxGx05vdw4xt4/oaCso6zESbx E1SIZheI1SujZ3QzJHEobytg8UWB0e7kp4e7uHF18YmcMEDVKyymk8IiOdfHXfpTO0JU D9HMRofGvyicBi0D8TAexS9YX0bpnE5RwSdsPeTb3peWJ9Qq2vkEayqNYFa39E5dzw1G S1P3gFGlwTrYwfC4oizQVMxAUhne5BhCe3b1CliH7BYSrIzyYVMXGOSO4AkcvKas/C2H zv0w== X-Gm-Message-State: AKGB3mJIPi+nNyWzXp6BI/QazownMGu3zdx3PzfaBUy0FnVuVHn6b80s bEt3jdoofkyPf1eoFH+AGC9VL8L6pjeqzUBYDSg= X-Google-Smtp-Source: AGs4zMac+gy7eq23w5/LyZm3t7L5lzWAUfBmkIRXx3ME7mV+yRnwpDn7QQF8gAtDQdVbxWWKF3gAYV28GMXXXLOOGCA= X-Received: by 10.36.221.147 with SMTP id t141mr842013itf.140.1512645382357; Thu, 07 Dec 2017 03:16:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.11.31 with HTTP; Thu, 7 Dec 2017 03:16:21 -0800 (PST) In-Reply-To: References: From: blubee blubeeme Date: Thu, 7 Dec 2017 19:16:21 +0800 Message-ID: Subject: Re: Bringing SUB-PACKAGES to ports To: Ben Woods Cc: FreeBSD ports Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Dec 2017 11:16:23 -0000 You guys seem to be attempting to do some cool things here and I actually appreciate flavors since those tools; python, ruby, go, pearl, php, etc are too complicated to maintained without some types of "Flavors" Android has been dealing with issues like this for a long time and they solved it with Gradle and product flavors: https://developer.android.com/studio/build/build-variants.html Instead of reinventing the wheel or knocking your head against brick walls, take a look at the product flavors for some inspiration? subheading Configure Product Flavors: https://developer.android.com/studio/build/build-variants.html On Thu, Dec 7, 2017 at 2:21 PM, Ben Woods wrote: > Hi everyone, > > Thank you very much for flavors. It has been long awaited, and will be a > great step forward for FreeBSD. > > Onwards and upwards: What is the status of subpackages? > > Speaking to bapt at BSDTW, it sounded like flavors was going to be the > difficult change, and subpackages would then be easy. > > Given that we are going through the transition to flavors now, and the > ports tools are getting updated to support it, would it be a good idea to > introduce subpackages now also? That way people who are getting familiar > with the changes required to the ports tools can use their new familiarit= y > whilst it is fresh to support both. > > For those that aren=E2=80=99t familiar: > - Flavors: build a port multiple times with different options/dependencie= s > to create multiple packages > - Subpackages: build a port once and chop the resulting files into multip= le > subpackages > > https://wiki.freebsd.org/Ports/FlavorsAndSubPackages > > Regards, > Ben > -- > > -- > From: Benjamin Woods > woodsb02@gmail.com > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >