18790N/A * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. 18778N/A * Permission is hereby granted, free of charge, to any person obtaining a 18790N/A * copy of this software and associated documentation files (the "Software"), 18790N/A * to deal in the Software without restriction, including without limitation 18790N/A * the rights to use, copy, modify, merge, publish, distribute, sublicense, 18790N/A * and/or sell copies of the Software, and to permit persons to whom the 18790N/A * Software is furnished to do so, subject to the following conditions: 18790N/A * The above copyright notice and this permission notice (including the next 18790N/A * paragraph) shall be included in all copies or substantial portions of the 18790N/A * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18790N/A * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18790N/A * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 18790N/A * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18790N/A * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 18790N/A * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19033N/A instead of opening a web browser to view the man page at jwz.org or 19033N/A opening a gnome-terminal to run the man command. 19033N/ABackport notes: this change relies on the gnome-help version delivered in 19033N/AAlso,
you'll need to fix the package names shown when the hacks are not 19033N/Ainstalled to be the older SUNWxscreensaver-*, and to not use the a href 19033N/Amarkup links added in newer gtk versions, nor link to IPS .p5i files to 19033N/A 8 files changed, 84 insertions(+), 20 deletions(-) 18778N/A@@ -27,7 +27,7 @@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ 18778N/A GTK_APPDIR = $(GTK_DATADIR)/applications 18778N/A GTK_ICONDIR = $(GTK_DATADIR)/pixmaps 18778N/A HACK_CONF_DIR = @HACK_CONF_DIR@ 18778N/A@@ -36,8 +36,11 @@ CFLAGS = @CFLAGS@ 18778N/A INTL_DEFS = -DLOCALEDIR=\"$(localedir)\" 18778N/A-SUBP_DEFS = $(DEFS) -DDEFAULT_PATH_PREFIX='"@HACKDIR@"' 18778N/A-GTK_DEFS = $(DEFS) -DDEFAULT_ICONDIR='"$(GTK_GLADEDIR)"' 18778N/A+SUBP_DEFS = $(DEFS) -DHACK_PATH='"@HACKDIR@"' \ 18778N/A+ -DDEFAULT_PATH_PREFIX='"@HACKDIR@:$(libexecdir)"' \ 18778N/A+ -DHELPER_PATH='"$(libexecdir)"' 18778N/A+GTK_DEFS = $(DEFS) -DDEFAULT_ICONDIR='"$(GTK_GLADEDIR)"' \ 18778N/A CONF_DEFS = -DHACK_CONFIGURATION_PATH='"$(HACK_CONF_DIR)"' 19033N/A@@ -87,18 +87,24 @@ GetViewPortIsFullOfLies: False 19033N/A ! This is the URL loaded by the "Help" button on the splash screen, 19033N/A ! and by the "Documentation" menu item in xscreensaver-demo. 19033N/A ! loadURL -- how the "Help" buttons load the helpURL (/bin/sh syntax.) 19033N/A ! manualCommand -- how the "Documentation" buttons display man pages. 19033N/A ! And there are so very many options to choose from! 18778N/A+
/* mali - security issue do not want to display user's path */ 18778N/A+
"%s: Warning: dir: %s missing. Will not run hacks\n",
18778N/A+
/* We need complete path to hack command else any executable 18778N/A+ * with the same name in the path gets executed. 18778N/A- reformat_html ("$title<P>$body1", 1); 18778N/A+ reformat_html ("$title<BR>$author<P>$body1", 1); 18778N/A@@ -97,9 +97,8 @@ xscreensaver-command -restart 18778N/A If you want to set the system-wide defaults, then make your edits to 18778N/A the xscreensaver app-defaults file, which should have been installed 18778N/A when xscreensaver itself was installed. The app-defaults file will 18778N/A-systems might keep it in a different place (for example, 18778N/A+systems might keep it in a different place. 18778N/A When settings are changed in the Preferences dialog box (see above) 18778N/A the current settings will be written to the \fI.xscreensaver\fP file. 18778N/A@@ -270,7 +270,7 @@ install-program:: $(EXES) 18778N/A # the xscreensaver-gl-helper program, in $bindir 18778N/A- idir="$(install_prefix)$(bindir)" ; \ 18778N/A+ idir="$(install_prefix)$(libexecdir)" ; \ 18778N/A@@ -339,7 +339,7 @@ uninstall-program:: 18778N/A # the xscreensaver-gl-helper program, in $bindir 18778N/A- idir="$(install_prefix)$(bindir)" ; \ 18778N/A+ idir="$(install_prefix)$(libexecdir)" ; \ 18778N/A echo rm -f $$idir/$$program ; \