FreeBSD Bugzilla – Attachment 79915 Details for
Bug 114730
New port:deskutils/notecase A hierarchical text notes manager
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
notecase.shar
notecase.shar (text/plain), 12.58 KB, created by
Yinghong. Liu
on 2007-07-19 15:40:02 UTC
(
hide
)
Description:
notecase.shar
Filename:
MIME Type:
Creator:
Yinghong. Liu
Created:
2007-07-19 15:40:02 UTC
Size:
12.58 KB
patch
obsolete
># 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: ># ># notecase ># notecase/Makefile ># notecase/distinfo ># notecase/files ># notecase/pkg-descr ># notecase/pkg-plist ># notecase/files/patch-Makefile ># notecase/files/patch-src_gui_GuiLanguage.cpp ># notecase/files/patch-src_lib_CircularBuffer.cpp ># notecase/files/patch-src_main.cpp ># >echo c - notecase >mkdir -p notecase > /dev/null 2>&1 >echo x - notecase/Makefile >sed 's/^X//' >notecase/Makefile << 'END-of-notecase/Makefile' >X# New ports collection makefile for: notecase >X# Date created: 19 July 2007 >X# Whom: Yinghong.Liu <relaxbsd@gmail.com> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= notecase >XPORTVERSION= 1.5.8 >XCATEGORIES= deskutils textproc >XMASTER_SITES= SF >XMASTER_SITE_SUBDIR=${PORTNAME} >XDISTNAME= ${PORTNAME}-${PORTVERSION}_src >X >XMAINTAINER= relaxbsd@gmail.com >XCOMMENT= A hierarchical text notes manager >X >XUSE_GMAKE= yes >XUSE_GNOME= gtk20 gnomevfs2 desktopfileutils >XUSE_GETTEXT= yes >X >XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} >X >X.if !defined(NOPORTDOCS) >XINSTALL_TARGET= install docinstall >X.endif >X >Xpost-patch: >X @${REINPLACE_CMD} -e 's|prefix=/usr|prefix=${PREFIX}|' \ >X ${WRKSRC}/Makefile >X >Xpost-install: >X @-update-mime-database ${PREFIX}/share/mime >X @-update-desktop-database >X >X.include <bsd.port.mk> >END-of-notecase/Makefile >echo x - notecase/distinfo >sed 's/^X//' >notecase/distinfo << 'END-of-notecase/distinfo' >XMD5 (notecase-1.5.8_src.tar.gz) = 6e44c5e7bff2afdec36f63963fe18b20 >XSHA256 (notecase-1.5.8_src.tar.gz) = b27ac143df957483fba88c98885551657377f173fb588ac1be395ffb0c92683f >XSIZE (notecase-1.5.8_src.tar.gz) = 667078 >END-of-notecase/distinfo >echo c - notecase/files >mkdir -p notecase/files > /dev/null 2>&1 >echo x - notecase/pkg-descr >sed 's/^X//' >notecase/pkg-descr << 'END-of-notecase/pkg-descr' >XNoteCase is a hierarchical text notes manager (a.k.a. outliner). It helps you >Xorganize your everyday text notes into a single document with individual notes >Xplaced into a tree-like structure. To ensure your privacy an encrypted document >Xformat is supported along with a standard unencrypted one. >X >XWWW: http://notecase.sourceforge.net/ >END-of-notecase/pkg-descr >echo x - notecase/pkg-plist >sed 's/^X//' >notecase/pkg-plist << 'END-of-notecase/pkg-plist' >Xbin/notecase >Xshare/applications/notecase.desktop >X%%PORTDOCS%%%%DOCSDIR%%/help.ncd >X%%PORTDOCS%%%%DOCSDIR%%/license.txt >Xshare/locale/ar/LC_MESSAGES/notecase.mo >Xshare/locale/ca/LC_MESSAGES/notecase.mo >Xshare/locale/cs/LC_MESSAGES/notecase.mo >Xshare/locale/da/LC_MESSAGES/notecase.mo >Xshare/locale/de/LC_MESSAGES/notecase.mo >Xshare/locale/el/LC_MESSAGES/notecase.mo >Xshare/locale/es/LC_MESSAGES/notecase.mo >Xshare/locale/et/LC_MESSAGES/notecase.mo >Xshare/locale/fi/LC_MESSAGES/notecase.mo >Xshare/locale/fr/LC_MESSAGES/notecase.mo >Xshare/locale/fr_CA/LC_MESSAGES/notecase.mo >Xshare/locale/hr/LC_MESSAGES/notecase.mo >Xshare/locale/hu/LC_MESSAGES/notecase.mo >Xshare/locale/id/LC_MESSAGES/notecase.mo >Xshare/locale/it/LC_MESSAGES/notecase.mo >Xshare/locale/ja/LC_MESSAGES/notecase.mo >Xshare/locale/ko/LC_MESSAGES/notecase.mo >Xshare/locale/ms/LC_MESSAGES/notecase.mo >Xshare/locale/nl/LC_MESSAGES/notecase.mo >Xshare/locale/nn/LC_MESSAGES/notecase.mo >Xshare/locale/no/LC_MESSAGES/notecase.mo >Xshare/locale/pl/LC_MESSAGES/notecase.mo >Xshare/locale/pt/LC_MESSAGES/notecase.mo >Xshare/locale/pt_BR/LC_MESSAGES/notecase.mo >Xshare/locale/ro/LC_MESSAGES/notecase.mo >Xshare/locale/ru/LC_MESSAGES/notecase.mo >Xshare/locale/sk/LC_MESSAGES/notecase.mo >Xshare/locale/sl/LC_MESSAGES/notecase.mo >Xshare/locale/sr/LC_MESSAGES/notecase.mo >Xshare/locale/sv/LC_MESSAGES/notecase.mo >Xshare/locale/ta/LC_MESSAGES/notecase.mo >Xshare/locale/tr/LC_MESSAGES/notecase.mo >Xshare/locale/zh_CN/LC_MESSAGES/notecase.mo >Xshare/locale/zh_TW/LC_MESSAGES/notecase.mo >Xshare/mime/packages/notecase.xml >Xshare/pixmaps/notecase.xpm >X@dirrmtry share/pixmaps >X@dirrmtry share/mime/packages >X@dirrmtry share/mime >X@dirrmtry share/locale/zh_TW/LC_MESSAGES >X@dirrmtry share/locale/zh_TW >X@dirrmtry share/locale/zh_CN/LC_MESSAGES >X@dirrmtry share/locale/zh_CN >X@dirrmtry share/locale/sr/LC_MESSAGES >X@dirrmtry share/locale/sr >X@dirrmtry share/locale/sl/LC_MESSAGES >X@dirrmtry share/locale/sl >X@dirrmtry share/locale/sk/LC_MESSAGES >X@dirrmtry share/locale/sk >X@dirrmtry share/locale/ro/LC_MESSAGES >X@dirrmtry share/locale/ro >X@dirrmtry share/locale/pt/LC_MESSAGES >X@dirrmtry share/locale/pt >X@dirrmtry share/locale/pl/LC_MESSAGES >X@dirrmtry share/locale/pl >X@dirrmtry share/locale/no/LC_MESSAGES >X@dirrmtry share/locale/no >X@dirrmtry share/locale/nn/LC_MESSAGES >X@dirrmtry share/locale/nn >X@dirrmtry share/locale/ko/LC_MESSAGES >X@dirrmtry share/locale/ko >X@dirrmtry share/locale/fr_CA/LC_MESSAGES >X@dirrmtry share/locale/fr_CA >X@dirrmtry share/locale/fi/LC_MESSAGES >X@dirrmtry share/locale/fi >X@dirrmtry share/locale/el/LC_MESSAGES >X@dirrmtry share/locale/el >X@dirrmtry share/locale/cs/LC_MESSAGES >X@dirrmtry share/locale/cs >X@dirrmtry share/locale/ca/LC_MESSAGES >X@dirrmtry share/locale/ca >X@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime >X@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime >X@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true >X@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true >X%%PORTDOCS%%@dirrm %%DOCSDIR%% >X@dirrmtry share/applications >END-of-notecase/pkg-plist >echo x - notecase/files/patch-Makefile >sed 's/^X//' >notecase/files/patch-Makefile << 'END-of-notecase/files/patch-Makefile' >X--- Makefile.orig Mon Jun 25 12:53:44 2007 >X+++ Makefile Thu Jul 19 18:41:38 2007 >X@@ -80,7 +79,7 @@ >X ifdef WINDIR >X LD=$(QL) $(CXX) $(DEBUG) $(PROFILE) $(LOPTIMIZE) -L$(OBJ) -lz >X else >X- LD=$(QL) $(CXX) $(DEBUG) $(PROFILE) $(LOPTIMIZE) -ldl -export-dynamic $(LOPTIMIZE) >X+ LD=$(QL) $(CXX) $(DEBUG) $(PROFILE) $(LOPTIMIZE) -export-dynamic $(LOPTIMIZE) >X endif >X >X # >X@@ -360,7 +359,7 @@ >X $(CC) $(FLAGS) -c $(GUIPATH)/DocActionFinishDel.cpp -o $(OBJ)/DocActionFinishDel.o $(GTKCFLAGS) >X >X $(OBJ)/libz.a: >X- @cd ./src/lib/zlib/; make; cp ./libz.a ../../../$(OBJ)/ >X+ @cd ./src/lib/zlib/; gmake; cp ./libz.a ../../../$(OBJ)/ >X >X $(OBJ)/ShortcutsList.o: $(GUIPATH)/ShortcutsList.cpp $(GUIPATH)/ShortcutsList.h >X $(CC) $(FLAGS) -c $(GUIPATH)/ShortcutsList.cpp -o $(OBJ)/ShortcutsList.o $(GTKCFLAGS) >X@@ -405,7 +404,8 @@ >X rm -f po/messages.mo; \ >X msgfmt $$i -o po/messages.mo; \ >X echo "Installing: $(DESTDIR)$(datadir)/locale/$$loc/LC_MESSAGES/notecase.mo";\ >X- install -D -m 644 po/messages.mo "$(DESTDIR)$(datadir)/locale/$$loc/LC_MESSAGES/notecase.mo"; \ >X+ install -d $(DESTDIR)$(datadir)/locale/$$loc/LC_MESSAGES; \ >X+ install -m 644 -c po/messages.mo "$(DESTDIR)$(datadir)/locale/$$loc/LC_MESSAGES/notecase.mo"; \ >X done; \ >X rm -f po/messages.mo; >X @echo done installing translations >X@@ -413,16 +413,24 @@ >X pouninstall: >X @rm -vf $(DESTDIR)$(datadir)/locale/*/LC_MESSAGES/notecase.mo >X @echo done uninstalling translations >X- >X+ >X+docinstall: >X+ -install -d $(DESTDIR)$(datadir)/doc/notecase >X+ install -m 644 -c docs/help.ncd "$(DESTDIR)$(datadir)/doc/notecase/help.ncd" >X+ install -m 644 -c docs/license.txt "$(DESTDIR)$(datadir)/doc/notecase/license.txt" >X+ >X # >X # install application >X # >X install: notecase$(EXE) poinstall >X- install -D -m 755 $(BIN)/notecase "$(DESTDIR)$(bindir)/notecase" >X- install -D -m 644 docs/help.ncd "$(DESTDIR)$(datadir)/doc/notecase/help.ncd" >X- install -D -m 644 docs/notecase.desktop "$(DESTDIR)$(datadir)/applications/notecase.desktop" >X- install -D -m 644 docs/notecase.xml "$(DESTDIR)$(datadir)/mime/packages/notecase.xml" >X- install -D -m 644 res/notecase.xpm "$(DESTDIR)$(datadir)/pixmaps/notecase.xpm" >X+ -install -d $(DESTDIR)$(bindir) >X+ install -m 755 -c $(BIN)/notecase "$(DESTDIR)$(bindir)/notecase" >X+ -install -d $(DESTDIR)$(datadir)/applications >X+ install -m 644 -c docs/notecase.desktop "$(DESTDIR)$(datadir)/applications/notecase.desktop" >X+ -install -d $(DESTDIR)$(datadir)/mime/packages >X+ install -m 644 -c docs/notecase.xml "$(DESTDIR)$(datadir)/mime/packages/notecase.xml" >X+ -install -d $(DESTDIR)$(datadir)/pixmaps >X+ install -m 644 -c res/notecase.xpm "$(DESTDIR)$(datadir)/pixmaps/notecase.xpm" >X @echo done installing >X >X # >X@@ -474,23 +482,23 @@ >X # 7. update version in the control file used to build Debian/Ubuntu .deb package >X # >X updatesrc: >X- $(Q)sed -i 's/^Version:.*/Version: $(VERSION)/' ./docs/notecase.spec >X- $(Q)sed -i 's/^Source:.*/Source: $(archive).tar.gz/' ./docs/notecase.spec >X- $(Q)sed -i 's/\#define APP_VER_STR .*/\#define APP_VER_STR "$(VERSION)"/' ./src/config.h >X- $(Q)sed -i 's:\#define INSTALL_PREFIX .*:\#define INSTALL_PREFIX "$(DESTDIR)$(prefix)":' ./src/config.h >X+ $(Q)sed -i.bak 's/^Version:.*/Version: $(VERSION)/' ./docs/notecase.spec >X+ $(Q)sed -i.bak 's/^Source:.*/Source: $(archive).tar.gz/' ./docs/notecase.spec >X+ $(Q)sed -i.bak 's/\#define APP_VER_STR .*/\#define APP_VER_STR "$(VERSION)"/' ./src/config.h >X+ $(Q)sed -i.bak 's:\#define INSTALL_PREFIX .*:\#define INSTALL_PREFIX "$(DESTDIR)$(prefix)":' ./src/config.h >X $(Q)if [ "$(HAVE_GNOME_VFS)" = "" ]; then \ >X- sed -i 's:[/]*#define HAVE_GNOME_VFS.*://#define HAVE_GNOME_VFS:' ./src/config.h; \ >X+ sed -i.bak 's:[/]*#define HAVE_GNOME_VFS.*://#define HAVE_GNOME_VFS:' ./src/config.h; \ >X else \ >X- sed -i 's:[/]*#define HAVE_GNOME_VFS.*:#define HAVE_GNOME_VFS:' ./src/config.h; \ >X+ sed -i.bak 's:[/]*#define HAVE_GNOME_VFS.*:#define HAVE_GNOME_VFS:' ./src/config.h; \ >X fi; >X $(Q)if [ "$(ZAURUS)" = "" ]; then \ >X- sed -i 's:[/]*#define _ZAURUS_BUILD.*://#define _ZAURUS_BUILD:' ./src/config.h; \ >X+ sed -i.bak 's:[/]*#define _ZAURUS_BUILD.*://#define _ZAURUS_BUILD:' ./src/config.h; \ >X else \ >X- sed -i 's:[/]*#define _ZAURUS_BUILD.*:#define _ZAURUS_BUILD:' ./src/config.h; \ >X+ sed -i.bak 's:[/]*#define _ZAURUS_BUILD.*:#define _ZAURUS_BUILD:' ./src/config.h; \ >X fi; >X- $(Q)sed -i 's/^Version: .*/Version: $(VERSION)/' ./docs/control >X- $(Q)sed -i 's/^Version: .*/Version: $(VERSION)/' ./debian/control >X- $(Q)sed -i 's/^Architecture: .*/Architecture: $(ARCH)/' ./debian/control >X+ $(Q)sed -i.bak 's/^Version: .*/Version: $(VERSION)/' ./docs/control >X+ $(Q)sed -i.bak 's/^Version: .*/Version: $(VERSION)/' ./debian/control >X+ $(Q)sed -i.bak 's/^Architecture: .*/Architecture: $(ARCH)/' ./debian/control >X >X # >X # - convert sources to DOS text format (this is multiplatform project) >X@@ -591,9 +599,9 @@ >X # >X clean: >X @echo cleaning up >X- $(Q)cd ./src/lib/zlib/; make clean; >X+ $(Q)cd ./src/lib/zlib/; gmake clean; >X $(Q)rm -f $(OBJ)/*.o $(OBJ)/*.d $(OBJ)/*.a $(BIN)/core.* $(BIN)/notecase$(EXE) ./gmon.out >X $(Q)rm -rf ./notecase >X >X >X-.PHONY : all help poinstall pouninstall install uninstall rpm pack packdos updatesrcdos updatesrc updatemime clean ipk deb weexpc check install2 >X\ No newline at end of file >X+.PHONY : all help poinstall pouninstall install uninstall rpm pack packdos updatesrcdos updatesrc updatemime clean ipk deb weexpc check install2 >END-of-notecase/files/patch-Makefile >echo x - notecase/files/patch-src_gui_GuiLanguage.cpp >sed 's/^X//' >notecase/files/patch-src_gui_GuiLanguage.cpp << 'END-of-notecase/files/patch-src_gui_GuiLanguage.cpp' >X--- src/gui/GuiLanguage.cpp.orig Wed Jun 6 15:38:20 2007 >X+++ src/gui/GuiLanguage.cpp Thu Jul 19 17:19:33 2007 >X@@ -13,6 +13,7 @@ >X #include "GuiLanguage.h" >X #include <algorithm> >X #include <gtk/gtk.h> >X+#include <libgen.h> >X #ifdef ENABLE_NLS >X #include <libintl.h> >X #endif >END-of-notecase/files/patch-src_gui_GuiLanguage.cpp >echo x - notecase/files/patch-src_lib_CircularBuffer.cpp >sed 's/^X//' >notecase/files/patch-src_lib_CircularBuffer.cpp << 'END-of-notecase/files/patch-src_lib_CircularBuffer.cpp' >X--- src/lib/CircularBuffer.cpp.orig Tue Jul 10 16:23:18 2007 >X+++ src/lib/CircularBuffer.cpp Tue Jul 10 16:28:25 2007 >X@@ -115,7 +115,7 @@ >X struct timeval the_time; >X int result = gettimeofday(&the_time, NULL); >X if(result >= 0){ >X- struct tm *pTime = localtime(&the_time.tv_sec); >X+ struct tm *pTime = localtime((time_t*)&the_time.tv_sec); >X sprintf(buffer, "%02d:%02d:%02d", pTime->tm_hour, pTime->tm_min, pTime->tm_sec); >X >X //append miliseconds >END-of-notecase/files/patch-src_lib_CircularBuffer.cpp >echo x - notecase/files/patch-src_main.cpp >sed 's/^X//' >notecase/files/patch-src_main.cpp << 'END-of-notecase/files/patch-src_main.cpp' >X--- src/main.cpp.orig Thu Jul 19 16:58:40 2007 >X+++ src/main.cpp Thu Jul 19 16:58:55 2007 >X@@ -11,6 +11,8 @@ >X #include <gtk/gtk.h> >X #include <libintl.h> >X >X+#include <libgen.h> >X+ >X #include "interface.h" >X #include "callbacks.h" >X #include "support.h" >END-of-notecase/files/patch-src_main.cpp >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 114730
: 79915