summaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2009-07-22 12:14:38 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2009-07-22 12:14:38 +0800
commitb9d746af92e47f3aba754fefe60b72281faf4736 (patch)
tree5498122f28fa9e15ee68bb1e0d9d53c09cc46df9 /deskutils
parentd06e076bbd250cea5887e7a06dbd6b1b19abaa4d (diff)
downloadmarcuscom-ports-b9d746af92e47f3aba754fefe60b72281faf4736.tar
marcuscom-ports-b9d746af92e47f3aba754fefe60b72281faf4736.tar.gz
marcuscom-ports-b9d746af92e47f3aba754fefe60b72281faf4736.tar.bz2
marcuscom-ports-b9d746af92e47f3aba754fefe60b72281faf4736.tar.lz
marcuscom-ports-b9d746af92e47f3aba754fefe60b72281faf4736.tar.xz
marcuscom-ports-b9d746af92e47f3aba754fefe60b72281faf4736.tar.zst
marcuscom-ports-b9d746af92e47f3aba754fefe60b72281faf4736.zip
Gnote is a port of Tomboy to C++.
It is the same note taking application, including most of the add-ins (more are to come). Synchronization support is being worked on. WWW: http://live.gnome.org/Gnote -- The reason why I am putting in here first is that... I haven't test it in the runtime yet. Let me know if you have any problem with it. I will test it when I get my desktop up and running again at some point. If it works great, it will be replace from tomboy to gnote in our x11/gnome2. Reason: - The mono stuff sometime lag in FreeBSD, but not anymore with good maintainers. - Tomboy is very limited on $ARCH (i386 and maybe amd64) - The gnote is heck a lot smaller to fit in CD and work on many $ARCH. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12496 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/gnote/Makefile58
-rw-r--r--deskutils/gnote/distinfo3
-rw-r--r--deskutils/gnote/files/patch-src_sharp_datetime.cpp36
-rw-r--r--deskutils/gnote/pkg-descr6
-rw-r--r--deskutils/gnote/pkg-plist234
5 files changed, 337 insertions, 0 deletions
diff --git a/deskutils/gnote/Makefile b/deskutils/gnote/Makefile
new file mode 100644
index 000000000..4920e4578
--- /dev/null
+++ b/deskutils/gnote/Makefile
@@ -0,0 +1,58 @@
+# New ports collection makefile for: gnote
+# Date created: 20 July 2009
+# Whom: Mezz <mezz@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= gnote
+PORTVERSION= 0.5.3
+CATEGORIES= deskutils gnome
+MASTER_SITES= GNOME
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A port of Tomboy to C++, note taking application
+
+LIB_DEPENDS= gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24 \
+ gtkspell.0:${PORTSDIR}/textproc/gtkspell \
+ boost_filesystem.4:${PORTSDIR}/devel/boost \
+ uuid.1:${PORTSDIR}/misc/e2fsprogs-libuuid
+
+USE_GMAKE= yes
+USE_GNOME= gnomehack gnomeprefix gconf2 intltool ltverhack
+USE_GETTEXT= yes
+INSTALLS_OMF= yes
+GCONF_SCHEMAS= gnote.schemas
+USE_AUTOTOOLS= libtool:22
+INSTALLS_ICONS= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib" \
+ PANELAPPLET_LIBDIR="${PREFIX}/libdata"
+
+DOCS= AUTHORS COPYING ChangeLog NEWS README TODO
+MAN1= gnote.1
+
+.if !defined(WITHOUT_APPLET)
+LIB_DEPENDS+= panelappletmm-2.6:${PORTSDIR}/x11-toolkits/libpanelappletmm
+CONFIGURE_ARGS+=--enable-applet
+PLIST_SUB+= APPLET=""
+.else
+CONFIGURE_ARGS+=--disable-applet
+PLIST_SUB+= APPLET="@comment "
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/include/boost|${LOCALBASE}/include/boost|g' \
+ ${WRKSRC}/configure
+
+.ifndef (NOPORTDOCS)
+post-install:
+ @${MKDIR} ${DOCSDIR}
+.for i in ${DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/deskutils/gnote/distinfo b/deskutils/gnote/distinfo
new file mode 100644
index 000000000..91225b500
--- /dev/null
+++ b/deskutils/gnote/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnote-0.5.3.tar.gz) = d7f106e971ced33f055fb3a15c4b52db
+SHA256 (gnote-0.5.3.tar.gz) = 4ae83b431ef7efedeebdd9bdfb26c60bd062e33a8613e8385ee39c68ce5cb443
+SIZE (gnote-0.5.3.tar.gz) = 1635300
diff --git a/deskutils/gnote/files/patch-src_sharp_datetime.cpp b/deskutils/gnote/files/patch-src_sharp_datetime.cpp
new file mode 100644
index 000000000..71ce22078
--- /dev/null
+++ b/deskutils/gnote/files/patch-src_sharp_datetime.cpp
@@ -0,0 +1,36 @@
+--- src/sharp/datetime.cpp.orig 2009-07-21 22:13:30.000000000 -0500
++++ src/sharp/datetime.cpp 2009-07-21 22:25:29.000000000 -0500
+@@ -69,14 +69,14 @@
+ int DateTime::year() const
+ {
+ struct tm result;
+- localtime_r(&m_date.tv_sec, &result);
++ localtime_r((const time_t *)&m_date.tv_sec, &result);
+ return result.tm_year;
+ }
+
+ int DateTime::day_of_year() const
+ {
+ struct tm result;
+- localtime_r(&m_date.tv_sec, &result);
++ localtime_r((const time_t *)&m_date.tv_sec, &result);
+ return result.tm_yday;
+ }
+
+@@ -95,14 +95,14 @@
+ std::string DateTime::to_string(const char * format) const
+ {
+ struct tm result;
+- return _to_string(format, localtime_r(&m_date.tv_sec, &result));
++ return _to_string(format, localtime_r((const time_t *)&m_date.tv_sec, &result));
+ }
+
+
+ std::string DateTime::to_short_time_string() const
+ {
+ struct tm result;
+- return _to_string("%R", localtime_r(&m_date.tv_sec, &result));
++ return _to_string("%R", localtime_r((const time_t *)&m_date.tv_sec, &result));
+ }
+
+ std::string DateTime::to_iso8601() const
diff --git a/deskutils/gnote/pkg-descr b/deskutils/gnote/pkg-descr
new file mode 100644
index 000000000..5dd92d247
--- /dev/null
+++ b/deskutils/gnote/pkg-descr
@@ -0,0 +1,6 @@
+Gnote is a port of Tomboy to C++.
+
+It is the same note taking application, including most of the add-ins (more
+are to come). Synchronization support is being worked on.
+
+WWW: http://live.gnome.org/Gnote
diff --git a/deskutils/gnote/pkg-plist b/deskutils/gnote/pkg-plist
new file mode 100644
index 000000000..aeb4da6f7
--- /dev/null
+++ b/deskutils/gnote/pkg-plist
@@ -0,0 +1,234 @@
+bin/gnote
+lib/gnote/addins/0.5.3/backlinks.a
+lib/gnote/addins/0.5.3/backlinks.la
+lib/gnote/addins/0.5.3/backlinks.so
+lib/gnote/addins/0.5.3/bugzilla.a
+lib/gnote/addins/0.5.3/bugzilla.la
+lib/gnote/addins/0.5.3/bugzilla.so
+lib/gnote/addins/0.5.3/exporttohtml.a
+lib/gnote/addins/0.5.3/exporttohtml.la
+lib/gnote/addins/0.5.3/exporttohtml.so
+lib/gnote/addins/0.5.3/fixedwidth.a
+lib/gnote/addins/0.5.3/fixedwidth.la
+lib/gnote/addins/0.5.3/fixedwidth.so
+lib/gnote/addins/0.5.3/inserttimestamp.a
+lib/gnote/addins/0.5.3/inserttimestamp.la
+lib/gnote/addins/0.5.3/inserttimestamp.so
+lib/gnote/addins/0.5.3/printnotes.a
+lib/gnote/addins/0.5.3/printnotes.la
+lib/gnote/addins/0.5.3/printnotes.so
+lib/gnote/addins/0.5.3/stickynoteimport.a
+lib/gnote/addins/0.5.3/stickynoteimport.la
+lib/gnote/addins/0.5.3/stickynoteimport.so
+lib/gnote/addins/0.5.3/tomboyimport.a
+lib/gnote/addins/0.5.3/tomboyimport.la
+lib/gnote/addins/0.5.3/tomboyimport.so
+%%APPLET%%libdata/bonobo/servers/GNOME_GnoteApplet.server
+%%APPLET%%libexec/gnote-applet
+share/applications/gnote.desktop
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+share/gnome/help/gnote/C/figures/add-notebook-search.png
+share/gnome/help/gnote/C/figures/add-to-notebook.png
+share/gnome/help/gnote/C/figures/delete-notebook.png
+share/gnome/help/gnote/C/figures/gnote-main-menu.png
+share/gnome/help/gnote/C/figures/gnote-new-note.png
+share/gnome/help/gnote/C/figures/gnote-panel.png
+share/gnome/help/gnote/C/figures/gnote-pindown.png
+share/gnome/help/gnote/C/figures/gnote-pinup.png
+share/gnome/help/gnote/C/figures/gnote-preferences-add-ins.png
+share/gnome/help/gnote/C/figures/gnote-preferences-editing.png
+share/gnome/help/gnote/C/figures/gnote-preferences-hotkeys.png
+share/gnome/help/gnote/C/figures/gnote-preferences-synchronization.png
+share/gnome/help/gnote/C/figures/gnote-tools.png
+share/gnome/help/gnote/C/figures/move-notes-search.png
+share/gnome/help/gnote/C/figures/new-notebook.png
+share/gnome/help/gnote/C/figures/note-template.png
+share/gnome/help/gnote/C/figures/notebook-icon.png
+share/gnome/help/gnote/C/gnote.xml
+share/gnome/help/gnote/C/legal.xml
+share/gnome/help/gnote/de/figures/add-notebook-search.png
+share/gnome/help/gnote/de/figures/add-to-notebook.png
+share/gnome/help/gnote/de/figures/delete-notebook.png
+share/gnome/help/gnote/de/figures/gnote-main-menu.png
+share/gnome/help/gnote/de/figures/gnote-new-note.png
+share/gnome/help/gnote/de/figures/gnote-panel.png
+share/gnome/help/gnote/de/figures/gnote-pindown.png
+share/gnome/help/gnote/de/figures/gnote-pinup.png
+share/gnome/help/gnote/de/figures/gnote-preferences-add-ins.png
+share/gnome/help/gnote/de/figures/gnote-preferences-editing.png
+share/gnome/help/gnote/de/figures/gnote-preferences-hotkeys.png
+share/gnome/help/gnote/de/figures/gnote-preferences-synchronization.png
+share/gnome/help/gnote/de/figures/gnote-tools.png
+share/gnome/help/gnote/de/figures/move-notes-search.png
+share/gnome/help/gnote/de/figures/new-notebook.png
+share/gnome/help/gnote/de/figures/note-template.png
+share/gnome/help/gnote/de/figures/notebook-icon.png
+share/gnome/help/gnote/de/gnote.xml
+share/gnome/help/gnote/de/legal.xml
+share/gnome/help/gnote/el/figures/add-notebook-search.png
+share/gnome/help/gnote/el/figures/add-to-notebook.png
+share/gnome/help/gnote/el/figures/delete-notebook.png
+share/gnome/help/gnote/el/figures/gnote-main-menu.png
+share/gnome/help/gnote/el/figures/gnote-new-note.png
+share/gnome/help/gnote/el/figures/gnote-panel.png
+share/gnome/help/gnote/el/figures/gnote-pindown.png
+share/gnome/help/gnote/el/figures/gnote-pinup.png
+share/gnome/help/gnote/el/figures/gnote-preferences-add-ins.png
+share/gnome/help/gnote/el/figures/gnote-preferences-editing.png
+share/gnome/help/gnote/el/figures/gnote-preferences-hotkeys.png
+share/gnome/help/gnote/el/figures/gnote-preferences-synchronization.png
+share/gnome/help/gnote/el/figures/gnote-tools.png
+share/gnome/help/gnote/el/figures/move-notes-search.png
+share/gnome/help/gnote/el/figures/new-notebook.png
+share/gnome/help/gnote/el/figures/note-template.png
+share/gnome/help/gnote/el/figures/notebook-icon.png
+share/gnome/help/gnote/el/gnote.xml
+share/gnome/help/gnote/el/legal.xml
+share/gnome/help/gnote/es/figures/add-notebook-search.png
+share/gnome/help/gnote/es/figures/add-to-notebook.png
+share/gnome/help/gnote/es/figures/delete-notebook.png
+share/gnome/help/gnote/es/figures/gnote-main-menu.png
+share/gnome/help/gnote/es/figures/gnote-new-note.png
+share/gnome/help/gnote/es/figures/gnote-panel.png
+share/gnome/help/gnote/es/figures/gnote-pindown.png
+share/gnome/help/gnote/es/figures/gnote-pinup.png
+share/gnome/help/gnote/es/figures/gnote-preferences-add-ins.png
+share/gnome/help/gnote/es/figures/gnote-preferences-editing.png
+share/gnome/help/gnote/es/figures/gnote-preferences-hotkeys.png
+share/gnome/help/gnote/es/figures/gnote-preferences-synchronization.png
+share/gnome/help/gnote/es/figures/gnote-tools.png
+share/gnome/help/gnote/es/figures/move-notes-search.png
+share/gnome/help/gnote/es/figures/new-notebook.png
+share/gnome/help/gnote/es/figures/note-template.png
+share/gnome/help/gnote/es/figures/notebook-icon.png
+share/gnome/help/gnote/es/gnote.xml
+share/gnome/help/gnote/es/legal.xml
+share/gnome/help/gnote/sv/figures/add-notebook-search.png
+share/gnome/help/gnote/sv/figures/add-to-notebook.png
+share/gnome/help/gnote/sv/figures/delete-notebook.png
+share/gnome/help/gnote/sv/figures/gnote-main-menu.png
+share/gnome/help/gnote/sv/figures/gnote-new-note.png
+share/gnome/help/gnote/sv/figures/gnote-panel.png
+share/gnome/help/gnote/sv/figures/gnote-pindown.png
+share/gnome/help/gnote/sv/figures/gnote-pinup.png
+share/gnome/help/gnote/sv/figures/gnote-preferences-add-ins.png
+share/gnome/help/gnote/sv/figures/gnote-preferences-editing.png
+share/gnome/help/gnote/sv/figures/gnote-preferences-hotkeys.png
+share/gnome/help/gnote/sv/figures/gnote-preferences-synchronization.png
+share/gnome/help/gnote/sv/figures/gnote-tools.png
+share/gnome/help/gnote/sv/figures/move-notes-search.png
+share/gnome/help/gnote/sv/figures/new-notebook.png
+share/gnome/help/gnote/sv/figures/note-template.png
+share/gnome/help/gnote/sv/figures/notebook-icon.png
+share/gnome/help/gnote/sv/gnote.xml
+share/gnome/help/gnote/sv/legal.xml
+%%DATADIR%%/GNOME_GnoteApplet.xml
+%%DATADIR%%/UIManagerLayout.xml
+%%DATADIR%%/exporttohtml.xsl
+%%DATADIR%%/icons/hicolor/16x16/actions/note-new.png
+%%DATADIR%%/icons/hicolor/16x16/actions/notebook-new.png
+%%DATADIR%%/icons/hicolor/16x16/apps/bug.png
+%%DATADIR%%/icons/hicolor/16x16/places/note.png
+%%DATADIR%%/icons/hicolor/16x16/places/notebook.png
+%%DATADIR%%/icons/hicolor/16x16/status/pin-active.png
+%%DATADIR%%/icons/hicolor/16x16/status/pin-down.png
+%%DATADIR%%/icons/hicolor/16x16/status/pin-up.png
+%%DATADIR%%/icons/hicolor/22x22/actions/filter-note-all.png
+%%DATADIR%%/icons/hicolor/22x22/actions/filter-note-unfiled.png
+%%DATADIR%%/icons/hicolor/22x22/actions/note-new.png
+%%DATADIR%%/icons/hicolor/22x22/actions/notebook-new.png
+%%DATADIR%%/icons/hicolor/22x22/places/note.png
+%%DATADIR%%/icons/hicolor/22x22/places/notebook.png
+%%DATADIR%%/icons/hicolor/24x24/actions/filter-note-all.png
+%%DATADIR%%/icons/hicolor/24x24/actions/filter-note-unfiled.png
+%%DATADIR%%/icons/hicolor/24x24/actions/note-new.png
+%%DATADIR%%/icons/hicolor/24x24/actions/notebook-new.png
+%%DATADIR%%/icons/hicolor/24x24/places/note.png
+%%DATADIR%%/icons/hicolor/24x24/places/notebook.png
+%%DATADIR%%/icons/hicolor/48x48/actions/notebook-new.png
+%%DATADIR%%/icons/hicolor/scalable/actions/notebook-new.svg
+share/icons/hicolor/16x16/apps/gnote.png
+share/icons/hicolor/22x22/apps/gnote.png
+share/icons/hicolor/24x24/apps/gnote.png
+share/icons/hicolor/32x32/apps/gnote.png
+share/icons/hicolor/48x48/apps/gnote.png
+share/icons/hicolor/scalable/apps/gnote.svg
+share/locale/ar/LC_MESSAGES/gnote.mo
+share/locale/as/LC_MESSAGES/gnote.mo
+share/locale/bn_IN/LC_MESSAGES/gnote.mo
+share/locale/ca/LC_MESSAGES/gnote.mo
+share/locale/cs/LC_MESSAGES/gnote.mo
+share/locale/de/LC_MESSAGES/gnote.mo
+share/locale/el/LC_MESSAGES/gnote.mo
+share/locale/en_GB/LC_MESSAGES/gnote.mo
+share/locale/es/LC_MESSAGES/gnote.mo
+share/locale/fr/LC_MESSAGES/gnote.mo
+share/locale/gu/LC_MESSAGES/gnote.mo
+share/locale/hu/LC_MESSAGES/gnote.mo
+share/locale/it/LC_MESSAGES/gnote.mo
+share/locale/ja/LC_MESSAGES/gnote.mo
+share/locale/kn/LC_MESSAGES/gnote.mo
+share/locale/ko/LC_MESSAGES/gnote.mo
+share/locale/lt/LC_MESSAGES/gnote.mo
+share/locale/mr/LC_MESSAGES/gnote.mo
+share/locale/pa/LC_MESSAGES/gnote.mo
+share/locale/pt/LC_MESSAGES/gnote.mo
+share/locale/ru/LC_MESSAGES/gnote.mo
+share/locale/sv/LC_MESSAGES/gnote.mo
+share/locale/ta/LC_MESSAGES/gnote.mo
+share/locale/te/LC_MESSAGES/gnote.mo
+share/locale/th/LC_MESSAGES/gnote.mo
+share/locale/zh_CN/LC_MESSAGES/gnote.mo
+share/omf/gnote/gnote-C.omf
+share/omf/gnote/gnote-de.omf
+share/omf/gnote/gnote-el.omf
+share/omf/gnote/gnote-es.omf
+share/omf/gnote/gnote-sv.omf
+@dirrm share/omf/gnote
+@dirrmtry share/locale/te/LC_MESSAGES
+@dirrmtry share/locale/te
+@dirrmtry share/locale/mr/LC_MESSAGES
+@dirrmtry share/locale/mr
+@dirrmtry share/locale/bn_IN/LC_MESSAGES
+@dirrmtry share/locale/bn_IN
+@dirrmtry share/locale/as/LC_MESSAGES
+@dirrmtry share/locale/as
+@dirrm %%DATADIR%%/icons/hicolor/scalable/actions
+@dirrm %%DATADIR%%/icons/hicolor/scalable
+@dirrm %%DATADIR%%/icons/hicolor/48x48/actions
+@dirrm %%DATADIR%%/icons/hicolor/48x48
+@dirrm %%DATADIR%%/icons/hicolor/24x24/places
+@dirrm %%DATADIR%%/icons/hicolor/24x24/actions
+@dirrm %%DATADIR%%/icons/hicolor/24x24
+@dirrm %%DATADIR%%/icons/hicolor/22x22/places
+@dirrm %%DATADIR%%/icons/hicolor/22x22/actions
+@dirrm %%DATADIR%%/icons/hicolor/22x22
+@dirrm %%DATADIR%%/icons/hicolor/16x16/status
+@dirrm %%DATADIR%%/icons/hicolor/16x16/places
+@dirrm %%DATADIR%%/icons/hicolor/16x16/apps
+@dirrm %%DATADIR%%/icons/hicolor/16x16/actions
+@dirrm %%DATADIR%%/icons/hicolor/16x16
+@dirrm %%DATADIR%%/icons/hicolor
+@dirrm %%DATADIR%%/icons
+@dirrm %%DATADIR%%
+@dirrm share/gnome/help/gnote/sv/figures
+@dirrm share/gnome/help/gnote/sv
+@dirrm share/gnome/help/gnote/es/figures
+@dirrm share/gnome/help/gnote/es
+@dirrm share/gnome/help/gnote/el/figures
+@dirrm share/gnome/help/gnote/el
+@dirrm share/gnome/help/gnote/de/figures
+@dirrm share/gnome/help/gnote/de
+@dirrm share/gnome/help/gnote/C/figures
+@dirrm share/gnome/help/gnote/C
+@dirrm share/gnome/help/gnote
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrmtry share/applications
+@dirrmtry lib/gnote/addins/0.5.3
+@dirrmtry lib/gnote/addins
+@dirrmtry lib/gnote