aboutsummaryrefslogtreecommitdiff
path: root/deskutils/gnote
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2009-11-28 20:06:37 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2009-11-28 20:06:37 +0000
commitf76d32b8e89fed7c0e459c1a7fe7a4b57661b01c (patch)
treead29e6808ff698f84e08dab8e047f0ae72838df9 /deskutils/gnote
parent873cae3ab41a109b6f9cf9f4149f101d6d996235 (diff)
downloadports-f76d32b8e89fed7c0e459c1a7fe7a4b57661b01c.tar.gz
ports-f76d32b8e89fed7c0e459c1a7fe7a4b57661b01c.zip
Notes
Diffstat (limited to 'deskutils/gnote')
-rw-r--r--deskutils/gnote/Makefile60
-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-plist244
5 files changed, 349 insertions, 0 deletions
diff --git a/deskutils/gnote/Makefile b/deskutils/gnote/Makefile
new file mode 100644
index 000000000000..d5f32f010eb3
--- /dev/null
+++ b/deskutils/gnote/Makefile
@@ -0,0 +1,60 @@
+# New ports collection makefile for: gnote
+# Date created: 20 July 2009
+# Whom: Mezz <mezz@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/deskutils/gnote/Makefile,v 1.6 2009/11/28 17:54:22 kwm Exp $
+#
+
+PORTNAME= gnote
+PORTVERSION= 0.6.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-libs \
+ uuid.1:${PORTSDIR}/misc/e2fsprogs-libuuid
+
+USE_GMAKE= yes
+USE_GNOME= gnomehack gnomeprefix gconf2 intltool ltverhack gnomepanel
+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"
+CONFIGURE_ARGS= --disable-dbus
+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
+
+PLIST_SUB+= VERSION=${PORTVERSION}
+
+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 000000000000..550f6e2a8497
--- /dev/null
+++ b/deskutils/gnote/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnote-0.6.3.tar.gz) = 84df707352eae288d1d8536796ab41f8
+SHA256 (gnote-0.6.3.tar.gz) = affd34cef21883ab831b901a82804dd3bde03dc621ec4cda7ddb2f5b66ce13d9
+SIZE (gnote-0.6.3.tar.gz) = 1754426
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 000000000000..71ce22078876
--- /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 000000000000..5dd92d2479af
--- /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 000000000000..3b73c506f712
--- /dev/null
+++ b/deskutils/gnote/pkg-plist
@@ -0,0 +1,244 @@
+bin/gnote
+lib/gnote/addins/%%VERSION%%/backlinks.a
+lib/gnote/addins/%%VERSION%%/backlinks.la
+lib/gnote/addins/%%VERSION%%/backlinks.so
+lib/gnote/addins/%%VERSION%%/bugzilla.a
+lib/gnote/addins/%%VERSION%%/bugzilla.la
+lib/gnote/addins/%%VERSION%%/bugzilla.so
+lib/gnote/addins/%%VERSION%%/exporttohtml.a
+lib/gnote/addins/%%VERSION%%/exporttohtml.la
+lib/gnote/addins/%%VERSION%%/exporttohtml.so
+lib/gnote/addins/%%VERSION%%/fixedwidth.a
+lib/gnote/addins/%%VERSION%%/fixedwidth.la
+lib/gnote/addins/%%VERSION%%/fixedwidth.so
+lib/gnote/addins/%%VERSION%%/inserttimestamp.a
+lib/gnote/addins/%%VERSION%%/inserttimestamp.la
+lib/gnote/addins/%%VERSION%%/inserttimestamp.so
+lib/gnote/addins/%%VERSION%%/printnotes.a
+lib/gnote/addins/%%VERSION%%/printnotes.la
+lib/gnote/addins/%%VERSION%%/printnotes.so
+lib/gnote/addins/%%VERSION%%/stickynoteimport.a
+lib/gnote/addins/%%VERSION%%/stickynoteimport.la
+lib/gnote/addins/%%VERSION%%/stickynoteimport.so
+lib/gnote/addins/%%VERSION%%/tomboyimport.a
+lib/gnote/addins/%%VERSION%%/tomboyimport.la
+lib/gnote/addins/%%VERSION%%/tomboyimport.so
+lib/gnote/addins/%%VERSION%%/underline.a
+lib/gnote/addins/%%VERSION%%/underline.la
+lib/gnote/addins/%%VERSION%%/underline.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/gl/LC_MESSAGES/gnote.mo
+share/locale/gu/LC_MESSAGES/gnote.mo
+share/locale/he/LC_MESSAGES/gnote.mo
+share/locale/hu/LC_MESSAGES/gnote.mo
+share/locale/id/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/or/LC_MESSAGES/gnote.mo
+share/locale/pa/LC_MESSAGES/gnote.mo
+share/locale/pl/LC_MESSAGES/gnote.mo
+share/locale/pt/LC_MESSAGES/gnote.mo
+share/locale/pt_BR/LC_MESSAGES/gnote.mo
+share/locale/ru/LC_MESSAGES/gnote.mo
+share/locale/sl/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/%%VERSION%%
+@dirrmtry lib/gnote/addins
+@dirrmtry lib/gnote