summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2005-05-15 20:20:52 +0000
committerAlin Năstac <mrness@gentoo.org>2005-05-15 20:20:52 +0000
commit68b1cbd11f0384bb91aff8bb4a773a69007a6438 (patch)
treea4ee73739fb0e85de4fc2e06bc0f2fc6051b417d /app-mobilephone/ksms
parentnet-misc/gsmlib -> app-mobilephone/gsmlib (diff)
downloadhistorical-68b1cbd11f0384bb91aff8bb4a773a69007a6438.tar.gz
historical-68b1cbd11f0384bb91aff8bb4a773a69007a6438.tar.bz2
historical-68b1cbd11f0384bb91aff8bb4a773a69007a6438.zip
moved from net-misc/ksms
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'app-mobilephone/ksms')
-rw-r--r--app-mobilephone/ksms/ChangeLog33
-rw-r--r--app-mobilephone/ksms/files/digest-ksms-0.1.2.41
-rw-r--r--app-mobilephone/ksms/files/ksms-0.1.2.4-empty-store.diff40
-rw-r--r--app-mobilephone/ksms/ksms-0.1.2.4.ebuild21
-rw-r--r--app-mobilephone/ksms/metadata.xml7
5 files changed, 102 insertions, 0 deletions
diff --git a/app-mobilephone/ksms/ChangeLog b/app-mobilephone/ksms/ChangeLog
new file mode 100644
index 000000000000..7525f37ab851
--- /dev/null
+++ b/app-mobilephone/ksms/ChangeLog
@@ -0,0 +1,33 @@
+# ChangeLog for app-mobilephone/ksms
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/ksms/ChangeLog,v 1.1 2005/05/15 20:20:52 mrness Exp $
+
+ 15 May 2005; Alin Nastac <mrness@gentoo.org> metadata.xml:
+ Moved from net-misc/ksms to app-mobilephone/ksms.
+
+ 23 Nov 2004; Carsten Lohrke <carlo@gentoo.org> ksms-0.1.2.4.ebuild:
+ stable on x86
+
+ 12 Nov 2004; Gustavo Zacarias <gustavoz@gentoo.org> ksms-0.1.2.4.ebuild:
+ Keyworded ~sparc
+
+ 04 Jul 2004; David Holm <dholm@gentoo.org> ksms-0.1.2.4.ebuild:
+ Added to ~ppc.
+
+ 03 Jul 2004; Carsten Lohrke <carlo@gentoo.org> ksms-0.1.2.1.ebuild,
+ ksms-0.1.2.4.ebuild:
+ QA: need-kde after R/DEPEND
+
+*ksms-0.1.2.4 (03 Jul 2004)
+
+ 03 Jul 2004; Dominik Stadler <centic@gentoo.org>
+ +files/ksms-0.1.2.4-empty-store.diff, ksms-0.1.2.1.ebuild,
+ +ksms-0.1.2.4.ebuild:
+ Add missing IUSE and SLOT, add new Version 1.2.1.4, seems to fix Bug 54742
+
+*ksms-0.1.2.1 (27 Aug 2003)
+
+ 27 Aug 2003; Caleb Tennis <caleb@gentoo.org> ksms-0.1.2.1.ebuild:
+ Initial import - closes bug #26837
+
+
diff --git a/app-mobilephone/ksms/files/digest-ksms-0.1.2.4 b/app-mobilephone/ksms/files/digest-ksms-0.1.2.4
new file mode 100644
index 000000000000..f841ea9d481c
--- /dev/null
+++ b/app-mobilephone/ksms/files/digest-ksms-0.1.2.4
@@ -0,0 +1 @@
+MD5 e157e9c1c5c3d3fbf56bd7159531e5fb ksms_0.1.2-4.tar.gz 786511
diff --git a/app-mobilephone/ksms/files/ksms-0.1.2.4-empty-store.diff b/app-mobilephone/ksms/files/ksms-0.1.2.4-empty-store.diff
new file mode 100644
index 000000000000..9b68e384fc80
--- /dev/null
+++ b/app-mobilephone/ksms/files/ksms-0.1.2.4-empty-store.diff
@@ -0,0 +1,40 @@
+--- ksms/messagestore.cpp.orig 2002-11-23 01:35:30.000000000 +0100
++++ ksms/messagestore.cpp 2003-08-17 21:10:36.000000000 +0200
+@@ -150,20 +150,25 @@
+ messages_.clear();
+
+ QFile xmlFile( messagesFile_ );
+- MessageStore::ReaderProgress progress( this );
+- XmlInputSourceWithProgress source( &xmlFile, &progress );
+- QXmlSimpleReader reader;
+- MessagesParser handler( this );
+- reader.setContentHandler( &handler );
+- reader.setDTDHandler( &handler );
+- source.reset();
+- reader.parse( source );
+-
+- reading_ = false;
++ if (xmlFile.exists()) {
++ MessageStore::ReaderProgress progress( this );
++ XmlInputSourceWithProgress source( &xmlFile, &progress );
++ QXmlSimpleReader reader;
++ MessagesParser handler( this );
++ reader.setContentHandler( &handler );
++ reader.setDTDHandler( &handler );
++ source.reset();
++ reader.parse( source );
++
++ reading_ = false;
+
+- emit storeChanged();
++ emit storeChanged();
+
+- modified_ = false;
++ modified_ = false;
++ } else {
++ reading_ = false;
++ modified_ = false;
++ }
+ }
+
+
diff --git a/app-mobilephone/ksms/ksms-0.1.2.4.ebuild b/app-mobilephone/ksms/ksms-0.1.2.4.ebuild
new file mode 100644
index 000000000000..a243c0af33ea
--- /dev/null
+++ b/app-mobilephone/ksms/ksms-0.1.2.4.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/ksms/ksms-0.1.2.4.ebuild,v 1.1 2005/05/15 20:20:52 mrness Exp $
+
+inherit kde
+
+S=${WORKDIR}/${P:0:10}
+
+DESCRIPTION="an application for sending and archiving SMS messages using a GSM mobile phone"
+HOMEPAGE="http://www.schuerig.de/michael/linux/ksms/index.html"
+SRC_URI="http://www.schuerig.de/michael/debian/ksms_0.1.2-4.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ~ppc ~sparc"
+IUSE=""
+
+DEPEND="app-mobilephone/gsmlib"
+need-kde 3
+
+PATCHES="${FILESDIR}/${P}-empty-store.diff"
diff --git a/app-mobilephone/ksms/metadata.xml b/app-mobilephone/ksms/metadata.xml
new file mode 100644
index 000000000000..8a957ae651bd
--- /dev/null
+++ b/app-mobilephone/ksms/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>mobile-phone</herd>
+<herd>kde</herd>
+<longdescription>KSms -- an application for sending and archiving SMS messages using a GSM mobile phone.</longdescription>
+</pkgmetadata>