Mailinglist Archive: opensuse-commit (1124 mails)

< Previous Next >
commit pbbuttonsd
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Mon, 02 Apr 2007 01:01:30 +0200
  • Message-id: <20070401230130.BC59B67816B@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package pbbuttonsd
checked in at Mon Apr 2 01:01:30 CEST 2007.

--------
--- arch/i386/pbbuttonsd/pbbuttonsd.changes     2007-02-12 00:46:56.000000000 +0100
+++ /mounts/work_src_done/STABLE/pbbuttonsd/pbbuttonsd.changes  2007-04-02 00:55:01.772244000 +0200
@@ -1,0 +2,5 @@
+Mon Apr  2 00:54:47 CEST 2007 - ro@xxxxxxx
+
+- make it build on x86/x86_64 for macbooks 
+
+-------------------------------------------------------------------

New:
----
  pbbuttonsd-0.8.0-pci_lz.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pbbuttonsd.spec ++++++
--- /var/tmp/diff_new_pack.lG4730/_old  2007-04-02 01:00:50.000000000 +0200
+++ /var/tmp/diff_new_pack.lG4730/_new  2007-04-02 01:00:50.000000000 +0200
@@ -12,12 +12,15 @@
 
 Name:           pbbuttonsd
 BuildRequires:  alsa-devel gcc-c++ glib2-devel
+%ifarch %ix86 x86_64
+BuildRequires:  libsmbios libsmbios-devel pciutils-devel
+%endif
 URL:            http://pbbuttons.berlios.de/
 License:        GNU Library General Public License v. 2.0 and 2.1 (LGPL)
 Group:          System/Daemons
 Summary:        Daemon for the special keys on Apple laptops
 Version:        0.8.0
-Release:        1
+Release:        7
 PreReq:         %{insserv_prereq}
 Source:         pbbuttonsd-%{version}.tar.gz
 Source1:        %{name}.init
@@ -26,6 +29,7 @@
 Patch1:         %{name}-0.5.9-fpic.patch
 Patch2:         %{name}-0.5.9-initreq.patch
 Patch3:         %{name}-0.5.11-eject.patch
+Patch4:         %{name}-0.8.0-pci_lz.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -47,10 +51,14 @@
 %patch1 -p1
 %patch2
 %patch3 -p1
+%patch4
 
 %build
 gettextize -f
 autoreconf -i -f
+%ifarch %ix86 x86_64
+export LAPTOP=macbook
+%endif
 CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ac_cv_header_initreq_h=yes \
 ./configure \
        --prefix=/usr \
@@ -101,7 +109,9 @@
 %dir /var/lib/ibam
 %dir /var/lib/pbbuttons
 
-%changelog -n pbbuttonsd
+%changelog
+* Mon Apr 02 2007 - ro@xxxxxxx
+- make it build on x86/x86_64 for macbooks
 * Mon Feb 12 2007 - schwab@xxxxxxx
 - Update to pbbuttonsd 0.8.0.
   * update program (doxygen) documentation

++++++ pbbuttonsd-0.8.0-pci_lz.patch ++++++
--- configure.in
+++ configure.in
@@ -62,7 +62,7 @@
                AC_CHECK_HEADERS([pci/pci.h sys/io.h], ac_macbook=yes,
                        AC_MSG_ERROR([Please install development files for libpci and direct I/O.]), [/* dummy */])
                PB_OBJECTS+=" driver_backlight_x1600.$OBJEXT driver_backlight_gma950.$OBJEXT module_acpi.$OBJEXT module_imac.$OBJEXT"
-               PB_LIBS+=" -lpci -lsmbios"
+               PB_LIBS+=" -lpci -lz -lsmbios"
                LCD_FADINGSPEED="448"
                LCD_AUTOADJMODE="linear"
                LCD_AUTOADJPARMBAT="0,10,80,30"




++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages