Package Details: gnome-directory-thumbnailer 0.1.11-1

Git Clone URL: https://aur.archlinux.org/gnome-directory-thumbnailer.git (read-only, click to copy)
Package Base: gnome-directory-thumbnailer
Description: GNOME thumbnailer to generate thumbnails for directories
Upstream URL: https://gitlab.gnome.org/GNOME/gnome-directory-thumbnailer
Licenses: LGPL2.1
Submitter: mariusn
Maintainer: adsun
Last Packager: adsun
Votes: 6
Popularity: 0.000003
First Submitted: 2013-10-17 12:00 (UTC)
Last Updated: 2023-07-30 17:09 (UTC)

Latest Comments

adsun commented on 2023-07-30 17:10 (UTC)

@dreieck Thanks for notifying. I just fixed it. Let me know if that works for you.

dreieck commented on 2023-07-28 11:04 (UTC)

↗ Packege gnome-directory-thumbnailer-git can be used as long as this one does not build.

dreieck commented on 2023-07-28 10:49 (UTC)

Please remove the executable permission from PKGBUILD. Regards!

dreieck commented on 2023-07-28 10:45 (UTC)

Build fails for me with
main.c:360:42: error: too few arguments to function ‘gnome_desktop_thumbnail_factory_generate_thumbnail’:

make[2]: Entering directory '/home/[...]/.cache/yay/gnome-directory-thumbnailer/src/gnome-directory-thumbnailer-0.1.11'
  CC       src/gnome_directory_thumbnailer-main.o
src/main.c: In function ‘calculate_file_interestingness’:
src/main.c:99:9: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   99 |         GTimeVal file_mtime;
      |         ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:34,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:29,
                 from src/main.c:25:
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
  580 | struct _GTimeVal
      |        ^~~~~~~~~
src/main.c:133:9: warning: ‘g_file_info_get_modification_time’ is deprecated: Use 'g_file_info_get_modification_date_time' instead [-Wdeprecated-declarations]
  133 |         g_file_info_get_modification_time (file_info, &file_mtime);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/gio/gio.h:85,
                 from /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:33,
                 from /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34:
/usr/include/glib-2.0/gio/gfileinfo.h:1436:19: note: declared here
 1436 | void              g_file_info_get_modification_time  (GFileInfo         *info,
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/main.c: At top level:
src/main.c:321:1: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  321 | copy_thumbnail_from_file (GnomeDesktopThumbnailFactory *factory, const gchar *file_uri, const GTimeVal *file_mtime, const gchar *file_mime_type, GError **error)
      | ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
  580 | struct _GTimeVal
      |        ^~~~~~~~~
src/main.c: In function ‘copy_thumbnail_from_file’:
src/main.c:360:42: error: too few arguments to function ‘gnome_desktop_thumbnail_factory_generate_thumbnail’
  360 |                                 pixbuf = gnome_desktop_thumbnail_factory_generate_thumbnail (factory, file_uri, file_mime_type);
      |                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/main.c:35:
/usr/include/gnome-desktop-3.0/libgnome-desktop/gnome-desktop-thumbnail.h:84:13: note: declared here
   84 | GdkPixbuf * gnome_desktop_thumbnail_factory_generate_thumbnail (GnomeDesktopThumbnailFactory *factory,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/main.c: In function ‘create_thumbnail_for_directory’:
src/main.c:407:9: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  407 |         GTimeVal interesting_file_mtime;
      |         ^~~~~~~~
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
  580 | struct _GTimeVal
      |        ^~~~~~~~~
src/main.c:421:9: warning: ‘g_file_info_get_modification_time’ is deprecated: Use 'g_file_info_get_modification_date_time' instead [-Wdeprecated-declarations]
  421 |         g_file_info_get_modification_time (interesting_file_info, &interesting_file_mtime);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gio/gfileinfo.h:1436:19: note: declared here
 1436 | void              g_file_info_get_modification_time  (GFileInfo         *info,
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/main.c: In function ‘main’:
src/main.c:610:17: warning: enumeration value ‘GNOME_DESKTOP_THUMBNAIL_SIZE_XLARGE’ not handled in switch [-Wswitch-enum]
  610 |                 switch (thumbnail_size) {
      |                 ^~~~~~
src/main.c:610:17: warning: enumeration value ‘GNOME_DESKTOP_THUMBNAIL_SIZE_XXLARGE’ not handled in switch [-Wswitch-enum]
make[2]: *** [Makefile:662: src/gnome_directory_thumbnailer-main.o] Error 1
make[2]: Leaving directory '/home/[...]/.cache/yay/gnome-directory-thumbnailer/src/gnome-directory-thumbnailer-0.1.11'
make[1]: *** [Makefile:713: all-recursive] Error 1
make[1]: Leaving directory '/home/[...]/.cache/yay/gnome-directory-thumbnailer/src/gnome-directory-thumbnailer-0.1.11'
make: *** [Makefile:508: all] Error 2

Regards!

kajlao commented on 2023-03-25 02:27 (UTC) (edited on 2023-03-25 02:35 (UTC) by kajlao)

ERROR, please fix. Maybe even switch to some newer commit? Or just rebrand as -git.

mariusn commented on 2015-12-17 12:39 (UTC)

Updated, thanks TrialnError!

TrialnError commented on 2015-07-13 12:22 (UTC)

The makedepends line containts glib2 a second time

mariusn commented on 2014-04-27 18:43 (UTC)

Updated, thanks!

ritze commented on 2014-04-25 15:03 (UTC)

You have to copy gnome-directory-thumbnailer.thumbnailer in src folder to /usr/share/thumbnailer: package() { install -D -m755 "$srcdir"/$pkgname-$pkgver/src/gnome-directory-thumbnailer "$pkgdir"/usr/bin/gnome-directory-thumbnailer install -D -m644 "$srcdir"/$pkgname-$pkgver/src/gnome-directory-thumbnailer.thumbnailer "$pkgdir"/usr/share/thumbnailers/gnome-directory-thumbnailer.thumbnailer } Regards Moritz