我认为标题已经解释了它......
programming ide vala software-recommendation application-development
在Launchpad.net 上,大多数项目都列出了其软件使用的编程语言:

如果有一种方法可以获取使用“X”编程语言的所有项目的列表,在我的例子中是Vala,那将会很有用。Launchpad 是否提供此功能?是否有任何 3rd 方工具可以做到这一点?
我是计算机科学专业的毕业生,学习了 C、C++、C# 和 Java 等语言。虽然我对Java有更多的经验。我想为 Linux 开发,我更喜欢为 GNOME 开发,我在从 Python 和 Vala 中选择一个之间感到困惑。
在 GNOME Live 页面上浏览了一些有关 Vala 的文档后,与 Python 相比,我似乎更熟悉它,与我在毕业时学到的大多数语言相比,Python 在句法上有很大不同。虽然 Vala 的学习曲线对我来说似乎更小。那么,我应该选择哪种语言开始开发,它在各种发行版中都有更好的支持。推荐语言的推荐 IDE 将不胜感激。
谢谢。
是否有计划为 Quickly 开发 Vala 模板?会很有趣,因为我认为 Vala 将成为 Gnome 的下一代编程语言。
我正在尝试使用 vala 在 11.10 中为 Unity 创建一个镜头。这是我的 daemon.vala:
using Dee;
using Gee;
namespace PidginLens
{
public class Daemon : GLib.Object, Unity.Activation
{
public static void main(string[] args)
{
}
}
}
Run Code Online (Sandbox Code Playgroud)
现在试图编译valac --pkg gee-1.0 --pkg dee-1.0 --pkg unity只是说
daemon.vala:6.40-6.55: error: The type name `Unity.Activation' could not be found
public class Daemon : GLib.Object, Unity.Activation
^^^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)
Run Code Online (Sandbox Code Playgroud)
libunity4 libunity6 libunity-dev libunity-core-4.0.4 libunity-core-4.0-dev gir1.2-unity-4.0 都安装好了,它显然找到了统一包(因为改成--pkg unity类似的东西会--pkg unity-not-here产生另一个错误。那么我的呢?错误?为什么 Unity.Activation 不存在?
谢谢你们!
我需要在 Vala 中使用 Gtk 制作一个应用程序,该应用程序支持可由用户更改的键盘加速器。
首先,我向全局 Gtk.AccelMap 添加一个条目,然后为 Gtk.MenuItems 设置 accel_path。但是,它不起作用。加速不会出现在菜单栏的项目中。为了清楚我要做什么,这里有一个示例代码:
// main.vala
public class MyWindow: Gtk.Window {
public MyWindow() {
this.set_default_size(500, 500);
var main_box = new Gtk.VBox(false, 0);
this.add(main_box);
// Menubar
var menubar = new Gtk.MenuBar();
main_box.pack_start(menubar, false, false, 0);
var file = new Gtk.MenuItem.with_label("File");
menubar.add(file);
var file_menu = new Gtk.Menu();
file.set_submenu(file_menu);
var quit_mi = new Gtk.MenuItem.with_label("Quit");
file_menu.append(quit_mi);
// Register a new accelerator with the global accelerator map
Gtk.AccelMap.add_entry("<MyWindow>/File/Quit", 'Q', Gdk.ModifierType.CONTROL_MASK);
quit_mi.set_accel_path("<MyWindow>/File/Quit");
// Connect signals
quit_mi.activate.connect(Gtk.main_quit);
// Label
var …Run Code Online (Sandbox Code Playgroud) 我正在尝试创建一个 Vala 应用程序来创建 AppIndicator。
问题是,当我编译我的应用程序时,出现以下错误:
Package `appindicator3-0.1' not found in specified Vala API directories or GObject-Introspection GIR directories
Run Code Online (Sandbox Code Playgroud)
我像这样编译应用程序:
valac --pkg appindicator3-0.1 --pkg gtk+-3.0 indicator.vala
Run Code Online (Sandbox Code Playgroud)
我安装了 libappindicator-dev 和 gir1.2-appindicator3-0.1。
我缺少什么?
谢谢。
根据 valadoc 的说法,gstreamer-player-1存在一个名为的包。但是在ubuntu包搜索中找不到对应的包
。
我正在尝试在 Ubuntu 18.0.4.2 上构建 Akira。
我检查了Github站点上的说明: https: //github.com/akiraux/Akira#-compile,并使用安装了所有依赖项sudo apt install。
运行指示的命令:后meson build --prefix=/usr -Dprofile=default,我看到错误输出如下:
Dependency granite found: NO found '0.5' but need: '>= 5.2.0'
Found CMake: /usr/bin/cmake (3.10.2)
Dependency granite found: NO (tried cmake)
meson.build:17:0: ERROR: Invalid version of dependency, need 'granite' ['>= 5.2.0'] found '0.5'.
Run Code Online (Sandbox Code Playgroud)
如何解决这种情况才能成功运行介子?
如何使用 vala(gtk) 从某个站点(例如 www.google.com)获取 html 代码?
我正在尝试从启动板编译这个包:https : //code.launchpad.net/~tombeckmann/+junk/indicator-terminal
我安装了 valac,因为这个包有一些 vala 代码。和CMake,因为有一个CMakeList.txt,我用bzr下载了代码,并尝试用cmake编译:
biel@C3PO:~$ bzr branch lp:~tombeckmann/+junk/indicator-terminal
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data. See "bzr help launchpad-login".
Branched 1 revision.
biel@C3PO:~$ cd indicator-terminal
biel@C3PO:~/indicator-terminal$ cmake CMakeLists.txt
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C …Run Code Online (Sandbox Code Playgroud)