Calendar

libreoffice: updated to 4.4.1. Note that these packages are compiled on Slackware 14.1 (and work fine on -current). These packages will not work on Slackware 14.0 (I have libreoffice-4.1.6 packages for that).

vlc: updated to 2.2.0. First major release in a long time. New libraries: asdcplib, speexdsp. Several internal libraries got an update as well: ffmpeg, libass, libbluray, libdvbpsi, libdvdcss, libdvdnav, libdvdread, libebml, libmatroska, libupnp, libvdpau, live, orc, speex. Usual caveat: versions that can not only DEcode but also ENcode mp3 and aac audio, and can play […]

libreoffice: updated to 4.4.0. Note that these packages are compiled on Slackware 14.1 (and work fine on -current). These packages will not work on Slackware 14.0 (I have libreoffice-4.1.6 packages for that). Recommended: if you work with MS Office documents a lot, you may want to install the two open source font packages google-caladea-font-ttf and […]

chromium: updated to 40.0.2214.111 with working support for Widevine CDM (you will need to install chromium-widevine-plugin for that) chromium-widevine-plugin: upgraded to 40.0.2214.111 (needs chromium of the same version)

This is KDE 5_15.02_2 for Slackware, consisting of the KDE Frameworks 5.7.0, Plasma 5.2.1 and Applications 14.12.2. This is meant only to be installed on top of Slackware -current and it will *replace* any version of KDE 4 you migh thave installed! New & changed since my KDE 5_15.02 release: - deps/libssh version 0.6.4 was […]

Meta

Results of a few days of packaging software

I hinted at the upcoming packages in an earlier post. KDE release team had asked on the packagers mailing list if it would be possible for distros to make early betas available of KDE 4.9 because it needs a lot of testing. It took me a while to find out how to build everything and to discover that not all of the split-off packages (the old “kdemultimedia” has been split up) would compile on Slackware. While I was busy with that, I discovered that there was a new IcedTea release too, which meant I could compile a new OpenJDK package.

KDE 4.9-beta1

The KDE team will officially announce the sources for the first beta of KDE Software Compilation 4.9 on monday 4 june, after some delay which was caused by a missing soprano package. However, I do not have time for a blog post on monday, being too busy at work, so I will make my packages and scripts available one day earlier.

Keep in mind that the packages for this beta have been compiled on Slackware-current. The upgrade from Slackware’s KDE 4.8.2 to the 4.9-beta1 release (the version number is 4.8.80) should be trivial. There is only one updated dependency (the aforementioned soprano) and none of the “extragear” was upgraded – I focused on the KDE core. If you are interested, grab them, install them, try out as much of the desktop environment as you can, and report the bugs you find!

Note: KDE 4.8.4 packages will be hot on the heels of this package set. I am already compiling it, and will wait until the official announcement on kde.org with making them public.

OpenJDK 7u4

The newest release 2.2 of IcedTea builds the fourth update to the Java 7 platform. Icedtea is a “build harness” – it provides an enhanced way of compiling OpenJDK sources, adding a lot of patches which are not present in the original OpenJDK sources and offering an additional Java web browser plugin, icedtea-web.

I built the OpenJDK 7u4_b21 packages for you, along with the icedtea-web plugin package. Note that Slackware (as with all other distros) is no longer allowed by the new terms of Oracle’s license to distribute the official Oracle binaries of the JDK and JRE. Therefore you have not seen an update to the Java packages in Slackware for a long time. You can update using my native (i.e. compile on Slackware) packages of OpenJDK (the open sourced version of large parts of Oracle’s Java code), or download Oracle’s official binaries yourself and use the official Slackware build script to wrap those binaries into a Slackware package. The choice is yours!

Note: you will find a JRE (java runtime engine) and a JDK (java development kit) package. Only install one of those! The JRE is sufficient if you just want to run Java based applications. You need the JDK if you want to be able to compile Java code. Also, grab the icedtea-web (optional) and rhino (required) packages.

Better even: download them from one of the mirrors. Since the slackware.com web server is up and running again, we have applied a download cap to the team’s member pages which will slow down your retrievals. For instance, you could use my taper.alienbase.nl or Darren Austin’s UK mirror .

Dear Eric,
with Your openJDK packages minecraft does not work, but with the old java packages in slackware-current. So I want to try to build packages from theo oracle java binaries. But can You please tell me, where I find the official Slackware build script? The location is nowhere mentioned.
Best regards from Peter

Comment from Mike Langdon (mlangdn)Posted: June 4, 2012 at 00:16

Thanks, Eric. Just finished the upgrade and all seems well. Even went to check out java for workability. The 3d molecular thingy was pretty cool!

Comment from C. WizardPosted: June 4, 2012 at 05:36

Sorry to report the Java packages do not work. I’ve tried the JDK and JRE packages, separately, along with icedtea and rhino and, sorry, no joy.

That is strange, because I run a Minecraft server 24/7 on my Slackware64-13.37 server and minecraft runs perfectly on my Slackware64-current laptop as well as my -current desktop.

Did you remove the old Slackware jre _and_ jdk packages? Did you install only _one_ of the two openjdk/openjre packages? Did you logout and login again after installing the new Java package?

Eric

Comment from HannibalPosted: June 4, 2012 at 07:42

@peter

I have same problem but with previous Eric build (7u3). The problem was with java wgl library bundled with minecraft. Buiding it manually and place it where minecraft want’s to fix it.

However this is newer build, and you can hit something different.

Comment from C. WizardPosted: June 4, 2012 at 18:00

Running Slackware64-current.
Your previous Openjdk package worked just fine. I tried both of the new packages, separately and each time, re-boot the machine, came back to this page and ran the “tests” you posted in the article. No joy. Don’t know what else to tell you. I’ve gone back to the jdk package from slackware64-current/extra.

Can you be specific please? What errors do you see when visiting those pages? What is the output of these commands (the second will only work if you have the JDK installed):
$ java -version
$ javac -version

Eric

Comment from peterPosted: June 4, 2012 at 23:00

Dear Eric,

I think what Hannibal says is correct. I get
this error message:
java -Xmx1600M -Xms800M -jar minecraft.jar
27 achievements
182 recipes
Setting user: pr144, 825267180489978546
Exception in thread “Minecraft main thread” java.lang.UnsatisfiedLinkError: /home/qubrp01/.minecraft/bin/natives/liblwjgl.so: /home/qubrp01/.minecraft/bin/natives/liblwjgl.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825)
at java.lang.Runtime.load0(Runtime.java:792)
at java.lang.System.load(System.java:1059)
at org.lwjgl.Sys$1.run(Sys.java:69)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:65)
at org.lwjgl.Sys.loadLibrary(Sys.java:81)
at org.lwjgl.Sys.(Sys.java:98)
at org.lwjgl.opengl.Display.(Display.java:132)
at net.minecraft.client.Minecraft.a(SourceFile:184)
at net.minecraft.client.Minecraft.run(SourceFile:657)
at java.lang.Thread.run(Thread.java:722)

There is an ELFCLASS32 error. This error does not exist
with the old 1.6-27 java package. What could I do?

I am using my own minecraft package, which downloads the minecraft.jar from the minecraft.net site when you install the package (I am not allowed to distribute the .jar file). See http://www.slackware.com/~alien/slackbuilds/minecraft/ (the package requires OpenAL too). This package installs a minecraft wrapper script which you definitely need.

One thing to check: if you first installed a jre package, then install the jdk package after that and finally remove that jre package again, you end up with a broken installation. Best to run “upgradepkg –reinstall openjdk-7u4*.txz” to fix that.

Eric

Comment from escaflownPosted: June 5, 2012 at 01:02

Running KDe 4.9 beta1 and so far no bugs: I’m impressed!

Comment from HannibalPosted: June 5, 2012 at 05:59

@peter
I had different wgl error – there was a missing java class which was moved in openjdk or something like that.
From your error, i think you have architectural problem. Either using 32bit minecraft and 64 bit system, or 64bit minecraft and 32bit system. Probably deleting “~/.minecraft/bin/natives” helps, as game should redownload it in proper architecture. Also make sure you install proper open jdk version.

@Eric
It is possible, that bundled wgl is upgraded in minecraft, so now it is running without problems.

Thanks Erik! I’m planning to massively upgrade my Slackware64 these days, it has been a while since last completely upgrade to current. Of course, yours packages are part of standard upgrade. I’m very glad because you packed the newest jdk, and tested it against Jmol, one of my favorite programs coded in java, together with Fiji (ImageJ).
Regards, Ivan

At the first test site there is no indication that Java is even installed on this machine. No box is displayed,
just a couple of lines and then,
“If you cannot see your machine info listed above, please check these additional configurations:
Enable Java through your Web browser
Enable Java through the “Java Plug-in Control Panel”
Clearing your Web Browser Cache
Firefox 3.6 and above requires Java 6 Update 10 or above
Java and Google Chrome Browser
Supported System Configurations
If you are unable to perform any of the steps above due to an error, please reinstall Java. Download and installation instructions”

At the Jmol site nothing happens after clicking “here” to show the animation. The console reports the “linked script is not loaded.”

Comment from peterPosted: June 5, 2012 at 22:04

Dear Eric,
my minecraft problem with openJDK is solved!
If I set
export LD_LIBRARY_PATH=”/usr/lib64/java/jre/lib/amd64″
in my environment, minecraft works. You and the community thank You for Your helpful advices.
Best regards from Peter

Looking at your command prompt “bash-4.2$ ” I wonder if you are perhaps not running a login shell there. It is important that you do, because that is how /etc/profile gets executed which in turn initializes the JAVA environment through /etc/profile.d/openjre.sh or /etc/profile.d/openjdk.sh

Eric

Comment from chrisretusnPosted: June 6, 2012 at 09:50

Just installed KDE, so far no problems. Compiled and installed OpenJDK, it too is working fine.

You wrote:
“Looking at your command prompt “bash-4.2$ ” I wonder if you are perhaps not running a login shell there. It is important that you do, because that is how /etc/profile gets executed which in turn initializes the JAVA environment through /etc/profile.d/openjre.sh or /etc/profile.d/openjdk.sh”

Sorry, you have lost me here. I have no idea what this means. Why would I have to run those commands at all if the package were working properly?
Just installed (upgradepkg) your second build of openjdk and there is no change from the first when testing it at the links provided.

I am looking for clues and possibilities because you are having issues with my Java packages while other people don’t have these issues.

When I saw a prompt “bash-4.2$” I concluded that this is a shell which was started bare, i.e. without sourcing the profile. That put me on the wrong foot… because in your case that shell was started in an X terminal and then your login environment has already been configured (which is proven by the fact that “java -version” actually produced output).

So, please ignore my previous post. I need to look into another direction in order to help you. When you type “about:plugins” in your browser, does the Java plugin actually show up in the page? Do you have the icedtea-web package installed?

Remember that Oracle’s Java contains the browser plugin but that plugin have not been open-sourced. OpenJDK uses a 3rd party technology contained in my separate icedtea-web package to add a browser plugin.

Eric

Comment from BroXPosted: June 9, 2012 at 10:12

I noticed there is no ksecrets in 4.8.80. Does this imply that it should be removed when upgrading to 4.8.80?

Thank you for all your help.
The hard work you have put into Slackware is greatly appreciated (as always ).

I’m starting to think, but really don’t have any idea, that my recent Internet related problems are caused by the ISP, i.e., the connection. I have access to two wireless connections. One is much faster than the other as the router is about 12 feet away. The other is in the building and is slow and not always available. When I’ve tried to do upgrades to ms-winblows Xp (in another partition) it usually fails with the faster connection and I get an error message that translates into “you have connection problem.” On the rare occasion that the slower connection is working there is no problem doing the Xp upgrades. Two different routers, but the same ISP. Who knows why the difference?

Comment from jayceePosted: June 13, 2012 at 18:10

Hey Eric! I just looked through your KDE 4.8.80 packages, and noticed that you packaged libktorrent 1.2.0, even though it’s already in Slackware Current, and you didn’t package KTorrent. May I enquire as to why? Also, just so you know, bugfix releases of KTorrent and libktorrent were issued last week – http://ktorrent.org/?q=node/55.

Yes, it was not necessary to include that in the 4.8.80 package set but I forgot to remove it. Please see my most recent blogpost which announces packages for the new KDE 4.9-beta2. No libktorrent in there.