Compare commits

...

27 Commits

Author SHA1 Message Date
c24a7aaa7b Update pika-build-config/amd64-v3.sh 2024-11-15 17:52:38 +01:00
02a17aaf8d Update .github/release-canary-v3
All checks were successful
PikaOS Package Build & Release (Canary) (amd64-v3) / build (push) Successful in 32s
2024-08-10 13:14:53 +02:00
b904a455a6 Update debian/source/format 2024-08-10 13:14:18 +02:00
Ward from fusion-voyager-3
ebbef4341d try to fix gamescope
Some checks failed
PikaOS Package Build & Release (Canary) (amd64-v3) / build (push) Has been cancelled
PikaOS Package Build Only (Canary) (amd64-v3) / build (push) Has been cancelled
PikaOS Package Build Only (amd64-v3) / build (push) Has been cancelled
PikaOS Package Build & Release (amd64-v3) / build (push) Failing after 22s
2024-08-10 14:11:44 +03:00
Ward Nakchbandi (Cosmic Fusion)
b5d7cc5306
Update changelog 2023-09-29 23:14:59 +03:00
Ward Nakchbandi (Cosmic Fusion)
7b19cd7be2
Update main.sh 2023-09-29 23:14:21 +03:00
Ward Nakchbandi (Cosmic Fusion)
51c633b317
Update release.sh 2023-09-29 23:13:59 +03:00
Ward Nakchbandi (Cosmic Fusion)
9c24cf71dc
Update release.sh 2023-09-29 23:12:23 +03:00
617a77b803
Update release.yml 2023-09-06 21:23:30 +01:00
ab5b7eae5a
Update release.sh 2023-09-06 21:23:17 +01:00
29e477978a
Update release.sh 2023-08-30 20:25:11 +01:00
153e1eaf6d
Update release.yml 2023-08-19 16:13:16 +01:00
f07fc5b783
Update release.yml 2023-06-23 14:11:36 +01:00
f3bf6987c5
Update release.yml 2023-06-16 19:10:41 +01:00
b4e27f8f18
Update main.sh 2023-06-16 19:10:24 +01:00
Ward Nakchbandi (Cosmic Fusion)
9b21d9cbb3
Update changelog 2023-05-11 11:54:43 +03:00
Ward Nakchbandi (Cosmic Fusion)
032da18626
Update control 2023-05-11 11:54:32 +03:00
Ward Nakchbandi (Cosmic Fusion)
5cbe974ac0
Rename libdisplay-info.install to libdisplay-info0.install 2023-05-11 11:12:58 +03:00
Ward Nakchbandi (Cosmic Fusion)
75ba6b376c
Create libdisplay-info-bin.install 2023-05-11 11:10:33 +03:00
Ward Nakchbandi (Cosmic Fusion)
a868a90122
Update control 2023-05-11 11:09:56 +03:00
Ward Nakchbandi (Cosmic Fusion)
982f91e0c4
Update control 2023-05-11 11:09:40 +03:00
Ward Nakchbandi (Cosmic Fusion)
895ff891d9
Update to lunar 2023-05-11 11:03:05 +03:00
Ward Nakchbandi (Cosmic Fusion)
7683a9bc85
Create libdisplay-info-dev.install 2023-05-11 11:02:21 +03:00
Ward Nakchbandi (Cosmic Fusion)
8093ea8e8f
Create libdisplay-info.install 2023-05-11 11:01:27 +03:00
Ward Nakchbandi (Cosmic Fusion)
c275513cc0
Update changelog 2023-05-11 10:58:31 +03:00
Ward Nakchbandi (Cosmic Fusion)
32316a75a6
Update control 2023-05-11 10:58:23 +03:00
Ward Nakchbandi (Cosmic Fusion)
218fec24e5
Update to lunar 2023-05-11 10:55:22 +03:00
19 changed files with 203 additions and 75 deletions

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

@ -0,0 +1 @@
2

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,40 +0,0 @@
name: PikaOS Package Release
on:
workflow_dispatch
jobs:
build:
runs-on: self-hosted
container:
image: ubuntu:22.10
volumes:
- /proc:/proc
options: --privileged -it
steps:
- uses: actions/checkout@v3
- name: Install needed packages
run: apt update && apt install software-properties-common sudo git bc gpg gpg-agent bison build-essential ccache cpio fakeroot flex git kmod libelf-dev libncurses5-dev libssl-dev lz4 qtbase5-dev rsync schedtool wget zstd tar reprepro dpkg-sig devscripts dh-make -y
- 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

9
debian/changelog vendored
View File

@ -1,11 +1,4 @@
display-info (0.1.1-99pika2) kinetic; urgency=low display-info0 (0.1.1-101pika1) pika; urgency=low
* Fix depends
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 01 Oct 2022 14:50:00 +0200
display-info (0.1.1-99pika1) kinetic; urgency=low
* Initial Creation * Initial Creation

12
debian/control vendored
View File

@ -1,12 +1,16 @@
Source: display-info Source: display-info0
Section: utils Section: utils
Priority: optional Priority: optional
Maintainer: Ward Nakchbandi <hotrod.master@hotmail.com> Maintainer: Ward Nakchbandi <hotrod.master@hotmail.com>
Build-Depends: debhelper-compat (= 13), git, meson, pkg-config, build-essential, cmake, hwdata-dev Build-Depends: debhelper-compat (= 13), git, meson, pkg-config, build-essential, cmake, hwdata-dev
Standards-Version: 4.6.1 Standards-Version: 4.6.1
Package: libdisplay-info Package: libdisplay-info0
Architecture: amd64 Architecture: linux-any
Depends: ${misc:Depends}, edid-decode Depends: ${misc:Depends}, edid-decode
Provides: libdisplay-info-dev
Description: EDID and DisplayID library. Description: EDID and DisplayID library.
Package: libdisplay-info0-dev
Architecture: linux-any
Depends: ${misc:Depends}, libdisplay-info0
Description: EDID and DisplayID library (development headers).

2
debian/libdisplay-info0-dev.install vendored Normal file
View File

@ -0,0 +1,2 @@
usr/lib/*/pkgconfig/*
usr/include/libdisplay-info/*

2
debian/libdisplay-info0.install vendored Normal file
View File

@ -0,0 +1,2 @@
usr/lib/*/*.so
usr/lib/*/*.so.*

1
debian/not-installed vendored Normal file
View File

@ -0,0 +1 @@
usr/bin/di-edid-decode

View File

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

21
main.sh
View File

@ -1,10 +1,15 @@
# Add dependent repositories #! /bin/bash
wget -q -O - https://ppa.pika-os.com/key.gpg | sudo apt-key add -
add-apt-repository https://ppa.pika-os.com set -e
add-apt-repository ppa:pikaos/pika
add-apt-repository ppa:kubuntu-ppa/backports VERSION="0.1.1"
source ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
# Clone Upstream # Clone Upstream
git clone https://gitlab.freedesktop.org/emersion/libdisplay-info -b 0.1.1 git clone https://gitlab.freedesktop.org/emersion/libdisplay-info -b "$VERSION"
cp -rvf ./debian ./libdisplay-info cp -rvf ./debian ./libdisplay-info
mv ./libdisplay-info ./display-info mv ./libdisplay-info ./display-info
cd ./display-info cd ./display-info
@ -13,8 +18,8 @@ cd ./display-info
apt-get build-dep ./ -y apt-get build-dep ./ -y
# Build package # Build package
LOGNAME=root dh_make --createorig -y -l -p display-info_0.1.1 LOGNAME=root dh_make --createorig -y -l -p display-info0_"$VERSION" || echo "dh-make: Ignoring Last Error"
dpkg-buildpackage dpkg-buildpackage --no-sign
# Move the debs to output # Move the debs to output
cd ../ cd ../

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=auto"
export DEB_CFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto=auto"
export DEB_CPPFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto=auto"
export DEB_CXXFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto=auto"
export DEB_LDFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto=auto"
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,14 +1,2 @@
# Sign the packages # send debs to server
dpkg-sig --sign builder ./output/libdisplay-info*.deb rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/cockatiel-incoming/
# Pull down existing ppa repo db files etc
rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
# Remove our existing package from the repo
reprepro -V --basedir ./output/repo/ removefilter kinetic 'Package (% libdisplay-info*)'
# Add the new package to the repo
reprepro -V --basedir ./output/repo/ includedeb kinetic ./output/libdisplay-info*.deb
# Push the updated ppa repo to the server
rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/