pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

muon: Update to 0.2.0



Module Name:	pkgsrc-wip
Committed By:	Michael Baeuerle <micha%NetBSD.org@localhost>
Pushed By:	micha
Date:		Mon Apr 17 13:48:39 2023 +0200
Changeset:	759f38a733567ea689cefbd861aaee90346cba54

Modified Files:
	muon/Makefile
	muon/build.mk
	muon/distinfo

Log Message:
muon: Update to 0.2.0

muon 0.2.0 release notes

* update meson support to 0.64
* work on windows support has begun!
* muon analyze is now smarter
* muon fmt is more consistent even with questionably placed comments
* ...and many other bugfixes and improvements

Andrea Pappacoda (1):
      simplify .reuse/dep5

Arsen Arsenović (1):
      build_target: Fix possible out-of-bounds edge case

Ayman El Didi (1):
      alias_target: Fix internal error when run_target is depended on

Eli Schwartz (1):
      implement werror option

Lars Mühmel (1):
      allow formatting multiple files in muon fmt

Stone Tickle (153):
      fix typo
      update website
      fix another typo
      remove : from colorized messages
      more release links on website
      add more build artifacts
      remove unused argument from run_cmd_argv
      fix link to status page
      make muon reuse compliant
      optimize foreach range()
      optimize literal objects
      add objects count to tracy instrumentation
      fix error handling inside optimized range loop
      improve error message for undefined objects
      only set _POSIX_C_SOURCE if it has not been -D'd
      fix run_ninja when there is no ninja
      update samurai wrap
      simplify bootstrap.sh
      add tools/bootstrap_ninja.sh
      add tarball with samurai build artifact
      add env var for additional curl/wget options
      only add D for GNU ar
      add more flexibility to ninja command detection
      make tests respect global options
      add solaris11 build
      enforce project() being the first statement
      add a ci dashboard
      leave a copy of status.css for ci.html to use
      rename ci.html
      fix foreach with range not checking 2nd var
      show missing first call to project err in analyzer
      remove empty newline
      add watch / unwatch debugger commands
      fail on a compiler we know but have no option for
      add -P flag to muon check (for muon fmt debugging)
      allow assignment statements inside parens
      update readme
      add logo to readme
      run muon fmt
      add muon fmt -q to check if a file is formatted
      make muon fmt's comment preservation more robust
      add tests for muon fmt
      filter project tests without python
      change the name of kwa_ml fmt option
      analyze: add -W opt and new reassignment warning
      give backend output error messages more context
      fix nested subproject build dir
      add docs for analyze -W
      remove leftover p() invocations from tests
      fix signature of thread entrypoint function
      fix compiler warnings
      make werror a bootstrap option
      add missing copyright notices
      add reuse in CI
      add repositories section to alpine build
      use b suffix for fopen file mode
      remove leftover debug printing
      fix options subcommand help
      Windows port of muon
      Windows: 1st commit of run_cmd. Not finished though
      format long arrays
      sort includes
      use null_rpath_fixer in bootstrap
      add copyright information
      fix building on macos
      fix sha_256.c license
      handle renames in update_tests tool
      update tests to 0.64
      support 'plain' optimization
      implement compiler.preprocess
      add obj_array_tail
      accept compiler object as a command
      stub masm/nasm_args kwargs to build_target
      name argument is optional for custom_target()
      implement fs.copyfile
      implement external_program.version()
      guess external program version when we need it
      determine linker from object sources
      fix cc.preprocess
      fix test 256
      add new tests to project tests
      update test check files
      expose an api for getting system information
      implement asm language
      update meson-docs to 0.64
      update meson_compat version to 0.64
      use --mirror for github sync
      add meson compat version to website
      remove v prefix from version
      add windows ci status to ci status page
      add missing copyright
      try to make compat version more clear on website
      add support for objc language
      add basic support for appleframeworks dependency
      add enough options to build pkgconf at bootstrap
      no err for unused subproj opts in default_options
      set warning level to 1 for pkgconf
      add macos workflow
      rename msys2 workflow
      add copyright
      implement b_colorout
      implement b_lto
      link to raytracer performance for "Fast" feature
      use const for older versions of libpkgconf
      document muon extension functions
      update zstd package
      update xz package
      always redefine pkgconf prefix on windows
      fix md5 link
      add experimental meson cli compatibility layer
      remove Non-features section from readme
      fix path_basename when path is already a basename
      use $COMMAND for description in ninja.build
      support custom_target depfiles
      handle no arguments and -h in meson cli compat
      fix dependency('curses') when ncurses is not found
      convert PKG_CONFIG_PATH into an option
      add warning if subdir is not analyzed
      make the analyzer smarter
      make module.found() an impure function
      make dead code warning non-fatal
      analyzer: replace -u with -Werror
      don't mark entrypoint in root
      improve disabler handling in analyze_for_each_type
      discern warnings and errors in muon.vim
      stub cpp_pch
      set font-family for website
      fix muon fmt truncating files on error
      rename posix.h to compat.h
      add -i flag to analyze muon internal eval files
      muon.vim: autodetect and pass -i to analyzer
      add missing types to internal functions
      add quiet mode for parser
      attempt to chdir to project root when -O is passed
      analyzer: make all disabler methods found
      analyzer change tc_null to tc_any on assign
      set native: true for embedder
      fix determine project_root when root == /
      remove project does not contain meson.build error
      support emscripten
      fix path_dirname on paths in root
      fix determine project root endless loop
      remove emscripten specific link args
      make obj_vasprintf more portable
      add link to meson playground
      add playground link to website
      add scaffolding for print_colorized
      parser: only allow assignment as a top-level stmt
      clean up includes
      automatically unprefix build dir options
      add copyright
      add missing include
      version 0.2.0

Vincent Torri (33):
      define S_ISGID and S_ISUID macro when undefined, to make install.c platform independant
      Allow muon to be compiled on solaris
      Windows: fix path_is_basename()
      fix run_cmd.h
      Windows: add fs_has_extension()
      revert Windows: add fs_has_extension()
      improve run_cmd.c on Windows
      fix posic run_cmd_argv() signature
      fix bootstrap on Windows
      Windows: use a backslash to join paths
      Windows: more fixes in run_cmd.c
      fix cygwin detection
      fix msys2 detection
      fix fs_chmod() on Windows
      improve run_cmd.c, not finished
      more fixes in run_cmd.c
      add github CI for msys2 (mingw32, mingw64 and msys env)
      run_cmd.c: remove unused code
      remove useless macro
      CI: fix wrong system
      github CI: install missing ninja tool
      Windows: add '.dll.a' extension when searching for library dependencies
      machine.c: fix typo : 'cgywin' changed to cygwin
      Windows: removes a loop in run_cmd.c which hangs the read of pipes
      On Windows, gcc uses ';' as separators of directories because ':' is used for the drive letter
      Windows: close pipes only when they are created
      Windows: convert '\' to '/' in paths v2
      Windows: surround arguments with double quote
      Fix prefix and suffix of binaries, static libraries and shared libraries on Windows, cygwin and Mac
      Windows, Cygwin: install dll in /bin by default
      windows: add compat.h in windows source files
      Windows: add conpty support in fs_is_a_tty().
      Add colors in logs on Windows

ermine (1):
      Add fs.mkdir internal function

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=759f38a733567ea689cefbd861aaee90346cba54

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 muon/Makefile | 10 +++++++---
 muon/build.mk | 20 +++++++++++---------
 muon/distinfo |  6 +++---
 3 files changed, 21 insertions(+), 15 deletions(-)

diffs:
diff --git a/muon/Makefile b/muon/Makefile
index f9a1af38b4..882b158456 100644
--- a/muon/Makefile
+++ b/muon/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-PKGNAME=	muon-0.1.0
+PKGNAME=	muon-0.2.0
 DISTNAME=	${PKGNAME:S/muon-//}
 CATEGORIES=	devel
 MASTER_SITES=	https://git.sr.ht/~lattis/muon/archive/
@@ -20,11 +20,15 @@ INSTALLATION_DIRS=	bin
 do-configure:
 	cd ${WRKSRC} && env ${CONFIGURE_ENV} \
 		${CONFIG_SHELL} ./bootstrap.sh bootstrap1
-	cd ${WRKSRC} && env ${CONFIGURE_ENV} ./bootstrap1/muon setup -Ddocs=disabled -Dstatic=false -Dlibcurl=disabled -Dlibarchive=disabled bootstrap2
+	cd ${WRKSRC} && env ${CONFIGURE_ENV} ./bootstrap1/muon setup \
+		-Ddocs=disabled -Dstatic=false -Dlibcurl=disabled \
+		-Dlibarchive=disabled bootstrap2
 	cd ${WRKSRC} && env ${CONFIGURE_ENV} samu -C bootstrap2
 
 do-build:
-	cd ${WRKSRC} && env ${MAKE_ENV} ./bootstrap2/muon setup -Ddocs=disabled -Dstatic=false -Dlibcurl=disabled -Dlibarchive=disabled output
+	cd ${WRKSRC} && env ${MAKE_ENV} ./bootstrap2/muon setup \
+		-Ddocs=disabled -Dstatic=false -Dlibcurl=disabled \
+		-Dlibarchive=disabled output
 	cd ${WRKSRC} && env ${MAKE_ENV} samu -C output
 
 do-install:
diff --git a/muon/build.mk b/muon/build.mk
index a4f32d9aeb..7ed2e80f5c 100644
--- a/muon/build.mk
+++ b/muon/build.mk
@@ -27,33 +27,35 @@ do-configure: muon-configure
 muon-configure:
 .for d in ${CONFIGURE_DIRS}
 	cd ${WRKSRC} && cd ${d} && ${SETENV} ${MAKE_ENV} muon setup \
-	    --prefix ${PREFIX} \
-	    --libdir lib \
-	    --libexecdir libexec \
-	    --mandir ${PKGMANDIR} \
-	    --sysconfdir ${PKG_SYSCONFDIR} \
-	    --buildtype=plain ${MUON_ARGS} . output
+		-Dprefix=${PREFIX} \
+		-Dlibdir=lib \
+		-Dlibexecdir=libexec \
+		-Dmandir=${PKGMANDIR} \
+		-Dsysconfdir=${PKG_SYSCONFDIR} \
+		-Dbuildtype=plain \
+		${MUON_ARGS} \
+		output
 .endfor
 
 do-build: muon-build
 muon-build:
 .for d in ${BUILD_DIRS}
 	cd ${WRKSRC} && cd ${d} && ${SETENV} ${MAKE_ENV} \
-	    samu -j ${_MAKE_JOBS_N:U1} -C output
+		samu -j ${_MAKE_JOBS_N:U1} -C output
 .endfor
 
 do-install: muon-install
 muon-install:
 .for d in ${INSTALL_DIRS}
 	cd ${WRKSRC} && cd ${d} && ${SETENV} ${INSTALL_ENV} ${MAKE_ENV} \
-	    samu -j ${_MAKE_JOBS_N:U1} -C output install
+		muon -C output install
 .endfor
 
 do-test: muon-test
 muon-test:
 .for d in ${TEST_DIRS}
 	cd ${WRKSRC} && cd ${d} && ${SETENV} ${TEST_ENV} \
-	    samu -j ${_MAKE_JOBS_N:U1} -C output test
+		muon -C output test
 .endfor
 
 _VARGROUPS+=		muon
diff --git a/muon/distinfo b/muon/distinfo
index c069c59b37..eb81750ad6 100644
--- a/muon/distinfo
+++ b/muon/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-BLAKE2s (0.1.0.tar.gz) = 1783bc2a85e8558f4680b652bc66ae21b2cc9fed29f5f2d8d56880f914cf98d5
-SHA512 (0.1.0.tar.gz) = 54337fed8ae41bf2dca3cbb0a303a521b7750eb7e5b40ca1aeb0fc045ac82b163d77c7b06a6a790eb3feef6f8d10f2a6b7937f55cfb1404c70b429dd0899dd5f
-Size (0.1.0.tar.gz) = 472632 bytes
+BLAKE2s (0.2.0.tar.gz) = 8de947544673e3a26b6569866ba40802de80fd36229b8bc1454ced55b698356b
+SHA512 (0.2.0.tar.gz) = b2e90048756bdc26bdea24fe227a87ad4d0e57176e217e22ea492a55229c62e2a70243f60af1e162e2dde8468fdda9662a32ea5cfadd69fab95a83499efa077b
+Size (0.2.0.tar.gz) = 510533 bytes


Home | Main Index | Thread Index | Old Index