Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 170511 Details for
Bug 181283
app-text/writer2latex (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
eclass/openoffice-ext.eclass
openoffice-ext.eclass (text/plain), 1.65 KB, created by
Dmitry S. Kulyabov
on 2008-11-02 08:39:57 UTC
(
hide
)
Description:
eclass/openoffice-ext.eclass
Filename:
MIME Type:
Creator:
Dmitry S. Kulyabov
Created:
2008-11-02 08:39:57 UTC
Size:
1.65 KB
patch
obsolete
># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >ECLASS="openoffice-ext" >INHERITED="$INHERITED $ECLASS" > >inherit eutils multilib > ># list of extentions ># OOO_EXTENSIONS="" > >add_extension() { > echo -n "Adding extension $1..." > INSTDIR=`mktemp -d` > /usr/lib/openoffice/program/unopkg add --shared $1 \ > "-env:UserInstallation=file:///$INSTDIR" \ > "-env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1" ># '-env:UNO_JAVA_JFW_INSTALL_DATA=$ORIGIN/../share/config/javasettingsunopkginstall.xml' \ > if [ -n $INSTDIR ]; then rm -rf $INSTDIR; fi > echo " done." >} > >flush_unopkg_cache() { > /usr/lib/openoffice/program/unopkg list --shared > /dev/null 2>&1 >} > >remove_extension() { > if /usr/lib/openoffice/program/unopkg list --shared $1 >/dev/null; then > echo -n "Removing extension $1..." > INSTDIR=`mktemp -d` > /usr/lib/openoffice/program/unopkg remove --shared $1 \ > "-env:UserInstallation=file://$INSTDIR" \ > "-env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1" ># '-env:UNO_JAVA_JFW_INSTALL_DATA=$ORIGIN/../share/config/javasettingsunopkginstall.xml' \ > if [ -n $INSTDIR ]; then rm -rf $INSTDIR; fi > echo " done." > flush_unopkg_cache > fi >} > >openoffice-ext_src_install() { > insinto /usr/$(get_libdir)/openoffice/share/extension/install > for i in ${OOO_EXTENSIONS} > do > doins ${i} > done >} > >openoffice-ext_pkg_postinst() { > for i in ${OOO_EXTENSIONS} > do > add_extension /usr/$(get_libdir)/openoffice/share/extension/install/${i} > done > >} > >openoffice-ext_pkg_prerm() { > for i in ${OOO_EXTENSIONS} > do > remove_extension ${i} > done >} > >EXPORT_FUNCTIONS src_install pkg_postinst pkg_prerm
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 181283
:
121475
|
121476
|
126709
|
138377
|
168884
|
170509
|
170511
|
170513
|
170608