Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Oct 2005 02:58:26 +0200
From:      "Andreas Kohn" <andreas@syndrom23.de>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/87549: [NEW PORT] editors/gedit-autocomplete-plugin
Message-ID:  <1129510706.0@klamath.syndrom23.de>
Resent-Message-ID: <200510170100.j9H10S7T031779@freefall.freebsd.org>

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

>Number:         87549
>Category:       ports
>Synopsis:       [NEW PORT] editors/gedit-autocomplete-plugin
>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:   Mon Oct 17 01:00:28 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Andreas Kohn
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:


System: FreeBSD 7.0-CURRENT #35: Sun Oct  2 14:16:27 CEST 2005
    root@klamath.syndrom23.de:/usr/obj/usr/src/sys/KLAMATH



>Description:


----
A simple autocomplete plugin for gedit.

This plugin autocompletes words when you write words twice or more times
in a document.

WWW: http://usuarios.lycos.es/acisif/gedit/autocomplete/autocomplete.html
----

The version 3.0 is not linked from the page, but available from the download site.
The author will probably change that, and has confirmed that 3.0 is okay to use. 
The plugin was tested with gedit 2.12.1 (marcuscom ports for gnome 2.12), and should probably work with the gedit 2.10 in the "regular" freebsd ports. The GEDIT_VERSION variable has to be edited in that case.




>How-To-Repeat:





>Fix:


--- gedit-autocomplete-plugin.shar begins here ---
# 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:
#
#	gedit-autocomplete-plugin/
#	gedit-autocomplete-plugin/Makefile
#	gedit-autocomplete-plugin/distinfo
#	gedit-autocomplete-plugin/pkg-descr
#	gedit-autocomplete-plugin/files
#	gedit-autocomplete-plugin/files/patch-makefile
#
echo c - gedit-autocomplete-plugin/
mkdir -p gedit-autocomplete-plugin/ > /dev/null 2>&1
echo x - gedit-autocomplete-plugin/Makefile
sed 's/^X//' >gedit-autocomplete-plugin/Makefile << 'END-of-gedit-autocomplete-plugin/Makefile'
X# Ports collection makefile for:	gedit-autocomplete-plugin
X# Date created:				2005-10-10
X# Whom:					Andreas Kohn <andreas@syndrom23.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=		autocomplete-plugin
XPORTVERSION=		3.0
XCATEGORIES=		editors
XMASTER_SITES=		http://usuarios.lycos.es/acisif/gedit/autocomplete/
XPKGNAMEPREFIX=		gedit-
X
XMAINTAINER=		andreas@syndrom23.de
XCOMMENT=		A simple autocompletion plugin for gedit
X
XBUILD_DEPENDS=		gedit:${PORTSDIR}/editors/gedit
XRUN_DEPENDS=		gedit:${PORTSDIR}/editors/gedit
X
XGEDIT_VERSION=		2.12
X
XUSE_X_PREFIX=		yes
XMAKEFILE=		makefile
XMAKE_ENV=		GEDIT_VERSION=gedit-${GEDIT_VERSION}
X
XPLIST_FILES=		lib/gedit-2/plugins/autocomplete.gedit-plugin \
X			lib/gedit-2/plugins/libautocomplete.so
X
Xpre-su-install:
X	${MKDIR} ${PREFIX}/lib/gedit-2/plugins
X
X.include <bsd.port.mk>
END-of-gedit-autocomplete-plugin/Makefile
echo x - gedit-autocomplete-plugin/distinfo
sed 's/^X//' >gedit-autocomplete-plugin/distinfo << 'END-of-gedit-autocomplete-plugin/distinfo'
XMD5 (autocomplete-plugin-3.0.tar.gz) = 34e71a3caad1fa29fcaa0a4442406c9a
XSIZE (autocomplete-plugin-3.0.tar.gz) = 6187
END-of-gedit-autocomplete-plugin/distinfo
echo x - gedit-autocomplete-plugin/pkg-descr
sed 's/^X//' >gedit-autocomplete-plugin/pkg-descr << 'END-of-gedit-autocomplete-plugin/pkg-descr'
XA simple autocomplete plugin for gedit.
X
XThis plugin autocompletes words when you write words twice or more times 
Xin a document.
X
XWWW: http://usuarios.lycos.es/acisif/gedit/autocomplete/autocomplete.html
END-of-gedit-autocomplete-plugin/pkg-descr
echo c - gedit-autocomplete-plugin/files
mkdir -p gedit-autocomplete-plugin/files > /dev/null 2>&1
echo x - gedit-autocomplete-plugin/files/patch-makefile
sed 's/^X//' >gedit-autocomplete-plugin/files/patch-makefile << 'END-of-gedit-autocomplete-plugin/files/patch-makefile'
X--- makefile.orig	Mon Oct 10 00:42:13 2005
X+++ makefile	Mon Oct 10 00:44:00 2005
X@@ -1,9 +1,6 @@
X-
X-GEDIT_VERSION=gedit-2.4
X-
X all:
X-	gcc -march=i686 -O3 -s -Wall -fPIC -shared  `pkg-config  $(GEDIT_VERSION) --libs --cflags`  *.c -o libautocomplete.so
X+	$(CC) $(CFLAGS) -Wall -fPIC -shared  `pkg-config  $(GEDIT_VERSION) --libs --cflags`  *.c -o libautocomplete.so
X 
X install:
X-	cp libautocomplete.so /usr/lib/gedit-2/plugins/
X-	cp autocomplete.gedit-plugin /usr/lib/gedit-2/plugins/
X+	cp libautocomplete.so $(PREFIX)/lib/gedit-2/plugins/
X+	cp autocomplete.gedit-plugin $(PREFIX)/lib/gedit-2/plugins/
END-of-gedit-autocomplete-plugin/files/patch-makefile
exit

--- gedit-autocomplete-plugin.shar ends here ---



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



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