Commit 230abae0 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

INSTALL renamed --with-gnome-datadir configure option to

2003-06-23  Sven Neumann  <sven@gimp.org>

	* INSTALL
	* configure.in: renamed --with-gnome-datadir configure option to
	--with-desktop-dir because it is not GNOME specific.

	Removed "sr" and "sr@Latn" from ALL_LINGUAS until all required po
	files have been added.
parent 588b313f
2003-06-23 Sven Neumann <sven@gimp.org>
* INSTALL
* configure.in: renamed --with-gnome-datadir configure option to
--with-desktop-dir because it is not GNOME specific.
Removed "sr" and "sr@Latn" from ALL_LINGUAS until all required po
files have been added.
2003-06-23 Danilo Šegan <dsegan@gmx.net> 2003-06-23 Danilo Šegan <dsegan@gmx.net>
* configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS. * configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
...@@ -114,11 +114,13 @@ recognizes. These are: ...@@ -114,11 +114,13 @@ recognizes. These are:
the sendmail command. Normally this options don't have to be used the sendmail command. Normally this options don't have to be used
because configure tries to find it in the usual places. because configure tries to find it in the usual places.
--with-gnome-desktop=[PATH]. This option specifies where to install --with-desktop-dir=[PATH]. This option specifies where to install
a link to the gimp.desktop file for GNOME-2.0. The default value links to the gimp desktop files. These files are used by desktop
${prefix}/share/applications should be fine if GNOME-2.0 is installed environments that comply to the specs published at freedesktop.org.
in the same prefix. No link is created if the specified directory The default value ${prefix}/share should be fine if your desktop
doesn't exist or you use --without-gnome-desktop. environment is installed in the same prefix as gimp. No links are
created if the desktop directories don't exist or you used
--without-desktop-dir.
--enable-default-binary. Use this option if you want to make gimp-1.3 --enable-default-binary. Use this option if you want to make gimp-1.3
the default gimp installation. A link called gimp pointing to the the default gimp installation. A link called gimp pointing to the
......
...@@ -145,7 +145,7 @@ dnl Large file support for the swap file ...@@ -145,7 +145,7 @@ dnl Large file support for the swap file
AC_SYS_LARGEFILE AC_SYS_LARGEFILE
AC_ARG_ENABLE(debug, AC_ARG_ENABLE(debug,
[ --enable-debug turn on debugging [default=no]], [ --enable-debug turn on debugging (default=no)],
if eval "test x$enable_debug = xyes"; then if eval "test x$enable_debug = xyes"; then
DEBUGFLAG="-g" DEBUGFLAG="-g"
fi) fi)
...@@ -155,7 +155,7 @@ if test -n "$DEBUGFLAG"; then ...@@ -155,7 +155,7 @@ if test -n "$DEBUGFLAG"; then
fi fi
AC_ARG_ENABLE(ansi, AC_ARG_ENABLE(ansi,
[ --enable-ansi turn on strict ansi [default=no]],, [ --enable-ansi turn on strict ansi (default=no)],,
enable_ansi=no) enable_ansi=no)
if eval "test x$GCC = xyes"; then if eval "test x$GCC = xyes"; then
...@@ -239,7 +239,7 @@ AC_SUBST(GETTEXT_PACKAGE) ...@@ -239,7 +239,7 @@ AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
[The prefix for our gettext translation domains.]) [The prefix for our gettext translation domains.])
ALL_LINGUAS="ca cs da de el en_GB es fi fr ga gl hu hr it ja ko nl no pl pt pt_BR ro ru sk sr sr@Latn sv tr uk vi yi zh_CN zh_TW" ALL_LINGUAS="ca cs da de el en_GB es fi fr ga gl hu hr it ja ko nl no pl pt pt_BR ro ru sk sv tr uk vi yi zh_CN zh_TW"
AC_PROG_INTLTOOL AC_PROG_INTLTOOL
AM_GLIB_GNU_GETTEXT AM_GLIB_GNU_GETTEXT
...@@ -430,7 +430,7 @@ case "$host_os" in ...@@ -430,7 +430,7 @@ case "$host_os" in
esac esac
shmtype=auto shmtype=auto
AC_ARG_WITH(shm, [ --with-shm=none/sysv/auto shared memory transport type [default=auto]], shmtype=$with_shm) AC_ARG_WITH(shm, [ --with-shm=none/sysv/auto shared memory transport type (default=auto)], shmtype=$with_shm)
case $shmtype in case $shmtype in
none|sysv) ;; none|sysv) ;;
...@@ -533,7 +533,7 @@ fi ...@@ -533,7 +533,7 @@ fi
# Threads and multi processor # Threads and multi processor
############################# #############################
dnl AC_ARG_ENABLE(threads, [ --enable-threads support POSIX threading [default=no]]) dnl AC_ARG_ENABLE(threads, [ --enable-threads support POSIX threading (default=no)])
dnl if test "x$enable_threads" = "xyes"; then dnl if test "x$enable_threads" = "xyes"; then
dnl AC_CHECK_LIB(pthread, pthread_attr_init, dnl AC_CHECK_LIB(pthread, pthread_attr_init,
dnl [AC_DEFINE(USE_PTHREADS) dnl [AC_DEFINE(USE_PTHREADS)
...@@ -550,7 +550,7 @@ AC_SUBST(GIMP_THREAD_FLAGS) ...@@ -550,7 +550,7 @@ AC_SUBST(GIMP_THREAD_FLAGS)
AC_SUBST(GIMP_THREAD_LIBS) AC_SUBST(GIMP_THREAD_LIBS)
AC_ARG_ENABLE(mp, [ --enable-mp support multiple processors [default=no]]) AC_ARG_ENABLE(mp, [ --enable-mp support multiple processors (default=no)])
if test "x$enable_mp" = "xyes"; then if test "x$enable_mp" = "xyes"; then
AC_CHECK_LIB(pthread, pthread_attr_init, AC_CHECK_LIB(pthread, pthread_attr_init,
[AC_DEFINE(ENABLE_MP, 1, [AC_DEFINE(ENABLE_MP, 1,
...@@ -763,6 +763,22 @@ AC_SUBST(MNG) ...@@ -763,6 +763,22 @@ AC_SUBST(MNG)
AC_SUBST(LIBMNG) AC_SUBST(LIBMNG)
############################################################
# libexif: Library to allow exif tags to be read from, and
# saved to, jpeg files. Currently, this permits exif data to
# avoid destruction, but no data modification is performed.
############################################################
AC_ARG_WITH(libexif, [ --without-libexif build without EXIF support])
if test x$with_libexif != xno && test -z "$LIBEXIF" && test -n "$LIBJPEG"; then
PKG_CHECK_MODULES(EXIF, libexif,
AC_DEFINE(HAVE_EXIF, 1, "Define to 1 if libexif is available"),
AC_MSG_WARN([libexif not found!
EXIF support will not be built into the JPEG plug-in.
libexif is available from http://www.sourceforge.net/projects/libexif]))
fi
################# #################
# Check for libaa # Check for libaa
################# #################
...@@ -894,7 +910,7 @@ AM_CONDITIONAL(WITH_AUTHORSGEN, test x$enable_maintainer_mode = xyes) ...@@ -894,7 +910,7 @@ AM_CONDITIONAL(WITH_AUTHORSGEN, test x$enable_maintainer_mode = xyes)
dnl Pygimp configure stuff ... dnl Pygimp configure stuff ...
AC_ARG_ENABLE(python, AC_ARG_ENABLE(python,
AC_HELP_STRING([--enable-python], AC_HELP_STRING([--enable-python],
[build python extension [by default disabled]]),, [build python extension (by default disabled)]),,
[enable_python=no]) [enable_python=no])
...@@ -909,21 +925,6 @@ if test "x$enable_python" != xno; then ...@@ -909,21 +925,6 @@ if test "x$enable_python" != xno; then
fi fi
AM_CONDITIONAL(BUILD_PYTHON, test "x$enable_python" != xno) AM_CONDITIONAL(BUILD_PYTHON, test "x$enable_python" != xno)
############################################################
# libexif: Library to allow exif tags to be read from, and
# saved to, jpeg files. Currently, this permits exif data to
# avoid destruction, but no data modification is performed.
############################################################
AC_ARG_WITH(libexif, [ --without-libexif build without EXIF support])
if test x$with_libexif != xno && test -z "$LIBEXIF"; then
PKG_CHECK_MODULES(EXIF, libexif,
AC_DEFINE(HAVE_EXIF, 1, "Define to 1 if libexif is available"),
AC_MSG_WARN([libexif not found!
EXIF support will not be built into the JPEG plug-in.
libexif is available from http://www.sourceforge.net/projects/libexif]))
fi
########################################################### ###########################################################
# Some plug-ins don't build on Win32, others are Win32-only # Some plug-ins don't build on Win32, others are Win32-only
...@@ -947,20 +948,20 @@ AC_SUBST(WINCLIPBOARD) ...@@ -947,20 +948,20 @@ AC_SUBST(WINCLIPBOARD)
AC_SUBST(WINPRINT) AC_SUBST(WINPRINT)
################################################################# ##########################################################
# Determine where to install the GNOME2 desktop & mime info files # Determine where to install the desktop & mime info files
################################################################# ##########################################################
AC_ARG_WITH(gnome-datadir, [ --with-gnome-datadir=PATH where to install GNOME2 files [default=auto]]) AC_ARG_WITH(desktop-dir, [ --with-desktop-dir=PATH where to install desktop files (default=PREFIX/share)])
if test "x$with_gnome_datadir" != x; then if test "x$with_desktop_dir" != x; then
GNOME_DATADIR=$with_gnome_datadir DESKTOP_DATADIR=$with_desktop_dir
else else
GNOME_DATADIR="$datadir" DESKTOP_DATADIR="$datadir"
fi fi
AM_CONDITIONAL(GNOME_DATADIR, test "x$with_gnome_datadir" != xno) AM_CONDITIONAL(DESKTOP_DATADIR, test "x$with_desktop_dir" != xno)
AC_SUBST(GNOME_DATADIR) AC_SUBST(DESKTOP_DATADIR)
###################################### ######################################
...@@ -1002,7 +1003,7 @@ if $GTKDOC ; then ...@@ -1002,7 +1003,7 @@ if $GTKDOC ; then
fi fi
dnl Make people enable the gtk-doc stuff explicitely. dnl Make people enable the gtk-doc stuff explicitely.
AC_ARG_ENABLE(gtk-doc, [ --enable-gtk-doc use gtk-doc to build documentation [default=no]], enable_gtk_doc="$enableval", enable_gtk_doc=auto) AC_ARG_ENABLE(gtk-doc, [ --enable-gtk-doc use gtk-doc to build documentation (default=no)], enable_gtk_doc="$enableval", enable_gtk_doc=auto)
if test x$enable_gtk_doc = xyes ; then if test x$enable_gtk_doc = xyes ; then
if test x$GTKDOC != xtrue ; then if test x$GTKDOC != xtrue ; then
...@@ -1019,7 +1020,7 @@ AM_CONDITIONAL(ENABLE_GTK_DOC, test x$enable_gtk_doc = xyes) ...@@ -1019,7 +1020,7 @@ AM_CONDITIONAL(ENABLE_GTK_DOC, test x$enable_gtk_doc = xyes)
# Allow to configure the gimp environment # Allow to configure the gimp environment
######################################### #########################################
AC_ARG_ENABLE(debug, [ --enable-default-binary install this as the default gimp binary [default=no]], , enable_default_binary=no) AC_ARG_ENABLE(debug, [ --enable-default-binary install this as the default gimp binary (default=no)], , enable_default_binary=no)
AM_CONDITIONAL(DEFAULT_BINARY, test x$enable_default_binary = xyes) AM_CONDITIONAL(DEFAULT_BINARY, test x$enable_default_binary = xyes)
......
...@@ -27,36 +27,36 @@ gimp.desktop: gimp.desktop.in $(wildcard $(top_srcdir)/po/*.po) ...@@ -27,36 +27,36 @@ gimp.desktop: gimp.desktop.in $(wildcard $(top_srcdir)/po/*.po)
&& rm -r desktop-foo && rm -r desktop-foo
install-data-local: install-data-local:
if GNOME_DATADIR if DESKTOP_DATADIR
if test -d $(DESTDIR)@GNOME_DATADIR@/applications; then \ if test -d $(DESTDIR)@DESKTOP_DATADIR@/applications; then \
cd $(DESTDIR)@GNOME_DATADIR@/applications \ cd $(DESTDIR)@DESKTOP_DATADIR@/applications \
&& rm -f gimp-$(LT_RELEASE).desktop \ && rm -f gimp-$(LT_RELEASE).desktop \
&& $(LN_S) $(miscdatadir)/gimp.desktop gimp-$(LT_RELEASE).desktop \ && $(LN_S) $(miscdatadir)/gimp.desktop gimp-$(LT_RELEASE).desktop \
; fi ; fi
if test -d $(DESTDIR)@GNOME_DATADIR@/application-registry; then \ if test -d $(DESTDIR)@DESKTOP_DATADIR@/application-registry; then \
cd $(DESTDIR)@GNOME_DATADIR@/application-registry \ cd $(DESTDIR)@DESKTOP_DATADIR@/application-registry \
&& rm -f gimp-$(LT_RELEASE).applications \ && rm -f gimp-$(LT_RELEASE).applications \
&& $(LN_S) $(miscdatadir)/gimp.applications gimp-$(LT_RELEASE).applications \ && $(LN_S) $(miscdatadir)/gimp.applications gimp-$(LT_RELEASE).applications \
; fi ; fi
if test -d $(DESTDIR)@GNOME_DATADIR@/mime-info; then \ if test -d $(DESTDIR)@DESKTOP_DATADIR@/mime-info; then \
cd $(DESTDIR)@GNOME_DATADIR@/mime-info \ cd $(DESTDIR)@DESKTOP_DATADIR@/mime-info \
&& rm -f gimp-$(LT_RELEASE).keys \ && rm -f gimp-$(LT_RELEASE).keys \
&& $(LN_S) $(miscdatadir)/gimp.keys gimp-$(LT_RELEASE).keys \ && $(LN_S) $(miscdatadir)/gimp.keys gimp-$(LT_RELEASE).keys \
; fi ; fi
endif endif
uninstall-local: uninstall-local:
if GNOME_DATADIR if DESKTOP_DATADIR
if test -d $(DESTDIR)@GNOME_DATADIR@/applications; then \ if test -d $(DESTDIR)@DESKTOP_DATADIR@/applications; then \
cd $(DESTDIR)@GNOME_DATADIR@/applications \ cd $(DESTDIR)@DESKTOP_DATADIR@/applications \
&& rm -f gimp-$(LT_RELEASE).desktop \ && rm -f gimp-$(LT_RELEASE).desktop \
; fi ; fi
if test -d $(DESTDIR)@GNOME_DATADIR@/application-registry; then \ if test -d $(DESTDIR)@DESKTOP_DATADIR@/application-registry; then \
cd $(DESTDIR)@GNOME_DATADIR@/application-registry \ cd $(DESTDIR)@DESKTOP_DATADIR@/application-registry \
&& rm -f gimp-$(LT_RELEASE).applications \ && rm -f gimp-$(LT_RELEASE).applications \
; fi ; fi
if test -d $(DESTDIR)@GNOME_DATADIR@/mime-info; then \ if test -d $(DESTDIR)@DESKTOP_DATADIR@/mime-info; then \
cd $(DESTDIR)@GNOME_DATADIR@/mime-info \ cd $(DESTDIR)@DESKTOP_DATADIR@/mime-info \
&& rm -f gimp-$(LT_RELEASE).keys \ && rm -f gimp-$(LT_RELEASE).keys \
; fi ; fi
endif endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment