ygrek / mldonkey

cross-platform multi-network p2p daemon (previously at http://mldonkey.sourceforge.net/)
Other
258 stars 46 forks source link

Add AppImageBuilder #80

Open lulol opened 2 years ago

lulol commented 2 years ago

Builds an AppImage executable package with the mlnet+gui executable. https://github.com/ygrek/mldonkey/pull/65#issuecomment-1105902001

git clone https://github.com/ygrek/mldonkey.git
cd mldonkey
./configure --enable-batch --disable-directconnect --disable-fasttrack --disable-gnutella --disable-gnutella2 --enable-gui=newgui2 --prefix=/usr
make

wget https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.0.3/appimage-builder-1.0.3-x86_64.AppImage
chmod +x appimage-builder-1.0.3-x86_64.AppImage
ln -s packages/appimage/AppImageBuilder.yml AppImageBuilder.yml
./appimage-builder-1.0.3-x86_64.AppImage

To run the optional appimage-builder tests you need docker installed and permissions.

ygrek commented 3 months ago

thanks! this needs a fix - since safe-string was merged the batch compilation of ocaml together with mldonkey is not working anymore, it was finally removed from configure script in https://github.com/ygrek/mldonkey/commit/aa29c83a8c5ef9175bcfea780bb4d55094c2fa23 The fix should be as simple as adding ocaml ocaml-findlib and liblablgtk2-ocaml-dev to the apt-get install and let CI verify

lulol commented 3 months ago

I'll take a look at my archives this weekend to try to remember how this works and implement the requested changes. Meanwhile my current replies are from memory.

lulol commented 3 months ago

Seems that ocaml-ci still is having the same issues not finding the opam files. :question: