All of lore.kernel.org
 help / color / mirror / Atom feed
From: Romain Naour <romain.naour@smile.fr>
To: marc.chalain@mailoo.org, Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>,
	Marc Chalain <marc.chalain@gmail.com>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] package/aravis: new package
Date: Sat, 8 Jan 2022 11:31:52 +0100	[thread overview]
Message-ID: <ce48c262-8138-df64-fa94-e23bb0018400@smile.fr> (raw)
In-Reply-To: <ea-mime-61d89dcf-4dd2-23b57646@www-7.net-c.com>

Hello Marc,

Le 07/01/2022 à 21:08, marc.chalain@mailoo.org a écrit :
> Thank for all,
> 
> I will send a new version quickly, but some questions first:
> 
> 
> 
>> +ARAVIS_VERSION = 0.8.16
> 
> Aravis project is moving fast, there is a new version 0.8.20 already.
> I'm fine with this version since it was released recently:
> https://github.com/AravisProject/aravis/releases/tag/0.8.16
> 
> 
> The 0.8.16 is available from June 2021. I had clearly well tested this version with several kernel configuration. What is it better ? the last version or the most tested version ?
> 
> To send 0.8.20 I will need few weeks, to test.

Using a version you are confident with is OK. Maybe add a comment in the commit
log about your choice to use a previous version than the latest one.

> 
> 
> 
>> +ARAVIS_SITE = $(call github,AravisProject,aravis,$(ARAVIS_VERSION))
>> +ARAVIS_DEPENDENCIES = \
>> +    host-pkgconf \
>> +    libglib2 \
>> +    libxml2
> 
> There is a list of dependencies in the Readme:
> 
> https://github.com/AravisProject/aravis/blob/main/README.md#install-dependencies-on-ubuntu-2004
> 
> especially gstreamer and plugins etc..
> 
> 
> This rules is just for GigE Camera and not USB3Vision. I haven't tested this feature. The gstreamer is not mandator, it is only for the viewer. I am focused on Embeded system without any kind of display.
> 
> If the gstreamer or libusb3 are availables, meson is able to detect and add them during the configuration process.
> 
> To add as dependencies, forces to build the optionals features.
> 
> What's the best ?

If you don't use an optional dependency, we recommend to disable it explicitly.
Letting an optional dependency auto detected by a package without any handling
in the Buildroot package is a problem for the build reproducibility.

Best regards,
Romain

> 
> 
> 
> Thank you., best regards,
> 
> Marc.
> 
> 
> 
> 
> 
> 
> 
> De : Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> À : Romain Naour <romain.naour@smile.fr>
> Sujet : Re: [Buildroot] package/aravis: new package
> Date : 06/01/2022 10:37:59 Europe/Paris
> Copie à : marc.chalain@mailoo.org;
>    buildroot@buildroot.org;
>    Eric Le Bihan <eric.le.bihan.dev@free.fr>;
>    Marc Chalain <marc.chalain@gmail.com>
> 
> Hello,
> 
> On Thu, 6 Jan 2022 10:24:53 +0100
> Romain Naour <romain.naour@smile.fr> wrote:
> 
>>> diff --git a/package/aravis/Config.in b/package/aravis/Config.in
>>> new file mode 100644
>>> index 0000000000..02c71c44da
>>> --- /dev/null
>>> +++ b/package/aravis/Config.in
>>> @@ -0,0 +1,16 @@
>>> +config BR2_PACKAGE_ARAVIS
>>> +    bool "aravis - GigE Camera"
> 
> Just:
> 
> bool "aravis"
> 
>>> +    depends on BR2_USE_WCHAR
>>> +    depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
>>> +    depends on BR2_PACKAGE_PCRE_16
>>> +    depends on BR2_PACKAGE_PCRE_32
> 
> Please use "select" for pcre.
> 
>>> +ARAVIS_LICENSE_FILES = COPYING
>>> +ARAVIS_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) 
>>
>> Is gettext a mandatory dependency ?
>> At least gettext should be in ARAVIS_DEPENDENCIES when NLS support is enabled.
> 
> No, don't add gettext directly, use $(TARGET_NLS_DEPENDENCIES), which
> will automatically add (or not) host-gettext and/or gettext to the
> dependencies, depending on when it's needed or not.
> 
> Thomas
> 

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2022-01-08 10:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-05 15:57 [Buildroot] package/aravis: new package marc.chalain
2022-01-06  9:24 ` Romain Naour
2022-01-06  9:37   ` Thomas Petazzoni
2022-01-07 20:08     ` marc.chalain
2022-01-08 10:31       ` Romain Naour [this message]

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=ce48c262-8138-df64-fa94-e23bb0018400@smile.fr \
    --to=romain.naour@smile.fr \
    --cc=buildroot@buildroot.org \
    --cc=eric.le.bihan.dev@free.fr \
    --cc=marc.chalain@gmail.com \
    --cc=marc.chalain@mailoo.org \
    --cc=thomas.petazzoni@bootlin.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.