Giter Site home page Giter Site logo

ahodesuka / ahoviewer Goto Github PK

View Code? Open in Web Editor NEW
472.0 24.0 31.0 1.82 MB

A GTK image viewer, manga reader, and booru browser

License: MIT License

Shell 0.04% C++ 94.16% C 5.12% Meson 0.56% CSS 0.12%
mangareader booru-browser c-plus-plus image-viewer webm animated-gif

ahoviewer'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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

ahoviewer's Issues

Can't have tabs with local images

There seems to be no way to use tabs to keep a local image open as well as browsing *booru sites. After we open a local image and open a new tab/search *booru, the only way to go back to that local image seems to be closing all the tabs.

It'd be great if we could have the local image as a separate tab.

Scaling customisation

It'd be great if there were some options that let us change default image scaling.

For example, I'd prefer that images bigger than the window can display get scaled down to the window size rather than start out at 1:1 ratio. I understand that not all people want this though so allowing some options would be good I think.

mcomix has a few very useful buttons:
mcomix buttons

Maybe something like this would be good?

Nothing to do after the initial interface comes up.

I'm starting the program with ruby bin/ahoviewer. The interface comes up and that's it, nothing else comes up. It works as expected if I try to open a file on my disk but I can't figure out how I'm meant to use it for *booru sites. I imagine there are supposed to be some options to choose from but I just get pic related

ahoviewer

TypeError after starting

✗ 1 misaki shana % ruby bin/ahoviewer 
/tmp/ahoviewer/lib/ahoviewer/booru/site.rb:236:in `[]': no implicit conversion of String into Integer (TypeError)
        from /tmp/ahoviewer/lib/ahoviewer/booru/site.rb:236:in `block (2 levels) in get_tags'
        from /tmp/ahoviewer/lib/ahoviewer/booru/site.rb:236:in `each'
        from /tmp/ahoviewer/lib/ahoviewer/booru/site.rb:236:in `block in get_tags'

Disclaimer: I have no idea what I'm doing when it comes to Ruby. Perhaps I'm running it wrong.

Hard drive space gone

It might not have been ahoviewer that caused this problem but I'm fairly certain it was. I was running ncmpcpp and ahoviewer, then I started to scroll through the pictures quickly and noticed that some errors kept popping up in my terminal. Then my computer slowed down and said I was running out of space. It went from around 20Gb to nothing in a couple min. After force shutting down it was fixed but I just wanted to put this here just in case it was ahoviewer that caused this.
This was the error:
(ahoviewer:1769): glibmm-CRITICAL **: bool Glib::DispatchNotifier::pipe_io_handler(Glib::IOCondition): assertion 'data.notifier == this' failed
Also just so you know I'm using osx and version 1.4.4-11-ge05df9e for ahoviewer.

Recursive archive extracting

Add support for archives inside archives. i.e

[Evil_Genius]Berserk_v35.rar
├── [Evil_Genius]Berserk_v35c307.rar
├── [Evil_Genius]Berserk_v35c308.rar
├── [Evil_Genius]Berserk_v35c309.rar
├── [Evil_Genius]Berserk_v35c310.rar
├── [Evil_Genius]Berserk_v35c311.rar
├── [Evil_Genius]Berserk_v35c312.rar
├── [Evil_Genius]Berserk_v35c313.rar
├── [Evil_Genius]Berserk_v35c314v2.rar
└── [Evil_Genius]Berserk_v35c315.rar

file2string error during make

While running the make command, I'm getting the following error:
Usage: ./file2string infile outfile identifier
I've determined that the command being run is:
./file2string ui.cc ahoviewer_ui
which causes errors because it only has two of three arguments. I haven't been able to figure out how to fix the make file.

Provide an ebuild

It would be nice to have an "official" ebuild for this.

Right now I'm using the following (does not install .desktop / icons):

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit autotools eutils git-r3

DESCRIPTION="A GTK2 image viewer, manga reader, and booru browser"
HOMEPAGE="https://github.com/ahodesuka/ahoviewer"

EGIT_REPO_URI="https://github.com/ahodesuka/${PN}.git"
EGIT_BRANCH="master"

LICENSE="MIT"
SLOT="0"
KEYWORDS=""
IUSE="gnome-keyring gstreamer rar zip"

DEPEND="gnome-keyring? (
                app-crypt/libsecret
                gnome-base/gnome-keyring
        )
        gstreamer? (
                media-libs/gstreamer:1.0
                media-libs/gst-plugins-bad:1.0
                media-libs/gst-plugins-good:1.0
        )
        rar? ( app-arch/unrar )
        zip? (
                app-arch/zip
                dev-libs/libzip
        )
        >=dev-cpp/gtkmm-2.20.0:2.4
        >=dev-cpp/glibmm-2.36.0
        >=dev-libs/libconfig-1.5
        >=net-misc/curl-7.32.0
        dev-libs/libxml2"
RDEPEND="${DEPEND}"

src_configure() {
        autoreconf -fvi  || die
        ./configure \
                $(use_enable gnome-keyring libsecret) \
                $(use_enable gstreamer gst) \
                $(use_enable rar) \
                $(use_enable zip) || die
}

src_compile() {
        emake
}

src_install() {
        emake DESTDIR="${D}" install
}

Manual zoom mode

Adjust scroll bars appropriately when zooming in and out.
Try to keep the image centered.

Invalid file names on Windows

There is an issue on Windows where long file names or file names that contain unicode characters cannot be opened.
I think this can be fixed by using Glib's Glib::ustring instead of the standards std::string.

Freeze after loading more than ~1000 images

The number is in no way exact.

I often hit a point while browsing where all thumbnails fall back to the "image missing" icon, and after a while the entire program freezes.

I'm currently trying to get a bit more info out of this.

Memory hogs using the booru browser

The tags listed a little over 700 images, I scrolled down to the bottom and used the save images option. It plowed through all 8GB of RAM and the 8GB of extra swap space. This is with a relatively small amount of images, I can't imagine what would happen with very popular tags. I guess this isn't a common scenario, but I bet others save most images and then delete the ones they dislike.

This is also probably on my end, but browsing a directory with lots of images takes some time to startup, other viewers have no problem opening up an individual image in the unsorted mess.

Random segfaults

Because after an average of 10 consecutive crashes while browsing every day I think it's about time I report this madness that just gets on my nerves every time.

While browsing any booru with or without any tags, sometimes the program instantly crashes, either when beginning to load posts or while scrolling. A backtrace just gives completely meaningless information to me:

#0  0x00007ffff64c249c in Glib::DispatchNotifier::pipe_io_handler(Glib::IOCondition) () from /usr/lib/libglibmm-2.4.so.1
#1  0x00007ffff64c4ff7 in Glib::IOSource::dispatch(sigc::slot_base*) () from /usr/lib/libglibmm-2.4.so.1
#2  0x00007ffff64c49ef in Glib::Source::dispatch_vfunc(_GSource*, int (*)(void*), void*) () from /usr/lib/libglibmm-2.4.so.1
#3  0x00007ffff470cc7a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#4  0x00007ffff470d020 in ?? () from /usr/lib/libglib-2.0.so.0
#5  0x00007ffff470d342 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#6  0x00007ffff7049787 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#7  0x00007ffff7a4016f in Gtk::Main::run(Gtk::Window&) () from /usr/lib/libgtkmm-2.4.so.1
#8  0x000000000041c803 in main (argc=1, argv=0x7fffffffdeb8) at main.cc:51

The trace is always the same, so at least the crashing is somewhat consistent.

Although I haven't been able to test if this happens on other distros, all my computers with Arch suffer this same exact problem. It seems to be more frequent on my laptop than on my desktop, though.

My dmesg is flooded with "segfault at 0" and "segfault at 19" messages from all the crashing. This has been happening for months now.

Style

I successfully installed ahoviewer in Arch Linux using the AUR but when I actually open it, the style has an ugly white to it. Is there a way so I can get it to look like your screenshot? This is what it looks like: http://i.imgur.com/QV74vOI.png

Configure doesn't recognize unrar from apt on Debian testing/Stretch

Everything is working fine except that unrar isn't recognized by configure.

$ ./bootstrap 
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/bin/automake line 3936.
autoreconf: Leaving directory `.'
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=c++11... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for glibmm... yes
checking for gtkmm... yes
checking for libconfig... yes
checking for gawk... (cached) mawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.47.0
checking for libcurl >= version 7.32.0... yes
checking whether libcurl is usable... yes
checking for curl_free... yes
checking for libxml2... yes
checking for gstreamer... yes
checking for libsecret... yes
checking for unrar/dll.hpp... no
checking for libunrar/dll.hpp... no
checking for libzip... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pixmaps/Makefile
config.status: creating po/Makefile
config.status: creating src/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
$ dpkg-query -l | grep unrar
ii  unrar                                 1:5.3.2-1                                  amd64        Unarchiver for .rar files (non-free version)
ii  unrar-free                            1:0.0.1+cvs20140707-1                      amd64        Unarchiver for .rar files

Segmentation fault (core dumped)

Running on Arch Linux
Here's the output gdb gives me:

Program received signal SIGSEGV, Segmentation fault.
AhoViewer::Booru::Browser::get_active_site (this=) at booru/browser.h:67
67 { return Settings.get_sites()[m_ComboBox->get_active_row_number()]; }
(gdb) bt
#0 AhoViewer::Booru::Browser::get_active_site (this=) at booru/browser.h:67
#1 AhoViewer::Booru::Browser::<lambda()>::operator() (__closure=0x89bd40) at booru/browser.cc:90
#2 sigc::adaptor_functorAhoViewer::Booru::Browser::update_combobox_model()::<lambda() >::operator() (this=0x89bd40)

at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:256

#3 sigc::internal::slot_call0AhoViewer::Booru::Browser::update_combobox_model()::<lambda(), void>::call_it(sigc::internal::slot_rep *) (rep=0x89bd10) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:108
#4 0x00007ffff64c98c8 in Glib::SignalProxyNormal::slot0_void_callback(GObject, void_) ()

from /usr/lib/libglibmm-2.4.so.1
#5 0x00007ffff49e1015 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#6 0x00007ffff49f3304 in ?? () from /usr/lib/libgobject-2.0.so.0
#7 0x00007ffff49fbdfc in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#8 0x00007ffff49fc12f in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#9 0x00007ffff6fc65bb in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#10 0x00007ffff6fc8b00 in gtk_combo_box_set_active () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x0000000000423a1c in AhoViewer::Booru::Browser::update_combobox_model (this=this@entry=0x8822f0)

at booru/browser.cc:95

#12 0x0000000000425894 in AhoViewer::Booru::Browser::Browser (this=0x8822f0, cobj=, bldr=...,

__in_chrg=<optimized out>, __vtt_parm=<optimized out>) at booru/browser.cc:44

#13 0x0000000000468c13 in Gtk::Builder::get_widget_derivedAhoViewer::Booru::Browser (widget=@0x870e50: 0x0, name=...,

this=<optimized out>) at /usr/include/gtkmm-2.4/gtkmm/builder.h:484

#14 AhoViewer::MainWindow::MainWindow (this=0x870de0, cobj=, bldr=..., __in_chrg=,

__vtt_parm=<optimized out>) at mainwindow.cc:34

#15 0x0000000000456820 in Gtk::Builder::get_widget_derivedAhoViewer::MainWindow (this=, name=...,

widget=@0x7fffffffe7b0: 0x0) at /usr/include/gtkmm-2.4/gtkmm/builder.h:484

#16 0x000000000041bb08 in main (argc=1, argv=0x7fffffffe928) at main.cc:41

"Ahoviewer.exe has stopped working"

For some reason, whenever I try to use any of the booru viewers ahoviewer will crash upon the first search. I've tried launching in admin, entering my booru user and pass, and nothing has worked. I'm using windows 10 with 64 bit (of course) and I'm also using the 1.4.5 version

I can give more pc specs if needed

On bootstrap with Debian testing/stretch

The current git version doesn't get past the bootstrap and configure. I'm getting this

./configure: line 16407: syntax error near unexpected token `WINDOWS,'
./configure: line 16407: `        NITAM_CONDITIONAL(WINDOWS, false)'

EDIT: I redownloaded the files and it got past the error.

The real issue is that it doesn't recognize unrar or unrar-free.

Windows version?

First, is it possible to install this on Windows, and second, can it be done with a simple zip or exe? I don't know how to compile from source.

Navigate to previous and next sibling folder

A feature that allows navigating to the next sibling folder or file relative to the currently opened one would be great. For example, given the following situation (bold means currently opened)

  • manga/
    • title/
      • chapter 1/
      • chapter 2/
      • chapter 3/

When I now reach the end of chapter 1 and attempt to navigate to the next image once more, ideally ahoviewer would automatically navigate to the first image of chapter 2. The same in reverse of course goes for navigating backwards.

Making this action a configurable keybinding (for example up and down arrows as default) in addition to an option for the last and first image of opened folders and files would be great too. That way easy navigation through mangas and similar media would be possible.

Assign multiple keybindings to same action

Hey! First off: I really love ahoviewer, it comes very close to the comfiness I was used to when using Honeyview, except that ahoviewer even additionally supports *.webm files -- which is just awesome.

In Honeyview it was possible to assign multiple keybindings to the same action, for example I could assign the "next image" action to the space key, D and the right arrow key. Is this something you would consider adding?

Unable to Compile on OS X

I'm trying to compile this under OS X El Capitan, but I'm unable to due to an error regarding libcurl (which is installed).

./configure: line 3976: syntax error near unexpected token `,'
./configure: line 3976: `LIBCURL_CHECK_CONFIG(, 7.32.0,, AC_MSG_ERROR([libcurl >= 7.32.0 not found]))'

I have libcurl installed.

$ curl --version
curl 7.43.0 (x86_64-apple-darwin15.0) libcurl/7.43.0 SecureTransport zlib/1.2.5

I've tried setting the following environmental variables in hopes of resolving the issue, but no luck.

LDFLAGS=-L/usr/local/opt/curl/lib
CPPFLAGS=-I/usr/local/opt/curl/include
LIBCURL_CFLAGS=-I/usr/local/opt/curl/include
LIBCURL_LIBS=-L/usr/local/opt/curl/lib

Thanks!
P.S. I installed cURL through Homebrew.

Add Keybinds to ReadMe

Would be nice to have them somewhere easy to find (even a copy/paste from the config.rb would be fine).
It took me a little bit of searching before finding out that there even were keybindings since I had no idea how to get the booru browser up when it obviously had to be there somewhere.

Question: Install help

I know it's sad but I can't figure out how to get your program running. I cloned the git and tried to find all the necessary dependencies but I couldn't install some of them. I installed gtkmm, glibmm and libconfig but I couldn't find libcurl and pugixml. I did install libcurlpp0 and libpugixml1 but I'm not sure if those are the right ones. I've tried to run the bootstrap file but it says autoreconf: not found. I still am fairly new to linux but if you could help me out with how to get your program running, I would great appreciate it.

Can't compile it on Debian Jessie

Hello. I'm trying to compile it on Debian Jessie and I'm getting the following error:

"configure.ac:36: error: possibly undefined macro: AC_MSG_ERROR
If this token and others are legitimate, please use m4_pattern_allow.
"

pkg-config is installed.

Add keybind to extract image from archive

Just like you can download an image from booru, you should be able to extract a single image from an archive, it's a big pain to screenshot or extract single pages from a manga that I want to keep. Control-S would probably work for both.

Random chance of Segmentation fault

I have a random chance of crashing with Segmentation fault (core dumped) when downloading an image from a booru, this only happens with online images.
Not an issue with gstreamer version, because it still happened when I had no version of gstreamer installed between 1.6 and 1.4

Can't view\save webm files on Windows

Using ahoviewer 1.4.8 build from https://github.com/ahodesuka/ahoviewer/releases
Searched for "webm vocaloid -rating:explicit" on Gelbooru with API key entered.
After pressing "Save Image as..." the save dialog shows up, but after pressing "Save" it shows "Downloading 0 bytes \ (file size) @ 0 bytes\s" in the status bar and doesn't download anything. The same file can be viewed\saved in any other way (i.e. with mpv or any browser).

Mouse cursor hiding

Hide the mouse cursor when it has not moved after a given amount of time.

Preferences window

Finish the preferences window that will include main options, imaging options, booru site editor/options, and a keybindings editor.

Referrer problem

I'm trying to view image from behoimi.org but none of the images are available and in their forums they said that a problem with sending a blank referrer of bad user strings could cause that. Is it possible to fix this?

Link : http://behoimi.org/forum/show/395

Random chance of crashing when viewing webms

When viewing local webms using Ahoviewer there is a high chance of a crash with the error: ahoviewer: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.

It only happens when viewing webms, and occurs when selecting a webm from the sidebar.
The crash isn't attached to certain webms, I can view the same webm it just crashed on in ahoviewer.

running ahoviewer 1.4.5-5-g9b64c2d

Several "undefined reference to [libcurl function]" messages.

I was trying to build this on Linux Mint 18 and I think I had installed all of the required dependencies, but it gives me several messages about various libcurl methods not being defined. I tried looking this problem up and apparently it has to do with libcurl not being linked in C++, but I have no idea how to fix that. Here's the messages that show up when I try to do 'make' again after doing that command the first time.

Making all in pixmaps
make[1]: Entering directory '/home/james/Downloads/ahoviewer-master/pixmaps'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/james/Downloads/ahoviewer-master/pixmaps'
Making all in po
make[1]: Entering directory '/home/james/Downloads/ahoviewer-master/po'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/james/Downloads/ahoviewer-master/po'
Making all in src
make[1]: Entering directory '/home/james/Downloads/ahoviewer-master/src'
make all-am
make[2]: Entering directory '/home/james/Downloads/ahoviewer-master/src'
CXXLD ahoviewer
archive/ahoviewer-archive.o: In function AhoViewer::TempDir::remove_dir(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': /home/james/Downloads/ahoviewer-master/src/./tempdir.h:45: undefined reference toGlib::DirIterator::operator_() const'
archive/ahoviewer-archive.o: In function TempDir': /home/james/Downloads/ahoviewer-master/src/./tempdir.h:57: undefined reference toGlib::get_tmp_dir()'
booru/ahoviewer-image.o: In function AhoViewer::Booru::Curler::get_error() const': /home/james/Downloads/ahoviewer-master/src/booru/curler.h:48: undefined reference tocurl_easy_strerror'
booru/ahoviewer-page.o: In function AhoViewer::Booru::Curler::get_error() const': /home/james/Downloads/ahoviewer-master/src/booru/curler.h:48: undefined reference tocurl_easy_strerror'
ahoviewer-image.o: In function __cxx_global_var_init.14': /home/james/Downloads/ahoviewer-master/src/image.cc:9: undefined reference toGlib::get_user_cache_dir()'
ahoviewer-imagelist.o: In function AhoViewer::ImageList::on_directory_changed(Glib::RefPtr<Gio::File> const&, Glib::RefPtr<Gio::File> const&, Gio::FileMonitorEvent)': /home/james/Downloads/ahoviewer-master/src/imagelist.cc:360: undefined reference toGio::File::get_path() const'
/home/james/Downloads/ahoviewer-master/src/imagelist.cc:367: undefined reference to Gio::File::get_path() const' /home/james/Downloads/ahoviewer-master/src/imagelist.cc:351: undefined reference toGio::File::get_path() const'
ahoviewer-imagelist.o: In function operator()': /home/james/Downloads/ahoviewer-master/src/imagelist.cc:316: undefined reference toGio::File::get_path() const'
ahoviewer-imagelist.o: In function void std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_range_initialize<Glib::DirIterator>(Glib::DirIterator, Glib::DirIterator, std::input_iterator_tag)': /usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/stl_vector.h:1274: undefined reference toGlib::DirIterator::operator_() const'
ahoviewer-main.o: In function main': /home/james/Downloads/ahoviewer-master/src/main.cc:21: undefined reference tocurl_global_init'
/home/james/Downloads/ahoviewer-master/src/main.cc:52: undefined reference to curl_global_cleanup' ahoviewer-mainwindow.o: In functionAhoViewer::MainWindow::open_file(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, int, bool)':
/home/james/Downloads/ahoviewer-master/src/mainwindow.cc:182: undefined reference to Glib::filename_from_uri(Glib::ustring const&)' /home/james/Downloads/ahoviewer-master/src/mainwindow.cc:187: undefined reference toGlib::get_current_dir()'
ahoviewer-mainwindow.o: In function AhoViewer::MainWindow::on_drag_data_received(Glib::RefPtr<Gdk::DragContext> const&, int, int, Gtk::SelectionData const&, unsigned int, unsigned int)': /home/james/Downloads/ahoviewer-master/src/mainwindow.cc:286: undefined reference toGlib::filename_from_uri(Glib::ustring const&)'
ahoviewer-mainwindow.o: In function AhoViewer::MainWindow::on_open_recent_file()': /home/james/Downloads/ahoviewer-master/src/mainwindow.cc:850: undefined reference toGlib::filename_from_uri(Glib::ustring const&)'
ahoviewer-settings.o: In function SettingsManager': /home/james/Downloads/ahoviewer-master/src/settings.cc:15: undefined reference toGlib::get_user_config_dir()'
booru/ahoviewer-curler.o: In function AhoViewer::Booru::Curler::write_cb(unsigned char const*, unsigned long, unsigned long, void*)': /home/james/Downloads/ahoviewer-master/src/booru/curler.cc:23: undefined reference tocurl_easy_getinfo'
booru/ahoviewer-curler.o: In function Curler': /home/james/Downloads/ahoviewer-master/src/booru/curler.cc:53: undefined reference tocurl_easy_init'
/home/james/Downloads/ahoviewer-master/src/booru/curler.cc:59: undefined reference to curl_easy_setopt' /home/james/Downloads/ahoviewer-master/src/booru/curler.cc:60: undefined reference tocurl_easy_setopt'
/home/james/Downloads/ahoviewer-master/src/booru/curler.cc:61: undefined reference to curl_easy_setopt' /home/james/Downloads/ahoviewer-master/src/booru/curler.cc:62: undefined reference tocurl_easy_setopt'
/home/james/Downloads/ahoviewer-master/src/booru/curler.cc:63: undefined reference to curl_easy_setopt' booru/ahoviewer-curler.o:/home/james/Downloads/ahoviewer-master/src/booru/curler.cc:64: more undefined references tocurl_easy_setopt' follow
booru/ahoviewer-curler.o: In function ~Curler': /home/james/Downloads/ahoviewer-master/src/booru/curler.cc:82: undefined reference tocurl_easy_cleanup'
booru/ahoviewer-curler.o: In function AhoViewer::Booru::Curler::set_no_body(bool) const': /home/james/Downloads/ahoviewer-master/src/booru/curler.cc:93: undefined reference tocurl_easy_setopt'
booru/ahoviewer-curler.o: In function AhoViewer::Booru::Curler::set_follow_location(bool) const': /home/james/Downloads/ahoviewer-master/src/booru/curler.cc:98: undefined reference tocurl_easy_setopt'
booru/ahoviewer-curler.o: In function AhoViewer::Booru::Curler::set_referer(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const': /home/james/Downloads/ahoviewer-master/src/booru/curler.cc:103: undefined reference tocurl_easy_setopt'
booru/ahoviewer-curler.o: In function AhoViewer::Booru::Curler::set_http_auth(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const': /home/james/Downloads/ahoviewer-master/src/booru/curler.cc:110: undefined reference tocurl_easy_setopt'
/home/james/Downloads/ahoviewer-master/src/booru/curler.cc:111: undefined reference to curl_easy_setopt' booru/ahoviewer-curler.o:/home/james/Downloads/ahoviewer-master/src/booru/curler.cc:117: more undefined references tocurl_easy_setopt' follow
booru/ahoviewer-curler.o: In function AhoViewer::Booru::Curler::escape(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const': /home/james/Downloads/ahoviewer-master/src/booru/curler.cc:134: undefined reference tocurl_easy_escape'
/home/james/Downloads/ahoviewer-master/src/booru/curler.cc:139: undefined reference to curl_free' booru/ahoviewer-curler.o: In functionAhoViewer::Booru::Curler::perform()':
/home/james/Downloads/ahoviewer-master/src/booru/curler.cc:150: undefined reference to curl_easy_perform' booru/ahoviewer-curler.o: In functionAhoViewer::Booru::Curler::get_response_code() const':
/home/james/Downloads/ahoviewer-master/src/booru/curler.cc:164: undefined reference to curl_easy_getinfo' booru/ahoviewer-imagefetcher.o: In functionAhoViewer::Booru::ImageFetcher::socket_cb(void
, int, int, void
, void_)':
/home/james/Downloads/ahoviewer-master/src/booru/imagefetcher.cc:19: undefined reference to curl_multi_assign' booru/ahoviewer-imagefetcher.o: In functionAhoViewer::Booru::ImageFetcher::event_cb(int, Glib::IOCondition)':
/home/james/Downloads/ahoviewer-master/src/booru/imagefetcher.cc:114: undefined reference to curl_multi_socket_action' booru/ahoviewer-imagefetcher.o: In functionAhoViewer::Booru::ImageFetcher::timeout_cb()':
/home/james/Downloads/ahoviewer-master/src/booru/imagefetcher.cc:129: undefined reference to curl_multi_socket_action' booru/ahoviewer-imagefetcher.o: In functionImageFetcher':
/home/james/Downloads/ahoviewer-master/src/booru/imagefetcher.cc:53: undefined reference to curl_multi_init' /home/james/Downloads/ahoviewer-master/src/booru/imagefetcher.cc:58: undefined reference tocurl_multi_setopt'
/home/james/Downloads/ahoviewer-master/src/booru/imagefetcher.cc:59: undefined reference to curl_multi_setopt' /home/james/Downloads/ahoviewer-master/src/booru/imagefetcher.cc:60: undefined reference tocurl_multi_setopt'
/home/james/Downloads/ahoviewer-master/src/booru/imagefetcher.cc:61: undefined reference to curl_multi_setopt' booru/ahoviewer-imagefetcher.o: In function~ImageFetcher':
/home/james/Downloads/ahoviewer-master/src/booru/imagefetcher.cc:75: undefined reference to curl_multi_cleanup' booru/ahoviewer-imagefetcher.o: In functionAhoViewer::Booru::ImageFetcher::remove_handle(AhoViewer::Booru::Curler_)':
/home/james/Downloads/ahoviewer-master/src/booru/imagefetcher.cc:100: undefined reference to curl_multi_remove_handle' booru/ahoviewer-imagefetcher.o: In functionAhoViewer::Booru::ImageFetcher::add_handle(AhoViewer::Booru::Curler_)':
/home/james/Downloads/ahoviewer-master/src/booru/imagefetcher.cc:82: undefined reference to curl_easy_setopt' /home/james/Downloads/ahoviewer-master/src/booru/imagefetcher.cc:88: undefined reference tocurl_multi_add_handle'
booru/ahoviewer-imagefetcher.o: In function AhoViewer::Booru::ImageFetcher::read_info()': /home/james/Downloads/ahoviewer-master/src/booru/imagefetcher.cc:141: undefined reference tocurl_multi_info_read'
/home/james/Downloads/ahoviewer-master/src/booru/imagefetcher.cc:146: undefined reference to `curl_easy_getinfo'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:511: recipe for target 'ahoviewer' failed
make[2]: *_* [ahoviewer] Error 1
make[2]: Leaving directory '/home/james/Downloads/ahoviewer-master/src'
Makefile:374: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/james/Downloads/ahoviewer-master/src'
Makefile:464: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Let me know if you need other files to figure out what's going on.

Not saving my API key for danbooru.

I don't know if the API key was supposed to be saved in the preferences, but I have to enter it everytime I launch ahoviewer. The username is saved though...

I only use Danbooru, don't know if this happens with other boorus.

Also, this gets printed out when the application is launched:

** Message: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files
Failed to lookup password for Danbooru
  The name org.freedesktop.secrets was not provided by any .service files

If saving the API key wasn't supposed to be a feature, then I'm sorry for opening this issue.

bootstrap does not work

autoreconf: Entering directory .'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
configure.ac:36: error: possibly undefined macro: AC_MSG_ERROR
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

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.