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

2014-05-29 Thread Sergej Pupykin
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/ChangeLog2014-05-29 15:07:20 UTC (rev 112181)
@@ -0,0 +1,2 @@
+2007-06-26 tardo ta...@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+a...@gmail.com
+# Contributor: Aectann aect...@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.0 +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( 

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

2013-07-30 Thread Bartłomiej Piotrowski
Date: Tuesday, July 30, 2013 @ 10:31:52
  Author: bpiotrowski
Revision: 94760

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 94759, fbv/trunk/ChangeLog)
  fbv/repos/community-staging-i686/PKGBUILD
(from rev 94759, fbv/trunk/PKGBUILD)
  fbv/repos/community-staging-i686/giflib-5.0.patch
(from rev 94759, fbv/trunk/giflib-5.0.patch)
  fbv/repos/community-staging-x86_64/
  fbv/repos/community-staging-x86_64/ChangeLog
(from rev 94759, fbv/trunk/ChangeLog)
  fbv/repos/community-staging-x86_64/PKGBUILD
(from rev 94759, fbv/trunk/PKGBUILD)
  fbv/repos/community-staging-x86_64/giflib-5.0.patch
(from rev 94759, fbv/trunk/giflib-5.0.patch)

---+
 community-staging-i686/ChangeLog  |2 +
 community-staging-i686/PKGBUILD   |   32 
 community-staging-i686/giflib-5.0.patch   |   21 ++
 community-staging-x86_64/ChangeLog|2 +
 community-staging-x86_64/PKGBUILD |   32 
 community-staging-x86_64/giflib-5.0.patch |   21 ++
 6 files changed, 110 insertions(+)

Copied: fbv/repos/community-staging-i686/ChangeLog (from rev 94759, 
fbv/trunk/ChangeLog)
===
--- community-staging-i686/ChangeLog(rev 0)
+++ community-staging-i686/ChangeLog2013-07-30 08:31:52 UTC (rev 94760)
@@ -0,0 +1,2 @@
+2007-06-26 tardo ta...@nagi-fanboi.net
+* Built for x86_64

Copied: fbv/repos/community-staging-i686/PKGBUILD (from rev 94759, 
fbv/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2013-07-30 08:31:52 UTC (rev 94760)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Sergej Pupykin pupykin.s+a...@gmail.com
+# Contributor: Aectann aect...@infoline.su
+
+pkgname=fbv
+pkgver=1.0b
+pkgrel=7
+pkgdesc=FrameBuffer image viewer
+arch=('i686' 'x86_64')
+url=http://s-tech.elsat.net.pl/fbv/;
+license=('GPL')
+depends=('libpng' 'libungif' 'libjpeg')
+source=(http://s-tech.elsat.net.pl/fbv/$pkgname-$pkgver.tar.gz
+giflib-5.0.patch)
+md5sums=('3e466375b930ec22be44f1041e77b55d'
+ '6310899c97c4226352ad409c1c7fefb3')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  ./configure --prefix=/usr --mandir=/usr/share/man
+  sed -i 's|LIBS.*|LIBS=-lpng -ljpeg -lungif -lgif|' Make.conf
+  sed -i 's|setjmp(png_ptr-jmpbuf)|setjmp(png_jmpbuf(png_ptr))|' png.c
+  patch -Np1 -i ../giflib-5.0.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.0.patch (from rev 94759, 
fbv/trunk/giflib-5.0.patch)
===
--- community-staging-i686/giflib-5.0.patch (rev 0)
+++ community-staging-i686/giflib-5.0.patch 2013-07-30 08:31:52 UTC (rev 
94760)
@@ -0,0 +1,21 @@
+diff -rupN a/gif.c b/gif.c
+--- a/gif.c2003-08-24 22:23:02.0 +0200
 b/gif.c2013-07-30 10:27:55.851099159 +0200
+@@ -81,7 +81,7 @@ int fh_gif_load(char *name,unsigned char
+ ColorMapObject *cmap;
+ int cmaps;
+ 
+-gft=DGifOpenFileName(name);
++gft=DGifOpenFileName(name, NULL);
+ if(gft==NULL){printf(err5\n); gflush;} //
+ do
+ {
+@@ -184,7 +184,7 @@ int fh_gif_getsize(char *name,int *x,int
+ int extcode;
+ GifRecordType rt;
+ 
+-gft=DGifOpenFileName(name);
++gft=DGifOpenFileName(name, NULL);
+ if(gft==NULL) gflush;
+ do
+ {

Copied: fbv/repos/community-staging-x86_64/ChangeLog (from rev 94759, 
fbv/trunk/ChangeLog)
===
--- community-staging-x86_64/ChangeLog  (rev 0)
+++ community-staging-x86_64/ChangeLog  2013-07-30 08:31:52 UTC (rev 94760)
@@ -0,0 +1,2 @@
+2007-06-26 tardo ta...@nagi-fanboi.net
+* Built for x86_64

Copied: fbv/repos/community-staging-x86_64/PKGBUILD (from rev 94759, 
fbv/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2013-07-30 08:31:52 UTC (rev 94760)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Sergej Pupykin pupykin.s+a...@gmail.com
+# Contributor: Aectann aect...@infoline.su
+
+pkgname=fbv
+pkgver=1.0b
+pkgrel=7
+pkgdesc=FrameBuffer image viewer
+arch=('i686' 'x86_64')
+url=http://s-tech.elsat.net.pl/fbv/;
+license=('GPL')
+depends=('libpng' 'libungif' 'libjpeg')
+source=(http://s-tech.elsat.net.pl/fbv/$pkgname-$pkgver.tar.gz
+giflib-5.0.patch)