FreeBSD Bugzilla – Attachment 164207 Details for
Bug 205257
graphics/gimp-gmic-plugin: Network error (data_film_presets URL changed)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
gmic 1.6.8 update
gmic-168.diff.txt (text/plain), 4.71 KB, created by
Ruslan Makhmatkhanov
on 2015-12-13 20:41:50 UTC
(
hide
)
Description:
gmic 1.6.8 update
Filename:
MIME Type:
Creator:
Ruslan Makhmatkhanov
Created:
2015-12-13 20:41:50 UTC
Size:
4.71 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 403688) >+++ Makefile (working copy) >@@ -1,8 +1,7 @@ > # $FreeBSD$ > > PORTNAME= gmic >-PORTVERSION= 1.6.0.0 >-PORTREVISION= 4 >+PORTVERSION= 1.6.8 > CATEGORIES= graphics > MASTER_SITES= http://gmic.eu/files/source/ > PKGNAMEPREFIX= gimp- >@@ -14,6 +13,7 @@ > > LIB_DEPENDS= libGraphicsMagick++.so:${PORTSDIR}/graphics/GraphicsMagick \ > libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \ >+ libopencv_legacy.so:${PORTSDIR}/graphics/opencv \ > libMagick++-6.so:${PORTSDIR}/graphics/ImageMagick \ > libavcodec.so:${PORTSDIR}/multimedia/ffmpeg \ > libfftw3.so:${PORTSDIR}/math/fftw3 \ >@@ -40,8 +40,10 @@ > > PLIST_FILES= bin/gmic \ > man/man1/gmic.1.gz \ >- %%BASH%%etc/bash_completion.d/gmic_bashcompletion.sh \ >- %%PLUGIN_DIR%%/gmic_gimp >+ %%BASH%%etc/bash_completion.d/gmic \ >+ %%PLUGIN_DIR%%/gmic_gimp \ >+ %%PLUGIN_DIR%%/cli_update168.gmic \ >+ %%PLUGIN_DIR%%/gimp_update168.gmic > > EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} > PORTEXAMPLES= gmic_in_script.scm gmic_use_lib.cpp >@@ -50,11 +52,15 @@ > > post-patch: > @${REINPLACE_CMD} -e 's#/usr/X11R6#${PREFIX}#g' \ >+ -e 's#/usr/local#${LOCALBASE}#g' \ > ${WRKSRC}/Makefile > > do-install: > @${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR} > ${INSTALL_PROGRAM} ${WRKSRC}/gmic_gimp ${STAGEDIR}${PREFIX}/${PLUGIN_DIR} >+ ${INSTALL_DATA} ${WRKSRC}/../resources/cli_update168.gmic \ >+ ${WRKSRC}/../resources/gimp_update168.gmic \ >+ ${STAGEDIR}${PREFIX}/${PLUGIN_DIR} > ${INSTALL_PROGRAM} ${WRKSRC}/gmic ${STAGEDIR}${PREFIX}/bin > ${INSTALL_MAN} ${WRKSRC}/../man/gmic.1.gz ${STAGEDIR}${MAN1PREFIX}/man/man1 > @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} >@@ -62,7 +68,7 @@ > .if ${PORT_OPTIONS:MBASH} > @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d > ${INSTALL_SCRIPT} ${WRKSRC}/../resources/gmic_bashcompletion.sh \ >- ${STAGEDIR}${PREFIX}/etc/bash_completion.d >+ ${STAGEDIR}${PREFIX}/etc/bash_completion.d/gmic > .endif > > .include <bsd.port.mk> >Index: distinfo >=================================================================== >--- distinfo (revision 403688) >+++ distinfo (working copy) >@@ -1,2 +1,2 @@ >-SHA256 (gmic_1.6.0.0.tar.gz) = 2aa53ebab4c361c5401e23142a31b06a38ef565c533d1326d31f985f5c0c2da5 >-SIZE (gmic_1.6.0.0.tar.gz) = 2818394 >+SHA256 (gmic_1.6.8.tar.gz) = d016f41fc9cb005d374bf681e2b7f157e43c8fd8002731cfec221167475443ff >+SIZE (gmic_1.6.8.tar.gz) = 3191772 >Index: files/patch-Makefile >=================================================================== >--- files/patch-Makefile (revision 403688) >+++ files/patch-Makefile (working copy) >@@ -1,6 +1,6 @@ >---- Makefile.orig 2014-08-21 07:47:10 UTC >+--- Makefile.orig 2015-12-09 12:49:16 UTC > +++ Makefile >-@@ -48,7 +48,7 @@ >+@@ -49,7 +49,7 @@ > # Set correct variables and paths. > #---------------------------------- > OS := $(shell uname) >@@ -9,56 +9,23 @@ > ifeq ($(OS),Linux) > OS = Unix > endif >-@@ -63,7 +63,7 @@ >- USR = /opt/local >- else >- PLUGINDIR = `gimptool-2.0 --gimpplugindir`/plug-ins >--USR = /usr >-+USR = /usr/X11R6 >- endif >+@@ -75,6 +75,10 @@ endif > ifeq ($(OSTYPE),msys) > EXE = .exe >-@@ -136,7 +136,7 @@ >- # This requires the presence of the X11 extension include and library files. >- # (package 'libx11-dev' on Debian). >- XSHM_CFLAGS = -Dcimg_use_xshm >--XSHM_LIBS = -L$(USR)/X11R6/lib -lXext >-+XSHM_LIBS = -L/usr/X11R6/lib -lXext >- >- # Flags to enable image display, using GDI32. >- # This requires the presence of the GDI32 include and library files. >-@@ -293,6 +293,12 @@ >+ endif >++ifeq ($(OS),FreeBSD) >++OS = Unix >++USR = /usr/local >++endif >+ LIB=lib >+ BIN=bin >+ INCLUDE=include >+@@ -303,7 +307,7 @@ ifeq ($(OS),Unix) > @echo "**" >- $(MAKE) linux gimp lib # zart >+ @echo "** Start building G'MIC with default Unix configuration." >+ @echo "**" >+- $(MAKE) cli gimp lib zart >++ $(MAKE) cli gimp > else >-+ifeq ($(OS),FreeBSD) >-+ @echo "**" >-+ @echo "** FreeBSD configuration" >-+ @echo "**" >-+ $(MAKE) freebsd gimp >-+else > ifeq ($(OS),Darwin) > @echo "**" >- @echo "** MacOSX configuration." >-@@ -305,9 +311,10 @@ >- $(MAKE) windows gimp >- endif >- endif >-+endif >- >- gimp: >-- $(MAKE) "CFLAGS=$(STD_GIMP_CFLAGS) $(OPT_CFLAGS)" "LIBS+=$(STD_GIMP_LIBS) $(OPT_LIBS)" "STRIP_EXE=1" gmic_gimp >-+ $(MAKE) "CFLAGS=$(STD_GIMP_CFLAGS)" "LIBS=$(STD_GIMP_LIBS)" "STRIP_EXE=1" gmic_gimp >- >- lib: >- $(MAKE) "CFLAGS=$(STD_LIB_CFLAGS) $(OPT_CFLAGS)" "LIBS+=$(STD_LIB_LIBS) $(OPT_LIBS)" gmic_lib >-@@ -323,6 +330,9 @@ >- linux: >- $(MAKE) "CFLAGS=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LIBS=$(STD_UNIX_LIBS)" "STRIP_EXE=1" gmic >- >-+freebsd: >-+ $(MAKE) "CFLAGS+=$(STD_UNIX_CFLAGS)" "LIBS=$(STD_UNIX_LIBS)" "STRIP_EXE=1" gmic >-+ >- solaris: >- $(MAKE) "CFLAGS=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LIBS=$(STD_UNIX_LIBS) -R$(USR)/X11R6/lib -lrt -lnsl -lsocket" "STRIP_EXE=1" gmic >-
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
Flags:
rm
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 205257
: 164207 |
167419