diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-02-17 23:25:42 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-02-17 23:25:42 +0000 |
commit | 8873f425a75ad5ebed0262aed4a637a97f1d4031 (patch) | |
tree | b724356c76df94c887205bb1fd529ad3719b8f49 /misc/stickynotes_applet | |
parent | 4236887356423b0d83ec41fd5acfd978001b095c (diff) | |
download | ports-8873f425a75ad5ebed0262aed4a637a97f1d4031.tar.gz ports-8873f425a75ad5ebed0262aed4a637a97f1d4031.zip |
Notes
Diffstat (limited to 'misc/stickynotes_applet')
-rw-r--r-- | misc/stickynotes_applet/Makefile | 42 | ||||
-rw-r--r-- | misc/stickynotes_applet/distinfo | 1 | ||||
-rw-r--r-- | misc/stickynotes_applet/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | misc/stickynotes_applet/files/patch-src_Makefile.in | 11 | ||||
-rw-r--r-- | misc/stickynotes_applet/files/patch-src_stickynotes.c | 37 | ||||
-rw-r--r-- | misc/stickynotes_applet/files/patch-stickynotes_applet.server.in.in | 11 | ||||
-rw-r--r-- | misc/stickynotes_applet/pkg-descr | 8 | ||||
-rw-r--r-- | misc/stickynotes_applet/pkg-plist | 42 |
8 files changed, 163 insertions, 0 deletions
diff --git a/misc/stickynotes_applet/Makefile b/misc/stickynotes_applet/Makefile new file mode 100644 index 000000000000..363098c9974d --- /dev/null +++ b/misc/stickynotes_applet/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: stickynotes_applet +# Date created: 17 February 2003 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= stickynotes_applet +PORTVERSION= 1.0.6 +CATEGORIES= misc gnome +MASTER_SITES= http://loban.caltech.edu/stickynotes/packages/ + +MAINTAINER= marcus@FreeBSD.org +COMMENT= Applet that adds sticky notes to your desktop + +LIB_DEPENDS= panel-applet-2.0:${PORTSDIR}/x11/gnomepanel + +USE_X_PREFIX= yes +USE_GMAKE= yes +USE_REINPLACE= yes +USE_GNOMENG= yes +USE_GNOME= gnomeprefix gnomehack +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" +CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} + +post-patch: + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for f in INSTALL COPYING NEWS AUTHORS THANKS README TODO ChangeLog + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} +.endfor +.endif + ${INSTALL_DATA} ${WRKSRC}/pixmaps/stickynotes.png \ + ${PREFIX}/share/gnome/pixmaps + +.include <bsd.port.mk> diff --git a/misc/stickynotes_applet/distinfo b/misc/stickynotes_applet/distinfo new file mode 100644 index 000000000000..d0326f80218d --- /dev/null +++ b/misc/stickynotes_applet/distinfo @@ -0,0 +1 @@ +MD5 (stickynotes_applet-1.0.6.tar.gz) = 7bc4e1f93179d5287696b1fc0eafae52 diff --git a/misc/stickynotes_applet/files/patch-Makefile.in b/misc/stickynotes_applet/files/patch-Makefile.in new file mode 100644 index 000000000000..9caf6f5ffec7 --- /dev/null +++ b/misc/stickynotes_applet/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig Mon Feb 17 18:01:51 2003 ++++ Makefile.in Mon Feb 17 18:02:02 2003 +@@ -444,7 +444,7 @@ + install-exec-am: + install-exec: install-exec-recursive + +-install-data-am: install-docDATA install-gladeDATA install-schemasDATA \ ++install-data-am: install-gladeDATA install-schemasDATA \ + install-serverDATA install-xmlDATA install-data-local + install-data: install-data-recursive + diff --git a/misc/stickynotes_applet/files/patch-src_Makefile.in b/misc/stickynotes_applet/files/patch-src_Makefile.in new file mode 100644 index 000000000000..228747222f5d --- /dev/null +++ b/misc/stickynotes_applet/files/patch-src_Makefile.in @@ -0,0 +1,11 @@ +--- src/Makefile.in.orig Mon Feb 17 17:53:40 2003 ++++ src/Makefile.in Mon Feb 17 17:54:15 2003 +@@ -103,7 +103,7 @@ + INCLUDES = $(GNOME_CFLAGS) -DPREFIX=\""$(prefix)"\" -DDATADIR=\""$(datadir)"\" -DLIBDIR=\""$(libdir)"\" -DSYSCONFDIR=\""$(sysconfdir)"\" -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" -DGNOMEGLADEDIR=\""$(datadir)/$(PACKAGE)"\" -DGNOMEPIXMAPDIR=\""$(datadir)/$(PACKAGE)"\" + + +-CFLAGS = -Wall -Wimplicit -Wreturn-type -Wunused -Wswitch -Wcomment -Wuninitialized -Wparentheses -Wpointer-arith -O1 -g ++CFLAGS += -Wall -Wimplicit -Wreturn-type -Wunused -Wswitch -Wcomment -Wuninitialized -Wparentheses -Wpointer-arith + + + libexec_PROGRAMS = stickynotes_applet diff --git a/misc/stickynotes_applet/files/patch-src_stickynotes.c b/misc/stickynotes_applet/files/patch-src_stickynotes.c new file mode 100644 index 000000000000..905f40ade592 --- /dev/null +++ b/misc/stickynotes_applet/files/patch-src_stickynotes.c @@ -0,0 +1,37 @@ +--- src/stickynotes.c.orig Mon Feb 17 17:55:56 2003 ++++ src/stickynotes.c Mon Feb 17 17:58:02 2003 +@@ -39,6 +39,9 @@ + StickyNote * stickynote_new() + { + StickyNote *note; ++ GtkWidget *title_box; ++ GtkWidget *resize_box; ++ GtkWidget *close_box; + + /* Create and initialize a Sticky Note */ + note = g_new(StickyNote, 1); +@@ -47,9 +50,9 @@ + note->title = glade_xml_get_widget(note->glade, "title_label"); + note->body = glade_xml_get_widget(note->glade, "body_text"); + +- GtkWidget *title_box = glade_xml_get_widget(note->glade, "title_box"); +- GtkWidget *resize_box = glade_xml_get_widget(note->glade, "resize_box"); +- GtkWidget *close_box = glade_xml_get_widget(note->glade, "close_box"); ++ title_box = glade_xml_get_widget(note->glade, "title_box"); ++ resize_box = glade_xml_get_widget(note->glade, "resize_box"); ++ close_box = glade_xml_get_widget(note->glade, "close_box"); + + /* Add the note to the linked-list of all notes */ + stickynotes->notes = g_list_append(stickynotes->notes, note); +@@ -364,9 +367,10 @@ + { + gchar *title0 = gconf_client_get_string(stickynotes->gconf_client, GCONF_PATH "/settings/date_format", NULL); + gchar *title1 = xmlGetProp(node, "title"); ++ gchar *title2; + if (!title1) + title1 = get_current_date(title0); +- gchar *title2 = g_strdup_printf("<b>%s</b>", title1); ++ title2 = g_strdup_printf("<b>%s</b>", title1); + gtk_label_set_markup(GTK_LABEL(note->title), title2); + g_free(title0); + g_free(title1); diff --git a/misc/stickynotes_applet/files/patch-stickynotes_applet.server.in.in b/misc/stickynotes_applet/files/patch-stickynotes_applet.server.in.in new file mode 100644 index 000000000000..62b4e883b0bd --- /dev/null +++ b/misc/stickynotes_applet/files/patch-stickynotes_applet.server.in.in @@ -0,0 +1,11 @@ +--- stickynotes_applet.server.in.in.orig Mon Feb 17 18:18:53 2003 ++++ stickynotes_applet.server.in.in Mon Feb 17 18:20:40 2003 +@@ -16,7 +16,7 @@ + <oaf_attribute name="name" type="string" _value="Sticky Notes"/> + <oaf_attribute name="description" type="string" _value="Create, view, and manage sticky notes on the desktop"/> + <oaf_attribute name="panel:category" type="string" _value="Accessories"/> +- <oaf_attribute name="panel:icon" type="string" value="stickynotes_applet/stickynotes.png"/> ++ <oaf_attribute name="panel:icon" type="string" value="stickynotes.png"/> + </oaf_server> + </oaf_info> + diff --git a/misc/stickynotes_applet/pkg-descr b/misc/stickynotes_applet/pkg-descr new file mode 100644 index 000000000000..7eb829cb940b --- /dev/null +++ b/misc/stickynotes_applet/pkg-descr @@ -0,0 +1,8 @@ +Stickynotes_applet is a Gnome 2 applet that allows you to create, view, and +maintain sticky notes on your Gnome 2 Desktop. Each note is "sticky" +(appears on all workspaces), has a date stamp, and can be freely moved around +your desktop. The notes are automatically saved and will reappear in their +original locations (with their original dimensions) when the Gnome Desktop is +restarted. + +WWW: http://loban.caltech.edu/stickynotes/ diff --git a/misc/stickynotes_applet/pkg-plist b/misc/stickynotes_applet/pkg-plist new file mode 100644 index 000000000000..987320cebcd8 --- /dev/null +++ b/misc/stickynotes_applet/pkg-plist @@ -0,0 +1,42 @@ +etc/gconf/gconf.xml.defaults/apps/stickynotes_applet/%gconf.xml +etc/gconf/gconf.xml.defaults/apps/stickynotes_applet/defaults/%gconf.xml +etc/gconf/gconf.xml.defaults/apps/stickynotes_applet/settings/%gconf.xml +etc/gconf/gconf.xml.defaults/schemas/apps/stickynotes_applet/%gconf.xml +etc/gconf/gconf.xml.defaults/schemas/apps/stickynotes_applet/defaults/%gconf.xml +etc/gconf/gconf.xml.defaults/schemas/apps/stickynotes_applet/settings/%gconf.xml +etc/gconf/schemas/stickynotes_applet.schemas +libdata/bonobo/servers/stickynotes_applet.server +libexec/stickynotes_applet +%%PORTDOCS%%share/doc/stickynotes_applet/AUTHORS +%%PORTDOCS%%share/doc/stickynotes_applet/COPYING +%%PORTDOCS%%share/doc/stickynotes_applet/ChangeLog +%%PORTDOCS%%share/doc/stickynotes_applet/INSTALL +%%PORTDOCS%%share/doc/stickynotes_applet/NEWS +%%PORTDOCS%%share/doc/stickynotes_applet/README +%%PORTDOCS%%share/doc/stickynotes_applet/THANKS +%%PORTDOCS%%share/doc/stickynotes_applet/TODO +share/gnome/gnome-2.0/ui/stickynotes_applet.xml +share/gnome/help/stickynotes_applet/C/figures/stickynotes_applet.png +share/gnome/help/stickynotes_applet/C/legal.xml +share/gnome/help/stickynotes_applet/C/stickynotes_applet.xml +share/gnome/omf/stickynotes_applet/stickynotes_applet-C.omf +@exec scrollkeeper-install -q %D/share/gnome/omf/stickynotes_applet/stickynotes_applet-C.omf 2>/dev/null || /usr/bin/true +share/gnome/pixmaps/stickynotes.png +share/gnome/stickynotes_applet/close.png +share/gnome/stickynotes_applet/resize.png +share/gnome/stickynotes_applet/stickynotes.png +share/gnome/stickynotes_applet/stickynotes_applet.glade +share/gnome/stickynotes_applet/stickynotes_prelight.png +@dirrm share/gnome/stickynotes_applet +@dirrm share/gnome/omf/stickynotes_applet +@dirrm share/gnome/help/stickynotes_applet/C/figures +@dirrm share/gnome/help/stickynotes_applet/C +@dirrm share/gnome/help/stickynotes_applet +%%PORTDOCS%%@dirrm share/doc/stickynotes_applet +@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/stickynotes_applet/settings +@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/stickynotes_applet/defaults +@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/stickynotes_applet +@dirrm etc/gconf/gconf.xml.defaults/apps/stickynotes_applet/settings +@dirrm etc/gconf/gconf.xml.defaults/apps/stickynotes_applet/defaults +@dirrm etc/gconf/gconf.xml.defaults/apps/stickynotes_applet +@unexec scrollkeeper-uninstall -q %D/share/gnome/omf/stickynotes_applet/stickynotes_applet-C.omf 2>/dev/null || /usr/bin/true |