From owner-freebsd-ports@freebsd.org Thu Dec 7 13:28:59 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 B31C7E86926 for ; Thu, 7 Dec 2017 13:28:59 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-it0-x22e.google.com (mail-it0-x22e.google.com [IPv6:2607:f8b0:4001:c0b::22e]) (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 7828F64567 for ; Thu, 7 Dec 2017 13:28:59 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-it0-x22e.google.com with SMTP id o130so654840itg.0 for ; Thu, 07 Dec 2017 05:28:59 -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=9grdCKHfiOqVvlpj7mAClPubNqI8QwNURkL58Zwpzdg=; b=S1xV263I0Z9u3ELLUSaLlnviRQWx5bxT2iQ4e/RdHwTz2f74EGj1I21rOOFjoRTgqt k7TgrPBNGctRblXDjjyPYLGgDV/NOmH8goJPqjETkAIoBeJkB8yCC+yC9RO78QYABzYK 6A5WeISYfBwOn/FSbi1/Az3tVSEV2LBCaoCjuk6/7SomTUGUOM+yrrERvo56w47K+d5P rYe6jDKEFo4+p0OJzYIJ3JDJdgU9aW2DyO3HSw8kzZRKuf9jxOxfrs1S2HFj43Hzvy5m sZCDAFrMx7LCrny0MReQoUrp3j5DLw55gCdSrX8hxFWQyOAfny9vDloRJfzJwAjVnSX7 xeTQ== 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=9grdCKHfiOqVvlpj7mAClPubNqI8QwNURkL58Zwpzdg=; b=dolDv7Tp6/WU+FLJjzoROGG9Yk6Qkuc8ho4aWViu3WmKO+gffOkZDIIem4niBQzMjk GGtuEnVFVCKrm9edj1ABnXBEpgP/dks+K+i4QAipsaaZ6I+WSsqR7piQn07YzFVV1/E+ 3xm0P0YMbxmM7i8yWSEXccOKwxACStiAumQy1f9O57CCY+Nt10t29vj1jjJKGfZCxm6b Fbzw8EauDPgM6CspdBBZAp3jRe2lgPYWLudB9QOXKBYwthj3OcC8XjT99ziI572uFuTE 4k/GWZ44HtwFR3o9NNegOmupD86qUU0Va4c6JyP2ZOoDApTAHmZJ726Bddv+cNUCErIp JriQ== X-Gm-Message-State: AKGB3mJLKHwauNXpP214/ob0K3qsCFPJsa/ZeSQ6k7j5VxnyGe4cYGUH mtDL1Ydg6PR02Tgw2irecOAFQGZhJYVI2Rj7ouM= X-Google-Smtp-Source: AGs4zMbio3lCpsx+SZxmPEfNSlPK5tqBOxJYJkwUfE85Jf+AsF6AblG6QPPkeHcTyN5ay3Pv1gkIZZXeHRHmh5Yqzh0= X-Received: by 10.36.221.147 with SMTP id t141mr1282021itf.140.1512653338699; Thu, 07 Dec 2017 05:28:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.11.31 with HTTP; Thu, 7 Dec 2017 05:28:58 -0800 (PST) In-Reply-To: References: From: blubee blubeeme Date: Thu, 7 Dec 2017 21:28:58 +0800 Message-ID: Subject: Re: Bringing SUB-PACKAGES to ports To: Adam Weinberger Cc: Ben Woods , 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 13:28:59 -0000 Does flavors allow build/test multiple packages based on multiple python versions and multiple architectures and different options? Flavors is a good step in the right direction but there are people with a lot more experience with way more complicated build systems than FreeBSD. I provided some links for you guys to take a look at. "We already have flavors" is a very arrogant answer that totally misses the point of my email. Best On Thu, Dec 7, 2017 at 9:14 PM, Adam Weinberger wrote: > > On 7 Dec, 2017, at 4:16, blubee blubeeme wrote: > > > > You guys seem to be attempting to do some cool things here and I actual= ly > > 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 > > We already have flavors. > > # Adam > > > -- > Adam Weinberger > adamw@adamw.org > https://www.adamw.org > > > > > > > > > > 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 famili= ar > >> with the changes required to the ports tools can use their new > familiarity > >> whilst it is fresh to support both. > >> > >> For those that aren=E2=80=99t familiar: > >> - Flavors: build a port multiple times with different > options/dependencies > >> to create multiple packages > >> - Subpackages: build a port once and chop the resulting files into > multiple > >> 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.or= g > " > >> > > _______________________________________________ > > 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= " > >