[yast-commit] r52921 - in /trunk/slide-show/SLED: Makefile.am po/ slideshow.xml slideshow.xsl
Author: keichwa
Date: Wed Nov 5 13:52:12 2008
New Revision: 52921
URL: http://svn.opensuse.org/viewcvs/yast?rev=52921&view=rev
Log:
use SuSELinux environment
Added:
trunk/slide-show/SLED/po/
trunk/slide-show/SLED/slideshow.xml
trunk/slide-show/SLED/slideshow.xsl
Modified:
trunk/slide-show/SLED/Makefile.am
Modified: trunk/slide-show/SLED/Makefile.am
URL: http://svn.opensuse.org/viewcvs/yast/trunk/slide-show/SLED/Makefile.am?rev=52921&r1=52920&r2=52921&view=diff
==============================================================================
--- trunk/slide-show/SLED/Makefile.am (original)
+++ trunk/slide-show/SLED/Makefile.am Wed Nov 5 13:52:12 2008
@@ -1,40 +1,93 @@
#
-# Makefile.am for slide-show/slide
+# Makefile.am for slide-show/SLED
#
instdir = /SuSE/SuSE-SLED/CD1/suse/setup/slide
-# note: txt/*/*.rtf does not work. you get a dir called "txt/*"!
+fname = slideshow
+# list of languages available in SVN
# CAUTION: Czech is "cs", not "cz"! Use the LANG abbrev, not the country!
+langs = en
+
+# list of languages ready for distribution _and_ installation
+dist_langs = $(langs)
+# take the files from txt/LL/*.rtf
+# txt/*/*.rtf does not work. you get a dir called "txt/*"!
+dist_lang_files = $(addprefix txt/,$(addsuffix /*.rtf,$(dist_langs)))
EXTRA_DIST = \
+ $(fname).xml $(xsl_styles) \
+ $(pofiles) \
pic/*.png \
- \
- txt/bg/*.rtf \
- txt/cs/*.rtf \
- txt/de/*.rtf \
- txt/en/*.rtf \
- txt/es/*.rtf \
- txt/fi/*.rtf \
- txt/fr/*.rtf \
- txt/hu/*.rtf \
- txt/it/*.rtf \
- txt/ja/*.rtf \
- txt/km/*.rtf \
- txt/nb/*.rtf \
- txt/nl/*.rtf \
- txt/pl/*.rtf \
- txt/pt/*.rtf \
- txt/pt_BR/*.rtf \
- txt/sl/*.rtf \
- txt/uk/*.rtf \
- txt/zh_CN/*.rtf \
- txt/zh_TW/*.rtf
-
+ $(dist_lang_files)
+xml = $(addsuffix .xml,$(langs))
+rtf = $(xml:.xml=.rtf)
+valid = $(xml:.xml=.valid)
+# nochunk = $(xml:.xml=.nochunk)
+#pofiles = $(xml:.xml=.po)
+# po/LL.po
+pofiles=$(addprefix po/,$(addsuffix .po,$(langs)))
+xsl_styles = $(fname).xsl
+
+SUFFIXES = .xml .rtf .valid .po .pot
+
+CLEANFILES = $(rtf) $(valid) $(xml) $(fname).pot
+
+XSLTPROC = @XSLTPROC@
+XMLLINT = @XMLLINT@
+XML2PO = @XML2PO@
+
+MSGMERGE_UPDATE = @MSGMERGE@ --update
+
+all: validate rtf
+
+outdir:
+ rm -fr txt
+ mkdir txt
+
+rtf: $(rtf)
+%.rtf: %.xml outdir
+ ll=`echo $< | sed "s/\.xml$$//"`; \
+ mkdir txt/$$ll ; \
+ $(XSLTPROC) --nonet --stringparam out.dir "txt/$$ll" \
+ $(fname).xsl $< 1>/dev/null; \
+ pushd txt/$$ll ; \
+ for f in *.rtf ; do \
+ sed -i 's/\/>/>/;s/%imagedir%/\&imagedir;/' $$f; \
+ done ; \
+ popd
+
+validate: $(valid)
+%.valid: %.xml
+ $(XMLLINT) --nonet --valid --noout $< && touch $@
+
+pot: $(fname).pot
+$(fname).pot: $(fname).xml
+ $(XML2PO) --expand-all-entities -o $(fname).pot $(fname).xml
+
+# re-merge po translation files
+po: $(pofiles)
+$(pofiles): $(fname).pot
+ @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
+ echo "$(MSGMERGE_UPDATE) po/$${lang}.po $(fname).pot"; \
+ if [ $${lang} = en ]; then \
+ msgen -o po/$${lang}.po $(fname).pot ;\
+ else $(MSGMERGE_UPDATE) po/$${lang}.po $(fname).pot ; fi
+
+xml: $(xml)
+%.xml: po/%.po
+ @lang=`echo $@ | sed -e 's,.*/,,' -e 's,$(fname)_/,,' -e 's/\.xml$$//'`; \
+ echo "$(XML2PO) -p po/$${lang}.po -o $${lang}.xml $(fname).pot"; \
+ $(XML2PO) -p po/$${lang}.po -o $${lang}.xml $(fname).xml
+# rndir=$(DESTDIR)$(datadir)/doc/$(PACKAGE_NAME)
install-data-local:
+# $(mkinstalldirs) $(rndir)
+# for file in $(html); do \
+# $(INSTALL_DATA) $$file $(rndir) ; \
+# done
mkdir -p $(DESTDIR)/$(instdir)
-test -d $(srcdir)/txt && cp -a $(srcdir)/txt $(DESTDIR)/$(instdir)
-test -d $(srcdir)/pic && cp -a $(srcdir)/pic $(DESTDIR)/$(instdir)
Added: trunk/slide-show/SLED/slideshow.xml
URL: http://svn.opensuse.org/viewcvs/yast/trunk/slide-show/SLED/slideshow.xml?rev=52921&view=auto
==============================================================================
--- trunk/slide-show/SLED/slideshow.xml (added)
+++ trunk/slide-show/SLED/slideshow.xml Wed Nov 5 13:52:12 2008
@@ -0,0 +1,225 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+<!ENTITY yast "YaST">
+<!ENTITY suse "SUSE">
+<!ENTITY suselinux "&suse; Linux">
+<!ENTITY opensuse "openSUSE">
+<!ENTITY suse-version "11.1">
+]>
+<!-- <table cellspacing="10" cellpadding="5"> -->
+<!-- <tr> -->
+<!-- <td valign="top"><img src="&imagedir;/01_welcome.png" width="150" valign="top"></td> -->
+<!-- <td> -->
+
+<section>
+ <title>Slide Show</title>
+
+ <section label="01_welcome">
+ <title>Welcome to openSUSEâ¢</title>
+
+ <para>
+Whether you use your computer to communicate with friends, family, or
+colleagues; to manage and enjoy your pictures and music; to browse the
+Internet for the latest news or for fun; to write a report or
+budget; or to host a personal Web site or home network, you will find
+everything you need in openSUSE &suse-version;.
+</para>
+ </section>
+
+ <section label="02_opensuse">
+ <title>openSUSE.org</title>
+
+ <para>
+openSUSE is a community project created and sponsored by Novell to
+deliver the world's most user-friendly computing platform. Many people
+from around the world contribute to the openSUSE Project by packaging
+software, testing programs, writing documentation, and translating
+components into dozens of languages. All of that work is available
+for free in the openSUSE Linux distribution available at www.opensuse.org.
+</para>
+<para>Visit www.opensuse.org/How_to_Participate to learn how you can join
+the openSUSE community.</para>
+ </section>
+
+ <section label="02_z_opensuse">
+ <title>openSUSE in Many Languages</title>
+
+ <para>
+The openSUSE distribution is available in many languages. Localization
+for openSUSE software occurs through the efforts of our hard-working,
+community-driven language teams. Thank you to all of our contributors.
+Find the localization portal at: http://i18n.opensuse.org/</para>
+
+ </section>
+
+ <section label="03_connect">
+ <title>Connect and Communicate</title>
+
+<para>
+You can communicate more effectively with openSUSE &suse-version; because it
+provides a complete set of tools for Web browsing and e-mail
+managementâit even includes the newest Voice over IP technology.
+</para>
+
+<para>openSUSE includes Mozilla Firefox, one of the best Web browsers
+in the world. Firefox includes all the features you need to enjoy
+the Web, including Java, Adobe Acrobat Reader, RealPlayer, and
+Adobe Flash plugins. Firefox also boasts lightning-fast
+performance, and a number of improvements designed to protect your
+privacy and prevent phishing attacks.</para>
+
+<para>Also included with openSUSE are Novell Evolution and Kontact,
+complete e-mail and contact management applications. For instant
+messaging, openSUSE features easy to use IM clients that support all
+of the popular protocols: AIM, Google Talk, Jabber, MSN, Yahoo!,
+Groupwise, and many others.</para>
+
+ </section>
+
+ <section label="04_create">
+ <title>Create, View and Listen</title>
+ <para>
+Download tunes from the Internet. Rip CDs to create your own customized
+music library. Listen to your playlist online. Burn CDs or DVDs. Copy
+your files to an iPod or media player and take your music anywhere. Manage
+and edit digital pictures with powerful graphics editors. It's all easy
+with openSUSE.</para>
+
+ </section>
+
+ <section label="05_office">
+ <title>Documents, Spreadsheets and More</title>
+
+ <para>
+The openSUSE &suse-version; distribution comes complete with the latest version
+of the leading Linux productivity suite, OpenOffice.org. It features a word
+processor, spreadsheet application, HTML editor, presentation designer, and
+database manager. It reads and writes multiple formatsâincluding Microsoft
+Office formatsâso you can move back and forth easily between openSUSE
+and popular non-Linux productivity software. OpenOffice.org is the perfect
+choice for reports, papers, home budgets, simple graphics and more.</para>
+ </section>
+
+<section label="06_graphics">
+ <title>Graphics, Graphics, Graphics</title>
+
+ <para>
+Using the tools in openSUSE, you can create or edit almost any type of
+graphic. For advanced image manipulation and graphics creation, use The
+GIMP a powerful tool for image retouching, composition, and
+authoring.</para>
+
+<para>For vector graphics, openSUSE includes Inkscapeâa versatile
+graphics solution delivers support for transparent layers, bitmap tracing,
+text paths and much more.
+</para>
+
+ </section>
+
+ <section label="08_mobility">
+ <title>Computing On-the-Go</title>
+
+ <para>openSUSE includes the most advanced mobility features. You
+can switch effortlessly between wireless and wired networks using
+NetworkManager from openSUSE. Connect with mobile devices like mobile
+phones and PDAs via Bluetooth, or use infrared ports to synchronize your
+data.</para>
+
+<para>The newest innovations in power management from openSUSE increase
+your mobility and give you the freedom to take your work wherever you
+go.
+</para>
+
+ </section>
+
+<section label="09_security">
+ <title>Keep Your System Secure and Up to Date</title>
+
+ <para>Help secure your system and data from Internet intruders with SUSE
+Firewall. This security device is activated by default and easy to
+configure. But you can do even more to protect your system with openSUSE
+because it also includes AppArmor, the most effective and easy-to-use
+Linux application security system available today. AppArmor proactively
+protects your operating system and applications from internal or
+external threats.</para>
+
+<para>In addition to SUSE Firewall and AppArmor, openSUSE also includes a
+special security patch update system. To ensure that the latest security
+patches are installed on your system, you can choose to perform an
+online update at the end of this installation procedure. And in the
+future, you will be automatically informed of the availability of
+important security updates, so you can install them at your convenience.
+</para>
+
+ </section>
+
+ <section label="10_devel">
+ <title>Virtualization Technology and Application Development Tools</title>
+
+ <para>The Xen hypervisor is included with openSUSE. Xen is one of the most
+robust solutions for virtualization available. In addition, openSUSE provides
+tools for network file sharing (Samba, NFS, etc.), printing (CUPS) and Web
+hosting (Apache). For application development, openSUSE comes with a complete
+set of runtime environments plus extensive application development tools,
+including KDevelop, Eclipse and Mono.</para>
+
+ </section>
+
+ <section label="11_docs">
+ <title>Learn More</title>
+ <para>
+The openSUSE distribution provides extensive documentation for specific
+openSUSE questions as well as general Linux-related questions. The Help
+Center is accessible via the main menu. Manuals are also available in
+PDF and can be downloaded and printed <!-- translator: check whether a
+dedicated page exists for your language and use it instead of "en" -->
+(http://en.opensuse.org/Documentation).
+
+ </para>
+
+ <para>
+Even more information is available in the openSUSE wiki at <!--
+translator: check whether a dedicated page exists for your language and
+use it instead of "en" --> http://en.opensuse.org/. Under
+"Documentation," you'll discover links to useful information created and
+maintained by other openSUSE users. You can also find links to the
+documentation available on the official Novell Web site. For help with
+specific openSUSE problems, check out the Support Database at
+www.opensuse.org
+ </para>
+
+<para><!-- translator: adjust the snippet about forums according to your
+language; see https://bugzilla.novell.com/show_bug.cgi?id=439101 -->
+For support from other openSUSE users, visit the official openSUSE
+forums at http://forums.opensuse.org/. Here you'll find thousands of other
+openSUSE users, eager to help you get everything you can out of Linux. If
+you're an experienced openSUSE user, the forums are a great place to meet
+other users, and help out other Linux users.
+</para>
+
+<para>Want to make openSUSE even better? You can build almost anything
+with openSUSE. It's easy to create and share new packages for multiple
+Linux distributions using the unique and powerful openSUSE Build Service.
+Join openSUSE.org to collaborate.
+</para>
+
+ </section>
+
+ <section label="12_novell">
+ <title>Novell and Linux</title>
+ <para>
+Novell is committed to your success with Linux. In addition to openSUSE,
+Novell also delivers an exciting suite of products designed to meet the
+needs of businesses large and small.</para>
+
+ <para>
+The enterprise Linux products from Novell include SUSE Linux Enterprise Server,
+SUSE Linux Enterprise Desktop and Novell Open Enterprise Server. Our enterprise
+products are delivered with a seven-year maintenance guarantee and optional
+support programs. For more information on enterprise Linux from Novell, visit
+http://www.novell.com/linux
+</para>
+
+ </section>
+
+</section>
Added: trunk/slide-show/SLED/slideshow.xsl
URL: http://svn.opensuse.org/viewcvs/yast/trunk/slide-show/SLED/slideshow.xsl?rev=52921&view=auto
==============================================================================
--- trunk/slide-show/SLED/slideshow.xsl (added)
+++ trunk/slide-show/SLED/slideshow.xsl Wed Nov 5 13:52:12 2008
@@ -0,0 +1,83 @@
+<?xml version='1.0'?>
+
participants (1)
-
keichwa@svn.opensuse.org