Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package singular for openSUSE:Factory 
checked in at 2026-11-24 12:39:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/singular (Old)
 and      /work/SRC/openSUSE:Factory/.singular.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "singular"

Tue Nov 24 12:39:46 2026 rev:8 rq:1400055 version:4.4.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/singular/singular.changes        2025-06-17 
18:21:17.771995921 +0200
+++ /work/SRC/openSUSE:Factory/.singular.new.1340718/singular.changes   
2026-11-24 12:45:59.360171906 +0100
@@ -1,0 +2,11 @@
+Mon Nov 23 12:16:43 UTC 2026 - Dominik Heidler <[email protected]>
+
+- Enhance versioned-pkglibdir.patch:
+  * Fix ProcDir (SINGULAR_PROCS_DIR) so dynamic modules like
+    p_Procs_FieldIndep.so can be located.
+  * Fall back to SINGULAR_DEFAULT_DIR and DATA_DIR for RootDir
+    and DataDir when Singular is executed from libexecdir, so
+    libraries (standard.lib), help, and index files can be found.
+  * Add DATA_DIR fallback to SearchPath for singular/LIB and factory.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.ZBdB5f/_old  2026-11-24 12:46:00.661227046 +0100
+++ /var/tmp/diff_new_pack.ZBdB5f/_new  2026-11-24 12:46:00.668227343 +0100
@@ -1,5 +1,5 @@
-mtime: 1750068823
-commit: eaf60050f65d0682c26f570b511ce85fe86639cdc39346a18a4fd5c2a0f62fa4
+mtime: 1795442830
+commit: 477f9d07887523b7e1ace118892285ed25c4adb917150c03935a148a63fc5b55
 url: https://src.opensuse.org/jengelh/singular
 revision: master
 

++++++ build.specials.obscpio ++++++

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-11-23 15:07:10.000000000 +0100
@@ -0,0 +1 @@
+.osc

++++++ versioned-pkglibdir.patch ++++++
--- /var/tmp/diff_new_pack.ZBdB5f/_old  2026-11-24 12:46:01.016242092 +0100
+++ /var/tmp/diff_new_pack.ZBdB5f/_new  2026-11-24 12:46:01.020242261 +0100
@@ -1,11 +1,23 @@
 From: Jan Engelhardt <[email protected]>
 Date: 2025-03-14 19:58:42.309411313 +0100
 
-diff --git resources/feResource.cc resources/feResource.cc
+diff --git a/resources/feResource.cc b/resources/feResource.cc
 index 0a93363fd..ccf8b9009 100644
 --- a/resources/feResource.cc
-+++ a/resources/feResource.cc
-@@ -56,7 +56,7 @@ VAR feResourceConfig_s feResourceConfigs[] =
++++ b/resources/feResource.cc
+@@ -45,9 +45,11 @@ VAR feResourceConfig_s feResourceConfigs[] =
+    "%D/singular/LIB;"
+    "%r/share/singular/LIB;"
+    "%b/../share/singular/LIB;"
++   DATA_DIR "/singular/LIB;"
+    // gftables:
+    "%D/factory;"
+    "%r/share/factory;"
++   DATA_DIR "/factory;"
+    "%b/LIB;"
+    "%b/../LIB;" // not installed, shared is in .libs/Singular
+    "%b/../factory;"
+@@ -56,7 +58,7 @@ VAR feResourceConfig_s feResourceConfigs[] =
     "%b/MOD;"
     "%b/../MOD;" // Singular in .libs/Singular
     "%r/lib/singular/MOD;"
@@ -14,4 +26,54 @@
     "%b;"
     "%b/..", // Singular in .libs/Singular
     (char *)""},
+@@ -68,7 +70,7 @@ VAR feResourceConfig_s feResourceConfigs[] =
+      "%b/../MOD;" // Singular in .libs/Singular
+      "%b/..;" // Singular in .libs/Singular, programs in .
+      "%r/lib/singular/MOD;"
+-     LIB_DIR "/singular/MOD;"   /*debian: -> /usr/lib/singular/MOD */
++     LIB_DIR "/singular-" PACKAGE_VERSION "/MOD;"   /*debian: -> 
/usr/lib/singular/MOD */
+      ,(char *)""},
+   {"RootDir",   'r',    feResDir,   "SINGULAR_ROOT_DIR",    "%b/..",          
      (char *)""},
+   {"DataDir",   'D',    feResDir,   "SINGULAR_DATA_DIR",    "%b/../share/",   
       (char *)""},
+@@ -309,6 +311,40 @@ static char* feInitResource(feResourceConfig config, int 
warn)
+       if (executable != NULL) *executable = '\0';
+     }
+   }
++  else if (config->id == 'r')
++  {
++    char test_path[MAXPATHLEN];
++    char* b = feResource('b');
++    if (b != NULL)
++    {
++      snprintf(test_path, sizeof(test_path), "%s/../share/singular", b);
++      if (access(test_path, X_OK) != 0)
++      {
++        strcpy(value, SINGULAR_DEFAULT_DIR);
++      }
++    }
++    else
++    {
++      strcpy(value, SINGULAR_DEFAULT_DIR);
++    }
++  }
++  else if (config->id == 'D')
++  {
++    char test_path[MAXPATHLEN];
++    char* b = feResource('b');
++    if (b != NULL)
++    {
++      snprintf(test_path, sizeof(test_path), "%s/../share/singular", b);
++      if (access(test_path, X_OK) != 0)
++      {
++        strcpy(value, DATA_DIR);
++      }
++    }
++    else
++    {
++      strcpy(value, DATA_DIR);
++    }
++  }
+ 
+ #ifdef RESOURCE_DEBUG
+   printf("value:%s\n", value);
 

Reply via email to