Commit graph

92 commits

Author SHA1 Message Date
Sebastian Reichel
3c45cf29c7 Battery: Split operating system specific code
This removes all operating system specific code from the main
battery file into their own source files. CMake will add the
correct implementation automatically.
2015-08-07 05:08:44 +02:00
Sebastian Reichel
ae375ae526 Split out Linux battery implementation and support multiple batteries
Some notebooks, like the ThinkPad X240 and X250 have two batteries
installed. So far only one of the batteries have been checked by
the tint2 widget making it more or less useless on those systems.

After this patch tint2 will aggregate the data from all batteries
instead.
2015-08-05 02:07:31 +02:00
o9000
b3cdde78b1 Add define _GNU_SOURCE for getline() 2015-07-12 17:50:59 +02:00
o9000
3150b91f80 Install additional themes to /usr/[local/]share/tint2 2015-07-12 17:00:16 +02:00
Sebastiaan Lokhorst
d3c45adf34 Fix some typo's and clean up indentation. 2015-07-05 11:23:57 +02:00
Sebastiaan Lokhorst
043a0f7ab3 Update old Google Code URLs to new GitLab location. 2015-07-05 11:14:00 +02:00
o9000
b1b95e086d Free space item 2015-06-12 01:42:00 +02:00
o9000
60f01f7fff Updated icons and desktop files 2015-05-03 19:17:24 +02:00
o9000
c3b60f1b4d Fixed README in CMakeLists.txt 2015-05-02 11:07:26 +00:00
o9000
2357e31965 Updated svn version scripts for git 2015-04-24 18:45:25 +02:00
o9000
eef4987b0b Make ASAN optional in debug builds
git-svn-id: http://tint2.googlecode.com/svn/trunk@759 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-17 20:23:07 +00:00
o9000
5e0e2c4af9 Use safer compilation flags
git-svn-id: http://tint2.googlecode.com/svn/trunk@744 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-28 22:42:05 +00:00
o9000
e539c6536f Sort tasks on taskbar: config + sort by title or center (disabled, work in progress) - issue 478
git-svn-id: http://tint2.googlecode.com/svn/trunk@743 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-28 22:38:57 +00:00
o9000
a2de8d6e53 Modified startup notification logic to prevent deadlock in issue 471
git-svn-id: http://tint2.googlecode.com/svn/trunk@735 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-20 22:49:13 +00:00
o9000
b8a4766773 Disable startup notification support until we fix the deadlock from issue 471
git-svn-id: http://tint2.googlecode.com/svn/trunk@729 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-18 19:55:47 +00:00
o9000
a8600a598b Add some useful compiler flags for debug builds
git-svn-id: http://tint2.googlecode.com/svn/trunk@728 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-18 19:54:48 +00:00
o9000
f527a2639b Clean up CMakeLists.txt
git-svn-id: http://tint2.googlecode.com/svn/trunk@686 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-02-05 12:15:35 +00:00
o9000
d584d04691 Remove global variables from header files
git-svn-id: http://tint2.googlecode.com/svn/trunk@671 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-28 15:13:56 +00:00
o9000
1a3ba21245 Launcher: SVG icon support and icon loading improvements
git-svn-id: http://tint2.googlecode.com/svn/trunk@670 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-28 14:47:39 +00:00
o9000
9ac902b62b taskbar: draw softer shadows so that text is more readable
git-svn-id: http://tint2.googlecode.com/svn/trunk@661 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-21 00:27:40 +00:00
xico.atelo@gmail.com
cfa4bc89e1 Adding startup-notification support.
git-svn-id: http://tint2.googlecode.com/svn/trunk@650 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2012-07-02 16:50:30 +00:00
Andreas.Fink85
0ef56da453 *fix* require >=imlib2-1.4.2 and >=libXrandr-1.3
git-svn-id: http://tint2.googlecode.com/svn/trunk@611 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-12-02 19:02:19 +00:00
thilor77
da27293d22 launcher : limit launcher_icon_theme to 1 theme. Add XSETTINGS client and read launcher_icon_theme if manager is running.
git-svn-id: http://tint2.googlecode.com/svn/trunk@588 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-11-07 08:44:27 +00:00
Andreas.Fink85
c936265172 *add* call gtk-update-cache on install
git-svn-id: http://tint2.googlecode.com/svn/trunk@587 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-11-06 22:22:48 +00:00
thilor77
574615b3cd add some code around taskbar_name
git-svn-id: http://tint2.googlecode.com/svn/trunk@570 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-10-08 19:43:54 +00:00
thilor77
7e17a3c7f0 added basic launcher by mrovi
git-svn-id: http://tint2.googlecode.com/svn/trunk@521 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-08-02 17:12:07 +00:00
Andreas.Fink85
73c0b524af *fix* cmake-2.6 seems to have problems with if (NOT (expression)) so we use deMorgan to solve this problem
git-svn-id: http://tint2.googlecode.com/svn/trunk@519 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-07-22 12:14:11 +00:00
Andreas.Fink85
3a709ac550 *fix* abort cmake with an error message if not all dependencies could be found
git-svn-id: http://tint2.googlecode.com/svn/trunk@507 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-06-15 21:38:14 +00:00
Andreas.Fink85
0aa4977940 *fix* use -pthread also for tint2 because we're using processes which starts new threads
git-svn-id: http://tint2.googlecode.com/svn/trunk@500 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-06-14 09:48:40 +00:00
Andreas.Fink85
ba32d259a0 *fix* IMLIB2_LDFLAGS not FLAGS
*fix* link_directories needs to be called before the target is created


git-svn-id: http://tint2.googlecode.com/svn/trunk@498 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-06-13 13:02:53 +00:00
Andreas.Fink85
6d8a460434 *fix* use /bin/sh because not every system has /bin/bash
*fix* issue 261



git-svn-id: http://tint2.googlecode.com/svn/trunk@497 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-06-13 12:27:56 +00:00
Andreas.Fink85
20a48674c9 *fix* change the default location of tintwizard.py to ${CMAKE_INSTALL_PREFIX}/bin/tintwizard.py (issue 264)
git-svn-id: http://tint2.googlecode.com/svn/trunk@490 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-06-12 21:21:06 +00:00
Andreas.Fink85
237b19c5c9 *fix* use relative path for DOCDIR/MANDIR/DATADIR (a change in CMAKE_INSTALL_PREFIX works now)
git-svn-id: http://tint2.googlecode.com/svn/trunk@484 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-06-12 09:27:18 +00:00
thilor77
a85ae33b38 removed cmake CACHE : it s not reliable.
git-svn-id: http://tint2.googlecode.com/svn/trunk@483 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-06-12 08:55:58 +00:00
Andreas.Fink85
99491c8f72 *fix* do not set LDFLAGS to --as-needed because this changes building behaviour which the user is not aware of
*fix* link librt only if it is found (issue 261)



git-svn-id: http://tint2.googlecode.com/svn/trunk@482 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-06-12 07:45:16 +00:00
Andreas.Fink85
d0ea66790e *fix* install man file too
git-svn-id: http://tint2.googlecode.com/svn/trunk@476 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-06-09 21:44:41 +00:00
Andreas.Fink85
abeb6d384d *add* include svn revision in the VERSION_STRING if building with cmake
git-svn-id: http://tint2.googlecode.com/svn/trunk@475 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-06-09 15:31:18 +00:00
Andreas.Fink85
f8889fdbe0 *fix* update dependencies for tint2 in README.source
*fix* install default_icon.png
*fix* correct checking if imlib2 is built with x support
*fix* use ENABLE_feature, rather than DISABLE_feature



git-svn-id: http://tint2.googlecode.com/svn/trunk@474 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-06-09 13:50:22 +00:00
Andreas.Fink85
88d6fc8302 *add* make CMakeLists.txt equivalent to the autoconf behaviour
git-svn-id: http://tint2.googlecode.com/svn/trunk@473 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-06-09 09:14:56 +00:00
Andreas.Fink85
359f13f004 *add* tint2conf cmake file
git-svn-id: http://tint2.googlecode.com/svn/trunk@472 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-06-08 20:18:13 +00:00
Andreas.Fink85
45e82915ed *fix* battery needs to add definition of course
git-svn-id: http://tint2.googlecode.com/svn/trunk@471 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-06-08 20:03:38 +00:00
Andreas.Fink85
da9c699284 *add* first cmake based implementation (compiles already tint2, but needs more love for installing everything correctly)
This is just a test whether cmake can become an alternative to the current build process (I prefer cmake, because it is much faster and offers more 
possiblities)


git-svn-id: http://tint2.googlecode.com/svn/trunk@470 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-06-08 19:56:22 +00:00