Unable to install new dialog for ports on FreeBsd 7.0

2013-03-20 Thread Vikas Mahajan
Hi all,

After updating portsnap I tried to install php5. Now make config fails
with following error:

===>  Building for dialog4ports-0.1
Warning: Object directory not changed from original
/usr/ports/ports-mgmt/dialog4ports/wor k/dialog4ports-0.1
cc -O2 -fno-strict-aliasing -pipe
-I/usr/ports/ports-mgmt/dialog4ports/work/dialog-1.1-20 120706
-D_XOPEN_SOURCE_EXTENDED -Wsystem-headers -Werror -Wall
-Wno-format-y2k -W -Wno-unu sed-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wno-uninitialized
-Wno-pointer-sign  -o dialog4ports dialog4ports.o mixedlist.o arrows.o
buttons.o dlg_keys. o help.o inputstr.o mouse.o mousewget.o textbox.o
rc.o trace.o ui_getc.o util.o version.o  -lncursesw
util.o(.text+0x2e02): In function `dlg_auto_size':
: undefined reference to `sqrt'
*** Error code 1
1 error
*** Error code 1

Stop in /usr/ports/ports-mgmt/dialog4ports.

If I set NO_DIALOG=yes in /etc/make.conf, I am getting:
===> Skipping 'config' as NO_DIALOG is defined

How can solve this problem? Any way to fix this error or using old
make config dialog.

Please help.


-- 
Thanks
Vikas Mahajan
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: freebsd-ports Digest, Vol 513, Issue 5

2013-03-20 Thread Boniek
whta´s the problem in my Kde4.9 ,have virtualBox a fix DBUS no loader...
my /etc/rc.config is loader

dbus_enable="YES"

or require on kdl ?

example :

#kdload dbus

help me :S ?



 .011001100110.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Re: dia fails to start after recent upgrade

2013-03-20 Thread Kevin Oberman
On Wed, Mar 20, 2013 at 5:46 PM, AN  wrote:
> FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #38 r248401: Sat Mar 16
> 21:39:04 CDT 2013 root@FBSD10:/usr/obj/usr/src/sys/MYKERNEL  amd64
>
> After a recent portupgrade (graphics/dia (dia-gnome-0.97.1_3,1 ->
> dia-0.97.2,1) dia is broken.  Will not start from the gnome menu, starting
> from the command line causes the splash screen to appear for about 1 second
> and then it disappears.  There is no error produced on the command line, or
> in the system log.

Works fine for me on 9.1-STABLE (r246004), so it may be specific to
HEAD or some option set on some port that dia depends on or it may be
the compiler used. I think the latter is most likely, especially since
it may be an interaction between dia and one of its many dependencies
where one or all may be built with any of several compilers. In my
case, everything was built with GCC though some dependencies may be
using gcc-4.6. I don't THINK clang was used on anything relevant.
-- 
R. Kevin Oberman, Network Engineer
E-mail: rkober...@gmail.com
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: [CFT] New dialog for ports

2013-03-20 Thread Bryan Drewery
On 3/14/2013 4:55 AM, Baptiste Daroussin wrote:
> Hi all,
> 
> Ilya A. Arkhipov wrote dialog4ports which has just been added into the ports
> tree ports-mgmt/dialog4ports, this is intended to be a replacement for 
> dialog(1)
> designed specifically for the options, in particular for optionsng.
> 

I have removed the prompt now. This is a required dependency for ports
not much different than other dependencies. It is necessary to render,
interact and configure options in the new options framework. The old UI
was seriously lacking in functionality and extendability. It was
crutched by only being in base, meaning any change we made would need to
wait for a *FreeBSD release* to improve or change the situation. Now we
can make continual incremental improvements to the ports config dialog.

NO_DIALOG can be used to avoid this config dialog.

The "old config" code was removed as there is really no good reason to
keep it and maintain it. It would be prone to bitrot and risk even
showing the wrong options. There is a several-second delay before
bringing up the new dialog now on the first time. After that this will
just update as usual with portmaster runs.

-- 
Regards,
Bryan Drewery
bdrewery@freenode/EFNet



signature.asc
Description: OpenPGP digital signature


dia fails to start after recent upgrade

2013-03-20 Thread AN
FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #38 r248401: Sat Mar 16 
21:39:04 CDT 2013 root@FBSD10:/usr/obj/usr/src/sys/MYKERNEL  amd64


After a recent portupgrade (graphics/dia (dia-gnome-0.97.1_3,1 -> 
dia-0.97.2,1) dia is broken.  Will not start from the gnome menu, starting 
from the command line causes the splash screen to appear for about 1 
second and then it disappears.  There is no error produced on the command 
line, or in the system log.

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: KDE4 Widgets Missing

2013-03-20 Thread Shawn Webb
Nevermind. I found the reason why: it's because I compiled with clang
rather than gcc. Reference:
http://forums.freebsd.org/showthread.php?p=210232


On Wed, Mar 20, 2013 at 4:32 PM, Shawn Webb  wrote:

> Hey All,
>
> I'm sorry to bug you all about something so trivial, but I can't find
> anything Googling about this. I don't want to file a bug report (unless
> actually necessary). A few months ago, I deinstalled KDE4 (prior to the
> ports tree updating to the 4.9.5 release) to switch to something a little
> lighter. I've now reinstalled KDE4 via the same x11/kde4 port I used
> before. KDE 4.9.5 is installed and everything's working great. However,
> when I edit the panel at the bottom of the screen and select Add Widgets,
> no widgets appear. I've installed a few other widgets and those don't show
> either. Because of its size, I can't figure out where to look to see why
> kde4's misbehaving. I've grepped through /usr/local/kde4/share to see if
> there's some old config left from the old install of kde4 that doesn't
> apply anymore (or should be replaced with a more current config). No luck
> there.
>
> I'm on 10-current (an older release, dated 01 Mar 2013, r247527). My uname
> output is:
>
> FreeBSD pwnie.clamav.dev 10.0-CURRENT FreeBSD 10.0-CURRENT #18
> r247527+2f5def5: Fri Mar  1 01:09:10 EST 2013 
> shawn@pwnie:/usr/obj/usr/src/sys/SEC
>  amd64
>
> My ports tree is completely up-to-date and all installed ports are
> up-to-date as well.
>
> This isn't anything high-priority, more of a want than a need right now.
>
> Let me know if you have any questions, comments, or suggestions.
>
> Thanks,
>
> Shawn
>
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


KDE4 Widgets Missing

2013-03-20 Thread Shawn Webb
Hey All,

I'm sorry to bug you all about something so trivial, but I can't find
anything Googling about this. I don't want to file a bug report (unless
actually necessary). A few months ago, I deinstalled KDE4 (prior to the
ports tree updating to the 4.9.5 release) to switch to something a little
lighter. I've now reinstalled KDE4 via the same x11/kde4 port I used
before. KDE 4.9.5 is installed and everything's working great. However,
when I edit the panel at the bottom of the screen and select Add Widgets,
no widgets appear. I've installed a few other widgets and those don't show
either. Because of its size, I can't figure out where to look to see why
kde4's misbehaving. I've grepped through /usr/local/kde4/share to see if
there's some old config left from the old install of kde4 that doesn't
apply anymore (or should be replaced with a more current config). No luck
there.

I'm on 10-current (an older release, dated 01 Mar 2013, r247527). My uname
output is:

FreeBSD pwnie.clamav.dev 10.0-CURRENT FreeBSD 10.0-CURRENT #18
r247527+2f5def5: Fri Mar  1 01:09:10 EST 2013
shawn@pwnie:/usr/obj/usr/src/sys/SEC
 amd64

My ports tree is completely up-to-date and all installed ports are
up-to-date as well.

This isn't anything high-priority, more of a want than a need right now.

Let me know if you have any questions, comments, or suggestions.

Thanks,

Shawn
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: [CFT] New dialog for ports

2013-03-20 Thread Kevin Oberman
On Wed, Mar 20, 2013 at 7:12 AM, Baptiste Daroussin  wrote:
> On Wed, Mar 20, 2013 at 10:07:15AM -0400, Steve Wills wrote:
>> >
>> > I wonder if it is worth to let the question to install dialog4ports.
>> >
>> > I mean dialog4ports being mandatory you should just be installed directly
>> > doesn't it?
>> >
>> > anyone have an opinion about this?
>> >
>> > I will remove the question on 27/03 if I got more please do than please
>> > don't at
>> > that time.
>>
>> The question does lead one to think it's optional. If it's not optional,
>> then there shouldn't be a prompt. I think it should be optional. IMHO, the
>> requirement being mandator violates POLA, as does the prompt. These are
>> questions that should have been answered before it was committed.
>>
>> Steve
>>
>>
>
> Why would dialog4ports be optional, the dialog(1) from base isn't able to
> reflect what the new option framwork does, keeping it and both code to have
> both, looks like a non sense to me.

bapt,

I think you may be missing the point. It's not whether dialog4ports
should be default, it's whether you should be ASKED if you want to
install it. It's now a dependency of the ports system and, like other
dependencies, should just be installed without asking questions.

I suspect that, for the most part, you are in violent agreement with
those asking THE QUERY, not dialog4ports, to be removed.
-- 
R. Kevin Oberman, Network Engineer
E-mail: rkober...@gmail.com
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: [CFT] New dialog for ports

2013-03-20 Thread Daniel Nebdal
On Wed, Mar 20, 2013 at 1:19 PM, Vitaly Magerya  wrote:
> Daniel Nebdal wrote:
>> I just found a niggle:
>> I have LANG=en_US.UTF-8 , NCURSES_NO_UTF8_ACS=1, TERM=xterm, and I'm
>> using putty to connect to a FreeBSD-10 machine running a snapshot from
>> february with ports from an hour ago. Putty is set to Translation:
>> UTF-8, and "use unicode line drawing code points".
>>
>> With those settings, dialog gives me nice line drawing characters (for
>> some reason). If I unset NCURSES_NO_UTF8_ACS, all boxes are drawn
>> using random letters instead. (jlmqx, to be exact.)
>
> They're not actually random; 'jlmqx' is the ASCII rendering of line
> drawing characters in ACS (alternative charset), which putty doesn't
> support in UTF-8 mode (therefore it shows the ASCII, not the ASC versions).
>
>> The problem: ports config dialogs are _always_ drawn with the same
>> random letters, and I haven't found any setting or combination of
>> settings that works.
>>
>> This is probably more of a mis-configuration on my side
>
> I'm seeing the same thing too.
>
> I think I've found what causes it: unlike dialog, dialog4ports does not
> call setlocale(3) during startup. Try saving the attached patch as
> 'ports-mgmt/dialog4ports/files/patch-dialog4ports.c' and reinstalling
> dialog4ports; report back if it'll help.

That works perfectly - thanks.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Makefile for different ARCH

2013-03-20 Thread Gary J. Hayers

Olli this is the perfect solution many thanks.

On 20/03/2013 18:05, Gary J. Hayers wrote:

Thanks Olli,

That could very well be exactly what I need, I did try something along
those lines but was loosing my way with syntax.

On 20/03/2013 18:02, olli hauer wrote:

On 2013-03-20 18:11, Gary J. Hayers wrote:

Hi,

So I have a port I'm working on that has different distfiles for
different ARCH ie:

i386 = foo.tar.Z
amd64 = foo.amd64.tar.Z

What is the best way for my makefile to choose the right distfile
dependant on what ARCH the port is being install on? Hope I have
conveyed that clearly.




You can check ARCH, see example.
portlint will spot the DISTINFO is to late, but you need at last
 to get the ARCH value.
Do not forget to include both checksums in distinfo

// olli

PORTNAME=   foo
PORTVERSION=1.0
CATEGORIES= misc
MASTER_SITES=   http://localhost/distfiles/
EXTRACT_SUFX=   .tar.Z

MAINTAINER= g...@hayers.org
COMMENT=The foo arch test port

ONLY_FOR_ARCHS= i386 amd64

.include 

.if ${ARCH} == amd64
DISTNAME=   foo.amd64.tar.Z
.else
DISTNAME=   foo.tar.Z
.endif







--
Regards,
Gary J. Hayers
g...@hayers.org

PGP Signature
http://www.hayers.org/pgp
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Makefile for different ARCH

2013-03-20 Thread Gary J. Hayers

Thanks Olli,

That could very well be exactly what I need, I did try something along 
those lines but was loosing my way with syntax.


On 20/03/2013 18:02, olli hauer wrote:

On 2013-03-20 18:11, Gary J. Hayers wrote:

Hi,

So I have a port I'm working on that has different distfiles for different ARCH 
ie:

i386 = foo.tar.Z
amd64 = foo.amd64.tar.Z

What is the best way for my makefile to choose the right distfile dependant on 
what ARCH the port is being install on? Hope I have conveyed that clearly.




You can check ARCH, see example.
portlint will spot the DISTINFO is to late, but you need at last 
 to get the ARCH value.
Do not forget to include both checksums in distinfo

// olli

PORTNAME=   foo
PORTVERSION=1.0
CATEGORIES= misc
MASTER_SITES=   http://localhost/distfiles/
EXTRACT_SUFX=   .tar.Z

MAINTAINER= g...@hayers.org
COMMENT=The foo arch test port

ONLY_FOR_ARCHS= i386 amd64

.include 

.if ${ARCH} == amd64
DISTNAME=   foo.amd64.tar.Z
.else
DISTNAME=   foo.tar.Z
.endif




--
Regards,
Gary J. Hayers
g...@hayers.org

PGP Signature
http://www.hayers.org/pgp
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Makefile for different ARCH

2013-03-20 Thread Gary J. Hayers

Hi,

So I have a port I'm working on that has different distfiles for 
different ARCH ie:


i386 = foo.tar.Z
amd64 = foo.amd64.tar.Z

What is the best way for my makefile to choose the right distfile 
dependant on what ARCH the port is being install on? Hope I have 
conveyed that clearly.


Many thanks,

--
Regards,
Gary J. Hayers
g...@hayers.org

PGP Signature
http://www.hayers.org/pgp
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: [HEADS UP] pkgng binary packages regression in 1.0.9. Fixed in 1.0.9_1

2013-03-20 Thread Jeremy Chadwick
On Wed, Mar 20, 2013 at 04:20:02PM +0100, Matthias Gamsjager wrote:
> >  Due to the security incident, there are still no official FreeBSD
> > packages.
> 
> Do you know what the status is on that issue?

I'd also like to find out what the status of this is.

The packages at:

ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-stable/

Are still circa October 2012 -- that's 4-5 months ago.

While I truly and deeply understand that proper engineering design and
infrastructure changes take time, there has been absolutely no
communication presented to the community as to what has (or hasn't)
transpired, if there is (or isn't) a plan, or if people are simply
waiting until future in-person BSD* events to work things out.
freebsd-ops-announce has been silent on this matter as well:

http://lists.freebsd.org/mailman/listinfo/freebsd-ops-announce

At this point users and administrators do not know if newer packages
will be made available or if they should stick to building purely from
source.

Deep down I'm worried that this will solicit a response of "switch to
ports-mgmt/pkg and ports-mgmt/poudriere".  While I'm not opposed to the
tools themselves, I'm strongly opposed to that kind of response as I'm
tired of seeing the security incident being used as a opportunistic
crutch (as it was for the sudden cvsup/csup deprecation).

-- 
| Jeremy Chadwick   j...@koitsu.org |
| UNIX Systems Administratorhttp://jdc.koitsu.org/ |
| Mountain View, CA, US|
| Making life hard for others since 1977. PGP 4BD6C0CB |
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: www/bigbluebutton makefile problem?

2013-03-20 Thread David Southwell

On 3/20/2013 7:53 AM, David Southwell wrote:

Hi

bigbluebutton Makefile reads:

SOFFICEBIN?= 
${PREFIX}/openoffice.org-3.2.1/openoffice.org3/program/soffice.bin


with an uptodate portree we have the correct path is:

openofice-3.4.1/openoffice.org3/program/soffice.bin

Looks as though
www/bigbluebutton
needs updating.

Currently error message on
# make clean
bigbluebutton-0.71_4: "/usr/ports/editors/openoffice.org-3" 
non-existent  -- dependency list incomplete


Thanks in advance for advice

David



I also received the response below from the list:
 bigbluebutton-se...@googlegroups.com
which suggest we should be upgrading to BBB 0.80

Is that likely in the near future?

David
At moment, the developers of BigBlueButton are only supporting Ubuntu
Linux (currently 10.04, we hope to switch to a newer version soonish).
Any packaging for other operating systems or distributions is currently
unmaintained.

It also looks like you're looking at BigBlueButton 0.71; we strongly
recommend that you start with 0.80 in order to get a good number of bug
fixes and performance improvements.

If you would like to attempt to create or update BigBlueButton packaging
for freebsd, please go ahead, but unfortunately we can't provide support
for it at the moment.

--
Calvin Walton >

--
David Southwell ARPS AFIAP
Photographic Arts
Trained & experienced competition judge, mentor, trainer, lecturer,
Advanced digital techniques, international project photography

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: [HEADS UP] pkgng binary packages regression in 1.0.9. Fixed in 1.0.9_1

2013-03-20 Thread Matthias Gamsjager
>  Due to the security incident, there are still no official FreeBSD
> packages.
>


Do you know what the status is on that issue?
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


www/bigbluebutton makefile problem?

2013-03-20 Thread David Southwell

Hi

bigbluebutton Makefile reads:

SOFFICEBIN?= 
${PREFIX}/openoffice.org-3.2.1/openoffice.org3/program/soffice.bin


with an uptodate portree we have the correct path is:

openofice-3.4.1/openoffice.org3/program/soffice.bin

Looks as though
www/bigbluebutton
needs updating.

Currently error message on
# make clean
bigbluebutton-0.71_4: "/usr/ports/editors/openoffice.org-3" 
non-existent  -- dependency list incomplete


Thanks in advance for advice

David


--
David Southwell ARPS AFIAP
Photographic Arts
Trained & experienced competition judge, mentor, trainer, lecturer,
Advanced digital techniques, international project photography

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: [CFT] New dialog for ports

2013-03-20 Thread Baptiste Daroussin
On Wed, Mar 20, 2013 at 10:07:15AM -0400, Steve Wills wrote:
> >
> > I wonder if it is worth to let the question to install dialog4ports.
> >
> > I mean dialog4ports being mandatory you should just be installed directly
> > doesn't it?
> >
> > anyone have an opinion about this?
> >
> > I will remove the question on 27/03 if I got more please do than please
> > don't at
> > that time.
> 
> The question does lead one to think it's optional. If it's not optional,
> then there shouldn't be a prompt. I think it should be optional. IMHO, the
> requirement being mandator violates POLA, as does the prompt. These are
> questions that should have been answered before it was committed.
> 
> Steve
> 
> 

Why would dialog4ports be optional, the dialog(1) from base isn't able to
reflect what the new option framwork does, keeping it and both code to have
both, looks like a non sense to me.

Bapt


pgpXV0bQeOnNz.pgp
Description: PGP signature


Re: [CFT] New dialog for ports

2013-03-20 Thread Steve Wills
>
> I wonder if it is worth to let the question to install dialog4ports.
>
> I mean dialog4ports being mandatory you should just be installed directly
> doesn't it?
>
> anyone have an opinion about this?
>
> I will remove the question on 27/03 if I got more please do than please
> don't at
> that time.

The question does lead one to think it's optional. If it's not optional,
then there shouldn't be a prompt. I think it should be optional. IMHO, the
requirement being mandator violates POLA, as does the prompt. These are
questions that should have been answered before it was committed.

Steve


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


FreeBSD ports you maintain which are out of date

2013-03-20 Thread portscout
Dear port maintainer,

The portscout new distfile checker has detected that one or more of your
ports appears to be out of date. Please take the opportunity to check
each of the ports listed below, and if possible and appropriate,
submit/commit an update. If any ports have already been updated, you can
safely ignore the entry.

You will not be e-mailed again for any of the port/version combinations
below.

Full details can be found at the following URL:
http://portscout.freebsd.org/po...@freebsd.org.html


Port| Current version | New version
+-+
www/cocoon  | 2.1.11  | 2.1.12
+-+


If any of the above results are invalid, please check the following page
for details on how to improve portscout's detection and selection of
distfiles on a per-port basis:

http://portscout.freebsd.org/info/portscout-portconfig.txt

If wish to stop receiving portscout reminders, please contact
portsc...@portscout.freebsd.org

Thanks.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: [CFT] New dialog for ports

2013-03-20 Thread Vitaly Magerya
Daniel Nebdal wrote:
> I just found a niggle:
> I have LANG=en_US.UTF-8 , NCURSES_NO_UTF8_ACS=1, TERM=xterm, and I'm
> using putty to connect to a FreeBSD-10 machine running a snapshot from
> february with ports from an hour ago. Putty is set to Translation:
> UTF-8, and "use unicode line drawing code points".
> 
> With those settings, dialog gives me nice line drawing characters (for
> some reason). If I unset NCURSES_NO_UTF8_ACS, all boxes are drawn
> using random letters instead. (jlmqx, to be exact.)

They're not actually random; 'jlmqx' is the ASCII rendering of line
drawing characters in ACS (alternative charset), which putty doesn't
support in UTF-8 mode (therefore it shows the ASCII, not the ASC versions).

> The problem: ports config dialogs are _always_ drawn with the same
> random letters, and I haven't found any setting or combination of
> settings that works.
> 
> This is probably more of a mis-configuration on my side

I'm seeing the same thing too.

I think I've found what causes it: unlike dialog, dialog4ports does not
call setlocale(3) during startup. Try saving the attached patch as
'ports-mgmt/dialog4ports/files/patch-dialog4ports.c' and reinstalling
dialog4ports; report back if it'll help.
--- dialog4ports.c.orig 2013-03-20 14:07:09.0 +0200
+++ dialog4ports.c  2013-03-20 14:07:56.0 +0200
@@ -32,6 +32,7 @@
 #include 
 #include 
 #include 
+#include 
 
 #include "mixedlist.h"
 
@@ -213,6 +214,7 @@
char *helpfile;
DIALOG_MIXEDLIST* items;
 
+   setlocale(LC_ALL, "");
init_dialog(stdin, stdout);
errno = 0;
 
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Re: [CFT] New dialog for ports

2013-03-20 Thread David Demelier
2013/3/20 Baptiste Daroussin :
> On Wed, Mar 20, 2013 at 02:39:14AM +, Steve Wills wrote:
>> On 03/14/13 09:55, Baptiste Daroussin wrote:
>> > Hi all,
>> >
>> > Ilya A. Arkhipov wrote dialog4ports which has just been added into the 
>> > ports
>> > tree ports-mgmt/dialog4ports, this is intended to be a replacement for 
>> > dialog(1)
>> > designed specifically for the options, in particular for optionsng.
>> >
>> > It uses libdialog (recent version) and extend it with a new widget able to 
>> > deal
>> > with both normal and radio options in the same window.
>> >
>> > dialog4ports will live forever in ports so that it can easily be updated 
>> > and get
>> > support for new features on all supported arches at the same time.
>> >
>> > It bundles libdialog on FreeBSD versions that doesn't have a recent 
>> > libdialog in
>> > base (read 8.x)
>> >
>> > dialog4ports also support a new feature: it has a help dialog to be able to
>> > print a human readable help text if possible.
>> >
>> > Here is a patch to the ports tree that makes it use dialog4ports by 
>> > default.
>> > What it does is:
>> > When make config is requested and dialog4ports is not installed yet the 
>> > ports
>> > tree will install dialog4ports first.
>> >
>> > New feature for maintainer, if a pkg-help file is found inside the port
>> > directory then dialog will show to the user a help file is available et 
>> > propose
>> > him to hint F1 or ^E to show the said help file
>> >
>> > http://people.freebsd.org/~bapt/d4p.diff
>> >
>> > Please test!
>>
>> I didn't get a chance to test this before it was committed, but I'm
>> currently running into this:
>>
>>
>> % pwd
>> /usr/local/tinderbox/portstrees/FreeBSD/ports/www/apache22
>> % sudo make config
>> dialog4ports isn't installed, do you want to install it now? [Y/n] n
>> env: /usr/local/bin/dialog4ports: No such file or directory
>> ===> Options unchanged
>> %
>>
>> And I'm prompted every time. Is this how it's supposed to work?
>>
>> Steve
>>
>
> I wonder if it is worth to let the question to install dialog4ports.
>
> I mean dialog4ports being mandatory you should just be installed directly
> doesn't it?
>
> anyone have an opinion about this?
>
> I will remove the question on 27/03 if I got more please do than please don't 
> at
> that time.
>

If the user does not want dialogs at all then it should write
something like NO_DIALOG=yes in the /etc/make.conf., otherwise we
assume that the user *wants* the dialog so the question is just
no-sense for me (and for much people I guess).

So please just remove it as it's a normal dependency of the port tree.

> regards,
> Bapt



--
Demelier David
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: [HEADSUP] New make config UI

2013-03-20 Thread Baptiste Daroussin
On Wed, Mar 20, 2013 at 01:04:04AM +0100, Mark Martinec wrote:
> On 03/19/13 11:41, Baptiste Daroussin wrote:
>  > No need to install it manually it will be automatically pulled in
>  > and the switch is automated.
> 
> This breaks ports on FreeBSD 7.x, where its tar command does not know
> how to decompress an xz archive:

7.x is not supported anymore for a couple of weeks now, however I think the
breakage is just about the distfile supplied d4p is small enough to be server in
tar.gz I suppose.

However given the direction the project is taking (going to bmake) the ports
tree will probably been soon made incompatible with 7.x anyway.

regards,
Bapt


pgp9Vo5P_ThN1.pgp
Description: PGP signature


Re: [CFT] New dialog for ports

2013-03-20 Thread Baptiste Daroussin
On Wed, Mar 20, 2013 at 12:48:33AM -0400, Robert Simmons wrote:
> I'm getting the same error after the most recent portsnap update.  It
> looks like this has been added as a default for all "make config"
> commands now.  Perhaps these changes should be backed out so it's not
> the default for everything?
> 

Why won't it be the default, it is a dropin replacement because the older one
wasn't able to represent the new features. I don't see a single reason to not
switch directly from one to the other.

regards,
Bapt


pgpq87mTezNyx.pgp
Description: PGP signature


Re: [CFT] New dialog for ports

2013-03-20 Thread Baptiste Daroussin
On Wed, Mar 20, 2013 at 02:39:14AM +, Steve Wills wrote:
> On 03/14/13 09:55, Baptiste Daroussin wrote:
> > Hi all,
> > 
> > Ilya A. Arkhipov wrote dialog4ports which has just been added into the ports
> > tree ports-mgmt/dialog4ports, this is intended to be a replacement for 
> > dialog(1)
> > designed specifically for the options, in particular for optionsng.
> > 
> > It uses libdialog (recent version) and extend it with a new widget able to 
> > deal
> > with both normal and radio options in the same window.
> > 
> > dialog4ports will live forever in ports so that it can easily be updated 
> > and get
> > support for new features on all supported arches at the same time.
> > 
> > It bundles libdialog on FreeBSD versions that doesn't have a recent 
> > libdialog in
> > base (read 8.x)
> > 
> > dialog4ports also support a new feature: it has a help dialog to be able to
> > print a human readable help text if possible.
> > 
> > Here is a patch to the ports tree that makes it use dialog4ports by default.
> > What it does is:
> > When make config is requested and dialog4ports is not installed yet the 
> > ports
> > tree will install dialog4ports first.
> > 
> > New feature for maintainer, if a pkg-help file is found inside the port
> > directory then dialog will show to the user a help file is available et 
> > propose
> > him to hint F1 or ^E to show the said help file
> > 
> > http://people.freebsd.org/~bapt/d4p.diff
> > 
> > Please test!
> 
> I didn't get a chance to test this before it was committed, but I'm
> currently running into this:
> 
> 
> % pwd
> /usr/local/tinderbox/portstrees/FreeBSD/ports/www/apache22
> % sudo make config
> dialog4ports isn't installed, do you want to install it now? [Y/n] n
> env: /usr/local/bin/dialog4ports: No such file or directory
> ===> Options unchanged
> %
> 
> And I'm prompted every time. Is this how it's supposed to work?
> 
> Steve
> 

I wonder if it is worth to let the question to install dialog4ports.

I mean dialog4ports being mandatory you should just be installed directly
doesn't it?

anyone have an opinion about this?

I will remove the question on 27/03 if I got more please do than please don't at
that time.

regards,
Bapt


pgpb8hndsk0ko.pgp
Description: PGP signature


Re: www/firefox: crashing when intend to play video/streaming

2013-03-20 Thread Florent Peterschmitt
Le 20/03/2013 07:00, Chris Rees a écrit :
> On 19 Mar 2013 19:04, "O. Hartmann"  wrote:
>>
>> On Tue, 2013-03-19 at 23:30 +0900, Jan Beich wrote:
>>> "O. Hartmann"  writes:
>>>
 When trying to play  a video from YouTube or any other type of stream
> on
 a website providing it, Firefox is "crashing"
>>>
>>> ARIFF_OSS option/patch in audio/alsa-plugins is not really maintained
>>> and probably only needed for 7.x which is now EOL. It has a known
>>> issue (see ports/170473) where www/firefox built with ALSA would
>>> crash unless you set media.use_cubeb -> false in about:config.
>>>
>>> If you don't use youtube.com/html5 then my guess would be an issue
>>> with IPC e.g., libevent14 is getting in the way again. Try setting
>>> dom.ipc.plugins.enabled -> false.
>>
>> Hello.
>>
>> Thanks for this hint!
>> I deactivated ALSA in the opetions-menu (as well as RTC stuff since it
>> only builds with ALSA). I used PULSEAUDIO instead. I also configured the
>> option in Firefox itself as recommended. The result is, that now the
>> videos, no matter how they are embedded in a webpage, can be played
>> again and Firefox isn't crashing anymore. dom.ipc.plugins.enabled ->
>> true also remains the Firefox stable.
> 
> Why not try the OSS option?  Pulseaudio is usually a waste of time.
> 
> Chris

Yep, I've OSS for firefox and it works fine. PA is for dependency
purpose, isn't it ?

> ___
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
> 


-- 
Florent Peterschmitt
+33 (0)6 64 33 97 92
flor...@peterschmitt.fr



signature.asc
Description: OpenPGP digital signature


Re: www/firefox: crashing when intend to play video/streaming

2013-03-20 Thread Chris Rees
On 19 Mar 2013 19:04, "O. Hartmann"  wrote:
>
> On Tue, 2013-03-19 at 23:30 +0900, Jan Beich wrote:
> > "O. Hartmann"  writes:
> >
> > > When trying to play  a video from YouTube or any other type of stream
on
> > > a website providing it, Firefox is "crashing"
> >
> > ARIFF_OSS option/patch in audio/alsa-plugins is not really maintained
> > and probably only needed for 7.x which is now EOL. It has a known
> > issue (see ports/170473) where www/firefox built with ALSA would
> > crash unless you set media.use_cubeb -> false in about:config.
> >
> > If you don't use youtube.com/html5 then my guess would be an issue
> > with IPC e.g., libevent14 is getting in the way again. Try setting
> > dom.ipc.plugins.enabled -> false.
>
> Hello.
>
> Thanks for this hint!
> I deactivated ALSA in the opetions-menu (as well as RTC stuff since it
> only builds with ALSA). I used PULSEAUDIO instead. I also configured the
> option in Firefox itself as recommended. The result is, that now the
> videos, no matter how they are embedded in a webpage, can be played
> again and Firefox isn't crashing anymore. dom.ipc.plugins.enabled ->
> true also remains the Firefox stable.

Why not try the OSS option?  Pulseaudio is usually a waste of time.

Chris
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"