zzag / plasma5-wallpapers-dynamic

Dynamic wallpaper plugin for KDE Plasma
332 stars 18 forks source link

Failed to uninstall via Makefile (on version 4.4.0) #117

Closed ljgonzalez1 closed 2 years ago

ljgonzalez1 commented 2 years ago

After serveral failed attempts to generate .avif (instead of the .heif) wallpapers on version 4.4.0, I decided to go back to v3.3.9. At least it worked fine for me.


I didn't found anything main site about how to uninstall (forgive me if it was and I could not found it), so I tried the basics.

# Start with a clean canvas
rm -rf ./build/*
cd ./build

# Create the Makefile
cmake ..

# Compile (don't know if I need it here, but just in case)
make

# Most common command to uninstall via Makefile
sudo make uninstall

And I get the following error:

CMake Error at ecm_uninstall.cmake:2 (message):
  Cannot find install manifest:
  .../plasma5-wallpapers-dynamic/build/install_manifest.txt

Am I doing something wrong or there's file missing somewhere, in some line? A wrong path may be?

Any ideas? Fixes? Things I'm doing wrong?


EDIT: After running tree .. -aif | egrep "install_manifest" nothing comes out, so is not a file not being copied. I think is either not being renamed or not being created.


EDIT 2: About to run a...

for THING in /usr/share/wallpapers/Dynamic \
             /usr/share/plasma/wallpapers/com.github.zzag.dynamic \
             /usr/share/metainfo/com.github.zzag.dynamic.appdata.xml \
             /usr/share/kservices5/plasma-wallpaper-com.github.zzag.dynamic.desktop \
             /usr/lib/x86_64-linux-gnu/qt5/qml/com/github/zzag/plasma/wallpapers/dynamic \
             /usr/lib/x86_64-linux-gnu/libkdynamicwallpaper.so.4.3.1 \
             /usr/lib/x86_64-linux-gnu/libkdynamicwallpaper.so.4 \
             /usr/lib/x86_64-linux-gnu/libkdynamicwallpaper.so \
             /usr/lib/x86_64-linux-gnu/cmake/KDynamicWallpaper \
             /usr/include/KDynamicWallpaper \
             /usr/lib/x86_64-linux-gnu/qt5/plugins/kpackage/packagestructure/packagestructure_dynamicwallpaper.so \
             /usr/bin/kdynamicwallpaperbuilder \
             /usr/share/bash-completion/completions/kdynamicwallpaperbuilder \
             /usr/share/fish/completions/kdynamicwallpaperbuilder.fish \
             /usr/share/zsh/site-functions/_kdynamicwallpaperbuilder \
             /usr/share/locale/de/LC_MESSAGES/plasma_wallpaper_com.github.zzag.dynamic.mo \
             /usr/share/locale/it/LC_MESSAGES/plasma_wallpaper_com.github.zzag.dynamic.mo \
             /usr/share/locale/pl/LC_MESSAGES/plasma_wallpaper_com.github.zzag.dynamic.mo \
             /usr/share/locale/pt/LC_MESSAGES/plasma_wallpaper_com.github.zzag.dynamic.mo \
             /usr/share/locale/ru/LC_MESSAGES/plasma_wallpaper_com.github.zzag.dynamic.mo \
             /usr/share/locale/uk/LC_MESSAGES/plasma_wallpaper_com.github.zzag.dynamic.mo \
             /usr/share/locale/zh/LC_MESSAGES/plasma_wallpaper_com.github.zzag.dynamic.mo ; \
    do sudo rm -rv $THING ; done

Hope I don't break my OS instalation by recklessly deleting files. 🙃

zzag commented 2 years ago

Maybe you need to run make install first then run make uninstall. Anyway, given EDIT 2, it looks like this issue can be closed.