summaryrefslogtreecommitdiffstats
path: root/x11/gnome-panel/files
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-04-13 04:19:18 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-04-13 04:19:18 +0800
commitf16df1bdf9199b75a0adbcbf19f61e59078a88a6 (patch)
treeec3ec91c40cd1e82e06e2a8c85ee52af3f80652a /x11/gnome-panel/files
parent32887cad09021c4604673e5b9eba3c4632bc63aa (diff)
downloadmarcuscom-ports-f16df1bdf9199b75a0adbcbf19f61e59078a88a6.tar
marcuscom-ports-f16df1bdf9199b75a0adbcbf19f61e59078a88a6.tar.gz
marcuscom-ports-f16df1bdf9199b75a0adbcbf19f61e59078a88a6.tar.bz2
marcuscom-ports-f16df1bdf9199b75a0adbcbf19f61e59078a88a6.tar.lz
marcuscom-ports-f16df1bdf9199b75a0adbcbf19f61e59078a88a6.tar.xz
marcuscom-ports-f16df1bdf9199b75a0adbcbf19f61e59078a88a6.tar.zst
marcuscom-ports-f16df1bdf9199b75a0adbcbf19f61e59078a88a6.zip
Add gnomepanel-2.3.x.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@607 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnome-panel/files')
-rw-r--r--x11/gnome-panel/files/patch-applets_clock_clock.c27
-rw-r--r--x11/gnome-panel/files/patch-config.h.in11
-rw-r--r--x11/gnome-panel/files/patch-configure19
-rw-r--r--x11/gnome-panel/files/patch-gnome-panel::GNOME_Panel.server.in13
4 files changed, 70 insertions, 0 deletions
diff --git a/x11/gnome-panel/files/patch-applets_clock_clock.c b/x11/gnome-panel/files/patch-applets_clock_clock.c
new file mode 100644
index 000000000..233a213ae
--- /dev/null
+++ b/x11/gnome-panel/files/patch-applets_clock_clock.c
@@ -0,0 +1,27 @@
+
+$FreeBSD: ports/x11/gnomepanel/files/patch-applets::gen_util::clock.c,v 1.2 2003/02/07 18:42:16 marcus Exp $
+
+--- applets/clock/clock.c 2002/05/14 14:08:16 1.1
++++ applets/clock/clock.c 2002/05/14 14:12:56
+@@ -14,7 +14,9 @@
+ #include <dirent.h>
+ #include <string.h>
+ #include <time.h>
++#ifdef HAVE_LANGINFO_H
+ #include <langinfo.h>
++#endif
+
+ #include <panel-applet.h>
+ #include <panel-applet-gconf.h>
+@@ -684,7 +686,11 @@
+ cd->hourformat = panel_applet_gconf_get_int (applet, KEY_HOUR_FORMAT, &error);
+ if (error || (cd->hourformat != 12 && cd->hourformat != 24)) {
+ /* if value is not valid, set it according to locale */
++#ifdef HAVE_LANGINFO_H
+ const char *am = nl_langinfo (AM_STR);
++#else
++ const char *am = "AM";
++#endif
+ cd->hourformat = (am[0] == '\0') ? 24 : 12;
+
+ if (error)
diff --git a/x11/gnome-panel/files/patch-config.h.in b/x11/gnome-panel/files/patch-config.h.in
new file mode 100644
index 000000000..8a59166a5
--- /dev/null
+++ b/x11/gnome-panel/files/patch-config.h.in
@@ -0,0 +1,11 @@
+--- config.h.in.orig Thu Jan 2 19:50:41 2003
++++ config.h.in Mon Jan 6 13:11:12 2003
+@@ -96,6 +96,8 @@
+ /* Define to 1 if you have the <stdlib.h> header file. */
+ #undef HAVE_STDLIB_H
+
++#undef HAVE_LANGINFO_H
++
+ /* Define to 1 if you have the <strings.h> header file. */
+ #undef HAVE_STRINGS_H
+
diff --git a/x11/gnome-panel/files/patch-configure b/x11/gnome-panel/files/patch-configure
new file mode 100644
index 000000000..a94d4761c
--- /dev/null
+++ b/x11/gnome-panel/files/patch-configure
@@ -0,0 +1,19 @@
+--- configure.orig Mon Jan 6 01:04:20 2003
++++ configure Mon Jan 6 13:12:56 2003
+@@ -4254,7 +4254,7 @@
+
+
+ for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
+- inttypes.h stdint.h unistd.h
++ inttypes.h stdint.h unistd.h langinfo.h
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ echo "$as_me:$LINENO: checking for $ac_header" >&5
+@@ -7878,6 +7878,7 @@
+
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff --git a/x11/gnome-panel/files/patch-gnome-panel::GNOME_Panel.server.in b/x11/gnome-panel/files/patch-gnome-panel::GNOME_Panel.server.in
new file mode 100644
index 000000000..48b6e1790
--- /dev/null
+++ b/x11/gnome-panel/files/patch-gnome-panel::GNOME_Panel.server.in
@@ -0,0 +1,13 @@
+
+$FreeBSD: ports/x11/gnomepanel/files/patch-gnome-panel::GNOME_Panel.server.in,v 1.2 2003/02/07 18:42:16 marcus Exp $
+
+--- gnome-panel/GNOME_Panel.server.in 2002/05/09 21:00:58 1.1
++++ gnome-panel/GNOME_Panel.server.in 2002/05/09 21:01:11
+@@ -1,6 +1,6 @@
+ <oaf_info>
+
+-<oaf_server iid="OAFIID:GNOME_PanelShell" type="exe" location="panel-2">
++<oaf_server iid="OAFIID:GNOME_PanelShell" type="exe" location="gnome-panel">
+ <oaf_attribute name="repo_ids" type="stringv">
+ <item value="IDL:GNOME/Vertigo/PanelShell:1.0"/>
+ <item value="IDL:Bonobo/Unknown:1.0"/>