Compare commits

...

302 Commits

Author SHA1 Message Date
Sanel Z
9804f0e93a
Merge pull request #1 from kraileth/readme-improvement
Improve readme
2018-05-22 14:22:14 +02:00
Sanel Zukan
a04496c7f0 Do not handle manual for now. 2018-05-22 14:01:57 +02:00
Michael Reim
84f195c9b7 Improve readme 2018-05-04 20:28:07 +02:00
Sanel Zukan
5489ef0b70 Prevent crash when focusing button. 2018-05-04 00:52:05 +02:00
Sanel Zukan
cbcb0e2ce4 Show status when battery query fails.
When there is an issue with getting battery details, panel would not
show any icon nor tooltip to mark that status. This changes adds failing
icon and appropriate tooltip message.
2016-07-13 16:07:02 +02:00
Sanel Zukan
09039b46c9 Changed default gtk+ theme.
For now, relay on Adwaita gtk+3 theme. For future, a better approach
should be considered.
2016-07-13 12:53:12 +02:00
Sanel Zukan
7cc34bd248 Make sure 'lib' folders are created first. 2016-07-13 12:52:36 +02:00
Sanel Zukan
482ced1c5c Use rsvg-convert as svg convertor. 2016-06-29 13:27:02 +02:00
Sanel Zukan
f09dd4d3d6 Fixing links. 2016-06-16 14:51:33 +02:00
Sanel Zukan
9c6d7ebd0e Updating. 2016-06-16 14:49:39 +02:00
Sanel Zukan
9029fb2f45 Renaming. 2016-06-16 14:45:08 +02:00
Sanel Zukan
6f0fa02cbe Reordering repository 2016-06-08 12:33:37 +00:00
Sanel Zukan
f799482f64 DBus in most cases requres pthreads library, especially on OpenBSD in this case. 2015-12-17 00:13:09 +00:00
Sanel Zukan
da0370a255 Allow ede-startup.conf values to be overwritten by user specific startup sequence. 2015-12-17 00:05:32 +00:00
Sanel Zukan
3042413e36 Applying patches from Michael to fix openbsd buils. Fixing notification daemon to properly read 'replaces' property. 2015-12-16 17:05:02 +00:00
Sanel Zukan
29475da925 Allow setting splash theme to 'none'.
If 'none' was set, no splash theme will be used. This is another way
splash screen can be disabled without adding '-n' option to evoke.
2014-12-08 23:00:55 +00:00
Sanel Zukan
09b1d6fe74 Sort entries before they are added to the menu list. 2014-12-04 17:08:01 +00:00
Sanel Zukan
ef64e70a8b Sort layout descriptions. 2014-12-03 20:48:44 +00:00
Sanel Zukan
bd1f834431 Removed comments that prevented applet loading 2014-11-29 02:49:04 +00:00
Sanel Zukan
8f5f3a94ca Cleanup. 2014-11-29 02:43:19 +00:00
Sanel Zukan
e154972cdd Small code cleanup. Use the same code for tiling as ede-desktop is using it; this will make tile preview to look the same as will be on desktop background. 2014-11-28 17:45:41 +00:00
Sanel Zukan
8f8a937e98 Added support for wallpaper size update when screen sizes are changed. Also, there are some tricks applied so wallpaper scaling be done only when really is needed. 2014-11-28 15:46:05 +00:00
Sanel Zukan
f0c50eeebf Fixing issue with workspace change and window listing. Adding facility for reading configuration from applets: implemting options for configuring fixed layout in taskbar tabs and showing buttons from all desktops. 2014-11-28 01:47:31 +00:00
Sanel Zukan
002bd6b2e7 Adding support for taskbuttons drag & drop. Also fixing child size check bug. 2014-11-19 12:40:42 +00:00
Sanel Zukan
0d0cc8d8b1 Fixing bug 208 - Panel (position 0!) displaced on startup 2014-07-09 12:50:17 +00:00
Sanel Zukan
a2b2ae0e27 Adding patch from kraileth, which makes tip compiler compileable with musl libc. 2014-07-09 11:07:06 +00:00
Sanel Zukan
e529fb9794 Increasing version number. 2014-06-23 21:11:41 +00:00
Sanel Zukan
cdccbe7ce6 Updating (c) year in about dialog. 2014-06-21 20:55:47 +00:00
Sanel Zukan
a735fa7e84 Added logout dialog, confirmation is now binded to Enter key. 2014-06-20 09:29:18 +00:00
Sanel Zukan
7ebc86ca41 Fixing report string. 2014-06-20 09:27:40 +00:00
Sanel Zukan
d6dd94778c Cleaning some compiler warnings. 2014-03-02 11:12:17 +00:00
Sanel Zukan
f1a37cefd2 Changed icon create/edit dialog, so working path can be set, including startup options like running in terminal or starting with startup nofication hints.
Changed how icons are started. Previously, ede-desktop would extract content from .desktop Exec key and explicitly run it. This would not correctly handle other .desktop details, like startup notification or running in terminal. Now, full .desktop path is sent directly to ede-launch which will take care about named startup details.

These changes also fixes bug #235: "Working directory and startup notification for desktop icons".
2014-02-25 18:16:10 +00:00
Sanel Zukan
30d0261cd3 If .desktop file set Path key, obey to it and change current working directory. 2014-02-25 18:02:39 +00:00
Sanel Zukan
97886f254a free() requires stdlib.h, which is visible in FLTK 1.3 2013-10-28 23:47:11 +00:00
Sanel Zukan
095feb98e7 Allow last changes to be compileable with FLTK 1.1.x. This way I found some rand()/srand() calls without stdlib.h inclusion... 2013-10-28 23:42:40 +00:00
Sanel Zukan
361d3a532a Show tooltip over icon if icon contains Comment key. 2013-10-28 21:51:05 +00:00
Sanel Zukan
2c9f804aa3 Removing emountd; this code isn't used much as HAL is deprecated long time ago. Obviously, mounting notifications will be redone in future. 2013-10-02 01:35:18 +00:00
Sanel Zukan
bee5fd8fb9 Removing old ede-desktop.h. Adding support for editing existing icons.
Editing will be done simply by creating first .desktop file and letting ede-desktop to read it, performing some
checks to determin if only content was changed or file was renamed. Using this scheme, beside it simplify the code,
it addresses the cases when icon was modified outside the desktop or removed.

These things could be solved by using DirWatch, but I'm trying to rely less on OS notification system...
2013-06-24 14:40:28 +00:00
Sanel Zukan
db9e0bad61 Added fallback in case dirent's d_type wasn't set. Seems how Slackware follows POSIX strictly than others. 2013-06-07 22:19:00 +00:00
Sanel Zukan
fc433aa342 Better handling if configuration isn't present. 2013-06-06 09:48:01 +00:00
Sanel Zukan
0d6f18e867 Do not exit from read_config() even if reading file fails; edelib::Config class will simply use fallback values instead. 2013-06-06 09:44:50 +00:00
Sanel Zukan
932e2c85fd Load hider too. 2013-06-06 09:04:42 +00:00
Sanel Zukan
2726a2af37 Do not return from read_config() when configuration isn't present: applet will not be loaded. 2013-06-06 09:00:44 +00:00
Sanel Zukan
756b95587d Fixing some accidentaly lowered chars. 2013-06-05 16:34:06 +00:00
Sanel Zukan
6d1a140375 Changing uneeded const specifier for given va_list type. 2013-06-04 09:59:35 +00:00
Sanel Zukan
ca5911fe94 Use flat box so redraw() can update changed image correctly. 2013-06-03 21:47:26 +00:00
Sanel Zukan
05f7fc15e1 Inside battery applet, do not load icon on every change event by device. Instead, check if we really need to change icon (e.g. states between 'battery' and 'battery-caution' are changed) then load it.
A small formatting inside Panle and AppletManager.
2013-06-03 17:39:50 +00:00
Sanel Zukan
b24b859a4f Read applets and hider from configuration. Go to builtin order as fallback. 2013-06-03 13:44:59 +00:00
Sanel Zukan
8a0f7135ee Load system wide battery applet installation. Also added explicit linkage for libdl... 2013-06-03 11:15:59 +00:00
Sanel Zukan
a2a6f6034d Removed some test code. 2013-06-03 11:11:57 +00:00
Sanel Zukan
d30685514c In case DBus wasn't available, do not compile DBus related code. 2013-06-03 11:11:07 +00:00
Sanel Zukan
85490945e6 Importing UPower powered battery monitor. 2013-06-03 11:01:38 +00:00
Sanel Zukan
5bfe346880 Manualy merging ede-desktop2 branch. SF merging facility (ignores valid login) sux badly. 2013-05-30 13:07:49 +00:00
Sanel Zukan
9d1f4699de These days linking with XShape extension must be done explicitly. 2013-05-30 12:31:25 +00:00
Sanel Zukan
70e9a9b0b6 Cleaned a little bit strut handling. Oddly, this fixed strut ignoring value for xfwm4... 2013-03-04 23:18:17 +00:00
Sanel Zukan
a8b01d75c1 Set XDG_CURRENT_DESKTOP on startup. 2013-02-18 23:38:52 +00:00
Sanel Zukan
c8323b386d Do not run .desktop files which has OnlyShowIn/NotShowIn without 'EDE' as key. 2013-02-04 00:02:28 +00:00
Sanel Zukan
229914358a Support for panel height resize.
Now, when panel height get resized, children will update their height's too. Children height is always calculated in form (parent()->h() - 10).
2013-01-17 23:53:11 +00:00
Sanel Zukan
7c4628dfa1 Prevent switch to different workspace when minimizing last window on current workspace. 2013-01-17 22:49:49 +00:00
Sanel Zukan
7760130feb Updating year... 2013-01-16 22:47:33 +00:00
Sanel Zukan
8237708d54 Fixed disabled #ifdef. Also moved refresh interval on 2secs, to easy panel a little bit. 2013-01-11 19:03:37 +00:00
Sanel Zukan
19da305d71 Warning cleanup. 2013-01-09 16:06:45 +00:00
Sanel Zukan
0b4d9a7f26 More work on opensolaris...
Cleaning some warnings.
Added checks for kstat, so cpu applet can show usage via kstat api. Added tests for kstat in configure script.
2013-01-09 16:01:35 +00:00
Sanel Zukan
6495f53404 In case we do not have sysinfo() (!linux), create plain box with some info about it. 2013-01-09 14:04:51 +00:00
Sanel Zukan
d0d94e21dd Comment local applets option. 2013-01-09 13:47:08 +00:00
Sanel Zukan
465eb7dfe3 Moving memory query status code to use sysinfo() instead of /proc. 2013-01-09 13:45:49 +00:00
Sanel Zukan
e01506d58a Fixed stupid opensolaris requirement for c98... 2013-01-09 13:15:03 +00:00
Sanel Zukan
e4cf7ba8cf Use more space for key values. 2013-01-07 15:11:54 +00:00
Sanel Zukan
24a85295fa Added a few terms more. 2013-01-07 15:09:40 +00:00
Sanel Zukan
b5d2e20cee Fix for #186: ede-launch does not read Terminal key from desktop.
ede-launch now will read Terminal key, and if set to true, will load default selected terminal (or one of known terminals). It will also read now StartupNotify key, and initiate startup-notification protocol if compiled in; by default, it will not use startup notifications.

Resource loading is now made lazy, so first need for ede-launch configuration will load it from file.
2013-01-07 15:07:24 +00:00
Sanel Zukan
31d35e627a Fixed #194: ede-desktop will not save icon position on Shutdown. Code cleanup.
When user hit shutdown or restart from dialog, evoke will immediately sent shutdown/restart signal, causing abnormal X termination, killing all childs. With this commit, evoke will first close all X childs, then send shutdown/restart signal.
2013-01-05 03:39:09 +00:00
Sanel Zukan
c93bfdf7ee Fix for icon pick from icon chooser.
Now loader will use IconLoader::set() to fetch icon from choosen result.
2013-01-04 15:01:55 +00:00
Sanel Zukan
6a7296bcae Comment debug build. 2013-01-04 14:38:33 +00:00
Sanel Zukan
7b1245f06a Moving hider to panel itself, instead as separate applet.
Hider calls some Panel specific code and doing that from applet will make shit like selinux or apparmor quite unhappy (due relocations), which will refuse to start ede-panel. ...yet another workaround for that crapy security junk.
2013-01-04 14:36:40 +00:00
Sanel Zukan
d09f846380 Better handling on workspace change and setting sticky tag for window. Implemented #217: all windows in taskbar, no matter which desktop was used. 2013-01-04 13:05:42 +00:00
Sanel Zukan
7431373b29 Speed up removal items from group (FLTK 1.3 added faster method). Also fixing strange issue with desktop switch during minimize.
Added AppletWidget class, an experimental code for widgets that wants to accept custom methods. Needs completion though
2013-01-04 10:33:53 +00:00
Sanel Zukan
22f4e094cf Do not create unnecessary test binary. This also prevents TEXTRELS errors on systems where relocations are tracked. 2012-12-27 15:34:59 +00:00
Sanel Zukan
1046c2d4d5 Used new features from IconChooser. 2012-12-26 01:53:08 +00:00
Sanel Zukan
97da788155 Fixing #211: startede refers to old X11R6 resource path.
In startede sysresources are refering to older X11R6 (now is X11R7). Also as reported, on some systems the path '/usr/X11' is used too. Solving by removing resource usage at all; not seeing any usefulness of it...
2012-12-20 12:32:44 +00:00
Sanel Zukan
3df8f4ed7e Fixing long standing issue with tray space when tray icon gets destroyed.
When tray icon gets destroyed, space it was occupying would not be cleaned, yielding wholes inside taskbar. Fixing by explicitly hiding and deleting FLTK window which holded application tray window.
2012-12-20 01:50:00 +00:00
Sanel Zukan
eed00b3fbc Added title for panel and desktop, so we can find them in xrestop list. 2012-12-20 01:16:01 +00:00
Sanel Zukan
8bb9028df3 Implementing #213 (Make taskbar buttons stretchable).
Taskbar buttons now can be stretchable or fixed size as before. This commit also fixes a couple of drawing issues when workspace was changed.
2012-12-20 00:58:30 +00:00
Sanel Zukan
a3f2a79d5f Looks like sawfish likes WM_WINDOW_STATE_ICONIC more than NETWM_STATE_HIDDEN. 2012-12-17 22:26:55 +00:00
Sanel Zukan
fc4474f1c7 Removed usage... 2012-12-17 18:58:39 +00:00
Sanel Zukan
68959abca2 Removed unused list. 2012-12-17 18:56:59 +00:00
Sanel Zukan
fb708f76ed Closing #212: Panel buttons are reodered on titlebar click.
By default, pekwm will reorder window list on input focus (probably to optimize things) and this would also reorder buttons inside taskbar. Also, on new window list, all panel buttons would be recreated again, causing many allocations and deallocations. Now, window list received from wm is compared agains internal window storage for diffs.

Fixing this issue made removal some old edewm specific code and made panel nicely working under sawfish ;)
2012-12-17 15:49:33 +00:00
Sanel Zukan
9751acdd9e Removing decor from titlebar menus. Fixing some shortcuts so titlebar menus does not appear. 2012-12-06 01:21:12 +00:00
Sanel Zukan
a970841a4f Do not allow running commands from window menu. 2012-12-06 00:37:48 +00:00
Sanel Zukan
804374ebe3 Menu somehow got erased :S. Sanitizing it... 2012-12-06 00:34:36 +00:00
Sanel Zukan
e4d7e831c9 s/struct/class to make clang happy 2012-12-05 15:31:29 +00:00
Sanel Zukan
0cd54534d1 Fixing #205 (Memory applet shows negative swap size).
Fixing bug which is related to memory applet in ede-panel, when swap is used, where negative value was never shown.
2012-12-05 15:14:13 +00:00
Sanel Zukan
6f93f25468 Removing obsolete comment. Small reformatting... 2012-11-26 19:45:46 +00:00
Sanel Zukan
c5fd4cd9ee Fixed #198.
When user logout or shutdown the system, a warning dialog was showing about wrong DBus reply. Now are used
ConsoleKit commands 'CanStop' and 'CanRestart' to check can user perform the action.
2012-11-26 19:38:24 +00:00
Sanel Zukan
b7eb2760dc Clang warnings fix 2012-11-15 03:53:36 +00:00
Sanel Zukan
15dd0b0a80 Added support for receiving notifications.
When issue gets update, reporter can receive mail notifications, but has to have bugzilla account first. The later could not be avoided. Implements #201.
2012-11-07 12:49:43 +00:00
Sanel Zukan
c605359ea1 Space cleanup. 2012-11-02 11:57:11 +00:00
Sanel Zukan
013dfcc481 Removing obsolete efltk rule. 2012-10-23 12:44:36 +00:00
Sanel Zukan
0301585b3c Get FLTK and X versions. 2012-10-23 11:17:30 +00:00
Sanel Zukan
07e43f1c2b Cleanup. 2012-10-23 10:31:27 +00:00
Sanel Zukan
61bd398054 Removing some warning lines. 2012-10-23 10:29:20 +00:00
Sanel Zukan
4e0bd12967 Use also 'edelib-' matcher for debugger invoke. Also, emit PID to ede-crasher for further inspection. 2012-10-23 10:21:34 +00:00
Sanel Zukan
1cc61c1d29 Try to read 'core.PID' if can or fallback on 'core'. 2012-10-23 10:20:21 +00:00
Sanel Zukan
b19a713bdf Use str_hash(). Some cleanup. 2012-10-08 15:40:25 +00:00
Sanel Zukan
c39c0718f9 iconv() is a mess between os-es; const char**, char**,... oh my... 2012-09-24 14:01:08 +00:00
Sanel Zukan
240c195d87 Removing some incomplete code. 2012-09-24 13:48:16 +00:00
Sanel Zukan
5f89e0a412 Required size_t but not visible in sys/utsname.h. Minix again. 2012-09-24 13:46:09 +00:00
Sanel Zukan
599356843b Minix does not have pselect(). This is also good time to refactor xmlrpc-c dependency check in main configure.in script. 2012-09-24 13:43:51 +00:00
Sanel Zukan
c3aa1a61e6 Minix does not have setrlimit(). 2012-09-24 13:20:02 +00:00
Sanel Zukan
c26b526dcd Importing svn2cl as it is used from script that makes release archives.
Making code DBus optional; all DBus related code is wrapped inside EDELIB_HAVE_DBUS.
2012-09-18 17:49:48 +00:00
Sanel Zukan
0ad6617df4 Removing locks. We need better way to determin if FLTK has compiled in locking support or not. 2012-09-03 13:01:34 +00:00
Sanel Zukan
9eca312821 Added missing stdlib.h header. 2012-09-03 13:00:09 +00:00
Sanel Zukan
2d028fe4a6 Let panel taskbar tries to fetch icons of desired size, if possible. Also squashed a small memory leak in keyboard applet. 2012-08-24 14:15:04 +00:00
Sanel Zukan
b4ad2fb11b ifdef-ed some FLTK 1.3.0 specific code. 2012-08-23 02:29:27 +00:00
Sanel Zukan
89ec43af74 Added guards in case autoupdate feature is disabled. 2012-08-06 14:57:20 +00:00
Sanel Zukan
1dde9f92da Menu reload support and clean of some memory leaks.
Menu reload is using DirWatch to monitor application menu folders for changes. With this, any change on some content will trigger
menu update. Update is trying to be safe as possible: when menu is open, a backup menu will be constructed and replaced as soon as menu
was closed; when is closed, it will be directly replaced.

This still can include races, but I'm hoping they will not occur.

Related to memory leaks: on couple of places in cpu applet, delete was wronly called instead delete[]. Also, when ede-panel exits,
AppletManager would not clean loaded apples. Strange. So now explicit clear was added on exit.
2012-08-06 14:52:09 +00:00
Sanel Zukan
a45609e945 Added copyright/legal info. Cleared some deprecation warnings. 2012-08-06 12:00:25 +00:00
Sanel Zukan
705ea3ebf2 Center the window and fixed one spelling issue. 2012-08-05 23:01:11 +00:00
Sanel Zukan
8eeca59484 Made it static. 2012-07-19 08:23:42 +00:00
Sanel Zukan
3ff0844756 Removed some old code causing undefined behavior.
There were leftovers from previous menu version, where icon will be set for certain MenuItem. However, some of those items are removed causing values to be set outside array's bounds. Yuck!
2012-07-19 08:18:36 +00:00
Sanel Zukan
a024e66550 Copyright header and window preservation on mouse enter.
When notification was shown, if given timeout, it can be preserved on screen by entering
with mouse in window area. This can be useful when message with long was shown.
2012-07-17 08:05:52 +00:00
Sanel Zukan
59a16eff0e Fixing panel placement when screen size was changed. Updating main menu to use MenuTooltip code.
When screen dimensions are shrinked, panel will be moved at the correct location but will not be resized correctly. Also,
when screen dimensions are changed again, increasing sizes, panel would not catch that. Here, 'the hack' is to track
root window dimension changes and react on that, since relaying on _NET_WORKAREA is not always good; struts dimentions affects workarea size.

Main menu now has tooltips, which is Comment value from .desktop files. Also, since XdgMenuReader directly plays with MenuItem,
MenuItem::init_extensions() is used to reset uncommon values.
2012-06-07 09:32:27 +00:00
Sanel Zukan
db1ebec5d9 Prevent crashes. Have to investigate further. 2012-06-03 12:29:12 +00:00
Sanel Zukan
39ffa8406b Code cleanup.
Removing usage of EDE_PANEL_APPLET_CLASS since there is no much usage of it. Also, marked all applet widgets as EDE_PANEL_WIDGET_TYPE so panel knows it is widget.

Added license info in some code, but whole ede2 tree needs to be revised for that.
2012-05-30 10:23:27 +00:00
Sanel Zukan
fde927b627 Small cleanup. Added link for ede-notify-daemon docs. 2012-05-28 14:25:53 +00:00
Sanel Zukan
eb175fa89f Moving all class declarations to EDE_PANEL_APPLET_CLASS macro.
This change should make base applet code easier to modify without modifying applets itself. This is also
a starting point for implementation of better routing netwm messages to applets without adding specific listener
to each applet.
2012-05-28 10:57:50 +00:00
Sanel Zukan
9a664ddb92 Cleaning up some warnings. 2012-05-28 10:00:09 +00:00
Sanel Zukan
0d061c24e7 Marked current code as next versionn 2012-05-21 11:29:25 +00:00
Sanel Zukan
874d756e6b Simple script for doing release magic 2012-05-18 12:47:02 +00:00
Sanel Zukan
512645123a Reuse desktop folder path from Desktop class. Also small reordering, so only spaces are
replaced inside file name, not full desktop path.
2012-05-18 12:06:32 +00:00
Sanel Zukan
a786d9ea7a Added INSTALL_ICON_THEMES option. 2012-05-17 13:31:34 +00:00
Sanel Zukan
0e592d6e0c Adding wallpapers 2012-05-16 12:16:19 +00:00
Sanel Zukan
8bc8e23304 Redone animation code.
Due large number of XFlush-es, on some OS-eses with bad graphic driver (in my case FreeBSD on VirtualBox)
animation considerably slows down, making animation quit OS/driver specific. Using FLTK timer code, animation should
be agnostic as possible.
2012-05-16 11:30:41 +00:00
Sanel Zukan
a5c30864be Removing obsolete locale dir. Added checks for curl/types.h 2012-05-16 08:15:49 +00:00
Sanel Zukan
037460d4b3 Fixes for new curl versions.
Looks like type.h is removed from curl distribution rendering xmlrpc-c code uncompileable. All code is wrapped
around HAVE_CURLTYPES_H. Also if _REENTRANT was defined, gcc will report warning as it is defined by default (:S).
2012-05-16 07:55:41 +00:00
Sanel Zukan
1addbd0c3c Added missing config.h 2012-05-15 13:53:25 +00:00
Sanel Zukan
25128549a7 Focus input instead of image box 2012-05-15 12:51:09 +00:00
Sanel Zukan
1c2cfe3739 Handle case when icon wasn't selected.
By default, 'empty' icon should be used. It is now shown in preview box and will
be selected when icon wasn't explicitly chosen. Also, redraw full desktop when icon was removed, to
prevent displaying icon which isn't available.

Added small delay when icon was removed so directory watcher skip remove event.
2012-05-15 12:49:16 +00:00
Sanel Zukan
eccdcd83ef Icon renaming support. 2012-05-15 11:10:40 +00:00
Sanel Zukan
c2366025b5 Removing old code 2012-05-15 10:55:02 +00:00
Sanel Zukan
04b5c9d1f0 Better resize support.
Body widget is by default hidden and summary is lowered a little bit,
to fill space gap. Also this commit fixes 'position' calls for output
widgets, as this function for these widgets will move cursor at given
position, instead to move widget. Yuck!
2012-05-15 10:28:08 +00:00
Sanel Zukan
2b81f59d45 Center window before it was shown 2012-05-15 09:47:05 +00:00
Sanel Zukan
8b14a06a83 Made window to use border box. 2012-05-10 13:22:34 +00:00
Sanel Zukan
b83f16cb17 Small relayout check when body is visible. 2012-05-10 13:20:39 +00:00
Sanel Zukan
b6cc0dbaed Small docs about ede-notify-daemon. Also small update for README 2012-05-10 12:31:30 +00:00
Sanel Zukan
44cec726b1 Set notification window as notification type. 2012-05-10 12:11:45 +00:00
Sanel Zukan
f844303263 Remove that silly focus box from close button. Also hide those (again silly) cursors for text output field. 2012-05-10 12:04:28 +00:00
Sanel Zukan
ca8146de43 Better icons 2012-05-10 11:51:16 +00:00
Sanel Zukan
30a2644b8c Icons for notify daemon 2012-05-10 11:29:21 +00:00
Sanel Zukan
05f5f43aca Browsing files support. Real removal, but yet incomplete 2012-05-10 11:19:19 +00:00
Sanel Zukan
b195c061e0 Updating 2012-05-10 11:18:03 +00:00
Sanel Zukan
742064b04e Moving login manager to branches. Incomplete too 2012-05-10 11:16:46 +00:00
Sanel Zukan
0bff00e8c3 Moving file manager code to branches. Incomplete 2012-05-10 11:15:07 +00:00
Sanel Zukan
3cc94e7060 * daemonization support
* better placement, alhough this can be improved
* resizing support if text is larger than window
2012-05-10 11:09:35 +00:00
Sanel Zukan
9635713236 Initial commit of notification daemon 2012-05-09 15:56:06 +00:00
Sanel Zukan
dd496f4780 Make dialog-like windows centered. Work on implementing missing ede-desktop functions 2012-05-07 08:53:13 +00:00
Sanel Zukan
27b8bd888a Going toward implementing creating icons on desktop 2012-04-25 16:28:09 +00:00
Sanel Zukan
3c314d9482 Better zooming, small fixes 2012-04-25 09:45:52 +00:00
Sanel Zukan
b16aa99e08 Implementing creating folders from menu. Also, try to store icon of created item when mouse last clicked 2012-04-23 12:43:20 +00:00
Sanel Zukan
8aa9d550b2 Prevent some memory leaks 2012-04-19 12:49:30 +00:00
Sanel Zukan
6b78cb3b0a Made it static 2012-04-19 10:17:26 +00:00
Sanel Zukan
6a06898050 How did I manage to miss this!?@ 2012-04-19 10:12:49 +00:00
Sanel Zukan
403f4be39d Correctly set tray window sizes so tray app can draw icon(s) on correct place. 2012-04-19 10:08:41 +00:00
Sanel Zukan
7d884242bd Do not run timeout callbacks when panel is hidden. This will prevent reading cpu or memory status when their widgets are not visible. 2012-04-11 16:15:01 +00:00
Sanel Zukan
6ef8fead33 Handle case when 'ede-launch ede-launch ...' was given. 2012-04-09 19:02:01 +00:00
Sanel Zukan
89589e95b1 Do not load itself if given as parameter 2012-04-09 11:54:16 +00:00
Sanel Zukan
dcd742392f Implemented old #93 request: panel feature to be placed on screen by dragging (only putting it to top and bottom are available) and setting panel percentage width. 2012-04-04 09:58:23 +00:00
Sanel Zukan
9d38486f61 Small change and attempt to fix workspace switch bug, but without success. Next time... 2012-04-03 09:05:34 +00:00
Sanel Zukan
03eae3c12f Swap names so this item gets latest in the menu list 2012-04-02 19:12:37 +00:00
Sanel Zukan
859f298709 Menu entry 2012-04-02 19:04:40 +00:00
Sanel Zukan
405df2ef3c Importing new ede-screen-lock tool, a wrapper around various locking engines. Also modified ede-help to
use 'command -v' instead of 'which', making it more portable.
2012-04-02 18:59:07 +00:00
Sanel Zukan
e12c43e404 Addopted to recent changes in edelib-gui*.pc files 2011-11-21 14:09:18 +00:00
Sanel Zukan
971dd60f51 Use ConsoleKit (instead of obsolete Hal) to do restart/shutdown 2011-11-20 23:38:14 +00:00
Sanel Zukan
9c3ab096be Removing efltk checks. Small fix inside pekwm.m4 2011-11-14 08:54:06 +00:00
Sanel Zukan
5ee83e3c21 Fixing a typo 2011-11-14 08:48:00 +00:00
Sanel Zukan
3d518806ae Obsolete file 2011-11-13 20:42:00 +00:00
Sanel Zukan
ee1b5a89bf Empty menu should not be visible. 2011-11-13 20:24:54 +00:00
Sanel Zukan
28ed6ee5bf Dummy way to search iconv on platformes where it is separate library. More fixes on pekwm configure macros. Fixing compilation for ede-desktop.cpp 2011-11-10 14:20:58 +00:00
Sanel Zukan
ffb5307467 Compilation fix by anonymous to compile on TinyCore. 2011-11-10 09:17:40 +00:00
Sanel Zukan
f58d5fc764 Removing unused service 2011-11-09 16:30:12 +00:00
Sanel Zukan
78896a7527 Run edelib-update-font-cache 2011-11-09 14:09:13 +00:00
Sanel Zukan
23396ec197 Read font from font cache and display it 2011-11-09 14:08:11 +00:00
Sanel Zukan
ff5a21c825 pekwm knows about splash hint, so use it 2011-11-09 13:21:27 +00:00
Sanel Zukan
47ebbbc595 Updating build scripts 2011-11-09 13:18:48 +00:00
Sanel Zukan
bef3785f76 Moving EdeClassic to default 2011-11-09 13:17:29 +00:00
Sanel Zukan
f0b757aa7a Moving pekwm default theme to 'pekwm' name 2011-11-09 13:12:18 +00:00
Sanel Zukan
99d2ac6d03 Modularizing theme; adding few missing parts 2011-11-05 21:31:06 +00:00
Sanel Zukan
8e796e0800 Starting EDE specific pekwm theme 2011-11-05 13:44:02 +00:00
Sanel Zukan
04ac1dce37 Center it 2011-11-03 21:48:31 +00:00
Sanel Zukan
765cb4fc2c Explicit conversion must be on freebsd gcc version 2011-10-29 16:10:41 +00:00
Sanel Zukan
4c94bcd899 find_index() exists only in fltk 1.3.x 2011-10-29 16:06:27 +00:00
Sanel Zukan
2e4fc39aa2 Explicitly include limits.h for PATH_MAX 2011-10-29 15:49:31 +00:00
Sanel Zukan
302350b22b Added example to help line 2011-10-28 12:01:35 +00:00
Sanel Zukan
825836fe3d Support for running programs based on guessed pattern 2011-10-28 12:00:04 +00:00
Sanel Zukan
9a48273fd4 Fixed issue with drawing label 2011-10-28 09:12:49 +00:00
Sanel Zukan
9f349dae04 Allow explicit building of local applets. Shrinked buf size for numbers 2011-10-27 15:11:11 +00:00
Sanel Zukan
c97c675153 Do not tray windows that are not valid 2011-10-27 15:00:15 +00:00
Sanel Zukan
d9e4715752 Setup visual atom for app icons 2011-10-27 13:15:25 +00:00
Sanel Zukan
513ffe504a Fixing way how tray icon window is drawn. This required changing a bit of code here 2011-10-27 12:02:07 +00:00
Sanel Zukan
a23957a49e Removing debug code. 2011-10-26 16:19:21 +00:00
Sanel Zukan
dc27ca1364 Unused code 2011-10-26 16:06:25 +00:00
Sanel Zukan
706ef69bfa Importing systray applet. Not completed yet... 2011-10-26 16:04:37 +00:00
Sanel Zukan
8f84854d4c Fixed example so claws could work 2011-10-26 09:04:04 +00:00
Sanel Zukan
3e64bb4aa8 Added claws 2011-10-26 09:01:36 +00:00
Sanel Zukan
432ab15282 Small refactoring 2011-10-26 08:56:35 +00:00
Sanel Zukan
6d9b97b22c mailto example in help 2011-10-25 14:44:03 +00:00
Sanel Zukan
05af3ba7f0 Let --launch [type] load program without parameters 2011-10-25 14:30:29 +00:00
Sanel Zukan
c0f1ca1c44 Improved launch tool with preferred applications support. 2011-10-25 13:48:56 +00:00
Sanel Zukan
f0acacfd89 Some cleanup 2011-10-24 15:30:31 +00:00
Sanel Zukan
c7ec90a607 Removed non-implemented things, for now... 2011-10-24 14:59:22 +00:00
Sanel Zukan
785d499b30 Use same color as in ede-desktop 2011-10-24 14:58:34 +00:00
Sanel Zukan
a34cd82898 Replacing external program ede-launch-sn with StartupNotify code 2011-10-24 12:21:05 +00:00
Sanel Zukan
a6b055530b Added menu entry for ede-preferred-applications. Let it be centered on screen when shown 2011-10-24 09:11:06 +00:00
Sanel Zukan
d0750641ab Support for launching .desktop files 2011-10-24 09:02:36 +00:00
Sanel Zukan
997cc186e4 Dumping efltk edewm 2011-10-24 08:17:10 +00:00
Sanel Zukan
9d23b51207 Removing checks for efltk and updating README. Squashing few warnings. 2011-10-24 08:15:47 +00:00
Sanel Zukan
eed5749909 Importing pekwm as alternative wm. Adopting it to ede build system including autoconf checks.
Also center ede-launch window.
2011-10-23 00:10:40 +00:00
Sanel Zukan
dd008c9ac3 Added evolution and gnome-terminal to listed apps 2011-10-22 10:15:45 +00:00
Sanel Zukan
73d51110cc Better terminal handling 2011-10-21 20:26:19 +00:00
Sanel Zukan
2898f9ea53 Use edelib::Window 2011-10-21 16:00:16 +00:00
Sanel Zukan
af906eb737 Some hack to prevent gcc warnings. This could be solved by separate file, but... 2011-10-21 15:50:43 +00:00
Sanel Zukan
46cb6110b7 Correctly write/read user supplied programs. 2011-10-21 15:41:30 +00:00
Sanel Zukan
09b60c67c8 Refactoring... 2011-10-21 15:20:48 +00:00
Sanel Zukan
796a43cda5 Handle 'Browse...' click. 2011-10-21 13:07:14 +00:00
Sanel Zukan
688f5e07de Support for storing/loading items 2011-10-20 16:02:47 +00:00
Sanel Zukan
016c9f8677 Added entry for ede-preferred-applications 2011-10-20 15:18:33 +00:00
Sanel Zukan
93f7e1d1f6 Importing new tool for configuring preferred applications. Not finished 2011-10-20 15:13:04 +00:00
Sanel Zukan
24683b07ca Use SOURCE var where can 2011-10-20 14:18:11 +00:00
Sanel Zukan
f15229e831 Added translation part 2011-10-20 09:17:08 +00:00
Sanel Zukan
14766fee6e Tool for easier boilerplate creation 2011-10-20 09:11:05 +00:00
Sanel Zukan
f5e6768f47 Small refactoring 2011-10-18 08:45:55 +00:00
Sanel Zukan
77c2ce9739 Refactoring some icon handling. Dumping trash handling; this should be done by separate application 2011-10-18 08:17:35 +00:00
Sanel Zukan
f3ff9ade2d Use for_each 2011-10-07 14:19:04 +00:00
Sanel Zukan
f16c76e5b6 Set E_LOG_DOMAIN var during compilation phase 2011-10-06 22:19:03 +00:00
Sanel Zukan
7313d248e3 Add it to loader 2011-09-30 11:43:05 +00:00
Sanel Zukan
a486d1b3bf Drawing code 2011-09-30 11:41:22 +00:00
Sanel Zukan
b2408f4957 Initial import of memory monitor applet 2011-09-30 09:47:20 +00:00
Sanel Zukan
d987063dfe Removed 2011-09-28 12:50:24 +00:00
Sanel Zukan
c758335855 Obsolete file 2011-09-28 09:05:22 +00:00
Sanel Zukan
29c8226e03 Updated year 2011-09-15 14:07:46 +00:00
Sanel Zukan
dbd1933aad Updating current dirs 2011-09-14 15:12:45 +00:00
Sanel Zukan
2595111e43 Cleanup too 2011-09-14 13:06:39 +00:00
Sanel Zukan
70eabeabe5 Cleaning up some old stuff 2011-09-14 13:05:41 +00:00
Sanel Zukan
5a32de2be6 Removed warning if 1.3.x branch was detected 2011-08-04 08:46:05 +00:00
Sanel Zukan
394566a9a5 Fixed few things for easier compilation with FLTK 1.3.
Forbidden asciidoc to read /etc/asciidoc folder, as it could have newer incopatible asciidoc config files.
2011-08-03 12:20:37 +00:00
Sanel Zukan
f978ef01f8 Do not show dialog if there are no entries 2010-03-29 03:37:36 +00:00
Sanel Zukan
39b5181ad5 Use EDE_APPLICATION to init localization code and set default (and much saner) font size. 2010-03-28 12:54:45 +00:00
Sanel Zukan
e4ec7c9861 Updated year 2010-03-22 01:51:43 +00:00
Sanel Zukan
eebda8a375 Update icon on demand 2010-03-09 23:38:57 +00:00
Sanel Zukan
bd5dbb7ed9 Application icon support in taskbar button 2010-03-08 22:44:32 +00:00
Sanel Zukan
8711d6c593 Added weekday name in tooltip 2010-03-08 00:03:44 +00:00
Sanel Zukan
617bebaab2 Some tooltip text beautification 2010-03-07 23:14:54 +00:00
Sanel Zukan
83a14d9a27 Let tooltip shows a date 2010-03-07 21:51:06 +00:00
Sanel Zukan
6de400ed8b Use flat box by default 2010-03-07 21:33:55 +00:00
Sanel Zukan
f17c97d4a8 Do not state things that are not implemented 2010-03-07 14:03:30 +00:00
Sanel Zukan
c6ed8f6d2f Handle case when va_list is array. 2010-03-06 17:28:21 +00:00
Sanel Zukan
1ed2b9149a Line up with spaces 2010-02-23 16:28:34 +00:00
Sanel Zukan
0da0d5c7c4 Prevent segfault when '--apply' was issued.
Added some tooltips for better description of some checkboxes.
2010-02-23 16:18:09 +00:00
Sanel Zukan
7b97a3ccd4 Use sysconfdir variable if was given via '--sysconfdir' flag to configure script. 2010-01-19 14:41:51 +00:00
Sanel Zukan
bb1f7cf95e Use given prefix, instead builtin path. 2010-01-19 14:01:36 +00:00
Sanel Zukan
2c546ddcf8 Straight use of sysconfdir variable 2010-01-19 13:49:49 +00:00
Sanel Zukan
fcf71678b0 Dumped builtin paths as distros can't use them for packaging. Noted by Thierry from NuTyX project. 2010-01-18 14:38:22 +00:00
Sanel Zukan
b057ef45a1 Do not display transient windows 2010-01-06 14:45:56 +00:00
Sanel Zukan
be777e192a Removed jambuild.txt entry in Jamfile.
Documented org.equinoxproject.Xsettings service.
2009-12-28 13:11:33 +00:00
Sanel Zukan
c6269ccff7 Dump unfinished item. This should be completed on wiki. 2009-12-28 12:49:27 +00:00
Sanel Zukan
44d997a075 Use common netwm code from edelib. 2009-12-24 15:47:29 +00:00
Sanel Zukan
66da6a79b6 Do not compile and install demo applet 2009-12-17 15:19:05 +00:00
Sanel Zukan
bbbb00fdca Use wm specific code from edelib. 2009-12-17 15:16:35 +00:00
Sanel Zukan
31fbe5bc06 Added Remove(), Flush() and Set() D-Bus calls, related to XSETTINGS, in evoke.
Use Fl_Double_Window in ede-image-view, to prevent flickering when image gets resized.
2009-12-07 13:46:52 +00:00
Sanel Zukan
1915b1aca2 Added D-Bus interface for querying XSETTINGS data. 2009-12-03 16:56:20 +00:00
Sanel Zukan
1031cdb68e Ignore if TERM == dumb on ede-launch.
Check smallest allowed sizes for font and maxwidth in ede-desktop icons.
2009-11-27 22:26:25 +00:00
Sanel Zukan
31f5559acd Do not use TryExec; Exec should be enough. Besides, gdm seems to ignore ede.desktop when TryExec contains full path. 2009-11-26 22:44:23 +00:00
Sanel Zukan
399aa3af0a Squeeze warning on gcc 4.3.2 2009-11-26 20:16:22 +00:00
Sanel Zukan
f29a773577 Importing tool for easier documenting jam build sources. 2009-11-26 14:08:22 +00:00
Sanel Zukan
60f5b321d4 Squeezed some warnings. 2009-11-23 15:09:06 +00:00
Sanel Zukan
a324dc2eb0 Some code reformatting.
Fixed pixmap creating issue for 24-bit displays.
2009-11-23 12:52:03 +00:00
Sanel Zukan
b25a148298 More warnings reduction. 2009-11-20 17:14:40 +00:00
Sanel Zukan
037196c9be Reduced warnings on gcc 4.4.1.
Let panel applet use GLOBALFLAGS.
Check for XKBrules from XKB extension and conditionally compile code using it.
2009-11-20 17:08:29 +00:00
Sanel Zukan
7bb1048773 Synced with autogen.sh from edelib. 2009-11-20 15:29:47 +00:00
Sanel Zukan
93f8b5043a Synced with autogen.sh from edelib. 2009-11-20 15:22:43 +00:00
Sanel Zukan
fc0cdee788 Corrected warning message. 2009-11-18 14:27:30 +00:00
Sanel Zukan
ad5ae59c66 Use CURL_CFLAGS in case curl was installed in non-common directories. 2009-11-18 14:26:20 +00:00
Sanel Zukan
bafdb44a10 Let ede-launch use xterm if TERM was inherited from login console.
Dumping usage of FL_SHOW event in ede-panel; everything is now handled in Panel::show().
Call Panel::hide() even if ede-panel was ended/killed with outside signal; with this configuration file will be stored.
Remember panel position (top/bottom).
2009-11-18 12:24:58 +00:00
Sanel Zukan
200fdd8e4c Use edelib implementation of daemon() since Solaris family do not provide it. 2009-11-17 12:39:38 +00:00
Sanel Zukan
94fb06d386 ede-autostart will use warning icon from icon theme.
Apply keyboard settings at ede startup.
Do not change keyboard layout if it is the same as previous.
2009-11-16 11:40:52 +00:00
Sanel Zukan
cc9725582c Call ede-keyboard-conf when clicked on applet.
Let ede-keyboard-conf uses setxkbmap for setting changes.
ede-desktop foreign callback addopted for latest modification in edelib.
ede-conf will display keyboard configuration.
2009-11-13 11:53:02 +00:00
Sanel Zukan
dd6039098d Fixed some bounds misscalculations 2009-11-12 14:06:42 +00:00
Sanel Zukan
d48ca850b2 ld on OpenSolaris uses different flag for shared libraries 2009-11-12 13:22:16 +00:00
Sanel Zukan
aa89c86111 Use X path if given 2009-11-12 13:15:27 +00:00
Sanel Zukan
7442e41421 Alias some types not known for Solaris 2009-11-12 12:50:25 +00:00
Sanel Zukan
17c1826356 Specify X path in case the path is not common 2009-11-12 12:40:30 +00:00
Sanel Zukan
68af66f1cb Use selected layout and store it 2009-11-10 14:40:21 +00:00
Sanel Zukan
10e6481a51 Quote macro name 2009-11-10 12:34:14 +00:00
Sanel Zukan
2e989474b3 Use callback changes in edelib 2009-11-10 11:10:34 +00:00
Sanel Zukan
6cee1f2ee5 Importing tool for keyboard configuration 2009-11-06 15:45:48 +00:00
Sanel Zukan
c4378d8738 Importing adapted CPU monitor from old eworkpanel as applet 2009-11-05 15:18:51 +00:00
Sanel Zukan
75aca1e984 Added -fPIC flag for start-menu applet code, that prevented linkage.
Common menu code will be compiled now once in separate library.
2009-10-15 14:51:15 +00:00
Sanel Zukan
5de582c27b Applied a little bit modified patch from José Romildo on bug #168 (DESTDIR support). 2009-10-13 15:51:25 +00:00
Sanel Zukan
34e75159fd Apply patch for bug #170 from José Romildo, for the case when EDELIBINCLUDE is empty 2009-10-13 14:50:55 +00:00
Sanel Zukan
4ad4b4ca71 Implemented restart and shutdown. By default, they will be done via HAL, if HAL was detected.
Fallback will be done via standard shell commands.
2009-10-13 10:41:08 +00:00
Sanel Zukan
0d49f7bf87 Importing applet for displaying currently used keyboard layout 2009-10-12 11:25:57 +00:00
Sanel Zukan
b96b32af8f Unused code 2009-10-09 16:07:21 +00:00
Sanel Zukan
b230d3608b Adding national flags describing keyboard layout.
Updated Jamfile to install it in icon directory.
2009-10-09 15:17:08 +00:00
1059 changed files with 48367 additions and 42666 deletions

52
AUTHORS.pekwm Normal file
View File

@ -0,0 +1,52 @@
-- AUTHORS for pekwm
Author:
* Claes Nasten <pekdon{@}pekdon{.}net>
Patchers:
* Andreas <ioerror{@}lavabit{.}com>
- Bug fixing.
- Code cleanup.
* Jyri Jokinen <shared{@}suffi{.}net>
- Documentation since 0.1.3.
* Rando Christensen <rando{@}babblica{.}net>
- Autoconf scripts.
- Documentation since 0.1.1.
- Ideas, bug reports and moral support.
* Lurene Frenier <lurene{@}daemonkitty{.}net>
- Make file patches.
Moral support:
* Alexandra Walford <chroma{@}delusion{.}de>
- Moral support.
- English and CSS support.
* Christoph Strake <me{@}chr1z{.}de>
- Default Theme author.
- WWW design consultant.
Testers and Requsters:
* Ashwin <ashwind{@}cyberwaveindia{.}com>
- Beta testing, many good bug reports.
* Michael ? <themadmind{@}optushome{.}com{.}au>
- GCC-3.1.0 compile verification.
-- AUTHORS for aewm++ 1.0.16
Author:
* Frank Hale <frankhale{@}yahoo{.}com>
-- AUTHORS for aewm
Author:
* Decklin Foster <decklin{@}red-bean{.}com>

View File

@ -48,15 +48,24 @@ EDE_PREFIX_SUBDIR ?= "ede" ;
PREFIX ?= "$(prefix)" ;
EDE_BIN_DIR ?= "$(bindir)" ;
EDE_DATA_DIR ?= "$(datadir)" ;
EDE_CONFIG_DIR ?= "/etc/xdg/$(EDE_PREFIX_SUBDIR)" ;
EDE_MENU_DIR ?= "/etc/xdg/menus" ; # use XDG default for menu dir
EDE_CONFIG_DIR ?= "$(sysconfdir)/xdg/$(EDE_PREFIX_SUBDIR)" ;
EDE_MENU_DIR ?= "$(sysconfdir)/xdg/menus" ; # use XDG default for menu dir
EDE_ICON_DIR ?= "$(EDE_DATA_DIR)/icons" ;
EDE_MIME_DIR ?= "$(EDE_DATA_DIR)/mime" ; # use XDG mime path
EDE_WALLPAPERS_DIR ?= "$(EDE_DATA_DIR)/wallpapers" ; # default path
EDE_DOC_DIR ?= "$(docdir)/ede-$(EDE_VERSION)" ;
EDE_THEMES_DIR ?= "$(EDE_DATA_DIR)/$(EDE_PREFIX_SUBDIR)/themes" ;
EDE_TIPS_DIR ?= "$(EDE_DATA_DIR)/$(EDE_PREFIX_SUBDIR)/tips" ;
EDE_PANEL_APPLETS_DIR ?= "$(EDE_DATA_DIR)/$(EDE_PREFIX_SUBDIR)/panel-applets" ;
DBUS_SERVICE_DIR ?= "$(datarootdir)/dbus-1/services" ;
XSESSIONS_DIR ?= "$(datarootdir)/xsessions" ;
PEKWM_CONFIG_DIR ?= "$(sysconfdir)/pekwm" ;
PEKWM_DATA_DIR ?= "$(datadir)/pekwm" ;
PEKWM_CXXFLAGS ?= "@PEKWM_CXXFLAGS@" ;
PEKWM_LIBS ?= "@PEKWM_LIBS@" ;
OPTIMFLAGS ?= @EDE_OPTIM_FLAGS@ ;
DEBUGFLAGS ?= @EDE_DEBUG_FLAGS@ ;
LARGEFILEFLAGS ?= @LARGEFILE@ ;
@ -85,23 +94,20 @@ LIBM ?= -lm ;
#REMOVE_UNUSED_DEPENDENCIES_TRICK = 1 ;
# edelib libraries path
EDELIBINCLUDE ?= @EDELIB_CFLAGS@ ;
EDELIBLIB ?= @EDELIB_LIBS@ ;
EDELIB_GUI_INCLUDE ?= @EDELIB_GUI_CFLAGS@ ;
EDELIB_GUI_LIB ?= @EDELIB_GUI_LIBS@ ;
EDELIB_DBUS_INCLUDE ?= @EDELIB_DBUS_CFLAGS@ ;
EDELIB_DBUS_LIB ?= @EDELIB_DBUS_LIBS@ ;
EDELIBINCLUDE ?= @EDELIB_CFLAGS@ ;
EDELIBLIB ?= @EDELIB_LIBS@ ;
EDELIB_GUI_INCLUDE ?= @EDELIB_GUI_CFLAGS@ ;
EDELIB_GUI_LIB ?= @EDELIB_GUI_LIBS@ ;
EDELIB_GUI_NO_IMAGES_INCLUDE ?= @EDELIB_GUI_NO_IMAGES_CFLAGS@ ;
EDELIB_GUI_NO_IMAGES_LIB ?= @EDELIB_GUI_NO_IMAGES_LIBS@ ;
EDELIB_DBUS_INCLUDE ?= @EDELIB_DBUS_CFLAGS@ ;
EDELIB_DBUS_LIB ?= @EDELIB_DBUS_LIBS@ ;
# fltk libraries path
FLTKINCLUDE ?= @FLTK_CFLAGS@ ;
FLTKLIB ?= @FLTK_LIBS@ ;
FLTKLIB_NOIMAGES ?= @FLTK_LIBS_NOIMAGES@ ;
# backward; efltk libraries path
EFLTKINCLUDE ?= @EFLTK_CFLAGS@ ;
EFLTKLIB ?= @EFLTK_LIBS@ ;
EFLTKLIB_NOIMAGES ?= @EFLTK_LIBS_NOIMAGES@ ;
# Xcomposite
COMPOSITEINCLUDE ?= @COMPOSITE_CFLAGS@ ;
COMPOSITELIB ?= @COMPOSITE_LIBS@ ;
@ -120,10 +126,19 @@ X_LIBS ?= @X_LIBS@ ;
X_PRE_LIBS ?= @X_PRE_LIBS@ ;
X_EXTRA_LIBS ?= @X_EXTRA_LIBS@ ;
# solo XKB extension library
XKB_LIBS ?= @XKB_LIBS@ ;
# shape extension
XSHAPE_LIBS ?= @XSHAPE_LIBS@ ;
# curl libraries
CURL_CFLAGS ?= @CURL_CFLAGS@ ;
CURL_LIBS ?= @CURL_LIBS@ ;
# kstat
KSTAT_LIBS ?= @KSTAT_LIBS@ ;
# platform specific pthread flags
# FIXME: a quick hack to work everything on SunStudio
if $(SUN_COMPILER) {
@ -134,7 +149,5 @@ if $(SUN_COMPILER) {
PTHREAD_LIBS ?= @PTHREAD_LIBS@ ;
}
DBUS_SERVICE_DIR ?= @DBUS_SERVICE_DIR@ ;
# do not touch this
JAMCONFIG_READ = "yes" ;

16
Jamfile
View File

@ -10,7 +10,7 @@
SubDir TOP ;
EdeManualWithToc README ;
# EdeManualWithToc README ;
Clean distclean : $(JCACHEFILE) $(HCACHEFILE) ;
@ -24,14 +24,16 @@ SubInclude TOP ede-conf ;
SubInclude TOP ede-desktop ;
SubInclude TOP ede-desktop-conf ;
SubInclude TOP ede-dialog ;
SubInclude TOP ede-keyboard-conf ;
SubInclude TOP ede-notify-daemon ;
SubInclude TOP ede-screensaver-conf ;
SubInclude TOP ede-screen-lock ;
SubInclude TOP ede-help ;
SubInclude TOP ede-image-view ;
SubInclude TOP elma ;
SubInclude TOP ede-launch ;
SubInclude TOP emountd ;
SubInclude TOP ede-timedate ;
SubInclude TOP ede-tip ;
SubInclude TOP ede-preferred-applications ;
SubInclude TOP evoke ;
SubInclude TOP doc ;
SubInclude TOP data ;
@ -42,10 +44,4 @@ if ! $(SUN_COMPILER) {
SubInclude TOP ede-panel ;
}
# they will not be compiled if eFLTK wasn't found
SubInclude TOP edewm ;
# efiler is not compileable at all
if $(WITH_EFILER) = 1 {
SubInclude TOP efiler ;
}
SubInclude TOP pekwm ;

71
README
View File

@ -1,71 +0,0 @@
Readme for EDE 2.0
==================
Please read this document before using or contributing to EDE 2.0 source code.
[NOTE]
.This is beta product
===================================
EDE 2.0 is not finished yet and many components are not completed,
can crash or misbehave
===================================
Build requirements
------------------
EDE 2.0 is using FLTK toolkit from http://www.fltk.org[www.fltk.org]. At the time
of this writing, latest stable version is 1.1.9.
Since FLTK lacks many things needed for developing a full *nix desktop
environment, we have developed a small add-on library called 'edelib'. This
library is also required for compiling EDE 2.0 and should be released together with EDE.
We *strongly* recommend that you use matching versions of ede and
edelib (e.g. released at the same time) or that you do SVN checkout at the same time due
their frequent changes.
Make sure you have eFLTK installed too, because some packages still requires it.
Also you will need a Jam tool. Jam is a make replacement and you can find it on our repository.
Downloading the code
--------------------
The best way to download latest code is checking it out from our repository. These modules
you should checkout (with their paths):
- jam : 'svn co https://ede.svn.sourceforge.net/svnroot/ede/trunk/jam'
- edelib : 'svn co https://ede.svn.sourceforge.net/svnroot/ede/trunk/edelib'
- ede : 'svn co https://ede.svn.sourceforge.net/svnroot/ede/trunk/ede2'
- efltk : 'svn co https://ede.svn.sourceforge.net/svnroot/ede/trunk/efltk'
If you already have Jam installed, there is no need to download it.
Compiling and installing
------------------------
In order to build and install EDE do the following steps:
1. compile and install jam first; going to jam source directory and running 'make' will do
the job; after that you should get 'bin.YOUR_PLATFORM' directory (on Linux it will be
bin.linux) and copy 'jam' executable in your $PATH, e.g. /usr/local/bin
2. compile and install edelib; please read README file in edelib directory
3. compile and install efltk; './configure --disable-mysql --disable-unixODBC && make && make install'
will do the job
4. go in ede2 directory and run './autogen.sh'
5. after that, goes './configure --enable-debug'
6. jam
7. jam install
Used programs that requires eFLTK
---------------------------------
- edewm
These programs are planned to be replaced with the new ones.

58
README.md Normal file
View File

@ -0,0 +1,58 @@
# EDE
EDE, the `Equinox Desktop Environment`, is a small and fast desktop
environment that uses the [FLTK toolkit](http://www.fltk.org).
For more details and the philosophy behind it, see
[about EDE on our wiki](http://equinox-project.org/wiki/AboutEde).
## Build requirements
EDE requires FLTK; at the time of this writing, the latest stable
branch is 1.3.x.
Since FLTK lacks many things needed for developing a full *nix desktop
environment, we have developed a small add-on library called
`edelib`. This library is needed both for building and running the
desktop. Edelib is developed and released together with EDE.
It is *strongly* recommended to use matching versions of EDE and
edelib (i.e. versions released at the same time) or to checkout
both from the repository at the same time to make sure they work
together well.
Also you will need the `jam` tool. Jam is a *make* replacement and you
can find it on our repository.
## Downloading the code
The best way to get the latest code is checking it out from our
repository. These are the modules you should checkout (with their paths):
- *jam* - `git clone https://github.com/edeproject/jam.git`
- *edelib* - `git clone https://github.com/edeproject/edelib.git`
- *ede* - `git clone https://github.com/edeproject/ede.git`
If you already have Jam installed, there is of course no need to download
it again. Either vanilla Jam or FTJam can be used to build EDE. Boost Jam is
known to *not* work.
## Compiling and installing
In order to build and install EDE do the following steps:
1. compile and install `jam` first; going to jam source directory and running `make` will do
the job; after that you should get `bin.YOUR_PLATFORM` directory (e.g. on Linux it will be
bin.linux) and copy `jam` executable in your $PATH, e.g. */usr/local/bin*
2. compile and install `edelib`; please read README file in edelib directory
3. change into the ede directory and run `./autogen.sh`
4. after that, do `./configure --enable-debug`
5. jam
6. jam install
Please note that this document is only a quick and short tutorial on installing EDE. For more details
please see [Installation Howto](http://equinox-project.org/wiki/InstallationHowTo) on our wiki.

View File

@ -1,11 +1,24 @@
#!/bin/sh
# to save me from typing :P
# create aclocal.m4 file with content of given directory without 'aclocal' tool
aclocal_emulate() {
dir="$1"
filename="aclocal.m4"
rm -f $filename
for i in `ls $dir/*`; do
echo "m4_include([$i])" >> $filename
done
echo " " >> $filename
}
if [ "$1" = "--compile" ]; then
compile=1
fi
if aclocal -I m4 && autoheader && autoconf; then
if aclocal_emulate m4 && autoheader && autoconf; then
echo ""
echo "Now run ./configure [OPTIONS]"
echo "or './configure --help' to see them"

View File

@ -17,7 +17,15 @@ EXEMODE = 755 ;
rule MakeInstallPrivate
{
local i t s ;
local dir = $(1) ;
local dir ;
# use DESTDIR as make use it and is targeted for packagers primarly; FDirName is not used since
# it do not understainds external variables well
if $(DESTDIR) {
dir = $(DESTDIR)$(1) ;
} else {
dir = $(1) ;
}
MkDir $(dir) ;

View File

@ -29,8 +29,8 @@ rule MakeProgramPrivate
objects = [ FGristFiles $(2:S=$(SUFOBJ)) ] ;
# Pick up values if someone set flags outside (via ObjectCcFlags and etc.)
CCFLAGS on $(objects) = [ on $(objects) return $(CCFLAGS) ] $(4) ;
C++FLAGS on $(objects) = [ on $(objects) return $(C++FLAGS) ] $(4) ;
CCFLAGS on $(objects) = [ on $(objects) return $(CCFLAGS) ] -DE_LOG_DOMAIN="\\\"$(target)\\\"" $(4) ;
C++FLAGS on $(objects) = [ on $(objects) return $(C++FLAGS) ] -DE_LOG_DOMAIN="\\\"$(target)\\\"" $(4) ;
if $(REMOVE_UNUSED_DEPENDENCIES_TRICK) = 1 {
# remove unused dependencies in binaries, as U.Drepper prescribed ;-)
@ -72,18 +72,18 @@ rule Program
}
# EdeProgram [target] : [sources] : [noinstall] ;
# Creates EDE specific programs. They will be linked with EDELIBLIB
# and FLTKLIB. If [noinstall] is given, [target] will not be installed wit 'jam install'.
# Creates EDE specific programs. They will be linked with EDELIB_GUI_LIB.
# If [noinstall] is given, [target] will not be installed wit 'jam install'.
rule EdeProgram
{
if ! $(EDELIBINCLUDE) || ! $(EDELIBLIB) {
Echo "EDELIBINCLUDE or EDELIBLIB not defined; $(1) will not be built" ;
if ! $(EDELIBLIB) {
Echo "EDELIBLIB not defined; $(1) will not be built" ;
return ;
}
MakeProgramPrivate $(1) : $(2)
: $(EDELIB_GUI_LIB) $(EDELIBLIB) $(FLTKLIB) $(STDLIB)
: $(GLOBALFLAGS) $(EDELIBINCLUDE) $(FLTKINCLUDE) ;
: $(EDELIB_GUI_LIB) $(STDLIB)
: $(GLOBALFLAGS) $(EDELIB_GUI_INCLUDE) ;
if $(3) != "noinstall" {
InstallEdeProgram $(1) ;
@ -91,44 +91,24 @@ rule EdeProgram
}
# EdeProgramAsFltkBare [target] : [sources] : [noinstall] ;
# Creates EDE specific programs. They will be linked with EDELIBLIB
# and FLTKLIB. If [noinstall] is given, [target] will not be installed wit 'jam install'.
# Creates EDE specific programs. They will be linked with EDELIB_GUI_NO_IMAGES_LIB
# If [noinstall] is given, [target] will not be installed wit 'jam install'.
rule EdeProgramAsFltkBare
{
if ! $(EDELIBINCLUDE) || ! $(EDELIBLIB) {
Echo "EDELIBINCLUDE or EDELIBLIB not defined; $(1) will not be built" ;
if ! $(EDELIBLIB) {
Echo "EDELIBLIB not defined; $(1) will not be built" ;
return ;
}
MakeProgramPrivate $(1) : $(2)
: $(EDELIB_GUI_LIB) $(EDELIBLIB) $(FLTKLIB_NOIMAGES) $(STDLIB)
: $(GLOBALFLAGS) $(EDELIBINCLUDE) $(FLTKINCLUDE) ;
: $(EDELIB_GUI_NO_IMAGES_LIB) $(STDLIB)
: $(GLOBALFLAGS) $(EDELIB_GUI_NO_IMAGES_INCLUDE) ;
if $(3) != "noinstall" {
InstallEdeProgram $(1) ;
}
}
# EfltkProgram [target] : [sources] : [noinstall] ;
# Creates programs that will be linked with efltk. If [noinstall] is given,
# [target] will not be installed wit 'jam install'.
rule EfltkProgram
{
if ! $(EFLTKINCLUDE) || ! $(EFLTKLIB) {
Echo "EFLTKINCLUDE or EFLTKLIB not defined; $(1) will not be built" ;
return ;
}
MakeProgramPrivate $(1) : $(2)
: $(EFLTKLIB) $(STDLIB)
: $(GLOBALFLAGS) $(EFLTKINCLUDE) ;
# install it where ede binaries resides
if $(3) != "noinstall" {
InstallEdeProgram $(1) ;
}
}
# FltkProgram [target] : [sources] : [noinstall] ;
# Creates programs that will be linked with fltk only. It will use full fltk
# dependencies (images).

View File

@ -8,7 +8,7 @@
# GNU General Public License version 2 or newer.
# See COPYING for details.
SVG_CONVERTOR = "rsvg" ;
SVG_CONVERTOR = "rsvg-convert" ;
# SvgToPng [target-png] : [source-svg] : [width] : [height] ;
rule SvgToPng

View File

@ -2,14 +2,14 @@ dnl
dnl $Id: configure.in 1719 2006-08-15 08:56:42Z karijes $
dnl
dnl Part of Equinox Desktop Environment (EDE).
dnl Copyright (c) 2000-2008 EDE Authors.
dnl Copyright (c) 2000-2014 EDE Authors.
dnl
dnl This program is licenced under terms of the
dnl GNU General Public Licence version 2 or newer.
dnl See COPYING for details.
m4_define([ede_major_version], [2])
m4_define([ede_minor_version], [0])
m4_define([ede_minor_version], [2])
m4_define([ede_patch_version], [0])
m4_define([ede_version], [ede_major_version.ede_minor_version.ede_patch_version])
@ -28,7 +28,6 @@ else
fi
AC_DEFINE_UNQUOTED(PREFIX, "$EDE_INSTALL_DIR", [Default installation place])
EDE_OPTIM_FLAGS=""
EDE_DEBUG_FLAGS=""
@ -40,8 +39,6 @@ AC_ARG_ENABLE(hal, AC_HELP_STRING([--enable-hal], [enable HAL support (default=y
dnl set 'with_fltk_path'
AC_ARG_WITH(fltk_path, AC_HELP_STRING([--with-fltk-path=[DIR]], [alternative directory where FLTK is installed]))
dnl set 'with_efltk_path'
AC_ARG_WITH(efltk_path, AC_HELP_STRING([--with-efltk-path=[DIR]], [alternative directory where eFLTK is installed]))
dnl set 'with_edelib_path'
AC_ARG_WITH(edelib_path, AC_HELP_STRING([--with-edelib-path=[DIR]], [alternative directory where edelib is installed]))
@ -59,6 +56,17 @@ AC_PATH_XTRA
AC_HEADER_STDC
dnl for xmlrpc-c
AC_CHECK_FUNC(pselect, AC_DEFINE(HAVE_PSELECT, 1, [Define to 1 if you have pselect()]))
AC_CHECK_FUNC(setgroups, AC_DEFINE(HAVE_SETGROUPS, 1, [Define to 1 if you have setgroups()]))
AC_CHECK_FUNC(asprintf, AC_DEFINE(HAVE_ASPRINTF, 1, [Define to 1 if you have asprintf()]))
AC_CHECK_FUNC(setenv, AC_DEFINE(HAVE_SETENV, 1, [Define to 1 if you have setenv()]))
AC_CHECK_FUNC(wcsncmp, AC_DEFINE(HAVE_WCSNCMP, 1, [Define to 1 if you have wcsncmp()]))
AC_CHECK_FUNC(gettimeofday, AC_DEFINE(HAVE_GETTIMEOFDAY, 1, [Define to 1 if you have gettimeofday()]))
AC_CHECK_FUNC(localtime_r, AC_DEFINE(HAVE_LOCALTIME_R, 1, [Define to 1 if you have localtime_r()]))
AC_CHECK_FUNC(gmtime_r, AC_DEFINE(HAVE_GMTIME_R, 1, [Define to 1 if you have gmtime_r()]))
AC_CHECK_FUNC(strcasecmp, AC_DEFINE(HAVE_STRCASECMP, 1, [Define to 1 if you have strcasecmp()]))
if test "$enable_profile" = "yes"; then
enable_debug=yes
fi
@ -81,6 +89,7 @@ if test "$enable_shape" = "yes"; then
if test "$have_xshape" = "yes"; then
AC_DEFINE(HAVE_SHAPE, 1, [Define to 1 if you have XShape extension])
XSHAPE_LIBS="-lXext"
fi
fi
@ -109,10 +118,7 @@ else
fi
if test -n "$with_edelib_path"; then
PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$with_edelib_path"
else
dnl TODO: remove this in release
PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/opt/ede/lib/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$with_edelib_path/lib/pkgconfig"
fi
PKG_CHECK_MODULES(EDELIB, [edelib],, [have_edelib=no])
@ -125,9 +131,14 @@ if test "$have_edelib_gui" = "no"; then
AC_MSG_ERROR(edelib-gui not found! You must install it first)
fi
PKG_CHECK_MODULES(EDELIB_GUI_NO_IMAGES, [edelib-gui-no-images],, [have_edelib_gui_no_images=no])
if test "$have_edelib_gui_no_images" = "no"; then
AC_MSG_ERROR(edelib-gui (without images) not found! You must install it first)
fi
PKG_CHECK_MODULES(EDELIB_DBUS, [edelib-dbus],, [have_edelib_dbus=no])
if test "$have_edelib_dbus" = "no"; then
AC_MSG_ERROR(edelib-dbus not found! You must install it first)
AC_MSG_RESULT(edelib is compiled without DBus so EDE will be compiled without DBus support)
fi
dnl find edelib documentation
@ -152,8 +163,8 @@ if test -n "$FLTK_CONFIG"; then
AC_MSG_RESULT(yes)
;;
dnl check for FLTK 1.3.x branch
["1.3."[01]])
AC_MSG_RESULT([yes... Looks like you have unstable FLTK branch ($fltk_version). EDE is not well tested with these FLTK versions])
["1.3."[0123456789]])
AC_MSG_RESULT(yes)
;;
*)
AC_MSG_ERROR([Looks like you have an older FLTK version ($fltk_version). Required is >= 1.1.7])
@ -168,31 +179,6 @@ else
AC_MSG_ERROR([You don't have FLTK installed. To compile EDE, you will need it.])
fi
if test "x$with_efltk_path" = "x"; then
AC_PATH_PROG(EFLTK_CONFIG, efltk-config)
else
AC_PATH_PROG(EFLTK_CONFIG, efltk-config,, "$with_efltk_path/bin")
fi
if test -n "$EFLTK_CONFIG"; then
efltk_version=`$EFLTK_CONFIG --version`
AC_MSG_CHECKING([for eFLTK version >= 2.0.4])
case "$efltk_version" in ["2.0."[456789]])
AC_MSG_RESULT(yes)
;;
*)
AC_MSG_ERROR([Looks like you have an older eFLTK version ($efltk_version). Required is >= 2.0.4])
esac
EFLTK_CFLAGS=`$EFLTK_CONFIG --cxxflags`
EFLTK_LIBS_NOIMAGES=`$EFLTK_CONFIG --ldflags`
EFLTK_LIBS=`$EFLTK_CONFIG --use-xml --use-images --ldflags`
else
AC_MSG_WARN([You don't have eFLTK installed. EDE will be built without panel and window manager!])
fi
EDE_CHECK_LIBXPM
if test "$have_libxpm" = "yes"; then
FLTK_LIBS="$FLTK_LIBS $LIBXPM_LIBS"
@ -207,14 +193,100 @@ if test -n "$CURL_CONFIG"; then
CURL_CFLAGS=`$CURL_CONFIG --cflags`
CURL_LIBS=`$CURL_CONFIG --libs`
AC_DEFINE(HAVE_CURL, 1, [Define to 1 if you have curl library])
AC_LANG_SAVE
AC_LANG_C
AC_TRY_COMPILE([
#include <curl/curl.h>
#include <curl/types.h>
],[
CURL *curl;
curl = curl_easy_init();
],[have_curltypes_h=yes],[])
AC_LANG_RESTORE
if test "$have_curltype_h" = "yes"; then
AC_DEFINE(HAVE_CURLTYPES_H, 1, [Define to 1 if you have curl/types.h file])
fi
fi
dnl emits PTHREAD_CFLAGS and PTHREAD_LIBS
ACX_PTHREAD
EDE_CHECK_DIR(DBUS_SERVICE_DIR,
[/usr/share/dbus-1/services /usr/local/share/dbus-1/services "$datarootdir/dbus-1/services"])
AC_MSG_CHECKING([for XKB extension files])
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $X_CFLAGS"
LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lxkbfile"
AC_LANG_SAVE
AC_LANG_C
AC_TRY_LINK([
#include <stdio.h>
#include <X11/XKBlib.h>
#include <X11/extensions/XKBrules.h>
],[
FILE *fd = fopen("/some/file", "r");
XkbRF_RulesPtr ptr;
XkbRF_LoadRules(fd, ptr);
],[have_xkbrules=yes],[])
AC_LANG_RESTORE
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
if test "$have_xkbrules" = "yes"; then
AC_DEFINE(HAVE_XKBRULES, 1, [Define to 1 if you have XKB extension])
XKB_LIBS="$X_LIBS -lxkbfile"
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
dnl this check is stolen from xmlrpc-c which is borrowed from Python 1.5.2.
AC_MSG_CHECKING([whether va_list is an array])
AC_TRY_COMPILE([
#include <stdarg.h>
],[
va_list list1, list2; list1 = list2;
],, va_list_is_array=yes)
if test "x$va_list_is_array" = "xyes"; then
AC_DEFINE(VA_LIST_IS_ARRAY, 1, [Define to 1 if your va_list is array])
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
dnl kstat/solaris
AC_CHECK_HEADER(kstat.h, [have_kstat_h=yes],)
if test "x$have_kstat_h" = "xyes"; then
AC_MSG_CHECKING([for kstat presence])
AC_LANG_SAVE
AC_LANG_C
AC_TRY_COMPILE([
#include <kstat.h>
],[
kstat_named_t k;
k.value.ui32;
],[have_kstat=yes],[])
AC_LANG_RESTORE
if test "x$have_kstat" = "xyes"; then
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_KSTAT, 1, [Define to 1 if you have kstat])
KSTAT_LIBS=" -lkstat"
else
AC_MSG_RESULT(no)
fi
fi
dnl pekwm specific macros
EDE_CHECK_PEKWM_DEPENDENCIES
dnl expand variables before EDE_INIT_JAM convert them to jam variables
EDE_EXPAND(sysconfdir, "NONE", my_sysconfdir)
EDE_INIT_JAM
@ -224,13 +296,16 @@ AC_SUBST(EDE_DEBUG_FLAGS)
AC_SUBST(FLTK_CFLAGS)
AC_SUBST(FLTK_LIBS)
AC_SUBST(FLTK_LIBS_NOIMAGES)
AC_SUBST(EFLTK_CFLAGS)
AC_SUBST(EFLTK_LIBS_NOIMAGES)
AC_SUBST(EFLTK_LIBS)
AC_SUBST(EDELIB_API_INDEX)
AC_SUBST(CURL_CFLAGS)
AC_SUBST(CURL_LIBS)
AC_SUBST(LARGEFILE)
AC_SUBST(XKB_LIBS)
AC_SUBST(XSHAPE_LIBS)
AC_SUBST(my_sysconfdir)
AC_SUBST(KSTAT_LIBS)
AC_SUBST(PEKWM_CXXFLAGS)
AC_SUBST(PEKWM_LIBS)
AC_OUTPUT([
Jamconfig
@ -239,7 +314,6 @@ AC_OUTPUT([
data/ede.desktop
doc/index.txt
services/org.equinoxproject.Launch.service
services/org.equinoxproject.StartupNotify.service
])
chmod +x tools/l10n-prepare.sh

View File

@ -16,10 +16,12 @@ InstallEdeProgram startede ;
InstallEdeConfigFiles $(CONFS) ;
# install entry for login/desktop managers
InstallData /usr/share/xsessions : ede.desktop ;
InstallData $(XSESSIONS_DIR) : ede.desktop ;
Clean distclean : ede.desktop ;
SubInclude TOP data mime-types ;
SubInclude TOP data icon-themes ;
SubInclude TOP data menu ;
SubInclude TOP data desktop-links ;
SubInclude TOP data pekwm ;
SubInclude TOP data wallpapers ;

View File

@ -2,8 +2,8 @@
Version=1.0
Type=Application
Encoding=UTF-8
Exec=xterm -fn 9x15
Exec=ede-launch --launch terminal
Icon=utilities-terminal
Categories=Utility;
Name=Terminal
Comment=Standard X11 terminal
Comment=X11 terminal

View File

@ -1,7 +1,6 @@
[Desktop Entry]
Encoding=UTF-8
Name=EDE
Exec=@prefix@/bin/startede
TryExec=@prefix@/bin/startede
Comment=This session logs you into EDE Desktop
Type=Application
Encoding=UTF-8

View File

@ -56,3 +56,13 @@ if $(BUILD_ICON_THEMES) = 1 {
ConvertIconTheme "edeneu" : $(ICON_SIZES) : $(ICON_CATEGORIES) ;
InstallIconTheme "edeneu" : $(ICON_SIZES) : $(ICON_CATEGORIES) ;
}
if $(INSTALL_ICON_THEMES) = 1 {
InstallIconTheme "edeneu" : $(ICON_SIZES) : $(ICON_CATEGORIES) ;
}
# install kbflags icons
KBFLAGS_ICONS_DIR = [ FDirName "kbflags" "21x14" ] ;
KBFLAGS_ICONS = [ Wildcard $(KBFLAGS_ICONS_DIR) : *.png : $(KBFLAGS_ICONS_DIR) ] ;
InstallEdeIcons $(KBFLAGS_ICONS_DIR) : $(KBFLAGS_ICONS) ;

View File

@ -1,133 +0,0 @@
#!/usr/bin/env python
# Converts svg icon theme to png one using inkscape or rsvg
import os.path
import os
import sys
import stat
inkscape_path = None
rsvg_path = None
SIZES = ["16x16", "22x22", "32x32", "48x48", "64x64", "128x128"]
def find_converter(name):
env_list = os.environ["PATH"].split(":")
for i in env_list:
path = "%s/%s" % (i, name)
if os.access(path, os.F_OK) and os.access(path, os.X_OK):
return path
return None
def convert_ext(name):
if name[-4:] == ".svg":
return name.replace(".svg", ".png")
else:
return name
def dir_exists(path):
# first use this since stat() scream if not exists
if not os.access(path, os.F_OK):
return False
mode = os.stat(path)[stat.ST_MODE]
return stat.S_ISDIR(mode)
def in_subdir(path):
all = path.split("/")[1:]
return len(all)
# transform 'foo/XX/yy' to 'dest/sz/yy'
def transform_path(path, dest, sz):
all = path.split("/")
# this means we got 'theme/scalable' but we want 'theme/scalable/something/'
if len(all) < 3:
return None
all[0] = dest
all[1] = sz
return "/".join(all)
def visit(destdir, dirname, names):
cmd = None
# os.walk will first walk on the top of source directory before
# enters it's childs; we are interested only in childs
if not in_subdir(dirname):
return
for name in names:
for sz in SIZES:
w, h = sz.split("x")
finaldir = transform_path(dirname, destdir, sz)
if finaldir == None:
continue
srcicon = "%s/%s" % (dirname, name)
dsticon = "%s/%s" % (finaldir, convert_ext(name))
# make it once without exception
if not dir_exists(finaldir):
os.makedirs(finaldir)
if inkscape_path:
cmd = "%s -e %s -w %s -h %s %s" % (inkscape_path, dsticon, w, h, srcicon)
elif rsvg_path:
cmd = "%s -w %s -h %s %s %s" % (rsvg_path, w, h, srcicon, dsticon)
print "%s -> %s" % (srcicon, dsticon)
if os.system(cmd) != 0:
print "FAILED :("
def convert(srcdir, dstdir):
os.path.walk(srcdir, visit, dstdir)
def help():
print "Usage: icon-theme-convert [source] [dest]"
print ""
print "Convert [source] icon theme (assumed all files are in SVG format)"
print "to PNG equivalent one, using rsvg or inkscape. Converted content will be stored in [source]."
print "If [dest] was given, converted content will be stored there."
def main():
arg_len = len(sys.argv)
if not arg_len in [2, 3]:
help()
return
# mark them as global
global inkscape_path
global rsvg_path
cpath = find_converter("inkscape")
if cpath:
inkscape_path = cpath
else:
cpath = find_converter("rsvg")
if cpath:
rsvg_path = cpath
else:
print "\nUnable to find either inkscape or rsvg. If you have installed"
print "one of them, append it's directory path to PATH environment.\n"
print "But if you don't have installed neither of them... well..."
print "you know what to do then :P\n"
return
src = sys.argv[1]
if arg_len == 3:
dst = sys.argv[2]
else:
dst = src
if not dir_exists(src):
print "%s does not exists. Then what to convert?" % src
return
convert(src, dst)
if __name__ == "__main__":
main()

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 325 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 478 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 337 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 309 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 325 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 347 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 323 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 309 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 245 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 333 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 369 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 344 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 339 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 325 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 338 B

Some files were not shown because too many files have changed in this diff Show More