Initial import of kuickshow 0.8.1.

KuickShow is an image browser/viewer with a nice filebrowser to select 
images to be shown, slideshow support and the ability to display the 
following image formats: jpg, gif, tiff, png, bmp, psd, xpm, xbm, pbm 
and eim.
This commit is contained in:
kevlo 2001-06-27 02:37:16 +00:00
parent d46cbb57a5
commit c1e8dfff4c
12 changed files with 238 additions and 0 deletions

View File

@ -0,0 +1,39 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/06/27 02:37:16 kevlo Exp $
COMMENT= "image viewer similar to ACDSee for Windows"
DISTNAME= kuickshow-0.8.1
CATEGORIES= graphics
NEED_VERSION= 1.417
HOMEPAGE= http://kuickshow.sourceforge.net/
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM=Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= kuickshow
EXTRACT_SUFX= .tgz
BUILD_DEPENDS= uic::x11/qt2-designer
LIB_DEPENDS= kdecore.3.::x11/kde/libs2 \
Imlib.19::graphics/imlib
MAKE_ENV= ${CONFIGURE_ENV}
# Ensure qt2 will always be at the front
MAKE_FLAGS= CXXLD='--tag CXX ${CXX} -L${LOCALBASE}/lib/qt2'
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-qt-includes=${LOCALBASE}/include/X11/qt2
CONFIGURE_ARGS+= --with-qt-libraries=${LOCALBASE}/lib/qt2
CONFIGURE_ARGS+= --with-extra-libs=${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-extra-includes=${LOCALBASE}/include
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ENV= MOC=${LOCALBASE}/bin/moc2 KDEDIR=/usr/local
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (kuickshow-0.8.1.tgz) = 16cc2c0ffe1f61deae3cd1e86e3ecce1
RMD160 (kuickshow-0.8.1.tgz) = 46245e4a9024fbb2748f43625876324763779337
SHA1 (kuickshow-0.8.1.tgz) = 371496477a0c150b0d2578568b17605987fd54e4

View File

@ -0,0 +1,23 @@
--- aclocal.m4.orig Tue Jun 26 13:53:06 2001
+++ aclocal.m4 Tue Jun 26 13:53:59 2001
@@ -4628,19 +4628,7 @@
;;
openbsd* )
- if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
- case "$host_cpu" in
- i*86 )
- changequote(,)dnl
- lt_cv_deplibs_check_method='file_magic OpenBSD/i[3-9]86 demand paged shared library'
- changequote([, ])dnl
- lt_cv_file_magic_cmd=/usr/bin/file
- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
- ;;
- esac
- else
- lt_cv_deplibs_check_method=pass_all
- fi
+ lt_cv_deplibs_check_method=pass_all
;;
osf3* | osf4* | osf5*)

View File

@ -0,0 +1,23 @@
--- admin/libtool.m4.in.orig Tue Jun 26 13:54:39 2001
+++ admin/libtool.m4.in Tue Jun 26 13:55:13 2001
@@ -606,19 +606,7 @@
;;
openbsd* )
- if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
- case "$host_cpu" in
- i*86 )
- changequote(,)dnl
- lt_cv_deplibs_check_method='file_magic OpenBSD/i[3-9]86 demand paged shared library'
- changequote([, ])dnl
- lt_cv_file_magic_cmd=/usr/bin/file
- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
- ;;
- esac
- else
- lt_cv_deplibs_check_method=pass_all
- fi
+ lt_cv_deplibs_check_method=pass_all
;;
osf3* | osf4* | osf5*)

View File

@ -0,0 +1,19 @@
--- admin/ltcf-c.sh.orig Tue Jun 26 13:57:15 2001
+++ admin/ltcf-c.sh Tue Jun 26 14:00:20 2001
@@ -405,10 +405,14 @@
;;
openbsd*)
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
- hardcode_libdir_flag_spec='-R$libdir'
+ archive_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ archive_expsym_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ old_archive_cmds="$old_archive_cmds~"'$RANLIB $oldlib'
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
+ remove_lgcc=yes
+ output_verbose_link_cmds='$CC $ac_cv_prog_cc_pic -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'
;;
os2*)

View File

@ -0,0 +1,20 @@
--- admin/ltcf-cxx.sh.orig Tue Jun 26 14:01:12 2001
+++ admin/ltcf-cxx.sh Tue Jun 26 14:02:38 2001
@@ -344,14 +344,14 @@
openbsd*)
if test "$with_gcc" = yes && test "$with_gnu_ld" = no; then
# MM: OpenBSD 2.7 uses G++, but not GNU ld
- archive_cmds='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
- archive_expsym_cmds='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ archive_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ archive_expsym_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
old_archive_cmds="$old_archive_cmds~"'$RANLIB $oldlib'
hardcode_libdir_flag_spec='${wl}-R$libdir'
hardcode_direct=yes
hardcode_shlibpath_var=no
- whole_archive_flag_spec='${wl}-Bforcearchive'
remove_lgcc=yes
+ output_verbose_link_cmds='$CC $ac_cv_prog_cc_pic -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'
fi
;;
osf3*)

View File

@ -0,0 +1,11 @@
--- admin/ltconfig.orig Tue Jun 26 14:02:58 2001
+++ admin/ltconfig Tue Jun 26 14:03:47 2001
@@ -1140,6 +1140,8 @@
shlibpath_var=LD_LIBRARY_PATH
# OpenBSD 2.7 the overriding is needed for fast-install
shlibpath_overrides_runpath=yes
+ deplib_check_method=pass_all
+ sys_lib_dlsearch_path_spec='/usr/lib /usr/local/lib /usr/X11R6/lib /usr/local/lib/qt2'
;;
os2*)

View File

@ -0,0 +1,11 @@
--- configure.in.orig Tue Jun 26 15:59:13 2001
+++ configure.in Tue Jun 26 15:58:18 2001
@@ -13,7 +13,7 @@
AC_ARG_PROGRAM
dnl Automake doc recommends to do this only here. (Janos)
-AM_INIT_AUTOMAKE(kuickshow-0.8.1, "2.1 beta 2") dnl searches for some needed programs
+AM_INIT_AUTOMAKE(kuickshow, "2.1 beta 2") dnl searches for some needed programs
KDE_SET_PREFIX

View File

@ -0,0 +1,37 @@
--- src/imagewindow.cpp.orig Fri May 4 13:12:14 2001
+++ src/imagewindow.cpp Wed Jun 27 09:51:55 2001
@@ -42,6 +42,7 @@
#include <klocale.h>
#include <kstdaccel.h>
#include <kstddirs.h>
+#include <ktempfile.h>
#include <kwin.h>
#include <netwm.h>
@@ -779,13 +780,15 @@
info.xjustification = 512; // center
info.yjustification = 512; // center
+ KTempFile tmpFile;
+ tmpFile.setAutoDelete( true );
QString tmpName;
if ( ofile ) // user just wants to print to file
tmpName = p.outputFileName();
else
- tmpName = QString::fromLocal8Bit( tmpnam( NULL ));
+ tmpName = tmpFile.name();
- char *file = (char *) tmpName.data();
+ char *file = (char *) QFile::encodeName( tmpName ).data();
if ( Imlib_save_image( id, kuim->imlibImage(), file, &info ) == 0 )
{
debug(i18n("KuickShow: Couldn't print image.")); // FIXME, show messagebox
@@ -799,7 +802,7 @@
QString cmdline = printCmd + " -P\"" + printerName + "\" " + tmpName;
debug("KuickShow: print commandline: %s", cmdline.data() );
for ( int i=0; i < copies; i++ ) // FIXME: better use a switch in lpr...
- system( cmdline.data() );
+ system( QFile::encodeName( cmdline).data() );
}

View File

@ -0,0 +1,7 @@
KuickShow is an image browser/viewer with a nice filebrowser to select
images to be shown, slideshow support and the ability to display the
following image formats: jpg, gif, tiff, png, bmp, psd, xpm, xbm, pbm
and eim. Images can be displayed either in their own window, as large
as the image, or fullscreen (which shrinks images too large to display).
WWW: ${HOMEPAGE}

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2001/06/27 02:37:16 kevlo Exp $
lib/libkuickshow.so.0.0
DYNLIBDIR(%B)

View File

@ -0,0 +1,42 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/06/27 02:37:16 kevlo Exp $
bin/kuickshow
%%SHARED%%
share/applnk/Graphics/kuickshow.desktop
share/apps/kuickshow/im_palette.pal
share/apps/kuickshow/pics/calibrate.png
share/apps/kuickshow/pics/eqx2.png
share/apps/kuickshow/pics/handcursor.png
share/apps/kuickshow/pics/imageviewer-medium.png
share/apps/kuickshow/pics/imageviewer-small.png
share/apps/kuickshow/pics/kuickshow-day.jpg
share/apps/kuickshow/pics/kuickshow-night.jpg
share/apps/kuickshow/pics/logo.png
share/doc/HTML/de/kuickshow/ChangeLog
share/doc/HTML/de/kuickshow/index.html
share/doc/HTML/de/kuickshow/logo.gif
share/doc/HTML/en/kuickshow/ChangeLog
share/doc/HTML/en/kuickshow/index.html
share/doc/HTML/en/kuickshow/logo.gif
share/icons/locolor/16x16/apps/kuickshow.png
share/icons/locolor/32x32/apps/kuickshow.png
share/locale/br/LC_MESSAGES/kuickshow.mo
share/locale/cs/LC_MESSAGES/kuickshow.mo
share/locale/da/LC_MESSAGES/kuickshow.mo
share/locale/de/LC_MESSAGES/kuickshow.mo
share/locale/es/LC_MESSAGES/kuickshow.mo
share/locale/fr/LC_MESSAGES/kuickshow.mo
share/locale/hr/LC_MESSAGES/kuickshow.mo
share/locale/hu/LC_MESSAGES/kuickshow.mo
share/locale/nl/LC_MESSAGES/kuickshow.mo
share/locale/no/LC_MESSAGES/kuickshow.mo
share/locale/pl/LC_MESSAGES/kuickshow.mo
share/locale/po/LC_MESSAGES/kuickshow.mo
share/locale/pt_BR/LC_MESSAGES/kuickshow.mo
share/locale/ro/LC_MESSAGES/kuickshow.mo
share/locale/sv/LC_MESSAGES/kuickshow.mo
share/locale/uk/LC_MESSAGES/kuickshow.mo
@dirrm share/doc/HTML/en/kuickshow
@dirrm share/doc/HTML/de/kuickshow
@dirrm share/doc/HTML/de
@dirrm share/apps/kuickshow/pics
@dirrm share/apps/kuickshow