From nobody@FreeBSD.org  Sat Jul 18 06:57:03 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 6D1B0106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 18 Jul 2009 06:57:03 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id A509F8FC41
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 18 Jul 2009 06:57:02 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n6I6v2Tc096325
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 18 Jul 2009 06:57:02 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n6I6v2O0096324;
	Sat, 18 Jul 2009 06:57:02 GMT
	(envelope-from nobody)
Message-Id: <200907180657.n6I6v2O0096324@www.freebsd.org>
Date: Sat, 18 Jul 2009 06:57:02 GMT
From: Wasil Sergejczyk <szelga.wws@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: kdenlive (multimedia/kdenlive port) project rendering crashes
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: villa.alberto@gmail.com

>Number:         136882
>Category:       ports
>Synopsis:       kdenlive (multimedia/kdenlive port) project rendering crashes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 18 07:00:07 UTC 2009
>Closed-Date:    Thu Sep 03 08:50:05 UTC 2009
>Last-Modified:  Thu Sep  3 09:00:18 UTC 2009
>Originator:     Wasil Sergejczyk
>Release:        7.2
>Organization:
>Environment:
FreeBSD hostname 7.2-STABLE FreeBSD 7.2-STABLE #15: Sat Jul  4 14:53:13 YEKST 2009     root@hostname:/usr/obj/usr/src/sys/MYKERNEL  i386
>Description:
when trying to render the project from GUI, script execution crashes. it happens when $PATH is not containing kde4 bin directory ( /usr/local/kde4/bin ), so the script cannot find kdenlive_render.
>How-To-Repeat:
try to render some kdenlive project in GUI without having ${KDE4_PREFIX}/bin in $PATH environment variable.
>Fix:
make kdenlive generate scripts with
RENDERER="${KDE4_PREFIX}/bin/kdenlive_render"
i.e. RENDERER="/usr/local/kde4/bin/kdenlive_render" (for standard ${KDE4_PREFIX})
instead of
RENDERER="kdenlive_render"

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sat Jul 18 07:02:05 UTC 2009 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=136882 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: villa.alberto@gmail.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/136882: kdenlive (multimedia/kdenlive port) project rendering crashes
Date: Sat, 18 Jul 2009 07:02:04 UT

 Maintainer of multimedia/kdenlive,
 
 Please note that PR ports/136882 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/136882
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Alberto Villa <villa.alberto@gmail.com>
To: bug-followup@freebsd.org,
 szelga.wws@gmail.com
Cc:  
Subject: Re: ports/136882: kdenlive (multimedia/kdenlive port) project rendering crashes
Date: Fri, 31 Jul 2009 14:41:00 +0200

 sorry for being so late
 kdenlive already sets the absolute path of the renderer when possible:
 
 QString renderer = QCoreApplication::applicationDirPath() + 
 QString("/kdenlive_render");
 if (!QFile::exists(renderer)) renderer = "kdenlive_render";
 
 but there's a problem with linux (and freebsd i think). do you have /proc 
 mounted?
 also, can you confirm you have kdenlive and kdenlive_render in the same 
 directory? i guess so
 -- 
 Alberto Villa <villa.alberto@gmail.com>
 
 A mind is a wonderful thing to waste.

From: Wasil Sergejczyk <szelga.wws@gmail.com>
To: Alberto Villa <villa.alberto@gmail.com>
Cc: bug-followup@freebsd.org
Subject: Re: ports/136882: kdenlive (multimedia/kdenlive port) project 
	rendering crashes
Date: Mon, 3 Aug 2009 14:43:01 +0600

 1. no, /proc is not mounted, usually it's not necessary, so I disabled
 this. I'll try to run kdenlive with /proc soon.
 2. kdenlive and kdenlive_render are in the same directory (
 /usr/local/kde4/bin/ )
 
 2009/7/31, Alberto Villa <villa.alberto@gmail.com>:
 > sorry for being so late
 > kdenlive already sets the absolute path of the renderer when possible:
 >
 > QString renderer = QCoreApplication::applicationDirPath() +
 > QString("/kdenlive_render");
 > if (!QFile::exists(renderer)) renderer = "kdenlive_render";
 >
 > but there's a problem with linux (and freebsd i think). do you have /proc
 > mounted?
 > also, can you confirm you have kdenlive and kdenlive_render in the same
 > directory? i guess so
 > --
 > Alberto Villa <villa.alberto@gmail.com>
 >
 > A mind is a wonderful thing to waste.
 >
 
 
 -- 
 Best regards.

From: Alberto Villa <villa.alberto@gmail.com>
To: Wasil Sergejczyk <szelga.wws@gmail.com>
Cc: bug-followup@freebsd.org
Subject: Re: ports/136882: kdenlive (multimedia/kdenlive port) project rendering crashes
Date: Mon, 3 Aug 2009 11:53:21 +0200

 --Boundary-00=_SOrdKm87MbRaoSi
 Content-Type: text/plain;
   charset="us-ascii"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 here's the patch you suggested. i don't like it, but it should be enough until 
 we fix this upstream
 
 On Monday 03 August 2009 10:43:01 Wasil Sergejczyk wrote:
 > 1. no, /proc is not mounted, usually it's not necessary, so I disabled
 > this. I'll try to run kdenlive with /proc soon.
 
 i can make it work even with /proc unmounted... strange!
 -- 
 Alberto Villa <villa.alberto@gmail.com>
 
 Wiker's Law:
 	Government expands to absorb all
 	available revenue and then some.
 
 --Boundary-00=_SOrdKm87MbRaoSi
 Content-Type: text/plain;
   charset="UTF-8";
   name="kdenlive-0.7.5_1.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename="kdenlive-0.7.5_1.txt"
 
 diff -ruN kdenlive/Makefile /usr/ports/multimedia/kdenlive/Makefile
 --- kdenlive/Makefile	2009-08-03 11:06:02.207981591 +0200
 +++ /usr/ports/multimedia/kdenlive/Makefile	2009-08-03 11:41:33.259278591 +0200
 @@ -6,6 +6,7 @@
  
  PORTNAME=	kdenlive
  PORTVERSION=	0.7.5
 +PORTREVISION=	1
  CATEGORIES=	multimedia kde
  MASTER_SITES=	SFE
  
 @@ -51,11 +52,15 @@
  .endif
  
  post-patch:
 +	# do not install the icon and the menu entry
  	${REINPLACE_CMD} -E -e '/${PORTNAME}.(menu|xpm)/d' \
  		${PATCH_WRKSRC}/data/CMakeLists.txt
  	# prevent updating mime during build
  	${REINPLACE_CMD} -e '/^update_xdg_mimetypes/d; /SharedMimeInfo/d' \
  		${PATCH_WRKSRC}/src/mimetypes/CMakeLists.txt
 +	# avoid a crash when kdenlive_render is not in $PATH
 +	${REINPLACE_CMD} -e 's|QCoreApplication::applicationDirPath()|QStrin    g("${PREFIX}/bin")|g' \
 +		${PATCH_WRKSRC}/src/renderwidget.cpp
  
  post-install:
  	@-update-mime-database ${PREFIX}/share/mime
 
 --Boundary-00=_SOrdKm87MbRaoSi--

From: Alberto Villa <villa.alberto@gmail.com>
To: Wasil Sergejczyk <szelga.wws@gmail.com>
Cc: bug-followup@freebsd.org
Subject: Re: ports/136882: kdenlive (multimedia/kdenlive port) project rendering crashes
Date: Tue, 18 Aug 2009 17:13:21 +0200

 On Monday 03 August 2009 11:53:21 Alberto Villa wrote:
 > here's the patch you suggested. i don't like it, but it should be enough
 > until we fix this upstream
 
 sorry, perhaps that wasn't clear enough: please, commit the patch in my latest 
 mail
 -- 
 Alberto Villa <villa.alberto@gmail.com>
 
 KNOWLEDGE:
 	Things you believe.
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Tue Aug 18 15:21:52 UTC 2009 
State-Changed-Why:  
Maintainer approved. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=136882 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Thu Sep 3 08:50:04 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=136882 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/136882: commit references a PR
Date: Thu,  3 Sep 2009 08:50:10 +0000 (UTC)

 miwi        2009-09-03 08:49:49 UTC
 
   FreeBSD ports repository
 
   Modified files:
     multimedia/kdenlive  Makefile 
   Log:
   - Fix a script executions crash.
   
   PR:             136882
   Reported by:    Wasil Sergejczyk <szelga.wws@gmail.com>
   Submitted by:   Alberto Villa <villa.alberto@gmail.com> (maintainer)
   
   Revision  Changes    Path
   1.9       +5 -0      ports/multimedia/kdenlive/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
