[csw-devel] SF.net SVN: gar:[21447] csw/mgar/pkg

opk at users.sourceforge.net opk at users.sourceforge.net
Fri Jul 5 16:07:13 CEST 2013


Revision: 21447
          http://gar.svn.sourceforge.net/gar/?rev=21447&view=rev
Author:   opk
Date:     2013-07-05 14:07:09 +0000 (Fri, 05 Jul 2013)
Log Message:
-----------
add qiv - quick image viewer

Modified Paths:
--------------
    csw/mgar/pkg/lang-python/ipython/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/duff/trunk/files/0001-add-missing-include.patch
    csw/mgar/pkg/qiv/
    csw/mgar/pkg/qiv/Makefile
    csw/mgar/pkg/qiv/branches/
    csw/mgar/pkg/qiv/tags/
    csw/mgar/pkg/qiv/trunk/
    csw/mgar/pkg/qiv/trunk/Makefile
    csw/mgar/pkg/qiv/trunk/checksums
    csw/mgar/pkg/qiv/trunk/files/
    csw/mgar/pkg/qiv/trunk/files/0001-adapt-Makefile-for-opencsw.patch

Added: csw/mgar/pkg/duff/trunk/files/0001-add-missing-include.patch
===================================================================
--- csw/mgar/pkg/duff/trunk/files/0001-add-missing-include.patch	                        (rev 0)
+++ csw/mgar/pkg/duff/trunk/files/0001-add-missing-include.patch	2013-07-05 14:07:09 UTC (rev 21447)
@@ -0,0 +1,25 @@
+From c313817d166996dc0dca1c2d544855debf280c53 Mon Sep 17 00:00:00 2001
+From: Oliver Kiddle <opk at opencsw.org>
+Date: Fri, 5 Jul 2013 00:24:45 +0200
+Subject: [PATCH] add missing include
+
+---
+ src/duffstring.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/duffstring.h b/src/duffstring.h
+index 28475a7..20645d9 100644
+--- a/src/duffstring.h
++++ b/src/duffstring.h
+@@ -22,6 +22,8 @@
+  *     distribution.
+  */
+ 
++#include <varargs.h>
++
+ #if !HAVE_VASPRINTF
+ int vasprintf(char** result, const char* format, va_list vl);
+ #endif /*HAVE_VASPRINTF*/
+-- 
+1.8.3.1
+

Modified: csw/mgar/pkg/lang-python/ipython/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/ipython/trunk/Makefile	2013-07-05 11:59:26 UTC (rev 21446)
+++ csw/mgar/pkg/lang-python/ipython/trunk/Makefile	2013-07-05 14:07:09 UTC (rev 21447)
@@ -15,6 +15,7 @@
 define BLURB
   IPython is a replacement for the standard Python shell.
 endef
+LICENSE = COPYING.txt
 
 MASTER_SITES = http://archive.ipython.org/release/$(VERSION)/
 DISTFILES    = $(NAME)-$(VERSION).tar.gz

Copied: csw/mgar/pkg/qiv/Makefile (from rev 21431, csw/mgar/pkg/template/Makefile)
===================================================================
--- csw/mgar/pkg/qiv/Makefile	                        (rev 0)
+++ csw/mgar/pkg/qiv/Makefile	2013-07-05 14:07:09 UTC (rev 21447)
@@ -0,0 +1,15 @@
+# vim: ft=make ts=4 sw=4 noet
+
+default:
+	@echo "You are in the pkg/ directory."
+
+%:
+	$(MAKE) -C trunk $* 
+
+paranoid-%:
+	$(MAKE) -C trunk $* || exit 2 
+
+export BUILDLOG ?= $(shell pwd)/buildlog.txt
+
+report-%:
+	$(MAKE) -C trunk $* || echo "	*** make $* in $$i failed ***" >> $(BUILDLOG) 


Property changes on: csw/mgar/pkg/qiv/trunk
___________________________________________________________________
Added: svn:ignore
   + work



Added: csw/mgar/pkg/qiv/trunk/Makefile
===================================================================
--- csw/mgar/pkg/qiv/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/qiv/trunk/Makefile	2013-07-05 14:07:09 UTC (rev 21447)
@@ -0,0 +1,30 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = qiv
+VERSION = 2.2.4
+GARTYPE = v2
+
+DESCRIPTION = Quick image viewer
+define BLURB
+  Quick Image Viewer (qiv) is a fast and simple image viewer based
+  on GDK and imlib. Features include zooming, fullscreen, statusbar,
+  screensaver mode, brighness/contrast control, transparency,
+  slideshow, exif autorotation and a browse mode.
+endef
+
+MASTER_SITES = http://spiegl.de/qiv/download/
+DISTFILES  = $(DISTNAME).tgz
+LICENSE = README.COPYING
+
+RUNTIME_DEP_PKGS += CSWlibmagic1 CSWlibgdk-x11-2-0-0 CSWlibgdk-pixbuf2-0-0 \
+  CSWlibgobject2-0-0 CSWlibimlib2-1 CSWlibglib2-0-0 CSWpango
+
+PATCHFILES += 0001-adapt-Makefile-for-opencsw.patch
+CONFIGURE_SCRIPTS =
+BUILD_ARGS = -f Makefile.Solaris
+TEST_SCRIPTS =
+INSTALL_ARGS = -f Makefile.Solaris
+
+include gar/category.mk
+


Property changes on: csw/mgar/pkg/qiv/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
   + Id

Added: csw/mgar/pkg/qiv/trunk/checksums
===================================================================
--- csw/mgar/pkg/qiv/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/qiv/trunk/checksums	2013-07-05 14:07:09 UTC (rev 21447)
@@ -0,0 +1 @@
+1425f89c90f9c045858fccf24d894c97  qiv-2.2.4.tgz

Added: csw/mgar/pkg/qiv/trunk/files/0001-adapt-Makefile-for-opencsw.patch
===================================================================
--- csw/mgar/pkg/qiv/trunk/files/0001-adapt-Makefile-for-opencsw.patch	                        (rev 0)
+++ csw/mgar/pkg/qiv/trunk/files/0001-adapt-Makefile-for-opencsw.patch	2013-07-05 14:07:09 UTC (rev 21447)
@@ -0,0 +1,71 @@
+From 51625c4d79ede0386f6034bd08a113ee626b8aa0 Mon Sep 17 00:00:00 2001
+From: Oliver Kiddle <opk at opencsw.org>
+Date: Fri, 5 Jul 2013 14:56:15 +0200
+Subject: [PATCH] adapt Makefile for opencsw
+
+---
+ Makefile.Solaris | 30 ++++++++++++------------------
+ 1 file changed, 12 insertions(+), 18 deletions(-)
+
+diff --git a/Makefile.Solaris b/Makefile.Solaris
+index 3513f4d..74dd04c 100644
+--- a/Makefile.Solaris
++++ b/Makefile.Solaris
+@@ -26,11 +26,11 @@ FILTER = 1
+ EXTNS = GIF TIFF XPM PNG PPM PNM PGM PCX BMP EIM JPEG SVG WMF ICO
+ 
+ # Comment this line out if your system doesn't have getopt_long().
+-#GETOPT_LONG = -DHAVE_GETOPT_LONG
++GETOPT_LONG = -DHAVE_GETOPT_LONG
+ 
+ # This program will be run on the manual page after it is installed.
+ # If you don't want to compress the manpage, change it to 'true'.
+-COMPRESS_PROG = gzip -9f
++COMPRESS_PROG = true
+ 
+ # Comment this line out if your system doesn't have libXinerama
+ # installed (for centering on dual-screen)
+@@ -47,8 +47,8 @@ MAGIC = -DHAVE_MAGIC
+ # Do not edit below here!
+ ######################################################################
+ 
+-CC        = gcc
+-CFLAGS    = -O2 -Wall -fomit-frame-pointer -finline-functions \
++#CC        = gcc
++#CFLAGS    = -O2 -Wall -fomit-frame-pointer -finline-functions \
+ 	    -fcaller-saves -ffast-math -fno-strength-reduce \
+ 	    -fthread-jumps #-march=pentium #-DSTAT_MACROS_BROKEN
+ 
+@@ -129,21 +129,15 @@ distclean : clean
+ 
+ install: $(PROGRAM)
+ 	@echo "Installing QIV..."
+-	@if [ ! -d $(PREFIX)/bin ]; then \
+-	  install -d -m 0755 $(PREFIX)/bin; \
+-	  echo install -d -m 0755 $(PREFIX)/bin; \
++	@if [ ! -d $(DESTDIR)$(bindir) ]; then \
++	  ginstall -d -m 0755 $(DESTDIR)$(bindir); \
++	  echo ginstall -d -m 0755 $(DESTDIR)$(bindir); \
+         fi
+-	install -s -m 0755 $(PROGRAM) $(PREFIX)/bin
+-	@if [ ! -d $(PREFIX)/man/man1 ]; then \
+-	  echo install -d -m 0755 $(PREFIX)/man/man1; \
+-	  install -d -m 0755 $(PREFIX)/man/man1; \
++	ginstall -s -m 0755 $(PROGRAM) $(DESTDIR)$(bindir)
++	@if [ ! -d $(DESTDIR)$(mandir)/man1 ]; then \
++	  echo ginstall -d -m 0755 $(DESTDIR)$(mandir)/man1; \
++	  ginstall -d -m 0755 $(DESTDIR)$(mandir)/man1; \
+ 	fi
+-	install -m 0644 $(PROGRAM).1 $(PREFIX)/man/man1
+-	$(COMPRESS_PROG) $(PREFIX)/man/man1/$(PROGRAM).1
+-	@if ./qiv -f ./intro.jpg ; \
+-	then echo "-- Test Passed --" ; \
+-	else echo "-- Test Failed --" ; \
+-	fi
+-	@echo "\nDont forget to look into the \"qiv-command\" file and install it!\n-> cp qiv-command.example /usr/local/bin/qiv-command\n\n"
++	ginstall -m 0644 $(PROGRAM).1 $(DESTDIR)$(mandir)/man1
+ 
+ # the end... ;-)
+-- 
+1.8.3.1
+

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list