-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
117 changed files
with
8,158 additions
and
3,180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,50 +10,59 @@ TODO | |
* [x] Write Vala Panel Plugin wrapper for LXTray from simple-panel (it is less buggy) (0.2) (done in XEmbed plugin) | ||
* [x] Make global menus from Unity Appindicator (rewrite it on Vala but without Ubuntu deps) (0.3) (see https://github.com/rilian-la-te/vala-panel-appmenu) | ||
* [x] Write a window buttons applet (0.3) | ||
* [ ] Going to C again (0.4.X) | ||
* [ ] Write Notification Center Applet (0.6) | ||
* [ ] Going to C again (0.4) | ||
* [ ] Wayland support, make compositor and complete Wayland support(1.0) | ||
* [ ] Taskbar DBus library for compositor (1.0) | ||
* [x] ~~Redo ValaPanelIconGrid using GtkFlowBox and such wonders.~~ (not needed since I am already using FlowBox everywhere) | ||
|
||
*TODO for 0.4.0* | ||
* [x] Rewrite plugins API and core into C | ||
* [ ] Split Toplevel into 3 objects: positioner, layout and window | ||
* [x] Made PanelManager | ||
* [ ] Allow positioner to be changed and dynamically linked | ||
* [x] Create Platform (abstraction that will handle all positioning) | ||
* [X] Allow Platform to be changed and independent form toplevel code | ||
* [x] Create X11 platform (with current positioning code) | ||
* [ ] Introduce gravity-based positioning | ||
* [ ] Create Layout and made pack-type useful | ||
* [ ] Rewrite toplevel into C | ||
* [X] Rewrite applet into C | ||
* [x] Made PanelManager (done as Platform) | ||
|
||
*TODO for 0.5.0* | ||
* [ ] Drop libpeas in favor to applets-new. | ||
* [ ] Be prepared for GTK4 | ||
* [ ] Replace XEmbed to proxy and move it to extras | ||
|
||
*Some notes about realization* | ||
|
||
Plugin-based panel. Users/developers can provide their own custom applets, | ||
which are fully integrated. They can be moved, added, removed again, and | ||
even broken. | ||
|
||
Dependencies | ||
Dependencies: | ||
--- | ||
|
||
*Core* | ||
*Core:* | ||
* GLib (>= 2.50.0) | ||
* GTK3 (>= 3.22.0) | ||
* libpeas-1.0 | ||
* libpeas-1.0 (>= 1.14.0) | ||
* valac | ||
|
||
*Plugins* | ||
*Plugins:* | ||
* libwnck (>= 3.4.7) | ||
* libX11 | ||
|
||
|
||
|
||
|
||
Lastly, always set `-DCMAKE_INSTALL_PREXIX=/usr` when using cmake. Otherwise you | ||
won't be able to start the panel on most distros. | ||
|
||
Author | ||
--- | ||
* <[email protected]> | ||
* Athor <[email protected]> | ||
|
||
Special thanks | ||
--- | ||
* [Ikey Doherty](mailto:[email protected]) for sidebar widget and icontasklist. | ||
* [Ikey Doherty](mailto:[email protected]) for icontasklist. | ||
* [XFCE Team](http://www.xfce.org/) for XFCE Tasklist. | ||
* [LXPanel team](https://git.lxde.org/gitweb/?p=lxde/lxpanel.git;a=summary) for creating a base for my fork. Vala Panel uses LXPanel's tray code and other inspirations (including generic-config-dialog.vala and most positioning code in toplevel.vala). | ||
|
||
Inspirations | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,20 @@ | ||
INCLUDE(GResource) | ||
set(VALA_FILES application.vala) | ||
vala_precompile(VALA_C ${APPNAME} | ||
${VALA_FILES} | ||
PACKAGES | ||
${CORE_PACKAGES} | ||
cvalapanel | ||
vala-panel | ||
posix | ||
OPTIONS | ||
--vapidir=${CMAKE_SOURCE_DIR}/vapi | ||
--vapidir=${CMAKE_BINARY_DIR}/vapi | ||
--vapidir=${CMAKE_BINARY_DIR}/lib | ||
--target-glib=2.50 | ||
--gresources=${CMAKE_CURRENT_SOURCE_DIR}/vala-panel.gresource.xml | ||
--thread | ||
-D GLIB242 | ||
) | ||
|
||
set(RUNNER_SOURCES | ||
runner.c | ||
runner.h | ||
info-data.c | ||
info-data.h | ||
boxed-wrapper.c | ||
boxed-wrapper.h | ||
glistmodel-filter.c | ||
glistmodel-filter.h | ||
) | ||
add_definitions(-DG_SETTINGS_ENABLE_BACKEND) | ||
glib_compile_resources(GLIB_RESOURCES_APP | ||
source | ||
vala-panel.gresource.xml | ||
runner.gresource.xml | ||
) | ||
|
||
##### | ||
# Executable | ||
##### | ||
set(APP_SOURCES | ||
${GLIB_RESOURCES_APP} | ||
${GLIB_RESOURCES_APP} | ||
vala-panel-platform-standalone-x11.c | ||
vala-panel-platform-standalone-x11.h) | ||
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_FULL_LIBDIR}/${CMAKE_PROJECT_NAME}/") | ||
add_custom_target(vala-ide-app SOURCES ${VALA_FILES}) | ||
add_executable (${APPNAME} ${VALA_C} ${APP_SOURCES}) | ||
add_executable(${APPNAME}-new ${APP_SOURCES} application-new.c application-new.h) | ||
vala-panel-platform-standalone-x11.h | ||
application.c application.h) | ||
add_executable(${APPNAME} ${APP_SOURCES} ) | ||
target_link_libraries (${APPNAME} ${LIBNAME} ${CORE_LIBRARIES}) | ||
target_link_libraries (${APPNAME}-new ${CORE_LIBRARIES} ${LIBNAME}) | ||
target_include_directories(${APPNAME} PRIVATE ${CORE_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${CMAKE_SOURCE_DIR}/lib/c-lib ${CMAKE_SOURCE_DIR}/lib ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}/lib) | ||
target_include_directories(${APPNAME}-new PRIVATE ${CORE_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR}/lib/c-lib ${CMAKE_SOURCE_DIR}/lib ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}/lib) | ||
|
||
install (TARGETS ${APPNAME} ${APPNAME}-new RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT bin) | ||
target_include_directories(${APPNAME} PRIVATE ${CORE_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${CMAKE_SOURCE_DIR}/lib/c-lib ${CMAKE_SOURCE_DIR}/lib ${CMAKE_BINARY_DIR}/lib) | ||
|
||
add_executable(${APPNAME}-runner | ||
${GLIB_RESOURCES_APP} | ||
${RUNNER_SOURCES} | ||
runner-app.c | ||
runner-app.h | ||
${CMAKE_SOURCE_DIR}/lib/css.c | ||
${CMAKE_SOURCE_DIR}/lib/launcher.c) | ||
target_link_libraries (${APPNAME}-runner ${CORE_LIBRARIES} m) | ||
target_include_directories(${APPNAME}-runner PRIVATE ${CORE_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR}) | ||
install (TARGETS ${APPNAME}-runner RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT bin) | ||
install (TARGETS ${APPNAME} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT bin) |
Oops, something went wrong.