forked from NatronGitHub/Natron
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
1,480 additions
and
489 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Avoid using the C++11-specific nullptr. | ||
https://github.com/ImageMagick/ImageMagick6/issues/319 | ||
https://github.com/ImageMagick/ImageMagick6/commit/945a51944874548efee9de2370b164cf797ab012 | ||
--- Magick++/lib/Color.cpp | ||
+++ Magick++/lib/Color.cpp | ||
@@ -223,7 +223,7 @@ const Magick::Color& Magick::Color::operator=(const std::string &x11color_) | ||
_isValid = false; | ||
_pixelOwn = false; | ||
delete _pixel; | ||
- _pixel = nullptr; | ||
+ _pixel = (PixelPacket *)NULL; | ||
} | ||
ThrowPPException(false); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 | ||
|
||
PortSystem 1.0 | ||
|
||
name giflib | ||
version 4.2.3 | ||
revision 1 | ||
set major [lindex [split ${version} .] 0] | ||
categories graphics | ||
maintainers {ryandesign @ryandesign} openmaintainer | ||
license MIT | ||
homepage https://sourceforge.net/projects/giflib/ | ||
master_sites sourceforge:project/giflib/giflib-${major}.x | ||
use_bzip2 yes | ||
|
||
description GIF library using patented LZW algorithm | ||
|
||
long_description GIF loading and saving shared library. \ | ||
Uses the LZW algorithm. | ||
|
||
checksums rmd160 34c30ace20155a61446d1561af44e3ad6329b49a \ | ||
sha256 0ac8d56726f77c8bc9648c93bbb4d6185d32b15ba7bdb702415990f96f3cb766 \ | ||
size 560968 | ||
|
||
patchfiles patch-gif_lib.h.diff \ | ||
patch-lib-gif_hash.c.diff | ||
|
||
configure.args --disable-x11 | ||
|
||
use_parallel_build yes | ||
|
||
set docdir ${prefix}/share/doc/${name} | ||
post-destroot { | ||
xinstall -d ${destroot}${docdir} | ||
xinstall -W ${worksrcpath} -m 0644 AUTHORS BUGS COPYING NEWS README TODO api.txt history.txt ${destroot}${docdir} | ||
xinstall -m 0444 {*}[glob ${worksrcpath}/doc/*.1] ${destroot}${prefix}/share/man/man1 | ||
} | ||
|
||
variant doc description {Install HTML documentation} { | ||
depends_build-append port:xmlto | ||
post-destroot { | ||
xinstall -d ${destroot}${docdir}/html | ||
xinstall -m 0644 {*}[glob ${worksrcpath}/doc/*.html] ${destroot}${docdir}/html | ||
} | ||
} | ||
|
||
if {![variant_isset doc]} { | ||
patchfiles-append patch-no-docs.diff | ||
} | ||
|
||
variant x11 description {Include gif2x11 tool for displaying GIF files in an X window} { | ||
depends_lib-append port:xorg-libsm \ | ||
port:xorg-libX11 | ||
|
||
configure.args-delete --disable-x11 | ||
} | ||
|
||
livecheck.regex /${name}-(${major}\\.\[0-9.\]+)${extract.suffix} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
--- Portfile.orig 2024-07-19 16:46:49 | ||
+++ Portfile 2024-07-19 16:48:39 | ||
@@ -1,38 +1,46 @@ | ||
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 | ||
|
||
PortSystem 1.0 | ||
+PortGroup makefile 1.0 | ||
|
||
name giflib | ||
-version 4.2.3 | ||
-revision 1 | ||
+version 5.2.1 | ||
set major [lindex [split ${version} .] 0] | ||
categories graphics | ||
maintainers {ryandesign @ryandesign} openmaintainer | ||
license MIT | ||
+platforms darwin | ||
homepage https://sourceforge.net/projects/giflib/ | ||
-master_sites sourceforge:project/giflib/giflib-${major}.x | ||
-use_bzip2 yes | ||
+master_sites sourceforge:project/giflib | ||
|
||
description GIF library using patented LZW algorithm | ||
|
||
long_description GIF loading and saving shared library. \ | ||
Uses the LZW algorithm. | ||
|
||
-checksums rmd160 34c30ace20155a61446d1561af44e3ad6329b49a \ | ||
- sha256 0ac8d56726f77c8bc9648c93bbb4d6185d32b15ba7bdb702415990f96f3cb766 \ | ||
- size 560968 | ||
+checksums rmd160 bc4be3ddaef877e4fd546b1240fe94dec8ef3e27 \ | ||
+ sha256 31da5562f44c5f15d63340a09a4fd62b48c45620cd302f77a6d9acf0077879bd \ | ||
+ size 444187 | ||
|
||
-patchfiles patch-gif_lib.h.diff \ | ||
- patch-lib-gif_hash.c.diff | ||
+patchfiles Makefile.patch | ||
|
||
-configure.args --disable-x11 | ||
+build.args PREFIX="${prefix}" CC="${configure.cc}" \ | ||
+ CFLAGS="${configure.cppflags} ${configure.cflags} [get_canonical_archflags cc]" \ | ||
+ LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]" | ||
|
||
+destroot.args PREFIX="${prefix}" | ||
+ | ||
+variant universal { | ||
+ build.args-append "CFLAGS+=\"${configure.universal_cflags}\"" \ | ||
+ "LDFLAGS+=\"${configure.universal_ldflags}\"" | ||
+} | ||
+ | ||
use_parallel_build yes | ||
|
||
set docdir ${prefix}/share/doc/${name} | ||
post-destroot { | ||
xinstall -d ${destroot}${docdir} | ||
- xinstall -W ${worksrcpath} -m 0644 AUTHORS BUGS COPYING NEWS README TODO api.txt history.txt ${destroot}${docdir} | ||
+ xinstall -W ${worksrcpath}-m 0644 COPYING NEWS README TODO history.adoc ${destroot}${docdir} | ||
xinstall -m 0444 {*}[glob ${worksrcpath}/doc/*.1] ${destroot}${prefix}/share/man/man1 | ||
} | ||
|
||
@@ -44,15 +52,4 @@ | ||
} | ||
} | ||
|
||
-if {![variant_isset doc]} { | ||
- patchfiles-append patch-no-docs.diff | ||
-} | ||
- | ||
-variant x11 description {Include gif2x11 tool for displaying GIF files in an X window} { | ||
- depends_lib-append port:xorg-libsm \ | ||
- port:xorg-libX11 | ||
- | ||
- configure.args-delete --disable-x11 | ||
-} | ||
- | ||
livecheck.regex /${name}-(${major}\\.\[0-9.\]+)${extract.suffix} |
Oops, something went wrong.