From e81140b2bf8c25ce9ca636fcce69037a4901b68f Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Sat, 1 Mar 2003 07:07:58 +0000 Subject: [PATCH] Add rubrica, an addressbook for the GNOME 2 desktop. PR: 48768 Submitted by: Martin Klaffenboeck --- deskutils/Makefile | 1 + deskutils/rubrica/Makefile | 41 ++++++ deskutils/rubrica/distinfo | 1 + deskutils/rubrica/files/patch-Makefile.in | 30 +++++ deskutils/rubrica/files/patch-doc_Makefile.in | 24 ++++ deskutils/rubrica/files/patch-src_file.c | 18 +++ deskutils/rubrica/pkg-descr | 6 + deskutils/rubrica/pkg-plist | 126 ++++++++++++++++++ 8 files changed, 247 insertions(+) create mode 100644 deskutils/rubrica/Makefile create mode 100644 deskutils/rubrica/distinfo create mode 100644 deskutils/rubrica/files/patch-Makefile.in create mode 100644 deskutils/rubrica/files/patch-doc_Makefile.in create mode 100644 deskutils/rubrica/files/patch-src_file.c create mode 100644 deskutils/rubrica/pkg-descr create mode 100644 deskutils/rubrica/pkg-plist diff --git a/deskutils/Makefile b/deskutils/Makefile index 0dd785be337d..771e237806a0 100644 --- a/deskutils/Makefile +++ b/deskutils/Makefile @@ -47,6 +47,7 @@ SUBDIR += plan SUBDIR += preferences.app SUBDIR += rox-memo + SUBDIR += rubrica SUBDIR += sliderule SUBDIR += teapot SUBDIR += tuxcards diff --git a/deskutils/rubrica/Makefile b/deskutils/rubrica/Makefile new file mode 100644 index 000000000000..6916d1158c60 --- /dev/null +++ b/deskutils/rubrica/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: rubrica +# Date created: 27 February 2003 +# Whom: Martin Klaffenboeck +# +# $FreeBSD$ +# + +PORTNAME= rubrica +PORTVERSION= 1.0.0.c1 +CATEGORIES= deskutils gnome +MASTER_SITES= http://digilander.libero.it/nfragale/download/rubrica/ +DISTNAME= ${PORTNAME}-${PORTVERSION:S/.c1$/cr1/} + +MAINTAINER= martin.klaffenboeck@gmx.at +COMMENT= An addressbook for the gnome2 desktop + +LIB_DEPENDS= gnomeui-2.200:${PORTSDIR}/x11-toolkits/libgnomeui + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.c1$/cr1/} +USE_BZIP2= yes +USE_GNOMENG= yes +USE_GNOME= gnomehack gnomeprefix +USE_X_PREFIX= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ + LIBS="-L${LOCALBASE}/lib" +CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} + +DOC_FILES= AUTHORS COPYING CREDITS ChangeLog INSTALL NEWS README TODO + +post-install: +.ifndef(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in ${DOC_FILES} + @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor + @${INSTALL_DATA} ${WRKSRC}/doc/examples.rub ${DOCSDIR} +.endif + +.include diff --git a/deskutils/rubrica/distinfo b/deskutils/rubrica/distinfo new file mode 100644 index 000000000000..7618aef0e390 --- /dev/null +++ b/deskutils/rubrica/distinfo @@ -0,0 +1 @@ +MD5 (rubrica-1.0.0cr1.tar.bz2) = 17a91fb558c850205047bd6420807abd diff --git a/deskutils/rubrica/files/patch-Makefile.in b/deskutils/rubrica/files/patch-Makefile.in new file mode 100644 index 000000000000..03c3b412f1fe --- /dev/null +++ b/deskutils/rubrica/files/patch-Makefile.in @@ -0,0 +1,30 @@ +--- Makefile.in.orig Sat Mar 1 01:46:41 2003 ++++ Makefile.in Sat Mar 1 01:50:40 2003 +@@ -119,16 +119,8 @@ + kdedesktop_in_files = rubrica.desktop.in + kdedesktop_DATA = $(kdedesktop_in_files:.desktop.in=.desktop) + +-rubricadocdir = $(datadir)/doc/rubrica +-rubricadoc_DATA = \ +- README \ +- COPYING \ +- AUTHORS \ +- CREDITS \ +- ChangeLog \ +- INSTALL \ +- NEWS \ +- TODO ++rubricadocdir = $(prefix)/share/doc/rubrica ++rubricadoc_DATA = + + + schemas_dir = $(sysconfdir)/gconf/schemas +@@ -146,7 +138,7 @@ + CONFIG_HEADER = config.h + CONFIG_CLEAN_FILES = rubrica.desktop rubrica.spec + DIST_SOURCES = +-DATA = $(desktop_DATA) $(kdedesktop_DATA) $(rubricadoc_DATA) \ ++DATA = $(desktop_DATA) $(kdedesktop_DATA) \ + $(schemas__DATA) + + diff --git a/deskutils/rubrica/files/patch-doc_Makefile.in b/deskutils/rubrica/files/patch-doc_Makefile.in new file mode 100644 index 000000000000..81c38f6897fe --- /dev/null +++ b/deskutils/rubrica/files/patch-doc_Makefile.in @@ -0,0 +1,24 @@ +--- doc/Makefile.in.orig Sat Mar 1 01:54:32 2003 ++++ doc/Makefile.in Sat Mar 1 01:57:37 2003 +@@ -109,10 +109,9 @@ + am__quote = @am__quote@ + install_sh = @install_sh@ + +-rubricadocdir = $(datadir)/doc/rubrica ++rubricadocdir = $(prefix)/share/doc/rubrica + +-rubricadoc_DATA = \ +- examples.rub ++rubricadoc_DATA = + + + EXTRA_DIST = $(rubricadoc_DATA) +@@ -121,7 +120,7 @@ + CONFIG_HEADER = $(top_builddir)/config.h + CONFIG_CLEAN_FILES = + DIST_SOURCES = +-DATA = $(rubricadoc_DATA) ++DATA = + + DIST_COMMON = Makefile.am Makefile.in + all: all-am diff --git a/deskutils/rubrica/files/patch-src_file.c b/deskutils/rubrica/files/patch-src_file.c new file mode 100644 index 000000000000..efa1d99382e7 --- /dev/null +++ b/deskutils/rubrica/files/patch-src_file.c @@ -0,0 +1,18 @@ +--- src/file.c.orig Thu Feb 27 22:04:36 2003 ++++ src/file.c Thu Feb 27 22:05:02 2003 +@@ -809,6 +809,7 @@ + rubrica_file_load_xmlfile(gchar *filename, RubricaErrorType* err) + { + Rubrica *rubrica; ++ gchar *fpath, *fname; + + if (!g_file_exists(filename)) + { +@@ -829,7 +830,6 @@ + now we need to put in memory some information + about this file and addressbook + */ +- gchar *fpath, *fname; + + fpath = g_dirname(filename); + fname = g_strdup(g_basename(filename)); diff --git a/deskutils/rubrica/pkg-descr b/deskutils/rubrica/pkg-descr new file mode 100644 index 000000000000..6bf52d84fcb1 --- /dev/null +++ b/deskutils/rubrica/pkg-descr @@ -0,0 +1,6 @@ +Rubrica is an addressbook for Gnome desktop. Rubrica store personal data +(first name, last name,...), web urls and emails, telepnone numbers (home,...), +job data (company name, company address, assigment in company), notes +(contact is married,...) + +WWW: http://digilander.iol.it/nfragale/index.html diff --git a/deskutils/rubrica/pkg-plist b/deskutils/rubrica/pkg-plist new file mode 100644 index 000000000000..87d821b728bd --- /dev/null +++ b/deskutils/rubrica/pkg-plist @@ -0,0 +1,126 @@ +bin/rubrica +etc/gconf/schemas/rubrica.schemas +share/gnome/applications/rubrica.desktop +%%PORTDOCS%%share/doc/rubrica/AUTHORS +%%PORTDOCS%%share/doc/rubrica/COPYING +%%PORTDOCS%%share/doc/rubrica/CREDITS +%%PORTDOCS%%share/doc/rubrica/ChangeLog +%%PORTDOCS%%share/doc/rubrica/INSTALL +%%PORTDOCS%%share/doc/rubrica/NEWS +%%PORTDOCS%%share/doc/rubrica/README +%%PORTDOCS%%share/doc/rubrica/TODO +%%PORTDOCS%%share/doc/rubrica/examples.rub +share/gnome/pixmaps/rubrica/about.png +share/gnome/pixmaps/rubrica/accounts.png +share/gnome/pixmaps/rubrica/add-menu.png +share/gnome/pixmaps/rubrica/add.png +share/gnome/pixmaps/rubrica/altrotel.png +share/gnome/pixmaps/rubrica/arrow-left.png +share/gnome/pixmaps/rubrica/arrow-right.png +share/gnome/pixmaps/rubrica/bug.png +share/gnome/pixmaps/rubrica/bussiness.png +share/gnome/pixmaps/rubrica/calabria.png +share/gnome/pixmaps/rubrica/casa.png +share/gnome/pixmaps/rubrica/cellulare.png +share/gnome/pixmaps/rubrica/company.png +share/gnome/pixmaps/rubrica/company2.png +share/gnome/pixmaps/rubrica/contacts.png +share/gnome/pixmaps/rubrica/crypto-info.png +share/gnome/pixmaps/rubrica/crypto.png +share/gnome/pixmaps/rubrica/customer.png +share/gnome/pixmaps/rubrica/dedicato.png +share/gnome/pixmaps/rubrica/del.png +share/gnome/pixmaps/rubrica/dictionary.png +share/gnome/pixmaps/rubrica/email.png +share/gnome/pixmaps/rubrica/emailme.png +share/gnome/pixmaps/rubrica/export-menu.png +share/gnome/pixmaps/rubrica/export.png +share/gnome/pixmaps/rubrica/favorites.png +share/gnome/pixmaps/rubrica/fax.png +share/gnome/pixmaps/rubrica/file-info.png +share/gnome/pixmaps/rubrica/file.png +share/gnome/pixmaps/rubrica/filesett.png +share/gnome/pixmaps/rubrica/folder.png +share/gnome/pixmaps/rubrica/football.png +share/gnome/pixmaps/rubrica/freebsd.png +share/gnome/pixmaps/rubrica/friends.png +share/gnome/pixmaps/rubrica/general-info.png +share/gnome/pixmaps/rubrica/general.png +share/gnome/pixmaps/rubrica/genius.png +share/gnome/pixmaps/rubrica/heart.png +share/gnome/pixmaps/rubrica/help.png +share/gnome/pixmaps/rubrica/hobby.png +share/gnome/pixmaps/rubrica/holiday-cards.png +share/gnome/pixmaps/rubrica/holiday.png +share/gnome/pixmaps/rubrica/home.png +share/gnome/pixmaps/rubrica/hot-contacts.png +share/gnome/pixmaps/rubrica/image.png +share/gnome/pixmaps/rubrica/import-menu.png +share/gnome/pixmaps/rubrica/import.png +share/gnome/pixmaps/rubrica/info.png +share/gnome/pixmaps/rubrica/internet.png +share/gnome/pixmaps/rubrica/keys.png +share/gnome/pixmaps/rubrica/ledgreen.png +share/gnome/pixmaps/rubrica/ledred.png +share/gnome/pixmaps/rubrica/load.png +share/gnome/pixmaps/rubrica/misc.png +share/gnome/pixmaps/rubrica/mod-menu.png +share/gnome/pixmaps/rubrica/mod.png +share/gnome/pixmaps/rubrica/money.png +share/gnome/pixmaps/rubrica/multimedia.png +share/gnome/pixmaps/rubrica/notes.png +share/gnome/pixmaps/rubrica/other.png +share/gnome/pixmaps/rubrica/penguin.png +share/gnome/pixmaps/rubrica/personal.png +share/gnome/pixmaps/rubrica/photo.png +share/gnome/pixmaps/rubrica/pj.png +share/gnome/pixmaps/rubrica/post-it.png +share/gnome/pixmaps/rubrica/puzzle.png +share/gnome/pixmaps/rubrica/question.png +share/gnome/pixmaps/rubrica/remove-menu.png +share/gnome/pixmaps/rubrica/remove.png +share/gnome/pixmaps/rubrica/role.png +share/gnome/pixmaps/rubrica/rub.png +share/gnome/pixmaps/rubrica/rubrica.jpg +share/gnome/pixmaps/rubrica/save.png +share/gnome/pixmaps/rubrica/sbug.png +share/gnome/pixmaps/rubrica/scalabria.png +share/gnome/pixmaps/rubrica/schede.png +share/gnome/pixmaps/rubrica/search.png +share/gnome/pixmaps/rubrica/strategies.png +share/gnome/pixmaps/rubrica/street.png +share/gnome/pixmaps/rubrica/telefoni.png +share/gnome/pixmaps/rubrica/telefono.png +share/gnome/pixmaps/rubrica/testa.png +share/gnome/pixmaps/rubrica/time.png +share/gnome/pixmaps/rubrica/translation-info.png +share/gnome/pixmaps/rubrica/translation.png +share/gnome/pixmaps/rubrica/view-column.png +share/gnome/pixmaps/rubrica/view-info.png +share/gnome/pixmaps/rubrica/view.png +share/gnome/pixmaps/rubrica/word.png +share/gnome/pixmaps/rubrica/work.png +share/gnome/rubrica/nautilus-script/rubrica2html.py +share/gnome/rubrica/script/rub2html.py +share/gnome/rubrica/script/rub2rub.py +share/gnome/rubrica/script/rub2txt.py +share/gnome/rubrica/script/rub2vcard.py +share/gnome/rubrica/stylesheet/rub2html.xsl +share/gnome/rubrica/stylesheet/rub2rub.xsl +share/gnome/rubrica/stylesheet/rub2txt.xsl +share/gnome/rubrica/stylesheet/rub2vcard.xsl +share/gnome/services/rubrica.desktop +share/locale/br/LC_MESSAGES/rubrica.mo +share/locale/de/LC_MESSAGES/rubrica.mo +share/locale/es/LC_MESSAGES/rubrica.mo +share/locale/fr/LC_MESSAGES/rubrica.mo +share/locale/it/LC_MESSAGES/rubrica.mo +share/locale/ja/LC_MESSAGES/rubrica.mo +share/locale/ru/LC_MESSAGES/rubrica.mo +@dirrm share/gnome/services +@dirrm share/gnome/rubrica/stylesheet +@dirrm share/gnome/rubrica/script +@dirrm share/gnome/rubrica/nautilus-script +@dirrm share/gnome/rubrica +@dirrm share/gnome/pixmaps/rubrica +%%PORTDOCS%%@dirrm share/doc/rubrica