Navigation

Project: wok

Clone project: hg clone http://hg.slitaz.org/wok

  • Download tarball:
  • bz2
  • gz

Search

wok changeset 17113:cec5a7f20966

qedit: patch ; Add libqscintilla ; Add juffed
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Tue Sep 02 17:57:40 2014 +0200 (4 weeks ago ago)
parents eb6dc9a5f72d
children 3025f71bda86
files juffed/receipt libqscintilla-dev/receipt libqscintilla/receipt qedit/receipt qedit/stuff/strvar_color_slitaz
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/juffed/receipt	Tue Sep 02 17:57:40 2014 +0200
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="juffed"
     1.7 +COMMIT="58e2c637f1"
     1.8 +VERSION="{$COMMIT:0:4}.git"
     1.9 +CATEGORY="editors"
    1.10 +SHORT_DESC="Qt4 text & code editor"
    1.11 +MAINTAINER="psychomaniak@xakep.ru"
    1.12 +LICENSE="GPL2"
    1.13 +WEB_SITE="http://juffed.com"
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WGET_URL="https://github.com/Mezomish/$PACKAGE/archive/$COMMIT.tar.gz"
    1.16 +#WGET_URL="&SF_MIRROR/$PACKAGE/$PACKAGE-$VERSION-1054.tar.bz2"
    1.17 +
    1.18 +DEPENDS="libQtGui libQtDBus libQtNetwork libqscintilla"
    1.19 +BUILD_DEPENDS="Qt4-dev cmake qmake libqscintilla-dev"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	#sed -i 's/ ON/ OFF/g' $src/plugins/CMakeLists.txt
    1.25 +	cd $src && cmake \
    1.26 +		-DCMAKE_BUILD_TYPE=release \
    1.27 +		-DCMAKE_INSTALL_PREFIX=/usr . &&
    1.28 +	make && make DESTDIR=$DESTDIR install
    1.29 +}
    1.30 +
    1.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 +genpkg_rules()
    1.33 +{
    1.34 +	cp -a $install/* $fs
    1.35 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libqscintilla-dev/receipt	Tue Sep 02 17:57:40 2014 +0200
     2.3 @@ -0,0 +1,19 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="libqscintilla-dev"
     2.7 +VERSION="2.8.3"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Editor classes & widgets: qm, dev files."
    2.10 +MAINTAINER="psychomaniak@xakep.ru"
    2.11 +LICENSE="GPL2"
    2.12 +WEB_SITE="http://www.riverbankcomputing.co.uk/software/qscintilla"
    2.13 +
    2.14 +DEPENDS="libqscintilla"
    2.15 +WANTED="libqscintilla"
    2.16 +
    2.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.18 +genpkg_rules()
    2.19 +{
    2.20 +	cp -a $install/* $fs
    2.21 +	rm -rf $fs/usr/lib
    2.22 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/libqscintilla/receipt	Tue Sep 02 17:57:40 2014 +0200
     3.3 @@ -0,0 +1,30 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="libqscintilla"
     3.7 +VERSION="2.8.3"
     3.8 +CATEGORY="development"
     3.9 +SHORT_DESC="Editor classes & widgets"
    3.10 +MAINTAINER="psychomaniak@xakep.ru"
    3.11 +LICENSE="GPL2"
    3.12 +WEB_SITE="http://www.riverbankcomputing.co.uk/software/qscintilla"
    3.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.14 +WGET_URL="$SF_MIRROR/pyqt/QScintilla-gpl-$VERSION.tar.gz"
    3.15 +
    3.16 +DEPENDS="libQtGui"
    3.17 +BUILD_DEPENDS="Qt4-dev cmake qmake PyQt-x11-gpl"
    3.18 +SUGGESTED="juffed"
    3.19 +
    3.20 +# Rules to configure and make the package.BUILD_TYPE=Release
    3.21 +compile_rules()
    3.22 +{
    3.23 +	cd $src ; rm -rf doc Qt3 ; cd $src/Qt4Qt5
    3.24 +	qmake qscintilla.pro
    3.25 +	sed -i 's/-O2/-Os/g' Makefile && make
    3.26 +	make DESTDIR=$DESTDIR INSTALL_ROOT=$install install
    3.27 +}
    3.28 +
    3.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.30 +genpkg_rules()
    3.31 +{
    3.32 +	mkdir $fs/usr ; cp -a $install/usr/lib $fs/usr
    3.33 +}
     4.1 --- a/qedit/receipt	Tue Sep 02 00:45:04 2014 +0300
     4.2 +++ b/qedit/receipt	Tue Sep 02 17:57:40 2014 +0200
     4.3 @@ -16,6 +16,7 @@
     4.4  # Rules to configure and make the package.
     4.5  compile_rules()
     4.6  {
     4.7 +	patch $src/patterns/shell_patterns.xml $stuff/strvar_color_slitaz
     4.8  	cd $src && cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
     4.9  	make && make DESTDIR=$DESTDIR install
    4.10  }
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/qedit/stuff/strvar_color_slitaz	Tue Sep 02 17:57:40 2014 +0200
     5.3 @@ -0,0 +1,56 @@
     5.4 +--- oshell_patterns.xml
     5.5 ++++ shell_patterns.xml
     5.6 +@@ -1,5 +1,5 @@
     5.7 + <patterns>
     5.8 +- <class pattern="((/\.(((t?c)|ba)?sh)rc)|(/\w+\.(((t?c)|ba)?sh))|(/\w+\.cmake)|(/configure(\.in)?)|\.alias|CMakeLists\.txt|\.jdl)$" icon="text-x-script.png" first_line_pattern="^\s*#\s*!\s*(/.*bin/)?((t?c|k|ba)?sh)" name="shell" >
     5.9 ++ <class pattern="((/\.(((t?c)|ba)?sh)rc)|(/\w+\.(((t?c)|ba)?sh))|(/\w+\.cmake)|(/configure(\.in)?)|\.alias|CMakeLists\.txt|\.jdl)$" icon="text-x-script.png" first_line_pattern="^\s*#\s*!\s*(/.*bin/)?((t?c|k|ba)?sh)|( SliTaz)" name="shell+" >
    5.10 + 
    5.11 + <!--Options-->
    5.12 +   <Option>
    5.13 +@@ -9,7 +9,7 @@
    5.14 +   </Option>
    5.15 +   <Option>
    5.16 +    <Name>emulate_tabs</Name>
    5.17 +-   <Value>1</Value>
    5.18 ++   <Value>0</Value>
    5.19 +    <flags>2</flags>
    5.20 +   </Option>
    5.21 +   <Option>
    5.22 +@@ -29,7 +29,7 @@
    5.23 +   <style format="0" name="Function" color="#aa0000" />
    5.24 +   <style format="0" name="Keyword" color="#0000ff" />
    5.25 +   <style format="0" name="Keyword2" color="#0000aa" />
    5.26 +-  <style format="0" name="String" color="#00cd00" />
    5.27 ++  <style format="0" name="String" color="#008824" />
    5.28 + 
    5.29 + <!--Highlight patterns-->
    5.30 +   <range_pattern options="no_indent comments" style="Comment" parent="" name="Comment" >
    5.31 +@@ -60,6 +60,10 @@
    5.32 +    <comments></comments>
    5.33 +    <keyword>\$((\w+\b)|\{(\?)?(\w+)\})</keyword>
    5.34 +   </keyword_pattern>
    5.35 ++  <keyword_pattern style="Keyword2" parent="String" name="Variable" >
    5.36 ++   <comments></comments>
    5.37 ++   <keyword>\$((\w+\b)|\{(\?)?(\w+)\})</keyword>
    5.38 ++  </keyword_pattern>
    5.39 +   <keyword_pattern style="Keyword2" parent="" name="Assigned variables" >
    5.40 +    <comments></comments>
    5.41 +    <keyword>\b(set(env)?|alias)\s+\w+\b</keyword>
    5.42 +@@ -70,7 +74,7 @@
    5.43 +   </keyword_pattern>
    5.44 +   <keyword_pattern style="Keyword" parent="" name="Keyword" >
    5.45 +    <comments></comments>
    5.46 +-   <keyword>\b((set)?env|eval|export|umask|bindkey|(end)?if|break|end|then|else|source|echo|fi|test|in|case|esac|for(each)?|print|cd|cp|exit|rm|ls|do(ne)?)\b</keyword>
    5.47 ++   <keyword>\b((set)?env|eval|export|umask|bindkey|then|else|source|echo|test|in|print|cd|mkdir|mv|cp|rm|exit|ls|ln|cat|find|grep|awk|ch(mod|own)|kill|(c|q|)make|dialog|install)\b</keyword>
    5.48 +   </keyword_pattern>
    5.49 +   <keyword_pattern style="Keyword" parent="" name="Braces" >
    5.50 +    <comments></comments>
    5.51 +@@ -86,7 +90,7 @@
    5.52 +   </keyword_pattern>
    5.53 +   <keyword_pattern style="Function" parent="" name="Function" >
    5.54 +    <comments></comments>
    5.55 +-   <keyword>(\b|XML_AND)([^\s]+)\s*(?=\()</keyword>
    5.56 ++   <keyword>(\b|XML_AND)([^\s]+)\s*(?=\()|sed|patch|(end)?if|fi|case|esac|for(each)?|do(ne)?|break|end|EOT</keyword>
    5.57 +   </keyword_pattern>
    5.58 + 
    5.59 + <!--Indentation patterns-->