commit kdegraphics3 for openSUSE:Factory
Hello community, here is the log from the commit of package kdegraphics3 for openSUSE:Factory checked in at 2014-10-19 19:28:33 Comparing /work/SRC/openSUSE:Factory/kdegraphics3 (Old) and /work/SRC/openSUSE:Factory/.kdegraphics3.new (New) Package is kdegraphics3 Changes: --- /work/SRC/openSUSE:Factory/kdegraphics3/kdegraphics3.changes 2014-06-25 10:49:18.0 +0200 +++ /work/SRC/openSUSE:Factory/.kdegraphics3.new/kdegraphics3.changes 2014-10-19 19:29:16.0 +0200 @@ -1,0 +2,7 @@ +Sun Oct 19 02:25:16 UTC 2014 - an...@opensuse.org + +- migrate to liblcms2 (kdegraphics3-trinity-support-libcms2.diff) +- remove patches and checks for obsolete openSUSE versions + (better-exif.patch) + +--- Old: better-exif.patch New: kdegraphics3-trinity-support-libcms2.diff Other differences: -- ++ kdegraphics3.spec ++ --- /var/tmp/diff_new_pack.NnPzJg/_old 2014-10-19 19:29:17.0 +0200 +++ /var/tmp/diff_new_pack.NnPzJg/_new 2014-10-19 19:29:17.0 +0200 @@ -36,7 +36,7 @@ BuildRequires: texlive-devel BuildRequires: texlive-latex BuildRequires: xpdf-tools -BuildRequires: liblcms-devel +BuildRequires: liblcms2-devel %if 0%{?suse_version} 1210 BuildRequires: libusb-compat-devel %endif @@ -66,7 +66,6 @@ Patch6: bugzilla-113799-render-fi-correctly.patch Patch7: bugzilla-113799-disable-byte-code-interpreter.patch Patch8: use_xorg_conf.diff -Patch9: better-exif.patch Patch10:fix-kcmshell-kgamma.diff Patch11:fix-kooka-desktop-icon.diff Patch12:kpdf-bug-487098.patch @@ -80,6 +79,7 @@ Patch17:kdegraphics-3.5.13-fix_gcc47_compilation.patch Patch18:kdegraphics-trinity-temporary.patch Patch19:gpcamera-fix-build.patch +Patch20:kdegraphics3-trinity-support-libcms2.diff Requires: ghostscript-x11 %if 0%{?suse_version} = 1120 Provides: kdegraphics3-viewer:/opt/kde3/bin/kuickshow @@ -264,23 +264,18 @@ %patch6 -p1 %patch7 -p1 %patch8 -%if 0%{?suse_version} = 1140 -%patch9 -%endif %patch10 %patch11 %patch12 %patch13 -%if 0%{?suse_version} 1140 %patch14 -p1 -%endif %patch15 -p1 %patch16 -p1 %patch17 -p1 %patch18 -p1 -%if %{?suse_version} 1220 %patch19 -p1 -%endif +%patch20 -p1 + # gift is not maintained anymore and broken rm -rf kmrml ++ kdegraphics3-trinity-support-libcms2.diff ++ commit b34c4d8c337aba6d7d44dfd58087ebd6e2d143e3 Author: Slávek Banko slavek.ba...@axis.cz Date: 1412881696 +0200 Add support for lcms2 diff --git a/ksvg/configure.in.in b/ksvg/configure.in.in index 5643818..7a19195 100644 --- a/ksvg/configure.in.in +++ b/ksvg/configure.in.in @@ -113,52 +113,56 @@ fi # Check for lcms have_lcms_header='no' -KDE_CHECK_HEADER(lcms/lcms.h,have_lcms_header='yes',,) -if test $have_lcms_header = 'yes' -then - LCMS_LIBS='-llcms' - AC_DEFINE(LCMS_HEADER, lcms/lcms.h, [The correct header]) +KDE_CHECK_HEADER(lcms2.h,have_lcms2_header='yes',,) +if test $have_lcms2_header = 'yes'; then +AC_DEFINE(LCMS_HEADER, lcms2.h, [LCMS header]) else - # Alternative! Debian does it this way... - KDE_CHECK_HEADER(lcms.h,have_lcms_header='yes',,) - if test $have_lcms_header = 'yes' - then - LCMS_LIBS='-llcms' - AC_DEFINE(LCMS_HEADER, lcms.h, [The correct header]) - - # Try to find the full path of lcms.h - for a in $includedir $prefix/include /usr/include /usr/local/include $kde_extra_includes; do - for b in lcms.h lcms/lcms.h ; do - if test -d $a test -f $a/$b ; then - LCMSHDR=$a/$b - fi - done - done - # Check if lcms.h was found. If not then it means that we didn't search - # the right dirs since the kde check already found a usable lcms.h - if test -n $LCMSHDR ; then - # Get lcms version - lcms_ver_line=`cat $LCMSHDR | grep '^// Version' ` - if test -z $lcms_ver_line ; then - # Some versions of lcms have the version in /* */ - lcms_ver_line=`cat $LCMSHDR | grep '^/\* Version' ` - fi - lcms_ver=`echo $lcms_ver_line | head -n 1 | cut -d ' ' -f 3 ` - - # Get major and minor version numbers - lcms_var_maj=`echo $lcms_ver | cut -d . -f 1` - - # Some versions have a character attached to the end of
commit kdegraphics3 for openSUSE:Factory
Hello community, here is the log from the commit of package kdegraphics3 for openSUSE:Factory checked in at 2014-06-25 10:49:07 Comparing /work/SRC/openSUSE:Factory/kdegraphics3 (Old) and /work/SRC/openSUSE:Factory/.kdegraphics3.new (New) Package is kdegraphics3 Changes: --- /work/SRC/openSUSE:Factory/kdegraphics3/kdegraphics3.changes 2014-01-14 21:46:15.0 +0100 +++ /work/SRC/openSUSE:Factory/.kdegraphics3.new/kdegraphics3.changes 2014-06-25 10:49:18.0 +0200 @@ -1,0 +2,5 @@ +Tue Jun 24 17:47:25 UTC 2014 - an...@opensuse.org + +- Add explicit dependency on liblcms-devel to fix build on oS=13.2 + +--- Other differences: -- ++ kdegraphics3.spec ++ --- /var/tmp/diff_new_pack.D65o5d/_old 2014-06-25 10:49:20.0 +0200 +++ /var/tmp/diff_new_pack.D65o5d/_new 2014-06-25 10:49:20.0 +0200 @@ -36,6 +36,7 @@ BuildRequires: texlive-devel BuildRequires: texlive-latex BuildRequires: xpdf-tools +BuildRequires: liblcms-devel %if 0%{?suse_version} 1210 BuildRequires: libusb-compat-devel %endif -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit kdegraphics3 for openSUSE:Factory
Hello community, here is the log from the commit of package kdegraphics3 for openSUSE:Factory checked in at 2014-01-14 21:46:14 Comparing /work/SRC/openSUSE:Factory/kdegraphics3 (Old) and /work/SRC/openSUSE:Factory/.kdegraphics3.new (New) Package is kdegraphics3 Changes: --- /work/SRC/openSUSE:Factory/kdegraphics3/kdegraphics3.changes 2012-12-14 09:26:14.0 +0100 +++ /work/SRC/openSUSE:Factory/.kdegraphics3.new/kdegraphics3.changes 2014-01-14 21:46:15.0 +0100 @@ -1,0 +2,5 @@ +Tue Jan 14 11:44:18 UTC 2014 - an...@opensuse.org + +- explicitly enable new ldflags to fix build + +--- Other differences: -- ++ kdegraphics3.spec ++ --- /var/tmp/diff_new_pack.W0qzvb/_old 2014-01-14 21:46:16.0 +0100 +++ /var/tmp/diff_new_pack.W0qzvb/_new 2014-01-14 21:46:16.0 +0100 @@ -294,7 +294,7 @@ sed -i 's|DO_NOT_COMPILE ksvg|DO_NOT_COMPILE|g' configure sed -i 's|as-needed|no-as-needed|g' configure %endif -./configure $configkde +./configure $configkde --enable-new-ldflags %if 0%{?suse_version} 1140 sed -i 's|DO_NOT_COMPILE ksvg|DO_NOT_COMPILE|g' configure cat confdefs.h _ACEOF -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit kdegraphics3 for openSUSE:Factory
Hello community, here is the log from the commit of package kdegraphics3 for openSUSE:Factory checked in at 2012-12-14 09:26:13 Comparing /work/SRC/openSUSE:Factory/kdegraphics3 (Old) and /work/SRC/openSUSE:Factory/.kdegraphics3.new (New) Package is kdegraphics3, Maintainer is kde-maintain...@suse.de Changes: --- /work/SRC/openSUSE:Factory/kdegraphics3/kdegraphics3.changes 2012-07-04 09:08:34.0 +0200 +++ /work/SRC/openSUSE:Factory/.kdegraphics3.new/kdegraphics3.changes 2012-12-14 09:26:14.0 +0100 @@ -1,0 +2,10 @@ +Sun Dec 9 12:51:40 UTC 2012 - meiss...@suse.com + +- fixed build with libgphoto2 2.5 fully + +--- +Wed Oct 10 23:00:46 UTC 2012 - an...@opensuse.org + +- fix gpcamera build for opensuse 12.3 + +--- New: gpcamera-fix-build.patch Other differences: -- ++ kdegraphics3.spec ++ --- /var/tmp/diff_new_pack.NZZgS7/_old 2012-12-14 09:26:17.0 +0100 +++ /var/tmp/diff_new_pack.NZZgS7/_new 2012-12-14 09:26:17.0 +0100 @@ -78,6 +78,7 @@ Patch16:kdegraphics-trinity-kpdf-rotate.diff Patch17:kdegraphics-3.5.13-fix_gcc47_compilation.patch Patch18:kdegraphics-trinity-temporary.patch +Patch19:gpcamera-fix-build.patch Requires: ghostscript-x11 %if 0%{?suse_version} = 1120 Provides: kdegraphics3-viewer:/opt/kde3/bin/kuickshow @@ -276,6 +277,9 @@ %patch16 -p1 %patch17 -p1 %patch18 -p1 +%if %{?suse_version} 1220 +%patch19 -p1 +%endif # gift is not maintained anymore and broken rm -rf kmrml ++ gpcamera-fix-build.patch ++ Index: kdegraphics-3.5.10/kamera/kcontrol/kameradevice.cpp === --- kdegraphics-3.5.10.orig/kamera/kcontrol/kameradevice.cpp +++ kdegraphics-3.5.10/kamera/kcontrol/kameradevice.cpp @@ -273,6 +273,7 @@ CameraAbilities KCamera::abilities() KameraDeviceSelectDialog::KameraDeviceSelectDialog(QWidget *parent, KCamera *device) : KDialogBase(parent, kkameradeviceselect, true, i18n(Select Camera Device), Ok | Cancel, Ok, true) { + char *xpath; m_device = device; connect(m_device, SIGNAL(error(const QString )), SLOT(slot_error(const QString ))); @@ -346,8 +347,9 @@ KameraDeviceSelectDialog::KameraDeviceSe } for (int i = 0; i gphoto_ports; i++) { if (gp_port_info_list_get_info(list, i, info) = 0) { - if (strncmp(info.path, serial:, 7) == 0) - m_serialPortCombo-insertItem(QString::fromLatin1(info.path).mid(7)); + gp_port_info_get_name (info, xpath); + if (strncmp(xpath, serial:, 7) == 0) + m_serialPortCombo-insertItem(QString::fromLatin1(xpath).mid(7)); } } gp_port_info_list_free(list); Index: kdegraphics-3.5.10/kamera/kioslave/kamera.cpp === --- kdegraphics-3.5.10.orig/kamera/kioslave/kamera.cpp +++ kdegraphics-3.5.10/kamera/kioslave/kamera.cpp @@ -55,10 +55,10 @@ extern C { KDE_EXPORT int kdemain(int argc, char **argv); - static void frontendCameraStatus(GPContext *context, const char *format, va_list args, void *data); + static void frontendCameraStatus(GPContext *context, const char *status, void *data); static unsigned int frontendProgressStart( - GPContext *context, float totalsize, const char *format, - va_list args, void *data + GPContext *context, float totalsize, const char *status, + void *data ); static void frontendProgressUpdate( GPContext *context, unsigned int id, float current, void *data @@ -857,10 +857,7 @@ void KameraProtocol::translateFileToUDS( udsEntry.append(atom); atom.m_uds = UDS_NAME; - if (info.file.fields GP_FILE_INFO_NAME) - atom.m_str = QString::fromLocal8Bit(info.file.name); - else - atom.m_str = name; + atom.m_str = name; udsEntry.append(atom); if (info.file.fields GP_FILE_INFO_SIZE) { @@ -986,81 +983,21 @@ void frontendProgressUpdate( } unsigned int frontendProgressStart( - GPContext * /*context*/, float totalsize, const char *format, va_list args, + GPContext * /*context*/, float totalsize, const char *status, void *data ) { KameraProtocol *object = (KameraProtocol*)data; - char *status; - - /* We must copy the va_list to walk it twice, or all hell -* breaks
commit kdegraphics3 for openSUSE:Factory
Hello community, here is the log from the commit of package kdegraphics3 for openSUSE:Factory checked in at 2012-07-04 09:08:31 Comparing /work/SRC/openSUSE:Factory/kdegraphics3 (Old) and /work/SRC/openSUSE:Factory/.kdegraphics3.new (New) Package is kdegraphics3, Maintainer is kde-maintain...@suse.de Changes: --- /work/SRC/openSUSE:Factory/kdegraphics3/kdegraphics3.changes 2012-05-07 22:47:35.0 +0200 +++ /work/SRC/openSUSE:Factory/.kdegraphics3.new/kdegraphics3.changes 2012-07-04 09:08:34.0 +0200 @@ -1,0 +2,5 @@ +Tue Jul 3 18:21:15 UTC 2012 - co...@suse.com + +- as povray is now in nonfree, we better do not require it but recommend + +--- Other differences: -- ++ kdegraphics3.spec ++ --- /var/tmp/diff_new_pack.DHon38/_old 2012-07-04 09:08:37.0 +0200 +++ /var/tmp/diff_new_pack.DHon38/_new 2012-07-04 09:08:37.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package kdegraphics3 # -# Copyright (c) 2011 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 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: kdegraphics3 Url:http://www.kde.org # skip-check-libtool-deps @@ -45,8 +46,6 @@ %if 0%{?suse_version} 1130 BuildRequires: sane-backends-devel %endif -License:GPL-2.0 -Group: Productivity/Graphics/Viewers Provides: kdegraphics3-kfile-plugins Obsoletes: kdegraphics3-kfile-plugins %if 0%{?suse_version} = 1120 @@ -54,8 +53,10 @@ Obsoletes: kuickshow %endif Version:3.5.10 -Release:1 +Release:0 Summary:Base Libraries for KDE Graphics Applications +License:GPL-2.0 +Group: Productivity/Graphics/Viewers Source0:kdegraphics-%{version}.tar.bz2 Patch0: 3_5_BRANCH.diff Patch1: prefer-kpdf.diff @@ -109,8 +110,8 @@ - kdegraphics3-extra %package devel -License:GPL-2.0 Summary:Include Files and Libraries mandatory for Development +License:GPL-2.0 Group: Development/Libraries/KDE Requires: kdegraphics3 Requires: kdelibs3-devel @@ -120,9 +121,9 @@ to develop applications that require these. %package imaging -License:GPL-2.0 # usesubdirs kview kiconedit kuickshow kview kiconedit Summary:Image-Related KDE Applications +License:GPL-2.0 Group: Productivity/Graphics/Viewers %if 0%{?suse_version} = 1120 Provides: kdegraphics3:/opt/kde3/bin/kuickshow @@ -141,9 +142,9 @@ %endif %package extra -License:GPL-2.0 # usesubdirs kruler kcoloredit Summary:Small KDE Graphics Applications +License:GPL-2.0 Group: Productivity/Graphics/Viewers Obsoletes: kdegraphics3-viewer @@ -157,28 +158,28 @@ * kruler - a desktop ruler for measuring pixels %package 3D -License:GPL-2.0+ # usesubdirs kpovmodeler Summary:3D Scene Creator +License:GPL-2.0+ Group: Productivity/Graphics/Viewers -Requires: povray +Recommends: povray %description 3D KPovModeler can create scenes for rendering with POV-Ray. %package tex -License:GPL-2.0 # usesubdirs kdvi # usefiles /opt/kde3/bin/kviewshell Summary:DVI File Viewer +License:GPL-2.0 Group: Productivity/Publishing/TeX/Frontends %if 0%{?suse_version} 1020 Requires: texlive %else Requires: tetex %endif -Provides: kdegraphics3:/opt/kde3/bin/kdvi Provides: kdegraphics3-viewer:/opt/kde3/bin/kviewshell +Provides: kdegraphics3:/opt/kde3/bin/kdvi Obsoletes: kdegraphics3-viewer %description tex @@ -186,8 +187,8 @@ LaTeX. %package scan -License:GPL-2.0 Summary:Kooka, the Scanning Program for KDE +License:GPL-2.0 Group: Hardware/Scanner Requires: ocrad Provides: kdegraphics3-kooka @@ -208,9 +209,9 @@ Kooka. %package fax -License:GPL-2.0 # usesubdirs kfax kfaxview Summary:KDE fax viewer +License:GPL-2.0 Group: Productivity/Graphics/Viewers Requires: tiff Provides: kdegraphics3:/opt/kde3/bin/kfax @@ -219,9 +220,9 @@ This package can show and print received fax files. %package pdf -License:GPL-2.0 # usesubdirs kpdf Summary:KDE PDF File Viewer +License:GPL-2.0 Group: Productivity/Graphics/Viewers Provides: kdegraphics3:/opt/kde3/bin/kpdf
commit kdegraphics3 for openSUSE:Factory
Hello community, here is the log from the commit of package kdegraphics3 for openSUSE:Factory checked in at 2012-05-07 22:46:51 Comparing /work/SRC/openSUSE:Factory/kdegraphics3 (Old) and /work/SRC/openSUSE:Factory/.kdegraphics3.new (New) Package is kdegraphics3, Maintainer is kde-maintain...@suse.de Changes: --- /work/SRC/openSUSE:Factory/kdegraphics3/kdegraphics3.changes 2012-03-26 11:01:52.0 +0200 +++ /work/SRC/openSUSE:Factory/.kdegraphics3.new/kdegraphics3.changes 2012-05-07 22:47:35.0 +0200 @@ -1,0 +2,5 @@ +Sat Apr 28 19:13:22 UTC 2012 - an...@opensuse.org + +- build without fpermissive + +--- New: kdegraphics-3.5.13-fix_gcc47_compilation.patch kdegraphics-trinity-temporary.patch Other differences: -- ++ kdegraphics3.spec ++ --- /var/tmp/diff_new_pack.f8IpqX/_old 2012-05-07 22:47:36.0 +0200 +++ /var/tmp/diff_new_pack.f8IpqX/_new 2012-05-07 22:47:36.0 +0200 @@ -75,6 +75,8 @@ %endif Patch15:GSmartPointer-gcc46.patch Patch16:kdegraphics-trinity-kpdf-rotate.diff +Patch17:kdegraphics-3.5.13-fix_gcc47_compilation.patch +Patch18:kdegraphics-trinity-temporary.patch Requires: ghostscript-x11 %if 0%{?suse_version} = 1120 Provides: kdegraphics3-viewer:/opt/kde3/bin/kuickshow @@ -271,6 +273,8 @@ %endif %patch15 -p1 %patch16 -p1 +%patch17 -p1 +%patch18 -p1 # gift is not maintained anymore and broken rm -rf kmrml @@ -280,7 +284,7 @@ %build export RPM_OPT_FLAGS=%{optflags} -fno-strict-aliasing . /etc/opt/kde3/common_options -export CXXFLAGS=-I/usr/include/agg2/ $CXXFLAGS -fpermissive +export CXXFLAGS=-I/usr/include/agg2/ $CXXFLAGS %if 0%{?suse_version} 1140 sed -i 's|DO_NOT_COMPILE ksvg|DO_NOT_COMPILE|g' configure sed -i 's|as-needed|no-as-needed|g' configure ++ kdegraphics-3.5.13-fix_gcc47_compilation.patch ++ --- kdegraphics/kmrml/kmrml/mrml_elements.h.ORI 2012-04-25 23:02:52.323845593 +0200 +++ kdegraphics/kmrml/kmrml/mrml_elements.h 2012-04-25 23:03:23.373552145 +0200 @@ -157,7 +157,7 @@ QDomElement elem = list.item( i ).toElement(); t item( elem ); if ( item.isValid() ) -append( item ); +this-append( item ); } } --- kdegraphics/kviewshell/plugins/djvu/libdjvu/GContainer.h.gcc47 2011-08-13 08:06:40.0 +0200 +++ kdegraphics/kviewshell/plugins/djvu/libdjvu/GContainer.h2012-04-25 23:15:09.391133568 +0200 @@ -133,6 +133,93 @@ #$Id: GContainer.h,v 1.15 2004/05/13 15:16:34 leonb Exp $# */ //@{ +// +// HASH FUNCTIONS +// + + +/** @name Hash functions +These functions let you use template class \Ref{GMap} with the +corresponding elementary types. The returned hash code may be reduced to +an arbitrary range by computing its remainder modulo the upper bound of +the range. +@memo Hash functions for elementary types. */ +//@{ + +/** Hashing function (unsigned int). */ +static inline unsigned int +hash(const unsigned int x) +{ + return x; +} + +/** Hashing function (int). */ +static inline unsigned int +hash(const int x) +{ + return (unsigned int)x; +} + +/** Hashing function (long). */ +static inline unsigned int +hash(const long x) +{ + return (unsigned int)x; +} + +/** Hashing function (unsigned long). */ +static inline unsigned int +hash(const unsigned long x) +{ + return (unsigned int)x; +} + +/** Hashing function (void *). */ +static inline unsigned int +hash(void * const x) +{ + return (unsigned long) x; +} + +/** Hashing function (const void *). */ +static inline unsigned int +hash(const void * const x) +{ + return (unsigned long) x; +} + +/** Hashing function (float). */ +static inline unsigned int +hash(const float x) +{ + // optimizer will get rid of unnecessary code + unsigned int *addr = (unsigned int*)x; + if (sizeof(float)2*sizeof(unsigned int)) +return addr[0]; + else +return addr[0]^addr[1]; +} + +/** Hashing function (double). */ +static inline unsigned int +hash(const double x) +{ + // optimizer will get rid of unnecessary code + unsigned int *addr = (unsigned int*)x; + if (sizeof(double)2*sizeof(unsigned int)) +return addr[0]; + else if (sizeof(double)4*sizeof(unsigned int)) +return addr[0]^addr[1]; + else +return addr[0]^addr[1]^addr[2]^addr[3]; +} + + +//@} +//@} +//@} + +// THE END // @@ -887,21 +974,21 @@ /** Inserts
commit kdegraphics3 for openSUSE:Factory
Hello community, here is the log from the commit of package kdegraphics3 for openSUSE:Factory checked in at 2012-03-26 11:01:51 Comparing /work/SRC/openSUSE:Factory/kdegraphics3 (Old) and /work/SRC/openSUSE:Factory/.kdegraphics3.new (New) Package is kdegraphics3, Maintainer is kde-maintain...@suse.de Changes: --- /work/SRC/openSUSE:Factory/kdegraphics3/kdegraphics3.changes 2012-03-02 13:48:26.0 +0100 +++ /work/SRC/openSUSE:Factory/.kdegraphics3.new/kdegraphics3.changes 2012-03-26 11:01:52.0 +0200 @@ -1,0 +2,5 @@ +Sat Mar 24 19:32:34 UTC 2012 - an...@opensuse.org + +- require libusb-compat-devel for openSUSE 12.1 + +--- Other differences: -- ++ kdegraphics3.spec ++ --- /var/tmp/diff_new_pack.7wIc2T/_old 2012-03-26 11:01:53.0 +0200 +++ /var/tmp/diff_new_pack.7wIc2T/_new 2012-03-26 11:01:53.0 +0200 @@ -35,6 +35,9 @@ BuildRequires: texlive-devel BuildRequires: texlive-latex BuildRequires: xpdf-tools +%if 0%{?suse_version} 1210 +BuildRequires: libusb-compat-devel +%endif %if 0%{?suse_version} 1210 BuildRequires: libpoppler-devel BuildRequires: libpoppler-qt3-devel -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit kdegraphics3 for openSUSE:Factory
Hello community, here is the log from the commit of package kdegraphics3 for openSUSE:Factory checked in at 2012-03-02 13:48:21 Comparing /work/SRC/openSUSE:Factory/kdegraphics3 (Old) and /work/SRC/openSUSE:Factory/.kdegraphics3.new (New) Package is kdegraphics3, Maintainer is kde-maintain...@suse.de Changes: --- /work/SRC/openSUSE:Factory/kdegraphics3/kdegraphics3.changes 2012-02-14 13:06:12.0 +0100 +++ /work/SRC/openSUSE:Factory/.kdegraphics3.new/kdegraphics3.changes 2012-03-02 13:48:26.0 +0100 @@ -1,0 +2,5 @@ +Thu Mar 1 21:34:35 UTC 2012 - an...@opensuse.org + +- add rotate options to kpdf + +--- @@ -4 +9 @@ -- remove dependencies on kdelibs3-devel-doc and qt3-devcel-doc +- remove dependencies on kdelibs3-devel-doc and qt3-devel-doc New: kdegraphics-trinity-kpdf-rotate.diff Other differences: -- ++ kdegraphics3.spec ++ --- /var/tmp/diff_new_pack.9RkXTE/_old 2012-03-02 13:48:29.0 +0100 +++ /var/tmp/diff_new_pack.9RkXTE/_new 2012-03-02 13:48:29.0 +0100 @@ -71,6 +71,7 @@ Patch14:001-fribidi.diff %endif Patch15:GSmartPointer-gcc46.patch +Patch16:kdegraphics-trinity-kpdf-rotate.diff Requires: ghostscript-x11 %if 0%{?suse_version} = 1120 Provides: kdegraphics3-viewer:/opt/kde3/bin/kuickshow @@ -266,6 +267,7 @@ %patch14 -p1 %endif %patch15 -p1 +%patch16 -p1 # gift is not maintained anymore and broken rm -rf kmrml @@ -319,12 +321,7 @@ %suse_update_desktop_file kfaxview Office Viewer %suse_update_desktop_file kamera kde_post_install -%if 0%{?suse_version} 1030 %fdupes %{buildroot} -%endif - -%clean -rm -rf %{buildroot} %post %run_ldconfig ++ kdegraphics-trinity-kpdf-rotate.diff ++ diff --git a/kpdf/core/generator.h b/kpdf/core/generator.h index ca0ea01..e0c892f 100644 --- a/kpdf/core/generator.h +++ b/kpdf/core/generator.h @@ -92,8 +92,8 @@ class Generator : public QObject */ struct PixmapRequest { -PixmapRequest( int rId, int n, int w, int h, int p, bool a = false ) -: id( rId ), pageNumber( n ), width( w ), height( h ), +PixmapRequest( int rId, int n, int w, int h, int p, bool a = false, int r = 0 ) +: id( rId ), pageNumber( n ), width( w ), height( h ), rotation( r ), priority( p ), async( a ), page( 0 ) {}; // observer id @@ -102,6 +102,7 @@ struct PixmapRequest int pageNumber; int width; int height; +int rotation; // asyncronous request priority (less is better, 0 is max) int priority; // generate the pixmap in a thread and notify observer when done diff --git a/kpdf/core/generator_pdf/generator_pdf.cpp b/kpdf/core/generator_pdf/generator_pdf.cpp index 7ad3415..35020e5 100644 --- a/kpdf/core/generator_pdf/generator_pdf.cpp +++ b/kpdf/core/generator_pdf/generator_pdf.cpp @@ -316,7 +316,8 @@ void PDFGenerator::generatePixmap( PixmapRequest * request ) // 1. Set OutputDev parameters and Generate contents // note: thread safety is set on 'false' for the GUI (this) thread kpdfOutputDev-setParams( request-width, request-height, genObjectRects, genObjectRects, false ); -pdfdoc-displayPage( kpdfOutputDev, page-number() + 1, fakeDpiX, fakeDpiY, 0, false, true, false ); +pdfdoc-displayPage( kpdfOutputDev, page-number() + 1, fakeDpiX, fakeDpiY, request-rotation, + false, true, false ); if ( genObjectRects ) pdfdoc-processLinks( kpdfOutputDev, page-number() + 1 ); @@ -1225,7 +1226,7 @@ void PDFPixmapGeneratorThread::run() d-generator-kpdfOutputDev-setParams( width, height, genObjectRects, genObjectRects, TRUE /*thread safety*/ ); d-generator-pdfdoc-displayPage( d-generator-kpdfOutputDev, page-number() + 1, - fakeDpiX, fakeDpiY, 0, false, true, false ); + fakeDpiX, fakeDpiY, d-currentRequest-rotation, false, true, false ); if ( genObjectRects ) d-generator-pdfdoc-processLinks( d-generator-kpdfOutputDev, page-number() + 1 ); diff --git a/kpdf/core/page.cpp b/kpdf/core/page.cpp index e6a847a..70bc71b 100644 --- a/kpdf/core/page.cpp +++ b/kpdf/core/page.cpp @@ -27,10 +27,40 @@ KPDFPage::KPDFPage( uint page, float w, float h, int r ) : m_number( page ), m_rotation( r ), m_width( w ), m_height( h ), m_bookmarked( false ), m_text( 0 ), m_transition( 0 ) { +setRotation( r ); +} + +KPDFPage::~KPDFPage() +{ +deletePixmapsAndRects(); +deleteHighlights(); +delete m_text; +delete m_transition; +} + +void KPDFPage::rotate90degrees() +{ +float w =
commit kdegraphics3 for openSUSE:Factory
Hello community, here is the log from the commit of package kdegraphics3 for openSUSE:Factory checked in at 2012-02-14 13:06:11 Comparing /work/SRC/openSUSE:Factory/kdegraphics3 (Old) and /work/SRC/openSUSE:Factory/.kdegraphics3.new (New) Package is kdegraphics3, Maintainer is kde-maintain...@suse.de Changes: --- /work/SRC/openSUSE:Factory/kdegraphics3/kdegraphics3.changes 2011-10-25 16:06:33.0 +0200 +++ /work/SRC/openSUSE:Factory/.kdegraphics3.new/kdegraphics3.changes 2012-02-14 13:06:12.0 +0100 @@ -1,0 +2,5 @@ +Wed Feb 8 18:54:09 UTC 2012 - an...@opensuse.org + +- remove dependencies on kdelibs3-devel-doc and qt3-devcel-doc + +--- Other differences: -- ++ kdegraphics3.spec ++ --- /var/tmp/diff_new_pack.9LXkUi/_old 2012-02-14 13:06:16.0 +0100 +++ /var/tmp/diff_new_pack.9LXkUi/_new 2012-02-14 13:06:16.0 +0100 @@ -15,8 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - Name: kdegraphics3 Url:http://www.kde.org # skip-check-libtool-deps @@ -26,9 +24,7 @@ BuildRequires: giflib-devel BuildRequires: kdebase3 BuildRequires: kdelibs3-devel -BuildRequires: kdelibs3-devel-doc BuildRequires: net-snmp-devel -BuildRequires: qt3-devel-doc BuildRequires: sane %if 0%{?suse_version} = 1120 BuildRequires: imlib-config @@ -70,7 +66,6 @@ Patch11:fix-kooka-desktop-icon.diff Patch12:kpdf-bug-487098.patch Patch13:xpdf-bnc546404.diff -Requires: kdelibs3 BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} 1140 Patch14:001-fribidi.diff @@ -139,9 +134,6 @@ * kuickshow - a fast picture viewer %endif - -The KDE Team k...@kde.org - %package extra License:GPL-2.0 # usesubdirs kruler kcoloredit -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit kdegraphics3 for openSUSE:Factory
Hello community, here is the log from the commit of package kdegraphics3 for openSUSE:Factory checked in at 2011-10-25 16:06:32 Comparing /work/SRC/openSUSE:Factory/kdegraphics3 (Old) and /work/SRC/openSUSE:Factory/.kdegraphics3.new (New) Package is kdegraphics3, Maintainer is kde-maintain...@suse.de Changes: --- /work/SRC/openSUSE:Factory/kdegraphics3/kdegraphics3.changes 2011-09-23 02:06:14.0 +0200 +++ /work/SRC/openSUSE:Factory/.kdegraphics3.new/kdegraphics3.changes 2011-10-25 16:06:33.0 +0200 @@ -1,0 +2,5 @@ +Tue Oct 25 10:27:44 UTC 2011 - co...@suse.com + +- clean up spec file + +--- Other differences: -- ++ kdegraphics3.spec ++ --- /var/tmp/diff_new_pack.zsRSgZ/_old 2011-10-25 16:06:34.0 +0200 +++ /var/tmp/diff_new_pack.zsRSgZ/_new 2011-10-25 16:06:34.0 +0200 @@ -1,7 +1,7 @@ # -# spec file for package kdegraphics3 (Version 3.5.10) +# spec file for package kdegraphics3 # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 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 @@ -15,47 +15,48 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: kdegraphics3 Url:http://www.kde.org # skip-check-libtool-deps -BuildRequires: OpenEXR-devel fribidi-devel giflib-devel kdebase3 kdelibs3-devel -BuildRequires: kdelibs3-devel-doc net-snmp-devel qt3-devel-doc sane fdupes -%if %suse_version = 1120 -BuildRequires: imlib-config imlib-devel -%endif -%if %suse_version 1000 +BuildRequires: OpenEXR-devel +BuildRequires: fdupes +BuildRequires: fribidi-devel +BuildRequires: giflib-devel +BuildRequires: kdebase3 +BuildRequires: kdelibs3-devel +BuildRequires: kdelibs3-devel-doc +BuildRequires: net-snmp-devel +BuildRequires: qt3-devel-doc +BuildRequires: sane +%if 0%{?suse_version} = 1120 +BuildRequires: imlib-config +BuildRequires: imlib-devel +%endif +BuildRequires: libexiv2-devel +BuildRequires: libgphoto2-devel +BuildRequires: texlive-devel +BuildRequires: texlive-latex BuildRequires: xpdf-tools +%if 0%{?suse_version} 1210 +BuildRequires: libpoppler-devel +BuildRequires: libpoppler-qt3-devel %endif -%if %suse_version 1010 -BuildRequires: libexiv2-devel libgphoto2-devel -%endif -%if %suse_version 1020 -BuildRequires: texlive-devel texlive-latex -%else -BuildRequires: te_ams te_kpath te_latex -%endif -%if %suse_version 1210 -BuildRequires: libpoppler-devel libpoppler-qt3-devel -%endif -%if %suse_version 1130 +%if 0%{?suse_version} 1130 BuildRequires: sane-backends-devel %endif License:GPL-2.0 Group: Productivity/Graphics/Viewers Provides: kdegraphics3-kfile-plugins Obsoletes: kdegraphics3-kfile-plugins -%if %suse_version = 1120 +%if 0%{?suse_version} = 1120 Provides: kuickshow Obsoletes: kuickshow %endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Requires: kdelibs3 = %( echo `rpm -q --queryformat '%{VERSION}' kdelibs3` ) -Summary:Base Libraries for KDE Graphics Applications Version:3.5.10 Release:1 +Summary:Base Libraries for KDE Graphics Applications Source0:kdegraphics-%{version}.tar.bz2 Patch0: 3_5_BRANCH.diff Patch1: prefer-kpdf.diff @@ -69,12 +70,14 @@ Patch11:fix-kooka-desktop-icon.diff Patch12:kpdf-bug-487098.patch Patch13:xpdf-bnc546404.diff -%if %suse_version 1140 +Requires: kdelibs3 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} 1140 Patch14: 001-fribidi.diff %endif Patch15:GSmartPointer-gcc46.patch Requires: ghostscript-x11 -%if %suse_version = 1120 +%if 0%{?suse_version} = 1120 Provides: kdegraphics3-viewer:/opt/kde3/bin/kuickshow %endif Provides: kdegraphics3:/opt/kde3/bin/ksnapshot @@ -104,34 +107,23 @@ - kdegraphics3-extra - - -Authors: - -The KDE Team k...@kde.org - %package devel License:GPL-2.0 -Requires: kdegraphics3 kdelibs3-devel Summary:Include Files and Libraries mandatory for Development Group: Development/Libraries/KDE +Requires: kdegraphics3 +Requires: kdelibs3-devel %description devel This package contains all necessary include files and libraries needed to develop applications that require these. - - -Authors: - -The KDE Team k...@kde.org - %package imaging License:GPL-2.0 # usesubdirs kview kiconedit kuickshow kview
commit kdegraphics3 for openSUSE:Factory
Hello community, here is the log from the commit of package kdegraphics3 for openSUSE:Factory checked in at Mon Sep 19 22:52:19 CEST 2011. New Changes file: --- /dev/null 2010-08-26 16:28:41.0 +0200 +++ /mounts/work_src_done/STABLE/kdegraphics3/kdegraphics3.changes 2011-09-17 16:56:27.0 +0200 @@ -0,0 +1,1372 @@ +--- +Sat Sep 17 14:55:23 UTC 2011 - an...@opensuse.org + +- remove need for poppler for 12.1 + +--- +Thu Sep 15 09:35:14 UTC 2011 - an...@opensuse.org + +- change licensing information + +--- +Fri Jul 23 09:39:05 UTC 2010 - llu...@novell.com + +- disable Kuickshow for 11.3+ + +--- +Sun Dec 6 14:38:42 UTC 2009 - bein...@opensuse.org + +- refresh patches + +--- +Mon Nov 9 22:16:22 CET 2009 - llu...@novell.com + +- xpdf fixes (bnc#546404) + (CVE-2009-3603,3604,3605,3606,3608,3609) + +--- +Mon Jun 22 07:18:18 CEST 2009 - bein...@opensuse.org + +- remove ancient unversionized obsolete (kgamma, kpovmodeler) + +--- +Wed Apr 22 18:50:49 CEST 2009 - llu...@suse.cz + +- kpdf/xpdf fixes, attempt #2 with a newer xpdf patch (bnc#487098) + (CVE-2009-0146,0147,0165,0166,0799,0800,1179-1183) + +--- +Thu Apr 9 15:21:28 CEST 2009 - llu...@suse.cz + +- kpdf/xpdf fixes (bnc#487098) + +--- +Wed Aug 20 18:34:40 CEST 2008 - co...@suse.de + +- update to KDE 3.5.10 + * translation update + +--- +Tue May 20 13:31:01 CEST 2008 - dmuel...@suse.de + +- require pdftools_any (bnc#378434) + +--- +Fri May 9 10:28:41 CEST 2008 - dmuel...@suse.de + +- 3_5_BRANCH diff update + * translation update, bugfixes + +--- +Sat Mar 1 22:29:21 CET 2008 - dmuel...@suse.de + +- fix kdvi part crashing on unload (kde#105297) + +--- +Tue Feb 19 09:27:34 CET 2008 - stbin...@suse.de + +- add branch diff to fix kpdf crash (bnc#362779) + +--- +Wed Feb 13 23:31:33 CET 2008 - dmuel...@suse.de + +- update to 3.5.9: + * http://kde.org/announcements/changelogs/changelog3_5_8to3_5_9.php + +--- +Wed Nov 14 19:31:52 CET 2007 - dmuel...@suse.de + +- add 3_5_BRANCH for kpdf security fixes (and gcc43 latest-of-the + day build breakage fixes) + +--- +Fri Oct 19 09:41:05 CEST 2007 - dmuel...@suse.de + +- fix build + +--- +Tue Oct 12 15:57:13 CEST 2007 - stbin...@suse.de + +- update to 3.5.8: + * kpdf: added a slotTogglePresentation() DCOP method + * bugfixes in SVG thumbnailer, KPDF, libkscan and Kolourpaint + +--- +Thu Oct 11 18:40:37 CEST 2007 - sbra...@suse.cz + +- poppler devel package names prepended by lib. + +--- +Mon Oct 8 17:05:29 CEST 2007 - sbra...@suse.cz + +- Use binding specific poppler devel package. + +--- +Thu Sep 20 17:17:29 CEST 2007 - stbin...@suse.de + +- kghostview: fix zooming control (#310720) + +--- +Thu Sep 20 16:40:55 CEST 2007 - dmuel...@suse.de + +- fix auto rotation of thumbnails (#258483) + +--- +Sat Aug 4 19:22:08 CEST 2007 - stbin...@suse.de + +- update 3_5_BRANCH.diff, pickup latest xpdf security fixes + +--- +Sun Jul 22 13:49:37 CEST 2007 - stbin...@suse.de + +- add 3_5_BRANCH.diff for various bug fixes + +--- +Thu Jun 21 19:22:45 CEST 2007 - stbin...@suse.de + +- fix invalid .desktop files + +--- +Tue Jun 5 09:51:53 CEST 2007 - stbin...@suse.de + +- move kde_post_install + +--- +Fri May 25 11:33:21 CEST 2007 - meiss...@suse.de + +- include my kamera speedups from 3_5_BRANCH #113330 +