Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Oct 2000 02:18:05 +0200 (CEST)
From:      bas@bsltwr.demon.nl
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/21664: Port of gmail
Message-ID:  <200010010018.e910I5145346@unseen.lokaal>

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

>Number:         21664
>Category:       ports
>Synopsis:       port of gmail gnome email-client
>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 Sep 30 17:20:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     S. Kruit
>Release:        FreeBSD 4.1.1-STABLE i386
>Organization:
Basil's Tower Information system
>Environment:

FreeBSD 4.1 with XFree86, Gnome and a MySQL, pop3 and smtp server

>Description:

	

>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:
#
#	gmail
#	gmail/pkg
#	gmail/pkg/COMMENT
#	gmail/pkg/DESCR
#	gmail/pkg/PLIST
#	gmail/patches
#	gmail/patches/patch-aa
#	gmail/patches/patch-ab
#	gmail/files
#	gmail/files/md5
#	gmail/Makefile
#
echo c - gmail
mkdir -p gmail > /dev/null 2>&1
echo c - gmail/pkg
mkdir -p gmail/pkg > /dev/null 2>&1
echo x - gmail/pkg/COMMENT
sed 's/^X//' >gmail/pkg/COMMENT << 'END-of-gmail/pkg/COMMENT'
XA light, functional email client for Gnome using MySql
END-of-gmail/pkg/COMMENT
echo x - gmail/pkg/DESCR
sed 's/^X//' >gmail/pkg/DESCR << 'END-of-gmail/pkg/DESCR'
XName:           Gmail
XAuthor:         k_wayne@linuxpower.org
XDescription:    A light, functional email client for Gnome.
XWebsite:        http://gmail.linuxpower.org
X
XGmail is an experimental sql based vfolder email system. 
X
XIt has the following features: 
X
Xincoming POP3 
Xoutgoing SMTP 
X
XUses a Mysql database as the datastore. This makes gmail very fast 
Xfor large volumes of email. The idea is that you keep all your mail
Xin one big folder and approach it from different views (querys).
XIt is a powerful way of approaching email management. 
X
XTwo pane mode or Netscape style three pane mode. 
XDrag'n'drop from gnomecard addressbook. 
XMbox export, import available through POP3. 
XSound events, configurable through the Gnome control centre. 
XUses libglade for the major widgets, 
XPrinting via Gnome-Print 
XOutgoing MIME attachment support. (MIME decoding is not stable yet).
END-of-gmail/pkg/DESCR
echo x - gmail/pkg/PLIST
sed 's/^X//' >gmail/pkg/PLIST << 'END-of-gmail/pkg/PLIST'
Xbin/gmail
Xetc/sound/events/gmail.soundlist
Xshare/gnome/help/gmail/C/index.html
Xshare/gnome/help/gmail/C/topic.dat
Xshare/gnome/help/gmail/C/addressbook.html
Xshare/gnome/help/gmail/C/advanced.html
Xshare/gnome/help/gmail/C/authors.html
Xshare/gnome/help/gmail/C/caching.html
Xshare/gnome/help/gmail/C/features.html
Xshare/gnome/help/gmail/C/feedback.html
Xshare/gnome/help/gmail/C/fields.html
Xshare/gnome/help/gmail/C/forwardingemail.html
Xshare/gnome/help/gmail/C/how.html
Xshare/gnome/help/gmail/C/introduction.html
Xshare/gnome/help/gmail/C/ln15.html
Xshare/gnome/help/gmail/C/replyingtoemail.html
Xshare/gnome/help/gmail/C/sendingemail.html
Xshare/gnome/help/gmail/C/tricks.html
Xshare/gnome/help/gmail/C/tuning.html
Xshare/gnome/help/gmail/C/using.html
Xshare/gnome/help/gmail/C/vfolder.html
Xshare/gnome/help/gmail/C/works.html
Xshare/gnome/help/gmail/C/docbook.css
Xshare/gnome/apps/Internet/gmail.desktop
Xshare/gmail/0.5.6/glade/message.glade
Xshare/gmail/0.5.6/glade/compose.glade
X@dirrm share/gmail/0.5.6/glade/
X@dirrm share/gmail/0.5.6
X@dirrm share/gmail
X@dirrm share/gnome/help/gmail/C
X@dirrm share/gnome/help/gmail
END-of-gmail/pkg/PLIST
echo c - gmail/patches
mkdir -p gmail/patches > /dev/null 2>&1
echo x - gmail/patches/patch-aa
sed 's/^X//' >gmail/patches/patch-aa << 'END-of-gmail/patches/patch-aa'
X--- configure	Tue Aug 29 09:03:09 2000
X+++ configure.orig	Fri Sep 29 06:52:11 2000
X@@ -2128,18 +2128,18 @@
X   if test x$gtk_config_exec_prefix != x ; then
X      gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
X      if test x${GTK_CONFIG+set} != xset ; then
X-        GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
X+        GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk12-config
X      fi
X   fi
X   if test x$gtk_config_prefix != x ; then
X      gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
X      if test x${GTK_CONFIG+set} != xset ; then
X-        GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
X+        GTK_CONFIG=$gtk_config_prefix/bin/gtk12-config
X      fi
X   fi
X 
X-  # Extract the first word of "gtk-config", so it can be a program name with args.
X-set dummy gtk-config; ac_word=$2
X+  # Extract the first word of "gtk12-config", so it can be a program name with args.
X+set dummy gtk12-config; ac_word=$2
X echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
X echo "configure:2145: checking for $ac_word" >&5
X if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
X@@ -2225,16 +2225,16 @@
X       (gtk_minor_version != $gtk_config_minor_version) ||
X       (gtk_micro_version != $gtk_config_micro_version))
X     {
X-      printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", 
X+      printf("\n*** 'gtk12-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", 
X              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
X              gtk_major_version, gtk_minor_version, gtk_micro_version);
X-      printf ("*** was found! If gtk-config was correct, then it is best\n");
X+      printf ("*** was found! If gtk12-config was correct, then it is best\n");
X       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
X       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
X       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
X       printf("*** required on your system.\n");
X-      printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
X-      printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
X+      printf("*** If gtk12-config was wrong, set the environment variable GTK_CONFIG\n");
X+      printf("*** to point to the correct copy of gtk12-config, and remove the file config.cache\n");
X       printf("*** before re-running configure\n");
X     } 
X #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
X@@ -2265,10 +2265,10 @@
X         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
X         printf("***\n");
X         printf("*** If you have already installed a sufficiently new version, this error\n");
X-        printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
X+        printf("*** probably means that the wrong copy of the gtk12-config shell script is\n");
X         printf("*** being found. The easiest way to fix this is to remove the old version\n");
X         printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
X-        printf("*** correct copy of gtk-config. (In this case, you will have to\n");
X+        printf("*** correct copy of gtkconfig. (In this case, you will have to\n");
X         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
X         printf("*** so that the correct libraries are found at run-time))\n");
X       }
X@@ -2299,10 +2299,10 @@
X   else
X      echo "$ac_t""no" 1>&6
X      if test "$GTK_CONFIG" = "no" ; then
X-       echo "*** The gtk-config script installed by GTK could not be found"
X+       echo "*** The gtkconfig script installed by GTK could not be found"
X        echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
X        echo "*** your path, or set the GTK_CONFIG environment variable to the"
X-       echo "*** full path to gtk-config."
X+       echo "*** full path to gtkconfig."
X      else
X        if test -f conf.gtktest ; then
X         :
X@@ -2344,7 +2344,7 @@
X    echo "*** The test program failed to compile or link. See the file config.log for the"
X           echo "*** exact error that occured. This usually means GTK was incorrectly installed"
X           echo "*** or that you have moved GTK since it was installed. In the latter case, you"
X-          echo "*** may want to edit the gtk-config script: $GTK_CONFIG" 
X+          echo "*** may want to edit the gtkconfig script: $GTK_CONFIG" 
X fi
X rm -f conftest*
X           CFLAGS="$ac_save_CFLAGS"
END-of-gmail/patches/patch-aa
echo x - gmail/patches/patch-ab
sed 's/^X//' >gmail/patches/patch-ab << 'END-of-gmail/patches/patch-ab'
X--- src/Makefile.in	Tue Aug 29 09:20:42 2000
X+++ src/Makefile.in.orig	Fri Sep 29 06:52:33 2000
X@@ -85,6 +85,8 @@
X VERSION = @VERSION@
X XPM_LIBS = @XPM_LIBS@
X ZVT_LIBS = @ZVT_LIBS@
X+EXTRA_BSD_LIBS = -lglade -lglade-gnome -lxml -lgnomeprint
X+
X cflags_set = @cflags_set@
X cxxflags_set = @cxxflags_set@
X gmail_datadir = @gmail_datadir@
X@@ -102,7 +104,7 @@
X gmail_SOURCES = outgoing.c 				checkmail.c 				settings.c 				mblist.c 				pop3.c 				mysql.c 				setup.c 				matching.c 				mime.c 				print.c 				main.c
X 
X 
X-gmail_LDADD = $(GNOME_LIBDIR) $(GNOMEUI_LIBS) $(EXTRA_GNOME_LIBS)
X+gmail_LDADD = $(GNOME_LIBDIR) $(GNOMEUI_LIBS) $(EXTRA_GNOME_LIBS) ${EXTRA_BSD_LIBS}
X 
X noinst_HEADERS = main.h smtp.h
X mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
X@@ -129,8 +131,11 @@
X 
X DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
X 
X-TAR = gtar
X+TAR = tar
X GZIP_ENV = --best
X+DEP_FILES =  .deps/checkmail.P .deps/main.P .deps/matching.P \
X+.deps/mblist.P .deps/mime.P .deps/mysql.P .deps/outgoing.P .deps/pop3.P \
X+.deps/print.P .deps/settings.P .deps/setup.P
X SOURCES = $(gmail_SOURCES)
X OBJECTS = $(gmail_OBJECTS)
X 
X@@ -138,9 +143,9 @@
X .SUFFIXES:
X .SUFFIXES: .S .c .o .s
X $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
X-	cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/Makefile
X+	cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile
X 
X-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
X+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
X 	cd $(top_builddir) \
X 	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
X 
X@@ -170,9 +175,6 @@
X 	  rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
X 	done
X 
X-.c.o:
X-	$(COMPILE) -c $<
X-
X .s.o:
X 	$(COMPILE) -c $<
X 
X@@ -227,6 +229,11 @@
X subdir = src
X 
X distdir: $(DISTFILES)
X+	here=`cd $(top_builddir) && pwd`; \
X+	top_distdir=`cd $(top_distdir) && pwd`; \
X+	distdir=`cd $(distdir) && pwd`; \
X+	cd $(top_srcdir) \
X+	  && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/Makefile
X 	@for file in $(DISTFILES); do \
X 	  d=$(srcdir); \
X 	  if test -d $$d/$$file; then \
X@@ -237,18 +244,38 @@
X 	    || cp -p $$d/$$file $(distdir)/$$file || :; \
X 	  fi; \
X 	done
X-checkmail.o: checkmail.c main.h
X-main.o: main.c main.h
X-matching.o: matching.c main.h
X-mblist.o: mblist.c main.h
X-mime.o: mime.c main.h
X-mysql.o: mysql.c main.h
X-outgoing.o: outgoing.c main.h smtp.h
X-pop3.o: pop3.c main.h
X-print.o: print.c main.h
X-settings.o: settings.c main.h
X-setup.o: setup.c main.h
X 
X+DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
X+
X+-include $(DEP_FILES)
X+
X+mostlyclean-depend:
X+
X+clean-depend:
X+
X+distclean-depend:
X+	-rm -rf .deps
X+
X+maintainer-clean-depend:
X+
X+%.o: %.c
X+	@echo '$(COMPILE) -c $<'; \
X+	$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
X+	@-cp .deps/$(*F).pp .deps/$(*F).P; \
X+	tr ' ' '\012' < .deps/$(*F).pp \
X+	  | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
X+	    >> .deps/$(*F).P; \
X+	rm .deps/$(*F).pp
X+
X+%.lo: %.c
X+	@echo '$(LTCOMPILE) -c $<'; \
X+	$(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
X+	@-sed -e 's/^\([^:]*\)\.o[ 	]*:/\1.lo \1.o :/' \
X+	  < .deps/$(*F).pp > .deps/$(*F).P; \
X+	tr ' ' '\012' < .deps/$(*F).pp \
X+	  | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
X+	    >> .deps/$(*F).P; \
X+	rm -f .deps/$(*F).pp
X info-am:
X info: info-am
X dvi-am:
X@@ -286,23 +313,24 @@
X 
X maintainer-clean-generic:
X mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
X-		mostlyclean-tags mostlyclean-generic
X+		mostlyclean-tags mostlyclean-depend mostlyclean-generic
X 
X mostlyclean: mostlyclean-am
X 
X-clean-am:  clean-binPROGRAMS clean-compile clean-tags clean-generic \
X-		mostlyclean-am
X+clean-am:  clean-binPROGRAMS clean-compile clean-tags clean-depend \
X+		clean-generic mostlyclean-am
X 
X clean: clean-am
X 
X distclean-am:  distclean-binPROGRAMS distclean-compile distclean-tags \
X-		distclean-generic clean-am
X+		distclean-depend distclean-generic clean-am
X 
X distclean: distclean-am
X 
X maintainer-clean-am:  maintainer-clean-binPROGRAMS \
X 		maintainer-clean-compile maintainer-clean-tags \
X-		maintainer-clean-generic distclean-am
X+		maintainer-clean-depend maintainer-clean-generic \
X+		distclean-am
X 	@echo "This command is intended for maintainers to use;"
X 	@echo "it deletes files that may require special tools to rebuild."
X 
X@@ -312,12 +340,13 @@
X maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
X mostlyclean-compile distclean-compile clean-compile \
X maintainer-clean-compile tags mostlyclean-tags distclean-tags \
X-clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
X-check-am installcheck-am installcheck install-exec-am install-exec \
X-install-data-am install-data install-am install uninstall-am uninstall \
X-all-redirect all-am all installdirs mostlyclean-generic \
X-distclean-generic clean-generic maintainer-clean-generic clean \
X-mostlyclean distclean maintainer-clean
X+clean-tags maintainer-clean-tags distdir mostlyclean-depend \
X+distclean-depend clean-depend maintainer-clean-depend info-am info \
X+dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
X+install-exec install-data-am install-data install-am install \
X+uninstall-am uninstall all-redirect all-am all installdirs \
X+mostlyclean-generic distclean-generic clean-generic \
X+maintainer-clean-generic clean mostlyclean distclean maintainer-clean
X 
X 
X # Tell versions [3.59,3.63) of GNU make to not export all variables.
END-of-gmail/patches/patch-ab
echo c - gmail/files
mkdir -p gmail/files > /dev/null 2>&1
echo x - gmail/files/md5
sed 's/^X//' >gmail/files/md5 << 'END-of-gmail/files/md5'
XMD5 (gmail-0.6.0pre1.tar.gz) = ac16d969a0eb03ca33a07f583e86f70a
END-of-gmail/files/md5
echo x - gmail/Makefile
sed 's/^X//' >gmail/Makefile << 'END-of-gmail/Makefile'
X# New ports collection makefile for:	gmail
X# Date created:		29th Sep 2000
X# Whom:			Bas Kruit <bas_kruit@bsltwr.demon.nl>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gmail
XPORTVERSION=	0.6.0pre1
XCATEGORIES=	mail gnome
XMASTER_SITES=	http://www.bsltwr.demon.nl/gmail/ \
X		http://gmail.linuxpower.org/
X
XMAINTAINER=	baskruit@bsltwr.demon.nl
X
XLIB_DEPENDS=	gnome.4:${PORTSDIR}/x11/gnomelibs \
X		gnomeprint.9:${PORTSDIR}/print/gnomeprint \
X		glade.4:${PORTSDIR}/devel/libglade \
X		mysqlclient.6:${PORTSDIR}/databases/mysql322-client
X
XGLIB_CONFIG?=	${LOCALBASE}/bin/glib12-config
XGTK_CONFIG?=	${X11BASE}/bin/gtk12-config
X
XUSE_GMAKE=	yes
XUSE_X_PREFIX=	yes
XUSE_LIBTOOL=	yes
XINSTALLS_SHLIB=	yes
X
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
X		GLIB_CONFIG="${GLIB_CONFIG}" \
X		GTK_CONFIG="${GTK_CONFIG}" \
X		LIBS="-L${LOCALBASE}/lib"
X
X.include <bsd.port.mk>
END-of-gmail/Makefile
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?200010010018.e910I5145346>