Accepting request 81452 from GNOME:Factory

Pushing most of G:F

OBS-URL: https://build.opensuse.org/request/show/81452
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/colord?expand=0&rev=7
This commit is contained in:
Sascha Peilicke
2011-09-09 09:11:31 +00:00
committed by Git OBS Bridge
4 changed files with 80 additions and 13 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8469cabb77e6ce99eef9fa9292eeab9c11c7232593af12bf1560303e4f5198df
size 417348

3
colord-0.1.12.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:72992ed8798e8c140bbcfe570fc65e4e6bbad727a4691142cd018a8ce107165c
size 440284

View File

@@ -1,3 +1,57 @@
-------------------------------------------------------------------
Fri Sep 2 08:20:51 UTC 2011 - vuntz@opensuse.org
- Update to version 0.1.12:
+ New Features:
- Add a configure argument --enable-volume-search
- Add a configure argument of --enable-fd-fallback
- Add cd_client_import_profile() to be able to easily import a
GFile
- Allow the daemon to run with a different user
+ Bugfixes:
- Add daemon user to acl of sensor devices
- Add lcms2 to Requires.private
- Check if a file is really an ICC profile before importing it
- Detect libusb_strerror in configure rather than relying on
the version
- Do not fail make check if there is no available local colord
process to use
- Ensure the profiles are sorted by their timestamp during
login
- Ensure the volume-sourced profiles are not marked as
systemwide profiles
- Exit with an error when trying to connect to a device that
does not exist
- Remove duplicate call to complete in libcolord
- Try harder to use the ICC profile checksum
- Changes from version 0.1.11:
+ New Features:
- Enable GObject introspection generation on libcolord
- Generate a Vala API binding from the GObject Introspection
GIR
- Move the project home to freedesktop.org
- Ship generated man pages in tarballs
+ Bugfixes:
- Add all of the required GObject Introspection annotations
required
- Allow FindDeviceByProperty() to match on model, vendor and
serial number
- Don't crash the example program if there is no default
profile assigned
- Fix the bugzilla and mailing list links on the webpage
(fdo#39129).
- Fix the licence headers in colord.h and cd-color.h
- Fix up some translatable strings
- Honor ACLOCAL_FLAGS when running autoreconf
- Use the const formatter when unwrapping GVariants to reduce
memory allocation
+ Updated translations.
- Add gobject-introspection-devel and vala BuildRequires to build
introspection data and vala bindings.
- Manually install pre-built man pages, since the build system
cannot install them if docbook2man is not there (and we don't
want to add a BuildRequires on it since it's big).
-------------------------------------------------------------------
Mon Jul 11 12:43:32 CEST 2011 - vuntz@opensuse.org

View File

@@ -18,15 +18,17 @@
Name: colord
Version: 0.1.10
Release: 3
Version: 0.1.12
Release: 1
License: GPLv2+
Summary: System Daemon for Managing Color Devices
Url: http://colord.hughsie.com/
Group: System/Daemons
Source: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
Source: http://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz
BuildRequires: gobject-introspection-devel
BuildRequires: intltool
BuildRequires: sane-backends-devel
BuildRequires: vala
# Only needed because we don't (and won't) support building xz tarballs by default... See bnc#697467
BuildRequires: xz
BuildRequires: pkgconfig(dbus-1)
@@ -37,7 +39,7 @@ BuildRequires: pkgconfig(gmodule-2.0)
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gudev-1.0)
BuildRequires: pkgconfig(lcms2)
BuildRequires: pkgconfig(libusb-1.0)
BuildRequires: pkgconfig(libusb-1.0) >= 1.0.0
BuildRequires: pkgconfig(polkit-gobject-1)
BuildRequires: pkgconfig(sqlite3)
Requires: shared-color-profiles
@@ -50,8 +52,6 @@ It is used by gnome-color-manager for system integration and use when
there are no users logged in.
%package -n libcolord1
Summary: System Daemon for Managing Color Devices -- Library
Group: System/Libraries
Recommends: %{name}
@@ -62,8 +62,6 @@ It is used by gnome-color-manager for system integration and use when
there are no users logged in.
%package -n libcolord-devel
Summary: System Daemon for Managing Color Devices -- Development Files
Group: Development/Languages/C and C++
Requires: libcolord1 = %{version}
@@ -86,6 +84,15 @@ make %{?_smp_mflags}
%install
%make_install
find %{buildroot} -type f -name '*.la' -delete -print
# Manually install prebuilt man pages, since we don't have docbook2man
pushd man
test ! -f %{buildroot}%{_mandir}/man1/*
for man in *.1; do
install -m 644 ${man} %{buildroot}%{_mandir}/man1/
done
# Check we only have man1 pages to install
test ! -f *.[2-9]
popd
%find_lang %{name}
%clean
@@ -110,18 +117,24 @@ find %{buildroot} -type f -name '*.la' -delete -print
%{_datadir}/dbus-1/interfaces/org.freedesktop.ColorManager.*
%{_datadir}/dbus-1/system-services/org.freedesktop.ColorManager.service
%{_datadir}/polkit-1/actions/org.freedesktop.color.policy
#%%{_mandir}/man1/cd-create-profile.1*
#%%{_mandir}/man1/colormgr.1*
%{_mandir}/man1/cd-create-profile.1%{?ext_man}
%{_mandir}/man1/cd-fix-profile.1%{?ext_man}
%{_mandir}/man1/colormgr.1%{?ext_man}
%files -n libcolord1
%defattr(-, root, root)
%{_libdir}/libcolord.so.*
%{_libdir}/girepository-1.0/Colord-1.0.typelib
%files -n libcolord-devel
%defattr(-, root, root)
%{_includedir}/colord-1/
%{_libdir}/libcolord.so
%{_libdir}/pkgconfig/colord.pc
%{_datadir}/gir-1.0/Colord-1.0.gir
%dir %{_datadir}/vala
%dir %{_datadir}/vala/vapi
%{_datadir}/vala/vapi/colord.vapi
%files lang -f %{name}.lang