mirror of https://github.com/GNOME/gimp.git
Makefile.am configure.in gimp-1.3.pc.in added pkg-config files for
2001-11-25 Sven Neumann <sven@gimp.org> * Makefile.am * configure.in * gimp-1.3.pc.in * gimpui-1.3.pc.in: added pkg-config files for gimp-1.3. * gimptool-1.4.in: renamed to gimptool-1.3.in * docs/Makefile.am * docs/gimptool-1.4.1.in renamed to docs/gimptool-1.3.1.in. Disabled installation of man-pages; they need to be updated and should probably be renamed. * app/Makefile.am: generate binary called gimp-1.3 sp we don't clash with older gimp installations. * gimp-1.3.pc.in * gimpui-1.3.pc.in: added pkg-config files for gimp-1.3. * INSTALL * NEWS: updated
This commit is contained in:
parent
4d786f610d
commit
871f6a8ab8
|
@ -10,7 +10,9 @@ gimp.spec
|
|||
config.status
|
||||
libtool
|
||||
aclocal.m4
|
||||
gimptool-1.4
|
||||
gimptool-1.3
|
||||
gimp-1.3.pc
|
||||
gimpui-1.3.pc
|
||||
intl
|
||||
config.h.in
|
||||
stamp-h.in
|
||||
|
|
23
ChangeLog
23
ChangeLog
|
@ -1,3 +1,26 @@
|
|||
2001-11-25 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* Makefile.am
|
||||
* configure.in
|
||||
* gimp-1.3.pc.in
|
||||
* gimpui-1.3.pc.in: added pkg-config files for gimp-1.3.
|
||||
|
||||
* gimptool-1.4.in: renamed to gimptool-1.3.in
|
||||
|
||||
* docs/Makefile.am
|
||||
* docs/gimptool-1.4.1.in renamed to docs/gimptool-1.3.1.in.
|
||||
Disabled installation of man-pages; they need to be updated and
|
||||
should probably be renamed.
|
||||
|
||||
* app/Makefile.am: generate binary called gimp-1.3 sp we don't clash
|
||||
with older gimp installations.
|
||||
|
||||
* gimp-1.3.pc.in
|
||||
* gimpui-1.3.pc.in: added pkg-config files for gimp-1.3.
|
||||
|
||||
* INSTALL
|
||||
* NEWS: updated
|
||||
|
||||
2001-11-24 Sven Neumann <sven@gimp.org>
|
||||
|
||||
Clean up after Marc Lehmann who changed tools/pdbgen/pdb/color.pdb
|
||||
|
|
20
INSTALL
20
INSTALL
|
@ -6,24 +6,22 @@ There are some basic steps to building and installing the GIMP:
|
|||
|
||||
1. You need to have installed a recent version of pkg-config available
|
||||
from http://www.freedesktop.org/software/pkgconfig/.
|
||||
2. You need to have installed GTK version 1.3.10 or better. Do not try
|
||||
2. You need to have installed GTK version 1.3.11 or better. Do not try
|
||||
to use the stable GTK+ versions 1.2.x, it will not work. GTK+-1.3.x
|
||||
are development releases of the upcoming GTK+-2.0 release. GTK+-2.0
|
||||
itself needs recent versions of GLib-2.0, Pango and ATK. Grab them
|
||||
from ftp://ftp.gtk.org/. GTK+-2.0 and friends can be installed side
|
||||
by side with GTK+-1.2.
|
||||
3. We require PangoFT2, a Pango backend that uses FreeType2. Make you
|
||||
sure you have FreeType2 installed before you compile Pango.
|
||||
3. We require PangoFT2, a Pango backend that uses FreeType2. Make sure
|
||||
you have FreeType2 installed before you compile Pango.
|
||||
4. You may want to install other third party libraries or programs that
|
||||
are needed for some of the available plugins: TIFF, PNG, JPEG.
|
||||
5. Configure the GIMP by running the `configure' script.
|
||||
You may want to pass some options to it, see below.
|
||||
6. Build the GIMP by running `make'.
|
||||
7. If you have installed GIMP-1.2 in the same prefix, make a copy of
|
||||
the gimp executable (calling it for example gimp12). Everything but
|
||||
the main gimp executable will be installed in way that it does not
|
||||
clash with files from a GIMP-1.2 installation.
|
||||
7. Install the GIMP by running `make install'.
|
||||
7. Install the GIMP by running `make install'. In order to avoid clashes
|
||||
with an installed stable version of The GIMP, we install a binary
|
||||
called gimp-1.3.
|
||||
|
||||
Please make sure you don't have any old GTK+-2.0, jpeg, etc. libraries
|
||||
lying around on your system, otherwise configure may fail to find the
|
||||
|
@ -34,8 +32,8 @@ packages are included below. Here is an illustration of commands that
|
|||
might be used to build and install the GIMP. The actual configuration,
|
||||
compilation and installation output is not shown.
|
||||
|
||||
% tar xvfz gimp-1.3.0.tar.gz # unpack the sources
|
||||
% cd gimp-1.3.0 # change to the toplevel directory
|
||||
% tar xvfz gimp-1.3.x.tar.gz # unpack the sources
|
||||
% cd gimp-1.3.x # change to the toplevel directory
|
||||
% ./configure # run the `configure' script
|
||||
% make # build the GIMP
|
||||
% make install # install the GIMP
|
||||
|
@ -99,7 +97,7 @@ recognizes. These are:
|
|||
The `make' command builds several things:
|
||||
- A bunch of public libraries in the directories starting with libgimp.
|
||||
- The plug-in programs in the `plug-ins' subdirectory.
|
||||
- The main GIMP program in `app/gimp'.
|
||||
- The main GIMP program 'gimp-1.3' in `app'.
|
||||
|
||||
The `make install' commands installs the gimp header files associated
|
||||
with the libgimp libraries, the plug-ins, some data files and the GIMP
|
||||
|
|
11
Makefile.am
11
Makefile.am
|
@ -27,7 +27,10 @@ SUBDIRS = \
|
|||
devel-docs \
|
||||
build
|
||||
|
||||
bin_SCRIPTS = gimptool-1.4 @GIMPINSTALL@
|
||||
bin_SCRIPTS = gimptool-1.3 @GIMPINSTALL@
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = gimp-1.3.pc gimpui-1.3.pc
|
||||
|
||||
EXTRA_SCRIPTS = gimpinstall
|
||||
|
||||
|
@ -62,8 +65,8 @@ gimpinstall:
|
|||
|
||||
install-exec-local:
|
||||
cd $(DESTDIR)$(bindir) \
|
||||
&& rm -f gimp-config-1.4 \
|
||||
&& $(LN_S) gimptool-1.4 gimp-config-1.4
|
||||
&& rm -f gimp-config-1.3 \
|
||||
&& $(LN_S) gimptool-1.3 gimp-config-1.3
|
||||
|
||||
uninstall-local:
|
||||
rm -f $(DESTDIR)$(bindir)/gimp-config-1.4
|
||||
rm -f $(DESTDIR)$(bindir)/gimp-config-1.3
|
||||
|
|
20
NEWS
20
NEWS
|
@ -6,8 +6,10 @@ GIMP 1.3 is the development branch of The GIMP. Here's where the
|
|||
development takes place on the road to the next stable release
|
||||
dubbed GIMP 1.4.
|
||||
|
||||
Version 1.3.0
|
||||
=============
|
||||
|
||||
Overview of Changes in GIMP 1.3.0
|
||||
=================================
|
||||
|
||||
- Ported almost everything to the GTK+-2.0 API. Check the file INSTALL
|
||||
to learn what libraries we require in detail.
|
||||
- Cleaned up the core a lot. The app directory is now broken up into
|
||||
|
@ -22,3 +24,17 @@ Version 1.3.0
|
|||
libraries for plug-ins and the core.
|
||||
- Removed GIMP 1.0 compatibility wrappers.
|
||||
- Lots of stuff not mentioned here. See the file ChangeLog for more info.
|
||||
|
||||
Overview of Changes in GIMP 1.3.1
|
||||
=================================
|
||||
|
||||
- Follow GTK+-2.0 API changes [Mitch, Sven]
|
||||
- Added Color Erase paint mode [Simon Budig]
|
||||
- Proofreading of messages [Rebecca Walter]
|
||||
- Improvements to container views [Mitch]
|
||||
- Improved tool options [Mitch]
|
||||
- Reworked paint_funcs [Daniel Egger]
|
||||
- Lots of internal cleanups [Mitch, Sven]
|
||||
|
||||
Other Contributors:
|
||||
Manish Singh, Guillermo S. Romero
|
||||
|
|
|
@ -3,4 +3,4 @@ Makefile.in
|
|||
makefile.mingw
|
||||
.deps
|
||||
.libs
|
||||
gimp
|
||||
gimp-1.3
|
||||
|
|
|
@ -4,7 +4,7 @@ SUBDIRS = paint-funcs base core xcf file pdb plug-in display tools widgets gui
|
|||
|
||||
scriptdata =
|
||||
|
||||
bin_PROGRAMS = gimp
|
||||
bin_PROGRAMS = gimp-1.3
|
||||
|
||||
##
|
||||
## gui stuff that needs to go to libgimp/, gui/ or /dev/null
|
||||
|
@ -86,7 +86,7 @@ stuff_sources = \
|
|||
libgimp_glue.c \
|
||||
libgimp_glue.h
|
||||
|
||||
gimp_SOURCES = @STRIP_BEGIN@ \
|
||||
gimp_1_3_SOURCES = @STRIP_BEGIN@ \
|
||||
$(gui_sources) \
|
||||
$(core_ui_sources) \
|
||||
$(core_sources) \
|
||||
|
@ -112,7 +112,7 @@ else
|
|||
REGEXREPL = $(top_builddir)/regexrepl/libregex.a
|
||||
endif
|
||||
|
||||
gimp_LDFLAGS = -export-dynamic -export-symbols $(srcdir)/gimp.sym
|
||||
gimp_1_3_LDFLAGS = -export-dynamic -export-symbols $(srcdir)/gimp.sym
|
||||
|
||||
AM_CPPFLAGS = @STRIP_BEGIN@ \
|
||||
-DLIBDIR=\""$(gimpplugindir)"\" \
|
||||
|
@ -128,7 +128,7 @@ INCLUDES = @STRIP_BEGIN@ \
|
|||
-I$(includedir) \
|
||||
@STRIP_END@
|
||||
|
||||
gimp_LDADD = @STRIP_BEGIN@ \
|
||||
gimp_1_3_LDADD = @STRIP_BEGIN@ \
|
||||
gui/libappgui.a \
|
||||
tools/libapptools.a \
|
||||
display/libappdisplay.a \
|
||||
|
|
31
configure.in
31
configure.in
|
@ -268,6 +268,10 @@ else
|
|||
fi
|
||||
AM_CONDITIONAL(HAVE_ASM_MMX, test x$have_asm_mmx = xtrue)
|
||||
|
||||
|
||||
dnl build of gimp-remote is disabled for now
|
||||
dnl GIMP_REMOTE="gimp-remote"
|
||||
|
||||
dnl Check if building for GTK+-X11
|
||||
gdk_target=`$PKG_CONFIG --variable=target gtk+-2.0`
|
||||
if test "$gdk_target" = x11; then
|
||||
|
@ -275,18 +279,18 @@ if test "$gdk_target" = x11; then
|
|||
if test -z "$LIBXMU"; then
|
||||
AC_CHECK_LIB(Xmu, XmuClientWindow,
|
||||
AC_CHECK_HEADER(X11/Xmu/WinUtil.h,
|
||||
WEBBROWSER="webbrowser"; GIMP_REMOTE="gimp-remote"; LIBXMU='-lXmu -lXt -lSM -lICE',
|
||||
AC_MSG_WARN(*** webbrowser plug-in and gimp-remote will not be built (XMU header file not found) ***)),
|
||||
WEBBROWSER="webbrowser"; LIBXMU='-lXmu -lXt -lSM -lICE',
|
||||
AC_MSG_WARN(*** webbrowser plug-in will not be built (XMU header file not found) ***)),
|
||||
AC_CHECK_LIB(Xmu, XmuUpdateMapHints,
|
||||
AC_CHECK_HEADER(X11/Xmu/WinUtil.h,
|
||||
WEBBROWSER="webbrowser"; GIMP_REMOTE="gimp-remote"; LIBXMU='-lXmu -lXt',
|
||||
AC_MSG_WARN(*** webbrowser plug-in and gimp-remote will not be built (XMU header file not found) ***)),
|
||||
AC_MSG_WARN(*** webbrowser plug-in and gimp-remote will not be built (XMU library not found) ***), -lXt), -lXt -lSM -lICE)
|
||||
WEBBROWSER="webbrowser"; LIBXMU='-lXmu -lXt',
|
||||
AC_MSG_WARN(*** webbrowser plug-in will not be built (XMU header file not found) ***)),
|
||||
AC_MSG_WARN(*** webbrowser plug-in will not be built (XMU library not found) ***), -lXt), -lXt -lSM -lICE)
|
||||
fi
|
||||
else
|
||||
AC_MSG_WARN([
|
||||
*** Not building for GTK+-X11 (GDK backend is $gdk_target).
|
||||
*** Webbrowser plug-in and gimp-remote will not be built.])
|
||||
*** Webbrowser plug-in will not be built.])
|
||||
fi
|
||||
|
||||
dnl Test for libaa
|
||||
|
@ -693,7 +697,7 @@ if test "x$enable_perl" != xno; then
|
|||
GIMP_CFLAGS="$GIMP_CFLAGS_NOUI"
|
||||
GIMP_LIBS_NOUI="-L\$topdir/../../libgimp/.libs -L\$topdir/../../libgimp -lgimp-$LT_RELEASE -L\$topdir/../../libgimpcolor/.libs -L\$topdir/../../libgimpcolor -lgimpcolor-$LT_RELEASE -L\$topdir/../../libgimpbase/.libs -L\$topdir/../../libgimpbase -lgimpbase-$LT_RELEASE $GLIB_LIBS $LIBS"
|
||||
GIMP_LIBS="$GIMP_LIBS_NOUI -lgimpui-$LT_RELEASE"
|
||||
GIMPTOOL="../../gimptool-1.4"
|
||||
GIMPTOOL="../../gimptool-1.3"
|
||||
IN_GIMP=1
|
||||
EXTENSIVE_TESTS=0
|
||||
|
||||
|
@ -830,7 +834,9 @@ dnl plug-ins/gdyntext/Makefile
|
|||
dnl plug-ins/helpbrowser/Makefile
|
||||
dnl plug-ins/perl/po/Makefile.in
|
||||
AC_OUTPUT([
|
||||
gimptool-1.4
|
||||
gimptool-1.3
|
||||
gimp-1.3.pc
|
||||
gimpui-1.3.pc
|
||||
gimp.spec
|
||||
Makefile
|
||||
build/Makefile
|
||||
|
@ -912,10 +918,9 @@ devel-docs/libgimpcolor/Makefile
|
|||
devel-docs/libgimpmath/Makefile
|
||||
devel-docs/libgimpwidgets/Makefile
|
||||
docs/Makefile
|
||||
docs/gimp.1
|
||||
docs/gimprc.5
|
||||
docs/gimptool-1.4.1
|
||||
docs/gimp-remote.1
|
||||
docs/gimp-1.3.1
|
||||
docs/gimprc-1.3.5
|
||||
docs/gimptool-1.3.1
|
||||
tips/Makefile
|
||||
pixmaps/Makefile
|
||||
cursors/Makefile
|
||||
|
@ -939,7 +944,7 @@ po-libgimp/Makefile.in
|
|||
po-plug-ins/Makefile.in
|
||||
po-script-fu/Makefile.in
|
||||
],[
|
||||
chmod +x gimptool-1.4
|
||||
chmod +x gimptool-1.3
|
||||
|
||||
sed -e "/POTFILES =/r po-libgimp/POTFILES" po-libgimp/Makefile.in > po-libgimp/Makefile
|
||||
sed -e "/POTFILES =/r po-plug-ins/POTFILES" po-plug-ins/Makefile.in > po-plug-ins/Makefile
|
||||
|
|
|
@ -3,8 +3,8 @@ Makefile.in
|
|||
.xvpics
|
||||
gimp.1
|
||||
gimprc.5
|
||||
gimptool-1.4.1
|
||||
gimp-remote.1
|
||||
gimptool-1.3.1
|
||||
Wilber.xcf
|
||||
Wilber_Construction_Kit.xcf
|
||||
quick_reference
|
||||
|
|
|
@ -1,10 +1,13 @@
|
|||
## Process this file with automake to produce Makefile.in
|
||||
|
||||
man_MANS = gimp.1 gimptool-1.4.1 gimp-remote.1 gimprc.5
|
||||
# Don't install any man-pages for now. They need to be updated and
|
||||
# would clash with older gimp installations.
|
||||
|
||||
# man_MANS = gimp.1 gimptool-1.3.1 gimprc.5
|
||||
|
||||
EXTRA_DIST = \
|
||||
gimp.1.in \
|
||||
gimptool-1.4.1.in \
|
||||
gimptool-1.3.1.in \
|
||||
gimp-remote.1.in \
|
||||
gimprc.5.in \
|
||||
Wilber.svg \
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
.TH GIMPTOOL-1.4 1 "28 August 2001" "Version @GIMP_VERSION@" "GIMP Manual Pages"
|
||||
.TH GIMPTOOL-1.3 1 "25 November 2001" "Version @GIMP_VERSION@" "GIMP Manual Pages"
|
||||
.SH NAME
|
||||
gimptool-1.4 - script to perform various Gimpy functions
|
||||
gimptool-1.3 - script to perform various Gimpy functions
|
||||
.SH SYNOPSIS
|
||||
.B gimptool-1.4
|
||||
.B gimptool-1.3
|
||||
[\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP] [\-\-version]
|
||||
[\-\-help] [\-\-quiet] [\-\-silent] [\-n] [\-\-just-print] [\-\-dry-run] [\-\-recon]
|
||||
[\-\-bindir] [\-\-sbindir] [\-\-libexecdir] [\-\-datadir] [\-\-sysconfdir]
|
||||
|
@ -21,16 +21,16 @@ gimptool-1.4 - script to perform various Gimpy functions
|
|||
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
\fIgimptool-1.4\fP is a tool that can, among other things, build plug-ins
|
||||
\fIgimptool-1.3\fP is a tool that can, among other things, build plug-ins
|
||||
or scripts and install them if they are distributed in one source file.
|
||||
.PP
|
||||
\fIgimptool-1.4\fP can also be used by programs that need to know what
|
||||
\fIgimptool-1.3\fP can also be used by programs that need to know what
|
||||
libraries and include-paths \fIGimp\fP was compiled with. This is especially
|
||||
useful in Makefiles.
|
||||
|
||||
.SH OPTIONS
|
||||
.l
|
||||
\fIgimptool-1.4\fP accepts the following options:
|
||||
\fIgimptool-1.3\fP accepts the following options:
|
||||
.TP 8
|
||||
.B \-\-version
|
||||
Print the currently installed version of \fIGimp\fP on the standard output.
|
||||
|
@ -203,8 +203,7 @@ LIBS=-lintl .
|
|||
|
||||
.SH SEE ALSO
|
||||
.BR gimp (1),
|
||||
.BR gimprc (5),
|
||||
.BR gimp-remote (1),
|
||||
.BR gimprc (5),
|
||||
.BR pkg-config (1)
|
||||
|
||||
.SH AUTHORS
|
|
@ -0,0 +1,224 @@
|
|||
.TH GIMPTOOL-1.3 1 "25 November 2001" "Version @GIMP_VERSION@" "GIMP Manual Pages"
|
||||
.SH NAME
|
||||
gimptool-1.3 - script to perform various Gimpy functions
|
||||
.SH SYNOPSIS
|
||||
.B gimptool-1.3
|
||||
[\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP] [\-\-version]
|
||||
[\-\-help] [\-\-quiet] [\-\-silent] [\-n] [\-\-just-print] [\-\-dry-run] [\-\-recon]
|
||||
[\-\-bindir] [\-\-sbindir] [\-\-libexecdir] [\-\-datadir] [\-\-sysconfdir]
|
||||
[\-\-sharedstatedir] [\-\-localstatedir] [-\-libdir] [\-\-infodir] [\-\-mandir]
|
||||
[\-\-includedir] [\-\-gimpplugindir] [\-\-gimpdatadir]
|
||||
[\-\-libs] [\-\-libs-noui] [\-\-cflags] [\-\-cflags-noi] [\-\-build \fIplug\-in.c\fP]
|
||||
[\-\-build\-strip \fIplug\-in.c\fP] [\-\-install \fIplug\-in.c\fP]
|
||||
[\-\-install-strip \fIplug\-in.c\fP] [\-\-install-admin \fIplug-in.c\fP]
|
||||
[\-\-install\-bin \fIplug\-in\fP]
|
||||
[\-\-install\-admin\-strip \fIplug-in.c\fP] [\-\-install\-bin\-strip \fIplug\-in\fP]
|
||||
[\-\-\install\-admin\-bin \fIplug\-in\fP] [\-\-install\-script \fIscript.scm\fP]
|
||||
[\-\-\install\-admin\-script \fIscript.scm\fP]
|
||||
[\-\-uninstall\-bin \fIplug\-in\fP] [\-\-uninstall\-admin\-bin \fIplug\-in\fP]
|
||||
[\-\-uninstall\-script \fIscript.scm\fP] [\-\-uninstall\-admin\-script \fIscript.scm\fP]
|
||||
|
||||
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
\fIgimptool-1.3\fP is a tool that can, among other things, build plug-ins
|
||||
or scripts and install them if they are distributed in one source file.
|
||||
.PP
|
||||
\fIgimptool-1.3\fP can also be used by programs that need to know what
|
||||
libraries and include-paths \fIGimp\fP was compiled with. This is especially
|
||||
useful in Makefiles.
|
||||
|
||||
.SH OPTIONS
|
||||
.l
|
||||
\fIgimptool-1.3\fP accepts the following options:
|
||||
.TP 8
|
||||
.B \-\-version
|
||||
Print the currently installed version of \fIGimp\fP on the standard output.
|
||||
.TP 8
|
||||
.B \-\-help
|
||||
Print out the help blurb, showing commonly used commandline options.
|
||||
.TP 8
|
||||
.B \-\-quiet
|
||||
Run quietly without echoing any of the build commands.
|
||||
.TP 8
|
||||
.B \-\-silent
|
||||
Run silently without echoing any of the build commands. Same as \-\-quiet.
|
||||
.TP 8
|
||||
.B \-n
|
||||
Test mode. Print the commands but dont actually execute them. Useful for
|
||||
making dry runs for testing.
|
||||
.TP 8
|
||||
.B \-\-just-print
|
||||
Test mode. Print the commands but dont actually execute them. Same as \-n.
|
||||
.TP 8
|
||||
.B \-\-dry-run
|
||||
Test mode. Print the commands but dont actually execute them. Same as \-n.
|
||||
.TP 8
|
||||
.B \-\-recon
|
||||
Test mode. Print the commands but dont actually execute them. Same as \-n.
|
||||
.TP 8
|
||||
.B \-\-bindir
|
||||
Outputs the bindir used to install the \fIGimp\fP.
|
||||
.TP 8
|
||||
.B \-\-sbindir
|
||||
Outputs the sbindir used to install the \fIGimp\fP.
|
||||
.TP 8
|
||||
.B \-\-libexecdir
|
||||
Outputs the libexecdir used to install the \fIGimp\fP.
|
||||
.TP 8
|
||||
.B \-\-datadir
|
||||
Outputs the datadir used to install the \fIGimp\fP.
|
||||
.TP 8
|
||||
.B \-\-sysconfdir
|
||||
Outputs the sysconfdir used to install the \fIGimp\fP.
|
||||
.TP 8
|
||||
.B \-\-sharedstatedir
|
||||
Outputs the sharedstatedir used to install the \fIGimp\fP.
|
||||
.TP 8
|
||||
.B \-\-localstatedir
|
||||
Outputs the localstatedir used to install the \fIGimp\fP.
|
||||
.TP 8
|
||||
.B \-\-libdir
|
||||
Outputs the libdir used to install the \fIGimp\fP.
|
||||
.TP 8
|
||||
.B \-\-infodir
|
||||
Outputs the infodir used to install the \fIGimp\fP.
|
||||
.TP 8
|
||||
.B \-\-mandir
|
||||
Outputs the mandir used to install the \fIGimp\fP.
|
||||
.TP 8
|
||||
.B \-\-includedir
|
||||
Outputs the includedir used to install the \fIGimp\fP.
|
||||
.TP 8
|
||||
.B \-\-gimpdatadir
|
||||
Outputs the actual directory where the \fIGimp\fP data files were installed.
|
||||
.TP 8
|
||||
.B \-\-gimpplugindir
|
||||
Outputs the actual directory where the \fIGimp\fP plugins were installed.
|
||||
.TP 8
|
||||
.B \-\-build \fIplug-in.c\fP
|
||||
Compile and link \fIplug-in.c\fP into a \fIGimp\fP plug-in.
|
||||
.TP 8
|
||||
.B \-\-build\-strip \fIplug-in.c\fP
|
||||
Compile,link, and strip \fIplug-in.c\fP into a \fIGimp\fP plug-in.
|
||||
.TP 8
|
||||
.B \-\-install \fIplug-in.c\fP
|
||||
Compile, link, and install \fIplug-in.c\fP into the user's personal \fIGimp\fP
|
||||
plug-in directory (\fB$HOME\fP/@gimpdir@/plug-ins)
|
||||
.TP 8
|
||||
.B \-\-install\-strip \fIplug-in.c\fP
|
||||
Compile, link,strip, and install \fIplug-in.c\fP into the user's personal \fIGimp\fP
|
||||
plug-in directory (\fB$HOME\fP/@gimpdir@/plug-ins)
|
||||
.TP 8
|
||||
.B \-\-install\-admin \fIplug-in.c\fP
|
||||
Compile, link, and install \fIplug-in.c\fP into the system-wide \fIGimp\fP
|
||||
plug-in directory (@gimpplugindir@/plug-ins)
|
||||
.TP 8
|
||||
.B \-\-install\-bin \fIplug-in\fP
|
||||
Install \fIplug-in\fP into the user's personal \fIGimp\fP
|
||||
plug-in directory (\fB$HOME\fP/@gimpdir@/plug-ins)
|
||||
.TP 8
|
||||
.B \-\-install\-admin\-bin \fIplug-in\fP
|
||||
Install \fIplug-in\fP into the system-wide \fIGimp\fP
|
||||
plug-in directory (@gimpplugindir@/plug-ins)
|
||||
.TP 8
|
||||
.B \-\-install\-bin\-strip \fIplug-in\fP
|
||||
Install stripped \fIplug-in\fP into the user's personal \fIGimp\fP
|
||||
plug-in directory (\fB$HOME\fP/@gimpdir@/plug-ins)
|
||||
.TP 8
|
||||
.B \-\-install\-admin\-bin\-strip \fIplug-in\fP
|
||||
Install stripped \fIplug-in\fP into the system-wide \fIGimp\fP
|
||||
plug-in directory (@gimpplugindir@/plug-ins)
|
||||
.TP 8
|
||||
.B \-\-install\-script \fIscript.scm\fP
|
||||
Install \fIscript.scm\fP into the user's personal \fIGimp\fP
|
||||
script directory (\fB$HOME\fP/@gimpdir@/scripts)
|
||||
.TP 8
|
||||
.B \-\-install\-admin\-script \fIscript.scm\fP
|
||||
Install \fIscript.scm\fP into the system-wide \fIGimp\fP
|
||||
script directory (@gimpdatadir@/scripts)
|
||||
.TP 8
|
||||
.B \-\-uninstall\-bin \fIplug-in\fP
|
||||
Uninstall \fIplug-in\fP from the user's personal \fIGimp\fP
|
||||
plug-in directory (\fB$HOME\fP/@gimpdir@/plug-ins)
|
||||
.TP 8
|
||||
.B \-\-uninstall\-admin\-bin \fIplug-in\fP
|
||||
Uninstall \fIplug-in\fP from the system-wide \fIGimp\fP
|
||||
plug-in directory (@gimpplugindir@/plug-ins)
|
||||
.TP 8
|
||||
.B \-\-uninstall\-script \fIscript.scm\fP
|
||||
Uninstall \fIscript.scm\fP from the user's personal \fIGimp\fP
|
||||
script directory (\fB$HOME\fP/@gimpdir@/scripts)
|
||||
.TP 8
|
||||
.B \-\-uninstall\-admin\-script \fIscript.scm\fP
|
||||
Uninstall \fIscript.scm\fP from the system-wide \fIGimp\fP
|
||||
script directory (@gimpdatadir@/scripts)
|
||||
.TP 8
|
||||
.B \-\-libs
|
||||
Print the linker flags that are necessary to link a \fIGimp\fP plug-in.
|
||||
.TP 8
|
||||
.B \-\-libs-noui
|
||||
Print the linker flags that are necessary to link a \fIGimp\fP plug-in, for
|
||||
plugins that do not require the GTK libs.
|
||||
.TP 8
|
||||
.B \-\-cflags
|
||||
Print the compiler flags that are necessary to compile a \fIGimp\fP plug-in.
|
||||
.TP 8
|
||||
.B \-\-clags-noui
|
||||
Print the compiler flags that are necessary to compile a \fIGimp\fP plug-in
|
||||
for plugins that do not require the GTK libs.
|
||||
.TP 8
|
||||
.B \-\-prefix=PREFIX
|
||||
If specified, use PREFIX instead of the installation prefix that \fIGimp\fP
|
||||
was built with when computing the output for the \-\-cflags and
|
||||
\-\-libs options. This option is also used for the exec prefix
|
||||
if \-\-exec\-prefix was not specified. This option must be specified
|
||||
before any \-\-libs or \-\-cflags options.
|
||||
.TP 8
|
||||
.B \-\-exec\-prefix=PREFIX
|
||||
If specified, use PREFIX instead of the installation exec prefix that
|
||||
\fIGimp\fP was built with when computing the output for the \-\-cflags
|
||||
and \-\-libs options. This option must be specified before any
|
||||
\-\-libs or \-\-cflags options.
|
||||
|
||||
.SH ENVIRONMENT
|
||||
.PP
|
||||
.TP 8
|
||||
.B PKG_CONFIG
|
||||
to get the location of the pkg-config program used to determine details
|
||||
about your glib, pango and gtk+ installation.
|
||||
.TP 8
|
||||
.B CC
|
||||
to get the name of the desired C compiler.
|
||||
.TP 8
|
||||
.B CFLAGS
|
||||
to get the preferred flags to pass to the C compiler for plug-in building.
|
||||
.TP 8
|
||||
.B LDFLAGS
|
||||
to get the prefered flags for passing to the linker.
|
||||
.TP 8
|
||||
.B LIBS
|
||||
for passing extra libs that may be needed in the build process. For example,
|
||||
LIBS=-lintl .
|
||||
|
||||
.SH SEE ALSO
|
||||
.BR gimp (1),
|
||||
.BR gimprc (5),
|
||||
.BR pkg-config (1)
|
||||
|
||||
.SH AUTHORS
|
||||
gimptool was written by Manish Singh (yosh@gimp.org) and based on
|
||||
gtk-config by Owen Taylor (owen@gtk.org).
|
||||
|
||||
This man page was written by Ben Gertzfield (che@debian.org), and tweaked
|
||||
by Manish Singh (yosh@gimp.org), Adrian Likins (adrian@gimp.org) and Marc
|
||||
Lehmann (pcg@goof.com>).
|
||||
|
||||
.SH COPYRIGHT
|
||||
Copyright \(co 1998 Owen Taylor and Manish Singh
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation.
|
|
@ -0,0 +1,224 @@
|
|||
.TH GIMPTOOL-1.3 1 "25 November 2001" "Version @GIMP_VERSION@" "GIMP Manual Pages"
|
||||
.SH NAME
|
||||
gimptool-1.3 - script to perform various Gimpy functions
|
||||
.SH SYNOPSIS
|
||||
.B gimptool-1.3
|
||||
[\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP] [\-\-version]
|
||||
[\-\-help] [\-\-quiet] [\-\-silent] [\-n] [\-\-just-print] [\-\-dry-run] [\-\-recon]
|
||||
[\-\-bindir] [\-\-sbindir] [\-\-libexecdir] [\-\-datadir] [\-\-sysconfdir]
|
||||
[\-\-sharedstatedir] [\-\-localstatedir] [-\-libdir] [\-\-infodir] [\-\-mandir]
|
||||
[\-\-includedir] [\-\-gimpplugindir] [\-\-gimpdatadir]
|
||||
[\-\-libs] [\-\-libs-noui] [\-\-cflags] [\-\-cflags-noi] [\-\-build \fIplug\-in.c\fP]
|
||||
[\-\-build\-strip \fIplug\-in.c\fP] [\-\-install \fIplug\-in.c\fP]
|
||||
[\-\-install-strip \fIplug\-in.c\fP] [\-\-install-admin \fIplug-in.c\fP]
|
||||
[\-\-install\-bin \fIplug\-in\fP]
|
||||
[\-\-install\-admin\-strip \fIplug-in.c\fP] [\-\-install\-bin\-strip \fIplug\-in\fP]
|
||||
[\-\-\install\-admin\-bin \fIplug\-in\fP] [\-\-install\-script \fIscript.scm\fP]
|
||||
[\-\-\install\-admin\-script \fIscript.scm\fP]
|
||||
[\-\-uninstall\-bin \fIplug\-in\fP] [\-\-uninstall\-admin\-bin \fIplug\-in\fP]
|
||||
[\-\-uninstall\-script \fIscript.scm\fP] [\-\-uninstall\-admin\-script \fIscript.scm\fP]
|
||||
|
||||
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
\fIgimptool-1.3\fP is a tool that can, among other things, build plug-ins
|
||||
or scripts and install them if they are distributed in one source file.
|
||||
.PP
|
||||
\fIgimptool-1.3\fP can also be used by programs that need to know what
|
||||
libraries and include-paths \fIGimp\fP was compiled with. This is especially
|
||||
useful in Makefiles.
|
||||
|
||||
.SH OPTIONS
|
||||
.l
|
||||
\fIgimptool-1.3\fP accepts the following options:
|
||||
.TP 8
|
||||
.B \-\-version
|
||||
Print the currently installed version of \fIGimp\fP on the standard output.
|
||||
.TP 8
|
||||
.B \-\-help
|
||||
Print out the help blurb, showing commonly used commandline options.
|
||||
.TP 8
|
||||
.B \-\-quiet
|
||||
Run quietly without echoing any of the build commands.
|
||||
.TP 8
|
||||
.B \-\-silent
|
||||
Run silently without echoing any of the build commands. Same as \-\-quiet.
|
||||
.TP 8
|
||||
.B \-n
|
||||
Test mode. Print the commands but dont actually execute them. Useful for
|
||||
making dry runs for testing.
|
||||
.TP 8
|
||||
.B \-\-just-print
|
||||
Test mode. Print the commands but dont actually execute them. Same as \-n.
|
||||
.TP 8
|
||||
.B \-\-dry-run
|
||||
Test mode. Print the commands but dont actually execute them. Same as \-n.
|
||||
.TP 8
|
||||
.B \-\-recon
|
||||
Test mode. Print the commands but dont actually execute them. Same as \-n.
|
||||
.TP 8
|
||||
.B \-\-bindir
|
||||
Outputs the bindir used to install the \fIGimp\fP.
|
||||
.TP 8
|
||||
.B \-\-sbindir
|
||||
Outputs the sbindir used to install the \fIGimp\fP.
|
||||
.TP 8
|
||||
.B \-\-libexecdir
|
||||
Outputs the libexecdir used to install the \fIGimp\fP.
|
||||
.TP 8
|
||||
.B \-\-datadir
|
||||
Outputs the datadir used to install the \fIGimp\fP.
|
||||
.TP 8
|
||||
.B \-\-sysconfdir
|
||||
Outputs the sysconfdir used to install the \fIGimp\fP.
|
||||
.TP 8
|
||||
.B \-\-sharedstatedir
|
||||
Outputs the sharedstatedir used to install the \fIGimp\fP.
|
||||
.TP 8
|
||||
.B \-\-localstatedir
|
||||
Outputs the localstatedir used to install the \fIGimp\fP.
|
||||
.TP 8
|
||||
.B \-\-libdir
|
||||
Outputs the libdir used to install the \fIGimp\fP.
|
||||
.TP 8
|
||||
.B \-\-infodir
|
||||
Outputs the infodir used to install the \fIGimp\fP.
|
||||
.TP 8
|
||||
.B \-\-mandir
|
||||
Outputs the mandir used to install the \fIGimp\fP.
|
||||
.TP 8
|
||||
.B \-\-includedir
|
||||
Outputs the includedir used to install the \fIGimp\fP.
|
||||
.TP 8
|
||||
.B \-\-gimpdatadir
|
||||
Outputs the actual directory where the \fIGimp\fP data files were installed.
|
||||
.TP 8
|
||||
.B \-\-gimpplugindir
|
||||
Outputs the actual directory where the \fIGimp\fP plugins were installed.
|
||||
.TP 8
|
||||
.B \-\-build \fIplug-in.c\fP
|
||||
Compile and link \fIplug-in.c\fP into a \fIGimp\fP plug-in.
|
||||
.TP 8
|
||||
.B \-\-build\-strip \fIplug-in.c\fP
|
||||
Compile,link, and strip \fIplug-in.c\fP into a \fIGimp\fP plug-in.
|
||||
.TP 8
|
||||
.B \-\-install \fIplug-in.c\fP
|
||||
Compile, link, and install \fIplug-in.c\fP into the user's personal \fIGimp\fP
|
||||
plug-in directory (\fB$HOME\fP/@gimpdir@/plug-ins)
|
||||
.TP 8
|
||||
.B \-\-install\-strip \fIplug-in.c\fP
|
||||
Compile, link,strip, and install \fIplug-in.c\fP into the user's personal \fIGimp\fP
|
||||
plug-in directory (\fB$HOME\fP/@gimpdir@/plug-ins)
|
||||
.TP 8
|
||||
.B \-\-install\-admin \fIplug-in.c\fP
|
||||
Compile, link, and install \fIplug-in.c\fP into the system-wide \fIGimp\fP
|
||||
plug-in directory (@gimpplugindir@/plug-ins)
|
||||
.TP 8
|
||||
.B \-\-install\-bin \fIplug-in\fP
|
||||
Install \fIplug-in\fP into the user's personal \fIGimp\fP
|
||||
plug-in directory (\fB$HOME\fP/@gimpdir@/plug-ins)
|
||||
.TP 8
|
||||
.B \-\-install\-admin\-bin \fIplug-in\fP
|
||||
Install \fIplug-in\fP into the system-wide \fIGimp\fP
|
||||
plug-in directory (@gimpplugindir@/plug-ins)
|
||||
.TP 8
|
||||
.B \-\-install\-bin\-strip \fIplug-in\fP
|
||||
Install stripped \fIplug-in\fP into the user's personal \fIGimp\fP
|
||||
plug-in directory (\fB$HOME\fP/@gimpdir@/plug-ins)
|
||||
.TP 8
|
||||
.B \-\-install\-admin\-bin\-strip \fIplug-in\fP
|
||||
Install stripped \fIplug-in\fP into the system-wide \fIGimp\fP
|
||||
plug-in directory (@gimpplugindir@/plug-ins)
|
||||
.TP 8
|
||||
.B \-\-install\-script \fIscript.scm\fP
|
||||
Install \fIscript.scm\fP into the user's personal \fIGimp\fP
|
||||
script directory (\fB$HOME\fP/@gimpdir@/scripts)
|
||||
.TP 8
|
||||
.B \-\-install\-admin\-script \fIscript.scm\fP
|
||||
Install \fIscript.scm\fP into the system-wide \fIGimp\fP
|
||||
script directory (@gimpdatadir@/scripts)
|
||||
.TP 8
|
||||
.B \-\-uninstall\-bin \fIplug-in\fP
|
||||
Uninstall \fIplug-in\fP from the user's personal \fIGimp\fP
|
||||
plug-in directory (\fB$HOME\fP/@gimpdir@/plug-ins)
|
||||
.TP 8
|
||||
.B \-\-uninstall\-admin\-bin \fIplug-in\fP
|
||||
Uninstall \fIplug-in\fP from the system-wide \fIGimp\fP
|
||||
plug-in directory (@gimpplugindir@/plug-ins)
|
||||
.TP 8
|
||||
.B \-\-uninstall\-script \fIscript.scm\fP
|
||||
Uninstall \fIscript.scm\fP from the user's personal \fIGimp\fP
|
||||
script directory (\fB$HOME\fP/@gimpdir@/scripts)
|
||||
.TP 8
|
||||
.B \-\-uninstall\-admin\-script \fIscript.scm\fP
|
||||
Uninstall \fIscript.scm\fP from the system-wide \fIGimp\fP
|
||||
script directory (@gimpdatadir@/scripts)
|
||||
.TP 8
|
||||
.B \-\-libs
|
||||
Print the linker flags that are necessary to link a \fIGimp\fP plug-in.
|
||||
.TP 8
|
||||
.B \-\-libs-noui
|
||||
Print the linker flags that are necessary to link a \fIGimp\fP plug-in, for
|
||||
plugins that do not require the GTK libs.
|
||||
.TP 8
|
||||
.B \-\-cflags
|
||||
Print the compiler flags that are necessary to compile a \fIGimp\fP plug-in.
|
||||
.TP 8
|
||||
.B \-\-clags-noui
|
||||
Print the compiler flags that are necessary to compile a \fIGimp\fP plug-in
|
||||
for plugins that do not require the GTK libs.
|
||||
.TP 8
|
||||
.B \-\-prefix=PREFIX
|
||||
If specified, use PREFIX instead of the installation prefix that \fIGimp\fP
|
||||
was built with when computing the output for the \-\-cflags and
|
||||
\-\-libs options. This option is also used for the exec prefix
|
||||
if \-\-exec\-prefix was not specified. This option must be specified
|
||||
before any \-\-libs or \-\-cflags options.
|
||||
.TP 8
|
||||
.B \-\-exec\-prefix=PREFIX
|
||||
If specified, use PREFIX instead of the installation exec prefix that
|
||||
\fIGimp\fP was built with when computing the output for the \-\-cflags
|
||||
and \-\-libs options. This option must be specified before any
|
||||
\-\-libs or \-\-cflags options.
|
||||
|
||||
.SH ENVIRONMENT
|
||||
.PP
|
||||
.TP 8
|
||||
.B PKG_CONFIG
|
||||
to get the location of the pkg-config program used to determine details
|
||||
about your glib, pango and gtk+ installation.
|
||||
.TP 8
|
||||
.B CC
|
||||
to get the name of the desired C compiler.
|
||||
.TP 8
|
||||
.B CFLAGS
|
||||
to get the preferred flags to pass to the C compiler for plug-in building.
|
||||
.TP 8
|
||||
.B LDFLAGS
|
||||
to get the prefered flags for passing to the linker.
|
||||
.TP 8
|
||||
.B LIBS
|
||||
for passing extra libs that may be needed in the build process. For example,
|
||||
LIBS=-lintl .
|
||||
|
||||
.SH SEE ALSO
|
||||
.BR gimp (1),
|
||||
.BR gimprc (5),
|
||||
.BR pkg-config (1)
|
||||
|
||||
.SH AUTHORS
|
||||
gimptool was written by Manish Singh (yosh@gimp.org) and based on
|
||||
gtk-config by Owen Taylor (owen@gtk.org).
|
||||
|
||||
This man page was written by Ben Gertzfield (che@debian.org), and tweaked
|
||||
by Manish Singh (yosh@gimp.org), Adrian Likins (adrian@gimp.org) and Marc
|
||||
Lehmann (pcg@goof.com>).
|
||||
|
||||
.SH COPYRIGHT
|
||||
Copyright \(co 1998 Owen Taylor and Manish Singh
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose and without fee is hereby granted,
|
||||
provided that the above copyright notice appear in all copies and that
|
||||
both that copyright notice and this permission notice appear in
|
||||
supporting documentation.
|
|
@ -0,0 +1,11 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: GIMP
|
||||
Description: GIMP Library
|
||||
Version: @VERSION@
|
||||
Requires: glib-2.0
|
||||
Libs: -L${libdir} -lgimpbase-1.3 -lgimpcolor-1.3 -lgimpmath-1.3 -lgimp-1.3
|
||||
Cflags: -I${includedir}/gimp-1.3
|
|
@ -0,0 +1,11 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: GIMP
|
||||
Description: GIMP Library
|
||||
Version: @VERSION@
|
||||
Requires: glib-2.0
|
||||
Libs: -L${libdir} -lgimpbase-1.3 -lgimpcolor-1.3 -lgimpmath-1.3 -lgimp-1.3
|
||||
Cflags: -I${includedir}/gimp-1.3
|
|
@ -0,0 +1,11 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: GIMP
|
||||
Description: GIMP Library
|
||||
Version: @VERSION@
|
||||
Requires: glib-2.0
|
||||
Libs: -L${libdir} -lgimpbase-1.3 -lgimpcolor-1.3 -lgimpmath-1.3 -lgimp-1.3
|
||||
Cflags: -I${includedir}/gimp-1.3
|
|
@ -0,0 +1,328 @@
|
|||
#! /bin/sh
|
||||
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
exec_prefix_set=no
|
||||
|
||||
bindir=@bindir@
|
||||
sbindir=@sbindir@
|
||||
libexecdir=@libexecdir@
|
||||
datadir=@datadir@
|
||||
sysconfdir=@sysconfdir@
|
||||
sharedstatedir=@sharedstatedir@
|
||||
localstatedir=@localstatedir@
|
||||
libdir=@libdir@
|
||||
infodir=@infodir@
|
||||
mandir=@mandir@
|
||||
includedir=@includedir@
|
||||
|
||||
gimpplugindir=@gimpplugindir@
|
||||
gimpdatadir=@gimpdatadir@
|
||||
|
||||
usage()
|
||||
{
|
||||
cat <<EOF
|
||||
Usage: gimptool-1.4 [OPTION]...
|
||||
|
||||
General options:
|
||||
--help print this message
|
||||
--quiet, --silent don't echo build commands
|
||||
--version print the version of GIMP associated with this script
|
||||
-n, --just-print, --dry-run, --recon
|
||||
don't actually run any commands; just print them
|
||||
Developer options:
|
||||
--cflags print the compiler flags that are necessary to
|
||||
compile a plug-in
|
||||
--libs print the linker flags that are necessary to link a
|
||||
plug-in
|
||||
--prefix=PREFIX use PREFIX instead of the installation prefix that
|
||||
GIMP was built when computing the output for --cflags
|
||||
and --libs
|
||||
--exec-prefix=PREFIX use PREFIX instead of the installation exec prefix
|
||||
that GIMP was built when computing the output for
|
||||
--cflags and --libs
|
||||
|
||||
Installation directory options:
|
||||
--prefix --exec-prefix --bindir --sbindir --libexecdir --datadir --sysconfdir
|
||||
--sharedstatedir --localstatedir --libdir --infodir --mandir --includedir
|
||||
--gimpplugindir --gimpdatadir
|
||||
|
||||
The --cflags and --libs options can be appended with -noui to get appropriate
|
||||
settings for plug-ins which do not use GTK+.
|
||||
|
||||
User options:
|
||||
--build plug-in.c build a plug-in from a source file
|
||||
--install plug-in.c same as --build, but installs the built
|
||||
plug-in as well
|
||||
--install-bin plug-in install a compiled plug-in
|
||||
--install-script script.scm install a script-fu script
|
||||
|
||||
--uninstall-bin plug-in remove a plug-in again
|
||||
--uninstall-script plug-in remove a script-fu script
|
||||
|
||||
The --install and --uninstall options have "admin" counterparts (with
|
||||
prefix --install-admin instead of --install) that can be used instead to
|
||||
install/uninstall a plug-in or script in the site directory instead of a
|
||||
user directory.
|
||||
|
||||
For plug-ins which do not use GTK+, the --build and --install options can be
|
||||
appended with -noui for appropriate settings. For plug-ins that use GTK+ but
|
||||
not libgimpui, append -nogimpui.
|
||||
|
||||
All binary build and install options can be appended with -strip to discard
|
||||
debugging information.
|
||||
EOF
|
||||
|
||||
exit $1
|
||||
}
|
||||
|
||||
noarg="\
|
||||
Error: Need a plug-in source file to build"
|
||||
|
||||
notfound="\
|
||||
Error: Couldn't find file to build/install/uninstall"
|
||||
|
||||
quiet=no
|
||||
donothing=no
|
||||
|
||||
if test $# -eq 0; then
|
||||
usage 1
|
||||
fi
|
||||
|
||||
if test x${PKG_CONFIG+set} != xset ; then
|
||||
gtk_cflags='@GTK_CFLAGS@'
|
||||
gtk_libs='@GTK_LIBS@'
|
||||
glib_cflags='@GLIB_CFLAGS@'
|
||||
glib_libs='@GLIB_LIBS@'
|
||||
else
|
||||
gtk_cflags=`$PKG_CONFIG --cflags gtk+-2.0`
|
||||
gtk_libs=`$PKG_CONFIG --libs gtk+-2.0`
|
||||
glib_cflags=`$PKG_CONFIG --cflags glib-2.0`
|
||||
glib_libs=`$PKG_CONFIG --libs glib-2.0`
|
||||
fi
|
||||
|
||||
if test x${INSTALL+set} != xset ; then
|
||||
INSTALL='@INSTALL@'
|
||||
if test "$INSTALL" = "./install-sh -c"; then
|
||||
mydirname=`echo $0 | sed -e 's#\(.*\)/[^/].*$#\1#'`
|
||||
INSTALL="$mydirname/gimpinstall"
|
||||
fi
|
||||
fi
|
||||
|
||||
if test x${CC+set} != xset ; then
|
||||
cc='@CC@'
|
||||
else
|
||||
cc="$CC"
|
||||
fi
|
||||
|
||||
if test x${CFLAGS+set} != xset ; then
|
||||
cflags='@CFLAGS@'
|
||||
else
|
||||
cflags="$CFLAGS"
|
||||
fi
|
||||
|
||||
if test x${LDFLAGS+set} != xset ; then
|
||||
ldflags='@LDFLAGS@'
|
||||
else
|
||||
ldflags="$LDFLAGS"
|
||||
fi
|
||||
|
||||
if test x${LIBS+set} != xset ; then
|
||||
libs=""
|
||||
else
|
||||
libs="$LIBS"
|
||||
fi
|
||||
|
||||
while test $# -gt 0; do
|
||||
case "$1" in
|
||||
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
|
||||
*) optarg= ;;
|
||||
esac
|
||||
|
||||
case $1 in
|
||||
--version)
|
||||
echo @GIMP_VERSION@
|
||||
exit 0
|
||||
;;
|
||||
--help)
|
||||
usage 0
|
||||
;;
|
||||
--quiet | --silent)
|
||||
quiet=yes
|
||||
;;
|
||||
-n | --just-print | --dry-run | --recon)
|
||||
donothing=yes
|
||||
;;
|
||||
--prefix=*)
|
||||
prefix=$optarg
|
||||
if test $exec_prefix_set = no ; then
|
||||
exec_prefix=$optarg
|
||||
fi
|
||||
;;
|
||||
--prefix)
|
||||
echo $prefix
|
||||
;;
|
||||
--exec-prefix=*)
|
||||
exec_prefix=$optarg
|
||||
exec_prefix_set=yes
|
||||
;;
|
||||
--exec-prefix)
|
||||
echo $exec_prefix
|
||||
;;
|
||||
--*dir)
|
||||
dirname=\$`echo $1 | sed -e 's,^--,,'`
|
||||
dirname=`eval echo $dirname`
|
||||
test -z "$dirname" && exit 1
|
||||
echo $dirname
|
||||
exit 0
|
||||
;;
|
||||
--cflags | --cflags-noui | --cflags-nogimpui)
|
||||
case $1 in
|
||||
--cflags | --cflags-nogimpui)
|
||||
my_gtk_cflags=$gtk_cflags ;;
|
||||
--cflags-noui)
|
||||
my_gtk_cflags=$glib_cflags ;;
|
||||
esac
|
||||
includes=-I@includedir@/gimp-@LT_RELEASE@
|
||||
echo $includes $my_gtk_cflags
|
||||
;;
|
||||
--libs | --libs-nogimpui)
|
||||
my_gtk_libs=
|
||||
libdirs=-L@libdir@
|
||||
for i in $gtk_libs ; do
|
||||
if test $i != -L@libdir@ ; then
|
||||
if test -z "$my_gtk_libs" ; then
|
||||
my_gtk_libs="$i"
|
||||
else
|
||||
my_gtk_libs="$my_gtk_libs $i"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
case $1 in
|
||||
--libs)
|
||||
echo $libdirs -lgimpui-@LT_RELEASE@ -lgimpwidgets-@LT_RELEASE@ -lgimp-@LT_RELEASE@ -lgimpcolor-@LT_RELEASE@ -lgimpmath-@LT_RELEASE@ -lgimpbase-@LT_RELEASE@ $my_gtk_libs ;;
|
||||
--libs-nogimpui)
|
||||
echo $libdirs -lgimp-@LT_RELEASE@ -lgimpcolor-@LT_RELEASE@ -lgimpmath-@LT_RELEASE@ -lgimpbase-@LT_RELEASE@ $my_gtk_libs ;;
|
||||
esac
|
||||
;;
|
||||
--libs-noui)
|
||||
echo -L@libdir@ -lgimp-@LT_RELEASE@ -lgimpcolor-@LT_RELEASE@ -lgimpmath-@LT_RELEASE@ -lgimpbase-@LT_RELEASE@ $glib_libs
|
||||
;;
|
||||
--install-bin | --install-admin-bin \
|
||||
| --install-bin-strip | --install-admin-bin-strip \
|
||||
| --install-script | --install-admin-script \
|
||||
| --uninstall-bin | --uninstall-admin-bin \
|
||||
| --uninstall-script | --uninstall-admin-script )
|
||||
case $1 in
|
||||
--*install-bin)
|
||||
install_cmd="@INSTALL_PROGRAM@"
|
||||
install_dir="$HOME/@gimpdir@/plug-ins"
|
||||
;;
|
||||
--install-bin-strip)
|
||||
install_cmd="@INSTALL_PROGRAM@ -s"
|
||||
install_dir="$HOME/@gimpdir@/plug-ins"
|
||||
;;
|
||||
--*install-admin-bin)
|
||||
install_cmd="@INSTALL_PROGRAM@"
|
||||
install_dir="$gimpplugindir/plug-ins"
|
||||
;;
|
||||
--install-admin-bin-strip)
|
||||
install_cmd="@INSTALL_PROGRAM@ -s"
|
||||
install_dir="$gimpplugindir/plug-ins"
|
||||
;;
|
||||
--*install-script)
|
||||
install_cmd="@INSTALL_DATA@"
|
||||
install_dir="$HOME/@gimpdir@/scripts"
|
||||
;;
|
||||
--*install-admin-script)
|
||||
install_cmd="@INSTALL_DATA@"
|
||||
install_dir="$gimpdatadir/scripts"
|
||||
;;
|
||||
esac
|
||||
case $1 in
|
||||
--uninstall-* )
|
||||
shift
|
||||
if test "x$1" != "x"; then
|
||||
if test -f "$install_dir/$1"; then
|
||||
cmd="rm -f $install_dir/$1"
|
||||
test $quiet = "yes" || echo $cmd
|
||||
test $donothing = "yes" || exec $cmd
|
||||
else
|
||||
echo "${notfound}" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
echo "${noarg}" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
shift
|
||||
if test "x$1" != "x"; then
|
||||
if test -r "$1"; then
|
||||
cmd="$install_cmd $1 $install_dir/$1"
|
||||
test $quiet = "yes" || echo $cmd
|
||||
test $donothing = "yes" || exec $cmd
|
||||
else
|
||||
echo "${notfound}" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
echo "${noarg}" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
--build | --install | --install-admin | --build-strip | --install-strip \
|
||||
| --install-admin-strip | --build-nogimpui | --install-nogimpui \
|
||||
| --install-admin-nogimpui | --build-nogimpui-strip \
|
||||
| --install-nogimpui-strip | --install-admin-nogimpui-strip \
|
||||
| --build-noui | --install-noui | --install-admin-noui \
|
||||
| --build-noui-strip | --install-noui-strip | --install-admin-noui-strip)
|
||||
opt=`echo $1 | sed 's/-strip$//'`
|
||||
if test "x$opt" != "x$1" ; then
|
||||
cflags=`echo $cflags | sed -e 's/-g //g' -e 's/ -g//g'`
|
||||
fi
|
||||
case $opt in
|
||||
--build | --build-noui | --build-nogimpui)
|
||||
install_dir=. ;;
|
||||
--install | --install-noui | --install-nogimpui)
|
||||
install_dir="$HOME/@gimpdir@/plug-ins" ;;
|
||||
--install-admin | --install-admin-noui | --install-admin-nogimpui)
|
||||
install_dir="$gimpplugindir/plug-ins" ;;
|
||||
esac
|
||||
noui=`echo $opt | sed 's/^.*\(noui\)$/\1/'`
|
||||
nogimpui=`echo $opt | sed 's/^.*\(nogimpui\)$/\1/'`
|
||||
if test "$noui" = "noui" ; then
|
||||
gimp_cflags=`$0 --cflags-noui`
|
||||
gimp_libs=`$0 --libs-noui`
|
||||
elif test "$nogimpui" = "nogimpui" ; then
|
||||
gimp_cflags=`$0 --cflags-nogimpui`
|
||||
gimp_libs=`$0 --libs-nogimpui`
|
||||
else
|
||||
gimp_cflags=`$0 --cflags`
|
||||
gimp_libs=`$0 --libs`
|
||||
fi
|
||||
shift
|
||||
if test "x$1" != "x"; then
|
||||
if test -r "$1"; then
|
||||
dest=`echo $1 | sed -e 's#.*/\([^/].*\)$#\1#' -e 's/\.[^.]*$//'`
|
||||
cmd="$cc $cflags $gimp_cflags -o $install_dir/$dest $1 $ldflags $gimp_libs $libs"
|
||||
test $quiet = "yes" || echo $cmd
|
||||
test $donothing = "yes" || exec $cmd
|
||||
else
|
||||
echo "${notfound}" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
echo "${noarg}" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
usage 1
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
|
@ -0,0 +1,11 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: GIMP UI
|
||||
Description: GIMP User Interface Library
|
||||
Version: @VERSION@
|
||||
Requires: gimp-1.3 gtk+-2.0
|
||||
Libs: -L${libdir} -lgimpui-1.3 -lgimpwidgets-1.3
|
||||
Cflags: -I${includedir}/gimp-1.3
|
|
@ -0,0 +1,11 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: GIMP UI
|
||||
Description: GIMP User Interface Library
|
||||
Version: @VERSION@
|
||||
Requires: gimp-1.3 gtk+-2.0
|
||||
Libs: -L${libdir} -lgimpui-1.3 -lgimpwidgets-1.3
|
||||
Cflags: -I${includedir}/gimp-1.3
|
|
@ -0,0 +1,11 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: GIMP UI
|
||||
Description: GIMP User Interface Library
|
||||
Version: @VERSION@
|
||||
Requires: gimp-1.3 gtk+-2.0
|
||||
Libs: -L${libdir} -lgimpui-1.3 -lgimpwidgets-1.3
|
||||
Cflags: -I${includedir}/gimp-1.3
|
Loading…
Reference in New Issue