Week #9 and Week #10 report

2021-08-16 Thread anshu khare
Hi everyone,

In the last two weeks, I worked on my stretch goal to implement the second
control UI.

The link for them are below:

https://gerrit.libreoffice.org/c/core/+/119834
https://gerrit.libreoffice.org/c/core/+/119878

Please let me know if you have any questions

Thankyou
Regards
Anshu


Week #8 report

2021-08-02 Thread anshu khare
Hi everyone,

This week, I completed my refactoring task and got it merged. Link for it
is as follows : https://gerrit.libreoffice.org/c/core/+/117918

In the upcoming weeks, I will be working on my stretch goal, i.e ,
implementing the UI for Character Styles. I have already started working on
it. The link for it is as follows :
https://gerrit.libreoffice.org/c/core/+/119834

If you have any questions, please let me know.

Thanks and Regards
Anshu


Week #7 report

2021-07-27 Thread anshu khare
Hi everyone,

This week I had finished the refactoring task which would make easy
addition of a single StyleList control.

I also started to work on second control.

While working on the second control, I realized that I have to make the
refactoring compatible enough to support the second StyleList control. For
it to take place, I have to pass StyleList as an argument in the functions
of Dialog.

In the next week, I will be more on the above task.

Thanks and Regards
Anshu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Week #6 report

2021-07-19 Thread anshu khare
Hi everyone,

This week I was working on the refactoring task. Since it is more complex
than what we thought initially, I will be implementing the new UI as a
stretched goal of the GSoC period.

In my previous patch, the patch was working as expected, but a lot of
functions were public both in templdlg.cxx and stylelist.cxx. In order to
make them private, I learned the concept of LINKs. I was able to move a lot
of functions from public to private using LINK in both the above mentioned
files.

However, still proper naming conventions, documentation etc. are  remaining
to make the code more readable. This week I will be working on that.

Also, we are planning to look at some unrelated files to the project to
make things more simpler. If it is finalized, I will be doing that too this
week.

Thanks and Regards
Anshu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Week #4 and Week #5 Update - Sidebar

2021-07-11 Thread anshu khare
Hi everyone,

As I mentioned earlier, at the end of week 3, me and my mentors realized
that our approach of adding a second panel for CharacterStyles below the
panel of ParagraphStyles would make templdlg.cxx's code much more complex
and less maintainable in the future. Hence we decided to introduce a
StyleList control.

In the middle of week 4, we had more meetings, where we discussed more
about the approach, as initially it was a bit unclear to me.Then I started
working on the implementation.
Then at the end of week 4, a nightmare came. Due to windows updates, the
project wasn't building on my laptop. Me and my mentors tried to resolve
it, but it didn't work. Then I had to switch to another old laptop for the
completion of my work. The old laptop wasn't fast enough to build the
project in a few hours. It was built in about 1.5 days.

In week 5, I totally worked on the implementation of the StyleList control.
Here is a link to my project :
https://gerrit.libreoffice.org/c/core/+/117918

Initially I thought that the project was not building on my laptop because
the windows installation was faulty. Hence I bought a new laptop, to see if
the installation succeeded on that. But it didn't succeed. This is how I
came to know, that currently some windows updates are going on with which
LibreOffice is incompatible.

Currently, I have introduced StyleList control. Our next step will be to
reuse my old patch (https://gerrit.libreoffice.org/c/core/+/116340) , to
place Character Styles under Paragraph Styles. However, this time the
implementation will be much more simpler due to the introduction of
StyleList control.

Last, but not the least, I would like to thank my mentors for supporting me
throughout this whole process.

Thankyou all
Regards
Anshu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Week #3 update Sidebar

2021-06-28 Thread anshu khare
Hi everyone

In the last week, while implementing, we realized that we were making
templdlg.cxx very complex which will affect the maintainability of code in
the future.
Hence, we decided to change our approach.
To make things simple, we decided that first we will re-factor the code
which is responsible for all the interactions like filter, select etc. by
introducing a new control StyleList and after that we will try to introduce
a new treeview.

In the next week, I will be working towards the refactoring of code. This
will make templdlg.cxx's code much smaller.


Thankyou everyone
Regards
Anshu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Week #2 Report - Sidebar

2021-06-20 Thread anshu khare
Hii

Summary for Week 2 Progress is as follows :

- Improved the previously written code.

-  Made the ShowPreview button for Character Styles under the Paragraph
Styles.

- Made different filters for Character Styles properly functional.

Link of the project: https://gerrit.libreoffice.org/c/core/+/116340

Thank you

Regards
Anshu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Week #1 report - Sidebar

2021-06-13 Thread anshu khare
Hii

I want to share my progress for week 1. Thanks to my mentors Heiko Tietze,
Mike Kaganski, Tomaž Vajngerl.

 - I have made a treeview for character styles just below paragraph styles
in the same panel.
   Then I loaded all the character styles into it.

- I also made a show_preview button and filter styles combo box for the
newly made character  treeview. Then I loaded the filter styles combo box
in which all the styles corresponding to character style came.

- EnableHeirarchical function has to be a bit modified for the new filter
box.

The Gerrit link to my project is:
https://gerrit.libreoffice.org/c/core/+/116340

We are planning to push it to Libreoffice 7.3 master branch next week.

Thank you everyone
Regards
Anshu Khare
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Weekly Progress of GSoC project

2021-06-05 Thread anshu khare
Hi

My GSoC project can be viewed here :
https://summerofcode.withgoogle.com/dashboard/project/5869092168269824/details/

In my first week, I made a good connection with my mentors. We came out
with different ways of communication. I really enjoyed talking to them and
discussing different ideas and approaches for the project.
In the technical aspect, I made a treeview and loaded Character Styles in
that treeview..

My patch can be found here : https://gerrit.libreoffice.org/c/core/+/116340

Looking forward to implement many more ideas in the next week :)

Thanks
Regards
Anshu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Introduction

2021-05-28 Thread anshu khare
Hi everyone!

I am Anshu. I am from India. I have been selected as a GSoC 2021 student.

My project is revamping the Styles Sidebar in LibreOffice Writer. I will be
working to merge the Paragraph Styles and Character Styles into one Text
Styles deck. I will be also changing the current toggle tool buttons in the
styles deck to drop down. Then I will be work on graying out parent styles
in the hierarchy whose children are in use. I will also be creating
checkboxes to enable highlighting mode.

Looking forward to connect with everyone :)

Thanks
Regards
Anshu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


GSoC 2021

2021-03-11 Thread anshu khare
Hii

I am Anshu Khare, a third year student currently studying at the Birla
Institute of Technology and Science, Pilani (BITS Pilani)

I have been contributing to libreoffice since last year. These are a list
of my contributions :

https://gerrit.libreoffice.org/c/core/+/105501
https://gerrit.libreoffice.org/c/core/+/107041
https://gerrit.libreoffice.org/c/core/+/106556
https://bugs.documentfoundation.org/show_bug.cgi?id=136239
https://gerrit.libreoffice.org/c/core/+/108541
https://bugs.documentfoundation.org/show_bug.cgi?id=139339
https://gerrit.libreoffice.org/c/core/+/108929
https://gerrit.libreoffice.org/c/core/+/108841 - 2 Bugs solved in this
https://gerrit.libreoffice.org/c/core/+/110205
https://bugs.documentfoundation.org/show_bug.cgi?id=140480
https://bugs.documentfoundation.org/show_bug.cgi?id=140483

I would like to work on the the Styles Highlighter project given on the
Libreoffice Ideas list. I am looking forward to interact with the mentors :)

Thanks and Regards
Anshu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Bug reported

2020-11-23 Thread anshu khare
I have reported a bug.

https://bugs.documentfoundation.org/show_bug.cgi?id=138441

Someone please confirm it.

Thanks and Regards
Anshu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Patch review

2020-11-10 Thread anshu khare
Hi

Please review my patch

https://gerrit.libreoffice.org/c/core/+/105501

I have tested it. It's working fine.
Please merge it.


Thanks in advance
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Ant doesn't work

2020-11-06 Thread anshu khare
Hi

If someone is working on Libreoffice on windows, could you please forward
me the build.xml file under the directory

C:\sources\apache-ant-1.9.5

I require it for my Ant to work properly.
It's not automatically generated on my system.

Thanks in advance

On Thu, 5 Nov, 2020, 4:28 PM anshu khare,  wrote:

> On running ant in cygwin shell , it gives the following error :
>
> Buildfile: build.xml does not exist!
> Build failed
>
> On Thu, Nov 5, 2020 at 4:21 PM anshu khare  wrote:
>
>> Hi,
>>
>> On running autogen.sh in the Cygwin terminal, it gives the following
>> error:
>>
>> checking if /cygdrive/c/sources/apache-ant-1.9.5/bin/ant works...
>> configure: error: Ant does not work - Some Java projects will not build!
>>
>> Could you please help me with it?
>>
>> Thanks in advance
>>
>> Regards
>> Anshu
>>
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Ant doesn't work

2020-11-05 Thread anshu khare
On running ant in cygwin shell , it gives the following error :

Buildfile: build.xml does not exist!
Build failed

On Thu, Nov 5, 2020 at 4:21 PM anshu khare  wrote:

> Hi,
>
> On running autogen.sh in the Cygwin terminal, it gives the following error:
>
> checking if /cygdrive/c/sources/apache-ant-1.9.5/bin/ant works...
> configure: error: Ant does not work - Some Java projects will not build!
>
> Could you please help me with it?
>
> Thanks in advance
>
> Regards
> Anshu
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Ant doesn't work

2020-11-05 Thread anshu khare
Hi,

On running autogen.sh in the Cygwin terminal, it gives the following error:

checking if /cygdrive/c/sources/apache-ant-1.9.5/bin/ant works...
configure: error: Ant does not work - Some Java projects will not build!

Could you please help me with it?

Thanks in advance

Regards
Anshu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Patch review

2020-09-29 Thread anshu khare
Hi,

Could you please review my patch :

https://gerrit.libreoffice.org/c/core/+/103632

Thanks and Regards
Anshu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


.ui file not compiling

2020-09-23 Thread anshu khare
Hi,

I was facing difficulty in the installation of glade in cygwin. So I
installed glade in msys64 in Windows10 using this documentation :
https://www.gtk.org/docs/installations/windows

Glade was installed under C:/msys64/mingw64/bin.
I opened glade and changed the UI file under
C:/sources/libo-core/sw/uiconfig/swriter/ui

But when I build sw library in Visual Studio I was unable to see the
changes in the ui.

I searched on Internet regarding it. It said that I have to compile the ui
file after changing it.

Could you please guide me for the next steps?

Thanks in advance
Regards
Anshu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Build error

2020-09-05 Thread anshu khare
I resolved it. It was some config issue..

On Fri, 4 Sep, 2020, 10:49 PM anshu khare,  wrote:

> Hi,
>
> Recently my college tests have been going on. So I couldn't work much on
> the development.
>
> I had some issues with the build recently. So I removed libo-core and got
> it installed again.
> If I run
>
> cd /cygdrive/c/build
> instdir/program/soffice.bin
>
> from cygwin shell, LibreOfficeDev opens up without any issues.
>
> But when I open LibreOffice.sln from C:/ Build in Visual Studio and build
> it's solution, it gives the following error :
>
>
> Error MSB3073 The command "chcp 65001 >NUL && C:/cygwin64/bin/dash.exe -c
> "PATH=\"/bin:$PATH\";BUILDDIR=\"C:/build\" C:/cygwin64/opt/lo/bin/make -rsC
> C:/sources/libo-core/sal Library_sal"" exited with code 2.
> Error on line 46 of Microsoft.MakeFile.Targets in project Library sal
>
> This error is not only for library sal, but it is also for all the
> libraries.
> I guess that the solution is being built for the previous faulty build.
> How should I build solution for the new build?
>
> Or is there some other configuration problem?
>
>
> Regards,
> Anshu
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Build error

2020-09-04 Thread anshu khare
Hi,

Recently my college tests have been going on. So I couldn't work much on
the development.

I had some issues with the build recently. So I removed libo-core and got
it installed again.
If I run

cd /cygdrive/c/build
instdir/program/soffice.bin

from cygwin shell, LibreOfficeDev opens up without any issues.

But when I open LibreOffice.sln from C:/ Build in Visual Studio and build
it's solution, it gives the following error :


Error MSB3073 The command "chcp 65001 >NUL && C:/cygwin64/bin/dash.exe -c
"PATH=\"/bin:$PATH\";BUILDDIR=\"C:/build\" C:/cygwin64/opt/lo/bin/make -rsC
C:/sources/libo-core/sal Library_sal"" exited with code 2.
Error on line 46 of Microsoft.MakeFile.Targets in project Library sal

This error is not only for library sal, but it is also for all the
libraries.
I guess that the solution is being built for the previous faulty build.
How should I build solution for the new build?

Or is there some other configuration problem?


Regards,
Anshu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Bug

2020-08-28 Thread anshu khare
Hi,

I am changing the bug status to new as it is confirmed by Aron Budea.


Thank you
Regards
Anshu

On Sat, 29 Aug, 2020, 12:07 AM anshu khare,  wrote:

> Hi,
>
> I have reported a bug.
> Please confirm it.
>
> Bug 136239 - Incorrect number of rows and columns added in Writer while
> inserting table
>
> Thank You
> Regards
> Anshu
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Bug

2020-08-28 Thread anshu khare
Hi,

I have reported a bug.
Please confirm it.

Bug 136239 - Incorrect number of rows and columns added in Writer while
inserting table

Thank You
Regards
Anshu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Patch Review

2020-08-28 Thread anshu khare
Hi,

I have worked on Bug 134779 - Entering a table with too many columns
causing Writer to lock up.

 Please review my patch.

https://gerrit.libreoffice.org/c/core/+/101561

Regards
Anshu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Glade installation

2020-08-27 Thread anshu khare
Hi,

Could you please help me with the installation of glade in Cygwin on
windows??

On Wed, 26 Aug, 2020, 5:32 AM anshu khare,  wrote:

> Exception thrown is :
>
> Exception: STATUS_ACCESS_VIOLATION at rip=003F6C560C6
>
> On Wed, Aug 26, 2020 at 2:06 AM anshu khare 
> wrote:
>
>> Hi
>>
>> I am trying to install glade on cygwin in Windows 10.
>>
>> I have installed all the required packages i.e. X11, Gtk3, Glade and
>> OpenGL.
>>
>> I have added
>> export GLADE_CATALOG_SEARCH_PATH=C:/Sources/libo-core/instdir/share/glade
>> in  .bashrc as given in the doc.
>>
>> I opened Cygwin shell and ran X-multiwindow
>>
>> It was running fine till this point.
>>
>> Then I opened another Cygwin shell and ran DISPLAY=:0.0 glade.exe as
>> given in the doc.
>>
>> It is giving me Segmentation fault(Core dumped) error.
>>
>> I have also rebased Cygwin and still it is giving me error.
>>
>> Could you please tell me how to solve this?
>>
>> Regards
>> Anshu
>>
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Glade installation

2020-08-25 Thread anshu khare
Exception thrown is :

Exception: STATUS_ACCESS_VIOLATION at rip=003F6C560C6

On Wed, Aug 26, 2020 at 2:06 AM anshu khare  wrote:

> Hi
>
> I am trying to install glade on cygwin in Windows 10.
>
> I have installed all the required packages i.e. X11, Gtk3, Glade and
> OpenGL.
>
> I have added
> export GLADE_CATALOG_SEARCH_PATH=C:/Sources/libo-core/instdir/share/glade
> in  .bashrc as given in the doc.
>
> I opened Cygwin shell and ran X-multiwindow
>
> It was running fine till this point.
>
> Then I opened another Cygwin shell and ran DISPLAY=:0.0 glade.exe as given
> in the doc.
>
> It is giving me Segmentation fault(Core dumped) error.
>
> I have also rebased Cygwin and still it is giving me error.
>
> Could you please tell me how to solve this?
>
> Regards
> Anshu
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Glade installation

2020-08-25 Thread anshu khare
Hi

I am trying to install glade on cygwin in Windows 10.

I have installed all the required packages i.e. X11, Gtk3, Glade and
OpenGL.

I have added
export GLADE_CATALOG_SEARCH_PATH=C:/Sources/libo-core/instdir/share/glade
in  .bashrc as given in the doc.

I opened Cygwin shell and ran X-multiwindow

It was running fine till this point.

Then I opened another Cygwin shell and ran DISPLAY=:0.0 glade.exe as given
in the doc.

It is giving me Segmentation fault(Core dumped) error.

I have also rebased Cygwin and still it is giving me error.

Could you please tell me how to solve this?

Regards
Anshu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [core] tdf#87963: Add percentage value to new calculated compressed image size

2020-08-24 Thread anshu khare
Hi,

I have the following code compressgraphicdialog.ui

 
  
True
False
Percentage Change :
0



  
  
0
5
  


  
True
False
True
???
0



  
  
1
5
  


Also, I have added this code in compressgraphicdialog.hxx

std::unique_ptrm_xFixedText7;


and this line of code in compressgraphicdialog.cxx

void CompressGraphicsDialog::Initialize()
{
.
.
.

 m_xFixedText7 = m_xBuilder->weld_label("label-percent-change");

.
.
.
}

There are no building errors here.

But when I add the following code in compressgraphicdialog.cxx

void CompressGraphicsDialog::Update()
{
.
.
.
m_xFixedText7->set_label("working");
.
.
.
}

It gives the following exception:

Exception thrown at 0x7FF99AEF0EA6 (svxlo.dll) in soffice.bin:
0xC005: Access violation reading location 0x. occurred.

Could you please tell me what is going wrong here?

Regards
Anshu

On Mon, 24 Aug, 2020, 9:39 PM anshu khare,  wrote:

>   Hi,
>
> I have the following code compressgraphicdialog.ui
>
>  
>   
> True
> False
>  context="compressgraphicdialog|label10">Percentage Change :
> 0
> 
>  target="label-percent-change"/>
> 
>   
>   
> 0
> 5
>   
> 
> 
>id="label-percent-change">
> True
> False
> True
> ???
> 0
> 
>  target="label10"/>
> 
>   
>   
> 1
> 5
>   
> 
>
> Also, I have added this code in compressgraphicdialog.hxx
>
> std::unique_ptrm_xFixedText7;
>
>
> and this line of code in compressgraphicdialog.cxx
>
> void CompressGraphicsDialog::Initialize()
> {
> .
> .
> .
>
>  m_xFixedText7 = m_xBuilder->weld_label("label-percent-change");
>
> .
> .
> .
> }
>
> There are no building errors here.
>
> But when I add the following code in compressgraphicdialog.cxx
>
> void CompressGraphicsDialog::Update()
> {
> .
> .
> .
> m_xFixedText7->set_label("working");
> .
> .
> .
> }
>
> It gives the following exception:
>
> Exception thrown at 0x7FF99AEF0EA6 (svxlo.dll) in soffice.bin:
> 0xC005: Access violation reading location 0x. occurred.
>
> Could you please tell me what is going wrong here?
>
> Regards
> Anshu
>
> On Mon, Aug 24, 2020 at 2:26 AM Jim Raykowski (via Code Review) <
> ger...@gerrit.libreoffice.org> wrote:
>
>> Jim Raykowski has posted comments on this change. (
>> https://gerrit.libreoffice.org/c/core/+/101242 )
>>
>> Change subject: tdf#87963: Add percentage value to new calculated
>> compressed image size
>> ..
>>
>>
>> Patch Set 2:
>>
>> You could make necessary changes by directly editing
>> core/svx/uiconfig/ui/compressgraphicdialog.ui or use Glade
>> https://glade.gnome.org/
>>
>>
>> --
>> To view, visit https://gerrit.libreoffice.org/c/core/+/101242
>> To unsubscribe, or for help writing mail filters, visit
>> https://gerrit.libreoffice.org/settings
>>
>> Gerrit-Project: core
>> Gerrit-Branch: master
>> Gerrit-Change-Id: I5fb87fd4d8cceb38775cb98

Re: [core] tdf#87963: Add percentage value to new calculated compressed image size

2020-08-23 Thread anshu khare
Hi

I am developing on Visual Studio. I can access  .cxx and  .hxx files.

How can get access to  .ui files (so that I can add label to
compressgraphicdialog.ui) ?

Regards
Anshu

On Mon, 24 Aug, 2020, 12:35 AM Shivam, Kumar Singh (via Code Review), <
ger...@gerrit.libreoffice.org> wrote:

> Shivam, Kumar Singh has posted comments on this change. (
> https://gerrit.libreoffice.org/c/core/+/101242 )
>
> Change subject: tdf#87963: Add percentage value to new calculated
> compressed image size
> ..
>
>
> Patch Set 2:
>
> The correct way to do this would be to add a new label say
> "label-new-percentage" in the svx/ui/compressgraphicdialog.ui file right
> next to where the label for the current size is added.
> After that declare a new label similar to m_xFixedText6 in
> compressgraphicdialog.hxx and initialise it
> something like this in the cxx file
>
> " m_xFixedPercentage = m_xBuilder->weld_label("label-new-percentage"); "
>
> and add the new calculated percentage to this label using set_label().
> Do you get my point?
>
> There might be a better way to do this, but this is what i would have
> done. I am adding Tomaz as a reviewer he might be able to judge this idea.
>
>
> --
> To view, visit https://gerrit.libreoffice.org/c/core/+/101242
> To unsubscribe, or for help writing mail filters, visit
> https://gerrit.libreoffice.org/settings
>
> Gerrit-Project: core
> Gerrit-Branch: master
> Gerrit-Change-Id: I5fb87fd4d8cceb38775cb98520c0c7ba1d49bc93
> Gerrit-Change-Number: 101242
> Gerrit-PatchSet: 2
> Gerrit-Owner: Anshu 
> Gerrit-Reviewer: Jenkins
> Gerrit-Reviewer: Julien Nabet 
> Gerrit-CC: Shivam, Kumar Singh 
> Gerrit-CC: Tomaž Vajngerl 
> Gerrit-Comment-Date: Sun, 23 Aug 2020 19:04:51 +
> Gerrit-HasComments: No
> Gerrit-Has-Labels: No
> Gerrit-MessageType: comment
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [core] tdf#87963: Add percentage value to new calculated compressed image size

2020-08-23 Thread anshu khare
To show it in UI we have to create another label and display it over there.

Could u please tell me how to it?


Regards
Anshu

On Sun, 23 Aug, 2020, 11:57 PM Julien Nabet (via Code Review), <
ger...@gerrit.libreoffice.org> wrote:

> Julien Nabet has posted comments on this change. (
> https://gerrit.libreoffice.org/c/core/+/101242 )
>
> Change subject: tdf#87963: Add percentage value to new calculated
> compressed image size
> ..
>
>
> Patch Set 2: Code-Review-2
>
> I'm not an expert but the main problem I see is you use "printf". The goal
> of the bugtracker is to display the information on UI not on a console.
>
>
> --
> To view, visit https://gerrit.libreoffice.org/c/core/+/101242
> To unsubscribe, or for help writing mail filters, visit
> https://gerrit.libreoffice.org/settings
>
> Gerrit-Project: core
> Gerrit-Branch: master
> Gerrit-Change-Id: I5fb87fd4d8cceb38775cb98520c0c7ba1d49bc93
> Gerrit-Change-Number: 101242
> Gerrit-PatchSet: 2
> Gerrit-Owner: Anshu 
> Gerrit-Reviewer: Jenkins
> Gerrit-Reviewer: Julien Nabet 
> Gerrit-Comment-Date: Sun, 23 Aug 2020 18:27:20 +
> Gerrit-HasComments: No
> Gerrit-Has-Labels: Yes
> Gerrit-MessageType: comment
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Anshu Khare License Statement

2020-08-23 Thread anshu khare
All of my past & future contributions to LibreOffice may be
   licensed under the MPLv2/LGPLv3+ dual license.


On Sun, 23 Aug, 2020, 11:57 PM Julien Nabet (via Code Review), <
ger...@gerrit.libreoffice.org> wrote:

> Julien Nabet has posted comments on this change. (
> https://gerrit.libreoffice.org/c/core/+/101242 )
>
> Change subject: tdf#87963: Add percentage value to new calculated
> compressed image size
> ..
>
>
> Patch Set 2: Code-Review-2
>
> I'm not an expert but the main problem I see is you use "printf". The goal
> of the bugtracker is to display the information on UI not on a console.
>
>
> --
> To view, visit https://gerrit.libreoffice.org/c/core/+/101242
> To unsubscribe, or for help writing mail filters, visit
> https://gerrit.libreoffice.org/settings
>
> Gerrit-Project: core
> Gerrit-Branch: master
> Gerrit-Change-Id: I5fb87fd4d8cceb38775cb98520c0c7ba1d49bc93
> Gerrit-Change-Number: 101242
> Gerrit-PatchSet: 2
> Gerrit-Owner: Anshu 
> Gerrit-Reviewer: Jenkins
> Gerrit-Reviewer: Julien Nabet 
> Gerrit-Comment-Date: Sun, 23 Aug 2020 18:27:20 +
> Gerrit-HasComments: No
> Gerrit-Has-Labels: Yes
> Gerrit-MessageType: comment
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Patch review

2020-08-23 Thread anshu khare
Hi mentors,

Please check https://gerrit.libreoffice.org/c/core/+/101242

I have worked on the Bug 87963

Thank you
Regards
Anshu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: New build

2020-08-20 Thread anshu khare
The new changes include simply adding a printf statement and it's not
working.



On Fri, 21 Aug, 2020, 1:10 AM anshu khare,  wrote:

> Hi
>
>
>
> I checked git status and I could clearly see modified files.
>
> So I restored them all.
>
> Then I again went to the build folder in C drive. I saw that the changes
> to the code which I did in the the first build were gone.
>
> Then I again built the debug version on libreoffice.sln in visual Studio.
>
> I saw that though the changes in the code were removed but they were still
> present in the build.
>
> Also the new changes which I am doing now in the code aren't visible in
> the build.
>
> P. S : I was working on master branch.
>  Also, when building libreoffice through cygwin, I didn't gave
> --enable-debug or --enable-debug-util in autogen.sh
>
> Could this be a possible reason?
>
>
> On Thu, 20 Aug, 2020, 11:20 PM Shivam Kumar Singh, <
> shivamhere...@gmail.com> wrote:
>
>>
>>
>> On Thu, 20 Aug 2020 at 22:41, anshu khare  wrote:
>>
>>>
>>> I basically ran autogen.sh , /opt/lo/bin/make gb_color=1,
>>> instdir/program/soffice.exe, and /opt/lo/bin/make vs2019-ide-integration
>>> again on Cygwin.
>>>
>>
>> You don't need to run autogen.sh every time. That is only for the first
>> build. The normal workflow is to make a new branch -> do your required
>> changes -> make
>>
>> Then I went to build folder in C drive of my pc. There I found
>>> Libreoffice.sln
>>>
>>> I opened it and built the debug version.
>>> I found that the changes which were made during first build were
>>> reflected in this built.
>>> The changes which I made earlier in the code during my first build were
>>> present this time as well.
>>>
>> I undid the changes in the code. But that didn't affect the changes in
>>> built.
>>>
>>
>> Are you sure? run "git status" to check if you have some
>> uncommitted changes or
>> perhaps if you are working on a separate branch from master do "git diff
>> master ... your_branch_name". (do not forget the "...")
>>
>> regards,
>> Shivam Kumar Singh
>>
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Output of printf

2020-08-20 Thread anshu khare
Hi

I was having my end term exams. So I couldn't be active at that time.

I added breakpoints but they showing the message "Break point will not be
hit. No symbols loaded for this document in visual studio".

To remove it, I tried to follow this:

https://www.youtube.com/watch?v=h_vk0ZYMBVc

But I it didn't work.

P. S : When I was building libreoffice through Cygwin, I didn't pass the
command --enable-debug or --enable-debugutil in autogen.sh

Could that be a possible reason?


On Wed, 29 Jul, 2020, 1:53 AM Mike Kaganski, 
wrote:

> On 28.07.2020 22:18, anshu khare wrote:
> > I need to print some numerical value whose formula I am working on. I
> need
> > to check if the formula is correct.
> >
> > That's why I asked for printing the output on console.
> >
> > Breakpoints won't serve the purpose, I guess.
>
> I totally don't see why. Breakpoint may allow you to examine values; or
> to print values - as I wrote in my initial answer; without any need to
> modify the code and compile the changes.
>
> See
> https://docs.microsoft.com/en-us/visualstudio/debugger/using-tracepoints
>
> --
> Best regards,
> Mike Kaganski
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: New build

2020-08-20 Thread anshu khare
Hi



I checked git status and I could clearly see modified files.

So I restored them all.

Then I again went to the build folder in C drive. I saw that the changes to
the code which I did in the the first build were gone.

Then I again built the debug version on libreoffice.sln in visual Studio.

I saw that though the changes in the code were removed but they were still
present in the build.

Also the new changes which I am doing now in the code aren't visible in the
build.

P. S : I was working on master branch.
 Also, when building libreoffice through cygwin, I didn't gave
--enable-debug or --enable-debug-util in autogen.sh

Could this be a possible reason?


On Thu, 20 Aug, 2020, 11:20 PM Shivam Kumar Singh, 
wrote:

>
>
> On Thu, 20 Aug 2020 at 22:41, anshu khare  wrote:
>
>>
>> I basically ran autogen.sh , /opt/lo/bin/make gb_color=1,
>> instdir/program/soffice.exe, and /opt/lo/bin/make vs2019-ide-integration
>> again on Cygwin.
>>
>
> You don't need to run autogen.sh every time. That is only for the first
> build. The normal workflow is to make a new branch -> do your required
> changes -> make
>
> Then I went to build folder in C drive of my pc. There I found
>> Libreoffice.sln
>>
>> I opened it and built the debug version.
>> I found that the changes which were made during first build were
>> reflected in this built.
>> The changes which I made earlier in the code during my first build were
>> present this time as well.
>>
> I undid the changes in the code. But that didn't affect the changes in
>> built.
>>
>
> Are you sure? run "git status" to check if you have some
> uncommitted changes or
> perhaps if you are working on a separate branch from master do "git diff
> master ... your_branch_name". (do not forget the "...")
>
> regards,
> Shivam Kumar Singh
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: New build

2020-08-20 Thread anshu khare
When I built libreoffice earlier I did some changes in the code.


I built libreoffice again using this link.

https://wiki.documentfoundation.org/Development/BuildingOnWindows

I didn't build from scratch.

I basically ran autogen.sh , /opt/lo/bin/make gb_color=1,
instdir/program/soffice.exe, and /opt/lo/bin/make vs2019-ide-integration
again on Cygwin.

Then I went to build folder in C drive of my pc. There I found
Libreoffice.sln

I opened it and built the debug version.
I found that the changes which were made during first build were reflected
in this built.
The changes which I made earlier in the code during my first build were
present this time as well.
I undid the changes in the code. But that didn't affect the changes in
built.


On Thu, 20 Aug, 2020, 9:00 PM Ilmari Lauhakangas, <
ilmari.lauhakan...@libreoffice.org> wrote:

> anshu khare kirjoitti 20.8.2020 klo 18.23:
> > Hi
> >
> > I was having my end-term exams. So I couldn't be active during that time.
> >
> > Recently, I installed libreoffice again on windows. But when I built it,
> > I saw that the previously installed libreoffice was getting built rather
> > than the new one.
> >
> > Could someone help me in building the newly installed libreoffice?
> > Do I have to give some specific commands in cygwin to first uninstall
> > the previous version and then install the new one for it to work
> properly?
>
> I don't understand what you mean by talking about installing LibreOffice
> and then proceeding to build it. Are you referring to doing a
> development environment setup from scratch? Please give more details,
> the exact steps on how you got where you are now. It is impossible to
> comment otherwise.
>
> Ilmari
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: New build

2020-08-20 Thread anshu khare
When I built libreoffice earlier I did some changes in the code.


I built libreoffice again using this link.

https://wiki.documentfoundation.org/Development/BuildingOnWindows

I didn't build from scratch.

I basically ran autogen.sh , /opt/lo/bin/make gb_color=1,
instdir/program/soffice.exe, and /opt/lo/bin/make vs2019-ide-integration
again on Cygwin.

Then I went to build folder in C drive of my pc. There I found
Libreoffice.sln

I opened it and built the debug version.
I found that the changes which were made during first build were reflected
in this built.
The changes which I made earlier in the code during my first build were
present this time as well.
I undid the changes in the code. But that didn't affect the changes in
built.


On Thu, 20 Aug, 2020, 9:00 PM Ilmari Lauhakangas, <
ilmari.lauhakan...@libreoffice.org> wrote:

> anshu khare kirjoitti 20.8.2020 klo 18.23:
> > Hi
> >
> > I was having my end-term exams. So I couldn't be active during that time.
> >
> > Recently, I installed libreoffice again on windows. But when I built it,
> > I saw that the previously installed libreoffice was getting built rather
> > than the new one.
> >
> > Could someone help me in building the newly installed libreoffice?
> > Do I have to give some specific commands in cygwin to first uninstall
> > the previous version and then install the new one for it to work
> properly?
>
> I don't understand what you mean by talking about installing LibreOffice
> and then proceeding to build it. Are you referring to doing a
> development environment setup from scratch? Please give more details,
> the exact steps on how you got where you are now. It is impossible to
> comment otherwise.
>
> Ilmari
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


New build

2020-08-20 Thread anshu khare
Hi

I was having my end-term exams. So I couldn't be active during that time.

Recently, I installed libreoffice again on windows. But when I built it, I
saw that the previously installed libreoffice was getting built rather than
the new one.

Could someone help me in building the newly installed libreoffice?
Do I have to give some specific commands in cygwin to first uninstall the
previous version and then install the new one for it to work properly?

Thanks
Anshu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Output of printf

2020-07-28 Thread anshu khare
I didn't mean that. I am sorry if you felt it that way.

I need to print some numerical value whose formula I am working on. I need
to check if the formula is correct.

That's why I asked for printing the output on console.

Breakpoints won't serve the purpose, I guess.



Anshu

On Wed, 29 Jul, 2020, 12:23 AM Tor Lillqvist,  wrote:

>
>>
>> Could you please confirm and let me know the reason behind the blank
>> soffice.bin ?
>>
>
> Confirm what? My suggestion of something to try? That is not how this
> works. The idea was that you should try that, and tell us the result. If
> you don't want to bother, just ignore my suggestion. (And I will try to
> remember not to bother attempting to help people again.)
>
> --tml
>
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Output of printf

2020-07-28 Thread anshu khare
Hi,

Could you please confirm and let me know the reason behind the blank
soffice.bin ?

Anshu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Output of printf

2020-07-28 Thread anshu khare
Hi

So here's what I was trying to do.
In  svx/source/dialog/compressgraphicdialog.cxx, I added a printf statement
in CompressGraphicsDialog::CompressGraphicsDialog() function
and CompressGraphicsDialog::Initialize() function as follows:
printf("Hi");

Then I built a debug version of LibreOffice.
As usual soffice.bin and LibreOffice Dev Personal opened up.

I created a Writer document and inserted a picture in it.
Then I compressed that picture and saved the document.

To my surprise, there was no "Hi" in the Output window and Immediate window
of Visual Studio.
Also, there was no "Hi" in soffice.bin.

Anshu


On Mon, 27 Jul, 2020, 9:58 PM Mike Kaganski, 
wrote:

> Hi,
>
> On 27.07.2020 19:17, anshu khare wrote:
> >
> > So recently I built Libreoffice in Microsoft Visual Studio on Windows.
>
> LibreOffice is build in Cygwin terminal on Windows; Visual Studio IDE
> cannot do a full build (although can do a limited rebuild after initial
> full build had been completed).
>
> >
> > I want to know if soffice.bin is the console window for Libreoffice.sln
> > project.
>
> Since version 6.3, soffice.bin process is a console process, and it is
> attached to the debugging console window created by Visual Studio when
> you start it from the IDE in IDE integration scenatio, if that's what
> you are asking.
>
> >
> > If not, then please tell me where to find the console window to generate
> > the output of a simple printf statement.
>
> It all lacks the background, why are you asking? Obviously the first
> thing to do would be to add some printf somewhere, make sure it gets
> executed, and see if it appears on the console. But you omit this
> information, so I can only guess that you have tried that (a patch of
> your attempted changes would be helpful, or better a gerrit change), and
> somehow failed ... and that's why you ask, right?
>
> SAL_WARN/INFO/etc could be also useful; or using Visual Studio
> debugger's breakpoints properties allowing you to make the breakpoint to
> output something to IDE output window and continue (thus eliminating a
> need to change source code, build, then test).
>
> --
> Best regards,
> Mike Kaganski
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Output of printf

2020-07-27 Thread anshu khare
Hi

I know that at this point it is a very lame question to ask. But if you
could help me with it would be great.

So recently I built Libreoffice in Microsoft Visual Studio on Windows.

I want to know if soffice.bin is the console window for Libreoffice.sln
project.

If not, then please tell me where to find the console window to generate
the output of a simple printf statement.

Thank you
Anshu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Easy Hacks

2020-07-24 Thread anshu khare
Hi

I was following this link as told by other members of the community.

https://wiki.documentfoundation.org/Development/BuildingOnWindows

It's pretty much the same I guess.

Regards
Anshu

On Sat, 25 Jul, 2020, 2:33 AM Regis Perdreau, 
wrote:

> Hi, thank you for joining us !
>
>
> All commands are supposed to be entered in cygwin shell. (that's i do)
> (but probably won't work out of the box, you need to set some environment
> variables)
>
> First : have you build a debug version of LibreOffice ?
> as described here :
>
> https://blog.documentfoundation.org/blog/2019/07/09/start-developing-libreoffice-download-the-source-code-and-build-on-windows/
>
> Regards,
>
> Régis Perdreau
>
>
>
> Le ven. 24 juil. 2020 à 19:52, anshu khare  a
> écrit :
>
>> Hi
>>
>> I am new to this community.
>>
>> I was looking for some easy hacks on this page
>>
>>
>> https://wiki.documentfoundation.org/Development/EasyHacks/by_Required_Skill/Skill_C%2B%2B#Skill_Level:_Beginner
>>
>>
>> I was looking at the bug
>>
>> 42982 : improve UNO API error reporting
>>
>> Since I was completely unfamiliar with UNO, I directed to this page
>>
>> https://niocs.github.io/LOBook/extensions/part1.html#buildsec
>>
>> It says :
>>
>> The complete C++ program that creates a Desktop object and loads an empty
>> calc document can be built and run as :
>>
>> $ git clone https://github.com/niocs/UNOCreateUseObject.git
>> $ cd UNOCreateUseObject
>> $ make
>>
>> $ make CreateUseObject.run
>>
>>
>> Please let me know if I have to write these commands on Cygwin shell or
>> on Git Bash.
>>
>> Also, am I heading in right direction to solve this particular bug?
>>
>>
>> Thank you
>>
>> Regards
>>
>> Anshu
>>
>>
>> ___
>> LibreOffice mailing list
>> LibreOffice@lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/libreoffice
>>
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Easy Hacks

2020-07-24 Thread anshu khare
Hi

I am new to this community.

I was looking for some easy hacks on this page

https://wiki.documentfoundation.org/Development/EasyHacks/by_Required_Skill/Skill_C%2B%2B#Skill_Level:_Beginner


I was looking at the bug

42982 : improve UNO API error reporting

Since I was completely unfamiliar with UNO, I directed to this page

https://niocs.github.io/LOBook/extensions/part1.html#buildsec

It says :

The complete C++ program that creates a Desktop object and loads an empty
calc document can be built and run as :

$ git clone https://github.com/niocs/UNOCreateUseObject.git
$ cd UNOCreateUseObject
$ make

$ make CreateUseObject.run


Please let me know if I have to write these commands on Cygwin shell or on
Git Bash.

Also, am I heading in right direction to solve this particular bug?


Thank you

Regards

Anshu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Easy Hacks

2020-07-24 Thread anshu khare
Hi everyone

I have finally built LibreOffice on Windows.

Could you please direct me to easy hacks so that I can familiarize my self
with the code and start contributing.

Thank You
Warm Regards
Anshu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Building error

2020-07-08 Thread anshu khare
Hi

Recently, I was trying to build LibreOffice on Windows.

When I ran

/opt/lo/bin/make gb_COLOR=1

in the Cygwin shell, it executed smoothly in the beginning.

After 2 hours of running it gave this error:

> error: .NET exception occurred: System.IO.IOException: Access is denied.
(Exce
ption from HRESULT: 0x80070005 (E_ACCESSDENIED))
   at System.Reflection.Emit.ModuleBuilder.SavePEFile(RuntimeModule module,
Stri
ng fileName, Int32 entryPoint, Int32 isExe, Boolean isManifestFile)
   at System.Reflection.Emit.ModuleBuilder.Save(String fileName, Boolean
isAssem
blyFile, PortableExecutableKinds portableExecutableKind, ImageFileMachine
imageF
ileMachine)
   at System.Reflection.Emit.AssemblyBuilder.SaveNoLock(String
assemblyFileName,
 PortableExecutableKinds portableExecutableKind, ImageFileMachine
imageFileMachi
ne)
   at System.Reflection.Emit.AssemblyBuilder.Save(String assemblyFileName,
Porta
bleExecutableKinds portableExecutableKind, ImageFileMachine
imageFileMachine)
   at ?A0x917c8043.sal_main()
> dying abnormally...[PCH] precompiled_d
ba
make[1]: *** [C:/sources/libo-core/cli_ure/CliUnoApi_cli_uretypes.mk:14:
C:/buil
d/instdir/program/cli_uretypes.dll] Error 1
make[1]: *** Waiting for unfinished jobs
make: *** [Makefile:282: build] Error 2

How should I solve this issue?


Anshu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Error in building LibreOffice

2020-07-08 Thread anshu khare
Hi

I solved that problem by running

reg add HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\StrongName
/v MachineKeyset /t REG_DWORD /d 0

in the Administrator Command Prompt.

I got the solution here:

https://stackoverflow.com/questions/4606342/signing-assembly-access-is-denied

Thanks again Julian for hinting me in right direction. :)

Best

Anshu



On Tue, Jul 7, 2020 at 3:26 PM Mike Kaganski 
wrote:

> On 07.07.2020 12:41, anshu khare wrote:
> > Someone please help me with this.
> >
> > On Sun, 5 Jul, 2020, 10:06 PM anshu khare, 
> wrote:
> >
> >> The link says about solving the error
> >>
> >>
> >> ALINK: error AL1078: Error signing assembly -- Access is denied.
>
> Possibly no one who reads the list remembers anything similar.
>
> I don't know if that might help; you haven't indicated the arguments you
> used for autogen, and that could shed some light... (and then, you are
> likely to had followed the build directions in the wiki not carefully
> enough - because of your previous question, which indicated that you
> haven't followed the list of required components in VS; so the things
> might had went wrong in so many ways...). Please mention as much
> information as possible, and follow the guides as carefully as possible.
>
> Maybe using --disable-windows-build-signing in autogen.input could
> affect this - just guessing.
>
> --
> Best regards,
> Mike Kaganski
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Error in building LibreOffice

2020-07-07 Thread anshu khare
Someone please help me with this.

On Sun, 5 Jul, 2020, 10:06 PM anshu khare,  wrote:

> The link says about solving the error
>
>
> ALINK: error AL1078: Error signing assembly -- Access is denied.
>
> That's why I thought that it might be useful..
>
> Please tell me how to solve this problem
>
> On Sun, 5 Jul, 2020, 10:02 PM Tor Lillqvist,  wrote:
>
>>
>>>
>>> This link: https://github.com/dotnet/runtime/issues/15416
>>>
>>> says that I have to add myself to the list of permissions of
>>> C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys folder with Full
>>> Control.
>>>
>>
>> Why do you think a five year old message about a problem when building
>> the .NET runtime has anything to do with building LibreOffice in 2020?
>>
>> --tml
>>
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Error in building LibreOffice

2020-07-05 Thread anshu khare
The link says about solving the error


ALINK: error AL1078: Error signing assembly -- Access is denied.

That's why I thought that it might be useful..

Please tell me how to solve this problem

On Sun, 5 Jul, 2020, 10:02 PM Tor Lillqvist,  wrote:

>
>>
>> This link: https://github.com/dotnet/runtime/issues/15416
>>
>> says that I have to add myself to the list of permissions of
>> C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys folder with Full Control.
>>
>
> Why do you think a five year old message about a problem when building the
> .NET runtime has anything to do with building LibreOffice in 2020?
>
> --tml
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Error in building LibreOffice

2020-07-05 Thread anshu khare
Hi

When I run

 /opt/lo/bin/make gb_COLOR=1

it gives the following error

ALINK: error AL1078: Error signing assembly -- Access is denied.
make[1]: *** [C:/sources/libo-core/solenv/gbuild/CliAssembly.mk:82:
C:/build/workdir/CliAssemblyTarget/cli_basetypes.done] Error 1
make[1]: *** Waiting for unfinished jobs
make: *** [Makefile:282: build] Error 2

This link: https://github.com/dotnet/runtime/issues/15416

says that I have to add myself to the list of permissions of
C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys folder with Full Control.

When I go this path I find that MachineKeys is a system file and editing it
can cause harm to my pc.

Is it the correct solution or there is something else that needs to be
focussed on?

If it is the correct solution, then which permissions do I have to edit the
attached picture?



Warm regards
Anshu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Error in building

2020-07-05 Thread anshu khare
I just saw it on the link given by you..
It somehow didn't appear on the mail..
Thanks Julien :)

On Sun, 5 Jul, 2020, 8:08 PM Mike Kaganski, 
wrote:

> On 05.07.2020 17:30, anshu khare wrote:
> > Could you please tell me the exact command?
>
> The command was already mentioned by Julien
> (
> http://document-foundation-mail-archive.969070.n3.nabble.com/Error-in-building-tp4282620p4282665.html
> ).
>
> Specifically, you wrote this:
>
> > On running make clean, the output is :
> >
> >
> > rm -fr C:/build/test-install
> > make: rm: No such file or directory
> > make: *** [Makefile:177: clean-host] Error 127
>
> ... after which you wrote:
>
> > I tried to build it.. But it's giving the same error
>
> > To be specific the error when i run
> >
> >  /opt/lo/bin/make gb_COLOR=1
> >
> > is
> >
> >
> > C:/sources/libo-core/sal/osl/all/debugbase.cxx: fatal error C1853:
> > 'C:/build/workdir/PrecompiledHeader/nodebug/precompiled_sal.hxx.pch'
> > precompiled header file is from a different version of t
> > he compiler, or the precompiled header is C++ and you are using it from C
> > (or vice versa)
>
> The problem seemed to be using `make clean` literally, not turning
> `make` into `/opt/lo/bin/make` to clean. Since that call failed to find
> `rm`, it naturally hadn't removed nothing, and you re-tried to build in
> the unchanged working tree.
>
> --
> Best regards,
> Mike Kaganski
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Error in building

2020-07-05 Thread anshu khare
Could you please tell me the exact command?

On Sun, 5 Jul, 2020, 6:37 PM Ilmari Lauhakangas, <
ilmari.lauhakan...@libreoffice.org> wrote:

> Yes, it was already discussed, but they used the wrong make for make
> clean. It was my mistake not to give the exact command.
>
> Ilmari
>
> Arnaud Versini kirjoitti 5.7.2020 klo 15.05:
> > Hello,
> >
> > Dix you update Visual Studio recently?
> >
> > After each MSVC update you need to make clean to rebuild pre compiled
> > headers.
> >
> > Le dim. 5 juil. 2020 à 11:17, anshu khare  > <mailto:anshukhar...@gmail.com>> a écrit :
> >
> > To be specific the error when i run
> >
> >   /opt/lo/bin/make gb_COLOR=1
> >
> > is
> >
> >
> > C:/sources/libo-core/sal/osl/all/debugbase.cxx: fatal error C1853:
> > 'C:/build/workdir/PrecompiledHeader/nodebug/precompiled_sal.hxx.pch'
> > precompiled header file is from a different version of t
> > he compiler, or the precompiled header is C++ and you are using it
> > from C (or vice
> > versa)C:/sources/libo-core/sal/osl/all/loadmodulerelative.cxx: fatal
> > error C1853: 'C:/build/workdir/Precompil
> > edHeader/nodebug/precompiled_sal.hxx.pch' precompiled header file is
> > from a different version of the compiler, or the precompiled header
> > is C++ and you are using it from C (or vice versa)C:/so
> > urces/libo-core/sal/osl/all/filepath.cxx: fatal error C1853:
> > 'C:/build/workdir/PrecompiledHeader/nodebug/precompiled_sal.hxx.pch'
> > precompiled header file is from a different version of the com
> > piler, or the precompiled header is C++ and you are using it from C
> > (or vice versa)
> >
> >
> > C:/sources/libo-core/sal/osl/all/compat.cxx: fatal error C1853:
> > 'C:/build/workdir/PrecompiledHeader/nodebug/precompiled_sal.hxx.pch'
> > precompiled header file is from a different version of the
> > compiler, or the precompiled header is C++ and you are using it from
> > C (or vice versa)
> > make[1]: *** [C:/sources/libo-core/solenv/gbuild/LinkTarget.mk:301:
> > C:/build/workdir/CxxObject/sal/osl/all/loadmodulerelative.o] Error 2
> > make[1]: *** Waiting for unfinished jobs
> > make[1]: *** [C:/sources/libo-core/solenv/gbuild/LinkTarget.mk:301:
> > C:/build/workdir/CxxObject/sal/osl/all/compat.o] Error 2
> > make[1]: *** [C:/sources/libo-core/solenv/gbuild/LinkTarget.mk:301:
> > C:/build/workdir/CxxObject/sal/osl/all/debugbase.o] Error 2
> > make[1]: *** [C:/sources/libo-core/solenv/gbuild/LinkTarget.mk:301:
> > C:/build/workdir/CxxObject/sal/osl/all/filepath.o] Error 2
> > make: *** [Makefile:282: build] Error 2
> >
> >
> >
> > On Sun, Jul 5, 2020 at 1:36 PM Ilmari Lauhakangas
> >  > <mailto:ilmari.lauhakan...@libreoffice.org>> wrote:
> >
> > So were the instdir and workdir removed anyway? You can run make
> > now and
> > it builds happily?
> >
> > Ilmari
> >
> > anshu khare kirjoitti 5.7.2020 klo 8.58:
> >  > On running make clean, the output is :
> >  >
> >  >
> >  > rm -fr C:/build/test-install
> >  > make: rm: No such file or directory
> >  > make: *** [Makefile:177: clean-host] Error 127
> >  >
> >  >
> >  >
> >  >
> >  > On Sun, Jul 5, 2020 at 12:54 AM Ilmari Lauhakangas
> >  >  > <mailto:ilmari.lauhakan...@libreoffice.org>
> >  > <mailto:ilmari.lauhakan...@libreoffice.org
> > <mailto:ilmari.lauhakan...@libreoffice.org>>> wrote:
> >  >
> >  > --enable-pch makes it use precompiled headers. The error
> > messages are
> >  > quite clear.
> >  >
> >  > Now you have to run
> >  >
> >  > make clean
> >  >
> >  > and then build again.
> >  >
> >  > Ilmari
> >  >
> >  > anshu khare kirjoitti 4.7.2020 klo 22.20:
> >  >  > I ran autogen.sh as shown below :
> >  >  >
> >  >  >   /cygdrive/c/sourc

Re: Error in building

2020-07-05 Thread anshu khare
To be specific the error when i run

 /opt/lo/bin/make gb_COLOR=1

is


C:/sources/libo-core/sal/osl/all/debugbase.cxx: fatal error C1853:
'C:/build/workdir/PrecompiledHeader/nodebug/precompiled_sal.hxx.pch'
precompiled header file is from a different version of t
he compiler, or the precompiled header is C++ and you are using it from C
(or vice versa)C:/sources/libo-core/sal/osl/all/loadmodulerelative.cxx:
fatal error C1853: 'C:/build/workdir/Precompil
edHeader/nodebug/precompiled_sal.hxx.pch' precompiled header file is from a
different version of the compiler, or the precompiled header is C++ and you
are using it from C (or vice versa)C:/so
urces/libo-core/sal/osl/all/filepath.cxx: fatal error C1853:
'C:/build/workdir/PrecompiledHeader/nodebug/precompiled_sal.hxx.pch'
precompiled header file is from a different version of the com
piler, or the precompiled header is C++ and you are using it from C (or
vice versa)


C:/sources/libo-core/sal/osl/all/compat.cxx: fatal error C1853:
'C:/build/workdir/PrecompiledHeader/nodebug/precompiled_sal.hxx.pch'
precompiled header file is from a different version of the
compiler, or the precompiled header is C++ and you are using it from C (or
vice versa)
make[1]: *** [C:/sources/libo-core/solenv/gbuild/LinkTarget.mk:301:
C:/build/workdir/CxxObject/sal/osl/all/loadmodulerelative.o] Error 2
make[1]: *** Waiting for unfinished jobs
make[1]: *** [C:/sources/libo-core/solenv/gbuild/LinkTarget.mk:301:
C:/build/workdir/CxxObject/sal/osl/all/compat.o] Error 2
make[1]: *** [C:/sources/libo-core/solenv/gbuild/LinkTarget.mk:301:
C:/build/workdir/CxxObject/sal/osl/all/debugbase.o] Error 2
make[1]: *** [C:/sources/libo-core/solenv/gbuild/LinkTarget.mk:301:
C:/build/workdir/CxxObject/sal/osl/all/filepath.o] Error 2
make: *** [Makefile:282: build] Error 2



On Sun, Jul 5, 2020 at 1:36 PM Ilmari Lauhakangas <
ilmari.lauhakan...@libreoffice.org> wrote:

> So were the instdir and workdir removed anyway? You can run make now and
> it builds happily?
>
> Ilmari
>
> anshu khare kirjoitti 5.7.2020 klo 8.58:
> > On running make clean, the output is :
> >
> >
> > rm -fr C:/build/test-install
> > make: rm: No such file or directory
> > make: *** [Makefile:177: clean-host] Error 127
> >
> >
> >
> >
> > On Sun, Jul 5, 2020 at 12:54 AM Ilmari Lauhakangas
> >  > <mailto:ilmari.lauhakan...@libreoffice.org>> wrote:
> >
> > --enable-pch makes it use precompiled headers. The error messages are
> > quite clear.
> >
> > Now you have to run
> >
> > make clean
> >
> > and then build again.
> >
> > Ilmari
> >
> > anshu khare kirjoitti 4.7.2020 klo 22.20:
> >  > I ran autogen.sh as shown below :
> >  >
> >  >   /cygdrive/c/sources/libo-core/autogen.sh
> >  >--with-external-tar=/cygdrive/c/sources/lo-externalsrc
> >  > --with-junit=/cygdrive/c/sources/junit-4.10.jar
> >  > --with-ant-home=/cygdrive/c/sources/apache-ant-1.9.5
> >  >--enable-pch --disable-ccache
> >  >--enable-64-bit
> >  >   --disable-skia
> >  >--with-jdk-home=/cygdrive/c/ProgramFiles/Java/jdk-13.0.2
> >  >
> >  > It gave the following output :
> >  >
> >  > Host Configuration unchanged - avoiding scp2 stamp update
> >  > Language Configuration unchanged - avoiding scp2 stamp update
> >  >
> >
>  
> >  >
> >  > To build, run:
> >  > C:/cygwin64/opt/lo/bin/make
> >  >
> >  > To view some help, run:
> >  > C:/cygwin64/opt/lo/bin/make help
> >  >
> >  >
> >  > Then I ran the following command :
> >  >
> >  > /opt/lo/bin/make gb_COLOR=1
> >  >
> >  > as given in the documentation.
> >  >
> >  > I got the following output :
> >  >
> >  > C:/sources/libo-core/sal/osl/all/filepath.cxx: fatal error C1853:
> >  >
> 'C:/build/workdir/PrecompiledHeader/nodebug/precompiled_sal.hxx.pch'
> >  > precompiled header file is from a different version of th
> >  > e compiler, or the precompiled header is C++ and you are using it
> > from C
> >  > (or vice versa)
> >  > C:/sources/libo-core/sal/osl/all/loadmodulerelative.cxx: fatal
> error
> >  > C1853:
> >  >
> 'C:/build/workdir/PrecompiledHeader/nodebug/precompiled_sal.hxx.pch'
> >  >

Re: Error in building

2020-07-05 Thread anshu khare
I tried to build it.. But it's giving the same error

On Sun, 5 Jul, 2020, 1:36 PM Ilmari Lauhakangas, <
ilmari.lauhakan...@libreoffice.org> wrote:

> So were the instdir and workdir removed anyway? You can run make now and
> it builds happily?
>
> Ilmari
>
> anshu khare kirjoitti 5.7.2020 klo 8.58:
> > On running make clean, the output is :
> >
> >
> > rm -fr C:/build/test-install
> > make: rm: No such file or directory
> > make: *** [Makefile:177: clean-host] Error 127
> >
> >
> >
> >
> > On Sun, Jul 5, 2020 at 12:54 AM Ilmari Lauhakangas
> >  > <mailto:ilmari.lauhakan...@libreoffice.org>> wrote:
> >
> > --enable-pch makes it use precompiled headers. The error messages are
> > quite clear.
> >
> > Now you have to run
> >
> > make clean
> >
> > and then build again.
> >
> > Ilmari
> >
> > anshu khare kirjoitti 4.7.2020 klo 22.20:
> >  > I ran autogen.sh as shown below :
> >  >
> >  >   /cygdrive/c/sources/libo-core/autogen.sh
> >  >--with-external-tar=/cygdrive/c/sources/lo-externalsrc
> >  > --with-junit=/cygdrive/c/sources/junit-4.10.jar
> >  > --with-ant-home=/cygdrive/c/sources/apache-ant-1.9.5
> >  >--enable-pch --disable-ccache
> >  >--enable-64-bit
> >  >   --disable-skia
> >  >--with-jdk-home=/cygdrive/c/ProgramFiles/Java/jdk-13.0.2
> >  >
> >  > It gave the following output :
> >  >
> >  > Host Configuration unchanged - avoiding scp2 stamp update
> >  > Language Configuration unchanged - avoiding scp2 stamp update
> >  >
> >
>  
> >  >
> >  > To build, run:
> >  > C:/cygwin64/opt/lo/bin/make
> >  >
> >  > To view some help, run:
> >  > C:/cygwin64/opt/lo/bin/make help
> >  >
> >  >
> >  > Then I ran the following command :
> >  >
> >  > /opt/lo/bin/make gb_COLOR=1
> >  >
> >  > as given in the documentation.
> >  >
> >  > I got the following output :
> >  >
> >  > C:/sources/libo-core/sal/osl/all/filepath.cxx: fatal error C1853:
> >  >
> 'C:/build/workdir/PrecompiledHeader/nodebug/precompiled_sal.hxx.pch'
> >  > precompiled header file is from a different version of th
> >  > e compiler, or the precompiled header is C++ and you are using it
> > from C
> >  > (or vice versa)
> >  > C:/sources/libo-core/sal/osl/all/loadmodulerelative.cxx: fatal
> error
> >  > C1853:
> >  >
> 'C:/build/workdir/PrecompiledHeader/nodebug/precompiled_sal.hxx.pch'
> >  > precompiled header file is from a different ver
> >  > sion of the compiler, or the precompiled header is C++ and you
> > are using
> >  > it from C (or vice
> > versa)C:/sources/libo-core/sal/osl/all/debugbase.cxx:
> >  > fatal error C1853: 'C:/build/workdir/Precompil
> >  > edHeader/nodebug/precompiled_sal.hxx.pch' precompiled header file
> is
> >  > from a different version of the compiler, or the precompiled
> > header is
> >  > C++ and you are using it from C (or vice versa)
> >  >
> >  > C:/sources/libo-core/sal/osl/all/compat.cxx: fatal error C1853:
> >  >
> 'C:/build/workdir/PrecompiledHeader/nodebug/precompiled_sal.hxx.pch'
> >  > precompiled header file is from a different version of the
> >  > compiler, or the precompiled header is C++ and you are using it
> > from C
> >  > (or vice versa)
> >  > make[1]: ***
> [C:/sources/libo-core/solenv/gbuild/LinkTarget.mk:301:
> >  > C:/build/workdir/CxxObject/sal/osl/all/filepath.o] Error 2
> >  > make[1]: *** Waiting for unfinished jobs
> >  > make[1]: ***
> [C:/sources/libo-core/solenv/gbuild/LinkTarget.mk:301:
> >  > C:/build/workdir/CxxObject/sal/osl/all/loadmodulerelative.o]
> Error 2
> >  > make[1]: ***
> [C:/sources/libo-core/solenv/gbuild/LinkTarget.mk:301:
> >  > C:/build/workdir/CxxObject/sal/osl/all/debugbase.o] Error 2
> >  > make[1]: ***
> [C:/sources/libo-core/solenv/gbuild/LinkTarget.mk:301:
> >  > C:/build/workdir/CxxObject/sal/osl/all/compat.o] Error 2

Re: Error in building

2020-07-04 Thread anshu khare
On running make clean, the output is :


rm -fr C:/build/test-install
make: rm: No such file or directory
make: *** [Makefile:177: clean-host] Error 127




On Sun, Jul 5, 2020 at 12:54 AM Ilmari Lauhakangas <
ilmari.lauhakan...@libreoffice.org> wrote:

> --enable-pch makes it use precompiled headers. The error messages are
> quite clear.
>
> Now you have to run
>
> make clean
>
> and then build again.
>
> Ilmari
>
> anshu khare kirjoitti 4.7.2020 klo 22.20:
> > I ran autogen.sh as shown below :
> >
> >   /cygdrive/c/sources/libo-core/autogen.sh
> >--with-external-tar=/cygdrive/c/sources/lo-externalsrc
> > --with-junit=/cygdrive/c/sources/junit-4.10.jar
> > --with-ant-home=/cygdrive/c/sources/apache-ant-1.9.5
> >--enable-pch --disable-ccache
> >--enable-64-bit
> >   --disable-skia
> >--with-jdk-home=/cygdrive/c/ProgramFiles/Java/jdk-13.0.2
> >
> > It gave the following output :
> >
> > Host Configuration unchanged - avoiding scp2 stamp update
> > Language Configuration unchanged - avoiding scp2 stamp update
> >
> 
> >
> > To build, run:
> > C:/cygwin64/opt/lo/bin/make
> >
> > To view some help, run:
> > C:/cygwin64/opt/lo/bin/make help
> >
> >
> > Then I ran the following command :
> >
> > /opt/lo/bin/make gb_COLOR=1
> >
> > as given in the documentation.
> >
> > I got the following output :
> >
> > C:/sources/libo-core/sal/osl/all/filepath.cxx: fatal error C1853:
> > 'C:/build/workdir/PrecompiledHeader/nodebug/precompiled_sal.hxx.pch'
> > precompiled header file is from a different version of th
> > e compiler, or the precompiled header is C++ and you are using it from C
> > (or vice versa)
> > C:/sources/libo-core/sal/osl/all/loadmodulerelative.cxx: fatal error
> > C1853:
> > 'C:/build/workdir/PrecompiledHeader/nodebug/precompiled_sal.hxx.pch'
> > precompiled header file is from a different ver
> > sion of the compiler, or the precompiled header is C++ and you are using
> > it from C (or vice versa)C:/sources/libo-core/sal/osl/all/debugbase.cxx:
> > fatal error C1853: 'C:/build/workdir/Precompil
> > edHeader/nodebug/precompiled_sal.hxx.pch' precompiled header file is
> > from a different version of the compiler, or the precompiled header is
> > C++ and you are using it from C (or vice versa)
> >
> > C:/sources/libo-core/sal/osl/all/compat.cxx: fatal error C1853:
> > 'C:/build/workdir/PrecompiledHeader/nodebug/precompiled_sal.hxx.pch'
> > precompiled header file is from a different version of the
> > compiler, or the precompiled header is C++ and you are using it from C
> > (or vice versa)
> > make[1]: *** [C:/sources/libo-core/solenv/gbuild/LinkTarget.mk:301:
> > C:/build/workdir/CxxObject/sal/osl/all/filepath.o] Error 2
> > make[1]: *** Waiting for unfinished jobs
> > make[1]: *** [C:/sources/libo-core/solenv/gbuild/LinkTarget.mk:301:
> > C:/build/workdir/CxxObject/sal/osl/all/loadmodulerelative.o] Error 2
> > make[1]: *** [C:/sources/libo-core/solenv/gbuild/LinkTarget.mk:301:
> > C:/build/workdir/CxxObject/sal/osl/all/debugbase.o] Error 2
> > make[1]: *** [C:/sources/libo-core/solenv/gbuild/LinkTarget.mk:301:
> > C:/build/workdir/CxxObject/sal/osl/all/compat.o] Error 2
> > make: *** [Makefile:282: build] Error 2
> >
> >
> > On Sat, Jul 4, 2020 at 11:52 PM Jan-Marek Glogowski  > <mailto:glo...@fbihome.de>> wrote:
> >
> > Am 04.07.20 um 18:16 schrieb anshu khare:
> >  > C:\PROGRA~1\Java\JDK-13~1.2\lib\jawt.lib : warning LNK4272:
> library
> >  > machine type 'x64' conflicts with target machine type 'x86'
> >
> > Quote: "Make sure to get a 32-bit SDK if you are building for 32-bit
> > Windows, and a 64-bit SDK if you are building for 64-bit Windows
> (with
> > --enable-64-bit).
> >
> > You can use --with-jdk-home=/cygdrive/c/Program
> Files/Java/jdk-14.0.1 to
> > select the correct one.
> >
> >
> > ___
> > LibreOffice mailing list
> > LibreOffice@lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/libreoffice
> >
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Error in building

2020-07-04 Thread anshu khare
I ran autogen.sh as shown below :

 /cygdrive/c/sources/libo-core/autogen.sh
  --with-external-tar=/cygdrive/c/sources/lo-externalsrc
   --with-junit=/cygdrive/c/sources/junit-4.10.jar
   --with-ant-home=/cygdrive/c/sources/apache-ant-1.9.5
  --enable-pch --disable-ccache
  --enable-64-bit
 --disable-skia
  --with-jdk-home=/cygdrive/c/ProgramFiles/Java/jdk-13.0.2

It gave the following output :

Host Configuration unchanged - avoiding scp2 stamp update
Language Configuration unchanged - avoiding scp2 stamp update


To build, run:
C:/cygwin64/opt/lo/bin/make

To view some help, run:
C:/cygwin64/opt/lo/bin/make help


Then I ran the following command :

/opt/lo/bin/make gb_COLOR=1

as given in the documentation.

I got the following output :

C:/sources/libo-core/sal/osl/all/filepath.cxx: fatal error C1853:
'C:/build/workdir/PrecompiledHeader/nodebug/precompiled_sal.hxx.pch'
precompiled header file is from a different version of th
e compiler, or the precompiled header is C++ and you are using it from C
(or vice versa)
C:/sources/libo-core/sal/osl/all/loadmodulerelative.cxx: fatal error C1853:
'C:/build/workdir/PrecompiledHeader/nodebug/precompiled_sal.hxx.pch'
precompiled header file is from a different ver
sion of the compiler, or the precompiled header is C++ and you are using it
from C (or vice versa)C:/sources/libo-core/sal/osl/all/debugbase.cxx: fatal
error C1853: 'C:/build/workdir/Precompil
edHeader/nodebug/precompiled_sal.hxx.pch' precompiled header file is from a
different version of the compiler, or the precompiled header is C++ and you
are using it from C (or vice versa)

C:/sources/libo-core/sal/osl/all/compat.cxx: fatal error C1853:
'C:/build/workdir/PrecompiledHeader/nodebug/precompiled_sal.hxx.pch'
precompiled header file is from a different version of the
compiler, or the precompiled header is C++ and you are using it from C (or
vice versa)
make[1]: *** [C:/sources/libo-core/solenv/gbuild/LinkTarget.mk:301:
C:/build/workdir/CxxObject/sal/osl/all/filepath.o] Error 2
make[1]: *** Waiting for unfinished jobs
make[1]: *** [C:/sources/libo-core/solenv/gbuild/LinkTarget.mk:301:
C:/build/workdir/CxxObject/sal/osl/all/loadmodulerelative.o] Error 2
make[1]: *** [C:/sources/libo-core/solenv/gbuild/LinkTarget.mk:301:
C:/build/workdir/CxxObject/sal/osl/all/debugbase.o] Error 2
make[1]: *** [C:/sources/libo-core/solenv/gbuild/LinkTarget.mk:301:
C:/build/workdir/CxxObject/sal/osl/all/compat.o] Error 2
make: *** [Makefile:282: build] Error 2


On Sat, Jul 4, 2020 at 11:52 PM Jan-Marek Glogowski 
wrote:

> Am 04.07.20 um 18:16 schrieb anshu khare:
> > C:\PROGRA~1\Java\JDK-13~1.2\lib\jawt.lib : warning LNK4272: library
> > machine type 'x64' conflicts with target machine type 'x86'
>
> Quote: "Make sure to get a 32-bit SDK if you are building for 32-bit
> Windows, and a 64-bit SDK if you are building for 64-bit Windows (with
> --enable-64-bit).
>
> You can use --with-jdk-home=/cygdrive/c/Program Files/Java/jdk-14.0.1 to
> select the correct one.
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Error in building

2020-07-04 Thread anshu khare
Hi

When I run :

/opt/lo/bin/make gb_COLOR=1

in Cygwin shell, it gives the following error:

com_sun_star_comp_beans_LocalOfficeWindow.o : error LNK2019: unresolved
external symbol __imp__JAWT_GetAWT@8 referenced in function
_Java_com_sun_star_comp_beans_LocalOfficeWindow_getNativeWin
dow@8
C:\PROGRA~1\Java\JDK-13~1.2\lib\jawt.lib : warning LNK4272: library machine
type 'x64' conflicts with target machine type 'x86'
C:\build\instdir\program\officebean.dll : fatal error LNK1120: 1 unresolved
externals

mt.exe : general error c101008d: Failed to write the updated manifest to
the resource of file "C:/build/instdir/program/officebean.dll". The system
cannot find the file specified.
make[1]: *** [C:/sources/libo-core/bean/Library_officebean.mk:12:
C:/build/instdir/program/officebean.dll] Error 96
make[1]: *** Waiting for unfinished jobs
make: *** [Makefile:282: build] Error 130


Please help me through this.

Warm regards
Anshu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Error in Building Libreoffice

2020-07-04 Thread anshu khare
Thanks a lot... I figured it out..  I had to update Microsoft Visual Studio
to include .NET desktop development and. NET Core cross-platform
development.

On Sat, 4 Jul, 2020, 3:12 PM Jan-Marek Glogowski,  wrote:

> Please keep the list as CC, so others can follow the conversation and
> reply.
>
> Am 04.07.20 um 10:55 schrieb anshu khare:
> > I followed this documentation
> > https://wiki.documentfoundation.org/Development/BuildingOnWindows
> >
> > On running
> >
> >  /cygdrive/c/sources/libo-core/autogen.sh \
> >--with-external-tar=/cygdrive/c/sources/lo-externalsrc \
> >--with-junit=/cygdrive/c/sources/junit-4.10.jar \
> >--with-ant-home=/cygdrive/c/sources/apache-ant-1.9.5 \
> >
> > --enable-pch --disable-ccache \
> > in the Cygwin shell, I get the following error:
> >
> > checking for al.exe... configure: error: al.exe not found as /al.exe
> > Error running configure at /cygdrive/c/sources/libo-core/autogen.sh line
> > 299.
>
> Please re-check the installed MSVS 2019 components listed in the
> article. al.exe is supposed to be part of the ".NET Framework SDK",
> which should always be installed AFAIK. LO supports v4.6 to v4.8, which
> seems to include all versions installable by the MSVS installer.
>
> If the ".NET Framework SDK" is installed, I suggest to ask on IRC for
> further help debugging the problem. I guess analyzing this case will
> become much more complicated.
>
> Jan-Marek
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Error in Building Libreoffice

2020-07-03 Thread anshu khare
Hi

I was following this link to build Libreoffice on Windows -
https://blog.documentfoundation.org/blog/2019/07/09/start-developing-libreoffice-download-the-source-code-and-build-on-windows/

On running ./autogen.sh in the Cygwin shell, I am getting the following
error:

checking for al.exe... configure: error: al.exe not found as /al.exe
Error running configure at ./autogen.sh line 299.


I would be grateful if someone can help me with this.

Warm Regards
Anshu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Problems in building libre-office

2020-01-30 Thread anshu khare
Hi everyone,

There are some issues with my pc. It can run continually for only 2-3
hours. After that it shuts down on its own.

I was trying to build libre-office on my pc.
It ran for 3 hours and then it switched off.
At that time make 2>&1 command was running.

The last lines before shutting off pc on cygwin were as follows :
[build C] UnpackedTarball/expect/lib/xmlrole_x64.c
c1 : command line warning D9025 : overriding '/D_X86_=1' with '/U_X86_'

[build MOD] glm
c1 : command line warning D9025 : overriding '/D_X86_=1' with '/U_X86_'
[build MOD] mdds

After the pc restarted I ran make 2>&1 command again.
It gave the following error:
make[1] = ***Waiting for unfinished jobs...
make : *** [Makefile : 282 : build] Error 2

I have spend a lot of time building libre-office upto this stage and am not
willing to rerun the whole process again.
Is there a way out?

Anshu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Missing _sysconfigdata_m_linux_i686-linux-gnu.py

2020-01-27 Thread anshu khare
I am getting the same error when I am trying to build libre-office on
Windows.


On Tue, 28 Jan, 2020, 9:49 AM dreamn...@gmail.com, 
wrote:

> I'm having troubles to compile LibreOffice 6.4.0.3
>
> First I ran into the issue "_uuid.cpython-3.7m.so does not exist in the
> tarball", which I was able to solve by downloading the modified file
> "ExternalPackage_python3.mk", as pointed at
>
> https://lists.freedesktop.org/archives/libreoffice/2020-January/084142.html
>
> However, I ran into another Python issue:
>
> /home/linux/libreoffice-6.4.0.3/external/python3/ExternalPackage_python3.mk:42:
> *** file
> /home/linux/libreoffice-6.4.0.3/workdir/UnpackedTarball/python3/LO_lib/_sysconfigdata_m_linux_i686-linux-gnu.py
> does not exist in the tarball.  Stop.
> make[1]: *** Waiting for unfinished jobs
> Makefile:282: recipe for target 'build' failed
> make: *** [build] Error 2
>
> How could it be solved? (Yes, I'm trying to build Linux 32-bit binaries)...
>
>
>
>
>
>
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Gsoc 2020

2020-01-26 Thread anshu khare
::iterator. To fix this warning,
stop deriving from std::iterator and start providing publicly accessible
typedefs named iterator_category, value_type, difference_type, pointer, and
reference. Note that value_type is required to be non-const, even for
constant iterators. You can define
_SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or
_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have
received this warning.
C:/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/Tools/MSVC/1424~1.283/Include\xutility(5101):
note: see declaration of
'std::iterator,int,std::pair
*,std::pair
&>::difference_type'
C:/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/Tools/MSVC/1424~1.283/Include\xutility(977):
warning C4996:
'std::iterator,int,std::pair
*,std::pair
&>::pointer': warning STL4015: The std::iterator class template (used as a
base class to provide typedefs) is deprecated in C++17. (The 
header is NOT deprecated.) The C++ Standard has never required user-defined
iterators to derive from std::iterator. To fix this warning, stop deriving
from std::iterator and start providing publicly accessible typedefs named
iterator_category, value_type, difference_type, pointer, and reference.
Note that value_type is required to be non-const, even for constant
iterators. You can define
_SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or
_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have
received this warning.
C:/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/Tools/MSVC/1424~1.283/Include\xutility(5102):
note: see declaration of
'std::iterator,int,std::pair
*,std::pair
&>::pointer'
C:/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/Tools/MSVC/1424~1.283/Include\xutility(978):
warning C4996:
'std::iterator,int,std::pair
*,std::pair
&>::reference': warning STL4015: The std::iterator class template (used as
a base class to provide typedefs) is deprecated in C++17. (The 
header is NOT deprecated.) The C++ Standard has never required user-defined
iterators to derive from std::iterator. To fix this warning, stop deriving
from std::iterator and start providing publicly accessible typedefs named
iterator_category, value_type, difference_type, pointer, and reference.
Note that value_type is required to be non-const, even for constant
iterators. You can define
_SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or
_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have
received this warning.
C:/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/Tools/MSVC/1424~1.283/Include\xutility(5103):
note: see declaration of
'std::iterator,int,std::pair
*,std::pair
&>::reference'
make: *** [Makefile:282: build] Error 2


On Sun, Jan 26, 2020 at 10:48 PM Ilmari Lauhakangas <
ilmari.lauhakan...@libreoffice.org> wrote:

> You could try
> --with-jdk-home=/cygdrive/c/Program Files/Java/jdk-13.0.1
>
> or if you have no use for Java, you could also simply use
>
> --without-java
>
> Ilmari
>
> anshu khare kirjoitti 26.1.2020 klo 19.05:
> > My path for JDK is C:/Program Files/Java/jdk-13.0.1/bin/javac.exe
> >
> > I am sure on how should I write this path on cygwin shell.
> > Could you please help me with it?
> >
> >
> > On Sun, 26 Jan, 2020, 9:50 PM Ilmari Lauhakangas,
> >  > <mailto:ilmari.lauhakan...@libreoffice.org>> wrote:
> >
> > You forgot to give a path with --with-jdk-home, so it is tripping on
> > the
> > emptiness.
> >
> > Ilmari
> >
> > anshu khare kirjoitti 26.1.2020 klo 17.19:
> >  > When I run  ./autogen.sh --with-visual-studio=2019
> > --with-jdk-home , it
> >  > gives following output
> >  >
> >  >
> 
> >  > *
> >  > *   Using commandline arguments and ignoring autogen.input!
> >  > *
> >  >
> 
> >  > Running ./configure with '--with-visual-studio=2019
> --with-jdk-home
> >  > --srcdir=/home/hp/lode/dev/core --enable-option-checking=fatal'
> >  >
> 
> >  > *
> >  > *   Running LibreOffice build configuration.
> >  > *
> >  >
> 
> >  >
> >  > checking build system type... x86_64-pc-cygwin
> >  > checking host system type... x86_64-pc-cygwin
> >  > checking for product name... LibreOfficeDev
> >  > checking for package version... 7.0.0.0.alpha0+
> >  > checking for product version... 7.0
> >  > checking for grep that handles long 

Re: Gsoc 2020

2020-01-26 Thread anshu khare
My path for JDK is C:/Program Files/Java/jdk-13.0.1/bin/javac.exe

I am sure on how should I write this path on cygwin shell.
Could you please help me with it?


On Sun, 26 Jan, 2020, 9:50 PM Ilmari Lauhakangas, <
ilmari.lauhakan...@libreoffice.org> wrote:

> You forgot to give a path with --with-jdk-home, so it is tripping on the
> emptiness.
>
> Ilmari
>
> anshu khare kirjoitti 26.1.2020 klo 17.19:
> > When I run  ./autogen.sh --with-visual-studio=2019 --with-jdk-home , it
> > gives following output
> >
> > 
> > *
> > *   Using commandline arguments and ignoring autogen.input!
> > *
> > 
> > Running ./configure with '--with-visual-studio=2019 --with-jdk-home
> > --srcdir=/home/hp/lode/dev/core --enable-option-checking=fatal'
> > 
> > *
> > *   Running LibreOffice build configuration.
> > *
> > 
> >
> > checking build system type... x86_64-pc-cygwin
> > checking host system type... x86_64-pc-cygwin
> > checking for product name... LibreOfficeDev
> > checking for package version... 7.0.0.0.alpha0+
> > checking for product version... 7.0
> > checking for grep that handles long lines and -e... /usr/bin/grep
> > checking for egrep... /usr/bin/grep -E
> > checking for grep... (cached) /usr/bin/grep
> > checking for GNU Make... /usr/bin/make
> > checking for explicit COMSPEC... found: C:\Windows\system32\cmd.exe
> > checking for sed... /usr/bin/sed
> > checking whether to use link-time optimization... no
> > checking for explicit AFLAGS... no
> > checking for explicit CFLAGS... no
> > checking for explicit CXXFLAGS... no
> > checking for explicit OBJCFLAGS... no
> > checking for explicit OBJCXXFLAGS... no
> > checking for explicit LDFLAGS... no
> > checking whether build target is Release Build... no
> > checking whether to sign windows build... no
> > checking for gawk... gawk
> > checking for gawk... /usr/bin/gawk
> > checking for bash... /bin/sh
> > checking for GNU or BSD tar... tar
> > checking for tar's option to strip components... --strip-components
> > checking how to build and package galleries... internal src images for
> > desktop
> > checking whether to build with Java support... yes
> > checking whether to treat the installation as read-only... no
> > checking whether to build a 64-bit LibreOffice... no
> > checking Visual C++... C:/PROGRA~2/MICROS~2/2019/COMMUN~1/VC
> > checking for short pathname of VC product directory...
> > /cygdrive/c/PROGRA~2/MICROS~2/2019/COMMUN~1/VC
> > checking for UCRT location... found
> > checking for MSBuild.exe location for: 16.0...
> > /cygdrive/c/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/../MSBuild/Current/Bin
> > checking cl.exe... found Visual C++ 2019
> >
> (/cygdrive/c/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x86/cl.exe)
> > checking cl.exe is at least Visual Studio 2017 version 15.7... yes
> > checking for a x64 compiler and libraries for 64-bit Explorer
> > extensions... found
> > checking whether the compiler is actually Clang... no
> > checking the dependency generation prefix (cl.exe -showIncludes)...
> > "Note: including file:"
> > checking whether to build with additional debug utilities... no
> > checking whether to do a debug build... no
> > checking whether to generate debug information... no
> > checking whether to compile with optimization flags... yes
> > checking which package format to use... none
> > checking syslog.h usability... no
> > checking syslog.h presence... no
> > checking for syslog.h... no
> > checking whether to turn warnings to errors... no
> > checking whether to have assert() failures abort even without
> > --enable-debug... no
> > checking whether to enable CUPS support... no
> > checking whether we want to fetch tarballs... yes, if we use them
> > checking whether to build help... no
> > checking whether to enable xapian-omega support for help... no
> > checking whether to include MySpell dictionaries... no
> > checking whether to use dicts from external paths... no
> > checking whether to enable pch feature... yes (full)
> > checking whether
> >
> /cygdrive/c/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x86/cl.exe
>
> > -arch:SSE supports -Xclang -building-pch-with-obj... no
>

Re: Gsoc 2020

2020-01-26 Thread anshu khare
_cplusplus)
checking whether cl.exe supports C++11 without Language Defect 757... yes
checking whether cl.exe supports guaranteed copy elision... yes
checking whether cl.exe supports C++2a constinit sorted vectors... no
checking whether cl.exe supports C++2a  with unsigned size_type... no
checking whether cl.exe implements C++ DR P1155R3... yes
checking whether
/cygdrive/c/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x86/cl.exe
-arch:SSE can compile SSE2 intrinsics... yes
checking whether
/cygdrive/c/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x86/cl.exe
-arch:SSE can compile SSSE3 intrinsics... yes
checking whether
/cygdrive/c/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x86/cl.exe
-arch:SSE can compile SSE4.1 intrinsics... yes
checking whether
/cygdrive/c/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x86/cl.exe
-arch:SSE can compile SSE4.2 intrinsics... yes
checking whether
/cygdrive/c/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x86/cl.exe
-arch:SSE can compile AVX intrinsics... yes
checking whether
/cygdrive/c/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x86/cl.exe
-arch:SSE can compile AVX2 intrinsics... yes
checking whether
/cygdrive/c/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x86/cl.exe
-arch:SSE can compile F16C intrinsics... yes
checking whether
/cygdrive/c/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x86/cl.exe
-arch:SSE can compile FMA intrinsics... yes
checking for posix_fallocate... no
checking whether to add custom build version... no
checking for MSVC x64 DLL path...
/cygdrive/c/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/redist/MSVC/14.24.28127/x64/Microsoft.VC142.CRT
checking for MSVC x64 DLLs... found all (msvcp140.dll vcruntime140.dll)
checking for MSVC merge modules directory... configure: WARNING: not found
(check config.log)
cygpath: can't convert empty path
cygpath: can't convert empty path
configure: error: yes/bin/java not found, pass --with-jdk-home
Error running configure at ./autogen.sh line 292.



On Sun, 26 Jan, 2020, 6:54 PM Ilmari Lauhakangas, <
ilmari.lauhakan...@libreoffice.org> wrote:

> You forgot --with-visual-studio=2019
>
> Ilmari
>
> anshu khare kirjoitti 26.1.2020 klo 15.05:
> > Hi sir,
> > I was finally able to run ./setup --dev --force  and it worked.
> > But now when I go to dev/core repository and run ./autogen.sh it  is
> > giving the following output.
> >
> > Running ./configure with '--enable-debug --srcdir=/home/hp/lode/dev/core
> > --enable-option-checking=fatal'
> > 
> > *
> > *   Running LibreOffice build configuration.
> > *
> > 
> >
> > checking build system type... x86_64-pc-cygwin
> > checking host system type... x86_64-pc-cygwin
> > checking for product name... LibreOfficeDev
> > checking for package version... 7.0.0.0.alpha0+
> > checking for product version... 7.0
> > checking for grep that handles long lines and -e... /usr/bin/grep
> > checking for egrep... /usr/bin/grep -E
> > checking for grep... (cached) /usr/bin/grep
> > checking for GNU Make... /usr/bin/make
> > checking for explicit COMSPEC... found: C:\Windows\system32\cmd.exe
> > checking for sed... /usr/bin/sed
> > checking whether to use link-time optimization... no
> > checking for explicit AFLAGS... no
> > checking for explicit CFLAGS... no
> > checking for explicit CXXFLAGS... no
> > checking for explicit OBJCFLAGS... no
> > checking for explicit OBJCXXFLAGS... no
> > checking for explicit LDFLAGS... no
> > checking whether build target is Release Build... no
> > checking whether to sign windows build... no
> > checking for gawk... gawk
> > checking for gawk... /usr/bin/gawk
> > checking for bash... /bin/sh
> > checking for GNU or BSD tar... tar
> > checking for tar's option to strip components... --strip-components
> > checking how to build and package galleries... internal src images for
> > desktop
> > checking whether to build with Java support... yes
> > checking whether to treat the installation as read-only... no
> > checking whether to build a 64-bit LibreOffice... no
> > checking Visual C++... checking VC++ Build Tools and similar...
> > configure: error: no Visual Studio 2017 installation found
> > Error running configure at ./autogen.sh line 292.
> >
> > I have Visual Studio 19 installed on my system and its path
> > is C:\ProgramData\Microsoft\Windows\Start Menu\Programs.
> >
> > Regards
> > Anshu Khare
&g

Re: Gsoc 2020

2020-01-26 Thread anshu khare
Hi sir,
I was finally able to run ./setup --dev --force  and it worked.
But now when I go to dev/core repository and run ./autogen.sh it  is giving
the following output.

Running ./configure with '--enable-debug --srcdir=/home/hp/lode/dev/core
--enable-option-checking=fatal'

*
*   Running LibreOffice build configuration.
*


checking build system type... x86_64-pc-cygwin
checking host system type... x86_64-pc-cygwin
checking for product name... LibreOfficeDev
checking for package version... 7.0.0.0.alpha0+
checking for product version... 7.0
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for grep... (cached) /usr/bin/grep
checking for GNU Make... /usr/bin/make
checking for explicit COMSPEC... found: C:\Windows\system32\cmd.exe
checking for sed... /usr/bin/sed
checking whether to use link-time optimization... no
checking for explicit AFLAGS... no
checking for explicit CFLAGS... no
checking for explicit CXXFLAGS... no
checking for explicit OBJCFLAGS... no
checking for explicit OBJCXXFLAGS... no
checking for explicit LDFLAGS... no
checking whether build target is Release Build... no
checking whether to sign windows build... no
checking for gawk... gawk
checking for gawk... /usr/bin/gawk
checking for bash... /bin/sh
checking for GNU or BSD tar... tar
checking for tar's option to strip components... --strip-components
checking how to build and package galleries... internal src images for
desktop
checking whether to build with Java support... yes
checking whether to treat the installation as read-only... no
checking whether to build a 64-bit LibreOffice... no
checking Visual C++... checking VC++ Build Tools and similar... configure:
error: no Visual Studio 2017 installation found
Error running configure at ./autogen.sh line 292.

I have Visual Studio 19 installed on my system and its path
is C:\ProgramData\Microsoft\Windows\Start Menu\Programs.

Regards
Anshu Khare


On Sun, 26 Jan, 2020, 1:26 AM Ilmari Lauhakangas, <
ilmari.lauhakan...@libreoffice.org> wrote:

> For what it's worth, I am able to access
> http://archive.apache.org/dist/ant/binaries/apache-ant-1.9.4-bin.zip
> just fine.
>
> Ilmari
>
> anshu khare kirjoitti 25.1.2020 klo 16.55:
> > Hi sir,
> >
> > I executed the whole process again.
> > But it's again giving the same error.
> >
> > Regards
> > Anshu
> >
> > On Sat, 25 Jan, 2020, 7:08 PM Mark Hung,  > <mailto:mark...@gmail.com>> wrote:
> >
> > Hi anshu khare,
> >
> > You should proceed only after you successfully completes setup. Http
> > 500 means server side error. Try to run setup again.
> >
> >
> > anshu khare mailto:anshukhar...@gmail.com>>
> > 於 2020年1月25日 週六 21:01 寫道:
> >
> > Hi mentors
> >
> > I am Anshu and I want to contribute to this organization. I was
> > trying to build libre-office on windows. When I ran ./setup I
> > got the output as follows :
> >
> > Check directory 'packages' ... : Created
> > Check directory 'opt' ... : Created
> > Check directory 'ext_tar' ... : Created
> > Check directory 'adm' ... : Created
> > Check directory 'tb' ... : Created
> > Cloning into 'buildbot'...
> > Cloned /home/hp/lode/adm/buildbot
> > Check directory '/home/hp/lode/opt/bin' ... : Created
> > --2020-01-25 14:32:45--
> > http://dev-www.libreoffice.org/bin/cygwin/make-4.2.1-msvc.exe
> > Resolving dev-www.libreoffice.org
> > <http://dev-www.libreoffice.org> (dev-www.libreoffice.org
> > <http://dev-www.libreoffice.org>)... 89.238.68.201,
> > 2a00:1828:a012:201::1
> > Connecting to dev-www.libreoffice.org
> > <http://dev-www.libreoffice.org> (dev-www.libreoffice.org
> > <http://dev-www.libreoffice.org>)|89.238.68.201|:80...
> connected.
> > HTTP request sent, awaiting response... 301 Moved Permanently
> > Location:
> > https://dev-www.libreoffice.org/bin/cygwin/make-4.2.1-msvc.exe
> > [following]
> > --2020-01-25 14:32:46--
> > https://dev-www.libreoffice.org/bin/cygwin/make-4.2.1-msvc.exe
> > Connecting to dev-www.libreoffice.org
> > <http://dev-www.libreoffice.org> (dev-www.libreoffice.org
> > <http://dev-www.libreoffice.org>)|89.238.68.201|:443...

Re: Gsoc 2020

2020-01-25 Thread anshu khare
Hi sir,

I executed the whole process again.
But it's again giving the same error.

Regards
Anshu

On Sat, 25 Jan, 2020, 7:08 PM Mark Hung,  wrote:

> Hi anshu khare,
>
> You should proceed only after you successfully completes setup. Http 500
> means server side error. Try to run setup again.
>
>
> anshu khare  於 2020年1月25日 週六 21:01 寫道:
>
>> Hi mentors
>>
>> I am Anshu and I want to contribute to this organization. I was trying to
>> build libre-office on windows. When I ran ./setup I got the output as
>> follows :
>>
>> Check directory 'packages' ... : Created
>> Check directory 'opt' ... : Created
>> Check directory 'ext_tar' ... : Created
>> Check directory 'adm' ... : Created
>> Check directory 'tb' ... : Created
>> Cloning into 'buildbot'...
>> Cloned /home/hp/lode/adm/buildbot
>> Check directory '/home/hp/lode/opt/bin' ... : Created
>> --2020-01-25 14:32:45--
>> http://dev-www.libreoffice.org/bin/cygwin/make-4.2.1-msvc.exe
>> Resolving dev-www.libreoffice.org (dev-www.libreoffice.org)...
>> 89.238.68.201, 2a00:1828:a012:201::1
>> Connecting to dev-www.libreoffice.org 
>> (dev-www.libreoffice.org)|89.238.68.201|:80...
>> connected.
>> HTTP request sent, awaiting response... 301 Moved Permanently
>> Location: https://dev-www.libreoffice.org/bin/cygwin/make-4.2.1-msvc.exe
>> [following]
>> --2020-01-25 14:32:46--
>> https://dev-www.libreoffice.org/bin/cygwin/make-4.2.1-msvc.exe
>> Connecting to dev-www.libreoffice.org 
>> (dev-www.libreoffice.org)|89.238.68.201|:443...
>> connected.
>> HTTP request sent, awaiting response... 200 OK
>> Length: 291328 (284K) [application/octet-stream]
>> Saving to: ‘make-4.2.1-msvc.exe’
>>
>>  0K .. .. .. .. .. 17%  308K
>> 1s
>> 50K .. .. .. .. .. 35%  294K
>> 1s
>>100K .. .. .. .. .. 52% 2.12M
>> 0s
>>150K .. .. .. .. .. 70%  432K
>> 0s
>>200K .. .. .. .. .. 87% 1.36M
>> 0s
>>250K .. .. ..  100%
>> 3.37M=0.5s
>>
>> 2020-01-25 14:32:48 (550 KB/s) - ‘make-4.2.1-msvc.exe’ saved
>> [291328/291328]
>>
>> --2020-01-25 14:32:48--
>> http://archive.apache.org/dist/ant/binaries/apache-ant-1.9.4-bin.zip
>> Resolving archive.apache.org (archive.apache.org)... 163.172.17.199
>> Connecting to archive.apache.org (archive.apache.org)|163.172.17.199|:80...
>> connected.
>> HTTP request sent, awaiting response... 500 Operation not permitted
>> 2020-01-25 14:32:48 ERROR 500: Operation not permitted.
>>
>> /home/hp/lode/bin/utils.sh: line 120: module: parameter null or not set
>>
>> After this when I run cd dev/core, it says no such file exists.
>> Could you please help me with it?
>>
>> Regards
>> Anshu
>> ___
>> LibreOffice mailing list
>> LibreOffice@lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/libreoffice
>>
>>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Gsoc 2020

2020-01-25 Thread anshu khare
Hi mentors

I am Anshu and I want to contribute to this organization. I was trying to
build libre-office on windows. When I ran ./setup I got the output as
follows :

Check directory 'packages' ... : Created
Check directory 'opt' ... : Created
Check directory 'ext_tar' ... : Created
Check directory 'adm' ... : Created
Check directory 'tb' ... : Created
Cloning into 'buildbot'...
Cloned /home/hp/lode/adm/buildbot
Check directory '/home/hp/lode/opt/bin' ... : Created
--2020-01-25 14:32:45--
http://dev-www.libreoffice.org/bin/cygwin/make-4.2.1-msvc.exe
Resolving dev-www.libreoffice.org (dev-www.libreoffice.org)...
89.238.68.201, 2a00:1828:a012:201::1
Connecting to dev-www.libreoffice.org
(dev-www.libreoffice.org)|89.238.68.201|:80...
connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://dev-www.libreoffice.org/bin/cygwin/make-4.2.1-msvc.exe
[following]
--2020-01-25 14:32:46--
https://dev-www.libreoffice.org/bin/cygwin/make-4.2.1-msvc.exe
Connecting to dev-www.libreoffice.org
(dev-www.libreoffice.org)|89.238.68.201|:443...
connected.
HTTP request sent, awaiting response... 200 OK
Length: 291328 (284K) [application/octet-stream]
Saving to: ‘make-4.2.1-msvc.exe’

 0K .. .. .. .. .. 17%  308K 1s
50K .. .. .. .. .. 35%  294K 1s
   100K .. .. .. .. .. 52% 2.12M 0s
   150K .. .. .. .. .. 70%  432K 0s
   200K .. .. .. .. .. 87% 1.36M 0s
   250K .. .. ..  100%
3.37M=0.5s

2020-01-25 14:32:48 (550 KB/s) - ‘make-4.2.1-msvc.exe’ saved [291328/291328]

--2020-01-25 14:32:48--
http://archive.apache.org/dist/ant/binaries/apache-ant-1.9.4-bin.zip
Resolving archive.apache.org (archive.apache.org)... 163.172.17.199
Connecting to archive.apache.org (archive.apache.org)|163.172.17.199|:80...
connected.
HTTP request sent, awaiting response... 500 Operation not permitted
2020-01-25 14:32:48 ERROR 500: Operation not permitted.

/home/hp/lode/bin/utils.sh: line 120: module: parameter null or not set

After this when I run cd dev/core, it says no such file exists.
Could you please help me with it?

Regards
Anshu
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Contribution to the organization

2020-01-23 Thread anshu khare
Yes I checked that yesterday.
Now I am running on cygwin shell and it's giving the error as file not
found for dev/core.

On Fri, 24 Jan, 2020, 8:52 AM Mark Hung,  wrote:

> Hi anshu khare,
>
> You were using Powershell to run that command. Wiki said after
> install_cygwin.ps1 completes you should run C:\cygwin\Cygwin.bat
> to launch a cygwin command window prompt. All the rest of the instructions
> should be done under cygwin.
>
> anshu khare  於 2020年1月24日 週五 上午10:43寫道:
>
>> When I run cd dev/core it gives the output : no such file or directory
>>
>> On Fri, 24 Jan, 2020, 7:51 AM anshu khare, 
>> wrote:
>>
>>>
>>> On Fri, 24 Jan, 2020, 7:44 AM anshu khare, 
>>> wrote:
>>>
>>>> Sorry for sending the screen shot in another mail. It cannot be added
>>>> in the same mail as it exceeded the size limit.
>>>>
>>>>
>>>> On Fri, 24 Jan, 2020, 7:40 AM anshu khare, 
>>>> wrote:
>>>>
>>>>> I  have Visual Studio 19 and JDK 13 installed on windows. I cloned
>>>>> lode git repo in cygwin shell. I changed my directory to lode and ran
>>>>> ./setup which executed fine.
>>>>>
>>>>> Then I added environment variables to  .bashrc file.
>>>>>
>>>>> Now I am trying to setup dev build environment by running  ./setup
>>>>> --dev -- force in the lode directory but it's not giving appropriate
>>>>> results.
>>>>>
>>>>> I am following this documentation :
>>>>> http://wiki.documentfoundation.org/Development/lode
>>>>>
>>>>>
>>>>> On Wed, 22 Jan, 2020, 6:16 PM Anshu,  wrote:
>>>>>
>>>>>> Hi mentors,
>>>>>>
>>>>>>
>>>>>>
>>>>>> I am Anshu. I am new to this organization. I am willing to take part
>>>>>> in Gsoc 2020 and I want to contribute to this organization.
>>>>>>
>>>>>> I was trying to build Libre-Office by following its documentation but
>>>>>> got stuck at a point( I have Visual Studio 17 and JDK 13 installed on my
>>>>>> system).
>>>>>>
>>>>>> I am attaching the screenshot where I got stuck.
>>>>>>
>>>>>> Could you please help me with it?
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Regards
>>>>>>
>>>>>> Anshu
>>>>>>
>>>>>> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
>>>>>> Windows 10
>>>>>>
>>>>>>
>>>>>>
>>>>> ___
>> LibreOffice mailing list
>> LibreOffice@lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/libreoffice
>>
>
>
> --
> Mark Hung
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Contribution to the organization

2020-01-23 Thread anshu khare
When I run cd dev/core it gives the output : no such file or directory

On Fri, 24 Jan, 2020, 7:51 AM anshu khare,  wrote:

>
> On Fri, 24 Jan, 2020, 7:44 AM anshu khare, 
> wrote:
>
>> Sorry for sending the screen shot in another mail. It cannot be added in
>> the same mail as it exceeded the size limit.
>>
>>
>> On Fri, 24 Jan, 2020, 7:40 AM anshu khare, 
>> wrote:
>>
>>> I  have Visual Studio 19 and JDK 13 installed on windows. I cloned lode
>>> git repo in cygwin shell. I changed my directory to lode and ran  ./setup
>>> which executed fine.
>>>
>>> Then I added environment variables to  .bashrc file.
>>>
>>> Now I am trying to setup dev build environment by running  ./setup --dev
>>> -- force in the lode directory but it's not giving appropriate results.
>>>
>>> I am following this documentation :
>>> http://wiki.documentfoundation.org/Development/lode
>>>
>>>
>>> On Wed, 22 Jan, 2020, 6:16 PM Anshu,  wrote:
>>>
>>>> Hi mentors,
>>>>
>>>>
>>>>
>>>> I am Anshu. I am new to this organization. I am willing to take part in
>>>> Gsoc 2020 and I want to contribute to this organization.
>>>>
>>>> I was trying to build Libre-Office by following its documentation but
>>>> got stuck at a point( I have Visual Studio 17 and JDK 13 installed on my
>>>> system).
>>>>
>>>> I am attaching the screenshot where I got stuck.
>>>>
>>>> Could you please help me with it?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Regards
>>>>
>>>> Anshu
>>>>
>>>> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
>>>> Windows 10
>>>>
>>>>
>>>>
>>>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Contribution to the organization

2020-01-23 Thread anshu khare
I  have Visual Studio 19 and JDK 13 installed on windows. I cloned lode git
repo in cygwin shell. I changed my directory to lode and ran  ./setup which
executed fine.

Then I added environment variables to  .bashrc file.

Now I am trying to setup dev build environment by running  ./setup --dev --
force in the lode directory but it's not giving appropriate results.

I am following this documentation :
http://wiki.documentfoundation.org/Development/lode


On Wed, 22 Jan, 2020, 6:16 PM Anshu,  wrote:

> Hi mentors,
>
>
>
> I am Anshu. I am new to this organization. I am willing to take part in
> Gsoc 2020 and I want to contribute to this organization.
>
> I was trying to build Libre-Office by following its documentation but got
> stuck at a point( I have Visual Studio 17 and JDK 13 installed on my
> system).
>
> I am attaching the screenshot where I got stuck.
>
> Could you please help me with it?
>
>
>
>
>
>
>
>
>
> Regards
>
> Anshu
>
> Sent from Mail  for
> Windows 10
>
>
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice