I'm using fields 2 (the package), 3 (the version) and 9 (the dependencies). The filter is actually on field 1:
which is the package name then a dash and then the version. The "^" matches the beginning of the line and the "-i" means "ignore case" so this filters for packages starting with "x11" but wouldn't capture libx11. If we wanted to capture libx11 we could do something like:
in which case the package name can have x11 in any position. The "-e" option means to used extended regular expressions which might be relevant in this case. As an alternative to filtering by the package name we might want to filter by the package file name. This is likely a better strategy for user-installed-packages, since for these packages the naming of the file list appears to follow the package file name. In this case we might want to try something like this:
Code: Select all
xserver-xorg-core_1.20.9-2ubuntu1_i386.deb|+xserver-common&ge1.20.9,+keyboard-configuration,+udev&ge149,+libegl1,+libaudit1&ge2.2.1,+libbsd0&ge0.7.0,+libc6&ge2.32,+libdbus-1-3&ge1.9.14,+libdrm2&ge2.4.66,+libepoxy0&ge1.5.4,+libgbm1&ge17.1.0,+libgcrypt20&ge1.8.0,+libgl1,+libpciaccess0&ge0.12.902,+libpixman-1-0&ge0.30.0,+libselinux1&ge3.1,+libsystemd0,+libudev1&ge183,+libunwind8,+libxau6,+libxdmcp6,+libxfont2&ge2.0.1,+libxshmfence1
xserver-xorg-dev_1.20.9-2ubuntu1_i386.deb|+libpixman-1-dev&ge0.27.2,+x11proto-dev&ge2018.4,+libxfont-dev,+libxkbfile-dev,+libpciaccess-dev,+mesa-common-dev
xserver-xorg-input-aiptek_1.4.1-2+b1_i386.deb|+libc6&ge2.4,+xserver-xorg-core&ge1.18.99.901
xserver-xorg-input-all_7.7+21_i386.deb|+xserver-xorg-input-libinput
xserver-xorg-input-elographics_1.4.1-1+b5_i386.deb|+libc6&ge2.3,+xserver-xorg-core&ge1.18.99.901
xserver-xorg-input-evdev-dev_2.10.6-2_all.deb|
xserver-xorg-input-evdev_2.10.6-2_i386.deb|+libc6&ge2.7,+libevdev2&ge1.2.2+dfsg-1,+libmtdev1&ge1.1.0,+libudev1&ge183,+xserver-xorg-core&ge1.18.99.901
xserver-xorg-input-joystick-dev_1.6.3-1build1_all.deb|
xserver-xorg-input-joystick_1.6.3-1+b1_i386.deb|+libc6&ge2.7,+xserver-xorg-core&ge1.18.99.901
xserver-xorg-input-libinput-dev_0.30.0-1_all.deb|
xserver-xorg-input-libinput_0.30.0-1_i386.deb|+libc6&ge2.7,+libinput10&ge1.15.1,+xserver-xorg-core&ge1.18.99.901
xserver-xorg-input-mtrack_0.3.1-1+b3_i386.deb|+libc6&ge2.4,+libmtdev1&ge1.0.10,+xserver-xorg-core&ge1.18.99.901
xserver-xorg-input-mutouch_1.3.0-1+b7_i386.deb|+libc6&ge2.7,+xserver-xorg-core&ge1.18.99.901
xserver-xorg-input-synaptics-dev_1.9.1-1ubuntu3_all.deb|+x11proto-core-dev
xserver-xorg-input-synaptics_1.9.1-2_i386.deb|+libc6&ge2.15,+libevdev2&ge1.3,+libx11-6,+libxi6&ge1.2.0,+libxtst6,+xserver-xorg-core&ge1.18.99.901
xserver-xorg-input-void_1.4.1-1+b2_i386.deb|+libc6&ge2.4,+xserver-xorg-core&ge1.18.99.901
xserver-xorg-input-wacom_0.34.99.1-1_i386.deb|+xserver-xorg-core&ge1.18.99.901,+libc6&ge2.3,+libudev1&ge183,+libx11-6,+libxext6,+libxi6&ge1.2.0,+libxinerama1,+libxrandr2&ge1.2.0
xserver-xorg-input-xwiimote_0.5-1+b3_i386.deb|+libc6&ge2.7,+libudev1&ge183,+libxwiimote2&ge2,+xserver-xorg-core&ge1.18.99.901
xserver-xorg-video-all_7.7+21_i386.deb|+xserver-xorg-video-amdgpu,+xserver-xorg-video-ati,+xserver-xorg-video-fbdev,+xserver-xorg-video-nouveau,+xserver-xorg-video-vesa,+xserver-xorg-video-vmware
xserver-xorg-video-amdgpu_19.1.0-1_i386.deb|+libc6&ge2.17,+libdrm-amdgpu1&ge2.4.73,+libgbm1&ge8.1,+libudev1&ge183,+xserver-xorg-core&ge1.18.99.901
xserver-xorg-video-ati_19.1.0-1_i386.deb|+libc6&ge2.4,+libpciaccess0,+xserver-xorg-core&ge1.18.99.901,+xserver-xorg-video-radeon
xserver-xorg-video-dummy_0.3.8-1+b1_i386.deb|+libc6&ge2.4,+xserver-xorg-core&ge1.18.99.901
xserver-xorg-video-fbdev_0.5.0-1_i386.deb|+libc6&ge2.1.3,+xserver-xorg-core&ge1.18.99.901
xserver-xorg-video-intel_2.99.917+git20200714-1_i386.deb|+libc6&ge2.29,+libdrm-intel1&ge2.4.38,+libdrm2&ge2.4.62,+libpciaccess0&ge0.8.0+git20071002,+libpixman-1-0&ge0.30.0,+libudev1&ge183,+libx11-6,+libx11-xcb1&ge1.6.9,+libxcb-dri2-0,+libxcb-util0&ge0.3.8,+libxcb1,+libxcursor1>1.1.2,+libxdamage1&ge1.1,+libxext6,+libxfixes3,+libxinerama1,+libxrandr2&ge1.2.99.2,+libxrender1,+libxss1,+libxtst6,+libxvmc1&ge1.0.12,+xserver-xorg-core&ge1.18.99.901
xserver-xorg-video-mach64_6.9.6-1_i386.deb|+libc6&ge2.4,+xserver-xorg-core&ge1.18.99.901
xserver-xorg-video-neomagic_1.3.0-1_i386.deb|+libc6&ge2.4,+xserver-xorg-core&ge1.18.99.901
xserver-xorg-video-nouveau_1.0.16-1_i386.deb|+libc6&ge2.4,+libdrm-nouveau2&ge2.4.38,+libdrm2&ge2.4.61,+libudev1&ge183,+xserver-xorg-core&ge1.18.99.901
xserver-xorg-video-openchrome_0.6.0-4_i386.deb|+libc6&ge2.4,+libdrm2&ge2.3.1,+libx11-6&ge1.4.99.1,+libxext6,+libxvmc1&ge1.0.12,+xserver-xorg-core&ge1.18.99.901
xserver-xorg-video-qxl_0.1.5+git20200331-1_i386.deb|+libc6&ge2.4,+libudev1&ge183,+xserver-xorg-core&ge1.18.99.901
xserver-xorg-video-r128_6.12.0-1_i386.deb|+libc6&ge2.4,+xserver-xorg-core&ge1.18.99.901
xserver-xorg-video-radeon_19.1.0-1_i386.deb|+libc6&ge2.17,+libdrm-radeon1&ge2.4.39,+libgbm1&ge8.1,+libudev1&ge183,+xserver-xorg-core&ge1.18.99.901
xserver-xorg-video-savage_2.3.9-2_i386.deb|+libc6&ge2.4,+xserver-xorg-core&ge1.18.99.901
xserver-xorg-video-siliconmotion_1.7.9-2+b1_i386.deb|+libc6&ge2.7,+xserver-xorg-core&ge1.18.99.901
xserver-xorg-video-sisusb_0.9.7-1+b1_i386.deb|+libc6&ge2.7,+xserver-xorg-core&ge1.18.99.901
xserver-xorg-video-tdfx_1.4.7-1+b1_i386.deb|+libc6&ge2.4,+xserver-xorg-core&ge1.18.99.901
xserver-xorg-video-trident_1.3.8-1+b1_i386.deb|+libc6&ge2.7,+xserver-xorg-core&ge1.18.99.901
xserver-xorg-video-vesa_2.5.0-1_i386.deb|+libc6&ge2.4,+xserver-xorg-core&ge1.18.99.901
xserver-xorg-video-vmware_13.3.0-3_i386.deb|+libc6&ge2.28,+libdrm2&ge2.4.60,+libudev1&ge183,+libx11-6&ge1.4.99.1,+libxatracker2&ge11.1.0,+libxext6,+xserver-xorg-core&ge1.18.99.901
xserver-xorg_7.7+21_i386.deb|+xserver-xorg-core&ge1.17.2-2,+xserver-xorg-video-all,+xserver-xorg-input-all,+xkb-data&ge1.4,+x11-xkb-utils
However, in upupuGG+D these are the ubuntu equivalents of these packages. Puppy appears to actually only use three Xorg packages, which are likely consolated and trimmed down versions of the above. We observe this with the following command:
I think specifically for these "xorg" packages it likely makes sense to only include the libs that you need but for other backages there may be other files that you want to include.