Building against specific version [Solved]

Hi!
Me and many others have been having huge performance issues with libjpeg7 and backdrops/fanart in xbmc-svn. To fix this problem I need to recompile the xbmc-svn package against libjpeg6. I'm really finding this difficult. Can someone help me out? If I have libjpeg7 installed while compiling the build insist on using libjpeg7 (even though I've got libjpeg6 installed from the AUR). If I delete libjpeg7 (and only have libjpeg6 installed) the compiling fails with error 'missing jpeglib.h'. How am I supposed to get the build to use libjpeg6? As you can see in the PKGBUILD I've tried to put in 'CPPFLAGS="-I/usr/include/libjpeg6" || return 1' and I've changed the dependency from 'libjpeg' to libjpeg6. Still it won't work.
Here's the PKGBUILD I'm using:
# Contributors : Richard Atkinson atkinsonr-at-gmail
# Ralf Barth <archlinux dot org at haggy dot org>
# Original credits go to Edgar Hucek <gimli at dark-green dot com>
# for his xbmc-vdpau-vdr PKGBUILD at https://archvdr.svn.sourceforge.net/svnroot/archvdr/trunk/archvdr/xbmc-vdpau-vdr/PKGBUILD
pkgname=xbmc-svn
pkgver=22473
pkgrel=2
pkgdesc="XBMC Media Center from SVN"
provides=('xbmc')
conflicts=('xbmc' 'xbmc-smoothvideo' 'xbmc-vdpau')
arch=('i686' 'x86_64')
url="http://xbmc.org"
license=('GPL' 'LGPL')
depends=('alsa-lib' 'curl' 'enca' 'faac' 'freetype2' 'fribidi' 'gawk' 'glew'
'hal' 'jasper' 'libgl' 'libmad' 'libmysqlclient' 'libjpeg6'
'libxinerama' 'libxrandr' 'lzo2' 'sdl_image' 'sdl_mixer' 'sqlite3'
'tre' 'unzip' 'libcdio' 'libsamplerate' 'python' 'avahi' 'libmad'
'a52dec' 'libdca' 'faad2' 'libmpeg2' 'libvorbis' 'libogg' 'libmms'
'libmpcdec' 'flac' 'wavpack' 'xorg-utils' 'smbclient')
makedepends=('subversion' 'autoconf' 'automake' 'boost' 'cmake' 'gcc' 'gperf'
'libtool>=2.2.6a-1' 'make' 'nasm' 'patch' 'pkgconfig' 'zip' 'flex' 'bison')
optdepends=('lirc: remote controller support'
'pmount: mount removable devices as normal user'
'unrar: access compressed files without unpacking them')
install=("${pkgname}.install")
source=('libcurl-not-in-lib64.patch')
noextract=('libcurl-not-in-lib64.patch')
md5sums=('c5e808703d0c9e392e1c2837fea1a5ef')
options=(makeflags)
_svnmod=XBMC
_prefix=/usr
build() {
_svntrunk=https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk
CPPFLAGS="-I/usr/include/libjpeg6" || return 1
cd ${srcdir}/
if [ -d $_svnmod/.svn ]; then
msg "SVN tree found, reverting changes and updating to -r$pkgver"
(cd $_svnmod && svn revert -R . && svn up -r $pkgver) || return 1
else
msg "Checking out SVN tree of -r$pkgver"
svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod || return 1
fi
# Apply patches
cd "$srcdir/$_svnmod"
# Arch's libcurl lives in /usr/lib, not /usr/lib64 - fix the path:
msg "Patching with libcurl-not-in-lib64.patch"
patch -p0 < "$srcdir/libcurl-not-in-lib64.patch" || return 1
# Goom also needs a fixup due to newer autotools
msg "Fixing Goom build system"
cd "$srcdir/$_svnmod/xbmc/visualizations/Goom/goom2k4-0"
aclocal
libtoolize --copy --force
./autogen.sh --enable-static --with-pic
# Distclean shipped ffmpeg - sometimes breaks du to leftovers
cd "$srcdir/$_svnmod/xbmc/cores/dvdplayer/Codecs/ffmpeg"
make distclean
# Configure XBMC
# Note on external-libs:
# - We cannot use external python because Arch's python was built with
# UCS2 unicode support, whereas xbmc expects UCS4 support
# - We cannot use Arch's libass because it's incompatible with XBMC's
# subtitle rendering
# - We cannot use external ffmpeg because we would loose VDPAU functionality
cd "$srcdir/$_svnmod"
msg "Configuring XBMC"
make distclean
./configure --prefix=${_prefix} \
--enable-external-libmad \
--enable-external-liba52 \
--enable-external-libdts \
--enable-external-libfaad \
--enable-external-libmpeg2 \
--enable-external-libvorbis \
--enable-external-libogg \
--enable-external-libmpcdec \
--enable-external-libflac \
--enable-external-libwavpack \
--disable-external-libass \
--disable-external-ffmpeg \
--disable-external-python \
--disable-debug || return 1
# Now (finally) build
msg "Running make"
make || return 1
package() {
cd "$srcdir/$_svnmod"
msg "Running make install"
make prefix=${pkgdir}${_prefix} install || return 1
# Install
install -Dm755 ${srcdir}/$_svnmod/xbmc-xrandr \
${pkgdir}${_prefix}/share/xbmc/xbmc-xrandr || return 1
install -Dm644 ${srcdir}/$_svnmod/tools/Linux/xbmc.desktop \
${pkgdir}${_prefix}/share/applications/xbmc.desktop || return 1
install -Dm644 ${srcdir}/$_svnmod/tools/Linux/xbmc.png \
${pkgdir}${_prefix}/share/pixmaps/xbmc.png || return 1
install -Dm755 ${srcdir}/$_svnmod/tools/XBMCTex/XBMCTex \
${pkgdir}${_prefix}/share/xbmc/tools/xbmctex || return 1
# Skins often use build.sh that looks for /usr/bin/XBMCTex
ln -s "${_prefix}/share/xbmc/tools/xbmctex" "$pkgdir/usr/bin/XBMCTex"
install -dm755 ${pkgdir}${_prefix}/share/licenses/${pkgname}
for licensef in LICENSE.GPL README.linux copying.txt; do
mv ${pkgdir}${_prefix}/share/xbmc/${licensef} \
${pkgdir}${_prefix}/share/licenses/${pkgname} || return 1
done
Last edited by Perre (2009-09-27 12:17:12)

ould wrote:
I have done the hard work for you. My HTPC is pretty barebones so it was relatively easy to roll back all the packages that depend on libjpeg>7 with older versions. I then compiled the xbmc-svn package using that system. Slow downs are gone and I have uploaded the package to hotfile here:
http://hotfile.com/dl/13546051/021f9c9/ … ar.gz.html
This is for 32-bit. You will need the libjpeg6 package from AUR installed. I have tested it on two systems, my main system which has both libjpeg7 and the AUR libjpeg6 installed and on my htpc which has only the libjpeg6 along with the rolled back dependancies. Works good on both systems.
Hope that helps!
Kevin
Thanks ould!! You got it working with libjpeg6 again!
I had to upgrade libcdio again so now I lost dvd support. It's not easy to use the svn version.
If you could compile the build against libcdio 0.80 I'd be forever grateful... If you've got the time.
Last edited by Perre (2009-09-26 17:09:04)

Similar Messages

  • Need specific version of Report Builder

    Hello all,
    I'm trying to get a version of Report Builder to match exactly with the version my client has, but I'm not sure where to find it. I have Report Builder 6i (ver. 6.0.8.11.3), and my client says he has ver. 6.0.8.27.0. Is there a patch out there to upgrade mine to match his version? If not, is there any other way to get the same version?
    On a related note, what was the last-released version of Report Builder 6i?

    Problem solved, here's the solution:
    I found the patch on metalink.oracle.com
    The patchset I needed was: 4948577

  • How can you ignore one specific version of a package when upgrading?

    Hi all,
    Due to a rather nasty bug in mplayer, the current version in the Arch repositories is unusable for me.  I am currently running the previous version without any problems, but every time I try to upgrade, pacman wants to reinstall this broken version.
    I don't want to list mplayer in the IgnorePkgs option, because then I won't get any new versions.  Since the bug has long been fixed, the next Arch version should work fine - it's just the current Arch version (35014) that is broken and I want to ignore.
    Is there some way I can blacklist this specific version of the package, so although it won't ever be installed, any newer version will?
    I tried adding "mplayer-35014" and "mplayer-35014-1" to IgnorePkgs but it didn't work.
    Any suggestions?

    Hmm, I hadn't thought of that.  I didn't actually build a package from it, because I didn't know where the problem was.  So I just compiled a bunch of things the old fashioned way and ran them without installing anything until I had narrowed down the problem.  But I'm sure there's an mplayer-svn in AUR I could use - good idea.

  • How to choose a specific version and detect the same specific version?

    I've found the following link in other posts about choosing versions programmatically:
    http://java.sun.com/products/plugin/versions.html
    Well, I'm not quite sure how to use that classid for "static versioning". I mean, if I need to use 1.3.1_08 but not others (not even 1.3.1_07 or 1.3.1_09, but only 1.3.1_08), what classid should I use?
    That page doesn't teach us what syntax we're supposed to use!
    On the other hand, my webapp needs to detect what JRE is installed and would suggest what to do in case the specific version can't be found in client computer. What should I do?
    Thirdly, I've noticed that the order of installing versions is important. Let's say there're two versions in a computer, V1 and V2, while what I need is V1. Depending on V1 or V2 is the final installed one, my detection might or might not work. Someone knows what to do?
    TIA

    galo,
    willkommen zu den Apple Diskussionen.
    You don't state which version of Keynote you're using. Keynote 3 offers an option to restart the presentation after an inactivity of x min (at least 1 min).
    Look at Document inspector on the Document tab.
    In German: Klick im Informationen-Fenster auf das weiße Blatt und ggf. den Dokument-Button. Dort findest Du:
    Präsentation als Endlosschleife
    Präsentation neu starten nach Inaktivität von
    Viel Erfolg.
    If this information is useful to you, please mark it as "helpful" or "solved" using the little buttons in the titlebar of this message. Thank you.
    PowerBook G4 17", 1GB   Mac OS X (10.4.7)   iMac G5 20"; iPod 3G, iPod Shuffle, iSight

  • Dyld: shared cached file was build against a different libSystem.dylib?

    Hi
    i have a strange error when i open terminal or the console:
    dyld: shared cached file was build against a different libSystem.dylib, ignoring cache.
    so i know how to repair this so i did:
    sudo update_dyld_shared_cache -force
    And when i did that, i get some strange warning :
    warning, could not bind /System/Library/QuickTime/QuickTimeMPEG4.component/Contents/MacOS/QuickTimeMPEG 4 because realpath() failed on
    /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia
    update_dyld_shared_cache[1255] current cache file is invalid because it contains a different set of dylibs
    update_dyld_shared_cache failed: could not resolve _CGSAcceleratorForDisplayAlias expected in /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services in /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTim eComponents
    And this message still comes up! :
    dyld: shared cached file was build against a different libSystem.dylib, ignoring cache.
    It's realy annoying, please help?!

    We have been suffering this too. Fortunatly, finally, we figure out how to clear the share cache via Safe Boot now. Sharing with everybody:
    -Shut down your Mac.
    -Start your Mac, and keep pressing Shift key when the start music begins.
    -When Apple logo comes, the spinning ball appears, you can leave the Shift key.
    -Your certain OS open, and your caches will be cleaned.
    -Then Restart your certain OS.
    Now, congratulations, you will never see the warning message in your Terminal or Console.
    Hope this helpful.
    Love
    XPGtester

  • Invoking specific version of BPEL process

    Hi All,
    I would like to keep multiple revisions of same BPEL process in one domain on the server and I would like to call specific version of process
    Does anybody has any idea how to do that...?
    Thanks
    -Praveen

    Using JDeveloper (I am using 10.1.3.1 build 3984), once you have deployed the first version of your BPEL process, you will be asked to pick a new version when you want to re-deploy the service. You can just pick a different version at his time; in my case I add a minor version letter: 1.0.c
    On the deployment properties screen, you will see your version (1.0.c) and the server-side versions (1.0 and 1.0.c). You can decide to overwrite them or create a new one.
    The same can be achieved through command line, as JDev use ant under the cover. The process generated will be named with the version you provided. In my case:
    BPEL suitcase generated in: C:\dev\BPELPricer\output\bpel_CalculatePriceWS_1.0.c.jar
    Once the BPEL process are deployed, you can point at a specific revision with the service endpoint URL. In my case, the URL look like this:
    "http://" + HOST_NAME + "/orabpel/default/CalculatePriceWS/1.0.c"
    You have also the ability to select a specific version from the BPEL Console, using a drop down list to pick the one to test.
    To keep the code for multiple versions of the BPEL project, you should be using a source control system, like SVN, CVS, or many other alternative out there.
    Hope it helps,
    -Eric

  • Are there any sample DRM protected streams to build against?

    Hi,
    I'm trying to test various elements of DRM (including problems with incognito mode...) and need a DRM protected stream to build against. Customer currently too snowed under with other things to provide one, so wondering whether there were any available from Adobe or anyone else?
    I did find a link or two to things like; http://drmtest2.adobe.com:8080/Content/anonymous.f4v
    But all of the links to drmtest2 come up as dead or moved.
    Any ideas where they may have gone to?
    Thanks,
    G

    Hi Gaius,
    Welcome to Adobe Forums.
    Please try the following steps in order to use the Test Player and stream:
    First, launch the Adobe demo video player container: http://drmtest2.adobe.com:8080/SVP/SampleVideoPlayer_FP.html
    Note the Adobe Flash Player version in the lower left of the demo video shell. Make sure that indicate 11.2 or higher
    Play sample protected content.
    Enter the following URL in the field "Input the video URL: (case-sensitive)
    http://drmtest2.adobe.com:8080/Content/anonymous.f4v
    Press the [Play] button at the bottom of the video container.
    The anonymous.f4v protected content should play. (This video is called the Getty "train" video.)
    Hope it helps! Let me know incase you face any issues.
    Regards,
    Diana

  • Java.specification.version

    Hi, Is there a format defined for the java.specification.version system property? I couldn't find a list of the specification numbers and so I'm wondering if it will it always be of the form 1.3, 1.4, 1.5, etc.? The other properties such as java.version and java.vm.version include minor versions and build numbers.
    I am trying to detect if the JRE version is 1.4 and I know I can just do a beginsWith(1.4) but I'd like to understand if the property value is predictable across JREs (vendor/version).
    Give me a link if you know its mentioned somewhere. I couldn't find anything more than what is mentioned in the java.lang.System API doc.
    Thanks!

    Personally I would use ClassLoader.getResourceAsStream("java/lang/Object.class") and parse out the major and minor version numbers.

  • Does a Latest Application builder supports older Version LabVIEW 8.5 or 6.2?

    Currently I'm using LabVIEW Full Development System version 8.5 I want
    to install Application Builder, the current version of which is 8.5. If
    I purchase Application Builder now, will I be forced to upgrade the
    LabView Installation too? How to find out the version number of the
    application builder which i have? I am aware that it is a serial number
    that i will be recieving for application builder and i have to just
    activate in license manager. Does it works this simple? or a latest
    version application builder wont support my older version LabVIEW.

    For such a specific question you should contact your local NI sales rep. They should know there way around in the various licensing schemes NI has.
    But I think this should be doable.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • HT4623 i was updating my i phone 4 to ios 7 , and this message appeared " This device isn't eligible for the requested build" , how can i solve the problem?

    i was updating my i phone 4 to ios 7 , and this message appeared " This device isn't eligible for the requested build" , how can i solve the problem?

    This device is not eligible for the requested build (Also sometimes displayed as an "error 3194")
    Update to the latest version of iTunes.
    Third-party security software or router security settings can also cause this issue. To resolve this, followTroubleshooting security software issues.
    Downgrading to a previous version of iOS is not supported. If you have installed software to perform unauthorized modifications to your iOS device, that software may have redirected connections to the update server (gs.apple.com) within the Hosts file. Uninstall the unauthorized modification software from the computer.
    Edit out the "gs.apple.com" redirect from your hosts file, and then restart the computer for the host file changes to take affect. For steps to edit the Hosts file and allow iTunes to communicate with the update server, see iTunes: Troubleshooting iTunes Store on your computer, iPhone, iPad, or iPod—follow steps under the heading Blocked by configuration (Mac OS X / Windows) > Rebuild network information > The hosts file may also be blocking the iTunes Store. If you do not uninstall the unauthorized modification software prior to editing the hosts file, that software may automatically modify the hosts file again on restart.
    Avoid using an older or modified .ipsw file. Try moving the current .ipsw file (see Advanced Steps > Rename, move, or delete the iOS software file (.ipsw) below for file locations), or try restoring in a new user to ensure that iTunes downloads a new .ipsw.
    Copied from this website.
    http://support.apple.com/kb/TS3694#error3194

  • Function Module to get ABAP source code for a specific version

    Hi all
    Is there a function module that I can use to get the source code of another function module at a specific version?
    For example, can I call a function module passing in "FM_NAME" and "FM_VERSION" and have it return the lines of code associated with that object?
    Thanks in advance.
    Stuart

    Thanks guys
    That's incredibly helpful! I have one more question that I just thought of last night...
    Is there a way to hook into the code activation process? I want to be able to take a snapshot of the ABAP source code at each point when it is activated for use in another system, but need to be able to intercept this event and get the source code at that point in time.
    Any ideas?
    Thanks!

  • I want to buy Adobe Creative Suite 6 Master Collection Chinese version,but Flash Builder is English version in it, May I change this software to Chinese version?

    I want to buy Adobe Creative Suite 6 Master Collection Chinese version,but Flash Builder is English version in it, May I change this software to Chinese version?

    There is no reason to do that. You can buy a legitimate copy of the product from Adobe.
    If the price is too good to be true, it's too good to be true. Caveat emptor.

  • How do I install a specific version of nvidia?

    I am noob coming from Gentoo. How do I install a specific version of nvidia? The new one (169.09-2) does not work well with my video playback (choppy). I know that for whatever reason, the 169.04 beta version works on my hardware better than any other version. How do I install it the pacman way, instead of using Nvidia's installer?

    ABS and change the version I believe http://wiki.archlinux.org/index.php/ABS

  • Incorrect parsing of Library Specification-Version

    Hello,
    I'm encountering an error while trying to deploy libraries. The config.xml specifies [email protected] The MANIFEST in the library jar file specifies Specification-Version: 1.0 and Implementation-Version: 1.0. The server log is reporting a conflict, stating "Specification-Version: 1". It appears that if the Specification-Version ends in "0", the parsing is dropping ".0". However, the console reports that the library is deployed. Has anyone seen this before?
    Thanks,
    Bob

    Sorry. I re-deployed from the console and that seemed to clear it up.
    I don't have the previous log file. The message said the LibSpecVersion = 1.0 (I assume this is from the config.xml) and Specification-Version = 1 (from the MANIFEST). Not sure why a re-deploy fixed it. The one additional element added to the library was: <module-type xsi:nil="true"></module-type>. The name with spec and implementation stayed the same.
    Bob

  • Invoking a specific version of java over the internet

    According to [this page|http://java.sun.com/j2se/1.5.0/docs/guide/plugin/developer_guide/using_tags.html], the applet tag should be used if the web page is accessed through the internet and object or embed ought to be used if it's through an intranet. Why?
    Later, that article says that if you want to invoke a specific version of Java that you can do so with either of the intranet tags (using a specific classid for the object tag or a specific type for the embed tag), but doesn't say anything about doing it with the applet tag, making be conclude that, with the applet tag, it's not possible.

    You said "I will not try to guess what that doc. meant." That doesn't necessarily mean that there are others who can't. Maybe there are people who post on forums.sun.com that don't post on comp.lang.java.programmer? If anyone there knew, it seems like they would have responded?
    The <https://jdk6.dev.java.net/deployment_advice.html> link... I dunno... it didn't seem as comprehensive as the one my first post linked to. Doesn't discuss embed, for instance, nor does it mention anything about intranet's vs. internet's. Maybe Sun decided between 1.5.0 and 1.6.0 that the whole internet / intranet distinction was pointless, but if so, that'd be nice to know.
    Besides, sometimes hearing people explain it in different ways helps. Whether or not it'd help here is something I can't say until I've heard other explanations (if there are any to be had).
    (I'm yawnmoth, btw - I was logged out when I tried to make this post so I tried to login with 'yawnmoth' as my username and it asked me for a new username? maybe my 'yawnmoth' username is actually my email address?)
    Edited by: zelnaga on Aug 13, 2008 9:04 AM

Maybe you are looking for

  • Cannot delete file from lvlib

    I am not able to delete a missing file from lvlib. Can anyone help with this? Thanks, Saranya Solved! Go to Solution.

  • How to set "Read mode" as default view for a pdf?

    Hi All, I have a requirement to open a pdf in "Read mode" (to get the floating toolbar) whenever an user open it in Acrobat Reader. Is there anyway to set this option in the pdf like "Open in full screen mode"? Or Can we add any little javascript to

  • Data upload problem in delta update from 1st ODS to 2nd ODS

    Dear Friends, I am loading data from one ODS to another. The update mode was full upload. Sometime back an error occurred in activation of the first ODS. The error was: Full updates already available in ODS ,Cannot update init./delta. So currently da

  • Ajax call failed,  htmlDB_get return null

    Hi, I'm having some problem at ajax call. I'm always getting null return value after htmldb_Get.get() function. Tried to follow some examples in this forum, in Html header, i have: <script language="JavaScript" type="text/javascript"> function simple

  • Convert single column into rows

    hi Gurus, I have one table test colums are id and name. id number name varchar2 data is like id name 1 xy 2 xyy 3 mm 4 pp Now my requirement is to convert single column id into rows i,e my output should be of singel rows like :- 1,2,3,4 How to achive