Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Oct 2014 19:56:21 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports@FreeBSD.org
Subject:   Reducing the size of the ports tree (brainstorm v2)
Message-ID:  <20141031185621.GC15967@ivaldir.etoilebsd.net>

next in thread | raw e-mail | index | archive | help

--xo44VMWPx7vlQ2+2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi all,

tijl@ spotted an interesting point, distinfo and pkg-descr files files
convenient are taking a lot of space for "free", we can reduce the size of =
the
while ports tree by a factor 2 by simply merging them into one of the other
files (Makefile and/or pkg-plist) from my testing it really devides
significantly the size of the tree.

Problem is how to merge them if we want to.

What we do not want to loose:
- Easyness of parsing distinfo
- Easyness to get informations about the description

so far I have not been able to figure out a user friendly way

Ideas I got so far only concerns pkg-descr:
Adding an entry in the Makefile for the WWW:
WWW=3D bla
or an entry in the plist: @www http...

for the description the Makefile is not suitable as multi line entry in
Makefiles are painful
Maybe a new keyword:
@descr <<EOD
mydesc
in=20
multiline
EOD

which could easily be added to the plist parser in pkg. But I'm do not find=
 that
very friendly in particular for make(1) to extract the data.

Concerning the distinfo I have no idea.

so this mail is a call of ideas :), if nothing nice ideas is found we will =
just
do nothing here :)

regards,
Bapt

--xo44VMWPx7vlQ2+2
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlRT21UACgkQ8kTtMUmk6EycuACfZ5KpXn7VdKs7KD1Bw8jCqU/n
dHQAoI7hLE8+M71jFD6eurB5AC/pWqO9
=GmL1
-----END PGP SIGNATURE-----

--xo44VMWPx7vlQ2+2--



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