ports/74422: Update port: cad/oregano 0.40.0

KATO Tsuguru tkato432 at yahoo.com
Fri Nov 26 16:10:37 UTC 2004


>Number:         74422
>Category:       ports
>Synopsis:       Update port: cad/oregano 0.40.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:   Fri Nov 26 16:10:35 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.10-RELEASE-p4 i386
>Organization:
>Environment:
>Description:
- Update to version 0.40.0

New file:
files/patch-Makefile.in
files/patch-src::node-store.c
files/patch-src::schematic-view.c
files/patch-src::simulate.c

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/cad/oregano/Makefile cad/oregano/Makefile
--- /usr/ports/cad/oregano/Makefile	Mon Mar 29 13:29:06 2004
+++ cad/oregano/Makefile	Fri Nov 26 19:12:52 2004
@@ -6,19 +6,28 @@
 #
 
 PORTNAME=	oregano
-PORTVERSION=	0.23
-PORTREVISION=	1
+PORTVERSION=	0.40.0
 CATEGORIES=	cad
-MASTER_SITES=	http://people.imendio.com/richard/oregano/download/
+MASTER_SITES=	http://gforge.lug.fi.uba.ar/frs/download.php/47/
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Schematic capture and simulation of electrical circuits
 
+LIB_DEPENDS=	cairo.1:${PORTSDIR}/graphics/cairo
+
+USE_BZIP2=	yes
 USE_X_PREFIX=	yes
-USE_GNOME=	gnomehack gnomeprefix gnomeprint libglade
+USE_GNOME=	gnomehack gnomeprefix gtksourceview intlhack libglade2 \
+		libgnomeprintui
 USE_GMAKE=	yes
-USE_LIBTOOL_VER=	13
+USE_LIBTOOL_VER=	15
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
+MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \
+		AUTOMAKE="${TRUE}"
+INSTALLS_OMF=	yes
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|src/main\.c|${PORTNAME}|g' ${WRKSRC}/configure
 
 .include <bsd.port.mk>
diff -urN /usr/ports/cad/oregano/distinfo cad/oregano/distinfo
--- /usr/ports/cad/oregano/distinfo	Fri Mar 19 11:40:36 2004
+++ cad/oregano/distinfo	Fri Nov 26 17:39:28 2004
@@ -1,2 +1,2 @@
-MD5 (oregano-0.23.tar.gz) = 226b84622dd1b877ee87228ba74d68d1
-SIZE (oregano-0.23.tar.gz) = 602017
+MD5 (oregano-0.40.0.tar.bz2) = 6c82193ab796d49adbef79aec0b99015
+SIZE (oregano-0.40.0.tar.bz2) = 894616
diff -urN /usr/ports/cad/oregano/files/patch-Makefile.in cad/oregano/files/patch-Makefile.in
--- /usr/ports/cad/oregano/files/patch-Makefile.in	Thu Jan  1 09:00:00 1970
+++ cad/oregano/files/patch-Makefile.in	Fri Nov 26 18:58:46 2004
@@ -0,0 +1,20 @@
+--- Makefile.in.orig	Fri Nov 26 13:09:27 2004
++++ Makefile.in	Fri Nov 26 18:58:35 2004
+@@ -130,7 +130,7 @@
+ 
+ MIMEFILES = oregano.xml.in
+ 
+-mimedir = $(datadir)/mime/packages
++mimedir = $(prefix)/share/mime/packages
+ mime_DATA = oregano.xml
+ 
+ CLEANFILES = $(mime_DATA)
+@@ -527,7 +527,7 @@
+ @INTLTOOL_XML_RULE@
+ 
+ install-data-hook: 
+- at UPDATE_MIME_TRUE@	update-mime-database $(datadir)/mime
++ at UPDATE_MIME_TRUE@	update-mime-database $(prefix)/share/mime
+ @UPDATE_MIME_FALSE@	@true
+ 
+ oregano.keys: oregano.keys.in Makefile
diff -urN /usr/ports/cad/oregano/files/patch-src::node-store.c cad/oregano/files/patch-src::node-store.c
--- /usr/ports/cad/oregano/files/patch-src::node-store.c	Thu Jan  1 09:00:00 1970
+++ cad/oregano/files/patch-src::node-store.c	Fri Nov 26 18:06:02 2004
@@ -0,0 +1,25 @@
+--- src/node-store.c.orig	Tue Oct 12 04:04:27 2004
++++ src/node-store.c	Fri Nov 26 18:05:48 2004
+@@ -431,9 +431,10 @@
+ 
+ 		if (IS_EQ (x1, x2) && ((ipoint->pos.y == y1) || (ipoint->pos.y == y2))) {
+ 			SheetPos w_pos, w_length;
+-			wire_get_pos_and_length (ipoint->wire, &w_pos, &w_length);
+ 			gdouble _x1, _x2, _y1, _y2;
+ 
++			wire_get_pos_and_length (ipoint->wire, &w_pos, &w_length);
++
+ 			_x1 = w_pos.x;
+ 			_y1 = w_pos.y;
+ 			_x2 = x1 + w_length.x;
+@@ -457,8 +458,9 @@
+ 			}
+ 		} else if (IS_EQ (y1, y2) && ((ipoint->pos.x == x1) || (ipoint->pos.x == x2))) {
+ 			SheetPos w_pos, w_length;
+-			wire_get_pos_and_length (ipoint->wire, &w_pos, &w_length);
+ 			gdouble _x1, _x2, _y1, _y2;
++
++			wire_get_pos_and_length (ipoint->wire, &w_pos, &w_length);
+ 
+ 			_x1 = w_pos.x;
+ 			_y1 = w_pos.y;
diff -urN /usr/ports/cad/oregano/files/patch-src::schematic-view.c cad/oregano/files/patch-src::schematic-view.c
--- /usr/ports/cad/oregano/files/patch-src::schematic-view.c	Thu Jan  1 09:00:00 1970
+++ cad/oregano/files/patch-src::schematic-view.c	Fri Nov 26 18:08:54 2004
@@ -0,0 +1,19 @@
+--- src/schematic-view.c.orig	Fri Nov 12 10:09:14 2004
++++ src/schematic-view.c	Fri Nov 26 18:08:32 2004
+@@ -1840,6 +1840,7 @@
+ 				int i=0;
+ 				while (files[i]) {
+ 					Schematic *new_sm = NULL;
++					gchar *fname = files[i];
+ 					int l = strlen(files[i]);
+ 					/* Algo queda mal al final luego del split, agrego un \0 */
+ 					files[i][l-1] = '\0';
+@@ -1849,8 +1850,6 @@
+ 						i++;
+ 						continue;
+ 					}
+-
+-					gchar *fname = files[i];
+ 
+ 					new_sm = schematic_read (fname);
+ 					if (new_sm) {
diff -urN /usr/ports/cad/oregano/files/patch-src::simulate.c cad/oregano/files/patch-src::simulate.c
--- /usr/ports/cad/oregano/files/patch-src::simulate.c	Thu Jan  1 09:00:00 1970
+++ cad/oregano/files/patch-src::simulate.c	Fri Nov 26 18:10:48 2004
@@ -0,0 +1,14 @@
+--- src/simulate.c.orig	Tue Nov 23 04:20:05 2004
++++ src/simulate.c	Fri Nov 26 18:10:37 2004
+@@ -200,10 +200,10 @@
+ 	GList *parts;
+ 	GList *p;
+ 	gchar *prop, *type, *ac;
+-	parts = node_store_get_parts (store);
+ 	GString *out;
+ 	gchar *ret;
+ 
++	parts = node_store_get_parts (store);
+ 	out = g_string_new ("");
+ 
+ 	for(p=parts; p; p = p->next) {
diff -urN /usr/ports/cad/oregano/pkg-descr cad/oregano/pkg-descr
--- /usr/ports/cad/oregano/pkg-descr	Mon Mar 29 13:29:06 2004
+++ cad/oregano/pkg-descr	Fri Nov 26 17:32:13 2004
@@ -2,4 +2,4 @@
 circuits.  It simplifies design of simple circuits by letting the user
 draw the circuit and then simulate its electrical characteristics.
 
-WWW: http://people.imendio.com/richard/oregano/
+WWW: http://arrakis.gforge.lug.fi.uba.ar/
diff -urN /usr/ports/cad/oregano/pkg-plist cad/oregano/pkg-plist
--- /usr/ports/cad/oregano/pkg-plist	Mon Mar 29 13:29:07 2004
+++ cad/oregano/pkg-plist	Fri Nov 26 19:10:36 2004
@@ -1,21 +1,29 @@
 bin/oregano
 bin/pspice2oregano
 share/gnome/apps/Applications/oregano.desktop
-share/gnome/help/oregano/C/editing.html
-share/gnome/help/oregano/C/oregano.html
-share/gnome/help/oregano/C/simulation.html
-share/gnome/help/oregano/C/topic.dat
+share/gnome/help/oregano/C/legal.xml
+share/gnome/help/oregano/C/oregano.xml
+share/gnome/help/oregano/es/legal.xml
+share/gnome/help/oregano/es/oregano.xml
 share/gnome/mime-info/oregano.keys
 share/gnome/mime-info/oregano.mime
-share/gnome/oregano/glade/log-window.glade
-share/gnome/oregano/glade/part-browser.glade
-share/gnome/oregano/glade/part-properties-dialog.glade
-share/gnome/oregano/glade/plot-window.glade
-share/gnome/oregano/glade/settings.glade
-share/gnome/oregano/glade/sim-settings.glade
-share/gnome/oregano/glade/simulation.glade
-share/gnome/oregano/glade/summary.glade
-share/gnome/oregano/glade/textbox-properties-dialog.glade
+share/gnome/omf/oregano/oregano-C.omf
+share/gnome/omf/oregano/oregano-es.omf
+share/gnome/oregano/glade/clamp-properties-dialog.glade2
+share/gnome/oregano/glade/log-window.glade2
+share/gnome/oregano/glade/page-properties.glade2
+share/gnome/oregano/glade/part-browser.glade2
+share/gnome/oregano/glade/part-properties-dialog.glade2
+share/gnome/oregano/glade/plot-export.glade2
+share/gnome/oregano/glade/plot-window.glade2
+share/gnome/oregano/glade/properties.glade2
+share/gnome/oregano/glade/settings.glade2
+share/gnome/oregano/glade/sim-settings.glade2
+share/gnome/oregano/glade/simulation.glade2
+share/gnome/oregano/glade/splash.glade2
+share/gnome/oregano/glade/splash.xpm
+share/gnome/oregano/glade/textbox-properties-dialog.glade2
+share/gnome/oregano/glade/view-netlist.glade2
 share/gnome/oregano/libraries/cmos.oreglib
 share/gnome/oregano/libraries/cpu.oreglib
 share/gnome/oregano/libraries/default.oreglib
@@ -40,7 +48,7 @@
 share/gnome/oregano/samples/opamp.oregano
 share/gnome/oregano/samples/transistors.oregano
 share/gnome/oregano/samples/zener.oregano
-share/gnome/pixmaps/gnome-oregano.png
+share/gnome/pixmaps/gnome-oregano.svg
 share/locale/ca/LC_MESSAGES/oregano.mo
 share/locale/de/LC_MESSAGES/oregano.mo
 share/locale/es/LC_MESSAGES/oregano.mo
@@ -51,10 +59,15 @@
 share/locale/ro/LC_MESSAGES/oregano.mo
 share/locale/ru/LC_MESSAGES/oregano.mo
 share/locale/sv/LC_MESSAGES/oregano.mo
+share/mime/packages/oregano.xml
 @dirrm share/gnome/oregano/samples
 @dirrm share/gnome/oregano/models
 @dirrm share/gnome/oregano/libraries
 @dirrm share/gnome/oregano/glade
 @dirrm share/gnome/oregano
+ at dirrm share/gnome/omf/oregano
+ at dirrm share/gnome/help/oregano/es
 @dirrm share/gnome/help/oregano/C
 @dirrm share/gnome/help/oregano
+ at exec update-mime-database %D/share/mime
+ at unexec update-mime-database %D/share/mime
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list