Fri Aug 21 19:02:30 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtkrange.[ch] gtk/gtkhscale.c gtk/gtkvscale.[ch]: Fit scales into the theme-drawing framework. We do this by making them, like check/radio-buttons, no-window widgets with subwindows. We then move the value by calling gtk_widget_queue_clear() and only redraw the value in our draw() / expose() handler. A virtual function clear_background is added which queues a clear on the "background" portion of the widget. Fri Aug 21 13:04:27 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtktext.c (mark_bg_gc): Make background colors work again. (We can't always paint the background with a paint() function - only do that for selected text) Mon Aug 17 20:31:01 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtktearoffmenuitem.c gtk/gtkclist.[ch] gtk/gtkctree.[ch] gtk/gtklabel.c gtk/gtkmenu.c: Merges from main branch. * Makefile.am (SRC_SUBDIRS): Removed themes from SRC_SUBDIRS. the themes can't be built as part of the same build since they depend on gdk_imlib. Fri Aug 14 12:44:30 1998 Owen Taylor <otaylor@redhat.com> * gtk/gtkthemes.c (gtk_theme_engine_get): Removed sample engine code from gtkthemes.c. * configure.in ltconfig.in ltmain.sh gdk/Makefile.am gtk/Makefile.am gtk/ - Upgrade to libtool-1.2b + patch to add shared library dependencies for Linux. (Needs to be extended to other platforms where they are safe) - Check for -ldl so this branch should build on all platforms, though themes will work on all platforms they could work on. - Use -version and -release simultaneously: sonames stay as they are in the current scheme, but -lgtk-1.1 changes to -lgtk. - Added in extra -l flags to library LDFLAGS so we get shared library dependencies against X libs and -ldl. (But not libgtk against libgdk or libglib yet, since dependencies against uninstalled libraries aren't portable) Fri Aug 21 19:08:25 1998 Owen Taylor <otaylor@redhat.com> * Makefile.am: Added support for metal theme. Install/distribute gtkrc's for each theme. Mon Aug 17 20:32:53 1998 Owen Taylor <otaylor@redhat.com> * Makefile.am, pixmap/Makefile.am: Switch back to using automake, fix things up to make dist properly. * pixmap_theme.h: Rationalized. * win95_theme.h motif_theme.h: Removed * Started ChangeLog.
77 lines
1.5 KiB
Bash
77 lines
1.5 KiB
Bash
#!/bin/sh
|
|
|
|
glib_libs="@glib_libs@"
|
|
glib_cflags="@glib_cflags@"
|
|
|
|
prefix=@prefix@
|
|
exec_prefix=@exec_prefix@
|
|
exec_prefix_set=no
|
|
|
|
usage="\
|
|
Usage: gtk-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]"
|
|
|
|
if test $# -eq 0; then
|
|
echo "${usage}" 1>&2
|
|
exit 1
|
|
fi
|
|
|
|
while test $# -gt 0; do
|
|
case "$1" in
|
|
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
|
|
*) optarg= ;;
|
|
esac
|
|
|
|
case $1 in
|
|
--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
|
|
;;
|
|
--version)
|
|
echo @GTK_VERSION@
|
|
;;
|
|
--cflags)
|
|
if test @includedir@ != /usr/include ; then
|
|
includes=-I@includedir@
|
|
for i in $glib_cflags ; do
|
|
if test $i = -I@includedir@ ; then
|
|
includes=""
|
|
fi
|
|
done
|
|
fi
|
|
echo $includes @x_cflags@ $glib_cflags
|
|
;;
|
|
--libs)
|
|
my_glib_libs=
|
|
libdirs=-L@libdir@
|
|
for i in $glib_libs ; do
|
|
if test $i != -L@libdir@ ; then
|
|
if test -z "$my_glib_libs" ; then
|
|
my_glib_libs="$i"
|
|
else
|
|
my_glib_libs="$my_glib_libs $i"
|
|
fi
|
|
fi
|
|
done
|
|
echo $libdirs @x_ldflags@ -lgtk -lgdk $my_glib_libs @x_libs@ @DL_LIBS@ -lm
|
|
;;
|
|
*)
|
|
echo "${usage}" 1>&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
shift
|
|
done
|
|
|