TheAssassin
7 years ago
committed by
GitHub
7 changed files with 131 additions and 38 deletions
@ -1,12 +0,0 @@ |
|||||
#!/bin/bash |
|
||||
|
|
||||
set -e |
|
||||
|
|
||||
# Download excludelist |
|
||||
blacklisted=($(wget --quiet https://raw.githubusercontent.com/probonopd/AppImages/master/excludelist -O - | sort | uniq | grep -v "^#.*" | grep "[^-\s]")) |
|
||||
|
|
||||
# Create array |
|
||||
for item in ${blacklisted[@]:0:${#blacklisted[@]}-1}; do |
|
||||
echo -ne '\\"'$item'\\" << ' |
|
||||
done |
|
||||
echo -ne '\\"'${blacklisted[-1]}'\\"' |
|
@ -0,0 +1,42 @@ |
|||||
|
#!/bin/bash |
||||
|
|
||||
|
set -e |
||||
|
|
||||
|
# download excludelist |
||||
|
blacklisted=($(wget --quiet https://raw.githubusercontent.com/probonopd/AppImages/master/excludelist -O - | sort | uniq | grep -v "^#.*" | grep "[^-\s]")) |
||||
|
|
||||
|
# sanity check |
||||
|
if [ "$blacklisted" == "" ]; then |
||||
|
exit 1; |
||||
|
fi |
||||
|
|
||||
|
filename=$(readlink -f $(dirname "$0"))/linuxdeployqt/excludelist.h |
||||
|
|
||||
|
# overwrite existing source file |
||||
|
cat > "$filename" <<EOF |
||||
|
/* |
||||
|
* List of libraries to exclude for different reasons. |
||||
|
* |
||||
|
* Automatically generated from |
||||
|
* https://raw.githubusercontent.com/probonopd/AppImages/master/excludelist |
||||
|
* |
||||
|
* This file shall be committed by the developers occassionally, |
||||
|
* otherwise systems without access to the internet won't be able to build |
||||
|
* fully working versions of linuxdeployqt. |
||||
|
* |
||||
|
* See https://github.com/probonopd/linuxdeployqt/issues/274 for more |
||||
|
* information. |
||||
|
*/ |
||||
|
|
||||
|
#include <QStringList> |
||||
|
|
||||
|
static const QStringList generatedExcludelist = { |
||||
|
EOF |
||||
|
|
||||
|
# Create array |
||||
|
for item in ${blacklisted[@]:0:${#blacklisted[@]}-1}; do |
||||
|
echo -e ' "'"$item"'",' >> "$filename" |
||||
|
done |
||||
|
echo -e ' "'"${blacklisted[-1]}"'"' >> "$filename" |
||||
|
|
||||
|
echo "};" >> "$filename" |
@ -0,0 +1,69 @@ |
|||||
|
/*
|
||||
|
* List of libraries to exclude for different reasons. |
||||
|
* |
||||
|
* Automatically generated from |
||||
|
* https://raw.githubusercontent.com/probonopd/AppImages/master/excludelist
|
||||
|
* |
||||
|
* This file shall be committed by the developers occassionally, |
||||
|
* otherwise systems without access to the internet won't be able to build |
||||
|
* fully working versions of linuxdeployqt. |
||||
|
* |
||||
|
* See https://github.com/probonopd/linuxdeployqt/issues/274 for more
|
||||
|
* information. |
||||
|
*/ |
||||
|
|
||||
|
#include <QStringList> |
||||
|
|
||||
|
static const QStringList generatedExcludelist = { |
||||
|
"ld-linux.so.2", |
||||
|
"ld-linux-x86-64.so.2", |
||||
|
"libanl.so.1", |
||||
|
"libasound.so.2", |
||||
|
"libBrokenLocale.so.1", |
||||
|
"libcidn.so.1", |
||||
|
"libcom_err.so.2", |
||||
|
"libcrypt.so.1", |
||||
|
"libc.so.6", |
||||
|
"libdl.so.2", |
||||
|
"libdrm.so.2", |
||||
|
"libexpat.so.1", |
||||
|
"libfontconfig.so.1", |
||||
|
"libfreetype.so.6", |
||||
|
"libgcc_s.so.1", |
||||
|
"libgdk_pixbuf-2.0.so.0", |
||||
|
"libgio-2.0.so.0", |
||||
|
"libglib-2.0.so.0", |
||||
|
"libGL.so.1", |
||||
|
"libgobject-2.0.so.0", |
||||
|
"libgpg-error.so.0", |
||||
|
"libharfbuzz.so.0", |
||||
|
"libICE.so.6", |
||||
|
"libjack.so.0", |
||||
|
"libkeyutils.so.1", |
||||
|
"libm.so.6", |
||||
|
"libmvec.so.1", |
||||
|
"libnsl.so.1", |
||||
|
"libnss_compat.so.2", |
||||
|
"libnss_db.so.2", |
||||
|
"libnss_dns.so.2", |
||||
|
"libnss_files.so.2", |
||||
|
"libnss_hesiod.so.2", |
||||
|
"libnss_nisplus.so.2", |
||||
|
"libnss_nis.so.2", |
||||
|
"libp11-kit.so.0", |
||||
|
"libpango-1.0.so.0", |
||||
|
"libpangocairo-1.0.so.0", |
||||
|
"libpangoft2-1.0.so.0", |
||||
|
"libpthread.so.0", |
||||
|
"libresolv.so.2", |
||||
|
"librt.so.1", |
||||
|
"libSM.so.6", |
||||
|
"libstdc++.so.6", |
||||
|
"libthread_db.so.1", |
||||
|
"libusb-1.0.so.0", |
||||
|
"libutil.so.1", |
||||
|
"libuuid.so.1", |
||||
|
"libX11.so.6", |
||||
|
"libxcb.so.1", |
||||
|
"libz.so.1" |
||||
|
}; |
Loading…
Reference in new issue