From owner-freebsd-ports@freebsd.org Thu Dec 7 13:36:40 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 D6947E86F61 for ; Thu, 7 Dec 2017 13:36:40 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from apnoea.adamw.org (apnoea.adamw.org [104.225.5.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "apnoea.adamw.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 57CAF64C5A for ; Thu, 7 Dec 2017 13:36:39 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: by apnoea.adamw.org (OpenSMTPD) with ESMTPSA id ffcf0085 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Thu, 7 Dec 2017 06:36:34 -0700 (MST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Subject: Re: Bringing SUB-PACKAGES to ports From: Adam Weinberger In-Reply-To: Date: Thu, 7 Dec 2017 06:36:33 -0700 Cc: Ben Woods , FreeBSD ports Content-Transfer-Encoding: quoted-printable Message-Id: <8661A5EB-F0AC-4A63-836F-A3232133CCE7@adamw.org> References: To: blubee blubeeme X-Mailer: Apple Mail (2.3445.5.20) 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:36:40 -0000 > On 7 Dec, 2017, at 6:28, blubee blubeeme wrote: >=20 > Does flavors allow build/test multiple packages based on multiple = python versions and multiple architectures and different options? Yes. Poudriere handles this directly as well. > 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. >=20 > 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. The right time to design flavors was before flavors were introduced. Is = there something in Android Studio's build variants that FreeBSD is = missing? blubee, we've talked about this multiple times: Please STOP top-posting. # Adam --=20 Adam Weinberger adamw@adamw.org https://www.adamw.org >=20 > 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 = 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 >=20 > We already have flavors. >=20 > # Adam >=20 >=20 > -- > Adam Weinberger > adamw@adamw.org > https://www.adamw.org >=20 >=20 > > > > > > > > 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 = 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.org" > >> > > _______________________________________________ > > 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" >=20 >=20