diff options
author | nia <nia@pkgsrc.org> | 2020-05-28 12:06:17 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-05-28 12:06:17 +0000 |
commit | a7b102e1a4ac8e070a7aca1f569eb13cb784c836 (patch) | |
tree | 3ea296a0d38a60e65b9e1e32adf00467a9139adc /editors | |
parent | 65a465f4452662146590c308ff0e93db53603a5a (diff) | |
download | pkgsrc-a7b102e1a4ac8e070a7aca1f569eb13cb784c836.tar.gz |
editors: remove notecase
"The free NoteCase Outliner has been discontinued in 2008, in favor of a much advanced variant of the program called NoteCase Pro.
NoteCase Pro, albeit a commercial product, can be used for free with some limitations, but even the free mode of NoteCase Pro is much more advanced than the old NoteCase.
Proceed to NoteCase Pro: ..."
Diffstat (limited to 'editors')
-rw-r--r-- | editors/Makefile | 3 | ||||
-rw-r--r-- | editors/notecase/DESCR | 6 | ||||
-rw-r--r-- | editors/notecase/Makefile | 27 | ||||
-rw-r--r-- | editors/notecase/PLIST | 39 | ||||
-rw-r--r-- | editors/notecase/distinfo | 16 | ||||
-rw-r--r-- | editors/notecase/patches/patch-aa | 13 | ||||
-rw-r--r-- | editors/notecase/patches/patch-ab | 13 | ||||
-rw-r--r-- | editors/notecase/patches/patch-ad | 59 | ||||
-rw-r--r-- | editors/notecase/patches/patch-ae | 46 | ||||
-rw-r--r-- | editors/notecase/patches/patch-af | 13 | ||||
-rw-r--r-- | editors/notecase/patches/patch-ag | 30 | ||||
-rw-r--r-- | editors/notecase/patches/patch-ah | 13 | ||||
-rw-r--r-- | editors/notecase/patches/patch-src_gui_GuiLanguage.cpp | 12 | ||||
-rw-r--r-- | editors/notecase/patches/patch-src_lib_EnumDirectory.cpp | 22 | ||||
-rw-r--r-- | editors/notecase/patches/patch-src_lib_IniFile.cpp | 12 |
15 files changed, 1 insertions, 323 deletions
diff --git a/editors/Makefile b/editors/Makefile index 36f37aea742..7583ceced60 100644 --- a/editors/Makefile +++ b/editors/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.203 2020/04/15 16:06:21 wiz Exp $ +# $NetBSD: Makefile,v 1.204 2020/05/28 12:06:17 nia Exp $ # COMMENT= Editors @@ -88,7 +88,6 @@ SUBDIR+= ne SUBDIR+= neatvi SUBDIR+= nedit SUBDIR+= ng -SUBDIR+= notecase SUBDIR+= nts SUBDIR+= nvi SUBDIR+= nvi-m17n diff --git a/editors/notecase/DESCR b/editors/notecase/DESCR deleted file mode 100644 index 276871d07ba..00000000000 --- a/editors/notecase/DESCR +++ /dev/null @@ -1,6 +0,0 @@ -NoteCase is a hierarchical note manager (aka. outliner). It helps you -organize your everyday text notes into a single document, with -individual notes placed in the tree-like structure (each note can have -its sub-notes, ...). -To ensure your privacy, encrypted document format is supported, -along with standard unencrypted format. diff --git a/editors/notecase/Makefile b/editors/notecase/Makefile deleted file mode 100644 index 0a9bf7c4d54..00000000000 --- a/editors/notecase/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -# $NetBSD: Makefile,v 1.57 2020/03/20 11:57:34 nia Exp $ -# - -DISTNAME= notecase-1.8.8_src -PKGNAME= notecase-1.8.8 -PKGREVISION= 41 -CATEGORIES= editors -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=notecase/} - -MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://notecase.sourceforge.net/ -COMMENT= Hierarchical note manager - -WRKSRC= ${WRKDIR}/notecase-1.8.8 -USE_LANGUAGES= c c++ -USE_TOOLS+= gmake msgfmt pkg-config gsed - -LDFLAGS.DragonFly= -lX11 - -INSTALLATION_DIRS= share/doc/notecase share/locale/fr_CA/LC_MESSAGES \ - share/locale/no/LC_MESSAGES - -.include "../../x11/gtk2/buildlink3.mk" -.include "../../sysutils/gnome-vfs/buildlink3.mk" -.include "../../sysutils/desktop-file-utils/desktopdb.mk" -.include "../../databases/shared-mime-info/mimedb.mk" -.include "../../mk/bsd.pkg.mk" diff --git a/editors/notecase/PLIST b/editors/notecase/PLIST deleted file mode 100644 index 50d57b09dd6..00000000000 --- a/editors/notecase/PLIST +++ /dev/null @@ -1,39 +0,0 @@ -@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:50:25 joerg Exp $ -bin/notecase -share/applications/notecase.desktop -share/doc/notecase/help.ncd -share/locale/ar/LC_MESSAGES/notecase.mo -share/locale/ca/LC_MESSAGES/notecase.mo -share/locale/cs/LC_MESSAGES/notecase.mo -share/locale/da/LC_MESSAGES/notecase.mo -share/locale/de/LC_MESSAGES/notecase.mo -share/locale/el/LC_MESSAGES/notecase.mo -share/locale/es/LC_MESSAGES/notecase.mo -share/locale/et/LC_MESSAGES/notecase.mo -share/locale/fi/LC_MESSAGES/notecase.mo -share/locale/fr/LC_MESSAGES/notecase.mo -share/locale/fr_CA/LC_MESSAGES/notecase.mo -share/locale/hr/LC_MESSAGES/notecase.mo -share/locale/hu/LC_MESSAGES/notecase.mo -share/locale/id/LC_MESSAGES/notecase.mo -share/locale/it/LC_MESSAGES/notecase.mo -share/locale/ja/LC_MESSAGES/notecase.mo -share/locale/ko/LC_MESSAGES/notecase.mo -share/locale/ms/LC_MESSAGES/notecase.mo -share/locale/nl/LC_MESSAGES/notecase.mo -share/locale/no/LC_MESSAGES/notecase.mo -share/locale/pl/LC_MESSAGES/notecase.mo -share/locale/pt/LC_MESSAGES/notecase.mo -share/locale/pt_BR/LC_MESSAGES/notecase.mo -share/locale/ro/LC_MESSAGES/notecase.mo -share/locale/ru/LC_MESSAGES/notecase.mo -share/locale/sk/LC_MESSAGES/notecase.mo -share/locale/sl/LC_MESSAGES/notecase.mo -share/locale/sr/LC_MESSAGES/notecase.mo -share/locale/sv/LC_MESSAGES/notecase.mo -share/locale/ta/LC_MESSAGES/notecase.mo -share/locale/tr/LC_MESSAGES/notecase.mo -share/locale/zh_CN/LC_MESSAGES/notecase.mo -share/locale/zh_TW/LC_MESSAGES/notecase.mo -share/mime/packages/notecase.xml -share/pixmaps/notecase.xpm diff --git a/editors/notecase/distinfo b/editors/notecase/distinfo deleted file mode 100644 index 14ca2f042ab..00000000000 --- a/editors/notecase/distinfo +++ /dev/null @@ -1,16 +0,0 @@ -$NetBSD: distinfo,v 1.9 2015/11/03 03:32:19 agc Exp $ - -SHA1 (notecase-1.8.8_src.tar.gz) = 9657fc83ed4c1820f713b4106c113acaabf6a3b3 -RMD160 (notecase-1.8.8_src.tar.gz) = ae98102173e85530c22bbd9d92df23bea9b67886 -SHA512 (notecase-1.8.8_src.tar.gz) = 3d0d271939ef633161d68b68ace9b5694c1d6bc55b1d5e4cb1bda405eafc65a9bc7c7f8b8c7bb95d5aa038c85d26c48c3edc07a3203f23e9efb7d05f83a29703 -Size (notecase-1.8.8_src.tar.gz) = 891728 bytes -SHA1 (patch-aa) = 8bc5b50c7b2372894989e82516569fd5703ce9f8 -SHA1 (patch-ab) = 95ee573e4707f28234f4f738394ae76b8f49bcbb -SHA1 (patch-ad) = 24fb948fa9017203e95a0bd37cd1c5afcbc21935 -SHA1 (patch-ae) = 355b89d234a95697c5344bbfe24d347e9cd630f7 -SHA1 (patch-af) = eab3d1dfa00cb2eed49b4a08ad780d295b9a9dda -SHA1 (patch-ag) = 376e7c934beb5b666503b92e970695ece879d4cc -SHA1 (patch-ah) = cb8cca8e9980f13a6e3c4b1731fa1ae17136dd09 -SHA1 (patch-src_gui_GuiLanguage.cpp) = fd95aa3a7101b8b504b860bf976a96d7fc14d0cf -SHA1 (patch-src_lib_EnumDirectory.cpp) = d0f192e97444f2decafdd67a830a061a14765a02 -SHA1 (patch-src_lib_IniFile.cpp) = b47543cad27edd6acf69052b7e8a7845fc731f15 diff --git a/editors/notecase/patches/patch-aa b/editors/notecase/patches/patch-aa deleted file mode 100644 index 5d2991d444c..00000000000 --- a/editors/notecase/patches/patch-aa +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-aa,v 1.2 2011/12/08 20:41:47 marino Exp $ - ---- src/callbacks.cpp.orig 2007-11-12 15:41:56.000000000 +0100 -+++ src/callbacks.cpp -@@ -23,7 +23,7 @@ - #include "lib/debug.h" - #include "ExecuteFile.h" - --#if defined (__FreeBSD__) || defined (__APPLE__) -+#if defined (__FreeBSD__) || defined (__APPLE__) || defined (__NetBSD__) || defined (__DragonFly__) - #include <libgen.h> //basename - #endif - diff --git a/editors/notecase/patches/patch-ab b/editors/notecase/patches/patch-ab deleted file mode 100644 index 4918859c4e7..00000000000 --- a/editors/notecase/patches/patch-ab +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ab,v 1.2 2011/12/08 20:41:47 marino Exp $ - ---- src/main.cpp.orig 2007-11-12 15:40:07.000000000 +0100 -+++ src/main.cpp -@@ -32,7 +32,7 @@ - #include <unistd.h> //access - #endif - --#if defined (__FreeBSD__) || defined (__APPLE__) -+#if defined (__FreeBSD__) || defined (__APPLE__) || defined (__NetBSD__) || defined (__DragonFly__) - #include <libgen.h> //basename - #endif - diff --git a/editors/notecase/patches/patch-ad b/editors/notecase/patches/patch-ad deleted file mode 100644 index 55f3237358f..00000000000 --- a/editors/notecase/patches/patch-ad +++ /dev/null @@ -1,59 +0,0 @@ -$NetBSD: patch-ad,v 1.6 2010/01/29 19:54:39 joerg Exp $ - ---- Makefile.orig 2008-04-24 10:10:36.000000000 +0000 -+++ Makefile -@@ -10,7 +10,7 @@ - VERSION=1.8.8 - - # define install target dirs --prefix=/usr -+prefix=${PREFIX} - bindir=$(prefix)/bin - datadir=$(prefix)/share - -@@ -130,7 +130,7 @@ BIN=./bin - OBJ=./bin - - #define proper install flags --INSTALL=install -D -+INSTALL=install -c - ifdef OSX_BUILD - INSTALL=install -c - endif -@@ -170,7 +170,7 @@ CC=$(QC) $(CXX) $(DEBUG) $(PROFILE) -DEN - ifdef WINDIR - LD=$(QL) $(CXX) $(DEBUG) $(PROFILE) $(LDFLAGS) -L$(OBJ) -lz - else -- LD=$(QL) $(CXX) $(DEBUG) $(PROFILE) $(LDFLAGS) -ldl -+ LD=$(QL) $(CXX) $(DEBUG) $(PROFILE) $(LDFLAGS) -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -lz - endif - - ifndef OSX_BUILD -@@ -203,7 +203,6 @@ OBJS= $(OBJ)/main.o $(OBJ)/support.o $(O - $(OBJ)/IOLayerRedirect.o $(OBJ)/FileExportDlg.o $(OBJ)/FormatIOTxt.o $(OBJ)/FindReplaceDlg.o \ - $(OBJ)/FindReplaceInfo.o $(OBJ)/LinkInfo.o $(OBJ)/LinkPropertiesDlg.o $(OBJ)/ExecuteFile.o \ - $(OBJ)/FileSaveAsDlg.o $(OBJ)/CircularBuffer.o $(OBJ)/FormatIOMMLX.o \ -- $(OBJ)/libz.a \ - $(OBJ)/ProgressDlg.o $(OBJ)/DocActionPix.o $(OBJ)/DocActionFinish.o $(OBJ)/DocActionFmt.o $(OBJ)/FmtInfo.o \ - $(OBJ)/FileAttachmentDlg.o $(OBJ)/DocActionAtt.o $(OBJ)/PixPropertiesDlg.o $(OBJ)/DocActionFinishDel.o \ - $(OBJ)/ShortcutsList.o $(OBJ)/ShortcutsListDlg.o $(OBJ)/DateTimeDlg.o $(OBJ)/AboutDlg.o $(OBJ)/EditDlg.o \ -@@ -526,9 +525,7 @@ poinstall: - rm -f po/messages.mo; \ - msgfmt $$i -o po/messages.mo; \ - echo "Installing: $(DESTDIR)$(datadir)/locale/$$loc/LC_MESSAGES/notecase.mo";\ -- if [ "$(OSX_BUILD)" = "1" ]; then \ -- mkdir -p $(DESTDIR)$(datadir)/locale/$$loc/LC_MESSAGES/; \ -- fi; \ -+ mkdir -p $(DESTDIR)$(datadir)/locale/$$loc/LC_MESSAGES/; \ - $(INSTALL) -m 644 po/messages.mo "$(DESTDIR)$(datadir)/locale/$$loc/LC_MESSAGES/notecase.mo"; \ - done; \ - rm -f po/messages.mo; -@@ -630,7 +627,7 @@ updatesrc: - $(Q)$(SED) 's/^Version:.*/Version: $(VERSION)/' ./docs/notecase.spec - $(Q)$(SED) 's/^Source:.*/Source: $(archive)_src.tar.gz/' ./docs/notecase.spec - $(Q)$(SED) 's/\#define APP_VER_STR .*/\#define APP_VER_STR "$(VERSION)"/' ./src/config.h -- #$(Q)$(SED) 's:\#define INSTALL_PREFIX .*:\#define INSTALL_PREFIX "$(DESTDIR)$(prefix)":' ./src/config.h -+ $(Q)$(SED) 's:\#define INSTALL_PREFIX .*:\#define INSTALL_PREFIX "$(DESTDIR)$(prefix)":' ./src/config.h - $(Q)if [ "$(HAVE_GNOME_VFS)" = "" ]; then \ - $(SED) 's:[/]*#define HAVE_GNOME_VFS.*://#define HAVE_GNOME_VFS:' ./src/config.h; \ - else \ diff --git a/editors/notecase/patches/patch-ae b/editors/notecase/patches/patch-ae deleted file mode 100644 index cc36b3ebd7f..00000000000 --- a/editors/notecase/patches/patch-ae +++ /dev/null @@ -1,46 +0,0 @@ -$NetBSD: patch-ae,v 1.2 2008/02/28 20:59:03 drochner Exp $ - ---- src/lib/FilePath.cpp.orig 2008-02-25 11:38:32.000000000 +0100 -+++ src/lib/FilePath.cpp -@@ -23,6 +23,8 @@ - #include <unistd.h> - #endif - -+#include "../config.h" -+ - #define PATH_DELIMITERS "\\/" - - std::string GetTempDirectory() -@@ -106,31 +108,7 @@ std::string GetAppPath() - ::GetModuleFileName(NULL, buf, 511); - path = buf; - #else -- //code adapted from public domain code by Nicolai Haehnle <prefect_@gmx.net> -- char linkname[64]; /* /proc/<pid>/exe */ -- int ret; -- -- /* Get our PID and build the name of the link in /proc */ -- pid_t pid = getpid(); -- -- if (snprintf(linkname, sizeof(linkname), "/proc/%i/exe", pid) < 0) -- return path; //error -- -- /* Now read the symbolic link */ -- char buffer[2048]; -- ret = readlink(linkname, buffer, sizeof(buffer)); -- -- /* In case of an error, leave the handling up to the caller */ -- if (ret == -1) -- return path; -- -- /* Report insufficient buffer size */ -- if (ret >= (int)sizeof(buffer)) -- return path; -- -- buffer[ret] = '\0'; //terminate the buffer -- -- path = buffer; -+ path = INSTALL_PREFIX "/bin/notecase"; - #endif - found = true; - } diff --git a/editors/notecase/patches/patch-af b/editors/notecase/patches/patch-af deleted file mode 100644 index ab47ea164ed..00000000000 --- a/editors/notecase/patches/patch-af +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-af,v 1.1.1.1 2007/11/22 20:50:09 drochner Exp $ - ---- ./src/lib/IOLayerZlib.h.orig 2007-11-21 20:13:30.000000000 +0100 -+++ ./src/lib/IOLayerZlib.h -@@ -18,7 +18,7 @@ - #endif // _MSC_VER > 1000 - - #include "IOLayerBase.h" --#include "zlib/zlib.h" -+#include <zlib.h> - - class IOLayerZlib : public IOLayerBase - { diff --git a/editors/notecase/patches/patch-ag b/editors/notecase/patches/patch-ag deleted file mode 100644 index e4044bd41c5..00000000000 --- a/editors/notecase/patches/patch-ag +++ /dev/null @@ -1,30 +0,0 @@ -$NetBSD: patch-ag,v 1.1.1.1 2007/11/22 20:50:09 drochner Exp $ - ---- src/FileExportDlg.cpp.orig 2007-11-21 20:49:35.000000000 +0100 -+++ src/FileExportDlg.cpp -@@ -48,6 +48,7 @@ FileExportDlg::FileExportDlg() - m_formats[3].szFilter = "*.html"; - m_formats[4].szName = _("Text file (*.txt)"); - m_formats[4].szFilter = "*.txt"; -+#if 0 - #ifdef _WIN32 - m_formats[5].szName = _("Standalone executable (*.exe)"); - m_formats[5].szFilter = "*.exe"; -@@ -55,6 +56,7 @@ FileExportDlg::FileExportDlg() - m_formats[5].szName = _("Standalone executable"); - m_formats[5].szFilter = "*"; - #endif -+#endif - - Create(); - } -@@ -187,7 +189,9 @@ int FileExportDlg::GetFormatCode() - case 2: return FORMAT_NOTECENTER_HTML; - case 3: return FORMAT_HTML; - case 4: return FORMAT_TXT; -+#if 0 - case 5: return FORMAT_EXECUTABLE; -+#endif - } - return FORMAT_NONE; - } diff --git a/editors/notecase/patches/patch-ah b/editors/notecase/patches/patch-ah deleted file mode 100644 index bedd701f3d9..00000000000 --- a/editors/notecase/patches/patch-ah +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ah,v 1.1.1.1 2007/11/22 20:50:09 drochner Exp $ - ---- src/FileExportDlg.h.orig 2007-11-22 16:15:06.000000000 +0100 -+++ src/FileExportDlg.h -@@ -43,7 +43,7 @@ public: - bool GetExportLinked(); - - public: -- struct _fmt m_formats[6]; //export formats info -+ struct _fmt m_formats[5]; //export formats info - void ForceFormatExtension(); - - protected: diff --git a/editors/notecase/patches/patch-src_gui_GuiLanguage.cpp b/editors/notecase/patches/patch-src_gui_GuiLanguage.cpp deleted file mode 100644 index 5e453502b20..00000000000 --- a/editors/notecase/patches/patch-src_gui_GuiLanguage.cpp +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-src_gui_GuiLanguage.cpp,v 1.1 2013/05/23 18:39:35 joerg Exp $ - ---- src/gui/GuiLanguage.cpp.orig 2013-05-23 16:49:00.000000000 +0000 -+++ src/gui/GuiLanguage.cpp -@@ -13,6 +13,7 @@ - #include "../config.h" - #include "GuiLanguage.h" - #include <algorithm> -+#include <cstdlib> - #include <gtk/gtk.h> - #ifdef ENABLE_NLS - #include <libintl.h> diff --git a/editors/notecase/patches/patch-src_lib_EnumDirectory.cpp b/editors/notecase/patches/patch-src_lib_EnumDirectory.cpp deleted file mode 100644 index 7822cff5609..00000000000 --- a/editors/notecase/patches/patch-src_lib_EnumDirectory.cpp +++ /dev/null @@ -1,22 +0,0 @@ -$NetBSD: patch-src_lib_EnumDirectory.cpp,v 1.1 2011/12/08 20:41:47 marino Exp $ - ---- src/lib/EnumDirectory.cpp.orig 2011-12-08 16:39:12.229180000 +0000 -+++ src/lib/EnumDirectory.cpp -@@ -113,10 +113,16 @@ int EnumDirectory(const char *szPath, FN - int EnumDirectory(const char *szPath, FN_ENUMDIR func, void *userdata, int nFilter) - { - struct dirent *resp; -- char buf[sizeof(struct dirent)+MAXNAMLEN]; //dirent struct buffer - -+#if defined(__DragonFly__) -+ char buf[sizeof(struct dirent)+256]; -+ char tmp[256]; -+ char dir[256]; -+#else -+ char buf[sizeof(struct dirent)+MAXNAMLEN]; //dirent struct buffer - char tmp[MAXNAMLEN]; //buffer for full path of found file - char dir[MAXNAMLEN]; //buffer for dir name of found file -+#endif - struct stat statbuf; - int r; - diff --git a/editors/notecase/patches/patch-src_lib_IniFile.cpp b/editors/notecase/patches/patch-src_lib_IniFile.cpp deleted file mode 100644 index 5115af199f5..00000000000 --- a/editors/notecase/patches/patch-src_lib_IniFile.cpp +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-src_lib_IniFile.cpp,v 1.1 2013/05/23 18:39:35 joerg Exp $ - ---- src/lib/IniFile.cpp.orig 2013-05-23 16:49:49.000000000 +0000 -+++ src/lib/IniFile.cpp -@@ -8,6 +8,7 @@ - - #include "IniFile.h" - #include <algorithm> //find() function -+#include <cstdlib> - #include <string> - #include "File64.h" - #include "FilePath.h" |