[framework-issues] [Issue 83878] unopkg: avoiding the need that installing a uno.pkg causes it to be copi ed...

2008-04-15 Thread mba
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83878


User mba changed the following:

What|Old value |New value

   Component|framework |udk

  QA contact|[EMAIL PROTECTED]  |[EMAIL PROTECTED]





--- Additional comments from [EMAIL PROTECTED] Tue Apr 15 09:08:20 + 
2008 ---
Changed component (to move it out of my sight ;-))

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[framework-issues] [Issue 83878] unopkg: avoiding the need that installing a uno.pkg causes it to be copi ed...

2008-01-24 Thread jl
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83878





--- Additional comments from [EMAIL PROTECTED] Thu Jan 24 13:30:41 + 
2008 ---
After some thinking about this let me state my ideas again:

#1. I am still convinced a feature like this must work for all platforms. That
it affects Windows as well is demonstrated by StarOffice, which brings with it
the SunSearchToolbar extension.  As for the FAT file system, I would not stress
this too much anymore. 

#2. If the API supports adding an unzipped extensions (that is the file URL to
an directory is passed) then it would not harm to allow this in the GUI as well.
As I see it this would complement this feature. This change would also need to
be documented in the GUI specification.

#3.The -link command line switch is not needed because the Extension Manager can
distinguish an oxt from an unzipped extension. 

#4.I am not much of an rpm expert, but still remember that an extension could
modify the content of the unzipped directory. When installed as shared, then
this fails certainly.  Therefore I agree, that such an extension would probably
never be bundled with an office.

#5. Solved for link case. In case of adding a directory which is not in the
"$UNO_USER_PACKAGES_CACHE" directory, there is no need to remove something.


When adding the extension (as directory) in PackageManagerImpl::addPackage one
would need to:

-only unzip if a file is added, do not unzip if a directory is added
-the media type of the directory could be assumed as
application/vnd.sun.star.package-bundle
-add the complete URL to the "external" directory to the database. See
ActivePackages::Data. Adding a new member to this structure would probably make
it incompatible. One could maybe  use the fileName to contain the URL to the
directory. 

The code which uses the database needs to be adapted to recognize the case that
the extension is in an "external" if this is important.
PackageManagerImpl::removePackage probably does not need to be touched, because
it just unregisters the the extension and removes the entry from the database.

Also the specification and probably the help text of unopkg (--help option) need
to be adapted. 

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[framework-issues] [Issue 83878] unopkg: avoiding the need that installing a uno.pkg causes it to be copi ed...

2008-01-23 Thread hatapitk
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83878


User hatapitk changed the following:

What|Old value |New value

  CC|'jl,rene' |'hatapitk,jl,rene'





-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[framework-issues] [Issue 83878] unopkg: avoiding the need that installing a uno.pkg causes it to be copi ed...

2008-01-15 Thread hro
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83878



This issue depends on issue 83877, which changed state:

What|Old value |New value

  Status|STARTED   |RESOLVED

  Resolution|  |FIXED





-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[framework-issues] [Issue 83878] unopkg: avoiding the need that installing a uno.pkg causes it to be copi ed...

2008-01-07 Thread cmc
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83878


User cmc changed the following:

What|Old value |New value

 Attachment is patch|  |Created an attachment (id=
|  |50706)
update to apply aga
|  |in






--- Additional comments from [EMAIL PROTECTED] Mon Jan  7 12:03:27 + 
2008 ---
Created an attachment (id=50706)
update to apply again


-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[framework-issues] [Issue 83878] unopkg: avoiding the need that installing a uno.pkg causes it to be copi ed...

2007-12-08 Thread cmc
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83878





--- Additional comments from [EMAIL PROTECTED] Sat Dec  8 15:07:03 + 
2007 ---
Either way, we're blocked on being able to remove links as per issue 83877. So
we can't really move until that's in place.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[framework-issues] [Issue 83878] unopkg: avoiding the need that installing a uno.pkg causes it to be copi ed...

2007-12-06 Thread jl
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83878





--- Additional comments from [EMAIL PROTECTED] Thu Dec  6 09:46:58 + 
2007 ---
 I will be on vacation until January and we will look into this issue then.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[framework-issues] [Issue 83878] unopkg: avoiding the need that installing a uno.pkg causes it to be copi ed...

2007-12-04 Thread rene
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83878


User rene changed the following:

What|Old value |New value

  CC|'rene'|'jl,rene'





-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[framework-issues] [Issue 83878] unopkg: avoiding the need that installing a uno.pkg causes it to be copi ed...

2007-12-04 Thread rene
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83878


User rene changed the following:

What|Old value |New value

  CC|''|'rene'





--- Additional comments from [EMAIL PROTECTED] Tue Dec  4 10:25:46 + 
2007 ---
jl: this would be a possible solution for the "writer2latex.jar duplicated"
problem which I mentioned on [EMAIL PROTECTED]

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[framework-issues] [Issue 83878] unopkg: avoiding the need that installing a uno.pkg causes it to be copi ed...

2007-12-04 Thread rene
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83878





--- Additional comments from [EMAIL PROTECTED] Tue Dec  4 10:24:50 + 
2007 ---
1 doesn't make sense. When you use the fature you know what you are doing or are
a packager. On Windows you probably will not need it at all. Why bother then?

The fs argument doesn't make sense either, /, /usr, /var etc. can't be on fat,
nether can /home, too many things want permissions and (sym/hard)links. You can
use fat for you data (maybe in a subdir under home), but not for the main
system, so I think this argument is moot.

for 2 I agree with cmc too. When packagers or system admins are the only users
of this (why should normal users not use the "normal" extensions) we don't need
a UI. The packages would use unopkg directly anyway, and so you can tell the
admins to do so, too



-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[framework-issues] [Issue 83878] unopkg: avoiding the need that installing a uno.pkg causes it to be copi ed...

2007-11-27 Thread cmc
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83878





--- Additional comments from [EMAIL PROTECTED] Tue Nov 27 15:54:12 + 
2007 ---
1) why must it work on windows, that's a requirement that makes it totally
impossible for me to ever implement, ah well.
2) I'm not sure there needs to be a UI for it
5) is issue 83877

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[framework-issues] [Issue 83878] unopkg: avoiding the need that installing a uno.pkg causes it to be copi ed...

2007-11-27 Thread jl
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83878


User jl changed the following:

What|Old value |New value

 Assigned to|jl|cmc





--- Additional comments from [EMAIL PROTECTED] Tue Nov 27 15:21:54 + 
2007 ---
I think your idea is interesting. However, to integrate the patch there need
some more to be done.

1.This must also work on Windows – not only building but also this feature
itself. You also need to take into account that a linux could use a FAT file
system where links do not work pretty well.

2.It should be possible to add an “unzipped extension” through the Extension
Manager dialog.

3.Do not use another command line option. It would be ok to call just “unopkg
add file_url_to_folder”. The Extension Manager should then use  this folder
directly. Therefore you need to modify the filepicker in #2 to be able to select
a folder. Also this need to be documented in the
offapi/com/sun/star/deployment/XPackageManager.idl file (function addPackage).

4.Be aware that it is legitimate that the code in the extension uses its
installation directory to store data. It could even modify, remove files which
came with extension. When removing the office, then the native installer will
find files which do not match with the original extension and might complain or
cause errors. You would need to investigate this (for example, SOLARIS). This
may be a K.O. criterion.

5. There must be a clean uninstallation of the extension. That is, if there are
links from the uno_packages folder then they need to be removed.


-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[framework-issues] [Issue 83878] unopkg: avoiding the need that installing a uno.pkg causes it to be copi ed...

2007-11-27 Thread jl
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83878



This issue depends on issue 83876, which changed state:

What|Old value |New value

  Status|NEW   |RESOLVED

  Resolution|  |WORKSFORME





-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[framework-issues] [Issue 83878] unopkg: avoiding the need that installing a uno.pkg causes it to be copi ed...

2007-11-22 Thread mba
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83878


User mba changed the following:

What|Old value |New value

 Assigned to|mba   |jl





--- Additional comments from [EMAIL PROTECTED] Thu Nov 22 15:57:02 + 
2007 ---
Jochen, one for you

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[framework-issues] [Issue 83878] unopkg: avoiding the need that installing a uno.pkg causes it to be copi ed...

2007-11-22 Thread cmc
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83878


User cmc changed the following:

What|Old value |New value

 Attachment is patch|  |Created an attachment (id=
|  |49831)
patch to enable thi
|  |s






--- Additional comments from [EMAIL PROTECTED] Thu Nov 22 15:52:24 + 
2007 ---
Created an attachment (id=49831)
patch to enable this


-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[framework-issues] [Issue 83878] unopkg: avoiding the need that installing a uno.pkg causes it to be copi ed...

2007-11-22 Thread cmc
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83878


User cmc changed the following:

What|Old value |New value

 IssuesThisDependsOn|  |83876,83877





-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[framework-issues] [Issue 83878] unopkg: avoiding the need that installing a uno.pkg causes it to be copi ed...

2007-11-22 Thread cmc
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83878
 Issue #|83878
 Summary|unopkg: avoiding the need that installing a uno.pkg ca
|uses it to be copied...
   Component|framework
 Version|680m237
Platform|All
 URL|
  OS/Version|All
  Status|NEW
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|PATCH
Priority|P3
Subcomponent|code
 Assigned to|mba
 Reported by|cmc





--- Additional comments from [EMAIL PROTECTED] Thu Nov 22 15:47:03 + 
2007 ---
which is problematic for e.g. a distro that wants to ship extensions as .rpms,
in this case the rpm contains the uno.pkg and assigns it a slot in the directory
hierarchy, unopkg add --shared on it will duplicate the content into the install
which a bit wasteful. 

Here's a suggestion patch which adds a -link option which then allows an
unpacked component to be registered without copying the content, e.g.

1. cd /usr/share
2. unzip /usr/src/redhat/BUILD/writer2latex05/writer2latex.uno.pkg -d 
writer2latex.uno.pkg
3. unopkg add --shared --link writer2latex.uno.pkg
4. ls -asl /usr/lib/openoffice.org/share/uno_packages/cache/uno_packages/qNd2CJ_
writer2latex.uno.pkg -> /usr/share/writer2latex

So 1 & 2 can be done at rpmbuild time, 3 at rpm --install time and the package
can be deployed as a normal rpm without duplicating the content into OOo, just
linking it.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]