Active Topics

 


Reply
Thread Tools
B-RUNO's Avatar
Posts: 124 | Thanked: 125 times | Joined on Sep 2010
#11
I dont think so even though if you want revert back just do as 32606 says on the first post.
how to restore:
root
apt-get install --reinstall hildon-desktop
killall hildon-desktop
 
Posts: 915 | Thanked: 57 times | Joined on Jun 2011
#12
Nokia-N900:~# apt-get install --reinstall hildon-desktop
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reinstallation of hildon-desktop is not possible, it cannot be downloaded.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Nokia-N900:~#

i want to revert back.
__________________
PR 1.3
CSSU (TESTING)
KERNEL POWER 49
BACKUPMENU
 
Posts: 1,523 | Thanked: 1,997 times | Joined on Jul 2011 @ not your mom's FOSS basement
#13
...can you actually F*CKING STOP to install everything that you get under your little fingers and then come crying for help EVERY F*CKING TIME if it doesn't work out?
 

The Following 14 Users Say Thank You to don_falcone For This Useful Post:
Alfred's Avatar
Posts: 855 | Thanked: 612 times | Joined on Oct 2010 @ Germany
#14
Sadly, i can confirm trishas situation, BUT i don't understand why one would want to revert back, although i will try to find an answer.. btw i tested uninstallation just for fun.
__________________
Reps are just one click away: Extras | Extras-Testing | Extras-Devel | My-Maemo | CSSU |
Transform your lock screen into a weather forecast Thanks button ================>

Last edited by Alfred; 2011-12-05 at 15:00.
 

The Following User Says Thank You to Alfred For This Useful Post:
Posts: 896 | Thanked: 978 times | Joined on Feb 2011 @ Greece, Athens
#15
Thank you so much!

it's the perfect thing to do when I'm on the go, listening to music!

Last edited by HELLASISGREECE; 2011-12-05 at 14:00.
 
Posts: 3 | Thanked: 11 times | Joined on Sep 2010
#16
Anyone else would love to see this in CSSU?
 

The Following 10 Users Say Thank You to .__.. For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#17
I'd like to have it in CSSU!
 

The Following 2 Users Say Thank You to marmistrz For This Useful Post:
l32606's Avatar
Posts: 61 | Thanked: 166 times | Joined on Dec 2011
#18
Originally Posted by freemangordon View Post
I really don't get it why you are forking h-d. And asking for a mail in order to publish source code is impolite if not suspicious. Just attach .dsc and .tar.gz files in your opening post, as simple as that. Or even better make a clone of h-d on gitorious and request a merge of your patches so they can be reviewed and eventually merged upstream.
I really want to upload the source code together with the deb package.
BUT you know there is a limitation of the attachment size here.
And the size of source code file exceeds the forum's limit of 488.3 KB for .gz file.

So I have to do like that.

Actually I'm just a maemo user of N810, N900 and I like them and maemo.org. I even do not want to fork HD. I wish CSSU can provide the feature just like some other guys do. As I mentioned, we need the function with a long-time waiting.
When I went through the HD
code last week, I found it is possible and easy to support locking-portrait mode. So I posted to show it. The modification is very simple and no more than 10 lines or code. Trust me. So I don't think there is any side effect for this change.

Please forgive my pool English and I wish I have explained it clearly.
 

The Following 4 Users Say Thank You to l32606 For This Useful Post:
l32606's Avatar
Posts: 61 | Thanked: 166 times | Joined on Dec 2011
#19
Here is the diff output.
Code:
diff -r community-ssu-hildon-desktop-master/community-ssu-hildon-desktop/debian/changelog community-ssu-hildon-desktop/debian/changelog
0a1,6
> hildon-desktop (1:2.2.142-16-l32606) unstable; urgency=low
> 
>   * support lock portrait
> 
>  -- l32606 <l32606@gmail.com>  Sat, 03 Dec 2011 22:27:09 +0300
> 
diff -r community-ssu-hildon-desktop-master/community-ssu-hildon-desktop/src/launcher/hd-app-mgr.c community-ssu-hildon-desktop/src/launcher/hd-app-mgr.c
147a148,151
> static gboolean g_lock_portrait = TRUE; 
> 
> static gboolean g_rotation_flag = TRUE; // TRUE: AUTO; FALSE: lock
> 
489a494,499
> 
>       gconf_client_notify_add (priv->gconf_client, "/apps/osso/hildon-desktop/orientation_lock",
>                                hd_app_mgr_gconf_value_changed,
>                                (gpointer) self,
>                                NULL, NULL);
> 	  
1995c2005
< static gboolean
---
> static gboolean 
2082,2083c2092,2099
<           priv->portrait = _hd_app_mgr_dbus_check_value (msg,
<                                            MCE_ORIENTATION_PORTRAIT);
---
> 	      if (g_rotation_flag)
> 	      {
> 		  	priv->portrait = _hd_app_mgr_dbus_check_value (msg, MCE_ORIENTATION_PORTRAIT);
> 	      }
> 		  else 
> 		  {
> 			priv->portrait = g_lock_portrait; 
> 		  }
2136c2152
< 
---
> (void)state;
2143c2159
<   gboolean activate = (
---
>   gboolean activate = TRUE;/*(
2153c2169
<                     );
---
>                     );*/
2239a2256,2257
>   gboolean v = STATE_IS_PORTRAIT(hd_render_manager_get_state ());
>   
2319c2337,2348
<       priv->ui_can_rotate = value;
---
>       priv->ui_can_rotate = TRUE;//value;
> 
>       priv->ui_can_rotate = TRUE;
> 	  if (value == TRUE)
> 	  {
> 	  	g_rotation_flag = TRUE;
> 	  }
> 	  else
> 	  {
> 	  	g_rotation_flag = FALSE;
> 	    g_lock_portrait = v;
> 	  }
2323a2353,2357
>   else if (!g_strcmp0 (gconf_entry_get_key (entry),
>                   "/apps/osso/hildon-desktop/orientation_lock"))
>     {
>       //(void);
>     }
diff -r community-ssu-hildon-desktop-master/community-ssu-hildon-desktop/src/mb/hd-comp-mgr.c community-ssu-hildon-desktop/src/mb/hd-comp-mgr.c
1095c1095
<               || gconf_client_get_bool (gconf_client, GCONF_KEY_ORIENTATION_LOCK, NULL))
---
>               )//|| gconf_client_get_bool (gconf_client, GCONF_KEY_ORIENTATION_LOCK, NULL))
3223c3223
<   HdCompMgrPrivate *priv = hmgr->priv;
---
>   //HdCompMgrPrivate *priv = hmgr->priv;
3283c3283
<               || gconf_client_get_bool (priv->gconf_client, GCONF_KEY_ORIENTATION_LOCK, NULL))
---
>               )//|| gconf_client_get_bool (priv->gconf_client, GCONF_KEY_ORIENTATION_LOCK, NULL))
3293c3293
<               || gconf_client_get_bool (priv->gconf_client, GCONF_KEY_ORIENTATION_LOCK, NULL))
---
>               )//|| gconf_client_get_bool (priv->gconf_client, GCONF_KEY_ORIENTATION_LOCK, NULL))
3358,3359c3358,3359
< 		gboolean orientation_lock = gconf_client_get_bool (priv->gconf_client, 
< 																												GCONF_KEY_ORIENTATION_LOCK, NULL);
---
> 		gboolean orientation_lock = gconf_client_get_bool (priv->gconf_client,  GCONF_KEY_ORIENTATION_LOCK, NULL);
> 		orientation_lock = FALSE;
In fact, some changes are useless, such as:
489a494,499
2143c2159,

And the modification of hd-comp-mgr.c is ugly. I think the better way is change lib-orientation-lock-status-menu-widget.c in status-area-orientationlock-applet. But it will change two package.

Last edited by l32606; 2011-12-05 at 15:36.
 

The Following 3 Users Say Thank You to l32606 For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#20
Originally Posted by l32606 View Post
I really want to upload the source code together with the deb package.
BUT you know there is a limitation of the attachment size here.
And the size of source code file exceeds the forum's limit of 488.3 KB for .gz file.

So I have to do like that.

Actually I'm just a maemo user of N810, N900 and I like them and maemo.org. I even do not want to fork HD. I wish CSSU can provide the feature just like some other guys do. As I mentioned, we need the function with a long-time waiting.
When I went through the HD
code last week, I found it is possible and easy to support locking-portrait mode. So I posted to show it. The modification is very simple and no more than 10 lines or code. Trust me. So I don't think there is any side effect for this change.

Please forgive my pool English and I wish I have explained it clearly.
If it is 10 lines of code you can do diff and attach the patch here.
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:09.