mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
Compare commits
266 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2846e2f51a | |||
| 87ef72a82a | |||
| 5c0c3cb315 | |||
| e3ecaddc58 | |||
| dac50c40ca | |||
| 08324d6892 | |||
| 0a31098572 | |||
| 439fc8997f | |||
| 5d03701dad | |||
| c49d2a3a77 | |||
| ea9a5f96a0 | |||
| 85a8ad918a | |||
| 5bdfbae6b6 | |||
| 19ef737293 | |||
| 5b17c54b63 | |||
| 50d34ad8e3 | |||
| be487645bd | |||
| 5f931e4d9c | |||
| 63b54b3572 | |||
| 5a6b6c1bb7 | |||
| ae4953a909 | |||
| 79a0ccf741 | |||
| a8c2db60ff | |||
| 819a53d7e3 | |||
| 0088f3ae49 | |||
| cea240c59a | |||
| 978b73c0c5 | |||
| 78d85f7f61 | |||
| e52db64d47 | |||
| dadc2f4de4 | |||
| d39c1887bf | |||
| 8ba806f752 | |||
| e81f5eda49 | |||
| 4f71a10b16 | |||
| ead8d57190 | |||
| 7f89806d4a | |||
| 3c2f1b6ba8 | |||
| 35464539e7 | |||
| 63b1bed0ba | |||
| 0c5063b950 | |||
| 26021aad2d | |||
| 6051baf6a5 | |||
| e389c9b0bc | |||
| 1fe26df2c3 | |||
| d78e25df36 | |||
| 4104b5da65 | |||
| 4cd1e4515d | |||
| f6f07e801c | |||
| 239e50d809 | |||
| b393238b82 | |||
| 9c647f78b5 | |||
| 0d819de5cd | |||
| 985bbb3952 | |||
| 570eef2e8a | |||
| cf341cd039 | |||
| 52fc3a8b3b | |||
| f910c49858 | |||
| 2ac7aa91e9 | |||
| f7d8cad7cd | |||
| 41cae7b9a1 | |||
| 9648b30c8e | |||
| 1f07bf3375 | |||
| 3f8a4bfa6f | |||
| 4d29e49e4d | |||
| 04880069c6 | |||
| 713a5c6f14 | |||
| 6e4a3c8c75 | |||
| c7339c8501 | |||
| d4bf30d327 | |||
| 460d5fd3e6 | |||
| 740e79f8b4 | |||
| c5560f7097 | |||
| 7d25f698b6 | |||
| 0aadea3513 | |||
| 32fd74ff39 | |||
| 53005d54b1 | |||
| 7f7c228dd4 | |||
| 408f145632 | |||
| aff41af4e7 | |||
| 0a3d3684c6 | |||
| 26f39a315f | |||
| 2923685087 | |||
| fb2db2b6a1 | |||
| 06f9f77b1a | |||
| 40a88cf490 | |||
| 925a9b161c | |||
| a5de55489e | |||
| 3e6efd6072 | |||
| 4159d284cc | |||
| 880afd6ff6 | |||
| 12099a6b56 | |||
| 469cd97a42 | |||
| 22996bf9c6 | |||
| d40e8a24d4 | |||
| 77f475d710 | |||
| 09ac34ee6a | |||
| 991c5b718a | |||
| a5cef48281 | |||
| 78bb48cda4 | |||
| fc60a7018d | |||
| ad345e1ae5 | |||
| d6965718bb | |||
| 70e7b459fe | |||
| f88bdf4de9 | |||
| b46e969239 | |||
| d034825c22 | |||
| ba54a8b7c7 | |||
| d35c818a3e | |||
| f5bb1e7320 | |||
| d7a342150c | |||
| 0e598c0d9c | |||
| 71aebcc3ba | |||
| ed51bc5736 | |||
| bf62f9af4f | |||
| c794b56262 | |||
| 0932d671cc | |||
| 9af6a9471b | |||
| 2c3e94b28a | |||
| 9e1b36c950 | |||
| 3e88e554a6 | |||
| ae1c00d85c | |||
| 9365ab2406 | |||
| 841347d99b | |||
| 75f7c2c486 | |||
| 650abcf67e | |||
| 3d330414e0 | |||
| 42662003e9 | |||
| 640348316d | |||
| 4003f3569a | |||
| b0887e01e6 | |||
| a2213c856c | |||
| 71a985c675 | |||
| 9c2edb9f87 | |||
| ae0beda079 | |||
| cdd016b9d8 | |||
| a7f7b98986 | |||
| 269ddeba80 | |||
| 9ef5fe6103 | |||
| bde4443fdb | |||
| 085d4fc4e2 | |||
| d2ee643b86 | |||
| da2e32b69a | |||
| fab1f2ac03 | |||
| a6fcd29c2a | |||
| 51dd34aeeb | |||
| b0b50aa319 | |||
| 1863f84d6b | |||
| ee3578daac | |||
| e230ae6a62 | |||
| 4342040571 | |||
| e484a09aff | |||
| 07429fc1fd | |||
| 841d343282 | |||
| a6a50cdfc4 | |||
| a832e535ad | |||
| ae1cafc2e6 | |||
| e98cac8dfc | |||
| e9bfa1b86c | |||
| 3bbc3d02c7 | |||
| ff14d3ed16 | |||
| 82e6ea8f3b | |||
| ccc4f69922 | |||
| 4645fac9f4 | |||
| ce991a53cf | |||
| 0f10740c32 | |||
| 47bcefb7b8 | |||
| ca0bff15c0 | |||
| ae8782ffe9 | |||
| e0c99f0aec | |||
| 9614b55dac | |||
| 6d3c79d27f | |||
| b8d3d00fa4 | |||
| e6c0700ba4 | |||
| cbc0982b7b | |||
| 922e590f08 | |||
| 3f152da1c5 | |||
| e52b880d35 | |||
| e02e1181e1 | |||
| a333038ea6 | |||
| e1b301c1c3 | |||
| ce6d1e1abd | |||
| 111609af05 | |||
| a61ce2b93e | |||
| c1c9a4f517 | |||
| c7f8261ea4 | |||
| 4a3050c18e | |||
| 562cf68d3f | |||
| 024d6cfe48 | |||
| c72c975c16 | |||
| a80f8ea3b9 | |||
| f72e51a576 | |||
| e9a77136f6 | |||
| daee1f621a | |||
| 68fbd0e78d | |||
| 8cec8576cf | |||
| d590e79234 | |||
| 8558d6da40 | |||
| 622602e3de | |||
| b4d26991a0 | |||
| 194b1a27f8 | |||
| 02be8ba29e | |||
| becb6b1fa3 | |||
| bc61d59c36 | |||
| bb0f2602e4 | |||
| 6a0e898975 | |||
| 0b02bea098 | |||
| 1d465daf01 | |||
| 7a98355e4a | |||
| 682491935e | |||
| 50c0479932 | |||
| 7a7fbed9ee | |||
| dfe236e3e1 | |||
| febf58ec07 | |||
| 196df57361 | |||
| ff8ee3eaac | |||
| 2e1af7d362 | |||
| 0bcf1ec7bf | |||
| 861324a2a1 | |||
| af44ae46f4 | |||
| f8d526745f | |||
| f074b98ff5 | |||
| 08fb140706 | |||
| 817e94353f | |||
| 53b778d355 | |||
| b62744120d | |||
| e1aa9f9f72 | |||
| 10abb8b734 | |||
| 7f3e685d25 | |||
| a73d690d16 | |||
| 88398701a0 | |||
| 0344f78b50 | |||
| c13348993b | |||
| 273a50d7d1 | |||
| 437ecb5865 | |||
| 7971629871 | |||
| 1fbae5146b | |||
| d7c0718d7c | |||
| 64c40b5768 | |||
| 64eec9db7f | |||
| 059752923e | |||
| 376832d02e | |||
| 5604e34f51 | |||
| 47fb6768dd | |||
| da66b0a81e | |||
| b17cd0df52 | |||
| 41e5131b87 | |||
| 2fe69864bf | |||
| 1fa85803cf | |||
| 9d8d35aa88 | |||
| 57fad58d1d | |||
| 451ba61d57 | |||
| 8e769c0445 | |||
| 08d9e30dd9 | |||
| b0162c549b | |||
| 230a8732ff | |||
| 87be8de6e1 | |||
| 7542881b0c | |||
| a135f32e2b | |||
| 482456c58c | |||
| 17260611cd | |||
| 9a9c4e2c5f | |||
| a7c3b8f139 | |||
| 76126f783f | |||
| ac017e8f84 | |||
| d160038cf4 | |||
| 0186a71f5b |
@@ -18,8 +18,7 @@ on:
|
||||
|
||||
jobs:
|
||||
manifest:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
runs-on: ubuntu-22.04
|
||||
outputs:
|
||||
build_matrix: ${{ steps.generate_build_matrix.outputs.build_matrix }}
|
||||
container:
|
||||
@@ -42,7 +41,7 @@ jobs:
|
||||
pkg: ${{ fromJson(needs.manifest.outputs.build_matrix) }}
|
||||
version: ["rawhide"]
|
||||
fail-fast: false
|
||||
runs-on: ${{ matrix.pkg.arch == 'aarch64' && 'ARM64' || matrix.pkg.labels['large'] && 'x86-64-lg' || 'ubuntu-latest' }}
|
||||
runs-on: ${{ matrix.pkg.arch == 'aarch64' && 'ARM64' || matrix.pkg.labels['large'] && 'x86-64-lg' || 'ubuntu-22.04' }}
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:f${{ matrix.version }}
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
@@ -90,18 +89,20 @@ jobs:
|
||||
- name: Upload packages to subatomic
|
||||
if: github.event_name == 'push'
|
||||
run: |
|
||||
subrepo="${{ matrix.pkg.labels.subrepo }}"
|
||||
subatomic-cli upload --prune \
|
||||
--server https://subatomic.fyralabs.com \
|
||||
--token ${{ secrets.SUBATOMIC_TOKEN }} \
|
||||
terra${{ matrix.version }}${{ matrix.pkg.labels['extra'] && '-extras' }} anda-build/rpm/rpms/*
|
||||
terra${{ matrix.version }}${{ matrix.pkg.labels['subrepo'] && '-$subrepo' || '' }} anda-build/rpm/rpms/*
|
||||
|
||||
- name: Upload source packages to subatomic
|
||||
if: github.event_name == 'push'
|
||||
run: |
|
||||
subrepo="${{ matrix.pkg.labels.subrepo }}"
|
||||
subatomic-cli upload --prune \
|
||||
--server https://subatomic.fyralabs.com \
|
||||
--token ${{ secrets.SUBATOMIC_TOKEN }} \
|
||||
terra${{ matrix.version }}${{ matrix.pkg.labels['extra'] && '-extras' }}-source anda-build/rpm/srpm/*
|
||||
terra${{ matrix.version }}${{ matrix.pkg.labels['subrepo'] && '-$subrepo' || '' }}-source anda-build/rpm/srpm/*
|
||||
|
||||
- name: Notify Madoguchi (Success)
|
||||
if: success() && github.event_name == 'push'
|
||||
|
||||
@@ -10,7 +10,7 @@ jobs:
|
||||
version: ["rawhide"]
|
||||
arch: ["x86_64", "aarch64"]
|
||||
fail-fast: true
|
||||
runs-on: ${{ matrix.arch == 'aarch64' && 'ARM64' || 'ubuntu-latest' }}
|
||||
runs-on: ${{ matrix.arch == 'aarch64' && 'ARM64' || 'ubuntu-22.04' }}
|
||||
container:
|
||||
image: registry.fedoraproject.org/fedora-minimal:${{ matrix.version }}
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
|
||||
@@ -21,7 +21,7 @@ jobs:
|
||||
pkgs: ${{ steps.parsing.outputs.pkgs }}
|
||||
builder: ${{ inputs.custom_builder }}
|
||||
arch: ${{ steps.parsing.outputs.arch }}
|
||||
runs-on: "ubuntu-latest"
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Parse Input
|
||||
id: parsing
|
||||
@@ -47,7 +47,7 @@ jobs:
|
||||
version: ["rawhide"]
|
||||
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' }}
|
||||
runs-on: ${{ matrix.arch == 'aarch64' && 'ARM64' || needs.parse.outputs.builder && needs.parse.outputs.builder || 'ubuntu-22.04' }}
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:f${{ matrix.version }}
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
@@ -60,15 +60,8 @@ jobs:
|
||||
- name: Set up git repository
|
||||
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
|
||||
- name: CI Setup Script
|
||||
run: |
|
||||
dir=${{ matrix.pkg }}
|
||||
if [ -f $dir/ci_setup.rhai ]; then
|
||||
anda run $dir/ci_setup.rhai --labels script_path=$dir/ci_setup.rhai
|
||||
fi
|
||||
|
||||
- name: Build with Andaman
|
||||
run: anda build -rrpmbuild anda/${{ matrix.pkg }}pkg
|
||||
run: anda build -c terra-${{ matrix.version }}-${{ matrix.arch }} anda/${{ matrix.pkg }}pkg
|
||||
|
||||
- name: Generating artifact name
|
||||
id: art
|
||||
|
||||
@@ -13,7 +13,7 @@ jobs:
|
||||
pkg: ${{ fromJson(inputs.packages) }}
|
||||
version: ["rawhide"]
|
||||
fail-fast: false
|
||||
runs-on: ${{ matrix.pkg.arch == 'aarch64' && 'ARM64' || 'ubuntu-latest' }}
|
||||
runs-on: ${{ matrix.pkg.arch == 'aarch64' && 'ARM64' || 'ubuntu-22.04' }}
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:f${{ matrix.version }}
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
@@ -60,17 +60,19 @@ jobs:
|
||||
|
||||
- name: Upload packages to subatomic
|
||||
run: |
|
||||
subrepo="${{ matrix.pkg.labels.subrepo }}"
|
||||
subatomic-cli upload --prune \
|
||||
--server https://subatomic.fyralabs.com \
|
||||
--token ${{ secrets.SUBATOMIC_TOKEN }} \
|
||||
terra${{ matrix.version }}${{ matrix.pkg.labels['extra'] && '-extras' }} anda-build/rpm/rpms/*
|
||||
terra${{ matrix.version }}${{ matrix.pkg.labels['subrepo'] && '-$subrepo' || '' }} anda-build/rpm/rpms/*
|
||||
|
||||
- name: Upload source packages to subatomic
|
||||
run: |
|
||||
subrepo="${{ matrix.pkg.labels.subrepo }}"
|
||||
subatomic-cli upload --prune \
|
||||
--server https://subatomic.fyralabs.com \
|
||||
--token ${{ secrets.SUBATOMIC_TOKEN }} \
|
||||
terra${{ matrix.version }}${{ matrix.pkg.labels['extra'] && '-extras' }}-source anda-build/rpm/srpm/*
|
||||
terra${{ matrix.version }}${{ matrix.pkg.labels['subrepo'] && '-$subrepo' || '' }}-source anda-build/rpm/srpm/*
|
||||
|
||||
- name: Notify Madoguchi (Success)
|
||||
if: success()
|
||||
|
||||
@@ -7,7 +7,7 @@ on:
|
||||
jobs:
|
||||
backport:
|
||||
name: Backport/sync PR
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
if: github.event.pull_request.merged
|
||||
steps:
|
||||
- name: Install SSH signing key
|
||||
|
||||
@@ -6,7 +6,7 @@ on:
|
||||
|
||||
jobs:
|
||||
autoupdate:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
matrix:
|
||||
branch:
|
||||
|
||||
@@ -13,7 +13,7 @@ on:
|
||||
|
||||
jobs:
|
||||
update-comps:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:frawhide
|
||||
steps:
|
||||
|
||||
@@ -6,7 +6,7 @@ on:
|
||||
|
||||
jobs:
|
||||
autoupdate:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:frawhide
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
name: Weekly Update
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 0 * * 0"
|
||||
- cron: "0 0 * * *"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
autoupdate:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:frawhide
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
@@ -25,7 +25,7 @@ jobs:
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
|
||||
- name: Run Weekly Update
|
||||
run: anda update --filters weekly=1
|
||||
run: anda update --filters weekly=$(date "+%w")
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
RUST_BACKTRACE: full
|
||||
|
||||
@@ -6,7 +6,7 @@ on:
|
||||
|
||||
jobs:
|
||||
autoupdate:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:frawhide
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
|
||||
@@ -3,4 +3,7 @@ project pkg {
|
||||
rpm {
|
||||
spec = "anki-bin.spec"
|
||||
}
|
||||
labels {
|
||||
subrepo = "extras"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,26 +4,29 @@
|
||||
|
||||
Name: anki-bin
|
||||
Version: 24.11
|
||||
Release: 1%?dist
|
||||
Release: 2%?dist
|
||||
Summary: Flashcard program for using space repetition learning (Installed with wheel)
|
||||
License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5
|
||||
URL: https://apps.ankiweb.net/
|
||||
BuildRequires: python3-pip rpm_macro(fdupes) cargo
|
||||
Requires: python3-sqlalchemy python3-simplejson python3-matplotlib python3-decorator python3-markdown python3-orjson
|
||||
Requires: python3-requests python3-pygame python3-beautifulsoup4 python3-httplib2 python3-pyaudio python3-jsonschema
|
||||
Requires: python3-flask-cors python3-protobuf python3-requests python3-waitress python3-pyqt6-webengine python3-send2trash
|
||||
Requires: libxcrypt-compat hicolor-icon-theme sox mpv
|
||||
ExclusiveArch: x86_64
|
||||
BuildRequires: python3-pip rpm_macro(fdupes) cargo
|
||||
Requires: python3-sqlalchemy python3-simplejson python3-matplotlib python3-decorator python3-markdown python3-orjson
|
||||
Requires: python3-requests python3-pygame python3-beautifulsoup4 python3-httplib2 python3-pyaudio python3-jsonschema
|
||||
Requires: python3-flask-cors python3-protobuf python3-requests python3-waitress python3-pyqt6-webengine python3-send2trash
|
||||
Requires: python3-protobuf >= 4.21
|
||||
Requires: libxcrypt-compat hicolor-icon-theme sox
|
||||
Requires: (mpv or mpv-nightly)
|
||||
|
||||
ExclusiveArch: x86_64
|
||||
Conflicts: anki
|
||||
%ifarch x86_64
|
||||
Source0: %xurl
|
||||
%elifarch aarch64
|
||||
Source0: %aurl
|
||||
Source0: %aurl
|
||||
%endif
|
||||
Source1: %qurl
|
||||
Source2: https://raw.githubusercontent.com/ankitects/anki/%{version}/qt/runanki.py
|
||||
Source3: https://raw.githubusercontent.com/ankitects/anki/%{version}/qt/bundle/lin/anki.desktop
|
||||
Source4: https://raw.githubusercontent.com/ankitects/anki/%{version}/qt/bundle/lin/anki.png
|
||||
Source4: https://raw.githubusercontent.com/ankitects/anki/%{version}/qt/bundle/lin/anki.png
|
||||
Source5: https://raw.githubusercontent.com/ankitects/anki/%{version}/LICENSE
|
||||
Source6: https://raw.githubusercontent.com/ankitects/anki/%{version}/README.md
|
||||
|
||||
|
||||
@@ -3,4 +3,7 @@ project pkg {
|
||||
rpm {
|
||||
spec = "anki.spec"
|
||||
}
|
||||
labels {
|
||||
subrepo = "extras"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ BuildRequires: python3-distro python3-flask-cors python3-jsonschema python3-sen
|
||||
BuildRequires: python3-installer make mold cargo git rsync ninja-build libxcrypt-compat nodejs python3.9 python-unversioned-command gcc python3-pyqt6-webengine
|
||||
Requires: hicolor-icon-theme python3-sqlalchemy python3-simplejson python3-matplotlib python3-decorator python3-markdown python3-send2trash
|
||||
Requires: python3-requests python3-pygame python3-beautifulsoup4 python3-httplib2 python3-pyaudio python3-jsonschema sox libxcrypt-compat python3-pyqt6-webengine
|
||||
Recommends: mpv
|
||||
Recommends: (mpv or mpv-nightly)
|
||||
Obsoletes: anki <= 2.1.15
|
||||
Conflicts: anki-qt5
|
||||
Patch0: 0001-No-update.patch
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "blackbox-terminal.spec"
|
||||
}
|
||||
rpm {
|
||||
spec = "blackbox-terminal.spec"
|
||||
}
|
||||
labels {
|
||||
subrepo = "extras"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,10 +1,17 @@
|
||||
%global commit d5fff0dd5bfb8bda19b050f66610d19370c5fd39
|
||||
%global commit_date 20241019
|
||||
%global shortcommit %{sub %{commit} 1 7}
|
||||
|
||||
Name: blackbox-terminal
|
||||
Version: 0.14.0
|
||||
Version: 0.14.0^%{commit_date}.%{shortcommit}
|
||||
Release: 1%{?dist}
|
||||
Summary: A beautiful GTK 4 terminal
|
||||
|
||||
License: GPL-3.0
|
||||
URL: https://gitlab.gnome.org/raggesilver/blackbox
|
||||
BuildRequires: vala meson gettext
|
||||
Source0: %{url}/-/archive/%{commit}/blackbox-%{commit}.tar.gz
|
||||
|
||||
BuildRequires: vala meson gettext
|
||||
BuildRequires: pkgconfig(gtk4) >= 4.6.2
|
||||
BuildRequires: pkgconfig(gio-2.0) >= 2.50
|
||||
BuildRequires: libadwaita-devel >= 1.1
|
||||
@@ -17,13 +24,12 @@ BuildRequires: pkgconfig(libpcre2-8)
|
||||
BuildRequires: pkgconfig(graphene-gobject-1.0)
|
||||
BuildRequires: pkgconfig(gee-0.8)
|
||||
BuildRequires: desktop-file-utils libappstream-glib cmake
|
||||
Source0: %url/-/archive/v%version/blackbox-v%version.tar.gz
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
An elegant and customizable terminal for GNOME.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n blackbox-v%version
|
||||
%autosetup -n blackbox-%{commit}
|
||||
|
||||
%build
|
||||
%meson
|
||||
@@ -33,7 +39,7 @@ Source0: %url/-/archive/v%version/blackbox-v%version.tar.gz
|
||||
%meson_install
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet %buildroot/%_datadir/metainfo/com.raggesilver.BlackBox.metainfo.xml
|
||||
appstream-util validate-relax --nonet %buildroot%_datadir/metainfo/com.raggesilver.BlackBox.metainfo.xml
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
@@ -52,7 +58,6 @@ appstream-util validate-relax --nonet %buildroot/%_datadir/metainfo/com.raggesil
|
||||
%_datadir/locale/*/LC_MESSAGES/blackbox.mo
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Oct 23 2022 windowsboy111 <windowsboy111@fyralabs.com>
|
||||
- Initial package
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
let txt = get("https://gitlab.gnome.org/api/v4/projects/20397/releases/");
|
||||
let ver = txt.json_arr()[0].tag_name;
|
||||
ver.crop(1);
|
||||
rpm.version(ver);
|
||||
rpm.global("commit", gitlab_commit("gitlab.gnome.org", "20397", "main"));
|
||||
if rpm.changed {
|
||||
rpm.global("commit_date", date());
|
||||
rpm.release();
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-canary-openasar
|
||||
Version: 0.0.555
|
||||
Version: 0.0.574
|
||||
Release: 1%?dist
|
||||
Summary: A snappier Discord rewrite with features like further customization and theming
|
||||
License: MIT AND https://discord.com/terms
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-canary
|
||||
Version: 0.0.555
|
||||
Version: 0.0.574
|
||||
Release: 1%?dist
|
||||
Summary: Free Voice and Text Chat for Gamers
|
||||
URL: discord.com
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-openasar
|
||||
Version: 0.0.78
|
||||
Version: 0.0.81
|
||||
Release: 1%?dist
|
||||
Summary: A snappier Discord rewrite with features like further customization and theming
|
||||
License: MIT AND https://discord.com/terms
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-ptb-openasar
|
||||
Version: 0.0.124
|
||||
Version: 0.0.127
|
||||
Release: 1%?dist
|
||||
Summary: A snappier Discord rewrite with features like further customization and theming
|
||||
License: MIT AND https://discord.com/terms
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-ptb
|
||||
Version: 0.0.124
|
||||
Version: 0.0.127
|
||||
Release: 1%?dist
|
||||
Summary: Free Voice and Text Chat for Gamers.
|
||||
URL: https://discord.com
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord
|
||||
Version: 0.0.78
|
||||
Version: 0.0.81
|
||||
Release: 1%?dist
|
||||
Summary: Free Voice and Text Chat for Gamers
|
||||
URL: https://discord.com
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
%global commit a651b87cc38ab9a208c9272b4f6e5021a1fbfa66
|
||||
%global commit_date 20250104
|
||||
%global commit 2bec37ee24d404a7b3f27aae499be13d5873b56f
|
||||
%global commit_date 20250122
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
Name: envision
|
||||
Name: envision-nightly
|
||||
Version: %commit_date.%shortcommit
|
||||
Release: 1%?dist
|
||||
Summary: UI for building, configuring and running Monado, the open source OpenXR runtime
|
||||
@@ -23,6 +23,7 @@ BuildRequires: desktop-file-utils
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: git-core
|
||||
Recommends: android-tools
|
||||
Conflicts: envision
|
||||
|
||||
%description
|
||||
%summary.
|
||||
|
||||
@@ -1,23 +1,19 @@
|
||||
%global commit d530f26d60dc105e44fdc8ac7f30a2f667bc1e4f
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20241224
|
||||
|
||||
Name: fontviewer
|
||||
Version: %{commit_date}.git~%{shortcommit}
|
||||
Epoch: 1
|
||||
Version: 1.1.0
|
||||
Release: 1%?dist
|
||||
Summary: View and install fonts
|
||||
|
||||
License: GPL-2.0
|
||||
URL: https://github.com/chocolateimage/%{name}
|
||||
Source0: %{url}/archive/%{commit}.tar.gz
|
||||
Source0: %{url}/archive/v%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: meson
|
||||
BuildRequires: pkgconfig(cairomm-1.0)
|
||||
BuildRequires: pkgconfig(fontconfig)
|
||||
BuildRequires: pkgconfig(freetype2)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(gtkmm-3.0)
|
||||
BuildRequires: pkgconfig(libcurl)
|
||||
BuildRequires: json-glib-devel
|
||||
|
||||
Requires: gtk3 fontconfig
|
||||
|
||||
@@ -27,7 +23,7 @@ Packager: sadlerm <sad_lerm@hotmail.com>
|
||||
A platform-agnostic GTK+ 3 alternative to GNOME's Font Viewer
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{commit} -p1
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
%meson
|
||||
@@ -41,3 +37,4 @@ A platform-agnostic GTK+ 3 alternative to GNOME's Font Viewer
|
||||
%doc README.md
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/icons/hicolor/scalable/actions/%{name}-google-symbolic.svg
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
# rpm.global("commit", gh_commit("chocolateimage/fontviewer"));
|
||||
# if rpm.changed() {
|
||||
# rpm.release();
|
||||
# rpm.global("commit_date", date());
|
||||
# }
|
||||
rpm.version(gh("chocolateimage/fontviewer"));
|
||||
if rpm.changed() {
|
||||
rpm.release();
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
%global pure_protobuf_version 2.0.0
|
||||
|
||||
Name: komikku
|
||||
Version: 1.67.0
|
||||
Version: 1.68.0
|
||||
%forgemeta
|
||||
Release: 1%?dist
|
||||
Summary: A manga reader for GNOME
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/(armcord|legcord)/.*\\.so
|
||||
|
||||
Name: legcord-bin
|
||||
Version: 1.0.6
|
||||
Version: 1.0.8
|
||||
Release: 1%?dist
|
||||
License: OSL-3.0
|
||||
Summary: Custom lightweight Discord client designed to enhance your experience
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/(armcord|legcord)/.*\\.so
|
||||
|
||||
Name: legcord-bin
|
||||
Version: 1.0.6
|
||||
Version: 1.0.8
|
||||
Release: 1%?dist
|
||||
License: OSL-3.0
|
||||
Summary: Custom lightweight Discord client designed to enhance your experience
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global commit e4873a0060127ddaf8f91fb86de219e0d96ea4cf
|
||||
%global commit_date 20250104
|
||||
%global commit b8b5bcb6f48531ef55800b63b7b567db831be105
|
||||
%global commit_date 20250124
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%define debug_package %nil
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/(armcord|legcord)/.*\\.so
|
||||
|
||||
Name: legcord
|
||||
Version: 1.0.6
|
||||
Version: 1.0.8
|
||||
Release: 1%?dist
|
||||
License: OSL-3.0
|
||||
Summary: Custom lightweight Discord client designed to enhance your experience
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global commit 257395de995eebf48209e392798b1e6704c20802
|
||||
%global commit df3872e318ff7dd1ad9a4f6ca0822014e2c3f439
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20250104
|
||||
%global commit_date 20250123
|
||||
%global ver 0.39.0
|
||||
|
||||
Name: mpv-nightly
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- a/desktop/packages/linux/rs.ruffle.Ruffle.desktop
|
||||
+++ b/desktop/packages/linux/rs.ruffle.Ruffle.desktop
|
||||
@@ -47,7 +47,7 @@ Comment[zh_CN]=播放 Flash 游戏和动画
|
||||
@@ -54,7 +54,7 @@ Comment[zh_CN]=播放 Flash 游戏和动画
|
||||
Comment[zh_TW]=播放 Flash 遊戲和動畫
|
||||
Comment=Play Flash games & movies
|
||||
Icon=rs.ruffle.Ruffle
|
||||
@@ -8,4 +8,4 @@
|
||||
+Exec=ruffle_desktop %u
|
||||
MimeType=application/x-shockwave-flash;application/vnd.adobe.flash.movie
|
||||
Categories=AudioVideo;Player;Graphics;Viewer;VectorGraphics;Game
|
||||
Keywords[ar]=الفلاش;swf;مشغل;محاكي;رَسْت
|
||||
Keywords[ar]=الفلاش;swf;مشغل;محاكي
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%global ver 2025-01-04
|
||||
%global ver 2025-01-24
|
||||
%global goodver %(echo %ver | sed 's/-//g')
|
||||
%global __brp_mangle_shebangs %{nil}
|
||||
%bcond_without mold
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "sticky.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
diff --git a/usr/bin/sticky b/usr/bin/sticky
|
||||
index 7425e9c..a00e755 100755
|
||||
--- a/usr/bin/sticky
|
||||
+++ b/usr/bin/sticky
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
-/usr/lib/sticky/sticky.py $*
|
||||
+/usr/lib/python3*/site-packages/sticky/sticky.py $*
|
||||
@@ -0,0 +1,9 @@
|
||||
diff --git a/meson.build b/meson.build
|
||||
index b25d642..435a6f0 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -17,4 +17,3 @@ subdir('po')
|
||||
install_subdir('etc', install_dir: sysconfdir, strip_directory: true)
|
||||
install_subdir('usr', install_dir: prefix, strip_directory: true)
|
||||
|
||||
-meson.add_install_script('meson/meson-postinstall.sh')
|
||||
@@ -0,0 +1,62 @@
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: sticky
|
||||
Version: 1.24
|
||||
Release: 1%{?dist}
|
||||
Summary: A sticky notes app for the Linux desktop
|
||||
|
||||
License: GPL-2.0
|
||||
URL: https://github.com/linuxmint/sticky
|
||||
Source0: %{url}/archive/%{version}.tar.gz
|
||||
Patch0: remove-meson-postinstall-script.patch
|
||||
Patch1: point-executable-to-sitepackages-directory.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: meson
|
||||
BuildRequires: gettext-devel
|
||||
|
||||
Requires: python3
|
||||
Requires: glib2
|
||||
Requires: gspell
|
||||
Requires: gtk3
|
||||
Requires: python3-gobject-base
|
||||
Requires: python3-xapp
|
||||
Requires: xapps
|
||||
|
||||
Packager: sadlerm <sad_lerm@hotmail.com>
|
||||
|
||||
%description
|
||||
Sticky is a note-taking app for the Linux desktop that simulates traditional "sticky note" style stationery on your desktop. Some of its features include basic text formatting (bold, italics, monospaced, etc.), spell-checking, a tray icon for controlling note visibility, color notes, manual and automatic backups, and a manager to organize your notes into groups.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
mkdir -p %{buildroot}%{python3_sitelib}
|
||||
mv -v %{buildroot}%{_prefix}/lib/%{name} %{buildroot}%{python3_sitelib}/%{name}
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc README.md
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/glib-2.0/schemas/org.x.%{name}.gschema.xml
|
||||
%{_datadir}/icons/hicolor/scalable/apps/%{name}*.svg
|
||||
%{_datadir}/icons/hicolor/scalable/status/%{name}*.svg
|
||||
%{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
|
||||
%{_datadir}/%{name}/*
|
||||
%{_sysconfdir}/xdg/autostart/%{name}.desktop
|
||||
%{_datadir}/dbus-1/services/org.x.%{name}.service
|
||||
%{python3_sitelib}/%{name}/*.py
|
||||
%{python3_sitelib}/%{name}/__pycache__/*.pyc
|
||||
|
||||
%changelog
|
||||
* Thu Jan 16 2025 sadlerm4 <sad_lerm@hotmail.com>
|
||||
- Initial package
|
||||
@@ -3,6 +3,6 @@ project pkg {
|
||||
spec = "switcheroo-control.spec"
|
||||
}
|
||||
labels {
|
||||
extra = 1
|
||||
subrepo = "extras"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: voicevox
|
||||
Version: 0.22.3
|
||||
Version: 0.22.4
|
||||
Release: 1%?dist
|
||||
Summary: Free Japanese text-to-speech editor
|
||||
License: LGPL-3.0
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
%global pnpm npx pnpm@%{pnpm_version}
|
||||
|
||||
Name: youtube-music
|
||||
Version: 3.7.1
|
||||
Version: 3.7.2
|
||||
Release: 1%?dist
|
||||
Summary: YouTube Music Desktop App bundled with custom plugins (and built-in ad blocker / downloader)
|
||||
Source1: youtube-music.desktop
|
||||
|
||||
@@ -3,6 +3,6 @@ project pkg {
|
||||
spec = "gnome-shell.spec"
|
||||
}
|
||||
labels {
|
||||
extra = 1
|
||||
subrepo = "extras"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,6 +3,6 @@ project pkg {
|
||||
spec = "kf6-kio.spec"
|
||||
}
|
||||
labels {
|
||||
extra = 1
|
||||
subrepo = "extras"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global forgeurl https://github.com/KDE/latte-dock/
|
||||
|
||||
%global commit f79594dd01d4ff4d7e86ac7bf70d1c371d6d9e4e
|
||||
%global commit 6acb37bc5af067686c87924c7bd6955839599f6a
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date %(date '+%Y%m%d')
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-api
|
||||
Version: 0.2.1
|
||||
Release: 2%{?dist}
|
||||
Version: 0.2.2
|
||||
Release: 1%?dist
|
||||
Summary: API for Lomiri
|
||||
|
||||
License: LGPL-3.0-or-later
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-app-launch
|
||||
%global commit a057a37b56b96efddc7f42577407a3a08a0575cf
|
||||
%global commit 59b299a43db2443152b0dbe48d14bfc72d205e8b
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-app-launch
|
||||
Version: 0.1.9
|
||||
Release: 1%{?dist}
|
||||
Version: 0.1.11
|
||||
Release: 1%?dist
|
||||
Summary: Provides the Lomiri App Launch user space daemon
|
||||
License: GPL-3.0
|
||||
URL: https://gitlab.com/ubports/development/core/lomiri-app-launch
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-indicator-network
|
||||
%global commit a4522caf548d7e7f63f98f9e5c98314ee8d4c8fb
|
||||
%global commit 8393f80825de7447a5567a90d3725b469fae471b
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-indicator-network
|
||||
Version: 1.0.2
|
||||
Release: 1%{?dist}
|
||||
Version: 1.1.0
|
||||
Release: 1%?dist
|
||||
Summary: The Network indicator for Ubuntu Touch
|
||||
License: GPL-3.0 AND LGPL-3.0
|
||||
URL: https://gitlab.com/ubports/development/core/lomiri-indicator-network
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-schemas
|
||||
%global commit 0f3990afa510bc2b4af2cb198a23853e5bb3f068
|
||||
%global commit 4a74eca0e4dcb745521abf20f975854cc3478a70
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-schemas
|
||||
Version: 0.1.6
|
||||
Version: 0.1.7
|
||||
Release: 1%?dist
|
||||
Summary: Configuration schemas for lomiri
|
||||
License: LGPL-2.0-or-later
|
||||
|
||||
+3
-3
@@ -1,10 +1,10 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-settings-components
|
||||
%global commit 2bd84b9a59563dce7a791e0c882e2533ecdd4812
|
||||
%global commit 8be505f0a54e9803adcaa20fefe334b3c3b7d4e7
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-settings-components
|
||||
Version: 1.1.1
|
||||
Release: 1%{?dist}
|
||||
Version: 1.1.2
|
||||
Release: 1%?dist
|
||||
Summary: The system settings components for Lomiri
|
||||
License: GPLv3 AND LGPLv3
|
||||
URL: https://gitlab.com/ubports/development/core/lomiri-settings-components
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-system-settings
|
||||
%global commit b76a186705dcd4df15a941649c9de8586cf316bc
|
||||
%global commit 9f9a92375a49f01fdef9e06fe825ce8cf815ef6e
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-system-settings
|
||||
Version: 1.2.0
|
||||
Version: 1.3.0
|
||||
Release: 1%?dist
|
||||
Summary: The system settings application for Lomiri
|
||||
License: GPLv3
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-ui-toolkit
|
||||
%global commit 8f490672f9853278b0aec6435a68d56b9eaf8207
|
||||
%global commit 4111d119b21d58754f8b4bcaa7665cab7263be00
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-ui-toolkit
|
||||
Version: 1.3.5100
|
||||
Version: 1.3.5110
|
||||
Release: 1%?dist
|
||||
Summary: QML components to ease the creation of beautiful applications in QML for Lomiri
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
%define _ubuntu_rel 8ubuntu1
|
||||
%define _ubuntu_rel 1ubuntu1
|
||||
|
||||
Name: unity-session
|
||||
Summary: Lightdm profile for Unity 7
|
||||
Version: 46.0
|
||||
Version: 47.0.1
|
||||
Release: 1%?dist
|
||||
|
||||
License: GPL-2.0
|
||||
|
||||
@@ -1,142 +0,0 @@
|
||||
From 4d44531c8f624f5b479c3ff23e8fecc67eb848ab Mon Sep 17 00:00:00 2001
|
||||
From: Jeremy Linton <jeremy.linton@arm.com>
|
||||
Date: Fri, 22 Oct 2021 14:51:54 -0500
|
||||
Subject: [PATCH] Delay for logind, and fallback to seat0
|
||||
|
||||
There is systemd/logind race with when restarting
|
||||
sddm that causes logind1 not to be available. Previously
|
||||
this meant the seat0 was immediately created regardless
|
||||
of the state of CanGraphical.
|
||||
|
||||
Fixing this, though we still want seat0 to be started
|
||||
if none of the seats appear to be graphical. Presumably
|
||||
there are some graphics on the machine, otherwise
|
||||
why run sddm? Wait a bit, and create seat0 anyway. If
|
||||
this fails the output from Xorg should tell us why. This
|
||||
is generally a better strategy than what happens a good
|
||||
amount of time now, where sddm is started and silent about
|
||||
why the screen is blank.
|
||||
|
||||
References:
|
||||
* https://bugzilla.redhat.com/2011991
|
||||
* https://bugzilla.redhat.com/2016310
|
||||
|
||||
Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
|
||||
---
|
||||
src/daemon/LogindDBusTypes.cpp | 31 +++++++++++++++++++++----------
|
||||
src/daemon/SeatManager.cpp | 22 ++++++++++++++++++++++
|
||||
src/daemon/SeatManager.h | 1 +
|
||||
3 files changed, 44 insertions(+), 10 deletions(-)
|
||||
|
||||
diff --git a/src/daemon/LogindDBusTypes.cpp b/src/daemon/LogindDBusTypes.cpp
|
||||
index 011bb7f..6255c69 100644
|
||||
--- a/src/daemon/LogindDBusTypes.cpp
|
||||
+++ b/src/daemon/LogindDBusTypes.cpp
|
||||
@@ -8,6 +8,8 @@
|
||||
|
||||
#include <QDebug>
|
||||
|
||||
+#include <unistd.h>
|
||||
+
|
||||
class LogindPathInternal {
|
||||
public:
|
||||
LogindPathInternal();
|
||||
@@ -46,17 +48,26 @@ LogindPathInternal::LogindPathInternal()
|
||||
qRegisterMetaType<UserInfoList>("UserInfoList");
|
||||
qDBusRegisterMetaType<UserInfoList>();
|
||||
|
||||
- if (QDBusConnection::systemBus().interface()->isServiceRegistered(QStringLiteral("org.freedesktop.login1"))) {
|
||||
- qDebug() << "Logind interface found";
|
||||
- available = true;
|
||||
- serviceName = QStringLiteral("org.freedesktop.login1");
|
||||
- managerPath = QStringLiteral("/org/freedesktop/login1");
|
||||
- managerIfaceName = QStringLiteral("org.freedesktop.login1.Manager");
|
||||
- seatIfaceName = QStringLiteral("org.freedesktop.login1.Seat");
|
||||
- sessionIfaceName = QStringLiteral("org.freedesktop.login1.Session");
|
||||
- userIfaceName = QStringLiteral("org.freedesktop.login1.User");
|
||||
- return;
|
||||
+#ifdef HAVE_SYSTEMD
|
||||
+ // systemd-logind should be running, although because it takes a few moments to restart after
|
||||
+ // systemctl isolate calls, it may not yet be running. Wait a few seconds for it, while blocking everything else.
|
||||
+ int logind_wait_seconds = 50;
|
||||
+ while (logind_wait_seconds--) {
|
||||
+ if (QDBusConnection::systemBus().interface()->isServiceRegistered(QStringLiteral("org.freedesktop.login1"))) {
|
||||
+ qDebug() << "Logind interface found";
|
||||
+ available = true;
|
||||
+ serviceName = QStringLiteral("org.freedesktop.login1");
|
||||
+ managerPath = QStringLiteral("/org/freedesktop/login1");
|
||||
+ managerIfaceName = QStringLiteral("org.freedesktop.login1.Manager");
|
||||
+ seatIfaceName = QStringLiteral("org.freedesktop.login1.Seat");
|
||||
+ sessionIfaceName = QStringLiteral("org.freedesktop.login1.Session");
|
||||
+ userIfaceName = QStringLiteral("org.freedesktop.login1.User");
|
||||
+ return;
|
||||
+ }
|
||||
+ qDebug() << "Sleeping for systemd-logind";
|
||||
+ usleep(100000);
|
||||
}
|
||||
+#endif
|
||||
|
||||
if (QDBusConnection::systemBus().interface()->isServiceRegistered(QStringLiteral("org.freedesktop.ConsoleKit"))) {
|
||||
qDebug() << "Console kit interface found";
|
||||
diff --git a/src/daemon/SeatManager.cpp b/src/daemon/SeatManager.cpp
|
||||
index bd207e6..39d8b85 100644
|
||||
--- a/src/daemon/SeatManager.cpp
|
||||
+++ b/src/daemon/SeatManager.cpp
|
||||
@@ -26,6 +26,9 @@
|
||||
#include <QDBusMessage>
|
||||
#include <QDBusPendingReply>
|
||||
#include <QDBusContext>
|
||||
+#include <QDebug>
|
||||
+#include <QFileInfo>
|
||||
+#include <QTimer>
|
||||
|
||||
#include "LogindDBusTypes.h"
|
||||
|
||||
@@ -115,6 +118,8 @@ namespace SDDM {
|
||||
|
||||
QDBusConnection::systemBus().connect(Logind::serviceName(), Logind::managerPath(), Logind::managerIfaceName(), QStringLiteral("SeatNew"), this, SLOT(logindSeatAdded(QString,QDBusObjectPath)));
|
||||
QDBusConnection::systemBus().connect(Logind::serviceName(), Logind::managerPath(), Logind::managerIfaceName(), QStringLiteral("SeatRemoved"), this, SLOT(logindSeatRemoved(QString,QDBusObjectPath)));
|
||||
+
|
||||
+ QTimer::singleShot(5000, this, &SeatManager::checkSeat);
|
||||
}
|
||||
|
||||
void SeatManager::createSeat(const QString &name) {
|
||||
@@ -152,6 +157,23 @@ namespace SDDM {
|
||||
m_seats.value(name)->createDisplay(Display::defaultDisplayServerType());
|
||||
}
|
||||
|
||||
+ // this is a bit hacky, but linux DRM drivers
|
||||
+ // won't initially be available so there is a race
|
||||
+ // between determing if a efifb/etc graphical object
|
||||
+ // is the only graphics on the machine, or a DRM driver
|
||||
+ // will take over the display. So we will hang out for a few
|
||||
+ // seconds and if none of the seats are declared cangraphical
|
||||
+ // its possible the only graphics on the machine don't have
|
||||
+ // a drm driver.
|
||||
+ void SeatManager::checkSeat(void) {
|
||||
+ if (m_seats.isEmpty()) {
|
||||
+ //if (QFileInfo::exists(QStringLiteral("/dev/fb0"))) {
|
||||
+ qWarning() << "No graphical seats found, attempt to start one on the main console anyway...";
|
||||
+ createSeat(QStringLiteral("seat0"));
|
||||
+ //}
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
void SDDM::SeatManager::logindSeatAdded(const QString& name, const QDBusObjectPath& objectPath)
|
||||
{
|
||||
auto logindSeat = new LogindSeat(name, objectPath);
|
||||
diff --git a/src/daemon/SeatManager.h b/src/daemon/SeatManager.h
|
||||
index b2f9796..aa43047 100644
|
||||
--- a/src/daemon/SeatManager.h
|
||||
+++ b/src/daemon/SeatManager.h
|
||||
@@ -49,6 +49,7 @@ namespace SDDM {
|
||||
private:
|
||||
QHash<QString, Seat *> m_seats; //these will exist only for graphical seats
|
||||
QHash<QString, LogindSeat*> m_systemSeats; //these will exist for all seats
|
||||
+ void checkSeat(void);
|
||||
};
|
||||
}
|
||||
|
||||
--
|
||||
2.39.2
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
This scripts dir contains only samples, but are generally not used directly.
|
||||
In practice, sddm runtime uses items under /etc/sddm by default
|
||||
@@ -1,5 +0,0 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "terra-sddm.spec"
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
diff -up sddm-0.18.0/services/sddm.service.in.env sddm-0.18.0/services/sddm.service.in
|
||||
--- sddm-0.18.0/services/sddm.service.in.env 2018-07-18 05:31:40.000000000 -0500
|
||||
+++ sddm-0.18.0/services/sddm.service.in 2019-03-14 08:23:22.095498405 -0500
|
||||
@@ -7,6 +7,7 @@ After=systemd-user-sessions.service gett
|
||||
[Service]
|
||||
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/sddm
|
||||
Restart=always
|
||||
+EnvironmentFile=-/etc/sysconfig/sddm
|
||||
|
||||
[Install]
|
||||
Alias=display-manager.service
|
||||
@@ -1,53 +0,0 @@
|
||||
diff --git a/src/common/Configuration.h b/src/common/Configuration.h
|
||||
index 54bcace..9b8fa22 100644
|
||||
--- a/src/common/Configuration.h
|
||||
+++ b/src/common/Configuration.h
|
||||
@@ -37,9 +37,8 @@ namespace SDDM {
|
||||
enum NumState { NUM_NONE, NUM_SET_ON, NUM_SET_OFF };
|
||||
|
||||
// Name Type Default value Description
|
||||
- // TODO: Change default to x11-user in a future release
|
||||
- Entry(DisplayServer, QString, _S("x11"), _S("Which display server should be used.\n"
|
||||
- "Valid values are: x11, x11-user, wayland. Wayland support is experimental"));
|
||||
+ Entry(DisplayServer, QString, _S("wayland"), _S("Which display server should be used.\n"
|
||||
+ "Valid values are: x11, x11-user, wayland."));
|
||||
Entry(HaltCommand, QString, _S(HALT_COMMAND), _S("Halt command"));
|
||||
Entry(RebootCommand, QString, _S(REBOOT_COMMAND), _S("Reboot command"));
|
||||
Entry(Numlock, NumState, NUM_NONE, _S("Initial NumLock state. Can be on, off or none.\n"
|
||||
@@ -51,7 +50,7 @@ namespace SDDM {
|
||||
// Name Entries (but it's a regular class again)
|
||||
Section(Theme,
|
||||
Entry(ThemeDir, QString, _S(DATA_INSTALL_DIR "/themes"), _S("Theme directory path"));
|
||||
- Entry(Current, QString, _S(""), _S("Current theme name"));
|
||||
+ Entry(Current, QString, _S("01-breeze-fedora"), _S("Current theme name"));
|
||||
Entry(FacesDir, QString, _S(DATA_INSTALL_DIR "/faces"), _S("Global directory for user avatars\n"
|
||||
"The files should be named <username>.face.icon"));
|
||||
Entry(CursorTheme, QString, QString(), _S("Cursor theme used in the greeter"));
|
||||
@@ -71,9 +70,9 @@ namespace SDDM {
|
||||
Entry(SessionDir, QStringList, {_S("/usr/local/share/xsessions"),
|
||||
_S("/usr/share/xsessions")}, _S("Comma-separated list of directories containing available X sessions"));
|
||||
Entry(SessionCommand, QString, _S(SESSION_COMMAND), _S("Path to a script to execute when starting the desktop session"));
|
||||
- Entry(SessionLogFile, QString, _S(".local/share/sddm/xorg-session.log"), _S("Path to the user session log file"));
|
||||
- Entry(DisplayCommand, QString, _S(DATA_INSTALL_DIR "/scripts/Xsetup"), _S("Path to a script to execute when starting the display server"));
|
||||
- Entry(DisplayStopCommand, QString, _S(DATA_INSTALL_DIR "/scripts/Xstop"), _S("Path to a script to execute when stopping the display server"));
|
||||
+ Entry(SessionLogFile, QString, _S(".cache/xsession-errors"), _S("Path to the user session log file"));
|
||||
+ Entry(DisplayCommand, QString, _S(SYS_CONFIG_DIR "/sddm/Xsetup"), _S("Path to a script to execute when starting the display server"));
|
||||
+ Entry(DisplayStopCommand, QString, _S(SYS_CONFIG_DIR "/sddm/Xstop"), _S("Path to a script to execute when stopping the display server"));
|
||||
Entry(EnableHiDPI, bool, true, _S("Enable Qt's automatic high-DPI scaling"));
|
||||
);
|
||||
|
||||
@@ -82,12 +81,12 @@ namespace SDDM {
|
||||
Entry(SessionDir, QStringList, {_S("/usr/local/share/wayland-sessions"),
|
||||
_S("/usr/share/wayland-sessions")}, _S("Comma-separated list of directories containing available Wayland sessions"));
|
||||
Entry(SessionCommand, QString, _S(WAYLAND_SESSION_COMMAND), _S("Path to a script to execute when starting the desktop session"));
|
||||
- Entry(SessionLogFile, QString, _S(".local/share/sddm/wayland-session.log"),_S("Path to the user session log file"));
|
||||
+ Entry(SessionLogFile, QString, _S(".cache/wayland-errors"), _S("Path to the user session log file"));
|
||||
Entry(EnableHiDPI, bool, true, _S("Enable Qt's automatic high-DPI scaling"));
|
||||
);
|
||||
|
||||
Section(Users,
|
||||
- Entry(DefaultPath, QString, _S("/usr/local/bin:/usr/bin:/bin"), _S("Default $PATH for logged in users"));
|
||||
+ Entry(DefaultPath, QString, _S("/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin"), _S("Default $PATH for logged in users"));
|
||||
Entry(MinimumUid, int, UID_MIN, _S("Minimum user id for displayed users"));
|
||||
Entry(MaximumUid, int, UID_MAX, _S("Maximum user id for displayed users"));
|
||||
Entry(HideUsers, QStringList, QStringList(), _S("Comma-separated list of users that should not be listed"));
|
||||
@@ -1,67 +0,0 @@
|
||||
From 52175648f4e1b415f93b24a3ef970983024659f2 Mon Sep 17 00:00:00 2001
|
||||
From: Neal Gompa <neal@gompa.dev>
|
||||
Date: Wed, 28 Feb 2024 16:47:16 -0500
|
||||
Subject: [PATCH] Default to Qt6 and always use versioned greeters
|
||||
|
||||
Distributors can handle creating an unversioned name if necessary.
|
||||
---
|
||||
src/common/ThemeMetadata.cpp | 4 ++--
|
||||
src/daemon/Greeter.cpp | 3 +--
|
||||
src/greeter/CMakeLists.txt | 9 +--------
|
||||
3 files changed, 4 insertions(+), 12 deletions(-)
|
||||
|
||||
diff --git a/src/common/ThemeMetadata.cpp b/src/common/ThemeMetadata.cpp
|
||||
index 2cb3762..003056a 100644
|
||||
--- a/src/common/ThemeMetadata.cpp
|
||||
+++ b/src/common/ThemeMetadata.cpp
|
||||
@@ -28,7 +28,7 @@ namespace SDDM {
|
||||
QString mainScript { QStringLiteral("Main.qml") };
|
||||
QString configFile;
|
||||
QString translationsDirectory { QStringLiteral(".") };
|
||||
- int qtVersion = 5;
|
||||
+ int qtVersion = 6;
|
||||
};
|
||||
|
||||
ThemeMetadata::ThemeMetadata(const QString &path, QObject *parent) : QObject(parent), d(new ThemeMetadataPrivate()) {
|
||||
@@ -61,6 +61,6 @@ namespace SDDM {
|
||||
d->mainScript = settings.value(QStringLiteral("SddmGreeterTheme/MainScript"), QStringLiteral("Main.qml")).toString();
|
||||
d->configFile = settings.value(QStringLiteral("SddmGreeterTheme/ConfigFile"), QStringLiteral("theme.conf")).toString();
|
||||
d->translationsDirectory = settings.value(QStringLiteral("SddmGreeterTheme/TranslationsDirectory"), QStringLiteral(".")).toString();
|
||||
- d->qtVersion = settings.value(QStringLiteral("SddmGreeterTheme/QtVersion"), 5).toInt();
|
||||
+ d->qtVersion = settings.value(QStringLiteral("SddmGreeterTheme/QtVersion"), 6).toInt();
|
||||
}
|
||||
}
|
||||
diff --git a/src/daemon/Greeter.cpp b/src/daemon/Greeter.cpp
|
||||
index 07fccde..5a956b6 100644
|
||||
--- a/src/daemon/Greeter.cpp
|
||||
+++ b/src/daemon/Greeter.cpp
|
||||
@@ -82,8 +82,7 @@ namespace SDDM {
|
||||
|
||||
QString Greeter::greeterPathForQt(int qtVersion)
|
||||
{
|
||||
- const QString suffix = qtVersion == 5 ? QString() : QStringLiteral("-qt%1").arg(qtVersion);
|
||||
- return QStringLiteral(BIN_INSTALL_DIR "/sddm-greeter%1").arg(suffix);
|
||||
+ return QStringLiteral(BIN_INSTALL_DIR "/sddm-greeter-qt%1").arg(qtVersion);
|
||||
}
|
||||
|
||||
bool Greeter::start() {
|
||||
diff --git a/src/greeter/CMakeLists.txt b/src/greeter/CMakeLists.txt
|
||||
index 72769e4..524368d 100644
|
||||
--- a/src/greeter/CMakeLists.txt
|
||||
+++ b/src/greeter/CMakeLists.txt
|
||||
@@ -1,11 +1,4 @@
|
||||
-if(QT_MAJOR_VERSION EQUAL "5")
|
||||
- # Keep the unversioned name for Qt5. When upgrading SDDM, the old daemon
|
||||
- # might still be running and only know about "sddm-greeter". Keeping the
|
||||
- # previous name around also helps users calling it directly.
|
||||
- set(GREETER_TARGET sddm-greeter)
|
||||
-else()
|
||||
- set(GREETER_TARGET sddm-greeter-qt${QT_MAJOR_VERSION})
|
||||
-endif()
|
||||
+set(GREETER_TARGET sddm-greeter-qt${QT_MAJOR_VERSION})
|
||||
|
||||
message(STATUS "Building greeter for Qt ${QT_MAJOR_VERSION} as ${GREETER_TARGET}")
|
||||
|
||||
--
|
||||
2.43.0
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,20 +0,0 @@
|
||||
#%PAM-1.0
|
||||
auth required pam_env.so
|
||||
auth required pam_permit.so
|
||||
auth include postlogin
|
||||
|
||||
account required pam_nologin.so
|
||||
account include system-auth
|
||||
|
||||
password include system-auth
|
||||
|
||||
session required pam_selinux.so close
|
||||
session required pam_loginuid.so
|
||||
session required pam_selinux.so open
|
||||
session optional pam_keyinit.so force revoke
|
||||
session required pam_namespace.so
|
||||
session include system-auth
|
||||
-session optional pam_gnome_keyring.so auto_start
|
||||
-session optional pam_kwallet5.so auto_start
|
||||
-session optional pam_kwallet.so auto_start
|
||||
session include postlogin
|
||||
@@ -1,17 +0,0 @@
|
||||
#%PAM-1.0
|
||||
|
||||
# Load environment from /etc/environment and ~/.pam_environment
|
||||
auth required pam_env.so
|
||||
|
||||
# Always let the greeter start without authentication
|
||||
auth required pam_permit.so
|
||||
|
||||
# No action required for account management
|
||||
account required pam_permit.so
|
||||
|
||||
# Can't change password
|
||||
password required pam_deny.so
|
||||
|
||||
# Setup session
|
||||
session required pam_unix.so
|
||||
session optional pam_systemd.so
|
||||
@@ -1,12 +0,0 @@
|
||||
diff --git a/services/sddm-tmpfiles.conf.in b/services/sddm-tmpfiles.conf.in
|
||||
index fb45553..6acfb6c 100644
|
||||
--- a/services/sddm-tmpfiles.conf.in
|
||||
+++ b/services/sddm-tmpfiles.conf.in
|
||||
@@ -1,5 +1,7 @@
|
||||
# Home dir of the sddm user, also contains state.conf
|
||||
d ${STATE_DIR} 0750 sddm sddm
|
||||
+# Workaround for https://pagure.io/fedora-kde/SIG/issue/87
|
||||
+Z ${STATE_DIR} - sddm sddm
|
||||
# This contains X11 auth files passed to Xorg and the greeter
|
||||
d ${RUNTIME_DIR} 0711 root root
|
||||
# Sockets for IPC
|
||||
@@ -1,2 +0,0 @@
|
||||
#Type Name ID GECOS Home directory Shell
|
||||
u sddm - "SDDM Greeter Account" /var/lib/sddm -
|
||||
@@ -1,2 +0,0 @@
|
||||
[General]
|
||||
DisplayServer=x11
|
||||
@@ -1,122 +0,0 @@
|
||||
[Autologin]
|
||||
# Whether sddm should automatically log back into sessions when they exit
|
||||
#Relogin=false
|
||||
|
||||
# Name of session file for autologin session
|
||||
#Session=
|
||||
|
||||
# Username for autologin session
|
||||
#User=
|
||||
|
||||
|
||||
[General]
|
||||
# Enable Qt's automatic high-DPI scaling
|
||||
#EnableHiDPI=false
|
||||
|
||||
# Halt command
|
||||
#HaltCommand=/usr/bin/systemctl poweroff
|
||||
|
||||
# Initial NumLock state. Can be on, off or none.
|
||||
# If property is set to none, numlock won't be changed
|
||||
# NOTE: Currently ignored if autologin is enabled.
|
||||
#Numlock=none
|
||||
|
||||
# Reboot command
|
||||
#RebootCommand=/usr/bin/systemctl reboot
|
||||
|
||||
# Control x11/wayland startup
|
||||
# DisplayServer=wayland
|
||||
|
||||
[Theme]
|
||||
# Current theme name
|
||||
#Current=01-breeze-fedora
|
||||
|
||||
# Cursor theme used in the greeter
|
||||
#CursorTheme=
|
||||
|
||||
# Number of users to use as threshold
|
||||
# above which avatars are disabled
|
||||
# unless explicitly enabled with EnableAvatars
|
||||
#DisableAvatarsThreshold=7
|
||||
|
||||
# Enable display of custom user avatars
|
||||
#EnableAvatars=true
|
||||
|
||||
# Global directory for user avatars
|
||||
# The files should be named <username>.face.icon
|
||||
#FacesDir=/usr/share/sddm/faces
|
||||
|
||||
# Theme directory path
|
||||
#ThemeDir=/usr/share/sddm/themes
|
||||
|
||||
|
||||
[Users]
|
||||
# Default $PATH for logged in users
|
||||
#DefaultPath=/usr/local/bin:/usr/bin:/bin
|
||||
|
||||
# Comma-separated list of shells.
|
||||
# Users with these shells as their default won't be listed
|
||||
#HideShells=
|
||||
|
||||
# Comma-separated list of users that should not be listed
|
||||
#HideUsers=
|
||||
|
||||
# Maximum user id for displayed users
|
||||
#MaximumUid=60000
|
||||
|
||||
# Minimum user id for displayed users
|
||||
#MinimumUid=1000
|
||||
|
||||
# Remember the session of the last successfully logged in user
|
||||
#RememberLastSession=true
|
||||
|
||||
# Remember the last successfully logged in user
|
||||
#RememberLastUser=true
|
||||
|
||||
|
||||
[Wayland]
|
||||
# Path to a script to execute when starting the desktop session
|
||||
#SessionCommand=/etc/sddm/wayland-session
|
||||
|
||||
# Directory containing available Wayland sessions
|
||||
#SessionDir=/usr/share/wayland-sessions
|
||||
|
||||
# Path to the user session log file
|
||||
#SessionLogFile=.cache/wayland-errors
|
||||
|
||||
|
||||
[X11]
|
||||
# Path to a script to execute when starting the display server
|
||||
#DisplayCommand=/etc/sddm/Xsetup
|
||||
|
||||
# Path to a script to execute when stopping the display server
|
||||
#DisplayStopCommand=/etc/sddm/Xstop
|
||||
|
||||
# The lowest virtual terminal number that will be used.
|
||||
#MinimumVT=1
|
||||
|
||||
# Arguments passed to the X server invocation
|
||||
#ServerArguments=-nolisten tcp
|
||||
|
||||
# Path to X server binary
|
||||
#ServerPath=/usr/bin/X
|
||||
|
||||
# Path to a script to execute when starting the desktop session
|
||||
#SessionCommand=/etc/X11/xinit/Xsession
|
||||
|
||||
# Directory containing available X sessions
|
||||
#SessionDir=/usr/share/xsessions
|
||||
|
||||
# Path to the user session log file
|
||||
#SessionLogFile=.cache/xsession-errors
|
||||
|
||||
# Path to the Xauthority file
|
||||
#UserAuthFile=.Xauthority
|
||||
|
||||
# Path to xauth binary
|
||||
#XauthPath=/usr/bin/xauth
|
||||
|
||||
# Path to Xephyr binary
|
||||
#XephyrPath=/usr/bin/Xephyr
|
||||
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
auth [success=done ignore=ignore default=bad] pam_selinux_permit.so
|
||||
auth substack password-auth
|
||||
-auth optional pam_gnome_keyring.so
|
||||
-auth optional pam_kwallet5.so
|
||||
-auth optional pam_kwallet.so
|
||||
auth include postlogin
|
||||
|
||||
account required pam_nologin.so
|
||||
account include password-auth
|
||||
|
||||
password include password-auth
|
||||
|
||||
session required pam_selinux.so close
|
||||
session required pam_loginuid.so
|
||||
-session optional pam_ck_connector.so
|
||||
session required pam_selinux.so open
|
||||
session optional pam_keyinit.so force revoke
|
||||
session required pam_namespace.so
|
||||
session include password-auth
|
||||
-session optional pam_gnome_keyring.so auto_start
|
||||
-session optional pam_kwallet5.so auto_start
|
||||
-session optional pam_kwallet.so auto_start
|
||||
session include postlogin
|
||||
@@ -1,5 +0,0 @@
|
||||
# workaround https://bugzilla.redhat.com/1686675
|
||||
# see also https://bugreports.qt.io/browse/QTBUG-58508
|
||||
QML_DISABLE_DISK_CACHE=1
|
||||
# enable qDebug messages for debug build
|
||||
# QT_LOGGING_RULES="*.debug=true"
|
||||
@@ -1,293 +0,0 @@
|
||||
# Disable X11 for RHEL 10+
|
||||
%bcond x11 %[%{undefined rhel} || 0%{?rhel} < 10]
|
||||
|
||||
Name: terra-sddm
|
||||
Version: 0.21.0
|
||||
Release: 5%{?dist}
|
||||
License: GPL-2.0-or-later
|
||||
Summary: QML based desktop and login manager
|
||||
Provides: sddm = %version-%release
|
||||
|
||||
URL: https://github.com/sddm/sddm
|
||||
Source0: %{url}/archive/v%{version}/sddm-%{version}.tar.gz
|
||||
|
||||
## upstream patches
|
||||
# Port all themes to Qt 6
|
||||
# Submitted: https://github.com/sddm/sddm/pull/1876
|
||||
Patch1: sddm-PR1876.patch
|
||||
|
||||
## upstreamable patches
|
||||
# Fix race with logind restart, and start seat0 if !CanGraphical on timer
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2011991
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2016310
|
||||
# Submmited: https://github.com/sddm/sddm/pull/1494
|
||||
Patch11: 0001-Delay-for-logind-and-fallback-to-seat0.patch
|
||||
|
||||
## downstream patches
|
||||
Patch101: sddm-0.20.0-fedora_config.patch
|
||||
|
||||
# sddm.service: +EnvironmentFile=-/etc/sysconfig/sddm
|
||||
Patch103: sddm-0.18.0-environment_file.patch
|
||||
|
||||
# Workaround for https://pagure.io/fedora-kde/SIG/issue/87
|
||||
Patch104: sddm-rpmostree-tmpfiles-hack.patch
|
||||
|
||||
# Workaround lack of Qt 5 greeter build
|
||||
Patch105: sddm-0.21.0-qt6greeter.patch
|
||||
|
||||
# https://github.com/sddm/sddm/pull/1779
|
||||
Patch106: https://github.com/sddm/sddm/pull/1779.patch
|
||||
|
||||
# Shamelessly stolen from gdm
|
||||
Source10: sddm.pam
|
||||
# Shamelessly stolen from gdm
|
||||
Source11: sddm-autologin.pam
|
||||
# Previously included in sddm sources
|
||||
Source12: sddm-greeter.pam
|
||||
# sample sddm.conf generated with sddm --example-config, and entries commented-out
|
||||
Source13: sddm.conf
|
||||
# README.scripts
|
||||
Source14: README.scripts
|
||||
# sysconfig snippet
|
||||
Source15: sddm.sysconfig
|
||||
# sddm x11 override config
|
||||
Source16: sddm-x11.conf
|
||||
# sysusers config file. note these are shipped in the upstream tarball
|
||||
# but we cannot use the files from the tarball for %pre scriptlet
|
||||
# generation, so we duplicate them as source files for that purpose;
|
||||
# this is an ugly hack that should be removed if it becomes possible.
|
||||
# see https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/TFDMAU7KLMSQTKPJELHSM6PFVXIZ56GK/
|
||||
Source17: sddm-systemd-sysusers.conf
|
||||
|
||||
|
||||
Provides: service(graphical-login) = sddm
|
||||
|
||||
BuildRequires: cmake >= 2.8.8
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRequires: pam-devel
|
||||
BuildRequires: pkgconfig(libsystemd)
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
BuildRequires: pkgconfig(xcb)
|
||||
BuildRequires: pkgconfig(xcb-xkb)
|
||||
# sometimes python-docutils, sometimes python2-docutils, sometimes python3-docutils.
|
||||
# use path then for sanity
|
||||
BuildRequires: /usr/bin/rst2man
|
||||
BuildRequires: cmake(Qt6Core)
|
||||
BuildRequires: cmake(Qt6DBus)
|
||||
BuildRequires: cmake(Qt6Gui)
|
||||
BuildRequires: cmake(Qt6Qml)
|
||||
BuildRequires: cmake(Qt6Quick)
|
||||
BuildRequires: cmake(Qt6LinguistTools)
|
||||
BuildRequires: cmake(Qt6Test)
|
||||
BuildRequires: cmake(Qt6QuickTest)
|
||||
# verify presence to pull defaults from /etc/login.defs
|
||||
BuildRequires: shadow-utils
|
||||
BuildRequires: systemd
|
||||
BuildRequires: systemd-rpm-macros
|
||||
|
||||
Obsoletes: kde-settings-sddm < 20-5
|
||||
|
||||
%if 0%{?fedora}
|
||||
# for /usr/share/backgrounds/default.png
|
||||
BuildRequires: desktop-backgrounds-compat
|
||||
BuildRequires: GraphicsMagick
|
||||
Requires: desktop-backgrounds-compat
|
||||
# for /usr/share/pixmaps/system-logo-white.png
|
||||
Requires: system-logos
|
||||
%endif
|
||||
Requires: systemd
|
||||
%if %{with x11}
|
||||
Requires: xorg-x11-xinit
|
||||
%endif
|
||||
%{?systemd_requires}
|
||||
|
||||
Requires(pre): shadow-utils
|
||||
|
||||
# Virtual dependency for sddm greeter setup
|
||||
Requires: sddm-greeter-displayserver
|
||||
Suggests: sddm-wayland-generic
|
||||
|
||||
%description
|
||||
SDDM is a modern graphical display manager aiming to be fast, simple and
|
||||
beautiful. It uses modern technologies like QtQuick, which in turn gives the
|
||||
designer the ability to create smooth, animated user interfaces.
|
||||
|
||||
%package wayland-generic
|
||||
Summary: Generic Wayland SDDM greeter configuration
|
||||
Provides: sddm-greeter-displayserver
|
||||
Conflicts: sddm-greeter-displayserver
|
||||
Requires: weston
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description wayland-generic
|
||||
This package contains configuration and dependencies for SDDM
|
||||
to use Weston for the greeter display server.
|
||||
|
||||
This is the generic default Wayland configuration provided
|
||||
by SDDM.
|
||||
|
||||
%if %{with x11}
|
||||
%package x11
|
||||
Summary: X11 SDDM greeter configuration
|
||||
Provides: sddm-greeter-displayserver
|
||||
Conflicts: sddm-greeter-displayserver
|
||||
# This will eventually go away...
|
||||
Provides: deprecated()
|
||||
Requires: xorg-x11-server-Xorg
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Recommends: qt6-qtvirtualkeyboard
|
||||
BuildArch: noarch
|
||||
|
||||
%description x11
|
||||
This package contains configuration and dependencies for SDDM
|
||||
to use X11 for the greeter display server.
|
||||
%endif
|
||||
|
||||
%package themes
|
||||
Summary: SDDM Themes
|
||||
# for upgrade path
|
||||
Obsoletes: sddm < 0.2.0-0.12
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
%description themes
|
||||
A collection of sddm themes, including: elarun, maldives, maya
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1 %{?commitdate:-n sddm-%{commit}} -n sddm-%version
|
||||
|
||||
%if 0%{?fedora}
|
||||
#FIXME/TODO: use version on filesystem instead of using a bundled copy
|
||||
cp -v /usr/share/backgrounds/default.png \
|
||||
src/greeter/theme/background.png
|
||||
ls -sh src/greeter/theme/background.png
|
||||
gm mogrify -resize 1920x1200 src/greeter/theme/background.png
|
||||
ls -sh src/greeter/theme/background.png
|
||||
%endif
|
||||
|
||||
|
||||
%build
|
||||
%cmake \
|
||||
-DBUILD_WITH_QT6:BOOL=ON \
|
||||
-DBUILD_MAN_PAGES:BOOL=ON \
|
||||
-DCMAKE_BUILD_TYPE:STRING="Release" \
|
||||
-DENABLE_JOURNALD:BOOL=ON \
|
||||
-DSESSION_COMMAND:PATH=/etc/X11/xinit/Xsession \
|
||||
-DWAYLAND_SESSION_COMMAND:PATH=/etc/sddm/wayland-session
|
||||
|
||||
%cmake_build
|
||||
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/sddm.conf.d
|
||||
mkdir -p %{buildroot}%{_prefix}/lib/sddm/sddm.conf.d
|
||||
install -Dpm 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/sddm
|
||||
install -Dpm 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/pam.d/sddm-autologin
|
||||
install -Dpm 644 %{SOURCE12} %{buildroot}%{_sysconfdir}/pam.d/sddm-greeter
|
||||
install -Dpm 644 %{SOURCE13} %{buildroot}%{_sysconfdir}/sddm.conf
|
||||
install -Dpm 644 %{SOURCE14} %{buildroot}%{_datadir}/sddm/scripts/README.scripts
|
||||
install -Dpm 644 %{SOURCE15} %{buildroot}%{_sysconfdir}/sysconfig/sddm
|
||||
%if %{with x11}
|
||||
install -Dpm 644 %{SOURCE16} %{buildroot}%{_prefix}/lib/sddm/sddm.conf.d/x11.conf
|
||||
%endif
|
||||
mkdir -p %{buildroot}/run/sddm
|
||||
mkdir -p %{buildroot}%{_localstatedir}/lib/sddm
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/sddm/
|
||||
cp -a %{buildroot}%{_datadir}/sddm/scripts/* \
|
||||
%{buildroot}%{_sysconfdir}/sddm/
|
||||
# we're using /etc/X11/xinit/Xsession (by default) instead
|
||||
rm -fv %{buildroot}%{_sysconfdir}/sddm/Xsession
|
||||
|
||||
# De-conflict the dbus file
|
||||
mv %{buildroot}%{_datadir}/dbus-1/system.d/org.freedesktop.DisplayManager.conf \
|
||||
%{buildroot}%{_datadir}/dbus-1/system.d/org.freedesktop.DisplayManager-sddm.conf
|
||||
|
||||
%if 0%{?fedora} && 0%{?fedora} < 43
|
||||
# Provide unversioned greeter until F40 is EOL
|
||||
ln -sr %{buildroot}%{_bindir}/sddm-greeter-qt6 %{buildroot}%{_bindir}/sddm-greeter
|
||||
%endif
|
||||
|
||||
|
||||
%pre
|
||||
%sysusers_create_compat %{SOURCE17}
|
||||
|
||||
%post
|
||||
%systemd_post sddm.service
|
||||
# handle incompatible configuration changes
|
||||
(grep \
|
||||
-e '^Current=fedora$' \
|
||||
-e '^\[XDisplay\]$' \
|
||||
-e '^\[WaylandDisplay\]$' \
|
||||
%{_sysconfdir}/sddm.conf > /dev/null && \
|
||||
sed -i.rpmsave \
|
||||
-e 's|^Current=fedora$|#Current=01-breeze-fedora|' \
|
||||
-e 's|^\[XDisplay\]$|\[X11\]|' \
|
||||
-e 's|^\[WaylandDisplay\]$|\[Wayland\]|' \
|
||||
%{_sysconfdir}/sddm.conf
|
||||
) ||:
|
||||
|
||||
|
||||
%preun
|
||||
%systemd_preun sddm.service
|
||||
|
||||
|
||||
%postun
|
||||
%systemd_postun sddm.service
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md CONTRIBUTORS
|
||||
%dir %{_sysconfdir}/sddm/
|
||||
%dir %{_sysconfdir}/sddm.conf.d
|
||||
%dir %{_prefix}/lib/sddm/sddm.conf.d
|
||||
%config(noreplace) %{_sysconfdir}/sddm/*
|
||||
%config(noreplace) %{_sysconfdir}/sddm.conf
|
||||
%config(noreplace) %{_sysconfdir}/sysconfig/sddm
|
||||
%config(noreplace) %{_sysconfdir}/pam.d/sddm*
|
||||
%{_datadir}/dbus-1/system.d/org.freedesktop.DisplayManager-sddm.conf
|
||||
%{_bindir}/sddm
|
||||
%{_bindir}/sddm-greeter*
|
||||
%{_libexecdir}/sddm-helper
|
||||
%{_libexecdir}/sddm-helper-start-wayland
|
||||
%{_libexecdir}/sddm-helper-start-x11user
|
||||
%{_tmpfilesdir}/sddm.conf
|
||||
%{_sysusersdir}/sddm.conf
|
||||
%attr(0711, root, sddm) %dir /run/sddm
|
||||
%attr(1770, sddm, sddm) %dir %{_localstatedir}/lib/sddm
|
||||
%{_unitdir}/sddm.service
|
||||
%{_qt6_archdatadir}/qml/SddmComponents/
|
||||
%dir %{_datadir}/sddm
|
||||
%{_datadir}/sddm/faces/
|
||||
%{_datadir}/sddm/flags/
|
||||
%{_datadir}/sddm/scripts/
|
||||
%dir %{_datadir}/sddm/themes/
|
||||
# %%lang'ify? they're small, probably not worth it -- rex
|
||||
%{_datadir}/sddm/translations*/
|
||||
%{_mandir}/man1/sddm.1*
|
||||
%{_mandir}/man1/sddm-greeter.1*
|
||||
%{_mandir}/man5/sddm.conf.5*
|
||||
%{_mandir}/man5/sddm-state.conf.5*
|
||||
|
||||
|
||||
%files wayland-generic
|
||||
# No files since default configuration
|
||||
|
||||
|
||||
%if %{with x11}
|
||||
%files x11
|
||||
%{_prefix}/lib/sddm/sddm.conf.d/x11.conf
|
||||
%endif
|
||||
|
||||
|
||||
%files themes
|
||||
%{_datadir}/sddm/themes/elarun/
|
||||
%{_datadir}/sddm/themes/maldives/
|
||||
%{_datadir}/sddm/themes/maya/
|
||||
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
@@ -1 +0,0 @@
|
||||
rpm.version(gh("sddm/sddm"));
|
||||
@@ -1,5 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "x265.spec"
|
||||
spec = "eww.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
# Generated by rust2rpm 27
|
||||
%global commit 593a4f4666f0bc42790d6d033e64a2b38449090f
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20250115
|
||||
%global ver 0.6.0
|
||||
%bcond check 0
|
||||
|
||||
Name: eww
|
||||
Version: %ver^%commit_date.git~%shortcommit
|
||||
Release: %autorelease
|
||||
Summary: Widgets for everyone!
|
||||
|
||||
SourceLicense: MIT
|
||||
License: MIT
|
||||
|
||||
URL: https://elkowar.github.io/eww
|
||||
Source0: https://github.com/elkowar/eww/archive/%commit.tar.gz
|
||||
|
||||
BuildRequires: cargo-rpm-macros >= 24
|
||||
BuildRequires: anda-srpm-macros
|
||||
BuildRequires: pkgconfig(dbusmenu-gtk3-0.4)
|
||||
BuildRequires: pkgconfig(gtk-layer-shell-0)
|
||||
Requires: (%name-x11 or %name-wayland)
|
||||
|
||||
%global _description %{expand:
|
||||
Widgets for everyone!.}
|
||||
|
||||
%description %{_description}
|
||||
|
||||
%package x11
|
||||
Summary: eww for x11
|
||||
Conflicts: eww-wayland
|
||||
SourceLicense: MIT
|
||||
License: (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND LGPL-3.0-only AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND (Unlicense OR MIT)
|
||||
RemovePathPostFixes: .x11
|
||||
|
||||
%description x11 %{_description}
|
||||
|
||||
%package wayland
|
||||
Summary: eww for wayland
|
||||
Conflicts: eww-x11
|
||||
SourceLicense: MIT
|
||||
License: (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND LGPL-3.0-only AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND (Unlicense OR MIT)
|
||||
RemovePathPostFixes: .wayland
|
||||
|
||||
%description wayland %{_description}
|
||||
|
||||
%prep
|
||||
%autosetup -n eww-%{commit} -p1
|
||||
%cargo_prep_online
|
||||
|
||||
%build
|
||||
%{cargo_license_summary_online -n -f x11}
|
||||
%{cargo_license_online -n -f x11} > LICENSE.dependencies.x11
|
||||
%{cargo_license_summary_online -n -f wayland}
|
||||
%{cargo_license_online -n -f wayland} > LICENSE.dependencies.wayland
|
||||
%cargo_build -n -f x11
|
||||
mv target/rpm/eww target/rpm/eww.x11
|
||||
mv target/rpm/eww.d target/rpm/eww.d.x11
|
||||
%cargo_build -n -f wayland
|
||||
mv target/rpm/eww target/rpm/eww.wayland
|
||||
mv target/rpm/eww.d target/rpm/eww.d.wayland
|
||||
|
||||
%install
|
||||
install -Dpm755 target/rpm/eww.* -t %buildroot%_bindir
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
%cargo_test
|
||||
%endif
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc CHANGELOG.md
|
||||
%doc README.md
|
||||
%doc YUCK_MIGRATION.md
|
||||
|
||||
%files x11
|
||||
%license LICENSE.dependencies.x11
|
||||
%{_bindir}/eww.x11
|
||||
%{_bindir}/eww.d.x11
|
||||
|
||||
%files wayland
|
||||
%license LICENSE.dependencies.wayland
|
||||
%{_bindir}/eww.wayland
|
||||
%{_bindir}/eww.d.wayland
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
@@ -0,0 +1,6 @@
|
||||
rpm.global("commit", gh_commit("elkowar/eww"));
|
||||
if rpm.changed() {
|
||||
rpm.global("ver", gh("elkowar/eww"));
|
||||
rpm.global("commit_date", date());
|
||||
rpm.release();
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "rust-matugen.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
# Generated by rust2rpm 27
|
||||
%global crate matugen
|
||||
|
||||
Name: rust-matugen
|
||||
Version: 2.4.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Material you color generation tool with templates
|
||||
|
||||
License: GPL-2.0
|
||||
URL: https://crates.io/crates/matugen
|
||||
Source: %{crates_source}
|
||||
|
||||
BuildRequires: cargo-rpm-macros >= 24
|
||||
BuildRequires: anda-srpm-macros
|
||||
BuildRequires: mold
|
||||
|
||||
Packager: sadlerm <sad_lerm@hotmail.com>
|
||||
|
||||
%global _description %{expand:
|
||||
A material you color generation tool with templates.}
|
||||
|
||||
%description %{_description}
|
||||
|
||||
|
||||
%package -n %{crate}
|
||||
Summary: %{summary}
|
||||
License: GPL-2.0
|
||||
# LICENSE.dependencies contains a full license breakdown
|
||||
|
||||
%description -n %{crate} %{_description}
|
||||
|
||||
%files -n %{crate}
|
||||
%license LICENSE
|
||||
%license LICENSE.dependencies
|
||||
%doc CHANGELOG.md
|
||||
%doc README.md
|
||||
%{_bindir}/matugen
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "%{crate}" crate.
|
||||
|
||||
%files devel
|
||||
%license %{crate_instdir}/LICENSE
|
||||
%doc %{crate_instdir}/CHANGELOG.md
|
||||
%doc %{crate_instdir}/README.md
|
||||
%{crate_instdir}/
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{crate}-%{version} -p1
|
||||
%cargo_prep_online
|
||||
|
||||
%build
|
||||
%{cargo_license_summary_online}
|
||||
%{cargo_license} > LICENSE.dependencies
|
||||
|
||||
%install
|
||||
%cargo_install
|
||||
|
||||
%changelog
|
||||
* Wed Jan 22 2025 sadlerm <sad_lerm@hotmail.com> - 2.4.1-1
|
||||
- Initial package
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(crates("matugen"));
|
||||
@@ -57,7 +57,7 @@ Zsh command-line completion support for %{name}.
|
||||
|
||||
%install
|
||||
%{cargo_install} &
|
||||
(cd daemon && %{cargo_install} &)
|
||||
cd daemon && %{cargo_install} &
|
||||
wait
|
||||
install -Dm644 -T completions/swww.bash %buildroot%bash_completions_dir/swww
|
||||
install -Dm644 -T completions/swww.fish %buildroot%fish_completions_dir/swww.fish
|
||||
@@ -68,7 +68,7 @@ install -Dm644 -t %buildroot%_mandir/man1 doc/generated/swww*1
|
||||
%doc CHANGELOG.md README.md
|
||||
%license LICENSE LICENSE.dependencies
|
||||
%_bindir/swww
|
||||
%dnl %_bindir/swww-daemon
|
||||
%_bindir/swww-daemon
|
||||
%_mandir/man1/%name-clear-cache.1.gz
|
||||
%_mandir/man1/%name-clear.1.gz
|
||||
%_mandir/man1/%name-daemon.1.gz
|
||||
|
||||
@@ -2,15 +2,13 @@
|
||||
%bcond check 0
|
||||
%bcond bootstrap 0
|
||||
|
||||
%global debug_package %{nil}
|
||||
|
||||
%if %{with bootstrap}
|
||||
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$
|
||||
%endif
|
||||
|
||||
# https://github.com/abenz1267/walker
|
||||
%global goipath github.com/abenz1267/walker
|
||||
Version: 0.11.14
|
||||
Version: 0.12.10
|
||||
|
||||
%gometa -f
|
||||
|
||||
@@ -43,18 +41,19 @@ BuildRequires: pkgconfig(vips)
|
||||
|
||||
%prep
|
||||
%goprep -A
|
||||
%autopatch -p1
|
||||
%go_prep_online
|
||||
mv {LICENSE,README.md} cmd
|
||||
%setup -T -D -n %{name}-%{version}/cmd
|
||||
|
||||
|
||||
%build
|
||||
%go_build_online cmd/walker.go
|
||||
go build -x -o walker
|
||||
|
||||
%install
|
||||
#gopkginstall
|
||||
%if %{without bootstrap}
|
||||
install -m 0755 -vd %{buildroot}%{_bindir}
|
||||
install -m 0755 -vp build/bin/cmd/walker.go %{buildroot}%{_bindir}/walker
|
||||
install -m 0755 -vd %{buildroot}%{_bindir}
|
||||
install -m 0755 -vp walker %{buildroot}%{_bindir}/walker
|
||||
%endif
|
||||
|
||||
%if %{without bootstrap}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: asar
|
||||
Version: 3.2.17
|
||||
Version: 3.2.18
|
||||
Release: 1%?dist
|
||||
Summary: Simple extensive tar-like archive format with indexing
|
||||
License: MIT
|
||||
|
||||
@@ -7,7 +7,7 @@ Summary: Bash scripts that integrate bat with various command line tools
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/eth-p/bat-extras
|
||||
Source0: https://github.com/eth-p/bat-extras/archive/refs/tags/v%{version}.tar.gz
|
||||
Source0: %{url}/archive/v%{version}.tar.gz
|
||||
|
||||
BuildRequires: bash
|
||||
Requires: bash
|
||||
@@ -17,25 +17,23 @@ BuildArch: noarch
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%autosetup -n bat-extras-%{version}
|
||||
%autosetup
|
||||
|
||||
|
||||
%build
|
||||
# ./build.sh --no-verify
|
||||
|
||||
|
||||
%install
|
||||
./build.sh --install --prefix=%{buildroot}%{_prefix}
|
||||
./build.sh --install --prefix=%{buildroot}%{_prefix} --no-verify
|
||||
|
||||
mkdir -p %{buildroot}%{_mandir}/man1/
|
||||
cp -v man/* %{buildroot}%{_mandir}/man1/
|
||||
|
||||
chmod -x %_mandir/man1/*
|
||||
chmod -x %{buildroot}%{_mandir}/man1/*
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE.md
|
||||
%doc doc/
|
||||
%{_bindir}/bat*
|
||||
%{_bindir}/prettybat
|
||||
%{_mandir}/man1/*
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: terra-blueprint-compiler
|
||||
Version: 0.14.0
|
||||
Version: 0.16.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.96.2.24355
|
||||
Version: 1.96.4.25017
|
||||
Release: 1%?dist
|
||||
Summary: Code editing. Redefined.
|
||||
License: MIT
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global commit 1ad6b8db3d6fbd42595f9794d8fff425039371a5
|
||||
%global commit 1d947ab49967943b04a1c4ae37c048d657b52ca9
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20250104
|
||||
%global commit_date 20250124
|
||||
|
||||
Name: flow-control-nightly
|
||||
Version: %commit_date.%shortcommit
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: flutter
|
||||
Version: 3.27.1
|
||||
Version: 3.27.3
|
||||
Release: 1%?dist
|
||||
Summary: SDK for crafting beautiful, fast user experiences from a single codebase
|
||||
License: BSD-3-Clause
|
||||
|
||||
@@ -1,18 +1,20 @@
|
||||
%global commit 1baf8928a0bd6ccc2f49e1e9478baab71d49a018
|
||||
%global commit 95327bff18188b713ae22e47bf6272f2ec61ef9b
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20250104
|
||||
|
||||
%global commit_date 20250124
|
||||
%global public_key RWQlAjJC23149WL2sEpT/l0QKy7hMIFhYdQOFy0Z7z7PbneUgvlsnYcV
|
||||
%global cache_dir %{builddir}/zig-cache
|
||||
|
||||
Name: ghostty-nightly
|
||||
Version: %{commit_date}.%{shortcommit}
|
||||
Release: 1%?dist
|
||||
Summary: A fast, native terminal emulator written in Zig; this is the Tip (nightly) build.
|
||||
License: MIT AND MPL-2.0 AND OFL-1.1
|
||||
License: MIT AND MPL-2.0 AND OFL-1.1 AND (WTFPL OR CC0-1.0) AND Apache-2.0
|
||||
URL: https://ghostty.org/
|
||||
Source0: https://github.com/ghostty-org/ghostty/archive/%{commit}/ghostty-%{commit}.tar.gz
|
||||
Source0: https://github.com/ghostty-org/ghostty/releases/download/tip/ghostty-source.tar.gz
|
||||
Source1: https://github.com/ghostty-org/ghostty/releases/download/tip/ghostty-source.tar.gz.minisig
|
||||
BuildRequires: gtk4-devel
|
||||
BuildRequires: libadwaita-devel
|
||||
BuildRequires: minisign
|
||||
BuildRequires: ncurses
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: pandoc-cli
|
||||
@@ -76,7 +78,8 @@ Supplements: %{name}
|
||||
%summary.
|
||||
|
||||
%prep
|
||||
%autosetup -n ghostty-%{commit} -p1
|
||||
/usr/bin/minisign -V -m %{SOURCE0} -x %{SOURCE1} -P %{public_key}
|
||||
%autosetup -n ghostty-source
|
||||
|
||||
# Download everything ahead of time so we can enable system integration mode
|
||||
ZIG_GLOBAL_CACHE_DIR="%{cache_dir}" ./nix/build-support/fetch-zig-cache.sh
|
||||
@@ -105,9 +108,12 @@ zig build \
|
||||
%_datadir/bat/syntaxes/ghostty.sublime-syntax
|
||||
%_datadir/ghostty/
|
||||
%_datadir/kio/servicemenus/com.mitchellh.ghostty.desktop
|
||||
%_datadir/nautilus-python/extensions/com.mitchellh.ghostty.py
|
||||
%_datadir/nvim/site/compiler/ghostty.vim
|
||||
%_datadir/nvim/site/ftdetect/ghostty.vim
|
||||
%_datadir/nvim/site/ftplugin/ghostty.vim
|
||||
%_datadir/nvim/site/syntax/ghostty.vim
|
||||
%_datadir/vim/vimfiles/compiler/ghostty.vim
|
||||
%_datadir/vim/vimfiles/ftdetect/ghostty.vim
|
||||
%_datadir/vim/vimfiles/ftplugin/ghostty.vim
|
||||
%_datadir/vim/vimfiles/syntax/ghostty.vim
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
|
||||
Name: ghostty
|
||||
Version: 1.0.1
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: A fast, native terminal emulator written in Zig.
|
||||
License: MIT AND MPL-2.0 AND OFL-1.1
|
||||
License: MIT AND MPL-2.0 AND OFL-1.1 AND (WTFPL OR CC0-1.0) AND Apache-2.0
|
||||
URL: https://ghostty.org/
|
||||
Source0: https://release.files.ghostty.org/%{version}/ghostty-%{version}.tar.gz
|
||||
Source1: https://release.files.ghostty.org/%{version}/ghostty-%{version}.tar.gz.minisig
|
||||
@@ -152,8 +152,8 @@ zig build \
|
||||
%changelog
|
||||
* Tue Dec 31 2024 ShinyGil <rockgrub@protonmail.com>
|
||||
- Update to 1.0.1
|
||||
* High CVE-2003-0063: Allows execution of arbitrary commands
|
||||
* Medium CVE-2003-0070: Allows execution of arbitrary commands
|
||||
* High CVE-2003-0063: Allows execution of arbitrary commands
|
||||
* Medium CVE-2003-0070: Allows execution of arbitrary commands
|
||||
|
||||
* Thu Dec 26 2024 ShinyGil <rockgrub@protonmail.com>
|
||||
- Initial package
|
||||
|
||||
@@ -49,10 +49,11 @@ It consists of:
|
||||
%{_mandir}/man5/rgbds.5.*
|
||||
%{_mandir}/man5/rgbasm.5.*
|
||||
%{_mandir}/man5/rgblink.5.*
|
||||
%{_mandir}/man5/rgbasm-old.5.gz
|
||||
%{_mandir}/man7/rgbds.7.*
|
||||
%{_mandir}/man7/gbz80.7.*
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%doc README.md
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%global commit 9613084f5933d5ac0d6da28d04f4340fbe2cf425
|
||||
%global commit c55cdd0cb9d16468d175f9f41f8bdf22aa6a4b9f
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20250104
|
||||
%global ver 0.169.0
|
||||
%global commit_date 20250124
|
||||
%global ver 0.172.0
|
||||
|
||||
%bcond_with check
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%bcond_with check
|
||||
|
||||
%global ver 0.168.1-pre
|
||||
%global ver 0.171.1-pre
|
||||
# Exclude input files from mangling
|
||||
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
|
||||
# Use Mold as the linker
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
%global app_id dev.zed.Zed
|
||||
|
||||
Name: zed
|
||||
Version: 0.167.1
|
||||
Version: 0.170.2
|
||||
Release: 1%?dist
|
||||
Summary: Zed is a high-performance, multiplayer code editor
|
||||
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
containerd-*.tar.gz
|
||||
clog
|
||||
@@ -1,33 +0,0 @@
|
||||
From 788f2f928c1d0099d3861553bf82e83169811a29 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= <zebob.m@gmail.com>
|
||||
Date: Tue, 1 Nov 2022 22:09:38 +0100
|
||||
Subject: [PATCH] Add reaper StartLocked
|
||||
|
||||
---
|
||||
sys/reaper/reaper_unix.go | 10 ++++++++++
|
||||
1 file changed, 10 insertions(+)
|
||||
|
||||
diff --git a/sys/reaper/reaper_unix.go b/sys/reaper/reaper_unix.go
|
||||
index 6c4f13b90..a6d6a1e77 100644
|
||||
--- a/sys/reaper/reaper_unix.go
|
||||
+++ b/sys/reaper/reaper_unix.go
|
||||
@@ -101,6 +101,16 @@ func (m *Monitor) Start(c *exec.Cmd) (chan runc.Exit, error) {
|
||||
return ec, nil
|
||||
}
|
||||
|
||||
+// StartLocked starts the command a registers the process with the reaper
|
||||
+func (m *Monitor) StartLocked(c *exec.Cmd) (chan runc.Exit, error) {
|
||||
+ ec := m.Subscribe()
|
||||
+ if err := c.Start(); err != nil {
|
||||
+ m.Unsubscribe(ec)
|
||||
+ return nil, err
|
||||
+ }
|
||||
+ return ec, nil
|
||||
+}
|
||||
+
|
||||
// Wait blocks until a process is signal as dead.
|
||||
// User should rely on the value of the exit status to determine if the
|
||||
// command was successful or not.
|
||||
--
|
||||
2.38.1
|
||||
|
||||
@@ -1,157 +0,0 @@
|
||||
From beb23ffb0624b40b2ee1bc56730e54943bd3020f Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= <zebob.m@gmail.com>
|
||||
Date: Thu, 1 Oct 2020 07:19:45 +0200
|
||||
Subject: [PATCH] Revert commit for Windows metrics
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
|
||||
---
|
||||
cmd/ctr/commands/tasks/metrics.go | 113 ------------------------------
|
||||
1 file changed, 113 deletions(-)
|
||||
|
||||
diff --git a/cmd/ctr/commands/tasks/metrics.go b/cmd/ctr/commands/tasks/metrics.go
|
||||
index a83e45ef..f8371401 100644
|
||||
--- a/cmd/ctr/commands/tasks/metrics.go
|
||||
+++ b/cmd/ctr/commands/tasks/metrics.go
|
||||
@@ -23,9 +23,6 @@ import (
|
||||
"os"
|
||||
"text/tabwriter"
|
||||
|
||||
- wstats "github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/stats"
|
||||
- v1 "github.com/containerd/cgroups/stats/v1"
|
||||
- v2 "github.com/containerd/cgroups/v2/stats"
|
||||
"github.com/containerd/containerd/cmd/ctr/commands"
|
||||
"github.com/containerd/typeurl"
|
||||
"github.com/urfave/cli"
|
||||
@@ -77,42 +74,12 @@ var metricsCommand = cli.Command{
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
- var (
|
||||
- data *v1.Metrics
|
||||
- data2 *v2.Metrics
|
||||
- windowsStats *wstats.Statistics
|
||||
- )
|
||||
- switch v := anydata.(type) {
|
||||
- case *v1.Metrics:
|
||||
- data = v
|
||||
- case *v2.Metrics:
|
||||
- data2 = v
|
||||
- case *wstats.Statistics:
|
||||
- windowsStats = v
|
||||
- default:
|
||||
- return errors.New("cannot convert metric data to cgroups.Metrics or windows.Statistics")
|
||||
- }
|
||||
|
||||
switch context.String(formatFlag) {
|
||||
case formatTable:
|
||||
w := tabwriter.NewWriter(os.Stdout, 1, 8, 4, ' ', 0)
|
||||
fmt.Fprintf(w, "ID\tTIMESTAMP\t\n")
|
||||
fmt.Fprintf(w, "%s\t%s\t\n\n", metric.ID, metric.Timestamp)
|
||||
- if data != nil {
|
||||
- printCgroupMetricsTable(w, data)
|
||||
- } else if data2 != nil {
|
||||
- printCgroup2MetricsTable(w, data2)
|
||||
- } else {
|
||||
- if windowsStats.GetLinux() != nil {
|
||||
- printCgroupMetricsTable(w, windowsStats.GetLinux())
|
||||
- } else if windowsStats.GetWindows() != nil {
|
||||
- printWindowsContainerStatistics(w, windowsStats.GetWindows())
|
||||
- }
|
||||
- // Print VM stats if its isolated
|
||||
- if windowsStats.VM != nil {
|
||||
- printWindowsVMStatistics(w, windowsStats.VM)
|
||||
- }
|
||||
- }
|
||||
return w.Flush()
|
||||
case formatJSON:
|
||||
marshaledJSON, err := json.MarshalIndent(anydata, "", " ")
|
||||
@@ -126,83 +93,3 @@ var metricsCommand = cli.Command{
|
||||
}
|
||||
},
|
||||
}
|
||||
-
|
||||
-func printCgroupMetricsTable(w *tabwriter.Writer, data *v1.Metrics) {
|
||||
- fmt.Fprintf(w, "METRIC\tVALUE\t\n")
|
||||
- if data.Memory != nil {
|
||||
- fmt.Fprintf(w, "memory.usage_in_bytes\t%d\t\n", data.Memory.Usage.Usage)
|
||||
- fmt.Fprintf(w, "memory.limit_in_bytes\t%d\t\n", data.Memory.Usage.Limit)
|
||||
- fmt.Fprintf(w, "memory.stat.cache\t%d\t\n", data.Memory.TotalCache)
|
||||
- }
|
||||
- if data.CPU != nil {
|
||||
- fmt.Fprintf(w, "cpuacct.usage\t%d\t\n", data.CPU.Usage.Total)
|
||||
- fmt.Fprintf(w, "cpuacct.usage_percpu\t%v\t\n", data.CPU.Usage.PerCPU)
|
||||
- }
|
||||
- if data.Pids != nil {
|
||||
- fmt.Fprintf(w, "pids.current\t%v\t\n", data.Pids.Current)
|
||||
- fmt.Fprintf(w, "pids.limit\t%v\t\n", data.Pids.Limit)
|
||||
- }
|
||||
-}
|
||||
-
|
||||
-func printCgroup2MetricsTable(w *tabwriter.Writer, data *v2.Metrics) {
|
||||
- fmt.Fprintf(w, "METRIC\tVALUE\t\n")
|
||||
- if data.Pids != nil {
|
||||
- fmt.Fprintf(w, "pids.current\t%v\t\n", data.Pids.Current)
|
||||
- fmt.Fprintf(w, "pids.limit\t%v\t\n", data.Pids.Limit)
|
||||
- }
|
||||
- if data.CPU != nil {
|
||||
- fmt.Fprintf(w, "cpu.usage_usec\t%v\t\n", data.CPU.UsageUsec)
|
||||
- fmt.Fprintf(w, "cpu.user_usec\t%v\t\n", data.CPU.UserUsec)
|
||||
- fmt.Fprintf(w, "cpu.system_usec\t%v\t\n", data.CPU.SystemUsec)
|
||||
- fmt.Fprintf(w, "cpu.nr_periods\t%v\t\n", data.CPU.NrPeriods)
|
||||
- fmt.Fprintf(w, "cpu.nr_throttled\t%v\t\n", data.CPU.NrThrottled)
|
||||
- fmt.Fprintf(w, "cpu.throttled_usec\t%v\t\n", data.CPU.ThrottledUsec)
|
||||
- }
|
||||
- if data.Memory != nil {
|
||||
- fmt.Fprintf(w, "memory.usage\t%v\t\n", data.Memory.Usage)
|
||||
- fmt.Fprintf(w, "memory.usage_limit\t%v\t\n", data.Memory.UsageLimit)
|
||||
- fmt.Fprintf(w, "memory.swap_usage\t%v\t\n", data.Memory.SwapUsage)
|
||||
- fmt.Fprintf(w, "memory.swap_limit\t%v\t\n", data.Memory.SwapLimit)
|
||||
- }
|
||||
-}
|
||||
-
|
||||
-func printWindowsContainerStatistics(w *tabwriter.Writer, stats *wstats.WindowsContainerStatistics) {
|
||||
- fmt.Fprintf(w, "METRIC\tVALUE\t\n")
|
||||
- fmt.Fprintf(w, "timestamp\t%s\t\n", stats.Timestamp)
|
||||
- fmt.Fprintf(w, "start_time\t%s\t\n", stats.ContainerStartTime)
|
||||
- fmt.Fprintf(w, "uptime_ns\t%d\t\n", stats.UptimeNS)
|
||||
- if stats.Processor != nil {
|
||||
- fmt.Fprintf(w, "cpu.total_runtime_ns\t%d\t\n", stats.Processor.TotalRuntimeNS)
|
||||
- fmt.Fprintf(w, "cpu.runtime_user_ns\t%d\t\n", stats.Processor.RuntimeUserNS)
|
||||
- fmt.Fprintf(w, "cpu.runtime_kernel_ns\t%d\t\n", stats.Processor.RuntimeKernelNS)
|
||||
- }
|
||||
- if stats.Memory != nil {
|
||||
- fmt.Fprintf(w, "memory.commit_bytes\t%d\t\n", stats.Memory.MemoryUsageCommitBytes)
|
||||
- fmt.Fprintf(w, "memory.commit_peak_bytes\t%d\t\n", stats.Memory.MemoryUsageCommitPeakBytes)
|
||||
- fmt.Fprintf(w, "memory.private_working_set_bytes\t%d\t\n", stats.Memory.MemoryUsagePrivateWorkingSetBytes)
|
||||
- }
|
||||
- if stats.Storage != nil {
|
||||
- fmt.Fprintf(w, "storage.read_count_normalized\t%d\t\n", stats.Storage.ReadCountNormalized)
|
||||
- fmt.Fprintf(w, "storage.read_size_bytes\t%d\t\n", stats.Storage.ReadSizeBytes)
|
||||
- fmt.Fprintf(w, "storage.write_count_normalized\t%d\t\n", stats.Storage.WriteCountNormalized)
|
||||
- fmt.Fprintf(w, "storage.write_size_bytes\t%d\t\n", stats.Storage.WriteSizeBytes)
|
||||
- }
|
||||
-}
|
||||
-
|
||||
-func printWindowsVMStatistics(w *tabwriter.Writer, stats *wstats.VirtualMachineStatistics) {
|
||||
- fmt.Fprintf(w, "METRIC\tVALUE\t\n")
|
||||
- if stats.Processor != nil {
|
||||
- fmt.Fprintf(w, "vm.cpu.total_runtime_ns\t%d\t\n", stats.Processor.TotalRuntimeNS)
|
||||
- }
|
||||
- if stats.Memory != nil {
|
||||
- fmt.Fprintf(w, "vm.memory.working_set_bytes\t%d\t\n", stats.Memory.WorkingSetBytes)
|
||||
- fmt.Fprintf(w, "vm.memory.virtual_node_count\t%d\t\n", stats.Memory.VirtualNodeCount)
|
||||
- fmt.Fprintf(w, "vm.memory.available\t%d\t\n", stats.Memory.VmMemory.AvailableMemory)
|
||||
- fmt.Fprintf(w, "vm.memory.available_buffer\t%d\t\n", stats.Memory.VmMemory.AvailableMemoryBuffer)
|
||||
- fmt.Fprintf(w, "vm.memory.reserved\t%d\t\n", stats.Memory.VmMemory.ReservedMemory)
|
||||
- fmt.Fprintf(w, "vm.memory.assigned\t%d\t\n", stats.Memory.VmMemory.AssignedMemory)
|
||||
- fmt.Fprintf(w, "vm.memory.slp_active\t%t\t\n", stats.Memory.VmMemory.SlpActive)
|
||||
- fmt.Fprintf(w, "vm.memory.balancing_enabled\t%t\t\n", stats.Memory.VmMemory.BalancingEnabled)
|
||||
- fmt.Fprintf(w, "vm.memory.dm_operation_in_progress\t%t\t\n", stats.Memory.VmMemory.DmOperationInProgress)
|
||||
- }
|
||||
-}
|
||||
--
|
||||
2.28.0
|
||||
|
||||
-1467
File diff suppressed because it is too large
Load Diff
@@ -1,162 +0,0 @@
|
||||
From 4347fc8bc2ac225117a3280c0445e855ca7a69f3 Mon Sep 17 00:00:00 2001
|
||||
From: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
|
||||
Date: Tue, 9 May 2023 22:24:47 +0900
|
||||
Subject: [PATCH] go.mod: github.com/opencontainers/image-spec v1.1.0-rc3
|
||||
|
||||
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
|
||||
---
|
||||
go.mod | 2 +-
|
||||
go.sum | 4 +--
|
||||
images/converter/default.go | 4 +--
|
||||
images/converter/uncompress/uncompress.go | 6 ++--
|
||||
images/diffid.go | 2 +-
|
||||
images/mediatypes.go | 2 +-
|
||||
integration/client/go.mod | 2 +-
|
||||
integration/client/go.sum | 4 +--
|
||||
integration/client/import_test.go | 8 +++--
|
||||
oci/spec_opts.go | 1 +
|
||||
pkg/cri/opts/spec_windows.go | 4 +--
|
||||
remotes/handlers_test.go | 1 +
|
||||
.../image-spec/specs-go/v1/annotations.go | 3 --
|
||||
.../image-spec/specs-go/v1/artifact.go | 34 -------------------
|
||||
.../image-spec/specs-go/v1/config.go | 34 ++++++-------------
|
||||
.../image-spec/specs-go/v1/manifest.go | 11 ++++++
|
||||
.../image-spec/specs-go/v1/mediatype.go | 19 +++++++++--
|
||||
.../image-spec/specs-go/version.go | 2 +-
|
||||
vendor/modules.txt | 4 +--
|
||||
19 files changed, 64 insertions(+), 83 deletions(-)
|
||||
delete mode 100644 vendor/github.com/opencontainers/image-spec/specs-go/v1/artifact.go
|
||||
|
||||
diff --git a/images/converter/default.go b/images/converter/default.go
|
||||
index c67617e4ccfc..4a887242ce40 100644
|
||||
--- a/images/converter/default.go
|
||||
+++ b/images/converter/default.go
|
||||
@@ -431,11 +431,11 @@ func ConvertDockerMediaTypeToOCI(mt stri
|
||||
case images.MediaTypeDockerSchema2LayerGzip:
|
||||
return ocispec.MediaTypeImageLayerGzip
|
||||
case images.MediaTypeDockerSchema2LayerForeignGzip:
|
||||
- return ocispec.MediaTypeImageLayerNonDistributableGzip
|
||||
+ return ocispec.MediaTypeImageLayerNonDistributableGzip //nolint:staticcheck // deprecated
|
||||
case images.MediaTypeDockerSchema2Layer:
|
||||
return ocispec.MediaTypeImageLayer
|
||||
case images.MediaTypeDockerSchema2LayerForeign:
|
||||
- return ocispec.MediaTypeImageLayerNonDistributable
|
||||
+ return ocispec.MediaTypeImageLayerNonDistributable //nolint:staticcheck // deprecated
|
||||
case images.MediaTypeDockerSchema2Config:
|
||||
return ocispec.MediaTypeImageConfig
|
||||
default:
|
||||
diff --git a/images/converter/uncompress/uncompress.go b/images/converter/uncompress/uncompress.go
|
||||
index 30ae02cf5ef9..ceb998fb8ff6 100644
|
||||
--- a/images/converter/uncompress/uncompress.go
|
||||
+++ b/images/converter/uncompress/uncompress.go
|
||||
@@ -99,7 +99,7 @@ func IsUncompressedType(mt string) bool
|
||||
images.MediaTypeDockerSchema2Layer,
|
||||
images.MediaTypeDockerSchema2LayerForeign,
|
||||
ocispec.MediaTypeImageLayer,
|
||||
- ocispec.MediaTypeImageLayerNonDistributable:
|
||||
+ ocispec.MediaTypeImageLayerNonDistributable: //nolint:staticcheck // deprecated
|
||||
return true
|
||||
default:
|
||||
return false
|
||||
@@ -114,8 +114,8 @@ func convertMediaType(mt string) string
|
||||
return images.MediaTypeDockerSchema2LayerForeign
|
||||
case ocispec.MediaTypeImageLayerGzip, ocispec.MediaTypeImageLayerZstd:
|
||||
return ocispec.MediaTypeImageLayer
|
||||
- case ocispec.MediaTypeImageLayerNonDistributableGzip, ocispec.MediaTypeImageLayerNonDistributableZstd:
|
||||
- return ocispec.MediaTypeImageLayerNonDistributable
|
||||
+ case ocispec.MediaTypeImageLayerNonDistributableGzip, ocispec.MediaTypeImageLayerNonDistributableZstd: //nolint:staticcheck // deprecated
|
||||
+ return ocispec.MediaTypeImageLayerNonDistributable //nolint:staticcheck // deprecated
|
||||
default:
|
||||
return mt
|
||||
}
|
||||
diff --git a/images/diffid.go b/images/diffid.go
|
||||
index 1bd5256e2b37..c031f8e36377 100644
|
||||
--- a/images/diffid.go
|
||||
+++ b/images/diffid.go
|
||||
@@ -36,7 +36,7 @@ func GetDiffID(ctx context.Context, cs c
|
||||
MediaTypeDockerSchema2Layer,
|
||||
ocispec.MediaTypeImageLayer,
|
||||
MediaTypeDockerSchema2LayerForeign,
|
||||
- ocispec.MediaTypeImageLayerNonDistributable:
|
||||
+ ocispec.MediaTypeImageLayerNonDistributable: //nolint:staticcheck // deprecated
|
||||
return desc.Digest, nil
|
||||
}
|
||||
info, err := cs.Info(ctx, desc.Digest)
|
||||
diff --git a/images/mediatypes.go b/images/mediatypes.go
|
||||
index 067963babba1..d3b28d42dc61 100644
|
||||
--- a/images/mediatypes.go
|
||||
+++ b/images/mediatypes.go
|
||||
@@ -76,7 +76,7 @@ func DiffCompression(ctx context.Context
|
||||
return "", nil
|
||||
}
|
||||
return "gzip", nil
|
||||
- case ocispec.MediaTypeImageLayer, ocispec.MediaTypeImageLayerNonDistributable:
|
||||
+ case ocispec.MediaTypeImageLayer, ocispec.MediaTypeImageLayerNonDistributable: //nolint:staticcheck // Non-distributable layers are deprecated
|
||||
if len(ext) > 0 {
|
||||
switch ext[len(ext)-1] {
|
||||
case "gzip":
|
||||
diff --git a/integration/client/import_test.go b/integration/client/import_test.go
|
||||
index f2ba3db35f89..9f2cc46e624e 100644
|
||||
--- a/integration/client/import_test.go
|
||||
+++ b/integration/client/import_test.go
|
||||
@@ -370,9 +370,11 @@ func createContent(size int64, seed int6
|
||||
|
||||
func createConfig(osName, archName string) ([]byte, digest.Digest) {
|
||||
image := ocispec.Image{
|
||||
- OS: osName,
|
||||
- Architecture: archName,
|
||||
- Author: "test",
|
||||
+ Platform: ocispec.Platform{
|
||||
+ OS: osName,
|
||||
+ Architecture: archName,
|
||||
+ },
|
||||
+ Author: author,
|
||||
}
|
||||
b, _ := json.Marshal(image)
|
||||
|
||||
diff --git a/oci/spec_opts.go b/oci/spec_opts.go
|
||||
index f38828988577..8c4abd0bd876 100644
|
||||
--- a/oci/spec_opts.go
|
||||
+++ b/oci/spec_opts.go
|
||||
@@ -446,6 +446,7 @@ func WithImageConfigArgs(image Image, ar
|
||||
return errors.New("no arguments specified")
|
||||
}
|
||||
|
||||
+ //nolint:staticcheck // ArgsEscaped is deprecated
|
||||
if config.ArgsEscaped && (len(config.Entrypoint) > 0 || cmdFromImage) {
|
||||
s.Process.Args = nil
|
||||
s.Process.CommandLine = cmd[0]
|
||||
diff --git a/pkg/cri/opts/spec_windows.go b/pkg/cri/opts/spec_windows.go
|
||||
index 0964084ca107..0f7307bd0a6f 100644
|
||||
--- a/pkg/cri/opts/spec_windows.go
|
||||
+++ b/pkg/cri/opts/spec_windows.go
|
||||
@@ -260,7 +260,7 @@ func escapeAndCombineArgsWindows(args []
|
||||
// If image.ArgsEscaped field is set, this function sets the process command line and if not, it sets the
|
||||
// process args field
|
||||
func WithProcessCommandLineOrArgsForWindows(config *runtime.ContainerConfig, image *imagespec.ImageConfig) oci.SpecOpts {
|
||||
- if image.ArgsEscaped {
|
||||
+ if image.ArgsEscaped { //nolint:staticcheck // ArgsEscaped is deprecated
|
||||
return func(ctx context.Context, client oci.Client, c *containers.Container, s *runtimespec.Spec) (err error) {
|
||||
// firstArgFromImg is a flag that is returned to indicate that the first arg in the slice comes from either the
|
||||
// image Entrypoint or Cmd. If the first arg instead comes from the container config (e.g. overriding the image values),
|
||||
@@ -273,7 +273,7 @@ func WithProcessCommandLineOrArgsForWind
|
||||
}
|
||||
|
||||
var cmdLine string
|
||||
- if image.ArgsEscaped && firstArgFromImg {
|
||||
+ if image.ArgsEscaped && firstArgFromImg { //nolint:staticcheck // ArgsEscaped is deprecated
|
||||
cmdLine = args[0]
|
||||
if len(args) > 1 {
|
||||
cmdLine += " " + escapeAndCombineArgsWindows(args[1:])
|
||||
diff --git a/remotes/handlers_test.go b/remotes/handlers_test.go
|
||||
index c0446e1a52e6..9acf54680bf3 100644
|
||||
--- a/remotes/handlers_test.go
|
||||
+++ b/remotes/handlers_test.go
|
||||
@@ -78,6 +78,7 @@ func TestContextCustomKeyPrefix(t *testi
|
||||
})
|
||||
}
|
||||
|
||||
+//nolint:staticcheck // Non-distributable layers are deprecated
|
||||
func TestSkipNonDistributableBlobs(t *testing.T) {
|
||||
ctx := context.Background()
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
diff --git a/pkg/cri/server/helpers.go b/pkg/cri/server/helpers.go
|
||||
index a8498116d..3682be668 100644
|
||||
--- a/pkg/cri/server/helpers.go
|
||||
+++ b/pkg/cri/server/helpers.go
|
||||
@@ -40,7 +40,7 @@ import (
|
||||
runtimespec "github.com/opencontainers/runtime-spec/specs-go"
|
||||
"github.com/sirupsen/logrus"
|
||||
|
||||
- runhcsoptions "github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options"
|
||||
+ // runhcsoptions "github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options"
|
||||
imagedigest "github.com/opencontainers/go-digest"
|
||||
"github.com/pelletier/go-toml"
|
||||
"golang.org/x/net/context"
|
||||
@@ -366,8 +366,8 @@ func getRuntimeOptionsType(t string) interface{} {
|
||||
return &runcoptions.Options{}
|
||||
case plugin.RuntimeLinuxV1:
|
||||
return &runctypes.RuncOptions{}
|
||||
- case runtimeRunhcsV1:
|
||||
- return &runhcsoptions.Options{}
|
||||
+ // case runtimeRunhcsV1:
|
||||
+ // return &runhcsoptions.Options{}
|
||||
default:
|
||||
return &runtimeoptions.Options{}
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
project "pkg" {
|
||||
rpm {
|
||||
spec = "containerd.spec"
|
||||
}
|
||||
}
|
||||
@@ -1,167 +0,0 @@
|
||||
* Mon Jun 06 2022 Maxwell G <gotmax@e.email> 1.6.6-1
|
||||
- Update to 1.6.6.
|
||||
- Mitigates GHSA-5ffw-gxpp-mxpf / CVE-2022-31030.
|
||||
|
||||
* Sun Jun 05 2022 Maxwell G <gotmax@e.email> 1.6.5-2
|
||||
- Bump release
|
||||
|
||||
* Sat Jun 04 2022 Maxwell G <gotmax@e.email> 1.6.5-1
|
||||
- Update to 1.6.5. Fixes rhbz#2093608.
|
||||
|
||||
* Wed May 11 2022 Maxwell G <gotmax@e.email> 1.6.4-1
|
||||
- Update to 1.6.4. Fixes rhbz#079050 and rhbz#2079779.
|
||||
|
||||
* Sat Apr 16 2022 Fabio Alessandro Locati <me@fale.io> 1.6.2-2
|
||||
- Rebuilt for CVE-2022-27191
|
||||
|
||||
* Sun Apr 03 2022 Maxwell G <gotmax@e.email> 1.6.2-1
|
||||
- Update to 1.6.2 (rhbz#2068277). Mitigates CVE-2022-24769 /
|
||||
GHSA-c9cp-9c75-9v8c.
|
||||
|
||||
* Sat Mar 12 2022 Maxwell G <gotmax@e.email> 1.6.1-1
|
||||
- Update to 1.6.1 (rhbz#2060228). Mitigates CVE-2022-23648.
|
||||
|
||||
* Thu Feb 17 2022 Maxwell G <gotmax@e.email> 1.6.0-1
|
||||
- Update to 1.6.0 (rhbz#2054935). Use unbundled deps.
|
||||
|
||||
* Sun Feb 06 2022 Robert-André Mauchin <zebob.m@gmail.com> 1.6.0~rc.2-2
|
||||
- Disable platform tests
|
||||
|
||||
* Sat Feb 05 2022 Robert-André Mauchin <zebob.m@gmail.com> 1.6.0~rc.2-1
|
||||
- Update to 1.6.0~rc.2 Close: rhbz#1731597 Close: rhbz#1798419
|
||||
|
||||
* Mon Jan 31 2022 Maxwell G <gotmax@e.email> - 1.5.9-1
|
||||
- Update to 1.5.9. Fixes FTBFS. Closes rhbz#2045277.
|
||||
- Mitigates CVE-2021-43816. Closes rhbz#2044434. Closes rhbz#2044436.
|
||||
- Temporarily build using vendored dependencies.
|
||||
|
||||
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.8-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Mon Nov 22 2021 Olivier Lemasle <o.lemasle@gmail.com> - 1.5.8-1
|
||||
- Update to upstream 1.5.8 (fixes rhbz#2013807)
|
||||
- Mitigate CVE-2021-41190 (fixes GHSA-5j5w-g665-5m35, fixes rhbz#2024941)
|
||||
|
||||
* Sun Oct 10 2021 Olivier Lemasle <o.lemasle@gmail.com> - 1.5.7-1
|
||||
- Update to upstream 1.5.7 (fixes rhbz#2009149)
|
||||
- Fixes CVE-2021-41103 (fixes rhbz#2011014, rhbz#2011007)
|
||||
|
||||
* Sun Aug 15 2021 Olivier Lemasle <o.lemasle@gmail.com> - 1.5.5-1
|
||||
- Update to upstream 1.5.5 (fixes rhbz#1983820)
|
||||
- Fixes CVE-2021-32760 (rhbz#1983932)
|
||||
|
||||
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Wed Jul 14 11:28:54 CEST 2021 Olivier Lemasle <o.lemasle@gmail.com> - 1.5.3-1
|
||||
- Update to upstream 1.5.3 (fixes rhbz#1956638)
|
||||
|
||||
* Tue May 04 2021 Olivier Lemasle <o.lemasle@gmail.com> - 1.5.0-1
|
||||
- Update to upstream 1.5.0 (#1956638)
|
||||
|
||||
* Mon Apr 19 2021 Olivier Lemasle <o.lemasle@gmail.com> - 1.5.0~rc.1-1
|
||||
- Update to 1.5.0~rc.1 (#1948041)
|
||||
|
||||
* Wed Mar 17 2021 Olivier Lemasle <o.lemasle@gmail.com> - 1.5.0~beta.4-1
|
||||
- Update to upstream 1.5.0-beta.4
|
||||
|
||||
* Sat Mar 06 2021 Olivier Lemasle <o.lemasle@gmail.com> - 1.5.0~beta.3-1
|
||||
- Update to upstream 1.5.0-beta.3
|
||||
|
||||
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.5.0~beta.0-2
|
||||
- Rebuilt for updated systemd-rpm-macros
|
||||
See https://pagure.io/fesco/issue/2583.
|
||||
|
||||
* Thu Jan 28 2021 Olivier Lemasle <o.lemasle@gmail.com> 1.5.0~beta.0-1
|
||||
- Update to 1.5.0~beta.0 (#1918993)
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Dec 01 2020 Olivier Lemasle <o.lemasle@gmail.com> - 1.4.3-1
|
||||
- Fix CVE-2020-15257 (#1903050)
|
||||
- Update to latest upstream - 1.4.3 (#1901908)
|
||||
|
||||
* Mon Nov 2 23:23:57 CET 2020 Olivier Lemasle <o.lemasle@gmail.com> - 1.4.1-2
|
||||
- Fix man pages
|
||||
|
||||
* Wed Sep 30 2020 Robert-André Mauchin <zebob.m@gmail.com> - 1.4.1-1
|
||||
- Update to 1.4.1
|
||||
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-3
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Apr 01 2020 Olivier Lemasle <o.lemasle@gmail.com> - 1.3.3-1
|
||||
- Update to 1.3.3
|
||||
|
||||
* Sun Mar 22 2020 Olivier Lemasle <o.lemasle@gmail.com> - 1.2.13-2
|
||||
- Remove version requirement on golang-github-containerd-cri
|
||||
|
||||
* Sun Mar 22 2020 Olivier Lemasle <o.lemasle@gmail.com> - 1.2.13-1
|
||||
- Exclude failing integration tests
|
||||
- Update to containerd 1.2.13
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.6-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.6-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Wed May 01 15:33:19 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.2.6-1.20190501gitd68b593
|
||||
- Release 1.2.6, commit d68b593de4ab10bb8b4fd64560e10d43c7156db2
|
||||
|
||||
* Tue Feb 26 2019 Carl George <carl@george.computer> - 1.2.4-1
|
||||
- Latest upstream
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Thu Jan 03 2019 Carl George <carl@george.computer> - 1.2.1-1
|
||||
- Latest upstream
|
||||
- Run test suite (except on el7 or %%arm)
|
||||
|
||||
* Thu Oct 25 2018 Carl George <carl@george.computer> - 1.2.0-1
|
||||
- Latest upstream
|
||||
|
||||
* Mon Aug 13 2018 Carl George <carl@george.computer> - 1.1.2-1
|
||||
- Latest upstream
|
||||
|
||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Apr 26 2018 Carl George <carl@george.computer> - 1.1.0-1
|
||||
- Latest upstream
|
||||
- Build and include man pages
|
||||
|
||||
* Wed Apr 04 2018 Carl George <carl@george.computer> - 1.0.3-1
|
||||
- Latest upstream
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Mon Jan 22 2018 Carl George <carl@george.computer> - 1.0.1-1
|
||||
- Latest upstream
|
||||
|
||||
* Wed Dec 06 2017 Carl George <carl@george.computer> - 1.0.0-1
|
||||
- Latest upstream
|
||||
|
||||
* Fri Nov 10 2017 Carl George <carl@george.computer> - 1.0.0-0.5.beta.3
|
||||
- Latest upstream
|
||||
|
||||
* Thu Oct 19 2017 Carl George <carl@george.computer> - 1.0.0-0.4.beta.2
|
||||
- Own /etc/containerd
|
||||
|
||||
* Thu Oct 12 2017 Carl George <carl@george.computer> - 1.0.0-0.3.beta.2
|
||||
- Latest upstream
|
||||
- Require runc 1.0.0 https://github.com/containerd/containerd/issues/1508#issuecomment-335566293
|
||||
|
||||
* Mon Oct 09 2017 Carl George <carl@george.computer> - 1.0.0-0.2.beta.1
|
||||
- Add provides for vendored dependencies
|
||||
- Add ctr command
|
||||
|
||||
* Wed Oct 04 2017 Carl George <carl@george.computer> - 1.0.0-0.1.beta.1
|
||||
- Initial package
|
||||
@@ -1,127 +0,0 @@
|
||||
# This is a simplified version of the containerd.spec file from Fedora
|
||||
# designed to build from upstream containerd, not Fedora
|
||||
|
||||
# Created due to https://bugzilla.redhat.com/show_bug.cgi?id=2237396
|
||||
|
||||
%global debug_package %{nil}
|
||||
|
||||
# https://github.com/containerd/containerd
|
||||
%global goipath github.com/containerd/containerd
|
||||
Version: 2.0.1
|
||||
|
||||
%gometa
|
||||
|
||||
%global goname containerd
|
||||
%global godevelname containerd-devel
|
||||
|
||||
%global common_description %{expand:
|
||||
Containerd is an industry-standard container runtime with an emphasis on
|
||||
simplicity, robustness and portability. It is available as a daemon for Linux
|
||||
and Windows, which can manage the complete container lifecycle of its host
|
||||
system: image transfer and storage, container execution and supervision,
|
||||
low-level storage and network attachments, etc.}
|
||||
|
||||
%global golicenses LICENSE NOTICE
|
||||
%global godocs docs ROADMAP.md SCOPE.md code-of-conduct.md\\\
|
||||
BUILDING.md README.md RELEASES.md
|
||||
|
||||
Name: %{goname}
|
||||
Release: 1%?dist
|
||||
Summary: Open and reliable container runtime
|
||||
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/containerd/containerd
|
||||
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/containerd-%{version}.tar.gz
|
||||
Source2: containerd.toml
|
||||
# Carve out code requiring github.com/Microsoft/hcsshim
|
||||
#Patch0: 0001-Revert-commit-for-Windows-metrics.patch
|
||||
#Patch1: 0002-Remove-windows-only-dep.patch
|
||||
# Backport for github.com/containerd/typeurl update
|
||||
#Patch2: 0001-Use-typeurl.Any-instead-of-github.com-gogo-protobuf-.patch
|
||||
# To use with latest go-runc
|
||||
#Patch3: 0001-Add-reaper-StartLocked.patch
|
||||
# To use with latest opencontainers/image-spec
|
||||
#Patch4: 0001-opencontainers-image-spec-v1.1.0-rc3.patch
|
||||
|
||||
BuildRequires: btrfs-progs-devel
|
||||
BuildRequires: go-md2man
|
||||
BuildRequires: systemd-rpm-macros
|
||||
BuildRequires: git-core
|
||||
|
||||
Requires: runc
|
||||
|
||||
%description
|
||||
%{common_description}
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
|
||||
%description devel
|
||||
%{common_description}
|
||||
|
||||
This package contains library source intended for
|
||||
building other packages which use import path with
|
||||
%{goname} prefix.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{goname}-%{version}
|
||||
# Used only for generation:
|
||||
#rm -rf cmd/protoc-gen-gogoctrd
|
||||
# Replace default bin directory
|
||||
sed -i "s|/usr/local/bin/containerd|/usr/bin/containerd|" containerd.service
|
||||
|
||||
%build
|
||||
#pushd containerd
|
||||
export GOFLAGS="-buildmode=pie -v -x"
|
||||
%make_build
|
||||
mkdir _man
|
||||
go-md2man -in docs/man/containerd-config.8.md -out _man/containerd-config.8
|
||||
go-md2man -in docs/man/containerd-config.toml.5.md -out _man/containerd-config.toml.5
|
||||
go run cmd/gen-manpages/main.go containerd.8 _man
|
||||
go run cmd/gen-manpages/main.go ctr.8 _man
|
||||
|
||||
%install
|
||||
export GOFLAGS="-buildmode=pie -v -x"
|
||||
%make_install PREFIX=%{_prefix} DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
|
||||
install -D -p -m 0644 _man/containerd.8 %{buildroot}%{_mandir}/man8/containerd.8
|
||||
install -D -p -m 0644 _man/containerd-config.8 %{buildroot}%{_mandir}/man8/containerd-config.8
|
||||
install -D -p -m 0644 _man/ctr.8 %{buildroot}%{_mandir}/man8/ctr.8
|
||||
install -D -p -m 0644 _man/containerd-config.toml.5 %{buildroot}%{_mandir}/man5/containerd-config.toml.5
|
||||
install -D -p -m 0644 containerd.service %{buildroot}%{_unitdir}/containerd.service
|
||||
install -D -p -m 0644 %{S:2} %{buildroot}%{_sysconfdir}/containerd/config.toml
|
||||
mkdir -p %{buildroot}%{_sharedstatedir}/containerd/opt
|
||||
|
||||
%post
|
||||
%systemd_post containerd.service
|
||||
|
||||
%preun
|
||||
%systemd_preun containerd.service
|
||||
|
||||
%postun
|
||||
%systemd_postun_with_restart containerd.service
|
||||
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE NOTICE
|
||||
%doc docs ROADMAP.md SCOPE.md code-of-conduct.md BUILDING.md
|
||||
%doc README.md RELEASES.md
|
||||
%{_bindir}/*
|
||||
%{_mandir}/man8/containerd.8*
|
||||
%{_mandir}/man8/containerd-config.8*
|
||||
%{_mandir}/man8/ctr.8*
|
||||
%{_mandir}/man5/containerd-config.toml.5*
|
||||
%{_unitdir}/containerd.service
|
||||
%dir %{_sysconfdir}/containerd
|
||||
%config(noreplace) %{_sysconfdir}/containerd/config.toml
|
||||
%dir %{_sharedstatedir}/containerd
|
||||
%dir %{_sharedstatedir}/containerd/opt
|
||||
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user