Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=e9fbdae8db8a05c395679eceff512bad86339f45
commit e9fbdae8db8a05c395679eceff512bad86339f45 Author: crazy <[EMAIL PROTECTED]> Date: Sun May 18 02:50:28 2008 +0200 lineakd-0.9-2-x86_64 * release bump * added x86_64 to archs * added gcc43.patch * removed old patches * fixed DESTDIR bug ( this package _never_ worked ) * we need to keep plugins dir ( eg: _this_ package need to own it ) * workaround SMP builds ( make install is broken ) * fixed sysconfdir which was /etc but the expample confs installed * in /etc/$pkgnme , argh .. * install *.example file*s* ( yes all ) in _doc_ not in /etc * removed duplicated man pages * corrected README.Frugalware diff --git a/source/xapps-extra/lineakd/FrugalBuild b/source/xapps-extra/lineakd/FrugalBuild index 86197d8..80234b2 100644 --- a/source/xapps-extra/lineakd/FrugalBuild +++ b/source/xapps-extra/lineakd/FrugalBuild @@ -3,32 +3,41 @@ pkgname=lineakd pkgver=0.9 -pkgrel=1 +pkgrel=2 pkgdesc="Linux support for Easy Access and Internet Keyboards." _F_sourceforge_dirname="lineak" Finclude sourceforge url="http://lineak.sourceforge.net/" depends=('glibc' 'libxext' 'libx11' 'libxt' 'xproto' 'inputproto' 'libxkbfile' 'libxtst') groups=('xapps-extra') -archs=('i686') +archs=('i686' 'x86_64') backup=('etc/lineak/lineakd.conf') source=(${source/lineak-/lineakd-} \ lineakd-0.8.4-defconfig.patch \ - README.Frugalware) + README.Frugalware gcc43.patch) build() { # Build lineakd - Fbuild --with-x - Fmkdir /etc/lineak - Ffilerel lineakd.conf.example /etc/lineak/ + Fpatchall + Fmake --with-x --sysconfdir=/etc/$pkgname + unset MAKEFLAGS + ## br0ken , files got packaged in /var/tmp/fst/pkg/.. + Fsed '$(DESTDIR)${DESTDIR}' '$(DESTDIR)' lineakd/Makefile + Fmakeinstall + Fdocrel lineakd.conf.example lineakd.conf.kde.example lineakkb.def.custom_example cd utils || Fdie Fmanrel send_to_keyboard.8 xsendkeycode.8 evtest.1 xsendkeys.8 Fdoc README.Frugalware + ## duplicated .. + Frm usr/share/man/man*/*.bz2 + ## don't let plugins dir be empty , need be owned by $pkgname + Fmkdir usr/lib/lineakd/plugins/.keep } # optimization OK sha1sums=('c678e6cf72bc54a6bfe76a41ba53e401732a7d4d' \ '420e814a0556166a689f0f9b88c62e0b95a4ae2c' \ - '39722943a1c8546a99843d0a8cacd268351447d1') + 'd68098d56e9ba0873f0371d13c1cb16ac12e4603' \ + '531fe251ca2886afdb1d3acb5cefd35c5d3d18b0') diff --git a/source/xapps-extra/lineakd/README.Frugalware b/source/xapps-extra/lineakd/README.Frugalware index db1735b..c683b92 100644 --- a/source/xapps-extra/lineakd/README.Frugalware +++ b/source/xapps-extra/lineakd/README.Frugalware @@ -1,6 +1,10 @@ After installing lineakd, make sure you create a configuration file -before starting it. -An example configuration file is located in '/etc/lineak/lineakd.conf.example' for the user's reference. +before starting it. + +Example configuration files are located in /usr/share/doc/lineakd-*/. + +Don't forget to copy the configuration file to /etc/lineakd after you +create it. You can then start the lineak daemon by running the following command: diff --git a/source/xapps-extra/lineakd/gcc43.patch b/source/xapps-extra/lineakd/gcc43.patch new file mode 100644 index 0000000..95e1c7c --- /dev/null +++ b/source/xapps-extra/lineakd/gcc43.patch @@ -0,0 +1,43 @@ + +--- lineakd-0.9.orig/lineak/xmgr.cpp ++++ lineakd-0.9/lineak/xmgr.cpp +@@ -21,6 +21,8 @@ + #include <lineak/lbutton.h> + + extern "C" { ++ #include <stdlib.h> ++ #include <string.h> + #include <signal.h> + #include <X11/Xlib.h> + #include <X11/keysym.h> +--- lineakd-0.9.orig/lineak/defloader.h ++++ lineakd-0.9/lineak/defloader.h +@@ -23,6 +23,7 @@ + # endif + + # include <lineak/loader.h> ++# include <cstdlib> + # include <map> + + class LDef; +--- lineakd-0.9.orig/lineak/pluginmanager.cpp ++++ lineakd-0.9/lineak/pluginmanager.cpp +@@ -34,6 +34,7 @@ + #include <unistd.h> + #include <dirent.h> + #include <dlfcn.h> ++#include <string.h> + } + + using namespace lineak_core_functions; +--- lineakd-0.9.orig/lineak/cdromctrl.cpp ++++ lineakd-0.9/lineak/cdromctrl.cpp +@@ -51,6 +51,7 @@ + + #include <stdio.h> + #include <errno.h> ++#include <string.h> + #include <unistd.h> + + } + diff --git a/source/xapps-extra/lineakd/lineakd-0.8.4-manpages.patch b/source/xapps-extra/lineakd/lineakd-0.8.4-manpages.patch deleted file mode 100644 index c73d58f..0000000 --- a/source/xapps-extra/lineakd/lineakd-0.8.4-manpages.patch +++ /dev/null @@ -1,84 +0,0 @@ -diff -Naur lineakd-0.8.4/utils/Makefile.am lineakd-0.8.4.new/utils/Makefile.am ---- lineakd-0.8.4/utils/Makefile.am 2005-08-01 10:12:32.000000000 +0530 -+++ lineakd-0.8.4.new/utils/Makefile.am 2007-03-16 11:41:49.000000000 +0530 -@@ -37,42 +37,3 @@ - DEFS = @DEFS@ -DCONFDIR=\"@[EMAIL PROTECTED]" -DPLUGINDIR=\"@libdir@/lineakd/plugins\" - helper_suid = $(HELPER_SUID) - --if EVTEST --evtest.1.bz2: -- bzip2 -c evtest.1 > evtest.1.bz2 --endif -- --send_to_keyboard.8.bz2: -- bzip2 -c send_to_keyboard.8 > send_to_keyboard.8.bz2 --xsendkeycode.8.bz2: -- bzip2 -c xsendkeycode.8 > xsendkeycode.8.bz2 --xsendkeys.8.bz2: -- bzip2 -c xsendkeys.8 > xsendkeys.8.bz2 -- --#install-data-local: send_to_keyboard.8.bz2 evtest.1.bz2 xsendkeycode.8.bz2 xsendkeys.8.bz2 --if EVTEST --install-data-local: send_to_keyboard.8.bz2 evtest.1.bz2 xsendkeycode.8.bz2 xsendkeys.8.bz2 -- $(mkinstalldirs) $(mandir)/man1/ -- $(INSTALL_DATA) $(srcdir)/evtest.1.bz2 $(mandir)/man1/evtest.1.bz2 --else --install-data-local: send_to_keyboard.8.bz2 xsendkeycode.8.bz2 xsendkeys.8.bz2 --endif --if SEND_TO_KEYBOARD -- $(mkinstalldirs) $(mandir)/man8/ -- chmod 755 $(DESTDIR)$(prefix)/sbin/send_to_keyboard -- if test "$(HELPER_SUID)" != "no" ; then \ -- chown root $(DESTDIR)$(prefix)/sbin/send_to_keyboard ; \ -- chmod +s $(DESTDIR)$(prefix)/sbin/send_to_keyboard ; \ -- fi -- $(INSTALL_DATA) $(srcdir)/send_to_keyboard.8.bz2 $(mandir)/man8/send_to_keyboard.8.bz2 --endif -- $(INSTALL_DATA) $(srcdir)/xsendkeycode.8.bz2 $(mandir)/man8/xsendkeycode.8.bz2 -- $(INSTALL_DATA) $(srcdir)/xsendkeys.8.bz2 $(mandir)/man8/xsendkeys.8.bz2 -- --uninstall-local: -- -rm -f $(mandir)/man8/send_to_keyboard.8.bz2 -- -rm -f $(mandir)/man8/xsendkeycode.8.bz2 -- -rm -f $(mandir)/man8/xsendkeys.8.bz2 --if EVTEST -- -rm -f $(mandir)/man1/evtest.1.bz2 --endif -diff -Naur lineakd-0.8.4/utils/Makefile.in lineakd-0.8.4.new/utils/Makefile.in ---- lineakd-0.8.4/utils/Makefile.in 2005-11-09 20:49:28.000000000 +0530 -+++ lineakd-0.8.4.new/utils/Makefile.in 2007-03-16 11:44:20.000000000 +0530 -@@ -649,34 +649,6 @@ - xsendkeys.8.bz2: - bzip2 -c xsendkeys.8 > xsendkeys.8.bz2 - --#install-data-local: send_to_keyboard.8.bz2 evtest.1.bz2 xsendkeycode.8.bz2 xsendkeys.8.bz2 [EMAIL PROTECTED]@install-data-local: send_to_keyboard.8.bz2 evtest.1.bz2 xsendkeycode.8.bz2 xsendkeys.8.bz2 [EMAIL PROTECTED]@ $(mkinstalldirs) $(mandir)/man1/ [EMAIL PROTECTED]@ $(INSTALL_DATA) $(srcdir)/evtest.1.bz2 $(mandir)/man1/evtest.1.bz2 [EMAIL PROTECTED]@install-data-local: send_to_keyboard.8.bz2 xsendkeycode.8.bz2 xsendkeys.8.bz2 [EMAIL PROTECTED]@ $(mkinstalldirs) $(mandir)/man8/ [EMAIL PROTECTED]@ chmod 755 $(DESTDIR)$(prefix)/sbin/send_to_keyboard [EMAIL PROTECTED]@ if test "$(HELPER_SUID)" != "no" ; then \ [EMAIL PROTECTED]@ chown root $(DESTDIR)$(prefix)/sbin/send_to_keyboard ; \ [EMAIL PROTECTED]@ chmod +s $(DESTDIR)$(prefix)/sbin/send_to_keyboard ; \ [EMAIL PROTECTED]@ fi [EMAIL PROTECTED]@ $(INSTALL_DATA) $(srcdir)/send_to_keyboard.8.bz2 $(mandir)/man8/send_to_keyboard.8.bz2 -- $(INSTALL_DATA) $(srcdir)/xsendkeycode.8.bz2 $(mandir)/man8/xsendkeycode.8.bz2 -- $(INSTALL_DATA) $(srcdir)/xsendkeys.8.bz2 $(mandir)/man8/xsendkeys.8.bz2 -- --uninstall-local: --#>- -rm -f $(mandir)/man8/send_to_keyboard.8.bz2 --#>+ 1 -- -rm -f $(DESTDIR)$(mandir)/man8/send_to_keyboard.8.bz2 --#>- -rm -f $(mandir)/man8/xsendkeycode.8.bz2 --#>+ 1 -- -rm -f $(DESTDIR)$(mandir)/man8/xsendkeycode.8.bz2 --#>- -rm -f $(mandir)/man8/xsendkeys.8.bz2 --#>+ 1 -- -rm -f $(DESTDIR)$(mandir)/man8/xsendkeys.8.bz2 --#>- @EVTEST_TRUE@ -rm -f $(mandir)/man1/evtest.1.bz2 --#>+ 1 [EMAIL PROTECTED]@ -rm -f $(DESTDIR)$(mandir)/man1/evtest.1.bz2 - # Tell versions [3.59,3.63) of GNU make to not export all variables. - # Otherwise a system limit (for SysV at least) may be exceeded. - .NOEXPORT: _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
