From: | "Krzysiek Pawlik (nelchael)" <nelchael@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-editors/scite/files: scite-1.79-install.patch scite-1.79-no-lua.patch |
Date: | Sun, 02 Aug 2009 23:27:24 |
Message-Id: | E1MXkSS-0004FF-KF@stork.gentoo.org |
1 | nelchael 09/08/02 23:27:16 |
2 | |
3 | Added: scite-1.79-install.patch scite-1.79-no-lua.patch |
4 | Log: |
5 | Version bump. |
6 | (Portage version: 2.1.6.13/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 app-editors/scite/files/scite-1.79-install.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/scite/files/scite-1.79-install.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/scite/files/scite-1.79-install.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: scite-1.79-install.patch |
15 | =================================================================== |
16 | --- scite/gtk/makefile.orig 2006-10-09 06:26:55 -0300 |
17 | +++ scite/gtk/makefile 2006-10-09 06:36:09 -0300 |
18 | @@ -123,11 +123,14 @@ |
19 | |
20 | ifdef gnomeprefix |
21 | ifdef GTK2 |
22 | - $(INSTALL) -m 755 -D SciTE.desktop $(DESTDIR)$(datadir)/applications/SciTE.desktop |
23 | + $(INSTALL) -m 755 -d $(DESTDIR)$(datadir)/applications/ |
24 | + $(INSTALL) -m 755 SciTE.desktop $(DESTDIR)$(datadir)/applications/ |
25 | else |
26 | - $(INSTALL) -m 755 -D SciTE.desktop $(DESTDIR)$(datadir)/applications/SciTE.desktop |
27 | + $(INSTALL) -m 755 -d $(DESTDIR)$(datadir)/applications/ |
28 | + $(INSTALL) -m 755 SciTE.desktop $(DESTDIR)$(datadir)/applications/ |
29 | endif |
30 | - $(INSTALL) -m 644 -D Sci48M.png $(DESTDIR)$(pixmapdir)/Sci48M.png |
31 | + $(INSTALL) -m 755 -d $(DESTDIR)$(pixmapdir)/ |
32 | + $(INSTALL) -m 644 Sci48M.png $(DESTDIR)$(pixmapdir)/Sci48M.png |
33 | endif |
34 | |
35 | uninstall: |
36 | |
37 | |
38 | |
39 | 1.1 app-editors/scite/files/scite-1.79-no-lua.patch |
40 | |
41 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/scite/files/scite-1.79-no-lua.patch?rev=1.1&view=markup |
42 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/scite/files/scite-1.79-no-lua.patch?rev=1.1&content-type=text/plain |
43 | |
44 | Index: scite-1.79-no-lua.patch |
45 | =================================================================== |
46 | --- scite/src/SciTEProps.cxx 2008-04-05 17:23:22.000000000 +0200 |
47 | +++ scite/src/SciTEProps.cxx 2008-04-05 17:23:41.000000000 +0200 |
48 | @@ -1461,10 +1461,12 @@ |
49 | |
50 | // return the int value of the command name passed in. |
51 | int SciTEBase::GetMenuCommandAsInt(SString commandName) { |
52 | +#ifndef NO_LUA |
53 | int i = IFaceTable::FindConstant(commandName.c_str()); |
54 | if (i != -1) { |
55 | return IFaceTable::constants[i].value; |
56 | } |
57 | +#endif |
58 | // Otherwise we might have entered a number as command to access a "SCI_" command |
59 | return commandName.value(); |
60 | } |