author | zecke <zecke> | 2004-02-20 00:47:08 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-02-20 00:47:08 (UTC) |
commit | e54e1cb01c3da0655fc6e86bd9d169b002a63e66 (patch) (unidiff) | |
tree | 393cca9eb79bfbb8610f903383fdd21c0d7f36a8 | |
parent | 2fa9c89fc93d8bf58e3c2239691d6b6d92dc0f93 (diff) | |
download | opie-e54e1cb01c3da0655fc6e86bd9d169b002a63e66.zip opie-e54e1cb01c3da0655fc6e86bd9d169b002a63e66.tar.gz opie-e54e1cb01c3da0655fc6e86bd9d169b002a63e66.tar.bz2 |
These values should be set by the buildsystem.
So If Calibration,malloc instead of new,OpiePlayer,Shutdown
isn't working anymore this is because the buildsystem
lacks sane defaults for your system
-rw-r--r-- | library/custom-ipaq.h | 4 | ||||
-rw-r--r-- | library/custom-ramses.h | 7 | ||||
-rw-r--r-- | library/custom-sharp.h | 7 | ||||
-rw-r--r-- | library/custom-simpad.h | 3 | ||||
-rwxr-xr-x | library/custom-yopy.h | 2 |
5 files changed, 0 insertions, 23 deletions
diff --git a/library/custom-ipaq.h b/library/custom-ipaq.h index 8321199..553b571 100644 --- a/library/custom-ipaq.h +++ b/library/custom-ipaq.h | |||
@@ -5,20 +5,16 @@ | |||
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #define QPE_NEED_CALIBRATION | ||
22 | #define OPIE_SOUND_FRAGMENT_SHIFT 14 | ||
23 | #define USE_REALTIME_AUDIO_THREAD | ||
24 | #define OPIE_NEW_MALLOC | ||
diff --git a/library/custom-ramses.h b/library/custom-ramses.h index 5a1abe4..6e94b2d 100644 --- a/library/custom-ramses.h +++ b/library/custom-ramses.h | |||
@@ -5,39 +5,32 @@ | |||
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #define QPE_NEED_CALIBRATION | ||
22 | #define QPE_HAVE_TOGGLELIGHT | ||
23 | #define QPE_STARTMENU | ||
24 | #define USE_REALTIME_AUDIO_THREAD | ||
25 | #define OPIE_NEW_MALLOC | ||
26 | |||
27 | |||
28 | #include <unistd.h> | 21 | #include <unistd.h> |
29 | #include <stdio.h> | 22 | #include <stdio.h> |
30 | #include <signal.h> | 23 | #include <signal.h> |
31 | #include <fcntl.h> | 24 | #include <fcntl.h> |
32 | #include <sys/ioctl.h> | 25 | #include <sys/ioctl.h> |
33 | 26 | ||
34 | #define QPE_HAVE_MEMALERTER | 27 | #define QPE_HAVE_MEMALERTER |
35 | 28 | ||
36 | #define QPE_MEMALERTER_IMPL \ | 29 | #define QPE_MEMALERTER_IMPL \ |
37 | static void sig_handler(int sig) \ | 30 | static void sig_handler(int sig) \ |
38 | { \ | 31 | { \ |
39 | switch (sig) { \ | 32 | switch (sig) { \ |
40 | case SIGHUP: \ | 33 | case SIGHUP: \ |
41 | memstate = VeryLow; \ | 34 | memstate = VeryLow; \ |
42 | break; \ | 35 | break; \ |
43 | case SIGUSR1: \ | 36 | case SIGUSR1: \ |
diff --git a/library/custom-sharp.h b/library/custom-sharp.h index b0e67b8..9fd63e5 100644 --- a/library/custom-sharp.h +++ b/library/custom-sharp.h | |||
@@ -5,40 +5,33 @@ | |||
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #define QPE_NEED_CALIBRATION | ||
22 | #define QPE_OWNAPM | ||
23 | #define QPE_HAVE_TOGGLELIGHT | ||
24 | #define QPE_NOCIBAUD | 21 | #define QPE_NOCIBAUD |
25 | #define QPE_STARTMENU | ||
26 | #define OPIE_NEW_MALLOC | ||
27 | #define USE_REALTIME_AUDIO_THREAD | ||
28 | #define OPIE_NO_SOUND_PCM_READ_BITS | ||
29 | 22 | ||
30 | #include <asm/sharp_apm.h> | 23 | #include <asm/sharp_apm.h> |
31 | #ifndef APM_IOC_BATTERY_BACK_CHK | 24 | #ifndef APM_IOC_BATTERY_BACK_CHK |
32 | #define APM_IOC_BATTERY_BACK_CHK _IO(APM_IOC_MAGIC, 32) | 25 | #define APM_IOC_BATTERY_BACK_CHK _IO(APM_IOC_MAGIC, 32) |
33 | #endif | 26 | #endif |
34 | #ifndef APM_IOC_BATTERY_MAIN_CHK | 27 | #ifndef APM_IOC_BATTERY_MAIN_CHK |
35 | #define APM_IOC_BATTERY_MAIN_CHK _IO(APM_IOC_MAGIC, 33) | 28 | #define APM_IOC_BATTERY_MAIN_CHK _IO(APM_IOC_MAGIC, 33) |
36 | #endif | 29 | #endif |
37 | 30 | ||
38 | #include <unistd.h> | 31 | #include <unistd.h> |
39 | #include <stdio.h> | 32 | #include <stdio.h> |
40 | #include <signal.h> | 33 | #include <signal.h> |
41 | #include <fcntl.h> | 34 | #include <fcntl.h> |
42 | #include <sys/ioctl.h> | 35 | #include <sys/ioctl.h> |
43 | 36 | ||
44 | 37 | ||
diff --git a/library/custom-simpad.h b/library/custom-simpad.h index c951296..327475f 100644 --- a/library/custom-simpad.h +++ b/library/custom-simpad.h | |||
@@ -1,9 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * GPLv2 only zecke@handhelds.org | 2 | * GPLv2 only zecke@handhelds.org |
3 | hOlgAr | 3 | hOlgAr |
4 | */ | 4 | */ |
5 | 5 | ||
6 | 6 | ||
7 | #define QPE_NEED_CALIBRATION | ||
8 | #define OPIE_NEW_MALLOC | ||
9 | #define USE_REALTIME_AUDIO_THREAD | ||
diff --git a/library/custom-yopy.h b/library/custom-yopy.h index 510b05b..43d89bc 100755 --- a/library/custom-yopy.h +++ b/library/custom-yopy.h | |||
@@ -1,8 +1,6 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** | 2 | ** |
3 | ** Customization for Yopy | 3 | ** Customization for Yopy |
4 | ** | 4 | ** |
5 | **********************************************************************/ | 5 | **********************************************************************/ |
6 | 6 | ||
7 | // Don't yet know how to calibrate from Opie | ||
8 | // #define QPE_NEED_CALIBRATION | ||