Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package bctoolbox for openSUSE:Factory 
checked in at 2021-05-18 18:26:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bctoolbox (Old)
 and      /work/SRC/openSUSE:Factory/.bctoolbox.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bctoolbox"

Tue May 18 18:26:25 2021 rev:21 rq:892977 version:4.5.15

Changes:
--------
--- /work/SRC/openSUSE:Factory/bctoolbox/bctoolbox.changes      2021-05-02 
18:35:48.541026305 +0200
+++ /work/SRC/openSUSE:Factory/.bctoolbox.new.2988/bctoolbox.changes    
2021-05-18 18:26:28.514953876 +0200
@@ -1,0 +2,6 @@
+Thu May 13 21:17:25 UTC 2021 - Ferdinand Thiessen <r...@fthiessen.de>
+
+- Update to 4.5.15
+  * No changelog available
+
+-------------------------------------------------------------------

Old:
----
  bctoolbox-4.5.10.tar.gz

New:
----
  bctoolbox-4.5.15.tar.gz

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

Other differences:
------------------
++++++ bctoolbox.spec ++++++
--- /var/tmp/diff_new_pack.UwVkXJ/_old  2021-05-18 18:26:29.062951502 +0200
+++ /var/tmp/diff_new_pack.UwVkXJ/_new  2021-05-18 18:26:29.062951502 +0200
@@ -18,7 +18,7 @@
 
 %define sover   1
 Name:           bctoolbox
-Version:        4.5.10
+Version:        4.5.15
 Release:        0
 Summary:        Utility library for software from Belledonne Communications
 License:        GPL-2.0-or-later

++++++ bctoolbox-4.5.10.tar.gz -> bctoolbox-4.5.15.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bctoolbox-4.5.10/include/bctoolbox/ios_utils.hh 
new/bctoolbox-4.5.15/include/bctoolbox/ios_utils.hh
--- old/bctoolbox-4.5.10/include/bctoolbox/ios_utils.hh 2021-03-23 
14:08:44.000000000 +0100
+++ new/bctoolbox-4.5.15/include/bctoolbox/ios_utils.hh 2021-05-10 
14:00:16.000000000 +0200
@@ -38,6 +38,7 @@
     unsigned long beginBackgroundTask(const char *name, std::function<void()> 
cb);
     void endBackgroundTask(unsigned long id);
     bool isApplicationStateActive();
+    bool isApp();
     static IOSUtils& getUtils();
     
     IOSUtils(const IOSUtils&) = delete;
@@ -47,10 +48,11 @@
 private:
     void *mHandle;
     IOSUtilsInterface *mUtils;
+    bool mIsApp;
     static std::unique_ptr<IOSUtils> sInstance;
     IOSUtils();
 
-    bool isApp();
+    
     void openDynamicLib();
     void *loadSymbol(const char *symbol);
 };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bctoolbox-4.5.10/src/utils/ios_utils.mm 
new/bctoolbox-4.5.15/src/utils/ios_utils.mm
--- old/bctoolbox-4.5.10/src/utils/ios_utils.mm 2021-03-23 14:08:44.000000000 
+0100
+++ new/bctoolbox-4.5.15/src/utils/ios_utils.mm 2021-05-10 14:00:16.000000000 
+0200
@@ -40,7 +40,8 @@
 }
 
 IOSUtils::IOSUtils() {
-    if (isApp()) {
+       mIsApp = [[[NSBundle mainBundle] bundlePath] hasSuffix:@".app"];
+    if (mIsApp) {
         openDynamicLib();
         using create_t = IOSUtilsInterface *(*)();
         auto createUtils = 
reinterpret_cast<create_t>(loadSymbol("bctbx_create_ios_utils_app"));
@@ -51,7 +52,7 @@
 }
 
 IOSUtils::~IOSUtils() {
-    if (isApp()) {
+    if (mIsApp) {
         using destroy_t = void (*)(IOSUtilsInterface *);
         auto destroyUtils = 
reinterpret_cast<destroy_t>(loadSymbol("bctbx_destroy_ios_utils_app"));
         destroyUtils(mUtils);
@@ -62,7 +63,7 @@
 }
 
 bool IOSUtils::isApp() {
-    return [[[NSBundle mainBundle] bundlePath] hasSuffix:@".app"];
+    return mIsApp;
 }
 
 void IOSUtils::openDynamicLib() {

Reply via email to