Hello! El mar, 10 de ago. de 2021 a la(s) 14:54, Alexis Murzeau ([email protected]) escribió:
> Control: tag -1 + patch > > On Tue, 29 Jun 2021 01:44:06 +0530 Pirate Praveen < > [email protected]> wrote: > > It uses webpack to build. > > > > > https://github.com/nicolargo/glances/blob/develop/glances/outputs/static/package.json#L28 > > > > cd glances/outputs/static && webpack > > > > in debian/rules with required build dependencies added should work. Most > build dependencies are already packaged. > > -- > > Sent from my p≡p for Android. > > Most (non-dev) dependencies are not in Debian [0] (like angular) so > I've made a MR [1] that simply remove pre-built files. > > This makes the remote web interface probably useless, but the package > can still be used for most usages (I guess, in standalone mode for > example, which is the only mode I use). > > [1] npm2deb output on package.json (modified to add required "name" key): > Dependencies: > NPM Debian > glances-web-ui (FIX_ME version) None > ├─ angular (^1.7.9) None > ├─ angular-hotkeys (^1.7.0) None > ├─ bootstrap (^3.4.1) None > ├─ favico.js (^0.3.10) None > └─ lodash (^4.17.15) node-lodash > (4.17.21+dfsg+~cs8.31.189.20210220-1) > > Build dependencies: > NPM Debian > clean-webpack-plugin (^0.1.19) None > copy-webpack-plugin (^4.6.0) node-copy-webpack-plugin > (5.1.2+~cs9.0.2-4) > css-loader (^0.28.11) node-css-loader > (5.0.1+~cs14.0.5-2) > del (^2.2.1) node-del (5.1.0-2) > exports-loader (^0.7.0) node-exports-loader > (1.1.1-2) > file-loader (^1.1.11) node-file-loader > (6.2.0-2) > html-loader (^0.5.5) None > less (^3.10.3) less.js (3.13.0+dfsg-5) > less-loader (^4.1.0) node-less-loader > (5.0.1-2) > ngtemplate-loader (^2.0.1) None > node-sass (^4.14.0) node-node-sass > (4.14.1+git20200512.e1fc158+dfsg-4) > sass-loader (^6.0.7) None > style-loader (^0.20.3) node-style-loader > (2.0.0-2) > url-loader (^0.6.2) node-url-loader (4.1.1-3) > webpack (^3.12.0) node-webpack > (5.6.0+~cs6.4.0-1~exp2) > > > [0] https://salsa.debian.org/debian/glances/-/merge_requests/2 > > -- > Alexis Murzeau > PGP: B7E6 0EBB 9293 7B06 BDBC 2787 E7BD 1904 F480 937F | > > This week, I will work to new revision of glances to fix this problem. Alexis, really Thanks you very much for the MR!!, although I don't like the idea of break web interface, I think we don't have many options. Johannes Schauer Marin Rodrigues, Do you agree with this solution? Regards -- Daniel Echeverri Debian Developer Linux user: #477840 GPG Fingerprint: D0D0 85B1 69C3 BFD9 4048 58FA 21FC 2950 4B52 30DB

