More fixes convert Void pkg db to Puppy db format
Previous blog post:
https://bkhome.org/news/202309/fix-convert-void-pkg-db-to-puppy-db-format.html
I have fixed a couple of bugs in support/void/cvt.sh script:
https://github.com/bkauler/woofq/commit/107c337089a942b046ec1baa124f1da9b3153279
The Void index.plist package db file may have xml keys like this example for inkscape:
<string>inkscape-1.3_3</string>
<key>run_depends</key>
<array>
<string>atkmm>=2.22.1_1</string>
<string>cairo>=1.8.6_1</string>
<string>cairomm>=1.8.4_1</string>
<string>desktop-file-utils>=0</string>
<string>fontconfig>=2.6.0_1</string>
<string>freetype>=2.12.1_1</string>
<string>gc>=7.6.4_1</string>
<string>gdk-pixbuf>=2.22.0_1</string>
<string>glib>=2.76.0_1</string>
<string>glibc>=2.36_1</string>
<string>glibmm>=2.24.0_1</string>
<string>gsl>=2.7.1_1</string>
<string>gspell>=1.8.0_1</string>
<string>gtk+3>=3.0.0_1</string>
<string>gtkmm>=2.99.5_1</string>
<string>gtksourceview4>=4.0.2_1</string>
<string>hicolor-icon-theme>=0</string>
<string>lcms2>=2.2_1</string>
<string>lib2geom>=1.3_1</string>
<string>libX11>=1.2_1</string>
<string>libboost_filesystem>=1.83.0_1</string>
<string>libcdr>=0.1.0_1</string>
<string>libepoxy>=1.2_1</string>
<string>libgcc>=4.4.0_1</string>
<string>libgomp>=4.4.0_1</string>
<string>libgraphicsmagick>=1.3.22_1</string>
<string>libharfbuzz>=5.1.0_1</string>
<string>libjpeg-turbo>=1.3.0_2</string>
<string>libpng>=1.6.2_1</string>
<string>libpoppler>=23.08.0_1</string>
<string>libpotrace>=1.11_1</string>
<string>libreadline8>=8.0_1</string>
<string>librevenge>=0.0.1_1</string>
<string>libsigc++>=1.1_1</string>
<string>libsoup>=2.34.0_1</string>
<string>libstdc++>=4.4.0_1</string>
<string>libvisio>=0.1.0_1</string>
<string>libwpg>=0.3.0_1</string>
<string>libxml2>=2.7.0_1</string>
<string>libxslt>=1.1.24_1</string>
<string>pango>=1.24.0_1</string>
<string>pangomm>=2.26.0_1</string>
<string>poppler-glib>=0.18.2_1</string>
<string>python3-Pillow>=0</string>
<string>python3-appdirs>=0</string>
<string>python3-cssselect>=0</string>
<string>python3-lxml>=0</string>
<string>python3-numpy>=0</string>
<string>python3-requests>=0</string>
<string>python3-scour>=0</string>
<string>zlib>=1.2.3_1</string>
</array>
<key>shlib-provides</key>
<array>
<string>libinkscape_base.so.1.3.0.0</string>
</array>
<key>shlib-requires</key>
<array>
<string>ld-linux-x86-64.so.2</string>
<string>lib2geom.so.1.3.0</string>
<string>libGraphicsMagick++.so.12</string>
<string>libX11.so.6</string>
<string>libatkmm-1.6.so.1</string>
<string>libboost_filesystem.so.1.83.0</string>
<string>libc.so.6</string>
<string>libcairo-gobject.so.2</string>
<string>libcairo.so.2</string>
<string>libcairomm-1.0.so.1</string>
<string>libcdr-0.1.so.1</string>
<string>libepoxy.so.0</string>
<string>libfontconfig.so.1</string>
<string>libfreetype.so.6</string>
<string>libgc.so.1</string>
<string>libgcc_s.so.1</string>
<string>libgdk-3.so.0</string>
<string>libgdk_pixbuf-2.0.so.0</string>
<string>libgdkmm-3.0.so.1</string>
<string>libgio-2.0.so.0</string>
<string>libgiomm-2.4.so.1</string>
<string>libglib-2.0.so.0</string>
<string>libglibmm-2.4.so.1</string>
<string>libgmodule-2.0.so.0</string>
<string>libgobject-2.0.so.0</string>
<string>libgomp.so.1</string>
<string>libgsl.so.27</string>
<string>libgslcblas.so.0</string>
<string>libgspell-1.so.2</string>
<string>libgtk-3.so.0</string>
<string>libgtkmm-3.0.so.1</string>
<string>libgtksourceview-4.so.0</string>
<string>libharfbuzz.so.0</string>
<string>libjpeg.so.8</string>
<string>liblcms2.so.2</string>
<string>libm.so.6</string>
<string>libpango-1.0.so.0</string>
<string>libpangocairo-1.0.so.0</string>
<string>libpangoft2-1.0.so.0</string>
<string>libpangomm-1.4.so.1</string>
<string>libpng16.so.16</string>
<string>libpoppler-glib.so.8</string>
<string>libpoppler.so.130</string>
<string>libpotrace.so.0</string>
<string>libreadline.so.8</string>
<string>librevenge-0.0.so.0</string>
<string>librevenge-stream-0.0.so.0</string>
<string>libsigc-2.0.so.0</string>
<string>libsoup-2.4.so.1</string>
<string>libstdc++.so.6</string>
<string>libvisio-0.1.so.1</string>
<string>libwpg-0.3.so.3</string>
<string>libxml2.so.2</string>
<string>libxslt.so.1</string>
<string>libz.so.1</string>
</array>
The 'cvt.sh' in Woof-CE is putting the items in "run_depends", "shlib-provides" and "shlib-requires" into the Puppy db dependencies field. It should just be the "run_depends" items.
Also, I have modified 'cvt.sh' to put the correct value into the release-number field. For example:
inkscape-1.3_3|inkscape|1.3|3|Uncategorized|27691K|current|inkscape-1.3_3.x86_64.xbps|\
+atkmm,+cairo,+cairomm,+desktop-file-utils,+fontconfig,+freetype,+gc,+gdk-pixbuf,+glib,\
+glibc,+glibmm,+gsl,+gspell,+gtk+3,+gtkmm,+gtksourceview4,+hicolor-icon-theme,+lcms2,+lib2geom,\
+libX11,+libboost_filesystem,+libcdr,+libepoxy,+libgcc,+libgomp,+libgraphicsmagick,+libharfbuzz,\
+libjpeg-turbo,+libpng,+libpoppler,+libpotrace,+libreadline8,+librevenge,+libsigc++,+libsoup,\
+libstdc++,+libvisio,+libwpg,+libxml2,+libxslt,+pango,+pangomm,+poppler-glib,+python3-Pillow,\
+python3-appdirs,+python3-cssselect,+python3-lxml,+python3-numpy,+python3-requests,+python3-scour,\
+zlib|Vector-based drawing program|void|current||
Note, the "Uncategorized" field is processed afterward, see here, scroll down to line 687:
https://github.com/bkauler/woofq/blob/main/easyos/easy-code/0setup
Discussion is in this forum thread:
https://forum.puppylinux.com/viewtopic.php?t=9482
Tags: easy