FreeBSD Bugzilla – Attachment 160319 Details for
Bug 202634
[PATCH] graphics/cimg: Update to 1.6.4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
cimg-1.6.4,3.patch
cimg-1.6.4,3.patch (text/plain), 4.48 KB, created by
Naram Qashat
on 2015-08-25 02:57:54 UTC
(
hide
)
Description:
cimg-1.6.4,3.patch
Filename:
MIME Type:
Creator:
Naram Qashat
Created:
2015-08-25 02:57:54 UTC
Size:
4.48 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 395046) >+++ Makefile (working copy) >@@ -2,16 +2,13 @@ > # $FreeBSD$ > > PORTNAME= cimg >-PORTVERSION= 1.6.2 >+DISTVERSIONPREFIX= v >+DISTVERSION= 1.6.4 > PORTEPOCH= 3 > CATEGORIES= graphics devel >-MASTER_SITES= SF/${PORTNAME} \ >- SF/${PORTNAME}/older_versions >-DISTNAME= CImg_${PORTVERSION} >-DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}_${TARBALLREVISION} > > MAINTAINER= thierry@FreeBSD.org >-COMMENT= The C++ Template Image Processing Library >+COMMENT= C++ Template Image Processing Library > > LICENSE= CeCILL_C CeCILL > LICENSE_COMB= dual >@@ -25,8 +22,9 @@ > ONLY_FOR_ARCHS= i386 amd64 > ONLY_FOR_ARCHS_REASON= "invokes i386 asm" > >-TARBALLREVISION=0 >-USES= zip >+USE_GITHUB= yes >+GH_ACCOUNT= dtschump >+GH_PROJECT= CImg > > .if !defined(WITHOUT_LAPACK) > . if defined(WITH_ATLAS) >@@ -36,18 +34,17 @@ > . endif > .endif > >-WRKSRC= ${WRKDIR}/${DISTNAME:C/_/-/} > BUILD_WRKSRC= ${WRKSRC}/examples >-MAKE_ENV= X11PATH=${LOCALBASE} LOCALBASE=${LOCALBASE} >-CPPFLAGS+= ${CFLAGS} >-LDFLAGS+= -lpthread > > OPTIONS_DEFINE= DOCS EXAMPLES > > .include <bsd.port.options.mk> > >+.if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MEXAMPLES} >+USES+= gmake >+.endif >+ > .if ${PORT_OPTIONS:MDOCS} >-USES+= gmake > REINPLACE_ARGS= -i "" > LIB_DEPENDS+= libboard.so:${PORTSDIR}/graphics/libboard > >@@ -100,12 +97,13 @@ > > .include <bsd.port.pre.mk> > >-pre-configure: >-.if ${PORT_OPTIONS:MDOCS} >+pre-configure-DOCS-on: > ${REINPLACE_CMD} -e 's|make|${MAKE_CMD}|' ${BUILD_WRKSRC}/Makefile >-.else >+ >+pre-configure-DOCS-off: > ${REINPLACE_CMD} -e 's|^OPTFLAGS|#OPTFLAGS|' ${BUILD_WRKSRC}/Makefile >-.endif >+ >+pre-configure: > . if !defined(WITHOUT_FFMPEG) > ${REINPLACE_CMD} -e 's|#CIMG_FFMPEG_CFLAGS|CIMG_FFMPEG_CFLAGS|' \ > -e 's|#CIMG_FFMPEG_LDFLAGS|CIMG_FFMPEG_LDFLAGS|' \ >@@ -126,16 +124,16 @@ > > do-install: > ${INSTALL_DATA} ${WRKSRC}/CImg.h ${STAGEDIR}${PREFIX}/include >-.if ${PORT_OPTIONS:MDOCS} >+ >+do-install-DOCS-on: > ${INSTALL_PROGRAM} ${PROGS:C|^|${BUILD_WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin > ${MKDIR} ${STAGEDIR}${DOCSDIR} > ${INSTALL_DATA} ${DOCBASE:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} >-.endif >-.if ${PORT_OPTIONS:MEXAMPLES} >+ >+do-install-EXAMPLES-on: > ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} > ${CP} -R ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} > @(cd ${STAGEDIR}${EXAMPLESDIR} && ${MAKE_CMD} clean) > @${RM} ${STAGEDIR}${EXAMPLESDIR}/*.orig >-.endif > > .include <bsd.port.post.mk> >Index: distinfo >=================================================================== >--- distinfo (revision 395046) >+++ distinfo (working copy) >@@ -1,2 +1,2 @@ >-SHA256 (cimg-1.6.2_0/CImg_1.6.2.zip) = 5c3f465b431566e82d9aeb0ca5dd18d925d3733861c735f4edf7f4e715748813 >-SIZE (cimg-1.6.2_0/CImg_1.6.2.zip) = 3255583 >+SHA256 (dtschump-CImg-v1.6.4_GH0.tar.gz) = 57274f9623468da7841eeda2ccf73c7645e728f9fefa8a46d6931c2cc47f0c11 >+SIZE (dtschump-CImg-v1.6.4_GH0.tar.gz) = 18656533 >Index: files/patch-examples__Makefile >=================================================================== >--- files/patch-examples__Makefile (revision 395046) >+++ files/patch-examples__Makefile (working copy) >@@ -1,12 +1,12 @@ >---- examples/Makefile.orig 2015-04-15 07:50:13 UTC >+--- examples/Makefile.orig 2015-06-18 16:40:35 UTC > +++ examples/Makefile > @@ -85,8 +85,8 @@ CIMG_EXTRA_FILES = use_tiff_stream use_j > # Set correct variables and paths > #--------------------------------- >- CIMG_VERSION = 1.6.2 >+ CIMG_VERSION = _cimg_version > -X11PATH = /usr/X11R6 > -CC = g++ >-+#X11PATH = $(X11PATH) >++X11PATH = $(LOCALBASE) > +CC = $(CXX) > EXEPFX = > CCVER = $(CC) >@@ -112,16 +112,16 @@ > # Flags to compile on Sun Solaris > CIMG_SOLARIS_LIBS = -R$(X11PATH)/lib -lrt -lnsl -lsocket > >-@@ -335,7 +338,8 @@ $(CIMG_X11_CFLAGS) \ >- $(CIMG_XSHM_CFLAGS)" \ >+@@ -309,7 +312,8 @@ $(CIMG_XSHM_CFLAGS)" \ > "CONF_LIBS = \ > $(CIMG_X11_LIBS) \ >+ $(CIMG_TIFF_LIBS) \ > -$(CIMG_XSHM_LIBS)" \ > +$(CIMG_XSHM_LIBS) \ > +$(PTHREAD_LIBS)" \ >- all >+ all $(CIMG_EXTRA_FILES) > >- olinux: >+ # Linux/BSD/Mac OSX targets, with X11 display. > @@ -378,8 +382,10 @@ $(CIMG_ZLIB_CFLAGS) \ > $(CIMG_CURL_CFLAGS) \ > $(CIMG_OPENCV_CFLAGS) \ >@@ -133,11 +133,11 @@ > $(CIMG_X11_LIBS) \ > $(CIMG_XSHM_LIBS) \ > $(CIMG_XRANDR_LIBS) \ >-@@ -389,6 +395,7 @@ $(CIMG_PNG_LIBS) \ >- $(CIMG_JPEG_LIBS) \ >- $(CIMG_ZLIB_LIBS) \ >+@@ -391,6 +397,7 @@ $(CIMG_ZLIB_LIBS) \ > $(CIMG_CURL_LIBS) \ >-+$(CIMG_LAPACK_LIBS) \ > $(CIMG_OPENCV_LIBS) \ > $(CIMG_MAGICK_LIBS) \ >++$(CIMG_LAPACK_LIBS) \ > $(CIMG_FFTW3_LIBS)" \ >+ "STRIP_EXE=true" \ >+ all $(CIMG_EXTRA_FILES)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 202634
: 160319 |
160320