pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/manedit Updated manedit to 0.8.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/48f4cd4adde2
branches:  trunk
changeset: 534235:48f4cd4adde2
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Oct 14 07:49:54 2007 +0000

description:
Updated manedit to 0.8.1.

Release Notes
-------------

        Fixed a bug that caused a crash whenever a string was added
        to the selection.

        Added new select and copy functions to the Viewer's menu.

        Improved the Editor's copy/paste ownership widget behavior.

        Fixed a GtkSelection bug in which redundant GtkSignals were
        being connected.

        Added pointer roller scroll support.

        Fixed a bug in the mapping of popup menus.

diffstat:

 editors/manedit/Makefile         |   16 +-
 editors/manedit/distinfo         |   19 +-
 editors/manedit/patches/patch-aa |   21 +-
 editors/manedit/patches/patch-ab |    3 +-
 editors/manedit/patches/patch-ac |   25 +-
 editors/manedit/patches/patch-ad |    3 +-
 editors/manedit/patches/patch-ae |  477 +++++++++++++++++++++++++++++---------
 editors/manedit/patches/patch-ag |   22 +
 8 files changed, 430 insertions(+), 156 deletions(-)

diffs (truncated from 695 to 300 lines):

diff -r e9aa1ae0f88d -r 48f4cd4adde2 editors/manedit/Makefile
--- a/editors/manedit/Makefile  Sun Oct 14 07:48:52 2007 +0000
+++ b/editors/manedit/Makefile  Sun Oct 14 07:49:54 2007 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.27 2007/01/07 09:13:52 rillig Exp $
+# $NetBSD: Makefile,v 1.28 2007/10/14 07:49:54 rillig Exp $
 #
 
-DISTNAME=      manedit-0.5.6
-PKGREVISION=   4
+DISTNAME=      manedit-0.8.1
 CATEGORIES=    editors
 MASTER_SITES=  ftp://wolfpack.twu.net/users/wolfpack/
 EXTRACT_SUFX=  .tar.bz2
@@ -20,22 +19,19 @@
 # The FreeBSD makefile may be used as "generic UNIX".
 MAKE_FILE=     Makefile.FreeBSD
 
-INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man7
+INSTALLATION_DIRS_FROM_PLIST=  yes
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/manedit ${PREFIX}/bin
        ${INSTALL_SCRIPT} ${WRKSRC}/utils/manview.sh ${PREFIX}/bin/manview
        ${INSTALL_SCRIPT} ${WRKSRC}/utils/manwrap.sh ${PREFIX}/bin/manwrap
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/manedit                     \
-               ${PREFIX}/share/manedit/templates                       \
-               ${PREFIX}/share/manedit/icons
        ${INSTALL_MAN} ${WRKSRC}/manedit.1 ${PREFIX}/${PKGMANDIR}/man1
        ${INSTALL_MAN} ${WRKSRC}/help/manpage_writing_procedures        \
                ${PREFIX}/${PKGMANDIR}/man7/manpage_writing_procedures.7
-       ${INSTALL_MAN} ${WRKSRC}/help/manpage_xml_referance             \
+       ${INSTALL_MAN} ${WRKSRC}/help/manpage_xml_reference             \
                ${PREFIX}/${PKGMANDIR}/man7/manpage_xml_reference.7
-       cd ${WRKSRC}/templates && ${INSTALL_DATA} api.mpt config.mpt    \
-               intro.mpt program.mpt ${PREFIX}/share/manedit/templates
+       cd ${WRKSRC}/templates && ${INSTALL_DATA} *.mpt                 \
+               ${PREFIX}/share/manedit/templates
        cd ${WRKSRC} && ${INSTALL_DATA} manedit.xpm                     \
                ${PREFIX}/share/manedit/icons
 
diff -r e9aa1ae0f88d -r 48f4cd4adde2 editors/manedit/distinfo
--- a/editors/manedit/distinfo  Sun Oct 14 07:48:52 2007 +0000
+++ b/editors/manedit/distinfo  Sun Oct 14 07:49:54 2007 +0000
@@ -1,11 +1,12 @@
-$NetBSD: distinfo,v 1.7 2005/02/23 17:15:11 agc Exp $
+$NetBSD: distinfo,v 1.8 2007/10/14 07:49:54 rillig Exp $
 
-SHA1 (manedit-0.5.6.tar.bz2) = 1a6f413f614e5f3620fd9fae16d754eb722984e6
-RMD160 (manedit-0.5.6.tar.bz2) = 7c380b19d08f67390eada485d910a8d020631561
-Size (manedit-0.5.6.tar.bz2) = 425714 bytes
-SHA1 (patch-aa) = 9ace1dfdc027cbda50e2c06f08db6c16e2c27b63
-SHA1 (patch-ab) = 80a4e693601b353c271d1fbd9afb31bace75f75e
-SHA1 (patch-ac) = 05b59bc0315256dc9486f361699e1fa1688a3a04
-SHA1 (patch-ad) = c59ff342f72f33834b1a25e300a36d2579330686
-SHA1 (patch-ae) = 9cb79121a5c271d240b4362c91ad59bed499c571
+SHA1 (manedit-0.8.1.tar.bz2) = 0b1705383840598ae7ced22ce5eb7f111008885b
+RMD160 (manedit-0.8.1.tar.bz2) = 17d378fad7a0dbe8d7b4c09b334dfc0768b0932e
+Size (manedit-0.8.1.tar.bz2) = 514226 bytes
+SHA1 (patch-aa) = b6b2443fca5fcab3367c49a011945b36a771ac74
+SHA1 (patch-ab) = f676d624b6df1474e69f829cee45bd5b4f76d63a
+SHA1 (patch-ac) = d88728e2932270b320c07be7fc5a327c0b8650d2
+SHA1 (patch-ad) = 56d64a76684534bde76ed2fda13bcd94b00cb125
+SHA1 (patch-ae) = 418b0d379626b7eb6176ba15e7c228e985262005
 SHA1 (patch-af) = 8ff383b82b3813778aefa0e5ec72a76246089fbc
+SHA1 (patch-ag) = c4629c9787fc2e0125692b7f480433feb76b4de8
diff -r e9aa1ae0f88d -r 48f4cd4adde2 editors/manedit/patches/patch-aa
--- a/editors/manedit/patches/patch-aa  Sun Oct 14 07:48:52 2007 +0000
+++ b/editors/manedit/patches/patch-aa  Sun Oct 14 07:49:54 2007 +0000
@@ -1,19 +1,20 @@
-$NetBSD: patch-aa,v 1.4 2002/12/30 00:00:18 kristerw Exp $
---- prochandle.cpp.orig        Sun Dec 29 23:24:30 2002
-+++ prochandle.cpp     Sun Dec 29 23:31:23 2002
-@@ -230,6 +230,7 @@
+$NetBSD: patch-aa,v 1.5 2007/10/14 07:49:54 rillig Exp $
+--- prochandle.cpp.orig        2007-02-11 09:00:00.000000000 +0100
++++ prochandle.cpp     2007-10-14 09:38:21.000000000 +0200
+@@ -270,6 +270,7 @@ char **ExecExplodeCommand(const char *cm
  /*
-  *      Returns true if the process is still running.
+  *    Returns true if the process is still running.
   */
 +#if 0
  int ExecProcessExists(pid_t pid)
  {
-         struct sched_param sp;
-@@ -247,6 +248,7 @@
-         else
-             return(0);
+ #ifdef __linux__
+@@ -294,7 +295,7 @@ int ExecProcessExists(pid_t pid)
+           return(0);
+ #endif
  }
+-
 +#endif
  
- 
  /*
+  *    Returns the CPU load as a coefficient value from 0.0 to 1.0.
diff -r e9aa1ae0f88d -r 48f4cd4adde2 editors/manedit/patches/patch-ab
--- a/editors/manedit/patches/patch-ab  Sun Oct 14 07:48:52 2007 +0000
+++ b/editors/manedit/patches/patch-ab  Sun Oct 14 07:49:54 2007 +0000
@@ -1,4 +1,5 @@
-$NetBSD: patch-ab,v 1.4 2002/12/30 00:00:18 kristerw Exp $
+$NetBSD: patch-ab,v 1.5 2007/10/14 07:49:54 rillig Exp $
+
 --- config.h.orig      Mon Dec 30 00:43:48 2002
 +++ config.h   Mon Dec 30 00:42:47 2002
 @@ -135,7 +135,7 @@
diff -r e9aa1ae0f88d -r 48f4cd4adde2 editors/manedit/patches/patch-ac
--- a/editors/manedit/patches/patch-ac  Sun Oct 14 07:48:52 2007 +0000
+++ b/editors/manedit/patches/patch-ac  Sun Oct 14 07:49:54 2007 +0000
@@ -1,7 +1,8 @@
-$NetBSD: patch-ac,v 1.3 2002/12/30 00:00:18 kristerw Exp $
---- pref.c.orig        Mon Dec 30 00:45:32 2002
-+++ pref.c     Mon Dec 30 00:46:21 2002
-@@ -1725,7 +1725,7 @@
+$NetBSD: patch-ac,v 1.4 2007/10/14 07:49:54 rillig Exp $
+
+--- pref.c.orig        2007-02-11 09:00:00.000000000 +0100
++++ pref.c     2007-10-14 09:27:47.000000000 +0200
+@@ -1705,7 +1705,7 @@ static void PrefCreatePanelLocations(pre
             * first index of the text array (that's text[0]).
             */
  
@@ -10,21 +11,21 @@
            text[0] = "/usr/share/man";
  #else
            text[0] = "/usr/man";
-@@ -1733,7 +1733,7 @@
+@@ -1713,7 +1713,7 @@ static void PrefCreatePanelLocations(pre
            text[1] = "Global";
            gtk_clist_append(GTK_CLIST(w), text);
  
 -#if defined(__FreeBSD__)
 +#if defined(__FreeBSD__) || defined(__NetBSD__)
-             text[0] = LOCALBASE "/man";
+           text[0] = LOCALBASE "/man";
  #else
-             text[0] = "/usr/local/man";
-@@ -1741,7 +1741,7 @@
-             text[1] = "Local";
-             gtk_clist_append(GTK_CLIST(w), text);
+           text[0] = "/usr/local/man";
+@@ -1721,7 +1721,7 @@ static void PrefCreatePanelLocations(pre
+           text[1] = "Local";
+           gtk_clist_append(GTK_CLIST(w), text);
  
 -#if defined(__FreeBSD__)
 +#if defined(__FreeBSD__) || defined(__NetBSD__)
-             text[0] = X11BASE"/man";
+           text[0] = X11BASE"/man";
  #else
-             text[0] = "/usr/X11R6/man";
+           text[0] = "/usr/X11R6/man";
diff -r e9aa1ae0f88d -r 48f4cd4adde2 editors/manedit/patches/patch-ad
--- a/editors/manedit/patches/patch-ad  Sun Oct 14 07:48:52 2007 +0000
+++ b/editors/manedit/patches/patch-ad  Sun Oct 14 07:49:54 2007 +0000
@@ -1,4 +1,5 @@
-$NetBSD: patch-ad,v 1.3 2002/12/30 00:00:18 kristerw Exp $
+$NetBSD: patch-ad,v 1.4 2007/10/14 07:49:54 rillig Exp $
+
 --- prefcb.c.orig      Mon Dec 30 00:47:35 2002
 +++ prefcb.c   Mon Dec 30 00:47:46 2002
 @@ -704,7 +704,7 @@
diff -r e9aa1ae0f88d -r 48f4cd4adde2 editors/manedit/patches/patch-ae
--- a/editors/manedit/patches/patch-ae  Sun Oct 14 07:48:52 2007 +0000
+++ b/editors/manedit/patches/patch-ae  Sun Oct 14 07:49:54 2007 +0000
@@ -1,42 +1,382 @@
-$NetBSD: patch-ae,v 1.3 2004/03/20 22:08:11 agc Exp $
+$NetBSD: patch-ae,v 1.4 2007/10/14 07:49:54 rillig Exp $
 
---- editorcb.c 2004/03/20 21:48:19     1.1
-+++ editorcb.c 2004/03/20 22:01:19
-@@ -4257,13 +4257,13 @@
-       /* Confirm before replace. */
+--- editorcb.c.orig    2007-02-11 09:00:00.000000000 +0100
++++ editorcb.c 2007-10-14 09:30:48.000000000 +0200
+@@ -793,8 +793,8 @@ void EditorManualOpenCB(GtkWidget *widge
+                           CDialogSetTransientFor(toplevel);
+                           CDialogGetResponse(
+ "Manual Page Read-Only",
+-"This manual page is set read-only,\n\
+-you will not be able to save it.",
++"This manual page is set read-only,\n"
++"you will not be able to save it.",
+                               NULL,
+                               CDIALOG_ICON_WARNING,
+                               CDIALOG_BTNFLAG_OK,
+@@ -922,12 +922,12 @@ void EditorManualNewFromTemplateCB(GtkWi
+               CDialogGetResponse(
+ "Unable To Find Directory",
+                   msg,
+-"The specified Manual Page templates directory\n\
+-could not be found. This directory contains all\n\
+-Manual Page template files for this program.\n\
+-Verify that the specified paths for this program\n\
+-are defined properly in the preferences, go to\n\
+-edit->preferences->locations.",
++"The specified Manual Page templates directory\n"
++"could not be found. This directory contains all\n"
++"Manual Page template files for this program.\n"
++"Verify that the specified paths for this program\n"
++"are defined properly in the preferences, go to\n"
++"edit->preferences->locations.",
+                   CDIALOG_ICON_WARNING,
+                   CDIALOG_BTNFLAG_OK | CDIALOG_BTNFLAG_HELP,
+                   CDIALOG_BTNFLAG_OK
+@@ -1074,8 +1074,8 @@ void EditorManualSaveCB(GtkWidget *widge
+           CDialogSetTransientFor(toplevel);
+           CDialogGetResponse(
+ "Non-Critical Internal Error!",
+-"Unable to find the toplevel trunk branch for the\n\
+-selected branch.",
++"Unable to find the toplevel trunk branch for the\n"
++"selected branch.",
+               NULL,
+               CDIALOG_ICON_ERROR,
+               CDIALOG_BTNFLAG_OK,
+@@ -1129,9 +1129,9 @@ selected branch.",
+               CDialogGetResponse(
+                   "Save Manual Page Failed",
+                   msg,
+-"The specified manual page file could not be written\n\
+-to, please verify that the specified path exists and has\n\
+-write permissions set.",
++"The specified manual page file could not be written\n"
++"to, please verify that the specified path exists and has\n"
++"write permissions set.",
+                   CDIALOG_ICON_ERROR,
+                   CDIALOG_BTNFLAG_OK | CDIALOG_BTNFLAG_HELP,
+                   CDIALOG_BTNFLAG_OK
+@@ -1230,8 +1230,8 @@ void EditorManualSaveAsCB(GtkWidget *wid
+           CDialogSetTransientFor(toplevel);
+           CDialogGetResponse(
+ "Non-Critical Internal Error!",
+-"Could not find the toplevel trunk branch for the\n\
+-selected branch.",
++"Could not find the toplevel trunk branch for the\n"
++"selected branch.",
+               NULL,
+               CDIALOG_ICON_ERROR,
+               CDIALOG_BTNFLAG_OK, 
+@@ -1309,9 +1309,9 @@ selected branch.",
+               CDialogGetResponse(
+                   "Save Manual Page Failed",
+                   msg,
+-"The specified manual page file could not be written\n\
+-to, please verify that the given path exists and has\n\
+-write permissions set.",
++"The specified manual page file could not be written\n"
++"to, please verify that the given path exists and has\n"
++"write permissions set.",
+                   CDIALOG_ICON_ERROR,
+                   CDIALOG_BTNFLAG_OK | CDIALOG_BTNFLAG_HELP,
+                   CDIALOG_BTNFLAG_OK
+@@ -1414,8 +1414,8 @@ void EditorManualRevertCB(GtkWidget *wid
+           CDialogSetTransientFor(toplevel);
+           CDialogGetResponse(
+ "Non-Critical Internal Error!",
+-"Could not find the item data for the selected\n\
+-Manual Page.",
++"Could not find the item data for the selected\n"
++"Manual Page.",
+               NULL,
+               CDIALOG_ICON_ERROR,
+               CDIALOG_BTNFLAG_OK,
+@@ -1434,9 +1434,9 @@ Manual Page.",
+           CDialogSetTransientFor(toplevel);
+           CDialogGetResponse(
+ "No file data to revert to!",
+-"The selected Manual Page has no associated file,\n\
+-which implies that it has never been saved before.\n\
+-There is no file data to revert to.",
++"The selected Manual Page has no associated file,\n"
++"which implies that it has never been saved before.\n"
++"There is no file data to revert to.",
+               NULL,
+               CDIALOG_ICON_WARNING,
+               CDIALOG_BTNFLAG_OK,
+@@ -1530,9 +1530,9 @@ There is no file data to revert to.",
+           CDialogSetTransientFor(toplevel);
+           CDialogGetResponse(
+ "Revert Failed",
+-"The orignal file containing the manual page data\n\
+-could not be found. It may have been moved or deleted,\n\
+-try opening it manually by going to File->Open.",
++"The orignal file containing the manual page data\n"
++"could not be found. It may have been moved or deleted,\n"
++"try opening it manually by going to File->Open.",
+               NULL,
+               CDIALOG_ICON_ERROR,
+               CDIALOG_BTNFLAG_OK,
+@@ -1545,8 +1545,8 @@ try opening it manually by going to File
+           CDialogSetTransientFor(toplevel);
+           CDialogGetResponse(
+ "Revert Failed",
+-"An error occured while reloading the selected manual\n\
+-page. Try reloading manual by going to File->Open.",



Home | Main Index | Thread Index | Old Index