Vaxry
c03f25e6fb
rid of wlr more
2024-07-20 12:42:57 +02:00
Lincoln Yuji de Oliveira
0a6e83005f
Completions: use only awk ( #6763 )
2024-07-04 14:21:07 +03:00
Vaxry
1f5fd7e64a
hyprpm: add --no-shallow
2024-06-15 21:46:36 +02:00
phonetic112
8055b1c00a
misc: Fix build warnings ( #6486 )
2024-06-13 23:23:23 +02:00
Vaxry
d677ac6f87
hyprpm: print all types of cmake errors during configure
2024-06-13 11:33:20 +02:00
Vaxry
8c64a4bad7
core: move to hyprutils for utils ( #6385 )
...
* core: move to hyprutils for utils
Nix: add hyprutils dep
* Meson: add hyprutils dep
* flake.lock: update
---------
Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-06-11 17:17:45 +02:00
Vaxry
c62f0015ae
hyprpm: print and fail on missing packages during configure
...
instead of failing later with something like exit code 2, print out what's missing
2024-06-09 09:42:14 +02:00
Mihai Fufezan
2ccd45a844
hyprpm: don't shallow clone on non-main branches
2024-05-12 17:49:50 +03:00
Vaxry
ed3a888fc2
hyprpm: fix style
2024-05-10 23:56:54 +01:00
Vaxry
6e594e4416
hyprpm: force en_US locale for date calcs
...
ref #5994
2024-05-10 23:41:32 +01:00
Mihai Fufezan
99aa34db6e
CMake: install files (instead of Makefile)
2024-05-05 16:30:39 +03:00
Jan Beich
07e070012b
CrashReporter: unbreak build on FreeBSD ( #5786 )
...
* CrashReporter: skip Linux field on BSDs after 90a53aed59
In file included from src/debug/CrashReporter.cpp:10:
src/debug/signal-safe.hpp:113:17: error: no member named 'sa_restorer' in 'sigaction'
act.sa_restorer = NULL;
~~~ ^
* CrashReporter: ensure *argv[] is NULL-terminated after 90a53aed59
execv() may fail with EFAULT otherwise.
* hyprpm: add missing header after 335015fe2d
hyprpm/src/core/PluginManager.cpp:165:43: error: use of undeclared identifier 'getuid'
165 | const std::string USERNAME = getpwuid(getuid())->pw_name;
| ^
hyprpm/src/core/PluginManager.cpp:431:45: error: use of undeclared identifier 'getuid'
431 | const std::string USERNAME = getpwuid(getuid())->pw_name;
| ^
hyprpm/src/core/PluginManager.cpp:558:43: error: use of undeclared identifier 'getuid'
558 | const std::string USERNAME = getpwuid(getuid())->pw_name;
| ^
2024-04-30 14:14:31 +01:00
Vaxry
d20ee31210
hyprpm: fix updating headers
...
oopsie daisy
2024-04-28 21:32:22 +01:00
Vaxry
335015fe2d
hyprpm: fix for multi-user + improve directory structure
2024-04-28 20:27:44 +01:00
Yixun Lan
1016faea53
misc: fix autocompletions for meson (hyprctl/hyprpm)
...
Signed-off-by: Julien Roy <julien@jroy.ca>
2024-04-19 21:09:10 +03:00
Vaxry
eeca50e3dc
hyprpm: err out on missing runtime deps
2024-04-16 16:59:06 +01:00
vaxerski
9a66514e26
hyprpm: shallow since a week before commit date
...
timezones, etc.
ref #5612
2024-04-16 15:41:11 +01:00
Vaxry
02cbf049d2
hyprpm: checkout branch and rev separately
...
sometimes the branch is garbled by incorrect packaging
2024-04-15 19:16:25 +01:00
Vaxry
d1c2d524a0
misc: fix autocompletions for meson (hyprctl/hyprpm)
...
Signed-off-by: Florian sp1rit <sp1rit@disroot.org>
2024-04-15 16:02:22 +01:00
Vaxry
ce4c36392d
hyprpm: minor fixes to hyprpm for shallow and versioned clones
2024-04-15 01:57:10 +01:00
bvr-yr
32147f5e91
hyprpm: fix wlroots path ( #5567 )
2024-04-12 19:49:33 +01:00
Ben Landon
558d1be7e3
hyprpm: Improve Hyprpm Update Performance ( #5530 )
...
* hyprpm: only clone the required history
* hyprpm: don't include tracy when building headers in release mode
* chore: remove old, commented-out code
See https://github.com/hyprwm/Hyprland/pull/4585#discussion_r1474780294
* chore: format code properly
2024-04-10 17:33:50 +01:00
ErrorNoInternet
f6786f04d2
hyprpm: install shell completions
2024-04-09 12:38:06 +03:00
Vaxry
0457c2e348
pkg-config -> pkgconf for hyprpm and cmake
2024-04-08 20:54:06 +03:00
LOSEARDES77
20899d0df2
hyprpm: add shell completions ( #5423 )
...
* hyprpm: add completions
* hyprctl: correct spell mistakes
* Apply fixes
* makefile: correct shell completion paths
* makefile: remove complletions on uninstalling
2024-04-07 19:39:46 +03:00
bvr-yr
baad44b4ca
hyprpm: fix incorrect commits number parsing ( #5437 )
2024-04-05 04:40:44 +01:00
Vaxry
12d75c0c26
hyprpm: ignore version checks for shallow clones
2024-04-05 03:00:34 +01:00
Vaxry
1ae592fcd9
hyprpm: add support for minimum versions
2024-04-05 00:46:37 +01:00
Vaxry
51b3148f09
hyprpm: print more info on build failures
2024-04-05 00:23:05 +01:00
zakk4223
846162cce1
hyprpm: Use proper path to update repo when processing user provided revision ( #5414 )
2024-04-04 16:33:36 +01:00
Vaxry
6fb8f50205
hyprpm: avoid crashes on corrupted headers
...
ref #5329
2024-03-30 03:09:22 +00:00
Praneeth Jain
f1d06b773f
hyprpm: add missing newline ( #5207 )
2024-03-21 14:50:19 +00:00
Vaxry
07ab3b8cd6
hyprpm: log shell in build without fails
2024-03-19 22:12:55 +00:00
ItsDrike
082bf00254
hyprpm: Add support for specifying exact git revisions for plugin repo ( #4983 )
...
* hyprpm(feat): support specifying exact git revs
* Mention git rev argument in help
* Mention git rev arg is optional
* Wrap text
2024-03-06 12:01:04 +00:00
Vaxry
328ab43165
hyprpm: don't copy .so if file doesn't exist
...
ref #4926
2024-03-02 19:06:09 +00:00
Vaxry
5d4ff60f53
hyprpm: fix invalid pkg-config path env in build
...
ref #4573
2024-02-03 18:32:59 +00:00
Vaxry
7447be8220
hyprpm: fix crash on add plugin
...
ref #4563
2024-02-02 01:51:14 +00:00
Vaxry
3656045ad8
hyprpm: install headers locally ( #4585 )
...
* hyprpm: install headers locally
* oopsie
2024-02-01 19:38:43 +00:00
Vaxry
3ff59e7e1d
hyprpm: update global state on plugin recompile not header update
...
ref #4547
2024-01-29 23:37:05 +00:00
Vaxry
91e8c42843
hyprpm: don't update headers if they are up-to-date, only recompile
...
will not update headers if plugins are compiled for different ones, and instead only compile.
ref #4284
2024-01-29 10:30:31 +00:00
Vaxry
5a90911b70
hyprpm: verify headersHashCompiled as well in headersValid()
...
ref #4547
2024-01-28 20:01:46 +00:00
Vaxry
df990c80e2
hyprpm: log verbose return of cmake and meson in update
2024-01-28 03:00:05 +00:00
Vaxry
352574d862
hyprpm: add --force for update
...
closes #4547
2024-01-28 02:04:35 +00:00
vaxerski
9f2bde925b
hyprpm: handle failed compilations gracefully
2024-01-07 18:15:51 +01:00
zakk4223
33fe3a2e7f
hyprpm: Make sure we're in git repo before getting new hash ( #4303 )
2023-12-30 15:19:53 +01:00
vaxerski
698f3b6576
hyprpm: trim paths in PATH
...
fixes #4210
2023-12-21 22:01:55 +01:00
Junxuan Liao
b2e5a80e2f
hyprpm: Link against tomlplusplus when using cmake ( #4145 )
...
This reduces the compilation time and is consistent with the meson version.
2023-12-13 14:15:03 +00:00
Vaxry
4190b96718
hyprpm: add duplicate header error and log more verbose in install fails
2023-12-13 02:33:07 +00:00
Jan Beich
50648e6bae
hyprpm: cast std::clamp args to be of the same type ( #4116 )
...
hyprpm/src/progress/CProgressBar.cpp:50:27: error: no matching function for call to 'clamp'
const auto BARWIDTH = std::clamp(w.ws_col - m_szCurrentMessage.length() - 2, 0UL, 50UL);
^~~~~~~~~~
/usr/include/c++/v1/__algorithm/clamp.h:38:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('size_type' (aka 'unsigned int') vs. 'unsigned long')
clamp(const _Tp& __v, const _Tp& __lo, const _Tp& __hi)
^
/usr/include/c++/v1/__algorithm/clamp.h:27:1: note: candidate function template not viable: requires 4 arguments, but 3 were provided
clamp(const _Tp& __v, const _Tp& __lo, const _Tp& __hi, _Compare __comp)
^
2023-12-11 16:29:04 +00:00
Vaxry
d02ba422da
hyprpm: guard empty command
...
fixes #4114
2023-12-10 19:30:26 +00:00