remove libz from excludelist
authorArt Cancro <ajc@citadel.org>
Wed, 9 Jun 2021 20:29:03 +0000 (16:29 -0400)
committerArt Cancro <ajc@citadel.org>
Wed, 9 Jun 2021 20:29:03 +0000 (16:29 -0400)
appimage/build_appimage.sh
appimage/citadel.AppDir/AppRun
appimage/excludelist

index b3ab8ea6e2fd3b591caa76446f993252da183b2d..8680bd711541cfa0036d0784395a4a90774dc330 100755 (executable)
@@ -15,6 +15,14 @@ make || exit 4
 make install || exit 5
 popd
 
+# Build the text mode client
+pushd ../textclient || exit 22
+make distclean 2>/dev/null
+./bootstrap || exit 23
+./configure --prefix=`pwd` || exit 24
+make || exit 25
+popd
+
 # Build the Citadel server
 pushd ../citadel || exit 6
 make distclean 2>/dev/null
@@ -39,7 +47,12 @@ mkdir -p citadel.AppDir/usr/bin
 mkdir -p citadel.AppDir/usr/lib
 
 # Copy over all the libraries we used
-for bin in $CITADEL_BUILD_DIR/citserver $WEBCIT_BUILD_DIR/webcit $CITADEL_BUILD_DIR/ctdlmigrate `which gdb`
+for bin in \
+       $CITADEL_BUILD_DIR/citserver \
+       $WEBCIT_BUILD_DIR/webcit \
+       $CITADEL_BUILD_DIR/ctdlmigrate \
+       ../textclient/citadel \
+       `which gdb`
 do
        ldd $bin
 done | sort | while read libname junk libpath
@@ -61,6 +74,10 @@ do
        cp `which $bin` citadel.AppDir/usr/bin/ || exit 16
 done
 
+# Copy over the client
+cp ../textclient/citadel citadel.AppDir/usr/bin/ || exit 26
+cp ../textclient/citadel.rc citadel.AppDir/ || exit 27
+
 # Install the Citadel Server application tree
 mkdir -p citadel.AppDir/usr/local/citadel || exit 17
 rsync -va $CITADEL_BUILD_DIR/ ./citadel.AppDir/usr/local/citadel/ || exit 18
index 373d717003cdfdc6bbd15a03edb2bb4c293df549..70f00b9202c73325faeec58aa2413f57bc0c1ed2 100755 (executable)
@@ -218,6 +218,12 @@ case ${1} in
                export PATH=$APPDIR/usr/bin:$PATH
                exec $APPDIR/usr/local/citadel/citserver -x9 -h $CTDL_DIR
                ;;
+       connect)
+               export LD_LIBRARY_PATH=$APPDIR/usr/lib
+               export PATH=$APPDIR/usr/bin:$PATH
+               cd $APPDIR
+               exec citadel $*
+               ;;
        *)
                echo Unexpected command: ${1} 
                usage
index 99ad94307d8806a69028803cd0e6f77f368821cb..9ddaa07b2039c6ccec867dfe5a54fe8107370db7 100644 (file)
@@ -1,5 +1,5 @@
 # retrieved from https://raw.githubusercontent.com/AppImage/pkg2appimage/master/excludelist by ajc on 2021may10
-# I also removed libexpat from this list
+# I also removed libexpat and libz from this list
 
 # This file lists libraries that we will assume to be present on the host system and hence
 # should NOT be bundled inside AppImages. This is a working document; expect it to change
@@ -158,7 +158,7 @@ libSM.so.6
 libusb-1.0.so.0
 libuuid.so.1
 # libwind.so.0 # Missing on openSUSE LEAP 42.0
-libz.so.1
+#libz.so.1 removed by ajc 2021jun09
 
 # Potentially dangerous libraries
 libgobject-2.0.so.0