Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jul 2012 22:09:34 -0500
From:      Jeremy Messenger <mezz.freebsd@gmail.com>
To:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: MATE Desktop.
Message-ID:  <CADLFttd4Joh9g9pUi=qBTviz-uruhL8-uycm3Oa=nr=crcwXsA@mail.gmail.com>
In-Reply-To: <CADLFttd03NMbUxCTfNM8-xhKBFHmigTa_qEacmEZ2EGg==QG=Q@mail.gmail.com>
References:  <CADLFttdfsL8h-DtJw_aw2Yv85Larb1Yf8n9U1cb-XkGig1bRsA@mail.gmail.com> <CADLFttd03NMbUxCTfNM8-xhKBFHmigTa_qEacmEZ2EGg==QG=Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
<mezz.freebsd@gmail.com> 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 <mezz.freebsd@gmail.com>
> Date: Wed, Jun 27, 2012 at 11:40 AM
> Subject: MATE Desktop.
> To: <snip>
>
>
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLFttd4Joh9g9pUi=qBTviz-uruhL8-uycm3Oa=nr=crcwXsA>