add json back

This commit is contained in:
Ward from fusion-voyager-3 2024-08-04 19:45:31 +03:00
parent 3629c76bef
commit dbbdc56e17
3 changed files with 508 additions and 5 deletions

View File

@ -22,6 +22,7 @@ for line in file.readlines():
pkgname = line.strip()
if pkgname != "" and not pkgname.endswith("-udeb"):
pkgname_lines.append(pkgname)
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():
@ -32,9 +33,12 @@ file.close()
c = apt.Cache()
for pkgname in pkgname_lines:
src_name = c[pkgname].candidate.source_name
if src_name:
srcname_lines.append(src_name)
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:

View File

@ -29,8 +29,6 @@ c = apt.Cache()
try:
pkg = c[pkgname]
print("Parsing dep tree for: " + pkgname)
deps = set()
deps = dependencies(c, pkg, deps, "Depends")

501
i386_src_whitelist.json Executable file
View File

@ -0,0 +1,501 @@
{
"i386_whitelist": [
"a52dec",
"aalib",
"acl",
"adduser",
"adwaita-icon-theme",
"alsa-lib",
"alsa-plugins",
"aom",
"apparmor",
"apt",
"argon2",
"aribb24",
"aspell",
"at-spi2-core",
"attica-kf5",
"attr",
"audit",
"avahi",
"base-passwd",
"blt",
"brotli",
"bubblewrap",
"bzip2",
"cabextract",
"ca-certificates",
"cairo",
"cdebconf",
"cdparanoia",
"chardet",
"chromaprint",
"cjson",
"codec2",
"colord",
"coreutils",
"cryptsetup",
"cups",
"curl",
"cyrus-sasl2",
"dav1d",
"db5.3",
"dbus",
"dbus-broker",
"dbus-python",
"dconf",
"debconf",
"dictionaries-common",
"distro-info-data",
"double-conversion",
"dpkg",
"duktape",
"e2fsprogs",
"elfutils",
"emacsen-common",
"enchant-2",
"expat",
"faad2",
"fdk-aac-free",
"ffmpeg",
"fftw3",
"file",
"flac",
"flite",
"fluid-soundfont",
"fluidsynth",
"fontconfig",
"fonts-dejavu",
"fonts-freefont",
"fonts-liberation",
"fonts-noto",
"fonts-urw-base35",
"freetype",
"fribidi",
"fuse3",
"game-music-emu",
"gamin",
"gcc-14",
"gcc-defaults",
"gdbm",
"gdk-pixbuf",
"giflib",
"glib2.0",
"glibc",
"glib-networking",
"gmp",
"gnome-terminal",
"gnupg1",
"gnupg2",
"gnutls28",
"gobject-introspection",
"gpgme1.0",
"gpm",
"graphite2",
"gsettings-desktop-schemas",
"gssdp",
"gst-libav1.0",
"gst-plugins-bad1.0",
"gst-plugins-base1.0",
"gst-plugins-good1.0",
"gst-plugins-ugly1.0",
"gstreamer1.0",
"gtk+3.0",
"gupnp",
"gupnp-igd",
"harfbuzz",
"hicolor-icon-theme",
"humanity-icon-theme",
"hunspell",
"hyphen",
"icu",
"imath",
"init-system-helpers",
"intel-gmmlib",
"intel-media-driver-non-free",
"intel-mediasdk",
"intel-vaapi-driver",
"iptables",
"isl",
"iso-codes",
"jackd2",
"jansson",
"jbigkit",
"json-c",
"json-glib",
"karchive",
"kauth",
"kbookmarks",
"kcodecs",
"kcompletion",
"kconfig",
"kconfigwidgets",
"kcoreaddons",
"kcrash",
"kdbusaddons",
"kded",
"kdoctools",
"keyutils",
"kglobalaccel",
"kguiaddons",
"ki18n",
"kiconthemes",
"kio",
"kitemviews",
"kjobwidgets",
"kmod",
"knewstuff",
"knotifications",
"knotifyconfig",
"konsole",
"kpackage",
"kparts",
"kpty",
"krb5",
"kservice",
"ktextwidgets",
"kwallet-kf5",
"kwayland",
"kwidgetsaddons",
"kwindowsystem",
"kxmlgui",
"lame",
"lcms2",
"leptonlib",
"lerc",
"libarchive",
"libass",
"libassuan",
"libasyncns",
"libavc1394",
"libavtp",
"libbluray",
"libbs2b",
"libbsd",
"libcaca",
"libcanberra",
"libcap2",
"libcap-ng",
"libcdio",
"libcdio-paranoia",
"libdatrie",
"libdbusmenu-qt",
"libdc1394",
"libdca",
"libde265",
"libdebian-installer",
"libdecor-0",
"libdeflate",
"libdrm",
"libdv",
"libdvdnav",
"libdvdread",
"libedit",
"libepoxy",
"libevdev",
"libexif",
"libffi",
"libfontenc",
"libgcrypt20",
"libgd2",
"libglvnd",
"libgpg-error",
"libgphoto2",
"libgsm",
"libgudev",
"libhandy-1",
"libice",
"libidn2",
"libiec61883",
"libieee1284",
"libimagequant",
"libimobiledevice",
"libinput",
"libinstpatch",
"libjpeg8-empty",
"libjpeg-turbo",
"libkate",
"libksba",
"libldac",
"libmanette",
"libmd",
"libmodplug",
"libmpc",
"libmspack",
"libmysofa",
"libnice",
"libnotify",
"libnsl",
"libogg",
"libopenmpt",
"libpcap",
"libpciaccess",
"libpgm",
"libplacebo",
"libplist",
"libpng1.6",
"libproxy",
"libpsl",
"libpthread-stubs",
"librabbitmq",
"libraw1394",
"librist",
"librsvg",
"libsamplerate",
"libsdl2",
"libseccomp",
"libsecret",
"libselinux",
"libsemanage",
"libsepol",
"libshout",
"libsidplay",
"libsm",
"libsndfile",
"libsodium",
"libsoup2.4",
"libsoup3",
"libsoxr",
"libsrtp2",
"libssh",
"libtasn1-6",
"libtext-iconv-perl",
"libtextwrap",
"libthai",
"libtheora",
"libtirpc",
"libtool",
"libudfread",
"libunistring",
"libunwind",
"libusb-1.0",
"libusbmuxd",
"libutempter",
"libva",
"libvdpau",
"libvidstab",
"libvisual",
"libvorbis",
"libvpx",
"libwacom",
"libwebp",
"libx11",
"libxau",
"libxaw",
"libxcb",
"libxcomposite",
"libxcrypt",
"libxcursor",
"libxdamage",
"libxdmcp",
"libxext",
"libxfixes",
"libxi",
"libxinerama",
"libxkbcommon",
"libxml2",
"libxmu",
"libxpm",
"libxrandr",
"libxrender",
"libxshmfence",
"libxslt",
"libxss",
"libxt",
"libxv",
"libxxf86vm",
"libyaml",
"libzstd",
"lilv",
"llvm-toolchain-15",
"llvm-toolchain-17",
"llvm-toolchain-18",
"lmdb",
"lm-sensors",
"lsb",
"lsb-release-minimal",
"lutris",
"lvm2",
"lxml",
"lz4",
"mailcap",
"mangohud",
"mbedtls",
"md4c",
"media-types",
"mesa",
"mesa-demos",
"mime-support",
"mjpegtools",
"mpclib3",
"mpeg2dec",
"mpfr4",
"mpg123",
"mtdev",
"ncurses",
"net-snmp",
"nettle",
"newt",
"nghttp2",
"norm",
"npth",
"nspr",
"nss",
"numactl",
"nvidia-cuda-toolkit",
"ocl-icd",
"openal-soft",
"opencore-amr",
"openexr",
"openh264",
"openjpeg2",
"openldap",
"openssl",
"opus",
"orc",
"p11-kit",
"p7zip",
"pam",
"pango1.0",
"pci.ids",
"pciutils",
"pcre2",
"pcsc-lite",
"perl",
"pillow",
"pinentry",
"pipewire",
"pixman",
"policykit-1",
"polkit-qt-1",
"poppler",
"popt",
"procps",
"psmisc",
"pulseaudio",
"pycairo",
"pygobject",
"python3.11",
"python3-defaults",
"python3-stdlib-extensions",
"python-apt",
"python-certifi",
"python-distro",
"python-idna",
"python-magic",
"python-setproctitle",
"python-urllib3",
"pyyaml",
"qca2",
"qtbase-opensource-src",
"qtbase-opensource-src-gles",
"qtdeclarative-opensource-src",
"qtdeclarative-opensource-src-gles",
"qtmultimedia-opensource-src",
"qtspeech-opensource-src",
"qtsvg-opensource-src",
"qtwayland-opensource-src",
"qtx11extras-opensource-src",
"raqm",
"readline",
"requests",
"rtmpdump",
"rubberband",
"samba",
"sane-backends",
"sbc",
"scowl",
"sed",
"serd",
"session-migration",
"setuptools",
"sgml-base",
"shadow",
"shared-mime-info",
"shine",
"six",
"slang2",
"snappy",
"sndio",
"solid",
"sonnet",
"sord",
"sound-theme-freedesktop",
"soundtouch",
"spandsp",
"speex",
"speexdsp",
"sqlite3",
"sratom",
"srt",
"svt-av1",
"syndication",
"systemd",
"sysvinit",
"taglib",
"talloc",
"tar",
"tcl8.6",
"tcp-wrappers",
"tdb",
"tesseract",
"tevent",
"tex-gyre",
"texinfo",
"tiff",
"timgm6mb-soundfont",
"tk8.6",
"twolame",
"tzdata",
"ubuntu-keyring",
"ubuntu-themes",
"unixodbc",
"unzip",
"util-linux",
"v4l-utils",
"vkbasalt",
"vo-aacenc",
"vo-amrwbenc",
"vte2.91",
"vulkan-loader",
"vulkan-tools",
"wavpack",
"wayland",
"webkit2gtk",
"webrtc-audio-processing",
"wildmidi",
"woff2",
"x11-xserver-utils",
"x264",
"x265",
"xbitmaps",
"xcb-util",
"xcb-util-image",
"xcb-util-keysyms",
"xcb-util-renderutil",
"xcb-util-wm",
"xdg-dbus-proxy",
"xdg-desktop-portal",
"xdg-desktop-portal-gtk",
"xdg-desktop-portal-kde",
"xfonts-encodings",
"xfonts-utils",
"xft",
"xkeyboard-config",
"xml-core",
"xorg",
"xorgproto",
"xorg-sgml-doctools",
"xterm",
"xtrans",
"xvidcore",
"xxhash",
"xz-utils",
"zbar",
"zenity",
"zeromq3",
"zimg",
"zlib",
"zvbi"
]
}