Compare commits

..

No commits in common. "main" and "kinetic" have entirely different histories.

22 changed files with 323 additions and 330 deletions

View File

@ -1 +0,0 @@
1

View File

@ -1 +0,0 @@
1

View File

@ -1 +0,0 @@
2

View File

@ -1 +0,0 @@
6

View File

@ -1,37 +0,0 @@
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

View File

@ -1,37 +0,0 @@
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

View File

@ -1,40 +0,0 @@
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

View File

@ -1,40 +0,0 @@
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

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

@ -0,0 +1,40 @@
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 -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

View File

@ -1,24 +0,0 @@
MIT License (With DPKG packaging compatibility)
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
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
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.

19
main.sh
View File

@ -1,13 +1,8 @@
#! /bin/bash # Add dependent repositories
wget -q -O - https://ppa.pika-os.com/key.gpg | sudo apt-key add -
set -e add-apt-repository https://ppa.pika-os.com
add-apt-repository ppa:pikaos/pika
VERSION="4.2" add-apt-repository ppa:kubuntu-ppa/backports
source ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
# Clone Upstream # Clone Upstream
cd ./pika-meta cd ./pika-meta
@ -15,8 +10,8 @@ cd ./pika-meta
apt-get build-dep ./ -y apt-get build-dep ./ -y
# Build package # Build package
LOGNAME=root dh_make --createorig -y -l -p pika-meta_"$VERSION" || echo "dh-make: Ignoring Last Error" dh_make --createorig
dpkg-buildpackage --no-sign dpkg-buildpackage
# Move the debs to output # Move the debs to output
cd ../ cd ../

View File

@ -1,10 +0,0 @@
#! /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

View File

@ -1,5 +0,0 @@
#! /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,5 +0,0 @@
#!/bin/bash
set -e
flatpak -y uninstall com.usebottles.bottles

View File

@ -1,46 +1,3 @@
pika-meta (11:4.2-101pika5) pika; urgency=medium
* Drop gamescope-session by default
-- Ward Nakchbandi <hotrod.master@hotmail.com> Thu, 12 Jan 2023 16:48:00 +0300
pika-meta (11:4.1-101pika2) pika; urgency=medium
* Drop gamescope-session by default
-- Ward Nakchbandi <hotrod.master@hotmail.com> Thu, 12 Jan 2023 16:48:00 +0300
pika-meta (11:4.0-101pika1) pika; urgency=medium
* PikaOS 4
-- Ward Nakchbandi <hotrod.master@hotmail.com> Thu, 12 Jan 2023 16:48:00 +0300
pika-meta (10:3.7-100pika3) pikauwu; urgency=medium
* PikaUwU
-- Ward Nakchbandi <hotrod.master@hotmail.com> Thu, 12 Jan 2023 16:48:00 +0300
pika-meta (10:3.4-99pika1.lunar) lunar; urgency=medium
* Lunar
-- Ward Nakchbandi <hotrod.master@hotmail.com> Thu, 12 Jan 2023 16:48:00 +0300
pika-meta (10:3.2-99pika1.lunar) lunar; urgency=medium
* Lunar
-- Ward Nakchbandi <hotrod.master@hotmail.com> Thu, 12 Jan 2023 16:48:00 +0300
pika-meta (10:3.0-99pika7) lunar; urgency=medium
* Remove random garbage from codecs, and rename pika-office-meta to pika-libreoffice-meta
* Lunar
-- Ward Nakchbandi <hotrod.master@hotmail.com> Thu, 12 Jan 2023 16:48:00 +0300
pika-meta (10:3.0-99pika7) kinetic; urgency=medium pika-meta (10:3.0-99pika7) kinetic; urgency=medium
* Remove random garbage from codecs, and rename pika-office-meta to pika-libreoffice-meta * Remove random garbage from codecs, and rename pika-office-meta to pika-libreoffice-meta

View File

@ -9,99 +9,301 @@ Rules-Requires-Root: no
Package: pika-package-manager Package: pika-package-manager
Architecture: all Architecture: all
Depends: ${misc:Depends}, Depends: ${misc:Depends},
synaptic, mintdrivers,
mintinstall,
mintupdate,
python-apt-common, python-apt-common,
pika-drivers, gdebi,
pikman-update-manager, repoman,
pikman, pikman,
apx-subsystem-settings,
Description: A Meta package to install pika's collection of package management software. Description: A Meta package to install pika's collection of package management software.
Package: pika-gameutils-meta Package: pika-gameutils-meta
Architecture: all Architecture: all
Multi-Arch: foreign Multi-Arch: foreign
Depends: ${misc:Depends}, Depends: ${misc:Depends},
# Codecs flatpak,
pika-codecs-meta, pika-codecs-meta,
# Mesa gstreamer1.0-plugins-base,
i965-va-driver,
intel-media-va-driver-non-free,
libaom3,
libapparmor1,
libaribb24-0,
libasound2,
libasound2-plugins,
libasyncns0,
libatk1.0-0,
libatk-bridge2.0-0,
libatomic1,
libatspi2.0-0,
libavahi-client3,
libavahi-common3,
libavahi-common-data,
libavcodec59,
libavutil57,
libblkid1,
libbrotli1,
libbsd0,
libbz2-1.0,
libcairo2,
libcairo-gobject2,
libcap2,
libcdparanoia0,
libcodec2-1.0,
libcolord2,
libcups2,
libcurl3-gnutls,
libcurl4,
libdatrie1,
libdav1d6,
libdb5.3,
libdbus-1-3,
libdecor-0-0,
libdecor-0-plugin-1-cairo,
libdeflate0,
libdrm2,
libdrm-amdgpu1,
libdrm-intel1,
libdrm-nouveau2,
libdrm-radeon1,
libdw1,
libedit2,
libegl1-mesa-dev, libegl1-mesa-dev,
libegl-mesa0,
libelf1,
libepoxy0,
libexif12,
libexpat1,
libflac8,
libfontconfig1,
libfreetype6,
libfribidi0,
libgbm1,
libgbm-dev, libgbm-dev,
libgcrypt20,
libgd3,
libgdbm6,
libgdbm-compat4,
libgdk-pixbuf-2.0-0,
libgl1-mesa-dri, libgl1-mesa-dri,
libglapi-mesa, libglapi-mesa,
libglib2.0-0,
libglu1-mesa, libglu1-mesa,
libglvnd0,
libglx-mesa0,
libgmp10,
libgnutls30,
libgomp1,
libgpg-error0,
libgpg-error-l10n,
libgphoto2-6,
libgphoto2-port12,
libgpm2,
libgraphite2-3,
libgsm1,
libgstreamer1.0-0,
libgstreamer-plugins-base1.0-0,
libgtk-3-0,
libharfbuzz0b,
libhogweed6,
libicu71,
libieee1284-3,
libigdgmm12,
libjack-jackd2-0,
libjbig0,
libjpeg8,
libjpeg-turbo8,
liblcms2-2,
libldap-2.5-0,
libllvm15,
libltdl7,
liblz4-1,
liblzma5,
libmd0,
libmount1,
libmp3lame0,
libncurses6,
libnettle8,
libnghttp2-14,
libnspr4,
libnss3,
libnuma1,
libodbc1,
libodbc2,
libodbccr2,
libogg0,
libopenal1,
libopencore-amrnb0,
libopencore-amrwb0,
libopengl0,
libopenjp2-7,
libopus0,
liborc-0.4-0,
libosmesa6,
libp11-kit0,
libpango-1.0-0,
libpangocairo-1.0-0,
libpangoft2-1.0-0,
libpcap0.8,
libpci3,
libpciaccess0,
libpcre2-8-0,
libperl5.34,
libpixman-1-0,
libpng16-16,
libpoppler123,
libpoppler-glib8,
libpsl5,
libpulse0,
librsvg2-2,
librsvg2-common,
librtmp1,
libsamplerate0,
libsane1,
libsasl2-2,
libsasl2-modules,
libsasl2-modules-db,
libsdl2-2.0-0,
libselinux1,
libsensors5,
libshine3,
libsnappy1v5,
libsndfile1,
libsndio7.0,
libsnmp40,
libsoxr0,
libspeex1,
libspeexdsp1,
libsqlite3-0,
libssh-4,
libsvtav1enc1,
libswresample4,
libsystemd0,
libtasn1-6,
libthai0,
libtheora0,
libtiff5,
libtinfo6,
libtwolame0,
libudev1,
libunwind8,
libusb-1.0-0,
libuuid1,
libv4l-0,
libv4lconvert0,
libva2,
libva-drm2,
libva-x11-2,
libvdpau1,
libvisual-0.4-0,
libvo-amrwbenc0,
libvorbis0a,
libvorbisenc2,
libvpx7,
libwayland-client0,
libwayland-cursor0,
libwayland-egl1,
libwayland-server0,
libwebp7,
libwebpmux3,
libwrap0,
libx11-6,
libx11-xcb1,
libx264-164,
libx265-199,
libxatracker2,
libxau6,
libxcb1,
libxcb-dri2-0,
libxcb-dri3-0,
libxcb-present0,
libxcb-render0,
libxcb-shm0,
libxcb-sync1,
libxcb-xfixes0,
libxcomposite1,
libxcursor1,
libxdamage1,
libxdmcp6,
libxext6,
libxfixes3,
libxi6,
libxinerama1,
libxkbcommon0,
libxml2,
libxpm4,
libxrandr2,
libxrender1,
libxshmfence1,
libxss1,
libxvidcore4,
libxxf86vm1,
libzstd1,
libzvbi0,
unrar,
rar,
mesa-common-dev, mesa-common-dev,
mesa-va-drivers,
mesa-vdpau-drivers,
mesa-vulkan-drivers, mesa-vulkan-drivers,
# Wine ocl-icd-libopencl1,
wine, wine,
wine-staging | wine-devel | wine-stable, wine-staging | wine-devel | wine-stable,
winetricks, va-driver-all,
# Game launchers
steam-launcher, steam-launcher,
winetricks,
lutris, lutris,
protonplus,
umu-launcher,
# Gaming utilites
gamescope,
vkbasalt, vkbasalt,
vkbasalt:i386, vkbasalt:i386,
mangohud, mangohud,
mangohud:i386, mangohud:i386,
gamemode,
libgamemodeauto0:i386,
intel-media-va-driver-non-free:i386,
goverlay, goverlay,
falcon, gamescope-session,
unrar,
rar,
Description: A Meta package to install pika's collection of gaming software. Description: A Meta package to install pika's collection of gaming software.
Package: pika-codecs-meta Package: pika-codecs-meta
Architecture: all Architecture: all
Multi-Arch: foreign Multi-Arch: foreign
Depends: Depends: ${misc:Depends},
${misc:Depends},
vlc,
# FFMPEG
ffmpeg, ffmpeg,
# 32bit FFMPEG ffmpeg5,
libavcodec61:i386, libavcodec60:i386,
libavdevice61:i386, libavdevice60:i386,
libavfilter10:i386, libavfilter9:i386,
libavformat61:i386, libavformat60:i386,
libavutil59:i386, libavutil58:i386,
libpostproc58:i386, libpostproc57:i386,
libswresample5:i386, libswresample4ff6:i386,
libswscale8:i386, libswscale7:i386,
# gstreamer ffmpegthumbs,
vlc,
exe-thumbnailer,
kio-extras,
intel-media-va-driver-non-free,
nvidia-vaapi-driver,
va-driver-all,
vdpau-driver-all,
gstreamer1.0-libav, gstreamer1.0-libav,
gstreamer1.0-plugins-bad, gstreamer1.0-plugins-bad,
gstreamer1.0-plugins-base, gstreamer1.0-plugins-base,
gstreamer1.0-plugins-good, gstreamer1.0-plugins-good,
gstreamer1.0-plugins-ugly, gstreamer1.0-plugins-ugly,
gstreamer1.0-vaapi,
# 32bit gstreamer
gstreamer1.0-libav:i386, gstreamer1.0-libav:i386,
gstreamer1.0-plugins-bad:i386, gstreamer1.0-plugins-bad:i386,
gstreamer1.0-plugins-base:i386,
gstreamer1.0-plugins-good:i386,
gstreamer1.0-plugins-ugly:i386, gstreamer1.0-plugins-ugly:i386,
gstreamer1.0-vaapi:i386,
# Mesa VA-API Drivers
va-driver-all,
vdpau-driver-all,
mesa-va-drivers,
mesa-vdpau-drivers,
i965-va-driver,
# Intel non-free VA-API Drivers
intel-media-va-driver-non-free,
intel-media-va-driver-non-free:i386, intel-media-va-driver-non-free:i386,
# Nvidia VA-APT Drivers gstreamer1.0-vaapi,
nvidia-vaapi-driver,
nvidia-vaapi-driver:i386,
# Thumbnails
ffmpegthumbs,
exe-thumbnailer,
heif-thumbnailer,
# Pixbufs support
webp-pixbuf-loader, webp-pixbuf-loader,
heif-gdk-pixbuf, heif-gdk-pixbuf,
Description: A Meta package to install pika's collection of Multi-media Codecs. heif-thumbnailer
Recommends:
gnome-sushi
Description: A Meta package to install pika's collection of codec software.
Package: pika-rocm-meta Package: pika-rocm-meta
Architecture: all Architecture: all
@ -131,20 +333,11 @@ Depends: ${misc:Depends},
libreoffice-writer, libreoffice-writer,
libreoffice-gnome, libreoffice-gnome,
libreoffice-ogltrans, libreoffice-ogltrans,
Description: A Meta package to install pika's collection of LibreOffice software. Description: A Meta package to install pika's collection of Office software.
Package: pika-gameutils-meta-extra Package: pika-gameutils-meta-extra
Architecture: all Architecture: all
Depends: ${misc:Depends}, Depends: ${misc:Depends},
bottles-flatpak,
heroic-games-launcher,
pika-gameutils-meta pika-gameutils-meta
Description: A Meta package to Extend pika's collection of gaming software. Description: A Meta package to Extend pika's collection of gaming software.
Package: bottles-flatpak
Architecture: all
Pre-Depends: flatpak
Depends: ${misc:Depends},
flatpak,
Description: A Flatpak Install script for Bottles.

View File

@ -1,2 +0,0 @@
Update-Manager::Always-Include-Phased-Updates true;
APT::Get::Always-Include-Phased-Updates true;

View File

@ -3,3 +3,4 @@
set -e set -e
flatpak -y install com.usebottles.bottles flatpak -y install com.usebottles.bottles
flatpak -y install com.heroicgameslauncher.hgl

View File

@ -1 +0,0 @@
debian/package-manager/etc/* etc/

View File

@ -1,6 +1,3 @@
#! /usr/bin/make -f #! /usr/bin/make -f
export PIKA_BUILD_ARCH = $(shell cat ../pika-build-arch)
%: %:
dh $@ dh $@

View File

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

View File

@ -1,2 +1,17 @@
# send debs to server # Sign the packages
rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/cockatiel-incoming/ dpkg-sig --sign builder ./output/pika-*-meta*.deb
dpkg-sig --sign builder ./output/pika-package-manager*.deb
# 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 (% pika-*-meta*)'
reprepro -V --basedir ./output/repo/ removefilter kinetic 'Package (% pika-package-manager*)'
# Add the new package to the repo
reprepro -V --basedir ./output/repo/ includedeb kinetic ./output/pika-*-meta*.deb
reprepro -V --basedir ./output/repo/ includedeb kinetic ./output/pika-package-manager*.deb
# Push the updated ppa repo to the server
rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/