From d4f7232c6f66cb67d9b126d5b708371ebb969342 Mon Sep 17 00:00:00 2001 From: sthen Date: Thu, 15 Oct 2009 11:50:20 +0000 Subject: [PATCH] import gtkimageview, feedback from landry@ ajacoutot@, ok landry GtkImageView is a simple image viewer widget for GTK. Similar to the image viewer panes in gThumb or Eye of Gnome. It makes writing image viewing and editing applications easy. Among its features are: * Mouse and keyboard zooming. * Scrolling and dragging. * Adjustable interpolation. * Fullscreen mode. * GIF animation support. --- graphics/gtkimageview/Makefile | 34 ++++++++++++++++ graphics/gtkimageview/distinfo | 5 +++ graphics/gtkimageview/pkg/DESCR | 10 +++++ graphics/gtkimageview/pkg/PFRAG.shared | 2 + graphics/gtkimageview/pkg/PLIST | 54 ++++++++++++++++++++++++++ 5 files changed, 105 insertions(+) create mode 100644 graphics/gtkimageview/Makefile create mode 100644 graphics/gtkimageview/distinfo create mode 100644 graphics/gtkimageview/pkg/DESCR create mode 100644 graphics/gtkimageview/pkg/PFRAG.shared create mode 100644 graphics/gtkimageview/pkg/PLIST diff --git a/graphics/gtkimageview/Makefile b/graphics/gtkimageview/Makefile new file mode 100644 index 00000000000..5beea7b5ac1 --- /dev/null +++ b/graphics/gtkimageview/Makefile @@ -0,0 +1,34 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2009/10/15 11:50:20 sthen Exp $ + +COMMENT= image viewer widget for gtk + +DISTNAME= gtkimageview-1.6.4 + +SHARED_LIBS= gtkimageview 0.0 + +CATEGORIES= graphics + +HOMEPAGE= http://trac.bjourne.webfactional.com/ + +# LGPLv2+ +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes +WANTLIB += Xi Xinerama Xrandr Xrender cairo expat fontconfig freetype +WANTLIB += gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0 m pango-1.0 +WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread-stubs +WANTLIB += xcb z + +MASTER_SITES= ${HOMEPAGE}chrome/common/releases/ + +MODULES= devel/gettext +LIB_DEPENDS= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2,-main + +USE_GMAKE= Yes +USE_LIBTOOL= Yes +CONFIGURE_STYLE= gnu + +.include diff --git a/graphics/gtkimageview/distinfo b/graphics/gtkimageview/distinfo new file mode 100644 index 00000000000..5a6745cc3cf --- /dev/null +++ b/graphics/gtkimageview/distinfo @@ -0,0 +1,5 @@ +MD5 (gtkimageview-1.6.4.tar.gz) = g0a0IBKoLV/m8cFRuuNGww== +RMD160 (gtkimageview-1.6.4.tar.gz) = hsjuuAqPhbl5rhE4fR3M6mMUg64= +SHA1 (gtkimageview-1.6.4.tar.gz) = 3ABn5yiJKF3dZnq6cA8d6SgUL7o= +SHA256 (gtkimageview-1.6.4.tar.gz) = Z+THNL5pyHkQHmK6hXOxe4A5b/IegzktL3ta8wv0w8U= +SIZE (gtkimageview-1.6.4.tar.gz) = 1158148 diff --git a/graphics/gtkimageview/pkg/DESCR b/graphics/gtkimageview/pkg/DESCR new file mode 100644 index 00000000000..376e13e3eaa --- /dev/null +++ b/graphics/gtkimageview/pkg/DESCR @@ -0,0 +1,10 @@ +GtkImageView is a simple image viewer widget for GTK. Similar to +the image viewer panes in gThumb or Eye of Gnome. It makes writing +image viewing and editing applications easy. Among its features +are: + + * Mouse and keyboard zooming. + * Scrolling and dragging. + * Adjustable interpolation. + * Fullscreen mode. + * GIF animation support. diff --git a/graphics/gtkimageview/pkg/PFRAG.shared b/graphics/gtkimageview/pkg/PFRAG.shared new file mode 100644 index 00000000000..5d2cc91bc99 --- /dev/null +++ b/graphics/gtkimageview/pkg/PFRAG.shared @@ -0,0 +1,2 @@ +@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2009/10/15 11:50:20 sthen Exp $ +@lib lib/libgtkimageview.so.${LIBgtkimageview_VERSION} diff --git a/graphics/gtkimageview/pkg/PLIST b/graphics/gtkimageview/pkg/PLIST new file mode 100644 index 00000000000..33e99b87201 --- /dev/null +++ b/graphics/gtkimageview/pkg/PLIST @@ -0,0 +1,54 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2009/10/15 11:50:20 sthen Exp $ +%%SHARED%% +include/gtkimageview/ +include/gtkimageview/cursors.h +include/gtkimageview/gdkpixbufdrawcache.h +include/gtkimageview/gtkanimview.h +include/gtkimageview/gtkiimagetool.h +include/gtkimageview/gtkimagenav.h +include/gtkimageview/gtkimagescrollwin.h +include/gtkimageview/gtkimagetooldragger.h +include/gtkimageview/gtkimagetoolpainter.h +include/gtkimageview/gtkimagetoolselector.h +include/gtkimageview/gtkimageview-typebuiltins.h +include/gtkimageview/gtkimageview.h +include/gtkimageview/gtkzooms.h +include/gtkimageview/mouse_handler.h +include/gtkimageview/utils.h +lib/libgtkimageview.a +lib/libgtkimageview.la +lib/pkgconfig/ +lib/pkgconfig/gtkimageview.pc +share/gtk-doc/ +share/gtk-doc/html/ +share/gtk-doc/html/gtkimageview/ +share/gtk-doc/html/gtkimageview/GtkAnimView.html +share/gtk-doc/html/gtkimageview/GtkIImageTool.html +share/gtk-doc/html/gtkimageview/GtkImageNav.html +share/gtk-doc/html/gtkimageview/GtkImageScrollWin.html +share/gtk-doc/html/gtkimageview/GtkImageToolDragger.html +share/gtk-doc/html/gtkimageview/GtkImageToolSelector.html +share/gtk-doc/html/gtkimageview/GtkImageView.html +share/gtk-doc/html/gtkimageview/acknowledgements.html +share/gtk-doc/html/gtkimageview/big-zoom-sel-bug.png +share/gtk-doc/html/gtkimageview/compiling.html +share/gtk-doc/html/gtkimageview/dirstructure.html +share/gtk-doc/html/gtkimageview/ex-mini.png +share/gtk-doc/html/gtkimageview/ex-monitor-selection.png +share/gtk-doc/html/gtkimageview/gtkimageview-gdkpixbufdrawcache.html +share/gtk-doc/html/gtkimageview/gtkimageview-gtkzooms.html +share/gtk-doc/html/gtkimageview/gtkimageview-in-window.png +share/gtk-doc/html/gtkimageview/gtkimageview.devhelp +share/gtk-doc/html/gtkimageview/gtkimageview.devhelp2 +share/gtk-doc/html/gtkimageview/home.png +share/gtk-doc/html/gtkimageview/index.html +share/gtk-doc/html/gtkimageview/index.sgml +share/gtk-doc/html/gtkimageview/left.png +share/gtk-doc/html/gtkimageview/navwin-open.png +share/gtk-doc/html/gtkimageview/overview.html +share/gtk-doc/html/gtkimageview/releasehistory.html +share/gtk-doc/html/gtkimageview/right.png +share/gtk-doc/html/gtkimageview/rn01.html +share/gtk-doc/html/gtkimageview/sourcecode.html +share/gtk-doc/html/gtkimageview/style.css +share/gtk-doc/html/gtkimageview/up.png