From root@gentoo.ahze.net  Fri Jun 25 15:17:30 2004
Return-Path: <root@gentoo.ahze.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9156A16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 25 Jun 2004 15:17:30 +0000 (GMT)
Received: from gentoo.ahze.net (adsl-068-209-163-003.sip.clt.bellsouth.net [68.209.163.3])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D089C43D31
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 25 Jun 2004 15:17:29 +0000 (GMT)
	(envelope-from root@gentoo.ahze.net)
Received: by gentoo.ahze.net (Postfix, from userid 0)
	id 02BE75CD6; Fri, 25 Jun 2004 11:17:30 -0400 (EDT)
Message-Id: <20040625151730.02BE75CD6@gentoo.ahze.net>
Date: Fri, 25 Jun 2004 11:17:30 -0400 (EDT)
From: michael johnson <ahze@ahze.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [NEW PORT] devel/py-xdg: A python library to access freedesktop.org standards
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         68332
>Category:       ports
>Synopsis:       [NEW PORT] devel/py-xdg: A python library to access freedesktop.org standards
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mezz
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 25 15:20:14 GMT 2004
>Closed-Date:    Sat Jun 26 00:48:47 GMT 2004
>Last-Modified:  Sat Jun 26 00:48:47 GMT 2004
>Originator:     michael johnson
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #53: Fri Jun 11 22:50:16 EDT 2004
>Description:
A python library to access freedesktop.org standards. 

Currently supported are:
 o Base Directory Specification
 o Menu Specification
 o Desktop Entry Specification
 o Icon Theme Specification

WWW:	http://freedesktop.org/Software/pyxdg

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- py-xdg-0.5.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:
#
#	py-xdg
#	py-xdg/pkg-descr
#	py-xdg/Makefile
#	py-xdg/pkg-plist
#	py-xdg/distinfo
#	py-xdg/files
#	py-xdg/files/patch-xdg::IconTheme.py
#
echo c - py-xdg
mkdir -p py-xdg > /dev/null 2>&1
echo x - py-xdg/pkg-descr
sed 's/^X//' >py-xdg/pkg-descr << 'END-of-py-xdg/pkg-descr'
XA python library to access freedesktop.org standards. 
X
XCurrently supported are:
X o Base Directory Specification
X o Menu Specification
X o Desktop Entry Specification
X o Icon Theme Specification
X
XWWW:	http://freedesktop.org/Software/pyxdg
END-of-py-xdg/pkg-descr
echo x - py-xdg/Makefile
sed 's/^X//' >py-xdg/Makefile << 'END-of-py-xdg/Makefile'
X# New ports collection makefile for:	py-xdg
X# Date created:		2004-06-25
X# Whom:			michael johnson <ahze@ahze.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xdg
XPORTVERSION=	0.5
XCATEGORIES=	devel python
XMASTER_SITES=	http://freedesktop.org/Software/pyxdg/releases/
XPKGNAMEPREFIX=	py-
XDISTNAME=	py${PORTNAME}-${PORTVERSION}
X
XMAINTAINER=	ahze@ahze.net
XCOMMENT=	A python library to access freedesktop.org standards
X
XUSE_PYTHON=	yes
XUSE_PYDISTUTILS=yes
XUSE_REINPLACE=	yes
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|; \
X		s|/usr/share|/usr/share:${X11BASE}/share|' \
X		${WRKSRC}/xdg/BaseDirectory.py
X	@${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|' \
X			${WRKSRC}/xdg/IconTheme.py
X
X.include <bsd.port.mk>
END-of-py-xdg/Makefile
echo x - py-xdg/pkg-plist
sed 's/^X//' >py-xdg/pkg-plist << 'END-of-py-xdg/pkg-plist'
X%%PYTHON_SITELIBDIR%%/xdg/BaseDirectory.py
X%%PYTHON_SITELIBDIR%%/xdg/BaseDirectory.pyc
X%%PYTHON_SITELIBDIR%%/xdg/BaseDirectory.pyo
X%%PYTHON_SITELIBDIR%%/xdg/DesktopEntry.py
X%%PYTHON_SITELIBDIR%%/xdg/DesktopEntry.pyc
X%%PYTHON_SITELIBDIR%%/xdg/DesktopEntry.pyo
X%%PYTHON_SITELIBDIR%%/xdg/Exceptions.py
X%%PYTHON_SITELIBDIR%%/xdg/Exceptions.pyc
X%%PYTHON_SITELIBDIR%%/xdg/Exceptions.pyo
X%%PYTHON_SITELIBDIR%%/xdg/IconTheme.py
X%%PYTHON_SITELIBDIR%%/xdg/IconTheme.pyc
X%%PYTHON_SITELIBDIR%%/xdg/IconTheme.pyo
X%%PYTHON_SITELIBDIR%%/xdg/IniFile.py
X%%PYTHON_SITELIBDIR%%/xdg/IniFile.pyc
X%%PYTHON_SITELIBDIR%%/xdg/IniFile.pyo
X%%PYTHON_SITELIBDIR%%/xdg/Menu.py
X%%PYTHON_SITELIBDIR%%/xdg/Menu.pyc
X%%PYTHON_SITELIBDIR%%/xdg/Menu.pyo
X%%PYTHON_SITELIBDIR%%/xdg/__init__.py
X%%PYTHON_SITELIBDIR%%/xdg/__init__.pyc
X%%PYTHON_SITELIBDIR%%/xdg/__init__.pyo
X@dirrm %%PYTHON_SITELIBDIR%%/xdg
END-of-py-xdg/pkg-plist
echo x - py-xdg/distinfo
sed 's/^X//' >py-xdg/distinfo << 'END-of-py-xdg/distinfo'
XMD5 (pyxdg-0.5.tar.gz) = 1a399b10608027035784e80c12d1c6ff
XSIZE (pyxdg-0.5.tar.gz) = 25208
END-of-py-xdg/distinfo
echo c - py-xdg/files
mkdir -p py-xdg/files > /dev/null 2>&1
echo x - py-xdg/files/patch-xdg::IconTheme.py
sed 's/^X//' >py-xdg/files/patch-xdg::IconTheme.py << 'END-of-py-xdg/files/patch-xdg::IconTheme.py'
X--- xdg/IconTheme.py.orig	Fri Jun 25 10:57:25 2004
X+++ xdg/IconTheme.py	Fri Jun 25 11:00:15 2004
X@@ -212,7 +212,8 @@
X icondirs = []
X for basedir in xdg_data_dirs:
X 	icondirs.append(os.path.join(basedir, "icons"))
X-icondirs.append("/usr/share/pixmaps")
X+icondirs.append("%%X11BASE%%/share/gnome/pixmaps")
X+icondirs.append("%%X11BASE%%/share/icons")
X icondirs.append(os.path.expanduser("~/.icons"))
X 
X # just cache variables, they give a 10x speed improvement
END-of-py-xdg/files/patch-xdg::IconTheme.py
exit
--- py-xdg-0.5.shar ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->mezz 
Responsible-Changed-By: mezz 
Responsible-Changed-When: Fri Jun 25 17:35:54 GMT 2004 
Responsible-Changed-Why:  
I'll take this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=68332 

From: "Jeremy Messenger" <mezz7@cox.net>
To: freebsd-gnats-submit@freebsd.org, ahze@ahze.net
Cc:  
Subject: Re: ports/68332: [NEW PORT] devel/py-xdg: A python library to access freedesktop.org standards
Date: Fri, 25 Jun 2004 17:42:11 -0500

 I have made a small changes following:
 
 - Use PYTHON_PKGNAMEPREFIX in the PKGNAMEPREFIX
 - Add ${LOCALBASE}/share/icons, this is for KDE.
    KDE is living in LOCALBASE, so this is untest
    because I don't have any KDE install.
 
 New shar: http://people.freebsd.org/~mezz/shar/py-xdg.shar
 
 Let me know if you disagee with this change or whatever, after that I will  
 commit it.
 
 Cheers,
 Mezz
 
 
 -- 
 mezz7@cox.net  -  mezz@FreeBSD.org
 FreeBSD GNOME Team
 http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org

From: Michael Johnson <ahze@ahze.net>
To: "Jeremy Messenger" <mezz7@cox.net>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: ports/68332: [NEW PORT] devel/py-xdg: A python library to access freedesktop.org standards
Date: Fri, 25 Jun 2004 20:21:28 -0400

 --Apple-Mail-3-380422059
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain; charset=US-ASCII; format=flowed
 
 Yeah, looks good, I was wondering if I had all the icon directories for 
 kde.
 Thanks alot =)
 
 Michael
 
 On Jun 25, 2004, at 6:42 PM, Jeremy Messenger wrote:
 
 > I have made a small changes following:
 >
 > - Use PYTHON_PKGNAMEPREFIX in the PKGNAMEPREFIX
 > - Add ${LOCALBASE}/share/icons, this is for KDE.
 >   KDE is living in LOCALBASE, so this is untest
 >   because I don't have any KDE install.
 >
 > New shar: http://people.freebsd.org/~mezz/shar/py-xdg.shar
 >
 > Let me know if you disagee with this change or whatever, after that I 
 > will commit it.
 >
 > Cheers,
 > Mezz
 >
 >
 > -- 
 > mezz7@cox.net  -  mezz@FreeBSD.org
 > FreeBSD GNOME Team
 > http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org
 
 --Apple-Mail-3-380422059
 content-type: application/pgp-signature; x-mac-type=70674453;
 	name=PGP.sig
 content-description: This is a digitally signed message part
 content-disposition: inline; filename=PGP.sig
 content-transfer-encoding: 7bit
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.4 (Darwin)
 
 iD8DBQFA3MGItVelVDBHE5URAltFAKCMg08wEG9XxWp0bQlJnUMaBf9I/wCaAg+S
 XzB7slYPJsNZP0VN/2iqI9Y=
 =oCMO
 -----END PGP SIGNATURE-----
 
 --Apple-Mail-3-380422059--
 
State-Changed-From-To: open->closed 
State-Changed-By: mezz 
State-Changed-When: Sat Jun 26 00:48:30 GMT 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=68332 
>Unformatted:
