Package Details: scratch-text-editor-bzr r1756-1

Git Clone URL: (read-only)
Package Base: scratch-text-editor-bzr
Description: The Pantheon Text Editor
Upstream URL:
Licenses: GPL3
Groups: pantheon-unstable
Conflicts: scratch-text-editor
Provides: scratch-text-editor
Submitter: alucryd
Maintainer: alucryd
Last Packager: alucryd
Votes: 12
Popularity: 0.000000
First Submitted: 2013-05-06 13:09
Last Updated: 2017-04-29 13:34

Latest Comments

alucryd commented on 2015-01-16 11:21

Same here. I'll file a bug upstream when I find some time, unless you want to do it. BTW, please use an external pastebin service for error logs next time.

Xiaoming94 commented on 2015-01-15 16:18

Got this: /tmp/yaourt-tmp-xiaoming/aur-scratch-text-editor-bzr/src/scratch-text-editor/plugins/word-completion/engine.vala:38.27-38.31: warning: GLib.Mutex has been deprecated since glib-2.32. Use Mutex (with --target-glib=2.32)
/tmp/yaourt-tmp-xiaoming/aur-scratch-text-editor-bzr/src/scratch-text-editor/plugins/word-completion/completion-provider.vala:78.46-78.54: warning: Gtk.Stock has been deprecated since 3.10
/tmp/yaourt-tmp-xiaoming/aur-scratch-text-editor-bzr/src/scratch-text-editor/plugins/word-completion/completion-provider.vala:122.5-122.30: error: overriding method `Scratch.Plugins.CompletionProvider.get_start_iter' is incompatible with base method `Gtk.SourceCompletionProvider.get_start_iter': incompatible direction of parameter 3.
public bool get_start_iter (Gtk.SourceCompletionContext context,
/tmp/yaourt-tmp-xiaoming/aur-scratch-text-editor-bzr/src/scratch-text-editor/plugins/word-completion/plugin.vala:110.13-110.37: warning: GLib.Thread.create has been deprecated since 2.32. Use new Thread<T> ()
Compilation failed: 1 error(s), 3 warning(s)
plugins/word-completion/CMakeFiles/word-completion.dir/build.make:55: recipe for target 'plugins/word-completion/plugin.c' failed
make[2]: *** [plugins/word-completion/plugin.c] Error 1
CMakeFiles/Makefile2:715: recipe for target 'plugins/word-completion/CMakeFiles/word-completion.dir/all' failed
make[1]: *** [plugins/word-completion/CMakeFiles/word-completion.dir/all] Error 2
Makefile:147: recipe for target 'all' failed
make: *** [all] Error 2

alucryd commented on 2013-05-09 11:46

Ner0: Thx, I've chmod +x the scripts. There's no need to add granite-bzr however, it is already implied by pantheon-files-bzr.

Ner0 commented on 2013-05-09 11:37


Also you need granite-bzr as a dep and chmod +x on "$pkgdir"/usr/share/scratch/scripts/*.py :)

alucryd commented on 2013-05-09 11:07

Ner0: Thx for your reply. You don't need to disown the packages I can do it from here, and I'll leave pantheon-files (along with the dropbox plugin) and gala in your care then. Thx again!

Ner0 commented on 2013-05-09 10:53

About the packages, i really only use gala and pantheon-files, so i'd like to keep them, but if you like you can take over, i have no problem with that.

I've been meaning to do the whole pantheon thing, but haven't got the time.

Elementary is really behind the current releases, for example the elementary theme
is uselles and has been like that for over six months (even the bzr one).

Should i disown the packages first?

alucryd commented on 2013-05-09 10:11

Ner0: Why would you update this with the new lp URL support when I said this would be merged into the correctly named package? Anyway merging into scratch-text-editor-bzr.

BTW, the fact that you changed the URL format means you read my comment, yet you did not answer me at all, why is that?

alucryd commented on 2013-05-06 13:32

Ner0: This package is not named correctly, the scratch package in the official repos is different from this text editor. I have uploaded a scratch-text-editor-bzr and will merge this package into it when pacman 4.1.1 is released (because I use lp:scratch as source, and this feature is not present in pacman 4.1.0). BTW you might want to run namcap on your packages and PKGBUILDs, there are some redundant deps and deps that should be in makedepends.

Also would you be willing to let me adopt all Pantheon related packages so I can consolidate the whole thing? I'm already doing it locally, but beta testing my packages on the AUR would be nice. I'd like to push Pantheon in [community] as soon as enough stable releases are available (probably when elementaryOS Luna goes out of beta), and I might create an unofficial repo with packages built from bzr sometime in the future for testing.

alucryd commented on 2013-05-06 13:18

Note: This package relies on a feature introduced in pacman 4.1.1 which will be released soon (this week afaik).

Anonymous comment on 2013-04-15 09:42

It works, thanks.

Ner0 commented on 2013-04-15 04:15

Try uncommentig the "#options=('!makeflags')" line.

Anonymous comment on 2013-04-14 19:47

[ 68%] Building C object src/CMakeFiles/scratch-text-editor.dir/Widgets/NotificationBar.c.o
Linking C executable scratch-text-editor
[ 68%] Built target scratch-text-editor
make: *** [all] Errore 2

Any idea?

Ner0 commented on 2013-03-09 11:15

Yes, i've updated the PKGBUILD.

willemw commented on 2013-03-08 14:57

Got a build error:
==> Building and installing package
==> Install or build missing dependencies for scratch-bzr:
error: target not found: vala-016

When changing "vala-016" and "valac-0.16" to "vala" in PKGBUILD, the package does build and install. (Is it OK to change "valac-0.16" to "vala"?)

mrbit commented on 2012-11-26 13:47

ok with make DESTDIR="$pkgdir/" install

mrbit commented on 2012-11-26 13:42

ok with granite-bzr
add dependence = gtkspell3

now another problem:
[100%] Built target i18n
Install the project...
-- Install configuration: ""
-- Installing: /var/abs/local/yaourtbuild/scratch-bzr/pkg/usr/share/glib-2.0/schemas/org.pantheon.scratch.gschema.xml
-- Installing: /var/abs/local/yaourtbuild/scratch-bzr/pkg/usr/share/applications/scratch-text-editor.desktop
-- Installing: /var/abs/local/yaourtbuild/scratch-bzr/pkg/usr/lib/pkgconfig/scratchcore.pc
-- Installing: /var/abs/local/yaourtbuild/scratch-bzr/pkg/usr/share/vala/vapi/scratchcore.vapi
-- Installing: /var/abs/local/yaourtbuild/scratch-bzr/pkg/usr/include/scratchcore/scratchcore.h
-- Installing: /var/abs/local/yaourtbuild/scratch-bzr/pkg/usr/lib/
-- Installing: /var/abs/local/yaourtbuild/scratch-bzr/pkg/usr/lib/
-- Installing: /var/abs/local/yaourtbuild/scratch-bzr/pkg/usr/lib/
scratchcore/scratchcore.h:88: Warning: Scratch: symbol='GraniteWidgetsToolArrow': Skipping foreign identifier 'GraniteWidgetsToolArrow' from namespace Granite
scratchcore/scratchcore.h:89: Warning: Scratch: symbol='GraniteWidgetsToolArrowClass': Skipping foreign identifier 'GraniteWidgetsToolArrowClass' from namespace Granite
scratchcore/scratchcore.h:90: Warning: Scratch: symbol='GraniteWidgetsToolArrowPrivate': Skipping foreign identifier 'GraniteWidgetsToolArrowPrivate' from namespace Granite
<unknown>:: Warning: Scratch: Skipping foreign identifier 'GraniteWidgetsToolArrow' from namespace Granite
<unknown>:: Warning: Scratch: Skipping foreign identifier 'GraniteWidgetsToolArrowClass' from namespace Granite
scratchcore/scratchcore.h:333: Warning: Scratch: symbol='granite_widgets_tool_arrow_get_type': Skipping foreign symbol from namespace Granite
scratchcore/scratchcore.h:334: Warning: Scratch: symbol='granite_widgets_tool_arrow_new': Skipping foreign symbol from namespace Granite
scratchcore/scratchcore.h:335: Warning: Scratch: symbol='granite_widgets_tool_arrow_construct': Skipping foreign symbol from namespace Granite
src/scratch.h:79: Warning: Scratch: symbol='StatusBar': Unknown namespace for identifier 'StatusBar'
src/scratch.h:80: Warning: Scratch: symbol='StatusBarClass': Unknown namespace for identifier 'StatusBarClass'
src/scratch.h:220: Warning: Scratch: symbol='StatusBarPrivate': Unknown namespace for identifier 'StatusBarPrivate'
<unknown>:: Warning: Scratch: Unknown namespace for identifier 'StatusBar'
<unknown>:: Warning: Scratch: Unknown namespace for identifier 'StatusBarClass'
src/scratch.h:544: Warning: Scratch: symbol='status_bar_get_type': Unknown namespace for symbol 'status_bar_get_type'
src/scratch.h:713: Warning: Scratch: symbol='status_bar_new': Unknown namespace for symbol 'status_bar_new'
src/scratch.h:714: Warning: Scratch: symbol='status_bar_construct': Unknown namespace for symbol 'status_bar_construct'
src/scratch.h:695: Warning: Scratch: symbol='CONSTANTS_DATADIR': Unknown namespace for symbol 'CONSTANTS_DATADIR'
src/scratch.h:696: Warning: Scratch: symbol='CONSTANTS_SCRIPTDIR': Unknown namespace for symbol 'CONSTANTS_SCRIPTDIR'
src/scratch.h:697: Warning: Scratch: symbol='CONSTANTS_PKGDATADIR': Unknown namespace for symbol 'CONSTANTS_PKGDATADIR'
src/scratch.h:698: Warning: Scratch: symbol='CONSTANTS_GETTEXT_PACKAGE': Unknown namespace for symbol 'CONSTANTS_GETTEXT_PACKAGE'
src/scratch.h:699: Warning: Scratch: symbol='CONSTANTS_RELEASE_NAME': Unknown namespace for symbol 'CONSTANTS_RELEASE_NAME'
src/scratch.h:700: Warning: Scratch: symbol='CONSTANTS_VERSION': Unknown namespace for symbol 'CONSTANTS_VERSION'
src/scratch.h:701: Warning: Scratch: symbol='CONSTANTS_VERSION_INFO': Unknown namespace for symbol 'CONSTANTS_VERSION_INFO'
src/scratch.h:702: Warning: Scratch: symbol='CONSTANTS_PLUGINDIR': Unknown namespace for symbol 'CONSTANTS_PLUGINDIR'
src/scratch.h:703: Warning: Scratch: symbol='CONSTANTS_COMMENT': Unknown namespace for symbol 'CONSTANTS_COMMENT'
src/scratch.h:704: Warning: Scratch: symbol='CONSTANTS_GENERIC': Unknown namespace for symbol 'CONSTANTS_GENERIC'
src/scratch.h:705: Warning: Scratch: symbol='CONSTANTS_NEW_DOCUMENT': Unknown namespace for symbol 'CONSTANTS_NEW_DOCUMENT'
src/scratch.h:706: Warning: Scratch: symbol='CONSTANTS_NEW_WINDOW': Unknown namespace for symbol 'CONSTANTS_NEW_WINDOW'
No protocol specified

** (scratch-text-editor:22283): WARNING **: Could not open X display
No protocol specified
Impossibile aprire il display:
Command '['/var/abs/local/yaourtbuild/scratch-bzr/src/scratch-build/build/src/scratch-text-editor', "'--disable-ui'", '--introspect-dump=/tmp/tmp-introspectHXEuXf/functions.txt,/tmp/tmp-introspectHXEuXf/dump.xml']' returned non-zero exit status -5
error parsing file /var/abs/local/yaourtbuild/scratch-bzr/src/scratch-build/build/scratchcore/Scratch-1.0.gir: Failed to open file '/var/abs/local/yaourtbuild/scratch-bzr/src/scratch-build/build/scratchcore/Scratch-1.0.gir': No such file or directory
CMake Error at scratchcore/cmake_install.cmake:128 (FILE):
file INSTALL cannot find
Call Stack (most recent call first):
cmake_install.cmake:53 (INCLUDE)

make: *** [install] Errore 1

Ner0 commented on 2012-11-15 23:58

Hmm.. try it with the latest granite-bzr.

Ner0 commented on 2012-11-15 23:57

Hmm.. try it with granite-bzr.

mrbit commented on 2012-11-15 23:47

[ 21%] Generating MainWindow.c, Scratch.c, Widgets/ShareMenu.c, Widgets/Notebook.c, Widgets/Tab.c, Widgets/TabLabel.c, Widgets/SplitView.c, Widgets/ToolBar.c, Dialogs/PreferencesDialog.c, Dialogs/SaveDialog.c, Dialogs/SaveOnCloseDialog.c, Dialogs/WarnDialog.c, Services/Document.c, Services/ZeitgeistLogger.c, Services/Encoding.c, config.c, Widgets/ComboSyntax.c, Widgets/StatusBar.c, Widgets/NotificationBar.c, scratch.vapi, scratch.h, scratch_internal.h
/tmp/packerbuild-0/scratch-bzr/scratch-bzr/src/scratch-build/src/Dialogs/PreferencesDialog.vala:56.36-56.61: error: 1 extra arguments for `void ()'
main_static_notebook = new StaticNotebook (false);
Compilation failed: 1 error(s), 0 warning(s)
make[2]: *** [src/MainWindow.c] Errore 1
make[1]: *** [src/CMakeFiles/scratch-text-editor.dir/all] Errore 2
make: *** [all] Errore 2

Ner0 commented on 2012-11-15 20:30

Yeah, it requires vala<=0.16.

I've updated the PKGBUILD.

neuromancer85 commented on 2012-11-15 19:10

The build of revision 925 fails:

Ner0 commented on 2012-08-01 13:12

Ok, updated.

Anonymous comment on 2012-08-01 11:14

got this

-- Found PkgConfig: pkg-config (found version "0.27")
-- checking for module 'libsoup-2.4'
-- found libsoup-2.4, version 2.38.1
-- File Manager plugin will be compiled
-- checking for modules 'marlincore;gail-3.0'
-- package 'marlincore' not found
-- Pastebin plugin will NOT be compiled
-- checking for module 'vte-2.90'
-- found vte-2.90, version 0.32.2
-- checking for module 'libdevhelp-3.0'
-- package 'libdevhelp-3.0' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:279 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal)
plugins/devhelp/CMakeLists.txt:5 (pkg_check_modules)

muhas commented on 2012-06-26 05:50

add libzeitgeist to depends, please

idainet commented on 2012-05-19 07:11

Crashes while opening preferences with libpeas from [extra].
Bug known on bug-tracker -
A temporary solution is to use an older libpeas, e.g. 1.2

Ner0 commented on 2012-03-20 18:19

Thanks, i've had no problems building it with libpeas from [extra].

Unia commented on 2012-03-20 16:45

Needs libpeas-git as dependency (find it here:

Ner0 commented on 2011-11-18 19:25

rev 375 is not building, you can force 374.

gimmy commented on 2011-11-16 13:52

It gives error in make. I usa Vala