From 016ed8cfacbe46c339897ea33b9ceefa849f4b85 Mon Sep 17 00:00:00 2001 From: David Black Date: Sat, 20 Apr 2013 12:29:25 +0100 Subject: [PATCH] new app net.androidcomics.acv --- metadata/com.smerty.ham.txt | 3 +- metadata/net.androidcomics.acv.txt | 32 ++++++++++++++++++ metadata/net.androidcomics.acv/rar.patch | 42 ++++++++++++++++++++++++ metadata/org.sickstache.txt | 3 +- 4 files changed, 78 insertions(+), 2 deletions(-) create mode 100644 metadata/net.androidcomics.acv.txt create mode 100644 metadata/net.androidcomics.acv/rar.patch diff --git a/metadata/com.smerty.ham.txt b/metadata/com.smerty.ham.txt index 59d088c2ec..3910177740 100644 --- a/metadata/com.smerty.ham.txt +++ b/metadata/com.smerty.ham.txt @@ -18,7 +18,8 @@ limited use for many of us. Repo Type:git Repo:https://github.com/Smerty/ham.android.git -Build Version:1.5.7,18,8721a4ecf8,maven=yes,bindir=target +Build Version:1.5.7,18,8721a4ecf8,maven=yes,bindir=target,prebuild=\ +sed -i 's/true/false/g' AndroidManifest.xml Update Check Mode:RepoManifest Current Version:1.5.7 diff --git a/metadata/net.androidcomics.acv.txt b/metadata/net.androidcomics.acv.txt new file mode 100644 index 0000000000..9202375930 --- /dev/null +++ b/metadata/net.androidcomics.acv.txt @@ -0,0 +1,32 @@ +Category:Reading +License:Apache2 +Web Site:http://forums.droidcomicviewer.com +Source Code:https://github.com/robotmedia/droid-comic-viewer +Issue Tracker:https://github.com/robotmedia/droid-comic-viewer/issues + +Summary:Comic and image viewer +Description: +* Opens CBZ/ZIP, ACV, (no CBR/RAR), JPEG, PNG, BMP & image folders (long tap) +* Read comics from SD card +* Left-to-right or right-to-left reading +* Use touch screen or trackball to zoom, scroll & navigate +* Next & previous screen cache + +The non-free Flurry Analytics library was removed before building. +. + +Repo Type:git +Repo:https://github.com/robotmedia/droid-comic-viewer.git + +Build Version:1.4.1.4,46,1.4.1.4,srclibs=BillingLibrary@0153cf5b;FinfAgent@v0.1,\ +scanignore=build/net.androidcomics.acv,patch=unrar.patch,prebuild=\ +rm -rf src/com/github/junrar src/net/robotmedia/acv/comic/RarComic.java lib/ && \ +sed -i 's@\(reference.1=\).*@\1$$BillingLibrary$$@' project.properties && \ +sed -i '96d;97d;105d;112d' src/net/robotmedia/acv/Constants.java && \ +echo "android.library.reference.2=$$FinfAgent$$" >> project.properties + +Auto Update Mode:None +Update Check Mode:Tags +Current Version:1.4.1.4 +Current Version Code:46 + diff --git a/metadata/net.androidcomics.acv/rar.patch b/metadata/net.androidcomics.acv/rar.patch new file mode 100644 index 0000000000..203201ca45 --- /dev/null +++ b/metadata/net.androidcomics.acv/rar.patch @@ -0,0 +1,42 @@ +diff --git a/src/net/robotmedia/acv/comic/Comic.java b/src/net/robotmedia/acv/comic/Comic.java +index f9b9a3d..b0f7872 100644 +--- a/src/net/robotmedia/acv/comic/Comic.java ++++ b/src/net/robotmedia/acv/comic/Comic.java +@@ -81,35 +81,8 @@ public abstract class Comic { + } catch (Exception e) { + Log.w(TAG, "Failed to load zip comic", e); + } +- if (comic == null || comic.isError()) { +- try { +- comic = new RarComic(path); +- } catch (Exception e) { +- Log.w(TAG, "Failed to load zip comic as rar comic", e); +- } +- if (comic != null && !comic.isError()) { +- Log.i(TAG, "Loaded rar comic with wrong extension"); +- comic.type = Constants.RAR_EXTENSION; +- } +- } +- } else if (Constants.RAR_EXTENSION.equals(type) || Constants.CBR_EXTENSION.equals(type)) { +- try { +- comic = new RarComic(path); +- } catch (Exception e) { +- Log.w(TAG, "Failed to load rar comic", e); +- } +- if (comic == null || comic.isError()) { +- try { +- comic = new ZipComic(path); +- } catch (Exception e) { +- Log.w(TAG, "Failed to load rar comic as zip comic", e); +- } +- if (comic != null && !comic.isError()) { +- Log.i(TAG, "Loaded rar comic with wrong extension"); +- comic.type = Constants.ZIP_EXTENSION; +- } +- } +- } else if (FileUtils.isImage(type)) { ++ } ++ else if (FileUtils.isImage(type)) { + comic = new FileComic(path); + } else if (Constants.ACV_EXTENSION.equals(type)) { + comic = new ACVComic(path); diff --git a/metadata/org.sickstache.txt b/metadata/org.sickstache.txt index 95de90e6a4..7bb0d45ac3 100644 --- a/metadata/org.sickstache.txt +++ b/metadata/org.sickstache.txt @@ -21,8 +21,9 @@ cp ../JakeWharton-ActionBarSherlock-88fc341/library/libs/android-support-v4.jar printf "%s\n" "/^import\ android.widget.BaseAdapter;/d" "/^import\ java.util.List;/x" "w" \ | ed -s src/org/sickstache/app/ExpandableLoadingListFragment.java #doesn't work to set ANDROID_HOME -Build Version:2.2.2,43,!crashy f0939ad5e5,subdir=app,maven=yes,bindir=app/target,prebuild=\ +Build Version:2.2.2,43,!broken f0939ad5e5,subdir=app,maven=yes,bindir=app/target,prebuild=\ sed -i 's@${ANDROID_HOME}@$$SDK$$@g' ../pom.xml +#Build Version:2.2.3,44,!no source code as of 20/04 Auto Update Mode:None Update Check Mode:Market