Changeset 4981 in project


Ignore:
Timestamp:
07/10/07 12:17:16 (13 years ago)
Author:
felix winkelmann
Message:

included sources in sx egg

Files:
84 added
5 edited

Legend:

Unmodified
Added
Removed
  • sx/eggdoc-sx.scm

    r1403 r4981  
    22
    33(define license `(pre #<<EOF
    4 Copyright (c) 2005, Felix L. Winkelmann
     4Copyright (c) 2005, Dominic Giampaolo
     5
     6This library is free software; you can redistribute it and/or
     7modify it under the terms of the GNU Lesser General Public
     8License as published by the Free Software Foundation; either
     9version 2.1 of the License, or (at your option) any later version.
     10
     11This library is distributed in the hope that it will be useful,
     12but WITHOUT ANY WARRANTY; without even the implied warranty of
     13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     14Lesser General Public License for more details.
     15
     16You should have received a copy of the GNU Lesser General Public
     17License along with this library; if not, write to the Free Software
     18Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    519All rights reserved.
    6 
    7 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following
    8 conditions are met:
    9 
    10   Redistributions of source code must retain the above copyright notice, this list of conditions and the following
    11     disclaimer.
    12   Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following
    13     disclaimer in the documentation and/or other materials provided with the distribution.
    14   Neither the name of the author nor the names of its contributors may be used to endorse or promote
    15     products derived from this software without specific prior written permission.
    16 
    17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS
    18 OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
    19 AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
    20 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    21 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
    22 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    23 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
    24 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    25 POSSIBILITY OF SUCH DAMAGE.
    2620EOF
    2721) )
     
    6155     (author (a (@ (href "mailto:felix@call-with-current-continuation.org")) "felix"))
    6256     (history
     57      (version "1.3" "Included and fixed libsx sources")
    6358      (version "1.2" "Uses exteralize easyffi")
    6459      (version "1.1" "Adapted to SRFI-69 compatible hash-tables")
  • sx/sx.html

    r1403 r4981  
    11<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    2 <!-- Generated by eggdoc Revision: 1.19  -->
     2<!-- Generated by eggdoc Revision: 1.20  -->
    33<html>
    44<head>
     
    6565                /* font-size: 1.2em; */
    6666        }
    67         H3, H4, H5, H6 {
     67        H3 {
     68                color: #113;
     69                margin-bottom: 0.5em;
     70        }
     71        H4, H5, H6 {
    6872                color: #113;
    6973                margin-bottom: 1.0em;
     
    153157<h3>Version</h3>
    154158<ul>
     159<li>1.3 Included and fixed libsx sources</li>
    155160<li>1.2 Uses exteralize easyffi</li>
    156161<li>1.1 Adapted to SRFI-69 compatible hash-tables</li>
     
    355360<div class="section">
    356361<h3>License</h3>
    357 <pre id="license">
    358 <pre>Copyright (c) 2005, Felix L. Winkelmann
    359 All rights reserved.
    360 
    361 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following
    362 conditions are met:
    363 
    364   Redistributions of source code must retain the above copyright notice, this list of conditions and the following
    365     disclaimer.
    366   Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following
    367     disclaimer in the documentation and/or other materials provided with the distribution.
    368   Neither the name of the author nor the names of its contributors may be used to endorse or promote
    369     products derived from this software without specific prior written permission.
    370 
    371 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&quot; AND ANY EXPRESS
    372 OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
    373 AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
    374 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    375 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
    376 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    377 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
    378 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    379 POSSIBILITY OF SUCH DAMAGE.</pre></pre></div></div>
     362<pre>Copyright (c) 2005, Dominic Giampaolo
     363
     364This library is free software; you can redistribute it and/or
     365modify it under the terms of the GNU Lesser General Public
     366License as published by the Free Software Foundation; either
     367version 2.1 of the License, or (at your option) any later version.
     368
     369This library is distributed in the hope that it will be useful,
     370but WITHOUT ANY WARRANTY; without even the implied warranty of
     371MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     372Lesser General Public License for more details.
     373
     374You should have received a copy of the GNU Lesser General Public
     375License along with this library; if not, write to the Free Software
     376Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     377All rights reserved.</pre></div></div>
    380378<div id="footer">
    381379<hr /><a href="index.html">&lt; Egg index</a>
  • sx/sx.meta

    r1403 r4981  
    44 (synopsis "Simple X programming")
    55 (category ui)
    6  (license "BSD")
     6 (license "LGPL")
    77 (needs silex easyffi)
     8 (eggdoc "eggdoc-sx.scm")
    89 (author
    9    "<a href=\"mailto:felix@call-with-current-continuation.org\">felix</a>")
    10  (files "sx.scm" "sx.html" "sx.setup"))
     10  "Dominic Giampaolo, chicken interface by felix winkelmann")
     11 (files
     12  "sx.scm" "sx.html" "sx.setup"
     13  "libsx-2.04"
     14  "libsx-2.04/.svn"
     15  "libsx-2.04/.svn/text-base"
     16  "libsx-2.04/.svn/prop-base"
     17  "libsx-2.04/.svn/props"
     18  "libsx-2.04/.svn/tmp"
     19  "libsx-2.04/.svn/tmp/text-base"
     20  "libsx-2.04/.svn/tmp/prop-base"
     21  "libsx-2.04/.svn/tmp/props"
     22  "libsx-2.04/.svn/entries"
     23  "libsx-2.04/.svn/format"
     24  "libsx-2.04/src"
     25  "libsx-2.04/src/dialog.c"
     26  "libsx-2.04/src/drawing.h"
     27  "libsx-2.04/src/button.c"
     28  "libsx-2.04/src/colormap.c"
     29  "libsx-2.04/src/draw.c"
     30  "libsx-2.04/src/font.c"
     31  "libsx-2.04/src/libsx.c"
     32  "libsx-2.04/src/list.c"
     33  "libsx-2.04/src/menu.c"
     34  "libsx-2.04/src/misc.c"
     35  "libsx-2.04/src/popups.c"
     36  "libsx-2.04/src/resize.c"
     37  "libsx-2.04/src/scrollbar.c"
     38  "libsx-2.04/src/string_entry.c"
     39  "libsx-2.04/src/toggle.c"
     40  "libsx-2.04/src/version.c"
     41  "libsx-2.04/src/Makefile"
     42  "libsx-2.04/src/drawingP.h"
     43  "libsx-2.04/src/check_mark.h"
     44  "libsx-2.04/src/libsx.h"
     45  "libsx-2.04/src/libsx_private.h"
     46  "libsx-2.04/src/xstuff.h"
     47  "libsx-2.04/src/freq.c"
     48  "libsx-2.04/src/dirlist.c"
     49  "libsx-2.04/src/grabpix.c"
     50  "libsx-2.04/src/colorsel.c"
     51  "libsx-2.04/src/drawing.c"
     52  "libsx-2.04/src/dialog.h"
     53  "libsx-2.04/src/dialogs"
     54  "libsx-2.04/src/dialogs/dialogs.en"
     55  "libsx-2.04/src/dialogs/dialogs.fr"
     56  "libsx-2.04/src/dialogs/dialogs.de"
     57  "libsx-2.04/src/dialogs/Makefile"
     58  "libsx-2.04/src/dialogs/.svn"
     59  "libsx-2.04/src/dialogs/.svn/text-base"
     60  "libsx-2.04/src/dialogs/.svn/prop-base"
     61  "libsx-2.04/src/dialogs/.svn/props"
     62  "libsx-2.04/src/dialogs/.svn/tmp"
     63  "libsx-2.04/src/dialogs/.svn/tmp/text-base"
     64  "libsx-2.04/src/dialogs/.svn/tmp/prop-base"
     65  "libsx-2.04/src/dialogs/.svn/tmp/props"
     66  "libsx-2.04/src/dialogs/.svn/entries"
     67  "libsx-2.04/src/dialogs/.svn/format"
     68  "libsx-2.04/src/.svn"
     69  "libsx-2.04/src/.svn/text-base"
     70  "libsx-2.04/src/.svn/prop-base"
     71  "libsx-2.04/src/.svn/props"
     72  "libsx-2.04/src/.svn/tmp"
     73  "libsx-2.04/src/.svn/tmp/text-base"
     74  "libsx-2.04/src/.svn/tmp/prop-base"
     75  "libsx-2.04/src/.svn/tmp/props"
     76  "libsx-2.04/src/.svn/entries"
     77  "libsx-2.04/src/.svn/format"
     78  "libsx-2.04/src/libsx_private.h.in"
     79  "libsx-2.04/Makefile"
     80  "libsx-2.04/README"
     81  "libsx-2.04/HELP"
     82  "libsx-2.04/docs"
     83  "libsx-2.04/docs/html"
     84  "libsx-2.04/docs/html/button.html"
     85  "libsx-2.04/docs/html/color.html"
     86  "libsx-2.04/docs/html/draw_area.html"
     87  "libsx-2.04/docs/html/drawing.html"
     88  "libsx-2.04/docs/html/font.html"
     89  "libsx-2.04/docs/html/form.html"
     90  "libsx-2.04/docs/html/functions.html"
     91  "libsx-2.04/docs/html/general.libsx.html"
     92  "libsx-2.04/docs/html/label.html"
     93  "libsx-2.04/docs/html/libsx.html"
     94  "libsx-2.04/docs/html/list.html"
     95  "libsx-2.04/docs/html/local.libsx.html"
     96  "libsx-2.04/docs/html/menu.html"
     97  "libsx-2.04/docs/html/misc.html"
     98  "libsx-2.04/docs/html/popups.html"
     99  "libsx-2.04/docs/html/scrollbar.html"
     100  "libsx-2.04/docs/html/string_entry.html"
     101  "libsx-2.04/docs/html/text_edit.html"
     102  "libsx-2.04/docs/html/toggle.html"
     103  "libsx-2.04/docs/html/windows.html"
     104  "libsx-2.04/docs/html/.svn"
     105  "libsx-2.04/docs/html/.svn/text-base"
     106  "libsx-2.04/docs/html/.svn/prop-base"
     107  "libsx-2.04/docs/html/.svn/props"
     108  "libsx-2.04/docs/html/.svn/tmp"
     109  "libsx-2.04/docs/html/.svn/tmp/text-base"
     110  "libsx-2.04/docs/html/.svn/tmp/prop-base"
     111  "libsx-2.04/docs/html/.svn/tmp/props"
     112  "libsx-2.04/docs/html/.svn/entries"
     113  "libsx-2.04/docs/html/.svn/format"
     114  "libsx-2.04/docs/text"
     115  "libsx-2.04/docs/text/button.doc"
     116  "libsx-2.04/docs/text/color.doc"
     117  "libsx-2.04/docs/text/draw_area.doc"
     118  "libsx-2.04/docs/text/drawing.doc"
     119  "libsx-2.04/docs/text/font.doc"
     120  "libsx-2.04/docs/text/form.doc"
     121  "libsx-2.04/docs/text/general.libsx.doc"
     122  "libsx-2.04/docs/text/label.doc"
     123  "libsx-2.04/docs/text/libsx_intro"
     124  "libsx-2.04/docs/text/list.doc"
     125  "libsx-2.04/docs/text/menu.doc"
     126  "libsx-2.04/docs/text/misc.doc"
     127  "libsx-2.04/docs/text/popups.doc"
     128  "libsx-2.04/docs/text/scrollbar.doc"
     129  "libsx-2.04/docs/text/string_entry.doc"
     130  "libsx-2.04/docs/text/text_edit.doc"
     131  "libsx-2.04/docs/text/toggle.doc"
     132  "libsx-2.04/docs/text/windows.doc"
     133  "libsx-2.04/docs/text/functions.doc"
     134  "libsx-2.04/docs/text/.svn"
     135  "libsx-2.04/docs/text/.svn/text-base"
     136  "libsx-2.04/docs/text/.svn/prop-base"
     137  "libsx-2.04/docs/text/.svn/props"
     138  "libsx-2.04/docs/text/.svn/tmp"
     139  "libsx-2.04/docs/text/.svn/tmp/text-base"
     140  "libsx-2.04/docs/text/.svn/tmp/prop-base"
     141  "libsx-2.04/docs/text/.svn/tmp/props"
     142  "libsx-2.04/docs/text/.svn/entries"
     143  "libsx-2.04/docs/text/.svn/format"
     144  "libsx-2.04/docs/.svn"
     145  "libsx-2.04/docs/.svn/text-base"
     146  "libsx-2.04/docs/.svn/prop-base"
     147  "libsx-2.04/docs/.svn/props"
     148  "libsx-2.04/docs/.svn/tmp"
     149  "libsx-2.04/docs/.svn/tmp/text-base"
     150  "libsx-2.04/docs/.svn/tmp/prop-base"
     151  "libsx-2.04/docs/.svn/tmp/props"
     152  "libsx-2.04/docs/.svn/entries"
     153  "libsx-2.04/docs/.svn/format"
     154  "libsx-2.04/libsx_defs"
     155  "libsx-2.04/HINTS"
     156  "libsx-2.04/LICENSE")
     157 (platform unix) )
  • sx/sx.setup

    r1403 r4981  
    11(define awlib "Xaw")
    2 (define cflags "-I/usr/X11R6/include/X11/SX")
    3 (define ldflags "-L/usr/X11R6/lib -lsx -lX11 -lXmu -lXpm")
     2(define cflags "-I/usr/X11R6/include/X11 `csc -s -cflags`")
     3(define ldflags "-L/usr/X11R6/lib -lX11 -lXmu -lXpm")
    44
    55(print* "Checking for Xaw3d ...")
    66
    7 (cond ((test-compile "int main() { return 0; }" cflags (conc ldflags " -lXaw3d"))
     7(cond ((test-compile "int main() { return 0; }\n" cflags (conc ldflags " -lXaw3d"))
    88       (print " looks good")
    99       (set! awlib "Xaw3d") )
    1010      (else (print " not found")) )
    1111
    12 (make (("sx.so" ("sx.scm")
    13         (run (csc sx.scm -C -w -C ,cflags -O2 -d0 -s
    14                   -L ,@(intersperse (string-split ldflags) "-L")
    15                   -L ,(conc "-l" awlib))) ) )
     12(make (("sx.so" ("sx.o" "libsx-2.04/src/libsx.a")
     13        (run (csc sx.o libsx-2.04/src/libsx.a -s -o sx.so
     14                  ,ldflags ,(conc "-l" awlib))) )
     15       ("libsx-2.04/src/libsx.a" ("libsx-2.04/src/libsx_private.h")
     16        (run (make -C libsx-2.04/src
     17                   ,(conc "CFLAGS=\"" cflags "\""))))
     18       ("libsx-2.04/src/libsx_private.h" ("libsx-2.04/src/libsx_private.h.in")
     19        (run (cp libsx-2.04/src/libsx_private.h.in libsx-2.04/src/libsx_private.h))
     20        (patch "libsx-2.04/src/libsx_private.h" "@SHAREDIR@" (repository-path)))
     21       ("sx.o" ("sx.scm")
     22        (run (csc sx.scm -s -O2 -d0 -c -Ilibsx-2.04/src)) ) )
    1623  "sx.so")
    1724
    18 (install-extension 'sx '("sx.so" "sx.html")
    19         '((version 1.2)
    20           (documentation "sx.html") ) )
     25(install-extension
     26 'sx
     27 '("sx.so" "sx.html"
     28   ("libsx-2.04/src/dialogs/dialogs.en" "dialogs.en")
     29   ("libsx-2.04/src/dialogs/dialogs.fr" "dialogs.fr")
     30   ("libsx-2.04/src/dialogs/dialogs.de" "dialogs.de"))
     31 '((version 1.3)
     32   (documentation "sx.html")))
    2133
    2234
  • wiki/Eggs Unlimited

    r4980 r4981  
    702702<chickenegg name="bb" license="BSD" author="felix winkelmann" description="An easy-to-use GUI toolkit based on FLTK"/>
    703703
    704 <chickenegg name="sx" license="BSD" author="felix winkelmann" description="Simple X programming"/>
     704<chickenegg name="sx" license="LGPL" author="Dominic Giampaolo, chicken interface by felix winkelmann" description="Simple X programming"/>
    705705
    706706<chickenegg name="tk" license="Bremer License" author="Wolf-Dieter Busch" description="An interface to the Tk GUI toolkit"/>
Note: See TracChangeset for help on using the changeset viewer.