webview

Check-in [31a78d58e2]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:CHICKEN 5.1 build tweaks
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | v1.0.1
Files: files | file ages | folders
SHA3-256: 31a78d58e2afd599b3c3be2b00009de386089e034eee897f49d4d4f72b9e800f
User & Date: murphy 2020-01-12 19:45:22
Context
2020-01-12
19:46
Updated release information file Leaf check-in: 9f47857fdb user: murphy tags: trunk
19:45
CHICKEN 5.1 build tweaks check-in: 31a78d58e2 user: murphy tags: trunk, v1.0.1
2018-09-30
14:44
Added release information file check-in: 2e72abe868 user: murphy tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to build-webview.

1
2
3
4
5
6
7



8
#!/bin/sh -e
if test "$(uname -s)" = "Darwin"; then
    "$CHICKEN_CSC" -O2 -d1 -C "$CFLAGS -DWEBVIEW_COCOA -xobjective-c" -L "$LDFLAGS -framework Cocoa" webview.impl.c "$@"
elif pkg-config --exists webkit2gtk-4.0; then
    "$CHICKEN_CSC" -O2 -d1 -C "$CFLAGS -DWEBVIEW_GTK=2 $(pkg-config --cflags glib-2.0 gtk+-3.0 webkit2gtk-4.0)" -L "$LDFLAGS $(pkg-config --libs glib-2.0 gtk+-3.0 webkit2gtk-4.0)" webview.impl.c "$@"
elif pkg-config --exists webkitgtk-3.0; then
    "$CHICKEN_CSC" -O2 -d1 -C "$CFLAGS -DWEBVIEW_GTK=1 $(pkg-config --cflags glib-2.0 gtk+-3.0 webkitgtk-3.0)" -L "$LDFLAGS $(pkg-config --libs glib-2.0 gtk+-3.0 webkitgtk-3.0)" webview.impl.c "$@"



fi

<
<
|
|

|
>
>
>

1


2
3
4
5
6
7
8
9
#!/bin/sh -e


if pkg-config --exists webkit2gtk-4.0; then
    "$CHICKEN_CSC" -C "$CFLAGS -DWEBVIEW_GTK=2 $(pkg-config --cflags glib-2.0 gtk+-3.0 webkit2gtk-4.0)" -L "$LDFLAGS $(pkg-config --libs glib-2.0 gtk+-3.0 webkit2gtk-4.0)" "$@"
elif pkg-config --exists webkitgtk-3.0; then
    "$CHICKEN_CSC" -C "$CFLAGS -DWEBVIEW_GTK=1 $(pkg-config --cflags glib-2.0 gtk+-3.0 webkitgtk-3.0)" -L "$LDFLAGS $(pkg-config --libs glib-2.0 gtk+-3.0 webkitgtk-3.0)" "$@"
else
    echo "Could not find webkit2gtk-4.0 or webkitgtk-3.0 package" >&2
    exit 1
fi

Deleted build-webview.bat.

1
2
@echo off
%CHICKEN_CSC% -O2 -d1 -C %CFLAGS% -C -DWEBVIEW_WINAPI -L -ladvapi32 -L %LDFLAGS% -L -luser32 -L -lgdi32 -L -lole32 -L -loleaut32 -L -luuid webview.impl.c %*
<
<




Name change from webview.impl.c to webview-impl.c.

Changes to webview.egg.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15






16

17
18
19
20
21
22




23
24
((category ui)
 (synopsis "Multi-platform HTML user interface shell")
 (author "Thomas Chust")
 (license "BSD")
 (version "1.0.0")
 (dependencies
   srfi-1
   srfi-13
   srfi-18
   srfi-69
   utf8)
 (test-dependencies
   test)
 (components
   (extension webview






     (custom-build "build-webview")

     (source-dependencies
       "content.scm"
       "main.scm" "webview.h" "webview.impl.c")
     (modules
       webview-content
       webview))))





;; vim: set ai et ts=4 sts=2 sw=2 ft=scheme: ;;




|










>
>
>
>
>
>
|
>
|
<
<
<
<
<
>
>
>
>


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24





25
26
27
28
29
30
((category ui)
 (synopsis "Multi-platform HTML user interface shell")
 (author "Thomas Chust")
 (license "BSD")
 (version "1.0.1")
 (dependencies
   srfi-1
   srfi-13
   srfi-18
   srfi-69
   utf8)
 (test-dependencies
   test)
 (components
   (extension webview
     (modules webview-content webview)
     (source-dependencies "webview.h" "content.scm" "main.scm")
     (objects webview-impl)
     (cond-expand
       [windows (csc-options -L -ladvapi32 -L -luser32 -L -lgdi32 -L -lole32 -L -loleaut32 -L -luuid)]
       [macosx (csc-options -L -framework Cocoa)]
       [else (custom-build "build-webview")]))
   (c-object webview-impl
     (source-dependencies "webview.h")





     (cond-expand
       [windows (csc-options -C -DWEBVIEW_WINAPI)]
       [macosx (csc-options -C -DWEBVIEW_COCOA -C -xobjective-c)]
       [else (custom-build "build-webview")]))))

;; vim: set ai et ts=4 sts=2 sw=2 ft=scheme: ;;