From stas@310.ru  Sat Jun 24 18:22:07 2006
Return-Path: <stas@310.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id CC0ED16A49E
	for <bug-followup@freebsd.org>; Sat, 24 Jun 2006 18:22:07 +0000 (UTC)
	(envelope-from stas@310.ru)
Received: from com1.ht-systems.ru (com1.ht-systems.ru [83.97.104.204])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7E31E43D5D
	for <bug-followup@freebsd.org>; Sat, 24 Jun 2006 18:22:05 +0000 (GMT)
	(envelope-from stas@310.ru)
Received: from [213.87.86.55] (helo=fonon.realnet)
	by com1.ht-systems.ru with esmtpa (Exim 4.62)
	(envelope-from <stas@310.ru>)
	id 1FuCkE-00079R-VR; Sat, 24 Jun 2006 22:20:38 +0400
Received: from fonon.realnet (localhost [127.0.0.1])
	by fonon.realnet (8.13.6/8.13.6) with ESMTP id k5OILIu9062357;
	Sat, 24 Jun 2006 22:21:18 +0400 (MSD)
	(envelope-from stas@fonon.realnet)
Received: (from stas@localhost)
	by fonon.realnet (8.13.6/8.13.6/Submit) id k5OILGed062356;
	Sat, 24 Jun 2006 22:21:16 +0400 (MSD)
	(envelope-from stas)
Message-Id: <20060624222116.67f974b9.stas@310.ru>
Date: Sat, 24 Jun 2006 22:21:16 +0400
From: Stanislav Sedov <stas@310.ru>
To: Mathieu Arnold <mat@mat.cc>, bug-followup@freebsd.org
In-Reply-To: <94C7233FE49F763AA33459F8@[192.168.1.5]>
Subject: Re: About ruby-evas, ruby-ecore, etc PR's (ports/99313)
References: <145DC3DFD705ADDFF44453A7@andromede.in.absolight.net>
	<20060623173320.8daec118.stas@310.ru>
	<EE958E6872B3E949F487E321@andromede.in.absolight.net>
	<20060623182500.6ca74e95.stas@310.ru>
	<94C7233FE49F763AA33459F8@[192.168.1.5]>

>Number:         99430
>Category:       ports
>Synopsis:       fix graphics/ruby-edje
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    mat
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 24 18:30:20 GMT 2006
>Closed-Date:    Sat Jun 24 20:30:25 GMT 2006
>Last-Modified:  Sat Jun 24 20:30:25 GMT 2006
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 This is a multi-part message in MIME format.
 
 --Multipart=_Sat__24_Jun_2006_22_21_16_+0400_+kS8IPnspH/zuxLV
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 
 On Sat, 24 Jun 2006 19:15:24 +0200
 Mathieu Arnold <mat@mat.cc> wrote:
 
 > +-Le 23/06/2006 18:25 +0400, Stanislav Sedov a dit :
 > | On Fri, 23 Jun 2006 16:22:50 +0200
 > | Mathieu Arnold <mat@mat.cc> wrote:
 > | 
 > |> 
 > |> Hum, in fact, rerolling the distfiles is necessary, not just renaming,
 > |> for instance, ruby-evas-20060516.tar.bz2 extracts into
 > |> ruby-evas-16052006.
 > |> 
 > | 
 > | No, I've fixed that. Refetch it, please.
 > 
 > About ruby-edje :
 > <http://aragorn.in.absolight.net/tb/errors/6.1-Mat/ruby18-edje-20060516.log>
 > 
 > edje is installed in LOCALBASE, and evas in X11BASE, it's missing some
 > include path.
 > 
 
 I'm sorry, but my scripting engine substituted wrong. There is a patch fixing this.
 It should work for now.
 
 --Multipart=_Sat__24_Jun_2006_22_21_16_+0400_+kS8IPnspH/zuxLV
 Content-Type: text/plain;
  name="ruby-edje.diff"
 Content-Disposition: attachment;
  filename="ruby-edje.diff"
 Content-Transfer-Encoding: 7bit
 
 diff -ruN ruby-edje.orig/Makefile ruby-edje/Makefile
 --- ruby-edje.orig/Makefile	Sat Jun 24 22:16:39 2006
 +++ ruby-edje/Makefile	Sat Jun 24 22:13:14 2006
 @@ -6,7 +6,7 @@
  #
  
  PORTNAME=	edje
 -PORTVERSION=	16052006
 +PORTVERSION=	20060516
  CATEGORIES=	graphics ruby
  MASTER_SITES=	http://mbsd.msk.ru/dist/
  PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
 @@ -24,12 +24,15 @@
  
  .include <bsd.port.pre.mk>
  
 +post-patch:
 +	${REINPLACE_CMD} "s#%%X11BASE%%#${X11BASE}#g" ${WRKSRC}/Rakefile
 +
  do-build:
 -	@(cd ${WRKSRC}; ${SETENV} EDJX11BASEREFIX=${X11BASE} \
 +	@(cd ${WRKSRC}; ${SETENV} EDJE_PREFIX=${LOCALBASE} \
  		${LOCALBASE}/bin/rake)
  
  do-install:
 -	@(cd ${WRKSRC}; ${SETENV} EDJX11BASEREFIX=${X11BASE} \
 +	@(cd ${WRKSRC}; ${SETENV} EDJE_PREFIX=${LOCALBASE} \
  		${LOCALBASE}/bin/rake install)
  
  .include <bsd.port.post.mk>
 diff -ruN ruby-edje.orig/files/patch-Rakefile ruby-edje/files/patch-Rakefile
 --- ruby-edje.orig/files/patch-Rakefile	Thu Jan  1 03:00:00 1970
 +++ ruby-edje/files/patch-Rakefile	Sat Jun 24 22:15:04 2006
 @@ -0,0 +1,18 @@
 +--- Rakefile.orig	Tue May 16 11:23:21 2006
 ++++ Rakefile	Sat Jun 24 22:14:48 2006
 +@@ -16,13 +16,13 @@
 + task :default => [ext_lib.so]
 + 
 + file ext_lib.so => ext_lib.objects do |t|
 +-	sh "cc #{ext_lib.ldflags} -shared -Wl " +
 ++	sh "cc #{ext_lib.ldflags} -L%%X11BASE%%/lib -shared -Wl " +
 + 	    " #{t.prerequisites.join(" ")} -o #{t.name}"
 + end
 + 
 + ext_lib.objects.each do |object|
 + 	file object => object.sub(/\.[^.]+$/, ".c") do |t|
 +-		sh "cc #{ext_lib.cflags} #{t.prerequisites.first} " +
 ++		sh "cc #{ext_lib.cflags} -I%%X11BASE%%/include #{t.prerequisites.first} " +
 + 		   "-c -o #{t.name}"
 + 	end
 + end
 
 --Multipart=_Sat__24_Jun_2006_22_21_16_+0400_+kS8IPnspH/zuxLV--
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Jun 24 18:45:29 UTC 2006 
Responsible-Changed-Why:  
Followups to PRs have to have a Subject line that starts with "Re: ports/XXX: " 
(AFAICT including the spaces) to be tracked properly by GNATS. 

However, in this case, the original PR had already been closed, so I am 
fixing this up to be a new PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99430 
Responsible-Changed-From-To: freebsd-ports-bugs->mat 
Responsible-Changed-By: itetcu 
Responsible-Changed-When: Sat Jun 24 19:02:25 UTC 2006 
Responsible-Changed-Why:  
Assign to mat@, he just commited the port. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99430 
State-Changed-From-To: open->closed 
State-Changed-By: mat 
State-Changed-When: Sat Jun 24 20:30:18 UTC 2006 
State-Changed-Why:  
That's what I committed 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99430 
>Unformatted:
