You are not logged in.

#1 2006-11-03 23:20:47

kozaki
Member
From: London >. < Paris
Registered: 2005-06-13
Posts: 671
Website

4L (LaCie's LightScribe Labeler for Linux) : advice wished!

As K3b Founder Sebastian Trueg said, "We're happy to see that LaCie is developing tools for Linux users, and are pleased to work with them to make it happen. With the LaCie LightScribe Labeler for Linux, [Linux] users now have access to the latest disc-labeling technology from LightScribe."
http://www.k3b.org/

I'm making the PKGBUILDs but some advice on the process would be helpfull smile
So far, installed with those PKGBUILDs, 4L-gui launches on my Arch (but seems to lack some functionnality) and 4L-cli segfaults even if it prints the options.

_Be aware that those PKGBUILD are not finished yet_

LightScribe Host Software v1.4.113.1 for Linux

# Contributor: kozaki <kozaki>

pkgname=lightscribe
pkgver=1.4.113.1
pkgrel=1
pkgdesc="LightScribe Host Software v1.4.113.1 for Linux"
url="http://www.lacie.com/company/news/news.htm?id=10293"
license=('custom')
depends=('libstdc++5')
makedepends=('rpmextract')
depends=(rpmextract)
source=(http://www.lacie.com/download/drivers/lightscribe-1.4.113.1-linux-2.6-intel.rpm)
md5sums=('9a692c0fa12501598d5c495f028e2a3e')

build() {
        # Extract RPM
        rpmextract.sh $pkgname-$pkgver-linux-2.6-intel.rpm

        # Copy binaries and data files
        install -d $startdir/pkg/etc
        install -d $startdir/pkg/usr/lib/lightscribe/{res,updates}
        # or : install -d $startdir/pkg/opt/lightscribe/{res,updates} but needs to modify etc/lightscribe.rc
        install -d $startdir/pkg/usr/share/doc

        cp etc/lightscribe.rc $startdir/pkg/etc
        cp usr/lib/liblightscribe.so $startdir/pkg/usr/lib
        cp usr/lib/liblightscribe.so.1 $startdir/pkg/usr/lib
        cp -R usr/lib/lightscribe/res $startdir/pkg/usr/lib/lightscribe
        cp usr/lib/lightscribe/updates/fallback.sh $startdir/pkg/usr/lib/lightscribe/updates
        find $startdir/pkg/usr/lib -type f -exec chmod 644 {} ;
        find $startdir/pkg/usr/lib -type d -exec chmod 755 {} ;
        chmod 755 $startdir/pkg/usr/lib/lightscribe/res/*
        chmod 755 $startdir/pkg/usr/lib/lightscribe/updates/fallback.sh
        cp usr/share/doc/lightscribeLicense.rtf $startdir/pkg/usr/share/doc
        }

LaCie's LightScribe Labeler for Linux

# Contributor: kozaki <kozaki>

pkgname=4l
pkgver=1.0r6
pkgrel=1
pkgdesc="LaCie's LightScribe Labeler for Linux"
url="http://www.lacie.com/company/news/news.htm?id=10293"
license=('custom')
depends=('fontconfig' 'lightscribe')
makedepends=('rpmextract')
source=(http://www.lacie.com/download/drivers/4L-1.0-r6.i586.rpm)
md5sums=('11fc8b2daeaed2b61a567056413bdefd')

build() {
        # Extract RPM
        rpmextract.sh 4L-1.0-r6.i586.rpm

        # Copy binaries and data files
        install -d $startdir/pkg/opt/4L/{doc,templates,translations}
        install -d $startdir/pkg/usr/bin
        cp usr/4L/4L-cli $startdir/pkg/opt/4L
        cp usr/4L/4L-gui $startdir/pkg/opt/4L
        cp usr/4L/lacie_website.sh $startdir/pkg/opt/4L
        cp usr/4L/doc/4L_User_Manual.pdf $startdir/pkg/opt/4L/doc
        cp -R usr/4L/templates $startdir/pkg/opt/4L
        cp -R usr/4L/translations $startdir/pkg/opt/4L
        find $startdir/pkg/opt/4L -type f -exec chmod 644 {} ;
        find $startdir/pkg/opt/4L -type d -exec chmod 755 {} ; # what about the bit SUID on 4L-cli ?
        chmod +x $startdir/pkg/opt/4L/4L-cli
        chmod +x $startdir/pkg/opt/4L/4L-gui
        ln -s /opt/4L/4L-cli $startdir/pkg/usr/bin/4L-cli
        ln -s /opt/4L/4L-gui $startdir/pkg/usr/bin/4L-gui
        }

etc/lightscribe.rc :

ResourceDir=/usr/lib/lightscribe/res;
UpdateScriptDir=/usr/lib/lightscribe/updates; 

4L-1.0-r6.i586.rpm has 4L-cli with a bit SUID :

-rwsr-xr-x 1 kozaki users 60540 aoû 10 15:20 4L-cli


Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery smile) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9

Offline

#2 2006-11-03 23:33:51

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: 4L (LaCie's LightScribe Labeler for Linux) : advice wished!

Thanks for working on this!
I have Lite-On SHW-16H5S so I'll do testing of these tools in near future.
Sadly I have no time now to help you with these PKGBUILDs. sad
I think it segfaults because it's compiled with different libs or something like this.


to live is to die

Offline

#3 2006-11-04 00:12:33

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: 4L (LaCie's LightScribe Labeler for Linux) : advice wished!

no source code? hmm

Offline

#4 2006-11-04 00:53:33

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: 4L (LaCie's LightScribe Labeler for Linux) : advice wished!

iphitus wrote:

no source code? hmm

No. Because LightScribe is closed and patented. sad
At least LaCie has made these tools. This is just a start. Will see what happens next.


to live is to die

Offline

#5 2006-11-04 13:13:45

kozaki
Member
From: London >. < Paris
Registered: 2005-06-13
Posts: 671
Website

Re: 4L (LaCie's LightScribe Labeler for Linux) : advice wished!

www.k3b.org wrote:

Although [LaCie] wanted to support the development of an Open-Source software, licensing issues always stood in the way of that. Now they released the Closed-Source but free LightScribe Labeling application 4L for Linux and it is about time Linux users get to use LightScribe

Remember lightscribe is HP patented.

Romashka > Hi smile
Yeap, it seems using LightScribe on Arch may be a little more complicated than just to put the .rpm's files into AL...

I think I missed some dependencies; may someone confirm this ?
$ ldd /usr/bin/4L-cli

linux-gate.so.1 =>  (0xffffe000)    liblightscribe.so.1 => /usr/lib/liblightscribe.so.1 (0xb7e5d000)
    libpthread.so.0 => /lib/libpthread.so.0 (0xb7e4a000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7d69000)
    libm.so.6 => /lib/libm.so.6 (0xb7d44000)
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7d38000)
    libc.so.6 => /lib/libc.so.6 (0xb7c17000)
    libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb7b5f000)
    /lib/ld-linux.so.2 (0xb7fd7000)

$ ldd /usr/bin/4L-gui

linux-gate.so.1 =>  (0xffffe000)
    libXi.so.6 => /usr/lib/libXi.so.6 (0xb7ede000)
    libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7ed5000)
    libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb7ed1000)
    libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb7ec8000)
    libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb7ec4000)
    libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7e4c000)
    libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7e22000)
    libXext.so.6 => /usr/lib/libXext.so.6 (0xb7e14000)
    libX11.so.6 => /usr/lib/libX11.so.6 (0xb7d28000)
    libdl.so.2 => /lib/libdl.so.2 (0xb7d24000)
    libpthread.so.0 => /lib/libpthread.so.0 (0xb7d10000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7c2f000)
    libm.so.6 => /lib/libm.so.6 (0xb7c0a000)
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7bff000)
    libc.so.6 => /lib/libc.so.6 (0xb7ade000)
    libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb7ad9000)
    libz.so.1 => /usr/lib/libz.so.1 (0xb7ac6000)
    libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7aa7000)
    libXau.so.6 => /usr/lib/libXau.so.6 (0xb7aa4000)
    libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7a9f000)
    /lib/ld-linux.so.2 (0xb7f03000)


Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery smile) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9

Offline

#6 2007-01-26 16:26:10

astrocrep
Member
Registered: 2006-06-02
Posts: 34

Re: 4L (LaCie's LightScribe Labeler for Linux) : advice wished!

Updates on this?

Anyone got it working?

-Rich


HP DM1Z-4100 // 11.6" LED 1366x768 // 1.65ghz AMD E-450 // 4gb Ram // 320gb hdd // ATI 6320 // 100% Archlinux

Offline

#7 2007-01-26 20:29:09

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: 4L (LaCie's LightScribe Labeler for Linux) : advice wished!

astrocrep wrote:

Updates on this?

Anyone got it working?

I've uploaded lightscribe, lightscribe-labeler, lightscribe-sdk and 4l packages into AUR, but LightScribe is not working in Arch currently.
This is well-known issue which exists on many other distros too.
I'm trying to find the reason why it works only on some specific versions of some distros.
(thanks for help, kozaki!)


to live is to die

Offline

#8 2007-01-27 00:09:38

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: 4L (LaCie's LightScribe Labeler for Linux) : advice wished!

I filed a ticket for support with Lightscribe last weekend, but they haven't gotton back to me. I was intentionally vague about what system that I'm running simply because I wanted them to write back.

"Err... gee... I'm on 64 bit Arch Linux."

Yeah, that's going to get a dialog going!

Offline

Board footer

Powered by FluxBB