CVS: cvs.openbsd.org: ports
CVSROOT:/cvs Module name:ports Changes by: feine...@cvs.openbsd.org2015/07/29 10:24:02 Modified files: math : Makefile Removed files: math/qtoctave : Makefile distinfo math/qtoctave/patches: patch-Makefile patch-configure patch-qtoctave_configure_h patch-qtoctave_qtoctave_pro math/qtoctave/pkg: DESCR PLIST Log message: Remove QtOctave No longer maintained upstream and Octave now comes with its own GUI. OK zhuk@, steven@, jasper@
CVS: cvs.openbsd.org: ports
CVSROOT:/cvs Module name:ports Changes by: feine...@cvs.openbsd.org2015/07/29 10:26:55 Modified files: devel/quirks : Makefile devel/quirks/files: Quirks.pm Log message: Register qtoctave removal
CVS: cvs.openbsd.org: ports
CVSROOT:/cvs Module name:ports Changes by: ajacou...@cvs.openbsd.org 2015/07/29 11:21:11 Modified files: www/nginx : Makefile www/nginx/pkg : nginx.rc Log message: Typo in pexp. reported by sebastia@
[PATCH] fix graphics/ffmpeg build on mips
Hi, The following diff works around a preprocessor issue in ffmpeg that only happens on mips. Without this, latest ffmpeg versions would fail with the following error: In file included from libavcodec/mips/hevcdsp_init_mips.c:21: ./libavcodec/mips/hevcdsp_mips.h:35:1: error: pasting ff_hevc_put_hevc_pel_pixels and ## does not give a valid preprocessing token It also adds --disable-mipsfpu, otherwise you get illegal instructions whenever using ffmpeg or its libraries. Tested on loongson. Index: Makefile === RCS file: /cvs/ports/graphics/ffmpeg/Makefile,v retrieving revision 1.121 diff -u -p -r1.121 Makefile --- Makefile26 Jul 2015 07:22:15 - 1.121 +++ Makefile29 Jul 2015 16:07:50 - @@ -5,6 +5,7 @@ COMMENT=audio/video converter and strea V= 20150723 DISTNAME= ffmpeg-git-${V} PKGNAME= ffmpeg-${V} +REVISION= 0 CATEGORIES=graphics multimedia MASTER_SITES= http://comstyle.com/source/ EXTRACT_SUFX= .tar.xz @@ -104,6 +105,7 @@ CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \ --disable-mips64r6 \ --disable-mipsdspr1 \ --disable-mipsdspr2 \ + --disable-mipsfpu \ --disable-msa \ --disable-neon \ --disable-outdev=oss \ Index: patches/patch-libavcodec_mips_hevcdsp_mips_h === RCS file: patches/patch-libavcodec_mips_hevcdsp_mips_h diff -N patches/patch-libavcodec_mips_hevcdsp_mips_h --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-libavcodec_mips_hevcdsp_mips_h29 Jul 2015 16:07:50 - @@ -0,0 +1,54 @@ +$OpenBSD$ + +Work around +error: pasting ff_hevc_put_hevc_pel_pixels and ## does not give a valid preprocessing token + +--- libavcodec/mips/hevcdsp_mips.h.origWed Jul 29 14:59:46 2015 libavcodec/mips/hevcdsp_mips.h Wed Jul 29 15:01:47 2015 +@@ -23,8 +23,9 @@ + + #include libavcodec/hevcdsp.h + ++#define EMPTY + #define MC(PEL, DIR, WIDTH) \ +-void ff_hevc_put_hevc_##PEL##_##DIRWIDTH##_8_msa(int16_t *dst, \ ++void ff_hevc_put_hevc_##PEL##_##DIR##EMPTY##WIDTH##_8_msa(int16_t *dst, \ + uint8_t *src, \ + ptrdiff_t src_stride, \ + int height,\ +@@ -102,7 +103,7 @@ MC(epel, hv, 64); + #undef MC + + #define UNI_MC(PEL, DIR, WIDTH) \ +-void ff_hevc_put_hevc_uni_##PEL##_##DIRWIDTH##_8_msa(uint8_t *dst, \ ++void ff_hevc_put_hevc_uni_##PEL##_##DIR##EMPTY##WIDTH##_8_msa(uint8_t *dst, \ + ptrdiff_t dst_stride, \ + uint8_t *src, \ + ptrdiff_t src_stride, \ +@@ -181,7 +182,7 @@ UNI_MC(epel, hv, 64); + #undef UNI_MC + + #define UNI_W_MC(PEL, DIR, WIDTH) \ +-void ff_hevc_put_hevc_uni_w_##PEL##_##DIRWIDTH##_8_msa(uint8_t *dst, \ ++void ff_hevc_put_hevc_uni_w_##PEL##_##DIR##EMPTY##WIDTH##_8_msa(uint8_t *dst, \ +ptrdiff_t \ +dst_stride,\ +uint8_t *src, \ +@@ -265,7 +266,7 @@ UNI_W_MC(epel, hv, 64); + #undef UNI_W_MC + + #define BI_MC(PEL, DIR, WIDTH) \ +-void ff_hevc_put_hevc_bi_##PEL##_##DIRWIDTH##_8_msa(uint8_t *dst, \ ++void ff_hevc_put_hevc_bi_##PEL##_##DIR##EMPTY##WIDTH##_8_msa(uint8_t *dst, \ + ptrdiff_t dst_stride, \ + uint8_t *src, \ + ptrdiff_t src_stride, \ +@@ -345,7 +346,7 @@ BI_MC(epel, hv, 64); + #undef BI_MC + + #define BI_W_MC(PEL, DIR, WIDTH) \ +-void ff_hevc_put_hevc_bi_w_##PEL##_##DIRWIDTH##_8_msa(uint8_t *dst, \ ++void ff_hevc_put_hevc_bi_w_##PEL##_##DIR##EMPTY##WIDTH##_8_msa(uint8_t *dst, \ + ptrdiff_t \ + dst_stride, \ + uint8_t *src, \
Re: devel/boost fails to build on sparc64
Markus Lude markus.l...@gmx.de writes: On Tue, Jul 28, 2015 at 04:42:33PM +0200, Jrmie Courrges-Anglas wrote: Stuart Henderson s...@spacehopper.org writes: Hi Jeremie, It's just complaining about -mcpu=c3 (which we don't want anyway) so this should be easy enough to fix.. Indeed. Markus, does boost successfuly package with the following patch? no, build fails not much later: I see, looks like the gcc_sparc backend is not ready for prime time. Here's a diff that should make it fall back on gcc __sync ops; I've just tested a similar diff on amd64 but the sparc64 box I use for ports hasn't been updated in a while. Could you please retry? Index: patches/patch-boost_atomic_detail_platform_hpp === RCS file: patches/patch-boost_atomic_detail_platform_hpp diff -N patches/patch-boost_atomic_detail_platform_hpp --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-boost_atomic_detail_platform_hpp 29 Jul 2015 19:53:52 - @@ -0,0 +1,12 @@ +$OpenBSD$ +--- boost/atomic/detail/platform.hpp.orig Wed Jul 29 20:47:08 2015 boost/atomic/detail/platform.hpp Wed Jul 29 21:51:19 2015 +@@ -59,7 +59,7 @@ + + #define BOOST_ATOMIC_DETAIL_PLATFORM gcc_arm + +-#elif defined(__GNUC__) defined(__sparc_v9__) ++#elif defined(__GNUC__) 0 + + #define BOOST_ATOMIC_DETAIL_PLATFORM gcc_sparc + Index: patches/patch-tools_build_src_tools_gcc_jam === RCS file: /cvs/ports/devel/boost/patches/patch-tools_build_src_tools_gcc_jam,v retrieving revision 1.2 diff -u -p -r1.2 patch-tools_build_src_tools_gcc_jam --- patches/patch-tools_build_src_tools_gcc_jam 10 Jul 2015 08:13:46 - 1.2 +++ patches/patch-tools_build_src_tools_gcc_jam 29 Jul 2015 19:53:52 - @@ -1,6 +1,6 @@ $OpenBSD: patch-tools_build_src_tools_gcc_jam,v 1.2 2015/07/10 08:13:46 jasper Exp $ --- tools/build/src/tools/gcc.jam.orig Sat Apr 4 19:25:07 2015 -+++ tools/build/src/tools/gcc.jam Fri Jul 10 10:13:10 2015 tools/build/src/tools/gcc.jam Tue Jul 28 16:36:55 2015 @@ -337,7 +337,7 @@ class gcc-pch-generator : pch-generator # Return result of base class and pch-file property as # usage-requirements. @@ -68,3 +68,127 @@ $OpenBSD: patch-tools_build_src_tools_gc } rule setup-threading ( targets * : sources * : properties * ) +@@ -1068,123 +1067,3 @@ local rule cpu-flags ( toolset variable : architecture + } + + +-# Set architecture/instruction-set options. +-# +-# x86 and compatible +-# The 'native' option appeared in gcc 4.2 so we cannot safely use it as default. +-# Use i686 instead for 32-bit. +-toolset.flags gcc OPTIONS architecturex86/address-model32/instruction-set : -march=i686 ; +-cpu-flags gcc OPTIONS : x86 : native : -march=native ; +-cpu-flags gcc OPTIONS : x86 : i486 : -march=i486 ; +-cpu-flags gcc OPTIONS : x86 : i586 : -march=i586 ; +-cpu-flags gcc OPTIONS : x86 : i686 : -march=i686 ; +-cpu-flags gcc OPTIONS : x86 : pentium : -march=pentium ; +-cpu-flags gcc OPTIONS : x86 : pentium-mmx : -march=pentium-mmx ; +-cpu-flags gcc OPTIONS : x86 : pentiumpro : -march=pentiumpro ; +-cpu-flags gcc OPTIONS : x86 : pentium2 : -march=pentium2 ; +-cpu-flags gcc OPTIONS : x86 : pentium3 : -march=pentium3 ; +-cpu-flags gcc OPTIONS : x86 : pentium3m : -march=pentium3m ; +-cpu-flags gcc OPTIONS : x86 : pentium-m : -march=pentium-m ; +-cpu-flags gcc OPTIONS : x86 : pentium4 : -march=pentium4 ; +-cpu-flags gcc OPTIONS : x86 : pentium4m : -march=pentium4m ; +-cpu-flags gcc OPTIONS : x86 : prescott : -march=prescott ; +-cpu-flags gcc OPTIONS : x86 : nocona : -march=nocona ; +-cpu-flags gcc OPTIONS : x86 : core2 : -march=core2 ; +-cpu-flags gcc OPTIONS : x86 : conroe : -march=core2 ; +-cpu-flags gcc OPTIONS : x86 : conroe-xe : -march=core2 ; +-cpu-flags gcc OPTIONS : x86 : conroe-l : -march=core2 ; +-cpu-flags gcc OPTIONS : x86 : allendale : -march=core2 ; +-cpu-flags gcc OPTIONS : x86 : wolfdale : -march=core2 -msse4.1 ; +-cpu-flags gcc OPTIONS : x86 : merom : -march=core2 ; +-cpu-flags gcc OPTIONS : x86 : merom-xe : -march=core2 ; +-cpu-flags gcc OPTIONS : x86 : kentsfield : -march=core2 ; +-cpu-flags gcc OPTIONS : x86 : kentsfield-xe : -march=core2 ; +-cpu-flags gcc OPTIONS : x86 : yorksfield : -march=core2 ; +-cpu-flags gcc OPTIONS : x86 : penryn : -march=core2 ; +-cpu-flags gcc OPTIONS : x86 : corei7 : -march=corei7 ; +-cpu-flags gcc OPTIONS : x86 : nehalem : -march=corei7 ; +-cpu-flags gcc OPTIONS : x86 : corei7-avx : -march=corei7-avx ; +-cpu-flags gcc OPTIONS : x86 : sandy-bridge : -march=corei7-avx ; +-cpu-flags gcc OPTIONS : x86 : core-avx-i : -march=core-avx-i ; +-cpu-flags gcc OPTIONS : x86 : ivy-bridge : -march=core-avx-i ; +-cpu-flags gcc OPTIONS : x86 : haswell : -march=core-avx-i -mavx2 -mfma -mbmi -mbmi2 -mlzcnt ; +-cpu-flags gcc OPTIONS : x86 : k6 : -march=k6 ; +-cpu-flags gcc OPTIONS : x86 : k6-2 : -march=k6-2 ; +-cpu-flags gcc OPTIONS :
Re: Python 2.7 update error
On Wed, Jul 29, 2015 at 03:43:03PM +0200, Landry Breuil wrote: On Tue, Jul 28, 2015 at 11:02:59PM -0400, Michael McConville wrote: I'm on yesterday's AMD64 snapshot and just updated my packages. Did anyone else see this? --- -python-2.7.10 --- Couldn't delete /usr/local/lib/python2.7/email/mime/__init__.pyc (bad checksum) Files kept as partial-python-2.7.10 package That happens randomly from time to time, over the past 2 or 3 years i think. something tampers with that file... Do our pythons still compare modification times of .py and .pyc files (and the compile timestamp stored in the .pyc files) and rebuild .pyc files when .py is newer? IIRC that had been identified as a problem a couple of years ago, but I don't know wether there was a solution. Ciao, Kili
Re: py-twitter 1.7.2 - 1.17.0
Anyone? The version we have in ports is currently broken, this update makes py-twitter useable for upcoming 5.8. I can also take maintainer. Cheers, Daniel trivial update to py-twitter, the version currently in ports is broken because twitter changed their Web API. No python3 flavor since this port installs several scripts in $PREFIX/bin that would create a collision. Works fine for basic usage on amd64. I did not test the IRC connection parts. Index: Makefile === RCS file: /cvs/ports/net/py-twitter/Makefile,v retrieving revision 1.9 diff -u -b -B -w -p -r1.9 Makefile --- Makefile2 Apr 2015 14:21:16 - 1.9 +++ Makefile19 Jul 2015 20:27:26 - @@ -2,10 +2,9 @@ COMMENT= twitter python module -MODPY_EGG_VERSION= 1.7.2 +MODPY_EGG_VERSION= 1.17.0 DISTNAME= twitter-${MODPY_EGG_VERSION} PKGNAME= py-twitter-${MODPY_EGG_VERSION} -REVISION = 0 CATEGORIES=net www Index: distinfo === RCS file: /cvs/ports/net/py-twitter/distinfo,v retrieving revision 1.4 diff -u -b -B -w -p -r1.4 distinfo --- distinfo18 Jan 2015 03:14:51 - 1.4 +++ distinfo19 Jul 2015 20:27:26 - @@ -1,2 +1,2 @@ -SHA256 (twitter-1.7.2.tar.gz) = p/S4EDrJS38Wq5D0e8Gprv3yROGhbs+q0HWFYjiIkbY= -SIZE (twitter-1.7.2.tar.gz) = 20959 +SHA256 (twitter-1.17.0.tar.gz) = hTlsTDO5shPz0tgFyq9rOGueJ3r5EX61Hlp4L3clc3Y= +SIZE (twitter-1.17.0.tar.gz) = 42869 Index: pkg/PLIST === RCS file: /cvs/ports/net/py-twitter/pkg/PLIST,v retrieving revision 1.2 diff -u -b -B -w -p -r1.2 PLIST --- pkg/PLIST 27 Jun 2011 21:13:23 - 1.2 +++ pkg/PLIST 19 Jul 2015 20:27:26 - @@ -1,5 +1,7 @@ @comment $OpenBSD: PLIST,v 1.2 2011/06/27 21:13:23 jasper Exp $ bin/twitter +bin/twitter-archiver +bin/twitter-follow bin/twitter-log bin/twitter-stream-example bin/twitterbot @@ -17,22 +19,32 @@ lib/python${MODPY_VERSION}/site-packages lib/python${MODPY_VERSION}/site-packages/twitter/ansi.pyc lib/python${MODPY_VERSION}/site-packages/twitter/api.py lib/python${MODPY_VERSION}/site-packages/twitter/api.pyc +lib/python${MODPY_VERSION}/site-packages/twitter/archiver.py +lib/python${MODPY_VERSION}/site-packages/twitter/archiver.pyc lib/python${MODPY_VERSION}/site-packages/twitter/auth.py lib/python${MODPY_VERSION}/site-packages/twitter/auth.pyc lib/python${MODPY_VERSION}/site-packages/twitter/cmdline.py lib/python${MODPY_VERSION}/site-packages/twitter/cmdline.pyc +lib/python${MODPY_VERSION}/site-packages/twitter/corrupt.py +lib/python${MODPY_VERSION}/site-packages/twitter/corrupt.pyc +lib/python${MODPY_VERSION}/site-packages/twitter/follow.py +lib/python${MODPY_VERSION}/site-packages/twitter/follow.pyc lib/python${MODPY_VERSION}/site-packages/twitter/ircbot.py lib/python${MODPY_VERSION}/site-packages/twitter/ircbot.pyc lib/python${MODPY_VERSION}/site-packages/twitter/logger.py lib/python${MODPY_VERSION}/site-packages/twitter/logger.pyc lib/python${MODPY_VERSION}/site-packages/twitter/oauth.py lib/python${MODPY_VERSION}/site-packages/twitter/oauth.pyc +lib/python${MODPY_VERSION}/site-packages/twitter/oauth2.py +lib/python${MODPY_VERSION}/site-packages/twitter/oauth2.pyc lib/python${MODPY_VERSION}/site-packages/twitter/oauth_dance.py lib/python${MODPY_VERSION}/site-packages/twitter/oauth_dance.pyc lib/python${MODPY_VERSION}/site-packages/twitter/stream.py lib/python${MODPY_VERSION}/site-packages/twitter/stream.pyc lib/python${MODPY_VERSION}/site-packages/twitter/stream_example.py lib/python${MODPY_VERSION}/site-packages/twitter/stream_example.pyc +lib/python${MODPY_VERSION}/site-packages/twitter/timezones.py +lib/python${MODPY_VERSION}/site-packages/twitter/timezones.pyc lib/python${MODPY_VERSION}/site-packages/twitter/twitter_globals.py lib/python${MODPY_VERSION}/site-packages/twitter/twitter_globals.pyc lib/python${MODPY_VERSION}/site-packages/twitter/util.py
CVS: cvs.openbsd.org: ports
CVSROOT:/cvs Module name:ports Changes by: jtur...@cvs.openbsd.org 2015/07/29 11:39:49 Modified files: security/reop : Makefile Log message: Update HOMEPAGE, MASTER_SITES and bump. ok sthen@
CVS: cvs.openbsd.org: ports
CVSROOT:/cvs Module name:ports Changes by: ajacou...@cvs.openbsd.org 2015/07/29 01:55:35 Modified files: devel/libgsf : Makefile distinfo Log message: Bugfix update to libgsf-1.14.34.
CVS: cvs.openbsd.org: ports
CVSROOT:/cvs Module name:ports Changes by: ajacou...@cvs.openbsd.org 2015/07/29 02:12:16 Modified files: devel/goffice : Makefile distinfo Log message: Bugfix update to goffice-0.10.23.
CVS: cvs.openbsd.org: ports
CVSROOT:/cvs Module name:ports Changes by: ajacou...@cvs.openbsd.org 2015/07/29 02:41:10 Modified files: textproc/meld : Makefile Log message: Missing RUN_DEPENDS (unbreak runtime).
CVS: cvs.openbsd.org: ports
CVSROOT:/cvs Module name:ports Changes by: ajacou...@cvs.openbsd.org 2015/07/29 01:59:36 Modified files: devel/maven: Makefile distinfo devel/maven/pkg: PLIST Log message: Update to maven-3.3.1 and bump java version. from and ok ian@
CVS: cvs.openbsd.org: ports
CVSROOT:/cvs Module name:ports Changes by: rob...@cvs.openbsd.org 2015/07/29 05:36:38 Modified files: www/chromium : Makefile distinfo Log message: update to 44.0.2403.125; add a hack to build the generated resources to avoid random build failures
[NEW] net/py-dnslib
$COMMENT: library to en/decode DNS wire-format packets for Python pkg/DESCR: library to en/decode DNS wire-format packets for Python. This is a standard Python library (https://pypi.python.org/pypi/dnslib) that I would like to add to OpenBSD because I need it to support several Python-based security scanning tools. This is my first Python library so any comments or questions? If not, would anyone be willing to commit this on my behalf? (apologies for not including the attachment last time) Thanks, Bryan py-dnslib.tgz Description: GNU Zip compressed data
CVS: cvs.openbsd.org: ports
CVSROOT:/cvs Module name:ports Changes by: ajacou...@cvs.openbsd.org 2015/07/29 06:13:17 Modified files: audio/sonata : Makefile x11/arandr : Makefile Log message: Needs devel/gettext-tools.
Re: Python 2.7 update error
On Tue, Jul 28, 2015 at 11:02:59PM -0400, Michael McConville wrote: I'm on yesterday's AMD64 snapshot and just updated my packages. Did anyone else see this? --- -python-2.7.10 --- Couldn't delete /usr/local/lib/python2.7/email/mime/__init__.pyc (bad checksum) Files kept as partial-python-2.7.10 package That happens randomly from time to time, over the past 2 or 3 years i think. something tampers with that file... Landry