~nskaggs/ubuntu-filemanager-app/fix-ap-item-renames

« back to all changes in this revision

Viewing changes to README.contentHubDesktop

  • Committer: Girish Rawat
  • Date: 2015-12-19 07:34:45 UTC
  • mto: This revision was merged to the branch mainline in revision 511.
  • Revision ID: emailgirishrawat@gmail.com-20151219073445-ymuc9aykt4wsqe8k
Improved READMEs

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Ubuntu File Manager
2
 
 
3
 
File manager app for Ubuntu on the desktop and on mobile devices.
4
 
 
5
 
## Testing Content-Hub support
6
 
 
7
 
### For the desktop
8
 
 
9
 
Install the following dependencies to run click applications:
10
 
 
11
 
    sudo apt-get install upstart-app-launch-tools
12
 
 
13
 
#### Build FileManager and install FileManager as click package
14
 
 
15
 
Build FileManager as a click package and install it. At the time of this writing
16
 
this doesn't seem to be working with the SDK (due to cmake), but it can be done 
17
 
from command line:
18
 
 
19
 
First you must modify manifest.json and replace "architecture" value of "armhf" with "i386".
20
 
Just remember to change it back to armhf if you commit changes.
21
 
 
22
 
After that you can build x86 version of the package and install it:
23
 
 
24
 
    QT_SELECT=qt5 cmake . -DCLICK_MODE=1 && make -j2 && make install DESTDIR=install && click build install
25
 
    sudo click install --user=$USER ./com.ubuntu.filemanager_0.3.latest_i386.click 
26
 
 
27
 
#### Build and install hub-importer as click package
28
 
 
29
 
Get the sources for building:
30
 
 
31
 
    bzr branch lp:~ken-vandine/+junk/hub-importer
32
 
 
33
 
You should be able to create click package out of it in SDK by opening the project and using Publish and Create package.
34
 
 
35
 
Install the created package (example):
36
 
 
37
 
    sudo click install --user=$USER com.ubuntu.developer.ken-vandine.hub-importer_0.2_all.click
38
 
 
39
 
#### Running test
40
 
 
41
 
Run hub-importer (example):
42
 
 
43
 
    upstart-app-launch com.ubuntu.developer.ken-vandine.hub-importer_hub-importer_0.2
44
 
 
45
 
Click "Select source" button.
46
 
 
47
 
You should see File Manager as one of the choices. If you do not see File Manager, look at "Troubleshooting" section.
48
 
Click on File Manager, and File Manager should start. Now you should choose some pictures as that's the only thing
49
 
supported at the moment (even though FileManager allows selecting any type). You can select multiple files in a 
50
 
directory if you so choose. Once you're satisfied with the seelction, click "Select". You should see the pictures 
51
 
then in Hub Importer.
52
 
 
53
 
#### Troubleshooting
54
 
 
55
 
 - If you don't see File Manager as one of the choises in Hub Importer, then quit Hub Importer and run this script:
56
 
    /usr/lib/i386-linux-gnu/content-hub/content-hub-peer-hook
57
 
   Try running Hub Importer again after that and File Manager should show.
58
 
   If the above script does not exist, you can try locating something similar with:
59
 
    locate hook
60
 
 - If you have trouble running Hub Importer or the above still doesn't work, check the installed click packages with:
61
 
   click list
62
 
   It should show entry for both File Manager and Hub Importer. If it does not, installing the click package has not succeeded
63
 
 - If all else fails, check the logs for both Hub Importer and File Manager for further clues at:
64
 
    $HOME/.cache/upstart/
65