You are not logged in.

#1 2005-02-24 07:03:42

Krzysiek_W
Member
From: Poland, Bialystok - tam gdzie
Registered: 2004-12-08
Posts: 45
Website

[NEW] vnc2swf & ming & x11vnc

Hi,
a pack of programs to capture animation from screen / window  to swf files

ming:

PKGBUID

# Contributor: Krzysiek Wojszko <w dot krzysiek at gmail dot com>

pkgname=ming
pkgver=0.3beta1
pkgrel=1
pkgdesc="Ming is a C library for generating SWF ("Flash") format movies"
url="http://ming.sourceforge.net/"
license="GPL"
depends=('libungif' 'xorg')
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://voxel.dl.sourceforge.net/sourceforge/ming/$pkgname-$pkgver.tar.bz2 
Makefile.patch)
md5sums=('65e652f4629248f4bc93dfcca8cfa8db' 'dd9d8a69f9d9c5d07527871d2f638dc4')

build() {
  cd $startdir/src/$pkgname-$pkgver
  patch Makefile ../Makefile.patch
  make || return 1
  make DESTDIR=$startdir/pkg install
}

Makefile.patch

--- ming-0.3beta1/Makefile    2004-02-01 00:06:56.000000000 +0100
+++ Makefile    2005-02-24 06:00:10.000000000 +0100
@@ -18,6 +18,7 @@
     install -m 0644 mingpp.h $(INCLUDEDIR)
 
 install-dynamic: dynamic
+    cp libming.so $(SHAREDLIB)
     install -m 0644 $(SHAREDLIB) $(LIBDIR)/
     (cd $(LIBDIR) && ln -fs $(SHAREDLIB) libming.so.0 && ln -fs libming.so.0 libming.so)
 


vnc2swf:
PKGBUILD

# Contributor: Krzysiek Wojszko <w dot krzysiek at gmail dot com>

pkgname=vnc2swf
pkgver=0.4.2
pkgrel=1
pkgdesc="Vnc2swf captures live motion of a screen through VNC protocol and converts it in a Macromedia Flash(TM) movie (.swf)."
url="http://www.unixuser.org/~euske/vnc2swf/"
license="GPL"
depends=('ming' 'bash')
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://www.unixuser.org/~euske/vnc2swf/$pkgname-$pkgver.tar.gz 
writeswf.c.patch)
md5sums=('57a61191010a15cbbf8d0e3a3ec4ca11' '58c918ac25723bcf16ba6a56750c77a6')

build() {
  cd $startdir/src/$pkgname-$pkgver
  patch writeswf.c < ../writeswf.c.patch
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
}

writeswf.c.patch

--- src/vnc2swf-0.4.2/writeswf.c    2004-05-19 18:02:01.000000000 +0200
+++ writeswf.c    2005-02-24 07:49:08.000000000 +0100
@@ -517,12 +517,12 @@
     SWFMovie_setRate(movie, appData.frameRate);
     if (soundf) {
     fprintf(stderr,"=== WriteInitMovie: Sound file: "%s"n", appData.soundfileString);
-#if MING03
-    /* ming 0.3beta1 */
-    SWFMovie_setSoundStream(movie, (SWFSoundStream)newSWFSoundStream(soundf));
-#else
+#if MING02
     /* ming 0.2a */
     SWFMovie_setSoundStream(movie, newSWFSound(soundf));
+#else
+    /* ming 0.3beta1 */
+    SWFMovie_setSoundStream(movie, (SWFSoundStream)newSWFSoundStream(soundf));
 #endif
     }
     SWFMovie_setDimension(movie, movie_width, movie_height);
@@ -599,11 +599,11 @@
         appData.nframes, (double)appData.nframes/(double)appData.frameRate, appData.expanded_image_bytes);
 
 #if MING02
-    /* ming 0.3beta1 */
-    len = SWFMovie_output(movie, fileOutputMethod, movie_dumpf, 0);
-#else
     /* ming 0.2a */
     len = SWFMovie_output(movie, fileOutputMethod, movie_dumpf);
+#else
+    /* ming 0.3beta1 */
+    len = SWFMovie_output(movie, fileOutputMethod, movie_dumpf, 0);
 #endif
     destroySWFMovie(movie);
     

x11vnc:
PKGBUILD

# Contributor: Krzysiek Wojszko <w dot krzysiek at gmail dot com>

pkgname=x11vnc
pkgver=0.7.1
pkgrel=1
pkgdesc="x11vnc allows one to remotely view and interact with real X displays"
url="http://www.karlrunge.com/x11vnc"
license="GPL"
depends=('xorg' 'libjpeg')
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://osdn.dl.sourceforge.net/sourceforge/libvncserver/$pkgname-$pkgver.tar.gz)
#x11vnc-0.7.1.tar.gz
md5sums=('84e54a694aad6f122813b0930fb4402c')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
}


all files  to grab.


Greetings
Krzysiek Wojszko

Offline

#2 2005-02-25 01:38:33

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

Re: [NEW] vnc2swf & ming & x11vnc

hey thanks Krzysiek_W.

These are PRO tools. in CURRENT ASAP!!

Offline

#3 2005-02-25 06:14:48

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [NEW] vnc2swf & ming & x11vnc

zeppelin wrote:

hey thanks Krzysiek_W.

These are PRO tools. in CURRENT ASAP!!

i'm waiting for a release of ming ... i don't like the string "beta1" in pkgver ;-)


The impossible missions are the only ones which succeed.

Offline

#4 2005-02-25 12:38:43

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

Re: [NEW] vnc2swf & ming & x11vnc

why? Does latest stable vnc2swf really require ming-beta1?

Offline

#5 2005-02-25 12:48:59

Krzysiek_W
Member
From: Poland, Bialystok - tam gdzie
Registered: 2004-12-08
Posts: 45
Website

Re: [NEW] vnc2swf & ming & x11vnc

it does not, but on ming page there are versions:

0.3beta1,
0.3alpha2,
0.3a,
0.2a
...

and I'm not sure if 0.3a is stable, so I make PKGBUILD for latest version, and I gues that patch for vnc2swf is not needed for 0.2x version of ming.


Greetings
Krzysiek Wojszko

Offline

#6 2005-02-25 13:29:40

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [NEW] vnc2swf & ming & x11vnc

Krzysiek_W wrote:

it does not, but on ming page there are versions:

0.3beta1,
0.3alpha2,
0.3a,
0.2a
...

and I'm not sure if 0.3a is stable, so I make PKGBUILD for latest version, and I gues that patch for vnc2swf is not needed for 0.2x version of ming.

exactly! as far i know ming didn't produced a stable release untill now ... but this project looks still very promising


The impossible missions are the only ones which succeed.

Offline

Board footer

Powered by FluxBB