Bug 21000

Summary: android-backup-extractor, utility to extract and repack Android backups created with adb backup (ICS+).
Product: Mageia Reporter: Kristoffer Grundström <lovaren>
Component: New RPM package requestAssignee: All Packagers <pkg-bugs>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: Normal CC: lovaren, marja11
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
URL: https://github.com/nelenkov/android-backup-extractor
Whiteboard:
Source RPM: android-backup-extractor CVE:
Status comment:
Attachments: Proposal spec
New spec file that will build a package
Failed manual build with ant

Description Kristoffer Grundström 2017-05-31 19:09:37 CEST
Description of problem: android-backup-extractor (ABE) is a utility to extract and repack Android backups created with adb backup.
Comment 1 Kristoffer Grundström 2017-05-31 19:10:55 CEST
Created attachment 9370 [details]
Proposal spec

I have started to try porting this program from Arch Linux and this spec file needs some smaller adjustments to work. Feel free to work on it.

CC: (none) => hamnisdude

Comment 2 Kristoffer Grundström 2017-05-31 19:14:27 CEST
It uses ant to compile.

I tried using java-1.8 to compile it, but according to the README.md it apparently needs java-1.7 to compile.

I'm certainly no expert so I don't know any workarounds.
Either someone should open an issue on github or we need a patch to compile with 1.8 anyway.
Comment 3 Marja Van Waes 2017-05-31 22:23:17 CEST
Assigning this package request to all packagers collectively. On a voluntary basis, one of them might, if there are no license or other legal issues, want to integrate it to the distribution and maintain it for bug and security fixes.

Severity: normal => enhancement
Assignee: bugsquad => pkg-bugs
CC: (none) => marja11
Summary: Add android-backup-extractor to Mageia 6 => android-backup-extractor, utility to extract and repack Android backups created with adb backup (ICS+).
URL: (none) => https://github.com/nelenkov/android-backup-extractor

Comment 4 Kristoffer Grundström 2017-06-01 08:34:38 CEST
Created attachment 9371 [details]
New spec file that will build a package

Attachment 9370 is obsolete: 0 => 1

Comment 5 Kristoffer Grundström 2017-06-01 08:39:42 CEST
It will both build and install, but if you type abe and press Enter to see what kind of commands it can do you get this error:

Error: Could not find or load main class org.nick.abe.Main
Comment 6 Kristoffer Grundström 2017-06-01 08:45:27 CEST
I found this page that shows an example with this problem and how to solve it:

http://javarevisited.blogspot.se/2015/04/error-could-not-find-or-load-main-class-helloworld-java.html

I tried looking for the missing file with the locate and find commands, but I got this as a reply:

[kristoffer@localhost Desktop]$ locate org.nick.abe.Main
[kristoffer@localhost Desktop]$ find org.nick.abe.Main
find: 'org.nick.abe.Main': No such file or directory
Comment 7 Kristoffer Grundström 2017-06-02 06:49:22 CEST
Created attachment 9377 [details]
Failed manual build with ant