Giter Site home page Giter Site logo

Comments (10)

stefano-k avatar stefano-k commented on July 17, 2024

configure flags?

from mate-applets.

perberos avatar perberos commented on July 17, 2024

I remember that problem, but I do not remember the solution. Its on the rpm/configure flags.

from mate-applets.

raveit65 avatar raveit65 commented on July 17, 2024

configure
--disable-scrollkeeper
--disable-static
--enable-mixer-applet
--enable-polkit
--enable-ipv6
--disable-cpufreq
--enable-timer-applet

from mate-applets.

raveit65 avatar raveit65 commented on July 17, 2024

include the automatic rpmbuild flags for x86_64 it looks like this

./configure --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-scrollkeeper --disable-static --enable-mixer-applet --enable-polkit --enable-ipv6 --disable-cpufreq --enable-timer-applet

from mate-applets.

stefano-k avatar stefano-k commented on July 17, 2024

why ./configure and not autogen.sh ?

from mate-applets.

raveit65 avatar raveit65 commented on July 17, 2024

For building rpm's i've to use ./configure for getting the automatic flags.
This is necessary!
That's the way to build rpms!
I use
NOCONFIGURE=1 ./autogen.sh
./configure
--disable-scrollkeeper
--disable-static
--enable-mixer-applet
--enable-polkit
--enable-ipv6
--disable-cpufreq
--enable-timer-applet

NOCONFIGURE=1 to avoid double configure work in the build prozess.

Edit:
If i build without ./configure all files are in /usr/local because the automatic flags are missing.
Trust me, for rpm-based distros you need ./configure

from mate-applets.

raveit65 avatar raveit65 commented on July 17, 2024

It seems to be that the build process ignore the libexec prefix in
/mate-applets-1.3.1/timer-applet/data/TimerApplet.server.in.in

oaf_server iid="OAFIID:TimerApplet_Factory" type="exe" location="@LIBEXECDIR@/timer-applet"

But after building i have in usr/lib64/matecomponent/servers/TimerApplet.server

oaf_server iid="OAFIID:TimerApplet_Factory" type="exe" location="/usr/lib64/mate-applets/timer-applet"

That's strange because with all the other applets the @LIBEXECDIR@ prefix work well.

from mate-applets.

raveit65 avatar raveit65 commented on July 17, 2024

I did it!
There is wrong code in mate-applets-1.3.1/timer-applet/data/Makefile.am
Changing to

$(server_in_files): $(server_in_files:.server.in=.server.in.in) Makefile
sed -e "s|@LIBEXECDIR@|$(libexecdir)|" $< > $@

fix the issue.

from mate-applets.

raveit65 avatar raveit65 commented on July 17, 2024

do you agree with me that the problem is in the code?

from mate-applets.

stefano-k avatar stefano-k commented on July 17, 2024

yes,
fixed ba4817c
thanks

from mate-applets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.