Compare commits

..

46 Commits
lunar ... main

Author SHA1 Message Date
2de8fdd2c1 Update .github/release-nest-v3
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 1m39s
2024-10-27 02:43:32 +02:00
7a9258c45a Update main.sh 2024-10-27 02:43:25 +02:00
aa3174496f Update .github/release-nest-v3
Some checks failed
PikaOS Package Build & Release (amd64-v3) / build (push) Has been cancelled
2024-10-27 02:42:14 +02:00
ba839131aa Update debian/changelog 2024-10-27 02:42:06 +02:00
ae80061ed8 Update main.sh 2024-10-27 02:41:51 +02:00
87586c9b53 Update .github/release-nest-v3
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 1m35s
2024-10-05 18:37:13 +02:00
8eb136f0a4 Update debian/control 2024-10-05 18:35:08 +02:00
7573e890de Update .github/release-nest-v3
Some checks failed
PikaOS Package Build & Release (amd64-v3) / build (push) Failing after 53s
2024-10-05 18:26:01 +02:00
b4fc9e930d Update debian/changelog 2024-10-05 18:25:07 +02:00
203250a660 Update main.sh 2024-10-05 18:24:21 +02:00
27d08a0c2b Update .github/release-nest-v3
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 1m12s
2024-08-24 21:17:20 +02:00
839a19afe8 Delete debian/xdg-desktop-portal-hyprland-dev.install 2024-08-24 21:16:53 +02:00
81016d014a Update .github/release-nest-v3
Some checks failed
PikaOS Package Build & Release (amd64-v3) / build (push) Failing after 1m13s
2024-08-24 21:05:31 +02:00
2c9f6ba6f7 Update debian/rules 2024-08-24 21:05:19 +02:00
a2cda6ec1b Update .github/release-nest-v3
Some checks failed
PikaOS Package Build & Release (amd64-v3) / build (push) Failing after 1m7s
2024-08-24 20:48:03 +02:00
2db2c3ad06 Update debian/rules 2024-08-24 20:47:53 +02:00
91e4e23900 Update .github/release-nest-v3
Some checks failed
PikaOS Package Build & Release (amd64-v3) / build (push) Failing after 1m21s
2024-08-24 20:42:53 +02:00
f4e286f973 Update debian/control 2024-08-24 20:42:41 +02:00
Ward from fusion-voyager-3
29bd350ba2 port to pika os 4
Some checks failed
PikaOS Package Build Only (Canary) (amd64-v3) / build (push) Failing after 1m8s
PikaOS Package Build Only (amd64-v3) / build (push) Failing after 1s
PikaOS Package Build & Release (Canary) (amd64-v3) / build (push) Failing after 1m0s
PikaOS Package Build & Release (amd64-v3) / build (push) Failing after 1s
2024-07-27 18:23:49 +03:00
235512a15b
Update changelog 2024-07-22 12:43:49 +01:00
215a3af140
Update main.sh 2024-07-22 12:43:06 +01:00
Ward Nakchbandi (Cosmic Fusion)
8aafebfe0a
Update control 2024-07-02 00:57:31 +03:00
Ward Nakchbandi (Cosmic Fusion)
044a1daf8e
2024-07-02 00:48:45 +03:00
2df2ff7c18
Update rules 2023-10-19 20:13:07 +01:00
5987611ca5
Update rules 2023-10-19 20:10:18 +01:00
3d2cdf202a ting 2023-10-19 20:06:12 +01:00
0f3e5a1b1b
Create get_pwd.sh 2023-10-19 20:02:53 +01:00
8c92b4ec32
Update rules 2023-10-19 20:00:02 +01:00
3ee96059db
Update rules 2023-10-19 19:53:41 +01:00
1d5e80ef89
Update rules 2023-10-19 19:45:50 +01:00
7537d2b508
Update rules 2023-10-19 19:43:11 +01:00
02f8fe8538
Update rules 2023-10-19 19:42:05 +01:00
e214d31abf
Update changelog 2023-10-19 19:39:07 +01:00
e6d4fc8c83
Update main.sh 2023-10-19 19:38:47 +01:00
93152b69d5
Update rules 2023-10-19 19:38:04 +01:00
Ward Nakchbandi (Cosmic Fusion)
3ce6ac743a
Update changelog 2023-10-07 14:16:38 +03:00
Ward Nakchbandi (Cosmic Fusion)
f70cbf5f6f
Update main.sh 2023-10-07 14:16:18 +03:00
Ward Nakchbandi (Cosmic Fusion)
fd2cb41f94
Update control 2023-10-07 13:55:57 +03:00
Ward Nakchbandi (Cosmic Fusion)
cc31361286
Update xdg-desktop-portal-hyprland-dev.install 2023-10-07 13:54:14 +03:00
Ward Nakchbandi (Cosmic Fusion)
35df071475
Create xdg-desktop-portal-hyprland-dev.install 2023-10-07 13:51:57 +03:00
Ward Nakchbandi (Cosmic Fusion)
ae2b58b572
Create xdg-desktop-portal-hyprland.install 2023-10-07 13:48:51 +03:00
Ward Nakchbandi (Cosmic Fusion)
052a830116
Delete debian/scripts directory 2023-10-07 13:48:19 +03:00
Ward Nakchbandi (Cosmic Fusion)
d38d2e0d54
Update control 2023-10-07 13:47:56 +03:00
Ward Nakchbandi (Cosmic Fusion)
34eedffb62
Update control 2023-10-07 13:46:35 +03:00
Ward Nakchbandi (Cosmic Fusion)
6966c1a711
Update rules 2023-10-07 13:45:55 +03:00
Ward Nakchbandi (Cosmic Fusion)
17577369c8
2023-10-07 13:42:26 +03:00
21 changed files with 281 additions and 78 deletions

1
.github/build-canary-v3 vendored Normal file
View File

@ -0,0 +1 @@
1

1
.github/build-nest-v3 vendored Normal file
View File

@ -0,0 +1 @@
1

1
.github/release-canary-v3 vendored Normal file
View File

@ -0,0 +1 @@
2

1
.github/release-nest-v3 vendored Normal file
View File

@ -0,0 +1 @@
1

37
.github/workflows/build-canaryv3.yml vendored Normal file
View File

@ -0,0 +1,37 @@
name: PikaOS Package Build Only (Canary) (amd64-v3)
on:
push:
branches:
- main
paths:
- '.github/build-canary-v3'
jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/pikaos-linux/pikaos-builder:canaryv3
volumes:
- /proc:/proc
options: --privileged -it
steps:
- uses: actions/checkout@v3
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
name: id_rsa
known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: replace
- name: Update APT Cache
run: apt-get update -y
- name: Set Build Config
run: cp -vf ./pika-build-config/amd64-v3.sh ./pika-build-config.sh
- name: Build Package
run: ./main.sh

37
.github/workflows/build-nestv3.yml vendored Normal file
View File

@ -0,0 +1,37 @@
name: PikaOS Package Build Only (amd64-v3)
on:
push:
branches:
- main
paths:
- '.github/build-nest-v3'
jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/pikaos-linux/pikaos-builder:nestv3
volumes:
- /proc:/proc
options: --privileged -it
steps:
- uses: actions/checkout@v3
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
name: id_rsa
known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: replace
- name: Update APT Cache
run: apt-get update -y
- name: Set Build Config
run: cp -vf ./pika-build-config/amd64-v3.sh ./pika-build-config.sh
- name: Build Package
run: ./main.sh

40
.github/workflows/release-canaryv3.yml vendored Normal file
View File

@ -0,0 +1,40 @@
name: PikaOS Package Build & Release (Canary) (amd64-v3)
on:
push:
branches:
- main
paths:
- '.github/release-canary-v3'
jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/pikaos-linux/pikaos-builder:canaryv3
volumes:
- /proc:/proc
options: --privileged -it
steps:
- uses: actions/checkout@v3
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
name: id_rsa
known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: replace
- name: Update APT Cache
run: apt-get update -y
- name: Set Build Config
run: cp -vf ./pika-build-config/amd64-v3.sh ./pika-build-config.sh
- name: Build Package
run: ./main.sh
- name: Release Package
run: ./release.sh

40
.github/workflows/release-nestv3.yml vendored Normal file
View File

@ -0,0 +1,40 @@
name: PikaOS Package Build & Release (amd64-v3)
on:
push:
branches:
- main
paths:
- '.github/release-nest-v3'
jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/pikaos-linux/pikaos-builder:nestv3
volumes:
- /proc:/proc
options: --privileged -it
steps:
- uses: actions/checkout@v3
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
name: id_rsa
known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: replace
- name: Update APT Cache
run: apt-get update -y
- name: Set Build Config
run: cp -vf ./pika-build-config/amd64-v3.sh ./pika-build-config.sh
- name: Build Package
run: ./main.sh
- name: Release Package
run: ./release.sh

View File

@ -1,46 +0,0 @@
name: PikaOS Package Release
on:
workflow_dispatch
jobs:
build:
runs-on: self-hosted
container:
image: ghcr.io/pikaos-linux/pika-package-container:latest
volumes:
- /proc:/proc
options: --privileged -it
steps:
- uses: actions/checkout@v3
- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v5
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
name: id_rsa
known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: replace
- name: Build Package
run: ./main.sh
- name: Release Package
run: ./release.sh
- name: Purge cache
uses: strrife/cloudflare-chunked-purge-action@master
env:
# Zone is required by both authentication methods
CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }}
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
PURGE_URLS: ${{ vars.PURGE_URLS }}

View File

@ -1,6 +1,6 @@
MIT License
MIT License (With DPKG packaging compatibility)
Copyright (c) 2023 PikaOS
Copyright (c) 2024 PikaOS
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@ -19,3 +19,6 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Notes:
The files covered by this license are any files and directories in the root of this repository (including but not limited to: `main.sh`, `release.sh`, and `.github`), with the exception of the `debian` directory and its contents if `debian/copyright` exists, and declares any files or directories as a different LICENSE/COPYRIGHT.

38
debian/changelog vendored
View File

@ -1,4 +1,40 @@
xdg-desktop-portal-hyprland (0.5.0-99pika2) lunar; urgency=medium
xdg-desktop-portal-hyprland (1.3.7-101pika1) pika; urgency=medium
* New upstream release
-- ferreo <harderthanfire@gmail.com> Wed, 18 Jan 2023 21:48:14 +0000
xdg-desktop-portal-hyprland (1.3.6-101pika1) pika; urgency=medium
* New upstream release
-- ferreo <harderthanfire@gmail.com> Wed, 18 Jan 2023 21:48:14 +0000
xdg-desktop-portal-hyprland (1.3.3-101pika1) pika; urgency=medium
* Port to PikaOS 4
-- ferreo <harderthanfire@gmail.com> Wed, 18 Jan 2023 21:48:14 +0000
xdg-desktop-portal-hyprland (1.3.3-100pika1) pikauwu; urgency=medium
* Security Fix
-- ferreo <harderthanfire@gmail.com> Wed, 18 Jan 2023 21:48:14 +0000
xdg-desktop-portal-hyprland (1.3.2-100pika1) pikauwu; urgency=medium
* New upstream release
-- ferreo <harderthanfire@gmail.com> Wed, 18 Jan 2023 21:48:14 +0000
xdg-desktop-portal-hyprland (1.2.2-100pika1) pikauwu; urgency=medium
* New upstream release
-- ferreo <harderthanfire@gmail.com> Wed, 18 Jan 2023 21:48:14 +0000
xdg-desktop-portal-hyprland (1.1.0-100pika1) pikauwu; urgency=medium
* New upstream release

13
debian/control vendored
View File

@ -14,10 +14,15 @@ Build-Depends: debhelper-compat (= 13),
libgbm-dev,
libdrm-dev,
cmake,
libwayland-dev,
wayland-protocols,
uuid-dev,
libinih-dev,
libsystemd-dev,
libhyprutils-dev,
libhyprwayland-scanner-dev,
libsdbus-c++-dev,
libhyprlang-dev,
Rules-Requires-Root: no
Package: xdg-desktop-portal-hyprland
@ -30,3 +35,11 @@ Depends:
xdg-desktop-portal,
Provides: xdg-desktop-portal-hyprland, xdg-desktop-portal-backend (= 1.7.1)
Description: Desktop portal for hyprland
Package: xdg-desktop-portal-hyprland-dev
Architecture: linux-any
Depends:
${shlibs:Depends},
${misc:Depends},
xdg-desktop-portal-hyprland (= ${binary:Version}),
Description: Development files for Desktop portal for hyprland

29
debian/copyright vendored
View File

@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2023, vaxerski
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

25
debian/rules vendored
View File

@ -1,23 +1,20 @@
#! /usr/bin/make -f
## See debhelper(7) (uncomment to enable).
## Output every command that modifies files on the build system.
export DH_VERBOSE = 1
override_dh_auto_build:
cd hyprland-share-picker && make all && cd ..
## overriding dh_clean to make it not delete rust vendor files:
#override_dh_clean:
# echo "disabled"
## overriding dh_auto_configure to add custom configs:
#override_dh_auto_configure:
# $(srcdir)/configure -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_DATADIR=/usr/share -DCMAKE_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu -DBUILD_PLUGIN=OFF
override_dh_auto_configure:
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu -B build
cmake --build build --config Release --target all
## overriding dh_install to install files to a package:
override_dh_install:
install -d $(pkgdir)/usr/bin
cp $(srcdir)/hyprland-share-picker/build/hyprland-share-picker $(pkgdir)/usr/bin/hyprland-share-picker
rm -Rf $(pkgdir)/usr/share/hyprland-protocols
rm -f $(pkgdir)/usr/share/pkgconfig/hyprland-protocols.pc
DESTDIR=debian/tmp cmake --install build
rm -rfv debian/xdg-desktop-portal-hyprland/usr/lib/*/pkgconfig/hyprland-protocols.pc
dh_install
## === End end of region ===
## This here will start the build:
%:
dh $@

View File

@ -1,2 +0,0 @@
#! /bin/sh
env | grep -w "PWD" | cut -c5-

View File

@ -1 +1 @@
3.0 (native)
3.0 (quilt)

View File

@ -0,0 +1 @@
usr

15
main.sh
View File

@ -1,18 +1,23 @@
#! /bin/bash
DEBIAN_FRONTEND=noninteractive
set -e
apt-get update
VERSION="1.3.7"
source ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
# Clone Upstream
git clone --recurse-submodules https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
cd xdg-desktop-portal-hyprland
cp -rvf ../debian ./
git clone --depth=1 --recurse-submodules https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
cp -rvf ./debian ./xdg-desktop-portal-hyprland/
cd ./xdg-desktop-portal-hyprland
# Get build deps
apt-get build-dep ./ -y
# Build package
LOGNAME=root dh_make --createorig -y -l -p xdg-desktop-portal-hyprland_"$VERSION" || echo "dh-make: Ignoring Last Error"
dpkg-buildpackage --no-sign
# Move the debs to output

10
pika-build-config/amd64-v3.sh Executable file
View File

@ -0,0 +1,10 @@
#! /bin/bash
export PIKA_BUILD_ARCH="amd64-v3"
export DEBIAN_FRONTEND="noninteractive"
export DEB_BUILD_MAINT_OPTIONS="optimize=+lto -march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
export DEB_CFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
export DEB_CPPFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
export DEB_CXXFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
export DEB_LDFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
export DEB_BUILD_OPTIONS="nocheck notest terse"
export DPKG_GENSYMBOLS_CHECK_LEVEL=0

5
pika-build-config/i386.sh Executable file
View File

@ -0,0 +1,5 @@
#! /bin/bash
export PIKA_BUILD_ARCH="i386"
export DEBIAN_FRONTEND="noninteractive"
export DEB_BUILD_OPTIONS="nocheck notest terse"
export DPKG_GENSYMBOLS_CHECK_LEVEL=0

View File

@ -1,8 +1,2 @@
# send debs to server
rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
# add debs to repo
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-main /srv/www/incoming/'
# publish the repo
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/cockatiel-incoming/