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
parent
b986718d98
commit
07a6d98c1b
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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
|
@ -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:
|
@ -1,39 +1,35 @@
|
||||
#ABOUT
|
||||
This is Lipstik, a fast and clean KDE 3 style based on Plastik.
|
||||
|
||||
It contains the following features :
|
||||
tde-style-lipstik - a "lipstik" style for TDE.
|
||||
|
||||
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...
|
||||
|
||||
...and many other enhancements!
|
||||
tde-style-lipstik is a fast and clean style based on Plastik to tune
|
||||
your desktop look.
|
||||
|
||||
#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.
|
||||
|
||||
#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.
|
||||
FEATURES:
|
||||
=========
|
||||
|
||||
#NO, REALLY, WHY???
|
||||
I want peace in the world, and this is how Im gonna achieve this.
|
||||
* 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
|
||||
|
||||
#HOW DO I INSTALL THIS STYLE?
|
||||
PLEASE LOOK AT THE FILE CALLED "INSTALL" ...
|
||||
|
||||
Have fun!
|
||||
|
||||
CONTRIBUTING
|
||||
==============
|
||||
|
||||
If you wish to contribute to tde-style-lipstik, you might do so:
|
||||
|
||||
- TDE Gitea Workspace (TGW) collaboration tool.
|
||||
https://mirror.git.trinitydesktop.org/gitea
|
||||
|
||||
- TDE Weblate Translation Workspace (TWTW) collaboration tool.
|
||||
https://mirror.git.trinitydesktop.org/weblate
|
||||
|
@ -1 +0,0 @@
|
||||
Subproject commit 80eb8bffc7c3b5cbf5ab51b4d7877d0cdaad45e1
|
@ -1,2 +0,0 @@
|
||||
./admin/configure.in.min
|
||||
configure.in.in
|
@ -1,4 +0,0 @@
|
||||
#MIN_CONFIG(3)
|
||||
|
||||
KDE_ENABLE_HIDDEN_VISIBILITY
|
||||
AM_INIT_AUTOMAKE(lipstik, 0.1)
|
@ -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
|
@ -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)
|
@ -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
|
Loading…
Reference in new issue