Package Details: mingw-w64-graphite 1.3.14-2

Git Clone URL: https://aur.archlinux.org/mingw-w64-graphite.git (read-only, click to copy)
Package Base: mingw-w64-graphite
Description: Reimplementation of the SIL Graphite text processing engine (mingw-w64)
Upstream URL: https://github.com/silnrsi/graphite
Keywords: graphite mingw mingw-w64
Licenses: LGPL-2.1-or-later OR MPL-2.0 OR GPL-2.0-or-later
Submitter: Schala
Maintainer: pingplug
Last Packager: pingplug
Votes: 7
Popularity: 0.000000
First Submitted: 2016-09-28 22:08 (UTC)
Last Updated: 2025-05-16 15:47 (UTC)

Latest Comments

ppqwqqq commented on 2025-06-19 07:53 (UTC) (edited on 2025-06-19 07:54 (UTC) by ppqwqqq)

> Hello,

> The build for `mingw-w64-graphite` 1.3.14-2 fails on a modern Arch Linux system with GCC 15.1.

> The error occurs in `tests/featuremap/featuremaptest.cpp` because types like `uint8_t` are used without including the necessary `<cstdint>` header.

> Applying the following patch to `featuremaptest.cpp` solves the issue. Could you please consider adding it to the PKGBUILD?

> ```patch
> --- a/tests/featuremap/featuremaptest.cpp
> +++ b/tests/featuremap/featuremaptest.cpp
> @@ -34,6 +34,7 @@
>  #include "inc/Face.h"
>  +#include <cstdint>
>  #include "inc/FeatureMap.h"
> ```

> Thank you\!

DreckSoft commented on 2025-06-06 10:22 (UTC)

Building currently fails.

[ 93%] Built target graphite2-file
[ 94%] Building CXX object tests/featuremap/CMakeFiles/featuremaptest.dir/featuremaptest.cpp.obj
[ 95%] Building CXX object tests/vm/CMakeFiles/vm-test-common.dir/basic_test.cpp.obj
/var/tmp/pamac-build-admin/mingw-w64-graphite/src/graphite2-1.3.14/tests/featuremap/featuremaptest.cpp:49:15: error: ‘uint8_t’ was not declared in this scope
   49 |   std::vector<uint8_t> _ttf;
      |               ^~~~~~~
/var/tmp/pamac-build-admin/mingw-w64-graphite/src/graphite2-1.3.14/tests/featuremap/featuremaptest.cpp:35:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
   34 | #include "inc/Face.h"
  +++ |+#include <cstdint>
   35 | #include "inc/FeatureMap.h"
/var/tmp/pamac-build-admin/mingw-w64-graphite/src/graphite2-1.3.14/tests/featuremap/featuremaptest.cpp:49:22: error: template argument 1 is invalid
   49 |   std::vector<uint8_t> _ttf;
      |                      ^
/var/tmp/pamac-build-admin/mingw-w64-graphite/src/graphite2-1.3.14/tests/featuremap/featuremaptest.cpp:49:22: error: template argument 2 is invalid
/var/tmp/pamac-build-admin/mingw-w64-graphite/src/graphite2-1.3.14/tests/featuremap/featuremaptest.cpp: In static member function ‘static int face_handle::buffer_from_file(const std::string&)’:
/var/tmp/pamac-build-admin/mingw-w64-graphite/src/graphite2-1.3.14/tests/featuremap/featuremaptest.cpp:60:12: error: request for member ‘assign’ in ‘result’, which is of non-class type ‘int’

[...]

  310 |         for (uint16_t j = 0; j < table.m_defs[i].m_numFeatSettings; j++)
      |              ^~~~~~~~
/var/tmp/pamac-build-admin/mingw-w64-graphite/src/graphite2-1.3.14/tests/featuremap/featuremaptest.cpp:310:14: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
/var/tmp/pamac-build-admin/mingw-w64-graphite/src/graphite2-1.3.14/tests/featuremap/featuremaptest.cpp:310:30: error: ‘j’ was not declared in this scope [-Wtemplate-body]
  310 |         for (uint16_t j = 0; j < table.m_defs[i].m_numFeatSettings; j++)
      |                              ^
make[2]: *** [tests/featuremap/CMakeFiles/featuremaptest.dir/build.make:80: tests/featuremap/CMakeFiles/featuremaptest.dir/featuremaptest.cpp.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:899: tests/featuremap/CMakeFiles/featuremaptest.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 96%] Linking CXX static library libvm-test-common.a
[ 96%] Built target vm-test-common
make: *** [Makefile:146: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

php4fan commented on 2025-05-03 23:29 (UTC)

Where should bugs be reported?

I get an error when installing with Pamac:

==> Starting build()...
/var/tmp/pamac-build-teo/mingw-w64-graphite/src/graphite2-1.3.14/build-i686-w64-mingw32 /var/tmp/pamac-build-teo/mingw-w64-graphite/src/graphite2-1.3.14
CMake Error at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...

See: https://github.com/manjaro/issue-hub/issues/23#issuecomment-2848853687

msrd0 commented on 2022-11-28 16:01 (UTC)

Can you please update the .SRCINFO file? As @lantw44 already mentioned, it is currently out of sync with the version in the PKGBUILD

lantw44 commented on 2022-11-14 14:41 (UTC)

PKGBUILD is 1.3.14-2, but .SRCINFO is still 1.3.14-1.

drakkan commented on 2022-11-03 13:42 (UTC)

python2 was removed from repos and it is now in aur, the PKGBUILD works for me removing the python2 make dep (I have python3 installed not sure if necessary)