From 0f980425204c8eff7ed6754b2e084d225c2c9f85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Tue, 20 May 2014 18:39:26 +0200 Subject: [PATCH] Remove broken support for repo and Android.mk * The repo instructions are just a duplicate of the simple git submodules * The Android.mk build instructions don't work and will never support what e.g. gradle does Anyone wanting to bundle F-Droid in a ROM can build it with git and gradle, and then including the resulting apk. --- Android.mk | 23 ----------------------- README.md | 18 ------------------ tools/repo-revisions.sh | 10 ---------- 3 files changed, 51 deletions(-) delete mode 100644 Android.mk delete mode 100755 tools/repo-revisions.sh diff --git a/Android.mk b/Android.mk deleted file mode 100644 index b15a70425..000000000 --- a/Android.mk +++ /dev/null @@ -1,23 +0,0 @@ -LOCAL_PATH:= $(call my-dir) - -include $(CLEAR_VARS) -LOCAL_PACKAGE_NAME := F-Droid -LOCAL_CERTIFICATE := platform -LOCAL_MODULE_TAGS := optional -LOCAL_SRC_FILES := \ - $(call all-java-files-under, src) \ - $(call all-java-files-under, extern/MemorizingTrustManager/src) \ - $(call all-java-files-under, extern/AndroidPinning/src) \ - $(call all-java-files-under, extern/UniversalImageLoader/library/src ) - -res_dirs = res extern/MemorizingTrustManager/res extern/AndroidPinning/res -LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs)) - -LOCAL_STATIC_JAVA_LIBRARIES += android-support-v4 - -LOCAL_AAPT_FLAGS := --auto-add-overlay -LOCAL_AAPT_FLAGS += --extra-packages org.fdroid.fdroid:de.duenndns.ssl:org.thoughtcrime.ssl.pinning - -LOCAL_PRIVILEGED_MODULE := true -include $(BUILD_PACKAGE) - diff --git a/README.md b/README.md index 07750cd43..c8996ddf9 100644 --- a/README.md +++ b/README.md @@ -22,24 +22,6 @@ The project itself supports Gradle, but some of the libraries it uses don't. Hence it is currently not possible to build F-Droid with Gradle in a clean way without manual interaction. -Building as part of a ROM -------------------------- - -Add the following lines to your repo manifest: - -``` - - - - - - - - -``` - -Adding F-Droid is then just a matter of adding `F-Droid` to your `PRODUCT_PACKAGES`. - Direct download --------------- diff --git a/tools/repo-revisions.sh b/tools/repo-revisions.sh deleted file mode 100755 index 911e3a3c3..000000000 --- a/tools/repo-revisions.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -ex - -# Update README repo manifest revisions from git - -#LAST_STABLE_TAG=$(git describe --abbrev=0 --tags --match='[0-9]*[0-9]') -#sed -i 's@\(.*name="fdroidclient\.git".*revision="\)[^"]*\(".*\)@\1'$LAST_STABLE_TAG'\2@' README.md - -git ls-tree HEAD extern/ | while read _ _ revision path; do - sed -i 's@\(.*fdroidclient/'$path'".*revision="\)[^"]*\(".*\)@\1'$revision'\2@' README.md -done