LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX
User Name
Password
Other *NIX This forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.

Notices


Reply
  Search this Thread
Old 12-27-2013, 01:43 PM   #1
nokangaroo
Member
 
Registered: Nov 2009
Posts: 141

Rep: Reputation: 25
Building avidemux-2.6.7 in Mac OS X Snow Leopard using Macports


How to build avidemux-2.6.7 in Mac OS X Snow Leopard using MacPorts



1. Uninstall any previous versions of avidemux and upgrade:
Code:
sudo port uninstall avidemux
sudo port selfupdate
sudo port upgrade outdated
2. Create local port repository:
Code:
sudo mkdir -p /Users/ports/multimedia/avidemux
sudo chown -R <yourusername>:staff /Users/ports
3. Edit /opt/local/etc/macports/sources.conf:
Code:
file:///Users/ports
rsync://rsync.macports.org/release/tarballs/ports.tar [default]
4. copy and modify the files:
Code:
cp /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/multimedia/avidemux/Portfile /Users/ports/multimedia/avidemux
cp -R /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/multimedia/avidemux/files /Users/ports/multimedia/avidemux
Modify the Portfile:
Code:
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 112717 2013-10-29 22:34:02Z devans@macports.org $

PortSystem                  1.0
PortGroup                   cmake 1.0
PortGroup                   app 1.0

name                        avidemux
version                     2.6.7
revision                    1
categories                  multimedia
platforms                   macosx
license                     GPL-2
maintainers                 nomaintainer
homepage                    http://avidemux.sourceforge.net/

description                 Avidemux is a free video editor.
long_description            Avidemux is a free video editor designed for simple cutting, \
                            filtering and encoding tasks. It supports many file types, \
                            including AVI, DVD compatible MPEG files, MP4 and ASF, using \
                            a variety of codecs. Tasks can be automated using projects, \
                            job queue and powerful scripting capabilities.

master_sites                sourceforge:project/avidemux/avidemux/${version}
distname                    avidemux_${version}

checksums                   rmd160  42080542aea07f91aa3e867f1c87b89dd6017910 \
                            sha256  d28202273d23be85c748c12d6e4df5e013bb861ea52b9bac7e0f90ba3d23249f

patchfiles                  patch-cmake-ffmpeg_make.sh.cmake.diff \
							myOwnMenu.h.diff

depends_build-append        port:pkgconfig \
                            port:yasm

depends_lib-append          port:qt4-mac

default_variants            +aac +gettext +lame +sqlite +twolame +x264

# no automatic configure step, everything is done inside build
use_configure               no
# only build with one job (otherwise it fails in avidemux_core)
use_parallel_build          no

configure.args-append       -DCMAKE_C_COMPILER=${configure.cc} \
                            -DCMAKE_C_FLAGS=${configure.cflags} \
                            -DCMAKE_CXX_COMPILER=${configure.cxx} \
                            -DCMAKE_CXX_FLAGS=${configure.cxxflags} \
                            -DFAKEROOT=${workpath}/destroot \
                            -DAVIDEMUX_SOURCE_DIR=${worksrcpath} \
                            -G \"Unix Makefiles\"

# some default settings
configure.args-append       -DSDL=OFF \
                            -DGTK=OFF -DQT4=ON
                            
# disable all options, enable them in variants
configure.args-append       -DFONTCONFIG=OFF -DFREETYPE2=OFF \
                            -DFRIDIBI=OFF \
                            -DGETTEXT=OFF \
                            -DALSA=OFF \
                            -DARTS=OFF \
                            -DESD=OFF \
                            -DJACK=OFF \
                            -DOSS=OFF \
                            -DPULSEAUDIOSIMPLE=OFF \
                            -DAFTEN=OFF \
                            -DDCAENC=OFF -DLIBDCA=OFF \
                            -DFAAC=OFF -DFAAD=OFF \
                            -DLAME=OFF \
                            -DLIBVORBIS=OFF -DVORBIS=OFF \
                            -DOPENCORE_AMRNB=OFF -DOPENCORE_AMRWB=OFF \
                            -DTWOLAME=OFF \
                            -DVPXDEC=OFF \
                            -DX264=OFF \
                            -DXVID=OFF

build {
    # mimic bootStrap.bash Process() behaviour
    proc process {work src module build extra} {
        # make build dir
        file mkdir ${work}/${build}
    
        # configure
        configure.post_args     ${extra} ${src}/${module}
        configure.dir           ${work}/${build}
        command_exec configure
        
        # build
        build.dir               ${work}/${build}
        command_exec build
        
        # install to destroot
        destroot.dir            ${work}/${build}
        command_exec destroot
    }

    # build avidemux core
    process ${workpath} ${worksrcpath} avidemux_core build_core ""
    # build avidemux GTK UI
    #process ${workpath} ${worksrcpath} avidemux/gtk build_gtk "-DCMAKE_EXE_LINKER_FLAGS=-Wl,-framework,Cocoa"
    # build avidemux QT UI
    process ${workpath} ${worksrcpath} avidemux/qt4 build_qt4 ""
    # build avidemux cli UI
    process ${workpath} ${worksrcpath} avidemux/cli build_cli ""
    # build common plugins
    process ${workpath} ${worksrcpath} avidemux_plugins build_pluginsCommon "-DPLUGIN_UI=COMMON -DCMAKE_CXX_COMPILER=${configure.cxx}"
    # build gtk plugins
    #process ${workpath} ${worksrcpath} avidemux_plugins build_pluginsGtk "-DPLUGIN_UI=GTK"
    # build QT plugins
    process ${workpath} ${worksrcpath} avidemux_plugins build_pluginsQt4 "-DPLUGIN_UI=QT4"
    # build cli plugins
    process ${workpath} ${worksrcpath} avidemux_plugins build_pluginsCli "-DPLUGIN_UI=CLI"
}

# destroot is handled by build
destroot {}

variant aac description {Support for faac/faad audio codecs} {
    depends_lib-append  port:faac
    depends_lib-append  port:faad2
    configure.args-strsed s/-DFAAC=OFF/-DFAAC=ON/
    configure.args-strsed s/-DFAAD=OFF/-DFAAD=ON/
}
variant amr description {Support for AMR speech audio codec} {
    depends_lib-append  port:opencore-amr
    configure.args-strsed s/-DOPENCORE_AMRNB=OFF/-DOPENCORE_AMRNB=ON/
    configure.args-strsed s/-DOPENCORE_AMRWB=OFF/-DOPENCORE_AMRWB=ON/
}
variant dts description {Support for DTS (libdca) audio codec} {
    depends_lib-append  port:libdca
    configure.args-strsed s/-DDCAENC=OFF/-DDCAENC=ON/
    configure.args-strsed s/-DLIBDCA=OFF/-DLIBDCA=ON/
}
variant esound description {Support for ESD audio device} {
    depends_lib-append  port:esound
    configure.args-strsed s/-DESD=OFF/-DESD=ON/
}
variant fribidi description {Support for FriBidi} {
    depends_lib-append  port:fribidi
    configure.args-strsed s/-DFRIDIBI=OFF/-DFRIDIBI=ON/
}
variant gettext description {Support for gettext} {
    depends_lib-append  port:gettext
    configure.args-strsed s/-DGETTEXT=OFF/-DGETTEXT=ON/
}
variant jack description {Support for Jack audio device} {
    depends_lib-append  port:jack
    configure.args-strsed s/-DJACK=OFF/-DJACK=ON/
}
variant lame description {Support for LAME audio codec} {
    depends_lib-append  port:lame
    configure.args-strsed s/-DLAME=OFF/-DLAME=ON/
}
variant sqlite description {Support for SQLite3} {
    depends_lib-append  port:sqlite3
}
variant truetype description {Support for FreeType2} {
    depends_lib-append  port:freetype
    depends_lib-append  port:fontconfig
    configure.args-strsed s/-DFREETYPE2=OFF/-DFREETYPE2=ON/
    configure.args-strsed s/-DFONTCONFIG=OFF/-DFONTCONFIG=ON/
}
variant twolame description {Support for TwoLAME audio codec} {
    depends_lib-append  port:twolame
    configure.args-strsed s/-DTWOLAME=OFF/-DTWOLAME=ON/
}
variant vorbis description {Support for Vorbis audio codec} {
    depends_lib-append  port:libvorbis
    configure.args-strsed s/-DVORBIS=OFF/-DVORBIS=ON/
    configure.args-strsed s/-DLIBVORBIS=OFF/-DLIBVORBIS=ON/
}
variant vpx description {Support for VP8 video codec} {
    depends_lib-append  port:libvpx
    configure.args-strsed s/-DVPXDEC=OFF/-DVPXDEC=ON/
}
variant x264 description {Support for x264 video codec} {
    depends_lib-append  port:x264
    configure.args-strsed s/-DX264=OFF/-DX264=ON/
}
variant xvid description {Support for XviD MPEG-4 video codec} {
    depends_lib-append  port:XviD
    configure.args-strsed s/-DXVID=OFF/-DXVID=ON/
}

# .app stuff
app.name        Avidemux-2.6.7
app.executable  avidemux
app.icon        avidemux_icon.png
Note that I added a patch that changes some shortcuts in order to be able to copy timestamps out of avidemux without excessive right-clicking. If you don't want that, delete the reference to myOwnMenu.h.diff in the "patchfiles" section. If you want the patch, paste the following into /Users/ports/multimedia/avidemux/files/myOwnMenu.h.diff:

myOwnMenu.h.diff:
Code:
--- avidemux/common/ADM_commonUI/myOwnMenu.h.orig	2013-05-01 12:28:17.000000000 +0200
+++ avidemux/common/ADM_commonUI/myOwnMenu.h	2013-12-27 01:03:43.000000000 +0100
@@ -33,7 +33,7 @@
 #ifdef MENU_DECLARE
 static const MenuEntry _myMenuFile[] = {
             {MENU_ACTION,QT_TRANSLATE_NOOP("adm","Open"),    NULL,ACT_OPEN_VIDEO,       MKICON(fileopen), "Ctrl+O"},
-            {MENU_ACTION,QT_TRANSLATE_NOOP("adm","Append"),  NULL,ACT_APPEND_VIDEO     ,NULL,             "Ctrl+A"},
+            {MENU_ACTION,QT_TRANSLATE_NOOP("adm","Append"),  NULL,ACT_APPEND_VIDEO     ,NULL,             "Shift+Ctrl+A"},
             {MENU_ACTION,QT_TRANSLATE_NOOP("adm","Save"),    NULL,ACT_SAVE_VIDEO       ,MKICON(filesaveas),"Ctrl+S"},
             {MENU_ACTION,QT_TRANSLATE_NOOP("adm","Queue"),   NULL,ACT_SAVE_QUEUE       ,NULL              ,"Ctrl+U"},
             {MENU_SUBMENU,QT_TRANSLATE_NOOP("adm","Save as Image"),    NULL,ACT_DUMMY    ,NULL,NULL},
@@ -53,10 +53,10 @@
 static const MenuEntry _myMenuEdit[] = {
             {MENU_ACTION,QT_TRANSLATE_NOOP("adm","Undo"),        NULL,ACT_Undo       ,NULL,"Ctrl+Z"},
             {MENU_ACTION,QT_TRANSLATE_NOOP("adm","Reset Edit"),  NULL,ACT_ResetSegments,NULL,NULL},
-            {MENU_ACTION,QT_TRANSLATE_NOOP("adm","Cut"),         NULL,ACT_Cut        ,NULL,"Ctrl+X"},
-            {MENU_ACTION,QT_TRANSLATE_NOOP("adm","Copy"),        NULL,ACT_Copy       ,NULL,"Ctrl+C"},
-            {MENU_ACTION,QT_TRANSLATE_NOOP("adm","Paste"),       NULL,ACT_Paste      ,NULL,"Ctrl+V"},
-            {MENU_ACTION,QT_TRANSLATE_NOOP("adm","Delete"),      NULL,ACT_Delete     ,NULL,"Delete"},
+            {MENU_ACTION,QT_TRANSLATE_NOOP("adm","Cut"),         NULL,ACT_Cut        ,NULL,"Shift+Ctrl+X"},
+            {MENU_ACTION,QT_TRANSLATE_NOOP("adm","Copy"),        NULL,ACT_Copy       ,NULL,"Shift+Ctrl+C"},
+            {MENU_ACTION,QT_TRANSLATE_NOOP("adm","Paste"),       NULL,ACT_Paste      ,NULL,"Shift+Ctrl+V"},
+            {MENU_ACTION,QT_TRANSLATE_NOOP("adm","Delete"),      NULL,ACT_Delete     ,NULL,"Ctrl+D"},
             {MENU_SEPARATOR,"-",NULL,ACT_DUMMY             ,NULL,NULL},
             {MENU_ACTION,QT_TRANSLATE_NOOP("adm","Set Marker A"),NULL,ACT_MarkA      ,NULL,"["},
             {MENU_ACTION,QT_TRANSLATE_NOOP("adm","Set Marker B"),NULL,ACT_MarkB      ,NULL,"]"},
5. Activate the repository:
Code:
cd /Users/ports
portindex
This will deactivate (but not delete) your existing port; it is possible to rename the local repository, but then fetching may not work; download avidemux_2.6.7.tar.gz manually and put it in /opt/local/var/macports/distfiles/<avidemux-renamed>.

6. Install:
Code:
sudo port -v install avidemux
7. Replace the link in /Applications/MacPorts/Avidemux-2.6.7.app/Contents/MacOS with an executable file that says:
Code:
#!/bin/sh
/opt/local/bin/avidemux
This will open avidemux correctly, with plugins and without a green Terminal.
 
Old 12-28-2013, 06:37 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Thanks for sharing that nfo.
Off the 0-reply list now.

(Maybe next time maybe consider turning it into a short tutorial?)
 
Old 01-01-2014, 07:04 PM   #3
nokangaroo
Member
 
Registered: Nov 2009
Posts: 141

Original Poster
Rep: Reputation: 25
Thanks, unSpawn. I posted the above in LinuxAnswers - with some additions, so it's not cross-posting. Hope that's what you meant.
 
Old 01-02-2014, 05:31 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Yes, thanks. Couldn't find it (yet) though, probably still is in the approval queue.
 
Old 01-03-2014, 02:55 PM   #5
nokangaroo
Member
 
Registered: Nov 2009
Posts: 141

Original Poster
Rep: Reputation: 25
Can't find the post either; maybe I misplaced it, or it got disapproved (it would be time-consuming to check anyway).

So I'm posting the additions, including a new one, here, cross-posting be damned.


Edit: I added some cosmetic patches to fix minor interface errors. The first four are trivial and fix typos. The seekablePreview.ui.diff fixes an error in the display of the effects preview window.

ADM_ffMpeg2.cpp.diff:
Code:
--- avidemux_plugins/ADM_videoEncoder/ffMpeg2/ADM_ffMpeg2.cpp.orig	2013-05-08 15:00:15.000000000 +0200
+++ avidemux_plugins/ADM_videoEncoder/ffMpeg2/ADM_ffMpeg2.cpp	2013-12-30 05:17:53.000000000 +0100
@@ -216,7 +216,7 @@
 };     
 diaMenuEntry threads[]={
   {0,QT_TRANSLATE_NOOP("ffmpeg2","One thread")},
-  {2,QT_TRANSLATE_NOOP("ffmpeg2","Two threads)")},
+  {2,QT_TRANSLATE_NOOP("ffmpeg2","Two threads")},
   {3,QT_TRANSLATE_NOOP("ffmpeg2","Three threads")},
   {99,QT_TRANSLATE_NOOP("ffmpeg2","Auto (#cpu)")}
 };
ADM_ffMpeg4.cpp.diff:
Code:
--- avidemux_plugins/ADM_videoEncoder/ffMpeg4/ADM_ffMpeg4.cpp.orig	2013-05-08 15:00:15.000000000 +0200
+++ avidemux_plugins/ADM_videoEncoder/ffMpeg4/ADM_ffMpeg4.cpp	2013-12-30 05:25:19.000000000 +0100
@@ -193,7 +193,7 @@
 };
 diaMenuEntry threads[]={
   {0,QT_TRANSLATE_NOOP("ffmpeg4","One thread")},
-  {2,QT_TRANSLATE_NOOP("ffmpeg4","Two threads)")},
+  {2,QT_TRANSLATE_NOOP("ffmpeg4","Two threads")},
   {3,QT_TRANSLATE_NOOP("ffmpeg4","Three threads")},
   {99,QT_TRANSLATE_NOOP("ffmpeg4","Auto (#cpu)")}
 };
muxerffPSPlugin.cpp.diff:
Code:
--- avidemux_plugins/ADM_muxers/muxerffPS/muxerffPSPlugin.cpp.orig	2013-12-06 07:33:08.000000000 +0100
+++ avidemux_plugins/ADM_muxers/muxerffPS/muxerffPSPlugin.cpp	2013-12-29 03:47:13.000000000 +0100
@@ -25,7 +25,7 @@
                     1,0,0,
                     "ffPS",    // Internal name
                     "ffMpeg PS muxer plugin (c) Mean 2009",
-                    "Mpeg-PS Muxer( ff)", // DIsplay name
+                    "Mpeg-PS Muxer (ff)", // Display name
                     ffPSConfigure,
                     ps_muxer_param, //template
                     &psMuxerConfig, //config
muxerffTSPlugin.cpp.diff:
Code:
--- avidemux_plugins/ADM_muxers/muxerffTS/muxerffTSPlugin.cpp.orig	2013-12-06 07:33:08.000000000 +0100
+++ avidemux_plugins/ADM_muxers/muxerffTS/muxerffTSPlugin.cpp	2013-12-29 04:01:10.000000000 +0100
@@ -25,7 +25,7 @@
                     1,0,1,
                     "ffTS",    // Internal name
                     "ffMpeg TS muxer plugin (c) Mean 2009",
-                    "Mpeg TS Muxer (ff)", // DIsplay name
+                    "Mpeg-TS Muxer (ff)", // Display name
                     ffTSConfigure,
                     ts_muxer_param, //template
                     &tsMuxerConfig, //config
seekablePreview.ui.diff (fixes incomplete display in effects preview window):
Code:
--- avidemux/qt4/ADM_userInterfaces/ADM_filters/seekablePreview.ui.orig  2013-12-06 07:33:08.000000000 +0100
+++ avidemux/qt4/ADM_userInterfaces/ADM_filters/seekablePreview.ui	2013-12-31 22:51:05.000000000 +0100
@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>441</width>
-    <height>378</height>
+    <width>525</width>
+    <height>384</height>
    </rect>
   </property>
   <property name="sizePolicy">
@@ -40,19 +40,6 @@
          </property>
         </widget>
        </item>
-       <item>
-        <spacer name="horizontalSpacer_3">
-         <property name="orientation">
-          <enum>Qt::Horizontal</enum>
-         </property>
-         <property name="sizeHint" stdset="0">
-          <size>
-           <width>40</width>
-           <height>20</height>
-          </size>
-         </property>
-        </spacer>
-       </item>
       </layout>
      </item>
      <item>
@@ -64,19 +51,6 @@
          </property>
         </widget>
        </item>
-       <item>
-        <spacer name="horizontalSpacer_2">
-         <property name="orientation">
-          <enum>Qt::Horizontal</enum>
-         </property>
-         <property name="sizeHint" stdset="0">
-          <size>
-           <width>40</width>
-           <height>20</height>
-          </size>
-         </property>
-        </spacer>
-       </item>
       </layout>
      </item>
      <item>
Edit: I added a workaround for the incomplete video display in the main video. This patch (besides some cosmetic changes) simply opens a large enough default window to open widescreen PAL video (which is probably the largest you'll get) without vertical resizing. That's a workaround, not a fix; for a fix I'd have to correct the display aspect ratio; I don't know how to do that (and it's probably a Qt issue, not an avidemux issue). If you want to use this patch, look at the result in Qt Designer first and see if you agree. I'm not familiar with Qt Designer, and not all my changes may be functional. The interface behaves in ways that I don't understand.

gui2.ui.diff:
Code:
--- avidemux/qt4/ADM_userInterfaces/ADM_gui/gui2.ui.orig	2013-12-06 07:33:08.000000000 +0100
+++ avidemux/qt4/ADM_userInterfaces/ADM_gui/gui2.ui	2014-01-02 20:17:04.000000000 +0100
@@ -7,8 +7,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>671</width>
-    <height>679</height>
+    <width>858</width>
+    <height>881</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -37,19 +37,13 @@
      <height>200</height>
     </size>
    </property>
-   <layout class="QHBoxLayout" name="horizontalLayout_3">
+   <layout class="QVBoxLayout" name="verticalLayout_10">
     <item>
      <layout class="QHBoxLayout" name="_10">
-      <property name="spacing">
-       <number>6</number>
-      </property>
-      <property name="margin">
-       <number>0</number>
-      </property>
       <item>
        <widget class="QFrame" name="frame_video">
         <property name="sizePolicy">
-         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+         <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
@@ -74,22 +68,6 @@
         </property>
        </widget>
       </item>
-      <item>
-       <spacer>
-        <property name="orientation">
-         <enum>Qt::Horizontal</enum>
-        </property>
-        <property name="sizeType">
-         <enum>QSizePolicy::Expanding</enum>
-        </property>
-        <property name="sizeHint" stdset="0">
-         <size>
-          <width>13</width>
-          <height>13</height>
-         </size>
-        </property>
-       </spacer>
-      </item>
      </layout>
     </item>
    </layout>
@@ -99,8 +77,8 @@
     <rect>
      <x>0</x>
      <y>0</y>
-     <width>671</width>
-     <height>21</height>
+     <width>858</width>
+     <height>22</height>
     </rect>
    </property>
    <widget class="QMenu" name="menuHelp">
@@ -283,33 +261,8 @@
          <property name="spacing">
           <number>0</number>
          </property>
-         <property name="margin">
-          <number>0</number>
-         </property>
-         <item>
-          <spacer>
-           <property name="orientation">
-            <enum>Qt::Horizontal</enum>
-           </property>
-           <property name="sizeType">
-            <enum>QSizePolicy::Fixed</enum>
-           </property>
-           <property name="sizeHint" stdset="0">
-            <size>
-             <width>12</width>
-             <height>0</height>
-            </size>
-           </property>
-          </spacer>
-         </item>
          <item>
           <layout class="QVBoxLayout" name="_6">
-           <property name="spacing">
-            <number>6</number>
-           </property>
-           <property name="margin">
-            <number>0</number>
-           </property>
            <item>
             <widget class="QLabel" name="labelVideoDecoder">
              <property name="text">
@@ -396,36 +349,11 @@
          <property name="spacing">
           <number>0</number>
          </property>
-         <property name="margin">
-          <number>0</number>
-         </property>
-         <item>
-          <spacer>
-           <property name="orientation">
-            <enum>Qt::Horizontal</enum>
-           </property>
-           <property name="sizeType">
-            <enum>QSizePolicy::Fixed</enum>
-           </property>
-           <property name="sizeHint" stdset="0">
-            <size>
-             <width>12</width>
-             <height>0</height>
-            </size>
-           </property>
-          </spacer>
-         </item>
          <item>
           <layout class="QVBoxLayout" name="_7" stretch="0,0,0">
-           <property name="spacing">
-            <number>6</number>
-           </property>
            <property name="sizeConstraint">
             <enum>QLayout::SetDefaultConstraint</enum>
            </property>
-           <property name="margin">
-            <number>0</number>
-           </property>
            <item>
             <widget class="QComboBox" name="comboBoxVideo">
              <property name="sizePolicy">
@@ -494,22 +422,6 @@
         </spacer>
        </item>
        <item>
-        <spacer name="verticalSpacer_9">
-         <property name="orientation">
-          <enum>Qt::Vertical</enum>
-         </property>
-         <property name="sizeType">
-          <enum>QSizePolicy::Fixed</enum>
-         </property>
-         <property name="sizeHint" stdset="0">
-          <size>
-           <width>20</width>
-           <height>6</height>
-          </size>
-         </property>
-        </spacer>
-       </item>
-       <item>
         <layout class="QHBoxLayout" name="horizontalLayout_2">
          <item>
           <widget class="QLabel" name="label_5">
@@ -543,40 +455,31 @@
         </layout>
        </item>
        <item>
+        <spacer name="verticalSpacer_13">
+         <property name="orientation">
+          <enum>Qt::Vertical</enum>
+         </property>
+         <property name="sizeType">
+          <enum>QSizePolicy::Fixed</enum>
+         </property>
+         <property name="sizeHint" stdset="0">
+          <size>
+           <width>20</width>
+           <height>6</height>
+          </size>
+         </property>
+        </spacer>
+       </item>
+       <item>
         <layout class="QHBoxLayout" name="AudioLayout">
          <property name="spacing">
           <number>0</number>
          </property>
-         <property name="margin">
-          <number>0</number>
-         </property>
-         <item>
-          <spacer>
-           <property name="orientation">
-            <enum>Qt::Horizontal</enum>
-           </property>
-           <property name="sizeType">
-            <enum>QSizePolicy::Fixed</enum>
-           </property>
-           <property name="sizeHint" stdset="0">
-            <size>
-             <width>12</width>
-             <height>0</height>
-            </size>
-           </property>
-          </spacer>
-         </item>
          <item>
           <layout class="QVBoxLayout" name="_8">
-           <property name="spacing">
-            <number>6</number>
-           </property>
            <property name="sizeConstraint">
             <enum>QLayout::SetDefaultConstraint</enum>
            </property>
-           <property name="margin">
-            <number>0</number>
-           </property>
            <item>
             <widget class="QComboBox" name="comboBoxAudio">
              <property name="sizePolicy">
@@ -626,15 +529,9 @@
            </item>
            <item>
             <layout class="QHBoxLayout" name="_9">
-             <property name="spacing">
-              <number>6</number>
-             </property>
              <property name="sizeConstraint">
               <enum>QLayout::SetDefaultConstraint</enum>
              </property>
-             <property name="margin">
-              <number>0</number>
-             </property>
              <item>
               <widget class="QCheckBox" name="checkBox_TimeShift">
                <property name="text">
@@ -681,7 +578,7 @@
         </layout>
        </item>
        <item>
-        <spacer name="verticalSpacer_13">
+        <spacer name="verticalSpacer_3">
          <property name="orientation">
           <enum>Qt::Vertical</enum>
          </property>
@@ -734,22 +631,6 @@
           <number>0</number>
          </property>
          <item>
-          <spacer>
-           <property name="orientation">
-            <enum>Qt::Horizontal</enum>
-           </property>
-           <property name="sizeType">
-            <enum>QSizePolicy::Fixed</enum>
-           </property>
-           <property name="sizeHint" stdset="0">
-            <size>
-             <width>12</width>
-             <height>0</height>
-            </size>
-           </property>
-          </spacer>
-         </item>
-         <item>
           <layout class="QVBoxLayout" name="verticalLayout_2">
            <property name="spacing">
             <number>6</number>
@@ -787,17 +668,17 @@
       </layout>
      </item>
      <item>
-      <spacer name="verticalSpacer_3">
+      <spacer name="verticalSpacer_2">
        <property name="orientation">
         <enum>Qt::Vertical</enum>
        </property>
        <property name="sizeType">
-        <enum>QSizePolicy::Expanding</enum>
+        <enum>QSizePolicy::MinimumExpanding</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>20</width>
-         <height>10</height>
+         <height>164</height>
         </size>
        </property>
       </spacer>
@@ -867,22 +748,6 @@
       </widget>
      </item>
      <item>
-      <spacer name="verticalSpacer_4">
-       <property name="orientation">
-        <enum>Qt::Vertical</enum>
-       </property>
-       <property name="sizeType">
-        <enum>QSizePolicy::MinimumExpanding</enum>
-       </property>
-       <property name="sizeHint" stdset="0">
-        <size>
-         <width>0</width>
-         <height>6</height>
-        </size>
-       </property>
-      </spacer>
-     </item>
-     <item>
       <layout class="QVBoxLayout" name="verticalLayout">
        <property name="spacing">
         <number>12</number>
@@ -895,9 +760,6 @@
          <property name="spacing">
           <number>0</number>
          </property>
-         <property name="margin">
-          <number>0</number>
-         </property>
          <item>
           <widget class="QToolButton" name="toolButtonPlay">
            <property name="text">
@@ -1158,12 +1020,6 @@
        </item>
        <item>
         <layout class="QHBoxLayout" name="_4">
-         <property name="spacing">
-          <number>6</number>
-         </property>
-         <property name="margin">
-          <number>0</number>
-         </property>
          <item>
           <widget class="QPushButton" name="pushButtonTime">
            <property name="text">
@@ -1181,7 +1037,7 @@
            </property>
            <property name="maximumSize">
             <size>
-             <width>84</width>
+             <width>96</width>
              <height>16777215</height>
             </size>
            </property>
@@ -1283,8 +1139,8 @@
    </property>
    <property name="minimumSize">
     <size>
-     <width>132</width>
-     <height>143</height>
+     <width>155</width>
+     <height>144</height>
     </size>
    </property>
    <property name="features">
@@ -1336,22 +1192,6 @@
       </widget>
      </item>
      <item>
-      <spacer name="verticalSpacer_2">
-       <property name="orientation">
-        <enum>Qt::Vertical</enum>
-       </property>
-       <property name="sizeType">
-        <enum>QSizePolicy::MinimumExpanding</enum>
-       </property>
-       <property name="sizeHint" stdset="0">
-        <size>
-         <width>0</width>
-         <height>6</height>
-        </size>
-       </property>
-      </spacer>
-     </item>
-     <item>
       <layout class="QVBoxLayout" name="verticalLayout_6">
        <property name="spacing">
         <number>9</number>
@@ -1369,43 +1209,27 @@
           <number>4</number>
          </property>
          <item row="1" column="0">
-          <spacer name="horizontalSpacer">
-           <property name="orientation">
-            <enum>Qt::Horizontal</enum>
-           </property>
-           <property name="sizeType">
-            <enum>QSizePolicy::Fixed</enum>
-           </property>
-           <property name="sizeHint" stdset="0">
-            <size>
-             <width>10</width>
-             <height>0</height>
-            </size>
-           </property>
-          </spacer>
-         </item>
-         <item row="1" column="1">
           <widget class="QLabel" name="label_2">
            <property name="text">
             <string>A:</string>
            </property>
           </widget>
          </item>
-         <item row="2" column="1">
+         <item row="2" column="0">
           <widget class="QLabel" name="label_9">
            <property name="text">
             <string>B:</string>
            </property>
           </widget>
          </item>
-         <item row="1" column="2">
+         <item row="1" column="1">
           <widget class="QPushButton" name="pushButtonJumpToMarkerA">
            <property name="text">
             <string>000000</string>
            </property>
           </widget>
          </item>
-         <item row="2" column="2">
+         <item row="2" column="1">
           <widget class="QPushButton" name="pushButtonJumpToMarkerB">
            <property name="text">
             <string>000000</string>
@@ -1494,7 +1318,7 @@
      <item>
       <widget class="QSlider" name="horizontalSlider_2">
        <property name="sizePolicy">
-        <sizepolicy hsizetype="Fixed" vsizetype="Minimum">
+        <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Mac OS X 10.6.3 Snow Leopard / VirtualBox / Slackware slackass Slackware 4 12-30-2012 11:14 PM
[SOLVED] Building bombono-dvd in Mac OS X Snow Leopard nokangaroo Other *NIX 2 09-03-2012 04:07 PM
How to Install Mac OS X Snow Leopard in VirtualBox on Linux 9876543210 Other *NIX 5 11-15-2010 03:26 PM
[SOLVED] Permissions between Mac OS X Snow Leopard and Linux Ubuntu 9.10 riganta Linux - Desktop 11 03-17-2010 06:35 PM
LXer: Snow Leopard on a Mac without a Mac motherboard LXer Syndicated Linux News 1 01-12-2010 01:28 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX

All times are GMT -5. The time now is 04:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration