xfig and siag problems on AMD64

2009-04-07 Thread punosevac72
I would like to report problems with Xfig and Siag packages on
OpenBSD 4.4 GENERIC.MP#1812 amd64. 
Namely, when I try to enter text input mode in Xfig it just dumps the core.
Xfig works rock stable on i386 including text input mode.

Siag on the another hand has the problem with the background color on
AMD64. The spreadsheet opens completely black and it is not possible
to adjust the color of the background. Siag is still usable on AMD64 as 
during the input cell mode one can see the content of the cell. It is
also possible to see the content of the entire spreadsheet by using some tricks
with blocks. I can not reproduce the same problem on i386.

I have not tested the packages in question on Sparc64.

Unfortunately, I am terribly busy right now so I will not  be able
to test them on current before 1st of May.

Cheers,
Predrag



Re: UPD: devel/p5-Moose=>0.73, devel/p5-Class-MOP=>0.80 (was 0.79)

2009-04-07 Thread James Wright
It would be nice if these modules would stabilise soon.  Anyway, 
attached find diffs for Class::MOP to 0.81 and Moose to 0.74.  Tested on 
i386, and pass regress.


Changes for Class::MOP 
0.81 Tue, April 7, 2009

   * Class::MOP
   * Class::MOP::Class
   * Class::MOP::Instance
   * Class::MOP::Attribute
   * Class::MOP::Method::Accessor
   * Class::MOP::Method::Constructor
 - Include stack traces in the deprecation warnings introduced in
   0.80_01. (Florian Ragwitz)

   * MOP.xs
 - Avoid c compiler warnings by declaring some unused function
   arguments. (Florian Ragwitz)

0.80_01 Sun, April 5, 2009
   * Makefile.PL
 - Make sure to preserve any compiler flags already defined in
   Config.pm. Patch by Vincent Pit. RT #44739.

   * Many methods have been renamed with a leading underscore, and a
 few have been deprecated entirely. The methods with a leading
 underscore are consider "internals only". People writing
 subclasses or extensions to Class::MOP should feel free to
 override them, but they are not for "public" use.

 - Class::MOP::Class
   - construct_class_instance => _construct_class_instance (use new_object)
   - construct_instance => _construct_instance (use new_object)
   - check_metaclass_compatibility => _check_metaclass_compatibility
   - create_meta_instance => _create_meta_instance (use get_meta_instance)
   - clone_instance => _clone_instance (use clone_object)
   - compute_all_applicable_methods is deprecated, use get_all_methods
   - compute_all_applicable_attributes is deprecated, use get_all_attributes

 - Class::MOP::Instance
   - bless_instance_structure is deprecated and will be removed
 in a future release

 - Class::MOP::Module
   - create has been renamed to _instantiate_module. This method
 does not construct an object, it evals some code that
 creates the relevant package in Perl's symbol table.

 - Class::MOP::Method::Accessor
   - initialize_body => _initialize_body (this is always called
 when an object is constructed)
   - /(generate_.*_method(?:_inline)?)/ => '_' . $1

 - Class::MOP::Method::Constructor
   - initialize_body => _initialize_body (this is always called
 when an object is constructed)
   - /(generate_constructor_method(?:_inline)?)/ => '_' . $1
   - attributes => _attributes
   - meta_instance => _meta_instance

Changes for Moose 0.74:

0.74 Tue, April 7, 2009
   * Moose::Meta::Role
   * Moose::Meta::Method::Destructor
 - Include stack traces in the deprecation warnings.
   (Florian Ragwitz)

   * Moose::Meta::Class
 - Removed the long-deprecated _apply_all_roles method.

   * Moose::Meta::TypeContsraint
 - Removed the long-deprecated union method.


0.73_02 Mon, April 6, 2009
   * More deprecations and renamings
 - Moose::Meta::Method::Constructor
   - initialize_body => _initialize_body (this is always called
 when an object is constructed)

   * Moose::Object
 - The DEMOLISHALL method could throw an exception during global
   destruction, meaning that your class's DEMOLISH methods would
   not be properly called. Reported by t0m.

   * Moose::Meta::Method::Destructor
 - Destructor inlining was totally broken by the change to the
   is_needed method in 0.72_01. Now there is a test for this
   feature, and it works again.

0.73_01 Sun, April 5, 2009
   * Moose::*
 - Call user_class->meta in fewer places, with the eventual goal
   of allowing the user to rename or exclude ->meta
   altogether. Instead uses Class::MOP::class_of. (Sartak)

   * Moose::Meta::Method::Accessor
 - If an attribute had a lazy default, and that value did not
   pass the attribute's type constraint, it did not get the
   message from the type constraint, instead using a generic
   message. Test provided by perigrin.

   * Moose::Util::TypeConstraints
 - Add duck_type keyword. It's sugar over making sure an object
   can() a list of methods. This is easier than jrockway's
   suggestion to fork all of CPAN. (perigrin)
   - add tests and documentation (perigrin)

   * Moose
 - Document the fact that init_meta() returns the target class's
   metaclass object. (hdp)

   * Moose::Cookbook::Extending::Recipe1
   * Moose::Cookbook::Extending::Recipe2
   * Moose::Cookbook::Extending::Recipe3
   * Moose::Cookbook::Extending::Recipe4
 - Make init_meta() examples explicitly return the metaclass and
   point out this fact. (hdp)

   * Moose::Cookbook::Meta::Recipe6
 - A new recipe, creating a custom meta-method class.

   * Moose::Meta::Class
   * Moose::Meta::Method::Constructor
 - Attribute triggers no longer receive the meta-attribute object
   as an argument in any circumstance. Previously, triggers
   called during instance construction were passed the
   meta-attribute, but triggers called by normal a

Re: TeX Live: 2 bug fixes

2009-04-07 Thread Edd Barrett
Hi,

On Tue, Apr 07, 2009 at 12:44:53PM +0100, Stuart Henderson wrote:
> they are already marked @conflict so can't be installed together,
> teTeX was removed from the tree, and someone reported a problem related
> to this. so I think it makes sense.

Ok, well lets look at the previous diff and then we can add extra
pkgpath stuff afterwards.

-- 

Best Regards

Edd Barrett
(Freelance software developer / technical writer / open-source developer)

http://students.dec.bmth.ac.uk/ebarrett



UPDATE: www/wordpress 2.7.1

2009-04-07 Thread Mattieu Baptiste
Hi all,

Here is an update to the latest wordpress (2.7.1).


Index: Makefile
===
RCS file: /cvs/ports/www/wordpress/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile7 May 2008 05:51:35 -   1.16
+++ Makefile7 Apr 2009 13:04:55 -
@@ -2,7 +2,7 @@

 COMMENT=   standard compliant weblog

-DISTNAME=  wordpress-2.5.1
+DISTNAME=  wordpress-2.7.1
 CATEGORIES=www

 HOMEPAGE=  http://wordpress.org/
Index: distinfo
===
RCS file: /cvs/ports/www/wordpress/distinfo,v
retrieving revision 1.16
diff -u -r1.16 distinfo
--- distinfo6 May 2008 22:34:48 -   1.16
+++ distinfo7 Apr 2009 13:04:55 -
@@ -1,5 +1,5 @@
-MD5 (wordpress-2.5.1.tar.gz) = saQDhwBuVNy9lj0MtdoN9A==
-RMD160 (wordpress-2.5.1.tar.gz) = HIFjdH+5XXSOZuidEK+8w/2xPpI=
-SHA1 (wordpress-2.5.1.tar.gz) = So2C6agLxbXBwlHgApbpPbs2SCk=
-SHA256 (wordpress-2.5.1.tar.gz) = OsW5KH1h/5D54fV5Dc/tpJCy2iG1r5CYsvdsPoBZBXs=
-SIZE (wordpress-2.5.1.tar.gz) = 1181886
+MD5 (wordpress-2.7.1.tar.gz) = Px4WB+XOEyjDBeAZL/M1Kg==
+RMD160 (wordpress-2.7.1.tar.gz) = BrHbk/PxRZGnge3RWGx3VD1/Ohs=
+SHA1 (wordpress-2.7.1.tar.gz) = ALqA1hI+GLZ1lSpsr7hPygZrVNQ=
+SHA256 (wordpress-2.7.1.tar.gz) = i2C3LImCrp7qWJjATTYGbOE+fg4EvNP7/kJNwrLhu6k=
+SIZE (wordpress-2.7.1.tar.gz) = 1624416
Index: pkg/PLIST
===
RCS file: /cvs/ports/www/wordpress/pkg/PLIST,v
retrieving revision 1.9
diff -u -r1.9 PLIST
--- pkg/PLIST   6 May 2008 22:34:48 -   1.9
+++ pkg/PLIST   7 Apr 2009 13:04:56 -
@@ -8,9 +8,9 @@
 wordpress/wp-admin/admin-footer.php
 wordpress/wp-admin/admin-functions.php
 wordpress/wp-admin/admin-header.php
+wordpress/wp-admin/admin-post.php
 wordpress/wp-admin/admin.php
 wordpress/wp-admin/async-upload.php
-wordpress/wp-admin/bookmarklet.php
 wordpress/wp-admin/categories.php
 wordpress/wp-admin/comment.php
 wordpress/wp-admin/css/
@@ -20,6 +20,9 @@
 wordpress/wp-admin/css/colors-fresh.css
 wordpress/wp-admin/css/dashboard-rtl.css
 wordpress/wp-admin/css/dashboard.css
+wordpress/wp-admin/css/farbtastic-rtl.css
+wordpress/wp-admin/css/farbtastic.css
+wordpress/wp-admin/css/global-rtl.css
 wordpress/wp-admin/css/global.css
 wordpress/wp-admin/css/ie-rtl.css
 wordpress/wp-admin/css/ie.css
@@ -29,9 +32,12 @@
 wordpress/wp-admin/css/login.css
 wordpress/wp-admin/css/media-rtl.css
 wordpress/wp-admin/css/media.css
+wordpress/wp-admin/css/plugin-install-rtl.css
+wordpress/wp-admin/css/plugin-install.css
+wordpress/wp-admin/css/press-this-rtl.css
+wordpress/wp-admin/css/press-this.css
 wordpress/wp-admin/css/theme-editor-rtl.css
 wordpress/wp-admin/css/theme-editor.css
-wordpress/wp-admin/css/upload-rtl.css
 wordpress/wp-admin/css/widgets-rtl.css
 wordpress/wp-admin/css/widgets.css
 wordpress/wp-admin/custom-header.php
@@ -40,7 +46,6 @@
 wordpress/wp-admin/edit-comments.php
 wordpress/wp-admin/edit-form-advanced.php
 wordpress/wp-admin/edit-form-comment.php
-wordpress/wp-admin/edit-form.php
 wordpress/wp-admin/edit-link-categories.php
 wordpress/wp-admin/edit-link-category-form.php
 wordpress/wp-admin/edit-link-form.php
@@ -51,33 +56,68 @@
 wordpress/wp-admin/edit-tags.php
 wordpress/wp-admin/edit.php
 wordpress/wp-admin/export.php
+wordpress/wp-admin/gears-manifest.php
 wordpress/wp-admin/images/
 wordpress/wp-admin/images/align-center.png
 wordpress/wp-admin/images/align-left.png
 wordpress/wp-admin/images/align-none.png
 wordpress/wp-admin/images/align-right.png
+wordpress/wp-admin/images/archive-link.png
+wordpress/wp-admin/images/blue-grad.png
 wordpress/wp-admin/images/browse-happy.gif
+wordpress/wp-admin/images/bubble_bg-rtl.gif
 wordpress/wp-admin/images/bubble_bg.gif
+wordpress/wp-admin/images/button-grad-active.png
+wordpress/wp-admin/images/button-grad.png
 wordpress/wp-admin/images/comment-grey-bubble.png
-wordpress/wp-admin/images/comment-pill.gif
-wordpress/wp-admin/images/comment-stalk-classic.gif
-wordpress/wp-admin/images/comment-stalk-fresh.gif
-wordpress/wp-admin/images/comment-stalk-rtl.gif
 wordpress/wp-admin/images/date-button.gif
+wordpress/wp-admin/images/ed-bg.gif
 wordpress/wp-admin/images/fade-butt.png
+wordpress/wp-admin/images/fav-arrow-rtl.gif
+wordpress/wp-admin/images/fav-arrow.gif
+wordpress/wp-admin/images/fav-top.png
+wordpress/wp-admin/images/fav.png
+wordpress/wp-admin/images/generic.png
+wordpress/wp-admin/images/gray-grad.png
+wordpress/wp-admin/images/icons32-vs.png
+wordpress/wp-admin/images/icons32.png
+wordpress/wp-admin/images/list-vs.png
+wordpress/wp-admin/images/list.png
+wordpress/wp-admin/images/loading-publish.gif
+wordpress/wp-admin/images/loading.gif
 wordpress/wp-admin/images/logo-ghost.png
 wordpress/wp-admin/images/logo-login.gif
-wordpress/wp-admin/images/media-button-gallery.gif
+wordpress/wp-admin/images/logo.gif
+wordpress/wp-admin/images/marker.png
+wordpress/wp-admin/images/

NEW: p5-Coro (and p5-Guard)

2009-04-07 Thread James Wright
Attached are ports of Coro ('the only real threads in perl'), a module 
to do co-routines and cooperative threading in Perl, and Guard ('safe 
cleanup blocks'), a dependency for Coro.  Both of these are 
SHARED_ONLY.  Coro depends on AnyEvent and Event for the integration 
with event loops and LWP for Coro::LWP.  The license is mostly 
Perl/Artistic except for libcoro which is BSD.


$  cat 
devel/p5-Coro/pkg/DESCR 
This module collection manages continuations in general, most often in

the form of cooperative threads (also called coros, or simply "coro"
in the documentation). They are similar to kernel threads but don't
(in general) run in parallel at the same time even on SMP machines.
The specific flavor of thread offered by this module also guarantees
you that it will not switch between threads unless necessary, at
easily-identified points in your program, so locking and parallel
access are rarely an issue, making thread programming much safer and
easier than using other thread models.
$ cat 
devel/p5-Guard/pkg/DESCR
This module implements so-called "guards". A guard is something

(usually an object) that "guards" a resource, ensuring that it is
cleaned up when expected.

Specifically, this module supports two different types of guards:
guard objects, which execute a given code block when destroyed, and
scoped guards, which are tied to the scope exit.



Coro comes with modules for AIO, EV and BDB which will not work until we 
have those modules in our ports, but I kept them in the PLIST. 

This has been tested on i386 (where it passes regress, and seems to work 
well).  It 'should' work on amd64 (where it uses the same code for 
threading as i386), but really needs to be tested on !(amd64|i386) where 
it uses setjmp/longjmp/sigaltstack (we have no ucontext) and apparently 
coroutine creation will be slow but switching will be fast (I don't 
recommend reading Coro-5.131/Coro/Makefile.PL  if you care what the 
author of this module thinks of the BSDs).





devel-p5-Coro.tgz
Description: Binary data


devel-p5-Guard.tgz
Description: Binary data


Re: UPDATE: security/fwbuilder

2009-04-07 Thread Vadim Zhukov
On 7 April 2009 г. 16:31:32 Vadim Zhukov wrote:
> On 5 April 2009 г. 19:41:22 Vadim Zhukov wrote:
> > On 5 April 2009 г. 18:25:45 Steven Mestdagh wrote:
> > > here is an update of fwbuilder. please test/comment.
> >
> > There is a crash when working with object groups, still
> > investigating...
> >
> > BTW: Are there any Konqueror users which expirence any problems
> > using SourceForge?
>
> Here is a fixed one. Comments and commits welcome.

And here is forgotten security/libfwbuilder part (same as steven@ sent).

-- 
  Best wishes,
Vadim Zhukov

A: Because it messes up the way people read text.
Q: Why is a top-posting such a bad thing?


Index: Makefile
===
RCS file: /cvs/ports/security/libfwbuilder/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- Makefile5 Dec 2008 21:50:57 -   1.10
+++ Makefile7 Apr 2009 12:41:02 -
@@ -1,10 +1,10 @@
 # $OpenBSD: Makefile,v 1.10 2008/12/05 21:50:57 steven Exp $
 
 COMMENT=   libraries for fwbuilder
-DISTNAME=  libfwbuilder-3.0.2
+DISTNAME=  libfwbuilder-3.0.4
 CATEGORIES=net security
-SHARED_LIBS=   fwbuilder   11.0 \
-   fwcompiler  11.0
+SHARED_LIBS=   fwbuilder   12.0 \
+   fwcompiler  12.0
 
 INCLUDE=   include/fwb-3
 SHARE= share/libfwbuilder
Index: distinfo
===
RCS file: /cvs/ports/security/libfwbuilder/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo5 Dec 2008 21:50:57 -   1.6
+++ distinfo7 Apr 2009 12:41:02 -
@@ -1,5 +1,5 @@
-MD5 (libfwbuilder-3.0.2.tar.gz) = IPRni/H6TzZvHAOGkXtkrQ==
-RMD160 (libfwbuilder-3.0.2.tar.gz) = 8heQ7VibCWJ8EuGbMoecO86DAoc=
-SHA1 (libfwbuilder-3.0.2.tar.gz) = rU+o3orWA5zKhWSvIoW9I/SPJ5Q=
-SHA256 (libfwbuilder-3.0.2.tar.gz) = 
cE90TcI42OD2nrBhXsIj1ciQ/D2RO8o6rFJp6ixgRps=
-SIZE (libfwbuilder-3.0.2.tar.gz) = 529955
+MD5 (libfwbuilder-3.0.4.tar.gz) = xNI7m3LJ0icqsaQeK8hpAw==
+RMD160 (libfwbuilder-3.0.4.tar.gz) = lyb4m2aC9lJN4vQEatuiro6APNU=
+SHA1 (libfwbuilder-3.0.4.tar.gz) = gQ1Pbci0wqmJY/xeU24mlfSsoC8=
+SHA256 (libfwbuilder-3.0.4.tar.gz) = 
zoHoZMxcn00wv0gpLMiyZ8QjVqh7PtpIbfvRFSZ51Ns=
+SIZE (libfwbuilder-3.0.4.tar.gz) = 543824
Index: pkg/PLIST
===
RCS file: /cvs/ports/security/libfwbuilder/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -r1.4 PLIST
--- pkg/PLIST   5 Nov 2008 20:37:48 -   1.4
+++ pkg/PLIST   7 Apr 2009 12:41:02 -
@@ -33,7 +33,6 @@ ${INCLUDE}/fwbuilder/InetAddr.h
 ${INCLUDE}/fwbuilder/InetAddrMask.h
 ${INCLUDE}/fwbuilder/Interface.h
 ${INCLUDE}/fwbuilder/InterfaceData.h
-${INCLUDE}/fwbuilder/InterfacePolicy.h
 ${INCLUDE}/fwbuilder/Interval.h
 ${INCLUDE}/fwbuilder/IntervalGroup.h
 ${INCLUDE}/fwbuilder/Library.h
@@ -44,6 +43,7 @@ ${INCLUDE}/fwbuilder/NAT.h
 ${INCLUDE}/fwbuilder/Network.h
 ${INCLUDE}/fwbuilder/NetworkIPv6.h
 ${INCLUDE}/fwbuilder/ObjectGroup.h
+${INCLUDE}/fwbuilder/ObjectMatcher.h
 ${INCLUDE}/fwbuilder/Policy.h
 ${INCLUDE}/fwbuilder/Pool.h
 ${INCLUDE}/fwbuilder/Resources.h



Re: UPDATE: security/fwbuilder

2009-04-07 Thread Vadim Zhukov
On 5 April 2009 г. 19:41:22 Vadim Zhukov wrote:
> On 5 April 2009 г. 18:25:45 Steven Mestdagh wrote:
> > here is an update of fwbuilder. please test/comment.
>
> There is a crash when working with object groups, still
> investigating...
>
> BTW: Are there any Konqueror users which expirence any problems using
> SourceForge?

Here is a fixed one. Comments and commits welcome.

-- 
  Best wishes,
Vadim Zhukov

A: Because it messes up the way people read text.
Q: Why is a top-posting such a bad thing?


? fwbuilder.core
? w-fwbuilder-3.0.4
? w-fwbuilder-3.0.4-debug
Index: Makefile
===
RCS file: /cvs/ports/security/fwbuilder/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- Makefile12 Mar 2009 08:30:53 -  1.12
+++ Makefile7 Apr 2009 12:29:56 -
@@ -1,8 +1,7 @@
 # $OpenBSD: Makefile,v 1.12 2009/03/12 08:30:53 sthen Exp $
 
 COMMENT=   firewall GUI
-DISTNAME=  fwbuilder-3.0.2
-PKGNAME=   ${DISTNAME}p0
+DISTNAME=  fwbuilder-3.0.4
 CATEGORIES=net security
 
 HOMEPAGE=  http://www.fwbuilder.org/
Index: distinfo
===
RCS file: /cvs/ports/security/fwbuilder/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo5 Dec 2008 21:50:57 -   1.6
+++ distinfo7 Apr 2009 12:29:56 -
@@ -1,5 +1,5 @@
-MD5 (fwbuilder-3.0.2.tar.gz) = 07wqpuxCWXGoWhdqqiQodQ==
-RMD160 (fwbuilder-3.0.2.tar.gz) = FCQckcs1kpSF2PIeCxeS6woiAEc=
-SHA1 (fwbuilder-3.0.2.tar.gz) = BSEwF4n8wFcBrso74yTsHHPBjyM=
-SHA256 (fwbuilder-3.0.2.tar.gz) = F6VHAKCgGsnlh+MOiG7yYf0vbkh8/DfY9TqCBYGm79I=
-SIZE (fwbuilder-3.0.2.tar.gz) = 2337853
+MD5 (fwbuilder-3.0.4.tar.gz) = pTrQNVEeaoprS4nm6s9EhQ==
+RMD160 (fwbuilder-3.0.4.tar.gz) = pq+I9GDG9JacaiiCM2hpzq94HWo=
+SHA1 (fwbuilder-3.0.4.tar.gz) = zvwx8MLwI2cRMFUfRUOrAk/s2PU=
+SHA256 (fwbuilder-3.0.4.tar.gz) = TL/HhuLGmzaqeI+1XhkFCxt+cRmugXjWUoR14cybBYw=
+SIZE (fwbuilder-3.0.4.tar.gz) = 2383070
Index: patches/patch-src_gui_FWBSettings_h
===
RCS file: /cvs/ports/security/fwbuilder/patches/patch-src_gui_FWBSettings_h,v
retrieving revision 1.1
diff -u -p -r1.1 patch-src_gui_FWBSettings_h
--- patches/patch-src_gui_FWBSettings_h 5 Nov 2008 20:38:50 -   1.1
+++ patches/patch-src_gui_FWBSettings_h 7 Apr 2009 12:29:56 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-src_gui_FWBSettings_h,v 1.1 2008/11/05 20:38:50 steven Exp $
 src/gui/FWBSettings.h.orig Sat Oct  4 18:46:16 2008
-+++ src/gui/FWBSettings.h  Wed Oct  8 07:39:28 2008
-@@ -33,6 +33,8 @@
+--- src/gui/FWBSettings.h.orig Sun Mar 29 22:08:37 2009
 src/gui/FWBSettings.h  Tue Mar 31 12:16:28 2009
+@@ -36,6 +36,8 @@
  
  #include 
  
Index: patches/patch-src_gui_HttpGet_cpp
===
RCS file: /cvs/ports/security/fwbuilder/patches/patch-src_gui_HttpGet_cpp,v
retrieving revision 1.1
diff -u -p -r1.1 patch-src_gui_HttpGet_cpp
--- patches/patch-src_gui_HttpGet_cpp   5 Nov 2008 20:38:50 -   1.1
+++ patches/patch-src_gui_HttpGet_cpp   7 Apr 2009 12:29:56 -
@@ -1,9 +1,9 @@
 $OpenBSD: patch-src_gui_HttpGet_cpp,v 1.1 2008/11/05 20:38:50 steven Exp $
 src/gui/HttpGet.cpp.orig   Sat Oct  4 18:46:16 2008
-+++ src/gui/HttpGet.cppWed Oct  8 07:27:53 2008
-@@ -30,6 +30,8 @@
- #include 
+--- src/gui/HttpGet.cpp.orig   Sun Mar 29 22:08:37 2009
 src/gui/HttpGet.cppTue Mar 31 12:16:28 2009
+@@ -31,6 +31,8 @@
  #include 
+ #include 
  
 +#include 
 +
Index: patches/patch-src_gui_ObjectIconView_cpp
===
RCS file: patches/patch-src_gui_ObjectIconView_cpp
diff -N patches/patch-src_gui_ObjectIconView_cpp
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_gui_ObjectIconView_cpp7 Apr 2009 12:29:56 -
@@ -0,0 +1,21 @@
+$OpenBSD$
+--- src/gui/ObjectIconView.cpp.origTue Apr  7 15:14:52 2009
 src/gui/ObjectIconView.cpp Tue Apr  7 15:15:27 2009
+@@ -119,6 +119,8 @@ bool ObjectIconView::event(QEvent *event)
+ QDrag* ObjectIconView::dragObject()
+ {
+ QListWidgetItem *ivi = currentItem();
++if (ivi == NULL)
++return NULL;
+ int obj_id = ivi->data(Qt::UserRole).toInt();
+ FWObject *obj = mw->db()->findInIndex(obj_id);
+ QString icn =
+@@ -189,7 +191,7 @@ void ObjectIconView::mouseMoveEvent ( QMouseEvent * ev
+ startingDrag = false;
+ QDrag *dr = dragObject();
+ 
+-if (dr)
++if (dr != NULL)
+ dr->start();
+ }
+ QListWidget::mouseMoveEvent(event);
Index: patches/patch-src_gui_RuleSetView_cpp
===
RCS file: /cvs/ports/security/fwbuilder/patches/patch-src_gui_RuleSetView_cpp,v
retrieving revision 1.1
diff -u -p -r1.1 patch-src_gui_RuleSetView_cpp
--- patches/patch-src_gui_RuleSetView_cpp   

Re: TeX Live: 2 bug fixes

2009-04-07 Thread Stuart Henderson
On 2009/04/07 11:55, Edd Barrett wrote:
> Hi,
> 
> 
> On Tue, Apr 07, 2009 at 09:24:53AM +0100, Stuart Henderson wrote:
> > from texmf/Makefile:
> > 
> > # Also annoyingly loads of .orig files confuse update-patches
> > 
> > to help here, you can either use PATCHORIG, see bsd.port.mk(5), or add
> > this to a suitable target:
> > 
> > find . -name '*.orig' -print0 | xargs -0 rm
> > 
> 
> This is a copy and pasto error from -base, which has a similar find
> line. It does not apply to the texmf.  I have removed this line.
> 
> With regards to @pkgpath for teTeX, I don't mind, but some people may be
> choosing to run teTeX instead of TeX Live. Do what you think is right :)

they are already marked @conflict so can't be installed together,
teTeX was removed from the tree, and someone reported a problem related
to this. so I think it makes sense.



Re: TeX Live: 2 bug fixes

2009-04-07 Thread Stefan Sperling
On Tue, Apr 07, 2009 at 01:14:22PM +0200, frantisek holop wrote:
> hmm, on Tue, Apr 07, 2009 at 12:07:48PM +0100, Stefan Sperling said that
> > On Tue, Apr 07, 2009 at 11:55:20AM +0100, Edd Barrett wrote:
> > > With regards to @pkgpath for teTeX, I don't mind, but some people may be
> > > choosing to run teTeX instead of TeX Live. Do what you think is right :)
> > 
> > I thought teTeX was unmaintained?
> 
> developement has stopped.  that doesn't mean that
> the last version is not perfectly usable, does it?

FWIW, the teTeX port has already been deleted from the ports tree
some time ago.

Stefan



diff for x11/openbox

2009-04-07 Thread David Coppa

Hi,

This diff adds a runtime dependency on devel/py-xdg, because 
/usr/local/lib/openbox/xdg-autostart requires it.
Since openbox already depends on python, this isn't an heavy 
addition.

I've also remaked the Makefile using the new spacing convention.

cheers,
David


Index: Makefile
===
RCS file: /cvs/ports/x11/openbox/Makefile,v
retrieving revision 1.45
diff -N -u -p Makefile
--- Makefile16 Jan 2009 07:52:50 -  1.45
+++ Makefile7 Apr 2009 10:33:11 -
@@ -1,49 +1,51 @@
 # $OpenBSD: Makefile,v 1.45 2009/01/16 07:52:50 ajacoutot Exp $
 
-COMMENT=   small, fast & usable window manager
+COMMENT =  small, fast & usable window manager
 
-DISTNAME=  openbox-3.4.7.2
-PKGNAME=   ${DISTNAME}p1
-SHARED_LIBS+=  obparser8.0 # .21.2
-SHARED_LIBS+=  obrender8.0 # .21.2
-CATEGORIES=x11
+DISTNAME = openbox-3.4.7.2
+PKGNAME =  ${DISTNAME}p2
+SHARED_LIBS += obparser8.0 # .21.2
+SHARED_LIBS += obrender8.0 # .21.2
+CATEGORIES =   x11
 
-HOMEPAGE=  http://icculus.org/openbox/
+HOMEPAGE = http://icculus.org/openbox/
 
-MAINTAINER=Benoit Lecocq 
+MAINTAINER =   Benoit Lecocq 
 
 # GPLv2
-PERMIT_PACKAGE_CDROM=  Yes
-PERMIT_PACKAGE_FTP=Yes
-PERMIT_DISTFILES_CDROM=Yes
-PERMIT_DISTFILES_FTP=  Yes
+PERMIT_PACKAGE_CDROM = Yes
+PERMIT_PACKAGE_FTP =   Yes
+PERMIT_DISTFILES_CDROM =Yes
+PERMIT_DISTFILES_FTP = Yes
 
-MASTER_SITES=  http://offload1.icculus.org/openbox/releases/
+MASTER_SITES = http://offload1.icculus.org/openbox/releases/
 
-WANTLIB=   ICE SM X11 Xext Xft Xinerama Xrandr Xrender c \
+WANTLIB =  ICE SM X11 Xext Xft Xinerama Xrandr Xrender c \
fontconfig freetype m z glib-2.0 gmodule-2.0 \
gobject-2.0 Xau Xcursor Xdmcp Xfixes expat pcre
 
-MODULES=   devel/gettext \
+MODULES =  devel/gettext \
lang/python
 
-LIB_DEPENDS+=  pango-1.0,pangoxft-1.0,pangoft2-1.0::devel/pango \
+LIB_DEPENDS += pango-1.0,pangoxft-1.0,pangoft2-1.0::devel/pango \
xml2.>=6::textproc/libxml \
startup-notification-1.>=1::devel/startup-notification
 
-USE_X11=   Yes
-USE_GMAKE= Yes
-USE_LIBTOOL=   Yes
-MODPY_RUNDEP=  No
+RUN_DEPENDS =  ::devel/py-xdg
 
-CONFIGURE_STYLE=gnu
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+USE_X11 =  Yes
+USE_GMAKE =Yes
+USE_LIBTOOL =  Yes
+MODPY_RUNDEP = No
+
+CONFIGURE_STYLE =gnu
+CONFIGURE_ENV =CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS=${CONFIGURE_SHARED} \
+CONFIGURE_ARGS =${CONFIGURE_SHARED} \
--docdir=${PREFIX}/share/examples/openbox
 
-MAKE_FLAGS=LIBINTL="-L${LOCALBASE}/lib -lintl -liconv"
-FAKE_FLAGS=sysconfdir="${PREFIX}/share/examples/openbox"
+MAKE_FLAGS =   LIBINTL="-L${LOCALBASE}/lib -lintl -liconv"
+FAKE_FLAGS =   sysconfdir="${PREFIX}/share/examples/openbox"
 
 pre-configure:
@chmod +x ${WRKSRC}/install-sh



Re: TeX Live: 2 bug fixes

2009-04-07 Thread frantisek holop
hmm, on Tue, Apr 07, 2009 at 12:07:48PM +0100, Stefan Sperling said that
> On Tue, Apr 07, 2009 at 11:55:20AM +0100, Edd Barrett wrote:
> > With regards to @pkgpath for teTeX, I don't mind, but some people may be
> > choosing to run teTeX instead of TeX Live. Do what you think is right :)
> 
> I thought teTeX was unmaintained?

developement has stopped.  that doesn't mean that
the last version is not perfectly usable, does it?

-f
-- 
i'm so modest i pull the curtains before changing my mind.



Re: TeX Live: 2 bug fixes

2009-04-07 Thread Stefan Sperling
On Tue, Apr 07, 2009 at 11:55:20AM +0100, Edd Barrett wrote:
> With regards to @pkgpath for teTeX, I don't mind, but some people may be
> choosing to run teTeX instead of TeX Live. Do what you think is right :)

I thought teTeX was unmaintained?

Stefan



Re: TeX Live: 2 bug fixes

2009-04-07 Thread Edd Barrett
Hi,


On Tue, Apr 07, 2009 at 09:24:53AM +0100, Stuart Henderson wrote:
> from texmf/Makefile:
> 
> # Also annoyingly loads of .orig files confuse update-patches
> 
> to help here, you can either use PATCHORIG, see bsd.port.mk(5), or add
> this to a suitable target:
> 
>   find . -name '*.orig' -print0 | xargs -0 rm
> 

This is a copy and pasto error from -base, which has a similar find
line. It does not apply to the texmf.  I have removed this line.

With regards to @pkgpath for teTeX, I don't mind, but some people may be
choosing to run teTeX instead of TeX Live. Do what you think is right :)

Antoine:
The SUBST_VARS line was not entirely useless, as by default only
^LOCALBASE is in there, however I agree that it should be TRUEPREFIX
instead. I have updated this on the attached diff.

Make sure you move the fmtutil.cnf-full from base/files into
texmf/files, like before and patch with -E.

Thanks

-- 

Best Regards

Edd Barrett
(Freelance software developer / technical writer / open-source developer)

http://students.dec.bmth.ac.uk/ebarrett
? texmf/files/fmtutil.cnf-full
Index: base/Makefile
===
RCS file: /cvs/ports/print/texlive/base/Makefile,v
retrieving revision 1.22
diff -u -r1.22 Makefile
--- base/Makefile   22 Feb 2009 19:05:17 -  1.22
+++ base/Makefile   7 Apr 2009 10:43:02 -
@@ -4,7 +4,7 @@
 
 DIST_V =   20080816
 DISTNAME = texlive-${DIST_V}-source
-PKGNAME =  texlive_base-${V}p9
+PKGNAME =  texlive_base-${V}p10
 SHARED_LIBS =  kpathsea1.0
 
 WANTLIB =  m X11 ICE freetype Xt pthread c Xext fontconfig \
@@ -67,6 +67,8 @@
--with-old-mac-fonts \
--without-xindy
 
+SUBST_VARS +=  TRUEPREFIX
+
 # Could do with bsd.port.mk understanding lzma
 # Also annoyingly loads of .orig files confuse update-patches
 do-extract:
@@ -77,10 +79,11 @@
 post-install:
${INSTALL_DATA} ${FILESDIR}/fmtutil.cnf-minimal \
${PREFIX}/share/texmf/web2c
-   ${INSTALL_DATA} ${FILESDIR}/fmtutil.cnf-full \
-   ${PREFIX}/share/texmf/web2c
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/texlive
${INSTALL_DATA} ${FILESDIR}/README.OpenBSD \
${PREFIX}/share/doc/texlive
+   ${INSTALL_SCRIPT} ${FILESDIR}/tl-link-config \
+   ${PREFIX}/bin
+   ${SUBST_CMD} ${PREFIX}/bin/tl-link-config
 
 .include 
Index: base/files/fmtutil.cnf-full
===
RCS file: base/files/fmtutil.cnf-full
diff -N base/files/fmtutil.cnf-full
--- base/files/fmtutil.cnf-full 21 Oct 2008 20:57:57 -  1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,156 +0,0 @@
-# Generated by /home/texlive/karl/Master/bin/i386-linux/tlmgr on Sun Jul  6 
03:35:07 2008
-# $Id: fmtutil.cnf-full,v 1.1 2008/10/21 20:57:57 steven Exp $
-# Originally written by Thomas Esser, 1998. Public domain.
-#
-# As of TeX Live 2008, the final fmtutil.cnf is generated by
-# tlmgr generate fmtutil.  You can use
-# tlmgr generate fmtutil -localcfg /some/file to make local additions.
-# See tlmgr --help for more info.
-#
-# The format of the table is:
-#
-# format  engine  pattern-file  arguments
-#
-# The last part of "arguments" must be the name of the file to run
-# initex (or another ini-engine) on.  For historical reasons, that
-# filename may be preceded by a *, which is ignored.
-# 
-# fmtutil always passes the -ini option to the engine.
-# 
-# If no pattern-file is desired, use -.
-#
-# Either spaces or tabs can be used as separators.
-# 
-# Other notes :
-# 1) tex and amstex just load hyphen.tex. No customization.
-#You can have your own customized (via babel's hyphen.cfg)
-#formats on top of plain by using "bplain.tex" instead of
-#plain.tex (see e.g. bplain.ini file for bplain format).
-#
-# 2) etex-based formats load language.def, not language.dat.
-#
-# 3) The symbolic link to the right engines (e.g. bplain -> tex)
-#is generated by the "texlinks" script.
-# 
-# 4) usual comments start with "# ", whereas disabled configurations
-#start with "#! " in this file.
-
-# --
-# $Id: fmtutil.cnf-full,v 1.1 2008/10/21 20:57:57 steven Exp $
-aleph  aleph   -   *aleph.ini
-lamed   aleph  language.dat*lambda.ini
-# --
-# $Id: fmtutil.cnf-full,v 1.1 2008/10/21 20:57:57 steven Exp $
-# Change "amstex.ini" to "bamstex.ini" and "-" to "language.dat"
-# if you want babel support in amstex:
-amstex pdftex  -   -translate-file=cp227.tcx *amstex.ini
-# Change "pdfamstex.ini" to "pdfbamstex.ini" and "-" "language.dat"
-# if you want babel support in pdfamstex:
-#! pdfamstex   pdftex  -   -translate-file=cp227.tcx *pdfamstex.ini
-# 

Re: new gq version

2009-04-07 Thread Marc Balmer


Am 06.04.2009 um 22:48 schrieb Landry Breuil:

On Fri, Apr 03, 2009 at 07:42:21AM +0200, Jasper Lievisse Adriaanse  
wrote:

On Thu, Apr 02, 2009 at 11:41:40PM +0200, Landry Breuil wrote:

On Thu, Apr 02, 2009 at 12:14:47PM +0200, Mischa Diehm wrote:

Hi,

mbalmer@ pointed out there might be a patch for gq? I would  
really like

to have a newer version and can offer to test and look at a patch.


I have it somewhere in one of my trees, i'll try to find it this
weekend. Don't hesitate to ping me back in case i don't post it  
again.


Landry

here is a diff i have lingering around.


And here's one for the latest version (1.3.4), resurrected from one of
my dead trees, tested on i386/sparc64 against db.debian.org. Not  
tested

TLS as i don't have an ldaps:// around, but more testing is welcomed.



I tested it, works like a charm, even with TLS.  I tested against  
several

LDAP servers, some of them quite big.

ok by me.



Re: TeX Live: 2 bug fixes

2009-04-07 Thread Stuart Henderson
from texmf/Makefile:

# Also annoyingly loads of .orig files confuse update-patches

to help here, you can either use PATCHORIG, see bsd.port.mk(5), or add
this to a suitable target:

find . -name '*.orig' -print0 | xargs -0 rm



Re: TeX Live: 2 bug fixes

2009-04-07 Thread Stuart Henderson
On 2009/04/07 09:19, Antoine Jacoutot wrote:
> On Mon, 6 Apr 2009, Edd Barrett wrote:
> 
> > Hi,
> > 
> > a) Fix binaries missed due to a Makefile ignoring systrace denying junk
> > being dumped on the filsystem in the wrong place.
> > 
> > b) Separate script (tl-link-config) to decide which config to symlink.
> > Fixes the situation where -base gets bumped and so the minimal
> > fmtutil.cnf gets incorrectly linked when really the -full config is
> > needed.
> > 
> > A new directory is needed, but CVS disallows me from doing so. Before
> > applying the following patch, backup base/fmtutil.cnf-full someplace,
> > then apply the patch (with -E). Afterwards make the directory
> > texmf/files and put the backed up fmtutil.cnf-full there.
> > 
> > A developer with an account should be able to do this.
> > 
> > OK?
> 
> 
> The following part is useless:
> SUBST_VARS +=  LOCALBASE
> 
> 
> And it should be PREFIX or TRUEPREFIX, not LOCALBASE.

Yep.

I'm also looking at adding the right @pkgpath markers so that upgrades
from teTeX work better.



Re: TeX Live: 2 bug fixes

2009-04-07 Thread Antoine Jacoutot
On Mon, 6 Apr 2009, Edd Barrett wrote:

> Hi,
> 
> a) Fix binaries missed due to a Makefile ignoring systrace denying junk
> being dumped on the filsystem in the wrong place.
> 
> b) Separate script (tl-link-config) to decide which config to symlink.
> Fixes the situation where -base gets bumped and so the minimal
> fmtutil.cnf gets incorrectly linked when really the -full config is
> needed.
> 
> A new directory is needed, but CVS disallows me from doing so. Before
> applying the following patch, backup base/fmtutil.cnf-full someplace,
> then apply the patch (with -E). Afterwards make the directory
> texmf/files and put the backed up fmtutil.cnf-full there.
> 
> A developer with an account should be able to do this.
> 
> OK?


The following part is useless:
SUBST_VARS +=  LOCALBASE


And it should be PREFIX or TRUEPREFIX, not LOCALBASE.

-- 
Antoine