Skip to content

Commit

Permalink
Merge from vendor branch FIX_VENDOR:
Browse files Browse the repository at this point in the history
import pidgin-libnotify, a libnotify plugin for pidgin
  • Loading branch information
jcs committed Aug 21, 2008
2 parents 38d6480 + e2414b0 commit 1e34a55
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 0 deletions.
37 changes: 37 additions & 0 deletions x11/pidgin-libnotify/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/08/21 02:30:22 jcs Exp $

SHARED_ONLY= Yes

COMMENT= pidgin plugin to display messages through libnotify

DISTNAME= pidgin-libnotify-0.13
CATEGORIES= x11

HOMEPAGE= http://gaim-libnotify.sourceforge.net/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gaim-libnotify/}

# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes

WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
Xi Xinerama Xrandr Xrender atk-1.0 cairo dbus-1 dbus-glib-1 \
expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 \
glib-2.0 glitz gmodule-2.0 gobject-2.0 gtk-x11-2.0 \
m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png \
z

MODULES= devel/gettext
LIB_DEPENDS= purple::net/pidgin \
notify.>=2::devel/libnotify

USE_X11= Yes
USE_LIBTOOL= Yes
LIBTOOL_FLAGS+= --tag=disable-static
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"

.include <bsd.port.mk>
5 changes: 5 additions & 0 deletions x11/pidgin-libnotify/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
MD5 (pidgin-libnotify-0.13.tar.gz) = y3GtyzqhFrZIAoHiEeYf2g==
RMD160 (pidgin-libnotify-0.13.tar.gz) = dbj903ofm8mX3J7WwD4gOKahk2A=
SHA1 (pidgin-libnotify-0.13.tar.gz) = 0/sDY770iqndXNM5YSVAiDb3rVk=
SHA256 (pidgin-libnotify-0.13.tar.gz) = KiqkbyP6wgK7I8Knuyl1dujkOg2sfKZ89TY+tInSRZM=
SIZE (pidgin-libnotify-0.13.tar.gz) = 356042
12 changes: 12 additions & 0 deletions x11/pidgin-libnotify/patches/patch-src_pidgin-libnotify_c
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
$OpenBSD: patch-src_pidgin-libnotify_c,v 1.1.1.1 2008/08/21 02:30:22 jcs Exp $
--- src/pidgin-libnotify.c.orig Wed Aug 20 21:05:07 2008
+++ src/pidgin-libnotify.c Wed Aug 20 21:05:30 2008
@@ -263,7 +263,7 @@ notify (const gchar *title,
contact = purple_buddy_get_contact (buddy);

if (body)
- tr_body = truncate_escape_string (body, 60);
+ tr_body = truncate_escape_string (body, 300);
else
tr_body = NULL;

7 changes: 7 additions & 0 deletions x11/pidgin-libnotify/pkg/DESCR
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
pidgin-libnotify adds a libnotify interface to pidgin, enabling
popups much like guifications. It has some configuration options,
to show popups when a buddy signs on, on new messages and on new
conversations only.

After installation, don't forget to enable the plugin in pidgin via
the Tools->Plugins menu.
15 changes: 15 additions & 0 deletions x11/pidgin-libnotify/pkg/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/08/21 02:30:22 jcs Exp $
lib/purple-2/pidgin-libnotify.la
lib/purple-2/pidgin-libnotify.so
share/locale/es/LC_MESSAGES/pidgin-libnotify.mo
share/locale/fr/LC_MESSAGES/pidgin-libnotify.mo
share/locale/gl/LC_MESSAGES/pidgin-libnotify.mo
share/locale/hu/LC_MESSAGES/pidgin-libnotify.mo
share/locale/it/LC_MESSAGES/pidgin-libnotify.mo
share/locale/nl/LC_MESSAGES/pidgin-libnotify.mo
share/locale/pl/LC_MESSAGES/pidgin-libnotify.mo
share/locale/pt/LC_MESSAGES/pidgin-libnotify.mo
share/locale/pt_BR/LC_MESSAGES/pidgin-libnotify.mo
share/locale/ro/LC_MESSAGES/pidgin-libnotify.mo
share/locale/sl/LC_MESSAGES/pidgin-libnotify.mo
share/locale/zh_CN/LC_MESSAGES/pidgin-libnotify.mo

0 comments on commit 1e34a55

Please sign in to comment.