X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=OSX%2Fbuild-fntable.pl;h=dc69dfecc7468f036caf80c7619b057a6b04140c;hp=7e3a6f5ea3d0571f2044efcad3f4039021a6d77c;hb=aa75c7476aeaa84cf3abc192b376a8b03c325213;hpb=88cfe534a698a0562e81345957a50714af1453bc diff --git a/OSX/build-fntable.pl b/OSX/build-fntable.pl index 7e3a6f5e..dc69dfec 100755 --- a/OSX/build-fntable.pl +++ b/OSX/build-fntable.pl @@ -1,5 +1,5 @@ #!/usr/bin/perl -w -# Copyright © 2012-2014 Jamie Zawinski +# Copyright © 2012-2015 Jamie Zawinski # # Permission to use, copy, modify, distribute, and sell this software and its # documentation for any purpose is hereby granted without fee, provided that @@ -23,7 +23,7 @@ require 5; use strict; my $progname = $0; $progname =~ s@.*/@@g; -my ($version) = ('$Revision: 1.3 $' =~ m/\s(\d[.\d]+)\s/s); +my ($version) = ('$Revision: 1.5 $' =~ m/\s(\d[.\d]+)\s/s); my $verbose = 1; @@ -34,6 +34,7 @@ my %disable = ( 'lcdscrub' => 1, 'lockward' => 1, 'webcollage' => 1, + 'testx11' => 1, ); # Parse the RETIRED_EXES variable from the Makefiles to populate %disable. @@ -102,8 +103,8 @@ sub build_h($) { "\n"); $body .= "extern struct $suf"; - foreach my $s (@names) { - $body .= "\n *${s}_${suf},"; + foreach my $s (@names, 'testx11') { + $body .= "\n ${s}_${suf},"; } $body =~ s/,\s*$/;/s; @@ -120,6 +121,8 @@ sub build_h($) { " " . line('apple2', $suf) . "#elif defined(PHOSPHOR_ONLY)\n" . " " . line('phosphor', $suf) . + "#elif defined(TESTX11_ONLY)\n" . + " " . line('testx11', $suf) . "#else\n"); foreach my $s (@names) { $body .= line($s, $suf); } $body .= ("#endif\n" .