Hello community, here is the log from the commit of package icc_examin for openSUSE:12.3 checked in at 2013-01-31 11:05:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.3/icc_examin (Old) and /work/SRC/openSUSE:12.3/.icc_examin.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "icc_examin", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:12.3/icc_examin/icc_examin.changes 2013-01-31 10:25:36.000000000 +0100 +++ /work/SRC/openSUSE:12.3/.icc_examin.new/icc_examin.changes 2013-01-31 11:05:16.000000000 +0100 @@ -2,10 +1,0 @@ -Fri Dec 21 12:00:00 UTC 2012 - [email protected] - -- release 0.53 -- remove recommendation to oy-monitor-nvidia -- fix compiling on Fedora 17 -- rename FLTK functions to internal names -- use editing space only with colour server -- remove debian section in spec file - -------------------------------------------------------------------- Old: ---- icc-examin_0.53-1.debian.tar.gz icc-examin_0.53-1.dsc icc-examin_0.53.orig.tar.bz2 icc_examin-0.53.tar.bz2 New: ---- icc_examin-0.52.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ icc_examin.spec ++++++ --- /var/tmp/diff_new_pack.tYQRZQ/_old 2013-01-31 11:05:16.000000000 +0100 +++ /var/tmp/diff_new_pack.tYQRZQ/_new 2013-01-31 11:05:16.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package icc_examin # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,9 @@ # -Version: 0.53 +Version: 0.52 Release: 0 -Source: icc_examin-%{version}.tar.bz2 +Source: icc_examin-0.52.tar.bz2 %define pixmapdir /usr/share/pixmaps %define desktopdir /usr/share/applications Summary: ICC profile viewer and colour visualisation @@ -61,7 +61,7 @@ %endif %if 0%{?suse_version} > 1010 -Recommends: freefont +Recommends: oyranos-monitor-nvidia freefont BuildRequires: Mesa BuildRequires: Mesa-devel BuildRequires: liblcms-devel @@ -113,6 +113,7 @@ %endif %if 0%{?mandriva_version} > 0 +Recommends: oyranos-monitor-nvidia BuildRequires: Mesa BuildRequires: X11-devel BuildRequires: lcms-devel @@ -122,6 +123,7 @@ %endif %if 0%{?fedora_version} > 0 +Recommends: oyranos-monitor-nvidia BuildRequires: Mesa-devel BuildRequires: elektra-devel BuildRequires: lcms-devel @@ -135,6 +137,17 @@ BuildRequires: xorg-x11-devel %endif +%if 0%{?debian_version} > 0 +BuildRequires: cinepaint-devel-0.25 +BuildRequires: xorg-x11 +BuildRequires: xorg-x11-Mesa-devel +BuildRequires: xorg-x11-devel +BuildRequires: xorg-x11-libXext +BuildRequires: xorg-x11-libXext-devel +BuildRequires: xorg-x11-libXpm +BuildRequires: xorg-x11-libXpm-devel +%endif + %description ICC Examin is a small utility (unix name: iccexamin) for the purpose of watching the internals of ICC profiles, measurement ++++++ icc_examin-0.53.tar.bz2 -> icc_examin-0.52.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/icc_examin-0.53/configure new/icc_examin-0.52/configure --- old/icc_examin-0.53/configure 2012-12-20 18:38:30.000000000 +0100 +++ new/icc_examin-0.52/configure 2012-10-24 17:37:16.000000000 +0200 @@ -37,11 +37,11 @@ VERSION_A=0 VERSION_B=5 -VERSION_C=3 +VERSION_C=2 RELEASE=0 START_MONTH="May" START_YEAR="2004" -DEVEL_MONTH="December" +DEVEL_MONTH="October" DEVEL_YEAR="2012" GIT_MASTER="`cat $ROOT_DIR/.git/refs/heads/master`" time="`date +%y%m%d.%H%M%S`" @@ -697,7 +697,7 @@ echo_=""; echo "$echo_" >> $CONF_LOG; echo "$echo_" LIBS_TEST="dl iconv intl c m pthread"; export LIBS_TEST -X_ADD="Xpm Xext Xinerama Xxf86vm X11"; export X_ADD +X_ADD="Xpm Xext Xinerama Xxf86vm"; export X_ADD ECHO="echo"; export ECHO diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/icc_examin-0.53/flstring.c new/icc_examin-0.52/flstring.c --- old/icc_examin-0.53/flstring.c 2012-12-20 11:32:26.000000000 +0100 +++ new/icc_examin-0.52/flstring.c 2008-03-07 07:54:07.000000000 +0100 @@ -33,7 +33,7 @@ */ size_t /* O - Length of string */ -oy_fl_strlcat(char *dst, /* O - Destination string */ +fl_strlcat(char *dst, /* O - Destination string */ const char *src, /* I - Source string */ size_t size) { /* I - Size of destination string buffer */ size_t srclen; /* Length of source string */ @@ -73,7 +73,7 @@ */ size_t /* O - Length of string */ -oy_fl_strlcpy(char *dst, /* O - Destination string */ +fl_strlcpy(char *dst, /* O - Destination string */ const char *src, /* I - Source string */ size_t size) { /* I - Size of destination string buffer */ size_t srclen; /* Length of source string */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/icc_examin-0.53/flstring.h new/icc_examin-0.52/flstring.h --- old/icc_examin-0.53/flstring.h 2012-12-20 11:32:36.000000000 +0100 +++ new/icc_examin-0.52/flstring.h 2008-03-07 07:53:55.000000000 +0100 @@ -95,14 +95,14 @@ * that work the way strncpy() and strncat() *should* have worked. */ -FL_EXPORT extern size_t oy_fl_strlcat(char *, const char *, size_t); +FL_EXPORT extern size_t fl_strlcat(char *, const char *, size_t); # if !HAVE_STRLCAT && !defined(strlcat) -# define strlcat oy_fl_strlcat +# define strlcat fl_strlcat # endif /* !HAVE_STRLCAT */ -FL_EXPORT extern size_t oy_fl_strlcpy(char *, const char *, size_t); +FL_EXPORT extern size_t fl_strlcpy(char *, const char *, size_t); # if !HAVE_STRLCPY && !defined(strlcpy) -# define strlcpy oy_fl_strlcpy +# define strlcpy fl_strlcpy # endif /* !HAVE_STRLCPY */ # ifdef __cplusplus diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/icc_examin-0.53/icc_examin.spec.in new/icc_examin-0.52/icc_examin.spec.in --- old/icc_examin-0.53/icc_examin.spec.in 2012-12-21 11:09:46.000000000 +0100 +++ new/icc_examin-0.52/icc_examin.spec.in 2012-06-14 15:09:01.000000000 +0200 @@ -36,6 +36,7 @@ %endif %if 0%{?suse_version} > 1010 +Recommends: oyranos-monitor-nvidia >= 0.4.0 freefont BuildRequires: Mesa BuildRequires: Mesa-devel BuildRequires: xorg-x11-fonts-devel @@ -83,6 +84,7 @@ %endif %if 0%{?mandriva_version} > 0 +Recommends: oyranos-monitor-nvidia >= 0.4.0 BuildRequires: Mesa BuildRequires: X11-devel BuildRequires: lcms-devel @@ -92,6 +94,7 @@ %endif %if 0%{?fedora_version} > 0 +Recommends: oyranos-monitor-nvidia >= 0.4.0 BuildRequires: Mesa-devel BuildRequires: elektra-devel BuildRequires: lcms-devel @@ -105,6 +108,17 @@ BuildRequires: xorg-x11-devel %endif +%if 0%{?debian_version} > 0 +BuildRequires: cinepaint-devel-0.25 +BuildRequires: xorg-x11 +BuildRequires: xorg-x11-Mesa-devel +BuildRequires: xorg-x11-devel +BuildRequires: xorg-x11-libXext +BuildRequires: xorg-x11-libXext-devel +BuildRequires: xorg-x11-libXpm +BuildRequires: xorg-x11-libXpm-devel +%endif + %description ICC Examin is a small utility (unix name: iccexamin) for the purpose of watching the internals of ICC profiles, measurement diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/icc_examin-0.53/icc_gl.cpp new/icc_examin-0.52/icc_gl.cpp --- old/icc_examin-0.53/icc_gl.cpp 2012-12-20 13:54:27.000000000 +0100 +++ new/icc_examin-0.52/icc_gl.cpp 2012-10-22 13:52:21.000000000 +0200 @@ -131,7 +131,7 @@ oyOptions_s * opts = icc_examin->options(); \ double * rgb = icc_oyranos.wandelLabNachBildschirmFarben( \ window()->x() + window()->w()/2, window()->y() + window()->h()/2, \ - (icc_oyranos.colourServerActive() & XCM_COLOR_SERVER_MANAGEMENT)?edit_:0, \ + (icc_oyranos.colourServerActive() & XCM_COLOR_SERVER_PROFILES)?edit_:0, \ lab, 1, opts); \ for(int i = 0; i < 3; ++i) \ colour[i] = rgb[i]; \ @@ -1148,7 +1148,7 @@ oyOptions_s * opts = icc_examin->options(); double * rgb = icc_oyranos.wandelLabNachBildschirmFarben( window()->x() + window()->w()/2, window()->y() + window()->h()/2, - (icc_oyranos.colourServerActive() & XCM_COLOR_SERVER_MANAGEMENT)?edit_:0, + (icc_oyranos.colourServerActive() & XCM_COLOR_SERVER_PROFILES)?edit_:0, lab, 1, opts); glClearColor(rgb[0],rgb[1],rgb[2],1.0); delete [] rgb; oyOptions_Release( &opts ); @@ -2174,7 +2174,7 @@ int y = this->window()->y() + this->window()->h()/2; oyProfile_s * prof_disp = NULL; - if(icc_oyranos.colourServerActive() & XCM_COLOR_SERVER_MANAGEMENT) + if(icc_oyranos.colourServerActive() & XCM_COLOR_SERVER_PROFILES) prof_disp = oyProfile_Copy( edit_, NULL ); else prof_disp = icc_oyranos.oyMoni(x,y); @@ -2457,7 +2457,7 @@ RGB_buffer = icc_oyranos.wandelLabNachBildschirmFarben( window()->x() + window()->w()/2, window()->y() + window()->h()/2, - (icc_oyranos.colourServerActive() & XCM_COLOR_SERVER_MANAGEMENT)?edit_:0, + (icc_oyranos.colourServerActive() & XCM_COLOR_SERVER_PROFILES)?edit_:0, Lab_buffer, (size_t)n, opts); DBG_PROG_V( n ) // create shadow @@ -2471,7 +2471,7 @@ RGB_shadow_buffer = icc_oyranos.wandelLabNachBildschirmFarben( window()->x() + window()->w()/2, window()->y() + window()->h()/2, - (icc_oyranos.colourServerActive() & XCM_COLOR_SERVER_MANAGEMENT)?edit_:0, + (icc_oyranos.colourServerActive() & XCM_COLOR_SERVER_PROFILES)?edit_:0, Lab_shadow_buffer, n, opts); if(!RGB_buffer) WARN_S( "RGB_speicher result is not available" ) if(!RGB_shadow_buffer) WARN_S( "RGB_speicher result is not available" ) @@ -2615,7 +2615,7 @@ RGB_buffer = icc_oyranos.wandelLabNachBildschirmFarben( window()->x() + window()->w()/2, window()->y() + window()->h()/2, - (icc_oyranos.colourServerActive() & XCM_COLOR_SERVER_MANAGEMENT)?edit_:0, + (icc_oyranos.colourServerActive() & XCM_COLOR_SERVER_PROFILES)?edit_:0, Lab_buffer, (size_t)n_punkte, opts); if(type_ == 1) @@ -2635,7 +2635,7 @@ RGB_shadow_buffer = icc_oyranos.wandelLabNachBildschirmFarben( window()->x() + window()->w()/2, window()->y() + window()->h()/2, - (icc_oyranos.colourServerActive() & XCM_COLOR_SERVER_MANAGEMENT)?edit_:0, + (icc_oyranos.colourServerActive() & XCM_COLOR_SERVER_PROFILES)?edit_:0, Lab_shadow_buffer, n_punkte, opts); if(!RGB_buffer || !RGB_shadow_buffer) { @@ -2872,7 +2872,7 @@ glViewport(0,0,w(),h()); DBG_PROG_V( x()<<" "<< y()<<" "<<w()<<" "<<h()) window_proportion = (GLdouble)w()/(GLdouble)h(); - if(icc_oyranos.colourServerActive() & XCM_COLOR_SERVER_MANAGEMENT && + if(icc_oyranos.colourServerActive() & XCM_COLOR_SERVER_PROFILES && type_ != 1) icc_oyranos.colourServerRegionSet( this, edit_, window_geometry, 0 ); oyRectangle_SetGeo( window_geometry, x(), y(), w(), h() ); @@ -3051,7 +3051,7 @@ { rgb_ = rgb = icc_oyranos.wandelLabNachBildschirmFarben( window()->x() + window()->w()/2, window()->y() + window()->h()/2, - (icc_oyranos.colourServerActive() & XCM_COLOR_SERVER_MANAGEMENT)?edit_:0, + (icc_oyranos.colourServerActive() & XCM_COLOR_SERVER_PROFILES)?edit_:0, l, 1, opts); icc_examin->statusFarbe(l[0],l[1],l[2]); @@ -3645,7 +3645,7 @@ #ifdef USE_OY_NC oyProfile_s * prof = oyProfile_FromStd( oyEDITING_LAB, 0 ); oyProfile_s * prof_disp = NULL; - if(icc_oyranos.colourServerActive() & XCM_COLOR_SERVER_MANAGEMENT) + if(icc_oyranos.colourServerActive() & XCM_COLOR_SERVER_PROFILES) prof_disp = oyProfile_Copy( edit_, NULL ); else prof_disp = icc_oyranos.icc_oyranos.oyMoni( @@ -3689,7 +3689,7 @@ double * rgb = NULL; rgb = icc_oyranos.wandelLabNachBildschirmFarben( window()->x() + window()->w()/2, window()->y() + window()->h()/2, - (icc_oyranos.colourServerActive() & XCM_COLOR_SERVER_MANAGEMENT)?edit_:0, + (icc_oyranos.colourServerActive() & XCM_COLOR_SERVER_PROFILES)?edit_:0, lab, 1, opts); if(rgb) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/icc_examin-0.53/icc_oyranos.cpp new/icc_examin-0.52/icc_oyranos.cpp --- old/icc_examin-0.53/icc_oyranos.cpp 2012-12-20 13:56:58.000000000 +0100 +++ new/icc_examin-0.52/icc_oyranos.cpp 2012-10-22 13:52:21.000000000 +0200 @@ -981,7 +981,6 @@ #include "icc_vrml.h" #include "icc_gamut.h" -extern "C" {void * cnew(size_t s){return new char[s];}} void Oyranos::netzVonProfil (ICCprofile & profil, oyOptions_s * options, int native, ICCnetz & netz) @@ -991,9 +990,7 @@ if(profil.valid()) { size_t groesse = 0; - oyProfile_s * p = profil.oyProfile(); - char * daten = (char*)oyProfile_GetMem( p, &groesse, 0, cnew ); - oyProfile_Release( &p ); + char* daten = profil.saveProfileToMem(&groesse); s.ladeUndFreePtr(&daten, groesse); DBG_NUM_V( groesse ); } @@ -1627,10 +1624,6 @@ if(!editing) { - if(!(colourServerActive() | (XCM_COLOR_SERVER_REGIONS && - XCM_COLOR_SERVER_PROFILES))) - return oyProfile_FromStd( oyASSUMED_WEB, 0 ); - oyOption_s *matrix = oyOption_FromRegistration("///colour_matrix." "from_primaries." "redx_redy_greenx_greeny_bluex_bluey_whitex_whitey_gamma", NULL ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/icc_examin-0.53/makefile.in new/icc_examin-0.52/makefile.in --- old/icc_examin-0.53/makefile.in 2012-12-21 11:35:09.000000000 +0100 +++ new/icc_examin-0.52/makefile.in 2012-10-18 09:37:42.000000000 +0200 @@ -1,4 +1,3 @@ -DEBTARGET = icc-examin COLLECT = ar cru RANLIB = ranlib @@ -357,8 +356,8 @@ test: icc_formeln.o icc_utils.o $(CXX) $(CXXFLAGS_) $(INCL) -o dE2000_test.o \ - -c $(SRCDIR)/tests/dE2000_test.cpp - $(CXX) $(CXXFLAGS_) -o dE2000_test dE2000_test.o icc_formeln.o \ + -c $(SRCDIR)tests/dE2000_test.cpp + $(CXX) $(CXXFLAGS_) -o dE2000_test dE2000_test.o icc_formeln.o icc_utils.o \ -L$(libdir) $(REZ) @@ -558,32 +557,6 @@ @echo "============================================================" @echo "Finished - the Packages are in rpmdir/RPMS and rpmdir/SRPMS!" -deb: dist - $(SRCDIR)/configure --prefix=/usr --rpm-only - mkdir -p debian/deb/DEBIAN - tar xvjf $(TARGET)-$(VERSION).tar.bz2 - (cd $(TARGET)-$(VERSION); \ - ./configure --prefix=/usr; \ - $(MAKE) "DESTDIR=$(build_dir)/debian/deb/DEBIAN" install;) - $(COPY) $(TARGET)-$(VERSION)/$(TARGET)_control $(build_dir)/debian/deb/DEBIAN/control - $(RM) -R $(TARGET)-$(VERSION) - dpkg -b $(build_dir)/debian/deb debian/$(TARGET)_$(VERSION)-$(RELEASE)_$(deb_arch).deb - $(RM) -R $(build_dir)/debian/deb - echo ... $@ done - -debsrc: dist - test -d $(DEBTARGET)-$(VERSION) && $(RM) -R $(DEBTARGET)-$(VERSION) || echo "" - tar xvjf $(TARGET)-$(VERSION).tar.bz2 - mv $(TARGET)-$(VERSION)/ $(DEBTARGET)-$(VERSION) - cp -R $(SRCDIR)/extras/debian $(DEBTARGET)-$(VERSION) - tar cjf $(DEBTARGET)_$(VERSION).orig.tar.bz2 $(DEBTARGET)-$(VERSION)/ - dpkg-source -b $(DEBTARGET)-$(VERSION) - echo ... $@ done - -debian: debsrc - (cd $(DEBTARGET)-$(VERSION)/debian; debuild) - echo ... $@ done - install: $(INSTALL_TARGET) install_cp: @@ -592,7 +565,7 @@ $(INSTALL) -m 755 $(CINEPAINT) $(DESTDIR)$(CP_DIR) #strip $(DESTDIR)$(bindir)/$(CINEPAINT) mkdir -p $(DESTDIR)$(datadir)/fonts/ - $(INSTALL) -m 644 $(SRCDIR)/$(FONT) $(DESTDIR)$(datadir)/fonts/$(FONT) + $(INSTALL) -m 644 $(FONT) $(DESTDIR)$(datadir)/fonts/$(FONT) $(fltkconfig) --post $(DESTDIR)$(CP_DIR)/$(CINEPAINT) mkdir -p $(DESTDIR)$(datadir)/fonts/ echo ... Installation finished @@ -616,17 +589,17 @@ #strip $(DESTDIR)$(bindir)/$(BINTARGET) $(fltkconfig) --post $(DESTDIR)$(bindir)/$(BINTARGET) mkdir -p $(DESTDIR)$(datadir)/fonts/ - $(INSTALL) -m 644 $(SRCDIR)/$(FONT) $(DESTDIR)$(datadir)/fonts/$(FONT) + $(INSTALL) -m 644 $(FONT) $(DESTDIR)$(datadir)/fonts/$(FONT) mkdir -p $(DESTDIR)$(desktopdir) - $(COPY) $(SRCDIR)/icc_examin.desktop iccexamin.desktop + $(COPY) icc_examin.desktop iccexamin.desktop $(INSTALL) -m 644 iccexamin.desktop $(DESTDIR)$(desktopdir)/iccexamin.desktop -xdg-desktop-menu install --novendor iccexamin.desktop mkdir -p $(DESTDIR)$(datadir)/mime/packages/ mkdir -p $(DESTDIR)$(pixmapdir)/hicolor/scalable/ - #$(INSTALL) -m 644 $(SRCDIR)/icc_examin.png $(DESTDIR)$(pixmapdir)/iccexamin.png - $(COPY) $(SRCDIR)/icc_examin.png iccexamin.png + #$(INSTALL) -m 644 icc_examin.png $(DESTDIR)$(pixmapdir)/iccexamin.png + $(COPY) icc_examin.png iccexamin.png $(INSTALL) -m 644 iccexamin.png $(DESTDIR)$(pixmapdir)/iccexamin.png - $(INSTALL) -m 644 $(SRCDIR)/icc_examin.svg $(DESTDIR)$(pixmapdir)/hicolor/scalable/iccexamin.svg + $(INSTALL) -m 644 icc_examin.svg $(DESTDIR)$(pixmapdir)/hicolor/scalable/iccexamin.svg -xdg-icon-resource install --size 128 --novendor iccexamin.png echo Linguas ... for ling in $(LINGUAS); do \ -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
