mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 17:11:56 +00:00
Compare commits
469 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 11e15e00dc | |||
| 24f4599fca | |||
| bdbc3d5d79 | |||
| 18d7543306 | |||
| 54b16c7752 | |||
| 87a1d564d4 | |||
| f94d510752 | |||
| ae0a382eb7 | |||
| 6d801bdac0 | |||
| 39db7eae6c | |||
| 4321f232b6 | |||
| e0c9725ded | |||
| 7cf078808c | |||
| 1d2c73a471 | |||
| 0e757e5391 | |||
| 9fc0aef585 | |||
| d2229fdc9e | |||
| b501e87b47 | |||
| ca68e9238d | |||
| 74274eb929 | |||
| 9dfd7f137e | |||
| 3d5954f19d | |||
| 1f44be8f51 | |||
| 3dd43608c0 | |||
| a8bab27087 | |||
| 22165c0adf | |||
| c698871e62 | |||
| ca57b018d9 | |||
| 4372ba1716 | |||
| 56fb185910 | |||
| 84781aecaa | |||
| 48f5f8f613 | |||
| cbac8b61fc | |||
| f1e46e95a6 | |||
| 443c97f53a | |||
| 1667a8f472 | |||
| f1d61dd4c4 | |||
| bdb73cac18 | |||
| fe942ff32f | |||
| ce8510d2fd | |||
| 035092d5d2 | |||
| 41dbafa937 | |||
| 9ac9b8432b | |||
| d85115a3a8 | |||
| 270755baa9 | |||
| dc33ac2d85 | |||
| 7af1a904f3 | |||
| 3f822e166b | |||
| 3fe7dd9f8a | |||
| 931e4e57ba | |||
| fafa9ffc5c | |||
| 31c07dd101 | |||
| a1bd9debde | |||
| 9422a39a26 | |||
| 61422a7163 | |||
| 69a628dd45 | |||
| 79626af972 | |||
| 0814d641dc | |||
| cbc958f17b | |||
| 52b5fa3796 | |||
| 720f75293c | |||
| 6d01d415b7 | |||
| adae8ee1f2 | |||
| c7bff4530e | |||
| 0fadbd2b5d | |||
| 6940417d24 | |||
| e2226f7b48 | |||
| 9e6b8df98e | |||
| 424e9e8b71 | |||
| be8c286f4b | |||
| a440a6b8a0 | |||
| 5baf57d689 | |||
| cddaa0c0ec | |||
| f89b865f6d | |||
| 5837b9afa3 | |||
| 78800223eb | |||
| b4c5cc2ad1 | |||
| 9c8a59d2e8 | |||
| ccdb5a6a0a | |||
| bd8293b9da | |||
| 64988cf720 | |||
| ffa3542038 | |||
| 570dbc0c1e | |||
| 6fefa51f4c | |||
| d76922a195 | |||
| 9d281429fd | |||
| a0f6d6157c | |||
| 2cf0005d34 | |||
| 25ccf85ab1 | |||
| c5bfe8393b | |||
| 0f6e7faa79 | |||
| b55b5d70f6 | |||
| 09307d4035 | |||
| 744a908764 | |||
| 30be063c78 | |||
| fc37db11bf | |||
| 0173b41c31 | |||
| bfb2e24eca | |||
| 4fa6e52dcc | |||
| 7fe4c03885 | |||
| bf9b8a52c5 | |||
| 609c7cd370 | |||
| c11d53ae72 | |||
| 615fc2518c | |||
| 5fabcd78a2 | |||
| 6c07d7aba6 | |||
| df2414dc93 | |||
| 921a31b437 | |||
| 106de09521 | |||
| f5cdebb3d0 | |||
| eff213324a | |||
| 81655e8c1c | |||
| 060de98058 | |||
| 39d4121fca | |||
| eb9aa8fce1 | |||
| eeb1b095ce | |||
| 438312a6f4 | |||
| 544bebb203 | |||
| 7eea312424 | |||
| 7c8b826b61 | |||
| 4ddab6f662 | |||
| e36659cf1a | |||
| 2913badea4 | |||
| 014fecee89 | |||
| d728231a7b | |||
| a3538ff5b9 | |||
| 877be2a600 | |||
| 1d06826d66 | |||
| 7a73df9531 | |||
| dbcbbbf140 | |||
| f0bf5ff9de | |||
| a69b58fd64 | |||
| f06074c5a1 | |||
| 10e411df9b | |||
| c4cfbf61a9 | |||
| d38adfecaf | |||
| 9fa9043f60 | |||
| a92eb4dd6d | |||
| 4324e0478c | |||
| bfd852a3fd | |||
| 3fd355f88e | |||
| f3c423c2b6 | |||
| f65ea5744c | |||
| b6d5e66d3d | |||
| 55d2049233 | |||
| 0776c8dcc8 | |||
| 8a509f89b2 | |||
| a162c1d2b8 | |||
| 1ec3f677fd | |||
| 4060600471 | |||
| ad17ab8d0f | |||
| d26c57dadb | |||
| 1311c0baa4 | |||
| c7db296f15 | |||
| b61a4b6a4c | |||
| d613cfbeb1 | |||
| f18b1c216b | |||
| ea06f6319c | |||
| b5783935e8 | |||
| d87faa1bd8 | |||
| c65223136d | |||
| ba154c550b | |||
| 4d50bec2d0 | |||
| 43906c7f53 | |||
| 378edc7887 | |||
| 0d57163471 | |||
| 600f4d32d1 | |||
| 8cdf385635 | |||
| 5651525ac7 | |||
| a01cb2b54b | |||
| bf1a200012 | |||
| 5d071f35f1 | |||
| 576fe0ccc8 | |||
| 2d47bbc4fc | |||
| 46f378fd89 | |||
| f92f9b3c19 | |||
| d892083493 | |||
| b16282e898 | |||
| 2624222b3b | |||
| 12421c5713 | |||
| c87cea8430 | |||
| c038398488 | |||
| 49ade8f074 | |||
| 9d4d11dcfc | |||
| 36e88d7c00 | |||
| f8b91358c3 | |||
| 9c572b13a8 | |||
| 03b3702dc7 | |||
| 9b6a326784 | |||
| 2a5a5b5179 | |||
| 402ef36121 | |||
| 44dae7ccf7 | |||
| 2a29b72c9e | |||
| c8e00cc37c | |||
| 3fcfddb8a7 | |||
| 1ab9787f2d | |||
| 8df58161af | |||
| 3719992fdb | |||
| 7f1ea79ca6 | |||
| 7b40d0a95a | |||
| a6c9ffebc6 | |||
| bc2e49ac6b | |||
| fc211836c5 | |||
| f438ffbbfd | |||
| 3221727b23 | |||
| a30c5be489 | |||
| ce54d89d2b | |||
| ab57f9a712 | |||
| d0eebfd570 | |||
| 8ce667f841 | |||
| 80c7b2f657 | |||
| 558af1e330 | |||
| c5eab1be0a | |||
| 939a87f8a3 | |||
| afa56a641c | |||
| 5dbded1d58 | |||
| 55c60a8167 | |||
| 601280d8d6 | |||
| 336079567a | |||
| e71039339f | |||
| 90a644b57a | |||
| 49f44f04c7 | |||
| 5b65ac303d | |||
| 43c98f1732 | |||
| 9b413030fa | |||
| 5ed629d5cd | |||
| 426b3ad685 | |||
| 650701e91f | |||
| 54fba4df32 | |||
| f9c40be2c3 | |||
| 6c7451ce44 | |||
| 8aec01f7c8 | |||
| be7d1a4202 | |||
| 326b008200 | |||
| c1faaa91c0 | |||
| 31bc8d9075 | |||
| b2c2c9f60c | |||
| c922075e19 | |||
| 7715f86e5b | |||
| dcbd9aa9b4 | |||
| 9f96bc3368 | |||
| 53be6911b1 | |||
| 8c77722346 | |||
| 00622be654 | |||
| 7c12f7e8bc | |||
| b1c1a3cd58 | |||
| fb8c0351b9 | |||
| 5fe3abb446 | |||
| 7808f55f70 | |||
| 3ef3b3bcc3 | |||
| ec16f00179 | |||
| 632dc39aa1 | |||
| 68887c5e69 | |||
| 00551efcb3 | |||
| f2cfa1facf | |||
| 7c60903644 | |||
| d7f518762a | |||
| ca4a951ee5 | |||
| 632d3729ce | |||
| b81159d74c | |||
| 3e7630120a | |||
| 05c6ceb518 | |||
| 1229238cbd | |||
| a8293cf0e6 | |||
| f318d01141 | |||
| 678fcec277 | |||
| c4a41b8c8b | |||
| efdda5b1ce | |||
| 4588d722a2 | |||
| 9ce2296b85 | |||
| 48b2d35915 | |||
| ce09e4ca42 | |||
| 749bd17a9d | |||
| 8cc6143977 | |||
| 14144d2dce | |||
| e922a82286 | |||
| e514b72612 | |||
| 12f3eb7031 | |||
| a71e2a97e6 | |||
| 94ab06a930 | |||
| d8b95c8b73 | |||
| b6cf28e998 | |||
| 559d793227 | |||
| ea3f6e4d7a | |||
| aee0099968 | |||
| 2f834e6166 | |||
| 62d061423c | |||
| 2050330ca7 | |||
| 97fe1fbf19 | |||
| 803f55438c | |||
| 102376feed | |||
| a6a6dfbc49 | |||
| 7d178dc117 | |||
| 38cd8dd60e | |||
| 264343636a | |||
| a253e8d457 | |||
| 3dba068927 | |||
| b75e0629c9 | |||
| 41a62aac67 | |||
| ae69b9dc50 | |||
| eb2a494110 | |||
| 1c8c3d5d1e | |||
| 64526db001 | |||
| b2057f21d4 | |||
| 7065c95aa6 | |||
| 0e19f3d489 | |||
| 65bc085b09 | |||
| 71d95e9294 | |||
| 423fff9925 | |||
| cf43eab133 | |||
| 29da8227ef | |||
| a96a030a89 | |||
| efb95b7c57 | |||
| d984370072 | |||
| 3846f9874b | |||
| b66bbc4291 | |||
| e58698c4d9 | |||
| 422ab9514e | |||
| ea36e1a358 | |||
| a9368babee | |||
| 2c760b3ceb | |||
| 2c44444caf | |||
| e9aa9d66e6 | |||
| 54af040ba7 | |||
| af2bf74318 | |||
| d840413f6e | |||
| eb0ae0720f | |||
| cdcdaf69bd | |||
| 61107bec55 | |||
| a8b4d978cf | |||
| 183bf2033c | |||
| 0f6cf45932 | |||
| e5a99bc2b9 | |||
| 9e3e227d3e | |||
| 2bc09f45d1 | |||
| 28a20935a9 | |||
| 056dad8dd6 | |||
| 3e457f763b | |||
| dd3ed8a7a9 | |||
| e6ff989382 | |||
| e2c592ac2f | |||
| 530a62ace6 | |||
| 8502a1ed58 | |||
| c3e24942b6 | |||
| 10832d9e1b | |||
| 18bdb11a88 | |||
| e3f3578260 | |||
| d4a7dc8523 | |||
| 49a59a08e6 | |||
| 380dc4b678 | |||
| a43286ef67 | |||
| c6025dc5a3 | |||
| bfd66c0808 | |||
| 8b67053be4 | |||
| a4cd214eb5 | |||
| 5cb73404de | |||
| 480c621d8d | |||
| e5ec54d2c5 | |||
| 5132e36da8 | |||
| aae1e3c43b | |||
| 836d20c41b | |||
| 1c97b78dab | |||
| f42a565398 | |||
| 48d7dd932d | |||
| 10b7f84269 | |||
| 8a4b553807 | |||
| 350d267363 | |||
| d71700367c | |||
| e4ef9bed83 | |||
| 828489bba5 | |||
| c5c3472c6c | |||
| 5c7283b2bd | |||
| 996ddc05a8 | |||
| f1284ab91c | |||
| 196421e363 | |||
| b8bc44fae1 | |||
| 89e5884931 | |||
| 3d875b65f4 | |||
| 4ddd6f3d02 | |||
| 80b14776bb | |||
| 047a4feff0 | |||
| 5f6e94e242 | |||
| 882c42f204 | |||
| 15d6cfd8ab | |||
| dab917b316 | |||
| 7b601705e9 | |||
| 6f9a111285 | |||
| 138cb7fee0 | |||
| e5a7ab8d1d | |||
| 5146738337 | |||
| 520d21437c | |||
| e9aa2584b5 | |||
| cc530b7cd7 | |||
| 1938ede867 | |||
| 8c6191a0a1 | |||
| ec84d19377 | |||
| 8477e2a5c2 | |||
| 4a776ba4b1 | |||
| 558f19ece3 | |||
| 1a706b7d6b | |||
| 1ac9432ada | |||
| 15066ddf59 | |||
| 09cec4185b | |||
| 0b71dce46b | |||
| e6819ccc08 | |||
| 8d331cc9e6 | |||
| 8804b81070 | |||
| 0e17d3e991 | |||
| ebb9d36756 | |||
| dd3142025b | |||
| 78e66d57da | |||
| 49e2dec9e4 | |||
| 36eb9d4f3f | |||
| 5ddeee3c5d | |||
| 091015322d | |||
| ad65b9bb22 | |||
| a5bf587c9c | |||
| d32501b193 | |||
| e42eac0ad5 | |||
| 34ca01b2f5 | |||
| 80aed38071 | |||
| 6a7f38b828 | |||
| 6f662431ca | |||
| feb40412c5 | |||
| f4fd5896ec | |||
| 27d2464029 | |||
| de8a42d54d | |||
| f59138968b | |||
| 2f2ffc2572 | |||
| 232db4988c | |||
| 08e203fbaa | |||
| 783ca7552f | |||
| a1181ae791 | |||
| ff8a9a3529 | |||
| fc1f39c8e1 | |||
| 8091ce3211 | |||
| ff3ec8bf39 | |||
| 14752341a8 | |||
| 59b00df647 | |||
| f2d49eae59 | |||
| f994f4232c | |||
| a72d68488c | |||
| 0d4b481ac6 | |||
| 76ff4eec52 | |||
| e337b7104e | |||
| d9ca1fc0de | |||
| 4a2431209c | |||
| 33e1e88dda | |||
| 385ef5dd28 | |||
| c53da81cce | |||
| 19d57b6828 | |||
| f5736ce4f4 | |||
| b3f0031efb | |||
| acaeb69ad6 | |||
| 2810b5c6dc | |||
| 4ec98f3e21 | |||
| 730d25fe35 | |||
| 0561fa8e11 | |||
| 2f437a9794 | |||
| d203658596 | |||
| 85babd8d1c | |||
| 3e20ea69c5 | |||
| 64d8eb5a76 | |||
| c7c4f27e1f | |||
| 7e046d459a | |||
| 9eab2d082e | |||
| c92c160d24 | |||
| afe577aadd | |||
| 04792c9d51 |
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"repoOwner": "terrapkg",
|
||||
"repoName": "packages",
|
||||
"resetAuthor": true,
|
||||
"targetBranchChoices": ["f38", "f39", "f40", "frawhide"],
|
||||
"branchLabelMapping": {
|
||||
"^sync-(.+)$": "$1"
|
||||
}
|
||||
}
|
||||
@@ -6,13 +6,13 @@ on:
|
||||
paths:
|
||||
- anda/**
|
||||
branches:
|
||||
- frawhide
|
||||
- f39
|
||||
pull_request:
|
||||
branches:
|
||||
- frawhide
|
||||
- f39
|
||||
merge_group:
|
||||
branches:
|
||||
- frawhide
|
||||
- f39
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
|
||||
@@ -23,13 +23,13 @@ jobs:
|
||||
outputs:
|
||||
build_matrix: ${{ steps.generate_build_matrix.outputs.build_matrix }}
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:frawhide
|
||||
image: ghcr.io/terrapkg/builder:f39
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
steps:
|
||||
- name: Set workspace as safe
|
||||
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Generate build matrix
|
||||
@@ -40,7 +40,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
pkg: ${{ fromJson(needs.manifest.outputs.build_matrix) }}
|
||||
version: ["rawhide"]
|
||||
version: ["39"]
|
||||
fail-fast: false
|
||||
runs-on: ${{ matrix.pkg.arch == 'aarch64' && 'ARM64' || 'ubuntu-latest' }}
|
||||
container:
|
||||
@@ -48,12 +48,19 @@ jobs:
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up git repository
|
||||
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
|
||||
- name: Cache buildroot
|
||||
id: br-cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: /var/cache
|
||||
key: ${{ runner.os }}-br-${{ matrix.version }}-${{ matrix.pkg.arch }}
|
||||
|
||||
- name: Include custom build template instead of package default
|
||||
run: |
|
||||
cp -v anda/terra/mock-configs/terra.tpl /etc/mock/templates/terra.tpl
|
||||
@@ -68,10 +75,9 @@ jobs:
|
||||
x=${NAME//\//@}
|
||||
echo "name=$x" >> $GITHUB_OUTPUT
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ steps.art.outputs.name }}
|
||||
compression-level: 0 # The RPMs are already compressed :p
|
||||
path: |
|
||||
anda-build/rpm/rpms/*
|
||||
anda-build/rpm/srpm/*
|
||||
|
||||
@@ -7,7 +7,7 @@ jobs:
|
||||
bootstrap:
|
||||
strategy:
|
||||
matrix:
|
||||
version: ["rawhide"]
|
||||
version: ["39"]
|
||||
arch: ["x86_64", "aarch64"]
|
||||
fail-fast: true
|
||||
runs-on: ${{ matrix.arch == 'aarch64' && 'ARM64' || 'ubuntu-latest' }}
|
||||
@@ -21,7 +21,7 @@ jobs:
|
||||
- name: Install Anda
|
||||
run: cargo install anda
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
ref: f${{ matrix.version }}
|
||||
fetch-depth: 1
|
||||
|
||||
@@ -21,7 +21,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
pkg: ${{ fromJson(needs.parse.outputs.pkgs) }}
|
||||
version: ["rawhide"]
|
||||
version: ["39"]
|
||||
arch: ["x86_64", "aarch64"]
|
||||
fail-fast: false
|
||||
runs-on: ${{ matrix.arch == 'aarch64' && 'ARM64' || 'ubuntu-latest' }}
|
||||
@@ -30,7 +30,7 @@ jobs:
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up git repository
|
||||
@@ -38,7 +38,7 @@ jobs:
|
||||
|
||||
- name: Cache buildroot
|
||||
id: br-cache
|
||||
uses: actions/cache@v4
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: /var/cache
|
||||
key: ${{ runner.os }}-br-${{ matrix.version }}-${{ matrix.arch }}-${{ matrix.pkg }}
|
||||
@@ -53,10 +53,9 @@ jobs:
|
||||
x=${NAME//\//@}
|
||||
echo "name=$x" >> $GITHUB_OUTPUT
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ steps.art.outputs.name }}
|
||||
compression-level: 0 # The RPMs are already compressed :p
|
||||
path: |
|
||||
anda-build/rpm/rpms/*
|
||||
anda-build/rpm/srpm/*
|
||||
|
||||
@@ -11,7 +11,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
pkg: ${{ fromJson(inputs.packages) }}
|
||||
version: ["rawhide"]
|
||||
version: ["39"]
|
||||
fail-fast: false
|
||||
runs-on: ${{ matrix.pkg.arch == 'aarch64' && 'ARM64' || 'ubuntu-latest' }}
|
||||
container:
|
||||
@@ -19,7 +19,7 @@ jobs:
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up git repository
|
||||
@@ -27,7 +27,7 @@ jobs:
|
||||
|
||||
- name: Cache buildroot
|
||||
id: br-cache
|
||||
uses: actions/cache@v4
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: /var/cache
|
||||
key: ${{ runner.os }}-br-${{ matrix.version }}-${{ matrix.pkg.arch }}-${{ matrix.pkg.pkg }}
|
||||
@@ -42,10 +42,9 @@ jobs:
|
||||
x=${NAME//\//@}
|
||||
echo "name=$x" >> $GITHUB_OUTPUT
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ steps.art.outputs.name }}
|
||||
compression-level: 0 # The RPMs are already compressed :p
|
||||
path: |
|
||||
anda-build/rpm/rpms/*
|
||||
anda-build/rpm/srpm/*
|
||||
|
||||
@@ -3,20 +3,20 @@ name: Lint
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- frawhide
|
||||
- f39
|
||||
pull_request:
|
||||
branches:
|
||||
- frawhide
|
||||
- f39
|
||||
merge_group:
|
||||
branches:
|
||||
- frawhide
|
||||
- f39
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:frawhide
|
||||
image: ghcr.io/terrapkg/builder:f39
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v3
|
||||
- name: Lint spec files
|
||||
run: rpmlint $(find anda -type f -name "*.spec" -type f)
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
name: Automatic backport/sync action
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
types: ["labeled", "closed"]
|
||||
|
||||
jobs:
|
||||
backport:
|
||||
name: Backport/sync PR
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.pull_request.merged
|
||||
steps:
|
||||
- name: Install SSH signing key
|
||||
run: |
|
||||
mkdir -p ${{ runner.temp }}
|
||||
echo "${{ secrets.SSH_SIGNING_KEY }}" > ${{ runner.temp }}/signing_key
|
||||
chmod 0700 ${{ runner.temp }}/signing_key
|
||||
|
||||
- name: Setup Raboneko Signing
|
||||
run: |
|
||||
git config --global gpg.format "ssh"
|
||||
git config --global user.signingkey "${{ runner.temp }}/signing_key"
|
||||
git config --global commit.gpgsign true
|
||||
|
||||
- name: Backport Action
|
||||
uses: sorenlouv/backport-github-action@v9.3.0
|
||||
with:
|
||||
github_token: ${{ secrets.RABONEKO_BACKPORT_GITHUB_TOKEN }}
|
||||
auto_backport_label_prefix: sync-
|
||||
|
||||
- name: Info log
|
||||
if: ${{ success() }}
|
||||
run: cat ~/.backport/backport.info.log
|
||||
|
||||
- name: Debug log
|
||||
if: ${{ failure() }}
|
||||
run: cat ~/.backport/backport.debug.log
|
||||
@@ -0,0 +1,38 @@
|
||||
name: Sync PR to other branches
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- closed
|
||||
branches:
|
||||
- f38
|
||||
|
||||
jobs:
|
||||
sync:
|
||||
strategy:
|
||||
matrix:
|
||||
branch: ["f37"]
|
||||
fail-fast: false
|
||||
if: github.event.pull_request.merged == true && !contains(github.event.pull_request.labels.*.name, 'nosync')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ssh-key: ${{ secrets.SSH_AUTHENTICATION_KEY }}
|
||||
ref: ${{ matrix.branch }}
|
||||
- name: Install SSH key and Setup Git
|
||||
run: |
|
||||
mkdir -p ${{ runner.temp }}
|
||||
echo "${{ secrets.SSH_SIGNING_KEY }}" > ${{ runner.temp }}/signing_key
|
||||
chmod 0700 ${{ runner.temp }}/signing_key
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
git config user.name "Raboneko"
|
||||
git config user.email "raboneko@fyralabs.com"
|
||||
git config gpg.format "ssh"
|
||||
git config user.signingkey "${{ runner.temp }}/signing_key"
|
||||
- name: Apply patches and Push
|
||||
run: |
|
||||
curl https://github.com/terrapkg/packages/pull/${{ github.event.pull_request.number }}.patch > pr.patch
|
||||
git am -S --keep-cr --signoff < pr.patch
|
||||
git push -u origin --all
|
||||
@@ -3,7 +3,6 @@ name: Push comps updates
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- frawhide
|
||||
- f39
|
||||
- f38
|
||||
- f37
|
||||
@@ -15,9 +14,9 @@ jobs:
|
||||
update-comps:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:frawhide
|
||||
image: ghcr.io/terrapkg/builder:f39
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v3
|
||||
- name: Push to subatomic
|
||||
run: |
|
||||
branch=${{ github.ref_name }}
|
||||
|
||||
@@ -8,21 +8,20 @@ jobs:
|
||||
autoupdate:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:frawhide
|
||||
image: ghcr.io/terrapkg/builder:f39
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ssh-key: ${{ secrets.SSH_AUTHENTICATION_KEY }}
|
||||
|
||||
- name: Install SSH signing key & Set up git repository
|
||||
- name: Install SSH signing key
|
||||
run: |
|
||||
mkdir -p ${{ runner.temp }}
|
||||
echo "${{ secrets.SSH_SIGNING_KEY }}" > ${{ runner.temp }}/signing_key
|
||||
chmod 0700 ${{ runner.temp }}/signing_key
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
|
||||
- name: Run Nightly Update
|
||||
run: anda update -vv --filters nightly=1
|
||||
@@ -31,6 +30,7 @@ jobs:
|
||||
|
||||
- name: Save
|
||||
run: |
|
||||
git config --global --add safe.directory "*"
|
||||
if [[ `git status --porcelain` ]]; then
|
||||
git config user.name "Raboneko"
|
||||
git config user.email "raboneko@fyralabs.com"
|
||||
@@ -47,7 +47,7 @@ jobs:
|
||||
git commit -S -a -m "$msg"
|
||||
}
|
||||
copy_over f38 || true
|
||||
copy_over f39 || true
|
||||
copy_over f40 || true
|
||||
copy_over frawhide || true
|
||||
git push -u origin --all
|
||||
fi
|
||||
|
||||
@@ -8,21 +8,20 @@ jobs:
|
||||
autoupdate:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:frawhide
|
||||
image: ghcr.io/terrapkg/builder:f39
|
||||
options: --cap-add=SYS_ADMIN --privileged
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ssh-key: ${{ secrets.SSH_AUTHENTICATION_KEY }}
|
||||
|
||||
- name: Install SSH signing key & Set up git repository
|
||||
- name: Install SSH signing key
|
||||
run: |
|
||||
mkdir -p ${{ runner.temp }}
|
||||
echo "${{ secrets.SSH_SIGNING_KEY }}" > ${{ runner.temp }}/signing_key
|
||||
chmod 0700 ${{ runner.temp }}/signing_key
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
|
||||
- name: Run Update
|
||||
run: anda update -vv
|
||||
@@ -32,6 +31,7 @@ jobs:
|
||||
|
||||
- name: Save
|
||||
run: |
|
||||
git config --global --add safe.directory "*"
|
||||
if [[ `git status --porcelain` ]]; then
|
||||
git config user.name "Raboneko"
|
||||
git config user.email "raboneko@fyralabs.com"
|
||||
@@ -48,7 +48,7 @@ jobs:
|
||||
git commit -S -a -m "$msg"
|
||||
}
|
||||
copy_over f38 || true
|
||||
copy_over f39 || true
|
||||
copy_over f40 || true
|
||||
copy_over frawhide || true
|
||||
git push -u origin --all
|
||||
fi
|
||||
|
||||
+2
-4
@@ -1,9 +1,7 @@
|
||||
# Contributing
|
||||
|
||||
First of all, thanks for being interested in contributing to Terra! If you have any questions about contributing, please contact us on [Discord](https://discord.gg/5fdPuxTg5Q).
|
||||
|
||||
## Documentations
|
||||
First of all, thanks for being interested in contributing to Terra! If you have any questions about contributing, please contact us on [Discord](https://discord.gg/5fdPuxTg5Q). Since we use a GitHub Wiki for [documentation](https://developer.fyralabs.com/terra), our guidelines may be found there. See the links below:
|
||||
|
||||
* [Contribution Guide](https://developer.fyralabs.com/terra/contributing)
|
||||
* [FAQ](https://developer.fyralabs.com/terra/faq)
|
||||
* [Policy](https://developer.fyralabs.com/terra/policy)
|
||||
* [Policy](https://developer.fyralabs.com/terra/policy)
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: anki-bin
|
||||
Version: 24.04.1
|
||||
Release: 1%?dist
|
||||
Version: 23.12.1
|
||||
Release: 1%{?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/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: anki-qt5
|
||||
Version: 24.04.1
|
||||
Release: 1%?dist
|
||||
Version: 23.12.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Flashcard program for using space repetition learning
|
||||
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/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: anki
|
||||
Version: 24.04.1
|
||||
Release: 1%?dist
|
||||
Version: 23.12.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Flashcard program for using space repetition learning
|
||||
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/
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-canary-openasar
|
||||
Version: 0.0.376
|
||||
Version: 0.0.326
|
||||
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.376
|
||||
Version: 0.0.326
|
||||
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.52
|
||||
Version: 0.0.47
|
||||
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.81
|
||||
Version: 0.0.76
|
||||
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.81
|
||||
Version: 0.0.76
|
||||
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.52
|
||||
Version: 0.0.47
|
||||
Release: 1%?dist
|
||||
Summary: Free Voice and Text Chat for Gamers
|
||||
URL: https://discord.com
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%global commit ec447fd4a266e8158519f5e89589c368211bfa14
|
||||
%global commit 2af3a6e294e829191dfa0c41396ecd6384d405d9
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20240502
|
||||
%global ver v0.38.0
|
||||
%global commit_date 20240327
|
||||
%global ver v0.37.0
|
||||
|
||||
Name: mpv-nightly
|
||||
Version: %ver^%commit_date.%shortcommit
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
%global crate sccache
|
||||
|
||||
Name: rust-sccache
|
||||
Version: 0.8.0
|
||||
Release: 1%?dist
|
||||
Version: 0.7.7
|
||||
Release: 1%{?dist}
|
||||
Summary: Ccache-like tool
|
||||
|
||||
License: Apache-2.0
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
Name: vencord-desktop
|
||||
Provides: VencordDesktop = %{version}-%{release}
|
||||
Version: 1.5.2
|
||||
Version: 1.5.1
|
||||
Release: 1%?dist
|
||||
License: GPL-3.0
|
||||
Summary: Vesktop is a cross platform desktop app aiming to give you a snappier Discord experience with Vencord pre-installed
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global nodev 20.12.2
|
||||
%global npmv 10.5.0
|
||||
%global ver 0.19.1
|
||||
%global nodev 18.13.0
|
||||
%global npmv 8.19.3
|
||||
%global ver 0.18.0
|
||||
%define debug_package %nil
|
||||
%global _build_id_links none
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%define _ubuntu_rel 22.10.20220822-0ubuntu12
|
||||
%define _ubuntu_rel 22.10.20220822-0ubuntu11
|
||||
%global _hardened_build 0
|
||||
|
||||
Name: compiz9
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
Name: elementary-appcenter
|
||||
Summary: Software Center from elementary
|
||||
Version: 7.4.0
|
||||
Release: 2%{?dist}
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0
|
||||
|
||||
Provides: appcenter = %{version}-%{release}
|
||||
@@ -12,8 +12,6 @@ Obsoletes: appcenter < 7.2.1-2
|
||||
URL: https://github.com/elementary/appcenter
|
||||
Source0: %url/archive/%{version}/appcenter-%{version}.tar.gz
|
||||
|
||||
Patch0: pr2099.patch
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libappstream-glib
|
||||
|
||||
@@ -1,311 +0,0 @@
|
||||
commit fce55d9373bfb82953191b32e276a2129ffcb8c1
|
||||
Author: Marius Meisenzahl <meisenzahl@users.noreply.github.com>
|
||||
Date: Wed Feb 7 00:14:43 2024 +0100
|
||||
|
||||
Add support for AppStream 1.0 (#2099)
|
||||
|
||||
diff --git a/src/Core/FlatpakBackend.vala b/src/Core/FlatpakBackend.vala
|
||||
index 98931505..10f2baab 100644
|
||||
--- a/src/Core/FlatpakBackend.vala
|
||||
+++ b/src/Core/FlatpakBackend.vala
|
||||
@@ -400,8 +400,13 @@ public class AppCenterCore.FlatpakBackend : Backend, Object {
|
||||
|
||||
var category_array = new GLib.GenericArray<AppStream.Category> ();
|
||||
category_array.add (category);
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ AppStream.utils_sort_components_into_categories (user_appstream_pool.get_components ().as_array (), category_array, false);
|
||||
+ AppStream.utils_sort_components_into_categories (system_appstream_pool.get_components ().as_array (), category_array, false);
|
||||
+#else
|
||||
AppStream.utils_sort_components_into_categories (user_appstream_pool.get_components (), category_array, false);
|
||||
AppStream.utils_sort_components_into_categories (system_appstream_pool.get_components (), category_array, false);
|
||||
+#endif
|
||||
components = category.get_components ();
|
||||
|
||||
var apps = new Gee.TreeSet<AppCenterCore.Package> ();
|
||||
@@ -417,13 +422,21 @@ public class AppCenterCore.FlatpakBackend : Backend, Object {
|
||||
var apps = new Gee.TreeSet<AppCenterCore.Package> ();
|
||||
var comps = user_appstream_pool.search (query);
|
||||
if (category == null) {
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ comps.as_array ().foreach ((comp) => {
|
||||
+#else
|
||||
comps.foreach ((comp) => {
|
||||
+#endif
|
||||
var packages = get_packages_for_component_id (comp.get_id ());
|
||||
apps.add_all (packages);
|
||||
});
|
||||
} else {
|
||||
var cat_packages = get_applications_for_category (category);
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ comps.as_array ().foreach ((comp) => {
|
||||
+#else
|
||||
comps.foreach ((comp) => {
|
||||
+#endif
|
||||
var packages = get_packages_for_component_id (comp.get_id ());
|
||||
foreach (var package in packages) {
|
||||
if (package in cat_packages) {
|
||||
@@ -435,13 +448,21 @@ public class AppCenterCore.FlatpakBackend : Backend, Object {
|
||||
|
||||
comps = system_appstream_pool.search (query);
|
||||
if (category == null) {
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ comps.as_array ().foreach ((comp) => {
|
||||
+#else
|
||||
comps.foreach ((comp) => {
|
||||
+#endif
|
||||
var packages = get_packages_for_component_id (comp.get_id ());
|
||||
apps.add_all (packages);
|
||||
});
|
||||
} else {
|
||||
var cat_packages = get_applications_for_category (category);
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ comps.as_array ().foreach ((comp) => {
|
||||
+#else
|
||||
comps.foreach ((comp) => {
|
||||
+#endif
|
||||
var packages = get_packages_for_component_id (comp.get_id ());
|
||||
foreach (var package in packages) {
|
||||
if (package in cat_packages) {
|
||||
@@ -510,7 +531,11 @@ public class AppCenterCore.FlatpakBackend : Backend, Object {
|
||||
continue;
|
||||
}
|
||||
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ if (package.component.get_developer ().get_name () == author) {
|
||||
+#else
|
||||
if (package.component.developer_name == author) {
|
||||
+#endif
|
||||
package_ids.add (package.component.id);
|
||||
|
||||
AppCenterCore.Package? user_package = null;
|
||||
@@ -1095,7 +1120,11 @@ public class AppCenterCore.FlatpakBackend : Backend, Object {
|
||||
warning ("Errors found in flatpak appdata, some components may be incomplete/missing: %s", e.message);
|
||||
} finally {
|
||||
var comp_validator = ComponentValidator.get_default ();
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ user_appstream_pool.get_components ().as_array ().foreach ((comp) => {
|
||||
+#else
|
||||
user_appstream_pool.get_components ().foreach ((comp) => {
|
||||
+#endif
|
||||
if (!comp_validator.validate (comp)) {
|
||||
return;
|
||||
}
|
||||
@@ -1133,7 +1162,11 @@ public class AppCenterCore.FlatpakBackend : Backend, Object {
|
||||
warning ("Errors found in flatpak appdata, some components may be incomplete/missing: %s", e.message);
|
||||
} finally {
|
||||
var comp_validator = ComponentValidator.get_default ();
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ system_appstream_pool.get_components ().as_array ().foreach ((comp) => {
|
||||
+#else
|
||||
system_appstream_pool.get_components ().foreach ((comp) => {
|
||||
+#endif
|
||||
if (!comp_validator.validate (comp)) {
|
||||
return;
|
||||
}
|
||||
diff --git a/src/Core/Package.vala b/src/Core/Package.vala
|
||||
index 0f9a90c4..ed141292 100644
|
||||
--- a/src/Core/Package.vala
|
||||
+++ b/src/Core/Package.vala
|
||||
@@ -306,7 +306,11 @@ public class AppCenterCore.Package : Object {
|
||||
return _author;
|
||||
}
|
||||
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ _author = component.get_developer ().get_name ();
|
||||
+#else
|
||||
_author = component.developer_name;
|
||||
+#endif
|
||||
|
||||
if (_author == null) {
|
||||
var project_group = component.project_group;
|
||||
@@ -677,7 +681,11 @@ public class AppCenterCore.Package : Object {
|
||||
}
|
||||
|
||||
try {
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ description = AppStream.markup_convert (description, TEXT);
|
||||
+#else
|
||||
description = AppStream.markup_convert_simple (description);
|
||||
+#endif
|
||||
} catch (Error e) {
|
||||
warning ("Failed to convert description to markup: %s", e.message);
|
||||
}
|
||||
@@ -919,7 +927,11 @@ public class AppCenterCore.Package : Object {
|
||||
}
|
||||
|
||||
public AppStream.Release? get_newest_release () {
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ var releases = component.get_releases_plain ().get_entries ();
|
||||
+#else
|
||||
var releases = component.get_releases ();
|
||||
+#endif
|
||||
releases.sort_with_data ((a, b) => {
|
||||
if (a.get_version () == null || b.get_version () == null) {
|
||||
if (a.get_version () != null) {
|
||||
diff --git a/src/Core/PackageKitBackend.vala b/src/Core/PackageKitBackend.vala
|
||||
index 09da4074..a108831e 100644
|
||||
--- a/src/Core/PackageKitBackend.vala
|
||||
+++ b/src/Core/PackageKitBackend.vala
|
||||
@@ -275,7 +275,11 @@ public class AppCenterCore.PackageKitBackend : Backend, Object {
|
||||
} finally {
|
||||
var new_package_list = new Gee.HashMap<string, Package> ();
|
||||
var comp_validator = ComponentValidator.get_default ();
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ appstream_pool.get_components ().as_array ().foreach ((comp) => {
|
||||
+#else
|
||||
appstream_pool.get_components ().foreach ((comp) => {
|
||||
+#endif
|
||||
if (!comp_validator.validate (comp)) {
|
||||
return;
|
||||
}
|
||||
@@ -317,7 +321,12 @@ public class AppCenterCore.PackageKitBackend : Backend, Object {
|
||||
component.set_id (id);
|
||||
component.set_origin (Package.APPCENTER_PACKAGE_ORIGIN);
|
||||
|
||||
-#if HAS_APPSTREAM_0_15
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ var components = new AppStream.ComponentBox (AppStream.ComponentBoxFlags.NONE);
|
||||
+ components.add (component);
|
||||
+
|
||||
+ appstream_pool.add_components (components);
|
||||
+#elif HAS_APPSTREAM_0_15
|
||||
var components = new GenericArray<AppStream.Component> ();
|
||||
components.add (component);
|
||||
|
||||
@@ -430,7 +439,11 @@ public class AppCenterCore.PackageKitBackend : Backend, Object {
|
||||
break;
|
||||
}
|
||||
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ if (package.component.get_developer ().get_name () == author) {
|
||||
+#else
|
||||
if (package.component.developer_name == author) {
|
||||
+#endif
|
||||
packages.add (package);
|
||||
}
|
||||
}
|
||||
@@ -447,7 +460,11 @@ public class AppCenterCore.PackageKitBackend : Backend, Object {
|
||||
|
||||
var category_array = new GLib.GenericArray<AppStream.Category> ();
|
||||
category_array.add (category);
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ AppStream.utils_sort_components_into_categories (appstream_pool.get_components ().as_array (), category_array, true);
|
||||
+#else
|
||||
AppStream.utils_sort_components_into_categories (appstream_pool.get_components (), category_array, true);
|
||||
+#endif
|
||||
components = category.get_components ();
|
||||
|
||||
var apps = new Gee.TreeSet<AppCenterCore.Package> ();
|
||||
@@ -465,7 +482,11 @@ public class AppCenterCore.PackageKitBackend : Backend, Object {
|
||||
var apps = new Gee.TreeSet<AppCenterCore.Package> ();
|
||||
var comps = appstream_pool.search (query);
|
||||
if (category == null) {
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ comps.as_array ().foreach ((comp) => {
|
||||
+#else
|
||||
comps.foreach ((comp) => {
|
||||
+#endif
|
||||
var package = get_package_for_component_id (comp.get_id ());
|
||||
if (package != null) {
|
||||
apps.add (package);
|
||||
@@ -473,7 +494,11 @@ public class AppCenterCore.PackageKitBackend : Backend, Object {
|
||||
});
|
||||
} else {
|
||||
var cat_packages = get_applications_for_category (category);
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ comps.as_array ().foreach ((comp) => {
|
||||
+#else
|
||||
comps.foreach ((comp) => {
|
||||
+#endif
|
||||
var package = get_package_for_component_id (comp.get_id ());
|
||||
if (package != null && package in cat_packages) {
|
||||
apps.add (package);
|
||||
diff --git a/src/Views/AppInfoView.vala b/src/Views/AppInfoView.vala
|
||||
index 5a3a361a..bef37f0e 100644
|
||||
--- a/src/Views/AppInfoView.vala
|
||||
+++ b/src/Views/AppInfoView.vala
|
||||
@@ -310,8 +310,16 @@ public class AppCenter.Views.AppInfoView : AppCenter.AbstractAppContainer {
|
||||
oars_flowbox.add (uncurated);
|
||||
}
|
||||
#endif
|
||||
+
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ var active_locale = "en-US";
|
||||
+ if (package_component.get_context () != null) {
|
||||
+ active_locale = package_component.get_context ().get_locale () ?? "en-US";
|
||||
+ }
|
||||
+#else
|
||||
var active_locale = package_component.get_active_locale ();
|
||||
- if (active_locale != "en_US") {
|
||||
+#endif
|
||||
+ if (active_locale != "en_US" && active_locale != "en-US") {
|
||||
var percent_translated = package_component.get_language (
|
||||
// Expects language without locale
|
||||
active_locale.split ("_")[0]
|
||||
@@ -492,7 +500,11 @@ public class AppCenter.Views.AppInfoView : AppCenter.AbstractAppContainer {
|
||||
}
|
||||
}
|
||||
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ screenshots = package_component.get_screenshots_all ();
|
||||
+#else
|
||||
screenshots = package_component.get_screenshots ();
|
||||
+#endif
|
||||
|
||||
if (screenshots.length > 0) {
|
||||
screenshot_carousel = new Hdy.Carousel () {
|
||||
@@ -1030,7 +1042,11 @@ public class AppCenter.Views.AppInfoView : AppCenter.AbstractAppContainer {
|
||||
get_app_download_size.begin ();
|
||||
|
||||
Idle.add (() => {
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ var releases = package.component.get_releases_plain ().get_entries ();
|
||||
+#else
|
||||
var releases = package.component.get_releases ();
|
||||
+#endif
|
||||
|
||||
foreach (unowned var release in releases) {
|
||||
if (release.get_version () == null) {
|
||||
@@ -1049,7 +1065,11 @@ public class AppCenter.Views.AppInfoView : AppCenter.AbstractAppContainer {
|
||||
|
||||
release_carousel.add (release_row);
|
||||
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ if (package.installed && AppStream.vercmp_simple (release.get_version (), package.get_version ()) <= 0) {
|
||||
+#else
|
||||
if (package.installed && AppStream.utils_compare_versions (release.get_version (), package.get_version ()) <= 0) {
|
||||
+#endif
|
||||
break;
|
||||
}
|
||||
}
|
||||
diff --git a/src/Widgets/ReleaseRow.vala b/src/Widgets/ReleaseRow.vala
|
||||
index 3b487914..36fcbc76 100644
|
||||
--- a/src/Widgets/ReleaseRow.vala
|
||||
+++ b/src/Widgets/ReleaseRow.vala
|
||||
@@ -116,7 +116,11 @@ public class AppCenter.Widgets.ReleaseRow : Gtk.Box {
|
||||
private string format_release_description (string? description ) {
|
||||
if (description != null) {
|
||||
try {
|
||||
+#if HAS_APPSTREAM_1_0
|
||||
+ var markup = AppStream.markup_convert (description, TEXT);
|
||||
+#else
|
||||
var markup = AppStream.markup_convert_simple (description);
|
||||
+#endif
|
||||
|
||||
if (markup.strip () != "") {
|
||||
return markup;
|
||||
diff --git a/src/meson.build b/src/meson.build
|
||||
index d3d558ef..df69a0bf 100644
|
||||
--- a/src/meson.build
|
||||
+++ b/src/meson.build
|
||||
@@ -78,6 +78,10 @@ if appstream.version().version_compare('>=0.16')
|
||||
args += '--define=HAS_APPSTREAM_0_16'
|
||||
endif
|
||||
|
||||
+if appstream.version().version_compare('>=1.0')
|
||||
+ args += '--define=HAS_APPSTREAM_1_0'
|
||||
+endif
|
||||
+
|
||||
if get_option('packagekit_backend')
|
||||
appcenter_files += files(
|
||||
'Core/PackageKitBackend.vala',
|
||||
@@ -11,7 +11,7 @@ URL: https://github.com/elementary/greeter
|
||||
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||
Source1: 40-%{appname}.conf
|
||||
|
||||
Patch0: https://github.com/elementary/greeter/compare/7.0.0..42320c266395606b0c20782603e7407124c3f7a4.patch
|
||||
Patch0: https://github.com/elementary/greeter/commit/dbd9b6f9701f5992c3b3257c025b9cd80d041cc8.patch
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
@@ -36,9 +36,9 @@ BuildRequires: pkgconfig(granite) >= 5.0
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(libhandy-1)
|
||||
BuildRequires: pkgconfig(liblightdm-gobject-1)
|
||||
BuildRequires: pkgconfig(mutter-clutter-14)
|
||||
BuildRequires: pkgconfig(mutter-cogl-14)
|
||||
BuildRequires: pkgconfig(mutter-cogl-pango-14)
|
||||
BuildRequires: pkgconfig(mutter-clutter-13)
|
||||
BuildRequires: pkgconfig(mutter-cogl-13)
|
||||
BuildRequires: pkgconfig(mutter-cogl-pango-13)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
|
||||
Provides: pantheon-greeter = %{version}-%{release}
|
||||
|
||||
@@ -3,16 +3,14 @@
|
||||
Name: gala
|
||||
Summary: Gala window manager
|
||||
Version: 7.1.3
|
||||
Release: 2%{?dist}
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
Epoch: 1
|
||||
|
||||
URL: https://github.com/elementary/gala
|
||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
# patch some default settings to better match Fedora
|
||||
Patch0: 0000-Modify-default-settings-for-Fedora.patch
|
||||
Patch: https://github.com/elementary/gala/compare/7.1.3..43d1e6a01b56a84a4e752e1970a35c19402941eb.patch
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
@@ -33,13 +31,11 @@ BuildRequires: pkgconfig(granite) >= 5.4.0
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(libbamf3)
|
||||
BuildRequires: pkgconfig(libcanberra)
|
||||
BuildRequires: pkgconfig(libhandy-1)
|
||||
BuildRequires: pkgconfig(sqlite3)
|
||||
BuildRequires: pkgconfig(mutter-clutter-14)
|
||||
BuildRequires: pkgconfig(mutter-cogl-14)
|
||||
BuildRequires: pkgconfig(mutter-cogl-pango-14)
|
||||
BuildRequires: pkgconfig(mutter-clutter-13)
|
||||
BuildRequires: pkgconfig(mutter-cogl-13)
|
||||
BuildRequires: pkgconfig(mutter-cogl-pango-13)
|
||||
|
||||
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
|
||||
# gala provides a generic icon (apps/multitasking-view)
|
||||
Requires: hicolor-icon-theme
|
||||
@@ -65,7 +61,7 @@ This package contains the shared libraries.
|
||||
|
||||
%package devel
|
||||
Summary: Gala window manager development files
|
||||
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Gala is Pantheon's Window Manager, part of the elementary project.
|
||||
@@ -89,8 +85,8 @@ This package contains the development headers.
|
||||
|
||||
|
||||
%check
|
||||
%dnl desktop-file-validate \
|
||||
%dnl %{buildroot}/%{_sysconfdir}/xdg/autostart/gala-daemon.desktop
|
||||
desktop-file-validate \
|
||||
%{buildroot}/%{_sysconfdir}/xdg/autostart/gala-daemon.desktop
|
||||
|
||||
desktop-file-validate \
|
||||
%{buildroot}/%{_datadir}/applications/gala*.desktop
|
||||
@@ -102,7 +98,7 @@ desktop-file-validate \
|
||||
%files -f gala.lang
|
||||
%doc README.md
|
||||
%license COPYING
|
||||
%dnl %config(noreplace) %{_sysconfdir}/xdg/autostart/gala-daemon.desktop
|
||||
%config(noreplace) %{_sysconfdir}/xdg/autostart/gala-daemon.desktop
|
||||
|
||||
%{_bindir}/gala
|
||||
%{_bindir}/gala-daemon
|
||||
|
||||
@@ -9,14 +9,12 @@
|
||||
Name: switchboard-plug-about
|
||||
Summary: Switchboard System Information plug
|
||||
Version: 6.2.0
|
||||
Release: 3%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
URL: https://github.com/elementary/switchboard-plug-about
|
||||
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||
|
||||
Patch0: https://github.com/elementary/switchboard-plug-about/compare/6.2.0..72d7da13da2824812908276751fd3024db2dd0f8.patch
|
||||
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: meson
|
||||
|
||||
@@ -9,11 +9,10 @@ Summary: Stylish top panel
|
||||
Version: 3.0.5
|
||||
Release: 1%{?dist}
|
||||
License: GPL-2.0-or-later
|
||||
Epoch: 1
|
||||
|
||||
URL: https://github.com/elementary/wingpanel
|
||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
Patch0: https://github.com/elementary/wingpanel/compare/23a3eb7c2448b4f35398116df7d01b075361ef1f..5d22d436b45decfb2a50d9a7c27f2c961f1dd39f.patch
|
||||
Patch0: https://github.com/elementary/wingpanel/commit/d6009d9f0d5c7479172093447ccceccba86ff1f3.patch
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
@@ -29,11 +28,11 @@ BuildRequires: pkgconfig(gee-0.8)
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.32
|
||||
BuildRequires: pkgconfig(granite) >= 5.4.0
|
||||
BuildRequires: pkgconfig(gtk+-3.0) >= 3.10
|
||||
BuildRequires: pkgconfig(mutter-clutter-14)
|
||||
BuildRequires: pkgconfig(mutter-cogl-14)
|
||||
BuildRequires: pkgconfig(mutter-cogl-pango-14)
|
||||
BuildRequires: pkgconfig(mutter-clutter-13)
|
||||
BuildRequires: pkgconfig(mutter-cogl-13)
|
||||
BuildRequires: pkgconfig(mutter-cogl-pango-13)
|
||||
|
||||
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
|
||||
# wingpanel ayatana appindicator support was abandoned by upstream
|
||||
# wingpanel-indicator-ayatana-2.0.3-10.fc32 retired for fedora 33+
|
||||
@@ -44,8 +43,8 @@ Obsoletes: wingpanel-indicator-ayatana < 2.0.3-11
|
||||
|
||||
%package libs
|
||||
Summary: Stylish top panel (shared library)
|
||||
Enhances: %{name} = %{epoch}:%{version}-%{release}
|
||||
Enhances: %{name}-devel = %{epoch}:%{version}-%{release}
|
||||
Enhances: %{name} = %{version}-%{release}
|
||||
Enhances: %{name}-devel = %{version}-%{release}
|
||||
|
||||
%description libs %{common_description}
|
||||
|
||||
@@ -54,7 +53,7 @@ This package contains the shared library.
|
||||
|
||||
%package devel
|
||||
Summary: Stylish top panel (development files)
|
||||
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel %{common_description}
|
||||
|
||||
|
||||
+2
-2
@@ -1,9 +1,9 @@
|
||||
# from Fedora upstream
|
||||
%global extension pop-shell
|
||||
%global uuid %{extension}@system76.com
|
||||
%global commit cfa0c55e84b7ce339e5ce83832f76fee17e99d51
|
||||
%global commit 5fa3a500152b5131afbcbb4cfcd4a0db2fd0f063
|
||||
%global shortcommit %{lua:print(macros.commit:sub(1,7))}
|
||||
%global commit_date 20240404
|
||||
%global commit_date 20240327
|
||||
%global ver 1.2.0
|
||||
|
||||
Name: terra-gnome-shell-extension-%{extension}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global forgeurl https://github.com/KDE/latte-dock/
|
||||
|
||||
%global commit 23b9e9ea3694235e19868846bab5292b2518fd34
|
||||
%global commit b4b16f61f1d69c994701f149e54335c40b9b201d
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date %(date '+%Y%m%d')
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-app-launch
|
||||
%global commit 99fa99c6e8af868f64dbfdb973eebeb2ca3ad14a
|
||||
%global commit 0011f74e9377fcde3166374b05301444131ac0e5
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-app-launch
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-download-manager
|
||||
%global commit 6e4342ae0ef3710343e2dbf0b8da586853625e2e
|
||||
%global commit 682c4928a91da598767e0be2496d9c35af7db035
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-download-manager
|
||||
Version: 0.5.2
|
||||
Release: 1%?dist
|
||||
Version: 0.1.3
|
||||
Release: 1%{?dist}
|
||||
Summary: Upload Download Manager for Lomiri
|
||||
License: LGPLv3
|
||||
URL: https://gitlab.com/ubports/development/core/lomiri-download-manager
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
let o = get("https://gitlab.com/api/v4/projects/25034025/repository/tags").json_arr()[0];
|
||||
let o = get("https://gitlab.com/api/v4/projects/17088252/repository/tags").json_arr()[0];
|
||||
let f = rpm.f;
|
||||
rpm.version(o.name);
|
||||
// check if changed
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-system-settings
|
||||
%global commit 10d7151a3e4ea08b92e85be7e6e631c48219feaf
|
||||
%global commit bac3baa2876c61fe2963ad5e861f574d4b9c4402
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-system-settings
|
||||
@@ -10,7 +10,6 @@ License: GPLv3
|
||||
URL: https://gitlab.com/ubports/development/core/lomiri-system-settings
|
||||
Source0: %{url}/-/archive/%commit/lomiri-system-settings-%commit.tar.gz
|
||||
Patch0: https://sources.debian.org/data/main/l/lomiri-system-settings/1.0.1-2/debian/patches/1001_use-maliit-keyboard-for-language-plugin.patch
|
||||
Patch1: https://sources.debian.org/data/main/l/lomiri-system-settings/1.0.1-2/debian/patches/2001_disable-current-language-switching.patch
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-ui-toolkit
|
||||
%global commit 28178b0be8fc2c66934da155dee1c6238ecc98c0
|
||||
%global commit 454d980c352f3cea725458ff8a3d04ae686d2a96
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-ui-toolkit
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri
|
||||
%global commit a083a14fe65105fc1996ceb1b92165ca3b0cb94e
|
||||
%global commit 426b9f3436938f149490cee340e1fab79ee7b650
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%global rn 4
|
||||
%global rn 3
|
||||
|
||||
Name: unity-greeter
|
||||
Version: 23.10.1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%define _ubuntu_rel 1ubuntu4
|
||||
%define _ubuntu_rel 1ubuntu1
|
||||
|
||||
Name: unity-session
|
||||
Summary: Lightdm profile for Unity 7
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: unity-settings-daemon
|
||||
Version: 15.04.1+21.10.20220802
|
||||
Release: 2%?dist
|
||||
Release: %autorelease
|
||||
Summary: Daemon handling for Unity session settings
|
||||
|
||||
License: GPL-2.0 AND LGPL-2.0-or-later
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%define archive unity_7.7.0+23.04.20230222.2-0ubuntu7.tar.xz
|
||||
%define archive unity_7.7.0+23.04.20230222.2-0ubuntu6.tar.xz
|
||||
|
||||
Name: unity-shell
|
||||
Version: 7.7.0
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Name: ayatana-indicator-notifications
|
||||
Summary: Ayatana Indicator Notifications Applet
|
||||
Version: 23.10.1
|
||||
Release: 1%?dist
|
||||
Version: 23.10.0
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0
|
||||
URL: https://github.com/AyatanaIndicators/ayatana-indicator-notifications
|
||||
Source0: %{url}/archive/refs/tags/%{version}.tar.gz
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Name: ayatana-indicator-sound
|
||||
Summary: Ayatana Indicator Sound Applet
|
||||
Version: 24.4.0
|
||||
Release: 1%?dist
|
||||
Version: 23.10.3
|
||||
Release: 1%{?dist}
|
||||
License: GPLv3
|
||||
URL: https://github.com/AyatanaIndicators/ayatana-indicator-sound
|
||||
Source0: %{url}/archive/refs/tags/%{version}.tar.gz
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
%endif
|
||||
|
||||
Name: codium
|
||||
Version: 1.88.1.24104
|
||||
Version: 1.87.2.24072
|
||||
Release: 1%?dist
|
||||
Summary: Code editing. Redefined.
|
||||
License: MIT
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: flutter
|
||||
Version: 3.19.6
|
||||
Version: 3.19.4
|
||||
Release: 1%?dist
|
||||
Summary: SDK for crafting beautiful, fast user experiences from a single codebase
|
||||
License: BSD-3-Clause
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
# https://github.com/containerd/containerd
|
||||
%global goipath github.com/containerd/containerd
|
||||
Version: 1.7.16
|
||||
Version: 1.7.14
|
||||
|
||||
%gometa
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%define debug_package %nil
|
||||
|
||||
Name: moby-buildx
|
||||
Version: 0.14.0
|
||||
Version: 0.13.1
|
||||
Release: 1%?dist
|
||||
Summary: Docker CLI plugin for extended build capabilities with BuildKit
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: moby-compose
|
||||
Version: 2.27.0
|
||||
Version: 2.26.0
|
||||
Release: 1%?dist
|
||||
Summary: Define and run multi-container applications with Docker
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
project pkg {
|
||||
arches = ["x86_64"]
|
||||
rpm {
|
||||
spec = "wineasio.spec"
|
||||
spec = "iosevka-fusion-fonts.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,142 @@
|
||||
%global source_name Iosevka
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: iosevka-fusion-fonts
|
||||
Version: 29.0.4
|
||||
Release: 1%?dist
|
||||
Summary: A custom font based on iosevka
|
||||
|
||||
License: OFL-1.1
|
||||
URL: https://github.com/be5invis/Iosevka
|
||||
Source0: %{url}/archive/v%{version}.tar.gz
|
||||
Source1: iosevka-fusion.toml
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: clang
|
||||
BuildRequires: nodejs-npm
|
||||
BuildRequires: ttfautohint
|
||||
|
||||
%description
|
||||
Based on Iosevka font, https://github.com/be5invis/Iosevka,
|
||||
this font mixes elements from various fonts tailored to my personal taste.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{source_name}-%{version}
|
||||
%__cp %SOURCE1 %{_builddir}/%{source_name}-%{version}/private-build-plans.toml
|
||||
|
||||
%build
|
||||
npm install
|
||||
npm run build -- ttf::iosevka-fusion
|
||||
|
||||
%install
|
||||
%__mkdir -p %{buildroot}%{_datadir}/fonts/%{name}
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-bold.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-Bold.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-bolditalic.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-BoldItalic.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-book.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-Book.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-bookitalic.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-BookItalic.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-extrabold.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-ExtraBold.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-extrabolditalic.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-ExtraBoldItalic.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-extralight.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-ExtraLight.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-extralightitalic.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-ExtraLightItalic.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-heavy.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-Heavy.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-heavyitalic.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-HeavyItalic.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-italic.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-Italic.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-light.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-Light.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-lightitalic.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-LightItalic.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-medium.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-Medium.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-mediumitalic.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-MediumItalic.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-regular.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-Regular.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-semibold.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-SemiBold.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-semibolditalic.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-SemiBoldItalic.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-thin.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-Thin.ttf
|
||||
|
||||
%__install -m 0644 \
|
||||
dist/iosevka-fusion/ttf/iosevka-fusion-thinitalic.ttf \
|
||||
-T \
|
||||
%{buildroot}%{_datadir}/fonts/%{name}/IosevkaFusion-ThinItalic.ttf
|
||||
|
||||
%files
|
||||
%license LICENSE.md
|
||||
%doc README.md
|
||||
%{_datadir}/fonts/*
|
||||
|
||||
%changelog
|
||||
* Wed Dec 28 2022 windowsboy111 <windowsboy111@fyralabs.com> - 16.8.4
|
||||
- Initial package
|
||||
@@ -0,0 +1,190 @@
|
||||
[buildPlans.iosevka-fusion]
|
||||
family = "Iosevka Fusion"
|
||||
spacing = "fixed"
|
||||
serifs = "sans"
|
||||
|
||||
[buildPlans.iosevka-fusion.variants.design]
|
||||
cv01 = 1 # A cap straight
|
||||
cv02 = 1 # B cap straight
|
||||
cv03 = 1 # C cap serifless
|
||||
cv04 = 1 # D cap serifless
|
||||
cv05 = 1 # E cap serifless
|
||||
cv06 = 1 # F cap serifless
|
||||
cv07 = 6 # G cap toothless rounded serifless hooked
|
||||
cv08 = 1 # H cap serifless
|
||||
cv09 = 1 # I cap long serifs
|
||||
cv10 = 2 # J cap serified
|
||||
cv11 = 2 # K cap curly
|
||||
cv12 = 1 # L cap serifless
|
||||
cv13 = 1 # M cap short middle leg
|
||||
cv14 = 1 # N cap symmetric
|
||||
cv15 = 1 # P cap straight
|
||||
cv16 = 4 # Q cap crossing tail
|
||||
cv17 = 1 # R cap straight
|
||||
cv18 = 1 # S cap serifless
|
||||
cv19 = 1 # T cap serifless
|
||||
cv20 = 3 # U cap serifless
|
||||
cv21 = 1 # V cap straight
|
||||
cv22 = 1 # W straight
|
||||
cv23 = 1 # X cap straight
|
||||
cv24 = 1 # Y cap straight
|
||||
cv25 = 1 # Z cap straight
|
||||
cv28 = 1 # c serifless
|
||||
cv33 = 1 # h straight
|
||||
cv34 = 10 # i serified flat tailed
|
||||
cv35 = 6 # j flat hook serified
|
||||
cv37 = 10 # l serified flat tailed
|
||||
cv42 = 9 # r compact
|
||||
cv43 = 1 # s serifless
|
||||
cv44 = 2 # t flat hook
|
||||
cv49 = 6 # y cursive flat terminal hook
|
||||
cv53 = 1 # Λ, Δ lambda and delta cap straight
|
||||
cv54 = 2 # α alpha straight tailed
|
||||
cv55 = 1 # δ delta rounded top
|
||||
cv56 = 1 # Γ gamma cap straight
|
||||
cv57 = 6 # ι iota serified flat tailed
|
||||
cv58 = 2 # λ lambda top tailed
|
||||
cv59 = 1 # μ me tailless
|
||||
cv60 = 2 # ξ xe flat top
|
||||
cv77 = 13 # 0 oval dashed forward slash
|
||||
cv80 = 2 # 3 arched
|
||||
cv82 = 2 # 5 open contour
|
||||
cv84 = 1 # 7 straight
|
||||
cv85 = 3 # 8 two asymmetric circles
|
||||
cv89 = 2 # ~ tilde low
|
||||
cv90 = 3 # * asterisk five-pointed low
|
||||
cv91 = 1 # _ underscore right below baseline
|
||||
cv92 = 1 # ^ uptick high
|
||||
cv93 = 1 # ( parentheses normal slope
|
||||
cv94 = 2 # { braces curly
|
||||
cv95 = 1 # # column straight
|
||||
cv97 = 4 # @ three-fold, tall height
|
||||
cv98 = 2 # $ dollar strike through
|
||||
VXSF = 2 # ¢ cent strike through
|
||||
cv99 = 1 # % percent dots
|
||||
VXSA = 1 # | bar natural slope
|
||||
VXSB = 1 # ' single quote straight
|
||||
VXSC = 1 # ` grave/backtick straight
|
||||
VXSD = 1 # ? smooth
|
||||
cv88 = 2 # .:; square punctuation marks
|
||||
cv87 = 2 # ijäöü square diacretics
|
||||
|
||||
[buildPlans.iosevka-fusion.variants.upright]
|
||||
cv26 = 3 # a double storey rounded
|
||||
cv27 = 2 # b rounded
|
||||
cv29 = 2 # d rounded
|
||||
cv30 = 1 # e straight
|
||||
cv31 = 16 # f serifless bottom flat top crossbar at x height
|
||||
cv32 = 9 # g single storey flat hook earless cornered top
|
||||
cv36 = 1 # k straight
|
||||
cv38 = 5 # m earless normal middle leg
|
||||
cv39 = 3 # n earless straight
|
||||
cv40 = 2 # p earless
|
||||
cv41 = 2 # q earless
|
||||
cv45 = 2 # u rounded
|
||||
cv46 = 1 # v straight
|
||||
cv47 = 1 # w straight
|
||||
cv48 = 1 # x straight
|
||||
cv50 = 1 # z straight
|
||||
cv78 = 3 # 1 serified with base
|
||||
cv79 = 1 # 2 straight
|
||||
cv81 = 3 # 4 semi-open contour
|
||||
cv83 = 3 # 6 straight
|
||||
cv86 = 3 # 9 straight
|
||||
cv96 = 2 # & et open top (ampersand)
|
||||
|
||||
[buildPlans.iosevka-fusion.variants.italic]
|
||||
cv26 = 1 # a double storey straight
|
||||
cv27 = 1 # b straight
|
||||
cv29 = 1 # d straight
|
||||
cv30 = 2 # e curly
|
||||
cv31 = 18 # f flat hook tailed crossbar at x height
|
||||
cv32 = 7 # g single storey flat hook
|
||||
cv36 = 2 # k curly
|
||||
cv38 = 1 # m straight normal middle leg
|
||||
cv39 = 1 # n straight
|
||||
cv40 = 1 # p straight
|
||||
cv41 = 1 # q straight
|
||||
cv45 = 1 # u straight
|
||||
cv46 = 2 # v curly
|
||||
cv47 = 2 # w curly short middle top
|
||||
cv48 = 2 # x curly
|
||||
cv50 = 4 # z curly
|
||||
cv78 = 2 # 1 serified no base
|
||||
cv79 = 2 # 2 curly
|
||||
cv81 = 1 # 4 closed contour crossing
|
||||
cv83 = 1 # 6 closed contour
|
||||
cv86 = 1 # 9 closed contour
|
||||
cv96 = 4 # & et open top toothed (ampersand)
|
||||
|
||||
[buildPlans.iosevka-fusion.weights.thin]
|
||||
shape = 100
|
||||
menu = 100
|
||||
css = 100
|
||||
|
||||
[buildPlans.iosevka-fusion.weights.extralight]
|
||||
shape = 200
|
||||
menu = 200
|
||||
css = 200
|
||||
|
||||
[buildPlans.iosevka-fusion.weights.light]
|
||||
shape = 300
|
||||
menu = 300
|
||||
css = 300
|
||||
|
||||
[buildPlans.iosevka-fusion.weights.regular]
|
||||
shape = 400
|
||||
menu = 400
|
||||
css = 400
|
||||
|
||||
[buildPlans.iosevka-fusion.weights.book]
|
||||
shape = 450
|
||||
menu = 450
|
||||
css = 450
|
||||
|
||||
[buildPlans.iosevka-fusion.weights.medium]
|
||||
shape = 500
|
||||
menu = 500
|
||||
css = 500
|
||||
|
||||
[buildPlans.iosevka-fusion.weights.semibold]
|
||||
shape = 600
|
||||
menu = 600
|
||||
css = 600
|
||||
|
||||
[buildPlans.iosevka-fusion.weights.bold]
|
||||
shape = 700
|
||||
menu = 700
|
||||
css = 700
|
||||
|
||||
[buildPlans.iosevka-fusion.weights.extrabold]
|
||||
shape = 800
|
||||
menu = 800
|
||||
css = 800
|
||||
|
||||
[buildPlans.iosevka-fusion.weights.heavy]
|
||||
shape = 900
|
||||
menu = 900
|
||||
css = 900
|
||||
|
||||
[buildPlans.iosevka-fusion.slopes.upright]
|
||||
angle = 0
|
||||
shape = "upright"
|
||||
menu = "upright"
|
||||
css = "normal"
|
||||
|
||||
[buildPlans.iosevka-fusion.slopes.italic]
|
||||
angle = 9.4
|
||||
shape = "italic"
|
||||
menu = "italic"
|
||||
css = "italic"
|
||||
|
||||
[buildPlans.iosevka-fusion.widths.normal]
|
||||
shape = 600
|
||||
menu = 5
|
||||
css = "normal"
|
||||
|
||||
[buildPlans.iosevka-fusion.metric-override]
|
||||
leading = 1350
|
||||
sb = 60
|
||||
xHeight = 530
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("be5invis/Iosevka"));
|
||||
@@ -4,8 +4,8 @@ Nerd Fonts is a project that patches developer targeted fonts with a high
|
||||
number of glyphs (icons).}
|
||||
|
||||
Name: nerd-fonts
|
||||
Version: 3.2.1
|
||||
Release: 1%?dist
|
||||
Version: 3.1.1
|
||||
Release: 1%{?dist}
|
||||
URL: https://nerdfonts.com/
|
||||
Source0: https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v%version/readme.md
|
||||
Source1: https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v%version/LICENSE
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: sarasa-gothic-fonts
|
||||
Version: 1.0.10
|
||||
Version: 1.0.8
|
||||
Release: 1%?dist
|
||||
URL: https://github.com/be5invis/Sarasa-Gothic
|
||||
Source0: %url/releases/download/v%version/Sarasa-TTC-%version.7z
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
Name: seto-fonts
|
||||
Version: 6.20
|
||||
Release: 3%?dist
|
||||
Release: 2%?dist
|
||||
URL: https://setofont.osdn.jp/
|
||||
Source0: https://github.com/terrapkg/pkg-seto-fonts/archive/refs/tags/%version.tar.gz
|
||||
Source0: https://osdn.net/frs/redir.php?m=nchc&f=setofont%2F61995%2Fsetofont_v_6_20.zip
|
||||
License: OFL-1.1
|
||||
Summary: A handwritten font that contains kanji up to JIS 4th level and difficult kanji
|
||||
BuildRequires: unzip
|
||||
BuildArch: noarch
|
||||
|
||||
|
||||
@@ -13,7 +14,7 @@ BuildArch: noarch
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n pkg-seto-fonts-%version
|
||||
%setup -q -n setofont
|
||||
|
||||
%build
|
||||
|
||||
@@ -24,8 +25,11 @@ install -Dm644 *.ttf %buildroot/%_datadir/fonts/%name/
|
||||
|
||||
%files
|
||||
%doc readme.txt
|
||||
%license LICENSE.md
|
||||
%_datadir/fonts/%name/
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
* Sun Jun 18 2023 windowsboy111 <windowsboy111@fyralabs.com> - 6.20-2
|
||||
- Fix install dir.
|
||||
|
||||
* Tue Nov 22 2022 windowsboy111 <windowsboy111@fyralabs.com> - 6.20-1
|
||||
- Initial package
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
%define osuresver 2024.410.0
|
||||
%define osuresver 2024.321.0
|
||||
%global debug_package %{nil}
|
||||
%define __strip /bin/true
|
||||
|
||||
Name: osu-lazer
|
||||
Version: 2024.412.1
|
||||
Version: 2024.312.1
|
||||
Release: 1%?dist
|
||||
Summary: The future of osu! and the beginning of an open era! Commonly known by the codename osu!lazer. Pew pew.
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
%global real_name prismlauncher
|
||||
%global nice_name PrismLauncher
|
||||
|
||||
%global commit bfac12604e9cd0884987ca89f34a455cf16c543c
|
||||
%global commit df0280f52b68f4352d8da711136609c16ce4db7b
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global libnbtplusplus_commit a5e8fd52b8bf4ab5d5bcc042b2a247867589985f
|
||||
%global quazip_commit 6117161af08e366c37499895b00ef62f93adc345
|
||||
%global tomlplusplus_commit 7eb2ffcc09f8e9890dc0b77ff8ab00fc53b1f2b8
|
||||
|
||||
%global commit_date 20240501
|
||||
%global commit_date 20240325
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
|
||||
%bcond_without qt6
|
||||
@@ -76,9 +76,8 @@ Requires(postun): desktop-file-utils
|
||||
Requires: qt%{qt_version}-qtimageformats
|
||||
Requires: qt%{qt_version}-qtsvg
|
||||
Requires: javapackages-filesystem
|
||||
Recommends: java-21-openjdk
|
||||
Recommends: java-17-openjdk
|
||||
Suggests: java-1.8.0-openjdk
|
||||
Requires: java-17-openjdk
|
||||
Requires: java-1.8.0-openjdk
|
||||
|
||||
# xrandr needed for LWJGL [2.9.2, 3) https://github.com/LWJGL/lwjgl/issues/128
|
||||
Recommends: xrandr
|
||||
|
||||
@@ -0,0 +1,79 @@
|
||||
From 5a38fc2c9a329e88c8337af541dfeccaeff1fefb Mon Sep 17 00:00:00 2001
|
||||
From: seth <getchoo@tuta.io>
|
||||
Date: Sun, 15 Jan 2023 14:47:49 -0500
|
||||
Subject: [PATCH] find cmark with pkgconfig
|
||||
|
||||
Signed-off-by: seth <getchoo@tuta.io>
|
||||
---
|
||||
cmake/Findcmark.cmake | 59 +++++++++++++++++++++++++++++++++++++++++++
|
||||
1 file changed, 59 insertions(+)
|
||||
create mode 100755 cmake/Findcmark.cmake
|
||||
|
||||
diff --git a/cmake/Findcmark.cmake b/cmake/Findcmark.cmake
|
||||
new file mode 100755
|
||||
index 00000000..9858e5df
|
||||
--- /dev/null
|
||||
+++ b/cmake/Findcmark.cmake
|
||||
@@ -0,0 +1,59 @@
|
||||
+# SPDX-FileCopyrightText: 2019 Black Hat <bhat@encom.eu.org>
|
||||
+# SPDX-License-Identifier: GPL-3.0-only
|
||||
+
|
||||
+#
|
||||
+# CMake module to search for the cmark library
|
||||
+#
|
||||
+
|
||||
+# first try to find cmark-config.cmake
|
||||
+# path to a file not in the search path can be set with 'cmake -Dcmark_DIR=some/path/'
|
||||
+find_package(cmark CONFIG QUIET)
|
||||
+if(cmark_FOUND AND TARGET cmark::cmark)
|
||||
+ # found it!
|
||||
+ return()
|
||||
+endif()
|
||||
+
|
||||
+find_package(PkgConfig QUIET)
|
||||
+if(PKG_CONFIG_FOUND)
|
||||
+ pkg_check_modules(PC_CMARK QUIET cmark)
|
||||
+endif()
|
||||
+
|
||||
+if(NOT CMARK_INCLUDE_DIR)
|
||||
+ find_path(CMARK_INCLUDE_DIR
|
||||
+ NAMES cmark.h
|
||||
+ PATHS
|
||||
+ ${PC_CMARK_INCLUDEDIR}
|
||||
+ ${PC_CMARK_INCLUDE_DIRS}
|
||||
+ /usr/include
|
||||
+ /usr/local/include)
|
||||
+endif()
|
||||
+
|
||||
+if(NOT CMARK_LIBRARY)
|
||||
+ find_library(CMARK_LIBRARY
|
||||
+ NAMES cmark
|
||||
+ HINTS
|
||||
+ ${PC_CMARK_LIBDIR}
|
||||
+ ${PC_CMARK_LIBRARY_DIRS}
|
||||
+ /usr/lib
|
||||
+ /usr/local/lib)
|
||||
+endif()
|
||||
+
|
||||
+if(NOT TARGET cmark::cmark)
|
||||
+ add_library(cmark::cmark UNKNOWN IMPORTED)
|
||||
+ set_target_properties(cmark::cmark
|
||||
+ PROPERTIES INTERFACE_INCLUDE_DIRECTORIES
|
||||
+ ${CMARK_INCLUDE_DIR})
|
||||
+ set_property(TARGET cmark::cmark APPEND
|
||||
+ PROPERTY IMPORTED_LOCATION ${CMARK_LIBRARY})
|
||||
+endif()
|
||||
+
|
||||
+include(FindPackageHandleStandardArgs)
|
||||
+find_package_handle_standard_args(cmark
|
||||
+ DEFAULT_MSG
|
||||
+ CMARK_INCLUDE_DIR
|
||||
+ CMARK_LIBRARY)
|
||||
+
|
||||
+mark_as_advanced(CMARK_LIBRARY CMARK_INCLUDE_DIR)
|
||||
+
|
||||
+set(CMARK_LIBRARIES ${CMARK_LIBRARY})
|
||||
+set(CMARK_INCLUDE_DIRS ${CMARK_INCLUDE_DIR})
|
||||
--
|
||||
2.39.0
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "prismlauncher-qt5-nightly.spec"
|
||||
}
|
||||
labels {
|
||||
nightly = "1"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,197 @@
|
||||
%global real_name prismlauncher
|
||||
%global nice_name PrismLauncher
|
||||
|
||||
%global commit df0280f52b68f4352d8da711136609c16ce4db7b
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global libnbtplusplus_commit a5e8fd52b8bf4ab5d5bcc042b2a247867589985f
|
||||
%global quazip_commit 6117161af08e366c37499895b00ef62f93adc345
|
||||
%global tomlplusplus_commit 7eb2ffcc09f8e9890dc0b77ff8ab00fc53b1f2b8
|
||||
|
||||
%global commit_date 20240325
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
|
||||
%bcond_with qt6
|
||||
|
||||
# Change this variables if you want to use custom keys
|
||||
# Leave blank if you want to build Prism Launcher without MSA id or curseforge api key
|
||||
%define msa_id default
|
||||
%define curseforge_key default
|
||||
|
||||
%if %{with qt6}
|
||||
%global qt_version 6
|
||||
%global min_qt_version 6
|
||||
%else
|
||||
%global qt_version 5
|
||||
%global min_qt_version 5.12
|
||||
%endif
|
||||
|
||||
%global build_platform terra
|
||||
|
||||
%if %{with qt6}
|
||||
Name: prismlauncher-nightly
|
||||
%else
|
||||
Name: prismlauncher-qt5-nightly
|
||||
%endif
|
||||
Version: 9.0^%{snapshot_info}
|
||||
Release: 1%?dist
|
||||
Summary: Minecraft launcher with ability to manage multiple instances
|
||||
License: GPL-3.0-only AND Apache-2.0 AND LGPL-3.0-only AND GPL-3.0-or-later AND GPL-2.0-or-later AND ISC AND OFL-1.1 AND LGPL-2.1-only AND MIT AND BSD-2-Clause-FreeBSD AND BSD-3-Clause AND LGPL-3.0-or-later
|
||||
Group: Amusements/Games
|
||||
URL: https://prismlauncher.org/
|
||||
Source0: https://github.com/PrismLauncher/PrismLauncher/archive/%{commit}/%{real_name}-%{shortcommit}.tar.gz
|
||||
Source1: https://github.com/PrismLauncher/libnbtplusplus/archive/%{libnbtplusplus_commit}/libnbtplusplus-%{libnbtplusplus_commit}.tar.gz
|
||||
Source2: https://github.com/stachenov/quazip/archive/%{quazip_commit}/quazip-%{quazip_commit}.tar.gz
|
||||
Source3: https://github.com/marzer/tomlplusplus/archive/%{tomlplusplus_commit}/tomlplusplus-%{tomlplusplus_commit}.tar.gz
|
||||
Patch0: 0001-find-cmark-with-pkgconfig.patch
|
||||
|
||||
BuildRequires: cmake >= 3.15
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: java-17-openjdk-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: cmake(ghc_filesystem)
|
||||
BuildRequires: cmake(Qt%{qt_version}Concurrent) >= %{min_qt_version}
|
||||
BuildRequires: cmake(Qt%{qt_version}Core) >= %{min_qt_version}
|
||||
BuildRequires: cmake(Qt%{qt_version}Gui) >= %{min_qt_version}
|
||||
BuildRequires: cmake(Qt%{qt_version}Network) >= %{min_qt_version}
|
||||
BuildRequires: cmake(Qt%{qt_version}Test) >= %{min_qt_version}
|
||||
BuildRequires: cmake(Qt%{qt_version}Widgets) >= %{min_qt_version}
|
||||
BuildRequires: cmake(Qt%{qt_version}Xml) >= %{min_qt_version}
|
||||
|
||||
%if %{with qt6}
|
||||
BuildRequires: cmake(Qt6Core5Compat)
|
||||
%endif
|
||||
|
||||
BuildRequires: pkgconfig(libcmark)
|
||||
%if 0%{fedora} < 38
|
||||
BuildRequires: cmark
|
||||
%endif
|
||||
BuildRequires: pkgconfig(scdoc)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
|
||||
Requires(post): desktop-file-utils
|
||||
Requires(postun): desktop-file-utils
|
||||
|
||||
Requires: qt%{qt_version}-qtimageformats
|
||||
Requires: qt%{qt_version}-qtsvg
|
||||
Requires: javapackages-filesystem
|
||||
Requires: java-17-openjdk
|
||||
Requires: java-1.8.0-openjdk
|
||||
|
||||
# xrandr needed for LWJGL [2.9.2, 3) https://github.com/LWJGL/lwjgl/issues/128
|
||||
Recommends: xrandr
|
||||
# libflite needed for using narrator in minecraft
|
||||
Recommends: flite
|
||||
# Prism supports enabling gamemode
|
||||
Suggests: gamemode
|
||||
|
||||
Conflicts: %{real_name}
|
||||
Conflicts: %{real_name}-qt5
|
||||
%if %{without qt6}
|
||||
Conflicts: %{real_name}-nightly
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
A custom launcher for Minecraft that allows you to easily manage
|
||||
multiple installations of Minecraft at once (Fork of MultiMC)
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n PrismLauncher-%{commit}
|
||||
|
||||
tar -xzf %{SOURCE1} -C libraries
|
||||
tar -xvf %{SOURCE2} -C libraries
|
||||
tar -xvf %{SOURCE3} -C libraries
|
||||
|
||||
rmdir libraries/{extra-cmake-modules,filesystem,libnbtplusplus,quazip,tomlplusplus,zlib}/
|
||||
mv -f libraries/libnbtplusplus-%{libnbtplusplus_commit} libraries/libnbtplusplus
|
||||
mv -f libraries/quazip-%{quazip_commit} libraries/quazip
|
||||
mv -f libraries/tomlplusplus-%{tomlplusplus_commit} libraries/tomlplusplus
|
||||
|
||||
# Do not set RPATH
|
||||
sed -i "s|\$ORIGIN/||" CMakeLists.txt
|
||||
|
||||
|
||||
%build
|
||||
%cmake \
|
||||
-DLauncher_QT_VERSION_MAJOR="%{qt_version}" \
|
||||
-DLauncher_BUILD_PLATFORM="%{build_platform}" \
|
||||
%if "%{msa_id}" != "default"
|
||||
-DLauncher_MSA_CLIENT_ID="%{msa_id}" \
|
||||
%endif
|
||||
%if "%{curseforge_key}" != "default"
|
||||
-DLauncher_CURSEFORGE_API_KEY="%{curseforge_key}" \
|
||||
%endif
|
||||
-DBUILD_TESTING=OFF
|
||||
|
||||
%cmake_build
|
||||
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
|
||||
%check
|
||||
%ctest
|
||||
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE COPYING.md
|
||||
%dir %{_datadir}/%{nice_name}
|
||||
%{_bindir}/%{real_name}
|
||||
%{_datadir}/%{nice_name}/NewLaunch.jar
|
||||
%{_datadir}/%{nice_name}/JavaCheck.jar
|
||||
%{_datadir}/%{nice_name}/qtlogging.ini
|
||||
%{_datadir}/%{nice_name}/NewLaunchLegacy.jar
|
||||
%{_datadir}/applications/org.prismlauncher.PrismLauncher.desktop
|
||||
%{_metainfodir}/org.prismlauncher.PrismLauncher.metainfo.xml
|
||||
%{_datadir}/icons/hicolor/scalable/apps/org.prismlauncher.PrismLauncher.svg
|
||||
%{_datadir}/mime/packages/modrinth-mrpack-mime.xml
|
||||
%{_datadir}/qlogging-categories%{qt_version}/prismlauncher.categories
|
||||
%{_mandir}/man?/prismlauncher.*
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jul 26 2023 seth <getchoo at tuta dot io> - 8.0^20230726.4f00012-1
|
||||
- remove terra-fractureiser-detector from recommends, use proper build platform,
|
||||
and add patches for epel/older fedora versions
|
||||
|
||||
* Sun Jul 23 2023 seth <getchoo at tuta dot io> - 8.0^20230722.273d75f-1
|
||||
- update submodules, version, & use autorelease
|
||||
|
||||
* Wed Jun 07 2023 seth <getchoo at tuta dot io> - 7.0^20230603.954d4d7-1
|
||||
- specify jdk 17 + cleanup outdated patches/scriptlets
|
||||
|
||||
* Sun May 14 2023 seth <getchoo at tuta dot io> - 7.0^20230513.c5aff7c-1
|
||||
- add qtlogging.ini to files list
|
||||
|
||||
* Mon Mar 20 2023 seth <getchoo at tuta dot io> - 7.0^20230319.6dcf34a-1
|
||||
- recommend flite to support narrator in minecraft
|
||||
|
||||
* Fri Feb 03 2023 seth <getchoo at tuta dot io> - 7.0^20230203.58d9ced-1
|
||||
- disable tests and explicitly require cmark
|
||||
|
||||
* Sun Jan 15 2023 seth <getchoo at tuta dot io> - 7.0^20230115.f1247d2-1
|
||||
- add 0001-find-cmark-with-pkgconfig.patch
|
||||
|
||||
* Fri Jan 13 2023 seth <getchoo at tuta dot io> - 7.0^20230113.3de681d-1
|
||||
- add cmark as a build dep
|
||||
|
||||
* Tue Jan 03 2023 seth <getchoo at tuta dot io> - 7.0^20230102.4b12c85-1
|
||||
- add qlogging categories
|
||||
|
||||
* Mon Dec 05 2022 seth <getchoo at tuta dot io> - 6.0^20221204.79d5bef-1
|
||||
- revise file to better follow fedora packaging guidelines and add java 8 as a
|
||||
dependency
|
||||
|
||||
* Thu Nov 10 2022 seth <getchoo at tuta dot io> - 5.1-0.1.20221110.e6d057f
|
||||
- add package to Amusements/Games
|
||||
|
||||
* Sun Nov 06 2022 seth <getchoo at tuta dot io> - 5.0-0.1.20221105.9fb80a2
|
||||
- update installed files
|
||||
|
||||
* Thu Oct 27 2022 seth <getchoo at tuta dot io> - 5.0-0.1.20221027.610b971
|
||||
- initial commit
|
||||
@@ -0,0 +1,11 @@
|
||||
if filters.contains("nightly") {
|
||||
rpm.global("commit", gh_commit("PrismLauncher/PrismLauncher"));
|
||||
if rpm.changed() {
|
||||
rpm.release();
|
||||
let cmake = get("https://raw.githubusercontent.com/PrismLauncher/PrismLauncher/develop/CMakeLists.txt");
|
||||
let maj = find("set\\(Launcher_VERSION_MAJOR\\s+(\\d+)\\)", cmake, 1);
|
||||
let min = find("set\\(Launcher_VERSION_MINOR\\s+(\\d+)\\)", cmake, 1);
|
||||
rpm.global("commit_date", date());
|
||||
rpm.version(`${maj}.${min}^%{snapshot_info}`);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "prismlauncher-qt5.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,184 @@
|
||||
%global real_name prismlauncher
|
||||
%global nice_name PrismLauncher
|
||||
%bcond_with qt6
|
||||
|
||||
# Change this variables if you want to use custom keys
|
||||
# Leave blank if you want to build Prism Launcher without MSA id or curseforge api key
|
||||
%define msa_id default
|
||||
%define curseforge_key default
|
||||
|
||||
%if %{with qt6}
|
||||
%global qt_version 6
|
||||
%global min_qt_version 6
|
||||
%else
|
||||
%global qt_version 5
|
||||
%global min_qt_version 5.12
|
||||
%endif
|
||||
|
||||
%global build_platform terra
|
||||
|
||||
%if %{with qt6}
|
||||
Name: prismlauncher
|
||||
%else
|
||||
Name: prismlauncher-qt5
|
||||
%endif
|
||||
Version: 8.2
|
||||
Release: 1%?dist
|
||||
Summary: Minecraft launcher with ability to manage multiple instances
|
||||
# see COPYING.md for more information
|
||||
# each file in the source also contains a SPDX-License-Identifier header that declares its license
|
||||
License: GPL-3.0-only AND Apache-2.0 AND LGPL-3.0-only AND GPL-3.0-or-later AND GPL-2.0-or-later AND ISC AND OFL-1.1 AND LGPL-2.1-only AND MIT AND BSD-2-Clause-FreeBSD AND BSD-3-Clause AND LGPL-3.0-or-later
|
||||
Group: Amusements/Games
|
||||
URL: https://prismlauncher.org/
|
||||
Source0: https://github.com/PrismLauncher/PrismLauncher/releases/download/%{version}/%{real_name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: cmake >= 3.15
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: java-17-openjdk-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: cmake(ghc_filesystem)
|
||||
BuildRequires: cmake(Qt%{qt_version}Concurrent) >= %{min_qt_version}
|
||||
BuildRequires: cmake(Qt%{qt_version}Core) >= %{min_qt_version}
|
||||
BuildRequires: cmake(Qt%{qt_version}Gui) >= %{min_qt_version}
|
||||
BuildRequires: cmake(Qt%{qt_version}Network) >= %{min_qt_version}
|
||||
BuildRequires: cmake(Qt%{qt_version}Test) >= %{min_qt_version}
|
||||
BuildRequires: cmake(Qt%{qt_version}Widgets) >= %{min_qt_version}
|
||||
BuildRequires: cmake(Qt%{qt_version}Xml) >= %{min_qt_version}
|
||||
|
||||
%if %{with qt6}
|
||||
BuildRequires: cmake(Qt6Core5Compat)
|
||||
%endif
|
||||
|
||||
BuildRequires: pkgconfig(libcmark)
|
||||
BuildRequires: pkgconfig(scdoc)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
|
||||
Requires(post): desktop-file-utils
|
||||
Requires(postun): desktop-file-utils
|
||||
|
||||
Requires: qt%{qt_version}-qtimageformats
|
||||
Requires: qt%{qt_version}-qtsvg
|
||||
Requires: javapackages-filesystem
|
||||
Requires: java-17-openjdk
|
||||
Requires: java-1.8.0-openjdk
|
||||
|
||||
# xrandr needed for LWJGL [2.9.2, 3) https://github.com/LWJGL/lwjgl/issues/128
|
||||
Recommends: xrandr
|
||||
# libflite needed for using narrator in minecraft
|
||||
Recommends: flite
|
||||
|
||||
# Prism supports enabling gamemode
|
||||
Suggests: gamemode
|
||||
|
||||
%if %{without qt6}
|
||||
Conflicts: %{real_name}
|
||||
%endif
|
||||
|
||||
%description
|
||||
A custom launcher for Minecraft that allows you to easily manage
|
||||
multiple installations of Minecraft at once (Fork of MultiMC)
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n PrismLauncher-%{version}
|
||||
|
||||
rm -rf libraries/{extra-cmake-modules,filesystem,zlib}
|
||||
|
||||
# Do not set RPATH
|
||||
sed -i "s|\$ORIGIN/||" CMakeLists.txt
|
||||
|
||||
|
||||
%build
|
||||
%cmake \
|
||||
-DLauncher_QT_VERSION_MAJOR="%{qt_version}" \
|
||||
-DLauncher_BUILD_PLATFORM="%{build_platform}" \
|
||||
%if "%{msa_id}" != "default"
|
||||
-DLauncher_MSA_CLIENT_ID="%{msa_id}" \
|
||||
%endif
|
||||
%if "%{curseforge_key}" != "default"
|
||||
-DLauncher_CURSEFORGE_API_KEY="%{curseforge_key}" \
|
||||
%endif
|
||||
-DBUILD_TESTING=OFF
|
||||
|
||||
%cmake_build
|
||||
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
|
||||
%check
|
||||
%ctest
|
||||
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE COPYING.md
|
||||
%dir %{_datadir}/%{nice_name}
|
||||
%{_bindir}/prismlauncher
|
||||
%{_datadir}/%{nice_name}/NewLaunch.jar
|
||||
%{_datadir}/%{nice_name}/JavaCheck.jar
|
||||
%{_datadir}/%{nice_name}/qtlogging.ini
|
||||
%{_datadir}/%{nice_name}/NewLaunchLegacy.jar
|
||||
%{_datadir}/applications/org.prismlauncher.PrismLauncher.desktop
|
||||
%{_datadir}/icons/hicolor/scalable/apps/org.prismlauncher.PrismLauncher.svg
|
||||
%{_datadir}/mime/packages/modrinth-mrpack-mime.xml
|
||||
%{_datadir}/qlogging-categories%{qt_version}/prismlauncher.categories
|
||||
%{_mandir}/man?/prismlauncher.*
|
||||
%{_metainfodir}/org.prismlauncher.PrismLauncher.metainfo.xml
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jul 26 2023 seth <getchoo at tuta dot io> - 7.2-2
|
||||
- remove terra-fractureiser-detector from recommends, use proper build platform
|
||||
|
||||
* Thu Jun 08 2023 seth <getchoo@tuta.io> - 6.3-3
|
||||
- specify jdk 17 + cleanup outdated patches/scriptlets
|
||||
|
||||
* Mon Mar 20 2023 seth <getchoo at tuta dot io> - 6.3-2
|
||||
- recommend flite to support narrator in minecraft
|
||||
|
||||
* Sat Feb 04 2023 seth <getchoo at tuta dot io> - 6.3-1
|
||||
- update to 6.3
|
||||
|
||||
* Mon Dec 19 2022 seth <getchoo at tuta dot io> - 6.1-2
|
||||
- start using non-headless java deps
|
||||
|
||||
* Mon Dec 12 2022 seth <getchoo at tuta dot io> - 6.0-1
|
||||
- update to 6.0
|
||||
|
||||
* Mon Dec 05 2022 seth <getchoo at tuta dot io> - 5.2-3
|
||||
- revise file to better follow fedora packaging guidelines and add java 8 as a
|
||||
dependency
|
||||
|
||||
* Tue Nov 15 2022 seth <getchoo at tuta dot io> - 5.2-2
|
||||
- use newer version of toml++ to fix issues on aarch64
|
||||
|
||||
* Tue Nov 15 2022 seth <getchoo at tuta dot io> - 5.2-1
|
||||
- update to 5.2
|
||||
|
||||
* Thu Nov 10 2022 seth <getchoo at tuta dot io> - 5.1-2
|
||||
- add package to Amusements/Games
|
||||
|
||||
* Tue Nov 01 2022 seth <getchoo at tuta dot io> - 5.1-1
|
||||
- update to 5.1
|
||||
|
||||
* Wed Oct 19 2022 seth <getchoo at tuta dot io> - 5.0-3
|
||||
- add missing deps and build with qt6 by default
|
||||
|
||||
* Wed Oct 19 2022 seth <getchoo at tuta dot io> - 5.0-2
|
||||
- add change-jars-path.patch to allow for package-specific jar path
|
||||
|
||||
* Wed Oct 19 2022 seth <getchoo at tuta dot io> - 5.0-1
|
||||
- update to version 5.0
|
||||
|
||||
* Tue Oct 18 2022 Cappy Ishihara <cappy@cappuchino.xyz> - 1.4.2.git981e9cf-0.2.20221018.981e9cf
|
||||
- Update provides and obsoletes
|
||||
|
||||
* Tue Oct 18 2022 seth <getchoo at tuta dot io> - 1.4.2.git981e9cf-0.1.20221018.981e9cf
|
||||
- start using qt6
|
||||
|
||||
* Tue Oct 18 2022 Cappy Ishihara <cappy@cappuchino.xyz> - 1.4.2-1
|
||||
- Repackaged as Prism Launcher
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("PrismLauncher/PrismLauncher"));
|
||||
@@ -22,7 +22,7 @@ Name: prismlauncher
|
||||
%else
|
||||
Name: prismlauncher-qt5
|
||||
%endif
|
||||
Version: 8.3
|
||||
Version: 8.2
|
||||
Release: 1%?dist
|
||||
Summary: Minecraft launcher with ability to manage multiple instances
|
||||
# see COPYING.md for more information
|
||||
@@ -61,9 +61,8 @@ Requires(postun): desktop-file-utils
|
||||
Requires: qt%{qt_version}-qtimageformats
|
||||
Requires: qt%{qt_version}-qtsvg
|
||||
Requires: javapackages-filesystem
|
||||
Recommends: java-21-openjdk
|
||||
Recommends: java-17-openjdk
|
||||
Suggests: java-1.8.0-openjdk
|
||||
Requires: java-17-openjdk
|
||||
Requires: java-1.8.0-openjdk
|
||||
|
||||
# xrandr needed for LWJGL [2.9.2, 3) https://github.com/LWJGL/lwjgl/issues/128
|
||||
Recommends: xrandr
|
||||
@@ -132,9 +131,6 @@ sed -i "s|\$ORIGIN/||" CMakeLists.txt
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Apr 03 2024 seth <getchoo at tuta dot io> - 8.2-2
|
||||
- move JREs to weak deps, add java 21 for snapshots
|
||||
|
||||
* Wed Jul 26 2023 seth <getchoo at tuta dot io> - 7.2-2
|
||||
- remove terra-fractureiser-detector from recommends, use proper build platform
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
%define debug_package %nil
|
||||
|
||||
Name: crystal
|
||||
Version: 1.12.1
|
||||
Release: 1%?dist
|
||||
Version: 1.11.2
|
||||
Release: 1%{?dist}
|
||||
Summary: The Crystal Programming Language
|
||||
License: Apache-2.0
|
||||
URL: https://crystal-lang.org/
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
let html = get("https://crystal-lang.org/");
|
||||
rpm.version(find("Latest release: <strong>(.+?)</strong>", html, 1))
|
||||
rpm.version(find("Latest release <.+>(.+)</a>", html, 1))
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: dart
|
||||
Version: 3.3.4
|
||||
Version: 3.3.2
|
||||
Release: 1%?dist
|
||||
Summary: The Dart Language
|
||||
License: BSD-3-Clause
|
||||
|
||||
@@ -20,7 +20,7 @@ of information.}
|
||||
%global godocs README.md
|
||||
|
||||
Name: %{goname}
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Generate .desktop files and download .png icons
|
||||
|
||||
License: BSD-3-Clause
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: groovy-docs
|
||||
Version: 4.0.21
|
||||
Version: 4.0.20
|
||||
Release: 1%?dist
|
||||
Summary: Documentation for the Groovy programming language
|
||||
URL: https://groovy-lang.org/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: groovy
|
||||
Version: 4.0.21
|
||||
Version: 4.0.20
|
||||
Release: 1%?dist
|
||||
Summary: A multi-faceted language for the Java platform
|
||||
BuildArch: noarch
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
%global csrc_commit 561b417c65791cd8356b5f73620914ceff845d10
|
||||
%global commit 185e06c92362083c06c76f87e325889b1c9dc659
|
||||
%global commit 4c38569229ade43d9570f92e08637f2bcd66bdc5
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global ver 2.1.1
|
||||
%global commit_date 20240502
|
||||
%global commit_date 20240326
|
||||
%global debug_package %nil
|
||||
|
||||
Name: nim-nightly
|
||||
Name: nim-nighlty
|
||||
Version: %ver^%commit_date.%shortcommit
|
||||
Release: 1%?dist
|
||||
Summary: Imperative, multi-paradigm, compiled programming language
|
||||
@@ -19,9 +19,6 @@ Source4: nimsuggest.1
|
||||
BuildRequires: gcc mold git gcc-c++ nodejs openssl-devel pkgconfig(bash-completion) gc-devel pcre pcre-devel
|
||||
Requires: redhat-rpm-config gcc
|
||||
Conflicts: choosenim
|
||||
# somehow wrong name and never noticed
|
||||
Provides: nim-nightly = %version-%release
|
||||
Obsoletes: nim-nighlty < 2.1.1^20240404.9e1b170-2
|
||||
|
||||
|
||||
%description
|
||||
@@ -32,9 +29,6 @@ order of priority).
|
||||
|
||||
%package tools
|
||||
Summary: Tools for Nim programming language
|
||||
Provides: nim-nightly-tools = %version-%release
|
||||
Obsoletes: nim-nighlty-tools < 2.1.1^20240404.9e1b170-2
|
||||
|
||||
%description tools
|
||||
Nim is a compiled, garbage-collected systems programming language with a
|
||||
design that focuses on efficiency, expressiveness, and elegance (in that
|
||||
@@ -47,8 +41,6 @@ This package provides various tools, which help Nim programmers.
|
||||
%package doc
|
||||
Summary: Documentation for Nim programming language
|
||||
BuildArch: noarch
|
||||
Provides: nim-nightly-doc = %version-%release
|
||||
Obsoletes: nim-nighlty-doc < 2.1.1^20240404.9e1b170-2
|
||||
%description doc
|
||||
Nim is a compiled, garbage-collected systems programming language with a
|
||||
design that focuses on efficiency, expressiveness, and elegance (in that
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: nim
|
||||
Version: 2.0.4
|
||||
Release: 1%?dist
|
||||
Version: 2.0.2
|
||||
Release: 3%{?dist}
|
||||
Summary: Imperative, multi-paradigm, compiled programming language
|
||||
License: MIT and BSD
|
||||
URL: https://nim-lang.org
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
%define debug_package %nil
|
||||
|
||||
Name: python3-mpv
|
||||
Version: 1.0.6
|
||||
Release: 1%?dist
|
||||
Version: 1.0.5
|
||||
Release: 1%{?dist}
|
||||
Summary: Python interface to the awesome mpv media player
|
||||
License: GPL-2.0+ OR LGPL-2.1+
|
||||
URL: https://github.com/jaseg/python-mpv
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
project pkg {
|
||||
arches = ["x86_64"]
|
||||
rpm {
|
||||
spec = "python-pip-system-certs.spec"
|
||||
}
|
||||
}
|
||||
@@ -1,56 +0,0 @@
|
||||
# Created by pyp2rpm-3.3.10
|
||||
%global pypi_name pip-system-certs
|
||||
%global pypi_version 4.0
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: %{pypi_version}
|
||||
Release: 1%{?dist}
|
||||
Summary: Live patches pip to use system certs by default
|
||||
|
||||
License: BSD-2-Clause
|
||||
URL: https://gitlab.com/alelec/pip-system-certs
|
||||
Source0: https://files.pythonhosted.org/packages/source/p/%{pypi_name}/pip_system_certs-%{pypi_version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel python3-pip python3dist(setuptools) python3dist(wheel) git
|
||||
|
||||
|
||||
%description
|
||||
This package patches pip and requests at runtime to use
|
||||
certificates from the default system store (rather than the bundled certs
|
||||
ca). This will allow pip to verify tls/ssl connections to servers who's cert is
|
||||
trusted by your system install.
|
||||
|
||||
%package -n python3-%{pypi_name}
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||
|
||||
Requires: python3dist(wrapt) >= 1.10.4
|
||||
%description -n python3-%{pypi_name}
|
||||
This package patches pip and requests at runtime to use
|
||||
certificates from the default system store (rather than the bundled certs
|
||||
ca). This will allow pip to verify tls/ssl connections to servers who's cert is
|
||||
trusted by your system install.
|
||||
|
||||
%prep
|
||||
%autosetup -n pip_system_certs-%{pypi_version}
|
||||
# Remove bundled egg-info
|
||||
rm -rf %{pypi_name}.egg-info
|
||||
|
||||
%build
|
||||
pip install git-versioner
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
|
||||
%pyproject_save_files pip_system_certs
|
||||
|
||||
%files -n python3-%{pypi_name} -f %pyproject_files
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%python3_sitelib/pip_system_certs.pth
|
||||
|
||||
%changelog
|
||||
* Thu Apr 04 2024 madomado <madonuko@outlook.com> - 4.0-1
|
||||
- Initial package.
|
||||
@@ -1 +0,0 @@
|
||||
rpm.global("pypi_version", pypi("pip-system-certs"));
|
||||
@@ -2,7 +2,7 @@
|
||||
%global pypi_name protobuf
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 5.26.1
|
||||
Version: 5.26.0
|
||||
Release: 1%?dist
|
||||
Summary: Protocol Buffers
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: python3-ruff
|
||||
Version: 0.4.2
|
||||
Version: 0.3.4
|
||||
Release: 1%?dist
|
||||
Summary: An extremely fast Python linter, written in Rust
|
||||
License: MIT
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
%global crate felix
|
||||
|
||||
Name: rust-felix
|
||||
Version: 2.13.0
|
||||
Release: 1%?dist
|
||||
Version: 2.12.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Tui file manager with vim-like key mapping
|
||||
|
||||
License: MIT
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
%global crate gitoxide
|
||||
|
||||
Name: rust-gitoxide
|
||||
Version: 0.35.0
|
||||
Version: 0.33.0
|
||||
Release: 1%?dist
|
||||
Summary: Command-line application for interacting with git repositories
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: nushell
|
||||
Version: 0.93.0
|
||||
Version: 0.91.0
|
||||
Release: 1%?dist
|
||||
Summary: A new type of shell
|
||||
License: MIT
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
%global crate oxipng
|
||||
|
||||
Name: rust-oxipng
|
||||
Version: 9.1.1
|
||||
Release: 1%?dist
|
||||
Version: 9.0.0
|
||||
Release: %autorelease
|
||||
Summary: Lossless PNG compression optimizer
|
||||
|
||||
License: MIT
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: rnote
|
||||
Version: 0.10.2
|
||||
Version: 0.10.1
|
||||
Release: 1%?dist
|
||||
Summary: Sketch and take handwritten notes.
|
||||
License: GPL-3.0
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
%global crate starship
|
||||
|
||||
Name: rust-starship
|
||||
Version: 1.18.2
|
||||
Release: 2%?dist
|
||||
Version: 1.18.1
|
||||
Release: %autorelease
|
||||
Summary: Minimal, blazing-fast, and infinitely customizable prompt for any shell! ☄🌌️
|
||||
|
||||
License: ISC
|
||||
@@ -13,6 +13,7 @@ URL: https://crates.io/crates/starship
|
||||
Source: %{crates_source}
|
||||
# Automatically generated patch to strip dependencies and normalize metadata
|
||||
Patch0: starship-fix-metadata-auto.diff
|
||||
Patch1: 0001-gix-0.61.1-0.61.0.patch
|
||||
|
||||
BuildRequires: cargo-rpm-macros >= 24
|
||||
BuildRequires: anda-srpm-macros
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
%global crate zellij
|
||||
|
||||
Name: rust-zellij
|
||||
Version: 0.40.1
|
||||
Release: 1%?dist
|
||||
Version: 0.39.2
|
||||
Release: 1%{?dist}
|
||||
Summary: Terminal workspace with batteries included
|
||||
|
||||
License: MIT
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
%global real_name vala-language-server
|
||||
|
||||
%global commit a49292758922160244d1842cdcba0a5154d1cb27
|
||||
%global commit 0b020298aa3dafacd2f6633533ca91fba5698340
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
%global commit_date 20240330
|
||||
%global commit_date 20240323
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
%global verrel 0.48.7
|
||||
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
%global priority 90
|
||||
|
||||
%global real_name vala
|
||||
%global commit fa704b2c2385f35d12568ee31de33568d6d67749
|
||||
%global commit 86984c59734f975c9778251dddf80d247ade28a7
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global repo https://gitlab.gnome.org/GNOME/%{real_name}.git
|
||||
|
||||
%global commit_date 20240426
|
||||
%global commit_date 20240327
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
|
||||
Name: vala-nightly
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global forgeurl https://gitlab.com/vala-panel-project/vala-panel-appmenu
|
||||
%global commit a819ab7b36a449c2d5d0104b896c04115f875d05
|
||||
%global commit 49aa4247d155fa98b306063782b718ef846c78e7
|
||||
%forgemeta
|
||||
|
||||
Name: vala-panel-appmenu
|
||||
@@ -19,6 +19,7 @@ BuildRequires: gettext
|
||||
BuildRequires: cmake
|
||||
BuildRequires: vala
|
||||
BuildRequires: systemd-rpm-macros
|
||||
BuildRequires: java-17-openjdk-devel
|
||||
BuildRequires: pkgconfig(libxfce4panel-2.0)
|
||||
BuildRequires: pkgconfig(gtk+-2.0)
|
||||
BuildRequires: java-devel
|
||||
@@ -116,7 +117,7 @@ Vala appmenu support for Java Swing applications.
|
||||
%{_datadir}/licenses/appmenu-gtk-module/LICENSE
|
||||
%{_datadir}/dbus-1/services/com.canonical.AppMenu.Registrar.service
|
||||
%{_datadir}/glib-2.0/schemas/org.valapanel.appmenu.gschema.xml
|
||||
%{_datadir}/vala-panel/applets/org.valapanel.appmenu.plugin
|
||||
#{_datadir}/vala-panel/applets/org.valapanel.appmenu.plugin
|
||||
%{_datadir}/vala/vapi/appmenu-glib-translator.*
|
||||
%{_datadir}/gir-1.0/AppmenuGLibTranslator-%version.gir
|
||||
%{_includedir}/appmenu-glib-translator/importer.h
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "openh264.spec"
|
||||
}
|
||||
}
|
||||
@@ -1,201 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Process a gst-plugins-bad tarball to remove
|
||||
# unwanted GStreamer plugins.
|
||||
#
|
||||
# This script here is taken from Fedora gstreamer1-plugins-bad-free repo, with
|
||||
# only change being openh264 addition.
|
||||
#
|
||||
# See https://bugzilla.redhat.com/show_bug.cgi?id=532470
|
||||
# for details
|
||||
#
|
||||
# Bastien Nocera <bnocera@redhat.com> - 2010
|
||||
#
|
||||
|
||||
SOURCE="$1"
|
||||
NEW_SOURCE=`echo $SOURCE | sed 's/bad-/bad-openh264-/'`
|
||||
DIRECTORY=`echo $SOURCE | sed 's/\.tar\.xz//'`
|
||||
|
||||
ALLOWED="
|
||||
aacparse
|
||||
accurip
|
||||
adpcmdec
|
||||
adpcmenc
|
||||
aiff
|
||||
aiffparse
|
||||
amrparse
|
||||
asfmux
|
||||
audiobuffersplit
|
||||
audiofxbad
|
||||
audiolatency
|
||||
audiomixer
|
||||
audiomixmatrix
|
||||
audioparsers
|
||||
audiovisualizers
|
||||
autoconvert
|
||||
bayer
|
||||
camerabin
|
||||
camerabin2
|
||||
cdxaparse
|
||||
codecalpha
|
||||
codectimestamper
|
||||
coloreffects
|
||||
colorspace
|
||||
compositor
|
||||
dataurisrc
|
||||
dccp
|
||||
debugutils
|
||||
dtmf
|
||||
dvbsubenc
|
||||
faceoverlay
|
||||
festival
|
||||
fieldanalysis
|
||||
freeverb
|
||||
freeze
|
||||
frei0r
|
||||
gaudieffects
|
||||
gdp
|
||||
geometrictransform
|
||||
h264parse
|
||||
hdvparse
|
||||
hls
|
||||
id3tag
|
||||
inter
|
||||
interlace
|
||||
invtelecine
|
||||
ivfparse
|
||||
ivtc
|
||||
jpegformat
|
||||
jp2kdecimator
|
||||
legacyresample
|
||||
librfb
|
||||
liveadder
|
||||
midi
|
||||
mve
|
||||
mpegdemux
|
||||
mpeg4videoparse
|
||||
mpegpsmux
|
||||
mpegtsdemux
|
||||
mpegtsmux
|
||||
mpegvideoparse
|
||||
mxf
|
||||
netsim
|
||||
nsf
|
||||
nuvdemux
|
||||
onvif
|
||||
openh264
|
||||
patchdetect
|
||||
pcapparse
|
||||
pnm
|
||||
proxy
|
||||
qtmux
|
||||
rawparse
|
||||
removesilence
|
||||
rist
|
||||
rtmp2
|
||||
rtp
|
||||
rtpmux
|
||||
rtpvp8
|
||||
scaletempo
|
||||
sdi
|
||||
sdp
|
||||
segmentclip
|
||||
selector
|
||||
smooth
|
||||
speed
|
||||
stereo
|
||||
subenc
|
||||
switchbin
|
||||
timecode
|
||||
transcode
|
||||
tta
|
||||
valve
|
||||
videofilters
|
||||
videoframe_audiolevel
|
||||
videomaxrate
|
||||
videomeasure
|
||||
videoparsers
|
||||
videosignal
|
||||
vmnc
|
||||
yadif
|
||||
y4m
|
||||
"
|
||||
|
||||
NOT_ALLOWED="
|
||||
dvbsuboverlay
|
||||
dvdspu
|
||||
real
|
||||
siren
|
||||
"
|
||||
|
||||
error()
|
||||
{
|
||||
MESSAGE=$1
|
||||
echo $MESSAGE
|
||||
exit 1
|
||||
}
|
||||
|
||||
check_allowed()
|
||||
{
|
||||
MODULE=$1
|
||||
for i in $ALLOWED ; do
|
||||
if test x$MODULE = x$i ; then
|
||||
return 0;
|
||||
fi
|
||||
done
|
||||
# Ignore errors coming from ext/ directory
|
||||
# they require external libraries so are ineffective anyway
|
||||
return 1;
|
||||
}
|
||||
|
||||
check_not_allowed()
|
||||
{
|
||||
MODULE=$1
|
||||
for i in $NOT_ALLOWED ; do
|
||||
if test x$MODULE = x$i ; then
|
||||
return 0;
|
||||
fi
|
||||
done
|
||||
return 1;
|
||||
}
|
||||
|
||||
rm -rf $DIRECTORY
|
||||
tar xJf $SOURCE || error "Cannot unpack $SOURCE"
|
||||
pushd $DIRECTORY > /dev/null || error "Cannot open directory \"$DIRECTORY\""
|
||||
|
||||
unknown=""
|
||||
for subdir in gst ext sys; do
|
||||
for dir in $subdir/* ; do
|
||||
# Don't touch non-directories
|
||||
if ! [ -d $dir ] ; then
|
||||
continue;
|
||||
fi
|
||||
MODULE=`basename $dir`
|
||||
if ( check_not_allowed $MODULE ) ; then
|
||||
echo "**** Removing $MODULE ****"
|
||||
echo "Removing directory $dir"
|
||||
rm -r $dir || error "Cannot remove $dir"
|
||||
echo
|
||||
elif test $subdir = ext || test $subdir = sys; then
|
||||
# Ignore library or system non-blacklisted plugins
|
||||
continue;
|
||||
elif ! ( check_allowed $MODULE ) ; then
|
||||
echo "Unknown module in $dir"
|
||||
unknown="$unknown $dir"
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
echo
|
||||
|
||||
if test "x$unknown" != "x"; then
|
||||
echo -n "Aborting due to unkown modules: "
|
||||
echo "$unknown" | sed "s/ /\n /g"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
popd > /dev/null
|
||||
|
||||
tar cJf $NEW_SOURCE $DIRECTORY
|
||||
echo "$NEW_SOURCE is ready to use"
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
diff -up gst-plugins-bad-1.18.2/ext/openh264/meson.build.orig gst-plugins-bad-1.18.2/ext/openh264/meson.build
|
||||
--- gst-plugins-bad-1.18.2/ext/openh264/meson.build.orig 2020-12-06 14:24:13.000000000 +0100
|
||||
+++ gst-plugins-bad-1.18.2/ext/openh264/meson.build 2021-02-11 11:48:58.660450319 +0100
|
||||
@@ -4,9 +4,7 @@ openh264_sources = [
|
||||
'gstopenh264plugin.c',
|
||||
]
|
||||
|
||||
-openh264_dep = dependency('openh264', version : '>= 1.3.0',
|
||||
- required : get_option('openh264'),
|
||||
- fallback: ['openh264', 'openh264_dep'])
|
||||
+openh264_dep = cc.find_library('openh264')
|
||||
|
||||
if openh264_dep.found()
|
||||
gstopenh264 = library('gstopenh264',
|
||||
@@ -1,213 +0,0 @@
|
||||
# ref: https://src.fedoraproject.org/rpms/openh264
|
||||
%global commit1 e7d30b921df736a1121a0c8e0cf3ab1ce5b8a4b7
|
||||
%global shortcommit1 %(c=%{commit1}; echo ${c:0:7})
|
||||
|
||||
%global openh264_version 2.4.1
|
||||
%global gst_version 1.24.3
|
||||
|
||||
Name: openh264
|
||||
Version: %{openh264_version}
|
||||
# Also bump the Release tag for gstreamer1-plugin-openh264 down below
|
||||
Release: 1%{?dist}
|
||||
Summary: H.264 codec library
|
||||
|
||||
License: BSD
|
||||
URL: https://www.openh264.org/
|
||||
Source0: https://github.com/cisco/openh264/archive/v%{openh264_version}/openh264-%{openh264_version}.tar.gz
|
||||
Source1: https://github.com/mozilla/gmp-api/archive/%{commit1}/gmp-api-%{shortcommit1}.tar.gz
|
||||
# The source is:
|
||||
# http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-%%{gst_version}.tar.xz
|
||||
# modified with gst-p-bad-cleanup.sh from SOURCE3
|
||||
Source2: gst-plugins-bad-openh264-%{gst_version}.tar.xz
|
||||
Source3: gst-p-bad-cleanup.sh
|
||||
|
||||
# Don't use pkg-config for finding openh264 as we are building against an in-tree copy
|
||||
Patch2: hardcode-openh264-dep.patch
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gstreamer1-devel >= %{gst_version}
|
||||
BuildRequires: gstreamer1-plugins-base-devel >= %{gst_version}
|
||||
BuildRequires: make
|
||||
BuildRequires: meson
|
||||
BuildRequires: nasm
|
||||
|
||||
%description
|
||||
OpenH264 is a codec library which supports H.264 encoding and decoding. It is
|
||||
suitable for use in real time applications such as WebRTC.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{openh264_version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
|
||||
%package -n mozilla-openh264
|
||||
Summary: H.264 codec support for Mozilla browsers
|
||||
Requires: %{name}%{?_isa} = %{openh264_version}-%{release}
|
||||
Requires: mozilla-filesystem%{?_isa}
|
||||
|
||||
%description -n mozilla-openh264
|
||||
The mozilla-openh264 package contains a H.264 codec plugin for Mozilla
|
||||
browsers.
|
||||
|
||||
|
||||
%package -n gstreamer1-plugin-openh264
|
||||
Version: %{gst_version}
|
||||
Release: 2%{?dist}
|
||||
Summary: GStreamer H.264 plugin
|
||||
|
||||
%description -n gstreamer1-plugin-openh264
|
||||
GStreamer is a streaming media framework, based on graphs of elements which
|
||||
operate on media data.
|
||||
|
||||
This package contains the H.264 plugin.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
# Extract gmp-api archive
|
||||
tar -xf %{S:1}
|
||||
mv gmp-api-%{commit1} gmp-api
|
||||
|
||||
# Extract gst-plugins-bad-free archive
|
||||
tar -xf %{S:2}
|
||||
pushd gst-plugins-bad-%{gst_version}
|
||||
%patch2 -p1
|
||||
popd
|
||||
|
||||
|
||||
%build
|
||||
# Update the makefile with our build options
|
||||
# Must be done in %%build in order to pick up correct LDFLAGS.
|
||||
sed -i -e 's|^CFLAGS_OPT=.*$|CFLAGS_OPT=%{optflags}|' Makefile
|
||||
sed -i -e 's|^PREFIX=.*$|PREFIX=%{_prefix}|' Makefile
|
||||
sed -i -e 's|^LIBDIR_NAME=.*$|LIBDIR_NAME=%{_lib}|' Makefile
|
||||
sed -i -e 's|^SHAREDLIB_DIR=.*$|SHAREDLIB_DIR=%{_libdir}|' Makefile
|
||||
sed -i -e '/^CFLAGS_OPT=/i LDFLAGS=%{__global_ldflags}' Makefile
|
||||
|
||||
# First build the openh264 libraries
|
||||
make %{?_smp_mflags}
|
||||
|
||||
# ... then build the mozilla plugin
|
||||
make plugin %{?_smp_mflags}
|
||||
|
||||
# ... and finally build the gstreamer plugin against the previously built
|
||||
# openh264 libraries
|
||||
pushd gst-plugins-bad-%{gst_version}
|
||||
CFLAGS="%{build_cflags} -I`pwd`/../codec/api" \
|
||||
CXXFLAGS="%{build_cflags} -I`pwd`/../codec/api" \
|
||||
LDFLAGS="%{build_ldflags} -L`pwd`/.." \
|
||||
%meson \
|
||||
--auto-features=disabled \
|
||||
-D package-name="Fedora gstreamer1-plugin-openh264 package" \
|
||||
-D package-origin="http://www.openh264.org/" \
|
||||
-D openh264=enabled
|
||||
%meson_build
|
||||
popd
|
||||
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
# Install mozilla plugin
|
||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins/gmp-gmpopenh264/system-installed
|
||||
cp -a libgmpopenh264.so* gmpopenh264.info $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins/gmp-gmpopenh264/system-installed/
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}/firefox/defaults/pref
|
||||
cat > $RPM_BUILD_ROOT%{_libdir}/firefox/defaults/pref/gmpopenh264.js << EOF
|
||||
pref("media.gmp-gmpopenh264.autoupdate", false);
|
||||
pref("media.gmp-gmpopenh264.version", "system-installed");
|
||||
EOF
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
|
||||
cat > $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/gmpopenh264.sh << EOF
|
||||
MOZ_GMP_PATH="${MOZ_GMP_PATH}${MOZ_GMP_PATH:+:}%{_libdir}/mozilla/plugins/gmp-gmpopenh264/system-installed"
|
||||
export MOZ_GMP_PATH
|
||||
EOF
|
||||
|
||||
# Remove static libraries
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/*.a
|
||||
|
||||
# Install the gstreamer plugin
|
||||
pushd gst-plugins-bad-%{gst_version}
|
||||
%meson_install
|
||||
|
||||
# Register as an AppStream component to be visible in the software center
|
||||
#
|
||||
# NOTE: It would be *awesome* if this file was maintained by the upstream
|
||||
# project, translated and installed into the right place during `make install`.
|
||||
#
|
||||
# See http://www.freedesktop.org/software/appstream/docs/ for more details.
|
||||
#
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
|
||||
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/gstreamer-openh264.appdata.xml <<EOF
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright 2015 Kalev Lember <klember@redhat.com> -->
|
||||
<component type="codec">
|
||||
<id>gstreamer-openh264</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<name>GStreamer Multimedia Codecs - H.264</name>
|
||||
<summary>Multimedia playback for H.264</summary>
|
||||
<description>
|
||||
<p>
|
||||
This addon includes a codec for H.264 playback and encoding.
|
||||
</p>
|
||||
<p>
|
||||
These codecs can be used to encode and decode media files where the
|
||||
format is not patent encumbered.
|
||||
</p>
|
||||
<p>
|
||||
A codec decodes audio and video for playback or editing and is also
|
||||
used for transmission or storage.
|
||||
Different codecs are used in video-conferencing, streaming media and
|
||||
video editing applications.
|
||||
</p>
|
||||
</description>
|
||||
<url type="homepage">http://gstreamer.freedesktop.org/</url>
|
||||
<url type="bugtracker">https://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer</url>
|
||||
<url type="help">http://gstreamer.freedesktop.org/documentation/</url>
|
||||
<url type="donation">http://www.gnome.org/friends/</url>
|
||||
<update_contact><!-- upstream-contact_at_email.com --></update_contact>
|
||||
</component>
|
||||
EOF
|
||||
|
||||
# Remove unwanted gst-plugins-bad files
|
||||
rm -rf $RPM_BUILD_ROOT%{_bindir}/gst-transcoder-1.0
|
||||
rm -rf $RPM_BUILD_ROOT%{_includedir}/gstreamer-1.0/
|
||||
rm -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig/gstreamer-*.pc
|
||||
rm -rf $RPM_BUILD_ROOT%{_libdir}/libgst*.so*
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/gstreamer-1.0/
|
||||
popd
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_libdir}/libopenh264.so.7
|
||||
%{_libdir}/libopenh264.so.%{openh264_version}
|
||||
|
||||
%files devel
|
||||
%{_includedir}/wels/
|
||||
%{_libdir}/libopenh264.so
|
||||
%{_libdir}/pkgconfig/openh264.pc
|
||||
|
||||
%files -n mozilla-openh264
|
||||
%{_sysconfdir}/profile.d/gmpopenh264.sh
|
||||
%dir %{_libdir}/firefox
|
||||
%dir %{_libdir}/firefox/defaults
|
||||
%dir %{_libdir}/firefox/defaults/pref
|
||||
%{_libdir}/firefox/defaults/pref/gmpopenh264.js
|
||||
%{_libdir}/mozilla/plugins/gmp-gmpopenh264/
|
||||
|
||||
%files -n gstreamer1-plugin-openh264
|
||||
%{_datadir}/appdata/*.appdata.xml
|
||||
%{_libdir}/gstreamer-1.0/libgstopenh264.so
|
||||
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
@@ -1,14 +0,0 @@
|
||||
let cwd = "anda/lib/openh264";
|
||||
let spec = open_file("anda/lib/openh264/openh264.spec").read_string();
|
||||
let gst = find("%global gst_version ([\\d.]+)", spec, 1);
|
||||
print(`:: found gst version ${gst}`);
|
||||
let out = sh(`wget https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${gst}.tar.xz`, cwd);
|
||||
//print(":: wget stdout below");
|
||||
//print(out.sh_stdout());
|
||||
//print(":: wget stderr below");
|
||||
//print(out.sh_stderr());
|
||||
out = sh(`sh gst-p-bad-cleanup.sh gst-plugins-bad-${gst}.tar.xz`, cwd);
|
||||
//print(":: script stdout below");
|
||||
//print(out.sh_stdout());
|
||||
//print(":: script stderr below");
|
||||
//print(out.sh_stderr());
|
||||
@@ -1,6 +0,0 @@
|
||||
rpm.global("commit1", gh_commit("mozilla/gmp-api"));
|
||||
let h264 = gh("cisco/openh264");
|
||||
h264.crop(1);
|
||||
rpm.global("openh264_version", h264);
|
||||
let html = get("https://gstreamer.freedesktop.org/src/gst-plugins-bad/?C=N;O=D");
|
||||
rpm.global("gst_version", find("gst-plugins-bad-([\\d.]+).tar.xz", html, 1));
|
||||
@@ -1,5 +1,5 @@
|
||||
%global commit 77b34797d89d23ccfab3f3e1eab532f0bc73ab38
|
||||
%global ver 1.8.28
|
||||
%global commit 586bc784138042d2710168cd0b29f5dd6d415f45
|
||||
%global ver 1.8.26
|
||||
%global commit_date 20240219
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
%define debug_package %nil
|
||||
|
||||
Name: alsa-ucm-cros
|
||||
Version: 0.5
|
||||
Release: 1%?dist
|
||||
Version: 0.4
|
||||
Release: 1%{?dist}
|
||||
Summary: ALSA Use Case Manager configuration
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/WeirdTreeThing/alsa-ucm-conf-cros/tree/standalone
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user