All of lore.kernel.org
 help / color / mirror / Atom feed
From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] [RFC PATCH 1/2] package/gobject-introspection: add package
Date: Thu, 23 Feb 2017 15:02:54 +0200	[thread overview]
Message-ID: <20170223130254.rc6qfphdsvwuiupy@tarshish> (raw)
In-Reply-To: <b5cbc35d4d8e4457563fdf5b8dfd04360c6616a5.1487811280.git.sam.bobroff@au1.ibm.com>

Hi Sam,

Thanks for sharing your work.

I'll add a few comments to Thomas'. This is not a full review.

On Thu, Feb 23, 2017 at 11:54:54AM +1100, Sam Bobroff wrote:
> Add gobject-introspection, built using host-qemu.
> 
> Also updates libglib2 to a more recent version to satasify a dependency.
> ---
>  package/Config.in                                  |  1 +
>  .../0001-ldd-cross-launcher.patch                  | 22 +++++++++
>  package/gobject-introspection/Config.in            | 12 +++++
>  package/gobject-introspection/create-ldd-cross.sh  | 46 ++++++++++++++++++
>  .../gobject-introspection/gobject-introspection.mk | 55 ++++++++++++++++++++++

A .hash file is missing.

>  package/libglib2/libglib2.hash                     |  4 +-
>  package/libglib2/libglib2.mk                       |  4 +-
>  7 files changed, 140 insertions(+), 4 deletions(-)
>  create mode 100644 package/gobject-introspection/0001-ldd-cross-launcher.patch
>  create mode 100644 package/gobject-introspection/Config.in
>  create mode 100755 package/gobject-introspection/create-ldd-cross.sh
>  create mode 100644 package/gobject-introspection/gobject-introspection.mk

[snip]

> diff --git a/package/gobject-introspection/Config.in b/package/gobject-introspection/Config.in
> new file mode 100644
> index 000000000..253c20b30
> --- /dev/null
> +++ b/package/gobject-introspection/Config.in
> @@ -0,0 +1,12 @@
> +config BR2_PACKAGE_GOBJECT_INTROSPECTION
> +    bool "gobject-introspection"
> +    depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_3 # ldd
> +    select BR2_PACKAGE_HOST_QEMU
> +    select BR2_PACKAGE_PKGCONF
> +    select BR2_PACKAGE_LIBGLIB2
> +    select BR2_PACKAGE_PYTHON

Dependencies are missing. Here is what I came up with:

        depends on BR2_USE_WCHAR # glib2, python
        depends on BR2_TOOLCHAIN_HAS_THREADS # glib2, python
        depends on BR2_USE_MMU # glib2, python
        depends on !BR2_STATIC_LIBS # python

Add to that also BR2_PACKAGE_HOST_QEMU arch dependencies.

> +
> +    help
> +      gobject-introspection
> +
> +      http://wiki.gnome.org/

https://wiki.gnome.org/Projects/GObjectIntrospection

[snip]

> +################################################################################
> +#
> +# gobject-introspection
> +#
> +################################################################################
> +
> +GOBJECT_INTROSPECTION_VERSION         = 1.51.1

Latest version is 1.51.3.

> +GOBJECT_INTROSPECTION_SITE            = $(call github,GNOME,gobject-introspection,$(GOBJECT_INTROSPECTION_VERSION))

We prefer upstream provided tarballs when available. Get it from 
http://ftp.gnome.org/pub/GNOME/sources/gobject-introspection/.

> +GOBJECT_INTROSPECTION_LICENSE         = GPLv2+ LGPLv2.1

There are a few more. Here is what I found:

GOBJECT_INTROSPECTION_LICENSE = LGPLv2+, GPLv2+, MIT, BSD-2c

> +GOBJECT_INTROSPECTION_LICENSE_FILES   = COPYING COPYING.GPL COPYING.LGPL COPYING.lib COPYING.tools

There are some duplications here. My list in accordance with the above is:

GOBJECT_INTROSPECTION_LICENSE_FILES = COPYING COPYING.GPL COPYING.LGPL \
   giscanner/collections/ordereddict.py giscanner/scannerlexer.l

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

  parent reply	other threads:[~2017-02-23 13:02 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-23  0:54 [Buildroot] [RFC PATCH 0/2] add gobject-introspection Sam Bobroff
2017-02-23  0:54 ` [Buildroot] [RFC PATCH 1/2] package/gobject-introspection: add package Sam Bobroff
2017-02-23  9:18   ` Thomas Petazzoni
2017-02-24  4:07     ` Sam Bobroff
2017-02-24  8:25       ` Thomas Petazzoni
2017-02-27 14:58         ` Arnout Vandecappelle
2017-02-27 15:06           ` Baruch Siach
2017-02-27 23:22             ` Sam Bobroff
2017-08-15 10:47               ` Adam Duskett
2017-08-17  6:44                 ` Alexey Roslyakov
2017-08-17 22:39                   ` Arnout Vandecappelle
2017-08-22 10:57                     ` Adam Duskett
2017-08-24 23:03                       ` Arnout Vandecappelle
2017-08-26 16:01                         ` Adam Duskett
2017-08-27  5:11                           ` Waldemar Brodkorb
2017-08-27 15:15                             ` Adam Duskett
2017-02-27 15:58           ` Thomas Petazzoni
2017-02-27 22:54             ` Sam Bobroff
2017-02-23 13:02   ` Baruch Siach [this message]
2017-02-23 13:44   ` Jérôme Pouiller
2017-02-23  0:54 ` [Buildroot] [RFC PATCH 2/2] package/libvips: enable introspection Sam Bobroff
2017-02-23  9:19   ` Thomas Petazzoni

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=20170223130254.rc6qfphdsvwuiupy@tarshish \
    --to=baruch@tkos.co.il \
    --cc=buildroot@busybox.net \
    /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.