Re: firefox png

2012-08-23 Thread Jamie Paul Griffin
[ Polytropon wrote on Thu 23.Aug'12 at  2:00:15 +0200 ]

 On Wed, 22 Aug 2012 19:43:55 -0400, david coder wrote:
  thx, i hadn't seen the reply to my earlier message.
  
  unfortunately, though i've got the png port installed w/ 
  
  OPTIONS=APNG Animated PNG support On
 
 That should be the default. Anyway, you can always check which
 options had been in use when building and installing a port:
 
   % cat /var/db/ports/png/options
   # This file is auto-generated by 'make config'.
   # No user-servicable parts inside!
   # Options for png-1.4.8
   _OPTIONS_READ=png-1.4.8
   WITH_APNG=true
 
 In this example you can see that it has been properly installed.
 
 
 
  the install of freebsd fails w/ the error message given below.
 
 Sadly the Firefox build error message is not included. 
 
 
 
  is there something else required in the png makefile or elsewhere that i'm
  missing?
 
 I'm sure this entry of /usr/ports/UPDATING applies:
 
 20120531:
   AFFECTS: users of graphics/png
   AUTHOR: din...@freebsd.org
 
   The PNG library has been updated to version 1.5.10.  Please rebuild all
   ports that depend on it.

I built Firefox 14 a couple of days ago and png installed is now version 
1.5.12. So an updated ports tree should incorporate that change now shouldn't 
it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: firefox png

2012-08-23 Thread david coder

+++ Jamie Paul Griffin [23/08/12 07:54 +0100]:

[ Polytropon wrote on Thu 23.Aug'12 at  2:00:15 +0200 ]


On Wed, 22 Aug 2012 19:43:55 -0400, david coder wrote:
 thx, i hadn't seen the reply to my earlier message.
 
 unfortunately, though i've got the png port installed w/ 
 
 	OPTIONS=APNG Animated PNG support On


That should be the default. Anyway, you can always check which
options had been in use when building and installing a port:

% cat /var/db/ports/png/options
# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for png-1.4.8
_OPTIONS_READ=png-1.4.8
WITH_APNG=true

In this example you can see that it has been properly installed.



 the install of freebsd fails w/ the error message given below.

Sadly the Firefox build error message is not included. 




 is there something else required in the png makefile or elsewhere that i'm
 missing?

I'm sure this entry of /usr/ports/UPDATING applies:

20120531:
  AFFECTS: users of graphics/png
  AUTHOR: din...@freebsd.org

  The PNG library has been updated to version 1.5.10.  Please rebuild all
  ports that depend on it.


I built Firefox 14 a couple of days ago and png installed is now version 
1.5.12. So an updated ports tree should incorporate that change now shouldn't 
it.


true, but from what i have been able to sniff out on my own, ports
configuration data are stored in /usr/local/include, not anywhere in the ports
tree, so that if png has been installed already  you do a make showconfig
in /usr/ports/graphics/png, the data are read from files in /usr/local/include,
 if you run make config in /usr/ports/graphics/png, the files affected by
any change are in /usr/local/include, not anywhere in the ports tree.

this has been a learning experience for me  prolly will continue to be as
others here correct me.

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


port configuration data [was re: firefox png]

2012-08-23 Thread david coder

+++ david coder [23/08/12 12:26 -0400]:

+++ Jamie Paul Griffin [23/08/12 07:54 +0100]:

[ Polytropon wrote on Thu 23.Aug'12 at  2:00:15 +0200 ]


On Wed, 22 Aug 2012 19:43:55 -0400, david coder wrote:
 thx, i hadn't seen the reply to my earlier message.
  unfortunately, though i've got the png port installed w/   
	OPTIONS=APNG Animated PNG support On


That should be the default. Anyway, you can always check which
options had been in use when building and installing a port:

% cat /var/db/ports/png/options
# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for png-1.4.8
_OPTIONS_READ=png-1.4.8
WITH_APNG=true

In this example you can see that it has been properly installed.



 the install of freebsd fails w/ the error message given below.

Sadly the Firefox build error message is not included. 




 is there something else required in the png makefile or elsewhere that i'm
 missing?

I'm sure this entry of /usr/ports/UPDATING applies:

20120531:
  AFFECTS: users of graphics/png
  AUTHOR: din...@freebsd.org

  The PNG library has been updated to version 1.5.10.  Please rebuild all
  ports that depend on it.


I built Firefox 14 a couple of days ago and png installed is now version 
1.5.12. So an updated ports tree should incorporate that change now shouldn't 
it.


true, but from what i have been able to sniff out on my own, ports
configuration data are stored in /usr/local/include, not anywhere in the ports
tree, so that if png has been installed already  you do a make showconfig
in /usr/ports/graphics/png, the data are read from files in /usr/local/include,
 if you run make config in /usr/ports/graphics/png, the files affected by
any change are in /usr/local/include, not anywhere in the ports tree.

this has been a learning experience for me  prolly will continue to be as
others here correct me.

david coder
___


it's happened already:  in another post here, polytropon gives a more central
role to /var/db/ports/png/options.  if i understand him correctly, make
showconfig executed in /usr/ports/graphics/png reads from that file.
changes made through make config change both that file  files in
/usr/local/include  subdirectories thereof.

please correct me if i'm wrong.

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


Re: firefox png

2012-08-23 Thread Polytropon
On Thu, 23 Aug 2012 12:26:18 -0400, david coder wrote:
 +++ Jamie Paul Griffin [23/08/12 07:54 +0100]:
 [ Polytropon wrote on Thu 23.Aug'12 at  2:00:15 +0200 ]
 
  On Wed, 22 Aug 2012 19:43:55 -0400, david coder wrote:
   thx, i hadn't seen the reply to my earlier message.
   
   unfortunately, though i've got the png port installed w/ 
   
OPTIONS=APNG Animated PNG support On
  
  That should be the default. Anyway, you can always check which
  options had been in use when building and installing a port:
  
 % cat /var/db/ports/png/options
 # This file is auto-generated by 'make config'.
 # No user-servicable parts inside!
 # Options for png-1.4.8
 _OPTIONS_READ=png-1.4.8
 WITH_APNG=true
  
  In this example you can see that it has been properly installed.
  
  
  
   the install of freebsd fails w/ the error message given below.
  
  Sadly the Firefox build error message is not included. 
  
  
  
   is there something else required in the png makefile or elsewhere that 
   i'm
   missing?
  
  I'm sure this entry of /usr/ports/UPDATING applies:
  
  20120531:
AFFECTS: users of graphics/png
AUTHOR: din...@freebsd.org
  
The PNG library has been updated to version 1.5.10.  Please rebuild all
ports that depend on it.
 
 I built Firefox 14 a couple of days ago and png installed is now version 
 1.5.12. So an updated ports tree should incorporate that change now 
 shouldn't it.
 
 true, but from what i have been able to sniff out on my own, ports
 configuration data are stored in /usr/local/include, not anywhere in the ports
 tree, so that if png has been installed already  you do a make showconfig
 in /usr/ports/graphics/png, the data are read from files in 
 /usr/local/include,
  if you run make config in /usr/ports/graphics/png, the files affected by
 any change are in /usr/local/include, not anywhere in the ports tree.

That's not fully correct. Ports _configuration_ (what you select
with make configure) is not stored inside the ports tree -- so
far correct. It's _not_ stored in /usr/local/include. Anything
that will go to those directory subtree will be installed there
only by a make install step, not by make configure. The
options set for a port by make configure (even if no make or
make install follows) is /var/db/ports/name/options, where
name is the name of the port in question. This data will be
queried by make showconfig. See the example shown above.

make configure - data into /var/db/ports/name/options

make - data into /usr/ports/category/name/work/...

make install - data into /usr/local and its subtrees

The directory /usr/local/include is intended to hold header files
for interfacing with various libraries. It doesn't have anything
to do with ports _configuration_; it's designated content _may_
be affected by how a port is configured (by its own options or
by implicit dependencies and _their_ content).



 this has been a learning experience for me  prolly will continue to be as
 others here correct me.

See man 7 ports for an overview of how ports are utilized on
FreeBSD. There's also a chapter in The FreeBSD Handbook dealing
with ports. As soon as you have understood the simple mechanisms
that build the basic parts the ports infrastructure works on,
you will be quickly able to resolve all issues easily.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: port configuration data [was re: firefox png]

2012-08-23 Thread Polytropon
On Thu, 23 Aug 2012 12:41:41 -0400, david coder wrote:
 it's happened already:  in another post here, polytropon gives a more central
 role to /var/db/ports/png/options.  if i understand him correctly, make
 showconfig executed in /usr/ports/graphics/png reads from that file.
 changes made through make config change both that file  files in
 /usr/local/include  subdirectories thereof.

Nothing in /usr/local is going to be changed until make install
(or make deinstall respectively) is executed. In /usr/local/include
header files are _installed_ for accessing library functions, mostly
a means for programmers to interface with software.

But it's correct that you mention /usr/local/include/libpng/pngconf.h
here. It's not to be changed by make configure, but it will be
created by make install, reflecting the properties libpng has
been installed with; it's a machine configurable file for libpng
by its own declaration. It belongs to the png port, _not_ to the
port configuration subsystem (which is _independent_ from the
ports theirselves.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: port configuration data [was re: firefox png]

2012-08-23 Thread david coder

+++ Polytropon [23/08/12 19:17 +0200]:

On Thu, 23 Aug 2012 12:41:41 -0400, david coder wrote:

it's happened already:  in another post here, polytropon gives a more central
role to /var/db/ports/png/options.  if i understand him correctly, make
showconfig executed in /usr/ports/graphics/png reads from that file.
changes made through make config change both that file  files in
/usr/local/include  subdirectories thereof.


Nothing in /usr/local is going to be changed until make install
(or make deinstall respectively) is executed. In /usr/local/include
header files are _installed_ for accessing library functions, mostly
a means for programmers to interface with software.

But it's correct that you mention /usr/local/include/libpng/pngconf.h
here. It's not to be changed by make configure, but it will be
created by make install, reflecting the properties libpng has
been installed with; it's a machine configurable file for libpng
by its own declaration. It belongs to the png port, _not_ to the
port configuration subsystem (which is _independent_ from the
ports theirselves.




--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


thx for the correction  further education, polytropon.  much obliged.

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


Re: firefox png

2012-08-22 Thread Polytropon
On Wed, 22 Aug 2012 19:01:50 -0400, david coder wrote:
 is there a system png that comes w/ 8.3 that is distinct from the ports png?
 if not, how explain that install of firefox-14.0.1 fails w/ the error message
 that the system png does not support APNG even though the makefile for the
 png port contains the line
 
   OPTIONS=APNG Animated PNG support On
 
 ?
 
 i am puzzled.

The question has already been answered on 2012-08-02.

http://lists.freebsd.org/pipermail/freebsd-questions/2012-August/243984.html

You need to recompile the PNG library (from ports, does _not_
belong to the system - it's /usr/ports/graphics/png that will
install libpng to your system) with the Animated PNG support
(APNG) option [x] set. After doing so, you will be able to resume
your Firefox build. See man ports or the manual of your port
management tool (e. g. portmaster) on how to do that. Make sure
you do make clean prior to that attempt.

From the error message which you _have not shown_ (so I'm just
guessing) it seems that libpng has been installed without the
animation support. If you can make sure it's properly installed
and you still get the error, please _show_ the error here so a
better diagnostics step can be done.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: firefox png

2012-08-22 Thread david coder

thx, i hadn't seen the reply to my earlier message.

unfortunately, though i've got the png port installed w/ 


OPTIONS=APNG Animated PNG support On

the install of freebsd fails w/ the error message given below.

is there something else required in the png makefile or elsewhere that i'm
missing?

some writers have insisted that a recent install of the os is also needed,
but that is also a non-issue for my boxes:  they're up to date.

installing firefox is not as urgent for me since chrome is adequate for most
purposes, but still...

thx for your reply.  any further thoughts would be appreciated.

david

+++ Polytropon [23/08/12 01:17 +0200]:

On Wed, 22 Aug 2012 19:01:50 -0400, david coder wrote:

is there a system png that comes w/ 8.3 that is distinct from the ports png?
if not, how explain that install of firefox-14.0.1 fails w/ the error message
that the system png does not support APNG even though the makefile for the
png port contains the line

OPTIONS=APNG Animated PNG support On

?

i am puzzled.


The question has already been answered on 2012-08-02.

http://lists.freebsd.org/pipermail/freebsd-questions/2012-August/243984.html

You need to recompile the PNG library (from ports, does _not_
belong to the system - it's /usr/ports/graphics/png that will
install libpng to your system) with the Animated PNG support
(APNG) option [x] set. After doing so, you will be able to resume
your Firefox build. See man ports or the manual of your port
management tool (e. g. portmaster) on how to do that. Make sure
you do make clean prior to that attempt.


From the error message which you _have not shown_ (so I'm just

guessing) it seems that libpng has been installed without the
animation support. If you can make sure it's properly installed
and you still get the error, please _show_ the error here so a
better diagnostics step can be done.


--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

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


Re: firefox png

2012-08-22 Thread Polytropon
On Wed, 22 Aug 2012 19:43:55 -0400, david coder wrote:
 thx, i hadn't seen the reply to my earlier message.
 
 unfortunately, though i've got the png port installed w/ 
 
   OPTIONS=APNG Animated PNG support On

That should be the default. Anyway, you can always check which
options had been in use when building and installing a port:

% cat /var/db/ports/png/options
# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for png-1.4.8
_OPTIONS_READ=png-1.4.8
WITH_APNG=true

In this example you can see that it has been properly installed.



 the install of freebsd fails w/ the error message given below.

Sadly the Firefox build error message is not included. 



 is there something else required in the png makefile or elsewhere that i'm
 missing?

I'm sure this entry of /usr/ports/UPDATING applies:

20120531:
  AFFECTS: users of graphics/png
  AUTHOR: din...@freebsd.org

  The PNG library has been updated to version 1.5.10.  Please rebuild all
  ports that depend on it.

  If you use portmaster:
portmaster -r png-
  If you use portupgrade:
portupgrade -fr graphics/png

It's easy to do so as the required commands are provided. Make
sure your ports tree is up to date and follow the advice to
install all ports depending on the _latest_ libpng (which you
seem to have installed, as you confirmed).



 some writers have insisted that a recent install of the os is also needed,
 but that is also a non-issue for my boxes:  they're up to date.

That is only needed when a 3rd party program or library requires
a newer OS version. The OS itself does not provide a PNG library.
If such a requirement is present, ports usually refuse to build
on older systems (the Makefile refuses to continue working if the
minimum OS version is not met). Such a change in a port will
definitely be mentioned in /usr/ports/UPDATING, a file worth
checking whenever dealing with updates as it often contains
important information regarding such changes.



 installing firefox is not as urgent for me since chrome is adequate for most
 purposes, but still...

I also have Firefox installed here, even though it's not up to
date, perfectly fitting the system's outdatedness. :-) I had
no problems installing it. Examining the Makefile of Firefox
(/usr/ports/www/firefox/Makefile) I don't see anything that
mentions libpng or animated PNG support. Maybe this is a
dependency of a dependency of Firefox?

Again, this seems to match the entry of /usr/ports/UPDATING.
It does _not_ require you to reinstall your OS. Where would
we be if every little package addition would force the OS to
be reinstalled... :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: firefox png

2012-08-22 Thread Dan Nelson
In the last episode (Aug 22), david coder said:
 thx, i hadn't seen the reply to my earlier message.
 
 unfortunately, though i've got the png port installed w/ 
 
   OPTIONS=APNG Animated PNG support On

This line just tells you what the default is on a system that hasn't built
the png port yet.  Before 2011-07-08, the default was Off.
 
 the install of freebsd fails w/ the error message given below.

What does make showconfig in the ports/graphics/png directory print?  I
bet you first installed the png port over a year ago, so you have inherited
the Off value from then.

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: firefox png

2012-08-22 Thread david coder

+++ Dan Nelson [22/08/12 19:01 -0500]:

In the last episode (Aug 22), david coder said:

thx, i hadn't seen the reply to my earlier message.

unfortunately, though i've got the png port installed w/ 


OPTIONS=APNG Animated PNG support On


This line just tells you what the default is on a system that hasn't built
the png port yet.  Before 2011-07-08, the default was Off.


the install of freebsd fails w/ the error message given below.


What does make showconfig in the ports/graphics/png directory print?  I
bet you first installed the png port over a year ago, so you have inherited
the Off value from then.

--
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions


right on!  thank you.

david coder
dcodernet


To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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