Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
June
May
April
March
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
List overview
Download
Arch-excludes
September 2024
----- 2025 -----
June 2025
May 2025
April 2025
March 2025
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
arch-excludes@lists.fedoraproject.org
2 participants
250 discussions
Start a n
N
ew thread
Architecture specific change in rpms/cosmic-panel.git
by githook-noreply@fedoraproject.org
29 Sep '24
29 Sep '24
The package rpms/cosmic-panel.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/cosmic-panel.git/commit/?id=e6434b3…
. Change: +ExcludeArch: %{ix86} Thanks. Full change: ============ commit e6434b30f01afa54f86fb109acafe7f2388360ba Author: Ryan Brue <ryanbrue.dev(a)gmail.com> Date: Sat Sep 28 20:57:20 2024 -0500 "Update to 1.0.0~alpha.2" diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..154dd7d --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/cosmic-panel-4fedcbf.tar.gz +/vendor-4fedcbf.tar.gz diff --git a/cosmic-panel.spec b/cosmic-panel.spec new file mode 100644 index 0000000..eddbe38 --- /dev/null +++ b/cosmic-panel.spec @@ -0,0 +1,94 @@ +ExcludeArch: %{ix86} +# Generated by rust2rpm 26 +%bcond_without check + + +%global commit 4fedcbfc3574600b58de6da6c2401c92264537bd +%global shortcommit %{sub %{commit} 1 7} +%global commitdatestring 2024-09-11 19:16:54 -0400 +%global commitdate 20240911 + +Name: cosmic-panel +Version: 1.0.0~alpha.2 +Release: %autorelease +Summary: Panel for the COSMIC Desktop Environment + +License: BSD-2-Clause AND ISC AND (Unlicense OR MIT) AND Zlib AND BSL-1.0 AND Apache-2.0 AND MIT AND (Zlib OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR CC0-1.0) AND (Apache-2.0 OR BSD-3-Clause) AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-3-Clause AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR Zlib) AND CC0-1.0 AND (0BSD OR MIT OR Apache-2.0) + +URL:
https://github.com/pop-os/cosmic-panel
+ +Source0:
https://github.com/pop-os/cosmic-panel/archive/%{commit}/cosmic-panel-%{sho…
+# To create the below sources: +# * git clone
https://github.com/pop-os/cosmic-panel
at the specified commit +# * cargo vendor > vendor-config-%%{shortcommit}.toml +# * tar -pczf vendor-%%{shortcommit}.tar.gz vendor +Source1: vendor-%{shortcommit}.tar.gz +# * mv vendor-config-%%{shortcommit}.toml .. +Source2: vendor-config-%{shortcommit}.toml + +BuildRequires: cargo-rpm-macros >= 25 +BuildRequires: rustc +BuildRequires: lld +BuildRequires: cargo +BuildRequires: wayland-devel +BuildRequires: libxkbcommon-devel +BuildRequires: just + +%global _description %{expand: +%{summary}.} + +%description %{_description} + +%prep +%autosetup -n cosmic-panel-%{commit} -p1 -a1 +%cargo_prep -N +# Check if .cargo/config.toml exists +if [ -f .cargo/config.toml ]; then + # If it exists, append the contents of %%{SOURCE2} to .cargo/config.toml + cat %{SOURCE2} >> .cargo/config.toml + echo "Appended %{SOURCE2} to .cargo/config.toml" +else + # If it does not exist, append the contents of %%{SOURCE2} to .cargo/config + cat %{SOURCE2} >> .cargo/config + echo "Appended %{SOURCE2} to .cargo/config" +fi + +%build +# Set vergen environment variables +export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" +export VERGEN_GIT_SHA="%{commit}" +%cargo_build +%{cargo_license_summary} +%{cargo_license} > LICENSE.dependencies +%{cargo_vendor_manifest} +sed 's/\(.*\) (.*#\(.*\))/\1+git\2/' -i cargo-vendor.txt + +%install +# Set vergen environment variables +export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" +export VERGEN_GIT_SHA="%{commit}" +just rootdir=%{buildroot} prefix=%{_prefix} install + +%if %{with check} +%check +# Set vergen environment variables +export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" +export VERGEN_GIT_SHA="%{commit}" +%cargo_test +%endif + +%files +%license LICENSE.md +%license LICENSE.dependencies +%license cargo-vendor.txt +%doc README.md +%{_bindir}/cosmic-panel +%dir %{_datadir}/cosmic/com.system76.CosmicPanel.Dock +%dir %{_datadir}/cosmic/com.system76.CosmicPanel.Panel +%dir %{_datadir}/cosmic/com.system76.CosmicPanel +%{_datadir}/cosmic/com.system76.CosmicPanel.Dock/* +%{_datadir}/cosmic/com.system76.CosmicPanel.Panel/* +%{_datadir}/cosmic/com.system76.CosmicPanel/* + +%changelog +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..7a9ecf4 --- /dev/null +++ b/sources @@ -0,0 +1,2 @@ +SHA512 (cosmic-panel-4fedcbf.tar.gz) = 000ef669894f0e870bcf92d0ec751958d645918c9caf04be8ec113ab18307e81413b42d23617712e22f5ab7988d963813bd1ed464f17940e6b810314883bc173 +SHA512 (vendor-4fedcbf.tar.gz) = 5c8aed26e14713a06183b5fd3a03ffaf361dfaa925e9564ddfea5640dc9eef20e220c93fe26afa0cd7dcebf9808c6a1998597dbc78c724e87699d1ea50e0a05e diff --git a/vendor-config-4fedcbf.toml b/vendor-config-4fedcbf.toml new file mode 100644 index 0000000..bfc5e4f --- /dev/null +++ b/vendor-config-4fedcbf.toml @@ -0,0 +1,70 @@ +[source.crates-io] +replace-with = "vendored-sources" + +[source."
git+https://github.com/DioxusLabs/taffy?rev=7781c70
"] +git = "
https://github.com/DioxusLabs/taffy
" +rev = "7781c70" +replace-with = "vendored-sources" + +[source."
git+https://github.com/gfx-rs/wgpu?rev=20fda69
"] +git = "
https://github.com/gfx-rs/wgpu
" +rev = "20fda69" +replace-with = "vendored-sources" + +[source."
git+https://github.com/jackpot51/rust-atomicwrites
"] +git = "
https://github.com/jackpot51/rust-atomicwrites
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-notifications
"] +git = "
https://github.com/pop-os/cosmic-notifications
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-protocols?rev=c8d3a1c
"] +git = "
https://github.com/pop-os/cosmic-protocols
" +rev = "c8d3a1c" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-text.git
"] +git = "
https://github.com/pop-os/cosmic-text.git
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/glyphon.git?tag=v0.5.0
"] +git = "
https://github.com/pop-os/glyphon.git
" +tag = "v0.5.0" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/launch-pad.git
"] +git = "
https://github.com/pop-os/launch-pad.git
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/libcosmic
"] +git = "
https://github.com/pop-os/libcosmic
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/smithay-clipboard?tag=pop-dnd-5
"] +git = "
https://github.com/pop-os/smithay-clipboard
" +tag = "pop-dnd-5" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/softbuffer?tag=cosmic-4.0
"] +git = "
https://github.com/pop-os/softbuffer
" +tag = "cosmic-4.0" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/window_clipboard.git?tag=pop-dnd-8
"] +git = "
https://github.com/pop-os/window_clipboard.git
" +tag = "pop-dnd-8" +replace-with = "vendored-sources" + +[source."
git+https://github.com/smithay/smithay?rev=fe654453b032020cb26861a38b245ba1…
"] +git = "
https://github.com/smithay/smithay
" +rev = "fe654453b032020cb26861a38b245ba12842ba8f" +replace-with = "vendored-sources" + +[source."
git+https://github.com/wash2/accesskit.git?branch=winit-0.29
"] +git = "
https://github.com/wash2/accesskit.git
" +branch = "winit-0.29" +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor"
1
0
0
0
Architecture specific change in rpms/cosmic-notifications.git
by githook-noreply@fedoraproject.org
29 Sep '24
29 Sep '24
The package rpms/cosmic-notifications.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/cosmic-notifications.git/commit/?id…
. Change: +ExcludeArch: %{ix86} Thanks. Full change: ============ commit 1f434d3c5a53687b8c7634d5a5a5c4315d8e9f62 Author: Ryan Brue <ryanbrue.dev(a)gmail.com> Date: Sun Sep 29 01:02:03 2024 -0500 "Update to 1.0.0~alpha.2" diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1a54437 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/cosmic-notifications-e9abef5.tar.gz +/vendor-e9abef5.tar.gz diff --git a/cosmic-notifications.spec b/cosmic-notifications.spec new file mode 100644 index 0000000..f04f020 --- /dev/null +++ b/cosmic-notifications.spec @@ -0,0 +1,105 @@ +ExcludeArch: %{ix86} +# Generated by rust2rpm 26 +%bcond_without check + + +%global commit e9abef567a928cfa88949dbbdb5c49bb87c2f6a0 +%global shortcommit %{sub %{commit} 1 7} +%global commitdatestring 2024-08-01 18:52:22 +0200 +%global commitdate 20240801 + +Name: cosmic-notifications +Version: 1.0.0~alpha.2 +Release: %autorelease +Summary: Notifications daemon for the COSMIC Desktop Environment + +License: (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Apache-2.0 OR BSD-3-Clause) AND Apache-2.0 AND MIT AND BSD-3-Clause AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (0BSD OR MIT OR Apache-2.0) AND BSD-3-Clause AND (Apache-2.0 OR MIT) AND CC0-1.0 AND MPL-2.0 AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR CC0-1.0) AND (Apache-2.0 OR MIT) AND Zlib AND MIT AND (MIT OR Apache-2.0 OR Zlib) AND Unicode-3.0 AND ISC AND BSD-2-Clause AND BSL-1.0 + +URL:
https://github.com/pop-os/cosmic-notifications
+ +Source0:
https://github.com/pop-os/cosmic-notifications/archive/%{commit}/cosmic-not…
+# To create the below sources: +# * git clone
https://github.com/pop-os/cosmic-notifications
at the specified commit +# * cargo vendor > vendor-config-%%{shortcommit}.toml +# * tar -pczf vendor-%%{shortcommit}.tar.gz vendor +Source1: vendor-%{shortcommit}.tar.gz +# * mv vendor-config-%%{shortcommit}.toml .. +Source2: vendor-config-%{shortcommit}.toml + +BuildRequires: cargo-rpm-macros >= 25 +BuildRequires: rustc +BuildRequires: lld +BuildRequires: cargo +BuildRequires: wayland-devel +BuildRequires: libxkbcommon-devel +BuildRequires: just +BuildRequires: desktop-file-utils + +Requires: hicolor-icon-theme + +%global _description %{expand: +%{summary}.} + +%description %{_description} + +%prep +%autosetup -n cosmic-notifications-%{commit} -p1 -a1 +%cargo_prep -N +# Check if .cargo/config.toml exists +if [ -f .cargo/config.toml ]; then + # If it exists, append the contents of %%{SOURCE2} to .cargo/config.toml + cat %{SOURCE2} >> .cargo/config.toml + echo "Appended %{SOURCE2} to .cargo/config.toml" +else + # If it does not exist, append the contents of %%{SOURCE2} to .cargo/config + cat %{SOURCE2} >> .cargo/config + echo "Appended %{SOURCE2} to .cargo/config" +fi + +%build +# Set vergen environment variables +export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" +export VERGEN_GIT_SHA="%{commit}" +%cargo_build +%{cargo_license_summary} +%{cargo_license} > LICENSE.dependencies +%{cargo_vendor_manifest} +sed 's/\(.*\) (.*#\(.*\))/\1+git\2/' -i cargo-vendor.txt + +%install +# Set vergen environment variables +export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" +export VERGEN_GIT_SHA="%{commit}" +just rootdir=%{buildroot} prefix=%{_prefix} install + +# COSMIC is not a valid category pre-fedora 41 +%if %{defined fedora} && 0%{?fedora} < 41 +desktop-file-install \ +--remove-category COSMIC \ +--add-category X-COSMIC \ +--delete-original \ +--dir %{buildroot}%{_datadir}/applications \ +%{buildroot}%{_datadir}/applications/com.system76.CosmicNotifications.desktop +%endif + +%check +desktop-file-validate %{buildroot}%{_datadir}/applications/com.system76.CosmicNotifications.desktop +%if %{with check} +# Set vergen environment variables +export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" +export VERGEN_GIT_SHA="%{commit}" +%cargo_test +%endif + +%files +%license LICENSE.md +%license LICENSE.dependencies +%license cargo-vendor.txt +%doc README.md +%{_bindir}/cosmic-notifications +%{_datadir}/applications/com.system76.CosmicNotifications.desktop +%{_datadir}/icons/hicolor/scalable/apps/com.system76.CosmicNotifications.svg +%{_metainfodir}/com.system76.CosmicNotifications.metainfo.xml + +%changelog +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..ef59fed --- /dev/null +++ b/sources @@ -0,0 +1,2 @@ +SHA512 (cosmic-notifications-e9abef5.tar.gz) = 2d1cc1a4667d2a433075d48996ce5683c1d44b1b556bd27a6c704b8b310c5f94a06f0edea1c4eda8b53fe1297a6d5eeddaf74be453e2db547f2134b95d786b4e +SHA512 (vendor-e9abef5.tar.gz) = d5ef2664a96aa198ec56e4e061a6f13f409cfa3a32785f98a49d34c42a01e20716c2a29c2d2ac1123ca7845109fb51cfdb45c400072efa741f5c20addfe9c4de diff --git a/vendor-config-e9abef5.toml b/vendor-config-e9abef5.toml new file mode 100644 index 0000000..46e2789 --- /dev/null +++ b/vendor-config-e9abef5.toml @@ -0,0 +1,69 @@ +[source.crates-io] +replace-with = "vendored-sources" + +[source."
git+https://github.com/DioxusLabs/taffy?rev=7781c70
"] +git = "
https://github.com/DioxusLabs/taffy
" +rev = "7781c70" +replace-with = "vendored-sources" + +[source."
git+https://github.com/gfx-rs/wgpu?rev=20fda69
"] +git = "
https://github.com/gfx-rs/wgpu
" +rev = "20fda69" +replace-with = "vendored-sources" + +[source."
git+https://github.com/jackpot51/rust-atomicwrites
"] +git = "
https://github.com/jackpot51/rust-atomicwrites
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-panel
"] +git = "
https://github.com/pop-os/cosmic-panel
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-protocols?rev=c8d3a1c
"] +git = "
https://github.com/pop-os/cosmic-protocols
" +rev = "c8d3a1c" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-text.git
"] +git = "
https://github.com/pop-os/cosmic-text.git
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-time
"] +git = "
https://github.com/pop-os/cosmic-time
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/dbus-settings-bindings
"] +git = "
https://github.com/pop-os/dbus-settings-bindings
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/glyphon.git?tag=v0.5.0
"] +git = "
https://github.com/pop-os/glyphon.git
" +tag = "v0.5.0" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/libcosmic/
"] +git = "
https://github.com/pop-os/libcosmic/
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/smithay-clipboard?tag=pop-dnd-5
"] +git = "
https://github.com/pop-os/smithay-clipboard
" +tag = "pop-dnd-5" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/softbuffer?tag=cosmic-4.0
"] +git = "
https://github.com/pop-os/softbuffer
" +tag = "cosmic-4.0" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/window_clipboard.git?tag=pop-dnd-8
"] +git = "
https://github.com/pop-os/window_clipboard.git
" +tag = "pop-dnd-8" +replace-with = "vendored-sources" + +[source."
git+https://github.com/wash2/accesskit.git?branch=winit-0.29
"] +git = "
https://github.com/wash2/accesskit.git
" +branch = "winit-0.29" +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor"
1
0
0
0
Architecture specific change in rpms/cosmic-store.git
by githook-noreply@fedoraproject.org
29 Sep '24
29 Sep '24
The package rpms/cosmic-store.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/cosmic-store.git/commit/?id=eb93461…
. Change: +ExcludeArch: %{ix86} Thanks. Full change: ============ commit eb93461797b2a8393339221785560b4411d3224a Author: Ryan Brue <ryanbrue.dev(a)gmail.com> Date: Sat Sep 28 20:46:32 2024 -0500 "Update to 1.0.0~alpha.2" diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..df7b53f --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/cosmic-store-da8c642.tar.gz +/vendor-da8c642.tar.gz diff --git a/cosmic-store.spec b/cosmic-store.spec new file mode 100644 index 0000000..688ad24 --- /dev/null +++ b/cosmic-store.spec @@ -0,0 +1,109 @@ +ExcludeArch: %{ix86} +# Generated by rust2rpm 26 +%bcond_without check + + +%global commit da8c64229f43164c6fa6613087f2284d3caf1721 +%global shortcommit %{sub %{commit} 1 7} +%global commitdatestring 2024-09-24 09:20:42 -0600 +%global commitdate 20240924 + +Name: cosmic-store +Version: 1.0.0~alpha.2 +Release: %autorelease +Summary: App store for the COSMIC Desktop Environment + +License: (MIT OR Apache-2.0 OR CC0-1.0) AND (Apache-2.0 OR MIT) AND BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND (Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR Zlib) AND (Unlicense OR MIT) AND Zlib AND BSL-1.0 AND (Apache-2.0 OR BSL-1.0) AND MPL-2.0 AND (Zlib OR Apache-2.0 OR MIT) AND Apache-2.0 AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND ISC AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND (Apache-2.0 OR ISC OR MIT) AND (0BSD OR MIT OR Apache-2.0) AND (BSD-3-Clause OR MIT OR Apache-2.0) AND MIT AND Unicode-3.0 + +URL:
https://github.com/pop-os/cosmic-store
+ +Source0:
https://github.com/pop-os/cosmic-store/archive/%{commit}/cosmic-store-%{sho…
+# To create the below sources: +# * git clone
https://github.com/pop-os/cosmic-store
at the specified commit +# * cargo vendor > vendor-config-%%{shortcommit}.toml +# * tar -pczf vendor-%%{shortcommit}.tar.gz vendor +Source1: vendor-%{shortcommit}.tar.gz +# * mv vendor-config-%%{shortcommit}.toml .. +Source2: vendor-config-%{shortcommit}.toml + + +BuildRequires: cargo-rpm-macros >= 25 +BuildRequires: rustc +BuildRequires: lld +BuildRequires: cargo +BuildRequires: flatpak-devel +BuildRequires: libappstream-glib +BuildRequires: just +BuildRequires: libxkbcommon-devel +BuildRequires: desktop-file-utils + +Requires: PackageKit +Requires: flatpak-libs +Requires: hicolor-icon-theme + +%global _description %{expand: +%{summary}.} + +%description %{_description} + +%prep +%autosetup -n cosmic-store-%{commit} -p1 -a1 +%cargo_prep -N +# Check if .cargo/config.toml exists +if [ -f .cargo/config.toml ]; then + # If it exists, append the contents of %%{SOURCE2} to .cargo/config.toml + cat %{SOURCE2} >> .cargo/config.toml + echo "Appended %{SOURCE2} to .cargo/config.toml" +else + # If it does not exist, append the contents of %%{SOURCE2} to .cargo/config + cat %{SOURCE2} >> .cargo/config + echo "Appended %{SOURCE2} to .cargo/config" +fi + +%build +# Set vergen environment variables +export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" +export VERGEN_GIT_SHA="%{commit}" +%cargo_build +%{cargo_license_summary} +%{cargo_license} > LICENSE.dependencies +%{cargo_vendor_manifest} +sed 's/\(.*\) (.*#\(.*\))/\1+git\2/' -i cargo-vendor.txt + +%install +# Set vergen environment variables +export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" +export VERGEN_GIT_SHA="%{commit}" +just rootdir=%{buildroot} prefix=%{_prefix} install + +# COSMIC is not a valid category pre-fedora 41 +%if %{defined fedora} && 0%{?fedora} < 41 +desktop-file-install \ +--remove-category COSMIC \ +--add-category X-COSMIC \ +--delete-original \ +--dir %{buildroot}%{_datadir}/applications \ +%{buildroot}%{_datadir}/applications/com.system76.CosmicStore.desktop +%endif + +%check +desktop-file-validate %{buildroot}%{_datadir}/applications/com.system76.CosmicStore.desktop +%if %{with check} +# Set vergen environment variables +export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" +export VERGEN_GIT_SHA="%{commit}" +%cargo_test +%endif + +%files +%license LICENSE +%license LICENSE.dependencies +%license cargo-vendor.txt +%doc README.md +%{_bindir}/cosmic-store +%{_datadir}/applications/com.system76.CosmicStore.desktop +%{_metainfodir}/com.system76.CosmicStore.metainfo.xml +%{_datadir}/icons/hicolor/*/apps/com.system76.CosmicStore.svg + +%changelog +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..939a1bc --- /dev/null +++ b/sources @@ -0,0 +1,2 @@ +SHA512 (cosmic-store-da8c642.tar.gz) = 045ab604f12d44b2901e2830b8bf130680e86d21ad4193a66c0a1446235d6135ec7a6f6e7dada586cb06919d8ba117dc2623af3b6f8a667fd3eb4f60f53600a9 +SHA512 (vendor-da8c642.tar.gz) = 79e601a578dc44dc70e0390bcf470189c6553018d1d154daa263ec9b3fcd08be2ec4007d995b24e409f2de2ceff1768dffcec51661cbea9fd06d42640e3269d4 diff --git a/vendor-config-da8c642.toml b/vendor-config-da8c642.toml new file mode 100644 index 0000000..fe0cfeb --- /dev/null +++ b/vendor-config-da8c642.toml @@ -0,0 +1,61 @@ +[source.crates-io] +replace-with = "vendored-sources" + +[source."
git+https://github.com/DioxusLabs/taffy?rev=7781c70
"] +git = "
https://github.com/DioxusLabs/taffy
" +rev = "7781c70" +replace-with = "vendored-sources" + +[source."
git+https://github.com/gfx-rs/wgpu?rev=20fda69
"] +git = "
https://github.com/gfx-rs/wgpu
" +rev = "20fda69" +replace-with = "vendored-sources" + +[source."
git+https://github.com/jackpot51/appstream.git
"] +git = "
https://github.com/jackpot51/appstream.git
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/jackpot51/rust-atomicwrites
"] +git = "
https://github.com/jackpot51/rust-atomicwrites
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-text.git
"] +git = "
https://github.com/pop-os/cosmic-text.git
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/glyphon.git?tag=v0.5.0
"] +git = "
https://github.com/pop-os/glyphon.git
" +tag = "v0.5.0" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/libcosmic.git
"] +git = "
https://github.com/pop-os/libcosmic.git
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/smithay-clipboard?tag=pop-dnd-5
"] +git = "
https://github.com/pop-os/smithay-clipboard
" +tag = "pop-dnd-5" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/softbuffer?tag=cosmic-4.0
"] +git = "
https://github.com/pop-os/softbuffer
" +tag = "cosmic-4.0" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/window_clipboard.git?tag=pop-dnd-8
"] +git = "
https://github.com/pop-os/window_clipboard.git
" +tag = "pop-dnd-8" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/winit.git?branch=winit-0.29
"] +git = "
https://github.com/pop-os/winit.git
" +branch = "winit-0.29" +replace-with = "vendored-sources" + +[source."
git+https://github.com/wash2/accesskit.git?branch=winit-0.29
"] +git = "
https://github.com/wash2/accesskit.git
" +branch = "winit-0.29" +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor"
1
0
0
0
Architecture specific change in rpms/cosmic-settings-daemon.git
by githook-noreply@fedoraproject.org
29 Sep '24
29 Sep '24
The package rpms/cosmic-settings-daemon.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/cosmic-settings-daemon.git/commit/?…
. Change: +ExcludeArch: %{ix86} Thanks. Full change: ============ commit f735450e920b92bfa05dccbe42332147b628fe91 Author: Ryan Brue <ryanbrue.dev(a)gmail.com> Date: Sat Sep 28 20:33:40 2024 -0500 "Update to 1.0.0~alpha.2" diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6b94638 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/cosmic-settings-daemon-a41d199.tar.gz +/vendor-a41d199.tar.gz diff --git a/cosmic-settings-daemon.spec b/cosmic-settings-daemon.spec new file mode 100644 index 0000000..0147d78 --- /dev/null +++ b/cosmic-settings-daemon.spec @@ -0,0 +1,101 @@ +ExcludeArch: %{ix86} +# Generated by rust2rpm 26 +%bcond_without check + + +%global crate cosmic-settings-daemon + + +%global commit a41d1991fdfdac58f0b788e43087ad6ee01d00ca +%global shortcommit %{sub %{commit} 1 7} +%global commitdatestring 2024-09-08 19:50:11 -0400 +%global commitdate 20240908 + +Name: cosmic-settings-daemon +Version: 1.0.0~alpha.2 +Release: %autorelease +Summary: Settings daemon for the COSMIC Desktop Environment + +License: Zlib AND (Unlicense OR MIT) AND GPL-3.0-or-later AND MPL-2.0 AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND BSD-2-Clause AND ISC AND BSL-1.0 AND (MIT OR Zlib OR Apache-2.0) AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND CC0-1.0 AND (Zlib OR Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR Zlib) AND (Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR CC0-1.0) AND (MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND MIT AND Apache-2.0 + +URL:
https://github.com/pop-os/cosmic-settings-daemon
+ +Source0:
https://github.com/pop-os/cosmic-settings-daemon/archive/%{commit}/cosmic-s…
+# To create the below sources: +# * git clone
https://github.com/pop-os/cosmic-settings-daemon
at the specified commit +# * cargo vendor > vendor-config-%%{shortcommit}.toml +# * tar -pczf vendor-%%{shortcommit}.tar.gz vendor +Source1: vendor-%{shortcommit}.tar.gz +# * mv vendor-config-%%{shortcommit}.toml .. +Source2: vendor-config-%{shortcommit}.toml + +BuildRequires: cargo-rpm-macros >= 26 +BuildRequires: rustc +BuildRequires: lld +BuildRequires: cargo +BuildRequires: systemd-devel +BuildRequires: libudev-devel +BuildRequires: libinput-devel +BuildRequires: wayland-devel +BuildRequires: clang-devel +BuildRequires: libxkbcommon-devel +BuildRequires: pam-devel +BuildRequires: just + +Requires: acpid +Requires: adw-gtk3-theme + +%global _description %{expand: +%{summary}.} + +%description %{_description} + +%prep +%autosetup -n %{crate}-%{commit} -p1 -a1 +%cargo_prep -N +# Check if .cargo/config.toml exists +if [ -f .cargo/config.toml ]; then + # If it exists, append the contents of %%{SOURCE2} to .cargo/config.toml + cat %{SOURCE2} >> .cargo/config.toml + echo "Appended %{SOURCE2} to .cargo/config.toml" +else + # If it does not exist, append the contents of %%{SOURCE2} to .cargo/config + cat %{SOURCE2} >> .cargo/config + echo "Appended %{SOURCE2} to .cargo/config" +fi + +%build +# Set vergen environment variables +export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" +export VERGEN_GIT_SHA="%{commit}" +%cargo_build +%{cargo_license_summary} +%{cargo_license} > LICENSE.dependencies +%{cargo_vendor_manifest} +sed 's/\(.*\) (.*#\(.*\))/\1+git\2/' -i cargo-vendor.txt + +%install +# Set vergen environment variables +export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" +export VERGEN_GIT_SHA="%{commit}" +make install DESTDIR=%{buildroot} prefix=%{_prefix} + +%if %{with check} +%check +# Set vergen environment variables +export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" +export VERGEN_GIT_SHA="%{commit}" +%cargo_test +%endif + +%files +%license LICENSE +%license LICENSE.dependencies +%license cargo-vendor.txt +%{_bindir}/cosmic-settings-daemon +%{_datadir}/cosmic/com.system76.CosmicSettings.Shortcuts/* +%{_datadir}/polkit-1/rules.d/cosmic-settings-daemon.rules + + +%changelog +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..a0761ab --- /dev/null +++ b/sources @@ -0,0 +1,2 @@ +SHA512 (cosmic-settings-daemon-a41d199.tar.gz) = 10fbe68d89dad163a226108b64e81b8e20916ab34c27a377e1805c5ac908c458431aab295aae4b6ceda6a38f6c14276fd6bf3e07d534c534a4fc0825553d9a99 +SHA512 (vendor-a41d199.tar.gz) = f2ab59232654bf54744e2eb95cac32123579a3c7d4119c6b3d0d8722cd63afc7d887e4b5e24f98d61cc3af4c9f0579f000e965aaf1e22e69c7ff43ba1afbd743 diff --git a/vendor-config-a41d199.toml b/vendor-config-a41d199.toml new file mode 100644 index 0000000..2cfffde --- /dev/null +++ b/vendor-config-a41d199.toml @@ -0,0 +1,60 @@ +[source.crates-io] +replace-with = "vendored-sources" + +[source."
git+https://github.com/DioxusLabs/taffy?rev=7781c70
"] +git = "
https://github.com/DioxusLabs/taffy
" +rev = "7781c70" +replace-with = "vendored-sources" + +[source."
git+https://github.com/gfx-rs/wgpu?rev=20fda69
"] +git = "
https://github.com/gfx-rs/wgpu
" +rev = "20fda69" +replace-with = "vendored-sources" + +[source."
git+https://github.com/jackpot51/rust-atomicwrites
"] +git = "
https://github.com/jackpot51/rust-atomicwrites
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-comp
"] +git = "
https://github.com/pop-os/cosmic-comp
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-text.git
"] +git = "
https://github.com/pop-os/cosmic-text.git
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/dbus-settings-bindings
"] +git = "
https://github.com/pop-os/dbus-settings-bindings
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/glyphon.git?tag=v0.5.0
"] +git = "
https://github.com/pop-os/glyphon.git
" +tag = "v0.5.0" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/libcosmic
"] +git = "
https://github.com/pop-os/libcosmic
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/smithay-clipboard?tag=pop-dnd-5
"] +git = "
https://github.com/pop-os/smithay-clipboard
" +tag = "pop-dnd-5" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/softbuffer?tag=cosmic-4.0
"] +git = "
https://github.com/pop-os/softbuffer
" +tag = "cosmic-4.0" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/window_clipboard.git?tag=pop-dnd-8
"] +git = "
https://github.com/pop-os/window_clipboard.git
" +tag = "pop-dnd-8" +replace-with = "vendored-sources" + +[source."
git+https://github.com/wash2/accesskit.git?branch=winit-0.29
"] +git = "
https://github.com/wash2/accesskit.git
" +branch = "winit-0.29" +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor"
1
0
0
0
Architecture specific change in rpms/cosmic-settings.git
by githook-noreply@fedoraproject.org
29 Sep '24
29 Sep '24
The package rpms/cosmic-settings.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/cosmic-settings.git/commit/?id=b831…
. Change: +ExcludeArch: %{ix86} Thanks. Full change: ============ commit b83112d72446a145cbf4de87c4cf2c2b1a17209e Author: Ryan Brue <ryanbrue.dev(a)gmail.com> Date: Sat Sep 28 18:42:24 2024 -0500 Initial commit (1.0.0~alpha.2) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..16336a7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/cosmic-settings-5fc0228.tar.gz +/vendor-5fc0228.tar.gz diff --git a/cosmic-settings.spec b/cosmic-settings.spec new file mode 100644 index 0000000..1cc525a --- /dev/null +++ b/cosmic-settings.spec @@ -0,0 +1,141 @@ +# FIXME: Debug artifacts get in the way +%define debug_package %{nil} +ExcludeArch: %{ix86} +# Generated by rust2rpm 26 +%bcond_without check + + +%global commit 5fc02288564e059f8d325c061f0787d5a86fb39a +%global shortcommit %{sub %{commit} 1 7} +%global commitdatestring 2024-09-24 17:25:31 +0200 +%global commitdate 20240924 + +Name: cosmic-settings +Version: 1.0.0~alpha.2 +Release: %autorelease +Summary: Settings app for the COSMIC Desktop Environment + +License: (MIT OR Apache-2.0 OR CC0-1.0) AND (Unlicense OR MIT) AND BSD-3-Clause AND (MIT OR Apache-2.0 OR Zlib) AND (Apache-2.0 OR MIT) AND (MIT OR Apache-2.0) AND (CC0-1.0 OR Apache-2.0) AND Apache-2.0 WITH LLVM-exception AND (Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND ISC AND MPL-2.0 AND GPL-3.0-only AND (MIT OR Zlib OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND Unicode-3.0 AND (0BSD OR MIT OR Apache-2.0) AND BSD-2-Clause AND Apache-2.0 AND CC0-1.0 AND (MIT OR Apache-2.0 OR NCSA) AND Unlicense AND MIT AND BSL-1.0 AND Zlib AND (Zlib OR Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) + +URL:
https://github.com/pop-os/cosmic-settings
+ +Source0:
https://github.com/pop-os/cosmic-settings/archive/%{commit}/cosmic-settings…
+# To create the below sources: +# * git clone
https://github.com/pop-os/cosmic-settings
at the specified commit +# * cargo vendor > vendor-config-%%{shortcommit}.toml +# * tar -pczf vendor-%%{shortcommit}.tar.gz vendor +Source1: vendor-%{shortcommit}.tar.gz +# * mv vendor-config-%%{shortcommit}.toml .. +Source2: vendor-config-%{shortcommit}.toml + + +BuildRequires: cargo-rpm-macros >= 25 +BuildRequires: rustc +BuildRequires: lld +BuildRequires: cargo +BuildRequires: libinput-devel +BuildRequires: wayland-devel +BuildRequires: libxkbcommon-devel +BuildRequires: systemd-devel +BuildRequires: just +BuildRequires: desktop-file-utils +BuildRequires: pipewire-devel +BuildRequires: clang + +Requires: hicolor-icon-theme +Requires: nm-connection-editor + +%global _description %{expand: +%{summary}.} + +%description %{_description} + +%prep +%autosetup -n cosmic-settings-%{commit} -p1 -a1 +%cargo_prep -N +# Check if .cargo/config.toml exists +if [ -f .cargo/config.toml ]; then + # If it exists, append the contents of %%{SOURCE2} to .cargo/config.toml + cat %{SOURCE2} >> .cargo/config.toml + echo "Appended %{SOURCE2} to .cargo/config.toml" +else + # If it does not exist, append the contents of %%{SOURCE2} to .cargo/config + cat %{SOURCE2} >> .cargo/config + echo "Appended %{SOURCE2} to .cargo/config" +fi + +%build +# Set vergen environment variables +export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" +export VERGEN_GIT_SHA="%{commit}" +%cargo_build +%{cargo_license_summary} +%{cargo_license} > LICENSE.dependencies +%{cargo_vendor_manifest} +sed 's/\(.*\) (.*#\(.*\))/\1+git\2/' -i cargo-vendor.txt + +%install +# Set vergen environment variables +export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" +export VERGEN_GIT_SHA="%{commit}" +just rootdir=%{buildroot} install + +%check +# FIXME: OnlyShowIn=COSMIC, should be fixed in 41 ? +# desktop-file-validate %{buildroot}%{_datadir}/applications/com.system76.CosmicSettings.desktop +# TODO: Fix desktop file validation of sub pages upstream +# desktop-file-validate %{buildroot}%{_datadir}/applications/com.system76.CosmicSettings.About.desktop +# desktop-file-validate %{buildroot}%{_datadir}/applications/com.system76.CosmicSettings.Appearance.desktop +# desktop-file-validate %{buildroot}%{_datadir}/applications/com.system76.CosmicSettings.DateTime.desktop +# desktop-file-validate %{buildroot}%{_datadir}/applications/com.system76.CosmicSettings.Dock.desktop +# desktop-file-validate %{buildroot}%{_datadir}/applications/com.system76.CosmicSettings.Panel.desktop +# desktop-file-validate %{buildroot}%{_datadir}/applications/com.system76.CosmicSettings.WindowManagement.desktop +# desktop-file-validate %{buildroot}%{_datadir}/applications/com.system76.CosmicSettings.Displays.desktop +# desktop-file-validate %{buildroot}%{_datadir}/applications/com.system76.CosmicSettings.Firmware.desktop +# desktop-file-validate %{buildroot}%{_datadir}/applications/com.system76.CosmicSettings.Keyboard.desktop +# desktop-file-validate %{buildroot}%{_datadir}/applications/com.system76.CosmicSettings.Mouse.desktop +# desktop-file-validate %{buildroot}%{_datadir}/applications/com.system76.CosmicSettings.Notifications.desktop +# desktop-file-validate %{buildroot}%{_datadir}/applications/com.system76.CosmicSettings.RegionLanguage.desktop +# desktop-file-validate %{buildroot}%{_datadir}/applications/com.system76.CosmicSettings.Sound.desktop +# desktop-file-validate %{buildroot}%{_datadir}/applications/com.system76.CosmicSettings.Touchpad.desktop +# desktop-file-validate %{buildroot}%{_datadir}/applications/com.system76.CosmicSettings.Users.desktop +# desktop-file-validate %{buildroot}%{_datadir}/applications/com.system76.CosmicSettings.Wallpaper.desktop +# desktop-file-validate %{buildroot}%{_datadir}/applications/com.system76.CosmicSettings.Workspaces.desktop +%if %{with check} +# Set vergen environment variables +export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" +export VERGEN_GIT_SHA="%{commit}" +%cargo_test +%endif + +%files +%license LICENSE.md +%license LICENSE.dependencies +%license cargo-vendor.txt +%doc README.md +%{_bindir}/cosmic-settings +%{_datadir}/applications/com.system76.CosmicSettings*.desktop +%{_metainfodir}/com.system76.CosmicSettings.metainfo.xml +%dir %{_datadir}/cosmic/com.system76.CosmicTheme.Dark.Builder +%{_datadir}/cosmic/com.system76.CosmicTheme.Dark.Builder/v1/* +%dir %{_datadir}/cosmic/com.system76.CosmicTheme.Dark +%{_datadir}/cosmic/com.system76.CosmicTheme.Dark/v1/* +%dir %{_datadir}/cosmic/com.system76.CosmicTheme.Light.Builder +%{_datadir}/cosmic/com.system76.CosmicTheme.Light.Builder/v1/* +%dir %{_datadir}/cosmic/com.system76.CosmicTheme.Light +%{_datadir}/cosmic/com.system76.CosmicTheme.Light/v1/* +%dir %{_datadir}/cosmic/com.system76.CosmicTheme.Mode +%{_datadir}/cosmic/com.system76.CosmicTheme.Mode/v1/* +%{_datadir}/icons/hicolor/scalable/status/illustration-appearance-dark-style-round.svg +%{_datadir}/icons/hicolor/scalable/status/illustration-appearance-dark-style-slightly-round.svg +%{_datadir}/icons/hicolor/scalable/status/illustration-appearance-dark-style-square.svg +%{_datadir}/icons/hicolor/scalable/status/illustration-appearance-light-style-round.svg +%{_datadir}/icons/hicolor/scalable/status/illustration-appearance-light-style-slightly-round.svg +%{_datadir}/icons/hicolor/scalable/status/illustration-appearance-light-style-square.svg +%{_datadir}/icons/hicolor/scalable/status/illustration-appearance-mode-dark.svg +%{_datadir}/icons/hicolor/scalable/status/illustration-appearance-mode-light.svg +%{_datadir}/icons/hicolor/*/apps/com.system76.CosmicSettings.svg +%{_datadir}/polkit-1/rules.d/cosmic-settings.rules + +%changelog +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..a2c434c --- /dev/null +++ b/sources @@ -0,0 +1,2 @@ +SHA512 (cosmic-settings-5fc0228.tar.gz) = 578275146e28609ee695b98836ab5776be52f7463bb430ef5279b575319d2d30faf391e53831411ab48c956c3bc2b338385cc0e74c321828a625bacfa790850c +SHA512 (vendor-5fc0228.tar.gz) = 3c2f672ff01ae95c09202749142a6e2d0fd794705de79d898856fc19055fc830ea46cdbde6de1c94f5769c4918a6bc5e0e1508c018d732e8fd5f5b4c382c2620 diff --git a/vendor-config-5fc0228.toml b/vendor-config-5fc0228.toml new file mode 100644 index 0000000..51669fe --- /dev/null +++ b/vendor-config-5fc0228.toml @@ -0,0 +1,95 @@ +[source.crates-io] +replace-with = "vendored-sources" + +[source."
git+https://github.com/DioxusLabs/taffy?rev=7781c70
"] +git = "
https://github.com/DioxusLabs/taffy
" +rev = "7781c70" +replace-with = "vendored-sources" + +[source."
git+https://github.com/gfx-rs/wgpu?rev=20fda69
"] +git = "
https://github.com/gfx-rs/wgpu
" +rev = "20fda69" +replace-with = "vendored-sources" + +[source."
git+https://github.com/jackpot51/rust-atomicwrites
"] +git = "
https://github.com/jackpot51/rust-atomicwrites
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-bg
"] +git = "
https://github.com/pop-os/cosmic-bg
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-comp
"] +git = "
https://github.com/pop-os/cosmic-comp
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-panel
"] +git = "
https://github.com/pop-os/cosmic-panel
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-protocols//?rev=bd65e0f2d55429954839c9…
"] +git = "
https://github.com/pop-os/cosmic-protocols//
" +rev = "bd65e0f2d55429954839c9e6c7bc5b0d198b85f0" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-protocols?rev=c8d3a1c
"] +git = "
https://github.com/pop-os/cosmic-protocols
" +rev = "c8d3a1c" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-randr
"] +git = "
https://github.com/pop-os/cosmic-randr
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-settings-daemon
"] +git = "
https://github.com/pop-os/cosmic-settings-daemon
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-settings-subscriptions
"] +git = "
https://github.com/pop-os/cosmic-settings-subscriptions
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-text.git
"] +git = "
https://github.com/pop-os/cosmic-text.git
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/dbus-settings-bindings
"] +git = "
https://github.com/pop-os/dbus-settings-bindings
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/glyphon.git?tag=v0.5.0
"] +git = "
https://github.com/pop-os/glyphon.git
" +tag = "v0.5.0" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/libcosmic
"] +git = "
https://github.com/pop-os/libcosmic
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/smithay-clipboard?tag=pop-dnd-5
"] +git = "
https://github.com/pop-os/smithay-clipboard
" +tag = "pop-dnd-5" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/softbuffer?tag=cosmic-4.0
"] +git = "
https://github.com/pop-os/softbuffer
" +tag = "cosmic-4.0" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/window_clipboard.git?tag=pop-dnd-8
"] +git = "
https://github.com/pop-os/window_clipboard.git
" +tag = "pop-dnd-8" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/winit.git?branch=winit-0.29
"] +git = "
https://github.com/pop-os/winit.git
" +branch = "winit-0.29" +replace-with = "vendored-sources" + +[source."
git+https://github.com/wash2/accesskit.git?branch=winit-0.29
"] +git = "
https://github.com/wash2/accesskit.git
" +branch = "winit-0.29" +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor"
1
0
0
0
Architecture specific change in rpms/cosmic-osd.git
by githook-noreply@fedoraproject.org
29 Sep '24
29 Sep '24
The package rpms/cosmic-osd.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/cosmic-osd.git/commit/?id=7fbb69182…
. Change: +ExcludeArch: %{ix86} Thanks. Full change: ============ commit 7fbb691828bfeeaebbbd2f2e94eb8e617b4b6cbe Author: Ryan Brue <ryanbrue.dev(a)gmail.com> Date: Sat Sep 28 20:41:21 2024 -0500 "Update to 1.0.0~alpha.2" diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..65c08a8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/cosmic-osd-27fc5e5.tar.gz +/vendor-27fc5e5.tar.gz diff --git a/cosmic-osd.spec b/cosmic-osd.spec new file mode 100644 index 0000000..a45ef71 --- /dev/null +++ b/cosmic-osd.spec @@ -0,0 +1,92 @@ +ExcludeArch: %{ix86} +# Generated by rust2rpm 26 +%bcond_without check + + +%global crate cosmic-osd + + +%global commit 27fc5e5ba4bbed119a1fc85f840db0ade13dde85 +%global shortcommit %{sub %{commit} 1 7} +%global commitdatestring 2024-07-15 08:05:22 -0600 +%global commitdate 20240715 + +Name: cosmic-osd +Version: 1.0.0~alpha.2 +Release: %autorelease +Summary: OSDs for the COSMIC Desktop Environment + +License: (0BSD OR MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR Zlib) AND MPL-2.0 AND BSD-3-Clause AND MIT AND ISC AND Unicode-3.0 AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT) AND (MIT OR Apache-2.0) AND Zlib AND (Apache-2.0 OR BSL-1.0) AND BSL-1.0 AND GPL-3.0-or-later AND (MIT OR Zlib OR Apache-2.0) AND (MIT OR Apache-2.0 OR CC0-1.0) AND Apache-2.0 AND CC0-1.0 AND (Zlib OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (Apache-2.0 OR MIT) + +URL:
https://github.com/pop-os/cosmic-osd
+ +Source0:
https://github.com/pop-os/cosmic-osd/archive/%{commit}/cosmic-osd-%{shortco…
+# To create the below sources: +# * git clone
https://github.com/pop-os/cosmic-osd
at the specified commit +# * cargo vendor > vendor-config-%%{shortcommit}.toml +# * tar -pczf vendor-%%{shortcommit}.tar.gz vendor +Source1: vendor-%{shortcommit}.tar.gz +# * mv vendor-config-%%{shortcommit}.toml .. +Source2: vendor-config-%{shortcommit}.toml + +BuildRequires: cargo-rpm-macros >= 26 +BuildRequires: rustc +BuildRequires: lld +BuildRequires: cargo +BuildRequires: wayland-devel +BuildRequires: libxkbcommon-devel +BuildRequires: systemd-devel +BuildRequires: pulseaudio-libs-devel +BuildRequires: make + +%global _description %{expand: +%{summary}.} + +%description %{_description} + +%prep +%autosetup -n %{crate}-%{commit} -p1 -a1 +%cargo_prep -N +# Check if .cargo/config.toml exists +if [ -f .cargo/config.toml ]; then + # If it exists, append the contents of %%{SOURCE2} to .cargo/config.toml + cat %{SOURCE2} >> .cargo/config.toml + echo "Appended %{SOURCE2} to .cargo/config.toml" +else + # If it does not exist, append the contents of %%{SOURCE2} to .cargo/config + cat %{SOURCE2} >> .cargo/config + echo "Appended %{SOURCE2} to .cargo/config" +fi + +%build +# Set vergen environment variables +export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" +export VERGEN_GIT_SHA="%{commit}" +make all polkit-agent-helper-1=/usr/lib/polkit-1/polkit-agent-helper-1 +%{cargo_license_summary} +%{cargo_license} > LICENSE.dependencies +%{cargo_vendor_manifest} +sed 's/\(.*\) (.*#\(.*\))/\1+git\2/' -i cargo-vendor.txt + +%install +# Set vergen environment variables +export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" +export VERGEN_GIT_SHA="%{commit}" +make install DESTDIR=%{buildroot} prefix=%{_prefix} + +%if %{with check} +%check +# Set vergen environment variables +export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" +export VERGEN_GIT_SHA="%{commit}" +%cargo_test +%endif + +%files +%license LICENSE +%license LICENSE.dependencies +%license cargo-vendor.txt +%{_bindir}/cosmic-osd + +%changelog +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..71c1f23 --- /dev/null +++ b/sources @@ -0,0 +1,2 @@ +SHA512 (cosmic-osd-27fc5e5.tar.gz) = 422754623ace1e0d692f83137e216281e08eef55afbdc643172558422669d0541484e54562bd6a2897cf24e5d52b85f9ad84b7bc6b33914b1590ebba383509f3 +SHA512 (vendor-27fc5e5.tar.gz) = 0726fc26905367aa84009cbedf223bac997b2a7f2a90bb1f3df3d9d23d9941c121ce564a77ef90f2d31bceaa1d9346897aeb1ce5e8a51f078a121626ba386000 diff --git a/vendor-config-27fc5e5.toml b/vendor-config-27fc5e5.toml new file mode 100644 index 0000000..82aff11 --- /dev/null +++ b/vendor-config-27fc5e5.toml @@ -0,0 +1,65 @@ +[source.crates-io] +replace-with = "vendored-sources" + +[source."
git+https://github.com/DioxusLabs/taffy?rev=7781c70
"] +git = "
https://github.com/DioxusLabs/taffy
" +rev = "7781c70" +replace-with = "vendored-sources" + +[source."
git+https://github.com/gfx-rs/wgpu?rev=20fda69
"] +git = "
https://github.com/gfx-rs/wgpu
" +rev = "20fda69" +replace-with = "vendored-sources" + +[source."
git+https://github.com/jackpot51/rust-atomicwrites
"] +git = "
https://github.com/jackpot51/rust-atomicwrites
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-protocols?rev=c8d3a1c
"] +git = "
https://github.com/pop-os/cosmic-protocols
" +rev = "c8d3a1c" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-settings-subscriptions
"] +git = "
https://github.com/pop-os/cosmic-settings-subscriptions
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-text.git
"] +git = "
https://github.com/pop-os/cosmic-text.git
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/dbus-settings-bindings
"] +git = "
https://github.com/pop-os/dbus-settings-bindings
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/glyphon.git?tag=v0.5.0
"] +git = "
https://github.com/pop-os/glyphon.git
" +tag = "v0.5.0" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/libcosmic
"] +git = "
https://github.com/pop-os/libcosmic
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/smithay-clipboard?tag=pop-dnd-5
"] +git = "
https://github.com/pop-os/smithay-clipboard
" +tag = "pop-dnd-5" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/softbuffer?tag=cosmic-4.0
"] +git = "
https://github.com/pop-os/softbuffer
" +tag = "cosmic-4.0" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/window_clipboard.git?tag=pop-dnd-8
"] +git = "
https://github.com/pop-os/window_clipboard.git
" +tag = "pop-dnd-8" +replace-with = "vendored-sources" + +[source."
git+https://github.com/wash2/accesskit.git?branch=winit-0.29
"] +git = "
https://github.com/wash2/accesskit.git
" +branch = "winit-0.29" +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor"
1
0
0
0
Architecture specific change in rpms/cosmic-greeter.git
by githook-noreply@fedoraproject.org
29 Sep '24
29 Sep '24
The package rpms/cosmic-greeter.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/cosmic-greeter.git/commit/?id=7937c…
. Change: +ExcludeArch: %{ix86} Thanks. Full change: ============ commit 7937c7fec2966435f1a9404f74e05d399d40b8d3 Author: Ryan Brue <ryanbrue.dev(a)gmail.com> Date: Sat Sep 28 20:38:16 2024 -0500 "Update to 1.0.0~alpha.2" diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e32e577 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/cosmic-greeter-4ddb320.tar.gz +/vendor-4ddb320.tar.gz diff --git a/cosmic-greeter.spec b/cosmic-greeter.spec new file mode 100644 index 0000000..5cf2170 --- /dev/null +++ b/cosmic-greeter.spec @@ -0,0 +1,140 @@ +ExcludeArch: %{ix86} +# Generated by rust2rpm 26 +%bcond_without check + + +%global commit 4ddb320daeea5124bf67500d73d6ead620f3d09b +%global shortcommit %{sub %{commit} 1 7} +%global commitdatestring 2024-09-22 15:45:19 -0600 +%global commitdate 20240922 + +Name: cosmic-greeter +Version: 1.0.0~alpha.2 +Release: %autorelease +# Release: %%autorelease +Summary: Login and display manager for the COSMIC Desktop Environment + +License: ISC AND MPL-2.0 AND GPL-3.0-only AND (MIT OR Apache-2.0 OR CC0-1.0) AND BSL-1.0 AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-3-Clause AND (MIT OR Apache-2.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR BSL-1.0) AND BSD-2-Clause AND CC0-1.0 AND CC-PDDC AND MIT AND (Zlib OR Apache-2.0 OR MIT) AND Apache-2.0 AND (MIT OR Apache-2.0 OR Zlib) AND Unicode-3.0 AND (Unlicense OR MIT) AND (MIT OR Zlib OR Apache-2.0) AND Zlib + +URL:
https://github.com/pop-os/cosmic-greeter
+ +Source0:
https://github.com/pop-os/cosmic-greeter/archive/%{commit}/cosmic-greeter-%…
+# To create the below sources: +# * git clone
https://github.com/pop-os/cosmic-greeter
at the specified commit +# * cargo vendor > vendor-config-%%{shortcommit}.toml +# * tar -pczf vendor-%%{shortcommit}.tar.gz vendor +Source1: vendor-%{shortcommit}.tar.gz +# * mv vendor-config-%%{shortcommit}.toml .. +Source2: vendor-config-%{shortcommit}.toml + +Patch: service.patch +Patch: include-greetd.patch + +BuildRequires: cargo-rpm-macros >= 25 +BuildRequires: rustc +BuildRequires: lld +BuildRequires: cargo +BuildRequires: wayland-devel +BuildRequires: clang-devel +BuildRequires: libxkbcommon-devel +BuildRequires: pam-devel +BuildRequires: just +BuildRequires: libudev-devel +BuildRequires: libinput-devel + +BuildRequires: systemd-rpm-macros +%{?sysusers_requires_compat} + +Requires: dbus +Requires: greetd +Requires: greetd-selinux +# fprintd-pam is required to start sessions (unclear why) +Requires: fprintd-pam +Requires: pam +Requires: cosmic-comp + +%global _description %{expand: +%{summary}.} + +%description %{_description} + +%prep +%autosetup -n cosmic-greeter-%{commit} -p1 -a1 +%cargo_prep -N +# Check if .cargo/config.toml exists +if [ -f .cargo/config.toml ]; then + # If it exists, append the contents of %%{SOURCE2} to .cargo/config.toml + cat %{SOURCE2} >> .cargo/config.toml + echo "Appended %{SOURCE2} to .cargo/config.toml" +else + # If it does not exist, append the contents of %%{SOURCE2} to .cargo/config + cat %{SOURCE2} >> .cargo/config + echo "Appended %{SOURCE2} to .cargo/config" +fi + +%build +# Set vergen environment variables +export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" +export VERGEN_GIT_SHA="%{commit}" +cargo build --release --all --offline --frozen +%{cargo_license_summary} +%{cargo_license} > LICENSE.dependencies +%{cargo_vendor_manifest} +sed 's/\(.*\) (.*#\(.*\))/\1+git\2/' -i cargo-vendor.txt + +%install +# Set vergen environment variables +export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" +export VERGEN_GIT_SHA="%{commit}" +install -Dm0755 target/release/cosmic-greeter %{buildroot}/%{_bindir}/cosmic-greeter +install -Dm0755 target/release/cosmic-greeter-daemon %{buildroot}/%{_bindir}/cosmic-greeter-daemon +install -Dm0644 dbus/com.system76.CosmicGreeter.conf %{buildroot}/%{_datadir}/dbus-1/system.d/com.system76.CosmicGreeter.conf +install -Dm0644 debian/cosmic-greeter.sysusers %{buildroot}/%{_sysusersdir}/cosmic-greeter.conf +install -Dm0644 debian/cosmic-greeter.tmpfiles %{buildroot}/%{_tmpfilesdir}/cosmic-greeter.conf +install -Dm0644 cosmic-greeter.toml %{buildroot}/%{_sysconfdir}/greetd/cosmic-greeter.toml +install -Dm0644 debian/cosmic-greeter.service %{buildroot}/%{_unitdir}/cosmic-greeter.service +install -Dm0644 debian/cosmic-greeter-daemon.service %{buildroot}/%{_unitdir}/cosmic-greeter-daemon.service +install -Dm0644 debian/greetd.pam %{buildroot}/%{_sysconfdir}/pam.d/cosmic-greeter + +# TODO: In greetd patch, make sure gnome-keyring is unlocked + +%if %{with check} +%check +# Set vergen environment variables +export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" +export VERGEN_GIT_SHA="%{commit}" +%cargo_test +%endif + +%pre +%sysusers_create_compat debian/cosmic-greeter.sysusers + +%post +%systemd_post cosmic-greeter.service +%systemd_post cosmic-greeter-daemon.service + +%preun +%systemd_preun cosmic-greeter.service +%systemd_preun cosmic-greeter-daemon.service + +%postun +%systemd_postun cosmic-greeter.service +%systemd_postun cosmic-greeter-daemon.service + +%files +%license LICENSE +%license LICENSE.dependencies +%license cargo-vendor.txt +%doc README.md +%{_bindir}/cosmic-greeter +%{_bindir}/cosmic-greeter-daemon +%{_datadir}/dbus-1/system.d/com.system76.CosmicGreeter.conf +%{_sysusersdir}/cosmic-greeter.conf +%{_tmpfilesdir}/cosmic-greeter.conf +%{_sysconfdir}/greetd/cosmic-greeter.toml +%{_unitdir}/cosmic-greeter.service +%{_unitdir}/cosmic-greeter-daemon.service +%{_sysconfdir}/pam.d/cosmic-greeter + +%changelog +%autochangelog diff --git a/include-greetd.patch b/include-greetd.patch new file mode 100644 index 0000000..73527ae --- /dev/null +++ b/include-greetd.patch @@ -0,0 +1,29 @@ +diff --git a/debian/greetd.pam b/debian/greetd.pam +new file mode 100644 +index 0000000..52df2fe +--- /dev/null ++++ b/debian/greetd.pam +@@ -0,0 +1,23 @@ ++#%PAM-1.0 ++auth substack system-auth ++-auth optional pam_gnome_keyring.so ++-auth optional pam_kwallet5.so ++-auth optional pam_kwallet.so ++auth include postlogin ++ ++account required pam_sepermit.so ++account required pam_nologin.so ++account include system-auth ++ ++password include system-auth ++ ++session required pam_selinux.so close ++session required pam_loginuid.so ++session required pam_selinux.so open ++session optional pam_keyinit.so force revoke ++session required pam_namespace.so ++session include system-auth ++-session optional pam_gnome_keyring.so auto_start ++-session optional pam_kwallet5.so auto_start ++-session optional pam_kwallet.so auto_start ++session include postlogin diff --git a/service.patch b/service.patch new file mode 100644 index 0000000..3602bbd --- /dev/null +++ b/service.patch @@ -0,0 +1,12 @@ +--- ./debian/cosmic-greeter.service 2024-02-27 11:31:17.946973142 -0600 ++++ ./debian/cosmic-greeter.patched.service 2024-02-27 11:32:11.538968615 -0600 +@@ -16,6 +16,5 @@ RestartSec=1 + StartLimitBurst=5 + StartLimitInterval=30 + +-# Managed by debconf +-#[Install] +-#Alias=display-manager.service ++[Install] ++Alias=display-manager.service +\ No newline at end of file diff --git a/sources b/sources new file mode 100644 index 0000000..5bca49b --- /dev/null +++ b/sources @@ -0,0 +1,2 @@ +SHA512 (cosmic-greeter-4ddb320.tar.gz) = ec2ee6393aee851eb438b9f1dcaffec81de50287183694c72bd6de50ca4c14ef8f70f45315ee63bf3fe821b8b48c7ca39509d5f2a8116c3e2fb7e7b4fead29cd +SHA512 (vendor-4ddb320.tar.gz) = b0004422da18b6ad25d8da775013c9f0f372e01af781d7d73b3ec707195efabb30312264fc04c966ae2029667795a30716b6535880cfa411cc83bd3e8ff47b36 diff --git a/vendor-config-4ddb320.toml b/vendor-config-4ddb320.toml new file mode 100644 index 0000000..d9181d1 --- /dev/null +++ b/vendor-config-4ddb320.toml @@ -0,0 +1,70 @@ +[source.crates-io] +replace-with = "vendored-sources" + +[source."
git+https://github.com/DioxusLabs/taffy?rev=7781c70
"] +git = "
https://github.com/DioxusLabs/taffy
" +rev = "7781c70" +replace-with = "vendored-sources" + +[source."
git+https://github.com/gfx-rs/wgpu?rev=20fda69
"] +git = "
https://github.com/gfx-rs/wgpu
" +rev = "20fda69" +replace-with = "vendored-sources" + +[source."
git+https://github.com/jackpot51/rust-atomicwrites
"] +git = "
https://github.com/jackpot51/rust-atomicwrites
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-bg
"] +git = "
https://github.com/pop-os/cosmic-bg
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-comp
"] +git = "
https://github.com/pop-os/cosmic-comp
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-protocols?rev=c8d3a1c
"] +git = "
https://github.com/pop-os/cosmic-protocols
" +rev = "c8d3a1c" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-text.git
"] +git = "
https://github.com/pop-os/cosmic-text.git
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/dbus-settings-bindings?rev=badfc6a
"] +git = "
https://github.com/pop-os/dbus-settings-bindings
" +rev = "badfc6a" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/glyphon.git?tag=v0.5.0
"] +git = "
https://github.com/pop-os/glyphon.git
" +tag = "v0.5.0" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/libcosmic
"] +git = "
https://github.com/pop-os/libcosmic
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/smithay-clipboard?tag=pop-dnd-5
"] +git = "
https://github.com/pop-os/smithay-clipboard
" +tag = "pop-dnd-5" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/softbuffer?tag=cosmic-4.0
"] +git = "
https://github.com/pop-os/softbuffer
" +tag = "cosmic-4.0" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/window_clipboard.git?tag=pop-dnd-8
"] +git = "
https://github.com/pop-os/window_clipboard.git
" +tag = "pop-dnd-8" +replace-with = "vendored-sources" + +[source."
git+https://github.com/wash2/accesskit.git?branch=winit-0.29
"] +git = "
https://github.com/wash2/accesskit.git
" +branch = "winit-0.29" +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor"
1
0
0
0
Architecture specific change in rpms/cosmic-files.git
by githook-noreply@fedoraproject.org
29 Sep '24
29 Sep '24
The package rpms/cosmic-files.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/cosmic-files.git/commit/?id=1e38d6b…
. Change: +ExcludeArch: %{ix86} Thanks. Full change: ============ commit 1e38d6b4b962bb7656bf32a512a6a4aecd10bdae Author: Ryan Brue <ryanbrue.dev(a)gmail.com> Date: Sat Sep 28 18:33:16 2024 -0500 Import package (1.0.0~alpha.2) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3117024 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/cosmic-files-774ccf9.tar.gz +/vendor-774ccf9.tar.gz diff --git a/cosmic-files.spec b/cosmic-files.spec new file mode 100644 index 0000000..d0653ac --- /dev/null +++ b/cosmic-files.spec @@ -0,0 +1,112 @@ +ExcludeArch: %{ix86} +# Generated by rust2rpm 26 +%bcond_without check + + +%global crate cosmic-files + + +%global commit 774ccf955f59f24cf9493f9249d20788ad394d48 +%global shortcommit %{sub %{commit} 1 7} +%global commitdatestring 2024-09-24 09:21:55 -0600 +%global commitdate 20240924 + +Name: cosmic-files +Version: 1.0.0~alpha.2 +Release: %autorelease +Summary: Libcosmic file manager + +License: MIT AND GPL-3.0-only AND (MIT OR Apache-2.0 OR CC0-1.0) AND (Apache-2.0 OR MIT) AND BSD-2-Clause AND CC0-1.0 AND (MIT OR Apache-2.0 OR Zlib) AND MPL-2.0 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (CC0-1.0 OR MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Zlib OR Apache-2.0 OR MIT) AND GPL-2.0-only AND (MIT OR Zlib OR Apache-2.0) AND (MIT OR Apache-2.0) AND (Unlicense OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSL-1.0 AND BSD-3-Clause AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR BSL-1.0) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (BSD-3-Clause OR MIT OR Apache-2.0) AND ISC + +URL:
https://github.com/pop-os/cosmic-files
+ +Source0:
https://github.com/pop-os/cosmic-files/archive/%{commit}/cosmic-files-%{sho…
+# To create the below sources: +# * git clone
https://github.com/pop-os/cosmic-files
at the specified commit +# * cargo vendor > vendor-config-%%{shortcommit}.toml +# * tar -pczf vendor-%%{shortcommit}.tar.gz vendor +Source1: vendor-%{shortcommit}.tar.gz +# * mv vendor-config-%%{shortcommit}.toml .. +Source2: vendor-config-%{shortcommit}.toml + + +BuildRequires: cargo-rpm-macros >= 26 +BuildRequires: rustc +BuildRequires: lld +BuildRequires: cargo +BuildRequires: just +BuildRequires: glib2-devel +BuildRequires: libxkbcommon-devel +BuildRequires: desktop-file-utils + +Requires: gvfs +Requires: xdg-utils +Requires: hicolor-icon-theme + +%global _description %{expand: +%{summary}.} + +%description %{_description} + +%prep +%autosetup -n %{crate}-%{commit} -p1 -a1 +%cargo_prep -N +# Check if .cargo/config.toml exists +if [ -f .cargo/config.toml ]; then + # If it exists, append the contents of %%{SOURCE2} to .cargo/config.toml + cat %{SOURCE2} >> .cargo/config.toml + echo "Appended %{SOURCE2} to .cargo/config.toml" +else + # If it does not exist, append the contents of %%{SOURCE2} to .cargo/config + cat %{SOURCE2} >> .cargo/config + echo "Appended %{SOURCE2} to .cargo/config" +fi + +%build +# Set vergen environment variables +export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" +export VERGEN_GIT_SHA="%{commit}" +%cargo_build +%cargo_build -- --package cosmic-files-applet +%{cargo_license_summary} +%{cargo_license} > LICENSE.dependencies +%{cargo_vendor_manifest} +sed 's/\(.*\) (.*#\(.*\))/\1+git\2/' -i cargo-vendor.txt + +%install +# Set vergen environment variables +export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" +export VERGEN_GIT_SHA="%{commit}" +just rootdir=%{buildroot} prefix=%{_prefix} install + +# COSMIC is not a valid category pre-fedora 41 +%if %{defined fedora} && 0%{?fedora} < 41 +desktop-file-install \ +--remove-category COSMIC \ +--add-category X-COSMIC \ +--delete-original \ +--dir %{buildroot}%{_datadir}/applications \ +%{buildroot}%{_datadir}/applications/com.system76.CosmicFiles.desktop +%endif + +%check +desktop-file-validate %{buildroot}%{_datadir}/applications/com.system76.CosmicFiles.desktop +%if %{with check} +export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" +export VERGEN_GIT_SHA="%{commit}" +%cargo_test +%endif + +%files +%license LICENSE +%license LICENSE.dependencies +%license cargo-vendor.txt +%doc README.md +%{_bindir}/cosmic-files +%{_bindir}/cosmic-files-applet +%{_datadir}/applications/com.system76.CosmicFiles.desktop +%{_metainfodir}/com.system76.CosmicFiles.metainfo.xml +%{_datadir}/icons/hicolor/*/apps/com.system76.CosmicFiles.svg + +%changelog +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..a1e446f --- /dev/null +++ b/sources @@ -0,0 +1,2 @@ +SHA512 (cosmic-files-774ccf9.tar.gz) = 8cf165b34fdafdfa9bd6508a084337395f0cd8e87f82ea9367f7bb24755190f7bcb2c2e11b6e27055ccb0ce73df2535b3e661ded7c15a59d6514843b3bd15167 +SHA512 (vendor-774ccf9.tar.gz) = 17f76c142d67dae143c5d4595c4a79406b9278d0b39b738f4039610bef73f299ab469d75ef4f6f183f80f9f4c79fe8f0c010c775ddcb94480d466d98dd38e836 diff --git a/vendor-config-774ccf9.toml b/vendor-config-774ccf9.toml new file mode 100644 index 0000000..6e37777 --- /dev/null +++ b/vendor-config-774ccf9.toml @@ -0,0 +1,75 @@ +[source.crates-io] +replace-with = "vendored-sources" + +[source."
git+https://github.com/DioxusLabs/taffy?rev=7781c70
"] +git = "
https://github.com/DioxusLabs/taffy
" +rev = "7781c70" +replace-with = "vendored-sources" + +[source."
git+https://github.com/gfx-rs/wgpu?rev=20fda69
"] +git = "
https://github.com/gfx-rs/wgpu
" +rev = "20fda69" +replace-with = "vendored-sources" + +[source."
git+https://github.com/jackpot51/filetime
"] +git = "
https://github.com/jackpot51/filetime
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/jackpot51/rust-atomicwrites
"] +git = "
https://github.com/jackpot51/rust-atomicwrites
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/jackpot51/trash-rs.git?branch=cosmic
"] +git = "
https://github.com/jackpot51/trash-rs.git
" +branch = "cosmic" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-protocols?rev=c8d3a1c
"] +git = "
https://github.com/pop-os/cosmic-protocols
" +rev = "c8d3a1c" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-text.git
"] +git = "
https://github.com/pop-os/cosmic-text.git
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/fs_extra.git
"] +git = "
https://github.com/pop-os/fs_extra.git
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/glyphon.git?tag=v0.5.0
"] +git = "
https://github.com/pop-os/glyphon.git
" +tag = "v0.5.0" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/libcosmic.git
"] +git = "
https://github.com/pop-os/libcosmic.git
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/smithay-clipboard?tag=pop-dnd-5
"] +git = "
https://github.com/pop-os/smithay-clipboard
" +tag = "pop-dnd-5" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/softbuffer?tag=cosmic-4.0
"] +git = "
https://github.com/pop-os/softbuffer
" +tag = "cosmic-4.0" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/window_clipboard.git?tag=pop-dnd-8
"] +git = "
https://github.com/pop-os/window_clipboard.git
" +tag = "pop-dnd-8" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/winit.git?branch=winit-0.29
"] +git = "
https://github.com/pop-os/winit.git
" +branch = "winit-0.29" +replace-with = "vendored-sources" + +[source."
git+https://github.com/wash2/accesskit.git?branch=winit-0.29
"] +git = "
https://github.com/wash2/accesskit.git
" +branch = "winit-0.29" +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor"
1
0
0
0
Architecture specific change in rpms/cosmic-edit.git
by githook-noreply@fedoraproject.org
29 Sep '24
29 Sep '24
The package rpms/cosmic-edit.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/cosmic-edit.git/commit/?id=fc69e7e2…
. Change: +ExcludeArch: %{ix86} Thanks. Full change: ============ commit fc69e7e26dd20fa6107d11ba6bfe9fba4a7c3536 Author: Ryan Brue <ryanbrue.dev(a)gmail.com> Date: Sat Sep 28 18:24:28 2024 -0500 Initial import (1.0.0~alpha.2) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5a0208f --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/cosmic-edit-96b2a19.tar.gz +/vendor-96b2a19.tar.gz diff --git a/cosmic-edit.spec b/cosmic-edit.spec new file mode 100644 index 0000000..2947533 --- /dev/null +++ b/cosmic-edit.spec @@ -0,0 +1,107 @@ +ExcludeArch: %{ix86} +# Generated by rust2rpm 26 +%bcond_without check + +%global crate cosmic-edit + + +%global commit 96b2a190d8a93955e93de08471477492aafd46c3 +%global shortcommit %{sub %{commit} 1 7} +%global commitdatestring 2024-09-24 09:25:49 -0600 +%global commitdate 20240924 + +Name: cosmic-edit +Version: 1.0.0~alpha.2 +Release: %autorelease +Summary: Libcosmic text editor + +License: (0BSD OR MIT OR Apache-2.0) AND MIT AND (MIT OR Apache-2.0 OR CC0-1.0) AND (Zlib OR Apache-2.0 OR MIT) AND ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND MPL-2.0 AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND Zlib AND (CC0-1.0 OR MIT-0 OR Apache-2.0) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND Unicode-3.0 AND (BSD-3-Clause OR MIT OR Apache-2.0) AND (Apache-2.0 OR MIT) AND (Unlicense OR MIT) AND (MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND GPL-2.0-only AND ISC AND Apache-2.0 AND CC0-1.0 AND GPL-3.0-only AND BSL-1.0 AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Zlib OR Apache-2.0) AND (Apache-2.0 OR MIT) AND BSD-2-Clause AND BSD-3-Clause + +URL:
https://github.com/pop-os/cosmic-edit
+ +Source0:
https://github.com/pop-os/cosmic-edit/archive/%{commit}/cosmic-edit-%{short…
+# To create the below sources: +# * git clone
https://github.com/pop-os/cosmic-edit
at the specified commit +# * cargo vendor > vendor-config-%%{shortcommit}.toml +# * tar -pczf vendor-%%{shortcommit}.tar.gz vendor +Source1: vendor-%{shortcommit}.tar.gz +# * mv vendor-config-%%{shortcommit}.toml .. +Source2: vendor-config-%{shortcommit}.toml + + +BuildRequires: cargo-rpm-macros >= 26 +BuildRequires: rustc +BuildRequires: lld +BuildRequires: cargo +BuildRequires: just +BuildRequires: libxkbcommon-devel +BuildRequires: desktop-file-utils + +Requires: hicolor-icon-theme + +%global _description %{expand: +%{summary}.} + +%description %{_description} + +%prep +%autosetup -n %{crate}-%{commit} -p1 -a1 +%cargo_prep -N +# Check if .cargo/config.toml exists +if [ -f .cargo/config.toml ]; then + # If it exists, append the contents of %%{SOURCE2} to .cargo/config.toml + cat %{SOURCE2} >> .cargo/config.toml + echo "Appended %{SOURCE2} to .cargo/config.toml" +else + # If it does not exist, append the contents of %%{SOURCE2} to .cargo/config + cat %{SOURCE2} >> .cargo/config + echo "Appended %{SOURCE2} to .cargo/config" +fi + +%build +# Set vergen environment variables +export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" +export VERGEN_GIT_SHA="%{commit}" +%cargo_build +%{cargo_license_summary} +%{cargo_license} > LICENSE.dependencies +%{cargo_vendor_manifest} +sed 's/\(.*\) (.*#\(.*\))/\1+git\2/' -i cargo-vendor.txt + +%install +# Set vergen environment variables +export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" +export VERGEN_GIT_SHA="%{commit}" +just rootdir=%{buildroot} prefix=%{_prefix} install + +# COSMIC is not a valid category pre-fedora 41 +%if %{defined fedora} && 0%{?fedora} < 41 +desktop-file-install \ +--remove-category COSMIC \ +--add-category X-COSMIC \ +--delete-original \ +--dir %{buildroot}%{_datadir}/applications \ +%{buildroot}%{_datadir}/applications/com.system76.CosmicEdit.desktop +%endif + +%check +desktop-file-validate %{buildroot}%{_datadir}/applications/com.system76.CosmicEdit.desktop +%if %{with check} +# Set vergen environment variables +export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" +export VERGEN_GIT_SHA="%{commit}" +%cargo_test +%endif + +%files +%license LICENSE +%license LICENSE.dependencies +%license cargo-vendor.txt +%doc README.md +%{_bindir}/cosmic-edit +%{_datadir}/applications/com.system76.CosmicEdit.desktop +%{_metainfodir}/com.system76.CosmicEdit.metainfo.xml +%{_datadir}/icons/hicolor/*/apps/com.system76.CosmicEdit.svg + +%changelog +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..e4c2154 --- /dev/null +++ b/sources @@ -0,0 +1,2 @@ +SHA512 (cosmic-edit-96b2a19.tar.gz) = 59257124a7d84d91e4a76fdc62c41226da7bdc0ab9462ee103cb2c2ab6bd92e72c36797e43623a5d8998e840b4cb8da73d3821313d48591b6cd8327d15912dfd +SHA512 (vendor-96b2a19.tar.gz) = c5509d9a1b37ee436bc8470f540737c97004d759379f21265aa9241d150961457e820205e98b69c9ab2d25a368dab4869c3de8955c1ffa58e1f0b0e2ed51f1df diff --git a/vendor-config-96b2a19.toml b/vendor-config-96b2a19.toml new file mode 100644 index 0000000..fd275d7 --- /dev/null +++ b/vendor-config-96b2a19.toml @@ -0,0 +1,78 @@ +[source.crates-io] +replace-with = "vendored-sources" + +[source."
git+https://github.com/DioxusLabs/taffy?rev=7781c70
"] +git = "
https://github.com/DioxusLabs/taffy
" +rev = "7781c70" +replace-with = "vendored-sources" + +[source."
git+https://github.com/gfx-rs/wgpu?rev=20fda69
"] +git = "
https://github.com/gfx-rs/wgpu
" +rev = "20fda69" +replace-with = "vendored-sources" + +[source."
git+https://github.com/jackpot51/filetime
"] +git = "
https://github.com/jackpot51/filetime
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/jackpot51/rust-atomicwrites
"] +git = "
https://github.com/jackpot51/rust-atomicwrites
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/jackpot51/trash-rs.git?branch=cosmic
"] +git = "
https://github.com/jackpot51/trash-rs.git
" +branch = "cosmic" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-files.git
"] +git = "
https://github.com/pop-os/cosmic-files.git
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-syntax-theme.git
"] +git = "
https://github.com/pop-os/cosmic-syntax-theme.git
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/cosmic-text.git
"] +git = "
https://github.com/pop-os/cosmic-text.git
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/fs_extra.git
"] +git = "
https://github.com/pop-os/fs_extra.git
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/glyphon.git?tag=v0.5.0
"] +git = "
https://github.com/pop-os/glyphon.git
" +tag = "v0.5.0" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/libcosmic.git
"] +git = "
https://github.com/pop-os/libcosmic.git
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/smithay-clipboard?tag=pop-dnd-5
"] +git = "
https://github.com/pop-os/smithay-clipboard
" +tag = "pop-dnd-5" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/softbuffer?tag=cosmic-4.0
"] +git = "
https://github.com/pop-os/softbuffer
" +tag = "cosmic-4.0" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/window_clipboard.git?tag=pop-dnd-8
"] +git = "
https://github.com/pop-os/window_clipboard.git
" +tag = "pop-dnd-8" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/winit.git?branch=winit-0.29
"] +git = "
https://github.com/pop-os/winit.git
" +branch = "winit-0.29" +replace-with = "vendored-sources" + +[source."
git+https://github.com/wash2/accesskit.git?branch=winit-0.29
"] +git = "
https://github.com/wash2/accesskit.git
" +branch = "winit-0.29" +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor"
1
0
0
0
Architecture specific change in rpms/cosmic-bg.git
by githook-noreply@fedoraproject.org
29 Sep '24
29 Sep '24
The package rpms/cosmic-bg.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/cosmic-bg.git/commit/?id=e7d752e6df…
. Change: +ExcludeArch: %{ix86} Thanks. Full change: ============ commit e7d752e6df161f135447757def7391ba42813608 Author: Ryan Brue <ryanbrue.dev(a)gmail.com> Date: Sun Sep 29 00:37:12 2024 -0500 "Update to 1.0.0~alpha.2" diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..676e533 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/cosmic-bg-584f6b3.tar.gz +/vendor-584f6b3.tar.gz diff --git a/cosmic-bg.spec b/cosmic-bg.spec new file mode 100644 index 0000000..162982c --- /dev/null +++ b/cosmic-bg.spec @@ -0,0 +1,108 @@ +ExcludeArch: %{ix86} +# Generated by rust2rpm 26 +%bcond_without check + + +%global commit 584f6b3c0454396df25d36c6c2b59b018946e81e +%global shortcommit %{sub %{commit} 1 7} +%global commitdatestring 2024-09-07 00:22:07 +0200 +%global commitdate 20240907 + +Name: cosmic-bg +Version: 1.0.0~alpha.2 +Release: %autorelease +Summary: Background manager for the COSMIC Desktop Environment + +License: CC0-1.0 AND (Unlicense OR MIT) AND BSL-1.0 AND Apache-2.0 AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND MPL-2.0 AND ISC AND (Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR Zlib) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-3-Clause AND (0BSD OR MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MIT AND (Zlib OR Apache-2.0 OR MIT) AND (MIT OR Apache-2.0) + +URL:
https://github.com/pop-os/cosmic-bg
+ +Source0:
https://github.com/pop-os/cosmic-bg/archive/%{commit}/cosmic-bg-%{shortcomm…
+# To create the below sources: +# * git clone
https://github.com/pop-os/cosmic-bg
at the specified commit +# * cargo vendor > vendor-config-%%{shortcommit}.toml +# * tar -pczf vendor-%%{shortcommit}.tar.gz vendor +Source1: vendor-%{shortcommit}.tar.gz +# * mv vendor-config-%%{shortcommit}.toml .. +Source2: vendor-config-%{shortcommit}.toml + +BuildRequires: cargo-rpm-macros >= 25 +BuildRequires: rustc +BuildRequires: lld +BuildRequires: cargo +BuildRequires: wayland-devel +BuildRequires: libxkbcommon-devel +BuildRequires: just +BuildRequires: desktop-file-utils + +Requires: hicolor-icon-theme + +%global _description %{expand: +%{summary}.} + +%description %{_description} + +%prep +%autosetup -n cosmic-bg-%{commit} -p1 -a1 +%cargo_prep -N +# Check if .cargo/config.toml exists +if [ -f .cargo/config.toml ]; then + # If it exists, append the contents of %%{SOURCE2} to .cargo/config.toml + cat %{SOURCE2} >> .cargo/config.toml + echo "Appended %{SOURCE2} to .cargo/config.toml" +else + # If it does not exist, append the contents of %%{SOURCE2} to .cargo/config + cat %{SOURCE2} >> .cargo/config + echo "Appended %{SOURCE2} to .cargo/config" +fi + +%build +# Set vergen environment variables +export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" +export VERGEN_GIT_SHA="%{commit}" +%cargo_build +%{cargo_license_summary} +%{cargo_license} > LICENSE.dependencies +%{cargo_vendor_manifest} +sed 's/\(.*\) (.*#\(.*\))/\1+git\2/' -i cargo-vendor.txt + +%install +# Set vergen environment variables +export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" +export VERGEN_GIT_SHA="%{commit}" +just rootdir=%{buildroot} prefix=%{_prefix} install + +# COSMIC is not a valid category pre-fedora 41 +%if %{defined fedora} && 0%{?fedora} < 41 +desktop-file-install \ +--remove-category COSMIC \ +--add-category X-COSMIC \ +--delete-original \ +--dir %{buildroot}%{_datadir}/applications \ +%{buildroot}%{_datadir}/applications/com.system76.CosmicBackground.desktop +%endif + +%check +desktop-file-validate %{buildroot}%{_datadir}/applications/com.system76.CosmicBackground.desktop +%if %{with check} +# Set vergen environment variables +export VERGEN_GIT_COMMIT_DATE="date --utc '%{commitdatestring}'" +export VERGEN_GIT_SHA="%{commit}" +%cargo_test +%endif + +%files +%license LICENSE.md +%license LICENSE.dependencies +%license cargo-vendor.txt +%doc README.md +%{_bindir}/cosmic-bg +%{_datadir}/applications/com.system76.CosmicBackground.desktop +%{_datadir}/icons/hicolor/scalable/apps/com.system76.CosmicBackground.svg +%{_datadir}/icons/hicolor/symbolic/apps/com.system76.CosmicBackground-symbolic.svg +%dir %{_datadir}/cosmic/com.system76.CosmicBackground +%{_datadir}/cosmic/com.system76.CosmicBackground/* +%{_metainfodir}/com.system76.CosmicBackground.metainfo.xml + +%changelog +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..3bb2755 --- /dev/null +++ b/sources @@ -0,0 +1,2 @@ +SHA512 (cosmic-bg-584f6b3.tar.gz) = 43ef70c1f0df63be06ad2af901bfc2c6387d20473338d1cf7378e8ea40e9bcfb7ed0e39bfc86ff486e6d18b4ab22ef16c4f98be4bf6509474990e42410e3dc41 +SHA512 (vendor-584f6b3.tar.gz) = 919564b95020e8ec59158a3bd3f67ef138a37dadeb3f48488b48e6001861c1b3c2dab618a0c49c5f7265c23cba26dc5bac8564fee449a33dd37775160ae216b2 diff --git a/vendor-config-584f6b3.toml b/vendor-config-584f6b3.toml new file mode 100644 index 0000000..5ab6f78 --- /dev/null +++ b/vendor-config-584f6b3.toml @@ -0,0 +1,24 @@ +[source.crates-io] +replace-with = "vendored-sources" + +[source."
git+https://github.com/jackpot51/rust-atomicwrites
"] +git = "
https://github.com/jackpot51/rust-atomicwrites
" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os//libcosmic?rev=8c6f2c9ebc5c2c04fe168c2d941f8c…
"] +git = "
https://github.com/pop-os//libcosmic
" +rev = "8c6f2c9ebc5c2c04fe168c2d941f8c5a416b33bb" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/smithay-clipboard?tag=pop-dnd-5
"] +git = "
https://github.com/pop-os/smithay-clipboard
" +tag = "pop-dnd-5" +replace-with = "vendored-sources" + +[source."
git+https://github.com/pop-os/window_clipboard.git?tag=pop-dnd-8
"] +git = "
https://github.com/pop-os/window_clipboard.git
" +tag = "pop-dnd-8" +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor"
1
0
0
0
← Newer
1
2
3
4
5
6
...
25
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Results per page:
10
25
50
100
200