--- plasma-widget-googlecalendar-1.2.orig/Messages.sh +++ plasma-widget-googlecalendar-1.2/Messages.sh @@ -0,0 +1,4 @@ +#! /usr/bin/env bash +$EXTRACTRC --cstart='#' *.rc *.ui >> ./rc.py +$XGETTEXT --language=Python *.py contents/code/*py -o $podir/plasma_applet_gcal.pot +rm -f rc.py --- plasma-widget-googlecalendar-1.2.orig/po/plasma_applet_gcal.pot +++ plasma-widget-googlecalendar-1.2/po/plasma_applet_gcal.pot @@ -0,0 +1,45 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR This_file_is_part_of_KDE +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: http://bugs.kde.org\n" +"POT-Creation-Date: 2009-08-26 16:59+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#: contents/code/main.py:78 contents/code/settingsform.py:71 +msgid "Google Calendar Settings" +msgstr "" + +#: contents/code/settingsform.py:72 +msgid "" +"\n" +"\n" +"

Enter your Google " +"username. If you have a GMail account, @gmail.com is optional. If you have Google Apps hosted on your own " +"domain, simply enter your email address for that domain.

" +msgstr "" + +#: contents/code/settingsform.py:77 +msgid "&Email:" +msgstr "" + +#: contents/code/settingsform.py:78 +msgid "&Password:" +msgstr "" --- plasma-widget-googlecalendar-1.2.orig/debian/copyright +++ plasma-widget-googlecalendar-1.2/debian/copyright @@ -0,0 +1,28 @@ +Name: plasma-widget-googlecalendar +Maintainer: Jonathan Riddell +Source: http://www.kde-look.org/content/show.php?content=104182 + +Files: * +Copyright: 2009 Erlend Hamberg +License: GPL-3 + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2 of + the License or (at your option) version 3 or any later version + accepted by the membership of KDE e.V. (or its successor approved + by the membership of KDE e.V.), which shall act as a proxy + defined in Section 14 of version 3 of the license. + + This program 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Files: debian/* +Copyright: 2009 Canonical Ltd +License: GPL-2+ + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL'. --- plasma-widget-googlecalendar-1.2.orig/debian/control +++ plasma-widget-googlecalendar-1.2/debian/control @@ -0,0 +1,13 @@ +Source: plasma-widget-googlecalendar +Section: kde +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Jonathan Riddell +Build-Depends: cdbs, debhelper (>= 7) +Standards-Version: 3.8.2 + +Package: plasma-widget-googlecalendar +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, plasma-scriptengine-python +Description: Plasma Widget for Google calendar + A simple Plasmoid for viewing coming events from Google Calendar. --- plasma-widget-googlecalendar-1.2.orig/debian/compat +++ plasma-widget-googlecalendar-1.2/debian/compat @@ -0,0 +1 @@ +7 --- plasma-widget-googlecalendar-1.2.orig/debian/plasma-widget-googlecalendar.install +++ plasma-widget-googlecalendar-1.2/debian/plasma-widget-googlecalendar.install @@ -0,0 +1,2 @@ +metadata.desktop usr/share/kde4/apps/plasma/plasmoids/gcal/ +contents usr/share/kde4/apps/plasma/plasmoids/gcal/ --- plasma-widget-googlecalendar-1.2.orig/debian/rules +++ plasma-widget-googlecalendar-1.2/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/rules/debhelper.mk + +install/plasma-widget-googlecalendar:: + mkdir -p $(CURDIR)/debian/plasma-widget-googlecalendar/usr/share/kde4/services/ + cp $(CURDIR)/metadata.desktop $(CURDIR)/debian/plasma-widget-googlecalendar/usr/share/kde4/services/plasma-applet-gcal.desktop --- plasma-widget-googlecalendar-1.2.orig/debian/changelog +++ plasma-widget-googlecalendar-1.2/debian/changelog @@ -0,0 +1,25 @@ +plasma-widget-googlecalendar (1.2-0ubuntu3) lucid; urgency=low + + * Add patch kubuntu_01_kwallet_api.diff, closes LP: #566643, plasmoid + error when loading password + * Use simple-patchsys in debian/rules + + -- Jonathan Riddell Mon, 19 Apr 2010 14:33:46 +0100 + +plasma-widget-googlecalendar (1.2-0ubuntu2) karmic; urgency=low + + * Add Messages.sh + + -- Jonathan Riddell Wed, 26 Aug 2009 17:00:08 +0100 + +plasma-widget-googlecalendar (1.2-0ubuntu1) karmic; urgency=low + + * New upstream release + + -- Jonathan Riddell Wed, 26 Aug 2009 13:08:15 +0100 + +plasma-widget-googlecalendar (1.0-0ubuntu1) karmic; urgency=low + + * Initial release + + -- Jonathan Riddell Fri, 14 Aug 2009 13:48:33 +0100 --- plasma-widget-googlecalendar-1.2.orig/debian/patches/kubuntu_01_kwallet_api.diff +++ plasma-widget-googlecalendar-1.2/debian/patches/kubuntu_01_kwallet_api.diff @@ -0,0 +1,26 @@ +--- plasma-widget-googlecalendar/contents/code/main.py 2009-08-26 13:02:42.000000000 +0100 ++++ plasma-widget-googlecalendar/contents/code/main.py 2010-04-19 14:29:14.000000000 +0100 +@@ -183,7 +183,9 @@ + username = str(self.wallet.entryList().first()) + + password = QString() +- self.wallet.readPassword(username, password) ++ walletReturn = self.wallet.readPassword(username) ++ if walletReturn[0] == 0: ++ password = walletReturn[1] + + self.storeUserAndDomain(username, str(password)) + src = self.getSrc() +--- plasma-widget-googlecalendar/contents/code/settings.py 2009-08-26 13:02:51.000000000 +0100 ++++ plasma-widget-googlecalendar/contents/code/settings.py 2010-04-19 14:00:43.000000000 +0100 +@@ -38,7 +38,9 @@ + if not self.wallet.entryList().isEmpty(): + username = str(self.wallet.entryList().first()) + password = QString() +- self.wallet.readPassword(username, password) ++ walletReturn = self.wallet.readPassword(username) ++ if walletReturn[0] == 0: ++ password = walletReturn[1] + self.le_email.setText(username) + self.le_password.setText(str(password)) + else: