From 3697ad4c8d84e8261de52629aaf86c164a1eaba4 Mon Sep 17 00:00:00 2001 From: thomas Date: Wed, 25 Sep 2019 13:58:03 +0200 Subject: [PATCH 1/3] eog: dump old bee file and init again --- eog-3.0.0-0.bee | 31 ------------------- eog-3.26.2-0.bee | 77 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+), 31 deletions(-) delete mode 100755 eog-3.0.0-0.bee create mode 100755 eog-3.26.2-0.bee diff --git a/eog-3.0.0-0.bee b/eog-3.0.0-0.bee deleted file mode 100755 index cfbcb99bc..000000000 --- a/eog-3.0.0-0.bee +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/env beesh - -SRCURL[0]="http://ftp.acc.umu.se/pub/GNOME/sources/eog/${PKGVERSION[2]}/eog-${PKGVERSION}.tar.bz2" - -PATCHURL[0]="" - -# BEE_CONFIGURE=compat - -# EXCLUDE="" - - - -mee_extract() { - bee_extract ${@} -} - -mee_patch() { - bee_patch ${@} -} - -mee_configure() { - bee_configure -} - -mee_build() { - bee_build -} - -mee_install() { - bee_install -} diff --git a/eog-3.26.2-0.bee b/eog-3.26.2-0.bee new file mode 100755 index 000000000..2ae73de50 --- /dev/null +++ b/eog-3.26.2-0.bee @@ -0,0 +1,77 @@ +#!/usr/bin/env beesh + +## 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. + +SRCURL[0]="https://download.gnome.org/sources/eog/${PKGVERSION[2]}/eog-${PKGVERSION}.tar.xz" + +############################################################################### +## Add URLs/pathes to patch files to the PATCHURL array. +## The sources will be patched in the order of the array. + +# PATCHURL+=() + +############################################################################### +## 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 "${@}" +#} + +#mee_configure() { +# bee_configure +#} + +#mee_build() { +# bee_build +#} + +#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/ +## From ccc519179b456f17d1f60b9117d314588e835b78 Mon Sep 17 00:00:00 2001 From: thomas Date: Wed, 25 Sep 2019 14:01:01 +0200 Subject: [PATCH 2/3] eog: turn into a versionless file --- eog-3.26.2-0.bee => eog.be0 | 2 ++ 1 file changed, 2 insertions(+) rename eog-3.26.2-0.bee => eog.be0 (98%) diff --git a/eog-3.26.2-0.bee b/eog.be0 similarity index 98% rename from eog-3.26.2-0.bee rename to eog.be0 index 2ae73de50..dd25806ab 100755 --- a/eog-3.26.2-0.bee +++ b/eog.be0 @@ -1,5 +1,7 @@ #!/usr/bin/env beesh +# BEE_VERSION eog-3.26.2-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 86e0467ea6ab905a5d4fad98ae8c10b73f27802f Mon Sep 17 00:00:00 2001 From: thomas Date: Wed, 25 Sep 2019 14:43:47 +0200 Subject: [PATCH 3/3] eog: remove a vast amount of help files --- eog.be0 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eog.be0 b/eog.be0 index dd25806ab..857c3dd1f 100755 --- a/eog.be0 +++ b/eog.be0 @@ -60,6 +60,11 @@ SRCURL[0]="https://download.gnome.org/sources/eog/${PKGVERSION[2]}/eog-${PKGVERS #} ## by default this may be 'make install DESTDIR="${D}"' +# get rid of a thousand unneeded files +mee_install_post() { + ls -d ${D}/usr/share/help/* | grep -v -e 'C$' -e 'en_GB$' | xargs rm -r +} + ############################################################################### ## ## Additional hints: