Hi,
I am looking at 0install <http://0install.net> and I thought I would add
some basic support for 0install to Trojita.
Attached the patch
Tell me what you think. I took the liberty to choose an URI, but it can
be changed.
Mildred
>From 2b04c648732b68ad5c119fa2d87a687422b71dee Mon Sep 17 00:00:00 2001
From: Shanti Bouchez <[email protected]>
Date: Tue, 11 Sep 2012 17:54:12 +0200
Subject: [PATCH] Added support for 0install
---
README | 24 ++++++++++++++++++++++++
Trojita.xml | 40 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 64 insertions(+)
create mode 100644 Trojita.xml
diff --git a/README b/README
index 6edc2e2..1df713d 100644
--- a/README
+++ b/README
@@ -2,3 +2,27 @@ This is Trojitá, a Qt IMAP e-mail client.
More information about Trojitá are avilable from its homepage at
http://trojita.flaska.net/
+
+Building
+--------
+
+You would need Qt4. Then:
+
+ qmake-qt4
+ make
+
+Building and running using 0install
+-----------------------------------
+
+Build using 0compile:
+
+ 0alias 0compile http://0install.net/2006/interfaces/0compile.xml
+ 0compile autocompile ./Trojita.xml
+
+When 0compile suceeds, it prints a line like:
+
+ Storing build in SOMEDIR#Trojita.xml/SOMESUBDIR
+
+You can then run Trojitá using:
+
+ 0launch SOMEDIR#Trojita.xml/SOMESUBDIR/0install/feed.xml
diff --git a/Trojita.xml b/Trojita.xml
new file mode 100644
index 0000000..2739dfc
--- /dev/null
+++ b/Trojita.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" ?>
+<interface uri="https://gitorious.org/~mildred/trojita/mildreds-trojita/trees/master/Trojita.xml" xmlns="http://zero-install.sourceforge.net/2004/injector/interface" xmlns:compile="http://zero-install.sourceforge.net/2006/namespaces/0compile">
+ <name>Trojita</name>
+ <summary>Trojitá IMAP E-Mail user Agent</summary>
+ <description>
+Trojita is a Qt IMAP e-mail client. Some highlights of Trojitá are:
+
+- A pure Qt4 application with no additional dependencies
+
+- Robust IMAP core implemented using Qt's Model-View framework
+
+- Standards compliance is a design goal
+
+- On-demand message list and body part loading
+
+- Offline IMAP support (you can access data you already have; there's no
+complete "offline mail access" yet, though)
+
+- Support for bandwidth-saving mode aimed at mobile users with expensive
+connection
+
+- IMAP over SSH -- in addition to usual SSL/TLS connections, the server could be
+accessed via SSH
+
+- Safe dealing with HTML mail (actually more robust than Thunderbird's)</description>
+
+ <homepage>http://trojita.flaska.net/</homepage>
+
+ <feed-for interface="http://trojita.flaska.net/0install/Trojita.xml"/>
+ <category>Network</category>
+ <implementation arch="*-src" id="." version="0.3-post"
+ compile:command="qmake-qt4 -makefile && $MAKE && $MAKE INSTALL_ROOT="$DISTDIR" install"
+ compile:dup-src="true"
+ compile:binary-main="usr/local/bin/trojita">
+ <requires interface="http://gfxmonk.net/dist/0install/qmake-qt4.xml"/>
+ <requires interface="http://repo.roscidus.com/devel/make">
+ <executable-in-var name="MAKE"/>
+ </requires>
+ </implementation>
+</interface>
--
1.7.11.4