--- liblauncher-0.3.6.orig/autogen.sh +++ liblauncher-0.3.6/autogen.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +PKG_NAME="liblauncher" + +which gnome-autogen.sh || { + echo "You need gnome-common from GNOME SVN" + exit 1 +} + +USE_GNOME2_MACROS=1 \ +. gnome-autogen.sh --- liblauncher-0.3.6.orig/gtk-doc.make +++ liblauncher-0.3.6/gtk-doc.make @@ -0,0 +1,196 @@ +# -*- mode: makefile -*- + +#################################### +# Everything below here is generic # +#################################### + +if GTK_DOC_USE_LIBTOOL +GTKDOC_CC = $(LIBTOOL) --mode=compile $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +GTKDOC_LD = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) +GTKDOC_RUN = $(LIBTOOL) --mode=execute +else +GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) +GTKDOC_RUN = sh -c +endif + +# We set GPATH here; this gives us semantics for GNU make +# which are more like other make's VPATH, when it comes to +# whether a source that is a target of one rule is then +# searched for in VPATH/GPATH. +# +GPATH = $(srcdir) + +TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE) + +EXTRA_DIST = \ + $(content_files) \ + $(HTML_IMAGES) \ + $(DOC_MAIN_SGML_FILE) \ + $(DOC_MODULE)-sections.txt \ + $(DOC_MODULE)-overrides.txt + +DOC_STAMPS=scan-build.stamp tmpl-build.stamp sgml-build.stamp html-build.stamp \ + $(srcdir)/tmpl.stamp $(srcdir)/sgml.stamp $(srcdir)/html.stamp + +SCANOBJ_FILES = \ + $(DOC_MODULE).args \ + $(DOC_MODULE).hierarchy \ + $(DOC_MODULE).interfaces \ + $(DOC_MODULE).prerequisites \ + $(DOC_MODULE).signals + +REPORT_FILES = \ + $(DOC_MODULE)-undocumented.txt \ + $(DOC_MODULE)-undeclared.txt \ + $(DOC_MODULE)-unused.txt + +CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS) + +if ENABLE_GTK_DOC +all-local: html-build.stamp +else +all-local: +endif + +docs: html-build.stamp + +$(REPORT_FILES): sgml-build.stamp + +#### scan #### + +scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB) + @echo 'gtk-doc: Scanning header files' + @-chmod -R u+w $(srcdir) + cd $(srcdir) && \ + gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="$(IGNORE_HFILES)" $(SCAN_OPTIONS) $(EXTRA_HFILES) + if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null 2>&1 ; then \ + CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \ + else \ + cd $(srcdir) ; \ + for i in $(SCANOBJ_FILES) ; do \ + test -f $$i || touch $$i ; \ + done \ + fi + touch scan-build.stamp + +$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp + @true + +#### templates #### + +tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt + @echo 'gtk-doc: Rebuilding template files' + @-chmod -R u+w $(srcdir) + cd $(srcdir) && gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS) + touch tmpl-build.stamp + +tmpl.stamp: tmpl-build.stamp + @true + +tmpl/*.sgml: + @true + + +#### xml #### + +sgml-build.stamp: tmpl.stamp $(HFILE_GLOB) $(CFILE_GLOB) $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files) + @echo 'gtk-doc: Building XML' + @-chmod -R u+w $(srcdir) + cd $(srcdir) && \ + gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $(MKDB_OPTIONS) + touch sgml-build.stamp + +sgml.stamp: sgml-build.stamp + @true + +#### html #### + +html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) + @echo 'gtk-doc: Building HTML' + @-chmod -R u+w $(srcdir) + rm -rf $(srcdir)/html + mkdir $(srcdir)/html + mkhtml_options=""; \ + gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \ + if test "$(?)" = "0"; then \ + mkhtml_options=--path="$(srcdir)"; \ + fi + cd $(srcdir)/html && gtkdoc-mkhtml $(mkhtml_options) $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) + test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) html ) + @echo 'gtk-doc: Fixing cross-references' + cd $(srcdir) && gtkdoc-fixxref --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) + touch html-build.stamp + +############## + +clean-local: + rm -f *~ *.bak + rm -rf .libs + +distclean-local: + cd $(srcdir) && \ + rm -rf xml $(REPORT_FILES) \ + $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt + +maintainer-clean-local: clean + cd $(srcdir) && rm -rf xml html + +install-data-local: + installfiles=`echo $(srcdir)/html/*`; \ + if test "$$installfiles" = '$(srcdir)/html/*'; \ + then echo '-- Nothing to install' ; \ + else \ + if test -n "$(DOC_MODULE_VERSION)"; then \ + installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \ + else \ + installdir="$(DESTDIR)$(TARGET_DIR)"; \ + fi; \ + $(mkinstalldirs) $${installdir} ; \ + for i in $$installfiles; do \ + echo '-- Installing '$$i ; \ + $(INSTALL_DATA) $$i $${installdir}; \ + done; \ + if test -n "$(DOC_MODULE_VERSION)"; then \ + mv -f $${installdir}/$(DOC_MODULE).devhelp2 \ + $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \ + mv -f $${installdir}/$(DOC_MODULE).devhelp \ + $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp; \ + fi; \ + ! which gtkdoc-rebase >/dev/null 2>&1 || \ + gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir} ; \ + fi + +uninstall-local: + if test -n "$(DOC_MODULE_VERSION)"; then \ + installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \ + else \ + installdir="$(DESTDIR)$(TARGET_DIR)"; \ + fi; \ + rm -rf $${installdir} + +# +# Require gtk-doc when making dist +# +if ENABLE_GTK_DOC +dist-check-gtkdoc: +else +dist-check-gtkdoc: + @echo "*** gtk-doc must be installed and enabled in order to make dist" + @false +endif + +dist-hook: dist-check-gtkdoc dist-hook-local + mkdir $(distdir)/tmpl + mkdir $(distdir)/xml + mkdir $(distdir)/html + -cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl + -cp $(srcdir)/xml/*.xml $(distdir)/xml + cp $(srcdir)/html/* $(distdir)/html + -cp $(srcdir)/$(DOC_MODULE).types $(distdir)/ + -cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/ + cd $(distdir) && rm -f $(DISTCLEANFILES) + ! which gtkdoc-rebase >/dev/null 2>&1 || \ + gtkdoc-rebase --online --relative --html-dir=$(distdir)/html + +.PHONY : dist-hook-local docs --- liblauncher-0.3.6.orig/debian/rules +++ liblauncher-0.3.6/debian/rules @@ -0,0 +1,14 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/class/gnome.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/utils.mk + +LDFLAGS += -Wl,-z,defs -Wl,--as-needed +DEB_DH_MAKESHLIBS_ARGS_liblauncher-0.3-0 = -V 'liblauncher-0.3-0 (>= 0.3.6)' + +binary-pre-install:: + find debian/tmp/usr/lib -name \*.la -exec rm {} \; + find debian/tmp/usr/lib -name \*.a -exec rm {} \; + +common-binary-predeb-arch:: list-missing --- liblauncher-0.3.6.orig/debian/liblauncher-dev.install +++ liblauncher-0.3.6/debian/liblauncher-dev.install @@ -0,0 +1,3 @@ +debian/tmp/usr/include/ +debian/tmp/usr/lib/pkgconfig +debian/tmp/usr/lib/*.so --- liblauncher-0.3.6.orig/debian/copyright +++ liblauncher-0.3.6/debian/copyright @@ -0,0 +1,53 @@ +This package was debianized by Neil Jagdish Patel on +Wed, 07 May 2009 15:41:06 -0600. + +It was downloaded from + +Upstream Author: + + Neil Jagdish Patel + +Copyright: + + Copyright (C) 2009 Canonical Ltd. + +License: + + * launcher/*: + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License Version 3.0 as published by the Free Software Foundation. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + +On Debian systems, the complete text of the GNU Lesser General Public License +can be found in `/usr/share/common-licenses/LGPL-3' + + + * tests/*: + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License version 3 as + published by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +On Debian systems, the complete text of the GNU General Public License +can be found in `/usr/share/common-licenses/GPL-3' + + +The Debian packaging is: + + Copyright (C) 2010 Canonical Ltd. + +and is licensed under the GPL version 3, see `/usr/share/common-licenses/GPL-3'. --- liblauncher-0.3.6.orig/debian/liblauncher-0.3-0.install +++ liblauncher-0.3.6/debian/liblauncher-0.3-0.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/*.so.* --- liblauncher-0.3.6.orig/debian/watch +++ liblauncher-0.3.6/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://launchpad.net/liblauncher/+download .*/liblauncher-([0-9.]+)\.tar\.gz --- liblauncher-0.3.6.orig/debian/compat +++ liblauncher-0.3.6/debian/compat @@ -0,0 +1 @@ +5 --- liblauncher-0.3.6.orig/debian/changelog +++ liblauncher-0.3.6/debian/changelog @@ -0,0 +1,87 @@ +liblauncher (0.3.6-0ubuntu4) natty; urgency=low + + * Fix FTBFS with ld --no-add-needed. + + -- Matthias Klose Sat, 08 Jan 2011 11:51:47 +0100 + +liblauncher (0.3.6-0ubuntu3) lucid; urgency=low + + * debian/liblauncher-0.3-dev.install: Rename to liblauncher-dev.install + to follow package rename in previous upload. + + -- Michael Terry Wed, 03 Mar 2010 11:03:23 -0500 + +liblauncher (0.3.6-0ubuntu2) lucid; urgency=low + + * debian/rules: + - remove -O1, no explanation why it was there + * debian/control: + - rename dev package to liblauncher-dev, internal to lucid dev cycle + + -- Didier Roche Tue, 02 Feb 2010 12:01:19 -0800 + +liblauncher (0.3.6-0ubuntu1) lucid; urgency=low + + * debian/rules: + - clean include (remove autotools.mk, simple-patchsys.mk) + - add gnome.mk + - remove LDFLAGS prepended by DEB_CONFIGURE_SCRIPT_ENV (just add +=) + - add -Wl,-z,defs to LDFLAGS + - remove DEB_COMPRESS_EXCLUDE + - remove --disable-gtk-doc when calling configure (already the default) + - remove calling autogen.sh when building + - update shlib + * debian/copyright: fix copyright (both GPL and LGPG) + * debian/rules: don't depend on gnome-common + * add debian/watch + + -- Didier Roche Mon, 18 Jan 2010 15:00:56 +0100 + +liblauncher (0.3.0+r64) lucid; urgency=low + + * New snapshot + + -- Didier Roche Tue, 12 Jan 2010 11:34:07 +0100 + +liblauncher (0.3.0+r60) lucid; urgency=low + + * Set version to bzr revision + + -- Ken VanDine Wed, 23 Dec 2009 13:20:43 -0500 + +liblauncher (0.3.0+20091218) lucid; urgency=low + + * New snapshot + * debian/control + - change the section to "debug" for the -dbg package + - added a misc:Depends for -dbg package + - bump standards version to 3.8.3 + - added build dep on gnome-common to run autogen.sh + * debian/rules + - don't install static libs + + -- Ken VanDine Fri, 18 Dec 2009 15:36:45 -0500 + +liblauncher (0.3.0) karmic; urgency=low + + * Bump package version for new soname. + + -- Robert Collins Thu, 05 Nov 2009 13:49:42 +1100 + +liblauncher (0.1.5ubuntu1) jaunty; urgency=low + + * Updated license to LGPLv3 + + -- Cody Russell Thu, 30 Jul 2009 10:30:20 -0500 + +liblauncher (0.1.5) jaunty; urgency=low + + * New release + + -- Neil J. Patel Tue, 28 Jul 2009 09:21:04 +0100 + +liblauncher (0.1.4) jaunty; urgency=low + + * Initial release. + + -- Neil J. Patel Thu, 23 Jul 2009 19:30:03 +0100 --- liblauncher-0.3.6.orig/debian/control +++ liblauncher-0.3.6/debian/control @@ -0,0 +1,65 @@ +Source: liblauncher +Section: libs +Priority: optional +Maintainer: Ubuntu Core Developers +Build-Depends: debhelper (>= 5.0), + cdbs (>= 0.4.41), + libglib2.0-dev (>=2.14.0), + libgtk2.0-dev (>= 2.14.0), + libgnome-menu-dev (>= 2.24), + libwnck-dev (>= 2.24), + libwncksync-dev, + libgconf2-dev (>=2.24), + libx11-dev, + gtk-doc-tools +Standards-Version: 3.8.3 +Homepage: https://launchpad.net/avani +Vcs-Bzr: http://bazaar.launchpad.net/~avani-team/avani/liblauncher-1.0 + +Package: liblauncher-0.3-0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Shared library to monitor desktop-wide state + liblauncher is a shared library that provides objects that help + monitor the current user's freedesktop.org menus, running + applications, folder bookmarks and more. It also provides + some utility functions to easily work with the desktop. + . + This package contains shared libraries to be used by applications. + +Package: liblauncher-dev +Section: libdevel +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + liblauncher-0.3-0 (= ${binary:Version}), + pkg-config, + libglib2.0-dev (>=2.14.0), + libgtk2.0-dev (>= 2.14.0), + libgnome-menu-dev (>= 2.24), + libwnck-dev (>= 2.24), + libgconf2-dev (>=2.24), + libx11-dev +Description: Shared library to monitor desktop-wide state + liblauncher is a shared library that provides objects that help + monitor the current user's freedesktop.org menus, running + applications, folder bookmarks and more. It also provides + some utility functions to easily work with the desktop. + . + This package contains files that are needed to build applications. + +Package: liblauncher-0.3-dbg +Section: debug +Architecture: any +Priority: extra +Depends: liblauncher-0.3-0 (= ${binary:Version}), + ${misc:Depends} +Description: Shared library to monitor desktop-wide state + liblauncher is a shared library that provides objects that help + monitor the current user's freedesktop.org menus, running + applications, folder bookmarks and more. It also provides + some utility functions to easily work with the desktop. + . + This package contains the debug files. + --- liblauncher-0.3.6.orig/tests/Makefile.in +++ liblauncher-0.3.6/tests/Makefile.in @@ -224,7 +224,7 @@ $(LAUNCHER_CFLAGS) \ $(MAINTAINER_CFLAGS) -test_liblauncher_LDADD = $(top_builddir)/launcher/liblauncher-@LAUNCHER_MAJOR_VERSION@.@LAUNCHER_MINOR_VERSION@.la +test_liblauncher_LDADD = $(top_builddir)/launcher/liblauncher-@LAUNCHER_MAJOR_VERSION@.@LAUNCHER_MINOR_VERSION@.la $(LAUNCHER_LIBS) # Xvfb server stuff (thanks Ted!) XVFB = Xvfb -ac -noreset -screen 0 800x600x16 -extension RANDR -x GLX --- liblauncher-0.3.6.orig/tests/Makefile.am +++ liblauncher-0.3.6/tests/Makefile.am @@ -17,7 +17,7 @@ $(LAUNCHER_CFLAGS) \ $(MAINTAINER_CFLAGS) -test_liblauncher_LDADD = $(top_builddir)/launcher/liblauncher-@LAUNCHER_MAJOR_VERSION@.@LAUNCHER_MINOR_VERSION@.la +test_liblauncher_LDADD = $(top_builddir)/launcher/liblauncher-@LAUNCHER_MAJOR_VERSION@.@LAUNCHER_MINOR_VERSION@.la $(LAUNCHER_LIBS) .PHONY: test test: --- liblauncher-0.3.6.orig/vapi/launcher-0.3.deps +++ liblauncher-0.3.6/vapi/launcher-0.3.deps @@ -0,0 +1,2 @@ +glib-2.0 +libwnck-1.0 --- liblauncher-0.3.6.orig/vapi/launcher-0.3.namespace +++ liblauncher-0.3.6/vapi/launcher-0.3.namespace @@ -0,0 +1 @@ +Launcher --- liblauncher-0.3.6.orig/vapi/generate_vapi +++ liblauncher-0.3.6/vapi/generate_vapi @@ -0,0 +1,9 @@ +#!/bin/sh + +# Just issues the commands to create the vapi file +# Would be nice to get autotools to make this at some point, but it sort +# of requires the package to be installed (and called from pkg-config) first +# so its a little messy + +vala-gen-introspect launcher-0.3 . +vapigen --pkg gobject-2.0 --pkg glib-2.0 --pkg libwnck-1.0 --library launcher-0.3 launcher-0.3.gi --- liblauncher-0.3.6.orig/vapi/launcher-0.3.files +++ liblauncher-0.3.6/vapi/launcher-0.3.files @@ -0,0 +1,2 @@ +include/launcher-0.3 +lib/liblauncher-0.3.so --- liblauncher-0.3.6.orig/vapi/launcher-0.3.metadata +++ liblauncher-0.3.6/vapi/launcher-0.3.metadata @@ -0,0 +1,6 @@ +Launcher cheader_filename="launcher/launcher.h" + +launcher_session_get_workarea.left is_out="1" +launcher_session_get_workarea.top is_out="1" +launcher_session_get_workarea.bottom is_out="1" +launcher_session_get_workarea.right is_out="1" --- liblauncher-0.3.6.orig/vapi/launcher-0.3.gi +++ liblauncher-0.3.6/vapi/launcher-0.3.gi @@ -0,0 +1,471 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + --- liblauncher-0.3.6.orig/vapi/launcher-0.3.vapi +++ liblauncher-0.3.6/vapi/launcher-0.3.vapi @@ -0,0 +1,137 @@ +/* launcher-0.3.vapi generated by vapigen, do not modify. */ + +[CCode (cprefix = "Launcher", lower_case_cprefix = "launcher_")] +namespace Launcher { + [CCode (cheader_filename = "launcher/launcher.h")] + public class Application : GLib.Object { + [CCode (has_construct_function = false)] + public Application (); + public void add_wnckapp (Wnck.Application wnck_app); + [CCode (has_construct_function = false)] + public Application.from_desktop_file (string desktop_file); + [CCode (has_construct_function = false)] + public Application.from_wnck_app (Wnck.Application app); + public unowned GLib.SList get_categories (); + public unowned string get_comment (); + public unowned string get_desktop_file (); + public unowned string get_exec_string (); + public bool get_favorite (); + public bool get_focused (); + public unowned string get_icon_name (); + public unowned string get_name (); + public bool get_running (); + public unowned string get_unique_string (); + public unowned GLib.SList get_wnckapps (); + public bool launch () throws GLib.Error; + public void set_desktop_file (string desktop_file); + public void show (); + public GLib.SList categories { get; } + public string comment { get; } + [NoAccessorMethod] + public string desktop_file_path { owned get; set; } + [NoAccessorMethod] + public string exec { owned get; } + public bool favorite { get; } + [NoAccessorMethod] + public bool focused { get; set; } + public string icon_name { get; } + public string name { get; } + [NoAccessorMethod] + public bool running { get; set; } + public string unique_string { get; } + public GLib.SList wnckapps { get; } + public virtual signal void closed (Wnck.Application wnckapp); + public virtual signal void opened (Wnck.Application wnckapp); + } + [CCode (cheader_filename = "launcher/launcher.h")] + public class Appman : GLib.Object { + public unowned Launcher.Application get_application_for_desktop_file (string desktop); + public unowned Launcher.Application get_application_for_wnck_app (Wnck.Application wnck_app); + public unowned GLib.Sequence get_applications (); + public static unowned Launcher.Appman get_default (); + } + [Compact] + [CCode (cheader_filename = "launcher/launcher.h")] + public class Category { + public weak GLib.Object parent_instance; + [CCode (has_construct_function = false)] + public Category (string name, string comment, string icon_name); + public void add_application (Launcher.Application application); + public void empty_applications (); + public unowned GLib.SList get_applications (); + public unowned string get_comment (); + public unowned string get_icon_name (); + public unowned string get_name (); + public void remove_application (Launcher.Application application); + public void sort_applications (GLib.CompareFunc sort_func); + } + [Compact] + [CCode (cheader_filename = "launcher/launcher.h")] + public class CategoryClass { + public weak GLib.Callback application_added; + public weak GLib.Callback application_removed; + public weak GLib.ObjectClass parent_class; + public weak GLib.Callback removed; + } + [CCode (cheader_filename = "launcher/launcher.h")] + public class Favorites : GLib.Object { + public bool add_favorite (string uid); + public bool get_bool (string uid, string key); + public static unowned Launcher.Favorites get_default (); + public unowned GLib.SList get_favorites (); + public float get_float (string uid, string key); + public int get_int (string uid, string key); + public unowned GLib.SList get_list (string uid, string key, Launcher.FavoritesListValue value_type); + public unowned string get_string (string uid, string key); + public bool remove_favorite (string uid); + public void set_bool (string uid, string key, bool value); + public void set_favorites (GLib.SList list); + public void set_float (string uid, string key, float value); + public void set_int (string uid, string key, int value); + public void set_list (string uid, string key, Launcher.FavoritesListValue value_type, GLib.SList value); + public void set_string (string uid, string key, string value); + } + [Compact] + [CCode (type_id = "LAUNCHER_TYPE_FOLDER", cheader_filename = "launcher/launcher.h")] + public class Folder { + [CCode (has_construct_function = false)] + public Folder (string name, string uri); + public void activate () throws GLib.Error; + public unowned string get_icon_name (); + public unowned string get_name (); + public unowned string get_uri (); + } + [CCode (cheader_filename = "launcher/launcher.h")] + public class FolderBookmarks : GLib.Object { + public unowned GLib.SList get_bookmarks (); + public static unowned Launcher.FolderBookmarks get_default (); + public virtual signal void bookmarks_changed (); + } + [CCode (cheader_filename = "launcher/launcher.h")] + public class Menu : GLib.Object { + public unowned GLib.SList get_applications (); + public unowned GLib.SList get_categories (); + public static unowned Launcher.Menu get_default (); + public virtual signal void menu_changed (); + } + [CCode (cheader_filename = "launcher/launcher.h")] + public class Session : GLib.Object { + public static unowned Launcher.Session get_default (); + public unowned GLib.SList get_running_applications (); + public virtual signal void application_launching (Launcher.Application p0); + public virtual signal void application_opened (Launcher.Application p0); + } + [Compact] + [CCode (cheader_filename = "launcher/launcher.h")] + public class SessionClass { + } + [CCode (cprefix = "LAUNCHER_FAVORITES_", has_type_id = "0", cheader_filename = "launcher/launcher.h")] + public enum FavoritesListValue { + STRING, + INT, + FLOAT, + BOOL + } + [CCode (cheader_filename = "launcher/launcher.h")] + public static unowned string icon_utils_icon_name_for_volume_uri (string uri); +} --- liblauncher-0.3.6.orig/doc/Makefile.am +++ liblauncher-0.3.6/doc/Makefile.am @@ -0,0 +1 @@ +SUBDIRS=reference --- liblauncher-0.3.6.orig/doc/reference/Makefile.am +++ liblauncher-0.3.6/doc/reference/Makefile.am @@ -0,0 +1 @@ +SUBDIRS=liblauncher --- liblauncher-0.3.6.orig/doc/reference/liblauncher/Makefile.am +++ liblauncher-0.3.6/doc/reference/liblauncher/Makefile.am @@ -0,0 +1,94 @@ +## Process this file with automake to produce Makefile.in + +# We require automake 1.6 at least. +AUTOMAKE_OPTIONS = 1.6 + +# This is a blank Makefile.am for using gtk-doc. +# Copy this to your project's API docs directory and modify the variables to +# suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples +# of using the various options. + +# The name of the module, e.g. 'glib'. +DOC_MODULE=liblauncher + +# Uncomment for versioned docs and specify the version of the module, e.g. '2'. +#DOC_MODULE_VERSION=2 + + +# The top-level SGML file. You can change this if you want to. +DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml + +# The directory containing the source code. Relative to $(srcdir). +# gtk-doc will search all .c & .h files beneath here for inline comments +# documenting the functions and macros. +# e.g. DOC_SOURCE_DIR=../../../gtk +DOC_SOURCE_DIR=../../../launcher + +# Extra options to pass to gtkdoc-scangobj. Not normally needed. +SCANGOBJ_OPTIONS= + +# Extra options to supply to gtkdoc-scan. +# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED" +SCAN_OPTIONS= + +# Extra options to supply to gtkdoc-mkdb. +# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml +MKDB_OPTIONS=--sgml-mode --output-format=xml + +# Extra options to supply to gtkdoc-mktmpl +# e.g. MKTMPL_OPTIONS=--only-section-tmpl +MKTMPL_OPTIONS= + +# Extra options to supply to gtkdoc-mkhtml +MKHTML_OPTIONS= + +# Extra options to supply to gtkdoc-fixref. Not normally needed. +# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html +FIXXREF_OPTIONS= + +# Used for dependencies. The docs will be rebuilt if any of these change. +# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h +# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c +HFILE_GLOB=$(top_srcdir)/launcher/*.h +CFILE_GLOB=$(top_srcdir)/launcher/*.c + +# Header files to ignore when scanning. +# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h +IGNORE_HFILES= + +# Images to copy into HTML directory. +# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png +HTML_IMAGES= + +# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE). +# e.g. content_files=running.sgml building.sgml changes-2.0.sgml +content_files= + +# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded +# These files must be listed here *and* in content_files +# e.g. expand_content_files=running.sgml +expand_content_files= + +# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library. +# Only needed if you are using gtkdoc-scangobj to dynamically query widget +# signals and properties. +# e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS) +# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib) +GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(LAUNCHER_CFLAGS) +GTKDOC_LIBS=$(top_builddir)/launcher/liblauncher-@LAUNCHER_MAJOR_VERSION@.@LAUNCHER_MINOR_VERSION@.la + +# This includes the standard gtk-doc make rules, copied by gtkdocize. +include $(top_srcdir)/gtk-doc.make + +# Other files to distribute +# e.g. EXTRA_DIST += version.xml.in +EXTRA_DIST += + +# Files not to distribute +# for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types +# for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt +#DISTCLEANFILES += + +# Comment this out if you want your docs-status tested during 'make check' +#TESTS = $(GTKDOC_CHECK) + --- liblauncher-0.3.6.orig/doc/reference/liblauncher/liblauncher-docs.sgml +++ liblauncher-0.3.6/doc/reference/liblauncher/liblauncher-docs.sgml @@ -0,0 +1,39 @@ + + +]> + + + liblauncher Reference Manual + + for liblauncher 0.1 + The latest version of this documentation can be found on-line at + http://[SERVER]/liblauncher/. + + + + + [Insert title here] + + + + + + + + + + + + Object Hierarchy + + + + API Index + + + + +