site  contact  subhomenews

More fixes convert Void pkg db to Puppy db format

September 07, 2023 — BarryK

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&gt;=2.22.1_1</string>
<string>cairo&gt;=1.8.6_1</string>
<string>cairomm&gt;=1.8.4_1</string>
<string>desktop-file-utils&gt;=0</string>
<string>fontconfig&gt;=2.6.0_1</string>
<string>freetype&gt;=2.12.1_1</string>
<string>gc&gt;=7.6.4_1</string>
<string>gdk-pixbuf&gt;=2.22.0_1</string>
<string>glib&gt;=2.76.0_1</string>
<string>glibc&gt;=2.36_1</string>
<string>glibmm&gt;=2.24.0_1</string>
<string>gsl&gt;=2.7.1_1</string>
<string>gspell&gt;=1.8.0_1</string>
<string>gtk+3&gt;=3.0.0_1</string>
<string>gtkmm&gt;=2.99.5_1</string>
<string>gtksourceview4&gt;=4.0.2_1</string>
<string>hicolor-icon-theme&gt;=0</string>
<string>lcms2&gt;=2.2_1</string>
<string>lib2geom&gt;=1.3_1</string>
<string>libX11&gt;=1.2_1</string>
<string>libboost_filesystem&gt;=1.83.0_1</string>
<string>libcdr&gt;=0.1.0_1</string>
<string>libepoxy&gt;=1.2_1</string>
<string>libgcc&gt;=4.4.0_1</string>
<string>libgomp&gt;=4.4.0_1</string>
<string>libgraphicsmagick&gt;=1.3.22_1</string>
<string>libharfbuzz&gt;=5.1.0_1</string>
<string>libjpeg-turbo&gt;=1.3.0_2</string>
<string>libpng&gt;=1.6.2_1</string>
<string>libpoppler&gt;=23.08.0_1</string>
<string>libpotrace&gt;=1.11_1</string>
<string>libreadline8&gt;=8.0_1</string>
<string>librevenge&gt;=0.0.1_1</string>
<string>libsigc++&gt;=1.1_1</string>
<string>libsoup&gt;=2.34.0_1</string>
<string>libstdc++&gt;=4.4.0_1</string>
<string>libvisio&gt;=0.1.0_1</string>
<string>libwpg&gt;=0.3.0_1</string>
<string>libxml2&gt;=2.7.0_1</string>
<string>libxslt&gt;=1.1.24_1</string>
<string>pango&gt;=1.24.0_1</string>
<string>pangomm&gt;=2.26.0_1</string>
<string>poppler-glib&gt;=0.18.2_1</string>
<string>python3-Pillow&gt;=0</string>
<string>python3-appdirs&gt;=0</string>
<string>python3-cssselect&gt;=0</string>
<string>python3-lxml&gt;=0</string>
<string>python3-numpy&gt;=0</string>
<string>python3-requests&gt;=0</string>
<string>python3-scour&gt;=0</string>
<string>zlib&gt;=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