Commit Graph

796 Commits

Author SHA1 Message Date
Jan Beich 9c19d4fff0 Installation: install wlroots headers with Meson
Hyprland plugin API requires wlroots headers. Dropping
--skip-subprojects will fix plugins but may break system wlroots.
Instead copy and adjust a part of `make installheaders`.

Example error this tries to fix:

In file included from hy3/src/main.cpp:4:
In file included from /usr/local/include/hyprland/src/Compositor.hpp:7:
In file included from /usr/local/include/hyprland/src/defines.hpp:1:
/usr/local/include/hyprland/src/includes.hpp:36:10: fatal error: 'wlr/backend.h' file not found
   36 | #include <wlr/backend.h>
      |          ^~~~~~~~~~~~~~~
2024-01-31 14:34:22 +01:00
Jan Beich d3a0024346 Installation: drop GCC dependency on FreeBSD
System tomlplusplus is built against libc++ which conflicts with
libstdc++ used by GCC. While tomlplusplus can be bundled it's only
easy to do via Meson (--force-fallback-for).

/usr/local/bin/ld: hyprpm/CMakeFiles/hyprpm.dir/src/core/DataState.cpp.o: in function `DataState::addNewPluginRepo(SPluginRepository const&)':
DataState.cpp:(.text+0x16b4): undefined reference to `toml::v3::table::get_lower_bound(std::basic_string_view<char, std::char_traits<char> >)'
/usr/local/bin/ld: DataState.cpp:(.text+0x1793): undefined reference to `toml::v3::table::insert_with_hint(toml::v3::impl::table_iterator<true>, toml::v3::key&&, std::unique_ptr<toml::v3::node, std::default_delete<toml::v3::node> >&&)'
/usr/local/bin/ld: DataState.cpp:(.text+0x2c59): undefined reference to `toml::v3::impl::print_to_stream(std::ostream&, toml::v3::table const&)'
/usr/local/bin/ld: hyprpm/CMakeFiles/hyprpm.dir/src/core/DataState.cpp.o: in function `DataState::pluginRepoExists(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
DataState.cpp:(.text+0x3739): undefined reference to `toml::v3::ex::parse_file(std::basic_string_view<char, std::char_traits<char> >)'
/usr/local/bin/ld: DataState.cpp:(.text+0x3783): undefined reference to `toml::v3::table::get(std::basic_string_view<char, std::char_traits<char> >)'
/usr/local/bin/ld: DataState.cpp:(.text+0x37ab): undefined reference to `toml::v3::table::get(std::basic_string_view<char, std::char_traits<char> >)'
[...]
2024-01-05 18:10:32 +01:00
Jan Beich 023d5f49db Installation: temporarily pin GCC version on FreeBSD
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273397
2024-01-05 17:40:58 +01:00
Jan Beich 7c60d8ebf9 Installation: add tomlplusplus on FreeBSD
https://github.com/hyprwm/Hyprland/commit/d36055054651
https://github.com/freebsd/freebsd-ports/commit/57bb94121dc2
2024-01-05 17:37:17 +01:00
Jan Beich c6d623f886 Installation: deduplicate FreeBSD dependencies
https://github.com/freebsd/freebsd-ports/commit/1b744b687e87
2024-01-05 17:37:17 +01:00
Jan Beich 44a506dbaa Installation: recommend Clang 17 for best libc++ compatibility
Clang/libc++ 16 requires CXXFLAGS += -fexperimental-library

Clang < 16 fails with libc++ >= 16:

  In file included from ../src/protocols/GlobalShortcuts.cpp:1:
  In file included from /wrkdirs/usr/ports/x11-wm/hyprland/work/Hyprland-0.34.0/_build/../src/pch/pch.hpp:1:
  In file included from ../src/protocols/../Compositor.hpp:3:
  In file included from /usr/include/c++/v1/memory:898:
  In file included from /usr/include/c++/v1/__memory/shared_ptr.h:31:
  /usr/include/c++/v1/__memory/unique_ptr.h:686:30: error: no matching constructor for initialization of 'SShortcutClient'
    return unique_ptr<_Tp>(new _Tp(_VSTD::forward<_Args>(__args)...));
			       ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ../src/protocols/GlobalShortcuts.cpp:56:34: note: in instantiation of function template specialization 'std::make_unique<SShortcutClient, wl_client *&>' requested here
      m_vClients.emplace_back(std::make_unique<SShortcutClient>(client));
				   ^
  ../src/protocols/GlobalShortcuts.hpp:12:8: note: candidate constructor (the implicit copy constructor) not viable: cannot convert argument of incomplete type 'wl_client *' to 'const SShortcutClient' for 1st argument
  struct SShortcutClient {
	 ^
  ../src/protocols/GlobalShortcuts.hpp:12:8: note: candidate constructor (the implicit move constructor) not viable: cannot convert argument of incomplete type 'wl_client *' to 'SShortcutClient' for 1st argument
  ../src/protocols/GlobalShortcuts.hpp:12:8: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 1 was provided
  In file included from ../src/protocols/XDGOutput.cpp:1:
  In file included from /wrkdirs/usr/ports/x11-wm/hyprland/work/Hyprland-0.34.0/_build/../src/pch/pch.hpp:1:
  In file included from ../src/protocols/../Compositor.hpp:3:
  In file included from /usr/include/c++/v1/memory:898:
  In file included from /usr/include/c++/v1/__memory/shared_ptr.h:31:
  /usr/include/c++/v1/__memory/unique_ptr.h:686:30: error: no matching constructor for initialization of 'SXDGOutput'
    return unique_ptr<_Tp>(new _Tp(_VSTD::forward<_Args>(__args)...));
			       ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ../src/protocols/XDGOutput.cpp:79:62: note: in instantiation of function template specialization 'std::make_unique<SXDGOutput, CMonitor *const &>' requested here
      SXDGOutput* pXDGOutput = m_vXDGOutputs.emplace_back(std::make_unique<SXDGOutput>(PMONITOR)).get();
							       ^
  ../src/protocols/XDGOutput.hpp:8:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'CMonitor *const' to 'const SXDGOutput' for 1st argument
  struct SXDGOutput {
	 ^
  ../src/protocols/XDGOutput.hpp:8:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'CMonitor *const' to 'SXDGOutput' for 1st argument
  ../src/protocols/XDGOutput.hpp:8:8: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 1 was provided
  In file included from ../src/render/decorations/DecorationPositioner.cpp:1:
  In file included from /wrkdirs/usr/ports/x11-wm/hyprland/work/Hyprland-0.34.0/_build/../src/pch/pch.hpp:1:
  In file included from ../src/render/decorations/../../Compositor.hpp:3:
  In file included from /usr/include/c++/v1/memory:898:
  In file included from /usr/include/c++/v1/__memory/shared_ptr.h:31:
  /usr/include/c++/v1/__memory/unique_ptr.h:686:30: error: no matching constructor for initialization of 'CDecorationPositioner::SWindowPositioningData'
    return unique_ptr<_Tp>(new _Tp(_VSTD::forward<_Args>(__args)...));
			       ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ../src/render/decorations/DecorationPositioner.cpp:80:67: note: in instantiation of function template specialization 'std::make_unique<CDecorationPositioner::SWindowPositioningData, CWindow *&, IHyprWindowDecoration *&>' requested here
      const auto DATA = m_vWindowPositioningDatas.emplace_back(std::make_unique<CDecorationPositioner::SWindowPositioningData>(pWindow, pDecoration)).get();
								    ^
  ../src/render/decorations/DecorationPositioner.hpp:75:12: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
      struct SWindowPositioningData {
	     ^
  ../src/render/decorations/DecorationPositioner.hpp:75:12: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided
  ../src/render/decorations/DecorationPositioner.hpp:75:12: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 2 were provided

Clang >= 16 fails with libc++ < 16:

  In file included from ../src/pch/pch.hpp:1:
  In file included from ../src/Compositor.hpp:7:
  In file included from ../src/defines.hpp:2:
  ../src/debug/Log.hpp:60:35: error: call to consteval function 'std::basic_format_string<char, std::chrono::duration<long, std::ratio<3600>>, std::chrono::duration<long, std::ratio<60>>, std::chrono::duration<long long, std::ratio<1, 1000000>>>::basic_format_string<char[18]>' is not a constant expression
	      logMsg += std::format("{:%H}:{:%M}:{:%S}", c.hours(), c.minutes(), c.subseconds());
				    ^
  /usr/include/c++/v1/format:483:46: note: initializer of '__types_' is not a constant expression
			     _Context{__types_.data(), __handles_.data(), sizeof...(_Args)});
					       ^
  ../src/debug/Log.hpp:60:35: note: in call to 'basic_format_string("{:%H}:{:%M}:{:%S}")'
	      logMsg += std::format("{:%H}:{:%M}:{:%S}", c.hours(), c.minutes(), c.subseconds());
				    ^
  /usr/include/c++/v1/format:495:63: note: declared here
    static constexpr array<__format::__arg_t, sizeof...(_Args)> __types_{
								^
  In file included from ../src/pch/pch.hpp:1:
  In file included from ../src/Compositor.hpp:7:
  In file included from ../src/defines.hpp:1:
  In file included from ../src/includes.hpp:149:
  In file included from ../src/helpers/Vector2D.hpp:4:
  /usr/include/c++/v1/format:496:7: error: call to deleted function '__determine_arg_t'
	__format::__determine_arg_t<_Context, remove_cvref_t<_Args>>()...};
	^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  /usr/include/c++/v1/format:483:37: note: in instantiation of static data member 'std::basic_format_string<char, std::chrono::duration<long, std::ratio<3600>>, std::chrono::duration<long, std::ratio<60>>, std::chrono::duration<long long, std::ratio<1, 1000000>>>::__types_' requested here
			     _Context{__types_.data(), __handles_.data(), sizeof...(_Args)});
				      ^
  ../src/debug/Log.hpp:60:35: note: in instantiation of function template specialization 'std::basic_format_string<char, std::chrono::duration<long, std::ratio<3600>>, std::chrono::duration<long, std::ratio<60>>, std::chrono::duration<long long, std::ratio<1, 1000000>>>::basic_format_string<char[18]>' requested here
	      logMsg += std::format("{:%H}:{:%M}:{:%S}", c.hours(), c.minutes(), c.subseconds());
				    ^
  /usr/include/c++/v1/__format/format_arg_store.h:153:19: note: candidate function [with _Context = std::__format::__compile_time_basic_format_context<char>, _Tp = std::chrono::duration<long, std::ratio<3600>>] has been explicitly deleted
  consteval __arg_t __determine_arg_t() = delete;
		    ^
  /usr/include/c++/v1/__format/format_arg_store.h:147:19: note: candidate function [with _Context = std::__format::__compile_time_basic_format_context<char>, _Tp = std::chrono::duration<long, std::ratio<3600>>]
  consteval __arg_t __determine_arg_t() {
		    ^
  /usr/include/c++/v1/__format/format_arg_store.h:41:19: note: candidate template ignored: constraints not satisfied [with $0 = _Context, _Tp = remove_cvref_t<duration<long, ratio<3600, 1>>>]
  consteval __arg_t __determine_arg_t() {
		    ^
  /usr/include/c++/v1/__format/format_arg_store.h:40:18: note: because 'same_as<std::chrono::duration<long, std::ratio<3600> >, _Bool>' evaluated to false
  template <class, same_as<bool> _Tp>
		   ^
  /usr/include/c++/v1/__concepts/same_as.h:29:19: note: because '__same_as_impl<std::chrono::duration<long, std::ratio<3600> >, _Bool>' evaluated to false
  concept same_as = __same_as_impl<_Tp, _Up> && __same_as_impl<_Up, _Tp>;
		    ^
  /usr/include/c++/v1/__concepts/same_as.h:26:26: note: because '_IsSame<duration<long, ratio<3600> >, _Bool>::value' evaluated to false
  concept __same_as_impl = _IsSame<_Tp, _Up>::value;
			   ^
  /usr/include/c++/v1/__format/format_arg_store.h:47:19: note: candidate template ignored: constraints not satisfied [with _Context = _Context, _Tp = remove_cvref_t<duration<long, ratio<3600, 1>>>]
  consteval __arg_t __determine_arg_t() {
		    ^
  /usr/include/c++/v1/__format/format_arg_store.h:46:27: note: because 'same_as<std::chrono::duration<long, std::ratio<3600> >, typename __compile_time_basic_format_context<char>::char_type>' evaluated to false
  template <class _Context, same_as<typename _Context::char_type> _Tp>
			    ^
  /usr/include/c++/v1/__concepts/same_as.h:29:19: note: because '__same_as_impl<std::chrono::duration<long, std::ratio<3600> >, char>' evaluated to false
  concept same_as = __same_as_impl<_Tp, _Up> && __same_as_impl<_Up, _Tp>;
		    ^
  /usr/include/c++/v1/__concepts/same_as.h:26:26: note: because '_IsSame<duration<long, ratio<3600> >, char>::value' evaluated to false
  concept __same_as_impl = _IsSame<_Tp, _Up>::value;
			   ^
  /usr/include/c++/v1/__format/format_arg_store.h:53:19: note: candidate template ignored: constraints not satisfied [with _Context = _Context, _CharT = remove_cvref_t<duration<long, ratio<3600, 1>>>]
  consteval __arg_t __determine_arg_t() {
		    ^
  /usr/include/c++/v1/__format/format_arg_store.h:52:12: note: because 'same_as<typename __compile_time_basic_format_context<char>::char_type, wchar_t>' evaluated to false
    requires(same_as<typename _Context::char_type, wchar_t> && same_as<_CharT, char>)
	     ^
  /usr/include/c++/v1/__concepts/same_as.h:29:19: note: because '__same_as_impl<char, wchar_t>' evaluated to false
  concept same_as = __same_as_impl<_Tp, _Up> && __same_as_impl<_Up, _Tp>;
		    ^
  /usr/include/c++/v1/__concepts/same_as.h:26:26: note: because '_IsSame<char, wchar_t>::value' evaluated to false
  concept __same_as_impl = _IsSame<_Tp, _Up>::value;
			   ^
  /usr/include/c++/v1/__format/format_arg_store.h:60:19: note: candidate template ignored: constraints not satisfied [with $0 = _Context, _Tp = remove_cvref_t<duration<long, ratio<3600, 1>>>]
  consteval __arg_t __determine_arg_t() {
		    ^
  /usr/include/c++/v1/__format/format_arg_store.h:59:18: note: because 'std::chrono::duration<long, std::ratio<3600>>' does not satisfy '__libcpp_signed_integer'
  template <class, __libcpp_signed_integer _Tp>
		   ^
  /usr/include/c++/v1/__concepts/arithmetic.h:44:35: note: because '__libcpp_is_signed_integer<duration<long, ratio<3600> > >::value' evaluated to false
  concept __libcpp_signed_integer = __libcpp_is_signed_integer<_Tp>::value;
				    ^
  /usr/include/c++/v1/__format/format_arg_store.h:75:19: note: candidate template ignored: constraints not satisfied [with $0 = _Context, _Tp = remove_cvref_t<duration<long, ratio<3600, 1>>>]
  consteval __arg_t __determine_arg_t() {
		    ^
  /usr/include/c++/v1/__format/format_arg_store.h:74:18: note: because 'std::chrono::duration<long, std::ratio<3600>>' does not satisfy '__libcpp_unsigned_integer'
  template <class, __libcpp_unsigned_integer _Tp>
		   ^
  /usr/include/c++/v1/__concepts/arithmetic.h:42:37: note: because '__libcpp_is_unsigned_integer<duration<long, ratio<3600> > >::value' evaluated to false
  concept __libcpp_unsigned_integer = __libcpp_is_unsigned_integer<_Tp>::value;
				      ^
  /usr/include/c++/v1/__format/format_arg_store.h:90:19: note: candidate template ignored: constraints not satisfied [with $0 = _Context, _Tp = remove_cvref_t<duration<long, ratio<3600, 1>>>]
  consteval __arg_t __determine_arg_t() {
		    ^
  /usr/include/c++/v1/__format/format_arg_store.h:89:18: note: because 'same_as<std::chrono::duration<long, std::ratio<3600> >, float>' evaluated to false
  template <class, same_as<float> _Tp>
		   ^
  /usr/include/c++/v1/__concepts/same_as.h:29:19: note: because '__same_as_impl<std::chrono::duration<long, std::ratio<3600> >, float>' evaluated to false
  concept same_as = __same_as_impl<_Tp, _Up> && __same_as_impl<_Up, _Tp>;
		    ^
  /usr/include/c++/v1/__concepts/same_as.h:26:26: note: because '_IsSame<duration<long, ratio<3600> >, float>::value' evaluated to false
  concept __same_as_impl = _IsSame<_Tp, _Up>::value;
			   ^
  /usr/include/c++/v1/__format/format_arg_store.h:94:19: note: candidate template ignored: constraints not satisfied [with $0 = _Context, _Tp = remove_cvref_t<duration<long, ratio<3600, 1>>>]
  consteval __arg_t __determine_arg_t() {
		    ^
  /usr/include/c++/v1/__format/format_arg_store.h:93:18: note: because 'same_as<std::chrono::duration<long, std::ratio<3600> >, double>' evaluated to false
  template <class, same_as<double> _Tp>
		   ^
  /usr/include/c++/v1/__concepts/same_as.h:29:19: note: because '__same_as_impl<std::chrono::duration<long, std::ratio<3600> >, double>' evaluated to false
  concept same_as = __same_as_impl<_Tp, _Up> && __same_as_impl<_Up, _Tp>;
		    ^
  /usr/include/c++/v1/__concepts/same_as.h:26:26: note: because '_IsSame<duration<long, ratio<3600> >, double>::value' evaluated to false
  concept __same_as_impl = _IsSame<_Tp, _Up>::value;
			   ^
  /usr/include/c++/v1/__format/format_arg_store.h:98:19: note: candidate template ignored: constraints not satisfied [with $0 = _Context, _Tp = remove_cvref_t<duration<long, ratio<3600, 1>>>]
  consteval __arg_t __determine_arg_t() {
		    ^
  /usr/include/c++/v1/__format/format_arg_store.h:97:18: note: because 'same_as<std::chrono::duration<long, std::ratio<3600> >, long double>' evaluated to false
  template <class, same_as<long double> _Tp>
		   ^
  /usr/include/c++/v1/__concepts/same_as.h:29:19: note: because '__same_as_impl<std::chrono::duration<long, std::ratio<3600> >, long double>' evaluated to false
  concept same_as = __same_as_impl<_Tp, _Up> && __same_as_impl<_Up, _Tp>;
		    ^
  /usr/include/c++/v1/__concepts/same_as.h:26:26: note: because '_IsSame<duration<long, ratio<3600> >, long double>::value' evaluated to false
  concept __same_as_impl = _IsSame<_Tp, _Up>::value;
			   ^
  /usr/include/c++/v1/__format/format_arg_store.h:105:19: note: candidate template ignored: constraints not satisfied [with _Context = _Context, _Tp = remove_cvref_t<duration<long, ratio<3600, 1>>>]
  consteval __arg_t __determine_arg_t() {
		    ^
  /usr/include/c++/v1/__format/format_arg_store.h:104:12: note: because 'same_as<typename __compile_time_basic_format_context<char>::char_type *, std::chrono::duration<long, std::ratio<3600> > >' evaluated to false
    requires(same_as<typename _Context::char_type*, _Tp> || same_as<const typename _Context::char_type*, _Tp>)
	     ^
  /usr/include/c++/v1/__concepts/same_as.h:29:19: note: because '__same_as_impl<char *, std::chrono::duration<long, std::ratio<3600> > >' evaluated to false
  concept same_as = __same_as_impl<_Tp, _Up> && __same_as_impl<_Up, _Tp>;
		    ^
  /usr/include/c++/v1/__concepts/same_as.h:26:26: note: because '_IsSame<char *, duration<long, ratio<3600> > >::value' evaluated to false
  concept __same_as_impl = _IsSame<_Tp, _Up>::value;
			   ^
  /usr/include/c++/v1/__format/format_arg_store.h:104:59: note: and 'same_as<const typename __compile_time_basic_format_context<char>::char_type *, std::chrono::duration<long, std::ratio<3600> > >' evaluated to false
    requires(same_as<typename _Context::char_type*, _Tp> || same_as<const typename _Context::char_type*, _Tp>)
							    ^
  /usr/include/c++/v1/__concepts/same_as.h:29:19: note: because '__same_as_impl<const char *, std::chrono::duration<long, std::ratio<3600> > >' evaluated to false
  concept same_as = __same_as_impl<_Tp, _Up> && __same_as_impl<_Up, _Tp>;
		    ^
  /usr/include/c++/v1/__concepts/same_as.h:26:26: note: because '_IsSame<const char *, duration<long, ratio<3600> > >::value' evaluated to false
  concept __same_as_impl = _IsSame<_Tp, _Up>::value;
			   ^
  /usr/include/c++/v1/__format/format_arg_store.h:112:19: note: candidate template ignored: constraints not satisfied [with _Context = _Context, _Tp = remove_cvref_t<duration<long, ratio<3600, 1>>>]
  consteval __arg_t __determine_arg_t() {
		    ^
  /usr/include/c++/v1/__format/format_arg_store.h:111:12: note: because 'is_array_v<std::chrono::duration<long, std::ratio<3600> > >' evaluated to false
    requires(is_array_v<_Tp> && same_as<_Tp, typename _Context::char_type[extent_v<_Tp>]>)
	     ^
  /usr/include/c++/v1/__format/format_arg_store.h:120:19: note: candidate template ignored: constraints not satisfied [with _Context = _Context, _Tp = remove_cvref_t<duration<long, ratio<3600, 1>>>]
  consteval __arg_t __determine_arg_t() {
		    ^
  /usr/include/c++/v1/__format/format_arg_store.h:118:64: note: because substituted constraint expression is ill-formed: no type named 'value_type' in 'std::chrono::duration<long, std::ratio<3600>>'
    requires(same_as<typename _Context::char_type, typename _Tp::value_type> &&
								 ^
  /usr/include/c++/v1/__format/format_arg_store.h:129:19: note: candidate template ignored: constraints not satisfied [with _Context = _Context, _Tp = remove_cvref_t<duration<long, ratio<3600, 1>>>]
  consteval __arg_t __determine_arg_t() {
		    ^
  /usr/include/c++/v1/__format/format_arg_store.h:127:59: note: because substituted constraint expression is ill-formed: no type named 'value_type' in 'std::chrono::duration<long, std::ratio<3600>>'
	same_as<typename _Context::char_type, typename _Tp::value_type> &&
							    ^
  /usr/include/c++/v1/__format/format_arg_store.h:136:19: note: candidate template ignored: constraints not satisfied [with $0 = _Context, _Ptr = remove_cvref_t<duration<long, ratio<3600, 1>>>]
  consteval __arg_t __determine_arg_t() {
		    ^
  /usr/include/c++/v1/__format/format_arg_store.h:135:12: note: because 'same_as<std::chrono::duration<long, std::ratio<3600> >, void *>' evaluated to false
    requires(same_as<_Ptr, void*> || same_as<_Ptr, const void*> || same_as<_Ptr, nullptr_t>)
	     ^
  /usr/include/c++/v1/__concepts/same_as.h:29:19: note: because '__same_as_impl<std::chrono::duration<long, std::ratio<3600> >, void *>' evaluated to false
  concept same_as = __same_as_impl<_Tp, _Up> && __same_as_impl<_Up, _Tp>;
		    ^
  /usr/include/c++/v1/__concepts/same_as.h:26:26: note: because '_IsSame<duration<long, ratio<3600> >, void *>::value' evaluated to false
  concept __same_as_impl = _IsSame<_Tp, _Up>::value;
			   ^
  /usr/include/c++/v1/__format/format_arg_store.h:135:36: note: and 'same_as<std::chrono::duration<long, std::ratio<3600> >, const void *>' evaluated to false
    requires(same_as<_Ptr, void*> || same_as<_Ptr, const void*> || same_as<_Ptr, nullptr_t>)
				     ^
  /usr/include/c++/v1/__concepts/same_as.h:29:19: note: because '__same_as_impl<std::chrono::duration<long, std::ratio<3600> >, const void *>' evaluated to false
  concept same_as = __same_as_impl<_Tp, _Up> && __same_as_impl<_Up, _Tp>;
		    ^
  /usr/include/c++/v1/__concepts/same_as.h:26:26: note: because '_IsSame<duration<long, ratio<3600> >, const void *>::value' evaluated to false
  concept __same_as_impl = _IsSame<_Tp, _Up>::value;
			   ^
  /usr/include/c++/v1/__format/format_arg_store.h:135:66: note: and 'same_as<std::chrono::duration<long, std::ratio<3600> >, nullptr_t>' evaluated to false
    requires(same_as<_Ptr, void*> || same_as<_Ptr, const void*> || same_as<_Ptr, nullptr_t>)
								   ^
  /usr/include/c++/v1/__concepts/same_as.h:29:19: note: because '__same_as_impl<std::chrono::duration<long, std::ratio<3600> >, std::nullptr_t>' evaluated to false
  concept same_as = __same_as_impl<_Tp, _Up> && __same_as_impl<_Up, _Tp>;
		    ^
  /usr/include/c++/v1/__concepts/same_as.h:26:26: note: because '_IsSame<duration<long, ratio<3600> >, std::nullptr_t>::value' evaluated to false
  concept __same_as_impl = _IsSame<_Tp, _Up>::value;
			   ^
2024-01-05 17:36:30 +01:00
Jan Beich ac1ba73ad9 Installation: invoke Git when using Meson like with CMake
Trying to build in a random directory like HOME may fail or build
something else. So, provide the context for a user who skipped
reading CMake section.
2024-01-05 17:14:06 +01:00
Jan Beich 5b511bf2ec Installation: unbreak Meson steps
- ninja doesn't support `--tags` unlike meson
- `--skip-subprojects` is more clear than `--tags runtime,man`
2024-01-05 17:14:06 +01:00
7mile 829f68e33a
Fix Gentoo XDPH installation instructions (#431) 2024-01-05 12:45:06 +01:00
Vaxry cce32b0428 add debug:disable_scale_checks 2024-01-05 00:34:08 +01:00
Nadia 25c937d3a7
Home Manager: update options link (#430)
The link updated externally and the old one no longer goes to the correct place.
2024-01-04 12:50:19 +02:00
Vaxry 228ed3f00d remove references to example plugin 2024-01-02 14:49:24 +01:00
MightyPlaza ce0b8774ed
add groupbar enabled and priority (#428)
modified:   pages/Configuring/Variables.md
2023-12-30 15:19:08 +01:00
Vaxry cc69529ae7 add socket2 configreloaded 2023-12-28 22:34:59 +01:00
Vaxry bce147807a add decoration:blur:popups_ignorealpha 2023-12-28 22:30:38 +01:00
MightyPlaza d33f35dade
add hyprctl decorations (#427)
modified:   Using-hyprctl.md
2023-12-28 16:38:12 +01:00
Vaxry 250a0e2f8f add nvidia_anti_flicker 2023-12-27 19:18:38 +01:00
Tuur Vanhoutte 8467a9cd18
Added initialTitle and initialClass to windowrules (#425)
https://github.com/hyprwm/Hyprland/pull/4259
2023-12-26 23:47:53 +01:00
Vaxry e37433d241 add blur:popups 2023-12-25 18:05:00 +01:00
Vaxry b20ed9d882 add tiled floating to cyclenext 2023-12-24 15:10:29 +01:00
thejch 6b136fd58f
master layout: add rollnext and rollprev (#422) 2023-12-22 12:37:50 +01:00
Vaxry 02cd8e53d6 add hl env to doc 2023-12-21 22:29:15 +01:00
Vaxry 0a6fcc766d add onworkspace 2023-12-20 23:54:03 +01:00
Erik Reider b0c1fff245
add swaync to notification daemons (#420) 2023-12-16 01:59:57 +00:00
Mihai Fufezan eaf04412d6
Nix/HM: update instructions (#273) 2023-12-14 20:02:45 +02:00
Epilepsy Gatherings 9c3e598522
add pop-up window fix (#418) 2023-12-12 01:05:16 +02:00
Mihai Fufezan e2eadffeba
Variables: add scroll_points (#415) 2023-12-10 16:30:13 +00:00
Vaxry 13e19e2ccb add relative_input for tablets 2023-12-09 04:08:32 +00:00
luxluth 36c1a41f4d
Adding `tomlplusplus` missing deps (#414) 2023-12-08 18:14:36 +00:00
Vaxry 2d0a931ed8 add focus windowrule param 2023-12-08 16:02:50 +00:00
solopasha 02d6edb3c0
Add more information for Fedora (#413) 2023-12-07 17:58:45 +00:00
Evangelos Lioudakis fb02d887a3
Add tomlplusplus as a dependency on Ubuntu and Arch Linux (#412) 2023-12-07 17:20:30 +00:00
Vaxry 90c0a219b4 rename output to monitor
ref #411
2023-12-07 10:54:54 +00:00
Vaxry 2f4a9606f2 bring back note about crash 2023-12-07 10:44:10 +00:00
Vaxry 093b835fbd
Add hyprpm docs (#410)
---------

Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
2023-12-07 10:41:25 +00:00
Vaxry 24e278d8a5 fix workspace rules example 2023-12-05 15:01:47 +00:00
Caleb Maclennan 154e019d72
binds: Remove inaccurate comment about case and clarify xkb keysym usage (#408) 2023-12-05 14:47:29 +00:00
_r 94e1b490c6
update Fedora installation instructions (#407) 2023-12-03 17:46:26 +00:00
thejch 3b3e7e31c1
add master orientation workspace rule (#406) 2023-12-02 14:43:13 +00:00
Vaxry 3c7847e446 add new events 2023-11-30 18:48:26 +00:00
AlephNought c6d0480f9b
Perfomance category suggestion (#405)
* Perfomance category suggestion

* Perfomance category suggestion

* new file:   pages/Configuring/Perfomance.md

* Moving stuff from FAQ to new page

* Add power draw back to FAQ

* More changes

* Revert mistake
2023-11-28 00:25:46 +00:00
Mihai Fufezan 3c82b489ab
Nix: document more override flags 2023-11-27 13:36:33 +02:00
Vaxry aeeb0f5e0b nuke nvidia patches mentions 2023-11-26 03:03:20 +00:00
jacekpoz 038dc16dfd
add window rule case sensitivity disclaimer (#403)
Co-authored-by: jacekpoz <jacekpoz@cock.li>
2023-11-25 19:43:01 +00:00
Vaxry 86be8876e5 default special scale factor to 1 2023-11-25 01:46:01 +00:00
Xavier 1c76d64632
Adding first_launch_animation (#401) 2023-11-24 21:46:01 +00:00
thejch 12e50733ab
update execr dispatcher description (#400) 2023-11-24 12:42:37 +00:00
Danil Antoshkin 1b8ef75129 Update Screen-Sharing.md
Updated the actual package that can be used for correct screensharing
2023-11-22 21:20:44 +02:00
Vaxry 79e1e53c2a add hyprctl plugins 2023-11-21 18:44:25 +00:00
end-4 753ee54fac
add animations:workspace_gap (#397)
* add animations:workspace_gap

* move animations:gap_workspace -> general:gaps_workspaces
2023-11-19 12:33:38 +00:00