From owner-freebsd-gnome@FreeBSD.ORG Fri Jul 6 03:09:35 2012 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 567F3106566C for ; Fri, 6 Jul 2012 03:09:35 +0000 (UTC) (envelope-from mezz.freebsd@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0D7A98FC19 for ; Fri, 6 Jul 2012 03:09:34 +0000 (UTC) Received: by yhfs35 with SMTP id s35so3228495yhf.13 for ; Thu, 05 Jul 2012 20:09:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=k/+RW4gpweL90MH3V14Cy8cg5NUXcSn4+pM8q8l+uZU=; b=thG2HZB4haxTC2UpZ+/X8N97p8sDsOLTYii+h/7zgUrd9IsyhQjTOkEyhR6hx04tIk sqaKNq2ryTjTc3asgJO4tVDczz2DcouLx/E+5kVOKvtb2x03a6NZlObuLZM44Pqllofm Vcjn3Ek+fjL6MTxYyOGAhnypcH3grGMpBHxTlMmY4aAxO5t42UqbKQ5+S7G/FnuL4Yc+ 5eALsCKgOmjxySYZ1GD8TyNKAXixQGaPOlfnMZd27EY1Dlxxz98dPvZQlztPvrWNZ1tg tPp2v7EtiVrBfO4fSNl5iySyS/Og6oGQlTtYY3d+cmkTUOcpS6k3s93/aQaEITFskKST I66w== MIME-Version: 1.0 Received: by 10.236.78.36 with SMTP id f24mr33930912yhe.20.1341544174053; Thu, 05 Jul 2012 20:09:34 -0700 (PDT) Received: by 10.101.79.2 with HTTP; Thu, 5 Jul 2012 20:09:34 -0700 (PDT) In-Reply-To: References: Date: Thu, 5 Jul 2012 22:09:34 -0500 Message-ID: From: Jeremy Messenger To: FreeBSD GNOME Users Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: MATE Desktop. 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: Fri, 06 Jul 2012 03:09:35 -0000 Hello all, Warning, this is a very long email and it's incomplete as you can't run MATE yet. I have replied to my own thread too to correct the information way below. Anyway, at first check here: http://www.marcuscom.com/pipermail/marcuscom-devel/2012-July/001863.html I have completed the 10 repocopied ports from GNOME to MATE and it's untest in the runtime. There are still many ports left that need to be repocopied. I have listed that what need to be repocopied in the TODO-mate at: http://www.marcuscom.com:8080/cgi-bin/cvsweb.cgi/ports-experimental/TODO-mate The tarballs are available at: http://pub.mate-desktop.org/releases/1.2/ I have made some change in the bsd.mate.mk from bsd.gnome.mk following removed the features: -HAVE:Mfoo, A lot of users don't know, hide and lacking OPTIONS stuff. It's not difficult to add autocheck in the Makefile without that HAVE:Mfoo anyway. -foo_USE_GNOME_IMPL, we do not maintain it very well. Also it was not easy to track it down for the other maintainers to figure where the dependencies come from. I think it's best to put a complete dependencies in the ports rather than having IMPL doing it for you. -Remove the gnomeprefix and replace it to something like GCONFPREFIX=--gconf=...., so you can put ${MATECONF_PREFIX} in the Makefile's CONFIGURE_ARGS. There will be no gnomeprefix-like. -Remove the referencehack, yes it works great but it's ugly in the every Makefile. I think that's all. Only a feature that has been added is :build and :run. If anyone have something in mind to improvement or else, let me know and I will see what I can do. I will be away for a week on July 8th to 14th. Feel free to flood in my Inbox relate with the MATE stuff. I will check these emails when I return and continue work on more repocopy ports. If you want to help, feel free to do it too. Keep in mind, you will have to study those MATE ports because there is no document at the moment but you can ask me questions. Cheers, Mezz On Wed, Jun 27, 2012 at 12:24 PM, Jeremy Messenger wrote: > I am forwarding my email from our private list to here to let you know > about that I have begun work on MATE Desktop. If anyone have any good > idea, feedback, improvement or whatever. Feel free to input about it > and I will see what I can do with bsd.mate.mk or so. > > Also, I will remove the referencehack because it was too ugly even > though it works awesome. I prefer to do it in a clean way, but I do > not plan to work on it which is why I will remove it. Same for remove > ${HAVE_GNOME:Mfoobar} feature because of lacking use OPTIONS and > confusing for the users. > > Cheers, > Mezz > > > ---------- Forwarded message ---------- > From: Jeremy Messenger > Date: Wed, Jun 27, 2012 at 11:40 AM > Subject: MATE Desktop. > To: > > > Hello team, > > I have put the GNOME 3.4 on halt because of that glib's thread/mutex > stuff. I have started work on MATE in about 30 minutes ago and it was > easy so far. I have created (actually, repocopy) three ports. The > MATE's tarballs do not have configure, which it's just autogen.sh. I > have created USE_MATE=autogen to make it easy. > > --------------------- > devel/gnome-common -> devel/mate-common > textproc/gnome-doc-utils -> textproc/mate-doc-utils > devel/ORBit2 -> devel/mate-corba > --------------------- > > Here's what mate-common's Makefile looks like: > > --------------------- > PORTNAME= mate-common > PORTVERSION= 1.2.2 > CATEGORIES= devel mate > MASTER_SITES= MATE > DIST_SUBDIR= mate > > MAINTAINER= gnome@FreeBSD.org > COMMENT= Common automake macros for MATE > > USE_XZ= yes > USE_MATE= autogen > USE_GMAKE= yes > USE_AUTOTOOLS= aclocal:env autoconf:env automake:env > GNU_CONFIGURE= yes > --------------------- > > The mate-corba's Makefile. A more MATE port might have the gtk-doc in > the build time because of 'GTK_DOC_CHECK([1.0])' in the configure.in. > I don't see any reason to patch to remove it. > > --------------------- > PORTNAME= mate-corba > PORTVERSION= 1.2.2 > CATEGORIES= devel gnome CATEGORIES= devel mate > MASTER_SITES= MATE > DIST_SUBDIR= mate > [...] > BUILD_DEPENDS= gtkdoc-check:${PORTSDIR}/textproc/gtk-doc > > USE_XZ= yes > USE_MATE= autogen common hack ltverhack USE_MATE= autogen common:build matehack ltverhack > USE_GMAKE= yes > USE_GNOME= glib20 libidl > USE_GETTEXT= yes > USE_LDCONFIG= yes > USE_AUTOTOOLS= aclocal:env autoconf:env automake:env libtool libtoolize:env > GNU_CONFIGURE= yes > CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \ > --disable-gtk-doc > CPPFLAGS+= -I${LOCALBASE}/include > LDFLAGS+= -L${LOCALBASE}/lib > --------------------- > > Yes, the ltverhack works because I have modified the order of target > use. I know that it's double function from bsd.gnome.mk, but it's only > way that I can think of to make ltverhack works by copy and modified a > bit in bsd.mate.mk at the moment. In the bsd.mate.mk has: > > --------------------- > .if ${USE_MATE:Mautogen}!= "" > > CONFIGURE_ENV+= NOCONFIGURE=yes > > pre-patch: mate-pre-patch pre-configure: mate-pre-configure > mate-pre-patch: mate-pre-configure: > @(cd ${CONFIGURE_WRKSRC} ; ${SETENV} ${CONFIGURE_ENV} ./autogen.sh) > .endif > > .if defined(MATE_PRE_PATCH_SCRIPT) > > pre-patch-script: mate-pre-patch-script <-- Changed target. pre-configure-script: mate-pre-configure-script > mate-pre-patch-script: <-- Changed target. mate-pre-configure-script: > @${MATE_PRE_PATCH_SCRIPT:C/^;//1} > .endif > --------------------- > > Most of components will have no 'mate' prefix. To make it shorter and > the 'USE_MATE' already have 'mate' name in it. Repeat of 'mate' kinds > of drive me crazy. Haha. :-P :-) But if you think I should put 'mate' > in there, let me know. Example, common is mate-common; docutils is > mate-doc-utils, hack is like gnomehack and etc. > > The bsd.mate.mk is kind of very messy right now. I will clean up when > I add a lot of more mate ports to make sure everything is working > correct. Also, I want remove the ${HAVE_GNOME:Mfoobar} feature from > bsd.mate.mk. I want to add something like foo:build, bar:run for build > and run time dependency. Without the :build/:run will be same what it > normal does. > > I will worry about the matehier later when finished with all MATE ports. > > Cheers, > Mezz -- mezz.freebsd@gmail.com - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org