[111287] trunk/dports/devel/codeblocks
mojca at macports.org
mojca at macports.org
Wed Sep 18 05:02:49 PDT 2013
Revision: 111287
https://trac.macports.org/changeset/111287
Author: mojca at macports.org
Date: 2013-09-18 05:02:48 -0700 (Wed, 18 Sep 2013)
Log Message:
-----------
codeblocks: cleanup dependencies (#40391), allow devel port to satisfy dependencies (#40499), disable precompiled headers (#40513), now openmaintainer
Modified Paths:
--------------
trunk/dports/devel/codeblocks/Portfile
trunk/dports/devel/codeblocks/files/patch-src-plugins-contrib-lib_finder-librariesdlg.cpp.diff
Modified: trunk/dports/devel/codeblocks/Portfile
===================================================================
--- trunk/dports/devel/codeblocks/Portfile 2013-09-18 10:10:23 UTC (rev 111286)
+++ trunk/dports/devel/codeblocks/Portfile 2013-09-18 12:02:48 UTC (rev 111287)
@@ -10,7 +10,8 @@
platforms darwin freebsd
categories devel aqua x11
license GPL-3+
-maintainers mojca
+# I'm looking for a volunteer to take the port over
+maintainers mojca openmaintainer
description Open Source, Cross-platform, Free C/C++/D IDE
long_description Code::Blocks is a free C++ IDE built specifically \
to meet the most demanding needs of its users. \
@@ -36,15 +37,16 @@
}
}
-# TODO: apparently more dependencies are needed in this version, please help complete the list (see also the list below)
+# TODO: maybe more dependencies are needed in this version, please help complete the list (see also the list below)
depends_build path:bin/pkg-config:pkgconfig
-depends_lib port:boost
+depends_lib port:boost \
+ port:hunspell
# TODO:
-# patch-MouseSap-Makefile.diff: report upstream
+# patch-MouseSap-Makefile.diff: https://developer.berlios.de/bugs/?func=detailbug&bug_id=19115&group_id=5358
# patch-Makefile.diff: not sure why it is needed
-# patch-src-plugins-contrib-lib_finder-librariesdlg.cpp.diff: report upstream
-# patch-src-plugins-contrib-profiler-cbprofiler.cpp.diff: http://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=3496&group_id=5358
+# patch-src-plugins-contrib-lib_finder-librariesdlg.cpp.diff: https://developer.berlios.de/patch/?func=detailpatch&patch_id=3498&group_id=5358
+# patch-src-plugins-contrib-profiler-cbprofiler.cpp.diff: https://developer.berlios.de/patch/?func=detailpatch&patch_id=3496&group_id=5358
# patch-src-sdk-wxscintilla-src-PlatWX.cpp.diff: fixed upstream
patchfiles patch-MouseSap-Makefile.diff \
patch-Makefile.diff \
@@ -99,6 +101,11 @@
ln -sf ${prefix}/share/codeblocks ${appPath}/MacOS/share
}
+# disable precompiled headers for the universal build
+variant universal {
+ configure.args-append --enable-pch=no
+}
+
# TODO: keep the old variants/descriptions?
# variant aqua / x11
# variant aqua conflicts x11 description "Use the wxMac port of wxWidgets"
@@ -122,30 +129,18 @@
wxWidgets.use wxGTK-2.8
patchfiles-append patch-src-plugins-contrib-source_exporter-Makefile.diff
# TODO: someone needs to do a careful check of this list of dependencies
- # codeblocks ends up linking against these, but it is quite possible that:
- # - some of them are also needed when liking against Carbon/Cocoa-based wxWidgets
- # - some of them are only gtk's dependencies and are not used directly in codeblocks at all
- depends_lib-append port:${wxWidgets.port} \
+ # codeblocks ends up linking against these, but it is quite possible that
+ # some of them are also needed when liking against Carbon/Cocoa-based wxWidgets
+ depends_lib-append path:lib/pkgconfig/cairo.pc:cairo \
+ path:lib/pkgconfig/pango.pc:pango \
+ path:lib/pkgconfig/glib-2.0.pc:glib2 \
port:atk \
- port:bzip2 \
- path:lib/pkgconfig/cairo.pc:cairo \
- port:expat \
port:fontconfig \
port:freetype \
port:gdk-pixbuf2 \
port:gettext \
- port:glib2 \
- port:graphite2 \
port:gtk2 \
- port:harfbuzz \
- port:hunspell \
- port:libffi \
- port:libiconv \
- port:libpixman \
- port:libpng \
- port:pango \
port:xorg-libX11 \
- port:xorg-libXau \
port:xorg-libXcomposite \
port:xorg-libXcursor \
port:xorg-libXdamage \
@@ -155,9 +150,8 @@
port:xorg-libXi \
port:xorg-libXinerama \
port:xorg-libXrandr \
- port:xorg-libxcb \
port:xrender \
- port:zlib
+ port:${wxWidgets.port}
# FileManager requires "gamin" to be installed when using wxGTK,
# so it was disabled for now
configure.args-append --with-wxdir=${wxWidgets.wxdir} \
Modified: trunk/dports/devel/codeblocks/files/patch-src-plugins-contrib-lib_finder-librariesdlg.cpp.diff
===================================================================
--- trunk/dports/devel/codeblocks/files/patch-src-plugins-contrib-lib_finder-librariesdlg.cpp.diff 2013-09-18 10:10:23 UTC (rev 111286)
+++ trunk/dports/devel/codeblocks/files/patch-src-plugins-contrib-lib_finder-librariesdlg.cpp.diff 2013-09-18 12:02:48 UTC (rev 111287)
@@ -1,4 +1,5 @@
-needed to compile with clang
+needed for compilation with clang
+https://developer.berlios.de/patch/?func=detailpatch&patch_id=3498&group_id=5358
--- src/plugins/contrib/lib_finder/librariesdlg.cpp.orig
+++ src/plugins/contrib/lib_finder/librariesdlg.cpp
@@ -14,6 +14,7 @@
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130918/0d9638e0/attachment.html>
More information about the macports-changes
mailing list