Re: Preparing for Gtk+ version 4

Hi Peter:

Am 23.01.17 17:38 schrieb(en) Peter Bloomfield:
Reposting without the attachment--too big.

A common problem with this mailing list...

On 01/23/2017 11:34:03 AM Mon, Peter Bloomfield wrote:
I did try installing the .deb, using alien to convert it to a .rpm, but it looks like "dependency hell"--no 
automatic dependency resolution! Perhaps there's another GUI with a .rpm package...

Hmmm, "uncrustify --help" says:

There are currently 412 options and minimal documentation.
Try UniversalIndentGUI and good luck.

Here are the UniversalIndentGUI dependencies on my Ubuntu box, if this is helpful for you:

albrecht@deneb:~$ ldd $(which universalindentgui) =>  (0x00007fff2199f000) => /usr/lib/ (0x00007fcfe1e89000) => /usr/lib/x86_64-linux-gnu/ (0x00007fcfe19c6000) => /usr/lib/x86_64-linux-gnu/ (0x00007fcfe0cd1000) => /usr/lib/x86_64-linux-gnu/ (0x00007fcfe097c000) => /usr/lib/x86_64-linux-gnu/ (0x00007fcfe0489000) => /usr/lib/x86_64-linux-gnu/ (0x00007fcfe0106000) => /lib/x86_64-linux-gnu/ (0x00007fcfdfef0000) => /lib/x86_64-linux-gnu/ (0x00007fcfdfb27000) => /lib/x86_64-linux-gnu/ (0x00007fcfdf81d000) => /lib/x86_64-linux-gnu/ (0x00007fcfdf600000) => /usr/lib/x86_64-linux-gnu/ (0x00007fcfdf3bd000) => /usr/lib/x86_64-linux-gnu/ (0x00007fcfdf1a3000) => /lib/x86_64-linux-gnu/ (0x00007fcfdee92000) => /lib/x86_64-linux-gnu/ (0x00007fcfdec6d000) => /lib/x86_64-linux-gnu/ (0x00007fcfdea52000) => /usr/lib/x86_64-linux-gnu/ (0x00007fcfde7a8000) => /usr/lib/x86_64-linux-gnu/ (0x00007fcfde555000) => /usr/lib/x86_64-linux-gnu/ (0x00007fcfde34c000) => /usr/lib/x86_64-linux-gnu/ (0x00007fcfde132000) => /usr/lib/x86_64-linux-gnu/ (0x00007fcfddf22000) => /usr/lib/x86_64-linux-gnu/ (0x00007fcfddd17000) => /usr/lib/x86_64-linux-gnu/ (0x00007fcfddb05000) => /usr/lib/x86_64-linux-gnu/ (0x00007fcfdd7cb000) => /lib/x86_64-linux-gnu/ (0x00007fcfdd5c6000) => /lib/x86_64-linux-gnu/ (0x00007fcfdd3be000)
        /lib64/ (0x0000560e1a3a5000) => /lib/x86_64-linux-gnu/ (0x00007fcfdd194000) => /usr/lib/x86_64-linux-gnu/ (0x00007fcfdcf2b000) => /usr/lib/x86_64-linux-gnu/ (0x00007fcfdcd27000) => /lib/x86_64-linux-gnu/ (0x00007fcfdcab6000) => /usr/lib/x86_64-linux-gnu/ (0x00007fcfdc8ae000) => /lib/x86_64-linux-gnu/ (0x00007fcfdc6a9000) => /usr/lib/x86_64-linux-gnu/ (0x00007fcfdc486000) => /usr/lib/x86_64-linux-gnu/ (0x00007fcfdc280000)

With some tweaks to your config file, I got uncrustify doing a pretty good job. I believe the "add" options should mostly be "force", 
otherwise we could be left with some nonstandard formatting, like multiple spaces where one is required (e.g. between "if" and "("). And I 
set "align_var_def_star_style=2"; dangling stars, so that the variable names are aligned, similar to Gtk code. And a few other small tweaks.

Yes, that sounds good!

We need to have a discussion about hard tabs! I know it's still a controversial topic; personally, I don't 
like them, especially when tab stops are expected to be set every 4 places. Indentation can look different in 
vim, gedit, pasting into e-mail, and so on; eliminating them makes the indenting unambiguous. But opinions 

I fully agree with you that avoiding tabs makes everything a lot more portable.  Not sure if there is an 
option to replace tabs by spaces (I guess it is...).


Attachment: pgpmh9qF6z5_L.pgp
Description: PGP signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]