Sunday, May 27, 2012

GuvcView 1.6.0 SlackBuild

I have just pushed an update to my GuvcView SlackBuild into my SlackHacks repository. It's now designed to work with Guvcview-1.6.0, the latest major release of guvcview and since it now has support for PulseAudio, the requirement for this package has been updated in the README.

Please make sure you read them before compiling. Failing to give proper configure option when you don't have PulseAudio package installed on your system will give you an infinite loop. I guess the configure script need to be updated upstream to better support PulseAudio detection.


I also changed the extension name for packages created by my SlackBuild. Now, it uses .txz instead of .tgz. Since it's designed for Slackware-Current, there won't be any problem with these changes since it should have full support of LZMA.

Saturday, May 26, 2012

On Progress with Perl-related Packages

Pat has issued another batch of updates in which some of them are already mentioned on the previous update. They need to be rebuilt/upgraded due to changes to PERL 5.16 which broke the packages. Besides known packages being rebuilt, Pat also added a new patch for GLIBC 2.15 to fix problems with Google Chrome segfaulting at Slackware64-Current. I never experienced this problem in Slackware-Current though.

libcaca is also upgraded, meaning that if you are using newer Skype 2.2.0.99 that are statically build, it will work without any problem now. Previously, they complaint because the need newer libcaca library and now Slackware-Current already have it.

Downloading VMWare Tools 8.8.2 Manually

I just noticed that VMWare Workstation 8.0.3 didn't come with the VMWare Tools that is used to enhances the performance of the virtual machine's guest operating system and improves management of the virtual machine. If you don't have VMWare Tools installed, then you might suffer from the following problems:
  • Low video resolution
  • Inadequate color depth
  • Incorrect display of network speed
  • Restricted movement of the mouse
  • Inability to copy and paste and drag-and-drop files
  • Missing sound 
If the VMWare prompted to download and install VMWare Tools 8.8.2 (the latest one available currently) and failed to download them, don't loose hope. You can still download them manually from the vendor itself. Visit this URL and pick the correct build (currently it's 703057) and from the directory, you can travel down to get the Windows/Linux version of the VMWare Tools from packages directory.

To install the VMWare Tools, you need to read the VMWare Tools Installation Guide (PDF).

Hope this helps

Friday, May 25, 2012

Another Rebuilt of PHP/Apache

Both PHP and Apache got rebuilt to make the package more robust and usable for most people. As for Apache, the doinst.sh script now forces to install the new rc.httpd in /etc/rc.d so that people will always have the latest changes. I think it's needed due to changes of the pid location from /var/run/httpd/ to /var/run.

As for PHP rebuilt, it's because there's a difference with how the autoconfigure works in 32 and 64 bit architecture. In 64 bit architecture, there was no problem with thread safe as it's handled automatically by the autoconfigure, but it's not the case in 32 bit system. So the solution is to give an explicit parameter --enable-maintainer-zts so that it compiles fine on 32 bit as well.

Thursday, May 24, 2012

Perl 5.16 Bug Hunting

For those who uses Slackware-Current, you might notice that yesterday, Pat decided to upgrade to Perl 5.16 and of course, there *might* be some broken package due to this migration and some of those problems has been reported to Pat and has been fixed on today's update, but there are still a lot of packages need to be tracked. Pat already mentioned some of them on the Changelog, such as git, imagemagick, linuxdoc-tools, net-snmp, obexftp, perlkde, perlqt, pidgin, pilot-link, subversion, and swig.

Pat can use your help to confirm whether you encountered any problem after upgrading to Perl 5.16 when using the above applications or even better, other applications that are part of default Slackware-Current packages that gets broken after the upgrade to Perl 5.16. Let's just call this Perl 5.16 Bug Hunting session. Please note that you should be using Slackware{64}-Current to be able to participate this session.

Some of the packages already gets upgraded/rebuilt on this batch and more to follow in the near future (hopefully).

Wednesday, May 23, 2012

Security Update: libxml

One security update has been released by Security Team of Slackware and that's libxml. These update is backported to previous version of Slackware.

Along with these update, some problems related with PHP and MySQL that were reported in LQ has been fixed, thanks to Heinz Wiesinger. Pat has also managed to upgrade Perl package to 5.16, which was released few days ago.

Robby Workman has also pushed his changes into Slackware-Current, such as Mesa 8.0.3, pixman, and many other XOrg packages residing in x/. Several package has been rebuilt due to this changes.

Updated GStreamer and gst-plugins-*

I have committed several new SlackBuilds script on my SlackHacks repository and they are a collection of updated SlackBuild script for GStreamer and gst-plugins-{base, good, bad, ugly}. All of them are just updated version from the official SlackBuild script found in the Slackware repository and also SBo project repository.

Actually i needed this packages because after upgrading to Linux Kernel 3.4, amaroK doesn't play MP3 files anymore. I don't know the reason, but i tried to change the Backend settings to VLC, MPlayer, and Xine without luck. I tried to use GStreamer, but it complaint for something (i kinda forgot), so i decided to try upgrading my base GStreamer and also all of the gst-plugins and now i can use the GStreamer Phonon backend on my system and amaroK plays MP3 files nicely again.

On my system, i rebuilt amaroK after upgrading all the GStreamer and gst-plugins packages. I just want to make sure amaroK are linked to the correct libraries.

Tuesday, May 22, 2012

No Sound on Amarok

After upgrading to Linux Kernel 3.4, i noticed that there were no sound on my desktop and workstation. I think it was because of the new kernel and i used to have this problem as well in the past. The solution was to re-execute alsaconf to detect the sound card again. This time, this trick didn't work out. Strange thing is that mpg123 works on terminal/konsole.

Since amaroK is tied with KDE's backend, i tried to change the Phonon backend to Xine and VLC (i used MPlayer as the default), but didn't work as well. I tried GStreamer, but no luck as well. So i think there were some modules in GStreamer that i didn't install on my system. I fired up my browser to download the SlackBuilds and the source from the latest version of GStreamer and all of it's modules and compiled it. Unfortunately, the latest gst-plugins-* removed one module that are required by amaroK, so i had to stay at 0.10.x series for the time being. I re-downloaded the latest 0.10.x series and once everything has been upgraded, i recompiled amaroK 2.5.0.

When amaroK has been finished compiling, i switched to Phonon Gstreamer and now amaroK is able to play MP3 files again.

VMWare Workstation 8.0.3 and Linux Kernel 3.4 Patch

Linux Kernel 3.4 has been released by Linus Torvald yesterday and i have built the latest Linux Kernel on my machines and tested that VMWare Workstation 8.0.3 (and pressumably VMWare Player too) worked well with the latest Linux Kernel + patches.

First off, remove your old VMWare installation by removing all files under these directories:
/etc/vmware*
/usr/lib/vmware*

Next, start your VMWare installation using --ignore-errors parameter like this:
./VMware-Workstation-Full-8.0.3-703057.i386.bundle --ignore-errors

After that, you download the patch that you can fetch on my SlackHacks repository. Give execute permission to the bash script and start it using
./patch-modules_3.4.0.sh

It will patch and recompile all VMWare modules and in the end, it should work again :)

If you encountered any errors, please read the whole post, starting from the top just to make sure you started with a clean installation of VMWare. Also, give detailed specs if you wanted to report any problems with this patch.

Credit goes to the author of this patch, not to me.

Monday, May 21, 2012

Linux Kernel 3.4 Released

After having 7 RC releases, finally Linus Torvalds is convinced with the development of Linux Kernel 3.4 and just pushed out Linux Kernel 3.4 and announce it on Linux Kernel Mailing List.

There was a last-minute changes from Peter Alvin about the GNU ld bug, but Linus took the patch anyway.

As always, please read Kernel Newbies entry for Linux Kernel 3.4 for human-readable ChangeLog. The major highlights on Linux Kernel 3.4 are:
  1. Btrfs updates
    1. Btrfs: Repair and data recovery tools
    2. Btrfs: Metadata blocks bigger than 4KB
    3. Btrfs: Performance improvements
    4. Btrfs: Better error handling
  2. GPU drivers
    1. GPU: Early support of Nvidia GeForce 600 'Kepler
    2. GPU: Support for RadeonHD 7xxx and Trinity APU series
    3. GPU: Support of Intel Medfield graphics
  3. New X32 ABI: 64 bit mode with 32 bit pointers
  4. x86 cpu driver autoprobing
  5. Verifiable boot path with the device mapper "verity" target
  6. Support a external read-only device as origin source of a thin provisioned LVM volume
  7. perf: GTK2 report GUI, better assembly visualization, branch profiling, filtering of users and threads
  8. 'Yama' security module
  9. QNX6 filesystem

Slackware Package Tracker

Matteo Pomponi has created a new web-based Slackware Packages Tracker which can be used to track/search Slackware packages resides in official, SlackBuilds, or universe repository (slacky.eu).

So far, the application are only being set up to search for Slackware 13.37 and -Current (both 32 and 64 bit), but it can be easily enhanced to support more version in the future because all Slackware packages are highly structured. As for third party repository, the Tracker also displayed the required dependency, thanks to the slack-required file that tracks the dependency packages needed.

Although it's still marked as testing, but in overall, all of the functions are working nicely, but beware when you tried to search a package name that are so general, for example, "lib". Try to filter the repository and architecture first so that you will not have to wait for too long.

Sunday, May 20, 2012

Security Update: OpenSSL and Development Tool Major Changes

I opened my iPad this morning and browsed the Slackware-Current repository in OSUOSL and i noticed that the modified date has changed into May, 19, which means there's an update for Slackware-Current and yes, there are some changes in -Current which i think most suitable for developers.

Besides releasing one security update for OpenSSL, Pat also introduced several new major version of development tool packages, such as MySQL (5.5.24), HTTPD (2.4.2), and PHP (5.4.3). So now the LAMP stack has been upgraded to the latest version and there's one package left, which is Python which is still at 2.6.6 while the upstream has moved out to 2.7 and 3.2 (and soon to be 3.3). Python users will have to wait a little longer i guess.

Please note that PHP 5.4 does introduce some incompatibilities compared to previous 5.3. You might want to read the Migration Guide and the Release Announcement

Other than development tools, Pat also upgraded/rebuilt several libraries and packages, such as gettext{-tools}, amarok, apr{-utils}, perl, neon, qt, redland, openldap-client, libhangul, scim-hangul, MPlayer, gv, and pan.

Saturday, May 19, 2012

New NVidia Linux Driver

NVidia has released another Linux driver, but this time, the amount of new features are none. The new driver only fixed one bug affecting some G-Sync configurations which could cause active stereo content to be inverted on some display devices. The purpose of this driver is to add support for their new GPU products, particularly
  • GeForce GTX 670
  • GeForce 605
  • GeForce GT 610
  • GeForce GT 630
  • GeForce GT 640
  • GeForce GT 645 
You can download them now for 32 and 64 bit machines.

Friday, May 18, 2012

New Linux Printer Driver on SlackHacks

One of the Indonesian Slackware Community asked for driver for his Canon printer, Canon Pixma MP 287. He found a source for the driver, but unfortunately there's no SlackBuild for it, so i tried to create a SlackBuild script for it using the idea of how ArchLinux created their PKGBUILD. Luckily, the conversion works and now it has been uploaded to my SlackHacks repository.

This driver supports a variety of Canon Pixma series, particularly:
  • mp250 
  • mp280
  • mp495
  • mg5100
  • ip4800
  • mg5200
  • mg6100
  • mg8100
Please note that you need to specify the model when you are building it. For example, to build a driver for mp250, you would execute the SlackBuild like this:

MODEL=mp250 ./cnijfilter.SlackBuild
 
Let me know if you use this driver and it works (or it doesn't work) so i can improve it in the future.

Thursday, May 17, 2012

CUPS 1.5.3 Released

CUPS 1.5.3 has been released to public and for those who have been having problem with CUPS available on Slackware-Current (1.4.8), you might want to try out the newest CUPS version. According to the announcement, this version provides an improved USB backend based on libusb 1.0 and fixes a number of PostScript, SSL, authenticated printing, and networking issues.

I have updated my CUPS SlackBuild script to 1.5.3 on my SlackHacks and i also added a new SlackBuild for libusb. It's an updated version from the one available on Slackware-Current, and i hope this will bring improvements for USB-based devices, including printers and scanners. So that's why i added the latest version on my SlackHacks. If you want to test this CUPS SlackBuild, i would recommend you to upgrade/install/build libusb first.

Wednesday, May 16, 2012

More VMWare Modules on Linux Kernel

There's a good news from VMWare for their users. Andrew Stiegmann, representing VMWare has announced a RFC for inclusion of two VMWare modules into the Linux Kernel,Virtual Machine Communication Interface (vmw_vmci) and VMCI Sockets (vmw_vsock) kernel modules. This announcement was sent to Linux Kernel Mailing List and it consists of 11 patches in total.


When these two modules gets included in the Linux Kernel, that means less patches will have to be developed by third party whenever new major kernel released by Linus as it has been included in the kernel itself and it will stays compatible with the VMWare products. Don't expect this to come in Linux Kernel 3.4, because the best chance for this module to get accepted is Linux Kernel 3.5 merge window and that if he didn't miss it and Linus is willing to accept it.


Oh, i love this great news. Whenever there's a new Linux Kernel release by Linus, there are two things that i have to watch out, NVidia driver and VMWare. When this modules gets included, my problems will be lessen and it will be an enjoyful Linux Kernel upgrade process.

SlackHacks Update

I just wanted to give you some updates about my SlackHacks repository. First, i would like to remind you that SlackHacks will only host updated version of SlackBuild from official Slackware or SlackBuilds project that are tested for Slackware-Current. This means that SlackBuilds that are hosted in SlackHacks are not permanent.

If one of the upstream (Slackware/SlackBuilds) has updated their SlackBuild scripts collection which has the same version with the one on my SlackHacks, i will delete my SlackBuild. This will make less confusion and people will have to find them on upstream sources. I can make an exception for this, and that's when a new patch is needed to work on Slackware-Current and it's not available on Slackware/SlackBuilds repository.

Secondly, i would like to announce some removal that has happened on my SlackHacks due to updates on SlackBuilds. One of the package that got removed was OpenCV which has been updated on SBo to the latest version. Since the SlackBuild works for -Stable and -Current, i removed my updated SlackBuild on my SlackHacks.

Do you have any idea about packages that it's SlackBuilds are not yet available on Slackware or SlackBuilds project ? Let me know and if possible, i can add them on my SlackHacks repository.

Friday, May 11, 2012

PowerTop 2.0 Released

PowerTop 2.0 has been released by Intel Open Source Technology Center and this new version brings a major overhaul of the code base, and adds exciting new features.

According to the press release, there are three highlights on this release:
  • Greatly enhanced diagnostic capabilities using the Linux kernel perf framework
    • The first big change is the use of a hardened library called libparseevents, for accessing the kernel "perf" infrastructure. With this enhancement, they are able to provide much more accurate data, and be more flexible with any future kernel development. There has been a great deal of work done in the area of CPU data measurement and diagnostics. Full accurate support was added for CPU idle, frequency, and power traces, along with expanded frequency state reporting for CPUs with more than 10 states
  • New tab-based UI which displays more detailed information in real time
    • Overview Tab: details the summary information about total CPU and wakeups per second for the System, GPU, and VFS ops. Within the summary view, you also see the consumer status for interrupts, devices, timers, processes, and more.
    • Idle stats tab: details the summary information on the various processor cores, and the status of the processor package.
    • Frequency stats tab: details the summary information about the clock speeds, and the percentage used in said clocks, for each processor core and package. 
    • Device stats tab: details the summary device activity overview, network device transmission rates, and GPU ops rates.
    • Tunables tab: summarizes our best known diagnostic recommendations and options to apply. This tab is also interactive with the ability of allowing you to toggle the options while in interactive mode. So in real time, you can see what affect PowerTOP’s recommendations will have on power.
  • Advanced reporting capabilities for offline analysis including HTML5 and CSV formats.
    • HTML: The HTML report contains all the information seen in the real time UI, but in a single static report. Additionally, we are happy to say that PowerTOP’s HTML reports are also in an HTML5 application format, giving any user with an HTML5-supported browser a clean, organized tab-based report. As nice as this is for reviewing data, there is also the ALL tab in the HTML5 application that presents all the data in one long format for the total picture. This is also the standard format for HTML reports generated for non-HTML5 browsers. To close the gap in your wants and needs, PowerTOP v2.0 now reports the tunable recommendations. Although PowerTOP is not a permanent tuning tool, PowerTOP indeed has the ability to test the tunable effects of its suggestions. As such, it was only reasonable that we include these tunables in the report.
    • CSV: The CSV report is a single, static, comma-separated, value-delimited report, giving you ultimate control for data manipulation for your specific needs, such as trending and analytical analysis.
This release also includes some enhancement from previous releases:
  • Increased WLAN support—PowerTOP now supports multiple WLAN interfaces
  • Enhanced i915 driver support
  • More robust battery data acquisition
  • Real time measurement support for USB hot-plug
Please note that the Project's Homepage is now located at https://01.org/powertop

For those who are interested to try building this package, please visit my SlackHacks repository where i have uploaded a SlackBuild script for this package. You can download the source for PowerTOP 2.0 from the official website.

Update (May 24): The same version has been included in the -Current repository per May 24, so the SlackBuild no longer available on SlackHacks

Thursday, May 10, 2012

Security Update: php

Pat has released an updated version of PHP-5.3.13 which brings the complete fix for CVE-2012-2311 which was only delivered partially in previous release, thus Pat waited for the permanent solution just few days after the previous release was announced.

Even though PHP-5.3 is still marked as stable, i personally would like to have next Slackware to have PHP-5.4 because it will have longer support and this version has more strict rules than before because it removes some legacy features such as magic quotes, Safe mode, register globals. In overall, this improves PHP security, but it will requires developers to adjust their scripts properly to be compatible with PHP-5.4. There's always a trade-offs between security and comfort.

He also rebuilt wicd to provide upstream patch to fix a bug that disallows users accepting a passphrase for a new password protected access point.

Tuesday, May 8, 2012

Slackware Linux Got DistroWatch April Monthly Donation

I recently found out that DistroWatch has been running a monthly donation program since 2004 (that's 8 years ago). They put an advertising page in which users/readers/contributors can donate to them using PayPal or Credit Cards or buy an advertisement space and then DistroWatch will pick one of the projects every month and use the money they received to give donations to.

Well, in the last donation program, Slackware Linux gets selected and received USD 500 in cash. So far, it's the highest paid donation ever made by Distrowatch along with Gentoo Linux, Blender, and MythDora.

Again, congratulations to Slackware Linux and also to Patrick Volkerding himself as the BDFL at Slackware

Security Update: Pidgin

Pidgin 2.10.4 is now released to fix security vulnerabilities (CVE-2012-2214). It's the only package that has security fix tag on the ChangeLog.

For those who have been using the old xf86-input-{keyboard,mouse} and get lost when previous XOrg stack updates went in, you have good news awaiting for you. As promised, Robby (and Pat) did release an upgrade to both package and now it should fix the ABI version differences and make your hardware works again.

libvncserver, binutils, and oprofile are also upgraded to the latest version.

Monday, May 7, 2012

New Poll

I just realized that i forgot to make a new poll after they were stopped on April and i promised to set a new one on May. So sorry. I really forgot about this. I was busy with my SlackHacks and also due to Slackware-Current recent updates, my focus was on upgrading my machines to the latest version.

So, here's a new poll that will be running for the next two months and the topic is about Slackware's Website. We all know that the official web site of Slackware Linux has been up and down lately and people have been scared that it might be a sign of Slackware is dying (which is not relevant at all IMHO). Well, i wanted to find out what is the meaning of Slackware's Website for you guys?

I possibly can't give any possible answers, so if your answers is not listed on the options list, you may pick others and give your answers in the comment area. I can't add it once someone voted for the poll, but i will try to count every answers you have written when the poll finished on July.

Happy Voting !!

VMWare Workstation 8.0.3 and Linux Kernel 3.3

As promised, i am upgrading my VMWare Workstation to the latest version, 8.0.3 and see if it works with Linux Kernel 3.3.x (i used 3.3.4).

First off, i removed all previous VMWare configurations and libraries by using this two commands (note that there are no space between vmware and *):
rm -rf /etc/vmware*
rm -rf /usr/lib/vmware*

Next, i start the VMWare installer using this command:
./VMware-Workstation-Full-8.0.3-703057.i386.bundle --ignore-errors

Installation works as intended and then, i used this patch (my previous patch mentioned on this blog post). Don't forget to replace this line in patch-modules_3.2.0.sh before continuing to reflect the version you used:
vmreqver=8.0.2
into
vmreqver=8.0.3

and finally, ran :
vmware-modconfig --console --install-all

voila..... everything works again.

Here's the screenshot of the latest VMWare Workstation running on Linux Kernel 3.3.4

New Package on SlackHacks: mysql-workbench

I have added a new version of mysql-workbench (5.2.39) on my SlackHacks along with it's build order and dependency list. It appears that there's one new package that is not available on SBo yet, which is ctemplate. I have created a SlackBuild script for that package and now it also resides on my SlackHacks repository.

I have tried to track every dependencies required for this package, but since some of them may already be installed on my machine, i may not notice it. Let me know if there's some missing requirements that are not listed below:
- lua (available on Slackware)
- wxGTK-2.8.12/wxPython-2.8.12 (available on SBo)
- sqlite3 (available on Slackware)
- ORBit2 (available on Slackware)
- GConf (available on Slackware)
- libsigc++-2.2.10
- glibmm-2.32.0
- cairomm-1.10.0
- pangomm-2.28.4
- gtkmm-2.24.2
- ctemplate-2.2
- paramiko-1.7.7.1 (available on SBo)
  - pycrypto-2.5
- pexpect-2.3

Update: (May 12): Yesterday, Walesa informed me that MySQL Workbench requires SSH Tunnel Manager and it's not working on the package created by my SlackBuild script. I debugged it and found the problem. It seems that it requires paramiko (which depends on pycrypto), so i updated the README to add additional dependency. Since paramiko in SBo is already at the latest version, i don't have to add them into my SlackHacks, so i just added updated version of pycrypto-2.5 (pycrypto in SBo is still at 2.3).

One more thing. I added some note about changing how MySQL accept incoming connection. Since by default Slackware configuration, MySQL was  set up to deny accepting incoming connection from outside, you will have problem using MySQL Workbench since it uses SSH tunnel manager which creates a connection into your own machine but treated like an incoming connection. In order to fix this, you must allow MySQL to accept incoming connection by editing /etc/rc.d/rc.mysqld and comment this line
SKIP="--skip-networking"
and then restart your MySQL Daemon by issuing:
/etc/rc.d/rc.mysqld stop
/etc/rc.d/rc.mysqld start


Here's a screenshot of the new MySQL Workbench:

Saturday, May 5, 2012

Massive XOrg Updates

As promised, even though there has been lack of updates in public changelog, that doesn't stop Slackware team to work on updates in the private area. Robby Workman has been doing an extensive work in XOrg area and here are what we got in this changelog: a massive XOrg updates. Slackware-Current now uses a combination of XOrg-1.12, Mesa-8.0.2, xf86-video-intel-2.19.0. This brings the XOrg stack to the latest version available.

There are several packages that gets upgraded besides XOrg, namely tree, llvm, OpenSSH, bluedevil, libwnck, fribidi, and network-scripts.

Update (May 6): I see many people forgot to read the changelog and they just ran slackpkg update; slackpkg upgrade-all without running slackpkg-install-new and slackpkg clean-system to install new packages, such as llvm, freeglut, libXcm, libXaw3d (replacing xaw3d), mtdev, xcb-util-image, xcb-util-keysyms, xcb-util-renderutil, xcb-util-wm, and xf86-video-modesetting and remove removed packages such as scripts, xaw3d, xf86-video-radeonhd, xf86-video-sisusb, xf86-video-tseng, and xf86-video-xgi. As a result, they are left with no keyboard and mouse working when they entered desktop.

Please read the ChangeLog before upgrading packages in -Current. Make that a procedure :)

NVIdia Linux Driver 295.49 Released

NVidia has released an update for Linux Driver (295.49). This brings new support for GeForce GTX 690 and also fixed performance regression found on previous release (295.40) which i posted on this SlackBlogs as well : Do Not Use NVidia Driver 295.40. This driver also fixed a problem where starting, stopping, and moving OpenGL application windows was very slow on Quadro FX 4600, Quadro FX 5600, GeForce 8800 GTX, GeForce 8800 GTS, and GeForce 8800 Ultra.

I have confirmed that this driver works as intended. I can freely use my desktop as it used to be, so it's recommended to upgrade to this version if you are using a modern NVidia GPU.

VMWare Workstation 8.0.3 Released

VMWare has released updates to VMWare products, including Workstation, Player, Fusion, ESXi and ESX products.They were updated due to a security advisory to fix CVE-2012-2449 and another bug fixes to fix CVE-2012-2450 according to the release notes.

I will try to download and install this package and let's see if the patch is still working on Linux Kernel 3.3.4 or not. I have seen that Stefano Angeleri has managed to post a patch for Linux Kernel 3.4, but since it's not yet released, i doubt many people will use that patch. If you are curious, you can go to his blog.

KDE 4.8.3 and LibreOffice 3.5.3 Packages

Eric Hameleers has pushed two updates for Slackware users and they are KDE 4.8.3 and LibreOffice 3.5.3, a maintenance release that brings bug fixes and also translations updates to two big open source projects.

KDE 4.8.3 brings improvements to the Kontact Suite, bugfixes in Dolphin and many more corrections and performance improvements all over the place, while LibreOffice 3.5.3 is at their latest maintenance release which will be followed with LibreOffice 3.6. I think the new version will be much more interesting as there are 10 students who will work on new features, thanks to Google Summer of Code:
Ten of the new developers are Google Summer of Code 2012 students, who will work at developing the following features:
  • Calc performance improvements;
  • Lightproof improvements;
  • collaborative spreadsheet editing using Telepathy;
  • a Microsoft Publisher import filter;
  • a signed PDF export;
  • a smartphone remote control;
  • a new UI for picking templates;
  • a Java based GUI for an Android viewer;
  • an improved Impress SVG export filter;
  • tooling for more and better tests.

For KDE packages, you can get it on one of this mirrors:

For LibreOffice package, you can get it on one of this mirrors:

GTK+3 Experimental SlackBuild

I'm doing an experiment on building GTK+3 packages for Slackware-Current. Why? Because many packages will require GTK+3 in the future. Nowadays packages are still linked to GTK+2, which is good because we can save time to work on migration to GTK+3 without rush.

I have added the SlackBuild to my SlackHacks repository. It's based on Slackware's SlackBuild script which i updated and modified in order to work with GTK+3. It requires some upgraded packages which you can find in gimp directory because it was part of my previous hack: UnOfficial Gimp for Slackware-Current.

Even though it compiles nicely, there's still some notes on this package. First, it doesn't come with libgtk-x11, which is required by many applications that were linked with GTK+2, such as Mozilla Firefox, GIMP, Acrobat Reader, etc. The impact will be a broken application. I seached through several other Linux distribution and they ended with same results.

Then, i just realized that made a silly move. I used upgradepkg instead of installpkg. GTK+3 is not meant to replace GTK+2, but to work alongside. Bear this in mind: use installpkg instead of upgradepkg to install this package.

As usual, let me know if there's something wrong with  the SlackBuild or if you have some improvements for this package.

Friday, May 4, 2012

UnOfficial GIMP-2.8.0 Package for Slackware-Current

Yesterday was a big day for GIMP developers. They released a major release, GIMP 2.8.0 after three and half years of development and there has been some speculation that this release was never going to make it to public, but it's officially out now.

The major highlight of this release are layer groups, on-canvas text editing, advanced brush dynamics and the much desired optional single-window mode. You can check all the features in the release notes.

I have managed to build GIMP-2.8.0 on my desktop and since GIMP-2.8.0 will take some time before it reaches -Current, i will just put it on my SlackHacks repository. Basically most of them are the -Current's SlackBuild script which i updated a little bit, so if you have -Current repository on your local drive, you can basically use it. Just download the version needed to build GIMP-2.8.0 which i listed below.

Here is my build order and also list of dependency of GIMP-2.8.0 that i can track
GIMP-2.8.0
 - babl-0.1.10
 - gegl-0.2.0
 - atk-2.4.0
   - glib2-2.32.1
     - libffi-3.0.11 (available on SBo)
 - gtk+ 2.24.10
   - pango-1.30
   - gdk-pixbuf 2.26.1

Known problems:
  • gdk-pixbuf package is still missing libgdk_pixbuf_xlib-2.0.so.0 which cause some other packages broken (eg: Acrobat Reader) Fixed  (commit)
Here's the screenshot of single-window mode of GIMP-2.8.0:

Thursday, May 3, 2012

Upcoming NVidia Linux Driver Has RandR 1.2/1.3

While it's still in Beta, but the upcoming NVidia Linux Driver (302.07) brings good news to Linux users worldwide. The new driver will fully support RandR 1.2/1.3, the Resize and Rotate extension for the X.Org Server. You can get them now for 32 bit / 64 bit system.

Another great news from this release is that NVidia will remove the "TwinView" X configuration option; the functionality it provided is now enabled by default. Which means, it will properly detect your multi display devices automatically. You can limit how many display devices are used with "UseDisplayDevice" X configuration option.

They also managed to remove some configuration which is considered obsolete and change the NVIDIA X driver's handling due to RandR being included.

Here's the complete changes since 295.40:
*Fixed a bug that caused OpenGL programs to leak file descriptors when calling exec() on themselves.
*Fixed rendering corruption at the start of new X server generation.
*Added X driver support for RandR 1.2 and RandR 1.3. See "Support for the X Resize and Rotate Extension" in the README for details.
*Extended the MetaMode X configuration option syntax with the following new attributes:
"Rotation" : specifies the display device's rotation
"Reflection" : specifies the display device's reflection
"Transform" : specifies a 3x3 transformation matrix to be applied to the display device
"ViewPortOut" : specifies the region of the mode in which to display pixels
"ViewPortIn" : specifies the size of the region in the X screen to display in the ViewPortOut

For example, "DFP-0: nvidia-auto-select { Rotation=left }".

See "Configuring Multiple Display Devices on One X Screen" in the
README for details.
*Removed the "TwinView" X configuration option; the functionality it provided is now enabled by default.

Previously, the NVIDIA X driver only enabled one display device for an X screen unless "TwinView" was enabled. Now, the NVIDIA X driver enables, by default, as many display devices as the GPU supports driving simultaneously. To limit how many display devices are driven by an X screen, use the "UseDisplayDevice" X configuration option.

*Added a "CurrentMetaMode" attribute to the nvidia-settings command line, to query and set the current MetaMode.

As an example, these two commands are equivalent:


xrandr --output DVI-I-2 --mode 1280x1024 --pos 0x0 --output DVI-I-3 --mode 1920x1200 --pos 1280x0


nvidia-settings --assign CurrentMetaMode= "DVI-I-2: 1280x1024 +0+0, DVI-I-3: 1920x1200 +1280+0"

*Removed overscan compensation configurability from NV-CONTROL and nvidia-settings. This can be configured, with finer granularity, through the ViewPortIn and ViewPortOut MetaMode attributes. See "Configuring Multiple Display Devices on One X Screen" in the README for details.
*Altered mode validation such that for digital display devices the X driver only allows, by default, modes which are reported in the EDID. Previously, the NVIDIA X driver allowed other modes, but implicitly scaled those other modes to one of the EDID modes. Now, only the modes in the EDID are validated and the X driver does not do any implicit scaling. Any desired scaling can be configured explicitly through the new "ViewPortIn" and "ViewPortOut" MetaMode attributes. See "Configuring Multiple Display Devices on One X Screen" in the README for details.
*Removed Flat Panel Scaling configurability in nvidia-settings. Any desired scaling can be configured through the new "ViewPortIn" and "ViewPortOut" MetaMode attributes.
*Hotplug events (specifically, the RRNotify_OutputChange RandR event) are now generated when display devices are connected and disconnected from the GPU. Many desktop environments automatically resize the X desktop in response to these events.
*Added display device name aliases, such that X configuration options that use display device names can refer to a display device by one of several names, including the RandR Output name for the display device. The X log reports the list of aliases for each display device.
*Updated EDID parsing to include more complete support for EDID 1.4 and more recent versions of CEA-861.
*Removed the "Rotate" X configuration option. This was used to statically rotate the X screen. Its functionality is replaced by the "Rotation" MetaMode attribute and RandR 1.2 rotation support. See the README for details.
*Removed the "RandRRotation" X configuration option. This enabled configurability of X screen rotation via RandR 1.1. Its functionality is replaced by the "Rotation" MetaMode attribute and RandR 1.2 rotation support. See the README for details.
*Removed support for the following NV-CONTROL attributes:
NV_CTRL_GPU_SCALING
NV_CTRL_GPU_SCALING_DEFAULT_TARGET
NV_CTRL_GPU_SCALING_DEFAULT_METHOD
NV_CTRL_DFP_SCALING_ACTIVE
NV_CTRL_GPU_SCALING_ACTIVE
NV_CTRL_FRONTEND_RESOLUTION
NV_CTRL_BACKEND_RESOLUTION
NV_CTRL_OVERSCAN_COMPENSATION
NV_CTRL_FLATPANEL_BEST_FIT_RESOLUTION
*Improved rendering performance for RENDER bitmap text.
*Enabled the OpenGL "Sync to VBlank" option by default.
*Added a new option, --restore-original-backup, to nvidia-xconfig. nvidia-xconfig creates a backup of the original X configuration file when modifying an X configuration file that does not appear to have been previously modified by nvidia-xconfig. This option restores a backup of the original X configuration file, if such a backup is found.
*Expose the following additional FSAA modes via NV-CONTROL, nvidia-settings, and through X visuals and GLXFBConfigs:
16X multisample FSAA on all GeForce GPUs
Coverage sample FSAA on G80 and above GeForce GPUs
32X multisample FSAA on G80 and above Quadro GPUs
64X multisample FSAA on Fermi and above Quadro GPUs
*Enabled conformant texture clamping by default in OpenGL.
*Removed support for the GVO Clone mode NV-CONTROL attributes:
NV_CTRL_GVO_DISPLAY_X_SCREEN
NV_CTRL_GVO_X_SCREEN_PAN_X
NV_CTRL_GVO_X_SCREEN_PAN_Y
*Added a new, higher resolution icon for nvidia-settings.
*Updated the NVIDIA X driver's handling of X configuration options that affect an entire GPU, not just a particular X screen running on a GPU (e.g., "NoPowerConnectorCheck"): for such X configuration options, the X driver will now honor the option on any of the X screens configured on the GPU. Prior to this change, the NVIDIA X driver only honored such options on the first X screen configured on a GPU.
*Added a checkbox to nvidia-settings to control the texture clamping attribute. When the box is checked, OpenGL textures are clamped according to the OpenGL specification. When it is unchecked, GL_CLAMP is remapped to GL_CLAMP_TO_EDGE for borderless 2D textures.
*Removed the "Display" and "X Screen" tabs from the "X Server Display Configuration Page" of nvidia-settings, and added a new "Selection" dropdown menu for selecting X screens or display devices. This makes it easier to select X screens/Displays that are hidden. 

Tuesday, May 1, 2012

Security Updates: WiCD

One security update has been released to -Current and also to -Stable and that is wicd which now deliver a full fix to the previous problem (CVE-2012-2095) and also fixed one new bug.

Along with these update are Thunderbird which is bumped to 12.0.1 because some regression that caused POP3 filters to move mail to IMAP folders and some other mail-related problems. Seamonkey is also upgraded to 2.9.1 to fix same problem with Thunderbird and it also fixed some symlinks problem reported here. Tcsh and doxygen are also upgraded due to some request in LQ (here and here).