Bug 185230 - [PATCH] Fix dependency of devel/wxGlade (current version not compatible with wxWidgets 2.6)
Summary: [PATCH] Fix dependency of devel/wxGlade (current version not compatible with ...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Gerald Pfeifer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-27 13:40 UTC by Matthias Petermann
Modified: 2014-03-02 15:10 UTC (History)
0 users

See Also:


Attachments
file.diff (294 bytes, patch)
2013-12-27 13:40 UTC, Matthias Petermann
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Petermann 2013-12-27 13:40:00 UTC
When configured to use WxWidgets 2.6, WxGlade 0.6.8 doesn't work (2.8 works). I contacted the upstream maintainer of WxGlade and he was telling me this is a known bug in WxGlade 0.6.8, even the ultimate goal is to keep it working with wxWidgets 2.6 and 2.8. He is willing to release a fixed version in Q1-2014.

Until this happened I'd recommend to fix the WxWidgets dependency in the WxGlade Makefile, requiring at least WxWidgets 2.8. The attached patch will do that.

I was not sure if it is a good practise to include comment lines in the Makefile - if allowed I'd propose to add

# can be set back to "2.6+" once 0.6.9 is released

above the USE_WX=2.8+

Fix: patch attached

Patch attached with submission follows:
How-To-Repeat: Install WxGlade on a system which has WxWidgets 2.6 and WxPython 2.6 installed.
Comment 1 Gerald Pfeifer freebsd_committer freebsd_triage 2014-03-02 14:35:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gerald

I'll take care.
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-03-02 15:00:56 UTC
Author: gerald
Date: Sun Mar  2 15:00:49 2014
New Revision: 346768
URL: http://svnweb.freebsd.org/changeset/ports/346768
QAT: https://qat.redports.org/buildarchive/r346768/

Log:
  This port is not compatible with wxWidgets 2.6 for now, so depend on
  wxWidgets 2.8+.
  
  PR:		185230
  Submitted by:	Matthias Petermann <matthias@petermann-it.de>

Modified:
  head/devel/wxGlade/Makefile

Modified: head/devel/wxGlade/Makefile
==============================================================================
--- head/devel/wxGlade/Makefile	Sun Mar  2 14:41:22 2014	(r346767)
+++ head/devel/wxGlade/Makefile	Sun Mar  2 15:00:49 2014	(r346768)
@@ -17,7 +17,9 @@ LICENSE_FILE=	${WRKSRC}/license.txt
 OPTIONS_DEFINE=	DOCS
 
 USE_PYTHON=	yes
-USE_WX=		2.6+
+# This can be set back to 2.6+ once this port moves to version 0.6.9,
+# cf. PR185230.
+USE_WX=		2.8+
 WX_COMPS=	python
 
 MAN1=		wxglade.1
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Gerald Pfeifer freebsd_committer freebsd_triage 2014-03-02 15:03:04 UTC
State Changed
From-To: open->closed

Committed, with a comment as you suggested.  Thanks!