mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-25 02:29:49 +01:00
Remove unused libraries
This commit is contained in:
1 parent
0e9cd5e1f6
commit
464c832883
2 files changed
+2
-131
No files matched your search
+2
-125
@@ -76,9 +76,6 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
MBEDTLS_VERSION: 3.5.2
|
MBEDTLS_VERSION: 3.5.2
|
||||||
READLINE_VERSION: 8.2
|
READLINE_VERSION: 8.2
|
||||||
SLANG_VERSION: 2.3.3
|
|
||||||
NEWT_VERSION: 0.52.23
|
|
||||||
POPT_VERSION: 1.19
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@@ -102,16 +99,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
curl -LOOOOOO \
|
curl -LOOOOOO \
|
||||||
https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v${{ env.MBEDTLS_VERSION }}.tar.gz \
|
https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v${{ env.MBEDTLS_VERSION }}.tar.gz \
|
||||||
https://mirror-hk.koddos.net/gnu/readline/readline-${{ env.READLINE_VERSION }}.tar.gz \
|
https://mirror-hk.koddos.net/gnu/readline/readline-${{ env.READLINE_VERSION }}.tar.gz
|
||||||
https://www.jedsoft.org/releases/slang/slang-${{ env.SLANG_VERSION }}.tar.bz2 \
|
|
||||||
https://releases.pagure.org/newt/newt-${{ env.NEWT_VERSION }}.tar.gz \
|
|
||||||
https://github.com/rpm-software-management/popt/archive/refs/tags/popt-${{ env.POPT_VERSION }}-release.tar.gz
|
|
||||||
|
|
||||||
tar -xf v${{ env.MBEDTLS_VERSION }}.tar.gz
|
tar -xf v${{ env.MBEDTLS_VERSION }}.tar.gz
|
||||||
tar -xf readline-${{ env.READLINE_VERSION }}.tar.gz
|
tar -xf readline-${{ env.READLINE_VERSION }}.tar.gz
|
||||||
tar -xjf slang-${{ env.SLANG_VERSION }}.tar.bz2
|
|
||||||
tar -xf newt-${{ env.NEWT_VERSION }}.tar.gz
|
|
||||||
tar -xf popt-${{ env.POPT_VERSION }}-release.tar.gz
|
|
||||||
git clone --depth=1 https://github.com/libimobiledevice/libplist
|
git clone --depth=1 https://github.com/libimobiledevice/libplist
|
||||||
git clone --depth=1 https://github.com/libimobiledevice/libimobiledevice-glue
|
git clone --depth=1 https://github.com/libimobiledevice/libimobiledevice-glue
|
||||||
git clone --depth=1 https://github.com/libimobiledevice/libirecovery
|
git clone --depth=1 https://github.com/libimobiledevice/libirecovery
|
||||||
@@ -214,51 +205,6 @@ jobs:
|
|||||||
gmake -j$(sysctl -n hw.ncpu) install DESTDIR=${{ env.DESTDIR }}
|
gmake -j$(sysctl -n hw.ncpu) install DESTDIR=${{ env.DESTDIR }}
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
- name: Build S-Lang
|
|
||||||
run: |
|
|
||||||
cd slang-${{ env.SLANG_VERSION }}
|
|
||||||
./configure \
|
|
||||||
${{ env.CONFIGURE_ARGS }} \
|
|
||||||
--without-x \
|
|
||||||
--without-pcre \
|
|
||||||
--without-onig \
|
|
||||||
--without-z \
|
|
||||||
--without-png \
|
|
||||||
--without-iconv
|
|
||||||
gmake -j$(sysctl -n hw.ncpu) static
|
|
||||||
gmake -j$(sysctl -n hw.ncpu) install-static DESTDIR=${{ env.DESTDIR }}
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: Build popt
|
|
||||||
run: |
|
|
||||||
cd popt-popt-${{ env.POPT_VERSION }}-release
|
|
||||||
autoreconf -fiv
|
|
||||||
./configure \
|
|
||||||
${{ env.CONFIGURE_ARGS }} \
|
|
||||||
--without-libiconv-prefix \
|
|
||||||
--without-libintl-prefix \
|
|
||||||
--disable-nls \
|
|
||||||
--disable-werror
|
|
||||||
gmake -j$(sysctl -n hw.ncpu)
|
|
||||||
gmake -j$(sysctl -n hw.ncpu) install DESTDIR=${{ env.DESTDIR }}
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: Build newt
|
|
||||||
run: |
|
|
||||||
cd newt-${{ env.NEWT_VERSION }}
|
|
||||||
./configure \
|
|
||||||
${{ env.CONFIGURE_ARGS }} \
|
|
||||||
--with-readline=gnu \
|
|
||||||
--without-python \
|
|
||||||
--without-tcl \
|
|
||||||
--disable-nls
|
|
||||||
gmake -j$(sysctl -n hw.ncpu) libnewt.a
|
|
||||||
mkdir -p ${{ env.DESTDIR }}/usr/local/{lib/pkgconfig,include}
|
|
||||||
install -m644 libnewt.pc ${{ env.DESTDIR }}/usr/local/lib/pkgconfig
|
|
||||||
install -m644 libnewt.a ${{ env.DESTDIR }}/usr/local/lib
|
|
||||||
install -m644 newt.h ${{ env.DESTDIR }}/usr/local/include
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: Build libplist
|
- name: Build libplist
|
||||||
run: |
|
run: |
|
||||||
cd libplist
|
cd libplist
|
||||||
@@ -534,10 +480,6 @@ jobs:
|
|||||||
MBEDTLS_VERSION: 3.5.2
|
MBEDTLS_VERSION: 3.5.2
|
||||||
LIBUSB_VERSION: 1.0.26
|
LIBUSB_VERSION: 1.0.26
|
||||||
READLINE_VERSION: 8.2
|
READLINE_VERSION: 8.2
|
||||||
SLANG_VERSION: 2.3.3
|
|
||||||
NEWT_VERSION: 0.52.23
|
|
||||||
GPM_VERSION: 1.20.7
|
|
||||||
POPT_VERSION: 1.19
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@@ -608,19 +550,11 @@ jobs:
|
|||||||
curl -LOOOOOOO \
|
curl -LOOOOOOO \
|
||||||
https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v${{ env.MBEDTLS_VERSION }}.tar.gz \
|
https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v${{ env.MBEDTLS_VERSION }}.tar.gz \
|
||||||
https://github.com/libusb/libusb/releases/download/v${{ env.LIBUSB_VERSION }}/libusb-${{ env.LIBUSB_VERSION }}.tar.bz2 \
|
https://github.com/libusb/libusb/releases/download/v${{ env.LIBUSB_VERSION }}/libusb-${{ env.LIBUSB_VERSION }}.tar.bz2 \
|
||||||
https://mirror-hk.koddos.net/gnu/readline/readline-${{ env.READLINE_VERSION }}.tar.gz \
|
https://mirror-hk.koddos.net/gnu/readline/readline-${{ env.READLINE_VERSION }}.tar.gz
|
||||||
https://www.jedsoft.org/releases/slang/slang-${{ env.SLANG_VERSION }}.tar.bz2 \
|
|
||||||
https://releases.pagure.org/newt/newt-${{ env.NEWT_VERSION }}.tar.gz \
|
|
||||||
https://github.com/telmich/gpm/archive/refs/tags/${{ env.GPM_VERSION }}.tar.gz \
|
|
||||||
https://github.com/rpm-software-management/popt/archive/refs/tags/popt-${{ env.POPT_VERSION }}-release.tar.gz
|
|
||||||
|
|
||||||
tar -xf v${{ env.MBEDTLS_VERSION }}.tar.gz
|
tar -xf v${{ env.MBEDTLS_VERSION }}.tar.gz
|
||||||
tar -xjf libusb-${{ env.LIBUSB_VERSION }}.tar.bz2
|
tar -xjf libusb-${{ env.LIBUSB_VERSION }}.tar.bz2
|
||||||
tar -xf readline-${{ env.READLINE_VERSION }}.tar.gz
|
tar -xf readline-${{ env.READLINE_VERSION }}.tar.gz
|
||||||
tar -xjf slang-${{ env.SLANG_VERSION }}.tar.bz2
|
|
||||||
tar -xf newt-${{ env.NEWT_VERSION }}.tar.gz
|
|
||||||
tar -xf ${{ env.GPM_VERSION }}.tar.gz
|
|
||||||
tar -xf popt-${{ env.POPT_VERSION }}-release.tar.gz
|
|
||||||
git clone --depth=1 https://github.com/libimobiledevice/libplist
|
git clone --depth=1 https://github.com/libimobiledevice/libplist
|
||||||
git clone --depth=1 https://github.com/libimobiledevice/libimobiledevice-glue
|
git clone --depth=1 https://github.com/libimobiledevice/libimobiledevice-glue
|
||||||
git clone --depth=1 https://github.com/libimobiledevice/libirecovery
|
git clone --depth=1 https://github.com/libimobiledevice/libirecovery
|
||||||
@@ -668,63 +602,6 @@ jobs:
|
|||||||
make -j$(nproc) install DESTDIR=${{ env.DESTDIR }}
|
make -j$(nproc) install DESTDIR=${{ env.DESTDIR }}
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
- name: Build S-Lang
|
|
||||||
run: |
|
|
||||||
cd slang-${{ env.SLANG_VERSION }}
|
|
||||||
./configure \
|
|
||||||
${{ env.CONFIGURE_ARGS }} \
|
|
||||||
--without-x \
|
|
||||||
--without-pcre \
|
|
||||||
--without-onig \
|
|
||||||
--without-z \
|
|
||||||
--without-png \
|
|
||||||
--without-iconv
|
|
||||||
gmake -j$(sysctl -n hw.ncpu) static
|
|
||||||
gmake -j$(sysctl -n hw.ncpu) install-static DESTDIR=${{ env.DESTDIR }}
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: Build GPM
|
|
||||||
run: |
|
|
||||||
cd gpm-${{ env.GPM_VERSION }}
|
|
||||||
cat ../patches/gpm/*.patch | patch -sN -d . -p1
|
|
||||||
./autogen.sh
|
|
||||||
./configure \
|
|
||||||
${{ env.CONFIGURE_ARGS }}
|
|
||||||
gmake -j$(sysctl -n hw.ncpu)
|
|
||||||
gmake -j$(sysctl -n hw.ncpu) install DESTDIR=${{ env.DESTDIR }}
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: Build popt
|
|
||||||
run: |
|
|
||||||
cd popt-popt-${{ env.POPT_VERSION }}-release
|
|
||||||
autoreconf -fiv
|
|
||||||
./configure \
|
|
||||||
${{ env.CONFIGURE_ARGS }} \
|
|
||||||
--without-libiconv-prefix \
|
|
||||||
--without-libintl-prefix \
|
|
||||||
--disable-nls \
|
|
||||||
--disable-werror
|
|
||||||
gmake -j$(sysctl -n hw.ncpu)
|
|
||||||
gmake -j$(sysctl -n hw.ncpu) install DESTDIR=${{ env.DESTDIR }}
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: Build newt
|
|
||||||
run: |
|
|
||||||
cd newt-${{ env.NEWT_VERSION }}
|
|
||||||
./configure \
|
|
||||||
${{ env.CONFIGURE_ARGS }} \
|
|
||||||
--with-readline=gnu \
|
|
||||||
--without-python \
|
|
||||||
--without-tcl \
|
|
||||||
--disable-nls \
|
|
||||||
--with-gpm-support
|
|
||||||
gmake -j$(sysctl -n hw.ncpu) libnewt.a
|
|
||||||
mkdir -p ${{ env.DESTDIR }}/usr/local/{lib/pkgconfig,include}
|
|
||||||
install -m644 libnewt.pc ${{ env.DESTDIR }}/usr/local/lib/pkgconfig
|
|
||||||
install -m644 libnewt.a ${{ env.DESTDIR }}/usr/local/lib
|
|
||||||
install -m644 newt.h ${{ env.DESTDIR }}/usr/local/include
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
- name: Build libplist
|
- name: Build libplist
|
||||||
run: |
|
run: |
|
||||||
cd libplist
|
cd libplist
|
||||||
|
|||||||
@@ -26,12 +26,6 @@ LDFLAGS += -Wl,--gc-sections
|
|||||||
endif
|
endif
|
||||||
LIBS += $(DEP)/lib/libmbedtls.a $(DEP)/lib/libmbedcrypto.a $(DEP)/lib/libmbedx509.a $(DEP)/lib/libreadline.a
|
LIBS += $(DEP)/lib/libmbedtls.a $(DEP)/lib/libmbedcrypto.a $(DEP)/lib/libmbedx509.a $(DEP)/lib/libreadline.a
|
||||||
|
|
||||||
ifeq ($(TUI),1)
|
|
||||||
LIBS += $(DEP)/lib/libnewt.a $(DEP)/lib/libpopt.a $(DEP)/lib/libslang.a
|
|
||||||
ifeq ($(TARGET_OS),Linux)
|
|
||||||
LIBS += $(DEP)/lib/libgpm.a
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
ifeq ($(DEV_BUILD),1)
|
ifeq ($(DEV_BUILD),1)
|
||||||
CFLAGS += -O0 -g -DDEV_BUILD -fno-omit-frame-pointer
|
CFLAGS += -O0 -g -DDEV_BUILD -fno-omit-frame-pointer
|
||||||
ifeq ($(ASAN),1)
|
ifeq ($(ASAN),1)
|
||||||
|
|||||||
Reference in new issue
Block a user