From 74d71155759e80daba1a67a702db4701801c1ca0 Mon Sep 17 00:00:00 2001 From: Peter Marquardt Date: Tue, 24 Aug 2021 16:40:14 +0200 Subject: [PATCH] dia: update to latest 0.97.3 master branch - depends on graphene - NLS=1 - fix poppler pdf build - force ninja to handle BEE_MAKEFLAGS ( -j xx ) --- dia-0.97.0_p1421_68f7362-0.bee | 83 ---------------------------------- dia.be0 | 41 +++++++++++++++++ 2 files changed, 41 insertions(+), 83 deletions(-) delete mode 100755 dia-0.97.0_p1421_68f7362-0.bee create mode 100755 dia.be0 diff --git a/dia-0.97.0_p1421_68f7362-0.bee b/dia-0.97.0_p1421_68f7362-0.bee deleted file mode 100755 index bd9577418..000000000 --- a/dia-0.97.0_p1421_68f7362-0.bee +++ /dev/null @@ -1,83 +0,0 @@ -#!/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]="/src/mariux/beeroot/downloads/dia-${PKGVERSION}_p1421_68f7362.tar.bz2" - -############################################################################### -## 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 "${@}" -#} - -#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/ -## diff --git a/dia.be0 b/dia.be0 new file mode 100755 index 000000000..ed6f8e716 --- /dev/null +++ b/dia.be0 @@ -0,0 +1,41 @@ +#!/usr/bin/env beesh + +# BEE_VERSION dia-0.97.0_p2378_g4681a259-1 + +# git clone https://aur.archlinux.org/dia-git.git +# https://wiki.gnome.org/action/show/Apps/Dia?action=show&redirect=Dia + +SRCURL[0]="https://beehive.molgen.mpg.de/f69a71651baf0083ff0c7c1ad6732bca/DIA_0_97_0-2378-g4681a259.tar.gz" + +PATCHURL+=("https://beehive.molgen.mpg.de/909bed79526870e8856c82aca4e7bdde/dia-libglib_dep.patch") +PATCHURL+=("https://beehive.molgen.mpg.de/94059aa80a34905801c0ff7b9ad4e92f/poppler_fix.patch") + +BMF=$(beegetopt --option j: -- ${BEE_MAKEFLAGS}|xargs) +BEE_NINJAFLAGS=${BMF/ -- */} + + +# build_in_sourcedir + +# sourcesubdir_append src + +#mee_extract() { +# bee_extract "${@}" +#} + +mee_patch() { + bee_patch "${@}" + echo "">po/LINGUAS +} + +mee_configure() { + CFLAGS='-Wno-deprecated-declarations' \ + bee_configure +} + +#mee_build() { +# bee_build +#} + +#mee_install() { +# bee_install +#}