Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux dependencies contradiction #255

Open
SoyBrayM opened this issue Aug 10, 2024 · 1 comment
Open

Linux dependencies contradiction #255

SoyBrayM opened this issue Aug 10, 2024 · 1 comment

Comments

@SoyBrayM
Copy link

In the "Installation / Getting started" section of the README (here), the apt-get command includes the libusbmuxd-dev package, but in the README of libusbmuxd (here) the apt command includes the usbmuxd package.

I doubt this is intentional since it doesn't really make sense, so I wonder which one depends on which. If it's necessary I could make a PR, but since it's a small detail I don't think it's necessary.

@mexmer
Copy link
Contributor

mexmer commented Aug 12, 2024

you are looking at two different projects
first link is to USBMUXD project, which is binary, that detects iOS device, and orchestrates communication with it
second link is libusbmuxd project, which is library, that gives you interface to communicate with USBMUXD from your application

but i can understand, it looks like circular dependency.

libusmuxd on linux needs usbmuxd binary, to be able to communicate with iOS device, contrary to OSX, where is native service (that is on linux emulated by usbmuxd), or windows, where this functionality (of USBMUXD) is provided by service budled with iTunes installation.

for libusbmuxd compilation you don't need usbmuxd, but you need it, to be able to use libumusbmuxd.

for usbmuxd compilation you don't need libusbmux-dev, so that can be removed. I think it's rellic from past, before some code parts, that are now in libimobiledevice-glue, where present in libubsmuxd, so at that time, libusbmux-dev was required for building usbmuxd ... but since libimobile-glue, it is no longer required.

@nikias will most likely correct me, if i'm wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants