[v13,2/5] package/prelink-cross: new package
diff mbox series

Message ID 20190804001429.51451-2-aduskett@gmail.com
State New
Headers show
Series
  • [v13,1/5] package/libiberty: new package
Related show

Commit Message

Adam Duskett Aug. 4, 2019, 12:14 a.m. UTC
From: Adam Duskett <Aduskett@gmail.com>

Prelink-cross emulates a runtime linker for a given sysroot. This is
necessary to allow gobject-introspection to build its typelib files
during cross-compiling.

We're using a sha1 on the cross_prelink branch, as we need the
RTLD-enabled variant of prelink-cross.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Adam Duskett <Aduskett@gmail.com>
---
Changes v11 -> v12:
  - Change version to a853a5d715d84eec93aa68e8f2df26b7d860f5b2 as the commit
    id b10e14218646d8b74773b82b0f8b395bce698fa2 no longer exists.
 
Changes v10 -> v11:
  - adopted by Yann
  - switch to a https git server
  - drop the Config.in.host entry
  - fix typo in commit log

Changes v9 -> v10:
  - None

Changes v8 -> v9:
  - Add the package to the DEVELOPERS file under my name.
  - Bump version to a853a5d715d84eec93aa68e8f2df26b7d860f5b2
  - Add host-elfutils as a dependency.

Changes v7 -> v8:
  - None

Changes v1 -> v7:
  - Add patch to series.

 DEVELOPERS                               |  1 +
 package/prelink-cross/prelink-cross.hash |  3 +++
 package/prelink-cross/prelink-cross.mk   | 15 +++++++++++++++
 3 files changed, 19 insertions(+)
 create mode 100644 package/prelink-cross/prelink-cross.hash
 create mode 100644 package/prelink-cross/prelink-cross.mk

Comments

Yann E. MORIN Aug. 4, 2019, 6:07 a.m. UTC | #1
Adam, All,

On 2019-08-03 20:14 -0400, aduskett@gmail.com spake thusly:
> From: Adam Duskett <Aduskett@gmail.com>
> 
> Prelink-cross emulates a runtime linker for a given sysroot. This is
> necessary to allow gobject-introspection to build its typelib files
> during cross-compiling.
> 
> We're using a sha1 on the cross_prelink branch, as we need the
> RTLD-enabled variant of prelink-cross.
> 
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> Signed-off-by: Adam Duskett <Aduskett@gmail.com>
> ---
> Changes v11 -> v12:
>   - Change version to a853a5d715d84eec93aa68e8f2df26b7d860f5b2 as the commit
>     id b10e14218646d8b74773b82b0f8b395bce698fa2 no longer exists.

I was very discincerted by this comment: that a commit from upstream
disapeeared was not very conforting: what would guarantee that the new
commit we now choose will not disappear in the future?

So this had me check the upstream epository, and there is good news: 6
weeks ago, they did merge the cross_prelink branch into master. Wee! :-)

So, you may want to update this to use the HEAD of the master brnach,
which is currently d89fb6060e57f0aaa329de9ad81abe76c180ac66.

Regards,
Yann E. MORIN.

> Changes v10 -> v11:
>   - adopted by Yann
>   - switch to a https git server
>   - drop the Config.in.host entry
>   - fix typo in commit log
> 
> Changes v9 -> v10:
>   - None
> 
> Changes v8 -> v9:
>   - Add the package to the DEVELOPERS file under my name.
>   - Bump version to a853a5d715d84eec93aa68e8f2df26b7d860f5b2
>   - Add host-elfutils as a dependency.
> 
> Changes v7 -> v8:
>   - None
> 
> Changes v1 -> v7:
>   - Add patch to series.
> 
>  DEVELOPERS                               |  1 +
>  package/prelink-cross/prelink-cross.hash |  3 +++
>  package/prelink-cross/prelink-cross.mk   | 15 +++++++++++++++
>  3 files changed, 19 insertions(+)
>  create mode 100644 package/prelink-cross/prelink-cross.hash
>  create mode 100644 package/prelink-cross/prelink-cross.mk
> 
> diff --git a/DEVELOPERS b/DEVELOPERS
> index e9da0c7f50..407f3f1b1d 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -56,6 +56,7 @@ F:	package/openjdk/
>  F:	package/openjdk-bin/
>  F:	package/php/
>  F:	package/policycoreutils/
> +F:	package/prelink-cross/
>  F:	package/python3/
>  F:	package/python-flask-sqlalchemy/
>  F:	package/python-mutagen/
> diff --git a/package/prelink-cross/prelink-cross.hash b/package/prelink-cross/prelink-cross.hash
> new file mode 100644
> index 0000000000..3ac33ac3d0
> --- /dev/null
> +++ b/package/prelink-cross/prelink-cross.hash
> @@ -0,0 +1,3 @@
> +# Locally computed
> +sha256  cb3f5d833cd74b7e90e38465c9c948b0f4138c017509cb91e391b0931063429e  prelink-cross-a853a5d715d84eec93aa68e8f2df26b7d860f5b2.tar.gz
> +sha256  b8a2f73f743dc1a51aff23f1aacbca4b868564db52496fa3c0caba755bfd1eaf  COPYING
> diff --git a/package/prelink-cross/prelink-cross.mk b/package/prelink-cross/prelink-cross.mk
> new file mode 100644
> index 0000000000..d97141bab4
> --- /dev/null
> +++ b/package/prelink-cross/prelink-cross.mk
> @@ -0,0 +1,15 @@
> +################################################################################
> +#
> +# host-prelink-cross
> +#
> +################################################################################
> +
> +HOST_PRELINK_CROSS_VERSION = a853a5d715d84eec93aa68e8f2df26b7d860f5b2
> +HOST_PRELINK_CROSS_SITE = https://git.yoctoproject.org/git/prelink-cross
> +HOST_PRELINK_CROSS_SITE_METHOD = git
> +HOST_PRELINK_CROSS_LICENSE = GPL-2.0
> +HOST_PRELINK_CROSS_LICENSE_FILES = COPYING
> +HOST_PRELINK_CROSS_AUTORECONF = YES
> +HOST_PRELINK_CROSS_DEPENDENCIES = host-elfutils host-libiberty
> +
> +$(eval $(host-autotools-package))
> -- 
> 2.21.0
>
Arnout Vandecappelle (Essensium/Mind) Aug. 4, 2019, 8:16 a.m. UTC | #2
Hi Adam,

 I don't see any differences between v12 and v13, did I miss something?

 I had already started applying (not pushed yet obviously) so it's important to
know. I did make a few modifications, which I'll indicate here...

On 04/08/2019 02:14, aduskett@gmail.com wrote:
> From: Adam Duskett <Aduskett@gmail.com>
> 
> Prelink-cross emulates a runtime linker for a given sysroot. This is
> necessary to allow gobject-introspection to build its typelib files
> during cross-compiling.
> 
> We're using a sha1 on the cross_prelink branch, as we need the
> RTLD-enabled variant of prelink-cross.
> 
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> Signed-off-by: Adam Duskett <Aduskett@gmail.com>
> ---
> Changes v11 -> v12:

 Ah, now I get it: this is actually v12 -> v13

>   - Change version to a853a5d715d84eec93aa68e8f2df26b7d860f5b2 as the commit
>     id b10e14218646d8b74773b82b0f8b395bce698fa2 no longer exists.
>  
> Changes v10 -> v11:
>   - adopted by Yann
>   - switch to a https git server
>   - drop the Config.in.host entry
>   - fix typo in commit log
> 
> Changes v9 -> v10:
>   - None
> 
> Changes v8 -> v9:
>   - Add the package to the DEVELOPERS file under my name.
>   - Bump version to a853a5d715d84eec93aa68e8f2df26b7d860f5b2
>   - Add host-elfutils as a dependency.
> 
> Changes v7 -> v8:
>   - None
> 
> Changes v1 -> v7:
>   - Add patch to series.
> 
>  DEVELOPERS                               |  1 +
>  package/prelink-cross/prelink-cross.hash |  3 +++
>  package/prelink-cross/prelink-cross.mk   | 15 +++++++++++++++
>  3 files changed, 19 insertions(+)
>  create mode 100644 package/prelink-cross/prelink-cross.hash
>  create mode 100644 package/prelink-cross/prelink-cross.mk
> 
> diff --git a/DEVELOPERS b/DEVELOPERS
> index e9da0c7f50..407f3f1b1d 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -56,6 +56,7 @@ F:	package/openjdk/
>  F:	package/openjdk-bin/
>  F:	package/php/
>  F:	package/policycoreutils/
> +F:	package/prelink-cross/
>  F:	package/python3/
>  F:	package/python-flask-sqlalchemy/
>  F:	package/python-mutagen/
> diff --git a/package/prelink-cross/prelink-cross.hash b/package/prelink-cross/prelink-cross.hash
> new file mode 100644
> index 0000000000..3ac33ac3d0
> --- /dev/null
> +++ b/package/prelink-cross/prelink-cross.hash
> @@ -0,0 +1,3 @@
> +# Locally computed
> +sha256  cb3f5d833cd74b7e90e38465c9c948b0f4138c017509cb91e391b0931063429e  prelink-cross-a853a5d715d84eec93aa68e8f2df26b7d860f5b2.tar.gz
> +sha256  b8a2f73f743dc1a51aff23f1aacbca4b868564db52496fa3c0caba755bfd1eaf  COPYING
> diff --git a/package/prelink-cross/prelink-cross.mk b/package/prelink-cross/prelink-cross.mk
> new file mode 100644
> index 0000000000..d97141bab4
> --- /dev/null
> +++ b/package/prelink-cross/prelink-cross.mk
> @@ -0,0 +1,15 @@
> +################################################################################
> +#
> +# host-prelink-cross
> +#
> +################################################################################
> +
> +HOST_PRELINK_CROSS_VERSION = a853a5d715d84eec93aa68e8f2df26b7d860f5b2
> +HOST_PRELINK_CROSS_SITE = https://git.yoctoproject.org/git/prelink-cross
> +HOST_PRELINK_CROSS_SITE_METHOD = git
> +HOST_PRELINK_CROSS_LICENSE = GPL-2.0
> +HOST_PRELINK_CROSS_LICENSE_FILES = COPYING
> +HOST_PRELINK_CROSS_AUTORECONF = YES

 I added a comment above:

# Sources from git, no configure script present

 Regards,
 Arnout

> +HOST_PRELINK_CROSS_DEPENDENCIES = host-elfutils host-libiberty
> +
> +$(eval $(host-autotools-package))
>

Patch
diff mbox series

diff --git a/DEVELOPERS b/DEVELOPERS
index e9da0c7f50..407f3f1b1d 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -56,6 +56,7 @@  F:	package/openjdk/
 F:	package/openjdk-bin/
 F:	package/php/
 F:	package/policycoreutils/
+F:	package/prelink-cross/
 F:	package/python3/
 F:	package/python-flask-sqlalchemy/
 F:	package/python-mutagen/
diff --git a/package/prelink-cross/prelink-cross.hash b/package/prelink-cross/prelink-cross.hash
new file mode 100644
index 0000000000..3ac33ac3d0
--- /dev/null
+++ b/package/prelink-cross/prelink-cross.hash
@@ -0,0 +1,3 @@ 
+# Locally computed
+sha256  cb3f5d833cd74b7e90e38465c9c948b0f4138c017509cb91e391b0931063429e  prelink-cross-a853a5d715d84eec93aa68e8f2df26b7d860f5b2.tar.gz
+sha256  b8a2f73f743dc1a51aff23f1aacbca4b868564db52496fa3c0caba755bfd1eaf  COPYING
diff --git a/package/prelink-cross/prelink-cross.mk b/package/prelink-cross/prelink-cross.mk
new file mode 100644
index 0000000000..d97141bab4
--- /dev/null
+++ b/package/prelink-cross/prelink-cross.mk
@@ -0,0 +1,15 @@ 
+################################################################################
+#
+# host-prelink-cross
+#
+################################################################################
+
+HOST_PRELINK_CROSS_VERSION = a853a5d715d84eec93aa68e8f2df26b7d860f5b2
+HOST_PRELINK_CROSS_SITE = https://git.yoctoproject.org/git/prelink-cross
+HOST_PRELINK_CROSS_SITE_METHOD = git
+HOST_PRELINK_CROSS_LICENSE = GPL-2.0
+HOST_PRELINK_CROSS_LICENSE_FILES = COPYING
+HOST_PRELINK_CROSS_AUTORECONF = YES
+HOST_PRELINK_CROSS_DEPENDENCIES = host-elfutils host-libiberty
+
+$(eval $(host-autotools-package))