Download the lsb-xpdf application package that corresponds
to the LSB version and processor architecture for which certification
is being sought from the
Download Page.
Install package on system. Example command line:
rpm -ivh lsb-xpdf-1.01-6.lsb4.i486.rpm
NOTE: Application MUST be installed without use of --nodeps option,
the dependency checks are part of the test.
- Expected result: application should be installed to
/opt/lsb/appbat
/etc/opt/lsb/appbat
The lsb-xpdf package utilizes the xdg-desktop-menu command to install/uninstall the application as a menu item in the desktop environment. If you are using a compliant window manager, and the xdg-desktop-menu binary was present on the system when the package was installed, lsb-xpdf should show up in the Graphics and/or Office categories, if present.
Change to /tmp directory and create a new directory called
lsb-xpdf-tests
Change to the /tmp/lsb-xpdf-tests directory
Download two xpdf test files into the /tmp/lsb-xpdf-tests
directory from here:
test1.pdf and
test2.pdf
Make sure that the DISPLAY variable points to an
appropriate X display, and the host will allow you to create
windows on it. For a remote display, or if running as
a user other than the user logged in on the local display,
you may have to use the xhost + command to enable
this functionality. Remember to restore the default setting
as this setting is insecure.
Functional Verification Test (FVT)
Expected result achieved?
Test case scenerio
1.
Yes
No
Run the command /opt/lsb/appbat/bin/xpdf test1.pdf - Expected result: The xpdf window comes up displaying the contents
of the test1.pdf file, which is a snapshot of a
Linux Standard Base webpage.
2.
Yes
No
Select the "find" icon (binoculars) at the bottom of the window. When
the "find" dialog box appears enter "review" and click the "Find" button.
- Expected result: The word "Review" will be highlighted in the document.
Click the "Close" button in the dialog box to dismiss it and continue.
3.
Yes
No
Press "z" on the keyboard.
- Expected result: The document is reduced in size to fit completely
within the xpdf window.
4.
Yes
No
Press "w" on the keyboard.
- Expected result: The document is expanded back to its prior size
where its width is the width of the xpdf window.
5.
Yes
No
Press "o" on the keyboard. When the open dialogue box appears highlight
the test2.pdf file and click the "Open" button.
- Expected result: The xpdf window now displays the test2.pdf file.
6.
Yes
No
Click the "Quit" button.
- Expected result: The xpdf window closes.
7.
Yes
No
Run the command /opt/lsb/appbat/bin/pdfinfo test2.pdf - Expected result: Information about the test2.pdf file will be
displayed. It will look something like this:
Producer: GNU Ghostscript 7.05
Tagged: no
Pages: 1
Encrypted: no
Page size: 612 x 792 pts (letter)
File size: 16163 bytes
Optimized: no
PDF version: 1.2
8.
Yes
No
Run the command /opt/lsb/appbat/bin/pdftotext test1.pdf - Expected result: The test1.pdf file will be converted to text
and saved in the test1.txt file. If you wish, display it with
the "more" command.
9.
Yes
No
Run the command /opt/lsb/appbat/bin/pdftops test2.pdf - Expected result: The test2.pdf file will be converted to
Postscript and saved in the test2.ps file.
Results
1.
Yes
No
Were there any errors recorded above?
2.
Yes
No
Were there any deviations in the install, setup, or test described
above?
If yes, please describe.
Reporting Test Results
Include the results of testing this application in the Conformance Statement
submitted to the LSB Certification Authority when seeking LSB Runtime
Environment Certification.
Note this is not a submittable form, instead you affirm on the
certification form that you have followed these steps.