You are not logged in.
Hi
I am trying to rebuild the gdm package with some local changes.
I downloaded PKGBUID
asp checkout gdm
Then I downloaded the source
makepkg -o
I modified
src/gdm/configure.ac and src/gdm/configure to change default gdm flags.
When I run "makepkg -e" to reguild the package. It does not run configure again and my changes are not made.
If I do not use the -e flag then it downloads the source again overwriting my changes.
Is there any way for makepkg to run locally, but running configure again.
Offline
Make the changes in the prepare() array of the PKGBUILD.
Offline
https://git.archlinux.org/svntogit/pack … 85e64c#n37
build() {
cd $pkgbase
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--sbindir=/usr/bin \
--libexecdir=/usr/lib \
--disable-schemas-compile \
--disable-static \
--enable-gdm-xsession \
--enable-ipv6 \
--with-default-pam-config=arch \
--with-default-path=/usr/local/bin:/usr/local/sbin:/usr/bin \
--without-plymouth \
--without-tcp-wrappers
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
What is the actual output from `makepkg -e` ?
Offline
I am confused now. I though that when using the -e flag prepare() will not run.
The prepare() of gdm is:
prepare() {
cd $pkgbase
patch -Np1 -i ../0002-Xsession-Don-t-start-ssh-agent-by-default.patch
NOCONFIGURE=1 ./autogen.sh
}
Did you mean setting NOCONFIGURE=0. or adding a flag to configure (for example --with_intial_vt=9)
Last edited by odror (2018-09-02 23:12:31)
Offline
When I run "makepkg -e" to reguild the package. It does not run configure again and my changes are not made.
Is there any way for makepkg to run locally, but running configure again.
The prepare() of gdm is:
prepare() {
cd $pkgbase
patch -Np1 -i ../0002-Xsession-Don-t-start-ssh-agent-by-default.patch
NOCONFIGURE=1 ./autogen.sh
}Did you mean setting NOCONFIGURE=0. or adding a flag to configure (for example --with_intial_vt=9)
Do you want autogen to be run again or as you initially stated configure which is executed in build() ?
Offline
It worked. I made the configure changes in PKGBUILD and reinstalled with makepkg.
Last edited by odror (2018-09-03 14:35:13)
Offline