View | Details | Raw Unified | Return to bug 75619
Collapse All | Expand All

(-)deskutils/genius/Makefile (-9 / +10 lines)
Lines 6-15 Link Here
6
#
6
#
7
7
8
PORTNAME=	genius
8
PORTNAME=	genius
9
PORTVERSION=	0.7.1
9
PORTVERSION=	0.7.2
10
PORTREVISION=	1
11
CATEGORIES=	deskutils gnome
10
CATEGORIES=	deskutils gnome
12
MASTER_SITES=	http://ftp.5z.com/pub/genius/
11
MASTER_SITES=	${MASTER_SITE_GNOME} \
12
		http://ftp.5z.com/pub/genius/
13
MASTER_SITE_SUBDIR=	sources/${PORTNAME}/${PORTVERSION:R}
13
14
14
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	Arbitrary precision calculator for Gnome Desktop Environment
16
COMMENT=	Arbitrary precision calculator for Gnome Desktop Environment
Lines 18-37 Link Here
18
19
19
USE_PERL5_BUILD=	yes
20
USE_PERL5_BUILD=	yes
20
USE_X_PREFIX=	yes
21
USE_X_PREFIX=	yes
21
USE_GNOME=	gnomehack gnomeprefix gnometarget gtksourceview libgnomeui \
22
USE_GNOME=	gnomehack gnomeprefix gnometarget gtksourceview libgnomeui vte
22
		lthack vte
23
USE_GMAKE=	yes
23
USE_GMAKE=	yes
24
USE_LIBTOOL_VER=	15
24
USE_LIBTOOL_VER=	15
25
LIBTOOLFILES=	configure mpfr/configure
25
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
26
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
26
		LDFLAGS="-L${LOCALBASE}/lib"
27
		LDFLAGS="-L${LOCALBASE}/lib"
28
CONFIGURE_ARGS=	--disable-extra-gcc-optimization
29
INSTALLS_OMF=	yes
27
30
28
.include <bsd.port.pre.mk>
31
.include <bsd.port.pre.mk>
29
32
30
.if ${OSVERSION} < 500018
33
.if ${OSVERSION} < 500018
31
IGNORE=		"Requires readline 4.2 or newer"
34
BROKEN=		Does not compile on 4.x
35
LIB_DEPENDS+=	readline.5:${PORTSDIR}/devel/readline
32
.endif
36
.endif
33
34
post-patch:
35
	@${PERL} -pi -e 's|-O3 ||g' ${WRKSRC}/configure
36
37
37
.include <bsd.port.post.mk>
38
.include <bsd.port.post.mk>
(-)deskutils/genius/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (genius-0.7.1.tar.gz) = c0e4e906bee0c14aaebfc3ecd17ceef4
1
MD5 (genius-0.7.2.tar.gz) = f1300f11e982fa10b7d10f738dd0a649
2
SIZE (genius-0.7.1.tar.gz) = 1551309
2
SIZE (genius-0.7.2.tar.gz) = 2481534
(-)deskutils/genius/files/patch-src::Makefile.in (-4 / +22 lines)
Lines 1-6 Link Here
1
--- src/Makefile.in.bak	Fri Oct 17 02:22:23 2003
1
--- src/Makefile.in.orig	Fri Dec 24 04:47:06 2004
2
+++ src/Makefile.in	Fri Oct 17 12:11:07 2003
2
+++ src/Makefile.in	Sat Dec 25 00:18:14 2004
3
@@ -213,7 +213,7 @@
3
@@ -168,7 +168,7 @@
4
 YFLAGS =  -d -t
5
 @INTERNAL_MPFR_TRUE@MPFR_INCLUDEDIR = 	-I$(top_srcdir)/mpfr						-I$(top_builddir)/mpfr
6
 @INTERNAL_MPFR_FALSE@MPFR_INCLUDEDIR = 
7
-@INTERNAL_MPFR_TRUE@MPFR_LIBDIR = 	-L$(top_srcdir)/mpfr						-L$(top_builddir)/mpfr
8
+@INTERNAL_MPFR_TRUE@MPFR_LIBDIR = 	$(top_builddir)/mpfr/libmpfr.a
9
 @INTERNAL_MPFR_FALSE@MPFR_LIBDIR = 
10
 
11
 INCLUDES =          -DGNOMELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\"		-DG_LOG_DOMAIN=\"Genius\"					-DDATADIR=\""$(datadir)"\"					-DLIBEXECDIR=\""$(libexecdir)"\"				-DICONDIR=\""$(datadir)/pixmaps/genius"\"			-DLIBRARY_DIR=\""$(datadir)/genius/"\"				-I$(srcdir)							-I$(includedir)							-I$(top_srcdir)							-I$(top_srcdir)/vicious-extensions				-I$(top_srcdir)/gtkextra					-I$(top_builddir)						-I$(top_builddir)/vicious-extensions				-I$(top_builddir)/gtkextra					$(MPFR_INCLUDEDIR)						$(GMP_INCLUDEDIR)						$(GENIUS_CFLAGS)						$(EXTRA_WARNING_CFLAGS)
12
@@ -183,7 +183,7 @@
13
 gnome_genius_SOURCES =  	genius-i18n.h		calc.c			calc.h			eval.c			eval.h			gnome-genius.c		gnome-genius.h		util.c			util.h			dict.c			dict.h			funclib.c		funclib.h		mpwrap.c		mpwrap.h		mpzextra.c		mpzextra.h		matrix.c		matrix.h		matrixw.c		matrixw.h		matop.c			matop.h			compil.c		compil.h		structs.h		lexer.l			lexer.h			parseutil.h		parseutil.c		inter.c			inter.h			plugin.c		plugin.h		plugread.c		plugread.h		plug_api.h		parse.h			parse.y		 	genius_lists.c	 	utype.c			utype.h			extra.h			geloutput.c		geloutput.h		graphing.h		graphing.c
14
 
15
 
16
-gnome_genius_LDADD =  	-L$(top_builddir)/vicious-extensions		-lviciousui					-L$(top_builddir)/gtkextra			-lgtkextra-genius				-lm						@GMP_LIB@					$(MPFR_LIBDIR)					-lmpfr						@LEXLIB@					$(GENIUS_LIBS)					@READLINE_LIB@					@TERMCAP_LIB@
17
+gnome_genius_LDADD =  	-L$(top_builddir)/vicious-extensions		-lviciousui					-L$(top_builddir)/gtkextra			-lgtkextra-genius				-lm						@GMP_LIB@					$(MPFR_LIBDIR)					@LEXLIB@					$(GENIUS_LIBS)					@READLINE_LIB@					@TERMCAP_LIB@
18
 
19
 
20
 genius_readline_helper_fifo_SOURCES =   	genius_lists.c				genius-readline-helper.c
21
@@ -230,7 +230,7 @@
4
 
22
 
5
 DEFS = @DEFS@ -I. -I$(srcdir) -I..
23
 DEFS = @DEFS@ -I. -I$(srcdir) -I..
6
 LIBS = @LIBS@
24
 LIBS = @LIBS@
Lines 8-11 Link Here
8
+libtestplugin_la_LDFLAGS = -module -avoid-version
26
+libtestplugin_la_LDFLAGS = -module -avoid-version
9
 libtestplugin_la_LIBADD = 
27
 libtestplugin_la_LIBADD = 
10
 libtestplugin_la_OBJECTS =  testplugin.lo
28
 libtestplugin_la_OBJECTS =  testplugin.lo
11
 bin_PROGRAMS =  gnome-genius$(EXEEXT) genius$(EXEEXT)
29
 bin_PROGRAMS =  @GNOME_GENIUS@ genius$(EXEEXT)
(-)deskutils/genius/files/patch-src::mpwrap.c (+14 lines)
Line 0 Link Here
1
--- src/mpwrap.c.orig	Wed Nov 10 04:05:51 2004
2
+++ src/mpwrap.c	Fri Dec 24 17:25:26 2004
3
@@ -1933,8 +1933,9 @@
4
 			if G_UNLIKELY ( ! mpz_invert (r.data.ival,
5
 						      r.data.ival,
6
 						      mod->data.ival)) {
7
-				char *n1 = mpwl_getstring_for_error (&r);
8
-				char *n2 = mpwl_getstring_for_error (mod);
9
+				char *n1,*n2;
10
+				n1 = mpwl_getstring_for_error (&r);
11
+				n2 = mpwl_getstring_for_error (mod);
12
 				gel_errorout (_("Can't invert %s modulo %s "
13
 					       "in %s"),
14
 					      n1, n2, "powm");
(-)deskutils/genius/pkg-descr (-1 / +1 lines)
Lines 16-19 Link Here
16
 * complex numbers
16
 * complex numbers
17
 * more ...
17
 * more ...
18
18
19
WWW: http://www.5z.com/jirka/genius.html
19
WWW: http://www.jirka.org/genius.html
(-)deskutils/genius/pkg-plist (-1 / +52 lines)
Lines 27-32 Link Here
27
share/gnome/genius/gel/combinatorics/loader.gel
27
share/gnome/genius/gel/combinatorics/loader.gel
28
share/gnome/genius/gel/combinatorics/misc.gel
28
share/gnome/genius/gel/combinatorics/misc.gel
29
share/gnome/genius/gel/combinatorics/recursive_sequences.gel
29
share/gnome/genius/gel/combinatorics/recursive_sequences.gel
30
share/gnome/genius/gel/equation_solving/diffeqs.gel
30
share/gnome/genius/gel/equation_solving/find_root.gel
31
share/gnome/genius/gel/equation_solving/find_root.gel
31
share/gnome/genius/gel/equation_solving/loader.gel
32
share/gnome/genius/gel/equation_solving/loader.gel
32
share/gnome/genius/gel/functions/complex_numbers.gel
33
share/gnome/genius/gel/functions/complex_numbers.gel
Lines 56-66 Link Here
56
share/gnome/genius/gel/sets/loader.gel
57
share/gnome/genius/gel/sets/loader.gel
57
share/gnome/genius/gel/statistics/basic.gel
58
share/gnome/genius/gel/statistics/basic.gel
58
share/gnome/genius/gel/statistics/loader.gel
59
share/gnome/genius/gel/statistics/loader.gel
60
share/gnome/genius/genius.txt
59
share/gnome/genius/gtksourceview/genius.lang
61
share/gnome/genius/gtksourceview/genius.lang
60
share/gnome/genius/manual.txt
61
share/gnome/genius/plugins/test.plugin
62
share/gnome/genius/plugins/test.plugin
63
share/gnome/help/genius/C/about.xml
64
share/gnome/help/genius/C/examples.xml
65
share/gnome/help/genius/C/figures/genius_window.png
66
share/gnome/help/genius/C/gel-absolute-value-modulus.xml
67
share/gnome/help/genius/C/gel-comparison-operators.xml
68
share/gnome/help/genius/C/gel-conditionals.xml
69
share/gnome/help/genius/C/gel-error-handling.xml
70
share/gnome/help/genius/C/gel-function-list.xml
71
share/gnome/help/genius/C/gel-functions.xml
72
share/gnome/help/genius/C/gel-loading-programs.xml
73
share/gnome/help/genius/C/gel-loops.xml
74
share/gnome/help/genius/C/gel-lvalues.xml
75
share/gnome/help/genius/C/gel-matrix-support.xml
76
share/gnome/help/genius/C/gel-matrix-transpose.xml
77
share/gnome/help/genius/C/gel-modular-evaluation.xml
78
share/gnome/help/genius/C/gel-operator-list.xml
79
share/gnome/help/genius/C/gel-polynomials.xml
80
share/gnome/help/genius/C/gel-previous-result.xml
81
share/gnome/help/genius/C/gel-references.xml
82
share/gnome/help/genius/C/gel-returning.xml
83
share/gnome/help/genius/C/gel-separator.xml
84
share/gnome/help/genius/C/gel-startup-procedure.xml
85
share/gnome/help/genius/C/gel-sums-products.xml
86
share/gnome/help/genius/C/gel-values.xml
87
share/gnome/help/genius/C/gel-variables.xml
88
share/gnome/help/genius/C/genius.xml
89
share/gnome/help/genius/C/legal.xml
90
share/gnome/help/genius/C/prefs-display.xml
91
share/gnome/help/genius/C/prefs-precision.xml
92
share/gnome/help/genius/C/prefs-terminal.xml
93
share/gnome/help/genius/C/starting-to-start.xml
94
share/gnome/help/genius/C/starting-when-start.xml
95
share/gnome/help/genius/C/usage-create-program.xml
96
share/gnome/help/genius/C/usage-open-program.xml
97
share/gnome/help/genius/C/usage-workarea.xml
62
share/gnome/mime-info/genius.keys
98
share/gnome/mime-info/genius.keys
63
share/gnome/mime-info/genius.mime
99
share/gnome/mime-info/genius.mime
100
share/gnome/omf/genius/genius-C.omf
101
share/icons/hicolor/32x32/apps/gnome-genius.png
102
share/icons/hicolor/48x48/apps/gnome-genius.png
64
share/locale/az/LC_MESSAGES/genius.mo
103
share/locale/az/LC_MESSAGES/genius.mo
65
share/locale/ca/LC_MESSAGES/genius.mo
104
share/locale/ca/LC_MESSAGES/genius.mo
66
share/locale/cs/LC_MESSAGES/genius.mo
105
share/locale/cs/LC_MESSAGES/genius.mo
Lines 74-82 Link Here
74
share/locale/hi/LC_MESSAGES/genius.mo
113
share/locale/hi/LC_MESSAGES/genius.mo
75
share/locale/hr/LC_MESSAGES/genius.mo
114
share/locale/hr/LC_MESSAGES/genius.mo
76
share/locale/it/LC_MESSAGES/genius.mo
115
share/locale/it/LC_MESSAGES/genius.mo
116
share/locale/ja/LC_MESSAGES/genius.mo
77
share/locale/ko/LC_MESSAGES/genius.mo
117
share/locale/ko/LC_MESSAGES/genius.mo
78
share/locale/nl/LC_MESSAGES/genius.mo
118
share/locale/nl/LC_MESSAGES/genius.mo
79
share/locale/no/LC_MESSAGES/genius.mo
119
share/locale/no/LC_MESSAGES/genius.mo
120
share/locale/pa/LC_MESSAGES/genius.mo
80
share/locale/pl/LC_MESSAGES/genius.mo
121
share/locale/pl/LC_MESSAGES/genius.mo
81
share/locale/pt/LC_MESSAGES/genius.mo
122
share/locale/pt/LC_MESSAGES/genius.mo
82
share/locale/pt_BR/LC_MESSAGES/genius.mo
123
share/locale/pt_BR/LC_MESSAGES/genius.mo
Lines 85-90 Link Here
85
share/locale/sr@Latn/LC_MESSAGES/genius.mo
126
share/locale/sr@Latn/LC_MESSAGES/genius.mo
86
share/locale/sv/LC_MESSAGES/genius.mo
127
share/locale/sv/LC_MESSAGES/genius.mo
87
share/locale/zh_CN/LC_MESSAGES/genius.mo
128
share/locale/zh_CN/LC_MESSAGES/genius.mo
129
@dirrm share/gnome/omf/genius
130
@dirrm share/gnome/help/genius/C/figures
131
@dirrm share/gnome/help/genius/C
132
@dirrm share/gnome/help/genius
88
@dirrm share/gnome/genius/gtksourceview
133
@dirrm share/gnome/genius/gtksourceview
89
@dirrm share/gnome/genius/plugins
134
@dirrm share/gnome/genius/plugins
90
@dirrm share/gnome/genius/gel/statistics
135
@dirrm share/gnome/genius/gel/statistics
Lines 100-102 Link Here
100
@dirrm share/gnome/genius
145
@dirrm share/gnome/genius
101
@dirrm lib/genius
146
@dirrm lib/genius
102
@dirrm include/genius
147
@dirrm include/genius
148
@unexec rmdir %D/share/icons/hicolor/48x48/apps 2>/dev/null || true
149
@unexec rmdir %D/share/icons/hicolor/48x48 2>/dev/null || true
150
@unexec rmdir %D/share/icons/hicolor/32x32/apps 2>/dev/null || true
151
@unexec rmdir %D/share/icons/hicolor/32x32 2>/dev/null || true
152
@unexec rmdir %D/share/icons/hicolor 2>/dev/null || true
153
@unexec rmdir %D/share/icons 2>/dev/null || true

Return to bug 75619