Hello community,

here is the log from the commit of package kig for openSUSE:Factory checked in 
at 2014-07-16 16:17:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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  2014-06-19 13:16:11.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.kig.new/kig.changes     2014-07-16 
16:17:38.000000000 +0200
@@ -1,0 +2,7 @@
+Thu Jul 10 22:17:40 UTC 2014 - [email protected]
+
+- Update to 4.13.80
+   * KDE 4.14 Beta 1 release
+   * See http://www.kde.org/announcements/announce-4.14-beta1.php
+
+-------------------------------------------------------------------

Old:
----
  kig-4.13.2.tar.xz

New:
----
  kig-4.13.80.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kig.spec ++++++
--- /var/tmp/diff_new_pack.yTbmXm/_old  2014-07-16 16:17:39.000000000 +0200
+++ /var/tmp/diff_new_pack.yTbmXm/_new  2014-07-16 16:17:39.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           kig
-Version:        4.13.2
+Version:        4.13.80
 Release:        0
 Summary:        Interactive Geometry
 License:        GPL-2.0+
@@ -56,20 +56,23 @@
 
 %files
 %defattr(-,root,root)
-%_kde4_bindir/kig
-%_kde4_bindir/pykig.py
-%_kde4_modulesdir/kigpart.so
-%_kde4_applicationsdir/kig.desktop
-%_kde4_htmldir/en/kig/
-%_kde4_iconsdir/hicolor/*/apps/kig.*
-%_kde4_iconsdir/hicolor/*/mimetypes/application-x-kig.*
-%_kde4_appsdir/kig/
-%_kde4_servicesdir/kig_part.desktop
-%_kde4_mandir/man1/kig.1.gz
+%doc COPYING* ChangeLog FEATURES
+%dir %{_kde4_datadir}/appdata
+%{_kde4_applicationsdir}/kig.desktop
+%{_kde4_appsdir}/kig/
+%{_kde4_bindir}/kig
+%{_kde4_bindir}/pykig.py
+%{_kde4_datadir}/appdata/kig.appdata.xml
+%{_kde4_htmldir}/en/kig/
+%{_kde4_iconsdir}/hicolor/*/apps/kig.*
+%{_kde4_iconsdir}/hicolor/*/mimetypes/application-x-kig.*
+%{_kde4_mandir}/man1/kig.1.gz
+%{_kde4_modulesdir}/kigpart.so
+%{_kde4_servicesdir}/kig_part.desktop
 %if %{suse_version} > 1230
-%dir %_kde4_appsdir/katepart
-%dir %_kde4_appsdir/katepart/syntax
-%_kde4_appsdir/katepart/syntax/python-kig.xml
+%dir %{_kde4_appsdir}/katepart
+%dir %{_kde4_appsdir}/katepart/syntax
+%{_kde4_appsdir}/katepart/syntax/python-kig.xml
 %endif
 
 %changelog

++++++ kig-4.13.2.tar.xz -> kig-4.13.80.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kig-4.13.2/CMakeLists.txt 
new/kig-4.13.80/CMakeLists.txt
--- old/kig-4.13.2/CMakeLists.txt       2014-02-13 22:57:45.000000000 +0100
+++ new/kig-4.13.80/CMakeLists.txt      2014-07-05 03:47:20.000000000 +0200
@@ -44,8 +44,10 @@
 #add_subdirectory( kfile )
 add_subdirectory( data )
 add_subdirectory( pykig )
+
 if(BoostPython_FOUND)
   add_subdirectory( scripting )
+  add_definitions(-DKIG_ENABLE_PYTHON_SCRIPTING)
 endif(BoostPython_FOUND)
 
 macro_log_feature(
@@ -209,11 +211,13 @@
 kde4_add_plugin(kigpart ${kigpart_PART_SRCS})
 
 target_link_libraries(kigpart ${KDE4_KPARTS_LIBS} ${KDE4_KUTILS_LIBS} )
+
 if(BoostPython_FOUND)
   target_link_libraries(kigpart ${BoostPython_LIBRARIES} 
${KDE4_KTEXTEDITOR_LIBS})
 endif(BoostPython_FOUND)
 
 install(TARGETS kigpart DESTINATION ${PLUGIN_INSTALL_DIR})
+install(FILES kig.appdata.xml DESTINATION ${SHARE_INSTALL_PREFIX}/appdata/)
 
 # unit tests
 add_subdirectory(tests)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kig-4.13.2/format_sources 
new/kig-4.13.80/format_sources
--- old/kig-4.13.2/format_sources       1970-01-01 01:00:00.000000000 +0100
+++ new/kig-4.13.80/format_sources      2014-07-05 03:47:20.000000000 +0200
@@ -0,0 +1 @@
+*.cpp *.h: astyle --style=allman --indent=spaces=2 --pad-paren-in $TMPFILE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kig-4.13.2/kig.appdata.xml 
new/kig-4.13.80/kig.appdata.xml
--- old/kig-4.13.2/kig.appdata.xml      1970-01-01 01:00:00.000000000 +0100
+++ new/kig-4.13.80/kig.appdata.xml     2014-07-05 03:47:20.000000000 +0200
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="utf-8"?>
+<component type="desktop">
+  <id>kig.desktop</id>
+  <metadata_license>CC0-1.0</metadata_license>
+  <name>Kig</name>
+  <name xml:lang="cs">Kig</name>
+  <name xml:lang="es">Kig</name>
+  <name xml:lang="lt">Kig</name>
+  <name xml:lang="nds">Kig</name>
+  <name xml:lang="nl">Kig</name>
+  <name xml:lang="pl">Kig</name>
+  <name xml:lang="pt">Kig</name>
+  <name xml:lang="pt-BR">Kig</name>
+  <name xml:lang="sk">Kig</name>
+  <name xml:lang="sv">Kig</name>
+  <name xml:lang="uk">Kig</name>
+  <name xml:lang="x-test">xxKigxx</name>
+  <name xml:lang="zh-TW">數學_Kig</name>
+  <summary>Interactive Geometry</summary>
+  <summary xml:lang="cs">Interaktivní geometrie</summary>
+  <summary xml:lang="es">Geometría interactiva</summary>
+  <summary xml:lang="lt">Interaktyvi geometrija</summary>
+  <summary xml:lang="nds">Wesselwarken Geometrie</summary>
+  <summary xml:lang="nl">Interactieve meetkunde</summary>
+  <summary xml:lang="pl">Interaktywna geometria</summary>
+  <summary xml:lang="pt">Geometria Interactiva</summary>
+  <summary xml:lang="pt-BR">Geometria interativa</summary>
+  <summary xml:lang="sk">Interaktívna geometria</summary>
+  <summary xml:lang="sv">Interaktiv geometri</summary>
+  <summary xml:lang="uk">Інтерактивна геометрія</summary>
+  <summary xml:lang="x-test">xxInteractive Geometryxx</summary>
+  <summary xml:lang="zh-TW">交互式幾何作圖</summary>
+  <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="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="nds">Kig is en wesselwarken Mathematikprogramm för't Lehren 
vun Geometrie. Du kannst dor mathemaatsch Figuren un Konzepten mit ünnersöken, 
mat dat lett sik ok as Tekenwarktüüch för mathemaatsch Figuren bruken. Du 
kannst Dien Konstrukschonen ut Pünkt, Vektoren, Lienen un Veelecken opbuen, un 
all Elementen laat sik direktemang mit de Muus bewerken. Kig hölpt Schölers un 
Lehrers bi't Opstellen vun Vermoden, bi't Bewiesen un bi't Verstahn, wodennig 
een wat bewiesen kann.</p>
+    <p xml:lang="nl">Kig is een interactief programma voor het leren en 
onderwijzen van meetkunde. Wiskundige figuren en ideeën kunnen er mee worden 
bestudeerd op de computer, en er kunnen wiskundige figuren mee worden getekend. 
Ook kunnen er constructies mee worden gemaakt met punten, vectoren, 
lijnstukken, en veelhoeken, en alle elementen kunnen direct met de muis worden 
gewijzigd. Kig helpt zowel leraren als leerlingen met het opstellen  van 
vermoedens, en het begrip hoe meetkundige stellingen te bewijzen.</p>
+    <p xml:lang="pl">Kig jest interaktywnym oprogramowaniem matematycznym do 
nauki i nauczania geometrii. Umożliwia poznawanie figur matematycznych i 
pomysłów przy użyciu komputera. Program może także służyć jako narzędzie do 
rysowania figur matematycznych. Konstrukcje można tworzyć przy użyciu punktów, 
wektorów, linii oraz wielokątów, a wszystkie elementy można bezpośrednio 
zmieniać przy użyciu myszy. Kig pomaga nauczycielom i uczniom czynić 
przypuszczenia i pojąć sposób  udowadniania teorii geometrycznych.</p>
+    <p xml:lang="pt">O Kig é uma aplicação matemática interactiva para 
aprender e ensinar geometria. Permite explorar as figuras e conceitos da 
matemática, usando o computador, e também pode servir como ferramenta de 
desenho para figuras matemáticas. As construções podem ser feitas com pontos, 
vectores, linhas e polígonos, podendo todos os elementos ser modificados 
directamente através do rato. O Kig ajuda os professores e os alunos a tirar 
conclusões e a compreender como provar teoremas geométricos.</p>
+    <p xml:lang="pt-BR">Kig é um aplicativo de matemática interativo para 
aprender e ensinar geometria. Ele permite explorar as figuras e conceitos da 
matemática usando o computador e também pode servir como ferramenta de desenho 
de figuras matemáticas. As construções podem ser feitas com pontos, vetores, 
linhas e polígonos, onde todos os elementos podem ser modificados diretamente 
com o mouse. O Kig ajuda os professores e alunos a tirar conclusões e 
compreender como provar teoremas geométricos.</p>
+    <p xml:lang="sk">Kig je interaktívny matematický softvér na výuku 
geometrie. Umožňuje preskúmať matematické objekty a koncepty pomocou počítača a 
môže slúžiť aj ako kresliaci nástroj pre matematické objekty. Konštrukcie je 
možné vytvárať pomocou bodov, vektorov, čiar a polygónov a všetky prvky sa dajú 
meniť priamo pomocou myši. Kig pomáha učiteľom a študentom vytvoriť dohady a 
pochopiť, ako dokázať geometrické teorémy.</p>
+    <p xml:lang="sv">Kig är en interaktiv matematisk programvara för att lära 
sig och lära ut geometri. Det möjliggör utforskning av matematiska figurer och 
begrepp med datorn, och kan också fungera som ett ritverktyg för matematiska 
figurer. Konstruktioner kan göras av punkter, vektorer, linjer och polygoner, 
där alla element kan ändras direkt genom att använda musen. Kig hjälper lärare 
och elever att dra slutsatser och förstå hur man bevisar geometriska teorem.</p>
+    <p xml:lang="uk">Kig — інтерактивне математичне програмне забезпечення для 
вивчення і викладання геометрії. За його допомогою можна вивчати математичні 
фігури та поняття на комп’ютері. Також програма може слугувати для створення 
креслень до геометричних задач. Побудови можна здійснювати на основі точок, 
векторів, ліній та багатокутників. Усі побудови можна змінювати безпосередньо 
за допомогою вказівника миші. Kig допомагає викладачам та учням робити 
припущення та розбиратися у доведенні теорем геометрії.</p>
+    <p xml:lang="x-test">xxKig 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.xx</p>
+  </description>
+  <url type="homepage">http://edu.kde.org/kig/</url>
+  <url 
type="bugtracker">https://bugs.kde.org/enter_bug.cgi?format=guided&amp;product=kig</url>
+  <url type="help">http://docs.kde.org/stable/en/kdeedu/kig/index.html</url>
+  <screenshots>
+    <screenshot type="default">
+      <image>http://kde.org/images/screenshots/kig.png</image>
+    </screenshot>
+  </screenshots>
+  <project_group>KDE</project_group>
+  <provides>
+    <binary>kig</binary>
+  </provides>
+</component>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kig-4.13.2/macros/CMakeLists.txt 
new/kig-4.13.80/macros/CMakeLists.txt
--- old/kig-4.13.2/macros/CMakeLists.txt        2014-02-13 22:57:45.000000000 
+0100
+++ new/kig-4.13.80/macros/CMakeLists.txt       2014-07-05 03:47:20.000000000 
+0200
@@ -4,7 +4,6 @@
    equitriangle.kigt
    evolute.kigt
    osculating_circle.kigt
-   segment_axis.kigt
    square.kigt
    vector_difference.kigt
    DESTINATION ${DATA_INSTALL_DIR}/kig/builtin-macros)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kig-4.13.2/macros/segment_axis.kigt 
new/kig-4.13.80/macros/segment_axis.kigt
--- old/kig-4.13.2/macros/segment_axis.kigt     2014-02-13 22:57:45.000000000 
+0100
+++ new/kig-4.13.80/macros/segment_axis.kigt    1970-01-01 01:00:00.000000000 
+0100
@@ -1,25 +0,0 @@
-<!DOCTYPE KigMacroFile>
-<KigMacroFile Number="1" Version="0.6.1" >
- <Macro>
-  <Name>Segment Axis</Name>
-  <Description>The perpendicular line through a given segment's mid 
point.</Description>
-  <ActionName>objects_new_segment_axis</ActionName>
-  <IconFileName>segmentaxis</IconFileName>
-  <Construction>
-   <input requirement="segment" id="1">
-    <UseText>Construct the axis of this segment</UseText>
-    <SelectStatement>Select the segment of which you want to draw the 
axis...</SelectStatement>
-   </input>
-   <intermediate action="fetch-property" property="mid-point" id="2" >
-    <arg>1</arg>
-   </intermediate>
-   <intermediate action="calc" type="Copy" id="3" >
-    <arg>2</arg>
-   </intermediate>
-   <result action="calc" type="LinePerpend" id="4" >
-    <arg>1</arg>
-    <arg>3</arg>
-   </result>
-  </Construction>
- </Macro>
-</KigMacroFile>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kig-4.13.2/misc/builtin_stuff.cc 
new/kig-4.13.80/misc/builtin_stuff.cc
--- old/kig-4.13.2/misc/builtin_stuff.cc        2014-02-13 22:57:45.000000000 
+0100
+++ new/kig-4.13.80/misc/builtin_stuff.cc       2014-07-05 03:47:20.000000000 
+0200
@@ -71,6 +71,14 @@
     ctors->add( c );
     actions->add( new ConstructibleAction( c, "objects_new_segment", Qt::Key_S 
) );
 
+    // segment axis...
+    c = new SimpleObjectTypeConstructor(
+      SegmentAxisType::instance(), I18N_NOOP( "Segment Axis" ),
+      I18N_NOOP( "The perpendicular line through a given segment's mid point." 
),
+      "segmentaxis" );
+    ctors->add( c );
+    actions->add( new ConstructibleAction( c, "objects_new_segment_axis" ) );
+
     // line by two points..
     c = new SimpleObjectTypeConstructor(
       LineABType::instance(), I18N_NOOP( "Line by Two Points" ),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kig-4.13.2/objects/line_type.cc 
new/kig-4.13.80/objects/line_type.cc
--- old/kig-4.13.2/objects/line_type.cc 2014-02-13 22:57:45.000000000 +0100
+++ new/kig-4.13.80/objects/line_type.cc        2014-07-05 03:47:20.000000000 
+0200
@@ -127,6 +127,47 @@
   return new RayImp( a, b );
 }
 
+static const ArgsParser::spec argspecSegmentAxisABType[] =
+{
+  { SegmentImp::stype(), I18N_NOOP( "Construct the axis of this segment" ),
+    I18N_NOOP( "Select the segment of which you want to draw the axis..." ), 
true }
+};
+
+KIG_INSTANTIATE_OBJECT_TYPE_INSTANCE( SegmentAxisType );
+
+SegmentAxisType::SegmentAxisType()
+  : ArgsParserObjectType( "Segment Axis", argspecSegmentAxisABType, 1 )
+{
+}
+
+SegmentAxisType::~SegmentAxisType()
+{
+}
+
+const SegmentAxisType* SegmentAxisType::instance()
+{
+  static const SegmentAxisType s;
+  return &s;
+}
+
+ObjectImp* SegmentAxisType::calc( const Args& args, const KigDocument& ) const
+{
+  if ( ! margsparser.checkArgs( args ) ) return new InvalidImp;
+
+  const SegmentImp * l = static_cast< const SegmentImp * >( args[0] );
+  const Coordinate a = l->data().a;
+  const Coordinate b = l->data().b;
+  const Coordinate mp = ( a + b ) / 2;
+  const Coordinate dir( b - a );
+  const Coordinate perpPoint = calcPointOnPerpend( dir, mp );
+  return new LineImp( mp, perpPoint  );
+}
+
+const ObjectImpType* SegmentAxisType::resultId() const
+{
+  return LineImp::stype();
+}
+
 LinePerpendLPType* LinePerpendLPType::instance()
 {
   static LinePerpendLPType l;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kig-4.13.2/objects/line_type.h 
new/kig-4.13.80/objects/line_type.h
--- old/kig-4.13.2/objects/line_type.h  2014-02-13 22:57:45.000000000 +0100
+++ new/kig-4.13.80/objects/line_type.h 2014-07-05 03:47:20.000000000 +0200
@@ -63,6 +63,17 @@
   const ObjectImpType* resultId() const;
 };
 
+class SegmentAxisType
+  : public ArgsParserObjectType
+{
+  SegmentAxisType();
+  ~SegmentAxisType();
+public:
+  static const SegmentAxisType* instance();
+  ObjectImp* calc( const Args& parents, const KigDocument& d ) const;
+  const ObjectImpType* resultId() const;
+};
+
 class LinePerpendLPType
   : public ObjectLPType
 {

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to