Re: [PROPOSAL] Ports using SCM repositories as source instead of distfiles

2008-12-14 Thread आशीष शुक्ल Ashish Shukla

In aeac14f0-5f2d-462b-94a9-0f859f87e...@gmail.com, Garrett Cooper wrote:

On Dec 9, 2008, at 10:13 AM, Dmitry Marakasov wrote:


It's not like your proposal is bad, ports instantaneously tracking
upstream changes and not needing maintainers would really be cool,
but unfortunately that's practically impossible.


Some software projects are switching over to this kind of a model, like 
glibc.


What kind of model ? You mean using repositories instead of release tarballs, 
hmm..?


--
Ashish Shukla


pgpWV5NKyVVmz.pgp
Description: PGP signature


Possibly unbuildable ports reminder

2008-12-14 Thread Bill Fenner
Dear porters,

  This is just a reminder to please periodically check the list of
unbuildable ports at http://pointyhat.freebsd.org/errorlogs/ .
A list by MAINTAINER is

http://people.freebsd.org/~fenner/errorlogs/

so you can easily check the status of ports that you maintain.  In
addition, the list of ports with no MAINTAINER with build problems is

http://people.freebsd.org/~fenner/errorlogs/po...@freebsd.org.html

Since no one is responsible for these ports, the problem won't get
fixed unless someone on this list takes the initiative.

Thanks for your help!

Bill annoying port email Fenner
___
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: [PROPOSAL] Ports using SCM repositories as source instead of distfiles

2008-12-14 Thread Ashish Shukla आशीष शुक्ल
Dmitry Marakasov writes:
 * Ashish Shukla आशीष शुक्ल (wahjava...@gmail.com) wrote:

  No. If there's DESTDIR, you don't need to log writes to it, as you
  can just use `find` to see what's there after installation as in
  quote below. The idea is that if we log all writes to the fulesystem
  during port installation, we don't need intermediate directory at
  all.
 
 Okay, so if we go with your approach, then can you tell me how do you
 plan to go about logging writes to filesystem with your .so which you're
 planning to preload as you mentioned in one of your mails in this thread ?

 The idea is to redefine functions that execute syscalls which will
 modify the filesystem add add loging there. Here's a test code
 http://www.amdmi3.ru/files/ldpreload.c. Compile it into shared lib
 and run `LD_PRELOAD=path_to_lib.so someapp`.

Cool, this works great :) .

 It turned out to be not the best solution as it relies on environment
 heavily, and some apps may clear the environment (scons does this
 by default), or call syscalls via syscall(), instead of libc wrapper,
 thus it's not reliable enough.

 Another way is ptrace, which should intercept syscalls without fail.

So, we're going with ptrace way, lets hope this way is foolproof :) .

Thanks
-- 
Ashish Shukla


pgp4YUYqe8cYg.pgp
Description: PGP signature


Where are the java/jdk16 files?

2008-12-14 Thread Jens Schweikhardt
hello, world\n

i grabbed the latest ports.tar.gz and make fetch in java/jdk16 tells me

[...]
 Please open http://download.java.net/jdk6/6u3/promoted/b05/index.html
 in a web browser.  Download the
 Update 3 Source, jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar and the
 Source Binaries, jdk-6u3-fcs-bin-b05-jrl-24_sep_2007.jar and the
 Mozilla Headers, jdk-6u3-fcs-mozilla_headers-b05-unix-24_sep_2007.jar .
[...]

I can't find these files on that page. I surfed around half of
download.java.net to find them elsewhere. No joy. Please hit me with the
clue bat. :-)

No, I'm not in a country where the paragraph at the page bottom
applies: International Use Restrictions - Due to limited intellectual
property protection and enforcement in certain countries, the JDK source
code may only be distributed to an authorized list of countries. You
will not be able to access the source code if you are downloading from a
country that is not on this list. We are continuously reviewing this
list for addition of other countries.

Even from freefall the page looks the same...

Regards,

Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)
___
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: Where are the java/jdk16 files?

2008-12-14 Thread Jens Schweikhardt
On Mon, Dec 15, 2008 at 01:38:31AM +1100, Some Dude wrote:
# do a google search for the exact name of the first file, then click on  
# the cached page that'll show the sources and links

Thanks, dude ;-)

That was exactly what I a minuta after sending to the list. But still,
it appears that someone messed up the download page with the wrong
contents. It's all java binary packages when the page is supposed to
contain src jars (as it is still the case for the google-cached page;
man, I love the google cache!). I ended up on the very same page from
other links saying Source. My intention is to bring this to the port
maintainer's attention (Cc'd). Maybe they know a contact at Sun to fix
the page contents.

Regards,

Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)
___
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


APNG patch for graphics/png port

2008-12-14 Thread Coleman Kane
Hello,

I recently played with building Thunderbird 3.0b1 from source (it works
pretty well, btw). I was playing with some of the options to enable
using the system versions of a number of libraries, rather than relying
upon statically linking them into the project.

One thing that I noticed was the APNG patch from here:
  * http://littlesvr.ca/apng/.
This seems to be expected by Thunderbird and is part of the latest
source tree. Mozilla has been maintaining a format spec here:
  * https://wiki.mozilla.org/APNG_Specification

Sadly the patch has lagged behind the latest releases of libpng. I
merged the patch into the latest version (1.2.33) that we use, and have
made an appropriate change to the port files of graphics/png. I think
that APNG support from libpng may be useful in other software as well.

I am attaching the patch, to apply in /usr/ports, for anyone to test. So
far it doesn't seem to regress anything for me, and I can use
thunderbird 3 with --with-system-png=/usr/local in my .mozconfig. I'd
like to see some other testers, and get a comment from the graphics/png
maintainer.

-- 
Coleman Kane
--- graphics/png/Makefile
+++ graphics/png/Makefile
@@ -7,6 +7,7 @@
 
 PORTNAME=	png
 PORTVERSION=	1.2.33
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	lib${PORTNAME}
@@ -34,8 +35,15 @@ MAN3=		libpng.3 libpngpf.3
 MAN5=		png.5
 MANCOMPRESSED=	maybe
 
+OPTIONS=	APNG	Enable APNG Support	on
+
 .include bsd.port.pre.mk
 
+.if defined(WITH_APNG)
+PATCH_SITES= http://people.FreeBSD.org/~cokane/patches/
+PATCHFILES+=	libpng-apng.patch
+.endif
+
 post-extract:
 # Please don't delete the following line - this link used by ghostscript* ports
 	@${LN} -sf ${WRKSRC} ${WRKDIR}/libpng
--- graphics/png/distinfo
+++ graphics/png/distinfo
@@ -1,3 +1,6 @@
 MD5 (libpng-1.2.33.tar.bz2) = 0532c28ba1b17ee2095ad50731c2c75c
 SHA256 (libpng-1.2.33.tar.bz2) = af3a8150fedaf3ea561c10c59fa828f71f732ade06e3f3d13fa453629c470800
 SIZE (libpng-1.2.33.tar.bz2) = 651555
+MD5 (libpng-apng.patch) = fb1696d9e16d7813a1e7410ad1649612
+SHA256 (libpng-apng.patch) = f406d7899aeac2d3e634b14b98dbb53f2b671265d711f564eaf380ae37048fbc
+SIZE (libpng-apng.patch) = 54713


signature.asc
Description: This is a digitally signed message part


Re: Where are the java/jdk16 files?

2008-12-14 Thread Gary Kline
On Sun, Dec 14, 2008 at 05:36:08PM +0100, Jens Schweikhardt wrote:
 On Mon, Dec 15, 2008 at 01:38:31AM +1100, Some Dude wrote:
 # do a google search for the exact name of the first file, then click on  
 # the cached page that'll show the sources and links
 
 Thanks, dude ;-)
 
 That was exactly what I a minuta after sending to the list. But still,
 it appears that someone messed up the download page with the wrong
 contents. It's all java binary packages when the page is supposed to
 contain src jars (as it is still the case for the google-cached page;
 man, I love the google cache!). I ended up on the very same page from
 other links saying Source. My intention is to bring this to the port
 maintainer's attention (Cc'd). Maybe they know a contact at Sun to fix
 the page contents.
 
 Regards,
 
   Jens


just a footnote: after _years_ of poking around sun's links, i
finally tried google. and YES.  god bless mommy and daddy, godbless
google-cache... .

-g
 -- 
 Jens Schweikhardt http://www.schweikhardt.net/
 SIGSIG -- signature too long (core dumped)
 ___
 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

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 2.12a release of Jottings: http://jottings.thought.org/index.php

___
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


Problem using GNU autotools

2008-12-14 Thread Rodrigo (ros)

Hi,

I'm in trouble updating a port.
The configuration / compilation and install manually from the console 
works fine.


When I try to integrate it in a port Makefile, some configure scripts 
fail whit this message :


[...]
configure: warning: build_alias=amd64-portbld-freebsd6.3: invalid host type
configure: error: can only configure for one host and one target at a time
[...]

As I can see this is caused by configuration scrpts generated by 2 
versions of autoconf (2.13 and 2.61), who doesn't handle the same options.


Looking inside the subdirectories I discover few Makefine.am or 
config.ac, but not all are in. So I can't use the alternative way to 
generate the makefiles...


It looks weird, but how can I handle this properly ? - I remember you 
./configure without options works fine -


Cheers,
Rodrigo OSORIO



___
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: APNG patch for graphics/png port

2008-12-14 Thread Coleman Kane
On Mon, 2008-12-15 at 02:28 +0300, Andrey Chernov wrote:
 On Sun, Dec 14, 2008 at 01:22:34PM -0500, Coleman Kane wrote:
  One thing that I noticed was the APNG patch from here:
* http://littlesvr.ca/apng/.
  This seems to be expected by Thunderbird and is part of the latest
  source tree. Mozilla has been maintaining a format spec here:
* https://wiki.mozilla.org/APNG_Specification
 
 It should be either accepted by libpng developers (and this way appears in 
 the png port automatically) or separate slave apng port should be made. 
 Porter is poor replacement for developer, especially considering lots of 
 security holes libpng long history.
 

That is a good point, though the author of libpng suggests the MNG
format for animated graphics (and JNG as a jpeg version). This leads me
to believe that he's probably uninterested in actually incorporating the
APNG patch into libpng.

Honestly, I don't understand why the mozilla people have decided to push
this APNG standard now. Maybe I'll just go and post into that mozilla
issue a complain about wasting development time on an unfinished spec
that seems like a reimplementation of MNG.

I'll write to Greg (author) and see what he says. This is one of those
annoying points in software evolution where big entity A begins
spreading around a patched version of Author B's software, which may end
up rivaling Author B's implementation of the patch's functionality.

-- 
Coleman Kane


signature.asc
Description: This is a digitally signed message part


Most Pager

2008-12-14 Thread David Karapetyan
FreeBSD home19.hsd1.in.comcast.net 7.0-RELEASE-p6 FreeBSD 
7.0-RELEASE-p6 #0: Mon Nov 24 06:43:33 UTC 2008 
r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

Hello everyone. My most pager stopped working properly a few minutes 
ago. I do not recall changing any settings. The problem is occurring 
with how it renders colors; I have specified in my mostrc that text be 
highlighted in green; however, most renders everything in black and 
white. Does anyone know how to remedy this; it was working fine a few 
hours ago. 

-- 
--
Best,
David Karapetyan
http://davidkarapetyan.homeunix.com
University of Notre Dame
Department of Mathematics
255 Hurley Hall
Notre Dame, IN 46556-4618
Phone: 574-631-5706
Cell:  202-460-5173
Fax:   574-631-6579

___
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: Most Pager

2008-12-14 Thread Max Laier
On Monday 15 December 2008 04:58:11 David Karapetyan wrote:
   FreeBSD home19.hsd1.in.comcast.net 7.0-RELEASE-p6 FreeBSD
 7.0-RELEASE-p6 #0: Mon Nov 24 06:43:33 UTC 2008
 r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

 Hello everyone. My most pager stopped working properly a few minutes
 ago. I do not recall changing any settings. The problem is occurring
 with how it renders colors; I have specified in my mostrc that text be
 highlighted in green; however, most renders everything in black and
 white. Does anyone know how to remedy this; it was working fine a few
 hours ago.

Is your TERMCAP environment set (correctly)?

-- 
/\  Best regards,  | mla...@freebsd.org
\ /  Max Laier  | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mla...@efnet
/ \  ASCII Ribbon Campaign  | Against HTML Mail and News
___
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: APNG patch for graphics/png port

2008-12-14 Thread Jeremy Messenger

On Sun, 14 Dec 2008 12:22:34 -0600, Coleman Kane cok...@freebsd.org
wrote:


Hello,

I recently played with building Thunderbird 3.0b1 from source (it works
pretty well, btw). I was playing with some of the options to enable
using the system versions of a number of libraries, rather than relying
upon statically linking them into the project.


We should keep compile static link, because PNG folks disapprove Mozilla's  
APNG patch. It's what we did with Firefox 3.


Cheers,
Mezz


One thing that I noticed was the APNG patch from here:
  * http://littlesvr.ca/apng/.
This seems to be expected by Thunderbird and is part of the latest
source tree. Mozilla has been maintaining a format spec here:
  * https://wiki.mozilla.org/APNG_Specification

Sadly the patch has lagged behind the latest releases of libpng. I
merged the patch into the latest version (1.2.33) that we use, and have
made an appropriate change to the port files of graphics/png. I think
that APNG support from libpng may be useful in other software as well.

I am attaching the patch, to apply in /usr/ports, for anyone to test. So
far it doesn't seem to regress anything for me, and I can use
thunderbird 3 with --with-system-png=/usr/local in my .mozconfig. I'd
like to see some other testers, and get a comment from the graphics/png
maintainer.



--
me...@cox.net  -  m...@freebsd.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gn...@freebsd.org
___
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