Attaching the patch against unoconv 0.7-2.1 currently in sid
Description: Use uno.absolutize instead of unohelper.absolutize pyuno in LibreOffice 26.2 dropped unohelp.absolutize in favor of uno.absolutize to avoid duplication. Author: Sergey Romanov <[email protected]> Forwarded: not-needed Last-Update: 2026-08-03 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/unoconv +++ b/unoconv @@ -900,7 +900,8 @@ inputurl = 'private:stream' else: if os.path.exists(inputfn): - inputurl = unohelper.absolutize(self.cwd, unohelper.systemPathToFileUrl(inputfn)) + inputurl = uno.absolutize(self.cwd, unohelper.systemPathToFileUrl(inputfn)) + inputurl = uno.absolutize(self.cwd, unohelper.systemPathToFileUrl(inputfn)) else: inputurl = inputfn document = self.desktop.loadComponentFromURL( inputurl , "_blank", 0, inputprops ) @@ -914,7 +915,8 @@ if os.path.exists(op.template): info(1, "Template file: %s" % op.template) templateprops = UnoProps(OverwriteStyles=True) - templateurl = unohelper.absolutize(self.cwd, unohelper.systemPathToFileUrl(op.template)) + templateurl = uno.absolutize(self.cwd, unohelper.systemPathToFileUrl(op.template)) + templateurl = uno.absolutize(self.cwd, unohelper.systemPathToFileUrl(op.template)) document.StyleFamilies.loadStylesFromURL(templateurl, templateprops) else: print('unoconv: template file `%s\' does not exist.' % op.template, file=sys.stderr) @@ -1029,7 +1031,8 @@ else: outputfn = realpath(inbase + os.extsep + outputfmt.extension) - outputurl = unohelper.absolutize( self.cwd, unohelper.systemPathToFileUrl(outputfn) ) + outputurl = uno.absolutize( self.cwd, unohelper.systemPathToFileUrl(outputfn) ) + outputurl = uno.absolutize( self.cwd, unohelper.systemPathToFileUrl(outputfn) ) info(1, "Output file: %s" % outputurl)

