You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2022/07/12 11:42:38 UTC

[brooklyn-ui] branch master updated: switch 404 img from jpg to png

This is an automated email from the ASF dual-hosted git repository.

heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git


The following commit(s) were added to refs/heads/master by this push:
     new e6563598 switch 404 img from jpg to png
     new a922a01c Merge branch 'master' of https://gitbox.apache.org/repos/asf/brooklyn-ui
e6563598 is described below

commit e65635980e9201374dce3fcce367921000d06600
Author: Alex Heneveld <al...@cloudsoft.io>
AuthorDate: Tue Jul 12 12:39:08 2022 +0100

    switch 404 img from jpg to png
    
    because jpg gives build issues on m1 mac (converting dynamically to png?):
    
        Module build failed: Error: dyld[78935]: Library not loaded: /usr/local/opt/libpng/lib/libpng16.16.dylib
          Referenced from: /Users/alex/code/brooklyn/brooklyn-ui/ui-modules/home/node_modules/mozjpeg/vendor/cjpeg
          Reason: tried: '/usr/local/opt/libpng/lib/libpng16.16.dylib' (no such file), '/usr/local/lib/libpng16.16.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/lib/libpng16.16.dylib' (no such file)
    
            at /Users/alex/code/brooklyn/brooklyn-ui/ui-modules/home/node_modules/execa/index.js:231:11
            at runMicrotasks (<anonymous>)
            at processTicksAndRejections (node:internal/process/task_queues:96:5)
         @ ./~/css-loader?sourceMap!./~/postcss-loader!./~/less-loader?{"modifyVars":{"@brand-primary":"#489028","@brand-accent":"#404040","brand-identifier":"brooklyn"},"sourceMap":true}!./app/index.less 12:158121-158172
    
    this seems to allow m1 builds with the old versions of things we use (would be nice to update those, but for another day)
---
 ui-modules/utils/br-core/img/brooklyn_404.png | Bin 0 -> 469066 bytes
 ui-modules/utils/br-core/style/bigheader.less |   2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui-modules/utils/br-core/img/brooklyn_404.png b/ui-modules/utils/br-core/img/brooklyn_404.png
new file mode 100644
index 00000000..0b207d27
Binary files /dev/null and b/ui-modules/utils/br-core/img/brooklyn_404.png differ
diff --git a/ui-modules/utils/br-core/style/bigheader.less b/ui-modules/utils/br-core/style/bigheader.less
index 4fd2b534..169b5b48 100644
--- a/ui-modules/utils/br-core/style/bigheader.less
+++ b/ui-modules/utils/br-core/style/bigheader.less
@@ -96,7 +96,7 @@
 }
 
 .big-header.full-width.fourofour .jumbotron.with-background-image {
-  background-image: url("@{br-core-path-img}/brooklyn_404.jpg");
+  background-image: url("@{br-core-path-img}/brooklyn_404.png");
   margin-top: -22px;
 
   h1 {