Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 428018 - x11-misc/mdm - display manager used in Linux Mint
Summary: x11-misc/mdm - display manager used in Linux Mint
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
URL: https://github.com/linuxmint/mdm
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2012-07-25 12:35 UTC by Philipp Richter
Modified: 2021-04-16 14:31 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Contains ebuild + files for mdm (mdm.tar.xz,8.14 KB, application/x-xz)
2012-07-25 12:35 UTC, Philipp Richter
Details
mdm-1.4.9.ebuild (mdm-1.4.9.ebuild,7.72 KB, text/plain)
2014-01-14 16:38 UTC, Alan Swanson
Details
mdm-1.8.3.ebuild (mdm-1.8.3.ebuild,6.07 KB, text/plain)
2015-04-08 11:29 UTC, Geert Braekmans
Details
files-mdm-1.8.3 (files.tar.xz,3.45 KB, application/x-xz)
2015-04-08 11:30 UTC, Geert Braekmans
Details
mdm-2.0.7.ebuild (mdm-2.0.7.ebuild,6.15 KB, text/plain)
2016-04-10 17:51 UTC, Dylan Stephano-Shachter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Richter 2012-07-25 12:35:43 UTC
Created attachment 319212 [details]
Contains ebuild + files for mdm

Hello,

the Linux Mint folks have forked the gnome display manager 2.20, improved upon it, and renamed it to MDM.
Source: linuxmint.com/rel_maya_whatsnew.php
Since no ebuild for it was available I used the gdm-2.20.11-r1.ebuild as base to create the live ebuild mdm-9999.ebuild. Some renaming changes had to be done (ebuild and patches) but so far it works, and adding "mdm" into /etc/conf.d/xdm makes the display manager start successfully.

The git repository of the project can be viewed online here: https://github.com/linuxmint/mdm

Attached are the necessary files to extract into a local portage overlay.

Regards,
Philipp Richter.
Comment 1 Michael Weber (RETIRED) gentoo-dev 2012-11-21 08:36:42 UTC
Hello,

have you tried to use the 1.0.6 and 1.0.7 release tags?

Michael
Comment 2 Alan Swanson 2014-01-14 16:38:23 UTC
Created attachment 367844 [details]
mdm-1.4.9.ebuild

Updated ebuild to current release version.

Changes include; blocker on gdm-2 due to file conflicts in gtk modules, Xdmcp support has been removed, patch file gdm-2.20.9-parallel-make.patch no longer needed, added webkit:2 requirement for HTML greeter.

Refinement thoughts; running autogen.sh is a bit ugly, default HTML theme not included and no release version yet only git (only at https://github.com/linuxmint/mdm-themes).
Comment 3 Palme 2014-06-08 09:44:27 UTC
Would be nice to have the MDM DISPLAY MANAGER on portage 

Thanks
Comment 4 Palme 2014-06-17 10:25:38 UTC
(In reply to Palme from comment #3)
> Would be nice to have the MDM DISPLAY MANAGER on portage 
> or at least Updated ebuild to current release version.

some Changes are

Add explicit support for cinnamon-screensaver
Fixed 24h clock support
 Gave all greeters the same background color/image settings (also fixes focus issues for mdmwebkit in multi-monitor setup)
Updated comments in mdm.conf and defaults file, added syslog support 
Multi-monitor support
etc..

> Thanks
Comment 5 Jens-Uwe Peter 2015-02-19 17:00:28 UTC
Could we get this in portage as replacement for the retired gdm-2.x?
Comment 6 Pacho Ramos gentoo-dev 2015-02-20 11:02:31 UTC
Is anyone willing to be a proxied maintained for this?
https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers
Comment 7 Geert Braekmans 2015-04-08 11:29:35 UTC
Created attachment 400828 [details]
mdm-1.8.3.ebuild

This ebuild compiles and works on my local machine.

Could a dev please review this ebuild and suggest some improvements if needed?
Comment 8 Geert Braekmans 2015-04-08 11:30:27 UTC
Created attachment 400830 [details]
files-mdm-1.8.3
Comment 9 Dylan Stephano-Shachter 2016-04-10 17:51:39 UTC
Created attachment 430066 [details]
mdm-2.0.7.ebuild

I updated the previous ebuild for 2.0.7 and it appears to be working for me. I should warn everyone that this is the first time I have even looked inside an ebuild file so it is very possible that things are not correct.

I also applied what I think is a somewhat "dirty fix". When running the old ebuild (or the new one without my fix) I got the error:
[code]automake-1.15: error: cannot open < gnome-doc-utils.make: No such file or directory[/code]
so I applied my fix in the ebuild just before it ran ./autogen.sh
[code]
gnomedocdir=$(locate gnome-doc-utils)
cp $gnomedocdir ./
[/code]

While this works I think it is bad because
a) ./ should be a variable but I don't know what that is
b) I should not really have to do this at all. Maybe gnome-doc-utils.make should be in the path?

I am willing to try to get this ebuild to a good presentable state and then maybe continue to maintain it after that but I would like some help learning how to properly write ebuilds from someone with more experience.
Comment 10 Dylan Stephano-Shachter 2016-04-10 17:54:03 UTC
Comment on attachment 430066 [details]
mdm-2.0.7.ebuild

I updated the previous ebuild for 2.0.7 and it appears to be working for me. I should warn everyone that this is the first time I have even looked inside an ebuild file so it is very possible that things are not correct.

I also applied what I think is a somewhat "dirty fix". When running the old ebuild (or the new one without my fix) I got the error:

automake-1.15: error: cannot open < gnome-doc-utils.make: No such file or directory

so I applied my fix in the ebuild just before it ran ./autogen.sh

gnomedocdir=$(locate gnome-doc-utils)
cp $gnomedocdir ./


While this works I think it is bad because
a) ./ should be a variable but I don't know what that is
b) I should not really have to do this at all. Maybe gnome-doc-utils.make should be in the path?

I am willing to try to get this ebuild to a good presentable state and then maybe continue to maintain it after that but I would like some help learning how to properly write ebuilds from someone with more experience.