トップ «前の日(07-28) 最新 次の日(07-30)» 追記

Masa's blog

検索キーワード:

2013年07月29日 Building openmovieeditor on Slackware-14.0

_ Building openmovieeditor on Slackware-14.0

pre-require

gavl-1.4.0.tar.gz

$ tar xvvf gavl-1.4.0.tar.gz
$ cd gavl-1.4.0
$ ./configure && make
# make install && ldconfig

gmerlin-avdecoder-1.2.0.tar.gz

$ tar xvvf gmerlin-avdecoder-1.2.0.tar.gz
$ cd gmerlin-avdecoder-1.2.0
$ ./configure && make
# make install && ldconfig

gmerlin-1.2.0.tar.gz

$ tar xvvf gmerlin-1.2.0.tar.gz
$ cd gmerlin-1.2.0
$ CFLAGS="-ldl -lpthread -lgtk" ./configure && make
# make install && ldconfig

libquicktime-1.2.4.tar.gz

$ tar xvvf libquicktime-1.2.4.tar.gz
$ cd libquicktime-1.2.4
$ LDFLAGS="-L/usr/local/lib" LIBS="-lx264" ./configure --enable-gpl --with-x264

Edit config.h by hand :P

/* Enable X264 */
/* #undef HAVE_X264 */
#define HAVE_X264 1
$ make
# make install && ldconfig

jack-1.9.9.5.tar.bz2

$ tar xvvf jack-1.9.9.5.tar.bz2
$ cd jack-1.9.9.5
$ ./waf configure --alsa
$ ./waf build
# ./waf install
# ldconfig

# /usr/local/bin/jackd -d alsa &

pa_stable_v19_20111121.tgz

$ tar xvvf pa_stable_v19_20111121.tgz
$ cd portaudio
$ ./configure && make
# make install && ldconfig

fltk-1.3.2-source.tar.gz

$ tar xvvf fltk-1.3.2-source.tar.gz
$ cd fltk-1.3.2
$ ./configure && make
# make install && ldconfig

Build openmovieeditor-0.0.20090105.tar.gz

$ tar xvvf openmovieeditor-0.0.20090105.tar.gz
$ cd openmovieeditor-0.0.20090105
$ patch -p0 <openmovieeditor-0.0.20090105.diff

openmovieeditor-0.0.20090105.diff

*** ./src/VideoViewGL.H.ORG	2013-07-29 09:32:48.093571324 +0900
--- ./src/VideoViewGL.H	2013-07-29 09:33:30.076907190 +0900
***************
*** 20,25 ****
--- 20,26 ----
  #ifndef _VIDEO_VIEW_GL_H_
  #define _VIDEO_VIEW_GL_H_

+ #include <stdint.h>
  #include <FL/Fl.H>
  #include <FL/Fl_Gl_Window.H>

*** ./src/AddCommand.cxx.ORG	2013-07-29 09:37:17.030751855 +0900
--- ./src/AddCommand.cxx	2013-07-29 09:37:48.086698907 +0900
***************
*** 18,23 ****
--- 18,24 ----
   */


+ #include <stdio.h>
  #include "AddCommand.H"
  #include "timeline/Clip.H"
  #include "Timeline.H"
*** ./src/Fl_Split.cpp.ORG	2013-07-29 09:47:00.044849949 +0900
--- ./src/Fl_Split.cpp	2013-07-29 09:47:38.387723132 +0900
***************
*** 38,44 ****

  void Fl_Split::position(int oix, int oiy, int newx, int newy) {
    Fl_Widget*const* a = array();
!   short* p = sizes();
    p += 8; // skip group & resizable's saved size
    for (int i=children(); i--; p += 4) {
      Fl_Widget* o = *a++;
--- 38,44 ----

  void Fl_Split::position(int oix, int oiy, int newx, int newy) {
    Fl_Widget*const* a = array();
!   short* p = (short *)sizes();
    p += 8; // skip group & resizable's saved size
    for (int i=children(); i--; p += 4) {
      Fl_Widget* o = *a++;
***************
*** 88,94 ****
  	  return;
    }

!   short* p = sizes();
    // resize this (skip the Fl_Group resize):
    Fl_Widget::resize(X,Y,W,H);

--- 88,94 ----
  	  return;
    }

!   short* p = (short *)sizes();
    // resize this (skip the Fl_Group resize):
    Fl_Widget::resize(X,Y,W,H);

***************
*** 155,161 ****
  		  int oldx = 0;
  		  int oldy = 0;
  		  Fl_Widget*const* a = array();
! 		  short* q = sizes();
  		  short* p = q+8;
  		  //printf("cursor(%d,%d)\n", mx,my);
  		  for (int i=children(); i--; p += 4) {
--- 155,161 ----
  		  int oldx = 0;
  		  int oldy = 0;
  		  Fl_Widget*const* a = array();
! 		  short* q = (short *)sizes();
  		  short* p = q+8;
  		  //printf("cursor(%d,%d)\n", mx,my);
  		  for (int i=children(); i--; p += 4) {
*** ./src/WaveForm.H.ORG	2013-07-29 09:35:37.174060583 +0900
--- ./src/WaveForm.H	2013-07-29 09:36:12.358532348 +0900
***************
*** 17,22 ****
--- 17,23 ----
   *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
   */

+ #include <stdint.h>
  #include "global_includes.H"
  #include "JobManager.H"

*** ./src/DiskCache.cxx.ORG	2013-07-29 09:53:43.362109498 +0900
--- ./src/DiskCache.cxx	2013-07-29 09:54:02.806580790 +0900
***************
*** 25,30 ****
--- 25,31 ----
  #include <sys/stat.h>
  #include <cerrno>
  #include <cstring>
+ #include <unistd.h>

  #include "DiskCache.H"
  #include "globals.H"
$ CPPFLAGS="-fpermissive" ./configure && make
# make install && ldconfig

2018年07月29日 Tips for guest OS(MS-Windows) on vmware(vmplayer)

_ Tips for guest OS(MS-Windows) on vmware(vmplayer)

How to make delay time for starting boot OS.

Put next line into YOUR_OS.vmx

# 5000(ms) delay
BIOS.BootDelay ="5000"

How to cleanup drive

cleanmgr /sageset:1
cleanmgr /sagerun:1

For cleaning up system files quickly

Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase

How to shrink drive

"C:\Program Files\VMware\VMware Tools\VMwareToolboxCmd.exe" disk shrink C:\

For guest OS(Linux)

sudo vmware-toolbox-cmd disk shrink /