[arch-commits] Commit in fbv/repos (8 files)

Sergej Pupykin spupykin at nymeria.archlinux.org
Thu May 29 15:07:21 UTC 2014


    Date: Thursday, May 29, 2014 @ 17:07:20
  Author: spupykin
Revision: 112181

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  fbv/repos/community-staging-i686/
  fbv/repos/community-staging-i686/ChangeLog
    (from rev 112180, fbv/trunk/ChangeLog)
  fbv/repos/community-staging-i686/PKGBUILD
    (from rev 112180, fbv/trunk/PKGBUILD)
  fbv/repos/community-staging-i686/giflib-5.1.patch
    (from rev 112180, fbv/trunk/giflib-5.1.patch)
  fbv/repos/community-staging-x86_64/
  fbv/repos/community-staging-x86_64/ChangeLog
    (from rev 112180, fbv/trunk/ChangeLog)
  fbv/repos/community-staging-x86_64/PKGBUILD
    (from rev 112180, fbv/trunk/PKGBUILD)
  fbv/repos/community-staging-x86_64/giflib-5.1.patch
    (from rev 112180, fbv/trunk/giflib-5.1.patch)

-------------------------------------------+
 community-staging-i686/ChangeLog          |    2 
 community-staging-i686/PKGBUILD           |   32 ++++++++++++++
 community-staging-i686/giflib-5.1.patch   |   62 ++++++++++++++++++++++++++++
 community-staging-x86_64/ChangeLog        |    2 
 community-staging-x86_64/PKGBUILD         |   32 ++++++++++++++
 community-staging-x86_64/giflib-5.1.patch |   62 ++++++++++++++++++++++++++++
 6 files changed, 192 insertions(+)

Copied: fbv/repos/community-staging-i686/ChangeLog (from rev 112180, fbv/trunk/ChangeLog)
===================================================================
--- community-staging-i686/ChangeLog	                        (rev 0)
+++ community-staging-i686/ChangeLog	2014-05-29 15:07:20 UTC (rev 112181)
@@ -0,0 +1,2 @@
+2007-06-26 tardo <tardo at nagi-fanboi.net>
+* Built for x86_64

Copied: fbv/repos/community-staging-i686/PKGBUILD (from rev 112180, fbv/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2014-05-29 15:07:20 UTC (rev 112181)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Aectann <aectann at infoline.su>
+
+pkgname=fbv
+pkgver=1.0b
+pkgrel=9
+pkgdesc="FrameBuffer image viewer"
+arch=('i686' 'x86_64')
+url="http://s-tech.elsat.net.pl/fbv/"
+license=('GPL')
+depends=('libpng' 'giflib' 'libjpeg')
+source=(http://s-tech.elsat.net.pl/fbv/$pkgname-$pkgver.tar.gz
+        giflib-5.1.patch)
+md5sums=('3e466375b930ec22be44f1041e77b55d'
+         'f91404fb82f0b6b9fc0e0716f0c182c0')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  ./configure --prefix=/usr --mandir=/usr/share/man
+  sed -i 's|LIBS.*|LIBS=-lpng -ljpeg -lgif|' Make.conf
+  sed -i 's|setjmp(png_ptr->jmpbuf)|setjmp(png_jmpbuf(png_ptr))|' png.c
+  patch -Np1 -i ../giflib-5.1.patch
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  mkdir -p $pkgdir/usr/bin
+  mkdir -p $pkgdir/usr/share/man/man1
+  make DESTDIR=$pkgdir install
+}

Copied: fbv/repos/community-staging-i686/giflib-5.1.patch (from rev 112180, fbv/trunk/giflib-5.1.patch)
===================================================================
--- community-staging-i686/giflib-5.1.patch	                        (rev 0)
+++ community-staging-i686/giflib-5.1.patch	2014-05-29 15:07:20 UTC (rev 112181)
@@ -0,0 +1,62 @@
+diff -wbBur fbv-1.0b/gif.c fbv-1.0b.my/gif.c
+--- fbv-1.0b/gif.c	2003-08-25 00:23:02.000000000 +0400
++++ fbv-1.0b.my/gif.c	2014-05-29 18:39:41.337332872 +0400
+@@ -31,10 +31,10 @@
+ #include <string.h>
+ #define min(a,b) ((a) < (b) ? (a) : (b))
+ #define gflush return(FH_ERROR_FILE);
+-#define grflush { DGifCloseFile(gft); return(FH_ERROR_FORMAT); }
+-#define mgrflush { free(lb); free(slb); DGifCloseFile(gft); return(FH_ERROR_FORMAT); }
++#define grflush { DGifCloseFile(gft, NULL); return(FH_ERROR_FORMAT); }
++#define mgrflush { free(lb); free(slb); DGifCloseFile(gft, NULL); return(FH_ERROR_FORMAT); }
+ #define agflush return(FH_ERROR_FORMAT);
+-#define agrflush { DGifCloseFile(gft); return(FH_ERROR_FORMAT); }
++#define agrflush { DGifCloseFile(gft, NULL); return(FH_ERROR_FORMAT); }
+ 
+ 
+ int fh_gif_id(char *name)
+@@ -81,7 +81,7 @@
+     ColorMapObject *cmap;
+     int cmaps;
+ 
+-    gft=DGifOpenFileName(name);
++    gft=DGifOpenFileName(name, NULL);
+     if(gft==NULL){printf("err5\n"); gflush;} //////////
+     do
+     {
+@@ -170,7 +170,7 @@
+ 	}
+     }
+     while( rt!= TERMINATE_RECORD_TYPE );
+-    DGifCloseFile(gft);
++    DGifCloseFile(gft, NULL);
+     return(FH_ERROR_OK);
+ }
+ 
+@@ -184,7 +184,7 @@
+     int extcode;
+     GifRecordType rt;
+ 
+-    gft=DGifOpenFileName(name);
++    gft=DGifOpenFileName(name, NULL);
+     if(gft==NULL) gflush;
+     do
+     {
+@@ -197,7 +197,7 @@
+ 		px=gft->Image.Width;
+ 		py=gft->Image.Height;
+ 		*x=px; *y=py;
+-		DGifCloseFile(gft);
++		DGifCloseFile(gft, NULL);
+ 		return(FH_ERROR_OK);
+ 		break;
+ 	    case EXTENSION_RECORD_TYPE:
+@@ -210,7 +210,7 @@
+ 	}  
+     }
+     while( rt!= TERMINATE_RECORD_TYPE );
+-    DGifCloseFile(gft);
++    DGifCloseFile(gft, NULL);
+     return(FH_ERROR_FORMAT);
+ }
+ #endif

Copied: fbv/repos/community-staging-x86_64/ChangeLog (from rev 112180, fbv/trunk/ChangeLog)
===================================================================
--- community-staging-x86_64/ChangeLog	                        (rev 0)
+++ community-staging-x86_64/ChangeLog	2014-05-29 15:07:20 UTC (rev 112181)
@@ -0,0 +1,2 @@
+2007-06-26 tardo <tardo at nagi-fanboi.net>
+* Built for x86_64

Copied: fbv/repos/community-staging-x86_64/PKGBUILD (from rev 112180, fbv/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2014-05-29 15:07:20 UTC (rev 112181)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Aectann <aectann at infoline.su>
+
+pkgname=fbv
+pkgver=1.0b
+pkgrel=9
+pkgdesc="FrameBuffer image viewer"
+arch=('i686' 'x86_64')
+url="http://s-tech.elsat.net.pl/fbv/"
+license=('GPL')
+depends=('libpng' 'giflib' 'libjpeg')
+source=(http://s-tech.elsat.net.pl/fbv/$pkgname-$pkgver.tar.gz
+        giflib-5.1.patch)
+md5sums=('3e466375b930ec22be44f1041e77b55d'
+         'f91404fb82f0b6b9fc0e0716f0c182c0')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  ./configure --prefix=/usr --mandir=/usr/share/man
+  sed -i 's|LIBS.*|LIBS=-lpng -ljpeg -lgif|' Make.conf
+  sed -i 's|setjmp(png_ptr->jmpbuf)|setjmp(png_jmpbuf(png_ptr))|' png.c
+  patch -Np1 -i ../giflib-5.1.patch
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  mkdir -p $pkgdir/usr/bin
+  mkdir -p $pkgdir/usr/share/man/man1
+  make DESTDIR=$pkgdir install
+}

Copied: fbv/repos/community-staging-x86_64/giflib-5.1.patch (from rev 112180, fbv/trunk/giflib-5.1.patch)
===================================================================
--- community-staging-x86_64/giflib-5.1.patch	                        (rev 0)
+++ community-staging-x86_64/giflib-5.1.patch	2014-05-29 15:07:20 UTC (rev 112181)
@@ -0,0 +1,62 @@
+diff -wbBur fbv-1.0b/gif.c fbv-1.0b.my/gif.c
+--- fbv-1.0b/gif.c	2003-08-25 00:23:02.000000000 +0400
++++ fbv-1.0b.my/gif.c	2014-05-29 18:39:41.337332872 +0400
+@@ -31,10 +31,10 @@
+ #include <string.h>
+ #define min(a,b) ((a) < (b) ? (a) : (b))
+ #define gflush return(FH_ERROR_FILE);
+-#define grflush { DGifCloseFile(gft); return(FH_ERROR_FORMAT); }
+-#define mgrflush { free(lb); free(slb); DGifCloseFile(gft); return(FH_ERROR_FORMAT); }
++#define grflush { DGifCloseFile(gft, NULL); return(FH_ERROR_FORMAT); }
++#define mgrflush { free(lb); free(slb); DGifCloseFile(gft, NULL); return(FH_ERROR_FORMAT); }
+ #define agflush return(FH_ERROR_FORMAT);
+-#define agrflush { DGifCloseFile(gft); return(FH_ERROR_FORMAT); }
++#define agrflush { DGifCloseFile(gft, NULL); return(FH_ERROR_FORMAT); }
+ 
+ 
+ int fh_gif_id(char *name)
+@@ -81,7 +81,7 @@
+     ColorMapObject *cmap;
+     int cmaps;
+ 
+-    gft=DGifOpenFileName(name);
++    gft=DGifOpenFileName(name, NULL);
+     if(gft==NULL){printf("err5\n"); gflush;} //////////
+     do
+     {
+@@ -170,7 +170,7 @@
+ 	}
+     }
+     while( rt!= TERMINATE_RECORD_TYPE );
+-    DGifCloseFile(gft);
++    DGifCloseFile(gft, NULL);
+     return(FH_ERROR_OK);
+ }
+ 
+@@ -184,7 +184,7 @@
+     int extcode;
+     GifRecordType rt;
+ 
+-    gft=DGifOpenFileName(name);
++    gft=DGifOpenFileName(name, NULL);
+     if(gft==NULL) gflush;
+     do
+     {
+@@ -197,7 +197,7 @@
+ 		px=gft->Image.Width;
+ 		py=gft->Image.Height;
+ 		*x=px; *y=py;
+-		DGifCloseFile(gft);
++		DGifCloseFile(gft, NULL);
+ 		return(FH_ERROR_OK);
+ 		break;
+ 	    case EXTENSION_RECORD_TYPE:
+@@ -210,7 +210,7 @@
+ 	}  
+     }
+     while( rt!= TERMINATE_RECORD_TYPE );
+-    DGifCloseFile(gft);
++    DGifCloseFile(gft, NULL);
+     return(FH_ERROR_FORMAT);
+ }
+ #endif




More information about the arch-commits mailing list