Comments (9)
currently it uses microsoft/vcpkg@a9b27ed but as of a couple days ago i dont think that will work because some of the msys packages it tries to pull are so old they 404. ive been trying to move to msys2 and will probably finalize that very soon, you can try that from the msys branch.
switching to gtk4 would be a pretty big thing to try and do and its something i looked into. its not stable as a cross-platform gui framework right now (at least not as stable as gtk3) and i wouldnt be using the c++ bindings since its probably going to be abandoned (also gtkmm is basically hand-written and lacks a lot of the API since it was first developed before gobject-introspection which would make a lot more sense to use now).
anyways try the msys branch and if you run into any other issues feel free to open another issue for that
from abaddon.
Thanks for the github version, you can probably get away with using the latest msys install that vcpkg uses, just modify C:\dev\vcpkg\scripts\cmake\vcpkg_acquire_msys.cmake to the latest. I actually had to custom write my own because I am compiling on an x86 machine and vcpkg pulls the x64 msys repo. Trying to build this for a retro laptop (>10 years old) because Discord is simply unusable on it. Should install Linux but I've yet to find a stable distro.
Thanks again!
from abaddon.
stable distros aren't very hard to find. you know, debian stable, ubuntu lts, mint lts, etc
from abaddon.
I built it for 32 bit (on a 32 bit host, lol): https://github.com/joshmmlx/abaddon/releases/tag/v0.1.4
Works very well, 30 megs of ram as opposed to the 500 megs it would take to load Discord in Chrome/Firefox. Brought new life to this retro laptop. :)
from abaddon.
nice, though i dont see anything uploaded there. and btw if you were to have gotten it to build with gtk4, the memory usage would have been very bad. idk why but gtk4 eats so much memory on windows.
from abaddon.
Oops, Pale Moon browser didn't attach it properly. Fixed now. Also, abaddon will use up a gargantuan amount of ram in fast order on a slow system if you scroll too fast with lots of images and media files present, but I believe that is a cache writing thing on slow systems.
I tried figuring out a way to pattern the new GTK4 menu items with yours but I couldn't, there's other projects that wrote scripts to help them do it but yeah, a bit beyond me. I did notice while going over the code your comment about c time conventions lol...
from abaddon.
lots of images and media files
yeah this is particularly bad when there are gifs because it will try and load the entire gif and just display the first frame, and gif decoding is really really memory intensive in gtk (at least on windows). i think it uses wingdi which probably isnt the most efficient api. for instance open the emoji list in a server with a good amount of animated emojis and it uses a stupid amount of memory. i dont really know what to do about that. i guess for messages i can probably modify the url a bit to get a smaller file from discords cdn
from abaddon.
Been more than a year, how are the prospects of GTK4 looking now?
from abaddon.
putting aside how much id have to rewrite, gtk4 still isnt in a very good place imo. i would like to benefit from the increased responsiveness/snappiness buuutttt i still find it too unstable to use. it has significantly higher memory usage + has bad memory leaks and for example u can segfault the gtk4-demo reliably in about 5 seconds :P
from abaddon.
Related Issues (20)
- Show current ping in VCs HOT 1
- Notifications HOT 7
- VC Leave/Join sounds
- Game activity detection support
- BUG: Token not fetched from INI file HOT 3
- libfmt version conflict causing the build to fail HOT 4
- ability to change your own and see other users pronouns HOT 1
- Silent message support HOT 2
- Token issue HOT 6
- Clang build crashes HOT 3
- Add rounded avatars HOT 1
- [Suggestion] Option to show only the channels of currently selected guild HOT 4
- Links colored black after PR #252 HOT 3
- No Audio at VC Move HOT 2
- Error while building (WINDOWS) HOT 8
- [remote-auth-ws] [error] Websocket error: Status: 0 Reason: Unable to connect to remote-auth-gateway.discord.gg on port 443, error: OpenSSL failed - error:0A000086:SSL routines::certificate verify failed HOT 1
- Install target does not install the main binary HOT 9
- Default folder for resources and css on macOS is really odd and no configure option available to set the right path HOT 5
- macOS needs a several fixes for subprojects: how to do that, technically?
- URI handler opens links and pictures in MS Word HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from abaddon.