Browse Source

Drop automake build support.

Add basic cmake build instructions.
Deleted empty file NEWS.
Deleted spec file (rpm) lipstik.spec.
Rework of the README file.
Some cosmetics.

Signed-off-by: gregory guy <gregory-tde@laposte.net>
pull/3/head
Gregory Guy 7 months ago
parent
commit
07a6d98c1b
Signed by: cethyel GPG Key ID: 2CC84A1CC6823AF8
15 changed files with 46 additions and 268 deletions
  1. +0
    -3
      .gitmodules
  2. +2
    -2
      CMakeLists.txt
  3. +16
    -86
      INSTALL
  4. +0
    -26
      Makefile.am
  5. +0
    -14
      Makefile.dist
  6. +0
    -1
      NEWS
  7. +28
    -32
      README
  8. +0
    -1
      admin
  9. +0
    -2
      configure.files
  10. +0
    -4
      configure.in.in
  11. +0
    -59
      lipstik.spec
  12. +0
    -0
      stamp-h.in
  13. +0
    -25
      style/Makefile.am
  14. +0
    -12
      style/config/Makefile.am
  15. +0
    -1
      subdirs

+ 0
- 3
.gitmodules View File

@ -1,6 +1,3 @@
[submodule "admin"]
path = admin
url = https://system@scm.trinitydesktop.org/scm/git/tde-common-admin
[submodule "cmake"]
path = cmake
url = https://system@scm.trinitydesktop.org/scm/git/tde-common-cmake

+ 2
- 2
CMakeLists.txt View File

@ -41,13 +41,13 @@ tde_setup_paths( )
##### optional stuff
option( WITH_ALL_OPTIONS "Enable all optional support" OFF )
option( WITH_ALL_OPTIONS "Enable all optional support" OFF )
option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} )
##### user requested modules
option( BUILD_ALL "Build all" ON )
option( BUILD_ALL "Build all" ON )
option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} )


+ 16
- 86
INSTALL View File

@ -1,86 +1,16 @@
----- First of all:
If possible, and available, try a package built specifically for your
distribution...
----- Building from sources:
First make sure that you have both the QT and KDE development headers
installed. (qt and tdelibs devel)
Then unpack the sources somewhere you have writing rights.
In a terminal (konsole, xterm, eterm, etc.), type :
./configure
make
(Then, as root):
make install
--
If any of these steps fail, do:
make -f Makefile.dist
It may help you build it. If it still fails, mail me.
----- Bad configure = build failure...
You might need to give 'configure' the path to your kde
installation. eg: /usr, /opt/kde.
./configure --prefix=/opt/kde
--
You can find your KDE base directory by typing tde-config --prefix
--
-------------------------------------------------------------------------------
----- Debian notes:
You may need to append this to the configure line:
--prefix=/usr
And maybe this one:
--with-qt-includes=/usr/include/qt3
----- Mandrake/Mandriva notes:
Mandrake 10.0 uses KDE 3.2. I never tested lipstik against KDE 3.2 but it "should" work with
some tweaking (see Debian notes).
I dont have Mandrake around so I cant give more specific help for now, stay tuned.
Mandriva (Mandrake's new name) is using more recent KDE releases. Lipstik should work
out of the box there.
----- moc troubles???
Some people have reported that building fails with errors related to .moc files.
eg:
lipstikconf.cpp:479:27: lipstikconf.moc: No such file or directory
If this happens to you, dont panic.
In the source dir, there are style and style/config subdirs:
In the style dir do:
moc -o lipstik.moc lipstik.h
And then in the style/config subdir do
moc -o lipstikconf.moc lipstikconf.h
Then run make again, it should work.
----- Lipstik's build system sucks...
It should suck less now... maybe...
Basic Installation
==================
tde-style-lipstik relies on cmake to build.
Here are suggested default options:
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
-DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_SKIP_RPATH="OFF" \
-DBUILD_ALL="ON" \
-DWITH_ALL_OPTIONS="ON"

+ 0
- 26
Makefile.am View File

@ -1,26 +0,0 @@
SUBDIRS = style
EXTRA_DIST = admin AUTHORS COPYING ChangeLog INSTALL README TODO lipstik.spec
# not a GNU package. You can remove this line, if
# have all needed files, that a GNU package needs
AUTOMAKE_OPTIONS = foreign
$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
$(top_srcdir)/subdirs:
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
@cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files
package-messages:
$(MAKE) -f admin/Makefile.common package-messages
$(MAKE) -C po merge
dist-hook:
cd $(top_distdir) && perl admin/am_edit -padmin
cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs

+ 0
- 14
Makefile.dist View File

@ -1,14 +0,0 @@
all:
@echo "This Makefile is only for the CVS repository"
@echo ""
@if test ! -d admin; then \
echo "Please recheckout this module!" ;\
echo "for cvs: use checkout once and after that update again" ;\
echo "for cvsup: checkout kde-common from cvsup and" ;\
echo " link kde-common/admin to ./admin" ;\
exit 1 ;\
fi
$(MAKE) -f admin/Makefile.common cvs
.SILENT:

+ 0
- 1
NEWS View File

@ -1 +0,0 @@
see ChangeLog

+ 28
- 32
README View File

@ -1,39 +1,35 @@
#ABOUT
This is Lipstik, a fast and clean KDE 3 style based on Plastik.
It contains the following features :
Two widget gradients styles (Lipstik and Plastik's original),
A unique Menu Stripe style,
Many options to configure the active menu highlighting,
Configurable Sliders handles size,
Configurable Scrollbar handles width,
Different Toolbar handles for a less cluttered look,
More Mouse Hover effects,
Better focus rectangle,
Highly configurable colors,
Many options to configure the Scrollbar buttons disposition,
No more status bar frames...
tde-style-lipstik - a "lipstik" style for TDE.
...and many other enhancements!
#CREDITS
This is based on the work of Sandro Giessl <ceebx@users.sourceforge.net> and
the author of kerastik from which I ripped the automake,configure,etc.
Im not quite sure yet but the author of kerastik seems to be "intirruphay".
Please "intirruphay" tell me more so I can credit you for your work.
tde-style-lipstik is a fast and clean style based on Plastik to tune
your desktop look.
FEATURES:
=========
* Two widget gradients styles (Lipstik and Plastik's original)
* A unique Menu Stripe style
* Many options to configure the active menu highlighting
* Configurable Sliders handles size
* Configurable Scrollbar handles width
* Different Toolbar handles for a less cluttered look
* More Mouse Hover effects
* Better focus rectangle
* Highly configurable colors
* Many options to configure the Scrollbar buttons disposition
#WHY?
Well, I first distributed this "hack" on kde-look.org as a replacement for plastik, but
some people convinced me to release it as a fully separated package.
#WHY??
Plastik looks good, I just wanted something different for Christmas.
CONTRIBUTING
==============
#NO, REALLY, WHY???
I want peace in the world, and this is how Im gonna achieve this.
If you wish to contribute to tde-style-lipstik, you might do so:
#HOW DO I INSTALL THIS STYLE?
PLEASE LOOK AT THE FILE CALLED "INSTALL" ...
- TDE Gitea Workspace (TGW) collaboration tool.
https://mirror.git.trinitydesktop.org/gitea
Have fun!
- TDE Weblate Translation Workspace (TWTW) collaboration tool.
https://mirror.git.trinitydesktop.org/weblate

+ 0
- 1
admin

@ -1 +0,0 @@
Subproject commit 80eb8bffc7c3b5cbf5ab51b4d7877d0cdaad45e1

+ 0
- 2
configure.files View File

@ -1,2 +0,0 @@
./admin/configure.in.min
configure.in.in

+ 0
- 4
configure.in.in View File

@ -1,4 +0,0 @@
#MIN_CONFIG(3)
KDE_ENABLE_HIDDEN_VISIBILITY
AM_INIT_AUTOMAKE(lipstik, 0.1)

+ 0
- 59
lipstik.spec View File

@ -1,59 +0,0 @@
Summary: lipstik theme for KDE
Name: lipstik
Version: 2.2.3
Release: 1
Source: %{name}-%{version}.tar.bz2
URL: http://www.kde-look.org/content/show.php?content=18223
Vendor: poplixos (at) gmail.com
License: GPL
Group: System/GUI/KDE
Packager: William Flynn <wdf@sifr.net>
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: tdelibs >= 3.0
Requires: tdelibs >= 3.0
%description
Lipstik is a fast and clean style with many options to tune your desktop look.
%prep
%setup -q
%build
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make
%install
make install prefix=$RPM_BUILD_ROOT/usr
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(0644, root, root)
/usr/lib/trinity/tdestyle_lipstik_config.la
/usr/lib/trinity/tdestyle_lipstik_config.so
/usr/lib/trinity/plugins/styles/lipstik.la
/usr/lib/trinity/plugins/styles/lipstik.so
/usr/share/apps/tdestyle/themes/lipstik.themerc
/usr/share/apps/tdedisplay/color-schemes/lipstikstandard.kcsrc
/usr/share/apps/tdedisplay/color-schemes/lipstikwhite.kcsrc
/usr/share/apps/tdedisplay/color-schemes/lipstiknoble.kcsrc
%changelog
* Mon Oct 01 2007 Patrice Tremblay
Version 2.2.3, for my PC-BSD friends... :
- Add a configurable active tab highlight color.
* Sat Feb 17 2007 Patrice Tremblay
Version 2.2.2, based on the special release for Debian, 2.2.1, which
was never announced:
- A tweak in the build system.
- An updated spec file thanks Pramod Venugopal
- Toolbar gradients are now off by default.
* Wed Jan 31 2007 Pramod Venugopal
Updated Spec file for FC6 with the following:
- Changed dependencies to reflect FC6 packages
- Changed prefix in configure script to point to default locations
- Changed prefix in install to lowercase and to point to usr
- Changed files to reflect new locations

+ 0
- 0
stamp-h.in View File


+ 0
- 25
style/Makefile.am View File

@ -1,25 +0,0 @@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = config
KDE_CXXFLAGS = -DQT_PLUGIN
INCLUDES = $(all_includes)
stylercdir = $(kde_datadir)/tdestyle/themes
stylerc_DATA = lipstik.themerc
colorshemedir = $(kde_datadir)/tdedisplay/color-schemes
colorsheme_DATA = lipstikstandard.kcsrc lipstikwhite.kcsrc lipstiknoble.kcsrc
EXTRA_DIST = $(stylerc_DATA)
noinst_HEADERS = lipstik.h misc.h
kde_style_LTLIBRARIES = lipstik.la
lipstik_la_SOURCES = lipstik.cpp misc.cpp
lipstik_la_LDFLAGS = $(all_libraries) $(LIB_TQT) $(KDE_PLUGIN) -module
lipstik_la_LIBADD = -ltdefx
lipstik_la_METASOURCES = AUTO
DISTCLEANFILES = $(lipstik_la_METASOURCES)

+ 0
- 12
style/config/Makefile.am View File

@ -1,12 +0,0 @@
INCLUDES = $(all_includes)
noinst_HEADERS = lipstikconf.h
kde_module_LTLIBRARIES = tdestyle_lipstik_config.la
tdestyle_lipstik_config_la_LDFLAGS = $(all_libraries) $(LIB_TQT) $(LIB_TDECORE) $(KDE_PLUGIN) -module
tdestyle_lipstik_config_la_LIBADD = $(LIB_TDEUI)
tdestyle_lipstik_config_la_SOURCES = lipstikconf.cpp
tdestyle_lipstik_config_la_METASOURCES = AUTO
messages:
$(XGETTEXT) *.cpp *.h -o $(podir)/tdestyle_lipstik_config.pot

+ 0
- 1
subdirs View File

@ -1 +0,0 @@
style

Loading…
Cancel
Save