Re: GSOC Proposal KDE-Connect

2014-03-23 Thread Valorie Zimmerman
On Wed, Mar 19, 2014 at 6:56 AM, Shabaz Ahmed  wrote:
> Hello Everyone,
>
> I know I'm late for the proposal, but better late than never. I have written
> a proposal for KDE-Connect for some much needed functionality. Even if my
> proposal is not upto the mark then I would love to get feedback and I would
> still work on this features independently(not being a part of GSOC).
>
> P.S: Sorry if some java or c++ syntax words come in the proposal. I have
> tried my best to  avoid them.
>
> Proposal:
>
> Organization: KDE
>
>
> Project: KDE-Connect
>
>
> Abstract: Mobiles and PCs have become ubiquitous in day to day life and need
> for communication between them is much needed. There are lots of
> applications which try to bridge this gap and KDE-Connect stands out at this
> by seamlessly integrating itself into the KDE Desktop. KDE-Connect has a lot
> of room for improvement and one of the function which I find important is
> the ability to control PC (Input Emulation) from the mobile device (mouse
> and keyboard) and to share files between devices.
>
> 
>
> Name:  Shabaz Ahmed
>
>
> Email Address: shabaz1...@gmail.com
>
>
> Freenode IRC Nick: build3r
>
>
> Mobile number: +91 9972115447 (Whatsapp or Telegram)
>
>
> Location (City, Country and/or Time Zone): Bangalore, India, IST
>
>
> Linkedin Profile:http://in.linkedin.com/pub/shabaz-ahmed/42/b4a/810/
>
>
>
> 
>
>
>
> Proposal Title: Input emulation, file syncing and voice control support for
> KDE-Connect.
>
>
>
> 
>
> Motivation for Proposal / Goal:
>
>
>
> I got a similar idea a few months back and I was really excited to work on
> it . During my research, I found many applications which were almost doing
> what I had in my mind but when I got to know about KDE-Connect, an open
> source project, which is similar to my idea, I was really happy that I don't
> have to start from scratch.
>
> Many developers oversee the Google's  speech-to-text
> (http://developer.android.com/reference/android/speech/package-summary.html)
> package which is accurate up to 90%, even with my Indian accent (during my
> tests). My idea is: Why to use our fingers when the smart phone gives us the
> ability to use our voice? The second functionality of Input Emulation which
> I want to add to KDE-Connect is also very handy. The smart phone touch
> screen can be used as a wireless touchpad for the Laptop or PC. Even when
> the touchpad is not working the smart phone can be used a secondary
> touchpad, or it could even be used when giving presentations.
>
> The third functionality - file syncing, is a much needed one and there are
> no "proper" apps in the market which gives the desired functionality. In
> today's life it is crucial to keep the files synced between devices; in
> places like India and other developing countries where mobile data
> connection is unreliable and costly, cloud storage will not suffice. So my
> idea is to keep a shared folder between devices; when some file is put into
> the folder it gets synced between the devices seamlessly in the background
> on wifi network.
>
> 
>
>
>
> Implementation Details:
>
>
>
> File Sync:  For this feature I would add a separate shareable folder on both
> the PC and the android phone (on the external storage). Whenever a file is
> added to the folder on the PC or on the phone, the background processes on
> the device would open up ports and sync the files. I prefer using events
> instead of polling. I have already developed a similar app which syncs
> photos taken from any mobile to other mobile running the application on the
> same network. You can check it out here
> (https://github.com/build3r/PhotoSync).
>
>
>
> Input Emulation: For the touch pad emulation I can map the gestures to the
> mouse pointer, basically I send the difference (movement) in terms of X-Y
> co-ordinates to the server running on PC which will take this data and move
> the mouse pointer appropriately. I will also add a sensitivity feature in
> which the user can set the sensitivity of the mouse pointer which I can
> handle in the mapping function. Single tap would be for left click, tap and
> hold for right click and two finger drag for scrolling. I would be using
> Gesture-Detector
> (https://developer.android.com/training/gestures/detector.html) package for
> this.
>
>
>
> Voice Control: I have not seen a single application on market doing this.
> For voice control, as I said above, I'll be using the speech recognition
> package of android. I would give a list of predefined command such as "Open
> Browser", "Open Terminal" etc. and this list can also be customized by the
> user. He can even add new commands for which he must include appropriate
> shell script on the PC. So basically when the user gives a command (by
> voice) the Google server returns the string equivalent of it, we match the
> string with predefined and us

Problems found by the CI system

2014-03-23 Thread Ben Cooksley
Hi all,

It seems lately that people have been breaking builds and not fixing
the results, and some builds are extremely unreliable. It would be
appreciated if these could be fixed.

Frameworks folks, when pushing binary incompatible changes, please
ensure you push them to the frameworks in the correct order, and wait
for builds to complete before moving on to the next one.

I've now fixed, by issuing rebuilds, two recent Binary Compatability
breaches which caused kde-runtime among others to fail to build.

Bindings people, please investigate the failures in smokegen. This
tool is extremely unreliable in the CI environment and has failed many
times previously. It is currently causing smokekde to fail to build,
which in turn blocks perlkde, korundum and kimono.

If you need a backtrace, please let me know. From what I can tell,
this tool is incompatible with a Qt built in debug mode (ie. with
assertions enabled).

Baloo developers, please take a look at the failure in this log -
http://build.kde.org/view/FAILED/job/baloo_stable/80/console. When
referencing projects outside your own, it is imperative the correct
include statements are used in the CMake logic.

KDE Workspace devels, please do not attempt to host a framework within
a repository which then uses this framework. This prevents people
without a previous installation of it from being able to build it - an
environment the CI system provides. Packagers will be unable to build
it as well.

Thanks,
Ben

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-23 Thread Ian Wadham
Hi Marko and Thomas,I have been pursuing a different line of enquiry on this problem.Firstly, I am finding exactly the same, on Apple OS X, as Marko.  Some KDE appsare installed with icons that appear on the Apple desktop and in the Apple filetree for applications: others get just a generic (Apple-related) icon.Without exception, AFAIK, all the KDE Games (there are about 40 of them) haveicons that work fine in the Apple OS X environment.  And also, AFAIK, all thegames have essentially the same simple icon-installation strategy (they weremostly drawn by the same artist).  Each game's source contains fileshiNN-app-.png, where NN = 16, 22, 32, 48, 64 and 128 and theCMakeLists.txt files contain kde4_add_app_icon(_SRCS  "${CMAKE_CURRENT_SOURCE_DIR}/hi*-app-.png")kde4_install_icons( ${ICON_INSTALL_DIR} )On 23/03/2014, at 7:42 PM, mk-li...@email.de wrote:On 23 Mar 2014, at 08:56 , mk-li...@email.de wrote:I haven’t crosschecked with other apps from my long list, but I guess that explains it.I have found that the ports with an app icon on OSX actually do have an ICNS file installed:—$ find /Applications/MacPorts/KDE4 -name "*.icns"/Applications/MacPorts/KDE4/dolphin.app/Contents/Resources/dolphin_SRCS.icns/Applications/MacPorts/KDE4/kapptemplate.app/Contents/Resources/kapptemplate_SRCS.icns—And yes, all the games seem to have a Contents/Resources/_SRCS.icns fileinstalled in Apple OS X: and so do a few other KDE apps that also have icons visible in theApple OS X desktop.  Vice-versa, the KDE apps with missing icons do NOT have a .icns file.KDevelop is the only one missing the 128x128 icon, which seems to be the reason for displaying the generic icon in dock if the app is not started.I do not have KDevelop installed, so I tried the Konqueror browser instead.  Similarly towhat you found, Marko, Konqueror has only a generic icon when it is not running, butthis changes to a nice Konqueror icon as it starts to run, and changes back again whenit finishes.  Now here is the strange part …The icon Konqueror shows is NOT the one in its repository at:https://projects.kde.org/projects/kde/applications/kde-baseapps/repository/revisions/master/show/konqueror/picsThe attached tiny screenshot shows two Konqueror icons.  The one on the left is fromthe repository (I think it might be just an old KDE 3 icon: there has been no change inits .png file for 8 years).  The one on the right is what appears in Apple OS X when yourun Konqueror: it also appears in the Dock.So where is this NEW Konqueror icon coming from?  The files in pics/indicators seemto be far too small to be a big icon like that.Cheers, Ian W.
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-23 Thread Ian Wadham
Hi Thomas and Marko,

I guess I am like the old cow's tail: always running along behind … :-)
Sunday was my final birthday party, actually a triple celebration: my second
son, my daughter and I all have birthdays in the same week.

I had a look at the missing icons issue, but was too tired to post earlier.

On 23/03/2014, at 11:00 PM, mk-li...@email.de wrote:

> On 23 Mar 2014, at 12:09 , Thomas Lübking  wrote:
>> kdevelop/app/CMakeLists.txt *does* have
>> kde4_add_app_icon(kdevelop_bin_SRCS 
>> "${CMAKE_CURRENT_SOURCE_DIR}/../pics/hi*-app-kdevelop.png”)
> Yep, thanks for pointing that out. I forgot option ‘-i’ in my find command 
> call. :-(

I notice there are TWO kde4_add_app_icon() macro refs in that CMakeLists.txt.  
The other
one has no "_bin" in it … seems odd ...

Also there is no kde4_install_icons() there, but I found one in 
kdevelop/pics/CMakeLists.txt.

>> just as your KDE4_ADD_APP_ICON should likely in the pics subdir, as 
>> kdevelop_SRCS isn't definedanywhere)
> It must have worked to some degree, since the ICNS file contained the image 
> with size 128 pixels.
> Well, although the big icon now exists in there the app still doesn’t show 
> the wanted icon in the doc - as KMyMoney does.
> Something’s still missing.

In the (master) repository for develop/pics at:
https://projects.kde.org/projects/extragear/kdevelop/kdevelop/repository/revisions/master/show/pics
I see hiNN-app-kdevelop.png, but only for NN = 16, 32 and 48.  So where did you 
get a
128 icon from, Marko?  Did you make your own?

And, Marko, can you point me to something that will crack one of Apple's ICNS 
files? e.g.
 a) list the contents, icon sizes, etc.
 b) display the icons.
That bit of Appletech is new to me …

Cheers, Ian W.


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


Re: What to report issues for the network widget under?

2014-03-23 Thread Lindsay Mathieson
On Sun, 23 Mar 2014 11:49:56 PM Jan Grulich wrote:
> Our applet is not part of KDE SC, just check the version of plasma-nm or how
> it is  called in your distribution.

Version: 0.9.3.0-0ubuntu5
-- 
Lindsay

signature.asc
Description: This is a digitally signed message part.

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


Re: What to report issues for the network widget under?

2014-03-23 Thread Jan Grulich
On Monday 24 of March 2014 08:28 Lindsay Mathieson wrote:
> On Sun, 23 Mar 2014 11:16:45 PM Jan Grulich wrote:
> > make sure you have the latest version before you report something, because
> > the latest version is a huge step forward in usability.
> 
> KDE 4.12.3, which I presume is to old for that ;)
> 
> Would Project Neon be suitable for the latest? (Frameworks 2)
> 
> 

Our applet is not part of KDE SC, just check the version of plasma-nm or how it 
is 
called in your distribution.

Jan

-- 
Jan Grulich 
Red Hat Czech, s.r.o
jgrul...@redhat.com

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


Re: What to report issues for the network widget under?

2014-03-23 Thread Lindsay Mathieson
On Sun, 23 Mar 2014 11:16:45 PM Jan Grulich wrote:
> make sure you have the latest version before you report something, because
> the latest version is a huge step forward in usability.

KDE 4.12.3, which I presume is to old for that ;)

Would Project Neon be suitable for the latest? (Frameworks 2)

-- 
Lindsay

signature.asc
Description: This is a digitally signed message part.

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


Re: What to report issues for the network widget under?

2014-03-23 Thread Jan Grulich
On Monday 24 of March 2014 07:24 Lindsay Mathieson wrote:
> As per the subject - what would be the best category for reporting usability 
> issues with the new network widget?
> 

Hi,

you can report it directly to the authors (to me) or you can report it to our 
bugzilla,
but make sure you have the latest version before you report something, because
the latest version is a huge step forward in usability.

Cheers,
Jan

-- 
Jan Grulich 
Red Hat Czech, s.r.o
jgrul...@redhat.com

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


What to report issues for the network widget under?

2014-03-23 Thread Lindsay Mathieson
As per the subject - what would be the best category for reporting usability 
issues with the new network widget?
-- 
Lindsay

signature.asc
Description: This is a digitally signed message part.

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


Re: Launch Bug Report Wizard failing on Apple OS X (was "ksycoca4")

2014-03-23 Thread Thomas Lübking

On Sonntag, 23. März 2014 16:31:42 CEST, mk-li...@email.de wrote:


kwriteconfig --group General --key BrowserApplication '!safari’
If I specify the full path to Safari and start kioclient it 
will SPAWN AN ENDLESS AMOUNT of Safaris (at a rate of ~2/s) 


Interesting. I got a similar bug[1] report because of spawning dolphins in a 
different context (but it doesn't happen here in either case)

The major difference i could tell is that the config entry is marked expandable 
when written by the component chooser - unfortunately there seems no way to do 
this with kwriteconfig.
If KDE on MacOS also uses ~/.kde/share/config for configuration (or any other ini style config you 
can locate - "kde4-config --path config"), you could try to edit 
"~/.kde/share/config/kdeglobals" directly. Locate the [General] group, find the 
BrowserApplication key and make it

BrowserApplication[$e]=!safari

Another idea would be that OSX doesn't like the "!" prefix (no idea why 
componentchooser writes it - here. Works fine w/o as well)

Because of the linked bug, i'd be pretty interested in *why* 
safari/konqueror/whatever spawns endlessy.

H… Didn’t look into that now, but one could simply use the 
kwriteconfig line of yours once after kdelibs installation.

You'd have to write it globally in order to affect every user (and not just 
root)

Cheers,
Thomas

[1] https://sourceforge.net/p/be-shell/tickets/21/


Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-23 Thread mk-lists
I have put the code including some PNGs for testing on


https://bitbucket.org/mkae/kde-tests/src/7ca075e847a2c0ba1d5e7a97f1a5a60a298fe0f9/AboutBoxCrash/?at=default

This app does neither create the ICNS nor sets up the required Resources folder 
in Contents:
—
./tutorial2.app
./tutorial2.app/Contents
./tutorial2.app/Contents/Info.plist
./tutorial2.app/Contents/MacOS
./tutorial2.app/Contents/MacOS/tutorial2
./tutorial2.app/Contents/MacOS/tutorial2.shell
—

Any idea what I am missing?

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


Re: Launch Bug Report Wizard failing on Apple OS X (was "ksycoca4")

2014-03-23 Thread mk-lists
Thanks Thomas,

for your valuable hints! :-)

On 23 Mar 2014, at 12:19 , Thomas Lübking  wrote:
> Do you get a dialog for
>kcmshell4 componentchooser
OK, I located the executable eventually:
—
$ /Applications/MacPorts/KDE4/kcmshell4.app/Contents/MacOS/kcmshell4 
componentchooser 
kcmshell(3530)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open 
ksycoca from "/private/var/tmp/kdecache-marko/ksycoca4"
kcmshell(3530)/kutils (KCMultiDialog) *KCMultiDialog::addModule: "Default 
Applications"
kcmshell(3530)/kutils (KCModuleProxy) KCModuleProxyPrivate::loadModule: Module 
not already loaded, loading module  "Default Applications"  from library  
"kcm_componentchooser"  using symbol  "kcm_componentchooser"
kcmshell(3530)/kutils (KCMultiDialog) *KCMultiDialog::addModule: adding KCM  
"Default Applications"  at the top level
kcmshell(3530)/kutils (KCMultiDialog) 
KCMultiDialogPrivate::_k_slotCurrentPageChanged:
kcmshell(3530)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_clientChanged:
kcmshell(3530)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_clientChanged:
kcmshell(3530)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_dialogClosed:
2014-03-23 13:42:57.451 kcmshell4[3530:507] modalSession has been exited 
prematurely - check for a reentrant call to endModalSession:
—

I then selected konqueror deliberately in the component chooser and NOW it 
indeed gets fired up when I call "kioclient exec 'http://www.kde.org/'”

Now also the bug report web page is displayed in konqueror when clicking on the 
corresponding menu item in said tutorial app.
Great.

OK, this proves that the KDE setup isn’t properly carried out correctly on 
MacPorts at the moment.


> try:
> kwriteconfig --group General --key BrowserApplication '!safari’
If I specify the full path to Safari and start kioclient it will SPAWN AN 
ENDLESS AMOUNT of Safaris (at a rate of ~2/s) which fill up the dock bit by bit.
—
$ kioclient exec 'http://www.kde.org/'
…
(in my system log:)
23/03/14 14:00:12,483 com.apple.launchd.peruser.502[272]: 
(0x7fb848506610.anonymous.Safari[3758]) Unmanaged jobs may not make XPC Events 
requests.
23/03/14 14:00:12,835 com.apple.launchd.peruser.502[272]: 
(0x7fb848705f60.anonymous.Safari[3768]) Unmanaged jobs may not make XPC Events 
requests.
23/03/14 14:00:13,298 com.apple.launchd.peruser.502[272]: 
(0x7fb848506f00.anonymous.Safari[3772]) Unmanaged jobs may not make XPC Events 
requests.
.
.
.
—
This I could only stop by logging off...

And now I see that
—
$ kwriteconfig --group General --key BrowserApplication 
'!/Applications/MacPorts/KDE4/konqueror.app/Contents/MacOS/konqueror’
$ kioclient exec 'http://www.kde.org/'
…
—
will also FIRE UP COUNTLESS konquerors at the same rate like Safaris.
So, it’s not related to Safari then!

What’s going on there?



> To do that for every user, one could make use of kiosk (basically provide 
> /usr/share/config/kdeglobals with appropriate entry in [General] - whether 
> that works on MacOS, i don't know.
H… Didn’t look into that now, but one could simply use the kwriteconfig 
line of yours once after kdelibs installation.

Greets,
Marko

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


Re: Launch Bug Report Wizard failing on Apple OS X (was "ksycoca4")

2014-03-23 Thread Thomas Lübking

On Sonntag, 23. März 2014 13:08:50 CEST, mk-li...@email.de wrote:


Does this open kde.org in any browser?

No, it didn’t open a browser.


Do you get a dialog for
kcmshell4 componentchooser

$ kcmshell4 componentchooser
-bash: kcmshell4: command not found

Well, I seem to have to install some other port to get 
kcmshell4 into my system...



and can you select a webbrowser (safari) there?

Need to search now which port contains that kcmshell4.


Is there perhaps another way to define the standard web browser 
at install time in such a way that Safari would be used as the 
initial default?


try:
kwriteconfig --group General --key BrowserApplication '!safari'

To do that for every user, one could make use of kiosk (basically provide 
/usr/share/config/kdeglobals with appropriate entry in [General] - whether that 
works on MacOS, i don't know.

Cheers,
Thomas


Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


Re: Launch Bug Report Wizard failing on Apple OS X (was "ksycoca4")

2014-03-23 Thread mk-lists
On 23 Mar 2014, at 12:19 , Thomas Lübking  wrote:
>  kioclient exec 'http://www.kde.org/'
$ kioclient exec 'http://www.kde.org/'
kioclient(2672)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open 
ksycoca from "/private/var/tmp/kdecache-marko/ksycoca4"
kioclient(2672)/kio (Scheduler) KIO::SchedulerPrivate::doJob: 
KIO::SimpleJob(0x7f91a0c84cd0)
kioclient(2672)/kio (Scheduler) *KIO::SchedulerPrivate::protoQ: creating 
ProtoQueue instance for "http"
kioclient(2672)/kio (Scheduler) KIO::ProtoQueue::ProtoQueue: 
m_maxConnectionsTotal: 20 m_maxConnectionsPerHost: 5
kioclient(2672)/kdeui (kdelibs) KWindowSystem::setIcons: 
KWindowSystem::setIcons( WId win, const QPixmap& icon, const QPixmap& miniIcon 
) isn't yet implemented!
kioclient(2672)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: 
Listening on  
"local:/private/var/folders/79/1f244yjd38v_g1qq6qfw8qx8gp/T/ksocket-marko/kioclientDH2672.slave-socket"
kioclient(2672)/kio (Scheduler) *KIO::SchedulerPrivate::heldSlaveForJob: HOLD: 
Reusing klauncher held slave ( KIO::Slave(0x7f91a0ca3bf0) )
kioclient(2672)/kio (Scheduler) KIO::SchedulerPrivate::putSlaveOnHold: 
KIO::TransferJob(0x7f91a0c84cd0) KUrl("http://www.kde.org/";) 
KIO::Slave(0x7f91a0ca3bf0)
kioclient(2672)/kio (Scheduler) KIO::SchedulerPrivate::cancelJob: 
KIO::TransferJob(0x7f91a0c84cd0) QObject(0x0)
kioclient(2672)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: 
KIO::TransferJob(0x7f91a0c84cd0) QObject(0x0)
kioclient(2672)/kio (Scheduler) KIO::SchedulerPrivate::publishSlaveOnHold: 
KIO::Slave(0x7f91a0ca3bf0)


> Does this open kde.org in any browser?
No, it didn’t open a browser.

> Do you get a dialog for
>kcmshell4 componentchooser
$ kcmshell4 componentchooser
-bash: kcmshell4: command not found

Well, I seem to have to install some other port to get kcmshell4 into my 
system...

> and can you select a webbrowser (safari) there?
Need to search now which port contains that kcmshell4.


Is there perhaps another way to define the standard web browser at install time 
in such a way that Safari would be used as the initial default?
Not every user might install all KDE ports - including konqueror - just to 
install e.g. KMyMoney.

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-23 Thread mk-lists
On 23 Mar 2014, at 12:09 , Thomas Lübking  wrote:
> kdevelop/app/CMakeLists.txt *does* have
> kde4_add_app_icon(kdevelop_bin_SRCS 
> "${CMAKE_CURRENT_SOURCE_DIR}/../pics/hi*-app-kdevelop.png”)
Yep, thanks for pointing that out. I forgot option ‘-i’ in my find command call.
:-(

> As you probably figured, the QT4_ADD_DBUS_ADAPTOR is not relevant and will 
> esp. not configure (it'll cause a cmake error if put into the kdevelop 
> context,
I saw that this isn’t relevant, yes.

> just as your KDE4_ADD_APP_ICON should likely in the pics subdir, as 
> kdevelop_SRCS isn't definedanywhere)
It must have worked to some degree, since the ICNS file contained the image 
with size 128 pixels.
Well, although the big icon now exists in there the app still doesn’t show the 
wanted icon in the doc - as KMyMoney does.
Something’s still missing.

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-23 Thread mk-lists
On 23 Mar 2014, at 12:09 , Thomas Lübking  wrote:
> kdevelop/app/CMakeLists.txt *does* have
> kde4_add_app_icon(kdevelop_bin_SRCS 
> "${CMAKE_CURRENT_SOURCE_DIR}/../pics/hi*-app-kdevelop.png”)
Yep, thanks for pointing that out. I forgot option ‘-i’ in my find command call.
:-(

> As you probably figured, the QT4_ADD_DBUS_ADAPTOR is not relevant and will 
> esp. not configure (it'll cause a cmake error if put into the kdevelop 
> context,
I saw that this isn’t relevant, yes.

> just as your KDE4_ADD_APP_ICON should likely in the pics subdir, as 
> kdevelop_SRCS isn't definedanywhere)
It must have worked to some degree, since the ICNS file contained the image 
with size 128 pixels.
Well, although the big icon now exists in there the app still doesn’t show the 
wanted icon in the doc - as KMyMoney does.
Something’s still missing.

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


Re: Launch Bug Report Wizard failing on Apple OS X (was "ksycoca4")

2014-03-23 Thread Thomas Lübking

On Sonntag, 23. März 2014 11:55:02 CEST, Ian Wadham wrote:

In all three cases, an icon appears in the Dock (task bar 
equivalent) and vanishes
too soon to see what it is.  Additionally, I am finding 
messages on the Apple OS X

Console log (see attached).  Can a KDE guy tell Marko and me what is going
wrong here?  And perhaps where else to look to narrow down the problem?



Any ideas?

There's probably no known URI filter or the filter points konqueror or so.

  kioclient exec 'http://www.kde.org/'

Does this open kde.org in any browser?

Do you get a dialog for
  
  kcmshell4 componentchooser


and can you select a webbrowser (safari) there?

(I frankly don't know what "in an application based on the contents of the URL" 
means)

Cheers,
Thomas


Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-23 Thread Thomas Lübking

On Sonntag, 23. März 2014 09:26:11 CEST, mk-li...@email.de wrote:

This patch file does NOT yet achieve the expected up to now:

—
--- pics/CMakeLists.txt 2014-03-23 09:03:11.0 +0100
+++ pics/CMakeLists.txt.new 2014-03-23 09:12:01.0 +0100
@@ -7,3 +7,6 @@
 ### install files ###

 kde4_install_icons(${ICON_INSTALL_DIR})
+
+#QT4_ADD_DBUS_ADAPTOR(kmymoney_SRCS org.kde.kmymoney.xml 
kmymoney.h KMyMoneyApp)

+KDE4_ADD_APP_ICON( kdevelop_SRCS hi*-app-kdevelop.png )
—

Perhaps because there is no 128x128 pixel PNG yet?!



http://quickgit.kde.org/?p=kdevelop.git&a=blob&h=d84253d6bf8ccbabb2878d376128eb3e43c36561&f=app%2FCMakeLists.txt&o=plain
kdevelop/app/CMakeLists.txt *does* have
kde4_add_app_icon(kdevelop_bin_SRCS 
"${CMAKE_CURRENT_SOURCE_DIR}/../pics/hi*-app-kdevelop.png")

As you probably figured, the QT4_ADD_DBUS_ADAPTOR is not relevant and will esp. 
not configure (it'll cause a cmake error if put into the kdevelop context, just 
as your KDE4_ADD_APP_ICON should likely in the pics subdir, as kdevelop_SRCS 
isn't definedanywhere)

Cheers,
Thomas


Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


Re: Launch Bug Report Wizard failing on Apple OS X (was "ksycoca4")

2014-03-23 Thread Ian Wadham

On 23/03/2014, at 6:38 PM, mk-li...@email.de wrote:

> On 22 Mar 2014, at 23:41 , Ian Wadham  wrote:
>> That is a normal message. It just tells you where KDE libs is looking for 
>> the SyCoCa.
> OK. Good to know.
> 
>> I see you are running your tutorial2 as if it was a UNIX or Linux app, i.e. 
>> by
>> direct execution of the executable file which the compile/build just 
>> created.  That
> Yes, simply because I wanted to see any console output, which is swallowed by 
> the app if done via “open tutorial2.app”, as you described in your post.
> 
>> See the thread "taskgated: no signature" on the MacPorts Users list for the 
>> (slow) dawning of
>> my understanding of this.
> I am aware of this thread.
> 
>> Try again? … :-)
> I did. :-)
> 
> Well, the tutorial doesn’t fire up a web browser as it should be doing. :-(
> 
> I assumed here that the KDE framework deals with the bug reporter menu item 
> on its own and doesn’t require the tutorial code to implement anything to 
> open up the browser.

No, I don't think so. If you can see the Help->Report Bug… menu item in your
test app, it should work.  The whole Help menu is standard kit in KDE apps.

> Please, correct me if I am wrong there.

I tried Help->Report Bug… and clicking on the "Launch Bug Report Wizard"
button in the KDE application I am currently working on (Palapeli).  It fails
however I run it: Linux-style or Apple style.  The older Palapeli which Macports
installed for me also fails.

In all three cases, an icon appears in the Dock (task bar equivalent) and 
vanishes
too soon to see what it is.  Additionally, I am finding messages on the Apple 
OS X
Console log (see attached).  Can a KDE guy tell Marko and me what is going
wrong here?  And perhaps where else to look to narrow down the problem?

Any ideas?

Regards, Ian W.



PalapeliBugReport.log
Description: Binary data




>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-23 Thread mk-lists
On 23 Mar 2014, at 09:42 , mk-li...@email.de wrote:
> KDevelop is the only one missing the 128x128 icon, which seems to be the 
> reason for displaying the generic icon in dock if the app is not started.
Simply giving KDevelop the missing icon is not yet enough to make it work in 
the dock and finder… :-(

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-23 Thread mk-lists
On 23 Mar 2014, at 08:56 , mk-li...@email.de wrote:
> I haven’t crosschecked with other apps from my long list, but I guess that 
> explains it.

I have found that the ports with an app icon on OSX actually do have an ICNS 
file installed:
—
$ find /Applications/MacPorts/KDE4 -name "*.icns"
/Applications/MacPorts/KDE4/dolphin.app/Contents/Resources/dolphin_SRCS.icns
/Applications/MacPorts/KDE4/kapptemplate.app/Contents/Resources/kapptemplate_SRCS.icns
/Applications/MacPorts/KDE4/kdevelop.app/Contents/Resources/kdevelop_SRCS.icns
/Applications/MacPorts/KDE4/kfind.app/Contents/Resources/kfind_SRCS.icns
/Applications/MacPorts/KDE4/khelpcenter.app/Contents/Resources/khelpcenter_KDEINIT_SRCS.icns
/Applications/MacPorts/KDE4/kmymoney.app/Contents/Resources/kmymoney_SRCS.icns
/Applications/MacPorts/KDE4/kompare.app/Contents/Resources/kompare_SRCS.icns
/Applications/MacPorts/KDE4/kuiviewer.app/Contents/Resources/kuiviewer_SRCS.icns
/Applications/MacPorts/KDE4/kwrite.app/Contents/Resources/kwrite_KDEINIT_SRCS.icns
/Applications/MacPorts/KDE4/lokalize.app/Contents/Resources/lokalize_SRCS.icns
/Applications/MacPorts/KDE4/okteta.app/Contents/Resources/okteta_SRCS.icns
/Applications/MacPorts/KDE4/umbrello.app/Contents/Resources/umbrello_SRCS.icns
—

KDevelop is the only one missing the 128x128 icon, which seems to be the reason 
for displaying the generic icon in dock if the app is not started.

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-23 Thread mk-lists
This patch file does NOT yet achieve the expected up to now:

—
--- pics/CMakeLists.txt 2014-03-23 09:03:11.0 +0100
+++ pics/CMakeLists.txt.new 2014-03-23 09:12:01.0 +0100
@@ -7,3 +7,6 @@
 ### install files ###

 kde4_install_icons(${ICON_INSTALL_DIR})
+
+#QT4_ADD_DBUS_ADAPTOR(kmymoney_SRCS org.kde.kmymoney.xml kmymoney.h 
KMyMoneyApp)
+KDE4_ADD_APP_ICON( kdevelop_SRCS hi*-app-kdevelop.png )
—

Perhaps because there is no 128x128 pixel PNG yet?!

KMM has it, guess I’ll have to crosscheck the other apps or simply supply an 
appropriate PNG resized to 128x128.

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-23 Thread mk-lists
And now I see that there is also this line in KMM’s cmake file:

QT4_ADD_DBUS_ADAPTOR(kmymoney_SRCS org.kde.kmymoney.xml kmymoney.h 
KMyMoneyApp)

which is most certainly also important for something… ;-)

How would that have to be adapted to e.g. KDevelop?

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


Re: Missing application icons of many KDE apps on MacPorts/OSX

2014-03-23 Thread mk-lists
Hi Thomas,

I indeed can’t find the needed statement in any CMakeLists.txt file in 
KDevelop’s sources:
—
$ find . -name CMakeLists.txt -exec grep -l KDE4_ADD_APP_ICON {} \;
$
—

I haven’t crosschecked with other apps from my long list, but I guess that 
explains it.

Thanks again,
Marko

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


Re: ksycoca4

2014-03-23 Thread mk-lists
On 22 Mar 2014, at 23:41 , Ian Wadham  wrote:
> That is a normal message. It just tells you where KDE libs is looking for the 
> SyCoCa.
OK. Good to know.

> I see you are running your tutorial2 as if it was a UNIX or Linux app, i.e. by
> direct execution of the executable file which the compile/build just created. 
>  That
Yes, simply because I wanted to see any console output, which is swallowed by 
the app if done via “open tutorial2.app”, as you described in your post.

> See the thread "taskgated: no signature" on the MacPorts Users list for the 
> (slow) dawning of
> my understanding of this.
I am aware of this thread.

> Try again? … :-)
I did. :-)

Well, the tutorial doesn’t fire up a web browser as it should be doing. :-(

I assumed here that the KDE framework deals with the bug reporter menu item on 
its own and doesn’t require the tutorial code to implement anything to open up 
the browser.
Please, correct me if I am wrong there.

Greets,
Marko

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<