aboutsummaryrefslogtreecommitdiffstats
path: root/macros
diff options
context:
space:
mode:
authorRaja R Harinath <harinath@src.gnome.org>1999-03-10 09:10:12 +0800
committerRaja R Harinath <harinath@src.gnome.org>1999-03-10 09:10:12 +0800
commit8bfa8af9390fae53b98df15098dd70006ebe3328 (patch)
treece26a3c5fbb40b8e972d061b3495ebcdd9b2f0da /macros
parent6c842e8bbd4d96a1741e33dc4ff330aa9eb887d6 (diff)
downloadgsoc2013-evolution-8bfa8af9390fae53b98df15098dd70006ebe3328.tar.gz
gsoc2013-evolution-8bfa8af9390fae53b98df15098dd70006ebe3328.tar.zst
gsoc2013-evolution-8bfa8af9390fae53b98df15098dd70006ebe3328.zip
Add a new paramater, which is passed to GNOME_INIT_HOOK.
* gnome.m4 (GNOME_INIT): Add a new paramater, which is passed to GNOME_INIT_HOOK. (GNOME_INIT_HOOK): New parameter "additional inits". This is a list like "applets capplet", and the corresponding GNOME_APPLETS_LIBS and GNOME_CAPPLETS_LIBS are defined. Note: This change requires all standalone panel applets to use GNOME_INIT(applets) instead of just GNOME_INIT in their configure.ins. I don't think there are any standalon panel applets in Gnome CVS. This is partly to fix a bug with a message `unknown library: applets' that appears when gnome-core is installed the first time. svn path=/trunk/; revision=743
Diffstat (limited to 'macros')
-rw-r--r--macros/ChangeLog8
-rw-r--r--macros/gnome.m431
2 files changed, 33 insertions, 6 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog
index 0525463531..01ae071490 100644
--- a/macros/ChangeLog
+++ b/macros/ChangeLog
@@ -1,3 +1,11 @@
+1999-03-09 Raja R Harinath <harinath@cs.umn.edu>
+
+ * gnome.m4 (GNOME_INIT): Add a new paramater, which is passed to
+ GNOME_INIT_HOOK.
+ (GNOME_INIT_HOOK): New parameter "additional inits". This is a
+ list like "applets capplet", and the corresponding
+ GNOME_APPLETS_LIBS and GNOME_CAPPLETS_LIBS are defined.
+
1998-03-01 Mark Crichton <crichton@gimp.org>
* gnome-objc-checks : Added HAVE_GNOME_OBJC conditional
diff --git a/macros/gnome.m4 b/macros/gnome.m4
index b815c784cc..a901e752fa 100644
--- a/macros/gnome.m4
+++ b/macros/gnome.m4
@@ -1,18 +1,16 @@
dnl
-dnl GNOME_INIT_HOOK (script-if-gnome-enabled, failflag)
+dnl GNOME_INIT_HOOK (script-if-gnome-enabled, [failflag], [additional-inits])
dnl
dnl if failflag is "fail" then GNOME_INIT_HOOK will abort if gnomeConf.sh
dnl is not found.
dnl
-AC_DEFUN([GNOME_INIT_HOOK],
-[
+AC_DEFUN([GNOME_INIT_HOOK],[
AC_SUBST(GNOME_LIBS)
AC_SUBST(GNOMEUI_LIBS)
AC_SUBST(GNOMEGNORBA_LIBS)
AC_SUBST(GTKXMHTML_LIBS)
AC_SUBST(ZVT_LIBS)
- AC_SUBST(GNOME_APPLET_LIBS)
AC_SUBST(GNOME_LIBDIR)
AC_SUBST(GNOME_INCLUDEDIR)
@@ -61,7 +59,6 @@ AC_DEFUN([GNOME_INIT_HOOK],
GNOMEGNORBA_LIBS="`$GNOME_CONFIG --libs-only-l gnorba gnomeui`"
GTKXMHTML_LIBS="`$GNOME_CONFIG --libs-only-l gtkxmhtml`"
ZVT_LIBS="`$GNOME_CONFIG --libs-only-l zvt`"
- GNOME_APPLET_LIBS="`$GNOME_CONFIG --libs-only-l applets`"
GNOME_LIBDIR="`$GNOME_CONFIG --libs-only-L gnorba gnomeui`"
GNOME_INCLUDEDIR="`$GNOME_CONFIG --cflags gnorba gnomeui`"
$1
@@ -97,8 +94,30 @@ AC_DEFUN([GNOME_INIT_HOOK],
fi
fi
fi
+
+ if test -n "$3"; then
+ for i in $3; do
+ AC_MSG_CHECKING(extra library $i)
+ case $i in
+ applets)
+ AC_SUBST(GNOME_APPLETS_LIBS)
+ GNOME_APPLETS_LIBS=`$GNOME_CONFIG --libs-only-l applets`
+ AC_MSG_RESULT($GNOME_APPLETS_LIBS);;
+ capplet)
+ AC_SUBST(GNOME_CAPPLET_LIBS)
+ GNOME_CAPPLET_LIBS=`$GNOME_CONFIG --libs-only-l capplet`
+ AC_MSG_RESULT($GNOME_CAPPLET_LIBS);;
+ *)
+ AC_MSG_RESULT(unknown library)
+ esac
+ done
+ fi
])
+dnl
+dnl GNOME_INIT ([additional-inits])
+dnl
+
AC_DEFUN([GNOME_INIT],[
- GNOME_INIT_HOOK([],fail)
+ GNOME_INIT_HOOK([],fail,$1)
])
='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/x11-toolkits?h=mate-1.18&id=88ab2dc4d63892a138de6afd86b21c186af58446'>Update to 3.1.7sunpoet2017-07-152-4/+4 * Update to 3.1.7sunpoet2017-07-152-4/+4 * Update to 3.1.7sunpoet2017-07-152-4/+4 * Update to 3.1.7sunpoet2017-07-152-4/+4 * Update to 3.1.7sunpoet2017-07-152-4/+4 * Update to 3.1.7sunpoet2017-07-152-4/+4 * Update to 3.1.7sunpoet2017-07-152-4/+4 * Update KDE Frameworks to 5.36.0tcberner2017-07-1210-30/+30 * Update to 3.1.6sunpoet2017-07-092-4/+4 * Update to 3.1.6sunpoet2017-07-092-4/+4 * Update to 3.1.6sunpoet2017-07-092-4/+4 * Update to 3.1.6sunpoet2017-07-092-4/+4 * Update to 3.1.6sunpoet2017-07-093-7/+7 * Update to 3.1.6sunpoet2017-07-093-7/+7 * Update to 3.1.6sunpoet2017-07-092-4/+4 * Update to 3.1.6sunpoet2017-07-092-4/+4 * Update to 3.1.6sunpoet2017-07-092-4/+4 * - Fix buildacm2017-07-091-0/+3 * - New port: x11-toolkits/qt5pasacm2017-07-085-0/+42 * Remove expired port:rene2017-07-025-329/+0 * Update to 1.52sunpoet2017-06-283-5/+10 * Begin deorbit burn of ia64. We have not attempted to build packages forlinimon2017-06-251-2/+0 * - Update to 3.7.5amdmi32017-06-193-6/+6 * Update to 2.2.0 .tcberner2017-06-192-4/+4 * Update KDE Frameworks to 5.35tcberner2017-06-1810-30/+30 * Update the Calligra ports to 3.0.1.rakuco2017-06-175-0/+124 * Remove no-op WX_UNICODEsunpoet2017-06-107-7/+0 * Add a fixup-lib-pkgconfig target to move files in lib/pkgconfig intomat2017-06-071-2/+0 * Fix qt4 ports on armv6.tcberner2017-06-061-1/+1 * Update gdl to 3.22.0.kwm2017-06-063-7/+18 * Update to 3.1.4sunpoet2017-05-312-4/+5 * Update to 3.1.4sunpoet2017-05-312-4/+5 * Update to 3.1.4sunpoet2017-05-312-4/+4 * Update to 3.1.4sunpoet2017-05-312-4/+4 * Update to 3.1.4sunpoet2017-05-312-4/+4 * Update to 3.1.4sunpoet2017-05-312-4/+4 * Update to 3.1.4sunpoet2017-05-312-4/+4 * Update to 3.1.4sunpoet2017-05-312-4/+4 * Update to 3.1.4sunpoet2017-05-312-4/+4 * Update pango to 1.40.6.kwm2017-05-312-17/+9 * Update to 2.3.4-8.1.el7_3.tijl2017-05-292-9/+9 * Register dependency on groffantoine2017-05-281-1/+1 * Mark some ports failing on armv6, for errors classified as "???",linimon2017-05-271-8/+10 * Revert faulty distinfo change in r441768.tijl2017-05-261-3/+3 * Update to CentOS 6.9.tijl2017-05-266-26/+26 * Revision bump of all ports with USE_GL after consolidation of mesa-libsrezny2017-05-2332-24/+32 * Update KDE Frameworks to 5.34.0tcberner2017-05-2012-30/+32 * Update vte3 to 0.48.3.kwm2017-05-163-15/+9 * Prepare the removal of x11-toolkits/qt5-declarativetcberner2017-05-151-0/+3 * Update mono and related portsdbn2017-05-132-4/+4 * Update gtksourceview3 to 3.22.2.kwm2017-05-136-18/+29 * Consolidate the Mesa ports, update to 17.0.4, and add Wayland optionrezny2017-05-131-1/+1 * Update gtk30 to 3.22.15.kwm2017-05-122-5/+5 * Update gtk30 to 3.22.14.kwm2017-05-122-5/+5 * Mark BROKEN: fails to buildantoine2017-05-111-0/+2 * Update to kirigami2 2.1.1tcberner2017-05-093-32/+30 * Sprinkle some fixes to make these ports build on ARCH's that don'tkwm2017-05-071-1/+2 * - Update to 3.7.4miwi2017-05-062-5/+4 * Take maintainershipsunpoet2017-05-051-1/+1 * Update x11-toolkits/kirigami2 to 2.1.0tcberner2017-05-044-38/+47 * devel/boost-*: update to 1.64.0jbeich2017-05-021-1/+1 * Update to 0.6.0sunpoet2017-04-301-0/+1 * Update to 3.1.3sunpoet2017-04-292-5/+5 * Update to 3.1.3sunpoet2017-04-292-5/+5 * Update to 3.1.3sunpoet2017-04-292-5/+5 * Update to 3.1.3sunpoet2017-04-293-13/+12 * Update to 3.1.3sunpoet2017-04-292-5/+5 * Update to 3.1.3sunpoet2017-04-292-4/+4 * Update to 3.1.3sunpoet2017-04-293-8/+8 * Update to 3.1.3sunpoet2017-04-292-5/+6 * Update to 3.1.3sunpoet2017-04-293-14/+15 * Update to 1.51sunpoet2017-04-274-17/+12 * - Update to version 3.0pawel2017-04-273-6/+12 * Update to 1.083sunpoet2017-04-242-4/+7 * Add back DEBUG option that got lost in the 3.22.12 update.kwm2017-04-241-1/+2 * Update to 0.51sunpoet2017-04-242-5/+10 * Update the gtk+ stack [1]kwm2017-04-2311-61/+115 * Return ports maintained by John Marino to the pool, he is no longer interested.rene2017-04-222-2/+2 * Add back '\' in the USE_GNOME line, which I removed for testing....kwm2017-04-211-1/+1 * Update vte3 to 0.48.2.kwm2017-04-214-9/+10 * Update KDE Frameworks to 5.33.0tcberner2017-04-1920-40/+30 * Fix *_DEPENDSsunpoet2017-04-191-1/+4 * Fix plist after r437776 which removed keeplaantoine2017-04-192-2/+1 * - Fix shebangsmiwi2017-04-191-2/+3 * - Fix shebangmiwi2017-04-191-2/+3 * - Fix shebangsmiwi2017-04-191-2/+3 * Update to 0.9932sunpoet2017-04-192-4/+4 * Update to 0.69sunpoet2017-04-192-4/+4 * - Add LICENSE_FILEamdmi32017-04-181-7/+6 * Update to 0.9931sunpoet2017-04-182-4/+4 * Update x11-toolkits/fox17 to 1.7.59jhale2017-04-163-6/+6 * x11-toolkits/py-kivy: fix concurrency, dependencydbn2017-04-141-2/+2 * graphics/opencv: back out r423216 and r423063 (replaying r423316)jbeich2017-04-141-2/+2 * x11-toolkits/p5-Gtk2: update to 1.24991swills2017-04-112-3/+4 * Update to 0.9929sunpoet2017-04-113-15/+4 * Update to 0.68sunpoet2017-04-112-5/+6 * x11-toolkits/libgdiplus: add option to compile without X11dbn2017-04-092-1/+303 * Update to 1.7.58jhale2017-04-073-7/+6 * Fix build with recent libsigc++20bapt2017-04-052-4/+5 * Update to 2.40.1bapt2017-04-052-6/+5 * update to 1.40.4bapt2017-04-053-28/+9 * Fix build with new sigc++20bapt2017-04-042-2/+5 * Remove 2 non depend on, obsoletes libraries failing with new sigc++20bapt2017-04-035-61/+0 * Fix build with recent sigc++20bapt2017-04-031-1/+2 * Fix build with new sigc++20bapt2017-04-031-1/+3 * Update to vte 0.48.1bapt2017-04-033-12/+20 * Update to 2.24.5bapt2017-04-033-7/+7 * Fix build with newer sigc++20bapt2017-04-034-3/+18 * vte290 is not needed anymore everything uses vte3 insteadbapt2017-04-0211-270/+0 * gal2 is not depended on anymore by anythingbapt2017-04-0211-411/+0 * Update to 2.4.31bapt2017-04-022-5/+5 * Bump PORTREVISIONs for ports depending on the canonical version of GCC andgerald2017-04-0121-4/+21 * x11-toolkits/gtk30: prefer warnings over crashes on bad behaviorjbeich2017-03-301-2/+2 * Update 2.3.6 --> 2.3.7cy2017-03-283-17/+5 * Take in olivierd@'s commit bit on his request.rene2017-03-191-1/+1 * Update KDE Frameworks to 5.32tcberner2017-03-1714-38/+38 * - Fix LICENSEamdmi32017-03-152-4/+6 * - Add LICENSE_FILEamdmi32017-03-152-3/+7 * - Update x11-toolkits/scintilla t o 3.7.3madpilot2017-03-132-4/+4 * Use real PORTVERSION and update dependent portssunpoet2017-03-113-19/+18 * x11/rubygem-gnome2: update to 3.1.1swills2017-03-1119-38/+37 * Move x11-toolkits/p5-Gtk to x11-toolkits/p5-Gtk-Perlsunpoet2017-02-288-3/+5 * Update to 0.0.8bapt2017-02-252-4/+4 * Remove the devel/libc++ and devel/libcxxrt ports.dim2017-02-251-4/+0 * Update KDE Frameworks to 5.31tcberner2017-02-1917-33/+147 * Update Qt5 to 5.7.1, and unify the Qt4 and Qt5 ports some moretcberner2017-02-19