The Following User Says Thank You to pichlo For This Useful Post: | ||
![]() |
2015-08-31
, 09:26
|
Posts: 90 |
Thanked: 163 times |
Joined on Jan 2012
|
#1422
|
As others said, check out other similar patches to see what goes where.
The next step after that is making an RPM:
http://talk.maemo.org/showthread.php?t=92963
The Following User Says Thank You to anig For This Useful Post: | ||
![]() |
2015-08-31
, 12:15
|
|
Posts: 433 |
Thanked: 727 times |
Joined on Oct 2012
@ Costa Blanca, España
|
#1423
|
The Following User Says Thank You to Markkyboy For This Useful Post: | ||
![]() |
2015-08-31
, 13:32
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#1424
|
pkcon install rpm-build meego-rpm-config
Name: sailfishos-eventsview-swipe-remove Summary: Eventsview notifications remove swipe Version: 0.0.1 Release: 1 Group: Qt/Qt License: TODO Requires: patchmanager Requires: lipstick-jolla-home-qt5 = 0.24.41.4-10.75.1.jolla %description Eventsview patch adding swipe right to remove notification action. %install rm -rf %{buildroot} mkdir -p %{buildroot}/usr/share/patchmanager/patches/sailfishos-eventsview-swipe-remove cp -r %{workdir}/patch/* %{buildroot}/usr/share/patchmanager/patches/sailfishos-eventsview-swipe-remove %pre if [ -f /usr/sbin/patchmanager ]; then /usr/sbin/patchmanager -u sailfishos-eventsview-swipe-remove || true fi %preun if [ -f /usr/sbin/patchmanager ]; then /usr/sbin/patchmanager -u sailfishos-eventsview-swipe-remove || true fi %files %defattr(-,root,root,-) %{_datadir}/patchmanager/patches/sailfishos-eventsview-swipe-remove
rpmbuild --define "workdir $PWD" -ba rpm/sailfishos-eventsview-swipe-remove.spec
![]() |
2015-08-31
, 18:59
|
|
Posts: 5,339 |
Thanked: 4,133 times |
Joined on Jan 2010
@ Israel
|
#1425
|
@pichlo @anig
EDIT* - I've now got a .spec file from anig's github page. I can now see similarities between that and my .spec file for ambience creation. It also helps me to know that anig builds his patches on the device thanks anig
Thanks guys, would some care to share a .spec file for one of their (device created) patches?, just so I can see the contents and then tailor to my needs. I'm already familiar with Schturman's guide for rpm packaging and have used it for ambience rpm package, successfully, but only after seeing a relevant .spec file.
Name: sailfishos-combo-show-dayofweek-startsunday Version: 0.1 Release: 2 Summary: Calendar combo patch Group: System/Tools Vendor: Schturman Distribution: SailfisfOS Packager: Schturman <schturman@hotmail.com> URL: www.dhrider.co.cc Requires: jolla-calendar >= 0.4.43-10.32.1, patchmanager License: GPL %description Calendar Start Week On Sunday and show day. %files /usr/share/patchmanager/patches/sailfishos-combo-show-dayofweek-startsunday/* %pre if [ $1 = 1 ]; then // Do stuff specific for first install echo "It's first time install" else if [ $1 = 2 ]; then // Do stuff specific to upgrades echo "It's just upgrade" /usr/sbin/patchmanager -u sailfishos-combo-show-dayofweek-startsunday fi fi %preun if [ $1 = 0 ]; then // Do stuff specific to uninstalls /usr/sbin/patchmanager -u sailfishos-combo-show-dayofweek-startsunday else if [ $1 = 1 ]; then // Do stuff specific to upgrades echo "It's just upgrade" fi fi %postun if [ $1 = 0 ]; then // Do stuff specific to uninstalls rm -rf /usr/share/patchmanager/patches/sailfishos-combo-show-dayofweek-startsunday killall jolla-calendar else if [ $1 = 1 ]; then // Do stuff specific to upgrades echo "It's just upgrade" fi fi %changelog * Fri Dec 26 2014 Builder <builder@...> 0.1 - Compatible with last system update (1.1.4.29).
![]() |
2015-08-31
, 19:30
|
|
Posts: 1,552 |
Thanked: 3,108 times |
Joined on Jun 2012
@ Russia, 96
|
#1426
|
The Following 5 Users Say Thank You to Ancelad For This Useful Post: | ||
![]() |
2015-09-01
, 05:45
|
Posts: 193 |
Thanked: 348 times |
Joined on Dec 2009
|
#1427
|
![]() |
2015-09-01
, 06:07
|
Posts: 86 |
Thanked: 115 times |
Joined on Feb 2014
@ Spain
|
#1428
|
![]() |
2015-09-01
, 08:15
|
Posts: 211 |
Thanked: 62 times |
Joined on Oct 2014
@ Finland
|
#1429
|
The Following User Says Thank You to R1v3r For This Useful Post: | ||
![]() |
2015-09-01
, 08:39
|
Posts: 602 |
Thanked: 735 times |
Joined on Mar 2011
@ Nantes, France
|
#1430
|
1. Fixed in next version, with option to show nothing or have a message indicating no events.
2. I positioned it using anchors so not sure why this happens. Does the same happen for meecast?
![]() |
Tags |
patchmanager, sailfish os |
|
The next step after that is making an RPM:
http://talk.maemo.org/showthread.php?t=92963