summaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-30 14:05:47 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-30 14:05:47 +0800
commit84d49a6e965f158dbc37c5c4192dcaec837819ab (patch)
treec305dc796926bb47b3ae9377c5ef5b72639b7492 /deskutils
parentda2788d904e84cbbde53dd138a59fb1f63ede695 (diff)
downloadmarcuscom-ports-84d49a6e965f158dbc37c5c4192dcaec837819ab.tar
marcuscom-ports-84d49a6e965f158dbc37c5c4192dcaec837819ab.tar.gz
marcuscom-ports-84d49a6e965f158dbc37c5c4192dcaec837819ab.tar.bz2
marcuscom-ports-84d49a6e965f158dbc37c5c4192dcaec837819ab.tar.lz
marcuscom-ports-84d49a6e965f158dbc37c5c4192dcaec837819ab.tar.xz
marcuscom-ports-84d49a6e965f158dbc37c5c4192dcaec837819ab.tar.zst
marcuscom-ports-84d49a6e965f158dbc37c5c4192dcaec837819ab.zip
- Fix build with new e-s-d
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7409 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/contacts/Makefile27
-rw-r--r--deskutils/contacts/distinfo3
-rw-r--r--deskutils/contacts/files/patch-src_constacts-utils.c44
-rw-r--r--deskutils/contacts/pkg-descr6
-rw-r--r--deskutils/contacts/pkg-plist6
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