Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 16 Dec 2017, 11:26
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Puppy Equivalent of "update-desktop-database"?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
s243a

Joined: 02 Sep 2014
Posts: 698

PostPosted: Thu 30 Nov 2017, 02:54    Post subject:  Puppy Equivalent of "update-desktop-database"?  

What is the puppy equivalent of "update-desktop-database"?

I'm trying to modify a slakcbuild script of synergy of synergy (1.7.5)

The reason is that the newer the version of synergy available for tahrpup is too old to work with the version available for slaco.

The above command apears in the script doinstall.sh which is part of the slckbuild archive "synergy.tar.gz ".

Code:

if [ -x /usr/bin/update-desktop-database ]; then
  /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi

if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
  if [ -x /usr/bin/gtk-update-icon-cache ]; then
    /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
  fi
fi

For now I'll comment out the part of the script which calls "doinstall.sh" but if there is a useful puppy equivalent then I'll add it.


I've made some modifications to "synergy.Slackbuild" now called "synergy-core.Slackbild" because the source link on the slackbuild site didn't work and the equivalent version on github had the name core.
https://github.com/symless/synergy-core/archive/v1.7.5-stable.tar.gz

I'll upload my script updates shortly and hopefully a built package.
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 698

PostPosted: Thu 30 Nov 2017, 03:20    Post subject:  

I haven't tested this yet but the built package can be found at:https://www.dropbox.com/s/s8bsrxzf0jrujo1/package-synergy-core.pet?dl=0

Compiled in tahrpup 6.0.6 (32 bit version inside a virtual machine)

My modified build script is attached. I'll test it before the weekend ends (hopefully before the weekend).

P.S. I should probably add the build version to the pet name and maybe list some dependencies. However, I didn't need to install any dependencies so I'm not sure if I should list them.
synergy-core.SlackBuild.zip
Description 
zip

 Download 
Filename  synergy-core.SlackBuild.zip 
Filesize  2.01 KB 
Downloaded  14 Time(s) 
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 11282
Location: Gatineau (Qc), Canada

PostPosted: Thu 30 Nov 2017, 13:19    Post subject:  

Hello, s543a.

I just looked at your URL. The "synergy" concept is interesting, but I'm a complete
stranger in these lands, I'm afraid.

Good luck.

_________________
musher0
~~~~~~~~~~
"Logical entities must not be multiplied beyond necessity." | |
« Il ne faut pas multiplier les entités logiques sans nécessité. » (Ockham)
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 698

PostPosted: Sat 02 Dec 2017, 06:35    Post subject:  

musher0 wrote:
Hello, s543a.

I just looked at your URL. The "synergy" concept is interesting, but I'm a complete
stranger in these lands, I'm afraid.

Good luck.


I updated the download link. The pet works now (in tharpup 6.0.6). I haven't updated the build scripts though that I attached to my last post. I had an error in it where I specified one directory to high when using dir2pet.

There is also some cleanup that I should do that I mentioned above such as version naming and maybe dependencies.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0302s ][ Queries: 12 (0.0037s) ][ GZIP on ]