Skip to content

Commit

Permalink
itools: update to libimediadevice 2.0 libraries
Browse files Browse the repository at this point in the history
- updated libraries have full support for configure and do not need autogen anymore
- use icon of libimediadevice
  • Loading branch information
hgy59 committed Nov 29, 2021
1 parent 7f7d535 commit 14dd3df
Show file tree
Hide file tree
Showing 18 changed files with 68 additions and 156 deletions.
26 changes: 5 additions & 21 deletions cross/ifuse/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
PKG_NAME = ifuse
PKG_VERS = 1.1.3
PKG_EXT = tar.gz
PKG_DOWNLOAD_METHOD = git
# commited on Oct 8, 2018
PKG_GIT_HASH = e75d32c34d0e8b80320f0a007d5ecbb3f55ef7f0
PKG_DIST_SITE = https://github.com/libimobiledevice/$(PKG_NAME).git
PKG_DIST_FILE = $(PKG_NAME)-git$(PKG_GIT_HASH).$(PKG_EXT)
PKG_DIR = $(PKG_NAME)-git$(PKG_GIT_HASH)
PKG_VERS = 1.1.4
PKG_EXT = tar.bz2
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/libimobiledevice/ifuse/releases/download/$(PKG_VERS)
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

DEPENDS = cross/libplist cross/libimobiledevice cross/fuse

Expand All @@ -15,23 +12,10 @@ COMMENT = A fuse filesystem implementation to access the contents of iOS device
LICENSE = LGPL-2.1

GNU_CONFIGURE = 1
PRE_CONFIGURE_TARGET = ifuse_pre_configure
INSTALL_TARGET = ifuse_install
IFUSE_AUTOGEN_ARGS =

include ../../mk/spksrc.cross-cc.mk

ifeq ($(findstring $(ARCH),$(ARM_ARCHS)),$(ARCH))
IFUSE_AUTOGEN_ARGS += --host=arm-linux
endif
ifeq ($(findstring $(ARCH),$(PPC_ARCHS)),$(ARCH))
IFUSE_AUTOGEN_ARGS += --host=ppc-linux
endif

.PHONY ifuse_pre_configure:
ifuse_pre_configure:
$(RUN) ./autogen.sh $(IFUSE_AUTOGEN_ARGS)

.PHONY ifuse_install:
ifuse_install:
$(RUN) $(MAKE) install DESTDIR=$(INSTALL_DIR)
6 changes: 3 additions & 3 deletions cross/ifuse/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ifuse-gite75d32c34d0e8b80320f0a007d5ecbb3f55ef7f0.tar.gz SHA1 d6c64b2f04f6feb28dbc7e8b438cf745b63c8f93
ifuse-gite75d32c34d0e8b80320f0a007d5ecbb3f55ef7f0.tar.gz SHA256 11cebbea606fc05cf471ce1032c47bf3840f0d8b42b3a3b963c97ba00ebeb5ec
ifuse-gite75d32c34d0e8b80320f0a007d5ecbb3f55ef7f0.tar.gz MD5 f4639d64c95090c318c456e2ee2ebd0a
ifuse-1.1.4.tar.bz2 SHA1 eecac3d3aee59d2c1f956652f5705b713d160078
ifuse-1.1.4.tar.bz2 SHA256 3550702ef94b2f5f16c7db91c6b3282b2aed1340665834a03e47458e09d98d87
ifuse-1.1.4.tar.bz2 MD5 cd31fbd0ea945b2ff1e39eac8d198fdd
28 changes: 6 additions & 22 deletions cross/libimobiledevice/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
PKG_NAME = libimobiledevice
PKG_VERS = 1.2.0
PKG_EXT = tar.gz
PKG_DOWNLOAD_METHOD = git
# with commits on Jun 13, 2019
PKG_GIT_HASH = 6edc36fccb52a963c9ebfbb44ba7b91570e0fd06
PKG_DIST_SITE = https://github.com/libimobiledevice/$(PKG_NAME).git
PKG_DIST_FILE = $(PKG_NAME)-git$(PKG_GIT_HASH).$(PKG_EXT)
PKG_DIR = $(PKG_NAME)-git$(PKG_GIT_HASH)
PKG_VERS = 1.3.0
PKG_EXT = tar.bz2
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/libimobiledevice/libimobiledevice/releases/download/$(PKG_VERS)
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

DEPENDS = cross/libplist cross/libusbmuxd cross/openssl

Expand All @@ -15,19 +12,6 @@ COMMENT = A library to communicate with services of Apple iOS devices using nat
LICENSE = LGPL-2.1

GNU_CONFIGURE = 1
PRE_CONFIGURE_TARGET = libimobiledevice_pre_configure
CONFIGURE_ARGS = --disable-largefile --without-cython
LIBIMOBILEDEVICE_AUTOGEN_ARGS = $(CONFIGURE_ARGS)
CONFIGURE_ARGS = --without-cython

include ../../mk/spksrc.cross-cc.mk

ifeq ($(findstring $(ARCH),$(ARM_ARCHS)),$(ARCH))
LIBIMOBILEDEVICE_AUTOGEN_ARGS += --host=arm-linux
endif
ifeq ($(findstring $(ARCH),$(PPC_ARCHS)),$(ARCH))
LIBIMOBILEDEVICE_AUTOGEN_ARGS += --host=ppc-linux
endif

.PHONY: libimobiledevice_pre_configure
libimobiledevice_pre_configure:
$(RUN) NOCONFIGURE=1 ./autogen.sh $(LIBIMOBILEDEVICE_AUTOGEN_ARGS)
7 changes: 4 additions & 3 deletions cross/libimobiledevice/PLIST
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ bin:bin/idevicenotificationproxy
bin:bin/idevicepair
bin:bin/ideviceprovision
bin:bin/idevicescreenshot
bin:bin/idevicesetlocation
bin:bin/idevicesyslog
lnk:lib/libimobiledevice.so
lnk:lib/libimobiledevice.so.6
lib:lib/libimobiledevice.so.6.0.0
lnk:lib/libimobiledevice-1.0.so
lnk:lib/libimobiledevice-1.0.so.6
lib:lib/libimobiledevice-1.0.so.6.0.0
6 changes: 3 additions & 3 deletions cross/libimobiledevice/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
libimobiledevice-git6edc36fccb52a963c9ebfbb44ba7b91570e0fd06.tar.gz SHA1 67155689b4d05bef94a8d590448a9057f1941159
libimobiledevice-git6edc36fccb52a963c9ebfbb44ba7b91570e0fd06.tar.gz SHA256 9e1da1c3186055f8e3e024f37737494ef110b9de57a27f18672b49b6b7ea33dd
libimobiledevice-git6edc36fccb52a963c9ebfbb44ba7b91570e0fd06.tar.gz MD5 3f445afcc913ab193d6aebc8136db9db
libimobiledevice-1.3.0.tar.bz2 SHA1 783e928dd77f53a259da6a40fc43506ae0c42de6
libimobiledevice-1.3.0.tar.bz2 SHA256 53f2640c6365cd9f302a6248f531822dc94a6cced3f17128d4479a77bd75b0f6
libimobiledevice-1.3.0.tar.bz2 MD5 c50a3a32acf33dc8c9ec88137ad12ec4
24 changes: 5 additions & 19 deletions cross/libplist/Makefile
Original file line number Diff line number Diff line change
@@ -1,31 +1,17 @@
PKG_NAME = libplist
PKG_VERS = 2.1.0
PKG_EXT = tar.gz
PKG_DIST_NAME = $(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/libimobiledevice/$(PKG_NAME)/archive
PKG_DIST_FILE = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_VERS = 2.2.0
PKG_EXT = tar.bz2
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/libimobiledevice/libplist/releases/download/$(PKG_VERS)
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

DEPENDS =

HOMEPAGE = https://github.com/libimobiledevice/libplist/
HOMEPAGE = https://github.com/libimobiledevice/libplist
COMMENT = A small portable C library to handle Apple Property List files in binary or XML.
LICENSE = LGPL-2.1

GNU_CONFIGURE = 1
PRE_CONFIGURE_TARGET = libplist_pre_configure
CONFIGURE_ARGS = --without-cython
LIBPLIST_AUTOGEN_ARGS = $(CONFIGURE_ARGS)

include ../../mk/spksrc.cross-cc.mk

ifeq ($(findstring $(ARCH),$(ARM_ARCHS)),$(ARCH))
LIBPLIST_AUTOGEN_ARGS += --host=arm-linux
endif
ifeq ($(findstring $(ARCH),$(PPC_ARCHS)),$(ARCH))
LIBPLIST_AUTOGEN_ARGS += --host=ppc-linux
endif

.PHONY: libplist_pre_configure
libplist_pre_configure:
$(RUN) ; NOCONFIGURE=1 ./autogen.sh $(LIBPLIST_AUTOGEN_ARGS)
12 changes: 6 additions & 6 deletions cross/libplist/PLIST
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
bin:bin/plistutil
lnk:lib/libplist.so
lnk:lib/libplist.so.3
lib:lib/libplist.so.3.2.0
lnk:lib/libplist++.so
lnk:lib/libplist++.so.3
lib:lib/libplist++.so.3.2.0
lnk:lib/libplist++-2.0.so
lnk:lib/libplist++-2.0.so.3
lib:lib/libplist++-2.0.so.3.3.0
lnk:lib/libplist-2.0.so
lnk:lib/libplist-2.0.so.3
lib:lib/libplist-2.0.so.3.3.0
6 changes: 3 additions & 3 deletions cross/libplist/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
libplist-2.1.0.tar.gz SHA1 4ced7eae4b3e0d8f132f094435089a4bf61f4ff2
libplist-2.1.0.tar.gz SHA256 4b33f9af3f9208d54a3c3e1a8c149932513f451c98d1dd696fe42c06e30b7f03
libplist-2.1.0.tar.gz MD5 051a93535f3b825eea5cdf284257e16d
libplist-2.2.0.tar.bz2 SHA1 a92830a3286442f9ea2eac02db81fcfb149a0812
libplist-2.2.0.tar.bz2 SHA256 4a5517e5377ec421df84c586ba85bb4e1d26f11ad203d7d450a907c0156fbd9a
libplist-2.2.0.tar.bz2 MD5 63cc49401521662c94cd4107898c744c
25 changes: 7 additions & 18 deletions cross/libusb/Makefile
Original file line number Diff line number Diff line change
@@ -1,32 +1,21 @@
PKG_NAME = libusb
PKG_VERS = 1.0.23
PKG_EXT = tar.gz
PKG_DIST_NAME = v$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/libusb/libusb/archive
PKG_DIST_FILE = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_EXT = tar.bz2
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/libusb/libusb/releases/download/v$(PKG_VERS)
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

# this is the latest version that builds with C99 compiler.
# libusb >= v1.0.24 needs C11 compiler (not supported by OLD_PPC_ARCHS and ARMv5_ARCHS).
# qoriq has C11 compiler, but fails with "configure: error: Linux netlink header not found"

DEPENDS =

HOMEPAGE = https://libusb.info/
COMMENT = C library that provides generic access to USB devices. It is intended to be used by developers to facilitate the production of applications that communicate with USB hardware.
LICENSE = LGPL-2.1

GNU_CONFIGURE = 1
PRE_CONFIGURE_TARGET = libusb_pre_configure
CONFIGURE_ARGS = --disable-udev --disable-debug-log --disable-examples-build
LIBUSB_AUTOGEN_ARGS = $(CONFIGURE_ARGS)

include ../../mk/spksrc.cross-cc.mk


ifeq ($(findstring $(ARCH),$(ARM_ARCHS)),$(ARCH))
LIBUSB_AUTOGEN_ARGS += --host=arm-linux
endif
ifeq ($(findstring $(ARCH),$(PPC_ARCHS)),$(ARCH))
LIBUSB_AUTOGEN_ARGS += --host=ppc-linux
endif

.PHONY: libusb_pre_configure
libusb_pre_configure:
$(RUN) ; ./autogen.sh $(LIBUSB_AUTOGEN_ARGS)
6 changes: 3 additions & 3 deletions cross/libusb/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
libusb-1.0.23.tar.gz SHA1 c8ebcc7d0a14f910151b3066326d8ba126894b88
libusb-1.0.23.tar.gz SHA256 02620708c4eea7e736240a623b0b156650c39bfa93a14bcfa5f3e05270313eba
libusb-1.0.23.tar.gz MD5 009e75e0ef3ed54ebbc085468feeec28
libusb-1.0.23.tar.bz2 SHA1 0140200398306b5e91c294d4a3c0f63aa0ef07b3
libusb-1.0.23.tar.bz2 SHA256 db11c06e958a82dac52cf3c65cb4dd2c3f339c8a988665110e0d24d19312ad8d
libusb-1.0.23.tar.bz2 MD5 1e29700f6a134766d32b36b8d1d61a95
22 changes: 4 additions & 18 deletions cross/libusbmuxd/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
PKG_NAME = libusbmuxd
PKG_VERS = 2.0.1
PKG_EXT = tar.gz
PKG_DIST_NAME = $(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/libimobiledevice/$(PKG_NAME)/archive
PKG_DIST_FILE = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_VERS = 2.0.2
PKG_EXT = tar.bz2
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/libimobiledevice/libusbmuxd/releases/download/$(PKG_VERS)
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

DEPENDS = cross/libplist
Expand All @@ -13,19 +12,6 @@ COMMENT = A client library to multiplex connections from and to iOS devices by
LICENSE = LGPL-2.1

GNU_CONFIGURE = 1
PRE_CONFIGURE_TARGET = libusbmuxd_pre_configure
CONFIGURE_ARGS = ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes
LIBUSBMUXD_AUTOGEN_ARGS =

include ../../mk/spksrc.cross-cc.mk

ifeq ($(findstring $(ARCH),$(ARM_ARCHS)),$(ARCH))
LIBUSBMUXD_AUTOGEN_ARGS += --host=arm-linux
endif
ifeq ($(findstring $(ARCH),$(PPC_ARCHS)),$(ARCH))
LIBUSBMUXD_AUTOGEN_ARGS += --host=ppc-linux
endif

.PHONY: libusbmuxd_pre_configure
libusbmuxd_pre_configure:
$(RUN) NOCONFIGURE=1 ./autogen.sh $(LIBUSBMUXD_AUTOGEN_ARGS)
6 changes: 3 additions & 3 deletions cross/libusbmuxd/PLIST
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
bin:bin/inetcat
bin:bin/iproxy
lnk:lib/libusbmuxd.so
lnk:lib/libusbmuxd.so.6
lib:lib/libusbmuxd.so.6.0.0
lnk:lib/libusbmuxd-2.0.so
lnk:lib/libusbmuxd-2.0.so.6
lib:lib/libusbmuxd-2.0.so.6.0.0
6 changes: 3 additions & 3 deletions cross/libusbmuxd/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
libusbmuxd-2.0.1.tar.gz SHA1 e48593d1b444399b7e6d476d775a53f461cb25a2
libusbmuxd-2.0.1.tar.gz SHA256 f93faf3b3a73e283646f4d62b3421aeccf58142266b0eb22b2b13dd4b2362eb8
libusbmuxd-2.0.1.tar.gz MD5 d99194d65f4fb46aa61a01efe15faaf1
libusbmuxd-2.0.2.tar.bz2 SHA1 e3c2c846471ba7c171c01d87cb37d379d53d5f02
libusbmuxd-2.0.2.tar.bz2 SHA256 cc6a808553da4efa9fa5638be256d5ae020498795d9d260d280b87074e799b20
libusbmuxd-2.0.2.tar.bz2 MD5 f1ae06b1342a7a795cc3a4fc76750f6e
26 changes: 5 additions & 21 deletions cross/usbmuxd/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
PKG_NAME = usbmuxd
PKG_VERS = 1.1.0
PKG_EXT = tar.gz
PKG_DOWNLOAD_METHOD = git
# with commits on Oct 4, 2019
PKG_GIT_HASH = c41226df521de464a89f3d027f3e67d13d10d96f
PKG_DIST_SITE = https://github.com/libimobiledevice/$(PKG_NAME).git
PKG_DIST_FILE = $(PKG_NAME)-git$(PKG_GIT_HASH).$(PKG_EXT)
PKG_DIR = $(PKG_NAME)-git$(PKG_GIT_HASH)
PKG_VERS = 1.1.1
PKG_EXT = tar.bz2
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/libimobiledevice/usbmuxd/releases/download/$(PKG_VERS)
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

DEPENDS = cross/libplist cross/libimobiledevice cross/libusb

Expand All @@ -15,19 +12,6 @@ COMMENT = A socket daemon to multiplex connections from and to iOS devices.
LICENSE = LGPL-2.1

GNU_CONFIGURE = 1
PRE_CONFIGURE_TARGET = usbmuxd_pre_configure
CONFIGURE_ARGS = ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes
USBMUXD_AUTOGEN_ARGS = --without-cpython

include ../../mk/spksrc.cross-cc.mk

ifeq ($(findstring $(ARCH),$(ARM_ARCHS)),$(ARCH))
USBMUXD_AUTOGEN_ARGS += --host=arm-linux
endif
ifeq ($(findstring $(ARCH),$(PPC_ARCHS)),$(ARCH))
USBMUXD_AUTOGEN_ARGS += --host=ppc-linux
endif

.PHONY: usbmuxd_pre_configure
usbmuxd_pre_configure:
$(RUN) NOCONFIGURE=1 ./autogen.sh $(USBMUXD_AUTOGEN_ARGS)
1 change: 0 additions & 1 deletion cross/usbmuxd/PLIST
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
bin:bin/iproxy
bin:sbin/usbmuxd
6 changes: 3 additions & 3 deletions cross/usbmuxd/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
usbmuxd-gitc41226df521de464a89f3d027f3e67d13d10d96f.tar.gz SHA1 c38b35763e55892a686697c7c8b9b79501b2ffa9
usbmuxd-gitc41226df521de464a89f3d027f3e67d13d10d96f.tar.gz SHA256 a4c85665bc2b2a826d40b116a30d38b99f52878b2ea2f126b02fda9b25d7c623
usbmuxd-gitc41226df521de464a89f3d027f3e67d13d10d96f.tar.gz MD5 67fe21410264af814ba768789ffde0ef
usbmuxd-1.1.1.tar.bz2 SHA1 5e5783215d136d0a601505b0379a2bc25b42fcc6
usbmuxd-1.1.1.tar.bz2 SHA256 c0ec9700172bf635ccb5bed98daae607d2925c2bc3597f25706ecd9dfbfd2d9e
usbmuxd-1.1.1.tar.bz2 MD5 7450ab28776dcd10b593c9a4243e6755
11 changes: 5 additions & 6 deletions spk/itools/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
SPK_NAME = itools
SPK_VERS = 1.2
SPK_REV = 4
SPK_VERS = 2.0
SPK_REV = 5
SPK_ICON = src/itools.png

# A collection of tools from ifuse and usbmuxd projects of libimobiledevice.org
# There exists no source code package "itools" and therefore no cross/itools project
DEPENDS = cross/usbmuxd cross/ifuse
Expand All @@ -11,10 +12,9 @@ MAINTAINER = bxxxjxxg
MAINTAINER_URL = https://www.linkedin.com/in/bingjing-chang/
DISTRIBUTOR = SynoCommunity
DISTRIBUTOR_URL = https://synocommunity.com
DESCRIPTION = "This package mounts an iOS® device \(connected by USB\) to a shared folder of your Diskstation. You can access such folders locally or from remote with Synology FileStation. Some command line tools are included to communicate with connected devices."
RELOAD_UI = no
DESCRIPTION = "This package contains tools of libimobiledevice to mount an iOS® device \(connected by USB\) to a shared folder of your Diskstation. You can access such folders locally or from remote with Synology FileStation. Some command line tools are included to communicate with connected devices."
DISPLAY_NAME = iOS Access
CHANGELOG = "Update openssl to 1.1."
CHANGELOG = "1. Update usb tools and imobile device libraries to v2.0<br/>2. Update openssl to 1.1.1l."

HOMEPAGE = https://www.libimobiledevice.org
LICENSE = LGPL 2.1
Expand Down Expand Up @@ -51,7 +51,6 @@ SPK_COMMANDS += bin/inetcat
SPK_COMMANDS += bin/iproxy
SPK_COMMANDS += bin/plistutil


include ../../mk/spksrc.spk.mk

.PHONY: itools_extra_install
Expand Down
Binary file modified spk/itools/src/itools.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 14dd3df

Please sign in to comment.