Main Page: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
http://www.apple.com/aperture/iphoto-to-aperture/how.html | |||
== | Woodworking | ||
* [//www. | |||
* [//www. | http://www.woodworkingcentreshop.co.uk/acatalog/Triton_Spares_Workcentre_Series_2000.html | ||
* [https:// | |||
House | |||
http://www.bricksandbrass.co.uk/diy_by_element/internal_wall/party_wall_act.php | |||
http://idostuff.co.uk/blogs/ | |||
http://roomuptop.blogspot.co.uk/ | |||
Plex | |||
http://192.9.200.122:32400/manage/index.html | |||
http://forums.plexapp.com/index.php/forum/76-apple-tv-2nd-gen/ | |||
[[Henry]] | |||
https://monkey:1661 | |||
Ubuntu 11.10 webserver - choose OpenSSH + LAMP and then install webalizer + awstats + phpmyadmin | |||
http://www.howtoforge.com/perfect-server-ubuntu-11.10-ispconfig-3-p6 | |||
http://www.howtoforge.com/the-perfect-media-server-ubuntu-11.10-sabnzbd-sickbeard-couch-potato-headphones-serviio-p3 | |||
http://ubuntuportal.com/how-to-get-an-canon-canoscan-lide-100-scanner-to-work-in-ubuntu-11-10linux-mint-12/ | |||
http://forums.plexapp.com/index.php/forum/76-apple-tv-2nd-gen/ | |||
http://code.google.com/edu/languages/google-python-class/strings.html | |||
SunRay | |||
http://wiki.sun-rays.org/index.php/How_To_Section#Solaris_11 | |||
http://www.eecis.udel.edu/~bmiller/blog/2010/04/05/windows-connector-and-grub-like-menu-for-sun-rays/ | |||
https://blogs.oracle.com/mplona/entry/customized_sun_ray_kiosk_sessions | |||
# First check the current policy on the server | |||
root@vdiserver:# /opt/SUNWut/sbin/utpolicy | |||
# Current Policy: | |||
-a -z both -k both -m -u pseudo | |||
# Change the policy (-u both) to accept card and non-card OVDC sessions | |||
root@vdiserver:# /opt/SUNWut/sbin/utpolicy -a -z both -k both -m -u both | |||
# Restart authentication manager (needed for policy change) | |||
root@vdiserver:# /opt/SUNWut/sbin/utrestart -c | |||
NZB Downloaders | |||
* https://192.9.200.17:9090/sabnzbd/ -> SABNZBD Monkey | |||
* http://192.9.200.17:8081/home/ -> SICKBEARD Monkey | |||
* Couch Potato -> http://couchpota.to/ | |||
* Sick Beard -> http://www.sickbeard.com/ | |||
* Crash Plan - online backup -> https://www.crashplan.com | |||
* compiler detective -> http://blogs.oracle.com/timc/entry/the_compiler_detective_what_compiler | |||
* BMW OEM Parts Catalog -> http://www.realoem.com/bmw/showparts.do?model=HG82&mospid=47396&btnr=17_0108&hg=17&fg=05&lang=en | |||
* Bimmerforums -> http://www.bimmerforums.co.uk/forum/f19/ | |||
* BMW 5 Series Owners Forum -> http://forum.bmw5.co.uk/ | |||
* shower stuff -> http://www.showerdoc.co.uk/forum/phpBB3/ | |||
* extending wireless network -> http://www.unix.ms/netgear/ | |||
* veggie box recipes -> http://www.vegbox-recipes.co.uk | |||
Sigma 50-500 review -> http://www.bobatkins.com/photography/reviews/sigma_50-500_os_hsm_review.html | |||
turning off macosx indexing | |||
Example: to stop and prohibit indexing on a volume named Backup Drive you would issue one of the following commands: | |||
sudo mdutil -i off /Volumes/Backup\ Drive | |||
sudo mdutil -i off "/Volumes/Backup Drive" | |||
Chilli oil recipe -> http://www.thechilliking.com/chilli-oil-recipe/ | |||
Living life to the full -> https://www.llttf.com/index.php?section=page&page_seq=12 | |||
Mencoder command line stuff -> https://wiki.archlinux.org/index.php/MEncoder | |||
Samsung warrant checker -> http://www.samsunghddvalue.com/WebRMA/WarrantyCheck/endUserWarrantychecker.aspx | |||
http://blog.sudobits.com/2011/10/30/best-applications-and-tweaks-for-ubuntu-11-10/ | |||
https://trac.handbrake.fr/wiki/CLIGuide | |||
todo | |||
[[Setting up PLEX on Ubuntu]] | |||
To create and send snapshots via zfs use: | |||
zfs snapshot -r rpool@today | |||
zfs send -R rpool@today | zfs receive -F -d rpool2 | |||
* Sort out squeezebox for itunes. | |||
* http://jake-tm.co.uk/?page_id=259 - DGTeam Mirror | |||
* [[http://righthook.us.oracle.com:10000/en/catalog.shtml?action=Refresh][Righthook IPS repository (OWAN)]] | |||
* [[http://paperjammed.com/2011/03/01/export-itunes-playlists-to-a-non-itunes-world/][Exporting iTunes playlists to a non-itunes world]] | |||
* [[http://forums.slimdevices.com/showthread.php?p=625874][One iTunes/Slimserver playlist won't work]] | |||
* [[http://www.logiqwest.com/dataCenter/Demos/RunBooks/DNS/DNSsetup.html][Setting up a DNS server]] | |||
* [[http://www.unix.ms/netgear/][Extending the netgear wireless network]] | |||
* [[http://www.youtube.com/watch?v=QbikRPz0FkA][Kata Practice - 2011-05-10 ]] | |||
* [[http://extricate.org/2009/04/10/transparent-web-proxying-ubuntu-dg834g-squid/][Transparent Web Proxying Ubuntu DG834G]] | |||
* [[http://www.skyuser.co.uk/forum/technical-discussion/20727-community-updates-dg834gt-6.html][Community Sky DG834GT Updates]] | |||
* [[http://forums.digitalspy.co.uk/showthread.php?t=508793][Netgear DG834GT Router Tweak]] | |||
* [[http://www.kitz.co.uk/routers/dg834GT_targetsnr.htm][Netgear DG834GT & DG834 v4- Override Target SNR]] | |||
* [[http://www.siteguru.co.uk/be/netgear/][Netgear Router Firmware Downloads]] | |||
* [[http://wiki.genunix.org:8080/wiki/index.php/Implementing_vscan_service_with_ClamAV_on_ZFS][Implementing vscan service with ClamAV on ZFS]] | |||
* [[http://www.sunwfrk.com/2009/04/19/zfs-with-on-access-virus-scan/][OpenSolaris 2008.11 ZFS with ‘on access’ virus scan]] | |||
* [[http://www.redwoodsproperty.co.uk/propinfo.asp?Pid=55181&content=Terraced%20SOUTH%20VIEW%20BASINGSTOKE%20HAMPSHIRE%20Bedrooms:2%20Situated%20close%20to%20Main%20Line%20Railway%20Station%20and%20Town%20Centre%20making%20this%20property%20ideal%20for%20commuting][Phoenix Park Terrace Property for Sale]] | |||
* [[http://www.norfolk-greenhouses.co.uk/shop/shop-infopage.php?longref=82~0][Greenhouse we would like]] | |||
* Installing HandBrakeCLI | |||
https://trac.handbrake.fr/browser/trunk/doc/BUILD-Linux | |||
./configure --prefix=/opt/hand --disable-gtk --force --launch --launch-jobs=0 | |||
vi $SRC/contrib/fontconfig/module.defs | |||
change: | |||
# | |||
# Under MinGW: | |||
# | |||
# - A 'i386-ming32-gcc' $(FONTCONFIG.GCC.gcc) command will be available, | |||
# and the '-arch <arch>' argument should be omitted, as it will confuse this compiler. | |||
# | |||
# - The $(FONTCONFIG.GCC.archs) variable is not set. | |||
# Therefore statically guess the target arch to be i386. | |||
# | |||
ifeq ($(BUILD.system),mingw) | |||
FONTCONFIG.cc_archoption = | |||
FONTCONFIG.config_archoption = --with-arch=i386 | |||
else ifeq ($(BUILD.system),linux) | |||
FONTCONFIG.cc_archoption = | |||
else | |||
FONTCONFIG.cc_archoption = | |||
FONTCONFIG.config_archoption = --with-arch=i386 | |||
endif | |||
cd $SRC/contrib/x264/ | |||
mv P01-solaris.patch P01-solaris | |||
./configure --prefix=/opt/hand --disable-gtk | |||
make contrib.fetch | |||
make contrib.extract | |||
make contrib.patch | |||
libass-0.9.13.tar.gz | |||
libiconv-1.13.1.tar.gz | |||
download build autoconf & automake | |||
vi /jack/HandBrake-0.9.6/contrib/x264/module.defs | |||
add --disable-asm: | |||
X264.CONFIGURE.extra += --disable-gpac --disable-avs --disable-lavf --disable-ffms --disable-swscale --disable-asm | |||
cp libiconv-1.13.1.tar.gz /jack/HandBrake-0.9.6/build/contrib/libiconv | |||
cp libass-0.9.13.tar.gz /jack/HandBrake-0.9.6/build/contrib/libass | |||
libavcodec | |||
vi /jack/HandBrake-0.9.6/contrib/ffmpeg/module.defs | |||
FFMPEG.CONFIGURE.extra = \ | |||
add | |||
--disable-ssse3 | |||
For others looking at the same issue: | |||
We hashed this issue out off-list, using | |||
configure CC='gcc -m64' | |||
works, just | |||
configure CFLAGS=-m64 | |||
ln -s /usr/bin/libtool . | |||
For some packages, you seem to also run into trouble where libtool can't figure out what you're doing: | |||
$ libtool --mode=compile target-gcc -g -O2 -c foo.c | |||
libtool: compile: unable to infer tagged configuration | |||
libtool: compile: specify a tag with `--tag' | |||
OK, so it couldn't figure out that we're compiling C code. No problem, just add the tag --tag=CC. Works when we compile: | |||
* [[http://stupidpupil.co.uk/opensolaris/handbrake/compile/][Compiling HandBrake on OpenSolaris]] | |||
* [[http://www.nexenta.org/boards/1/topics/1340][Compiling Handbrake CLI on Nexenta]] | |||
* [[https://riebart.ca/w/index.php?title=User:Mike&oldid=411#Compiling_and_installing_ffmpeg_on_Solaris_.28git_.29][Compiling and installing ffmpeg on Solaris]] | |||
make install fails with strange "cycle detected" errors from find and a "libavdevice.a was not found anywhere!" | |||
* This is because it is trying to use /usr/sbin/install which appears to be broken, or at least incompatible with GNU install. | |||
* Solve this by symlinking /usr/bin/ginstall to /use/bin/install (if /usr/bin is before /usr/sbin in the PATH). Essentially, get it to use ginstall instead and it works dandy. | |||
To install linux guest additions on Ubuntu, you need to add: | |||
sudo apt-get install dkms | |||
before hand. | |||
to manually build the vb module: | |||
/etc/init.d/vboxadd setup | |||
* Getting plex server installed in ubuntu | |||
apt-get install ia32-libs | |||
sudo apt-get install portmap nfs-common | |||
http://forums.plexapp.com/index.php/forum/85-plex-media-server-for-linux/ | |||
http://192.9.200.145:32400/manage/index.html | |||
http://www.plexapp.com/linux/linux-pms-download.php | |||
Instructions | |||
• Uncompress and untar the package. | |||
• Enter the directory that is created. | |||
• Run the start.sh script. | |||
• For Bonjour discoverability, install and run Avahi. | |||
• Fire up a web browser and point it to http://localhost:32400/manage | |||
* HandBrakeCLI ubuntu | |||
Install restricted software: | |||
sudo apt-get install ubuntu-restricted-extras | |||
sudo apt-get install libdvdread4 | |||
sudo /usr/share/doc/libdvdread4/install-css.sh | |||
root@ubuntu:~# apt-get install python-software-properties | |||
Reading package lists... Done | |||
Building dependency tree | |||
Reading state information... Done | |||
The following NEW packages will be installed | |||
python-software-properties | |||
0 upgraded, 1 newly installed, 0 to remove and 48 not upgraded. | |||
Need to get 19.7 kB of archives. | |||
After this operation, 221 kB of additional disk space will be used. | |||
Get:1 http://gb.archive.ubuntu.com/ubuntu/ natty/main python-software-properties all 0.80.9 [19.7 kB] | |||
Fetched 19.7 kB in 0s (128 kB/s) | |||
Selecting previously deselected package python-software-properties. | |||
(Reading database ... 47715 files and directories currently installed.) | |||
Unpacking python-software-properties (from .../python-software-properties_0.80.9_all.deb) ... | |||
Processing triggers for man-db ... | |||
Setting up python-software-properties (0.80.9) ... | |||
Processing triggers for python-central ... | |||
root@ubuntu:~# add-apt-repository ppa:stebbins/handbrake-releases | |||
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80/ --recv 43D3A9F60C58A7169778E6FB8771ADB0816950D8 | |||
gpg: requesting key 816950D8 from hkp server keyserver.ubuntu.com | |||
gpg: key 816950D8: public key "Launchpad HandBrake Snapshots" imported | |||
gpg: Total number processed: 1 | |||
gpg: imported: 1 (RSA: 1) | |||
https://edge.launchpad.net/~stebbins/+archive/handbrake-releases | |||
* Joining multiple avis together | |||
sudo apt-get install mencoder mplayer | |||
cat b1.avi b2.avi b3.avi b4.avi b5.avi b6.avi b7.avi > bloodspell.avi | |||
mencoder -forceidx -oac copy -ovc copy bloodspell.avi.avi -o bloodspell_final.avi | |||
http://www.neuhalfen.name/2011/10/15/MPlayer_On_Solaris11/ | |||
mplayer rebuild for Solaris 11: | |||
http://www.neuhalfen.name/2011/10/15/MPlayer_On_Solaris11/ | |||
build 32bits otherwise mplayer vd_codec will complain. | |||
libmad | |||
a52dec | |||
libdca | |||
xvidcore | |||
faac | |||
x264 ./configure --enable-pic --disable-asm --enable-shared --prefix=/opt/x264 | |||
lame | |||
depend fmri=pkg:/developer/gcc/[email protected] type=require | |||
depend fmri=pkg:/[email protected] type=require | |||
depend fmri=pkg:/[email protected] type=require | |||
depend fmri=pkg:/[email protected] type=require | |||
depend fmri=pkg:/[email protected] type=require | |||
depend fmri=pkg:/[email protected] type=require | |||
depend fmri=pkg:/MBLx264@20100125 type=require | |||
depend fmri=pkg:/[email protected] type=require | |||
a52dec-0.7.4 | |||
faac-1.28 | |||
faad2-2.7 | |||
lame-3.99 | |||
libdca-0.0.5 | |||
libmad-0.15.1b | |||
x264 | |||
xvidcore | |||
libmad: | |||
remove -fforce-mem from CFLAGS | |||
MPlayer-1.0rc2 | |||
xvid fix -> http://seriouswebapps.com/installing-xvid-122-on-opensolaris | |||
cd /src | |||
tar xzf xvidcore-1.2.2.tar.gz && cd xvidcore/build/generic | |||
CFLAGS=$( find -L /my -type d -name include -exec echo "-I{} " \; | grep -v "[.][0-9]" | grep -v "pth" | tr -d '\n' ) \ | |||
CPPFLAGS=$( find -L /my -type d -name include -exec echo "-I{} " \; | grep -v "[.][0-9]" | grep -v "pth" | tr -d '\n' ) \ | |||
LDFLAGS=$( find -L /my -type d -name lib -exec echo "-L{} -R{} " \; | grep -v "[.][0-9]" | tr -d '\n' ) \ | |||
CC=gcc \ | |||
./configure --prefix=/my/xvidcore-1.2.2 >>mylog.txt | |||
# modify line 133 in Makefile, replace "$(CC)" with "/bin/ld" | |||
vi Makefile | |||
# modify line 48 in platform.inc, to read | |||
SPECIFIC_LDFLAGS=-h libxvidcore.$(SHARED_EXTENSION).$(API_MAJOR) -B dynamic -shared -M libxvidcore.ld -lc -lm -lpthread | |||
vi platform.inc | |||
gmake all >>mylog.txt && su | |||
gmake install >>mylog.txt | |||
ln -s /my/xvidcore-1.2.2 /my/xvidcore | |||
ln -s libxvidcore.so.4.2 /my/xvidcore-1.2.2/lib/libxvidcore.so | |||
ln -s /my/xvidcore/lib/* /usr/lib/ | |||
ln -s /my/xvidcore/include/* /usr/include/ | |||
exit | |||
Package Building | |||
pkgsend generate root > MANIFEST.files | |||
root@monkey:/opt/package/a52dec# more MANIFEST.files | |||
# [email protected], client release 5.11 | |||
set name=pkg.description value="ATSC A/52 stream decoder" | |||
set name=pkg.fmri value="pkg:/[email protected],0.5.11-0.0.0" | |||
set name=pkg.name value="ATSC A/52 stream decoder" | |||
set name=description value="ATSC A/52 stream decoder" | |||
set name=info.maintainer value="Andy Harrison ([email protected])" | |||
dir group=bin mode=0755 owner=root path=usr | |||
<snip> | |||
pkgsend publish -s /export/repo/misc/stormsail -d root test | |||
root@monkey:/opt/package/libdca# more trans | |||
<transform file dir -> default owner root> | |||
<transform file dir -> default group bin> | |||
<transform file -> default mode 0644> | |||
<transform dir -> default mode 0755> | |||
root@monkey:/opt/package/libdca# pkgmogrify -I . -O test MANIFEST.files trans | |||
root@monkey:/export/build/MPlayer-1.0rc4#./configure --prefix=/opt/test --extra-ldflags="-lm" | |||
root@monkey:/export/build/MPlayer-1.0rc4# | |||
There is a bug in the latest SVN source as you end up with an error like this: | |||
gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg -I/usr/X11/include -I/usr/include/freetype2 -c -o libao2/ao_sun.o libao2/ao_sun.c | |||
libao2/ao_sun.c: In function 'realtime_samplecounter_available': | |||
libao2/ao_sun.c:161:35: error: 'MSGTR_AO_SUN_RtscWriteFailed' undeclared (first use in this function) | |||
libao2/ao_sun.c:161:35: note: each undeclared identifier is reported only once for each function it appears in | |||
gmake: *** [libao2/ao_sun.o] Error 1 | |||
Essentially MSGTR_AO_SUN_RtscWriteFailed hasn't been defined...... so let's find in out of an older release and add the following to help_mp.h: | |||
#define MSGTR_AO_SUN_RtscWriteFailed "[AO SUN] rtsc: write failed.\n" | |||
Mplayer doesn't like the default video out mode (I suspect due to my Nvidia card) but seems to work ok for -vo gl2. I've therefore added the following to my .mplayer/config: | |||
hippy@monkey:~$ more .mplayer/config | |||
# Write your default config options here! | |||
vo=gl2 | |||
* http://mailman.videolan.org/pipermail/x264-devel/2012-January/008959.html -> Patch for x264 using Solaris Compilers |
Revision as of 10:22, 27 April 2012
http://www.apple.com/aperture/iphoto-to-aperture/how.html
Woodworking
http://www.woodworkingcentreshop.co.uk/acatalog/Triton_Spares_Workcentre_Series_2000.html
House
http://www.bricksandbrass.co.uk/diy_by_element/internal_wall/party_wall_act.php
http://idostuff.co.uk/blogs/ http://roomuptop.blogspot.co.uk/
Plex
http://192.9.200.122:32400/manage/index.html
http://forums.plexapp.com/index.php/forum/76-apple-tv-2nd-gen/
Ubuntu 11.10 webserver - choose OpenSSH + LAMP and then install webalizer + awstats + phpmyadmin
http://www.howtoforge.com/perfect-server-ubuntu-11.10-ispconfig-3-p6
http://forums.plexapp.com/index.php/forum/76-apple-tv-2nd-gen/
http://code.google.com/edu/languages/google-python-class/strings.html
SunRay
http://wiki.sun-rays.org/index.php/How_To_Section#Solaris_11
https://blogs.oracle.com/mplona/entry/customized_sun_ray_kiosk_sessions
# First check the current policy on the server root@vdiserver:# /opt/SUNWut/sbin/utpolicy # Current Policy: -a -z both -k both -m -u pseudo
# Change the policy (-u both) to accept card and non-card OVDC sessions root@vdiserver:# /opt/SUNWut/sbin/utpolicy -a -z both -k both -m -u both
# Restart authentication manager (needed for policy change) root@vdiserver:# /opt/SUNWut/sbin/utrestart -c
NZB Downloaders
* https://192.9.200.17:9090/sabnzbd/ -> SABNZBD Monkey * http://192.9.200.17:8081/home/ -> SICKBEARD Monkey * Couch Potato -> http://couchpota.to/ * Sick Beard -> http://www.sickbeard.com/
* Crash Plan - online backup -> https://www.crashplan.com
* compiler detective -> http://blogs.oracle.com/timc/entry/the_compiler_detective_what_compiler
* BMW OEM Parts Catalog -> http://www.realoem.com/bmw/showparts.do?model=HG82&mospid=47396&btnr=17_0108&hg=17&fg=05&lang=en * Bimmerforums -> http://www.bimmerforums.co.uk/forum/f19/ * BMW 5 Series Owners Forum -> http://forum.bmw5.co.uk/
* shower stuff -> http://www.showerdoc.co.uk/forum/phpBB3/ * extending wireless network -> http://www.unix.ms/netgear/ * veggie box recipes -> http://www.vegbox-recipes.co.uk
Sigma 50-500 review -> http://www.bobatkins.com/photography/reviews/sigma_50-500_os_hsm_review.html
turning off macosx indexing
Example: to stop and prohibit indexing on a volume named Backup Drive you would issue one of the following commands:
sudo mdutil -i off /Volumes/Backup\ Drive sudo mdutil -i off "/Volumes/Backup Drive"
Chilli oil recipe -> http://www.thechilliking.com/chilli-oil-recipe/
Living life to the full -> https://www.llttf.com/index.php?section=page&page_seq=12
Mencoder command line stuff -> https://wiki.archlinux.org/index.php/MEncoder
Samsung warrant checker -> http://www.samsunghddvalue.com/WebRMA/WarrantyCheck/endUserWarrantychecker.aspx
http://blog.sudobits.com/2011/10/30/best-applications-and-tweaks-for-ubuntu-11-10/
https://trac.handbrake.fr/wiki/CLIGuide
todo
To create and send snapshots via zfs use:
zfs snapshot -r rpool@today zfs send -R rpool@today | zfs receive -F -d rpool2
* Sort out squeezebox for itunes.
* http://jake-tm.co.uk/?page_id=259 - DGTeam Mirror * [[1][Righthook IPS repository (OWAN)]] * [[2][Exporting iTunes playlists to a non-itunes world]] * [[3][One iTunes/Slimserver playlist won't work]] * [[4][Setting up a DNS server]] * [[5][Extending the netgear wireless network]] * [[6][Kata Practice - 2011-05-10 ]] * [[7][Transparent Web Proxying Ubuntu DG834G]] * [[8][Community Sky DG834GT Updates]] * [[9][Netgear DG834GT Router Tweak]] * [[10][Netgear DG834GT & DG834 v4- Override Target SNR]] * [[11][Netgear Router Firmware Downloads]] * [[12][Implementing vscan service with ClamAV on ZFS]] * [[13][OpenSolaris 2008.11 ZFS with ‘on access’ virus scan]] * [[14][Phoenix Park Terrace Property for Sale]] * [[15][Greenhouse we would like]]
* Installing HandBrakeCLI
https://trac.handbrake.fr/browser/trunk/doc/BUILD-Linux
./configure --prefix=/opt/hand --disable-gtk --force --launch --launch-jobs=0
vi $SRC/contrib/fontconfig/module.defs
change:
# # Under MinGW: # # - A 'i386-ming32-gcc' $(FONTCONFIG.GCC.gcc) command will be available, # and the '-arch <arch>' argument should be omitted, as it will confuse this compiler. # # - The $(FONTCONFIG.GCC.archs) variable is not set. # Therefore statically guess the target arch to be i386. # ifeq ($(BUILD.system),mingw) FONTCONFIG.cc_archoption = FONTCONFIG.config_archoption = --with-arch=i386 else ifeq ($(BUILD.system),linux) FONTCONFIG.cc_archoption = else FONTCONFIG.cc_archoption = FONTCONFIG.config_archoption = --with-arch=i386 endif
cd $SRC/contrib/x264/ mv P01-solaris.patch P01-solaris
./configure --prefix=/opt/hand --disable-gtk
make contrib.fetch make contrib.extract make contrib.patch
libass-0.9.13.tar.gz libiconv-1.13.1.tar.gz
download build autoconf & automake
vi /jack/HandBrake-0.9.6/contrib/x264/module.defs
add --disable-asm:
X264.CONFIGURE.extra += --disable-gpac --disable-avs --disable-lavf --disable-ffms --disable-swscale --disable-asm
cp libiconv-1.13.1.tar.gz /jack/HandBrake-0.9.6/build/contrib/libiconv
cp libass-0.9.13.tar.gz /jack/HandBrake-0.9.6/build/contrib/libass
libavcodec
vi /jack/HandBrake-0.9.6/contrib/ffmpeg/module.defs
FFMPEG.CONFIGURE.extra = \
add
--disable-ssse3
For others looking at the same issue:
We hashed this issue out off-list, using configure CC='gcc -m64'
works, just configure CFLAGS=-m64
ln -s /usr/bin/libtool .
For some packages, you seem to also run into trouble where libtool can't figure out what you're doing:
$ libtool --mode=compile target-gcc -g -O2 -c foo.c libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag'
OK, so it couldn't figure out that we're compiling C code. No problem, just add the tag --tag=CC. Works when we compile:
* [[16][Compiling HandBrake on OpenSolaris]] * [[17][Compiling Handbrake CLI on Nexenta]] * [[18][Compiling and installing ffmpeg on Solaris]]
make install fails with strange "cycle detected" errors from find and a "libavdevice.a was not found anywhere!"
* This is because it is trying to use /usr/sbin/install which appears to be broken, or at least incompatible with GNU install. * Solve this by symlinking /usr/bin/ginstall to /use/bin/install (if /usr/bin is before /usr/sbin in the PATH). Essentially, get it to use ginstall instead and it works dandy.
To install linux guest additions on Ubuntu, you need to add:
sudo apt-get install dkms
before hand.
to manually build the vb module:
/etc/init.d/vboxadd setup
* Getting plex server installed in ubuntu
apt-get install ia32-libs sudo apt-get install portmap nfs-common
http://forums.plexapp.com/index.php/forum/85-plex-media-server-for-linux/
http://192.9.200.145:32400/manage/index.html
http://www.plexapp.com/linux/linux-pms-download.php
Instructions
• Uncompress and untar the package. • Enter the directory that is created. • Run the start.sh script. • For Bonjour discoverability, install and run Avahi. • Fire up a web browser and point it to http://localhost:32400/manage
* HandBrakeCLI ubuntu
Install restricted software:
sudo apt-get install ubuntu-restricted-extras sudo apt-get install libdvdread4 sudo /usr/share/doc/libdvdread4/install-css.sh
root@ubuntu:~# apt-get install python-software-properties Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed python-software-properties 0 upgraded, 1 newly installed, 0 to remove and 48 not upgraded. Need to get 19.7 kB of archives. After this operation, 221 kB of additional disk space will be used. Get:1 http://gb.archive.ubuntu.com/ubuntu/ natty/main python-software-properties all 0.80.9 [19.7 kB] Fetched 19.7 kB in 0s (128 kB/s) Selecting previously deselected package python-software-properties. (Reading database ... 47715 files and directories currently installed.) Unpacking python-software-properties (from .../python-software-properties_0.80.9_all.deb) ... Processing triggers for man-db ... Setting up python-software-properties (0.80.9) ... Processing triggers for python-central ...
root@ubuntu:~# add-apt-repository ppa:stebbins/handbrake-releases Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80/ --recv 43D3A9F60C58A7169778E6FB8771ADB0816950D8 gpg: requesting key 816950D8 from hkp server keyserver.ubuntu.com gpg: key 816950D8: public key "Launchpad HandBrake Snapshots" imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1)
https://edge.launchpad.net/~stebbins/+archive/handbrake-releases
- Joining multiple avis together
sudo apt-get install mencoder mplayer cat b1.avi b2.avi b3.avi b4.avi b5.avi b6.avi b7.avi > bloodspell.avi mencoder -forceidx -oac copy -ovc copy bloodspell.avi.avi -o bloodspell_final.avi
http://www.neuhalfen.name/2011/10/15/MPlayer_On_Solaris11/
mplayer rebuild for Solaris 11:
http://www.neuhalfen.name/2011/10/15/MPlayer_On_Solaris11/
build 32bits otherwise mplayer vd_codec will complain.
libmad a52dec libdca xvidcore faac x264 ./configure --enable-pic --disable-asm --enable-shared --prefix=/opt/x264 lame
depend fmri=pkg:/developer/gcc/[email protected] type=require depend fmri=pkg:/[email protected] type=require depend fmri=pkg:/[email protected] type=require depend fmri=pkg:/[email protected] type=require depend fmri=pkg:/[email protected] type=require depend fmri=pkg:/[email protected] type=require depend fmri=pkg:/MBLx264@20100125 type=require depend fmri=pkg:/[email protected] type=require
a52dec-0.7.4 faac-1.28 faad2-2.7 lame-3.99 libdca-0.0.5 libmad-0.15.1b x264 xvidcore
libmad:
remove -fforce-mem from CFLAGS
MPlayer-1.0rc2
xvid fix -> http://seriouswebapps.com/installing-xvid-122-on-opensolaris
cd /src tar xzf xvidcore-1.2.2.tar.gz && cd xvidcore/build/generic CFLAGS=$( find -L /my -type d -name include -exec echo "-I{} " \; | grep -v "[.][0-9]" | grep -v "pth" | tr -d '\n' ) \ CPPFLAGS=$( find -L /my -type d -name include -exec echo "-I{} " \; | grep -v "[.][0-9]" | grep -v "pth" | tr -d '\n' ) \ LDFLAGS=$( find -L /my -type d -name lib -exec echo "-L{} -R{} " \; | grep -v "[.][0-9]" | tr -d '\n' ) \ CC=gcc \ ./configure --prefix=/my/xvidcore-1.2.2 >>mylog.txt # modify line 133 in Makefile, replace "$(CC)" with "/bin/ld" vi Makefile # modify line 48 in platform.inc, to read SPECIFIC_LDFLAGS=-h libxvidcore.$(SHARED_EXTENSION).$(API_MAJOR) -B dynamic -shared -M libxvidcore.ld -lc -lm -lpthread vi platform.inc gmake all >>mylog.txt && su gmake install >>mylog.txt ln -s /my/xvidcore-1.2.2 /my/xvidcore ln -s libxvidcore.so.4.2 /my/xvidcore-1.2.2/lib/libxvidcore.so ln -s /my/xvidcore/lib/* /usr/lib/ ln -s /my/xvidcore/include/* /usr/include/ exit
Package Building
pkgsend generate root > MANIFEST.files
root@monkey:/opt/package/a52dec# more MANIFEST.files # [email protected], client release 5.11 set name=pkg.description value="ATSC A/52 stream decoder" set name=pkg.fmri value="pkg:/[email protected],0.5.11-0.0.0" set name=pkg.name value="ATSC A/52 stream decoder" set name=description value="ATSC A/52 stream decoder" set name=info.maintainer value="Andy Harrison ([email protected])" dir group=bin mode=0755 owner=root path=usr <snip>
pkgsend publish -s /export/repo/misc/stormsail -d root test
root@monkey:/opt/package/libdca# more trans <transform file dir -> default owner root> <transform file dir -> default group bin> <transform file -> default mode 0644> <transform dir -> default mode 0755>
root@monkey:/opt/package/libdca# pkgmogrify -I . -O test MANIFEST.files trans
root@monkey:/export/build/MPlayer-1.0rc4#./configure --prefix=/opt/test --extra-ldflags="-lm" root@monkey:/export/build/MPlayer-1.0rc4#
There is a bug in the latest SVN source as you end up with an error like this:
gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg -I/usr/X11/include -I/usr/include/freetype2 -c -o libao2/ao_sun.o libao2/ao_sun.c libao2/ao_sun.c: In function 'realtime_samplecounter_available': libao2/ao_sun.c:161:35: error: 'MSGTR_AO_SUN_RtscWriteFailed' undeclared (first use in this function) libao2/ao_sun.c:161:35: note: each undeclared identifier is reported only once for each function it appears in gmake: *** [libao2/ao_sun.o] Error 1
Essentially MSGTR_AO_SUN_RtscWriteFailed hasn't been defined...... so let's find in out of an older release and add the following to help_mp.h:
#define MSGTR_AO_SUN_RtscWriteFailed "[AO SUN] rtsc: write failed.\n"
Mplayer doesn't like the default video out mode (I suspect due to my Nvidia card) but seems to work ok for -vo gl2. I've therefore added the following to my .mplayer/config:
hippy@monkey:~$ more .mplayer/config # Write your default config options here! vo=gl2
* http://mailman.videolan.org/pipermail/x264-devel/2012-January/008959.html -> Patch for x264 using Solaris Compilers