diff options
author | Rene Wagner <rw@handhelds.org> | 2006-05-13 15:42:03 +0200 |
---|---|---|
committer | Rene Wagner <rw@handhelds.org> | 2006-05-13 15:42:03 +0200 |
commit | 5a5346dfbec459c10d9e61e16e125b83975a1ef1 (patch) | |
tree | 342e16f3fe790d03b93294344e6154459888939f /org.handhelds.familiar/packages/qpealarmclock |
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e35772d79306d1d9de19c12b23681618532d.
Diffstat (limited to 'org.handhelds.familiar/packages/qpealarmclock')
3 files changed, 122 insertions, 0 deletions
diff --git a/org.handhelds.familiar/packages/qpealarmclock/qpealarmclock-1.0.4/fix-compile.patch b/org.handhelds.familiar/packages/qpealarmclock/qpealarmclock-1.0.4/fix-compile.patch new file mode 100644 index 0000000..bd69318 --- /dev/null +++ b/org.handhelds.familiar/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/org.handhelds.familiar/packages/qpealarmclock/qpealarmclock-1.0.4/qpealarm.patch b/org.handhelds.familiar/packages/qpealarmclock/qpealarmclock-1.0.4/qpealarm.patch new file mode 100644 index 0000000..82e8c35 --- /dev/null +++ b/org.handhelds.familiar/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 diff --git a/org.handhelds.familiar/packages/qpealarmclock/qpealarmclock_1.0.4.bb b/org.handhelds.familiar/packages/qpealarmclock/qpealarmclock_1.0.4.bb new file mode 100644 index 0000000..19b8532 --- /dev/null +++ b/org.handhelds.familiar/packages/qpealarmclock/qpealarmclock_1.0.4.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "Alarm Clock" +SECTION = "opie/applications" +PRIORITY = "optional" +MAINTAINER = "Team Opie <opie@handhelds.org>" +LICENSE = "GPL" +AUTHOR = "Dafydd Walters" +HOMEPAGE = "http://www.linux-solutions.at/projects/zaurus/applications-AlarmClock.html" + +SRC_URI = "http://handhelds.org/~zecke/oe_packages/qpealarmclock_V1.0.4.tar.gz \ + file://qpealarm.patch;patch=1 \ + file://fix-compile.patch;patch=1 " + +S = "${WORKDIR}/qpealarmclock_V${PV}" +PR = "r1" + +APPNAME = "qpealarmclock" +APPTYPE = "binary" +APPDESKTOP = "${S}" + +do_install () { + install -d ${D}${palmtopdir}/pics/${APPNAME}/ + install -m 0644 ${S}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ + +} + +inherit opie |