From e5bef0a5bb69a87961f5590b56bfc0cac29fbe59 Mon Sep 17 00:00:00 2001 From: jasper Date: Wed, 18 Jun 2008 19:44:55 +0000 Subject: [PATCH] import contacts 0.9 Contacts is a small, lightweight addressbook that uses libebook, part of EDS. This is the same library that GNOME Evolution uses, so all contact data that exists in your Evolution addressbook is accessible via Contacts. Contacts features advanced vCard field type handling. --- misc/contacts/Makefile | 46 +++++++++++++++++++++++++++++++++++++ misc/contacts/distinfo | 5 ++++ misc/contacts/pkg/DESCR | 4 ++++ misc/contacts/pkg/PLIST | 51 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 106 insertions(+) create mode 100644 misc/contacts/Makefile create mode 100644 misc/contacts/distinfo create mode 100644 misc/contacts/pkg/DESCR create mode 100644 misc/contacts/pkg/PLIST diff --git a/misc/contacts/Makefile b/misc/contacts/Makefile new file mode 100644 index 00000000000..a32524fdcbf --- /dev/null +++ b/misc/contacts/Makefile @@ -0,0 +1,46 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2008/06/18 19:44:55 jasper Exp $ + +COMMENT= lightweight addressbook + +GNOME_PROJECT= contacts +GNOME_VERSION= 0.9 +CATEGORIES= misc x11 + +HOMEPAGE= http://pimlico-project.org/contacts.html + +# GPLv2 +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= http://pimlico-project.org/sources/contacts/ + +WANTLIB= ORBit-2 ORBitCosNaming-2 X11 Xau Xcomposite Xcursor \ + Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr Xrender \ + asn1 atk-1.0 audiofile bonobo-2 bonobo-activation c cairo \ + com_err crypto db dbus-1 dbus-glib-1 esd expat fontconfig \ + freetype gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0 glib-2.0 \ + glitz gmodule-2.0 gnome-2 gnomevfs-2 gobject-2.0 gssapi \ + gthread-2.0 gtk-x11-2.0 krb5 m nspr4 nss3 pango-1.0 \ + pangocairo-1.0 pangoft2-1.0 pcre pixman-1 plc4 plds4 \ + png popt pthread smime3 softokn3 ssl ssl3 util xml2 z + +MODULES= devel/gettext \ + x11/gnome + +DESKTOP_FILES= Yes +USE_X11= Yes + +LIB_DEPENDS= camel-1.2,ebook-1.2,edataserver-1.2::databases/evolution-data-server + +CONFIGURE_STYLE= gnu +CONFIGURE_ARGS+= --with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/contacts \ + --disable-schemas-install \ + --enable-gnome-vfs \ + --enable-gconf \ + --enable-dbus +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +.include diff --git a/misc/contacts/distinfo b/misc/contacts/distinfo new file mode 100644 index 00000000000..c1a2b2c0ff8 --- /dev/null +++ b/misc/contacts/distinfo @@ -0,0 +1,5 @@ +MD5 (contacts-0.9.tar.gz) = qrWv+/k9b6e5eLMjqNRN4A== +RMD160 (contacts-0.9.tar.gz) = /TtMvRS+pZvi/S+LJ+2Uos7T7Eo= +SHA1 (contacts-0.9.tar.gz) = NA1q8rIkHJ7Ki8Fep7xBh42yRWc= +SHA256 (contacts-0.9.tar.gz) = nKzsmPgSOZMDOqolXz9MBMhqG+ZeSH3SHwqqVDhKb20= +SIZE (contacts-0.9.tar.gz) = 451921 diff --git a/misc/contacts/pkg/DESCR b/misc/contacts/pkg/DESCR new file mode 100644 index 00000000000..39782a58e7c --- /dev/null +++ b/misc/contacts/pkg/DESCR @@ -0,0 +1,4 @@ +Contacts is a small, lightweight addressbook that uses libebook, part of +EDS. This is the same library that GNOME Evolution uses, so all contact +data that exists in your Evolution addressbook is accessible via +Contacts. Contacts features advanced vCard field type handling. diff --git a/misc/contacts/pkg/PLIST b/misc/contacts/pkg/PLIST new file mode 100644 index 00000000000..eb8b13d9d6d --- /dev/null +++ b/misc/contacts/pkg/PLIST @@ -0,0 +1,51 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2008/06/18 19:44:55 jasper Exp $ +@bin bin/contacts +@man man/man1/contacts.1 +share/applications/contacts.desktop +share/icons/ +share/icons/hicolor/ +share/icons/hicolor/16x16/ +share/icons/hicolor/16x16/apps/ +share/icons/hicolor/16x16/apps/contacts.png +share/icons/hicolor/22x22/ +share/icons/hicolor/22x22/apps/ +share/icons/hicolor/22x22/apps/contacts.png +share/icons/hicolor/24x24/ +share/icons/hicolor/24x24/apps/ +share/icons/hicolor/24x24/apps/contacts.png +share/icons/hicolor/32x32/ +share/icons/hicolor/32x32/apps/ +share/icons/hicolor/32x32/apps/contacts.png +share/icons/hicolor/48x48/ +share/icons/hicolor/48x48/apps/ +share/icons/hicolor/48x48/apps/contacts.png +share/icons/hicolor/scalable/ +share/icons/hicolor/scalable/apps/ +share/icons/hicolor/scalable/apps/contacts.svg +share/locale/bg/LC_MESSAGES/Contacts.mo +share/locale/ca/LC_MESSAGES/Contacts.mo +share/locale/da/LC_MESSAGES/Contacts.mo +share/locale/de/LC_MESSAGES/Contacts.mo +share/locale/en_GB/ +share/locale/en_GB/LC_MESSAGES/ +share/locale/en_GB/LC_MESSAGES/Contacts.mo +share/locale/es/LC_MESSAGES/Contacts.mo +share/locale/et/LC_MESSAGES/Contacts.mo +share/locale/fi/LC_MESSAGES/Contacts.mo +share/locale/fr/LC_MESSAGES/Contacts.mo +share/locale/it/LC_MESSAGES/Contacts.mo +share/locale/nb/LC_MESSAGES/Contacts.mo +share/locale/nl/LC_MESSAGES/Contacts.mo +share/locale/pl/LC_MESSAGES/Contacts.mo +share/locale/pt_BR/LC_MESSAGES/Contacts.mo +share/locale/ru/LC_MESSAGES/Contacts.mo +share/locale/sv/LC_MESSAGES/Contacts.mo +@unexec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-uninstall-rule %D/share/schemas/contacts/*.schemas > /dev/null +share/schemas/ +share/schemas/contacts/ +share/schemas/contacts/contacts.schemas +@exec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-install-rule %D/share/schemas/contacts/*.schemas > /dev/null +@exec %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor 2> /dev/null || true +@unexec %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor 2> /dev/null || true +@exec %D/bin/update-desktop-database +@unexec %D/bin/update-desktop-database