From 1fb929d00120fe5c4ff8b28e617ba44cf2d0e9f3 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Sat, 17 Aug 2024 12:53:52 +0200 Subject: [PATCH 1/5] libuv: Update version from 1.14.1 to 1.37.0 --- libuv.be0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libuv.be0 b/libuv.be0 index bf7f5f089..b29502967 100755 --- a/libuv.be0 +++ b/libuv.be0 @@ -1,6 +1,6 @@ #!/usr/bin/env beesh -# BEE_VERSION libuv-1.14.1-0 +# BEE_VERSION libuv-1.37.0-0 ## this file was created by bee init and should be executed to build a ## bee-package. (Additional hints are located at the end of this file.) From 42500454594a65bc7575b5bdd66a75671ac0df48 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Sat, 17 Aug 2024 12:58:03 +0200 Subject: [PATCH 2/5] libuv: Remove mee_patch The library can be build either with autotools or with cmake. Don't run autgogen.sh so that we don't generate a configure script. Bee will select cmake, which is fine. --- libuv.be0 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libuv.be0 b/libuv.be0 index b29502967..b38a6d070 100755 --- a/libuv.be0 +++ b/libuv.be0 @@ -49,10 +49,10 @@ SRCURL[0]="https://github.com/libuv/libuv/archive/v${PKGVERSION}.tar.gz" # bee_extract "${@}" #} -mee_patch() { - bee_patch "${@}" - start_cmd sh autogen.sh -} +#mee_patch() { +# bee_patch "${@}" +# start_cmd sh autogen.sh +#} #mee_configure() { # bee_configure From 51bd2be788823645df38595f4d5ae7f350a50ff2 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Sat, 17 Aug 2024 13:05:36 +0200 Subject: [PATCH 3/5] libuv: Convert to mTEMPLATE format --- libuv.be0 | 57 ++++--------------------------------------------------- 1 file changed, 4 insertions(+), 53 deletions(-) diff --git a/libuv.be0 b/libuv.be0 index b38a6d070..2b79e184b 100755 --- a/libuv.be0 +++ b/libuv.be0 @@ -2,56 +2,22 @@ # BEE_VERSION libuv-1.37.0-0 -## this file was created by bee init and should be executed to build a -## bee-package. (Additional hints are located at the end of this file.) - -############################################################################### -## The source URL(s) define the location of the sources that will be -## downloaded. Version variables may be used to simplify reuse of this bee-file. +# more info: https://github.com/libuv/libuv SRCURL[0]="https://github.com/libuv/libuv/archive/v${PKGVERSION}.tar.gz" -############################################################################### -## Add URLs/pathes to patch files to the PATCHURL array. -## The sources will be patched in the order of the array. - # PATCHURL+=() -############################################################################### -## Add filename patterns to the EXCLUDE array of files that should not -## be added to you package but may be present in the image directory. - -# EXCLUDE+=() - -############################################################################### -## Uncomment the next statement, if the software may not be able to be built -## outside the source directory and needs to be built inside the source -## directory. - # build_in_sourcedir -############################################################################### -## bee cannot detect buildtypes specified in subdirectories. -## Sometimes packages "hide" the real sources in a subdirectory named -## 'src' or 'cmake' or .. -## use 'sourcesubdir_append' to specify this directory if known. - # sourcesubdir_append src - -############################################################################### -## Change the default (auto-detected) steps to -## extract, patch, configure/setup, build and install the software. -## Make sure the mee_install function does install everything to the -## image directory "${D}" - #mee_extract() { # bee_extract "${@}" #} #mee_patch() { # bee_patch "${@}" -# start_cmd sh autogen.sh #} #mee_configure() { @@ -65,22 +31,7 @@ SRCURL[0]="https://github.com/libuv/libuv/archive/v${PKGVERSION}.tar.gz" #mee_install() { # bee_install #} -## by default this may be 'make install DESTDIR="${D}"' -############################################################################### -## -## Additional hints: -## -## The name of this bee-file should follow the following naming convention: -## pkgname-pkgversion-pkgrevision.bee -## -## You may remove all comments as long as SRCURL[0] is set. -## -## Everything in this file will be executed in a bash environment. -## -## Build the package by executing -## './pkg-version-N.bee' or -## 'beesh ./pkg-version-N.bee' -## -## see http://beezinga.org/ -## +#mee_install_post() { +# exit +#} From b58ac7e49c66452ba3b9ec1e7b773b45740e86f5 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Sat, 17 Aug 2024 13:06:44 +0200 Subject: [PATCH 4/5] libuv: Fix SRCURL --- libuv.be0 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libuv.be0 b/libuv.be0 index 2b79e184b..40a14ffb4 100755 --- a/libuv.be0 +++ b/libuv.be0 @@ -4,7 +4,8 @@ # more info: https://github.com/libuv/libuv -SRCURL[0]="https://github.com/libuv/libuv/archive/v${PKGVERSION}.tar.gz" +#SRCURL[0]="https://github.com/libuv/libuv/archive/v${PKGVERSION}.tar.gz" +SRCURL[0]="https://beehive.molgen.mpg.de/905d37005fae9cd51424ba25ff4b8a08/v1.37.0.tar.gz" # PATCHURL+=() From 5f3cfe67a46fe7d5232af476b0a80a901c78c5e0 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Sat, 17 Aug 2024 13:22:00 +0200 Subject: [PATCH 5/5] libuv: Remove /usr/share/doc/libuv/LICENSE --- libuv.be0 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libuv.be0 b/libuv.be0 index 40a14ffb4..6a38f9520 100755 --- a/libuv.be0 +++ b/libuv.be0 @@ -33,6 +33,9 @@ SRCURL[0]="https://beehive.molgen.mpg.de/905d37005fae9cd51424ba25ff4b8a08/v1.37. # bee_install #} -#mee_install_post() { -# exit -#} +mee_install_post() { + start_cmd rm $D/usr/share/doc/libuv/LICENSE + start_cmd rmdir $D/usr/share/doc/libuv + start_cmd rmdir $D/usr/share/doc + start_cmd rmdir $D/usr/share +}