Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Oct 2000 03:59:13 +0900 (JST)
From:      fujie@tk.elec.waseda.ac.jp
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/21823: New port: devel/glade-- 
Message-ID:  <200010071859.e97IxDE16125@fujie.tk.elec.waseda.ac.jp>

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

>Number:         21823
>Category:       ports
>Synopsis:       New port: devel/glade--
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 07 12:00:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Shinya FUJIE
>Release:        FreeBSD 4.1.1-STABLE i386
>Organization:
TK Lab, WASEDA Univ.
>Environment:

	FreeBSD washi.fujie.or.jp 4.1.1-STABLE FreeBSD 4.1.1-STABLE #0: Sun Oct  8 01:10:28 JST 2000     root@:/usr/src/sys/compile/WASHI  i386

>Description:

	glade-- is a C++ backend for glade, the GUI designer for Gtk.

>How-To-Repeat:

	

>Fix:

# 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:
#
#	/usr/ports/devel/glade--
#	/usr/ports/devel/glade--/Makefile
#	/usr/ports/devel/glade--/files
#	/usr/ports/devel/glade--/files/md5
#	/usr/ports/devel/glade--/patches
#	/usr/ports/devel/glade--/patches/patch-aa
#	/usr/ports/devel/glade--/patches/patch-ab
#	/usr/ports/devel/glade--/patches/patch-ac
#	/usr/ports/devel/glade--/pkg
#	/usr/ports/devel/glade--/pkg/COMMENT
#	/usr/ports/devel/glade--/pkg/PLIST
#	/usr/ports/devel/glade--/pkg/DESCR
#
echo c - /usr/ports/devel/glade--
mkdir -p /usr/ports/devel/glade-- > /dev/null 2>&1
echo x - /usr/ports/devel/glade--/Makefile
sed 's/^X//' >/usr/ports/devel/glade--/Makefile << 'END-of-/usr/ports/devel/glade--/Makefile'
X# New ports collection makefile for:	glade--
X# Date created:		7 Oct 2000
X# Whom:			Shinya FUJIE <fujie@tk.elec.waseda.ac.jp>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	glademm
XPORTVERSION=	0.5.9
XCATEGORIES=	devel gnome
XMASTER_SITES=   http://home.wtal.de/petig/Gtk/
X
XMAINTAINER=     fujie@tk.elec.waseda.ac.jp
X
XRUN_DEPENDS=	glade:${PORTSDIR}/devel/glade
XLIB_DEPENDS=	gtkmm.1:${PORTSDIR}/x11-toolkits/gtk--
X
XUSE_X_PREFIX=	yes
XUSE_GNOME=	yes
XUSE_LIBTOOL=	no
X
X.include <bsd.port.mk>
END-of-/usr/ports/devel/glade--/Makefile
echo c - /usr/ports/devel/glade--/files
mkdir -p /usr/ports/devel/glade--/files > /dev/null 2>&1
echo x - /usr/ports/devel/glade--/files/md5
sed 's/^X//' >/usr/ports/devel/glade--/files/md5 << 'END-of-/usr/ports/devel/glade--/files/md5'
XMD5 (glademm-0.5.9.tar.gz) = af9f95c6778a47969f6377dcae004498
END-of-/usr/ports/devel/glade--/files/md5
echo c - /usr/ports/devel/glade--/patches
mkdir -p /usr/ports/devel/glade--/patches > /dev/null 2>&1
echo x - /usr/ports/devel/glade--/patches/patch-aa
sed 's/^X//' >/usr/ports/devel/glade--/patches/patch-aa << 'END-of-/usr/ports/devel/glade--/patches/patch-aa'
X*** configure.orig	Wed Jun  7 16:49:17 2000
X--- configure	Sun Oct  8 00:06:29 2000
X***************
X*** 2065,2075 ****
X  
X  echo $ac_n "checking your gtk version""... $ac_c" 1>&6
X  echo "configure:2068: checking your gtk version" >&5
X! case `gtk-config --version` in
X    *.*.*)
X! 	GTK_MAJOR=`gtk-config --version | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
X! 	GTK_MINOR=`gtk-config --version | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
X! 	GTK_MICRO=`gtk-config --version | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
X      ;;
X    *)
X    	echo "configure: warning: Can't determine your gtk version, assuming 1.2.2" 1>&2
X--- 2065,2075 ----
X  
X  echo $ac_n "checking your gtk version""... $ac_c" 1>&6
X  echo "configure:2068: checking your gtk version" >&5
X! case `gtk12-config --version` in
X    *.*.*)
X! 	GTK_MAJOR=`gtk12-config --version | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
X! 	GTK_MINOR=`gtk12-config --version | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
X! 	GTK_MICRO=`gtk12-config --version | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
X      ;;
X    *)
X    	echo "configure: warning: Can't determine your gtk version, assuming 1.2.2" 1>&2
END-of-/usr/ports/devel/glade--/patches/patch-aa
echo x - /usr/ports/devel/glade--/patches/patch-ab
sed 's/^X//' >/usr/ports/devel/glade--/patches/patch-ab << 'END-of-/usr/ports/devel/glade--/patches/patch-ab'
X*** src/glade--.cc.orig	Sun Oct  8 01:14:15 2000
X--- src/glade--.cc	Sun Oct  8 01:14:38 2000
X***************
X*** 87,93 ****
X  
X  static void call_gtkmm_config()
X  {  char buf[80];
X!    FILE *f=popen("gtk-config --version","r");
X     if (f)
X     {  if (fgets(buf,sizeof(buf),f))
X        {  for (unsigned char *s=(unsigned char*)buf;*s;s++)
X--- 87,93 ----
X  
X  static void call_gtkmm_config()
X  {  char buf[80];
X!    FILE *f=popen("gtk12-config --version","r");
X     if (f)
X     {  if (fgets(buf,sizeof(buf),f))
X        {  for (unsigned char *s=(unsigned char*)buf;*s;s++)
X***************
X*** 96,106 ****
X           Gtk_Version v;
X           if (parse_version(buf,v))
X              Configuration.gtk_version=v;
X!          else cerr << "gtk-config --version: strange result '" << buf << "'\n";
X        }
X        pclose(f);
X     }
X!    else perror("gtk-config");
X     f=popen("gtkmm-config --version","r");
X     if (f)
X     {  if (fgets(buf,sizeof(buf),f))
X--- 96,106 ----
X           Gtk_Version v;
X           if (parse_version(buf,v))
X              Configuration.gtk_version=v;
X!          else cerr << "gtk12-config --version: strange result '" << buf << "'\n";
X        }
X        pclose(f);
X     }
X!    else perror("gtk12-config");
X     f=popen("gtkmm-config --version","r");
X     if (f)
X     {  if (fgets(buf,sizeof(buf),f))
END-of-/usr/ports/devel/glade--/patches/patch-ab
echo x - /usr/ports/devel/glade--/patches/patch-ac
sed 's/^X//' >/usr/ports/devel/glade--/patches/patch-ac << 'END-of-/usr/ports/devel/glade--/patches/patch-ac'
X*** src/Cxx.cc.orig	Sun Oct  8 01:13:59 2000
X--- src/Cxx.cc	Sun Oct  8 01:14:04 2000
X***************
X*** 538,558 ****
X  		"libtoolize --force --copy\n"
X  		"autoheader\n";
X  	if (Configuration.gnome_support)
X! 	   f << "# Search for glade\\'s gnome.m4 directory (contains gnome macros).\n"
X! 	        "# If you include gnome-common/macros in your application (recommended)\n"
X! 	        "# also replace this autogen.sh.\n"
X! 	        "if [ -r /opt/gnome/share/glade/gnome/gnome.m4 ]\n"
X!                 "then \n"
X!                 "  aclocal -I /opt/gnome/share/glade/gnome\n"
X!                 "elif [ -r /usr/local/share/glade/gnome/gnome.m4 ]\n"
X!                 "then\n"
X!                 "  aclocal -I /usr/local/share/glade/gnome\n"
X!                 "else\n"
X!                 "  echo \"Can't find glade's gnome.m4 directory (gnome macros)\"\n"
X!                 "  exit 2\n"
X!                 "fi\n";
X  	else
X! 	   f << "aclocal\n";
X  	f << 	"automake --add-missing --copy --gnu\n"
X  		"autoconf\n"
X  		"./configure $* && $MAKE\n";
X--- 538,546 ----
X  		"libtoolize --force --copy\n"
X  		"autoheader\n";
X  	if (Configuration.gnome_support)
X! 	   f << "aclocal -I /usr/X11R6/share/aclocal -I /usr/X11R6/share/glade/gnome/\n";
X  	else
X! 	   f << "aclocal -I /usr/X11R6/share/aclocal\n";
X  	f << 	"automake --add-missing --copy --gnu\n"
X  		"autoconf\n"
X  		"./configure $* && $MAKE\n";
END-of-/usr/ports/devel/glade--/patches/patch-ac
echo c - /usr/ports/devel/glade--/pkg
mkdir -p /usr/ports/devel/glade--/pkg > /dev/null 2>&1
echo x - /usr/ports/devel/glade--/pkg/COMMENT
sed 's/^X//' >/usr/ports/devel/glade--/pkg/COMMENT << 'END-of-/usr/ports/devel/glade--/pkg/COMMENT'
XA C++(GTK--) code generator for glade
END-of-/usr/ports/devel/glade--/pkg/COMMENT
echo x - /usr/ports/devel/glade--/pkg/PLIST
sed 's/^X//' >/usr/ports/devel/glade--/pkg/PLIST << 'END-of-/usr/ports/devel/glade--/pkg/PLIST'
Xbin/glade--
END-of-/usr/ports/devel/glade--/pkg/PLIST
echo x - /usr/ports/devel/glade--/pkg/DESCR
sed 's/^X//' >/usr/ports/devel/glade--/pkg/DESCR << 'END-of-/usr/ports/devel/glade--/pkg/DESCR'
Xglade-- is a C++ backend for glade, the GUI designer for Gtk. 
XThis means this program reads glade files and outputs a C++ program source
Xskeleton for you.
X
XWWW: http://home.wtal.de/petig/Gtk/index.html
END-of-/usr/ports/devel/glade--/pkg/DESCR
exit




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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010071859.e97IxDE16125>