GithubHelp home page GithubHelp logo

talisein / mal-gtk Goto Github PK

View Code? Open in Web Editor NEW
31.0 31.0 2.0 1.27 MB

GTK+3 interface for MyAnimeList.net (Desktop Linux)

License: GNU General Public License v3.0

C++ 63.80% C 23.42% Makefile 0.36% Meson 2.24% Python 8.19% Perl 1.96% Shell 0.04%
anime c c-plus-plus desktop linux mal-gtk manga myanimelist

mal-gtk's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

halfa br1ght0ne

mal-gtk's Issues

AX_COMPILER_FLAGS_CFLAGS error

Tried compiling on Arch. While running ./autogen.sh I ran into the following error:

./configure: line 4596: syntax error near unexpected token `AX_COMPILER_FLAGS_CFLAGS'
./configure: line 4596: `               AX_REQUIRE_DEFINED(AX_COMPILER_FLAGS_CFLAGS)

CSD compatibility and Status Quo

First of all, it was so good to find one for Linux (though late). @talisein are you still working on it? It would be so nice to see some Client Side Decoration here. It will look updated and you know what I mean.
If you are planning to do this or think that you should abandon it, do you have any plans or any suggestions for what others should do if they plan on doing a similar thing?

Error: use of deleted function

Error during "make"

gui/manga_list_view.cpp:224:52: error: use of deleted function ‘bool Glib::operator!=(int, const Glib::ustring&)’
         if (status != row.get_value(columns->status))

OS: Archlinux
glibmm 2.48.1-1
gtkmm3 3.20.1-1
cpp (GCC) 6.1.1 20160802

[me@archlinux mal-gtk]$ make
Making all in src
make[1]: ingresso nella directory "/home/me/Programs/mal-gtk/src"
make  all-am
make[2]: ingresso nella directory "/home/me/Programs/mal-gtk/src"
g++ -DPACKAGE_NAME=\"mal-gtk\" -DPACKAGE_TARNAME=\"mal-gtk\" -DPACKAGE_VERSION=\"0.3.25\" -DPACKAGE_STRING=\"mal-gtk\ 0.3.25\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mal-gtk\" -DVERSION=\"0.3.25\" -DNDEBUG=/\*\*/ -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LOCALE_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDARG_H=1 -I.   -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib/gtkmm-3.0/include -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib/gdkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/cairomm-1.0 -I/usr/lib/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pthread -I/usr/include/libsecret-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -Wall -Wextra -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wno-overloaded-virtual -Wswitch-enum -Wswitch-default -Wno-error=unused-parameter -Wno-error=missing-field-initializers -Wno-error=overloaded-virtual -Wno-redundant-decls  -MT gui/mal_gtk-manga_list_view.o -MD -MP -MF gui/.deps/mal_gtk-manga_list_view.Tpo -c -o gui/mal_gtk-manga_list_view.o `test -f 'gui/manga_list_view.cpp' || echo './'`gui/manga_list_view.cpp
gui/manga_list_view.cpp: In member function ‘virtual bool MAL::MangaDetailViewEditable::update_list_model(const Gtk::TreeRow&)’:
gui/manga_list_view.cpp:224:52: error: use of deleted function ‘bool Glib::operator!=(int, const Glib::ustring&)’
         if (status != row.get_value(columns->status))
                                                    ^
In file included from /usr/include/glibmm-2.4/glibmm/timeval.h:27:0,
                 from /usr/include/glibmm-2.4/glibmm/main.h:23,
                 from /usr/include/glibmm-2.4/glibmm/dispatcher.h:22,
                 from gui/manga_list_view.hpp:20,
                 from gui/manga_list_view.cpp:18:
/usr/include/glibmm-2.4/glibmm/ustring.h:1634:6: note: declared here
 bool operator!=(int lhs, const ustring& rhs) = delete;
      ^~~~~~~~
make[2]: *** [Makefile:893: gui/mal_gtk-manga_list_view.o] Error 1
make[2]: uscita dalla directory "/home/me/Programs/mal-gtk/src"
make[1]: *** [Makefile:397: all] Error 2
make[1]: uscita dalla directory "/home/me/Programs/mal-gtk/src"
make: *** [Makefile:394: all-recursive] Error 1

build failing

In file included from main.cpp:22:0:
application.hpp: In function ‘int main(int, char**)’:
application.hpp:24:8: error: inlining failed in call to ‘MAL::Application::~Application() noexcept’: call is unlikely and code size would grow [-Werror=inline]
class Application
^
main.cpp:33:36: error: called from here [-Werror=inline]
MAL::Application app(argc, argv);
^
In file included from main.cpp:22:0:
application.hpp:24:8: error: inlining failed in call to ‘MAL::Application::~Application() noexcept’: call is unlikely and code size would grow [-Werror=inline]
class Application
^
main.cpp:33:36: error: called from here [-Werror=inline]
MAL::Application app(argc, argv);
^
cc1plus: all warnings being treated as errors
Makefile:658: recipe for target 'mal_gtk-main.o' failed

Login elusion, few titles shown

Hi,

when login window appear if you press ESC or click on "Close" in right-mouse menu (sorry, in this screen is in italian) you can elude the login.
image

After this "procedure" i see an empty anime list but a manga list with some of my titles (from a sort of cache, I suppose).

I launched mal-gtk from terminal and this is the log (I get segmentation fault when i try to reload lists):

[archlinux@archlinux ~]$ mal-gtk
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Error: Password dialog had unexpected exit.
Segmentation fault error (core dump created)

build error

malgtk_xml.c: In function ‘malgtk_xml_serialize’:
malgtk_xml.c:152:20: error: ‘G_TYPE_TREE’ undeclared (first use in this function); did you mean ‘G_TYPE_REGEX’?
} else if (G_TYPE_TREE == defs->type) {
^~~~~~~~~~~
G_TYPE_REGEX
malgtk_xml.c:152:20: note: each undeclared identifier is reported only once for each function it appears in

Build Failure

ninja: Entering directory `build'
[5/59] Generating methods.defs with a meson_exe.py custom command.
FAILED: libmalgtkmm/src/malgtk_methods.defs
/usr/bin/python /bin/meson --internal exe /home/solaraquarion/mal-gtk/build/meson-private/meson_exe_h2def.py_d93aea0c491ef29460cd4a0f2c69feb26437e0f5.dat
Traceback (most recent call last):
File "/home/solaraquarion/mal-gtk/tools/defs_gen/h2def.py", line 76, in
from sets import Set
ModuleNotFoundError: No module named 'sets'
[18/59] Compiling C++ object 'src/mal-gtk@exe/mal.cpp.o'.
ninja: build stopped: subcommand failed.
ninja -C build 19.78s user 2.11s system 630% cpu 3.471

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.