Re: [CFT] boinc-astropulse port

2010-02-18 Thread Rene Ladan
2010/2/8 Rene Ladan :
> On 08-02-2010 23:11, Rene Ladan wrote:
>> Hi,
>>
>> attached is a shell archive for version 5.06 of the Astropulse client of
>> the s...@home project, as well as an infrastructure-only update of the
>> s...@home client.  The latter is required because both subprojects share
>> the same app_info.xml file.
>>
>> Work units for Astropulse seem quite scarce, which means I didn't get
>> one myself yet.  So I'm not sure if the calculations will be correct,
>> but on the other hand the source code is original, except for some
>> changes to make it compile against the current release version of
>> s...@home instead of the current development version.
>>
>> I would be interested in the actual results of the boinc-astropulse port.
>>
> Almost forgot to mention that currently the boinc-astropulse port can
> only be built *with* the screen saver, so it will drag in extra
> build/run dependencies.
>
I just slightly changed the Makefile and files/pkg-install.in of both
boinc-astropulse
and boinc-setiathome to set the owner and group of app_info.xml to $BOINC_USER
and $BOINC_GROUP instead of root:nobody.  This is analogous to the other boinc
ports.

Rene
--
http://www.rene-ladan.nl/

GPG fingerprint = ADBC ECCD EB5F A6B4 549F  600D 8C9E 647A E564 2BFC
(subkeys.pgp.net)
___
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] boinc-astropulse port

2010-02-09 Thread Morgan Wesström
> I guess the optimizations from Lunatic also make their way back into the
> official source code?

That's true and the optimizations from Lunatics usually find their way
into the official code over time.
/Morgan
___
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] boinc-astropulse port

2010-02-09 Thread Rene Ladan
2010/2/9 Morgan Wesström :
> Rene Ladan wrote:
>> Hi,
>>
>> attached is a shell archive for version 5.06 of the Astropulse client of
>> the s...@home project, as well as an infrastructure-only update of the
>> s...@home client.  The latter is required because both subprojects share
>> the same app_info.xml file.
>>
>> Work units for Astropulse seem quite scarce, which means I didn't get
>> one myself yet.  So I'm not sure if the calculations will be correct,
>> but on the other hand the source code is original, except for some
>> changes to make it compile against the current release version of
>> s...@home instead of the current development version.
>>
>> I would be interested in the actual results of the boinc-astropulse port.
>>
>> Thanks,
>> Rene
>>
>
> May I direct your attention to the Lunatic's website where they provide
> an optimized 64-bit version of the Astropulse client.
> http://lunatics.kwsn.net/index.php?module=Downloads;catd=38
> It has been tried and tested for at least 6 months and the results
> verified. It's also 4-5 times faster than the original client.

I see.  You can of course use those binaries if you like.

The goal of the port and those binaries are different: the binaries are indeed
optimized for SSE2 and SSE3 enabled 64-bit (amd64) machines and will not
run on other machines. The port is more like a wrapper around the native
source code so it will run on any FreeBSD machine.

I guess the optimizations from Lunatic also make their way back into the
official source code?

> /Morgan

Regards,
Rene
-- 
http://www.rene-ladan.nl/

GPG fingerprint = ADBC ECCD EB5F A6B4 549F  600D 8C9E 647A E564 2BFC
(subkeys.pgp.net)
___
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] boinc-astropulse port

2010-02-09 Thread Morgan Wesström
Rene Ladan wrote:
> Hi,
> 
> attached is a shell archive for version 5.06 of the Astropulse client of
> the s...@home project, as well as an infrastructure-only update of the
> s...@home client.  The latter is required because both subprojects share
> the same app_info.xml file.
> 
> Work units for Astropulse seem quite scarce, which means I didn't get
> one myself yet.  So I'm not sure if the calculations will be correct,
> but on the other hand the source code is original, except for some
> changes to make it compile against the current release version of
> s...@home instead of the current development version.
> 
> I would be interested in the actual results of the boinc-astropulse port.
> 
> Thanks,
> Rene
> 

May I direct your attention to the Lunatic's website where they provide
an optimized 64-bit version of the Astropulse client.
http://lunatics.kwsn.net/index.php?module=Downloads;catd=38
It has been tried and tested for at least 6 months and the results
verified. It's also 4-5 times faster than the original client.
/Morgan
___
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] boinc-astropulse port

2010-02-08 Thread Rene Ladan
On 08-02-2010 23:11, Rene Ladan wrote:
> Hi,
> 
> attached is a shell archive for version 5.06 of the Astropulse client of
> the s...@home project, as well as an infrastructure-only update of the
> s...@home client.  The latter is required because both subprojects share
> the same app_info.xml file.
> 
> Work units for Astropulse seem quite scarce, which means I didn't get
> one myself yet.  So I'm not sure if the calculations will be correct,
> but on the other hand the source code is original, except for some
> changes to make it compile against the current release version of
> s...@home instead of the current development version.
> 
> I would be interested in the actual results of the boinc-astropulse port.
> 
Almost forgot to mention that currently the boinc-astropulse port can
only be built *with* the screen saver, so it will drag in extra
build/run dependencies.

> Thanks,
> Rene

-- 
http://www.rene-ladan.nl/

GPG fingerprint = ADBC ECCD EB5F A6B4 549F  600D 8C9E 647A E564 2BFC
(subkeys.pgp.net)
___
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"


[CFT] boinc-astropulse port

2010-02-08 Thread Rene Ladan
Hi,

attached is a shell archive for version 5.06 of the Astropulse client of
the s...@home project, as well as an infrastructure-only update of the
s...@home client.  The latter is required because both subprojects share
the same app_info.xml file.

Work units for Astropulse seem quite scarce, which means I didn't get
one myself yet.  So I'm not sure if the calculations will be correct,
but on the other hand the source code is original, except for some
changes to make it compile against the current release version of
s...@home instead of the current development version.

I would be interested in the actual results of the boinc-astropulse port.

Thanks,
Rene
-- 
http://www.rene-ladan.nl/

GPG fingerprint = ADBC ECCD EB5F A6B4 549F  600D 8C9E 647A E564 2BFC
(subkeys.pgp.net)
# 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:
#
#   boinc-astropulse
#   boinc-astropulse/pkg-descr
#   boinc-astropulse/distinfo
#   boinc-astropulse/pkg-plist
#   boinc-astropulse/Makefile
#   boinc-astropulse/files
#   boinc-astropulse/files/pkg-install.in
#   boinc-astropulse/files/pkg-message.in
#   boinc-astropulse/files/patch-client_configure.ac
#   boinc-astropulse/files/patch-client_m4_sah_check_boinc.m4
#   boinc-astropulse/files/pkg-deinstall.in
#   boinc-astropulse/files/patch-client_Makefile.am
#   boinc-astropulse/files/patch-legacy-server_db_ap_schema.cpp
#
echo c - boinc-astropulse
mkdir -p boinc-astropulse > /dev/null 2>&1
echo x - boinc-astropulse/pkg-descr
sed 's/^X//' >boinc-astropulse/pkg-descr << 'ba111c0dfde6e0fc817fec10baf5b404'
XSETI - Search for Extra-Terrestrial Intelligence -- AstroPulse
X
XThe project listens for broad-band, short-time pulses that might represent
Xextraterrestial intelligence, or other phenomena such as rapidly rotating
Xpulsars or exploding primordial black holes.
X
XThe port automatically optimizes for the host CPU using the CPUTYPE
Xvariable in /etc/make.conf
X
XWWW: http://setiathome.berkeley.edu/
ba111c0dfde6e0fc817fec10baf5b404
echo x - boinc-astropulse/distinfo
sed 's/^X//' >boinc-astropulse/distinfo << '14865789e7d628051272f32f7a3f17c4'
XMD5 (astropulse-svn-562.tar.bz2) = 0ef9a54db0c603f9302017c751e57e57
XSHA256 (astropulse-svn-562.tar.bz2) = 
30abe5e64428b07106763903bcfc8149cdf5fde6dc84b3ddce7247d491441e5f
XSIZE (astropulse-svn-562.tar.bz2) = 1377080
14865789e7d628051272f32f7a3f17c4
echo x - boinc-astropulse/pkg-plist
sed 's/^X//' >boinc-astropulse/pkg-plist << '87de1f91fc33c52eef7bd1fffdbdfc45'
x...@cwd %%BOINC_HOME%%/projects
X%%SETI_SITE%%/%%AP_BINARY%%
X%%X11SETI_SITE%%/ap_graphics
x...@dirrmtry %%SETI_SITE%%
87de1f91fc33c52eef7bd1fffdbdfc45
echo x - boinc-astropulse/Makefile
sed 's/^X//' >boinc-astropulse/Makefile << 'd060143090403850dfd87df95de76456'
X# New ports collection makefile for:   boinc-astropulse
X# Date created:8 July 2009
X# Whom:Rene Ladan 
X# $FreeBSD$
X#
X
XPORTNAME=  boinc-astropulse
XPORTVERSION=   5.06
XCATEGORIES=astro
XMASTER_SITES=  ftp://rene-ladan.nl/pub/distfiles/
XDISTNAME=  astropulse-svn-562
X
XMAINTAINER=r...@freebsd.org
XCOMMENT=   Astropulse for BOINC
X
XEXTRACT_DEPENDS=${NONEXISTENT}:${PORTSDIR}/astro/boinc-setiathome-enhanced:patch
XBUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3 \
X   
${LOCALBASE}/include/boinc/std_fixes.h:${PORTSDIR}/net/boinc-client \
X   ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash
XRUN_DEPENDS=   boinc_client:${PORTSDIR}/net/boinc-client
XLIB_DEPENDS=   fftw3f:${PORTSDIR}/math/fftw3-float
X
XUSE_AUTOTOOLS= autoconf:262:env automake:110:env
XUSE_BZIP2= yes
XGNU_CONFIGURE= yes
XUSE_GMAKE= yes
XUSE_GNOME= pkgconfig
XWRKSRC=${WRKDIR}/${DISTNAME}/client
X
XCFLAGS+=   -O2 -I${LOCALBASE}/include/boinc -I${LOCALBASE}/include 
-L${LOCALBASE}/lib
X.if defined(CPUTYPE)
XCFLAGS+=   -march=${CPUTYPE}
X.endif
X
X# these must match settings in ${PORTSDIR}/net/boinc-client/Makefile
XBOINC_USER?=   boinc
XBOINC_GROUP?=  nobody
XBOINC_HOME?=   /var/db/boinc
X
XOPTIONS=   X11 "Build screensaver" on
X
X.include 
X
X# TODO fix upstream
X.if defined(WITHOUT_X11)
XBROKEN=Currently Astropulse requires X11 to build
X.endif
X
X.if !defined(WITHOUT_X11)
X.if !exists(${LOCALBASE}/lib/libboinc_graphics2.a)
XBROKEN=Reinstall net/boinc-client with X11 enabled for screensavers
X.endif
XLIB_DEPENDS+=  jpeg.11:${PORTSDIR}/graphics/jpeg \
X   xcb.2:${PORTSDIR}/x11/libxcb
XUSE_GL=gl glu glut
XUSE_XORG=  ice sm x11 xau xext xi xdamage xdmcp xfixes xmu xt xxf86vm
XPLIST_SUB+=X11=""
X.else
XCONFIGURE_ARGS+=   --disable-graphics
XPLIST_SUB+=X11="@comment "
X.endif
X