From 3e0f4aeed607cbe419575681d877a4ea0b34689f Mon Sep 17 00:00:00 2001 From: Valerio Valerio Date: Thu, 11 Mar 2010 01:52:56 +0000 Subject: [PATCH] turn app into a control panel applet --- data/icons/48x48/bootscreen_48.png | Bin 0 -> 2452 bytes data/icons/64x64/bootscreen_64.png | Bin 0 -> 3033 bytes plugin/Makefile | 201 ++++++++++++++++++++++++++++++++++++ plugin/bootscreenplugin.pro.user | 156 ++++++++++++++++++++++++++++ plugin/libbooscreentpanelplugin.so | Bin 0 -> 5912 bytes plugin/plugin.c | 30 ++++++ plugin/plugin.o | Bin 0 -> 1608 bytes plugin/plugin.pro | 6 ++ plugin/plugin.pro.user | 156 ++++++++++++++++++++++++++++ src/bootscreen.pro | 20 ---- src/src.pro | 20 ++++ 11 files changed, 569 insertions(+), 20 deletions(-) create mode 100644 data/icons/48x48/bootscreen_48.png create mode 100644 data/icons/64x64/bootscreen_64.png create mode 100644 plugin/Makefile create mode 100644 plugin/bootscreenplugin.pro.user create mode 100755 plugin/libbooscreentpanelplugin.so create mode 100644 plugin/plugin.c create mode 100644 plugin/plugin.o create mode 100644 plugin/plugin.pro create mode 100644 plugin/plugin.pro.user delete mode 100644 src/bootscreen.pro create mode 100644 src/src.pro diff --git a/data/icons/48x48/bootscreen_48.png b/data/icons/48x48/bootscreen_48.png new file mode 100644 index 0000000000000000000000000000000000000000..26756ecc97cf881547b88b2530d71f31dd50be9d GIT binary patch literal 2452 zcmV;F32XL=P)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01ejw01ejxLMWSf00007bV*G`2igM( z7B3+K2UkJ>00|UHL_t(&-ql%INL1|`|IM7yF&$^zhH)V+3m2qJtKlyrX%=n5SRrL3 zMG$t=a@QAh(M4VSFS@7*va1#;f))+hq|nm9hzK-Xpv-1~SuPMg$N;W*)( z!otFdii(O!1#E>h0RF2)0GrK*Kp=p4JdS8IN}1-~3!j%Vj=OGZYN}EN%xTD7dwV-N zJ3A4N$7ydxMFlQiyaTUf z$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=kGiF_ww5q_wpbKmYu*rVcSx3oy}2#fiiLw6at*8bvS|#M!fF@#f7N zq)OV_+HmgNIR$UXpF5RghyYMsU9Ag3Sy>s`S|UB172^7QKAbso22YKlfg@+Fx;_>6hn)o|CJstb@?PIzC%^xF?2rgW> zfR>gPeD~dVx+}Ic>Fn&prAwFM22pAkC@n3;#fukl<;oR|kB@6Y^SZh^%$_~_?=qW_ zEiym-^b>C0yh$Y?*5-*7D^_6Ds#U0}sv?UewCYi7Yb%=0Nvf)Sh8e^CVrN$9ZIB@ zo13c%h2tq>Bo$7y&4PjgMR8`+rcHSAX#)Ys-VY}i2GA0VZ~@ + + + RunConfiguration0-Arguments + + + + RunConfiguration0-BaseEnvironmentBase + 2 + + + RunConfiguration0-Executable + + + + RunConfiguration0-RunConfiguration.name + Custom Executable + + + RunConfiguration0-UseTerminal + false + + + RunConfiguration0-UserEnvironmentChanges + + + + RunConfiguration0-UserName + + + + RunConfiguration0-UserSetName + false + + + RunConfiguration0-WorkingDirectory + $BUILDDIR + + + RunConfiguration0-type + ProjectExplorer.CustomExecutableRunConfiguration + + + activeRunConfiguration + 0 + + + activebuildconfiguration + Debug + + + buildConfiguration-Debug + + Debug + 0 + 0 + 2 + + + + buildConfiguration-Release + + Release + 0 + 0 + + + + buildconfiguration-Debug-buildstep0 + + Debug + + + + buildconfiguration-Debug-buildstep1 + + Debug + + + + buildconfiguration-Debug-cleanstep0 + + Debug + true + + clean + + + + + buildconfiguration-Release-buildstep0 + + Release + + + + buildconfiguration-Release-buildstep1 + + Release + + + + buildconfiguration-Release-cleanstep0 + + Release + + + + buildconfigurations + + Debug + Release + + + + buildstep0 + + + + + + + buildstep1 + + + + + + buildsteps + + trolltech.qt4projectmanager.qmake + trolltech.qt4projectmanager.make + + + + cleanstep0 + + + true + + + + cleansteps + + trolltech.qt4projectmanager.make + + + + defaultFileEncoding + System + + + project + + + diff --git a/plugin/libbooscreentpanelplugin.so b/plugin/libbooscreentpanelplugin.so new file mode 100755 index 0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5`MVS=-R%vDvi`);6^5&8De}sVY`W%gq8tsC1@_ZvUgc7OI%2&k?Sv$STXtii$3n Sg~ym%+?!R<3me|H3in^<=2b2L literal 0 HcmV?d00001 diff --git a/plugin/plugin.c b/plugin/plugin.c new file mode 100644 index 0000000..3fb49ce --- /dev/null +++ b/plugin/plugin.c @@ -0,0 +1,30 @@ +#include +#include +#include +#include +#include +#include + +static const char binary[] = "/usr/bin/bootscreen"; + +osso_return_t execute(osso_context_t *osso_context, gpointer parent, gboolean user_activated) +{ + char args[sizeof(binary) + 64]; + Window id = None; + + (void) osso_context; + + if (parent && GTK_WIDGET(parent) && GTK_WIDGET(parent)->window) + id = gdk_x11_drawable_get_xid(GTK_WIDGET(parent)->window); + + sprintf(args, "sudo %s --parent 0x%08x", binary, (unsigned int) id); + return system(args); +} + +osso_return_t save_state(osso_context_t *osso_context, gpointer parent) +{ + (void) osso_context; + (void) parent; + + return OSSO_OK; +} diff --git a/plugin/plugin.o b/plugin/plugin.o new file mode 100644 index 0000000000000000000000000000000000000000..e985204af83714dccb43664e1e049124c2a27a2a GIT binary patch literal 1608 zcmah}&rcIU6n@LLfT*z|D9{9J0;a}v+hPysiBbzB6pDZe2a{#H9ib`xk=;ScNxcw_ z8u<_C$#~@8!Gk3J2^>APB~4IICLTOl-`m|OYcITH_Iuwq-^|YJo7v~d)QluaAVPv5 zoH2lJHu1(RLl7=QA9xN!O*nkl0H~h8@tX$p9-WT1!u9f8=sPSuYP?-PX!@}K$?-y? zd;NW_AE57VtMwD6s&$XATK7V=ZgE&TxrlwlNhd89*>3`@oOn@pdtnVL~hu)DKdj?DV$X}C|Qkbpkz!F z6r*Gl8);NjiGiY*3I$vnD8&+I3a%++a!t>J5?@|WG|r7&W}7q9wbgUeo9LhtcRNn1 z^H(P)@Hn|2@q&{R{J{b(A!7Zk@#O2pHtuj4k>a-v?WZ_fcTpk#dA=%2$p$@o=nI||jlAKwr~r2M19?<0z!@362G6TIx$FkxDmA`aM$H0M z-(-4T%@uJ#QD>^InH)B<`_0V9?FM=cmdWNEIU{syoP^TLM#@2KmVXz>*4DFpOFvY<^Mv6 G7x^E~N9`s6 literal 0 HcmV?d00001 diff --git a/plugin/plugin.pro b/plugin/plugin.pro new file mode 100644 index 0000000..e936573 --- /dev/null +++ b/plugin/plugin.pro @@ -0,0 +1,6 @@ +TEMPLATE = lib +SOURCES = plugin.c +TARGET = booscreentpanelplugin + +CONFIG += plugin link_pkgconfig +PKGCONFIG += gtk+-2.0 libosso diff --git a/plugin/plugin.pro.user b/plugin/plugin.pro.user new file mode 100644 index 0000000..e0a3b7e --- /dev/null +++ b/plugin/plugin.pro.user @@ -0,0 +1,156 @@ + + + + RunConfiguration0-Arguments + + + + RunConfiguration0-BaseEnvironmentBase + 2 + + + RunConfiguration0-Executable + + + + RunConfiguration0-RunConfiguration.name + Custom Executable + + + RunConfiguration0-UseTerminal + false + + + RunConfiguration0-UserEnvironmentChanges + + + + RunConfiguration0-UserName + + + + RunConfiguration0-UserSetName + false + + + RunConfiguration0-WorkingDirectory + $BUILDDIR + + + RunConfiguration0-type + ProjectExplorer.CustomExecutableRunConfiguration + + + activeRunConfiguration + 0 + + + activebuildconfiguration + Debug + + + buildConfiguration-Debug + + Debug + 0 + 0 + 2 + + + + buildConfiguration-Release + + Release + 0 + 0 + + + + buildconfiguration-Debug-buildstep0 + + Debug + + + + buildconfiguration-Debug-buildstep1 + + Debug + + + + buildconfiguration-Debug-cleanstep0 + + Debug + true + + clean + + + + + buildconfiguration-Release-buildstep0 + + Release + + + + buildconfiguration-Release-buildstep1 + + Release + + + + buildconfiguration-Release-cleanstep0 + + Release + + + + buildconfigurations + + Debug + Release + + + + buildstep0 + + + + + + + buildstep1 + + + + + + buildsteps + + trolltech.qt4projectmanager.qmake + trolltech.qt4projectmanager.make + + + + cleanstep0 + + + true + + + + cleansteps + + trolltech.qt4projectmanager.make + + + + defaultFileEncoding + System + + + project + + + diff --git a/src/bootscreen.pro b/src/bootscreen.pro deleted file mode 100644 index 5d5de4a..0000000 --- a/src/bootscreen.pro +++ /dev/null @@ -1,20 +0,0 @@ -TARGET = bootscreen - -HEADERS += bootscreen.h \ - bootscreenR.h -SOURCES += bootscreen.cpp \ - main.cpp \ - bootscreenR.cpp -QT += maemo5 - - -install_app.commands = $(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)/opt/bootscreen/$(QMAKE_TARGET) -install_cfg.commands = $(INSTALL_FILE) data/$(QMAKE_TARGET).conf $(DESTDIR)/opt/bootscreen/$(QMAKE_TARGET).conf -install_dsk.commands = $(INSTALL_FILE) data/$(QMAKE_TARGET).desktop $(DESTDIR)/usr/share/applications/hildon/$(QMAKE_TARGET).desktop -install_sd.commands = $(INSTALL_FILE) data/$(QMAKE_TARGET).sudoers $(DESTDIR)/etc/sudoers.d/$(QMAKE_TARGET).sudoers -install_evd.commands = $(INSTALL_FILE) data/$(QMAKE_TARGET) $(DESTDIR)/etc/event.d/$(QMAKE_TARGET) -install_scr.commands = $(INSTALL_FILE) script/$(QMAKE_TARGET) $(DESTDIR)/usr/bin/$(QMAKE_TARGET) -install_i48.commands = $(INSTALL_FILE) data/$(QMAKE_TARGET)_48.png $(DESTDIR)/usr/share/icons/hicolor/48x48/apps/$(QMAKE_TARGET).png -install_i64.commands = $(INSTALL_FILE) data/$(QMAKE_TARGET)_64.png $(DESTDIR)/usr/share/icons/hicolor/64x64/apps/$(QMAKE_TARGET).png -install.depends = $(TARGET) install_app install_dsk install_sd install_evd install_scr install_i48 install_i64 -QMAKE_EXTRA_TARGETS += install install_app install_dsk install_sd install_evd install_scr install_i48 install_i64 diff --git a/src/src.pro b/src/src.pro new file mode 100644 index 0000000..5d5de4a --- /dev/null +++ b/src/src.pro @@ -0,0 +1,20 @@ +TARGET = bootscreen + +HEADERS += bootscreen.h \ + bootscreenR.h +SOURCES += bootscreen.cpp \ + main.cpp \ + bootscreenR.cpp +QT += maemo5 + + +install_app.commands = $(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)/opt/bootscreen/$(QMAKE_TARGET) +install_cfg.commands = $(INSTALL_FILE) data/$(QMAKE_TARGET).conf $(DESTDIR)/opt/bootscreen/$(QMAKE_TARGET).conf +install_dsk.commands = $(INSTALL_FILE) data/$(QMAKE_TARGET).desktop $(DESTDIR)/usr/share/applications/hildon/$(QMAKE_TARGET).desktop +install_sd.commands = $(INSTALL_FILE) data/$(QMAKE_TARGET).sudoers $(DESTDIR)/etc/sudoers.d/$(QMAKE_TARGET).sudoers +install_evd.commands = $(INSTALL_FILE) data/$(QMAKE_TARGET) $(DESTDIR)/etc/event.d/$(QMAKE_TARGET) +install_scr.commands = $(INSTALL_FILE) script/$(QMAKE_TARGET) $(DESTDIR)/usr/bin/$(QMAKE_TARGET) +install_i48.commands = $(INSTALL_FILE) data/$(QMAKE_TARGET)_48.png $(DESTDIR)/usr/share/icons/hicolor/48x48/apps/$(QMAKE_TARGET).png +install_i64.commands = $(INSTALL_FILE) data/$(QMAKE_TARGET)_64.png $(DESTDIR)/usr/share/icons/hicolor/64x64/apps/$(QMAKE_TARGET).png +install.depends = $(TARGET) install_app install_dsk install_sd install_evd install_scr install_i48 install_i64 +QMAKE_EXTRA_TARGETS += install install_app install_dsk install_sd install_evd install_scr install_i48 install_i64 -- 1.7.9.5