Compare commits

...

87 Commits
i386 ... main

Author SHA1 Message Date
Ward Nakchbandi (Cosmic Fusion)
5d4915a6a1
Update ci.yml 2024-09-08 18:49:16 +03:00
Github Workflow Action
00850c8035 Commited by GH Action - gen-apt-config.yml 2024-09-05 14:57:55 -04:00
Ward Nakchbandi (Cosmic Fusion)
fc68d973ab
Update kde-srcnames.txt 2024-09-05 21:56:21 +03:00
Github Workflow Action
d3b45a043c Commited by GH Action - gen-apt-config.yml 2024-09-05 14:41:37 -04:00
Ward Nakchbandi (Cosmic Fusion)
77188d1aaf
Update kde-srcnames.txt 2024-09-05 21:40:26 +03:00
Ward Nakchbandi (Cosmic Fusion)
306f207bee
Update Dockerfile 2024-09-05 21:32:08 +03:00
Github Workflow Action
e72ec04660 Commited by GH Action - gen-apt-config.yml 2024-09-05 14:24:42 -04:00
Ward Nakchbandi (Cosmic Fusion)
d94d540bf8
Update gen-apt-config.py 2024-09-05 21:23:30 +03:00
Ward Nakchbandi (Cosmic Fusion)
cf38d081f0
Update gen-apt-config.py 2024-09-05 21:20:36 +03:00
Github Workflow Action
f36ba745e0 Commited by GH Action - gen-apt-config.yml 2024-09-05 10:06:25 -04:00
Github Workflow Action
668095bb8d Commited by GH Action - gen-i386-whitelist.yml 2024-09-04 14:29:54 -04:00
Github Workflow Action
ed0181dcde Commited by GH Action - gen-i386-whitelist.yml 2024-08-09 15:43:26 -04:00
Ward Nakchbandi (Cosmic Fusion)
e6577b5fd8
Update i386_whitelist_bins 2024-08-09 22:39:43 +03:00
Github Workflow Action
cd48e3bfa8 Commited by GH Action - gen-i386-whitelist.yml 2024-08-09 15:07:56 -04:00
Ward Nakchbandi (Cosmic Fusion)
3d64b6950c
Update i386_whitelist_bins 2024-08-09 22:04:27 +03:00
Github Workflow Action
cdda03c732 Commited by GH Action - gen-i386-whitelist.yml 2024-08-09 14:57:51 -04:00
Ward Nakchbandi (Cosmic Fusion)
5586f7adb3
Update i386_whitelist_bins 2024-08-09 21:53:31 +03:00
Github Workflow Action
04c06bbf63 Commited by GH Action - gen-i386-whitelist.yml 2024-08-09 13:42:55 -04:00
Ward Nakchbandi (Cosmic Fusion)
30e6512cfd
Update i386_whitelist_bins 2024-08-09 20:36:35 +03:00
Ward Nakchbandi (Cosmic Fusion)
8d748e262b
Update i386_whitelist_bins 2024-08-09 20:31:46 +03:00
Ward Nakchbandi (Cosmic Fusion)
a2f5300c09
Update i386_whitelist_bins 2024-08-09 20:28:29 +03:00
Github Workflow Action
490f7b29d5 Commited by GH Action - gen-i386-whitelist.yml 2024-08-09 12:34:03 -04:00
Ward Nakchbandi (Cosmic Fusion)
099a631bb9
Update i386_whitelist_bins 2024-08-09 19:30:21 +03:00
Github Workflow Action
247484e048 Commited by GH Action - gen-i386-whitelist.yml 2024-08-09 12:12:03 -04:00
Ward Nakchbandi (Cosmic Fusion)
caf39077df
Update i386_whitelist_bins 2024-08-09 19:08:06 +03:00
Github Workflow Action
4cd24b24da Commited by GH Action - gen-i386-whitelist.yml 2024-08-09 11:45:52 -04:00
Ward Nakchbandi (Cosmic Fusion)
3ab1be80c4
Update i386_whitelist_bins 2024-08-09 18:42:05 +03:00
Ward Nakchbandi (Cosmic Fusion)
6d5d2b25b2
Update i386_whitelist_bins 2024-08-09 18:02:48 +03:00
Github Workflow Action
3613c53921 Commited by GH Action - gen-i386-whitelist.yml 2024-08-09 10:55:03 -04:00
Ward Nakchbandi (Cosmic Fusion)
a5c2fcc219
Update i386_whitelist_bins 2024-08-09 17:50:44 +03:00
Github Workflow Action
718eacd1b3 Commited by GH Action - gen-i386-whitelist.yml 2024-08-09 10:36:54 -04:00
Ward Nakchbandi (Cosmic Fusion)
64881507eb
Update i386_whitelist_bins 2024-08-09 17:31:33 +03:00
Github Workflow Action
196c769bc8 Commited by GH Action - gen-i386-whitelist.yml 2024-08-09 09:54:03 -04:00
Ward Nakchbandi (Cosmic Fusion)
71b8eb6e8c
Update i386_whitelist_bins 2024-08-09 16:50:25 +03:00
Github Workflow Action
e8aaa536a1 Commited by GH Action - gen-i386-whitelist.yml 2024-08-09 07:57:44 -04:00
Ward Nakchbandi (Cosmic Fusion)
28fc442223
Update i386_whitelist_bins 2024-08-09 14:48:47 +03:00
Ward Nakchbandi (Cosmic Fusion)
b155620895
Update ci.yml 2024-08-07 21:46:14 +03:00
Ward Nakchbandi (Cosmic Fusion)
69ef6fbebc
Update Dockerfile 2024-08-07 21:46:04 +03:00
Ward Nakchbandi (Cosmic Fusion)
2a16423654
Update debootstrap.sh 2024-08-07 21:41:10 +03:00
Ward Nakchbandi (Cosmic Fusion)
9f135cc2be
Update debootstrap.sh 2024-08-07 21:40:50 +03:00
Ward Nakchbandi (Cosmic Fusion)
30d5634365
Create debootstrap.sh 2024-08-07 21:28:40 +03:00
Ward Nakchbandi (Cosmic Fusion)
8024b29364
Update Dockerfile 2024-08-07 21:25:21 +03:00
Ward Nakchbandi (Cosmic Fusion)
564ef9bba8
Update ci.yml 2024-08-07 21:25:00 +03:00
Ward Nakchbandi (Cosmic Fusion)
e90eb11cc4
Update ci.yml 2024-08-07 21:24:23 +03:00
Ward Nakchbandi (Cosmic Fusion)
0d3e4a694e
Update ci.yml 2024-08-07 21:21:44 +03:00
Ward Nakchbandi (Cosmic Fusion)
eb2a3527da
Update ci.yml 2024-08-07 21:20:22 +03:00
Ward Nakchbandi (Cosmic Fusion)
b307278922
Update ci.yml 2024-08-07 21:19:15 +03:00
Ward Nakchbandi (Cosmic Fusion)
2bea7b91fa
Update ci.yml 2024-08-07 21:16:38 +03:00
Ward Nakchbandi (Cosmic Fusion)
d4b0585244
Update ci.yml 2024-08-07 21:07:45 +03:00
Ward Nakchbandi (Cosmic Fusion)
ee2a33ea28
Update ci.yml 2024-08-07 21:06:10 +03:00
Ward Nakchbandi (Cosmic Fusion)
b99d6789ca
Update ci.yml 2024-08-07 21:04:15 +03:00
Ward Nakchbandi (Cosmic Fusion)
63b581a0f1
Update Dockerfile 2024-08-07 21:03:14 +03:00
Ward Nakchbandi (Cosmic Fusion)
ff2ce8c261
Update ci.yml 2024-08-07 21:01:59 +03:00
Ward Nakchbandi (Cosmic Fusion)
0679af508b
Update Dockerfile 2024-08-07 18:37:27 +03:00
Ward Nakchbandi (Cosmic Fusion)
700dc3e1cd
Update Dockerfile 2024-08-07 18:34:16 +03:00
Github Workflow Action
13047d0bfb Commited by GH Action - gen-i386-whitelist.yml 2024-08-05 09:51:14 -04:00
Ward from fusion-voyager-3
4299279f99 fix whitelist dep solve 2024-08-05 16:47:33 +03:00
Github Workflow Action
12df0974a2 Commited by GH Action - gen-i386-whitelist.yml 2024-08-05 09:18:45 -04:00
Ward Nakchbandi (Cosmic Fusion)
b8cf01a822
Update i386_whitelist_bins 2024-08-05 16:17:54 +03:00
Ward Nakchbandi (Cosmic Fusion)
702b5b4cfb
Update i386_whitelist_bins 2024-08-05 16:12:26 +03:00
Ward Nakchbandi (Cosmic Fusion)
74c10111bf
Update Dockerfile 2024-08-05 15:50:15 +03:00
Ward Nakchbandi (Cosmic Fusion)
3652b2eafa
Update Dockerfile 2024-08-05 02:00:35 +03:00
Ward Nakchbandi (Cosmic Fusion)
42ef2b91b9
Update setup.sh 2024-08-04 23:44:58 +03:00
Ward Nakchbandi (Cosmic Fusion)
bf70d98576
Update setup.sh 2024-08-04 23:43:30 +03:00
Github Workflow Action
be0c1346b9 Commited by GH Action - gen-i386-whitelist.yml 2024-08-04 13:16:32 -04:00
Ward from fusion-voyager-3
3d8600e863 add multithreading support 2024-08-04 20:15:06 +03:00
Ward from fusion-voyager-3
dbbdc56e17 add json back 2024-08-04 19:45:31 +03:00
Ward from fusion-voyager-3
3629c76bef i386 generator 2024-08-04 18:16:53 +03:00
Ward from fusion-voyager-3
da48e2ab4d i386 generator 2024-08-04 17:41:46 +03:00
Ward Nakchbandi (Cosmic Fusion)
6b54ab0a67
Update Dockerfile 2024-08-03 20:01:12 +03:00
Ward Nakchbandi (Cosmic Fusion)
ca3e8497de
Update Dockerfile 2024-08-03 16:16:07 +03:00
98c99ae930
Update i386_src_whitelist.json 2024-08-03 13:38:30 +01:00
Ward Nakchbandi (Cosmic Fusion)
7d711c8803
Update Dockerfile 2024-08-03 03:28:47 +03:00
Github Workflow Action
0511fd0ff1 Commited by GH Action - gen-apt-config.yml 2024-08-02 19:13:27 -04:00
Ward Nakchbandi (Cosmic Fusion)
5ce0695c07
Update Dockerfile 2024-08-03 02:12:28 +03:00
Ward Nakchbandi (Cosmic Fusion)
3a960d54b5
i386 fix 2024-08-03 02:07:34 +03:00
Ward Nakchbandi (Cosmic Fusion)
bcd83e62c4
Create i386_src_whitelist.json 2024-08-01 16:24:06 +03:00
Ward Nakchbandi (Cosmic Fusion)
5451c946dc
Port GTK4 Fix from pbuilder config 2024-07-31 15:34:27 +03:00
Github Workflow Action
adf46718e9 Commited by GH Action - gen-apt-config.yml 2024-07-31 07:51:02 -04:00
Ward Nakchbandi (Cosmic Fusion)
57f89395a4
Update gen-apt-config.py 2024-07-31 14:50:03 +03:00
Ward Nakchbandi (Cosmic Fusion)
7187701034
update kde-src 2024-07-31 11:49:00 +00:00
Ward Nakchbandi (Cosmic Fusion)
b31a6089e6
try fixing bin name resolve for millionth time 2024-07-31 11:43:29 +00:00
Github Workflow Action
5c99ab4f92 Commited by GH Action - gen-apt-config.yml 2024-07-30 14:52:17 -04:00
Ward Nakchbandi (Cosmic Fusion)
7384cc3115
Update package_pkgnames_overrides 2024-07-30 21:51:16 +03:00
Ward Nakchbandi (Cosmic Fusion)
6caa3ae697
get exiv2 from canary 2024-07-30 21:34:09 +03:00
Github Workflow Action
c288b46a40 Commited by GH Action - gen-apt-config.yml 2024-07-30 14:33:05 -04:00
cea4f23359
Update Dockerfile 2024-07-27 19:59:23 +01:00
20 changed files with 10088 additions and 3670 deletions

View File

@ -7,13 +7,13 @@ env:
IMAGE_NAME: pika-base-debian-container IMAGE_NAME: pika-base-debian-container
jobs: jobs:
# Push image to GitHub Packages. build:
# See also https://docs.docker.com/docker-hub/builds/ runs-on: self-hosted
push: container:
runs-on: ubuntu-latest image: ubuntu:latest
permissions: volumes:
packages: write - /proc:/proc
contents: read options: --privileged -it
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3

View File

@ -0,0 +1,25 @@
name: Generate and commit i386 whitelist
on:
workflow_dispatch
jobs:
build:
runs-on: self-hosted
container:
image: ghcr.io/pikaos-linux/pika-base-debian-container:i386
volumes:
- /proc:/proc
options: --privileged -it
steps:
- uses: actions/checkout@v3
- name: Get script depends
run: apt-get install -y python3-numpy
- name: Generate whitelist json files
run: ./gen-i386-whitelist.py
- name: Setup git and push
run: git config --global user.name 'Github Workflow Action' && git config --global user.email 'hotrod.master@hotmail.com' && git config --global --add safe.directory /__w/pika-base-debian-container/pika-base-debian-container && git add . && git commit -am"Commited by GH Action - gen-i386-whitelist.yml" && git push

File diff suppressed because one or more lines are too long

View File

@ -9,5 +9,7 @@ RUN ./setup.sh
RUN apt update RUN apt update
RUN apt full-upgrade -y RUN apt full-upgrade -y
RUN ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime RUN ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime
RUN wget https://ppa.pika-os.com/pool/main/p/pika-pbuilder/pika-pbuilder_0.2.34-101pika1_all.deb -O ./pika-pbuilder.deb RUN wget https://ppa.pika-os.com/pool/cockatiel/p/pika-pbuilder/pika-pbuilder_0.2.37-101pika1_all.deb -O ./pika-pbuilder.deb
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata software-properties-common sudo devscripts git eatmydata bc cowbuilder gpg gpg-agent bison build-essential ccache cmake cpio fakeroot flex git kmod libelf-dev libncurses5-dev libssl-dev lz4 qtbase5-dev rsync schedtool wget zstd tar aptly devscripts dh-make rpm2cpio ./pika-pbuilder.deb -o Dpkg::Options::="--force-confnew" RUN DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata software-properties-common sudo nodejs npm devscripts git eatmydata bc cowbuilder gpg gpg-agent bison build-essential ccache cmake cpio fakeroot flex git kmod libelf-dev libncurses5-dev libssl-dev lz4 qtbase5-dev rsync schedtool wget zstd tar aptly devscripts dh-make rpm2cpio ./pika-pbuilder.deb -o Dpkg::Options::="--force-confnew"
# Debian missing Build workaround
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y libdrm-dev gir1.2-gudev-1.0 libgudev-1.0-0 libgudev-1.0-dev libgbm-dev libgbm1 libsystemd-dev systemd-dev libgps-dev kirigami-addons-dev kirigami2-dev libkirigami-dev qttools5-dev libqt5core5t64 -o Dpkg::Options::="--force-confnew"

11
debootstrap.sh Normal file
View File

@ -0,0 +1,11 @@
#! /bin/bash
set -e
DIST=sid ARCH=amd64 debootstrap --arch=amd64 sid base_chroot || true
rm -rf base_chroot/debootstrap
chroot ./base_chroot /bin/bash -c "apt-get update -y"
chroot ./base_chroot /bin/bash -c "apt-get install -y wget"
chroot ./base_chroot /bin/bash -c "wget https://ppa.pika-os.com/pool/cockatiel/p/pika-pbuilder/pika-pbuilder_0.2.37-101pika1_all.deb -O ./pika-pbuilder.deb"
chroot ./base_chroot /bin/bash -c "apt-get install -y ./pika-pbuilder.deb "
chroot ./base_chroot /bin/bash -c "pika-pbuilder-amd64-v3-lto-init"
cd ./base_chroot
tar -czvf ../base_chroot.tgz ./*

File diff suppressed because it is too large Load Diff

View File

@ -276,6 +276,7 @@
"kipi-plugins", "kipi-plugins",
"kirigami2", "kirigami2",
"kirigami-addons", "kirigami-addons",
"kirigami-addons5",
"kirigami-gallery", "kirigami-gallery",
"kiriki", "kiriki",
"kitemmodels", "kitemmodels",
@ -351,6 +352,7 @@
"kquickimageeditor", "kquickimageeditor",
"kraft", "kraft",
"krdc", "krdc",
"krdp",
"krename", "krename",
"kreport", "kreport",
"kreversi", "kreversi",
@ -435,6 +437,7 @@
"libdbusmenu-qt", "libdbusmenu-qt",
"libkcddb", "libkcddb",
"libkcompactdisc", "libkcompactdisc",
"libkdcraw",
"libkdegames", "libkdegames",
"libkdepim", "libkdepim",
"libkeduvocdocument", "libkeduvocdocument",
@ -537,6 +540,7 @@
"pulseaudio-qt", "pulseaudio-qt",
"purpose", "purpose",
"pyside2", "pyside2",
"pyside6",
"qbs", "qbs",
"qca2", "qca2",
"qconf", "qconf",
@ -544,89 +548,6 @@
"qgnomeplatform", "qgnomeplatform",
"qqc2-breeze-style", "qqc2-breeze-style",
"qqc2-desktop-style", "qqc2-desktop-style",
"qt3d-opensource-src",
"qt5ct",
"qt5reactor",
"qt6-3d",
"qt6-5compat",
"qt6-base",
"qt6-charts",
"qt6-connectivity",
"qt6-datavis3d",
"qt6-declarative",
"qt6-grpc",
"qt6-httpserver",
"qt6-imageformats",
"qt6-languageserver",
"qt6-location",
"qt6-lottie",
"qt6-multimedia",
"qt6-networkauth",
"qt6-positioning",
"qt6-quick3d",
"qt6-quick3dphysics",
"qt6-quicktimeline",
"qt6-remoteobjects",
"qt6-scxml",
"qt6-sensors",
"qt6-serialbus",
"qt6-serialport",
"qt6-shadertools",
"qt6-speech",
"qt6-svg",
"qt6-tools",
"qt6-translations",
"qt6-virtualkeyboard",
"qt6-wayland",
"qt6-webchannel",
"qt6-webengine",
"qt6-websockets",
"qt6-webview",
"qtbase-opensource-src",
"qtbase-opensource-src-gles",
"qtcharts-opensource-src",
"qtchooser",
"qtconnectivity-opensource-src",
"qtcreator",
"qtcurve",
"qtdatavis3d-everywhere-src",
"qtdeclarative-opensource-src",
"qtdeclarative-opensource-src-gles",
"qtdoc-opensource-src",
"qtfeedback-opensource-src",
"qtgamepad-everywhere-src",
"qtgraphicaleffects-opensource-src",
"qt-gstreamer",
"qtimageformats-opensource-src",
"qtkeychain",
"qtlocation-opensource-src",
"qtmultimedia-opensource-src",
"qtnetworkauth-everywhere-src",
"qtpim-opensource-src",
"qtquickcontrols2-opensource-src",
"qtquickcontrols-opensource-src",
"qtremoteobjects-everywhere-src",
"qtscript-opensource-src",
"qtscxml-everywhere-src",
"qtsensors-opensource-src",
"qtserialbus-everywhere-src",
"qtserialport-opensource-src",
"qtspeech-opensource-src",
"qtspell",
"qtstyleplugins-src",
"qtsvg-opensource-src",
"qtsystems-opensource-src",
"qttools-opensource-src",
"qttranslations-opensource-src",
"qtvirtualkeyboard-opensource-src",
"qtwayland-opensource-src",
"qtwebchannel-opensource-src",
"qtwebengine-opensource-src",
"qtwebkit-opensource-src",
"qtwebsockets-opensource-src",
"qtwebview-opensource-src",
"qtx11extras-opensource-src",
"qtxmlpatterns-opensource-src",
"quassel", "quassel",
"qzxing", "qzxing",
"readstat", "readstat",
@ -662,7 +583,6 @@
"tokodon", "tokodon",
"umbrello", "umbrello",
"verdigris", "verdigris",
"wacomtablet",
"xdg-desktop-portal-kde", "xdg-desktop-portal-kde",
"yakuake", "yakuake",
"zanshin", "zanshin",

View File

@ -4,7 +4,12 @@ import os, errno
import json import json
import subprocess import subprocess
_APT_CONFIG_PIN="""Package:{PACKAGES} _APT_CONFIG_PIN="""
Package: *
Pin: release a=experimental
Pin-Priority: 390
Package:{PACKAGES}
Pin: release a=experimental Pin: release a=experimental
Pin-Priority: 600 Pin-Priority: 600
""" """
@ -25,7 +30,7 @@ for file in srcnames_files:
for line in file.readlines(): for line in file.readlines():
srcname = line.strip() srcname = line.strip()
srcname_lines.append(srcname) srcname_lines.append(srcname)
result = subprocess.run([current_path + "/apt_experiments", '-n', srcname], stdout=subprocess.PIPE) result = subprocess.run([current_path + '/get-bin-name-from-src.sh', srcname], stdout=subprocess.PIPE)
stdout = result.stdout.decode('utf-8') stdout = result.stdout.decode('utf-8')
for line in stdout.splitlines(): for line in stdout.splitlines():
if line != "": if line != "":
@ -49,8 +54,8 @@ pkg_data = {
apt_pin_packages = "" apt_pin_packages = ""
for pkg in pkgname_lines: for pkg in srcname_lines:
apt_pin_packages += (" " + pkg) apt_pin_packages += (" src:" + pkg)
silentremove("0-debian-exp-overrides") silentremove("0-debian-exp-overrides")
with open("0-debian-exp-overrides", "w") as file: with open("0-debian-exp-overrides", "w") as file:

View File

@ -1,4 +1,6 @@
#! /bin/bash #! /bin/bash
echo -e "Package: *\nPin: release a=experimental\nPin-Priority: 600" > /etc/apt/preferences.d/0-pika-debian-settings echo -e "Package: *\nPin: release a=experimental\nPin-Priority: 600" > /etc/apt/preferences.d/0-pika-debian-settings
chmod +x ./get-bin-name-from-src.sh
chmod +x ./gen-apt-config.py
apt-get update -y apt-get update -y
./gen-apt-config.py ./gen-apt-config.py

78
gen-i386-whitelist.py Executable file
View File

@ -0,0 +1,78 @@
#! /bin/python3
import os, errno
import json
import subprocess
import apt
import numpy as np
import threading
def silentremove(filename):
try:
os.remove(filename)
except OSError as e: # this would be "except OSError, e:" before Python 2.6
if e.errno != errno.ENOENT: # errno.ENOENT = no such file or directory
raise # re-raise exception if a different error occurred
def pharse_build_tree(pkg_arr, current_path, pkgname_lines):
for pkgname in pkg_arr:
print("Parsing dep tree for: " + pkgname)
result = subprocess.run([current_path + '/get_depend_tree.sh', pkgname], stdout=subprocess.PIPE)
stdout = result.stdout.decode('utf-8')
for line in stdout.splitlines():
if line != "":
pkgname_lines.append(line)
current_path = os.path.dirname(os.path.realpath(__file__))
global whitelist_arr
whitelist_arr = np.array([])
thread_arr = []
pkgname_lines = []
srcname_lines = []
srcnames_clean = []
file = open(current_path + "/i386_whitelist_bins", "r")
for line in file.readlines():
pkgname = line.strip()
if pkgname != "" and not pkgname.endswith("-udeb"):
pkgname_lines.append(pkgname)
whitelist_arr = np.append(whitelist_arr, [pkgname])
file.close()
newarr = np.array_split(whitelist_arr, 20)
for array in newarr:
t0 = threading.Thread(target=pharse_build_tree, args=(array, current_path, pkgname_lines,))
thread_arr.append(t0)
for thread_proc in thread_arr:
thread_proc.start()
for thread_proc in thread_arr:
thread_proc.join()
c = apt.Cache()
for pkgname in pkgname_lines:
try:
src_name = c[pkgname].candidate.source_name
if src_name:
srcname_lines.append(src_name)
except:
pass
for i in srcname_lines:
if i not in srcnames_clean and i + "-dmo" not in srcnames_clean:
srcnames_clean.append(i)
src_data = {
'i386_whitelist': [source_name for source_name in srcnames_clean],
}
silentremove("i386_src_whitelist.json")
with open("i386_src_whitelist.json", "w") as twitterDataFile:
twitterDataFile.write(
json.dumps(src_data, indent=4)
)

View File

@ -0,0 +1,2 @@
#! /bin/bash
cat "$1" | cut -f1 -d " " | cut -f1 -d"*" | sort -u

2
get-bin-name-from-src.sh Executable file
View File

@ -0,0 +1,2 @@
#! /bin/bash
apt showsrc "$1" | grep -E "^Binary:" | cut -d":" -f2- | sed 's/\,/\n/g' | sed 's/\ /\n/g' | sed '/^$/d'

41
get_depend_tree.py Executable file
View File

@ -0,0 +1,41 @@
#!/usr/bin/python3
import sys
import apt
def dependencies(cache, pkg, deps, key="Depends"):
# print "pkg: %s (%s)" % (pkg.name, deps)
candver = cache._depcache.get_candidate_ver(pkg._pkg)
if candver is None:
return deps
dependslist = candver.depends_list
if key in dependslist:
for depVerList in dependslist[key]:
for dep in depVerList:
if dep.target_pkg.name in cache:
if (
pkg.name != dep.target_pkg.name
and dep.target_pkg.name not in deps
):
deps.add(dep.target_pkg.name)
dependencies(cache, cache[dep.target_pkg.name], deps, key)
return deps
pkgname = sys.argv[1]
c = apt.Cache()
try:
pkg = c[pkgname]
deps = set()
deps = dependencies(c, pkg, deps, "Depends")
print(" ".join(deps))
preDeps = set()
preDeps = dependencies(c, pkg, preDeps, "PreDepends")
print(" ".join(preDeps))
except:
pass

2
get_depend_tree.sh Executable file
View File

@ -0,0 +1,2 @@
#! /bin/bash
./get_depend_tree.py "$1" | sed 's/\,/\n/g' | sed 's/\ /\n/g' | sed '/^$/d'

9
get_source_name.py Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/python3
import sys
import apt
pkgname = sys.argv[1]
c = apt.Cache()
print(c[pkgname].candidate.source_name)

1034
i386_src_whitelist.json Normal file

File diff suppressed because it is too large Load Diff

4700
i386_whitelist_bins Normal file

File diff suppressed because it is too large Load Diff

View File

@ -23,3 +23,8 @@ libweather-ion7
plasma-workspace plasma-workspace
plasma-workspace-data plasma-workspace-data
plasma-workspace-dev plasma-workspace-dev
libksysguard-bin
libc6-amd64
libc6-dev-amd64
libc6-dev-x32
libc6-x32

View File

@ -274,6 +274,7 @@ kio-gopher
kipi-plugins kipi-plugins
kirigami2 kirigami2
kirigami-addons kirigami-addons
kirigami-addons5
kirigami-gallery kirigami-gallery
kiriki kiriki
kitemmodels kitemmodels
@ -349,6 +350,7 @@ kquickcharts
kquickimageeditor kquickimageeditor
kraft kraft
krdc krdc
krdp
krename krename
kreport kreport
kreversi kreversi
@ -433,6 +435,7 @@ libappimage
libdbusmenu-qt libdbusmenu-qt
libkcddb libkcddb
libkcompactdisc libkcompactdisc
libkdcraw
libkdegames libkdegames
libkdepim libkdepim
libkeduvocdocument libkeduvocdocument
@ -535,6 +538,7 @@ projecteur
pulseaudio-qt pulseaudio-qt
purpose purpose
pyside2 pyside2
pyside6
qbs qbs
qca2 qca2
qconf qconf
@ -542,89 +546,6 @@ qcoro
qgnomeplatform qgnomeplatform
qqc2-breeze-style qqc2-breeze-style
qqc2-desktop-style qqc2-desktop-style
qt3d-opensource-src
qt5ct
qt5reactor
qt6-3d
qt6-5compat
qt6-base
qt6-charts
qt6-connectivity
qt6-datavis3d
qt6-declarative
qt6-grpc
qt6-httpserver
qt6-imageformats
qt6-languageserver
qt6-location
qt6-lottie
qt6-multimedia
qt6-networkauth
qt6-positioning
qt6-quick3d
qt6-quick3dphysics
qt6-quicktimeline
qt6-remoteobjects
qt6-scxml
qt6-sensors
qt6-serialbus
qt6-serialport
qt6-shadertools
qt6-speech
qt6-svg
qt6-tools
qt6-translations
qt6-virtualkeyboard
qt6-wayland
qt6-webchannel
qt6-webengine
qt6-websockets
qt6-webview
qtbase-opensource-src
qtbase-opensource-src-gles
qtcharts-opensource-src
qtchooser
qtconnectivity-opensource-src
qtcreator
qtcurve
qtdatavis3d-everywhere-src
qtdeclarative-opensource-src
qtdeclarative-opensource-src-gles
qtdoc-opensource-src
qtfeedback-opensource-src
qtgamepad-everywhere-src
qtgraphicaleffects-opensource-src
qt-gstreamer
qtimageformats-opensource-src
qtkeychain
qtlocation-opensource-src
qtmultimedia-opensource-src
qtnetworkauth-everywhere-src
qtpim-opensource-src
qtquickcontrols2-opensource-src
qtquickcontrols-opensource-src
qtremoteobjects-everywhere-src
qtscript-opensource-src
qtscxml-everywhere-src
qtsensors-opensource-src
qtserialbus-everywhere-src
qtserialport-opensource-src
qtspeech-opensource-src
qtspell
qtstyleplugins-src
qtsvg-opensource-src
qtsystems-opensource-src
qttools-opensource-src
qttranslations-opensource-src
qtvirtualkeyboard-opensource-src
qtwayland-opensource-src
qtwebchannel-opensource-src
qtwebengine-opensource-src
qtwebkit-opensource-src
qtwebsockets-opensource-src
qtwebview-opensource-src
qtx11extras-opensource-src
qtxmlpatterns-opensource-src
quassel quassel
qzxing qzxing
readstat readstat
@ -660,7 +581,6 @@ threadweaver
tokodon tokodon
umbrello umbrello
verdigris verdigris
wacomtablet
xdg-desktop-portal-kde xdg-desktop-portal-kde
yakuake yakuake
zanshin zanshin

View File

@ -64,16 +64,12 @@ Package: *
Pin: release o=Unofficial Multimedia Packages Pin: release o=Unofficial Multimedia Packages
Pin-Priority: 550 Pin-Priority: 550
Package: pika-abi-bridge*
Pin: release a=pika,c=canary
Pin-Priority: 600
# Give pika lowest priority because we don't want it sources overwriting # Give pika lowest priority because we don't want it sources overwriting
Package: * Package: *
Pin: release a=pika,c=canary Pin: release a=pika,c=canary
Pin-Priority: 390 Pin-Priority: 380
Package: pika-abi-bridge* Package: pika-abi-bridge* *exiv2* akonadi-mime-data libkf5akonadimime-dev libkf5akonadimime5
Pin: release a=pika,c=canary Pin: release a=pika,c=canary
Pin-Priority: 600 Pin-Priority: 600
EOF EOF