Tar Archive: /hpux/X11/Core/tclock-1.0.p1/tclock-1.0.p1-src-11.00.tar.gz Filename: tclock-1.0.p1/HPUX.Install Package name: tclock Version number: 1.0.p1 Original author: Rob MayoffOriginal URL: ftp://ftp.cis.ohio-state.edu/pub/X-contrib/ HP-UX URL: http://hpux.connect.org.uk/hppd/cgi-bin/search?package=&term=tclock- Install tree: /opt/tclock Report bugs to: stephie@connect.org.uk Tested on: HP 9000/780/C160 running HP-UX 11.00 C compiler used: Version A.11.01.03 Purpose: Transparent clock to demo the SHAPE extension. An oft-asked question on comp.windows.x is how to make a transparent window. This program uses the SHAPE extension to display an analog clock with a transparent face. Date archived: Tue 16 May 2000 ------------------------------------------------------------------------------- System: ====== HP-UX shin B.11.00 A 9000/780 URL: ==== ftp://ftp.cis.ohio-state.edu/pub/X-contrib/ HP Porting Changes: =================== Applied "tclock-patch1" (patch < tclock-patch1). Configuration Files: In the Imakefile: "CCOPTIONS=-Wl,+vnocompatwarnings" Passes the "no compat" flag to the linker. Sources: ERRORS: tclock.c -> There is a name conflict for "clock" so we defined a unique variable "clock_uniq". this is how it looks now .... | |#ifdef __hpux | clock_uniq = time(0); | times = *localtime(&clock_uniq); |#else | clock = time(0); | times = *localtime(&clock); |#endif | access() -> One call to access() missed off the mode arg. WARNS: * Missed off the name of the fprintf() stream; "stdout" assumed. * Included "stdlib.h" for declaration of atof(), then #ifdef'd a bogus redefinition of malloc(). Building: ========= Run "configure" || "xmkmf" to re-generate the Makefiles. Run "make" in the top level dir. Use "make -n install" to check the defaults, then "make install" Installed: ========== By -- [stephie@connect.org.uk] On -- [ 16/05/00 ] HPUX Porting and Archive Centre, Connect, Liverpool University. __/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/__/