]> Pileus Git - ~andy/gtk/commitdiff
postfix -lg* libraries with LT_RELEASE.
authorTim Janik <timj@gtk.org>
Thu, 7 May 1998 04:04:15 +0000 (04:04 +0000)
committerTim Janik <timj@src.gnome.org>
Thu, 7 May 1998 04:04:15 +0000 (04:04 +0000)
Thu May  7 05:14:19 1998  Tim Janik  <timj@gtk.org>

        * gtk-config.in (--libs): postfix -lg* libraries with LT_RELEASE.

        * ltmain.sh: added a new commandline flag -postfix similar to -release,
        but will immediately change the library name.

        * gdk/Makefile.am:
        * gtk/Makefile.am: specify -postfix and -version-info

        * configure.in: version bump to 1.1.0. added GTK_INTERFACE_AGE and
        GTK_BINARY_AGE. calculate LT_* variables for libtool.

22 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
INSTALL
NEWS
README
configure.in
gdk/Makefile.am
glib/ChangeLog
glib/Makefile.am
glib/configure.in
glib/ltmain.sh
gtk-config.in
gtk/Makefile.am
gtk/gtk.defs
gtk/testgtkrc
ltmain.sh
tests/testgtkrc

index f6f51ef49025d58f46d3bbbd68aa0a3b70da665e..6c7c1239021d32133c0a04d8ea43894dc10673e5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+Thu May  7 05:14:19 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk-config.in (--libs): postfix -lg* libraries with LT_RELEASE.
+
+       * ltmain.sh: added a new commandline flag -postfix similar to -release,
+       but will immediately change the library name.
+
+       * gdk/Makefile.am:
+       * gtk/Makefile.am: specify -postfix and -version-info
+
+       * configure.in: version bump to 1.1.0. added GTK_INTERFACE_AGE and
+       GTK_BINARY_AGE. calculate LT_* variables for libtool.
+
 1998-05-06  Federico Mena Quintero  <federico@nuclecu.unam.mx>
 
        * gtk/gtkclist.c (draw_row): Fixed incorrect painting of row
index f6f51ef49025d58f46d3bbbd68aa0a3b70da665e..6c7c1239021d32133c0a04d8ea43894dc10673e5 100644 (file)
@@ -1,3 +1,16 @@
+Thu May  7 05:14:19 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk-config.in (--libs): postfix -lg* libraries with LT_RELEASE.
+
+       * ltmain.sh: added a new commandline flag -postfix similar to -release,
+       but will immediately change the library name.
+
+       * gdk/Makefile.am:
+       * gtk/Makefile.am: specify -postfix and -version-info
+
+       * configure.in: version bump to 1.1.0. added GTK_INTERFACE_AGE and
+       GTK_BINARY_AGE. calculate LT_* variables for libtool.
+
 1998-05-06  Federico Mena Quintero  <federico@nuclecu.unam.mx>
 
        * gtk/gtkclist.c (draw_row): Fixed incorrect painting of row
index f6f51ef49025d58f46d3bbbd68aa0a3b70da665e..6c7c1239021d32133c0a04d8ea43894dc10673e5 100644 (file)
@@ -1,3 +1,16 @@
+Thu May  7 05:14:19 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk-config.in (--libs): postfix -lg* libraries with LT_RELEASE.
+
+       * ltmain.sh: added a new commandline flag -postfix similar to -release,
+       but will immediately change the library name.
+
+       * gdk/Makefile.am:
+       * gtk/Makefile.am: specify -postfix and -version-info
+
+       * configure.in: version bump to 1.1.0. added GTK_INTERFACE_AGE and
+       GTK_BINARY_AGE. calculate LT_* variables for libtool.
+
 1998-05-06  Federico Mena Quintero  <federico@nuclecu.unam.mx>
 
        * gtk/gtkclist.c (draw_row): Fixed incorrect painting of row
index f6f51ef49025d58f46d3bbbd68aa0a3b70da665e..6c7c1239021d32133c0a04d8ea43894dc10673e5 100644 (file)
@@ -1,3 +1,16 @@
+Thu May  7 05:14:19 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk-config.in (--libs): postfix -lg* libraries with LT_RELEASE.
+
+       * ltmain.sh: added a new commandline flag -postfix similar to -release,
+       but will immediately change the library name.
+
+       * gdk/Makefile.am:
+       * gtk/Makefile.am: specify -postfix and -version-info
+
+       * configure.in: version bump to 1.1.0. added GTK_INTERFACE_AGE and
+       GTK_BINARY_AGE. calculate LT_* variables for libtool.
+
 1998-05-06  Federico Mena Quintero  <federico@nuclecu.unam.mx>
 
        * gtk/gtkclist.c (draw_row): Fixed incorrect painting of row
index f6f51ef49025d58f46d3bbbd68aa0a3b70da665e..6c7c1239021d32133c0a04d8ea43894dc10673e5 100644 (file)
@@ -1,3 +1,16 @@
+Thu May  7 05:14:19 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk-config.in (--libs): postfix -lg* libraries with LT_RELEASE.
+
+       * ltmain.sh: added a new commandline flag -postfix similar to -release,
+       but will immediately change the library name.
+
+       * gdk/Makefile.am:
+       * gtk/Makefile.am: specify -postfix and -version-info
+
+       * configure.in: version bump to 1.1.0. added GTK_INTERFACE_AGE and
+       GTK_BINARY_AGE. calculate LT_* variables for libtool.
+
 1998-05-06  Federico Mena Quintero  <federico@nuclecu.unam.mx>
 
        * gtk/gtkclist.c (draw_row): Fixed incorrect painting of row
index f6f51ef49025d58f46d3bbbd68aa0a3b70da665e..6c7c1239021d32133c0a04d8ea43894dc10673e5 100644 (file)
@@ -1,3 +1,16 @@
+Thu May  7 05:14:19 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk-config.in (--libs): postfix -lg* libraries with LT_RELEASE.
+
+       * ltmain.sh: added a new commandline flag -postfix similar to -release,
+       but will immediately change the library name.
+
+       * gdk/Makefile.am:
+       * gtk/Makefile.am: specify -postfix and -version-info
+
+       * configure.in: version bump to 1.1.0. added GTK_INTERFACE_AGE and
+       GTK_BINARY_AGE. calculate LT_* variables for libtool.
+
 1998-05-06  Federico Mena Quintero  <federico@nuclecu.unam.mx>
 
        * gtk/gtkclist.c (draw_row): Fixed incorrect painting of row
index f6f51ef49025d58f46d3bbbd68aa0a3b70da665e..6c7c1239021d32133c0a04d8ea43894dc10673e5 100644 (file)
@@ -1,3 +1,16 @@
+Thu May  7 05:14:19 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk-config.in (--libs): postfix -lg* libraries with LT_RELEASE.
+
+       * ltmain.sh: added a new commandline flag -postfix similar to -release,
+       but will immediately change the library name.
+
+       * gdk/Makefile.am:
+       * gtk/Makefile.am: specify -postfix and -version-info
+
+       * configure.in: version bump to 1.1.0. added GTK_INTERFACE_AGE and
+       GTK_BINARY_AGE. calculate LT_* variables for libtool.
+
 1998-05-06  Federico Mena Quintero  <federico@nuclecu.unam.mx>
 
        * gtk/gtkclist.c (draw_row): Fixed incorrect painting of row
diff --git a/INSTALL b/INSTALL
index 066b8b9c9f338d14826266303daac338cc14033d..418b268e2b0ae94660c7a4b9181354f6a3afefb5 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -1,8 +1,8 @@
 Simple install procedure
 ========================
 
-  % gzip -cd gtk+-1.0.0.tar.gz | tar xvf - # unpack the sources
-  % cd gtk+-1.0.0                          # change to the toplevel directory
+  % gzip -cd gtk+-1.1.0.tar.gz | tar xvf - # unpack the sources
+  % cd gtk+-1.1.0                          # change to the toplevel directory
   % ./configure                            # run the `configure' script
   % make                                   # build GTK
   [ Become root if necessary ]
diff --git a/NEWS b/NEWS
index da865b5d1722d5dd1ba85440cbe1236018d92d15..1a165c454e4fd747fe2b2a95761274a2651c302f 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,124 +1,7 @@
+Overview of Changes in GTK+ 1.1.0:
 
-Overview of Changes in GTK+ 1.0.0:
-
-* A few bug fixes.
-
-Overview of Changes in GTK+ 0.99.10:
-
-* Lots of bug fixes
-* Documentation improvements
-* Better looking handlebox
-* A few convenience functions
-
-Overview of Changes in GTK+ 0.99.9:
-
-* Added examples directory, even more examples soon
-* Added optional word wrap to gtktext
-* Changes to gtkhandlebox
-* Lots of bug fixes
-
-Overview of Changes in GTK+ 0.99.8:
-
-* Compilation and configuration fixes
-* DND Fixes
-* New test in testgtk: cursors
-* Tutorial updates/additions
-* Few more FAQ additions
-* More prep for 1.0
-
-Overview of Changes in GTK+ 0.99.7:
-
-* This release is mainly because 0.99.6 did not compile completely
-  due to a missing file.
-* Fixes to Gtk's quit handlers.
-
-Overview of Changes in GTK+ 0.99.6:
-
-* Intermediate release to become 1.0.
-* More signedness corrections for handler functions in gtkmain.h.
-* Semantics of GtkWidget::delete_event changed.
-* Documentation updates.
-* Inclusion of Gtk tutorial.
-* Implementation of a new shutdown method for GtkObject's executed prior to
-  actual destruction. WARNING: this breaks binary compatibility, programs using
-  Gtk need to be recompiled.
-* Clean ups due to compiler warnings.
-* Various widget fixes.
-
-Overview of Fixes in GTK+ 0.99.5:
-
-* Signal signedness and naming corrections
-* rc/style fixes
-* text, entry widget fixes
-* gtkeditable fixes
-* scrollbar flickering fixed
-* check casts are more descriptive
-* DND fixes
-* FAQ updates
-* Bug fixes
-
-Overview of Changes in GTK+ 0.99.4:
-
-* Reference counting revolution integrated.
-  Refer to docs/refcounting.txt on this issue.
-* Implementation of a decent debugging system, you would want
-  to export GTK_DEBUG=objects if you are going to develop gtk applications,
-  refer to docs/debugging.txt for further information.
-* Additions on the signal code for querying information about certain signals,
-  and pending handlers of signals.
-* Support for user signals, and major changes to internal signal handler
-  handling for proper signal removal and invokation of after signals.
-* Additional signals for various widgets e.g, GtkHandleBox::child_attached,
-  GtkHandleBox::child_detached, GtkWidget::style_set, GtkWidget::parent_set.
-* GtkTooltips became a true descendant of GtkObject via derivation from
-  GtkData and facilitates an extra tip string which can be used as e.g. an
-  index into context help.
-* Split up of the widget/object flags into a private and a public portion,
-  consult docs/widget_system.txt on this.
-* Support for hot keys on gtk programs via gtk_key_snooper_install().
-* Reimplementation of the *_interp functions as *_full functions to provide
-  simple callback functions as well.
-* Idle functions are now prioritized.
-* Many enhancements to GtkNotebook.
-* New widget GtkSpinButton, check out testgtk.
-* New widget GtkTipsQuery for letting the user query tooltips of widgets.
-* Addition of GtkEditable base widget to encapsulate selection and
-  clipboard handling. (GtkEntry and GtkText use this)
-* Text widget more complete.
-* Additions to GtkStatusBar to make it complete.
-* Gdk now supports regions.
-* Access masks for widget arguments (GTK_ARG_READABLE/GTK_ARG_WRITABLE).
-* Function replacements:
-  g_string_hash() -> g_str_hash()
-  g_string_equal() -> g_str_equal()
-  gtk_tooltips_set_tips() -> gtk_tooltips_set_tip()
-* Support for quit handlers in gtk_main().
-* Motif window mangaer hints support.
-* Widget arguments are now flagged for readability/writability.
-* Additions to documentation.
-* Various FAQ updates. (FAQ now included)
-* Clean ups and many many bug fixes by a lot of people all over the place.
-* New, long and descriptive ChangeLog entries for bored readers ;)
-
-Overview of Changes in GTK+ 0.99.3:
-
-* Filesel enhancement / stability changes
-* New widget, gtkcombo 
-* Widgets in the toolbar do not get the focus
-* New widget, gtkstatusbar (still in-progress)
-* g_string_equal renamed g_str_equal
-* g_string_hash renamed g_str_hash
-* new gtkbox functions to allow modification of the child 
-  linkage after the widget tree is setup
-* gtk_*_get_arg() and gtk_*_set_arg() fixes and implementations
-* DND changes/fixes
-* Entry widget now has set_max_length function
-* Handlebox widget changes/fixes 
-* Some work on text widget (still in-progress)
-* Now the toolbar supports arbitrary widgets as well
-* CList has resizable columns again
-* CList now looks consistant with scrolled windows
-* Remove flickering from entry widget
-* Added switch_page signal to notebook widget
-* Documentation additions
-* Other bug fixes...
+* Significant speedups to widget creation, destruction and signal emissions
+* New widget GtkCTree
+* Upgrade to libtool-1.2
+* Lots of bug fixes, including one that fixed a major memory leak
+  in 1.0.0.
diff --git a/README b/README
index f5f4ca6e95d4448091e8b5494c1e3aa1c5ad5c39..81d4c9f21716e1255cb0f2b29e67882485adfbe6 100644 (file)
--- a/README
+++ b/README
@@ -1,7 +1,7 @@
 General Information
 ===================
 
-This is GTK+ version 1.0.0.   GTK+, which stands for the Gimp ToolKit, 
+This is GTK+ version 1.1.0.   GTK+, which stands for the Gimp ToolKit, 
 is a library for creating graphical user interfaces for the X Window 
 System. It is designed to be small, efficient, and flexible. GTK+ is 
 written in C with a very object-oriented approach.
index 72bb6fb1c9f4b707f9133df5adc491b1b99ec605..30dabb4d5f5f94ba7f97313b11c3998e48c14f23 100644 (file)
@@ -4,10 +4,32 @@ AC_INIT(gdk/gdktypes.h)
 # Save this value here, since automake will set cflags later
 cflags_set=${CFLAGS+set}
 
+# Making releases:
+#   GTK_MICRO_VERSION += 1;
+#   GTK_INTERFACE_AGE += 1;
+#   GTK_BINARY_AGE += 1;
+# if any functions have been added, set GTK_INTERFACE_AGE to 0.
+# if backwards compatibility has been broken,
+# set GTK_BINARY_AGE and GTK_INTERFACE_AGE to 0.
+#
 GTK_MAJOR_VERSION=1
-GTK_MINOR_VERSION=0
+GTK_MINOR_VERSION=1
 GTK_MICRO_VERSION=0
+GTK_INTERFACE_AGE=0
+GTK_BINARY_AGE=0
 GTK_VERSION=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION.$GTK_MICRO_VERSION
+AC_SUBST(GTK_VERSION)
+
+# libtool versioning
+LT_RELEASE=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION
+LT_CURRENT=`expr $GTK_MICRO_VERSION - $GTK_INTERFACE_AGE`
+LT_REVISION=$GTK_INTERFACE_AGE
+LT_AGE=`expr $GTK_BINARY_AGE - $GTK_INTERFACE_AGE`
+AC_SUBST(LT_RELEASE)
+AC_SUBST(LT_CURRENT)
+AC_SUBST(LT_REVISION)
+AC_SUBST(LT_AGE)
+
 
 # For automake.
 VERSION=$GTK_VERSION
@@ -149,7 +171,6 @@ AC_SUBST(x_includes)
 AC_SUBST(x_ldflags)
 AC_SUBST(x_libs)
 AC_SUBST(xinput_progs)
-AC_SUBST(GTK_VERSION)
 
 CFLAGS="$saved_cflags"
 LDFLAGS="$saved_ldflags"
index 1530d0e68624ac83b26beb7c1f242eccfd384c84..48f6c9e9c16a80f831bcbbf1c76d14464cd3a435 100644 (file)
@@ -46,7 +46,9 @@ gdkinclude_HEADERS = \
        gdktypes.h      \
        gdkx.h
 
-libgdk_la_LDFLAGS = -version-info 1:0:0 \
+libgdk_la_LDFLAGS = \
+       -postfix $(LT_RELEASE) \
+       -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
        @x_ldflags@ @x_libs@
 
 INCLUDES = -I$(top_srcdir) -I../glib -I$(top_srcdir)/glib @x_cflags@ 
index d33e7e97ce7f5ef61956217c2d338fe21a044874..dacb0cfc739bf8e3b7d6e4a56539d5cb25ec406a 100644 (file)
@@ -1,3 +1,13 @@
+Thu May  7 05:14:19 1998  Tim Janik  <timj@gtk.org>
+
+       * ltmain.sh: added a new commandline flag -postfix similar to -release,
+       but will immediately change the library name.
+
+       * Makefile.am: specify -postfix and -version-info
+
+       * configure.in: version bump to 1.1.0. added GLIB_INTERFACE_AGE and
+       GLIB_BINARY_AGE. calculate LT_* variables for libtool.
+
 Fri May  1 16:36:08 1998  Owen Taylor  <otaylor@gtk.org>
 
        * gutils.c: (g_strcasecmp). Check for isupper before
index 7ee39bae9173d223b77a3e9b71937031796f3fc4..68a3f34365704d66507c3e08122bf7596c90fc94 100644 (file)
@@ -25,7 +25,7 @@ include_HEADERS = \
 configinclude_DATA = \
                glibconfig.h
 
-libglib_la_LDFLAGS = -version-info 1:0:0
+libglib_la_LDFLAGS = -postfix $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
 
 INCLUDES = -I$(top_srcdir)
 
index cc78947c5d140344e0f25ffa161ba0fd48ec0640..b6f2c86d87e2c1566bc6287ad292d2d020657b4c 100644 (file)
@@ -4,8 +4,36 @@ AC_INIT(glist.c)
 # Save this value here, since automake will set cflags later
 cflags_set=${CFLAGS+set}
 
-dnl Initialize automake stuff
-AM_INIT_AUTOMAKE(glib, 1.0.0)
+# Making releases:
+#   GLIB_MICRO_VERSION += 1;
+#   GLIB_INTERFACE_AGE += 1;
+#   GLIB_BINARY_AGE += 1;
+# if any functions have been added, set GLIB_INTERFACE_AGE to 0.
+# if backwards compatibility has been broken,
+# set GLIB_BINARY_AGE and GLIB_INTERFACE_AGE to 0.
+#
+GLIB_MAJOR_VERSION=1
+GLIB_MINOR_VERSION=1
+GLIB_MICRO_VERSION=0
+GLIB_INTERFACE_AGE=0
+GLIB_BINARY_AGE=0
+GLIB_VERSION=$GLIB_MAJOR_VERSION.$GLIB_MINOR_VERSION.$GLIB_MICRO_VERSION
+AC_SUBST(GLIB_VERSION)
+
+# libtool versioning
+LT_RELEASE=$GLIB_MAJOR_VERSION.$GLIB_MINOR_VERSION
+LT_CURRENT=`expr $GLIB_MICRO_VERSION - $GLIB_INTERFACE_AGE`
+LT_REVISION=$GLIB_INTERFACE_AGE
+LT_AGE=`expr $GLIB_BINARY_AGE - $GLIB_INTERFACE_AGE`
+AC_SUBST(LT_RELEASE)
+AC_SUBST(LT_CURRENT)
+AC_SUBST(LT_REVISION)
+AC_SUBST(LT_AGE)
+
+VERSION=$GLIB_VERSION
+PACKAGE=glib
+
+AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define)
 
 # Specify a configuration file
 AM_CONFIG_HEADER(glibconfig.h)
index e9350b3fab0c4d1c26d3120d0caf7b823dcd0a5a..0e884205b8805818a29972845f57ca6d2de6644d 100644 (file)
@@ -386,6 +386,7 @@ if test -z "$show_help"; then
     prev=
     prevarg=
     release=
+    postfix=
     rpath=
     perm_rpath=
     temp_rpath=
@@ -437,6 +438,11 @@ if test -z "$show_help"; then
          prev=
          continue
          ;;
+       postfix)
+         postfix="-$arg"
+         prev=
+         continue
+         ;;
         rpath)
           rpath="$rpath $arg"
          prev=
@@ -520,6 +526,11 @@ if test -z "$show_help"; then
        continue
        ;;
 
+      -postfix)
+       prev=postfix
+       continue
+       ;;
+
       -rpath)
         prev=rpath
         continue
@@ -842,7 +853,7 @@ if test -z "$show_help"; then
        ;;
       esac
 
-      name=`$echo "X$output" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
+      name=`$echo "X$output" | $Xsed -e 's/\.la$//' -e 's/^lib//'`$postfix
       eval libname=\"$libname_spec\"
 
       # All the library-specific variables (install_libdir is set above).
index 029c7be2e92211c5abe26e5d3ca1192dcf63910d..6354c7692fd6556a283fca6c77c3b5ce54e9ec0c 100644 (file)
@@ -45,7 +45,7 @@ while test $# -gt 0; do
       echo -I@libdir@/glib/include $includes @x_cflags@
       ;;
     --libs)
-      echo -L@libdir@ @x_ldflags@ -lgtk -lgdk -lglib @x_libs@ -lm
+      echo -L@libdir@ @x_ldflags@ -lgtk-@LT_RELEASE@ -lgdk-@LT_RELEASE@ -lglib-@LT_RELEASE@ @x_libs@ -lm
       ;;
     *)
       echo "${usage}" 1>&2
index 7082674d79db4cfcab6206f0b30a5058a66283e0..a992e4d797cf018b6fcedb9ca4be226dc2e5f3ab 100644 (file)
@@ -199,7 +199,7 @@ $(srcdir)/gtktypebuiltins.h: @MAINT@ $(srcdir)/gtk.defs $(srcdir)/gentypeinfo.el
 $(srcdir)/gtktypebuiltins.c: @MAINT@ $(srcdir)/gtk.defs $(srcdir)/gentypeinfo.el
        $(SHELL) $(srcdir)/runelisp $(srcdir)/gentypeinfo.el id $< $@
 
-libgtk_la_LDFLAGS = -version-info 1:0:0
+libgtk_la_LDFLAGS = -postfix $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
 
 EXTRA_DIST = \
        line-arrow.xbm          \
@@ -224,6 +224,7 @@ EXTRA_DIST = \
 INCLUDES = -I$(top_srcdir) -I../glib -I$(top_srcdir)/glib @x_cflags@ 
 
 noinst_PROGRAMS = testgtk testinput testselection simple 
+
 testgtk_LDADD = \
        libgtk.la                               \
        $(top_builddir)/gdk/libgdk.la           \
index 2f5ed1addfc5b3f6f27cb56f1458db5c612536e8..6fce4ba8515112235391d5aaaee84ac700a79a6c 100644 (file)
 
 ;; Tooltips
 
-(define-object GtkTooltips
-  gtk_tooltips_ref
-  gtk_tooltips_unref)
+(define-object GtkTooltips (GtkData))
 
 (define-func gtk_tooltips_new
   GtkTooltips
index 1b9ff79a60b88e83bbfecd77a4bdfacd7acce72a..1615eeea690173e6f10be8cab5af05a5eb0f8ab8 100644 (file)
@@ -38,7 +38,7 @@ style "button"
 #  bg[PRELIGHT] = { 0, 0, 0.75 }
 }
 
-# we set want buttons in the main window to be blue by default
+# we set all the buttons in the main window to be blue by default
 style 'main_buttons' = 'button'
 {
   font = "-adobe-helvetica-medium-r-normal--*-100-*-*-*-*-*-*"
index e9350b3fab0c4d1c26d3120d0caf7b823dcd0a5a..0e884205b8805818a29972845f57ca6d2de6644d 100644 (file)
--- a/ltmain.sh
+++ b/ltmain.sh
@@ -386,6 +386,7 @@ if test -z "$show_help"; then
     prev=
     prevarg=
     release=
+    postfix=
     rpath=
     perm_rpath=
     temp_rpath=
@@ -437,6 +438,11 @@ if test -z "$show_help"; then
          prev=
          continue
          ;;
+       postfix)
+         postfix="-$arg"
+         prev=
+         continue
+         ;;
         rpath)
           rpath="$rpath $arg"
          prev=
@@ -520,6 +526,11 @@ if test -z "$show_help"; then
        continue
        ;;
 
+      -postfix)
+       prev=postfix
+       continue
+       ;;
+
       -rpath)
         prev=rpath
         continue
@@ -842,7 +853,7 @@ if test -z "$show_help"; then
        ;;
       esac
 
-      name=`$echo "X$output" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
+      name=`$echo "X$output" | $Xsed -e 's/\.la$//' -e 's/^lib//'`$postfix
       eval libname=\"$libname_spec\"
 
       # All the library-specific variables (install_libdir is set above).
index 1b9ff79a60b88e83bbfecd77a4bdfacd7acce72a..1615eeea690173e6f10be8cab5af05a5eb0f8ab8 100644 (file)
@@ -38,7 +38,7 @@ style "button"
 #  bg[PRELIGHT] = { 0, 0, 0.75 }
 }
 
-# we set want buttons in the main window to be blue by default
+# we set all the buttons in the main window to be blue by default
 style 'main_buttons' = 'button'
 {
   font = "-adobe-helvetica-medium-r-normal--*-100-*-*-*-*-*-*"