Files
graphviz/graphviz-fix-pkgIndex.patch
Thomas Renninger 736833a325 Accepting request 1281692 from home:alarrosa:branches:graphics
- Update to 12.2.1
  * Added
    - Support for building the SWIG-generated R language bindings
      has been integrated into the CMake build system. This is
      controllable by the -DENABLE_R={AUTO|ON|OFF} option.
    - A sandboxing wrapper, dot_sandbox, is now included with
      Graphviz. Users should prefer their platform’s native
      security solutions, but if nothing better is available this
      wrapper offers safe processing of untrusted inputs in some
      scenarios.
  * Changed
    - JPEG images without an APP0 leading segment are supported for
      use in src fields and friends. Previously Graphviz was overly
      strict with the types of JPEGs it would recognize. #2619
    - The CMake build system now discovers and uses
      pango_fc_font_lock_face if possible, for the Pango plugin to
      provide more information about used fonts.
  * Fixed
    - The GVPR library program depath no longer acts on previously
      deleted nodes, causing unpredictable results. #1702 (closed)
    - Void-typed function parameters (int foo(void bar)) and
      variables void baz; in GVPR are gracefully rejected.
      #2585 (closed)
    - Input that induce a set node height but no set node width no
      longer crash with the failure "Assertion failed:
      (r->boundary[i] <= r->boundary[NUMDIMS + i]), function
      RTreeInsert". It is typically not obvious to users when their
      input falls into this situation, hence why the assertion
      message is quoted here. This was a regression in Graphviz
      12.0.0. #2613 (closed)

OBS-URL: https://build.opensuse.org/request/show/1281692
OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=199
2025-06-04 18:00:50 +00:00

21 lines
634 B
Diff

#--- tclpkg/mkpkgindex.sh
#+++ tclpkg/mkpkgindex.sh
#@@ -22,4 +22,4 @@
# echo " package require Tk 8.3" >>pkgIndex.tcl
# ;;
# esac
#-echo " load [file join \$dir $lib] $2\"" >>pkgIndex.tcl
#+echo " load $lib $2\"" >>pkgIndex.tcl
--- tclpkg/mkpkgindex.py
+++ tclpkg/mkpkgindex.py
@@ -39,7 +39,7 @@
f.write(f'package ifneeded {options.name} {version} "\n')
if "tk" in str(options.file):
f.write("\tpackage require Tk 8.3\n")
- f.write(f'\tload [file join $dir {options.file}] {options.name}"\n')
+ f.write(f'\tload {options.file} {options.name}"\n')
if __name__ == "__main__":