Added Filezilla with builds for dependancies

This commit is contained in:
dslm4515
2022-03-15 19:14:52 -05:00
parent 88c6d45162
commit 961dec51b1
7 changed files with 313 additions and 0 deletions

View File

@ -0,0 +1,54 @@
#! /bin/bash
# cppunit
# Source: https://dev-www.libreoffice.org/src/cppunit-1.15.1.tar.gz
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
#
# DEPS
# Required: NONE
# Recommended: NONE
# Optional: NONE
LIBS="-ldl" ./configure --prefix=/usr --sysconfdir=/etc \
--mandir=/usr/share/man --infodir=/usr/share/info \
--localstatedir=/var $BT && \
read -p "Compile?" && make -j2 &&
sudo -S make DESTDIR=$BUILD install && \
sudo -S mkdir -pv /BMAN/install /BMAN/usr/share && \
sudo -S mv $BUILD/usr/share/doc /BMAN/usr/share/ && \
cd $BUILD && sudo -S mkdir -v ${BUILD}/install &&
cat > /tmp/slack-desc << "EOF"
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
cppunit: cppunit
cppunit:
cppunit: C++ unit testing framework
cppunit:
cppunit: http://www.freedesktop.org/wiki/Software/cppunit/
cppunit:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/cppunit-1.15.1-$(uname -m)-mlfs.txz && \
cd /BMAN && \
cat > /tmp/slack-desc << "EOF"
cppunit-doc: Manuals for cppunit
cppunit-doc:
cppunit-doc: C++ unit testing framework
cppunit-doc:
cppunit-doc: http://www.freedesktop.org/wiki/Software/cppunit/
cppunit-doc:
EOF
sudo -S mv -v /tmp/slack-desc install/ && \
sudo -S makepkg -l y -c n $PKGS/cppunit-doc-1.15.1-noarch-mlfs.txz && \
sudo -S rm -rf ${BUILD}/* /BMAN/*

View File

@ -0,0 +1,60 @@
#! /bin/bash
# filezilla
# Source: https://download.filezilla-project.org/client/FileZilla_3.58.0_src.tar.bz2
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
#
# DEPS
# Required: libfilezilla gtk3 gnutls libidn pugixml sqlite wxgtk3 xdg-utils
# Recommended: NONE
# Optional: NONE
patch -Np1 -i ../patches/filezilla-alpine/missing-list-include.patch
export CXXFLAGS="$CXXFLAGS -include assert.h"
./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man \
--infodir=/usr/share/info --without-dbus --with-wx-config=/usr/bin/wx-config \
--disable-manualupdatecheck --disable-autoupdatecheck --disable-locales $BT && \
read -p "Compile?" && make -j2 &&
sudo -S make DESTDIR=$BUILD install &&
unset CXXFLAGS && \
sudo -S mkdir -pv /BMAN/install /BMAN/usr/share && \
sudo -S mv $BUILD/usr/share/man /BMAN/usr/share/ && \
cd $BUILD && sudo -S mkdir -v ${BUILD}/install &&
cat > /tmp/slack-desc << "EOF"
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
filezilla: filezilla
filezilla:
filezilla: GTK+ FTP Client
filezilla:
filezilla: https://filezilla-project.org/
filezilla:
filezilla:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/filezilla-3.58.0-$(uname -m)-mlfs.txz &&
cd /BMAN && \
cat > /tmp/slack-desc << "EOF"
filezilla-doc: Manuals for Filezilla
filezilla-doc:
filezilla-doc: GTK+ FTP Client
filezilla-doc:
filezilla-doc: https://filezilla-project.org/
filezilla-doc:
EOF
sudo -S mv -v /tmp/slack-desc install/ && \
sudo -S makepkg -l y -c n $PKGS/filezilla-3.58.0-noarch-mlfs.txz && \
sudo -S rm -rf ${BUILD}/* /BMAN/*

View File

@ -0,0 +1,42 @@
#! /bin/bash
# libfilezilla
# Source: https://download.filezilla-project.org/libfilezilla/libfilezilla-0.36.0.tar.bz2
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
#
# DEPS
# Required: cppunit gnutls nettle
# Recommended: NONE
# Optional: NONE
./configure --prefix=/usr \
--sysconfdir=/etc --mandir=/usr/share/man \
--infodir=/usr/share/info --disable-static $BT && \
read -p "Compile?" && make -j2 &&
sudo -S make DESTDIR=$BUILD install &&
cd $BUILD && sudo -S mkdir -v ${BUILD}/install &&
cat > /tmp/slack-desc << "EOF"
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
libfilezilla: libfilezilla
libfilezilla:
libfilezilla: C++ library for filezilla
libfilezilla:
libfilezilla: https://filezilla-project.org
libfilezilla:
libfilezilla:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/libfilezilla-0.36.0-$(uname -m)-mlfs.txz &&
sudo -S rm -rf ${BUILD}/*

View File

@ -0,0 +1,56 @@
#! /bin/bash
# libidn
# Source: https://ftp.gnu.org/gnu/libidn/libidn-1.38.tar.gz
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
#
# DEPS
# Required: NONE
# Recommended: NONE
# Optional: pth emacs gtk-doc openjdk valgrind mono
./configure --prefix=/usr --disable-static $BT &&
read -p "Compile?" && make -j2 &&
sudo -S make DESTDIR=$BUILD install &&
sudo -S mkdir -pv /BMAN/install /BMAN/usr/share && \
sudo -S mv $BUILD/usr/share/man /BMAN/usr/share/ && \
sudo -S mv $BUILD/usr/share/info /BMAN/usr/share/ && \
cd $BUILD && sudo -S mkdir -v ${BUILD}/install &&
cat > /tmp/slack-desc << "EOF"
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
libidn: libidn
libidn:
libidn: A package designed for internationalized string handling based on
libidn: the Stringprep, Punycode and IDNA specifications defined by the
libidn: Internet Engineering Task Force (IETF) Internationalized Domain
libidn: Names (IDN) working group, used for internationalized domain names.
libidn:
libidn: https://www.gnu.org/software/libid
libdin:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/libidn-1.38-$(uname -m)-mlfs.txz && \
cd /BMAN && \
cat > /tmp/slack-desc << "EOF"
libidn-doc: Manuals for libidn
libidn-doc:
libidn-doc: Encode/Decode library for internationalized domain names.
libidn-doc:
libidn-doc: https://www.gnu.org/software/libid
libidn-doc:
EOF
sudo -S mv -v /tmp/slack-desc install/ && \
sudo -S makepkg -l y -c n $PKGS/libidn-doc-1.38-noarch-mlfs.txz &&\
sudo -S rm -rf ${BUILD}/*

View File

@ -0,0 +1,42 @@
#! /bin/bash
# pugixml
# Source: http://github.com/zeux/pugixml/releases/download/v1.11.4/pugixml-1.11.4.tar.gz
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
#
# DEPS
# Required: cmake
# Recommended: NONE
# Optional: NONE
cmake -B OUT -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=Release && \
read -p "Compile?" && make -j2 -C OUT &&
sudo -S make DESTDIR=$BUILD -C OUT install &&
cd $BUILD && sudo -S mkdir -v ${BUILD}/install &&
cat > /tmp/slack-desc << "EOF"
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
pugixml: pugixml
pugixml:
pugixml: Light-weight, simple and fast XML parser for C++ with XPath support
pugixml:
pugixml: https://pugixml.org
pugixml:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/pugixml-1.11.4-$(uname -m)-mlfs.txz &&
sudo -S rm -rf ${BUILD}/*

46
build-scripts/wxgtk.build Normal file
View File

@ -0,0 +1,46 @@
#! /bin/bash
# wxgtk3
# Source: https://github.com/wxWidgets/wxWidgets/releases/download/v3.0.4/wxWidgets-3.0.4.tar.bz2
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
#
# DEPS
# Required: gtk3 mesa tiff libsm glu
# Recommended: libjpeg-turbo SDL2 gstreamer gst-plugins-base
# Optional: NONE
cp -v ../files/config.guess-musl config.guess
cp -v ../files/config.sub-musl config.sub
./configure --prefix=/usr --with-sdl --with-opengl \
--enable-unicode --enable-aui --enable-no_deps \
--enable-shared --enable-sound -enable-mediactrl \
--disable-rpath --disable-optimise --with-gtk3 $BT && \
read -p "Compile?" && make -j2 &&
sudo -S make DESTDIR=$BUILD install &&
cd $BUILD && sudo -S mkdir -v ${BUILD}/install &&
cat > /tmp/slack-desc << "EOF"
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
wxgtk3: wxgtk3
wxgtk3:
wxgtk3: GTK3 port of wxWidgets GUI library
wxgtk3:
wxgtk3:
wxgtk3: https://www.wxwidgets.org/
wxgtk3:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/wxgtk3-version-$(uname -m)-mlfs.txz &&
sudo -S rm -rf ${BUILD}/*

View File

@ -0,0 +1,13 @@
diff --git a/src/interface/Mainfrm.h b/src/interface/Mainfrm.h
index 0641ff5..5da2840 100644
--- a/src/interface/Mainfrm.h
+++ b/src/interface/Mainfrm.h
@@ -8,6 +8,8 @@
#include <wx/timer.h>
+#include <list>
+
#ifndef __WXMAC__
#include <wx/taskbar.h>
#endif