Hello community,
here is the log from the commit of package kdebindings4 for openSUSE:Factory
checked in at Wed Aug 5 00:19:20 CEST 2009.
--------
--- KDE/kdebindings4/kdebindings4.changes 2009-07-21 22:36:55.000000000 +0200
+++ kdebindings4/kdebindings4.changes 2009-07-29 18:07:37.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Jul 29 18:07:30 CEST 2009 - dmueller@suse.de
+
+- update to 4.3.0
+ * see http://kde.org/announcements/4.3 for details
+
+-------------------------------------------------------------------
mono-kde4.changes: same change
python-kde4.changes: same change
ruby-kde4.changes: same change
calling whatdependson for head-i586
Old:
----
kdebindings-4.2.98.tar.bz2
New:
----
kdebindings-4.3.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kdebindings4.spec ++++++
--- /var/tmp/diff_new_pack.fSxyMh/_old 2009-08-05 00:16:52.000000000 +0200
+++ /var/tmp/diff_new_pack.fSxyMh/_new 2009-08-05 00:16:52.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package kdebindings4 (Version 4.2.98)
+# spec file for package kdebindings4 (Version 4.3.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -29,7 +29,7 @@
License: LGPL v2.1 or later
Group: Development/Libraries/KDE
Summary: Bindings for KDE 4.x libraries
-Version: 4.2.98
+Version: 4.3.0
Release: 1
Source0: kdebindings-%version.tar.bz2
Patch0: 4_3_BRANCH.diff
@@ -227,6 +227,8 @@
%files
%defattr(-,root,root)
%_libdir/kde4/krosspython.so
+/usr/bin/pykdeuic4
+%py_sitedir/PyQt4
%py_sitedir/PyKDE4
%exclude /usr/share/kde4/apps/pykde4/examples
/usr/share/kde4/apps/pykde4
mono-kde4.spec: same change
python-kde4.spec: same change
ruby-kde4.spec: same change
++++++ kdebindings-4.2.98.tar.bz2 -> kdebindings-4.3.0.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdebindings-4.2.98/csharp/plasma/ChangeLog new/kdebindings-4.3.0/csharp/plasma/ChangeLog
--- old/kdebindings-4.2.98/csharp/plasma/ChangeLog 2009-07-21 17:22:11.000000000 +0200
+++ new/kdebindings-4.3.0/csharp/plasma/ChangeLog 2009-07-29 13:12:20.000000000 +0200
@@ -1,3 +1,7 @@
+2009-07-26 Richard Dale
+* Add a C# version of the Extender Plugin Applet tutorial on Techbase
+* Fix the PlasmaScripting.Applet.Extender() method
+
2009-07-19 Richard Dale
* Regenerate the C# sources for the KDE 4.3 release
* Add a PlasmaScripting.PopupApplet for writing PopupApplets in C#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdebindings-4.2.98/csharp/plasma/examples/applets/CMakeLists.txt new/kdebindings-4.3.0/csharp/plasma/examples/applets/CMakeLists.txt
--- old/kdebindings-4.2.98/csharp/plasma/examples/applets/CMakeLists.txt 2008-08-14 12:44:38.000000000 +0200
+++ new/kdebindings-4.3.0/csharp/plasma/examples/applets/CMakeLists.txt 2009-07-29 13:12:20.000000000 +0200
@@ -1,3 +1,4 @@
+add_subdirectory( extendertutorial )
add_subdirectory( tiger )
add_subdirectory( plasmaclock )
add_subdirectory( analog-clock )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdebindings-4.2.98/csharp/plasma/examples/applets/extendertutorial/CMakeLists.txt new/kdebindings-4.3.0/csharp/plasma/examples/applets/extendertutorial/CMakeLists.txt
--- old/kdebindings-4.2.98/csharp/plasma/examples/applets/extendertutorial/CMakeLists.txt 1970-01-01 01:00:00.000000000 +0100
+++ new/kdebindings-4.3.0/csharp/plasma/examples/applets/extendertutorial/CMakeLists.txt 2009-07-29 13:12:20.000000000 +0200
@@ -0,0 +1,16 @@
+project(cs-extender-tutorial)
+include(CSharpMacros)
+
+set(SRC_EXTENDER_TUTORIAL extender_tutorial.cs)
+
+set(CS_FLAGS -warn:0 "-r:${LIBRARY_OUTPUT_PATH}/qt-dotnet.dll,${LIBRARY_OUTPUT_PATH}/kde-dotnet.dll,${LIBRARY_OUTPUT_PATH}/plasma-dll.dll")
+add_cs_library(csharp-extender-tutorial "${SRC_EXTENDER_TUTORIAL}" ALL)
+
+add_dependencies(csharp-extender-tutorial plasma-dll)
+
+file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/csharp-extender-tutorial/contents/code)
+install(FILES ${LIBRARY_OUTPUT_PATH}/csharp-extender-tutorial.dll DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/csharp-extender-tutorial/contents/code RENAME main)
+
+install(FILES metadata.desktop DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/csharp-extender-tutorial)
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdebindings-4.2.98/csharp/plasma/examples/applets/extendertutorial/extender_tutorial.cs new/kdebindings-4.3.0/csharp/plasma/examples/applets/extendertutorial/extender_tutorial.cs
--- old/kdebindings-4.2.98/csharp/plasma/examples/applets/extendertutorial/extender_tutorial.cs 1970-01-01 01:00:00.000000000 +0100
+++ new/kdebindings-4.3.0/csharp/plasma/examples/applets/extendertutorial/extender_tutorial.cs 2009-07-29 13:12:20.000000000 +0200
@@ -0,0 +1,93 @@
+namespace Tutorials {
+ using Qyoto;
+ using Kimono;
+ using Plasma;
+
+ public class ExtenderTutorial : PlasmaScripting.PopupApplet {
+ public ExtenderTutorial(AppletScript parent) : base(parent) {
+ //We want to collapse into an icon when put into a panel.
+ //If you don't call this function, you can display another
+ //widget, or draw something yourself.
+ SetPopupIcon("extendertutorial");
+ }
+
+ public override void Init() {
+ //Calling extender() instantiates an extender for you if you
+ //haven't already done so. Never instantiate an extender
+ //before init() since Extender needs access to applet.config()
+ //to work.
+
+ //The message to be shown when there are no ExtenderItems in
+ //this extender.
+ Extender().EmptyExtenderMessage = KDE.I18n("no running jobs...");
+
+ //Notify ourself whenever a new job is created.
+ Connect(DataEngine("kuiserver"),
+ SIGNAL("sourceAdded(const QString&)"),
+ this, SLOT("SourceAdded(const QString&)"));
+ }
+
+ //Implement this function to make ExtenderItems persistent.
+ //This function will get called on plasma start for every
+ //ExtenderItem that belonged to this applet, and is still
+ //around. Instantiate the widget to be wrapped in the
+ //ExtenderItem here.
+ public override void InitExtenderItem(Plasma.ExtenderItem item) {
+ //Create a Meter widget and wrap it in the ExtenderItem
+ Plasma.Meter meter = new Plasma.Meter(item) {
+ meterType = Plasma.Meter.MeterType.BarMeterHorizontal,
+ Svg = "widgets/bar_meter_horizontal",
+ Maximum = 100,
+ Value = 0
+ };
+
+ meter.SetMinimumSize(new QSizeF(250, 45));
+ meter.SetPreferredSize(new QSizeF(250, 45));
+
+ //often, you'll want to connect dataengines or set properties
+ //depending on information contained in item.config().
+ //In this situation that won't be necessary though.
+ item.Widget = meter;
+
+ //Job names are not unique across plasma restarts (kuiserver
+ //engine just starts with Job1 again), so avoid problems and
+ //just don't give reinstantiated items a name.
+ item.Name = "";
+
+ //Show a close button.
+ item.ShowCloseButton();
+ }
+
+ //We want to add a new ExtenderItem everytime a new job
+ //is started.
+ [Q_SLOT()]
+ public void SourceAdded(string source) {
+ //Add a new ExtenderItem
+ Plasma.ExtenderItem item = new Plasma.ExtenderItem(Extender());
+ InitExtenderItem(item);
+
+ //We give this item a name, which we don't use in this
+ //example, but allows us to look up extenderItems by calling
+ //extenderItem(name). That function is useful to avoid
+ //duplicating detached ExtenderItems between session, because
+ //you can check if a certain item already exists.
+ item.Name = source;
+
+ //And we give this item a title. Titles, along with icons and
+ //names are persistent between sessions.
+ item.Title = source;
+
+ //Connect a dataengine. If this applet would display data where
+ //datasources would have unique names, even between sessions,
+ //you should do this in initExtenderItem, so that after a plasma
+ //restart, datasources would still get connected to the
+ //appropriate sources. Kuiserver jobs are not persistent however,
+ //so we connect them here.
+ DataEngine("kuiserver").ConnectSource(source, (QObject) item.Widget, 200);
+
+ //Show the popup for 5 seconds if in panel, so the user notices
+ //that there's a new job running.
+ ShowPopup(5000);
+ }
+ }
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdebindings-4.2.98/csharp/plasma/examples/applets/extendertutorial/metadata.desktop new/kdebindings-4.3.0/csharp/plasma/examples/applets/extendertutorial/metadata.desktop
--- old/kdebindings-4.2.98/csharp/plasma/examples/applets/extendertutorial/metadata.desktop 1970-01-01 01:00:00.000000000 +0100
+++ new/kdebindings-4.3.0/csharp/plasma/examples/applets/extendertutorial/metadata.desktop 2009-07-29 13:12:20.000000000 +0200
@@ -0,0 +1,16 @@
+[Desktop Entry]
+Name=Extender Tutorial
+Comment=An example of a Plasma PopupApplet Extender
+Type=Service
+ServiceTypes=Plasma/PopupApplet
+
+X-KDE-PluginInfo-Author=Richard Dale
+X-KDE-PluginInfo-Email=panel-devel@kde.org
+X-KDE-PluginInfo-Name=csharp-extender-tutorial
+X-KDE-PluginInfo-Version=pre0.1
+X-KDE-PluginInfo-Website=http://plasma.kde.org/
+X-KDE-PluginInfo-Category=Examples
+X-KDE-PluginInfo-Depends=
+X-KDE-PluginInfo-License=GPL
+X-KDE-PluginInfo-EnabledByDefault=true
+X-Plasma-API=mono-script
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdebindings-4.2.98/csharp/plasma/src/PlasmaScripting_Applet.cs new/kdebindings-4.3.0/csharp/plasma/src/PlasmaScripting_Applet.cs
--- old/kdebindings-4.2.98/csharp/plasma/src/PlasmaScripting_Applet.cs 2009-07-21 17:22:10.000000000 +0200
+++ new/kdebindings-4.3.0/csharp/plasma/src/PlasmaScripting_Applet.cs 2009-07-29 13:12:20.000000000 +0200
@@ -449,7 +449,7 @@
/// <short> </short>
[Q_SLOT("Plasma::Extender* extender()")]
protected Plasma.Extender Extender() {
- return (Plasma.Extender) appletType.GetMethod("Extender").Invoke(applet, null);
+ return (Plasma.Extender) appletType.GetMethod("Extender", BindingFlags.NonPublic | BindingFlags.Instance).Invoke(applet, null);
}
public Applet(AppletScript parent) : base(parent) {
Connect(applet, SIGNAL("releaseVisualFocus()"), this, SIGNAL("releaseVisualFocus()"));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdebindings-4.2.98/python/pykde4/sip/plasma/applet.sip new/kdebindings-4.3.0/python/pykde4/sip/plasma/applet.sip
--- old/kdebindings-4.2.98/python/pykde4/sip/plasma/applet.sip 2009-07-21 17:22:22.000000000 +0200
+++ new/kdebindings-4.3.0/python/pykde4/sip/plasma/applet.sip 2009-07-29 13:12:20.000000000 +0200
@@ -151,7 +151,7 @@
void activate ();
void messageButtonPressed (const Plasma::MessageButton button);
void appletDestroyed (Plasma::Applet* applet);
- void initScriptExtenderItem (Plasma::ExtenderItem* item);
+ void extenderItemRestored (Plasma::ExtenderItem* item);
public:
void setImmutability (const Plasma::ImmutabilityType immutable);
Files old/kdebindings-4.2.98/python/pykde4/tools/cmake_project/sample_project/doc/en/index.cache.bz2 and new/kdebindings-4.3.0/python/pykde4/tools/cmake_project/sample_project/doc/en/index.cache.bz2 differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdebindings-4.2.98/python/pykde4/tools/pykdeuic4/CMakeLists.txt new/kdebindings-4.3.0/python/pykde4/tools/pykdeuic4/CMakeLists.txt
--- old/kdebindings-4.2.98/python/pykde4/tools/pykdeuic4/CMakeLists.txt 2009-03-27 15:46:05.000000000 +0100
+++ new/kdebindings-4.3.0/python/pykde4/tools/pykdeuic4/CMakeLists.txt 2009-08-03 10:18:33.000000000 +0200
@@ -1,3 +1,4 @@
-
-PYTHON_INSTALL(kde4.py ${DATA_INSTALL_DIR}/${PROJECT_NAME})
-PYTHON_INSTALL(pykdeuic4.py ${DATA_INSTALL_DIR}/${PROJECT_NAME})
+PYTHON_INSTALL(kde4.py ${PYTHON_SITE_PACKAGES_DIR}/PyQt4/uic/widget-plugins/)
+PYTHON_INSTALL(pykdeuic4.py ${PYTHON_SITE_PACKAGES_DIR}/PyQt4/uic/)
+find_path(cmake_module_dir create_exe_symlink.cmake ${CMAKE_MODULE_PATH})
+INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -DTARGET=${PYTHON_SITE_PACKAGES_DIR}/PyQt4/uic/pykdeuic4.py -DLINK_NAME=${BIN_INSTALL_DIR}/pykdeuic4 -P ${cmake_module_dir}/create_exe_symlink.cmake)" )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdebindings-4.2.98/ruby/qtruby/ChangeLog new/kdebindings-4.3.0/ruby/qtruby/ChangeLog
--- old/kdebindings-4.2.98/ruby/qtruby/ChangeLog 2009-07-21 17:22:23.000000000 +0200
+++ new/kdebindings-4.3.0/ruby/qtruby/ChangeLog 2009-07-29 13:12:20.000000000 +0200
@@ -1,3 +1,7 @@
+2009-07-24 Richard Dale
+ * Replace the obsolete STR2CSTR macro with StringValueCStr to make QtRuby
+ compile with Ruby 1.9.2. Thanks to Youhei Kondou for the patch.
+
2009-07-21 Richard Dale
* Revert a commit made by 'divide' some time ago. It was a hack to allow
primitive types to be passed as arguments where the expected arg type
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdebindings-4.2.98/ruby/qtruby/src/marshall_types.cpp new/kdebindings-4.3.0/ruby/qtruby/src/marshall_types.cpp
--- old/kdebindings-4.2.98/ruby/qtruby/src/marshall_types.cpp 2009-04-15 12:25:01.000000000 +0200
+++ new/kdebindings-4.3.0/ruby/qtruby/src/marshall_types.cpp 2009-07-29 13:12:20.000000000 +0200
@@ -80,17 +80,18 @@
VALUE info = rb_gv_get("$!");
VALUE bt = rb_funcall(info, rb_intern("backtrace"), 0);
VALUE message = RARRAY_PTR(bt)[0];
+ VALUE message2 = rb_obj_as_string(info);
QString errormessage = QString("%1: %2 (%3)")
- .arg( STR2CSTR(message) )
- .arg( STR2CSTR(rb_obj_as_string(info)) )
+ .arg( StringValueCStr(message) )
+ .arg( StringValueCStr(message2) )
.arg( rb_class2name(CLASS_OF(info)) );
fprintf(stderr, "%s\n", errormessage.toLatin1().data());
QString tracemessage;
for(int i = 1; i < RARRAY_LEN(bt); ++i) {
if( TYPE(RARRAY_PTR(bt)[i]) == T_STRING ) {
- QString s = QString("%1\n").arg( STR2CSTR(RARRAY_PTR(bt)[i]) );
+ QString s = QString("%1\n").arg( StringValueCStr(RARRAY_PTR(bt)[i]) );
Q_ASSERT( ! s.isNull() );
tracemessage += s;
fprintf(stderr, "\t%s", s.toLatin1().data());
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdebindings-4.2.98/ruby/qtruby/src/qtruby.h new/kdebindings-4.3.0/ruby/qtruby/src/qtruby.h
--- old/kdebindings-4.2.98/ruby/qtruby/src/qtruby.h 2009-07-21 17:22:23.000000000 +0200
+++ new/kdebindings-4.3.0/ruby/qtruby/src/qtruby.h 2009-07-29 13:12:20.000000000 +0200
@@ -40,6 +40,9 @@
#if !defined RARRAY_PTR
#define RARRAY_PTR(a) RARRAY(a)->ptr
#endif
+#if !defined StringValueCStr
+#define StringValueCStr(s) STR2CSTR(s)
+#endif
inline bool operator==(const Smoke::ModuleIndex& a, const Smoke::ModuleIndex& b) {
if (a.index == b.index && a.smoke == b.smoke)
++++++ kdebindings4.spec.in ++++++
--- /var/tmp/diff_new_pack.fSxyMh/_old 2009-08-05 00:17:12.000000000 +0200
+++ /var/tmp/diff_new_pack.fSxyMh/_new 2009-08-05 00:17:12.000000000 +0200
@@ -1,17 +1,24 @@
#
-# spec file for package kdebindings4 (Version 4.2.0)
+# spec file for package kdebindings4 (Version 4.3.0)
#
-# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
+# Copyright (c) 2009 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
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: @NAME@
-BuildRequires: libkdepimlibs4-devel sqlite-devel libqimageblitz-devel libQtWebKit-devel libsoprano-devel kdebase4-workspace-devel
+BuildRequires: kdebase4-workspace-devel libQtWebKit-devel libkdepimlibs4-devel libqimageblitz-devel libsoprano-devel sqlite-devel
BuildRequires: @BUILDREQUIRES@
%if %suse_version > 1020
BuildRequires: libjasper-devel
@@ -21,7 +28,7 @@
License: LGPL v2.1 or later
Group: Development/Libraries/KDE
Summary: Bindings for KDE 4.x libraries
-Version: 4.2.98
+Version: 4.3.0
Release: 1
Source0: kdebindings-%version.tar.bz2
Patch0: 4_3_BRANCH.diff
@@ -221,6 +228,8 @@
%files
%defattr(-,root,root)
%_libdir/kde4/krosspython.so
+/usr/bin/pykdeuic4
+%py_sitedir/PyQt4
%py_sitedir/PyKDE4
%exclude /usr/share/kde4/apps/pykde4/examples
/usr/share/kde4/apps/pykde4
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org