![]() |
[Request for Comments] Distributing/releasing Queen BeeCon Widgets (deb-packages on extras)
I'm Requesting for comments about this solution to release/distribute/package Queen BeeCon Widgets inside debian-package.
Issues are described here: http://wiki.maemo.org/Queen_BeeCon_W...ipts_please.3F So far I have made first debian-package and pushed it to the extas-devel. WARNING: It can ruin your working widgets (during installation, upgrading or removing). I have not installed it on my primary phone myself! Package name is qbw-harmattan-date With apt-get source qbw-harmattan-date you can get all files. (http://maemo.org/packages/view/qbw-harmattan-date/) I will describe how it is made so it can be analysed and potential failing parts could be spotted. I'm using unmodified queen-beecon, but it can be tuned, if something can be then done more robust way. I will use name HarmattanDate for this instructions. Name can't contain spaces or dashes. ------- So... You have good widget on your phone. Export it to the file (exported_widget.txt). copy file "/var/lib/gconf/apps/osso/hildon-desktop/applets/XXX/%gconf.xml" (conf.xml) where XXX is something like queen-beecon.desktop-0. This file contains coordinates for widget. on debian/rules:install Code:
mkdir -p $(CURDIR)/debian/qbw-harmattan-date/var/lib/gconf/apps/osso/hildon-desktop/applets/queen-beecon.desktop-HarmattanDate Code:
#!/bin/sh Code:
#!/bin/sh Package will contain some files, and postinstallation/postrm are used for adding/deleting widget (or widgets, if many desktops are used). Removing package (i.e. running postrm) should be possible (and safe) even widget (or some of them) is reconfigured by user, or even manually removed. |
Re: [Request for Comments] Distributing/releasing Queen BeeCon Widgets (deb-packages on extras)
Great idea, there are a lot of useful widgets out there and maybe some of them are lost with the MegaUpload disaster.
|
Re: [Request for Comments] Distributing/releasing Queen BeeCon Widgets (deb-packages on extras)
Really good idea... We'll wait other widgets (sensible, geel etc)... :)
|
Re: [Request for Comments] Distributing/releasing Queen BeeCon Widgets (deb-packages on extras)
Download source package if you want try with your own widget. These are copies from there so more people can see and inspect them.
So export your widget and put it to the file exported_widget.txt, then check (or modify) instanceTitle on that file and use it to debian/rules : install (e.g. exported_widget.txt:instanceTitle=HarmattanDate) Code:
mkdir -p $(CURDIR)/debian/qbw-harmattan-date/var/lib/gconf/apps/osso/hildon-desktop/applets/queen-beecon.desktop-HarmattanDate (there are only one row to change: PACKAGE_NAME) Code:
#!/bin/sh (there are also only one row to change: PACKAGE_NAME) Code:
#!/bin/sh |
Re: [Request for Comments] Distributing/releasing Queen BeeCon Widgets (deb-packages on extras)
Just thumbs up - I think it's great idea, their place is in repositories.
/Estel |
Re: [Request for Comments] Distributing/releasing Queen BeeCon Widgets (deb-packages on extras)
Many thanks for widget qbw-harmattan-clock!:) A question: How it is possible to change a mode of display of time? I want that instead of 10:30PM was displayed as 22:30AM. Whether It is possible instead of symbols PM or AM to display second??? I am sorry for bad English, thanks for the answer!
|
All times are GMT. The time now is 03:44. |
vBulletin® Version 3.8.8