summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11/lxpanel/Makefile4
-rw-r--r--x11/lxpanel/files/patch-src-configurator.c19
-rw-r--r--x11/lxpanel/files/patch-src-panel.h10
-rw-r--r--x11/lxpanel/files/patch-src-systray-fixedtip.h11
-rw-r--r--x11/lxpanel/pkg-plist1
5 files changed, 40 insertions, 5 deletions
diff --git a/x11/lxpanel/Makefile b/x11/lxpanel/Makefile
index 4fe3b8c..90fd002 100644
--- a/x11/lxpanel/Makefile
+++ b/x11/lxpanel/Makefile
@@ -46,10 +46,6 @@ CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
-.if ${OSVERSION} < 700000
-BROKEN= does not compile
-.endif
-
pre-patch:
@${REINPLACE_CMD} -e 's,linux,sys,' \
${WRKSRC}/src/plugins/volume/volume-impl.c
diff --git a/x11/lxpanel/files/patch-src-configurator.c b/x11/lxpanel/files/patch-src-configurator.c
new file mode 100644
index 0000000..109c00d
--- /dev/null
+++ b/x11/lxpanel/files/patch-src-configurator.c
@@ -0,0 +1,19 @@
+--- src/configurator.c.orig 2008-07-17 14:36:27.000000000 +0800
++++ src/configurator.c 2008-07-17 14:38:36.000000000 +0800
+@@ -46,6 +46,7 @@
+ void restart(void);
+ void gtk_run(void);
+ void panel_config_save(Panel* panel);
++void save_global_config(void);
+ static void logout(void);
+
+ Command commands[] = {
+@@ -532,7 +533,7 @@
+ gtk_box_pack_start( (GtkBox*)GTK_DIALOG(dlg)->vbox, scroll,
+ TRUE, TRUE, 4 );
+ view = (GtkTreeView*)gtk_tree_view_new();
+- gtk_container_add( (GtkContainer*)scroll, view );
++ gtk_container_add( (GtkContainer*)scroll, (GtkWidget*)view );
+ tree_sel = gtk_tree_view_get_selection( view );
+ gtk_tree_selection_set_mode( tree_sel, GTK_SELECTION_BROWSE );
+
diff --git a/x11/lxpanel/files/patch-src-panel.h b/x11/lxpanel/files/patch-src-panel.h
new file mode 100644
index 0000000..6b992d7
--- /dev/null
+++ b/x11/lxpanel/files/patch-src-panel.h
@@ -0,0 +1,10 @@
+--- src/panel.h.orig 2008-07-17 14:40:37.000000000 +0800
++++ src/panel.h 2008-07-17 14:41:21.000000000 +0800
+@@ -190,6 +190,7 @@
+ void panel_set_dock_type(Panel *p);
+ void panel_set_orientation(Panel *p);
+ void panel_update_background( Panel* p );
++void panel_destroy( Panel* p );
+
+ extern const char* lxpanel_get_file_manager();
+ extern const char* lxpanel_get_terminal();
diff --git a/x11/lxpanel/files/patch-src-systray-fixedtip.h b/x11/lxpanel/files/patch-src-systray-fixedtip.h
new file mode 100644
index 0000000..f2a65f6
--- /dev/null
+++ b/x11/lxpanel/files/patch-src-systray-fixedtip.h
@@ -0,0 +1,11 @@
+--- src/systray/fixedtip.h.orig 2008-07-17 14:48:22.000000000 +0800
++++ src/systray/fixedtip.h 2008-07-17 14:49:43.000000000 +0800
+@@ -52,6 +52,8 @@
+ void (* clicked) (NaFixedTip *fixedtip);
+ };
+
++ void fixed_tip_hide(void);
++
+ GType na_fixed_tip_get_type (void);
+
+ GtkWidget *na_fixed_tip_new (GtkWidget *parent,
diff --git a/x11/lxpanel/pkg-plist b/x11/lxpanel/pkg-plist
index d8c3adb..a987e18 100644
--- a/x11/lxpanel/pkg-plist
+++ b/x11/lxpanel/pkg-plist
@@ -65,7 +65,6 @@ lib/lxpanel/plugins/volume.so
@dirrmtry lib/lxpanel
@dirrm %%DATADIR%%/ui
@dirrm %%DATADIR%%/profile/default/panels
-@dirrm %%DATADIR%%/profile/default/config
@dirrm %%DATADIR%%/profile/default
@dirrm %%DATADIR%%/profile
@dirrm %%DATADIR%%/images
OpenPOWER on IntegriCloud