Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Oct 2011 21:55:03 -0500
From:      Zhihao Yuan <lichray@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/161571: New port: devel/p5-Gtk2-Notify - Perl interface to libnotify
Message-ID:  <4e97a48d.0a1c640a.7083.ffffa510@mx.google.com>
Resent-Message-ID: <201110140300.p9E30IBB031135@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         161571
>Category:       ports
>Synopsis:       New port: devel/p5-Gtk2-Notify - Perl interface to libnotify
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 14 03:00:18 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Zhihao Yuan
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
Northern Illinois University
>Environment:
System: FreeBSD elitebook.hp 8.2-STABLE FreeBSD 8.2-STABLE #2 r226329: Wed Oct 12 18:45:27 CDT 2011 lichray@elitebook.hp:/usr/obj/home/lichray/devel/freebsd-8/sys/HOUKAGO amd64


	
>Description:
	
	Port Gtk2::Notify to FreeBSD. The module itself is old, and the patch which make it works is taken from Archlinux.

	NOTE!!!
	The Perl must be built with threads to use this. But the reason that I do not detect for the threads support here is... Gtk2 should require perl-threaded! Not Gtk2-Notify. Currently, some of the p5-Gtk2 widget does not work, such as FileChooser. This needs to be fixed.
>How-To-Repeat:
	
>Fix:

	

--- p5-Gtk2-Notify.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-Gtk2-Notify
#	p5-Gtk2-Notify/files
#	p5-Gtk2-Notify/files/patch-xs_Notify.xs
#	p5-Gtk2-Notify/distinfo
#	p5-Gtk2-Notify/pkg-descr
#	p5-Gtk2-Notify/Makefile
#	p5-Gtk2-Notify/pkg-plist
#
echo c - p5-Gtk2-Notify
mkdir -p p5-Gtk2-Notify > /dev/null 2>&1
echo c - p5-Gtk2-Notify/files
mkdir -p p5-Gtk2-Notify/files > /dev/null 2>&1
echo x - p5-Gtk2-Notify/files/patch-xs_Notify.xs
sed 's/^X//' >p5-Gtk2-Notify/files/patch-xs_Notify.xs << '81e3894670ec4e822638c3ba5c475af2'
X--- /home/photon/svn/Gtk2-Notify-0.05/xs/Notify.xs	2007-10-04 14:11:13.000000000 +0200
X+++ xs/Notify.xs	2011-04-14 20:49:37.362871677 +0200
X@@ -86,13 +86,12 @@
X MODULE = Gtk2::Notify	PACKAGE = Gtk2::Notify	PREFIX = notify_notification_
X 
X NotifyNotification *
X-notify_notification_new (class, summary, body=NULL, icon=NULL, attach=NULL)
X+notify_notification_new (class, summary, body=NULL, icon=NULL)
X 		const gchar *summary
X 		const gchar *body
X 		const gchar *icon
X-		GtkWidget_ornull *attach
X 	C_ARGS:
X-		summary, body, icon, attach
X+		summary, body, icon
X 
X #if GTK_CHECK_VERSION (2, 9, 2)
X 
81e3894670ec4e822638c3ba5c475af2
echo x - p5-Gtk2-Notify/distinfo
sed 's/^X//' >p5-Gtk2-Notify/distinfo << '11b970c6fbc226bd6ebc36968d16bc35'
XSHA256 (Gtk2-Notify-0.05.tar.gz) = 88189ae68dfbd54615ad133df07e2ec8048d06d8b9586add1227d74eb2ebb047
XSIZE (Gtk2-Notify-0.05.tar.gz) = 60883
11b970c6fbc226bd6ebc36968d16bc35
echo x - p5-Gtk2-Notify/pkg-descr
sed 's/^X//' >p5-Gtk2-Notify/pkg-descr << '37180a93aae0f306bea2e328706a0384'
XGtk2::Notify provides a Perl XS API to the The Desktop Notifications
Xframework, which provides a standard way of doing passive pop-up
Xnotifications on the desktop.
X
XWWW: http://search.cpan.org/dist/Gtk2-Notify/
37180a93aae0f306bea2e328706a0384
echo x - p5-Gtk2-Notify/Makefile
sed 's/^X//' >p5-Gtk2-Notify/Makefile << 'c75fd0ac0a844cd200cc17c12bf3519e'
X# New ports collection makefile for:	p5-Gtk2-Notify
X# Date created:				2011-10-13
X# Whom:					Roman Bogorodskiy <novel@FreeBSD.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Gtk2-Notify
XPORTVERSION=	0.05
XCATEGORIES=	devel perl5
XMASTER_SITES=	CPAN
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	lichray@gmail.com
XCOMMENT=	Perl interface to libnotify
X
XLIB_DEPENDS=	notify.4:${PORTSDIR}/devel/libnotify
XBUILD_DEPENDS=	p5-Gtk2>=1.2:${PORTSDIR}/x11-toolkits/p5-Gtk2
X
XPERL_CONFIGURE=	yes
X
XMAN3=	Gtk2::Notify.3 Gtk2::Notify::index.3
X
X.include <bsd.port.mk>
c75fd0ac0a844cd200cc17c12bf3519e
echo x - p5-Gtk2-Notify/pkg-plist
sed 's/^X//' >p5-Gtk2-Notify/pkg-plist << 'b8fcb2341f9823e90e195d79c4bd721a'
X%%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/Notify.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/Notify.pod
X%%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/Notify/Install/Files.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/Notify/Install/notify-autogen.h
X%%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/Notify/Install/notify.typemap
X%%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/Notify/index.pod
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Gtk2/Notify/.packlist
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Gtk2/Notify/Notify.bs
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Gtk2/Notify/Notify.so
X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Gtk2/Notify
X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/Notify/Install
X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Gtk2/Notify
b8fcb2341f9823e90e195d79c4bd721a
exit
--- p5-Gtk2-Notify.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4e97a48d.0a1c640a.7083.ffffa510>