cricetida

10 views
Skip to first unread message

Мышонак

unread,
Jan 20, 2011, 10:52:28 AM1/20/11
to ufu...@googlegroups.com
Hi there everyone. I'm a little mouse from Estonia :>
And I want developed small application for ufurmix, which some furries find
usefull.

cricetida - the gallery downloader for offline viewing. At the moment it only
works with FA and can log in to download mature content. It is written in C,
with GTK+, gettext and curl.

You type artist name, select submission type you want to download, select
folder(s) to look in, then press "Ok". Application will load pages, fetch links,
then downloads them.

But it is not perfect yet. The progress bar sometimes freeze by unknown reason.
Interface is poorly designed. Also only FA is supported, would be nice to see
support for DA and other galleries filled with furry pictures. For FA it would
be nice to option to download "Submission" page, where new Submissions are
placed from watch list and automatic clearing.

So, what do ufurmix crew think? Is it worth making better and how to redesign
the interface? (I think it should fetch links, and show it in a list, where you
choose with checkbox, what to download and what not to download, something like
that).

In attachment you will find source code for cricetida.

--

~(__^> IRC: Мышонак, #pik-pik @ utf8.rusnet.org.ru:7770 (RusNet)
~(__^> XMPP: hii...@neko.im

cricetida-0.1.tar.bz2

Сергей

unread,
Jan 20, 2011, 11:22:50 AM1/20/11
to ufu...@googlegroups.com
I can add that it's already uploaded to ufurmix repository. The package name is, obviously, "cricetida". It won't make its way into Lucid because it's in alpha stage yet, but I'm glad that the ufurmix project now goes beyond theming.
If you want to try it out be warned that it doesn't have a menu entry yet, so you'll have to type "cricetida" in terminal to launch it.

2011/1/20 Мышонак <val...@gmail.com>
Cricetida-0.1.png

Xorrito

unread,
Jan 20, 2011, 11:50:10 AM1/20/11
to ufu...@googlegroups.com

Adding a menu item should not be that hard. Right? And i like it! I say add it! But put a notice that it is still in beta.

Xorrito

On Jan 20, 2011 9:22 AM, "Сергей" <shna...@gmail.com> wrote:

I can add that it's already uploaded to ufurmix repository. The package name is, obviously, "cricetida". It won't make its way into Lucid because it's in alpha stage yet, but I'm glad that the ufurmix project now goes beyond theming.
If you want to try it out be warned that it doesn't have a menu entry yet, so you'll have to type "cricetida" in terminal to launch it.

2011/1/20 Мышонак <val...@gmail.com>


>
> Hi there everyone. I'm a little mouse from Estonia :>

> And I want developed small application ...


Adam

unread,
Jan 20, 2011, 12:10:12 PM1/20/11
to ufu...@googlegroups.com

Hi there, app looks very nice but I hadn't occasion to test it because I'm writing from my smartphone now. I suggest to add massive rename function of downloaded files. Why? Because by default these files have weird name. It's something like: image-id_artist-name_image-name
For example:
123456789_admc_test.png
Should be renamed to:
test.png

Can you include this feature?


>
> On Jan 20, 2011 9:22 AM, "Сергей" <shna...@gmail.com> wrote:
>

> I can add that it's already u...

Xorrito

unread,
Jan 20, 2011, 12:22:46 PM1/20/11
to ufu...@googlegroups.com

Oh right! I second this thought

Xorrito


>
>
> >
> > On Jan 20, 2011 9:22 AM, "Сергей" <shna...@gmail.com> wrote:
> >

> I can add that it's already u...


>
> > 2011/1/20 Мышонак <val...@gmail.com>
>
>
> >
> >
> > >
> > > Hi there everyone. I'm a little ...

Мышонак

unread,
Jan 20, 2011, 12:24:57 PM1/20/11
to ufu...@googlegroups.com
On 20/01/2011-19:10:12, Adam (ufu...@googlegroups.com) wrote:
> Hi there, app looks very nice but I hadn't occasion to test it because I'm
> writing from my smartphone now. I suggest to add massive rename function of
> downloaded files. Why? Because by default these files have weird name. It's
> something like: image-id_artist-name_image-name
> For example:
> 123456789_admc_test.png
> Should be renamed to:
> test.png
>
> Can you include this feature?

It is not image-id, it is number of seconds since the Epoch, 1970-01-01 00:00:00
+0000 (UTC) and can be converted to human readable format, like this:

// CODE START
void main_format_time_string( char *ptr, time_t clock )
{
struct tm *timePtr;

if( clock == 0 ) clock = time( 0 );
timePtr = gmtime( &clock );
*ptr = 0;
if( timePtr != 0 )
strftime( ptr, NNCMS_TIME_STR_LEN_MAX, "%a, %d %b %Y %T GMT", timePtr );
else
log_printf( 0, LOG_CRITICAL, "Main::FormatTimeString: gmtime() returned null (year does not fit into an integer?)" );
}
// CODE END

And ofcourse it can be easily removed and change "File Modify Date", instead of
keeping date in file name. This way information won't be lost. :>

Xorrito

unread,
Jan 20, 2011, 12:31:46 PM1/20/11
to ufu...@googlegroups.com

How about put it as an option? Between choosing to add the date or simple file name

Xorrito

On Jan 20, 2011 10:25 AM, "Мышонак" <val...@gmail.com> wrote:

On 20/01/2011-19:10:12, Adam (ufu...@googlegroups.com) wrote:

> Hi there, app looks very nice but I...

Adam

unread,
Jan 20, 2011, 1:22:29 PM1/20/11
to ufu...@googlegroups.com

Oh, I didn't know it shows unix time. Thanks for info :3

W dniu 2011-01-20 18:25 użytkownik "Мышонак" <val...@gmail.com> napisał:

On 20/01/2011-19:10:12, Adam (ufu...@googlegroups.com) wrote:

> Hi there, app looks very nice but I...

Adam

unread,
Jan 23, 2011, 5:18:16 PM1/23/11
to ufu...@googlegroups.com
Okay, I downloaded debian package from ufurmix ppa and there's annyoing bug, Cricetida doesn't download swf files. It downloads thumbnails instead flash of files.

2011/1/23 Adam <ad...@ufurmix.org>
Hello, I tried to compile it on maverick but it doesn't work, there's terminal output:
adam@ubuntu:~/Pulpit/cricetida-0.1$ ./configure
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 NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... GNU
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing depfiles commands
------------------------------------------------------------------------
cricetida is configured as follows. Please verify that this configuration
matches your expectations.

                  Option                        Value
------------------------------------------------------------------------

Options used to compile and link:
  Source code location  = .
  Compiler              = gcc
  Compiler flags        = -g -O2
  Host System Type      = i686-pc-linux-gnu
  Install path          = /usr/local

  See config.h for further configuration information.
------------------------------------------------------------------------
adam@ubuntu:~/Pulpit/cricetida-0.1$ make
make  all-recursive
make[1]: Wejście do katalogu `/home/adam/Pulpit/cricetida-0.1'
Making all in src
make[2]: Wejście do katalogu `/home/adam/Pulpit/cricetida-0.1/src'
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I..    `pkg-config --cflags gtk+-2.0` `pkg-config --cflags gconf-2.0` `curl-config --cflags` -I/usr/include/gconf/2/ -g -O2 -MT cricetida-main.o -MD -MP -MF .deps/cricetida-main.Tpo -c -o cricetida-main.o `test -f 'main.c' || echo './'`main.c
Package gconf-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gconf-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gconf-2.0' found
/bin/sh: curl-config: nie znaleziono polecenia
main.c:12: fatal error: gconf/gconf-client.h: Nie ma takiego pliku ani katalogu
compilation terminated.
make[2]: *** [cricetida-main.o] Błąd 1
make[2]: Opuszczenie katalogu `/home/adam/Pulpit/cricetida-0.1/src'
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczenie katalogu `/home/adam/Pulpit/cricetida-0.1'
make: *** [all] Błąd 2



2011/1/20 Xorrito <xor...@ufurmix.org>
Reply all
Reply to author
Forward
0 new messages