diff --git a/srcpkgs/dmd/files/default_ddoc_theme.ddoc b/srcpkgs/dmd/files/default_ddoc_theme.ddoc new file mode 100644 index 00000000000..93c8f6c192b --- /dev/null +++ b/srcpkgs/dmd/files/default_ddoc_theme.ddoc @@ -0,0 +1,735 @@ +LPAREN = ( +RPAREN = ) +BACKTICK = ` +DOLLAR = $ + +ESCAPES = + //>/ + /&/&/ + +B = $0 +I = $0 +U = $0 +P =

$0

+DL =
$0
+DT =
$0
+DD =
$0
+TABLE = $0
+TR = $0 +TH = $0 +TD = $0 +OL =
    $0
+UL = +LI =
  • $0
  • +BIG = $0 +SMALL = $0 +BR =
    +LINK = $0 +LINK2 = $+ +DEPRECATED = $0 + +RED = $0 +BLUE = $0 +GREEN = $0 +YELLOW = $0 +BLACK = $0 +WHITE = $0 + +D_CODE = +
    +
    +
    +
      +
    1. $0
    2. +
    +
    +
    +
    + +D_INLINECODE = $0 +DDOC_BACKQUOTED = $(D_INLINECODE $0) +D_COMMENT = $0 +D_STRING = $0 +D_KEYWORD = $0 +D_PSYMBOL = $0 +D_PARAM = $0 + +DDOC_BLANKLINE =

    +DDOC_COMMENT = + +DDOC = + + + + + $(TITLE) + + + +
    +
    +

    $(TITLE)

    +
    $(BODY)
    +
    +
    + + + +DDOC_MODULE_MEMBERS =
    +
    + $(DDOC_MEMBERS $0) +
    +
    + +DDOC_CLASS_MEMBERS = $(DDOC_MEMBERS $0) +DDOC_STRUCT_MEMBERS = $(DDOC_MEMBERS $0) +DDOC_ENUM_MEMBERS = $(DDOC_MEMBERS $0) +DDOC_TEMPLATE_MEMBERS = $(DDOC_MEMBERS $0) + +DDOC_MEMBERS = + +DDOC_MEMBER =
  • + $0 +
  • + +DDOC_MEMBER_HEADER =
    + $0 +
    + +DDOC_HEADER_ANCHOR =
    + $2 +
    + +DDOC_DECL =
    +
    +
    +

    Declaration

    +
    +

    + + $0 + +

    +
    +
    +
    +
    + +DDOC_ANCHOR = + +DDOC_DECL_DD =
    + $0 +
    + +DDOC_SECTIONS =
    + $0 +
    + +DDOC_SUMMARY =
    +

    + $0 +

    +
    + +DDOC_DESCRIPTION =
    +

    Discussion

    +

    + $0 +

    +
    + +DDOC_EXAMPLES =
    +

    Examples

    +

    + $0 +

    +
    + +DDOC_RETURNS =
    +

    Return Value

    +

    + $0 +

    +
    + +DDOC_PARAMS =
    +

    Parameters

    + + + $0 + +
    +
    + +DDOC_PARAM_ROW = + $0 + + +DDOC_PARAM_ID = + + $0 + + + +DDOC_PARAM_DESC = +
    +

    + $0 +

    +
    + + +DDOC_LICENSE =
    +

    License

    +

    + $0 +

    +
    + +DDOC_AUTHORS =
    +

    Authors

    +

    + $0 +

    +
    + +DDOC_BUGS =
    +

    Bugs

    +

    + $0 +

    +
    + +DDOC_COPYRIGHT = + +DDOC_DATE =
    +

    Date

    +

    + $0 +

    +
    + +DDOC_DEPRECATED =
    +

    Deprecated

    +

    + $0 +

    +
    + +DDOC_HISTORY =
    +

    History

    +

    + $0 +

    +
    + +DDOC_SEE_ALSO =
    +

    See Also

    +

    + $0 +

    +
    + +DDOC_STANDARDS =
    +

    Standards

    +

    + $0 +

    +
    + +DDOC_THROWS =
    +

    Throws

    +

    + $0 +

    +
    + +DDOC_VERSION =
    +

    Version

    +

    + $0 +

    +
    + +DDOC_SECTION =
    +

    + $0 +

    +
    + +DDOC_SECTION_H = $0 + +DDOC_DITTO =
    +$0 + +DDOC_PSYMBOL = $0 +DDOC_ENUM_BASETYPE = $0 +DDOC_PSUPER_SYMBOL = $0 +DDOC_KEYWORD = $0 +DDOC_PARAM = $0 +DDOC_CONSTRAINT = $(DDOC_CONSTRAINT) if ($0) +DDOC_OVERLOAD_SEPARATOR = $0 +DDOC_TEMPLATE_PARAM_LIST = $0 +DDOC_TEMPLATE_PARAM = $0 diff --git a/srcpkgs/dmd/template b/srcpkgs/dmd/template index 5b7980e9399..26f9d77fbc0 100644 --- a/srcpkgs/dmd/template +++ b/srcpkgs/dmd/template @@ -1,14 +1,14 @@ # Template file for 'dmd' pkgname=dmd -version=2.072.0 +version=2.074.1 revision=1 wrksrc="dmd2" short_desc="The Digital Mars D compiler" maintainer="Juan RP " homepage="http://www.digitalmars.com/d/2.0/" -license="GPL-2" +license="Boost Software License 1.0" distfiles="http://downloads.dlang.org/releases/2.x/${version}/dmd.${version}.linux.tar.xz" -checksum=70341c2e8a90c46224d60f3bef200d5b2ddd6946b176ac2321e47d8ada2ad512 +checksum=e48783bd91d77bfdcd702bd268c5ac5d322975dd4b3ad68831babd74509d2ce9 if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then _archbits=64 @@ -25,6 +25,10 @@ depends="libphobos>=${version} gcc" do_build() { cd src + # missing file in archive for some reason? + mkdir -p res + cp ${FILESDIR}/default_ddoc_theme.ddoc res + cd dmd make ${makejobs} -f posix.mak MODEL=${_archbits} AUTO_BOOTSTRAP=1