Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2024-03-17 22:12:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and      /work/SRC/openSUSE:Factory/.linuxrc.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "linuxrc"

Sun Mar 17 22:12:39 2024 rev:318 rq:1158240 version:9.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2024-01-11 
21:04:47.817733938 +0100
+++ /work/SRC/openSUSE:Factory/.linuxrc.new.1905/linuxrc.changes        
2024-03-17 22:12:41.381112026 +0100
@@ -1,0 +2,7 @@
+Fri Mar 15 13:54:25 UTC 2024 - wfe...@opensuse.org
+
+- merge gh#openSUSE/linuxrc#330
+- fix width of network device dialog (bsc#1221360)
+- 9.3
+
+--------------------------------------------------------------------

Old:
----
  linuxrc-9.2.tar.xz

New:
----
  linuxrc-9.3.tar.xz

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

Other differences:
------------------
++++++ linuxrc.spec ++++++
--- /var/tmp/diff_new_pack.OUrSEO/_old  2024-03-17 22:12:42.125139117 +0100
+++ /var/tmp/diff_new_pack.OUrSEO/_new  2024-03-17 22:12:42.125139117 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           linuxrc
-Version:        9.2
+Version:        9.3
 Release:        0
 Summary:        SUSE Installation Program
 License:        GPL-3.0+

++++++ linuxrc-9.2.tar.xz -> linuxrc-9.3.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-9.2/VERSION new/linuxrc-9.3/VERSION
--- old/linuxrc-9.2/VERSION     2024-01-10 17:54:52.000000000 +0100
+++ new/linuxrc-9.3/VERSION     2024-03-15 14:54:25.000000000 +0100
@@ -1 +1 @@
-9.2
+9.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-9.2/changelog new/linuxrc-9.3/changelog
--- old/linuxrc-9.2/changelog   2024-01-10 17:54:52.000000000 +0100
+++ new/linuxrc-9.3/changelog   2024-03-15 14:54:25.000000000 +0100
@@ -1,3 +1,7 @@
+2024-03-15:    9.3
+       - merge gh#openSUSE/linuxrc#330
+       - fix width of network device dialog (bsc#1221360)
+
 2024-01-10:    9.2
        - merge gh#openSUSE/linuxrc#329
        - write /etc/locale.conf and /etc/vconsole.conf (bsc#1218621)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-9.2/dialog.c new/linuxrc-9.3/dialog.c
--- old/linuxrc-9.2/dialog.c    2024-01-10 17:54:52.000000000 +0100
+++ new/linuxrc-9.3/dialog.c    2024-03-15 14:54:25.000000000 +0100
@@ -1649,6 +1649,8 @@
 
 /*
  * returns selected item (1 based), or 0 (ESC pressed)
+ *
+ * Use width = 0 to have width automatically calculated to fit the longest 
item.
  */
 int dia_list(char *title, int width, int (*func)(int), char **items, int 
default_item, dia_align_t align)
 {
@@ -1664,6 +1666,17 @@
 
   item_list = calloc(item_cnt, sizeof *item_list);
 
+  if(width == 0) {
+    for(i = 0, it = items; *it; it++, i++) {
+      int w = strlen(*it);
+      if(w > width) width = w;
+    }
+
+    width += 1;
+    if(width < 20) width = 20;
+    if(width > max_x_ig - 6) width = max_x_ig - 6;
+  }
+
   util_create_items(item_list, item_cnt, width);
 
   if(default_item < 1 || default_item > item_cnt) default_item = 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-9.2/net.c new/linuxrc-9.3/net.c
--- old/linuxrc-9.2/net.c       2024-01-10 17:54:52.000000000 +0100
+++ new/linuxrc-9.3/net.c       2024-03-15 14:54:25.000000000 +0100
@@ -763,7 +763,7 @@
     choice = 1;
   }
   else {
-    choice = dia_list("Choose the network device.", 72, NULL, items, 
last_item, align_left);
+    choice = dia_list("Choose the network device.", 0, NULL, items, last_item, 
align_left);
     if(choice) last_item = choice;
   }
 

Reply via email to