I have made the following changes intended for :
  CE:MW:MTF / meegotouch-applauncherd

Please review and accept or decline.
BOSS has already run some checks on this request.
See the "Messages from BOSS" section below.

https://build.pub.meego.com//request/show/4198

Thank You,
Marko Saukko

[This message was auto-generated]

---

Request # 4198:

Messages from BOSS:

State: review at 2012-01-26T14:15:11 by bossbot

Reviews:
       accepted by bossbot : Prechecks succeeded.
       new for CE-maintainers : Please replace this text with a review and 
approve/reject the review (not the SR). BOSS will take care of the rest

Changes:
  submit: Project:MTF:MW / meegotouch-applauncherd -> CE:MW:MTF / 
meegotouch-applauncherd
  
changes files:
--------------
--- meegotouch-applauncherd.changes
+++ meegotouch-applauncherd.changes
@@ -0,0 +1,3 @@
+* Thu Jan 26 2012 Vesa-Matti Hartikainen <[email protected]> - 
2.0.16
+- Updated 0001-BMC22845-Move-var-run-to-home.patch to use nemo as user home 
instead of meego
+

spec files:
-----------

other changes:
--------------

++++++ 0001-BMC22845-Move-var-run-to-home.patch
--- 0001-BMC22845-Move-var-run-to-home.patch
+++ 0001-BMC22845-Move-var-run-to-home.patch
@@ -21,7 +21,7 @@
  
  As a result, a lock file 
 -\c /var/run/single-instance-locks/usr/bin/myApp/instance.lock is created. 
-+\c /home/meego/.single-instance-locks/usr/bin/myApp/instance.lock is created. 
++\c /home/nemo/.single-instance-locks/usr/bin/myApp/instance.lock is created. 
  If applauncherd cannot acquire the lock, it tries to find the corresponding
  window and activates it. 
  
@@ -34,7 +34,7 @@
      fl.l_len = 1;
  
 -    if((m_lockFd = open("/var/run/applauncherd.lock", O_WRONLY | O_CREAT, 
0666)) == -1)
-+    if((m_lockFd = open("/home/meego/applauncherd.lock", O_WRONLY | O_CREAT, 
0666)) == -1)
++    if((m_lockFd = open("/home/nemo/applauncherd.lock", O_WRONLY | O_CREAT, 
0666)) == -1)
          return false;
  
      if(fcntl(m_lockFd, F_SETLK, &fl) == -1)
@@ -47,7 +47,7 @@
    Exec=/usr/bin/invoker --single-instance --type=d /usr/bin/<application_name>
   
 -As a result, a lock file 
/var/run/single-instance-locks/<application_name>/instance.lock 
-+As a result, a lock file 
/home/meego/.single-instance-locks/<application_name>/instance.lock 
++As a result, a lock file 
/home/nemo/.single-instance-locks/<application_name>/instance.lock 
  is created.  If applauncherd cannot acquire the lock, it tries to find the
  corresponding window and activates it.
  
@@ -60,7 +60,7 @@
  {
      int g_lockFd = -1;
 -    const std::string LOCK_PATH_BASE("/var/run/single-instance-locks/");
-+    const std::string LOCK_PATH_BASE("/home/meego/.single-instance-locks/");
++    const std::string LOCK_PATH_BASE("/home/nemo/.single-instance-locks/");
      const std::string LOCK_FILE_NAME("instance.lock");
  }
  
@@ -69,7 +69,7 @@
       *
       * Tries to acquire a lock currently at
 -     * /var/run/single-instance-locks/[binaryName]/instance.lock
-+     * /home/meego/.single-instance-locks/[binaryName]/instance.lock
++     * /home/nemo/.single-instance-locks/[binaryName]/instance.lock
       *
       * \param binaryName Full path to the binary.
       * \return true if succeeded, false on failure.
@@ -82,7 +82,7 @@
      """
  
 -    files = ['/var/run/applauncherd.lock']
-+    files = ['/home/meego/applauncherd.lock']
++    files = ['/home/nemo/applauncherd.lock']
      files += glob.glob('/tmp/boost*')
  
      for f in files:



Reply via email to