KPhotoAlbum on Knoppix: Difference between revisions

From KDE UserBase Wiki
(Markup edit)
No edit summary
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Proposed deletion|reason=Is this still relevant or should it be archived? If relevant the page should be updated}}
<languages />
<languages />
<translate>
<translate>
<!--T:1-->
__TOC__
__TOC__
<!--T:24-->
{{KDE3}}</translate><translate>
<!--T:22-->
Whenever I carry some of my photos on CDs to friends of mine, I wish I could use '''KPhotoAlbum''' to pick specific photos. Unfortunately most of my friends use Windows, so '''KPhotoAlbum''' won't be available to me.
Whenever I carry some of my photos on CDs to friends of mine, I wish I could use '''KPhotoAlbum''' to pick specific photos. Unfortunately most of my friends use Windows, so '''KPhotoAlbum''' won't be available to me.


<!--T:2-->
While Linux Live-CDs (like Knoppix) make it possible to boot Linux from CD/DVD, I know of no version containing '''KPhotoAlbum'''.
While Linux Live-CDs (like Knoppix) make it possible to boot Linux from CD/DVD, I know of no version containing '''KPhotoAlbum'''.


<!--T:3-->
This Wiki page describes a way to have '''KPhotoAlbum''' available using Knoppix and how to create it yourself, to adapt it to other live-CD/DVD systems.
This Wiki page describes a way to have '''KPhotoAlbum''' available using Knoppix and how to create it yourself, to adapt it to other live-CD/DVD systems.


==Basis of the image==
==Basis of the image== <!--T:4-->


<!--T:5-->
Newer Knoppix versions have a feature to create a image file (e.g. on memory stick) and mount this "on top" of the CD/DVD image. ('''UnionFS''') This makes it possible to add additional software to the packages coming with the CD/DVD. (Without the need to install anything on the computer Knoppix runs on)
Newer Knoppix versions have a feature to create a image file (e.g. on memory stick) and mount this "on top" of the CD/DVD image. ('''UnionFS''') This makes it possible to add additional software to the packages coming with the CD/DVD. (Without the need to install anything on the computer Knoppix runs on)


<!--T:23-->
<!--
I have created a image for Knoppix (5.2) containing '''KPhotoAlbum 3.0.2''' and the missing dependencies. I used the Knoppix DVD which came with Herman CT magazine 7/2007. I hope it also works for other versions as well.
I have created a image for Knoppix (5.2) containing '''KPhotoAlbum 3.0.2''' and the missing dependencies. I used the Knoppix DVD which came with Herman CT magazine 7/2007. I hope it also works for other versions as well.


== Usage of available image file ==
== Usage of available image file == <!--T:7-->


<!--T:8-->
* Get the (compressed) image from [http://www.majo.name/knoppix.img.bz2 my homepage]: (35 MByte)
* Get the (compressed) image from [http://www.majo.name/knoppix.img.bz2 my homepage]: (35 MByte)
* uncompress the image: {{Input|1=bunzip2 knoppix.img.bz2}}
* uncompress the image: {{Input|1=bunzip2 knoppix.img.bz2}}
Line 22: Line 35:
* On boot, Knoppix will ask whether to mount the image it found. The default is "not" to mount it, so you must agree to this. (The mounting is a potential security risk, because you now rely on the contents not being malicious; If you want to have a look "inside" the image file, have a look at "do-it-yourself" later on)
* On boot, Knoppix will ask whether to mount the image it found. The default is "not" to mount it, so you must agree to this. (The mounting is a potential security risk, because you now rely on the contents not being malicious; If you want to have a look "inside" the image file, have a look at "do-it-yourself" later on)
* After log in, you now can start KPhotoAlbum from the command line. Because it is installed as /usr/bin/kphotoalbum, it should be on the path.
* After log in, you now can start KPhotoAlbum from the command line. Because it is installed as /usr/bin/kphotoalbum, it should be on the path.
* Enjoy ! There should be all features present (EXIF-DB, kipi-plugins, translations, video) *except* the video preview; sorry I didn't find, what it takes to get this to work. All tips welcome.
* Enjoy ! There should be all features present (EXIF-DB, kipi-plugins, translations, video) *except* the video preview; sorry I didn't find, what it takes to get this to work. All tips welcome.-->


== Do-it-yourself ==
== Do-it-yourself == <!--T:9-->


=== How to look "inside" the image file ===
=== How to look "inside" the image file === <!--T:10-->


<!--T:11-->
(Assuming here, /tmpmnt is a directory)
(Assuming here, /tmpmnt is a directory)
{{Input|1=sudo mount -o loop -t ext2 knoppix.img  /tmpmnt}}
{{Input|1=sudo mount -o loop -t ext2 knoppix.img  /tmpmnt}}
This will mount the image on /tmpmnt. You now can look inside the image. You will find dirs like /etc/network/if-up.d/ (and many more) beside the obvious '''KPhotoAlbum''' files. These result from activities of Knoppix, which changed these files, so they ended up in the image too. I tried to get rid of these, but this always destroyed the image. (Tips here also welcome)
This will mount the image on /tmpmnt. You now can look inside the image. You will find dirs like /etc/network/if-up.d/ (and many more) beside the obvious '''KPhotoAlbum''' files. These result from activities of Knoppix, which changed these files, so they ended up in the image too. I tried to get rid of these, but this always destroyed the image. (Tips here also welcome)


== Creating your own image file from scratch ==
== Creating your own image file from scratch == <!--T:12-->


<!--T:13-->
I installed mostly from source, because I already had those available. The alternative would be to download most things as installable package, e.g. .deb for Knoppix.
I installed mostly from source, because I already had those available. The alternative would be to download most things as installable package, e.g. .deb for Knoppix.


=== Get the needed files ===
=== Get the needed files === <!--T:14-->


<!--T:15-->
Get the files and save them on a partition later available on Knoppix. What you need may differ, depending on the version you are using and if you are using a CD or DVD version. I assume that you are familiar with the usual way to compile and install configure-based open source SW.
Get the files and save them on a partition later available on Knoppix. What you need may differ, depending on the version you are using and if you are using a CD or DVD version. I assume that you are familiar with the usual way to compile and install configure-based open source SW.
* [http://www.sqlite.org/sqlite-2.8.16.tar.gz sqlite-2.8.16 ]
* [http://www.sqlite.org/sqlite-2.8.16.tar.gz sqlite-2.8.16 ]
Line 49: Line 65:
* kphotoalbum
* kphotoalbum


=== Create an image file ===
=== Create an image file === <!--T:16-->


<!--T:17-->
(The exact steps depend on your Knoppix version. My description here is based on Knoppix 5.2. The titles are back-translated from my German version)
(The exact steps depend on your Knoppix version. My description here is based on Knoppix 5.2. The titles are back-translated from my German version)
* Boot the Knoppix CD/DVD
* Boot the Knoppix CD/DVD
Line 60: Line 77:
* Enter size for the image (you'll need approximately something between 60 and 70 Mbyte; so 70 MByte seems good) Note: The image now gets created, but not mounted, until the next reboot.
* Enter size for the image (you'll need approximately something between 60 and 70 Mbyte; so 70 MByte seems good) Note: The image now gets created, but not mounted, until the next reboot.


=== Installing KPhotoAlbum in the image file ===
=== Installing KPhotoAlbum in the image file === <!--T:18-->


<!--T:19-->
* Reboot the Knoppix CD/DVD and confirm the mounting of the image file.
* Reboot the Knoppix CD/DVD and confirm the mounting of the image file.
* Compile and install '''sqlite'''
* Compile and install '''sqlite'''
Line 74: Line 92:
** kphotoalbum
** kphotoalbum


<!--T:20-->
Now '''KPhotoAlbum''' should be working and installed in the image. (You might need additional packages, depending on your version)  Next time just the image file is needed, as described above.
Now '''KPhotoAlbum''' should be working and installed in the image. (You might need additional packages, depending on your version)  Next time just the image file is needed, as described above.


<!--T:21-->
[[Category:Graphics]]
[[Category:Graphics]]
[[Category:KDE3]] <!-- Do not include the KDE3 category in translations! -->
</translate>
</translate>

Latest revision as of 07:50, 27 February 2024

Proposed for Deletion

This page has been proposed for deletion for the following reason:

Is this still relevant or should it be archived? If relevant the page should be updated

Please use the discussion section of this page to voice your opinion on this.



Whenever I carry some of my photos on CDs to friends of mine, I wish I could use KPhotoAlbum to pick specific photos. Unfortunately most of my friends use Windows, so KPhotoAlbum won't be available to me.

While Linux Live-CDs (like Knoppix) make it possible to boot Linux from CD/DVD, I know of no version containing KPhotoAlbum.

This Wiki page describes a way to have KPhotoAlbum available using Knoppix and how to create it yourself, to adapt it to other live-CD/DVD systems.

Basis of the image

Newer Knoppix versions have a feature to create a image file (e.g. on memory stick) and mount this "on top" of the CD/DVD image. (UnionFS) This makes it possible to add additional software to the packages coming with the CD/DVD. (Without the need to install anything on the computer Knoppix runs on)


Do-it-yourself

How to look "inside" the image file

(Assuming here, /tmpmnt is a directory)

sudo mount -o loop -t ext2 knoppix.img  /tmpmnt

This will mount the image on /tmpmnt. You now can look inside the image. You will find dirs like /etc/network/if-up.d/ (and many more) beside the obvious KPhotoAlbum files. These result from activities of Knoppix, which changed these files, so they ended up in the image too. I tried to get rid of these, but this always destroyed the image. (Tips here also welcome)

Creating your own image file from scratch

I installed mostly from source, because I already had those available. The alternative would be to download most things as installable package, e.g. .deb for Knoppix.

Get the needed files

Get the files and save them on a partition later available on Knoppix. What you need may differ, depending on the version you are using and if you are using a CD or DVD version. I assume that you are familiar with the usual way to compile and install configure-based open source SW.

For the following see the KPhotoAlbum homepage

  • exiv2
  • libkexif
  • libkexiv2
  • libkipi
  • kipi-plugins
  • kphotoalbum

Create an image file

(The exact steps depend on your Knoppix version. My description here is based on Knoppix 5.2. The titles are back-translated from my German version)

  • Boot the Knoppix CD/DVD
  • On the KDE desktop click the penguin icon on the KDE bar (second left after the K-icon)
  • Choose Configuration ->Install permanent Knoppix-image
  • Confirm message
  • Choose the partition, the image will be created on
  • Answer the question for encryption with "No".
  • Enter size for the image (you'll need approximately something between 60 and 70 Mbyte; so 70 MByte seems good) Note: The image now gets created, but not mounted, until the next reboot.

Installing KPhotoAlbum in the image file

  • Reboot the Knoppix CD/DVD and confirm the mounting of the image file.
  • Compile and install sqlite
  • Install libqt3-mt-sqlite_3.3.7-4_i386.deb using
dpkg -i libqt3-mt-sqlite_3.3.7-4_i386.deb
  • Install the remaining packages in the order
    • exiv2
    • libkexif
    • libkexiv2
    • libkipi
    • kipi-plugins
    • kphotoalbum

Now KPhotoAlbum should be working and installed in the image. (You might need additional packages, depending on your version) Next time just the image file is needed, as described above.