notepadqq should be updated to use libqscintilla2-11

Bug #1309856 reported by Shirish Agarwal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Notepadqq [MOVED TO GITHUB]
Fix Released
Undecided
Unassigned

Bug Description

Hi there,
I use notepadqq in Debian. In Debian testing there was a change from libsqscintilla2-9 to libsqcintilla2-11. If possible please share this option in the notepadqq repo. on github.

Revision history for this message
Daniel Di Sarli (danieleds0) wrote :

Hi,
can you confirm that the same binary file still works with libsqcintilla2-11?

Thanks

Revision history for this message
Shirish Agarwal (shirishag75) wrote :

Dear Daniel,
I had compiled notepadqq from https://github.com/notepadqq/notepadqq . With the change I had to recompile it but still it works.

the only change I did in the instructions were this :-

notepadqq/src$ qmake-qt4 notepadqq.pro -r -spec linux-g++
notepadqq/src$ make
notepadqq/src$ make install

I had removed the PREFIX=/usr/local

Another thing I did was

notepadqq/src$ make clean

before re-starting the build.

$ notepadqq --version
notepadqq version 0.13.0

The binary works. Thankfully, didn't have to change anything in the notepadqq.pro file otherwise would have needed help there.

This is the run on my debian-testing.

$ notepadqq
detected "gnome" icon theme
parsing "/usr/share/notepadqq/langs.xml"
parsing "/usr/share/notepadqq/stylers.xml"
Global style "Global override"
Global style "Default Style"
Global style "Indent guideline style"
Global style "Brace highlight style"
Global style "Bad brace colour"
Global style "Current line background colour"
Global style "Selected text colour"
Global style "Caret colour"
Global style "Edge colour"
Global style "Line number margin"
Global style "Fold"
Global style "Fold margin"
Global style "White space symbol"
Global style "Smart HighLighting"
Global style "Find Mark Style"
Global style "Mark Style 1"
Global style "Mark Style 2"
Global style "Mark Style 3"
Global style "Mark Style 4"
Global style "Mark Style 5"
Global style "Incremental highlight all"
Global style "Tags match highlighting"
Global style "Tags attribute"
Global style "Active tab focused indicator"
Global style "Active tab unfocused indicator"
Global style "Active tab text"
Global style "Inactive tabs"
detected "Monospace 13" monospace font name
detected "Cantarell 14" font name
"Monospace" "13"
"Cantarell" "14"
system font: "Monospace" 13
switched to tab 0
"Monospace" size: 13

Revision history for this message
Shirish Agarwal (shirishag75) wrote :

As far as your question was concerned, the binary I had compiled before the version change in the libsqcintilla2 didn't work after I had upgraded libsqcintilla2 from libsqcintilla2-9 to libsqcintilla2-11.

I just figured that the source package is qscintilla2 which changed from 2.7.2 (last year) to 2.8.1-2 (now)

http://packages.qa.debian.org/q/qscintilla2.html

and had a look at both changelog.gz as well as changelog.Debian.gz . These are the respective outputs for both those packages :-

$ /usr/share/doc/libqscintilla2-11$ zcat changelog.Debian.gz | less

qscintilla2 (2.8.1-1) unstable; urgency=medium

  * New upstream release
    - Update library name to libqscintilla2-11 based on upstream soname change
    - Refresh patches

 -- Scott Kitterman <email address hidden> Mon, 17 Mar 2014 19:02:44 -0400

$ /usr/share/doc/libqscintilla2-11$ zcat changelog.gz | less

v2.8.1 14th March 2014
  - Added support for iOS and Android.
  - Added support for retina displays.
  - A qscintilla2.prf file is installed so that application .pro files only
    need to add CONFIG += qscintilla2.
  - Updated the keywords recognised by the Octave lexer.
  - Bug fixes.

v2.8 9th November 2013
  - Based on Scintilla v3.3.6.
  - Added the SCN_FOCUSIN() and SCN_FOCUSOUT() signals to QsciScintillaBase.
  - Added PreProcessorCommentLineDoc and InactivePreProcessorCommentLineDoc to
    QsciLexerCPP.
  - Added SCLEX_LITERATEHASKELL, SCLEX_KVIRC, SCLEX_RUST and SCLEX_STTXT to
    QsciScintillaBase.
  - Added ThickCompositionIndicator to QsciScintilla::IndicatorStyle.
  - Added INDIC_COMPOSITIONTHICK to QsciScintillaBase.
  - Added SC_FOLDACTION_CONTRACT, SC_FOLDACTION_EXPAND and SC_FOLDACTION_TOGGLE
    to QsciScintillaBase.
  - Added SCI_FOLDLINE, SCI_FOLDCHILDREN, SCI_EXPANDCHILDREN and SCI_FOLDALL to
    QsciScintillaBase.
- Added SC_AUTOMATICFOLD_SHOW, SC_AUTOMATICFOLD_CLICK and
    SC_AUTOMATICFOLD_CHANGE to QsciScintillaBase.
  - Added SCI_SETAUTOMATICFOLD and SCI_GETAUTOMATICFOLD to QsciScintillaBase.
  - Added SC_ORDER_PRESORTED, SC_ORDER_PERFORMSORT and SC_ORDER_CUSTOM to
    QsciScintillaBase.
  - Added SCI_AUTOCSETORDER and SCI_AUTOCGETORDER to QsciScintillaBase.
  - Added SCI_POSITIONRELATIVE to QsciScintillaBase.
  - Added SCI_RELEASEALLEXTENDEDSTYLES and SCI_ALLOCATEEXTENDEDSTYLES to
    QsciScintillaBase.
  - Added SCI_SCROLLRANGE to QsciScintillaBase.
  - Added SCI_SETCARETLINEVISIBLEALWAYS and SCI_GETCARETLINEVISIBLEALWAYS to
    QsciScintillaBase.
  - Added SCI_SETMOUSESELECTIONRECTANGULARSWITCH and
    SCI_GETMOUSESELECTIONRECTANGULARSWITCH to QsciScintillaBase.
  - Added SCI_SETREPRESENTATION, SCI_GETREPRESENTATION and
    SCI_CLEARREPRESENTATION to QsciScintillaBase.
  - Input methods are now properly supported.

I also saw that the new library is also in Ubuntu :-

packages.ubuntu.com/trusty/libs/libqscintilla2-11‎

Revision history for this message
Daniel Di Sarli (danieleds0) wrote :

Thank you! Updating the instructions right now

Changed in notepadqq:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.