Version bump.
authorKrzysztof Pawlik <nelchael@gentoo.org>
Wed, 24 Jan 2007 11:33:30 +0000 (11:33 +0000)
committerKrzysztof Pawlik <nelchael@gentoo.org>
Wed, 24 Jan 2007 11:33:30 +0000 (11:33 +0000)
Package-Manager: portage-2.1.2-r2

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

index 469e65000a011fef7ac99b8b1e5fb6c206f2afee..6bb7a38a233fd81d4d5be7136594440b0469d2a2 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for app-editors/scite
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/scite/ChangeLog,v 1.58 2006/12/27 10:58:57 nelchael Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/scite/ChangeLog,v 1.59 2007/01/24 11:33:30 nelchael Exp $
+
+*scite-1.72 (24 Jan 2007)
+
+  24 Jan 2007; Krzysiek Pawlik <nelchael@gentoo.org>
+  +files/scite-1.72-install.patch, +scite-1.72.ebuild:
+  Version bump.
 
   27 Dec 2006; Krzysiek Pawlik <nelchael@gentoo.org>
   +files/scite-1.71-install.patch, scite-1.71.ebuild:
index 6ab081a0a7356395ca0deeec533a2cfbf371b952..55731494e136824a42e07491c87850d4bc584ce9 100644 (file)
@@ -5,19 +5,28 @@ AUX scite-1.71-install.patch 796 RMD160 54e598b9ed974bcd24e8fe4ef46bf6f5c037356b
 MD5 95ea30a65640fb6a0149413208179d45 files/scite-1.71-install.patch 796
 RMD160 54e598b9ed974bcd24e8fe4ef46bf6f5c037356b files/scite-1.71-install.patch 796
 SHA256 c8e2a3ea36c43ffb9c3f8f7175f79f8a2e3f1eccef4323ba22571d198ebe2294 files/scite-1.71-install.patch 796
+AUX scite-1.72-install.patch 796 RMD160 54e598b9ed974bcd24e8fe4ef46bf6f5c037356b SHA1 4867e253ae7831fdae2e0425441fee24c176d694 SHA256 c8e2a3ea36c43ffb9c3f8f7175f79f8a2e3f1eccef4323ba22571d198ebe2294
+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.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
 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
 SHA256 5eb2c7f43e688abf1a28ebf8983f8287bc4e460a097958ac7c7f3d9a21a5ef86 scite-1.71.ebuild 1845
-MISC ChangeLog 9273 RMD160 a4da6a6ff62382b4dab05b32faa548c5aeb71d65 SHA1 7cc82ff3d484ebad38f9aa73a587a70b8547a24b SHA256 1d572ec6cd1459a95de494c0e733b7c5ef5e929507286d004946e6819660fd5b
-MD5 9b65693f79a3fe790c980a23c5f4cab0 ChangeLog 9273
-RMD160 a4da6a6ff62382b4dab05b32faa548c5aeb71d65 ChangeLog 9273
-SHA256 1d572ec6cd1459a95de494c0e733b7c5ef5e929507286d004946e6819660fd5b ChangeLog 9273
+EBUILD scite-1.72.ebuild 1868 RMD160 3e7d2ba6cccf70800075fbd8f61dfe4008c0719c SHA1 7e037cf018ce741b4660a818d82e4f200358f2b0 SHA256 6e800f6ac2c3b5ef53b4876aab8296550d3941dc5fc868144315874cb6e8cf9d
+MD5 d8c351a9f07ed9e77e846dc744154dcd scite-1.72.ebuild 1868
+RMD160 3e7d2ba6cccf70800075fbd8f61dfe4008c0719c scite-1.72.ebuild 1868
+SHA256 6e800f6ac2c3b5ef53b4876aab8296550d3941dc5fc868144315874cb6e8cf9d scite-1.72.ebuild 1868
+MISC ChangeLog 9425 RMD160 e62acd6914e8f2f9817a17e5422da35c21b151bc SHA1 509f23c0bc8756b7cae89cde6c96bd82ab6890bc SHA256 58827c6d6b7212d08365de4e9a0ae59f187863d1513597a6abea01f8f949672f
+MD5 aeb8a1d9182c20aec627aa8ce1e6da9c ChangeLog 9425
+RMD160 e62acd6914e8f2f9817a17e5422da35c21b151bc ChangeLog 9425
+SHA256 58827c6d6b7212d08365de4e9a0ae59f187863d1513597a6abea01f8f949672f ChangeLog 9425
 MISC metadata.xml 304 RMD160 809312aa3c6eb0e2b42bfe747cbafdcf21947ff1 SHA1 8523f14def71e343644655b7890f96e14864216c SHA256 a562714322c75636ca3a75c641035e41d6066319a292473fd1811fe7ac70d655
 MD5 013655633e03ee4396e6da8e45481935 metadata.xml 304
 RMD160 809312aa3c6eb0e2b42bfe747cbafdcf21947ff1 metadata.xml 304
@@ -25,10 +34,13 @@ SHA256 a562714322c75636ca3a75c641035e41d6066319a292473fd1811fe7ac70d655 metadata
 MD5 b03a5ddc4e6aa3e006483fd93c3a299a files/digest-scite-1.71 220
 RMD160 74809b393f5d7c05a287074982cb79ed4f497cb9 files/digest-scite-1.71 220
 SHA256 1f3532c70d2d6c3b772f9e92b42d4c53c473a48b9b212dec9f58a4f210e24a40 files/digest-scite-1.71 220
+MD5 795ad57c1d661adc1bcf15e33f29643d files/digest-scite-1.72 220
+RMD160 f98515139e17062db6e63c4178f69fa2899ca0dd files/digest-scite-1.72 220
+SHA256 127493ead23d654728f2fd27b0466207a259be42d2e9cef0610d464c28b31498 files/digest-scite-1.72 220
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6 (GNU/Linux)
+Version: GnuPG v2.0.1 (GNU/Linux)
 
-iD8DBQFFklIbgo/w9rxVVVERAjx/AKC/VYVq9P4gv2le1vWzVzcqS7dlsQCfe/3w
-e/I3PgSLDaegYCNkwg4qFXk=
-=EJaV
+iD8DBQFFt0Rmgo/w9rxVVVERAtuAAJwNNeWc8+3NSwRUD8QwFmanXMwykACggRK9
+GECAKcAhVQHwLvb/6YYEpfQ=
+=ORt7
 -----END PGP SIGNATURE-----
diff --git a/app-editors/scite/files/digest-scite-1.72 b/app-editors/scite/files/digest-scite-1.72
new file mode 100644 (file)
index 0000000..72bebdf
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 da4e059117dbd69fb76d87739a98581d scite172.tgz 1335014
+RMD160 7ffcfa07f43560122692bc4bd00bc910167e9082 scite172.tgz 1335014
+SHA256 336c9b93f731882c9c5b95eadbe2751097347113e1d729c49b3e5f85ca4ad42e scite172.tgz 1335014
diff --git a/app-editors/scite/files/scite-1.72-install.patch b/app-editors/scite/files/scite-1.72-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.72.ebuild b/app-editors/scite/scite-1.72.ebuild
new file mode 100644 (file)
index 0000000..6475f4d
--- /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.72.ebuild,v 1.1 2007/01/24 11:33:30 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
+}