Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Dec 2017 19:16:21 +0800
From:      blubee blubeeme <gurenchan@gmail.com>
To:        Ben Woods <woodsb02@gmail.com>
Cc:        FreeBSD ports <freebsd-ports@freebsd.org>
Subject:   Re: Bringing SUB-PACKAGES to ports
Message-ID:  <CALM2mE=dBTWYu4SBPKGLBLWpMdLJWgKuZ2iY5PkZmQUMa02u7g@mail.gmail.com>
In-Reply-To: <CAOc73CCjofO4NpMBkChywOWn-g65wJcsJ7xUGshqf2FB=vCBpA@mail.gmail.com>
References:  <CAOc73CCjofO4NpMBkChywOWn-g65wJcsJ7xUGshqf2FB=vCBpA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <woodsb02@gmail.com> 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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALM2mE=dBTWYu4SBPKGLBLWpMdLJWgKuZ2iY5PkZmQUMa02u7g>