Create Ravenports release 20231213.1
[ravenports.git] / bucket_32 / edelib
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               edelib
4 VERSION=                2.1
5 KEYWORDS=               x11
6 VARIANTS=               standard
7 SDESC[standard]=        Component construction library for EDE
8 HOMEPAGE=               http://equinox-project.org/
9 CONTACT=                Michael_Reim[kraileth@elderlinux.org]
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            SF/ede/edelib/2.1/
13 DISTFILE[1]=            edelib-2.1.tar.gz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 BUILD_DEPENDS=          jam:primary:standard
21                         dbus:dev:standard
22                         fltk:dev:standard
23 BUILDRUN_DEPENDS=       fltk:primary:standard
24                         dbus:primary:standard
25
26 USES=                   pkgconfig python jpeg png zlib shebangfix
27 XORG_COMPONENTS=        x11 xft xcursor xfixes xext xinerama
28
29 LICENSE=                LGPL20+:single
30 LICENSE_TERMS=          single:{{WRKDIR}}/TERMS
31 LICENSE_FILE=           LGPL20+:{{WRKSRC}}/COPYING
32 LICENSE_AWK=            TERMS:"^$$"
33 LICENSE_SOURCE=         TERMS:{{WRKSRC}}/edelib/Ede.h
34 LICENSE_SCHEME=         solo
35
36 SHEBANG_FILES=          tools/edelib-mk-indextheme
37                         tools/edelib-convert-icontheme
38
39 MUST_CONFIGURE=         gnu
40
41 CFLAGS=                 -fPIC
42 CXXFLAGS=               -fPIC
43
44 post-patch:
45                 ${CP} ${FILESDIR}/scheme.h ${WRKSRC}/edelib/ts
46
47 do-build:
48                 (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} jam)
49
50 do-install:
51                 (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
52                         prefix="${STAGEDIR}${PREFIX}" \
53                         jam install)
54                 # strip
55                 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/edelib-dbus-explorer
56                 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/edelib-script
57                 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/edelib-update-font-cache
58                 # remove documents
59                 ${RM} -r ${STAGEDIR}${PREFIX}/share/doc
60
61 [FILE:235:descriptions/desc.single]
62 Edelib is the support library for Equinox Desktop Environment. It provides 
63 a collection of functions that do not fit in the toolkit FLTK but are 
64 necessary for a *nix DE. It might also be useful for other applications 
65 that use FLTK.
66
67
68 [FILE:96:distinfo]
69 38030d964affece5363edaf8e8f1ac2441f1a860472537a0501f6844e383f35c      1054649 edelib-2.1.tar.gz
70
71
72 [FILE:1291:manifests/plist.single]
73 bin/
74  edelib-catchsegv
75  edelib-convert-icontheme
76  edelib-dbus-explorer
77  edelib-mk-indextheme
78  edelib-script
79  edelib-update-font-cache
80 include/edelib/
81  AnimateBox.h
82  Color.h
83  ColorDb.h
84  Config.h
85  DateTime.h
86  Debug.h
87  DesktopFile.h
88  DirWatch.h
89  Directory.h
90  EdbusConnection.h
91  EdbusContainer.h
92  EdbusData.h
93  EdbusDict.h
94  EdbusError.h
95  EdbusList.h
96  EdbusMessage.h
97  EdbusObjectPath.h
98  Ede.h
99  ExpandableGroup.h
100  File.h
101  FileTest.h
102  FontCache.h
103  FontChooser.h
104  ForeignCallback.h
105  Functional.h
106  IconChooser.h
107  IconLoader.h
108  IconTheme.h
109  List.h
110  Listener.h
111  MenuBar.h
112  MenuBase.h
113  MenuButton.h
114  MenuItem.h
115  MenuTooltip.h
116  MessageBox.h
117  MimeType.h
118  Missing.h
119  Namespace.h
120  Netwm.h
121  Nls.h
122  Pty.h
123  PtyProcess.h
124  Regex.h
125  Resource.h
126  Run.h
127  Scheme.h
128  SchemeEditor.h
129  SevenSeg.h
130  Sipc.h
131  StrUtil.h
132  String.h
133  TableBase.h
134  TempFile.h
135  Theme.h
136  ThemeLoader.h
137  TiXml.h
138  Util.h
139  Version.h
140  Window.h
141  WindowUtils.h
142  WindowXid.h
143  XSettingsClient.h
144  XSettingsCommon.h
145  XSettingsManager.h
146  edelib-config.h
147  edelib-global.h
148  for-each-macro.h
149 include/edelib/ts/
150  opdefines.h
151  scheme-private.h
152  scheme.h
153 lib/
154  libedelib.a
155  libedelib_dbus.a
156  libedelib_gui.a
157 lib/edelib/sslib/
158  init-2.ss
159  init.ss
160  theme.ss
161 lib/pkgconfig/
162  edelib-dbus.pc
163  edelib-gui-no-images.pc
164  edelib-gui.pc
165  edelib.pc
166 share/edelib/colors/rgb.txt
167
168
169 [FILE:1380:patches/patch-src_WindowUtils.cpp]
170 --- src/WindowUtils.cpp.orig    2014-06-21 23:24:07.000000000 +0200
171 +++ src/WindowUtils.cpp 2017-10-18 12:26:55.886134000 +0200
172 @@ -1,5 +1,5 @@
173  /*
174 - * $Id: WindowUtils.cpp 3106 2011-10-21 20:26:08Z karijes $
175 + * $Id: WindowUtils.cpp 3592 2014-12-02 12:48:07Z karijes $
176   *
177   * Window utils
178   * Copyright (c) 1998-2006 by Bill Spitzak and others
179 @@ -33,8 +33,10 @@
180   * These are defined in FLTK as hidden variables for some internal hacks, but are used here.
181   * XXX: possible changes in future FLTK versions
182   */
183 +#if 0
184  extern char fl_show_iconic;
185  extern int  fl_disable_transient_for;
186 +#endif 
187  
188  EDELIB_NS_BEGIN
189  
190 @@ -165,7 +167,7 @@
191                         XChangeProperty(fl_display, xp->xid, XA_WM_CLASS, XA_STRING, 8, 0, (unsigned char *)buffer, p-buffer-1);
192                 }
193  
194 -               if(win->non_modal() && xp->next && !fl_disable_transient_for) {
195 +               if(win->non_modal() && xp->next /* && !fl_disable_transient_for */) {
196                         // find some other window to be "transient for":
197                         Fl_Window* wp = xp->next->w;
198                         while(wp->parent()) 
199 @@ -193,13 +195,14 @@
200                 XWMHints *hints = XAllocWMHints();
201                 hints->input = True;
202                 hints->flags = InputHint;
203 -
204 +#if 0 
205                 if(fl_show_iconic) {
206                         hints->flags |= StateHint;
207                         hints->initial_state = IconicState;
208                         fl_show_iconic = 0;
209                         showit = 0;
210                 }
211 +#endif 
212  
213                 // This is not removed so it can be used with windows inherited from Fl_Window
214                 if(win->icon()) {
215
216
217 [FILE:7019:files/scheme.h]
218 /* SCHEME.H */
219
220 #ifndef _SCHEME_H
221 #define _SCHEME_H
222
223 #include <stdio.h>
224
225 #ifdef __cplusplus
226 extern "C" {
227 #endif
228
229 /*
230  * Default values for #define'd symbols
231  */
232
233 #define USE_INTERFACE 1
234 #define USE_MATH 0
235
236 /* If used as standalone interpreter */
237 #ifndef STANDALONE
238 # define STANDALONE 0
239 #endif
240
241 #ifndef _MSC_VER
242 # define USE_STRCASECMP 1
243 # ifndef USE_STRLWR
244 #   define USE_STRLWR 1
245 # endif
246 # define SCHEME_EXPORT
247 #else
248 # define USE_STRCASECMP 0
249 # define USE_STRLWR 0
250 # ifdef _SCHEME_SOURCE
251 #  define SCHEME_EXPORT __declspec(dllexport)
252 # else
253 #  define SCHEME_EXPORT __declspec(dllimport)
254 # endif
255 #endif
256
257 #if USE_NO_FEATURES
258 # define USE_MATH 0
259 # define USE_CHAR_CLASSIFIERS 0
260 # define USE_ASCII_NAMES 0
261 # define USE_STRING_PORTS 0
262 # define USE_ERROR_HOOK 0
263 # define USE_TRACING 0
264 # define USE_COLON_HOOK 0
265 # define USE_DL 0
266 # define USE_PLIST 0
267 #endif
268
269 /*
270  * Leave it defined if you want continuations, and also for the Sharp Zaurus.
271  * Undefine it if you only care about faster speed and not strict Scheme compatibility.
272  */
273 #define USE_SCHEME_STACK
274
275 #if USE_DL
276 # define USE_INTERFACE 1
277 #endif
278
279
280 #ifndef USE_MATH         /* If math support is needed */
281 # define USE_MATH 1
282 #endif
283
284 #ifndef USE_CHAR_CLASSIFIERS  /* If char classifiers are needed */
285 # define USE_CHAR_CLASSIFIERS 1
286 #endif
287
288 #ifndef USE_ASCII_NAMES  /* If extended escaped characters are needed */
289 # define USE_ASCII_NAMES 1
290 #endif
291
292 #ifndef USE_STRING_PORTS      /* Enable string ports */
293 # define USE_STRING_PORTS 1
294 #endif
295
296 #ifndef USE_TRACING
297 # define USE_TRACING 1
298 #endif
299
300 #ifndef USE_PLIST
301 # define USE_PLIST 0
302 #endif
303
304 /* To force system errors through user-defined error handling (see *error-hook*) */
305 #ifndef USE_ERROR_HOOK
306 # define USE_ERROR_HOOK 1
307 #endif
308
309 #ifndef USE_COLON_HOOK   /* Enable qualified qualifier */
310 # define USE_COLON_HOOK 1
311 #endif
312
313 #ifndef USE_STRCASECMP   /* stricmp for Unix */
314 # define USE_STRCASECMP 0
315 #endif
316
317 #ifndef USE_STRLWR
318 # define USE_STRLWR 1
319 #endif
320
321 #ifndef STDIO_ADDS_CR    /* Define if DOS/Windows */
322 # define STDIO_ADDS_CR 0
323 #endif
324
325 #ifndef INLINE
326 # define INLINE
327 #endif
328
329 #ifndef USE_INTERFACE
330 # define USE_INTERFACE 0
331 #endif
332
333 #ifndef SHOW_ERROR_LINE   /* Show error line in file */
334 # define SHOW_ERROR_LINE 1
335 #endif
336
337 typedef struct scheme scheme;
338 typedef struct cell *pointer;
339
340 typedef void * (*func_alloc)(size_t);
341 typedef void (*func_dealloc)(void *);
342
343 /* num, for generic arithmetic */
344 typedef struct num {
345      char is_fixnum;
346      union {
347           long ivalue;
348           double rvalue;
349      } value;
350 } num;
351
352 SCHEME_EXPORT scheme *scheme_init_new();
353 SCHEME_EXPORT scheme *scheme_init_new_custom_alloc(func_alloc malloc, func_dealloc free);
354 SCHEME_EXPORT int scheme_init(scheme *sc);
355 SCHEME_EXPORT int scheme_init_custom_alloc(scheme *sc, func_alloc, func_dealloc);
356 SCHEME_EXPORT void scheme_deinit(scheme *sc);
357 void scheme_set_input_port_file(scheme *sc, FILE *fin);
358 void scheme_set_input_port_string(scheme *sc, char *start, char *past_the_end);
359 SCHEME_EXPORT void scheme_set_output_port_file(scheme *sc, FILE *fin);
360 void scheme_set_output_port_string(scheme *sc, char *start, char *past_the_end);
361 SCHEME_EXPORT void scheme_load_file(scheme *sc, FILE *fin);
362 SCHEME_EXPORT void scheme_load_named_file(scheme *sc, FILE *fin, const char *filename);
363 SCHEME_EXPORT void scheme_load_string(scheme *sc, const char *cmd);
364 SCHEME_EXPORT pointer scheme_apply0(scheme *sc, const char *procname);
365 SCHEME_EXPORT pointer scheme_call(scheme *sc, pointer func, pointer args);
366 SCHEME_EXPORT pointer scheme_eval(scheme *sc, pointer obj);
367 void scheme_set_external_data(scheme *sc, void *p);
368 SCHEME_EXPORT void scheme_define(scheme *sc, pointer env, pointer symbol, pointer value);
369
370 typedef pointer (*foreign_func)(scheme *, pointer);
371
372 pointer _cons(scheme *sc, pointer a, pointer b, int immutable);
373 pointer mk_integer(scheme *sc, long num);
374 pointer mk_real(scheme *sc, double num);
375 pointer mk_symbol(scheme *sc, const char *name);
376 pointer gensym(scheme *sc);
377 pointer mk_string(scheme *sc, const char *str);
378 pointer mk_counted_string(scheme *sc, const char *str, int len);
379 pointer mk_empty_string(scheme *sc, int len, char fill);
380 pointer mk_character(scheme *sc, int c);
381 pointer mk_foreign_func(scheme *sc, foreign_func f);
382 void putstr(scheme *sc, const char *s);
383 int list_length(scheme *sc, pointer a);
384 int eqv(pointer a, pointer b);
385
386
387 #if USE_INTERFACE
388 struct scheme_interface {
389   void (*scheme_define)(scheme *sc, pointer env, pointer symbol, pointer value);
390   pointer (*cons)(scheme *sc, pointer a, pointer b);
391   pointer (*immutable_cons)(scheme *sc, pointer a, pointer b);
392   pointer (*reserve_cells)(scheme *sc, int n);
393   pointer (*mk_integer)(scheme *sc, long num);
394   pointer (*mk_real)(scheme *sc, double num);
395   pointer (*mk_symbol)(scheme *sc, const char *name);
396   pointer (*gensym)(scheme *sc);
397   pointer (*mk_string)(scheme *sc, const char *str);
398   pointer (*mk_counted_string)(scheme *sc, const char *str, int len);
399   pointer (*mk_character)(scheme *sc, int c);
400   pointer (*mk_vector)(scheme *sc, int len);
401   pointer (*mk_foreign_func)(scheme *sc, foreign_func f);
402   void (*putstr)(scheme *sc, const char *s);
403   void (*putcharacter)(scheme *sc, int c);
404
405   int (*is_string)(pointer p);
406   char *(*string_value)(pointer p);
407   int (*is_number)(pointer p);
408   num (*nvalue)(pointer p);
409   long (*ivalue)(pointer p);
410   double (*rvalue)(pointer p);
411   int (*is_integer)(pointer p);
412   int (*is_real)(pointer p);
413   int (*is_character)(pointer p);
414   long (*charvalue)(pointer p);
415   int (*is_list)(scheme *sc, pointer p);
416   int (*is_vector)(pointer p);
417   int (*list_length)(scheme *sc, pointer vec);
418   long (*vector_length)(pointer vec);
419   void (*fill_vector)(pointer vec, pointer elem);
420   pointer (*vector_elem)(pointer vec, int ielem);
421   pointer (*set_vector_elem)(pointer vec, int ielem, pointer newel);
422   int (*is_port)(pointer p);
423
424   int (*is_pair)(pointer p);
425   pointer (*pair_car)(pointer p);
426   pointer (*pair_cdr)(pointer p);
427   pointer (*set_car)(pointer p, pointer q);
428   pointer (*set_cdr)(pointer p, pointer q);
429
430   int (*is_symbol)(pointer p);
431   char *(*symname)(pointer p);
432
433   int (*is_syntax)(pointer p);
434   int (*is_proc)(pointer p);
435   int (*is_foreign)(pointer p);
436   char *(*syntaxname)(pointer p);
437   int (*is_closure)(pointer p);
438   int (*is_macro)(pointer p);
439   pointer (*closure_code)(pointer p);
440   pointer (*closure_env)(pointer p);
441
442   int (*is_continuation)(pointer p);
443   int (*is_promise)(pointer p);
444   int (*is_environment)(pointer p);
445   int (*is_immutable)(pointer p);
446   void (*setimmutable)(pointer p);
447   void (*load_file)(scheme *sc, FILE *fin);
448   void (*load_string)(scheme *sc, const char *input);
449 };
450 #endif
451
452 #if !STANDALONE
453 typedef struct scheme_registerable
454 {
455   foreign_func  f;
456   char *        name;
457 }
458 scheme_registerable;
459
460 void scheme_register_foreign_func_list(scheme * sc,
461                                        scheme_registerable * list,
462                                        int n);
463
464 #endif /* !STANDALONE */
465
466 #ifdef __cplusplus
467 }
468 #endif
469
470 #endif
471
472
473 /*
474 Local variables:
475 c-file-style: "k&r"
476 End:
477 */
478