]> git.pld-linux.org Git - packages/endeavour.git/blob - endeavour-PLD.patch
- patch for PLD, for me works
[packages/endeavour.git] / endeavour-PLD.patch
1 diff -uNr endeavour-2.5.6.orig/endeavour2/config.h endeavour-2.5.6.pld/endeavour2/config.h
2 --- endeavour-2.5.6.orig/endeavour2/config.h    2005-10-07 09:01:48.000000000 +0200
3 +++ endeavour-2.5.6.pld/endeavour2/config.h     2005-12-14 09:21:25.005740728 +0100
4 @@ -343,13 +343,13 @@
5  #endif
6  
7  #define EDV_DEF_FORMAT_FRONT_PROG      EDV_DEF_GLOBAL_ARCHDEP_DATA_DIR \
8 - "/bin/format.front"
9 + "/format.front"
10  #define EDV_DEF_FSCK_FRONT_PROG                EDV_DEF_GLOBAL_ARCHDEP_DATA_DIR \
11 - "/bin/fsck.front"
12 + "/fsck.front"
13  #define EDV_DEF_ZIPTOOL_FRONT_PROG     EDV_DEF_GLOBAL_ARCHDEP_DATA_DIR \
14 - "/bin/ziptool.front"
15 + "/ziptool.front"
16  #define EDV_DEF_DOWNLOAD_FRONT_PROG    EDV_DEF_GLOBAL_ARCHDEP_DATA_DIR \
17 - "/bin/download.front"
18 + "/download.front"
19  #define EDV_DEF_MAIL_CLIENT_PROG       "/usr/bin/balsa"
20  
21  
22 diff -uNr endeavour-2.5.6.orig/endeavour2/edvcore.c endeavour-2.5.6.pld/endeavour2/edvcore.c
23 --- endeavour-2.5.6.orig/endeavour2/edvcore.c   2005-10-07 09:01:51.000000000 +0200
24 +++ endeavour-2.5.6.pld/endeavour2/edvcore.c    2005-12-23 15:27:37.817417472 +0100
25 @@ -194,6 +194,11 @@
26             EDV_CFG_PARM_FILE_MIME_TYPES,
27             PrefixPaths(global_config_dir, EDV_DEF_MIMETYPES_FILE)
28         );
29 +#elif defined(PLD)
30 +       EDV_SET_S(              
31 +           EDV_CFG_PARM_FILE_MIME_TYPES,
32 +           PrefixPaths(global_config_dir, EDV_DEF_MIMETYPES_FILE)
33 +       );
34  #else
35         EDV_SET_S(
36             EDV_CFG_PARM_FILE_MIME_TYPES,
37 diff -uNr endeavour-2.5.6.orig/endeavour2/lib/endeavour2-config.c endeavour-2.5.6.pld/endeavour2/lib/endeavour2-config.c
38 --- endeavour-2.5.6.orig/endeavour2/lib/endeavour2-config.c     2005-10-07 09:01:45.000000000 +0200
39 +++ endeavour-2.5.6.pld/endeavour2/lib/endeavour2-config.c      2005-12-22 14:55:50.856055776 +0100
40 @@ -24,7 +24,7 @@
41  
42  
43  #define CFLAGS "\
44 --I/usr/lib/endeavour2/include"
45 +-I/usr/include/endeavour2"
46  
47  #define LIBS   "\
48  -lendeavour2"
49 diff -uNr endeavour-2.5.6.orig/endeavour2/lib/Makefile endeavour-2.5.6.pld/endeavour2/lib/Makefile
50 --- endeavour-2.5.6.orig/endeavour2/lib/Makefile        2005-10-07 09:01:45.000000000 +0200
51 +++ endeavour-2.5.6.pld/endeavour2/lib/Makefile 2005-12-22 14:25:24.112762968 +0100
52 @@ -70,8 +70,8 @@
53  BIN_DIR         = $(PREFIX)/bin
54  LIB_DIR         = $(PREFIX)/lib
55  EDV_ARCH_DIR    = $(PREFIX)/lib/endeavour2
56 -EDV_INCLUDE_DIR = $(PREFIX)/lib/endeavour2/include
57 -EDV_LIB_DIR     = $(PREFIX)/lib/endeavour2/lib
58 +EDV_INCLUDE_DIR = $(PREFIX)/include/endeavour2/
59 +EDV_LIB_DIR     = $(PREFIX)/lib/
60  
61  
62  # Compile time information export:
63 diff -uNr endeavour-2.5.6.orig/endeavour2/platforms.ini endeavour-2.5.6.pld/endeavour2/platforms.ini
64 --- endeavour-2.5.6.orig/endeavour2/platforms.ini       2005-10-07 09:02:02.000000000 +0200
65 +++ endeavour-2.5.6.pld/endeavour2/platforms.ini        2005-12-23 12:04:27.893567576 +0100
66 @@ -285,6 +285,95 @@
67                         MustExist = Yes
68                         DependPath = gtk-config
69  
70 +# PLD/Linux
71 +# autor Micha³ Abramowicz <abram at pld-linux.org>
72 +# 14.12.2005
73 +Platform = PLD
74 +       Description = For PLD Linux (http://www.pld-linux.org)
75 +       PREFIX = /usr
76 +       CFLAGS = -g -O2 -Wall -DPLD -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions
77 +       LIBS = -lm
78 +       LIB_DIR =
79 +       CC = cc
80 +       CPP = c++
81 +       PlatformSearchPathInclude = /usr/include
82 +       PlatformSearchPathInclude = /usr/X11R6/include
83 +       PlatformSearchPathLib = /lib
84 +       PlatformSearchPathLib = /usr/lib
85 +       PlatformSearchPathLib = /usr/X11R6/lib
86 +       PlatformSearchPathEtc = /etc
87 +       PlatformSearchPathBin = /usr/bin
88 +       PlatformSearchPathBin = /usr/X11R6/bin
89 +       PlatformSearchPathData = /usr/share/icons
90 +       PlatformFeature = arch-i386
91 +               Description = Adds -march=i386 for 486 specific optimizations
92 +               MustExist = Preferred  
93 +               FeatureCFLAGS = -march=i386
94 +               FeatureDepend = i386
95 +                       DependType = Machine
96 +                       MustExist = Yes
97 +                       DependMachine = i386
98 +       PlatformFeature = arch-i586
99 +               Description = Adds -march=i586 for Pentium specific optimizations
100 +               MustExist = Preferred
101 +               FeatureCFLAGS = -march=i586
102 +               FeatureDepend = i586
103 +                       DependType = Machine
104 +                       MustExist = Yes
105 +                       DependMachine = i586
106 +       PlatformFeature = arch-i686
107 +               Description = Adds -march=i686 for Pentium Pro specific optimizations
108 +               MustExist = Preferred
109 +               FeatureCFLAGS = -march=i686
110 +               FeatureDepend = i686
111 +                       DependType = Machine
112 +                       MustExist = Yes
113 +                       DependMachine = i686
114 +        PlatformFeature = libgif
115 +                Description = Uncompressed GIF Library
116 +                MustExist = Preffered
117 +                FeatureCFLAGS = -DHAVE_LIBGIF
118 +                FeatureLIBS = -lgif
119 +                FeatureDepend = libgif-devel
120 +                        DependType = Header
121 +                        MustExist = Yes
122 +                        DependPath = gif_lib.h
123 +                        DependGrepString = DGifOpenFileName
124 +        PlatformFeature = XF86VidMode
125 +                Description = XF86 Video Mode extension
126 +                MustExist = Preferred                  
127 +                FeatureCFLAGS = -DHAVE_XF86_VIDMODE
128 +                FeatureLIBS = -lXxf86vm
129 +                FeatureLIB_DIR = -L/usr/X11R6/lib/
130 +                FeatureDepend = xf86vidmode-lib
131 +                        DependType = Library
132 +                        MustExist = Yes
133 +                        DependPath = libXxf86vm.a
134 +                        DependGrepString = XF86VidModeQueryExtension
135 +                FeatureDepend = xf86vidmode-devel
136 +                        DependType = Header
137 +                        MustExist = Yes
138 +                        DependPath = X11/extensions/xf86vmode.h
139 +                        DependGrepString = XF86VidModeQueryExtension
140 +       PlatformFeature = Imlib
141 +               Description = Image library
142 +               MustExist = Preffered
143 +               FeatureCFLAGS = `imlib-config --cflags` -DHAVE_IMLIB
144 +               FeatureLIBS = `imlib-config --libs`
145 +               FeatureDepend = Imlib-devel
146 +                       DependType = Program
147 +                       MustExist = Yes
148 +                       DependPath = imlib-config
149 +       PlatformFeature = libgtk
150 +               Description = GTK+ 1.2.x
151 +               MustExist = Yes
152 +               FeatureCFLAGS = `gtk-config --cflags`
153 +               FeatureLIBS = `gtk-config --libs`
154 +               FeatureLIB_DIR = -L/usr/X11R6/lib
155 +               FeatureDepend = gtk-devel
156 +                       DependType = Program
157 +                       MustExist = Yes
158 +                       DependPath = gtk-config
159  
160  # Debian GNU/Linux
161  #
This page took 0.114088 seconds and 3 git commands to generate.