- Remove obsolete TranslatedText
authorMichael Andres <ma@suse.de>
Fri, 1 Aug 2008 08:25:30 +0000 (08:25 +0000)
committerMichael Andres <ma@suse.de>
Fri, 1 Aug 2008 08:25:30 +0000 (08:25 +0000)
- Add ProductInfo which is going to replace Product

examples/testImports.sh [new file with mode: 0755]
package/libzypp-bindings.changes
swig/ProductInfo.i [new file with mode: 0644]
swig/TranslatedText.i [deleted file]
swig/zypp.i

diff --git a/examples/testImports.sh b/examples/testImports.sh
new file mode 100755 (executable)
index 0000000..79cb92a
--- /dev/null
@@ -0,0 +1,21 @@
+#! /bin/bash
+
+echo "====Ruby========="
+ruby <<EOF
+ require 'zypp'
+ include Zypp
+ zypp = ZYppFactory::instance.get_zypp
+EOF
+
+echo "====Python======="
+python <<EOF
+import zypp
+zypp = zypp.ZYppFactory.instance().getZYpp()
+EOF
+
+echo "====Perl========="
+perl - <<"EOF"
+  use zypp;
+  $zfactory = zyppc::ZYppFactory_instance();
+  $zypp = $zfactory->getZYpp;
+EOF
\ No newline at end of file
index 1e130e5..4879b9e 100644 (file)
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Fri Aug  1 10:23:55 CEST 2008 ma@suse.de
+
+- Remove obsolete TranslatedText
+- Add ProductInfo which is going to replace Product
+- revision 10716
+
+-------------------------------------------------------------------
 Thu Jul 31 14:25:21 CEST 2008 ma@suse.de
 
 - Work around undefined symbols in libzypp. (bnc #391831)
diff --git a/swig/ProductInfo.i b/swig/ProductInfo.i
new file mode 100644 (file)
index 0000000..9953b21
--- /dev/null
@@ -0,0 +1 @@
+%include <zypp/ProductInfo.h>
\ No newline at end of file
diff --git a/swig/TranslatedText.i b/swig/TranslatedText.i
deleted file mode 100644 (file)
index 856db5a..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-
-%include <zypp/TranslatedText.h>
\ No newline at end of file
index b9f85ea..f87d53e 100644 (file)
 
 #include <sstream>
 #include "zypp/base/PtrTypes.h"
+#include "zypp/base/ReferenceCounted.h"
 #include "zypp/Edition.h"
+#include "zypp/Pathname.h"
 #include "zypp/ResTraits.h"
 #include "zypp/ZYppFactory.h"
 #include "zypp/ZYpp.h"
-#include "zypp/Pathname.h"
-#include "zypp/base/ReferenceCounted.h"
-#include "zypp/ResObject.h"
+#include "zypp/ProductInfo.h"
+#include "zypp/ResObjects.h"
 #include "zypp/Target.h"
 #include "zypp/target/TargetImpl.h"
 #include "zypp/MediaSetAccess.h"
-#include "zypp/TranslatedText.h"
-#include "zypp/Package.h"
-#include "zypp/Patch.h"
-#include "zypp/SrcPackage.h"
-#include "zypp/Pattern.h"
-#include "zypp/Product.h"
 #include "zypp/ResFilters.h"
 #include "zypp/OnMediaLocation.h"
 #include "zypp/Repository.h"
@@ -102,33 +97,33 @@ namespace zypp {
 
 %include "IdStringType.i"
 %include "Pathname.i"
+%include "ByteCount.i"
 %include "Url.i"
-%include "ResStatus.i"
 %include "NeedAType.i"
 %include "Arch.i"
 %include "Edition.i"
 %include "Kind.i"
-%include "ResTraits.i"
+%include "CheckSum.i"
 %include "Date.i"
+%include "Dep.i"
 %include "Capability.i"
 %include "Capabilities.i"
-%include "Dep.i"
+%include "CapMatch.i"
+%include "ResTraits.i"
+%include "ResStatus.i"
 %include "Resolvable.i"
-%include "ByteCount.i"
-%include "RepoType.i"
-%include "Repository.i"
-%include "RepoInfo.i"
-%include "RepoManager.i"
-%include "RepoStatus.i"
 %include "ResObject.i"
-%include "TranslatedText.i"
-%include "CheckSum.i"
-%include "CapMatch.i"
 %include "Package.i"
 %include "Patch.i"
-%include "SrcPackage.i"
 %include "Pattern.i"
 %include "Product.i"
+%include "ProductInfo.i"
+%include "SrcPackage.i"
+%include "RepoType.i"
+%include "RepoInfo.i"
+%include "Repository.i"
+%include "RepoStatus.i"
+%include "RepoManager.i"
 %include "PublicKey.i"
 %include "KeyRing.i"
 %include "Target.i"