From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
To: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
Cc: kieran.bingham@ideasonboard.com, linux-media@vger.kernel.org,
hverkuil@xs4all.nl, sean@mess.org, p.zabel@pengutronix.de,
laurent.pinchart@ideasonboard.com, ezequiel@collabora.com,
nicolas@ndufresne.ca, gjasny@googlemail.com,
xavier.claessens@collabora.com, nicolas.dufresne@collabora.com,
user.vdr@gmail.com, sakari.ailus@iki.fi, rosenp@gmail.com
Subject: Re: [v4l-utils v5 0/5] Add support for meson building
Date: Wed, 16 Jun 2021 16:59:47 +0200 [thread overview]
Message-ID: <20210616165947.70f73cec@coco.lan> (raw)
In-Reply-To: <443286a1-b955-1ac1-742d-42b9182a435f@collabora.com>
Em Wed, 16 Jun 2021 11:26:10 -0300
Ariel D'Alessandro <ariel.dalessandro@collabora.com> escreveu:
> Kieran,
>
> > - Meson decided to default libdir to
> > /usr/local/lib/x86_64-linux-gnu
> > while autoconf used
> > /usr/local/lib
> > (it's likely handled by the package managers anyway)
>
> $ meson configure ../build-meson/ | grep libdir
> libdir lib/x86_64-linux-gnu Library directory
The default isn't nice, and will likely cause troubles for the users, as
/usr/local/lib/x86_64-linux-gnu would hardly be at the ld.so.conf list of
paths for most people. So, when one would try to run a program, it will
fail.
> As mentioned in another response. Autotools is building with `-g -O2` by
> default, that'd the equivalent meson configuration option
> --buildtype=debugoptimized.
I can't understand the Meson's default... no optimization and no debug!
Basically something that it is useless for both developers and for
production. I wonder why they chose a crap default like that...
> With this configuration the installtion
> sizes are not that different:
>
> $ du -s installation_m*
> 37068 installation_make
> 37848 installation_meson
It sounds a lot more coherent.
> In this case the difference is related to libtool `.la` files not being
> generated by meson and gconv/ only installed by meson. The latest is
> probably a feature being only detected by meson in this case, will check
> that out.
It was opted to not enable gconv by default, as similar patchset - needed
to support ARIB STD B-24 charset used by Japanese digital TV - was sent to
gconv upstream (not sure if it was merged or not). On other words, the
contrib/gconv stuff is independent of v4l-utils itself: it basically
adds an extra charset to be used by gconv upstream.
The only reason why it is present at v4l2-utils is that this charset
is present on ISDB tables on TV broadcasts in Japan. The gconv library
needs to support it, in order to convert characters from MPEG tables
to the system's charset.
Btw, that's basically one of the reasons why we print a summary of the
options when ./configure runs.
Thanks,
Mauro
next prev parent reply other threads:[~2021-06-16 14:59 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-12 18:49 [v4l-utils v5 0/5] Add support for meson building Ariel D'Alessandro
2021-05-12 18:49 ` [v4l-utils v5 1/5] Move README to markdown syntax Ariel D'Alessandro
2021-05-12 18:49 ` [v4l-utils v5 2/5] Add support for meson building Ariel D'Alessandro
2021-05-12 18:49 ` [v4l-utils v5 3/5] Copy Doxygen configuration file to doc/ Ariel D'Alessandro
2021-05-12 18:49 ` [v4l-utils v5 4/5] meson: Add support for doxygen documentation Ariel D'Alessandro
2021-05-12 18:49 ` [v4l-utils v5 5/5] Makefile.am: Distribute meson related files Ariel D'Alessandro
2021-05-13 8:56 ` [v4l-utils v5 0/5] Add support for meson building Kieran Bingham
2021-05-17 20:55 ` Ariel D'Alessandro
2021-05-17 22:13 ` Kieran Bingham
2021-05-18 7:23 ` Mauro Carvalho Chehab
2021-05-18 10:18 ` Kieran Bingham
2021-05-19 11:07 ` Mauro Carvalho Chehab
2021-06-16 13:36 ` Ariel D'Alessandro
2021-06-16 14:26 ` Ariel D'Alessandro
2021-06-16 14:59 ` Mauro Carvalho Chehab [this message]
2021-06-16 15:06 ` Xavier Claessens
2021-06-16 15:10 ` Nicolas Dufresne
2021-06-16 15:11 ` Laurent Pinchart
2021-10-04 14:24 ` Laurent Pinchart
2021-12-15 21:05 ` Laurent Pinchart
2021-11-18 9:03 ` Tomi Valkeinen
2021-11-18 10:09 ` Tomi Valkeinen
2021-12-15 21:07 ` Laurent Pinchart
2021-11-18 10:39 ` Laurent Pinchart
2021-12-15 21:10 ` Laurent Pinchart
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210616165947.70f73cec@coco.lan \
--to=mchehab+huawei@kernel.org \
--cc=ariel.dalessandro@collabora.com \
--cc=ezequiel@collabora.com \
--cc=gjasny@googlemail.com \
--cc=hverkuil@xs4all.nl \
--cc=kieran.bingham@ideasonboard.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=nicolas.dufresne@collabora.com \
--cc=nicolas@ndufresne.ca \
--cc=p.zabel@pengutronix.de \
--cc=rosenp@gmail.com \
--cc=sakari.ailus@iki.fi \
--cc=sean@mess.org \
--cc=user.vdr@gmail.com \
--cc=xavier.claessens@collabora.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox