You are not logged in.
I pretty much finished a PKGBUILD for a nice wicd theme (http://www.deviantart.com/download/1831 … 310ixo.zip).
However, I ran into the following problem: when I try to install the made package, it complains about files already existing in filesystem.
In order to counter that, I made an install file where I moved the old pixmaps out of the way in pre-install and moved them back post-remove. However, it doesn't appear to work whatsoever.
This is also my 1st PKGBUILD (so it's valuable experience right now).
I searched quite a bit but couldn't find a solution.
PKGBUILD: http://pastebin.com/hVaYUm6c
INSTALL: http://pastebin.com/psgFFDWT
Offline
Mangling the wicd-gtk files in the .INSTALL file is not the right thing to do.
If /usr/share/pixmaps/wicd is the only location that can be used, you should probably just make a wicd-gtk-faenza package that provides=(wicd-gtk) and conflicts=(wicd-gtk).
Offline
Mangling the wicd-gtk files in the .INSTALL file is not the right thing to do.
If /usr/share/pixmaps/wicd is the only location that can be used, you should probably just make a wicd-gtk-faenza package that provides=(wicd-gtk) and conflicts=(wicd-gtk).
The problem with this approach is that the package should only provide the new pixmaps for wicd-gtk. Of course, I could make a "new" wicd-gtk that would provide the theme as well, however that approach has the same kind of problems as making a gtk2-zukitwo, gtk2-atolm and like so for every gtk2 theme. A UI shouldn't really be linked to it's backend. In this case, it's the wicd devs' fault for making /usr/share/pixmaps/wicd the only usable location but I'd like to find a solution that doesn't involve redistributing the entire client.
Offline
In this case, it's the wicd devs' fault for making /usr/share/pixmaps/wicd the only usable location but I'd like to find a solution that doesn't involve redistributing the entire client.
This is the whole point. wicd-gtk was not written to be themed in a modular manner, but you're trying to force it to be.
Last edited by tdy (2013-03-09 22:05:41)
Offline