Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jan 2004 23:00:22 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/62159: Update port: graphics/osgedit to 0.5.0
Message-ID:  <20040131230022.4b86f057.tkato@prontomail.com>
Resent-Message-ID: <200401311410.i0VEANJ4046785@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         62159
>Category:       ports
>Synopsis:       Update port: graphics/osgedit to 0.5.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 31 06:10:23 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.9-RELEASE-p1 i386
>Organization:
>Environment:
>Description:
- Update to version 0.5.0

New file:
files/patch-src::editable::entities::edgeode.cc

Remove file:
files/patch-Makefile.in
files/patch-po::Makefile.in.in

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/osgedit/Makefile graphics/osgedit/Makefile
--- /usr/ports/graphics/osgedit/Makefile	Sat Jan 24 13:47:00 2004
+++ graphics/osgedit/Makefile	Sat Jan 31 13:51:55 2004
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	osgedit
-PORTVERSION=	0.4.1
+PORTVERSION=	0.5.0
 CATEGORIES=	graphics
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -16,16 +16,23 @@
 COMMENT=	An open editor for an open scenegraph
 
 BUILD_DEPENDS=	${X11BASE}/lib/libosg.so:${PORTSDIR}/graphics/osg
-LIB_DEPENDS=	gtkgl-2.0.1:${PORTSDIR}/x11-toolkits/gtkglarea2 \
-		intl.5:${PORTSDIR}/devel/gettext-old \
-		iconv.3:${PORTSDIR}/converters/libiconv
+LIB_DEPENDS=	gtkglext-x11-1.0.2:${PORTSDIR}/x11-toolkits/gtkglext
 RUN_DEPENDS=	${X11BASE}/lib/libosg.so:${PORTSDIR}/graphics/osg
 
 USE_X_PREFIX=	yes
-USE_GNOME=	libgnomeui
+USE_GNOME=	gnomehack gnomeprefix gnometarget libgnomeui
+USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
-USE_GMAKE=	yes
+CONFIGURE_ARGS=	--enable-gtkglext
+
+CFLAGS+=	-O0
+
+post-patch:
+.for file in src/gui/interface.cc
+	@cd ${WRKSRC} && ${MV} ${file} ${file}.pre_conv \
+		&& ${TR} -d '\015' < ${file}.pre_conv > ${file} || ${TRUE}
+.endfor
 
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/osgedit/distinfo graphics/osgedit/distinfo
--- /usr/ports/graphics/osgedit/distinfo	Thu Jan 29 20:26:43 2004
+++ graphics/osgedit/distinfo	Sat Jan 31 13:58:50 2004
@@ -1,2 +1,2 @@
-MD5 (osgedit-0.4.1.tar.gz) = aa9fce7244beb5d3652aa5c4d0ff9544
-SIZE (osgedit-0.4.1.tar.gz) = 311740
+MD5 (osgedit-0.5.0.tar.gz) = 3d1cd2c850a2ca1d1dd56aa40d639165
+SIZE (osgedit-0.5.0.tar.gz) = 394484
diff -urN /usr/ports/graphics/osgedit/files/patch-Makefile.in graphics/osgedit/files/patch-Makefile.in
--- /usr/ports/graphics/osgedit/files/patch-Makefile.in	Mon Sep  8 21:06:48 2003
+++ graphics/osgedit/files/patch-Makefile.in	Thu Jan  1 09:00:00 1970
@@ -1,28 +0,0 @@
---- Makefile.in.orig	Wed Jul 16 02:27:40 2003
-+++ Makefile.in	Sun Sep  7 03:04:13 2003
-@@ -88,10 +88,10 @@
- 
- 
- icon_DATA = osgedit.png
--icondir = $(DESTDIR)$(datadir)/pixmaps
-+icondir = $(DESTDIR)$(datadir)/gnome/pixmaps
- 
- util_DATA = osgedit.desktop
--utildir = $(DESTDIR)$(datadir)/applications
-+utildir = $(DESTDIR)$(datadir)/gnome/applications
- ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
- CONFIG_HEADER = config.h
-@@ -425,10 +425,10 @@
- install-data-local:
- 	@$(NORMAL_INSTALL)
- 	if test -d $(srcdir)/pixmaps; then \
--	  $(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \
-+	  $(mkinstalldirs) $(DESTDIR)$(datadir)/gnome/pixmaps/$(PACKAGE); \
- 	  for pixmap in $(srcdir)/pixmaps/*; do \
- 	    if test -f $$pixmap; then \
--	      $(INSTALL_DATA) $$pixmap $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \
-+	      $(INSTALL_DATA) $$pixmap $(DESTDIR)$(datadir)/gnome/pixmaps/$(PACKAGE); \
- 	    fi \
- 	  done \
- 	fi
diff -urN /usr/ports/graphics/osgedit/files/patch-po::Makefile.in.in graphics/osgedit/files/patch-po::Makefile.in.in
--- /usr/ports/graphics/osgedit/files/patch-po::Makefile.in.in	Mon Sep  8 18:55:03 2003
+++ graphics/osgedit/files/patch-po::Makefile.in.in	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- po/Makefile.in.in.orig	Sat Sep  6 17:12:03 2003
-+++ po/Makefile.in.in	Sat Sep  6 17:12:18 2003
-@@ -27,7 +27,7 @@
- exec_prefix = @exec_prefix@
- datadir = @datadir@
- libdir = @libdir@
--localedir = $(libdir)/locale
-+localedir = $(datadir)/locale
- gnulocaledir = $(datadir)/locale
- gettextsrcdir = $(datadir)/glib-2.0/gettext/po
- subdir = po
diff -urN /usr/ports/graphics/osgedit/files/patch-src::editable::entities::edgeode.cc graphics/osgedit/files/patch-src::editable::entities::edgeode.cc
--- /usr/ports/graphics/osgedit/files/patch-src::editable::entities::edgeode.cc	Thu Jan  1 09:00:00 1970
+++ graphics/osgedit/files/patch-src::editable::entities::edgeode.cc	Sat Jan 31 12:44:27 2004
@@ -0,0 +1,8 @@
+--- src/editable/entities/edgeode.cc.orig	Fri Oct 31 08:32:03 2003
++++ src/editable/entities/edgeode.cc	Sat Jan 31 12:44:22 2004
+@@ -1,3 +1,5 @@
++#include <stdio.h>
++
+ #include <editable/entityfactory.h>
+ #include "edgeometry.h"
+ #include "edgeode.h"
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040131230022.4b86f057.tkato>