From b86c11f5bacfd0706365238c6b6435e08437222d Mon Sep 17 00:00:00 2001 From: Peter Marquardt Date: Thu, 7 Nov 2019 10:56:06 +0100 Subject: [PATCH 1/3] json-glib: update to 1.4.4 - enable single language support --- by rm po/LINGUAS. thanks meson. - disable introspection, thanks static - enable test-suite removal --- json-glib.be0 | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100755 json-glib.be0 diff --git a/json-glib.be0 b/json-glib.be0 new file mode 100755 index 000000000..0fa828ea9 --- /dev/null +++ b/json-glib.be0 @@ -0,0 +1,41 @@ +#!/usr/bin/env beesh + +# BEE_VERSION json-glib-1.4.4-0 + +SRCURL[0]="https://ftp.gnome.org/pub/gnome/sources/json-glib/${PKGVERSION[2]}/json-glib-${PKGVERSION}.tar.xz" + +# PATCHURL+=() + +# build_in_sourcedir + +# sourcesubdir_append src + +BEE_BUILDTYPE=meson + +#mee_extract() { +# bee_extract "${@}" +#} + +#mee_patch() { +# bee_patch "${@}" +#} + +mee_patch_post() { + echo "" > po/LINGUAS +} + +#mee_configure() { +# +#} + +#mee_build() { +# bee_build +#} + +mee_install() { + bee_install + # rm /usr/share/installed-tests + rm -rvf ${D}/usr/share + # rm ./usr/libexec/installed-tests + rm -rvf ${D}/usr/libexec +} From 7104b7b8560296ab7cfb33e7e8a0d2ba1ecaba22 Mon Sep 17 00:00:00 2001 From: Peter Marquardt Date: Thu, 7 Nov 2019 11:35:15 +0100 Subject: [PATCH 2/3] appstream-glib: install 0.7.16 evince fails with `/usr/bin/msgfmt: cannot locate ITS rules for evince-pdfdocument.metainfo.xml.in`. installation of 'appstream' is the suggested fix --- appstream-glib.be0 | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100755 appstream-glib.be0 diff --git a/appstream-glib.be0 b/appstream-glib.be0 new file mode 100755 index 000000000..1917f332f --- /dev/null +++ b/appstream-glib.be0 @@ -0,0 +1,38 @@ +#!/usr/bin/env beesh + +# BEE_VERSION appstream-glib-0.7.16-0 + + +SRCURL[0]="https://github.com/hughsie/appstream-glib/archive/appstream_glib_${PKGVERSION//./_}.tar.gz" + +# PATCHURL+=() + +# build_in_sourcedir + +# sourcesubdir_append src + +#mee_extract() { +# bee_extract "${@}" +#} + +#mee_patch() { +# bee_patch "${@}" +#} + +mee_configure() { + bee_configure \ + -Dstemmer=false +} + + +#mee_build() { +# bee_build +#} + +#mee_install() { +# bee_install +#} + +#mee_install_post() { +# exit +#} From ed8afa7ecde1c3b51dcd5e77d3d754313ae34baf Mon Sep 17 00:00:00 2001 From: Peter Marquardt Date: Thu, 7 Nov 2019 11:36:15 +0100 Subject: [PATCH 3/3] evince: update to 3.34.1 - rebuild --- evince.be0 | 74 +++++++++++++----------------------------------------- 1 file changed, 17 insertions(+), 57 deletions(-) diff --git a/evince.be0 b/evince.be0 index cf0b5b596..2972800b5 100755 --- a/evince.be0 +++ b/evince.be0 @@ -1,52 +1,21 @@ #!/usr/bin/env beesh -# BEE_VERSION evince-3.30.0-1 +# BEE_VERSION evince-3.34.1-1 -BEE_BUILDTYPE=configure - -## 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.) +# requires: +# bee update json-glib-1.4.4-0 +# bee update appstream-glib-0.7.16-0 -############################################################################### -## 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. +BEE_BUILDTYPE=configure SRCURL[0]="https://download.gnome.org/sources/evince/${PKGVERSION[2]}/evince-${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+=() -############################################################################### -## 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 build -## outside the source directory and need to be build 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 "${@}" #} @@ -56,7 +25,13 @@ SRCURL[0]="https://download.gnome.org/sources/evince/${PKGVERSION[2]}/evince-${P #} mee_configure() { - bee_configure --enable-introspection --disable-static + bee_configure \ + --enable-introspection \ + --disable-static \ + --disable-nls \ + --disable-libgnome-desktop \ + --disable-nautilus \ + --disable-thumbnailer } #mee_build() { @@ -69,25 +44,10 @@ mee_configure() { ## by default this may be 'make install DESTDIR="${D}"' mee_install_post() { - start_cmd mv -v ${D}${DATAROOTDIR}/applications/{org.gnome.Evince-previewer,evince-previewer}.desktop - start_cmd mv -v ${D}${DATAROOTDIR}/applications/{org.gnome.Evince,evince}.desktop + start_cmd mv -v ${D}${DATAROOTDIR}/applications/{org.gnome.Evince-previewer,evince-previewer}.desktop + start_cmd mv -v ${D}${DATAROOTDIR}/applications/{org.gnome.Evince,evince}.desktop + for i in bg ca cs da de el en_GB es eu fi fr gl hu id it ja ko lv nl oc pl pt_BR ro ru sl sr sv te uk vi zh_CN zh_HK zh_TW; do + rm -rf ${D}/usr/share/help/${i} + done } - -############################################################################### -## -## 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/ -##