Package Details: milton-git 1.9.1.r27.768c035-2

Git Clone URL: https://aur.archlinux.org/milton-git.git (read-only, click to copy)
Package Base: milton-git
Description: An infinite-canvas paint program
Upstream URL: https://github.com/serge-rgb/milton
Keywords: art canvas drawing infinite notes paint
Licenses: GPL3
Conflicts: milton
Provides: milton
Submitter: jonhoo
Maintainer: None
Last Packager: haawda
Votes: 10
Popularity: 0.000000
First Submitted: 2019-03-05 03:10 (UTC)
Last Updated: 2022-12-01 15:01 (UTC)

Pinned Comments

haawda commented on 2022-11-21 10:35 (UTC)

Please build in a clean chroot.

Latest Comments

1 2 3 Next › Last »

Popolon commented on 2025-12-06 15:59 (UTC)

harfbuzz patch is no more needed

but need to add -D CMAKE_POLICY_VERSION_MINIMUM=3.5 to the cmake:

so just replace the harfbuzz patch by this cmake one.

Desipite this it still fail latter in "third_party/SDL2-2.0.8/src/video/kmsdrm/SDL_kmsdrmopengles.c:40:81", ((SDL_VideoData )_this->driverdata)->gbm* is an oncompatible pointer type.

diff --git a/build-lin.sh b/build-lin.sh
index 7716b30..e658f94 100755
--- a/build-lin.sh
+++ b/build-lin.sh
@@ -18,6 +18,7 @@ pushd third_party/SDL2-2.0.8
     -D SDL_SHARED:BOOL=OFF
     -D CMAKE_INSTALL_PREFIX="../linux64"
     -G "Unix Makefiles"
+    -D CMAKE_POLICY_VERSION_MINIMUM=3.5
     -D CMAKE_DEBUG_POSTFIX="_debug"
     -D SDL_STATIC_PIC:BOOL=ON
     '
@@ -32,5 +33,8 @@ popd
 mkdir -p build
 cd build

+# We must set these cxxflags so harfbuzz header is found:
+# https://gitlab.kitware.com/cmake/cmake/issues/19531
+CXXFLAGS=$(pkgconf --cflags harfbuzz) \
 cmake $@ .. || exit 1
 make -j || exit 1

tocic commented on 2022-11-30 11:57 (UTC)

Also, it has GPL3 license. See https://github.com/serge-rgb/milton/blob/master/LICENSE.txt and https://aur.archlinux.org/cgit/aur.git/commit/PKGBUILD?h=milton&id=fd83556b7a668aecd00289f9c79bbfad3f724b20.

tocic commented on 2022-11-30 11:43 (UTC)

I'm getting the following message during makepkg -sir:

==> Checking for packaging issues...
==> WARNING: Package contains reference to $srcdir
usr/bin/milton

tocic commented on 2022-11-30 11:20 (UTC)

The author said it's better to use the trunk-based version — https://aur.archlinux.org/packages/milton-git, since today mostly bugfixes are accepted and release tags aren't updated. This package should be built with export CXX=clang++ and https://github.com/serge-rgb/milton/pull/190.patch.

haawda commented on 2022-11-21 10:35 (UTC)

Please build in a clean chroot.

Tio commented on 2022-01-29 14:24 (UTC)

I get this error:

/var/tmp/pamac-build-tio/milton-git/src/milton/third_party/SDL2-2.0.8/build/linrelease/wayland-generated-protocols/wayland-client-protocol.h:4796: undefined reference to `wl_proxy_get_version'
/usr/bin/ld: /var/tmp/pamac-build-tio/milton-git/src/milton/third_party/SDL2-2.0.8/build/linrelease/wayland-generated-protocols/wayland-client-protocol.h:4796: undefined reference to `wl_proxy_marshal_flags'
/usr/bin/ld: ../third_party/SDL2-2.0.8/build/linux64/lib/libSDL2d.a(SDL_waylandmouse.c.o): in function `wl_buffer_destroy':
/var/tmp/pamac-build-tio/milton-git/src/milton/third_party/SDL2-2.0.8/build/linrelease/wayland-generated-protocols/wayland-client-protocol.h:2017: undefined reference to `wl_proxy_get_version'
/usr/bin/ld: /var/tmp/pamac-build-tio/milton-git/src/milton/third_party/SDL2-2.0.8/build/linrelease/wayland-generated-protocols/wayland-client-protocol.h:2017: undefined reference to `wl_proxy_marshal_flags'
/usr/bin/ld: /var/tmp/pamac-build-tio/milton-git/src/milton/third_party/SDL2-2.0.8/build/linrelease/wayland-generated-protocols/wayland-client-protocol.h:2017: undefined reference to `wl_proxy_get_version'
/usr/bin/ld: /var/tmp/pamac-build-tio/milton-git/src/milton/third_party/SDL2-2.0.8/build/linrelease/wayland-generated-protocols/wayland-client-protocol.h:2017: undefined reference to `wl_proxy_marshal_flags'
/usr/bin/ld: ../third_party/SDL2-2.0.8/build/linux64/lib/libSDL2d.a(SDL_waylandmouse.c.o): in function `wl_compositor_create_surface':
/var/tmp/pamac-build-tio/milton-git/src/milton/third_party/SDL2-2.0.8/build/linrelease/wayland-generated-protocols/wayland-client-protocol.h:1291: undefined reference to `wl_proxy_get_version'
/usr/bin/ld: /var/tmp/pamac-build-tio/milton-git/src/milton/third_party/SDL2-2.0.8/build/linrelease/wayland-generated-protocols/wayland-client-protocol.h:1291: undefined reference to `wl_proxy_marshal_flags'
/usr/bin/ld: ../third_party/SDL2-2.0.8/build/linux64/lib/libSDL2d.a(SDL_waylandtouch.c.o): in function `wl_registry_bind':
/var/tmp/pamac-build-tio/milton-git/src/milton/third_party/SDL2-2.0.8/build/linrelease/wayland-generated-protocols/wayland-client-protocol.h:1175: undefined reference to `wl_proxy_marshal_flags'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/Milton.dir/build.make:148: Milton] Error 1
make[1]: *** [CMakeFiles/Makefile2:111: CMakeFiles/Milton.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Tio commented on 2022-01-28 00:56 (UTC)

I get this error:

-- Build files have been written to: /var/tmp/pamac-build-tio/milton/src/build
[ 20%] Building CXX object CMakeFiles/shadergen.dir/src/shadergen.cc.o
cc1plus: error: ‘-Wformat-security’ ignored without ‘-Wformat’ [-Werror=format-security]
cc1plus: note: unrecognized command-line option ‘-Wno-extern-c-compat’ may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option ‘-Wno-c++11-compat-deprecated-writable-strings’ may have been intended to silence earlier diagnostics
cc1plus: some warnings being treated as errors
make[2]: *** [CMakeFiles/shadergen.dir/build.make:76: CMakeFiles/shadergen.dir/src/shadergen.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/shadergen.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...


gavinbeatty commented on 2021-11-06 01:46 (UTC)

For anyone having issues compiling, https://github.com/serge-rgb/milton/pull/190/files fixes for me.

kostas1507 commented on 2020-11-23 21:10 (UTC)

The last update broke this. I can start it and also change all the settings but I am unable to draw, in fact the brush doesn't appear on the screen, not even the cursor. I had no luck compiling this my self and I stupidly deleted my cache... I would really appreciate it if this got fixed, also let me know if I am missing something!

mcmarius11 commented on 2020-06-04 17:14 (UTC)

sadly does not build :( collect2: error: ld returned 1 exit status make[2]: [CMakeFiles/Milton.dir/build.make:155: Milton] Error 1 make[1]: [CMakeFiles/Makefile2:98: CMakeFiles/Milton.dir/all] Error 2 make: *** [Makefile:104: all] Error 2