aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-11-30 10:02:03 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-11-30 10:02:03 +0000
commitc7fbd3ce6b7eb898aba3c71caf888e3ed70bbbca (patch)
tree243d8eba5d8d2d34c7ed2e42b24d46bcda00ab48
parentb26555fd64d15fce895e4c38088e4f0864b87496 (diff)
downloadports-c7fbd3ce6b7eb898aba3c71caf888e3ed70bbbca.tar.gz
ports-c7fbd3ce6b7eb898aba3c71caf888e3ed70bbbca.zip
Notes
-rw-r--r--deskutils/contacts/Makefile7
-rw-r--r--deskutils/contacts/distinfo6
-rw-r--r--deskutils/contacts/files/patch-src_constacts-utils.c44
-rw-r--r--deskutils/contacts/pkg-plist5
4 files changed, 10 insertions, 52 deletions
diff --git a/deskutils/contacts/Makefile b/deskutils/contacts/Makefile
index b9e54845044e..345a44e96eec 100644
--- a/deskutils/contacts/Makefile
+++ b/deskutils/contacts/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= contacts
-PORTVERSION= 0.1
-PORTREVISION= 1
+PORTVERSION= 0.2
CATEGORIES= deskutils gnome
-MASTER_SITES= http://www.openedhand.com/~chris/ \
+MASTER_SITES= http://projects.o-hand.com/sources/contacts/ \
http://smyru.petronet.pl/freebsd/
DIST_SUBDIR= gnome2
@@ -19,9 +18,9 @@ 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
+GCONF_SCHEMAS= contacts.schemas
# CFLAGS+= -g
.include <bsd.port.mk>
diff --git a/deskutils/contacts/distinfo b/deskutils/contacts/distinfo
index a45960f625c9..0749470b92e9 100644
--- a/deskutils/contacts/distinfo
+++ b/deskutils/contacts/distinfo
@@ -1,3 +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
+MD5 (gnome2/contacts-0.2.tar.gz) = ad8a4297af14930d45a56d17b39cf0d5
+SHA256 (gnome2/contacts-0.2.tar.gz) = a8b6ebf62c39b235549c4f11b8a191b0d470a75ddd73a8a39361abd7fdde4cca
+SIZE (gnome2/contacts-0.2.tar.gz) = 401486
diff --git a/deskutils/contacts/files/patch-src_constacts-utils.c b/deskutils/contacts/files/patch-src_constacts-utils.c
deleted file mode 100644
index 605a374d5802..000000000000
--- a/deskutils/contacts/files/patch-src_constacts-utils.c
+++ /dev/null
@@ -1,44 +0,0 @@
---- 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-plist b/deskutils/contacts/pkg-plist
index 6650ecf40298..b65fe6f77e6d 100644
--- a/deskutils/contacts/pkg-plist
+++ b/deskutils/contacts/pkg-plist
@@ -1,6 +1,9 @@
bin/contacts
share/applications/contacts.desktop
%%DATADIR%%/contacts.glade
+share/locale/et/LC_MESSAGES/Contacts.mo
+share/locale/fr/LC_MESSAGES/Contacts.mo
share/pixmaps/oh-contacts.png
+@dirrmtry share/pixmaps
@dirrmtry share/applications
-@dirrm share/contacts
+@dirrm %%DATADIR%%