Date: Wed, 26 Apr 2000 17:31:32 +0300 (EEST) From: "Maxim Sobolev" <sobomax@altavista.net> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/18231: [PATCH] Update of the Gnotepad+ (editors/gnotepad+) to the new 1.2.1 version Message-ID: <200004261431.RAA11225@vega.vega.com>
next in thread | raw e-mail | index | archive | help
>Number: 18231 >Category: ports >Synopsis: [PATCH] Update of the Gnotepad+ (editors/gnotepad+) to the new 1.2.1 version >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Apr 26 07:40:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Maxim Sobolev >Release: FreeBSD 3.4-STABLE i386 >Organization: Vega International Capital >Environment: >Description: Update of the Gnotepad+ (editors/gnotepad+) to the new 1.2.1 version. Following fixes and enhancements are provided: + Port now uses gnomelibs instead of plain GTK; + port's documentation distributed in separate distfile now being installed, if NOPORTDOCS has not been set; + USE_X_PREFIX added to Makefile, because obviously this port falls into the X11 category; + libintl dependency added to port's Makefile; + WWW added to the pkg/DESCR; + MASTER_SITES updated to reflect reality; + pkg/PLIST has been sorted; + "Date created:" slightly adjusted to match commonly accepted conventions. >How-To-Repeat: >Fix: diff -ruN /usr/ports/editors/gnotepad+/Makefile gnotepad+/Makefile --- /usr/ports/editors/gnotepad+/Makefile Fri Apr 14 10:11:55 2000 +++ gnotepad+/Makefile Wed Apr 26 17:07:28 2000 @@ -1,25 +1,39 @@ # New ports collection makefile for: gnotepad+ -# Date created: 08-March-1999 +# Date created: 08 March 1999 # Whom: brett@peloton.physics.montana.edu # # $FreeBSD: ports/editors/gnotepad+/Makefile,v 1.6 2000/04/14 00:25:30 mharo Exp $ # PORTNAME= gnotepad+ -PORTVERSION= 1.1.4 +PORTVERSION= 1.2.1 CATEGORIES= editors www -MASTER_SITES= http://ack.netpedia.net/gnp/ +MASTER_SITES= http://download.sourceforge.net/gnotepad/ +.if !defined(NOPORTDOCS) +DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \ + ${PORTNAME}-help-${DOCVERSION}${EXTRACT_SUFX} +.endif MAINTAINER= brett@peloton.runet.edu LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm \ - gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 + gnome.3:${PORTSDIR}/x11/gnomelibs \ + intl.1:${PORTSDIR}/devel/gettext GTK_CONFIG?= ${X11BASE}/bin/gtk12-config +DOCVERSION= 1.2.0 +USE_X_PREFIX= yes GNU_CONFIGURE= yes CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" MAN1= gnp.1 + +.if !defined(NOPORTDOCS) +post-extract: + ${MV} ${WRKSRC}/docs ${WRKSRC}/docs.old + ${CP} -R ${WRKDIR}/${PORTNAME}-help-${DOCVERSION}/docs \ + ${WRKSRC}/docs +.endif .include <bsd.port.mk> diff -ruN /usr/ports/editors/gnotepad+/files/md5 gnotepad+/files/md5 --- /usr/ports/editors/gnotepad+/files/md5 Tue May 11 10:30:19 1999 +++ gnotepad+/files/md5 Wed Apr 26 16:56:39 2000 @@ -1 +1,2 @@ -MD5 (gnotepad+-1.1.4.tar.gz) = f4a3856991d1833c8654e50555636577 +MD5 (gnotepad+-1.2.1.tar.gz) = 3448a7b3b391768be07ead4843ae9c73 +MD5 (gnotepad+-help-1.2.0.tar.gz) = 1d624118056c2c0e4ba8c45f9ab9bbee diff -ruN /usr/ports/editors/gnotepad+/patches/patch-ab gnotepad+/patches/patch-ab --- /usr/ports/editors/gnotepad+/patches/patch-ab Fri Apr 30 11:33:55 1999 +++ gnotepad+/patches/patch-ab Thu Jan 1 03:00:00 1970 @@ -1,18 +0,0 @@ ---- src/file.c.~1~ Sat Mar 6 01:38:53 1999 -+++ src/file.c Fri Apr 30 17:23:33 1999 -@@ -24,7 +24,6 @@ - #include <errno.h> - #include <stdlib.h> - #include <ctype.h> --#include <utime.h> - #include <string.h> - #include <unistd.h> - #include <fcntl.h> -@@ -32,6 +31,7 @@ - #include <sys/file.h> - #include <sys/types.h> - #include <sys/file.h> -+#include <utime.h> - #include "main.h" - #if defined(APP_GNP) && defined(USE_GTKXMHTML) - #include <glib.h> diff -ruN /usr/ports/editors/gnotepad+/patches/patch-ac gnotepad+/patches/patch-ac --- /usr/ports/editors/gnotepad+/patches/patch-ac Fri Apr 30 11:33:55 1999 +++ gnotepad+/patches/patch-ac Thu Jan 1 03:00:00 1970 @@ -1,10 +0,0 @@ ---- src/search.c.~1~ Sun Mar 7 07:27:30 1999 -+++ src/search.c Fri Apr 30 17:25:42 1999 -@@ -22,6 +22,7 @@ - #include <stdlib.h> - #include "main.h" - #ifdef USE_REGEX -+#include <sys/types.h> - #include <regex.h> - #endif - #include <gtk/gtk.h> diff -ruN /usr/ports/editors/gnotepad+/pkg/DESCR gnotepad+/pkg/DESCR --- /usr/ports/editors/gnotepad+/pkg/DESCR Fri Apr 30 11:33:54 1999 +++ gnotepad+/pkg/DESCR Wed Apr 26 17:19:39 2000 @@ -1,4 +1,6 @@ -gnotepad+ is a simple GTK based text editor. It also has built-in simple +gnotepad+ is a simple Gnome based text editor. It also has built-in simple HTML editing with previews directed to Netscape. -brett@peloton.physics.montana.edu + +WWW: http://gnotepad.sourceforge.net diff -ruN /usr/ports/editors/gnotepad+/pkg/PLIST gnotepad+/pkg/PLIST --- /usr/ports/editors/gnotepad+/pkg/PLIST Tue May 11 10:30:20 1999 +++ gnotepad+/pkg/PLIST Wed Apr 26 17:14:35 2000 @@ -1,5 +1,56 @@ bin/gnp +share/gnome/apps/Applications/gnotepad+.desktop +share/gnome/apps/Applications/gnotepad+.spec +share/gnome/help/gnotepad+/C/closedialog.png +share/gnome/help/gnotepad+/C/doclist.png +share/gnome/help/gnotepad+/C/doctabs.png +share/gnome/help/gnotepad+/C/editmenu.png +share/gnome/help/gnotepad+/C/fileinfo1.png +share/gnome/help/gnotepad+/C/fileinfo2.png +share/gnome/help/gnotepad+/C/find1.png +share/gnome/help/gnotepad+/C/find2.png +share/gnome/help/gnotepad+/C/find3.png +share/gnome/help/gnotepad+/C/htmldoc.png +share/gnome/help/gnotepad+/C/htmltag.png +share/gnome/help/gnotepad+/C/htmltb1.png +share/gnome/help/gnotepad+/C/htmltb2.png +share/gnome/help/gnotepad+/C/htmlwin.png +share/gnome/help/gnotepad+/C/index.html +share/gnome/help/gnotepad+/C/index-1.html +share/gnome/help/gnotepad+/C/index-2.html +share/gnome/help/gnotepad+/C/index-3.html +share/gnome/help/gnotepad+/C/index-4.html +share/gnome/help/gnotepad+/C/index-5.html +share/gnome/help/gnotepad+/C/mainoptions.png +share/gnome/help/gnotepad+/C/maintb.png +share/gnome/help/gnotepad+/C/mainwin.png +share/gnome/help/gnotepad+/C/msgbar.png +share/gnome/help/gnotepad+/C/msgbox.png +share/gnome/help/gnotepad+/C/optionsmenu0.png +share/gnome/help/gnotepad+/C/optionsmenu1.png +share/gnome/help/gnotepad+/C/optionsmenu2.png +share/gnome/help/gnotepad+/C/prefs_appearance.png +share/gnome/help/gnotepad+/C/prefs_document.png +share/gnome/help/gnotepad+/C/prefs_fonts.png +share/gnome/help/gnotepad+/C/prefs_fontsel.png +share/gnome/help/gnotepad+/C/prefs_htmltb.png +share/gnome/help/gnotepad+/C/prefs_maintb.png +share/gnome/help/gnotepad+/C/prefs_misc.png +share/gnome/help/gnotepad+/C/prefs_srcctrl.png +share/gnome/help/gnotepad+/C/prefs_window.png +share/gnome/help/gnotepad+/C/printdialog.png +share/gnome/help/gnotepad+/C/shellcmd.png +share/gnome/help/gnotepad+/C/splashscreen.png +share/gnome/help/gnotepad+/C/textarea.png +share/gnome/help/gnotepad+/C/topic.dat +share/gnome/help/gnotepad+/C/windowmenu.png +share/gnome/help/gnotepad+/C/winlist.png +share/gnome/help/gnotepad+/C/winnew.png +share/gnotepad+/xpm/colsel.xpm +share/gnotepad+/xpm/filesel.xpm +share/gnotepad+/xpm/gnp48x48.xpm share/gnotepad+/xpm/tb_big.xpm +share/gnotepad+/xpm/tb_blank.xpm share/gnotepad+/xpm/tb_bold.xpm share/gnotepad+/xpm/tb_cancel.xpm share/gnotepad+/xpm/tb_centjust.xpm @@ -11,6 +62,18 @@ share/gnotepad+/xpm/tb_exit.xpm share/gnotepad+/xpm/tb_find.xpm share/gnotepad+/xpm/tb_find_next.xpm +share/gnotepad+/xpm/tb_fontm1.xpm +share/gnotepad+/xpm/tb_fontp1.xpm +share/gnotepad+/xpm/tb_form.xpm +share/gnotepad+/xpm/tb_formoption.xpm +share/gnotepad+/xpm/tb_formselect.xpm +share/gnotepad+/xpm/tb_frame.xpm +share/gnotepad+/xpm/tb_frame2.xpm +share/gnotepad+/xpm/tb_framebase.xpm +share/gnotepad+/xpm/tb_frameno.xpm +share/gnotepad+/xpm/tb_frameset.xpm +share/gnotepad+/xpm/tb_frameset2.xpm +share/gnotepad+/xpm/tb_framewiz.xpm share/gnotepad+/xpm/tb_h1.xpm share/gnotepad+/xpm/tb_h2.xpm share/gnotepad+/xpm/tb_h3.xpm @@ -19,16 +82,30 @@ share/gnotepad+/xpm/tb_h6.xpm share/gnotepad+/xpm/tb_help.xpm share/gnotepad+/xpm/tb_image.xpm +share/gnotepad+/xpm/tb_inputbutton.xpm +share/gnotepad+/xpm/tb_inputcheckbox.xpm +share/gnotepad+/xpm/tb_inputimage.xpm +share/gnotepad+/xpm/tb_inputpass.xpm +share/gnotepad+/xpm/tb_inputradio.xpm +share/gnotepad+/xpm/tb_inputreset.xpm +share/gnotepad+/xpm/tb_inputsubmit.xpm +share/gnotepad+/xpm/tb_inputtext.xpm +share/gnotepad+/xpm/tb_inputtextarea.xpm share/gnotepad+/xpm/tb_italic.xpm share/gnotepad+/xpm/tb_leftjust.xpm share/gnotepad+/xpm/tb_linebreak.xpm share/gnotepad+/xpm/tb_link.xpm +share/gnotepad+/xpm/tb_listdd.xpm +share/gnotepad+/xpm/tb_listdl.xpm +share/gnotepad+/xpm/tb_listdt.xpm share/gnotepad+/xpm/tb_listitem.xpm +share/gnotepad+/xpm/tb_menu.xpm share/gnotepad+/xpm/tb_new.xpm share/gnotepad+/xpm/tb_open.xpm share/gnotepad+/xpm/tb_ordered.xpm share/gnotepad+/xpm/tb_paragraph.xpm share/gnotepad+/xpm/tb_paste.xpm +share/gnotepad+/xpm/tb_pre.xpm share/gnotepad+/xpm/tb_prefs.xpm share/gnotepad+/xpm/tb_print.xpm share/gnotepad+/xpm/tb_redo.xpm @@ -41,14 +118,27 @@ share/gnotepad+/xpm/tb_strong.xpm share/gnotepad+/xpm/tb_subscript.xpm share/gnotepad+/xpm/tb_superscript.xpm +share/gnotepad+/xpm/tb_table.xpm +share/gnotepad+/xpm/tb_table2.xpm +share/gnotepad+/xpm/tb_tablewiz.xpm share/gnotepad+/xpm/tb_target.xpm +share/gnotepad+/xpm/tb_td.xpm +share/gnotepad+/xpm/tb_td2.xpm +share/gnotepad+/xpm/tb_th.xpm +share/gnotepad+/xpm/tb_th2.xpm share/gnotepad+/xpm/tb_title.xpm +share/gnotepad+/xpm/tb_tr.xpm +share/gnotepad+/xpm/tb_tr2.xpm share/gnotepad+/xpm/tb_typewriter.xpm share/gnotepad+/xpm/tb_underline.xpm share/gnotepad+/xpm/tb_undo.xpm share/gnotepad+/xpm/tb_unordered.xpm share/gnotepad+/xpm/tb_winclose.xpm share/gnotepad+/xpm/tb_winnew.xpm -share/gnome/apps/Applications/gnotepad+.desktop +share/locale/da/LC_MESSAGES/gnotepad+.mo +share/locale/fr/LC_MESSAGES/gnotepad+.mo +share/locale/ja/LC_MESSAGES/gnotepad+.mo @dirrm share/gnotepad+/xpm @dirrm share/gnotepad+ +@dirrm share/gnome/help/gnotepad+/C +@dirrm share/gnome/help/gnotepad+ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004261431.RAA11225>