Check-in [fe053aac46]
Overview
Comment:Added CTk
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: fe053aac4683df30d58478297827b47288c90d1e
User & Date: rkeene on 2011-09-09 15:31:04
Other Links: manifest | tags
Context
2011-09-09
18:01
Updated to install regardless of whether "dtplite" is available or not. check-in: bcecd323e5 user: rkeene tags: trunk
15:31
Added CTk check-in: fe053aac46 user: rkeene tags: trunk
2011-09-06
10:40
Added Tkimg check-in: 7488229692 user: rkeene tags: trunk
Changes

Modified .fossil-settings/ignore-glob from [002f029abe] to [c463a6a0e0].

20
21
22
23
24
25
26






27
28
29
30
31
32
33
server/buildpkgs/Tk85/src/*
server/buildpkgs/Tkimg/build
server/buildpkgs/Tkimg/build/*
server/buildpkgs/Tkimg/out
server/buildpkgs/Tkimg/out/*
server/buildpkgs/Tkimg/src
server/buildpkgs/Tkimg/src/*






server/buildpkgs/dbus-tcl/build
server/buildpkgs/dbus-tcl/build/*
server/buildpkgs/dbus-tcl/out
server/buildpkgs/dbus-tcl/out/*
server/buildpkgs/dbus-tcl/src
server/buildpkgs/dbus-tcl/src/*
server/buildpkgs/dict/build







>
>
>
>
>
>







20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
server/buildpkgs/Tk85/src/*
server/buildpkgs/Tkimg/build
server/buildpkgs/Tkimg/build/*
server/buildpkgs/Tkimg/out
server/buildpkgs/Tkimg/out/*
server/buildpkgs/Tkimg/src
server/buildpkgs/Tkimg/src/*
server/buildpkgs/ctk/build
server/buildpkgs/ctk/build/*
server/buildpkgs/ctk/out
server/buildpkgs/ctk/out/*
server/buildpkgs/ctk/src
server/buildpkgs/ctk/src/*
server/buildpkgs/dbus-tcl/build
server/buildpkgs/dbus-tcl/build/*
server/buildpkgs/dbus-tcl/out
server/buildpkgs/dbus-tcl/out/*
server/buildpkgs/dbus-tcl/src
server/buildpkgs/dbus-tcl/src/*
server/buildpkgs/dict/build

Added server/buildpkgs/ctk/build.sh version [c5026b8cdd].













































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#! /bin/bash

# Define parameters
VERS=8.0.2793
SRC="src/ctk-${VERS}.tar.gz"
SRCURL="http://www.rkeene.org/devel/ctk/ctk-${VERS}.tar.gz"
BUILDDIR="ctk-${VERS}"
export VERS SRC SRCURL BUILDDIR

# Load common functions
source ../common.sh

# Do not build if the "tcl" platform has been requested
not_platforms 'tcl'

# Download source
download_src

# Extract source
(
	rm -rf build
	mkdir -p "${PLATDIR}" >/dev/null 2>/dev/null
	mkdir build

	cd build/ || exit 1

	gzip -dc "../${SRC}" | tar -xf -
) || exit 1

# Build package
(
	cd "build/${BUILDDIR}" || exit 1

	bash ./configure --enable-shared --with-tcl="${TCLCONFIGDIR}" --prefix="${PLATDIR}" --libdir="${PLATDIR}" --bindir="${PLATDIR}" ${CONFIGUREEXTRA}

	${MAKE:-make} || exit 1

	${MAKE:-make} install || exit 1

	mv "${PLATDIR}"/lib/ctk${VERS}/* "${PLATDIR}/"
	mv "${PLATDIR}"/lib/* "${PLATDIR}/"

	cat << _EOF_ > "${PLATDIR}/pkgIndex.tcl"
package ifneeded CTk $VERS "[list set env(CTK_LIBRARY) \$dir]; [list load [file join \$dir libctk.so] Tk]; package provide CTk $VERS"
_EOF_

	rm -f "${PLATDIR}"/*.a
	rm -rf "${PLATDIR}/man" "${PLATDIR}/include" "${PLATDIR}/ctk${VERS}" "${PLATDIR}/demos" "${PLATDIR}/lib" "${PLATDIR}/bin"
) || exit 1

# Create metadata
../create_teapot "${PLATDIR}/teapot.txt" "CTk" "${VERS}" "${SRCURL}" "${PLATFORM}" "Tcl 8.4" "Curses-based Tk"

exit 0