Re: WSL-4.0 release candidate

Earnie Boyd <[email protected]> Wed, 3 Apr 2013 09:29:34 -0400
Newsgroups gmane.comp.gnu.mingw.devel
Message-ID <CA+sc5mkHBjNkpSbPm9pzJ7yLvAX=+1_i-iJtwa_Exk2XJuMSsQ@mail.gmail.com>
On Tue, Apr 2, 2013 at 4:31 PM, Keith Marshall wrote:
>> But why doesn't it get removed with wsl_rc-test-off?
>
> ...there's nothing in that meta-package which *requires* this to be
> removed, so it's simply left in place.  It's probably something which
> could bear attention, but there's no obvious way to force it with the
> current mingw-get implementation; (I've not tested, but a kludgy way
> might be to add a dummy "release" spec for 3.x, with an embedded
>
>    <download tarname="none" />
>
> to the "doc" and "lic" class declarations, in your temporary catalogue,
> and "require" it in the "test-off" spec).

Almost works.  The remnants leave a named 3.x class for doc and lic
instead of "none".

If I don't give a spec for the 3.x class mingw-get complains of course
but the remnants are proper.

Suggestions?
I've attached the current revision.

--
Earnie
-- https://sites.google.com/site/earnieboyd

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html

_______________________________________________
MinGW-dvlpr mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-dvlpr
mingw32-runtime.xml (text/xml, 9 KB)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<software-distribution project="MinGW" home="http://www.mingw.org" issue="ZZZZZZZZZZ">

  <!-- File: mingw32-runtime.xml ~~ mingw-get package description for MinGW API -->

  <!-- This is an INDIRECTLY published variant of the mingw32-runtime.xml    -->
  <!-- catalogue; it is provided to facilitate testing of release candidates -->
  <!-- for the upcoming WSL-4.0 system library distribution.  It will be     -->
  <!-- delivered by installation of the mingw32-wsl_rc package, (which will  -->
  <!-- extract it from the wsl_rc-4.0-1-mingw32-rc-1-meta.tar.lzma tarball), -->
  <!-- and NOT by the normal execution of "mingw-get update"; (this delivery -->
  <!-- mechanism is established by the setting of issue="ZZZZZZZZZZ" above,  -->
  <!-- which exempts the locally installed pre-release catalogue from normal -->
  <!-- consideration during "mingw-get update" processing.                   -->

  <package-collection subsystem="mingw32">
    <download-host uri="http://prdownloads.sourceforge.net/mingw/%F?download" />

    <!-- Provides the package descriptions for each of the two primary    -->
    <!-- packages, which comprise the standard MinGW Runtime Library API, -->
    <!-- namely mingwrt and w32api.                                       -->

    <package name="mingw32-mingwrt" alias="mingwrt mingw-runtime" >
      <affiliate group="MinGW Compiler Suite" />
      <affiliate group="MinGW Standard Libraries" />
      <description lang="en" title="The MinGW Runtime Library API">
        <paragraph>
          This package provides the header files, system object modules,
          dynamic link libraries, import libraries and static libraries
          which constitute the standard MinGW Runtime API.
        </paragraph>
        <paragraph>
          This is a required component of the MinGW Compiler Suite.
        </paragraph>
      </description>

      <source tarname="mingwrt-%-mingw32-%-src.tar.%" />
      <licence tarname="mingwrt-%-mingw32-%-dev.tar.%" />

      <component class="dev">
        <requires eq="mingwrt-%-mingw32-%-dll.tar" />
        <release tarname="mingwrt-4.0-1-mingw32-rc-1-dev.tar.lzma">
	  <!-- Override the global licence tag -->
	  <licence tarname="mingwrt-4.0-1-mingw32-rc-1-lic.tar.lzma" />
	  <requires eq="mingwrt-%-mingw32-%-doc.tar" />
	  <requires eq="mingwrt-%-mingw32-%-lic.tar" />
	</release>
	<!-- These releases use the global licence tag -->
        <release tarname="mingwrt-3.20-2-mingw32-dev.tar.lzma" />
        <release tarname="mingwrt-3.20-mingw32-dev.tar.gz" />
        <release tarname="mingwrt-3.19-mingw32-dev.tar.gz" />
        <release tarname="mingwrt-3.18-mingw32-dev.tar.gz" />
        <release tarname="mingwrt-3.17-mingw32-dev.tar.gz" />
      </component>

      <component class="dll">
        <release tarname="mingwrt-4.0-1-mingw32-rc-1-dll.tar.lzma" />
        <release tarname="mingwrt-3.20-2-mingw32-dll.tar.lzma" />
        <release tarname="mingwrt-3.20-mingw32-dll.tar.gz" />
        <release tarname="mingwrt-3.19-mingw32-dll.tar.gz" />
        <release tarname="mingwrt-3.18-mingw32-dll.tar.gz" />
        <release tarname="mingwrt-3.17-mingw32-dll.tar.gz" />
      </component>

      <component class="lic">
        <release tarname="mingwrt-4.0-1-mingw32-rc-1-lic.tar.lzma" />
        <release tarname="mingwrt-3.20-2-mingw32-lic.tar.lzma" >
	  <download tarname="none" />
	</release>
      </component>

      <component class="doc">
        <release tarname="mingwrt-4.0-1-mingw32-rc-1-doc.tar.lzma" />
        <release tarname="mingwrt-3.20-2-mingw32-doc.tar.lzma" >
	  <download tarname="none" />
	</release>
      </component>
    </package>

    <package name="mingw32-w32api" alias="w32api">
      <affiliate group="MinGW Compiler Suite" />
      <affiliate group="MinGW Standard Libraries" />
      <description lang="en" title="The MinGW API for 32-Bit MS-Windows">
        <paragraph>
          This package provides the header files, and import libraries
          constituting a standard API for the development of applications
          which utilise the capabilities of the 32-bit MS-Windows system
          dynamic link libraries.
        </paragraph>
        <paragraph>
          This is a required component of the MinGW Compiler Suite.
        </paragraph>
      </description>

      <source tarname="w32api-%-mingw32-%-src.tar.%" />
      <licence tarname="w32api-%-mingw32-%-dev.tar.%" />

      <component class="dev">
        <release tarname="w32api-4.0-1-mingw32-rc-1-dev.tar.lzma">
	  <!-- Override the global licence tag -->
	  <licence tarname="w32api-4.0-1-mingw32-rc-1-lic.tar.lzma" />
	  <requires eq="w32api-%-mingw32-%-doc.tar" />
	  <requires eq="w32api-%-mingw32-%-lic.tar" />
	</release>
	<!-- These releases use the global licence tag -->
        <release tarname="w32api-3.17-2-mingw32-dev.tar.lzma" />
        <release tarname="w32api-3.17-1-mingw32-dev.tar.lzma" />
        <release tarname="w32api-3.16-1-mingw32-dev.tar.lzma" />
        <release tarname="w32api-3.15-1-mingw32-dev.tar.lzma" />
        <release tarname="w32api-3.14-mingw32-dev.tar.gz" />
      </component>

      <component class="lic">
        <release tarname="w32api-4.0-1-mingw32-rc-1-lic.tar.lzma" />
        <release tarname="w32api-3.17-2-mingw32-lic.tar.lzma" >
	  <download tarname="none" />
	</release>
      </component>

      <component class="doc">
        <release tarname="w32api-4.0-1-mingw32-rc-1-doc.tar.lzma" />
        <release tarname="w32api-3.17-2-mingw32-doc.tar.lzma" >
	  <download tarname="none" />
	</release>
      </component>
    </package>

  </package-collection>

  <!-- The following package collection delivers the WSL release candidate   -->
  <!-- testing infrastructure; it is exposed when the mingw32-wsl_rc package -->
  <!-- is installed, but should never be declared in a formally published    -->
  <!-- edition of the mingw32-runtime.xml catalogue.                         -->

  <package-collection subsystem="mingw32">
    <download-host uri="http://prdownloads.sourceforge.net/mingw/%F?download" />

    <affiliate group="MinGW Project Infrastructure" />

    <!-- The following pair of meta-packages are provided to facilitate   -->
    <!-- installation and reversion of the WSL release candidate features -->

    <description lang="en" title="Windows System Libraries Meta-Package">
      <paragraph>
        This meta-package provides the mechanism for switching between
        the production environment and the pre-release test environment
        for the upcoming windows system library packages; it is made
        available when you mingw-get install the mingw32-wsl_rc package.
      </paragraph>
      <paragraph>
        If you mingw-get install this package, and you subsequently wish
        to mingw-get remove the mingw32-wsl_rc package, please ensure that
        you mingw-get remove this package beforehand.
      </paragraph>
    </description>

    <package name="mingw32-wsl_rc-test-on" class="virtual">
      <description lang="en">
        <paragraph>
          mingw-get install this meta-package, to activate the release
          candidate testing environment.
        </paragraph>
        <paragraph>
          After installation, you may safely remove it without any effect on
          the operation of the testing environment; indeed, it is recommended
          that you do so immediately, to ensure that you do not forget to do
          so, in the event that you subsequently revert to the production
          environment.
        </paragraph>
      </description>

      <component class="meta">
        <release tarname="wsl_rc-test-on-4.0-1-mingw32-rc-1-meta.dat" />
        <requires eq="mingwrt-%-mingw32-%-dev.tar" />
        <requires eq="w32api-%-mingw32-%-dev.tar" />
      </component>
    </package>

    <package name="mingw32-wsl_rc-test-off" class="virtual">
      <description lang="en">
        <paragraph>
          mingw-get install this meta-package, to revert from the release
          candidate testing environment to the production environment.
        </paragraph>
        <paragraph>
          After installation, you may safely remove it without any effect on
          the operation of the compiler environment; indeed, it is recommended
          that you do so immediately, to ensure that you do not forget to do
          so, in the event that you subsequently reactivate the testing
          environment, or mingw-get remove the wsl_rc testing package.
        </paragraph>
      </description>

      <component class="meta">
        <release tarname="wsl_rc-test-off-4.0-1-mingw32-rc-1-meta.dat" />
        <requires eq="mingwrt-3.*-mingw32-*-dev.tar" />
        <requires eq="w32api-3.*-mingw32-*-dev.tar" />
	<requires eq="mingwrt-3.*-mingw32-*-doc.tar" />
	<requires eq="mingwrt-3.*-mingw32-*-lic.tar" />
	<requires eq="w32api-3.*-mingw32-*-doc.tar" />
	<requires eq="w32api-3.*-mingw32-*-lic.tar" />
      </component>
    </package>

  </package-collection>
</software-distribution>
<!-- vim: set nocompatible expandtab fileformat=unix textwidth=80 tabstop=2 shiftwidth=2: -->