Date: Sun, 17 Dec 2006 13:00:35 -0600 From: "Jeremy Messenger" <mezz7@cox.net> To: "Norikatsu Shigemura" <nork@freebsd.org> Cc: gnome@freebsd.org Subject: Re: g2ipmsg port Message-ID: <op.tkpwe9qn9aq2h7@mezz.mezzweb.com> In-Reply-To: <20061217230719.d4fdb0b0.nork@FreeBSD.org> References: <20061217230719.d4fdb0b0.nork@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 17 Dec 2006 08:07:19 -0600, Norikatsu Shigemura <nork@FreeBSD.org> 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 <nork@FreeBSD.org> > 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 <bsd.port.mk> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.tkpwe9qn9aq2h7>