Compare commits

...

3 Commits

Author SHA1 Message Date
Dianne Skoll
c192c580da Fix permissions.
All checks were successful
Remind unit tests / tests (push) Successful in 27s
2024-10-14 08:41:00 -04:00
Dianne Skoll
235e5ec1c7 Make ./configure generate tkremind from tkremind.in. 2024-10-14 08:40:05 -04:00
Dianne Skoll
3d30173f9a Print version info in options window. 2024-10-14 08:36:44 -04:00
5 changed files with 10 additions and 4 deletions

1
.gitignore vendored
View File

@@ -22,6 +22,7 @@ rem2pdf/Makefile.PL
rem2pdf/Makefile.old rem2pdf/Makefile.old
rem2pdf/Makefile.top rem2pdf/Makefile.top
rem2pdf/bin/rem2pdf rem2pdf/bin/rem2pdf
scripts/tkremind
set-irc-topic set-irc-topic
src/*.tar.gz* src/*.tar.gz*
src/Makefile src/Makefile

View File

@@ -24,7 +24,7 @@ install:
@$(MAKE) -C rem2pdf -f Makefile.top install INSTALL_BASE=$(INSTALL_BASE) @$(MAKE) -C rem2pdf -f Makefile.top install INSTALL_BASE=$(INSTALL_BASE)
clean: clean:
find . -name '*~' -exec rm {} \; find . -name '*~' -exec rm {} \;
-rm man/rem.1 man/rem2ps.1 man/remind.1 man/tkremind.1 -rm man/rem.1 man/rem2ps.1 man/remind.1 man/tkremind.1 scripts/tkremind
-$(MAKE) -C src clean -$(MAKE) -C src clean
-$(MAKE) -C rem2pdf clean -$(MAKE) -C rem2pdf clean

4
configure vendored
View File

@@ -4202,7 +4202,7 @@ VERSION=$PACKAGE_VERSION
ac_config_files="$ac_config_files src/Makefile www/Makefile src/version.h rem2html/Makefile rem2html/rem2html rem2pdf/Makefile.PL rem2pdf/Makefile.top rem2pdf/bin/rem2pdf man/rem.1 man/rem2ps.1 man/remind.1 man/tkremind.1" ac_config_files="$ac_config_files src/Makefile www/Makefile src/version.h rem2html/Makefile rem2html/rem2html rem2pdf/Makefile.PL rem2pdf/Makefile.top rem2pdf/bin/rem2pdf man/rem.1 man/rem2ps.1 man/remind.1 man/tkremind.1 scripts/tkremind"
cat >confcache <<\_ACEOF cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure # This file is a shell script that caches the results of configure
@@ -4903,6 +4903,7 @@ do
"man/rem2ps.1") CONFIG_FILES="$CONFIG_FILES man/rem2ps.1" ;; "man/rem2ps.1") CONFIG_FILES="$CONFIG_FILES man/rem2ps.1" ;;
"man/remind.1") CONFIG_FILES="$CONFIG_FILES man/remind.1" ;; "man/remind.1") CONFIG_FILES="$CONFIG_FILES man/remind.1" ;;
"man/tkremind.1") CONFIG_FILES="$CONFIG_FILES man/tkremind.1" ;; "man/tkremind.1") CONFIG_FILES="$CONFIG_FILES man/tkremind.1" ;;
"scripts/tkremind") CONFIG_FILES="$CONFIG_FILES scripts/tkremind" ;;
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
esac esac
@@ -5490,4 +5491,5 @@ printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2
fi fi
chmod a+x rem2pdf/bin/rem2pdf chmod a+x rem2pdf/bin/rem2pdf
chmod a+x scripts/tkremind

View File

@@ -91,6 +91,7 @@ AC_SUBST(VERSION)
AC_SUBST(PERL) AC_SUBST(PERL)
AC_SUBST(PERLARTIFACTS) AC_SUBST(PERLARTIFACTS)
AC_SUBST(RELEASE_DATE) AC_SUBST(RELEASE_DATE)
AC_CONFIG_FILES([src/Makefile www/Makefile src/version.h rem2html/Makefile rem2html/rem2html rem2pdf/Makefile.PL rem2pdf/Makefile.top rem2pdf/bin/rem2pdf man/rem.1 man/rem2ps.1 man/remind.1 man/tkremind.1]) AC_CONFIG_FILES([src/Makefile www/Makefile src/version.h rem2html/Makefile rem2html/rem2html rem2pdf/Makefile.PL rem2pdf/Makefile.top rem2pdf/bin/rem2pdf man/rem.1 man/rem2ps.1 man/remind.1 man/tkremind.1 scripts/tkremind])
AC_OUTPUT AC_OUTPUT
chmod a+x rem2pdf/bin/rem2pdf chmod a+x rem2pdf/bin/rem2pdf
chmod a+x scripts/tkremind

4
scripts/tkremind → scripts/tkremind.in Executable file → Normal file
View File

@@ -763,7 +763,7 @@ proc CreateCalWindow { dayNames } {
# Lets user edit options # Lets user edit options
#*********************************************************************** #***********************************************************************
proc EditOptions {} { proc EditOptions {} {
global Option tmpOpt HAVE_SYSNOTIFY NOTIFY_SEND_PATH global Option tmpOpt HAVE_SYSNOTIFY NOTIFY_SEND_PATH ver
# Make a working copy of current option set # Make a working copy of current option set
foreach name [array names Option] { foreach name [array names Option] {
@@ -780,6 +780,8 @@ proc EditOptions {} {
pack $w.f -side top -expand 1 -fill both pack $w.f -side top -expand 1 -fill both
pack $w.b -side top -expand 0 -fill x pack $w.b -side top -expand 0 -fill x
label $w.ver -text "TkRemind version @VERSION@ on Tcl/Tk version [info tclversion]"
pack $w.ver -in $w.f -side top -expand 0 -fill x
# Start iconified # Start iconified
checkbutton $w.startIconified -text "Start up Iconified" \ checkbutton $w.startIconified -text "Start up Iconified" \
-anchor w -justify left \ -anchor w -justify left \