# # ChangeLog for / # # Generated by Trac 1.4.2 # 2024-05-10T02:19:31+12:00 Mon, 09 Jul 2012 04:35:47 GMT ak19 [25911] * other-projects/gti/gti-wget-status-page.sh (added) Some weeks or a couple of months ago, this new bash script needed to ... Mon, 09 Jul 2012 03:15:46 GMT ak19 [25910] * main/trunk/gli/classes/xml/languages.xml (modified) The glidict module update for Mongolian required languages.xml to ... Fri, 06 Jul 2012 06:01:29 GMT ak19 [25909] * gs3-extensions/solr/trunk/src/src/java/org/greenstone/gsdl3/service/SolrSearch.java (modified) Making SolrSearch uptodate with the changes to GS2SolrSearch. ... Fri, 06 Jul 2012 04:20:07 GMT xiao [25908] * main/trunk/release-kits/kits/rk3/installer/antinstall-config.xml (modified) changed to skip admin page configure step for flax Fri, 06 Jul 2012 04:18:33 GMT xiao [25907] * main/trunk/release-kits/kits/rk3/installer/build.xml (modified) removed a no-longer-need step for flax Fri, 06 Jul 2012 03:43:17 GMT ak19 [25906] * gs3-extensions/solr/trunk/src/README.txt (modified) * gs3-extensions/solr/trunk/src/build.xml (modified) One more java class was added to the solr extension's util package ... Fri, 06 Jul 2012 03:26:50 GMT xiao [25905] * main/tags/stable4flax/greenstone3/build.xml (modified) modified flax targets to reflect flax2 release Fri, 06 Jul 2012 03:26:30 GMT xiao [25904] * main/trunk/greenstone3/build.xml (modified) modified flax targets to reflect flax2 release Fri, 06 Jul 2012 03:25:29 GMT ak19 [25903] * gs3-extensions/solr/trunk/src/README.txt (added) Adding a README for the solr extension. Fri, 06 Jul 2012 03:06:48 GMT xiao [25902] * main/tags/stable4flax/greenstone3/build.xml (modified) modified flax targets to reflect flax2 release Fri, 06 Jul 2012 02:24:40 GMT xiao [25901] * main/trunk/greenstone3/build.xml (modified) modified flax targets to reflect flax2 release Thu, 05 Jul 2012 09:07:31 GMT ak19 [25900] * gs3-extensions/solr/trunk/src/ADD-SERVICE.sh (modified) * gs3-extensions/solr/trunk/src/DEL-SERVICE.sh (modified) * gs3-extensions/solr/trunk/src/build.xml (added) Adding an ant build file with add-service and del-service targets for ... Thu, 05 Jul 2012 04:11:38 GMT ak19 [25899] * gs3-extensions/solr/trunk/src/bin/script/run_solr_server.pl (added) * gs3-extensions/solr/trunk/src/perllib/solrserver.pm (modified) Introducing new script run_solr_server.pl to easily stop and start ... Thu, 05 Jul 2012 02:52:18 GMT ak19 [25898] * gs3-extensions/solr/trunk/src/src/java/org/greenstone/gsdl3/service/GS2SolrSearch.java (modified) GS2SolrSearch.cleanUp() called upon deactivating a solr collection no ... Wed, 04 Jul 2012 07:38:07 GMT ak19 [25897] * main/trunk/gli/classes/dictionary_mn.properties (added) Mongolian (mn) language glidict module Greenstone Interface. Many ... Wed, 04 Jul 2012 03:36:09 GMT ak19 [25896] * main/trunk/greenstone2/bin/script/activate.pl (modified) * main/trunk/greenstone2/bin/script/buildcol.pl (modified) When doing incremental, don't want to be deleting building or moving ... Tue, 03 Jul 2012 23:01:24 GMT sjm84 [25895] * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/DocumentMaker.java (modified) Removing an unused variable Tue, 03 Jul 2012 22:48:14 GMT sjm84 [25894] * gs3-extensions/solr/trunk/src/src/java/org/greenstone/gsdl3/service/GS2LuceneSearch.java (deleted) * gs3-extensions/solr/trunk/src/src/java/org/greenstone/gsdl3/service/SharedSoleneGS2FieldSearch.java (deleted) Tue, 03 Jul 2012 21:12:57 GMT sjm84 [25893] * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/AbstractGS2FieldSearch.java (modified) Removed some unused import code for Solr facets Tue, 03 Jul 2012 07:53:05 GMT ak19 [25892] * gs3-extensions/solr/trunk/src/src/java/org/greenstone/gsdl3/service/GS2SolrSearch.java (modified) * main/trunk/greenstone2/bin/script/activate.pl (modified) First commit for allowing a SOLR collection to be activated without ... Tue, 03 Jul 2012 04:28:22 GMT sjm84 [25891] * main/trunk/greenstone2/perllib/cgiactions/metadataaction.pm (modified) Fixed a bug that wiped out doc.xml files if metadata was changed at ... Fri, 29 Jun 2012 05:10:00 GMT jmt12 [25890] * gs2-extensions/video-and-audio/trunk/src/perllib/plugins/VideoConverter.pm (modified) Moving -ss option before input video in FFMPEG commands as it is ... Thu, 28 Jun 2012 09:25:18 GMT ak19 [25889] * gs3-extensions/solr/trunk/src/perllib/solrbuilder.pm (modified) * gs3-extensions/solr/trunk/src/perllib/solrserver.pm (modified) * main/trunk/greenstone2/bin/script/activate.pl (modified) Second set of commits for getting activate.pl to deal with solr cores ... Thu, 28 Jun 2012 06:54:11 GMT ak19 [25888] * gs3-extensions/solr/trunk/src/perllib/solrserver.pm (modified) * main/trunk/greenstone2/bin/script/activate.pl (modified) First working version of activate.pl modified for handling solr ... Thu, 28 Jun 2012 05:47:07 GMT ak19 [25887] * main/trunk/greenstone2/bin/script/activate.pl (modified) Normal commit, before the first set of commits related to getting ... Thu, 28 Jun 2012 04:40:00 GMT sjm84 [25886] * gs3-extensions/solr/trunk/src/src/java/org/greenstone/gsdl3/service/GS2SolrSearch.java (modified) * gs3-extensions/solr/trunk/src/src/java/org/greenstone/gsdl3/util/SolrFacetWrapper.java (added) Some fixes to remove the Solr code from the main Greenstone code Thu, 28 Jun 2012 04:35:14 GMT sjm84 [25885] * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/AbstractGS2FieldSearch.java (modified) * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/AbstractSearch.java (modified) * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/GS2LuceneSearch.java (modified) * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/GS2MGPPSearch.java (modified) * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/FacetWrapper.java (added) Removed the Solr code from the main greenstone code Thu, 28 Jun 2012 03:20:19 GMT kjdon [25884] * main/trunk/greenstone3/web/interfaces/default/transform/layouts/header.xsl (modified) set rt cgi param to r instead of rd in quick search form so it ... Thu, 28 Jun 2012 03:12:21 GMT kjdon [25883] * main/trunk/greenstone3/web/WEB-INF/classes/interface_gs2.properties (modified) removed the link from the coll_warning Thu, 28 Jun 2012 03:11:33 GMT kjdon [25882] * main/trunk/greenstone3/web/interfaces/default/transform/pages/classifier.xsl (modified) * main/trunk/greenstone3/web/interfaces/default/transform/pages/query.xsl (modified) added in the optional params for doc links Thu, 28 Jun 2012 03:10:42 GMT kjdon [25881] * main/trunk/greenstone3/web/interfaces/default/transform/config_format.xsl (modified) added a placeholder to add in optional arguments for document links. ... Thu, 28 Jun 2012 03:09:33 GMT kjdon [25880] * main/trunk/greenstone3/web/interfaces/core/transform/preProcess.xsl (modified) invented new gsvar: namespace, to get variables out of gslib Thu, 28 Jun 2012 03:02:05 GMT kjdon [25879] * main/trunk/greenstone3/web/interfaces/basic-client-xslt/transform/gslib.xsl (modified) * main/trunk/greenstone3/web/interfaces/basic-client-xslt/transform/library.xsl (deleted) moved xsl:output from library to gslib, and deleted library.xsl Thu, 28 Jun 2012 03:00:54 GMT kjdon [25878] * main/trunk/greenstone3/web/interfaces/basic-client-xslt/transform/gslib.xsl (moved) renaming util to gslib Thu, 28 Jun 2012 02:59:51 GMT kjdon [25877] * main/trunk/greenstone3/web/interfaces/basic/transform/gslib.xsl (moved) * main/trunk/greenstone3/web/interfaces/basic/transform/library.xsl (deleted) renamed util to gslib and delete library Thu, 28 Jun 2012 02:59:10 GMT kjdon [25876] * main/trunk/greenstone3/web/interfaces/basic/transform/util.xsl (modified) added xsl:output from library.xsl Thu, 28 Jun 2012 02:57:41 GMT kjdon [25875] * main/trunk/greenstone3/web/interfaces/gs2/transform/gslib.xsl (moved) renamed library.xsl to gslib.xsl Thu, 28 Jun 2012 02:56:11 GMT kjdon [25874] * main/trunk/greenstone3/web/interfaces/default/transform/library.xsl (deleted) deleting library.xsl Thu, 28 Jun 2012 02:55:54 GMT kjdon [25873] * main/trunk/greenstone3/web/interfaces/default/transform/gslib.xsl (modified) * main/trunk/greenstone3/web/interfaces/default/transform/library.xsl (modified) moved the xsl:output from library.xsl to gslib.xsl. now we will ... Thu, 28 Jun 2012 02:54:12 GMT kjdon [25872] * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/core/TransformingReceptionist.java (modified) library.xsl now called gslib.xsl Thu, 28 Jun 2012 02:53:36 GMT kjdon [25871] * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/core/Receptionist.java (modified) commented out some long debug things Thu, 28 Jun 2012 02:39:41 GMT kjdon [25870] * main/trunk/greenstone3/web/interfaces/default/transform/gslib.xsl (moved) renamed util to gslib Thu, 28 Jun 2012 02:39:09 GMT kjdon [25869] * main/trunk/greenstone3/web/interfaces/default/transform/util.xsl (modified) made stylesheet elem nicer to read Thu, 28 Jun 2012 01:22:55 GMT sjm84 [25868] * main/trunk/greenstone3/web/interfaces/default/js/map-scripts.js (modified) The loop that displays the names of the places above the markers will ... Thu, 28 Jun 2012 01:20:33 GMT sjm84 [25867] * main/trunk/greenstone3/web/interfaces/default/transform/pages/authen.xsl (modified) The register user page will no longer show the "Invalid referer" ... Thu, 28 Jun 2012 01:17:17 GMT sjm84 [25866] * gs3-extensions/solr/trunk/src/src/java/org/greenstone/gsdl3/util/SolrQueryWrapper.java (modified) Some major upgrades to SolrQueryWrapper to enable faceting Thu, 28 Jun 2012 01:15:04 GMT sjm84 [25865] * gs3-extensions/solr/trunk/src/src/java/org/greenstone/gsdl3/util/SolrQueryWrapper.java (modified) Reformatting this file ahead of some changes (also removing large ... Thu, 28 Jun 2012 01:11:48 GMT sjm84 [25864] * gs3-extensions/solr/trunk/src/src/java/org/greenstone/gsdl3/util/SolrQueryResult.java (modified) SolrQueryResult now can now store facets Thu, 28 Jun 2012 01:05:27 GMT sjm84 [25863] * gs3-extensions/solr/trunk/src/src/java/org/greenstone/gsdl3/service/GS2SolrSearch.java (modified) Some changes to enable facet searching Thu, 28 Jun 2012 01:02:23 GMT sjm84 [25862] * gs3-extensions/solr/trunk/src/src/java/org/greenstone/gsdl3/service/GS2SolrSearch.java (modified) Reformatting this file ahead of some changes Wed, 27 Jun 2012 23:47:48 GMT sjm84 [25861] * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/action/GS2BrowseAction.java (modified) Some import tidying Wed, 27 Jun 2012 23:47:25 GMT sjm84 [25860] * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/action/QueryAction.java (modified) Add the facet list to the page if we get one Wed, 27 Jun 2012 23:46:43 GMT sjm84 [25859] * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/GSXML.java (modified) Adding in some useful constants Wed, 27 Jun 2012 23:46:15 GMT sjm84 [25858] * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/XSLTUtil.java (modified) Tidying the imports of this file Wed, 27 Jun 2012 23:45:22 GMT sjm84 [25857] * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/GSParams.java (modified) Adding two more parameters that we don't want saved Wed, 27 Jun 2012 23:44:54 GMT sjm84 [25856] * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/DerbyWrapper.java (modified) Removing an annoying print statement Wed, 27 Jun 2012 23:29:48 GMT sjm84 [25855] * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/GS2LuceneSearch.java (modified) Some minor fixes Wed, 27 Jun 2012 23:29:07 GMT sjm84 [25854] * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/GS2LuceneSearch.java (modified) Reformatting this file as well as tidying its imports Wed, 27 Jun 2012 23:24:00 GMT sjm84 [25853] * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/SharedSoleneGS2FieldSearch.java (modified) Reformatting and tidying the imports of this file Wed, 27 Jun 2012 23:22:44 GMT sjm84 [25852] * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/Authentication.java (modified) Fixed email not being properly set in the admin interface. Also ... Wed, 27 Jun 2012 23:20:26 GMT sjm84 [25851] * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/AbstractGS2TextSearch.java (modified) Some minor tidying Wed, 27 Jun 2012 23:19:29 GMT sjm84 [25850] * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/AbstractGS2FieldSearch.java (modified) Advanced search and Form search now do paging. Also add facets to the ... Wed, 27 Jun 2012 23:16:55 GMT sjm84 [25849] * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/GS2MGPPSearch.java (modified) Reformatting this file and tidying imports Wed, 27 Jun 2012 23:14:55 GMT sjm84 [25848] * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/core/TransformingReceptionist.java (modified) Some minor reformatting Wed, 27 Jun 2012 23:12:17 GMT kjdon [25847] * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/GSXML.java (modified) * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/GSXSLT.java (modified) removing debug print statements Wed, 27 Jun 2012 23:11:31 GMT sjm84 [25846] * gs3-extensions/solr/trunk/src/bin/script/debug_solr_server.pl (added) * gs3-extensions/solr/trunk/src/perllib/solrbuilder.pm (modified) * gs3-extensions/solr/trunk/src/perllib/solrbuildproc.pm (modified) * gs3-extensions/solr/trunk/src/perllib/solrutil.pm (modified) Some fixes and additions to the Solr perl code Wed, 27 Jun 2012 23:04:25 GMT davidb [25845] * other-projects/computer-says-no (added) * other-projects/computer-says-no/trunk (added) * other-projects/computer-says-no/trunk/src (added) * other-projects/computer-says-no/trunk/src/computer_says_no.user.js (added) Initial version of Computer Say No ... Maybe ... Yes Greasemonkey script Wed, 27 Jun 2012 22:51:15 GMT kjdon [25844] * main/trunk/greenstone3/web/interfaces/basic/interfaceConfig.xml (modified) * main/trunk/greenstone3/web/interfaces/default/interfaceConfig.xml (modified) moved optionList before languageList as its much more interesting and ... Wed, 27 Jun 2012 22:44:42 GMT kjdon [25843] * main/trunk/greenstone3/web/interfaces/basic/transform/document.xsl (modified) if book is not defined then we need to set the bookswitch variable to off Wed, 27 Jun 2012 22:41:32 GMT jmt12 [25842] * gs2-extensions/video-and-audio/trunk/src/perllib/plugins/SimpleVideoPlugin.pm (modified) Adding in more timing information and allowing for clusters to copy ... Wed, 27 Jun 2012 22:40:24 GMT jmt12 [25841] * gs2-extensions/parallel-building/trunk/src/src/mpiimport-src/mpiimport.cpp (modified) Renaming log file to make it easier to delete programatically Wed, 27 Jun 2012 21:45:04 GMT kjdon [25840] * main/trunk/greenstone3/web/interfaces/default/js/document_scripts.js (modified) documentNodeContent template was renamed to documentNodeText Wed, 27 Jun 2012 21:17:21 GMT jmt12 [25839] * gs2-extensions/parallel-building/trunk/src/src/mpiimport-src/mpiimport.cpp (modified) Adding more timing to threads Wed, 27 Jun 2012 03:07:02 GMT sjm84 [25838] * main/trunk/greenstone3/web/interfaces/default/images/chapter.png (modified) Making the background transparent for the chapter image Wed, 27 Jun 2012 02:35:15 GMT sjm84 [25837] * main/trunk/greenstone3/web/interfaces/default/transform/pages/document.xsl (modified) Reformatting this file, also fixing a hardcoded image link Wed, 27 Jun 2012 02:25:36 GMT sjm84 [25836] * main/trunk/greenstone3/web/sites/localsite/collect/lucene-jdbm-demo/etc/collectionConfig.xml (modified) Updated the default format statements Wed, 27 Jun 2012 02:11:05 GMT sjm84 [25835] * main/trunk/greenstone3/web/interfaces/default/transform/util.xsl (modified) Adding a global xslt variable for httpPath Wed, 27 Jun 2012 02:10:34 GMT sjm84 [25834] * main/trunk/greenstone3/web/interfaces/default/js/facet-scripts.js (added) Adding the javascript for the Solr facets on the query page Wed, 27 Jun 2012 02:09:28 GMT sjm84 [25833] * main/trunk/greenstone3/web/interfaces/default/images/map_marker.png (added) Moving the map marker image into a more general area Wed, 27 Jun 2012 02:08:50 GMT sjm84 [25832] * main/trunk/greenstone3/web/interfaces/default/style/core.css (modified) * main/trunk/greenstone3/web/interfaces/default/transform/pages/query.xsl (modified) Some updates for Solr facets in a query. Also changing to a new font ... Wed, 27 Jun 2012 02:05:26 GMT sjm84 [25831] * main/trunk/greenstone3/web/interfaces/default/transform/classifiertools.xsl (modified) A minor fix and a few updates to classifiertools.xsl Wed, 27 Jun 2012 01:55:56 GMT sjm84 [25830] * main/trunk/greenstone3/build.xml (modified) * main/trunk/greenstone3/web/WEB-INF/cgi/gsdl3site.cfg.in (moved) gsdl3site.cfg will now have its content automatically added by the ... Tue, 26 Jun 2012 23:15:20 GMT jmt12 [25829] * gs2-extensions/video-and-audio/trunk/src/build-srcpack/packages/CASCADE-MAKE.sh (modified) Adding Handbrake to the list of packages to compile Tue, 26 Jun 2012 23:14:19 GMT jmt12 [25828] * gs2-extensions/video-and-audio/trunk/src/build-srcpack/packages/HandBrake-0.9.6.tar.gz (added) Adding Handbrake as it provides simplier/superior video conversion ... Tue, 26 Jun 2012 23:12:51 GMT jmt12 [25827] * gs2-extensions/video-and-audio/trunk/src/build-srcpack/packages/CASCADE-MAKE/HANDBRAKE.sh (added) Cascade make file for Handbrake replete with hacky goodness to make ... Tue, 26 Jun 2012 03:45:16 GMT kjdon [25826] * main/trunk/gli/classes/dictionary.properties (modified) some text for segment processing Tue, 26 Jun 2012 03:44:01 GMT kjdon [25825] * main/trunk/greenstone3/web/sites/localsite/collect/gs2mgppdemo/etc/collectionConfig.xml (modified) * main/trunk/greenstone3/web/sites/localsite/collect/lucene-jdbm-demo/etc/collectionConfig.xml (modified) adding in shortDescription - used as roll over text for coll image on ... Tue, 26 Jun 2012 03:42:01 GMT kjdon [25824] * main/trunk/greenstone3/web/interfaces/default/transform/pages/document.xsl (modified) trying to make the display nicer for simple doc types. Also adding in ... Tue, 26 Jun 2012 03:41:02 GMT kjdon [25823] * main/trunk/greenstone3/web/interfaces/default/transform/config_format.xsl (modified) call documentNodeText for gsf:text instead of processing the ... Tue, 26 Jun 2012 03:40:04 GMT kjdon [25822] * main/trunk/greenstone3/web/interfaces/default/transform/layouts/toc.xsl (modified) trying to get rid of toc box when have a simple doc type Tue, 26 Jun 2012 03:38:11 GMT kjdon [25821] * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/core/TransformingReceptionist.java (modified) added o=skinandlibdocfinal to see the xslt after second config pass. ... Tue, 26 Jun 2012 03:34:23 GMT kjdon [25820] * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/GSXSLT.java (modified) a couple of methods renamed and moved to GSXML. mergeStylesheets ... Tue, 26 Jun 2012 03:32:17 GMT kjdon [25819] * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/GSXML.java (modified) added a few new methods that are used by GSXSLT Tue, 26 Jun 2012 03:31:33 GMT kjdon [25818] * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/AbstractDocumentRetrieve.java (modified) * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/AbstractGS2DocumentRetrieve.java (modified) new structure info type - doctype, to return the doc type of a doc id Tue, 26 Jun 2012 03:31:01 GMT kjdon [25817] * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/core/URLFilter.java (modified) don't add dt=hierarchy always Tue, 26 Jun 2012 03:29:29 GMT kjdon [25816] * main/trunk/greenstone3/src/java/org/greenstone/gsdl3/action/DocumentAction.java (modified) if no document type is specified in cgi params, then get it from the ... Mon, 25 Jun 2012 22:53:40 GMT jmt12 [25815] * gs2-extensions/tdb-edit/trunk/src/disable_tdb.sh (modified) Fixed a bunch of 'bugs' that left behind newlines (hardly fatal, but ... Mon, 25 Jun 2012 22:51:54 GMT jmt12 [25814] * gs2-extensions/parallel-building/trunk/src/perllib/plugins/DirectoryPlugin.pm (modified) Added extra test to prevent warning when block_hash's manifest ... Mon, 25 Jun 2012 22:50:38 GMT jmt12 [25813] * gs2-extensions/parallel-building/trunk/src/src/CASCADE-MAKE.sh (modified) * gs2-extensions/parallel-building/trunk/src/src/CASCADE-MAKE/MPIDSPACEMEDIAFILTER.sh (added) Adding MPI DSpace media filter to the cascade makey stuff Mon, 25 Jun 2012 22:49:36 GMT jmt12 [25812] * gs2-extensions/parallel-building/trunk/src/packages/CASCADE-MAKE/IPCRUN.sh (modified) * gs2-extensions/parallel-building/trunk/src/packages/CASCADE-MAKE/OPENMPI.sh (modified) * gs2-extensions/parallel-building/trunk/src/packages/CASCADE-MAKE/PROCDAEMON.sh (modified) * gs2-extensions/parallel-building/trunk/src/packages/CASCADE-MAKE/TINYXML.sh (modified) Adding conditional blocks so that packages are only rebuilt if they ...