pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/gps devel/gps: Upgrade GNAT Programming Studio t...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6979e49f68af
branches: trunk
changeset: 621435:6979e49f68af
user: marino <marino%pkgsrc.org@localhost>
date: Tue Jul 09 10:16:02 2013 +0000
description:
devel/gps: Upgrade GNAT Programming Studio to version 5.2.1
This is a significant upgrade over version 5.0.1 which is currently in
pkgsrc, representing approximately two years of work. The latest online
documentation can be browsed here:
http://docs.adacore.com/gps-docs/users_guide/_build/html/
Changes to the package itself include:
* python now works and is a default option
* readline support is now an option and is default
* Multiple job support enable
* Documentation now generated by sphinx
Also the problem described in PR#47824 no longer occurs, so this PR will
be closed.
diffstat:
devel/gps/Makefile | 43 +-
devel/gps/PLIST | 881 ----------
devel/gps/distinfo | 32 +-
devel/gps/options.mk | 56 +-
devel/gps/patches/patch-Makefile.in | 108 +
devel/gps/patches/patch-aa | 26 -
devel/gps/patches/patch-ab | 13 -
devel/gps/patches/patch-ac | 13 -
devel/gps/patches/patch-ada__module_core_src_ada__semantic__tree-generics.adb | 24 -
devel/gps/patches/patch-ae | 113 -
devel/gps/patches/patch-af | 51 -
devel/gps/patches/patch-ak | 13 -
devel/gps/patches/patch-al | 15 -
devel/gps/patches/patch-am | 18 -
devel/gps/patches/patch-an | 42 -
devel/gps/patches/patch-common_tty_terminals.c | 16 +
devel/gps/patches/patch-distrib_gnat__switches_awk | 53 -
devel/gps/patches/patch-docs_Makefile.in | 53 +
devel/gps/patches/patch-gnatlib-gnat_src-mlib-utl.adb | 15 +
devel/gps/patches/patch-gnatlib_aclocal.m4 | 39 +
devel/gps/patches/patch-gnatlib_configure | 39 +
devel/gps/patches/patch-gnatlib_gnatcoll__shared.gpr.in | 15 +
devel/gps/patches/patch-gnatlib_src_gnatcoll__readline.gpr.in | 25 +
devel/gps/patches/patch-gps_gps.gpr | 4 +-
devel/gps/patches/patch-prj_editor_src_gpr__creation.adb | 12 -
devel/gps/patches/patch-refactoring_core_src_refactoring-services.adb | 12 -
devel/gps/patches/patch-toolchains_editor_core_src_toolchains-parsers.ads | 22 -
27 files changed, 387 insertions(+), 1366 deletions(-)
diffs (truncated from 1930 to 300 lines):
diff -r f80a32b1cf60 -r 6979e49f68af devel/gps/Makefile
--- a/devel/gps/Makefile Tue Jul 09 10:14:53 2013 +0000
+++ b/devel/gps/Makefile Tue Jul 09 10:16:02 2013 +0000
@@ -1,12 +1,10 @@
-# $NetBSD: Makefile,v 1.28 2013/06/16 23:13:39 asau Exp $
+# $NetBSD: Makefile,v 1.29 2013/07/09 10:16:02 marino Exp $
#
DISTNAME= gps-${GPS_VERSION}
-PKGREVISION= 20
CATEGORIES= devel
-MASTER_SITES= http://downloads.dragonlace.net/src/ \
- http://dragonlace.mirrors.ada.cx/src/
-EXTRACT_SUFX= .tar.bz2
+MASTER_SITES= http://downloads.dragonlace.net/src/
+DISTFILES= gps-5.2.1-1-src.tgz
MAINTAINER= draco%marino.st@localhost
HOMEPAGE= http://www.adacore.com/home/products/gnatpro/toolsuite/gps/
@@ -16,20 +14,36 @@
GNU_CONFIGURE= yes
USE_TOOLS+= gmake sed perl awk pkg-config
-GPS_VERSION= 5.0.1
+GPS_VERSION= 5.2.1
USE_LANGUAGES= c ada c++
MY_CONFIGURE_ENV+= ADA_PROJECT_PATH=${APP}
-MY_CONFIGURE_ENV+= PYTHON=${PREFIX}/bin/python${PYVERSSUFFIX}
+MY_MAKE_ENV+= PROCESSORS=${MAKE_JOBS} \
+ ADA_PROJECT_PATH=${APP}
APP= ${PREFIX}/lib/gnat
+WRKSRC= ${WRKDIR}/gps-release-ide-${GPS_VERSION}-src
+MAKE_JOBS_SAFE= yes
.include "options.mk"
-CONFIGURE_ARGS+= --with-gmp=${PREFIX}
+CONFIGURE_ARGS+= --disable-shared --with-gmp=${PREFIX}
+
+SUBST_CLASSES+= coll python
+SUBST_STAGE.coll= post-patch
+SUBST_FILES.coll= gnatlib/src/gnatcoll_readline.gpr.in
+SUBST_SED.coll= -e "s|@PREFIX@|${PREFIX}|g"
+SUBST_STAGE.python= post-patch
+SUBST_FILES.python= share/plug-ins/gps_utils/console_process.py
+SUBST_SED.python= -e "s|/usr/bin/python|${PYTHONBIN}|"
+
+GENERATE_PLIST= cd ${DESTDIR}${PREFIX}; \
+ ${FIND} * \( -type f -or -type l \) | ${SORT};
do-configure:
- cd ${WRKSRC} && ${SETENV} ${MY_CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS}
+ cd ${WRKSRC} && ${SETENV} ${MY_CONFIGURE_ENV} \
+ ./configure ${CONFIGURE_ARGS}
+
do-build:
- cd ${WRKSRC} && ${SETENV} ADA_PROJECT_PATH=${APP} gmake default
+ cd ${WRKSRC} && ${SETENV} ${MY_MAKE_ENV} gmake default
pre-install:
.if !empty(PKG_OPTIONS:Mpython)
@@ -37,7 +51,16 @@
${PY_COMPILE_ALL} ${WRKSRC}/share/library
.endif
+post-install:
+ ${RM} -rf ${DESTDIR}${PREFIX}/share/doc/gps/html/users_guide/_sources
+ ${RM} -rf ${DESTDIR}${PREFIX}/share/doc/gps/html/tutorial/_sources
+ cd ${DESTDIR}${PREFIX}; ${FIND} * -type d -empty -print | xargs rmdir
+
+DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
+
+.include "../../lang/python/application.mk"
.include "../../x11/gtkada/buildlink3.mk"
.include "../../textproc/xmlada/buildlink3.mk"
+.include "../../devel/gmp/buildlink3.mk"
.include "../../devel/gprbuild-aux/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r f80a32b1cf60 -r 6979e49f68af devel/gps/PLIST
--- a/devel/gps/PLIST Tue Jul 09 10:14:53 2013 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,881 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2011/10/14 17:22:06 marino Exp $
-bin/gps
-share/gps/activity_log.tmplt
-share/gps/aunit/harness.adb.tmpl
-share/gps/aunit/test_case.adb.tmpl
-share/gps/aunit/test_case.ads.tmpl
-share/gps/aunit/test_suite.adb.tmpl
-share/gps/aunit/test_suite.ads.tmpl
-share/gps/default.gpr
-share/gps/docgen2/custom/tags.css
-share/gps/docgen2/entities.tmpl
-share/gps/docgen2/html.tmpl
-share/gps/docgen2/index_entry.tmpl
-share/gps/docgen2/multilink.tmpl
-share/gps/docgen2/navbutton.tmpl
-share/gps/docgen2/navigation.tmpl
-share/gps/docgen2/src.tmpl
-share/gps/docgen2/support/docgen.css
-share/gps/docgen2/support/docgen.js
-share/gps/docgen2/support/images/arrow_close.png
-share/gps/docgen2/support/images/arrow_open.png
-share/gps/docgen2/support/images/generic-spec.png
-share/gps/docgen2/support/images/link.png
-share/gps/docgen2/support/images/menubar.png
-share/gps/docgen2/support/images/menubarbottom.png
-share/gps/docgen2/support/images/nav1_btn_mo.png
-share/gps/docgen2/support/images/nav1_btn_up.png
-share/gps/docgen2/support/images/nav2_btn_mo.png
-share/gps/docgen2/support/images/nav2_btn_up.png
-share/gps/docgen2/support/images/package-spec.png
-share/gps/docgen2/support/images/rightside.png
-share/gps/docgen2/support/images/rightsidebottom.png
-share/gps/docgen2/support/images/sidebarframe.png
-share/gps/docgen2/support/images/sidebarframebottom.png
-share/gps/docgen2/support/images/subprogram-spec.png
-share/gps/docgen2/support/images/tree_item.png
-share/gps/docgen2/support/images/tree_root.png
-share/gps/docgen2/support/images/treechildren_bg.png
-share/gps/docgen2/support/images/treechildren_bg_bottom.png
-share/gps/docgen2/support/images/type-spec.png
-share/gps/docgen2/support/images/variable-spec.png
-share/gps/docgen2/tree.tmpl
-share/gps/docgen2/tree_elem.tmpl
-share/gps/docgen2/userdef.tmpl
-share/gps/gps-animation.gif
-share/gps/gps-animation.png
-share/gps/gps-splash.png
-share/gps/icons/16px/box.png
-share/gps/icons/16px/build_all_16.png
-share/gps/icons/16px/build_main_16.png
-share/gps/icons/16px/cleanup_16.png
-share/gps/icons/16px/clipboard_16.png
-share/gps/icons/16px/compile_16.png
-share/gps/icons/16px/compute_xref_16.png
-share/gps/icons/16px/copy_16.png
-share/gps/icons/16px/custom_build_16.png
-share/gps/icons/16px/cut_16.png
-share/gps/icons/16px/debug_break.png
-share/gps/icons/16px/debug_indicator.png
-share/gps/icons/16px/entities/circle.png
-share/gps/icons/16px/entities/circle_p.png
-share/gps/icons/16px/entities/circle_ps.png
-share/gps/icons/16px/entities/circle_s.png
-share/gps/icons/16px/entities/circle_x.png
-share/gps/icons/16px/entities/circle_xs.png
-share/gps/icons/16px/entities/diamond.png
-share/gps/icons/16px/entities/diamond_p.png
-share/gps/icons/16px/entities/diamond_ps.png
-share/gps/icons/16px/entities/diamond_s.png
-share/gps/icons/16px/entities/diamond_x.png
-share/gps/icons/16px/entities/diamond_xs.png
-share/gps/icons/16px/entities/dot.png
-share/gps/icons/16px/entities/dot_p.png
-share/gps/icons/16px/entities/dot_ps.png
-share/gps/icons/16px/entities/dot_s.png
-share/gps/icons/16px/entities/dot_x.png
-share/gps/icons/16px/entities/dot_xs.png
-share/gps/icons/16px/entities/square.png
-share/gps/icons/16px/entities/square_p.png
-share/gps/icons/16px/entities/square_ps.png
-share/gps/icons/16px/entities/square_s.png
-share/gps/icons/16px/entities/square_x.png
-share/gps/icons/16px/entities/square_xs.png
-share/gps/icons/16px/entities/triangle.png
-share/gps/icons/16px/entities/triangle_p.png
-share/gps/icons/16px/entities/triangle_ps.png
-share/gps/icons/16px/entities/triangle_s.png
-share/gps/icons/16px/entities/triangle_x.png
-share/gps/icons/16px/entities/triangle_xs.png
-share/gps/icons/16px/error.png
-share/gps/icons/16px/file.png
-share/gps/icons/16px/file_altered.png
-share/gps/icons/16px/file_error.png
-share/gps/icons/16px/file_pencil.png
-share/gps/icons/16px/file_warning.png
-share/gps/icons/16px/finish_16.png
-share/gps/icons/16px/folder_closed.png
-share/gps/icons/16px/folder_e_closed.png
-share/gps/icons/16px/folder_e_open.png
-share/gps/icons/16px/folder_o_closed.png
-share/gps/icons/16px/folder_o_open.png
-share/gps/icons/16px/folder_open.png
-share/gps/icons/16px/goto_next_16.png
-share/gps/icons/16px/goto_previous_16.png
-share/gps/icons/16px/gps_16.png
-share/gps/icons/16px/newfile_16.png
-share/gps/icons/16px/newfile_b_16.png
-share/gps/icons/16px/next_16.png
-share/gps/icons/16px/open_16.png
-share/gps/icons/16px/play_16.png
-share/gps/icons/16px/project_box.png
-share/gps/icons/16px/project_box_altered.png
-share/gps/icons/16px/project_box_error.png
-share/gps/icons/16px/project_box_open.png
-share/gps/icons/16px/project_box_open_altered.png
-share/gps/icons/16px/project_box_pencil.png
-share/gps/icons/16px/project_box_warning.png
-share/gps/icons/16px/redo_16.png
-share/gps/icons/16px/save_16.png
-share/gps/icons/16px/semantic_check_16.png
-share/gps/icons/16px/stack_down_16.png
-share/gps/icons/16px/stack_up_16.png
-share/gps/icons/16px/step_16.png
-share/gps/icons/16px/stop_16.png
-share/gps/icons/16px/sync_to_local.png
-share/gps/icons/16px/sync_to_remote.png
-share/gps/icons/16px/syntax_check_16.png
-share/gps/icons/16px/undo_16.png
-share/gps/icons/16px/warning.png
-share/gps/icons/18px/build_all_18.png
-share/gps/icons/18px/build_main_18.png
-share/gps/icons/18px/cleanup_18.png
-share/gps/icons/18px/clipboard_18.png
-share/gps/icons/18px/compile_18.png
-share/gps/icons/18px/compute_xref_18.png
-share/gps/icons/18px/copy_18.png
-share/gps/icons/18px/custom_build_18.png
-share/gps/icons/18px/cut_18.png
-share/gps/icons/18px/finish_18.png
-share/gps/icons/18px/goto_next_18.png
-share/gps/icons/18px/goto_previous_18.png
-share/gps/icons/18px/newfile_18.png
-share/gps/icons/18px/next_18.png
-share/gps/icons/18px/open_18.png
-share/gps/icons/18px/play_18.png
-share/gps/icons/18px/redo_18.png
-share/gps/icons/18px/save_18.png
-share/gps/icons/18px/semantic_check_18.png
-share/gps/icons/18px/stack_down_18.png
-share/gps/icons/18px/stack_up_18.png
-share/gps/icons/18px/step_18.png
-share/gps/icons/18px/stop_18.png
-share/gps/icons/18px/syntax_check_18.png
-share/gps/icons/18px/undo_18.png
-share/gps/icons/20px/vcs-added.png
-share/gps/icons/20px/vcs-has-conflicts.png
-share/gps/icons/20px/vcs-modified.png
-share/gps/icons/20px/vcs-needs-merge.png
-share/gps/icons/20px/vcs-needs-update.png
-share/gps/icons/20px/vcs-not-registered.png
-share/gps/icons/20px/vcs-removed.png
-share/gps/icons/20px/vcs-unknown.png
-share/gps/icons/20px/vcs-up-to-date.png
-share/gps/icons/24px/build_all_24.png
-share/gps/icons/24px/build_main_24.png
-share/gps/icons/24px/cleanup_24.png
-share/gps/icons/24px/clipboard_24.png
-share/gps/icons/24px/compile_24.png
-share/gps/icons/24px/compute_xref_24.png
-share/gps/icons/24px/copy_24.png
-share/gps/icons/24px/custom_build_24.png
-share/gps/icons/24px/cut_24.png
-share/gps/icons/24px/finish_24.png
-share/gps/icons/24px/goto_next_24.png
-share/gps/icons/24px/goto_previous_24.png
-share/gps/icons/24px/newfile_24.png
-share/gps/icons/24px/next_24.png
-share/gps/icons/24px/open_24.png
-share/gps/icons/24px/play_24.png
-share/gps/icons/24px/redo_24.png
-share/gps/icons/24px/save_24.png
-share/gps/icons/24px/semantic_check_24.png
-share/gps/icons/24px/stack_down_24.png
-share/gps/icons/24px/stack_up_24.png
-share/gps/icons/24px/step_24.png
-share/gps/icons/24px/stop_24.png
-share/gps/icons/24px/syntax_check_24.png
-share/gps/icons/24px/undo_24.png
-share/gps/icons/32px/gps_32.png
-share/gps/icons/48px/gps_48.png
-share/gps/icons/9px/build_error.png
-share/gps/icons/9px/build_error_fixable.png
-share/gps/icons/9px/build_style.png
-share/gps/icons/9px/build_style_fixable.png
-share/gps/icons/9px/build_warning.png
-share/gps/icons/9px/build_warning_fixable.png
-share/gps/icons/9px/executed_code.png
-share/gps/icons/9px/line_has_code.png
-share/gps/icons/9px/line_might_have_code.png
-share/gps/icons/9px/non_executed_code.png
-share/gps/icons/9px/partially_covered_code.png
-share/gps/icons/9px/wrench.png
-share/gps/icons/9px/wrench_multi.png
-share/gps/icons/other/adacore_logo.png
-share/gps/icons/other/button_guide.png
-share/gps/icons/other/button_guide_over.png
-share/gps/icons/other/button_overview.png
-share/gps/icons/other/button_overview_over.png
-share/gps/icons/other/button_tutorial.png
-share/gps/icons/other/button_tutorial_over.png
-share/gps/icons/other/get_started.png
-share/gps/icons/other/welcome_header.png
-share/gps/library/GPS_old.py
-share/gps/library/addr2line.py
-share/gps/library/auto_changelog.py
-share/gps/library/autoformat.py
-share/gps/library/autognatpp.py
-share/gps/library/copy_paste.py
Home |
Main Index |
Thread Index |
Old Index