multimedia/vlc compile error with latest upgrade

2010-11-17 Thread David Southwell

Hi

Does anyone know how to fix this one

Thanks in advance

david
gmake[6]: Leaving directory 
`/usr/ports/multimedia/vlc/work/vlc-1.1.5/modules/misc/xml'
gmake[5]: Leaving directory 
`/usr/ports/multimedia/vlc/work/vlc-1.1.5/modules/misc/xml'
gmake[5]: Entering directory 
`/usr/ports/multimedia/vlc/work/vlc-1.1.5/modules/misc'
  CC libfreetype_plugin_la-freetype.lo
  CC libgnutls_plugin_la-gnutls.lo
  CC libinhibit_plugin_la-inhibit.lo
  CC libxdg_screensaver_plugin_la-xdg.lo
inhibit/xdg.c: In function 'Thread':
inhibit/xdg.c:119: warning: unused variable 'argv'
  CC libxscreensaver_plugin_la-xscreensaver.lo
freetype.c: In function 'Create':
freetype.c:388: warning: pointer targets in passing argument 3 of 
'FcPatternAddString' differ in signedness
freetype.c:389: warning: pointer targets in passing argument 3 of 
'FcPatternAddString' differ in signedness
freetype.c:409: warning: passing argument 4 of 'FcPatternGetString' from 
incompatible pointer type
freetype.c:350: warning: unused variable 't2'
freetype.c: In function 'LoadFontsFromAttachments':
freetype.c:544: warning: 'vlc_object_find' is deprecated (declared at 
../../include/vlc_objects.h:74)
  CC libaudioscrobbler_plugin_la-audioscrobbler.lo
inhibit/xscreensaver.c:55: error: expected specifier-qualifier-list before 
'posix_spawn_file_actions_t'
inhibit/xscreensaver.c: In function 'Activate':
inhibit/xscreensaver.c:91: error: implicit declaration of function 
'posix_spawn_file_actions_init'
inhibit/xscreensaver.c:91: error: 'vlc_inhibit_sys_t' has no member named 
'actions'
inhibit/xscreensaver.c:94: error: implicit declaration of function 
'posix_spawn_file_actions_adddup2'
inhibit/xscreensaver.c:94: error: 'vlc_inhibit_sys_t' has no member named 
'actions'
inhibit/xscreensaver.c:95: error: 'vlc_inhibit_sys_t' has no member named 
'actions'
inhibit/xscreensaver.c:96: error: implicit declaration of function 
'posix_spawn_file_actions_addclose'
inhibit/xscreensaver.c:96: error: 'vlc_inhibit_sys_t' has no member named 
'actions'
inhibit/xscreensaver.c:98: error: 'vlc_inhibit_sys_t' has no member named 
'nullfd'
inhibit/xscreensaver.c:101: error: implicit declaration of function 
'posix_spawnattr_init'
inhibit/xscreensaver.c:101: error: 'vlc_inhibit_sys_t' has no member named 
'attr'
inhibit/xscreensaver.c:103: error: implicit declaration of function 
'posix_spawnattr_setsigmask'
inhibit/xscreensaver.c:103: error: 'vlc_inhibit_sys_t' has no member named 
'attr'
inhibit/xscreensaver.c: In function 'Deactivate':
inhibit/xscreensaver.c:117: error: 'vlc_inhibit_sys_t' has no member named 
'nullfd'
inhibit/xscreensaver.c:118: error: 'vlc_inhibit_sys_t' has no member named 
'nullfd'
inhibit/xscreensaver.c:119: error: implicit declaration of function 
'posix_spawnattr_destroy'
inhibit/xscreensaver.c:119: error: 'vlc_inhibit_sys_t' has no member named 
'attr'
inhibit/xscreensaver.c:120: error: implicit declaration of function 
'posix_spawn_file_actions_destroy'
inhibit/xscreensaver.c:120: error: 'vlc_inhibit_sys_t' has no member named 
'actions'
inhibit/xscreensaver.c: In function 'Execute':
inhibit/xscreensaver.c:133: warning: unused parameter 'p_ih'
inhibit/xscreensaver.c:133: warning: unused parameter 'argv'
gmake[5]: *** [libxscreensaver_plugin_la-xscreensaver.lo] Error 1
gmake[5]: *** Waiting for unfinished jobs
gmake[5]: Leaving directory 
`/usr/ports/multimedia/vlc/work/vlc-1.1.5/modules/misc'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory 
`/usr/ports/multimedia/vlc/work/vlc-1.1.5/modules/misc'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory 
`/usr/ports/multimedia/vlc/work/vlc-1.1.5/modules/misc'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-1.1.5/modules'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-1.1.5'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/multimedia/vlc.
*** Error code 1

Stop in /usr/ports/multimedia/vlc.


Photographic Artist
Permanent Installations  Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography  Official Portraiture
Combined darkroom  digital creations
 Systems Adminstrator for the vizion2000.net network
___
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


[PATCH] Proposal for a new option framework

2010-11-17 Thread Baptiste Daroussin
Hi all,

I'd like to expose you a new proposal for the framework option.

First the problem with the actual situation.
the option framework has some problems :
- for a given option we have two variable : WITH_OPT WITHOUT_OPT only
having to check one will be great.
- the option framework isn't consistent : if you set a WITH_BLA in
/etc/make.conf, make config doesn't mind about it for example.

So here is my proposal and a patch that implements it :

for porters :
3 types of options : simple, group and list
- simple options are the same as the current options (ie user can
activate what ever they wants)
- group options are options where at least one has to be set (1-N)
- list options are options where only one has to be set and only one
can be set (exclusive options)

a maintainer can defined them it the ports and some can be defined system wide.

every options can have a description but this is not mandatory.

maintainer can set default options (DEFAULT_OPTS) and remove global
options that the ports doesn't support yet OPTS_RM.

in a ports how to define them like this

OPTS= OPT1 OPT2 OPT3

OPTS_GROUP= GRP1 GRP2
OPTS_GROUP_GRP1= OPT4 OPT5
OPTS_GROUP_GRP2= OPT6 OPT7

OPTS_LIST= LIST1
OPTS_LIST_LIST1= OPT8 OTP9 OPT10


DEFAULT_OPTS= OPT2 OPT3 OPT9 OPT7 OPT8 OPT4
OPTS_RM= NLS NOPORTDOCS

to define a desciption for a given option :
OPT1_DESC= Description of my option

make showoptions will present all the options and their descriptions :

=== The following configuration options are available:
OPT1=off: Description of my option
OPT2=on
OPT3=on
 Options available for the group GRP1: you have to choose at
least one of them
OPT4=on
OPT5=off
 Options available for the group GRP2: you have to choose at
least one of them
OPT6=off
OPT7=on
 Options available for the group LIST1: you have to select only one of them
OPT8=on
OPT9=off
OPT10=off

a user can set in make.conf global options for the whole ports :
OPTS_SET= OPT1 OPT3
of unset them system wide
OPTS_UNSET= OPT10 OPT15

per port options can be specified in two ways for a given ports :
through /etc/make.conf:
${UNIQUENAME}_OPTS_SET= OPT1

${UNIQUENAME}_OPTS_UNSET= OPT2

for zsh it would be:
zsh_OPTS_SET= OPT1
zsh_OPTS_UNSET= OPT2

through /var/db/ports/${UNIQUENAME}/opts (in case we add a dialog like feature)
OPTS_SET= OPT1
OPTS_UNSET= OPT2

The framework check how the options are set in the following way :
1/ set the default options has wanted by the maintainer
2/ override them using the system wide options (OPTS_(UN)SET)
3/ the per ports defined options in /var/db/ports/${UNIQUENAME}/opts
4/ the per ports defined options in make.conf ${UNIQUENAME}_OPTS_(UN)SET

We can maintain some generic options descriptions like it is done in the KNOBS

for the maintainer to check if an option is set or not, we do not need
to choose between WITHOUT ou WITH option the options as to be checked
that way:
if !empty(PORTS_OPTS:MOPT1)
@${ECHO_CMD}  the options OPT1 is set
.else
@${ECHO_CMD} the options OPT2 is not set
.endif

the framework check (check-options) for the consitency for the options
set (exclusive options and 1-n option)

In the patch nothing is activated by default (user has make
check-options himself currently)
there is nothing to create /var/db/ports/${UNIQUENAME}/opts it don't
really like having a gui for that but I understand some prefers and I
am checking how to make dialog4ports able to do the job.

The new framework can live with the old one
The implementation is really really simple.
In the implementation I added 3 global options: NOPORTDOCS NOPORTDATA
NOPORTEXAMPLES
Variable names are temporary if you have better ideas :)

I think it is quite easy to extend to add features later.

http://people.freebsd.org/~bapt/ports-newopts.patch

regards,
Bapt
___
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


[solved] Re: [freebsd] pecl-imagick - Segmentation fault: 11 (core dumped) on php -i under freebsd 7.3

2010-11-17 Thread Olivier Mueller
Hello and thanks for your feedback!

On Tue, 2010-11-16 at 13:03 +0100, end...@gmail.com wrote:
  [...@pandora ~]$ php -v -c /usr/local/etc/php.ini-production 
  PHP 5.3.2 with Suhosin-Patch (cli) (built: Jun 14 2010 18:11:48) 
  Copyright (c) 1997-2009 The PHP Group
  Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
  Segmentation fault: 11 (core dumped)
  
 Here's what did it for me :
 remove the following lines from 
 /usr/ports/textproc/libxml2/files/patch-configure and rebuild+reinstall 
 libxml2
 @@ -20678,6 +20679,8 @@ fi
fi
fi
 ;;
 +   *freebsd*) THREAD_LIBS=
 +   ;;
  esac
  if test $WITH_THREADS = 1 ; then
 THREAD_CFLAGS=$THREAD_CFLAGS -D_REENTRANT

 I found this somewhere but cannot remember the thread url unfortunately...

Brillant! It fixed the issue, many thanks. 

CC'ing both ports manager (pecl-imagick and libxml2). It would be nice
if this could be fixed in the ports tree directly: are these patch lines
still required by other packages? 

Regards,
Olivier


PS: something probably related is visable under
http://forums.freebsd.org/archive/index.php/t-8965.html 


___
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


pixman update

2010-11-17 Thread Ruslan Mahmatkhanov

Hi!

Xorg could not start after pixman update. It exists with:

Fatal server error:
xf86OpenPccons: CONSOLE_X_MODE_OFF failed (Inappropriate ioctl for device)
Was expecting pccons driver with X support
Check your kernel's console driver configuration and /dev entries


All is now fine after x11-servers/xorg-server rebuilding.
Shuldn't we bump PORTREVISION for xorg-server?

--
Regards,
Ruslan
___
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: multimedia/vlc compile error with latest upgrade

2010-11-17 Thread Greg Rivers

On Wed, 17 Nov 2010, David Southwell wrote:


Does anyone know how to fix this one



I'm seeing the same build failure, but only on FreeBSD 7.3.  It builds 
fine for me on FreeBSD 8.1.


--
Greg
___
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: [PATCH] Proposal for a new option framework

2010-11-17 Thread Eitan Adler
On Wed, Nov 17, 2010 at 9:58 AM, Baptiste Daroussin
baptiste.darous...@gmail.com wrote:
 Hi all,

 I'd like to expose you a new proposal for the framework option.

...

For the people that missed my original thread, I've been working on a
dialog replacement for ports. The program is a
a) free (MIT licensed)
b) smart enough to deal with mutually exclusive options and user-input options
c) have the ability have long descriptions of options
d) more

The source code that I've been working on is here:
https://code.google.com/p/dialog4ports/source/browse/

This program could integrate well with bapt's patch.
Comments, testing, review is welcome - especially in concert with bapt's patch.

-- 
Eitan Adler
___
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] mplayer / mencoder port update

2010-11-17 Thread Thomas Zander
Hi,

I have prepared a new tarball, for download at the usual location:

http://www.rrr.de/~riggs/mplayer/m20101117.tar.bz2

Most notable changes:
- remove volume-per-channel patch, instead pkg-message explains the
issue and the solutions
- remove RUN_DEPENDS for live media

@Martin: Do you have plans for an x264 update? I'd like to commit
mplayer after we have a suitable x264 port.

Have fun
Riggs
___
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: [PATCH] Proposal for a new option framework

2010-11-17 Thread Chip Camden
Quoth Eitan Adler on Wednesday, 17 November 2010:
 On Wed, Nov 17, 2010 at 9:58 AM, Baptiste Daroussin
 baptiste.darous...@gmail.com wrote:
  Hi all,
 
  I'd like to expose you a new proposal for the framework option.
 
 ...
 
 For the people that missed my original thread, I've been working on a
 dialog replacement for ports. The program is a
 a) free (MIT licensed)
 b) smart enough to deal with mutually exclusive options and user-input options
 c) have the ability have long descriptions of options
 d) more
 
 The source code that I've been working on is here:
 https://code.google.com/p/dialog4ports/source/browse/
 
 This program could integrate well with bapt's patch.
 Comments, testing, review is welcome - especially in concert with bapt's 
 patch.
 
 -- 
 Eitan Adler
 ___
 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

I downloaded it and tried it out.  Whenever I try to navigate around the
options, I get a File specified does not exist error.  I looked at the
source, and it appears to be looking for a license (or licence (sic))
file, but I didn't even specify one.

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpjUdG37dvDo.pgp
Description: PGP signature


Re: multimedia/vlc compile error with latest upgrade

2010-11-17 Thread Gary Kline
On Wed, Nov 17, 2010 at 01:38:30PM -0600, Greg Rivers wrote:
 On Wed, 17 Nov 2010, David Southwell wrote:
 
 Does anyone know how to fix this one
 
 
 I'm seeing the same build failure, but only on FreeBSD 7.3.  It
 builds fine for me on FreeBSD 8.1.
 
 -- 
 Greg

Folks,

As most of you know, i'm a [very] late adapter.  (I've gotten 
severely burned trying NEW, IMPROVED stuff.  So I'm using the 
3 2-bit 7.3.  And having massive build failures when trying to
build things like KDE4 and a couple other things.  

Anybody else have troubles of this kind: 7.3 vs 8.x?  I have
almost/___Almost___ finished my new-improved energy saving
hardware upgrades.  I don't like messing with things that 
work, even if not-completely.  --Besides, didn't somebody mention
that 5.7 was almost the same as 6.0.rc1?

gary

PS: more along these lines coming

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
Journey Toward the Dawn, E-Book:
  http://www.thought.org/#JTTD
___
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: [PATCH] Proposal for a new option framework

2010-11-17 Thread Eitan Adler
 I downloaded it and tried it out.  Whenever I try to navigate around the
 options, I get a File specified does not exist error.  I looked at the
 source, and it appears to be looking for a license (or licence (sic))
 file, but I didn't even specify one.

Can you please send me :
a) the exact command line you are using
b) the contents of the directory you are running it in
c) the version or revision that you are testing

Most likely you specified some file --hfile or --licence-text which
would cause D4P to look for a file. If you did not specify those
options, of if you did but those files exists, then there is a bug in
my code.

Please note that the newest version of the code is available by running
hg clone http://dialog4ports.googlecode.com/hg/ dialog4ports

If you are using version 12 or earlier (which can be found on
isis.poly.edu) there are missing files from the package and it will
not run.

-- 
Eitan Adler
___
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