Gentoo

Attention: open in a new window. PDFPrint

libdmtx has been added to layman overlay

Last Updated on Tuesday, 23 March 2010 23:05 Tuesday, 23 March 2010 22:27

As I just was in the need to create some DataMatrix based 2D barcodes I searched for a library that allows creation of this barcodes using C++. I found a library allowing to create and read such 2D barcodes called libdmtx. The library is available licensed by GPLv2.1 and further. So I added an ebuild to my layman overlay.

DataMatrix

It also provides the wrappers to use the library within Java, PHP, Python or Ruby and is useable from commandline by calling dmtxwrite to create or dmtxread to recognize 2D barcodes.

 
Attention: open in a new window. PDFPrint

Hostname changes by NetworkManager while Xorg running

Last Updated on Thursday, 31 December 2009 11:39 Friday, 11 December 2009 09:28

Some days ago I decided to give the NetworkManager a new try on my Gentoo system. Month ago I gave up using it as I had some trouble getting a stable wireless lan connection working and decided to wait for a newer version. I had some minor problems to get it running as I had to rebuild the hal and the dbus package because nm-applet has kept telling me, that my wireless-device is not able to perform network scans or able to create a wireless connection.

After removing all /etc/init.d/net.ath* and /etc/init.d/net.eth* files I was able to establish network connections by using the NetworkManager. But there is an other problem I got:

NetworkManager used dhcp to determine and set the host and domainname of the system. As I use my notebook within different networks this is mostly a useful feature but brings some problems with it. As I am using Xauthority, a change of the hostname causes in a broken authority which means that applications will not find any MIT-MAGIC-COOKIE-entry in the users .Xauthority file that fits the host anymore. If you try to start a new application afterwards, you will get a

No protocol specified.

message on your terminal. One way to fix this is disabling Xauthority, which is not a good idea as it will disable all authentication to your Xorg session. An other way is adding a new entry to your ~/.Xauthority file using the xauth command which I do automatically within a startup script after the NetworkManager has established a new connection. Here we go:

Read more: Hostname changes by NetworkManager while Xorg running

   
Attention: open in a new window. PDFPrint

Libogg and the missing libogg.la file

Last Updated on Thursday, 31 December 2009 00:32 Monday, 23 November 2009 09:19

While I tried updating my system yesterday, I ran into some trouble during the update process of libflac, but this goes as well for any other packages depending on libogg (xine, vlc, etc.).

You will get some messages like this:

/bin/grep: /usr/lib64/libogg.la: No such file or directory
/bin/sed: can't read /usr/lib64/libogg.la: No such file or directory
libtool: link: `/usr/lib64/libogg.la' is not a valid libtool archive

After googling around, I found this bugreport stating that someone has changed the ebuild of libogg to remove all *.la-files. To fix it you should perform the following steps:

  1. Install dev-util/lafilefixer: emege -av dev-util/lafilefixer
  2. Run lafilefixer: lafilefixer --justfixit

If this does not work for you just keep in mind that it is not a bug :)

   
Attention: open in a new window. PDFPrint

GPshell and GlobalPlatform On Gentoo

Last Updated on Thursday, 31 December 2009 00:32 Saturday, 03 October 2009 13:56

As I will start with SmartCard development the next weeks, I was in the need to install gpshell and globalplatform on my gentoo box today. As I could not find any ebuilds in the official portage, I started googling around and found this bug report: http://bugs.gentoo.org/242228

I decided to copy both ebuilds to my layman overlay. I changed the directory of app-crypt/gpshell to dev-util/gpshell as it fits there much better and added the debug-use flag to globalplatform, as it might be useful as well ;).

To install the ebuilds on your system, just use layman to add my overlay and unmask both packages with your system keywords. Afterwards, just execute emerge -av dev-util/gpshell und hope, that it works for you as well.

For usage instructions for the overlay, just take a look at this page: http://www.gadgetweb.de/gentoo/laymanoverlay.html

   
Attention: open in a new window. PDFPrint

VMWare Server 2 on Gentoo (amd64)

Last Updated on Tuesday, 01 December 2009 22:10 Tuesday, 25 August 2009 08:19

I recently decided to switch from vmware server 1 to vmware server 2 as I had some trouble to get the vmware modules running with my 2.6.29 gentoo kernel. It was not a big deal to get it emerged on my machine, but it I had to do some fixes to get it running on my amd64-system as it was not possible to log into the web interface with the "out-of-the-box" configuration. Theese are the steps I had to do to get it running:

1. Emerge VMWare Server


First, make sure you have unmasked the desired version of the server. I added the following lines to my /etc/portage/package.keywords:

=app-emulation/vmware-modules-1.0.0.24  ~amd64
=app-emulation/vmware-vix-1.6.2.156745*  ~amd64
=app-emulation/vmware-server-2.0.1.156745*  ~amd64

 

Read more: VMWare Server 2 on Gentoo (amd64)

   
Attention: open in a new window. PDFPrint

gadgetweb.de Layman Overlay

Last Updated on Tuesday, 18 August 2009 14:44 Tuesday, 18 August 2009 11:51

What is a portage overlay?

The official gentoo portage contains all official ebuild for your gentoo system. Ebuild are the definition for packages you can install using emerge. Of course, the overlay does not contain all applications available out there. There is a great number of applications not officially supported by the gentoo portage, as it is not possible to manage and add all applications out there. So there might come the time where you want to install an application that is not in the portage.

Read more: gadgetweb.de Layman Overlay

   

More Articles...

Page 1 of 2