Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 2008 16:42:51 GMT
From:      Ganael Laplanche <ganael.laplanche@martymac.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/123907: New port: editors/yzis - Vi-like editor
Message-ID:  <200805221642.m4MGgpLU087513@www.freebsd.org>
Resent-Message-ID: <200805221650.m4MGo1YE008449@freefall.freebsd.org>

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

>Number:         123907
>Category:       ports
>Synopsis:       New port: editors/yzis - Vi-like editor
>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:   Thu May 22 16:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Ganael Laplanche
>Release:        8.0-CURRENT
>Organization:
http://contribs.martymac.com
>Environment:
FreeBSD home.martymac.com 8.0-CURRENT FreeBSD 8.0-CURRENT #17: Sun May 18 23:44:45 CEST 2008     root@:/usr/obj/usr/src/sys/MYKERNEL  amd64
>Description:
This is a port of Yzis which includes libyzis, kyzis and nyzis.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	yzis
#	yzis/pkg-descr
#	yzis/pkg-plist
#	yzis/distinfo
#	yzis/files
#	yzis/files/patch-libyzis-linesearch.h
#	yzis/files/patch-kyzis-src-viewwidget.h
#	yzis/Makefile
#
echo c - yzis
mkdir -p yzis > /dev/null 2>&1
echo x - yzis/pkg-descr
sed 's/^X//' >yzis/pkg-descr << 'END-of-yzis/pkg-descr'
XYzis a vi-like editor inspired by Vim.
X
XIt aims to be a powerful, fast editor with all of Vim's
Xfeatures and hopefully, at some point, more.
X
XWWW: http://www.yzis.org
END-of-yzis/pkg-descr
echo x - yzis/pkg-plist
sed 's/^X//' >yzis/pkg-plist << 'END-of-yzis/pkg-plist'
Xbin/kyzis
X%%PL_NCURSES%%bin/yz
X%%PL_NCURSES%%bin/yzis
Xlib/libqtyzis.la
Xlib/libqtyzis.so
Xlib/libqtyzis.so.0
Xlib/libqtyzis.a
Xlib/kde3/libkyzispart.so
Xlib/kde3/libkyzispart.la
Xlib/kde3/libkyzispart.a
X@dirrmtry lib/kde3
Xshare/services/kyzispart.desktop
X@dirrmtry share/services
Xshare/apps/kyzis/kyzis_shell.rc
X@dirrm share/apps/kyzis
Xshare/apps/kyzispart/kyzispart.rc
X@dirrm share/apps/kyzispart
X@dirrmtry share/apps
Xshare/config.kcfg/kyzis.kcfg
X@dirrmtry share/config.kcfg
Xshare/icons/crystalsvg/16x16/apps/kyzis.png
X@dirrmtry share/icons/crystalsvg/16x16/apps
X@dirrmtry share/icons/crystalsvg/16x16
Xshare/icons/crystalsvg/32x32/apps/kyzis.png
X@dirrmtry share/icons/crystalsvg/32x32/apps
X@dirrmtry share/icons/crystalsvg/32x32
Xshare/icons/crystalsvg/128x128/apps/kyzis.png
X@dirrmtry share/icons/crystalsvg/128x128/apps
X@dirrmtry share/icons/crystalsvg/128x128
Xshare/icons/crystalsvg/64x64/apps/kyzis.png
X@dirrmtry share/icons/crystalsvg/64x64/apps
X@dirrmtry share/icons/crystalsvg/64x64
X@dirrmtry share/icons/crystalsvg
X@dirrmtry share/icons
Xshare/applnk/Editors/kyzis.desktop
X@dirrmtry share/applnk/Editors
X@dirrmtry share/applnk
Xshare/locale/de/LC_MESSAGES/yzis.mo
Xshare/locale/es/LC_MESSAGES/yzis.mo
Xshare/locale/fr/LC_MESSAGES/yzis.mo
Xshare/locale/nl/LC_MESSAGES/yzis.mo
Xshare/locale/no/LC_MESSAGES/yzis.mo
Xshare/locale/pl/LC_MESSAGES/yzis.mo
Xshare/locale/pt/LC_MESSAGES/yzis.mo
Xshare/yzis/scripts/indent/python.lua
Xshare/yzis/scripts/indent/cpp.lua
Xshare/yzis/scripts/2html.lua
Xshare/yzis/scripts/clevertab.lua
Xshare/yzis/magic.mime
Xshare/yzis/syntax/ferite.xml
Xshare/yzis/syntax/mason.xml
Xshare/yzis/syntax/e.xml
Xshare/yzis/syntax/xslt.xml
Xshare/yzis/syntax/python.xml
Xshare/yzis/syntax/euphoria.xml
Xshare/yzis/syntax/inform.xml
Xshare/yzis/syntax/css-php.xml
Xshare/yzis/syntax/mup.xml
Xshare/yzis/syntax/sql-mysql.xml
Xshare/yzis/syntax/mips.xml
Xshare/yzis/syntax/javascript-php.xml
Xshare/yzis/syntax/sather.xml
Xshare/yzis/syntax/alert.xml
Xshare/yzis/syntax/lpc.xml
Xshare/yzis/syntax/scheme.xml
Xshare/yzis/syntax/rexx.xml
Xshare/yzis/syntax/bash.xml
Xshare/yzis/syntax/modula-2.xml
Xshare/yzis/syntax/pascal.xml
Xshare/yzis/syntax/coldfusion.xml
Xshare/yzis/syntax/commonlisp.xml
Xshare/yzis/syntax/progress.xml
Xshare/yzis/syntax/yacas.xml
Xshare/yzis/syntax/lex.xml
Xshare/yzis/syntax/cisco.xml
Xshare/yzis/syntax/jsp.xml
Xshare/yzis/syntax/verilog.xml
Xshare/yzis/syntax/yacc.xml
Xshare/yzis/syntax/cpp.xml
Xshare/yzis/syntax/matlab.xml
Xshare/yzis/syntax/eiffel.xml
Xshare/yzis/syntax/idconsole.xml
Xshare/yzis/syntax/ahdl.xml
Xshare/yzis/syntax/xmldebug.xml
Xshare/yzis/syntax/makefile.xml
Xshare/yzis/syntax/glsl.xml
Xshare/yzis/syntax/syntax.template
Xshare/yzis/syntax/ocaml.xml
Xshare/yzis/syntax/desktop.xml
Xshare/yzis/syntax/vrml.xml
Xshare/yzis/syntax/cue.xml
Xshare/yzis/syntax/lilypond.xml
Xshare/yzis/syntax/winehq.xml
Xshare/yzis/syntax/doxygen.xml
Xshare/yzis/syntax/kbasic.xml
Xshare/yzis/syntax/mab.xml
Xshare/yzis/syntax/c.xml
Xshare/yzis/syntax/xml.xml
Xshare/yzis/syntax/d.xml
Xshare/yzis/syntax/vhdl.xml
Xshare/yzis/syntax/literate-haskell.xml
Xshare/yzis/syntax/ruby.xml
Xshare/yzis/syntax/language.dtd
Xshare/yzis/syntax/spice.xml
Xshare/yzis/syntax/cmake.xml
Xshare/yzis/syntax/postscript.xml
Xshare/yzis/syntax/nasm.xml
Xshare/yzis/syntax/css.xml
Xshare/yzis/syntax/asm6502.xml
Xshare/yzis/syntax/asm-avr.xml
Xshare/yzis/syntax/changelog.xml
Xshare/yzis/syntax/pike.xml
Xshare/yzis/syntax/tibasic.xml
Xshare/yzis/syntax/rib.xml
Xshare/yzis/syntax/cg.xml
Xshare/yzis/syntax/xharbour.xml
Xshare/yzis/syntax/debiancontrol.xml
Xshare/yzis/syntax/uscript.xml
Xshare/yzis/syntax/logtalk.xml
Xshare/yzis/syntax/picsrc.xml
Xshare/yzis/syntax/velocity.xml
Xshare/yzis/syntax/latex.xml
Xshare/yzis/syntax/gnuassembler.xml
Xshare/yzis/syntax/txt2tags.xml
Xshare/yzis/syntax/octave.xml
Xshare/yzis/syntax/perl.xml
Xshare/yzis/syntax/sieve.xml
Xshare/yzis/syntax/fortran.xml
Xshare/yzis/syntax/idl.xml
Xshare/yzis/syntax/ilerpg.xml
Xshare/yzis/syntax/r.xml
Xshare/yzis/syntax/abc.xml
Xshare/yzis/syntax/tcl.xml
Xshare/yzis/syntax/cgis.xml
Xshare/yzis/syntax/stata.xml
Xshare/yzis/syntax/php.xml
Xshare/yzis/syntax/bibtex.xml
Xshare/yzis/syntax/objectivec.xml
Xshare/yzis/syntax/sml.xml
Xshare/yzis/syntax/html-php.xml
Xshare/yzis/syntax/purebasic.xml
Xshare/yzis/syntax/gettext.xml
Xshare/yzis/syntax/ada.xml
Xshare/yzis/syntax/cs.xml
Xshare/yzis/syntax/asp.xml
Xshare/yzis/syntax/javascript.xml
Xshare/yzis/syntax/sql.xml
Xshare/yzis/syntax/sql-postgresql.xml
Xshare/yzis/syntax/html.xml
Xshare/yzis/syntax/ansic89.xml
Xshare/yzis/syntax/diff.xml
Xshare/yzis/syntax/awk.xml
Xshare/yzis/syntax/lua.xml
Xshare/yzis/syntax/clipper.xml
Xshare/yzis/syntax/rsiidl.xml
Xshare/yzis/syntax/fgl-4gl.xml
Xshare/yzis/syntax/gdl.xml
Xshare/yzis/syntax/javadoc.xml
Xshare/yzis/syntax/component-pascal.xml
Xshare/yzis/syntax/prolog.xml
Xshare/yzis/syntax/fgl-per.xml
Xshare/yzis/syntax/rpmspec.xml
Xshare/yzis/syntax/sgml.xml
Xshare/yzis/syntax/povray.xml
Xshare/yzis/syntax/debianchangelog.xml
Xshare/yzis/syntax/ldif.xml
Xshare/yzis/syntax/haskell.xml
Xshare/yzis/syntax/sci.xml
Xshare/yzis/syntax/java.xml
X@dirrm share/yzis/syntax
X@dirrm share/yzis/scripts/indent
X@dirrm share/yzis/scripts
X@dirrm share/yzis
END-of-yzis/pkg-plist
echo x - yzis/distinfo
sed 's/^X//' >yzis/distinfo << 'END-of-yzis/distinfo'
XMD5 (yzis-M3.tar.bz2) = 7e2d41776aa419a2bfe10ec6e69cf767
XSHA256 (yzis-M3.tar.bz2) = ac4e823d4c22ed4c2a874b7a111b5140a81529832fe782fc42e7496a3b0c553f
XSIZE (yzis-M3.tar.bz2) = 1471682
END-of-yzis/distinfo
echo c - yzis/files
mkdir -p yzis/files > /dev/null 2>&1
echo x - yzis/files/patch-libyzis-linesearch.h
sed 's/^X//' >yzis/files/patch-libyzis-linesearch.h << 'END-of-yzis/files/patch-libyzis-linesearch.h'
X--- libyzis/linesearch.h.orig	2008-05-18 18:47:35.318978999 +0200
X+++ libyzis/linesearch.h	2008-05-18 18:47:47.858303411 +0200
X@@ -70,7 +70,7 @@
X 	/**
X 	 * Searches for previously searched character in opposite direction
X 	 */
X-	YZCursor YZLineSearch::searchAgainOpposite( bool &found, unsigned int times );
X+	YZCursor searchAgainOpposite( bool &found, unsigned int times );
X 	
X 	/**
X 	 * Defines types of searches for history
END-of-yzis/files/patch-libyzis-linesearch.h
echo x - yzis/files/patch-kyzis-src-viewwidget.h
sed 's/^X//' >yzis/files/patch-kyzis-src-viewwidget.h << 'END-of-yzis/files/patch-kyzis-src-viewwidget.h'
X--- kyzis/src/viewwidget.h.orig	2008-05-18 18:52:01.119247190 +0200
X+++ kyzis/src/viewwidget.h	2008-05-18 18:52:14.123333743 +0200
X@@ -77,8 +77,8 @@
X 		 */
X 		void setkid( int kId ) { mkId = kId; }
X 
X-		void KYZisView::wheelEvent( QWheelEvent * e );
X-		void KYZisView::contextMenuEvent( QContextMenuEvent * e );
X+		void wheelEvent( QWheelEvent * e );
X+		void contextMenuEvent( QContextMenuEvent * e );
X 
X 		/**
X 		 * @internal
END-of-yzis/files/patch-kyzis-src-viewwidget.h
echo x - yzis/Makefile
sed 's/^X//' >yzis/Makefile << 'END-of-yzis/Makefile'
X# New ports collection makefile for:	yzis
X# Date created:        Tue May 20 19:00:00 UTC 2008
X# Whom:                Ganael Laplanche <ganael.laplanche@martymac.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	yzis
XPORTVERSION=	0.3
XCATEGORIES=	editors
XMASTER_SITES=	http://yzis.org.free.fr/releases/ \
X		http://contribs.martymac.com/FreeBSD-ports/distfiles/
XDISTNAME=	${PORTNAME}-M3
X
XMAINTAINER=	ganael.laplanche@martymac.com
XCOMMENT=	Vi-like editor
X
XLIB_DEPENDS=	audio:${PORTSDIR}/audio/nas \
X		expat:${PORTSDIR}/textproc/expat2 \
X		fontconfig:${PORTSDIR}/x11-fonts/fontconfig \
X		jpeg:${PORTSDIR}/graphics/jpeg \
X		lcms:${PORTSDIR}/graphics/lcms \
X		mng:${PORTSDIR}/graphics/libmng \
X		png:${PORTSDIR}/graphics/png \
X		tiff:${PORTSDIR}/graphics/tiff \
X		ungif:${PORTSDIR}/graphics/libungif \
X		ps:${PORTSDIR}/print/pslib
XBUILD_DEPENDS=	dot:${PORTSDIR}/graphics/graphviz \
X		doxygen:${PORTSDIR}/devel/doxygen
X
XUSE_BZIP2=	yes
XUSE_FAM=	yes
XUSE_FREETYPE=	yes
XUSE_GETTEXT=	yes
XUSE_ICONV=	yes
XUSE_LUA=	5.0
XLUA_COMPS=	lua
XUSE_KDELIBS_VER=	3
XUSE_XORG=	xrender xext sm ice x11 xau xdmcp xt xi xrandr xcursor xinerama xft xfixes
X
XUSE_AUTOTOOLS=	libtool:15
XUSE_GMAKE=	yes
XCPPFLAGS=	-I${LOCALBASE}/include -I${LUA_INCDIR}
XLDFLAGS=	-L${LOCALBASE}/lib -L${LUA_LIBDIR}
XCONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" \
X		LDFLAGS="${LDFLAGS}" \
X		PTHREAD_LIBS="${PTHREAD_LIBS}" \
X		F77="${F77}" FFLAGS="${FFLAGS}"
XCONFIGURE_ARGS=	--with-lua-includes=${LUA_INCDIR} \
X		--with-lua-libraries=${LUA_LIBDIR}
XGNU_CONFIGURE=	yes
X
XINSTALLS_ICONS=	yes
XUSE_LDCONFIG=	${PREFIX}/lib/ ${PREFIX}/lib/kde3/
XOPTIONS=	NCURSES "Build nyzis (ncurses frontend - buggy)" off
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_NCURSES)
XCONFIGURE_ARGS+=	--enable-nyzis
XPLIST_SUB+=	PL_NCURSES=""
X# Define_XOPEN_SOURCE_EXTENDED for ncurses/widec support
XCPPFLAGS+=	-D_XOPEN_SOURCE_EXTENDED
X.else
XCONFIGURE_ARGS+=	--disable-nyzis
XPLIST_SUB+=	PL_NCURSES="@comment "
X.endif
X
X.include <bsd.port.post.mk>
END-of-yzis/Makefile
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



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