From b15fbf8d9d9e81411a6625c86a56d37fb625993e Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Wed, 10 May 2017 17:35:45 +0200 Subject: [PATCH 1/6] graphite2: Add version 1.3.9 Create the bee file with the command below, and convert it to a versionless bee file. ``` $ bee init https://github.com/silnrsi/graphite/releases/download/1.3.9/graphite2-1.3.9.tgz creating graphite2-1.3.9-0.bee from template '/etc/default/bee/templates/fallback' ``` --- graphite2.be0 | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100755 graphite2.be0 diff --git a/graphite2.be0 b/graphite2.be0 new file mode 100755 index 000000000..4a868ba97 --- /dev/null +++ b/graphite2.be0 @@ -0,0 +1,85 @@ +#!/usr/bin/env beesh + +# BEE_VERSION graphite2-1.3.9-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. + +SRCURL[0]="https://github.com/silnrsi/graphite/releases/download/${PKGVERSION}/graphite2-${PKGVERSION}.tgz" + +############################################################################### +## 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 "${@}" +#} + +#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 b4886902e2ef9ba6f2d437b6fbb0451232252c8f Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Wed, 10 May 2017 17:07:57 +0200 Subject: [PATCH 2/6] harfbuzz: Enable Graphite2 support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit LibreOffice 5.3 needs Harfbuzz built with Graphite support. ``` […] checking whether system Harfbuzz is built with Graphite support... checking for hb_graphite2_face_get_gr_face... no configure: error: Harfbuzz needs to be built with Graphite support. […] ``` --- harfbuzz.be0 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/harfbuzz.be0 b/harfbuzz.be0 index 8d2804aa5..73352d91e 100755 --- a/harfbuzz.be0 +++ b/harfbuzz.be0 @@ -21,9 +21,10 @@ SRCURL[0]="https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-${PKGV # bee_patch "${@}" #} -#mee_configure() { -# bee_configure -#} +mee_configure() { + bee_configure \ + --with-graphite2 +} #mee_build() { # bee_build From 9bdee691d6f8347b91510aea83374780b0494be1 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Wed, 10 May 2017 17:09:35 +0200 Subject: [PATCH 3/6] harfbuzz: Build HarfBuzz GObject wrapper As GLib is installed, also build the GObject wrapper [1]. > --with-gobject: This switch enables building of the HarfBuzz GObject > wrapper. Remove it if you did not install GLib. [1] http://www.linuxfromscratch.org/blfs/view/svn/general/harfbuzz.html --- harfbuzz.be0 | 1 + 1 file changed, 1 insertion(+) diff --git a/harfbuzz.be0 b/harfbuzz.be0 index 73352d91e..f42a82079 100755 --- a/harfbuzz.be0 +++ b/harfbuzz.be0 @@ -23,6 +23,7 @@ SRCURL[0]="https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-${PKGV mee_configure() { bee_configure \ + --with-gobject \ --with-graphite2 } From 0c2811d6faa9a387bb6b26c812161da130bd20e2 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Wed, 10 May 2017 17:15:38 +0200 Subject: [PATCH 4/6] harfbuzz: Update version from 1.4.5 to 1.4.6 From the [GitHub release page][1]: > Overview of changes leading to 1.4.6 Sunday, April 23, 2017 > > * Graphite2: Fix RTL positioning issue. > * Backlist GDEF of more versions of Padauk and Tahoma. > * New, experimental, cmake alternative build system. [1]: https://github.com/behdad/harfbuzz/releases --- harfbuzz.be0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/harfbuzz.be0 b/harfbuzz.be0 index f42a82079..b5103fd4f 100755 --- a/harfbuzz.be0 +++ b/harfbuzz.be0 @@ -1,6 +1,6 @@ #!/usr/bin/env beesh -# BEE_VERSION harfbuzz-1.4.5-0 +# BEE_VERSION harfbuzz-1.4.6-0 SRCURL[0]="https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-${PKGVERSION}.tar.bz2" From e8acfe74ef2de019f94adce609d1f6446afe6ba9 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Wed, 10 May 2017 17:40:39 +0200 Subject: [PATCH 5/6] harfbuzz: Use GNU Autotools Bee uses CMake over GNU Autotools. As GNU Autotools are already used, continue to do so. --- harfbuzz.be0 | 1 + 1 file changed, 1 insertion(+) diff --git a/harfbuzz.be0 b/harfbuzz.be0 index b5103fd4f..ebf6c846b 100755 --- a/harfbuzz.be0 +++ b/harfbuzz.be0 @@ -12,6 +12,7 @@ SRCURL[0]="https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-${PKGV # sourcesubdir_append src +BEE_BUILDTYPE=autotools #mee_extract() { # bee_extract "${@}" From 62066a417262661ef584e8ec9c17d45fd4305714 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Wed, 10 May 2017 18:03:00 +0200 Subject: [PATCH 6/6] freetype: Update version from 2.7 to 2.7.1 [News entry][1]: > FreeType 2.7.1 > 2016-12-30 > > FreeType 2.7.1 has been released. The most important news is > preliminary support of Adobe's new CFF2 font format and variation > fonts as specified in the new OpenType specification version 1.8. It > also fixes the handling of raw CID fonts (which might be found in PDF > files) > > See [here][2] for a list of changes. [1]: https://www.freetype.org/index.html#news [2]: https://sourceforge.net/projects/freetype/files/freetype2/2.7.1/ --- freetype.be0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freetype.be0 b/freetype.be0 index 2008266c7..c8b1f909f 100755 --- a/freetype.be0 +++ b/freetype.be0 @@ -1,6 +1,6 @@ #!/bin/env beesh -# BEE_VERSION freetype-2.7-0 +# BEE_VERSION freetype-2.7.1-0 BEE_BUILDTYPE=autotools