My thoughts on Slackware, life and everything

Tag: vlc (Page 6 of 9)

VideoLAN update: vlc-1.1.10

It’s that busy time for developers again… are they all preparing for holidays and cleaning the house?

Yesterday saw an update of my favourite multimedia player, and I had missed it…

VLC player is now at stable release 1.1.10 – apart from bugfixes and codec updates, this is also a security update (no known CVE number yet) so everybody is enccouraged to upgrade his installed version.

Get Slackware packages from my repository or one of its mirrors. And remember, if you need to encode mp3 or aac audio (there is no functional difference in decoding audio between all my packages) you need to grab the package which is inside the “restricted_slackbuilds” directory. Patent trolls prevent me from hosting those packages in the US on slackware.com.

MP3/AAC patent restricted:

Enjoy! Eric

What’s cooking?

Hi Folks

You surely noticed a bit of silence on this blog. Well, there was not much to say – I am not the twittering kind of guy who updates his readers where he’ll go out every night… I think I can lift the lid a little anyway.

I have been working on several larger packaging projects during the past weeks. LibreOffice is the one that took most of my time unfortunately. The new release 3.4.0 has been announced today, and that means I can finally test my revised SlackBuild script when building Slackware packages for you. My old way of compiling LibreOffice no longer works! It has been “deprecated” by the developers, which is a shame because it forces me to do a lot more work. Anyway, expect packages for Slackware 13.37 sometime this weekend.

I will probably not create Slackware 13.1 packages for this new LibreOffice release. What I do consider is to build the upcoming maintenance release for LibreOffice 3.3 (which will be 3.3.3) for Slackware 13.1.

KDE. How to begin? There are some stirrings in the KDE camp.

We are nearing the end of the KDE 4.6 series. Two more updates will see the light: 4.6.4 should be available in a few days and 4.6.5 is the final update, expected in early july. But considering the fact that the previous 4.6.3 experienced delays, it may take a little longer before I can start on packaging 4.6.4.

The new series 4.7.x proves to be a bigger challenge for Slackware. We saw that the 4.6. series moved away from HAL and instead requires udisks/upower (which was the reason for sticking with 4.5.5 in Slackware 13.37). The KDE developers have now finalized their move from CVS to GIT as the source control and version management system. The result is less than optimally arranged for packagers. The old “monolithic” source tarballs are now being split into many additional tarballs for individual applications. This means we have rewrite our scripts and possibly add a lot of packages. While this may be advantageous for some other distros with dedicated packaging teams, for us Slackware people it is a time for decisions.

After talking to Pat Volkerding, I announced on the KDE packager mailing list that we are considering the same solution as was chosen for GNOME in the past: remove KDE from Slackware if it proves to become a maintenance burden. I can not yet say anything final about this. For the time being, I have decided not to create Slackware packages for the KDE Software Compilation 4.7.x.

And then VLC…I have been waiting for a 1.2 release for so long that I almost do not believe it will ever arrive. I have a SlackBuild for it, but I will likely wait a bit longer before releasing a package for ths development version of VLC media player. It appears like there is a 1.1.10 release around the corner which is what I’ll build for Slackware 13.1 as well as 13.37.

Looking ahead, I think that creating VLC versions for Android is going to be considered more important. There is a whole new audience there, and I may very well be one of its users. There is also the fact that the developer team is almost always short of smart and motivated people. This showed last year when it was almost impossible to release a MS Windows version. Jean-Baptiste Kempf feels responsible for this so he made it happen, but I doubt that it is making him very happy.

And finally, Calibre E-book Management. This piece of software is indispensible if you are in the possession of an E-reader. Calibre manages your e-book collection, converts e-books between various formats (interesting for you Kindle users out there!) and allows you to upload books to your E-reader device. Calibre usually works a lot better than the software you get with your E-reader. And  since I am buying a Sony PRS650 for my wife I needed to have a working verison of Calibre for my Slackware box.

I have a Slackware package for Calibre in my repository but I have not been able to update it for a while, because it requires python 2.7. Unfortunately, Slackware 13.37 is still at python version 2.6.6. So I spent a lot of time to find a way around this and decided to take the same approach as with VLC and FFMPEG: that is, to compile all the requirements into the package itself and not depend on Slackware. I think I have succeeded in this, and am currently testing the results. Stay tuned…

Happy hacking! Eric

New libreoffice, vlc packages for your Slackware

Yummy food for your hungry Slackware boxen!

* VLC 1.1.8 available

Another minor release in the 1.1 series, version 1.1.8 saw the light yesterday. Bugfixes and updates for the translations are its main features, but several small enhancements were made to the codec modules.

New encoders for dirac video (now using the schroedinger implementation) and webm /vp8 were added but to be honest, I have not looked at those since I rarely encode audio or video. Feedback welcome of course!

Noteworthy is the fact that VideoLAN celebrated its 10th birthday of going open source this february – the software was initially developed as a french student project under a closed-source license. Hilarious promotional video there… typical french humour?

Get the Slackware packages here (built on Slackware 13.1, will work on later versions too):

The “US restrictions” are ludricous crap, but there you go… otherwise I would not be able to host the packages on the slackware.com server. Of course, mp3 and aac decoding is not a problem at all.

And for you KDE 4.6 users, remember having this problem with the “Media > Open” file browser dialog box taking 30 seconds to appear, that issue has been resolved. The fix was applied on the KDE side (it was gone with KDE 4.6.1) but I thought I’d mention it here regardless because it was a nuisance. See https://bugs.kde.org/show_bug.cgi?id=260719 for a nice discussion between KDE and VLC developers. Interesting to read on https://bugs.launchpad.net/kubuntu-ppa/+bug/708527 is, that while we do not have this bug anymore in Slackware’s KDE 4.6.1 (well, my own KDE 4.6.1 for Slackware 13.37 to be precise), it appears that Kubuntu’s KDE 4.6.1 still suffers from it…

* LibreOffice 3.3.2 … wow that was fast!

The LibreOffice development really shows the power of collaboration. Little over a month after their previous “micro release” 3.3.1, here we have 3.3.2 already. It shows plainly that LibreOffice is diverging fast from its origin OpenOffice.org. How is that possible? Well, the most obvious reason is the growth in numbers of developers. What was impossible while SUN and later Oracle held the reigns, is now showing its worth: people are contributing code, and with more people starting to dig at the deeper levels of code, this momentum of development will only accelerate.

Specific highlights for the 3.3.2 release are the code cleanups: german-only comments have been replaced and no longer used code has been removed. If the schedule is not slipping we’ll see the big release 3.4.0 in May. This is supposedly the release that is going to make the large step away from OpenOffice.org.

I created some Slackware packages for you (built on Slackware 13.1, works on Slackware 13.37 too). Using the new LibreOffice menu icons instead of the old OpenOffice seagull logos, its looking prettier even! I added a dictionary to the italian language pack, but other than that I did not diverge from the way I built the previous 3.3.1 packages.

One word about the dictionaries (which I included for en-GB, en-US, es, fr, it, nl language packs): they are installed as “shared dictionaries” i.e. they will show up in your extension manager as locked and unchangeable. You can still install your own dictionary on top of that, if you find one that is more advanced or better suited to your work. This personal version will be installed into your ~/.ooo3 user directory and will have preference over the shared version.

Get packages here:

Enjoy!  And tell me if you like these packages (or if you see room for improvement).

Eric

VLC’s newest release: 1.1.6

VLC team made their newest release of the VideoLAN Player available to the general public.

VLC 1.1.6 which is now available as a source tarball fixes a security hole that was reported in december 2010 which makes it a recommended upgrade.

A lot of other changes and bugfixes went into the new VLC , you can read all about that on the release notes page. I think that now, the waiting is really for the next revision of VLC (1.2.x) to come out of the git repository and be released as stable. That has been in development for a long time now, and offers a completely re-developed mozilla plugin (the plugin package which accompanies VLC 1.1.x is not really a reliable piece of work) and of course a whole lot of feature enhancements compared to the maturing 1.1.x series.

One of the things that the 1.1.6 version should have fixed is the annoying behaviour in KDE 4.6 where, if you select “Media > Open file” it takes 30 seconds to open a file browser. After that first delay, every subsequent file-open dialog will open instantaneously – strange isn’t it? There is an open bug report for this issue: https://bugs.kde.org/show_bug.cgi?id=260719 and it shows a lot of discussion but no real fix since the KDE and VLC developers basically point to each other to provide a fix. Looks like fixing this in KDE is going to be difficult and VLC would be able to work around the issue. Unfortunately, the code that went into VLC at the last minute (see http://git.videolan.org/?p=vlc/vlc-1.1.git;a=commit;h=ac11f9c0e27905087afdfb46180ece227a4d76e7) does not fix it for me.

Enough said. Before I point you to the download location for my Slackware VLC packages, let me humour you with this VideoLAN promotional video made by Adam Vian: http://images.videolan.org/images/vlc-player.mp4 (download first, then load it in VLC). Very funny, worth watching.

Slackware 13.1 packages for vlc-1.1.6 can be found here (32-bit and 64-bit, they will work on slackware-current too of course):

Rsync access: ?rsync://taper.alienbase.nl/mirrors/people/alien/restricted_slackbuilds/vlc/

Have fun, Eric

Huge update to slackware-current and what it meant to my laptop

Today, you may be watching the slackware-current ChangeLog.txt slack-faced, with a feeling of horror…

… because the update is HUGE. There are well over 300 lines of updates! That amounts to one-third of the full length of ChangeLog for the current development cycle. Those of you who thought Slackware was calmly drifting toward another stable release, will have to brace themselves for a round of fun and thorough testing.

I think the most obvious intrusive change is that Slackware-current moved to using the “new” X.Org which no longer depends on HAL for hardware detection and initialization. Instead, the new X.Org talks directly to udev.

Robby Workman has put a lot of work in assembling a coherent set of X.Org sources as well as getting this stuff tested widely before it got added to Slackware (see http://www.linuxquestions.org/questions/slackware-14/call-for-testing-xorg-updates-20100830-a-829336/).

There is also a newer GTK+2 (version 2.22). The new GTK proves to be a difficult bugger with apparent incompatibilities with previous releases. We have to see what the extent of these incompatibilities is; for instance I came across software does not compile anymore and needs patching or updating (gtk-chtheme).

When upgrading your slackware-current please note that several packages have been added, and others have been removed! If you are using slackpkg to do the upgrades for you, you can use the command “slackpkg clean-system” to remove the deprecated (mostly X.Org related) packages. In the package overview that presents itself, make sure to first deselect those you installed yourself before hitting the “OK” button! Likewise, running “slackpkg install-new” will install the newly added packages for you.

What were the bumps when I upgraded my Lenovo T400 laptop?

Well, several… but they were easy to fix.

X.Org configuration of the hardware:

Since the new X.Org no longer uses HAL, my old method of configuring the TrackPoint in a file “/etc/hal/fdi/policy/11-x11-trackpoint.fdi” no longer works. Instead, the new X.Org uses a configuration directory “/etc/X11/xorg.conf.d/” where you can add configuration files for your hardware. You’ll see the similarities; my old HAL file looks like this:

<match key="info.product" string_outof="TPPS/2 IBM TrackPoint;PS/2 Generic Mouse">
 <merge key="input.x11_options.EmulateWheel" type="string">true</merge>
 <merge key="input.x11_options.EmulateWheelButton" type="string">2</merge>
 <merge key="input.x11_options.YAxisMapping" type="string">4 5</merge>
 <merge key="input.x11_options.XAxisMapping" type="string">6 7</merge>
 <merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
 <merge key="input.x11_options.EmulateWheelTimeout" type="string">200</merge>
</match>

While the new way of configuring requires a file (I aptly named it “/etc/X11/xorg.conf.d/20-thinkpad.conf” but any name that ends on “conf” will do) in which I wrote:

Section "InputClass"
Identifier    "Trackpoint Wheel Emulation"
MatchProduct    "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|USB Trackpoint pointing device|Composite TouchPad / TrackPoint"
MatchDevicePath    "/dev/input/event*"
Option        "EmulateWheel"        "true"
Option        "EmulateWheelButton"    "2"
Option        "EmulateWheelTimeout"    "200"
Option        "XAxisMapping"        "6 7"
Option        "YAxisMapping"        "4 5"
Option        "Emulate3Buttons"    "true"
EndSection

You will have perform a similar exercise if you previously had configured a non-US keyboard in a HAL “fdi” file. I will leave it up to you to figure out how to repeat this for the new X.Org.

Hardware accelerated graphics:

Actually, this is where the updated packages shine! The combination of mesa, Intel graphics and KDE 4.5 proved to be quite disastrous a month ago when the kernel was updated in slackware-current. My KDE 4.5 packages froze the computer solid, the very moment when “desktop effects” (compositing) was enabled. This graphics hard lock is not caused by X.Org. Rather, it is the kernel’s DRI (direct rendering interface) and the way mesa interacts with it where all the trouble started. However,the real cause was not apparent at first (and some people were pointing at the open source graphics drivers). I had reported about this problem before – my Asus Eeepc 1000H which has an Intel graphics chip started having these compositing problems after the upgrade of the slackware-current kernel to 2.6.35.7 (i.e. before the upgrade of X.Org or mesa). As long as you were not using compositing in KDE 4.5, you would not see this problem at all.
The issue has been addressed in mesa (the library used by X.Org to enable software and hardware accelerated graphics). Slackware’s mesa was updated to 7.9 today and KDE’s compositing desktop is working now! My T400 with Intel graphics is happy again, as will be my EeePC after I upgrade that!

VLC and fullscreen video:

I had not expected this one, and I have not been able to find out what caused it. When resizing the VLC window, the dimensions of the embedded video would not grow beyond the actual pixel size of the video stream (i.e. there was no video scaling). I tried downgrading to an earlier version of VLC, I tried running XFCE instead of KDE, but the problem remained painfully visible as a big black border surrounding a tiny video. In the end, I ruthlessly removed the VLC configuration directories “~/.local/share/vlc/” and “~/.config/vlc/”. That helped! But it left behind a feeling of dissatisfaction.

xz (liblzma.so.0):

The xz package (used as the compression tool for the .txz package format) was updated too. The new dynamic library has another version number. I first noticed that I must have forgotten something when KDE refused to start after I finished upgrading. Several applications were spitting out errors about a missing “liblzma.so.0” library. This old library file was added to the “aaa_elflibs” package for compatibility reasons (along with a version of libtalloc.so), but this package is blacklisted in the “slackpkg” program so  “aaa_elflibs” was not getting upgraded. Usually (upgrading between two stable releases) this is the correct approach, because aaa_elflibs should contain redundant libraries. However, right after an update to this package you should run “upgradepkg” on it. I did that, and KDE started up normally again.

And thus starts a period of new play-testing, folks. Have fun, and give us good feedback!

Eric

Section “InputClass”
Identifier      “Trackpoint Wheel Emulation”
MatchProduct    “TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|USB Trackpoint pointing device|Composite TouchPad / TrackPoint”
MatchDevicePath “/dev/input/event*”
Option          “EmulateWheel”          “true”
Option          “EmulateWheelButton”    “2”
Option          “EmulateWheelTimeout”   “200”
Option          “XAxisMapping”          “6 7”
Option          “YAxisMapping”          “4 5”
Option          “Emulate3Buttons”       “true”
EndSection

« Older posts Newer posts »

© 2024 Alien Pastures

Theme by Anders NorenUp ↑