diff options
Diffstat (limited to 'graphics/danpei')
-rw-r--r-- | graphics/danpei/Makefile | 36 | ||||
-rw-r--r-- | graphics/danpei/distinfo | 2 | ||||
-rw-r--r-- | graphics/danpei/files/patch-image_cache.c | 42 | ||||
-rw-r--r-- | graphics/danpei/files/patch-viewer.c | 29 | ||||
-rw-r--r-- | graphics/danpei/pkg-descr | 11 |
5 files changed, 0 insertions, 120 deletions
diff --git a/graphics/danpei/Makefile b/graphics/danpei/Makefile deleted file mode 100644 index 1f85395da7ac..000000000000 --- a/graphics/danpei/Makefile +++ /dev/null @@ -1,36 +0,0 @@ -# Created by: Andrey V. Elsukov <bu7cher@yandex.ru> -# $FreeBSD$ - -PORTNAME= danpei -PORTVERSION= 2.9.7 -PORTREVISION= 14 -CATEGORIES= graphics -MASTER_SITES= SF - -MAINTAINER= rum1cro@yandex.ru -COMMENT= Image Viewer for X Window System with thumbnail preview feature - -DEPRECATED= Uses obsolete glib12 -EXPIRATION_DATE= 2018-12-20 - -LICENSE= GPLv2 - -LIB_DEPENDS= libpng.so:graphics/png - -OPTIONS_DEFINE= IMAGEMAGICK -OPTIONS_DEFAULT=IMAGEMAGICK - -IMAGEMAGICK_RUN_DEPENDS= convert:graphics/ImageMagick6 - -USES= gettext -USE_GNOME= gtk12 gdkpixbuf -GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib -CONFIGURE_ARGS+= --without-included-gettext - -PLIST_FILES= bin/danpei \ - share/locale/de/LC_MESSAGES/danpei.mo \ - share/locale/ja/LC_MESSAGES/danpei.mo - -.include <bsd.port.mk> diff --git a/graphics/danpei/distinfo b/graphics/danpei/distinfo deleted file mode 100644 index 940841c5d8e1..000000000000 --- a/graphics/danpei/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (danpei-2.9.7.tar.gz) = b46e73053e83e9913c733153c1e9db5c158126599185054b9b23e1e1d8ef0e2d -SIZE (danpei-2.9.7.tar.gz) = 414462 diff --git a/graphics/danpei/files/patch-image_cache.c b/graphics/danpei/files/patch-image_cache.c deleted file mode 100644 index 8582f6c12fb1..000000000000 --- a/graphics/danpei/files/patch-image_cache.c +++ /dev/null @@ -1,42 +0,0 @@ ---- src/image_cache.c.orig 2013-11-07 19:24:24.056322038 +0400 -+++ src/image_cache.c 2013-11-07 19:32:26.759288924 +0400 -@@ -356,7 +356,7 @@ - save_file = NULL; - cl = NULL; - -- if (tp->cache.cache_dir == NULL) { return; } -+ if (tp->cache.cache_dir == NULL) { return FALSE; } - - save_file = (gchar*)malloc(sizeof(gchar) * - (strlen(tp->cache.cache_dir) + -@@ -761,9 +761,9 @@ - /* Initialize the local variables. */ - png_text_filename = buffer = NULL; - -- if (pixbuf == NULL) { return; } -- if (filename == NULL) { return; } -- if (strcmp(filename, "") == 0) { return; } -+ if (pixbuf == NULL) { return FALSE; } -+ if (filename == NULL) { return FALSE; } -+ if (strcmp(filename, "") == 0) { return FALSE; } - - fp = fopen (filename, "wb"); - if (fp == NULL) { return FALSE; } -@@ -782,7 +782,7 @@ - return FALSE; - } - -- if (setjmp (png_ptr->jmpbuf)) { -+ if (setjmp (png_jmpbuf(png_ptr))) { - png_destroy_write_struct(&png_ptr, &info_ptr); - fclose (fp); - return FALSE; -@@ -839,7 +839,7 @@ - /* expand RGB to RGBA using an opaque alpha value */ - gint x; - gchar *buffer_ptr = buffer; -- gchar *source_ptr = pixels; -+ guchar *source_ptr = pixels; - for (x = 0; x < width; x++) { - *buffer_ptr++ = *source_ptr++; - *buffer_ptr++ = *source_ptr++; diff --git a/graphics/danpei/files/patch-viewer.c b/graphics/danpei/files/patch-viewer.c deleted file mode 100644 index 5a21e91ae369..000000000000 --- a/graphics/danpei/files/patch-viewer.c +++ /dev/null @@ -1,29 +0,0 @@ ---- src/viewer.c.orig 2013-11-07 19:33:02.807286361 +0400 -+++ src/viewer.c 2013-11-07 19:34:22.533326686 +0400 -@@ -293,7 +293,7 @@ - - if ((dv->thumb == dv->current_thumb) && - ((widget->allocation.x == dv->area_x) && -- (widget->allocation.y == dv->area_y) )){ return; } -+ (widget->allocation.y == dv->area_y) )){ return 1; } - - dv->area_x = widget->allocation.x; - dv->area_y = widget->allocation.y; -@@ -314,7 +314,7 @@ - filename = g_strconcat(dv->thumb->path, "/", dv->thumb->filename, NULL); - } - } -- if (filename == NULL) { return; } -+ if (filename == NULL) { return 1; } - - viewer_read_image(dv, filename, tp); - -@@ -555,7 +555,7 @@ - while ((thumb != NULL) && (i < (tp->viewer).adj.value)) { - thumb = thumb->next; i++; - } -- if (thumb == NULL) { return; } -+ if (thumb == NULL) { return FALSE; } - - gtk_window_set_title(GTK_WINDOW((tp->viewer).window), - g_strconcat(thumb->path, "/", thumb->filename, NULL)); diff --git a/graphics/danpei/pkg-descr b/graphics/danpei/pkg-descr deleted file mode 100644 index 84df5b356fef..000000000000 --- a/graphics/danpei/pkg-descr +++ /dev/null @@ -1,11 +0,0 @@ -Danpei is a Gtk+ based Image Viewer, works on X Window Sysytem. - -Features: - o File operations like Windows Explorer - o View image files with thumbnail format - o View/Edit image files with your favorite applications (ImageMagick, - Gimp etc) - o Cache displayed images - o Print out images - -WWW: http://danpei.sourceforge.net/ |