diff options
author | martti <martti@pkgsrc.org> | 2004-07-07 11:27:44 +0000 |
---|---|---|
committer | martti <martti@pkgsrc.org> | 2004-07-07 11:27:44 +0000 |
commit | 707dae5b16d52ad9e2020eb7586c3ee367a767ee (patch) | |
tree | d40a51805d1b89b5b70b5886fa30dfc256731985 /sysutils/xfce4-xkb-plugin | |
parent | be57eef71e54d1795d0114f4e9761f1852cf3093 (diff) | |
download | pkgsrc-707dae5b16d52ad9e2020eb7586c3ee367a767ee.tar.gz |
Updated xfce4-xkb-plugin to 0.3.2
* Bug fixes
Diffstat (limited to 'sysutils/xfce4-xkb-plugin')
-rw-r--r-- | sysutils/xfce4-xkb-plugin/Makefile | 4 | ||||
-rw-r--r-- | sysutils/xfce4-xkb-plugin/buildlink3.mk | 4 | ||||
-rw-r--r-- | sysutils/xfce4-xkb-plugin/distinfo | 8 | ||||
-rw-r--r-- | sysutils/xfce4-xkb-plugin/patches/patch-aa | 25 | ||||
-rw-r--r-- | sysutils/xfce4-xkb-plugin/patches/patch-ab | 108 |
5 files changed, 7 insertions, 142 deletions
diff --git a/sysutils/xfce4-xkb-plugin/Makefile b/sysutils/xfce4-xkb-plugin/Makefile index 39d8fdf41d1..b4a0d92ed97 100644 --- a/sysutils/xfce4-xkb-plugin/Makefile +++ b/sysutils/xfce4-xkb-plugin/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.1.1.1 2004/06/21 06:08:34 martti Exp $ +# $NetBSD: Makefile,v 1.2 2004/07/07 11:27:44 martti Exp $ .include "../../meta-pkgs/xfce4/Makefile.common" -XFCE4_VERSION= 0.3.1 +XFCE4_VERSION= 0.3.2 DISTNAME= xfce4-xkb-plugin-${XFCE4_VERSION} CATEGORIES= sysutils diff --git a/sysutils/xfce4-xkb-plugin/buildlink3.mk b/sysutils/xfce4-xkb-plugin/buildlink3.mk index 3d39199ba0f..764e08d713e 100644 --- a/sysutils/xfce4-xkb-plugin/buildlink3.mk +++ b/sysutils/xfce4-xkb-plugin/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/06/21 06:08:34 martti Exp $ +# $NetBSD: buildlink3.mk,v 1.2 2004/07/07 11:27:44 martti Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ XFCE4_XKB_PLUGIN_BUILDLINK3_MK:= ${XFCE4_XKB_PLUGIN_BUILDLINK3_MK}+ @@ -11,7 +11,7 @@ BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-xkb-plugin} BUILDLINK_PACKAGES+= xfce4-xkb-plugin .if !empty(XFCE4_XKB_PLUGIN_BUILDLINK3_MK:M+) -BUILDLINK_DEPENDS.xfce4-xkb-plugin+= xfce4-xkb-plugin>=0.3.1 +BUILDLINK_DEPENDS.xfce4-xkb-plugin+= xfce4-xkb-plugin>=0.3.2 BUILDLINK_PKGSRCDIR.xfce4-xkb-plugin?= ../../sysutils/xfce4-xkb-plugin .endif # XFCE4_XKB_PLUGIN_BUILDLINK3_MK diff --git a/sysutils/xfce4-xkb-plugin/distinfo b/sysutils/xfce4-xkb-plugin/distinfo index 165c904f8a2..3f77572e834 100644 --- a/sysutils/xfce4-xkb-plugin/distinfo +++ b/sysutils/xfce4-xkb-plugin/distinfo @@ -1,6 +1,4 @@ -$NetBSD: distinfo,v 1.2 2004/06/28 01:12:09 kristerw Exp $ +$NetBSD: distinfo,v 1.3 2004/07/07 11:27:44 martti Exp $ -SHA1 (xfce4-xkb-plugin-0.3.1.tar.gz) = 19e1c72bda1d9bffaafa08ef512c17dc1b84c130 -Size (xfce4-xkb-plugin-0.3.1.tar.gz) = 334044 bytes -SHA1 (patch-aa) = c7f554bf8c64c370930b302129b413f406dab98c -SHA1 (patch-ab) = bd4263562d4268e4dc4b89b75a3a5cdebe128672 +SHA1 (xfce4-xkb-plugin-0.3.2.tar.gz) = 5fbd346e4fe8a219c77bda933b65de129d5288f0 +Size (xfce4-xkb-plugin-0.3.2.tar.gz) = 334136 bytes diff --git a/sysutils/xfce4-xkb-plugin/patches/patch-aa b/sysutils/xfce4-xkb-plugin/patches/patch-aa deleted file mode 100644 index a17d0ebfbc6..00000000000 --- a/sysutils/xfce4-xkb-plugin/patches/patch-aa +++ /dev/null @@ -1,25 +0,0 @@ -$NetBSD: patch-aa,v 1.1 2004/06/28 01:12:09 kristerw Exp $ - ---- panel-plugin/xfce4-xkb-plugin.c.orig Mon Jun 28 02:48:38 2004 -+++ panel-plugin/xfce4-xkb-plugin.c Mon Jun 28 02:50:08 2004 -@@ -87,7 +87,7 @@ - - xkb_refresh_gui(xkb); - -- char *initial_group = initialize_xkb(xkb); -+ initialize_xkb(xkb); - - channel = g_io_channel_unix_new(get_connection_number()); - source_id = g_io_add_watch(channel, G_IO_IN | G_IO_PRI, (GIOFunc) &gio_callback, (gpointer) xkb); -@@ -113,10 +113,9 @@ - } - - static void xkb_free(Control *ctrl) { -+ t_xkb *xkb; - g_source_remove(source_id); - deinitialize_xkb(); -- -- t_xkb *xkb; - - g_return_if_fail(ctrl != NULL); - g_return_if_fail(ctrl->data != NULL); diff --git a/sysutils/xfce4-xkb-plugin/patches/patch-ab b/sysutils/xfce4-xkb-plugin/patches/patch-ab deleted file mode 100644 index deae926294f..00000000000 --- a/sysutils/xfce4-xkb-plugin/patches/patch-ab +++ /dev/null @@ -1,108 +0,0 @@ -$NetBSD: patch-ab,v 1.1 2004/06/28 01:12:09 kristerw Exp $ - ---- panel-plugin/xkb.c.orig Mon Jun 28 02:50:20 2004 -+++ panel-plugin/xkb.c Mon Jun 28 02:57:50 2004 -@@ -105,16 +105,16 @@ - const Atom *group_source; - Bool status; - int major, minor, oppcode; -+ XkbStateRec xkb_state; -+ XkbDescRec *kbd_desc_ptr = NULL; -+ int i; - - // Initialize the Xkb extension - status = XkbQueryExtension(dsp, &oppcode, - &base_event_code, &base_error_code, &major, &minor); - -- XkbStateRec xkb_state; - device_id = XkbUseCoreKbd; - -- XkbDescRec *kbd_desc_ptr = NULL; -- - kbd_desc_ptr = XkbAllocKeyboard(); - if (kbd_desc_ptr == NULL) { - fprintf(stderr, "Failed to get keyboard description\n"); -@@ -146,12 +146,12 @@ - - if (group_count == 0) group_count=1; - -- int i; - for (i = 0; i < group_count; i++) { - group_names[i] = NULL; - symbol_names[i] = NULL; - } - -+ { - const Atom *tmp_group_source = kbd_desc_ptr->names->groups; - Atom cur_group_atom; - char *ptr; -@@ -163,6 +163,7 @@ - *ptr = '\0'; - } - } -+ { - Atom sym_name_atom = kbd_desc_ptr->names->symbols; - char *sym_name; - char *ptr1; -@@ -251,7 +252,8 @@ - current_group_xkb_no = xkb_state.group; - - status = True; -- -+ } -+ } - HastaLaVista: - if (kbd_desc_ptr) XkbFreeKeyboard(kbd_desc_ptr, 0, True); - return status; -@@ -286,13 +288,14 @@ - void set_new_locale(t_xkb *ctrl) { - t_xkb *plugin = (t_xkb *) ctrl; - char filename[255]; -+ GdkPixbuf *pixbuf, *tmp; -+ int size; - - // Set the label - gtk_label_set_label((GtkLabel *) plugin->label, get_symbol_name_by_res_no(current_group_xkb_no)); - - // Set the image -- GdkPixbuf *pixbuf, *tmp; -- int size = plugin->size - 4; -+ size = plugin->size - 4; - tmp = gdk_pixbuf_new_from_file(get_current_gourp_flag_name(filename), NULL); - if (tmp == NULL) { // could not be loaded for some reason - printf("in set_new_locale: tmp is NULL\n"); -@@ -335,10 +338,10 @@ - char * initialize_xkb(t_xkb *ctrl) { - XkbEvent evnt; - int event_code, error_rtrn, major, minor, reason_rtrn; -+ char * display_name; - major = XkbMajorVersion; - minor = XkbMinorVersion; - -- char * display_name; - display_name = ""; - XkbIgnoreExtension(False); - dsp = XkbOpenDisplay(display_name, &event_code, &error_rtrn, &major, &minor, &reason_rtrn); -@@ -362,12 +365,12 @@ - - if (do_init_xkb() != True) return "N/A"; - -+ { - char *group = get_symbol_name_by_res_no(current_group_xkb_no); -- -+ XkbStateRec state; - XkbSelectEventDetails(dsp, XkbUseCoreKbd, XkbStateNotify, - XkbAllStateComponentsMask, XkbGroupStateMask); - -- XkbStateRec state; - XkbGetState(dsp, device_id, &state); - current_group_xkb_no = (current_group_xkb_no != state.group) ? state.group : current_group_xkb_no; - accomodate_group_xkb(); -@@ -375,6 +378,7 @@ - if (ctrl != NULL) set_new_locale(ctrl); - - return group; -+ } - } - - static void deinit_group_names() { |