summaryrefslogtreecommitdiff
path: root/packages/qpealarmclock
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/qpealarmclock
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/qpealarmclock')
-rw-r--r--packages/qpealarmclock/.mtn2git_empty0
-rw-r--r--packages/qpealarmclock/qpealarmclock-1.0.4/.mtn2git_empty0
-rw-r--r--packages/qpealarmclock/qpealarmclock-1.0.4/fix-compile.patch83
-rw-r--r--packages/qpealarmclock/qpealarmclock-1.0.4/qpealarm.patch13
4 files changed, 96 insertions, 0 deletions
diff --git a/packages/qpealarmclock/.mtn2git_empty b/packages/qpealarmclock/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/qpealarmclock/.mtn2git_empty
diff --git a/packages/qpealarmclock/qpealarmclock-1.0.4/.mtn2git_empty b/packages/qpealarmclock/qpealarmclock-1.0.4/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/qpealarmclock/qpealarmclock-1.0.4/.mtn2git_empty
diff --git a/packages/qpealarmclock/qpealarmclock-1.0.4/fix-compile.patch b/packages/qpealarmclock/qpealarmclock-1.0.4/fix-compile.patch
index e69de29bb2..bd69318a5c 100644
--- a/packages/qpealarmclock/qpealarmclock-1.0.4/fix-compile.patch
+++ b/packages/qpealarmclock/qpealarmclock-1.0.4/fix-compile.patch
@@ -0,0 +1,83 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- qpealarmclock_V1.0.4/AlarmDetails.h~fix-compile
++++ qpealarmclock_V1.0.4/AlarmDetails.h
+@@ -64,25 +64,8 @@
+ WEEKDAYS_IGNORE = 0xFF // do not change any days
+ };
+
+- static const Weekdays flags[] =
+- {
+- WEEKDAYS_MONDAY,
+- WEEKDAYS_TUESDAY,
+- WEEKDAYS_WEDNSDAY,
+- WEEKDAYS_THURSDAY,
+- WEEKDAYS_FRIDAY,
+- WEEKDAYS_SATURDAY,
+- WEEKDAYS_SUNDAY
+- };
+-
+- static const AlarmDetails::Weekdays weekdaysGroups[] =
+- {
+- AlarmDetails::WEEKDAYS_NONE,
+- AlarmDetails::WEEKDAYS_ALL,
+- AlarmDetails::WEEKDAYS_WORKDAYS,
+- AlarmDetails::WEEKDAYS_WEEKEND,
+- AlarmDetails::WEEKDAYS_IGNORE
+- };
++ static const Weekdays flags[];
++ static const AlarmDetails::Weekdays weekdaysGroups[];
+
+ AlarmDetails(int alarmNumberInit);
+ ~AlarmDetails();
+--- qpealarmclock_V1.0.4/AlarmDetails.cpp~fix-compile
++++ qpealarmclock_V1.0.4/AlarmDetails.cpp
+@@ -3,22 +3,39 @@
+ *
+ * Copyright (C) 2002 Dafydd Walters <dwalters@users.sourceforge.net>
+ * Modified by Anton Maslovsky <my-zaurus@narod.ru> 2003/01/28
+- *
++ *
+ * This program may be modified or redistributed under the terms of the GNU
+- * General Public License (GPL), version 2 or later. A copy of the GNU GPL
+- * should have accompanied the source code of this program. If not, please
++ * General Public License (GPL), version 2 or later. A copy of the GNU GPL
++ * should have accompanied the source code of this program. If not, please
+ * write to the Free Software Foundation Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ *
+ * This program is distributed without any warranty.
+- */
++ */
+
+ #include "AlarmDetails.h"
+ #include <qpe/config.h>
+ #include <qpe/alarmserver.h>
+
+-const AlarmDetails::Weekdays AlarmDetails::flags[];
+-const AlarmDetails::Weekdays AlarmDetails::weekdaysGroups[];
++const AlarmDetails::Weekdays AlarmDetails::flags[] =
++{
++ WEEKDAYS_MONDAY,
++ WEEKDAYS_TUESDAY,
++ WEEKDAYS_WEDNSDAY,
++ WEEKDAYS_THURSDAY,
++ WEEKDAYS_FRIDAY,
++ WEEKDAYS_SATURDAY,
++ WEEKDAYS_SUNDAY
++};
++
++const AlarmDetails::Weekdays AlarmDetails::weekdaysGroups[] =
++{
++ AlarmDetails::WEEKDAYS_NONE,
++ AlarmDetails::WEEKDAYS_ALL,
++ AlarmDetails::WEEKDAYS_WORKDAYS,
++ AlarmDetails::WEEKDAYS_WEEKEND,
++ AlarmDetails::WEEKDAYS_IGNORE
++};
+
+ AlarmDetails::AlarmDetails(int alarmNumberInit) : alarmNumber(alarmNumberInit)
+ {
diff --git a/packages/qpealarmclock/qpealarmclock-1.0.4/qpealarm.patch b/packages/qpealarmclock/qpealarmclock-1.0.4/qpealarm.patch
index e69de29bb2..82e8c350ab 100644
--- a/packages/qpealarmclock/qpealarmclock-1.0.4/qpealarm.patch
+++ b/packages/qpealarmclock/qpealarmclock-1.0.4/qpealarm.patch
@@ -0,0 +1,13 @@
+Nur in qpealarmclock_V1.0.4: AlarmDetails.h~.
+diff -ur qpealarmclock_V1.0.4.orig/qpealarmclock.desktop qpealarmclock_V1.0.4/qpealarmclock.desktop
+--- qpealarmclock_V1.0.4.orig/qpealarmclock.desktop 2004-06-17 00:35:48.000000000 +0200
++++ qpealarmclock_V1.0.4/qpealarmclock.desktop 2004-06-17 00:36:13.000000000 +0200
+@@ -3,7 +3,7 @@
+ Comment[de]=Ein Wecker
+ Comment[ru]=Будильник
+ Exec=qpealarmclock
+-Icon=QpeAlarmClock
++Icon=qpealarmclock/QpeAlarmClock
+ Name=Alarm Clock
+ Name[de]=Wecker
+ Type=Application