From owner-freebsd-ports@freebsd.org Thu Dec 7 13:14:44 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 54F9AE865A1 for ; Thu, 7 Dec 2017 13:14:44 +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 48B8763FBE for ; Thu, 7 Dec 2017 13:14:42 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: by apnoea.adamw.org (OpenSMTPD) with ESMTPSA id a2cc6967 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Thu, 7 Dec 2017 06:14:36 -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:14:34 -0700 Cc: Ben Woods , FreeBSD ports Content-Transfer-Encoding: quoted-printable Message-Id: 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:14:44 -0000 > On 7 Dec, 2017, at 4:16, blubee blubeeme wrote: >=20 > 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" >=20 > 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 >=20 > Instead of reinventing the wheel or knocking your head against brick = walls, > take a look at the product flavors for some inspiration? >=20 > subheading Configure Product Flavors: > https://developer.android.com/studio/build/build-variants.html We already have flavors. # Adam --=20 Adam Weinberger adamw@adamw.org https://www.adamw.org >=20 >=20 >=20 > On Thu, Dec 7, 2017 at 2:21 PM, Ben Woods wrote: >=20 >> Hi everyone, >>=20 >> Thank you very much for flavors. It has been long awaited, and will = be a >> great step forward for FreeBSD. >>=20 >> Onwards and upwards: What is the status of subpackages? >>=20 >> Speaking to bapt at BSDTW, it sounded like flavors was going to be = the >> difficult change, and subpackages would then be easy. >>=20 >> 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. >>=20 >> 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 >>=20 >> https://wiki.freebsd.org/Ports/FlavorsAndSubPackages >>=20 >> Regards, >> Ben >> -- >>=20 >> -- >> 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" >>=20 > _______________________________________________ > 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"