-
Couldn't load subscription status.
- Fork 599
Update libimobiledevice to 1.3.0 #13576
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
Open
kevin-b-lockwood
wants to merge
4
commits into
microsoft:3.0-dev
Choose a base branch
from
kevin-b-lockwood:kevin-b-lockwood/libimobiledevice-1.3.0-1
base: 3.0-dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
3c58ade
Update libimobiledevice to 1.3.0-1
kevin-b-lockwood 4a52218
Fix changelog version and remove old debugging code
kevin-b-lockwood e24f1c5
Remove traces of "lid_plist" debugging
kevin-b-lockwood d82fe73
Change spec URL to use https instead of http
kevin-b-lockwood File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
SPECS-EXTENDED/libimobiledevice/libimobiledevice.signatures.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| { | ||
| "Signatures": { | ||
| "libimobiledevice-1.2.0.tar.bz2": "786b0de0875053bf61b5531a86ae8119e320edab724fc62fe2150cc931f11037" | ||
| "libimobiledevice-1.3.0.tar.bz2": "53f2640c6365cd9f302a6248f531822dc94a6cced3f17128d4479a77bd75b0f6" | ||
| } | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,20 +1,15 @@ | ||
| Vendor: Microsoft Corporation | ||
| Distribution: Azure Linux | ||
| Name: libimobiledevice | ||
| Version: 1.2.1 | ||
| Version: 1.3.0 | ||
| Release: 1%{?dist} | ||
| Summary: Library for connecting to mobile devices | ||
|
|
||
| License: LGPLv2+ | ||
| URL: http://www.libimobiledevice.org/ | ||
| Source0: http://www.libimobiledevice.org/downloads/%{name}-1.2.0.tar.bz2 | ||
| # Upstream patches, generated with: | ||
| # git format-patch --stdout 344409e1d1ad917d377b256214c5411dda82e6b0...9b857fc42cdc4921e1e3f190c5ea907774e04758 | ||
| # b5a70e9aaf538dad0aba0b800b122955e8ac494b | ||
| # 26373b334889f5ae2e2737ff447eb25b1700fa2f | ||
| # 97f8ac9e9ad9ee73ca635a26831bfe950a5d673b | ||
| # were manually removed | ||
| Patch0: a7568f456d10f1aff61534e3216201a857865247...9b857fc42cdc4921e1e3f190c5ea907774e04758.patch | ||
| URL: https://www.libimobiledevice.org/ | ||
| Source0: https://github.com/%{name}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.bz2 | ||
| # Patch to fix 1.3.0 redefining enum from libplist | ||
| Patch0: upgrade-fixes-1.3.0.patch | ||
|
|
||
| BuildRequires: glib2-devel | ||
| BuildRequires: openssl-devel | ||
|
|
@@ -48,7 +43,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release} | |
| Utilites for use with libimobiledevice. | ||
|
|
||
| %prep | ||
| %autosetup -S git_am -n %{name}-1.2.0 | ||
| %autosetup -S git_am -n %{name}-%{version} | ||
|
|
||
| # Fix dir permissions on html docs | ||
| chmod +x docs/html | ||
|
|
@@ -75,7 +70,7 @@ find %{buildroot} -type f -name "*.la" -delete | |
| %{!?_licensedir:%global license %%doc} | ||
| %license COPYING.LESSER | ||
| %doc AUTHORS README.md | ||
| %{_libdir}/libimobiledevice.so.6* | ||
| %{_libdir}/libimobiledevice-1.0.so.6* | ||
|
|
||
| %files utils | ||
| %doc %{_datadir}/man/man1/idevice* | ||
|
|
@@ -84,10 +79,14 @@ find %{buildroot} -type f -name "*.la" -delete | |
| %files devel | ||
| %doc docs/html/ | ||
| %{_libdir}/pkgconfig/libimobiledevice-1.0.pc | ||
| %{_libdir}/libimobiledevice.so | ||
| %{_libdir}/libimobiledevice-1.0.so | ||
| %{_includedir}/libimobiledevice/ | ||
|
|
||
| %changelog | ||
| * Wed Apr 23 2025 Kevin Lockwood <[email protected]> - 1.3.0-1 | ||
| - Update to version 1.3.0 | ||
| - License verified | ||
|
|
||
| * Thu Oct 14 2021 Pawel Winogrodzki <[email protected]> - 1.2.1-1 | ||
| - Initial CBL-Mariner import from Fedora 32 (license: MIT). | ||
| - Converting the 'Release' tag to the '[number].[distribution]' format. | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| From 0e1a8d973c105a1bbc9d60b2e71f49268d9a8617 Mon Sep 17 00:00:00 2001 | ||
| From: Kevin Lockwood <[email protected]> | ||
| Date: Wed, 23 Apr 2025 16:15:46 -0700 | ||
| Subject: [PATCH] Patch out plist.h redefinitions | ||
|
|
||
| --- | ||
| common/utils.c | 4 ++++ | ||
| common/utils.h | 6 ++++++ | ||
| 2 files changed, 10 insertions(+) | ||
|
|
||
| diff --git a/common/utils.c b/common/utils.c | ||
| index 7f66ec2..e06debf 100644 | ||
| --- a/common/utils.c | ||
| +++ b/common/utils.c | ||
| @@ -314,7 +314,11 @@ int plist_read_from_filename(plist_t *plist, const char *filename) | ||
| return 1; | ||
| } | ||
|
|
||
| +#ifndef LIBPLIST_H | ||
| int plist_write_to_filename(plist_t plist, const char *filename, enum plist_format_t format) | ||
| +#else | ||
| +int plist_write_to_filename(plist_t plist, const char *filename, plist_format_t format) | ||
| +#endif | ||
| { | ||
| char *buffer = NULL; | ||
| uint32_t length; | ||
| diff --git a/common/utils.h b/common/utils.h | ||
| index 2c3acec..661f170 100644 | ||
| --- a/common/utils.h | ||
| +++ b/common/utils.h | ||
| @@ -51,13 +51,19 @@ char *generate_uuid(void); | ||
| void buffer_read_from_filename(const char *filename, char **buffer, uint64_t *length); | ||
| void buffer_write_to_filename(const char *filename, const char *buffer, uint64_t length); | ||
|
|
||
| +#ifndef LIBPLIST_H | ||
| enum plist_format_t { | ||
| PLIST_FORMAT_XML, | ||
| PLIST_FORMAT_BINARY | ||
| }; | ||
| +#endif | ||
|
|
||
| int plist_read_from_filename(plist_t *plist, const char *filename); | ||
| +#ifndef LIBPLIST_H | ||
| int plist_write_to_filename(plist_t plist, const char *filename, enum plist_format_t format); | ||
| +#else | ||
| +int plist_write_to_filename(plist_t plist, const char *filename, plist_format_t format); | ||
| +#endif | ||
|
|
||
| void plist_print_to_stream(plist_t plist, FILE* stream); | ||
|
|
||
| -- | ||
| 2.34.1 | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.