This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Prefix, etc. for X apps (was Re: Pending Packages List, 2003-10-14)


On 2003-10-14T19:32+0200, Daniel Boesswetter wrote:
) There seem to be to few X-apps on cygwin to tell which place is the
) right one, but at least Ghostview resides under /usr/X11R6. Which BTW is
) the place for X-apps on most Linux distros ....

It seems there is an expected layout from
http://sources.redhat.com/ml/cygwin-apps/2002-07/msg00144.html and others:
	prefix=/usr/X11R6
	includedir=${prefix}/include	# /usr/X11R6/include
	sysconfdir=/etc
	localstatedir=/var

	exec_prefix=${prefix}
	bindir=${exec_prefix}/bin	# /usr/X11R6/bin
	libdir=${exec_prefix}/lib	# /usr/X11R6/lib

	datadir=/usr/share
	pkgdatadir=${datadir}/${PACKAGE_TARNAME}-${PACKAGE_VERSION}
					# /usr/share/tcm-2.20
	docdir=${datadir}/doc		# /usr/share/doc
	pkgdocdir=${docdir}/${PACKAGE_TARNAME}-${PACKAGE_VERSION}
					# /usr/share/doc/tcm-2.20
	cygdocdir=${docdir}/Cygwin	# /usr/share/doc/Cygwin
	mandir=${datadir}/man		# /usr/share/man
	man1dir=${mandir}/man1		# /usr/share/man/man1


If you use:
	--prefix=/usr/X11R6 \
	--sysconfdir=/etc \
	--libexecdir=/usr/sbin \
	--localstatedir=/var \
	--datadir=/usr/share \
	--mandir='${datadir}/man' \
	--infodir='${datadir}/info'
or:
	--prefix=/usr \
	--exec-prefix=/usr/X11R6 \
	--includedir=/usr/X11R6/include \
	--sysconfdir=/etc \
	--libexecdir=/usr/sbin \
	--localstatedir=/var \
	--mandir='${datadir}/man' \
	--infodir='${datadir}/info'
everything should end up in the proper place. The last few lines in both are
because mandir and infodir default to ${prefix}/man and ${prefix}/info,
libexec defaults to ${exec_prefix}/libexec, sysconfdir defaults to
${prefix}/etc, and localstatedir defaults to ${prefix}/var.

I am not sure if this is what existing X packages use, but this seems to be
the latest reference to paths from the archive.

-- 
Daniel Reed <n@ml.org>	http://naim-users.org/nmlorg/	http://naim.n.ml.org/
"I don't believe in making something user friendly just for the sake of
being user friendly, though; if you're decreasing the users' available
power, you're not really being all that friendly to them."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]