Hello community, here is the log from the commit of package kig for openSUSE:Factory checked in at 2015-07-14 17:41:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kig (Old) and /work/SRC/openSUSE:Factory/.kig.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kig" Changes: -------- --- /work/SRC/openSUSE:Factory/kig/kig.changes 2015-06-04 11:23:33.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kig.new/kig.changes 2015-07-14 17:41:06.000000000 +0200 @@ -1,0 +2,8 @@ +Mon Jul 6 06:04:30 UTC 2015 - [email protected] + +- Update to KDE Applications 15.04.3 + * KDE Applications 15.04.3 + * https://www.kde.org/announcements/announce-applications-15.04.3.php + + +------------------------------------------------------------------- Old: ---- kig-15.04.2.tar.xz New: ---- kig-15.04.3.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kig.spec ++++++ --- /var/tmp/diff_new_pack.WNOjZF/_old 2015-07-14 17:41:07.000000000 +0200 +++ /var/tmp/diff_new_pack.WNOjZF/_new 2015-07-14 17:41:07.000000000 +0200 @@ -17,7 +17,7 @@ Name: kig -Version: 15.04.2 +Version: 15.04.3 Release: 0 Summary: Interactive Geometry License: GPL-2.0+ ++++++ kig-15.04.2.tar.xz -> kig-15.04.3.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kig-15.04.2/filters/asyexporter.cc new/kig-15.04.3/filters/asyexporter.cc --- old/kig-15.04.2/filters/asyexporter.cc 2015-05-27 05:50:05.000000000 +0200 +++ new/kig-15.04.3/filters/asyexporter.cc 2015-06-06 10:10:38.000000000 +0200 @@ -23,6 +23,8 @@ #include <qfile.h> #include <qtextstream.h> +#include <QStandardPaths> + #include <kmessagebox.h> #ifdef HAVE_TRUNC @@ -53,7 +55,7 @@ void AsyExporter::run( const KigPart& doc, KigWidget& w ) { KigFileDialog* kfd = new KigFileDialog( - QString(), i18n( "*.asy|Asymptote Documents (*.asy)" ), + QStandardPaths::writableLocation( QStandardPaths::DocumentsLocation ), i18n( "*.asy|Asymptote Documents (*.asy)" ), i18n( "Export as Asymptote script" ), &w ); kfd->setOptionCaption( i18n( "Asymptote Options" ) ); AsyExporterOptions* opts = new AsyExporterOptions( 0L ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kig-15.04.2/filters/exporter.cc new/kig-15.04.3/filters/exporter.cc --- old/kig-15.04.2/filters/exporter.cc 2015-05-27 05:50:05.000000000 +0200 +++ new/kig-15.04.3/filters/exporter.cc 2015-06-06 10:10:38.000000000 +0200 @@ -85,7 +85,7 @@ void ImageExporter::run( const KigPart& doc, KigWidget& w ) { KigFileDialog* kfd = new KigFileDialog( - QString(), KImageIO::pattern( KImageIO::Writing ), + QStandardPaths::writableLocation( QStandardPaths::PicturesLocation ), KImageIO::pattern( KImageIO::Writing ), i18n( "Export as Image" ), &w ); kfd->setOptionCaption( i18n( "Image Options" ) ); ImageExporterOptions* opts = new ImageExporterOptions( 0L ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kig-15.04.2/filters/latexexporter.cc new/kig-15.04.3/filters/latexexporter.cc --- old/kig-15.04.2/filters/latexexporter.cc 2015-05-27 05:50:05.000000000 +0200 +++ new/kig-15.04.3/filters/latexexporter.cc 2015-06-06 10:10:38.000000000 +0200 @@ -537,7 +537,7 @@ void LatexExporter::run( const KigPart& doc, KigWidget& w ) { KigFileDialog* kfd = new KigFileDialog( - QString(), i18n( "*.tex|Latex Documents (*.tex)" ), + QStandardPaths::writableLocation( QStandardPaths::DocumentsLocation ), i18n( "*.tex|Latex Documents (*.tex)" ), i18n( "Export as Latex" ), &w ); kfd->setOptionCaption( i18n( "Latex Options" ) ); LatexExporterOptions* opts = new LatexExporterOptions( 0L ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kig-15.04.2/filters/svgexporter.cc new/kig-15.04.3/filters/svgexporter.cc --- old/kig-15.04.2/filters/svgexporter.cc 2015-05-27 05:50:05.000000000 +0200 +++ new/kig-15.04.3/filters/svgexporter.cc 2015-06-06 10:10:38.000000000 +0200 @@ -58,7 +58,7 @@ void SVGExporter::run( const KigPart& part, KigWidget& w ) { KigFileDialog* kfd = new KigFileDialog( - QString(), i18n( "*.svg|Scalable Vector Graphics (*.svg)" ), + QStandardPaths::writableLocation( QStandardPaths::PicturesLocation ), i18n( "*.svg|Scalable Vector Graphics (*.svg)" ), i18n( "Export as SVG" ), &w ); kfd->setOptionCaption( i18n( "SVG Options" ) ); SVGExporterOptions* opts = new SVGExporterOptions( 0L ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kig-15.04.2/filters/xfigexporter.cc new/kig-15.04.3/filters/xfigexporter.cc --- old/kig-15.04.2/filters/xfigexporter.cc 2015-05-27 05:50:05.000000000 +0200 +++ new/kig-15.04.3/filters/xfigexporter.cc 2015-06-06 10:10:38.000000000 +0200 @@ -575,7 +575,7 @@ void XFigExporter::run( const KigPart& doc, KigWidget& w ) { KigFileDialog* kfd = new KigFileDialog( - ":document", i18n( "*.fig|XFig Documents (*.fig)" ), + QStandardPaths::writableLocation( QStandardPaths::PicturesLocation ), i18n( "*.fig|XFig Documents (*.fig)" ), i18n( "Export as XFig File" ), &w ); if ( !kfd->exec() ) return; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kig-15.04.2/kig.appdata.xml new/kig-15.04.3/kig.appdata.xml --- old/kig-15.04.2/kig.appdata.xml 2015-05-27 05:50:05.000000000 +0200 +++ new/kig-15.04.3/kig.appdata.xml 2015-06-06 10:10:38.000000000 +0200 @@ -57,7 +57,7 @@ <description> <p>Kig is an interactive mathematics software for learning and teaching geometry. It allows to explore mathematical figures and concepts using the computer and also can serve as a drawing tool for mathematical figures. Constructions can be made with points, vectors, lines, and polygons and all elements can be modified directly by using the mouse. Kig helps teachers and students to make conjectures and to understand how to prove geometric theorems.</p> <p xml:lang="bs">Kig je interaktivni matematika softver za učenje i nastavu geometrije. On omogućava da istražite matematičke figure i koncepte koristeći računar i takođe može da posluži kao sredstvo za crtanje za matematičke likovee. Konstrukcije mogu biti napravljeni sa tačkama, vektorima, linijama i poligona i svi elementi mogu izmijeniti pomoću miša. Kig pomaže nastavnicmai i učenici da naprave pretpostavke i da shvate kako se dokazuje geometrijske teoreme.</p> - <p xml:lang="ca">El és un programari matemàtic interactiu per aprendre i ensenyar geometria. Permet explorar figures matemàtiques i conceptes usant l'ordinador i també pot servir com una eina de dibuix per figures matemàtiques. Les construccions es poden fer amb punts, vectors, línies, i polígons i tots els elements es poden modificar directament usant el ratolí. El Kig ajuda els mestres i els estudiants a fer conjectures i a entendre com demostrar els teoremes geomètrics.</p> + <p xml:lang="ca">El Kig és un programari matemàtic interactiu per aprendre i ensenyar geometria. Permet explorar figures matemàtiques i conceptes usant l'ordinador i també pot servir com una eina de dibuix per figures matemàtiques. Les construccions es poden fer amb punts, vectors, línies, i polígons i tots els elements es poden modificar directament usant el ratolí. El Kig ajuda els mestres i els estudiants a fer conjectures i a entendre com demostrar els teoremes geomètrics.</p> <p xml:lang="en-GB">Kig is an interactive mathematics software for learning and teaching geometry. It allows to explore mathematical figures and concepts using the computer and also can serve as a drawing tool for mathematical figures. Constructions can be made with points, vectors, lines, and polygons and all elements can be modified directly by using the mouse. Kig helps teachers and students to make conjectures and to understand how to prove geometric theorems.</p> <p xml:lang="es">Kig es un software matemático interactivo para el aprendizaje y la enseñanza de la geometría. Permite explorar figuras matemáticas y conceptos usando un equipo informático, además de servir como herramienta de dibujo de figuras matemáticas. Puede realizar construcciones con puntos, vectores, líneas y polígonos, y permite modificar todos estos elementos directamente usando el ratón. Kig ayuda a los profesores y a los estudiantes a hacer conjeturas y a entender cómo probar teoremas geométricos.</p> <p xml:lang="et">Kig on interaktiivne matemaatikatarkvara geomeetria õppimiseks ja õpetamiseks. See võimaldab arvuti vahendusel uurida matemaatilisi kujundeid ja põhimõtteid ning ühtlasi matemaatilisi kujundeid joonistada. Kujundeid võib luua punktide, vektorite, sirgete ja hulknurkade põhjal, kõiki elemente saab muuta otse hiirega. Kig aitab õpetajatele ja õpilastel püstitada hüpoteese ja mõista, kuidas tuleks teoreeme tõestada.</p> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kig-15.04.2/misc/kigfiledialog.cc new/kig-15.04.3/misc/kigfiledialog.cc --- old/kig-15.04.2/misc/kigfiledialog.cc 2015-05-27 05:50:05.000000000 +0200 +++ new/kig-15.04.3/misc/kigfiledialog.cc 2015-06-06 10:10:38.000000000 +0200 @@ -65,7 +65,6 @@ if ( mow ) { QDialog* optdlg = new QDialog( this ); - QWidget* mainWidget = new QWidget( optdlg ); QDialogButtonBox* buttonBox = new QDialogButtonBox( QDialogButtonBox::Cancel | QDialogButtonBox::Ok ); QPushButton *okButton = buttonBox->button( QDialogButtonBox::Ok ); QVBoxLayout* mainLayout = new QVBoxLayout; @@ -73,16 +72,14 @@ okButton->setDefault( true ); okButton->setShortcut( Qt::CTRL | Qt::Key_Return ); optdlg->setLayout( mainLayout ); - mainLayout->addWidget( mainWidget ); + mainLayout->addWidget( mow ); mainLayout->addWidget( buttonBox ); optdlg->setWindowTitle( moptcaption ); connect( buttonBox, SIGNAL( accepted() ), optdlg, SLOT( accept() ) ); - connect( buttonBox, SIGNAL( rejected() ), this, SLOT( reject() )); + connect( buttonBox, SIGNAL( rejected() ), optdlg, SLOT( reject() )); - mow->setParent( optdlg ); -//PORTING: Verify that widget was added to mainLayout optdlg->setMainWidget( mow ); - optdlg->exec() == QDialog::Accepted ? QFileDialog::accept() : QFileDialog::reject(); + (optdlg->exec() == QDialog::Accepted) ? QFileDialog::accept() : QFileDialog::reject(); } else QFileDialog::accept();
