1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

- Pass maintainership to submitter

- Update to 0.4.1

PR:		ports/100927
Submitted by:	Stanislav Sedov <ssedov(at)mbsd.msk.ru>
Approved by:	krion (mentor)
This commit is contained in:
Martin Wilke 2006-07-29 21:55:50 +00:00
parent 3e106f9085
commit 0c2d9e22a0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=169105
9 changed files with 128 additions and 39 deletions

View File

@ -7,35 +7,27 @@
# #
PORTNAME= lafontaine PORTNAME= lafontaine
PORTVERSION= 0.3R3 PORTVERSION= 0.4.1
PORTREVISION= 2
CATEGORIES= lang CATEGORIES= lang
MASTER_SITES= http://www.nongnu.org/lafontaine/archives/ MASTER_SITES= http://www.nongnu.org/lafontaine/archives/
DISTNAME= ${PORTNAME}-${PORTVERSION}-20020715 DISTNAME= ${PORTNAME}_0.4-1
MAINTAINER= ports@FreeBSD.org MAINTAINER= ssedov@mbsd.msk.ru
COMMENT= Graphical logo interpreter COMMENT= Graphical logo interpreter
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} WRKSRC= ${WRKDIR}/${PORTNAME}-0.4
USE_BZIP2= yes USE_X_PREFIX= yes
USE_GNOME= gdkpixbuf gnometarget USE_GNOME= gnomehack gnometarget gtk20
USE_GMAKE= yes USE_GMAKE= yes
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
post-patch: .if !defined(WITHOUT_NLS)
@${REINPLACE_CMD} -e 's|pixmaps/$$PACKAGE|$$PACKAGE|g ; \ USE_GETTEXT= yes
s|-O3|$$CFLAGS|g' ${WRKSRC}/configure PLIST_SUB+= NLS=""
@${REINPLACE_CMD} -e \ .else
's|"\./pixmaps/|PIXMAPDIR "/|g' ${WRKSRC}/src/callbacks.c CONFIGURE_ARGS= --disable-nls
@${REINPLACE_CMD} -e \ PLIST_SUB+= NLS="@comment "
's|exit()|exit(0)|g' ${WRKSRC}/src/proc.c .endif
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|/share/pixmaps|/share|g'
.for file in src/lexer.en.l src/lexer.fr.l
@${REINPLACE_CMD} -e 's|\.##|.|g' ${WRKSRC}/${file}
.endfor
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (lafontaine-0.3R3-20020715.tar.bz2) = 77e06e8b5acafa9cd210090afece8c00 MD5 (lafontaine_0.4-1.tar.gz) = 6d47af1cf65c183487cd0ad2c803dd48
SHA256 (lafontaine-0.3R3-20020715.tar.bz2) = fe65fd4e69939a0c232679ef777838d4fad3f342475bc1a422dc1cfd393b36d7 SHA256 (lafontaine_0.4-1.tar.gz) = 9741e9fefc2b36fe858085d58684293d15a3bc379085acffc4cd479908d82d1e
SIZE (lafontaine-0.3R3-20020715.tar.bz2) = 233738 SIZE (lafontaine_0.4-1.tar.gz) = 510463

View File

@ -0,0 +1,12 @@
--- configure.orig Thu Jul 27 22:51:55 2006
+++ configure Thu Jul 27 22:52:37 2006
@@ -5630,9 +5630,6 @@
done
test -n "$YACC" || YACC="yacc"
-# default CC options
-CFLAGS="-O3"
-
# debugging option
# Check whether --enable-debug or --disable-debug was given.
if test "${enable_debug+set}" = set; then

View File

@ -0,0 +1,11 @@
--- src/lexer.en.l.bak Tue Jul 16 06:15:12 2002
+++ src/lexer.en.l Thu Jul 27 22:45:32 2006
@@ -70,7 +70,7 @@
#define IS_TOK_WITH_VAL(tok, type, val) \
{ \
lextxt = yylex; \
- yylval.##type = val; \
+ yylval.type = val; \
return(tok); \
}
#endif

View File

@ -0,0 +1,11 @@
--- src/lexer.fr.l.bak Tue Aug 6 15:07:50 2002
+++ src/lexer.fr.l Thu Jul 27 22:45:32 2006
@@ -73,7 +73,7 @@
#define IS_TOK_WITH_VAL(tok, type, val) \
{ \
lextxt = yylex; \
- yylval.##type = val; \
+ yylval.type = val; \
return(tok); \
}
#endif

View File

@ -0,0 +1,11 @@
--- src/main.c.orig Thu Jul 27 22:39:02 2006
+++ src/main.c Thu Jul 27 22:39:28 2006
@@ -41,6 +41,8 @@
guint _alloc_cnt, _free_cnt, _null_free_cnt;
#endif
+void turtle_init(struct s_turtle *);
+
/*gboolean test(gpointer nil)
{

View File

@ -0,0 +1,11 @@
--- src/proc.c.bak Sun May 19 02:11:05 2002
+++ src/proc.c Thu Jul 27 22:45:32 2006
@@ -92,7 +92,7 @@
/*g_critical*/
printf("procedure \"%s\" contexts list not empty !\n",
PROC(myproc)->name);
- exit();
+ exit(0);
//g_slist_foreach(PROC(myproc)->contexts, context_free_from_list, NULL);
//g_slist_free(PROC(myproc)->contexts);
}

View File

@ -0,0 +1,39 @@
--- src/rc.c.orig Thu Jul 27 22:40:17 2006
+++ src/rc.c Thu Jul 27 22:43:36 2006
@@ -39,6 +39,12 @@
#include "rc.h"
struct s_turtle my_turtle;
+void rc_parse_group(GScanner *scanner);
+void rc_parse_coresave(GScanner *scanner);
+void rc_parse_history(GScanner *scanner);
+void rc_parse_locales(GScanner *scanner);
+void rc_parse_alocale(GScanner *scanner);
+void rc_parse_keyval(GScanner *scanner, struct s_keyval *keyval);
static const GScannerConfig gtk_rc_scanner_config =
@@ -152,6 +158,7 @@
rc_parse_coresave(scanner);
break;
default:
+ break;
}
}
@@ -176,6 +183,7 @@
printf("coredump file: %s\n", keyval.value);
break;
default:
+ break;
}
}
@@ -203,6 +211,7 @@
printf("history file: %s\n", keyval.value);
break;
default:
+ break;
}
}

View File

@ -1,16 +1,18 @@
bin/lafontaine bin/lafontaine
share/lafontaine/animator.png %%DATADIR%%/gypsum.flower.2.fr.logo
share/lafontaine/animator.xcf %%DATADIR%%/gypsum.flower.fr.logo
share/lafontaine/execute.xpm %%DATADIR%%/spirelo.fr.logo
share/lafontaine/gypsum.flower.2.fr.logo %%DATADIR%%/stars.en.logo
share/lafontaine/gypsum.flower.fr.logo %%DATADIR%%/test1.logo
share/lafontaine/help.xpm %%NLS%%share/locale/fr/LC_MESSAGES/lafontaine.mo
share/lafontaine/open.xpm share/pixmaps/lafontaine/animator.png
share/lafontaine/quit.xpm share/pixmaps/lafontaine/animator.xcf
share/lafontaine/save.xpm share/pixmaps/lafontaine/execute.xpm
share/lafontaine/spirelo.fr.logo share/pixmaps/lafontaine/help.xpm
share/lafontaine/stars.en.logo share/pixmaps/lafontaine/open.xpm
share/lafontaine/test1.logo share/pixmaps/lafontaine/quit.xpm
share/lafontaine/turtle2.png share/pixmaps/lafontaine/save.xpm
share/lafontaine/turtle3.png share/pixmaps/lafontaine/turtle2.png
@dirrm share/lafontaine share/pixmaps/lafontaine/turtle3.png
@dirrm share/pixmaps/lafontaine
@dirrm %%DATADIR%%