Hi.

This diff updates openbox to the latest stable version: 3.4.0
(thanks to pyr@ for the reminder)

I will come up with an obconf diff soon, but meanwhile, please test this.

There have been _a lot_ of changes, more info about upgrading is available here:
http://icculus.org/openbox/index.php/Help:Upgrading_to_3.4

Enjoy!

--
Antoine
Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/openbox/Makefile,v
retrieving revision 1.31
diff -u -r1.31 Makefile
--- Makefile    16 Dec 2006 12:22:36 -0000      1.31
+++ Makefile    7 Jun 2007 06:25:49 -0000
@@ -1,18 +1,21 @@
 # $OpenBSD: Makefile,v 1.31 2006/12/16 12:22:36 espie Exp $
 
-COMMENT=       "small, fast & usable window manager"
+COMMENT=       small, fast & usable window manager
 
-DISTNAME=      openbox-3.3.1
-SHARED_LIBS=   obparser        3.0 \
-               obrender        3.0
+DISTNAME=      openbox-3.4.0
+SHARED_LIBS+=  obparser        4.0 # .13.0
+SHARED_LIBS+=  obrender        4.0 # .13.0
 CATEGORIES=    x11
 MASTER_SITES=  http://offload1.icculus.org/openbox/releases/
 
 HOMEPAGE=      http://icculus.org/openbox/
 
+MAINTAINER=    Antoine Jacoutot <[EMAIL PROTECTED]>
+
 MODULES=       devel/gettext
 LIB_DEPENDS+=  pango-1.0,pangoxft-1.0,pangoft2-1.0::devel/pango \
-               xml2.>=6::textproc/libxml
+               xml2.>=6::textproc/libxml \
+               startup-notification-1.>=1::devel/startup-notification
 
 # GPL
 PERMIT_PACKAGE_CDROM=  Yes
@@ -21,15 +24,11 @@
 PERMIT_DISTFILES_FTP=  Yes
 WANTLIB=               ICE SM X11 Xext Xft Xinerama Xrandr Xrender c \
                        fontconfig freetype m z glib-2.0 gmodule-2.0 \
-                       gobject-2.0
+                       gobject-2.0 Xau Xcursor Xdmcp Xfixes expat
 
 USE_X11=       Yes
 USE_GMAKE=     Yes
 USE_LIBTOOL=   Yes
 CONFIGURE_STYLE= gnu
-CONFIGURE_ENV= PKG_CONFIG_PATH="${X11BASE}/lib/pkgconfig"
-
-post-install:
-       ${INSTALL_DATA} ${WRKSRC}/data/*.xml ${PREFIX}/share/openbox
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/x11/openbox/distinfo,v
retrieving revision 1.15
diff -u -r1.15 distinfo
--- distinfo    5 Apr 2007 17:36:23 -0000       1.15
+++ distinfo    7 Jun 2007 06:25:49 -0000
@@ -1,5 +1,5 @@
-MD5 (openbox-3.3.1.tar.gz) = bcJdX7/11id1k7iZdPlQ2A==
-RMD160 (openbox-3.3.1.tar.gz) = t5bYB8F2Yc/1BrZB8SEFaqFGyNk=
-SHA1 (openbox-3.3.1.tar.gz) = BSTL8qOWRZ0gaRXmsbaIRDze2Js=
-SHA256 (openbox-3.3.1.tar.gz) = pwt7yMKEJ9/zUKoXiC1pFrZ4/RLREZ5MOtS4bzNx8DM=
-SIZE (openbox-3.3.1.tar.gz) = 603402
+MD5 (openbox-3.4.0.tar.gz) = IWsKuTUgw2u53ca5vWptcQ==
+RMD160 (openbox-3.4.0.tar.gz) = ZE5FVq4o8GPhKwjUIiwb0tuzvfU=
+SHA1 (openbox-3.4.0.tar.gz) = bydHlTqu7beIyHKaSNn9vV9AnrI=
+SHA256 (openbox-3.4.0.tar.gz) = r5Xl/FyH2yhjV6Z/lSX3gSLzAD6tCrDQSw3cq+jfNWQ=
+SIZE (openbox-3.4.0.tar.gz) = 720599
Index: patches/patch-Makefile_in
===================================================================
RCS file: patches/patch-Makefile_in
diff -N patches/patch-Makefile_in
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-Makefile_in   7 Jun 2007 06:25:49 -0000
@@ -0,0 +1,27 @@
+$OpenBSD$
+--- Makefile.in.orig   Wed Jun  6 21:01:54 2007
++++ Makefile.in        Wed Jun  6 21:03:27 2007
+@@ -417,6 +417,7 @@ pkgconfigdir = $(libdir)/pkgconfig
+ pubincludedir = $(includedir)/openbox/@OB_VERSION@/openbox
+ pixmapdir = $(datadir)/pixmaps
+ xsddir = $(datadir)/openbox
++eggdir = $(datadir)/examples/openbox
+ theme = Clearlooks
+ AUTOMAKE_OPTIONS = subdir-objects foreign
+ ACLOCAL_AMFLAGS = -I m4
+@@ -2118,12 +2119,12 @@ uninstall-dist_pixmapDATA:
+       done
+ install-dist_rcDATA: $(dist_rc_DATA)
+       @$(NORMAL_INSTALL)
+-      test -z "$(rcdir)" || $(mkdir_p) "$(DESTDIR)$(rcdir)"
++      test -z "$(eggdir)" || $(mkdir_p) "$(DESTDIR)$(eggdir)"
+       @list='$(dist_rc_DATA)'; for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         f=$(am__strip_dir) \
+-        echo " $(dist_rcDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(rcdir)/$$f'"; \
+-        $(dist_rcDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(rcdir)/$$f"; \
++        echo " $(dist_rcDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(eggdir)/$$f'"; \
++        $(dist_rcDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(eggdir)/$$f"; \
+       done
+ 
+ uninstall-dist_rcDATA:
Index: patches/patch-openbox-menuframe_c
===================================================================
RCS file: patches/patch-openbox-menuframe_c
diff -N patches/patch-openbox-menuframe_c
--- patches/patch-openbox-menuframe_c   26 Oct 2006 21:40:26 -0000      1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,18 +0,0 @@
---- openbox/menuframe.c.orig   Tue Oct 17 15:34:53 2006
-+++ openbox/menuframe.c        Tue Oct 17 15:35:50 2006
-@@ -675,12 +675,14 @@
- 
- void menu_frame_hide_all()
- {
-+    GList *it;
-+
-     if (config_submenu_show_delay) {
-         /* remove any submenu open requests */
-         ob_main_loop_timeout_remove(ob_main_loop,
-                                     menu_entry_frame_submenu_timeout);
-     }
--    GList *it = g_list_last(menu_frame_visible);
-+    it = g_list_last(menu_frame_visible);
-     if (it) 
-         menu_frame_hide(it->data);
- }
Index: patches/patch-render-font_c
===================================================================
RCS file: patches/patch-render-font_c
diff -N patches/patch-render-font_c
--- patches/patch-render-font_c 26 Oct 2006 21:40:26 -0000      1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,27 +0,0 @@
---- render/font.c.orig Tue Oct 17 14:36:32 2006
-+++ render/font.c      Tue Oct 17 14:44:29 2006
-@@ -90,6 +90,8 @@
-     FcResult res;
-     gint tint;
- #ifdef USE_PANGO
-+    PangoFontMetrics *metrics;
-+    gchar *locale, *p;
-     guchar *tmp_string = NULL;
-     gint tmp_int;
- #endif /* USE_PANGO */
-@@ -135,14 +137,12 @@
-     }
- 
-     /* based on gtkmain.c gtk_get_default_language() */
--    gchar *locale, *p;
-     locale = g_strdup(setlocale(LC_CTYPE, NULL));
-     if ((p = strchr(locale, '.')))
-         *p = '\0';
-     if ((p = strchr(locale, '@')))
-         *p = '\0';
--    PangoFontMetrics *metrics = 
--        pango_context_get_metrics(context, out->pango_font_description,
-+    metrics = pango_context_get_metrics(context, out->pango_font_description,
-                                   pango_language_from_string(locale));
-     out->pango_ascent = pango_font_metrics_get_ascent(metrics);
-     out->pango_descent = pango_font_metrics_get_descent(metrics);
Index: patches/patch-render-gradient_c
===================================================================
RCS file: patches/patch-render-gradient_c
diff -N patches/patch-render-gradient_c
--- patches/patch-render-gradient_c     26 Oct 2006 21:40:26 -0000      1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,24 +0,0 @@
---- render/gradient.c.orig     Tue Oct 17 15:29:19 2006
-+++ render/gradient.c  Tue Oct 17 15:29:50 2006
-@@ -371,6 +371,9 @@
-     RrPixel32 current;
-     RrColor *primary_light, *secondary_light;
- 
-+    VARS(y1);
-+    VARS(y3);
-+
-     r = sf->primary->r;
-     r += r >> 2;
-     g = sf->primary->g;
-@@ -393,10 +396,8 @@
-     if (b > 0xFF) b = 0xFF;
-     secondary_light = RrColorNew(a->inst, r, g, b);
- 
--    VARS(y1);
-     SETUP(y1, primary_light, sf->primary, (h / 2) -1);
--  
--    VARS(y3);
-+
-     SETUP(y3, sf->secondary, secondary_light,  (h / 2) -1);
- 
-     for (y1 = h - 1; y1 > (h / 2) -1; --y1) {  /* 0 -> h-1 */
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/x11/openbox/pkg/PLIST,v
retrieving revision 1.12
diff -u -r1.12 PLIST
--- pkg/PLIST   26 Oct 2006 21:40:26 -0000      1.12
+++ pkg/PLIST   7 Jun 2007 06:25:49 -0000
@@ -1,21 +1,24 @@
 @comment $OpenBSD: PLIST,v 1.12 2006/10/26 21:40:26 jasper Exp $
+%%SHARED%%
 bin/gnome-panel-control
-bin/kdetrayproxy
 bin/openbox
+bin/openbox-gnome-session
+bin/openbox-kde-session
+bin/openbox-session
 include/openbox/
-include/openbox/3.3/
-include/openbox/3.3/openbox/
-include/openbox/3.3/openbox/color.h
-include/openbox/3.3/openbox/font.h
-include/openbox/3.3/openbox/geom.h
-include/openbox/3.3/openbox/gradient.h
-include/openbox/3.3/openbox/image.h
-include/openbox/3.3/openbox/instance.h
-include/openbox/3.3/openbox/mask.h
-include/openbox/3.3/openbox/parse.h
-include/openbox/3.3/openbox/render.h
-include/openbox/3.3/openbox/theme.h
-include/openbox/3.3/openbox/version.h
+include/openbox/3.4/
+include/openbox/3.4/openbox/
+include/openbox/3.4/openbox/color.h
+include/openbox/3.4/openbox/font.h
+include/openbox/3.4/openbox/geom.h
+include/openbox/3.4/openbox/gradient.h
+include/openbox/3.4/openbox/image.h
+include/openbox/3.4/openbox/instance.h
+include/openbox/3.4/openbox/mask.h
+include/openbox/3.4/openbox/parse.h
+include/openbox/3.4/openbox/render.h
+include/openbox/3.4/openbox/theme.h
+include/openbox/3.4/openbox/version.h
 lib/libobparser.a
 lib/libobparser.la
 lib/libobrender.a
@@ -23,37 +26,91 @@
 lib/pkgconfig/
 lib/pkgconfig/obparser-3.0.pc
 lib/pkgconfig/obrender-3.0.pc
[EMAIL PROTECTED] man/man1/openbox-gnome-session.1
[EMAIL PROTECTED] man/man1/openbox-kde-session.1
[EMAIL PROTECTED] man/man1/openbox-session.1
[EMAIL PROTECTED] man/man1/openbox.1
+share/doc/openbox/
+share/doc/openbox/AUTHORS
+share/doc/openbox/CHANGELOG
+share/doc/openbox/COMPLIANCE
+share/doc/openbox/COPYING
+share/doc/openbox/README
+share/doc/openbox/menu.xsd
+share/doc/openbox/rc-mouse-focus.xml
+share/doc/openbox/rc.xsd
+share/doc/openbox/xbm/
+share/doc/openbox/xbm/bullet.xbm
+share/doc/openbox/xbm/close.xbm
+share/doc/openbox/xbm/desk.xbm
+share/doc/openbox/xbm/desk_toggled.xbm
+share/doc/openbox/xbm/iconify.xbm
+share/doc/openbox/xbm/max.xbm
+share/doc/openbox/xbm/max_toggled.xbm
+share/doc/openbox/xbm/shade.xbm
+share/doc/openbox/xbm/shade_toggled.xbm
+share/examples/openbox/
[EMAIL PROTECTED] ${SYSCONFDIR}/xdg/openbox/
+share/examples/openbox/autostart.sh
+share/examples/openbox/menu.xml
[EMAIL PROTECTED] ${SYSCONFDIR}/xdg/openbox/menu.xml
+share/examples/openbox/rc.xml
[EMAIL PROTECTED] ${SYSCONFDIR}/xdg/openbox/rc.xml
 share/gnome/
 share/gnome/wm-properties/
 share/gnome/wm-properties/openbox.desktop
+share/locale/ar/
+share/locale/ar/LC_MESSAGES/
+share/locale/ar/LC_MESSAGES/openbox.mo
+share/locale/bn_IN/
+share/locale/bn_IN/LC_MESSAGES/
+share/locale/bn_IN/LC_MESSAGES/openbox.mo
 share/locale/ca/LC_MESSAGES/openbox.mo
+share/locale/cs/LC_MESSAGES/openbox.mo
 share/locale/de/LC_MESSAGES/openbox.mo
 share/locale/[EMAIL PROTECTED]/LC_MESSAGES/openbox.mo
 share/locale/[EMAIL PROTECTED]/LC_MESSAGES/openbox.mo
 share/locale/es/LC_MESSAGES/openbox.mo
+share/locale/et/LC_MESSAGES/openbox.mo
 share/locale/fi/LC_MESSAGES/openbox.mo
 share/locale/fr/LC_MESSAGES/openbox.mo
-share/locale/hr/LC_MESSAGES/openbox.mo
-share/locale/ja/LC_MESSAGES/openbox.mo
+share/locale/it/LC_MESSAGES/openbox.mo
+share/locale/nl/LC_MESSAGES/openbox.mo
 share/locale/no/LC_MESSAGES/openbox.mo
 share/locale/pl/LC_MESSAGES/openbox.mo
 share/locale/pt/LC_MESSAGES/openbox.mo
+share/locale/pt_BR/LC_MESSAGES/openbox.mo
 share/locale/ru/LC_MESSAGES/openbox.mo
 share/locale/sk/LC_MESSAGES/openbox.mo
 share/locale/sv/LC_MESSAGES/openbox.mo
+share/locale/zh_CN/LC_MESSAGES/openbox.mo
 share/locale/zh_TW/LC_MESSAGES/openbox.mo
-share/openbox/
[EMAIL PROTECTED] ${SYSCONFDIR}/xdg/openbox/
-share/openbox/menu.xml
[EMAIL PROTECTED] ${SYSCONFDIR}/xdg/openbox/menu.xml
-share/openbox/menu.xsd
-share/openbox/rc.xml
[EMAIL PROTECTED] ${SYSCONFDIR}/xdg/openbox/rc.xml
-share/openbox/rc.xsd
-share/openbox/themeupdate.py
 share/pixmaps/
 share/pixmaps/openbox.png
 share/themes/
+share/themes/Artwiz-boxed/
+share/themes/Artwiz-boxed/openbox-3/
+share/themes/Artwiz-boxed/openbox-3/themerc
+share/themes/Bear2/
+share/themes/Bear2/openbox-3/
+share/themes/Bear2/openbox-3/close.xbm
+share/themes/Bear2/openbox-3/close_pressed.xbm
+share/themes/Bear2/openbox-3/desk.xbm
+share/themes/Bear2/openbox-3/desk_toggled.xbm
+share/themes/Bear2/openbox-3/iconify.xbm
+share/themes/Bear2/openbox-3/iconify_pressed.xbm
+share/themes/Bear2/openbox-3/max.xbm
+share/themes/Bear2/openbox-3/max_pressed.xbm
+share/themes/Bear2/openbox-3/max_toggled.xbm
+share/themes/Bear2/openbox-3/shade.xbm
+share/themes/Bear2/openbox-3/shade_pressed.xbm
+share/themes/Bear2/openbox-3/themerc
+share/themes/Clearlooks/
+share/themes/Clearlooks-Olive/
+share/themes/Clearlooks-Olive/openbox-3/
+share/themes/Clearlooks-Olive/openbox-3/themerc
+share/themes/Clearlooks/openbox-3/
+share/themes/Clearlooks/openbox-3/themerc
 share/themes/Mikachu/
 share/themes/Mikachu/openbox-3/
 share/themes/Mikachu/openbox-3/bullet.xbm
@@ -67,57 +124,27 @@
 share/themes/Natura/openbox-3/close.xbm
 share/themes/Natura/openbox-3/close_hover.xbm
 share/themes/Natura/openbox-3/desk.xbm
+share/themes/Natura/openbox-3/desk_hover.xbm
 share/themes/Natura/openbox-3/desk_toggled.xbm
 share/themes/Natura/openbox-3/iconify.xbm
-share/themes/Natura/openbox-3/iconify_disabled.xbm
 share/themes/Natura/openbox-3/iconify_hover.xbm
 share/themes/Natura/openbox-3/max.xbm
-share/themes/Natura/openbox-3/max_disabled.xbm
 share/themes/Natura/openbox-3/max_hover.xbm
 share/themes/Natura/openbox-3/max_toggled.xbm
 share/themes/Natura/openbox-3/shade.xbm
+share/themes/Natura/openbox-3/shade_hover.xbm
 share/themes/Natura/openbox-3/themerc
-share/themes/artwiz-boxed/
-share/themes/artwiz-boxed/openbox-3/
-share/themes/artwiz-boxed/openbox-3/bullet.xbm
-share/themes/artwiz-boxed/openbox-3/close.xbm
-share/themes/artwiz-boxed/openbox-3/desk.xbm
-share/themes/artwiz-boxed/openbox-3/desk_toggled.xbm
-share/themes/artwiz-boxed/openbox-3/iconify.xbm
-share/themes/artwiz-boxed/openbox-3/max.xbm
-share/themes/artwiz-boxed/openbox-3/max_toggled.xbm
-share/themes/artwiz-boxed/openbox-3/themerc
-share/themes/bear2/
-share/themes/bear2/openbox-3/
-share/themes/bear2/openbox-3/close.xbm
-share/themes/bear2/openbox-3/close_pressed.xbm
-share/themes/bear2/openbox-3/desk.xbm
-share/themes/bear2/openbox-3/desk_toggled.xbm
-share/themes/bear2/openbox-3/iconify.xbm
-share/themes/bear2/openbox-3/iconify_disabled.xbm
-share/themes/bear2/openbox-3/iconify_pressed.xbm
-share/themes/bear2/openbox-3/max.xbm
-share/themes/bear2/openbox-3/max_disabled.xbm
-share/themes/bear2/openbox-3/max_pressed.xbm
-share/themes/bear2/openbox-3/max_toggled.xbm
-share/themes/bear2/openbox-3/shade.xbm
-share/themes/bear2/openbox-3/shade_pressed.xbm
-share/themes/bear2/openbox-3/themerc
-share/themes/orang/
-share/themes/orang/openbox-3/
-share/themes/orang/openbox-3/themerc
-share/themes/syscrash/
-share/themes/syscrash/openbox-3/
-share/themes/syscrash/openbox-3/bullet.xbm
-share/themes/syscrash/openbox-3/close.xbm
-share/themes/syscrash/openbox-3/close_disabled.xbm
-share/themes/syscrash/openbox-3/desk.xbm
-share/themes/syscrash/openbox-3/desk_toggled.xbm
-share/themes/syscrash/openbox-3/iconify.xbm
-share/themes/syscrash/openbox-3/max.xbm
-share/themes/syscrash/openbox-3/max_disabled.xbm
-share/themes/syscrash/openbox-3/max_pressed.xbm
-share/themes/syscrash/openbox-3/max_toggled.xbm
-share/themes/syscrash/openbox-3/shade.xbm
-share/themes/syscrash/openbox-3/themerc
-%%SHARED%%
+share/themes/Orang/
+share/themes/Orang/openbox-3/
+share/themes/Orang/openbox-3/themerc
+share/themes/Syscrash/
+share/themes/Syscrash/openbox-3/
+share/themes/Syscrash/openbox-3/max.xbm
+share/themes/Syscrash/openbox-3/max_disabled.xbm
+share/themes/Syscrash/openbox-3/max_pressed.xbm
+share/themes/Syscrash/openbox-3/max_toggled.xbm
+share/themes/Syscrash/openbox-3/themerc
+share/xsessions/
+share/xsessions/openbox-gnome.desktop
+share/xsessions/openbox-kde.desktop
+share/xsessions/openbox.desktop

Reply via email to