Version bump.
authorKrzysztof Pawlik <nelchael@gentoo.org>
Tue, 17 Apr 2007 09:13:31 +0000 (09:13 +0000)
committerKrzysztof Pawlik <nelchael@gentoo.org>
Tue, 17 Apr 2007 09:13:31 +0000 (09:13 +0000)
Package-Manager: portage-2.1.2.4

app-editors/scite/ChangeLog
app-editors/scite/Manifest
app-editors/scite/files/digest-scite-1.73 [new file with mode: 0644]
app-editors/scite/files/scite-1.73-install.patch [new file with mode: 0644]
app-editors/scite/scite-1.73.ebuild [new file with mode: 0644]

index b9202d5ea935d68eb69c5b5d8ad25df2d6585bee..16440c7d0e107c72da918c0e41fa4406988e34b5 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for app-editors/scite
 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/scite/ChangeLog,v 1.60 2007/03/13 17:54:02 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/scite/ChangeLog,v 1.61 2007/04/17 09:13:31 nelchael Exp $
+
+*scite-1.73 (17 Apr 2007)
+
+  17 Apr 2007; Krzysiek Pawlik <nelchael@gentoo.org>
+  +files/scite-1.73-install.patch, +scite-1.73.ebuild:
+  Version bump.
 
   13 Mar 2007; Gustavo Zacarias <gustavoz@gentoo.org> scite-1.72.ebuild:
   Stable on sparc
index a5999beccde0d06861775a0affca513a2f2ca5f1..cd8b4a204ca3111939b6e100f29523af9d0b9a94 100644 (file)
@@ -9,12 +9,17 @@ AUX scite-1.72-install.patch 796 RMD160 54e598b9ed974bcd24e8fe4ef46bf6f5c037356b
 MD5 95ea30a65640fb6a0149413208179d45 files/scite-1.72-install.patch 796
 RMD160 54e598b9ed974bcd24e8fe4ef46bf6f5c037356b files/scite-1.72-install.patch 796
 SHA256 c8e2a3ea36c43ffb9c3f8f7175f79f8a2e3f1eccef4323ba22571d198ebe2294 files/scite-1.72-install.patch 796
+AUX scite-1.73-install.patch 796 RMD160 54e598b9ed974bcd24e8fe4ef46bf6f5c037356b SHA1 4867e253ae7831fdae2e0425441fee24c176d694 SHA256 c8e2a3ea36c43ffb9c3f8f7175f79f8a2e3f1eccef4323ba22571d198ebe2294
+MD5 95ea30a65640fb6a0149413208179d45 files/scite-1.73-install.patch 796
+RMD160 54e598b9ed974bcd24e8fe4ef46bf6f5c037356b files/scite-1.73-install.patch 796
+SHA256 c8e2a3ea36c43ffb9c3f8f7175f79f8a2e3f1eccef4323ba22571d198ebe2294 files/scite-1.73-install.patch 796
 AUX scite.desktop 169 RMD160 760e2de111a56d037265b748ad65c621c1607c3b SHA1 edc81249bbe84ccf6b7a57f4a80381b58896badf SHA256 c0db119fed9a790efa073595099147ebd3c928d195ae908f6618e2f2ccdd0bcc
 MD5 2561568c62ec3edc2b46be6638c80427 files/scite.desktop 169
 RMD160 760e2de111a56d037265b748ad65c621c1607c3b files/scite.desktop 169
 SHA256 c0db119fed9a790efa073595099147ebd3c928d195ae908f6618e2f2ccdd0bcc files/scite.desktop 169
 DIST scite171.tgz 1300416 RMD160 05a56af15b0c4e4a9c33b62d8bde4ea9feef4208 SHA1 5cc1cce7ab5dc7723f36306af6d6fff5d81bc68c SHA256 c84ba2fc252345e3d36d36f14b3ab43c6f20e0e7ee5c30d8560f938d505116e3
 DIST scite172.tgz 1335014 RMD160 7ffcfa07f43560122692bc4bd00bc910167e9082 SHA1 5cb13215db44a7f37c4625fada8ca7f5e2dfbe96 SHA256 336c9b93f731882c9c5b95eadbe2751097347113e1d729c49b3e5f85ca4ad42e
+DIST scite173.tgz 1343699 RMD160 443fa627dbe559fa3ec3620bbec759ba0dc93634 SHA1 2377e09f9bd208c56eacbd6f6bf4d58bec5efa50 SHA256 1dde09224162f3dadd440ba08beb1f425c997e73559e2107f4fc4bfd52a779c4
 EBUILD scite-1.71.ebuild 1845 RMD160 48b6144c2a77987feb493f1f6de418556ab8055d SHA1 6adef682862f58abe2a3e802e01a749b576832b1 SHA256 5eb2c7f43e688abf1a28ebf8983f8287bc4e460a097958ac7c7f3d9a21a5ef86
 MD5 271e56ac9ffb70deb5859537b43c0c9d scite-1.71.ebuild 1845
 RMD160 48b6144c2a77987feb493f1f6de418556ab8055d scite-1.71.ebuild 1845
@@ -23,10 +28,14 @@ EBUILD scite-1.72.ebuild 1867 RMD160 84ec5fc944b4161f7e988346e489e3aeed17440f SH
 MD5 a3faba125fd2c0d0da00d1e88f14f9dc scite-1.72.ebuild 1867
 RMD160 84ec5fc944b4161f7e988346e489e3aeed17440f scite-1.72.ebuild 1867
 SHA256 aac0c483a68cac01be18140d152172b1c8ea4ae7ea136c5c00cc67959a9991e5 scite-1.72.ebuild 1867
-MISC ChangeLog 9517 RMD160 54e1c0c784563c718379894d732cc8ed29b3c014 SHA1 6c47457c4aceba50d7f11361f9cfb0ac8011e414 SHA256 a4c3f088d613a5046e8c05990327289831c8bda65f9ee61c494a17fae4175ba9
-MD5 3f21cade377c69467f49a3dfd5d9f989 ChangeLog 9517
-RMD160 54e1c0c784563c718379894d732cc8ed29b3c014 ChangeLog 9517
-SHA256 a4c3f088d613a5046e8c05990327289831c8bda65f9ee61c494a17fae4175ba9 ChangeLog 9517
+EBUILD scite-1.73.ebuild 1868 RMD160 91e398bde5b7a26f03498d62180d8dea12e2d332 SHA1 14311faee3a2c99d09698790fea78910b0aace41 SHA256 369b19fd5e8aaf6d5659f7383565fe00db81590b6945e56545367ee3ccff68ee
+MD5 90926d2447bc82445ede13595919497f scite-1.73.ebuild 1868
+RMD160 91e398bde5b7a26f03498d62180d8dea12e2d332 scite-1.73.ebuild 1868
+SHA256 369b19fd5e8aaf6d5659f7383565fe00db81590b6945e56545367ee3ccff68ee scite-1.73.ebuild 1868
+MISC ChangeLog 9669 RMD160 c1ddec8156c8b4574266a26098c8a75770b70cda SHA1 858d2fbb1fb4fa90f96b1a81b46845fae72828bb SHA256 da813c5439506e18f69bcdf3741769e2396841403fbf4128366c1f3c73a507c3
+MD5 b41dae9cc149f5813ae902fa39e78ec9 ChangeLog 9669
+RMD160 c1ddec8156c8b4574266a26098c8a75770b70cda ChangeLog 9669
+SHA256 da813c5439506e18f69bcdf3741769e2396841403fbf4128366c1f3c73a507c3 ChangeLog 9669
 MISC metadata.xml 304 RMD160 809312aa3c6eb0e2b42bfe747cbafdcf21947ff1 SHA1 8523f14def71e343644655b7890f96e14864216c SHA256 a562714322c75636ca3a75c641035e41d6066319a292473fd1811fe7ac70d655
 MD5 013655633e03ee4396e6da8e45481935 metadata.xml 304
 RMD160 809312aa3c6eb0e2b42bfe747cbafdcf21947ff1 metadata.xml 304
@@ -37,10 +46,13 @@ SHA256 1f3532c70d2d6c3b772f9e92b42d4c53c473a48b9b212dec9f58a4f210e24a40 files/di
 MD5 795ad57c1d661adc1bcf15e33f29643d files/digest-scite-1.72 220
 RMD160 f98515139e17062db6e63c4178f69fa2899ca0dd files/digest-scite-1.72 220
 SHA256 127493ead23d654728f2fd27b0466207a259be42d2e9cef0610d464c28b31498 files/digest-scite-1.72 220
+MD5 fec3dffa23603b86bc571b7a6bfc27d2 files/digest-scite-1.73 220
+RMD160 49a2434f90d3270bea04aa500b1b07ee8a5d5f9d files/digest-scite-1.73 220
+SHA256 acce6a6481c0193caad48a16d0851a6a18179479b78acafbcdd6e64bfa89743a files/digest-scite-1.73 220
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6-ecc01.6 (GNU/Linux)
+Version: GnuPG v2.0.3 (GNU/Linux)
 
-iD8DBQFF9uVCKRy60XGEcJIRAoMnAJ4o/mTnu0XWfyk9ZEHFogV7qeyxUgCfVb+W
-ux43hmZ8Zmx9wnQ7LqyxCwE=
-=9t9e
+iD8DBQFGJI/igo/w9rxVVVERAhCeAKCi8D0/hfrbzMZUFppETWyFAEipewCfUH3r
+yTmzHq7AyktV06NOTMjV+34=
+=0Mmn
 -----END PGP SIGNATURE-----
diff --git a/app-editors/scite/files/digest-scite-1.73 b/app-editors/scite/files/digest-scite-1.73
new file mode 100644 (file)
index 0000000..730be17
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 0e8e4139b5f5db445b3da9ff070d9d3a scite173.tgz 1343699
+RMD160 443fa627dbe559fa3ec3620bbec759ba0dc93634 scite173.tgz 1343699
+SHA256 1dde09224162f3dadd440ba08beb1f425c997e73559e2107f4fc4bfd52a779c4 scite173.tgz 1343699
diff --git a/app-editors/scite/files/scite-1.73-install.patch b/app-editors/scite/files/scite-1.73-install.patch
new file mode 100644 (file)
index 0000000..c1d8750
--- /dev/null
@@ -0,0 +1,20 @@
+--- scite/gtk/makefile.orig    2006-10-09 06:26:55 -0300
++++ scite/gtk/makefile 2006-10-09 06:36:09 -0300
+@@ -123,11 +123,14 @@
+ ifdef gnomeprefix
+ ifdef GTK2
+-      $(INSTALL) -m 755 -D SciTE.desktop $(DESTDIR)$(datadir)/applications/SciTE.desktop
++      $(INSTALL) -m 755 -d $(DESTDIR)$(datadir)/applications/
++      $(INSTALL) -m 755 SciTE.desktop $(DESTDIR)$(datadir)/applications/
+ else
+-      $(INSTALL) -m 755 -D SciTE.desktop $(DESTDIR)$(datadir)/applications/SciTE.desktop
++      $(INSTALL) -m 755 -d $(DESTDIR)$(datadir)/applications/
++      $(INSTALL) -m 755 SciTE.desktop $(DESTDIR)$(datadir)/applications/
+ endif
+-      $(INSTALL) -m 644 -D Sci48M.png $(DESTDIR)$(pixmapdir)/Sci48M.png
++      $(INSTALL) -m 644 -d $(DESTDIR)$(pixmapdir)/
++      $(INSTALL) -m 644 Sci48M.png $(DESTDIR)$(pixmapdir)/Sci48M.png
+ endif
+ uninstall:
diff --git a/app-editors/scite/scite-1.73.ebuild b/app-editors/scite/scite-1.73.ebuild
new file mode 100644 (file)
index 0000000..1d12dea
--- /dev/null
@@ -0,0 +1,73 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/scite/scite-1.73.ebuild,v 1.1 2007/04/17 09:13:31 nelchael Exp $
+
+inherit toolchain-funcs eutils
+
+MY_PV=${PV//./}
+DESCRIPTION="A very powerful editor for programmers"
+HOMEPAGE="http://scintilla.sourceforge.net/SciTE.html"
+SRC_URI="mirror://sourceforge/scintilla/${PN}${MY_PV}.tgz"
+
+LICENSE="Scintilla"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="lua"
+
+RDEPEND=">=x11-libs/gtk+-2
+       lua? ( >=dev-lang/lua-5 )"
+DEPEND="${RDEPEND}
+       dev-util/pkgconfig
+       >=sys-apps/sed-4"
+
+S=${WORKDIR}/${PN}/gtk
+
+src_unpack() {
+       unpack ${A}
+       cd ${WORKDIR}/scintilla/gtk
+       sed -i makefile \
+               -e "s#^CXXFLAGS=#CXXFLAGS=${CXXFLAGS} #" \
+               -e "s#^\(CXXFLAGS=.*\)-Os#\1#" \
+               -e "s#^CC =\(.*\)#CC = $(tc-getCXX)#" \
+               || die "error patching makefile"
+
+       cd ${S}
+       sed -i makefile \
+               -e 's#usr/local#usr#g' \
+               -e 's#/gnome/apps/Applications#/applications#' \
+               -e "s#^CXXFLAGS=#CXXFLAGS=${CXXFLAGS} #" \
+               -e "s#^\(CXXFLAGS=.*\)-Os#\1#" \
+               -e "s#^CC =\(.*\)#CC = $(tc-getCXX)#" \
+               -e 's#${D}##' \
+               -e 's#-g root#-g 0#' \
+               || die "error patching makefile"
+       epatch ${FILESDIR}/${P}-install.patch
+}
+
+src_compile() {
+       make -C ../../scintilla/gtk || die "prep make failed"
+       if use lua; then
+               emake || die "make failed"
+       else
+               emake NO_LUA=1 || die "make failed"
+       fi
+}
+
+src_install() {
+       dodir /usr/bin
+       dodir /usr/share/{pixmaps,applications}
+
+       make prefix=${D}/usr install || die
+
+       # we have to keep this because otherwise it'll break upgrading
+       mv ${D}/usr/bin/SciTE ${D}/usr/bin/scite
+       dosym /usr/bin/scite /usr/bin/SciTE
+
+       # replace .desktop file with our own working version
+       insinto /usr/share/applications
+       rm -f ${D}/usr/share/applications/SciTE.desktop
+       doins ${FILESDIR}/scite.desktop
+
+       doman ../doc/scite.1
+       dodoc ../README
+}