! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
compile time dependency on `iceauth` should be runtime dependency/configurable
Status:
RESOLVED: MOVED
Product:
Xfce4-session
Component:
General

Comments

Description Paul Menzel 2011-03-18 12:24:04 CET
Since its creation `configure.in.in` contains a check for `iceauth`.

	dnl Check for iceauth
	AC_PATH_PROG([ICEAUTH], [iceauth])
	if test x"$ICEAUTH" != x""; then
		AC_DEFINE_UNQUOTED([ICEAUTH_CMD], ["$ICEAUTH"], [path to iceauth])
	else
		AC_MSG_ERROR([iceauth missing, please check your X11 installation])
	fi

This check does not work if you are for example cross compiling [1]. For example you cannot execute a binary compiled for the ARM architecture on the a x86 build host. Additionally the assumption that `iceauth` should be present when compiling the program is not valid.

I do not know if there is a better configure check [2] or if this should be converted to an option, where the default patch can be changed.

A default path should be set up

	dnl Check for iceauth
	AC_PATH_PROG([ICEAUTH], [iceauth], [/usr/bin/iceauth])

and `xfce4-session` should fail gracefully when it is run and `iceauth` could not be found. Some check in `xfce4-session/ice-layer.c`.

[1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-March/030721.html
[2] http://www.gnu.org/software/autoconf/manual/autoconf-2.60/html_node/Generic-Programs.html
Comment 1 Git Bot editbugs 2020-05-26 00:41:57 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-session/-/issues/5.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #7420

Reported by:
Paul Menzel
Reported on: 2011-03-18
Last modified on: 2020-05-26

People

Assignee:
Xfce Bug Triage
CC List:
1 user

Version

Attachments

Additional information