curses 1.4.4 → 1.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +6 -0
- data/.github/workflows/macos.yml +1 -1
- data/.github/workflows/push_gem.yml +48 -0
- data/.github/workflows/ubuntu.yml +2 -2
- data/.github/workflows/windows.yml +2 -2
- data/History.md +23 -0
- data/README.md +7 -0
- data/curses.gemspec +1 -1
- data/ext/curses/curses.c +7 -7
- data/sample/colors.rb +6 -1
- data/sample/form.rb +1 -1
- data/sample/menu.rb +2 -0
- metadata +9 -251
- data/vendor/PDCurses/.gitignore +0 -47
- data/vendor/PDCurses/.travis.yml +0 -49
- data/vendor/PDCurses/CMakeLists.txt +0 -68
- data/vendor/PDCurses/HISTORY.md +0 -2036
- data/vendor/PDCurses/IMPLEMNT.md +0 -327
- data/vendor/PDCurses/Makefile +0 -27
- data/vendor/PDCurses/README.md +0 -77
- data/vendor/PDCurses/acs_defs.h +0 -265
- data/vendor/PDCurses/appveyor.yml +0 -218
- data/vendor/PDCurses/cmake/README.md +0 -71
- data/vendor/PDCurses/cmake/build_dependencies.cmake +0 -178
- data/vendor/PDCurses/cmake/build_options.cmake +0 -25
- data/vendor/PDCurses/cmake/dll_version.cmake +0 -26
- data/vendor/PDCurses/cmake/gen_config_header.cmake +0 -43
- data/vendor/PDCurses/cmake/get_version.cmake +0 -17
- data/vendor/PDCurses/cmake/make_uninstall.cmake +0 -19
- data/vendor/PDCurses/cmake/project_common.cmake +0 -121
- data/vendor/PDCurses/cmake/resource.in.cmake +0 -52
- data/vendor/PDCurses/cmake/sdl2_ttf/CMakeLists.txt +0 -83
- data/vendor/PDCurses/cmake/target_arch.cmake +0 -36
- data/vendor/PDCurses/cmake/version.in.cmake +0 -73
- data/vendor/PDCurses/cmake/watcom_open_dos16_toolchain.cmake +0 -96
- data/vendor/PDCurses/cmake/watcom_open_dos32_toolchain.cmake +0 -106
- data/vendor/PDCurses/cmake/watcom_open_os2v2_toolchain.cmake +0 -105
- data/vendor/PDCurses/curses.h +0 -1846
- data/vendor/PDCurses/curspriv.h +0 -134
- data/vendor/PDCurses/demos/README.md +0 -25
- data/vendor/PDCurses/demos/firework.c +0 -144
- data/vendor/PDCurses/demos/newtest.c +0 -581
- data/vendor/PDCurses/demos/ozdemo.c +0 -447
- data/vendor/PDCurses/demos/ptest.c +0 -283
- data/vendor/PDCurses/demos/rain.c +0 -157
- data/vendor/PDCurses/demos/testcurs.c +0 -1607
- data/vendor/PDCurses/demos/tui.c +0 -1048
- data/vendor/PDCurses/demos/tui.h +0 -65
- data/vendor/PDCurses/demos/tuidemo.c +0 -233
- data/vendor/PDCurses/demos/version.c +0 -61
- data/vendor/PDCurses/demos/worm.c +0 -432
- data/vendor/PDCurses/demos/xmas.c +0 -955
- data/vendor/PDCurses/dos/CMakeLists.txt +0 -47
- data/vendor/PDCurses/dos/Makefile +0 -105
- data/vendor/PDCurses/dos/Makefile.bcc +0 -83
- data/vendor/PDCurses/dos/Makefile.dmc +0 -257
- data/vendor/PDCurses/dos/Makefile.msc +0 -113
- data/vendor/PDCurses/dos/Makefile.wcc +0 -107
- data/vendor/PDCurses/dos/README.md +0 -51
- data/vendor/PDCurses/dos/bccdos.lrf +0 -9
- data/vendor/PDCurses/dos/mscdos.lrf +0 -50
- data/vendor/PDCurses/dos/pdcclip.c +0 -132
- data/vendor/PDCurses/dos/pdcdisp.c +0 -135
- data/vendor/PDCurses/dos/pdcdos.h +0 -194
- data/vendor/PDCurses/dos/pdcgetsc.c +0 -98
- data/vendor/PDCurses/dos/pdckbd.c +0 -513
- data/vendor/PDCurses/dos/pdcscrn.c +0 -785
- data/vendor/PDCurses/dos/pdcsetsc.c +0 -101
- data/vendor/PDCurses/dos/pdcutil.c +0 -212
- data/vendor/PDCurses/libobjs.mif +0 -26
- data/vendor/PDCurses/makedist.mif +0 -20
- data/vendor/PDCurses/man/Makefile +0 -37
- data/vendor/PDCurses/man/README.md +0 -21
- data/vendor/PDCurses/man/intro.md +0 -361
- data/vendor/PDCurses/man/manext.c +0 -119
- data/vendor/PDCurses/man/sdl.md +0 -152
- data/vendor/PDCurses/man/sdl2.md +0 -58
- data/vendor/PDCurses/man/x11.md +0 -407
- data/vendor/PDCurses/ncurses/CMakeLists.txt +0 -66
- data/vendor/PDCurses/ncurses/README.md +0 -26
- data/vendor/PDCurses/ncurses/makefile +0 -29
- data/vendor/PDCurses/os2/CMakeLists.txt +0 -41
- data/vendor/PDCurses/os2/Makefile +0 -132
- data/vendor/PDCurses/os2/Makefile.bcc +0 -90
- data/vendor/PDCurses/os2/Makefile.wcc +0 -43
- data/vendor/PDCurses/os2/README.md +0 -43
- data/vendor/PDCurses/os2/iccos2.lrf +0 -50
- data/vendor/PDCurses/os2/iccos2.mak +0 -256
- data/vendor/PDCurses/os2/pdcclip.c +0 -188
- data/vendor/PDCurses/os2/pdcdisp.c +0 -93
- data/vendor/PDCurses/os2/pdcgetsc.c +0 -89
- data/vendor/PDCurses/os2/pdckbd.c +0 -521
- data/vendor/PDCurses/os2/pdcos2.h +0 -55
- data/vendor/PDCurses/os2/pdcscrn.c +0 -449
- data/vendor/PDCurses/os2/pdcsetsc.c +0 -112
- data/vendor/PDCurses/os2/pdcutil.c +0 -52
- data/vendor/PDCurses/panel.h +0 -56
- data/vendor/PDCurses/pdcurses/README.md +0 -25
- data/vendor/PDCurses/pdcurses/addch.c +0 -693
- data/vendor/PDCurses/pdcurses/addchstr.c +0 -245
- data/vendor/PDCurses/pdcurses/addstr.c +0 -240
- data/vendor/PDCurses/pdcurses/attr.c +0 -359
- data/vendor/PDCurses/pdcurses/beep.c +0 -68
- data/vendor/PDCurses/pdcurses/bkgd.c +0 -223
- data/vendor/PDCurses/pdcurses/border.c +0 -411
- data/vendor/PDCurses/pdcurses/clear.c +0 -159
- data/vendor/PDCurses/pdcurses/color.c +0 -298
- data/vendor/PDCurses/pdcurses/debug.c +0 -109
- data/vendor/PDCurses/pdcurses/delch.c +0 -96
- data/vendor/PDCurses/pdcurses/deleteln.c +0 -211
- data/vendor/PDCurses/pdcurses/deprec.c +0 -27
- data/vendor/PDCurses/pdcurses/getch.c +0 -417
- data/vendor/PDCurses/pdcurses/getstr.c +0 -474
- data/vendor/PDCurses/pdcurses/getyx.c +0 -139
- data/vendor/PDCurses/pdcurses/inch.c +0 -127
- data/vendor/PDCurses/pdcurses/inchstr.c +0 -214
- data/vendor/PDCurses/pdcurses/initscr.c +0 -367
- data/vendor/PDCurses/pdcurses/inopts.c +0 -324
- data/vendor/PDCurses/pdcurses/insch.c +0 -271
- data/vendor/PDCurses/pdcurses/insstr.c +0 -264
- data/vendor/PDCurses/pdcurses/instr.c +0 -246
- data/vendor/PDCurses/pdcurses/kernel.c +0 -259
- data/vendor/PDCurses/pdcurses/keyname.c +0 -157
- data/vendor/PDCurses/pdcurses/mouse.c +0 -438
- data/vendor/PDCurses/pdcurses/move.c +0 -57
- data/vendor/PDCurses/pdcurses/outopts.c +0 -159
- data/vendor/PDCurses/pdcurses/overlay.c +0 -214
- data/vendor/PDCurses/pdcurses/pad.c +0 -260
- data/vendor/PDCurses/pdcurses/panel.c +0 -633
- data/vendor/PDCurses/pdcurses/printw.c +0 -126
- data/vendor/PDCurses/pdcurses/refresh.c +0 -279
- data/vendor/PDCurses/pdcurses/scanw.c +0 -578
- data/vendor/PDCurses/pdcurses/scr_dump.c +0 -213
- data/vendor/PDCurses/pdcurses/scroll.c +0 -101
- data/vendor/PDCurses/pdcurses/slk.c +0 -591
- data/vendor/PDCurses/pdcurses/termattr.c +0 -182
- data/vendor/PDCurses/pdcurses/terminfo.c +0 -217
- data/vendor/PDCurses/pdcurses/touch.c +0 -163
- data/vendor/PDCurses/pdcurses/util.c +0 -312
- data/vendor/PDCurses/pdcurses/window.c +0 -569
- data/vendor/PDCurses/sdl1/Makefile +0 -129
- data/vendor/PDCurses/sdl1/Makefile.mng +0 -110
- data/vendor/PDCurses/sdl1/README.md +0 -31
- data/vendor/PDCurses/sdl1/deffont.h +0 -385
- data/vendor/PDCurses/sdl1/deficon.h +0 -23
- data/vendor/PDCurses/sdl1/pdcclip.c +0 -131
- data/vendor/PDCurses/sdl1/pdcdisp.c +0 -373
- data/vendor/PDCurses/sdl1/pdcgetsc.c +0 -30
- data/vendor/PDCurses/sdl1/pdckbd.c +0 -405
- data/vendor/PDCurses/sdl1/pdcscrn.c +0 -414
- data/vendor/PDCurses/sdl1/pdcsdl.h +0 -31
- data/vendor/PDCurses/sdl1/pdcsetsc.c +0 -64
- data/vendor/PDCurses/sdl1/pdcutil.c +0 -40
- data/vendor/PDCurses/sdl1/sdltest.c +0 -79
- data/vendor/PDCurses/sdl2/CMakeLists.txt +0 -76
- data/vendor/PDCurses/sdl2/Makefile +0 -135
- data/vendor/PDCurses/sdl2/Makefile.vc +0 -164
- data/vendor/PDCurses/sdl2/README.md +0 -34
- data/vendor/PDCurses/sdl2/deffont.h +0 -385
- data/vendor/PDCurses/sdl2/deficon.h +0 -23
- data/vendor/PDCurses/sdl2/pdcclip.c +0 -93
- data/vendor/PDCurses/sdl2/pdcdisp.c +0 -534
- data/vendor/PDCurses/sdl2/pdcgetsc.c +0 -30
- data/vendor/PDCurses/sdl2/pdckbd.c +0 -480
- data/vendor/PDCurses/sdl2/pdcscrn.c +0 -443
- data/vendor/PDCurses/sdl2/pdcsdl.h +0 -33
- data/vendor/PDCurses/sdl2/pdcsetsc.c +0 -67
- data/vendor/PDCurses/sdl2/pdcutil.c +0 -39
- data/vendor/PDCurses/sdl2/sdltest.c +0 -81
- data/vendor/PDCurses/term.h +0 -48
- data/vendor/PDCurses/version.mif +0 -7
- data/vendor/PDCurses/vt/CMakeLists.txt +0 -28
- data/vendor/PDCurses/vt/Makefile +0 -135
- data/vendor/PDCurses/vt/Makefile.bcc +0 -111
- data/vendor/PDCurses/vt/Makefile.dmc +0 -258
- data/vendor/PDCurses/vt/Makefile.vc +0 -144
- data/vendor/PDCurses/vt/Makefile.wcc +0 -107
- data/vendor/PDCurses/vt/README.md +0 -64
- data/vendor/PDCurses/vt/pdcclip.c +0 -20
- data/vendor/PDCurses/vt/pdcdisp.c +0 -284
- data/vendor/PDCurses/vt/pdcgetsc.c +0 -27
- data/vendor/PDCurses/vt/pdckbd.c +0 -394
- data/vendor/PDCurses/vt/pdcscrn.c +0 -434
- data/vendor/PDCurses/vt/pdcsetsc.c +0 -45
- data/vendor/PDCurses/vt/pdcutil.c +0 -43
- data/vendor/PDCurses/vt/pdcvt.h +0 -16
- data/vendor/PDCurses/watcom.mif +0 -68
- data/vendor/PDCurses/wincon/CMakeLists.txt +0 -27
- data/vendor/PDCurses/wincon/Makefile.bcc +0 -88
- data/vendor/PDCurses/wincon/Makefile.dmc +0 -256
- data/vendor/PDCurses/wincon/Makefile.lcc +0 -273
- data/vendor/PDCurses/wincon/Makefile.mng +0 -176
- data/vendor/PDCurses/wincon/Makefile.vc +0 -144
- data/vendor/PDCurses/wincon/Makefile.wcc +0 -51
- data/vendor/PDCurses/wincon/README.md +0 -85
- data/vendor/PDCurses/wincon/pdcclip.c +0 -174
- data/vendor/PDCurses/wincon/pdcdisp.c +0 -143
- data/vendor/PDCurses/wincon/pdcgetsc.c +0 -55
- data/vendor/PDCurses/wincon/pdckbd.c +0 -786
- data/vendor/PDCurses/wincon/pdcscrn.c +0 -717
- data/vendor/PDCurses/wincon/pdcsetsc.c +0 -91
- data/vendor/PDCurses/wincon/pdcurses.ico +0 -0
- data/vendor/PDCurses/wincon/pdcurses.rc +0 -28
- data/vendor/PDCurses/wincon/pdcutil.c +0 -41
- data/vendor/PDCurses/wincon/pdcwin.h +0 -31
- data/vendor/PDCurses/wingui/CMakeLists.txt +0 -27
- data/vendor/PDCurses/wingui/Makefile.bcc +0 -85
- data/vendor/PDCurses/wingui/Makefile.dmc +0 -259
- data/vendor/PDCurses/wingui/Makefile.lcc +0 -273
- data/vendor/PDCurses/wingui/Makefile.mng +0 -171
- data/vendor/PDCurses/wingui/Makefile.vc +0 -144
- data/vendor/PDCurses/wingui/Makefile.wcc +0 -51
- data/vendor/PDCurses/wingui/README.md +0 -93
- data/vendor/PDCurses/wingui/pdcclip.c +0 -174
- data/vendor/PDCurses/wingui/pdcdisp.c +0 -718
- data/vendor/PDCurses/wingui/pdcgetsc.c +0 -30
- data/vendor/PDCurses/wingui/pdckbd.c +0 -143
- data/vendor/PDCurses/wingui/pdcscrn.c +0 -2797
- data/vendor/PDCurses/wingui/pdcsetsc.c +0 -89
- data/vendor/PDCurses/wingui/pdcurses.ico +0 -0
- data/vendor/PDCurses/wingui/pdcurses.rc +0 -28
- data/vendor/PDCurses/wingui/pdcutil.c +0 -61
- data/vendor/PDCurses/wingui/pdcwin.h +0 -122
- data/vendor/PDCurses/x11/Makefile.in +0 -754
- data/vendor/PDCurses/x11/PDCurses.spec +0 -82
- data/vendor/PDCurses/x11/README.md +0 -62
- data/vendor/PDCurses/x11/ScrollBox.c +0 -319
- data/vendor/PDCurses/x11/ScrollBox.h +0 -51
- data/vendor/PDCurses/x11/ScrollBoxP.h +0 -70
- data/vendor/PDCurses/x11/aclocal.m4 +0 -994
- data/vendor/PDCurses/x11/big_icon.xbm +0 -46
- data/vendor/PDCurses/x11/compose.h +0 -201
- data/vendor/PDCurses/x11/config.guess +0 -1500
- data/vendor/PDCurses/x11/config.h.in +0 -100
- data/vendor/PDCurses/x11/config.sub +0 -1616
- data/vendor/PDCurses/x11/configure +0 -6700
- data/vendor/PDCurses/x11/configure.ac +0 -295
- data/vendor/PDCurses/x11/debian/changelog +0 -6
- data/vendor/PDCurses/x11/debian/compat +0 -1
- data/vendor/PDCurses/x11/debian/control +0 -11
- data/vendor/PDCurses/x11/debian/copyright +0 -27
- data/vendor/PDCurses/x11/debian/rules +0 -98
- data/vendor/PDCurses/x11/install-sh +0 -253
- data/vendor/PDCurses/x11/little_icon.xbm +0 -14
- data/vendor/PDCurses/x11/ncurses_cfg.h +0 -45
- data/vendor/PDCurses/x11/pdcclip.c +0 -173
- data/vendor/PDCurses/x11/pdcdisp.c +0 -85
- data/vendor/PDCurses/x11/pdcgetsc.c +0 -28
- data/vendor/PDCurses/x11/pdckbd.c +0 -104
- data/vendor/PDCurses/x11/pdcscrn.c +0 -258
- data/vendor/PDCurses/x11/pdcsetsc.c +0 -95
- data/vendor/PDCurses/x11/pdcutil.c +0 -52
- data/vendor/PDCurses/x11/pdcx11.c +0 -316
- data/vendor/PDCurses/x11/pdcx11.h +0 -191
- data/vendor/PDCurses/x11/sb.c +0 -155
- data/vendor/PDCurses/x11/x11.c +0 -3686
- data/vendor/PDCurses/x11/xcurses-config.in +0 -81
@@ -1,295 +0,0 @@
|
|
1
|
-
dnl Process this file with autoconf to produce a configure script.
|
2
|
-
|
3
|
-
AC_INIT([PDCurses], [3.4], [wmcbrine@gmail.com], [PDCurses])
|
4
|
-
AC_CONFIG_SRCDIR([pdcx11.h])
|
5
|
-
|
6
|
-
AC_SUBST(prefix)
|
7
|
-
|
8
|
-
AC_PROG_CC
|
9
|
-
|
10
|
-
AC_CONFIG_HEADER(config.h)
|
11
|
-
dnl Checks for system first
|
12
|
-
AC_CANONICAL_SYSTEM([])
|
13
|
-
|
14
|
-
on_qnx=no
|
15
|
-
on_osx=no
|
16
|
-
case "$target" in
|
17
|
-
*hp-hpux*)
|
18
|
-
SYS_DEFS="-D_HPUX_SOURCE"
|
19
|
-
;;
|
20
|
-
*ibm-aix*)
|
21
|
-
SYS_DEFS="-D_ALL_SOURCE"
|
22
|
-
;;
|
23
|
-
*dec-osf*)
|
24
|
-
SYS_DEFS="-D_XOPEN_SOURCE_EXTENDED"
|
25
|
-
;;
|
26
|
-
*pc-sco*)
|
27
|
-
SYS_DEFS="-UM_XENIX -b elf"
|
28
|
-
;;
|
29
|
-
*qnx*)
|
30
|
-
on_qnx=yes
|
31
|
-
SYS_DEFS="-Q"
|
32
|
-
;;
|
33
|
-
*apple-darwin*)
|
34
|
-
on_osx=yes
|
35
|
-
MH_CHECK_OSX_ARCH()
|
36
|
-
SYS_DEFS="$valid_arch_flags"
|
37
|
-
EEXTRA="$valid_arch_flags"
|
38
|
-
;;
|
39
|
-
*)
|
40
|
-
;;
|
41
|
-
esac
|
42
|
-
AC_SUBST(SYS_DEFS)
|
43
|
-
AC_SUBST(EEXTRA)
|
44
|
-
|
45
|
-
MH_CHECK_MAX_SIGNALS(NSIG __sys_nsig)
|
46
|
-
|
47
|
-
dnl Check for other programs.
|
48
|
-
AC_PROG_LN_S
|
49
|
-
AC_PROG_RANLIB
|
50
|
-
AC_PROG_INSTALL
|
51
|
-
AC_PROG_MAKE_SET
|
52
|
-
|
53
|
-
dnl ensure that the system has System V IPC support
|
54
|
-
MH_IPC
|
55
|
-
|
56
|
-
if test $ac_cv_header_stdc != yes; then
|
57
|
-
AC_MSG_ERROR([Need ANSI C headers])
|
58
|
-
fi
|
59
|
-
|
60
|
-
dnl Checks for libraries.
|
61
|
-
|
62
|
-
dnl we check for dlfcn.h or dl.h so we know if we can build shared objects
|
63
|
-
AC_CHECK_HEADERS(fcntl.h \
|
64
|
-
sys/time.h \
|
65
|
-
sys/select.h \
|
66
|
-
dlfcn.h \
|
67
|
-
dl.h
|
68
|
-
)
|
69
|
-
|
70
|
-
dnl Checks for typedefs, structures, and compiler characteristics.
|
71
|
-
AC_HEADER_TIME
|
72
|
-
MH_CHECK_LIB(socket nls)
|
73
|
-
AC_SUBST(MH_EXTRA_LIBS)
|
74
|
-
MH_CHECK_CC_O
|
75
|
-
|
76
|
-
dnl Checks for library functions.
|
77
|
-
AC_TYPE_SIGNAL
|
78
|
-
AC_CHECK_FUNCS(vsscanf usleep poll vsnprintf)
|
79
|
-
|
80
|
-
dnl Check for X includes and X libraries
|
81
|
-
AC_PATH_X
|
82
|
-
MH_CHECK_X_INC
|
83
|
-
MH_CHECK_X_LIB
|
84
|
-
MH_CHECK_X_HEADERS(DECkeysym.h Sunkeysym.h xpm.h XF86keysym.h)
|
85
|
-
MH_CHECK_X_KEYDEFS(XK_KP_Delete XK_KP_Insert XK_KP_End XK_KP_Down XK_KP_Next \
|
86
|
-
XK_KP_Left XK_KP_Right XK_KP_Home XK_KP_Up XK_KP_Prior XK_KP_Begin)
|
87
|
-
MH_CHECK_X_TYPEDEF(XPointer)
|
88
|
-
dnl
|
89
|
-
dnl extra for xpm library
|
90
|
-
if test $ac_cv_header_xpm_h = yes; then
|
91
|
-
MH_XLIBS="$MH_XLIBS -lXpm"
|
92
|
-
fi
|
93
|
-
dnl ---------- allow --enable-debug to compile in debug mode ---------
|
94
|
-
AC_ARG_ENABLE(debug,
|
95
|
-
[ --enable-debug turn on debugging],
|
96
|
-
[with_debug=$enableval],
|
97
|
-
[with_debug=no],
|
98
|
-
)
|
99
|
-
cflags_g="`echo $CFLAGS | grep -c '\-g'`"
|
100
|
-
cflags_O="`echo $CFLAGS | grep -c '\-O'`"
|
101
|
-
|
102
|
-
if test "$with_debug" = yes; then
|
103
|
-
if test "$cflags_g" = "0"; then
|
104
|
-
CFLAGS="${CFLAGS} -g"
|
105
|
-
fi
|
106
|
-
if test "$cflags_O" != "0"; then
|
107
|
-
CFLAGS="`echo ${CFLAGS} | sed -e s/-O.//`"
|
108
|
-
fi
|
109
|
-
CFLAGS="${CFLAGS} -DPDCDEBUG"
|
110
|
-
else
|
111
|
-
if test "$cflags_O" = "0"; then
|
112
|
-
CFLAGS="${CFLAGS} -O"
|
113
|
-
fi
|
114
|
-
if test "$cflags_g" != "0"; then
|
115
|
-
CFLAGS="`echo ${CFLAGS} | sed -e s/-g//`"
|
116
|
-
fi
|
117
|
-
fi
|
118
|
-
if test "$ac_cv_prog_CC" = "gcc"; then
|
119
|
-
if test "$with_debug" = yes; then
|
120
|
-
CFLAGS="${CFLAGS} -Wall"
|
121
|
-
else
|
122
|
-
CFLAGS="-O2 -Wall -fomit-frame-pointer"
|
123
|
-
fi
|
124
|
-
fi
|
125
|
-
if test "$on_qnx" = yes; then
|
126
|
-
if test "$with_debug" = yes; then
|
127
|
-
CFLAGS="-g"
|
128
|
-
else
|
129
|
-
CFLAGS="-Otax"
|
130
|
-
fi
|
131
|
-
fi
|
132
|
-
|
133
|
-
dnl --------------- check for wide character support -----------------
|
134
|
-
dnl allow --enable-widec to include wide character support
|
135
|
-
AC_ARG_ENABLE(widec,
|
136
|
-
[ --enable-widec include support for wide characters],
|
137
|
-
[with_widec=$enableval],
|
138
|
-
[with_widec=no],
|
139
|
-
)
|
140
|
-
PDC_WIDE=""
|
141
|
-
if test "$with_widec" = yes; then
|
142
|
-
PDC_WIDE="-DPDC_WIDE"
|
143
|
-
SYS_DEFS="$SYS_DEFS $PDC_WIDE"
|
144
|
-
fi
|
145
|
-
AC_SUBST(PDC_WIDE)
|
146
|
-
|
147
|
-
dnl -------------------- check for XIM support -----------------------
|
148
|
-
dnl allow --enable-xim to include XIM support
|
149
|
-
AC_ARG_ENABLE(xim,
|
150
|
-
[ --enable-xim include support for XIM],
|
151
|
-
[with_xim=$enableval],
|
152
|
-
[with_xim=no],
|
153
|
-
)
|
154
|
-
if test "$with_xim" = yes; then
|
155
|
-
SYS_DEFS="$SYS_DEFS -DPDC_XIM"
|
156
|
-
fi
|
157
|
-
|
158
|
-
dnl ------------------------ force UTF-8? ----------------------------
|
159
|
-
dnl allow --enable-force-utf8 to override locale settings
|
160
|
-
AC_ARG_ENABLE(force-utf8,
|
161
|
-
[ --enable-force-utf8 override locale settings; use UTF-8],
|
162
|
-
[force_utf8=$enableval],
|
163
|
-
[force_utf8=no],
|
164
|
-
)
|
165
|
-
if test "$force_utf8" = yes; then
|
166
|
-
SYS_DEFS="$SYS_DEFS -DPDC_FORCE_UTF8"
|
167
|
-
fi
|
168
|
-
|
169
|
-
dnl ----------------- check for Purify support -----------------------
|
170
|
-
dnl allow --enable-purify to enable linking with Purify
|
171
|
-
AC_ARG_ENABLE(purify,
|
172
|
-
[ --enable-purify link with Purify (TM)],
|
173
|
-
[with_purify=$enableval],
|
174
|
-
[with_purify=no],
|
175
|
-
)
|
176
|
-
if test "$with_purify" = yes; then
|
177
|
-
PURIFY="purify"
|
178
|
-
else
|
179
|
-
PURIFY=""
|
180
|
-
fi
|
181
|
-
AC_SUBST(PURIFY)
|
182
|
-
|
183
|
-
dnl --------------------- check for Xaw3d library --------------------
|
184
|
-
dnl allow --with-xaw3d to link with PDCurses
|
185
|
-
AC_ARG_WITH(xaw3d,
|
186
|
-
[ --with-xaw3d link with Xaw3d],
|
187
|
-
[with_xaw3d=$withval],
|
188
|
-
[with_xaw3d=no],
|
189
|
-
)
|
190
|
-
if test "$with_xaw3d" = yes; then
|
191
|
-
AC_DEFINE([USE_XAW3D], [1],
|
192
|
-
[Define if you want to use Xaw3d library]
|
193
|
-
)
|
194
|
-
fi
|
195
|
-
|
196
|
-
dnl --------------------- check for neXtaw library -------------------
|
197
|
-
dnl allow --with-nextaw to link with PDCurses
|
198
|
-
AC_ARG_WITH(nextaw,
|
199
|
-
[ --with-nextaw link with neXtaw],
|
200
|
-
[with_nextaw=$withval],
|
201
|
-
[with_nextaw=no],
|
202
|
-
)
|
203
|
-
if test "$with_nextaw" = yes; then
|
204
|
-
AC_DEFINE([USE_NEXTAW], [1],
|
205
|
-
[Define if you want to use neXtaw library]
|
206
|
-
)
|
207
|
-
fi
|
208
|
-
|
209
|
-
dnl -------------- check how to make shared libraries ----------------
|
210
|
-
dnl Force the ability of shared library usage
|
211
|
-
USE_ABI=yes
|
212
|
-
MH_SHARED_LIBRARY(XCurses)
|
213
|
-
|
214
|
-
MH_CHECK_RPM()
|
215
|
-
MH_GET_DISTRO_NAME()
|
216
|
-
MH_CHECK_ARCH
|
217
|
-
|
218
|
-
AC_CONFIG_FILES([Makefile xcurses-config])
|
219
|
-
AC_OUTPUT
|
220
|
-
|
221
|
-
AC_DEFINE([PDC_MAX_SIGNALS], [],
|
222
|
-
[Define as the system defined limit for number of signals]
|
223
|
-
)
|
224
|
-
|
225
|
-
AC_DEFINE([HAVE_DECKEYSYM_H], [],
|
226
|
-
[Define if you have the <DECkeySym.h> header file]
|
227
|
-
)
|
228
|
-
|
229
|
-
AC_DEFINE([HAVE_SUNKEYSYM_H], [],
|
230
|
-
[Define if you have the <Sunkeysym.h> header file]
|
231
|
-
)
|
232
|
-
|
233
|
-
AC_DEFINE([HAVE_XF86KEYSYM_H], [],
|
234
|
-
[Define if you have the <XF86keysym.h> header file]
|
235
|
-
)
|
236
|
-
|
237
|
-
AC_DEFINE([HAVE_XPM_H], [],
|
238
|
-
[Define if you have the <xpm.h> header file]
|
239
|
-
)
|
240
|
-
|
241
|
-
AC_DEFINE([HAVE_XK_KP_DELETE], [],
|
242
|
-
[Define if you have this defined in <keysym.h>]
|
243
|
-
)
|
244
|
-
|
245
|
-
AC_DEFINE([HAVE_XK_KP_INSERT], [],
|
246
|
-
[Define if you have this defined in <keysym.h>]
|
247
|
-
)
|
248
|
-
|
249
|
-
AC_DEFINE([HAVE_XK_KP_END], [],
|
250
|
-
[Define if you have this defined in <keysym.h>]
|
251
|
-
)
|
252
|
-
|
253
|
-
AC_DEFINE([HAVE_XK_KP_DOWN], [],
|
254
|
-
[Define if you have this defined in <keysym.h>]
|
255
|
-
)
|
256
|
-
|
257
|
-
AC_DEFINE([HAVE_XK_KP_NEXT], [],
|
258
|
-
[Define if you have this defined in <keysym.h>]
|
259
|
-
)
|
260
|
-
|
261
|
-
AC_DEFINE([HAVE_XK_KP_LEFT], [],
|
262
|
-
[Define if you have this defined in <keysym.h>]
|
263
|
-
)
|
264
|
-
|
265
|
-
AC_DEFINE([HAVE_XK_KP_RIGHT], [],
|
266
|
-
[Define if you have this defined in <keysym.h>]
|
267
|
-
)
|
268
|
-
|
269
|
-
AC_DEFINE([HAVE_XK_KP_HOME], [],
|
270
|
-
[Define if you have this defined in <keysym.h>]
|
271
|
-
)
|
272
|
-
|
273
|
-
AC_DEFINE([HAVE_XK_KP_UP], [],
|
274
|
-
[Define if you have this defined in <keysym.h>]
|
275
|
-
)
|
276
|
-
|
277
|
-
AC_DEFINE([HAVE_XK_KP_PRIOR], [],
|
278
|
-
[Define if you have this defined in <keysym.h>]
|
279
|
-
)
|
280
|
-
|
281
|
-
AC_DEFINE([HAVE_XK_KP_BEGIN], [],
|
282
|
-
[Define if you have this defined in <keysym.h>]
|
283
|
-
)
|
284
|
-
|
285
|
-
AC_DEFINE([USE_XAW3D], [],
|
286
|
-
[Define if you want to use Xaw3d library]
|
287
|
-
)
|
288
|
-
|
289
|
-
AC_DEFINE([USE_NEXTAW], [],
|
290
|
-
[Define if you want to use neXtaw library]
|
291
|
-
)
|
292
|
-
|
293
|
-
AC_DEFINE([XPOINTER_TYPEDEFED], [],
|
294
|
-
[Define XPointer is typedefed in X11/Xlib.h]
|
295
|
-
)
|
@@ -1 +0,0 @@
|
|
1
|
-
5
|
@@ -1,11 +0,0 @@
|
|
1
|
-
Source: pdcurses
|
2
|
-
Section: devel
|
3
|
-
Priority: optional
|
4
|
-
Maintainer: Mark Hessling <mark@rexx.org>
|
5
|
-
Build-Depends: debhelper (>= 5), autotools-dev
|
6
|
-
Standards-Version: 3.7.2
|
7
|
-
|
8
|
-
Package: pdcurses
|
9
|
-
Architecture: any
|
10
|
-
Depends: ${shlibs:Depends}
|
11
|
-
Description: Public Domand CUrses library for multiple platforms.
|
@@ -1,27 +0,0 @@
|
|
1
|
-
This package was debianized by Mark Hessling <mark@rexx.org> on
|
2
|
-
Mon, 22 Jul 2013 13:18:35 +1000.
|
3
|
-
|
4
|
-
Upstream Author:
|
5
|
-
|
6
|
-
William Mcbrine <wmcbrine@users.sf.net>
|
7
|
-
|
8
|
-
Copyright:
|
9
|
-
|
10
|
-
Public Domain
|
11
|
-
|
12
|
-
License:
|
13
|
-
|
14
|
-
The core package is in the public domain, but small portions of PDCurses
|
15
|
-
are subject to copyright under various licenses. Each directory
|
16
|
-
contains a README file, with a section titled "Distribution Status"
|
17
|
-
which describes the status of the files in that directory.
|
18
|
-
|
19
|
-
If you use PDCurses in an application, an acknowledgement would be
|
20
|
-
appreciated, but is not mandatory. If you make corrections or
|
21
|
-
enhancements to PDCurses, please forward them to the current maintainer
|
22
|
-
for the benefit of other users.
|
23
|
-
|
24
|
-
This software is provided AS IS with NO WARRANTY whatsoever.
|
25
|
-
|
26
|
-
The Debian packaging is Public Domain
|
27
|
-
|
@@ -1,98 +0,0 @@
|
|
1
|
-
#!/usr/bin/make -f
|
2
|
-
# -*- makefile -*-
|
3
|
-
# Sample debian/rules that uses debhelper.
|
4
|
-
# This file was originally written by Joey Hess and Craig Small.
|
5
|
-
# As a special exception, when this file is copied by dh-make into a
|
6
|
-
# dh-make output file, you may use that output file without restriction.
|
7
|
-
# This special exception was added by Craig Small in version 0.37 of dh-make.
|
8
|
-
|
9
|
-
# Uncomment this to turn on verbose mode.
|
10
|
-
#export DH_VERBOSE=1
|
11
|
-
|
12
|
-
|
13
|
-
# These are used for cross-compiling and for saving the configure script
|
14
|
-
# from having to guess our platform (since we know it already)
|
15
|
-
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
16
|
-
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
17
|
-
|
18
|
-
|
19
|
-
config.status: configure
|
20
|
-
dh_testdir
|
21
|
-
# Add here commands to configure the package.
|
22
|
-
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
|
23
|
-
cp -f /usr/share/misc/config.sub config.sub
|
24
|
-
endif
|
25
|
-
ifneq "$(wildcard /usr/share/misc/config.guess)" ""
|
26
|
-
cp -f /usr/share/misc/config.guess config.guess
|
27
|
-
endif
|
28
|
-
./configure --enable-libdir-change=no --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" --enable-force-utf8 --enable-widec
|
29
|
-
|
30
|
-
|
31
|
-
build: build-stamp
|
32
|
-
|
33
|
-
build-stamp: config.status
|
34
|
-
dh_testdir
|
35
|
-
|
36
|
-
# Add here commands to compile the package.
|
37
|
-
$(MAKE)
|
38
|
-
|
39
|
-
touch $@
|
40
|
-
|
41
|
-
clean:
|
42
|
-
dh_testdir
|
43
|
-
dh_testroot
|
44
|
-
rm -f build-stamp
|
45
|
-
|
46
|
-
# Add here commands to clean up after the build process.
|
47
|
-
-$(MAKE) distclean
|
48
|
-
rm -f config.sub config.guess
|
49
|
-
|
50
|
-
dh_clean
|
51
|
-
|
52
|
-
install: build
|
53
|
-
dh_testdir
|
54
|
-
dh_testroot
|
55
|
-
dh_clean -k
|
56
|
-
dh_installdirs
|
57
|
-
|
58
|
-
# Add here commands to install the package into debian/pdcurses
|
59
|
-
$(MAKE) prefix=$(CURDIR)/debian/pdcurses/usr install
|
60
|
-
|
61
|
-
|
62
|
-
# Build architecture-independent files here.
|
63
|
-
binary-indep: build install
|
64
|
-
# We have nothing to do by default.
|
65
|
-
|
66
|
-
# Build architecture-dependent files here.
|
67
|
-
binary-arch: build install
|
68
|
-
dh_testdir
|
69
|
-
dh_testroot
|
70
|
-
dh_installchangelogs
|
71
|
-
dh_installdocs
|
72
|
-
dh_installexamples
|
73
|
-
# dh_install
|
74
|
-
# dh_installmenu
|
75
|
-
# dh_installdebconf
|
76
|
-
# dh_installlogrotate
|
77
|
-
# dh_installemacsen
|
78
|
-
# dh_installpam
|
79
|
-
# dh_installmime
|
80
|
-
# dh_python
|
81
|
-
# dh_installinit
|
82
|
-
# dh_installcron
|
83
|
-
# dh_installinfo
|
84
|
-
dh_installman
|
85
|
-
dh_link
|
86
|
-
dh_strip
|
87
|
-
dh_compress
|
88
|
-
dh_fixperms
|
89
|
-
# dh_perl
|
90
|
-
dh_makeshlibs
|
91
|
-
dh_installdeb
|
92
|
-
dh_shlibdeps
|
93
|
-
dh_gencontrol
|
94
|
-
dh_md5sums
|
95
|
-
dh_builddeb
|
96
|
-
|
97
|
-
binary: binary-indep binary-arch
|
98
|
-
.PHONY: build clean binary-indep binary-arch binary install
|
@@ -1,253 +0,0 @@
|
|
1
|
-
#! /bin/sh
|
2
|
-
#
|
3
|
-
# install - install a program, script, or datafile
|
4
|
-
# This comes from X11R5 (mit/util/scripts/install.sh).
|
5
|
-
#
|
6
|
-
# Copyright 1991 by the Massachusetts Institute of Technology
|
7
|
-
#
|
8
|
-
# Permission to use, copy, modify, distribute, and sell this software and its
|
9
|
-
# documentation for any purpose is hereby granted without fee, provided that
|
10
|
-
# the above copyright notice appear in all copies and that both that
|
11
|
-
# copyright notice and this permission notice appear in supporting
|
12
|
-
# documentation, and that the name of M.I.T. not be used in advertising or
|
13
|
-
# publicity pertaining to distribution of the software without specific,
|
14
|
-
# written prior permission. M.I.T. makes no representations about the
|
15
|
-
# suitability of this software for any purpose. It is provided "as is"
|
16
|
-
# without express or implied warranty.
|
17
|
-
#
|
18
|
-
# Calling this script install-sh is preferred over install.sh, to prevent
|
19
|
-
# `make' implicit rules from creating a file called install from it
|
20
|
-
# when there is no Makefile.
|
21
|
-
#
|
22
|
-
# This script is compatible with the BSD install script, but was written
|
23
|
-
# from scratch. It can only install one file at a time, a restriction
|
24
|
-
# shared with many OS's install programs.
|
25
|
-
|
26
|
-
|
27
|
-
# set DOITPROG to echo to test this script
|
28
|
-
|
29
|
-
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
30
|
-
#
|
31
|
-
# Modified 1 Feb 2000 MHES to cater for mkdir -p
|
32
|
-
#
|
33
|
-
doit="${DOITPROG-}"
|
34
|
-
|
35
|
-
|
36
|
-
# put in absolute paths if you don't have them in your path; or use env. vars.
|
37
|
-
|
38
|
-
mvprog="${MVPROG-mv}"
|
39
|
-
cpprog="${CPPROG-cp}"
|
40
|
-
chmodprog="${CHMODPROG-chmod}"
|
41
|
-
chownprog="${CHOWNPROG-chown}"
|
42
|
-
chgrpprog="${CHGRPPROG-chgrp}"
|
43
|
-
stripprog="${STRIPPROG-strip}"
|
44
|
-
rmprog="${RMPROG-rm}"
|
45
|
-
mkdirprog="${MKDIRPROG-mkdir}"
|
46
|
-
|
47
|
-
transformbasename=""
|
48
|
-
transform_arg=""
|
49
|
-
instcmd="$mvprog"
|
50
|
-
chmodcmd="$chmodprog 0755"
|
51
|
-
chowncmd=""
|
52
|
-
chgrpcmd=""
|
53
|
-
stripcmd=""
|
54
|
-
rmcmd="$rmprog -f"
|
55
|
-
mvcmd="$mvprog"
|
56
|
-
mkdircmd="$mkdirprog -p"
|
57
|
-
src=""
|
58
|
-
dst=""
|
59
|
-
dir_arg=""
|
60
|
-
|
61
|
-
while [ x"$1" != x ]; do
|
62
|
-
case $1 in
|
63
|
-
-c) instcmd="$cpprog"
|
64
|
-
shift
|
65
|
-
continue;;
|
66
|
-
|
67
|
-
-d) dir_arg=true
|
68
|
-
shift
|
69
|
-
continue;;
|
70
|
-
|
71
|
-
-m) chmodcmd="$chmodprog $2"
|
72
|
-
shift
|
73
|
-
shift
|
74
|
-
continue;;
|
75
|
-
|
76
|
-
-o) chowncmd="$chownprog $2"
|
77
|
-
shift
|
78
|
-
shift
|
79
|
-
continue;;
|
80
|
-
|
81
|
-
-g) chgrpcmd="$chgrpprog $2"
|
82
|
-
shift
|
83
|
-
shift
|
84
|
-
continue;;
|
85
|
-
|
86
|
-
-s) stripcmd="$stripprog"
|
87
|
-
shift
|
88
|
-
continue;;
|
89
|
-
|
90
|
-
-t=*) transformarg=`echo $1 | sed 's/-t=//'`
|
91
|
-
shift
|
92
|
-
continue;;
|
93
|
-
|
94
|
-
-b=*) transformbasename=`echo $1 | sed 's/-b=//'`
|
95
|
-
shift
|
96
|
-
continue;;
|
97
|
-
|
98
|
-
*) if [ x"$src" = x ]
|
99
|
-
then
|
100
|
-
src=$1
|
101
|
-
else
|
102
|
-
# this colon is to work around a 386BSD /bin/sh bug
|
103
|
-
:
|
104
|
-
dst=$1
|
105
|
-
fi
|
106
|
-
shift
|
107
|
-
continue;;
|
108
|
-
esac
|
109
|
-
done
|
110
|
-
|
111
|
-
if [ x"$src" = x ]
|
112
|
-
then
|
113
|
-
echo "install: no input file specified"
|
114
|
-
exit 1
|
115
|
-
else
|
116
|
-
true
|
117
|
-
fi
|
118
|
-
|
119
|
-
if [ x"$dir_arg" != x ]; then
|
120
|
-
dst=$src
|
121
|
-
src=""
|
122
|
-
|
123
|
-
if [ -d $dst ]; then
|
124
|
-
instcmd=:
|
125
|
-
else
|
126
|
-
instcmd=mkdir
|
127
|
-
fi
|
128
|
-
else
|
129
|
-
|
130
|
-
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
|
131
|
-
# might cause directories to be created, which would be especially bad
|
132
|
-
# if $src (and thus $dsttmp) contains '*'.
|
133
|
-
|
134
|
-
if [ -f $src -o -d $src ]
|
135
|
-
then
|
136
|
-
true
|
137
|
-
else
|
138
|
-
echo "install: $src does not exist"
|
139
|
-
exit 1
|
140
|
-
fi
|
141
|
-
|
142
|
-
if [ x"$dst" = x ]
|
143
|
-
then
|
144
|
-
echo "install: no destination specified"
|
145
|
-
exit 1
|
146
|
-
else
|
147
|
-
true
|
148
|
-
fi
|
149
|
-
|
150
|
-
# If destination is a directory, append the input filename; if your system
|
151
|
-
# does not like double slashes in filenames, you may need to add some logic
|
152
|
-
|
153
|
-
if [ -d $dst ]
|
154
|
-
then
|
155
|
-
dst="$dst"/`basename $src`
|
156
|
-
else
|
157
|
-
true
|
158
|
-
fi
|
159
|
-
fi
|
160
|
-
|
161
|
-
## this sed command emulates the dirname command
|
162
|
-
dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
|
163
|
-
|
164
|
-
# Make sure that the destination directory exists.
|
165
|
-
# this part is taken from Noah Friedman's mkinstalldirs script
|
166
|
-
|
167
|
-
# Skip lots of stat calls in the usual case.
|
168
|
-
if [ ! -d "$dstdir" ]; then
|
169
|
-
defaultIFS='
|
170
|
-
'
|
171
|
-
IFS="${IFS-${defaultIFS}}"
|
172
|
-
|
173
|
-
oIFS="${IFS}"
|
174
|
-
# Some sh's can't handle IFS=/ for some reason.
|
175
|
-
IFS='%'
|
176
|
-
set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
|
177
|
-
IFS="${oIFS}"
|
178
|
-
|
179
|
-
pathcomp=''
|
180
|
-
|
181
|
-
while [ $# -ne 0 ] ; do
|
182
|
-
pathcomp="${pathcomp}${1}"
|
183
|
-
shift
|
184
|
-
|
185
|
-
if [ ! -d "${pathcomp}" ] ;
|
186
|
-
then
|
187
|
-
$mkdircmd "${pathcomp}"
|
188
|
-
else
|
189
|
-
true
|
190
|
-
fi
|
191
|
-
|
192
|
-
pathcomp="${pathcomp}/"
|
193
|
-
done
|
194
|
-
fi
|
195
|
-
|
196
|
-
if [ x"$dir_arg" != x ]
|
197
|
-
then
|
198
|
-
$doit $instcmd $dst &&
|
199
|
-
|
200
|
-
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
|
201
|
-
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
|
202
|
-
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
|
203
|
-
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
|
204
|
-
else
|
205
|
-
|
206
|
-
# If we're going to rename the final executable, determine the name now.
|
207
|
-
|
208
|
-
if [ x"$transformarg" = x ]
|
209
|
-
then
|
210
|
-
dstfile=`basename $dst`
|
211
|
-
else
|
212
|
-
dstfile=`basename $dst $transformbasename |
|
213
|
-
sed $transformarg`$transformbasename
|
214
|
-
fi
|
215
|
-
|
216
|
-
# don't allow the sed command to completely eliminate the filename
|
217
|
-
|
218
|
-
if [ x"$dstfile" = x ]
|
219
|
-
then
|
220
|
-
dstfile=`basename $dst`
|
221
|
-
else
|
222
|
-
true
|
223
|
-
fi
|
224
|
-
|
225
|
-
# Make a temp file name in the proper directory.
|
226
|
-
|
227
|
-
dsttmp=$dstdir/#inst.$$#
|
228
|
-
|
229
|
-
# Move or copy the file name to the temp name
|
230
|
-
|
231
|
-
$doit $instcmd $src $dsttmp &&
|
232
|
-
|
233
|
-
trap "rm -f ${dsttmp}" 0 &&
|
234
|
-
|
235
|
-
# and set any options; do chmod last to preserve setuid bits
|
236
|
-
|
237
|
-
# If any of these fail, we abort the whole thing. If we want to
|
238
|
-
# ignore errors from any of these, just make sure not to ignore
|
239
|
-
# errors from the above "$doit $instcmd $src $dsttmp" command.
|
240
|
-
|
241
|
-
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
|
242
|
-
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
|
243
|
-
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
|
244
|
-
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
|
245
|
-
|
246
|
-
# Now rename the file to the real destination.
|
247
|
-
|
248
|
-
$doit $rmcmd -f $dstdir/$dstfile &&
|
249
|
-
$doit $mvcmd $dsttmp $dstdir/$dstfile
|
250
|
-
|
251
|
-
fi &&
|
252
|
-
|
253
|
-
exit 0
|
@@ -1,14 +0,0 @@
|
|
1
|
-
#define little_icon_width 32
|
2
|
-
#define little_icon_height 32
|
3
|
-
static unsigned char little_icon_bits[] = {
|
4
|
-
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
5
|
-
0x00, 0xfc, 0x30, 0x00, 0x00, 0xfc, 0x31, 0x00, 0x00, 0x8c, 0x33, 0x00,
|
6
|
-
0x00, 0x0c, 0x33, 0x00, 0x00, 0x0c, 0x33, 0x00, 0x00, 0x8c, 0x33, 0x00,
|
7
|
-
0x00, 0xcc, 0x39, 0x00, 0x00, 0xec, 0x3c, 0x00, 0x00, 0x7c, 0x3e, 0x00,
|
8
|
-
0x00, 0x3c, 0x37, 0x00, 0x00, 0x9c, 0x33, 0x00, 0x00, 0xcc, 0x31, 0x00,
|
9
|
-
0x00, 0xcc, 0x30, 0x00, 0x00, 0xcc, 0x30, 0x00, 0x00, 0xcc, 0x31, 0x00,
|
10
|
-
0x00, 0x8c, 0x3f, 0x00, 0x00, 0x0c, 0x3f, 0x00, 0x00, 0x00, 0x00, 0x00,
|
11
|
-
0x00, 0x00, 0x00, 0x00, 0x4c, 0x2a, 0xc6, 0x18, 0x52, 0x5a, 0x29, 0x25,
|
12
|
-
0x42, 0x0a, 0x21, 0x05, 0x42, 0x0a, 0xe6, 0x18, 0x42, 0x0a, 0x28, 0x20,
|
13
|
-
0x52, 0x0a, 0x29, 0x25, 0x8c, 0x09, 0xc6, 0x18, 0x00, 0x00, 0x00, 0x00,
|
14
|
-
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
|