Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 185880

Summary: app-misc/upm-1.5 (New Package) => Universal Password Manager 1.5
Product: Gentoo Linux Reporter: Swoög <Swoog.News>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: RESOLVED WONTFIX    
Severity: enhancement Keywords: EBUILD
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild
added file
upm-1.5.ebuild
files/upm
files/upm-1.5-README.txt.patch
files/upm
upm-1.5.ebuild.patch
upm-1.5.ebuild
files/upm-1.5-README.txt.patch
upm-1.5.ebuild.patch

Description Swoög 2007-07-19 15:48:50 UTC
Hi !

There is attached an ebuild, an an associated file to be able to run it as a script shell (since it's a java app)

I suggest app-misc/upm, the ebuild depend on virtual/x11 and virtual/jre.

I put ~x86 as KeyWord because I did never try it with an other platform (but it's stable on x86)...

Swoög.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-07-19 15:52:09 UTC
(In reply to comment #0)
> I suggest app-misc/upm, the ebuild depend on virtual/x11 and virtual/jre.

Nothing at all should depend on virtual/x11; it's masked and about to be removed.
Comment 2 Swoög 2007-07-19 16:02:57 UTC
Oups... Sorry, I didn't see it...

Since the app has a GUI and no Text Interface (it's using Java's Swing Lib),
what dependence should I put ?
Comment 3 Swoög 2007-07-19 16:03:43 UTC
Created attachment 125340 [details]
ebuild
Comment 4 Swoög 2007-07-19 16:04:16 UTC
Created attachment 125341 [details]
added file
Comment 5 Swoög 2007-07-19 19:25:08 UTC
I had made some modifications on the ebuild :

Removing the virtual/x11 dependence
Modifying the upm added file, there was some bug (^M at EOL, no #!/bin/sh)
Added server USE flag (install files for database sharing)
Patch README.txt file to mention server USE flag needed for database sharing
Added source USE flag (install sources)

ebuild tested... sorry for the first ebuild that was useless...

If you think another dependence to replace virtual/x11, please let me know...

Swoög
Comment 6 Swoög 2007-07-19 19:25:55 UTC
Created attachment 125362 [details]
upm-1.5.ebuild
Comment 7 Swoög 2007-07-19 19:26:22 UTC
Created attachment 125364 [details]
files/upm
Comment 8 Swoög 2007-07-19 19:26:41 UTC
Created attachment 125365 [details, diff]
files/upm-1.5-README.txt.patch
Comment 9 Swoög 2007-07-19 19:30:26 UTC
Created attachment 125366 [details]
files/upm

this one is with the
#!/bin/sh
line...

Sorry =_="
Comment 10 Swoög 2007-07-19 23:39:43 UTC
Created attachment 125398 [details]
upm-1.5.ebuild.patch

Once again, a new patch for the ebuild...
I'm sorry, that's the first ebuild I create myself...

Changes :

* No Fetch the .tar.gz containing the sources if the source USE flag isn't enabled
* Replace "doins some_dir" by "cp -R some_dir ${SETUP_DIR}"
* Introduce two more variables SETUP_DIR and EXE_DIR


Since the patch is bigger than the new ebuild itself, I just attached the new ebuild...
Comment 11 Swoög 2007-07-20 08:22:47 UTC
Created attachment 125431 [details]
upm-1.5.ebuild

I think this one would be the last... But each time I'm using the ebuild in a new way, in want to upgrade it...

Changes :
* Change the USE flag 'server' to 'shareddb'
* Add USE flag 'client' to install the main application [Either 'client' or 'shareddb' is required]
* Add notice saying that the final steps to share DB is in the doc installed
* Separate the setup of each component in separated functions in the ebuild. (shdb_install and cli_install)

Since the upm-1.5-README.txt.patch has changed as well, I will post it too.
Comment 12 Swoög 2007-07-20 08:23:29 UTC
Created attachment 125432 [details, diff]
files/upm-1.5-README.txt.patch

The new one... Changes :

* Replace USE flag 'server' by 'shareddb'.
Comment 13 Swoög 2007-07-20 08:29:26 UTC
Created attachment 125434 [details, diff]
upm-1.5.ebuild.patch

I had misused ${D} (instead of ${ROOT}) in some einfo...

Here is the patch... Sry (once again)...