mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
Compare commits
228 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5200b6cb80 | |||
| 03ba9949f7 | |||
| b429a27e17 | |||
| 58ee4328e5 | |||
| 96d4484a46 | |||
| 3620ee415c | |||
| 86bc7e587d | |||
| 366ed5ca0f | |||
| 3e9fc11496 | |||
| f8244b064b | |||
| b7eb650fe1 | |||
| 9129de72df | |||
| c9258d6cbc | |||
| 097d8f175f | |||
| 997dfd25cc | |||
| 435302109a | |||
| 1833e61f36 | |||
| 96e5342c34 | |||
| b84fc205a5 | |||
| 7ce127cf2f | |||
| 66a3ea74f5 | |||
| 10883866c4 | |||
| 20914ddd53 | |||
| 6cbac53223 | |||
| 5d5db1d300 | |||
| f5bfe2e54c | |||
| 0ef29cc662 | |||
| 377796360b | |||
| 0eab9e789a | |||
| ff4b2ede34 | |||
| e1c7829c8e | |||
| 52f45de8ce | |||
| ae8e867367 | |||
| 25f6f73af2 | |||
| 48ee0a5293 | |||
| e019a5f520 | |||
| 377ed6c5dd | |||
| 82c9ae08a3 | |||
| bcf875ec0a | |||
| 31fd39ebe8 | |||
| bcbcefb384 | |||
| 07215f9d17 | |||
| 45fae30252 | |||
| 7a449881f4 | |||
| afeb40a232 | |||
| 5c086e1125 | |||
| 3e785abe2c | |||
| 51502e25f8 | |||
| 9b836a61d8 | |||
| 101378181f | |||
| 15a1342af0 | |||
| ec3d0d7ffb | |||
| d5f860fb48 | |||
| 7125f36ceb | |||
| d8d7d46dcf | |||
| 3e5902b7bf | |||
| 1164914344 | |||
| 32addde5be | |||
| d9a8dadc80 | |||
| eb983863ab | |||
| f7fff07146 | |||
| f55c9efd61 | |||
| 1f9bb8403e | |||
| b4431bd6d6 | |||
| 15e9844fb1 | |||
| 2f0271af01 | |||
| 0ae26a75b2 | |||
| 2e654b5cef | |||
| ea2a909fc3 | |||
| b456ae8c96 | |||
| f8d0626e52 | |||
| 23e057f894 | |||
| dfeb3a6c59 | |||
| 362974fb62 | |||
| 66a0d21036 | |||
| 317b5d6320 | |||
| 0ed63892d4 | |||
| 51b7709552 | |||
| e597504172 | |||
| c0993b8d0c | |||
| 393cc12799 | |||
| 7f4e67dfd1 | |||
| 1d57603040 | |||
| ebf2198140 | |||
| 7f86bf980b | |||
| 41d5c677d0 | |||
| ad0a11f22b | |||
| 00fe7b4d49 | |||
| 21649fb7d0 | |||
| 744c94c5e8 | |||
| ec189e4e98 | |||
| 254fc36655 | |||
| 03a6f29377 | |||
| 0e39629ce9 | |||
| 33989ebc6e | |||
| 6ac69e374d | |||
| da5e038ed5 | |||
| 8eced8efda | |||
| 86dc78befd | |||
| 97d68ad7d6 | |||
| 5f82f5a061 | |||
| 321361aa61 | |||
| 6d9ef71e87 | |||
| 42f5b97e53 | |||
| d0a8327d43 | |||
| 537c8ebaeb | |||
| 16c6b5b942 | |||
| d49edc079c | |||
| b070420f8b | |||
| fce65e9353 | |||
| 5a9b013971 | |||
| 14ee59f87e | |||
| fb46cfced4 | |||
| 545174ea13 | |||
| 0d3de18e97 | |||
| 1e33509802 | |||
| 862c66d396 | |||
| 2a333a8e2c | |||
| 7215a5c334 | |||
| 2cb6c81804 | |||
| d13681dbdf | |||
| 6ba9efd81b | |||
| 75db681b91 | |||
| 664471a2ea | |||
| 1e01da1a04 | |||
| 6155bc614b | |||
| 5a65a9e3af | |||
| 2f49d56432 | |||
| 8031726f67 | |||
| 635a4e39fe | |||
| c72a77d37a | |||
| 2de67da201 | |||
| c3cb260cc4 | |||
| b8271ba0bb | |||
| 19cbde6b66 | |||
| 6233fbdb0f | |||
| cd05d1d13b | |||
| f5f1d94f5b | |||
| cf70890cf4 | |||
| a199e468fd | |||
| 8f772d7932 | |||
| aad88b8732 | |||
| 43015cce05 | |||
| ebd6477f29 | |||
| 40a7b7a01f | |||
| a92633ee00 | |||
| 5ae9fb8bbe | |||
| 387128c70f | |||
| d954d1d328 | |||
| 9facbd0416 | |||
| 5837e58d69 | |||
| c8b071001d | |||
| ad27e24708 | |||
| a095e23c77 | |||
| e93f4c0353 | |||
| 3fd7f59d1c | |||
| a1578154a8 | |||
| 89039d30d1 | |||
| 7999aa079a | |||
| 54d99dc2f4 | |||
| 53b8a8ae88 | |||
| 6b8104357e | |||
| 6ce32713ff | |||
| 0ebcc84331 | |||
| 6c92f93312 | |||
| 04e9cd83ae | |||
| ac0d6bce65 | |||
| c3ae629000 | |||
| 7fb9304b21 | |||
| 1af36c9f95 | |||
| 8e17b8e873 | |||
| 5ac8415b57 | |||
| c7f0c76e8e | |||
| d3c2df2669 | |||
| b7ada8c3d0 | |||
| a9aaf5ba59 | |||
| 7b8e522229 | |||
| 04e4eceb59 | |||
| 08a682dc92 | |||
| 68f675cef2 | |||
| 717f77a8a1 | |||
| a746e1aad9 | |||
| 7344811b6b | |||
| 65ffdc4a41 | |||
| 06fd818770 | |||
| fdf801a6bd | |||
| f8cee98674 | |||
| f9b547f473 | |||
| 2d5f725e90 | |||
| e571974eaa | |||
| beb90495d4 | |||
| f0b26b903b | |||
| aeb0bd81d2 | |||
| d69f6dceaf | |||
| fc1f02e5c1 | |||
| b249a7a749 | |||
| 1dad366eec | |||
| 0f305b315e | |||
| 878dde03df | |||
| 476f5bbdaa | |||
| 25f0a4d467 | |||
| 3f3277abd6 | |||
| a999c7971d | |||
| 9fbc9f9d5a | |||
| ee68e3cd3d | |||
| 53d9dc94fb | |||
| 9e6733ac04 | |||
| 1cdf8d3732 | |||
| 6df9a0bbe8 | |||
| 8ecbab70e3 | |||
| 43a0265289 | |||
| a481f9331e | |||
| 907ae18f69 | |||
| 5fd62bd978 | |||
| d11ddded6c | |||
| 21c6e31497 | |||
| 0eae08641b | |||
| 8620e53c3b | |||
| 4905aea304 | |||
| fd4d3350df | |||
| cf42c6694b | |||
| 9f7b0ac534 | |||
| 7831dbd1cb | |||
| 57036075e1 | |||
| 58b6e7b9f0 | |||
| 0c8554d3b0 | |||
| b673c6dbb8 | |||
| a2449f79f2 |
@@ -6,13 +6,13 @@ on:
|
||||
paths:
|
||||
- anda/**
|
||||
branches:
|
||||
- frawhide
|
||||
- f41
|
||||
pull_request:
|
||||
branches:
|
||||
- frawhide
|
||||
- f41
|
||||
merge_group:
|
||||
branches:
|
||||
- frawhide
|
||||
- f41
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
|
||||
@@ -23,7 +23,7 @@ jobs:
|
||||
outputs:
|
||||
build_matrix: ${{ steps.generate_build_matrix.outputs.build_matrix }}
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:frawhide
|
||||
image: ghcr.io/terrapkg/builder:f41
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
steps:
|
||||
- name: Set workspace as safe
|
||||
@@ -40,11 +40,11 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
pkg: ${{ fromJson(needs.manifest.outputs.build_matrix) }}
|
||||
version: ["rawhide"]
|
||||
version: ["41"]
|
||||
fail-fast: false
|
||||
runs-on: ${{ matrix.pkg.arch == 'aarch64' && 'ARM64' || matrix.pkg.labels['large'] && 'x86-64-lg' || 'ubuntu-latest' }}
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:f${{ matrix.version}}
|
||||
image: ghcr.io/terrapkg/builder:f${{ matrix.version }}
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
||||
@@ -7,7 +7,7 @@ jobs:
|
||||
bootstrap:
|
||||
strategy:
|
||||
matrix:
|
||||
version: ["rawhide"]
|
||||
version: ["41"]
|
||||
arch: ["x86_64", "aarch64"]
|
||||
fail-fast: true
|
||||
runs-on: ${{ matrix.arch == 'aarch64' && 'ARM64' || 'ubuntu-latest' }}
|
||||
@@ -16,7 +16,7 @@ jobs:
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
steps:
|
||||
- name: Install repositories
|
||||
run: dnf5 install -y --setopt=install_weak_deps=False mock curl wget git-core openssl-devel cargo podman fuse-overlayfs
|
||||
run: dnf5 install -y --setopt=install_weak_deps=False mock curl wget git-core openssl-devel-engine cargo podman fuse-overlayfs
|
||||
|
||||
- name: Install Anda
|
||||
run: cargo install anda
|
||||
|
||||
@@ -44,7 +44,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
pkg: ${{ fromJson(needs.parse.outputs.pkgs) }}
|
||||
version: ["rawhide"]
|
||||
version: ["41"]
|
||||
arch: ${{ fromJson(needs.parse.outputs.arch) }}
|
||||
fail-fast: false
|
||||
runs-on: ${{ matrix.arch == 'aarch64' && 'ARM64' || needs.parse.outputs.builder && needs.parse.outputs.builder || 'ubuntu-latest' }}
|
||||
@@ -71,7 +71,7 @@ jobs:
|
||||
cp -v mock-configs/terra.tpl /etc/mock/templates/terra.tpl
|
||||
|
||||
- name: Build with Andaman
|
||||
run: anda build anda/${{ matrix.pkg }}pkg --package rpm -c mock-configs/terra-${{ matrix.version }}-${{ matrix.arch }}.pkg
|
||||
run: anda build anda/${{ matrix.pkg }}pkg --package rpm -c mock-configs/terra-${{ matrix.version }}-${{ matrix.arch }}.cfg
|
||||
|
||||
- name: Generating artifact name
|
||||
id: art
|
||||
|
||||
@@ -11,7 +11,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
pkg: ${{ fromJson(inputs.packages) }}
|
||||
version: ["rawhide"]
|
||||
version: ["41"]
|
||||
fail-fast: false
|
||||
runs-on: ${{ matrix.pkg.arch == 'aarch64' && 'ARM64' || 'ubuntu-latest' }}
|
||||
container:
|
||||
@@ -37,7 +37,7 @@ jobs:
|
||||
cp -v mock-configs/terra.tpl /etc/mock/templates/terra.tpl
|
||||
|
||||
- name: Build with Andaman
|
||||
run: anda build ${{ matrix.pkg.pkg }} --package rpm -c mock-configs/terra-${{ matrix.version }}-${{ matrix.pkg.arch }}.pkg
|
||||
run: anda build ${{ matrix.pkg.pkg }} --package rpm -c mock-configs/terra-${{ matrix.version }}-${{ matrix.pkg.arch }}.cfg
|
||||
|
||||
- name: Generating artifact name
|
||||
id: art
|
||||
|
||||
@@ -4,8 +4,8 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- frawhide
|
||||
- f41
|
||||
- f40
|
||||
- f39
|
||||
paths:
|
||||
- comps.xml
|
||||
workflow_dispatch:
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
anda-build/
|
||||
**/*.tar*
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/armcord/.*\\.so
|
||||
|
||||
Name: armcord-bin
|
||||
Version: 3.2.7
|
||||
Version: 3.3.0
|
||||
Release: 1%?dist
|
||||
License: OSL-3.0
|
||||
Summary: Custom lightweight Discord client designed to enhance your experience
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%define debug_package %nil
|
||||
|
||||
Name: armcord
|
||||
Version: 3.2.7
|
||||
Version: 3.3.0
|
||||
Release: 1%?dist
|
||||
License: OSL-3.0
|
||||
Summary: Custom lightweight Discord client designed to enhance your experience
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-canary-openasar
|
||||
Version: 0.0.460
|
||||
Version: 0.0.471
|
||||
Release: 1%?dist
|
||||
Summary: A snappier Discord rewrite with features like further customization and theming
|
||||
License: MIT AND https://discord.com/terms
|
||||
@@ -34,6 +34,7 @@ sed "s@Discord Canary@Discord Canary OpenAsar@g" a > discord-canary.desktop
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
mkdir -p %{buildroot}%{_datadir}/discord-canary-openasar
|
||||
cp -rv * %{buildroot}%{_datadir}/discord-canary-openasar
|
||||
mkdir -p %{buildroot}%{_datadir}/applications/
|
||||
@@ -42,9 +43,11 @@ ln -s %_datadir/discord-canary-openasar/discord-canary.desktop %{buildroot}%{_da
|
||||
ln -s %_datadir/discord-canary-openasar/discord.png %{buildroot}%{_datadir}/pixmaps/discord-canary-openasar.png
|
||||
cp -v %{SOURCE1} %{buildroot}%{_datadir}/discord-canary-openasar/resources/app.asar
|
||||
chmod o+w %{buildroot}%{_datadir}/discord-canary-openasar/resources -R
|
||||
ln -s %_datadir/discord-canary-openasar/DiscordCanary %buildroot%_bindir/discord-canary-openasar
|
||||
|
||||
|
||||
%files
|
||||
%_bindir/discord-canary-openasar
|
||||
%{_datadir}/discord-canary-openasar/
|
||||
%{_datadir}/applications/discord-canary-openasar.desktop
|
||||
%{_datadir}/pixmaps/discord-canary-openasar.png
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-canary
|
||||
Version: 0.0.460
|
||||
Version: 0.0.471
|
||||
Release: 1%?dist
|
||||
Summary: Free Voice and Text Chat for Gamers
|
||||
URL: discord.com
|
||||
@@ -16,9 +16,8 @@ Requires: glibc GConf2 nspr >= 4.13 nss >= 3.27 libX11 >= 1.6 libXtst >= 1
|
||||
Group: Applications/Internet
|
||||
ExclusiveArch: x86_64
|
||||
%description
|
||||
Imagine a place where you can belong to a school club, a gaming group, or a
|
||||
worldwide art community. Where just you and a handful of friends can spend time
|
||||
together. A place that makes it easy to talk every day and hang out more often.
|
||||
All-in-one voice and text chat for gamers that's free, secure, and works on
|
||||
both your desktop and phone.
|
||||
|
||||
%prep
|
||||
%autosetup -n DiscordCanary
|
||||
@@ -27,14 +26,17 @@ together. A place that makes it easy to talk every day and hang out more often.
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
mkdir -p %{buildroot}%{_datadir}/discord-canary
|
||||
cp -rv * %{buildroot}%{_datadir}/discord-canary
|
||||
mkdir -p %{buildroot}%{_datadir}/applications/
|
||||
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
||||
ln -s %_datadir/discord-canary/discord-canary.desktop %{buildroot}%{_datadir}/applications/
|
||||
ln -s %_datadir/discord-canary/discord.png %{buildroot}%{_datadir}/pixmaps/discord-canary.png
|
||||
ln -s %_datadir/discord/DiscordCanary %buildroot%_bindir/discord-canary
|
||||
|
||||
%files
|
||||
%_bindir/discord-canary
|
||||
%{_datadir}/discord-canary/
|
||||
%{_datadir}/applications/discord-canary.desktop
|
||||
%{_datadir}/pixmaps/discord-canary.png
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-openasar
|
||||
Version: 0.0.61
|
||||
Version: 0.0.64
|
||||
Release: 1%?dist
|
||||
Summary: A snappier Discord rewrite with features like further customization and theming
|
||||
License: MIT AND https://discord.com/terms
|
||||
@@ -34,6 +34,7 @@ sed "s@Discord@Discord OpenAsar@g" a > discord.desktop
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
mkdir -p %{buildroot}%{_datadir}/discord-openasar
|
||||
cp -rv * %{buildroot}%{_datadir}/discord-openasar
|
||||
mkdir -p %{buildroot}%{_datadir}/applications/
|
||||
@@ -42,9 +43,11 @@ ln -s %_datadir/discord-openasar/discord.desktop %{buildroot}%{_datadir}/applica
|
||||
ln -s %_datadir/discord-openasar/discord.png %{buildroot}%{_datadir}/pixmaps/discord-openasar.png
|
||||
cp -v %{SOURCE1} %{buildroot}%{_datadir}/discord-openasar/resources/app.asar
|
||||
chmod o+w %{buildroot}%{_datadir}/discord-openasar/resources -R
|
||||
ln -s %_datadir/discord-openasar/Discord %buildroot%_bindir/discord-openasar
|
||||
|
||||
|
||||
%files
|
||||
%_bindir/discord-openasar
|
||||
%{_datadir}/discord-openasar/
|
||||
%{_datadir}/applications/discord-openasar.desktop
|
||||
%{_datadir}/pixmaps/discord-openasar.png
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-ptb-openasar
|
||||
Version: 0.0.95
|
||||
Version: 0.0.101
|
||||
Release: 1%?dist
|
||||
Summary: A snappier Discord rewrite with features like further customization and theming
|
||||
License: MIT AND https://discord.com/terms
|
||||
@@ -34,6 +34,7 @@ sed "s@Discord Ptb@Discord Ptb OpenAsar@g" a > discord-ptb.desktop
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
mkdir -p %{buildroot}%{_datadir}/discord-ptb-openasar
|
||||
cp -rv * %{buildroot}%{_datadir}/discord-ptb-openasar
|
||||
mkdir -p %{buildroot}%{_datadir}/applications/
|
||||
@@ -44,9 +45,11 @@ install discord-ptb.desktop %{buildroot}%{_datadir}/applications/discord-ptb-ope
|
||||
install discord.png %{buildroot}%{_datadir}/pixmaps/discord-ptb-openasar.png
|
||||
cp -v %{SOURCE1} %{buildroot}%{_datadir}/discord-ptb-openasar/resources/app.asar
|
||||
chmod o+w %{buildroot}%{_datadir}/discord-ptb-openasar/resources -R
|
||||
ln -s %_datadir/discord-ptb-openasar/Discord %buildroot%_bindir/discord-ptb-openasar
|
||||
|
||||
|
||||
%files
|
||||
%_bindir/discord-ptb-openasar
|
||||
%{_datadir}/discord-ptb-openasar/
|
||||
%{_datadir}/applications/discord-ptb-openasar.desktop
|
||||
%{_datadir}/pixmaps/discord-ptb-openasar.png
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-ptb
|
||||
Version: 0.0.95
|
||||
Version: 0.0.101
|
||||
Release: 1%?dist
|
||||
Summary: Free Voice and Text Chat for Gamers.
|
||||
URL: https://discord.com
|
||||
@@ -20,9 +20,8 @@ Requires: libXtst >= 1.2
|
||||
Group: Applications/Internet
|
||||
ExclusiveArch: x86_64
|
||||
%description
|
||||
Imagine a place where you can belong to a school club, a gaming group, or a
|
||||
worldwide art community. Where just you and a handful of friends can spend time
|
||||
together. A place that makes it easy to talk every day and hang out more often.
|
||||
All-in-one voice and text chat for gamers that's free, secure, and works on
|
||||
both your desktop and phone.
|
||||
|
||||
%prep
|
||||
%autosetup -n DiscordPTB
|
||||
@@ -31,14 +30,17 @@ together. A place that makes it easy to talk every day and hang out more often.
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
mkdir -p %{buildroot}%{_datadir}/discord-ptb
|
||||
cp -rv * %{buildroot}%{_datadir}/discord-ptb
|
||||
mkdir -p %{buildroot}%{_datadir}/applications/
|
||||
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
||||
ln -s %_datadir/discord-ptb/discord-ptb.desktop %{buildroot}%{_datadir}/applications/
|
||||
ln -s %_datadir/discord-ptb/discord.png %{buildroot}%{_datadir}/pixmaps/discord-ptb.png
|
||||
ln -s %_datadir/discord-ptb/Discord %buildroot%_bindir/discord-ptb
|
||||
|
||||
%files
|
||||
%_bindir/discord-ptb
|
||||
%{_datadir}/discord-ptb/
|
||||
%{_datadir}/applications/discord-ptb.desktop
|
||||
%{_datadir}/pixmaps/discord-ptb.png
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord
|
||||
Version: 0.0.61
|
||||
Version: 0.0.64
|
||||
Release: 1%?dist
|
||||
Summary: Free Voice and Text Chat for Gamers
|
||||
URL: https://discord.com
|
||||
@@ -20,9 +20,8 @@ Requires: libXtst >= 1.2
|
||||
Group: Applications/Internet
|
||||
ExclusiveArch: x86_64
|
||||
%description
|
||||
Imagine a place where you can belong to a school club, a gaming group, or a
|
||||
worldwide art community. Where just you and a handful of friends can spend time
|
||||
together. A place that makes it easy to talk every day and hang out more often.
|
||||
All-in-one voice and text chat for gamers that's free, secure, and works on
|
||||
both your desktop and phone.
|
||||
|
||||
%prep
|
||||
%autosetup -n Discord
|
||||
@@ -31,14 +30,17 @@ together. A place that makes it easy to talk every day and hang out more often.
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
mkdir -p %{buildroot}%{_datadir}/discord
|
||||
cp -rv * %{buildroot}%{_datadir}/discord
|
||||
mkdir -p %{buildroot}%{_datadir}/applications/
|
||||
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
||||
ln -s %_datadir/discord/discord.desktop %{buildroot}%{_datadir}/applications/discord.desktop
|
||||
ln -s %_datadir/discord/discord.png %{buildroot}%{_datadir}/pixmaps/discord.png
|
||||
ln -s %_datadir/discord/Discord %buildroot%_bindir/discord
|
||||
|
||||
%files
|
||||
%_bindir/discord
|
||||
%{_datadir}/discord/
|
||||
%{_datadir}/applications/discord.desktop
|
||||
%{_datadir}/pixmaps/discord.png
|
||||
|
||||
@@ -2,4 +2,7 @@ project pkg {
|
||||
rpm {
|
||||
spec = "envision.spec"
|
||||
}
|
||||
labels {
|
||||
nightly = 1
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global commit ce805c6b729ae4681fe83edc9e17ba19f437b195
|
||||
%global commit_date 20240726
|
||||
%global commit 56f2e0b0d6378fcf31d43d349c1e5ff57b6eb985
|
||||
%global commit_date 20240729
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
Name: envision
|
||||
@@ -9,7 +9,7 @@ Summary: UI for building, configuring and running Monado, the open source
|
||||
License: AGPL-3.0-or-later
|
||||
URL: https://gitlab.com/gabmus/envision/
|
||||
Source0: %url/-/archive/%commit/envision-%commit.tar.gz
|
||||
BuildRequires: meson ninja-build cargo
|
||||
BuildRequires: meson ninja-build cargo
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.66
|
||||
BuildRequires: pkgconfig(gio-2.0) >= 2.66
|
||||
BuildRequires: pkgconfig(gtk4) >= 4.10.0
|
||||
@@ -17,6 +17,7 @@ BuildRequires: pkgconfig(vte-2.91-gtk4) >= 0.72.0
|
||||
BuildRequires: pkgconfig(libadwaita-1)
|
||||
BuildRequires: pkgconfig(libusb-1.0)
|
||||
BuildRequires: openssl-devel-engine
|
||||
BuildRequires: openxr-devel
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: glib2-devel
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: feishin
|
||||
Version: 0.7.1
|
||||
Version: 0.7.3
|
||||
Release: 1%?dist
|
||||
Summary: A modern self-hosted music player
|
||||
License: GPL-3.0
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
%global pure_protobuf_version 2.0.0
|
||||
|
||||
Name: komikku
|
||||
Version: 1.51.1
|
||||
Version: 1.55.0
|
||||
%forgemeta
|
||||
Release: %autorelease
|
||||
Release: 1%?dist
|
||||
Summary: A manga reader for GNOME
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "ruffle-nightly.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
%global ver 2024-08-25
|
||||
%global goodver %(echo %ver | sed 's/-//g')
|
||||
%global __brp_mangle_shebangs %{nil}
|
||||
%bcond_without mold
|
||||
|
||||
%global _description %{expand:
|
||||
Ruffle is an Adobe Flash Player emulator written in the Rust programming
|
||||
language. Ruffle targets both the desktop and the web using WebAssembly.}
|
||||
|
||||
Name: ruffle-nightly
|
||||
Version: %goodver
|
||||
Release: 1%?dist
|
||||
Summary: A Flash Player emulator written in Rust
|
||||
License: Apache-2.0 OR MIT
|
||||
URL: https://ruffle.rs/
|
||||
Source0: https://github.com/ruffle-rs/ruffle/archive/refs/tags/nightly-%ver.tar.gz
|
||||
Provides: ruffle
|
||||
BuildRequires: cargo-rpm-macros >= 24
|
||||
BuildRequires: anda-srpm-macros
|
||||
BuildRequires: gcc-c++ cmake java
|
||||
BuildRequires: java-latest-openjdk-headless
|
||||
BuildRequires: pkgconfig(alsa)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(libudev)
|
||||
BuildRequires: pkgconfig(xcb-cursor)
|
||||
Packager: madonuko <mado@fyralabs.com>
|
||||
|
||||
%description %_description
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE.md
|
||||
%license LICENSE.dependencies
|
||||
%_bindir/ruffle_desktop
|
||||
%_datadir/applications/ruffle_desktop.desktop
|
||||
%_iconsdir/hicolor/scalable/apps/ruffle_desktop.svg
|
||||
|
||||
%prep
|
||||
%autosetup -n ruffle-nightly-%ver
|
||||
%cargo_prep_online
|
||||
|
||||
cat<<EOF > ruffle_desktop.desktop
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Name=Ruffle Desktop
|
||||
Comment=%summary
|
||||
Exec=%_bindir/ruffle_desktop
|
||||
Icon=ruffle_desktop
|
||||
Terminal=false
|
||||
StartupNotify=false
|
||||
Categories=Application;
|
||||
MimeType=application/x-shockwave-flash;
|
||||
EOF
|
||||
|
||||
%build
|
||||
%{cargo_license_online} > LICENSE.dependencies
|
||||
|
||||
%install
|
||||
cd desktop
|
||||
%cargo_install
|
||||
install -Dm644 assets/icon.svg %buildroot%_iconsdir/hicolor/scalable/apps/ruffle_desktop.svg
|
||||
install -Dm644 ../ruffle_desktop.desktop %buildroot%_datadir/applications/ruffle_desktop.desktop
|
||||
|
||||
%changelog
|
||||
* Mon Jul 29 2024 madonuko <mado@fyralabs.com>
|
||||
- Initial package
|
||||
@@ -0,0 +1,13 @@
|
||||
let releases = "https://api.github.com/repos/ruffle-rs/ruffle/releases".get().json_arr();
|
||||
for release in releases {
|
||||
let tag = release.tag_name;
|
||||
if !tag.starts_with("nightly-") {
|
||||
continue;
|
||||
}
|
||||
tag.crop(8); // remove "nightly-"
|
||||
rpm.global("ver", tag);
|
||||
break;
|
||||
}
|
||||
if rpm.changed() {
|
||||
rpm.release();
|
||||
}
|
||||
@@ -1,19 +1,23 @@
|
||||
%define debug_package %nil
|
||||
%global _build_id_links none
|
||||
|
||||
# do not strip binaries
|
||||
%define __strip /bin/true
|
||||
|
||||
# Exclude private libraries
|
||||
%global __requires_exclude libffmpeg.so
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: voicevox
|
||||
Version: 0.19.2
|
||||
Release: 4%?dist
|
||||
Version: 0.20.0
|
||||
Release: 1%?dist
|
||||
Summary: Free Japanese text-to-speech editor
|
||||
License: LGPL-3.0
|
||||
URL: https://voicevox.hiroshiba.jp
|
||||
Source0: https://github.com/VOICEVOX/voicevox/releases/download/%version/VOICEVOX.AppImage.7z.001
|
||||
Source1: https://github.com/VOICEVOX/voicevox/releases/download/%version/VOICEVOX.AppImage.7z.002
|
||||
Source2: https://github.com/VOICEVOX/voicevox/releases/download/%version/VOICEVOX.AppImage.7z.003
|
||||
Packager: madonuko <mado@fyralabs.com>
|
||||
BuildRequires: p7zip-plugins
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
@@ -28,7 +32,7 @@ Summary: Documentation files for voicevox (Japanese)
|
||||
|
||||
%prep
|
||||
cat<<EOF > voicevox.sh
|
||||
#!/bin/sh
|
||||
#!/usr/bin/sh
|
||||
/usr/share/voicevox/VOICEVOX.AppImage
|
||||
EOF
|
||||
7z x %SOURCE0
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "youtube-music.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("th-ch/youtube-music"));
|
||||
@@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Name=YouTube Music
|
||||
Exec=/usr/bin/youtube-music --no-sandbox %U
|
||||
TryExec=/usr/bin/youtube-music
|
||||
Icon=youtube-music
|
||||
Terminal=false
|
||||
Type=Application
|
||||
StartupWMClass=YouTube Music
|
||||
Comment=YouTube Music Desktop App - including custom plugins
|
||||
Categories=AudioVideo;
|
||||
@@ -0,0 +1,91 @@
|
||||
%define debug_package %nil
|
||||
|
||||
|
||||
# macro shorthand for calling pnpm
|
||||
%global pnpm npx pnpm@%{pnpm_version}
|
||||
|
||||
Name: youtube-music
|
||||
Version: 3.5.1
|
||||
Release: 1%{?dist}
|
||||
Summary: YouTube Music Desktop App bundled with custom plugins (and built-in ad blocker / downloader)
|
||||
Source1: youtube-music.desktop
|
||||
License: MIT
|
||||
URL: https://github.com/th-ch/youtube-music
|
||||
Packager: Cappy Ishihara <cappy@fyralabs.com>
|
||||
|
||||
# For some unknown reason, PNPM is not working with Node.js 22 on Aarch64 devices.
|
||||
# todo: investigate why
|
||||
#ExclusiveArch: x86_64
|
||||
|
||||
BuildRequires: git-core gcc make
|
||||
# Required for usocket native module built with node-gyp
|
||||
BuildRequires: python3 gcc-c++
|
||||
|
||||
%description
|
||||
YouTube Music Desktop App bundled with custom plugins (and built-in ad blocker / downloader)
|
||||
|
||||
|
||||
%prep
|
||||
rm -rf ./*
|
||||
git clone --recursive %{url} .
|
||||
git checkout v%{version}
|
||||
|
||||
|
||||
|
||||
%build
|
||||
# Vendor PNPM directly instead of installing from packages, because we need to somehow force PNPM to use Node.js 20
|
||||
# We are not using Fedora's PNPM because we need to use `pnpm env`, which PNPM does not support when not vendored directly from upstream
|
||||
curl -fsSL https://get.pnpm.io/install.sh | sh -
|
||||
source /builddir/.bashrc
|
||||
pnpm env use --global 20
|
||||
pnpm install
|
||||
pnpm build
|
||||
pnpm electron-builder --linux --dir
|
||||
|
||||
|
||||
|
||||
%install
|
||||
|
||||
# Install assets
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/icons/hicolor/1024x1024/apps
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/icons/hicolor/scalable/apps
|
||||
|
||||
# Copy icon files
|
||||
ls -laR pack
|
||||
%ifarch aarch64
|
||||
pushd pack/linux-arm64-unpacked/resources/app.asar.unpacked/assets
|
||||
%else
|
||||
pushd pack/linux-unpacked/resources/app.asar.unpacked/assets
|
||||
%endif
|
||||
install -m 0644 youtube-music.png %{buildroot}%{_datadir}/icons/hicolor/1024x1024/apps/youtube-music.png
|
||||
install -m 0644 youtube-music.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/youtube-music.svg
|
||||
install -m 0644 youtube-music-tray-paused.png %{buildroot}%{_datadir}/icons/hicolor/1024x1024/apps/youtube-music-tray-paused.png
|
||||
install -m 0644 youtube-music-tray.png %{buildroot}%{_datadir}/icons/hicolor/1024x1024/apps/youtube-music-tray.png
|
||||
popd
|
||||
|
||||
# Actually install the app
|
||||
|
||||
install -d -m 0755 %{buildroot}%{_datadir}/youtube-music
|
||||
# Delete unpacked asar files before copying
|
||||
rm -rfv pack/linux*-unpacked/resources/app.asar.unpacked
|
||||
cp -rv pack/linux*-unpacked/* %{buildroot}%{_datadir}/youtube-music
|
||||
install -d -m 0755 %{buildroot}%{_bindir}
|
||||
ln -svf %{_datadir}/youtube-music/youtube-music %{buildroot}%{_bindir}/youtube-music
|
||||
|
||||
# Install desktop file
|
||||
install -D -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/applications/youtube-music.desktop
|
||||
|
||||
%files
|
||||
%license license
|
||||
%doc README.md
|
||||
%doc docs
|
||||
%{_bindir}/youtube-music
|
||||
%{_datadir}/youtube-music
|
||||
%{_datadir}/icons/hicolor/*/apps/youtube-music*
|
||||
%{_datadir}/applications/youtube-music.desktop
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Aug 03 2024 Cappy Ishihara <cappy@cappuchino.xyz>
|
||||
- Initial Release
|
||||
@@ -5,8 +5,8 @@
|
||||
|
||||
Name: elementary-files
|
||||
Summary: File manager from elementary
|
||||
Version: 6.5.3
|
||||
Release: 1%{?dist}
|
||||
Version: 7.0.0
|
||||
Release: 1%?dist
|
||||
License: GPL-3.0
|
||||
|
||||
URL: https://github.com/elementary/%{srcname}
|
||||
@@ -42,6 +42,8 @@ BuildRequires: pkgconfig(pango) >= 1.1.2
|
||||
BuildRequires: pkgconfig(plank) >= 0.10.9
|
||||
BuildRequires: pkgconfig(sqlite3)
|
||||
BuildRequires: pkgconfig(systemd) >= 206
|
||||
BuildRequires: pkgconfig(libportal)
|
||||
BuildRequires: pkgconfig(libportal-gtk3)
|
||||
|
||||
Requires: contractor
|
||||
Requires: file-roller
|
||||
@@ -76,6 +78,7 @@ This package contains the development headers.
|
||||
|
||||
|
||||
%build
|
||||
CFLAGS="$CFLAGS -Wno-implicit-function-declaration"
|
||||
%meson -Dwith-zeitgeist=disabled
|
||||
%meson_build
|
||||
|
||||
@@ -85,11 +88,6 @@ This package contains the development headers.
|
||||
|
||||
%find_lang %{appname}
|
||||
|
||||
%fdupes %buildroot%_datadir/icons/hicolor/
|
||||
|
||||
# remove unused pixmaps
|
||||
rm -r %{buildroot}/%{_datadir}/pixmaps
|
||||
|
||||
# install file-roller contracts
|
||||
mkdir -p %{buildroot}/%{_datadir}/contractor
|
||||
cp -pav %{SOURCE1} %{buildroot}/%{_datadir}/contractor/
|
||||
@@ -120,7 +118,7 @@ appstream-util validate-relax --nonet \
|
||||
%{_bindir}/%{appname}-pkexec
|
||||
|
||||
%{_libdir}/%{appname}/
|
||||
%{_libdir}/libpantheon-files-core.so.6*
|
||||
%{_libdir}/libpantheon-files-core.so.*
|
||||
|
||||
%{_datadir}/applications/%{appname}.desktop
|
||||
%{_datadir}/contractor/*.contract
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
Name: elementary-onboarding
|
||||
Summary: Onboarding app for new users
|
||||
Version: 7.2.0
|
||||
Release: 2%{?dist}
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/onboarding
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
Name: elementary-videos
|
||||
Summary: Video player and library app from elementary
|
||||
Version: 8.0.0
|
||||
Version: 8.0.1
|
||||
Release: 1%?dist
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
Name: gala
|
||||
Summary: Gala window manager
|
||||
Version: 7.1.3
|
||||
Release: 2%{?dist}
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
License: GPL-3.0-or-later
|
||||
Epoch: 1
|
||||
|
||||
|
||||
@@ -3,38 +3,31 @@
|
||||
%global srcname switchboard-plug-about
|
||||
|
||||
%global plug_type hardware
|
||||
%global plug_name about
|
||||
%global plug_rdnn io.elementary.switchboard.about
|
||||
%global plug_name system
|
||||
%global plug_rdnn io.elementary.settings.system
|
||||
|
||||
Name: switchboard-plug-about
|
||||
Summary: Switchboard System Information plug
|
||||
Version: 6.2.0
|
||||
Release: 3%{?dist}
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/switchboard-plug-about
|
||||
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||
|
||||
Patch0: https://github.com/elementary/switchboard-plug-about/compare/6.2.0..72d7da13da2824812908276751fd3024db2dd0f8.patch
|
||||
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: meson
|
||||
BuildRequires: vala >= 0.22.0
|
||||
BuildRequires: fdupes
|
||||
|
||||
BuildRequires: pkgconfig(appstream) >= 0.12.10
|
||||
BuildRequires: pkgconfig(fwupd)
|
||||
BuildRequires: pkgconfig(gio-2.0)
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.64.0
|
||||
BuildRequires: pkgconfig(gobject-2.0)
|
||||
BuildRequires: pkgconfig(granite)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(libgtop-2.0)
|
||||
BuildRequires: pkgconfig(libhandy-1)
|
||||
BuildRequires: pkgconfig(switchboard-2.0)
|
||||
BuildRequires: pkgconfig(gudev-1.0)
|
||||
BuildRequires: pkgconfig(switchboard-3)
|
||||
BuildRequires: pkgconfig(udisks2)
|
||||
BuildRequires: pkgconfig(gudev-1.0)
|
||||
BuildRequires: pkgconfig(packagekit-glib2)
|
||||
BuildRequires: pkgconfig(polkit-gobject-1)
|
||||
|
||||
Requires: switchboard%{?_isa}
|
||||
Supplements: switchboard%{?_isa}
|
||||
@@ -57,24 +50,25 @@ This switchboard plug shows system information.
|
||||
%install
|
||||
%meson_install
|
||||
%fdupes %buildroot%_datadir/locale/
|
||||
%find_lang %{plug_name}-plug
|
||||
%find_lang %{plug_rdnn}
|
||||
|
||||
# remove the specified stock icon from appdata (invalid in libappstream-glib)
|
||||
sed -i '/icon type="stock"/d' %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
|
||||
mv %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml{.in,}
|
||||
# remove the specified stock icon from metainfo (invalid in libappstream-glib)
|
||||
sed -i '/icon type="stock"/d' %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet \
|
||||
%{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
|
||||
%{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
%files -f %{plug_name}-plug.lang
|
||||
%files -f %{plug_rdnn}.lang
|
||||
%doc README.md
|
||||
%license COPYING
|
||||
|
||||
%{_libdir}/switchboard/%{plug_type}/lib%{plug_name}.so
|
||||
%{_libdir}/switchboard-3/%{plug_type}/lib%{plug_name}.so
|
||||
|
||||
%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
|
||||
%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
%changelog
|
||||
|
||||
+10
-15
@@ -4,12 +4,12 @@
|
||||
|
||||
%global plug_type personal
|
||||
%global plug_name applications
|
||||
%global plug_rdnn io.elementary.switchboard.%{plug_name}
|
||||
%global plug_rdnn io.elementary.settings.%{plug_name}
|
||||
|
||||
Name: switchboard-plug-applications
|
||||
Summary: Switchboard Applications plug
|
||||
Version: 7.0.1
|
||||
Release: 1%{?dist}
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/switchboard-plug-applications
|
||||
@@ -18,16 +18,11 @@ Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: meson
|
||||
BuildRequires: vala >= 0.22.0
|
||||
BuildRequires: fdupes
|
||||
|
||||
BuildRequires: pkgconfig(flatpak) >= 1.1.2
|
||||
BuildRequires: pkgconfig(flatpak)
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.34
|
||||
BuildRequires: pkgconfig(granite)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(libhandy-1)
|
||||
BuildRequires: pkgconfig(switchboard-2.0)
|
||||
BuildRequires: pkgconfig(libhandy-1)
|
||||
BuildRequires: pkgconfig(switchboard-3)
|
||||
|
||||
Requires: switchboard%{?_isa}
|
||||
Supplements: switchboard%{?_isa}
|
||||
@@ -49,10 +44,10 @@ that allows the user to manage application settings.
|
||||
%install
|
||||
%meson_install
|
||||
%fdupes %buildroot%_datadir/locale/
|
||||
mv %buildroot%_datadir/metainfo/%plug_rdnn.appdata.xml %buildroot%_datadir/metainfo/%plug_rdnn.metainfo.xml || true
|
||||
%find_lang %{plug_name}-plug
|
||||
mv %buildroot%_datadir/metainfo/%plug_rdnn.metainfo.xml %buildroot%_datadir/metainfo/%plug_rdnn.metainfo.xml || true
|
||||
%find_lang %{plug_rdnn}
|
||||
|
||||
# remove the specified stock icon from appdata (invalid in libappstream-glib)
|
||||
# remove the specified stock icon from metainfo (invalid in libappstream-glib)
|
||||
sed -i '/icon type="stock"/d' %{buildroot}%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
@@ -61,11 +56,11 @@ appstream-util validate-relax --nonet \
|
||||
%{buildroot}%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
%files -f %{plug_name}-plug.lang
|
||||
%files -f %{plug_rdnn}.lang
|
||||
%doc README.md
|
||||
%license COPYING
|
||||
|
||||
%{_libdir}/switchboard/%{plug_type}/lib%{plug_name}.so
|
||||
%{_libdir}/switchboard-3/%{plug_type}/lib%{plug_name}.so
|
||||
|
||||
%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
%{_datadir}/icons/hicolor/*/apps/io.elementary.settings.applications.svg
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
|
||||
Name: switchboard-plug-bluetooth
|
||||
Summary: Switchboard Bluetooth plug
|
||||
Version: 2.3.6
|
||||
Release: 1%{?dist}
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/switchboard-plug-bluetooth
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
|
||||
%global plug_type system
|
||||
%global plug_name datetime
|
||||
%global plug_rdnn io.elementary.switchboard.datetime
|
||||
%global plug_rdnn io.elementary.settings.datetime
|
||||
|
||||
Name: switchboard-plug-datetime
|
||||
Summary: Switchboard Date & Time Plug
|
||||
Version: 2.2.0
|
||||
Release: 1%{?dist}
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/switchboard-plug-datetime
|
||||
@@ -18,11 +18,8 @@ Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: meson
|
||||
BuildRequires: vala
|
||||
BuildRequires: fdupes
|
||||
|
||||
BuildRequires: pkgconfig(granite)
|
||||
BuildRequires: pkgconfig(libadwaita-1)
|
||||
BuildRequires: switchboard-devel
|
||||
|
||||
Requires: switchboard%{?_isa}
|
||||
@@ -44,24 +41,24 @@ Supplements: switchboard%{?_isa}
|
||||
%install
|
||||
%meson_install
|
||||
%fdupes %buildroot%_datadir/locale/
|
||||
%find_lang %{plug_name}-plug
|
||||
%find_lang %{plug_rdnn}
|
||||
|
||||
# remove the specified stock icon from appdata (invalid in libappstream-glib)
|
||||
sed -i '/icon type="stock"/d' %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
|
||||
# remove the specified stock icon from metainfo (invalid in libappstream-glib)
|
||||
sed -i '/icon type="stock"/d' %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet \
|
||||
%{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
|
||||
%{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
%files -f %{plug_name}-plug.lang
|
||||
%files -f %{plug_rdnn}.lang
|
||||
%doc README.md
|
||||
%license COPYING
|
||||
|
||||
%{_libdir}/switchboard/%{plug_type}/lib%{plug_name}.so
|
||||
%{_libdir}/switchboard-3/%{plug_type}/lib%{plug_name}.so
|
||||
|
||||
%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
|
||||
%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
|
||||
Name: switchboard-plug-display
|
||||
Summary: Switchboard Display plug
|
||||
Version: 7.0.0
|
||||
Release: 1%{?dist}
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/switchboard-plug-display
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
|
||||
%global plug_type hardware
|
||||
%global plug_name keyboard
|
||||
%global plug_rdnn io.elementary.switchboard.keyboard
|
||||
%global plug_rdnn io.elementary.settings.keyboard
|
||||
|
||||
Name: switchboard-plug-keyboard
|
||||
Summary: Switchboard Keyboard plug
|
||||
Version: 3.2.1
|
||||
Release: 1%{?dist}
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/switchboard-plug-keyboard
|
||||
@@ -21,14 +21,8 @@ BuildRequires: meson
|
||||
BuildRequires: vala >= 0.22.0
|
||||
BuildRequires: fdupes
|
||||
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.32
|
||||
BuildRequires: pkgconfig(granite) >= 6.0.0
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(ibus-1.0) >= 1.5.19
|
||||
BuildRequires: pkgconfig(libgnomekbd)
|
||||
BuildRequires: pkgconfig(libgnomekbdui)
|
||||
BuildRequires: pkgconfig(libhandy-1) >= 0.90.0
|
||||
BuildRequires: pkgconfig(switchboard-2.0)
|
||||
BuildRequires: pkgconfig(switchboard-3)
|
||||
BuildRequires: pkgconfig(xkeyboard-config)
|
||||
|
||||
Requires: gala
|
||||
@@ -54,7 +48,7 @@ same time. Keyboard shortcuts are also part of this plug.
|
||||
%install
|
||||
%meson_install
|
||||
%fdupes %buildroot%_datadir/locale/
|
||||
%find_lang %{plug_name}-plug
|
||||
%find_lang %{plug_rdnn}
|
||||
|
||||
|
||||
%check
|
||||
@@ -62,12 +56,12 @@ appstream-util validate-relax --nonet \
|
||||
%{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
%files -f %{plug_name}-plug.lang
|
||||
%files -f %{plug_rdnn}.lang
|
||||
%doc README.md
|
||||
%license COPYING
|
||||
|
||||
%{_libdir}/switchboard/%{plug_type}/lib%{plug_name}.so
|
||||
%{_datadir}/glib-2.0/schemas/keyboard.gschema.xml
|
||||
%{_libdir}/switchboard-3/%{plug_type}/lib%{plug_name}.so
|
||||
%{_datadir}/glib-2.0/schemas/%{plug_rdnn}.gschema.xml
|
||||
%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
|
||||
%global plug_type personal
|
||||
%global plug_name locale
|
||||
%global plug_rdnn io.elementary.switchboard.locale
|
||||
%global plug_rdnn io.elementary.settings.locale
|
||||
|
||||
Name: switchboard-plug-locale
|
||||
Summary: Switchboard Locale Plug
|
||||
Version: 2.5.9
|
||||
Release: 2%?dist
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
License: LGPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/%name
|
||||
@@ -23,9 +23,7 @@ BuildRequires: fdupes
|
||||
|
||||
BuildRequires: pkgconfig(accountsservice)
|
||||
BuildRequires: pkgconfig(ibus-1.0)
|
||||
BuildRequires: pkgconfig(gnome-desktop-3.0)
|
||||
BuildRequires: pkgconfig(granite)
|
||||
BuildRequires: polkit-devel
|
||||
BuildRequires: pkgconfig(gnome-desktop-4)
|
||||
BuildRequires: switchboard-devel
|
||||
|
||||
Requires: switchboard%?_isa
|
||||
@@ -46,7 +44,7 @@ Supplements: switchboard%?_isa
|
||||
%install
|
||||
%meson_install
|
||||
%fdupes %buildroot%_datadir/locale/
|
||||
%find_lang %plug_name-plug
|
||||
%find_lang %plug_rdnn
|
||||
|
||||
|
||||
%check
|
||||
@@ -54,13 +52,13 @@ appstream-util validate-relax --nonet \
|
||||
%buildroot/%_datadir/metainfo/%plug_rdnn.appdata.xml
|
||||
|
||||
|
||||
%files -f %plug_name-plug.lang
|
||||
%files -f %plug_rdnn.lang
|
||||
%doc README.md
|
||||
%license COPYING
|
||||
|
||||
%_libdir/switchboard/%plug_type/lib%plug_name-plug.so
|
||||
%_libdir/switchboard/personal/pantheon-locale/languagelist
|
||||
%_libdir/switchboard/personal/pantheon-locale/packages_blacklist
|
||||
%_libdir/switchboard-3/%plug_type/lib%plug_rdnn.so
|
||||
%_libdir/switchboard-3/%plug_type/pantheon-locale/languagelist
|
||||
%_libdir/switchboard-3/%plug_type/pantheon-locale/packages_blocklist
|
||||
%_datadir/glib-2.0/schemas/%plug_rdnn.gschema.xml
|
||||
%_datadir/polkit-1/actions/%plug_rdnn.policy
|
||||
|
||||
|
||||
+10
-14
@@ -4,12 +4,12 @@
|
||||
|
||||
%global plug_type hardware
|
||||
%global plug_name mouse-touchpad
|
||||
%global plug_rdnn io.elementary.switchboard.mouse-touchpad
|
||||
%global plug_rdnn io.elementary.settings.mouse-touchpad
|
||||
|
||||
Name: switchboard-plug-mouse-touchpad
|
||||
Summary: Switchboard Mouse and Touchpad plug
|
||||
Version: 7.0.0
|
||||
Release: 1%{?dist}
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/switchboard-plug-mouse-touchpad
|
||||
@@ -18,13 +18,9 @@ Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: meson
|
||||
BuildRequires: vala >= 0.22.0
|
||||
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.32
|
||||
BuildRequires: pkgconfig(granite)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(switchboard-2.0)
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(switchboard-3)
|
||||
|
||||
Requires: switchboard%{?_isa}
|
||||
Supplements: switchboard%{?_isa}
|
||||
@@ -45,21 +41,21 @@ A switchboard plug to configure the behavior of mice and touchpads.
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%find_lang %{plug_name}-plug
|
||||
%find_lang %{plug_rdnn}
|
||||
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet \
|
||||
%{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
|
||||
%{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
%files -f %{plug_name}-plug.lang
|
||||
%files -f %{plug_rdnn}.lang
|
||||
%doc README.md
|
||||
%license COPYING
|
||||
|
||||
%{_libdir}/switchboard/%{plug_type}/lib%{plug_name}.so
|
||||
%{_libdir}/switchboard-3/%{plug_type}/lib%{plug_name}.so
|
||||
|
||||
%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
|
||||
%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
%changelog
|
||||
|
||||
+11
-15
@@ -4,12 +4,12 @@
|
||||
|
||||
%global plug_type network
|
||||
%global plug_name networking
|
||||
%global plug_rdnn io.elementary.switchboard.network
|
||||
%global plug_rdnn io.elementary.settings.network
|
||||
|
||||
Name: switchboard-plug-networking
|
||||
Summary: Switchboard Networking plug
|
||||
Version: 2.5.0
|
||||
Release: 1%{?dist}
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/switchboard-plug-network
|
||||
@@ -22,13 +22,9 @@ BuildRequires: vala >= 0.22.0
|
||||
BuildRequires: fdupes
|
||||
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.32
|
||||
BuildRequires: pkgconfig(granite)
|
||||
BuildRequires: pkgconfig(gthread-2.0)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(libnm) >= 1.20.6
|
||||
BuildRequires: pkgconfig(libnma)
|
||||
BuildRequires: pkgconfig(polkit-gobject-1)
|
||||
BuildRequires: pkgconfig(switchboard-2.0)
|
||||
BuildRequires: pkgconfig(libnm)
|
||||
BuildRequires: pkgconfig(libnma-gtk4)
|
||||
BuildRequires: pkgconfig(switchboard-3)
|
||||
|
||||
Requires: network-manager-applet%{?_isa}
|
||||
Requires: switchboard%{?_isa}
|
||||
@@ -52,21 +48,21 @@ A switchboard plug for configuring available networks.
|
||||
%install
|
||||
%meson_install
|
||||
%fdupes %buildroot%_datadir/locale/
|
||||
%find_lang %{plug_name}-plug
|
||||
%find_lang %{plug_rdnn}
|
||||
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet \
|
||||
%{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
|
||||
%{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
%files -f %{plug_name}-plug.lang
|
||||
%files -f %{plug_rdnn}.lang
|
||||
%doc README.md
|
||||
%license COPYING
|
||||
|
||||
%{_libdir}/switchboard/%{plug_type}/lib%{plug_name}.so
|
||||
%{_libdir}/switchboard-3/%{plug_type}/libnetwork.so
|
||||
|
||||
%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
|
||||
%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
%changelog
|
||||
|
||||
+10
-13
@@ -4,12 +4,12 @@
|
||||
|
||||
%global plug_type personal
|
||||
%global plug_name notifications
|
||||
%global plug_rdnn io.elementary.switchboard.notifications
|
||||
%global plug_rdnn io.elementary.settings.notifications
|
||||
|
||||
Name: switchboard-plug-notifications
|
||||
Summary: Switchboard Notifications plug
|
||||
Version: 2.2.0
|
||||
Release: 2%{?dist}
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/switchboard-plug-notifications
|
||||
@@ -18,13 +18,10 @@ Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: meson
|
||||
BuildRequires: vala >= 0.22.0
|
||||
BuildRequires: fdupes
|
||||
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.32
|
||||
BuildRequires: pkgconfig(granite)
|
||||
BuildRequires: pkgconfig(gtk+-3.0) >= 3.12
|
||||
BuildRequires: pkgconfig(switchboard-2.0)
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(switchboard-3)
|
||||
|
||||
Requires: gala%{?_isa}
|
||||
Requires: switchboard%{?_isa}
|
||||
@@ -50,21 +47,21 @@ related to the Notifications plugin for Gala.
|
||||
%install
|
||||
%meson_install
|
||||
%fdupes %buildroot%_datadir/locale/
|
||||
%find_lang %{plug_name}-plug
|
||||
%find_lang %{plug_rdnn}
|
||||
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet \
|
||||
%{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
|
||||
%{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
%files -f %{plug_name}-plug.lang
|
||||
%files -f %{plug_rdnn}.lang
|
||||
%doc README.md
|
||||
%license COPYING
|
||||
|
||||
%{_libdir}/switchboard/%{plug_type}/lib%{plug_name}.so
|
||||
%{_libdir}/switchboard-3/%{plug_type}/lib%{plug_name}.so
|
||||
|
||||
%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
|
||||
%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
%changelog
|
||||
|
||||
+2
-2
@@ -6,8 +6,8 @@
|
||||
|
||||
Name: switchboard-plug-onlineaccounts
|
||||
Summary: Switchboard Online Accounts plug
|
||||
Version: 6.5.3
|
||||
Release: 1%{?dist}
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/switchboard-plug-onlineaccounts
|
||||
|
||||
+14
-17
@@ -3,13 +3,13 @@
|
||||
%global srcname switchboard-plug-parental-controls
|
||||
|
||||
%global plug_type system
|
||||
%global plug_name parental-controls
|
||||
%global plug_rdnn io.elementary.switchboard.parental-controls
|
||||
%global plug_name screentime-limits
|
||||
%global plug_rdnn io.elementary.settings.screentime-limits
|
||||
|
||||
Name: switchboard-plug-parental-controls
|
||||
Summary: Switchboard Screen Time & Limits Plug
|
||||
Version: 6.0.1
|
||||
Release: 2%?dist
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/%name
|
||||
@@ -25,12 +25,8 @@ BuildRequires: pkgconfig(accountsservice)
|
||||
BuildRequires: pkgconfig(dbus-1)
|
||||
BuildRequires: pkgconfig(flatpak)
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(granite)
|
||||
BuildRequires: pkgconfig(libhandy-1) >= 0.90.0
|
||||
BuildRequires: pkgconfig(malcontent-0)
|
||||
BuildRequires: pkgconfig(polkit-gobject-1)
|
||||
BuildRequires: polkit-devel
|
||||
BuildRequires: switchboard-devel
|
||||
BuildRequires: rpm_macro(_unitdir)
|
||||
|
||||
Requires: switchboard%{?_isa}
|
||||
Supplements: switchboard%{?_isa}
|
||||
@@ -51,24 +47,25 @@ Supplements: switchboard%{?_isa}
|
||||
%install
|
||||
%meson_install
|
||||
%fdupes %buildroot%_datadir/locale/
|
||||
%find_lang %{plug_name}-plug
|
||||
%find_lang %{plug_rdnn}
|
||||
|
||||
# remove the specified stock icon from appdata (invalid in libappstream-glib)
|
||||
sed -i '/icon type="stock"/d' %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
|
||||
sed -i '/icon type="stock"/d' %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet \
|
||||
%{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
|
||||
%{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
%files -f %{plug_name}-plug.lang
|
||||
%files -f %{plug_rdnn}.lang
|
||||
%doc README.md
|
||||
%license COPYING
|
||||
|
||||
%{_libdir}/switchboard/%{plug_type}/lib%{plug_name}.so
|
||||
%{_libdir}/switchboard-3/%{plug_type}/lib%{plug_name}.so
|
||||
|
||||
%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
|
||||
%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
%_iconsdir/hicolor/*/apps/%plug_rdnn.svg
|
||||
|
||||
%_sysconfdir/pantheon-parental-controls/daemon.conf
|
||||
%_bindir/pantheon-parental-controls-daemon
|
||||
@@ -76,8 +73,8 @@ appstream-util validate-relax --nonet \
|
||||
%_datadir/applications/pantheon-parental-controls-client.desktop
|
||||
%_datadir/dbus-1/system-services/org.pantheon.ParentalControls.service
|
||||
%_datadir/dbus-1/system.d/org.pantheon.ParentalControls.conf
|
||||
%_datadir/polkit-1/actions/io.elementary.switchboard.screentime-limits.policy
|
||||
/usr/lib/systemd/system/pantheon-parental-controls.service
|
||||
%_datadir/polkit-1/actions/%plug_rdnn.policy
|
||||
%_unitdir/pantheon-parental-controls.service
|
||||
|
||||
%changelog
|
||||
* Tue Jun 13 2023 windowsboy111 <windowsboy111@fyralabs.com> - 6.0.1-1
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
|
||||
%global plug_type hardware
|
||||
%global plug_name power
|
||||
%global plug_rdnn io.elementary.switchboard.power
|
||||
%global plug_rdnn io.elementary.settings.power
|
||||
|
||||
Name: switchboard-plug-power
|
||||
Summary: Switchboard Power Plug
|
||||
Version: 2.7.0
|
||||
Release: 2%?dist
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
License: GPL-2.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/%name
|
||||
@@ -18,13 +18,10 @@ Source0: %url/archive/%version/%srcname-%version.tar.gz
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: meson
|
||||
BuildRequires: vala
|
||||
BuildRequires: fdupes
|
||||
|
||||
BuildRequires: pkgconfig(dbus-1)
|
||||
BuildRequires: pkgconfig(granite)
|
||||
BuildRequires: pkgconfig(polkit-gobject-1)
|
||||
BuildRequires: polkit-devel
|
||||
BuildRequires: switchboard-devel
|
||||
|
||||
Requires: switchboard%?_isa
|
||||
@@ -45,24 +42,24 @@ Supplements: switchboard%?_isa
|
||||
%install
|
||||
%meson_install
|
||||
%fdupes %buildroot%_datadir/locale/
|
||||
%find_lang %plug_name-plug
|
||||
%find_lang %plug_rdnn
|
||||
|
||||
# remove the specified stock icon from appdata (invalid in libappstream-glib)
|
||||
sed -i '/icon type="stock"/d' %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
|
||||
# remove the specified stock icon from metainfo (invalid in libappstream-glib)
|
||||
sed -i '/icon type="stock"/d' %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet \
|
||||
%buildroot/%_datadir/metainfo/%plug_rdnn.appdata.xml
|
||||
%buildroot/%_datadir/metainfo/%plug_rdnn.metainfo.xml
|
||||
|
||||
|
||||
%files -f %plug_name-plug.lang
|
||||
%files -f %plug_rdnn.lang
|
||||
%doc README.md
|
||||
%license COPYING
|
||||
|
||||
%_libdir/switchboard/%plug_type/lib%plug_name.so
|
||||
%_libdir/switchboard-3/%plug_type/lib%plug_name.so
|
||||
|
||||
%_datadir/metainfo/%plug_rdnn.appdata.xml
|
||||
%_datadir/metainfo/%plug_rdnn.metainfo.xml
|
||||
|
||||
%_libexecdir/io.elementary.logind.helper
|
||||
%_datadir/dbus-1/system-services/io.elementary.logind.helper.service
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
|
||||
Name: switchboard-plug-printers
|
||||
Summary: Switchboard Printers Plug
|
||||
Version: 2.2.1
|
||||
Release: 2%?dist
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/switchboard-plug-printers
|
||||
|
||||
+11
-11
@@ -4,12 +4,12 @@
|
||||
|
||||
%global plug_type personal
|
||||
%global plug_name security-privacy
|
||||
%global plug_rdnn io.elementary.switchboard.security-privacy
|
||||
%global plug_rdnn io.elementary.settings.security-privacy
|
||||
|
||||
Name: switchboard-plug-security-privacy
|
||||
Summary: Switchboard Security & Privacy Plug
|
||||
Version: 7.1.0
|
||||
Release: 1%{?dist}
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/%name
|
||||
@@ -17,11 +17,11 @@ Source0: %url/archive/%version/%srcname-%version.tar.gz
|
||||
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: vala
|
||||
#BuildRequires: vala
|
||||
|
||||
BuildRequires: granite-devel
|
||||
BuildRequires: pkgconfig(polkit-gobject-1)
|
||||
BuildRequires: pkgconfig(switchboard-2.0)
|
||||
#BuildRequires: granite-devel
|
||||
#BuildRequires: pkgconfig(polkit-gobject-1)
|
||||
BuildRequires: pkgconfig(switchboard-3)
|
||||
BuildRequires: pkgconfig(zeitgeist-2.0)
|
||||
BuildRequires: meson >= 0.46.1
|
||||
BuildRequires: polkit-devel
|
||||
@@ -46,7 +46,7 @@ Supplements: switchboard%{?_isa}
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%find_lang %{plug_name}-plug
|
||||
%find_lang %{plug_rdnn}
|
||||
|
||||
|
||||
%check
|
||||
@@ -54,15 +54,15 @@ appstream-util validate-relax --nonet \
|
||||
%{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
%files -f %{plug_name}-plug.lang
|
||||
%files -f %{plug_rdnn}.lang
|
||||
%doc README.md
|
||||
%license COPYING
|
||||
|
||||
%{_libdir}/switchboard/%{plug_type}/lib%{plug_name}.so
|
||||
%{_libdir}/switchboard-3/%{plug_type}/lib%{plug_name}.so
|
||||
|
||||
%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
%_libdir/switchboard/personal/security-privacy-plug-helper
|
||||
%_libdir/switchboard-3/personal/security-privacy-plug-helper
|
||||
%_datadir/glib-2.0/schemas/%plug_rdnn.gschema.xml
|
||||
%_datadir/polkit-1/actions/%plug_rdnn.policy
|
||||
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
|
||||
%global plug_type network
|
||||
%global plug_name sharing
|
||||
%global plug_rdnn io.elementary.switchboard.sharing
|
||||
%global plug_rdnn io.elementary.settings.sharing
|
||||
|
||||
Name: switchboard-plug-sharing
|
||||
Summary: Switchboard Sharing Plug
|
||||
Version: 2.1.6
|
||||
Release: 1%{?dist}
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
License: GPL-3.0
|
||||
|
||||
URL: https://github.com/elementary/switchboard-plug-sharing
|
||||
@@ -18,12 +18,9 @@ Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: meson
|
||||
BuildRequires: vala >= 0.22.0
|
||||
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.32
|
||||
BuildRequires: pkgconfig(granite)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(switchboard-2.0)
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(switchboard-3)
|
||||
|
||||
Requires: rygel
|
||||
Requires: switchboard%{?_isa}
|
||||
@@ -46,21 +43,21 @@ Configure the sharing of system services.
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%find_lang %{plug_name}-plug
|
||||
%find_lang %{plug_rdnn}
|
||||
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet \
|
||||
%{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
|
||||
%{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
%files -f %{plug_name}-plug.lang
|
||||
%files -f %{plug_rdnn}.lang
|
||||
%doc README.md
|
||||
%license COPYING
|
||||
|
||||
%{_libdir}/switchboard/%{plug_type}/lib%{plug_name}.so
|
||||
%{_libdir}/switchboard-3/%{plug_type}/lib%{plug_rdnn}.so
|
||||
|
||||
%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
|
||||
%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
|
||||
%global plug_type system
|
||||
%global plug_name sound
|
||||
%global plug_rdnn io.elementary.switchboard.sound
|
||||
%global plug_rdnn io.elementary.settings.sound
|
||||
|
||||
Name: switchboard-plug-sound
|
||||
Summary: Switchboard Sound Plug
|
||||
Version: 2.3.3
|
||||
Release: 1%{?dist}
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
License: LGPL-2.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/switchboard-plug-sound
|
||||
@@ -18,18 +18,12 @@ Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: meson
|
||||
BuildRequires: vala >= 0.34.1
|
||||
BuildRequires: fdupes
|
||||
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(granite)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(libcanberra)
|
||||
BuildRequires: pkgconfig(libcanberra-gtk)
|
||||
BuildRequires: pkgconfig(libpulse)
|
||||
BuildRequires: pkgconfig(libhandy-1)
|
||||
BuildRequires: pkgconfig(libpulse-mainloop-glib)
|
||||
BuildRequires: pkgconfig(switchboard-2.0)
|
||||
BuildRequires: pkgconfig(switchboard-3)
|
||||
|
||||
Requires: switchboard%{?_isa}
|
||||
Supplements: switchboard%{?_isa}
|
||||
@@ -50,9 +44,9 @@ A sound plug for Switchboard.
|
||||
%install
|
||||
%meson_install
|
||||
%fdupes %buildroot%_datadir/locale/
|
||||
%find_lang %{plug_name}-plug
|
||||
%find_lang %{plug_rdnn}
|
||||
|
||||
# remove the specified stock icon from appdata (invalid in libappstream-glib)
|
||||
# remove the specified stock icon from metainfo (invalid in libappstream-glib)
|
||||
sed -i '/icon type="stock"/d' %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
@@ -60,13 +54,14 @@ sed -i '/icon type="stock"/d' %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.met
|
||||
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
|
||||
|
||||
%files -f %{plug_name}-plug.lang
|
||||
%files -f %{plug_rdnn}.lang
|
||||
%doc README.md
|
||||
%license COPYING
|
||||
|
||||
%{_libdir}/switchboard/%{plug_type}/lib%{plug_name}.so
|
||||
%{_libdir}/switchboard-3/%{plug_type}/lib%{plug_rdnn}.so
|
||||
|
||||
%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
||||
%{_datadir}/glib-2.0/schemas/%{plug_name}.gschema.xml
|
||||
|
||||
|
||||
%changelog
|
||||
|
||||
+10
-17
@@ -4,12 +4,12 @@
|
||||
|
||||
%global plug_type system
|
||||
%global plug_name useraccounts
|
||||
%global plug_rdnn io.elementary.switchboard.useraccounts
|
||||
%global plug_rdnn io.elementary.settings.useraccounts
|
||||
|
||||
Name: switchboard-plug-useraccounts
|
||||
Summary: Switchboard User Accounts Plug
|
||||
Version: 2.4.3
|
||||
Release: 2%?dist
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
License: LGPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/%name
|
||||
@@ -18,18 +18,11 @@ Source0: %url/archive/%version/%srcname-%version.tar.gz
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: meson >= 0.46.1
|
||||
BuildRequires: vala
|
||||
BuildRequires: fdupes
|
||||
|
||||
BuildRequires: pkgconfig(accountsservice)
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: gnome-desktop3-devel
|
||||
BuildRequires: pkgconfig(granite) >= 0.5
|
||||
BuildRequires: pkgconfig(libhandy-1) >= 0.90.0
|
||||
BuildRequires: pkgconfig(polkit-gobject-1)
|
||||
BuildRequires: pkgconfig(gnome-desktop-4)
|
||||
BuildRequires: pkgconfig(pwquality)
|
||||
BuildRequires: polkit-devel
|
||||
BuildRequires: gtk3-devel
|
||||
BuildRequires: switchboard-devel
|
||||
|
||||
Requires: switchboard%?_isa
|
||||
@@ -50,21 +43,21 @@ Supplements: switchboard%?_isa
|
||||
%install
|
||||
%meson_install
|
||||
%fdupes %buildroot%_datadir/locale/
|
||||
%find_lang %plug_name-plug
|
||||
%find_lang %plug_rdnn
|
||||
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet \
|
||||
%buildroot/%_datadir/metainfo/%plug_rdnn.appdata.xml
|
||||
%buildroot/%_datadir/metainfo/%plug_rdnn.metainfo.xml
|
||||
|
||||
|
||||
%files -f %plug_name-plug.lang
|
||||
%files -f %plug_rdnn.lang
|
||||
%doc README.md
|
||||
%license COPYING
|
||||
|
||||
%_libdir/switchboard/%plug_type/lib%plug_name.so
|
||||
%_libdir/switchboard/system/pantheon-useraccounts/guest-session-toggle
|
||||
%_datadir/metainfo/%plug_rdnn.appdata.xml
|
||||
%_libdir/switchboard-3/%plug_type/lib%plug_name.so
|
||||
%_libdir/switchboard-3/system/useraccounts/guest-session-toggle
|
||||
%_datadir/metainfo/%plug_rdnn.metainfo.xml
|
||||
%_datadir/polkit-1/actions/%plug_rdnn.policy
|
||||
|
||||
|
||||
|
||||
+2
-2
@@ -5,8 +5,8 @@
|
||||
|
||||
Name: wingpanel-applications-menu
|
||||
Summary: Lightweight and stylish app launcher
|
||||
Version: 2.11.1
|
||||
Release: 2%?dist
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/applications-menu
|
||||
|
||||
+2
-2
@@ -5,8 +5,8 @@
|
||||
|
||||
Name: wingpanel-indicator-bluetooth
|
||||
Summary: Bluetooth Indicator for wingpanel
|
||||
Version: 7.0.1
|
||||
Release: 1%{?dist}
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
License: LGPL-2.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/%{name}
|
||||
|
||||
+2
-2
@@ -5,8 +5,8 @@
|
||||
|
||||
Name: wingpanel-indicator-network
|
||||
Summary: Network Indicator for wingpanel
|
||||
Version: 7.1.0
|
||||
Release: 1%{?dist}
|
||||
Version: 7.1.1
|
||||
Release: 1%?dist
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/wingpanel-indicator-network
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
|
||||
Name: wingpanel-indicator-power
|
||||
Summary: Power indicator for wingpanel
|
||||
Version: 6.2.1
|
||||
Release: 1%{?dist}
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
License: GPL-2.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/wingpanel-indicator-power
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
|
||||
Name: wingpanel-indicator-sound
|
||||
Summary: Sound Indicator for wingpanel
|
||||
Version: 7.0.0
|
||||
Release: 1%{?dist}
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
License: GPL-3.0
|
||||
|
||||
URL: https://github.com/elementary/%{name}
|
||||
|
||||
@@ -6,8 +6,8 @@ launcher.}
|
||||
|
||||
Name: wingpanel
|
||||
Summary: Stylish top panel
|
||||
Version: 3.0.5
|
||||
Release: 1%{?dist}
|
||||
Version: 8.0.0
|
||||
Release: 1%?dist
|
||||
License: GPL-2.0-or-later
|
||||
Epoch: 1
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-app-launch
|
||||
%global commit af441bdb31bb76b207119a8c91eef3fa93c0c078
|
||||
%global commit a057a37b56b96efddc7f42577407a3a08a0575cf
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-app-launch
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-system-settings
|
||||
%global commit 0f9ce94e628a245cb3a7e97a7a169cb94e04c9ea
|
||||
%global commit 849214f4bb1a40fae692e18fed5d599e0d8c7af1
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-system-settings
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%define _ubuntu_rel 1ubuntu4
|
||||
%define _ubuntu_rel 7ubuntu1
|
||||
|
||||
Name: unity-session
|
||||
Summary: Lightdm profile for Unity 7
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: terra-blueprint-compiler
|
||||
Version: 0.12.0
|
||||
Version: 0.14.0
|
||||
Release: 1%?dist
|
||||
License: LGPL-3.0-or-later
|
||||
Summary: Markup language for GTK user interfaces
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
%endif
|
||||
|
||||
Name: codium
|
||||
Version: 1.91.1.24193
|
||||
Version: 1.92.2.24228
|
||||
Release: 1%?dist
|
||||
Summary: Code editing. Redefined.
|
||||
License: MIT
|
||||
@@ -52,7 +52,7 @@ cat <<EOF > vscodium-bin.desktop
|
||||
Name=VSCodium
|
||||
Comment=Code Editing. Redefined.
|
||||
GenericName=Text Editor
|
||||
Exec=/usr/bin/codium --no-sandbox --unity-launch %F
|
||||
Exec=/usr/bin/codium --no-sandbox %F
|
||||
Icon=vscodium
|
||||
Type=Application
|
||||
StartupNotify=false
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: flutter
|
||||
Version: 3.22.3
|
||||
Version: 3.24.1
|
||||
Release: 1%?dist
|
||||
Summary: SDK for crafting beautiful, fast user experiences from a single codebase
|
||||
License: BSD-3-Clause
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
From 518d106d6d54bc65d37116e3c5bc940b5c93fb0e Mon Sep 17 00:00:00 2001
|
||||
From: Philipp Trulson <der-eismann@users.noreply.github.com>
|
||||
Date: Tue, 13 Aug 2024 10:22:14 +0200
|
||||
Subject: [PATCH] Change path in systemd service to use package binary
|
||||
|
||||
---
|
||||
utils/systemd/kvrocks.service | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/utils/systemd/kvrocks.service b/utils/systemd/kvrocks.service
|
||||
index c0180b7c..17482b7a 100644
|
||||
--- a/utils/systemd/kvrocks.service
|
||||
+++ b/utils/systemd/kvrocks.service
|
||||
@@ -6,7 +6,7 @@ After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
-ExecStart=/usr/local/bin/kvrocks -c /etc/kvrocks/kvrocks.conf
|
||||
+ExecStart=/usr/bin/kvrocks -c /etc/kvrocks/kvrocks.conf
|
||||
Restart=on-failure
|
||||
ExecStop=/bin/kill -s TERM $MAINPID
|
||||
RestartSec=10s
|
||||
--
|
||||
2.45.2
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
Name: kvrocks
|
||||
Version: 2.9.0
|
||||
Release: 1%?dist
|
||||
Release: 2%?dist
|
||||
Summary: Distributed key value NoSQL database that uses RocksDB
|
||||
License: Apache-2.0
|
||||
URL: https://kvrocks.apache.org/
|
||||
Source0: https://github.com/apache/kvrocks/archive/refs/tags/v%version.tar.gz
|
||||
Patch0: 0001-Change-path-in-systemd-service-to-use-package-binary.patch
|
||||
Requires: openssl
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: cmake
|
||||
@@ -19,7 +20,7 @@ Apache Kvrocks is a distributed key value NoSQL database that uses RocksDB as st
|
||||
engine and is compatible with Redis protocol.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
unset LDFLAGS
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%global _desc Tracy is a real time, nanosecond resolution, remote telemetry, hybrid frame and sampling profiler for games and other applications.
|
||||
|
||||
Name: tracy
|
||||
Version: 0.11.0
|
||||
Version: 0.11.1
|
||||
Release: 1%?dist
|
||||
Summary: A real time, nanosecond resolution, remote telemetry, hybrid frame and sampling profiler for games and other applications.
|
||||
License: BSD-3-Clause
|
||||
|
||||
@@ -4,6 +4,5 @@ project pkg {
|
||||
}
|
||||
labels {
|
||||
nightly = 1
|
||||
large = 1
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,10 +3,12 @@
|
||||
%global commit_date 20240726
|
||||
%global ver 0.147.0
|
||||
|
||||
%bcond_without check
|
||||
%bcond_with check
|
||||
|
||||
# Exclude input files from mangling
|
||||
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
|
||||
# Use Mold as the linker
|
||||
%global build_rustflags %build_rustflags -C link-arg=-fuse-ld=mold
|
||||
|
||||
%global crate zed
|
||||
%global app_id dev.zed.Zed-Nightly
|
||||
@@ -77,6 +79,8 @@ script/generate-licenses
|
||||
install -Dm755 target/rpm/zed %{buildroot}%{_libexecdir}/zed-editor
|
||||
install -Dm755 target/rpm/cli %{buildroot}%{_bindir}/zed
|
||||
|
||||
%__cargo clean
|
||||
|
||||
install -Dm644 %app_id.desktop %{buildroot}%{_datadir}/applications/%app_id.desktop
|
||||
install -Dm644 crates/zed/resources/app-icon-nightly.png %{buildroot}%{_datadir}/pixmaps/%app_id.png
|
||||
|
||||
|
||||
@@ -2,7 +2,4 @@ project pkg {
|
||||
rpm {
|
||||
spec = "zed-preview.spec"
|
||||
}
|
||||
labels {
|
||||
large = 1
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
%bcond_without check
|
||||
%global debug_package %{nil}
|
||||
%global ver 0.146.0
|
||||
%bcond_with check
|
||||
|
||||
%global ver 0.146.2
|
||||
# Exclude input files from mangling
|
||||
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
|
||||
# Use Mold as the linker
|
||||
%global build_rustflags %build_rustflags -C link-arg=-fuse-ld=mold
|
||||
|
||||
%global crate zed
|
||||
%global app_id dev.zed.Zed-Preview
|
||||
@@ -71,6 +75,8 @@ script/generate-licenses
|
||||
install -Dm755 target/rpm/zed %{buildroot}%{_libexecdir}/zed-editor
|
||||
install -Dm755 target/rpm/cli %{buildroot}%{_bindir}/zed
|
||||
|
||||
%__cargo clean
|
||||
|
||||
install -Dm644 %app_id.desktop %{buildroot}%{_datadir}/applications/%app_id.desktop
|
||||
install -Dm644 crates/zed/resources/app-icon-preview.png %{buildroot}%{_datadir}/pixmaps/%app_id.png
|
||||
|
||||
|
||||
@@ -2,7 +2,4 @@ project pkg {
|
||||
rpm {
|
||||
spec = "zed.spec"
|
||||
}
|
||||
labels {
|
||||
large = 1
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -1,7 +1,9 @@
|
||||
%bcond_without check
|
||||
%bcond_with check
|
||||
|
||||
# Exclude input files from mangling
|
||||
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
|
||||
# Use Mold as the linker
|
||||
%global build_rustflags %build_rustflags -C link-arg=-fuse-ld=mold
|
||||
|
||||
%global crate zed
|
||||
%global app_id dev.zed.Zed
|
||||
@@ -73,6 +75,8 @@ script/generate-licenses
|
||||
install -Dm755 target/rpm/zed %{buildroot}%{_libexecdir}/zed-editor
|
||||
install -Dm755 target/rpm/cli %{buildroot}%{_bindir}/zed
|
||||
|
||||
%__cargo clean
|
||||
|
||||
install -Dm644 %app_id.desktop %{buildroot}%{_datadir}/applications/%app_id.desktop
|
||||
install -Dm644 crates/zed/resources/app-icon.png %{buildroot}%{_datadir}/pixmaps/%app_id.png
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: moby-compose
|
||||
Version: 2.29.1
|
||||
Version: 2.29.2
|
||||
Release: 1%?dist
|
||||
Summary: Define and run multi-container applications with Docker
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: sarasa-gothic-fonts
|
||||
Version: 1.0.15
|
||||
Version: 1.0.20
|
||||
Release: 1%?dist
|
||||
URL: https://github.com/be5invis/Sarasa-Gothic
|
||||
Source0: %url/releases/download/v%version/Sarasa-TTC-%version.7z
|
||||
|
||||
@@ -30,6 +30,7 @@ cp -r usr %buildroot/
|
||||
%license LICENSE
|
||||
%_bindir/export-gpu
|
||||
%_bindir/gamescope-session-plus
|
||||
%_libexecdir/gamescope-sdl-workaround
|
||||
%_userunitdir/gamescope-session-plus@.service
|
||||
%_datadir/gamescope-session-plus/device-quirks
|
||||
%_datadir/gamescope-session-plus/gamescope-session-plus
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
From 5529e8ac8f3232ec6233e33286834548e1d8018d Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= <fzatlouk@redhat.com>
|
||||
Date: Sun, 8 Oct 2023 22:10:33 +0200
|
||||
Subject: [PATCH] <cstdint>
|
||||
|
||||
---
|
||||
src/reshade/source/effect_parser_stmt.cpp | 1 +
|
||||
src/reshade/source/effect_token.hpp | 1 +
|
||||
2 files changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/reshade/source/effect_parser_stmt.cpp b/src/reshade/source/effect_parser_stmt.cpp
|
||||
index 7829729..f126be2 100644
|
||||
--- a/src/reshade/source/effect_parser_stmt.cpp
|
||||
+++ b/src/reshade/source/effect_parser_stmt.cpp
|
||||
@@ -9,6 +9,7 @@
|
||||
#include <cctype> // std::toupper
|
||||
#include <cassert>
|
||||
#include <functional>
|
||||
+#include <limits>
|
||||
#include <string_view>
|
||||
|
||||
struct on_scope_exit
|
||||
diff --git a/src/reshade/source/effect_token.hpp b/src/reshade/source/effect_token.hpp
|
||||
index 072d439..e4bb633 100644
|
||||
--- a/src/reshade/source/effect_token.hpp
|
||||
+++ b/src/reshade/source/effect_token.hpp
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
+#include <cstdint>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
--
|
||||
2.41.0
|
||||
@@ -0,0 +1,21 @@
|
||||
From 88ce1e5de62886aa14c74421cde6130e16e70d7d Mon Sep 17 00:00:00 2001
|
||||
From: psykose <alice@ayaya.dev>
|
||||
Date: Sat, 6 Jul 2024 20:52:50 +0200
|
||||
Subject: [PATCH] utils: include limits.h for PATH_MAX
|
||||
|
||||
---
|
||||
src/Utils/Process.cpp | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/Utils/Process.cpp b/src/Utils/Process.cpp
|
||||
index e71786f75..3e748e0d3 100644
|
||||
--- a/src/Utils/Process.cpp
|
||||
+++ b/src/Utils/Process.cpp
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <pthread.h>
|
||||
#include <stdlib.h>
|
||||
#include <dirent.h>
|
||||
+#include <limits.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
#include <signal.h>
|
||||
@@ -1,239 +0,0 @@
|
||||
From ab115896be1a448bde0eb7673c26300ea4ca5040 Mon Sep 17 00:00:00 2001
|
||||
From: sharkautarch <128002472+sharkautarch@users.noreply.github.com>
|
||||
Date: Sun, 19 May 2024 20:15:36 -0400
|
||||
Subject: [PATCH 1/2] QueuePresent: canBypassXWayland(): fetch multiple xcb
|
||||
cookies initially before waiting on any of them
|
||||
|
||||
---
|
||||
layer/VkLayer_FROG_gamescope_wsi.cpp | 1 +
|
||||
layer/xcb_helpers.hpp | 105 +++++++++++++++++++++++----
|
||||
2 files changed, 93 insertions(+), 13 deletions(-)
|
||||
|
||||
diff --git a/layer/VkLayer_FROG_gamescope_wsi.cpp b/layer/VkLayer_FROG_gamescope_wsi.cpp
|
||||
index 5844c2a63..ca44849f2 100644
|
||||
--- a/layer/VkLayer_FROG_gamescope_wsi.cpp
|
||||
+++ b/layer/VkLayer_FROG_gamescope_wsi.cpp
|
||||
@@ -975,6 +975,7 @@ namespace GamescopeWSILayer {
|
||||
continue;
|
||||
}
|
||||
|
||||
+ xcb::Prefetcher prefetcher(gamescopeSurface->connection, gamescopeSurface->window);
|
||||
const bool canBypass = gamescopeSurface->canBypassXWayland();
|
||||
if (canBypass != gamescopeSwapchain->isBypassingXWayland)
|
||||
UpdateSwapchainResult(canBypass ? VK_SUBOPTIMAL_KHR : VK_ERROR_OUT_OF_DATE_KHR);
|
||||
diff --git a/layer/xcb_helpers.hpp b/layer/xcb_helpers.hpp
|
||||
index 8fac5635b..72d0ec092 100644
|
||||
--- a/layer/xcb_helpers.hpp
|
||||
+++ b/layer/xcb_helpers.hpp
|
||||
@@ -4,22 +4,106 @@
|
||||
#include <xcb/composite.h>
|
||||
#include <cstdio>
|
||||
#include <optional>
|
||||
+#include <pthread.h>
|
||||
|
||||
namespace xcb {
|
||||
+ inline static constinit pthread_t g_cache_tid; //incase g_cache could otherwise be accessed by one thread, while it is being deleted by another thread
|
||||
+ inline static constinit struct cookie_cache_t {
|
||||
+ xcb_window_t window;
|
||||
+ std::tuple<xcb_get_geometry_cookie_t, xcb_query_tree_cookie_t> cached_cookies;
|
||||
+ std::tuple<xcb_get_geometry_reply_t*, xcb_query_tree_reply_t*> cached_replies;
|
||||
+ } g_cache = {};
|
||||
+
|
||||
+ //Note: this class is currently only meant to be used within GamescopeWSILayer::VkDeviceOverrides::QueuePresentKHR:
|
||||
+ struct Prefetcher {
|
||||
+ explicit Prefetcher(xcb_connection_t* connection, const xcb_window_t window) {
|
||||
+ g_cache = {
|
||||
+ .window = window,
|
||||
+ .cached_cookies = {
|
||||
+ xcb_get_geometry(connection, window),
|
||||
+ xcb_query_tree(connection, window)
|
||||
+ }
|
||||
+ };
|
||||
+ g_cache_tid = pthread_self();
|
||||
+ }
|
||||
|
||||
+ ~Prefetcher() {
|
||||
+ g_cache_tid = {};
|
||||
+ free(std::get<0>(g_cache.cached_replies));
|
||||
+ free(std::get<1>(g_cache.cached_replies));
|
||||
+ g_cache.cached_replies = {nullptr,nullptr};
|
||||
+ }
|
||||
+ };
|
||||
+
|
||||
struct ReplyDeleter {
|
||||
+ const bool m_bOwning = true;
|
||||
+ consteval ReplyDeleter(bool bOwning = true) : m_bOwning{bOwning} {}
|
||||
template <typename T>
|
||||
void operator()(T* ptr) const {
|
||||
- free(const_cast<std::remove_const_t<T>*>(ptr));
|
||||
+ if (m_bOwning)
|
||||
+ free(const_cast<std::remove_const_t<T>*>(ptr));
|
||||
}
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
using Reply = std::unique_ptr<T, ReplyDeleter>;
|
||||
+
|
||||
+ template <typename Cookie_RetType, typename Reply_RetType, typename XcbConn=xcb_connection_t*, typename... Args>
|
||||
+ class XcbFetch {
|
||||
+ using cookie_f_ptr_t = Cookie_RetType (*)(XcbConn, Args...);
|
||||
+ using reply_f_ptr_t = Reply_RetType* (*)(XcbConn, Cookie_RetType, xcb_generic_error_t**);
|
||||
+
|
||||
+ const cookie_f_ptr_t m_cookieFunc;
|
||||
+ const reply_f_ptr_t m_replyFunc;
|
||||
+
|
||||
+ public:
|
||||
+ consteval XcbFetch(cookie_f_ptr_t cookieFunc, reply_f_ptr_t replyFunc) : m_cookieFunc{cookieFunc}, m_replyFunc{replyFunc} {}
|
||||
+
|
||||
+ inline Reply<Reply_RetType> operator()(XcbConn conn, auto... args) { //have to use auto for argsTwo, since otherwise there'd be a type deduction conflict
|
||||
+ return Reply<Reply_RetType> { m_replyFunc(conn, m_cookieFunc(conn, args...), nullptr) };
|
||||
+ }
|
||||
+ };
|
||||
+
|
||||
+ template <typename CookieType>
|
||||
+ concept CacheableCookie = std::is_same<CookieType, xcb_get_geometry_cookie_t>::value
|
||||
+ || std::is_same<CookieType, xcb_query_tree_cookie_t>::value;
|
||||
+
|
||||
+ template <CacheableCookie Cookie_RetType, typename Reply_RetType>
|
||||
+ class XcbFetch<Cookie_RetType, Reply_RetType, xcb_connection_t*, xcb_window_t> {
|
||||
+ using cookie_f_ptr_t = Cookie_RetType (*)(xcb_connection_t*, xcb_window_t);
|
||||
+ using reply_f_ptr_t = Reply_RetType* (*)(xcb_connection_t*, Cookie_RetType, xcb_generic_error_t**);
|
||||
+
|
||||
+ const cookie_f_ptr_t m_cookieFunc;
|
||||
+ const reply_f_ptr_t m_replyFunc;
|
||||
+
|
||||
+ inline Reply<Reply_RetType> getCachedReply(xcb_connection_t* connection) {
|
||||
+ if (std::get<Reply_RetType*>(g_cache.cached_replies) == nullptr) {
|
||||
+ std::get<Reply_RetType*>(g_cache.cached_replies) = m_replyFunc(connection, std::get<Cookie_RetType>(g_cache.cached_cookies), nullptr);
|
||||
+ }
|
||||
|
||||
+ return Reply<Reply_RetType>{std::get<Reply_RetType*>(g_cache.cached_replies), ReplyDeleter{false}}; // return 'non-owning' unique_ptr
|
||||
+ }
|
||||
+
|
||||
+ public:
|
||||
+ consteval XcbFetch(cookie_f_ptr_t cookieFunc, reply_f_ptr_t replyFunc) : m_cookieFunc{cookieFunc}, m_replyFunc{replyFunc} {}
|
||||
+
|
||||
+ inline Reply<Reply_RetType> operator()(xcb_connection_t* conn, xcb_window_t window) {
|
||||
+ const bool tryCached = pthread_equal(g_cache_tid, pthread_self())
|
||||
+ && g_cache.window == window;
|
||||
+ if (!tryCached) [[unlikely]]
|
||||
+ return Reply<Reply_RetType> { m_replyFunc(conn, m_cookieFunc(conn, window), nullptr) };
|
||||
+
|
||||
+ auto ret = getCachedReply(conn);
|
||||
+ #if !defined(NDEBUG) || NDEBUG == 0
|
||||
+ if (!ret)
|
||||
+ fprintf(stderr, "[Gamescope WSI] getCachedReply() failed.\n");
|
||||
+ #endif
|
||||
+ return ret;
|
||||
+ }
|
||||
+ };
|
||||
+
|
||||
static std::optional<xcb_atom_t> getAtom(xcb_connection_t* connection, std::string_view name) {
|
||||
- xcb_intern_atom_cookie_t cookie = xcb_intern_atom(connection, false, name.length(), name.data());
|
||||
- auto reply = Reply<xcb_intern_atom_reply_t>{ xcb_intern_atom_reply(connection, cookie, nullptr) };
|
||||
+ auto reply = XcbFetch{xcb_intern_atom, xcb_intern_atom_reply}(connection, false, name.length(), name.data());
|
||||
if (!reply) {
|
||||
fprintf(stderr, "[Gamescope WSI] Failed to get xcb atom.\n");
|
||||
return std::nullopt;
|
||||
@@ -34,8 +118,7 @@ namespace xcb {
|
||||
|
||||
xcb_screen_t* screen = xcb_setup_roots_iterator(xcb_get_setup(connection)).data;
|
||||
|
||||
- xcb_get_property_cookie_t cookie = xcb_get_property(connection, false, screen->root, atom, XCB_ATOM_CARDINAL, 0, sizeof(T) / sizeof(uint32_t));
|
||||
- auto reply = Reply<xcb_get_property_reply_t>{ xcb_get_property_reply(connection, cookie, nullptr) };
|
||||
+ auto reply = XcbFetch{xcb_get_property, xcb_get_property_reply}(connection, false, screen->root, atom, XCB_ATOM_CARDINAL, 0, sizeof(T) / sizeof(uint32_t));
|
||||
if (!reply) {
|
||||
fprintf(stderr, "[Gamescope WSI] Failed to read T root window property.\n");
|
||||
return std::nullopt;
|
||||
@@ -61,8 +144,7 @@ namespace xcb {
|
||||
|
||||
static std::optional<xcb_window_t> getToplevelWindow(xcb_connection_t* connection, xcb_window_t window) {
|
||||
for (;;) {
|
||||
- xcb_query_tree_cookie_t cookie = xcb_query_tree(connection, window);
|
||||
- auto reply = Reply<xcb_query_tree_reply_t>{ xcb_query_tree_reply(connection, cookie, nullptr) };
|
||||
+ auto reply = XcbFetch{xcb_query_tree, xcb_query_tree_reply}(connection, window);
|
||||
|
||||
if (!reply) {
|
||||
fprintf(stderr, "[Gamescope WSI] getToplevelWindow: xcb_query_tree failed for window 0x%x.\n", window);
|
||||
@@ -77,8 +159,7 @@ namespace xcb {
|
||||
}
|
||||
|
||||
static std::optional<VkRect2D> getWindowRect(xcb_connection_t* connection, xcb_window_t window) {
|
||||
- xcb_get_geometry_cookie_t cookie = xcb_get_geometry(connection, window);
|
||||
- auto reply = Reply<xcb_get_geometry_reply_t>{ xcb_get_geometry_reply(connection, cookie, nullptr) };
|
||||
+ auto reply = XcbFetch{xcb_get_geometry, xcb_get_geometry_reply}(connection, window);
|
||||
if (!reply) {
|
||||
fprintf(stderr, "[Gamescope WSI] getWindowRect: xcb_get_geometry failed for window 0x%x.\n", window);
|
||||
return std::nullopt;
|
||||
@@ -112,8 +193,7 @@ namespace xcb {
|
||||
static std::optional<VkExtent2D> getLargestObscuringChildWindowSize(xcb_connection_t* connection, xcb_window_t window) {
|
||||
VkExtent2D largestExtent = {};
|
||||
|
||||
- xcb_query_tree_cookie_t cookie = xcb_query_tree(connection, window);
|
||||
- auto reply = Reply<xcb_query_tree_reply_t>{ xcb_query_tree_reply(connection, cookie, nullptr) };
|
||||
+ auto reply = XcbFetch{xcb_query_tree, xcb_query_tree_reply}(connection, window);
|
||||
|
||||
if (!reply) {
|
||||
fprintf(stderr, "[Gamescope WSI] getLargestObscuringWindowSize: xcb_query_tree failed for window 0x%x.\n", window);
|
||||
@@ -130,8 +210,7 @@ namespace xcb {
|
||||
for (uint32_t i = 0; i < reply->children_len; i++) {
|
||||
xcb_window_t child = children[i];
|
||||
|
||||
- xcb_get_window_attributes_cookie_t attributeCookie = xcb_get_window_attributes(connection, child);
|
||||
- auto attributeReply = Reply<xcb_get_window_attributes_reply_t>{ xcb_get_window_attributes_reply(connection, attributeCookie, nullptr) };
|
||||
+ auto attributeReply = XcbFetch{xcb_get_window_attributes, xcb_get_window_attributes_reply}(connection, child);
|
||||
|
||||
const bool obscuring =
|
||||
attributeReply &&
|
||||
|
||||
From 1b59621f4de5c05096d1f279cba2e04264124154 Mon Sep 17 00:00:00 2001
|
||||
From: sharkautarch <128002472+sharkautarch@users.noreply.github.com>
|
||||
Date: Tue, 18 Jun 2024 22:21:23 -0400
|
||||
Subject: [PATCH 2/2] WSI: prefetcher: fix issue w/ attempting to prefetch xcb
|
||||
stuff for pure wayland surfaces
|
||||
|
||||
---
|
||||
layer/VkLayer_FROG_gamescope_wsi.cpp | 2 +-
|
||||
layer/xcb_helpers.hpp | 9 ++++++++-
|
||||
2 files changed, 9 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/layer/VkLayer_FROG_gamescope_wsi.cpp b/layer/VkLayer_FROG_gamescope_wsi.cpp
|
||||
index f26819a60..ce011dcd7 100644
|
||||
--- a/layer/VkLayer_FROG_gamescope_wsi.cpp
|
||||
+++ b/layer/VkLayer_FROG_gamescope_wsi.cpp
|
||||
@@ -1234,7 +1234,7 @@ namespace GamescopeWSILayer {
|
||||
continue;
|
||||
}
|
||||
|
||||
- xcb::Prefetcher prefetcher(gamescopeSurface->connection, gamescopeSurface->window);
|
||||
+ auto prefetcher = xcb::Prefetcher::GetPrefetcherIf(!gamescopeSurface->isWayland(), gamescopeSurface->connection, gamescopeSurface->window);
|
||||
const bool canBypass = gamescopeSurface->canBypassXWayland();
|
||||
if (canBypass != gamescopeSwapchain->isBypassingXWayland)
|
||||
UpdateSwapchainResult(canBypass ? VK_SUBOPTIMAL_KHR : VK_ERROR_OUT_OF_DATE_KHR);
|
||||
diff --git a/layer/xcb_helpers.hpp b/layer/xcb_helpers.hpp
|
||||
index 72d0ec092..f26aef38b 100644
|
||||
--- a/layer/xcb_helpers.hpp
|
||||
+++ b/layer/xcb_helpers.hpp
|
||||
@@ -16,6 +16,13 @@ namespace xcb {
|
||||
|
||||
//Note: this class is currently only meant to be used within GamescopeWSILayer::VkDeviceOverrides::QueuePresentKHR:
|
||||
struct Prefetcher {
|
||||
+ static std::optional<Prefetcher> GetPrefetcherIf(bool bCond, xcb_connection_t* connection, const xcb_window_t window) {
|
||||
+ if (bCond)
|
||||
+ return std::optional<Prefetcher>(std::in_place_t{}, connection, window);
|
||||
+
|
||||
+ return std::nullopt;
|
||||
+ }
|
||||
+
|
||||
explicit Prefetcher(xcb_connection_t* connection, const xcb_window_t window) {
|
||||
g_cache = {
|
||||
.window = window,
|
||||
@@ -90,7 +97,7 @@ namespace xcb {
|
||||
inline Reply<Reply_RetType> operator()(xcb_connection_t* conn, xcb_window_t window) {
|
||||
const bool tryCached = pthread_equal(g_cache_tid, pthread_self())
|
||||
&& g_cache.window == window;
|
||||
- if (!tryCached) [[unlikely]]
|
||||
+ if (!tryCached)
|
||||
return Reply<Reply_RetType> { m_replyFunc(conn, m_cookieFunc(conn, window), nullptr) };
|
||||
|
||||
auto ret = getCachedReply(conn);
|
||||
@@ -0,0 +1,34 @@
|
||||
From ca58cb2453e6d9ef44d799e394ee9950b7a35b30 Mon Sep 17 00:00:00 2001
|
||||
From: Cappy Ishihara <cappy@cappuchino.xyz>
|
||||
Date: Wed, 21 Aug 2024 03:56:53 +0700
|
||||
Subject: [PATCH] Check if current GPU supports Vulkan DRM modifiers when
|
||||
`--backend=auto` is used.
|
||||
|
||||
This works around #1218 by making use of the new backend option added in #1321,
|
||||
but adds a check to automatically fall back to the SDL backend if the current
|
||||
GPU does not support Vulkan DRM modifiers.
|
||||
---
|
||||
src/main.cpp | 10 +++++++---
|
||||
1 file changed, 7 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/src/main.cpp b/src/main.cpp
|
||||
index ca4001249..bc6b16904 100644
|
||||
--- a/src/main.cpp
|
||||
+++ b/src/main.cpp
|
||||
@@ -817,9 +817,13 @@ int main(int argc, char **argv)
|
||||
if ( eCurrentBackend == gamescope::GamescopeBackend::Auto )
|
||||
{
|
||||
if ( g_pOriginalWaylandDisplay != NULL )
|
||||
- eCurrentBackend = gamescope::GamescopeBackend::Wayland;
|
||||
- else if ( g_pOriginalDisplay != NULL )
|
||||
- eCurrentBackend = gamescope::GamescopeBackend::SDL;
|
||||
+ // Additional check if the current GPU supports Vulkan DRM modifiers
|
||||
+ // Fallback to SDL if not supported (e.g Older AMD GPUs like Polaris 10/20)
|
||||
+ if ( vulkan_supports_modifiers() )
|
||||
+ eCurrentBackend = gamescope::GamescopeBackend::Wayland;
|
||||
+ else
|
||||
+ eCurrentBackend = gamescope::GamescopeBackend::SDL;
|
||||
+
|
||||
else
|
||||
eCurrentBackend = gamescope::GamescopeBackend::DRM;
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,136 +0,0 @@
|
||||
diff --git a/src/Backends/DRMBackend.cpp b/src/Backends/DRMBackend.cpp
|
||||
index 85e5126..be418b4 100644
|
||||
--- a/src/Backends/DRMBackend.cpp
|
||||
+++ b/src/Backends/DRMBackend.cpp
|
||||
@@ -2149,6 +2149,7 @@ namespace gamescope
|
||||
( m_Mutable.szMakePNP == "WLC"sv && m_Mutable.szModel == "ANX7530 U"sv ) ||
|
||||
( m_Mutable.szMakePNP == "ANX"sv && m_Mutable.szModel == "ANX7530 U"sv ) ||
|
||||
( m_Mutable.szMakePNP == "VLV"sv && m_Mutable.szModel == "ANX7530 U"sv ) ||
|
||||
+ ( m_Mutable.szMakePNP == "DHD"sv && m_Mutable.szModel == "DeckHD-1200p"sv ) ||
|
||||
( m_Mutable.szMakePNP == "VLV"sv && m_Mutable.szModel == "Jupiter"sv ) ||
|
||||
( m_Mutable.szMakePNP == "VLV"sv && m_Mutable.szModel == "Galileo"sv );
|
||||
|
||||
@@ -2160,6 +2161,7 @@ namespace gamescope
|
||||
{
|
||||
static constexpr uint32_t kPIDGalileoSDC = 0x3003;
|
||||
static constexpr uint32_t kPIDGalileoBOE = 0x3004;
|
||||
+ static constexpr uint32_t kPIDJupiterDHD = 0x4001;
|
||||
|
||||
if ( pProduct->product == kPIDGalileoSDC )
|
||||
{
|
||||
@@ -2171,6 +2173,10 @@ namespace gamescope
|
||||
m_Mutable.eKnownDisplay = GAMESCOPE_KNOWN_DISPLAY_STEAM_DECK_OLED_BOE;
|
||||
m_Mutable.ValidDynamicRefreshRates = std::span( s_kSteamDeckOLEDRates );
|
||||
}
|
||||
+ else if (pProduct-> product == kPIDJupiterDHD ) {
|
||||
+ m_Mutable.eKnownDisplay = GAMESCOPE_KNOWN_DISPLAY_STEAM_DECK_LCD_DHD;
|
||||
+ m_Mutable.ValidDynamicRefreshRates = std::span( s_kSteamDeckLCDRates );
|
||||
+ }
|
||||
else
|
||||
{
|
||||
m_Mutable.eKnownDisplay = GAMESCOPE_KNOWN_DISPLAY_STEAM_DECK_LCD;
|
||||
@@ -2200,7 +2206,8 @@ namespace gamescope
|
||||
drm_log.infof( "[colorimetry]: Steam Deck LCD detected. Using known colorimetry" );
|
||||
m_Mutable.DisplayColorimetry = displaycolorimetry_steamdeck_measured;
|
||||
}
|
||||
- else
|
||||
+ else if (m_Mutable.eKnownDisplay == GAMESCOPE_KNOWN_DISPLAY_STEAM_DECK_OLED_BOE ||
|
||||
+ m_Mutable.eKnownDisplay == GAMESCOPE_KNOWN_DISPLAY_STEAM_DECK_OLED_SDC )
|
||||
{
|
||||
// Steam Deck OLED has calibrated chromaticity coordinates in the EDID
|
||||
// for each unit.
|
||||
@@ -2330,7 +2337,7 @@ namespace gamescope
|
||||
.uMinContentLightLevel = nits_to_u16_dark( 0 ),
|
||||
};
|
||||
}
|
||||
- else if ( eKnownDisplay == GAMESCOPE_KNOWN_DISPLAY_STEAM_DECK_LCD )
|
||||
+ else if ( eKnownDisplay == GAMESCOPE_KNOWN_DISPLAY_STEAM_DECK_LCD || eKnownDisplay == GAMESCOPE_KNOWN_DISPLAY_STEAM_DECK_LCD_DHD )
|
||||
{
|
||||
// Set up some HDR fallbacks for undocking
|
||||
return BackendConnectorHDRInfo
|
||||
diff --git a/src/gamescope_shared.h b/src/gamescope_shared.h
|
||||
index ed30d8c..3b60774 100644
|
||||
--- a/src/gamescope_shared.h
|
||||
+++ b/src/gamescope_shared.h
|
||||
@@ -8,6 +8,7 @@ namespace gamescope
|
||||
{
|
||||
GAMESCOPE_KNOWN_DISPLAY_UNKNOWN,
|
||||
GAMESCOPE_KNOWN_DISPLAY_STEAM_DECK_LCD, // Jupiter
|
||||
+ GAMESCOPE_KNOWN_DISPLAY_STEAM_DECK_LCD_DHD, // Jupiter Deck HD
|
||||
GAMESCOPE_KNOWN_DISPLAY_STEAM_DECK_OLED_SDC, // Galileo SDC
|
||||
GAMESCOPE_KNOWN_DISPLAY_STEAM_DECK_OLED_BOE, // Galileo BOE
|
||||
};
|
||||
diff --git a/src/modegen.cpp b/src/modegen.cpp
|
||||
index d174c2d..5dd1136 100644
|
||||
--- a/src/modegen.cpp
|
||||
+++ b/src/modegen.cpp
|
||||
@@ -293,13 +293,32 @@ unsigned int galileo_boe_vfp[] =
|
||||
172,152,136,120,100,84,68,52,36,20,8
|
||||
};
|
||||
|
||||
-#define GALILEO_MIN_REFRESH 45
|
||||
+//SD LCD Stock Timings
|
||||
+#define JUPITER_BOE_PID 0x3001
|
||||
+#define JUPITER_B_PID 0x3002
|
||||
+#define JUPITER_HFP 40
|
||||
+#define JUPITER_HSYNC 4
|
||||
+#define JUPITER_HBP 40
|
||||
+#define JUPITER_VFP 30
|
||||
+#define JUPITER_VSYNC 4
|
||||
+#define JUPITER_VBP 8
|
||||
+//SD LCD DeckHD Timings
|
||||
+#define JUPITER_DHD_PID 0x4001
|
||||
+#define JUPITER_DHD_HFP 40
|
||||
+#define JUPITER_DHD_HSYNC 20
|
||||
+#define JUPITER_DHD_HBP 40
|
||||
+#define JUPITER_DHD_VFP 18
|
||||
+#define JUPITER_DHD_VSYNC 2
|
||||
+#define JUPITER_DHD_VBP 20
|
||||
+//SD OLED SDC Timings
|
||||
#define GALILEO_SDC_PID 0x3003
|
||||
#define GALILEO_SDC_VSYNC 1
|
||||
#define GALILEO_SDC_VBP 22
|
||||
+//SD OLED BOE Timings
|
||||
#define GALILEO_BOE_PID 0x3004
|
||||
#define GALILEO_BOE_VSYNC 2
|
||||
#define GALILEO_BOE_VBP 30
|
||||
+#define GALILEO_MIN_REFRESH 45
|
||||
#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
|
||||
|
||||
unsigned int get_galileo_vfp( int vrefresh, unsigned int * vfp_array, unsigned int num_rates )
|
||||
@@ -344,17 +363,28 @@ void generate_fixed_mode(drmModeModeInfo *mode, const drmModeModeInfo *base, int
|
||||
mode->vsync_end = mode->vsync_start + vsync;
|
||||
mode->vtotal = mode->vsync_end + vbp;
|
||||
} else {
|
||||
- if ( eKnownDisplay == gamescope::GAMESCOPE_KNOWN_DISPLAY_STEAM_DECK_LCD )
|
||||
+ if ( eKnownDisplay == gamescope::GAMESCOPE_KNOWN_DISPLAY_STEAM_DECK_LCD_DHD ) {
|
||||
+ mode->hdisplay = 1200;
|
||||
+ mode->hsync_start = mode->hdisplay + JUPITER_DHD_HFP;
|
||||
+ mode->hsync_end = mode->hsync_start + JUPITER_DHD_HSYNC;
|
||||
+ mode->htotal = mode->hsync_end + JUPITER_DHD_HBP;
|
||||
+
|
||||
+ mode->vdisplay = 1920;
|
||||
+ mode->vsync_start = mode->vdisplay + JUPITER_DHD_VFP;
|
||||
+ mode->vsync_end = mode->vsync_start + JUPITER_DHD_VSYNC;
|
||||
+ mode->vtotal = mode->vsync_end + JUPITER_DHD_VBP;
|
||||
+ }
|
||||
+ else if ( eKnownDisplay == gamescope::GAMESCOPE_KNOWN_DISPLAY_STEAM_DECK_LCD )
|
||||
{
|
||||
mode->hdisplay = 800;
|
||||
- mode->hsync_start = 840;
|
||||
- mode->hsync_end = 844;
|
||||
- mode->htotal = 884;
|
||||
+ mode->hsync_start = mode->hdisplay + JUPITER_HFP;
|
||||
+ mode->hsync_end = mode->hsync_start + JUPITER_HSYNC;
|
||||
+ mode->htotal = mode->hsync_end + JUPITER_HBP;
|
||||
|
||||
mode->vdisplay = 1280;
|
||||
- mode->vsync_start = 1310;
|
||||
- mode->vsync_end = 1314;
|
||||
- mode->vtotal = 1322;
|
||||
+ mode->vsync_start = mode->vdisplay + JUPITER_VFP;
|
||||
+ mode->vsync_end = mode->vsync_start + JUPITER_VSYNC;
|
||||
+ mode->vtotal = mode->vsync_end + JUPITER_VBP;
|
||||
}
|
||||
|
||||
mode->clock = ( ( mode->htotal * mode->vtotal * vrefresh ) + 999 ) / 1000;
|
||||
@@ -48,4 +48,4 @@ index 92bf617..d7498e5 100644
|
||||
+ cv_disable_touch_click = true;
|
||||
}
|
||||
break;
|
||||
case '?':
|
||||
case '?':
|
||||
@@ -1,63 +0,0 @@
|
||||
From 2e4d7ad1bf2cb98eb67ff8f9385cf6657cf2e912 Mon Sep 17 00:00:00 2001
|
||||
From: Matthew Schwartz <njtransit215@gmail.com>
|
||||
Date: Wed, 3 Jul 2024 15:20:08 -0700
|
||||
Subject: [PATCH] drm: Separate BOE and SDC OLED Deck panel valid refresh rates
|
||||
|
||||
OLED Decks with BOE panels seem to struggle with a few different
|
||||
specific modesets (51hz/55hz/65hz) that SDC panels have no issues with.
|
||||
To work around this, let's make use of Gamescope recognizing each
|
||||
display manufacturer to correct the bad modesets while leaving
|
||||
SDC panel units alone. This can be reverted if an underlying cause can
|
||||
be found in the kernel in the future.
|
||||
---
|
||||
src/Backends/DRMBackend.cpp | 16 +++++++++++++---
|
||||
1 file changed, 13 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/src/Backends/DRMBackend.cpp b/src/Backends/DRMBackend.cpp
|
||||
index 97ef446..9f93c7f 100644
|
||||
--- a/src/Backends/DRMBackend.cpp
|
||||
+++ b/src/Backends/DRMBackend.cpp
|
||||
@@ -554,7 +554,7 @@ static constexpr uint32_t s_kSteamDeckLCDRates[] =
|
||||
60,
|
||||
};
|
||||
|
||||
-static constexpr uint32_t s_kSteamDeckOLEDRates[] =
|
||||
+static constexpr uint32_t s_kSteamDeckOLEDSDCRates[] =
|
||||
{
|
||||
45, 47, 48, 49,
|
||||
50, 51, 53, 55, 56, 59,
|
||||
@@ -564,6 +564,16 @@ static constexpr uint32_t s_kSteamDeckOLEDRates[] =
|
||||
90,
|
||||
};
|
||||
|
||||
+static constexpr uint32_t s_kSteamDeckOLEDBOERates[] =
|
||||
+{
|
||||
+ 45, 47, 48, 49,
|
||||
+ 50, 53, 56, 59,
|
||||
+ 60, 62, 64, 66, 68,
|
||||
+ 72, 73, 76, 77, 78,
|
||||
+ 80, 81, 82, 84, 85, 86, 87, 88,
|
||||
+ 90,
|
||||
+};
|
||||
+
|
||||
static void update_connector_display_info_wl(struct drm_t *drm)
|
||||
{
|
||||
wlserver_lock();
|
||||
@@ -2128,12 +2138,12 @@ namespace gamescope
|
||||
if ( pProduct->product == kPIDGalileoSDC )
|
||||
{
|
||||
m_Mutable.eKnownDisplay = GAMESCOPE_KNOWN_DISPLAY_STEAM_DECK_OLED_SDC;
|
||||
- m_Mutable.ValidDynamicRefreshRates = std::span( s_kSteamDeckOLEDRates );
|
||||
+ m_Mutable.ValidDynamicRefreshRates = std::span( s_kSteamDeckOLEDSDCRates );
|
||||
}
|
||||
else if ( pProduct->product == kPIDGalileoBOE )
|
||||
{
|
||||
m_Mutable.eKnownDisplay = GAMESCOPE_KNOWN_DISPLAY_STEAM_DECK_OLED_BOE;
|
||||
- m_Mutable.ValidDynamicRefreshRates = std::span( s_kSteamDeckOLEDRates );
|
||||
+ m_Mutable.ValidDynamicRefreshRates = std::span( s_kSteamDeckOLEDBOERates );
|
||||
}
|
||||
else
|
||||
{
|
||||
--
|
||||
2.45.2
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Wrapper script to run Gamescope with legacy options for older GPUs
|
||||
|
||||
gamescope_path="/usr/bin/gamescope"
|
||||
|
||||
|
||||
# check if $BACKEND is already defined
|
||||
# todo: Probably want to patch gamescope-session-plus for this instead meow
|
||||
|
||||
# For compatibility, let's add the argument for nested backends too
|
||||
|
||||
LEGACY_BACKEND_ARGS=""
|
||||
NESTED_BACKEND_ARGS=""
|
||||
if [ -z "$BACKEND" ]; then
|
||||
LEGACY_BACKEND_ARGS="--backend=sdl"
|
||||
NESTED_BACKEND_ARGS="--backend=sdl"
|
||||
else
|
||||
# Only added for nested sessions, as $BACKEND should be defined only for legacy
|
||||
NESTED_BACKEND_ARGS="--backend=$BACKEND"
|
||||
fi
|
||||
|
||||
|
||||
if [ -z "$DISPLAY" ]; then
|
||||
$gamescope_path $LEGACY_BACKEND_ARGS $@
|
||||
else
|
||||
$gamescope_path $NESTED_BACKEND_ARGS $@
|
||||
fi
|
||||
|
||||
@@ -4,4 +4,4 @@ includedir=${prefix}/include/stb
|
||||
Name: stb
|
||||
Description: Single-file public domain libraries for C/C++
|
||||
Version: 0.1.0
|
||||
Cflags: -I${includedir}
|
||||
Cflags: -I${includedir}
|
||||
@@ -1,37 +1,43 @@
|
||||
%if 0%{?fedora} >= 41
|
||||
%global libliftoff_minver 0.5.0
|
||||
%else
|
||||
%global libliftoff_minver 0.4.1
|
||||
%endif
|
||||
|
||||
%global toolchain clang
|
||||
%global _default_patch_fuzz 2
|
||||
%global gamescope_tag 3.14.24
|
||||
|
||||
Name: terra-gamescope
|
||||
Version: 100.%{gamescope_tag}
|
||||
Release: 1%?dist
|
||||
Summary: Micro-compositor for video games on Wayland
|
||||
Summary: Micro-compositor for video games on Wayland - Terra patch, please read the full description
|
||||
|
||||
License: BSD
|
||||
URL: https://github.com/ValveSoftware/gamescope
|
||||
|
||||
# Create stb.pc to satisfy dependency('stb')
|
||||
Source0: stb.pc
|
||||
Source1: gamescope-legacy.sh
|
||||
|
||||
Patch0: 0001-cstdint.patch
|
||||
|
||||
# https://github.com/ChimeraOS/gamescope
|
||||
Patch0: chimeraos.patch
|
||||
Patch1: chimeraos.patch
|
||||
# https://hhd.dev/
|
||||
Patch1: disable-steam-touch-click-atom.patch
|
||||
# https://github.com/ValveSoftware/gamescope/pull/1281
|
||||
Patch2: deckhd.patch
|
||||
# https://github.com/ValveSoftware/gamescope/issues/1398
|
||||
Patch3: drm-Separate-BOE-and-SDC-OLED-Deck-panel-rates.patch
|
||||
# https://github.com/ValveSoftware/gamescope/issues/1369
|
||||
Patch4: revert-299bc34.patch
|
||||
# https://github.com/ValveSoftware/gamescope/pull/1231
|
||||
Patch5: 1231.patch
|
||||
Patch2: disable-steam-touch-click-atom.patch
|
||||
Patch3: v2-0001-always-send-ctrl-1-2-to-steam-s-wayland-session.patch
|
||||
|
||||
# Set default backend to SDL instead of Wayland, to avoid issues with GPUs that do not support
|
||||
# Vulkan DRM modifiers.
|
||||
# See also: gamescope-legacy package
|
||||
# https://github.com/ValveSoftware/gamescope/issues/1218#issuecomment-2123801764
|
||||
Patch6: 1483.patch
|
||||
|
||||
BuildRequires: meson >= 0.54.0
|
||||
BuildRequires: ninja-build
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: clang
|
||||
BuildRequires: glm-devel
|
||||
BuildRequires: google-benchmark-devel
|
||||
BuildRequires: libXmu-devel
|
||||
@@ -52,22 +58,17 @@ BuildRequires: pkgconfig(xres)
|
||||
BuildRequires: pkgconfig(libdrm)
|
||||
BuildRequires: pkgconfig(vulkan)
|
||||
BuildRequires: pkgconfig(wayland-scanner)
|
||||
BuildRequires: pkgconfig(wayland-server)
|
||||
BuildRequires: pkgconfig(wayland-server) >= 1.23.0
|
||||
BuildRequires: pkgconfig(wayland-protocols) >= 1.17
|
||||
BuildRequires: pkgconfig(xkbcommon)
|
||||
BuildRequires: pkgconfig(sdl2)
|
||||
BuildRequires: pkgconfig(libpipewire-0.3)
|
||||
BuildRequires: pkgconfig(libavif)
|
||||
#BuildRequires: (pkgconfig(wlroots) >= 0.18.0 with pkgconfig(wlroots) < 0.19.0)
|
||||
#BuildRequires: (pkgconfig(libliftoff) >= 0.4.1 with pkgconfig(libliftoff) < 0.5)
|
||||
BuildRequires: pkgconfig(libliftoff)
|
||||
BuildRequires: pkgconfig(wlroots)
|
||||
BuildRequires: pkgconfig(libliftoff) >= 0.4.1
|
||||
BuildRequires: pkgconfig(libcap)
|
||||
BuildRequires: pkgconfig(hwdata)
|
||||
BuildRequires: pkgconfig(libudev)
|
||||
BuildRequires: pkgconfig(libseat)
|
||||
BuildRequires: pkgconfig(libinput)
|
||||
BuildRequires: xcb-util-wm-devel
|
||||
BuildRequires: pkgconfig(xcb-errors)
|
||||
BuildRequires: pkgconfig(lcms2)
|
||||
BuildRequires: spirv-headers-devel
|
||||
# Enforce the the minimum EVR to contain fixes for all of:
|
||||
# CVE-2021-28021 CVE-2021-42715 CVE-2021-42716 CVE-2022-28041 CVE-2023-43898
|
||||
@@ -89,16 +90,21 @@ BuildRequires: git
|
||||
# libliftoff hasn't bumped soname, but API/ABI has changed for 0.2.0 release
|
||||
Requires: libliftoff%{?_isa} >= %{libliftoff_minver}
|
||||
Requires: xorg-x11-server-Xwayland
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
%ifarch %{ix86}
|
||||
Requires: %{name}-libs(x86-32) = %{version}-%{release}
|
||||
%endif
|
||||
Requires: terra-gamescope-libs = %{version}-%{release}
|
||||
Requires: terra-gamescope-libs(x86-32) = %{version}-%{release}
|
||||
Recommends: mesa-dri-drivers
|
||||
Recommends: mesa-vulkan-drivers
|
||||
|
||||
Provides: gamescope-legacy
|
||||
Obsoletes: gamescope-legacy < 3.14.2
|
||||
|
||||
%description
|
||||
Gamescope is the micro-compositor optimized for running video games on Wayland.
|
||||
|
||||
This specific build of Gamescope is patched to use SDL as the default backend instead of Wayland, and
|
||||
includes a legacy wrapper script for older GPUs and extra configuration options. Please see
|
||||
https://developer.fyralabs.com/terra/gamescope for more information.
|
||||
|
||||
%package libs
|
||||
Summary: libs for Gamescope
|
||||
%description libs
|
||||
@@ -119,21 +125,35 @@ sed -i 's^../thirdparty/SPIRV-Headers/include/spirv/^/usr/include/spirv/^' src/m
|
||||
%build
|
||||
cd gamescope
|
||||
export PKG_CONFIG_PATH=pkgconfig
|
||||
%meson -Dpipewire=enabled -Dinput_emulation=enabled -Ddrm_backend=enabled -Drt_cap=enabled -Davif_screenshots=enabled -Dsdl2_backend=enabled
|
||||
%if %{__isa_bits} == 64
|
||||
%meson --auto-features=enabled -Dforce_fallback_for=vkroots,wlroots,libliftoff
|
||||
%else
|
||||
%meson -Denable_gamescope=false -Denable_gamescope_wsi_layer=true
|
||||
%endif
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
cd gamescope
|
||||
%meson_install --skip-subprojects
|
||||
|
||||
%if %{__isa_bits} == 64
|
||||
install -Dm755 %{SOURCE1} %{buildroot}%{_bindir}/gamescope-legacy
|
||||
%endif
|
||||
|
||||
%files
|
||||
%license gamescope/LICENSE
|
||||
%doc gamescope/README.md
|
||||
%if %{__isa_bits} == 64
|
||||
%caps(cap_sys_nice=eip) %{_bindir}/gamescope
|
||||
%{_bindir}/gamescopectl
|
||||
%{_bindir}/gamescopestream
|
||||
%{_bindir}/gamescopereaper
|
||||
%{_bindir}/gamescope-legacy
|
||||
%endif
|
||||
|
||||
%files libs
|
||||
%{_libdir}/libVkLayer_FROG_gamescope_wsi_*.so
|
||||
%{_datadir}/vulkan/implicit_layer.d/VkLayer_FROG_gamescope_wsi.*.json
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
curl -o ./1483.patch https://patch-diff.githubusercontent.com/raw/ValveSoftware/gamescope/pull/1483.patch
|
||||
@@ -0,0 +1,39 @@
|
||||
From 35e001dc59a44227d670c667a85a6ef5472eee58 Mon Sep 17 00:00:00 2001
|
||||
From: antheas <git@antheas.dev>
|
||||
Date: Sat, 20 Jul 2024 01:23:19 +0300
|
||||
Subject: [PATCH v2] always send ctrl+1/2 to steam's wayland session
|
||||
|
||||
---
|
||||
src/wlserver.cpp | 10 +++++++++-
|
||||
1 file changed, 9 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/wlserver.cpp b/src/wlserver.cpp
|
||||
index 1852be9..7de737d 100644
|
||||
--- a/src/wlserver.cpp
|
||||
+++ b/src/wlserver.cpp
|
||||
@@ -369,7 +369,12 @@ static void wlserver_handle_key(struct wl_listener *listener, void *data)
|
||||
keysym == XKB_KEY_XF86AudioLowerVolume ||
|
||||
keysym == XKB_KEY_XF86AudioRaiseVolume ||
|
||||
keysym == XKB_KEY_XF86PowerOff;
|
||||
- if ( ( event->state == WL_KEYBOARD_KEY_STATE_PRESSED || event->state == WL_KEYBOARD_KEY_STATE_RELEASED ) && forbidden_key )
|
||||
+
|
||||
+ // Check for steam keys (ctrl + 1/2)
|
||||
+ bool is_steamshortcut = (keyboard->wlr->modifiers.depressed & WLR_MODIFIER_CTRL) && (keysym == XKB_KEY_1 ||
|
||||
+ keysym == XKB_KEY_2);
|
||||
+
|
||||
+ if ( ( event->state == WL_KEYBOARD_KEY_STATE_PRESSED || event->state == WL_KEYBOARD_KEY_STATE_RELEASED ) && (forbidden_key || is_steamshortcut) )
|
||||
{
|
||||
// Always send volume+/- to root server only, to avoid it reaching the game.
|
||||
struct wlr_surface *old_kb_surf = wlserver.kb_focus_surface;
|
||||
@@ -378,6 +383,9 @@ static void wlserver_handle_key(struct wl_listener *listener, void *data)
|
||||
{
|
||||
wlserver_keyboardfocus( new_kb_surf, false );
|
||||
wlr_seat_set_keyboard( wlserver.wlr.seat, keyboard->wlr );
|
||||
+ // Send modifiers to steam for it to work
|
||||
+ if (is_steamshortcut)
|
||||
+ wlr_seat_keyboard_notify_modifiers(wlserver.wlr.seat, &keyboard->wlr->modifiers);
|
||||
wlr_seat_keyboard_notify_key( wlserver.wlr.seat, event->time_msec, event->keycode, event->state );
|
||||
wlserver_keyboardfocus( old_kb_surf, false );
|
||||
return;
|
||||
--
|
||||
2.45.2
|
||||
@@ -1,9 +1,9 @@
|
||||
%define osuresver 2024.713.0
|
||||
%define osuresver 2024.810.0
|
||||
%global debug_package %{nil}
|
||||
%define __strip /bin/true
|
||||
|
||||
Name: osu-lazer
|
||||
Version: 2024.726.0
|
||||
Version: 2024.817.0
|
||||
Release: 1%?dist
|
||||
Summary: The future of osu! and the beginning of an open era! Commonly known by the codename osu!lazer. Pew pew.
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%define debug_package %nil
|
||||
|
||||
Name: crystal
|
||||
Version: 1.13.1
|
||||
Version: 1.13.2
|
||||
Release: 1%?dist
|
||||
Summary: The Crystal Programming Language
|
||||
License: Apache-2.0
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: dart
|
||||
Version: 3.4.4
|
||||
Version: 3.5.1
|
||||
Release: 1%?dist
|
||||
Summary: The Dart Language
|
||||
License: BSD-3-Clause
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
# https://github.com/charmbracelet/glow
|
||||
%global goipath github.com/charmbracelet/glow
|
||||
Version: 1.5.1
|
||||
Version: 2.0.0
|
||||
|
||||
%gometa -f
|
||||
|
||||
@@ -15,7 +15,7 @@ Render markdown on the CLI, with pizzazz! 💅🏻.}
|
||||
%global godocs README.md
|
||||
|
||||
Name: %{goname}
|
||||
Release: 1%{?dist}
|
||||
Release: 1%?dist
|
||||
Summary: Render markdown on the CLI, with pizzazz! 💅🏻
|
||||
|
||||
License: MIT
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
# https://github.com/xyproto/textoutput
|
||||
%global goipath github.com/xyproto/textoutput
|
||||
Version: 1.16.4
|
||||
Version: 1.16.6
|
||||
|
||||
%gometa -f
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
# https://github.com/xyproto/vt100
|
||||
%global goipath github.com/xyproto/vt100
|
||||
Version: 1.14.4
|
||||
Version: 1.14.5
|
||||
|
||||
%gometa -f
|
||||
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Name: kotlin-native
|
||||
Version: 1.9.25
|
||||
Version: 2.0.20
|
||||
Release: 1%?dist
|
||||
Summary: LLVM backend for the Kotlin compiler
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
License: ASL 2.0
|
||||
URL: https://kotlinlang.org/docs/reference/native-overview.html
|
||||
Source0: https://github.com/JetBrains/kotlin/releases/download/v%version/kotlin-native-linux-x86_64-%version.tar.gz
|
||||
Source0: https://github.com/JetBrains/kotlin/releases/download/v%version/kotlin-native-prebuilt-linux-x86_64-%version.tar.gz
|
||||
|
||||
BuildRequires: tar
|
||||
BuildRequires: sed
|
||||
@@ -28,7 +28,7 @@ Kotlin compiler and native implementation of the Kotlin standard library.
|
||||
|
||||
|
||||
%prep
|
||||
tar -xf %{SOURCE0} && cd kotlin-native-linux-x86_64-%{version}
|
||||
tar -xf %{SOURCE0} && cd kotlin-native-prebuilt-linux-x86_64-%{version}
|
||||
sed -i "s|\(DIR *= *\).*|\1%{_bindir}|" bin/*
|
||||
sed -i "s|\(KONAN_HOME *= *\).*|\1%{_datadir}/%{name}|" bin/*
|
||||
|
||||
@@ -36,7 +36,7 @@ sed -i "s|\(KONAN_HOME *= *\).*|\1%{_datadir}/%{name}|" bin/*
|
||||
%build
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot} && mkdir -p %{buildroot}%{_bindir}/ && cd kotlin-native-linux-x86_64-%{version}
|
||||
rm -rf %{buildroot} && mkdir -p %{buildroot}%{_bindir}/ && cd kotlin-native-prebuilt-linux-x86_64-%{version}
|
||||
install -m 0755 bin/cinterop %{buildroot}%{_bindir}/
|
||||
install -m 0755 bin/generate-platform %{buildroot}%{_bindir}/
|
||||
install -m 0755 bin/jsinterop %{buildroot}%{_bindir}/
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
Name: kotlin
|
||||
Version: 1.9.25
|
||||
Version: 2.0.20
|
||||
Release: 1%?dist
|
||||
Summary: Statically typed programming language
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
%bcond_with doc
|
||||
|
||||
Name: python-%{srcname}
|
||||
Version: 0.17.0
|
||||
Release: 0%{?dist}
|
||||
Version: 0.18.0
|
||||
Release: 1%?dist
|
||||
Summary: Python library for working with HEIF images and plugin for Pillow
|
||||
|
||||
License: BSD-3-Clause
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
%global pypi_name protobuf
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 5.27.2
|
||||
Version: 5.27.3
|
||||
Release: 1%?dist
|
||||
Summary: Protocol Buffers
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: python3-ruff
|
||||
Version: 0.5.5
|
||||
Version: 0.5.7
|
||||
Release: 1%?dist
|
||||
Summary: An extremely fast Python linter, written in Rust
|
||||
License: MIT
|
||||
|
||||
@@ -1,23 +1,20 @@
|
||||
--- bandwhich-0.22.2/Cargo.toml 1970-01-01T00:00:01+00:00
|
||||
+++ bandwhich-0.22.2/Cargo.toml 2024-02-02T05:59:38.855816+00:00
|
||||
@@ -149,20 +149,6 @@
|
||||
version = "0.25.0"
|
||||
features = ["derive"]
|
||||
|
||||
-[target."cfg(any(target_os = \"macos\", target_os = \"freebsd\"))".dependencies.regex]
|
||||
-version = "1.10.3"
|
||||
-
|
||||
[target."cfg(target_os = \"linux\")".dependencies.procfs]
|
||||
--- bandwhich-0.23.0/Cargo.toml 1970-01-01T00:00:01+00:00
|
||||
+++ bandwhich-0.23.0/Cargo.toml 2024-08-18T04:14:50.797745+00:00
|
||||
@@ -165,17 +165,3 @@
|
||||
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies.procfs]
|
||||
version = "0.16.0"
|
||||
|
||||
-[target."cfg(target_os = \"windows\")".dependencies.netstat2]
|
||||
-[target.'cfg(any(target_os = "macos", target_os = "freebsd"))'.dependencies.regex]
|
||||
-version = "1.10.5"
|
||||
-
|
||||
-[target.'cfg(target_os = "windows")'.dependencies.netstat2]
|
||||
-version = "0.9.1"
|
||||
-
|
||||
-[target."cfg(target_os = \"windows\")".dependencies.sysinfo]
|
||||
-version = "0.30.5"
|
||||
-[target.'cfg(target_os = "windows")'.dependencies.sysinfo]
|
||||
-version = "0.31.0"
|
||||
-
|
||||
-[target."cfg(target_os = \"windows\")".build-dependencies.http_req]
|
||||
-version = "0.10.2"
|
||||
-[target.'cfg(target_os = "windows")'.build-dependencies.http_req]
|
||||
-version = "0.11.1"
|
||||
-
|
||||
-[target."cfg(target_os = \"windows\")".build-dependencies.zip]
|
||||
-version = "0.6.6"
|
||||
-[target.'cfg(target_os = "windows")'.build-dependencies.zip]
|
||||
-version = "2.1.6"
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
# Generated by rust2rpm 25
|
||||
# Generated by rust2rpm 26
|
||||
#bcond_without check
|
||||
%bcond_without mold
|
||||
|
||||
%global crate bandwhich
|
||||
|
||||
Name: rust-bandwhich
|
||||
Version: 0.22.2
|
||||
Release: 1%{?dist}
|
||||
Version: 0.23.0
|
||||
Release: 1%?dist
|
||||
Summary: Display current network utilization by process, connection and remote IP/hostname
|
||||
|
||||
License: MIT
|
||||
@@ -14,7 +15,7 @@ Source: %{crates_source}
|
||||
# Automatically generated patch to strip dependencies and normalize metadata
|
||||
Patch: bandwhich-fix-metadata-auto.diff
|
||||
|
||||
BuildRequires: anda-srpm-macros cargo-rpm-macros >= 24
|
||||
BuildRequires: anda-srpm-macros mold cargo-rpm-macros >= 24
|
||||
|
||||
%global _description %{expand:
|
||||
Display current network utilization by process, connection and remote
|
||||
@@ -30,10 +31,11 @@ License: MIT
|
||||
|
||||
%files -n %{crate}
|
||||
%license LICENSE.md
|
||||
#license LICENSE.dependencies
|
||||
%license LICENSE.dependencies
|
||||
%doc CHANGELOG.md
|
||||
%doc CODE_OF_CONDUCT.md
|
||||
%doc CONTRIBUTING.md
|
||||
%doc INSTALL.md
|
||||
%doc README.md
|
||||
%{_bindir}/bandwhich
|
||||
|
||||
@@ -42,9 +44,9 @@ License: MIT
|
||||
%cargo_prep_online
|
||||
|
||||
%build
|
||||
%cargo_build
|
||||
#{cargo_license_summary}
|
||||
#{cargo_license} > LICENSE.dependencies
|
||||
#cargo_build
|
||||
%{cargo_license_summary_online}
|
||||
%{cargo_license_online} > LICENSE.dependencies
|
||||
|
||||
%install
|
||||
%cargo_install
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: bat-extras
|
||||
Version: 2024.07.10
|
||||
Version: 2024.08.24
|
||||
Release: 1%?dist
|
||||
Summary: Bash scripts that integrate bat with various command line tools
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user