Re: Xfce, xfce4-terminal, and UTF-8 (now works)

2021-07-12 Thread Guido Falsi via freebsd-ports

On 12/07/21 02:50, George Mitchell wrote:

On 12/31/20 3:11 PM, George Mitchell wrote:

I set LOCALE to en_US.UTF-8 and LC_CTYPE to C.  Upon login, I run
setxkbmap -option compose:lwin.  Consequently, I can enter all the
UTF-8 characters I need, such as é, ç, and even ™, into most X-based
programs I run.  When I first set this up, over a year ago, it also
worked for xfce4-terminal, but that stopped working earlier this
year.  (At this point, I can't tell you when exactly, because I
just worked around the problem with mousepad as necessary.)  Does
anyone know the correct fix for this?

Happy New Year, and let's all have a great FreeBSD-based 2021!
-- George



Some time in the last six months UTF-8 started working again in
xfce4-terminal (now at version 0.8.10_1, and xfce4-wm-4.16.1).
I'm sorry I can't be more precise.  Thanks to whomever did the
good work!    -- George



Great to hear this.

I have noticed XFCE upstream did a lot of work regarding 
internationalization, so it's quite posssible the updates that happened 
in the while did fix this too.


--
Guido Falsi 



inject IGNORE_OSVERSION in poudriere?

2021-07-12 Thread Ronald Klop

Hi,

To save time I sometimes get pkgs from the official pkg builders and save them 
in the poudriere dir.
But now and then I get this:

[00:00:47] ===>   Installing existing package /packages/All/llvm11-11.0.1.txz
[00:00:48] [freebsd14-custom-job-01] Installing llvm11-11.0.1...
[00:00:48] Newer FreeBSD version for package llvm11:
[00:00:48] To ignore this error set IGNORE_OSVERSION=yes
[00:00:48] - package: 1400025
[00:00:48] - running kernel: 1400024
[00:00:48] Ignore the mismatch and continue? [y/N]: 
[00:00:49] Failed to install the following 1 package(s): /packages/All/llvm11-11.0.1.txz

[00:00:49] *** Error code 1

Normally I delete/create the poudriere jail, but the upstream world used by 
poudriere is not new enough yet.

How can I set IGNORE_OSVERSION=yes in the poudriere environment?

Regards,
Ronald.


Re: inject IGNORE_OSVERSION in poudriere?

2021-07-12 Thread Robert Clausecker
Hi Ronald,

Refer to poudriere(8) “Create optional make.conf.”  You should
be able to create a file

/usr/local/etc/poudriere.d/$jailname-make.conf

with extra make variables for $jailname.

Yours,
Robert Clausecker

Am Mon, Jul 12, 2021 at 11:07:03AM + schrieb Ronald Klop:
> Hi,
> 
> To save time I sometimes get pkgs from the official pkg builders and save 
> them in the poudriere dir.
> But now and then I get this:
> 
> [00:00:47] ===>   Installing existing package /packages/All/llvm11-11.0.1.txz
> [00:00:48] [freebsd14-custom-job-01] Installing llvm11-11.0.1...
> [00:00:48] Newer FreeBSD version for package llvm11:
> [00:00:48] To ignore this error set IGNORE_OSVERSION=yes
> [00:00:48] - package: 1400025
> [00:00:48] - running kernel: 1400024
> [00:00:48] Ignore the mismatch and continue? [y/N]: 
> [00:00:49] Failed to install the following 1 package(s): 
> /packages/All/llvm11-11.0.1.txz
> [00:00:49] *** Error code 1
> 
> Normally I delete/create the poudriere jail, but the upstream world used by 
> poudriere is not new enough yet.
> 
> How can I set IGNORE_OSVERSION=yes in the poudriere environment?
> 
> Regards,
> Ronald.

-- 
()  ascii ribbon campaign - for an 8-bit clean world 
/\  - against html email  - against proprietary attachments



Re: inject IGNORE_OSVERSION in poudriere?

2021-07-12 Thread Ronald Klop

Hi,

Thanks for your answer. Tried it before and tried it again now.
Unfortunately it doesn't work.
It is shown in the "make env" output in poudriere, but somehow it does not make it to the 
"pkg-static add" command in /usr/ports/Mk/Scripts/do-depends.sh.

The stack is like this. Currently running example, it is not the exact stack of 
the problem I have.
43999  -  SJ   0:00.83 | |   `-- /usr/local/libexec/poudriere/sh -e 
/usr/local/share/poudriere/bulk.sh -j freebsd13 -p custom -f 
/usr/local/etc/poudriere.d/port-list
44270  -  SJ   0:00.68 | | |-- /usr/local/libexec/poudriere/sh -e 
/usr/local/share/poudriere/bulk.sh -j freebsd13 -p custom -f 
/usr/local/etc/poudriere.d/port-list
48538  -  RJ   0:00.00 | | | `-- /usr/local/libexec/poudriere/sh -e 
/usr/local/share/poudriere/bulk.sh -j freebsd13 -p custom -f 
/usr/local/etc/poudriere.d/port-list
48198  -  SJ   0:00.00 | | |-- /usr/local/libexec/poudriere/sh -e 
/usr/local/share/poudriere/bulk.sh -j freebsd13 -p custom -f 
/usr/local/etc/poudriere.d/port-list
48205  -  SJ   0:00.03 | | |-- sh: poudriere[freebsd13-custom][01]: 
build_pkg (py38-future-0.18.2) (sh)
48214  -  SJ   0:00.01 | | | |-- timestamp
48337  -  SJ   0:00.04 | | | `-- /usr/bin/make -C 
/usr/ports/devel/py-future FLAVOR=py38 pkg-depends
48342  -  SJ   0:00.02 | | |   `-- /bin/sh 
/usr/ports/Mk/Scripts/do-depends.sh
48495  -  SJ   0:00.00 | | | `-- 
/wrkdirs/usr/ports/devel/py-future/work-py38/pkg-static add 
/packages/All/pkg-1.16.3.txz
48496  -  RJ   0:01.11 | | |   `-- 
/wrkdirs/usr/ports/devel/py-future/work-py38/pkg-static add 
/packages/All/pkg-1.16.3.txz

Regards,
Ronald.

Van: Robert Clausecker 
Datum: maandag, 12 juli 2021 11:12
Aan: ports@freebsd.org
Onderwerp: Re: inject IGNORE_OSVERSION in poudriere?


Hi Ronald,

Refer to poudriere(8) “Create optional make.conf.”  You should
be able to create a file

/usr/local/etc/poudriere.d/$jailname-make.conf

with extra make variables for $jailname.

Yours,
Robert Clausecker

Am Mon, Jul 12, 2021 at 11:07:03AM + schrieb Ronald Klop:
> Hi,
>
> To save time I sometimes get pkgs from the official pkg builders and save 
them in the poudriere dir.
> But now and then I get this:
>
> [00:00:47] ===>   Installing existing package /packages/All/llvm11-11.0.1.txz
> [00:00:48] [freebsd14-custom-job-01] Installing llvm11-11.0.1...
> [00:00:48] Newer FreeBSD version for package llvm11:
> [00:00:48] To ignore this error set IGNORE_OSVERSION=yes
> [00:00:48] - package: 1400025
> [00:00:48] - running kernel: 1400024
> [00:00:48] Ignore the mismatch and continue? [y/N]:
> [00:00:49] Failed to install the following 1 package(s): 
/packages/All/llvm11-11.0.1.txz
> [00:00:49] *** Error code 1
>
> Normally I delete/create the poudriere jail, but the upstream world used by 
poudriere is not new enough yet.
>
> How can I set IGNORE_OSVERSION=yes in the poudriere environment?
>
> Regards,
> Ronald.

--
()  ascii ribbon campaign - for an 8-bit clean world
/\  - against html email  - against proprietary attachments
 





XFCE4 No Longer Displaying 3rd-Party Fonts.

2021-07-12 Thread Janky Jay, III
Hi All,

    So, I'm unsure if this is where this should go, but it did happen
after a recent port (pkg) upgrade of a FreeBSD 13.0 desktop system that
I've been running. I'd moved from "quarterly" to "latest" and got the
updates and now my XFCE4 desktop doesn't display any of the fonts I was
previously using. I only have the three basic fonts options of "Dejavu",
"Luxi", and "Monospace."

    I did come across a post on the forums [1] that appears to be the
exact situation that I'm seeing. However, that topic was labeled as
"Solved" but I don't see any actual resolution to the problem. From the
sound of it, their Terminus font didn't work in XFCE4 nor in Fluxbox so
they used something else and it did work? If that's the case, I don't
really see that as a "fix."

    I've tried every suggestion in the forum post with the same results
that OP got (everything appears to there and picked up as expected,) yet
I'm still unable to use any of the fonts I've installed.

    Has anyone else come across this issue in any other WM/DE? Is there
something I've been completely missing, maybe? Any new ideas or
information on how I can get my fonts back would be greatly appreciated!

1.
https://forums.freebsd.org/threads/x11-fonts-terminus-unusable-after-update-unable-to-get-working-with-xorg-config.80740/

Regards,
Janky Jay, III




OpenPGP_signature
Description: OpenPGP digital signature


Re: inject IGNORE_OSVERSION in poudriere?

2021-07-12 Thread Chris

On 2021-07-12 04:07, Ronald Klop wrote:

Hi,

To save time I sometimes get pkgs from the official pkg builders and save 
them in

the poudriere dir.
But now and then I get this:

[00:00:47] ===>   Installing existing package 
/packages/All/llvm11-11.0.1.txz

[00:00:48] [freebsd14-custom-job-01] Installing llvm11-11.0.1...
[00:00:48] Newer FreeBSD version for package llvm11:
[00:00:48] To ignore this error set IGNORE_OSVERSION=yes
[00:00:48] - package: 1400025
[00:00:48] - running kernel: 1400024
[00:00:48] Ignore the mismatch and continue? [y/N]: [00:00:49] Failed to 
install

the following 1 package(s): /packages/All/llvm11-11.0.1.txz
[00:00:49] *** Error code 1

Normally I delete/create the poudriere jail, but the upstream world used by
poudriere is not new enough yet.

How can I set IGNORE_OSVERSION=yes in the poudriere environment?

I have a patch for exactly this ( for a different reason) that I haven't yet
had time to submit to a differential.
But make.conf(5) (within your poudriere job tree. Or adding the additional
make option: -DIGNORE_OSVERSION should get it for you.

HTH

--Chris


Regards,
Ronald.


0xBDE49540.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: inject IGNORE_OSVERSION in poudriere?

2021-07-12 Thread Ronald Klop


Van: Chris 
Datum: maandag, 12 juli 2021 15:33
Aan: Ronald Klop 
CC: freebsd ports 
Onderwerp: Re: inject IGNORE_OSVERSION in poudriere?


On 2021-07-12 04:07, Ronald Klop wrote:
> Hi,
>
> To save time I sometimes get pkgs from the official pkg builders and save > 
them in
> the poudriere dir.
> But now and then I get this:
>
> [00:00:47] ===>   Installing existing package > 
/packages/All/llvm11-11.0.1.txz
> [00:00:48] [freebsd14-custom-job-01] Installing llvm11-11.0.1...
> [00:00:48] Newer FreeBSD version for package llvm11:
> [00:00:48] To ignore this error set IGNORE_OSVERSION=yes
> [00:00:48] - package: 1400025
> [00:00:48] - running kernel: 1400024
> [00:00:48] Ignore the mismatch and continue? [y/N]: [00:00:49] Failed to > 
install
> the following 1 package(s): /packages/All/llvm11-11.0.1.txz
> [00:00:49] *** Error code 1
>
> Normally I delete/create the poudriere jail, but the upstream world used by
> poudriere is not new enough yet.
>
> How can I set IGNORE_OSVERSION=yes in the poudriere environment?
I have a patch for exactly this ( for a different reason) that I haven't yet
had time to submit to a differential.
But make.conf(5) (within your poudriere job tree. Or adding the additional
make option: -DIGNORE_OSVERSION should get it for you.

HTH

--Chris
>
> Regards,
> Ronald.



 
 



Hi,

I still can't get it to work with make.conf in poudriere. I see in the build 
logs that the right make.conf is in use.

In the meantime I hacked my local ports checkout to do this:
$ diff -u /usr/ports/Mk/Scripts/do-depends.sh.orig 
/usr/ports/Mk/Scripts/do-depends.sh
--- /usr/ports/Mk/Scripts/do-depends.sh.orig2021-07-12 19:54:38.433507000 
+0200
+++ /usr/ports/Mk/Scripts/do-depends.sh 2021-07-12 19:22:28.098583000 +0200
@@ -36,7 +36,7 @@
   if [ "${pkgbase}" = "pkg" ]; then
   [ -d ${dp_WRKDIR} ] || mkdir -p ${dp_WRKDIR}
   tar xf ${pkgfile} -C ${dp_WRKDIR} -s ",/.*/,,g" 
"*/pkg-static"
-   ${dp_WRKDIR}/pkg-static add ${pkgfile}
+   IGNORE_OSVERSION=yes ${dp_WRKDIR}/pkg-static add 
${pkgfile}
   rm -f ${dp_WRKDIR}/pkg-static
   else
   ${dp_PKG_ADD} -A ${pkgfile}


And that seems to work somehow.

Regards,
Ronald.


Re: inject IGNORE_OSVERSION in poudriere?

2021-07-12 Thread Chris

On 2021-07-12 11:00, Ronald Klop wrote:

Van: Chris 
Datum: maandag, 12 juli 2021 15:33
Aan: Ronald Klop 
CC: freebsd ports 
Onderwerp: Re: inject IGNORE_OSVERSION in poudriere?


On 2021-07-12 04:07, Ronald Klop wrote:
> Hi,
>
> To save time I sometimes get pkgs from the official pkg builders and save > 
them in
> the poudriere dir.
> But now and then I get this:
>
> [00:00:47] ===>   Installing existing package > 
/packages/All/llvm11-11.0.1.txz
> [00:00:48] [freebsd14-custom-job-01] Installing llvm11-11.0.1...
> [00:00:48] Newer FreeBSD version for package llvm11:
> [00:00:48] To ignore this error set IGNORE_OSVERSION=yes
> [00:00:48] - package: 1400025
> [00:00:48] - running kernel: 1400024
> [00:00:48] Ignore the mismatch and continue? [y/N]: [00:00:49] Failed to > 
install
> the following 1 package(s): /packages/All/llvm11-11.0.1.txz
> [00:00:49] *** Error code 1
>
> Normally I delete/create the poudriere jail, but the upstream world used by
> poudriere is not new enough yet.
>
> How can I set IGNORE_OSVERSION=yes in the poudriere environment?
I have a patch for exactly this ( for a different reason) that I haven't 
yet

had time to submit to a differential.
But make.conf(5) (within your poudriere job tree. Or adding the additional
make option: -DIGNORE_OSVERSION should get it for you.

HTH

--Chris
>
> Regards,
> Ronald.







Hi,

I still can't get it to work with make.conf in poudriere. I see in the build 
logs

that the right make.conf is in use.

In the meantime I hacked my local ports checkout to do this:
$ diff -u /usr/ports/Mk/Scripts/do-depends.sh.orig 
/usr/ports/Mk/Scripts/do-depends.sh
--- /usr/ports/Mk/Scripts/do-depends.sh.orig2021-07-12 
19:54:38.433507000 +0200

+++ /usr/ports/Mk/Scripts/do-depends.sh 2021-07-12 19:22:28.098583000 +0200
@@ -36,7 +36,7 @@
   if [ "${pkgbase}" = "pkg" ]; then
   [ -d ${dp_WRKDIR} ] || mkdir -p ${dp_WRKDIR}
   tar xf ${pkgfile} -C ${dp_WRKDIR} -s ",/.*/,,g" 
"*/pkg-static"

-   ${dp_WRKDIR}/pkg-static add ${pkgfile}
+   IGNORE_OSVERSION=yes ${dp_WRKDIR}/pkg-static add 
${pkgfile}

   rm -f ${dp_WRKDIR}/pkg-static
   else
   ${dp_PKG_ADD} -A ${pkgfile}


And that seems to work somehow.

Indeed it would. :-)
Did you ever try adding -DIGNORE_OSVERSION to your poudriere make args? I'm 
pretty

sure that would have carried over regardless of poudriere. :-)

--Chris


Regards,
Ronald.


0xBDE49540.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature