diff options
-rw-r--r-- | deskutils/contacts/Makefile | 27 | ||||
-rw-r--r-- | deskutils/contacts/distinfo | 3 | ||||
-rw-r--r-- | deskutils/contacts/files/patch-src_constacts-utils.c | 44 | ||||
-rw-r--r-- | deskutils/contacts/pkg-descr | 6 | ||||
-rw-r--r-- | deskutils/contacts/pkg-plist | 6 |
5 files changed, 86 insertions, 0 deletions
diff --git a/deskutils/contacts/Makefile b/deskutils/contacts/Makefile new file mode 100644 index 000000000..b9e548450 --- /dev/null +++ b/deskutils/contacts/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: contacts +# Date created: 2005-12-15 +# Whom: Piotr SMyrak, smyru@heron.pl +# +# $FreeBSD$ +# + +PORTNAME= contacts +PORTVERSION= 0.1 +PORTREVISION= 1 +CATEGORIES= deskutils gnome +MASTER_SITES= http://www.openedhand.com/~chris/ \ + http://smyru.petronet.pl/freebsd/ +DIST_SUBDIR= gnome2 + +MAINTAINER= smyru@heron.pl +COMMENT= Simple yet powerful address book based on Evolution data server + +CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include" + +USE_GMAKE= yes +USE_X_PREFIX= yes +USE_GNOME= gtk20 gnomehier evolutiondataserver +USE_AUTOTOOLS= libtool:15 +# CFLAGS+= -g + +.include <bsd.port.mk> diff --git a/deskutils/contacts/distinfo b/deskutils/contacts/distinfo new file mode 100644 index 000000000..a45960f62 --- /dev/null +++ b/deskutils/contacts/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/contacts-0.1.tar.gz) = dc5a650445f0904392039006d929f192 +SHA256 (gnome2/contacts-0.1.tar.gz) = 7add3642aecedb363dbf30674021c6b75c4ef7c772c889b8050590fe996c7e1c +SIZE (gnome2/contacts-0.1.tar.gz) = 330231 diff --git a/deskutils/contacts/files/patch-src_constacts-utils.c b/deskutils/contacts/files/patch-src_constacts-utils.c new file mode 100644 index 000000000..605a374d5 --- /dev/null +++ b/deskutils/contacts/files/patch-src_constacts-utils.c @@ -0,0 +1,44 @@ +--- src/contacts-utils.c.orig Sat Sep 30 02:02:40 2006 ++++ src/contacts-utils.c Sat Sep 30 02:03:54 2006 +@@ -180,13 +180,13 @@ + + /* TODO: Would adding a struct for this be gratuititous? RB: NOT AT ALL */ + static const gchar **contacts_field_types[] = { +- (gchar *[]){ "TEL", "Home", "Msg", "Work", "Pref", "Voice", "Fax", ++ (const gchar *[]){ "TEL", "Home", "Msg", "Work", "Pref", "Voice", "Fax", + "Cell", "Video", "Pager", "BBS", "Modem", "Car", + "ISDN", "PCS", NULL }, +- (gchar *[]){ "EMAIL", "Internet", "X400", "Pref", NULL }, +- (gchar *[]){ "ADR", "Dom", "Intl", "Postal", "Parcel", "Home", "Work", ++ (const gchar *[]){ "EMAIL", "Internet", "X400", "Pref", NULL }, ++ (const gchar *[]){ "ADR", "Dom", "Intl", "Postal", "Parcel", "Home", "Work", + "Pref", NULL }, +- (gchar *[]){ NULL } ++ (const gchar *[]){ NULL } + }; + + const gchar ** +@@ -357,8 +357,8 @@ + switch (photo->type) { + case E_CONTACT_PHOTO_TYPE_INLINED : + gdk_pixbuf_loader_write (loader, +- photo->inlined.data, +- photo->inlined.length, NULL); ++ photo->data.inlined.data, ++ photo->data.inlined.length, NULL); + break; + case E_CONTACT_PHOTO_TYPE_URI : + default : +@@ -545,9 +545,9 @@ + int *length; + #if HAVE_PHOTO_TYPE + new_photo.type = E_CONTACT_PHOTO_TYPE_INLINED; +- data = &new_photo.inlined.data; +- length = &new_photo.inlined.length; +- new_photo.inlined.mime_type = NULL; ++ data = &new_photo.data.inlined.data; ++ length = &new_photo.data.inlined.length; ++ new_photo.data.inlined.mime_type = NULL; + #else + data = &new_photo.data; + length = &new_photo.length; diff --git a/deskutils/contacts/pkg-descr b/deskutils/contacts/pkg-descr new file mode 100644 index 000000000..88fecb30e --- /dev/null +++ b/deskutils/contacts/pkg-descr @@ -0,0 +1,6 @@ +This is Contacts, simple and efficient interface to contacts databases +stored by Gnome internal Evolution data server. It was build primary +for non desktop devices, but serves its mission as well on bigger +computers. + +WWW: http://projects.o-hand.com/contacts diff --git a/deskutils/contacts/pkg-plist b/deskutils/contacts/pkg-plist new file mode 100644 index 000000000..6650ecf40 --- /dev/null +++ b/deskutils/contacts/pkg-plist @@ -0,0 +1,6 @@ +bin/contacts +share/applications/contacts.desktop +%%DATADIR%%/contacts.glade +share/pixmaps/oh-contacts.png +@dirrmtry share/applications +@dirrm share/contacts |