Steven Mestdagh <ste...@openbsd.org> wrote:

> hi,
> 
> please test/comment/ok.

following diff install icons.
plugin builds and works fine.  tested with friend using fb, not
another pidgin-facebookchat plugin.

ok alek@

diff -urN pidgin-facebookchat.orig/Makefile pidgin-facebookchat/Makefile
--- pidgin-facebookchat.orig/Makefile   Sat Jan  3 13:37:22 2009
+++ pidgin-facebookchat/Makefile        Sun Jan  4 18:39:32 2009
@@ -35,5 +35,10 @@
 do-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/lib/purple-2/
        ${INSTALL_DATA} ${WRKBUILD}/libfacebook.so ${PREFIX}/lib/purple-2/
+.for i in 16 22 48
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps/pidgin/protocols/${i}/
+       ${INSTALL_DATA} ${WRKSRC}/facebook${i}.png \
+               ${PREFIX}/share/pixmaps/pidgin/protocols/${i}/facebook.png
+.endfor
 
 .include <bsd.port.mk>
diff -urN pidgin-facebookchat.orig/pkg/PLIST pidgin-facebookchat/pkg/PLIST
--- pidgin-facebookchat.orig/pkg/PLIST  Sat Jan  3 13:34:53 2009
+++ pidgin-facebookchat/pkg/PLIST       Sun Jan  4 18:40:59 2009
@@ -1,2 +1,5 @@
 @comment $OpenBSD$
 lib/purple-2/libfacebook.so
+share/pixmaps/pidgin/protocols/16/facebook.png
+share/pixmaps/pidgin/protocols/22/facebook.png
+share/pixmaps/pidgin/protocols/48/facebook.png
cheers,

Reply via email to