multimedia/libxine (libxine-1.1.19_1) (fetch error)

2011-01-16 Thread David Southwell

Thanks in advance for a fix for:


===  License check disabled, port has not defined LICENSE
===  Found saved configuration for libxine-1.1.19_2
= xine-vdpau.bz2 doesn't seem to exist in /usr/ports/distfiles/.
= Attempting to fetch from LOCAL/makc.
fetch: LOCAL/makcxine-vdpau.bz2: Invalid URL scheme
= Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/xine-vdpau.bz2: File 
unavailable (e.g., file not found, no access)
= Couldn't fetch it - please try to retrieve this
= port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

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

Stop in /usr/ports/multimedia/libxine.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade20110116-17387-2evu20-0 env UPGRADE_TOOL=portupgrade 
UPGRADE_PORT=libxine-1.1.19_1 UPGRADE_PORT_VER=1.1.19_1 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! multimedia/libxine (libxine-1.1.19_1) (fetch error)


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


multimedia/libxine (libxine-1.1.19_1) (fetch error)

2011-01-16 Thread David Southwell

Thanks in advance for a fix for:


===  License check disabled, port has not defined LICENSE
===  Found saved configuration for libxine-1.1.19_2
= xine-vdpau.bz2 doesn't seem to exist in /usr/ports/distfiles/.
= Attempting to fetch from LOCAL/makc.
fetch: LOCAL/makcxine-vdpau.bz2: Invalid URL scheme
= Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/xine-vdpau.bz2: File 
unavailable (e.g., file not found, no access)
= Couldn't fetch it - please try to retrieve this
= port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

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

Stop in /usr/ports/multimedia/libxine.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade20110116-17387-2evu20-0 env UPGRADE_TOOL=portupgrade 
UPGRADE_PORT=libxine-1.1.19_1 UPGRADE_PORT_VER=1.1.19_1 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! multimedia/libxine (libxine-1.1.19_1) (fetch error)


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


Re: multimedia/libxine (libxine-1.1.19_1) (fetch error)

2011-01-16 Thread John Marino

I'm new to this mailing list.  Just so I understand what just happened...

1) David Southwell found a problem with the libxine port missing a 
source file
2) He posted what he found here, expecting it to be fixed (presumably 
immediately)


Wouldn't the proper procedure be to document this in a problem report so 
it can go through the established process?  What I can't get a feel for 
is how long it actually takes to process a PR.  So is what David did ok 
for this type of problem, or he is just circumventing the process?


Serious question.

Thanks,
John




On 1/16/2011 11:30 AM, David Southwell wrote:

Thanks in advance for a fix for:


===   License check disabled, port has not defined LICENSE
===   Found saved configuration for libxine-1.1.19_2
=  xine-vdpau.bz2 doesn't seem to exist in /usr/ports/distfiles/.
=  Attempting to fetch from LOCAL/makc.
fetch: LOCAL/makcxine-vdpau.bz2: Invalid URL scheme
=  Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/xine-vdpau.bz2: File
unavailable (e.g., file not found, no access)
=  Couldn't fetch it - please try to retrieve this
=  port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

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

Stop in /usr/ports/multimedia/libxine.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20110116-17387-2evu20-0 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=libxine-1.1.19_1 UPGRADE_PORT_VER=1.1.19_1 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
 ! multimedia/libxine (libxine-1.1.19_1) (fetch error)


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


___
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: Help with audio/mangler and gsm

2011-01-16 Thread Eygene Ryabinkin
Janik, good day.

Sat, Jan 15, 2011 at 10:26:32PM -0500, Janik Galasso wrote:
 Here's the error I get when trying to configure it with the gsm codec
 (which was installed when I activated it in multimedia/ffmpeg)
 
 checking for gsm_create in -lgsm... no
 Error: cannot find libgsm: Is it installed? Also make sure you have the
libgsm development packages installed.
 exit: Illegal number: -1
 ===  Script configure failed unexpectedly.
 Please report the problem to ja...@hikarihq.com [maintainer] and attach
 the
 /usr/ports/audio/mangler/work/mangler-1.2.1/config.log including the
 output
 of the failure of your make command. Also, it might be a good idea to
 provide
 an overview of all packages installed on your system (e.g. an `ls
 /var/db/pkg`).
 *** Error code 1
 
 Stop in /usr/ports/audio/mangler.
 *** Error code 1

Try using
{{{
CONFIGURE_ENV=  CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS}
CFLAGS+=-I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
}}}
inside you port's Makefile if you really have the audio/gsm
installed and configure just unable to locate it.
-- 
Eygene Ryabinkin,,,^..^,,,
[ Life's unfair - but root password helps!   | codelabs.ru ]
[ 82FE 06BC D497 C0DE 49EC  4FF0 16AF 9EAE 8152 ECFB | freebsd.org ]


pgpHgdaM3sANN.pgp
Description: PGP signature


Re: multimedia/libxine (libxine-1.1.19_1) (fetch error)

2011-01-16 Thread Eygene Ryabinkin
Sun, Jan 16, 2011 at 10:30:30AM +, David Southwell wrote:
 Thanks in advance for a fix for:
[...]

Was already fixed by makc@,
  
http://www.freebsd.org/cgi/cvsweb.cgi/ports/multimedia/libxine/Makefile.diff?r1=1.164;r2=1.165
please, update your ports, and try again.
-- 
Eygene Ryabinkin,,,^..^,,,
[ Life's unfair - but root password helps!   | codelabs.ru ]
[ 82FE 06BC D497 C0DE 49EC  4FF0 16AF 9EAE 8152 ECFB | freebsd.org ]


pgp71YvoRIXgT.pgp
Description: PGP signature


Re: multimedia/libxine (libxine-1.1.19_1) (fetch error)

2011-01-16 Thread David Southwell

 On 1/16/2011 11:30 AM, David Southwell wrote:
  Thanks in advance for a fix for:
  
  
  ===   License check disabled, port has not defined LICENSE
  ===   Found saved configuration for libxine-1.1.19_2
  =  xine-vdpau.bz2 doesn't seem to exist in /usr/ports/distfiles/.
  =  Attempting to fetch from LOCAL/makc.
  fetch: LOCAL/makcxine-vdpau.bz2: Invalid URL scheme
  =  Attempting to fetch from
  ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. fetch:
  ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/xine-vdpau.bz2: File
  unavailable (e.g., file not found, no access)
  =  Couldn't fetch it - please try to retrieve this
  =  port manually into /usr/ports/distfiles/ and try again.
  *** Error code 1
  
  Stop in /usr/ports/multimedia/libxine.
  *** Error code 1
  
  Stop in /usr/ports/multimedia/libxine.
  ** Command failed [exit code 1]: /usr/bin/script -qa
  /tmp/portupgrade20110116-17387-2evu20-0 env UPGRADE_TOOL=portupgrade
  UPGRADE_PORT=libxine-1.1.19_1 UPGRADE_PORT_VER=1.1.19_1 make
  ** Fix the problem and try again.
  ** Listing the failed packages (-:ignored / *:skipped / !:failed)
  
   ! multimedia/libxine (libxine-1.1.19_1) (fetch error)
  
  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
 I'm new to this mailing list.  Just so I understand what just happened...
 
 1) David Southwell found a problem with the libxine port missing a
 source file
 2) He posted what he found here, expecting it to be fixed (presumably
 immediately)
 
 Wouldn't the proper procedure be to document this in a problem report so
 it can go through the established process?  What I can't get a feel for
 is how long it actually takes to process a PR.  So is what David did ok
 for this type of problem, or he is just circumventing the process?
 
 Serious question.
 
 Thanks,
 John
 
Please do not top post

Initially reporting to list and getting feedback ensures that PRs are not filed 
unecessarily

David


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


Re: multimedia/libxine (libxine-1.1.19_1) (fetch error)

2011-01-16 Thread David Southwell
 Sun, Jan 16, 2011 at 10:30:30AM +, David Southwell wrote:
  Thanks in advance for a fix for:
 [...]
 
 Was already fixed by makc@,
  
 http://www.freebsd.org/cgi/cvsweb.cgi/ports/multimedia/libxine/Makefile.di
 ff?r1=1.164;r2=1.165 please, update your ports, and try again.
Yep the  fix reached freebsd's port tree after I made the report to the list- 

david

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


Re: multimedia/libxine (libxine-1.1.19_1) (fetch error)

2011-01-16 Thread John Marino

On 1/16/2011 12:18 PM, David Southwell wrote:

Please do not top post

Initially reporting to list and getting feedback ensures that PRs are not filed
unecessarily

David


Oh sorry.  I interpreted Thanks in advance for a fix for: as the 
equivalent of an imperative statement to fix it. rather than an 
interrogative one asking for feedback about what to do.




___
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: Help with audio/mangler and gsm

2011-01-16 Thread Ruslan Mahmatkhanov

16.01.2011 14:09, Eygene Ryabinkin пишет:

Janik, good day.

Sat, Jan 15, 2011 at 10:26:32PM -0500, Janik Galasso wrote:

Here's the error I get when trying to configure it with the gsm codec
(which was installed when I activated it in multimedia/ffmpeg)

checking for gsm_create in -lgsm... no
Error: cannot find libgsm: Is it installed? Also make sure you have the
libgsm development packages installed.
exit: Illegal number: -1
===   Script configure failed unexpectedly.
Please report the problem to ja...@hikarihq.com [maintainer] and attach
the
/usr/ports/audio/mangler/work/mangler-1.2.1/config.log including the
output
of the failure of your make command. Also, it might be a good idea to
provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/audio/mangler.
*** Error code 1


Try using
{{{
CONFIGURE_ENV=  CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS}
CFLAGS+=-I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
}}}
inside you port's Makefile if you really have the audio/gsm
installed and configure just unable to locate it.


There is also --disable-gsm in CONFIGURE_ARGS that should be removed.

--
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/libxine (libxine-1.1.19_1) (fetch error)

2011-01-16 Thread Eygene Ryabinkin
John, good day.

Sun, Jan 16, 2011 at 12:01:21PM +0100, John Marino wrote:
 1) David Southwell found a problem with the libxine port missing a 
 source file
 2) He posted what he found here, expecting it to be fixed (presumably 
 immediately)
 
 Wouldn't the proper procedure be to document this in a problem
 report so it can go through the established process?

The best is to fill a PR, because is most likely won't be lost in the
noise or forgotten and it will keep the history of an entire problem.
But there are other means, for example, the problem David was referred
to was fixed as the result of the IRC chat with Maxim, as said in the
commit message
  http://lists.freebsd.org/pipermail/cvs-ports/2011-January/210424.html

IRC/Jabber/e-mail is likely the best for the simple problems, but if
they aren't addressed quickly -- open the PR.  The definition of
quickly is rather vague and left for the originator's discretion ;))

 What I can't get a feel for is how long it actually takes to process
 a PR.

It obviously depends on a PR's content, the people who're on the
loop, the time period (ports freeze, etc) and so on.  I had seen PRs
that were closed in tenth of minutes and I had seen PRs that stay
in the queue for years.  Everything depends on the specifics of the
problem and the people who are involved in the loop.
-- 
Eygene Ryabinkin,,,^..^,,,
[ Life's unfair - but root password helps!   | codelabs.ru ]
[ 82FE 06BC D497 C0DE 49EC  4FF0 16AF 9EAE 8152 ECFB | freebsd.org ]


pgpF9xbymWXr5.pgp
Description: PGP signature


Re: Help with audio/mangler and gsm

2011-01-16 Thread Gary Jennejohn
On Sat, 15 Jan 2011 22:26:32 -0500
Janik Galasso ja...@hikarihq.com wrote:

 Hi eveyrone,
 
 I recently ported audio/mangler but it was with out the gsm codec
 because at this time  did not have the knowledge nor the time to try to
 figure out how to make it work.
 
 So recently I've looked at some of the ports I installed on my machine
 and realized that multimedia/ffmpeg has it working. 
 
 Here's the error I get when trying to configure it with the gsm codec
 (which was installed when I activated it in multimedia/ffmpeg)
 
 checking for gsm_create in -lgsm... no
 Error: cannot find libgsm: Is it installed? Also make sure you have the
libgsm development packages installed.
 exit: Illegal number: -1
 ===  Script configure failed unexpectedly.
 Please report the problem to ja...@hikarihq.com [maintainer] and attach
 the
 /usr/ports/audio/mangler/work/mangler-1.2.1/config.log including the
 output
 of the failure of your make command. Also, it might be a good idea to
 provide
 an overview of all packages installed on your system (e.g. an `ls
 /var/db/pkg`).
 *** Error code 1
 
 Stop in /usr/ports/audio/mangler.
 *** Error code 1
 
 So I was wondering, does anyone have an idea on how to make see the
 installed GSM?
 

It doesn't know about /usr/local/lib.

Try setting LDFLAGS+=-L${LOCALBASE}/lib in the Makefile.

-- 
Gary Jennejohn
___
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: Help with audio/mangler and gsm

2011-01-16 Thread Eygene Ryabinkin
Ruslan, good day.

Sun, Jan 16, 2011 at 02:26:27PM +0300, Ruslan Mahmatkhanov wrote:
 There is also --disable-gsm in CONFIGURE_ARGS that should be removed.

Judging by
{{{
checking for gsm_create in -lgsm... no
Error: cannot find libgsm: Is it installed? Also make sure you have the
   libgsm development packages installed.
exit: Illegal number: -1
}}}
in the original post, Janik already enabled GSM library, because
autoconf-produced configure won't check for the functions that
live in the disabled components.
-- 
Eygene Ryabinkin,,,^..^,,,
[ Life's unfair - but root password helps!   | codelabs.ru ]
[ 82FE 06BC D497 C0DE 49EC  4FF0 16AF 9EAE 8152 ECFB | freebsd.org ]


pgpZl48zc7HYw.pgp
Description: PGP signature


Re: ports/142476: bsd.gnat.mk - improved Ada support for the ports system

2011-01-16 Thread linimon
Synopsis: bsd.gnat.mk - improved Ada support for the ports system

State-Changed-From-To: open-closed
State-Changed-By: linimon
State-Changed-When: Sun Jan 16 15:54:49 UTC 2011
State-Changed-Why: 
Closed at request of John Marino: apparently, original submitter has
abandoned this idea.

http://www.freebsd.org/cgi/query-pr.cgi?pr=142476
___
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: New port needs review: net/erlyvideo

2011-01-16 Thread Ruslan Mahmatkhanov

16.01.2011 00:31, Ruslan Mahmatkhanov пишет:

Hello!

I'm finally completed with port of erlyvideo (see erlyvideo.org for details). 
But before i'll post PR, i want that somebody review it. Because i'm sure there 
is something that can be made better. I'm attached the diff to make commenting 
more convenient but you can also download port directory if you prefer:
http://happy-nation.by.ru/ports/tb/erlyvideo.tgz

Thanks in advance for any suggestions, critics, corrections.


Just in case anybody else noticed it, there was MASTER_SITES fetch error 
in original tarball. It was pointed out by Kurt Jaeger. Now it was fixed 
and new tarball reupploaded. There is also updated diff-file:

http://happy-nation.by.ru/ports/erlyvideo.diff

There is also short usage manual:
- install the port
- cp /usr/local/etc/erlyvideo/*.conf[ig].sample into just *.conf[ig]
- then do `erlyctl start`
- place some mpeg file into /var/erlyvideo/movies
- go to http://localhost:8082/flowplayer/ with flash-aware web-browser
- click play button
- you should see your mpeg movie packed to flv and transferred to you 
via rtmp


More complicated usage scenarios (like RTSP H.264 cameras, FLME etc) is 
available on http://erlyvideo.org/docs.


--
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


Creating new port math/sprng: could need some help

2011-01-16 Thread Rainer Hurling
I am trying to create a port of SPRNG version 2, the Scalable Parallel 
Pseudo Random Number Generators Library ( http://sprng.cs.fsu.edu/ ).


There is a newer version 4 of SPRNG (not in the ports), but version 2 is 
needed for some stuff like math/R (with packages rsprng, Rmpi etc.), 
because API changed heavily afterwards.


I have only little experience in creating ports and there are some 
issues with SPRNG I could need help on. What I get until now is a port 
skeleton which is able to


(1) download and extract the tarball: I named the port 'sprng-2.0b'. Is 
it better to rename it in 'libsprng-2.0b' or something like this? As 
category I choosed 'math' and 'parallel'.


(2) build dependencies: The main dependencies seem to be math/gmp, 
net/mpich2 (and lang/gcc4x because of fortran, see below).


(3) patch some files: Is there a way to create a newline with 
@${REINPLACE_CMD} in Makefile to add another #include?


(4) get the library and testbinaries build and installed: The sources 
seem to be incompletely in some way. Only building of static library 
'libsprng.a' and no target for installing the library and testfiles was 
included. Looking around I found a way to also compile a shared library 
and get it installed (after creating an install target) and registered. 
I assume there is a more common way to do this?


The installed library works as expected for simple tasks. It is also 
regocnized by other tools who need it.


Beside this the port should support MPI (net/mpich2) and fortran 
(gcc44/gcc45/gcc46?), see sources. For MPI there are already some lines 
in the ports Makefile (lines 27-32, commented out). At the moment I had 
to deactivate both because of build failures.


Is someone willing to have a look at this port draft (see attached shar 
file, should be extracted into math/sprng)? I would really appreciate it.


Thanks in advance,
Rainer Hurling


P.S.: There are some comments in the Makefile for better understanding 
in development. Of course they will be removed before submitting any code.


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering sh file.  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#   Makefile
#   distinfo
#   files
#   files/patch-SRC_make.INTEL
#   files/patch-SRC_sprng_Makefile
#   files/patch-EXAMPLES_checkpoint-simple.c
#   files/patch-EXAMPLES_pi-simple.c
#   files/patch-EXAMPLES_spawn.c
#   files/patch-TESTS_chisquare.c
#   files/patch-TESTS_collisions.c
#   files/patch-TESTS_coupon.c
#   files/patch-TESTS_maxt.c
#   files/patch-TESTS_poker.c
#   files/patch-TESTS_random__walk.c
#   files/patch-TESTS_sum.c
#   files/patch-TESTS_init__tests.c
#   files/patch-SRC_primes__32.c
#   files/patch-SRC_primes__64.c
#   files/patch-EXAMPLES_checkpoint.c
#   pkg-descr
#   pkg-plist
#   pkg-message
#
echo x - Makefile
sed 's/^X//' Makefile  'b67911656ef5d18c4ae36cb6741b7965'
X# Ports collection makefile for:   sprng
X# Date created:05 January 2011
X# Whom:Rainer Hurling rhur...@gwdg.de
X#
X# $FreeBSD$
X
XPORTNAME=  sprng
XPORTVERSION=   2.0b
XCATEGORIES=math parallel
XMASTER_SITES=  http://sprng.fsu.edu/Version2.0/
XDISTNAME=  ${PORTNAME}${PORTVERSION}
X
XMAINTAINER=rhur...@gwdg.de
XCOMMENT=   The Scalable Parallel Random Number Generators Library
X
XLIB_DEPENDS=   gmp.10:${PORTSDIR}/math/gmp \
X   mpich.2:${PORTSDIR}/net/mpich2
X
XWRKSRC=${WRKDIR}/${PORTNAME}2.0
X
XUSE_LDCONFIG=  yes
X
X.include bsd.port.pre.mk
X
Xpost-patch:
X#   [WORKAROUND for testing mpi usage]
X#  @${REINPLACE_CMD} -e 's|#MPIDEF = -DSPRNG_MPI|MPIDEF = -DSPRNG_MPI|' \
X#  ${WRKSRC}/make.CHOICES
X#  @${REINPLACE_CMD} -e 's|#MPIDIR = 
-L/usr/local/mpi/build/LINUX/ch_p4/lib|MPIDIR = -L/usr/local/lib|' \
X#  ${WRKSRC}/SRC/make.INTEL
X#  @${REINPLACE_CMD} -e 's|#MPILIB = -lmpich|MPILIB = -lmpich|' \
X#  ${WRKSRC}/SRC/make.INTEL
X#   [GMP ready for use]
X   @${REINPLACE_CMD} -e 's|GMPLIB = -lgmp|GMPLIB = -L/usr/local/lib 
-lgmp|' \
X   ${WRKSRC}/make.CHOICES
X   @${REINPLACE_CMD} -e 's|mpi.h|mpi.h|' \
X   ${WRKSRC}/EXAMPLES/pi-simple_mpi.c \
X   ${WRKSRC}/TESTS/fft.c \
X   ${WRKSRC}/TESTS/sum.c
X#   [Avoid] warning: return type of 'main' is not 'int'
X   @${FIND} ${WRKSRC} -name *.c | ${XARGS} ${REINPLACE_CMD} -e \
X   's|void main|int main|g'
X#   [Workaround] poker.c:19: error: 'index' redeclared as different kind 
of symbol
X   @${REINPLACE_CMD} -e 's|index|indexx|' \
X   ${WRKSRC}/TESTS/poker.c
X
Xpre-install:
X   @${REINPLACE_CMD} -e 's|./||' \
X   ${WRKSRC}/checksprng \
X   ${WRKSRC}/timesprng
X   ${MKDIR} 

Re: New port needs review: net/erlyvideo

2011-01-16 Thread Jason Helfman

On Sun, Jan 16, 2011 at 08:25:18PM +0300, Ruslan Mahmatkhanov thus spake:

16.01.2011 00:31, Ruslan Mahmatkhanov пишет:

Hello!

I'm finally completed with port of erlyvideo (see erlyvideo.org for details). 
But before i'll post PR, i want that somebody review it. Because i'm sure there 
is something that can be made better. I'm attached the diff to make commenting 
more convenient but you can also download port directory if you prefer:
http://happy-nation.by.ru/ports/tb/erlyvideo.tgz

Thanks in advance for any suggestions, critics, corrections.


Just in case anybody else noticed it, there was MASTER_SITES fetch error
in original tarball. It was pointed out by Kurt Jaeger. Now it was fixed
and new tarball reupploaded. There is also updated diff-file:
http://happy-nation.by.ru/ports/erlyvideo.diff

There is also short usage manual:
- install the port
- cp /usr/local/etc/erlyvideo/*.conf[ig].sample into just *.conf[ig]
- then do `erlyctl start`
- place some mpeg file into /var/erlyvideo/movies
- go to http://localhost:8082/flowplayer/ with flash-aware web-browser
- click play button
- you should see your mpeg movie packed to flv and transferred to you
via rtmp

More complicated usage scenarios (like RTSP H.264 cameras, FLME etc) is
available on http://erlyvideo.org/docs.

--
Regards,
Ruslan


Just a couple of notes, so far...

The comment reads redundantly, and is too long so it will not display
properly when listing with pkg_info:

+COMMENT=   Erlyvideo is an RTMP flash streaming server, written in
erlang

Perhaps consider this:
RMTP flash streaming server written in erlang


It appears that git is required for the program:

--- erlyvideo.orig/files/patch-Makefile 1970-01-01 03:00:00.0 +0300
+++ erlyvideo/files/patch-Makefile  2011-01-15 15:03:24.0 +0300
@@ -0,0 +1,21 @@
+--- Makefile.orig  2010-12-16 00:51:55.0 +0300
 Makefile   2011-01-15 15:03:11.0 +0300
+@@ -19,7 +19,6 @@
+ deps/amf: update_deps
+ 
+ update_deps: rebar.config

+-  [ -d wwwroot/player ] || git clone
git://github.com/erlyvideo/erlyplayer wwwroot/player
+   ./rebar get-deps
+ 
+ 


However there is no dependency for git, if I am interpretting this
correctly. 


If this updates, or pulls down code during installation, you may
wish to package it, or not do this step. I don't believe post-fetch fetching
or updating of files to build a port is allowed through pointyhat. Others
can speak to that, though.

You may wish to consider a for loop on the make install target.
Are these directories created during the install process of the package? I
didn't see these directories created outside of the Makefile.

I noticed many '.gitignore' files in the pkg-plist. Is this necessary? I've
never worked with git before, or this application.

When submitting this as a port through the PR system, I would suggest using
the shar utility:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-submitting.html

-jgh

--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5
___
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: New port needs review: net/erlyvideo

2011-01-16 Thread Ruslan Mahmatkhanov

16.01.2011 23:44, Jason Helfman пишет:

On Sun, Jan 16, 2011 at 08:25:18PM +0300, Ruslan Mahmatkhanov thus spake:

16.01.2011 00:31, Ruslan Mahmatkhanov пишет:

Hello!

I'm finally completed with port of erlyvideo (see erlyvideo.org for
details). But before i'll post PR, i want that somebody review it.
Because i'm sure there is something that can be made better. I'm
attached the diff to make commenting more convenient but you can also
download port directory if you prefer:
http://happy-nation.by.ru/ports/tb/erlyvideo.tgz

Thanks in advance for any suggestions, critics, corrections.


Just in case anybody else noticed it, there was MASTER_SITES fetch error
in original tarball. It was pointed out by Kurt Jaeger. Now it was fixed
and new tarball reupploaded. There is also updated diff-file:
http://happy-nation.by.ru/ports/erlyvideo.diff

There is also short usage manual:
- install the port
- cp /usr/local/etc/erlyvideo/*.conf[ig].sample into just *.conf[ig]
- then do `erlyctl start`
- place some mpeg file into /var/erlyvideo/movies
- go to http://localhost:8082/flowplayer/ with flash-aware web-browser
- click play button
- you should see your mpeg movie packed to flv and transferred to you
via rtmp

More complicated usage scenarios (like RTSP H.264 cameras, FLME etc) is
available on http://erlyvideo.org/docs.

--
Regards,
Ruslan


Just a couple of notes, so far...

The comment reads redundantly, and is too long so it will not display
properly when listing with pkg_info:

+COMMENT= Erlyvideo is an RTMP flash streaming server, written in
erlang

Perhaps consider this:
RMTP flash streaming server written in erlang


Agree. I will do.


It appears that git is required for the program:

--- erlyvideo.orig/files/patch-Makefile 1970-01-01 03:00:00.0 +0300
+++ erlyvideo/files/patch-Makefile 2011-01-15 15:03:24.0 +0300
@@ -0,0 +1,21 @@
+--- Makefile.orig 2010-12-16 00:51:55.0 +0300
 Makefile 2011-01-15 15:03:11.0 +0300
+@@ -19,7 +19,6 @@
+ deps/amf: update_deps
+ + update_deps: rebar.config
+- [ -d wwwroot/player ] || git clone
git://github.com/erlyvideo/erlyplayer wwwroot/player
+ ./rebar get-deps
+ +
However there is no dependency for git, if I am interpretting this
correctly.
If this updates, or pulls down code during installation, you may
wish to package it, or not do this step. I don't believe post-fetch
fetching
or updating of files to build a port is allowed through pointyhat. Others
can speak to that, though.


As you can see this patch indeed eliminates using of git, because this 
part isn't really needed for erlyvideo to work.



You may wish to consider a for loop on the make install target.
Are these directories created during the install process of the package? I
didn't see these directories created outside of the Makefile.


Do you mean something like this?

DIRS=   /var/lib/${PORTNAME}/movies /var/lib/${PORTNAME}/plugins \
/var/log/${PORTNAME} ${ERLYDIR} ${ETCDIR} ${WWWDIR}
.for dir in ${DIRS}
${MKDIR} ${dir}
.endfor



I noticed many '.gitignore' files in the pkg-plist. Is this necessary? I've
never worked with git before, or this application.


No, it isn't needed. I'll try to delete them before install.


When submitting this as a port through the PR system, I would suggest using
the shar utility:


Yep, i know. I post the diff just to make it easy to comment in email.



http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-submitting.html


-jgh



Thank you for your suggestions!

--
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: New port needs review: net/erlyvideo

2011-01-16 Thread Jason Helfman

On Mon, Jan 17, 2011 at 12:22:59AM +0300, Ruslan Mahmatkhanov thus spake:

16.01.2011 23:44, Jason Helfman пишет:

On Sun, Jan 16, 2011 at 08:25:18PM +0300, Ruslan Mahmatkhanov thus spake:

As you can see this patch indeed eliminates using of git, because this
part isn't really needed for erlyvideo to work.


Read this wrong. Thanks, for pointing this out.


You may wish to consider a for loop on the make install target.
Are these directories created during the install process of the package? I
didn't see these directories created outside of the Makefile.


Do you mean something like this?

DIRS=   /var/lib/${PORTNAME}/movies /var/lib/${PORTNAME}/plugins \
/var/log/${PORTNAME} ${ERLYDIR} ${ETCDIR} ${WWWDIR}
.for dir in ${DIRS}
${MKDIR} ${dir}
.endfor


Yes, however are they created during a pkg_add command? Consider a recent
patch I submitted for comms/minicom.

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/153749

Directories created in Makefile process, aren't created in the packaging
process, unless you are putting the operations into a pkg-install or an
@exec operation in pkg-plist, respectively.

That is my understanding, and what I have found in fixing ports here and
there. I fixed the packaging for www/tomcat55, as well. I found that as a
port it worked fine, however package installation would fail.





I noticed many '.gitignore' files in the pkg-plist. Is this necessary? I've
never worked with git before, or this application.


No, it isn't needed. I'll try to delete them before install.


If it is included in the source, you can just add a post-patch operation
that does a find and removes them, and remove them from the pkg-plist, as
well.




When submitting this as a port through the PR system, I would suggest using
the shar utility:


Yep, i know. I post the diff just to make it easy to comment in email.


I see. Good idea.





http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-submitting.html


-jgh



Thank you for your suggestions!


Your very welcome.
Best regards,
Jason

--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5
___
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: New port needs review: net/erlyvideo

2011-01-16 Thread Wesley Shields
On Sun, Jan 16, 2011 at 01:45:57PM -0800, Jason Helfman wrote:
 On Mon, Jan 17, 2011 at 12:22:59AM +0300, Ruslan Mahmatkhanov thus spake:
 16.01.2011 23:44, Jason Helfman ??:
  On Sun, Jan 16, 2011 at 08:25:18PM +0300, Ruslan Mahmatkhanov thus spake:
 As you can see this patch indeed eliminates using of git, because this
 part isn't really needed for erlyvideo to work.
 
 Read this wrong. Thanks, for pointing this out.
 
  You may wish to consider a for loop on the make install target.
  Are these directories created during the install process of the package? I
  didn't see these directories created outside of the Makefile.
 
 Do you mean something like this?
 
 DIRS=/var/lib/${PORTNAME}/movies /var/lib/${PORTNAME}/plugins \
  /var/log/${PORTNAME} ${ERLYDIR} ${ETCDIR} ${WWWDIR}
 .for dir in ${DIRS}
  ${MKDIR} ${dir}
 .endfor
 
 Yes, however are they created during a pkg_add command? Consider a recent
 patch I submitted for comms/minicom.
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/153749
 
 Directories created in Makefile process, aren't created in the packaging
 process, unless you are putting the operations into a pkg-install or an
 @exec operation in pkg-plist, respectively.
 
 That is my understanding, and what I have found in fixing ports here and
 there. I fixed the packaging for www/tomcat55, as well. I found that as a
 port it worked fine, however package installation would fail.

Excuse me if I'm wrong but I think what Jason is getting at is empty
directories created when installing the port are not put in the package.
This is documented in the handbook:

http://www.freebsd.org/doc/en/books/porters-handbook/plist-cleaning.html

If these directories are created so that you can install files in them
(with INSTALL_FOO macros) then Jason's suggestion is not necessary,
because the files will be registered in the package and the directories
created automatically when using the package.

Not all cases of ${MKDIR} in a port are special. :)

-- WXS
___
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