From 90a66b2d7bbd86a5389f4ef5e17cb8db4a38a9fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D8=A3=D8=AD=D9=85=D8=AF=20=D8=A7=D9=84=D9=85=D8=AD=D9=85?= =?UTF-8?q?=D9=88=D8=AF=D9=8A=20=28Ahmed=20El-Mahmoudy=29?= Date: Mon, 13 Oct 2014 08:20:22 +0200 Subject: [PATCH 1/3] Add changelog URL --- metadata/com.gh4a.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/metadata/com.gh4a.txt b/metadata/com.gh4a.txt index 2d1b8090ca..b1b7adc42c 100644 --- a/metadata/com.gh4a.txt +++ b/metadata/com.gh4a.txt @@ -25,6 +25,8 @@ report any issues to the issue tracker. Newer versions exist elsewhere, but now include proprietary libraries, so updates are unlikely here. + +[https://github.com/slapperwan/gh4a/blob/master/CHANGES CHANGES] . Repo Type:git From 8dad94da34ff7030fa20a2220b371a4bd4aa47c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D8=A3=D8=AD=D9=85=D8=AF=20=D8=A7=D9=84=D9=85=D8=AD=D9=85?= =?UTF-8?q?=D9=88=D8=AF=D9=8A=20=28Ahmed=20El-Mahmoudy=29?= Date: Mon, 13 Oct 2014 08:40:38 +0200 Subject: [PATCH 2/3] Add build for OctoDroid 3.7.1 (38) Build using OctoDroid's GitHub API fork --- metadata/com.gh4a.txt | 13 ++++++++-- metadata/com.gh4a/gradle.patch | 30 +++++++++++++++++++++++ metadata/com.gh4a/mint.patch | 45 ++++++++++++++++++++++++++++++++++ srclibs/GH4AGitHubAPI.txt | 5 ++++ 4 files changed, 91 insertions(+), 2 deletions(-) create mode 100644 metadata/com.gh4a/gradle.patch create mode 100644 metadata/com.gh4a/mint.patch create mode 100644 srclibs/GH4AGitHubAPI.txt diff --git a/metadata/com.gh4a.txt b/metadata/com.gh4a.txt index b1b7adc42c..774996ec8d 100644 --- a/metadata/com.gh4a.txt +++ b/metadata/com.gh4a.txt @@ -38,8 +38,17 @@ Build:3.6,36 gradle=yes prebuild=rm -rf libs/android-support-v4.jar +Build:3.7.1,38 + commit=v3.7.1 + patch=mint.patch,gradle.patch + gradle=yes + srclibs=GH4AGitHubAPI@3d1878bd48d9aa3817a91b5a193b600c31e0406 + prebuild=rm -rf libs/*.jar && \ + cp -a $$GH4AGitHubAPI$$/src/org src + + Auto Update Mode:None Update Check Mode:Static -Current Version:3.6 -Current Version Code:36 +Current Version:3.7.1 +Current Version Code:38 diff --git a/metadata/com.gh4a/gradle.patch b/metadata/com.gh4a/gradle.patch new file mode 100644 index 0000000000..1dcece47da --- /dev/null +++ b/metadata/com.gh4a/gradle.patch @@ -0,0 +1,30 @@ +diff --git a/build.gradle b/build.gradle +index 7e2eff9..75b7624 100644 +--- a/build.gradle ++++ b/build.gradle +@@ -4,7 +4,7 @@ buildscript { + } + + dependencies { +- classpath 'com.android.tools.build:gradle:0.12.+' ++ classpath 'com.android.tools.build:gradle:1.0.0' + } + } + +@@ -37,16 +26,6 @@ android { + versionName "3.7.1" + } + +- buildTypes { +- debug { +- zipAlign true +- } +- release { +- zipAlign true +- signingConfig signingConfigs.playStore +- } +- } +- + sourceSets { + main { + manifest.srcFile 'AndroidManifest.xml' diff --git a/metadata/com.gh4a/mint.patch b/metadata/com.gh4a/mint.patch new file mode 100644 index 0000000000..67ea4ddba9 --- /dev/null +++ b/metadata/com.gh4a/mint.patch @@ -0,0 +1,45 @@ +diff --git a/build.gradle b/build.gradle +index 7e2eff9..39eed52 100644 +--- a/build.gradle ++++ b/build.gradle +@@ -10,9 +10,6 @@ buildscript { + + repositories { + maven { url 'http://dl.bintray.com/populov/maven' } +- /* The MINT jar should be present at this repo according +- to the docs, but it gives a 404 error +- maven { url "http://mint.splunk.com/gradle/" } */ + maven { url 'https://github.com/kageiit/maven-repo/raw/master' } + mavenCentral() + } +@@ -60,8 +57,6 @@ android { + dependencies { + compile fileTree(dir: 'libs', include: '*.jar') + +- /* see above +- compile "com.splunk.mint:mint:4.0" */ + compile 'com.android.support:support-v4:19.+' + compile 'com.actionbarsherlock:actionbarsherlock:4.4.0@aar' + compile 'com.viewpagerindicator:library:2.4.1@aar' +diff --git a/src/com/gh4a/Gh4Application.java b/src/com/gh4a/Gh4Application.java +index 245445e..e2da520 100644 +--- a/src/com/gh4a/Gh4Application.java ++++ b/src/com/gh4a/Gh4Application.java +@@ -46,7 +46,6 @@ import android.content.res.Configuration; + import android.graphics.Typeface; + + import com.gh4a.activities.SettingsActivity; +-import com.splunk.mint.Mint; + + /** + * The Class Gh4Application. +@@ -97,9 +96,6 @@ public class Gh4Application extends Application implements OnSharedPreferenceCha + selectTheme(prefs.getInt(SettingsActivity.KEY_THEME, Constants.Theme.DARK)); + prefs.registerOnSharedPreferenceChangeListener(this); + +- Mint.disableNetworkMonitoring(); +- Mint.initAndStartSession(this, "1e6a83ae"); +- + mPt = new PrettyTime(); + + mClient = new DefaultClient(); diff --git a/srclibs/GH4AGitHubAPI.txt b/srclibs/GH4AGitHubAPI.txt new file mode 100644 index 0000000000..a4e30a73a8 --- /dev/null +++ b/srclibs/GH4AGitHubAPI.txt @@ -0,0 +1,5 @@ +Repo Type:git +Repo:https://github.com/slapperwan/egit-github.git + +Subdir:org.eclipse.egit.github.core + From 112a722a90c73163b1c7bd5519476977508b1060 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D8=A3=D8=AD=D9=85=D8=AF=20=D8=A7=D9=84=D9=85=D8=AD=D9=85?= =?UTF-8?q?=D9=88=D8=AF=D9=8A=20=28Ahmed=20El-Mahmoudy=29?= Date: Mon, 13 Oct 2014 08:40:54 +0200 Subject: [PATCH 3/3] Set UCM to Tags --- metadata/com.gh4a.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata/com.gh4a.txt b/metadata/com.gh4a.txt index 774996ec8d..2bdc379ce9 100644 --- a/metadata/com.gh4a.txt +++ b/metadata/com.gh4a.txt @@ -48,7 +48,7 @@ Build:3.7.1,38 Auto Update Mode:None -Update Check Mode:Static +Update Check Mode:Tags Current Version:3.7.1 Current Version Code:38