Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [WIP] New package: COSMIC-Desktop-1.0.0.1
@ 2024-08-08 21:17 Calandracas606
  2024-08-08 21:21 ` [PR PATCH] [Updated] " Calandracas606
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: Calandracas606 @ 2024-08-08 21:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1526 bytes --]

There is a new pull request by Calandracas606 against master on the void-packages repository

https://github.com/Calandracas606/void-packages COSMIC-Desktop
https://github.com/void-linux/void-packages/pull/51735

[WIP] New package: COSMIC-Desktop-1.0.0.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc **NO**
<!--
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

This is WIP, I haven't gotten it to compile and install yet.

It might make sense to move each component into its own template, but I've kept it in one because the components all use the same tag, so updating all components will be easier

[ci skip]


A patch file from https://github.com/void-linux/void-packages/pull/51735.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-COSMIC-Desktop-51735.patch --]
[-- Type: text/x-diff, Size: 12559 bytes --]

From 7503f36d29c6e78e3ea02d8c980572a28aa1ec1a Mon Sep 17 00:00:00 2001
From: Daniel Martinez <danielmartinez@cock.li>
Date: Thu, 8 Aug 2024 17:05:28 -0400
Subject: [PATCH] New package: COSMIC-Desktop-1.0.0.1

---
 srcpkgs/COSMIC-Desktop/template   | 248 ++++++++++++++++++++++++++++++
 srcpkgs/cosmic-applets            |   1 +
 srcpkgs/cosmic-applibrary         |   1 +
 srcpkgs/cosmic-bg                 |   1 +
 srcpkgs/cosmic-comp               |   1 +
 srcpkgs/cosmic-edit               |   1 +
 srcpkgs/cosmic-files              |   1 +
 srcpkgs/cosmic-greeter            |   1 +
 srcpkgs/cosmic-icons              |   1 +
 srcpkgs/cosmic-launcher           |   1 +
 srcpkgs/cosmic-notifications      |   1 +
 srcpkgs/cosmic-osd                |   1 +
 srcpkgs/cosmic-panel              |   1 +
 srcpkgs/cosmic-randr              |   1 +
 srcpkgs/cosmic-screenshot         |   1 +
 srcpkgs/cosmic-session            |   1 +
 srcpkgs/cosmic-settings-daemon    |   1 +
 srcpkgs/cosmic-store              |   1 +
 srcpkgs/cosmic-term               |   1 +
 srcpkgs/cosmic-workspaces-epoch   |   1 +
 srcpkgs/xdg-desktop-portal-cosmic |   1 +
 21 files changed, 268 insertions(+)
 create mode 100644 srcpkgs/COSMIC-Desktop/template
 create mode 120000 srcpkgs/cosmic-applets
 create mode 120000 srcpkgs/cosmic-applibrary
 create mode 120000 srcpkgs/cosmic-bg
 create mode 120000 srcpkgs/cosmic-comp
 create mode 120000 srcpkgs/cosmic-edit
 create mode 120000 srcpkgs/cosmic-files
 create mode 120000 srcpkgs/cosmic-greeter
 create mode 120000 srcpkgs/cosmic-icons
 create mode 120000 srcpkgs/cosmic-launcher
 create mode 120000 srcpkgs/cosmic-notifications
 create mode 120000 srcpkgs/cosmic-osd
 create mode 120000 srcpkgs/cosmic-panel
 create mode 120000 srcpkgs/cosmic-randr
 create mode 120000 srcpkgs/cosmic-screenshot
 create mode 120000 srcpkgs/cosmic-session
 create mode 120000 srcpkgs/cosmic-settings-daemon
 create mode 120000 srcpkgs/cosmic-store
 create mode 120000 srcpkgs/cosmic-term
 create mode 120000 srcpkgs/cosmic-workspaces-epoch
 create mode 120000 srcpkgs/xdg-desktop-portal-cosmic

diff --git a/srcpkgs/COSMIC-Desktop/template b/srcpkgs/COSMIC-Desktop/template
new file mode 100644
index 00000000000000..77f7297aabe202
--- /dev/null
+++ b/srcpkgs/COSMIC-Desktop/template
@@ -0,0 +1,248 @@
+# Template file for 'COSMIC-Desktop'
+pkgname=COSMIC-Desktop
+version=1.0.0.1
+revision=1
+_tag="epoch-1.0.0-alpha.1"
+build_style=cargo
+hostmakedepends="pkg-config clang18 lld18"
+makedepends="wayland-devel MesaLib-devel libgbm-devel libseat-devel dbus-devel
+ libxkbcommon-devel elogind-devel pulseaudio-devel expat-devel fontconfig-devel
+ freetype-devel llvm18-devel pipewire-devel"
+short_desc="Next generation Cosmic desktop environment"
+maintainer="Daniel Martinez <danielmartinez@cock.li>"
+license="GPL-3.0-only"
+homepage="https://system76.com/cosmic"
+distfiles="https://github.com/pop-os/cosmic-epoch/archive/refs/tags/${_tag}.tar.gz"
+subpackages="
+ cosmic-applets
+ cosmic-applibrary
+ cosmic-bg
+ cosmic-comp
+ cosmic-edit
+ cosmic-files
+ cosmic-greeter
+ cosmic-icons
+ cosmic-launcher
+ cosmic-notifications
+ cosmic-osd
+ cosmic-panel
+ cosmic-randr
+ cosmic-screenshot
+ cosmic-session
+ cosmic-settings-daemon
+ cosmic-store
+ cosmic-term
+ cosmic-workspaces-epoch
+ xdg-desktop-portal-cosmic
+"
+for _sub in $subpackages; do
+	local _tarball="${_sub}_${_tag}.tar.gz"
+	distfiles+=" https://github.com/pop-os/${_sub}/archive/refs/tags/${_tag}.tar.gz>${_tarball}"
+	skip_extraction+=" ${_tarball}"
+done
+
+checksum="ffce96bfab2ef39114c386ea91af9a5d055087e001ceb5fb44ca32e43f9f8829
+ be60cba82b8da4f7d7cde4a2a5426d97f41423c11bd5fb5d66f1194ddf7274d4
+ 6481c4d92a5fcaef93698b19bfac28485daaddba8789e50c07410ee9e33a4e22
+ 6501795e2787d98394f773d862387cda8b8340e52e7900caea33edbf9f306cac
+ 46f552fbce2c3139e2b407d98d3115b35a240ba79d2b6bc420010efa67abd21b
+ c81bd38a1c16cabf5a5bfbba3e0552bff72e3e7b802dcaed836dcafe3b634d72
+ e533a6fd079de327877f50424d32d3055e8a261bb874925c73f03030c2ea9454
+ 408c80c123c17089a09117e7eca0b87aee143336aa44ae47321e46e3da90c31e
+ 20d1a184c0421501e7ed8761f6e6178c3e16c787373357dae1d4dc22b9109428
+ a2bc1885c7e79ec2fb109ab8af6d7bea2c5318814cb9a349646d96fbe9513c09
+ 6cd3a46abecafe200be791bb4c1cb25498c27d4b8bc0afeda37263b5f296bfd7
+ a790e47e96fee1a053ebff1e1c251c065bfbf653efc4fcef461a99e9743e28f2
+ f4bacd6447607bb04605ae04add2f7cec8422d5ceb08cf742a65876484059328
+ b4f1eac8be58998b136c4a08afb972647965f2acdf9e8a44fd199a68f7332bba
+ 78da8e504845582b668b253d376cf2a19a5f6a4a1bd51b4e7c7eeb86ac42831f
+ be6b9fcd7a174ad9bd5c723c229cb7459c835386a2c608c250ab3c0457a7a375
+ fd3921a4da8064508df264ab2f667670682aee8dbe3bfbe29687cf0689a45b4b
+ eca7c5f138b81768565300cb90f0453527f87660743c8513e5f0470399b4f1ae
+ 3c6b6619647032245e1f0107fbc95c360a4f0963e0740b0370e5f8f63d812c4f
+ d06438e43ad623036f665b615309f17625922344ea317ce70192dc7f61386a9c
+ ad67ab52825fa86906c454d14ce4a065947c0216554e314e4008a6d0de5ad516"
+
+post_extract() {
+	for _sub in $subpackages; do
+		vsrcextract -C $_sub "${_sub}_${_tag}.tar.gz"
+	done
+}
+
+do_build() {
+	for _sub in $subpackages; do
+		cd $_sub
+		cargo auditable build --release --locked --target ${RUST_TARGET} ${configure_args}
+		cd ../
+	done
+}
+
+do_install() {
+	#noop
+	$(:)
+}
+
+_cosmic_do_install() {
+	cargo auditable install --target ${RUST_TARGET} --root="${DESTDIR}/usr" \
+		--offline --locked ${configure_args} --path .
+}
+
+cosmic-applets_package() {
+	short_desc+=" - ${pkgname}"
+	pkg_install() {
+		cd ${wrksrc}/${pkgname}
+		_cosmic_do_install
+	}
+}
+
+cosmic-applibrary_package() {
+	short_desc+=" - ${pkgname}"
+	pkg_install() {
+		cd ${wrksrc}/${pkgname}
+		_cosmic_do_install
+	}
+}
+
+cosmic-bg_package() {
+	short_desc+=" - ${pkgname}"
+	pkg_install() {
+		cd ${wrksrc}/${pkgname}
+		_cosmic_do_install
+	}
+}
+
+cosmic-comp_package() {
+	short_desc+=" - ${pkgname}"
+	pkg_install() {
+		cd ${wrksrc}/${pkgname}
+		_cosmic_do_install
+	}
+}
+
+cosmic-edit_package() {
+	short_desc+=" - ${pkgname}"
+	pkg_install() {
+		cd ${wrksrc}/${pkgname}
+		_cosmic_do_install
+	}
+}
+
+cosmic-files_package() {
+	short_desc+=" - ${pkgname}"
+	pkg_install() {
+		cd ${wrksrc}/${pkgname}
+		_cosmic_do_install
+	}
+}
+
+cosmic-greeter_package() {
+	short_desc+=" - ${pkgname}"
+	pkg_install() {
+		cd ${wrksrc}/${pkgname}
+		_cosmic_do_install
+	}
+}
+
+cosmic-icons_package() {
+	short_desc+=" - ${pkgname}"
+	pkg_install() {
+		cd ${wrksrc}/${pkgname}
+		_cosmic_do_install
+	}
+}
+
+cosmic-launcher_package() {
+	short_desc+=" - ${pkgname}"
+	pkg_install() {
+		cd ${wrksrc}/${pkgname}
+		_cosmic_do_install
+	}
+}
+
+cosmic-notifications_package() {
+	short_desc+=" - ${pkgname}"
+	pkg_install() {
+		cd ${wrksrc}/${pkgname}
+		_cosmic_do_install
+	}
+}
+
+cosmic-osd_package() {
+	short_desc+=" - ${pkgname}"
+	pkg_install() {
+		cd ${wrksrc}/${pkgname}
+		_cosmic_do_install
+	}
+}
+
+cosmic-panel_package() {
+	short_desc+=" - ${pkgname}"
+	pkg_install() {
+		cd ${wrksrc}/${pkgname}
+		_cosmic_do_install
+	}
+}
+
+cosmic-randr_package() {
+	short_desc+=" - ${pkgname}"
+	pkg_install() {
+		cd ${wrksrc}/${pkgname}
+		_cosmic_do_install
+	}
+}
+
+cosmic-screenshot_package() {
+	short_desc+=" - ${pkgname}"
+	pkg_install() {
+		cd ${wrksrc}/${pkgname}
+		_cosmic_do_install
+	}
+}
+
+cosmic-session_package() {
+	short_desc+=" - ${pkgname}"
+	pkg_install() {
+		cd ${wrksrc}/${pkgname}
+		_cosmic_do_install
+	}
+}
+
+cosmic-settings-daemon_package() {
+	short_desc+=" - ${pkgname}"
+	pkg_install() {
+		cd ${wrksrc}/${pkgname}
+		_cosmic_do_install
+	}
+}
+
+cosmic-store_package() {
+	short_desc+=" - ${pkgname}"
+	pkg_install() {
+		cd ${wrksrc}/${pkgname}
+		_cosmic_do_install
+	}
+}
+
+cosmic-term_package() {
+	short_desc+=" - ${pkgname}"
+	pkg_install() {
+		cd ${wrksrc}/${pkgname}
+		_cosmic_do_install
+	}
+}
+
+cosmic-workspaces-epoch_package() {
+	short_desc+=" - ${pkgname}"
+	pkg_install() {
+		cd ${wrksrc}/${pkgname}
+		_cosmic_do_install
+	}
+}
+
+xdg-desktop-portal-cosmic_package() {
+	short_desc+=" - ${pkgname}"
+	pkg_install() {
+		cd ${wrksrc}/${pkgname}
+		_cosmic_do_install
+	}
+}
diff --git a/srcpkgs/cosmic-applets b/srcpkgs/cosmic-applets
new file mode 120000
index 00000000000000..8ed2b8ce2ba6f8
--- /dev/null
+++ b/srcpkgs/cosmic-applets
@@ -0,0 +1 @@
+COSMIC-Desktop
\ No newline at end of file
diff --git a/srcpkgs/cosmic-applibrary b/srcpkgs/cosmic-applibrary
new file mode 120000
index 00000000000000..8ed2b8ce2ba6f8
--- /dev/null
+++ b/srcpkgs/cosmic-applibrary
@@ -0,0 +1 @@
+COSMIC-Desktop
\ No newline at end of file
diff --git a/srcpkgs/cosmic-bg b/srcpkgs/cosmic-bg
new file mode 120000
index 00000000000000..8ed2b8ce2ba6f8
--- /dev/null
+++ b/srcpkgs/cosmic-bg
@@ -0,0 +1 @@
+COSMIC-Desktop
\ No newline at end of file
diff --git a/srcpkgs/cosmic-comp b/srcpkgs/cosmic-comp
new file mode 120000
index 00000000000000..8ed2b8ce2ba6f8
--- /dev/null
+++ b/srcpkgs/cosmic-comp
@@ -0,0 +1 @@
+COSMIC-Desktop
\ No newline at end of file
diff --git a/srcpkgs/cosmic-edit b/srcpkgs/cosmic-edit
new file mode 120000
index 00000000000000..8ed2b8ce2ba6f8
--- /dev/null
+++ b/srcpkgs/cosmic-edit
@@ -0,0 +1 @@
+COSMIC-Desktop
\ No newline at end of file
diff --git a/srcpkgs/cosmic-files b/srcpkgs/cosmic-files
new file mode 120000
index 00000000000000..8ed2b8ce2ba6f8
--- /dev/null
+++ b/srcpkgs/cosmic-files
@@ -0,0 +1 @@
+COSMIC-Desktop
\ No newline at end of file
diff --git a/srcpkgs/cosmic-greeter b/srcpkgs/cosmic-greeter
new file mode 120000
index 00000000000000..8ed2b8ce2ba6f8
--- /dev/null
+++ b/srcpkgs/cosmic-greeter
@@ -0,0 +1 @@
+COSMIC-Desktop
\ No newline at end of file
diff --git a/srcpkgs/cosmic-icons b/srcpkgs/cosmic-icons
new file mode 120000
index 00000000000000..8ed2b8ce2ba6f8
--- /dev/null
+++ b/srcpkgs/cosmic-icons
@@ -0,0 +1 @@
+COSMIC-Desktop
\ No newline at end of file
diff --git a/srcpkgs/cosmic-launcher b/srcpkgs/cosmic-launcher
new file mode 120000
index 00000000000000..8ed2b8ce2ba6f8
--- /dev/null
+++ b/srcpkgs/cosmic-launcher
@@ -0,0 +1 @@
+COSMIC-Desktop
\ No newline at end of file
diff --git a/srcpkgs/cosmic-notifications b/srcpkgs/cosmic-notifications
new file mode 120000
index 00000000000000..8ed2b8ce2ba6f8
--- /dev/null
+++ b/srcpkgs/cosmic-notifications
@@ -0,0 +1 @@
+COSMIC-Desktop
\ No newline at end of file
diff --git a/srcpkgs/cosmic-osd b/srcpkgs/cosmic-osd
new file mode 120000
index 00000000000000..8ed2b8ce2ba6f8
--- /dev/null
+++ b/srcpkgs/cosmic-osd
@@ -0,0 +1 @@
+COSMIC-Desktop
\ No newline at end of file
diff --git a/srcpkgs/cosmic-panel b/srcpkgs/cosmic-panel
new file mode 120000
index 00000000000000..8ed2b8ce2ba6f8
--- /dev/null
+++ b/srcpkgs/cosmic-panel
@@ -0,0 +1 @@
+COSMIC-Desktop
\ No newline at end of file
diff --git a/srcpkgs/cosmic-randr b/srcpkgs/cosmic-randr
new file mode 120000
index 00000000000000..8ed2b8ce2ba6f8
--- /dev/null
+++ b/srcpkgs/cosmic-randr
@@ -0,0 +1 @@
+COSMIC-Desktop
\ No newline at end of file
diff --git a/srcpkgs/cosmic-screenshot b/srcpkgs/cosmic-screenshot
new file mode 120000
index 00000000000000..8ed2b8ce2ba6f8
--- /dev/null
+++ b/srcpkgs/cosmic-screenshot
@@ -0,0 +1 @@
+COSMIC-Desktop
\ No newline at end of file
diff --git a/srcpkgs/cosmic-session b/srcpkgs/cosmic-session
new file mode 120000
index 00000000000000..8ed2b8ce2ba6f8
--- /dev/null
+++ b/srcpkgs/cosmic-session
@@ -0,0 +1 @@
+COSMIC-Desktop
\ No newline at end of file
diff --git a/srcpkgs/cosmic-settings-daemon b/srcpkgs/cosmic-settings-daemon
new file mode 120000
index 00000000000000..8ed2b8ce2ba6f8
--- /dev/null
+++ b/srcpkgs/cosmic-settings-daemon
@@ -0,0 +1 @@
+COSMIC-Desktop
\ No newline at end of file
diff --git a/srcpkgs/cosmic-store b/srcpkgs/cosmic-store
new file mode 120000
index 00000000000000..8ed2b8ce2ba6f8
--- /dev/null
+++ b/srcpkgs/cosmic-store
@@ -0,0 +1 @@
+COSMIC-Desktop
\ No newline at end of file
diff --git a/srcpkgs/cosmic-term b/srcpkgs/cosmic-term
new file mode 120000
index 00000000000000..8ed2b8ce2ba6f8
--- /dev/null
+++ b/srcpkgs/cosmic-term
@@ -0,0 +1 @@
+COSMIC-Desktop
\ No newline at end of file
diff --git a/srcpkgs/cosmic-workspaces-epoch b/srcpkgs/cosmic-workspaces-epoch
new file mode 120000
index 00000000000000..8ed2b8ce2ba6f8
--- /dev/null
+++ b/srcpkgs/cosmic-workspaces-epoch
@@ -0,0 +1 @@
+COSMIC-Desktop
\ No newline at end of file
diff --git a/srcpkgs/xdg-desktop-portal-cosmic b/srcpkgs/xdg-desktop-portal-cosmic
new file mode 120000
index 00000000000000..8ed2b8ce2ba6f8
--- /dev/null
+++ b/srcpkgs/xdg-desktop-portal-cosmic
@@ -0,0 +1 @@
+COSMIC-Desktop
\ No newline at end of file

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2024-11-11  2:02 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-08 21:17 [PR PATCH] [WIP] New package: COSMIC-Desktop-1.0.0.1 Calandracas606
2024-08-08 21:21 ` [PR PATCH] [Updated] " Calandracas606
2024-08-09  3:05 ` Calandracas606
2024-08-09 21:49 ` Calandracas606
2024-08-09 21:50 ` Calandracas606
2024-08-09 21:59 ` Calandracas606
2024-08-09 23:05 ` [PR PATCH] [Updated] " Calandracas606
2024-08-09 23:21 ` Calandracas606
2024-08-09 23:35 ` [PR PATCH] [Updated] " Calandracas606
2024-08-10  0:22 ` Calandracas606
2024-08-11  2:09 ` Calandracas606
2024-08-11  4:18 ` Calandracas606
2024-08-11  5:11 ` Calandracas606
2024-08-11 22:55 ` Calandracas606
2024-08-12  2:45 ` Calandracas606
2024-08-12  2:48 ` Calandracas606
2024-08-12  2:51 ` Calandracas606
2024-08-12 11:56 ` [PR REVIEW] " Calandracas606
2024-08-12 11:56 ` Calandracas606
2024-11-11  1:59 ` github-actions
2024-11-11  2:02 ` [PR PATCH] [Closed]: " Calandracas606
2024-11-11  2:02 ` Calandracas606

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).