[haiku-development] Re: Qustion of the packagemanagment system.

  • From: François Revol <revol@xxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 25 Aug 2014 16:34:59 +0200

On 25/08/2014 16:28, Fredrik Modéen wrote:
> 2014-08-25 14:53 skrev François Revol:
>> On 24/08/2014 15:21, pulkomandy wrote:
>>> On Sun, Aug 24, 2014 at 12:57:02PM +0200, Fredrik Modéen wrote:
>>>> 2014-08-24 09:35 skrev pulkomandy:
>>>>> Hi,
>>>>> You should put the package in home/config/packages. If there is a
>>>>> problem with it, the package manager will tell you using a
>>>>> BNotification
>>>>> or an error window. You can also check the syslog to see when it
>>>>> becomes
>>>>> active.
>>>>
>>>> Thanks that worked :). Problem now are that it says the package are not
>>>> installable. The syslog don't say anyting.
>>>>
>>>> This are the .packinfo file. I couldn't use 1.1.0 it said it hade
>>>> the wrong
>>>> versioning.
>>>
>>> The format is version-revision, in your case 1.1.0-1. You increment the
>>> revision when doing changes only to the packaging.
>>>
>>>>     cp vmwaddons/objects.x86-gcc4-debug/vmwaddons 'VMW
>>>> Add-Ons/apps/Vmware'
>>>>     cp vmwmouse/objects.x86-gcc4-debug/vmwmouse 'VMW
>>>> Add-Ons/add-ons/input_server/filters'
>>>>     cp readme.txt 'VMW Add-Ons'
>>>>     cp .PackageInfo 'VMW Add-Ons'
>>>
>>> The readme file should not be at the root of the package. You can put it
>>> next to the application in the apps/Vmware folder.
>>>
>>> It may be better to use haikuporter to automate the creation of the
>>> package. I'm not too familiar with manual invocation of the package
>>> tool, maybe others can help.
>>
>> Also, there are known issues with caps in the package names (mostly with
>> devel packages but still), so I'd suggest you name it like
>> "vmware_addons" or "vmware_guest_additions" or "vmware_guest_tools".
> 
> Ok. Didn't do it ether. I have tried to find some information on how the
> files and folders in a hpkg file are order. I did found a page but can't
> fint it again.
> 
> This are what syslog told me.
> KERN: bfs: bfs_open_dir:1644: Not a directory
> KERN: package_daemon [939178798:  1452]
> Volume::_PackagesEntryRemoved("vmware_addons-1.1.0-x86.hpkg")
> KERN: package_daemon [954945163:  1452] KERN:
> Volume::_PackagesEntryCreated("vmware_addons-1.1.0-x86.hpkg")

You're missing the package revision in the package filename...

François.


Other related posts: