Try my patch, I made it carefully so I hope it doesn't break anything.
I also added an uninstall option to the Makefile and removed two lines I find useless. Comment whatever you think it better

MurDoK




Karel Demeyer wrote:
Hi,

COuld someone with knowledge of it change the Makefile so an icon is put
in /usr/share/pixmaps and then change the .desktop file to use this
icon ?


Karel.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel


--- Makefile.in 2006-12-11 19:57:48.000000000 +0100
+++ Makefile2.in        2006-12-11 19:57:39.000000000 +0100
@@ -159,12 +159,20 @@
        ln -sf $(dstdir)/$(PACKAGE)/amsn-remote-CLI $(slnkdir)/amsn-remote-CLI
 
        chmod -R +rx $(dstdir)/$(PACKAGE)
-       mkdir -p $(dstdir)/icons/hicolor
-       cp -R $(srcdir)/icons/* $(dstdir)/icons/hicolor
 
        mkdir -p $(dstdir)/applications
        cp $(srcdir)/amsn.desktop $(dstdir)/applications
 
+       ln -sf $(dstdir)/$(PACKAGE)/icons/32x32/msn.png $(dstdir)/pixmaps/
+
+uninstall::
+       rm -Rf $(dstdir)/$(PACKAGE)
+       rm -f $(slnkdir)/amsn
+       rm -f $(slnkdir)/amsn-remote
+       rm -f $(slnkdir)/amsn-remote-CLI
+       rm -f $(dstdir)/applications/amsn.desktop
+       rm -f $(dstdir)/pixmaps/msn.png
+
 rpm-install:: $(FILES_TO_INSTALL)
        rm -Rf $(INSTALL_PREFIX)/$(dstdir)/$(PACKAGE)
        mkdir --parents $(INSTALL_PREFIX)/$(dstdir)/$(PACKAGE)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to