Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Nov 2013 22:57:09 +0200
From:      Rostislav Krasny <rosti.bsd@gmail.com>
To:        Olivier Duchateau <duchateau.olivier@gmail.com>
Cc:        freebsd-xfce@freebsd.org
Subject:   Re: vendorinfo file
Message-ID:  <CANt7McEyY0v5hrvFqSo3ezuDLuW=gNGQODjm2=1MLLeceOGyCg@mail.gmail.com>
In-Reply-To: <CAHcdu2r3qSQQSdjSMZR_q38xOs1H_OaX-ooX2F0QEBN19_-xcg@mail.gmail.com>
References:  <CANt7McHHELPD57zCVZAJPk-Kk9-%2B7uaeuHa-qOPH4UwZgqNRnQ@mail.gmail.com> <CAHcdu2r3qSQQSdjSMZR_q38xOs1H_OaX-ooX2F0QEBN19_-xcg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 4, 2013 at 9:59 PM, Olivier Duchateau
<duchateau.olivier@gmail.com> wrote:
> 2013/11/4 Rostislav Krasny <rosti.bsd@gmail.com>:
>> Hi,
>>
>> I've noticed that 'xfce4-about' looks for the
>> /usr/local/share/xfce4/vendorinfo file. If it's missed a warning
>> message is printed in console:
>>
>> xfce4-about-Message: No vendor information found in
>> "/usr/local/share/xfce4/vendorinfo".
>
> It's odd x11/libxfce4menu is precisely compilled with option
>
> --with-vendor-info=FreeBSD
>
> It's an workaround, if we can't provide vendor info file. I know some
> Linux distros do same thing.

I'm not familiar with autoconfig scripts, but is this workaround still
necessary?
According to following code chunk taken from
http://git.xfce.org/archive/xfce-utils/tree/configure.in.in
eliminating the --with-vendor-info script argument will make
VENDOR_INFO undefined

AC_ARG_WITH([vendor-info],
AC_HELP_STRING([--with-vendor-info=NAME], [Specify an additional
vendor name, optionally with a file in prefix/share/xfce4/NAME]),
    [with_vendor_info="$withval"], [with_vendor_info=""])
if test x"$with_vendor_info" != x""; then
    AC_DEFINE_UNQUOTED([VENDOR_INFO], ["$with_vendor_info"],
[Additional vendor name and/or info])
    AC_MSG_RESULT([$vendorinfo])
else
    AC_MSG_RESULT([not set])
fi

Then xfce4-about (in its main.c) will not look for any vendorinfo file
and will show only xfce version without any vendor name.
http://git.xfce.org/archive/xfce-utils/tree/xfce4-about/main.c

> I've never had this message in my log session.

I see it in the console from wich I run startxfce4

>> If this file exists then there is an additional tab (FreeBSD tab) in
>> the xfce4-about window and content of the vendorinfo file is printed
>> there.
>>
>> Is it a known feature? It seems to be added in the upstream 3 years
>> ago by following commit:
>>
>> http://mail.xfce.org/pipermail/xfce4-commits/2010-November/013752.html
>>
>> I think some "about" and/or other FreeBSD advertising information
>> could be put into that file. What do you think?
>
> Why not, but which file ?

The /usr/local/share/xfce4/vendorinfo file. Or did you ask what to write there?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANt7McEyY0v5hrvFqSo3ezuDLuW=gNGQODjm2=1MLLeceOGyCg>