Update to colord-0.1.21.

This commit is contained in:
ajacoutot 2012-05-28 08:45:38 +00:00
parent 88a0dffa92
commit 44ccd288b1
8 changed files with 60 additions and 41 deletions

View File

@ -1,12 +1,12 @@
# $OpenBSD: Makefile,v 1.10 2012/04/28 10:52:08 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.11 2012/05/28 08:45:38 ajacoutot Exp $
COMMENT= device color profile management daemon
DISTNAME= colord-0.1.18
DISTNAME= colord-0.1.21
EXTRACT_SUFX= .tar.xz
REVISION= 1
SHARED_LIBS += colord 0.0 # 1.4
SHARED_LIBS += colord 0.1 # 1.11
SHARED_LIBS += colord-gtk 0.0 # 1.11
CATEGORIES= graphics devel
@ -20,8 +20,14 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += c ffi gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
WANTLIB += lcms2 m pcre polkit-gobject-1 pthread sqlite3 z
WANTLIB += GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0 c cairo
WANTLIB += cairo-gobject drm expat ffi fontconfig freetype gdk-3
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
WANTLIB += gthread-2.0 gtk-3 lcms2 m pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pcre pixman-1 png polkit-gobject-1 pthread
WANTLIB += pthread-stubs sqlite3 stdc++ xcb xcb-render xcb-shm
WANTLIB += z
MASTER_SITES= http://www.freedesktop.org/software/colord/releases/
@ -33,7 +39,8 @@ BUILD_DEPENDS= lang/vala \
textproc/docbook2x
LIB_DEPENDS= sysutils/polkit \
graphics/lcms2
graphics/lcms2 \
x11/gtk+3
# technically not needed, however it is handy to have some profiles to
# start working with
@ -67,10 +74,6 @@ pre-configure:
${WRKSRC}/configure
post-install:
rm -rf ${WRKINST}/lib ${PREFIX}/var
# needs gudev
rm ${PREFIX}/share/examples/colord/dbus-1/system.d/org.freedesktop.colord-sane.conf \
${PREFIX}/share/dbus-1/system-services/org.freedesktop.colord-sane.service \
${PREFIX}/share/dbus-1/interfaces/org.freedesktop.colord.sane.xml
rm -rf ${WRKINST}/lib
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (colord-0.1.18.tar.xz) = jJv1RzPphiVEhg8aipph+Q==
RMD160 (colord-0.1.18.tar.xz) = jurmofcV30UccmfrDhR7KZuQmQ4=
SHA1 (colord-0.1.18.tar.xz) = YSfnI6m+uTKq56Q7bmtf24TDlhE=
SHA256 (colord-0.1.18.tar.xz) = hxdfm7wsWfvgG7mcSYk5P1qqtQd9p82R8JnGrsSeEJk=
SIZE (colord-0.1.18.tar.xz) = 475220
MD5 (colord-0.1.21.tar.xz) = gCisDQeO+yWEYC55Md0Gsg==
RMD160 (colord-0.1.21.tar.xz) = sbCrwB7LR4ANAVlktNAaSNMf/N0=
SHA1 (colord-0.1.21.tar.xz) = 2/mBvuxw6BxFz0axUPQm/B61bCQ=
SHA256 (colord-0.1.21.tar.xz) = NguJaw0qNZcKDNQuRI6jJ9eJ8wn/lQIhkMTTO7iwLDA=
SIZE (colord-0.1.21.tar.xz) = 553424

View File

@ -1,12 +1,12 @@
$OpenBSD: patch-configure,v 1.3 2012/03/19 08:59:00 ajacoutot Exp $
$OpenBSD: patch-configure,v 1.4 2012/05/28 08:45:38 ajacoutot Exp $
Fix DATADIRNAME: see LOCALBASE/share/aclocal/glib-gettext.m4.
/var/lib -> /var/db
--- configure.orig Thu Mar 15 12:13:39 2012
+++ configure Sun Mar 18 20:28:58 2012
@@ -13555,6 +13555,9 @@ else
--- configure.orig Tue May 22 13:42:11 2012
+++ configure Mon May 28 10:09:33 2012
@@ -13565,6 +13565,9 @@ else
fi
;;
@ -16,12 +16,12 @@ Fix DATADIRNAME: see LOCALBASE/share/aclocal/glib-gettext.m4.
*)
DATADIRNAME=lib
;;
@@ -16804,7 +16807,7 @@ fi
@@ -16912,7 +16915,7 @@ $as_echo "#define HAVE_GTK 1" >>confdefs.h
fi
# per-machine directory
-CD_SYSTEM_PROFILES_DIR="\$(localstatedir)/lib/colord/icc"
+CD_SYSTEM_PROFILES_DIR="\$(localstatedir)/db/colord/icc"
ac_config_files="$ac_config_files Makefile etc/Makefile contrib/Makefile contrib/colord-sane/Makefile contrib/colord-sane/org.freedesktop.colord-sane.conf examples/Makefile man/Makefile doc/Makefile doc/api/Makefile doc/api/dbus/Makefile doc/api/version.xml data/Makefile data/org.freedesktop.ColorManager.conf data/tests/Makefile policy/Makefile rules/Makefile rules/69-cd-sensors.rules po/Makefile.in src/Makefile src/sensors/Makefile client/Makefile libcolord/cd-version.h libcolord/colord.pc libcolord/Makefile"
ac_config_files="$ac_config_files Makefile etc/Makefile contrib/Makefile contrib/colord-sane/Makefile contrib/colord-sane/org.freedesktop.colord-sane.conf examples/Makefile man/Makefile doc/Makefile doc/api/Makefile doc/api/dbus/Makefile doc/api/version.xml data/Makefile data/org.freedesktop.ColorManager.conf data/tests/Makefile policy/Makefile rules/Makefile rules/69-cd-sensors.rules po/Makefile.in src/Makefile src/sensors/Makefile client/Makefile libcolord/cd-version.h libcolord/colord.pc libcolord/Makefile libcolord-gtk/colord-gtk.pc libcolord-gtk/Makefile"

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src_Makefile_in,v 1.1 2012/03/19 08:59:00 ajacoutot Exp $
--- src/Makefile.in.orig Mon Mar 19 08:59:49 2012
+++ src/Makefile.in Mon Mar 19 09:15:06 2012
@@ -1415,11 +1415,6 @@ uninstall-am: uninstall-dist_introspectionDATA \
$OpenBSD: patch-src_Makefile_in,v 1.2 2012/05/28 08:45:38 ajacoutot Exp $
--- src/Makefile.in.orig Tue May 22 13:42:11 2012
+++ src/Makefile.in Mon May 28 10:09:33 2012
@@ -1418,11 +1418,6 @@ uninstall-am: uninstall-dist_introspectionDATA \
install-data-hook:

View File

@ -1,10 +1,10 @@
$OpenBSD: patch-src_cd-main_c,v 1.3 2012/03/19 08:59:00 ajacoutot Exp $
$OpenBSD: patch-src_cd-main_c,v 1.4 2012/05/28 08:45:38 ajacoutot Exp $
/var/lib -> /var/db
--- src/cd-main.c.orig Mon Mar 12 15:00:11 2012
+++ src/cd-main.c Sun Mar 18 20:24:56 2012
@@ -1868,7 +1868,7 @@ main (int argc, char *argv[])
--- src/cd-main.c.orig Thu Apr 19 17:34:30 2012
+++ src/cd-main.c Mon May 28 10:09:33 2012
@@ -1884,7 +1884,7 @@ main (int argc, char *argv[])
/* connect to the mapping db */
mapping_db = cd_mapping_db_new ();
ret = cd_mapping_db_load (mapping_db,
@ -13,7 +13,7 @@ $OpenBSD: patch-src_cd-main_c,v 1.3 2012/03/19 08:59:00 ajacoutot Exp $
&error);
if (!ret) {
g_warning ("CdMain: failed to load mapping database: %s",
@@ -1880,7 +1880,7 @@ main (int argc, char *argv[])
@@ -1896,7 +1896,7 @@ main (int argc, char *argv[])
/* connect to the device db */
device_db = cd_device_db_new ();
ret = cd_device_db_load (device_db,

View File

@ -1,10 +1,10 @@
$OpenBSD: patch-src_cd-profile_c,v 1.2 2012/03/19 08:59:00 ajacoutot Exp $
$OpenBSD: patch-src_cd-profile_c,v 1.3 2012/05/28 08:45:38 ajacoutot Exp $
/var/lib -> /var/db
--- src/cd-profile.c.orig Tue Mar 13 19:37:35 2012
+++ src/cd-profile.c Sun Mar 18 20:25:51 2012
@@ -272,7 +272,7 @@ cd_profile_install_system_wide (CdProfile *profile, GE
--- src/cd-profile.c.orig Fri May 18 16:33:13 2012
+++ src/cd-profile.c Mon May 28 10:09:33 2012
@@ -308,7 +308,7 @@ cd_profile_install_system_wide (CdProfile *profile, GE
goto out;
}

View File

@ -1,3 +1,4 @@
@comment $OpenBSD: PFRAG.shared,v 1.2 2012/03/19 08:59:00 ajacoutot Exp $
@comment $OpenBSD: PFRAG.shared,v 1.3 2012/05/28 08:45:39 ajacoutot Exp $
lib/colord-sensors/libcolord_sensor_dummy.so
@lib lib/libcolord-gtk.so.${LIBcolord-gtk_VERSION}
@lib lib/libcolord.so.${LIBcolord_VERSION}

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.5 2012/03/19 18:10:35 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.6 2012/05/28 08:45:39 ajacoutot Exp $
@newgroup _colord:694
@newuser _colord:694:_colord:daemon:colord Daemon:/nonexistent:/sbin/nologin
@extraunexec rm -f /var/db/colord/mapping.db
@ -9,6 +9,12 @@
@bin bin/colormgr
include/colord-1/
include/colord-1/colord/
include/colord-1/colord-gtk/
include/colord-1/colord-gtk.h
include/colord-1/colord-gtk/cd-sample-window.h
include/colord-1/colord-gtk/cd-window-sync.h
include/colord-1/colord-gtk/cd-window.h
include/colord-1/colord-private.h
include/colord-1/colord.h
include/colord-1/colord/cd-client-sync.h
include/colord-1/colord/cd-client.h
@ -16,6 +22,8 @@ include/colord-1/colord/cd-color.h
include/colord-1/colord/cd-device-sync.h
include/colord-1/colord/cd-device.h
include/colord-1/colord/cd-enum.h
include/colord-1/colord/cd-it8-utils.h
include/colord-1/colord/cd-it8.h
include/colord-1/colord/cd-math.h
include/colord-1/colord/cd-profile-sync.h
include/colord-1/colord/cd-profile.h
@ -27,9 +35,13 @@ lib/colord-sensors/
@comment lib/colord-sensors/libcolord_sensor_dummy.la
lib/girepository-1.0/
lib/girepository-1.0/Colord-1.0.typelib
lib/girepository-1.0/ColordGtk-1.0.typelib
lib/libcolord-gtk.a
lib/libcolord-gtk.la
lib/libcolord.a
lib/libcolord.la
lib/pkgconfig/
lib/pkgconfig/colord-gtk.pc
lib/pkgconfig/colord.pc
@bin libexec/colord
@man man/man1/cd-create-profile.1
@ -47,6 +59,10 @@ share/dbus-1/interfaces/org.freedesktop.ColorManager.xml
share/dbus-1/system-services/
share/dbus-1/system-services/org.freedesktop.ColorManager.service
share/examples/colord/
share/examples/colord/bash_completion.d/
@sample ${SYSCONFDIR}/bash_completion.d/
share/examples/colord/bash_completion.d/colormgr-completion.bash
@sample ${SYSCONFDIR}/bash_completion.d/colormgr-completion.bash
share/examples/colord/colord.conf
@sample ${SYSCONFDIR}/colord.conf
share/examples/colord/dbus-1/
@ -55,6 +71,7 @@ share/examples/colord/dbus-1/system.d/org.freedesktop.ColorManager.conf
@sample ${SYSCONFDIR}/dbus-1/system.d/org.freedesktop.ColorManager.conf
share/gir-1.0/
share/gir-1.0/Colord-1.0.gir
share/gir-1.0/ColordGtk-1.0.gir
share/locale/as/
share/locale/as/LC_MESSAGES/
share/locale/as/LC_MESSAGES/colord.mo
@ -157,5 +174,3 @@ share/vala/vapi/colord.vapi
@group _colord
@sample /var/db/colord/
@sample /var/db/colord/icc/
@owner
@group