From: Dirk-Jan C. Binnema Date: Sat, 19 May 2007 08:56:30 +0000 (+0000) Subject: * new & improved modest X-Git-Tag: git_migration_finished~6 X-Git-Url: http://git.maemo.org/git/?p=email-providers;a=commitdiff_plain;h=bfd7b17a57e732a1dad323b5d923aafb659aa95a * new & improved modest * new structure for svn * added needed extra packages maemo-providers-data, libwpeditor-plus garage-r916 --- diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..4c0fe03 --- /dev/null +++ b/Makefile.am @@ -0,0 +1,37 @@ +# Copyright (c) 2006,2007 Nokia Corporation +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are +# met: +# +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# * Neither the name of the Nokia Corporation nor the names of its +# contributors may be used to endorse or promote products derived from +# this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +# IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER +# OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +# Install the provider data file: +PROVIDER_DATA_FILE=provider-data.keyfile +providerdatadir=$(datadir)/modest/provider-data +providerdata_DATA = $(PROVIDER_DATA_FILE) + +# Install the pkg-config file, so that Modest knows where to find the provider data file: +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = modest-providers-data.pc diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..9207756 --- /dev/null +++ b/configure.ac @@ -0,0 +1,43 @@ +# Copyright (c) 2006,2007 Nokia Corporation +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are +# met: +# +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# * Neither the name of the Nokia Corporation nor the names of its +# contributors may be used to endorse or promote products derived from +# this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +# IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER +# OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +AC_INIT([maemo-providers-data],[1.0],[http://maemo.org]) + +AC_CONFIG_SRCDIR(provider-data.keyfile) +AM_INIT_AUTOMAKE([dist-bzip2]) + +if test x$prefix = xNONE; then + prefix=/usr/local +fi +AC_SUBST(prefix) + +AC_OUTPUT([ +Makefile +maemo-providers-data.pc +]) + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..79e727a --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +maemo-providers-data (1.0-0) unstable; urgency=low + + * Initial debian package + + -- Dirk-Jan C. Binnema Fri, 11 May 2007 07:56:25 +0300 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +4 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..ea11200 --- /dev/null +++ b/debian/control @@ -0,0 +1,12 @@ +Source: maemo-providers-data +Section: mail +Priority: optional +Maintainer: Dirk-Jan C. Binnema +Build-Depends: debhelper (>= 4.0.0), cdbs, dpkg-dev (>= 1.13.18), gnome-common +Standards-Version: 3.6.0 + +Package: maemo-providers-data +Architecture: any +Depends: +Description: Providers data for easy-setup of modest (Maemo Version) + Provides data for the easy setup of the modest email client diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..74b4a52 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,19 @@ +Copyright (C) 2006-2007 Dirk-Jan C. Binnema + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with self library; if not, write to the + Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. + +On Debian systems, the complete text of the GNU Library General +Public License can be found in `/usr/share/common-licenses/LGPL-2'. diff --git a/debian/maemo-providers-data.install b/debian/maemo-providers-data.install new file mode 100644 index 0000000..aacb930 --- /dev/null +++ b/debian/maemo-providers-data.install @@ -0,0 +1,3 @@ +usr/lib/pkgconfig/* +usr/share/doc/modest-providers-data/* +usr/share/modest/provider-data/* diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..10127dc --- /dev/null +++ b/debian/rules @@ -0,0 +1,95 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +config.status: + if [ ! -x configure ]; then ./autogen.sh; fi + dh_testdir + # Add here commands to configure the package. + CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --sysconfdir=/etc --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + + +build: build-stamp + +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) distclean +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/modest + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs +# dh_installexamples + dh_install --sourcedir=debian/tmp -v +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo +# dh_installman +# dh_link +# dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs +# dh_installdeb +# dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install diff --git a/maemo-providers-data.pc.in b/maemo-providers-data.pc.in new file mode 100644 index 0000000..c2f6851 --- /dev/null +++ b/maemo-providers-data.pc.in @@ -0,0 +1,6 @@ +prefix=@prefix@ +path=@datadir@/modest/provider-data/provider-data.keyfile + +Name: maemo-providers-data +Description: Providers data for use by the easy-setup feature of the Modest email client. +Version: @PACKAGE_VERSION@ diff --git a/provider-data.keyfile b/provider-data.keyfile new file mode 100644 index 0000000..2a6bfb9 --- /dev/null +++ b/provider-data.keyfile @@ -0,0 +1,59 @@ +# +# This file is part of maemo-providers-data +# +[aim.com] +Name=AIM +MCC=0 +OutgoingMailServer=smtp.aim.com +IncomingMailServer=imap.aim.com +IncomingSecurity=0 +MailboxType=imap +[aol.com] +Name=AOL +MCC=0 +OutgoingMailServer=smtp.aol.com +IncomingMailServer=imap.aol.com +IncomingSecurity=0 +MailboxType=imap +[gmail.com] +Name=Gmail +MCC=0 +OutgoingMailServer=smtp.gmail.com +SecureSmtp=true +IncomingMailServer=pop.gmail.com:995 +IncomingSecurity=2 +MailboxType=pop +[lycos.com] +Name=Lycos Mail +MCC=0 +OutgoingMailServer=smtp.mail.lycos.com +IncomingMailServer=pop.mail.lycos.com +IncomingSecurity=0 +MailboxType=pop +[hotmail.com] +Name=Hotmail +MCC=0 +OutgoingMailServer=mail.hotmail.com +IncomingMailServer=smtp.hotmail.com +IncomingSecurity=0 +MailboxType=pop +[yahoo.com] +Name=Yahoo Mail Plus +MCC=0 +OutgoingMailServer=smtp.mail.yahoo.com +IncomingMailServer=pop.mail.yahoo.com +IncomingSecurity=0 +MailboxType=pop +[TinymailImap] +Name=TinymailIMAP +MCC=206 +IncomingMailServer=imap1.tinymail.org +IncomingSecurity=0 +MailboxType=imap +[TinymailPop] +Name=TinymailPOP +MCC=206 +IncomingMailServer=imap1.tinymail.org +IncomingSecurity=0 +MailboxType=pop +