<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">On Wed, May 29, 2019 at 1:12 AM Rainer Müller <<a href="mailto:raimue@macports.org">raimue@macports.org</a>> wrote:</span><br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 28.05.19 09:11, Rajdeep Bharati wrote:<br>
> I am packaging buildbot 2.x as a port. However, a key part of buildbot 2<br>
> is the web interface, buildbot-www, which uses many javascript<br>
> dependencies (those aren't available as MacPorts packages yet). Please<br>
> find the attached image which shows the dependencies.<br>
> <br>
> Screenshot 2019-05-28 at 11.36.55 AM.png<br>
> <<a href="https://drive.google.com/file/d/1CnjcmMvd4fsXtJqhjrTRGVC0Rfn2s9gW/view?usp=drive_web" rel="noreferrer" target="_blank">https://drive.google.com/file/d/1CnjcmMvd4fsXtJqhjrTRGVC0Rfn2s9gW/view?usp=drive_web</a>><br>
> <br>
> What would be the right way to package this? Would it be a python port?<br>
> Would it be better to package all of the above JS libraries?<br>
<br>
Out of curiosity, where does this screenshot come from?<br>
<br></blockquote><div><span class="gmail_default" style="font-family:arial,helvetica,sans-serif">It's present in the UI: </span><a href="https://nine.buildbot.net/#/about">https://nine.buildbot.net/#/about</a><span class="gmail_default" style="font-family:arial,helvetica,sans-serif"></span> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
To me it looks like all of these (minified) JavaScript libraries and<br>
also FontAwesome are already included in the release tarball. You do not<br>
need to create ports for these, the software will use the included copies.<br>
<br></blockquote><div><span class="gmail_default" style="font-family:arial,helvetica,sans-serif">I didn't understand how it would use the included copies.</span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
$ tar xf buildbot-www-2.3.1.tar.gz<br>
$ $ tree buildbot-www-2.3.1/buildbot_www/static<br>
buildbot-www-2.3.1/buildbot_www/static/<br>
├── d3.min.js<br>
├── fonts<br>
│ ├── FontAwesome.otf<br>
│ ├── fontawesome-webfont.eot<br>
│ ├── fontawesome-webfont.svg<br>
│ ├── fontawesome-webfont.ttf<br>
│ └── fontawesome-webfont.woff<br>
├── img<br>
│ ├── favicon.ico<br>
│ ├── icon.png<br>
│ ├── icon.svg<br>
│ ├── icon16.svg<br>
│ └── nobody.png<br>
├── index.html<br>
├── scripts.js<br>
├── styles.css<br>
└── tests.js<br>
<br>
Rainer<br></blockquote><div><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Rajdeep</div></div></div>