Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo and Lightscribe?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Geos_One
Apprentice
Apprentice


Joined: 15 Sep 2005
Posts: 250
Location: Austria,Graz

PostPosted: Mon Aug 24, 2009 6:57 pm    Post subject: Reply with quote

BitJam wrote:
Brilliant. Thanks Mario.

I tried it here and all packages worked except the simplelabeler. The "source" file available is now lightscribeApplications-1.18.6.1-linux-2.6-intel.rpm so I bumped the version number of the ebuild (in my local overlay) to 1.18.6.1 and then it worked.

Your overlay will make it much easier for everyone. Thank you.


damm this was an oversight
ok have updated the simple* to the new version.

thx for the bug report
Back to top
View user's profile Send private message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Tue Aug 25, 2009 2:22 pm    Post subject: Reply with quote

Thank you very much from here as well, Mario. I will merge it asap :D
And thanks to BitJam again.

:)
Back to top
View user's profile Send private message
Geos_One
Apprentice
Apprentice


Joined: 15 Sep 2005
Posts: 250
Location: Austria,Graz

PostPosted: Tue Aug 25, 2009 3:30 pm    Post subject: temlates package Reply with quote

the next package on the list is the lightscribe-templates package

also on the todo for lighscribe is add a workaround for 4L-* root privileges problem.

so more to come.

p.s. every new relase of lightscribe is getting worser
for ex. old releases of the lib had the dynamic linking entry for libpthread.so.0
new versoins don't have it but are still using symbols of libpthread and when you try to link something against liblightscribe.so it errors out.
damm how to solve a buggy binary prog.


with every release the fight starts again
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2508
Location: Silver City, NM

PostPosted: Tue Aug 25, 2009 4:16 pm    Post subject: Reply with quote

IIRC (I don't always), the last time I used 4L-gui it worked fine run as a regular user. I'm a member of the cdrom group and the permission on my burner are:
Code:
brw-rw---- 1 root cdrom 11, 0 Aug 25 08:25 /dev/sr0


But I use qlscribe now. It can combine text and graphics and it stores it all in an xml file which is easy to edit. It also can do key => value replacement as explained in this howto. IMO it is nearly perfect as far as features are concerned.

It has a couple of quirks though. First, before running the qlscribe program you must run:
Code:
$ sudo /usr/sbin/lscribed

or you won't be able to access your burner device. I just leave it running in another Konsole tab. I had tried making a script that automatically launches lscribed but I didn't have immediate success and didn't bother pursuing it further. At one point I tried playing with shutting down lscribed and re-starting it and that was easier to do if it was just running in a Konsole tab.

The second quirk is that when you load a .qlx file containing text and a graphic, the graphic always loads but the text only loads about half the time. If you have three text areas then it takes about half a dozen tries before all three text areas will load. This is annoying but the many features of the program:
  • text plus graphics
  • straight and "round" text
  • saving projects in xml files
  • key => value replacement
  • drag/edit text and graphics
far outweight the annoyance.
Back to top
View user's profile Send private message
Geos_One
Apprentice
Apprentice


Joined: 15 Sep 2005
Posts: 250
Location: Austria,Graz

PostPosted: Tue Aug 25, 2009 5:19 pm    Post subject: Reply with quote

BitJam wrote:

It has a couple of quirks though. First, before running the qlscribe program you must run:
Code:
$ sudo /usr/sbin/lscribed

or you won't be able to access your burner device.


ok this is funny the dbus service file should start it .
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2508
Location: Silver City, NM

PostPosted: Tue Aug 25, 2009 6:06 pm    Post subject: Reply with quote

I just heard back from the qlscribe developer.

Vyacheslav Kononenko wrote:
Open document and when you have the issue please select the image, right click and choose "send to back". See if it helps. If it does save the document and try to open it again.


This totally fixes my problem of the text not always appearing. In the XML file the "z" coordinate gets changed when you move an object to the back so after you do this once it is remembered.


Mario, I'd be glad to do some poking around to try to figure out why that service is not starting automatically. Do you have any suggestions?
Back to top
View user's profile Send private message
Geos_One
Apprentice
Apprentice


Joined: 15 Sep 2005
Posts: 250
Location: Austria,Graz

PostPosted: Tue Aug 25, 2009 7:09 pm    Post subject: Reply with quote

BitJam wrote:


Mario, I'd be glad to do some poking around to try to figure out why that service is not starting automatically. Do you have any suggestions?


plz layman -s lightscribe
emerge -av qlscribe

i think i have found the problem
i installed the service file into the wrong directory
and i also had the correct file in the right dir (a relict from the ebuild create and debug session)

so now it should work.

thx for bugreport.


Last edited by Geos_One on Tue Aug 25, 2009 7:38 pm; edited 2 times in total
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2508
Location: Silver City, NM

PostPosted: Tue Aug 25, 2009 7:18 pm    Post subject: Reply with quote

For some reason no files got installed after the compilation. Here is the relevant printout:
Code:
[100%] Built target qlscribe
Install the project...
-- Install configuration: "Gentoo"
-- Installing: /var/tmp/portage/app-cdr/qlscribe-0.13-r1/image/usr/bin/qlscribe
-- Removed runtime path from "/var/tmp/portage/app-cdr/qlscribe-0.13-r1/image//usr/bin/qlscribe"
-- Installing: /var/tmp/portage/app-cdr/qlscribe-0.13-r1/image/usr/share/applications/qlscribe.desktop
-- Installing: /var/tmp/portage/app-cdr/qlscribe-0.13-r1/image/usr/share/mime/packages/qlscribe.xml
-- Installing: /var/tmp/portage/app-cdr/qlscribe-0.13-r1/image/usr/share/icons/hicolor/64x64/apps/qlscribe.png
-- Installing: /var/tmp/portage/app-cdr/qlscribe-0.13-r1/image/usr/share/icons/hicolor/48x48/apps/qlscribe.png
-- Installing: /var/tmp/portage/app-cdr/qlscribe-0.13-r1/image/usr/share/icons/hicolor/32x32/apps/qlscribe.png
-- Installing: /var/tmp/portage/app-cdr/qlscribe-0.13-r1/image/etc/dbus-1/system.d/lightscribe.conf
-- Installing: /var/tmp/portage/app-cdr/qlscribe-0.13-r1/image/usr/share/dbus-1/system-services/org.lightscribe.printManager.service
-- Installing: /var/tmp/portage/app-cdr/qlscribe-0.13-r1/image/usr/sbin/lscribed
-- Removed runtime path from "/var/tmp/portage/app-cdr/qlscribe-0.13-r1/image//usr/sbin/lscribed"
>>> Completed installing qlscribe-0.13-r1 into /var/tmp/portage/app-cdr/qlscribe-0.13-r1/image/

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment
   usr/sbin/lscribed
   usr/bin/qlscribe

>>> Installing (1 of 1) app-cdr/qlscribe-0.13-r1

>>> Recording app-cdr/qlscribe in "world" favorites file...
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.
Back to top
View user's profile Send private message
Geos_One
Apprentice
Apprentice


Joined: 15 Sep 2005
Posts: 250
Location: Austria,Graz

PostPosted: Tue Aug 25, 2009 7:25 pm    Post subject: Reply with quote

BitJam wrote:
For some reason no files got installed after the compilation. Here is the relevant printout:
Code:

-- Installing: /var/tmp/portage/app-cdr/qlscribe-0.13-r1/image/usr/share/dbus-1/system-services/org.lightscribe.printManager.service


yes the file is now installed in the right dir
(i think you are missing the extra output emerge -av qlscribe)

restart the dbus service or better reboot

if you are in X the restart of dbus also restarts your x session.
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2508
Location: Silver City, NM

PostPosted: Tue Aug 25, 2009 7:39 pm    Post subject: Reply with quote

It still does not work even after a reboot. But now I get a different error message. Before it was complaining about not finding the particular service file. Now it says:
Code:
Error on request: Failed to execute program /usr/libexec/dbus-daemon-launch-helper: Success

That program does exist:
Code:
$ file  /usr/libexec/dbus-daemon-launch-helper
/usr/libexec/dbus-daemon-launch-helper: setuid writable, executable, regular file, no read permission

$ ls -l /usr/libexec/dbus-daemon-launch-helper
-rws--x--- 1 root root 95K Mar 29 02:09 /usr/libexec/dbus-daemon-launch-helper*
Back to top
View user's profile Send private message
Geos_One
Apprentice
Apprentice


Joined: 15 Sep 2005
Posts: 250
Location: Austria,Graz

PostPosted: Tue Aug 25, 2009 8:01 pm    Post subject: Reply with quote

my laptop with the lighscribe drive crashed (was updating kde)
i need to wait until the merge finished
so i can only check for this error tomorrow

thx so far for your help
Back to top
View user's profile Send private message
Geos_One
Apprentice
Apprentice


Joined: 15 Sep 2005
Posts: 250
Location: Austria,Graz

PostPosted: Wed Aug 26, 2009 6:06 am    Post subject: Reply with quote

BitJam wrote:
It still does not work even after a reboot. But now I get a different error message. Before it was complaining about not finding the particular service file. Now it says:
Code:
Error on request: Failed to execute program /usr/libexec/dbus-daemon-launch-helper: Success

That program does exist:
Code:
$ file  /usr/libexec/dbus-daemon-launch-helper
/usr/libexec/dbus-daemon-launch-helper: setuid writable, executable, regular file, no read permission

$ ls -l /usr/libexec/dbus-daemon-launch-helper
-rws--x--- 1 root root 95K Mar 29 02:09 /usr/libexec/dbus-daemon-launch-helper*


it could be related to this bug
https://bugs.gentoo.org/show_bug.cgi?id=222551

because my perm look like this
Code:
tiulk ~ # ls -l /usr/libexec/dbus-daemon-launch-helper
-rws--x--- 1 root messagebus 92352 Aug  7 12:51 /usr/libexec/dbus-daemon-launch-helper



ok i have stated seaching for e reason fot this bug
could you post your emerge --info
and equery l dbus output


Last edited by Geos_One on Wed Aug 26, 2009 5:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2508
Location: Silver City, NM

PostPosted: Wed Aug 26, 2009 4:59 pm    Post subject: Reply with quote

Geos_One wrote:
... my perm look like this:
Code:
tiulk ~ # ls -l /usr/libexec/dbus-daemon-launch-helper
-rws--x--- 1 root messagebus 92352 Aug  7 12:51 /usr/libexec/dbus-daemon-launch-helper



That was the problem! I did:
Code:
$ sudo chgrp messagebus  /usr/libexec/dbus-daemon-launch-helper 
$ sudo chmod u+s /usr/libexec/dbus-daemon-launch-helper

and now it is working.

Thank you so much for all of your help. If you still want emerge --info from me, just ask. The equery command gave no output. My dbus package was emerged in April of this year but I built the machine two years ago (with KDE 3.x) so an earlier version of dbus was around much longer than that.
Back to top
View user's profile Send private message
Geos_One
Apprentice
Apprentice


Joined: 15 Sep 2005
Posts: 250
Location: Austria,Graz

PostPosted: Wed Aug 26, 2009 5:52 pm    Post subject: Reply with quote

BitJam wrote:

and now it is working.


ha that was a bug squashing session

thx for your help
Back to top
View user's profile Send private message
Geos_One
Apprentice
Apprentice


Joined: 15 Sep 2005
Posts: 250
Location: Austria,Graz

PostPosted: Wed Aug 26, 2009 6:55 pm    Post subject: Reply with quote

BitJam wrote:
My dbus package was emerged in April of this year but I built the machine two years ago (with KDE 3.x) so an earlier version of dbus was around much longer than that.


!!!! amd64 and qlscribe !!!!!
be warned to not update dbus to version >1.2.12 (mask dbus-1.3.0) the version of dbus in the emul-x86-base package is only 1.2.10
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2508
Location: Silver City, NM

PostPosted: Wed Aug 26, 2009 9:43 pm    Post subject: Reply with quote

Recap: here are the latest instructions for installing software to label LightScribe disks in Gentoo. This will require manually downloading one or more proprietary binary packages from the lightscribe web site.


Use Mario's overlay
  1. Emerge layman (if you don't already have it).
  2. Add Mario's repository to the /etc/layman/layman.cfg file by adding this line:
    Code:
    http://ftp.mars.arge.at/pub/overlay/geos_one-overlay.xml
    under the line that starts "overlays :".

    Then run:
    Code:
    $ sudo layman -f
    $ sudo layman -a lightscribe

  3. If you have a version of Portage that supports sets then you can emerge all the LightScribe apps with:
    Code:
    $ emerge -av @lightscribe
Warning: the qlscribe application requires qt-4. Don't emerge it if you don't want qt-4 on your system. IMO qlscribe is by far the best application of the bunch. If you have qt-4 I suggest you only emerge qlscribe and don't bother with the other apps. The ebuilds that contain other LightScribe apps are: lightscribe-lacie and lightscribe-simplelabeler.


Notes
  1. Several of the LightScribe packages have "fetch restrictions" which means that you have to manually download the "source" (proprietary, binary) packages and put them in your /usr/portage/distfiles directory. You download them from this site. As of this writing (August 26, 2009) the files you need to download are:
    Code:
    lightscribe-1.18.6.1-linux-2.6-intel.rpm
    lightscribePublicSDK-1.18.6.1-linux-2.6-intel.rpm
    lightscribeApplications-1.18.6.1-linux-2.6-intel.rpm

    It is slightly easier to download them all at once before you start emerging. If these versions are no longer available, download what is available, and you may have to bump the ebuild version numbers if Mario has not done so already. You won't need the lightscribeApplications rpm if you're only installing qlscribe.

  2. If the qlscribe app fails when you want to actually print a label or print a label preview then you can try the following steps to fix a bug in (some versions of) the dbus package:
    Code:
    $ sudo chgrp messagebus  /usr/libexec/dbus-daemon-launch-helper 
    $ sudo chmod u+s /usr/libexec/dbus-daemon-launch-helper

  3. If you want to use text over a background image in qlscribe, make sure you right click on the image and select "send to Back" to ensure that the image does not hide the text.

  4. This howto should help you get up to speed using qlscribe (even if you don't want to use CDDB).
Back to top
View user's profile Send private message
Geos_One
Apprentice
Apprentice


Joined: 15 Sep 2005
Posts: 250
Location: Austria,Graz

PostPosted: Thu Aug 27, 2009 11:23 am    Post subject: temlates package Reply with quote

Hallo at the moment i am working on the templates package
one thing that would be cool if someone with design skills can create some gentoo Lighscribe labes (plain jpg this way the fans of 4l can also use it)
something like a lable for 2008.0 the upcomming 10.0 minicd fot the supported archs ....

thx
Mario
Back to top
View user's profile Send private message
Geos_One
Apprentice
Apprentice


Joined: 15 Sep 2005
Posts: 250
Location: Austria,Graz

PostPosted: Tue Sep 01, 2009 1:01 pm    Post subject: Reply with quote

Liblightscribe updated to 1.18.8.1
Back to top
View user's profile Send private message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Sun Sep 06, 2009 2:33 pm    Post subject: Reply with quote

Thanks geos_one for your instructions. Did this:
Quote:
Add Mario's repository to the /etc/layman/layman.cfg file by adding this line:
Code:
http://ftp.mars.arge.at/pub/overlay/geos_one-overlay.xml
under the line that starts "overlays :".

after unmerging and then moving the directory app-cdr/* away from /usr/local/portage.
Was a mistake obviously because:
Code:
* Kopiere alten /var/cache/eix Cache nach/var/cache/eix.previous
* Starte eix-update
Lese Portage-Konfiguration...
Erzeuge Datenkbank (/var/cache/eix) ...
[0] "gentoo" /usr/portage/ (Cache: metadata-flat)
     Lese 100%
[1] "enlightenment" /usr/local/portage/layman/enlightenment (Cache: parse|ebuild*#metadata-flat#assign)
     Lese 100%
[2] "lightscribe" /usr/local/portage/layman/lightscribe (Cache: parse|ebuild*#metadata-flat#assign)
     Lese 100%
[3] "" /usr/local/portage (Cache: parse|ebuild*#metadata-flat#assign)
     Lese 100%

Slot [3] shouldn' t get mentioned and scanned by eix-sync - hook line and sinker :oops:
Please help me detect and fix my mistake.
Back to top
View user's profile Send private message
Geos_One
Apprentice
Apprentice


Joined: 15 Sep 2005
Posts: 250
Location: Austria,Graz

PostPosted: Sun Sep 06, 2009 3:32 pm    Post subject: Reply with quote

transsib wrote:

Slot [3] shouldn' t get mentioned and scanned by eix-sync - hook line and sinker :oops:
Please help me detect and fix my mistake.


do you still have PORTDIR_OVERLAY defined in /etc/make.conf ?

if yes comment it

thx
Mario
Back to top
View user's profile Send private message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Sun Sep 06, 2009 3:48 pm    Post subject: Reply with quote

Yes as it always was since I' ve decided to try E17 and have layman:
Code:
source /usr/local/portage/layman/make.conf
PORTDIR_OVERLAY="${PORTDIR_OVERLAY} /usr/local/portage/"

Shouldn' t I leave it as is?
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2508
Location: Silver City, NM

PostPosted: Sun Sep 06, 2009 4:56 pm    Post subject: Reply with quote

As Geos_One said, if you don't want to use the /usr/local/portage overlay then you need to get rid of the line in your make.conf that adds it:
Code:
PORTDIR_OVERLAY="${PORTDIR_OVERLAY} /usr/local/portage/"

Remember, the directories under /usr/local/portage/layman have nothing to do with the /usr/local/portage overlay. Portage treats them as two separate things. There is never going to be a "layman" category like app-cdr is a category.

Let me put it another way: why do you say that:
Code:
[3] "" /usr/local/portage (Cache: parse|ebuild*#metadata-flat#assign)
     Lese 100%

should not be mentioned hook line and sinker?

If it's empty (except for the layman subdirectory) then the scanning should be near instantaneous so it wastes no time yet is is available for you in case you do want to add a custom ebuild at some later time.
Back to top
View user's profile Send private message
EasterParade
l33t
l33t


Joined: 26 Jul 2003
Posts: 938

PostPosted: Sun Sep 06, 2009 5:27 pm    Post subject: Reply with quote

A slot [3] has never been there until now after removal of this category app-cdr from /usr/local/portage.
As a traditionalist my logic may be flawed : the line
Code:
PORTDIR_OVERLAY="${PORTDIR_OVERLAY} /usr/local/portage/"

has been in the make.conf before
Code:
source /usr/local/portage/layman/make.conf
layman has been put there and it had to be uncommented before layman.
But if this is wrong and if there is no other file somewhere which still hints to a /usr/local/portage/app-cdr/* which I am sure of then I` ll comment the PORTDIR_OVERLAY line in the make.conf.

regards
Back to top
View user's profile Send private message
gscheel
n00b
n00b


Joined: 08 Nov 2005
Posts: 22

PostPosted: Fri Oct 16, 2009 11:36 pm    Post subject: Reply with quote

Hello All,

I have followed the instructions for using Mario's overlay and everything appeared to work until I went to actually install.

Code:

sumomo glen # emerge -av @lightscribe
!!! '@lightscribe' is not a valid package atom.
!!! Please check ebuild(5) for full details.
sumomo glen # emerge -s lightscribe
Searching...   
[ Results for search key : lightscribe ]
[ Applications found : 0 ]


I'm not sure what I've done wrong. Any ideas?
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2508
Location: Silver City, NM

PostPosted: Sat Oct 17, 2009 12:03 am    Post subject: Reply with quote

I think this is due to the version of portage you are using. If you don't want to keyword (and possibly unmask) portage then you can just emerge the packages normally. If you have qt-4 installed then:
Code:
# emerge qlscribe

might be all you need to do. The other packages are:
Code:
liblightscribe
lightscribe-lacie
lightscribe-lsprint
lightscribe-simplelabeler
lightscribe-template
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Page 6 of 8

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum