mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- Update to 0.2
PR: ports/105941 Submitted by: Piotr Smyrak <smyru@heron.pl> (maintainer)
This commit is contained in:
parent
b26555fd64
commit
c7fbd3ce6b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=178316
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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;
|
@ -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%%
|
||||
|
Loading…
Reference in New Issue
Block a user