Commit Graph
37 Commits
Author SHA1 Message Date
gitops 7df465ef26 justfile: build the portal with just, because it has no Makefile
Run 31383454158, arch job. It compiled all 26 other components over two
hours and eighteen minutes and then failed on the last line of `build`:

    /usr/sbin/make -C xdg-desktop-portal-cosmic all
    make: *** No rule to make target 'all'.  Stop.

xdg-desktop-portal-cosmic has no Makefile. It has a justfile, with `build`
and `install` recipes, and the submodule is clean at the commit this fork
pins.

This is upstream's, not something introduced here. The line dates from
2022 (f4fb6a86), pop-os/cosmic-epoch master still carries it verbatim, and
upstream pins the same portal commit this fork does -- f211aa37,
epoch-1.5.0 -- so `just build` on upstream cosmic-epoch fails in exactly
the same place. The portal moved from a Makefile to a justfile and the
meta-repository's recipe was never updated. It goes unnoticed because
distributions build COSMIC one component at a time and never take this
path; it takes a full meta-build to reach the failure, and the failure is
on the very last line.

`build` rather than `build-release`: the portal has no build-release
recipe, and its `build` defaults to debug='0', which selects --release.
`install` takes rootdir/prefix rather than DESTDIR/prefix, being a
justfile.

Every other delegation in this justfile was checked the same way -- each
`make -C dir target` against that directory's Makefile targets, each
`just dir/recipe` against that directory's recipes, following justfile
imports -- and the portal was the only one that did not resolve.
2026-08-10 20:47:57 +07:00
gitops 31ce3a51c4 Build and install cosmic-conf and the shared assets from the top-level justfile
`just build` built 26 upstream components and our two forks. `just install`
installed the same set. Neither touched cosmic-conf or anything under config/,
which meant the recipe that is supposed to produce a desktop produced one with
no config compiler, no bar layout, no rofi theme and no power menu -- a
HyprCosmic session that comes up to a blank screen and cannot be logged out of.

So three lines, in the places the existing recipes already establish:

  build     cargo build --release --manifest-path cosmic-conf/Cargo.toml
  install   the binary to $prefix/bin, then tools/install-assets.sh
  clean     cosmic-conf/target

cargo directly rather than `just cosmic-conf/build-release`, because cosmic-conf
is a crate in this repository rather than a submodule and has no Justfile of its
own to delegate to.

install-assets.sh runs last and with --no-session. Last because it is the only
step whose output is worth reading: several of the files it places name
/usr/share/hyprcosmic as a literal -- a .rasi has no variables and the autostart
file is deliberately not a shell -- so a prefix other than /usr installs them
where nothing will look, and the script says which ones. --no-session because
cosmic-session/install has already placed start-hyprcosmic and
hyprcosmic.desktop by then, and installing them twice would leave it unclear
which recipe owns them.

Verified by running the two new install lines verbatim into a staging root:
eight files, the cosmic-conf binary and the seven shared assets, and no session
entry point among them.
2026-08-10 17:31:00 +07:00
Jeremy Soller 0d128858ad Add cosmic-monitor 2026-06-23 08:36:37 -06:00
rezsoandGitHub e4edeeca3f fix(just): cosmic-session uses build-release now 2026-01-14 17:45:04 +01:00
Jeremy Soller ea32f6c30b Update cosmic-osd 2025-11-25 11:49:10 -07:00
Prasanna LoganatharandGitHub b8d349fd33 fix: install from justfile 2025-10-05 23:39:56 +02:00
Jeremy Soller 547479a1c5 Add pop-launcher 2025-09-19 14:56:00 -06:00
Jeremy Soller 5c1ab6d9eb Add cosmic-initial-setup 2025-09-19 14:38:51 -06:00
Jeremy Soller 6581855fe0 Add cosmic-player 2025-01-09 10:43:58 -07:00
Jeremy Soller 2738786dbf Add cosmic-idle 2024-10-31 11:21:15 -06:00
Jeremy Soller 7bb54b437c Add cosmic-wallpapers 2024-09-26 16:44:53 -06:00
Victoria BrekenfeldandVictoria Brekenfeld 5f2fd3324b justfile: Add install command 2024-02-21 09:11:45 +01:00
wiiznokesandJeremy Soller 3e9b5db917 add cosmic-store 2024-01-23 06:46:47 -07:00
Ron Waldon-HoweandJeremy Soller 79c472c936 feat: add cosmic-files 2024-01-06 21:47:28 -07:00
Michael Aaron Murphy 4edc8417a4 feat: add cosmic-randr
To be used as a dependency for cosmic-settings
2023-12-22 19:19:24 +01:00
Ron Waldon-HoweandVictoria Brekenfeld 7bbdcad4e4 feat: add cosmic-term 2023-12-22 13:42:27 +01:00
Victoria Brekenfeld 4fd53f72e4 Update submodules, add cosmic-edit/-greeter/-screenshot 2023-11-15 16:22:10 +01:00
Jeremy Soller 2123856baf Add cosmic-icons 2023-09-29 16:05:35 -06:00
Vixea f2e2d7c3b4 update-submodules 2023-08-10 16:48:00 -05:00
soloturnandGitHub bdf225cd6e meson not necessary any more (#98) 2023-04-23 19:00:32 -04:00
Ron Waldon 2fbef8d7b0 chore: bump submodules 2023-04-17 18:03:23 +10:00
Victoria Brekenfeld f0b63f7286 chore: Update submodules 2023-03-23 17:15:02 +01:00
75cb3ab49d feat: Add COSMIC Settings (#75)
* feat: Add COSMIC Settings

This add cosmic-settings to the .gitmodules file

* Update justfile per feedback

* Correct cosmic-launcher to cosmic-settings

* fix(settings): build

---------

Co-authored-by: Ashley Wulber <[email protected]>
2023-02-20 11:24:10 -05:00
Ashley Wulber 90b2b25b13 chore: update 2023-02-16 13:22:16 -05:00
Ashley WulberandGitHub 3ff993086f chore: remove wayland-proxy-virtwl (#70) 2023-02-14 19:57:00 -05:00
Ashley WulberandGitHub 5ab01c6c15 fix(launcher): typo in install (#69) 2023-02-14 17:28:15 -05:00
Ashley WulberandGitHub 07f6f2b507 fix: use just for launcher install step (#67) 2023-02-14 09:08:28 -05:00
Ashley Wulber 548d4e1122 chore: update to latest 2023-02-13 14:35:31 -05:00
Victoria Brekenfeld d095fcf04a Update components 2022-12-05 22:01:44 +01:00
Victoria Brekenfeld d239cc0146 Remove some unused/old components 2022-12-05 18:33:12 +01:00
Ashley WulberandGitHub 820968183b feat/x-support (#51)
* feat/x-support

* feat/x-support

* fix: Install seciton

* wip: some fixes

* fix: typo

* refactor: set DISPLAY in start-cosmic instead
2022-10-25 11:14:50 -04:00
Victoria Brekenfeld e6aeb0ae61 just: fixup meson build-dir 2022-10-06 11:39:32 +02:00
Victoria Brekenfeld 9bfbff3eab Add cosmic-bg, iced-workspace-applet, user-color-editor 2022-10-06 10:25:47 +02:00
Victoria Brekenfeld bc471046f7 Add cosmic-osd 2022-08-29 18:12:16 +02:00
Victoria Brekenfeld f4fb6a8692 Add xdg-desktop-portal 2022-08-12 14:13:49 +02:00
Victoria Brekenfeld dc2a60fa8e update components 2022-08-01 14:30:09 +02:00
Victoria Brekenfeld 336c68dce8 add notes and just-script to build Cosmic DE 2022-07-11 17:55:59 +02:00