Editing QtLockscreen

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 36: Line 36:
== Change Log ==
== Change Log ==
-
===''' Version 0.1.11 '''===
+
===''' Version 0.1.0 '''===
-
* Added ShowImage (to show/hide the forecast image), ConditionsText, ConditionsPos, ConditionsFont, ConditionsColor (for the current conditions text) settings to weather widget
+
* Initial Release
-
* Added setting to turn on/off antialiasing (was on by default in previous versions)
+
-
* Added PercentageType setting to BatteryWidget (can be "default", "bq27200" or "dr_frost_dk")
+
-
* Fixed dateTime day and month display when Locale setting is set
+
-
* Fixed alignment settings, now you can set horizontal alignment and vertical alignment:
+
-
Example (horizontally centered and top aligned):
+
-
Alignment="center;top"
+
-
'''Please note:''' "TextAlignment" for notification works as before (it should be named TextPosition but all themes out now uses TextAlignment, so...).
+
===''' Version 0.1.1 '''===
-
DateTime and text widget uses the "new" alignment horizontal+vertical.
+
-
===''' Version 0.1.10 '''===
+
* Changed default background to /etc/hildon/theme/backgrounds/lockslider.png
 +
* Changed font settings, format = "fontName;fontSize;fontWeight;italic"
-
* Added command line argument to take a screenshot:
+
===''' Version 0.1.2 '''===
-
  /usr/bin/qtlockscreen -s /home/user/screenshot.png
+
-
* Added command line argument to set the config file to use
+
-
  /usr/bin/qtlockscreen -c /opt/qtlockscreen/theme.ini
+
-
* Added SliderImagePressed setting to SlideToUnlock widget
+
-
* Fixed some bugs :p
+
-
===''' Version 0.1.9 '''===
+
* Fixed _HILDON_WM_ACTION_NO_TRANSITIONS
-
* Fixed Weather widget script
+
===''' Version 0.1.3 '''===
-
* Fixed languages: sv_SV (I forgot the file in v.0.1.8)
+
-
===''' Version 0.1.8 '''===
+
* Added italian translation
 +
* Added french translation (GaRy delaMEr)
 +
* Added PercentageColor setting for battery widget
 +
* Fixed: the lockscreen was on top of the alarm dialog
 +
* Fixed: battery widget now has a ChargingImage setting
-
* Added setting to override the system locale (see the default config file)
+
===''' Version 0.1.4 '''===
-
* Added wifi widget
+
-
* Added Weather widget
+
-
* Fixed albumart corrupted if the widget has different size in portrait and landscape
+
-
* Added languages: sv_SV
+
-
* Fixed: reverted to old orientation manager (it should fix the problems appeared from version 0.1.5)
+
-
===''' Version 0.1.7 '''===
+
* Added german translation (NightShift79)
-
 
+
* The default config file is always copied to /home/user/.config/sakya/QtLockscreen.ini.default
-
* Fixed background problem when Orientation is set to "portrait" (really) :)
+
* Added postrm script
-
 
+
* Fixed metadata update
-
===''' Version 0.1.6 '''===
+
-
 
+
-
* Fixed background problem when Orientation is set to "portrait"
+
-
* Added to SlideToUnlock settings UnlockXL, UnlockXP, UnlockYL, UnlockYP
+
===''' Version 0.1.5 '''===
===''' Version 0.1.5 '''===
Line 91: Line 74:
* Removed embedded resources: all resources are copied to /opt/qtlockscreen
* Removed embedded resources: all resources are copied to /opt/qtlockscreen
-
===''' Version 0.1.4 '''===
+
===''' Version 0.1.6 '''===
-
* Added german translation (NightShift79)
+
* Fixed background problem when Orientation is set to "portrait"
-
* The default config file is always copied to /home/user/.config/sakya/QtLockscreen.ini.default
+
* Added to SlideToUnlock settings UnlockXL, UnlockXP, UnlockYL, UnlockYP
-
* Added postrm script
+
-
* Fixed metadata update
+
-
===''' Version 0.1.3 '''===
+
===''' Version 0.1.7 '''===
-
* Added italian translation
+
* Fixed background problem when Orientation is set to "portrait" (really) :)
-
* Added french translation (GaRy delaMEr)
+
-
* Added PercentageColor setting for battery widget
+
-
* Fixed: the lockscreen was on top of the alarm dialog
+
-
* Fixed: battery widget now has a ChargingImage setting
+
-
===''' Version 0.1.2 '''===
+
===''' Version 0.1.8 '''===
-
* Fixed _HILDON_WM_ACTION_NO_TRANSITIONS
+
* Added setting to override the system locale (see the default config file)
 +
* Added wifi widget
 +
* Added Weather widget
 +
* Fixed albumart corrupted if the widget has different size in portrait and landscape
 +
* Added languages: sv_SV
 +
* Fixed: reverted to old orientation manager (it should fix the problems appeared from version 0.1.5)
-
===''' Version 0.1.1 '''===
+
===''' Version 0.1.9 '''===
-
* Changed default background to /etc/hildon/theme/backgrounds/lockslider.png
+
* Fixed Weather widget script
-
* Changed font settings, format = "fontName;fontSize;fontWeight;italic"
+
* Fixed languages: sv_SV (I forgot the file in v.0.1.8)
-
 
+
-
===''' Version 0.1.0 '''===
+
-
 
+
-
* Initial Release
+
== Known Issues ==
== Known Issues ==
Line 136: Line 114:
* <s>Swipe to unlock widget / feature</s> (Implemented in v0.1.5)
* <s>Swipe to unlock widget / feature</s> (Implemented in v0.1.5)
* <s>IM notification widget</s> (Implemented in v0.1.5)
* <s>IM notification widget</s> (Implemented in v0.1.5)
-
* <s>Operator widget</s> (Implemented in v0.1.12)
+
* Operator widget
* <s>Wifi/3g widget</s> (Implemented in v0.1.8)
* <s>Wifi/3g widget</s> (Implemented in v0.1.8)
* <s>Weather widget</s> (Implemented in v0.1.8)
* <s>Weather widget</s> (Implemented in v0.1.8)
-
* <s>Signal widget</s> (Implemented in v0.1.12)
+
* Signal widget
* Change profile (general / silent) widget
* Change profile (general / silent) widget
== Widget list ==
== Widget list ==
-
There are some common settings (common to all widgets):
 
-
<pre>PosL                              position in landscape
 
-
PosP                              position in portrait
 
-
SizeL                            size in landscape
 
-
SizeP                            size in portrait
 
-
RotationL                        roatation angle in landscape
 
-
RotationP                        roatation angle in portrait</pre>
 
-
 
-
Here's a list of available widgets with their possible settings.
 
-
<pre>Widget list:
 
-
------------
 
 +
<pre>
Rect:
Rect:
   Color                          rectangle bkg color
   Color                          rectangle bkg color
Line 167: Line 135:
   TimeFont                        font for time text
   TimeFont                        font for time text
   DateFont                        font for date text
   DateFont                        font for date text
-
  BackgroundUpdateIntervalSeconds If set the widget is updated also when the lockscreen is not visible
 
Battery:
Battery:
-
  PercentageType   the type of percentage to display (default, bq27200 or dr_frost_dk)
 
   Images                          list of images (separated by ;) to represent the battery charge
   Images                          list of images (separated by ;) to represent the battery charge
   ChargingImage                  image to use when the battery is charging
   ChargingImage                  image to use when the battery is charging
Line 184: Line 150:
   SliderPos                      initial slider position (relative to the widget)
   SliderPos                      initial slider position (relative to the widget)
   SliderImage                    image for the slider
   SliderImage                    image for the slider
-
  SliderImagePressed           image for the slider when pressed
 
   BackgroundImage                widget background image
   BackgroundImage                widget background image
-
   UnlockXP                        unlock x position (portrait)
+
   UnlockXP                        unlock x position relative to the widget (portrait)
-
   UnlockYP                        unlock y position (portrait)
+
   UnlockYP                        unlock y position relative to the widget (portrait)
-
   UnlockXL                        unlock x position (landscape)
+
   UnlockXL                        unlock x position relative to the widget (landscape)
-
   UnlockYL                        unlock y position (landscape)
+
   UnlockYL                        unlock y position relative to the widget (landscape)
MediaPlayPauseButton:
MediaPlayPauseButton:
Line 225: Line 190:
Notification:
Notification:
   Type                            notification type (call, sms, email, im)
   Type                            notification type (call, sms, email, im)
-
   TextAlignment                  text alignment relative to the image (top, bottom, left, right, center)
+
   TextAlignment                  text alignment relative to the image (top, bottom, left, right)
   Color                          text color
   Color                          text color
   Font                            text font
   Font                            text font
Line 231: Line 196:
Text:
Text:
   Alignment                      text alignment
   Alignment                      text alignment
-
  Multiline   set it to 1 if the text is multiline
 
   Color                          text color
   Color                          text color
   Font                            text font
   Font                            text font
   Text                            text
   Text                            text
-
 
-
TextCommand:
 
-
  Alignment                      text alignment
 
-
  Color                          text color
 
-
  Font                            text font
 
-
  Text                            text
 
-
  Command                        external command to execute
 
-
  UpdateInterval                  seconds between each command execution (set to zero to disable)
 
Weather:
Weather:
-
  ShowImage                     show forecast image (1 or 0)
 
   AutoUpdateIntervalSeconds      seconds between each auto update
   AutoUpdateIntervalSeconds      seconds between each auto update
-
  ConditionsText                  text to use before the current conditions text
 
-
  ConditionsPos                  position of the current conditions text (relative to this widget)
 
-
  ConditionsFont                  color for the current conditions
 
-
  ConditionsColor                color for the current conditions
 
   CurrentText                    text to use before the current temp
   CurrentText                    text to use before the current temp
   CurrentPos                      position of the current temp text (relative to this widget)
   CurrentPos                      position of the current temp text (relative to this widget)
Line 264: Line 215:
   LowColor                        color for the current temp
   LowColor                        color for the current temp
   MinimumSecondsBetweenUpdates    minimum time between each update
   MinimumSecondsBetweenUpdates    minimum time between each update
-
   Link                            yahoo weather link.
+
   Link                            yahoo weather link (without http://weather.yahoo.com/) ex: italy/lombardy/milan-718345
-
                                  You can set this without http://weather.yahoo.com/  
+
-
                                  ex: italy/lombardy/milan-718345
+
-
                                  or set the full link:
+
-
                                  ex: http://weather.yahoo.com/italy/lombardy/milan-718345
+
   Unit                            unit to use (c or nothing)
   Unit                            unit to use (c or nothing)
-
Internet:
+
Wifi:
-
   WifiImage                      icon for wifi connection
+
   Image                           image
-
  GprsImage                      icon for gprs connection
+
</pre>
-
 
+
-
OperatorName:
+
-
  Alignment                      text alignment
+
-
  Color                           text color
+
-
  Font                            text font
+
-
  Images                          list of images to use instead of text.
+
-
                                  Ex:
+
-
                                  Vodafone IT=/home/user/vodafone.png;TIM=/home/user/tim.png
+
-
 
+
-
SignalStrength:
+
-
  Images                          list of images (separated by ;) to represent the signal strength
+
-
 
+
-
RadioMode:
+
-
  3gIcon                          image for 3g mode
+
-
  2gIcon                          image for 2g mode
+
-
 
+
-
Bluetooth:
+
-
  ImageOn                        image to display when the bluetooth is on
+
-
  ImageOff                        optional image to display when the bluetooth is off
+
-
 
+
-
Profile:
+
-
  Images                          list of images to use for profiles.
+
-
                                  Ex:
+
-
                                  general=/opt/qtlockscreen/default/profile_general.png;silent=/opt/qtlockscreen/default/profile_silent.png
+
-
 
+
-
Alarm:
+
-
  Alignment                      text alignment
+
-
  Multiline   set it to 1 if the text is multiline
+
-
  Color                          text color
+
-
  Font                            text font
+
-
  Label                          label before the alarm date/time
+
-
  Format                          format of the alarm date/time
+
-
 
+
-
Calendar:
+
-
  NoEventsText                    text displayed when no events are found
+
-
  Entries                        number of entries to display
+
-
  DateFormat                      date format
+
-
  DateColor                      date color
+
-
  DateFont                        date font
+
-
  TextColor                      text color
+
-
  TextFont                        text font</pre>
+
== Customization ==
== Customization ==
Line 331: Line 237:
(it is automatically created in /home/user/.config/sakya/QtLockscreen.ini the first time the app is launched) '''as root''':
(it is automatically created in /home/user/.config/sakya/QtLockscreen.ini the first time the app is launched) '''as root''':
-
'''Some guidelines for better theme quality and easier management:'''
+
'''Just some hints for better theme quality and easier management:'''
-
 
+
-
A theme should be composed by:
+
-
- The configuration file (name it themeName.ini) in /opt/qtlockscreen
+
-
- A directory containing the images (name it /opt/qtlockscreen/themeName)
+
-
- Fonts (if needed) to be installed in /usr/share/fonts
+
'/opt/qtlockscreen/default/' is the default theme folder and should not be used to store your custom images or other files, so you should not overwrite or add / delete anything here. It is advised to create a directory that is named as your theme in directory '/opt/qtlockscreen/' and put everything there.
'/opt/qtlockscreen/default/' is the default theme folder and should not be used to store your custom images or other files, so you should not overwrite or add / delete anything here. It is advised to create a directory that is named as your theme in directory '/opt/qtlockscreen/' and put everything there.
-
Please set also 'ThemeName' and 'ThemeAuthor' in your themes - the configuration file has a section for both:
+
The configuration file has a section for the theme name:
-
 
+
<pre>ThemeName="Default"</pre>
<pre>ThemeName="Default"</pre>
Adapt this to reflect the theme namechange internally; so use the value from '<yourthemename>' here.
Adapt this to reflect the theme namechange internally; so use the value from '<yourthemename>' here.
-
The field for theme's author name:
+
Place your customized QtLockscreen.ini in /opt/qtlockscreen/<yourthemename> too, and simply symlink it to '/home/user/.config/sakya/QtLockscreen.ini' by issuing this command:
-
<pre>ThemeAuthor="sakya"</pre>
+
-
Fill both fields to support proper theme switching using the GUI application and follow the general scheme for your themes, so when the GUI utility will be released the themes will be in the correct place.
+
<pre>ln -s /opt/qtlockscreen/<yourthemename>QtLockscreen.ini /home/user/.config/sakya/QtLockscreen.ini</pre>
-
It will be supported to generate Debian packages to install themes in /opt/qtlockscreen and then set it as the active one with the configuration utility.
+
Doing so, you would not have to overwrite settings every time; this enables simple theme switching for now.
As for the backgrounds like all other customized images, it is suggested to include them in /opt/qtlockscreen/<yourthemename> as 'backgroundL.(jpg|png)' for landscape orientation and 'backgroundP.(jpg|png)' for portrait orientation.
As for the backgrounds like all other customized images, it is suggested to include them in /opt/qtlockscreen/<yourthemename> as 'backgroundL.(jpg|png)' for landscape orientation and 'backgroundP.(jpg|png)' for portrait orientation.
Line 359: Line 258:
<pre>/home/user/.config/sakya/QtLockscreen.ini.default</pre>
<pre>/home/user/.config/sakya/QtLockscreen.ini.default</pre>
-
If you changed the configuration file and want to have the changes loaded, you need to kill the running lockscreen process (or reboot).
+
If you change the configuration file you need to kill the lockscreen process (or reboot).
To kill the lockscreen, type
To kill the lockscreen, type
Line 365: Line 264:
in Xterm and hit enter.
in Xterm and hit enter.
-
 
-
 
-
For '''previewing theme changes''' a "Designer mode" is implemented; it displays all the widgets: notifications, wifi, ...
 
-
 
-
<pre>/usr/bin/qtlockscreen -d</pre>
 
-
 
-
To test a specific configuration file use:
 
-
 
-
<pre>/usr/bin/qtlockscreen -d -c "path to config file"</pre>
 
-
 
-
To take a screenshot use:
 
-
 
-
<pre>/usr/bin/qtlockscreen -c "path to config file" -s "path to image to be saved"</pre>
 
-
 
-
The application exits when you unlock it using 'slidetounlock' widget or unlock button.
 
=== Customizing time format ===
=== Customizing time format ===
Line 439: Line 323:
Config.ini: n/a
Config.ini: n/a
-
 
-
 
=== 3) Created by [http://talk.maemo.org/member.php?u=51399 "Hurrian"] ===
=== 3) Created by [http://talk.maemo.org/member.php?u=51399 "Hurrian"] ===
Line 550: Line 432:
Config script + instructions: [http://talk.maemo.org/showpost.php?p=1061798&postcount=4098 Post]
Config script + instructions: [http://talk.maemo.org/showpost.php?p=1061798&postcount=4098 Post]
-
 
-
 
-
5. Neon V2
 
-
 
-
Short description: Cool-looking blue dotted LED circular station, futuristic lockscreen with slide to unlock, media player, play/pause by tapping albim art, blue-dotted clock and date, portrait mode.
 
-
 
-
Screenshot: [http://i.imgur.com/Fa4dC.png "portrait"]
 
-
 
-
Config script + instructions: [http://talk.maemo.org/showpost.php?p=1073088&postcount=324 Post]
 
=== 12) Created by [http://talk.maemo.org/member.php?u=41707 "Harick"] ===
=== 12) Created by [http://talk.maemo.org/member.php?u=41707 "Harick"] ===
Line 643: Line 516:
2- IPhone :
2- IPhone :
-
Short description: iphone style lockscreen,contains clock,date,battery,mediaplayer,wifi and notifications . All notifications availables  (Missed calls,SMS,IM and Email).You can change the background as you want because the backgrounds of time and slider are transparent.
+
Short description: iphone style lockscreen,contains clock,date,battery,mediaplayer and notifications . All notifications availables  (Missed calls,SMS,IM and Email).You can change the background as you want because the backgrounds of time and slider are transparent.
3 backgrounds available (default iphone background , Clown fish , Fresh series)
3 backgrounds available (default iphone background , Clown fish , Fresh series)
Line 649: Line 522:
Type : Slide to unlock
Type : Slide to unlock
-
Screenshots: with MP widget [http://img842.imageshack.us/img842/6701/screenshot2011082515280.png "Portrait"] , [http://img825.imageshack.us/img825/8140/screenshot2011082515271.png "Landscape"]
+
Screenshots: with MP widget [http://img819.imageshack.us/img819/5779/screenshot2011081815212.png "Portrait"] , [http://img716.imageshack.us/img716/9258/screenshot2011081816105.png "Landscape"]
, without MP widget [http://img600.imageshack.us/img600/3701/screenshot2011081822571.png "Portrait"] , [http://img148.imageshack.us/img148/8516/screenshot2011081822564.png "Landscape"]
, without MP widget [http://img600.imageshack.us/img600/3701/screenshot2011081822571.png "Portrait"] , [http://img148.imageshack.us/img148/8516/screenshot2011081822564.png "Landscape"]
-
Instructions : [http://talk.maemo.org/showpost.php?p=1076420&postcount=392 "Post"]
+
Instructions : [http://talk.maemo.org/showpost.php?p=1072337&postcount=299 "Post"]
-
 
+
-
 
+
-
3- Android :
+
-
 
+
-
Short description : android style lockscreen , contains clock,date,battery,wifi and notifications (missed calls,sms,IM,Email) . you can change the background as you want because all of the components of the lockscreen are transparent.
+
-
 
+
-
 
+
-
Type : Slide to unlock
+
-
 
+
-
Screenshots : [http://img844.imageshack.us/img844/6199/screenshot2011082616434.png "Portrait"] , [http://img838.imageshack.us/img838/1702/screenshot2011082718005.png "Landscape"]
+
-
 
+
-
Instructions : [http://talk.maemo.org/showpost.php?p=1077505&postcount=419 "Post"]
+
-
 
+
-
 
+
-
4- Simple Section :
+
-
 
+
-
Short description : contains clock,date,battery,wifi,gprs and notifications (missed calls,sms,IM,Email) . you can change the background as you want because all of the components of the lockscreen are transparent.
+
-
 
+
-
 
+
-
Type : Slide to unlock
+
-
 
+
-
Screenshots : [http://img534.imageshack.us/img534/2231/screenshot2011091420251.png "Portrait"] , [http://img198.imageshack.us/img198/1922/screenshot2011091602571.png "Landscape"]
+
-
 
+
-
Instructions : [http://talk.maemo.org/showpost.php?p=1089259&postcount=581 "Post"]
+
=== 14) Created by [http://talk.maemo.org/member.php?u=47919 "Robin92"] ===
=== 14) Created by [http://talk.maemo.org/member.php?u=47919 "Robin92"] ===
Line 701: Line 550:
<br>
<br>
Screenshots & Download: [http://talk.maemo.org/showpost.php?p=1072727&postcount=309 "http://talk.maemo.org/showpost.php?p=1072727&postcount=309"]
Screenshots & Download: [http://talk.maemo.org/showpost.php?p=1072727&postcount=309 "http://talk.maemo.org/showpost.php?p=1072727&postcount=309"]
-
 
-
=== 16) Created by [http://talk.maemo.org/member.php?u=29731 "niqbal"] ===
 
-
 
-
''1)'' '''Absolut Pears Vodka'''<br>
 
-
Smaller liquid battery used<br>
 
-
Slide the wallpaper up to unlock<br>
 
-
Slide up inspiration from WP7<br>
 
-
<br>
 
-
Screenshot: [http://i.imgur.com/4cxfb.png Absolut Pears Portrait]<br>
 
-
Post      : [http://talk.maemo.org/showpost.php?p=1088019&postcount=559 Download]<br>
 
-
<br>
 
-
''2)'' '''Harmattan Concept'''<br>
 
-
Tried to mimic harmattan (n950) lockscreen feel<br>
 
-
Slide the Wallpaper right to unlock<br>
 
-
<br>
 
-
Screenshot: [http://i.imgur.com/R7Lc9.png Harmattan Portrait]<br>
 
-
Post      : [http://talk.maemo.org/showpost.php?p=1088019&postcount=559 Download]<br>
 
-
<br>
 
-
''3)'' '''An Angel'''<br>
 
-
Elements revolving around a beautiful angel in distress<br>
 
-
Weather<br>
 
-
Probably the most eye-pleasing lockscreen<br>
 
-
Slide up to unlock<br>
 
-
<br>
 
-
Screenshot: [http://i.imgur.com/CVGv9.png An Angel Portrait]<br>
 
-
Post      : [http://talk.maemo.org/showpost.php?p=1076049&postcount=381 Download]<br>
 
-
<br>
 
-
''4)'' '''High Definition'''<br>
 
-
Elements revolving around Liquid Battery<br>
 
-
Weather<br>
 
-
Slide right to Unlock<br>
 
-
Apply custom wallpaper <br>
 
-
<br>
 
-
Screenshot: [http://i.imgur.com/qxVWa.png HD Portrait]<br>
 
-
Post      : [http://talk.maemo.org/showpost.php?p=1081165&postcount=474 Download]<br>
 
-
<br>
 
-
''5)'' '''Album Art Original'''<br>
 
-
Elements revolving around an album art covering most of the screen<br>
 
-
Controls sufficiently big enough for easier thumb navigation<br>
 
-
Slide right to Unlock<br>
 
-
<br>
 
-
Screenshot: [http://i.imgur.com/bTYCp.png Album Art Portrait]<br>
 
-
Post      : [http://talk.maemo.org/showpost.php?p=1076808&postcount=400 Download]<br>
 
-
<br>
 
-
''6)'' '''Album Art Iphone'''<br>
 
-
Tried to mimic Iphone Media Player Widget Lockscreen using Laith's Iphone theme<br>
 
-
Elements revolving around an album art covering most of the screen<br>
 
-
Controls made big enough for comfortable control<br>
 
-
Date using System fonts<br>
 
-
Slide right to unlock<br>
 
-
<br>
 
-
Screenshot: [http://i.imgur.com/R4Xxs.png Album Art Iphone Portrait]<br>
 
-
Post      : [http://talk.maemo.org/showpost.php?p=1075089&postcount=374 Download]<br>
 
-
<br>
 
-
''7)'' '''N900 Minions'''<br>
 
-
Media player widget<br>
 
-
Date via System settings<br>
 
-
Press to Unlock<br>
 
-
Available for both Portrait and Landscape<br>
 
-
<br>
 
-
Screenshot and Post: [http://talk.maemo.org/showpost.php?p=1059253&postcount=112 Download]<br>
 
-
 
-
== Upload your lockscreen theme to Repository ==
 
-
''' Pre-requisites : '''
 
-
Three things are necessary to upload to maemo.org Extras:
 
-
* A [http://garage.maemo.org/ Garage] account: [[https://garage.maemo.org/account/register.php signup]]
 
-
* An "invitation" to upload: [[https://garage.maemo.org/extras-assistant/index.php?target=invitation_request request]]
 
-
* Install MADDE to you pc: [[http://tablets-dev.nokia.com/MADDE.php download]]
 
-
 
-
''' Preparing the package : '''
 
-
First of all download the [http://www.mediafire.com/?9gkg25p911n752r lockscreen source template]
 
-
- after uncompressing it you will get xxxx-lockscreen folder , you must change xxxx to your lockscreen theme name
 
-
- Now copy image folder and .ini file to :
 
-
  /xxxx-lockscreen/src/opt/qtlockscreen
 
-
- Copy font file (if there is font) to :
 
-
  /xxxx-lockscreen/src/opt/usr/share/fonts
 
-
- In /xxxx-lockscreen/debian you will find necessary file for packaging , you must edit it and add your lockscreen theme information (only edit chanelog,control and rules)
 
-
'''1-Editing changelog file:'''
 
-
changelog file contain these lines :
 
-
  xxxx-lockscreen (version no.) stable; urgency=low
 
-
    put changes here .
 
-
  -- creator <email>  Sun, 18 Sep 2011 15:40:51 +0000
 
-
change the informations to become something like this examlpe :
 
-
  iphone-lockscreen (1.0) stable; urgency=low
 
-
    add operator name widget .
 
-
    -- your name <your email>  Mon, 19 Sep 2011 12:25:47 +0000
 
-
'''2-Editing control file:'''
 
-
control file contain these lines :
 
-
  Source: xxxx-lockscreen
 
-
  Section: user/graphics
 
-
  Priority: extra
 
-
  Maintainer:  <>
 
-
  Build-Depends: libqt4-dev
 
-
  Standards-Version:
 
-
  Package: xxxx-lockscreen
 
-
  Architecture: all
 
-
  Depends: qtlockscreen, qtlockscreenconfig
 
-
  Description:
 
-
  XB-Maemo-Display-Name: xxxx Lockscreen
 
-
  XSBC-Bugtracker:
 
-
  XB-Maemo-Icon-26:
 
-
change the information to become something like this example:
 
-
  Source: iphone-lockscreen
 
-
  Section: user/graphics
 
-
  Priority: extra
 
-
  Maintainer: your name <your email>
 
-
  Build-Depends: libqt4-dev
 
-
  Standards-Version: 1.0
 
-
  Package: iphone-lockscreen
 
-
  Architecture: all
 
-
  Depends: qtlockscreen, qtlockscreenconfig
 
-
  Description: iphone style lockscreen .
 
-
  XB-Maemo-Display-Name: Iphone Lockscreen
 
-
  XSBC-Bugtracker:
 
-
  XB-Maemo-Icon-26:
 
-
'''3-Editing rule file:'''
 
-
you must only edit these lines in the rules file :
 
-
  #$(MAKE) DESTDIR="$(CURDIR)/debian/xxxx-lockscreen" install
 
-
  mkdir -p "$(CURDIR)/debian/xxxx-lockscreen"
 
-
  mkdir -p "$(CURDIR)/debian/xxxx-lockscreen/usr/share/fonts/"
 
-
  cp -a "src/usr/share/fonts/font name.ttf" "$(CURDIR)/debian/xxxx-lockscreen/usr/share/fonts/"
 
-
  mkdir -p "$(CURDIR)/debian/xxxx-lockscreen/opt/qtlockscreen/"
 
-
  cp -a "src/opt/qtlockscreen/folder name" "$(CURDIR)/debian/xxxx-lockscreen/opt/qtlockscreen/"
 
-
  cp -a "src/opt/qtlockscreen/config file name.ini" "$(CURDIR)/debian/xxxx-lockscreen/opt/qtlockscreen/"
 
-
change these lines to somthing like this example:
 
-
  #$(MAKE) DESTDIR="$(CURDIR)/debian/iphone-lockscreen" install
 
-
  mkdir -p "$(CURDIR)/debian/iphone-lockscreen"
 
-
  mkdir -p "$(CURDIR)/debian/iphone-lockscreen/usr/share/fonts/"
 
-
  cp -a "src/usr/share/fonts/Arial.ttf" "$(CURDIR)/debian/iphone-lockscreen/usr/share/fonts/"
 
-
  mkdir -p "$(CURDIR)/debian/iphone-lockscreen/opt/qtlockscreen/"
 
-
  cp -a "src/opt/qtlockscreen/Iphone" "$(CURDIR)/debian/iphone-lockscreen/opt/qtlockscreen/"
 
-
  cp -a "src/opt/qtlockscreen/Iphone.ini" "$(CURDIR)/debian/iphone-lockscreen/opt/qtlockscreen/"
 
-
- After editing these files (changelog,control and rules) you must convert it to unix format using MADDE by these commands:
 
-
  cd /path/xxxx-lockscreen/debian/
 
-
  tr -d '\r' < rules > rules1
 
-
  tr -d '\r' < changelog > changelog1
 
-
  tr -d '\r' < control > control1
 
-
now delete rules,changelog and control ,then rename rules1,changelog1 and control1 to rules,changelog,control
 
-
 
-
''' Uploading to extras-devel : '''
 
-
- you must create all needed files to upload it using MADDE by these commands :
 
-
    cd /path/xxxx-lockscreen
 
-
    mad dpkg-buildpackage -sa -S
 
-
now you will get inside xxxx-lockscreen folder three files (.changes,.dsc.tar.gz)
 
-
- Go to [https://garage.maemo.org/extras-assistant/index.php Maemo Extras Assistant] to upload your lockscreen files
 
-
- In step 1 login
 
-
- In step 2 choose fremantle and upload .changes file
 
-
- In step 3 upload .dsc and .tar.gz file
 
-
- In step 4 click on "move to autobuilder"
 
-
- your package will be in repository in 30 min
 
== Donations ==
== Donations ==

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)