Skip to content

Commit 3c443cc

Browse files
committed
Bringing changes to excludeblist, excludelist and functions.sh downstream
1 parent 73d71e2 commit 3c443cc

3 files changed

Lines changed: 36 additions & 15 deletions

File tree

‎excludedeblist‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# of these packages than what can safely be assumed to be part
88
# of the base system. This is why we recommend oldstable
99
# ingredients for AppImages
10+
apt
1011
apt-transport-https
1112
dbus
1213
debconf
@@ -17,6 +18,7 @@ fontconfig-config
1718
# gconf2 # elementary OS 0.4 Loki does NOT have libgconf-2-4
1819
# gconf2-common # elementary OS 0.4 Loki does NOT have libgconf-2-4
1920
# gconf-service # elementary OS 0.4 Loki does NOT have libgconf-2-4
21+
gvfs-backends # e.g., for Bluefish
2022
gksu
2123
glib-networking
2224
gstreamer1.0-plugins-base
@@ -51,7 +53,7 @@ libglu1-mesa
5153
# libgnutls26 cannot be expected to be eveywhere, e.g., KDE neon
5254
# libgpg-error0 gives non-fatal errors on many systems and is low-level, can it be expected to be everywhere?
5355
libgpg-error0
54-
___libgstreamer1.0-0
56+
# libgstreamer1.0-0
5557
libgtk2.0-0
5658
libgtk-3-0
5759
libnss3
@@ -63,6 +65,7 @@ libstdc++6
6365
libtasn1-6
6466
libwayland-egl1-mesa # e.g., OpenRA
6567
lsb-base
68+
libxcb1 # Workaround for: Fedora 25: undefined symbol: xcb_send_request_with_fds, https://github.com/probonopd/AppImages/issues/128
6669
mime-support
6770
passwd
6871
udev

‎excludelist‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ libkrb5.so.3
100100
libkrb5support.so.0
101101
libm.so.6
102102
libp11-kit.so.0
103-
libpcre.so.3
103+
# libpcre.so.3 # Missing on Fedora 24
104104
libpthread.so.0
105105
libresolv.so.2
106106
libroken.so.18
@@ -136,3 +136,9 @@ libgpg-error.so.0
136136
# https://github.com/probonopd/linuxdeployqt/issues/35#issuecomment-256213517
137137
# and https://github.com/probonopd/AppImages/pull/114
138138
# libnss3.so
139+
140+
# Workaround for:
141+
# Fedora 25:
142+
# undefined symbol: xcb_send_request_with_fds
143+
# https://github.com/probonopd/AppImages/issues/128
144+
libxcb.so.1

‎functions.sh‎

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This file is supposed to be sourced by each Recipe
22
# that wants to use the functions contained herein
33
# like so:
4-
# wget -q https://github.com/fusion809/AppImages/raw/master/functions.sh -O ./functions.sh
4+
# wget -q https://github.com/probonopd/AppImages/raw/master/functions.sh -O ./functions.sh
55
# . ./functions.sh
66

77
# RECIPE=$(realpath "$0")
@@ -39,8 +39,8 @@ patch_usr()
3939
# Download AppRun and make it executable
4040
get_apprun()
4141
{
42-
# wget -c https://github.com/fusion809/AppImageKit/releases/download/5/AppRun -O ./AppRun # 64-bit
43-
wget -c https://github.com/fusion809/AppImageKit/releases/download/6/AppRun_6-x86_64 -O AppRun # 64-bit
42+
# wget -c https://github.com/probonopd/AppImageKit/releases/download/5/AppRun -O ./AppRun # 64-bit
43+
wget -c https://github.com/probonopd/AppImageKit/releases/download/6/AppRun_6-x86_64 -O AppRun # 64-bit
4444
chmod a+x AppRun
4545
}
4646

@@ -71,7 +71,7 @@ move_lib()
7171
# Delete blacklisted files
7272
delete_blacklisted()
7373
{
74-
BLACKLISTED_FILES=$(wget -q https://github.com/fusion809/AppImages/raw/master/excludelist -O - | sed '/^\s*$/d' | sed '/^#.*$/d')
74+
BLACKLISTED_FILES=$(wget -q https://github.com/probonopd/AppImages/raw/master/excludelist -O - | sed '/^\s*$/d' | sed '/^#.*$/d')
7575
echo $BLACKLISTED_FILES
7676
for FILE in $BLACKLISTED_FILES ; do
7777
FOUND=$(find . -type f -name "${FILE}" 2>/dev/null)
@@ -98,7 +98,7 @@ glibc_needed()
9898
get_desktopintegration()
9999
{
100100
REALBIN=$(grep -o "^Exec=.*" *.desktop | sed -e 's|Exec=||g' | cut -d " " -f 1 | head -n 1)
101-
wget -O ./usr/bin/$REALBIN.wrapper https://raw.githubusercontent.com/fusion809/AppImageKit/master/desktopintegration
101+
wget -O ./usr/bin/$REALBIN.wrapper https://raw.githubusercontent.com/probonopd/AppImageKit/master/desktopintegration
102102
chmod a+x ./usr/bin/$REALBIN.wrapper
103103

104104
sed -i -e "s|^Exec=$REALBIN|Exec=$REALBIN.wrapper|g" $1.desktop
@@ -132,7 +132,7 @@ generate_appimage()
132132
exit 1
133133
fi
134134
fi
135-
wget -c "https://github.com/fusion809/AppImageKit/releases/download/6/AppImageAssistant_6-x86_64.AppImage" -O AppImageAssistant # (64-bit)
135+
wget -c "https://github.com/probonopd/AppImageKit/releases/download/6/AppImageAssistant_6-x86_64.AppImage" -O AppImageAssistant # (64-bit)
136136
chmod a+x ./AppImageAssistant
137137
mkdir -p ../out
138138
rm ../out/$APP"-"$VERSION"-x86_64.AppImage" 2>/dev/null || true
@@ -143,16 +143,28 @@ generate_appimage()
143143
generate_type2_appimage()
144144
{
145145
# Get the ID of the last successful build on Travis CI
146-
ID=$(wget -q https://api.travis-ci.org/repos/fusion809/appimagetool/builds -O - | head -n 1 | sed -e 's|}|\n|g' | grep '"result":0' | head -n 1 | sed -e 's|,|\n|g' | grep '"id"' | cut -d ":" -f 2)
146+
# ID=$(wget -q https://api.travis-ci.org/repos/probonopd/appimagetool/builds -O - | head -n 1 | sed -e 's|}|\n|g' | grep '"result":0' | head -n 1 | sed -e 's|,|\n|g' | grep '"id"' | cut -d ":" -f 2)
147147
# Get the transfer.sh URL from the logfile of the last successful build on Travis CI
148148
# Only Travis knows why build ID and job ID don't match and why the above doesn't give both...
149-
URL=$(wget -q "https://s3.amazonaws.com/archive.travis-ci.org/jobs/$((ID+1))/log.txt" -O - | grep "https://transfer.sh/.*/appimagetool" | tail -n 1 | sed -e 's|\r||g')
150-
if [ -z "$URL" ] ; then
151-
URL=$(wget -q "https://s3.amazonaws.com/archive.travis-ci.org/jobs/$((ID+2))/log.txt" -O - | grep "https://transfer.sh/.*/appimagetool" | tail -n 1 | sed -e 's|\r||g')
152-
fi
149+
# URL=$(wget -q "https://s3.amazonaws.com/archive.travis-ci.org/jobs/$((ID+1))/log.txt" -O - | grep "https://transfer.sh/.*/appimagetool" | tail -n 1 | sed -e 's|\r||g')
150+
# if [ -z "$URL" ] ; then
151+
# URL=$(wget -q "https://s3.amazonaws.com/archive.travis-ci.org/jobs/$((ID+2))/log.txt" -O - | grep "https://transfer.sh/.*/appimagetool" | tail -n 1 | sed -e 's|\r||g')
152+
# fi
153+
URL="https://github.com/probonopd/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage"
153154
wget -c "$URL" -O appimagetool
154155
chmod a+x ./appimagetool
155-
VERSION=$VERSION ./appimagetool --bintray-user $BINTRAY_USER --bintray-repo $BINTRAY_REPO -v ./$APP.AppDir/
156+
set +x
157+
if ( [ ! -z "$KEY" ] ) && ( ! -z "$TRAVIS" ) ; then
158+
wget https://github.com/probonopd/AppImageKit/files/584665/data.zip -O data.tar.gz.gpg
159+
( set +x ; echo $KEY | gpg2 --batch --passphrase-fd 0 --no-tty --skip-verify --output data.tar.gz --decrypt data.tar.gz.gpg )
160+
tar xf data.tar.gz
161+
sudo chown -R $USER .gnu*
162+
mv $HOME/.gnu* $HOME/.gnu_old ; mv .gnu* $HOME/
163+
VERSION=$VERSION ./appimagetool -s --bintray-user $BINTRAY_USER --bintray-repo $BINTRAY_REPO -v ./$APP.AppDir/
164+
else
165+
VERSION=$VERSION ./appimagetool --bintray-user $BINTRAY_USER --bintray-repo $BINTRAY_REPO -v ./$APP.AppDir/
166+
fi
167+
set -x
156168
mkdir -p ../out/
157169
mv *.AppImage* ../out/
158170
}
@@ -165,7 +177,7 @@ generate_status()
165177
mkdir -p ./tmp/archives/
166178
mkdir -p ./tmp/lists/partial
167179
touch tmp/pkgcache.bin tmp/srcpkgcache.bin
168-
wget -q -c "https://github.com/fusion809/AppImages/raw/master/excludedeblist"
180+
wget -q -c "https://github.com/probonopd/AppImages/raw/master/excludedeblist"
169181
rm status 2>/dev/null || true
170182
for PACKAGE in $(cat excludedeblist | cut -d "#" -f 1) ; do
171183
printf "Package: $PACKAGE\nStatus: install ok installed\nArchitecture: all\nVersion: 9:999.999.999\n\n" >> status

0 commit comments

Comments
 (0)