disable dashclock k9 apps ;replace with one new package ...

reasons are to do with fact that our k-9 build has a different package
name and any extensions we have published thus far only work with the
developer build. To help people using both packages we fork the package
name for the dashclock k9 app and remove the less fully featured one,
for simplicity.
This commit is contained in:
David Black 2013-06-30 18:58:37 +01:00
parent 6fb3e73cc2
commit 9b0f44f733
4 changed files with 83 additions and 20 deletions

View file

@ -1,3 +1,4 @@
Disabled:Use org.fdroid.dashclock.k9 instead
Category:Wallpaper
License:Apache2
Web Site:
@ -10,8 +11,9 @@ Summary:Display email info on the lockscreen
Description:
[[net.nurik.roman.dashclock]] extension that displays the number of
unread emails from [[org.fdroid.k9]].
'''Only works with our K-9 package.'''
Marking messages as read only works for v4.4xx of K-9.
'''Only works with our Official K-9 package.'''
Marking messages as read in K-9 only reliably updates the unread count
for v4.4xx of K-9.
.
Repo Type:git
@ -21,13 +23,9 @@ Build Version:1.1.0.1,1101,!3ded5013c3,srclibs=DashClock@v1.2,rm=libs/dashclock-
echo 'source.dir=src;$$DashClock$$/api/src' >> project.properties
Build Version:1.1.1.0,1110,!042f693,srclibs=DashClock@v1.2,rm=libs/dashclock-api-r1.1.jar,prebuild=\
echo 'source.dir=src;$$DashClock$$/api/src' >> project.properties
Build Version:1.1.1.1,1111,042f693,srclibs=DashClock@v1.2,\
rm=libs/dashclock-api-r1.1.jar,prebuild=\
find . -type f -print0 | xargs -0 sed -i 's/com.fsck.k9/org.fdroid.k9/g' && \
cp -r $$DashClock$$/api/src/com src/
Auto Update Mode:None
Update Check Mode:None
Current Version:1.1.1.1
Current Version Code:1111
Update Check Mode:Static
Current Version:1.1.1.0
Current Version Code:1110

View file

@ -1,29 +1,26 @@
Disabled:Use org.fdroid.dashclock.k9 instead
Category:Wallpaper
License:Apache2
Web Site:
Source Code:https://github.com/cketti/DashClock_K-9
Issue Tracker:https://github.com/cketti/DashClock_K-9/issues
Name:DashClock: K-9 Unread #1
Name:DashClock: K-9 Unread (Official)
Auto Name:K-9 Mail DashClock Extension
Summary:Display email info on the lockscreen
Description:
[[net.nurik.roman.dashclock]] extension that displays the number of
unread emails from [[org.fdroid.k9]], from your choice of accounts.
'''Only works with our K-9 package.'''
Marking messages as read only works for v4.4xx of K-9.
unread emails from [[org.fdroid.k9]].
'''Only works with our Official K-9 package.'''
Marking messages as read in K-9 only reliably updates the unread count
for v4.4xx of K-9.
.
Repo Type:git
Repo:https://github.com/cketti/DashClock_K-9.git
Build Version:1.0,1,release-v1.0
Build Version:1.0.1,2,release-v1.0,prebuild=\
find . -type f -print0 | xargs -0 sed -i 's/com.fsck.k9/org.fdroid.k9/g'
Build Version:1.0,1,!will only work with com.fsck.k9 at release-v1.0
Auto Update Mode:None
# Tags
Update Check Mode:None
Current Version:1.0.1
Current Version Code:2
Update Check Mode:Static

View file

@ -0,0 +1,32 @@
Category:Wallpaper
License:Apache2
Web Site:
Source Code:https://github.com/cketti/DashClock_K-9
Issue Tracker:https://github.com/cketti/DashClock_K-9/issues
Name:DashClock: K-9 Unread Count
Auto Name:K-9 Mail DashClock Extension
Summary:Display email info on the lockscreen
Description:
[[net.nurik.roman.dashclock]] extension that displays the number of
unread emails from [[org.fdroid.k9]], from your choice of accounts.
'''Only works with our K-9 package. The package name for this has
been changed, so you can install the official build too and have it work
with the official build of K-9.'''
Marking messages as read in K-9 only reliably updates the unread count
for v4.4xx of K-9.
.
Repo Type:git
Repo:https://github.com/cketti/DashClock_K-9.git
Build Version:1.0-fdroid,1,release-v1.0,forceversion=yes,patch=packageid.patch,\
prebuild=find . -type f -print0 | xargs -0 sed -i 's/com.fsck.k9/org.fdroid.k9/g'
Auto Update Mode:None
Update Check Mode:None
Current Version:1.0.1
Current Version Code:2

View file

@ -0,0 +1,36 @@
diff --git a/ant.properties b/ant.properties
new file mode 100644
index 0000000..19d5431
--- /dev/null
+++ b/ant.properties
@@ -0,0 +1 @@
+android.jar=/home/gerry/android-sdk-linux/platforms/android-17/android.jar
diff --git a/build.xml b/build.xml
index 820fcd0..278fd07 100644
--- a/build.xml
+++ b/build.xml
@@ -88,5 +88,23 @@
-->
<!-- version-tag: 1 -->
<import file="${sdk.dir}/tools/ant/build.xml" />
-
+ <target name="-package-resources" depends="-crunch">
+ <do-only-if-not-library elseText="Library project: do not package resources..." >
+ <exec executable="${aapt}" failonerror="true">
+ <arg value="package" />
+ <arg value="-f" />
+ <arg value="-M" />
+ <arg path="AndroidManifest.xml" />
+ <arg value="-F" />
+ <arg path="${out.absolute.dir}/${resource.package.file.name}" />
+ <arg value="-I" />
+ <arg path="${android.jar}" />
+ <arg value="-S" />
+ <arg path="${resource.absolute.dir}" />
+ <arg value="--auto-add-overlay" />
+ <arg value="--rename-manifest-package" />
+ <arg value="org.fdroid.dashclock.k9" />
+ </exec>
+ </do-only-if-not-library>
+ </target>
</project>