diff options
Diffstat (limited to 'scite/debian')
30 files changed, 3350 insertions, 0 deletions
diff --git a/scite/debian/SciTEGlobal.properties b/scite/debian/SciTEGlobal.properties new file mode 100644 index 0000000..1dd5e11 --- /dev/null +++ b/scite/debian/SciTEGlobal.properties @@ -0,0 +1,580 @@ +# SciTEGlobal.properties placed by scite package for stackrpms +# Global initialisation file for SciTE +# For Linux, place in $prefix/share/scite +# For Windows, place in same directory as SciTE.EXE (or Sc1.EXE) +# Documentation at http://www.scintilla.org/SciTEDoc.html + +# Globals + +# Window sizes and visibility +if PLAT_WIN + position.left=0 + position.top=0 +if PLAT_GTK + position.left=5 + position.top=22 +position.width=$(scale 576) +position.height=$(scale 740) +#position.maximize=1 +#position.tile=1 +#full.screen.hides.menu=1 +#minimize.to.tray=1 +split.vertical=0 +#split.wide=1 +#output.horizontal.size=200 +#output.vertical.size=60 +#output.initial.hide=1 +#horizontal.scrollbar=0 +#horizontal.scroll.width=10000 +#horizontal.scroll.width.tracking=0 +#output.horizontal.scrollbar=0 +#output.horizontal.scroll.width=10000 +#output.horizontal.scroll.width.tracking=0 +#output.scroll=0 +#error.select.line=1 +#end.at.last.line=0 +tabbar.visible=1 +#tabbar.hide.one=1 +#tabbar.hide.index=1 +#tabbar.multiline=1 +#toolbar.visible=1 +#toolbar.usestockicons=1 +#toolbar.large=1 +#menubar.detachable=1 +#undo.redo.lazy=1 +statusbar.visible=1 +#fileselector.width=800 +#fileselector.height=600 +#fileselector.show.hidden=1 +#magnification=-1 +#output.magnification=-1 + +# Sizes and visibility in edit pane +line.margin.visible=1 +line.margin.width=4 +margin.width=$(scale 16) +fold.margin.width=$(scale 14) +#fold.margin.colour=#FF0000 +#fold.margin.highlight.colour=#0000FF +#blank.margin.left=4 +#blank.margin.right=4 +#output.blank.margin.left=4 +buffered.draw=1 +#phases.draw=2 +if PLAT_WIN + technology=1 +#font.quality=3 +#font.locale=zh-Hans +if PLAT_MAC + font.quality=3 + +# Element styles +#view.eol=1 +#control.char.symbol=. +#representations=\x0D\x0A=\u20AA +caret.period=500 +view.whitespace=0 +view.indentation.whitespace=1 +view.indentation.guides=1 +view.indentation.examine=3 +highlight.indentation.guides=1 +#caret.fore=#FF0000 +#caret.additional.fore=#FF00DF +#caret.additional.blinks=0 +#caret.style=2 +#caret.width=2 +#caret.line.back=#FFFED83F +#caret.line.layer=1 +#caret.line.frame=1 +edge.column=200 +edge.mode=0 +edge.colour=#C0DCC0 +braces.check=1 +braces.sloppy=1 +#selection.fore=#006000 +selection.layer=2 +if PLAT_WINNT + selection.back=#00000020 +if PLAT_GTK + selection.back=#0000001E + selection.secondary.back=#00800010 +if PLAT_MAC + selection.back=#00000020 +selection.additional.back=#00000010 +selection.inactive.back=#00000010 +#selection.additional.fore=#0000A0 +#selection.inactive.fore=#00A000 +#selection.secondary.fore=#A00000 +selection.always.visible=1 +#selection.rectangular.switch.mouse=1 +#selection.multiple=0 +#selection.additional.typing=0 +#selection.multipaste=0 +#virtual.space=3 +#rectangular.selection.modifier=8 +#whitespace.fore=#FF0000 +#whitespace.back=#FFF0F0 +#whitespace.size=2 +#error.marker.fore=#0000A0 +#error.marker.back=#DADAFF +#error.inline=1 +bookmark.fore=#BE0000 +#bookmark.back=#FFFFA0 +#bookmark.alpha= +#bookmark.stroke.width=200 +#bookmark.symbol=3 +#find.mark=#0000FF +#find.mark.indicator=style:compositionthick,colour:#FFB700,under +#highlight.current.word=1 +#highlight.current.word.by.style=1 +#highlight.current.word.colour=#00D040 +#highlight.current.word.indicator=style:roundbox,colour:#0080FF,under,outlinealpha:140,fillalpha:80 +filter.match.indicator=style:compositionthick,colour:#FFB700,under +#filter.match.back=#FFB00030 +#filter.context=2 +#hidden.line.colour=2 +#indicators.alpha=63 +#indicators.under=1 + +# Scripting +ext.lua.startup.script=$(SciteUserHome)/SciTEStartup.lua +ext.lua.auto.reload=1 +#ext.lua.reset=1 + +# Checking +are.you.sure=1 +#are.you.sure.for.build=1 +#save.all.for.build=1 +#quit.on.close.last=1 +#load.on.activate=1 +#save.on.deactivate=1 +#are.you.sure.on.reload=1 +#save.on.timer=20 +#reload.preserves.undo=1 +#check.if.already.open=1 +#temp.files.sync.load=1 +default.file.ext=.cxx +#source.default.extensions=.h|.cxx|.bat +title.full.path=1 +#title.show.buffers=1 +#pathbar.visible=1 +save.recent=1 +save.session=1 +#session.bookmarks=1 +#session.folds=1 +#save.position=1 +#save.find=1 +#open.dialog.in.file.directory=1 +#strip.trailing.spaces=1 +#ensure.final.line.end=1 +#ensure.consistent.line.ends=1 +#save.deletes.first=1 +#save.check.modified.time=1 +buffers=100 +#buffers.zorder.switching=1 +#api.*.cxx=d:\api\w.api +#locale.properties=locale.de.properties +#translation.missing=*** +#read.only=1 +#read.only.indicator=1 +#background.open.size=20000 +#background.save.size=20000 +if PLAT_GTK + background.save.size=10000000 +#max.file.size=1 +file.size.large=100000000 +file.size.no.styles=10000000 +#lexilla.path=. + +# Indentation +tabsize=8 +indent.size=8 +use.tabs=1 +#indent.auto=1 +indent.automatic=1 +indent.opening=0 +indent.closing=0 +#tab.indents=0 +#backspace.unindents=0 + +# Wrapping of long lines +wrap=1 +wrap.style= +#cache.layout=3 +#output.wrap=1 +#output.cache.layout=3 +threads.layout=16 +#wrap.visual.flags=3 +#wrap.visual.flags.location=3 +#wrap.indent.mode=1 +#wrap.visual.startindent=4 + +#idle.styling=1 +#output.idle.styling=1 + +# Folding +# enable folding, and show lines below when collapsed. +fold=1 +fold.compact=1 +fold.flags=16 +#fold.line.colour=#80800080 +fold.symbols=1 +#fold.fore=#000000 +#fold.back=#808080 +#fold.highlight=1 +#fold.highlight.colour=#00C0C0 +#fold.stroke.width=200 +#fold.on.open=1 +fold.comment=1 +fold.preprocessor=1 + +# Find and Replace +# Internal search always available with recursive capability so use in preference to external tool +find.command= +# findstr is available on recent versions of Windows including 2000 +#if PLAT_WIN +# find.command=findstr /n /s $(find.what) $(find.files) +#find.input=$(find.what) +#if PLAT_GTK +# find.command=grep --line-number "$(find.what)" $(find.files) +find.files=*.c *.cxx *.h +#find.in.files.close.on.find=0 +#find.in.dot=1 +#find.in.binary=1 +#find.in.directory= +#find.close.on.find=0 +#find.replace.matchcase=1 +#find.replace.escapes=1 +#find.replace.regexp=1 +#find.replace.regexp.posix=1 +#find.replace.regexp.cpp11=1 +#find.replace.wrap=0 +#find.replacewith.focus=0 +#find.replace.advanced=1 +find.use.strip=1 +#find.strip.incremental=1 +#find.indicator.incremental=style:compositionthick,colour:#FFB700,under +replace.use.strip=1 +#replace.strip.incremental=1 +#strip.button.height=24 +#strip.shortcuts.enable=0 + +# Behaviour +#eol.mode=LF +eol.auto=1 +clear.before.execute=0 +#vc.home.key=1 +#wrap.aware.home.end.keys=1 +#autocompleteword.automatic=1 +#autocomplete.choose.single=1 +#autocomplete.*.fillups=([ +#autocomplete.*.start.characters=.: +#autocomplete.*.typesep=! +#autocomplete.fore=#80FFA0 +#autocomplete.back=#000000 +#autocomplete.selected.fore=#00FF40 +#autocomplete.selected.back=#006040 +#autocomplete.visible.item.count=15 + +caret.policy.xslop=1 +caret.policy.width=20 +caret.policy.xstrict=0 +caret.policy.xeven=0 +caret.policy.xjumps=0 +caret.policy.yslop=1 +caret.policy.lines=1 +caret.policy.ystrict=1 +caret.policy.yeven=1 +caret.policy.yjumps=0 +#visible.policy.strict=1 +#visible.policy.slop=1 +#visible.policy.lines=4 +#time.commands=1 +#caret.sticky=1 +#properties.directory.enable=1 +#editor.config.enable=1 +#save.path.suggestion=$(SciteUserHome)\note_$(TimeStamp).txt + +# Status Bar +statusbar.number=4 +statusbar.text.1=\ +li=$(LineNumber) co=$(ColumnNumber) $(OverType) ($(EOLMode)) $(FileAttr) +statusbar.text.2=\ +$(BufferLength) chars in $(NbOfLines) lines. Sel: $(SelLength) chars. +statusbar.text.3=\ +Now is: Date=$(CurrentDate) Time=$(CurrentTime) +statusbar.text.4=\ +$(FileNameExt) : $(FileDate) - $(FileTime) | $(FileAttr) + +if PLAT_WIN + command.scite.help="file://$(SciteDefaultHome)\SciTEDoc.html" + command.scite.help.subsystem=2 +if PLAT_GTK + command.scite.help=xdg-open "file://$(SciteDefaultHome)/SciTEDoc.html" + +# Internationalisation +# Japanese input code page 932 and ShiftJIS character set 128 +#code.page=932 +#character.set=128 +# Unicode +code.page=65001 +#character.set=204 +#command.discover.properties=python /home/user/FileDetect.py "$(FilePath)" +# Forward LC_CTYPE to setlocale which may affect language support. +#LC_CTYPE=en_US.UTF-8 +if PLAT_GTK + output.code.page=65001 +if PLAT_MAC + output.code.page=65001 +#ime.interaction=1 +#ime.autocomplete=1 +#accessibility=0 + +# Export +#export.keep.ext=1 +export.html.wysiwyg=1 +#export.html.tabs=1 +#export.html.folding=1 +export.html.styleused=1 +#export.html.title.fullpath=1 +#export.rtf.tabs=1 +#export.rtf.font.face=Arial +#export.rtf.font.size=9 +#export.rtf.tabsize=8 +#export.rtf.wysiwyg=0 +#export.tex.title.fullpath=1 +# Magnification (added to default screen font size) +export.pdf.magnification=0 +# Font: Courier, Helvetica or Times (Courier line-wraps) +export.pdf.font=Helvetica +# Page size (in points): width, height +# E.g. Letter 612,792; A4 595,842; maximum 14400,14400 +export.pdf.pagesize=595,842 +# Margins (in points): left, right, top, bottom +export.pdf.margins=72,72,72,72 +export.xml.collapse.spaces=1 +export.xml.collapse.lines=1 + +# Define values for use in the imported properties files +chars.alpha=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ +chars.numeric=0123456789 +chars.accented=ŠšŒœŸÿÀàÁáÂâÃãÄäÅåÆæÇçÈèÉéÊêËëÌìÍíÎîÏïÐðÑñÒòÓóÔôÕõÖØøÙùÚúÛûÜüÝýÞþßö +# This is a better set for Russian: +#chars.accented=ÀàÁáÂâÃãÄäÅ娸ÆæÇçÈèÉéÊêËëÌìÍíÎîÏïÐðÑñÒòÓóÔôÕõÖö×÷ØøÙùÚúÛûÜüÝýÞþßÿ + +# The open.filter setting is used in the file selector which has a menu of filters to apply +# to the types of files seen when opening. + +# Gather all settings with "*source.patterns." prefix from all active .properties files +source.files=$(star *source.patterns.) +source.all.filter=All Source|$(source.files)| + +# Each platform has a different idea of the most important filters +if PLAT_WIN + all.files=All Files (*.*)|*.*| + top.filters=$(source.all.filter)$(all.files) +if PLAT_GTK + all.files=All Files (*)|*|Hidden Files (.*)|.*| + top.filters=$(all.files)$(source.all.filter) +# As macOS only greys out filtered files, show all as default +if PLAT_MAC + all.files=All Files (*.*)|*.*| + top.filters=$(all.files)$(source.all.filter) + +# Gather all settings with "*filter." prefix from all active .properties files +list.filters=$(star *filter.) + +open.filter=$(top.filters)$(list.filters) + +#save.filter=$(open.filter) + +# Give symbolic names to the set of fonts used in the standard styles. +if PLAT_WIN + font.base=font:Verdana,size:9.4 + font.small=font:Verdana,size:8 + font.comment=font:Georgia,size:10.1 + font.code.comment.box=$(font.comment) + font.code.comment.line=$(font.comment) + font.code.comment.doc=$(font.comment) + font.code.comment.nested=$(font.comment) + font.text=font:Times New Roman,size:11 + font.text.comment=font:Verdana,size:9 + font.embedded.base=font:Verdana,size:9 + font.embedded.comment=font:Comic Sans MS,size:8 + font.monospace=font:Consolas,size:8.9 + font.monospace.small=font:Consolas,size:8 + font.vbs=font:Candara,size:10 +if PLAT_GTK + font.base=font:DejaVu Sans,size:9 + font.small=font:DejaVu Sans,size:8 + font.comment=font:DejaVu Serif,size:9 + font.code.comment.box=$(font.comment) + font.code.comment.line=$(font.comment) + font.code.comment.doc=$(font.comment) + font.code.comment.nested=$(font.comment) + font.text=font:DejaVu Serif,size:10 + font.text.comment=font:Serif,size:9 + font.embedded.base=font:Serif,size:9 + font.embedded.comment=font:Serif,size:9 + font.monospace=font:DejaVu Sans Mono,size:9 + font.monospace.small=font:DejaVu Sans Mono,size:8 + font.vbs=font:DejaVu Sans Mono,size:9 +if PLAT_MAC + font.base=font:Verdana,size:12 + font.small=font:Verdana,size:10 + font.comment=font:Georgia,size:13 + font.code.comment.box=$(font.comment) + font.code.comment.line=$(font.comment) + font.code.comment.doc=$(font.comment) + font.code.comment.nested=$(font.comment) + font.text=font:Times New Roman,size:13 + font.text.comment=font:Verdana,size:11 + font.embedded.base=font:Verdana,size:11 + font.embedded.comment=font:Comic Sans MS,size:10 + font.monospace=font:Menlo,size:12 + font.monospace.small=font:Menlo,size:10 + font.vbs=font:Lucida Sans Unicode,size:12 +font.js=$(font.comment) +font.monospaced.list=Consolas;Courier New;DejaVu Sans Mono;Menlo + +# Give symbolic names to the set of colours used in the standard styles. +colour.code.comment.box=fore:#007F00 +colour.code.comment.line=fore:#007F00 +colour.code.comment.doc=fore:#3F703F +colour.code.comment.nested=fore:#A0C0A0 +colour.text.comment=fore:#0000FF,back:#D0F0D0 +colour.other.comment=fore:#007F00 +colour.embedded.comment=back:#E0EEFF +colour.embedded.js=back:#F0F0FF +colour.notused=back:#FF0000 + +colour.number=fore:#007F7F +colour.keyword=fore:#00007F +colour.string=fore:#7F007F +colour.char=fore:#7F007F +colour.operator=fore:#000000 +colour.preproc=fore:#7F7F00 +colour.error=fore:#FFFF00,back:#FF0000 + +# To de-emphasize inactive code set traits.inactive +#traits.inactive=,back:#F0F0F0,eolfilled +traits.inactive= + +# Global default styles for all languages +# Default +style.*.32=$(font.base) +# Line number +style.*.33=back:#C0C0C0,$(font.base) +# Brace highlight +style.*.34=fore:#0000FF,bold +# Brace incomplete highlight +style.*.35=fore:#FF0000,bold +# Control characters +style.*.36= +# Indentation guides +style.*.37=fore:#C0C0C0,back:#FFFFFF + +# Printing +#print.colour.mode=1 +print.magnification=-1 +# Windows-only setup: left, right, top, bottom margins, in local units: +# hundredths of millimeters or thousandths of inches +print.margins=1500,1000,1000,1500 +# Header/footer: +print.header.format=$(FileNameExt) -- Printed on $(CurrentDate), $(CurrentTime) -- Page $(CurrentPage) +print.footer.format=$(FilePath) -- File date: $(FileDate) -- File time: $(FileTime) +# Header/footer style +print.header.style=font:Arial,size:12,bold +print.footer.style=font:Arial Narrow,size:10,italics + +# Experimental undocumented settings +#bidirectional=1 + +# Warnings - only works on Windows and needs to be pointed at files on machine +#if PLAT_WIN +# warning.findwrapped=100,E:\Windows\Media\SFX\Boing.wav +# warning.notfound=0,Effect.wav +# warning.wrongfile=0,Glass.wav +# warning.executeok=0,Fanfare.wav +# warning.executeko=100,GlassBreak.wav +# warning.nootherbookmark=100,Boing2.wav + +#create.hidden.console=1 + +# Define the Lexer menu, +# Each item contains three parts: menu string | file extension | key +# The only keys allowed currently are based on F-keys and alphabetic keys and look like +# [Ctrl+][Shift+][Fn|a] such as F12 or Ctrl+Shift+D. +# A '&' may be placed before a letter to be used as an accelerator. This does not work on GTK+. + +keyText=Shift+F11 +keyMake=Ctrl+Shift+F11 +keyHTML=F12 +keyXML=Shift+F12 +keyIndent=Ctrl+Shift+F12 +# On macOS, F11 is used by Expose, F12 by Dashbard +if PLAT_MAC + os.x.home.end.keys=1 + keyText=Shift+F13 + keyMake=Ctrl+Shift+F13 + keyHTML=Ctrl+Shift+F14 + keyXML=Shift+F14 + keyIndent= + +# Gather all settings with "*language." prefix from all active .properties files +menu.language=$(star *language.) + +# User defined key commands +user.shortcuts=\ +Ctrl+Shift+V|IDM_PASTEANDDOWN|\ +Ctrl+PageUp|IDM_PREVFILE|\ +Ctrl+PageDown|IDM_NEXTFILE| + +#KeypadPlus|IDM_EXPAND|\ +#KeypadMinus|IDM_BLOCK_COMMENT| + +#user.context.menu=\ +#||\ +#Next File|IDM_NEXTFILE|\ +#Prev File|IDM_PREVFILE| + +# To keep menus short, these .properties files are not loaded by default. +imports.exclude=abaqus abbrev ada asl asn1 ave avs baan blitzbasic \ +bullant caml cil cmake cobol coffeescript csound d dataflex ecl eiffel \ +Embedded erlang escript flagship forth fortran freebasic fsharp gap \ +haskell hex kix latex lisp lot lout matlab maxima metapost mmixal \ +modula3 nim nimrod opal oscript pascal pov powerpro ps purebasic r raku \ +rebol ruby sas scriptol smalltalk sorcins specman spice tacl tal tex \ +txt2tags verilog vhdl visualprolog +# The set of imports allowed can be set with +#imports.include=ave + +ext.lua.startup.script=$(SciteDefaultHome)/stackrpms.lua +command.name.8.*=Emit &UTF8 Unicode +command.subsystem.8.*=3 +command.8.*=emitUnicode +command.mode.8.*=savebefore:no +command.shortcut.8.*=Ctrl+U +command.name.9.*=Insert &Date AH +command.subsystem.9.*=3 +command.9.*=InsertDateAH +command.mode.9.*=savebefore:no +command.shortcut.9.*=F5 +command.name.10.*=Insert Date iso8601 +command.subsystem.10.*=3 +command.10.*=InsertDateIso +command.mode.10.*=savebefore:no +command.shortcut.10.*=Shift+F5 + +# Import all the language specific properties files in this directory +import * + +# bgstack15 improvements, in addition to a few sprinkled above. +font.base=$(font.monospace) +font.small=$(font.monospace) +font.comment=$(font.monospace) +font.text=$(font.monospace) +font.text.comment=$(font.monospace) +font.embedded.base=$(font.monospace) +font.embedded.comment=$(font.monospace) +font.vbs=$(font.monospace) diff --git a/scite/debian/changelog b/scite/debian/changelog new file mode 100644 index 0000000..9ff6ecc --- /dev/null +++ b/scite/debian/changelog @@ -0,0 +1,815 @@ +scite (5.2.2-2+devuan) obs; urgency=medium + + * Add stackrpms lua script and customized global.properties + * Use lua 5.4.4 + + -- B. Stack <bgstack15@gmail.com> Mon, 04 Apr 2022 09:51:24 -0400 + +scite (5.2.2-1) unstable; urgency=medium + + * New upstream version 5.2.2 + + -- Andreas Rönnquist <gusnan@debian.org> Thu, 31 Mar 2022 14:42:20 +0200 + +scite (5.2.1-1) unstable; urgency=medium + + * New upstream version 5.2.1 + * Remove patch 0005-Fix-pixmap-leak-on-GTK.patch - applied upstream + + -- Andreas Rönnquist <gusnan@debian.org> Thu, 24 Feb 2022 10:27:44 +0100 + +scite (5.2.0-2) unstable; urgency=medium + + * Add patch to fix pixmap leak (Closes: #1005965) + + -- Andreas Rönnquist <gusnan@debian.org> Tue, 22 Feb 2022 13:07:01 +0100 + +scite (5.2.0-1) unstable; urgency=medium + + * New upstream version 5.2.0 + * Filter out scintilla/tgzsrc.orig + * Refresh patches + + -- Andreas Rönnquist <gusnan@debian.org> Wed, 09 Feb 2022 14:45:58 +0100 + +scite (5.1.6-1) unstable; urgency=medium + + * New upstream version 5.1.6 + * Refresh patches + + -- Andreas Rönnquist <gusnan@debian.org> Fri, 10 Dec 2021 14:52:42 +0100 + +scite (5.1.5-1) unstable; urgency=medium + + * New upstream version 5.1.5 + + -- Andreas Rönnquist <gusnan@debian.org> Mon, 08 Nov 2021 18:11:31 +0100 + +scite (5.1.3-1) unstable; urgency=medium + + * New upstream version 5.1.3 + * Refresh patches + * Upgrade Standards-Version to 4.6.0.1 (No changes required) + + -- Andreas Rönnquist <gusnan@debian.org> Thu, 23 Sep 2021 20:26:06 +0200 + +scite (5.1.1-1) unstable; urgency=medium + + * Upload to unstable + + -- Andreas Rönnquist <gusnan@debian.org> Wed, 18 Aug 2021 18:52:51 +0200 + +scite (5.1.1-1~exp1) experimental; urgency=medium + + * New upstream version 5.1.1 + + -- Andreas Rönnquist <gusnan@debian.org> Mon, 26 Jul 2021 15:21:59 +0200 + +scite (5.1.0-1~exp1) experimental; urgency=medium + + * New upstream version 5.1.0 + + -- Andreas Rönnquist <gusnan@debian.org> Wed, 23 Jun 2021 14:50:53 +0200 + +scite (5.0.3-1~exp1) experimental; urgency=medium + + * New upstream version 5.0.3 + * Refresh patches + + -- Andreas Rönnquist <gusnan@debian.org> Tue, 08 Jun 2021 13:30:50 +0200 + +scite (5.0.2-1~exp1) experimental; urgency=medium + + * New upstream version 5.0.2 + * Install examples + + -- Andreas Rönnquist <gusnan@debian.org> Sat, 08 May 2021 15:35:20 +0200 + +scite (5.0.1-1~exp1) experimental; urgency=medium + + * New upstream version 5.0.1 + + -- Andreas Rönnquist <gusnan@debian.org> Mon, 12 Apr 2021 15:33:09 +0200 + +scite (5.0.0-1~exp1) experimental; urgency=medium + + * New upstream version 5.0.0 + * Lexilla has been moved to own folder - Update build accordingly + * Update copyright with info for lexilla + * Update Standards-Version to 4.5.1 (No changes required) + + -- Andreas Rönnquist <gusnan@debian.org> Tue, 09 Mar 2021 15:51:26 +0100 + +scite (4.4.5-2) unstable; urgency=medium + + * Remove menu file and XPM image - thanks to Pino Toscano + (Closes: #970139) + + -- Andreas Rönnquist <gusnan@debian.org> Sun, 13 Sep 2020 11:26:58 +0200 + +scite (4.4.5-1) unstable; urgency=medium + + [ Andreas Rönnquist ] + * New upstream version 4.4.5 + * Remove patches 0001-hardening_flags.patch and 0006-cross.patch, + applied upstream + * Refresh patch 0007-Build-with-Debian-packaged-Lua.patch + * Remove patch 0004-spelling.patch + * Update lintian override for spelling error Lables/Labels + * Override lintian warning national-encoding in three places + * Move documentation to /usr/share/doc/scite and link to /usr/share/scite + * Override dh_compress to avoid compressing xpm image file + * Add a doc-base file + * Upgrade to Debhelper 13 + * Add Rules-Requires-Root: no + + [ Antonio Valentino ] + * Fix BUILD_DATE + + -- Andreas Rönnquist <gusnan@debian.org> Sat, 12 Sep 2020 16:03:12 +0200 + +scite (4.4.4-1) unstable; urgency=medium + + * New upstream version 4.4.4 + * Refresh patches + * Update lintian override spelling-error-in-binary moved to + /usr/lib/scite/liblexilla.so + * Add forwarded not-needed to + 0007-Build-with-Debian-packaged-Lua.patch + * Add Forwarded fields to 0006-cross.patch + * Clean up liblexilla and more files with clean + + -- Andreas Rönnquist <gusnan@debian.org> Tue, 21 Jul 2020 20:50:44 +0200 + +scite (4.3.3-2) unstable; urgency=medium + + * Remove removed files from debian/copyright + + -- Andreas Rönnquist <gusnan@debian.org> Wed, 29 Apr 2020 16:04:11 +0200 + +scite (4.3.3-1) unstable; urgency=medium + + * New upstream version 4.3.3 + * Refresh patches + + -- Andreas Rönnquist <gusnan@debian.org> Mon, 27 Apr 2020 04:06:52 +0200 + +scite (4.3.1-1) unstable; urgency=medium + + * New upstream version 4.3.1 + * Upgrade to Standards Version 4.5.0 (No changes required) + * Remove unused lintian override source-is-missing for + scintilla/bin/lexilla.so + + -- Andreas Rönnquist <gusnan@debian.org> Thu, 05 Mar 2020 02:53:01 +0100 + +scite (4.3.0-1) unstable; urgency=medium + + * New upstream version 4.3.0 + * Refresh patches + * Add lintian override for source-is-missing lexilla.so + + -- Andreas Rönnquist <gusnan@debian.org> Fri, 17 Jan 2020 23:36:24 +0100 + +scite (4.2.3-1) unstable; urgency=medium + + * Make sure an import merge to debian/master + * New upstream version 4.2.3 + + -- Andreas Rönnquist <gusnan@debian.org> Wed, 11 Dec 2019 13:09:14 +0100 + +scite (4.2.2-1) unstable; urgency=medium + + * New upstream version 4.2.2 + + -- Andreas Rönnquist <gusnan@debian.org> Wed, 11 Dec 2019 12:08:26 +0100 + +scite (4.2.1-1) unstable; urgency=medium + + * New upstream version 4.2.1 + * Upgrade to Standards Version 4.4.1 (No changes required) + * Add lintian override for spelling afe/safe not present in source + + -- Andreas Rönnquist <gusnan@debian.org> Fri, 25 Oct 2019 01:48:18 +0200 + +scite (4.2.0-2) unstable; urgency=medium + + * Use secure URI in Homepage field. + * Update standards version, no changes needed. + * Set upstream metadata fields: Archive. + * Remove obsolete fields Name from debian/upstream/metadata. + * Fix day-of-week for changelog entries 1.36-1, 1.35-1, 1.34-2. + + -- Antonio Valentino <antonio.valentino@tiscali.it> Thu, 05 Sep 2019 17:22:38 +0000 + +scite (4.2.0-1) unstable; urgency=medium + + * New upstream version 4.2.0 + * Refresh patches + + -- Andreas Rönnquist <gusnan@debian.org> Mon, 08 Jul 2019 14:49:06 +0200 + +scite (4.1.7-1~exp1) experimental; urgency=medium + + * New upstream version 4.1.7 + + -- Andreas Rönnquist <gusnan@debian.org> Fri, 14 Jun 2019 12:25:34 +0200 + +scite (4.1.6-1~exp1) experimental; urgency=medium + + * New upstream version 4.1.6 + * Refresh patches + + -- Andreas Rönnquist <gusnan@debian.org> Mon, 10 Jun 2019 14:38:59 +0200 + +scite (4.1.5-1~exp1) experimental; urgency=medium + + * New upstream version 4.1.5 + * Upgrade to compat 12 + * Refresh patches + * Remove unused lintian override for spelling error + + -- Andreas Rönnquist <gusnan@debian.org> Wed, 17 Apr 2019 19:10:13 +0200 + +scite (4.1.3-1) unstable; urgency=medium + + * New upstream version 4.1.3 + * Update Standards-Version to 4.3.0 (No changes required) + * Refresh patches + * Add lintian override for spelling error 'ment' + + -- Andreas Rönnquist <gusnan@debian.org> Thu, 10 Jan 2019 14:08:25 +0100 + +scite (4.1.2-1) unstable; urgency=medium + + [ Andreas Rönnquist ] + * New upstream version 4.1.2 + - Fixes povray syntax on Linux (Closes: #587229) + + [ OndÅ™ej Nový ] + * d/watch: Use https protocol + + -- Andreas Rönnquist <gusnan@debian.org> Tue, 02 Oct 2018 14:50:26 +0200 + +scite (4.1.1-1) unstable; urgency=medium + + * New upstream version 4.1.1 + * Update standards version to 4.2.1, no changes required + * Remove empty tests (Closes: #907597) + + -- Andreas Rönnquist <gusnan@debian.org> Sun, 09 Sep 2018 13:35:49 +0200 + +scite (4.1.0-1) unstable; urgency=medium + + * New upstream version 4.1.0 + * Build with Debian packaged Lua 5.3 + + -- Andreas Rönnquist <gusnan@debian.org> Tue, 19 Jun 2018 23:02:30 +0200 + +scite (4.0.5-2) unstable; urgency=medium + + [ Helmut Grohne ] + * Fix FTCBFS: (Closes: #900016) + + Let dh_auto_build pass cross tools to make. + + cross.patch: make pkg-config subtsitutable. + + [ Antonio Valentino ] + * Refresh all patches. + + [ Andreas Rönnquist ] + * Use DEP-14 branch naming (debian/master and upstream/latest) + + -- Antonio Valentino <antonio.valentino@tiscali.it> Thu, 24 May 2018 19:41:57 +0200 + +scite (4.0.5-1) unstable; urgency=medium + + * New upstream release. + * Refresh patches. + * debian/control + - improve package description + - Add myself to uploaders + * debian/watch + - Remove checking for zip + + -- Andreas Rönnquist <gusnan@debian.org> Fri, 11 May 2018 14:21:56 +0200 + +scite (4.0.4-1) unstable; urgency=medium + + * New upstream release. + * Standard version bumped to 4.0.4 (no change). + * Set compat to 11. + * Switch to salsa and git-buildpackage, update Vcs-* fields. + * Update the watch file. + * debian/patches + - refresh and renumber all patches + - new spelling.patch + - new patch to add the "Keywords" entry to the desktop file + * debian/rules + - do not parse the debian changelog + - enable all hardening flags + * Install a link for the SciTE.1 man page. + * Add autopkgtest to test installability. + * Move images into the debian/images folder. + * Install scintilla doc (new debian/install file) + * Do not use remote resources in html files. + * Drop debian/missing-sources: no longer necessary. + * Add a gbp.conf file in the debian directory. + * Add upstream metadata. + + -- Antonio Valentino <antonio.valentino@tiscali.it> Sun, 15 Apr 2018 07:24:39 +0000 + +scite (4.0.0-1) unstable; urgency=medium + + * New upstream release + * Standard version bumped to 4.0.0 (no change) + * debian/patches + - drop desktop_file.patch (no longer necessary) + - refresh remaining patches + + -- Antonio Valentino <antonio.valentino@tiscali.it> Wed, 16 Aug 2017 17:11:14 +0000 + +scite (3.7.2-1) unstable; urgency=medium + + * New upstream release + * Refresh all patches + + -- Antonio Valentino <antonio.valentino@tiscali.it> Fri, 06 Jan 2017 13:21:06 +0000 + +scite (3.7.0-1) unstable; urgency=medium + + * New upstream release + * debian/patches + - refresh all patches + - fix cme warnings + * debian/copyright + - fix format URL + + -- Antonio Valentino <antonio.valentino@tiscali.it> Mon, 31 Oct 2016 16:18:30 +0000 + +scite (3.6.6-1) unstable; urgency=medium + + * New upstream release + * Refresh all patches + * debian/rules + - update clean target (do not remove orig files bundled in the + orig archive) + * debian/copyright + - disambiguate license for lua (use expat) + * debian/control + - standard version bump to 3.9.8 + - refromatting (with the cme tool) + - fix VCS URI + + -- Antonio Valentino <antonio.valentino@tiscali.it> Thu, 02 Jun 2016 18:38:09 +0000 + +scite (3.6.0-1) unstable; urgency=medium + + * New upstream release + * Refresh all patches + * Standards version bumped to 3.9.6 (no change) + * Implemented reproducible build + + -- Antonio Valentino <antonio.valentino@tiscali.it> Mon, 17 Aug 2015 12:20:12 +0200 + +scite (3.5.0-1) unstable; urgency=medium + + * New upstream release + + -- Antonio Valentino <antonio.valentino@tiscali.it> Thu, 14 Aug 2014 17:12:34 +0000 + +scite (3.4.2-1) unstable; urgency=medium + + * New uptream release + * All patches have been refreshed + * debian/copyright + - updated copyright entries + - copyright file converted in DEP-5 format + + -- Antonio Valentino <antonio.valentino@tiscali.it> Sat, 24 May 2014 21:39:26 +0000 + +scite (3.4.1-1) unstable; urgency=low + + * New upstream release + * Standard version bumped to 3.9.5 (no change) + * debian/patch + - drop link_libdl.patch (applied upstream) + - refresh all remainimg patches + - new patch (do_not_use_remote_logo.patch) to avoid the + "privacy-breach-logo" error detected by lintian + * Added missing source (debian/missing-sources/scintilla/include/Face.py) + + -- Antonio Valentino <antonio.valentino@tiscali.it> Thu, 03 Apr 2014 20:11:51 +0000 + +scite (3.3.5-1) unstable; urgency=low + + * new upstream release + * debian/control: + - provide the editor virtual package (closes: #398753) + - move the Homepage field to the source section (silence cme warnings) + * debian/patches: + - refresh all patches + - new patch for linking libdl.so even on kfreensd-* and hurd + (closes: #722260). Thanks to Pino Toscano. + * debian/rules: + - avoid to remove "scintilla/src/Editor.cxx.orig" that is in the orig + archive (override_dh_clean) + - small refinements to the override_dh_auto_clean target + + -- Antonio Valentino <antonio.valentino@tiscali.it> Sat, 31 Aug 2013 09:26:55 +0000 + +scite (3.3.4-1) unstable; urgency=low + + * new upstream release + * standard version bumped to 3.9.4 (no changes) + * drop disable_background_save.patch (applied upstream) + * use canonical vcs filed in the control file + * compat have been set to 9 (automatically enables hardening flags) + * new patch (hardening_flags.patch) that ensures that hardening flags are + actually used in the makefiles + * new patch for fixing the desktop file (removed deprecated entries and + values, added missing Keywords entry) + + -- Antonio Valentino <antonio.valentino@tiscali.it> Tue, 20 Aug 2013 19:34:22 +0200 + +scite (3.3.1-1) unstable; urgency=low + + * new upstream release + + -- Michael Vogt <mvo@debian.org> Wed, 08 May 2013 21:37:16 +0200 + +scite (3.2.4-1) experimental; urgency=low + + * new upstream release + + -- Antonio Valentino <antonio.valentino@tiscali.it> Thu, 17 Jan 2013 21:13:29 +0100 + +scite (3.2.3-1) experimental; urgency=low + + * new upstream release (closes: #683743) + * updated watch file + * standard version bumped to 3.9.3 + * buld against GTK3 instead of GTK2 (closes: #654959) + * use "gnomeprefix" instead of "prefix" in override_dh_auto_install + in oreder to allow correct installation of the desktop file + * install scite manpage + * drop disable_background_save.patch (applied upstream) + + -- Antonio Valentino <antonio.valentino@tiscali.it> Wed, 24 Oct 2012 19:54:43 +0200 + +scite (3.0.2-3) unstable; urgency=low + + [ Michael Vogt ] + * add missing man-page (closes: #690429) + + [ Antonio Valentino ] + * install global configuration files under /etc (closes: #119604) + * disable background save in order to avoid save failures and data + loss (closes: #682320) + * Antonio Valentino added to uploaders + + -- Michael Vogt <mvo@debian.org> Wed, 24 Oct 2012 17:02:07 +0200 + +scite (3.0.2-2) unstable; urgency=low + + * debian/scite.desktop, debian/Scite32M.xpm: + - dropped, use upstream version instead (closes: #653200) + + -- Michael Vogt <mvo@debian.org> Tue, 03 Jan 2012 18:47:49 +0100 + +scite (3.0.2-1) unstable; urgency=low + + * new upstream release (closes: #618346) + * move to debhelper 8, drop dpatch + * drop custom desktop file and config customization patches + + -- Michael Vogt <mvo@debian.org> Mon, 19 Dec 2011 09:00:56 +0100 + +scite (2.25-1) unstable; urgency=low + + * new upstream release #618346 + + -- Michael Vogt <mvo@debian.org> Thu, 14 Apr 2011 12:05:44 +0200 + +scite (2.03-1) unstable; urgency=low + + * new upstream version (closes: #570096) + * debian/patches/02_config.dpatch: + - refreshed + * debian/patches/03_nolua_ftbfs_fix.dpatch: + - dropped, no longer needed + + -- Michael Vogt <mvo@debian.org> Tue, 16 Feb 2010 21:08:57 +0100 + +scite (1.76-1) unstable; urgency=low + + * New upstream release + * ack NMU (thanks!), closes: 476850 + + -- Michael Vogt <mvo@debian.org> Fri, 25 Apr 2008 16:46:19 +0200 + +scite (1.75-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Apply patch from Ubuntu by Michael Bienia to fix FTBFS on the platforms + where Lua support is disabled (like amd64). (Closes: #456351) + + -- Paul Wise <pabs@debian.org> Sat, 19 Apr 2008 19:56:40 +0800 + +scite (1.75-1) unstable; urgency=low + + * New upstream release (closes: #410654, #446411) + + -- Michael Vogt <mvo@debian.org> Mon, 10 Dec 2007 11:46:50 +0100 + +scite (1.71-1) unstable; urgency=low + + * New upstream release (closes: #380090) + + -- Michael Vogt <mvo@debian.org> Sun, 3 Sep 2006 10:34:09 +0200 + +scite (1.69-1) unstable; urgency=low + + * New upstream release + + -- Michael Vogt <mvo@debian.org> Fri, 2 Jun 2006 09:24:12 +0200 + +scite (1.68-2) unstable; urgency=low + + * Drop DH_COMPAT, we use debian/compat now + * Upgrade debhelper build-dependency + * Include ScintillaHistory.html as the package changelog (closes: #237682) + * Update copyright information + * Add homepage to package description + * Bump Standards-Version (no changes) + [Thanks to Paul Wise for the patch] + + -- Michael Vogt <mvo@debian.org> Tue, 23 May 2006 20:43:36 +0800 + +scite (1.68-1) unstable; urgency=low + + * New upstream release (closes: #360305), the + rebuild closes: #355404 as well + * added watch file and updated copyright download url + (thanks to Paul Wise) + * debian/scite.desktop: changed to "exec=scite %F" + + -- Michael Vogt <mvo@debian.org> Sun, 2 Apr 2006 10:54:26 +0200 + +scite (1.67-1) unstable; urgency=low + + * New upstream release + * debian/patches/02_config: + - redone, didn't applied cleanly + + -- Michael Vogt <mvo@debian.org> Sat, 17 Dec 2005 12:36:14 +0100 + +scite (1.66-1) unstable; urgency=low + + * New upstream release + * removed debian/patches/03_new_pango,04_amd64, both are now + upstream + + -- Michael Vogt <mvo@debian.org> Wed, 7 Sep 2005 10:46:57 +0200 + +scite (1.64-2) unstable; urgency=low + + * debian/patches/03_new_pango: + - support for the new pango (closes: #320975,#323634) + * debian/patches/04_amd65 + - make it build on amd64 (closes: #296996) + + -- Michael Vogt <mvo@debian.org> Fri, 26 Aug 2005 12:24:31 +0200 + +scite (1.64-1) unstable; urgency=low + + * New upstream release + + -- Michael Vogt <mvo@debian.org> Mon, 6 Jun 2005 09:56:52 +0200 + +scite (1.63-3) unstable; urgency=low + + * build-depends on dpatch now + + -- Michael Vogt <mvo@debian.org> Fri, 6 May 2005 12:50:14 +0200 + +scite (1.63-2) unstable; urgency=low + + * use dpatch now + * remove a bad .desktop file + + -- Michael Vogt <mvo@debian.org> Fri, 6 May 2005 12:31:02 +0200 + +scite (1.63-1) unstable; urgency=low + + * New upstream release + + -- Michael Vogt <mvo@debian.org> Tue, 12 Apr 2005 10:33:57 +0200 + +scite (1.62-1) unstable; urgency=low + + * New upstream release + + -- Michael Vogt <mvo@debian.org> Wed, 10 Nov 2004 10:19:38 +0100 + +scite (1.61-2) unstable; urgency=low + + * added desktop file (thanks to Teofilo Ruiz Suarez) + (closes: #266344) + + -- Michael Vogt <mvo@debian.org> Wed, 18 Aug 2004 07:51:16 +0200 + +scite (1.61-1) unstable; urgency=low + + * New upstream release + * Disable Lua extensions new in 1.60 on 64bit platforms. + Code is just broken (Closes: #249844) + (thans to Frank Lichtenheld) + * new scite supports drag'n'drop for selected text again + (closes: #259709) + + -- Michael Vogt <mvo@debian.org> Mon, 2 Aug 2004 11:39:24 +0200 + +scite (1.60-1) unstable; urgency=low + + * New upstream release + + -- Michael Vogt <mvo@debian.org> Mon, 10 May 2004 16:08:12 +0200 + +scite (1.59-2) unstable; urgency=low + + * added latex mode (closes: #241230) + + -- Michael Vogt <mvo@debian.org> Fri, 2 Apr 2004 17:21:41 +0200 + +scite (1.59-1) unstable; urgency=low + + * New upstream release + + -- Michael Vogt <mvo@debian.org> Sun, 29 Feb 2004 18:14:38 +0100 + +scite (1.58-1) unstable; urgency=low + + * New upstream release + + -- Michael Vogt <mvo@debian.org> Wed, 14 Jan 2004 14:08:58 +0100 + +scite (1.57-1) unstable; urgency=low + + * New upstream release + + -- Michael Vogt <mvo@debian.org> Sun, 30 Nov 2003 20:47:42 +0100 + +scite (1.55-1) unstable; urgency=low + + * New upstream release + * should autobuild again (closes: #206543) + * typo in description fixed (closes: #211500) + * changed "netscape" to "x-www-browser" for help invocation + (closes: #204072) + + -- Michael Vogt <mvo@debian.org> Sat, 27 Sep 2003 12:59:49 +0200 + +scite (1.54-1) unstable; urgency=low + + * New upstream release + + -- Michael Vogt <mvo@debian.org> Tue, 19 Aug 2003 11:52:47 +0200 + +scite (1.53-2) unstable; urgency=low + + * updated build-depends to libgtk2.0-dev (closes: #193603) + + -- Michael Vogt <mvo@debian.org> Sat, 17 May 2003 08:58:10 +0200 + +scite (1.53-1) unstable; urgency=low + + * New upstream release + * build with gtk2 now (closes: #193458) + + -- Michael Vogt <mvo@debian.org> Fri, 16 May 2003 11:14:45 +0200 + +scite (1.51-1) unstable; urgency=low + + * New upstream release + + -- Michael Vogt <mvo@debian.org> Sun, 23 Feb 2003 00:19:03 +0100 + +scite (1.49-1) unstable; urgency=low + + * New upstream release + + -- Michael Vogt <mvo@debian.org> Tue, 5 Nov 2002 23:51:39 +0100 + +scite (1.48-2) unstable; urgency=low + + * fixed a upstream g++-3.1 build failure (closes: #161361) + + -- Michael Vogt <mvo@debian.org> Thu, 19 Sep 2002 12:22:25 +0200 + +scite (1.48-1) unstable; urgency=low + + * new upstream version (closes: #160586) + * new debian maintainer (closes: #159616) + + -- Michael Vogt <mvo@debian.org> Wed, 18 Sep 2002 01:19:25 +0200 + +scite (1.46-1) unstable; urgency=low + + * New upstream release + * Fixed broken toolbar (Closes: #115903) + * Rebuilt to /usr (Closes: #144728) + * Moved more of the Debian specific stuff into 'rules' rather + than modifying the makefiles. + + -- Aubin Paul <aubin@debian.org> Thu, 20 Jun 2002 19:07:05 -0400 + +scite (1.44-1) unstable; urgency=low + + * New upstream Release + + -- Aubin Paul <aubin@punknews.org> Wed, 13 Feb 2002 21:18:07 -0500 + +scite (1.41-1) unstable; urgency=low + + * New upstream Release + + -- Aubin Paul <aubin@punknews.org> Tue, 6 Nov 2001 13:12:27 -0500 + +scite (1.40-1) unstable; urgency=low + + * New upstream Release + + -- Aubin Paul <aubin@punknews.org> Fri, 26 Oct 2001 15:02:18 -0400 + +scite (1.39-2) unstable; urgency=low + + * Made some changes to comply with updated policy. + + -- Aubin Paul <aubin@punknews.org> Tue, 18 Sep 2001 16:30:33 -0400 + +scite (1.39-1) unstable; urgency=low + + * New Upstream Release + + -- Aubin Paul <aubin@punknews.org> Tue, 18 Sep 2001 13:43:39 -0400 + +scite (1.38-3) unstable; urgency=low + + * Rebuilt to fix small packaging bug. + + -- Aubin Paul <aubin@punknews.org> Fri, 27 Jul 2001 09:59:25 -0400 + +scite (1.38-2) unstable; urgency=low + + * Small bug fix to allow compilation with GCC-3.0 and GCC-2.9x (Closes: #104813) + + -- Aubin Paul <aubin@punknews.org> Tue, 24 Jul 2001 15:05:09 -0400 + +scite (1.38-1) unstable; urgency=low + + * New upstream release + + -- Aubin Paul <aubin@punknews.org> Thu, 5 Jul 2001 14:00:16 -0400 + +scite (1.37-1) unstable; urgency=low + + * Additional fixes for GTK+ > 1.2.9 + + -- Aubin Paul <aubin@debian.org> Mon, 16 Apr 2001 19:22:23 -0400 + +scite (1.36-20010325cvs-1) unstable; urgency=low + + * Fixes for GTK-1.2.9 issues from CVS (Closes: #90632) + + -- Aubin Paul <aubin@debian.org> Mon, 16 Apr 2001 19:22:23 -0400 + +scite (1.36-2) unstable; urgency=low + + * Additional 64-bit Changes. Sorry. + + -- Aubin Paul <aubin@debian.org> Fri, 2 Mar 2001 00:25:21 -0500 + +scite (1.36-1) unstable; urgency=low + + * New upstream Release + * Fixes for 64-bit Architectures (Closes: #85384) + + -- Aubin Paul <aubin@debian.org> Tue, 18 Jan 2000 18:34:06 -0500 + +scite (1.35-1) unstable; urgency=low + + * New upstream Release + + -- Aubin Paul <aubin@punknews.org> Tue, 18 Jan 2000 18:34:06 -0500 + +scite (1.34-2) unstable; urgency=low + + * Fixed Build-Depends line + + -- Aubin Paul <aubin@punknews.org> Tue, 18 Jan 2000 18:34:06 -0500 + +scite (1.34-1) unstable; urgency=low + + * Initial Release. + + -- Aubin Paul <aubin@punknews.org> Wed, 6 Dec 2000 23:00:06 -0500 diff --git a/scite/debian/control b/scite/debian/control new file mode 100644 index 0000000..682ad5e --- /dev/null +++ b/scite/debian/control @@ -0,0 +1,24 @@ +Source: scite +Maintainer: B. Stack <bgstack15@gmail.com> +XSBC-Original-Maintainer: Michael Vogt <mvo@debian.org> +Section: editors +Priority: optional +Rules-Requires-Root: no +Build-Depends: debhelper-compat (= 13), + libgtk-3-dev, + libglib2.0-dev, + liblua5.4-dev +Standards-Version: 4.6.0.1 +Vcs-Browser: https://salsa.debian.org/debian/scite +Vcs-Git: https://salsa.debian.org/debian/scite.git +Homepage: https://scintilla.org/SciTE.html + +Package: scite +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends} +Provides: editor +Description: Lightweight GTK-based programming editor + GTK-based programming editor with syntax highlighting support for + many languages. Also supports folding sections, exporting + highlighted text into colored HTML and RTF. diff --git a/scite/debian/copyright b/scite/debian/copyright new file mode 100644 index 0000000..8a923bb --- /dev/null +++ b/scite/debian/copyright @@ -0,0 +1,278 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: SciTE +Source: http://scintilla.sourceforge.net/SciTEDownload.html + +Files: * +Copyright: 1998-2014 Neil Hodgson <neilh@scintilla.org> +License: scintilla + +Files: debian/* +Copyright: 2000 Aubin Paul <aubin@debian.org> +License: GPL-3.0+ + +Files: scite/lua/* +Copyright: 1994-2003 Tecgraf, PUC-Rio +License: Expat + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + +Files: lexilla/lexers/LexRuby.cxx +Copyright: 2001- Clemens Wyss <wys@helbling.ch> +License: scintilla + +Files: lexilla/lexers/LexBaan.cxx +Copyright: 2001- Vamsi Potluru <vamsi@who.net>, + 2001- Praveen Ambekar <ambekarpraveen@yahoo.com> +License: scintilla + +Files: lexilla/lexers/LexAda.cxx +Copyright: 2002 Sergey Koshcheyev <sergey.k@seznam.cz> +License: scintilla + +Files: lexilla/lexers/LexCLW.cxx +Copyright: 2003-2004 Ron Schofield <ron@schofieldcomputer.com> +License: scintilla + +Files: lexilla/lexers/LexNsis.cxx +Copyright: 2003-2005 Angelo Mandato <angelo [at] spaceblue [dot] com> +License: scintilla + +Files: lexilla/lexers/LexLout.cxx +Copyright: 2003 Kein-Hong Man <mkh@pl.jaring.my> +License: scintilla + +Files: lexilla/lexers/LexMPT.cxx +Copyright: 2003 Marius Gheorghe <mgheorghe@cabletest.com> +License: scintilla + +Files: lexilla/lexers/LexEScript.cxx +Copyright: 2003 Patrizio Bekerle <patrizio@bekerle.com> +License: scintilla + +Files: lexilla/lexers/LexYAML.cxx +Copyright: 2003- Sean O'Dell <sean@celsoft.com> +License: scintilla + +Files: lexilla/lexers/LexAsn1.cxx +Copyright: 2004 Herr Pfarrer rpfarrer <at> yahoo <dot> de +License: scintilla + +Files: lexilla/lexers/LexKix.cxx +Copyright: 2004 Manfred Becker <manfred@becker-trdf.de> +License: scintilla + +Files: lexilla/lexers/LexRebol.cxx +Copyright: 2005 Pascal Hurni <pascal_hurni@fastmail.fm> +License: scintilla + +Files: lexilla/lexers/LexFlagship.cxx +Copyright: 1998-2003 Neil Hodgson <neilh@scintilla.org> + 2005 Randy Butler + 2010 Xavi <jarabal/at/gmail.com> (Harbour) +License: scintilla + +Files: lexilla/lexers/LexCaml.cxx +Copyright: 2005-2009 Robert Roessler <robertr@rftp.com> +License: scintilla + +Files: scite/src/Utf8_16.* +Copyright: 2002 Scott Kirkwood +License: scintilla + +Files: scite/src/Credits.cxx +Copyright: 1998 Dean S. Jones + 1998-2011 Neil Hodgson <neilh@scintilla.org> +License: scintilla + +Files: scite/gtk/pixmapsGNOME.h +Copyright: 1998 Dean S. Jones +License: scintilla + +Files: lexilla/lexers/LexTCL.cxx +Copyright: 1998-2001 Andre Arpin <arpin@kingston.net> +License: scintilla + +Files: scintilla/cocoa/PlatCocoa.h + scintilla/cocoa/InfoBarCommunicator.h + scintilla/cocoa/ScintillaTest/AppController.h + scintilla/cocoa/ScintillaTest/main.m + scintilla/cocoa/InfoBar.h + scintilla/cocoa/ScintillaCocoa.h +Copyright: 2009 Sun Microsystems, Inc. +License: LGPL-2.1 + +Files: scintilla/cocoa/ScintillaView.h +Copyright: 2009, 2011 Sun Microsystems, Inc. + 2011, 2013, Oracle and/or its affiliates +License: LGPL-2.1 + +Files: lexilla/lexers/LexPLM.cxx +Copyright: 1990-2007, Scientific Toolworks, Inc +License: scintilla + +Files: scintilla/qt/ScintillaEditBase/PlatQt.* + scintilla/qt/ScintillaEditBase/ScintillaEditBase.* + scintilla/qt/ScintillaEditBase/ScintillaQt.* +Copyright: 1990-2011, Scientific Toolworks, Inc + 2011 Archaeopteryx Software, Inc. d/b/a Wingware +License: scintilla + +Files: scintilla/qt/ScintillaEdit/ScintillaDocument.* +Copyright: 2011 Archaeopteryx Software, Inc. d/b/a Wingware +License: scintilla + +Files: lexilla/lexers/LexCmake.cxx +Copyright: 2007 Cristian Adam <cristian [dot] adam [at] gmx [dot] net> +License: scintilla + +Files: lexilla/lexers/LexKVIrc.cxx +Copyright: 1998-2002 Neil Hodgson <neilh@scintilla.org> + 2013 OmegaPhil <OmegaPhil+scintilla@gmail.com> + 2007 Cristian Adam <cristian [dot] adam [at] gmx [dot] net> +License: scintilla + +Files: lexilla/lexers/LexAVS.cxx +Copyright: 2012 Bruno Barbieri <brunorex@gmail.com> +License: scintilla + +Files: lexilla/lexers/LexGAP.cxx +Copyright: 2007 Istvan Szollosi ( szteven <at> gmail <dot> com ) +License: scintilla + +Files: lexilla/lexers/LexSML.cxx +Copyright: 2009 James Moffatt and Yuzhou Xin +License: scintilla + +Files: lexilla/lexers/LexRust.cxx +Copyright: 1998-2005 Neil Hodgson <neilh@scintilla.org> + 2013 SiegeLord <slabode@aim.com> +License: scintilla + +Files: lexilla/lexers/LexSpice.cxx +Copyright: 2006 Fabien Proriol +License: scintilla + +Files: lexilla/lexers/LexA68k.cxx +Copyright: 2010 Martial Demolins <mdemolins(a)gmail.com> +License: scintilla + +Files: lexilla/lexers/LexPO.cxx +Copyright: 2012 Colomban Wendling <ban@herbesfolles.org> +License: scintilla + +Files: lexilla/lexers/LexD.cxx +Copyright: 1998-2005 by Neil Hodgson <neilh@scintilla.org> + 2006 Waldemar Augustyn <waldemar@wdmsys.com> +License: scintilla + +Files: lexilla/lexers/LexPowerShell.cxx +Copyright: 2008 Tim Gerundt <tim@gerundt.de> +License: scintilla + +Files: lexilla/lexers/LexDMIS.cxx +Copyright: 1998-2005 Neil Hodgson <neilh@scintilla.org> + 2013-2014 Andreas Tscharner <andy@vis.ethz.ch> +License: scintilla + +Files: lexilla/lexers/LexNimrod.cxx +Copyright: 1998-2002 Neil Hodgson <neilh@scintilla.org> + 2009 Andreas Rumpf +License: scintilla + +Files: lexilla/lexers/LexProgress.cxx +Copyright: 2006-2007 Yuval Papish <Yuval@YuvCom.com> +License: scintilla + +Files: scite/src/JobQueue.cxx +Copyright: 1998-2003 Neil Hodgson <neilh@scintilla.org> + 2007 Neil Hodgson <neilh@scintilla.org>, + April White <april_white@sympatico.ca> +License: scintilla + +Files: scintilla/test/unit/catch.hpp +Copyright: 2012 Two Blue Cubes Ltd. +License: BSL-1.0 + Permission is hereby granted, free of charge, to any person or organization + obtaining a copy of the software and accompanying documentation covered by + this license (the "Software") to use, reproduce, display, distribute, + execute, and transmit the Software, and to prepare derivative works of the + Software, and to permit third-parties to whom the Software is furnished to + do so, all subject to the following: + . + The copyright notices in the Software and this entire statement, including + the above license grant, this restriction and the following disclaimer, + must be included in all copies of the Software, in whole or in part, and + all derivative works of the Software, unless such copies or derivative + works are solely in the form of machine-executable object code generated by + a source language processor. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT + SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE + FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + +License: GPL-3.0+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + +License: LGPL-2.1 + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + . + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +License: scintilla + Permission to use, copy, modify, and distribute this software and its + documentation for any purpose and without fee is hereby granted, + provided that the above copyright notice appear in all copies and that + both that copyright notice and this permission notice appear in + supporting documentation. + . + NEIL HODGSON DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS + SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS, IN NO EVENT SHALL NEIL HODGSON BE LIABLE FOR ANY + SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, + WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE + OR PERFORMANCE OF THIS SOFTWARE. diff --git a/scite/debian/dirs b/scite/debian/dirs new file mode 100644 index 0000000..174b335 --- /dev/null +++ b/scite/debian/dirs @@ -0,0 +1,7 @@ +usr/bin +usr/share/man/man1 +usr/share +usr/share/applications +usr/share/pixmaps +usr/share/applications +etc/scite diff --git a/scite/debian/fix-doc.sh b/scite/debian/fix-doc.sh new file mode 100644 index 0000000..0a965e4 --- /dev/null +++ b/scite/debian/fix-doc.sh @@ -0,0 +1,20 @@ +#!/bin/sh + +#set -x +set -e + +DOCDIR=debian/scite/usr/share/scite +#DOCDIR=scite/doc + +for htmlfile in ${DOCDIR}/*.html +do + for f in ${DOCDIR}/*.html ${DOCDIR}/*.png ${DOCDIR}/*.jpg + do + fname=$(basename $f) + sed -i -r \ + -e "s|href=\"https?://www.scintilla.org/${fname}|href=\"${fname}|gI" \ + -e "s|url\(https?://www.scintilla.org/${fname}\)|url(${fname})|gI" \ + -e "s|src=\"https?://(www\.)?scintilla.org/${fname}|src=\"${fname}|gI" \ + ${htmlfile} + done +done diff --git a/scite/debian/gbp.conf b/scite/debian/gbp.conf new file mode 100644 index 0000000..c9bd187 --- /dev/null +++ b/scite/debian/gbp.conf @@ -0,0 +1,25 @@ +[DEFAULT] + +# The default name for the upstream branch is "upstream". +# Change it if the name is different (for instance, "master"). +upstream-branch = upstream/latest + +# The default name for the Debian branch is "master". +# Change it if the name is different (for instance, "debian/unstable"). +debian-branch = debian/master + +# git-import-orig uses the following names for the upstream tags. +# Change the value if you are not using git-import-orig +upstream-tag = upstream/%(version)s + +# Always use pristine-tar. +pristine-tar = True + +[import-orig] + +# Make sure we merge to debian/master branch +merge = True + +# Filter out files +filter = [ 'scintilla/tgzsrc.orig' ] + diff --git a/scite/debian/images/Sci32M.xpm b/scite/debian/images/Sci32M.xpm new file mode 100644 index 0000000..ce567c6 --- /dev/null +++ b/scite/debian/images/Sci32M.xpm @@ -0,0 +1,832 @@ +/* XPM */ +static char * Sci32M_xpm[] = { +"32 32 797 2", +" c None", +". c #3D485E", +"+ c #3D485F", +"@ c #364156", +"# c #3B475D", +"$ c #414F69", +"% c #37435A", +"& c #36425B", +"* c #3B4A68", +"= c #2F3645", +"- c #4B5871", +"; c #505D74", +"> c #4D586E", +", c #454F62", +"' c #606E88", +") c #5B6985", +"! c #414D64", +"~ c #536280", +"{ c #4E5F81", +"] c #3F4E69", +"^ c #435478", +"/ c #384868", +"( c #2E384D", +"_ c #424D5E", +": c #576375", +"< c #57606E", +"[ c #525B6A", +"} c #778192", +"| c #3B414B", +"1 c #8A98A8", +"2 c #404753", +"3 c #758398", +"4 c #4B5669", +"5 c #58667F", +"6 c #51607E", +"7 c #404D68", +"8 c #47587A", +"9 c #394868", +"0 c #364566", +"a c #30353E", +"b c #485468", +"c c #677281", +"d c #484F5D", +"e c #8F96A5", +"f c #3D414E", +"g c #A1A6B3", +"h c #4D5363", +"i c #8992A1", +"j c #686E79", +"k c #545E70", +"l c #8494A9", +"m c #3C4454", +"n c #586581", +"o c #6478A1", +"p c #3D4964", +"q c #46587D", +"r c #4A5D87", +"s c #323E5C", +"t c #354464", +"u c #23262D", +"v c #636F7E", +"w c #404551", +"x c #9BA1A7", +"y c #222531", +"z c #C7C8CD", +"A c #393C48", +"B c #A3A6B3", +"C c #7A7D86", +"D c #404557", +"E c #BEC3D0", +"F c #535768", +"G c #434B5E", +"H c #8FA0B8", +"I c #5E6983", +"J c #3D465C", +"K c #6A7EA7", +"L c #506285", +"M c #45567B", +"N c #445983", +"O c #3A4A70", +"P c #293246", +"Q c #404B5C", +"R c #48505C", +"S c #6F7A88", +"T c #636570", +"U c #888A94", +"V c #20222B", +"W c #DBDDE2", +"X c #50535F", +"Y c #6C6E76", +"Z c #D1D3DC", +"` c #2A2E3F", +" . c #505564", +".. c #C4C9D3", +"+. c #5C6374", +"@. c #353A44", +"#. c #8092AC", +"$. c #7283A0", +"%. c #3B4359", +"&. c #3F4C67", +"*. c #5B72A2", +"=. c #425379", +"-. c #3E4C6F", +";. c #3C4F7A", +">. c #374668", +",. c #2A2E35", +"'. c #54627A", +"). c #9299A1", +"!. c #3C404D", +"~. c #878996", +"{. c #878A99", +"]. c #373E55", +"^. c #CCCDD6", +"/. c #767989", +"(. c #3C435E", +"_. c #A8AAB4", +":. c #A8AAB8", +"<. c #363B4E", +"[. c #565A68", +"}. c #C2CEDA", +"|. c #76829B", +"1. c #353E56", +"2. c #54617C", +"3. c #86A2D2", +"4. c #5E6F96", +"5. c #4A557A", +"6. c #45567D", +"7. c #5975B2", +"8. c #3E4E75", +"9. c #3A4362", +"0. c #202023", +"a. c #627183", +"b. c #394152", +"c. c #B8BBC3", +"d. c #2A2D39", +"e. c #848591", +"f. c #A0A3B3", +"g. c #1C202C", +"h. c #A2A8BE", +"i. c #C9CAD3", +"j. c #212431", +"k. c #4D5164", +"l. c #D7D7DB", +"m. c #8B8C95", +"n. c #36384A", +"o. c #4D5160", +"p. c #AEBFD0", +"q. c #8495AC", +"r. c #424C72", +"s. c #3B4560", +"t. c #5F749D", +"u. c #6A86B9", +"v. c #526288", +"w. c #5F6D9F", +"x. c #415582", +"y. c #5572B5", +"z. c #2F3D5B", +"A. c #47566D", +"B. c #7D8C9E", +"C. c #33343A", +"D. c #C6C7CF", +"E. c #242A3A", +"F. c #6E7792", +"G. c #CFD1D8", +"H. c #424A62", +"I. c #494C57", +"J. c #DFE0E3", +"K. c #8C8E9C", +"L. c #22242C", +"M. c #616471", +"N. c #DDDEE2", +"O. c #838692", +"P. c #404357", +"Q. c #4F5777", +"R. c #8293AB", +"S. c #97AFD1", +"T. c #444C73", +"U. c #4A5579", +"V. c #607DB6", +"W. c #5977B2", +"X. c #333E59", +"Y. c #464E6C", +"Z. c #4D6399", +"`. c #363F4B", +" + c #4B596D", +".+ c #8492A4", +"++ c #363A46", +"@+ c #CFD0D4", +"#+ c #3F4C6D", +"$+ c #3C4256", +"%+ c #ECEEF5", +"&+ c #5F6169", +"*+ c #555B77", +"=+ c #8E909D", +"-+ c #DCDCE3", +";+ c #717385", +">+ c #24252D", +",+ c #616472", +"'+ c #E8EBF3", +")+ c #A0A9BC", +"!+ c #222430", +"~+ c #424C70", +"{+ c #8BA3C8", +"]+ c #96B6E9", +"^+ c #647AA9", +"/+ c #293044", +"(+ c #46506E", +"_+ c #667BB3", +":+ c #6A8CD6", +"<+ c #7090DC", +"[+ c #313A54", +"}+ c #1F242E", +"|+ c #222326", +"1+ c #657B92", +"2+ c #3C4558", +"3+ c #919FB2", +"4+ c #262C3C", +"5+ c #BEC1CA", +"6+ c #676C7D", +"7+ c #384467", +"8+ c #ADADB5", +"9+ c #C9CDDC", +"0+ c #2A2D3A", +"a+ c #3D4253", +"b+ c #C5C6CD", +"c+ c #D6D6DF", +"d+ c #53586E", +"e+ c #34384B", +"f+ c #4E5365", +"g+ c #C1D2E5", +"h+ c #B1C4E5", +"i+ c #505A79", +"j+ c #212331", +"k+ c #3F486A", +"l+ c #7E9BD4", +"m+ c #84AAEF", +"n+ c #5A70A8", +"o+ c #252C3C", +"p+ c #242938", +"q+ c #4B5F90", +"r+ c #5D82D2", +"s+ c #48649F", +"t+ c #273147", +"u+ c #6F8398", +"v+ c #333841", +"w+ c #A0ABB5", +"x+ c #283454", +"y+ c #99A1B7", +"z+ c #A8AFBF", +"A+ c #21283B", +"B+ c #878EA8", +"C+ c #EBECF2", +"D+ c #71778C", +"E+ c #2D344D", +"F+ c #4C4E5D", +"G+ c #D4D8E4", +"H+ c #BDC0CB", +"I+ c #41465B", +"J+ c #454E73", +"K+ c #464C60", +"L+ c #9AAEC8", +"M+ c #A3BEDE", +"N+ c #6876A0", +"O+ c #353B57", +"P+ c #272C3C", +"Q+ c #3E4C6D", +"R+ c #7DA2EA", +"S+ c #6487CB", +"T+ c #647CAB", +"U+ c #535E85", +"V+ c #2B3550", +"W+ c #3A4E7A", +"X+ c #5170A4", +"Y+ c #4C4E51", +"Z+ c #8096AC", +"`+ c #2C323F", +" @ c #B7C4D0", +".@ c #3C4A6C", +"+@ c #4C5773", +"@@ c #DCDCE1", +"#@ c #5D6A8F", +"$@ c #242D47", +"%@ c #9A9EAD", +"&@ c #DBDBDE", +"*@ c #575D70", +"=@ c #3F4A70", +"-@ c #404456", +";@ c #DFE5F3", +">@ c #D5E0F0", +",@ c #3D4453", +"'@ c #3A4568", +")@ c #4E5982", +"!@ c #67799B", +"~@ c #9EC0F4", +"{@ c #6D87B6", +"]@ c #62709E", +"^@ c #555F8A", +"/@ c #343A4F", +"(@ c #3F537E", +"_@ c #668EDD", +":@ c #597DC5", +"<@ c #303E5C", +"[@ c #3A4357", +"}@ c #445072", +"|@ c #333C52", +"1@ c #44494F", +"2@ c #7C95A3", +"3@ c #262E3D", +"4@ c #A0A9B1", +"5@ c #5E6980", +"6@ c #324576", +"7@ c #C8CAD2", +"8@ c #9BA3B7", +"9@ c #2E3445", +"0@ c #4F5978", +"a@ c #D8D9DE", +"b@ c #CAD0E2", +"c@ c #2B3142", +"d@ c #455681", +"e@ c #565E72", +"f@ c #BFCFD9", +"g@ c #B6CCE5", +"h@ c #5B698A", +"i@ c #23293B", +"j@ c #56638D", +"k@ c #6A7EAB", +"l@ c #7B9DD7", +"m@ c #7DA1E1", +"n@ c #475A80", +"o@ c #434C67", +"p@ c #5C6A98", +"q@ c #677BB2", +"r@ c #6685C4", +"s@ c #6791E1", +"t@ c #7BA5EB", +"u@ c #4B5C7B", +"v@ c #1E2026", +"w@ c #444D55", +"x@ c #79868D", +"y@ c #4B5259", +"z@ c #6B7786", +"A@ c #B1C0D7", +"B@ c #2B334A", +"C@ c #788AAD", +"D@ c #EBEDF2", +"E@ c #66779C", +"F@ c #242C39", +"G@ c #7B8DAB", +"H@ c #D9DCE2", +"I@ c #C2CEE3", +"J@ c #464F63", +"K@ c #374458", +"L@ c #546173", +"M@ c #97ADC6", +"N@ c #B5D5F7", +"O@ c #8BA3C4", +"P@ c #323A4F", +"Q@ c #383F4C", +"R@ c #515D77", +"S@ c #6E8CBE", +"T@ c #729BE0", +"U@ c #779FE7", +"V@ c #455981", +"W@ c #202530", +"X@ c #242832", +"Y@ c #2D374D", +"Z@ c #55729B", +"`@ c #A9CAD7", +" # c #677A89", +".# c #465159", +"+# c #616D7B", +"@# c #88909B", +"## c #2F3747", +"$# c #CCD7DF", +"%# c #525C70", +"&# c #4F638E", +"*# c #B3B5BA", +"=# c #BDC0C7", +"-# c #506A96", +";# c #313D4E", +"># c #6C80A8", +",# c #DFEDF4", +"'# c #A6BBCB", +")# c #374869", +"!# c #232A39", +"~# c #526286", +"{# c #7288A8", +"]# c #A0C5F3", +"^# c #87A7CE", +"/# c #5E7091", +"(# c #384150", +"_# c #282C35", +":# c #4D6083", +"<# c #8DB7F3", +"[# c #7DADF3", +"}# c #7199CA", +"|# c #7D9DC6", +"1# c #5C71A3", +"2# c #424E66", +"3# c #576478", +"4# c #5A6B87", +"5# c #414954", +"6# c #4F5E73", +"7# c #B0BCC5", +"8# c #363F4C", +"9# c #BBCDE3", +"0# c #D3E3F0", +"a# c #2A3242", +"b# c #51648B", +"c# c #DEE0E4", +"d# c #B7BEC8", +"e# c #313E5E", +"f# c #374871", +"g# c #62728D", +"h# c #C5E2F2", +"i# c #A2BCD1", +"j# c #596B91", +"k# c #272C38", +"l# c #484F64", +"m# c #6A7C9E", +"n# c #89ADDB", +"o# c #8EBBEB", +"p# c #819FC2", +"q# c #77869D", +"r# c #454F65", +"s# c #2E3647", +"t# c #354258", +"u# c #89AABE", +"v# c #CCE9F5", +"w# c #92B3C9", +"x# c #4D5E76", +"y# c #242935", +"z# c #17181C", +"A# c #4B556B", +"B# c #515F72", +"C# c #89939D", +"D# c #6A7B8E", +"E# c #6B7C8D", +"F# c #D8DBE0", +"G# c #5A6682", +"H# c #2C3D64", +"I# c #778195", +"J# c #EAF0F8", +"K# c #8E9AB4", +"L# c #252B3F", +"M# c #42568E", +"N# c #56667D", +"O# c #D9F3FC", +"P# c #BED0D8", +"Q# c #6F7586", +"R# c #30333F", +"S# c #515667", +"T# c #6B7794", +"U# c #88A5B6", +"V# c #C5E7F6", +"W# c #A1B7C2", +"X# c #6E7D8C", +"Y# c #5D6D8D", +"Z# c #677BA9", +"`# c #6C82AE", +" $ c #97B5D5", +".$ c #A2C5E9", +"+$ c #8DB5F4", +"@$ c #6B87C8", +"#$ c #3A4665", +"$$ c #3F4862", +"%$ c #545D78", +"&$ c #4C5569", +"*$ c #9DADC8", +"=$ c #2B3A58", +"-$ c #798AAF", +";$ c #D4DEF0", +">$ c #454D5E", +",$ c #374D81", +"'$ c #6D778D", +")$ c #E6EDF2", +"!$ c #9FAFCF", +"~$ c #29324C", +"{$ c #435283", +"]$ c #4D5566", +"^$ c #B2C3D0", +"/$ c #CAE4F1", +"($ c #A3B5CB", +"_$ c #4F5464", +":$ c #43454F", +"<$ c #656975", +"[$ c #69768D", +"}$ c #85A2BF", +"|$ c #9EC5F4", +"1$ c #7694C8", +"2$ c #3E4B6B", +"3$ c #252A37", +"4$ c #1E2028", +"5$ c #16171C", +"6$ c #1F2229", +"7$ c #384564", +"8$ c #343D54", +"9$ c #3A4158", +"0$ c #616D94", +"a$ c #333E5F", +"b$ c #868EAA", +"c$ c #49567A", +"d$ c #2A3F72", +"e$ c #A6AEBF", +"f$ c #999EB2", +"g$ c #435A8F", +"h$ c #333D5B", +"i$ c #8690A5", +"j$ c #D0DFF5", +"k$ c #7B88AC", +"l$ c #353E5B", +"m$ c #454F6E", +"n$ c #464E62", +"o$ c #A4B8D4", +"p$ c #A9C6F3", +"q$ c #8599C5", +"r$ c #676F88", +"s$ c #40424B", +"t$ c #7F89A4", +"u$ c #97ABD1", +"v$ c #7A98DC", +"w$ c #7293E3", +"x$ c #5F7ABB", +"y$ c #627BB1", +"z$ c #586988", +"A$ c #2B2F3B", +"B$ c #16171B", +"C$ c #18191C", +"D$ c #36405E", +"E$ c #5A6896", +"F$ c #2D3244", +"G$ c #909ACA", +"H$ c #3D5189", +"I$ c #475070", +"J$ c #ADB5E0", +"K$ c #7D87B1", +"L$ c #374D8F", +"M$ c #262F49", +"N$ c #6876A1", +"O$ c #ABB7E6", +"P$ c #8792BF", +"Q$ c #545D7F", +"R$ c #3D4257", +"S$ c #404352", +"T$ c #67708B", +"U$ c #879BDB", +"V$ c #819AE3", +"W$ c #8796C2", +"X$ c #525970", +"Y$ c #3D414C", +"Z$ c #373C4D", +"`$ c #404C6D", +" % c #556BA5", +".% c #536DB0", +"+% c #5874BB", +"@% c #5770B2", +"#% c #344164", +"$% c #3C486C", +"%% c #515878", +"&% c #313545", +"*% c #5E617B", +"=% c #7E89B8", +"-% c #2B334C", +";% c #48506F", +">% c #A8ADDC", +",% c #8492D1", +"'% c #252A3B", +")% c #2B3048", +"!% c #636C93", +"~% c #919AC9", +"{% c #8792BE", +"]% c #51576E", +"^% c #575B6C", +"/% c #5E5F69", +"(% c #565B6C", +"_% c #6F7BA2", +":% c #7187CC", +"<% c #6377B4", +"[% c #6F80AC", +"}% c #5B6581", +"|% c #4B5169", +"1% c #535E7E", +"2% c #6373A1", +"3% c #566796", +"4% c #3D4866", +"5% c #38476D", +"6% c #37476F", +"7% c #323646", +"8% c #394059", +"9% c #545971", +"0% c #202128", +"a% c #696B8C", +"b% c #656FA5", +"c% c #2A3A6B", +"d% c #565F84", +"e% c #9297CD", +"f% c #7579A1", +"g% c #414B72", +"h% c #37405F", +"i% c #525D80", +"j% c #70779D", +"k% c #8993C2", +"l% c #686F8E", +"m% c #525563", +"n% c #525462", +"o% c #4D4E58", +"p% c #454A5E", +"q% c #68759C", +"r% c #52649C", +"s% c #4F64A0", +"t% c #3A4872", +"u% c #2A324C", +"v% c #1D212D", +"w% c #21232C", +"x% c #3A3C47", +"y% c #303444", +"z% c #191B1E", +"A% c #34394B", +"B% c #404764", +"C% c #484B5E", +"D% c #242632", +"E% c #8596DE", +"F% c #6681CC", +"G% c #2D3855", +"H% c #424E77", +"I% c #8388B9", +"J% c #7C83B8", +"K% c #383E58", +"L% c #404969", +"M% c #434A63", +"N% c #5C6485", +"O% c #717AA6", +"P% c #666E95", +"Q% c #5A5F76", +"R% c #4A4C56", +"S% c #656B7F", +"T% c #606A84", +"U% c #3B4159", +"V% c #323B56", +"W% c #3C4B76", +"X% c #44578F", +"Y% c #3C4D7E", +"Z% c #364570", +"`% c #303C61", +" & c #2E364D", +".& c #323546", +"+& c #444A66", +"@& c #3D3F4F", +"#& c #404A66", +"$& c #8399CC", +"%& c #6E819E", +"&& c #3E507C", +"*& c #344169", +"=& c #6A79B5", +"-& c #7376A1", +";& c #565C7B", +">& c #434D69", +",& c #4F597A", +"'& c #49506B", +")& c #5B6381", +"!& c #535C81", +"~& c #5B678F", +"{& c #454B66", +"]& c #40465A", +"^& c #474E69", +"/& c #5A688F", +"(& c #4D5261", +"_& c #282A2F", +":& c #24293C", +"<& c #333D59", +"[& c #303C5F", +"}& c #2D2F3B", +"|& c #373D54", +"1& c #474A5F", +"2& c #3C4057", +"3& c #3F5083", +"4& c #849ABA", +"5& c #334373", +"6& c #344578", +"7& c #525D8F", +"8& c #686E9B", +"9& c #5B6282", +"0& c #424A67", +"a& c #4D5B81", +"b& c #444D65", +"c& c #434B68", +"d& c #5B668C", +"e& c #58638C", +"f& c #465074", +"g& c #414B6E", +"h& c #2F364B", +"i& c #252830", +"j& c #3F4046", +"k& c #343740", +"l& c #191A1E", +"m& c #1A1B21", +"n& c #2D303E", +"o& c #373E59", +"p& c #3F4154", +"q& c #3C3D50", +"r& c #262C3D", +"s& c #495672", +"t& c #6477A2", +"u& c #3D4D7A", +"v& c #33426E", +"w& c #363F5F", +"x& c #4B5171", +"y& c #525875", +"z& c #4F5774", +"A& c #444C68", +"B& c #485375", +"C& c #3E455E", +"D& c #454F70", +"E& c #56638A", +"F& c #383F57", +"G& c #313A57", +"H& c #3D496E", +"I& c #323D60", +"J& c #364265", +"K& c #222736", +"L& c #2C2F3D", +"M& c #31374C", +"N& c #33374A", +"O& c #3A3C4D", +"P& c #1D1F26", +"Q& c #303850", +"R& c #4E5B8D", +"S& c #43496D", +"T& c #344068", +"U& c #3B466A", +"V& c #353E5D", +"W& c #49506E", +"X& c #454A64", +"Y& c #414864", +"Z& c #495372", +"`& c #292D3B", +" * c #3B3D49", +".* c #1F2128", +"+* c #363C51", +"@* c #1D212F", +"#* c #272A36", +"$* c #2B3146", +"%* c #2F364E", +"&* c #383B4E", +"** c #3F496A", +"=* c #303751", +"-* c #3A3E55", +";* c #3C3E52", +">* c #3A4059", +",* c #394260", +"'* c #2C334A", +")* c #383F56", +"!* c #383D51", +"~* c #353A4C", +"{* c #32384C", +"]* c #31374B", +"^* c #333950", +"/* c #282E41", +"(* c #202431", +"_* c #1A1B1F", +":* c #262B37", +"<* c #282C3D", +"[* c #303547", +"}* c #393D53", +"|* c #32384E", +"1* c #343B54", +"2* c #292C38", +"3* c #2F3242", +"4* c #2C303F", +"5* c #2C2F3C", +"6* c #252832", +"7* c #2D313E", +"8* c #262935", +"9* c #2A2E3C", +"0* c #21242F", +"a* c #20242E", +"b* c #222429", +"c* c #262A3B", +"d* c #1A1C22", +"e* c #282C3B", +"f* c #30364C", +"g* c #333A54", +"h* c #2A3044", +"i* c #272A37", +"j* c #292E3F", +"k* c #2A2F42", +"l* c #272D3F", +"m* c #1E212A", +"n* c #1B1C1F", +"o* c #1C1E21", +"p* c #1D1F22", +"q* c #22242D", +"r* c #232631", +"s* c #222734", +"t* c #1C1D23", +"u* c #1E1F22", +"v* c #1C1D21", +" . + @ # $ % & * ", +" = - ; > , ' ) ! ~ { ] ^ / ( ", +" _ : < [ } | 1 2 3 4 5 6 7 8 9 0 ", +" a b c d e f g h i j k l m n o p q r s t ", +" u v w x y z A B C D E F G H I J K L M N O P ", +" Q R S T U V W X Y Z ` ...+.@.#.$.%.&.*.=.-.;.>. ", +" ,.'.).!.~.{.].^./.(._.:.<.[.}.|.1.2.3.4.5.6.7.8.9.0. ", +" a.b.c.d.e.f.g.h.i.j.k.l.m.n.o.p.q.r.s.t.u.v.w.x.y.z. ", +" A.B.C.D.E.F.G.H.I.J.K.L.M.N.O.P.Q.R.S.6 T.U.V.W.X.Y.Z.0 ", +" `. +.+++@+#+$+%+&+*+=+-+;+>+,+'+)+!+~+{+]+^+/+(+_+:+<+[+}+|+ ", +" 1+2+3+4+5+6+7+8+9+0+a+b+c+d+e+f+g+h+i+j+k+l+m+n+o+p+q+r+s+t+ ", +" u+v+w+x+y+z+A+B+C+D+E+F+G+H+I+J+K+L+M+N+O+P+Q+R+S+T+U+V+W+X+ ", +"Y+Z+`+ @.@+@@@#@$@%@&@*@=@-@;@>@,@'@)@!@~@{@]@^@/@(@_@:@<@[@}@|@", +"1@2@3@4@5@6@7@8@9@0@a@b@c@d@e@f@g@h@i@j@k@l@m@n@o@p@q@r@s@t@u@v@", +"w@x@y@z@A@B@C@D@E@F@G@H@I@J@K@L@M@N@O@P@Q@R@S@T@U@V@W@X@Y@Z@`@ #", +".#+#@###$#%#&#*#=#-#;#>#,#'#)#!#~#{#]#^#/#(#_#:#<#[#}#|#1#2#3#4#", +"5#6#7#8#9#0#a#b#c#d#e#f#g#h#i#j#k#l#m#n#o#p#q#r#s#t#u#v#w#x#y#z#", +"A#B#C#D#E#F#G#H#I#J#K#L#M#N#O#P#Q#R#S#T#U#V#W#X#Y#Z#`# $.$+$@$#$", +"$$%$&$*$=$-$;$>$,$'$)$!$~${$]$^$/$($_$:$<$[$}$|$1$2$3$4$5$6$7$8$", +"9$0$a$b$c$d$e$f$g$h$i$j$k$l$m$n$o$p$q$r$s$o.t$u$v$w$x$y$z$A$B$C$", +" D$E$F$G$H$I$J$K$L$M$N$O$P$Q$R$S$T$U$V$W$X$++Y$Z$`$ %.%+%@%#% ", +" $%%%&%*%=%-%;%>%,%'%)%!%~%{%]%^%/%(%_%:%<%[%}%|%1%2%3%4%5%6% ", +" 7%8%9%0%a%b%c%d%e%f%g%h%i%j%k%l%m%n%o%p%q%r%s%t%u%v%w%x%y%z% ", +" A%B%C%D%E%F%G%H%I%J%K%L%M%N%O%P%Q%R%S%T%U%V%W%X%Y%Z%`% & ", +" .&+&@&#&$&%&&&*&=&-&;&>&,&'&)&!&~&{&]&^&/&(&_&:&<&[& ", +" }&|&1&2&3&4&R.5&6&7&8&9&0&a&b&c&d&e&f&g&h&i&j&k&l&m& ", +" n&o&p&q&r&s&t&u&v&w&x&y&z&A&B&C&D&E&F&G&H&I&J&K& ", +" L&M&N&O&P&Q&R&S&T&U&V&W&X&Y&F&Z&`& *.*+*K&@* ", +" #*$*%*&***=*-*;*>*,*'*)*!*~*{*]*^*/*(*_* ", +" :*<*[*}*|*1*2*3*4*5*6*7*8*9*0*a* ", +" b*c*d*e*2*f*g*h*i*j*k*l*m*n* ", +" o*p*q*r*s*t*u*v* "}; diff --git a/scite/debian/images/SciBreak2.jpg b/scite/debian/images/SciBreak2.jpg Binary files differnew file mode 100644 index 0000000..bec27bb --- /dev/null +++ b/scite/debian/images/SciBreak2.jpg diff --git a/scite/debian/images/UserStrip.png b/scite/debian/images/UserStrip.png Binary files differnew file mode 100644 index 0000000..c64249a --- /dev/null +++ b/scite/debian/images/UserStrip.png diff --git a/scite/debian/install b/scite/debian/install new file mode 100644 index 0000000..b03d057 --- /dev/null +++ b/scite/debian/install @@ -0,0 +1,5 @@ +debian/images/UserStrip.png usr/share/scite +debian/images/SciBreak2.jpg usr/share/scite +scite/doc/SciTEWord.jpg usr/share/scite +scintilla/doc/* usr/share/scite + diff --git a/scite/debian/links b/scite/debian/links new file mode 100644 index 0000000..37671ad --- /dev/null +++ b/scite/debian/links @@ -0,0 +1,2 @@ +usr/bin/SciTE usr/bin/scite +usr/share/man/man1/scite.1.gz usr/share/man/man1/SciTE.1.gz diff --git a/scite/debian/manpages b/scite/debian/manpages new file mode 100644 index 0000000..5e65584 --- /dev/null +++ b/scite/debian/manpages @@ -0,0 +1 @@ +scite/doc/scite.1
\ No newline at end of file diff --git a/scite/debian/patches/0002-do_not_use_remote_logo.patch b/scite/debian/patches/0002-do_not_use_remote_logo.patch new file mode 100644 index 0000000..c90927e --- /dev/null +++ b/scite/debian/patches/0002-do_not_use_remote_logo.patch @@ -0,0 +1,58 @@ +From: Antonio Valentino <antonio.valentino@tiscali.it> +Date: Sat, 14 Apr 2018 17:39:34 +0000 +Subject: Fix the "privacy-breach-logo" error detected by lintian + +=================================================================== +--- + scintilla/doc/index.html | 15 +-------------- + scite/doc/SciTE.html | 15 +-------------- + 2 files changed, 2 insertions(+), 28 deletions(-) + +--- a/scintilla/doc/index.html ++++ b/scintilla/doc/index.html +@@ -172,20 +172,7 @@ + </p> + There is a <a href="https://sourceforge.net/projects/scintilla/">Scintilla project page</a> + hosted on +-<script type="text/javascript" language="JavaScript"> +-<!-- +-if (IsRemote()) { +- document.write('<a href="https://sourceforge.net/projects/scintilla/">'); +- document.write('<img src="https://sflogo.sourceforge.net/sflogo.php?group_id=2439&type=8" width="80" height="15" alt="Get Scintilla at SourceForge.net. Fast, secure and Free Open Source software downloads" /></a> '); +-} else { +- document.write('<a href="https://sourceforge.net/projects/scintilla/">SourceForge<\/a>'); +-} +-//--> +-</script> +-<noscript> +-<a href="https://sourceforge.net/projects/scintilla/"> +-<img src="https://sflogo.sourceforge.net/sflogo.php?group_id=2439&type=8" width="80" height="15" alt="Get Scintilla at SourceForge.net. Fast, secure and Free Open Source software downloads" /></a> +-</noscript> ++<a href="http://sourceforge.net/projects/scintilla/">SourceForge</a> + </body> + </html> + +--- a/scite/doc/SciTE.html ++++ b/scite/doc/SciTE.html +@@ -139,20 +139,7 @@ + <a href="https://sourceforge.net/project/showfiles.php?group_id=2439">the downloads page</a>. + </p> + There is a <a href="https://sourceforge.net/projects/scintilla/">Scintilla project page</a> hosted on +-<script type="text/javascript" language="JavaScript"> +-<!-- +-if (IsRemote()) { +- document.write('<a href="https://sourceforge.net/projects/scintilla/">'); +- document.write('<img src="https://sflogo.sourceforge.net/sflogo.php?group_id=2439&type=8" width="80" height="15" alt="Get Scintilla at SourceForge.net. Fast, secure and Free Open Source software downloads" /></a> '); +-} else { +- document.write('<a href="https://sourceforge.net/projects/scintilla/">SourceForge<\/a>'); +-} +-//--> +-</script> +-<noscript> +-<a href="https://sourceforge.net/projects/scintilla"> +-<img src="https://sflogo.sourceforge.net/sflogo.php?group_id=2439&type=8" width="80" height="15" alt="Get Scintilla at SourceForge.net. Fast, secure and Free Open Source software downloads" /></a> +-</noscript> ++<a href="http://sourceforge.net/projects/scintilla/">SourceForge</a> + </body> + </html> + diff --git a/scite/debian/patches/0003-reproducible_build.patch b/scite/debian/patches/0003-reproducible_build.patch new file mode 100644 index 0000000..0a8ce2a --- /dev/null +++ b/scite/debian/patches/0003-reproducible_build.patch @@ -0,0 +1,20 @@ +From: Antonio Valentino <antonio.valentino@tiscali.it> +Date: Sat, 14 Apr 2018 17:39:34 +0000 +Subject: Allow reproducible build + +=================================================================== +--- + scite/src/Credits.cxx | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/scite/src/Credits.cxx ++++ b/scite/src/Credits.cxx +@@ -601,7 +601,7 @@ + } + AddStyledText(wsci, GetTranslationToAbout("Version").c_str(), trsSty); + AddStyledText(wsci, sVersion.c_str(), 1); +- AddStyledText(wsci, " " __DATE__ " " __TIME__ "\n", 1); ++ AddStyledText(wsci, " " BUILD_DATE "\n", 1); + SetAboutStyle(wsci, 2, ColourRGB(0, 0, 0)); + wsci.StyleSetItalic(2, true); + AddStyledText(wsci, GetTranslationToAbout("by").c_str(), trsSty); diff --git a/scite/debian/patches/0005-scite-desktop.patch b/scite/debian/patches/0005-scite-desktop.patch new file mode 100644 index 0000000..c0d0693 --- /dev/null +++ b/scite/debian/patches/0005-scite-desktop.patch @@ -0,0 +1,16 @@ +From: Antonio Valentino <antonio.valentino@tiscali.it> +Date: Sat, 14 Apr 2018 18:30:43 +0000 +Subject: scite-desktop + +Add the Keywords entry to the desktop file. +--- + scite/gtk/SciTE.desktop | 1 + + 1 file changed, 1 insertion(+) + +--- a/scite/gtk/SciTE.desktop ++++ b/scite/gtk/SciTE.desktop +@@ -21,3 +21,4 @@ + StartupNotify=true + Categories=TextEditor;Development;GTK; + MimeType=text/plain; ++Keywords=TextEditor; diff --git a/scite/debian/patches/0007-Build-with-Debian-packaged-Lua.patch b/scite/debian/patches/0007-Build-with-Debian-packaged-Lua.patch new file mode 100644 index 0000000..0e5e8df --- /dev/null +++ b/scite/debian/patches/0007-Build-with-Debian-packaged-Lua.patch @@ -0,0 +1,78 @@ +From: =?utf-8?q?Andreas_R=C3=B6nnquist?= <gusnan@debian.org> +Date: Tue, 19 Jun 2018 15:34:57 +0200 +Subject: Build with Debian packaged Lua +Forwarded: not-needed + +--- + scite/gtk/deps.mak | 6 +----- + scite/gtk/makefile | 30 ++++-------------------------- + 2 files changed, 5 insertions(+), 31 deletions(-) + +--- a/scite/gtk/deps.mak ++++ b/scite/gtk/deps.mak +@@ -265,11 +265,7 @@ + ../src/Extender.h \ + ../src/IFaceTable.h \ + ../src/SciTEKeys.h \ +- ../src/LuaExtension.h \ +- ../lua/src/lua.h \ +- ../lua/src/luaconf.h \ +- ../lua/src/lualib.h \ +- ../lua/src/lauxlib.h ++ ../src/LuaExtension.h + MatchMarker.o: \ + ../src/MatchMarker.cxx \ + ../../scintilla/include/ScintillaTypes.h \ +--- a/scite/gtk/makefile ++++ b/scite/gtk/makefile +@@ -33,9 +33,9 @@ + + PYTHON = $(if $(windir),pyw,python3) + +-# For the Gnome desktop stuff to work, prefix must point to where Gnome thinks it is. +-CONFIGFLAGS:=$(shell $(PKG_CONFIG) --cflags $(GTK_VERSION)) +-CONFIGLIB:=$(shell $(PKG_CONFIG) --libs $(GTK_VERSION) gthread-2.0 gmodule-no-export-2.0) ++# For the Lua and Gnome desktop stuff to work, prefix must point to where Lua and Gnome thinks it is. ++CONFIGFLAGS:=$(shell $(PKG_CONFIG) --cflags $(GTK_VERSION)) $(shell $(PKG_CONFIG) --cflags lua5.4) ++CONFIGLIB:=$(shell $(PKG_CONFIG) --libs $(GTK_VERSION) gthread-2.0 gmodule-no-export-2.0) $(shell $(PKG_CONFIG) --libs lua5.4) + gnomeprefix:=$(shell $(PKG_CONFIG) --variable=prefix $(GTK_VERSION) 2>/dev/null) + ifndef prefix + ifdef gnomeprefix +@@ -72,28 +72,6 @@ + DEFINES += -D$(if $(DEBUG),DEBUG,NDEBUG) + BASE_FLAGS += $(if $(DEBUG),-g,-Os) + +-ifndef NO_LUA +-LUA_CORE_OBJS = lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o \ +- lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o \ +- ltable.o ltm.o lundump.o lvm.o lzio.o +- +-LUA_LIB_OBJS = lauxlib.o lbaselib.o lbitlib.o lcorolib.o ldblib.o liolib.o lmathlib.o ltablib.o \ +- lstrlib.o loadlib.o loslib.o linit.o lutf8lib.o +- +-LUA_OBJS = LuaExtension.o $(LUA_CORE_OBJS) $(LUA_LIB_OBJS) +- +-vpath %.c $(srcdir)/../lua/src +- +-INCLUDES += -I$(srcdir)/../lua/src +-LUA_DEFINES = -DLUA_USE_POSIX -DLUA_USE_DLOPEN +- +-%.o: %.c +- $(CC) $(CPPFLAGS) $(DEFINES) $(INCLUDES) $(WARNINGS) $(LUA_DEFINES) $(BASE_FLAGS) $(CFLAGS) -c $< -o $@ +- +-else +-DEFINES += -DNO_LUA +-endif +- + LIBS += -lm -lstdc++ + + UNAME:=$(shell uname -s) +@@ -154,7 +132,7 @@ + StyleWriter.o \ + Utf8_16.o + +-$(PROG): SciTEGTK.o Strips.o GUIGTK.o Widget.o DirectorExtension.o $(SRC_OBJS) $(LUA_OBJS) ++$(PROG): SciTEGTK.o Strips.o GUIGTK.o Widget.o DirectorExtension.o $(SRC_OBJS) LuaExtension.o + $(CXX) $(BASE_FLAGS) $(LDFLAGS) -rdynamic -Wl,--as-needed -Wl,-rpath,'$${ORIGIN}' -Wl,--version-script $(srcdir)/lua.vers -Wl,-rpath,$(libdir) $^ -o $@ $(CONFIGLIB) $(LIBS) -L ../../scintilla/bin -lscintilla $(LDLIBS) + + # Automatically generate header dependencies with "make depend" diff --git a/scite/debian/patches/series b/scite/debian/patches/series new file mode 100644 index 0000000..45df0d6 --- /dev/null +++ b/scite/debian/patches/series @@ -0,0 +1,5 @@ +0002-do_not_use_remote_logo.patch +0003-reproducible_build.patch +0005-scite-desktop.patch +0007-Build-with-Debian-packaged-Lua.patch +use-lua5.4.4.patch diff --git a/scite/debian/patches/use-lua5.4.4.patch b/scite/debian/patches/use-lua5.4.4.patch new file mode 100644 index 0000000..4268cc1 --- /dev/null +++ b/scite/debian/patches/use-lua5.4.4.patch @@ -0,0 +1,187 @@ +Name: Patch scite to use distro package of lua, Devuan +Version: 5.2.2 +Lua Version: 5.4.4 +Author: bgstack15@gmail.com +Date: 2022-04-04 +diff -aur scite/gtk/deps.mak scite/gtk/deps.mak +--- a/scite/gtk/deps.mak 2022-03-30 20:48:24.000000000 -0400 ++++ b/scite/gtk/deps.mak 2022-04-04 14:47:39.110529717 -0400 +@@ -469,13 +469,6 @@ + ../lua/src/luaconf.h \ + ../lua/src/lauxlib.h \ + ../lua/src/lualib.h +-lbitlib.o: \ +- ../lua/src/lbitlib.c \ +- ../lua/src/lprefix.h \ +- ../lua/src/lua.h \ +- ../lua/src/luaconf.h \ +- ../lua/src/lauxlib.h \ +- ../lua/src/lualib.h + lcode.o: \ + ../lua/src/lcode.c \ + ../lua/src/lprefix.h \ +diff -aur scite/src/LuaExtension.cxx scite/src/LuaExtension.cxx +--- a/scite/src/LuaExtension.cxx 2022-03-30 20:48:24.000000000 -0400 ++++ b/scite/src/LuaExtension.cxx 2022-04-04 14:46:35.097978533 -0400 +@@ -237,7 +237,7 @@ + + const int paneIndex = lua_upvalueindex(1); + check_pane_object(L, paneIndex); +- const int message = luaL_checkint(L, 1); ++ const int message = luaL_checkinteger(L, 1); + + lua_pushvalue(L, paneIndex); + lua_replace(L, 1); +@@ -276,7 +276,7 @@ + } + + static int cf_scite_constname(lua_State *L) { +- const int message = luaL_checkint(L, 1); ++ const int message = luaL_checkinteger(L, 1); + const char *prefix = luaL_optstring(L, 2, nullptr); + const std::string constName = IFaceTable::GetConstantName(message, prefix); + if (constName.length() > 0) { +@@ -307,7 +307,7 @@ + } + + static int cf_scite_menu_command(lua_State *L) { +- const int cmdID = luaL_checkint(L, 1); ++ const int cmdID = luaL_checkinteger(L, 1); + if (cmdID) { + host->DoMenuCommand(cmdID); + } +@@ -329,7 +329,7 @@ + } + + static int cf_scite_strip_set(lua_State *L) { +- const int control = luaL_checkint(L, 1); ++ const int control = luaL_checkinteger(L, 1); + const char *value = luaL_checkstring(L, 2); + if (value) { + host->UserStripSet(control, value); +@@ -338,7 +338,7 @@ + } + + static int cf_scite_strip_set_list(lua_State *L) { +- const int control = luaL_checkint(L, 1); ++ const int control = luaL_checkinteger(L, 1); + const char *value = luaL_checkstring(L, 2); + if (value) { + host->UserStripSetList(control, value); +@@ -347,7 +347,7 @@ + } + + static int cf_scite_strip_value(lua_State *L) { +- const int control = luaL_checkint(L, 1); ++ const int control = luaL_checkinteger(L, 1); + std::string value = host->UserStripValue(control); + push_string(L, value); + return 1; +@@ -437,7 +437,7 @@ + SA::Position rangeStart = 0; + SA::Position rangeEnd = 0; + +- const int flags = (nArgs > 2) ? luaL_checkint(L, 3) : 0; ++ const int flags = (nArgs > 2) ? luaL_checkinteger(L, 3) : 0; + hasError = (flags == 0 && lua_gettop(L) > nArgs); + + if (!hasError) { +@@ -514,7 +514,7 @@ + + SA::ScintillaCall &sc = host->PaneCaller(pmo->pane); + sc.SetTarget(pmo->range); +- sc.ReplaceTarget(lua_strlen(L, 2), replacement); ++ sc.ReplaceTarget(lua_rawlen(L, 2), replacement); + pmo->range.end = sc.TargetEnd(); + return 0; + } +@@ -600,7 +600,7 @@ + pmo->endPosOrig = 0; + pmo->flags = 0; + if (nargs >= 3) { +- pmo->flags = luaL_checkint(L, 3); ++ pmo->flags = luaL_checkinteger(L, 3); + if (nargs >= 4) { + pmo->range.end = pmo->endPosOrig = luaL_checkinteger(L, 4); + if (pmo->range.end < 0) { +@@ -765,7 +765,7 @@ + const int nargs = lua_gettop(L); + const char *code = luaL_checkstring(L, 1); + const char *name = luaL_optstring(L, 2, code); +- if (0 == luaL_loadbuffer(L, code, lua_strlen(L, 1), name)) { ++ if (0 == luaL_loadbuffer(L, code, lua_rawlen(L, 1), name)) { + lua_call(L, 0, LUA_MULTRET); + return lua_gettop(L) - nargs; + } else { +@@ -896,7 +896,7 @@ + int loopParamCount = 2; + + if (func.paramType[0] == iface_length && func.paramType[1] == iface_string) { +- params[0] = lua_strlen(L, arg); ++ params[0] = lua_rawlen(L, arg); + params[1] = SptrFromString(params[0] ? lua_tostring(L, arg) : ""); + loopParamCount = 0; + } else if ((func.paramType[1] == iface_stringresult) || (func.returnType == iface_stringresult)) { +@@ -915,8 +915,8 @@ + const char *s = lua_tostring(L, arg++); + params[i] = SptrFromString(s ? s : ""); + } else if (func.paramType[i] == iface_keymod) { +- const int keycode = luaL_checkint(L, arg++) & 0xFFFF; +- const int modifiers = luaL_checkint(L, arg++) & ++ const int keycode = luaL_checkinteger(L, arg++) & 0xFFFF; ++ const int modifiers = luaL_checkinteger(L, arg++) & + static_cast<int>(SA::KeyMod::Shift|SA::KeyMod::Ctrl|SA::KeyMod::Alt); + params[i] = keycode | (modifiers<<16); + } else if (func.paramType[i] == iface_bool) { +@@ -1805,7 +1805,7 @@ + static int SetLevelAt(lua_State *L) { + StylingContext *context = Context(L); + const SA::Line line = luaL_checkinteger(L, 2); +- const int level = luaL_checkint(L, 3); ++ const int level = luaL_checkinteger(L, 3); + context->styler->SetLevel(line, static_cast<SA::FoldLevel>(level)); + return 0; + } +@@ -1820,7 +1820,7 @@ + static int SetLineState(lua_State *L) { + StylingContext *context = Context(L); + const SA::Line line = luaL_checkinteger(L, 2); +- const int stateOfLine = luaL_checkint(L, 3); ++ const int stateOfLine = luaL_checkinteger(L, 3); + context->styler->SetLineState(line, stateOfLine); + return 0; + } +@@ -1898,7 +1898,7 @@ + StylingContext *context = Context(L); + const SA::Position startPosStyle = luaL_checkinteger(L, 2); + const SA::Position lengthStyle = luaL_checkinteger(L, 3); +- const int initialStyle = luaL_checkint(L, 4); ++ const int initialStyle = luaL_checkinteger(L, 4); + context->StartStyling(startPosStyle, lengthStyle, initialStyle); + return 0; + } +@@ -1957,7 +1957,7 @@ + static int SetState(lua_State *L) { + StylingContext *context = Context(L); + context->Colourize(); +- context->state = luaL_checkint(L, 2); ++ context->state = luaL_checkinteger(L, 2); + return 0; + } + +@@ -1965,13 +1965,13 @@ + StylingContext *context = Context(L); + context->Forward(); + context->Colourize(); +- context->state = luaL_checkint(L, 2); ++ context->state = luaL_checkinteger(L, 2); + return 0; + } + + static int ChangeState(lua_State *L) { + StylingContext *context = Context(L); +- context->state = luaL_checkint(L, 2); ++ context->state = luaL_checkinteger(L, 2); + return 0; + } + diff --git a/scite/debian/rules b/scite/debian/rules new file mode 100755 index 0000000..f6cbeda --- /dev/null +++ b/scite/debian/rules @@ -0,0 +1,68 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all +#export DEB_BUILD_OPTIONS=noautodbgsym + +include /usr/share/dpkg/pkg-info.mk +BUILD_DATE ?= $(shell date --utc --date="@$(SOURCE_DATE_EPOCH)" "+%b %d %Y %T") +override CPPFLAGS += -DBUILD_DATE="\"$(BUILD_DATE)\"" + +%: + dh $@ + +override_dh_auto_build: + dh_auto_build --sourcedirectory=scintilla/gtk -- GTK3=1 $(BUILD_LUA) + dh_auto_build --sourcedirectory=lexilla/src -- GTK3=1 $(BUILD_LUA) + dh_auto_build --sourcedirectory=scite/gtk -- gnomeprefix=/usr GTK3=1 $(BUILD_LUA) + +override_dh_auto_clean: + dh_auto_clean + $(MAKE) -C scintilla/gtk clean + rm -f scintilla/bin/scintilla.a + $(MAKE) -C scite/gtk clean + $(MAKE) -C lexilla/src clean + rm -f scite/bin/liblexilla.so + rm -f scite/bin/libscintilla.so + + +override_dh_auto_install: + dh_auto_install + cd scite/gtk; $(MAKE) install GTK3=1 gnomeprefix=../../debian/scite/usr datadir=../../debian/scite/usr/share + #chmod -x $(CURDIR)/debian/scite/usr/share/scite/* + # install configuration files into the /etc directory + mv $(CURDIR)/debian/scite/usr/share/scite/*.properties $(CURDIR)/debian/scite/etc/scite + for f in $(CURDIR)/debian/scite/etc/scite/*.properties; do \ + dh_link etc/scite/$$(basename $$f) usr/share/scite/$$(basename $$f); \ + done + + +override_dh_install: + dh_install + sh debian/fix-doc.sh + mkdir -p $(CURDIR)/debian/scite/usr/share/doc/scite + mv -f $(CURDIR)/debian/scite/usr/share/scite/*.html $(CURDIR)/debian/scite/usr/share/doc/scite/ + mv -f $(CURDIR)/debian/scite/usr/share/scite/*.txt $(CURDIR)/debian/scite/usr/share/doc/scite/ + mv -f $(CURDIR)/debian/scite/usr/share/scite/*.jpg $(CURDIR)/debian/scite/usr/share/doc/scite/ + mv -f $(CURDIR)/debian/scite/usr/share/scite/*.png $(CURDIR)/debian/scite/usr/share/doc/scite/ + cp -p debian/stackrpms.lua $(CURDIR)/debian/scite/usr/share/scite/ + @#install -d -m0755 $(CURDIR)/debian/scite/etc/scite + install -D -p -m0666 debian/SciTEGlobal.properties $(CURDIR)/debian/scite/etc/scite/ + for f in $(CURDIR)/debian/scite/usr/share/doc/scite/*.html; do \ + dh_link usr/share/doc/scite/$$(basename $$f) usr/share/scite/$$(basename $$f); \ + done + for f in $(CURDIR)/debian/scite/usr/share/doc/scite/*.txt; do \ + dh_link usr/share/doc/scite/$$(basename $$f) usr/share/scite/$$(basename $$f); \ + done + for f in $(CURDIR)/debian/scite/usr/share/doc/scite/*.jpg; do \ + dh_link usr/share/doc/scite/$$(basename $$f) usr/share/scite/$$(basename $$f); \ + done + for f in $(CURDIR)/debian/scite/usr/share/doc/scite/*.png; do \ + dh_link usr/share/doc/scite/$$(basename $$f) usr/share/scite/$$(basename $$f); \ + done + + +override_dh_installchangelogs: + dh_installchangelogs scintilla/doc/ScintillaHistory.html + +override_dh_compress: + dh_compress -X.xpm diff --git a/scite/debian/scite+devuan.dsc b/scite/debian/scite+devuan.dsc new file mode 100644 index 0000000..3586cb2 --- /dev/null +++ b/scite/debian/scite+devuan.dsc @@ -0,0 +1,17 @@ +Format: 3.0 (quilt) +Source: scite +Binary: scite +Architecture: any +Version: 5.2.2-2+devuan +Maintainer: B. Stack <bgstack15@gmail.com> +Homepage: https://scintilla.org/SciTE.html +Standards-Version: 4.6.0.1 +Vcs-Browser: https://salsa.debian.org/debian/scite +Vcs-Git: https://salsa.debian.org/debian/scite.git +Build-Depends: debhelper-compat (= 13), libgtk-3-dev, libglib2.0-dev, liblua5.4-dev +Package-List: + scite deb editors optional arch=any +Files: + 00000000000000000000000000000000 1 scite.orig.tar.gz + 00000000000000000000000000000000 1 scite+devuan.debian.tar.xz +Original-Maintainer: Michael Vogt <mvo@debian.org> diff --git a/scite/debian/scite.doc-base b/scite/debian/scite.doc-base new file mode 100644 index 0000000..bdb09eb --- /dev/null +++ b/scite/debian/scite.doc-base @@ -0,0 +1,9 @@ +Document: scite-documentation +Title: SciTE Documentation +Author: Neil Hodgson +Abstract: This manual describes how to use SciTE +Section: Editors + +Format: HTML +Index: /usr/share/doc/scite/SciTEDoc.html +Files: /usr/share/doc/scite/*.html diff --git a/scite/debian/scite.examples b/scite/debian/scite.examples new file mode 100644 index 0000000..ecd0dac --- /dev/null +++ b/scite/debian/scite.examples @@ -0,0 +1,3 @@ +lexilla/examples/* +lexilla/test/examples/* + diff --git a/scite/debian/scite.lintian-overrides b/scite/debian/scite.lintian-overrides new file mode 100644 index 0000000..8314915 --- /dev/null +++ b/scite/debian/scite.lintian-overrides @@ -0,0 +1,5 @@ +scite: spelling-error-in-binary usr/lib/scite/liblexilla.so afe safe +scite: spelling-error-in-binary usr/lib/scite/liblexilla.so Lables Labels +scite: national-encoding etc/scite/SciTEGlobal.properties +scite: national-encoding etc/scite/rebol.properties +scite: national-encoding etc/scite/css.properties diff --git a/scite/debian/source/format b/scite/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/scite/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/scite/debian/source/include-binaries b/scite/debian/source/include-binaries new file mode 100644 index 0000000..918a865 --- /dev/null +++ b/scite/debian/source/include-binaries @@ -0,0 +1,3 @@ +debian/images/UserStrip.png +debian/images/SciBreak2.jpg + diff --git a/scite/debian/source/lintian-overrides b/scite/debian/source/lintian-overrides new file mode 100644 index 0000000..7586837 --- /dev/null +++ b/scite/debian/source/lintian-overrides @@ -0,0 +1,3 @@ +national-encoding debian/SciTEGlobal.properties +invalid-field-for-derivative +invalid-devuan-version diff --git a/scite/debian/stackrpms.lua b/scite/debian/stackrpms.lua new file mode 100644 index 0000000..8423feb --- /dev/null +++ b/scite/debian/stackrpms.lua @@ -0,0 +1,278 @@ +-- DESCRIPTION: +-- Unicode hexadecimal table: https://example.com/copied/unicode.html +-- Source: http://lua-users.org/wiki/SciteUnicodeInput http://sourceforge.net/projects/emitunicodeinscite/ +-- Future reference: http://lua-users.org/wiki/SciteScripts +-- +-- This lua script adds utf8 unicode input, to the scite text editor. +-- +-- The scite text editor should be set to use the UTF-8 encoding +-- , because this script adds utf8, into the text buffer of the +-- scite editor. Select File->Encoding->UTF-8, from the +-- menu bar of scite. +-- +-- For example, it will be possible that you type 2200 CTRL+U +-- , and 2200 is replaced to ∀; (U+2200), in the scite editor. +-- +-- ______________________________________________________________________________ +-- +-- INSTALL: +-- +-- To have scite running this script each time you press Ctrl+U, add next lines +-- into your ~/SciTEUser.properties file, where ~ is your home directory. +-- FILE ~/SciTEUser.properties: +--[[ +ext.lua.startup.script=$(SciteUserHome)/emitUtf8UnicodeIntoTheSciteEditor.lua +command.name.8.*=Emit UTF8 Unicode +command.subsystem.8.*=3 +command.8.*=emitUtf8UnicodeIntoTheSciteEditor +command.mode.8.*=savebefore:no +command.shortcut.8.*=Ctrl+U +--]] +-- ______________________________________________________________________________ +-- THE LUA CODE: +-- +-- Next is the definition of the lua function that is called by scite +-- when CTRL+U is pressed, to replace unicode endpoint encoding, with +-- utf8 encoding of the unicode endpoint. +-- ______________________________________________________________________________ + + +-- Computes the utf8 encoding for a unicode codepoint u +-- , when 0 <= u <= 0x7f +-- +-- @param unicodeValue the unicode codepoint u +-- +-- @return the utf8 encoding of the unicode codepoint u +function case1UnicodeToUtf8(unicodeValue) + --print('case 1') + local u = unicodeValue + local byte0 = (u % 0x80) + local utf8 = string.char(byte0) + return utf8 +end + +-- ______________________________________________________________________________ +-- Computes the utf8 encoding for a unicode codepoint u +-- , when 0x80 <= u <= 0x7ff +-- +-- @param unicodeValue the unicode codepoint u +-- +-- @return the utf8 encoding of the unicode codepoint u +function case2UnicodeToUtf8(unicodeValue) + --print('case 2') + local u = unicodeValue + local byte1 = (0x80 + (u % 0x40) ) + u = math.floor(u / 0x40) + local byte0 = (0xc0 + (u % 0x20) ) + local utf8 = string.char(byte0, byte1) + return utf8 +end + +-- ______________________________________________________________________________ +-- Computes the utf8 encoding for a unicode codepoint u +-- , when 0x800 <= u <= 0xffff. +-- +-- @param unicodeValue the unicode codepoint u +-- +-- @return the utf8 encoding of the unicode codepoint u +function case3UnicodeToUtf8(unicodeValue) + local u = unicodeValue + local byte2 = (0x80 + (u % 0x40)) + -- print('byte2: '..byte2) + u = math.floor(u / 0x40) + local byte1 = (0x80 + (u % 0x40)) + -- print('byte1: '..byte1) + u = math.floor(u / 0x40) + local byte0 = (0xe0 + (u % 0x10)) + -- print('byte0: '..byte0) + local utf8 = string.char(byte0, byte1, byte2) + return utf8 +end + +-- ______________________________________________________________________________ +-- Computes the utf8 encoding for a unicode codepoint u +-- , when 0x10000 <= u <= 0x10ffff. +-- +-- @param unicodeValue the unicode codepoint u +-- +-- @return the utf8 encoding of the unicode codepoint u +function case4UnicodeToUtf8(unicodeValue) + local u = unicodeValue + local byte3 = (0x80 + (u % 0x40)) + u = math.floor(u / 0x40) + local byte2 = (0x80 + (u % 0x40)) + u = math.floor(u / 0x40) + local byte1 = (0x80 + (u % 0x40)) + u = math.floor(u / 0x40) + local byte0 = (0xf0 + (u % 0x8)) + local utf8 = string.char(byte0, byte1, byte2, byte3) + return utf8 +end + +-- ______________________________________________________________________________ +-- Converts a unicode integer value, into a utf8 string value. +-- +-- The unicode integer value is an integer that +-- is greater than or equal to zero. +-- +-- The utf8 string value is a string that is a sequence of +-- 8 bits characters that give the utf8 encoding of the +-- unicode codepoint given by the unicode integer value. +-- +-- @param unicodeValue the unicode integer value; +-- a unicode codepoint +-- +-- @return the utf8 encoding of the unicode codepoint +-- provided by the unicodeValue input argument +function unicodeToUtf8(unicodeValue) + local u = unicodeValue + if ((0x800 <= u) and (0xffff >= u)) + then + return case3UnicodeToUtf8(u) + end + if ((0x80 <= u) and (0x7fff >= u)) + then + return case2UnicodeToUtf8(u) + end + if ((0x0 <= u) and (0x7f >= u)) + then + return case1UnicodeToUtf8(u) + end + if( (0x10000 <= u) and (0x10ffff >= u) ) + then + return case4UnicodeToUtf8(u) + end + return nil +end + +-- ______________________________________________________________________________ +-- Peeks (reads) the character at position i, in the Scite Editor. +-- If the character is the ascii name of a hex digit, it returns +-- the corresponding hex digit, otherwise it returns nil. +-- +-- @param i position in the Scite Editor +-- @return hex digit at position i, or nil +function peekHexdigit(i) + local e = editor + local asciiCode = e.CharAt[i] + if((0>asciiCode) or (0xff < asciiCode)) + then + return nil + end + local charValue = string.char(asciiCode) + local hexDigit = tonumber(charValue,0x10) + return hexDigit -- may be nil +end + +-- ______________________________________________________________________________ +-- Reads the sequence of maximum length at most 5, at the left of the cursor +-- in the Scite Editor. +-- Encodes the longest suffix of this sequence, that is a hex number, into +-- the utf encoding of this hex number. +-- Replaces this longest suffix, with the utf8 sequence. +-- +-- @return true a suffix of length greater than zero, at most 5 existed +-- and was replaced with the utf8 encoding of the number it +-- represented +-- +-- false , when no such suffix existed +function emitUtf8Unicode() + local e = editor + local n = e.TextLength + local i = e.CurrentPos + local maxlen = 5 + if ((0 == n) or (1 > i)) + then + return nil -- Success. No request + end + local len = 1 + local len2 = 0 + local u = 0 + local thePower = 1 + while ( (len <= maxlen) + and (0 <= (i - len) ) + ) + do + local hexDigit = peekHexdigit(i-len,u) + if (nil == hexDigit) + then + break -- out of the while loop + end + u = ( u + (thePower * hexDigit) ) + thePower = (0x10 * thePower ) + len2 = len + --print("u: "..u) + len = len + 1 + end + if (0 == len2) + then + return nil -- Failure. No unicode + end + utf8 = unicodeToUtf8(u) + if(nil == utf8) + then + return nil -- Failure. Unicode to utf8 conversion failed. + end + e:SetSel(i-len2,i) + e:ReplaceSel(utf8) + --print("utf8: "..utf8) + return true -- Success. +end + +-- ______________________________________________________________________________ +-- Emits utf8 encoding in the place of the unicode codepoint +-- in the editor, at the left of the cursor. +-- +-- Writes a message to the Output pane, if no codepoint existed +-- at the left of the cursor. +-- +function emitUnicode() + local ok = emitUtf8Unicode() + if not ok + then + --print("Failed to encode unicode into text editor.") + end +end + +-- ______________________________________________________________________________ +-- +-- Following web pages were useful in writing the lua scite script. +-- +-- http://lua-users.org/wiki/UsingLuaWithScite +-- http://www.scintilla.org/PaneAPI.html +-- http://www.lua.org/manual/5.1/manual.html#pdf-tonumber +-- https://en.wikipedia.org/wiki/UTF-8 +-- +-- http://lua-users.org/lists/lua-l/2007-08/msg00276.html +-- http://keplerproject.github.io/luadoc/ + +-- Reference: http://lua-users.org/wiki/SciteInsertDate +-- Tags used by os.date: +-- %a abbreviated weekday name (e.g., Wed) +-- %A full weekday name (e.g., Wednesday) +-- %b abbreviated month name (e.g., Sep) +-- %B full month name (e.g., September) +-- %c date and time (e.g., 09/16/98 23:48:10) +-- %d day of the month (16) [01-31] +-- %H hour, using a 24-hour clock (23) [00-23] +-- %I hour, using a 12-hour clock (11) [01-12] +-- %M minute (48) [00-59] +-- %m month (09) [01-12] +-- %p either "am" or "pm" (pm) +-- %S second (10) [00-61] +-- %w weekday (3) [0-6 = Sunday-Saturday] +-- %x date (e.g., 09/16/98) +-- %X time (e.g., 23:48:10) +-- %Y full year (1998) +-- %y two-digit year (98) [00-99] +-- %% the character '%' +function InsertDateAH() + local dow = tostring(os.date("%w") + 1) + local d1 = os.date("%Y-%m-%d-") + local d2 = os.date(" %H:%M") + editor:AddText(d1..dow..d2) +end +function InsertDateIso() + local date_string = os.date("%Y-%m-%dT%T") + editor:AddText(date_string) +end diff --git a/scite/debian/upstream/metadata b/scite/debian/upstream/metadata new file mode 100644 index 0000000..506facc --- /dev/null +++ b/scite/debian/upstream/metadata @@ -0,0 +1,5 @@ +Bug-Database: https://sourceforge.net/p/scintilla/bugs +Bug-Submit: https://sourceforge.net/p/scintilla/bugs/new +Repository: http://hg.code.sf.net/p/scintilla/scite scintilla-scite +Repository-Browse: https://sourceforge.net/p/scintilla/scite/ci/default/tree +Archive: SourceForge diff --git a/scite/debian/watch b/scite/debian/watch new file mode 100644 index 0000000..c533a01 --- /dev/null +++ b/scite/debian/watch @@ -0,0 +1,5 @@ +version=4 +# qa.debian.org runs a redirector which allows a simpler form of URL +# for SourceForge based projects. The format below will automatically +# be rewritten to use the redirector. +https://sf.net/scintilla/scite(\d)(\d)(\d)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) |