From owner-freebsd-gnome@FreeBSD.ORG Sun Dec 17 19:00:13 2006 Return-Path: X-Original-To: gnome@freebsd.org Delivered-To: freebsd-gnome@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 29CB716A49E; Sun, 17 Dec 2006 19:00:13 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from centrmmtao03.cox.net (centrmmtao03.cox.net [70.168.83.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BCD443CD2; Sun, 17 Dec 2006 18:59:03 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from eastrmimpo02.cox.net ([68.1.16.120]) by centrmmtao03.cox.net (InterMail vM.6.01.06.03 201-2131-130-104-20060516) with ESMTP id <20061217185902.IIOW13993.centrmmtao03.cox.net@eastrmimpo02.cox.net>; Sun, 17 Dec 2006 13:59:02 -0500 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo02.cox.net with bizsmtp id zuxp1V00w4iy4EG0000000; Sun, 17 Dec 2006 13:57:50 -0500 Date: Sun, 17 Dec 2006 13:00:35 -0600 To: "Norikatsu Shigemura" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 References: <20061217230719.d4fdb0b0.nork@FreeBSD.org> Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <20061217230719.d4fdb0b0.nork@FreeBSD.org> User-Agent: Opera Mail/9.02 (Linux) Cc: gnome@freebsd.org Subject: Re: g2ipmsg port X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Dec 2006 19:00:13 -0000 On Sun, 17 Dec 2006 08:07:19 -0600, Norikatsu Shigemura wrote: > I make a port of g2ipmsg as GNOME2 application. But I don't > know how to make GNOME ports. Please review following shar. Have you read in http://www.freebsd.org/gnome/docs/porting.html yet? > 1. I confirmed following files updated. But I don't know > how to take care of these. > /usr/local/etc/gconf/gconf.xml.defaults/%gconf-tree.xml > /usr/local/etc/gconf/gconf.xml.defaults/%gconf-tree-ja.xml You disabled GCONF_SCHEMAS below. You need the GCONF_SCHEMAS=g2ipmsg.schemas. Before, you talk about your tinderbox or so that don't pick up full. It's known bug in gconf, marcus has added special patch in pointyhat and MC tinderbox for workaround. The gconf developers don't care about this bug, they like messy. > 2. GNOME2 dependency is too hard:-). I don't know which > dependency to USE_GNOME. Not that hard if you read in above porting.html, I think it will helping you. > # 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: > # > # g2ipmsg > # g2ipmsg/Makefile > # g2ipmsg/distinfo > # g2ipmsg/files > # g2ipmsg/files/g2ipmsg.desktop.in > # g2ipmsg/pkg-descr > # g2ipmsg/pkg-plist > # > echo c - g2ipmsg > mkdir -p g2ipmsg > /dev/null 2>&1 > echo x - g2ipmsg/Makefile > sed 's/^X//' >g2ipmsg/Makefile << 'END-of-g2ipmsg/Makefile' > X# New ports collection makefile for: g2ipmsg > X# Date created: 2006/12/17 > X# Whom: Norikatsu Shigemura > X# > X# $FreeBSD$ > X# > X > XPORTNAME= g2ipmsg > XPORTVERSION= 0.1 > XCATEGORIES= net x11 gnome > XMASTER_SITES= ${MASTER_SITE_LOCAL} > XMASTER_SITE_SUBDIR= nork > XDIST_SUBDIR= gnome2 > X > XMAINTAINER= nork@FreeBSD.org > XCOMMENT= A popup style message communication tool for GNOME2 > X > XUSE_GETTEXT= yes > XINSTALLS_OMF= yes Remove INSTALLS_OMF, you don't have any of *.omf in your plist. Above link that I have pointed you to porting.html explains about it. > XUSE_XLIB= yes > XUSE_GMAKE= yes > XUSE_GNOME= gnomeprefix gnomehack intlhack pkgconfig libgnomeui libbonobo > XUSE_GSTREAMER= vorbis > XUSE_ICONV= yes > XGNU_CONFIGURE= yes > XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ > X LDFLAGS="-L${LOCALBASE}/lib" > X > X#GCONF_SCHEMAS= g2ipmsg.schemas Why disable? > XSUB_FILES= g2ipmsg.desktop See DESKTOP_ENTRIES in bsd.port.mk. > Xpost-install: > X @${INSTALL_DATA} ${WRKDIR}/${SUB_FILES} ${PREFIX}/share/applications/ > X > X.include > END-of-g2ipmsg/Makefile > echo x - g2ipmsg/distinfo > sed 's/^X//' >g2ipmsg/distinfo << 'END-of-g2ipmsg/distinfo' > XMD5 (gnome2/g2ipmsg-0.1.tar.gz) = e608c534b40a52f9640e2463a92e27e6 > XSHA256 (gnome2/g2ipmsg-0.1.tar.gz) = > d5d12777fd1692ae996c1a40ee84e018d1b14ebd022450ba333cb418ccf85332 > XSIZE (gnome2/g2ipmsg-0.1.tar.gz) = 213162 > END-of-g2ipmsg/distinfo > echo c - g2ipmsg/files > mkdir -p g2ipmsg/files > /dev/null 2>&1 > echo x - g2ipmsg/files/g2ipmsg.desktop.in > sed 's/^X//' >g2ipmsg/files/g2ipmsg.desktop.in << > 'END-of-g2ipmsg/files/g2ipmsg.desktop.in' > X[Desktop Entry] > XEncoding=UTF-8 > XTerminal=false > XName=GNOME2 IP Messenger > XName[ja]=GNOME2 IP メッセンジャー > XComment=IP Messenger for the GNOME2 > XComment[ja]=GNOME2版IPメッセンジャー > XExec=%%PREFIX%%/bin/g2ipmsg > XTryExec=%%PREFIX%%/bin/g2ipmsg > XIcon=ipmsg.xpm > XType=Application > XCategories=GTK;Application;Utility; > END-of-g2ipmsg/files/g2ipmsg.desktop.in > echo x - g2ipmsg/pkg-descr > sed 's/^X//' >g2ipmsg/pkg-descr << 'END-of-g2ipmsg/pkg-descr' > XIP Messenger is a pop up style message communication software for > Xmulti platforms. It is based on TCP/IP(UDP). > X > X Win, Win16, Mac/MacOSX, X11R6/GTK/GNOME, Java, Div version and > Xall source is open to public. > X > XWWW: http://www.ipmsg.org/index.html.en > END-of-g2ipmsg/pkg-descr > echo x - g2ipmsg/pkg-plist > sed 's/^X//' >g2ipmsg/pkg-plist << 'END-of-g2ipmsg/pkg-plist' > Xbin/g2ipmsg > Xlibdata/bonobo/servers/g2ipmsg.server > Xshare/applications/g2ipmsg.desktop If you don't want to use DESKTOP_ENTRIES then you will need to add this: @dirrmtry share/applications I think, that's all so far from my eyes (didn't test it). Cheers, Mezz > Xshare/gnome/pixmaps/g2ipmsg/ipmsg.xpm > Xshare/gnome/pixmaps/g2ipmsg/ipmsgrev.xpm > Xshare/gnome/sounds/g2ipmsg/g2ipmsg.ogg > Xshare/locale/ja/LC_MESSAGES/g2ipmsg.mo > X@dirrm share/gnome/sounds/g2ipmsg > X@dirrm share/gnome/pixmaps/g2ipmsg > END-of-g2ipmsg/pkg-plist > exit -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src) http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org http://wiki.freebsd.org/multimedia - multimedia@FreeBSD.org