Compare commits

..

26 Commits
OS3 ... main

Author SHA1 Message Date
f5ddcd79b3 Update driver-db.json 2024-10-30 15:55:38 +01:00
b6699af5fa Update driver-db.json 2024-10-22 18:47:50 +02:00
2b3bd945cd Update driver-db.json 2024-09-04 11:02:05 +02:00
Ward from fusion-voyager-3
707589ec6a use dpkg status
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 2m41s
2024-09-02 03:50:07 +03:00
60d904b9a1 Update debian/rules 2024-07-31 14:02:32 +02:00
Ward from fusion-voyager-3
700011a987 fix pika target detection 2024-07-26 22:40:37 +03:00
Ward from fusion-voyager-3
bf3ac4ab73 fully fix maintscripts 2024-07-26 01:33:21 +03:00
Ward from fusion-voyager-3
1768b196b1 fix maint env 2024-07-26 01:20:12 +03:00
9ceb16a596 c 2024-07-25 21:12:39 +01:00
Ward from fusion-voyager-3
9446951214 add license 2024-07-25 13:17:44 +03:00
Ward from fusion-voyager-3
85503e3d55 fix typo
Some checks failed
PikaOS Package Build Only (Canary) (amd64-v3) / build (push) Has been cancelled
2024-07-24 14:32:24 +03:00
Ward from fusion-voyager-3
e36800779d fix main 2024-07-24 14:00:56 +03:00
Ward from fusion-voyager-3
f84535f74f add workflows
Some checks failed
PikaOS Package Build Only (amd64-v3) / build (push) Failing after 0s
PikaOS Package Build & Release (Canary) (amd64-v3) / build (push) Successful in 1m14s
PikaOS Package Build & Release (amd64-v3) / build (push) Failing after 1s
2024-07-24 04:21:44 +03:00
Ward from fusion-voyager-3
431091d933 Update to PikaOS 4 2024-07-24 00:46:05 +03:00
Ward from fusion-voyager-3
ab938143ef Update to PikaOS 4 2024-07-24 00:44:30 +03:00
Ward Nakchbandi (Cosmic Fusion)
5de593710b
Merge pull request #5 from weblate/weblate-pikaos-pika-drivers
Translations update from Hosted Weblate
2024-07-23 21:35:10 +00:00
Ward from fusion-voyager-3
dda75fe87d Update to PikaOS 4 2024-07-24 00:34:32 +03:00
cdc3fab26a
Translated using Weblate (Spanish)
Currently translated at 100.0% (19 of 19 strings)

Translation: PikaOS Linux/pika-drivers
Translate-URL: https://hosted.weblate.org/projects/pikaos/gui-applications/pika-drivers/es/
2024-07-18 00:09:15 +00:00
bb7ee5961b
Translated using Weblate (Spanish)
Currently translated at 100.0% (19 of 19 strings)

Translation: PikaOS Linux/pika-drivers
Translate-URL: https://hosted.weblate.org/projects/pikaos/gui-applications/pika-drivers/es/
2024-07-17 01:35:53 +02:00
gallegonovato
dc4011cb6e
Translated using Weblate (Spanish)
Currently translated at 100.0% (19 of 19 strings)

Translation: PikaOS Linux/pika-drivers
Translate-URL: https://hosted.weblate.org/projects/pikaos/gui-applications/pika-drivers/es/
2024-07-17 01:35:53 +02:00
2c8419cb33
Added translation using Weblate (Spanish) 2024-07-16 03:48:50 +00:00
Folktro
c4c3c35a1f
Translated using Weblate (Swedish)
Currently translated at 100.0% (19 of 19 strings)

Translation: PikaOS Linux/pika-drivers
Translate-URL: https://hosted.weblate.org/projects/pikaos/gui-applications/pika-drivers/sv/
2024-07-16 03:48:50 +00:00
piaf
1096ff4baf
Translated using Weblate (French)
Currently translated at 100.0% (19 of 19 strings)

Translation: PikaOS Linux/pika-drivers
Translate-URL: https://hosted.weblate.org/projects/pikaos/gui-applications/pika-drivers/fr/
2024-07-16 03:48:49 +00:00
YourPepsiDrink
d779a8d29c
Translated using Weblate (French)
Currently translated at 100.0% (19 of 19 strings)

Translation: PikaOS Linux/pika-drivers
Translate-URL: https://hosted.weblate.org/projects/pikaos/gui-applications/pika-drivers/fr/
2024-07-16 03:48:49 +00:00
selektionsrest
c287e4c791
Translated using Weblate (German)
Currently translated at 100.0% (19 of 19 strings)

Translation: PikaOS Linux/pika-drivers
Translate-URL: https://hosted.weblate.org/projects/pikaos/gui-applications/pika-drivers/de/
2024-07-16 03:48:48 +00:00
Eren
094aff1d4c
Translated using Weblate (Turkish)
Currently translated at 100.0% (19 of 19 strings)

Translation: PikaOS Linux/pika-drivers
Translate-URL: https://hosted.weblate.org/projects/pikaos/gui-applications/pika-drivers/tr/
2024-07-16 03:48:48 +00:00
30 changed files with 2434 additions and 155 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 @@
1

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

@ -0,0 +1 @@
2

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 }}

2142
Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -16,3 +16,12 @@ users = "0.11.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
reqwest = { version = "0.11", features = ["blocking"] }
[profile.release]
lto = "fat"
debug = false
strip = true
opt-level = 3
panic = "abort"
codegen-units = 1

View File

10
data/check-pkg.sh Executable file
View File

@ -0,0 +1,10 @@
#! /usr/bin/bash
export LANG=C
package=$1
if dpkg-query -W -f='${Status}' $package 2>/dev/null | grep -q "install ok installed"
then
exit 0
else
exit 1
fi

View File

@ -37,7 +37,7 @@ then
pkg="$1"
fi
if dpkg -s "$1"
if /usr/lib/pika/drivers/check-pkg.sh "$1"
then
if echo $pkg | grep -i mesa
then
@ -94,7 +94,7 @@ then
pkg="$1"
fi
if dpkg -s "$1"
if /usr/lib/pika/drivers/check-pkg.sh "$1"
then
if echo $pkg | grep -i mesa
then
@ -105,7 +105,7 @@ then
else
if echo $pkg | grep -i nvidia
then
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY bash -c "DEBIAN_FRONTEND=noninteractive apt update -y -o Dpkg::Options::='--force-confnew' && DEBIAN_FRONTEND=noninteractive apt purge nvidia-driver-* -y -o Dpkg::Options::='--force-confnew' && DEBIAN_FRONTEND=noninteractive apt install $pkg -y -o Dpkg::Options::='--force-confnew' && sudo DEBIAN_FRONTEND=noninteractive apt autoremove -y -o Dpkg::Options::='--force-confnew'"
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY bash -c "DEBIAN_FRONTEND=noninteractive apt update -y -o Dpkg::Options::='--force-confnew' && DEBIAN_FRONTEND=noninteractive apt purge nvidia-driver-* nvidia-open-driver-* -y -o Dpkg::Options::='--force-confnew' && DEBIAN_FRONTEND=noninteractive apt install $pkg -y -o Dpkg::Options::='--force-confnew' && sudo DEBIAN_FRONTEND=noninteractive apt autoremove -y -o Dpkg::Options::='--force-confnew'"
else
if echo $pkg | grep -i mesa-hybrid
then

4
debian/changelog vendored
View File

@ -1,6 +1,6 @@
pika-drivers (1.0.0-100pika8+goodbye3) pikauwu; urgency=medium
pika-drivers (1.0.0-101pika2) pika; urgency=medium
* Nvidia 550 no longer experimental
* Update for PikaOS 4
-- Pika <root@pika.com> Wed, 11 Jan 2023 11:41:38 +0000

3
debian/control vendored
View File

@ -2,7 +2,8 @@ Source: pika-drivers
Section: admin
Priority: optional
Maintainer: Pika <root@pika.com>
Build-Depends: debhelper (>= 9), build-essential,
Build-Depends: debhelper (>= 9),
build-essential,
debhelper,
python3,
meson,

9
debian/rules vendored
View File

@ -1,7 +1,16 @@
#!/usr/bin/make -f
export PIKA_BUILD_ARCH = $(shell cat ../pika-build-arch)
export PATH := $(PATH):/root/.cargo/bin
override_dh_prep:
# amd64 build prep
ifeq (amd64-v3,$(PIKA_BUILD_ARCH))
# Does not support LTO due to dylib-lto
#export RUSTFLAGS = -C target-cpu=x86-64-v3 -C lto=fat -C embed-bitcode -C codegen-units=1 -C opt-level=3 -Zdylib-lto
export RUSTFLAGS = -C target-cpu=x86-64-v3 -C opt-level=3
endif
%:
dh ${@}

View File

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

View File

@ -98,54 +98,6 @@
},
{
"id": 12,
"driver": "nvidia-driver-525",
"icon": "nvidia",
"experimental": false,
"removable": true,
"detection": "lspci -D | grep -iE 'VGA|3D' | grep -i nvidia"
},
{
"id": 13,
"driver": "nvidia-driver-525-open",
"icon": "nvidia",
"experimental": true,
"removable": true,
"detection": "lspci -D | grep -iE 'VGA|3D' | grep -i nvidia"
},
{
"id": 14,
"driver": "nvidia-driver-535",
"icon": "nvidia",
"experimental": false,
"removable": true,
"detection": "lspci -D | grep -iE 'VGA|3D' | grep -i nvidia"
},
{
"id": 15,
"driver": "nvidia-driver-535-open",
"icon": "nvidia",
"experimental": true,
"removable": true,
"detection": "lspci -D | grep -iE 'VGA|3D' | grep -i nvidia"
},
{
"id": 16,
"driver": "nvidia-driver-545",
"icon": "nvidia",
"experimental": false,
"removable": true,
"detection": "lspci -D | grep -iE 'VGA|3D' | grep -i nvidia"
},
{
"id": 17,
"driver": "nvidia-driver-545-open",
"icon": "nvidia",
"experimental": true,
"removable": true,
"detection": "lspci -D | grep -iE 'VGA|3D' | grep -i nvidia"
},
{
"id": 18,
"driver": "nvidia-driver-550",
"icon": "nvidia",
"experimental": false,
@ -153,31 +105,7 @@
"detection": "lspci -D | grep -iE 'VGA|3D' | grep -i nvidia"
},
{
"id": 19,
"driver": "nvidia-driver-550-open",
"icon": "nvidia",
"experimental": true,
"removable": true,
"detection": "lspci -D | grep -iE 'VGA|3D' | grep -i nvidia"
},
{
"id": 20,
"driver": "xone-dkms",
"icon": "input-gaming",
"experimental": false,
"removable": true,
"detection": "lsusb | grep -i xbox"
},
{
"id": 21,
"driver": "intel-gpu-compute",
"icon": "intel",
"experimental": false,
"removable": true,
"detection": "lspci -D | grep -iE 'VGA|3D' | grep -i intel"
},
{
"id": 22,
"id": 13,
"driver": "nvidia-driver-555",
"icon": "nvidia",
"experimental": false,
@ -185,12 +113,44 @@
"detection": "lspci -D | grep -iE 'VGA|3D' | grep -i nvidia"
},
{
"id": 23,
"driver": "nvidia-driver-555-open",
"id": 18,
"driver": "nvidia-open-driver-555",
"icon": "nvidia",
"experimental": true,
"removable": true,
"detection": "lspci -D | grep -iE 'VGA|3D' | grep -i nvidia"
}
},
{
"id": 16,
"driver": "xone-dkms",
"icon": "input-gaming",
"experimental": false,
"removable": true,
"detection": "lsusb | grep -i xbox"
},
{
"id": 17,
"driver": "intel-gpu-compute",
"icon": "intel",
"experimental": false,
"removable": true,
"detection": "lspci -D | grep -iE 'VGA|3D' | grep -i intel"
},
{
"id": 20,
"driver": "nvidia-driver-565",
"icon": "nvidia",
"experimental": false,
"removable": true,
"detection": "lspci -D | grep -iE 'VGA|3D' | grep -i nvidia"
},
{
"id": 21,
"driver": "nvidia-open-driver-565",
"icon": "nvidia",
"experimental": false,
"removable": true,
"detection": "lspci -D | grep -iE 'VGA|3D' | grep -i nvidia"
}
]
}

View File

@ -17,5 +17,5 @@
"driver_install_dialog_success_false": "Der Treiber konnte nicht installiert werden!",
"window_no_drivers_box_text_title": "Keine Geräte erfordern spezielle Treiber",
"window_no_drivers_box_text_description": "Für keine auf Ihrem System installierten Geräte existieren spezielle Treiber in unserer Datenbank.",
"driver_status_icon_tooltip_text": ""
"driver_status_icon_tooltip_text": "Dieser Treiber ist installiert!"
}

21
locales/es_ES.json Normal file
View File

@ -0,0 +1,21 @@
{
"app_name": "Bienvenida de PikaOS",
"app_dev": "Cosmo",
"loading_label_label": "Descargando la base de datos de los controladores...",
"loading_no_internet_box_text_title": "¡Error de red!",
"loading_no_internet_box_text_description": "Se requiere una conexión a Internet para descargar la base de datos del controlador.",
"device_label_label_prefix": "Dispositivo: ",
"driver_install_button_label": "Instalar",
"driver_install_button_tooltip_text": "Instale el paquete de controladores.",
"driver_remove_button_label": "Desinstalar",
"driver_remove_button_tooltip_text": "Desinstalar el paquete de los controladores.",
"driver_expander_row_title_suffix": "(ADVERTENCIA: ¡ESTE CONTROLADOR ES EXPERIMENTAL, ÚSELO BAJO SU PROPIA RESPONSABILIDAD!)",
"driver_install_dialog_heading": "Registro de instalación del controlador",
"driver_install_dialog_ok_label": "Reiniciar más tarde",
"driver_install_dialog_reboot_label": "Reiniciar ahora",
"driver_install_dialog_success_true": "¡El controlador se instaló correctamente!",
"driver_install_dialog_success_false": "¡No se pudo instalar el controlador!",
"window_no_drivers_box_text_title": "Ningún dispositivo requiere controladores especiales",
"window_no_drivers_box_text_description": "Ningún dispositivo instalado en su sistema requiere un controlador especial de nuestra base de datos.",
"driver_status_icon_tooltip_text": "¡Éste controlador está instalado!"
}

View File

@ -1,14 +1,14 @@
{
"app_name": "Gestionnaire de pilotes PikaOS",
"app_name": "PikaOS configuration initiale",
"app_dev": "Cosmo",
"loading_label_label": "Téléchargement de la base de données des pilotes...",
"loading_no_internet_box_text_title": "Erreur de réseau!",
"loading_no_internet_box_text_description": "Une connexion Internet est nécessaire pour télécharger la base de données des pilotes.",
"device_label_label_prefix": "Périphérique:",
"device_label_label_prefix": "Périphérique: ",
"driver_install_button_label": "Installer",
"driver_install_button_tooltip_text": "Installer le pilote.",
"driver_install_button_tooltip_text": "Installer le package du pilote.",
"driver_remove_button_label": "Désinstaller",
"driver_remove_button_tooltip_text": "Désinstaller le pilote.",
"driver_remove_button_tooltip_text": "Désinstaller le package du pilote.",
"driver_expander_row_title_suffix": "(AVERTISSEMENT: CE PILOTE EST EXPÉRIMENTAL, À UTILISER À VOS RISQUES ET PÉRILS)",
"driver_install_dialog_heading": "Journal d'installation des pilotes",
"driver_install_dialog_ok_label": "Redémarrer plus tard",
@ -16,6 +16,6 @@
"driver_install_dialog_success_true": "Le pilote a été Installé avec succès!",
"driver_install_dialog_success_false": "Le pilote n'a pas été installé!",
"window_no_drivers_box_text_title": "Aucun périphérique ne nécessite de pilote spécial",
"window_no_drivers_box_text_description": "Aucun périphérique de votre système ne dispose d'un pilote spécial présent dans notre base de données.",
"driver_status_icon_tooltip_text": ""
"window_no_drivers_box_text_description": "Aucun périphérique installé sur votre système ne dispose d'un pilote spécial présent dans notre base de données.",
"driver_status_icon_tooltip_text": "Le pilote est installé!"
}

View File

@ -1,5 +1,5 @@
{
"app_name": "Första inställningarna",
"app_name": "PikaOS Välkommen",
"app_dev": "Cosmo",
"loading_label_label": "Laddar ner databas för drivrutiner...",
"loading_no_internet_box_text_title": "Nätverksfel!",
@ -17,5 +17,5 @@
"driver_install_dialog_success_false": "Drivrutinen har inte installerats korrekt!",
"window_no_drivers_box_text_title": "Inga Enheter kräver några speciella drivrutiner",
"window_no_drivers_box_text_description": "Inga Enheter installerade på ditt system behöver en drivrutin från vår databas.",
"driver_status_icon_tooltip_text": ""
"driver_status_icon_tooltip_text": "Den här Drivrutinen är installerad!"
}

View File

@ -1,5 +1,5 @@
{
"app_name": "PikaOS İlk Kurulum",
"app_name": "PikaOS Sürücü Yöneticisi",
"app_dev": "Cosmo",
"loading_label_label": "Sürücü veritabanı indiriliyor...",
"loading_no_internet_box_text_title": "İnternet hatası!",

17
main.sh
View File

@ -1,18 +1,25 @@
#! /bin/bash
set -e
VERSION="1.0.0"
source ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
# Clone Upstream
mkdir -p pika-drivers
cp -rvf ./* ./pika-drivers/
cp -rvf ./* ./pika-drivers/ || true
cd ./pika-drivers/
# Dead PikaOS3 Release Quirk?
apt update
apt-get install libglib2.0-0=2.78.0-2 libglib2.0-bin=2.78.0-2 libglib2.0-dev-bin=2.78.0-2 -y --allow-downgrades
# Get build deps
apt-get build-dep ./ -y
apt-get install curl -y
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | CARGO_HOME=/root/.cargo sh -s -- -y
# Build package
LOGNAME=root dh_make --createorig -y -l -p pika-drivers_"$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 pikauwu-main /srv/www/incoming/'
# publish the repo
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite pikauwu filesystem:pikarepo:'
rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/cockatiel-incoming/

View File

@ -326,8 +326,8 @@ fn get_drivers(
let driver_package_removeble = driver.removeble.to_owned();
gio::spawn_blocking(move || loop {
let command_installed_status = Command::new("dpkg")
.args(["-s", &driver_package_ind2])
let command_installed_status = Command::new("/usr/lib/pika/drivers/check-pkg.sh")
.arg(&driver_package_ind2)
.output()
.unwrap();
if command_installed_status.status.success() {

View File

@ -2,5 +2,4 @@ pub const APP_ID: &str = "com.github.pikaos-linux.pikadrivers";
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
pub const APP_ICON: &str = "com.github.pikaos-linux.pikadrivers";
pub const APP_GITHUB: &str = "https://github.com/PikaOS-Linux/pkg-pika-drivers";
pub const DRIVER_DB_JSON_URL: &str =
"https://raw.githubusercontent.com/PikaOS-Linux/pkg-pika-drivers/OS3/driver-db.json";
pub const DRIVER_DB_JSON_URL: &str = "https://git.pika-os.com/custom-gui-packages/pika-drivers/raw/branch/main/driver-db.json";