vendorinfo file
Olivier Duchateau
duchateau.olivier at gmail.com
Mon Nov 4 22:22:33 UTC 2013
2013/11/4 Rostislav Krasny <rosti.bsd at gmail.com>:
> On Mon, Nov 4, 2013 at 9:59 PM, Olivier Duchateau
> <duchateau.olivier at gmail.com> wrote:
>> 2013/11/4 Rostislav Krasny <rosti.bsd at 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
It's wrong file, xfce-utils is deprecated (located in archive folder).
xfce4-about code now belongs to libxfce4ui (libxfce4menu in your ports tree).
> 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
To avoid this message create an empty file like this:
touch /usr/local/share/xfce4/vendorinfo
See commit log, here
http://git.xfce.org/xfce/libxfce4ui/commit/xfce4-about/main.c?id=4a14ef81cdc6f3e45b63eb42ca41c6af50c9c0c4
>
>>> 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?
--
olivier
More information about the freebsd-xfce
mailing list