ffmpeg kubuntu 14.04 compile


here it is my own stuff ==>

dependecies

sudo apt-get build-dep libav-tools  ;  sudo apt-get install build-essential git libopencore-amrnb-dev libopencore-amrwb-dev libopenjpeg-dev libx264-dev libxvidcore-dev libx264-dev libopenjpeg-dev libasound2-dev libdc1394-22-dev libgsm1-dev libimlib2-dev libraw1394-dev libsdl1.2-dev libschroedinger-dev libspeex-dev libtheora-dev libvorbis-dev libx11-dev libxext-dev libxvmc-dev quilt texi2html zlib1g-dev libfaad-dev libdirac-dev libfaac-dev libmp3lame-dev frei0r-plugins-dev libdirac-dev libfaac-dev ;sudo apt-get install libass-dev libbluray-dev libfontconfig1-dev libmodplug-dev librtmp-dev libv4l-dev libvo-aacenc-dev libvo-amrwbenc-dev libass-dev libbluray-dev libmodplug-dev libssl-dev libquvi-dev libsoxr-dev libssh-dev libtwolame-dev libvo-aacenc-dev libwavpack-dev libzmq3-dev libzvbi-dev libopenal-dev libgme-dev libsmbclient-dev libwebp-dev libxcb-*
cd /home/shared/git ; git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg-$(date +"%m-%d-%y");cd  ffmpeg-$(date +"%m-%d-%y")

then this will configure ffmpeg to be installed in USR/LOCAL SO YOU CAN INSTALL IN YOUR SYSTEM WITHOUT DESTROY YOUR DISTRO but remember you will do this to your own risk

 ./configure --prefix=/usr/local  --enable-gpl --enable-version3 --enable-nonfree --enable-small --enable-gray --enable-avresample --enable-vda --enable-fontconfig --enable-frei0r --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libcaca --enable-libcdio --enable-libdc1394 --enable-libfaac --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libquvi --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libv4l2 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-openal --enable-openssl --enable-x11grab  --enable-thumb --enable-extra-warnings --enable-ftrapv 

to extract every enable stuff you can try this

 ./configure --prefix=/usr/local   $(./configure --help|sort -r | awk  '/enable/{ print $1} END{printf "\n"}' | awk  '!/[A-Z]/ && !/avisynth/ && !/shared/ && !/poison/ && !/incompa/ && !/random/ && !/test/ && !/cross-compile/ && !/memalign-hack/ &&!/deck/ && !/libiec/ && !/libaacplus/ && !/libcelt/ && !/libflite/ && !/libilbc/ && !/libnut/ && !/opencv/ && !/shine/ && !/libstagefright/ && !/utvideo/ && !/vidstab/ && !/x265/ && !/libxavs/ && !/opencl/ && !/-rpath/ && !/ftrapv/ && !/hardcoded/ && !/major/ && !/libfdk-aac/ && !/opengl/ && !/enable-pic/ && !/enable-lto/ && !/small/ && !/gray/{print }'|awk -v ORS=" " '{print $1} END {printf "\n"}'

android mouse wifi ? “kde connect” 0.7.2 kubuntu 14.04


Screenshot_2014-09-06-10-32-08

ok this shit doesn’t work on kubuntu 14.04 ?

install this in your phone

https://play.google.com/store/apps/details?id=org.kde.kdeconnect_tp

now the problem it’s this
i have kubuntu 14.04 and it comes with Version: 0.5.1-0ubuntu1 for kde connect that has a bad bug : mouse simulation doesn’t work “Touchpad with multi-touch support for right click and middle click.”

so now just download the new version 0.7.2 and i will compile it

http://download.kde.org/unstable/kdeconnect/0.7.2/src/kdeconnect-kde-0.7.2.tar.xz

this line does the job for you

sudo apt-get build-dep kdeconnect #download dependencies

download , untar , cmake ,make and make instal in /usr/local with multicore support if you have . files are in /tmp folder

tempfolder="/tmp"; link="http://download.kde.org/unstable/kdeconnect/0.7.2/src/kdeconnect-kde-0.7.2.tar.xz"; cd "$tempfolder" ; wget $link ; tar -xJf kdeconnect*.xz ; cd kdeconnect*/; mkdir build ;cd build ;  cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/local .. ; make -j $(grep -c ^processor /proc/cpuinfo) ; sudo make install

then restart the kdeconnectd ,ALT F2 => pkill kdeconnectd ; kdeconnectd

now make sure you have the touchpad option in systemsettings => kde connect =>
kdeconnecttouchpad

ok now you have the wifi mouse in your android phone.

skanlite doesn’t save settings 600 dpi *_*


Skanlite doesn’t save settings at least until now, because after i have report the bug…and i have doen my own application ….

we get a git version that saves settings!!!

well my application include a printing menu but at least now skanlite has the base feature requested from a scanner gui.

How to compile

AS ALWAYS… THIS ARTICLE IS NOT MADE FOR NOOBS.. Please don’t try this at home 😀

Today i am on kubuntu with kde 4.6.1 so … i have fresh stuff …. you have to install dependeces

sudo apt-get build-dep skanlite

get the source

 git clone git://anongit.kde.org/skanlite.git 

now compile with NOTE DUAL CORE CAN USE make -j3 instead only core computer must use : make

 mkdir build ; cd build ; cmake .. ; make -j3 

then if you want test :

 src/./skanlite 

if you prefer create deb package : *NOTE dependeces are not so right xD but it works here on my computer.. with kde 4.6.1 and version 11.04 alpha3*

 git clone git://anongit.kde.org/skanlite.git   

Now you have to add these lines to cmakelist.txt

  
SET(MAJOR_VERSION 0)
SET(MINOR_VERSION 8 )
SET(PATCH_VERSION 0)

IF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
INCLUDE(InstallRequiredSystemLibraries)

SET(CPACK_SET_DESTDIR "on")
SET(CPACK_PACKAGING_INSTALL_PREFIX "/tmp")
SET(CPACK_GENERATOR "DEB")

SET(CPACK_PACKAGE_DESCRIPTION "scanner interface for kde4")
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Skanlite is an image scanner application for KDE 4.")
SET(CPACK_PACKAGE_VENDOR "Vendor")
SET(CPACK_PACKAGE_CONTACT "Kåre Särs")
SET(CPACK_PACKAGE_VERSION_MAJOR "${MAJOR_VERSION}")
SET(CPACK_PACKAGE_VERSION_MINOR "${MINOR_VERSION}")
SET(CPACK_PACKAGE_VERSION_PATCH "${PATCH_VERSION}")
SET(CPACK_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}_${MAJOR_VERSION}.${MINOR_VERSION}.${CPACK_PACKAGE_VERSION_PATCH}")
SET(CPACK_SOURCE_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}_${MAJOR_VERSION}.${MINOR_VERSION}.${CPACK_PACKAGE_VERSION_PATCH}")

SET(CPACK_DEBIAN_PACKAGE_DEPENDS "kdebase-runtime (>= 4:4.2.1), kdelibs5 (>= 4:4.2.1), libc6 (>= 2.1.3), libgcc1 (>= 1:4.1.1), libplasma3, libqt4-dbus (>= 4.5.0), libqtcore4 (>= 4.5.0), libqtgui4 (>= 4.5.0), libstdc++6 (>= 4.2.1)")

SET(CPACK_DEBIAN_PACKAGE_PRIORITY "extra")
SET(CPACK_DEBIAN_PACKAGE_SECTION "kde")
SET(CPACK_DEBIAN_ARCHITECTURE ${CMAKE_SYSTEM_PROCESSOR})

SET(CPACK_COMPONENTS_ALL Libraries ApplicationData)
INCLUDE(CPack)

ENDIF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")

now with the mo

 

you should get this message


kanlite/build$ cpack ..
CPack: Create package using DEB
CPack: Install projects
CPack: - Run preinstall target for: skanlite
CPack: - Install project: skanlite
CPack: Create package
CPack: - package: /tmp/skanlite/build/skanlite_0.8.0.deb generated.

now to install the package:

sudo  dpkg -i skanlite_0.8*