diff options
-rw-r--r-- | colord-gtk/.footprint.i686 | 26 | ||||
-rw-r--r-- | colord-gtk/.footprint.x86_64 | 26 | ||||
-rw-r--r-- | colord-gtk/.md5sum.i686 | 2 | ||||
-rw-r--r-- | colord-gtk/.md5sum.x86_64 | 2 | ||||
-rw-r--r-- | colord-gtk/Do-not-reuse-__COLORD_H_INSIDE__-as-this-causes-incl.patch | 83 | ||||
-rw-r--r-- | colord-gtk/Pkgfile | 20 |
6 files changed, 159 insertions, 0 deletions
diff --git a/colord-gtk/.footprint.i686 b/colord-gtk/.footprint.i686 new file mode 100644 index 000000000..b8283472b --- /dev/null +++ b/colord-gtk/.footprint.i686 @@ -0,0 +1,26 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/colord-1/ +-rw-r--r-- root/root usr/include/colord-1/colord-gtk.h +drwxr-xr-x root/root usr/include/colord-1/colord-gtk/ +-rw-r--r-- root/root usr/include/colord-1/colord-gtk/cd-sample-window.h +-rw-r--r-- root/root usr/include/colord-1/colord-gtk/cd-version.h +-rw-r--r-- root/root usr/include/colord-1/colord-gtk/cd-window-sync.h +-rw-r--r-- root/root usr/include/colord-1/colord-gtk/cd-window.h +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/girepository-1.0/ +-rw-r--r-- root/root usr/lib/girepository-1.0/ColordGtk-1.0.typelib +-rw-r--r-- root/root usr/lib/libcolord-gtk.a +-rwxr-xr-x root/root usr/lib/libcolord-gtk.la +lrwxrwxrwx root/root usr/lib/libcolord-gtk.so -> libcolord-gtk.so.1.0.0 +lrwxrwxrwx root/root usr/lib/libcolord-gtk.so.1 -> libcolord-gtk.so.1.0.0 +-rwxr-xr-x root/root usr/lib/libcolord-gtk.so.1.0.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/colord-gtk.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/gir-1.0/ +-rw-r--r-- root/root usr/share/gir-1.0/ColordGtk-1.0.gir +drwxr-xr-x root/root usr/share/locale/ +drwxr-xr-x root/root usr/share/vala/ +drwxr-xr-x root/root usr/share/vala/vapi/ +-rw-r--r-- root/root usr/share/vala/vapi/colord-gtk.vapi diff --git a/colord-gtk/.footprint.x86_64 b/colord-gtk/.footprint.x86_64 new file mode 100644 index 000000000..b8283472b --- /dev/null +++ b/colord-gtk/.footprint.x86_64 @@ -0,0 +1,26 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/colord-1/ +-rw-r--r-- root/root usr/include/colord-1/colord-gtk.h +drwxr-xr-x root/root usr/include/colord-1/colord-gtk/ +-rw-r--r-- root/root usr/include/colord-1/colord-gtk/cd-sample-window.h +-rw-r--r-- root/root usr/include/colord-1/colord-gtk/cd-version.h +-rw-r--r-- root/root usr/include/colord-1/colord-gtk/cd-window-sync.h +-rw-r--r-- root/root usr/include/colord-1/colord-gtk/cd-window.h +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/girepository-1.0/ +-rw-r--r-- root/root usr/lib/girepository-1.0/ColordGtk-1.0.typelib +-rw-r--r-- root/root usr/lib/libcolord-gtk.a +-rwxr-xr-x root/root usr/lib/libcolord-gtk.la +lrwxrwxrwx root/root usr/lib/libcolord-gtk.so -> libcolord-gtk.so.1.0.0 +lrwxrwxrwx root/root usr/lib/libcolord-gtk.so.1 -> libcolord-gtk.so.1.0.0 +-rwxr-xr-x root/root usr/lib/libcolord-gtk.so.1.0.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/colord-gtk.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/gir-1.0/ +-rw-r--r-- root/root usr/share/gir-1.0/ColordGtk-1.0.gir +drwxr-xr-x root/root usr/share/locale/ +drwxr-xr-x root/root usr/share/vala/ +drwxr-xr-x root/root usr/share/vala/vapi/ +-rw-r--r-- root/root usr/share/vala/vapi/colord-gtk.vapi diff --git a/colord-gtk/.md5sum.i686 b/colord-gtk/.md5sum.i686 new file mode 100644 index 000000000..85b5e1352 --- /dev/null +++ b/colord-gtk/.md5sum.i686 @@ -0,0 +1,2 @@ +946941bfcfe53df5e658299eed9ce5e9 Do-not-reuse-__COLORD_H_INSIDE__-as-this-causes-incl.patch +1375d6273e6400110ce33f6f77039b7b colord-gtk-0.1.22.tar.xz diff --git a/colord-gtk/.md5sum.x86_64 b/colord-gtk/.md5sum.x86_64 new file mode 100644 index 000000000..85b5e1352 --- /dev/null +++ b/colord-gtk/.md5sum.x86_64 @@ -0,0 +1,2 @@ +946941bfcfe53df5e658299eed9ce5e9 Do-not-reuse-__COLORD_H_INSIDE__-as-this-causes-incl.patch +1375d6273e6400110ce33f6f77039b7b colord-gtk-0.1.22.tar.xz diff --git a/colord-gtk/Do-not-reuse-__COLORD_H_INSIDE__-as-this-causes-incl.patch b/colord-gtk/Do-not-reuse-__COLORD_H_INSIDE__-as-this-causes-incl.patch new file mode 100644 index 000000000..edb60b271 --- /dev/null +++ b/colord-gtk/Do-not-reuse-__COLORD_H_INSIDE__-as-this-causes-incl.patch @@ -0,0 +1,83 @@ +From 71510fc785e440c068cc42dbd294dba5d74eeaff Mon Sep 17 00:00:00 2001 +From: Richard Hughes <richard@hughsie.com> +Date: Wed, 27 Jun 2012 09:00:15 +0100 +Subject: [PATCH] Do not reuse __COLORD_H_INSIDE__ as this causes #include + insanity + +--- + libcolord-gtk/cd-version.h.in | 2 +- + libcolord-gtk/cd-window-sync.h | 2 +- + libcolord-gtk/cd-window.h | 2 +- + libcolord-gtk/colord-gtk.h | 9 +++------ + 4 files changed, 6 insertions(+), 9 deletions(-) + +diff --git a/libcolord-gtk/cd-version.h.in b/libcolord-gtk/cd-version.h.in +index 5ad7569..555556a 100644 +--- a/libcolord-gtk/cd-version.h.in ++++ b/libcolord-gtk/cd-version.h.in +@@ -29,7 +29,7 @@ + * See also: #CdClient, #CdDevice + */ + +-#if !defined (__COLORD_H_INSIDE__) && !defined (CD_COMPILATION) ++#if !defined (__COLORD_GTK_H_INSIDE__) && !defined (CD_COMPILATION) + #error "Only <colord.h> can be included directly." + #endif + +diff --git a/libcolord-gtk/cd-window-sync.h b/libcolord-gtk/cd-window-sync.h +index 6afe83b..47b8254 100644 +--- a/libcolord-gtk/cd-window-sync.h ++++ b/libcolord-gtk/cd-window-sync.h +@@ -19,7 +19,7 @@ + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +-#if !defined (__COLORD_H_INSIDE__) && !defined (CD_COMPILATION) ++#if !defined (__COLORD_GTK_H_INSIDE__) && !defined (CD_COMPILATION) + #error "Only <colord.h> can be included directly." + #endif + +diff --git a/libcolord-gtk/cd-window.h b/libcolord-gtk/cd-window.h +index 3b993a8..dbdab3e 100644 +--- a/libcolord-gtk/cd-window.h ++++ b/libcolord-gtk/cd-window.h +@@ -19,7 +19,7 @@ + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +-#if !defined (__COLORD_H_INSIDE__) && !defined (CD_COMPILATION) ++#if !defined (__COLORD_GTK_H_INSIDE__) && !defined (CD_COMPILATION) + #error "Only <colord-gtk.h> can be included directly." + #endif + +diff --git a/libcolord-gtk/colord-gtk.h b/libcolord-gtk/colord-gtk.h +index 658ec60..4080667 100644 +--- a/libcolord-gtk/colord-gtk.h ++++ b/libcolord-gtk/colord-gtk.h +@@ -31,20 +31,17 @@ + #ifndef __COLORD_GTK_H__ + #define __COLORD_GTK_H__ + +-#define __COLORD_H_INSIDE__ ++#define __COLORD_GTK_H_INSIDE__ + + #include <gtk/gtk.h> +- + #include <colord.h> +-//#include <colord/cd-device.h> +-//#include <colord/cd-profile.h> +-//#include <colord/cd-color.h> ++ + #include <colord-gtk/cd-sample-window.h> + #include <colord-gtk/cd-version.h> + #include <colord-gtk/cd-window.h> + #include <colord-gtk/cd-window-sync.h> + +-#undef __COLORD_H_INSIDE__ ++#undef __COLORD_GTK_H_INSIDE__ + + #endif /* __COLORD_GTK_H__ */ + +-- +1.7.10.2 + diff --git a/colord-gtk/Pkgfile b/colord-gtk/Pkgfile new file mode 100644 index 000000000..d522d0dad --- /dev/null +++ b/colord-gtk/Pkgfile @@ -0,0 +1,20 @@ +# Description: Démon bas niveau pour la gestion de profiles de couleurs sur des périphériques +# URL: http://www.freedesktop.org/software/colord/ +# Maintainer: NuTyX core team +# Packager: piernov <piernov@piernov.org> +# Depends on: dbus-glib, libxml2, gtk3, colord, lcms2, gobject-introspection, vala, intltool +# Run on: dbus-glib,libxml2,gtk3,colord,lcms2 + +name=colord-gtk +version=0.1.22 +release=1 +source=(http://www.freedesktop.org/software/colord/releases/$name-$version.tar.xz + Do-not-reuse-__COLORD_H_INSIDE__-as-this-causes-incl.patch) + +build() { + cd $name-$version + patch -p1 < ../Do-not-reuse-__COLORD_H_INSIDE__-as-this-causes-incl.patch + ./configure --prefix=/usr + make + make DESTDIR=$PKG install +} |